sailpoint-api-client 1.8.21 → 1.8.23
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/common.ts +2 -2
- package/beta/package.json +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/common.js +2 -2
- package/dist/v2025/common.js +2 -2
- package/dist/v2026/api.d.ts +248 -0
- package/dist/v2026/api.js +288 -16
- 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/common.ts +2 -2
- package/v2024/package.json +1 -1
- package/v2025/README.md +2 -2
- package/v2025/common.ts +2 -2
- package/v2025/package.json +1 -1
- package/v2026/README.md +2 -2
- package/v2026/api.ts +362 -0
- 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/v2026/common.js
CHANGED
|
@@ -250,12 +250,12 @@ var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configu
|
|
|
250
250
|
if (axios === void 0) { axios = globalAxios; }
|
|
251
251
|
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
252
252
|
(0, axios_retry_1.default)(axios, configuration.retriesConfig);
|
|
253
|
-
var userAgent = "SailPoint-SDK-TypeScript/1.8.
|
|
253
|
+
var userAgent = "SailPoint-SDK-TypeScript/1.8.23";
|
|
254
254
|
if ((configuration === null || configuration === void 0 ? void 0 : configuration.consumerIdentifier) && (configuration === null || configuration === void 0 ? void 0 : configuration.consumerVersion)) {
|
|
255
255
|
userAgent += " (".concat(configuration.consumerIdentifier, "/").concat(configuration.consumerVersion, ")");
|
|
256
256
|
}
|
|
257
257
|
userAgent += " (".concat(process.platform, "; ").concat(process.arch, ") Node/").concat(process.versions.node, " (openapi-generator/7.12.0)");
|
|
258
|
-
var headers = __assign(__assign(__assign({}, axiosArgs.axiosOptions.headers), { 'X-SailPoint-SDK': 'typescript-1.8.
|
|
258
|
+
var headers = __assign(__assign(__assign({}, axiosArgs.axiosOptions.headers), { 'X-SailPoint-SDK': 'typescript-1.8.23' }), { 'User-Agent': userAgent });
|
|
259
259
|
if (!configuration.experimental && ("X-SailPoint-Experimental" in headers)) {
|
|
260
260
|
throw new Error("You are using Experimental APIs. Set configuration.experimental = True to enable these APIs in the SDK.");
|
|
261
261
|
}
|
package/dist/v3/common.js
CHANGED
|
@@ -250,12 +250,12 @@ var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configu
|
|
|
250
250
|
if (axios === void 0) { axios = globalAxios; }
|
|
251
251
|
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
252
252
|
(0, axios_retry_1.default)(axios, configuration.retriesConfig);
|
|
253
|
-
var userAgent = "SailPoint-SDK-TypeScript/1.8.
|
|
253
|
+
var userAgent = "SailPoint-SDK-TypeScript/1.8.23";
|
|
254
254
|
if ((configuration === null || configuration === void 0 ? void 0 : configuration.consumerIdentifier) && (configuration === null || configuration === void 0 ? void 0 : configuration.consumerVersion)) {
|
|
255
255
|
userAgent += " (".concat(configuration.consumerIdentifier, "/").concat(configuration.consumerVersion, ")");
|
|
256
256
|
}
|
|
257
257
|
userAgent += " (".concat(process.platform, "; ").concat(process.arch, ") Node/").concat(process.versions.node, " (openapi-generator/7.12.0)");
|
|
258
|
-
var headers = __assign(__assign(__assign({}, axiosArgs.axiosOptions.headers), { 'X-SailPoint-SDK': 'typescript-1.8.
|
|
258
|
+
var headers = __assign(__assign(__assign({}, axiosArgs.axiosOptions.headers), { 'X-SailPoint-SDK': 'typescript-1.8.23' }), { 'User-Agent': userAgent });
|
|
259
259
|
if (!configuration.experimental && ("X-SailPoint-Experimental" in headers)) {
|
|
260
260
|
throw new Error("You are using Experimental APIs. Set configuration.experimental = True to enable these APIs in the SDK.");
|
|
261
261
|
}
|
package/nerm/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## sailpoint-nerm-sdk@1.8.
|
|
1
|
+
## sailpoint-nerm-sdk@1.8.23
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install sailpoint-nerm-sdk@1.8.
|
|
39
|
+
npm install sailpoint-nerm-sdk@1.8.23 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/nerm/common.ts
CHANGED
|
@@ -146,7 +146,7 @@ export const toPathString = function (url: URL) {
|
|
|
146
146
|
export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {
|
|
147
147
|
return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
148
148
|
axiosRetry(axios, configuration.retriesConfig)
|
|
149
|
-
let userAgent = `SailPoint-SDK-TypeScript/1.8.
|
|
149
|
+
let userAgent = `SailPoint-SDK-TypeScript/1.8.23`;
|
|
150
150
|
if (configuration?.consumerIdentifier && configuration?.consumerVersion) {
|
|
151
151
|
userAgent += ` (${configuration.consumerIdentifier}/${configuration.consumerVersion})`;
|
|
152
152
|
}
|
|
@@ -154,7 +154,7 @@ export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxi
|
|
|
154
154
|
const headers = {
|
|
155
155
|
...{'Accept': 'application/json'},
|
|
156
156
|
...axiosArgs.axiosOptions.headers,
|
|
157
|
-
...{'X-SailPoint-SDK':'typescript-1.8.
|
|
157
|
+
...{'X-SailPoint-SDK':'typescript-1.8.23'},
|
|
158
158
|
...{'User-Agent': userAgent},
|
|
159
159
|
}
|
|
160
160
|
|
package/nerm/package.json
CHANGED
package/nermv2025/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## sailpoint-nerm-sdk@1.8.
|
|
1
|
+
## sailpoint-nerm-sdk@1.8.23
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install sailpoint-nerm-sdk@1.8.
|
|
39
|
+
npm install sailpoint-nerm-sdk@1.8.23 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/nermv2025/common.ts
CHANGED
|
@@ -146,7 +146,7 @@ export const toPathString = function (url: URL) {
|
|
|
146
146
|
export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {
|
|
147
147
|
return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
148
148
|
axiosRetry(axios, configuration.retriesConfig)
|
|
149
|
-
let userAgent = `SailPoint-SDK-TypeScript/1.8.
|
|
149
|
+
let userAgent = `SailPoint-SDK-TypeScript/1.8.23`;
|
|
150
150
|
if (configuration?.consumerIdentifier && configuration?.consumerVersion) {
|
|
151
151
|
userAgent += ` (${configuration.consumerIdentifier}/${configuration.consumerVersion})`;
|
|
152
152
|
}
|
|
@@ -154,7 +154,7 @@ export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxi
|
|
|
154
154
|
const headers = {
|
|
155
155
|
...{'Accept': 'application/json'},
|
|
156
156
|
...axiosArgs.axiosOptions.headers,
|
|
157
|
-
...{'X-SailPoint-SDK':'typescript-1.8.
|
|
157
|
+
...{'X-SailPoint-SDK':'typescript-1.8.23'},
|
|
158
158
|
...{'User-Agent': userAgent},
|
|
159
159
|
}
|
|
160
160
|
|
package/nermv2025/package.json
CHANGED
package/package.json
CHANGED
package/v2024/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## sailpoint-sdk@1.8.
|
|
1
|
+
## sailpoint-sdk@1.8.23
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install sailpoint-sdk@1.8.
|
|
39
|
+
npm install sailpoint-sdk@1.8.23 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/v2024/common.ts
CHANGED
|
@@ -146,14 +146,14 @@ export const toPathString = function (url: URL) {
|
|
|
146
146
|
export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {
|
|
147
147
|
return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
148
148
|
axiosRetry(axios, configuration.retriesConfig)
|
|
149
|
-
let userAgent = `SailPoint-SDK-TypeScript/1.8.
|
|
149
|
+
let userAgent = `SailPoint-SDK-TypeScript/1.8.23`;
|
|
150
150
|
if (configuration?.consumerIdentifier && configuration?.consumerVersion) {
|
|
151
151
|
userAgent += ` (${configuration.consumerIdentifier}/${configuration.consumerVersion})`;
|
|
152
152
|
}
|
|
153
153
|
userAgent += ` (${process.platform}; ${process.arch}) Node/${process.versions.node} (openapi-generator/7.12.0)`;
|
|
154
154
|
const headers = {
|
|
155
155
|
...axiosArgs.axiosOptions.headers,
|
|
156
|
-
...{'X-SailPoint-SDK':'typescript-1.8.
|
|
156
|
+
...{'X-SailPoint-SDK':'typescript-1.8.23'},
|
|
157
157
|
...{'User-Agent': userAgent},
|
|
158
158
|
}
|
|
159
159
|
|
package/v2024/package.json
CHANGED
package/v2025/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## sailpoint-sdk@1.8.
|
|
1
|
+
## sailpoint-sdk@1.8.23
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install sailpoint-sdk@1.8.
|
|
39
|
+
npm install sailpoint-sdk@1.8.23 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/v2025/common.ts
CHANGED
|
@@ -146,14 +146,14 @@ export const toPathString = function (url: URL) {
|
|
|
146
146
|
export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {
|
|
147
147
|
return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
148
148
|
axiosRetry(axios, configuration.retriesConfig)
|
|
149
|
-
let userAgent = `SailPoint-SDK-TypeScript/1.8.
|
|
149
|
+
let userAgent = `SailPoint-SDK-TypeScript/1.8.23`;
|
|
150
150
|
if (configuration?.consumerIdentifier && configuration?.consumerVersion) {
|
|
151
151
|
userAgent += ` (${configuration.consumerIdentifier}/${configuration.consumerVersion})`;
|
|
152
152
|
}
|
|
153
153
|
userAgent += ` (${process.platform}; ${process.arch}) Node/${process.versions.node} (openapi-generator/7.12.0)`;
|
|
154
154
|
const headers = {
|
|
155
155
|
...axiosArgs.axiosOptions.headers,
|
|
156
|
-
...{'X-SailPoint-SDK':'typescript-1.8.
|
|
156
|
+
...{'X-SailPoint-SDK':'typescript-1.8.23'},
|
|
157
157
|
...{'User-Agent': userAgent},
|
|
158
158
|
}
|
|
159
159
|
|
package/v2025/package.json
CHANGED
package/v2026/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## sailpoint-sdk@1.8.
|
|
1
|
+
## sailpoint-sdk@1.8.23
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install sailpoint-sdk@1.8.
|
|
39
|
+
npm install sailpoint-sdk@1.8.23 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/v2026/api.ts
CHANGED
|
@@ -10205,6 +10205,7 @@ export const AuthUserV2026CapabilitiesV2026 = {
|
|
|
10205
10205
|
CloudGovUser: 'CLOUD_GOV_USER',
|
|
10206
10206
|
Helpdesk: 'HELPDESK',
|
|
10207
10207
|
OrgAdmin: 'ORG_ADMIN',
|
|
10208
|
+
PolicyAdmin: 'POLICY_ADMIN',
|
|
10208
10209
|
ReportAdmin: 'REPORT_ADMIN',
|
|
10209
10210
|
RoleAdmin: 'ROLE_ADMIN',
|
|
10210
10211
|
RoleSubadmin: 'ROLE_SUBADMIN',
|
|
@@ -26248,6 +26249,67 @@ export interface InvocationV2026 {
|
|
|
26248
26249
|
*/
|
|
26249
26250
|
'contentJson'?: object;
|
|
26250
26251
|
}
|
|
26252
|
+
/**
|
|
26253
|
+
*
|
|
26254
|
+
* @export
|
|
26255
|
+
* @interface JITActivationConfigResponseV2026
|
|
26256
|
+
*/
|
|
26257
|
+
export interface JITActivationConfigResponseV2026 {
|
|
26258
|
+
/**
|
|
26259
|
+
* Unique identifier of this JIT activation configuration instance (persisted config id).
|
|
26260
|
+
* @type {string}
|
|
26261
|
+
* @memberof JITActivationConfigResponseV2026
|
|
26262
|
+
*/
|
|
26263
|
+
'id': string;
|
|
26264
|
+
/**
|
|
26265
|
+
* Entitlement IDs governed by JIT activation policy. May be a single-element array when only one entitlement is in scope.
|
|
26266
|
+
* @type {Array<string>}
|
|
26267
|
+
* @memberof JITActivationConfigResponseV2026
|
|
26268
|
+
*/
|
|
26269
|
+
'entitlementIds'?: Array<string>;
|
|
26270
|
+
/**
|
|
26271
|
+
* Maximum allowed JIT activation duration for a single grant, in minutes; null if unset.
|
|
26272
|
+
* @type {number}
|
|
26273
|
+
* @memberof JITActivationConfigResponseV2026
|
|
26274
|
+
*/
|
|
26275
|
+
'maxActivationPeriodMins'?: number | null;
|
|
26276
|
+
/**
|
|
26277
|
+
* Maximum allowed extension of an active JIT activation, in minutes; null if unset.
|
|
26278
|
+
* @type {number}
|
|
26279
|
+
* @memberof JITActivationConfigResponseV2026
|
|
26280
|
+
*/
|
|
26281
|
+
'maxActivationPeriodExtensionMins'?: number | null;
|
|
26282
|
+
/**
|
|
26283
|
+
* Default activation duration offered when a user requests JIT access, in minutes; null if unset.
|
|
26284
|
+
* @type {number}
|
|
26285
|
+
* @memberof JITActivationConfigResponseV2026
|
|
26286
|
+
*/
|
|
26287
|
+
'defaultMaxActivationPeriodMins'?: number | null;
|
|
26288
|
+
/**
|
|
26289
|
+
* Default extension duration offered for an active JIT activation, in minutes; null if unset.
|
|
26290
|
+
* @type {number}
|
|
26291
|
+
* @memberof JITActivationConfigResponseV2026
|
|
26292
|
+
*/
|
|
26293
|
+
'defaultMaxActivationPeriodExtensionMins'?: number | null;
|
|
26294
|
+
/**
|
|
26295
|
+
* Email addresses notified for JIT activation events (for example policy owners or a shared mailbox).
|
|
26296
|
+
* @type {Array<string>}
|
|
26297
|
+
* @memberof JITActivationConfigResponseV2026
|
|
26298
|
+
*/
|
|
26299
|
+
'notificationRecipients'?: Array<string>;
|
|
26300
|
+
/**
|
|
26301
|
+
* Name or key of the email template used for JIT activation notifications; null if unset.
|
|
26302
|
+
* @type {string}
|
|
26303
|
+
* @memberof JITActivationConfigResponseV2026
|
|
26304
|
+
*/
|
|
26305
|
+
'notificationTemplate'?: string | null;
|
|
26306
|
+
/**
|
|
26307
|
+
* Whether the policy applies to future entitlement assignments.
|
|
26308
|
+
* @type {boolean}
|
|
26309
|
+
* @memberof JITActivationConfigResponseV2026
|
|
26310
|
+
*/
|
|
26311
|
+
'applyToFutureAssignments': boolean;
|
|
26312
|
+
}
|
|
26251
26313
|
/**
|
|
26252
26314
|
*
|
|
26253
26315
|
* @export
|
|
@@ -26329,6 +26391,57 @@ export interface JWKV2026 {
|
|
|
26329
26391
|
*/
|
|
26330
26392
|
'use'?: string;
|
|
26331
26393
|
}
|
|
26394
|
+
/**
|
|
26395
|
+
* A single replace operation applied to JIT activation configuration. Only **replace** is supported. **path** must be one of the allowed JSON Pointer-style paths.
|
|
26396
|
+
* @export
|
|
26397
|
+
* @interface JitAccessOperationRequestV2026
|
|
26398
|
+
*/
|
|
26399
|
+
export interface JitAccessOperationRequestV2026 {
|
|
26400
|
+
/**
|
|
26401
|
+
* Operation type. Defaults to `replace` if omitted.
|
|
26402
|
+
* @type {string}
|
|
26403
|
+
* @memberof JitAccessOperationRequestV2026
|
|
26404
|
+
*/
|
|
26405
|
+
'op'?: JitAccessOperationRequestV2026OpV2026;
|
|
26406
|
+
/**
|
|
26407
|
+
* Path to replace. Only the following JSON Pointer-style paths are supported.
|
|
26408
|
+
* @type {string}
|
|
26409
|
+
* @memberof JitAccessOperationRequestV2026
|
|
26410
|
+
*/
|
|
26411
|
+
'path': JitAccessOperationRequestV2026PathV2026;
|
|
26412
|
+
/**
|
|
26413
|
+
*
|
|
26414
|
+
* @type {JitAccessOperationRequestValueV2026}
|
|
26415
|
+
* @memberof JitAccessOperationRequestV2026
|
|
26416
|
+
*/
|
|
26417
|
+
'value': JitAccessOperationRequestValueV2026 | null;
|
|
26418
|
+
}
|
|
26419
|
+
|
|
26420
|
+
export const JitAccessOperationRequestV2026OpV2026 = {
|
|
26421
|
+
Replace: 'replace'
|
|
26422
|
+
} as const;
|
|
26423
|
+
|
|
26424
|
+
export type JitAccessOperationRequestV2026OpV2026 = typeof JitAccessOperationRequestV2026OpV2026[keyof typeof JitAccessOperationRequestV2026OpV2026];
|
|
26425
|
+
export const JitAccessOperationRequestV2026PathV2026 = {
|
|
26426
|
+
EntitlementIds: '/entitlementIds',
|
|
26427
|
+
MaxActivationPeriodMins: '/maxActivationPeriodMins',
|
|
26428
|
+
MaxActivationPeriodExtensionMins: '/maxActivationPeriodExtensionMins',
|
|
26429
|
+
DefaultMaxActivationPeriodMins: '/defaultMaxActivationPeriodMins',
|
|
26430
|
+
DefaultMaxActivationPeriodExtensionMins: '/defaultMaxActivationPeriodExtensionMins',
|
|
26431
|
+
NotificationRecipients: '/notificationRecipients',
|
|
26432
|
+
NotificationTemplate: '/notificationTemplate',
|
|
26433
|
+
ApplyToFutureAssignments: '/applyToFutureAssignments'
|
|
26434
|
+
} as const;
|
|
26435
|
+
|
|
26436
|
+
export type JitAccessOperationRequestV2026PathV2026 = typeof JitAccessOperationRequestV2026PathV2026[keyof typeof JitAccessOperationRequestV2026PathV2026];
|
|
26437
|
+
|
|
26438
|
+
/**
|
|
26439
|
+
* @type JitAccessOperationRequestValueV2026
|
|
26440
|
+
* New value. Type depends on **path**: arrays of strings for `/entitlementIds` and `/notificationRecipients`, integer for `*Mins` paths, string for `/notificationTemplate`, boolean for `/applyToFutureAssignments`. Use `null` when clearing nullable fields (for example `/notificationTemplate` or `*Mins` paths).
|
|
26441
|
+
* @export
|
|
26442
|
+
*/
|
|
26443
|
+
export type JitAccessOperationRequestValueV2026 = Array<string> | boolean | number | string;
|
|
26444
|
+
|
|
26332
26445
|
/**
|
|
26333
26446
|
* A JSONPatch Operation for Role Mining endpoints, supporting only remove and replace operations as defined by [RFC 6902 - JSON Patch](https://tools.ietf.org/html/rfc6902)
|
|
26334
26447
|
* @export
|
|
@@ -101641,6 +101754,255 @@ export class IdentityProfilesV2026Api extends BaseAPI {
|
|
|
101641
101754
|
|
|
101642
101755
|
|
|
101643
101756
|
|
|
101757
|
+
/**
|
|
101758
|
+
* JITAccessV2026Api - axios parameter creator
|
|
101759
|
+
* @export
|
|
101760
|
+
*/
|
|
101761
|
+
export const JITAccessV2026ApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
101762
|
+
return {
|
|
101763
|
+
/**
|
|
101764
|
+
* Returns the tenant\'s current JIT activation policy configuration, including governed entitlement IDs, activation and extension time limits, default periods, notification settings, and whether the policy applies to future assignments. The tenant comes from the authenticated request context (not the URL). Use **configType** to select which configuration to read. Returns **404** if that configuration has not been stored yet. **User level:** POLICY_ADMIN (policy administrator).
|
|
101765
|
+
* @summary Get JIT activation policy configuration
|
|
101766
|
+
* @param {GetJitActivationConfigConfigTypeV2026} configType Configuration kind to read. Only **policy** (JIT activation policy) is supported today.
|
|
101767
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
101768
|
+
* @throws {RequiredError}
|
|
101769
|
+
*/
|
|
101770
|
+
getJitActivationConfig: async (configType: GetJitActivationConfigConfigTypeV2026, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
101771
|
+
// verify required parameter 'configType' is not null or undefined
|
|
101772
|
+
assertParamExists('getJitActivationConfig', 'configType', configType)
|
|
101773
|
+
const localVarPath = `/jit-activation-config/{configType}`
|
|
101774
|
+
.replace(`{${"configType"}}`, encodeURIComponent(String(configType)));
|
|
101775
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
101776
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
101777
|
+
let baseOptions;
|
|
101778
|
+
if (configuration) {
|
|
101779
|
+
baseOptions = configuration.baseOptions;
|
|
101780
|
+
}
|
|
101781
|
+
|
|
101782
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
|
|
101783
|
+
const localVarHeaderParameter = {} as any;
|
|
101784
|
+
const localVarQueryParameter = {} as any;
|
|
101785
|
+
|
|
101786
|
+
// authentication userAuth required
|
|
101787
|
+
// oauth required
|
|
101788
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
101789
|
+
|
|
101790
|
+
// authentication userAuth required
|
|
101791
|
+
// oauth required
|
|
101792
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
101793
|
+
|
|
101794
|
+
|
|
101795
|
+
|
|
101796
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
101797
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
101798
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
101799
|
+
|
|
101800
|
+
return {
|
|
101801
|
+
url: toPathString(localVarUrlObj),
|
|
101802
|
+
axiosOptions: localVarRequestOptions,
|
|
101803
|
+
};
|
|
101804
|
+
},
|
|
101805
|
+
/**
|
|
101806
|
+
* Updates the tenant\'s JIT activation policy configuration by applying one or more **replace** operations (same shape as JSON Patch: **op**, **path**, **value**). Use this to change entitlement lists, max/default activation and extension durations, notification recipients or template, and the apply-to-future-assignments flag. The body must be a non-empty array. Only **replace** is supported; each **path** must be one of the values documented on the request item schema. The tenant is taken from the request context. **configType** selects which configuration to update. Returns **404** if the configuration does not exist, or **400** for an empty body, unknown **configType**, or invalid path/value. **User level:** POLICY_ADMIN (policy administrator).
|
|
101807
|
+
* @summary Update JIT activation policy configuration
|
|
101808
|
+
* @param {PatchJitActivationConfigConfigTypeV2026} configType Configuration kind to update. Only **policy** (JIT activation policy) is supported today.
|
|
101809
|
+
* @param {Array<JitAccessOperationRequestV2026>} jitAccessOperationRequestV2026
|
|
101810
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
101811
|
+
* @throws {RequiredError}
|
|
101812
|
+
*/
|
|
101813
|
+
patchJitActivationConfig: async (configType: PatchJitActivationConfigConfigTypeV2026, jitAccessOperationRequestV2026: Array<JitAccessOperationRequestV2026>, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
101814
|
+
// verify required parameter 'configType' is not null or undefined
|
|
101815
|
+
assertParamExists('patchJitActivationConfig', 'configType', configType)
|
|
101816
|
+
// verify required parameter 'jitAccessOperationRequestV2026' is not null or undefined
|
|
101817
|
+
assertParamExists('patchJitActivationConfig', 'jitAccessOperationRequestV2026', jitAccessOperationRequestV2026)
|
|
101818
|
+
const localVarPath = `/jit-activation-config/{configType}`
|
|
101819
|
+
.replace(`{${"configType"}}`, encodeURIComponent(String(configType)));
|
|
101820
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
101821
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
101822
|
+
let baseOptions;
|
|
101823
|
+
if (configuration) {
|
|
101824
|
+
baseOptions = configuration.baseOptions;
|
|
101825
|
+
}
|
|
101826
|
+
|
|
101827
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...axiosOptions};
|
|
101828
|
+
const localVarHeaderParameter = {} as any;
|
|
101829
|
+
const localVarQueryParameter = {} as any;
|
|
101830
|
+
|
|
101831
|
+
// authentication userAuth required
|
|
101832
|
+
// oauth required
|
|
101833
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
101834
|
+
|
|
101835
|
+
// authentication userAuth required
|
|
101836
|
+
// oauth required
|
|
101837
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
101838
|
+
|
|
101839
|
+
|
|
101840
|
+
|
|
101841
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
101842
|
+
|
|
101843
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
101844
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
101845
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
101846
|
+
localVarRequestOptions.data = serializeDataIfNeeded(jitAccessOperationRequestV2026, localVarRequestOptions, configuration)
|
|
101847
|
+
|
|
101848
|
+
return {
|
|
101849
|
+
url: toPathString(localVarUrlObj),
|
|
101850
|
+
axiosOptions: localVarRequestOptions,
|
|
101851
|
+
};
|
|
101852
|
+
},
|
|
101853
|
+
}
|
|
101854
|
+
};
|
|
101855
|
+
|
|
101856
|
+
/**
|
|
101857
|
+
* JITAccessV2026Api - functional programming interface
|
|
101858
|
+
* @export
|
|
101859
|
+
*/
|
|
101860
|
+
export const JITAccessV2026ApiFp = function(configuration?: Configuration) {
|
|
101861
|
+
const localVarAxiosParamCreator = JITAccessV2026ApiAxiosParamCreator(configuration)
|
|
101862
|
+
return {
|
|
101863
|
+
/**
|
|
101864
|
+
* Returns the tenant\'s current JIT activation policy configuration, including governed entitlement IDs, activation and extension time limits, default periods, notification settings, and whether the policy applies to future assignments. The tenant comes from the authenticated request context (not the URL). Use **configType** to select which configuration to read. Returns **404** if that configuration has not been stored yet. **User level:** POLICY_ADMIN (policy administrator).
|
|
101865
|
+
* @summary Get JIT activation policy configuration
|
|
101866
|
+
* @param {GetJitActivationConfigConfigTypeV2026} configType Configuration kind to read. Only **policy** (JIT activation policy) is supported today.
|
|
101867
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
101868
|
+
* @throws {RequiredError}
|
|
101869
|
+
*/
|
|
101870
|
+
async getJitActivationConfig(configType: GetJitActivationConfigConfigTypeV2026, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JITActivationConfigResponseV2026>> {
|
|
101871
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getJitActivationConfig(configType, axiosOptions);
|
|
101872
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
101873
|
+
const localVarOperationServerBasePath = operationServerMap['JITAccessV2026Api.getJitActivationConfig']?.[localVarOperationServerIndex]?.url;
|
|
101874
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
101875
|
+
},
|
|
101876
|
+
/**
|
|
101877
|
+
* Updates the tenant\'s JIT activation policy configuration by applying one or more **replace** operations (same shape as JSON Patch: **op**, **path**, **value**). Use this to change entitlement lists, max/default activation and extension durations, notification recipients or template, and the apply-to-future-assignments flag. The body must be a non-empty array. Only **replace** is supported; each **path** must be one of the values documented on the request item schema. The tenant is taken from the request context. **configType** selects which configuration to update. Returns **404** if the configuration does not exist, or **400** for an empty body, unknown **configType**, or invalid path/value. **User level:** POLICY_ADMIN (policy administrator).
|
|
101878
|
+
* @summary Update JIT activation policy configuration
|
|
101879
|
+
* @param {PatchJitActivationConfigConfigTypeV2026} configType Configuration kind to update. Only **policy** (JIT activation policy) is supported today.
|
|
101880
|
+
* @param {Array<JitAccessOperationRequestV2026>} jitAccessOperationRequestV2026
|
|
101881
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
101882
|
+
* @throws {RequiredError}
|
|
101883
|
+
*/
|
|
101884
|
+
async patchJitActivationConfig(configType: PatchJitActivationConfigConfigTypeV2026, jitAccessOperationRequestV2026: Array<JitAccessOperationRequestV2026>, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JITActivationConfigResponseV2026>> {
|
|
101885
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchJitActivationConfig(configType, jitAccessOperationRequestV2026, axiosOptions);
|
|
101886
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
101887
|
+
const localVarOperationServerBasePath = operationServerMap['JITAccessV2026Api.patchJitActivationConfig']?.[localVarOperationServerIndex]?.url;
|
|
101888
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
101889
|
+
},
|
|
101890
|
+
}
|
|
101891
|
+
};
|
|
101892
|
+
|
|
101893
|
+
/**
|
|
101894
|
+
* JITAccessV2026Api - factory interface
|
|
101895
|
+
* @export
|
|
101896
|
+
*/
|
|
101897
|
+
export const JITAccessV2026ApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
101898
|
+
const localVarFp = JITAccessV2026ApiFp(configuration)
|
|
101899
|
+
return {
|
|
101900
|
+
/**
|
|
101901
|
+
* Returns the tenant\'s current JIT activation policy configuration, including governed entitlement IDs, activation and extension time limits, default periods, notification settings, and whether the policy applies to future assignments. The tenant comes from the authenticated request context (not the URL). Use **configType** to select which configuration to read. Returns **404** if that configuration has not been stored yet. **User level:** POLICY_ADMIN (policy administrator).
|
|
101902
|
+
* @summary Get JIT activation policy configuration
|
|
101903
|
+
* @param {JITAccessV2026ApiGetJitActivationConfigRequest} requestParameters Request parameters.
|
|
101904
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
101905
|
+
* @throws {RequiredError}
|
|
101906
|
+
*/
|
|
101907
|
+
getJitActivationConfig(requestParameters: JITAccessV2026ApiGetJitActivationConfigRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<JITActivationConfigResponseV2026> {
|
|
101908
|
+
return localVarFp.getJitActivationConfig(requestParameters.configType, axiosOptions).then((request) => request(axios, basePath));
|
|
101909
|
+
},
|
|
101910
|
+
/**
|
|
101911
|
+
* Updates the tenant\'s JIT activation policy configuration by applying one or more **replace** operations (same shape as JSON Patch: **op**, **path**, **value**). Use this to change entitlement lists, max/default activation and extension durations, notification recipients or template, and the apply-to-future-assignments flag. The body must be a non-empty array. Only **replace** is supported; each **path** must be one of the values documented on the request item schema. The tenant is taken from the request context. **configType** selects which configuration to update. Returns **404** if the configuration does not exist, or **400** for an empty body, unknown **configType**, or invalid path/value. **User level:** POLICY_ADMIN (policy administrator).
|
|
101912
|
+
* @summary Update JIT activation policy configuration
|
|
101913
|
+
* @param {JITAccessV2026ApiPatchJitActivationConfigRequest} requestParameters Request parameters.
|
|
101914
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
101915
|
+
* @throws {RequiredError}
|
|
101916
|
+
*/
|
|
101917
|
+
patchJitActivationConfig(requestParameters: JITAccessV2026ApiPatchJitActivationConfigRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<JITActivationConfigResponseV2026> {
|
|
101918
|
+
return localVarFp.patchJitActivationConfig(requestParameters.configType, requestParameters.jitAccessOperationRequestV2026, axiosOptions).then((request) => request(axios, basePath));
|
|
101919
|
+
},
|
|
101920
|
+
};
|
|
101921
|
+
};
|
|
101922
|
+
|
|
101923
|
+
/**
|
|
101924
|
+
* Request parameters for getJitActivationConfig operation in JITAccessV2026Api.
|
|
101925
|
+
* @export
|
|
101926
|
+
* @interface JITAccessV2026ApiGetJitActivationConfigRequest
|
|
101927
|
+
*/
|
|
101928
|
+
export interface JITAccessV2026ApiGetJitActivationConfigRequest {
|
|
101929
|
+
/**
|
|
101930
|
+
* Configuration kind to read. Only **policy** (JIT activation policy) is supported today.
|
|
101931
|
+
* @type {'policy'}
|
|
101932
|
+
* @memberof JITAccessV2026ApiGetJitActivationConfig
|
|
101933
|
+
*/
|
|
101934
|
+
readonly configType: GetJitActivationConfigConfigTypeV2026
|
|
101935
|
+
}
|
|
101936
|
+
|
|
101937
|
+
/**
|
|
101938
|
+
* Request parameters for patchJitActivationConfig operation in JITAccessV2026Api.
|
|
101939
|
+
* @export
|
|
101940
|
+
* @interface JITAccessV2026ApiPatchJitActivationConfigRequest
|
|
101941
|
+
*/
|
|
101942
|
+
export interface JITAccessV2026ApiPatchJitActivationConfigRequest {
|
|
101943
|
+
/**
|
|
101944
|
+
* Configuration kind to update. Only **policy** (JIT activation policy) is supported today.
|
|
101945
|
+
* @type {'policy'}
|
|
101946
|
+
* @memberof JITAccessV2026ApiPatchJitActivationConfig
|
|
101947
|
+
*/
|
|
101948
|
+
readonly configType: PatchJitActivationConfigConfigTypeV2026
|
|
101949
|
+
|
|
101950
|
+
/**
|
|
101951
|
+
*
|
|
101952
|
+
* @type {Array<JitAccessOperationRequestV2026>}
|
|
101953
|
+
* @memberof JITAccessV2026ApiPatchJitActivationConfig
|
|
101954
|
+
*/
|
|
101955
|
+
readonly jitAccessOperationRequestV2026: Array<JitAccessOperationRequestV2026>
|
|
101956
|
+
}
|
|
101957
|
+
|
|
101958
|
+
/**
|
|
101959
|
+
* JITAccessV2026Api - object-oriented interface
|
|
101960
|
+
* @export
|
|
101961
|
+
* @class JITAccessV2026Api
|
|
101962
|
+
* @extends {BaseAPI}
|
|
101963
|
+
*/
|
|
101964
|
+
export class JITAccessV2026Api extends BaseAPI {
|
|
101965
|
+
/**
|
|
101966
|
+
* Returns the tenant\'s current JIT activation policy configuration, including governed entitlement IDs, activation and extension time limits, default periods, notification settings, and whether the policy applies to future assignments. The tenant comes from the authenticated request context (not the URL). Use **configType** to select which configuration to read. Returns **404** if that configuration has not been stored yet. **User level:** POLICY_ADMIN (policy administrator).
|
|
101967
|
+
* @summary Get JIT activation policy configuration
|
|
101968
|
+
* @param {JITAccessV2026ApiGetJitActivationConfigRequest} requestParameters Request parameters.
|
|
101969
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
101970
|
+
* @throws {RequiredError}
|
|
101971
|
+
* @memberof JITAccessV2026Api
|
|
101972
|
+
*/
|
|
101973
|
+
public getJitActivationConfig(requestParameters: JITAccessV2026ApiGetJitActivationConfigRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
101974
|
+
return JITAccessV2026ApiFp(this.configuration).getJitActivationConfig(requestParameters.configType, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
101975
|
+
}
|
|
101976
|
+
|
|
101977
|
+
/**
|
|
101978
|
+
* Updates the tenant\'s JIT activation policy configuration by applying one or more **replace** operations (same shape as JSON Patch: **op**, **path**, **value**). Use this to change entitlement lists, max/default activation and extension durations, notification recipients or template, and the apply-to-future-assignments flag. The body must be a non-empty array. Only **replace** is supported; each **path** must be one of the values documented on the request item schema. The tenant is taken from the request context. **configType** selects which configuration to update. Returns **404** if the configuration does not exist, or **400** for an empty body, unknown **configType**, or invalid path/value. **User level:** POLICY_ADMIN (policy administrator).
|
|
101979
|
+
* @summary Update JIT activation policy configuration
|
|
101980
|
+
* @param {JITAccessV2026ApiPatchJitActivationConfigRequest} requestParameters Request parameters.
|
|
101981
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
101982
|
+
* @throws {RequiredError}
|
|
101983
|
+
* @memberof JITAccessV2026Api
|
|
101984
|
+
*/
|
|
101985
|
+
public patchJitActivationConfig(requestParameters: JITAccessV2026ApiPatchJitActivationConfigRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
101986
|
+
return JITAccessV2026ApiFp(this.configuration).patchJitActivationConfig(requestParameters.configType, requestParameters.jitAccessOperationRequestV2026, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
101987
|
+
}
|
|
101988
|
+
}
|
|
101989
|
+
|
|
101990
|
+
/**
|
|
101991
|
+
* @export
|
|
101992
|
+
*/
|
|
101993
|
+
export const GetJitActivationConfigConfigTypeV2026 = {
|
|
101994
|
+
Policy: 'policy'
|
|
101995
|
+
} as const;
|
|
101996
|
+
export type GetJitActivationConfigConfigTypeV2026 = typeof GetJitActivationConfigConfigTypeV2026[keyof typeof GetJitActivationConfigConfigTypeV2026];
|
|
101997
|
+
/**
|
|
101998
|
+
* @export
|
|
101999
|
+
*/
|
|
102000
|
+
export const PatchJitActivationConfigConfigTypeV2026 = {
|
|
102001
|
+
Policy: 'policy'
|
|
102002
|
+
} as const;
|
|
102003
|
+
export type PatchJitActivationConfigConfigTypeV2026 = typeof PatchJitActivationConfigConfigTypeV2026[keyof typeof PatchJitActivationConfigConfigTypeV2026];
|
|
102004
|
+
|
|
102005
|
+
|
|
101644
102006
|
/**
|
|
101645
102007
|
* LaunchersV2026Api - axios parameter creator
|
|
101646
102008
|
* @export
|
package/v2026/common.ts
CHANGED
|
@@ -146,14 +146,14 @@ export const toPathString = function (url: URL) {
|
|
|
146
146
|
export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {
|
|
147
147
|
return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
148
148
|
axiosRetry(axios, configuration.retriesConfig)
|
|
149
|
-
let userAgent = `SailPoint-SDK-TypeScript/1.8.
|
|
149
|
+
let userAgent = `SailPoint-SDK-TypeScript/1.8.23`;
|
|
150
150
|
if (configuration?.consumerIdentifier && configuration?.consumerVersion) {
|
|
151
151
|
userAgent += ` (${configuration.consumerIdentifier}/${configuration.consumerVersion})`;
|
|
152
152
|
}
|
|
153
153
|
userAgent += ` (${process.platform}; ${process.arch}) Node/${process.versions.node} (openapi-generator/7.12.0)`;
|
|
154
154
|
const headers = {
|
|
155
155
|
...axiosArgs.axiosOptions.headers,
|
|
156
|
-
...{'X-SailPoint-SDK':'typescript-1.8.
|
|
156
|
+
...{'X-SailPoint-SDK':'typescript-1.8.23'},
|
|
157
157
|
...{'User-Agent': userAgent},
|
|
158
158
|
}
|
|
159
159
|
|