@sailpoint/api-client 2.2.48 → 2.2.50
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/dist/accounts/api.d.ts +504 -0
- package/dist/accounts/api.js +146 -1
- package/dist/accounts/api.js.map +1 -1
- package/dist/esm/accounts/api.js +145 -0
- package/dist/esm/generic/api.js +262 -335
- package/dist/esm/generic/base.js +4 -4
- package/dist/esm/generic/common.js +44 -31
- package/dist/esm/generic/configuration.js +3 -3
- package/dist/esm/generic/index.js +3 -3
- package/dist/esm/index.js +3 -0
- package/dist/esm/machine_identities_lifecycle_actions/api.js +5 -5
- package/dist/esm/machine_identities_lifecycle_actions/base.js +1 -1
- package/dist/esm/machine_identities_lifecycle_actions/common.js +1 -1
- package/dist/esm/machine_identities_lifecycle_actions/configuration.js +1 -1
- package/dist/esm/machine_identities_lifecycle_actions/index.js +1 -1
- package/dist/esm/nerm/common.js +2 -2
- package/dist/esm/nermv2025/common.js +2 -2
- package/dist/esm/workflows/api.js +33 -7
- package/dist/generic/api.d.ts +166 -177
- package/dist/generic/api.js +265 -338
- package/dist/generic/api.js.map +1 -1
- package/dist/generic/base.d.ts +3 -3
- package/dist/generic/base.js +4 -4
- package/dist/generic/base.js.map +1 -1
- package/dist/generic/common.d.ts +4 -4
- package/dist/generic/common.js +44 -31
- package/dist/generic/common.js.map +1 -1
- package/dist/generic/configuration.d.ts +3 -3
- package/dist/generic/configuration.js +3 -3
- package/dist/generic/configuration.js.map +1 -1
- package/dist/generic/index.d.ts +3 -3
- package/dist/generic/index.js +3 -3
- package/dist/generic/index.js.map +1 -1
- package/dist/generic.spec.d.ts +1 -0
- package/dist/generic.spec.js +133 -0
- package/dist/generic.spec.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/index.spec.js +40 -0
- package/dist/index.spec.js.map +1 -1
- package/dist/machine_identities_lifecycle_actions/api.d.ts +5 -5
- package/dist/machine_identities_lifecycle_actions/api.js +5 -5
- package/dist/machine_identities_lifecycle_actions/api.js.map +1 -1
- package/dist/machine_identities_lifecycle_actions/base.d.ts +1 -1
- package/dist/machine_identities_lifecycle_actions/base.js +1 -1
- package/dist/machine_identities_lifecycle_actions/base.js.map +1 -1
- package/dist/machine_identities_lifecycle_actions/common.d.ts +1 -1
- package/dist/machine_identities_lifecycle_actions/common.js +1 -1
- package/dist/machine_identities_lifecycle_actions/common.js.map +1 -1
- package/dist/machine_identities_lifecycle_actions/configuration.d.ts +1 -1
- package/dist/machine_identities_lifecycle_actions/configuration.js +1 -1
- package/dist/machine_identities_lifecycle_actions/configuration.js.map +1 -1
- package/dist/machine_identities_lifecycle_actions/index.d.ts +1 -1
- package/dist/machine_identities_lifecycle_actions/index.js +1 -1
- package/dist/machine_identities_lifecycle_actions/index.js.map +1 -1
- package/dist/nerm/common.js +2 -2
- package/dist/nerm/common.js.map +1 -1
- package/dist/nermv2025/common.js +2 -2
- package/dist/nermv2025/common.js.map +1 -1
- package/dist/workflows/api.d.ts +62 -4
- package/dist/workflows/api.js +34 -8
- package/dist/workflows/api.js.map +1 -1
- package/package.json +3 -2
- package/sailpoint-scopes.json +16392 -0
package/dist/esm/generic/base.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
* Generic
|
|
4
|
+
* SailPoint Identity Security API - Generic
|
|
5
|
+
* Generic client for the SailPoint Identity Security versioned APIs. Use it to call any endpoint, in any version, by its path, for example `sources/v1` or `sources/v2/{sourceId}/provisioning-policies`, including endpoints that do not have a resource-specific client or documentation yet. The version is part of the path, so this client is not tied to one API version and the base URL has no version segment.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: any (set in the path)
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,7 +27,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
27
27
|
};
|
|
28
28
|
})();
|
|
29
29
|
import globalAxios from 'axios';
|
|
30
|
-
export var BASE_PATH = "https://sailpoint.api.identitynow.com
|
|
30
|
+
export var BASE_PATH = "https://sailpoint.api.identitynow.com".replace(/\/+$/, "");
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
33
|
* @export
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
* Generic
|
|
4
|
+
* SailPoint Identity Security API - Generic
|
|
5
|
+
* Generic client for the SailPoint Identity Security versioned APIs. Use it to call any endpoint, in any version, by its path, for example `sources/v1` or `sources/v2/{sourceId}/provisioning-policies`, including endpoints that do not have a resource-specific client or documentation yet. The version is part of the path, so this client is not tied to one API version and the base URL has no version segment.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: any (set in the path)
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -236,38 +236,51 @@ export var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH,
|
|
|
236
236
|
if (axios === void 0) { axios = globalAxios; }
|
|
237
237
|
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
238
238
|
return __awaiter(_this, void 0, void 0, function () {
|
|
239
|
-
var headers, axiosRequestArgs;
|
|
239
|
+
var headers, userAgent, axiosRequestArgs;
|
|
240
240
|
var _a;
|
|
241
241
|
return __generator(this, function (_b) {
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
axiosArgs.axiosOptions.headers = headers;
|
|
254
|
-
axiosRequestArgs = __assign(__assign({}, axiosArgs.axiosOptions), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url, headers: headers });
|
|
255
|
-
return [2 /*return*/, axios.request(axiosRequestArgs).catch(function (error) {
|
|
256
|
-
var _a;
|
|
257
|
-
if ((error === null || error === void 0 ? void 0 : error.isAxiosError) === true) {
|
|
258
|
-
var clean = new Error((_a = error.message) !== null && _a !== void 0 ? _a : "API request failed");
|
|
259
|
-
clean.name = "ApiError";
|
|
260
|
-
clean.stack = error.stack;
|
|
261
|
-
clean.code = error.code;
|
|
262
|
-
if (error.response) {
|
|
263
|
-
clean.status = error.response.status;
|
|
264
|
-
clean.statusText = error.response.statusText;
|
|
265
|
-
clean.data = error.response.data;
|
|
242
|
+
switch (_b.label) {
|
|
243
|
+
case 0:
|
|
244
|
+
headers = __assign({}, axiosArgs.axiosOptions.headers);
|
|
245
|
+
// Node-only headers. Browsers reject a User-Agent override, and a custom
|
|
246
|
+
// header such as X-SailPoint-SDK forces a CORS preflight that tenants do
|
|
247
|
+
// not allow, which blocks the request outright.
|
|
248
|
+
if (typeof process !== 'undefined' && ((_a = process.versions) === null || _a === void 0 ? void 0 : _a.node)) {
|
|
249
|
+
headers['X-SailPoint-SDK'] = 'typescript-1.0.0';
|
|
250
|
+
userAgent = "SailPoint-SDK-TypeScript/1.0.0";
|
|
251
|
+
if ((configuration === null || configuration === void 0 ? void 0 : configuration.consumerIdentifier) && (configuration === null || configuration === void 0 ? void 0 : configuration.consumerVersion)) {
|
|
252
|
+
userAgent += " (".concat(configuration.consumerIdentifier, "/").concat(configuration.consumerVersion, ")");
|
|
266
253
|
}
|
|
267
|
-
|
|
254
|
+
userAgent += " (".concat(process.platform, "; ").concat(process.arch, ") Node/").concat(process.versions.node, " (openapi-generator/7.12.0)");
|
|
255
|
+
headers['User-Agent'] = userAgent;
|
|
256
|
+
}
|
|
257
|
+
if (!configuration.experimental && ("X-SailPoint-Experimental" in headers)) {
|
|
258
|
+
throw new Error("You are using Experimental APIs. Set configuration.experimental = True to enable these APIs in the SDK.");
|
|
268
259
|
}
|
|
269
|
-
|
|
270
|
-
|
|
260
|
+
else if (configuration.experimental == true && ("X-SailPoint-Experimental" in headers)) {
|
|
261
|
+
console.log("Warning: You are using Experimental APIs");
|
|
262
|
+
}
|
|
263
|
+
return [4 /*yield*/, setBearerAuthToObject(headers, configuration)];
|
|
264
|
+
case 1:
|
|
265
|
+
_b.sent();
|
|
266
|
+
axiosRequestArgs = __assign(__assign({}, axiosArgs.axiosOptions), { url: (basePath || (configuration === null || configuration === void 0 ? void 0 : configuration.basePath)) + axiosArgs.url, headers: headers });
|
|
267
|
+
return [2 /*return*/, axios.request(axiosRequestArgs).catch(function (error) {
|
|
268
|
+
var _a;
|
|
269
|
+
if ((error === null || error === void 0 ? void 0 : error.isAxiosError) === true) {
|
|
270
|
+
var clean = new Error((_a = error.message) !== null && _a !== void 0 ? _a : 'API request failed');
|
|
271
|
+
clean.name = 'ApiError';
|
|
272
|
+
clean.stack = error.stack;
|
|
273
|
+
clean.code = error.code;
|
|
274
|
+
if (error.response) {
|
|
275
|
+
clean.status = error.response.status;
|
|
276
|
+
clean.statusText = error.response.statusText;
|
|
277
|
+
clean.data = error.response.data;
|
|
278
|
+
}
|
|
279
|
+
throw clean;
|
|
280
|
+
}
|
|
281
|
+
throw error;
|
|
282
|
+
})];
|
|
283
|
+
}
|
|
271
284
|
});
|
|
272
285
|
});
|
|
273
286
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
* Generic
|
|
4
|
+
* SailPoint Identity Security API - Generic
|
|
5
|
+
* Generic client for the SailPoint Identity Security versioned APIs. Use it to call any endpoint, in any version, by its path, for example `sources/v1` or `sources/v2/{sourceId}/provisioning-policies`, including endpoints that do not have a resource-specific client or documentation yet. The version is part of the path, so this client is not tied to one API version and the base URL has no version segment.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: any (set in the path)
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
* Generic
|
|
4
|
+
* SailPoint Identity Security API - Generic
|
|
5
|
+
* Generic client for the SailPoint Identity Security versioned APIs. Use it to call any endpoint, in any version, by its path, for example `sources/v1` or `sources/v2/{sourceId}/provisioning-policies`, including endpoints that do not have a resource-specific client or documentation yet. The version is part of the path, so this client is not tied to one API version and the base URL has no version segment.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: any (set in the path)
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/index.js
CHANGED
|
@@ -265,7 +265,10 @@ export { _WorkItemsApi as WorkItemsApi };
|
|
|
265
265
|
export { _WorkReassignmentApi as WorkReassignmentApi };
|
|
266
266
|
export { _WorkflowsApi as WorkflowsApi };
|
|
267
267
|
// --- Generic / NERM / shared exports ---
|
|
268
|
+
// GenericApi calls any versioned endpoint by path, e.g. genericGet({ path: "accounts/v1" }).
|
|
268
269
|
export * from "./generic/api";
|
|
270
|
+
/** @deprecated Use GenericApi. */
|
|
271
|
+
export { GenericApi as DefaultApi } from "./generic/api";
|
|
269
272
|
export * from "./nerm/api";
|
|
270
273
|
export { Configuration as ConfigurationNerm } from "./nerm/configuration";
|
|
271
274
|
export * from "./nermv2025/api";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* SailPoint Identity Security API - Machine Identity Lifecycle Actions
|
|
5
|
-
* Use these APIs to submit, list, retrieve, and cancel machine identity lifecycle actions (
|
|
5
|
+
* Use these APIs to submit, list, retrieve, and cancel machine identity lifecycle actions (currently activate and deactivate for Agent machine identities only). We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: v1
|
|
8
8
|
*
|
|
@@ -284,7 +284,7 @@ export var MachineIdentityLifecycleActionsApiAxiosParamCreator = function (confi
|
|
|
284
284
|
});
|
|
285
285
|
},
|
|
286
286
|
/**
|
|
287
|
-
* Creates a lifecycle request for the target machine identity and returns the created lifecycle snapshot. The response includes the generated `requestId`, which is used by https://developer.sailpoint.com/docs/api/list-machine-identity-lifecycle-actions-v-1, https://developer.sailpoint.com/docs/api/get-machine-identity-lifecycle-action-v-1, and https://developer.sailpoint.com/docs/api/cancel-machine-identity-lifecycle-action-v-1 Authorization is enforced in the service layer. Callers must have the `idn:machine-identity-lifecycle-action:manage` scope or role-context access to the target machine identity (organization admin, source admin, scoped source sub-admin, or effective owner). Supported actions are `DEACTIVATE`, `ACTIVATE`.
|
|
287
|
+
* Creates a lifecycle request for the target machine identity and returns the created lifecycle snapshot. **Note:** Lifecycle actions are currently supported only for machine identities of type **Agent**. The response includes the generated `requestId`, which is used by https://developer.sailpoint.com/docs/api/list-machine-identity-lifecycle-actions-v-1, https://developer.sailpoint.com/docs/api/get-machine-identity-lifecycle-action-v-1, and https://developer.sailpoint.com/docs/api/cancel-machine-identity-lifecycle-action-v-1 Authorization is enforced in the service layer. Callers must have the `idn:machine-identity-lifecycle-action:manage` scope or role-context access to the target machine identity (organization admin, source admin, scoped source sub-admin, or effective owner). Supported actions are `DEACTIVATE`, `ACTIVATE`.
|
|
288
288
|
* @summary Submit machine identity lifecycle action
|
|
289
289
|
* @param {string} id Machine identity ID.
|
|
290
290
|
* @param {LifecycleActionSubmitRequest} lifecycleActionSubmitRequest
|
|
@@ -415,7 +415,7 @@ export var MachineIdentityLifecycleActionsApiFp = function (configuration) {
|
|
|
415
415
|
});
|
|
416
416
|
},
|
|
417
417
|
/**
|
|
418
|
-
* Creates a lifecycle request for the target machine identity and returns the created lifecycle snapshot. The response includes the generated `requestId`, which is used by https://developer.sailpoint.com/docs/api/list-machine-identity-lifecycle-actions-v-1, https://developer.sailpoint.com/docs/api/get-machine-identity-lifecycle-action-v-1, and https://developer.sailpoint.com/docs/api/cancel-machine-identity-lifecycle-action-v-1 Authorization is enforced in the service layer. Callers must have the `idn:machine-identity-lifecycle-action:manage` scope or role-context access to the target machine identity (organization admin, source admin, scoped source sub-admin, or effective owner). Supported actions are `DEACTIVATE`, `ACTIVATE`.
|
|
418
|
+
* Creates a lifecycle request for the target machine identity and returns the created lifecycle snapshot. **Note:** Lifecycle actions are currently supported only for machine identities of type **Agent**. The response includes the generated `requestId`, which is used by https://developer.sailpoint.com/docs/api/list-machine-identity-lifecycle-actions-v-1, https://developer.sailpoint.com/docs/api/get-machine-identity-lifecycle-action-v-1, and https://developer.sailpoint.com/docs/api/cancel-machine-identity-lifecycle-action-v-1 Authorization is enforced in the service layer. Callers must have the `idn:machine-identity-lifecycle-action:manage` scope or role-context access to the target machine identity (organization admin, source admin, scoped source sub-admin, or effective owner). Supported actions are `DEACTIVATE`, `ACTIVATE`.
|
|
419
419
|
* @summary Submit machine identity lifecycle action
|
|
420
420
|
* @param {string} id Machine identity ID.
|
|
421
421
|
* @param {LifecycleActionSubmitRequest} lifecycleActionSubmitRequest
|
|
@@ -480,7 +480,7 @@ export var MachineIdentityLifecycleActionsApiFactory = function (configuration,
|
|
|
480
480
|
return localVarFp.listMachineIdentityLifecycleActionsV1(requestParameters.filters, requestParameters.sorters, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
481
481
|
},
|
|
482
482
|
/**
|
|
483
|
-
* Creates a lifecycle request for the target machine identity and returns the created lifecycle snapshot. The response includes the generated `requestId`, which is used by https://developer.sailpoint.com/docs/api/list-machine-identity-lifecycle-actions-v-1, https://developer.sailpoint.com/docs/api/get-machine-identity-lifecycle-action-v-1, and https://developer.sailpoint.com/docs/api/cancel-machine-identity-lifecycle-action-v-1 Authorization is enforced in the service layer. Callers must have the `idn:machine-identity-lifecycle-action:manage` scope or role-context access to the target machine identity (organization admin, source admin, scoped source sub-admin, or effective owner). Supported actions are `DEACTIVATE`, `ACTIVATE`.
|
|
483
|
+
* Creates a lifecycle request for the target machine identity and returns the created lifecycle snapshot. **Note:** Lifecycle actions are currently supported only for machine identities of type **Agent**. The response includes the generated `requestId`, which is used by https://developer.sailpoint.com/docs/api/list-machine-identity-lifecycle-actions-v-1, https://developer.sailpoint.com/docs/api/get-machine-identity-lifecycle-action-v-1, and https://developer.sailpoint.com/docs/api/cancel-machine-identity-lifecycle-action-v-1 Authorization is enforced in the service layer. Callers must have the `idn:machine-identity-lifecycle-action:manage` scope or role-context access to the target machine identity (organization admin, source admin, scoped source sub-admin, or effective owner). Supported actions are `DEACTIVATE`, `ACTIVATE`.
|
|
484
484
|
* @summary Submit machine identity lifecycle action
|
|
485
485
|
* @param {MachineIdentityLifecycleActionsApiSubmitMachineIdentityLifecycleActionV1Request} requestParameters Request parameters.
|
|
486
486
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -540,7 +540,7 @@ var MachineIdentityLifecycleActionsApi = /** @class */ (function (_super) {
|
|
|
540
540
|
return MachineIdentityLifecycleActionsApiFp(this.configuration).listMachineIdentityLifecycleActionsV1(requestParameters.filters, requestParameters.sorters, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
541
541
|
};
|
|
542
542
|
/**
|
|
543
|
-
* Creates a lifecycle request for the target machine identity and returns the created lifecycle snapshot. The response includes the generated `requestId`, which is used by https://developer.sailpoint.com/docs/api/list-machine-identity-lifecycle-actions-v-1, https://developer.sailpoint.com/docs/api/get-machine-identity-lifecycle-action-v-1, and https://developer.sailpoint.com/docs/api/cancel-machine-identity-lifecycle-action-v-1 Authorization is enforced in the service layer. Callers must have the `idn:machine-identity-lifecycle-action:manage` scope or role-context access to the target machine identity (organization admin, source admin, scoped source sub-admin, or effective owner). Supported actions are `DEACTIVATE`, `ACTIVATE`.
|
|
543
|
+
* Creates a lifecycle request for the target machine identity and returns the created lifecycle snapshot. **Note:** Lifecycle actions are currently supported only for machine identities of type **Agent**. The response includes the generated `requestId`, which is used by https://developer.sailpoint.com/docs/api/list-machine-identity-lifecycle-actions-v-1, https://developer.sailpoint.com/docs/api/get-machine-identity-lifecycle-action-v-1, and https://developer.sailpoint.com/docs/api/cancel-machine-identity-lifecycle-action-v-1 Authorization is enforced in the service layer. Callers must have the `idn:machine-identity-lifecycle-action:manage` scope or role-context access to the target machine identity (organization admin, source admin, scoped source sub-admin, or effective owner). Supported actions are `DEACTIVATE`, `ACTIVATE`.
|
|
544
544
|
* @summary Submit machine identity lifecycle action
|
|
545
545
|
* @param {MachineIdentityLifecycleActionsApiSubmitMachineIdentityLifecycleActionV1Request} requestParameters Request parameters.
|
|
546
546
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* SailPoint Identity Security API - Machine Identity Lifecycle Actions
|
|
5
|
-
* Use these APIs to submit, list, retrieve, and cancel machine identity lifecycle actions (
|
|
5
|
+
* Use these APIs to submit, list, retrieve, and cancel machine identity lifecycle actions (currently activate and deactivate for Agent machine identities only). We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: v1
|
|
8
8
|
*
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* SailPoint Identity Security API - Machine Identity Lifecycle Actions
|
|
5
|
-
* Use these APIs to submit, list, retrieve, and cancel machine identity lifecycle actions (
|
|
5
|
+
* Use these APIs to submit, list, retrieve, and cancel machine identity lifecycle actions (currently activate and deactivate for Agent machine identities only). We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: v1
|
|
8
8
|
*
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* SailPoint Identity Security API - Machine Identity Lifecycle Actions
|
|
5
|
-
* Use these APIs to submit, list, retrieve, and cancel machine identity lifecycle actions (
|
|
5
|
+
* Use these APIs to submit, list, retrieve, and cancel machine identity lifecycle actions (currently activate and deactivate for Agent machine identities only). We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: v1
|
|
8
8
|
*
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* SailPoint Identity Security API - Machine Identity Lifecycle Actions
|
|
5
|
-
* Use these APIs to submit, list, retrieve, and cancel machine identity lifecycle actions (
|
|
5
|
+
* Use these APIs to submit, list, retrieve, and cancel machine identity lifecycle actions (currently activate and deactivate for Agent machine identities only). We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: v1
|
|
8
8
|
*
|
package/dist/esm/nerm/common.js
CHANGED
|
@@ -246,8 +246,8 @@ export var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH,
|
|
|
246
246
|
// header such as X-SailPoint-SDK forces a CORS preflight that tenants do
|
|
247
247
|
// not allow, which blocks the request outright.
|
|
248
248
|
if (typeof process !== 'undefined' && ((_a = process.versions) === null || _a === void 0 ? void 0 : _a.node)) {
|
|
249
|
-
headers['X-SailPoint-SDK'] = 'typescript-2.2.
|
|
250
|
-
userAgent = "SailPoint-SDK-TypeScript/2.2.
|
|
249
|
+
headers['X-SailPoint-SDK'] = 'typescript-2.2.50';
|
|
250
|
+
userAgent = "SailPoint-SDK-TypeScript/2.2.50";
|
|
251
251
|
if ((configuration === null || configuration === void 0 ? void 0 : configuration.consumerIdentifier) && (configuration === null || configuration === void 0 ? void 0 : configuration.consumerVersion)) {
|
|
252
252
|
userAgent += " (".concat(configuration.consumerIdentifier, "/").concat(configuration.consumerVersion, ")");
|
|
253
253
|
}
|
|
@@ -246,8 +246,8 @@ export var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH,
|
|
|
246
246
|
// header such as X-SailPoint-SDK forces a CORS preflight that tenants do
|
|
247
247
|
// not allow, which blocks the request outright.
|
|
248
248
|
if (typeof process !== 'undefined' && ((_a = process.versions) === null || _a === void 0 ? void 0 : _a.node)) {
|
|
249
|
-
headers['X-SailPoint-SDK'] = 'typescript-2.2.
|
|
250
|
-
userAgent = "SailPoint-SDK-TypeScript/2.2.
|
|
249
|
+
headers['X-SailPoint-SDK'] = 'typescript-2.2.50';
|
|
250
|
+
userAgent = "SailPoint-SDK-TypeScript/2.2.50";
|
|
251
251
|
if ((configuration === null || configuration === void 0 ? void 0 : configuration.consumerIdentifier) && (configuration === null || configuration === void 0 ? void 0 : configuration.consumerVersion)) {
|
|
252
252
|
userAgent += " (".concat(configuration.consumerIdentifier, "/").concat(configuration.consumerVersion, ")");
|
|
253
253
|
}
|
|
@@ -87,6 +87,10 @@ export var JsonPatchOperationOpEnum = {
|
|
|
87
87
|
Copy: 'copy',
|
|
88
88
|
Test: 'test'
|
|
89
89
|
};
|
|
90
|
+
export var ListCompleteWorkflowLibraryV1200ResponseInnerFilterModeEnum = {
|
|
91
|
+
Basic: 'basic',
|
|
92
|
+
Advanced: 'advanced'
|
|
93
|
+
};
|
|
90
94
|
/**
|
|
91
95
|
* An indicator of how the locale was selected. *DEFAULT* means the locale is the system default. *REQUEST* means the locale was selected from the request context (i.e., best match based on the *Accept-Language* header). Additional values may be added in the future without notice.
|
|
92
96
|
* @export
|
|
@@ -160,6 +164,10 @@ export var WorkflowLibraryTriggerTypeEnum = {
|
|
|
160
164
|
External: 'EXTERNAL',
|
|
161
165
|
AccessRequestTrigger: 'AccessRequestTrigger'
|
|
162
166
|
};
|
|
167
|
+
export var WorkflowLibraryTriggerFilterModeEnum = {
|
|
168
|
+
Basic: 'basic',
|
|
169
|
+
Advanced: 'advanced'
|
|
170
|
+
};
|
|
163
171
|
export var WorkflowModifiedByTypeEnum = {
|
|
164
172
|
Identity: 'IDENTITY'
|
|
165
173
|
};
|
|
@@ -169,6 +177,10 @@ export var WorkflowTriggerTypeEnum = {
|
|
|
169
177
|
Scheduled: 'SCHEDULED',
|
|
170
178
|
Empty: ''
|
|
171
179
|
};
|
|
180
|
+
export var WorkflowTriggerModeEnum = {
|
|
181
|
+
Basic: 'basic',
|
|
182
|
+
Advanced: 'advanced'
|
|
183
|
+
};
|
|
172
184
|
/**
|
|
173
185
|
* WorkflowsApi - axios parameter creator
|
|
174
186
|
* @export
|
|
@@ -682,10 +694,12 @@ export var WorkflowsApiAxiosParamCreator = function (configuration) {
|
|
|
682
694
|
/**
|
|
683
695
|
* List all workflows in the tenant.
|
|
684
696
|
* @summary List workflows
|
|
697
|
+
* @param {number} [limit] Max number of results to return. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.
|
|
698
|
+
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.
|
|
685
699
|
* @param {*} [axiosOptions] Override http request option.
|
|
686
700
|
* @throws {RequiredError}
|
|
687
701
|
*/
|
|
688
|
-
listWorkflowsV1: function (axiosOptions) {
|
|
702
|
+
listWorkflowsV1: function (limit, offset, axiosOptions) {
|
|
689
703
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
690
704
|
return __awaiter(_this, void 0, void 0, function () {
|
|
691
705
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -698,6 +712,12 @@ export var WorkflowsApiAxiosParamCreator = function (configuration) {
|
|
|
698
712
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
|
|
699
713
|
localVarHeaderParameter = {};
|
|
700
714
|
localVarQueryParameter = {};
|
|
715
|
+
if (limit !== undefined) {
|
|
716
|
+
localVarQueryParameter['limit'] = limit;
|
|
717
|
+
}
|
|
718
|
+
if (offset !== undefined) {
|
|
719
|
+
localVarQueryParameter['offset'] = offset;
|
|
720
|
+
}
|
|
701
721
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
702
722
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
703
723
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -1203,16 +1223,18 @@ export var WorkflowsApiFp = function (configuration) {
|
|
|
1203
1223
|
/**
|
|
1204
1224
|
* List all workflows in the tenant.
|
|
1205
1225
|
* @summary List workflows
|
|
1226
|
+
* @param {number} [limit] Max number of results to return. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.
|
|
1227
|
+
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.
|
|
1206
1228
|
* @param {*} [axiosOptions] Override http request option.
|
|
1207
1229
|
* @throws {RequiredError}
|
|
1208
1230
|
*/
|
|
1209
|
-
listWorkflowsV1: function (axiosOptions) {
|
|
1231
|
+
listWorkflowsV1: function (limit, offset, axiosOptions) {
|
|
1210
1232
|
var _a, _b, _c;
|
|
1211
1233
|
return __awaiter(this, void 0, void 0, function () {
|
|
1212
1234
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1213
1235
|
return __generator(this, function (_d) {
|
|
1214
1236
|
switch (_d.label) {
|
|
1215
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listWorkflowsV1(axiosOptions)];
|
|
1237
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listWorkflowsV1(limit, offset, axiosOptions)];
|
|
1216
1238
|
case 1:
|
|
1217
1239
|
localVarAxiosArgs = _d.sent();
|
|
1218
1240
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -1473,11 +1495,13 @@ export var WorkflowsApiFactory = function (configuration, basePath, axios) {
|
|
|
1473
1495
|
/**
|
|
1474
1496
|
* List all workflows in the tenant.
|
|
1475
1497
|
* @summary List workflows
|
|
1498
|
+
* @param {WorkflowsApiListWorkflowsV1Request} requestParameters Request parameters.
|
|
1476
1499
|
* @param {*} [axiosOptions] Override http request option.
|
|
1477
1500
|
* @throws {RequiredError}
|
|
1478
1501
|
*/
|
|
1479
|
-
listWorkflowsV1: function (axiosOptions) {
|
|
1480
|
-
|
|
1502
|
+
listWorkflowsV1: function (requestParameters, axiosOptions) {
|
|
1503
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1504
|
+
return localVarFp.listWorkflowsV1(requestParameters.limit, requestParameters.offset, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1481
1505
|
},
|
|
1482
1506
|
/**
|
|
1483
1507
|
* Partially update an existing Workflow using [JSON Patch](https://tools.ietf.org/html/rfc6902) syntax.
|
|
@@ -1706,13 +1730,15 @@ var WorkflowsApi = /** @class */ (function (_super) {
|
|
|
1706
1730
|
/**
|
|
1707
1731
|
* List all workflows in the tenant.
|
|
1708
1732
|
* @summary List workflows
|
|
1733
|
+
* @param {WorkflowsApiListWorkflowsV1Request} requestParameters Request parameters.
|
|
1709
1734
|
* @param {*} [axiosOptions] Override http request option.
|
|
1710
1735
|
* @throws {RequiredError}
|
|
1711
1736
|
* @memberof WorkflowsApi
|
|
1712
1737
|
*/
|
|
1713
|
-
WorkflowsApi.prototype.listWorkflowsV1 = function (axiosOptions) {
|
|
1738
|
+
WorkflowsApi.prototype.listWorkflowsV1 = function (requestParameters, axiosOptions) {
|
|
1714
1739
|
var _this = this;
|
|
1715
|
-
|
|
1740
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1741
|
+
return WorkflowsApiFp(this.configuration).listWorkflowsV1(requestParameters.limit, requestParameters.offset, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1716
1742
|
};
|
|
1717
1743
|
/**
|
|
1718
1744
|
* Partially update an existing Workflow using [JSON Patch](https://tools.ietf.org/html/rfc6902) syntax.
|