sailpoint-api-client 1.8.42 → 1.8.52
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/beta/README.md +2 -2
- package/beta/api.ts +37 -5
- package/beta/common.ts +2 -2
- package/beta/package.json +1 -1
- package/dist/beta/api.d.ts +37 -5
- package/dist/beta/api.js +8 -0
- package/dist/beta/api.js.map +1 -1
- package/dist/beta/common.js +2 -2
- package/dist/nerm/common.js +2 -2
- package/dist/nermv2025/common.js +2 -2
- package/dist/v2024/api.d.ts +61 -46
- package/dist/v2024/api.js +38 -50
- package/dist/v2024/api.js.map +1 -1
- package/dist/v2024/common.js +2 -2
- package/dist/v2025/api.d.ts +236 -141
- package/dist/v2025/api.js +198 -87
- package/dist/v2025/api.js.map +1 -1
- package/dist/v2025/common.js +2 -2
- package/dist/v2026/api.d.ts +2229 -130
- package/dist/v2026/api.js +2142 -273
- package/dist/v2026/api.js.map +1 -1
- package/dist/v2026/common.js +2 -2
- package/dist/v3/common.js +2 -2
- package/nerm/README.md +2 -2
- package/nerm/common.ts +2 -2
- package/nerm/package.json +1 -1
- package/nermv2025/README.md +2 -2
- package/nermv2025/common.ts +2 -2
- package/nermv2025/package.json +1 -1
- package/package.json +1 -1
- package/v2024/README.md +2 -2
- package/v2024/api.ts +83 -76
- package/v2024/common.ts +2 -2
- package/v2024/package.json +1 -1
- package/v2025/README.md +2 -2
- package/v2025/api.ts +275 -177
- package/v2025/common.ts +2 -2
- package/v2025/package.json +1 -1
- package/v2026/README.md +2 -2
- package/v2026/api.ts +3121 -180
- package/v2026/common.ts +2 -2
- package/v2026/package.json +1 -1
- package/v3/README.md +2 -2
- package/v3/common.ts +2 -2
- package/v3/package.json +1 -1
package/dist/v2024/api.js
CHANGED
|
@@ -72798,21 +72798,25 @@ var SourcesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
72798
72798
|
/**
|
|
72799
72799
|
* This API gets the current entitlement request configuration for a source. This source-level configuration should apply for all the entitlements in the source. Access request to any entitlements in the source should follow this configuration unless a separate entitlement-level configuration is defined. - During access request, this source-level entitlement request configuration overrides the global organization-level configuration. - However, the entitlement-level configuration (if defined) overrides this source-level configuration.
|
|
72800
72800
|
* @summary Get source entitlement request configuration
|
|
72801
|
+
* @param {string} id The Source id
|
|
72801
72802
|
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
72802
72803
|
* @param {*} [axiosOptions] Override http request option.
|
|
72803
72804
|
* @throws {RequiredError}
|
|
72804
72805
|
*/
|
|
72805
|
-
getSourceEntitlementRequestConfig: function (xSailPointExperimental, axiosOptions) {
|
|
72806
|
+
getSourceEntitlementRequestConfig: function (id, xSailPointExperimental, axiosOptions) {
|
|
72806
72807
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
72807
72808
|
return __awaiter(_this, void 0, void 0, function () {
|
|
72808
72809
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
72809
72810
|
return __generator(this, function (_a) {
|
|
72810
72811
|
switch (_a.label) {
|
|
72811
72812
|
case 0:
|
|
72813
|
+
// verify required parameter 'id' is not null or undefined
|
|
72814
|
+
(0, common_1.assertParamExists)('getSourceEntitlementRequestConfig', 'id', id);
|
|
72812
72815
|
if (xSailPointExperimental === undefined) {
|
|
72813
72816
|
xSailPointExperimental = 'true';
|
|
72814
72817
|
}
|
|
72815
|
-
localVarPath = "/sources/{id}/entitlement-request-config"
|
|
72818
|
+
localVarPath = "/sources/{id}/entitlement-request-config"
|
|
72819
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
72816
72820
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
72817
72821
|
if (configuration) {
|
|
72818
72822
|
baseOptions = configuration.baseOptions;
|
|
@@ -74709,24 +74713,28 @@ var SourcesV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
74709
74713
|
/**
|
|
74710
74714
|
* This API replaces the current entitlement request configuration for a source. This source-level configuration should apply for all the entitlements in the source. Access request to any entitlements in the source should follow this configuration unless a separate entitlement-level configuration is defined. - During access request, this source-level entitlement request configuration overrides the global organization-level configuration. - However, the entitlement-level configuration (if defined) overrides this source-level configuration.
|
|
74711
74715
|
* @summary Update source entitlement request configuration
|
|
74716
|
+
* @param {string} id The Source id
|
|
74712
74717
|
* @param {SourceEntitlementRequestConfigV2024} sourceEntitlementRequestConfigV2024
|
|
74713
74718
|
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
74714
74719
|
* @param {*} [axiosOptions] Override http request option.
|
|
74715
74720
|
* @throws {RequiredError}
|
|
74716
74721
|
*/
|
|
74717
|
-
updateSourceEntitlementRequestConfig: function (sourceEntitlementRequestConfigV2024, xSailPointExperimental, axiosOptions) {
|
|
74722
|
+
updateSourceEntitlementRequestConfig: function (id, sourceEntitlementRequestConfigV2024, xSailPointExperimental, axiosOptions) {
|
|
74718
74723
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
74719
74724
|
return __awaiter(_this, void 0, void 0, function () {
|
|
74720
74725
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
74721
74726
|
return __generator(this, function (_a) {
|
|
74722
74727
|
switch (_a.label) {
|
|
74723
74728
|
case 0:
|
|
74729
|
+
// verify required parameter 'id' is not null or undefined
|
|
74730
|
+
(0, common_1.assertParamExists)('updateSourceEntitlementRequestConfig', 'id', id);
|
|
74724
74731
|
// verify required parameter 'sourceEntitlementRequestConfigV2024' is not null or undefined
|
|
74725
74732
|
(0, common_1.assertParamExists)('updateSourceEntitlementRequestConfig', 'sourceEntitlementRequestConfigV2024', sourceEntitlementRequestConfigV2024);
|
|
74726
74733
|
if (xSailPointExperimental === undefined) {
|
|
74727
74734
|
xSailPointExperimental = 'true';
|
|
74728
74735
|
}
|
|
74729
|
-
localVarPath = "/sources/{id}/entitlement-request-config"
|
|
74736
|
+
localVarPath = "/sources/{id}/entitlement-request-config"
|
|
74737
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
74730
74738
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
74731
74739
|
if (configuration) {
|
|
74732
74740
|
baseOptions = configuration.baseOptions;
|
|
@@ -75372,17 +75380,18 @@ var SourcesV2024ApiFp = function (configuration) {
|
|
|
75372
75380
|
/**
|
|
75373
75381
|
* This API gets the current entitlement request configuration for a source. This source-level configuration should apply for all the entitlements in the source. Access request to any entitlements in the source should follow this configuration unless a separate entitlement-level configuration is defined. - During access request, this source-level entitlement request configuration overrides the global organization-level configuration. - However, the entitlement-level configuration (if defined) overrides this source-level configuration.
|
|
75374
75382
|
* @summary Get source entitlement request configuration
|
|
75383
|
+
* @param {string} id The Source id
|
|
75375
75384
|
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
75376
75385
|
* @param {*} [axiosOptions] Override http request option.
|
|
75377
75386
|
* @throws {RequiredError}
|
|
75378
75387
|
*/
|
|
75379
|
-
getSourceEntitlementRequestConfig: function (xSailPointExperimental, axiosOptions) {
|
|
75388
|
+
getSourceEntitlementRequestConfig: function (id, xSailPointExperimental, axiosOptions) {
|
|
75380
75389
|
var _a, _b, _c;
|
|
75381
75390
|
return __awaiter(this, void 0, void 0, function () {
|
|
75382
75391
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
75383
75392
|
return __generator(this, function (_d) {
|
|
75384
75393
|
switch (_d.label) {
|
|
75385
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getSourceEntitlementRequestConfig(xSailPointExperimental, axiosOptions)];
|
|
75394
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getSourceEntitlementRequestConfig(id, xSailPointExperimental, axiosOptions)];
|
|
75386
75395
|
case 1:
|
|
75387
75396
|
localVarAxiosArgs = _d.sent();
|
|
75388
75397
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -76073,18 +76082,19 @@ var SourcesV2024ApiFp = function (configuration) {
|
|
|
76073
76082
|
/**
|
|
76074
76083
|
* This API replaces the current entitlement request configuration for a source. This source-level configuration should apply for all the entitlements in the source. Access request to any entitlements in the source should follow this configuration unless a separate entitlement-level configuration is defined. - During access request, this source-level entitlement request configuration overrides the global organization-level configuration. - However, the entitlement-level configuration (if defined) overrides this source-level configuration.
|
|
76075
76084
|
* @summary Update source entitlement request configuration
|
|
76085
|
+
* @param {string} id The Source id
|
|
76076
76086
|
* @param {SourceEntitlementRequestConfigV2024} sourceEntitlementRequestConfigV2024
|
|
76077
76087
|
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
76078
76088
|
* @param {*} [axiosOptions] Override http request option.
|
|
76079
76089
|
* @throws {RequiredError}
|
|
76080
76090
|
*/
|
|
76081
|
-
updateSourceEntitlementRequestConfig: function (sourceEntitlementRequestConfigV2024, xSailPointExperimental, axiosOptions) {
|
|
76091
|
+
updateSourceEntitlementRequestConfig: function (id, sourceEntitlementRequestConfigV2024, xSailPointExperimental, axiosOptions) {
|
|
76082
76092
|
var _a, _b, _c;
|
|
76083
76093
|
return __awaiter(this, void 0, void 0, function () {
|
|
76084
76094
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
76085
76095
|
return __generator(this, function (_d) {
|
|
76086
76096
|
switch (_d.label) {
|
|
76087
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateSourceEntitlementRequestConfig(sourceEntitlementRequestConfigV2024, xSailPointExperimental, axiosOptions)];
|
|
76097
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateSourceEntitlementRequestConfig(id, sourceEntitlementRequestConfigV2024, xSailPointExperimental, axiosOptions)];
|
|
76088
76098
|
case 1:
|
|
76089
76099
|
localVarAxiosArgs = _d.sent();
|
|
76090
76100
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -76352,8 +76362,7 @@ var SourcesV2024ApiFactory = function (configuration, basePath, axios) {
|
|
|
76352
76362
|
* @throws {RequiredError}
|
|
76353
76363
|
*/
|
|
76354
76364
|
getSourceEntitlementRequestConfig: function (requestParameters, axiosOptions) {
|
|
76355
|
-
|
|
76356
|
-
return localVarFp.getSourceEntitlementRequestConfig(requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
76365
|
+
return localVarFp.getSourceEntitlementRequestConfig(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
76357
76366
|
},
|
|
76358
76367
|
/**
|
|
76359
76368
|
* This endpoint fetches source health by source\'s id
|
|
@@ -76644,7 +76653,7 @@ var SourcesV2024ApiFactory = function (configuration, basePath, axios) {
|
|
|
76644
76653
|
* @throws {RequiredError}
|
|
76645
76654
|
*/
|
|
76646
76655
|
updateSourceEntitlementRequestConfig: function (requestParameters, axiosOptions) {
|
|
76647
|
-
return localVarFp.updateSourceEntitlementRequestConfig(requestParameters.sourceEntitlementRequestConfigV2024, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
76656
|
+
return localVarFp.updateSourceEntitlementRequestConfig(requestParameters.id, requestParameters.sourceEntitlementRequestConfigV2024, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
76648
76657
|
},
|
|
76649
76658
|
/**
|
|
76650
76659
|
* Use this API to selectively update an existing Schedule using a JSONPatch payload. The following schedule fields are immutable and cannot be updated: - type
|
|
@@ -76918,8 +76927,7 @@ var SourcesV2024Api = /** @class */ (function (_super) {
|
|
|
76918
76927
|
*/
|
|
76919
76928
|
SourcesV2024Api.prototype.getSourceEntitlementRequestConfig = function (requestParameters, axiosOptions) {
|
|
76920
76929
|
var _this = this;
|
|
76921
|
-
|
|
76922
|
-
return (0, exports.SourcesV2024ApiFp)(this.configuration).getSourceEntitlementRequestConfig(requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
76930
|
+
return (0, exports.SourcesV2024ApiFp)(this.configuration).getSourceEntitlementRequestConfig(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
76923
76931
|
};
|
|
76924
76932
|
/**
|
|
76925
76933
|
* This endpoint fetches source health by source\'s id
|
|
@@ -77268,7 +77276,7 @@ var SourcesV2024Api = /** @class */ (function (_super) {
|
|
|
77268
77276
|
*/
|
|
77269
77277
|
SourcesV2024Api.prototype.updateSourceEntitlementRequestConfig = function (requestParameters, axiosOptions) {
|
|
77270
77278
|
var _this = this;
|
|
77271
|
-
return (0, exports.SourcesV2024ApiFp)(this.configuration).updateSourceEntitlementRequestConfig(requestParameters.sourceEntitlementRequestConfigV2024, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
77279
|
+
return (0, exports.SourcesV2024ApiFp)(this.configuration).updateSourceEntitlementRequestConfig(requestParameters.id, requestParameters.sourceEntitlementRequestConfigV2024, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
77272
77280
|
};
|
|
77273
77281
|
/**
|
|
77274
77282
|
* Use this API to selectively update an existing Schedule using a JSONPatch payload. The following schedule fields are immutable and cannot be updated: - type
|
|
@@ -80514,22 +80522,18 @@ var TenantContextV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
80514
80522
|
var _this = this;
|
|
80515
80523
|
return {
|
|
80516
80524
|
/**
|
|
80517
|
-
* Returns
|
|
80525
|
+
* Returns all key-value pairs representing the current state of the tenant\'s context. Each tenant is limited to a maximum of 100 key-value pairs.
|
|
80518
80526
|
* @summary Retrieve tenant context
|
|
80519
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
80520
80527
|
* @param {*} [axiosOptions] Override http request option.
|
|
80521
80528
|
* @throws {RequiredError}
|
|
80522
80529
|
*/
|
|
80523
|
-
getTenantContext: function (
|
|
80530
|
+
getTenantContext: function (axiosOptions) {
|
|
80524
80531
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
80525
80532
|
return __awaiter(_this, void 0, void 0, function () {
|
|
80526
80533
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
80527
80534
|
return __generator(this, function (_a) {
|
|
80528
80535
|
switch (_a.label) {
|
|
80529
80536
|
case 0:
|
|
80530
|
-
if (xSailPointExperimental === undefined) {
|
|
80531
|
-
xSailPointExperimental = 'true';
|
|
80532
|
-
}
|
|
80533
80537
|
localVarPath = "/tenant-context";
|
|
80534
80538
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
80535
80539
|
if (configuration) {
|
|
@@ -80565,9 +80569,6 @@ var TenantContextV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
80565
80569
|
// authentication applicationAuth required
|
|
80566
80570
|
// oauth required
|
|
80567
80571
|
_a.sent();
|
|
80568
|
-
if (xSailPointExperimental != null) {
|
|
80569
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
80570
|
-
}
|
|
80571
80572
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
80572
80573
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
80573
80574
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -80583,11 +80584,10 @@ var TenantContextV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
80583
80584
|
* Allows the user to make incremental updates to tenant context records using [JSON Patch](https://tools.ietf.org/html/rfc6902) syntax. This endpoint is specifically designed to modify the `/Key/_*` field, supporting operations such as `add`, `remove`, or `replace` to manage key-value pairs. Note that each tenant is limited to a maximum of 100 key-value pairs.
|
|
80584
80585
|
* @summary Update tenant context
|
|
80585
80586
|
* @param {JsonPatchOperationV2024} jsonPatchOperationV2024
|
|
80586
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
80587
80587
|
* @param {*} [axiosOptions] Override http request option.
|
|
80588
80588
|
* @throws {RequiredError}
|
|
80589
80589
|
*/
|
|
80590
|
-
patchTenantContext: function (jsonPatchOperationV2024,
|
|
80590
|
+
patchTenantContext: function (jsonPatchOperationV2024, axiosOptions) {
|
|
80591
80591
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
80592
80592
|
return __awaiter(_this, void 0, void 0, function () {
|
|
80593
80593
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -80596,9 +80596,6 @@ var TenantContextV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
80596
80596
|
case 0:
|
|
80597
80597
|
// verify required parameter 'jsonPatchOperationV2024' is not null or undefined
|
|
80598
80598
|
(0, common_1.assertParamExists)('patchTenantContext', 'jsonPatchOperationV2024', jsonPatchOperationV2024);
|
|
80599
|
-
if (xSailPointExperimental === undefined) {
|
|
80600
|
-
xSailPointExperimental = 'true';
|
|
80601
|
-
}
|
|
80602
80599
|
localVarPath = "/tenant-context";
|
|
80603
80600
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
80604
80601
|
if (configuration) {
|
|
@@ -80635,9 +80632,6 @@ var TenantContextV2024ApiAxiosParamCreator = function (configuration) {
|
|
|
80635
80632
|
// oauth required
|
|
80636
80633
|
_a.sent();
|
|
80637
80634
|
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
80638
|
-
if (xSailPointExperimental != null) {
|
|
80639
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
80640
|
-
}
|
|
80641
80635
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
80642
80636
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
80643
80637
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -80661,19 +80655,18 @@ var TenantContextV2024ApiFp = function (configuration) {
|
|
|
80661
80655
|
var localVarAxiosParamCreator = (0, exports.TenantContextV2024ApiAxiosParamCreator)(configuration);
|
|
80662
80656
|
return {
|
|
80663
80657
|
/**
|
|
80664
|
-
* Returns
|
|
80658
|
+
* Returns all key-value pairs representing the current state of the tenant\'s context. Each tenant is limited to a maximum of 100 key-value pairs.
|
|
80665
80659
|
* @summary Retrieve tenant context
|
|
80666
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
80667
80660
|
* @param {*} [axiosOptions] Override http request option.
|
|
80668
80661
|
* @throws {RequiredError}
|
|
80669
80662
|
*/
|
|
80670
|
-
getTenantContext: function (
|
|
80663
|
+
getTenantContext: function (axiosOptions) {
|
|
80671
80664
|
var _a, _b, _c;
|
|
80672
80665
|
return __awaiter(this, void 0, void 0, function () {
|
|
80673
80666
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
80674
80667
|
return __generator(this, function (_d) {
|
|
80675
80668
|
switch (_d.label) {
|
|
80676
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getTenantContext(
|
|
80669
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getTenantContext(axiosOptions)];
|
|
80677
80670
|
case 1:
|
|
80678
80671
|
localVarAxiosArgs = _d.sent();
|
|
80679
80672
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -80687,17 +80680,16 @@ var TenantContextV2024ApiFp = function (configuration) {
|
|
|
80687
80680
|
* Allows the user to make incremental updates to tenant context records using [JSON Patch](https://tools.ietf.org/html/rfc6902) syntax. This endpoint is specifically designed to modify the `/Key/_*` field, supporting operations such as `add`, `remove`, or `replace` to manage key-value pairs. Note that each tenant is limited to a maximum of 100 key-value pairs.
|
|
80688
80681
|
* @summary Update tenant context
|
|
80689
80682
|
* @param {JsonPatchOperationV2024} jsonPatchOperationV2024
|
|
80690
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
80691
80683
|
* @param {*} [axiosOptions] Override http request option.
|
|
80692
80684
|
* @throws {RequiredError}
|
|
80693
80685
|
*/
|
|
80694
|
-
patchTenantContext: function (jsonPatchOperationV2024,
|
|
80686
|
+
patchTenantContext: function (jsonPatchOperationV2024, axiosOptions) {
|
|
80695
80687
|
var _a, _b, _c;
|
|
80696
80688
|
return __awaiter(this, void 0, void 0, function () {
|
|
80697
80689
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
80698
80690
|
return __generator(this, function (_d) {
|
|
80699
80691
|
switch (_d.label) {
|
|
80700
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchTenantContext(jsonPatchOperationV2024,
|
|
80692
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchTenantContext(jsonPatchOperationV2024, axiosOptions)];
|
|
80701
80693
|
case 1:
|
|
80702
80694
|
localVarAxiosArgs = _d.sent();
|
|
80703
80695
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -80718,15 +80710,13 @@ var TenantContextV2024ApiFactory = function (configuration, basePath, axios) {
|
|
|
80718
80710
|
var localVarFp = (0, exports.TenantContextV2024ApiFp)(configuration);
|
|
80719
80711
|
return {
|
|
80720
80712
|
/**
|
|
80721
|
-
* Returns
|
|
80713
|
+
* Returns all key-value pairs representing the current state of the tenant\'s context. Each tenant is limited to a maximum of 100 key-value pairs.
|
|
80722
80714
|
* @summary Retrieve tenant context
|
|
80723
|
-
* @param {TenantContextV2024ApiGetTenantContextRequest} requestParameters Request parameters.
|
|
80724
80715
|
* @param {*} [axiosOptions] Override http request option.
|
|
80725
80716
|
* @throws {RequiredError}
|
|
80726
80717
|
*/
|
|
80727
|
-
getTenantContext: function (
|
|
80728
|
-
|
|
80729
|
-
return localVarFp.getTenantContext(requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
80718
|
+
getTenantContext: function (axiosOptions) {
|
|
80719
|
+
return localVarFp.getTenantContext(axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
80730
80720
|
},
|
|
80731
80721
|
/**
|
|
80732
80722
|
* Allows the user to make incremental updates to tenant context records using [JSON Patch](https://tools.ietf.org/html/rfc6902) syntax. This endpoint is specifically designed to modify the `/Key/_*` field, supporting operations such as `add`, `remove`, or `replace` to manage key-value pairs. Note that each tenant is limited to a maximum of 100 key-value pairs.
|
|
@@ -80736,7 +80726,7 @@ var TenantContextV2024ApiFactory = function (configuration, basePath, axios) {
|
|
|
80736
80726
|
* @throws {RequiredError}
|
|
80737
80727
|
*/
|
|
80738
80728
|
patchTenantContext: function (requestParameters, axiosOptions) {
|
|
80739
|
-
return localVarFp.patchTenantContext(requestParameters.jsonPatchOperationV2024,
|
|
80729
|
+
return localVarFp.patchTenantContext(requestParameters.jsonPatchOperationV2024, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
80740
80730
|
},
|
|
80741
80731
|
};
|
|
80742
80732
|
};
|
|
@@ -80753,17 +80743,15 @@ var TenantContextV2024Api = /** @class */ (function (_super) {
|
|
|
80753
80743
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
80754
80744
|
}
|
|
80755
80745
|
/**
|
|
80756
|
-
* Returns
|
|
80746
|
+
* Returns all key-value pairs representing the current state of the tenant\'s context. Each tenant is limited to a maximum of 100 key-value pairs.
|
|
80757
80747
|
* @summary Retrieve tenant context
|
|
80758
|
-
* @param {TenantContextV2024ApiGetTenantContextRequest} requestParameters Request parameters.
|
|
80759
80748
|
* @param {*} [axiosOptions] Override http request option.
|
|
80760
80749
|
* @throws {RequiredError}
|
|
80761
80750
|
* @memberof TenantContextV2024Api
|
|
80762
80751
|
*/
|
|
80763
|
-
TenantContextV2024Api.prototype.getTenantContext = function (
|
|
80752
|
+
TenantContextV2024Api.prototype.getTenantContext = function (axiosOptions) {
|
|
80764
80753
|
var _this = this;
|
|
80765
|
-
|
|
80766
|
-
return (0, exports.TenantContextV2024ApiFp)(this.configuration).getTenantContext(requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
80754
|
+
return (0, exports.TenantContextV2024ApiFp)(this.configuration).getTenantContext(axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
80767
80755
|
};
|
|
80768
80756
|
/**
|
|
80769
80757
|
* Allows the user to make incremental updates to tenant context records using [JSON Patch](https://tools.ietf.org/html/rfc6902) syntax. This endpoint is specifically designed to modify the `/Key/_*` field, supporting operations such as `add`, `remove`, or `replace` to manage key-value pairs. Note that each tenant is limited to a maximum of 100 key-value pairs.
|
|
@@ -80775,7 +80763,7 @@ var TenantContextV2024Api = /** @class */ (function (_super) {
|
|
|
80775
80763
|
*/
|
|
80776
80764
|
TenantContextV2024Api.prototype.patchTenantContext = function (requestParameters, axiosOptions) {
|
|
80777
80765
|
var _this = this;
|
|
80778
|
-
return (0, exports.TenantContextV2024ApiFp)(this.configuration).patchTenantContext(requestParameters.jsonPatchOperationV2024,
|
|
80766
|
+
return (0, exports.TenantContextV2024ApiFp)(this.configuration).patchTenantContext(requestParameters.jsonPatchOperationV2024, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
80779
80767
|
};
|
|
80780
80768
|
return TenantContextV2024Api;
|
|
80781
80769
|
}(base_1.BaseAPI));
|