@redhat-cloud-services/compliance-client 3.0.6 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AssignRule/index.d.ts +40 -0
- package/AssignRule/index.d.ts.map +1 -0
- package/AssignRule/index.js.map +1 -0
- package/AssignRules/index.d.ts +42 -0
- package/AssignRules/index.d.ts.map +1 -0
- package/AssignRules/index.js.map +1 -0
- package/AssignSystem/index.d.ts +35 -0
- package/AssignSystem/index.d.ts.map +1 -0
- package/AssignSystem/index.js.map +1 -0
- package/AssignSystems/index.d.ts +36 -0
- package/AssignSystems/index.d.ts.map +1 -0
- package/AssignSystems/index.js.map +1 -0
- package/CreatePolicy/index.d.ts +29 -0
- package/CreatePolicy/index.d.ts.map +1 -0
- package/CreatePolicy/index.js.map +1 -0
- package/CreateTailoring/index.d.ts +36 -0
- package/CreateTailoring/index.d.ts.map +1 -0
- package/CreateTailoring/index.js.map +1 -0
- package/DeletePolicy/index.d.ts +29 -0
- package/DeletePolicy/index.d.ts.map +1 -0
- package/DeletePolicy/index.js.map +1 -0
- package/DeleteReport/index.d.ts +28 -0
- package/DeleteReport/index.d.ts.map +1 -0
- package/DeleteReport/index.js.map +1 -0
- package/Policies/index.d.ts +53 -0
- package/Policies/index.d.ts.map +1 -0
- package/Policies/index.js.map +1 -0
- package/Policy/index.d.ts +29 -0
- package/Policy/index.d.ts.map +1 -0
- package/Policy/index.js.map +1 -0
- package/PolicySystems/index.d.ts +65 -0
- package/PolicySystems/index.d.ts.map +1 -0
- package/PolicySystems/index.js.map +1 -0
- package/PolicySystemsOS/index.d.ts +35 -0
- package/PolicySystemsOS/index.d.ts.map +1 -0
- package/PolicySystemsOS/index.js.map +1 -0
- package/Profile/index.d.ts +35 -0
- package/Profile/index.d.ts.map +1 -0
- package/Profile/index.js.map +1 -0
- package/ProfileRule/index.d.ts +41 -0
- package/ProfileRule/index.d.ts.map +1 -0
- package/ProfileRule/index.js.map +1 -0
- package/ProfileRules/index.d.ts +65 -0
- package/ProfileRules/index.d.ts.map +1 -0
- package/ProfileRules/index.js.map +1 -0
- package/ProfileTree/index.d.ts +35 -0
- package/ProfileTree/index.d.ts.map +1 -0
- package/ProfileTree/index.js.map +1 -0
- package/Profiles/index.d.ts +59 -0
- package/Profiles/index.d.ts.map +1 -0
- package/Profiles/index.js.map +1 -0
- package/Report/index.d.ts +29 -0
- package/Report/index.d.ts.map +1 -0
- package/Report/index.js.map +1 -0
- package/ReportRuleResults/index.d.ts +65 -0
- package/ReportRuleResults/index.d.ts.map +1 -0
- package/ReportRuleResults/index.js.map +1 -0
- package/ReportStats/index.d.ts +30 -0
- package/ReportStats/index.d.ts.map +1 -0
- package/ReportStats/index.js.map +1 -0
- package/ReportSystem/index.d.ts +35 -0
- package/ReportSystem/index.d.ts.map +1 -0
- package/ReportSystem/index.js.map +1 -0
- package/ReportSystems/index.d.ts +65 -0
- package/ReportSystems/index.d.ts.map +1 -0
- package/ReportSystems/index.js.map +1 -0
- package/ReportSystemsOS/index.d.ts +35 -0
- package/ReportSystemsOS/index.d.ts.map +1 -0
- package/ReportSystemsOS/index.js.map +1 -0
- package/ReportTestResult/index.d.ts +35 -0
- package/ReportTestResult/index.d.ts.map +1 -0
- package/ReportTestResult/index.js.map +1 -0
- package/ReportTestResults/index.d.ts +65 -0
- package/ReportTestResults/index.d.ts.map +1 -0
- package/ReportTestResults/index.js.map +1 -0
- package/ReportTestResultsOS/index.d.ts +35 -0
- package/ReportTestResultsOS/index.d.ts.map +1 -0
- package/ReportTestResultsOS/index.js.map +1 -0
- package/ReportTestResultsSG/index.d.ts +29 -0
- package/ReportTestResultsSG/index.d.ts.map +1 -0
- package/ReportTestResultsSG/index.js.map +1 -0
- package/Reports/index.d.ts +53 -0
- package/Reports/index.d.ts.map +1 -0
- package/Reports/index.js.map +1 -0
- package/ReportsOS/index.d.ts +29 -0
- package/ReportsOS/index.d.ts.map +1 -0
- package/ReportsOS/index.js.map +1 -0
- package/Rule/index.d.ts +35 -0
- package/Rule/index.d.ts.map +1 -0
- package/Rule/index.js.map +1 -0
- package/RuleGroup/index.d.ts +35 -0
- package/RuleGroup/index.d.ts.map +1 -0
- package/RuleGroup/index.js.map +1 -0
- package/RuleGroups/index.d.ts +59 -0
- package/RuleGroups/index.d.ts.map +1 -0
- package/RuleGroups/index.js.map +1 -0
- package/Rules/index.d.ts +59 -0
- package/Rules/index.d.ts.map +1 -0
- package/Rules/index.js.map +1 -0
- package/SecurityGuide/index.d.ts +29 -0
- package/SecurityGuide/index.d.ts.map +1 -0
- package/SecurityGuide/index.js.map +1 -0
- package/SecurityGuideRuleTree/index.d.ts +29 -0
- package/SecurityGuideRuleTree/index.d.ts.map +1 -0
- package/SecurityGuideRuleTree/index.js.map +1 -0
- package/SecurityGuides/index.d.ts +53 -0
- package/SecurityGuides/index.d.ts.map +1 -0
- package/SecurityGuides/index.js.map +1 -0
- package/SecurityGuidesOS/index.d.ts +29 -0
- package/SecurityGuidesOS/index.d.ts.map +1 -0
- package/SecurityGuidesOS/index.js.map +1 -0
- package/Status/index.d.ts +17 -0
- package/Status/index.d.ts.map +1 -0
- package/Status/index.js.map +1 -0
- package/SupportedProfiles/index.d.ts +53 -0
- package/SupportedProfiles/index.d.ts.map +1 -0
- package/SupportedProfiles/index.js.map +1 -0
- package/System/index.d.ts +29 -0
- package/System/index.d.ts.map +1 -0
- package/System/index.js.map +1 -0
- package/SystemReports/index.d.ts +59 -0
- package/SystemReports/index.d.ts.map +1 -0
- package/SystemReports/index.js.map +1 -0
- package/Systems/index.d.ts +59 -0
- package/Systems/index.d.ts.map +1 -0
- package/Systems/index.js.map +1 -0
- package/SystemsOS/index.d.ts +29 -0
- package/SystemsOS/index.d.ts.map +1 -0
- package/SystemsOS/index.js.map +1 -0
- package/SystemsPolicies/index.d.ts +59 -0
- package/SystemsPolicies/index.d.ts.map +1 -0
- package/SystemsPolicies/index.js.map +1 -0
- package/Tailoring/index.d.ts +35 -0
- package/Tailoring/index.d.ts.map +1 -0
- package/Tailoring/index.js.map +1 -0
- package/TailoringFileJSON/index.d.ts +35 -0
- package/TailoringFileJSON/index.d.ts.map +1 -0
- package/TailoringFileJSON/index.js.map +1 -0
- package/TailoringFileTOML/index.d.ts +35 -0
- package/TailoringFileTOML/index.d.ts.map +1 -0
- package/TailoringFileTOML/index.js +58 -0
- package/TailoringFileTOML/index.js.map +1 -0
- package/TailoringRuleTree/index.d.ts +35 -0
- package/TailoringRuleTree/index.d.ts.map +1 -0
- package/TailoringRuleTree/index.js.map +1 -0
- package/TailoringRules/index.d.ts +65 -0
- package/TailoringRules/index.d.ts.map +1 -0
- package/TailoringRules/index.js.map +1 -0
- package/Tailorings/index.d.ts +59 -0
- package/Tailorings/index.d.ts.map +1 -0
- package/Tailorings/index.js.map +1 -0
- package/UnassignRule/index.d.ts +40 -0
- package/UnassignRule/index.d.ts.map +1 -0
- package/UnassignRule/index.js.map +1 -0
- package/UnassignSystem/index.d.ts +35 -0
- package/UnassignSystem/index.d.ts.map +1 -0
- package/UnassignSystem/index.js.map +1 -0
- package/UpdatePolicy/index.d.ts +35 -0
- package/UpdatePolicy/index.d.ts.map +1 -0
- package/UpdatePolicy/index.js.map +1 -0
- package/UpdateTailoring/index.d.ts +41 -0
- package/UpdateTailoring/index.d.ts.map +1 -0
- package/UpdateTailoring/index.js.map +1 -0
- package/ValueDefinition/index.d.ts +35 -0
- package/ValueDefinition/index.d.ts.map +1 -0
- package/ValueDefinition/index.js.map +1 -0
- package/ValueDefinitions/index.d.ts +59 -0
- package/ValueDefinitions/index.d.ts.map +1 -0
- package/ValueDefinitions/index.js.map +1 -0
- package/api.d.ts +118 -0
- package/api.d.ts.map +1 -0
- package/api.js.map +1 -0
- package/esm/AssignRule/index.d.ts +40 -0
- package/esm/AssignRule/index.d.ts.map +1 -0
- package/esm/AssignRule/index.js +43 -0
- package/esm/AssignRule/index.js.map +1 -0
- package/esm/AssignRules/index.d.ts +42 -0
- package/esm/AssignRules/index.d.ts.map +1 -0
- package/esm/AssignRules/index.js +45 -0
- package/esm/AssignRules/index.js.map +1 -0
- package/esm/AssignSystem/index.d.ts +35 -0
- package/esm/AssignSystem/index.d.ts.map +1 -0
- package/esm/AssignSystem/index.js +42 -0
- package/esm/AssignSystem/index.js.map +1 -0
- package/esm/AssignSystems/index.d.ts +36 -0
- package/esm/AssignSystems/index.d.ts.map +1 -0
- package/esm/AssignSystems/index.js +44 -0
- package/esm/AssignSystems/index.js.map +1 -0
- package/esm/CreatePolicy/index.d.ts +29 -0
- package/esm/CreatePolicy/index.d.ts.map +1 -0
- package/esm/CreatePolicy/index.js +42 -0
- package/esm/CreatePolicy/index.js.map +1 -0
- package/esm/CreateTailoring/index.d.ts +36 -0
- package/esm/CreateTailoring/index.d.ts.map +1 -0
- package/esm/CreateTailoring/index.js +44 -0
- package/esm/CreateTailoring/index.js.map +1 -0
- package/esm/DeletePolicy/index.d.ts +29 -0
- package/esm/DeletePolicy/index.d.ts.map +1 -0
- package/esm/DeletePolicy/index.js +41 -0
- package/esm/DeletePolicy/index.js.map +1 -0
- package/esm/DeleteReport/index.d.ts +28 -0
- package/esm/DeleteReport/index.d.ts.map +1 -0
- package/esm/DeleteReport/index.js +41 -0
- package/esm/DeleteReport/index.js.map +1 -0
- package/esm/Policies/index.d.ts +53 -0
- package/esm/Policies/index.d.ts.map +1 -0
- package/esm/Policies/index.js +55 -0
- package/esm/Policies/index.js.map +1 -0
- package/esm/Policy/index.d.ts +29 -0
- package/esm/Policy/index.d.ts.map +1 -0
- package/esm/Policy/index.js +41 -0
- package/esm/Policy/index.js.map +1 -0
- package/esm/PolicySystems/index.d.ts +65 -0
- package/esm/PolicySystems/index.d.ts.map +1 -0
- package/esm/PolicySystems/index.js +59 -0
- package/esm/PolicySystems/index.js.map +1 -0
- package/esm/PolicySystemsOS/index.d.ts +35 -0
- package/esm/PolicySystemsOS/index.d.ts.map +1 -0
- package/esm/PolicySystemsOS/index.js +45 -0
- package/esm/PolicySystemsOS/index.js.map +1 -0
- package/esm/Profile/index.d.ts +35 -0
- package/esm/Profile/index.d.ts.map +1 -0
- package/esm/Profile/index.js +42 -0
- package/esm/Profile/index.js.map +1 -0
- package/esm/ProfileRule/index.d.ts +41 -0
- package/esm/ProfileRule/index.d.ts.map +1 -0
- package/esm/ProfileRule/index.js +43 -0
- package/esm/ProfileRule/index.js.map +1 -0
- package/esm/ProfileRules/index.d.ts +65 -0
- package/esm/ProfileRules/index.d.ts.map +1 -0
- package/esm/ProfileRules/index.js +57 -0
- package/esm/ProfileRules/index.js.map +1 -0
- package/esm/ProfileTree/index.d.ts +35 -0
- package/esm/ProfileTree/index.d.ts.map +1 -0
- package/esm/ProfileTree/index.js +43 -0
- package/esm/ProfileTree/index.js.map +1 -0
- package/esm/Profiles/index.d.ts +59 -0
- package/esm/Profiles/index.d.ts.map +1 -0
- package/esm/Profiles/index.js +56 -0
- package/esm/Profiles/index.js.map +1 -0
- package/esm/Report/index.d.ts +29 -0
- package/esm/Report/index.d.ts.map +1 -0
- package/esm/Report/index.js +41 -0
- package/esm/Report/index.js.map +1 -0
- package/esm/ReportRuleResults/index.d.ts +65 -0
- package/esm/ReportRuleResults/index.d.ts.map +1 -0
- package/esm/ReportRuleResults/index.js +57 -0
- package/esm/ReportRuleResults/index.js.map +1 -0
- package/esm/ReportStats/index.d.ts +30 -0
- package/esm/ReportStats/index.d.ts.map +1 -0
- package/esm/ReportStats/index.js +42 -0
- package/esm/ReportStats/index.js.map +1 -0
- package/esm/ReportSystem/index.d.ts +35 -0
- package/esm/ReportSystem/index.d.ts.map +1 -0
- package/esm/ReportSystem/index.js +42 -0
- package/esm/ReportSystem/index.js.map +1 -0
- package/esm/ReportSystems/index.d.ts +65 -0
- package/esm/ReportSystems/index.d.ts.map +1 -0
- package/esm/ReportSystems/index.js +59 -0
- package/esm/ReportSystems/index.js.map +1 -0
- package/esm/ReportSystemsOS/index.d.ts +35 -0
- package/esm/ReportSystemsOS/index.d.ts.map +1 -0
- package/esm/ReportSystemsOS/index.js +45 -0
- package/esm/ReportSystemsOS/index.js.map +1 -0
- package/esm/ReportTestResult/index.d.ts +35 -0
- package/esm/ReportTestResult/index.d.ts.map +1 -0
- package/esm/ReportTestResult/index.js +42 -0
- package/esm/ReportTestResult/index.js.map +1 -0
- package/esm/ReportTestResults/index.d.ts +65 -0
- package/esm/ReportTestResults/index.d.ts.map +1 -0
- package/esm/ReportTestResults/index.js +59 -0
- package/esm/ReportTestResults/index.js.map +1 -0
- package/esm/ReportTestResultsOS/index.d.ts +35 -0
- package/esm/ReportTestResultsOS/index.d.ts.map +1 -0
- package/esm/ReportTestResultsOS/index.js +45 -0
- package/esm/ReportTestResultsOS/index.js.map +1 -0
- package/esm/ReportTestResultsSG/index.d.ts +29 -0
- package/esm/ReportTestResultsSG/index.d.ts.map +1 -0
- package/esm/ReportTestResultsSG/index.js +42 -0
- package/esm/ReportTestResultsSG/index.js.map +1 -0
- package/esm/Reports/index.d.ts +53 -0
- package/esm/Reports/index.d.ts.map +1 -0
- package/esm/Reports/index.js +55 -0
- package/esm/Reports/index.js.map +1 -0
- package/esm/ReportsOS/index.d.ts +29 -0
- package/esm/ReportsOS/index.d.ts.map +1 -0
- package/esm/ReportsOS/index.js +44 -0
- package/esm/ReportsOS/index.js.map +1 -0
- package/esm/Rule/index.d.ts +35 -0
- package/esm/Rule/index.d.ts.map +1 -0
- package/esm/Rule/index.js +42 -0
- package/esm/Rule/index.js.map +1 -0
- package/esm/RuleGroup/index.d.ts +35 -0
- package/esm/RuleGroup/index.d.ts.map +1 -0
- package/esm/RuleGroup/index.js +42 -0
- package/esm/RuleGroup/index.js.map +1 -0
- package/esm/RuleGroups/index.d.ts +59 -0
- package/esm/RuleGroups/index.d.ts.map +1 -0
- package/esm/RuleGroups/index.js +56 -0
- package/esm/RuleGroups/index.js.map +1 -0
- package/esm/Rules/index.d.ts +59 -0
- package/esm/Rules/index.d.ts.map +1 -0
- package/esm/Rules/index.js +56 -0
- package/esm/Rules/index.js.map +1 -0
- package/esm/SecurityGuide/index.d.ts +29 -0
- package/esm/SecurityGuide/index.d.ts.map +1 -0
- package/esm/SecurityGuide/index.js +41 -0
- package/esm/SecurityGuide/index.js.map +1 -0
- package/esm/SecurityGuideRuleTree/index.d.ts +29 -0
- package/esm/SecurityGuideRuleTree/index.d.ts.map +1 -0
- package/esm/SecurityGuideRuleTree/index.js +42 -0
- package/esm/SecurityGuideRuleTree/index.js.map +1 -0
- package/esm/SecurityGuides/index.d.ts +53 -0
- package/esm/SecurityGuides/index.d.ts.map +1 -0
- package/esm/SecurityGuides/index.js +55 -0
- package/esm/SecurityGuides/index.js.map +1 -0
- package/esm/SecurityGuidesOS/index.d.ts +29 -0
- package/esm/SecurityGuidesOS/index.d.ts.map +1 -0
- package/esm/SecurityGuidesOS/index.js +44 -0
- package/esm/SecurityGuidesOS/index.js.map +1 -0
- package/esm/Status/index.d.ts +17 -0
- package/esm/Status/index.d.ts.map +1 -0
- package/esm/Status/index.js +35 -0
- package/esm/Status/index.js.map +1 -0
- package/esm/SupportedProfiles/index.d.ts +53 -0
- package/esm/SupportedProfiles/index.d.ts.map +1 -0
- package/esm/SupportedProfiles/index.js +55 -0
- package/esm/SupportedProfiles/index.js.map +1 -0
- package/esm/System/index.d.ts +29 -0
- package/esm/System/index.d.ts.map +1 -0
- package/esm/System/index.js +41 -0
- package/esm/System/index.js.map +1 -0
- package/esm/SystemReports/index.d.ts +59 -0
- package/esm/SystemReports/index.d.ts.map +1 -0
- package/esm/SystemReports/index.js +56 -0
- package/esm/SystemReports/index.js.map +1 -0
- package/esm/Systems/index.d.ts +59 -0
- package/esm/Systems/index.d.ts.map +1 -0
- package/esm/Systems/index.js +58 -0
- package/esm/Systems/index.js.map +1 -0
- package/esm/SystemsOS/index.d.ts +29 -0
- package/esm/SystemsOS/index.d.ts.map +1 -0
- package/esm/SystemsOS/index.js +44 -0
- package/esm/SystemsOS/index.js.map +1 -0
- package/esm/SystemsPolicies/index.d.ts +59 -0
- package/esm/SystemsPolicies/index.d.ts.map +1 -0
- package/esm/SystemsPolicies/index.js +56 -0
- package/esm/SystemsPolicies/index.js.map +1 -0
- package/esm/Tailoring/index.d.ts +35 -0
- package/esm/Tailoring/index.d.ts.map +1 -0
- package/esm/Tailoring/index.js +42 -0
- package/esm/Tailoring/index.js.map +1 -0
- package/esm/TailoringFileJSON/index.d.ts +35 -0
- package/esm/TailoringFileJSON/index.d.ts.map +1 -0
- package/esm/TailoringFileJSON/index.js +42 -0
- package/esm/TailoringFileJSON/index.js.map +1 -0
- package/esm/TailoringFileTOML/index.d.ts +35 -0
- package/esm/TailoringFileTOML/index.d.ts.map +1 -0
- package/esm/TailoringFileTOML/index.js +42 -0
- package/esm/TailoringFileTOML/index.js.map +1 -0
- package/esm/TailoringRuleTree/index.d.ts +35 -0
- package/esm/TailoringRuleTree/index.d.ts.map +1 -0
- package/esm/TailoringRuleTree/index.js +43 -0
- package/esm/TailoringRuleTree/index.js.map +1 -0
- package/esm/TailoringRules/index.d.ts +65 -0
- package/esm/TailoringRules/index.d.ts.map +1 -0
- package/esm/TailoringRules/index.js +57 -0
- package/esm/TailoringRules/index.js.map +1 -0
- package/esm/Tailorings/index.d.ts +59 -0
- package/esm/Tailorings/index.d.ts.map +1 -0
- package/esm/Tailorings/index.js +56 -0
- package/esm/Tailorings/index.js.map +1 -0
- package/esm/UnassignRule/index.d.ts +40 -0
- package/esm/UnassignRule/index.d.ts.map +1 -0
- package/esm/UnassignRule/index.js +43 -0
- package/esm/UnassignRule/index.js.map +1 -0
- package/esm/UnassignSystem/index.d.ts +35 -0
- package/esm/UnassignSystem/index.d.ts.map +1 -0
- package/esm/UnassignSystem/index.js +42 -0
- package/esm/UnassignSystem/index.js.map +1 -0
- package/esm/UpdatePolicy/index.d.ts +35 -0
- package/esm/UpdatePolicy/index.d.ts.map +1 -0
- package/esm/UpdatePolicy/index.js +43 -0
- package/esm/UpdatePolicy/index.js.map +1 -0
- package/esm/UpdateTailoring/index.d.ts +41 -0
- package/esm/UpdateTailoring/index.d.ts.map +1 -0
- package/esm/UpdateTailoring/index.js +44 -0
- package/esm/UpdateTailoring/index.js.map +1 -0
- package/esm/ValueDefinition/index.d.ts +35 -0
- package/esm/ValueDefinition/index.d.ts.map +1 -0
- package/esm/ValueDefinition/index.js +42 -0
- package/esm/ValueDefinition/index.js.map +1 -0
- package/esm/ValueDefinitions/index.d.ts +59 -0
- package/esm/ValueDefinitions/index.d.ts.map +1 -0
- package/esm/ValueDefinitions/index.js +56 -0
- package/esm/ValueDefinitions/index.js.map +1 -0
- package/esm/api.d.ts +118 -0
- package/esm/api.d.ts.map +1 -0
- package/esm/api.js +67 -0
- package/esm/api.js.map +1 -0
- package/esm/index.d.ts +58 -0
- package/esm/index.d.ts.map +1 -0
- package/esm/index.js +58 -0
- package/esm/index.js.map +1 -0
- package/esm/types/index.d.ts +1661 -0
- package/esm/types/index.d.ts.map +1 -0
- package/esm/types/index.js +48 -0
- package/esm/types/index.js.map +1 -0
- package/index.d.ts +58 -0
- package/index.d.ts.map +1 -0
- package/index.js +119 -0
- package/index.js.map +1 -0
- package/package.json +15 -15
- package/types/index.d.ts +1661 -0
- package/types/index.d.ts.map +1 -0
- package/types/index.js.map +1 -0
- package/.eslintrc.json +0 -27
- package/CHANGELOG.md +0 -124
- package/LICENSE +0 -201
- package/README.md +0 -76
- package/dist/AssignRule/index.d.ts +0 -39
- package/dist/AssignRule/index.js.map +0 -1
- package/dist/AssignRules/index.d.ts +0 -41
- package/dist/AssignRules/index.js.map +0 -1
- package/dist/AssignSystem/index.d.ts +0 -34
- package/dist/AssignSystem/index.js.map +0 -1
- package/dist/AssignSystems/index.d.ts +0 -35
- package/dist/AssignSystems/index.js.map +0 -1
- package/dist/CreatePolicy/index.d.ts +0 -28
- package/dist/CreatePolicy/index.js.map +0 -1
- package/dist/CreateTailoring/index.d.ts +0 -35
- package/dist/CreateTailoring/index.js.map +0 -1
- package/dist/DeletePolicy/index.d.ts +0 -28
- package/dist/DeletePolicy/index.js.map +0 -1
- package/dist/DeleteReport/index.d.ts +0 -27
- package/dist/DeleteReport/index.js.map +0 -1
- package/dist/Policies/index.d.ts +0 -52
- package/dist/Policies/index.js.map +0 -1
- package/dist/Policy/index.d.ts +0 -28
- package/dist/Policy/index.js.map +0 -1
- package/dist/PolicySystems/index.d.ts +0 -64
- package/dist/PolicySystems/index.js.map +0 -1
- package/dist/PolicySystemsOS/index.d.ts +0 -34
- package/dist/PolicySystemsOS/index.js.map +0 -1
- package/dist/Profile/index.d.ts +0 -34
- package/dist/Profile/index.js.map +0 -1
- package/dist/ProfileRule/index.d.ts +0 -40
- package/dist/ProfileRule/index.js.map +0 -1
- package/dist/ProfileRules/index.d.ts +0 -64
- package/dist/ProfileRules/index.js.map +0 -1
- package/dist/ProfileTree/index.d.ts +0 -34
- package/dist/ProfileTree/index.js.map +0 -1
- package/dist/Profiles/index.d.ts +0 -58
- package/dist/Profiles/index.js.map +0 -1
- package/dist/Report/index.d.ts +0 -28
- package/dist/Report/index.js.map +0 -1
- package/dist/ReportRuleResults/index.d.ts +0 -64
- package/dist/ReportRuleResults/index.js.map +0 -1
- package/dist/ReportStats/index.d.ts +0 -29
- package/dist/ReportStats/index.js.map +0 -1
- package/dist/ReportSystem/index.d.ts +0 -34
- package/dist/ReportSystem/index.js.map +0 -1
- package/dist/ReportSystems/index.d.ts +0 -64
- package/dist/ReportSystems/index.js.map +0 -1
- package/dist/ReportSystemsOS/index.d.ts +0 -34
- package/dist/ReportSystemsOS/index.js.map +0 -1
- package/dist/ReportTestResult/index.d.ts +0 -34
- package/dist/ReportTestResult/index.js.map +0 -1
- package/dist/ReportTestResults/index.d.ts +0 -64
- package/dist/ReportTestResults/index.js.map +0 -1
- package/dist/ReportTestResultsOS/index.d.ts +0 -34
- package/dist/ReportTestResultsOS/index.js.map +0 -1
- package/dist/ReportTestResultsSG/index.d.ts +0 -28
- package/dist/ReportTestResultsSG/index.js.map +0 -1
- package/dist/Reports/index.d.ts +0 -52
- package/dist/Reports/index.js.map +0 -1
- package/dist/ReportsOS/index.d.ts +0 -28
- package/dist/ReportsOS/index.js.map +0 -1
- package/dist/Rule/index.d.ts +0 -34
- package/dist/Rule/index.js.map +0 -1
- package/dist/RuleGroup/index.d.ts +0 -34
- package/dist/RuleGroup/index.js.map +0 -1
- package/dist/RuleGroups/index.d.ts +0 -58
- package/dist/RuleGroups/index.js.map +0 -1
- package/dist/Rules/index.d.ts +0 -58
- package/dist/Rules/index.js.map +0 -1
- package/dist/SecurityGuide/index.d.ts +0 -28
- package/dist/SecurityGuide/index.js.map +0 -1
- package/dist/SecurityGuideRuleTree/index.d.ts +0 -28
- package/dist/SecurityGuideRuleTree/index.js.map +0 -1
- package/dist/SecurityGuides/index.d.ts +0 -52
- package/dist/SecurityGuides/index.js.map +0 -1
- package/dist/SecurityGuidesOS/index.d.ts +0 -28
- package/dist/SecurityGuidesOS/index.js.map +0 -1
- package/dist/Status/index.d.ts +0 -16
- package/dist/Status/index.js.map +0 -1
- package/dist/SupportedProfiles/index.d.ts +0 -52
- package/dist/SupportedProfiles/index.js.map +0 -1
- package/dist/System/index.d.ts +0 -28
- package/dist/System/index.js.map +0 -1
- package/dist/SystemReports/index.d.ts +0 -58
- package/dist/SystemReports/index.js.map +0 -1
- package/dist/Systems/index.d.ts +0 -58
- package/dist/Systems/index.js.map +0 -1
- package/dist/SystemsOS/index.d.ts +0 -28
- package/dist/SystemsOS/index.js.map +0 -1
- package/dist/SystemsPolicies/index.d.ts +0 -58
- package/dist/SystemsPolicies/index.js.map +0 -1
- package/dist/Tailoring/index.d.ts +0 -34
- package/dist/Tailoring/index.js.map +0 -1
- package/dist/TailoringFile/index.d.ts +0 -34
- package/dist/TailoringFile/index.js +0 -53
- package/dist/TailoringFile/index.js.map +0 -1
- package/dist/TailoringFileJSON/index.d.ts +0 -34
- package/dist/TailoringFileJSON/index.js.map +0 -1
- package/dist/TailoringFileTOML/index.d.ts +0 -34
- package/dist/TailoringFileTOML/index.js +0 -58
- package/dist/TailoringFileTOML/index.js.map +0 -1
- package/dist/TailoringRuleTree/index.d.ts +0 -34
- package/dist/TailoringRuleTree/index.js.map +0 -1
- package/dist/TailoringRules/index.d.ts +0 -64
- package/dist/TailoringRules/index.js.map +0 -1
- package/dist/Tailorings/index.d.ts +0 -58
- package/dist/Tailorings/index.js.map +0 -1
- package/dist/UnassignRule/index.d.ts +0 -39
- package/dist/UnassignRule/index.js.map +0 -1
- package/dist/UnassignSystem/index.d.ts +0 -34
- package/dist/UnassignSystem/index.js.map +0 -1
- package/dist/UpdatePolicy/index.d.ts +0 -34
- package/dist/UpdatePolicy/index.js.map +0 -1
- package/dist/UpdateTailoring/index.d.ts +0 -40
- package/dist/UpdateTailoring/index.js.map +0 -1
- package/dist/ValueDefinition/index.d.ts +0 -34
- package/dist/ValueDefinition/index.js.map +0 -1
- package/dist/ValueDefinitions/index.d.ts +0 -58
- package/dist/ValueDefinitions/index.js.map +0 -1
- package/dist/api.d.ts +0 -117
- package/dist/api.js.map +0 -1
- package/dist/esm/AssignRule/index.d.ts +0 -39
- package/dist/esm/AssignRule/index.js +0 -55
- package/dist/esm/AssignRule/index.js.map +0 -1
- package/dist/esm/AssignRules/index.d.ts +0 -41
- package/dist/esm/AssignRules/index.js +0 -57
- package/dist/esm/AssignRules/index.js.map +0 -1
- package/dist/esm/AssignSystem/index.d.ts +0 -34
- package/dist/esm/AssignSystem/index.js +0 -54
- package/dist/esm/AssignSystem/index.js.map +0 -1
- package/dist/esm/AssignSystems/index.d.ts +0 -35
- package/dist/esm/AssignSystems/index.js +0 -56
- package/dist/esm/AssignSystems/index.js.map +0 -1
- package/dist/esm/CreatePolicy/index.d.ts +0 -28
- package/dist/esm/CreatePolicy/index.js +0 -54
- package/dist/esm/CreatePolicy/index.js.map +0 -1
- package/dist/esm/CreateTailoring/index.d.ts +0 -35
- package/dist/esm/CreateTailoring/index.js +0 -56
- package/dist/esm/CreateTailoring/index.js.map +0 -1
- package/dist/esm/DeletePolicy/index.d.ts +0 -28
- package/dist/esm/DeletePolicy/index.js +0 -53
- package/dist/esm/DeletePolicy/index.js.map +0 -1
- package/dist/esm/DeleteReport/index.d.ts +0 -27
- package/dist/esm/DeleteReport/index.js +0 -53
- package/dist/esm/DeleteReport/index.js.map +0 -1
- package/dist/esm/Policies/index.d.ts +0 -52
- package/dist/esm/Policies/index.js +0 -67
- package/dist/esm/Policies/index.js.map +0 -1
- package/dist/esm/Policy/index.d.ts +0 -28
- package/dist/esm/Policy/index.js +0 -53
- package/dist/esm/Policy/index.js.map +0 -1
- package/dist/esm/PolicySystems/index.d.ts +0 -64
- package/dist/esm/PolicySystems/index.js +0 -71
- package/dist/esm/PolicySystems/index.js.map +0 -1
- package/dist/esm/PolicySystemsOS/index.d.ts +0 -34
- package/dist/esm/PolicySystemsOS/index.js +0 -57
- package/dist/esm/PolicySystemsOS/index.js.map +0 -1
- package/dist/esm/Profile/index.d.ts +0 -34
- package/dist/esm/Profile/index.js +0 -54
- package/dist/esm/Profile/index.js.map +0 -1
- package/dist/esm/ProfileRule/index.d.ts +0 -40
- package/dist/esm/ProfileRule/index.js +0 -55
- package/dist/esm/ProfileRule/index.js.map +0 -1
- package/dist/esm/ProfileRules/index.d.ts +0 -64
- package/dist/esm/ProfileRules/index.js +0 -69
- package/dist/esm/ProfileRules/index.js.map +0 -1
- package/dist/esm/ProfileTree/index.d.ts +0 -34
- package/dist/esm/ProfileTree/index.js +0 -55
- package/dist/esm/ProfileTree/index.js.map +0 -1
- package/dist/esm/Profiles/index.d.ts +0 -58
- package/dist/esm/Profiles/index.js +0 -68
- package/dist/esm/Profiles/index.js.map +0 -1
- package/dist/esm/Report/index.d.ts +0 -28
- package/dist/esm/Report/index.js +0 -53
- package/dist/esm/Report/index.js.map +0 -1
- package/dist/esm/ReportRuleResults/index.d.ts +0 -64
- package/dist/esm/ReportRuleResults/index.js +0 -69
- package/dist/esm/ReportRuleResults/index.js.map +0 -1
- package/dist/esm/ReportStats/index.d.ts +0 -29
- package/dist/esm/ReportStats/index.js +0 -54
- package/dist/esm/ReportStats/index.js.map +0 -1
- package/dist/esm/ReportSystem/index.d.ts +0 -34
- package/dist/esm/ReportSystem/index.js +0 -54
- package/dist/esm/ReportSystem/index.js.map +0 -1
- package/dist/esm/ReportSystems/index.d.ts +0 -64
- package/dist/esm/ReportSystems/index.js +0 -71
- package/dist/esm/ReportSystems/index.js.map +0 -1
- package/dist/esm/ReportSystemsOS/index.d.ts +0 -34
- package/dist/esm/ReportSystemsOS/index.js +0 -57
- package/dist/esm/ReportSystemsOS/index.js.map +0 -1
- package/dist/esm/ReportTestResult/index.d.ts +0 -34
- package/dist/esm/ReportTestResult/index.js +0 -54
- package/dist/esm/ReportTestResult/index.js.map +0 -1
- package/dist/esm/ReportTestResults/index.d.ts +0 -64
- package/dist/esm/ReportTestResults/index.js +0 -71
- package/dist/esm/ReportTestResults/index.js.map +0 -1
- package/dist/esm/ReportTestResultsOS/index.d.ts +0 -34
- package/dist/esm/ReportTestResultsOS/index.js +0 -57
- package/dist/esm/ReportTestResultsOS/index.js.map +0 -1
- package/dist/esm/ReportTestResultsSG/index.d.ts +0 -28
- package/dist/esm/ReportTestResultsSG/index.js +0 -54
- package/dist/esm/ReportTestResultsSG/index.js.map +0 -1
- package/dist/esm/Reports/index.d.ts +0 -52
- package/dist/esm/Reports/index.js +0 -67
- package/dist/esm/Reports/index.js.map +0 -1
- package/dist/esm/ReportsOS/index.d.ts +0 -28
- package/dist/esm/ReportsOS/index.js +0 -56
- package/dist/esm/ReportsOS/index.js.map +0 -1
- package/dist/esm/Rule/index.d.ts +0 -34
- package/dist/esm/Rule/index.js +0 -54
- package/dist/esm/Rule/index.js.map +0 -1
- package/dist/esm/RuleGroup/index.d.ts +0 -34
- package/dist/esm/RuleGroup/index.js +0 -54
- package/dist/esm/RuleGroup/index.js.map +0 -1
- package/dist/esm/RuleGroups/index.d.ts +0 -58
- package/dist/esm/RuleGroups/index.js +0 -68
- package/dist/esm/RuleGroups/index.js.map +0 -1
- package/dist/esm/Rules/index.d.ts +0 -58
- package/dist/esm/Rules/index.js +0 -68
- package/dist/esm/Rules/index.js.map +0 -1
- package/dist/esm/SecurityGuide/index.d.ts +0 -28
- package/dist/esm/SecurityGuide/index.js +0 -53
- package/dist/esm/SecurityGuide/index.js.map +0 -1
- package/dist/esm/SecurityGuideRuleTree/index.d.ts +0 -28
- package/dist/esm/SecurityGuideRuleTree/index.js +0 -54
- package/dist/esm/SecurityGuideRuleTree/index.js.map +0 -1
- package/dist/esm/SecurityGuides/index.d.ts +0 -52
- package/dist/esm/SecurityGuides/index.js +0 -67
- package/dist/esm/SecurityGuides/index.js.map +0 -1
- package/dist/esm/SecurityGuidesOS/index.d.ts +0 -28
- package/dist/esm/SecurityGuidesOS/index.js +0 -56
- package/dist/esm/SecurityGuidesOS/index.js.map +0 -1
- package/dist/esm/Status/index.d.ts +0 -16
- package/dist/esm/Status/index.js +0 -47
- package/dist/esm/Status/index.js.map +0 -1
- package/dist/esm/SupportedProfiles/index.d.ts +0 -52
- package/dist/esm/SupportedProfiles/index.js +0 -67
- package/dist/esm/SupportedProfiles/index.js.map +0 -1
- package/dist/esm/System/index.d.ts +0 -28
- package/dist/esm/System/index.js +0 -53
- package/dist/esm/System/index.js.map +0 -1
- package/dist/esm/SystemReports/index.d.ts +0 -58
- package/dist/esm/SystemReports/index.js +0 -68
- package/dist/esm/SystemReports/index.js.map +0 -1
- package/dist/esm/Systems/index.d.ts +0 -58
- package/dist/esm/Systems/index.js +0 -70
- package/dist/esm/Systems/index.js.map +0 -1
- package/dist/esm/SystemsOS/index.d.ts +0 -28
- package/dist/esm/SystemsOS/index.js +0 -56
- package/dist/esm/SystemsOS/index.js.map +0 -1
- package/dist/esm/SystemsPolicies/index.d.ts +0 -58
- package/dist/esm/SystemsPolicies/index.js +0 -68
- package/dist/esm/SystemsPolicies/index.js.map +0 -1
- package/dist/esm/Tailoring/index.d.ts +0 -34
- package/dist/esm/Tailoring/index.js +0 -54
- package/dist/esm/Tailoring/index.js.map +0 -1
- package/dist/esm/TailoringFile/index.d.ts +0 -34
- package/dist/esm/TailoringFile/index.js +0 -49
- package/dist/esm/TailoringFile/index.js.map +0 -1
- package/dist/esm/TailoringFileJSON/index.d.ts +0 -34
- package/dist/esm/TailoringFileJSON/index.js +0 -54
- package/dist/esm/TailoringFileJSON/index.js.map +0 -1
- package/dist/esm/TailoringFileTOML/index.d.ts +0 -34
- package/dist/esm/TailoringFileTOML/index.js +0 -54
- package/dist/esm/TailoringFileTOML/index.js.map +0 -1
- package/dist/esm/TailoringRuleTree/index.d.ts +0 -34
- package/dist/esm/TailoringRuleTree/index.js +0 -55
- package/dist/esm/TailoringRuleTree/index.js.map +0 -1
- package/dist/esm/TailoringRules/index.d.ts +0 -64
- package/dist/esm/TailoringRules/index.js +0 -69
- package/dist/esm/TailoringRules/index.js.map +0 -1
- package/dist/esm/Tailorings/index.d.ts +0 -58
- package/dist/esm/Tailorings/index.js +0 -68
- package/dist/esm/Tailorings/index.js.map +0 -1
- package/dist/esm/UnassignRule/index.d.ts +0 -39
- package/dist/esm/UnassignRule/index.js +0 -55
- package/dist/esm/UnassignRule/index.js.map +0 -1
- package/dist/esm/UnassignSystem/index.d.ts +0 -34
- package/dist/esm/UnassignSystem/index.js +0 -54
- package/dist/esm/UnassignSystem/index.js.map +0 -1
- package/dist/esm/UpdatePolicy/index.d.ts +0 -34
- package/dist/esm/UpdatePolicy/index.js +0 -55
- package/dist/esm/UpdatePolicy/index.js.map +0 -1
- package/dist/esm/UpdateTailoring/index.d.ts +0 -40
- package/dist/esm/UpdateTailoring/index.js +0 -56
- package/dist/esm/UpdateTailoring/index.js.map +0 -1
- package/dist/esm/ValueDefinition/index.d.ts +0 -34
- package/dist/esm/ValueDefinition/index.js +0 -54
- package/dist/esm/ValueDefinition/index.js.map +0 -1
- package/dist/esm/ValueDefinitions/index.d.ts +0 -58
- package/dist/esm/ValueDefinitions/index.js +0 -68
- package/dist/esm/ValueDefinitions/index.js.map +0 -1
- package/dist/esm/api.d.ts +0 -117
- package/dist/esm/api.js +0 -67
- package/dist/esm/api.js.map +0 -1
- package/dist/esm/index.d.ts +0 -57
- package/dist/esm/index.js +0 -59
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/types/index.d.ts +0 -1660
- package/dist/esm/types/index.js +0 -48
- package/dist/esm/types/index.js.map +0 -1
- package/dist/index.d.ts +0 -57
- package/dist/index.js +0 -120
- package/dist/index.js.map +0 -1
- package/dist/package.json +0 -54
- package/dist/types/index.d.ts +0 -1660
- package/dist/types/index.js.map +0 -1
- 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/openapitools.json +0 -7
- package/project.json +0 -65
- package/tsconfig.cjs.json +0 -6
- package/tsconfig.esm.json +0 -13
- package/tsconfig.json +0 -18
- package/typedoc.json +0 -9
- /package/{dist/AssignRule → AssignRule}/index.js +0 -0
- /package/{dist/AssignRules → AssignRules}/index.js +0 -0
- /package/{dist/AssignSystem → AssignSystem}/index.js +0 -0
- /package/{dist/AssignSystems → AssignSystems}/index.js +0 -0
- /package/{dist/CreatePolicy → CreatePolicy}/index.js +0 -0
- /package/{dist/CreateTailoring → CreateTailoring}/index.js +0 -0
- /package/{dist/DeletePolicy → DeletePolicy}/index.js +0 -0
- /package/{dist/DeleteReport → DeleteReport}/index.js +0 -0
- /package/{dist/Policies → Policies}/index.js +0 -0
- /package/{dist/Policy → Policy}/index.js +0 -0
- /package/{dist/PolicySystems → PolicySystems}/index.js +0 -0
- /package/{dist/PolicySystemsOS → PolicySystemsOS}/index.js +0 -0
- /package/{dist/Profile → Profile}/index.js +0 -0
- /package/{dist/ProfileRule → ProfileRule}/index.js +0 -0
- /package/{dist/ProfileRules → ProfileRules}/index.js +0 -0
- /package/{dist/ProfileTree → ProfileTree}/index.js +0 -0
- /package/{dist/Profiles → Profiles}/index.js +0 -0
- /package/{dist/Report → Report}/index.js +0 -0
- /package/{dist/ReportRuleResults → ReportRuleResults}/index.js +0 -0
- /package/{dist/ReportStats → ReportStats}/index.js +0 -0
- /package/{dist/ReportSystem → ReportSystem}/index.js +0 -0
- /package/{dist/ReportSystems → ReportSystems}/index.js +0 -0
- /package/{dist/ReportSystemsOS → ReportSystemsOS}/index.js +0 -0
- /package/{dist/ReportTestResult → ReportTestResult}/index.js +0 -0
- /package/{dist/ReportTestResults → ReportTestResults}/index.js +0 -0
- /package/{dist/ReportTestResultsOS → ReportTestResultsOS}/index.js +0 -0
- /package/{dist/ReportTestResultsSG → ReportTestResultsSG}/index.js +0 -0
- /package/{dist/Reports → Reports}/index.js +0 -0
- /package/{dist/ReportsOS → ReportsOS}/index.js +0 -0
- /package/{dist/Rule → Rule}/index.js +0 -0
- /package/{dist/RuleGroup → RuleGroup}/index.js +0 -0
- /package/{dist/RuleGroups → RuleGroups}/index.js +0 -0
- /package/{dist/Rules → Rules}/index.js +0 -0
- /package/{dist/SecurityGuide → SecurityGuide}/index.js +0 -0
- /package/{dist/SecurityGuideRuleTree → SecurityGuideRuleTree}/index.js +0 -0
- /package/{dist/SecurityGuides → SecurityGuides}/index.js +0 -0
- /package/{dist/SecurityGuidesOS → SecurityGuidesOS}/index.js +0 -0
- /package/{dist/Status → Status}/index.js +0 -0
- /package/{dist/SupportedProfiles → SupportedProfiles}/index.js +0 -0
- /package/{dist/System → System}/index.js +0 -0
- /package/{dist/SystemReports → SystemReports}/index.js +0 -0
- /package/{dist/Systems → Systems}/index.js +0 -0
- /package/{dist/SystemsOS → SystemsOS}/index.js +0 -0
- /package/{dist/SystemsPolicies → SystemsPolicies}/index.js +0 -0
- /package/{dist/Tailoring → Tailoring}/index.js +0 -0
- /package/{dist/TailoringFileJSON → TailoringFileJSON}/index.js +0 -0
- /package/{dist/TailoringRuleTree → TailoringRuleTree}/index.js +0 -0
- /package/{dist/TailoringRules → TailoringRules}/index.js +0 -0
- /package/{dist/Tailorings → Tailorings}/index.js +0 -0
- /package/{dist/UnassignRule → UnassignRule}/index.js +0 -0
- /package/{dist/UnassignSystem → UnassignSystem}/index.js +0 -0
- /package/{dist/UpdatePolicy → UpdatePolicy}/index.js +0 -0
- /package/{dist/UpdateTailoring → UpdateTailoring}/index.js +0 -0
- /package/{dist/ValueDefinition → ValueDefinition}/index.js +0 -0
- /package/{dist/ValueDefinitions → ValueDefinitions}/index.js +0 -0
- /package/{dist/api.js → api.js} +0 -0
- /package/{dist/types → types}/index.js +0 -0
package/api.d.ts
ADDED
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { ApiConfig } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
2
|
+
export declare const ComplianceClient: (BASE_PATH: string, instance?: ApiConfig) => import("packages/shared/dist/base").BaseAPI & import("@redhat-cloud-services/javascript-clients-shared/dist/utils").APIFactoryResponse<{
|
|
3
|
+
assignRule: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./AssignRule").AssignRuleParams] | [any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
4
|
+
assignRules: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./AssignRules").AssignRulesParams] | [any, any, any, import("./types").AssignRulesRequest, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").Rules200Response, any, {}>>;
|
|
5
|
+
assignSystem: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./AssignSystem").AssignSystemParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").System200Response, any, {}>>;
|
|
6
|
+
assignSystems: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./AssignSystems").AssignSystemsParams] | [any, any, import("./types").AssignRulesRequest, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").Systems200Response, any, {}>>;
|
|
7
|
+
createPolicy: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./CreatePolicy").CreatePolicyParams] | [any, import("./types").Policy, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").CreatePolicy201Response, any, {}>>;
|
|
8
|
+
createTailoring: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./CreateTailoring").CreateTailoringParams] | [any, any, import("./types").TailoringCreate, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").CreateTailoring201Response, any, {}>>;
|
|
9
|
+
deletePolicy: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./DeletePolicy").DeletePolicyParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").CreatePolicy201Response, any, {}>>;
|
|
10
|
+
deleteReport: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./DeleteReport").DeleteReportParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
11
|
+
policies: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./Policies").PoliciesParams] | [any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").Policies200Response, any, {}>>;
|
|
12
|
+
policy: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./Policy").PolicyParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").CreatePolicy201Response, any, {}>>;
|
|
13
|
+
policySystems: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./PolicySystems").PolicySystemsParams] | [any, any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").Systems200Response, any, {}>>;
|
|
14
|
+
policySystemsOS: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./PolicySystemsOS").PolicySystemsOSParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
15
|
+
profile: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./Profile").ProfileParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").Profile200Response, any, {}>>;
|
|
16
|
+
profileRule: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./ProfileRule").ProfileRuleParams] | [any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").Rule200Response, any, {}>>;
|
|
17
|
+
profileRules: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./ProfileRules").ProfileRulesParams] | [any, any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").Rules200Response, any, {}>>;
|
|
18
|
+
profileTree: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./ProfileTree").ProfileTreeParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
19
|
+
profiles: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./Profiles").ProfilesParams] | [any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").Profiles200Response, any, {}>>;
|
|
20
|
+
report: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./Report").ReportParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").Report200Response, any, {}>>;
|
|
21
|
+
reportRuleResults: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./ReportRuleResults").ReportRuleResultsParams] | [any, any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").ReportRuleResults200Response, any, {}>>;
|
|
22
|
+
reportStats: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./ReportStats").ReportStatsParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").ReportStats200Response, any, {}>>;
|
|
23
|
+
reportSystem: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./ReportSystem").ReportSystemParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").System200Response, any, {}>>;
|
|
24
|
+
reportSystems: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./ReportSystems").ReportSystemsParams] | [any, any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").Systems200Response, any, {}>>;
|
|
25
|
+
reportSystemsOS: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./ReportSystemsOS").ReportSystemsOSParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
26
|
+
reportTestResult: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./ReportTestResult").ReportTestResultParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").System200Response, any, {}>>;
|
|
27
|
+
reportTestResults: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./ReportTestResults").ReportTestResultsParams] | [any, any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").ReportTestResults200Response, any, {}>>;
|
|
28
|
+
reportTestResultsOS: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./ReportTestResultsOS").ReportTestResultsOSParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
29
|
+
reportTestResultsSG: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./ReportTestResultsSG").ReportTestResultsSGParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
30
|
+
reports: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./Reports").ReportsParams] | [any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").Reports200Response, any, {}>>;
|
|
31
|
+
reportsOS: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./ReportsOS").ReportsOSParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
32
|
+
rule: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./Rule").RuleParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").Rule200Response, any, {}>>;
|
|
33
|
+
ruleGroup: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./RuleGroup").RuleGroupParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").RuleGroup200Response, any, {}>>;
|
|
34
|
+
ruleGroups: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./RuleGroups").RuleGroupsParams] | [any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").RuleGroups200Response, any, {}>>;
|
|
35
|
+
rules: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./Rules").RulesParams] | [any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").Rules200Response, any, {}>>;
|
|
36
|
+
securityGuide: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./SecurityGuide").SecurityGuideParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").SecurityGuide200Response, any, {}>>;
|
|
37
|
+
securityGuideRuleTree: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./SecurityGuideRuleTree").SecurityGuideRuleTreeParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
38
|
+
securityGuides: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./SecurityGuides").SecurityGuidesParams] | [any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").SecurityGuides200Response, any, {}>>;
|
|
39
|
+
securityGuidesOS: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./SecurityGuidesOS").SecurityGuidesOSParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
40
|
+
status: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./Status").StatusParams] | [import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").Status200Response, any, {}>>;
|
|
41
|
+
supportedProfiles: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./SupportedProfiles").SupportedProfilesParams] | [any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").SupportedProfiles200Response, any, {}>>;
|
|
42
|
+
system: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./System").SystemParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").System200Response, any, {}>>;
|
|
43
|
+
systemReports: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./SystemReports").SystemReportsParams] | [any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").Reports200Response, any, {}>>;
|
|
44
|
+
systems: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./Systems").SystemsParams] | [any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").Systems200Response, any, {}>>;
|
|
45
|
+
systemsOS: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./SystemsOS").SystemsOSParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
46
|
+
systemsPolicies: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./SystemsPolicies").SystemsPoliciesParams] | [any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").Policies200Response, any, {}>>;
|
|
47
|
+
tailoring: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./Tailoring").TailoringParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").CreateTailoring201Response, any, {}>>;
|
|
48
|
+
tailoringFileJSON: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./TailoringFileJSON").TailoringFileJSONParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").TailoringFileJson, any, {}>>;
|
|
49
|
+
tailoringFileTOML: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./TailoringFileTOML").TailoringFileTOMLParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").TailoringFileToml, any, {}>>;
|
|
50
|
+
tailoringRuleTree: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./TailoringRuleTree").TailoringRuleTreeParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
51
|
+
tailoringRules: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./TailoringRules").TailoringRulesParams] | [any, any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").Rules200Response, any, {}>>;
|
|
52
|
+
tailorings: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./Tailorings").TailoringsParams] | [any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").Tailorings200Response, any, {}>>;
|
|
53
|
+
unassignRule: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./UnassignRule").UnassignRuleParams] | [any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
54
|
+
unassignSystem: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./UnassignSystem").UnassignSystemParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").System200Response, any, {}>>;
|
|
55
|
+
updatePolicy: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./UpdatePolicy").UpdatePolicyParams] | [any, any, import("./types").PolicyUpdate, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").CreatePolicy201Response, any, {}>>;
|
|
56
|
+
updateTailoring: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./UpdateTailoring").UpdateTailoringParams] | [any, any, any, import("./types").Tailoring, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").CreateTailoring201Response, any, {}>>;
|
|
57
|
+
valueDefinition: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./ValueDefinition").ValueDefinitionParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").ValueDefinition200Response, any, {}>>;
|
|
58
|
+
valueDefinitions: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./ValueDefinitions").ValueDefinitionsParams] | [any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").ValueDefinitions200Response, any, {}>>;
|
|
59
|
+
}, {
|
|
60
|
+
assignRule: Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
61
|
+
assignRules: Promise<import("axios").AxiosResponse<import("./types").Rules200Response, any, {}>>;
|
|
62
|
+
assignSystem: Promise<import("axios").AxiosResponse<import("./types").System200Response, any, {}>>;
|
|
63
|
+
assignSystems: Promise<import("axios").AxiosResponse<import("./types").Systems200Response, any, {}>>;
|
|
64
|
+
createPolicy: Promise<import("axios").AxiosResponse<import("./types").CreatePolicy201Response, any, {}>>;
|
|
65
|
+
createTailoring: Promise<import("axios").AxiosResponse<import("./types").CreateTailoring201Response, any, {}>>;
|
|
66
|
+
deletePolicy: Promise<import("axios").AxiosResponse<import("./types").CreatePolicy201Response, any, {}>>;
|
|
67
|
+
deleteReport: Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
68
|
+
policies: Promise<import("axios").AxiosResponse<import("./types").Policies200Response, any, {}>>;
|
|
69
|
+
policy: Promise<import("axios").AxiosResponse<import("./types").CreatePolicy201Response, any, {}>>;
|
|
70
|
+
policySystems: Promise<import("axios").AxiosResponse<import("./types").Systems200Response, any, {}>>;
|
|
71
|
+
policySystemsOS: Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
72
|
+
profile: Promise<import("axios").AxiosResponse<import("./types").Profile200Response, any, {}>>;
|
|
73
|
+
profileRule: Promise<import("axios").AxiosResponse<import("./types").Rule200Response, any, {}>>;
|
|
74
|
+
profileRules: Promise<import("axios").AxiosResponse<import("./types").Rules200Response, any, {}>>;
|
|
75
|
+
profileTree: Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
76
|
+
profiles: Promise<import("axios").AxiosResponse<import("./types").Profiles200Response, any, {}>>;
|
|
77
|
+
report: Promise<import("axios").AxiosResponse<import("./types").Report200Response, any, {}>>;
|
|
78
|
+
reportRuleResults: Promise<import("axios").AxiosResponse<import("./types").ReportRuleResults200Response, any, {}>>;
|
|
79
|
+
reportStats: Promise<import("axios").AxiosResponse<import("./types").ReportStats200Response, any, {}>>;
|
|
80
|
+
reportSystem: Promise<import("axios").AxiosResponse<import("./types").System200Response, any, {}>>;
|
|
81
|
+
reportSystems: Promise<import("axios").AxiosResponse<import("./types").Systems200Response, any, {}>>;
|
|
82
|
+
reportSystemsOS: Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
83
|
+
reportTestResult: Promise<import("axios").AxiosResponse<import("./types").System200Response, any, {}>>;
|
|
84
|
+
reportTestResults: Promise<import("axios").AxiosResponse<import("./types").ReportTestResults200Response, any, {}>>;
|
|
85
|
+
reportTestResultsOS: Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
86
|
+
reportTestResultsSG: Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
87
|
+
reports: Promise<import("axios").AxiosResponse<import("./types").Reports200Response, any, {}>>;
|
|
88
|
+
reportsOS: Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
89
|
+
rule: Promise<import("axios").AxiosResponse<import("./types").Rule200Response, any, {}>>;
|
|
90
|
+
ruleGroup: Promise<import("axios").AxiosResponse<import("./types").RuleGroup200Response, any, {}>>;
|
|
91
|
+
ruleGroups: Promise<import("axios").AxiosResponse<import("./types").RuleGroups200Response, any, {}>>;
|
|
92
|
+
rules: Promise<import("axios").AxiosResponse<import("./types").Rules200Response, any, {}>>;
|
|
93
|
+
securityGuide: Promise<import("axios").AxiosResponse<import("./types").SecurityGuide200Response, any, {}>>;
|
|
94
|
+
securityGuideRuleTree: Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
95
|
+
securityGuides: Promise<import("axios").AxiosResponse<import("./types").SecurityGuides200Response, any, {}>>;
|
|
96
|
+
securityGuidesOS: Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
97
|
+
status: Promise<import("axios").AxiosResponse<import("./types").Status200Response, any, {}>>;
|
|
98
|
+
supportedProfiles: Promise<import("axios").AxiosResponse<import("./types").SupportedProfiles200Response, any, {}>>;
|
|
99
|
+
system: Promise<import("axios").AxiosResponse<import("./types").System200Response, any, {}>>;
|
|
100
|
+
systemReports: Promise<import("axios").AxiosResponse<import("./types").Reports200Response, any, {}>>;
|
|
101
|
+
systems: Promise<import("axios").AxiosResponse<import("./types").Systems200Response, any, {}>>;
|
|
102
|
+
systemsOS: Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
103
|
+
systemsPolicies: Promise<import("axios").AxiosResponse<import("./types").Policies200Response, any, {}>>;
|
|
104
|
+
tailoring: Promise<import("axios").AxiosResponse<import("./types").CreateTailoring201Response, any, {}>>;
|
|
105
|
+
tailoringFileJSON: Promise<import("axios").AxiosResponse<import("./types").TailoringFileJson, any, {}>>;
|
|
106
|
+
tailoringFileTOML: Promise<import("axios").AxiosResponse<import("./types").TailoringFileToml, any, {}>>;
|
|
107
|
+
tailoringRuleTree: Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
108
|
+
tailoringRules: Promise<import("axios").AxiosResponse<import("./types").Rules200Response, any, {}>>;
|
|
109
|
+
tailorings: Promise<import("axios").AxiosResponse<import("./types").Tailorings200Response, any, {}>>;
|
|
110
|
+
unassignRule: Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
111
|
+
unassignSystem: Promise<import("axios").AxiosResponse<import("./types").System200Response, any, {}>>;
|
|
112
|
+
updatePolicy: Promise<import("axios").AxiosResponse<import("./types").CreatePolicy201Response, any, {}>>;
|
|
113
|
+
updateTailoring: Promise<import("axios").AxiosResponse<import("./types").CreateTailoring201Response, any, {}>>;
|
|
114
|
+
valueDefinition: Promise<import("axios").AxiosResponse<import("./types").ValueDefinition200Response, any, {}>>;
|
|
115
|
+
valueDefinitions: Promise<import("axios").AxiosResponse<import("./types").ValueDefinitions200Response, any, {}>>;
|
|
116
|
+
}>;
|
|
117
|
+
export default ComplianceClient;
|
|
118
|
+
//# sourceMappingURL=api.d.ts.map
|
package/api.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,8DAA8D,CAAA;AA0HxF,eAAO,MAAM,gBAAgB,GAAI,WAAW,MAAM,EAAE,WAAW,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEvE,CAAA;AAED,eAAe,gBAAgB,CAAC"}
|
package/api.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api.js","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":";;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,qFAAyF;AAEzF,iCA0DmB;AAEnB,IAAM,YAAY,GAAG;IACf,UAAU,oBAAA;IACZ,WAAW,qBAAA;IACX,YAAY,sBAAA;IACZ,aAAa,uBAAA;IACb,YAAY,sBAAA;IACZ,eAAe,yBAAA;IACf,YAAY,sBAAA;IACZ,YAAY,sBAAA;IACZ,QAAQ,kBAAA;IACR,MAAM,gBAAA;IACN,aAAa,uBAAA;IACb,eAAe,yBAAA;IACf,OAAO,iBAAA;IACP,WAAW,qBAAA;IACX,YAAY,sBAAA;IACZ,WAAW,qBAAA;IACX,QAAQ,kBAAA;IACR,MAAM,gBAAA;IACN,iBAAiB,2BAAA;IACjB,WAAW,qBAAA;IACX,YAAY,sBAAA;IACZ,aAAa,uBAAA;IACb,eAAe,yBAAA;IACf,gBAAgB,0BAAA;IAChB,iBAAiB,2BAAA;IACjB,mBAAmB,6BAAA;IACnB,mBAAmB,6BAAA;IACnB,OAAO,iBAAA;IACP,SAAS,mBAAA;IACT,IAAI,cAAA;IACJ,SAAS,mBAAA;IACT,UAAU,oBAAA;IACV,KAAK,eAAA;IACL,aAAa,uBAAA;IACb,qBAAqB,+BAAA;IACrB,cAAc,wBAAA;IACd,gBAAgB,0BAAA;IAChB,MAAM,gBAAA;IACN,iBAAiB,2BAAA;IACjB,MAAM,gBAAA;IACN,aAAa,uBAAA;IACb,OAAO,iBAAA;IACP,SAAS,mBAAA;IACT,eAAe,yBAAA;IACf,SAAS,mBAAA;IACT,iBAAiB,2BAAA;IACjB,iBAAiB,2BAAA;IACjB,iBAAiB,2BAAA;IACjB,cAAc,wBAAA;IACd,UAAU,oBAAA;IACV,YAAY,sBAAA;IACZ,cAAc,wBAAA;IACd,YAAY,sBAAA;IACZ,eAAe,yBAAA;IACf,eAAe,yBAAA;IACf,gBAAgB,0BAAA;CAGnB,CAAC;AAEK,IAAM,gBAAgB,GAAG,UAAC,SAAiB,EAAE,QAAoB;IACtE,OAAO,IAAA,kBAAU,EAAC,SAAS,EAAE,YAAY,EAAE,QAAQ,CAAC,CAAC;AACvD,CAAC,CAAA;AAFY,QAAA,gBAAgB,oBAE5B;AAED,kBAAe,wBAAgB,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
3
|
+
export type AssignRuleParams = {
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @type { any }
|
|
7
|
+
* @memberof AssignRuleApi
|
|
8
|
+
*/
|
|
9
|
+
policyId: any;
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @type { any }
|
|
13
|
+
* @memberof AssignRuleApi
|
|
14
|
+
*/
|
|
15
|
+
tailoringId: any;
|
|
16
|
+
/**
|
|
17
|
+
* UUID or a ref_id with \'.\' characters replaced with \'-\'
|
|
18
|
+
* @type { any }
|
|
19
|
+
* @memberof AssignRuleApi
|
|
20
|
+
*/
|
|
21
|
+
ruleId: any;
|
|
22
|
+
/**
|
|
23
|
+
* For internal use only
|
|
24
|
+
* @type { any }
|
|
25
|
+
* @memberof AssignRuleApi
|
|
26
|
+
*/
|
|
27
|
+
xRHIDENTITY?: any;
|
|
28
|
+
options?: AxiosRequestConfig;
|
|
29
|
+
};
|
|
30
|
+
export type AssignRuleReturnType = void;
|
|
31
|
+
/**
|
|
32
|
+
* Add a rule to a specific tailoring.
|
|
33
|
+
* @summary Assign a Rule to a Tailoring
|
|
34
|
+
* @param {AssignRuleParams} config with all available params.
|
|
35
|
+
* @param {*} [options] Override http request option.
|
|
36
|
+
* @throws {RequiredError}
|
|
37
|
+
*/
|
|
38
|
+
export declare const assignRuleParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([AssignRuleParams] | [any, any, any, any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
39
|
+
export default assignRuleParamCreator;
|
|
40
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/AssignRule/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAKrF,OAAO,EAAE,OAAO,EAAE,MAAM,4DAA4D,CAAC;AAOrF,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;;;MAIE;IACF,QAAQ,EAAE,GAAG,CAAC;IACd;;;;MAIE;IACF,WAAW,EAAE,GAAG,CAAC;IACjB;;;;MAIE;IACF,MAAM,EAAE,GAAG,CAAC;IACZ;;;;MAIE;IACF,WAAW,CAAC,EAAE,GAAG,CAAC;IAClB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG,IAAI,CAAC;AASxC;;;;;;EAME;AACF,eAAO,MAAM,sBAAsB,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,gBAAgB,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,kBAAkB,CAAC,CAAC,0DA8B3J,CAAA;AAED,eAAe,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
const isAssignRuleObjectParams = (params) => {
|
|
4
|
+
const l = params.length === 1;
|
|
5
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
6
|
+
return true && Object.prototype.hasOwnProperty.call(params[0], 'policyId') && Object.prototype.hasOwnProperty.call(params[0], 'tailoringId') && Object.prototype.hasOwnProperty.call(params[0], 'ruleId');
|
|
7
|
+
}
|
|
8
|
+
return false;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Add a rule to a specific tailoring.
|
|
12
|
+
* @summary Assign a Rule to a Tailoring
|
|
13
|
+
* @param {AssignRuleParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
export const assignRuleParamCreator = async (sendRequest, ...config) => {
|
|
18
|
+
const params = isAssignRuleObjectParams(config) ? config[0] : ['policyId', 'tailoringId', 'ruleId', 'xRHIDENTITY', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
19
|
+
const { policyId, tailoringId, ruleId, xRHIDENTITY, options = {} } = params;
|
|
20
|
+
const localVarPath = `/policies/{policy_id}/tailorings/{tailoring_id}/rules/{rule_id}`
|
|
21
|
+
.replace(`{${"policy_id"}}`, encodeURIComponent(String(policyId)))
|
|
22
|
+
.replace(`{${"tailoring_id"}}`, encodeURIComponent(String(tailoringId)))
|
|
23
|
+
.replace(`{${"rule_id"}}`, encodeURIComponent(String(ruleId)));
|
|
24
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26
|
+
const localVarRequestOptions = { method: 'PATCH', ...options };
|
|
27
|
+
const localVarHeaderParameter = {};
|
|
28
|
+
const localVarQueryParameter = {};
|
|
29
|
+
if (xRHIDENTITY != null) {
|
|
30
|
+
localVarHeaderParameter['X-RH-IDENTITY'] = typeof xRHIDENTITY === 'string'
|
|
31
|
+
? xRHIDENTITY
|
|
32
|
+
: JSON.stringify(xRHIDENTITY);
|
|
33
|
+
}
|
|
34
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
36
|
+
const args = {
|
|
37
|
+
urlObj: localVarUrlObj,
|
|
38
|
+
options: localVarRequestOptions,
|
|
39
|
+
};
|
|
40
|
+
return sendRequest(Promise.resolve(args));
|
|
41
|
+
};
|
|
42
|
+
export default assignRuleParamCreator;
|
|
43
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/AssignRule/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAwCjU,MAAM,wBAAwB,GAAG,CAAC,MAAsC,EAAgC,EAAE;IACxG,MAAM,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,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,aAAa,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAA;IAC3M,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,sBAAsB,GAAG,KAAK,EAAE,WAAmC,EAAE,GAAG,MAAuE,EAAE,EAAE;IAC5J,MAAM,MAAM,GAAG,wBAAwB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,UAAU,EAAE,aAAa,EAAE,QAAQ,EAAE,aAAa,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE,EAAE,CAAqB,CAAC;IACxN,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,OAAO,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;IAC5E,MAAM,YAAY,GAAG,iEAAiE;SACjF,OAAO,CAAC,IAAI,WAAW,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC;SACjE,OAAO,CAAC,IAAI,cAAc,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC;SACvE,OAAO,CAAC,IAAI,SAAS,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IACnE,oFAAoF;IACpF,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;IAC7D,MAAM,sBAAsB,GAAG,EAAE,MAAM,EAAE,OAAiB,EAAE,GAAG,OAAO,EAAC,CAAC;IACxE,MAAM,uBAAuB,GAAG,EAAS,CAAC;IAC1C,MAAM,sBAAsB,GAAG,EAAS,CAAC;IAEzC,IAAI,WAAW,IAAI,IAAI,EAAE,CAAC;QACtB,uBAAuB,CAAC,eAAe,CAAC,GAAG,OAAO,WAAW,KAAK,QAAQ;YACtE,CAAC,CAAC,WAAW;YACb,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IACtC,CAAC;IAID,eAAe,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;IACxD,sBAAsB,CAAC,OAAO,GAAG,EAAC,GAAG,uBAAuB,EAAE,GAAG,OAAO,CAAC,OAAO,EAAC,CAAC;IAElF,MAAM,IAAI,GAAG;QACT,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,sBAAsB;KAClC,CAAC;IAEF,OAAO,WAAW,CAAuB,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AACpE,CAAC,CAAA;AAED,eAAe,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
3
|
+
import type { AssignRulesRequest, Rules200Response } from '../types';
|
|
4
|
+
export type AssignRulesParams = {
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* @type { any }
|
|
8
|
+
* @memberof AssignRulesApi
|
|
9
|
+
*/
|
|
10
|
+
policyId: any;
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @type { any }
|
|
14
|
+
* @memberof AssignRulesApi
|
|
15
|
+
*/
|
|
16
|
+
tailoringId: any;
|
|
17
|
+
/**
|
|
18
|
+
* For internal use only
|
|
19
|
+
* @type { any }
|
|
20
|
+
* @memberof AssignRulesApi
|
|
21
|
+
*/
|
|
22
|
+
xRHIDENTITY?: any;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type { AssignRulesRequest }
|
|
26
|
+
* @memberof AssignRulesApi
|
|
27
|
+
*/
|
|
28
|
+
assignRulesRequest?: AssignRulesRequest;
|
|
29
|
+
options?: AxiosRequestConfig;
|
|
30
|
+
};
|
|
31
|
+
export type AssignRulesReturnType = Rules200Response;
|
|
32
|
+
/**
|
|
33
|
+
* This feature is exclusively used by the frontend
|
|
34
|
+
* @summary Bulk assign Rules to a Tailoring
|
|
35
|
+
* @param {AssignRulesParams} config with all available params.
|
|
36
|
+
* @param {*} [options] Override http request option.
|
|
37
|
+
* @deprecated
|
|
38
|
+
* @throws {RequiredError}
|
|
39
|
+
*/
|
|
40
|
+
export declare const assignRulesParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([AssignRulesParams] | [any, any, any, AssignRulesRequest, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<Rules200Response, any, {}>>;
|
|
41
|
+
export default assignRulesParamCreator;
|
|
42
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/AssignRules/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAKrF,OAAO,EAAE,OAAO,EAAE,MAAM,4DAA4D,CAAC;AAIrF,OAAO,KAAK,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAGrE,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;;;MAIE;IACF,QAAQ,EAAE,GAAG,CAAC;IACd;;;;MAIE;IACF,WAAW,EAAE,GAAG,CAAC;IACjB;;;;MAIE;IACF,WAAW,CAAC,EAAE,GAAG,CAAC;IAClB;;;;MAIE;IACF,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IACxC,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG,gBAAgB,CAAC;AASrD;;;;;;;EAOE;AACF,eAAO,MAAM,uBAAuB,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,iBAAiB,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,kBAAkB,EAAE,kBAAkB,CAAC,CAAC,sEAgC5K,CAAA;AAED,eAAe,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
const isAssignRulesObjectParams = (params) => {
|
|
4
|
+
const l = params.length === 1;
|
|
5
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
6
|
+
return true && Object.prototype.hasOwnProperty.call(params[0], 'policyId') && Object.prototype.hasOwnProperty.call(params[0], 'tailoringId');
|
|
7
|
+
}
|
|
8
|
+
return false;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* This feature is exclusively used by the frontend
|
|
12
|
+
* @summary Bulk assign Rules to a Tailoring
|
|
13
|
+
* @param {AssignRulesParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @deprecated
|
|
16
|
+
* @throws {RequiredError}
|
|
17
|
+
*/
|
|
18
|
+
export const assignRulesParamCreator = async (sendRequest, ...config) => {
|
|
19
|
+
const params = isAssignRulesObjectParams(config) ? config[0] : ['policyId', 'tailoringId', 'xRHIDENTITY', 'assignRulesRequest', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
20
|
+
const { policyId, tailoringId, xRHIDENTITY, assignRulesRequest, options = {} } = params;
|
|
21
|
+
const localVarPath = `/policies/{policy_id}/tailorings/{tailoring_id}/rules`
|
|
22
|
+
.replace(`{${"policy_id"}}`, encodeURIComponent(String(policyId)))
|
|
23
|
+
.replace(`{${"tailoring_id"}}`, encodeURIComponent(String(tailoringId)));
|
|
24
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26
|
+
const localVarRequestOptions = { method: 'POST', ...options };
|
|
27
|
+
const localVarHeaderParameter = {};
|
|
28
|
+
const localVarQueryParameter = {};
|
|
29
|
+
if (xRHIDENTITY != null) {
|
|
30
|
+
localVarHeaderParameter['X-RH-IDENTITY'] = typeof xRHIDENTITY === 'string'
|
|
31
|
+
? xRHIDENTITY
|
|
32
|
+
: JSON.stringify(xRHIDENTITY);
|
|
33
|
+
}
|
|
34
|
+
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
35
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
37
|
+
const args = {
|
|
38
|
+
urlObj: localVarUrlObj,
|
|
39
|
+
options: localVarRequestOptions,
|
|
40
|
+
serializeData: assignRulesRequest,
|
|
41
|
+
};
|
|
42
|
+
return sendRequest(Promise.resolve(args));
|
|
43
|
+
};
|
|
44
|
+
export default assignRulesParamCreator;
|
|
45
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/AssignRules/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAwCjU,MAAM,yBAAyB,GAAG,CAAC,MAAuC,EAAiC,EAAE;IAC3G,MAAM,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,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,aAAa,CAAC,CAAA;IAC9I,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AACD;;;;;;;EAOE;AACF,MAAM,CAAC,MAAM,uBAAuB,GAAG,KAAK,EAAE,WAAmC,EAAE,GAAG,MAAuF,EAAE,EAAE;IAC7K,MAAM,MAAM,GAAG,yBAAyB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,UAAU,EAAE,aAAa,EAAE,aAAa,EAAE,oBAAoB,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE,EAAE,CAAsB,CAAC;IACtO,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,kBAAkB,EAAE,OAAO,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;IACxF,MAAM,YAAY,GAAG,uDAAuD;SACvE,OAAO,CAAC,IAAI,WAAW,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC;SACjE,OAAO,CAAC,IAAI,cAAc,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IAC7E,oFAAoF;IACpF,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;IAC7D,MAAM,sBAAsB,GAAG,EAAE,MAAM,EAAE,MAAgB,EAAE,GAAG,OAAO,EAAC,CAAC;IACvE,MAAM,uBAAuB,GAAG,EAAS,CAAC;IAC1C,MAAM,sBAAsB,GAAG,EAAS,CAAC;IAEzC,IAAI,WAAW,IAAI,IAAI,EAAE,CAAC;QACtB,uBAAuB,CAAC,eAAe,CAAC,GAAG,OAAO,WAAW,KAAK,QAAQ;YACtE,CAAC,CAAC,WAAW;YACb,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IACtC,CAAC;IAID,uBAAuB,CAAC,cAAc,CAAC,GAAG,0BAA0B,CAAC;IAErE,eAAe,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;IACxD,sBAAsB,CAAC,OAAO,GAAG,EAAC,GAAG,uBAAuB,EAAE,GAAG,OAAO,CAAC,OAAO,EAAC,CAAC;IAElF,MAAM,IAAI,GAAG;QACT,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,sBAAsB;QAC/B,aAAa,EAAE,kBAAkB;KACpC,CAAC;IAEF,OAAO,WAAW,CAAwB,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AACrE,CAAC,CAAA;AAED,eAAe,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
3
|
+
import type { System200Response } from '../types';
|
|
4
|
+
export type AssignSystemParams = {
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* @type { any }
|
|
8
|
+
* @memberof AssignSystemApi
|
|
9
|
+
*/
|
|
10
|
+
systemId: any;
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @type { any }
|
|
14
|
+
* @memberof AssignSystemApi
|
|
15
|
+
*/
|
|
16
|
+
policyId: any;
|
|
17
|
+
/**
|
|
18
|
+
* For internal use only
|
|
19
|
+
* @type { any }
|
|
20
|
+
* @memberof AssignSystemApi
|
|
21
|
+
*/
|
|
22
|
+
xRHIDENTITY?: any;
|
|
23
|
+
options?: AxiosRequestConfig;
|
|
24
|
+
};
|
|
25
|
+
export type AssignSystemReturnType = System200Response;
|
|
26
|
+
/**
|
|
27
|
+
* Assign a specific system to a specific policy.
|
|
28
|
+
* @summary Assign a System to a Policy
|
|
29
|
+
* @param {AssignSystemParams} config with all available params.
|
|
30
|
+
* @param {*} [options] Override http request option.
|
|
31
|
+
* @throws {RequiredError}
|
|
32
|
+
*/
|
|
33
|
+
export declare const assignSystemParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([AssignSystemParams] | [any, any, any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<System200Response, any, {}>>;
|
|
34
|
+
export default assignSystemParamCreator;
|
|
35
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/AssignSystem/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAKrF,OAAO,EAAE,OAAO,EAAE,MAAM,4DAA4D,CAAC;AAIrF,OAAO,KAAK,EAAU,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAG1D,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;;MAIE;IACF,QAAQ,EAAE,GAAG,CAAC;IACd;;;;MAIE;IACF,QAAQ,EAAE,GAAG,CAAC;IACd;;;;MAIE;IACF,WAAW,CAAC,EAAE,GAAG,CAAC;IAClB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,CAAC;AASvD;;;;;;EAME;AACF,eAAO,MAAM,wBAAwB,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,kBAAkB,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,kBAAkB,CAAC,CAAC,uEA6B1J,CAAA;AAED,eAAe,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
const isAssignSystemObjectParams = (params) => {
|
|
4
|
+
const l = params.length === 1;
|
|
5
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
6
|
+
return true && Object.prototype.hasOwnProperty.call(params[0], 'systemId') && Object.prototype.hasOwnProperty.call(params[0], 'policyId');
|
|
7
|
+
}
|
|
8
|
+
return false;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Assign a specific system to a specific policy.
|
|
12
|
+
* @summary Assign a System to a Policy
|
|
13
|
+
* @param {AssignSystemParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
export const assignSystemParamCreator = async (sendRequest, ...config) => {
|
|
18
|
+
const params = isAssignSystemObjectParams(config) ? config[0] : ['systemId', 'policyId', 'xRHIDENTITY', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
19
|
+
const { systemId, policyId, xRHIDENTITY, options = {} } = params;
|
|
20
|
+
const localVarPath = `/policies/{policy_id}/systems/{system_id}`
|
|
21
|
+
.replace(`{${"system_id"}}`, encodeURIComponent(String(systemId)))
|
|
22
|
+
.replace(`{${"policy_id"}}`, encodeURIComponent(String(policyId)));
|
|
23
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25
|
+
const localVarRequestOptions = { method: 'PATCH', ...options };
|
|
26
|
+
const localVarHeaderParameter = {};
|
|
27
|
+
const localVarQueryParameter = {};
|
|
28
|
+
if (xRHIDENTITY != null) {
|
|
29
|
+
localVarHeaderParameter['X-RH-IDENTITY'] = typeof xRHIDENTITY === 'string'
|
|
30
|
+
? xRHIDENTITY
|
|
31
|
+
: JSON.stringify(xRHIDENTITY);
|
|
32
|
+
}
|
|
33
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
35
|
+
const args = {
|
|
36
|
+
urlObj: localVarUrlObj,
|
|
37
|
+
options: localVarRequestOptions,
|
|
38
|
+
};
|
|
39
|
+
return sendRequest(Promise.resolve(args));
|
|
40
|
+
};
|
|
41
|
+
export default assignSystemParamCreator;
|
|
42
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/AssignSystem/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAkCjU,MAAM,0BAA0B,GAAG,CAAC,MAAwC,EAAkC,EAAE;IAC9G,MAAM,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,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,CAAA;IAC3I,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,wBAAwB,GAAG,KAAK,EAAE,WAAmC,EAAE,GAAG,MAAoE,EAAE,EAAE;IAC3J,MAAM,MAAM,GAAG,0BAA0B,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,UAAU,EAAE,UAAU,EAAE,aAAa,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE,EAAE,CAAuB,CAAC;IAC/M,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,OAAO,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;IACjE,MAAM,YAAY,GAAG,2CAA2C;SAC3D,OAAO,CAAC,IAAI,WAAW,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC;SACjE,OAAO,CAAC,IAAI,WAAW,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;IACvE,oFAAoF;IACpF,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;IAC7D,MAAM,sBAAsB,GAAG,EAAE,MAAM,EAAE,OAAiB,EAAE,GAAG,OAAO,EAAC,CAAC;IACxE,MAAM,uBAAuB,GAAG,EAAS,CAAC;IAC1C,MAAM,sBAAsB,GAAG,EAAS,CAAC;IAEzC,IAAI,WAAW,IAAI,IAAI,EAAE,CAAC;QACtB,uBAAuB,CAAC,eAAe,CAAC,GAAG,OAAO,WAAW,KAAK,QAAQ;YACtE,CAAC,CAAC,WAAW;YACb,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IACtC,CAAC;IAID,eAAe,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;IACxD,sBAAsB,CAAC,OAAO,GAAG,EAAC,GAAG,uBAAuB,EAAE,GAAG,OAAO,CAAC,OAAO,EAAC,CAAC;IAElF,MAAM,IAAI,GAAG;QACT,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,sBAAsB;KAClC,CAAC;IAEF,OAAO,WAAW,CAAyB,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AACtE,CAAC,CAAA;AAED,eAAe,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
3
|
+
import type { AssignRulesRequest, Systems200Response } from '../types';
|
|
4
|
+
export type AssignSystemsParams = {
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* @type { any }
|
|
8
|
+
* @memberof AssignSystemsApi
|
|
9
|
+
*/
|
|
10
|
+
policyId: any;
|
|
11
|
+
/**
|
|
12
|
+
* For internal use only
|
|
13
|
+
* @type { any }
|
|
14
|
+
* @memberof AssignSystemsApi
|
|
15
|
+
*/
|
|
16
|
+
xRHIDENTITY?: any;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @type { AssignRulesRequest }
|
|
20
|
+
* @memberof AssignSystemsApi
|
|
21
|
+
*/
|
|
22
|
+
assignRulesRequest?: AssignRulesRequest;
|
|
23
|
+
options?: AxiosRequestConfig;
|
|
24
|
+
};
|
|
25
|
+
export type AssignSystemsReturnType = Systems200Response;
|
|
26
|
+
/**
|
|
27
|
+
* This feature is exclusively used by the frontend
|
|
28
|
+
* @summary Bulk assign Systems to a Policy
|
|
29
|
+
* @param {AssignSystemsParams} config with all available params.
|
|
30
|
+
* @param {*} [options] Override http request option.
|
|
31
|
+
* @deprecated
|
|
32
|
+
* @throws {RequiredError}
|
|
33
|
+
*/
|
|
34
|
+
export declare const assignSystemsParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([AssignSystemsParams] | [any, any, AssignRulesRequest, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<Systems200Response, any, {}>>;
|
|
35
|
+
export default assignSystemsParamCreator;
|
|
36
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/AssignSystems/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAKrF,OAAO,EAAE,OAAO,EAAE,MAAM,4DAA4D,CAAC;AAIrF,OAAO,KAAK,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAGvE,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;;MAIE;IACF,QAAQ,EAAE,GAAG,CAAC;IACd;;;;MAIE;IACF,WAAW,CAAC,EAAE,GAAG,CAAC;IAClB;;;;MAIE;IACF,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IACxC,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG,kBAAkB,CAAC;AASzD;;;;;;;EAOE;AACF,eAAO,MAAM,yBAAyB,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,mBAAmB,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,kBAAkB,EAAE,kBAAkB,CAAC,CAAC,wEA+B3K,CAAA;AAED,eAAe,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
const isAssignSystemsObjectParams = (params) => {
|
|
4
|
+
const l = params.length === 1;
|
|
5
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
6
|
+
return true && Object.prototype.hasOwnProperty.call(params[0], 'policyId');
|
|
7
|
+
}
|
|
8
|
+
return false;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* This feature is exclusively used by the frontend
|
|
12
|
+
* @summary Bulk assign Systems to a Policy
|
|
13
|
+
* @param {AssignSystemsParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @deprecated
|
|
16
|
+
* @throws {RequiredError}
|
|
17
|
+
*/
|
|
18
|
+
export const assignSystemsParamCreator = async (sendRequest, ...config) => {
|
|
19
|
+
const params = isAssignSystemsObjectParams(config) ? config[0] : ['policyId', 'xRHIDENTITY', 'assignRulesRequest', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
20
|
+
const { policyId, xRHIDENTITY, assignRulesRequest, options = {} } = params;
|
|
21
|
+
const localVarPath = `/policies/{policy_id}/systems`
|
|
22
|
+
.replace(`{${"policy_id"}}`, encodeURIComponent(String(policyId)));
|
|
23
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25
|
+
const localVarRequestOptions = { method: 'POST', ...options };
|
|
26
|
+
const localVarHeaderParameter = {};
|
|
27
|
+
const localVarQueryParameter = {};
|
|
28
|
+
if (xRHIDENTITY != null) {
|
|
29
|
+
localVarHeaderParameter['X-RH-IDENTITY'] = typeof xRHIDENTITY === 'string'
|
|
30
|
+
? xRHIDENTITY
|
|
31
|
+
: JSON.stringify(xRHIDENTITY);
|
|
32
|
+
}
|
|
33
|
+
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
34
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
36
|
+
const args = {
|
|
37
|
+
urlObj: localVarUrlObj,
|
|
38
|
+
options: localVarRequestOptions,
|
|
39
|
+
serializeData: assignRulesRequest,
|
|
40
|
+
};
|
|
41
|
+
return sendRequest(Promise.resolve(args));
|
|
42
|
+
};
|
|
43
|
+
export default assignSystemsParamCreator;
|
|
44
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/AssignSystems/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAkCjU,MAAM,2BAA2B,GAAG,CAAC,MAAyC,EAAmC,EAAE;IACjH,MAAM,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;AACF,MAAM,CAAC,MAAM,yBAAyB,GAAG,KAAK,EAAE,WAAmC,EAAE,GAAG,MAAoF,EAAE,EAAE;IAC5K,MAAM,MAAM,GAAG,2BAA2B,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,UAAU,EAAE,aAAa,EAAE,oBAAoB,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE,EAAE,CAAwB,CAAC;IAC3N,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,kBAAkB,EAAE,OAAO,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;IAC3E,MAAM,YAAY,GAAG,+BAA+B;SAC/C,OAAO,CAAC,IAAI,WAAW,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;IACvE,oFAAoF;IACpF,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;IAC7D,MAAM,sBAAsB,GAAG,EAAE,MAAM,EAAE,MAAgB,EAAE,GAAG,OAAO,EAAC,CAAC;IACvE,MAAM,uBAAuB,GAAG,EAAS,CAAC;IAC1C,MAAM,sBAAsB,GAAG,EAAS,CAAC;IAEzC,IAAI,WAAW,IAAI,IAAI,EAAE,CAAC;QACtB,uBAAuB,CAAC,eAAe,CAAC,GAAG,OAAO,WAAW,KAAK,QAAQ;YACtE,CAAC,CAAC,WAAW;YACb,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IACtC,CAAC;IAID,uBAAuB,CAAC,cAAc,CAAC,GAAG,0BAA0B,CAAC;IAErE,eAAe,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;IACxD,sBAAsB,CAAC,OAAO,GAAG,EAAC,GAAG,uBAAuB,EAAE,GAAG,OAAO,CAAC,OAAO,EAAC,CAAC;IAElF,MAAM,IAAI,GAAG;QACT,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,sBAAsB;QAC/B,aAAa,EAAE,kBAAkB;KACpC,CAAC;IAEF,OAAO,WAAW,CAA0B,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AACvE,CAAC,CAAA;AAED,eAAe,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
3
|
+
import type { CreatePolicy201Response, Policy } from '../types';
|
|
4
|
+
export type CreatePolicyParams = {
|
|
5
|
+
/**
|
|
6
|
+
* For internal use only
|
|
7
|
+
* @type { any }
|
|
8
|
+
* @memberof CreatePolicyApi
|
|
9
|
+
*/
|
|
10
|
+
xRHIDENTITY?: any;
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @type { Policy }
|
|
14
|
+
* @memberof CreatePolicyApi
|
|
15
|
+
*/
|
|
16
|
+
policy?: Policy;
|
|
17
|
+
options?: AxiosRequestConfig;
|
|
18
|
+
};
|
|
19
|
+
export type CreatePolicyReturnType = CreatePolicy201Response;
|
|
20
|
+
/**
|
|
21
|
+
* Create a new security policy.
|
|
22
|
+
* @summary Create a Policy
|
|
23
|
+
* @param {CreatePolicyParams} config with all available params.
|
|
24
|
+
* @param {*} [options] Override http request option.
|
|
25
|
+
* @throws {RequiredError}
|
|
26
|
+
*/
|
|
27
|
+
export declare const createPolicyParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([CreatePolicyParams] | [any, Policy, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<CreatePolicy201Response, any, {}>>;
|
|
28
|
+
export default createPolicyParamCreator;
|
|
29
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/CreatePolicy/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAKrF,OAAO,EAAE,OAAO,EAAE,MAAM,4DAA4D,CAAC;AAIrF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGhE,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;;MAIE;IACF,WAAW,CAAC,EAAE,GAAG,CAAC;IAClB;;;;MAIE;IACF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG,uBAAuB,CAAC;AAS7D;;;;;;EAME;AACF,eAAO,MAAM,wBAAwB,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,kBAAkB,CAAC,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,kBAAkB,CAAC,CAAC,6EA8BxJ,CAAA;AAED,eAAe,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
const isCreatePolicyObjectParams = (params) => {
|
|
4
|
+
const l = params.length === 1;
|
|
5
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
6
|
+
return true;
|
|
7
|
+
}
|
|
8
|
+
return false;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Create a new security policy.
|
|
12
|
+
* @summary Create a Policy
|
|
13
|
+
* @param {CreatePolicyParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
export const createPolicyParamCreator = async (sendRequest, ...config) => {
|
|
18
|
+
const params = isCreatePolicyObjectParams(config) ? config[0] : ['xRHIDENTITY', 'policy', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
19
|
+
const { xRHIDENTITY, policy, options = {} } = params;
|
|
20
|
+
const localVarPath = `/policies`;
|
|
21
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23
|
+
const localVarRequestOptions = { method: 'POST', ...options };
|
|
24
|
+
const localVarHeaderParameter = {};
|
|
25
|
+
const localVarQueryParameter = {};
|
|
26
|
+
if (xRHIDENTITY != null) {
|
|
27
|
+
localVarHeaderParameter['X-RH-IDENTITY'] = typeof xRHIDENTITY === 'string'
|
|
28
|
+
? xRHIDENTITY
|
|
29
|
+
: JSON.stringify(xRHIDENTITY);
|
|
30
|
+
}
|
|
31
|
+
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
32
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
34
|
+
const args = {
|
|
35
|
+
urlObj: localVarUrlObj,
|
|
36
|
+
options: localVarRequestOptions,
|
|
37
|
+
serializeData: policy,
|
|
38
|
+
};
|
|
39
|
+
return sendRequest(Promise.resolve(args));
|
|
40
|
+
};
|
|
41
|
+
export default createPolicyParamCreator;
|
|
42
|
+
//# sourceMappingURL=index.js.map
|