@redhat-cloud-services/compliance-client 3.0.5 → 3.0.7
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/AssignRule/index.d.ts +5 -5
- package/dist/AssignRule/index.js +15 -10
- package/dist/AssignRule/index.js.map +1 -1
- package/dist/AssignRules/index.d.ts +4 -4
- package/dist/AssignRules/index.js +15 -10
- package/dist/AssignRules/index.js.map +1 -1
- package/dist/AssignSystem/index.d.ts +5 -5
- package/dist/AssignSystem/index.js +15 -10
- package/dist/AssignSystem/index.js.map +1 -1
- package/dist/AssignSystems/index.d.ts +4 -4
- package/dist/AssignSystems/index.js +15 -10
- package/dist/AssignSystems/index.js.map +1 -1
- package/dist/CreatePolicy/index.d.ts +5 -5
- package/dist/CreatePolicy/index.js +16 -11
- package/dist/CreatePolicy/index.js.map +1 -1
- package/dist/CreateTailoring/index.d.ts +5 -4
- package/dist/CreateTailoring/index.js +16 -10
- package/dist/CreateTailoring/index.js.map +1 -1
- package/dist/DeletePolicy/index.d.ts +5 -5
- package/dist/DeletePolicy/index.js +15 -10
- package/dist/DeletePolicy/index.js.map +1 -1
- package/dist/DeleteReport/index.d.ts +5 -5
- package/dist/DeleteReport/index.js +15 -10
- package/dist/DeleteReport/index.js.map +1 -1
- package/dist/Policies/index.d.ts +5 -5
- package/dist/Policies/index.js +15 -10
- package/dist/Policies/index.js.map +1 -1
- package/dist/Policy/index.d.ts +5 -5
- package/dist/Policy/index.js +15 -10
- package/dist/Policy/index.js.map +1 -1
- package/dist/PolicySystems/index.d.ts +6 -6
- package/dist/PolicySystems/index.js +15 -10
- package/dist/PolicySystems/index.js.map +1 -1
- package/dist/PolicySystemsOS/index.d.ts +4 -4
- package/dist/PolicySystemsOS/index.js +14 -9
- package/dist/PolicySystemsOS/index.js.map +1 -1
- package/dist/Profile/index.d.ts +5 -5
- package/dist/Profile/index.js +15 -10
- package/dist/Profile/index.js.map +1 -1
- package/dist/ProfileRule/index.d.ts +5 -5
- package/dist/ProfileRule/index.js +15 -10
- package/dist/ProfileRule/index.js.map +1 -1
- package/dist/ProfileRules/index.d.ts +6 -6
- package/dist/ProfileRules/index.js +15 -10
- package/dist/ProfileRules/index.js.map +1 -1
- package/dist/ProfileTree/index.d.ts +5 -4
- package/dist/ProfileTree/index.js +15 -9
- package/dist/ProfileTree/index.js.map +1 -1
- package/dist/Profiles/index.d.ts +5 -5
- package/dist/Profiles/index.js +15 -10
- package/dist/Profiles/index.js.map +1 -1
- package/dist/Report/index.d.ts +5 -5
- package/dist/Report/index.js +15 -10
- package/dist/Report/index.js.map +1 -1
- package/dist/ReportRuleResults/index.d.ts +6 -6
- package/dist/ReportRuleResults/index.js +15 -10
- package/dist/ReportRuleResults/index.js.map +1 -1
- package/dist/ReportStats/index.d.ts +4 -4
- package/dist/ReportStats/index.js +14 -9
- package/dist/ReportStats/index.js.map +1 -1
- package/dist/ReportSystem/index.d.ts +5 -5
- package/dist/ReportSystem/index.js +15 -10
- package/dist/ReportSystem/index.js.map +1 -1
- package/dist/ReportSystems/index.d.ts +6 -6
- package/dist/ReportSystems/index.js +15 -10
- package/dist/ReportSystems/index.js.map +1 -1
- package/dist/ReportSystemsOS/index.d.ts +4 -4
- package/dist/ReportSystemsOS/index.js +14 -9
- package/dist/ReportSystemsOS/index.js.map +1 -1
- package/dist/ReportTestResult/index.d.ts +5 -5
- package/dist/ReportTestResult/index.js +15 -10
- package/dist/ReportTestResult/index.js.map +1 -1
- package/dist/ReportTestResults/index.d.ts +5 -5
- package/dist/ReportTestResults/index.js +15 -10
- package/dist/ReportTestResults/index.js.map +1 -1
- package/dist/ReportTestResultsOS/index.d.ts +4 -4
- package/dist/ReportTestResultsOS/index.js +14 -9
- package/dist/ReportTestResultsOS/index.js.map +1 -1
- package/dist/ReportTestResultsSG/index.d.ts +4 -4
- package/dist/ReportTestResultsSG/index.js +14 -9
- package/dist/ReportTestResultsSG/index.js.map +1 -1
- package/dist/Reports/index.d.ts +5 -5
- package/dist/Reports/index.js +15 -10
- package/dist/Reports/index.js.map +1 -1
- package/dist/ReportsOS/index.d.ts +4 -4
- package/dist/ReportsOS/index.js +14 -9
- package/dist/ReportsOS/index.js.map +1 -1
- package/dist/Rule/index.d.ts +5 -5
- package/dist/Rule/index.js +15 -10
- package/dist/Rule/index.js.map +1 -1
- package/dist/RuleGroup/index.d.ts +5 -5
- package/dist/RuleGroup/index.js +15 -10
- package/dist/RuleGroup/index.js.map +1 -1
- package/dist/RuleGroups/index.d.ts +5 -5
- package/dist/RuleGroups/index.js +15 -10
- package/dist/RuleGroups/index.js.map +1 -1
- package/dist/Rules/index.d.ts +6 -6
- package/dist/Rules/index.js +15 -10
- package/dist/Rules/index.js.map +1 -1
- package/dist/SecurityGuide/index.d.ts +5 -5
- package/dist/SecurityGuide/index.js +15 -10
- package/dist/SecurityGuide/index.js.map +1 -1
- package/dist/SecurityGuideRuleTree/index.d.ts +6 -5
- package/dist/SecurityGuideRuleTree/index.js +16 -10
- package/dist/SecurityGuideRuleTree/index.js.map +1 -1
- package/dist/SecurityGuides/index.d.ts +5 -5
- package/dist/SecurityGuides/index.js +15 -10
- package/dist/SecurityGuides/index.js.map +1 -1
- package/dist/SecurityGuidesOS/index.d.ts +4 -4
- package/dist/SecurityGuidesOS/index.js +14 -9
- package/dist/SecurityGuidesOS/index.js.map +1 -1
- package/dist/Status/index.d.ts +16 -0
- package/dist/Status/index.js +51 -0
- package/dist/Status/index.js.map +1 -0
- package/dist/SupportedProfiles/index.d.ts +5 -5
- package/dist/SupportedProfiles/index.js +15 -10
- package/dist/SupportedProfiles/index.js.map +1 -1
- package/dist/System/index.d.ts +5 -5
- package/dist/System/index.js +15 -10
- package/dist/System/index.js.map +1 -1
- package/dist/SystemReports/index.d.ts +6 -6
- package/dist/SystemReports/index.js +15 -10
- package/dist/SystemReports/index.js.map +1 -1
- package/dist/Systems/index.d.ts +6 -6
- package/dist/Systems/index.js +15 -10
- package/dist/Systems/index.js.map +1 -1
- package/dist/SystemsOS/index.d.ts +5 -5
- package/dist/SystemsOS/index.js +15 -10
- package/dist/SystemsOS/index.js.map +1 -1
- package/dist/SystemsPolicies/index.d.ts +5 -5
- package/dist/SystemsPolicies/index.js +15 -10
- package/dist/SystemsPolicies/index.js.map +1 -1
- package/dist/Tailoring/index.d.ts +5 -5
- package/dist/Tailoring/index.js +15 -10
- package/dist/Tailoring/index.js.map +1 -1
- package/dist/TailoringFileJSON/index.d.ts +34 -0
- package/dist/TailoringFileJSON/index.js +58 -0
- package/dist/TailoringFileJSON/index.js.map +1 -0
- package/dist/TailoringFileTOML/index.d.ts +34 -0
- package/dist/TailoringFileTOML/index.js +58 -0
- package/dist/TailoringFileTOML/index.js.map +1 -0
- package/dist/TailoringRuleTree/index.d.ts +6 -5
- package/dist/TailoringRuleTree/index.js +16 -10
- package/dist/TailoringRuleTree/index.js.map +1 -1
- package/dist/TailoringRules/index.d.ts +6 -6
- package/dist/TailoringRules/index.js +15 -10
- package/dist/TailoringRules/index.js.map +1 -1
- package/dist/Tailorings/index.d.ts +5 -5
- package/dist/Tailorings/index.js +15 -10
- package/dist/Tailorings/index.js.map +1 -1
- package/dist/UnassignRule/index.d.ts +5 -5
- package/dist/UnassignRule/index.js +15 -10
- package/dist/UnassignRule/index.js.map +1 -1
- package/dist/UnassignSystem/index.d.ts +5 -5
- package/dist/UnassignSystem/index.js +15 -10
- package/dist/UnassignSystem/index.js.map +1 -1
- package/dist/UpdatePolicy/index.d.ts +5 -5
- package/dist/UpdatePolicy/index.js +16 -11
- package/dist/UpdatePolicy/index.js.map +1 -1
- package/dist/UpdateTailoring/index.d.ts +5 -5
- package/dist/UpdateTailoring/index.js +16 -11
- package/dist/UpdateTailoring/index.js.map +1 -1
- package/dist/ValueDefinition/index.d.ts +5 -5
- package/dist/ValueDefinition/index.js +15 -10
- package/dist/ValueDefinition/index.js.map +1 -1
- package/dist/ValueDefinitions/index.d.ts +5 -5
- package/dist/ValueDefinitions/index.js +15 -10
- package/dist/ValueDefinitions/index.js.map +1 -1
- package/dist/api.d.ts +114 -112
- package/dist/api.js +5 -1
- package/dist/api.js.map +1 -1
- package/dist/esm/AssignRule/index.d.ts +5 -5
- package/dist/esm/AssignRule/index.js +15 -10
- package/dist/esm/AssignRule/index.js.map +1 -1
- package/dist/esm/AssignRules/index.d.ts +4 -4
- package/dist/esm/AssignRules/index.js +15 -10
- package/dist/esm/AssignRules/index.js.map +1 -1
- package/dist/esm/AssignSystem/index.d.ts +5 -5
- package/dist/esm/AssignSystem/index.js +15 -10
- package/dist/esm/AssignSystem/index.js.map +1 -1
- package/dist/esm/AssignSystems/index.d.ts +4 -4
- package/dist/esm/AssignSystems/index.js +15 -10
- package/dist/esm/AssignSystems/index.js.map +1 -1
- package/dist/esm/CreatePolicy/index.d.ts +5 -5
- package/dist/esm/CreatePolicy/index.js +16 -11
- package/dist/esm/CreatePolicy/index.js.map +1 -1
- package/dist/esm/CreateTailoring/index.d.ts +5 -4
- package/dist/esm/CreateTailoring/index.js +16 -10
- package/dist/esm/CreateTailoring/index.js.map +1 -1
- package/dist/esm/DeletePolicy/index.d.ts +5 -5
- package/dist/esm/DeletePolicy/index.js +15 -10
- package/dist/esm/DeletePolicy/index.js.map +1 -1
- package/dist/esm/DeleteReport/index.d.ts +5 -5
- package/dist/esm/DeleteReport/index.js +15 -10
- package/dist/esm/DeleteReport/index.js.map +1 -1
- package/dist/esm/Policies/index.d.ts +5 -5
- package/dist/esm/Policies/index.js +15 -10
- package/dist/esm/Policies/index.js.map +1 -1
- package/dist/esm/Policy/index.d.ts +5 -5
- package/dist/esm/Policy/index.js +15 -10
- package/dist/esm/Policy/index.js.map +1 -1
- package/dist/esm/PolicySystems/index.d.ts +6 -6
- package/dist/esm/PolicySystems/index.js +15 -10
- package/dist/esm/PolicySystems/index.js.map +1 -1
- package/dist/esm/PolicySystemsOS/index.d.ts +4 -4
- package/dist/esm/PolicySystemsOS/index.js +14 -9
- package/dist/esm/PolicySystemsOS/index.js.map +1 -1
- package/dist/esm/Profile/index.d.ts +5 -5
- package/dist/esm/Profile/index.js +15 -10
- package/dist/esm/Profile/index.js.map +1 -1
- package/dist/esm/ProfileRule/index.d.ts +5 -5
- package/dist/esm/ProfileRule/index.js +15 -10
- package/dist/esm/ProfileRule/index.js.map +1 -1
- package/dist/esm/ProfileRules/index.d.ts +6 -6
- package/dist/esm/ProfileRules/index.js +15 -10
- package/dist/esm/ProfileRules/index.js.map +1 -1
- package/dist/esm/ProfileTree/index.d.ts +5 -4
- package/dist/esm/ProfileTree/index.js +15 -9
- package/dist/esm/ProfileTree/index.js.map +1 -1
- package/dist/esm/Profiles/index.d.ts +5 -5
- package/dist/esm/Profiles/index.js +15 -10
- package/dist/esm/Profiles/index.js.map +1 -1
- package/dist/esm/Report/index.d.ts +5 -5
- package/dist/esm/Report/index.js +15 -10
- package/dist/esm/Report/index.js.map +1 -1
- package/dist/esm/ReportRuleResults/index.d.ts +6 -6
- package/dist/esm/ReportRuleResults/index.js +15 -10
- package/dist/esm/ReportRuleResults/index.js.map +1 -1
- package/dist/esm/ReportStats/index.d.ts +4 -4
- package/dist/esm/ReportStats/index.js +14 -9
- package/dist/esm/ReportStats/index.js.map +1 -1
- package/dist/esm/ReportSystem/index.d.ts +5 -5
- package/dist/esm/ReportSystem/index.js +15 -10
- package/dist/esm/ReportSystem/index.js.map +1 -1
- package/dist/esm/ReportSystems/index.d.ts +6 -6
- package/dist/esm/ReportSystems/index.js +15 -10
- package/dist/esm/ReportSystems/index.js.map +1 -1
- package/dist/esm/ReportSystemsOS/index.d.ts +4 -4
- package/dist/esm/ReportSystemsOS/index.js +14 -9
- package/dist/esm/ReportSystemsOS/index.js.map +1 -1
- package/dist/esm/ReportTestResult/index.d.ts +5 -5
- package/dist/esm/ReportTestResult/index.js +15 -10
- package/dist/esm/ReportTestResult/index.js.map +1 -1
- package/dist/esm/ReportTestResults/index.d.ts +5 -5
- package/dist/esm/ReportTestResults/index.js +15 -10
- package/dist/esm/ReportTestResults/index.js.map +1 -1
- package/dist/esm/ReportTestResultsOS/index.d.ts +4 -4
- package/dist/esm/ReportTestResultsOS/index.js +14 -9
- package/dist/esm/ReportTestResultsOS/index.js.map +1 -1
- package/dist/esm/ReportTestResultsSG/index.d.ts +4 -4
- package/dist/esm/ReportTestResultsSG/index.js +14 -9
- package/dist/esm/ReportTestResultsSG/index.js.map +1 -1
- package/dist/esm/Reports/index.d.ts +5 -5
- package/dist/esm/Reports/index.js +15 -10
- package/dist/esm/Reports/index.js.map +1 -1
- package/dist/esm/ReportsOS/index.d.ts +4 -4
- package/dist/esm/ReportsOS/index.js +14 -9
- package/dist/esm/ReportsOS/index.js.map +1 -1
- package/dist/esm/Rule/index.d.ts +5 -5
- package/dist/esm/Rule/index.js +15 -10
- package/dist/esm/Rule/index.js.map +1 -1
- package/dist/esm/RuleGroup/index.d.ts +5 -5
- package/dist/esm/RuleGroup/index.js +15 -10
- package/dist/esm/RuleGroup/index.js.map +1 -1
- package/dist/esm/RuleGroups/index.d.ts +5 -5
- package/dist/esm/RuleGroups/index.js +15 -10
- package/dist/esm/RuleGroups/index.js.map +1 -1
- package/dist/esm/Rules/index.d.ts +6 -6
- package/dist/esm/Rules/index.js +15 -10
- package/dist/esm/Rules/index.js.map +1 -1
- package/dist/esm/SecurityGuide/index.d.ts +5 -5
- package/dist/esm/SecurityGuide/index.js +15 -10
- package/dist/esm/SecurityGuide/index.js.map +1 -1
- package/dist/esm/SecurityGuideRuleTree/index.d.ts +6 -5
- package/dist/esm/SecurityGuideRuleTree/index.js +16 -10
- package/dist/esm/SecurityGuideRuleTree/index.js.map +1 -1
- package/dist/esm/SecurityGuides/index.d.ts +5 -5
- package/dist/esm/SecurityGuides/index.js +15 -10
- package/dist/esm/SecurityGuides/index.js.map +1 -1
- package/dist/esm/SecurityGuidesOS/index.d.ts +4 -4
- package/dist/esm/SecurityGuidesOS/index.js +14 -9
- package/dist/esm/SecurityGuidesOS/index.js.map +1 -1
- package/dist/esm/Status/index.d.ts +16 -0
- package/dist/esm/Status/index.js +47 -0
- package/dist/esm/Status/index.js.map +1 -0
- package/dist/esm/SupportedProfiles/index.d.ts +5 -5
- package/dist/esm/SupportedProfiles/index.js +15 -10
- package/dist/esm/SupportedProfiles/index.js.map +1 -1
- package/dist/esm/System/index.d.ts +5 -5
- package/dist/esm/System/index.js +15 -10
- package/dist/esm/System/index.js.map +1 -1
- package/dist/esm/SystemReports/index.d.ts +6 -6
- package/dist/esm/SystemReports/index.js +15 -10
- package/dist/esm/SystemReports/index.js.map +1 -1
- package/dist/esm/Systems/index.d.ts +6 -6
- package/dist/esm/Systems/index.js +15 -10
- package/dist/esm/Systems/index.js.map +1 -1
- package/dist/esm/SystemsOS/index.d.ts +5 -5
- package/dist/esm/SystemsOS/index.js +15 -10
- package/dist/esm/SystemsOS/index.js.map +1 -1
- package/dist/esm/SystemsPolicies/index.d.ts +5 -5
- package/dist/esm/SystemsPolicies/index.js +15 -10
- package/dist/esm/SystemsPolicies/index.js.map +1 -1
- package/dist/esm/Tailoring/index.d.ts +5 -5
- package/dist/esm/Tailoring/index.js +15 -10
- package/dist/esm/Tailoring/index.js.map +1 -1
- package/dist/esm/TailoringFileJSON/index.d.ts +34 -0
- package/dist/esm/TailoringFileJSON/index.js +54 -0
- package/dist/esm/TailoringFileJSON/index.js.map +1 -0
- package/dist/esm/TailoringFileTOML/index.d.ts +34 -0
- package/dist/esm/TailoringFileTOML/index.js +54 -0
- package/dist/esm/TailoringFileTOML/index.js.map +1 -0
- package/dist/esm/TailoringRuleTree/index.d.ts +6 -5
- package/dist/esm/TailoringRuleTree/index.js +16 -10
- package/dist/esm/TailoringRuleTree/index.js.map +1 -1
- package/dist/esm/TailoringRules/index.d.ts +6 -6
- package/dist/esm/TailoringRules/index.js +15 -10
- package/dist/esm/TailoringRules/index.js.map +1 -1
- package/dist/esm/Tailorings/index.d.ts +5 -5
- package/dist/esm/Tailorings/index.js +15 -10
- package/dist/esm/Tailorings/index.js.map +1 -1
- package/dist/esm/UnassignRule/index.d.ts +5 -5
- package/dist/esm/UnassignRule/index.js +15 -10
- package/dist/esm/UnassignRule/index.js.map +1 -1
- package/dist/esm/UnassignSystem/index.d.ts +5 -5
- package/dist/esm/UnassignSystem/index.js +15 -10
- package/dist/esm/UnassignSystem/index.js.map +1 -1
- package/dist/esm/UpdatePolicy/index.d.ts +5 -5
- package/dist/esm/UpdatePolicy/index.js +16 -11
- package/dist/esm/UpdatePolicy/index.js.map +1 -1
- package/dist/esm/UpdateTailoring/index.d.ts +5 -5
- package/dist/esm/UpdateTailoring/index.js +16 -11
- package/dist/esm/UpdateTailoring/index.js.map +1 -1
- package/dist/esm/ValueDefinition/index.d.ts +5 -5
- package/dist/esm/ValueDefinition/index.js +15 -10
- package/dist/esm/ValueDefinition/index.js.map +1 -1
- package/dist/esm/ValueDefinitions/index.d.ts +5 -5
- package/dist/esm/ValueDefinitions/index.js +15 -10
- package/dist/esm/ValueDefinitions/index.js.map +1 -1
- package/dist/esm/api.d.ts +114 -112
- package/dist/esm/api.js +6 -2
- package/dist/esm/api.js.map +1 -1
- package/dist/esm/index.d.ts +57 -54
- package/dist/esm/index.js +5 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/index.d.ts +70 -5
- package/dist/esm/types/index.js.map +1 -1
- package/dist/index.d.ts +57 -54
- package/dist/index.js +11 -4
- package/dist/index.js.map +1 -1
- package/dist/package.json +2 -2
- package/dist/types/index.d.ts +70 -5
- package/dist/types/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ProfileRule/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AAwCjU,IAAM,yBAAyB,GAAG,UAAC,MAAuC;IACxE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ProfileRule/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AAwCjU,IAAM,yBAAyB,GAAG,UAAC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} from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
3
3
|
import type { Rules200Response } from '../types';
|
|
4
4
|
export type ProfileRulesParams = {
|
|
5
5
|
/**
|
|
@@ -45,20 +45,20 @@ export type ProfileRulesParams = {
|
|
|
45
45
|
*/
|
|
46
46
|
sortBy?: any;
|
|
47
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>Rules are searchable using attributes `title`, `severity`, `remediation_available`, and `
|
|
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>Rules are searchable using attributes `title`, `severity`, `remediation_available`, `rule_group_id`, and `identifier_label`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
49
49
|
* @type { any }
|
|
50
50
|
* @memberof ProfileRulesApi
|
|
51
51
|
*/
|
|
52
52
|
filter?: any;
|
|
53
53
|
options?: AxiosRequestConfig;
|
|
54
54
|
};
|
|
55
|
-
export type ProfileRulesReturnType =
|
|
55
|
+
export type ProfileRulesReturnType = Rules200Response;
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
57
|
+
* Retrieve a list of all security guide rules for a specific profile.
|
|
58
58
|
* @summary Request Rules assigned to a Profile
|
|
59
59
|
* @param {ProfileRulesParams} config with all available params.
|
|
60
60
|
* @param {*} [options] Override http request option.
|
|
61
61
|
* @throws {RequiredError}
|
|
62
62
|
*/
|
|
63
|
-
export declare const profileRulesParamCreator: (...config: ([ProfileRulesParams] | [any, any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<
|
|
63
|
+
export declare const profileRulesParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([ProfileRulesParams] | [any, any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<Rules200Response, any, {}>>;
|
|
64
64
|
export default profileRulesParamCreator;
|
|
@@ -5,22 +5,26 @@ var tslib_1 = require("tslib");
|
|
|
5
5
|
// @ts-ignore
|
|
6
6
|
var common_1 = require("@redhat-cloud-services/javascript-clients-shared/dist/common");
|
|
7
7
|
var isProfileRulesObjectParams = function (params) {
|
|
8
|
-
|
|
8
|
+
var l = params.length === 1;
|
|
9
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
10
|
+
return true && Object.prototype.hasOwnProperty.call(params[0], 'securityGuideId') && Object.prototype.hasOwnProperty.call(params[0], 'profileId');
|
|
11
|
+
}
|
|
12
|
+
return false;
|
|
9
13
|
};
|
|
10
14
|
/**
|
|
11
|
-
*
|
|
15
|
+
* Retrieve a list of all security guide rules for a specific profile.
|
|
12
16
|
* @summary Request Rules assigned to a Profile
|
|
13
17
|
* @param {ProfileRulesParams} config with all available params.
|
|
14
18
|
* @param {*} [options] Override http request option.
|
|
15
19
|
* @throws {RequiredError}
|
|
16
20
|
*/
|
|
17
|
-
var profileRulesParamCreator = function () {
|
|
21
|
+
var profileRulesParamCreator = function (sendRequest) {
|
|
18
22
|
var config = [];
|
|
19
|
-
for (var _i =
|
|
20
|
-
config[_i] = arguments[_i];
|
|
23
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
24
|
+
config[_i - 1] = arguments[_i];
|
|
21
25
|
}
|
|
22
26
|
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
23
|
-
var params, securityGuideId, profileId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
27
|
+
var params, securityGuideId, profileId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
|
|
24
28
|
return tslib_1.__generator(this, function (_b) {
|
|
25
29
|
params = isProfileRulesObjectParams(config) ? config[0] : ['securityGuideId', 'profileId', 'xRHIDENTITY', 'limit', 'offset', 'idsOnly', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
|
|
26
30
|
var _a;
|
|
@@ -56,10 +60,11 @@ var profileRulesParamCreator = function () {
|
|
|
56
60
|
}
|
|
57
61
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
58
62
|
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
+
args = {
|
|
64
|
+
urlObj: localVarUrlObj,
|
|
65
|
+
options: localVarRequestOptions,
|
|
66
|
+
};
|
|
67
|
+
return [2 /*return*/, sendRequest(Promise.resolve(args))];
|
|
63
68
|
});
|
|
64
69
|
});
|
|
65
70
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ProfileRules/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AAgEjU,IAAM,0BAA0B,GAAG,UAAC,MAAwC;IAC1E,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ProfileRules/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AAgEjU,IAAM,0BAA0B,GAAG,UAAC,MAAwC;IAC1E,IAAM,CAAC,GAAG,MAAM,CAAC,MAAM,KAAK,CAAC,CAAA;IAC7B,IAAG,CAAC,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACnE,OAAO,IAAI,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAA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O,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,EAAC;;;CACrE,CAAA;AAjDY,QAAA,wBAAwB,4BAiDpC;AAED,kBAAe,gCAAwB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
3
3
|
export type ProfileTreeParams = {
|
|
4
4
|
/**
|
|
5
5
|
*
|
|
@@ -21,13 +21,14 @@ export type ProfileTreeParams = {
|
|
|
21
21
|
xRHIDENTITY?: any;
|
|
22
22
|
options?: AxiosRequestConfig;
|
|
23
23
|
};
|
|
24
|
-
export type ProfileTreeReturnType =
|
|
24
|
+
export type ProfileTreeReturnType = any;
|
|
25
25
|
/**
|
|
26
26
|
* Returns the Rule Tree of a Profile
|
|
27
27
|
* @summary Request the Rule Tree of a Profile
|
|
28
28
|
* @param {ProfileTreeParams} config with all available params.
|
|
29
29
|
* @param {*} [options] Override http request option.
|
|
30
|
+
* @deprecated
|
|
30
31
|
* @throws {RequiredError}
|
|
31
32
|
*/
|
|
32
|
-
export declare const profileTreeParamCreator: (...config: ([ProfileTreeParams] | [any, any, any, AxiosRequestConfig])) => Promise<
|
|
33
|
+
export declare const profileTreeParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([ProfileTreeParams] | [any, any, any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
33
34
|
export default profileTreeParamCreator;
|
|
@@ -5,22 +5,27 @@ var tslib_1 = require("tslib");
|
|
|
5
5
|
// @ts-ignore
|
|
6
6
|
var common_1 = require("@redhat-cloud-services/javascript-clients-shared/dist/common");
|
|
7
7
|
var isProfileTreeObjectParams = function (params) {
|
|
8
|
-
|
|
8
|
+
var l = params.length === 1;
|
|
9
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
10
|
+
return true && Object.prototype.hasOwnProperty.call(params[0], 'securityGuideId') && Object.prototype.hasOwnProperty.call(params[0], 'profileId');
|
|
11
|
+
}
|
|
12
|
+
return false;
|
|
9
13
|
};
|
|
10
14
|
/**
|
|
11
15
|
* Returns the Rule Tree of a Profile
|
|
12
16
|
* @summary Request the Rule Tree of a Profile
|
|
13
17
|
* @param {ProfileTreeParams} config with all available params.
|
|
14
18
|
* @param {*} [options] Override http request option.
|
|
19
|
+
* @deprecated
|
|
15
20
|
* @throws {RequiredError}
|
|
16
21
|
*/
|
|
17
|
-
var profileTreeParamCreator = function () {
|
|
22
|
+
var profileTreeParamCreator = function (sendRequest) {
|
|
18
23
|
var config = [];
|
|
19
|
-
for (var _i =
|
|
20
|
-
config[_i] = arguments[_i];
|
|
24
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
25
|
+
config[_i - 1] = arguments[_i];
|
|
21
26
|
}
|
|
22
27
|
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
23
|
-
var params, securityGuideId, profileId, xRHIDENTITY, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
28
|
+
var params, securityGuideId, profileId, xRHIDENTITY, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
|
|
24
29
|
return tslib_1.__generator(this, function (_b) {
|
|
25
30
|
params = isProfileTreeObjectParams(config) ? config[0] : ['securityGuideId', 'profileId', 'xRHIDENTITY', 'options'].reduce(function (acc, curr, index) {
|
|
26
31
|
var _a;
|
|
@@ -41,10 +46,11 @@ var profileTreeParamCreator = function () {
|
|
|
41
46
|
}
|
|
42
47
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
43
48
|
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
49
|
+
args = {
|
|
50
|
+
urlObj: localVarUrlObj,
|
|
51
|
+
options: localVarRequestOptions,
|
|
52
|
+
};
|
|
53
|
+
return [2 /*return*/, sendRequest(Promise.resolve(args))];
|
|
48
54
|
});
|
|
49
55
|
});
|
|
50
56
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ProfileTree/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AAkCjU,IAAM,yBAAyB,GAAG,UAAC,MAAuC;IACxE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ProfileTree/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AAkCjU,IAAM,yBAAyB,GAAG,UAAC,MAAuC;IACxE,IAAM,CAAC,GAAG,MAAM,CAAC,MAAM,KAAK,CAAC,CAAA;IAC7B,IAAG,CAAC,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACnE,OAAO,IAAI,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,iBAAiB,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,CAAA;IACnJ,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AACD;;;;;;;EAOE;AACK,IAAM,uBAAuB,GAAG,UAAO,WAAmC;IAAE,gBAAsE;SAAtE,UAAsE,EAAtE,qBAAsE,EAAtE,IAAsE;QAAtE,+BAAsE;;;;;YAC/I,MAAM,GAAG,yBAAyB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,iBAAiB,EAAE,WAAW,EAAE,aAAa,EAA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AAO,CAAC,IAAI,CAAC,CAAC,EAAC;;;CACpE,CAAA;AA7BY,QAAA,uBAAuB,2BA6BnC;AAED,kBAAe,+BAAuB,CAAC"}
|
package/dist/Profiles/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
3
3
|
import type { Profiles200Response } from '../types';
|
|
4
4
|
export type ProfilesParams = {
|
|
5
5
|
/**
|
|
@@ -46,13 +46,13 @@ export type ProfilesParams = {
|
|
|
46
46
|
filter?: any;
|
|
47
47
|
options?: AxiosRequestConfig;
|
|
48
48
|
};
|
|
49
|
-
export type ProfilesReturnType =
|
|
49
|
+
export type ProfilesReturnType = Profiles200Response;
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
51
|
+
* List all security guide profiles.
|
|
52
52
|
* @summary Request Profiles
|
|
53
53
|
* @param {ProfilesParams} config with all available params.
|
|
54
54
|
* @param {*} [options] Override http request option.
|
|
55
55
|
* @throws {RequiredError}
|
|
56
56
|
*/
|
|
57
|
-
export declare const profilesParamCreator: (...config: ([ProfilesParams] | [any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<
|
|
57
|
+
export declare const profilesParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([ProfilesParams] | [any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<Profiles200Response, any, {}>>;
|
|
58
58
|
export default profilesParamCreator;
|
package/dist/Profiles/index.js
CHANGED
|
@@ -5,22 +5,26 @@ var tslib_1 = require("tslib");
|
|
|
5
5
|
// @ts-ignore
|
|
6
6
|
var common_1 = require("@redhat-cloud-services/javascript-clients-shared/dist/common");
|
|
7
7
|
var isProfilesObjectParams = function (params) {
|
|
8
|
-
|
|
8
|
+
var l = params.length === 1;
|
|
9
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
10
|
+
return true && Object.prototype.hasOwnProperty.call(params[0], 'securityGuideId');
|
|
11
|
+
}
|
|
12
|
+
return false;
|
|
9
13
|
};
|
|
10
14
|
/**
|
|
11
|
-
*
|
|
15
|
+
* List all security guide profiles.
|
|
12
16
|
* @summary Request Profiles
|
|
13
17
|
* @param {ProfilesParams} config with all available params.
|
|
14
18
|
* @param {*} [options] Override http request option.
|
|
15
19
|
* @throws {RequiredError}
|
|
16
20
|
*/
|
|
17
|
-
var profilesParamCreator = function () {
|
|
21
|
+
var profilesParamCreator = function (sendRequest) {
|
|
18
22
|
var config = [];
|
|
19
|
-
for (var _i =
|
|
20
|
-
config[_i] = arguments[_i];
|
|
23
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
24
|
+
config[_i - 1] = arguments[_i];
|
|
21
25
|
}
|
|
22
26
|
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
23
|
-
var params, securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
27
|
+
var params, securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
|
|
24
28
|
return tslib_1.__generator(this, function (_b) {
|
|
25
29
|
params = isProfilesObjectParams(config) ? config[0] : ['securityGuideId', 'xRHIDENTITY', 'limit', 'offset', 'idsOnly', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
|
|
26
30
|
var _a;
|
|
@@ -55,10 +59,11 @@ var profilesParamCreator = function () {
|
|
|
55
59
|
}
|
|
56
60
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
57
61
|
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
+
args = {
|
|
63
|
+
urlObj: localVarUrlObj,
|
|
64
|
+
options: localVarRequestOptions,
|
|
65
|
+
};
|
|
66
|
+
return [2 /*return*/, sendRequest(Promise.resolve(args))];
|
|
62
67
|
});
|
|
63
68
|
});
|
|
64
69
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../Profiles/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AA0DjU,IAAM,sBAAsB,GAAG,UAAC,MAAoC;IAClE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../Profiles/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AA0DjU,IAAM,sBAAsB,GAAG,UAAC,MAAoC;IAClE,IAAM,CAAC,GAAG,MAAM,CAAC,MAAM,KAAK,CAAC,CAAA;IAC7B,IAAG,CAAC,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACnE,OAAO,IAAI,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,iBAAiB,CAAC,CAAA;IACnF,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AACD;;;;;;EAME;AACK,IAAM,oBAAoB,GAAG,UAAO,WAAmC;IAAE,gBAAuF;SAAvF,UAAuF,EAAvF,qBAAuF,EAAvF,IAAuF;QAAvF,+BAAuF;;;;;YAC7J,MAAM,GAAG,sBAAsB,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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AK,SAAS,EAAE,CAAC;gBACvB,sBAAsB,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;YAC9C,CAAC;YAED,IAAI,WAAW,IAAI,IAAI,EAAE,CAAC;gBACtB,uBAAuB,CAAC,eAAe,CAAC,GAAG,OAAO,WAAW,KAAK,QAAQ;oBACtE,CAAC,CAAC,WAAW;oBACb,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;YACtC,CAAC;YAID,IAAA,wBAAe,EAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;YACxD,sBAAsB,CAAC,OAAO,yCAAO,uBAAuB,GAAK,OAAO,CAAC,OAAO,CAAC,CAAC;YAE5E,IAAI,GAAG;gBACT,MAAM,EAAE,cAAc;gBACtB,OAAO,EAAE,sBAAsB;aAClC,CAAC;YAEF,sBAAO,WAAW,CAAqB,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,EAAC;;;CACjE,CAAA;AAhDY,QAAA,oBAAoB,wBAgDhC;AAED,kBAAe,4BAAoB,CAAC"}
|
package/dist/Report/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
3
3
|
import type { Report200Response } from '../types';
|
|
4
4
|
export type ReportParams = {
|
|
5
5
|
/**
|
|
@@ -16,13 +16,13 @@ export type ReportParams = {
|
|
|
16
16
|
xRHIDENTITY?: any;
|
|
17
17
|
options?: AxiosRequestConfig;
|
|
18
18
|
};
|
|
19
|
-
export type ReportReturnType =
|
|
19
|
+
export type ReportReturnType = Report200Response;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Retrieve a specific report.
|
|
22
22
|
* @summary Request a Report
|
|
23
23
|
* @param {ReportParams} config with all available params.
|
|
24
24
|
* @param {*} [options] Override http request option.
|
|
25
25
|
* @throws {RequiredError}
|
|
26
26
|
*/
|
|
27
|
-
export declare const reportParamCreator: (...config: ([ReportParams] | [any, any, AxiosRequestConfig])) => Promise<
|
|
27
|
+
export declare const reportParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([ReportParams] | [any, any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<Report200Response, any, {}>>;
|
|
28
28
|
export default reportParamCreator;
|
package/dist/Report/index.js
CHANGED
|
@@ -5,22 +5,26 @@ var tslib_1 = require("tslib");
|
|
|
5
5
|
// @ts-ignore
|
|
6
6
|
var common_1 = require("@redhat-cloud-services/javascript-clients-shared/dist/common");
|
|
7
7
|
var isReportObjectParams = function (params) {
|
|
8
|
-
|
|
8
|
+
var l = params.length === 1;
|
|
9
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
10
|
+
return true && Object.prototype.hasOwnProperty.call(params[0], 'reportId');
|
|
11
|
+
}
|
|
12
|
+
return false;
|
|
9
13
|
};
|
|
10
14
|
/**
|
|
11
|
-
*
|
|
15
|
+
* Retrieve a specific report.
|
|
12
16
|
* @summary Request a Report
|
|
13
17
|
* @param {ReportParams} config with all available params.
|
|
14
18
|
* @param {*} [options] Override http request option.
|
|
15
19
|
* @throws {RequiredError}
|
|
16
20
|
*/
|
|
17
|
-
var reportParamCreator = function () {
|
|
21
|
+
var reportParamCreator = function (sendRequest) {
|
|
18
22
|
var config = [];
|
|
19
|
-
for (var _i =
|
|
20
|
-
config[_i] = arguments[_i];
|
|
23
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
24
|
+
config[_i - 1] = arguments[_i];
|
|
21
25
|
}
|
|
22
26
|
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
23
|
-
var params, reportId, xRHIDENTITY, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
27
|
+
var params, reportId, xRHIDENTITY, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
|
|
24
28
|
return tslib_1.__generator(this, function (_b) {
|
|
25
29
|
params = isReportObjectParams(config) ? config[0] : ['reportId', 'xRHIDENTITY', 'options'].reduce(function (acc, curr, index) {
|
|
26
30
|
var _a;
|
|
@@ -40,10 +44,11 @@ var reportParamCreator = function () {
|
|
|
40
44
|
}
|
|
41
45
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
42
46
|
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
+
args = {
|
|
48
|
+
urlObj: localVarUrlObj,
|
|
49
|
+
options: localVarRequestOptions,
|
|
50
|
+
};
|
|
51
|
+
return [2 /*return*/, sendRequest(Promise.resolve(args))];
|
|
47
52
|
});
|
|
48
53
|
});
|
|
49
54
|
};
|
package/dist/Report/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../Report/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AA4BjU,IAAM,oBAAoB,GAAG,UAAC,MAAkC;IAC9D,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../Report/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AA4BjU,IAAM,oBAAoB,GAAG,UAAC,MAAkC;IAC9D,IAAM,CAAC,GAAG,MAAM,CAAC,MAAM,KAAK,CAAC,CAAA;IAC7B,IAAG,CAAC,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACnE,OAAO,IAAI,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,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D,sBAAsB,CAAC,OAAO,yCAAO,uBAAuB,GAAK,OAAO,CAAC,OAAO,CAAC,CAAC;YAE5E,IAAI,GAAG;gBACT,MAAM,EAAE,cAAc;gBACtB,OAAO,EAAE,sBAAsB;aAClC,CAAC;YAEF,sBAAO,WAAW,CAAmB,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,EAAC;;;CAC/D,CAAA;AA5BY,QAAA,kBAAkB,sBA4B9B;AAED,kBAAe,0BAAkB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
3
3
|
import type { ReportRuleResults200Response } from '../types';
|
|
4
4
|
export type ReportRuleResultsParams = {
|
|
5
5
|
/**
|
|
@@ -45,20 +45,20 @@ export type ReportRuleResultsParams = {
|
|
|
45
45
|
*/
|
|
46
46
|
sortBy?: any;
|
|
47
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>Rule Results are searchable using attributes `result`, `title`, `severity`, `
|
|
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>Rule Results are searchable using attributes `result`, `title`, `severity`, `rule_group_id`, and `identifier_label`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
49
49
|
* @type { any }
|
|
50
50
|
* @memberof ReportRuleResultsApi
|
|
51
51
|
*/
|
|
52
52
|
filter?: any;
|
|
53
53
|
options?: AxiosRequestConfig;
|
|
54
54
|
};
|
|
55
|
-
export type ReportRuleResultsReturnType =
|
|
55
|
+
export type ReportRuleResultsReturnType = ReportRuleResults200Response;
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
57
|
+
* Retrieve all of the rule results for a specific report.
|
|
58
58
|
* @summary Request Rule Results under a Report
|
|
59
59
|
* @param {ReportRuleResultsParams} config with all available params.
|
|
60
60
|
* @param {*} [options] Override http request option.
|
|
61
61
|
* @throws {RequiredError}
|
|
62
62
|
*/
|
|
63
|
-
export declare const reportRuleResultsParamCreator: (...config: ([ReportRuleResultsParams] | [any, any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<
|
|
63
|
+
export declare const reportRuleResultsParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([ReportRuleResultsParams] | [any, any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<ReportRuleResults200Response, any, {}>>;
|
|
64
64
|
export default reportRuleResultsParamCreator;
|
|
@@ -5,22 +5,26 @@ var tslib_1 = require("tslib");
|
|
|
5
5
|
// @ts-ignore
|
|
6
6
|
var common_1 = require("@redhat-cloud-services/javascript-clients-shared/dist/common");
|
|
7
7
|
var isReportRuleResultsObjectParams = function (params) {
|
|
8
|
-
|
|
8
|
+
var l = params.length === 1;
|
|
9
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
10
|
+
return true && Object.prototype.hasOwnProperty.call(params[0], 'testResultId') && Object.prototype.hasOwnProperty.call(params[0], 'reportId');
|
|
11
|
+
}
|
|
12
|
+
return false;
|
|
9
13
|
};
|
|
10
14
|
/**
|
|
11
|
-
*
|
|
15
|
+
* Retrieve all of the rule results for a specific report.
|
|
12
16
|
* @summary Request Rule Results under a Report
|
|
13
17
|
* @param {ReportRuleResultsParams} config with all available params.
|
|
14
18
|
* @param {*} [options] Override http request option.
|
|
15
19
|
* @throws {RequiredError}
|
|
16
20
|
*/
|
|
17
|
-
var reportRuleResultsParamCreator = function () {
|
|
21
|
+
var reportRuleResultsParamCreator = function (sendRequest) {
|
|
18
22
|
var config = [];
|
|
19
|
-
for (var _i =
|
|
20
|
-
config[_i] = arguments[_i];
|
|
23
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
24
|
+
config[_i - 1] = arguments[_i];
|
|
21
25
|
}
|
|
22
26
|
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
23
|
-
var params, testResultId, reportId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
27
|
+
var params, testResultId, reportId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
|
|
24
28
|
return tslib_1.__generator(this, function (_b) {
|
|
25
29
|
params = isReportRuleResultsObjectParams(config) ? config[0] : ['testResultId', 'reportId', 'xRHIDENTITY', 'limit', 'offset', 'idsOnly', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
|
|
26
30
|
var _a;
|
|
@@ -56,10 +60,11 @@ var reportRuleResultsParamCreator = function () {
|
|
|
56
60
|
}
|
|
57
61
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
58
62
|
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
+
args = {
|
|
64
|
+
urlObj: localVarUrlObj,
|
|
65
|
+
options: localVarRequestOptions,
|
|
66
|
+
};
|
|
67
|
+
return [2 /*return*/, sendRequest(Promise.resolve(args))];
|
|
63
68
|
});
|
|
64
69
|
});
|
|
65
70
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ReportRuleResults/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AAgEjU,IAA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C;YAED,IAAI,WAAW,IAAI,IAAI,EAAE,CAAC;gBACtB,uBAAuB,CAAC,eAAe,CAAC,GAAG,OAAO,WAAW,KAAK,QAAQ;oBACtE,CAAC,CAAC,WAAW;oBACb,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;YACtC,CAAC;YAID,IAAA,wBAAe,EAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;YACxD,sBAAsB,CAAC,OAAO,yCAAO,uBAAuB,GAAK,OAAO,CAAC,OAAO,CAAC,CAAC;YAE5E,IAAI,GAAG;gBACT,MAAM,EAAE,cAAc;gBACtB,OAAO,EAAE,sBAAsB;aAClC,CAAC;YAEF,sBAAO,WAAW,CAA8B,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,EAAC;;;CAC1E,CAAA;AAjDY,QAAA,6BAA6B,iCAiDzC;AAED,kBAAe,qCAA6B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
3
3
|
import type { ReportStats200Response } from '../types';
|
|
4
4
|
export type ReportStatsParams = {
|
|
5
5
|
/**
|
|
@@ -16,7 +16,7 @@ export type ReportStatsParams = {
|
|
|
16
16
|
xRHIDENTITY?: any;
|
|
17
17
|
options?: AxiosRequestConfig;
|
|
18
18
|
};
|
|
19
|
-
export type ReportStatsReturnType =
|
|
19
|
+
export type ReportStatsReturnType = ReportStats200Response;
|
|
20
20
|
/**
|
|
21
21
|
* Returns detailed stats for a Report
|
|
22
22
|
* @summary Request detailed stats for a Report
|
|
@@ -25,5 +25,5 @@ export type ReportStatsReturnType = AxiosPromise<ReportStats200Response>;
|
|
|
25
25
|
* @deprecated
|
|
26
26
|
* @throws {RequiredError}
|
|
27
27
|
*/
|
|
28
|
-
export declare const reportStatsParamCreator: (...config: ([ReportStatsParams] | [any, any, AxiosRequestConfig])) => Promise<
|
|
28
|
+
export declare const reportStatsParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([ReportStatsParams] | [any, any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<ReportStats200Response, any, {}>>;
|
|
29
29
|
export default reportStatsParamCreator;
|
|
@@ -5,7 +5,11 @@ var tslib_1 = require("tslib");
|
|
|
5
5
|
// @ts-ignore
|
|
6
6
|
var common_1 = require("@redhat-cloud-services/javascript-clients-shared/dist/common");
|
|
7
7
|
var isReportStatsObjectParams = function (params) {
|
|
8
|
-
|
|
8
|
+
var l = params.length === 1;
|
|
9
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
10
|
+
return true && Object.prototype.hasOwnProperty.call(params[0], 'reportId');
|
|
11
|
+
}
|
|
12
|
+
return false;
|
|
9
13
|
};
|
|
10
14
|
/**
|
|
11
15
|
* Returns detailed stats for a Report
|
|
@@ -15,13 +19,13 @@ var isReportStatsObjectParams = function (params) {
|
|
|
15
19
|
* @deprecated
|
|
16
20
|
* @throws {RequiredError}
|
|
17
21
|
*/
|
|
18
|
-
var reportStatsParamCreator = function () {
|
|
22
|
+
var reportStatsParamCreator = function (sendRequest) {
|
|
19
23
|
var config = [];
|
|
20
|
-
for (var _i =
|
|
21
|
-
config[_i] = arguments[_i];
|
|
24
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
25
|
+
config[_i - 1] = arguments[_i];
|
|
22
26
|
}
|
|
23
27
|
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
24
|
-
var params, reportId, xRHIDENTITY, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
28
|
+
var params, reportId, xRHIDENTITY, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
|
|
25
29
|
return tslib_1.__generator(this, function (_b) {
|
|
26
30
|
params = isReportStatsObjectParams(config) ? config[0] : ['reportId', 'xRHIDENTITY', 'options'].reduce(function (acc, curr, index) {
|
|
27
31
|
var _a;
|
|
@@ -41,10 +45,11 @@ var reportStatsParamCreator = function () {
|
|
|
41
45
|
}
|
|
42
46
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
43
47
|
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
+
args = {
|
|
49
|
+
urlObj: localVarUrlObj,
|
|
50
|
+
options: localVarRequestOptions,
|
|
51
|
+
};
|
|
52
|
+
return [2 /*return*/, sendRequest(Promise.resolve(args))];
|
|
48
53
|
});
|
|
49
54
|
});
|
|
50
55
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ReportStats/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AA4BjU,IAAM,yBAAyB,GAAG,UAAC,MAAuC;IACxE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ReportStats/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AA4BjU,IAAM,yBAAyB,GAAG,UAAC,MAAuC;IACxE,IAAM,CAAC,GAAG,MAAM,CAAC,MAAM,KAAK,CAAC,CAAA;IAC7B,IAAG,CAAC,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACnE,OAAO,IAAI,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,CAAA;IAC5E,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AACD;;;;;;;EAOE;AACK,IAAM,uBAAuB,GAAG,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,MAAM,EAAE,cAAc;gBACtB,OAAO,EAAE,sBAAsB;aAClC,CAAC;YAEF,sBAAO,WAAW,CAAwB,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,EAAC;;;CACpE,CAAA;AA5BY,QAAA,uBAAuB,2BA4BnC;AAED,kBAAe,+BAAuB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
3
3
|
import type { System200Response } from '../types';
|
|
4
4
|
export type ReportSystemParams = {
|
|
5
5
|
/**
|
|
@@ -22,13 +22,13 @@ export type ReportSystemParams = {
|
|
|
22
22
|
xRHIDENTITY?: any;
|
|
23
23
|
options?: AxiosRequestConfig;
|
|
24
24
|
};
|
|
25
|
-
export type ReportSystemReturnType =
|
|
25
|
+
export type ReportSystemReturnType = System200Response;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Retrieve a specific system from a specific report.
|
|
28
28
|
* @summary Request a System
|
|
29
29
|
* @param {ReportSystemParams} config with all available params.
|
|
30
30
|
* @param {*} [options] Override http request option.
|
|
31
31
|
* @throws {RequiredError}
|
|
32
32
|
*/
|
|
33
|
-
export declare const reportSystemParamCreator: (...config: ([ReportSystemParams] | [any, any, any, AxiosRequestConfig])) => Promise<
|
|
33
|
+
export declare const reportSystemParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([ReportSystemParams] | [any, any, any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<System200Response, any, {}>>;
|
|
34
34
|
export default reportSystemParamCreator;
|