@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,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.assignSystemsParamCreator = 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 isAssignSystemsObjectParams = function (params) {
|
|
8
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'policyId') && true && true;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* This feature is exclusively used by the frontend
|
|
12
|
+
* @summary Bulk assign Systems to a Policy
|
|
13
|
+
* @param {AssignSystemsParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @deprecated
|
|
16
|
+
* @throws {RequiredError}
|
|
17
|
+
*/
|
|
18
|
+
var assignSystemsParamCreator = function () {
|
|
19
|
+
var config = [];
|
|
20
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
21
|
+
config[_i] = arguments[_i];
|
|
22
|
+
}
|
|
23
|
+
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
24
|
+
var params, policyId, xRHIDENTITY, assignRulesRequest, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
25
|
+
return tslib_1.__generator(this, function (_b) {
|
|
26
|
+
params = isAssignSystemsObjectParams(config) ? config[0] : ['policyId', 'xRHIDENTITY', 'assignRulesRequest', 'options'].reduce(function (acc, curr, index) {
|
|
27
|
+
var _a;
|
|
28
|
+
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
29
|
+
}, {});
|
|
30
|
+
policyId = params.policyId, xRHIDENTITY = params.xRHIDENTITY, assignRulesRequest = params.assignRulesRequest, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
31
|
+
localVarPath = "/policies/{policy_id}/systems"
|
|
32
|
+
.replace("{".concat("policy_id", "}"), encodeURIComponent(String(policyId)));
|
|
33
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
34
|
+
localVarRequestOptions = tslib_1.__assign({ method: 'POST' }, 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
|
+
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
43
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
44
|
+
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
45
|
+
return [2 /*return*/, {
|
|
46
|
+
urlObj: localVarUrlObj,
|
|
47
|
+
options: localVarRequestOptions,
|
|
48
|
+
serializeData: assignRulesRequest,
|
|
49
|
+
}];
|
|
50
|
+
});
|
|
51
|
+
});
|
|
52
|
+
};
|
|
53
|
+
exports.assignSystemsParamCreator = assignSystemsParamCreator;
|
|
54
|
+
exports.default = exports.assignSystemsParamCreator;
|
|
55
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../AssignSystems/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,kFAA4T;AAgC5T,IAAM,2BAA2B,GAAG,UAAC,MAAyC;IAC5E,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,IAAI,IAAI,IAAI,IAAI,CAAA;AACxG,CAAC,CAAA;AACD;;;;;;;EAOE;AACK,IAAM,yBAAyB,GAAG;IAAO,gBAAuF;SAAvF,UAAuF,EAAvF,qBAAuF,EAAvF,IAAuF;QAAvF,2BAAuF;;;;;YAC7H,MAAM,GAAG,2BAA2B,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,UAAU,EAAE,aAAa,EAAE,oBAAoB,EAAE,SAAS,CAAC,CAA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0,0 +1,27 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/common';
|
|
3
|
+
import type { Policy } from '../types';
|
|
4
|
+
export type CreatePolicyParams = {
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* @type { any }
|
|
8
|
+
* @memberof CreatePolicyApi
|
|
9
|
+
*/
|
|
10
|
+
xRHIDENTITY?: any;
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @type { Policy }
|
|
14
|
+
* @memberof CreatePolicyApi
|
|
15
|
+
*/
|
|
16
|
+
policy?: Policy;
|
|
17
|
+
options?: AxiosRequestConfig;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Create a Policy with the provided attributes
|
|
21
|
+
* @summary Create a Policy
|
|
22
|
+
* @param {CreatePolicyParams} config with all available params.
|
|
23
|
+
* @param {*} [options] Override http request option.
|
|
24
|
+
* @throws {RequiredError}
|
|
25
|
+
*/
|
|
26
|
+
export declare const createPolicyParamCreator: (...config: ([CreatePolicyParams] | [any, Policy, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
27
|
+
export default createPolicyParamCreator;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createPolicyParamCreator = 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 isCreatePolicyObjectParams = function (params) {
|
|
8
|
+
return params.length === 1 && true && true;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Create a Policy with the provided attributes
|
|
12
|
+
* @summary Create a Policy
|
|
13
|
+
* @param {CreatePolicyParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
var createPolicyParamCreator = 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, policy, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
24
|
+
return tslib_1.__generator(this, function (_b) {
|
|
25
|
+
params = isCreatePolicyObjectParams(config) ? config[0] : ['xRHIDENTITY', 'policy', '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, policy = params.policy, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
30
|
+
localVarPath = "/policies";
|
|
31
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
32
|
+
localVarRequestOptions = tslib_1.__assign({ method: 'POST' }, options);
|
|
33
|
+
localVarHeaderParameter = {};
|
|
34
|
+
localVarQueryParameter = {};
|
|
35
|
+
if (xRHIDENTITY != null) {
|
|
36
|
+
localVarHeaderParameter['X-RH-IDENTITY'] = typeof xRHIDENTITY === 'string'
|
|
37
|
+
? xRHIDENTITY
|
|
38
|
+
: JSON.stringify(xRHIDENTITY);
|
|
39
|
+
}
|
|
40
|
+
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
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
|
+
serializeData: policy,
|
|
47
|
+
}];
|
|
48
|
+
});
|
|
49
|
+
});
|
|
50
|
+
};
|
|
51
|
+
exports.createPolicyParamCreator = createPolicyParamCreator;
|
|
52
|
+
exports.default = exports.createPolicyParamCreator;
|
|
53
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../CreatePolicy/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,kFAA4T;AA0B5T,IAAM,0BAA0B,GAAG,UAAC,MAAwC;IAC1E,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,IAAI,IAAI,CAAA;AAC5C,CAAC,CAAA;AACD;;;;;;EAME;AACK,IAAM,wBAAwB,GAAG;IAAO,gBAAqE;SAArE,UAAqE,EAArE,qBAAqE,EAArE,IAAqE;QAArE,2BAAqE;;;;;YAC1G,MAAM,GAAG,0BAA0B,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,aAAa,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,CAAuB,CAAC;YACzL,WAAW,GAA2B,MAAM,YAAjC,EAAE,MAAM,GAAmB,MAAM,OAAzB,EAAE,KAAiB,MAAM,QAAX,EAAZ,OAAO,mBAAG,EAAE,KAAA,CAAY;YAC/C,YAAY,GAAG,WAAW,CAAC;YAE3B,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,uBAAc,CAAC,CAAC;YACvD,sBAAsB,sBAAK,MAAM,EAAE,MAAgB,IAAK,OAAO,CAAC,CAAC;YACjE,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,uBAAuB,CAAC,cAAc,CAAC,GAAG,0BAA0B,CAAC;YAErE,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;oBAC/B,aAAa,EAAE,MAAM;iBACxB,EAAC;;;CACL,CAAA;AA5BY,QAAA,wBAAwB,4BA4BpC;AAED,kBAAe,gCAAwB,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 DeletePolicyParams = {
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @type { any }
|
|
7
|
+
* @memberof DeletePolicyApi
|
|
8
|
+
*/
|
|
9
|
+
id: any;
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @type { any }
|
|
13
|
+
* @memberof DeletePolicyApi
|
|
14
|
+
*/
|
|
15
|
+
xRHIDENTITY?: any;
|
|
16
|
+
options?: AxiosRequestConfig;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Deletes a Policy
|
|
20
|
+
* @summary Delete a Policy
|
|
21
|
+
* @param {DeletePolicyParams} config with all available params.
|
|
22
|
+
* @param {*} [options] Override http request option.
|
|
23
|
+
* @throws {RequiredError}
|
|
24
|
+
*/
|
|
25
|
+
export declare const deletePolicyParamCreator: (...config: ([DeletePolicyParams] | [any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
26
|
+
export default deletePolicyParamCreator;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.deletePolicyParamCreator = 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 isDeletePolicyObjectParams = function (params) {
|
|
8
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'id') && true;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Deletes a Policy
|
|
12
|
+
* @summary Delete a Policy
|
|
13
|
+
* @param {DeletePolicyParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
var deletePolicyParamCreator = 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 = isDeletePolicyObjectParams(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 = "/policies/{id}"
|
|
31
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
32
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
33
|
+
localVarRequestOptions = tslib_1.__assign({ method: 'DELETE' }, 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.deletePolicyParamCreator = deletePolicyParamCreator;
|
|
51
|
+
exports.default = exports.deletePolicyParamCreator;
|
|
52
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../DeletePolicy/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,kFAA4T;AA0B5T,IAAM,0BAA0B,GAAG,UAAC,MAAwC;IAC1E,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,wBAAwB,GAAG;IAAO,gBAAkE;SAAlE,UAAkE,EAAlE,qBAAkE,EAAlE,IAAkE;QAAlE,2BAAkE;;;;;YACvG,MAAM,GAAG,0BAA0B,CAAC,MAAM,CAAC,C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
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/common';
|
|
3
|
+
export type PoliciesParams = {
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @type { any }
|
|
7
|
+
* @memberof PoliciesApi
|
|
8
|
+
*/
|
|
9
|
+
xRHIDENTITY?: any;
|
|
10
|
+
/**
|
|
11
|
+
* Number of items to return per page
|
|
12
|
+
* @type { any }
|
|
13
|
+
* @memberof PoliciesApi
|
|
14
|
+
*/
|
|
15
|
+
limit?: any;
|
|
16
|
+
/**
|
|
17
|
+
* Offset of first item of paginated response
|
|
18
|
+
* @type { any }
|
|
19
|
+
* @memberof PoliciesApi
|
|
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 PoliciesApi
|
|
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>Policies are searchable using attributes `title` and `os_major_version`<br><br>(e.g.: `(version=0.1.47 AND os_major_verision=8)`)
|
|
30
|
+
* @type { any }
|
|
31
|
+
* @memberof PoliciesApi
|
|
32
|
+
*/
|
|
33
|
+
filter?: any;
|
|
34
|
+
options?: AxiosRequestConfig;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Lists Policies
|
|
38
|
+
* @summary Request Policies
|
|
39
|
+
* @param {PoliciesParams} config with all available params.
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
*/
|
|
43
|
+
export declare const policiesParamCreator: (...config: ([PoliciesParams] | [any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
44
|
+
export default policiesParamCreator;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.policiesParamCreator = 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 isPoliciesObjectParams = function (params) {
|
|
8
|
+
return params.length === 1 && true && true && true && true && true;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Lists Policies
|
|
12
|
+
* @summary Request Policies
|
|
13
|
+
* @param {PoliciesParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
var policiesParamCreator = 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 = isPoliciesObjectParams(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 = "/policies";
|
|
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.policiesParamCreator = policiesParamCreator;
|
|
62
|
+
exports.default = exports.policiesParamCreator;
|
|
63
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../Policies/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,kFAA4T;AA4C5T,IAAM,sBAAsB,GAAG,UA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AAC,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;AAzCY,QAAA,oBAAoB,wBAyChC;AAED,kBAAe,4BAAoB,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 PolicyParams = {
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @type { any }
|
|
7
|
+
* @memberof PolicyApi
|
|
8
|
+
*/
|
|
9
|
+
id: any;
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @type { any }
|
|
13
|
+
* @memberof PolicyApi
|
|
14
|
+
*/
|
|
15
|
+
xRHIDENTITY?: any;
|
|
16
|
+
options?: AxiosRequestConfig;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Returns a Policy
|
|
20
|
+
* @summary Request a Policy
|
|
21
|
+
* @param {PolicyParams} config with all available params.
|
|
22
|
+
* @param {*} [options] Override http request option.
|
|
23
|
+
* @throws {RequiredError}
|
|
24
|
+
*/
|
|
25
|
+
export declare const policyParamCreator: (...config: ([PolicyParams] | [any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
26
|
+
export default policyParamCreator;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.policyParamCreator = 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 isPolicyObjectParams = function (params) {
|
|
8
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'id') && true;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Returns a Policy
|
|
12
|
+
* @summary Request a Policy
|
|
13
|
+
* @param {PolicyParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
var policyParamCreator = 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 = isPolicyObjectParams(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 = "/policies/{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.policyParamCreator = policyParamCreator;
|
|
51
|
+
exports.default = exports.policyParamCreator;
|
|
52
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../Policy/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;;;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BAAe,0BAAkB,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 PolicySystemsParams = {
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @type { any }
|
|
7
|
+
* @memberof PolicySystemsApi
|
|
8
|
+
*/
|
|
9
|
+
policyId: any;
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @type { any }
|
|
13
|
+
* @memberof PolicySystemsApi
|
|
14
|
+
*/
|
|
15
|
+
xRHIDENTITY?: any;
|
|
16
|
+
/**
|
|
17
|
+
* Number of items to return per page
|
|
18
|
+
* @type { any }
|
|
19
|
+
* @memberof PolicySystemsApi
|
|
20
|
+
*/
|
|
21
|
+
limit?: any;
|
|
22
|
+
/**
|
|
23
|
+
* Offset of first item of paginated response
|
|
24
|
+
* @type { any }
|
|
25
|
+
* @memberof PolicySystemsApi
|
|
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 PolicySystemsApi
|
|
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>Systems are searchable using attributes `display_name`, `os_major_version`, and `os_minor_version`<br><br>(e.g.: `(version=0.1.47 AND os_major_verision=8)`)
|
|
36
|
+
* @type { any }
|
|
37
|
+
* @memberof PolicySystemsApi
|
|
38
|
+
*/
|
|
39
|
+
filter?: any;
|
|
40
|
+
options?: AxiosRequestConfig;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Lists Systems assigned to a Policy
|
|
44
|
+
* @summary Request Systems assigned to a Policy
|
|
45
|
+
* @param {PolicySystemsParams} config with all available params.
|
|
46
|
+
* @param {*} [options] Override http request option.
|
|
47
|
+
* @throws {RequiredError}
|
|
48
|
+
*/
|
|
49
|
+
export declare const policySystemsParamCreator: (...config: ([PolicySystemsParams] | [any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
50
|
+
export default policySystemsParamCreator;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.policySystemsParamCreator = 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 isPolicySystemsObjectParams = function (params) {
|
|
8
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'policyId') && true && true && true && true && true;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Lists Systems assigned to a Policy
|
|
12
|
+
* @summary Request Systems assigned to a Policy
|
|
13
|
+
* @param {PolicySystemsParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
var policySystemsParamCreator = 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, xRHIDENTITY, limit, offset, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
24
|
+
return tslib_1.__generator(this, function (_b) {
|
|
25
|
+
params = isPolicySystemsObjectParams(config) ? config[0] : ['policyId', '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
|
+
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;
|
|
30
|
+
localVarPath = "/policies/{policy_id}/systems"
|
|
31
|
+
.replace("{".concat("policy_id", "}"), encodeURIComponent(String(policyId)));
|
|
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.policySystemsParamCreator = policySystemsParamCreator;
|
|
63
|
+
exports.default = exports.policySystemsParamCreator;
|
|
64
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../PolicySystems/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,kFAA4T;AAkD5T,IAAM,2BAA2B,GAAG,UAAC,MAAyC;IAC5E,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,CAAA;AAChI,CAAC,CAAA;AACD;;;;;;EAME;AACK,IAAM,yBAAyB,GAAG;IAAO,gBAAuF;SAAvF,UAAuF,EAAvF,qBAAuF,EAAvF,IAAuF;QAAvF,2BAAuF;;;;;YAC7H,MAAM,GAAG,2BAA2B,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,UAAU,EAAE,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,IAAI,IAAG,MAAM,CAAC,KAAK,CAAC,OAAG;YAAnC,CAAmC,EAAE,EAAE,CAAwB,CAAC;YACpO,QAAQ,GAA+D,MAAM,SAArE,EAAE,WAAW,GAAkD,MAAM,YAAxD,EAAE,KAAK,GAA2C,MAAM,MAAjD,EAAE,MAAM,GAAmC,MAAM,OAAzC,EAAE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C;;;CACL,CAAA;AA1CY,QAAA,yBAAyB,6BA0CrC;AAED,kBAAe,iCAAyB,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/common';
|
|
3
|
+
export type ProfileParams = {
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @type { any }
|
|
7
|
+
* @memberof ProfileApi
|
|
8
|
+
*/
|
|
9
|
+
securityGuideId: any;
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @type { any }
|
|
13
|
+
* @memberof ProfileApi
|
|
14
|
+
*/
|
|
15
|
+
id: any;
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @type { any }
|
|
19
|
+
* @memberof ProfileApi
|
|
20
|
+
*/
|
|
21
|
+
xRHIDENTITY?: any;
|
|
22
|
+
options?: AxiosRequestConfig;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Returns a Profile
|
|
26
|
+
* @summary Request a Profile
|
|
27
|
+
* @param {ProfileParams} config with all available params.
|
|
28
|
+
* @param {*} [options] Override http request option.
|
|
29
|
+
* @throws {RequiredError}
|
|
30
|
+
*/
|
|
31
|
+
export declare const profileParamCreator: (...config: ([ProfileParams] | [any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
32
|
+
export default profileParamCreator;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.profileParamCreator = 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 isProfileObjectParams = function (params) {
|
|
8
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'securityGuideId') && Object.prototype.hasOwnProperty.call(params, 'id') && true;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Returns a Profile
|
|
12
|
+
* @summary Request a Profile
|
|
13
|
+
* @param {ProfileParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
var profileParamCreator = 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, id, xRHIDENTITY, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
24
|
+
return tslib_1.__generator(this, function (_b) {
|
|
25
|
+
params = isProfileObjectParams(config) ? config[0] : ['securityGuideId', '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
|
+
securityGuideId = params.securityGuideId, id = params.id, xRHIDENTITY = params.xRHIDENTITY, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
30
|
+
localVarPath = "/security_guides/{security_guide_id}/profiles/{id}"
|
|
31
|
+
.replace("{".concat("security_guide_id", "}"), encodeURIComponent(String(securityGuideId)))
|
|
32
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
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.profileParamCreator = profileParamCreator;
|
|
52
|
+
exports.default = exports.profileParamCreator;
|
|
53
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../Profile/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,kFAA4T;AAgC5T,IAAM,qBAAqB,GAAG,UAAC,MAAmC;IAChE,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,iBAAiB,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,IAAI,CAAA;AAC7J,CAAC,CAAA;AACD;;;;;;EAME;AACK,IAAM,mBAAmB,GAAG;IAAO,gBAAkE;SAAlE,UAAkE,EAAlE,qBAAkE,EAAlE,IAAkE;QAAlE,2BAAkE;;;;;YAClG,MAAM,GAAG,qBAAqB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,iBAAiB,EAAE,IAAI,EAAE,aAAa,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,UAAC,GAAG,EAAE,IAAI,EAAE,KAAK;;gBAAK,OAAA,uCAAM,GAAG,gBAAG,IAAI,IAAG,MAAM,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