@redhat-cloud-services/compliance-client 0.2.2 → 0.2.4
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 +4 -0
- package/dist/CreateTailoring/index.d.ts +33 -0
- package/dist/CreateTailoring/index.js +54 -0
- package/dist/CreateTailoring/index.js.map +1 -0
- package/dist/Policies/index.d.ts +7 -1
- package/dist/Policies/index.js +7 -4
- package/dist/Policies/index.js.map +1 -1
- package/dist/PolicySystems/index.d.ts +14 -2
- package/dist/PolicySystems/index.js +10 -4
- package/dist/PolicySystems/index.js.map +1 -1
- package/dist/ProfileRules/index.d.ts +8 -2
- package/dist/ProfileRules/index.js +7 -4
- package/dist/ProfileRules/index.js.map +1 -1
- package/dist/ProfileTree/index.d.ts +32 -0
- package/dist/ProfileTree/index.js +53 -0
- package/dist/ProfileTree/index.js.map +1 -0
- package/dist/Profiles/index.d.ts +7 -1
- package/dist/Profiles/index.js +7 -4
- package/dist/Profiles/index.js.map +1 -1
- package/dist/ReportRuleResults/index.d.ts +7 -1
- package/dist/ReportRuleResults/index.js +7 -4
- package/dist/ReportRuleResults/index.js.map +1 -1
- package/dist/ReportSystems/index.d.ts +14 -2
- package/dist/ReportSystems/index.js +10 -4
- package/dist/ReportSystems/index.js.map +1 -1
- package/dist/ReportTestResults/index.d.ts +7 -1
- package/dist/ReportTestResults/index.js +7 -4
- package/dist/ReportTestResults/index.js.map +1 -1
- package/dist/Reports/index.d.ts +7 -1
- package/dist/Reports/index.js +7 -4
- package/dist/Reports/index.js.map +1 -1
- package/dist/RuleGroups/index.d.ts +7 -1
- package/dist/RuleGroups/index.js +7 -4
- package/dist/RuleGroups/index.js.map +1 -1
- package/dist/Rules/index.d.ts +8 -2
- package/dist/Rules/index.js +7 -4
- package/dist/Rules/index.js.map +1 -1
- package/dist/SecurityGuides/index.d.ts +7 -1
- package/dist/SecurityGuides/index.js +7 -4
- package/dist/SecurityGuides/index.js.map +1 -1
- package/dist/SupportedProfiles/index.d.ts +7 -1
- package/dist/SupportedProfiles/index.js +7 -4
- package/dist/SupportedProfiles/index.js.map +1 -1
- package/dist/SystemReports/index.d.ts +8 -2
- package/dist/SystemReports/index.js +7 -4
- package/dist/SystemReports/index.js.map +1 -1
- package/dist/Systems/index.d.ts +14 -2
- package/dist/Systems/index.js +10 -4
- package/dist/Systems/index.js.map +1 -1
- package/dist/SystemsPolicies/index.d.ts +8 -2
- package/dist/SystemsPolicies/index.js +7 -4
- package/dist/SystemsPolicies/index.js.map +1 -1
- package/dist/TailoringRuleTree/index.d.ts +32 -0
- package/dist/TailoringRuleTree/index.js +53 -0
- package/dist/TailoringRuleTree/index.js.map +1 -0
- package/dist/TailoringRules/index.d.ts +8 -2
- package/dist/TailoringRules/index.js +7 -4
- package/dist/TailoringRules/index.js.map +1 -1
- package/dist/Tailorings/index.d.ts +7 -1
- package/dist/Tailorings/index.js +7 -4
- package/dist/Tailorings/index.js.map +1 -1
- package/dist/ValueDefinitions/index.d.ts +7 -1
- package/dist/ValueDefinitions/index.js +7 -4
- package/dist/ValueDefinitions/index.js.map +1 -1
- package/dist/api.d.ts +434 -130
- package/dist/api.js +714 -163
- package/dist/api.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.js +11 -1
- package/dist/index.js.map +1 -1
- package/dist/types/index.d.ts +39 -20
- package/dist/types/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../SystemReports/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../SystemReports/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AAwDjU,IAAM,2BAA2B,GAAG,UAAC,MAAyC;IAC5E,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC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AsB,GAAG,EAAS,CAAC;YAEzC,IAAI,KAAK,KAAK,SAAS,EAAE;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,OAAO,KAAK,SAAS,EAAE;gBACvB,sBAAsB,CAAC,UAAU,CAAC,GAAG,OAAO,CAAC;aAChD;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;AA9CY,QAAA,yBAAyB,6BA8CrC;AAED,kBAAe,iCAAyB,CAAC"}
|
package/dist/Systems/index.d.ts
CHANGED
|
@@ -8,6 +8,12 @@ export type SystemsParams = {
|
|
|
8
8
|
*/
|
|
9
9
|
xRHIDENTITY?: any;
|
|
10
10
|
/**
|
|
11
|
+
* An array of tags to narrow down the search results. In case the value contains symbols used for separators (`/` or `=`), they need to be encoded.<br>e.g.: `namespace/key=value`, `insights-client/selinux-config=SELINUX%3Denforcing`
|
|
12
|
+
* @type { any }
|
|
13
|
+
* @memberof SystemsApi
|
|
14
|
+
*/
|
|
15
|
+
tags?: any;
|
|
16
|
+
/**
|
|
11
17
|
* Number of items to return per page
|
|
12
18
|
* @type { any }
|
|
13
19
|
* @memberof SystemsApi
|
|
@@ -20,13 +26,19 @@ export type SystemsParams = {
|
|
|
20
26
|
*/
|
|
21
27
|
offset?: any;
|
|
22
28
|
/**
|
|
29
|
+
* Indicates whether to return only resource IDs.
|
|
30
|
+
* @type { any }
|
|
31
|
+
* @memberof SystemsApi
|
|
32
|
+
*/
|
|
33
|
+
idsOnly?: any;
|
|
34
|
+
/**
|
|
23
35
|
* 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
36
|
* @type { any }
|
|
25
37
|
* @memberof SystemsApi
|
|
26
38
|
*/
|
|
27
39
|
sortBy?: any;
|
|
28
40
|
/**
|
|
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>Systems are searchable using attributes `display_name`, `os_major_version`, `os_minor_version`, `assigned_or_scanned`, `
|
|
41
|
+
* 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_major_version`, `os_minor_version`, `assigned_or_scanned`, `group_name`, `policies`, and `profile_ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
30
42
|
* @type { any }
|
|
31
43
|
* @memberof SystemsApi
|
|
32
44
|
*/
|
|
@@ -40,5 +52,5 @@ export type SystemsParams = {
|
|
|
40
52
|
* @param {*} [options] Override http request option.
|
|
41
53
|
* @throws {RequiredError}
|
|
42
54
|
*/
|
|
43
|
-
export declare const systemsParamCreator: (...config: ([SystemsParams] | [any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
55
|
+
export declare const systemsParamCreator: (...config: ([SystemsParams] | [any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
44
56
|
export default systemsParamCreator;
|
package/dist/Systems/index.js
CHANGED
|
@@ -5,7 +5,7 @@ var tslib_1 = require("tslib");
|
|
|
5
5
|
// @ts-ignore
|
|
6
6
|
var common_1 = require("@redhat-cloud-services/javascript-clients-shared/dist/common");
|
|
7
7
|
var isSystemsObjectParams = function (params) {
|
|
8
|
-
return params.length === 1 && true && true && true && true && true;
|
|
8
|
+
return params.length === 1 && true && true && true && true && true && true && true;
|
|
9
9
|
};
|
|
10
10
|
/**
|
|
11
11
|
* Lists Systems
|
|
@@ -20,24 +20,30 @@ var systemsParamCreator = function () {
|
|
|
20
20
|
config[_i] = arguments[_i];
|
|
21
21
|
}
|
|
22
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;
|
|
23
|
+
var params, xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
24
24
|
return tslib_1.__generator(this, function (_b) {
|
|
25
|
-
params = isSystemsObjectParams(config) ? config[0] : ['xRHIDENTITY', 'limit', 'offset', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
|
|
25
|
+
params = isSystemsObjectParams(config) ? config[0] : ['xRHIDENTITY', 'tags', 'limit', 'offset', 'idsOnly', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
|
|
26
26
|
var _a;
|
|
27
27
|
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
28
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;
|
|
29
|
+
xRHIDENTITY = params.xRHIDENTITY, tags = params.tags, limit = params.limit, offset = params.offset, idsOnly = params.idsOnly, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
30
30
|
localVarPath = "/systems";
|
|
31
31
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
32
32
|
localVarRequestOptions = tslib_1.__assign({ method: 'GET' }, options);
|
|
33
33
|
localVarHeaderParameter = {};
|
|
34
34
|
localVarQueryParameter = {};
|
|
35
|
+
if (tags !== undefined) {
|
|
36
|
+
localVarQueryParameter['tags'] = tags;
|
|
37
|
+
}
|
|
35
38
|
if (limit !== undefined) {
|
|
36
39
|
localVarQueryParameter['limit'] = limit;
|
|
37
40
|
}
|
|
38
41
|
if (offset !== undefined) {
|
|
39
42
|
localVarQueryParameter['offset'] = offset;
|
|
40
43
|
}
|
|
44
|
+
if (idsOnly !== undefined) {
|
|
45
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
46
|
+
}
|
|
41
47
|
if (sortBy !== undefined) {
|
|
42
48
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
43
49
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../Systems/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../Systems/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AAwDjU,IAAM,qBAAqB,GAAG,UAAC,MAAmC;IAChE,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,IAAI,IAAI,I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E;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,OAAO,KAAK,SAAS,EAAE;gBACvB,sBAAsB,CAAC,UAAU,CAAC,GAAG,OAAO,CAAC;aAChD;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;AAjDY,QAAA,mBAAmB,uBAiD/B;AAED,kBAAe,2BAAmB,CAAC"}
|
|
@@ -26,13 +26,19 @@ export type SystemsPoliciesParams = {
|
|
|
26
26
|
*/
|
|
27
27
|
offset?: any;
|
|
28
28
|
/**
|
|
29
|
+
* Indicates whether to return only resource IDs.
|
|
30
|
+
* @type { any }
|
|
31
|
+
* @memberof SystemsPoliciesApi
|
|
32
|
+
*/
|
|
33
|
+
idsOnly?: any;
|
|
34
|
+
/**
|
|
29
35
|
* 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
36
|
* @type { any }
|
|
31
37
|
* @memberof SystemsPoliciesApi
|
|
32
38
|
*/
|
|
33
39
|
sortBy?: any;
|
|
34
40
|
/**
|
|
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>Policies are searchable using attributes `title
|
|
41
|
+
* 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>Policies are searchable using attributes `title` and `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
36
42
|
* @type { any }
|
|
37
43
|
* @memberof SystemsPoliciesApi
|
|
38
44
|
*/
|
|
@@ -46,5 +52,5 @@ export type SystemsPoliciesParams = {
|
|
|
46
52
|
* @param {*} [options] Override http request option.
|
|
47
53
|
* @throws {RequiredError}
|
|
48
54
|
*/
|
|
49
|
-
export declare const systemsPoliciesParamCreator: (...config: ([SystemsPoliciesParams] | [any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
55
|
+
export declare const systemsPoliciesParamCreator: (...config: ([SystemsPoliciesParams] | [any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
50
56
|
export default systemsPoliciesParamCreator;
|
|
@@ -5,7 +5,7 @@ var tslib_1 = require("tslib");
|
|
|
5
5
|
// @ts-ignore
|
|
6
6
|
var common_1 = require("@redhat-cloud-services/javascript-clients-shared/dist/common");
|
|
7
7
|
var isSystemsPoliciesObjectParams = function (params) {
|
|
8
|
-
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'systemId') && true && true && true && true && true;
|
|
8
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'systemId') && true && true && true && true && true && true;
|
|
9
9
|
};
|
|
10
10
|
/**
|
|
11
11
|
* Lists Policies under a System
|
|
@@ -20,13 +20,13 @@ var systemsPoliciesParamCreator = function () {
|
|
|
20
20
|
config[_i] = arguments[_i];
|
|
21
21
|
}
|
|
22
22
|
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
23
|
-
var params, systemId, xRHIDENTITY, limit, offset, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
23
|
+
var params, systemId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
24
24
|
return tslib_1.__generator(this, function (_b) {
|
|
25
|
-
params = isSystemsPoliciesObjectParams(config) ? config[0] : ['systemId', 'xRHIDENTITY', 'limit', 'offset', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
|
|
25
|
+
params = isSystemsPoliciesObjectParams(config) ? config[0] : ['systemId', 'xRHIDENTITY', 'limit', 'offset', 'idsOnly', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
|
|
26
26
|
var _a;
|
|
27
27
|
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
28
28
|
}, {});
|
|
29
|
-
systemId = params.systemId, xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
29
|
+
systemId = params.systemId, xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, idsOnly = params.idsOnly, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
30
30
|
localVarPath = "/systems/{system_id}/policies"
|
|
31
31
|
.replace("{".concat("system_id", "}"), encodeURIComponent(String(systemId)));
|
|
32
32
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -39,6 +39,9 @@ var systemsPoliciesParamCreator = function () {
|
|
|
39
39
|
if (offset !== undefined) {
|
|
40
40
|
localVarQueryParameter['offset'] = offset;
|
|
41
41
|
}
|
|
42
|
+
if (idsOnly !== undefined) {
|
|
43
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
44
|
+
}
|
|
42
45
|
if (sortBy !== undefined) {
|
|
43
46
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
44
47
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../SystemsPolicies/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../SystemsPolicies/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AAwDjU,IAAM,6BAA6B,GAAG,UAAC,MAA2C;IAChF,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,CAAA;AACxI,CAAC,CAAA;AACD;;;;;;EAME;AACK,IAAM,2BAA2B,GAAG;IAAO,gBAA8F;SAA9F,UAA8F,EAA9F,qBAA8F,EAA9F,IAA8F;QAA9F,2BAA8F;;;;;YACtI,MAAM,GAAG,6BAA6B,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,UAAU,EAAE,aAAa,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,UAAC,GAAG,EAAE,IAAI,EAAE,KAAK;;gBAAK,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E;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;AA9CY,QAAA,2BAA2B,+BA8CvC;AAED,kBAAe,mCAA2B,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
export type TailoringRuleTreeParams = {
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @type { any }
|
|
7
|
+
* @memberof TailoringRuleTreeApi
|
|
8
|
+
*/
|
|
9
|
+
policyId: any;
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @type { any }
|
|
13
|
+
* @memberof TailoringRuleTreeApi
|
|
14
|
+
*/
|
|
15
|
+
tailoringId: any;
|
|
16
|
+
/**
|
|
17
|
+
* For internal use only
|
|
18
|
+
* @type { any }
|
|
19
|
+
* @memberof TailoringRuleTreeApi
|
|
20
|
+
*/
|
|
21
|
+
xRHIDENTITY?: any;
|
|
22
|
+
options?: AxiosRequestConfig;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Returns the Rule Tree of a Tailoring
|
|
26
|
+
* @summary Request the Rule Tree of a Tailoring
|
|
27
|
+
* @param {TailoringRuleTreeParams} config with all available params.
|
|
28
|
+
* @param {*} [options] Override http request option.
|
|
29
|
+
* @throws {RequiredError}
|
|
30
|
+
*/
|
|
31
|
+
export declare const tailoringRuleTreeParamCreator: (...config: ([TailoringRuleTreeParams] | [any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
32
|
+
export default tailoringRuleTreeParamCreator;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.tailoringRuleTreeParamCreator = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
var common_1 = require("@redhat-cloud-services/javascript-clients-shared/dist/common");
|
|
7
|
+
var isTailoringRuleTreeObjectParams = function (params) {
|
|
8
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'policyId') && Object.prototype.hasOwnProperty.call(params, 'tailoringId') && true;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Returns the Rule Tree of a Tailoring
|
|
12
|
+
* @summary Request the Rule Tree of a Tailoring
|
|
13
|
+
* @param {TailoringRuleTreeParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
var tailoringRuleTreeParamCreator = 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, policyId, tailoringId, xRHIDENTITY, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
24
|
+
return tslib_1.__generator(this, function (_b) {
|
|
25
|
+
params = isTailoringRuleTreeObjectParams(config) ? config[0] : ['policyId', 'tailoringId', '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
|
+
policyId = params.policyId, tailoringId = params.tailoringId, xRHIDENTITY = params.xRHIDENTITY, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
30
|
+
localVarPath = "/policies/{policy_id}/tailorings/{tailoring_id}/rule_tree"
|
|
31
|
+
.replace("{".concat("policy_id", "}"), encodeURIComponent(String(policyId)))
|
|
32
|
+
.replace("{".concat("tailoring_id", "}"), encodeURIComponent(String(tailoringId)));
|
|
33
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
34
|
+
localVarRequestOptions = tslib_1.__assign({ method: 'GET' }, options);
|
|
35
|
+
localVarHeaderParameter = {};
|
|
36
|
+
localVarQueryParameter = {};
|
|
37
|
+
if (xRHIDENTITY != null) {
|
|
38
|
+
localVarHeaderParameter['X-RH-IDENTITY'] = typeof xRHIDENTITY === 'string'
|
|
39
|
+
? xRHIDENTITY
|
|
40
|
+
: JSON.stringify(xRHIDENTITY);
|
|
41
|
+
}
|
|
42
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
43
|
+
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
44
|
+
return [2 /*return*/, {
|
|
45
|
+
urlObj: localVarUrlObj,
|
|
46
|
+
options: localVarRequestOptions,
|
|
47
|
+
}];
|
|
48
|
+
});
|
|
49
|
+
});
|
|
50
|
+
};
|
|
51
|
+
exports.tailoringRuleTreeParamCreator = tailoringRuleTreeParamCreator;
|
|
52
|
+
exports.default = exports.tailoringRuleTreeParamCreator;
|
|
53
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../TailoringRuleTree/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AAgCjU,IAAM,+BAA+B,GAAG,UAAC,MAA6C;IACpF,OAAO,MAAM,CAAC,MAAM,KA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AAC;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;AA3BY,QAAA,6BAA6B,iCA2BzC;AAED,kBAAe,qCAA6B,CAAC"}
|
|
@@ -32,13 +32,19 @@ export type TailoringRulesParams = {
|
|
|
32
32
|
*/
|
|
33
33
|
offset?: any;
|
|
34
34
|
/**
|
|
35
|
+
* Indicates whether to return only resource IDs.
|
|
36
|
+
* @type { any }
|
|
37
|
+
* @memberof TailoringRulesApi
|
|
38
|
+
*/
|
|
39
|
+
idsOnly?: any;
|
|
40
|
+
/**
|
|
35
41
|
* 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.
|
|
36
42
|
* @type { any }
|
|
37
43
|
* @memberof TailoringRulesApi
|
|
38
44
|
*/
|
|
39
45
|
sortBy?: any;
|
|
40
46
|
/**
|
|
41
|
-
* Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, and `
|
|
47
|
+
* Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, `remediation_available`, and `rule_group_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
42
48
|
* @type { any }
|
|
43
49
|
* @memberof TailoringRulesApi
|
|
44
50
|
*/
|
|
@@ -52,5 +58,5 @@ export type TailoringRulesParams = {
|
|
|
52
58
|
* @param {*} [options] Override http request option.
|
|
53
59
|
* @throws {RequiredError}
|
|
54
60
|
*/
|
|
55
|
-
export declare const tailoringRulesParamCreator: (...config: ([TailoringRulesParams] | [any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
61
|
+
export declare const tailoringRulesParamCreator: (...config: ([TailoringRulesParams] | [any, any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
56
62
|
export default tailoringRulesParamCreator;
|
|
@@ -5,7 +5,7 @@ var tslib_1 = require("tslib");
|
|
|
5
5
|
// @ts-ignore
|
|
6
6
|
var common_1 = require("@redhat-cloud-services/javascript-clients-shared/dist/common");
|
|
7
7
|
var isTailoringRulesObjectParams = function (params) {
|
|
8
|
-
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'policyId') && Object.prototype.hasOwnProperty.call(params, 'tailoringId') && true && true && true && true && true;
|
|
8
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'policyId') && Object.prototype.hasOwnProperty.call(params, 'tailoringId') && true && true && true && true && true && true;
|
|
9
9
|
};
|
|
10
10
|
/**
|
|
11
11
|
* Lists Rules assigned to a Tailoring
|
|
@@ -20,13 +20,13 @@ var tailoringRulesParamCreator = function () {
|
|
|
20
20
|
config[_i] = arguments[_i];
|
|
21
21
|
}
|
|
22
22
|
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
23
|
-
var params, policyId, tailoringId, xRHIDENTITY, limit, offset, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
23
|
+
var params, policyId, tailoringId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
24
24
|
return tslib_1.__generator(this, function (_b) {
|
|
25
|
-
params = isTailoringRulesObjectParams(config) ? config[0] : ['policyId', 'tailoringId', 'xRHIDENTITY', 'limit', 'offset', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
|
|
25
|
+
params = isTailoringRulesObjectParams(config) ? config[0] : ['policyId', 'tailoringId', 'xRHIDENTITY', 'limit', 'offset', 'idsOnly', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
|
|
26
26
|
var _a;
|
|
27
27
|
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
28
28
|
}, {});
|
|
29
|
-
policyId = params.policyId, tailoringId = params.tailoringId, xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
29
|
+
policyId = params.policyId, tailoringId = params.tailoringId, xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, idsOnly = params.idsOnly, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
30
30
|
localVarPath = "/policies/{policy_id}/tailorings/{tailoring_id}/rules"
|
|
31
31
|
.replace("{".concat("policy_id", "}"), encodeURIComponent(String(policyId)))
|
|
32
32
|
.replace("{".concat("tailoring_id", "}"), encodeURIComponent(String(tailoringId)));
|
|
@@ -40,6 +40,9 @@ var tailoringRulesParamCreator = function () {
|
|
|
40
40
|
if (offset !== undefined) {
|
|
41
41
|
localVarQueryParameter['offset'] = offset;
|
|
42
42
|
}
|
|
43
|
+
if (idsOnly !== undefined) {
|
|
44
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
45
|
+
}
|
|
43
46
|
if (sortBy !== undefined) {
|
|
44
47
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
45
48
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../TailoringRules/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../TailoringRules/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AA8DjU,IAAM,4BAA4B,GAAG,UAAC,MAA0C;IAC9E,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,aAAa,CAAC,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,CAAA;AACvM,CAAC,CAAA;AACD;;;;;;EAME;AACK,IAAM,0BAA0B,GAAG;IAAO,gBAAkG;SAAlG,UAAkG,EAAlG,qBAAkG,EAAlG,IAAkG;QAAlG,2BAAkG;;;;;YACzI,MAAM,GAAG,4BAA4B,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,UAAU,EAAE,aAAa,EAAE,aAAa,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,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,CAAyB,CAAC;YAChQ,QAAQ,GAAqF,MAAM,SAA3F,EAAE,WAAW,GAAwE,MAAM,YAA9E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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;AA/CY,QAAA,0BAA0B,8BA+CtC;AAED,kBAAe,kCAA0B,CAAC"}
|
|
@@ -26,6 +26,12 @@ export type TailoringsParams = {
|
|
|
26
26
|
*/
|
|
27
27
|
offset?: any;
|
|
28
28
|
/**
|
|
29
|
+
* Indicates whether to return only resource IDs.
|
|
30
|
+
* @type { any }
|
|
31
|
+
* @memberof TailoringsApi
|
|
32
|
+
*/
|
|
33
|
+
idsOnly?: any;
|
|
34
|
+
/**
|
|
29
35
|
* 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
36
|
* @type { any }
|
|
31
37
|
* @memberof TailoringsApi
|
|
@@ -46,5 +52,5 @@ export type TailoringsParams = {
|
|
|
46
52
|
* @param {*} [options] Override http request option.
|
|
47
53
|
* @throws {RequiredError}
|
|
48
54
|
*/
|
|
49
|
-
export declare const tailoringsParamCreator: (...config: ([TailoringsParams] | [any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
55
|
+
export declare const tailoringsParamCreator: (...config: ([TailoringsParams] | [any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
50
56
|
export default tailoringsParamCreator;
|
package/dist/Tailorings/index.js
CHANGED
|
@@ -5,7 +5,7 @@ var tslib_1 = require("tslib");
|
|
|
5
5
|
// @ts-ignore
|
|
6
6
|
var common_1 = require("@redhat-cloud-services/javascript-clients-shared/dist/common");
|
|
7
7
|
var isTailoringsObjectParams = function (params) {
|
|
8
|
-
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'policyId') && true && true && true && true && true;
|
|
8
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'policyId') && true && true && true && true && true && true;
|
|
9
9
|
};
|
|
10
10
|
/**
|
|
11
11
|
* Lists Tailorings
|
|
@@ -20,13 +20,13 @@ var tailoringsParamCreator = function () {
|
|
|
20
20
|
config[_i] = arguments[_i];
|
|
21
21
|
}
|
|
22
22
|
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
23
|
-
var params, policyId, xRHIDENTITY, limit, offset, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
23
|
+
var params, policyId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
24
24
|
return tslib_1.__generator(this, function (_b) {
|
|
25
|
-
params = isTailoringsObjectParams(config) ? config[0] : ['policyId', 'xRHIDENTITY', 'limit', 'offset', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
|
|
25
|
+
params = isTailoringsObjectParams(config) ? config[0] : ['policyId', 'xRHIDENTITY', 'limit', 'offset', 'idsOnly', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
|
|
26
26
|
var _a;
|
|
27
27
|
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
28
28
|
}, {});
|
|
29
|
-
policyId = params.policyId, xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
29
|
+
policyId = params.policyId, xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, idsOnly = params.idsOnly, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
30
30
|
localVarPath = "/policies/{policy_id}/tailorings"
|
|
31
31
|
.replace("{".concat("policy_id", "}"), encodeURIComponent(String(policyId)));
|
|
32
32
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -39,6 +39,9 @@ var tailoringsParamCreator = function () {
|
|
|
39
39
|
if (offset !== undefined) {
|
|
40
40
|
localVarQueryParameter['offset'] = offset;
|
|
41
41
|
}
|
|
42
|
+
if (idsOnly !== undefined) {
|
|
43
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
44
|
+
}
|
|
42
45
|
if (sortBy !== undefined) {
|
|
43
46
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
44
47
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../Tailorings/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../Tailorings/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AAwDjU,IAAM,wBAAwB,GAAG,UAAC,MAAsC;IACtE,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,CAAA;AACxI,CAAC,CAAA;AACD;;;;;;EAME;AACK,IAAM,sBAAsB,GAAG;IAAO,gBAAyF;SAAzF,UAAyF,EAAzF,qBAAyF,EAAzF,IAAyF;QAAzF,2BAAyF;;;;;YAC5H,MAAM,GAAG,wBAAwB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,UAAU,EAAE,aAAa,EAAE,OAAO,EAA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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;AA9CY,QAAA,sBAAsB,0BA8ClC;AAED,kBAAe,8BAAsB,CAAC"}
|
|
@@ -26,6 +26,12 @@ export type ValueDefinitionsParams = {
|
|
|
26
26
|
*/
|
|
27
27
|
offset?: any;
|
|
28
28
|
/**
|
|
29
|
+
* Indicates whether to return only resource IDs.
|
|
30
|
+
* @type { any }
|
|
31
|
+
* @memberof ValueDefinitionsApi
|
|
32
|
+
*/
|
|
33
|
+
idsOnly?: any;
|
|
34
|
+
/**
|
|
29
35
|
* 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
36
|
* @type { any }
|
|
31
37
|
* @memberof ValueDefinitionsApi
|
|
@@ -46,5 +52,5 @@ export type ValueDefinitionsParams = {
|
|
|
46
52
|
* @param {*} [options] Override http request option.
|
|
47
53
|
* @throws {RequiredError}
|
|
48
54
|
*/
|
|
49
|
-
export declare const valueDefinitionsParamCreator: (...config: ([ValueDefinitionsParams] | [any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
55
|
+
export declare const valueDefinitionsParamCreator: (...config: ([ValueDefinitionsParams] | [any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
50
56
|
export default valueDefinitionsParamCreator;
|
|
@@ -5,7 +5,7 @@ var tslib_1 = require("tslib");
|
|
|
5
5
|
// @ts-ignore
|
|
6
6
|
var common_1 = require("@redhat-cloud-services/javascript-clients-shared/dist/common");
|
|
7
7
|
var isValueDefinitionsObjectParams = function (params) {
|
|
8
|
-
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'securityGuideId') && true && true && true && true && true;
|
|
8
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'securityGuideId') && true && true && true && true && true && true;
|
|
9
9
|
};
|
|
10
10
|
/**
|
|
11
11
|
* Lists Value Definitions
|
|
@@ -20,13 +20,13 @@ var valueDefinitionsParamCreator = function () {
|
|
|
20
20
|
config[_i] = arguments[_i];
|
|
21
21
|
}
|
|
22
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;
|
|
23
|
+
var params, securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
24
24
|
return tslib_1.__generator(this, function (_b) {
|
|
25
|
-
params = isValueDefinitionsObjectParams(config) ? config[0] : ['securityGuideId', 'xRHIDENTITY', 'limit', 'offset', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
|
|
25
|
+
params = isValueDefinitionsObjectParams(config) ? config[0] : ['securityGuideId', 'xRHIDENTITY', 'limit', 'offset', 'idsOnly', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
|
|
26
26
|
var _a;
|
|
27
27
|
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
28
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;
|
|
29
|
+
securityGuideId = params.securityGuideId, xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, idsOnly = params.idsOnly, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
30
30
|
localVarPath = "/security_guides/{security_guide_id}/value_definitions"
|
|
31
31
|
.replace("{".concat("security_guide_id", "}"), encodeURIComponent(String(securityGuideId)));
|
|
32
32
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -39,6 +39,9 @@ var valueDefinitionsParamCreator = function () {
|
|
|
39
39
|
if (offset !== undefined) {
|
|
40
40
|
localVarQueryParameter['offset'] = offset;
|
|
41
41
|
}
|
|
42
|
+
if (idsOnly !== undefined) {
|
|
43
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
44
|
+
}
|
|
42
45
|
if (sortBy !== undefined) {
|
|
43
46
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
44
47
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ValueDefinitions/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ValueDefinitions/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AAwDjU,IAAM,8BAA8B,GAAG,UAAC,MAA4C;IAClF,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,iBAAiB,CAAC,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,CAAA;AAC/I,CAAC,CAA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