@redhat-cloud-services/compliance-client 0.2.3 → 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 +2 -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/ProfileTree/index.d.ts +32 -0
- package/dist/ProfileTree/index.js +53 -0
- package/dist/ProfileTree/index.js.map +1 -0
- 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/api.d.ts +239 -25
- package/dist/api.js +409 -5
- 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 +32 -19
- package/dist/types/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [0.2.4](https://github.com/RedHatInsights/javascript-clients/compare/@redhat-cloud-services/compliance-client-0.2.3...@redhat-cloud-services/compliance-client-0.2.4) (2024-10-21)
|
|
6
|
+
|
|
5
7
|
## [0.2.3](https://github.com/RedHatInsights/javascript-clients/compare/@redhat-cloud-services/compliance-client-0.2.2...@redhat-cloud-services/compliance-client-0.2.3) (2024-10-15)
|
|
6
8
|
|
|
7
9
|
## [0.2.2](https://github.com/RedHatInsights/javascript-clients/compare/@redhat-cloud-services/compliance-client-0.2.1...@redhat-cloud-services/compliance-client-0.2.2) (2024-09-04)
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
import type { TailoringCreate } from '../types';
|
|
4
|
+
export type CreateTailoringParams = {
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* @type { any }
|
|
8
|
+
* @memberof CreateTailoringApi
|
|
9
|
+
*/
|
|
10
|
+
policyId: any;
|
|
11
|
+
/**
|
|
12
|
+
* For internal use only
|
|
13
|
+
* @type { any }
|
|
14
|
+
* @memberof CreateTailoringApi
|
|
15
|
+
*/
|
|
16
|
+
xRHIDENTITY?: any;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @type { TailoringCreate }
|
|
20
|
+
* @memberof CreateTailoringApi
|
|
21
|
+
*/
|
|
22
|
+
tailoringCreate?: TailoringCreate;
|
|
23
|
+
options?: AxiosRequestConfig;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Create a Tailoring with the provided attributes (for ImageBuilder only)
|
|
27
|
+
* @summary Create a Tailoring
|
|
28
|
+
* @param {CreateTailoringParams} config with all available params.
|
|
29
|
+
* @param {*} [options] Override http request option.
|
|
30
|
+
* @throws {RequiredError}
|
|
31
|
+
*/
|
|
32
|
+
export declare const createTailoringParamCreator: (...config: ([CreateTailoringParams] | [any, any, TailoringCreate, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
33
|
+
export default createTailoringParamCreator;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createTailoringParamCreator = 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 isCreateTailoringObjectParams = function (params) {
|
|
8
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'policyId') && true && true;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Create a Tailoring with the provided attributes (for ImageBuilder only)
|
|
12
|
+
* @summary Create a Tailoring
|
|
13
|
+
* @param {CreateTailoringParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
var createTailoringParamCreator = 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, tailoringCreate, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
24
|
+
return tslib_1.__generator(this, function (_b) {
|
|
25
|
+
params = isCreateTailoringObjectParams(config) ? config[0] : ['policyId', 'xRHIDENTITY', 'tailoringCreate', '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, tailoringCreate = params.tailoringCreate, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
30
|
+
localVarPath = "/policies/{policy_id}/tailorings"
|
|
31
|
+
.replace("{".concat("policy_id", "}"), encodeURIComponent(String(policyId)));
|
|
32
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
33
|
+
localVarRequestOptions = tslib_1.__assign({ method: 'POST' }, 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
|
+
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
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
|
+
serializeData: tailoringCreate,
|
|
48
|
+
}];
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
};
|
|
52
|
+
exports.createTailoringParamCreator = createTailoringParamCreator;
|
|
53
|
+
exports.default = exports.createTailoringParamCreator;
|
|
54
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../CreateTailoring/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AAgCjU,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,CAAA;AACxG,CAAC,CAAA;AACD;;;;;;EAME;AACK,IAAM,2BAA2B,GAAG;IAAO,gBAAsF;SAAtF,UAAsF,EAAtF,qBAAsF,EAAtF,IAAsF;QAAtF,2BAAsF;;;;;YAC9H,MAAM,GAAG,6BAA6B,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,UAAU,EAAE,aAAa,EAAE,iBAAiB,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,CAA0B,CAAC;YACpN,QAAQ,GAAiD,MAAM,SAAvD,EAAE,WAAW,GAAoC,MAAM,YAA1C,EAAE,eAAe,GAAmB,MAAM,gBAAzB,EAAE,KAAiB,MAAM,QAAX,EAAZ,OAAO,mBAAG,EAAE,KAAA,CAAY;YAClE,YAAY,GAAG,kCAAkC;iBAClD,OAAO,CAAC,WAAI,WAAW,MAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;YAEjE,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,eAAe;iBACjC,EAAC;;;CACL,CAAA;AA7BY,QAAA,2BAA2B,+BA6BvC;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 ProfileTreeParams = {
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @type { any }
|
|
7
|
+
* @memberof ProfileTreeApi
|
|
8
|
+
*/
|
|
9
|
+
securityGuideId: any;
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @type { any }
|
|
13
|
+
* @memberof ProfileTreeApi
|
|
14
|
+
*/
|
|
15
|
+
profileId: any;
|
|
16
|
+
/**
|
|
17
|
+
* For internal use only
|
|
18
|
+
* @type { any }
|
|
19
|
+
* @memberof ProfileTreeApi
|
|
20
|
+
*/
|
|
21
|
+
xRHIDENTITY?: any;
|
|
22
|
+
options?: AxiosRequestConfig;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Returns the Rule Tree of a Profile
|
|
26
|
+
* @summary Request the Rule Tree of a Profile
|
|
27
|
+
* @param {ProfileTreeParams} config with all available params.
|
|
28
|
+
* @param {*} [options] Override http request option.
|
|
29
|
+
* @throws {RequiredError}
|
|
30
|
+
*/
|
|
31
|
+
export declare const profileTreeParamCreator: (...config: ([ProfileTreeParams] | [any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
32
|
+
export default profileTreeParamCreator;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.profileTreeParamCreator = 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 isProfileTreeObjectParams = function (params) {
|
|
8
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'securityGuideId') && Object.prototype.hasOwnProperty.call(params, 'profileId') && true;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Returns the Rule Tree of a Profile
|
|
12
|
+
* @summary Request the Rule Tree of a Profile
|
|
13
|
+
* @param {ProfileTreeParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
var profileTreeParamCreator = 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, profileId, xRHIDENTITY, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
24
|
+
return tslib_1.__generator(this, function (_b) {
|
|
25
|
+
params = isProfileTreeObjectParams(config) ? config[0] : ['securityGuideId', 'profileId', '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, profileId = params.profileId, xRHIDENTITY = params.xRHIDENTITY, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
30
|
+
localVarPath = "/security_guides/{security_guide_id}/profiles/{profile_id}/rule_tree"
|
|
31
|
+
.replace("{".concat("security_guide_id", "}"), encodeURIComponent(String(securityGuideId)))
|
|
32
|
+
.replace("{".concat("profile_id", "}"), encodeURIComponent(String(profileId)));
|
|
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.profileTreeParamCreator = profileTreeParamCreator;
|
|
52
|
+
exports.default = exports.profileTreeParamCreator;
|
|
53
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ProfileTree/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AAgCjU,IAAM,yBAAyB,GAAG,UAAC,MAAuC;IACxE,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,WAAW,CAAC,IAAI,IAAI,CAAA;AACpK,CAAC,CAAA;AACD;;;;;;EAME;AACK,IAAM,uBAAuB,GAAG;IAAO,gBAAsE;SAAtE,UAAsE,EAAtE,qBAAsE,EAAtE,IAAsE;QAAtE,2BAAsE;;;;;YAC1G,MAAM,GAAG,yBAAyB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,iBAAiB,EAAE,WAAW,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,CAAsB,CAAC;YAC7M,eAAe,GAA2C,MAAM,gBAAjD,EAAE,SAAS,GAAgC,MAAM,UAAtC,EAAE,WAAW,GAAmB,MAAM,YAAzB,EAAE,KAAiB,MAAM,QAAX,EAAZ,OAAO,mBAAG,EAAE,KAAA,CAAY;YACnE,YAAY,GAAG,sEAAsE;iBACtF,OAAO,CAAC,WAAI,mBAAmB,MAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC;iBAChF,OAAO,CAAC,WAAI,YAAY,MAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;YAEnE,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;AA3BY,QAAA,uBAAuB,2BA2BnC;AAED,kBAAe,+BAAuB,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,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,CAAA;AAC/J,CAAC,CAAA;AACD;;;;;;EAME;AACK,IAAM,6BAA6B,GAAG;IAAO,gBAA4E;SAA5E,UAA4E,EAA5E,qBAA4E,EAA5E,IAA4E;QAA5E,2BAA4E;;;;;YACtH,MAAM,GAAG,+BAA+B,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,UAAU,EAAE,aAAa,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,CAA4B,CAAC;YACpN,QAAQ,GAA6C,MAAM,SAAnD,EAAE,WAAW,GAAgC,MAAM,YAAtC,EAAE,WAAW,GAAmB,MAAM,YAAzB,EAAE,KAAiB,MAAM,QAAX,EAAZ,OAAO,mBAAG,EAAE,KAAA,CAAY;YAC9D,YAAY,GAAG,2DAA2D;iBAC3E,OAAO,CAAC,WAAI,WAAW,MAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC;iBACjE,OAAO,CAAC,WAAI,cAAc,MAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;YAEvE,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;AA3BY,QAAA,6BAA6B,iCA2BzC;AAED,kBAAe,qCAA6B,CAAC"}
|
package/dist/api.d.ts
CHANGED
|
@@ -52,6 +52,32 @@ export interface CreatePolicy201ResponseData {
|
|
|
52
52
|
*/
|
|
53
53
|
'schema'?: Policy;
|
|
54
54
|
}
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @export
|
|
58
|
+
* @interface CreateTailoring201Response
|
|
59
|
+
*/
|
|
60
|
+
export interface CreateTailoring201Response {
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {CreateTailoring201ResponseData}
|
|
64
|
+
* @memberof CreateTailoring201Response
|
|
65
|
+
*/
|
|
66
|
+
'data'?: CreateTailoring201ResponseData;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @export
|
|
71
|
+
* @interface CreateTailoring201ResponseData
|
|
72
|
+
*/
|
|
73
|
+
export interface CreateTailoring201ResponseData {
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {Tailoring}
|
|
77
|
+
* @memberof CreateTailoring201ResponseData
|
|
78
|
+
*/
|
|
79
|
+
'schema'?: Tailoring;
|
|
80
|
+
}
|
|
55
81
|
/**
|
|
56
82
|
*
|
|
57
83
|
* @export
|
|
@@ -1328,28 +1354,15 @@ export type TailoringTypeEnum = typeof TailoringTypeEnum[keyof typeof TailoringT
|
|
|
1328
1354
|
/**
|
|
1329
1355
|
*
|
|
1330
1356
|
* @export
|
|
1331
|
-
* @interface
|
|
1357
|
+
* @interface TailoringCreate
|
|
1332
1358
|
*/
|
|
1333
|
-
export interface
|
|
1359
|
+
export interface TailoringCreate {
|
|
1334
1360
|
/**
|
|
1335
|
-
*
|
|
1336
|
-
* @type {
|
|
1337
|
-
* @memberof
|
|
1338
|
-
*/
|
|
1339
|
-
'data'?: Tailoring200ResponseData;
|
|
1340
|
-
}
|
|
1341
|
-
/**
|
|
1342
|
-
*
|
|
1343
|
-
* @export
|
|
1344
|
-
* @interface Tailoring200ResponseData
|
|
1345
|
-
*/
|
|
1346
|
-
export interface Tailoring200ResponseData {
|
|
1347
|
-
/**
|
|
1348
|
-
*
|
|
1349
|
-
* @type {Tailoring}
|
|
1350
|
-
* @memberof Tailoring200ResponseData
|
|
1361
|
+
* Minor version of the Operating System that the Tailoring covers
|
|
1362
|
+
* @type {any}
|
|
1363
|
+
* @memberof TailoringCreate
|
|
1351
1364
|
*/
|
|
1352
|
-
'
|
|
1365
|
+
'os_minor_version'?: any;
|
|
1353
1366
|
}
|
|
1354
1367
|
/**
|
|
1355
1368
|
* Defines customizations of rules and variables for a set of profiles
|
|
@@ -1930,6 +1943,73 @@ export declare class CreatePolicyApi extends BaseAPI {
|
|
|
1930
1943
|
*/
|
|
1931
1944
|
createPolicy(xRHIDENTITY?: any, policy?: Policy, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePolicy201Response, any>>;
|
|
1932
1945
|
}
|
|
1946
|
+
/**
|
|
1947
|
+
* CreateTailoringApi - axios parameter creator
|
|
1948
|
+
* @export
|
|
1949
|
+
*/
|
|
1950
|
+
export declare const CreateTailoringApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1951
|
+
/**
|
|
1952
|
+
* Create a Tailoring with the provided attributes (for ImageBuilder only)
|
|
1953
|
+
* @summary Create a Tailoring
|
|
1954
|
+
* @param {any} policyId
|
|
1955
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
1956
|
+
* @param {TailoringCreate} [tailoringCreate]
|
|
1957
|
+
* @param {*} [options] Override http request option.
|
|
1958
|
+
* @throws {RequiredError}
|
|
1959
|
+
*/
|
|
1960
|
+
createTailoring: (policyId: any, xRHIDENTITY?: any, tailoringCreate?: TailoringCreate, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1961
|
+
};
|
|
1962
|
+
/**
|
|
1963
|
+
* CreateTailoringApi - functional programming interface
|
|
1964
|
+
* @export
|
|
1965
|
+
*/
|
|
1966
|
+
export declare const CreateTailoringApiFp: (configuration?: Configuration) => {
|
|
1967
|
+
/**
|
|
1968
|
+
* Create a Tailoring with the provided attributes (for ImageBuilder only)
|
|
1969
|
+
* @summary Create a Tailoring
|
|
1970
|
+
* @param {any} policyId
|
|
1971
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
1972
|
+
* @param {TailoringCreate} [tailoringCreate]
|
|
1973
|
+
* @param {*} [options] Override http request option.
|
|
1974
|
+
* @throws {RequiredError}
|
|
1975
|
+
*/
|
|
1976
|
+
createTailoring(policyId: any, xRHIDENTITY?: any, tailoringCreate?: TailoringCreate, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateTailoring201Response>>;
|
|
1977
|
+
};
|
|
1978
|
+
/**
|
|
1979
|
+
* CreateTailoringApi - factory interface
|
|
1980
|
+
* @export
|
|
1981
|
+
*/
|
|
1982
|
+
export declare const CreateTailoringApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1983
|
+
/**
|
|
1984
|
+
* Create a Tailoring with the provided attributes (for ImageBuilder only)
|
|
1985
|
+
* @summary Create a Tailoring
|
|
1986
|
+
* @param {any} policyId
|
|
1987
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
1988
|
+
* @param {TailoringCreate} [tailoringCreate]
|
|
1989
|
+
* @param {*} [options] Override http request option.
|
|
1990
|
+
* @throws {RequiredError}
|
|
1991
|
+
*/
|
|
1992
|
+
createTailoring(policyId: any, xRHIDENTITY?: any, tailoringCreate?: TailoringCreate, options?: any): AxiosPromise<CreateTailoring201Response>;
|
|
1993
|
+
};
|
|
1994
|
+
/**
|
|
1995
|
+
* CreateTailoringApi - object-oriented interface
|
|
1996
|
+
* @export
|
|
1997
|
+
* @class CreateTailoringApi
|
|
1998
|
+
* @extends {BaseAPI}
|
|
1999
|
+
*/
|
|
2000
|
+
export declare class CreateTailoringApi extends BaseAPI {
|
|
2001
|
+
/**
|
|
2002
|
+
* Create a Tailoring with the provided attributes (for ImageBuilder only)
|
|
2003
|
+
* @summary Create a Tailoring
|
|
2004
|
+
* @param {any} policyId
|
|
2005
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
2006
|
+
* @param {TailoringCreate} [tailoringCreate]
|
|
2007
|
+
* @param {*} [options] Override http request option.
|
|
2008
|
+
* @throws {RequiredError}
|
|
2009
|
+
* @memberof CreateTailoringApi
|
|
2010
|
+
*/
|
|
2011
|
+
createTailoring(policyId: any, xRHIDENTITY?: any, tailoringCreate?: TailoringCreate, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateTailoring201Response, any>>;
|
|
2012
|
+
}
|
|
1933
2013
|
/**
|
|
1934
2014
|
* DeletePolicyApi - axios parameter creator
|
|
1935
2015
|
* @export
|
|
@@ -2581,6 +2661,73 @@ export declare class ProfileRulesApi extends BaseAPI {
|
|
|
2581
2661
|
*/
|
|
2582
2662
|
profileRules(securityGuideId: any, profileId: any, xRHIDENTITY?: any, limit?: any, offset?: any, idsOnly?: any, sortBy?: any, filter?: any, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Rules200Response, any>>;
|
|
2583
2663
|
}
|
|
2664
|
+
/**
|
|
2665
|
+
* ProfileTreeApi - axios parameter creator
|
|
2666
|
+
* @export
|
|
2667
|
+
*/
|
|
2668
|
+
export declare const ProfileTreeApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2669
|
+
/**
|
|
2670
|
+
* Returns the Rule Tree of a Profile
|
|
2671
|
+
* @summary Request the Rule Tree of a Profile
|
|
2672
|
+
* @param {any} securityGuideId
|
|
2673
|
+
* @param {any} profileId
|
|
2674
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
2675
|
+
* @param {*} [options] Override http request option.
|
|
2676
|
+
* @throws {RequiredError}
|
|
2677
|
+
*/
|
|
2678
|
+
profileTree: (securityGuideId: any, profileId: any, xRHIDENTITY?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2679
|
+
};
|
|
2680
|
+
/**
|
|
2681
|
+
* ProfileTreeApi - functional programming interface
|
|
2682
|
+
* @export
|
|
2683
|
+
*/
|
|
2684
|
+
export declare const ProfileTreeApiFp: (configuration?: Configuration) => {
|
|
2685
|
+
/**
|
|
2686
|
+
* Returns the Rule Tree of a Profile
|
|
2687
|
+
* @summary Request the Rule Tree of a Profile
|
|
2688
|
+
* @param {any} securityGuideId
|
|
2689
|
+
* @param {any} profileId
|
|
2690
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
2691
|
+
* @param {*} [options] Override http request option.
|
|
2692
|
+
* @throws {RequiredError}
|
|
2693
|
+
*/
|
|
2694
|
+
profileTree(securityGuideId: any, profileId: any, xRHIDENTITY?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
2695
|
+
};
|
|
2696
|
+
/**
|
|
2697
|
+
* ProfileTreeApi - factory interface
|
|
2698
|
+
* @export
|
|
2699
|
+
*/
|
|
2700
|
+
export declare const ProfileTreeApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2701
|
+
/**
|
|
2702
|
+
* Returns the Rule Tree of a Profile
|
|
2703
|
+
* @summary Request the Rule Tree of a Profile
|
|
2704
|
+
* @param {any} securityGuideId
|
|
2705
|
+
* @param {any} profileId
|
|
2706
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
2707
|
+
* @param {*} [options] Override http request option.
|
|
2708
|
+
* @throws {RequiredError}
|
|
2709
|
+
*/
|
|
2710
|
+
profileTree(securityGuideId: any, profileId: any, xRHIDENTITY?: any, options?: any): AxiosPromise<any>;
|
|
2711
|
+
};
|
|
2712
|
+
/**
|
|
2713
|
+
* ProfileTreeApi - object-oriented interface
|
|
2714
|
+
* @export
|
|
2715
|
+
* @class ProfileTreeApi
|
|
2716
|
+
* @extends {BaseAPI}
|
|
2717
|
+
*/
|
|
2718
|
+
export declare class ProfileTreeApi extends BaseAPI {
|
|
2719
|
+
/**
|
|
2720
|
+
* Returns the Rule Tree of a Profile
|
|
2721
|
+
* @summary Request the Rule Tree of a Profile
|
|
2722
|
+
* @param {any} securityGuideId
|
|
2723
|
+
* @param {any} profileId
|
|
2724
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
2725
|
+
* @param {*} [options] Override http request option.
|
|
2726
|
+
* @throws {RequiredError}
|
|
2727
|
+
* @memberof ProfileTreeApi
|
|
2728
|
+
*/
|
|
2729
|
+
profileTree(securityGuideId: any, profileId: any, xRHIDENTITY?: any, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
|
|
2730
|
+
}
|
|
2584
2731
|
/**
|
|
2585
2732
|
* ProfilesApi - axios parameter creator
|
|
2586
2733
|
* @export
|
|
@@ -4533,7 +4680,7 @@ export declare const TailoringApiFp: (configuration?: Configuration) => {
|
|
|
4533
4680
|
* @param {*} [options] Override http request option.
|
|
4534
4681
|
* @throws {RequiredError}
|
|
4535
4682
|
*/
|
|
4536
|
-
tailoring(policyId: any, tailoringId: any, xRHIDENTITY?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
4683
|
+
tailoring(policyId: any, tailoringId: any, xRHIDENTITY?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateTailoring201Response>>;
|
|
4537
4684
|
};
|
|
4538
4685
|
/**
|
|
4539
4686
|
* TailoringApi - factory interface
|
|
@@ -4549,7 +4696,7 @@ export declare const TailoringApiFactory: (configuration?: Configuration, basePa
|
|
|
4549
4696
|
* @param {*} [options] Override http request option.
|
|
4550
4697
|
* @throws {RequiredError}
|
|
4551
4698
|
*/
|
|
4552
|
-
tailoring(policyId: any, tailoringId: any, xRHIDENTITY?: any, options?: any): AxiosPromise<
|
|
4699
|
+
tailoring(policyId: any, tailoringId: any, xRHIDENTITY?: any, options?: any): AxiosPromise<CreateTailoring201Response>;
|
|
4553
4700
|
};
|
|
4554
4701
|
/**
|
|
4555
4702
|
* TailoringApi - object-oriented interface
|
|
@@ -4568,7 +4715,7 @@ export declare class TailoringApi extends BaseAPI {
|
|
|
4568
4715
|
* @throws {RequiredError}
|
|
4569
4716
|
* @memberof TailoringApi
|
|
4570
4717
|
*/
|
|
4571
|
-
tailoring(policyId: any, tailoringId: any, xRHIDENTITY?: any, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
4718
|
+
tailoring(policyId: any, tailoringId: any, xRHIDENTITY?: any, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateTailoring201Response, any>>;
|
|
4572
4719
|
}
|
|
4573
4720
|
/**
|
|
4574
4721
|
* TailoringFileApi - axios parameter creator
|
|
@@ -4637,6 +4784,73 @@ export declare class TailoringFileApi extends BaseAPI {
|
|
|
4637
4784
|
*/
|
|
4638
4785
|
tailoringFile(policyId: any, tailoringId: any, xRHIDENTITY?: any, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TailoringFile, any>>;
|
|
4639
4786
|
}
|
|
4787
|
+
/**
|
|
4788
|
+
* TailoringRuleTreeApi - axios parameter creator
|
|
4789
|
+
* @export
|
|
4790
|
+
*/
|
|
4791
|
+
export declare const TailoringRuleTreeApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
4792
|
+
/**
|
|
4793
|
+
* Returns the Rule Tree of a Tailoring
|
|
4794
|
+
* @summary Request the Rule Tree of a Tailoring
|
|
4795
|
+
* @param {any} policyId
|
|
4796
|
+
* @param {any} tailoringId
|
|
4797
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
4798
|
+
* @param {*} [options] Override http request option.
|
|
4799
|
+
* @throws {RequiredError}
|
|
4800
|
+
*/
|
|
4801
|
+
tailoringRuleTree: (policyId: any, tailoringId: any, xRHIDENTITY?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4802
|
+
};
|
|
4803
|
+
/**
|
|
4804
|
+
* TailoringRuleTreeApi - functional programming interface
|
|
4805
|
+
* @export
|
|
4806
|
+
*/
|
|
4807
|
+
export declare const TailoringRuleTreeApiFp: (configuration?: Configuration) => {
|
|
4808
|
+
/**
|
|
4809
|
+
* Returns the Rule Tree of a Tailoring
|
|
4810
|
+
* @summary Request the Rule Tree of a Tailoring
|
|
4811
|
+
* @param {any} policyId
|
|
4812
|
+
* @param {any} tailoringId
|
|
4813
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
4814
|
+
* @param {*} [options] Override http request option.
|
|
4815
|
+
* @throws {RequiredError}
|
|
4816
|
+
*/
|
|
4817
|
+
tailoringRuleTree(policyId: any, tailoringId: any, xRHIDENTITY?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
4818
|
+
};
|
|
4819
|
+
/**
|
|
4820
|
+
* TailoringRuleTreeApi - factory interface
|
|
4821
|
+
* @export
|
|
4822
|
+
*/
|
|
4823
|
+
export declare const TailoringRuleTreeApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
4824
|
+
/**
|
|
4825
|
+
* Returns the Rule Tree of a Tailoring
|
|
4826
|
+
* @summary Request the Rule Tree of a Tailoring
|
|
4827
|
+
* @param {any} policyId
|
|
4828
|
+
* @param {any} tailoringId
|
|
4829
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
4830
|
+
* @param {*} [options] Override http request option.
|
|
4831
|
+
* @throws {RequiredError}
|
|
4832
|
+
*/
|
|
4833
|
+
tailoringRuleTree(policyId: any, tailoringId: any, xRHIDENTITY?: any, options?: any): AxiosPromise<any>;
|
|
4834
|
+
};
|
|
4835
|
+
/**
|
|
4836
|
+
* TailoringRuleTreeApi - object-oriented interface
|
|
4837
|
+
* @export
|
|
4838
|
+
* @class TailoringRuleTreeApi
|
|
4839
|
+
* @extends {BaseAPI}
|
|
4840
|
+
*/
|
|
4841
|
+
export declare class TailoringRuleTreeApi extends BaseAPI {
|
|
4842
|
+
/**
|
|
4843
|
+
* Returns the Rule Tree of a Tailoring
|
|
4844
|
+
* @summary Request the Rule Tree of a Tailoring
|
|
4845
|
+
* @param {any} policyId
|
|
4846
|
+
* @param {any} tailoringId
|
|
4847
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
4848
|
+
* @param {*} [options] Override http request option.
|
|
4849
|
+
* @throws {RequiredError}
|
|
4850
|
+
* @memberof TailoringRuleTreeApi
|
|
4851
|
+
*/
|
|
4852
|
+
tailoringRuleTree(policyId: any, tailoringId: any, xRHIDENTITY?: any, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
|
|
4853
|
+
}
|
|
4640
4854
|
/**
|
|
4641
4855
|
* TailoringRulesApi - axios parameter creator
|
|
4642
4856
|
* @export
|
|
@@ -5044,7 +5258,7 @@ export declare const UpdateTailoringApiFp: (configuration?: Configuration) => {
|
|
|
5044
5258
|
* @param {*} [options] Override http request option.
|
|
5045
5259
|
* @throws {RequiredError}
|
|
5046
5260
|
*/
|
|
5047
|
-
updateTailoring(policyId: any, tailoringId: any, xRHIDENTITY?: any, tailoring?: Tailoring, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
5261
|
+
updateTailoring(policyId: any, tailoringId: any, xRHIDENTITY?: any, tailoring?: Tailoring, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateTailoring201Response>>;
|
|
5048
5262
|
};
|
|
5049
5263
|
/**
|
|
5050
5264
|
* UpdateTailoringApi - factory interface
|
|
@@ -5061,7 +5275,7 @@ export declare const UpdateTailoringApiFactory: (configuration?: Configuration,
|
|
|
5061
5275
|
* @param {*} [options] Override http request option.
|
|
5062
5276
|
* @throws {RequiredError}
|
|
5063
5277
|
*/
|
|
5064
|
-
updateTailoring(policyId: any, tailoringId: any, xRHIDENTITY?: any, tailoring?: Tailoring, options?: any): AxiosPromise<
|
|
5278
|
+
updateTailoring(policyId: any, tailoringId: any, xRHIDENTITY?: any, tailoring?: Tailoring, options?: any): AxiosPromise<CreateTailoring201Response>;
|
|
5065
5279
|
};
|
|
5066
5280
|
/**
|
|
5067
5281
|
* UpdateTailoringApi - object-oriented interface
|
|
@@ -5081,7 +5295,7 @@ export declare class UpdateTailoringApi extends BaseAPI {
|
|
|
5081
5295
|
* @throws {RequiredError}
|
|
5082
5296
|
* @memberof UpdateTailoringApi
|
|
5083
5297
|
*/
|
|
5084
|
-
updateTailoring(policyId: any, tailoringId: any, xRHIDENTITY?: any, tailoring?: Tailoring, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
5298
|
+
updateTailoring(policyId: any, tailoringId: any, xRHIDENTITY?: any, tailoring?: Tailoring, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateTailoring201Response, any>>;
|
|
5085
5299
|
}
|
|
5086
5300
|
/**
|
|
5087
5301
|
* ValueDefinitionApi - axios parameter creator
|