@redhat-cloud-services/compliance-client 3.0.5 → 3.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AssignRule/index.d.ts +5 -5
- package/dist/AssignRule/index.js +15 -10
- package/dist/AssignRule/index.js.map +1 -1
- package/dist/AssignRules/index.d.ts +4 -4
- package/dist/AssignRules/index.js +15 -10
- package/dist/AssignRules/index.js.map +1 -1
- package/dist/AssignSystem/index.d.ts +5 -5
- package/dist/AssignSystem/index.js +15 -10
- package/dist/AssignSystem/index.js.map +1 -1
- package/dist/AssignSystems/index.d.ts +4 -4
- package/dist/AssignSystems/index.js +15 -10
- package/dist/AssignSystems/index.js.map +1 -1
- package/dist/CreatePolicy/index.d.ts +5 -5
- package/dist/CreatePolicy/index.js +16 -11
- package/dist/CreatePolicy/index.js.map +1 -1
- package/dist/CreateTailoring/index.d.ts +5 -4
- package/dist/CreateTailoring/index.js +16 -10
- package/dist/CreateTailoring/index.js.map +1 -1
- package/dist/DeletePolicy/index.d.ts +5 -5
- package/dist/DeletePolicy/index.js +15 -10
- package/dist/DeletePolicy/index.js.map +1 -1
- package/dist/DeleteReport/index.d.ts +5 -5
- package/dist/DeleteReport/index.js +15 -10
- package/dist/DeleteReport/index.js.map +1 -1
- package/dist/Policies/index.d.ts +5 -5
- package/dist/Policies/index.js +15 -10
- package/dist/Policies/index.js.map +1 -1
- package/dist/Policy/index.d.ts +5 -5
- package/dist/Policy/index.js +15 -10
- package/dist/Policy/index.js.map +1 -1
- package/dist/PolicySystems/index.d.ts +6 -6
- package/dist/PolicySystems/index.js +15 -10
- package/dist/PolicySystems/index.js.map +1 -1
- package/dist/PolicySystemsOS/index.d.ts +4 -4
- package/dist/PolicySystemsOS/index.js +14 -9
- package/dist/PolicySystemsOS/index.js.map +1 -1
- package/dist/Profile/index.d.ts +5 -5
- package/dist/Profile/index.js +15 -10
- package/dist/Profile/index.js.map +1 -1
- package/dist/ProfileRule/index.d.ts +5 -5
- package/dist/ProfileRule/index.js +15 -10
- package/dist/ProfileRule/index.js.map +1 -1
- package/dist/ProfileRules/index.d.ts +6 -6
- package/dist/ProfileRules/index.js +15 -10
- package/dist/ProfileRules/index.js.map +1 -1
- package/dist/ProfileTree/index.d.ts +5 -4
- package/dist/ProfileTree/index.js +15 -9
- package/dist/ProfileTree/index.js.map +1 -1
- package/dist/Profiles/index.d.ts +5 -5
- package/dist/Profiles/index.js +15 -10
- package/dist/Profiles/index.js.map +1 -1
- package/dist/Report/index.d.ts +5 -5
- package/dist/Report/index.js +15 -10
- package/dist/Report/index.js.map +1 -1
- package/dist/ReportRuleResults/index.d.ts +6 -6
- package/dist/ReportRuleResults/index.js +15 -10
- package/dist/ReportRuleResults/index.js.map +1 -1
- package/dist/ReportStats/index.d.ts +4 -4
- package/dist/ReportStats/index.js +14 -9
- package/dist/ReportStats/index.js.map +1 -1
- package/dist/ReportSystem/index.d.ts +5 -5
- package/dist/ReportSystem/index.js +15 -10
- package/dist/ReportSystem/index.js.map +1 -1
- package/dist/ReportSystems/index.d.ts +6 -6
- package/dist/ReportSystems/index.js +15 -10
- package/dist/ReportSystems/index.js.map +1 -1
- package/dist/ReportSystemsOS/index.d.ts +4 -4
- package/dist/ReportSystemsOS/index.js +14 -9
- package/dist/ReportSystemsOS/index.js.map +1 -1
- package/dist/ReportTestResult/index.d.ts +5 -5
- package/dist/ReportTestResult/index.js +15 -10
- package/dist/ReportTestResult/index.js.map +1 -1
- package/dist/ReportTestResults/index.d.ts +5 -5
- package/dist/ReportTestResults/index.js +15 -10
- package/dist/ReportTestResults/index.js.map +1 -1
- package/dist/ReportTestResultsOS/index.d.ts +4 -4
- package/dist/ReportTestResultsOS/index.js +14 -9
- package/dist/ReportTestResultsOS/index.js.map +1 -1
- package/dist/ReportTestResultsSG/index.d.ts +4 -4
- package/dist/ReportTestResultsSG/index.js +14 -9
- package/dist/ReportTestResultsSG/index.js.map +1 -1
- package/dist/Reports/index.d.ts +5 -5
- package/dist/Reports/index.js +15 -10
- package/dist/Reports/index.js.map +1 -1
- package/dist/ReportsOS/index.d.ts +4 -4
- package/dist/ReportsOS/index.js +14 -9
- package/dist/ReportsOS/index.js.map +1 -1
- package/dist/Rule/index.d.ts +5 -5
- package/dist/Rule/index.js +15 -10
- package/dist/Rule/index.js.map +1 -1
- package/dist/RuleGroup/index.d.ts +5 -5
- package/dist/RuleGroup/index.js +15 -10
- package/dist/RuleGroup/index.js.map +1 -1
- package/dist/RuleGroups/index.d.ts +5 -5
- package/dist/RuleGroups/index.js +15 -10
- package/dist/RuleGroups/index.js.map +1 -1
- package/dist/Rules/index.d.ts +6 -6
- package/dist/Rules/index.js +15 -10
- package/dist/Rules/index.js.map +1 -1
- package/dist/SecurityGuide/index.d.ts +5 -5
- package/dist/SecurityGuide/index.js +15 -10
- package/dist/SecurityGuide/index.js.map +1 -1
- package/dist/SecurityGuideRuleTree/index.d.ts +6 -5
- package/dist/SecurityGuideRuleTree/index.js +16 -10
- package/dist/SecurityGuideRuleTree/index.js.map +1 -1
- package/dist/SecurityGuides/index.d.ts +5 -5
- package/dist/SecurityGuides/index.js +15 -10
- package/dist/SecurityGuides/index.js.map +1 -1
- package/dist/SecurityGuidesOS/index.d.ts +4 -4
- package/dist/SecurityGuidesOS/index.js +14 -9
- package/dist/SecurityGuidesOS/index.js.map +1 -1
- package/dist/Status/index.d.ts +16 -0
- package/dist/Status/index.js +51 -0
- package/dist/Status/index.js.map +1 -0
- package/dist/SupportedProfiles/index.d.ts +5 -5
- package/dist/SupportedProfiles/index.js +15 -10
- package/dist/SupportedProfiles/index.js.map +1 -1
- package/dist/System/index.d.ts +5 -5
- package/dist/System/index.js +15 -10
- package/dist/System/index.js.map +1 -1
- package/dist/SystemReports/index.d.ts +6 -6
- package/dist/SystemReports/index.js +15 -10
- package/dist/SystemReports/index.js.map +1 -1
- package/dist/Systems/index.d.ts +6 -6
- package/dist/Systems/index.js +15 -10
- package/dist/Systems/index.js.map +1 -1
- package/dist/SystemsOS/index.d.ts +5 -5
- package/dist/SystemsOS/index.js +15 -10
- package/dist/SystemsOS/index.js.map +1 -1
- package/dist/SystemsPolicies/index.d.ts +5 -5
- package/dist/SystemsPolicies/index.js +15 -10
- package/dist/SystemsPolicies/index.js.map +1 -1
- package/dist/Tailoring/index.d.ts +5 -5
- package/dist/Tailoring/index.js +15 -10
- package/dist/Tailoring/index.js.map +1 -1
- package/dist/TailoringFileJSON/index.d.ts +34 -0
- package/dist/TailoringFileJSON/index.js +58 -0
- package/dist/TailoringFileJSON/index.js.map +1 -0
- package/dist/TailoringFileTOML/index.d.ts +34 -0
- package/dist/TailoringFileTOML/index.js +58 -0
- package/dist/TailoringFileTOML/index.js.map +1 -0
- package/dist/TailoringRuleTree/index.d.ts +6 -5
- package/dist/TailoringRuleTree/index.js +16 -10
- package/dist/TailoringRuleTree/index.js.map +1 -1
- package/dist/TailoringRules/index.d.ts +6 -6
- package/dist/TailoringRules/index.js +15 -10
- package/dist/TailoringRules/index.js.map +1 -1
- package/dist/Tailorings/index.d.ts +5 -5
- package/dist/Tailorings/index.js +15 -10
- package/dist/Tailorings/index.js.map +1 -1
- package/dist/UnassignRule/index.d.ts +5 -5
- package/dist/UnassignRule/index.js +15 -10
- package/dist/UnassignRule/index.js.map +1 -1
- package/dist/UnassignSystem/index.d.ts +5 -5
- package/dist/UnassignSystem/index.js +15 -10
- package/dist/UnassignSystem/index.js.map +1 -1
- package/dist/UpdatePolicy/index.d.ts +5 -5
- package/dist/UpdatePolicy/index.js +16 -11
- package/dist/UpdatePolicy/index.js.map +1 -1
- package/dist/UpdateTailoring/index.d.ts +5 -5
- package/dist/UpdateTailoring/index.js +16 -11
- package/dist/UpdateTailoring/index.js.map +1 -1
- package/dist/ValueDefinition/index.d.ts +5 -5
- package/dist/ValueDefinition/index.js +15 -10
- package/dist/ValueDefinition/index.js.map +1 -1
- package/dist/ValueDefinitions/index.d.ts +5 -5
- package/dist/ValueDefinitions/index.js +15 -10
- package/dist/ValueDefinitions/index.js.map +1 -1
- package/dist/api.d.ts +114 -112
- package/dist/api.js +5 -1
- package/dist/api.js.map +1 -1
- package/dist/esm/AssignRule/index.d.ts +5 -5
- package/dist/esm/AssignRule/index.js +15 -10
- package/dist/esm/AssignRule/index.js.map +1 -1
- package/dist/esm/AssignRules/index.d.ts +4 -4
- package/dist/esm/AssignRules/index.js +15 -10
- package/dist/esm/AssignRules/index.js.map +1 -1
- package/dist/esm/AssignSystem/index.d.ts +5 -5
- package/dist/esm/AssignSystem/index.js +15 -10
- package/dist/esm/AssignSystem/index.js.map +1 -1
- package/dist/esm/AssignSystems/index.d.ts +4 -4
- package/dist/esm/AssignSystems/index.js +15 -10
- package/dist/esm/AssignSystems/index.js.map +1 -1
- package/dist/esm/CreatePolicy/index.d.ts +5 -5
- package/dist/esm/CreatePolicy/index.js +16 -11
- package/dist/esm/CreatePolicy/index.js.map +1 -1
- package/dist/esm/CreateTailoring/index.d.ts +5 -4
- package/dist/esm/CreateTailoring/index.js +16 -10
- package/dist/esm/CreateTailoring/index.js.map +1 -1
- package/dist/esm/DeletePolicy/index.d.ts +5 -5
- package/dist/esm/DeletePolicy/index.js +15 -10
- package/dist/esm/DeletePolicy/index.js.map +1 -1
- package/dist/esm/DeleteReport/index.d.ts +5 -5
- package/dist/esm/DeleteReport/index.js +15 -10
- package/dist/esm/DeleteReport/index.js.map +1 -1
- package/dist/esm/Policies/index.d.ts +5 -5
- package/dist/esm/Policies/index.js +15 -10
- package/dist/esm/Policies/index.js.map +1 -1
- package/dist/esm/Policy/index.d.ts +5 -5
- package/dist/esm/Policy/index.js +15 -10
- package/dist/esm/Policy/index.js.map +1 -1
- package/dist/esm/PolicySystems/index.d.ts +6 -6
- package/dist/esm/PolicySystems/index.js +15 -10
- package/dist/esm/PolicySystems/index.js.map +1 -1
- package/dist/esm/PolicySystemsOS/index.d.ts +4 -4
- package/dist/esm/PolicySystemsOS/index.js +14 -9
- package/dist/esm/PolicySystemsOS/index.js.map +1 -1
- package/dist/esm/Profile/index.d.ts +5 -5
- package/dist/esm/Profile/index.js +15 -10
- package/dist/esm/Profile/index.js.map +1 -1
- package/dist/esm/ProfileRule/index.d.ts +5 -5
- package/dist/esm/ProfileRule/index.js +15 -10
- package/dist/esm/ProfileRule/index.js.map +1 -1
- package/dist/esm/ProfileRules/index.d.ts +6 -6
- package/dist/esm/ProfileRules/index.js +15 -10
- package/dist/esm/ProfileRules/index.js.map +1 -1
- package/dist/esm/ProfileTree/index.d.ts +5 -4
- package/dist/esm/ProfileTree/index.js +15 -9
- package/dist/esm/ProfileTree/index.js.map +1 -1
- package/dist/esm/Profiles/index.d.ts +5 -5
- package/dist/esm/Profiles/index.js +15 -10
- package/dist/esm/Profiles/index.js.map +1 -1
- package/dist/esm/Report/index.d.ts +5 -5
- package/dist/esm/Report/index.js +15 -10
- package/dist/esm/Report/index.js.map +1 -1
- package/dist/esm/ReportRuleResults/index.d.ts +6 -6
- package/dist/esm/ReportRuleResults/index.js +15 -10
- package/dist/esm/ReportRuleResults/index.js.map +1 -1
- package/dist/esm/ReportStats/index.d.ts +4 -4
- package/dist/esm/ReportStats/index.js +14 -9
- package/dist/esm/ReportStats/index.js.map +1 -1
- package/dist/esm/ReportSystem/index.d.ts +5 -5
- package/dist/esm/ReportSystem/index.js +15 -10
- package/dist/esm/ReportSystem/index.js.map +1 -1
- package/dist/esm/ReportSystems/index.d.ts +6 -6
- package/dist/esm/ReportSystems/index.js +15 -10
- package/dist/esm/ReportSystems/index.js.map +1 -1
- package/dist/esm/ReportSystemsOS/index.d.ts +4 -4
- package/dist/esm/ReportSystemsOS/index.js +14 -9
- package/dist/esm/ReportSystemsOS/index.js.map +1 -1
- package/dist/esm/ReportTestResult/index.d.ts +5 -5
- package/dist/esm/ReportTestResult/index.js +15 -10
- package/dist/esm/ReportTestResult/index.js.map +1 -1
- package/dist/esm/ReportTestResults/index.d.ts +5 -5
- package/dist/esm/ReportTestResults/index.js +15 -10
- package/dist/esm/ReportTestResults/index.js.map +1 -1
- package/dist/esm/ReportTestResultsOS/index.d.ts +4 -4
- package/dist/esm/ReportTestResultsOS/index.js +14 -9
- package/dist/esm/ReportTestResultsOS/index.js.map +1 -1
- package/dist/esm/ReportTestResultsSG/index.d.ts +4 -4
- package/dist/esm/ReportTestResultsSG/index.js +14 -9
- package/dist/esm/ReportTestResultsSG/index.js.map +1 -1
- package/dist/esm/Reports/index.d.ts +5 -5
- package/dist/esm/Reports/index.js +15 -10
- package/dist/esm/Reports/index.js.map +1 -1
- package/dist/esm/ReportsOS/index.d.ts +4 -4
- package/dist/esm/ReportsOS/index.js +14 -9
- package/dist/esm/ReportsOS/index.js.map +1 -1
- package/dist/esm/Rule/index.d.ts +5 -5
- package/dist/esm/Rule/index.js +15 -10
- package/dist/esm/Rule/index.js.map +1 -1
- package/dist/esm/RuleGroup/index.d.ts +5 -5
- package/dist/esm/RuleGroup/index.js +15 -10
- package/dist/esm/RuleGroup/index.js.map +1 -1
- package/dist/esm/RuleGroups/index.d.ts +5 -5
- package/dist/esm/RuleGroups/index.js +15 -10
- package/dist/esm/RuleGroups/index.js.map +1 -1
- package/dist/esm/Rules/index.d.ts +6 -6
- package/dist/esm/Rules/index.js +15 -10
- package/dist/esm/Rules/index.js.map +1 -1
- package/dist/esm/SecurityGuide/index.d.ts +5 -5
- package/dist/esm/SecurityGuide/index.js +15 -10
- package/dist/esm/SecurityGuide/index.js.map +1 -1
- package/dist/esm/SecurityGuideRuleTree/index.d.ts +6 -5
- package/dist/esm/SecurityGuideRuleTree/index.js +16 -10
- package/dist/esm/SecurityGuideRuleTree/index.js.map +1 -1
- package/dist/esm/SecurityGuides/index.d.ts +5 -5
- package/dist/esm/SecurityGuides/index.js +15 -10
- package/dist/esm/SecurityGuides/index.js.map +1 -1
- package/dist/esm/SecurityGuidesOS/index.d.ts +4 -4
- package/dist/esm/SecurityGuidesOS/index.js +14 -9
- package/dist/esm/SecurityGuidesOS/index.js.map +1 -1
- package/dist/esm/Status/index.d.ts +16 -0
- package/dist/esm/Status/index.js +47 -0
- package/dist/esm/Status/index.js.map +1 -0
- package/dist/esm/SupportedProfiles/index.d.ts +5 -5
- package/dist/esm/SupportedProfiles/index.js +15 -10
- package/dist/esm/SupportedProfiles/index.js.map +1 -1
- package/dist/esm/System/index.d.ts +5 -5
- package/dist/esm/System/index.js +15 -10
- package/dist/esm/System/index.js.map +1 -1
- package/dist/esm/SystemReports/index.d.ts +6 -6
- package/dist/esm/SystemReports/index.js +15 -10
- package/dist/esm/SystemReports/index.js.map +1 -1
- package/dist/esm/Systems/index.d.ts +6 -6
- package/dist/esm/Systems/index.js +15 -10
- package/dist/esm/Systems/index.js.map +1 -1
- package/dist/esm/SystemsOS/index.d.ts +5 -5
- package/dist/esm/SystemsOS/index.js +15 -10
- package/dist/esm/SystemsOS/index.js.map +1 -1
- package/dist/esm/SystemsPolicies/index.d.ts +5 -5
- package/dist/esm/SystemsPolicies/index.js +15 -10
- package/dist/esm/SystemsPolicies/index.js.map +1 -1
- package/dist/esm/Tailoring/index.d.ts +5 -5
- package/dist/esm/Tailoring/index.js +15 -10
- package/dist/esm/Tailoring/index.js.map +1 -1
- package/dist/esm/TailoringFileJSON/index.d.ts +34 -0
- package/dist/esm/TailoringFileJSON/index.js +54 -0
- package/dist/esm/TailoringFileJSON/index.js.map +1 -0
- package/dist/esm/TailoringFileTOML/index.d.ts +34 -0
- package/dist/esm/TailoringFileTOML/index.js +54 -0
- package/dist/esm/TailoringFileTOML/index.js.map +1 -0
- package/dist/esm/TailoringRuleTree/index.d.ts +6 -5
- package/dist/esm/TailoringRuleTree/index.js +16 -10
- package/dist/esm/TailoringRuleTree/index.js.map +1 -1
- package/dist/esm/TailoringRules/index.d.ts +6 -6
- package/dist/esm/TailoringRules/index.js +15 -10
- package/dist/esm/TailoringRules/index.js.map +1 -1
- package/dist/esm/Tailorings/index.d.ts +5 -5
- package/dist/esm/Tailorings/index.js +15 -10
- package/dist/esm/Tailorings/index.js.map +1 -1
- package/dist/esm/UnassignRule/index.d.ts +5 -5
- package/dist/esm/UnassignRule/index.js +15 -10
- package/dist/esm/UnassignRule/index.js.map +1 -1
- package/dist/esm/UnassignSystem/index.d.ts +5 -5
- package/dist/esm/UnassignSystem/index.js +15 -10
- package/dist/esm/UnassignSystem/index.js.map +1 -1
- package/dist/esm/UpdatePolicy/index.d.ts +5 -5
- package/dist/esm/UpdatePolicy/index.js +16 -11
- package/dist/esm/UpdatePolicy/index.js.map +1 -1
- package/dist/esm/UpdateTailoring/index.d.ts +5 -5
- package/dist/esm/UpdateTailoring/index.js +16 -11
- package/dist/esm/UpdateTailoring/index.js.map +1 -1
- package/dist/esm/ValueDefinition/index.d.ts +5 -5
- package/dist/esm/ValueDefinition/index.js +15 -10
- package/dist/esm/ValueDefinition/index.js.map +1 -1
- package/dist/esm/ValueDefinitions/index.d.ts +5 -5
- package/dist/esm/ValueDefinitions/index.js +15 -10
- package/dist/esm/ValueDefinitions/index.js.map +1 -1
- package/dist/esm/api.d.ts +114 -112
- package/dist/esm/api.js +6 -2
- package/dist/esm/api.js.map +1 -1
- package/dist/esm/index.d.ts +57 -54
- package/dist/esm/index.js +5 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/index.d.ts +70 -5
- package/dist/esm/types/index.js.map +1 -1
- package/dist/index.d.ts +57 -54
- package/dist/index.js +11 -4
- package/dist/index.js.map +1 -1
- package/dist/package.json +2 -2
- package/dist/types/index.d.ts +70 -5
- package/dist/types/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
3
3
|
import type { ValueDefinition200Response } from '../types';
|
|
4
4
|
export type ValueDefinitionParams = {
|
|
5
5
|
/**
|
|
@@ -22,13 +22,13 @@ export type ValueDefinitionParams = {
|
|
|
22
22
|
xRHIDENTITY?: any;
|
|
23
23
|
options?: AxiosRequestConfig;
|
|
24
24
|
};
|
|
25
|
-
export type ValueDefinitionReturnType =
|
|
25
|
+
export type ValueDefinitionReturnType = ValueDefinition200Response;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Retrieve a specific value definition.
|
|
28
28
|
* @summary Request a Value Definition
|
|
29
29
|
* @param {ValueDefinitionParams} config with all available params.
|
|
30
30
|
* @param {*} [options] Override http request option.
|
|
31
31
|
* @throws {RequiredError}
|
|
32
32
|
*/
|
|
33
|
-
export declare const valueDefinitionParamCreator: (...config: ([ValueDefinitionParams] | [any, any, any, AxiosRequestConfig])) => Promise<
|
|
33
|
+
export declare const valueDefinitionParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([ValueDefinitionParams] | [any, any, any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<ValueDefinition200Response, any, {}>>;
|
|
34
34
|
export default valueDefinitionParamCreator;
|
|
@@ -5,22 +5,26 @@ var tslib_1 = require("tslib");
|
|
|
5
5
|
// @ts-ignore
|
|
6
6
|
var common_1 = require("@redhat-cloud-services/javascript-clients-shared/dist/common");
|
|
7
7
|
var isValueDefinitionObjectParams = function (params) {
|
|
8
|
-
|
|
8
|
+
var l = params.length === 1;
|
|
9
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
10
|
+
return true && Object.prototype.hasOwnProperty.call(params[0], 'securityGuideId') && Object.prototype.hasOwnProperty.call(params[0], 'valueDefinitionId');
|
|
11
|
+
}
|
|
12
|
+
return false;
|
|
9
13
|
};
|
|
10
14
|
/**
|
|
11
|
-
*
|
|
15
|
+
* Retrieve a specific value definition.
|
|
12
16
|
* @summary Request a Value Definition
|
|
13
17
|
* @param {ValueDefinitionParams} config with all available params.
|
|
14
18
|
* @param {*} [options] Override http request option.
|
|
15
19
|
* @throws {RequiredError}
|
|
16
20
|
*/
|
|
17
|
-
var valueDefinitionParamCreator = function () {
|
|
21
|
+
var valueDefinitionParamCreator = function (sendRequest) {
|
|
18
22
|
var config = [];
|
|
19
|
-
for (var _i =
|
|
20
|
-
config[_i] = arguments[_i];
|
|
23
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
24
|
+
config[_i - 1] = arguments[_i];
|
|
21
25
|
}
|
|
22
26
|
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
23
|
-
var params, securityGuideId, valueDefinitionId, xRHIDENTITY, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
27
|
+
var params, securityGuideId, valueDefinitionId, xRHIDENTITY, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
|
|
24
28
|
return tslib_1.__generator(this, function (_b) {
|
|
25
29
|
params = isValueDefinitionObjectParams(config) ? config[0] : ['securityGuideId', 'valueDefinitionId', 'xRHIDENTITY', 'options'].reduce(function (acc, curr, index) {
|
|
26
30
|
var _a;
|
|
@@ -41,10 +45,11 @@ var valueDefinitionParamCreator = function () {
|
|
|
41
45
|
}
|
|
42
46
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
43
47
|
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
+
args = {
|
|
49
|
+
urlObj: localVarUrlObj,
|
|
50
|
+
options: localVarRequestOptions,
|
|
51
|
+
};
|
|
52
|
+
return [2 /*return*/, sendRequest(Promise.resolve(args))];
|
|
48
53
|
});
|
|
49
54
|
});
|
|
50
55
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ValueDefinition/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AAkCjU,IAAM,6BAA6B,GAAG,UAAC,MAA2C;IAChF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../Val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AG,8EAA8E;iBAC9F,OAAO,CAAC,WAAI,mBAAmB,MAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC;iBAChF,OAAO,CAAC,WAAI,qBAAqB,MAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC;YAEpF,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,uBAAc,CAAC,CAAC;YACvD,sBAAsB,sBAAK,MAAM,EAAE,KAAe,IAAK,OAAO,CAAC,CAAC;YAChE,uBAAuB,GAAG,EAAS,CAAC;YACpC,sBAAsB,GAAG,EAAS,CAAC;YAEzC,IAAI,WAAW,IAAI,IAAI,EAAE,CAAC;gBACtB,uBAAuB,CAAC,eAAe,CAAC,GAAG,OAAO,WAAW,KAAK,QAAQ;oBACtE,CAAC,CAAC,WAAW;oBACb,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;YACtC,CAAC;YAID,IAAA,wBAAe,EAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;YACxD,sBAAsB,CAAC,OAAO,yCAAO,uBAAuB,GAAK,OAAO,CAAC,OAAO,CAAC,CAAC;YAE5E,IAAI,GAAG;gBACT,MAAM,EAAE,cAAc;gBACtB,OAAO,EAAE,sBAAsB;aAClC,CAAC;YAEF,sBAAO,WAAW,CAA4B,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,EAAC;;;CACxE,CAAA;AA7BY,QAAA,2BAA2B,+BA6BvC;AAED,kBAAe,mCAA2B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
3
3
|
import type { ValueDefinitions200Response } from '../types';
|
|
4
4
|
export type ValueDefinitionsParams = {
|
|
5
5
|
/**
|
|
@@ -46,13 +46,13 @@ export type ValueDefinitionsParams = {
|
|
|
46
46
|
filter?: any;
|
|
47
47
|
options?: AxiosRequestConfig;
|
|
48
48
|
};
|
|
49
|
-
export type ValueDefinitionsReturnType =
|
|
49
|
+
export type ValueDefinitionsReturnType = ValueDefinitions200Response;
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
51
|
+
* Retrieve a list of the fields which can be edited within a profile.
|
|
52
52
|
* @summary Request Value Definitions
|
|
53
53
|
* @param {ValueDefinitionsParams} config with all available params.
|
|
54
54
|
* @param {*} [options] Override http request option.
|
|
55
55
|
* @throws {RequiredError}
|
|
56
56
|
*/
|
|
57
|
-
export declare const valueDefinitionsParamCreator: (...config: ([ValueDefinitionsParams] | [any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<
|
|
57
|
+
export declare const valueDefinitionsParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([ValueDefinitionsParams] | [any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<ValueDefinitions200Response, any, {}>>;
|
|
58
58
|
export default valueDefinitionsParamCreator;
|
|
@@ -5,22 +5,26 @@ var tslib_1 = require("tslib");
|
|
|
5
5
|
// @ts-ignore
|
|
6
6
|
var common_1 = require("@redhat-cloud-services/javascript-clients-shared/dist/common");
|
|
7
7
|
var isValueDefinitionsObjectParams = function (params) {
|
|
8
|
-
|
|
8
|
+
var l = params.length === 1;
|
|
9
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
10
|
+
return true && Object.prototype.hasOwnProperty.call(params[0], 'securityGuideId');
|
|
11
|
+
}
|
|
12
|
+
return false;
|
|
9
13
|
};
|
|
10
14
|
/**
|
|
11
|
-
*
|
|
15
|
+
* Retrieve a list of the fields which can be edited within a profile.
|
|
12
16
|
* @summary Request Value Definitions
|
|
13
17
|
* @param {ValueDefinitionsParams} config with all available params.
|
|
14
18
|
* @param {*} [options] Override http request option.
|
|
15
19
|
* @throws {RequiredError}
|
|
16
20
|
*/
|
|
17
|
-
var valueDefinitionsParamCreator = function () {
|
|
21
|
+
var valueDefinitionsParamCreator = function (sendRequest) {
|
|
18
22
|
var config = [];
|
|
19
|
-
for (var _i =
|
|
20
|
-
config[_i] = arguments[_i];
|
|
23
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
24
|
+
config[_i - 1] = arguments[_i];
|
|
21
25
|
}
|
|
22
26
|
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
23
|
-
var params, securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
27
|
+
var params, securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
|
|
24
28
|
return tslib_1.__generator(this, function (_b) {
|
|
25
29
|
params = isValueDefinitionsObjectParams(config) ? config[0] : ['securityGuideId', 'xRHIDENTITY', 'limit', 'offset', 'idsOnly', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
|
|
26
30
|
var _a;
|
|
@@ -55,10 +59,11 @@ var valueDefinitionsParamCreator = function () {
|
|
|
55
59
|
}
|
|
56
60
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
57
61
|
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
+
args = {
|
|
63
|
+
urlObj: localVarUrlObj,
|
|
64
|
+
options: localVarRequestOptions,
|
|
65
|
+
};
|
|
66
|
+
return [2 /*return*/, sendRequest(Promise.resolve(args))];
|
|
62
67
|
});
|
|
63
68
|
});
|
|
64
69
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ValueDefinitions/index.ts"],"names":[],"mapp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AAC,CAAC;YACtC,CAAC;YAID,IAAA,wBAAe,EAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;YACxD,sBAAsB,CAAC,OAAO,yCAAO,uBAAuB,GAAK,OAAO,CAAC,OAAO,CAAC,CAAC;YAE5E,IAAI,GAAG;gBACT,MAAM,EAAE,cAAc;gBACtB,OAAO,EAAE,sBAAsB;aAClC,CAAC;YAEF,sBAAO,WAAW,CAA6B,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,EAAC;;;CACzE,CAAA;AAhDY,QAAA,4BAA4B,gCAgDxC;AAED,kBAAe,oCAA4B,CAAC"}
|
package/dist/api.d.ts
CHANGED
|
@@ -1,115 +1,117 @@
|
|
|
1
1
|
import { ApiConfig } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
2
|
-
import { AssignRuleReturnType, AssignRulesReturnType, AssignSystemReturnType, AssignSystemsReturnType, CreatePolicyReturnType, CreateTailoringReturnType, DeletePolicyReturnType, DeleteReportReturnType, PoliciesReturnType, PolicyReturnType, PolicySystemsReturnType, PolicySystemsOSReturnType, ProfileReturnType, ProfileRuleReturnType, ProfileRulesReturnType, ProfileTreeReturnType, ProfilesReturnType, ReportReturnType, ReportRuleResultsReturnType, ReportStatsReturnType, ReportSystemReturnType, ReportSystemsReturnType, ReportSystemsOSReturnType, ReportTestResultReturnType, ReportTestResultsReturnType, ReportTestResultsOSReturnType, ReportTestResultsSGReturnType, ReportsReturnType, ReportsOSReturnType, RuleReturnType, RuleGroupReturnType, RuleGroupsReturnType, RulesReturnType, SecurityGuideReturnType, SecurityGuideRuleTreeReturnType, SecurityGuidesReturnType, SecurityGuidesOSReturnType, SupportedProfilesReturnType, SystemReturnType, SystemReportsReturnType, SystemsReturnType, SystemsOSReturnType, SystemsPoliciesReturnType, TailoringReturnType, TailoringFileReturnType, TailoringRuleTreeReturnType, TailoringRulesReturnType, TailoringsReturnType, UnassignRuleReturnType, UnassignSystemReturnType, UpdatePolicyReturnType, UpdateTailoringReturnType, ValueDefinitionReturnType, ValueDefinitionsReturnType } from './index';
|
|
3
|
-
type endpointReturnTypes = {
|
|
4
|
-
assignRule: AssignRuleReturnType;
|
|
5
|
-
assignRules: AssignRulesReturnType;
|
|
6
|
-
assignSystem: AssignSystemReturnType;
|
|
7
|
-
assignSystems: AssignSystemsReturnType;
|
|
8
|
-
createPolicy: CreatePolicyReturnType;
|
|
9
|
-
createTailoring: CreateTailoringReturnType;
|
|
10
|
-
deletePolicy: DeletePolicyReturnType;
|
|
11
|
-
deleteReport: DeleteReportReturnType;
|
|
12
|
-
policies: PoliciesReturnType;
|
|
13
|
-
policy: PolicyReturnType;
|
|
14
|
-
policySystems: PolicySystemsReturnType;
|
|
15
|
-
policySystemsOS: PolicySystemsOSReturnType;
|
|
16
|
-
profile: ProfileReturnType;
|
|
17
|
-
profileRule: ProfileRuleReturnType;
|
|
18
|
-
profileRules: ProfileRulesReturnType;
|
|
19
|
-
profileTree: ProfileTreeReturnType;
|
|
20
|
-
profiles: ProfilesReturnType;
|
|
21
|
-
report: ReportReturnType;
|
|
22
|
-
reportRuleResults: ReportRuleResultsReturnType;
|
|
23
|
-
reportStats: ReportStatsReturnType;
|
|
24
|
-
reportSystem: ReportSystemReturnType;
|
|
25
|
-
reportSystems: ReportSystemsReturnType;
|
|
26
|
-
reportSystemsOS: ReportSystemsOSReturnType;
|
|
27
|
-
reportTestResult: ReportTestResultReturnType;
|
|
28
|
-
reportTestResults: ReportTestResultsReturnType;
|
|
29
|
-
reportTestResultsOS: ReportTestResultsOSReturnType;
|
|
30
|
-
reportTestResultsSG: ReportTestResultsSGReturnType;
|
|
31
|
-
reports: ReportsReturnType;
|
|
32
|
-
reportsOS: ReportsOSReturnType;
|
|
33
|
-
rule: RuleReturnType;
|
|
34
|
-
ruleGroup: RuleGroupReturnType;
|
|
35
|
-
ruleGroups: RuleGroupsReturnType;
|
|
36
|
-
rules: RulesReturnType;
|
|
37
|
-
securityGuide: SecurityGuideReturnType;
|
|
38
|
-
securityGuideRuleTree: SecurityGuideRuleTreeReturnType;
|
|
39
|
-
securityGuides: SecurityGuidesReturnType;
|
|
40
|
-
securityGuidesOS: SecurityGuidesOSReturnType;
|
|
41
|
-
supportedProfiles: SupportedProfilesReturnType;
|
|
42
|
-
system: SystemReturnType;
|
|
43
|
-
systemReports: SystemReportsReturnType;
|
|
44
|
-
systems: SystemsReturnType;
|
|
45
|
-
systemsOS: SystemsOSReturnType;
|
|
46
|
-
systemsPolicies: SystemsPoliciesReturnType;
|
|
47
|
-
tailoring: TailoringReturnType;
|
|
48
|
-
tailoringFile: TailoringFileReturnType;
|
|
49
|
-
tailoringRuleTree: TailoringRuleTreeReturnType;
|
|
50
|
-
tailoringRules: TailoringRulesReturnType;
|
|
51
|
-
tailorings: TailoringsReturnType;
|
|
52
|
-
unassignRule: UnassignRuleReturnType;
|
|
53
|
-
unassignSystem: UnassignSystemReturnType;
|
|
54
|
-
updatePolicy: UpdatePolicyReturnType;
|
|
55
|
-
updateTailoring: UpdateTailoringReturnType;
|
|
56
|
-
valueDefinition: ValueDefinitionReturnType;
|
|
57
|
-
valueDefinitions: ValueDefinitionsReturnType;
|
|
58
|
-
};
|
|
59
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<{
|
|
60
|
-
assignRule: (...config: ([import("./AssignRule").AssignRuleParams] | [any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
61
|
-
assignRules: (...config: ([import("./AssignRules").AssignRulesParams] | [any, any, any, import("./types").AssignRulesRequest, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
62
|
-
assignSystem: (...config: ([import("./AssignSystem").AssignSystemParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
63
|
-
assignSystems: (...config: ([import("./AssignSystems").AssignSystemsParams] | [any, any, import("./types").AssignRulesRequest, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
64
|
-
createPolicy: (...config: ([import("./CreatePolicy").CreatePolicyParams] | [any, import("./types").Policy, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
65
|
-
createTailoring: (...config: ([import("./CreateTailoring").CreateTailoringParams] | [any, any, import("./types").TailoringCreate, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
66
|
-
deletePolicy: (...config: ([import("./DeletePolicy").DeletePolicyParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
67
|
-
deleteReport: (...config: ([import("./DeleteReport").DeleteReportParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
68
|
-
policies: (...config: ([import("./Policies").PoliciesParams] | [any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
69
|
-
policy: (...config: ([import("./Policy").PolicyParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
70
|
-
policySystems: (...config: ([import("./PolicySystems").PolicySystemsParams] | [any, any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
71
|
-
policySystemsOS: (...config: ([import("./PolicySystemsOS").PolicySystemsOSParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
72
|
-
profile: (...config: ([import("./Profile").ProfileParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
73
|
-
profileRule: (...config: ([import("./ProfileRule").ProfileRuleParams] | [any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
74
|
-
profileRules: (...config: ([import("./ProfileRules").ProfileRulesParams] | [any, any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
75
|
-
profileTree: (...config: ([import("./ProfileTree").ProfileTreeParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
76
|
-
profiles: (...config: ([import("./Profiles").ProfilesParams] | [any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
77
|
-
report: (...config: ([import("./Report").ReportParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
78
|
-
reportRuleResults: (...config: ([import("./ReportRuleResults").ReportRuleResultsParams] | [any, any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
79
|
-
reportStats: (...config: ([import("./ReportStats").ReportStatsParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
80
|
-
reportSystem: (...config: ([import("./ReportSystem").ReportSystemParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
81
|
-
reportSystems: (...config: ([import("./ReportSystems").ReportSystemsParams] | [any, any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
82
|
-
reportSystemsOS: (...config: ([import("./ReportSystemsOS").ReportSystemsOSParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
83
|
-
reportTestResult: (...config: ([import("./ReportTestResult").ReportTestResultParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
84
|
-
reportTestResults: (...config: ([import("./ReportTestResults").ReportTestResultsParams] | [any, any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
85
|
-
reportTestResultsOS: (...config: ([import("./ReportTestResultsOS").ReportTestResultsOSParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
86
|
-
reportTestResultsSG: (...config: ([import("./ReportTestResultsSG").ReportTestResultsSGParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
87
|
-
reports: (...config: ([import("./Reports").ReportsParams] | [any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
88
|
-
reportsOS: (...config: ([import("./ReportsOS").ReportsOSParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
89
|
-
rule: (...config: ([import("./Rule").RuleParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
90
|
-
ruleGroup: (...config: ([import("./RuleGroup").RuleGroupParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
91
|
-
ruleGroups: (...config: ([import("./RuleGroups").RuleGroupsParams] | [any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
92
|
-
rules: (...config: ([import("./Rules").RulesParams] | [any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
93
|
-
securityGuide: (...config: ([import("./SecurityGuide").SecurityGuideParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
94
|
-
securityGuideRuleTree: (...config: ([import("./SecurityGuideRuleTree").SecurityGuideRuleTreeParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
95
|
-
securityGuides: (...config: ([import("./SecurityGuides").SecurityGuidesParams] | [any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
96
|
-
securityGuidesOS: (...config: ([import("./SecurityGuidesOS").SecurityGuidesOSParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
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
|
+
}>;
|
|
115
117
|
export default ComplianceClient;
|
package/dist/api.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ComplianceClient = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
4
6
|
var utils_1 = require("@redhat-cloud-services/javascript-clients-shared/dist/utils");
|
|
5
7
|
var index_1 = require("./index");
|
|
6
8
|
var endpointList = {
|
|
@@ -41,6 +43,7 @@ var endpointList = {
|
|
|
41
43
|
securityGuideRuleTree: index_1.securityGuideRuleTree,
|
|
42
44
|
securityGuides: index_1.securityGuides,
|
|
43
45
|
securityGuidesOS: index_1.securityGuidesOS,
|
|
46
|
+
status: index_1.status,
|
|
44
47
|
supportedProfiles: index_1.supportedProfiles,
|
|
45
48
|
system: index_1.system,
|
|
46
49
|
systemReports: index_1.systemReports,
|
|
@@ -48,7 +51,8 @@ var endpointList = {
|
|
|
48
51
|
systemsOS: index_1.systemsOS,
|
|
49
52
|
systemsPolicies: index_1.systemsPolicies,
|
|
50
53
|
tailoring: index_1.tailoring,
|
|
51
|
-
|
|
54
|
+
tailoringFileJSON: index_1.tailoringFileJSON,
|
|
55
|
+
tailoringFileTOML: index_1.tailoringFileTOML,
|
|
52
56
|
tailoringRuleTree: index_1.tailoringRuleTree,
|
|
53
57
|
tailoringRules: index_1.tailoringRules,
|
|
54
58
|
tailorings: index_1.tailorings,
|
package/dist/api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../api.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"api.js","sourceRoot":"","sources":["../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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
3
3
|
export type AssignRuleParams = {
|
|
4
4
|
/**
|
|
5
5
|
*
|
|
@@ -27,13 +27,13 @@ export type AssignRuleParams = {
|
|
|
27
27
|
xRHIDENTITY?: any;
|
|
28
28
|
options?: AxiosRequestConfig;
|
|
29
29
|
};
|
|
30
|
-
export type AssignRuleReturnType =
|
|
30
|
+
export type AssignRuleReturnType = void;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* Add a rule to a specific tailoring.
|
|
33
33
|
* @summary Assign a Rule to a Tailoring
|
|
34
34
|
* @param {AssignRuleParams} config with all available params.
|
|
35
35
|
* @param {*} [options] Override http request option.
|
|
36
36
|
* @throws {RequiredError}
|
|
37
37
|
*/
|
|
38
|
-
export declare const assignRuleParamCreator: (...config: ([AssignRuleParams] | [any, any, any, any, AxiosRequestConfig])) => Promise<
|
|
38
|
+
export declare const assignRuleParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([AssignRuleParams] | [any, any, any, any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
39
39
|
export default assignRuleParamCreator;
|
|
@@ -2,22 +2,26 @@ import { __assign, __awaiter, __generator } from "tslib";
|
|
|
2
2
|
// @ts-ignore
|
|
3
3
|
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
4
4
|
var isAssignRuleObjectParams = function (params) {
|
|
5
|
-
|
|
5
|
+
var l = params.length === 1;
|
|
6
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
7
|
+
return true && Object.prototype.hasOwnProperty.call(params[0], 'policyId') && Object.prototype.hasOwnProperty.call(params[0], 'tailoringId') && Object.prototype.hasOwnProperty.call(params[0], 'ruleId');
|
|
8
|
+
}
|
|
9
|
+
return false;
|
|
6
10
|
};
|
|
7
11
|
/**
|
|
8
|
-
*
|
|
12
|
+
* Add a rule to a specific tailoring.
|
|
9
13
|
* @summary Assign a Rule to a Tailoring
|
|
10
14
|
* @param {AssignRuleParams} config with all available params.
|
|
11
15
|
* @param {*} [options] Override http request option.
|
|
12
16
|
* @throws {RequiredError}
|
|
13
17
|
*/
|
|
14
|
-
export var assignRuleParamCreator = function () {
|
|
18
|
+
export var assignRuleParamCreator = function (sendRequest) {
|
|
15
19
|
var config = [];
|
|
16
|
-
for (var _i =
|
|
17
|
-
config[_i] = arguments[_i];
|
|
20
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
21
|
+
config[_i - 1] = arguments[_i];
|
|
18
22
|
}
|
|
19
23
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
20
|
-
var params, policyId, tailoringId, ruleId, xRHIDENTITY, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
24
|
+
var params, policyId, tailoringId, ruleId, xRHIDENTITY, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
|
|
21
25
|
return __generator(this, function (_b) {
|
|
22
26
|
params = isAssignRuleObjectParams(config) ? config[0] : ['policyId', 'tailoringId', 'ruleId', 'xRHIDENTITY', 'options'].reduce(function (acc, curr, index) {
|
|
23
27
|
var _a;
|
|
@@ -39,10 +43,11 @@ export var assignRuleParamCreator = function () {
|
|
|
39
43
|
}
|
|
40
44
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41
45
|
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
+
args = {
|
|
47
|
+
urlObj: localVarUrlObj,
|
|
48
|
+
options: localVarRequestOptions,
|
|
49
|
+
};
|
|
50
|
+
return [2 /*return*/, sendRequest(Promise.resolve(args))];
|
|
46
51
|
});
|
|
47
52
|
});
|
|
48
53
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../AssignRule/index.ts"],"names":[],"mappings":";AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAwCjU,IAAM,wBAAwB,GAAG,UAAC,MAAsC;IACtE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../AssignRule/index.ts"],"names":[],"mappings":";AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAwCjU,IAAM,wBAAwB,GAAG,UAAC,MAAsC;IACtE,IAAM,CAAC,GAAG,MAAM,CAAC,MAAM,KAAK,CAAC,CAAA;IAC7B,IAAG,CAAC,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACnE,OAAO,IAAI,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,aA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