@sailpoint/api-client 2.2.11 → 2.2.13

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.
@@ -78,7 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
78
78
  return (mod && mod.__esModule) ? mod : { "default": mod };
79
79
  };
80
80
  Object.defineProperty(exports, "__esModule", { value: true });
81
- exports.AccessProfilesApi = exports.AccessProfilesApiFactory = exports.AccessProfilesApiFp = exports.AccessProfilesApiAxiosParamCreator = exports.ProvisioningCriteriaOperation = exports.OwnerReferenceTypeEnum = exports.LocaleOrigin = exports.JsonPatchOperationOpEnum = exports.EntitlementRefTypeEnum = exports.EntitlementOwnerTypeEnum = exports.AttributeValueDTOTypeEnum = exports.AdditionalOwnerRefTypeEnum = exports.AccessprofilemetadatabulkupdateresponseStatusEnum = exports.AccessprofilemetadatabulkupdatebyqueryrequestReplaceScopeEnum = exports.AccessprofilemetadatabulkupdatebyqueryrequestOperationEnum = exports.AccessprofilemetadatabulkupdatebyidrequestReplaceScopeEnum = exports.AccessprofilemetadatabulkupdatebyidrequestOperationEnum = exports.AccessprofilemetadatabulkupdatebyfilterrequestReplaceScopeEnum = exports.AccessprofilemetadatabulkupdatebyfilterrequestOperationEnum = exports.AccessProfileUsageUsedByInnerTypeEnum = exports.AccessProfileSourceRefTypeEnum = exports.AccessProfileApprovalSchemeApproverTypeEnum = exports.AccessDurationTimeUnitEnum = void 0;
81
+ exports.AccessProfilesApi = exports.AccessProfilesApiFactory = exports.AccessProfilesApiFp = exports.AccessProfilesApiAxiosParamCreator = exports.ProvisioningCriteriaOperation = exports.OwnerReferenceTypeEnum = exports.LocaleOrigin = exports.JsonPatchOperationOpEnum = exports.EntitlementRefTypeEnum = exports.EntitlementOwnerTypeEnum = exports.AttributeValueDTOTypeEnum = exports.AdditionalOwnerRefTypeEnum = exports.AccessProfileUsageUsedByInnerTypeEnum = exports.AccessProfileSourceRefTypeEnum = exports.AccessProfileMetadataBulkUpdateResponseStatusEnum = exports.AccessProfileMetadataBulkUpdateByQueryRequestReplaceScopeEnum = exports.AccessProfileMetadataBulkUpdateByQueryRequestOperationEnum = exports.AccessProfileMetadataBulkUpdateByIdRequestReplaceScopeEnum = exports.AccessProfileMetadataBulkUpdateByIdRequestOperationEnum = exports.AccessProfileMetadataBulkUpdateByFilterRequestReplaceScopeEnum = exports.AccessProfileMetadataBulkUpdateByFilterRequestOperationEnum = exports.AccessProfileApprovalSchemeApproverTypeEnum = exports.AccessDurationTimeUnitEnum = void 0;
82
82
  var axios_1 = __importDefault(require("axios"));
83
83
  // Some imports not used depending on template conditions
84
84
  // @ts-ignore
@@ -102,40 +102,34 @@ exports.AccessProfileApprovalSchemeApproverTypeEnum = {
102
102
  AdditionalOwner: 'ADDITIONAL_OWNER',
103
103
  AdditionalGovernanceGroup: 'ADDITIONAL_GOVERNANCE_GROUP'
104
104
  };
105
- exports.AccessProfileSourceRefTypeEnum = {
106
- Source: 'SOURCE'
107
- };
108
- exports.AccessProfileUsageUsedByInnerTypeEnum = {
109
- Role: 'ROLE'
110
- };
111
- exports.AccessprofilemetadatabulkupdatebyfilterrequestOperationEnum = {
105
+ exports.AccessProfileMetadataBulkUpdateByFilterRequestOperationEnum = {
112
106
  Add: 'ADD',
113
107
  Remove: 'REMOVE',
114
108
  Replace: 'REPLACE'
115
109
  };
116
- exports.AccessprofilemetadatabulkupdatebyfilterrequestReplaceScopeEnum = {
110
+ exports.AccessProfileMetadataBulkUpdateByFilterRequestReplaceScopeEnum = {
117
111
  All: 'ALL',
118
112
  Attribute: 'ATTRIBUTE'
119
113
  };
120
- exports.AccessprofilemetadatabulkupdatebyidrequestOperationEnum = {
114
+ exports.AccessProfileMetadataBulkUpdateByIdRequestOperationEnum = {
121
115
  Add: 'ADD',
122
116
  Remove: 'REMOVE',
123
117
  Replace: 'REPLACE'
124
118
  };
125
- exports.AccessprofilemetadatabulkupdatebyidrequestReplaceScopeEnum = {
119
+ exports.AccessProfileMetadataBulkUpdateByIdRequestReplaceScopeEnum = {
126
120
  All: 'ALL',
127
121
  Attribute: 'ATTRIBUTE'
128
122
  };
129
- exports.AccessprofilemetadatabulkupdatebyqueryrequestOperationEnum = {
123
+ exports.AccessProfileMetadataBulkUpdateByQueryRequestOperationEnum = {
130
124
  Add: 'ADD',
131
125
  Remove: 'REMOVE',
132
126
  Replace: 'REPLACE'
133
127
  };
134
- exports.AccessprofilemetadatabulkupdatebyqueryrequestReplaceScopeEnum = {
128
+ exports.AccessProfileMetadataBulkUpdateByQueryRequestReplaceScopeEnum = {
135
129
  All: 'ALL',
136
130
  Attribute: 'ATTRIBUTE'
137
131
  };
138
- exports.AccessprofilemetadatabulkupdateresponseStatusEnum = {
132
+ exports.AccessProfileMetadataBulkUpdateResponseStatusEnum = {
139
133
  Created: 'CREATED',
140
134
  PreProcess: 'PRE_PROCESS',
141
135
  PreProcessCompleted: 'PRE_PROCESS_COMPLETED',
@@ -147,6 +141,12 @@ exports.AccessprofilemetadatabulkupdateresponseStatusEnum = {
147
141
  PreProcessFailed: 'PRE_PROCESS_FAILED',
148
142
  Failed: 'FAILED'
149
143
  };
144
+ exports.AccessProfileSourceRefTypeEnum = {
145
+ Source: 'SOURCE'
146
+ };
147
+ exports.AccessProfileUsageUsedByInnerTypeEnum = {
148
+ Role: 'ROLE'
149
+ };
150
150
  exports.AdditionalOwnerRefTypeEnum = {
151
151
  Identity: 'IDENTITY',
152
152
  GovernanceGroup: 'GOVERNANCE_GROUP'
@@ -528,6 +528,68 @@ var AccessProfilesApiAxiosParamCreator = function (configuration) {
528
528
  });
529
529
  });
530
530
  },
531
+ /**
532
+ * Get a list of access profiles filtered by Access Model Metadata and by filter expression. Filtering is supported by filter expression, by metadata attribute key and values, or by both together.
533
+ * @summary Filter access profiles by metadata
534
+ * @param {AccessProfileListFilterDTO} accessProfileListFilterDTO
535
+ * @param {string} [forSubadmin] Filters the returned list according to what is visible to the indicated ROLE_SUBADMIN or SOURCE_SUBADMIN identity. The value of the parameter is either an identity ID or the special value **me**, which is shorthand for the calling identity\'s ID. If you specify an identity that isn\'t a subadmin, the API returns a 400 Bad Request error.
536
+ * @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
537
+ * @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
538
+ * @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
539
+ * @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name, created, modified**
540
+ * @param {string} [forSegmentIds] Filters the returned list to those access profiles assigned to the specified segment IDs.
541
+ * @param {boolean} [includeUnsegmented] Whether the returned list includes unsegmented access profiles.
542
+ * @param {*} [axiosOptions] Override http request option.
543
+ * @throws {RequiredError}
544
+ */
545
+ searchAccessProfilesByFilterV1: function (accessProfileListFilterDTO, forSubadmin, limit, offset, count, sorters, forSegmentIds, includeUnsegmented, axiosOptions) {
546
+ if (axiosOptions === void 0) { axiosOptions = {}; }
547
+ return __awaiter(_this, void 0, void 0, function () {
548
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
549
+ return __generator(this, function (_a) {
550
+ // verify required parameter 'accessProfileListFilterDTO' is not null or undefined
551
+ (0, common_1.assertParamExists)('searchAccessProfilesByFilterV1', 'accessProfileListFilterDTO', accessProfileListFilterDTO);
552
+ localVarPath = "/access-profiles/v1/filter";
553
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
554
+ if (configuration) {
555
+ baseOptions = configuration.baseOptions;
556
+ }
557
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
558
+ localVarHeaderParameter = {};
559
+ localVarQueryParameter = {};
560
+ if (forSubadmin !== undefined) {
561
+ localVarQueryParameter['for-subadmin'] = forSubadmin;
562
+ }
563
+ if (limit !== undefined) {
564
+ localVarQueryParameter['limit'] = limit;
565
+ }
566
+ if (offset !== undefined) {
567
+ localVarQueryParameter['offset'] = offset;
568
+ }
569
+ if (count !== undefined) {
570
+ localVarQueryParameter['count'] = count;
571
+ }
572
+ if (sorters !== undefined) {
573
+ localVarQueryParameter['sorters'] = sorters;
574
+ }
575
+ if (forSegmentIds !== undefined) {
576
+ localVarQueryParameter['for-segment-ids'] = forSegmentIds;
577
+ }
578
+ if (includeUnsegmented !== undefined) {
579
+ localVarQueryParameter['include-unsegmented'] = includeUnsegmented;
580
+ }
581
+ localVarHeaderParameter['Content-Type'] = 'application/json';
582
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
583
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
584
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
585
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accessProfileListFilterDTO, localVarRequestOptions, configuration);
586
+ return [2 /*return*/, {
587
+ url: (0, common_1.toPathString)(localVarUrlObj),
588
+ axiosOptions: localVarRequestOptions,
589
+ }];
590
+ });
591
+ });
592
+ },
531
593
  /**
532
594
  * This API initiates a bulk update of field requestable for one or more Access Profiles. > If any of the indicated Access Profiles is exists in Organization,then those Access Profiles will be added in **updated** list of the response.Requestable field of these Access Profiles marked as **true** or **false**. > If any of the indicated Access Profiles is not does not exists in Organization,then those Access Profiles will be added in **notFound** list of the response. Access Profiles marked as **notFound** will not be updated. A SOURCE_SUBADMIN may only use this API to update Access Profiles which are associated with Sources they are able to administer.
533
595
  * @summary Update access profile(s) requestable field.
@@ -565,17 +627,17 @@ var AccessProfilesApiAxiosParamCreator = function (configuration) {
565
627
  /**
566
628
  * This API initiates a bulk update of Access Model Metadata for every access profile matching the supplied filter expression. The update is processed asynchronously. The response returns the ID of the task performing the update. A single access profile cannot be assigned more than 25 metadata values. Adding or replacing custom metadata requires a suite license.
567
629
  * @summary Bulk-update metadata by filter
568
- * @param {Accessprofilemetadatabulkupdatebyfilterrequest} accessprofilemetadatabulkupdatebyfilterrequest
630
+ * @param {AccessProfileMetadataBulkUpdateByFilterRequest} accessProfileMetadataBulkUpdateByFilterRequest
569
631
  * @param {*} [axiosOptions] Override http request option.
570
632
  * @throws {RequiredError}
571
633
  */
572
- updateAccessProfilesMetadataByFilterV1: function (accessprofilemetadatabulkupdatebyfilterrequest, axiosOptions) {
634
+ updateAccessProfilesMetadataByFilterV1: function (accessProfileMetadataBulkUpdateByFilterRequest, axiosOptions) {
573
635
  if (axiosOptions === void 0) { axiosOptions = {}; }
574
636
  return __awaiter(_this, void 0, void 0, function () {
575
637
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
576
638
  return __generator(this, function (_a) {
577
- // verify required parameter 'accessprofilemetadatabulkupdatebyfilterrequest' is not null or undefined
578
- (0, common_1.assertParamExists)('updateAccessProfilesMetadataByFilterV1', 'accessprofilemetadatabulkupdatebyfilterrequest', accessprofilemetadatabulkupdatebyfilterrequest);
639
+ // verify required parameter 'accessProfileMetadataBulkUpdateByFilterRequest' is not null or undefined
640
+ (0, common_1.assertParamExists)('updateAccessProfilesMetadataByFilterV1', 'accessProfileMetadataBulkUpdateByFilterRequest', accessProfileMetadataBulkUpdateByFilterRequest);
579
641
  localVarPath = "/access-profiles/v1/access-model-metadata/bulk-update/filter";
580
642
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
581
643
  if (configuration) {
@@ -588,7 +650,7 @@ var AccessProfilesApiAxiosParamCreator = function (configuration) {
588
650
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
589
651
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
590
652
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
591
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accessprofilemetadatabulkupdatebyfilterrequest, localVarRequestOptions, configuration);
653
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accessProfileMetadataBulkUpdateByFilterRequest, localVarRequestOptions, configuration);
592
654
  return [2 /*return*/, {
593
655
  url: (0, common_1.toPathString)(localVarUrlObj),
594
656
  axiosOptions: localVarRequestOptions,
@@ -599,17 +661,17 @@ var AccessProfilesApiAxiosParamCreator = function (configuration) {
599
661
  /**
600
662
  * This API initiates a bulk update of Access Model Metadata for one or more access profiles by a list of access profile IDs. The update is processed asynchronously. The response returns the ID of the task performing the update. The maximum access profile count in a single request is 3000. A single access profile cannot be assigned more than 25 metadata values. Adding or replacing custom metadata requires a suite license.
601
663
  * @summary Bulk-update metadata by ids
602
- * @param {Accessprofilemetadatabulkupdatebyidrequest} accessprofilemetadatabulkupdatebyidrequest
664
+ * @param {AccessProfileMetadataBulkUpdateByIdRequest} accessProfileMetadataBulkUpdateByIdRequest
603
665
  * @param {*} [axiosOptions] Override http request option.
604
666
  * @throws {RequiredError}
605
667
  */
606
- updateAccessProfilesMetadataByIdsV1: function (accessprofilemetadatabulkupdatebyidrequest, axiosOptions) {
668
+ updateAccessProfilesMetadataByIdsV1: function (accessProfileMetadataBulkUpdateByIdRequest, axiosOptions) {
607
669
  if (axiosOptions === void 0) { axiosOptions = {}; }
608
670
  return __awaiter(_this, void 0, void 0, function () {
609
671
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
610
672
  return __generator(this, function (_a) {
611
- // verify required parameter 'accessprofilemetadatabulkupdatebyidrequest' is not null or undefined
612
- (0, common_1.assertParamExists)('updateAccessProfilesMetadataByIdsV1', 'accessprofilemetadatabulkupdatebyidrequest', accessprofilemetadatabulkupdatebyidrequest);
673
+ // verify required parameter 'accessProfileMetadataBulkUpdateByIdRequest' is not null or undefined
674
+ (0, common_1.assertParamExists)('updateAccessProfilesMetadataByIdsV1', 'accessProfileMetadataBulkUpdateByIdRequest', accessProfileMetadataBulkUpdateByIdRequest);
613
675
  localVarPath = "/access-profiles/v1/access-model-metadata/bulk-update/ids";
614
676
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
615
677
  if (configuration) {
@@ -622,7 +684,7 @@ var AccessProfilesApiAxiosParamCreator = function (configuration) {
622
684
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
623
685
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
624
686
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
625
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accessprofilemetadatabulkupdatebyidrequest, localVarRequestOptions, configuration);
687
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accessProfileMetadataBulkUpdateByIdRequest, localVarRequestOptions, configuration);
626
688
  return [2 /*return*/, {
627
689
  url: (0, common_1.toPathString)(localVarUrlObj),
628
690
  axiosOptions: localVarRequestOptions,
@@ -633,17 +695,17 @@ var AccessProfilesApiAxiosParamCreator = function (configuration) {
633
695
  /**
634
696
  * This API initiates a bulk update of Access Model Metadata for every access profile matching the supplied search query. The update is processed asynchronously. The response returns the ID of the task performing the update. A single access profile cannot be assigned more than 25 metadata values. Adding or replacing custom metadata requires a suite license.
635
697
  * @summary Bulk-update metadata by query
636
- * @param {Accessprofilemetadatabulkupdatebyqueryrequest} accessprofilemetadatabulkupdatebyqueryrequest
698
+ * @param {AccessProfileMetadataBulkUpdateByQueryRequest} accessProfileMetadataBulkUpdateByQueryRequest
637
699
  * @param {*} [axiosOptions] Override http request option.
638
700
  * @throws {RequiredError}
639
701
  */
640
- updateAccessProfilesMetadataByQueryV1: function (accessprofilemetadatabulkupdatebyqueryrequest, axiosOptions) {
702
+ updateAccessProfilesMetadataByQueryV1: function (accessProfileMetadataBulkUpdateByQueryRequest, axiosOptions) {
641
703
  if (axiosOptions === void 0) { axiosOptions = {}; }
642
704
  return __awaiter(_this, void 0, void 0, function () {
643
705
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
644
706
  return __generator(this, function (_a) {
645
- // verify required parameter 'accessprofilemetadatabulkupdatebyqueryrequest' is not null or undefined
646
- (0, common_1.assertParamExists)('updateAccessProfilesMetadataByQueryV1', 'accessprofilemetadatabulkupdatebyqueryrequest', accessprofilemetadatabulkupdatebyqueryrequest);
707
+ // verify required parameter 'accessProfileMetadataBulkUpdateByQueryRequest' is not null or undefined
708
+ (0, common_1.assertParamExists)('updateAccessProfilesMetadataByQueryV1', 'accessProfileMetadataBulkUpdateByQueryRequest', accessProfileMetadataBulkUpdateByQueryRequest);
647
709
  localVarPath = "/access-profiles/v1/access-model-metadata/bulk-update/query";
648
710
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
649
711
  if (configuration) {
@@ -656,7 +718,7 @@ var AccessProfilesApiAxiosParamCreator = function (configuration) {
656
718
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
657
719
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
658
720
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
659
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accessprofilemetadatabulkupdatebyqueryrequest, localVarRequestOptions, configuration);
721
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accessProfileMetadataBulkUpdateByQueryRequest, localVarRequestOptions, configuration);
660
722
  return [2 /*return*/, {
661
723
  url: (0, common_1.toPathString)(localVarUrlObj),
662
724
  axiosOptions: localVarRequestOptions,
@@ -914,6 +976,36 @@ var AccessProfilesApiFp = function (configuration) {
914
976
  });
915
977
  });
916
978
  },
979
+ /**
980
+ * Get a list of access profiles filtered by Access Model Metadata and by filter expression. Filtering is supported by filter expression, by metadata attribute key and values, or by both together.
981
+ * @summary Filter access profiles by metadata
982
+ * @param {AccessProfileListFilterDTO} accessProfileListFilterDTO
983
+ * @param {string} [forSubadmin] Filters the returned list according to what is visible to the indicated ROLE_SUBADMIN or SOURCE_SUBADMIN identity. The value of the parameter is either an identity ID or the special value **me**, which is shorthand for the calling identity\'s ID. If you specify an identity that isn\'t a subadmin, the API returns a 400 Bad Request error.
984
+ * @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
985
+ * @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
986
+ * @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
987
+ * @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name, created, modified**
988
+ * @param {string} [forSegmentIds] Filters the returned list to those access profiles assigned to the specified segment IDs.
989
+ * @param {boolean} [includeUnsegmented] Whether the returned list includes unsegmented access profiles.
990
+ * @param {*} [axiosOptions] Override http request option.
991
+ * @throws {RequiredError}
992
+ */
993
+ searchAccessProfilesByFilterV1: function (accessProfileListFilterDTO, forSubadmin, limit, offset, count, sorters, forSegmentIds, includeUnsegmented, axiosOptions) {
994
+ var _a, _b, _c;
995
+ return __awaiter(this, void 0, void 0, function () {
996
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
997
+ return __generator(this, function (_d) {
998
+ switch (_d.label) {
999
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.searchAccessProfilesByFilterV1(accessProfileListFilterDTO, forSubadmin, limit, offset, count, sorters, forSegmentIds, includeUnsegmented, axiosOptions)];
1000
+ case 1:
1001
+ localVarAxiosArgs = _d.sent();
1002
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1003
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessProfilesApi.searchAccessProfilesByFilterV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1004
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1005
+ }
1006
+ });
1007
+ });
1008
+ },
917
1009
  /**
918
1010
  * This API initiates a bulk update of field requestable for one or more Access Profiles. > If any of the indicated Access Profiles is exists in Organization,then those Access Profiles will be added in **updated** list of the response.Requestable field of these Access Profiles marked as **true** or **false**. > If any of the indicated Access Profiles is not does not exists in Organization,then those Access Profiles will be added in **notFound** list of the response. Access Profiles marked as **notFound** will not be updated. A SOURCE_SUBADMIN may only use this API to update Access Profiles which are associated with Sources they are able to administer.
919
1011
  * @summary Update access profile(s) requestable field.
@@ -940,17 +1032,17 @@ var AccessProfilesApiFp = function (configuration) {
940
1032
  /**
941
1033
  * This API initiates a bulk update of Access Model Metadata for every access profile matching the supplied filter expression. The update is processed asynchronously. The response returns the ID of the task performing the update. A single access profile cannot be assigned more than 25 metadata values. Adding or replacing custom metadata requires a suite license.
942
1034
  * @summary Bulk-update metadata by filter
943
- * @param {Accessprofilemetadatabulkupdatebyfilterrequest} accessprofilemetadatabulkupdatebyfilterrequest
1035
+ * @param {AccessProfileMetadataBulkUpdateByFilterRequest} accessProfileMetadataBulkUpdateByFilterRequest
944
1036
  * @param {*} [axiosOptions] Override http request option.
945
1037
  * @throws {RequiredError}
946
1038
  */
947
- updateAccessProfilesMetadataByFilterV1: function (accessprofilemetadatabulkupdatebyfilterrequest, axiosOptions) {
1039
+ updateAccessProfilesMetadataByFilterV1: function (accessProfileMetadataBulkUpdateByFilterRequest, axiosOptions) {
948
1040
  var _a, _b, _c;
949
1041
  return __awaiter(this, void 0, void 0, function () {
950
1042
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
951
1043
  return __generator(this, function (_d) {
952
1044
  switch (_d.label) {
953
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateAccessProfilesMetadataByFilterV1(accessprofilemetadatabulkupdatebyfilterrequest, axiosOptions)];
1045
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateAccessProfilesMetadataByFilterV1(accessProfileMetadataBulkUpdateByFilterRequest, axiosOptions)];
954
1046
  case 1:
955
1047
  localVarAxiosArgs = _d.sent();
956
1048
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
@@ -963,17 +1055,17 @@ var AccessProfilesApiFp = function (configuration) {
963
1055
  /**
964
1056
  * This API initiates a bulk update of Access Model Metadata for one or more access profiles by a list of access profile IDs. The update is processed asynchronously. The response returns the ID of the task performing the update. The maximum access profile count in a single request is 3000. A single access profile cannot be assigned more than 25 metadata values. Adding or replacing custom metadata requires a suite license.
965
1057
  * @summary Bulk-update metadata by ids
966
- * @param {Accessprofilemetadatabulkupdatebyidrequest} accessprofilemetadatabulkupdatebyidrequest
1058
+ * @param {AccessProfileMetadataBulkUpdateByIdRequest} accessProfileMetadataBulkUpdateByIdRequest
967
1059
  * @param {*} [axiosOptions] Override http request option.
968
1060
  * @throws {RequiredError}
969
1061
  */
970
- updateAccessProfilesMetadataByIdsV1: function (accessprofilemetadatabulkupdatebyidrequest, axiosOptions) {
1062
+ updateAccessProfilesMetadataByIdsV1: function (accessProfileMetadataBulkUpdateByIdRequest, axiosOptions) {
971
1063
  var _a, _b, _c;
972
1064
  return __awaiter(this, void 0, void 0, function () {
973
1065
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
974
1066
  return __generator(this, function (_d) {
975
1067
  switch (_d.label) {
976
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateAccessProfilesMetadataByIdsV1(accessprofilemetadatabulkupdatebyidrequest, axiosOptions)];
1068
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateAccessProfilesMetadataByIdsV1(accessProfileMetadataBulkUpdateByIdRequest, axiosOptions)];
977
1069
  case 1:
978
1070
  localVarAxiosArgs = _d.sent();
979
1071
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
@@ -986,17 +1078,17 @@ var AccessProfilesApiFp = function (configuration) {
986
1078
  /**
987
1079
  * This API initiates a bulk update of Access Model Metadata for every access profile matching the supplied search query. The update is processed asynchronously. The response returns the ID of the task performing the update. A single access profile cannot be assigned more than 25 metadata values. Adding or replacing custom metadata requires a suite license.
988
1080
  * @summary Bulk-update metadata by query
989
- * @param {Accessprofilemetadatabulkupdatebyqueryrequest} accessprofilemetadatabulkupdatebyqueryrequest
1081
+ * @param {AccessProfileMetadataBulkUpdateByQueryRequest} accessProfileMetadataBulkUpdateByQueryRequest
990
1082
  * @param {*} [axiosOptions] Override http request option.
991
1083
  * @throws {RequiredError}
992
1084
  */
993
- updateAccessProfilesMetadataByQueryV1: function (accessprofilemetadatabulkupdatebyqueryrequest, axiosOptions) {
1085
+ updateAccessProfilesMetadataByQueryV1: function (accessProfileMetadataBulkUpdateByQueryRequest, axiosOptions) {
994
1086
  var _a, _b, _c;
995
1087
  return __awaiter(this, void 0, void 0, function () {
996
1088
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
997
1089
  return __generator(this, function (_d) {
998
1090
  switch (_d.label) {
999
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateAccessProfilesMetadataByQueryV1(accessprofilemetadatabulkupdatebyqueryrequest, axiosOptions)];
1091
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateAccessProfilesMetadataByQueryV1(accessProfileMetadataBulkUpdateByQueryRequest, axiosOptions)];
1000
1092
  case 1:
1001
1093
  localVarAxiosArgs = _d.sent();
1002
1094
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
@@ -1122,6 +1214,16 @@ var AccessProfilesApiFactory = function (configuration, basePath, axios) {
1122
1214
  patchAccessProfileV1: function (requestParameters, axiosOptions) {
1123
1215
  return localVarFp.patchAccessProfileV1(requestParameters.id, requestParameters.jsonPatchOperation, axiosOptions).then(function (request) { return request(axios, basePath); });
1124
1216
  },
1217
+ /**
1218
+ * Get a list of access profiles filtered by Access Model Metadata and by filter expression. Filtering is supported by filter expression, by metadata attribute key and values, or by both together.
1219
+ * @summary Filter access profiles by metadata
1220
+ * @param {AccessProfilesApiSearchAccessProfilesByFilterV1Request} requestParameters Request parameters.
1221
+ * @param {*} [axiosOptions] Override http request option.
1222
+ * @throws {RequiredError}
1223
+ */
1224
+ searchAccessProfilesByFilterV1: function (requestParameters, axiosOptions) {
1225
+ return localVarFp.searchAccessProfilesByFilterV1(requestParameters.accessProfileListFilterDTO, requestParameters.forSubadmin, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.sorters, requestParameters.forSegmentIds, requestParameters.includeUnsegmented, axiosOptions).then(function (request) { return request(axios, basePath); });
1226
+ },
1125
1227
  /**
1126
1228
  * This API initiates a bulk update of field requestable for one or more Access Profiles. > If any of the indicated Access Profiles is exists in Organization,then those Access Profiles will be added in **updated** list of the response.Requestable field of these Access Profiles marked as **true** or **false**. > If any of the indicated Access Profiles is not does not exists in Organization,then those Access Profiles will be added in **notFound** list of the response. Access Profiles marked as **notFound** will not be updated. A SOURCE_SUBADMIN may only use this API to update Access Profiles which are associated with Sources they are able to administer.
1127
1229
  * @summary Update access profile(s) requestable field.
@@ -1140,7 +1242,7 @@ var AccessProfilesApiFactory = function (configuration, basePath, axios) {
1140
1242
  * @throws {RequiredError}
1141
1243
  */
1142
1244
  updateAccessProfilesMetadataByFilterV1: function (requestParameters, axiosOptions) {
1143
- return localVarFp.updateAccessProfilesMetadataByFilterV1(requestParameters.accessprofilemetadatabulkupdatebyfilterrequest, axiosOptions).then(function (request) { return request(axios, basePath); });
1245
+ return localVarFp.updateAccessProfilesMetadataByFilterV1(requestParameters.accessProfileMetadataBulkUpdateByFilterRequest, axiosOptions).then(function (request) { return request(axios, basePath); });
1144
1246
  },
1145
1247
  /**
1146
1248
  * This API initiates a bulk update of Access Model Metadata for one or more access profiles by a list of access profile IDs. The update is processed asynchronously. The response returns the ID of the task performing the update. The maximum access profile count in a single request is 3000. A single access profile cannot be assigned more than 25 metadata values. Adding or replacing custom metadata requires a suite license.
@@ -1150,7 +1252,7 @@ var AccessProfilesApiFactory = function (configuration, basePath, axios) {
1150
1252
  * @throws {RequiredError}
1151
1253
  */
1152
1254
  updateAccessProfilesMetadataByIdsV1: function (requestParameters, axiosOptions) {
1153
- return localVarFp.updateAccessProfilesMetadataByIdsV1(requestParameters.accessprofilemetadatabulkupdatebyidrequest, axiosOptions).then(function (request) { return request(axios, basePath); });
1255
+ return localVarFp.updateAccessProfilesMetadataByIdsV1(requestParameters.accessProfileMetadataBulkUpdateByIdRequest, axiosOptions).then(function (request) { return request(axios, basePath); });
1154
1256
  },
1155
1257
  /**
1156
1258
  * This API initiates a bulk update of Access Model Metadata for every access profile matching the supplied search query. The update is processed asynchronously. The response returns the ID of the task performing the update. A single access profile cannot be assigned more than 25 metadata values. Adding or replacing custom metadata requires a suite license.
@@ -1160,7 +1262,7 @@ var AccessProfilesApiFactory = function (configuration, basePath, axios) {
1160
1262
  * @throws {RequiredError}
1161
1263
  */
1162
1264
  updateAccessProfilesMetadataByQueryV1: function (requestParameters, axiosOptions) {
1163
- return localVarFp.updateAccessProfilesMetadataByQueryV1(requestParameters.accessprofilemetadatabulkupdatebyqueryrequest, axiosOptions).then(function (request) { return request(axios, basePath); });
1265
+ return localVarFp.updateAccessProfilesMetadataByQueryV1(requestParameters.accessProfileMetadataBulkUpdateByQueryRequest, axiosOptions).then(function (request) { return request(axios, basePath); });
1164
1266
  },
1165
1267
  /**
1166
1268
  * This API adds a single Access Model Metadata value to an access profile by attribute key and attribute value. A single access profile cannot be assigned more than 25 metadata values. Adding custom metadata requires a suite license.
@@ -1283,6 +1385,18 @@ var AccessProfilesApi = /** @class */ (function (_super) {
1283
1385
  var _this = this;
1284
1386
  return (0, exports.AccessProfilesApiFp)(this.configuration).patchAccessProfileV1(requestParameters.id, requestParameters.jsonPatchOperation, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
1285
1387
  };
1388
+ /**
1389
+ * Get a list of access profiles filtered by Access Model Metadata and by filter expression. Filtering is supported by filter expression, by metadata attribute key and values, or by both together.
1390
+ * @summary Filter access profiles by metadata
1391
+ * @param {AccessProfilesApiSearchAccessProfilesByFilterV1Request} requestParameters Request parameters.
1392
+ * @param {*} [axiosOptions] Override http request option.
1393
+ * @throws {RequiredError}
1394
+ * @memberof AccessProfilesApi
1395
+ */
1396
+ AccessProfilesApi.prototype.searchAccessProfilesByFilterV1 = function (requestParameters, axiosOptions) {
1397
+ var _this = this;
1398
+ return (0, exports.AccessProfilesApiFp)(this.configuration).searchAccessProfilesByFilterV1(requestParameters.accessProfileListFilterDTO, requestParameters.forSubadmin, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.sorters, requestParameters.forSegmentIds, requestParameters.includeUnsegmented, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
1399
+ };
1286
1400
  /**
1287
1401
  * This API initiates a bulk update of field requestable for one or more Access Profiles. > If any of the indicated Access Profiles is exists in Organization,then those Access Profiles will be added in **updated** list of the response.Requestable field of these Access Profiles marked as **true** or **false**. > If any of the indicated Access Profiles is not does not exists in Organization,then those Access Profiles will be added in **notFound** list of the response. Access Profiles marked as **notFound** will not be updated. A SOURCE_SUBADMIN may only use this API to update Access Profiles which are associated with Sources they are able to administer.
1288
1402
  * @summary Update access profile(s) requestable field.
@@ -1305,7 +1419,7 @@ var AccessProfilesApi = /** @class */ (function (_super) {
1305
1419
  */
1306
1420
  AccessProfilesApi.prototype.updateAccessProfilesMetadataByFilterV1 = function (requestParameters, axiosOptions) {
1307
1421
  var _this = this;
1308
- return (0, exports.AccessProfilesApiFp)(this.configuration).updateAccessProfilesMetadataByFilterV1(requestParameters.accessprofilemetadatabulkupdatebyfilterrequest, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
1422
+ return (0, exports.AccessProfilesApiFp)(this.configuration).updateAccessProfilesMetadataByFilterV1(requestParameters.accessProfileMetadataBulkUpdateByFilterRequest, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
1309
1423
  };
1310
1424
  /**
1311
1425
  * This API initiates a bulk update of Access Model Metadata for one or more access profiles by a list of access profile IDs. The update is processed asynchronously. The response returns the ID of the task performing the update. The maximum access profile count in a single request is 3000. A single access profile cannot be assigned more than 25 metadata values. Adding or replacing custom metadata requires a suite license.
@@ -1317,7 +1431,7 @@ var AccessProfilesApi = /** @class */ (function (_super) {
1317
1431
  */
1318
1432
  AccessProfilesApi.prototype.updateAccessProfilesMetadataByIdsV1 = function (requestParameters, axiosOptions) {
1319
1433
  var _this = this;
1320
- return (0, exports.AccessProfilesApiFp)(this.configuration).updateAccessProfilesMetadataByIdsV1(requestParameters.accessprofilemetadatabulkupdatebyidrequest, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
1434
+ return (0, exports.AccessProfilesApiFp)(this.configuration).updateAccessProfilesMetadataByIdsV1(requestParameters.accessProfileMetadataBulkUpdateByIdRequest, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
1321
1435
  };
1322
1436
  /**
1323
1437
  * This API initiates a bulk update of Access Model Metadata for every access profile matching the supplied search query. The update is processed asynchronously. The response returns the ID of the task performing the update. A single access profile cannot be assigned more than 25 metadata values. Adding or replacing custom metadata requires a suite license.
@@ -1329,7 +1443,7 @@ var AccessProfilesApi = /** @class */ (function (_super) {
1329
1443
  */
1330
1444
  AccessProfilesApi.prototype.updateAccessProfilesMetadataByQueryV1 = function (requestParameters, axiosOptions) {
1331
1445
  var _this = this;
1332
- return (0, exports.AccessProfilesApiFp)(this.configuration).updateAccessProfilesMetadataByQueryV1(requestParameters.accessprofilemetadatabulkupdatebyqueryrequest, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
1446
+ return (0, exports.AccessProfilesApiFp)(this.configuration).updateAccessProfilesMetadataByQueryV1(requestParameters.accessProfileMetadataBulkUpdateByQueryRequest, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
1333
1447
  };
1334
1448
  /**
1335
1449
  * This API adds a single Access Model Metadata value to an access profile by attribute key and attribute value. A single access profile cannot be assigned more than 25 metadata values. Adding custom metadata requires a suite license.