@redhat-cloud-services/compliance-client 0.1.1 → 0.1.2
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/AssignRule/index.d.ts +1 -1
- package/dist/AssignRules/index.d.ts +1 -1
- package/dist/AssignSystem/index.d.ts +1 -1
- package/dist/AssignSystems/index.d.ts +1 -1
- package/dist/CreatePolicy/index.d.ts +2 -2
- package/dist/CreatePolicy/index.js +1 -1
- package/dist/DeletePolicy/index.d.ts +1 -1
- package/dist/Policies/index.d.ts +4 -4
- package/dist/Policies/index.js +2 -2
- package/dist/Policy/index.d.ts +1 -1
- package/dist/PolicySystems/index.d.ts +2 -2
- package/dist/Profile/index.d.ts +1 -1
- package/dist/ProfileRule/index.d.ts +1 -1
- package/dist/ProfileRules/index.d.ts +2 -2
- package/dist/Profiles/index.d.ts +4 -4
- package/dist/Profiles/index.js +2 -2
- package/dist/Report/index.d.ts +26 -0
- package/dist/Report/index.js +52 -0
- package/dist/Report/index.js.map +1 -0
- package/dist/Reports/index.d.ts +44 -0
- package/dist/Reports/index.js +63 -0
- package/dist/Reports/index.js.map +1 -0
- package/dist/Rule/index.d.ts +1 -1
- package/dist/RuleGroup/index.d.ts +1 -1
- package/dist/RuleGroups/index.d.ts +4 -4
- package/dist/RuleGroups/index.js +2 -2
- package/dist/Rules/index.d.ts +3 -3
- package/dist/Rules/index.js +1 -1
- package/dist/SecurityGuide/index.d.ts +1 -1
- package/dist/SecurityGuideRuleTree/index.d.ts +1 -1
- package/dist/SecurityGuides/index.d.ts +4 -4
- package/dist/SecurityGuides/index.js +2 -2
- package/dist/SupportedProfiles/index.d.ts +4 -4
- package/dist/SupportedProfiles/index.js +2 -2
- package/dist/System/index.d.ts +1 -1
- package/dist/Systems/index.d.ts +4 -4
- package/dist/Systems/index.js +2 -2
- package/dist/SystemsPolicies/index.d.ts +2 -2
- package/dist/Tailoring/index.d.ts +1 -1
- package/dist/TailoringFile/index.d.ts +1 -1
- package/dist/TailoringRules/index.d.ts +2 -2
- package/dist/Tailorings/index.d.ts +4 -4
- package/dist/Tailorings/index.js +2 -2
- package/dist/UnassignRule/index.d.ts +1 -1
- package/dist/UnassignSystem/index.d.ts +1 -1
- package/dist/UpdatePolicy/index.d.ts +2 -2
- package/dist/UpdatePolicy/index.js +1 -1
- package/dist/UpdateTailoring/index.d.ts +39 -0
- package/dist/UpdateTailoring/index.js +55 -0
- package/dist/UpdateTailoring/index.js.map +1 -0
- package/dist/ValueDefinition/index.d.ts +1 -1
- package/dist/ValueDefinitions/index.d.ts +4 -4
- package/dist/ValueDefinitions/index.js +2 -2
- package/dist/api.d.ts +738 -318
- package/dist/api.js +581 -173
- package/dist/api.js.map +1 -1
- package/dist/base.d.ts +2 -2
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -12
- package/dist/configuration.js +0 -11
- package/dist/configuration.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.js +10 -1
- package/dist/index.js.map +1 -1
- package/dist/types/index.d.ts +160 -20
- package/dist/types/index.js +4 -1
- package/dist/types/index.js.map +1 -1
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Cloud Services for RHEL Compliance API v2
|
|
6
|
-
* This is the API for Cloud Services for RHEL Compliance. You can find out more about Red Hat Cloud Services for RHEL at [https://console.redhat.com/](https://console.redhat.com/)
|
|
6
|
+
* UNDER DEVELOPMENT: This version of the API is not fully done and some parts of it might change! This is the API for Cloud Services for RHEL Compliance. You can find out more about Red Hat Cloud Services for RHEL at [https://console.redhat.com/](https://console.redhat.com/)
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v2
|
|
9
9
|
*
|
|
@@ -13,12 +13,13 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
16
|
+
exports.ProfileApi = exports.ProfileApiFactory = exports.ProfileApiFp = exports.ProfileApiAxiosParamCreator = exports.PolicySystemsApi = exports.PolicySystemsApiFactory = exports.PolicySystemsApiFp = exports.PolicySystemsApiAxiosParamCreator = exports.PolicyApi = exports.PolicyApiFactory = exports.PolicyApiFp = exports.PolicyApiAxiosParamCreator = exports.PoliciesApi = exports.PoliciesApiFactory = exports.PoliciesApiFp = exports.PoliciesApiAxiosParamCreator = exports.DeletePolicyApi = exports.DeletePolicyApiFactory = exports.DeletePolicyApiFp = exports.DeletePolicyApiAxiosParamCreator = exports.CreatePolicyApi = exports.CreatePolicyApiFactory = exports.CreatePolicyApiFp = exports.CreatePolicyApiAxiosParamCreator = exports.AssignSystemsApi = exports.AssignSystemsApiFactory = exports.AssignSystemsApiFp = exports.AssignSystemsApiAxiosParamCreator = exports.AssignSystemApi = exports.AssignSystemApiFactory = exports.AssignSystemApiFp = exports.AssignSystemApiAxiosParamCreator = exports.AssignRulesApi = exports.AssignRulesApiFactory = exports.AssignRulesApiFp = exports.AssignRulesApiAxiosParamCreator = exports.AssignRuleApi = exports.AssignRuleApiFactory = exports.AssignRuleApiFp = exports.AssignRuleApiAxiosParamCreator = exports.ValueDefinitionTypeEnum = exports.TailoringTypeEnum = exports.SystemTypeEnum = exports.SupportedProfileTypeEnum = exports.SecurityGuideTypeEnum = exports.RuleGroupTypeEnum = exports.RuleTypeEnum = exports.ReportTypeEnum = exports.ProfileTypeEnum = exports.PolicyTypeEnum = void 0;
|
|
17
|
+
exports.SupportedProfilesApiFp = exports.SupportedProfilesApiAxiosParamCreator = exports.SecurityGuidesApi = exports.SecurityGuidesApiFactory = exports.SecurityGuidesApiFp = exports.SecurityGuidesApiAxiosParamCreator = exports.SecurityGuideRuleTreeApi = exports.SecurityGuideRuleTreeApiFactory = exports.SecurityGuideRuleTreeApiFp = exports.SecurityGuideRuleTreeApiAxiosParamCreator = exports.SecurityGuideApi = exports.SecurityGuideApiFactory = exports.SecurityGuideApiFp = exports.SecurityGuideApiAxiosParamCreator = exports.RulesApi = exports.RulesApiFactory = exports.RulesApiFp = exports.RulesApiAxiosParamCreator = exports.RuleGroupsApi = exports.RuleGroupsApiFactory = exports.RuleGroupsApiFp = exports.RuleGroupsApiAxiosParamCreator = exports.RuleGroupApi = exports.RuleGroupApiFactory = exports.RuleGroupApiFp = exports.RuleGroupApiAxiosParamCreator = exports.RuleApi = exports.RuleApiFactory = exports.RuleApiFp = exports.RuleApiAxiosParamCreator = exports.ReportsApi = exports.ReportsApiFactory = exports.ReportsApiFp = exports.ReportsApiAxiosParamCreator = exports.ReportApi = exports.ReportApiFactory = exports.ReportApiFp = exports.ReportApiAxiosParamCreator = exports.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = exports.ProfileRulesApi = exports.ProfileRulesApiFactory = exports.ProfileRulesApiFp = exports.ProfileRulesApiAxiosParamCreator = exports.ProfileRuleApi = exports.ProfileRuleApiFactory = exports.ProfileRuleApiFp = exports.ProfileRuleApiAxiosParamCreator = void 0;
|
|
18
|
+
exports.ValueDefinitionApi = exports.ValueDefinitionApiFactory = exports.ValueDefinitionApiFp = exports.ValueDefinitionApiAxiosParamCreator = exports.UpdateTailoringApi = exports.UpdateTailoringApiFactory = exports.UpdateTailoringApiFp = exports.UpdateTailoringApiAxiosParamCreator = exports.UpdatePolicyApi = exports.UpdatePolicyApiFactory = exports.UpdatePolicyApiFp = exports.UpdatePolicyApiAxiosParamCreator = exports.UnassignSystemApi = exports.UnassignSystemApiFactory = exports.UnassignSystemApiFp = exports.UnassignSystemApiAxiosParamCreator = exports.UnassignRuleApi = exports.UnassignRuleApiFactory = exports.UnassignRuleApiFp = exports.UnassignRuleApiAxiosParamCreator = exports.TailoringsApi = exports.TailoringsApiFactory = exports.TailoringsApiFp = exports.TailoringsApiAxiosParamCreator = exports.TailoringRulesApi = exports.TailoringRulesApiFactory = exports.TailoringRulesApiFp = exports.TailoringRulesApiAxiosParamCreator = exports.TailoringFileApi = exports.TailoringFileApiFactory = exports.TailoringFileApiFp = exports.TailoringFileApiAxiosParamCreator = exports.TailoringApi = exports.TailoringApiFactory = exports.TailoringApiFp = exports.TailoringApiAxiosParamCreator = exports.SystemsPoliciesApi = exports.SystemsPoliciesApiFactory = exports.SystemsPoliciesApiFp = exports.SystemsPoliciesApiAxiosParamCreator = exports.SystemsApi = exports.SystemsApiFactory = exports.SystemsApiFp = exports.SystemsApiAxiosParamCreator = exports.SystemApi = exports.SystemApiFactory = exports.SystemApiFp = exports.SystemApiAxiosParamCreator = exports.SupportedProfilesApi = exports.SupportedProfilesApiFactory = void 0;
|
|
19
|
+
exports.ValueDefinitionsApi = exports.ValueDefinitionsApiFactory = exports.ValueDefinitionsApiFp = exports.ValueDefinitionsApiAxiosParamCreator = void 0;
|
|
19
20
|
var tslib_1 = require("tslib");
|
|
20
21
|
var axios_1 = require("axios");
|
|
21
|
-
// Some imports not used depending on template
|
|
22
|
+
// Some imports not used depending on template condition
|
|
22
23
|
// @ts-ignore
|
|
23
24
|
var common_1 = require("./common");
|
|
24
25
|
// @ts-ignore
|
|
@@ -29,6 +30,9 @@ exports.PolicyTypeEnum = {
|
|
|
29
30
|
exports.ProfileTypeEnum = {
|
|
30
31
|
Profile: 'profile'
|
|
31
32
|
};
|
|
33
|
+
exports.ReportTypeEnum = {
|
|
34
|
+
Report: 'report'
|
|
35
|
+
};
|
|
32
36
|
exports.RuleTypeEnum = {
|
|
33
37
|
Rule: 'rule'
|
|
34
38
|
};
|
|
@@ -63,7 +67,7 @@ var AssignRuleApiAxiosParamCreator = function (configuration) {
|
|
|
63
67
|
* @param {any} policyId
|
|
64
68
|
* @param {any} tailoringId
|
|
65
69
|
* @param {any} id
|
|
66
|
-
* @param {any} [xRHIDENTITY]
|
|
70
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
67
71
|
* @param {*} [options] Override http request option.
|
|
68
72
|
* @throws {RequiredError}
|
|
69
73
|
*/
|
|
@@ -120,7 +124,7 @@ var AssignRuleApiFp = function (configuration) {
|
|
|
120
124
|
* @param {any} policyId
|
|
121
125
|
* @param {any} tailoringId
|
|
122
126
|
* @param {any} id
|
|
123
|
-
* @param {any} [xRHIDENTITY]
|
|
127
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
124
128
|
* @param {*} [options] Override http request option.
|
|
125
129
|
* @throws {RequiredError}
|
|
126
130
|
*/
|
|
@@ -198,7 +202,7 @@ var AssignRulesApiAxiosParamCreator = function (configuration) {
|
|
|
198
202
|
* @summary Bulk assign Rules to a Tailoring
|
|
199
203
|
* @param {any} policyId
|
|
200
204
|
* @param {any} tailoringId
|
|
201
|
-
* @param {any} [xRHIDENTITY]
|
|
205
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
202
206
|
* @param {AssignRulesRequest} [assignRulesRequest]
|
|
203
207
|
* @param {*} [options] Override http request option.
|
|
204
208
|
* @deprecated
|
|
@@ -255,7 +259,7 @@ var AssignRulesApiFp = function (configuration) {
|
|
|
255
259
|
* @summary Bulk assign Rules to a Tailoring
|
|
256
260
|
* @param {any} policyId
|
|
257
261
|
* @param {any} tailoringId
|
|
258
|
-
* @param {any} [xRHIDENTITY]
|
|
262
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
259
263
|
* @param {AssignRulesRequest} [assignRulesRequest]
|
|
260
264
|
* @param {*} [options] Override http request option.
|
|
261
265
|
* @deprecated
|
|
@@ -337,7 +341,7 @@ var AssignSystemApiAxiosParamCreator = function (configuration) {
|
|
|
337
341
|
* @summary Assign a System to a Policy
|
|
338
342
|
* @param {any} id
|
|
339
343
|
* @param {any} policyId
|
|
340
|
-
* @param {any} [xRHIDENTITY]
|
|
344
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
341
345
|
* @param {*} [options] Override http request option.
|
|
342
346
|
* @throws {RequiredError}
|
|
343
347
|
*/
|
|
@@ -390,7 +394,7 @@ var AssignSystemApiFp = function (configuration) {
|
|
|
390
394
|
* @summary Assign a System to a Policy
|
|
391
395
|
* @param {any} id
|
|
392
396
|
* @param {any} policyId
|
|
393
|
-
* @param {any} [xRHIDENTITY]
|
|
397
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
394
398
|
* @param {*} [options] Override http request option.
|
|
395
399
|
* @throws {RequiredError}
|
|
396
400
|
*/
|
|
@@ -467,7 +471,7 @@ var AssignSystemsApiAxiosParamCreator = function (configuration) {
|
|
|
467
471
|
* This feature is exclusively used by the frontend
|
|
468
472
|
* @summary Bulk assign Systems to a Policy
|
|
469
473
|
* @param {any} policyId
|
|
470
|
-
* @param {any} [xRHIDENTITY]
|
|
474
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
471
475
|
* @param {AssignRulesRequest} [assignRulesRequest]
|
|
472
476
|
* @param {*} [options] Override http request option.
|
|
473
477
|
* @deprecated
|
|
@@ -520,7 +524,7 @@ var AssignSystemsApiFp = function (configuration) {
|
|
|
520
524
|
* This feature is exclusively used by the frontend
|
|
521
525
|
* @summary Bulk assign Systems to a Policy
|
|
522
526
|
* @param {any} policyId
|
|
523
|
-
* @param {any} [xRHIDENTITY]
|
|
527
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
524
528
|
* @param {AssignRulesRequest} [assignRulesRequest]
|
|
525
529
|
* @param {*} [options] Override http request option.
|
|
526
530
|
* @deprecated
|
|
@@ -598,9 +602,9 @@ var CreatePolicyApiAxiosParamCreator = function (configuration) {
|
|
|
598
602
|
var _this = this;
|
|
599
603
|
return {
|
|
600
604
|
/**
|
|
601
|
-
* Create a Policy with the provided
|
|
605
|
+
* Create a Policy with the provided attribute
|
|
602
606
|
* @summary Create a Policy
|
|
603
|
-
* @param {any} [xRHIDENTITY]
|
|
607
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
604
608
|
* @param {Policy} [policy]
|
|
605
609
|
* @param {*} [options] Override http request option.
|
|
606
610
|
* @throws {RequiredError}
|
|
@@ -646,9 +650,9 @@ var CreatePolicyApiFp = function (configuration) {
|
|
|
646
650
|
var localVarAxiosParamCreator = (0, exports.CreatePolicyApiAxiosParamCreator)(configuration);
|
|
647
651
|
return {
|
|
648
652
|
/**
|
|
649
|
-
* Create a Policy with the provided
|
|
653
|
+
* Create a Policy with the provided attribute
|
|
650
654
|
* @summary Create a Policy
|
|
651
|
-
* @param {any} [xRHIDENTITY]
|
|
655
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
652
656
|
* @param {Policy} [policy]
|
|
653
657
|
* @param {*} [options] Override http request option.
|
|
654
658
|
* @throws {RequiredError}
|
|
@@ -677,7 +681,7 @@ var CreatePolicyApiFactory = function (configuration, basePath, axios) {
|
|
|
677
681
|
var localVarFp = (0, exports.CreatePolicyApiFp)(configuration);
|
|
678
682
|
return {
|
|
679
683
|
/**
|
|
680
|
-
* Create a Policy with the provided
|
|
684
|
+
* Create a Policy with the provided attribute
|
|
681
685
|
* @summary Create a Policy
|
|
682
686
|
* @param {CreatePolicyApiCreatePolicyRequest} requestParameters Request parameters.
|
|
683
687
|
* @param {*} [options] Override http request option.
|
|
@@ -702,7 +706,7 @@ var CreatePolicyApi = /** @class */ (function (_super) {
|
|
|
702
706
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
703
707
|
}
|
|
704
708
|
/**
|
|
705
|
-
* Create a Policy with the provided
|
|
709
|
+
* Create a Policy with the provided attribute
|
|
706
710
|
* @summary Create a Policy
|
|
707
711
|
* @param {CreatePolicyApiCreatePolicyRequest} requestParameters Request parameters.
|
|
708
712
|
* @param {*} [options] Override http request option.
|
|
@@ -728,7 +732,7 @@ var DeletePolicyApiAxiosParamCreator = function (configuration) {
|
|
|
728
732
|
* Deletes a Policy
|
|
729
733
|
* @summary Delete a Policy
|
|
730
734
|
* @param {any} id
|
|
731
|
-
* @param {any} [xRHIDENTITY]
|
|
735
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
732
736
|
* @param {*} [options] Override http request option.
|
|
733
737
|
* @throws {RequiredError}
|
|
734
738
|
*/
|
|
@@ -777,7 +781,7 @@ var DeletePolicyApiFp = function (configuration) {
|
|
|
777
781
|
* Deletes a Policy
|
|
778
782
|
* @summary Delete a Policy
|
|
779
783
|
* @param {any} id
|
|
780
|
-
* @param {any} [xRHIDENTITY]
|
|
784
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
781
785
|
* @param {*} [options] Override http request option.
|
|
782
786
|
* @throws {RequiredError}
|
|
783
787
|
*/
|
|
@@ -851,13 +855,13 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
851
855
|
var _this = this;
|
|
852
856
|
return {
|
|
853
857
|
/**
|
|
854
|
-
* Lists
|
|
855
|
-
* @summary Request
|
|
856
|
-
* @param {any} [xRHIDENTITY]
|
|
858
|
+
* Lists Policie
|
|
859
|
+
* @summary Request Policie
|
|
860
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
857
861
|
* @param {any} [limit] Number of items to return per page
|
|
858
862
|
* @param {any} [offset] Offset of first item of paginated response
|
|
859
863
|
* @param {any} [sortBy] 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.
|
|
860
|
-
* @param {any} [filter] 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 `
|
|
864
|
+
* @param {any} [filter] 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`, `os_major_version`, and `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
861
865
|
* @param {*} [options] Override http request option.
|
|
862
866
|
* @throws {RequiredError}
|
|
863
867
|
*/
|
|
@@ -912,13 +916,13 @@ var PoliciesApiFp = function (configuration) {
|
|
|
912
916
|
var localVarAxiosParamCreator = (0, exports.PoliciesApiAxiosParamCreator)(configuration);
|
|
913
917
|
return {
|
|
914
918
|
/**
|
|
915
|
-
* Lists
|
|
916
|
-
* @summary Request
|
|
917
|
-
* @param {any} [xRHIDENTITY]
|
|
919
|
+
* Lists Policie
|
|
920
|
+
* @summary Request Policie
|
|
921
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
918
922
|
* @param {any} [limit] Number of items to return per page
|
|
919
923
|
* @param {any} [offset] Offset of first item of paginated response
|
|
920
924
|
* @param {any} [sortBy] 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.
|
|
921
|
-
* @param {any} [filter] 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 `
|
|
925
|
+
* @param {any} [filter] 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`, `os_major_version`, and `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
922
926
|
* @param {*} [options] Override http request option.
|
|
923
927
|
* @throws {RequiredError}
|
|
924
928
|
*/
|
|
@@ -946,8 +950,8 @@ var PoliciesApiFactory = function (configuration, basePath, axios) {
|
|
|
946
950
|
var localVarFp = (0, exports.PoliciesApiFp)(configuration);
|
|
947
951
|
return {
|
|
948
952
|
/**
|
|
949
|
-
* Lists
|
|
950
|
-
* @summary Request
|
|
953
|
+
* Lists Policie
|
|
954
|
+
* @summary Request Policie
|
|
951
955
|
* @param {PoliciesApiPoliciesRequest} requestParameters Request parameters.
|
|
952
956
|
* @param {*} [options] Override http request option.
|
|
953
957
|
* @throws {RequiredError}
|
|
@@ -971,8 +975,8 @@ var PoliciesApi = /** @class */ (function (_super) {
|
|
|
971
975
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
972
976
|
}
|
|
973
977
|
/**
|
|
974
|
-
* Lists
|
|
975
|
-
* @summary Request
|
|
978
|
+
* Lists Policie
|
|
979
|
+
* @summary Request Policie
|
|
976
980
|
* @param {PoliciesApiPoliciesRequest} requestParameters Request parameters.
|
|
977
981
|
* @param {*} [options] Override http request option.
|
|
978
982
|
* @throws {RequiredError}
|
|
@@ -997,7 +1001,7 @@ var PolicyApiAxiosParamCreator = function (configuration) {
|
|
|
997
1001
|
* Returns a Policy
|
|
998
1002
|
* @summary Request a Policy
|
|
999
1003
|
* @param {any} id
|
|
1000
|
-
* @param {any} [xRHIDENTITY]
|
|
1004
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
1001
1005
|
* @param {*} [options] Override http request option.
|
|
1002
1006
|
* @throws {RequiredError}
|
|
1003
1007
|
*/
|
|
@@ -1046,7 +1050,7 @@ var PolicyApiFp = function (configuration) {
|
|
|
1046
1050
|
* Returns a Policy
|
|
1047
1051
|
* @summary Request a Policy
|
|
1048
1052
|
* @param {any} id
|
|
1049
|
-
* @param {any} [xRHIDENTITY]
|
|
1053
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
1050
1054
|
* @param {*} [options] Override http request option.
|
|
1051
1055
|
* @throws {RequiredError}
|
|
1052
1056
|
*/
|
|
@@ -1123,11 +1127,11 @@ var PolicySystemsApiAxiosParamCreator = function (configuration) {
|
|
|
1123
1127
|
* Lists Systems assigned to a Policy
|
|
1124
1128
|
* @summary Request Systems assigned to a Policy
|
|
1125
1129
|
* @param {any} policyId
|
|
1126
|
-
* @param {any} [xRHIDENTITY]
|
|
1130
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
1127
1131
|
* @param {any} [limit] Number of items to return per page
|
|
1128
1132
|
* @param {any} [offset] Offset of first item of paginated response
|
|
1129
1133
|
* @param {any} [sortBy] 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.
|
|
1130
|
-
* @param {any} [filter] 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 `
|
|
1134
|
+
* @param {any} [filter] 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`, and `assigned_or_scanned`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
1131
1135
|
* @param {*} [options] Override http request option.
|
|
1132
1136
|
* @throws {RequiredError}
|
|
1133
1137
|
*/
|
|
@@ -1188,11 +1192,11 @@ var PolicySystemsApiFp = function (configuration) {
|
|
|
1188
1192
|
* Lists Systems assigned to a Policy
|
|
1189
1193
|
* @summary Request Systems assigned to a Policy
|
|
1190
1194
|
* @param {any} policyId
|
|
1191
|
-
* @param {any} [xRHIDENTITY]
|
|
1195
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
1192
1196
|
* @param {any} [limit] Number of items to return per page
|
|
1193
1197
|
* @param {any} [offset] Offset of first item of paginated response
|
|
1194
1198
|
* @param {any} [sortBy] 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.
|
|
1195
|
-
* @param {any} [filter] 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 `
|
|
1199
|
+
* @param {any} [filter] 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`, and `assigned_or_scanned`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
1196
1200
|
* @param {*} [options] Override http request option.
|
|
1197
1201
|
* @throws {RequiredError}
|
|
1198
1202
|
*/
|
|
@@ -1270,7 +1274,7 @@ var ProfileApiAxiosParamCreator = function (configuration) {
|
|
|
1270
1274
|
* @summary Request a Profile
|
|
1271
1275
|
* @param {any} securityGuideId
|
|
1272
1276
|
* @param {any} id
|
|
1273
|
-
* @param {any} [xRHIDENTITY]
|
|
1277
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
1274
1278
|
* @param {*} [options] Override http request option.
|
|
1275
1279
|
* @throws {RequiredError}
|
|
1276
1280
|
*/
|
|
@@ -1323,7 +1327,7 @@ var ProfileApiFp = function (configuration) {
|
|
|
1323
1327
|
* @summary Request a Profile
|
|
1324
1328
|
* @param {any} securityGuideId
|
|
1325
1329
|
* @param {any} id
|
|
1326
|
-
* @param {any} [xRHIDENTITY]
|
|
1330
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
1327
1331
|
* @param {*} [options] Override http request option.
|
|
1328
1332
|
* @throws {RequiredError}
|
|
1329
1333
|
*/
|
|
@@ -1402,7 +1406,7 @@ var ProfileRuleApiAxiosParamCreator = function (configuration) {
|
|
|
1402
1406
|
* @param {any} securityGuideId
|
|
1403
1407
|
* @param {any} profileId
|
|
1404
1408
|
* @param {any} id
|
|
1405
|
-
* @param {any} [xRHIDENTITY]
|
|
1409
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
1406
1410
|
* @param {*} [options] Override http request option.
|
|
1407
1411
|
* @throws {RequiredError}
|
|
1408
1412
|
*/
|
|
@@ -1459,7 +1463,7 @@ var ProfileRuleApiFp = function (configuration) {
|
|
|
1459
1463
|
* @param {any} securityGuideId
|
|
1460
1464
|
* @param {any} profileId
|
|
1461
1465
|
* @param {any} id
|
|
1462
|
-
* @param {any} [xRHIDENTITY]
|
|
1466
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
1463
1467
|
* @param {*} [options] Override http request option.
|
|
1464
1468
|
* @throws {RequiredError}
|
|
1465
1469
|
*/
|
|
@@ -1537,11 +1541,11 @@ var ProfileRulesApiAxiosParamCreator = function (configuration) {
|
|
|
1537
1541
|
* @summary Request Rules assigned to a Profile
|
|
1538
1542
|
* @param {any} securityGuideId
|
|
1539
1543
|
* @param {any} profileId
|
|
1540
|
-
* @param {any} [xRHIDENTITY]
|
|
1544
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
1541
1545
|
* @param {any} [limit] Number of items to return per page
|
|
1542
1546
|
* @param {any} [offset] Offset of first item of paginated response
|
|
1543
1547
|
* @param {any} [sortBy] 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.
|
|
1544
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title` and `severity`<br><br>(e.g.: `(
|
|
1548
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title` and `severity`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
1545
1549
|
* @param {*} [options] Override http request option.
|
|
1546
1550
|
* @throws {RequiredError}
|
|
1547
1551
|
*/
|
|
@@ -1606,11 +1610,11 @@ var ProfileRulesApiFp = function (configuration) {
|
|
|
1606
1610
|
* @summary Request Rules assigned to a Profile
|
|
1607
1611
|
* @param {any} securityGuideId
|
|
1608
1612
|
* @param {any} profileId
|
|
1609
|
-
* @param {any} [xRHIDENTITY]
|
|
1613
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
1610
1614
|
* @param {any} [limit] Number of items to return per page
|
|
1611
1615
|
* @param {any} [offset] Offset of first item of paginated response
|
|
1612
1616
|
* @param {any} [sortBy] 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.
|
|
1613
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title` and `severity`<br><br>(e.g.: `(
|
|
1617
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title` and `severity`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
1614
1618
|
* @param {*} [options] Override http request option.
|
|
1615
1619
|
* @throws {RequiredError}
|
|
1616
1620
|
*/
|
|
@@ -1684,14 +1688,14 @@ var ProfilesApiAxiosParamCreator = function (configuration) {
|
|
|
1684
1688
|
var _this = this;
|
|
1685
1689
|
return {
|
|
1686
1690
|
/**
|
|
1687
|
-
* Lists
|
|
1688
|
-
* @summary Request
|
|
1691
|
+
* Lists Profile
|
|
1692
|
+
* @summary Request Profile
|
|
1689
1693
|
* @param {any} securityGuideId
|
|
1690
|
-
* @param {any} [xRHIDENTITY]
|
|
1694
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
1691
1695
|
* @param {any} [limit] Number of items to return per page
|
|
1692
1696
|
* @param {any} [offset] Offset of first item of paginated response
|
|
1693
1697
|
* @param {any} [sortBy] 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.
|
|
1694
|
-
* @param {any} [filter] 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>Profiles are searchable using attributes `title` and `ref_id`<br><br>(e.g.: `(
|
|
1698
|
+
* @param {any} [filter] 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>Profiles are searchable using attributes `title` and `ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
1695
1699
|
* @param {*} [options] Override http request option.
|
|
1696
1700
|
* @throws {RequiredError}
|
|
1697
1701
|
*/
|
|
@@ -1749,14 +1753,14 @@ var ProfilesApiFp = function (configuration) {
|
|
|
1749
1753
|
var localVarAxiosParamCreator = (0, exports.ProfilesApiAxiosParamCreator)(configuration);
|
|
1750
1754
|
return {
|
|
1751
1755
|
/**
|
|
1752
|
-
* Lists
|
|
1753
|
-
* @summary Request
|
|
1756
|
+
* Lists Profile
|
|
1757
|
+
* @summary Request Profile
|
|
1754
1758
|
* @param {any} securityGuideId
|
|
1755
|
-
* @param {any} [xRHIDENTITY]
|
|
1759
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
1756
1760
|
* @param {any} [limit] Number of items to return per page
|
|
1757
1761
|
* @param {any} [offset] Offset of first item of paginated response
|
|
1758
1762
|
* @param {any} [sortBy] 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.
|
|
1759
|
-
* @param {any} [filter] 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>Profiles are searchable using attributes `title` and `ref_id`<br><br>(e.g.: `(
|
|
1763
|
+
* @param {any} [filter] 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>Profiles are searchable using attributes `title` and `ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
1760
1764
|
* @param {*} [options] Override http request option.
|
|
1761
1765
|
* @throws {RequiredError}
|
|
1762
1766
|
*/
|
|
@@ -1784,8 +1788,8 @@ var ProfilesApiFactory = function (configuration, basePath, axios) {
|
|
|
1784
1788
|
var localVarFp = (0, exports.ProfilesApiFp)(configuration);
|
|
1785
1789
|
return {
|
|
1786
1790
|
/**
|
|
1787
|
-
* Lists
|
|
1788
|
-
* @summary Request
|
|
1791
|
+
* Lists Profile
|
|
1792
|
+
* @summary Request Profile
|
|
1789
1793
|
* @param {ProfilesApiProfilesRequest} requestParameters Request parameters.
|
|
1790
1794
|
* @param {*} [options] Override http request option.
|
|
1791
1795
|
* @throws {RequiredError}
|
|
@@ -1808,8 +1812,8 @@ var ProfilesApi = /** @class */ (function (_super) {
|
|
|
1808
1812
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
1809
1813
|
}
|
|
1810
1814
|
/**
|
|
1811
|
-
* Lists
|
|
1812
|
-
* @summary Request
|
|
1815
|
+
* Lists Profile
|
|
1816
|
+
* @summary Request Profile
|
|
1813
1817
|
* @param {ProfilesApiProfilesRequest} requestParameters Request parameters.
|
|
1814
1818
|
* @param {*} [options] Override http request option.
|
|
1815
1819
|
* @throws {RequiredError}
|
|
@@ -1822,6 +1826,275 @@ var ProfilesApi = /** @class */ (function (_super) {
|
|
|
1822
1826
|
return ProfilesApi;
|
|
1823
1827
|
}(base_1.BaseAPI));
|
|
1824
1828
|
exports.ProfilesApi = ProfilesApi;
|
|
1829
|
+
/**
|
|
1830
|
+
* ReportApi - axios parameter creator
|
|
1831
|
+
* @export
|
|
1832
|
+
*/
|
|
1833
|
+
var ReportApiAxiosParamCreator = function (configuration) {
|
|
1834
|
+
var _this = this;
|
|
1835
|
+
return {
|
|
1836
|
+
/**
|
|
1837
|
+
* Returns a Report
|
|
1838
|
+
* @summary Request a Report
|
|
1839
|
+
* @param {any} id
|
|
1840
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
1841
|
+
* @param {*} [options] Override http request option.
|
|
1842
|
+
* @throws {RequiredError}
|
|
1843
|
+
*/
|
|
1844
|
+
report: function (id, xRHIDENTITY, options) {
|
|
1845
|
+
if (options === void 0) { options = {}; }
|
|
1846
|
+
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
1847
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1848
|
+
return tslib_1.__generator(this, function (_a) {
|
|
1849
|
+
// verify required parameter 'id' is not null or undefined
|
|
1850
|
+
(0, common_1.assertParamExists)('report', 'id', id);
|
|
1851
|
+
localVarPath = "/reports/{id}"
|
|
1852
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
1853
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1854
|
+
if (configuration) {
|
|
1855
|
+
baseOptions = configuration.baseOptions;
|
|
1856
|
+
}
|
|
1857
|
+
localVarRequestOptions = tslib_1.__assign(tslib_1.__assign({ method: 'GET' }, baseOptions), options);
|
|
1858
|
+
localVarHeaderParameter = {};
|
|
1859
|
+
localVarQueryParameter = {};
|
|
1860
|
+
if (xRHIDENTITY != null) {
|
|
1861
|
+
localVarHeaderParameter['X-RH-IDENTITY'] = typeof xRHIDENTITY === 'string'
|
|
1862
|
+
? xRHIDENTITY
|
|
1863
|
+
: JSON.stringify(xRHIDENTITY);
|
|
1864
|
+
}
|
|
1865
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1866
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1867
|
+
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1868
|
+
return [2 /*return*/, {
|
|
1869
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1870
|
+
options: localVarRequestOptions,
|
|
1871
|
+
}];
|
|
1872
|
+
});
|
|
1873
|
+
});
|
|
1874
|
+
},
|
|
1875
|
+
};
|
|
1876
|
+
};
|
|
1877
|
+
exports.ReportApiAxiosParamCreator = ReportApiAxiosParamCreator;
|
|
1878
|
+
/**
|
|
1879
|
+
* ReportApi - functional programming interface
|
|
1880
|
+
* @export
|
|
1881
|
+
*/
|
|
1882
|
+
var ReportApiFp = function (configuration) {
|
|
1883
|
+
var localVarAxiosParamCreator = (0, exports.ReportApiAxiosParamCreator)(configuration);
|
|
1884
|
+
return {
|
|
1885
|
+
/**
|
|
1886
|
+
* Returns a Report
|
|
1887
|
+
* @summary Request a Report
|
|
1888
|
+
* @param {any} id
|
|
1889
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
1890
|
+
* @param {*} [options] Override http request option.
|
|
1891
|
+
* @throws {RequiredError}
|
|
1892
|
+
*/
|
|
1893
|
+
report: function (id, xRHIDENTITY, options) {
|
|
1894
|
+
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
1895
|
+
var localVarAxiosArgs;
|
|
1896
|
+
return tslib_1.__generator(this, function (_a) {
|
|
1897
|
+
switch (_a.label) {
|
|
1898
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.report(id, xRHIDENTITY, options)];
|
|
1899
|
+
case 1:
|
|
1900
|
+
localVarAxiosArgs = _a.sent();
|
|
1901
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1902
|
+
}
|
|
1903
|
+
});
|
|
1904
|
+
});
|
|
1905
|
+
},
|
|
1906
|
+
};
|
|
1907
|
+
};
|
|
1908
|
+
exports.ReportApiFp = ReportApiFp;
|
|
1909
|
+
/**
|
|
1910
|
+
* ReportApi - factory interface
|
|
1911
|
+
* @export
|
|
1912
|
+
*/
|
|
1913
|
+
var ReportApiFactory = function (configuration, basePath, axios) {
|
|
1914
|
+
var localVarFp = (0, exports.ReportApiFp)(configuration);
|
|
1915
|
+
return {
|
|
1916
|
+
/**
|
|
1917
|
+
* Returns a Report
|
|
1918
|
+
* @summary Request a Report
|
|
1919
|
+
* @param {ReportApiReportRequest} requestParameters Request parameters.
|
|
1920
|
+
* @param {*} [options] Override http request option.
|
|
1921
|
+
* @throws {RequiredError}
|
|
1922
|
+
*/
|
|
1923
|
+
report: function (requestParameters, options) {
|
|
1924
|
+
return localVarFp.report(requestParameters.id, requestParameters.xRHIDENTITY, options).then(function (request) { return request(axios, basePath); });
|
|
1925
|
+
},
|
|
1926
|
+
};
|
|
1927
|
+
};
|
|
1928
|
+
exports.ReportApiFactory = ReportApiFactory;
|
|
1929
|
+
/**
|
|
1930
|
+
* ReportApi - object-oriented interface
|
|
1931
|
+
* @export
|
|
1932
|
+
* @class ReportApi
|
|
1933
|
+
* @extends {BaseAPI}
|
|
1934
|
+
*/
|
|
1935
|
+
var ReportApi = /** @class */ (function (_super) {
|
|
1936
|
+
tslib_1.__extends(ReportApi, _super);
|
|
1937
|
+
function ReportApi() {
|
|
1938
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
1939
|
+
}
|
|
1940
|
+
/**
|
|
1941
|
+
* Returns a Report
|
|
1942
|
+
* @summary Request a Report
|
|
1943
|
+
* @param {ReportApiReportRequest} requestParameters Request parameters.
|
|
1944
|
+
* @param {*} [options] Override http request option.
|
|
1945
|
+
* @throws {RequiredError}
|
|
1946
|
+
* @memberof ReportApi
|
|
1947
|
+
*/
|
|
1948
|
+
ReportApi.prototype.report = function (requestParameters, options) {
|
|
1949
|
+
var _this = this;
|
|
1950
|
+
return (0, exports.ReportApiFp)(this.configuration).report(requestParameters.id, requestParameters.xRHIDENTITY, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1951
|
+
};
|
|
1952
|
+
return ReportApi;
|
|
1953
|
+
}(base_1.BaseAPI));
|
|
1954
|
+
exports.ReportApi = ReportApi;
|
|
1955
|
+
/**
|
|
1956
|
+
* ReportsApi - axios parameter creator
|
|
1957
|
+
* @export
|
|
1958
|
+
*/
|
|
1959
|
+
var ReportsApiAxiosParamCreator = function (configuration) {
|
|
1960
|
+
var _this = this;
|
|
1961
|
+
return {
|
|
1962
|
+
/**
|
|
1963
|
+
* Lists Report
|
|
1964
|
+
* @summary Request Report
|
|
1965
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
1966
|
+
* @param {any} [limit] Number of items to return per page
|
|
1967
|
+
* @param {any} [offset] Offset of first item of paginated response
|
|
1968
|
+
* @param {any} [sortBy] 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.
|
|
1969
|
+
* @param {any} [filter] 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>Reports are searchable using attributes `title` and `os_major_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
1970
|
+
* @param {*} [options] Override http request option.
|
|
1971
|
+
* @throws {RequiredError}
|
|
1972
|
+
*/
|
|
1973
|
+
reports: function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
1974
|
+
if (options === void 0) { options = {}; }
|
|
1975
|
+
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
1976
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1977
|
+
return tslib_1.__generator(this, function (_a) {
|
|
1978
|
+
localVarPath = "/reports";
|
|
1979
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1980
|
+
if (configuration) {
|
|
1981
|
+
baseOptions = configuration.baseOptions;
|
|
1982
|
+
}
|
|
1983
|
+
localVarRequestOptions = tslib_1.__assign(tslib_1.__assign({ method: 'GET' }, baseOptions), options);
|
|
1984
|
+
localVarHeaderParameter = {};
|
|
1985
|
+
localVarQueryParameter = {};
|
|
1986
|
+
if (limit !== undefined) {
|
|
1987
|
+
localVarQueryParameter['limit'] = limit;
|
|
1988
|
+
}
|
|
1989
|
+
if (offset !== undefined) {
|
|
1990
|
+
localVarQueryParameter['offset'] = offset;
|
|
1991
|
+
}
|
|
1992
|
+
if (sortBy !== undefined) {
|
|
1993
|
+
localVarQueryParameter['sort_by'] = sortBy;
|
|
1994
|
+
}
|
|
1995
|
+
if (filter !== undefined) {
|
|
1996
|
+
localVarQueryParameter['filter'] = filter;
|
|
1997
|
+
}
|
|
1998
|
+
if (xRHIDENTITY != null) {
|
|
1999
|
+
localVarHeaderParameter['X-RH-IDENTITY'] = typeof xRHIDENTITY === 'string'
|
|
2000
|
+
? xRHIDENTITY
|
|
2001
|
+
: JSON.stringify(xRHIDENTITY);
|
|
2002
|
+
}
|
|
2003
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2004
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2005
|
+
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2006
|
+
return [2 /*return*/, {
|
|
2007
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2008
|
+
options: localVarRequestOptions,
|
|
2009
|
+
}];
|
|
2010
|
+
});
|
|
2011
|
+
});
|
|
2012
|
+
},
|
|
2013
|
+
};
|
|
2014
|
+
};
|
|
2015
|
+
exports.ReportsApiAxiosParamCreator = ReportsApiAxiosParamCreator;
|
|
2016
|
+
/**
|
|
2017
|
+
* ReportsApi - functional programming interface
|
|
2018
|
+
* @export
|
|
2019
|
+
*/
|
|
2020
|
+
var ReportsApiFp = function (configuration) {
|
|
2021
|
+
var localVarAxiosParamCreator = (0, exports.ReportsApiAxiosParamCreator)(configuration);
|
|
2022
|
+
return {
|
|
2023
|
+
/**
|
|
2024
|
+
* Lists Report
|
|
2025
|
+
* @summary Request Report
|
|
2026
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
2027
|
+
* @param {any} [limit] Number of items to return per page
|
|
2028
|
+
* @param {any} [offset] Offset of first item of paginated response
|
|
2029
|
+
* @param {any} [sortBy] 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.
|
|
2030
|
+
* @param {any} [filter] 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>Reports are searchable using attributes `title` and `os_major_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
2031
|
+
* @param {*} [options] Override http request option.
|
|
2032
|
+
* @throws {RequiredError}
|
|
2033
|
+
*/
|
|
2034
|
+
reports: function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
2035
|
+
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
2036
|
+
var localVarAxiosArgs;
|
|
2037
|
+
return tslib_1.__generator(this, function (_a) {
|
|
2038
|
+
switch (_a.label) {
|
|
2039
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.reports(xRHIDENTITY, limit, offset, sortBy, filter, options)];
|
|
2040
|
+
case 1:
|
|
2041
|
+
localVarAxiosArgs = _a.sent();
|
|
2042
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
2043
|
+
}
|
|
2044
|
+
});
|
|
2045
|
+
});
|
|
2046
|
+
},
|
|
2047
|
+
};
|
|
2048
|
+
};
|
|
2049
|
+
exports.ReportsApiFp = ReportsApiFp;
|
|
2050
|
+
/**
|
|
2051
|
+
* ReportsApi - factory interface
|
|
2052
|
+
* @export
|
|
2053
|
+
*/
|
|
2054
|
+
var ReportsApiFactory = function (configuration, basePath, axios) {
|
|
2055
|
+
var localVarFp = (0, exports.ReportsApiFp)(configuration);
|
|
2056
|
+
return {
|
|
2057
|
+
/**
|
|
2058
|
+
* Lists Report
|
|
2059
|
+
* @summary Request Report
|
|
2060
|
+
* @param {ReportsApiReportsRequest} requestParameters Request parameters.
|
|
2061
|
+
* @param {*} [options] Override http request option.
|
|
2062
|
+
* @throws {RequiredError}
|
|
2063
|
+
*/
|
|
2064
|
+
reports: function (requestParameters, options) {
|
|
2065
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
2066
|
+
return localVarFp.reports(requestParameters.xRHIDENTITY, requestParameters.limit, requestParameters.offset, requestParameters.sortBy, requestParameters.filter, options).then(function (request) { return request(axios, basePath); });
|
|
2067
|
+
},
|
|
2068
|
+
};
|
|
2069
|
+
};
|
|
2070
|
+
exports.ReportsApiFactory = ReportsApiFactory;
|
|
2071
|
+
/**
|
|
2072
|
+
* ReportsApi - object-oriented interface
|
|
2073
|
+
* @export
|
|
2074
|
+
* @class ReportsApi
|
|
2075
|
+
* @extends {BaseAPI}
|
|
2076
|
+
*/
|
|
2077
|
+
var ReportsApi = /** @class */ (function (_super) {
|
|
2078
|
+
tslib_1.__extends(ReportsApi, _super);
|
|
2079
|
+
function ReportsApi() {
|
|
2080
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
2081
|
+
}
|
|
2082
|
+
/**
|
|
2083
|
+
* Lists Report
|
|
2084
|
+
* @summary Request Report
|
|
2085
|
+
* @param {ReportsApiReportsRequest} requestParameters Request parameters.
|
|
2086
|
+
* @param {*} [options] Override http request option.
|
|
2087
|
+
* @throws {RequiredError}
|
|
2088
|
+
* @memberof ReportsApi
|
|
2089
|
+
*/
|
|
2090
|
+
ReportsApi.prototype.reports = function (requestParameters, options) {
|
|
2091
|
+
var _this = this;
|
|
2092
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
2093
|
+
return (0, exports.ReportsApiFp)(this.configuration).reports(requestParameters.xRHIDENTITY, requestParameters.limit, requestParameters.offset, requestParameters.sortBy, requestParameters.filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2094
|
+
};
|
|
2095
|
+
return ReportsApi;
|
|
2096
|
+
}(base_1.BaseAPI));
|
|
2097
|
+
exports.ReportsApi = ReportsApi;
|
|
1825
2098
|
/**
|
|
1826
2099
|
* RuleApi - axios parameter creator
|
|
1827
2100
|
* @export
|
|
@@ -1834,7 +2107,7 @@ var RuleApiAxiosParamCreator = function (configuration) {
|
|
|
1834
2107
|
* @summary Request a Rule
|
|
1835
2108
|
* @param {any} securityGuideId
|
|
1836
2109
|
* @param {any} id
|
|
1837
|
-
* @param {any} [xRHIDENTITY]
|
|
2110
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
1838
2111
|
* @param {*} [options] Override http request option.
|
|
1839
2112
|
* @throws {RequiredError}
|
|
1840
2113
|
*/
|
|
@@ -1887,7 +2160,7 @@ var RuleApiFp = function (configuration) {
|
|
|
1887
2160
|
* @summary Request a Rule
|
|
1888
2161
|
* @param {any} securityGuideId
|
|
1889
2162
|
* @param {any} id
|
|
1890
|
-
* @param {any} [xRHIDENTITY]
|
|
2163
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
1891
2164
|
* @param {*} [options] Override http request option.
|
|
1892
2165
|
* @throws {RequiredError}
|
|
1893
2166
|
*/
|
|
@@ -1965,7 +2238,7 @@ var RuleGroupApiAxiosParamCreator = function (configuration) {
|
|
|
1965
2238
|
* @summary Request a Rule Group
|
|
1966
2239
|
* @param {any} securityGuideId
|
|
1967
2240
|
* @param {any} id
|
|
1968
|
-
* @param {any} [xRHIDENTITY]
|
|
2241
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
1969
2242
|
* @param {*} [options] Override http request option.
|
|
1970
2243
|
* @throws {RequiredError}
|
|
1971
2244
|
*/
|
|
@@ -2018,7 +2291,7 @@ var RuleGroupApiFp = function (configuration) {
|
|
|
2018
2291
|
* @summary Request a Rule Group
|
|
2019
2292
|
* @param {any} securityGuideId
|
|
2020
2293
|
* @param {any} id
|
|
2021
|
-
* @param {any} [xRHIDENTITY]
|
|
2294
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
2022
2295
|
* @param {*} [options] Override http request option.
|
|
2023
2296
|
* @throws {RequiredError}
|
|
2024
2297
|
*/
|
|
@@ -2092,14 +2365,14 @@ var RuleGroupsApiAxiosParamCreator = function (configuration) {
|
|
|
2092
2365
|
var _this = this;
|
|
2093
2366
|
return {
|
|
2094
2367
|
/**
|
|
2095
|
-
* Lists Rule
|
|
2096
|
-
* @summary Request Rule
|
|
2368
|
+
* Lists Rule Group
|
|
2369
|
+
* @summary Request Rule Group
|
|
2097
2370
|
* @param {any} securityGuideId
|
|
2098
|
-
* @param {any} [xRHIDENTITY]
|
|
2371
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
2099
2372
|
* @param {any} [limit] Number of items to return per page
|
|
2100
2373
|
* @param {any} [offset] Offset of first item of paginated response
|
|
2101
2374
|
* @param {any} [sortBy] 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.
|
|
2102
|
-
* @param {any} [filter] 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>Rule Groups are searchable using attributes
|
|
2375
|
+
* @param {any} [filter] 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>Rule Groups are searchable using attributes `title` and `ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
2103
2376
|
* @param {*} [options] Override http request option.
|
|
2104
2377
|
* @throws {RequiredError}
|
|
2105
2378
|
*/
|
|
@@ -2157,14 +2430,14 @@ var RuleGroupsApiFp = function (configuration) {
|
|
|
2157
2430
|
var localVarAxiosParamCreator = (0, exports.RuleGroupsApiAxiosParamCreator)(configuration);
|
|
2158
2431
|
return {
|
|
2159
2432
|
/**
|
|
2160
|
-
* Lists Rule
|
|
2161
|
-
* @summary Request Rule
|
|
2433
|
+
* Lists Rule Group
|
|
2434
|
+
* @summary Request Rule Group
|
|
2162
2435
|
* @param {any} securityGuideId
|
|
2163
|
-
* @param {any} [xRHIDENTITY]
|
|
2436
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
2164
2437
|
* @param {any} [limit] Number of items to return per page
|
|
2165
2438
|
* @param {any} [offset] Offset of first item of paginated response
|
|
2166
2439
|
* @param {any} [sortBy] 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.
|
|
2167
|
-
* @param {any} [filter] 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>Rule Groups are searchable using attributes
|
|
2440
|
+
* @param {any} [filter] 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>Rule Groups are searchable using attributes `title` and `ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
2168
2441
|
* @param {*} [options] Override http request option.
|
|
2169
2442
|
* @throws {RequiredError}
|
|
2170
2443
|
*/
|
|
@@ -2192,8 +2465,8 @@ var RuleGroupsApiFactory = function (configuration, basePath, axios) {
|
|
|
2192
2465
|
var localVarFp = (0, exports.RuleGroupsApiFp)(configuration);
|
|
2193
2466
|
return {
|
|
2194
2467
|
/**
|
|
2195
|
-
* Lists Rule
|
|
2196
|
-
* @summary Request Rule
|
|
2468
|
+
* Lists Rule Group
|
|
2469
|
+
* @summary Request Rule Group
|
|
2197
2470
|
* @param {RuleGroupsApiRuleGroupsRequest} requestParameters Request parameters.
|
|
2198
2471
|
* @param {*} [options] Override http request option.
|
|
2199
2472
|
* @throws {RequiredError}
|
|
@@ -2216,8 +2489,8 @@ var RuleGroupsApi = /** @class */ (function (_super) {
|
|
|
2216
2489
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
2217
2490
|
}
|
|
2218
2491
|
/**
|
|
2219
|
-
* Lists Rule
|
|
2220
|
-
* @summary Request Rule
|
|
2492
|
+
* Lists Rule Group
|
|
2493
|
+
* @summary Request Rule Group
|
|
2221
2494
|
* @param {RuleGroupsApiRuleGroupsRequest} requestParameters Request parameters.
|
|
2222
2495
|
* @param {*} [options] Override http request option.
|
|
2223
2496
|
* @throws {RequiredError}
|
|
@@ -2239,13 +2512,13 @@ var RulesApiAxiosParamCreator = function (configuration) {
|
|
|
2239
2512
|
return {
|
|
2240
2513
|
/**
|
|
2241
2514
|
* Lists Rules assigned
|
|
2242
|
-
* @summary Request
|
|
2515
|
+
* @summary Request Rule
|
|
2243
2516
|
* @param {any} securityGuideId
|
|
2244
|
-
* @param {any} [xRHIDENTITY]
|
|
2517
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
2245
2518
|
* @param {any} [limit] Number of items to return per page
|
|
2246
2519
|
* @param {any} [offset] Offset of first item of paginated response
|
|
2247
2520
|
* @param {any} [sortBy] 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.
|
|
2248
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title` and `severity`<br><br>(e.g.: `(
|
|
2521
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title` and `severity`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
2249
2522
|
* @param {*} [options] Override http request option.
|
|
2250
2523
|
* @throws {RequiredError}
|
|
2251
2524
|
*/
|
|
@@ -2304,13 +2577,13 @@ var RulesApiFp = function (configuration) {
|
|
|
2304
2577
|
return {
|
|
2305
2578
|
/**
|
|
2306
2579
|
* Lists Rules assigned
|
|
2307
|
-
* @summary Request
|
|
2580
|
+
* @summary Request Rule
|
|
2308
2581
|
* @param {any} securityGuideId
|
|
2309
|
-
* @param {any} [xRHIDENTITY]
|
|
2582
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
2310
2583
|
* @param {any} [limit] Number of items to return per page
|
|
2311
2584
|
* @param {any} [offset] Offset of first item of paginated response
|
|
2312
2585
|
* @param {any} [sortBy] 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.
|
|
2313
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title` and `severity`<br><br>(e.g.: `(
|
|
2586
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title` and `severity`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
2314
2587
|
* @param {*} [options] Override http request option.
|
|
2315
2588
|
* @throws {RequiredError}
|
|
2316
2589
|
*/
|
|
@@ -2339,7 +2612,7 @@ var RulesApiFactory = function (configuration, basePath, axios) {
|
|
|
2339
2612
|
return {
|
|
2340
2613
|
/**
|
|
2341
2614
|
* Lists Rules assigned
|
|
2342
|
-
* @summary Request
|
|
2615
|
+
* @summary Request Rule
|
|
2343
2616
|
* @param {RulesApiRulesRequest} requestParameters Request parameters.
|
|
2344
2617
|
* @param {*} [options] Override http request option.
|
|
2345
2618
|
* @throws {RequiredError}
|
|
@@ -2363,7 +2636,7 @@ var RulesApi = /** @class */ (function (_super) {
|
|
|
2363
2636
|
}
|
|
2364
2637
|
/**
|
|
2365
2638
|
* Lists Rules assigned
|
|
2366
|
-
* @summary Request
|
|
2639
|
+
* @summary Request Rule
|
|
2367
2640
|
* @param {RulesApiRulesRequest} requestParameters Request parameters.
|
|
2368
2641
|
* @param {*} [options] Override http request option.
|
|
2369
2642
|
* @throws {RequiredError}
|
|
@@ -2387,7 +2660,7 @@ var SecurityGuideApiAxiosParamCreator = function (configuration) {
|
|
|
2387
2660
|
* Returns a Security Guide
|
|
2388
2661
|
* @summary Request a Security Guide
|
|
2389
2662
|
* @param {any} id
|
|
2390
|
-
* @param {any} [xRHIDENTITY]
|
|
2663
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
2391
2664
|
* @param {*} [options] Override http request option.
|
|
2392
2665
|
* @throws {RequiredError}
|
|
2393
2666
|
*/
|
|
@@ -2436,7 +2709,7 @@ var SecurityGuideApiFp = function (configuration) {
|
|
|
2436
2709
|
* Returns a Security Guide
|
|
2437
2710
|
* @summary Request a Security Guide
|
|
2438
2711
|
* @param {any} id
|
|
2439
|
-
* @param {any} [xRHIDENTITY]
|
|
2712
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
2440
2713
|
* @param {*} [options] Override http request option.
|
|
2441
2714
|
* @throws {RequiredError}
|
|
2442
2715
|
*/
|
|
@@ -2513,7 +2786,7 @@ var SecurityGuideRuleTreeApiAxiosParamCreator = function (configuration) {
|
|
|
2513
2786
|
* Returns the Rule Tree of a Security Guide
|
|
2514
2787
|
* @summary Request the Rule Tree of a Security Guide
|
|
2515
2788
|
* @param {any} id
|
|
2516
|
-
* @param {any} [xRHIDENTITY]
|
|
2789
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
2517
2790
|
* @param {*} [options] Override http request option.
|
|
2518
2791
|
* @throws {RequiredError}
|
|
2519
2792
|
*/
|
|
@@ -2562,7 +2835,7 @@ var SecurityGuideRuleTreeApiFp = function (configuration) {
|
|
|
2562
2835
|
* Returns the Rule Tree of a Security Guide
|
|
2563
2836
|
* @summary Request the Rule Tree of a Security Guide
|
|
2564
2837
|
* @param {any} id
|
|
2565
|
-
* @param {any} [xRHIDENTITY]
|
|
2838
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
2566
2839
|
* @param {*} [options] Override http request option.
|
|
2567
2840
|
* @throws {RequiredError}
|
|
2568
2841
|
*/
|
|
@@ -2636,13 +2909,13 @@ var SecurityGuidesApiAxiosParamCreator = function (configuration) {
|
|
|
2636
2909
|
var _this = this;
|
|
2637
2910
|
return {
|
|
2638
2911
|
/**
|
|
2639
|
-
* Lists Security
|
|
2640
|
-
* @summary Request Security
|
|
2641
|
-
* @param {any} [xRHIDENTITY]
|
|
2912
|
+
* Lists Security Guide
|
|
2913
|
+
* @summary Request Security Guide
|
|
2914
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
2642
2915
|
* @param {any} [limit] Number of items to return per page
|
|
2643
2916
|
* @param {any} [offset] Offset of first item of paginated response
|
|
2644
2917
|
* @param {any} [sortBy] 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.
|
|
2645
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Security Guides are searchable using attributes `title`, `version`, `ref_id`, and `os_major_version`<br><br>(e.g.: `(
|
|
2918
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Security Guides are searchable using attributes `title`, `version`, `ref_id`, and `os_major_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
2646
2919
|
* @param {*} [options] Override http request option.
|
|
2647
2920
|
* @throws {RequiredError}
|
|
2648
2921
|
*/
|
|
@@ -2697,13 +2970,13 @@ var SecurityGuidesApiFp = function (configuration) {
|
|
|
2697
2970
|
var localVarAxiosParamCreator = (0, exports.SecurityGuidesApiAxiosParamCreator)(configuration);
|
|
2698
2971
|
return {
|
|
2699
2972
|
/**
|
|
2700
|
-
* Lists Security
|
|
2701
|
-
* @summary Request Security
|
|
2702
|
-
* @param {any} [xRHIDENTITY]
|
|
2973
|
+
* Lists Security Guide
|
|
2974
|
+
* @summary Request Security Guide
|
|
2975
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
2703
2976
|
* @param {any} [limit] Number of items to return per page
|
|
2704
2977
|
* @param {any} [offset] Offset of first item of paginated response
|
|
2705
2978
|
* @param {any} [sortBy] 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.
|
|
2706
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Security Guides are searchable using attributes `title`, `version`, `ref_id`, and `os_major_version`<br><br>(e.g.: `(
|
|
2979
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Security Guides are searchable using attributes `title`, `version`, `ref_id`, and `os_major_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
2707
2980
|
* @param {*} [options] Override http request option.
|
|
2708
2981
|
* @throws {RequiredError}
|
|
2709
2982
|
*/
|
|
@@ -2731,8 +3004,8 @@ var SecurityGuidesApiFactory = function (configuration, basePath, axios) {
|
|
|
2731
3004
|
var localVarFp = (0, exports.SecurityGuidesApiFp)(configuration);
|
|
2732
3005
|
return {
|
|
2733
3006
|
/**
|
|
2734
|
-
* Lists Security
|
|
2735
|
-
* @summary Request Security
|
|
3007
|
+
* Lists Security Guide
|
|
3008
|
+
* @summary Request Security Guide
|
|
2736
3009
|
* @param {SecurityGuidesApiSecurityGuidesRequest} requestParameters Request parameters.
|
|
2737
3010
|
* @param {*} [options] Override http request option.
|
|
2738
3011
|
* @throws {RequiredError}
|
|
@@ -2756,8 +3029,8 @@ var SecurityGuidesApi = /** @class */ (function (_super) {
|
|
|
2756
3029
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
2757
3030
|
}
|
|
2758
3031
|
/**
|
|
2759
|
-
* Lists Security
|
|
2760
|
-
* @summary Request Security
|
|
3032
|
+
* Lists Security Guide
|
|
3033
|
+
* @summary Request Security Guide
|
|
2761
3034
|
* @param {SecurityGuidesApiSecurityGuidesRequest} requestParameters Request parameters.
|
|
2762
3035
|
* @param {*} [options] Override http request option.
|
|
2763
3036
|
* @throws {RequiredError}
|
|
@@ -2779,13 +3052,13 @@ var SupportedProfilesApiAxiosParamCreator = function (configuration) {
|
|
|
2779
3052
|
var _this = this;
|
|
2780
3053
|
return {
|
|
2781
3054
|
/**
|
|
2782
|
-
* Lists Supported
|
|
2783
|
-
* @summary Request Supported
|
|
2784
|
-
* @param {any} [xRHIDENTITY]
|
|
3055
|
+
* Lists Supported Profile
|
|
3056
|
+
* @summary Request Supported Profile
|
|
3057
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
2785
3058
|
* @param {any} [limit] Number of items to return per page
|
|
2786
3059
|
* @param {any} [offset] Offset of first item of paginated response
|
|
2787
3060
|
* @param {any} [sortBy] 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.
|
|
2788
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Supported Profiles are searchable using attributes `os_major_version`<br><br>(e.g.: `(
|
|
3061
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Supported Profiles are searchable using attributes `os_major_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
2789
3062
|
* @param {*} [options] Override http request option.
|
|
2790
3063
|
* @throws {RequiredError}
|
|
2791
3064
|
*/
|
|
@@ -2840,13 +3113,13 @@ var SupportedProfilesApiFp = function (configuration) {
|
|
|
2840
3113
|
var localVarAxiosParamCreator = (0, exports.SupportedProfilesApiAxiosParamCreator)(configuration);
|
|
2841
3114
|
return {
|
|
2842
3115
|
/**
|
|
2843
|
-
* Lists Supported
|
|
2844
|
-
* @summary Request Supported
|
|
2845
|
-
* @param {any} [xRHIDENTITY]
|
|
3116
|
+
* Lists Supported Profile
|
|
3117
|
+
* @summary Request Supported Profile
|
|
3118
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
2846
3119
|
* @param {any} [limit] Number of items to return per page
|
|
2847
3120
|
* @param {any} [offset] Offset of first item of paginated response
|
|
2848
3121
|
* @param {any} [sortBy] 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.
|
|
2849
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Supported Profiles are searchable using attributes `os_major_version`<br><br>(e.g.: `(
|
|
3122
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Supported Profiles are searchable using attributes `os_major_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
2850
3123
|
* @param {*} [options] Override http request option.
|
|
2851
3124
|
* @throws {RequiredError}
|
|
2852
3125
|
*/
|
|
@@ -2874,8 +3147,8 @@ var SupportedProfilesApiFactory = function (configuration, basePath, axios) {
|
|
|
2874
3147
|
var localVarFp = (0, exports.SupportedProfilesApiFp)(configuration);
|
|
2875
3148
|
return {
|
|
2876
3149
|
/**
|
|
2877
|
-
* Lists Supported
|
|
2878
|
-
* @summary Request Supported
|
|
3150
|
+
* Lists Supported Profile
|
|
3151
|
+
* @summary Request Supported Profile
|
|
2879
3152
|
* @param {SupportedProfilesApiSupportedProfilesRequest} requestParameters Request parameters.
|
|
2880
3153
|
* @param {*} [options] Override http request option.
|
|
2881
3154
|
* @throws {RequiredError}
|
|
@@ -2899,8 +3172,8 @@ var SupportedProfilesApi = /** @class */ (function (_super) {
|
|
|
2899
3172
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
2900
3173
|
}
|
|
2901
3174
|
/**
|
|
2902
|
-
* Lists Supported
|
|
2903
|
-
* @summary Request Supported
|
|
3175
|
+
* Lists Supported Profile
|
|
3176
|
+
* @summary Request Supported Profile
|
|
2904
3177
|
* @param {SupportedProfilesApiSupportedProfilesRequest} requestParameters Request parameters.
|
|
2905
3178
|
* @param {*} [options] Override http request option.
|
|
2906
3179
|
* @throws {RequiredError}
|
|
@@ -2925,7 +3198,7 @@ var SystemApiAxiosParamCreator = function (configuration) {
|
|
|
2925
3198
|
* Returns a System
|
|
2926
3199
|
* @summary Request a System
|
|
2927
3200
|
* @param {any} id
|
|
2928
|
-
* @param {any} [xRHIDENTITY]
|
|
3201
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
2929
3202
|
* @param {*} [options] Override http request option.
|
|
2930
3203
|
* @throws {RequiredError}
|
|
2931
3204
|
*/
|
|
@@ -2974,7 +3247,7 @@ var SystemApiFp = function (configuration) {
|
|
|
2974
3247
|
* Returns a System
|
|
2975
3248
|
* @summary Request a System
|
|
2976
3249
|
* @param {any} id
|
|
2977
|
-
* @param {any} [xRHIDENTITY]
|
|
3250
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
2978
3251
|
* @param {*} [options] Override http request option.
|
|
2979
3252
|
* @throws {RequiredError}
|
|
2980
3253
|
*/
|
|
@@ -3048,13 +3321,13 @@ var SystemsApiAxiosParamCreator = function (configuration) {
|
|
|
3048
3321
|
var _this = this;
|
|
3049
3322
|
return {
|
|
3050
3323
|
/**
|
|
3051
|
-
* Lists
|
|
3052
|
-
* @summary Request
|
|
3053
|
-
* @param {any} [xRHIDENTITY]
|
|
3324
|
+
* Lists System
|
|
3325
|
+
* @summary Request System
|
|
3326
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
3054
3327
|
* @param {any} [limit] Number of items to return per page
|
|
3055
3328
|
* @param {any} [offset] Offset of first item of paginated response
|
|
3056
3329
|
* @param {any} [sortBy] 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.
|
|
3057
|
-
* @param {any} [filter] 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 `
|
|
3330
|
+
* @param {any} [filter] 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`, and `assigned_or_scanned`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
3058
3331
|
* @param {*} [options] Override http request option.
|
|
3059
3332
|
* @throws {RequiredError}
|
|
3060
3333
|
*/
|
|
@@ -3109,13 +3382,13 @@ var SystemsApiFp = function (configuration) {
|
|
|
3109
3382
|
var localVarAxiosParamCreator = (0, exports.SystemsApiAxiosParamCreator)(configuration);
|
|
3110
3383
|
return {
|
|
3111
3384
|
/**
|
|
3112
|
-
* Lists
|
|
3113
|
-
* @summary Request
|
|
3114
|
-
* @param {any} [xRHIDENTITY]
|
|
3385
|
+
* Lists System
|
|
3386
|
+
* @summary Request System
|
|
3387
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
3115
3388
|
* @param {any} [limit] Number of items to return per page
|
|
3116
3389
|
* @param {any} [offset] Offset of first item of paginated response
|
|
3117
3390
|
* @param {any} [sortBy] 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.
|
|
3118
|
-
* @param {any} [filter] 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 `
|
|
3391
|
+
* @param {any} [filter] 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`, and `assigned_or_scanned`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
3119
3392
|
* @param {*} [options] Override http request option.
|
|
3120
3393
|
* @throws {RequiredError}
|
|
3121
3394
|
*/
|
|
@@ -3143,8 +3416,8 @@ var SystemsApiFactory = function (configuration, basePath, axios) {
|
|
|
3143
3416
|
var localVarFp = (0, exports.SystemsApiFp)(configuration);
|
|
3144
3417
|
return {
|
|
3145
3418
|
/**
|
|
3146
|
-
* Lists
|
|
3147
|
-
* @summary Request
|
|
3419
|
+
* Lists System
|
|
3420
|
+
* @summary Request System
|
|
3148
3421
|
* @param {SystemsApiSystemsRequest} requestParameters Request parameters.
|
|
3149
3422
|
* @param {*} [options] Override http request option.
|
|
3150
3423
|
* @throws {RequiredError}
|
|
@@ -3168,8 +3441,8 @@ var SystemsApi = /** @class */ (function (_super) {
|
|
|
3168
3441
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
3169
3442
|
}
|
|
3170
3443
|
/**
|
|
3171
|
-
* Lists
|
|
3172
|
-
* @summary Request
|
|
3444
|
+
* Lists System
|
|
3445
|
+
* @summary Request System
|
|
3173
3446
|
* @param {SystemsApiSystemsRequest} requestParameters Request parameters.
|
|
3174
3447
|
* @param {*} [options] Override http request option.
|
|
3175
3448
|
* @throws {RequiredError}
|
|
@@ -3194,11 +3467,11 @@ var SystemsPoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
3194
3467
|
* Lists Policies under a System
|
|
3195
3468
|
* @summary Request Policies assigned to a System
|
|
3196
3469
|
* @param {any} systemId
|
|
3197
|
-
* @param {any} [xRHIDENTITY]
|
|
3470
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
3198
3471
|
* @param {any} [limit] Number of items to return per page
|
|
3199
3472
|
* @param {any} [offset] Offset of first item of paginated response
|
|
3200
3473
|
* @param {any} [sortBy] 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.
|
|
3201
|
-
* @param {any} [filter] 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 `
|
|
3474
|
+
* @param {any} [filter] 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`, `os_major_version`, and `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
3202
3475
|
* @param {*} [options] Override http request option.
|
|
3203
3476
|
* @throws {RequiredError}
|
|
3204
3477
|
*/
|
|
@@ -3259,11 +3532,11 @@ var SystemsPoliciesApiFp = function (configuration) {
|
|
|
3259
3532
|
* Lists Policies under a System
|
|
3260
3533
|
* @summary Request Policies assigned to a System
|
|
3261
3534
|
* @param {any} systemId
|
|
3262
|
-
* @param {any} [xRHIDENTITY]
|
|
3535
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
3263
3536
|
* @param {any} [limit] Number of items to return per page
|
|
3264
3537
|
* @param {any} [offset] Offset of first item of paginated response
|
|
3265
3538
|
* @param {any} [sortBy] 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.
|
|
3266
|
-
* @param {any} [filter] 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 `
|
|
3539
|
+
* @param {any} [filter] 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`, `os_major_version`, and `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
3267
3540
|
* @param {*} [options] Override http request option.
|
|
3268
3541
|
* @throws {RequiredError}
|
|
3269
3542
|
*/
|
|
@@ -3341,7 +3614,7 @@ var TailoringApiAxiosParamCreator = function (configuration) {
|
|
|
3341
3614
|
* @summary Request a Tailoring
|
|
3342
3615
|
* @param {any} policyId
|
|
3343
3616
|
* @param {any} id
|
|
3344
|
-
* @param {any} [xRHIDENTITY]
|
|
3617
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
3345
3618
|
* @param {*} [options] Override http request option.
|
|
3346
3619
|
* @throws {RequiredError}
|
|
3347
3620
|
*/
|
|
@@ -3394,7 +3667,7 @@ var TailoringApiFp = function (configuration) {
|
|
|
3394
3667
|
* @summary Request a Tailoring
|
|
3395
3668
|
* @param {any} policyId
|
|
3396
3669
|
* @param {any} id
|
|
3397
|
-
* @param {any} [xRHIDENTITY]
|
|
3670
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
3398
3671
|
* @param {*} [options] Override http request option.
|
|
3399
3672
|
* @throws {RequiredError}
|
|
3400
3673
|
*/
|
|
@@ -3472,7 +3745,7 @@ var TailoringFileApiAxiosParamCreator = function (configuration) {
|
|
|
3472
3745
|
* @summary Request a Tailoring file
|
|
3473
3746
|
* @param {any} policyId
|
|
3474
3747
|
* @param {any} id
|
|
3475
|
-
* @param {any} [xRHIDENTITY]
|
|
3748
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
3476
3749
|
* @param {*} [options] Override http request option.
|
|
3477
3750
|
* @throws {RequiredError}
|
|
3478
3751
|
*/
|
|
@@ -3525,7 +3798,7 @@ var TailoringFileApiFp = function (configuration) {
|
|
|
3525
3798
|
* @summary Request a Tailoring file
|
|
3526
3799
|
* @param {any} policyId
|
|
3527
3800
|
* @param {any} id
|
|
3528
|
-
* @param {any} [xRHIDENTITY]
|
|
3801
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
3529
3802
|
* @param {*} [options] Override http request option.
|
|
3530
3803
|
* @throws {RequiredError}
|
|
3531
3804
|
*/
|
|
@@ -3603,11 +3876,11 @@ var TailoringRulesApiAxiosParamCreator = function (configuration) {
|
|
|
3603
3876
|
* @summary Request Rules assigned to a Tailoring
|
|
3604
3877
|
* @param {any} policyId
|
|
3605
3878
|
* @param {any} tailoringId
|
|
3606
|
-
* @param {any} [xRHIDENTITY]
|
|
3879
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
3607
3880
|
* @param {any} [limit] Number of items to return per page
|
|
3608
3881
|
* @param {any} [offset] Offset of first item of paginated response
|
|
3609
3882
|
* @param {any} [sortBy] 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.
|
|
3610
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title` and `severity`<br><br>(e.g.: `(
|
|
3883
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title` and `severity`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
3611
3884
|
* @param {*} [options] Override http request option.
|
|
3612
3885
|
* @throws {RequiredError}
|
|
3613
3886
|
*/
|
|
@@ -3672,11 +3945,11 @@ var TailoringRulesApiFp = function (configuration) {
|
|
|
3672
3945
|
* @summary Request Rules assigned to a Tailoring
|
|
3673
3946
|
* @param {any} policyId
|
|
3674
3947
|
* @param {any} tailoringId
|
|
3675
|
-
* @param {any} [xRHIDENTITY]
|
|
3948
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
3676
3949
|
* @param {any} [limit] Number of items to return per page
|
|
3677
3950
|
* @param {any} [offset] Offset of first item of paginated response
|
|
3678
3951
|
* @param {any} [sortBy] 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.
|
|
3679
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title` and `severity`<br><br>(e.g.: `(
|
|
3952
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title` and `severity`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
3680
3953
|
* @param {*} [options] Override http request option.
|
|
3681
3954
|
* @throws {RequiredError}
|
|
3682
3955
|
*/
|
|
@@ -3750,14 +4023,14 @@ var TailoringsApiAxiosParamCreator = function (configuration) {
|
|
|
3750
4023
|
var _this = this;
|
|
3751
4024
|
return {
|
|
3752
4025
|
/**
|
|
3753
|
-
* Lists
|
|
3754
|
-
* @summary Request
|
|
4026
|
+
* Lists Tailoring
|
|
4027
|
+
* @summary Request Tailoring
|
|
3755
4028
|
* @param {any} policyId
|
|
3756
|
-
* @param {any} [xRHIDENTITY]
|
|
4029
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
3757
4030
|
* @param {any} [limit] Number of items to return per page
|
|
3758
4031
|
* @param {any} [offset] Offset of first item of paginated response
|
|
3759
4032
|
* @param {any} [sortBy] 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.
|
|
3760
|
-
* @param {any} [filter] 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>Tailorings are searchable using attributes `os_minor_version`<br><br>(e.g.: `(
|
|
4033
|
+
* @param {any} [filter] 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>Tailorings are searchable using attributes `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
3761
4034
|
* @param {*} [options] Override http request option.
|
|
3762
4035
|
* @throws {RequiredError}
|
|
3763
4036
|
*/
|
|
@@ -3815,14 +4088,14 @@ var TailoringsApiFp = function (configuration) {
|
|
|
3815
4088
|
var localVarAxiosParamCreator = (0, exports.TailoringsApiAxiosParamCreator)(configuration);
|
|
3816
4089
|
return {
|
|
3817
4090
|
/**
|
|
3818
|
-
* Lists
|
|
3819
|
-
* @summary Request
|
|
4091
|
+
* Lists Tailoring
|
|
4092
|
+
* @summary Request Tailoring
|
|
3820
4093
|
* @param {any} policyId
|
|
3821
|
-
* @param {any} [xRHIDENTITY]
|
|
4094
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
3822
4095
|
* @param {any} [limit] Number of items to return per page
|
|
3823
4096
|
* @param {any} [offset] Offset of first item of paginated response
|
|
3824
4097
|
* @param {any} [sortBy] 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.
|
|
3825
|
-
* @param {any} [filter] 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>Tailorings are searchable using attributes `os_minor_version`<br><br>(e.g.: `(
|
|
4098
|
+
* @param {any} [filter] 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>Tailorings are searchable using attributes `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
3826
4099
|
* @param {*} [options] Override http request option.
|
|
3827
4100
|
* @throws {RequiredError}
|
|
3828
4101
|
*/
|
|
@@ -3850,8 +4123,8 @@ var TailoringsApiFactory = function (configuration, basePath, axios) {
|
|
|
3850
4123
|
var localVarFp = (0, exports.TailoringsApiFp)(configuration);
|
|
3851
4124
|
return {
|
|
3852
4125
|
/**
|
|
3853
|
-
* Lists
|
|
3854
|
-
* @summary Request
|
|
4126
|
+
* Lists Tailoring
|
|
4127
|
+
* @summary Request Tailoring
|
|
3855
4128
|
* @param {TailoringsApiTailoringsRequest} requestParameters Request parameters.
|
|
3856
4129
|
* @param {*} [options] Override http request option.
|
|
3857
4130
|
* @throws {RequiredError}
|
|
@@ -3874,8 +4147,8 @@ var TailoringsApi = /** @class */ (function (_super) {
|
|
|
3874
4147
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
3875
4148
|
}
|
|
3876
4149
|
/**
|
|
3877
|
-
* Lists
|
|
3878
|
-
* @summary Request
|
|
4150
|
+
* Lists Tailoring
|
|
4151
|
+
* @summary Request Tailoring
|
|
3879
4152
|
* @param {TailoringsApiTailoringsRequest} requestParameters Request parameters.
|
|
3880
4153
|
* @param {*} [options] Override http request option.
|
|
3881
4154
|
* @throws {RequiredError}
|
|
@@ -3901,7 +4174,7 @@ var UnassignRuleApiAxiosParamCreator = function (configuration) {
|
|
|
3901
4174
|
* @param {any} policyId
|
|
3902
4175
|
* @param {any} tailoringId
|
|
3903
4176
|
* @param {any} id
|
|
3904
|
-
* @param {any} [xRHIDENTITY]
|
|
4177
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
3905
4178
|
* @param {*} [options] Override http request option.
|
|
3906
4179
|
* @throws {RequiredError}
|
|
3907
4180
|
*/
|
|
@@ -3958,7 +4231,7 @@ var UnassignRuleApiFp = function (configuration) {
|
|
|
3958
4231
|
* @param {any} policyId
|
|
3959
4232
|
* @param {any} tailoringId
|
|
3960
4233
|
* @param {any} id
|
|
3961
|
-
* @param {any} [xRHIDENTITY]
|
|
4234
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
3962
4235
|
* @param {*} [options] Override http request option.
|
|
3963
4236
|
* @throws {RequiredError}
|
|
3964
4237
|
*/
|
|
@@ -4036,7 +4309,7 @@ var UnassignSystemApiAxiosParamCreator = function (configuration) {
|
|
|
4036
4309
|
* @summary Unassign a System from a Policy
|
|
4037
4310
|
* @param {any} id
|
|
4038
4311
|
* @param {any} policyId
|
|
4039
|
-
* @param {any} [xRHIDENTITY]
|
|
4312
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
4040
4313
|
* @param {*} [options] Override http request option.
|
|
4041
4314
|
* @throws {RequiredError}
|
|
4042
4315
|
*/
|
|
@@ -4089,7 +4362,7 @@ var UnassignSystemApiFp = function (configuration) {
|
|
|
4089
4362
|
* @summary Unassign a System from a Policy
|
|
4090
4363
|
* @param {any} id
|
|
4091
4364
|
* @param {any} policyId
|
|
4092
|
-
* @param {any} [xRHIDENTITY]
|
|
4365
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
4093
4366
|
* @param {*} [options] Override http request option.
|
|
4094
4367
|
* @throws {RequiredError}
|
|
4095
4368
|
*/
|
|
@@ -4163,10 +4436,10 @@ var UpdatePolicyApiAxiosParamCreator = function (configuration) {
|
|
|
4163
4436
|
var _this = this;
|
|
4164
4437
|
return {
|
|
4165
4438
|
/**
|
|
4166
|
-
* Updates a Policy with the provided
|
|
4439
|
+
* Updates a Policy with the provided attribute
|
|
4167
4440
|
* @summary Update a Policy
|
|
4168
4441
|
* @param {any} id
|
|
4169
|
-
* @param {any} [xRHIDENTITY]
|
|
4442
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
4170
4443
|
* @param {PolicyUpdate} [policyUpdate]
|
|
4171
4444
|
* @param {*} [options] Override http request option.
|
|
4172
4445
|
* @throws {RequiredError}
|
|
@@ -4215,10 +4488,10 @@ var UpdatePolicyApiFp = function (configuration) {
|
|
|
4215
4488
|
var localVarAxiosParamCreator = (0, exports.UpdatePolicyApiAxiosParamCreator)(configuration);
|
|
4216
4489
|
return {
|
|
4217
4490
|
/**
|
|
4218
|
-
* Updates a Policy with the provided
|
|
4491
|
+
* Updates a Policy with the provided attribute
|
|
4219
4492
|
* @summary Update a Policy
|
|
4220
4493
|
* @param {any} id
|
|
4221
|
-
* @param {any} [xRHIDENTITY]
|
|
4494
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
4222
4495
|
* @param {PolicyUpdate} [policyUpdate]
|
|
4223
4496
|
* @param {*} [options] Override http request option.
|
|
4224
4497
|
* @throws {RequiredError}
|
|
@@ -4247,7 +4520,7 @@ var UpdatePolicyApiFactory = function (configuration, basePath, axios) {
|
|
|
4247
4520
|
var localVarFp = (0, exports.UpdatePolicyApiFp)(configuration);
|
|
4248
4521
|
return {
|
|
4249
4522
|
/**
|
|
4250
|
-
* Updates a Policy with the provided
|
|
4523
|
+
* Updates a Policy with the provided attribute
|
|
4251
4524
|
* @summary Update a Policy
|
|
4252
4525
|
* @param {UpdatePolicyApiUpdatePolicyRequest} requestParameters Request parameters.
|
|
4253
4526
|
* @param {*} [options] Override http request option.
|
|
@@ -4271,7 +4544,7 @@ var UpdatePolicyApi = /** @class */ (function (_super) {
|
|
|
4271
4544
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
4272
4545
|
}
|
|
4273
4546
|
/**
|
|
4274
|
-
* Updates a Policy with the provided
|
|
4547
|
+
* Updates a Policy with the provided attribute
|
|
4275
4548
|
* @summary Update a Policy
|
|
4276
4549
|
* @param {UpdatePolicyApiUpdatePolicyRequest} requestParameters Request parameters.
|
|
4277
4550
|
* @param {*} [options] Override http request option.
|
|
@@ -4285,6 +4558,141 @@ var UpdatePolicyApi = /** @class */ (function (_super) {
|
|
|
4285
4558
|
return UpdatePolicyApi;
|
|
4286
4559
|
}(base_1.BaseAPI));
|
|
4287
4560
|
exports.UpdatePolicyApi = UpdatePolicyApi;
|
|
4561
|
+
/**
|
|
4562
|
+
* UpdateTailoringApi - axios parameter creator
|
|
4563
|
+
* @export
|
|
4564
|
+
*/
|
|
4565
|
+
var UpdateTailoringApiAxiosParamCreator = function (configuration) {
|
|
4566
|
+
var _this = this;
|
|
4567
|
+
return {
|
|
4568
|
+
/**
|
|
4569
|
+
* Updates a Tailoring with the provided value_override
|
|
4570
|
+
* @summary Update a Tailoring
|
|
4571
|
+
* @param {any} policyId
|
|
4572
|
+
* @param {any} id
|
|
4573
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
4574
|
+
* @param {Tailoring} [tailoring]
|
|
4575
|
+
* @param {*} [options] Override http request option.
|
|
4576
|
+
* @throws {RequiredError}
|
|
4577
|
+
*/
|
|
4578
|
+
updateTailoring: function (policyId, id, xRHIDENTITY, tailoring, options) {
|
|
4579
|
+
if (options === void 0) { options = {}; }
|
|
4580
|
+
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
4581
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
4582
|
+
return tslib_1.__generator(this, function (_a) {
|
|
4583
|
+
// verify required parameter 'policyId' is not null or undefined
|
|
4584
|
+
(0, common_1.assertParamExists)('updateTailoring', 'policyId', policyId);
|
|
4585
|
+
// verify required parameter 'id' is not null or undefined
|
|
4586
|
+
(0, common_1.assertParamExists)('updateTailoring', 'id', id);
|
|
4587
|
+
localVarPath = "/policies/{policy_id}/tailorings/{id}"
|
|
4588
|
+
.replace("{".concat("policy_id", "}"), encodeURIComponent(String(policyId)))
|
|
4589
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
4590
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4591
|
+
if (configuration) {
|
|
4592
|
+
baseOptions = configuration.baseOptions;
|
|
4593
|
+
}
|
|
4594
|
+
localVarRequestOptions = tslib_1.__assign(tslib_1.__assign({ method: 'PATCH' }, baseOptions), options);
|
|
4595
|
+
localVarHeaderParameter = {};
|
|
4596
|
+
localVarQueryParameter = {};
|
|
4597
|
+
if (xRHIDENTITY != null) {
|
|
4598
|
+
localVarHeaderParameter['X-RH-IDENTITY'] = typeof xRHIDENTITY === 'string'
|
|
4599
|
+
? xRHIDENTITY
|
|
4600
|
+
: JSON.stringify(xRHIDENTITY);
|
|
4601
|
+
}
|
|
4602
|
+
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
4603
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4604
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4605
|
+
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4606
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(tailoring, localVarRequestOptions, configuration);
|
|
4607
|
+
return [2 /*return*/, {
|
|
4608
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4609
|
+
options: localVarRequestOptions,
|
|
4610
|
+
}];
|
|
4611
|
+
});
|
|
4612
|
+
});
|
|
4613
|
+
},
|
|
4614
|
+
};
|
|
4615
|
+
};
|
|
4616
|
+
exports.UpdateTailoringApiAxiosParamCreator = UpdateTailoringApiAxiosParamCreator;
|
|
4617
|
+
/**
|
|
4618
|
+
* UpdateTailoringApi - functional programming interface
|
|
4619
|
+
* @export
|
|
4620
|
+
*/
|
|
4621
|
+
var UpdateTailoringApiFp = function (configuration) {
|
|
4622
|
+
var localVarAxiosParamCreator = (0, exports.UpdateTailoringApiAxiosParamCreator)(configuration);
|
|
4623
|
+
return {
|
|
4624
|
+
/**
|
|
4625
|
+
* Updates a Tailoring with the provided value_override
|
|
4626
|
+
* @summary Update a Tailoring
|
|
4627
|
+
* @param {any} policyId
|
|
4628
|
+
* @param {any} id
|
|
4629
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
4630
|
+
* @param {Tailoring} [tailoring]
|
|
4631
|
+
* @param {*} [options] Override http request option.
|
|
4632
|
+
* @throws {RequiredError}
|
|
4633
|
+
*/
|
|
4634
|
+
updateTailoring: function (policyId, id, xRHIDENTITY, tailoring, options) {
|
|
4635
|
+
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
4636
|
+
var localVarAxiosArgs;
|
|
4637
|
+
return tslib_1.__generator(this, function (_a) {
|
|
4638
|
+
switch (_a.label) {
|
|
4639
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateTailoring(policyId, id, xRHIDENTITY, tailoring, options)];
|
|
4640
|
+
case 1:
|
|
4641
|
+
localVarAxiosArgs = _a.sent();
|
|
4642
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
4643
|
+
}
|
|
4644
|
+
});
|
|
4645
|
+
});
|
|
4646
|
+
},
|
|
4647
|
+
};
|
|
4648
|
+
};
|
|
4649
|
+
exports.UpdateTailoringApiFp = UpdateTailoringApiFp;
|
|
4650
|
+
/**
|
|
4651
|
+
* UpdateTailoringApi - factory interface
|
|
4652
|
+
* @export
|
|
4653
|
+
*/
|
|
4654
|
+
var UpdateTailoringApiFactory = function (configuration, basePath, axios) {
|
|
4655
|
+
var localVarFp = (0, exports.UpdateTailoringApiFp)(configuration);
|
|
4656
|
+
return {
|
|
4657
|
+
/**
|
|
4658
|
+
* Updates a Tailoring with the provided value_override
|
|
4659
|
+
* @summary Update a Tailoring
|
|
4660
|
+
* @param {UpdateTailoringApiUpdateTailoringRequest} requestParameters Request parameters.
|
|
4661
|
+
* @param {*} [options] Override http request option.
|
|
4662
|
+
* @throws {RequiredError}
|
|
4663
|
+
*/
|
|
4664
|
+
updateTailoring: function (requestParameters, options) {
|
|
4665
|
+
return localVarFp.updateTailoring(requestParameters.policyId, requestParameters.id, requestParameters.xRHIDENTITY, requestParameters.tailoring, options).then(function (request) { return request(axios, basePath); });
|
|
4666
|
+
},
|
|
4667
|
+
};
|
|
4668
|
+
};
|
|
4669
|
+
exports.UpdateTailoringApiFactory = UpdateTailoringApiFactory;
|
|
4670
|
+
/**
|
|
4671
|
+
* UpdateTailoringApi - object-oriented interface
|
|
4672
|
+
* @export
|
|
4673
|
+
* @class UpdateTailoringApi
|
|
4674
|
+
* @extends {BaseAPI}
|
|
4675
|
+
*/
|
|
4676
|
+
var UpdateTailoringApi = /** @class */ (function (_super) {
|
|
4677
|
+
tslib_1.__extends(UpdateTailoringApi, _super);
|
|
4678
|
+
function UpdateTailoringApi() {
|
|
4679
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
4680
|
+
}
|
|
4681
|
+
/**
|
|
4682
|
+
* Updates a Tailoring with the provided value_override
|
|
4683
|
+
* @summary Update a Tailoring
|
|
4684
|
+
* @param {UpdateTailoringApiUpdateTailoringRequest} requestParameters Request parameters.
|
|
4685
|
+
* @param {*} [options] Override http request option.
|
|
4686
|
+
* @throws {RequiredError}
|
|
4687
|
+
* @memberof UpdateTailoringApi
|
|
4688
|
+
*/
|
|
4689
|
+
UpdateTailoringApi.prototype.updateTailoring = function (requestParameters, options) {
|
|
4690
|
+
var _this = this;
|
|
4691
|
+
return (0, exports.UpdateTailoringApiFp)(this.configuration).updateTailoring(requestParameters.policyId, requestParameters.id, requestParameters.xRHIDENTITY, requestParameters.tailoring, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4692
|
+
};
|
|
4693
|
+
return UpdateTailoringApi;
|
|
4694
|
+
}(base_1.BaseAPI));
|
|
4695
|
+
exports.UpdateTailoringApi = UpdateTailoringApi;
|
|
4288
4696
|
/**
|
|
4289
4697
|
* ValueDefinitionApi - axios parameter creator
|
|
4290
4698
|
* @export
|
|
@@ -4297,7 +4705,7 @@ var ValueDefinitionApiAxiosParamCreator = function (configuration) {
|
|
|
4297
4705
|
* @summary Request a Value Definition
|
|
4298
4706
|
* @param {any} securityGuideId
|
|
4299
4707
|
* @param {any} id
|
|
4300
|
-
* @param {any} [xRHIDENTITY]
|
|
4708
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
4301
4709
|
* @param {*} [options] Override http request option.
|
|
4302
4710
|
* @throws {RequiredError}
|
|
4303
4711
|
*/
|
|
@@ -4350,7 +4758,7 @@ var ValueDefinitionApiFp = function (configuration) {
|
|
|
4350
4758
|
* @summary Request a Value Definition
|
|
4351
4759
|
* @param {any} securityGuideId
|
|
4352
4760
|
* @param {any} id
|
|
4353
|
-
* @param {any} [xRHIDENTITY]
|
|
4761
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
4354
4762
|
* @param {*} [options] Override http request option.
|
|
4355
4763
|
* @throws {RequiredError}
|
|
4356
4764
|
*/
|
|
@@ -4424,14 +4832,14 @@ var ValueDefinitionsApiAxiosParamCreator = function (configuration) {
|
|
|
4424
4832
|
var _this = this;
|
|
4425
4833
|
return {
|
|
4426
4834
|
/**
|
|
4427
|
-
* Lists Value
|
|
4428
|
-
* @summary Request Value
|
|
4835
|
+
* Lists Value Definition
|
|
4836
|
+
* @summary Request Value Definition
|
|
4429
4837
|
* @param {any} securityGuideId
|
|
4430
|
-
* @param {any} [xRHIDENTITY]
|
|
4838
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
4431
4839
|
* @param {any} [limit] Number of items to return per page
|
|
4432
4840
|
* @param {any} [offset] Offset of first item of paginated response
|
|
4433
4841
|
* @param {any} [sortBy] 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.
|
|
4434
|
-
* @param {any} [filter] 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>Value Definitions are searchable using attributes `title`<br><br>(e.g.: `(
|
|
4842
|
+
* @param {any} [filter] 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>Value Definitions are searchable using attributes `title` and `ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
4435
4843
|
* @param {*} [options] Override http request option.
|
|
4436
4844
|
* @throws {RequiredError}
|
|
4437
4845
|
*/
|
|
@@ -4489,14 +4897,14 @@ var ValueDefinitionsApiFp = function (configuration) {
|
|
|
4489
4897
|
var localVarAxiosParamCreator = (0, exports.ValueDefinitionsApiAxiosParamCreator)(configuration);
|
|
4490
4898
|
return {
|
|
4491
4899
|
/**
|
|
4492
|
-
* Lists Value
|
|
4493
|
-
* @summary Request Value
|
|
4900
|
+
* Lists Value Definition
|
|
4901
|
+
* @summary Request Value Definition
|
|
4494
4902
|
* @param {any} securityGuideId
|
|
4495
|
-
* @param {any} [xRHIDENTITY]
|
|
4903
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
4496
4904
|
* @param {any} [limit] Number of items to return per page
|
|
4497
4905
|
* @param {any} [offset] Offset of first item of paginated response
|
|
4498
4906
|
* @param {any} [sortBy] 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.
|
|
4499
|
-
* @param {any} [filter] 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>Value Definitions are searchable using attributes `title`<br><br>(e.g.: `(
|
|
4907
|
+
* @param {any} [filter] 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>Value Definitions are searchable using attributes `title` and `ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
4500
4908
|
* @param {*} [options] Override http request option.
|
|
4501
4909
|
* @throws {RequiredError}
|
|
4502
4910
|
*/
|
|
@@ -4524,8 +4932,8 @@ var ValueDefinitionsApiFactory = function (configuration, basePath, axios) {
|
|
|
4524
4932
|
var localVarFp = (0, exports.ValueDefinitionsApiFp)(configuration);
|
|
4525
4933
|
return {
|
|
4526
4934
|
/**
|
|
4527
|
-
* Lists Value
|
|
4528
|
-
* @summary Request Value
|
|
4935
|
+
* Lists Value Definition
|
|
4936
|
+
* @summary Request Value Definition
|
|
4529
4937
|
* @param {ValueDefinitionsApiValueDefinitionsRequest} requestParameters Request parameters.
|
|
4530
4938
|
* @param {*} [options] Override http request option.
|
|
4531
4939
|
* @throws {RequiredError}
|
|
@@ -4548,8 +4956,8 @@ var ValueDefinitionsApi = /** @class */ (function (_super) {
|
|
|
4548
4956
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
4549
4957
|
}
|
|
4550
4958
|
/**
|
|
4551
|
-
* Lists Value
|
|
4552
|
-
* @summary Request Value
|
|
4959
|
+
* Lists Value Definition
|
|
4960
|
+
* @summary Request Value Definition
|
|
4553
4961
|
* @param {ValueDefinitionsApiValueDefinitionsRequest} requestParameters Request parameters.
|
|
4554
4962
|
* @param {*} [options] Override http request option.
|
|
4555
4963
|
* @throws {RequiredError}
|