@redhat-cloud-services/compliance-client 3.0.5 → 3.0.6
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 +1 -1
- package/dist/types/index.d.ts +70 -5
- package/dist/types/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -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 { Systems200Response } from '../types';
|
|
4
4
|
export type ReportSystemsParams = {
|
|
5
5
|
/**
|
|
@@ -45,20 +45,20 @@ export type ReportSystemsParams = {
|
|
|
45
45
|
*/
|
|
46
46
|
sortBy?: any;
|
|
47
47
|
/**
|
|
48
|
-
* Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `
|
|
48
|
+
* Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `os_minor_version`, `never_reported`, and `group_name`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
49
49
|
* @type { any }
|
|
50
50
|
* @memberof ReportSystemsApi
|
|
51
51
|
*/
|
|
52
52
|
filter?: any;
|
|
53
53
|
options?: AxiosRequestConfig;
|
|
54
54
|
};
|
|
55
|
-
export type ReportSystemsReturnType =
|
|
55
|
+
export type ReportSystemsReturnType = Systems200Response;
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
57
|
+
* Retrieve all of the systems for a specific report.
|
|
58
58
|
* @summary Request Systems assigned to a Report
|
|
59
59
|
* @param {ReportSystemsParams} config with all available params.
|
|
60
60
|
* @param {*} [options] Override http request option.
|
|
61
61
|
* @throws {RequiredError}
|
|
62
62
|
*/
|
|
63
|
-
export declare const reportSystemsParamCreator: (...config: ([ReportSystemsParams] | [any, any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<
|
|
63
|
+
export declare const reportSystemsParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([ReportSystemsParams] | [any, any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<Systems200Response, any, {}>>;
|
|
64
64
|
export default reportSystemsParamCreator;
|
|
@@ -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 isReportSystemsObjectParams = 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], 'reportId');
|
|
8
|
+
}
|
|
9
|
+
return false;
|
|
6
10
|
};
|
|
7
11
|
/**
|
|
8
|
-
*
|
|
12
|
+
* Retrieve all of the systems for a specific report.
|
|
9
13
|
* @summary Request Systems assigned to a Report
|
|
10
14
|
* @param {ReportSystemsParams} config with all available params.
|
|
11
15
|
* @param {*} [options] Override http request option.
|
|
12
16
|
* @throws {RequiredError}
|
|
13
17
|
*/
|
|
14
|
-
export var reportSystemsParamCreator = function () {
|
|
18
|
+
export var reportSystemsParamCreator = 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, reportId, xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
24
|
+
var params, reportId, xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
|
|
21
25
|
return __generator(this, function (_b) {
|
|
22
26
|
params = isReportSystemsObjectParams(config) ? config[0] : ['reportId', 'xRHIDENTITY', 'tags', 'limit', 'offset', 'idsOnly', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
|
|
23
27
|
var _a;
|
|
@@ -55,10 +59,11 @@ export var reportSystemsParamCreator = function () {
|
|
|
55
59
|
}
|
|
56
60
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
57
61
|
localVarRequestOptions.headers = __assign(__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":["../../../ReportSystems/index.ts"],"names":[],"mappings":";AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAgEjU,IAAM,2BAA2B,GAAG,UAAC,MAAyC;IAC5E,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../ReportSystems/index.ts"],"names":[],"mappings":";AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAgEjU,IAAM,2BAA2B,GAAG,UAAC,MAAyC;IAC5E,IAAM,CAAC,GAAG,MAAM,CAAC,MAAM,KAAK,CAAC,CAAA;IAC7B,IAAG,CAAC,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACnE,OAAO,IAAI,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,CAAA;IAC5E,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,IAAM,yBAAyB,GAAG,UAAO,WAAmC;IAAE,gBAAiG;SA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AAK,SAAS,EAAE,CAAC;gBACtB,sBAAsB,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;YAC5C,CAAC;YAED,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;gBACvB,sBAAsB,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;YAC9C,CAAC;YAED,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;gBACxB,sBAAsB,CAAC,UAAU,CAAC,GAAG,OAAO,CAAC;YACjD,CAAC;YAED,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;gBACvB,sBAAsB,CAAC,SAAS,CAAC,GAAG,MAAM,CAAC;YAC/C,CAAC;YAED,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;gBACvB,sBAAsB,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;YAC9C,CAAC;YAED,IAAI,WAAW,IAAI,IAAI,EAAE,CAAC;gBACtB,uBAAuB,CAAC,eAAe,CAAC,GAAG,OAAO,WAAW,KAAK,QAAQ;oBACtE,CAAC,CAAC,WAAW;oBACb,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;YACtC,CAAC;YAID,eAAe,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;YACxD,sBAAsB,CAAC,OAAO,yBAAO,uBAAuB,GAAK,OAAO,CAAC,OAAO,CAAC,CAAC;YAE5E,IAAI,GAAG;gBACT,MAAM,EAAE,cAAc;gBACtB,OAAO,EAAE,sBAAsB;aAClC,CAAC;YAEF,sBAAO,WAAW,CAA0B,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,EAAC;;;CACtE,CAAA;AAED,eAAe,yBAAyB,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 ReportSystemsOSParams = {
|
|
4
4
|
/**
|
|
5
5
|
*
|
|
@@ -21,7 +21,7 @@ export type ReportSystemsOSParams = {
|
|
|
21
21
|
filter?: any;
|
|
22
22
|
options?: AxiosRequestConfig;
|
|
23
23
|
};
|
|
24
|
-
export type ReportSystemsOSReturnType =
|
|
24
|
+
export type ReportSystemsOSReturnType = any;
|
|
25
25
|
/**
|
|
26
26
|
* This feature is exclusively used by the frontend
|
|
27
27
|
* @summary Request the list of available OS versions
|
|
@@ -30,5 +30,5 @@ export type ReportSystemsOSReturnType = AxiosPromise<any>;
|
|
|
30
30
|
* @deprecated
|
|
31
31
|
* @throws {RequiredError}
|
|
32
32
|
*/
|
|
33
|
-
export declare const reportSystemsOSParamCreator: (...config: ([ReportSystemsOSParams] | [any, any, any, AxiosRequestConfig])) => Promise<
|
|
33
|
+
export declare const reportSystemsOSParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([ReportSystemsOSParams] | [any, any, any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
34
34
|
export default reportSystemsOSParamCreator;
|
|
@@ -2,7 +2,11 @@ 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 isReportSystemsOSObjectParams = 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], 'reportId');
|
|
8
|
+
}
|
|
9
|
+
return false;
|
|
6
10
|
};
|
|
7
11
|
/**
|
|
8
12
|
* This feature is exclusively used by the frontend
|
|
@@ -12,13 +16,13 @@ var isReportSystemsOSObjectParams = function (params) {
|
|
|
12
16
|
* @deprecated
|
|
13
17
|
* @throws {RequiredError}
|
|
14
18
|
*/
|
|
15
|
-
export var reportSystemsOSParamCreator = function () {
|
|
19
|
+
export var reportSystemsOSParamCreator = function (sendRequest) {
|
|
16
20
|
var config = [];
|
|
17
|
-
for (var _i =
|
|
18
|
-
config[_i] = arguments[_i];
|
|
21
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
22
|
+
config[_i - 1] = arguments[_i];
|
|
19
23
|
}
|
|
20
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
21
|
-
var params, reportId, xRHIDENTITY, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
25
|
+
var params, reportId, xRHIDENTITY, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
|
|
22
26
|
return __generator(this, function (_b) {
|
|
23
27
|
params = isReportSystemsOSObjectParams(config) ? config[0] : ['reportId', 'xRHIDENTITY', 'filter', 'options'].reduce(function (acc, curr, index) {
|
|
24
28
|
var _a;
|
|
@@ -41,10 +45,11 @@ export var reportSystemsOSParamCreator = function () {
|
|
|
41
45
|
}
|
|
42
46
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
43
47
|
localVarRequestOptions.headers = __assign(__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":["../../../ReportSystemsOS/index.ts"],"names":[],"mappings":";AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAkCjU,IAAM,6BAA6B,GAAG,UAAC,MAA2C;IAChF,
|
|
1
|
+
{"version":3,"file":"index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,OAAO,CAAC,WAAI,WAAW,MAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;YAEjE,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;YACvD,sBAAsB,cAAK,MAAM,EAAE,KAAe,IAAK,OAAO,CAAC,CAAC;YAChE,uBAAuB,GAAG,EAAS,CAAC;YACpC,sBAAsB,GAAG,EAAS,CAAC;YAEzC,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;gBACvB,sBAAsB,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;YAC9C,CAAC;YAED,IAAI,WAAW,IAAI,IAAI,EAAE,CAAC;gBACtB,uBAAuB,CAAC,eAAe,CAAC,GAAG,OAAO,WAAW,KAAK,QAAQ;oBACtE,CAAC,CAAC,WAAW;oBACb,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;YACtC,CAAC;YAID,eAAe,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;YACxD,sBAAsB,CAAC,OAAO,yBAAO,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;AAED,eAAe,2BAA2B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
3
3
|
import type { System200Response } from '../types';
|
|
4
4
|
export type ReportTestResultParams = {
|
|
5
5
|
/**
|
|
@@ -22,13 +22,13 @@ export type ReportTestResultParams = {
|
|
|
22
22
|
xRHIDENTITY?: any;
|
|
23
23
|
options?: AxiosRequestConfig;
|
|
24
24
|
};
|
|
25
|
-
export type ReportTestResultReturnType =
|
|
25
|
+
export type ReportTestResultReturnType = System200Response;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Retrieve a specific test result for a specific report.
|
|
28
28
|
* @summary Request a Test Result
|
|
29
29
|
* @param {ReportTestResultParams} config with all available params.
|
|
30
30
|
* @param {*} [options] Override http request option.
|
|
31
31
|
* @throws {RequiredError}
|
|
32
32
|
*/
|
|
33
|
-
export declare const reportTestResultParamCreator: (...config: ([ReportTestResultParams] | [any, any, any, AxiosRequestConfig])) => Promise<
|
|
33
|
+
export declare const reportTestResultParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([ReportTestResultParams] | [any, any, any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<System200Response, any, {}>>;
|
|
34
34
|
export default reportTestResultParamCreator;
|
|
@@ -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 isReportTestResultObjectParams = 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], 'testResultId') && Object.prototype.hasOwnProperty.call(params[0], 'reportId');
|
|
8
|
+
}
|
|
9
|
+
return false;
|
|
6
10
|
};
|
|
7
11
|
/**
|
|
8
|
-
*
|
|
12
|
+
* Retrieve a specific test result for a specific report.
|
|
9
13
|
* @summary Request a Test Result
|
|
10
14
|
* @param {ReportTestResultParams} config with all available params.
|
|
11
15
|
* @param {*} [options] Override http request option.
|
|
12
16
|
* @throws {RequiredError}
|
|
13
17
|
*/
|
|
14
|
-
export var reportTestResultParamCreator = function () {
|
|
18
|
+
export var reportTestResultParamCreator = 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, testResultId, reportId, xRHIDENTITY, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
24
|
+
var params, testResultId, reportId, xRHIDENTITY, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
|
|
21
25
|
return __generator(this, function (_b) {
|
|
22
26
|
params = isReportTestResultObjectParams(config) ? config[0] : ['testResultId', 'reportId', 'xRHIDENTITY', 'options'].reduce(function (acc, curr, index) {
|
|
23
27
|
var _a;
|
|
@@ -38,10 +42,11 @@ export var reportTestResultParamCreator = function () {
|
|
|
38
42
|
}
|
|
39
43
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40
44
|
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
+
args = {
|
|
46
|
+
urlObj: localVarUrlObj,
|
|
47
|
+
options: localVarRequestOptions,
|
|
48
|
+
};
|
|
49
|
+
return [2 /*return*/, sendRequest(Promise.resolve(args))];
|
|
45
50
|
});
|
|
46
51
|
});
|
|
47
52
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../ReportTestResult/index.ts"],"names":[],"mappings":";AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAkCjU,IAAM,8BAA8B,GAAG,UAAC,MAA4C;IAClF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../ReportTestResult/index.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,EAAE,KAAA,CAAY;YAC/D,YAAY,GAAG,oDAAoD;iBACpE,OAAO,CAAC,WAAI,gBAAgB,MAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC;iBAC1E,OAAO,CAAC,WAAI,WAAW,MAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;YAEjE,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;YACvD,sBAAsB,cAAK,MAAM,EAAE,KAAe,IAAK,OAAO,CAAC,CAAC;YAChE,uBAAuB,GAAG,EAAS,CAAC;YACpC,sBAAsB,GAAG,EAAS,CAAC;YAEzC,IAAI,WAAW,IAAI,IAAI,EAAE,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,eAAe,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;YACxD,sBAAsB,CAAC,OAAO,yBAAO,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;AAED,eAAe,4BAA4B,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 { ReportTestResults200Response } from '../types';
|
|
4
4
|
export type ReportTestResultsParams = {
|
|
5
5
|
/**
|
|
@@ -52,13 +52,13 @@ export type ReportTestResultsParams = {
|
|
|
52
52
|
filter?: any;
|
|
53
53
|
options?: AxiosRequestConfig;
|
|
54
54
|
};
|
|
55
|
-
export type ReportTestResultsReturnType =
|
|
55
|
+
export type ReportTestResultsReturnType = ReportTestResults200Response;
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
57
|
+
* Retrieve all of the test results for a specific report.
|
|
58
58
|
* @summary Request Test Results under a Report
|
|
59
59
|
* @param {ReportTestResultsParams} config with all available params.
|
|
60
60
|
* @param {*} [options] Override http request option.
|
|
61
61
|
* @throws {RequiredError}
|
|
62
62
|
*/
|
|
63
|
-
export declare const reportTestResultsParamCreator: (...config: ([ReportTestResultsParams] | [any, any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<
|
|
63
|
+
export declare const reportTestResultsParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([ReportTestResultsParams] | [any, any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<ReportTestResults200Response, any, {}>>;
|
|
64
64
|
export default reportTestResultsParamCreator;
|
|
@@ -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 isReportTestResultsObjectParams = 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], 'reportId');
|
|
8
|
+
}
|
|
9
|
+
return false;
|
|
6
10
|
};
|
|
7
11
|
/**
|
|
8
|
-
*
|
|
12
|
+
* Retrieve all of the test results for a specific report.
|
|
9
13
|
* @summary Request Test Results under a Report
|
|
10
14
|
* @param {ReportTestResultsParams} config with all available params.
|
|
11
15
|
* @param {*} [options] Override http request option.
|
|
12
16
|
* @throws {RequiredError}
|
|
13
17
|
*/
|
|
14
|
-
export var reportTestResultsParamCreator = function () {
|
|
18
|
+
export var reportTestResultsParamCreator = 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, reportId, xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
24
|
+
var params, reportId, xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
|
|
21
25
|
return __generator(this, function (_b) {
|
|
22
26
|
params = isReportTestResultsObjectParams(config) ? config[0] : ['reportId', 'xRHIDENTITY', 'tags', 'limit', 'offset', 'idsOnly', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
|
|
23
27
|
var _a;
|
|
@@ -55,10 +59,11 @@ export var reportTestResultsParamCreator = function () {
|
|
|
55
59
|
}
|
|
56
60
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
57
61
|
localVarRequestOptions.headers = __assign(__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":["../../../ReportTestResults/index.ts"],"names":[],"mappings":";AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAA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M,CAAC;YAC9C,CAAC;YAED,IAAI,WAAW,IAAI,IAAI,EAAE,CAAC;gBACtB,uBAAuB,CAAC,eAAe,CAAC,GAAG,OAAO,WAAW,KAAK,QAAQ;oBACtE,CAAC,CAAC,WAAW;oBACb,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;YACtC,CAAC;YAID,eAAe,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;YACxD,sBAAsB,CAAC,OAAO,yBAAO,uBAAuB,GAAK,OAAO,CAAC,OAAO,CAAC,CAAC;YAE5E,IAAI,GAAG;gBACT,MAAM,EAAE,cAAc;gBACtB,OAAO,EAAE,sBAAsB;aAClC,CAAC;YAEF,sBAAO,WAAW,CAA8B,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,EAAC;;;CAC1E,CAAA;AAED,eAAe,6BAA6B,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 ReportTestResultsOSParams = {
|
|
4
4
|
/**
|
|
5
5
|
*
|
|
@@ -21,7 +21,7 @@ export type ReportTestResultsOSParams = {
|
|
|
21
21
|
filter?: any;
|
|
22
22
|
options?: AxiosRequestConfig;
|
|
23
23
|
};
|
|
24
|
-
export type ReportTestResultsOSReturnType =
|
|
24
|
+
export type ReportTestResultsOSReturnType = any;
|
|
25
25
|
/**
|
|
26
26
|
* This feature is exclusively used by the frontend
|
|
27
27
|
* @summary Request the list of available OS versions
|
|
@@ -30,5 +30,5 @@ export type ReportTestResultsOSReturnType = AxiosPromise<any>;
|
|
|
30
30
|
* @deprecated
|
|
31
31
|
* @throws {RequiredError}
|
|
32
32
|
*/
|
|
33
|
-
export declare const reportTestResultsOSParamCreator: (...config: ([ReportTestResultsOSParams] | [any, any, any, AxiosRequestConfig])) => Promise<
|
|
33
|
+
export declare const reportTestResultsOSParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([ReportTestResultsOSParams] | [any, any, any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
34
34
|
export default reportTestResultsOSParamCreator;
|
|
@@ -2,7 +2,11 @@ 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 isReportTestResultsOSObjectParams = 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], 'reportId');
|
|
8
|
+
}
|
|
9
|
+
return false;
|
|
6
10
|
};
|
|
7
11
|
/**
|
|
8
12
|
* This feature is exclusively used by the frontend
|
|
@@ -12,13 +16,13 @@ var isReportTestResultsOSObjectParams = function (params) {
|
|
|
12
16
|
* @deprecated
|
|
13
17
|
* @throws {RequiredError}
|
|
14
18
|
*/
|
|
15
|
-
export var reportTestResultsOSParamCreator = function () {
|
|
19
|
+
export var reportTestResultsOSParamCreator = function (sendRequest) {
|
|
16
20
|
var config = [];
|
|
17
|
-
for (var _i =
|
|
18
|
-
config[_i] = arguments[_i];
|
|
21
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
22
|
+
config[_i - 1] = arguments[_i];
|
|
19
23
|
}
|
|
20
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
21
|
-
var params, reportId, xRHIDENTITY, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
25
|
+
var params, reportId, xRHIDENTITY, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
|
|
22
26
|
return __generator(this, function (_b) {
|
|
23
27
|
params = isReportTestResultsOSObjectParams(config) ? config[0] : ['reportId', 'xRHIDENTITY', 'filter', 'options'].reduce(function (acc, curr, index) {
|
|
24
28
|
var _a;
|
|
@@ -41,10 +45,11 @@ export var reportTestResultsOSParamCreator = function () {
|
|
|
41
45
|
}
|
|
42
46
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
43
47
|
localVarRequestOptions.headers = __assign(__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":["../../../ReportTestResultsOS/index.ts"],"names":[],"mappings":";AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAkCjU,IAAM,iCAAiC,GAAG,UAAC,MAA+C;IACxF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../ReportTestResultsOS/index.ts"],"names":[],"mappings":";AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAkCjU,IAAM,iCAAiC,GAAG,UAAC,MAA+C;IACxF,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,CA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AAC,GAAG,OAAO,WAAW,KAAK,QAAQ;oBACtE,CAAC,CAAC,WAAW;oBACb,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;YACtC,CAAC;YAID,eAAe,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;YACxD,sBAAsB,CAAC,OAAO,yBAAO,uBAAuB,GAAK,OAAO,CAAC,OAAO,CAAC,CAAC;YAE5E,IAAI,GAAG;gBACT,MAAM,EAAE,cAAc;gBACtB,OAAO,EAAE,sBAAsB;aAClC,CAAC;YAEF,sBAAO,WAAW,CAAgC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,EAAC;;;CAC5E,CAAA;AAED,eAAe,+BAA+B,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 ReportTestResultsSGParams = {
|
|
4
4
|
/**
|
|
5
5
|
*
|
|
@@ -15,7 +15,7 @@ export type ReportTestResultsSGParams = {
|
|
|
15
15
|
xRHIDENTITY?: any;
|
|
16
16
|
options?: AxiosRequestConfig;
|
|
17
17
|
};
|
|
18
|
-
export type ReportTestResultsSGReturnType =
|
|
18
|
+
export type ReportTestResultsSGReturnType = any;
|
|
19
19
|
/**
|
|
20
20
|
* This feature is exclusively used by the frontend
|
|
21
21
|
* @summary Request the list of available Security Guide versions
|
|
@@ -24,5 +24,5 @@ export type ReportTestResultsSGReturnType = AxiosPromise<any>;
|
|
|
24
24
|
* @deprecated
|
|
25
25
|
* @throws {RequiredError}
|
|
26
26
|
*/
|
|
27
|
-
export declare const reportTestResultsSGParamCreator: (...config: ([ReportTestResultsSGParams] | [any, any, AxiosRequestConfig])) => Promise<
|
|
27
|
+
export declare const reportTestResultsSGParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([ReportTestResultsSGParams] | [any, any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
28
28
|
export default reportTestResultsSGParamCreator;
|
|
@@ -2,7 +2,11 @@ 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 isReportTestResultsSGObjectParams = 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], 'reportId');
|
|
8
|
+
}
|
|
9
|
+
return false;
|
|
6
10
|
};
|
|
7
11
|
/**
|
|
8
12
|
* This feature is exclusively used by the frontend
|
|
@@ -12,13 +16,13 @@ var isReportTestResultsSGObjectParams = function (params) {
|
|
|
12
16
|
* @deprecated
|
|
13
17
|
* @throws {RequiredError}
|
|
14
18
|
*/
|
|
15
|
-
export var reportTestResultsSGParamCreator = function () {
|
|
19
|
+
export var reportTestResultsSGParamCreator = function (sendRequest) {
|
|
16
20
|
var config = [];
|
|
17
|
-
for (var _i =
|
|
18
|
-
config[_i] = arguments[_i];
|
|
21
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
22
|
+
config[_i - 1] = arguments[_i];
|
|
19
23
|
}
|
|
20
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
21
|
-
var params, reportId, xRHIDENTITY, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
25
|
+
var params, reportId, xRHIDENTITY, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
|
|
22
26
|
return __generator(this, function (_b) {
|
|
23
27
|
params = isReportTestResultsSGObjectParams(config) ? config[0] : ['reportId', 'xRHIDENTITY', 'options'].reduce(function (acc, curr, index) {
|
|
24
28
|
var _a;
|
|
@@ -38,10 +42,11 @@ export var reportTestResultsSGParamCreator = function () {
|
|
|
38
42
|
}
|
|
39
43
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40
44
|
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
+
args = {
|
|
46
|
+
urlObj: localVarUrlObj,
|
|
47
|
+
options: localVarRequestOptions,
|
|
48
|
+
};
|
|
49
|
+
return [2 /*return*/, sendRequest(Promise.resolve(args))];
|
|
45
50
|
});
|
|
46
51
|
});
|
|
47
52
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../ReportTestResultsSG/index.ts"],"names":[],"mappings":";AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AA4BjU,IAAM,iCAAiC,GAAG,UAAC,MAA+C;IACxF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../ReportTestResultsSG/index.ts"],"names":[],"mappings":";AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AA4BjU,IAAM,iCAAiC,GAAG,UAAC,MAA+C;IACxF,IAAM,CAAC,GAAG,MAAM,CAAC,MAAM,KAAK,CAAC,CAAA;IAC7B,IAAG,CAAC,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACnE,OAAO,IAAI,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,CAAA;IAC5E,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AACD;;;;;;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AAC,CAAC;YAE5E,IAAI,GAAG;gBACT,MAAM,EAAE,cAAc;gBACtB,OAAO,EAAE,sBAAsB;aAClC,CAAC;YAEF,sBAAO,WAAW,CAAgC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,EAAC;;;CAC5E,CAAA;AAED,eAAe,+BAA+B,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 { Reports200Response } from '../types';
|
|
4
4
|
export type ReportsParams = {
|
|
5
5
|
/**
|
|
@@ -40,13 +40,13 @@ export type ReportsParams = {
|
|
|
40
40
|
filter?: any;
|
|
41
41
|
options?: AxiosRequestConfig;
|
|
42
42
|
};
|
|
43
|
-
export type ReportsReturnType =
|
|
43
|
+
export type ReportsReturnType = Reports200Response;
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
45
|
+
* Retrieve a list of all available reports.
|
|
46
46
|
* @summary Request Reports
|
|
47
47
|
* @param {ReportsParams} config with all available params.
|
|
48
48
|
* @param {*} [options] Override http request option.
|
|
49
49
|
* @throws {RequiredError}
|
|
50
50
|
*/
|
|
51
|
-
export declare const reportsParamCreator: (...config: ([ReportsParams] | [any, any, any, any, any, any, AxiosRequestConfig])) => Promise<
|
|
51
|
+
export declare const reportsParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([ReportsParams] | [any, any, any, any, any, any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<Reports200Response, any, {}>>;
|
|
52
52
|
export default reportsParamCreator;
|
|
@@ -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 isReportsObjectParams = function (params) {
|
|
5
|
-
|
|
5
|
+
var l = params.length === 1;
|
|
6
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
7
|
+
return true;
|
|
8
|
+
}
|
|
9
|
+
return false;
|
|
6
10
|
};
|
|
7
11
|
/**
|
|
8
|
-
*
|
|
12
|
+
* Retrieve a list of all available reports.
|
|
9
13
|
* @summary Request Reports
|
|
10
14
|
* @param {ReportsParams} config with all available params.
|
|
11
15
|
* @param {*} [options] Override http request option.
|
|
12
16
|
* @throws {RequiredError}
|
|
13
17
|
*/
|
|
14
|
-
export var reportsParamCreator = function () {
|
|
18
|
+
export var reportsParamCreator = 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, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
24
|
+
var params, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
|
|
21
25
|
return __generator(this, function (_b) {
|
|
22
26
|
params = isReportsObjectParams(config) ? config[0] : ['xRHIDENTITY', 'limit', 'offset', 'idsOnly', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
|
|
23
27
|
var _a;
|
|
@@ -51,10 +55,11 @@ export var reportsParamCreator = function () {
|
|
|
51
55
|
}
|
|
52
56
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
53
57
|
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
+
args = {
|
|
59
|
+
urlObj: localVarUrlObj,
|
|
60
|
+
options: localVarRequestOptions,
|
|
61
|
+
};
|
|
62
|
+
return [2 /*return*/, sendRequest(Promise.resolve(args))];
|
|
58
63
|
});
|
|
59
64
|
});
|
|
60
65
|
};
|