@redhat-cloud-services/compliance-client 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/LICENSE +201 -0
- package/README.md +67 -0
- package/dist/AssignRule/index.d.ts +38 -0
- package/dist/AssignRule/index.js +54 -0
- package/dist/AssignRule/index.js.map +1 -0
- package/dist/AssignRules/index.d.ts +40 -0
- package/dist/AssignRules/index.js +56 -0
- package/dist/AssignRules/index.js.map +1 -0
- package/dist/AssignSystem/index.d.ts +32 -0
- package/dist/AssignSystem/index.js +53 -0
- package/dist/AssignSystem/index.js.map +1 -0
- package/dist/AssignSystems/index.d.ts +34 -0
- package/dist/AssignSystems/index.js +55 -0
- package/dist/AssignSystems/index.js.map +1 -0
- package/dist/CreatePolicy/index.d.ts +27 -0
- package/dist/CreatePolicy/index.js +53 -0
- package/dist/CreatePolicy/index.js.map +1 -0
- package/dist/DeletePolicy/index.d.ts +26 -0
- package/dist/DeletePolicy/index.js +52 -0
- package/dist/DeletePolicy/index.js.map +1 -0
- package/dist/Policies/index.d.ts +44 -0
- package/dist/Policies/index.js +63 -0
- package/dist/Policies/index.js.map +1 -0
- package/dist/Policy/index.d.ts +26 -0
- package/dist/Policy/index.js +52 -0
- package/dist/Policy/index.js.map +1 -0
- package/dist/PolicySystems/index.d.ts +50 -0
- package/dist/PolicySystems/index.js +64 -0
- package/dist/PolicySystems/index.js.map +1 -0
- package/dist/Profile/index.d.ts +32 -0
- package/dist/Profile/index.js +53 -0
- package/dist/Profile/index.js.map +1 -0
- package/dist/ProfileRule/index.d.ts +38 -0
- package/dist/ProfileRule/index.js +54 -0
- package/dist/ProfileRule/index.js.map +1 -0
- package/dist/ProfileRules/index.d.ts +56 -0
- package/dist/ProfileRules/index.js +65 -0
- package/dist/ProfileRules/index.js.map +1 -0
- package/dist/Profiles/index.d.ts +50 -0
- package/dist/Profiles/index.js +64 -0
- package/dist/Profiles/index.js.map +1 -0
- package/dist/Rule/index.d.ts +32 -0
- package/dist/Rule/index.js +53 -0
- package/dist/Rule/index.js.map +1 -0
- package/dist/RuleGroup/index.d.ts +32 -0
- package/dist/RuleGroup/index.js +53 -0
- package/dist/RuleGroup/index.js.map +1 -0
- package/dist/RuleGroups/index.d.ts +50 -0
- package/dist/RuleGroups/index.js +64 -0
- package/dist/RuleGroups/index.js.map +1 -0
- package/dist/Rules/index.d.ts +50 -0
- package/dist/Rules/index.js +64 -0
- package/dist/Rules/index.js.map +1 -0
- package/dist/SecurityGuide/index.d.ts +26 -0
- package/dist/SecurityGuide/index.js +52 -0
- package/dist/SecurityGuide/index.js.map +1 -0
- package/dist/SecurityGuideRuleTree/index.d.ts +26 -0
- package/dist/SecurityGuideRuleTree/index.js +52 -0
- package/dist/SecurityGuideRuleTree/index.js.map +1 -0
- package/dist/SecurityGuides/index.d.ts +44 -0
- package/dist/SecurityGuides/index.js +63 -0
- package/dist/SecurityGuides/index.js.map +1 -0
- package/dist/SupportedProfiles/index.d.ts +44 -0
- package/dist/SupportedProfiles/index.js +63 -0
- package/dist/SupportedProfiles/index.js.map +1 -0
- package/dist/System/index.d.ts +26 -0
- package/dist/System/index.js +52 -0
- package/dist/System/index.js.map +1 -0
- package/dist/Systems/index.d.ts +44 -0
- package/dist/Systems/index.js +63 -0
- package/dist/Systems/index.js.map +1 -0
- package/dist/SystemsPolicies/index.d.ts +50 -0
- package/dist/SystemsPolicies/index.js +64 -0
- package/dist/SystemsPolicies/index.js.map +1 -0
- package/dist/Tailoring/index.d.ts +32 -0
- package/dist/Tailoring/index.js +53 -0
- package/dist/Tailoring/index.js.map +1 -0
- package/dist/TailoringFile/index.d.ts +32 -0
- package/dist/TailoringFile/index.js +53 -0
- package/dist/TailoringFile/index.js.map +1 -0
- package/dist/TailoringRules/index.d.ts +56 -0
- package/dist/TailoringRules/index.js +65 -0
- package/dist/TailoringRules/index.js.map +1 -0
- package/dist/Tailorings/index.d.ts +50 -0
- package/dist/Tailorings/index.js +64 -0
- package/dist/Tailorings/index.js.map +1 -0
- package/dist/UnassignRule/index.d.ts +38 -0
- package/dist/UnassignRule/index.js +54 -0
- package/dist/UnassignRule/index.js.map +1 -0
- package/dist/UnassignSystem/index.d.ts +32 -0
- package/dist/UnassignSystem/index.js +53 -0
- package/dist/UnassignSystem/index.js.map +1 -0
- package/dist/UpdatePolicy/index.d.ts +33 -0
- package/dist/UpdatePolicy/index.js +54 -0
- package/dist/UpdatePolicy/index.js.map +1 -0
- package/dist/ValueDefinition/index.d.ts +32 -0
- package/dist/ValueDefinition/index.js +53 -0
- package/dist/ValueDefinition/index.js.map +1 -0
- package/dist/ValueDefinitions/index.d.ts +50 -0
- package/dist/ValueDefinitions/index.js +64 -0
- package/dist/ValueDefinitions/index.js.map +1 -0
- package/dist/api.d.ts +4310 -0
- package/dist/api.js +4565 -0
- package/dist/api.js.map +1 -0
- package/dist/base.d.ts +54 -0
- package/dist/base.js +67 -0
- package/dist/base.js.map +1 -0
- package/dist/common.d.ts +65 -0
- package/dist/common.js +207 -0
- package/dist/common.js.map +1 -0
- package/dist/configuration.d.ts +83 -0
- package/dist/configuration.js +45 -0
- package/dist/configuration.js.map +1 -0
- package/dist/index.d.ts +34 -0
- package/dist/index.js +106 -0
- package/dist/index.js.map +1 -0
- package/dist/types/index.d.ts +1103 -0
- package/dist/types/index.js +31 -0
- package/dist/types/index.js.map +1 -0
- package/doc/.nojekyll +1 -0
- package/doc/README.md +69 -0
- package/doc/interfaces/AssignRulesRequest.md +27 -0
- package/doc/interfaces/CreatePolicy201Response.md +27 -0
- package/doc/interfaces/CreatePolicy201ResponseData.md +27 -0
- package/doc/interfaces/Errors.md +27 -0
- package/doc/interfaces/Links.md +80 -0
- package/doc/interfaces/Metadata.md +97 -0
- package/doc/interfaces/Policies200Response.md +57 -0
- package/doc/interfaces/Policy.md +195 -0
- package/doc/interfaces/PolicyUpdate.md +63 -0
- package/doc/interfaces/Profile.md +110 -0
- package/doc/interfaces/Profile200Response.md +27 -0
- package/doc/interfaces/Profile200ResponseData.md +27 -0
- package/doc/interfaces/Profiles200Response.md +57 -0
- package/doc/interfaces/Rule.md +161 -0
- package/doc/interfaces/Rule200Response.md +27 -0
- package/doc/interfaces/Rule200ResponseData.md +27 -0
- package/doc/interfaces/RuleGroup.md +127 -0
- package/doc/interfaces/RuleGroup200Response.md +27 -0
- package/doc/interfaces/RuleGroup200ResponseData.md +27 -0
- package/doc/interfaces/RuleGroups200Response.md +57 -0
- package/doc/interfaces/Rules200Response.md +57 -0
- package/doc/interfaces/SecurityGuide.md +127 -0
- package/doc/interfaces/SecurityGuide200Response.md +27 -0
- package/doc/interfaces/SecurityGuide200ResponseData.md +27 -0
- package/doc/interfaces/SecurityGuides200Response.md +57 -0
- package/doc/interfaces/SupportedProfile.md +127 -0
- package/doc/interfaces/SupportedProfiles200Response.md +57 -0
- package/doc/interfaces/System.md +215 -0
- package/doc/interfaces/System200Response.md +27 -0
- package/doc/interfaces/System200ResponseData.md +27 -0
- package/doc/interfaces/Systems200Response.md +57 -0
- package/doc/interfaces/Tailoring.md +110 -0
- package/doc/interfaces/Tailoring200Response.md +27 -0
- package/doc/interfaces/Tailoring200ResponseData.md +27 -0
- package/doc/interfaces/TailoringFile.md +33 -0
- package/doc/interfaces/Tailorings200Response.md +57 -0
- package/doc/interfaces/ValueDefinition.md +127 -0
- package/doc/interfaces/ValueDefinition200Response.md +27 -0
- package/doc/interfaces/ValueDefinition200ResponseData.md +27 -0
- package/doc/interfaces/ValueDefinitions200Response.md +57 -0
- package/doc/modules.md +1306 -0
- package/package.json +30 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../RuleGroups/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,kFAA4T;AAkD5T,IAAM,wBAAwB,GAAG,UAAC,MAAsC;IACtE,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC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;gBACrB,sBAAsB,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;aAC3C;YAED,IAAI,MAAM,KAAK,SAAS,EAAE;gBACtB,sBAAsB,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;aAC7C;YAED,IAAI,MAAM,KAAK,SAAS,EAAE;gBACtB,sBAAsB,CAAC,SAAS,CAAC,GAAG,MAAM,CAAC;aAC9C;YAED,IAAI,MAAM,KAAK,SAAS,EAAE;gBACtB,sBAAsB,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;aAC7C;YAED,IAAI,WAAW,IAAI,IAAI,EAAE;gBACrB,uBAAuB,CAAC,eAAe,CAAC,GAAG,OAAO,WAAW,KAAK,QAAQ;oBACtE,CAAC,CAAC,WAAW;oBACb,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;aACrC;YAID,IAAA,wBAAe,EAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;YACxD,sBAAsB,CAAC,OAAO,yCAAO,uBAAuB,GAAK,OAAO,CAAC,OAAO,CAAC,CAAC;YAElF,sBAAO;oBACH,MAAM,EAAE,cAAc;oBACtB,OAAO,EAAE,sBAAsB;iBAClC,EAAC;;;CACL,CAAA;AA1CY,QAAA,sBAAsB,0BA0ClC;AAED,kBAAe,8BAAsB,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/common';
|
|
3
|
+
export type RulesParams = {
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @type { any }
|
|
7
|
+
* @memberof RulesApi
|
|
8
|
+
*/
|
|
9
|
+
securityGuideId: any;
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @type { any }
|
|
13
|
+
* @memberof RulesApi
|
|
14
|
+
*/
|
|
15
|
+
xRHIDENTITY?: any;
|
|
16
|
+
/**
|
|
17
|
+
* Number of items to return per page
|
|
18
|
+
* @type { any }
|
|
19
|
+
* @memberof RulesApi
|
|
20
|
+
*/
|
|
21
|
+
limit?: any;
|
|
22
|
+
/**
|
|
23
|
+
* Offset of first item of paginated response
|
|
24
|
+
* @type { any }
|
|
25
|
+
* @memberof RulesApi
|
|
26
|
+
*/
|
|
27
|
+
offset?: any;
|
|
28
|
+
/**
|
|
29
|
+
* Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
30
|
+
* @type { any }
|
|
31
|
+
* @memberof RulesApi
|
|
32
|
+
*/
|
|
33
|
+
sortBy?: any;
|
|
34
|
+
/**
|
|
35
|
+
* Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title` and `severity`<br><br>(e.g.: `(version=0.1.47 AND os_major_verision=8)`)
|
|
36
|
+
* @type { any }
|
|
37
|
+
* @memberof RulesApi
|
|
38
|
+
*/
|
|
39
|
+
filter?: any;
|
|
40
|
+
options?: AxiosRequestConfig;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Lists Rules assigned
|
|
44
|
+
* @summary Request Rules
|
|
45
|
+
* @param {RulesParams} config with all available params.
|
|
46
|
+
* @param {*} [options] Override http request option.
|
|
47
|
+
* @throws {RequiredError}
|
|
48
|
+
*/
|
|
49
|
+
export declare const rulesParamCreator: (...config: ([RulesParams] | [any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
50
|
+
export default rulesParamCreator;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.rulesParamCreator = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
var common_1 = require("@redhat-cloud-services/javascript-clients-shared/common");
|
|
7
|
+
var isRulesObjectParams = function (params) {
|
|
8
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'securityGuideId') && true && true && true && true && true;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Lists Rules assigned
|
|
12
|
+
* @summary Request Rules
|
|
13
|
+
* @param {RulesParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
var rulesParamCreator = function () {
|
|
18
|
+
var config = [];
|
|
19
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
20
|
+
config[_i] = arguments[_i];
|
|
21
|
+
}
|
|
22
|
+
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
23
|
+
var params, securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
24
|
+
return tslib_1.__generator(this, function (_b) {
|
|
25
|
+
params = isRulesObjectParams(config) ? config[0] : ['securityGuideId', 'xRHIDENTITY', 'limit', 'offset', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
|
|
26
|
+
var _a;
|
|
27
|
+
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
28
|
+
}, {});
|
|
29
|
+
securityGuideId = params.securityGuideId, xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
30
|
+
localVarPath = "/security_guides/{security_guide_id}/rules"
|
|
31
|
+
.replace("{".concat("security_guide_id", "}"), encodeURIComponent(String(securityGuideId)));
|
|
32
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
33
|
+
localVarRequestOptions = tslib_1.__assign({ method: 'GET' }, options);
|
|
34
|
+
localVarHeaderParameter = {};
|
|
35
|
+
localVarQueryParameter = {};
|
|
36
|
+
if (limit !== undefined) {
|
|
37
|
+
localVarQueryParameter['limit'] = limit;
|
|
38
|
+
}
|
|
39
|
+
if (offset !== undefined) {
|
|
40
|
+
localVarQueryParameter['offset'] = offset;
|
|
41
|
+
}
|
|
42
|
+
if (sortBy !== undefined) {
|
|
43
|
+
localVarQueryParameter['sort_by'] = sortBy;
|
|
44
|
+
}
|
|
45
|
+
if (filter !== undefined) {
|
|
46
|
+
localVarQueryParameter['filter'] = filter;
|
|
47
|
+
}
|
|
48
|
+
if (xRHIDENTITY != null) {
|
|
49
|
+
localVarHeaderParameter['X-RH-IDENTITY'] = typeof xRHIDENTITY === 'string'
|
|
50
|
+
? xRHIDENTITY
|
|
51
|
+
: JSON.stringify(xRHIDENTITY);
|
|
52
|
+
}
|
|
53
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
54
|
+
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
55
|
+
return [2 /*return*/, {
|
|
56
|
+
urlObj: localVarUrlObj,
|
|
57
|
+
options: localVarRequestOptions,
|
|
58
|
+
}];
|
|
59
|
+
});
|
|
60
|
+
});
|
|
61
|
+
};
|
|
62
|
+
exports.rulesParamCreator = rulesParamCreator;
|
|
63
|
+
exports.default = exports.rulesParamCreator;
|
|
64
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../Rules/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,kFAA4T;AAkD5T,IAAM,mBAAmB,GAAG,UAAC,MAAiC;IAC5D,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,iBAAiB,CAAC,IAA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GAAG,KAAK,CAAC;aAC3C;YAED,IAAI,MAAM,KAAK,SAAS,EAAE;gBACtB,sBAAsB,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;aAC7C;YAED,IAAI,MAAM,KAAK,SAAS,EAAE;gBACtB,sBAAsB,CAAC,SAAS,CAAC,GAAG,MAAM,CAAC;aAC9C;YAED,IAAI,MAAM,KAAK,SAAS,EAAE;gBACtB,sBAAsB,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;aAC7C;YAED,IAAI,WAAW,IAAI,IAAI,EAAE;gBACrB,uBAAuB,CAAC,eAAe,CAAC,GAAG,OAAO,WAAW,KAAK,QAAQ;oBACtE,CAAC,CAAC,WAAW;oBACb,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;aACrC;YAID,IAAA,wBAAe,EAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;YACxD,sBAAsB,CAAC,OAAO,yCAAO,uBAAuB,GAAK,OAAO,CAAC,OAAO,CAAC,CAAC;YAElF,sBAAO;oBACH,MAAM,EAAE,cAAc;oBACtB,OAAO,EAAE,sBAAsB;iBAClC,EAAC;;;CACL,CAAA;AA1CY,QAAA,iBAAiB,qBA0C7B;AAED,kBAAe,yBAAiB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/common';
|
|
3
|
+
export type SecurityGuideParams = {
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @type { any }
|
|
7
|
+
* @memberof SecurityGuideApi
|
|
8
|
+
*/
|
|
9
|
+
id: any;
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @type { any }
|
|
13
|
+
* @memberof SecurityGuideApi
|
|
14
|
+
*/
|
|
15
|
+
xRHIDENTITY?: any;
|
|
16
|
+
options?: AxiosRequestConfig;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Returns a Security Guide
|
|
20
|
+
* @summary Request a Security Guide
|
|
21
|
+
* @param {SecurityGuideParams} config with all available params.
|
|
22
|
+
* @param {*} [options] Override http request option.
|
|
23
|
+
* @throws {RequiredError}
|
|
24
|
+
*/
|
|
25
|
+
export declare const securityGuideParamCreator: (...config: ([SecurityGuideParams] | [any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
26
|
+
export default securityGuideParamCreator;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.securityGuideParamCreator = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
var common_1 = require("@redhat-cloud-services/javascript-clients-shared/common");
|
|
7
|
+
var isSecurityGuideObjectParams = function (params) {
|
|
8
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'id') && true;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Returns a Security Guide
|
|
12
|
+
* @summary Request a Security Guide
|
|
13
|
+
* @param {SecurityGuideParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
var securityGuideParamCreator = function () {
|
|
18
|
+
var config = [];
|
|
19
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
20
|
+
config[_i] = arguments[_i];
|
|
21
|
+
}
|
|
22
|
+
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
23
|
+
var params, id, xRHIDENTITY, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
24
|
+
return tslib_1.__generator(this, function (_b) {
|
|
25
|
+
params = isSecurityGuideObjectParams(config) ? config[0] : ['id', 'xRHIDENTITY', 'options'].reduce(function (acc, curr, index) {
|
|
26
|
+
var _a;
|
|
27
|
+
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
28
|
+
}, {});
|
|
29
|
+
id = params.id, xRHIDENTITY = params.xRHIDENTITY, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
30
|
+
localVarPath = "/security_guides/{id}"
|
|
31
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
32
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
33
|
+
localVarRequestOptions = tslib_1.__assign({ method: 'GET' }, options);
|
|
34
|
+
localVarHeaderParameter = {};
|
|
35
|
+
localVarQueryParameter = {};
|
|
36
|
+
if (xRHIDENTITY != null) {
|
|
37
|
+
localVarHeaderParameter['X-RH-IDENTITY'] = typeof xRHIDENTITY === 'string'
|
|
38
|
+
? xRHIDENTITY
|
|
39
|
+
: JSON.stringify(xRHIDENTITY);
|
|
40
|
+
}
|
|
41
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
42
|
+
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
43
|
+
return [2 /*return*/, {
|
|
44
|
+
urlObj: localVarUrlObj,
|
|
45
|
+
options: localVarRequestOptions,
|
|
46
|
+
}];
|
|
47
|
+
});
|
|
48
|
+
});
|
|
49
|
+
};
|
|
50
|
+
exports.securityGuideParamCreator = securityGuideParamCreator;
|
|
51
|
+
exports.default = exports.securityGuideParamCreator;
|
|
52
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../SecurityGuide/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,kFAA4T;AA0B5T,IAAM,2BAA2B,GAAG,UAAC,MAAyC;IAC5E,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI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K,OAAO,CAAC,OAAO,CAAC,CAAC;YAElF,sBAAO;oBACH,MAAM,EAAE,cAAc;oBACtB,OAAO,EAAE,sBAAsB;iBAClC,EAAC;;;CACL,CAAA;AA1BY,QAAA,yBAAyB,6BA0BrC;AAED,kBAAe,iCAAyB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/common';
|
|
3
|
+
export type SecurityGuideRuleTreeParams = {
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @type { any }
|
|
7
|
+
* @memberof SecurityGuideRuleTreeApi
|
|
8
|
+
*/
|
|
9
|
+
id: any;
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @type { any }
|
|
13
|
+
* @memberof SecurityGuideRuleTreeApi
|
|
14
|
+
*/
|
|
15
|
+
xRHIDENTITY?: any;
|
|
16
|
+
options?: AxiosRequestConfig;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Returns the Rule Tree of a Security Guide
|
|
20
|
+
* @summary Request the Rule Tree of a Security Guide
|
|
21
|
+
* @param {SecurityGuideRuleTreeParams} config with all available params.
|
|
22
|
+
* @param {*} [options] Override http request option.
|
|
23
|
+
* @throws {RequiredError}
|
|
24
|
+
*/
|
|
25
|
+
export declare const securityGuideRuleTreeParamCreator: (...config: ([SecurityGuideRuleTreeParams] | [any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
26
|
+
export default securityGuideRuleTreeParamCreator;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.securityGuideRuleTreeParamCreator = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
var common_1 = require("@redhat-cloud-services/javascript-clients-shared/common");
|
|
7
|
+
var isSecurityGuideRuleTreeObjectParams = function (params) {
|
|
8
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'id') && true;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Returns the Rule Tree of a Security Guide
|
|
12
|
+
* @summary Request the Rule Tree of a Security Guide
|
|
13
|
+
* @param {SecurityGuideRuleTreeParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
var securityGuideRuleTreeParamCreator = function () {
|
|
18
|
+
var config = [];
|
|
19
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
20
|
+
config[_i] = arguments[_i];
|
|
21
|
+
}
|
|
22
|
+
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
23
|
+
var params, id, xRHIDENTITY, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
24
|
+
return tslib_1.__generator(this, function (_b) {
|
|
25
|
+
params = isSecurityGuideRuleTreeObjectParams(config) ? config[0] : ['id', 'xRHIDENTITY', 'options'].reduce(function (acc, curr, index) {
|
|
26
|
+
var _a;
|
|
27
|
+
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
28
|
+
}, {});
|
|
29
|
+
id = params.id, xRHIDENTITY = params.xRHIDENTITY, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
30
|
+
localVarPath = "/security_guides/{id}/rule_tree"
|
|
31
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
32
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
33
|
+
localVarRequestOptions = tslib_1.__assign({ method: 'GET' }, options);
|
|
34
|
+
localVarHeaderParameter = {};
|
|
35
|
+
localVarQueryParameter = {};
|
|
36
|
+
if (xRHIDENTITY != null) {
|
|
37
|
+
localVarHeaderParameter['X-RH-IDENTITY'] = typeof xRHIDENTITY === 'string'
|
|
38
|
+
? xRHIDENTITY
|
|
39
|
+
: JSON.stringify(xRHIDENTITY);
|
|
40
|
+
}
|
|
41
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
42
|
+
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
43
|
+
return [2 /*return*/, {
|
|
44
|
+
urlObj: localVarUrlObj,
|
|
45
|
+
options: localVarRequestOptions,
|
|
46
|
+
}];
|
|
47
|
+
});
|
|
48
|
+
});
|
|
49
|
+
};
|
|
50
|
+
exports.securityGuideRuleTreeParamCreator = securityGuideRuleTreeParamCreator;
|
|
51
|
+
exports.default = exports.securityGuideRuleTreeParamCreator;
|
|
52
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../SecurityGuideRuleTree/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,kFAA4T;AA0B5T,IAAM,mCAAmC,GAAG,UAAC,MAAiD;IAC5F,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,IAAI,CAAA;AAC1F,CAAC,CAAA;AACD;;;;;;EAME;AACK,IAAM,iCAAiC,GAAG;IAAO,gBAA2E;SAA3E,UAA2E,EAA3E,qBAA2E,EAA3E,IAA2E;QAA3E,2BAA2E;;;;;YACzH,MAAM,GAAG,mCAAmC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,aAAa,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,UAAC,GAAG,EAAE,IAAI,EAAE,KAAK;;gBAAK,OAAA,uCAAM,GAAG,gBAAG,IAAI,IAAG,MAAM,CAAC,KAAK,CAAC,OAAG;YAAnC,CAAmC,EAAE,EAAE,CAAgC,CAAC;YACvM,EAAE,GAAgC,MAAM,GAAtC,EAAE,WAAW,GAAmB,MAAM,YAAzB,EAAE,KAAiB,MAAM,QAAX,EAAZ,OAAO,mBAAG,EAAE,KAAA,CAAY;YAC3C,YAAY,GAAG,iCAAiC;iBACjD,OAAO,CAAC,WAAI,IAAI,MAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;YAEpD,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;gBACrB,uBAAuB,CAAC,eAAe,CAAC,GAAG,OAAO,WAAW,KAAK,QAAQ;oBACtE,CAAC,CAAC,WAAW;oBACb,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;aACrC;YAID,IAAA,wBAAe,EAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;YACxD,sBAAsB,CAAC,OAAO,yCAAO,uBAAuB,GAAK,OAAO,CAAC,OAAO,CAAC,CAAC;YAElF,sBAAO;oBACH,MAAM,EAAE,cAAc;oBACtB,OAAO,EAAE,sBAAsB;iBAClC,EAAC;;;CACL,CAAA;AA1BY,QAAA,iCAAiC,qCA0B7C;AAED,kBAAe,yCAAiC,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/common';
|
|
3
|
+
export type SecurityGuidesParams = {
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @type { any }
|
|
7
|
+
* @memberof SecurityGuidesApi
|
|
8
|
+
*/
|
|
9
|
+
xRHIDENTITY?: any;
|
|
10
|
+
/**
|
|
11
|
+
* Number of items to return per page
|
|
12
|
+
* @type { any }
|
|
13
|
+
* @memberof SecurityGuidesApi
|
|
14
|
+
*/
|
|
15
|
+
limit?: any;
|
|
16
|
+
/**
|
|
17
|
+
* Offset of first item of paginated response
|
|
18
|
+
* @type { any }
|
|
19
|
+
* @memberof SecurityGuidesApi
|
|
20
|
+
*/
|
|
21
|
+
offset?: any;
|
|
22
|
+
/**
|
|
23
|
+
* Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
24
|
+
* @type { any }
|
|
25
|
+
* @memberof SecurityGuidesApi
|
|
26
|
+
*/
|
|
27
|
+
sortBy?: any;
|
|
28
|
+
/**
|
|
29
|
+
* 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>Security Guides are searchable using attributes `title`, `version`, `ref_id`, and `os_major_version`<br><br>(e.g.: `(version=0.1.47 AND os_major_verision=8)`)
|
|
30
|
+
* @type { any }
|
|
31
|
+
* @memberof SecurityGuidesApi
|
|
32
|
+
*/
|
|
33
|
+
filter?: any;
|
|
34
|
+
options?: AxiosRequestConfig;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Lists Security Guides
|
|
38
|
+
* @summary Request Security Guides
|
|
39
|
+
* @param {SecurityGuidesParams} config with all available params.
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
*/
|
|
43
|
+
export declare const securityGuidesParamCreator: (...config: ([SecurityGuidesParams] | [any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
44
|
+
export default securityGuidesParamCreator;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.securityGuidesParamCreator = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
var common_1 = require("@redhat-cloud-services/javascript-clients-shared/common");
|
|
7
|
+
var isSecurityGuidesObjectParams = function (params) {
|
|
8
|
+
return params.length === 1 && true && true && true && true && true;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Lists Security Guides
|
|
12
|
+
* @summary Request Security Guides
|
|
13
|
+
* @param {SecurityGuidesParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
var securityGuidesParamCreator = function () {
|
|
18
|
+
var config = [];
|
|
19
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
20
|
+
config[_i] = arguments[_i];
|
|
21
|
+
}
|
|
22
|
+
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
23
|
+
var params, xRHIDENTITY, limit, offset, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
24
|
+
return tslib_1.__generator(this, function (_b) {
|
|
25
|
+
params = isSecurityGuidesObjectParams(config) ? config[0] : ['xRHIDENTITY', 'limit', 'offset', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
|
|
26
|
+
var _a;
|
|
27
|
+
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
28
|
+
}, {});
|
|
29
|
+
xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
30
|
+
localVarPath = "/security_guides";
|
|
31
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
32
|
+
localVarRequestOptions = tslib_1.__assign({ method: 'GET' }, options);
|
|
33
|
+
localVarHeaderParameter = {};
|
|
34
|
+
localVarQueryParameter = {};
|
|
35
|
+
if (limit !== undefined) {
|
|
36
|
+
localVarQueryParameter['limit'] = limit;
|
|
37
|
+
}
|
|
38
|
+
if (offset !== undefined) {
|
|
39
|
+
localVarQueryParameter['offset'] = offset;
|
|
40
|
+
}
|
|
41
|
+
if (sortBy !== undefined) {
|
|
42
|
+
localVarQueryParameter['sort_by'] = sortBy;
|
|
43
|
+
}
|
|
44
|
+
if (filter !== undefined) {
|
|
45
|
+
localVarQueryParameter['filter'] = filter;
|
|
46
|
+
}
|
|
47
|
+
if (xRHIDENTITY != null) {
|
|
48
|
+
localVarHeaderParameter['X-RH-IDENTITY'] = typeof xRHIDENTITY === 'string'
|
|
49
|
+
? xRHIDENTITY
|
|
50
|
+
: JSON.stringify(xRHIDENTITY);
|
|
51
|
+
}
|
|
52
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
53
|
+
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
54
|
+
return [2 /*return*/, {
|
|
55
|
+
urlObj: localVarUrlObj,
|
|
56
|
+
options: localVarRequestOptions,
|
|
57
|
+
}];
|
|
58
|
+
});
|
|
59
|
+
});
|
|
60
|
+
};
|
|
61
|
+
exports.securityGuidesParamCreator = securityGuidesParamCreator;
|
|
62
|
+
exports.default = exports.securityGuidesParamCreator;
|
|
63
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../SecurityGuides/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,kFAA4T;AA4C5T,IAAM,4BAA4B,GAAG,UAAC,MAA0C;IAC9E,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,CAAA;AACpE,CAAC,CA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I,MAAM,KAAK,SAAS,EAAE;gBACtB,sBAAsB,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;aAC7C;YAED,IAAI,WAAW,IAAI,IAAI,EAAE;gBACrB,uBAAuB,CAAC,eAAe,CAAC,GAAG,OAAO,WAAW,KAAK,QAAQ;oBACtE,CAAC,CAAC,WAAW;oBACb,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;aACrC;YAID,IAAA,wBAAe,EAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;YACxD,sBAAsB,CAAC,OAAO,yCAAO,uBAAuB,GAAK,OAAO,CAAC,OAAO,CAAC,CAAC;YAElF,sBAAO;oBACH,MAAM,EAAE,cAAc;oBACtB,OAAO,EAAE,sBAAsB;iBAClC,EAAC;;;CACL,CAAA;AAzCY,QAAA,0BAA0B,8BAyCtC;AAED,kBAAe,kCAA0B,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/common';
|
|
3
|
+
export type SupportedProfilesParams = {
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @type { any }
|
|
7
|
+
* @memberof SupportedProfilesApi
|
|
8
|
+
*/
|
|
9
|
+
xRHIDENTITY?: any;
|
|
10
|
+
/**
|
|
11
|
+
* Number of items to return per page
|
|
12
|
+
* @type { any }
|
|
13
|
+
* @memberof SupportedProfilesApi
|
|
14
|
+
*/
|
|
15
|
+
limit?: any;
|
|
16
|
+
/**
|
|
17
|
+
* Offset of first item of paginated response
|
|
18
|
+
* @type { any }
|
|
19
|
+
* @memberof SupportedProfilesApi
|
|
20
|
+
*/
|
|
21
|
+
offset?: any;
|
|
22
|
+
/**
|
|
23
|
+
* Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
24
|
+
* @type { any }
|
|
25
|
+
* @memberof SupportedProfilesApi
|
|
26
|
+
*/
|
|
27
|
+
sortBy?: any;
|
|
28
|
+
/**
|
|
29
|
+
* 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>Supported Profiles are searchable using attributes `os_major_version`<br><br>(e.g.: `(version=0.1.47 AND os_major_verision=8)`)
|
|
30
|
+
* @type { any }
|
|
31
|
+
* @memberof SupportedProfilesApi
|
|
32
|
+
*/
|
|
33
|
+
filter?: any;
|
|
34
|
+
options?: AxiosRequestConfig;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Lists Supported Profiles
|
|
38
|
+
* @summary Request Supported Profiles
|
|
39
|
+
* @param {SupportedProfilesParams} config with all available params.
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
*/
|
|
43
|
+
export declare const supportedProfilesParamCreator: (...config: ([SupportedProfilesParams] | [any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
44
|
+
export default supportedProfilesParamCreator;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.supportedProfilesParamCreator = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
var common_1 = require("@redhat-cloud-services/javascript-clients-shared/common");
|
|
7
|
+
var isSupportedProfilesObjectParams = function (params) {
|
|
8
|
+
return params.length === 1 && true && true && true && true && true;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Lists Supported Profiles
|
|
12
|
+
* @summary Request Supported Profiles
|
|
13
|
+
* @param {SupportedProfilesParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
var supportedProfilesParamCreator = function () {
|
|
18
|
+
var config = [];
|
|
19
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
20
|
+
config[_i] = arguments[_i];
|
|
21
|
+
}
|
|
22
|
+
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
23
|
+
var params, xRHIDENTITY, limit, offset, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
24
|
+
return tslib_1.__generator(this, function (_b) {
|
|
25
|
+
params = isSupportedProfilesObjectParams(config) ? config[0] : ['xRHIDENTITY', 'limit', 'offset', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
|
|
26
|
+
var _a;
|
|
27
|
+
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
28
|
+
}, {});
|
|
29
|
+
xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
30
|
+
localVarPath = "/security_guides/supported_profiles";
|
|
31
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
32
|
+
localVarRequestOptions = tslib_1.__assign({ method: 'GET' }, options);
|
|
33
|
+
localVarHeaderParameter = {};
|
|
34
|
+
localVarQueryParameter = {};
|
|
35
|
+
if (limit !== undefined) {
|
|
36
|
+
localVarQueryParameter['limit'] = limit;
|
|
37
|
+
}
|
|
38
|
+
if (offset !== undefined) {
|
|
39
|
+
localVarQueryParameter['offset'] = offset;
|
|
40
|
+
}
|
|
41
|
+
if (sortBy !== undefined) {
|
|
42
|
+
localVarQueryParameter['sort_by'] = sortBy;
|
|
43
|
+
}
|
|
44
|
+
if (filter !== undefined) {
|
|
45
|
+
localVarQueryParameter['filter'] = filter;
|
|
46
|
+
}
|
|
47
|
+
if (xRHIDENTITY != null) {
|
|
48
|
+
localVarHeaderParameter['X-RH-IDENTITY'] = typeof xRHIDENTITY === 'string'
|
|
49
|
+
? xRHIDENTITY
|
|
50
|
+
: JSON.stringify(xRHIDENTITY);
|
|
51
|
+
}
|
|
52
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
53
|
+
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
54
|
+
return [2 /*return*/, {
|
|
55
|
+
urlObj: localVarUrlObj,
|
|
56
|
+
options: localVarRequestOptions,
|
|
57
|
+
}];
|
|
58
|
+
});
|
|
59
|
+
});
|
|
60
|
+
};
|
|
61
|
+
exports.supportedProfilesParamCreator = supportedProfilesParamCreator;
|
|
62
|
+
exports.default = exports.supportedProfilesParamCreator;
|
|
63
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../SupportedProfiles/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,kFAA4T;AA4C5T,IAAM,+BAA+B,GAAG,UAAC,MAA6C;IACpF,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,CAAA;AACpE,CAAC,CAAA;AACD;;;;;;EAME;AACK,IAAM,6BAA6B,GAAG;IAAO,gBAAsF;SAAtF,UAAsF,EAAtF,qBAAsF,EAAtF,IAAsF;QAAtF,2BAAsF;;;;;YAChI,MAAM,GAAG,+BAA+B,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,aAAa,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,UAAC,GAAG,EAAE,IAAI,EAAE,KAAK;;gBAAK,OAAA,uCAAM,GAAG,gBAAG,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AAC,CAAC;YAElF,sBAAO;oBACH,MAAM,EAAE,cAAc;oBACtB,OAAO,EAAE,sBAAsB;iBAClC,EAAC;;;CACL,CAAA;AAzCY,QAAA,6BAA6B,iCAyCzC;AAED,kBAAe,qCAA6B,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/common';
|
|
3
|
+
export type SystemParams = {
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @type { any }
|
|
7
|
+
* @memberof SystemApi
|
|
8
|
+
*/
|
|
9
|
+
id: any;
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @type { any }
|
|
13
|
+
* @memberof SystemApi
|
|
14
|
+
*/
|
|
15
|
+
xRHIDENTITY?: any;
|
|
16
|
+
options?: AxiosRequestConfig;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Returns a System
|
|
20
|
+
* @summary Request a System
|
|
21
|
+
* @param {SystemParams} config with all available params.
|
|
22
|
+
* @param {*} [options] Override http request option.
|
|
23
|
+
* @throws {RequiredError}
|
|
24
|
+
*/
|
|
25
|
+
export declare const systemParamCreator: (...config: ([SystemParams] | [any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
26
|
+
export default systemParamCreator;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.systemParamCreator = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
var common_1 = require("@redhat-cloud-services/javascript-clients-shared/common");
|
|
7
|
+
var isSystemObjectParams = function (params) {
|
|
8
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'id') && true;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Returns a System
|
|
12
|
+
* @summary Request a System
|
|
13
|
+
* @param {SystemParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
var systemParamCreator = function () {
|
|
18
|
+
var config = [];
|
|
19
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
20
|
+
config[_i] = arguments[_i];
|
|
21
|
+
}
|
|
22
|
+
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
23
|
+
var params, id, xRHIDENTITY, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
24
|
+
return tslib_1.__generator(this, function (_b) {
|
|
25
|
+
params = isSystemObjectParams(config) ? config[0] : ['id', 'xRHIDENTITY', 'options'].reduce(function (acc, curr, index) {
|
|
26
|
+
var _a;
|
|
27
|
+
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
28
|
+
}, {});
|
|
29
|
+
id = params.id, xRHIDENTITY = params.xRHIDENTITY, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
30
|
+
localVarPath = "/systems/{id}"
|
|
31
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
32
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
33
|
+
localVarRequestOptions = tslib_1.__assign({ method: 'GET' }, options);
|
|
34
|
+
localVarHeaderParameter = {};
|
|
35
|
+
localVarQueryParameter = {};
|
|
36
|
+
if (xRHIDENTITY != null) {
|
|
37
|
+
localVarHeaderParameter['X-RH-IDENTITY'] = typeof xRHIDENTITY === 'string'
|
|
38
|
+
? xRHIDENTITY
|
|
39
|
+
: JSON.stringify(xRHIDENTITY);
|
|
40
|
+
}
|
|
41
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
42
|
+
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
43
|
+
return [2 /*return*/, {
|
|
44
|
+
urlObj: localVarUrlObj,
|
|
45
|
+
options: localVarRequestOptions,
|
|
46
|
+
}];
|
|
47
|
+
});
|
|
48
|
+
});
|
|
49
|
+
};
|
|
50
|
+
exports.systemParamCreator = systemParamCreator;
|
|
51
|
+
exports.default = exports.systemParamCreator;
|
|
52
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../System/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,kFAA4T;AA0B5T,IAAM,oBAAoB,GAAG,UAAC,MAAkC;IAC9D,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,IAAI,CAAA;AAC1F,CAAC,CAAA;AACD;;;;;;EAME;AACK,IAAM,kBAAkB,GAAG;IAAO,gBAA4D;SAA5D,UAA4D,EAA5D,qBAA4D,EAA5D,IAA4D;QAA5D,2BAA4D;;;;;YAC3F,MAAM,GAAG,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,aAAa,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,UAAC,GAAG,EAAE,IAAI,EAAE,KAAK;;gBAAK,OAAA,uCAAM,GAAG,gBAAG,IAAI,IAAG,MAAM,CAAC,KAAK,CAAC,OAAG;YAAnC,CAAmC,EAAE,EAAE,CAAiB,CAAC;YACzK,EAAE,GAAgC,MAAM,GAAtC,EAAE,WAAW,GAAmB,MAAM,YAAzB,EAAE,KAAiB,MAAM,QAAX,EAAZ,OAAO,mBAAG,EAAE,KAAA,CAAY;YAC3C,YAAY,GAAG,eAAe;iBAC/B,OAAO,CAAC,WAAI,IAAI,MAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,EAAE,CA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