sailpoint-api-client 1.8.57 → 1.8.59
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 +71 -11
- package/beta/common.ts +2 -2
- package/beta/package.json +1 -1
- package/dist/beta/api.d.ts +71 -11
- package/dist/beta/api.js +8 -8
- 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 +68 -8
- package/dist/v2024/api.js +6 -6
- package/dist/v2024/api.js.map +1 -1
- package/dist/v2024/common.js +2 -2
- package/dist/v2025/api.d.ts +92 -8
- package/dist/v2025/api.js +30 -6
- package/dist/v2025/api.js.map +1 -1
- package/dist/v2025/common.js +2 -2
- package/dist/v2026/api.d.ts +475 -184
- package/dist/v2026/api.js +744 -441
- package/dist/v2026/api.js.map +1 -1
- package/dist/v2026/common.js +2 -2
- package/dist/v3/api.d.ts +62 -8
- package/dist/v3/api.js +6 -6
- package/dist/v3/api.js.map +1 -1
- 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 +68 -8
- package/v2024/common.ts +2 -2
- package/v2024/package.json +1 -1
- package/v2025/README.md +2 -2
- package/v2025/api.ts +92 -8
- package/v2025/common.ts +2 -2
- package/v2025/package.json +1 -1
- package/v2026/README.md +2 -2
- package/v2026/api.ts +822 -370
- package/v2026/common.ts +2 -2
- package/v2026/package.json +1 -1
- package/v3/README.md +2 -2
- package/v3/api.ts +62 -8
- package/v3/common.ts +2 -2
- package/v3/package.json +1 -1
package/dist/v2026/api.js
CHANGED
|
@@ -7690,7 +7690,7 @@ var AccessRequestsV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
7690
7690
|
});
|
|
7691
7691
|
},
|
|
7692
7692
|
/**
|
|
7693
|
-
* Use this API to submit an access request in Identity Security Cloud (ISC), where it follows any ISC approval processes. >**Security:** idn:access-request:manage is for ORG_ADMIN level. idn:access-request-self:manage is for USER level. :::info The ability to request access using this API is constrained by the Access Request Segments defined in the API token\'s user context. ::: Access requests are processed asynchronously by ISC. A successful response from this endpoint means that the request has been submitted to ISC and is queued for processing. Because this endpoint is asynchronous, it does not return an error if you submit duplicate access requests in quick succession or submit an access request for access that is already in progress, approved, or rejected. It is best practice to check for any existing access requests that reference the same access items before submitting a new access request. This can be accomplished by using the [List Access Request Status](https://developer.sailpoint.com/idn/api/v3/list-access-request-status) or the [Pending Access Request Approvals](https://developer.sailpoint.com/idn/api/v3/list-pending-approvals) APIs. You can also use the [Search API](https://developer.sailpoint.com/idn/api/v3/search) to check the existing access items an identity has before submitting an access request to ensure that you aren\'t requesting access that is already granted. If you use this API to request access that an identity already has, without changing the account details or end date information from the existing assignment, the API will cancel the request as a duplicate. There are two types of access request: __GRANT_ACCESS__ * Can be requested for multiple identities in a single request. * Supports self request and request on behalf of other users. Refer to the [Get Access Request Configuration](https://developer.sailpoint.com/idn/api/v3/get-access-request-config) endpoint for request configuration options. * Allows any authenticated token (except API) to call this endpoint to request to grant access to themselves. Depending on the configuration, a user can request access for others. * Roles, access profiles and entitlements can be requested. * You can specify a `removeDate` to set or alter a sunset date-time on an assignment. The removeDate must be a future date-time, in the UTC timezone. Additionally, if the user already has the access assigned with a sunset date, you can also submit a request without a `removeDate` to request removal of the sunset date and time. * If a `removeDate` is specified, then the requested role, access profile, or entitlement will be removed on that date and time. * Now supports an alternate field \'requestedForWithRequestedItems\' for users to specify account selections while requesting items where they have more than one account on the source. :::caution If any entitlements are being requested, then the maximum number of entitlements that can be requested is 25, and the maximum number of identities that can be requested for is 10. If you exceed these limits, the request will fail with a 400 error. If you are not requesting any entitlements, then there are no limits. ::: __REVOKE_ACCESS__ * Can only be requested for a single identity at a time. * You cannot use an access request to revoke access from an identity if that access has been granted by role membership or by birthright provisioning. * Does not support self request. Only manager can request to revoke access for their directly managed employees. * If a `removeDate` is specified, then the requested role, access profile, or entitlement will be removed on that date and time. * Roles, access profiles, and entitlements can be requested for revocation. * Revoke requests for entitlements are limited to 1 entitlement per access request currently. * You can specify a `removeDate` to add or alter a sunset date and time on an assignment. The `removeDate` must be a future date-time, in the UTC timezone. If the user already has the access assigned with a sunset date and time, the removeDate must be a date-time earlier than the existing sunset date and time. * Allows a manager to request to revoke access for direct employees. A user with ORG_ADMIN authority can also request to revoke access from anyone. * Now supports REVOKE_ACCESS requests for identities with multiple accounts on a single source, with the help of \'assignmentId\' and \'nativeIdentity\' fields. These fields should be used within the \'requestedItems\' section for the revoke requests. * Usage of \'requestedForWithRequestedItems\' field is not supported for revoke requests.
|
|
7693
|
+
* Use this API to submit an access request in Identity Security Cloud (ISC), where it follows any ISC approval processes. >**Security:** idn:access-request:manage is for ORG_ADMIN level. idn:access-request-self:manage is for USER level. :::info The ability to request access using this API is constrained by the Access Request Segments defined in the API token\'s user context. ::: Access requests are processed asynchronously by ISC. A successful response from this endpoint means that the request has been submitted to ISC and is queued for processing. Because this endpoint is asynchronous, it does not return an error if you submit duplicate access requests in quick succession or submit an access request for access that is already in progress, approved, or rejected. It is best practice to check for any existing access requests that reference the same access items before submitting a new access request. This can be accomplished by using the [List Access Request Status](https://developer.sailpoint.com/idn/api/v3/list-access-request-status) or the [Pending Access Request Approvals](https://developer.sailpoint.com/idn/api/v3/list-pending-approvals) APIs. You can also use the [Search API](https://developer.sailpoint.com/idn/api/v3/search) to check the existing access items an identity has before submitting an access request to ensure that you aren\'t requesting access that is already granted. If you use this API to request access that an identity already has, without changing the account details or end date information from the existing assignment, the API will cancel the request as a duplicate. There are two types of access request: __GRANT_ACCESS__ * Can be requested for multiple identities in a single request. * Supports self request and request on behalf of other users. Refer to the [Get Access Request Configuration](https://developer.sailpoint.com/idn/api/v3/get-access-request-config) endpoint for request configuration options. * Allows any authenticated token (except API) to call this endpoint to request to grant access to themselves. Depending on the configuration, a user can request access for others. * Roles, access profiles and entitlements can be requested. * You can specify a `startDate` to set or alter a sunrise date-time on an assignment. The startDate must be a future date-time, in the UTC timezone. Additionally, if the user already has the access assigned with a sunrise date and its yet to be provisioned, you can also submit a request without a `startDate` to request immediate provisioning after approval. * If a `startDate` is specified, then the requested role, access profile, or entitlement will be provisioned on that date and time. * You can specify a `removeDate` to set or alter a sunset date-time on an assignment. The removeDate must be a future date-time, in the UTC timezone. Additionally, if the user already has the access assigned with a sunset date, you can also submit a request without a `removeDate` to request removal of the sunset date and time. * If a `removeDate` is specified, then the requested role, access profile, or entitlement will be removed on that date and time. * Now supports an alternate field \'requestedForWithRequestedItems\' for users to specify account selections while requesting items where they have more than one account on the source. :::caution If any entitlements are being requested, then the maximum number of entitlements that can be requested is 25, and the maximum number of identities that can be requested for is 10. If you exceed these limits, the request will fail with a 400 error. If you are not requesting any entitlements, then there are no limits. ::: __REVOKE_ACCESS__ * Can only be requested for a single identity at a time. * You cannot use an access request to revoke access from an identity if that access has been granted by role membership or by birthright provisioning. * Does not support self request. Only manager can request to revoke access for their directly managed employees. * If a `removeDate` is specified, then the requested role, access profile, or entitlement will be removed on that date and time. * Roles, access profiles, and entitlements can be requested for revocation. * Revoke requests for entitlements are limited to 1 entitlement per access request currently. * You cannot specify a \'startDate\' in a REVOKE_ACCESS request, as startDate is only applicable for GRANT_ACCESS requests to indicate when the access should be provisioned, and it does not make sense in the context of revoking access. * You can specify a `removeDate` to add or alter a sunset date and time on an assignment. The `removeDate` must be a future date-time, in the UTC timezone. If the user already has the access assigned with a sunset date and time, the removeDate must be a date-time earlier than the existing sunset date and time. * Allows a manager to request to revoke access for direct employees. A user with ORG_ADMIN authority can also request to revoke access from anyone. * Now supports REVOKE_ACCESS requests for identities with multiple accounts on a single source, with the help of \'assignmentId\' and \'nativeIdentity\' fields. These fields should be used within the \'requestedItems\' section for the revoke requests. * Usage of \'requestedForWithRequestedItems\' field is not supported for revoke requests.
|
|
7694
7694
|
* @summary Submit access request
|
|
7695
7695
|
* @param {AccessRequestV2026} accessRequestV2026
|
|
7696
7696
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -7949,7 +7949,7 @@ var AccessRequestsV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
7949
7949
|
* @param {boolean} [count] If this is true, the *X-Total-Count* response header populates with the number of results that would be returned if limit and offset were ignored.
|
|
7950
7950
|
* @param {number} [limit] Max number of results to return.
|
|
7951
7951
|
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. Defaults to 0 if not specified.
|
|
7952
|
-
* @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **accountActivityItemId**: *eq, in, ge, gt, le, lt, ne, isnull, sw* **accessRequestId**: *in* **status**: *in, eq, ne* **created**: *eq, in, ge, gt, le, lt, ne, isnull, sw*
|
|
7952
|
+
* @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **accountActivityItemId**: *eq, in, ge, gt, le, lt, ne, isnull, sw* **accessRequestId**: *in, eq, ne, ge, gt, le, lt, sw* **status**: *in, eq, ne* **created**: *eq, in, ge, gt, le, lt, ne, isnull, sw*
|
|
7953
7953
|
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **created, modified, accountActivityItemId, name, accessRequestId**
|
|
7954
7954
|
* @param {string} [requestState] Filter the results by the state of the request. The only valid value is *EXECUTING*.
|
|
7955
7955
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -8254,7 +8254,7 @@ var AccessRequestsV2026ApiFp = function (configuration) {
|
|
|
8254
8254
|
});
|
|
8255
8255
|
},
|
|
8256
8256
|
/**
|
|
8257
|
-
* Use this API to submit an access request in Identity Security Cloud (ISC), where it follows any ISC approval processes. >**Security:** idn:access-request:manage is for ORG_ADMIN level. idn:access-request-self:manage is for USER level. :::info The ability to request access using this API is constrained by the Access Request Segments defined in the API token\'s user context. ::: Access requests are processed asynchronously by ISC. A successful response from this endpoint means that the request has been submitted to ISC and is queued for processing. Because this endpoint is asynchronous, it does not return an error if you submit duplicate access requests in quick succession or submit an access request for access that is already in progress, approved, or rejected. It is best practice to check for any existing access requests that reference the same access items before submitting a new access request. This can be accomplished by using the [List Access Request Status](https://developer.sailpoint.com/idn/api/v3/list-access-request-status) or the [Pending Access Request Approvals](https://developer.sailpoint.com/idn/api/v3/list-pending-approvals) APIs. You can also use the [Search API](https://developer.sailpoint.com/idn/api/v3/search) to check the existing access items an identity has before submitting an access request to ensure that you aren\'t requesting access that is already granted. If you use this API to request access that an identity already has, without changing the account details or end date information from the existing assignment, the API will cancel the request as a duplicate. There are two types of access request: __GRANT_ACCESS__ * Can be requested for multiple identities in a single request. * Supports self request and request on behalf of other users. Refer to the [Get Access Request Configuration](https://developer.sailpoint.com/idn/api/v3/get-access-request-config) endpoint for request configuration options. * Allows any authenticated token (except API) to call this endpoint to request to grant access to themselves. Depending on the configuration, a user can request access for others. * Roles, access profiles and entitlements can be requested. * You can specify a `removeDate` to set or alter a sunset date-time on an assignment. The removeDate must be a future date-time, in the UTC timezone. Additionally, if the user already has the access assigned with a sunset date, you can also submit a request without a `removeDate` to request removal of the sunset date and time. * If a `removeDate` is specified, then the requested role, access profile, or entitlement will be removed on that date and time. * Now supports an alternate field \'requestedForWithRequestedItems\' for users to specify account selections while requesting items where they have more than one account on the source. :::caution If any entitlements are being requested, then the maximum number of entitlements that can be requested is 25, and the maximum number of identities that can be requested for is 10. If you exceed these limits, the request will fail with a 400 error. If you are not requesting any entitlements, then there are no limits. ::: __REVOKE_ACCESS__ * Can only be requested for a single identity at a time. * You cannot use an access request to revoke access from an identity if that access has been granted by role membership or by birthright provisioning. * Does not support self request. Only manager can request to revoke access for their directly managed employees. * If a `removeDate` is specified, then the requested role, access profile, or entitlement will be removed on that date and time. * Roles, access profiles, and entitlements can be requested for revocation. * Revoke requests for entitlements are limited to 1 entitlement per access request currently. * You can specify a `removeDate` to add or alter a sunset date and time on an assignment. The `removeDate` must be a future date-time, in the UTC timezone. If the user already has the access assigned with a sunset date and time, the removeDate must be a date-time earlier than the existing sunset date and time. * Allows a manager to request to revoke access for direct employees. A user with ORG_ADMIN authority can also request to revoke access from anyone. * Now supports REVOKE_ACCESS requests for identities with multiple accounts on a single source, with the help of \'assignmentId\' and \'nativeIdentity\' fields. These fields should be used within the \'requestedItems\' section for the revoke requests. * Usage of \'requestedForWithRequestedItems\' field is not supported for revoke requests.
|
|
8257
|
+
* Use this API to submit an access request in Identity Security Cloud (ISC), where it follows any ISC approval processes. >**Security:** idn:access-request:manage is for ORG_ADMIN level. idn:access-request-self:manage is for USER level. :::info The ability to request access using this API is constrained by the Access Request Segments defined in the API token\'s user context. ::: Access requests are processed asynchronously by ISC. A successful response from this endpoint means that the request has been submitted to ISC and is queued for processing. Because this endpoint is asynchronous, it does not return an error if you submit duplicate access requests in quick succession or submit an access request for access that is already in progress, approved, or rejected. It is best practice to check for any existing access requests that reference the same access items before submitting a new access request. This can be accomplished by using the [List Access Request Status](https://developer.sailpoint.com/idn/api/v3/list-access-request-status) or the [Pending Access Request Approvals](https://developer.sailpoint.com/idn/api/v3/list-pending-approvals) APIs. You can also use the [Search API](https://developer.sailpoint.com/idn/api/v3/search) to check the existing access items an identity has before submitting an access request to ensure that you aren\'t requesting access that is already granted. If you use this API to request access that an identity already has, without changing the account details or end date information from the existing assignment, the API will cancel the request as a duplicate. There are two types of access request: __GRANT_ACCESS__ * Can be requested for multiple identities in a single request. * Supports self request and request on behalf of other users. Refer to the [Get Access Request Configuration](https://developer.sailpoint.com/idn/api/v3/get-access-request-config) endpoint for request configuration options. * Allows any authenticated token (except API) to call this endpoint to request to grant access to themselves. Depending on the configuration, a user can request access for others. * Roles, access profiles and entitlements can be requested. * You can specify a `startDate` to set or alter a sunrise date-time on an assignment. The startDate must be a future date-time, in the UTC timezone. Additionally, if the user already has the access assigned with a sunrise date and its yet to be provisioned, you can also submit a request without a `startDate` to request immediate provisioning after approval. * If a `startDate` is specified, then the requested role, access profile, or entitlement will be provisioned on that date and time. * You can specify a `removeDate` to set or alter a sunset date-time on an assignment. The removeDate must be a future date-time, in the UTC timezone. Additionally, if the user already has the access assigned with a sunset date, you can also submit a request without a `removeDate` to request removal of the sunset date and time. * If a `removeDate` is specified, then the requested role, access profile, or entitlement will be removed on that date and time. * Now supports an alternate field \'requestedForWithRequestedItems\' for users to specify account selections while requesting items where they have more than one account on the source. :::caution If any entitlements are being requested, then the maximum number of entitlements that can be requested is 25, and the maximum number of identities that can be requested for is 10. If you exceed these limits, the request will fail with a 400 error. If you are not requesting any entitlements, then there are no limits. ::: __REVOKE_ACCESS__ * Can only be requested for a single identity at a time. * You cannot use an access request to revoke access from an identity if that access has been granted by role membership or by birthright provisioning. * Does not support self request. Only manager can request to revoke access for their directly managed employees. * If a `removeDate` is specified, then the requested role, access profile, or entitlement will be removed on that date and time. * Roles, access profiles, and entitlements can be requested for revocation. * Revoke requests for entitlements are limited to 1 entitlement per access request currently. * You cannot specify a \'startDate\' in a REVOKE_ACCESS request, as startDate is only applicable for GRANT_ACCESS requests to indicate when the access should be provisioned, and it does not make sense in the context of revoking access. * You can specify a `removeDate` to add or alter a sunset date and time on an assignment. The `removeDate` must be a future date-time, in the UTC timezone. If the user already has the access assigned with a sunset date and time, the removeDate must be a date-time earlier than the existing sunset date and time. * Allows a manager to request to revoke access for direct employees. A user with ORG_ADMIN authority can also request to revoke access from anyone. * Now supports REVOKE_ACCESS requests for identities with multiple accounts on a single source, with the help of \'assignmentId\' and \'nativeIdentity\' fields. These fields should be used within the \'requestedItems\' section for the revoke requests. * Usage of \'requestedForWithRequestedItems\' field is not supported for revoke requests.
|
|
8258
8258
|
* @summary Submit access request
|
|
8259
8259
|
* @param {AccessRequestV2026} accessRequestV2026
|
|
8260
8260
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -8365,7 +8365,7 @@ var AccessRequestsV2026ApiFp = function (configuration) {
|
|
|
8365
8365
|
* @param {boolean} [count] If this is true, the *X-Total-Count* response header populates with the number of results that would be returned if limit and offset were ignored.
|
|
8366
8366
|
* @param {number} [limit] Max number of results to return.
|
|
8367
8367
|
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. Defaults to 0 if not specified.
|
|
8368
|
-
* @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **accountActivityItemId**: *eq, in, ge, gt, le, lt, ne, isnull, sw* **accessRequestId**: *in* **status**: *in, eq, ne* **created**: *eq, in, ge, gt, le, lt, ne, isnull, sw*
|
|
8368
|
+
* @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **accountActivityItemId**: *eq, in, ge, gt, le, lt, ne, isnull, sw* **accessRequestId**: *in, eq, ne, ge, gt, le, lt, sw* **status**: *in, eq, ne* **created**: *eq, in, ge, gt, le, lt, ne, isnull, sw*
|
|
8369
8369
|
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **created, modified, accountActivityItemId, name, accessRequestId**
|
|
8370
8370
|
* @param {string} [requestState] Filter the results by the state of the request. The only valid value is *EXECUTING*.
|
|
8371
8371
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -8485,7 +8485,7 @@ var AccessRequestsV2026ApiFactory = function (configuration, basePath, axios) {
|
|
|
8485
8485
|
return localVarFp.closeAccessRequest(requestParameters.closeAccessRequestV2026, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
8486
8486
|
},
|
|
8487
8487
|
/**
|
|
8488
|
-
* Use this API to submit an access request in Identity Security Cloud (ISC), where it follows any ISC approval processes. >**Security:** idn:access-request:manage is for ORG_ADMIN level. idn:access-request-self:manage is for USER level. :::info The ability to request access using this API is constrained by the Access Request Segments defined in the API token\'s user context. ::: Access requests are processed asynchronously by ISC. A successful response from this endpoint means that the request has been submitted to ISC and is queued for processing. Because this endpoint is asynchronous, it does not return an error if you submit duplicate access requests in quick succession or submit an access request for access that is already in progress, approved, or rejected. It is best practice to check for any existing access requests that reference the same access items before submitting a new access request. This can be accomplished by using the [List Access Request Status](https://developer.sailpoint.com/idn/api/v3/list-access-request-status) or the [Pending Access Request Approvals](https://developer.sailpoint.com/idn/api/v3/list-pending-approvals) APIs. You can also use the [Search API](https://developer.sailpoint.com/idn/api/v3/search) to check the existing access items an identity has before submitting an access request to ensure that you aren\'t requesting access that is already granted. If you use this API to request access that an identity already has, without changing the account details or end date information from the existing assignment, the API will cancel the request as a duplicate. There are two types of access request: __GRANT_ACCESS__ * Can be requested for multiple identities in a single request. * Supports self request and request on behalf of other users. Refer to the [Get Access Request Configuration](https://developer.sailpoint.com/idn/api/v3/get-access-request-config) endpoint for request configuration options. * Allows any authenticated token (except API) to call this endpoint to request to grant access to themselves. Depending on the configuration, a user can request access for others. * Roles, access profiles and entitlements can be requested. * You can specify a `removeDate` to set or alter a sunset date-time on an assignment. The removeDate must be a future date-time, in the UTC timezone. Additionally, if the user already has the access assigned with a sunset date, you can also submit a request without a `removeDate` to request removal of the sunset date and time. * If a `removeDate` is specified, then the requested role, access profile, or entitlement will be removed on that date and time. * Now supports an alternate field \'requestedForWithRequestedItems\' for users to specify account selections while requesting items where they have more than one account on the source. :::caution If any entitlements are being requested, then the maximum number of entitlements that can be requested is 25, and the maximum number of identities that can be requested for is 10. If you exceed these limits, the request will fail with a 400 error. If you are not requesting any entitlements, then there are no limits. ::: __REVOKE_ACCESS__ * Can only be requested for a single identity at a time. * You cannot use an access request to revoke access from an identity if that access has been granted by role membership or by birthright provisioning. * Does not support self request. Only manager can request to revoke access for their directly managed employees. * If a `removeDate` is specified, then the requested role, access profile, or entitlement will be removed on that date and time. * Roles, access profiles, and entitlements can be requested for revocation. * Revoke requests for entitlements are limited to 1 entitlement per access request currently. * You can specify a `removeDate` to add or alter a sunset date and time on an assignment. The `removeDate` must be a future date-time, in the UTC timezone. If the user already has the access assigned with a sunset date and time, the removeDate must be a date-time earlier than the existing sunset date and time. * Allows a manager to request to revoke access for direct employees. A user with ORG_ADMIN authority can also request to revoke access from anyone. * Now supports REVOKE_ACCESS requests for identities with multiple accounts on a single source, with the help of \'assignmentId\' and \'nativeIdentity\' fields. These fields should be used within the \'requestedItems\' section for the revoke requests. * Usage of \'requestedForWithRequestedItems\' field is not supported for revoke requests.
|
|
8488
|
+
* Use this API to submit an access request in Identity Security Cloud (ISC), where it follows any ISC approval processes. >**Security:** idn:access-request:manage is for ORG_ADMIN level. idn:access-request-self:manage is for USER level. :::info The ability to request access using this API is constrained by the Access Request Segments defined in the API token\'s user context. ::: Access requests are processed asynchronously by ISC. A successful response from this endpoint means that the request has been submitted to ISC and is queued for processing. Because this endpoint is asynchronous, it does not return an error if you submit duplicate access requests in quick succession or submit an access request for access that is already in progress, approved, or rejected. It is best practice to check for any existing access requests that reference the same access items before submitting a new access request. This can be accomplished by using the [List Access Request Status](https://developer.sailpoint.com/idn/api/v3/list-access-request-status) or the [Pending Access Request Approvals](https://developer.sailpoint.com/idn/api/v3/list-pending-approvals) APIs. You can also use the [Search API](https://developer.sailpoint.com/idn/api/v3/search) to check the existing access items an identity has before submitting an access request to ensure that you aren\'t requesting access that is already granted. If you use this API to request access that an identity already has, without changing the account details or end date information from the existing assignment, the API will cancel the request as a duplicate. There are two types of access request: __GRANT_ACCESS__ * Can be requested for multiple identities in a single request. * Supports self request and request on behalf of other users. Refer to the [Get Access Request Configuration](https://developer.sailpoint.com/idn/api/v3/get-access-request-config) endpoint for request configuration options. * Allows any authenticated token (except API) to call this endpoint to request to grant access to themselves. Depending on the configuration, a user can request access for others. * Roles, access profiles and entitlements can be requested. * You can specify a `startDate` to set or alter a sunrise date-time on an assignment. The startDate must be a future date-time, in the UTC timezone. Additionally, if the user already has the access assigned with a sunrise date and its yet to be provisioned, you can also submit a request without a `startDate` to request immediate provisioning after approval. * If a `startDate` is specified, then the requested role, access profile, or entitlement will be provisioned on that date and time. * You can specify a `removeDate` to set or alter a sunset date-time on an assignment. The removeDate must be a future date-time, in the UTC timezone. Additionally, if the user already has the access assigned with a sunset date, you can also submit a request without a `removeDate` to request removal of the sunset date and time. * If a `removeDate` is specified, then the requested role, access profile, or entitlement will be removed on that date and time. * Now supports an alternate field \'requestedForWithRequestedItems\' for users to specify account selections while requesting items where they have more than one account on the source. :::caution If any entitlements are being requested, then the maximum number of entitlements that can be requested is 25, and the maximum number of identities that can be requested for is 10. If you exceed these limits, the request will fail with a 400 error. If you are not requesting any entitlements, then there are no limits. ::: __REVOKE_ACCESS__ * Can only be requested for a single identity at a time. * You cannot use an access request to revoke access from an identity if that access has been granted by role membership or by birthright provisioning. * Does not support self request. Only manager can request to revoke access for their directly managed employees. * If a `removeDate` is specified, then the requested role, access profile, or entitlement will be removed on that date and time. * Roles, access profiles, and entitlements can be requested for revocation. * Revoke requests for entitlements are limited to 1 entitlement per access request currently. * You cannot specify a \'startDate\' in a REVOKE_ACCESS request, as startDate is only applicable for GRANT_ACCESS requests to indicate when the access should be provisioned, and it does not make sense in the context of revoking access. * You can specify a `removeDate` to add or alter a sunset date and time on an assignment. The `removeDate` must be a future date-time, in the UTC timezone. If the user already has the access assigned with a sunset date and time, the removeDate must be a date-time earlier than the existing sunset date and time. * Allows a manager to request to revoke access for direct employees. A user with ORG_ADMIN authority can also request to revoke access from anyone. * Now supports REVOKE_ACCESS requests for identities with multiple accounts on a single source, with the help of \'assignmentId\' and \'nativeIdentity\' fields. These fields should be used within the \'requestedItems\' section for the revoke requests. * Usage of \'requestedForWithRequestedItems\' field is not supported for revoke requests.
|
|
8489
8489
|
* @summary Submit access request
|
|
8490
8490
|
* @param {AccessRequestsV2026ApiCreateAccessRequestRequest} requestParameters Request parameters.
|
|
8491
8491
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -8617,7 +8617,7 @@ var AccessRequestsV2026Api = /** @class */ (function (_super) {
|
|
|
8617
8617
|
return (0, exports.AccessRequestsV2026ApiFp)(this.configuration).closeAccessRequest(requestParameters.closeAccessRequestV2026, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8618
8618
|
};
|
|
8619
8619
|
/**
|
|
8620
|
-
* Use this API to submit an access request in Identity Security Cloud (ISC), where it follows any ISC approval processes. >**Security:** idn:access-request:manage is for ORG_ADMIN level. idn:access-request-self:manage is for USER level. :::info The ability to request access using this API is constrained by the Access Request Segments defined in the API token\'s user context. ::: Access requests are processed asynchronously by ISC. A successful response from this endpoint means that the request has been submitted to ISC and is queued for processing. Because this endpoint is asynchronous, it does not return an error if you submit duplicate access requests in quick succession or submit an access request for access that is already in progress, approved, or rejected. It is best practice to check for any existing access requests that reference the same access items before submitting a new access request. This can be accomplished by using the [List Access Request Status](https://developer.sailpoint.com/idn/api/v3/list-access-request-status) or the [Pending Access Request Approvals](https://developer.sailpoint.com/idn/api/v3/list-pending-approvals) APIs. You can also use the [Search API](https://developer.sailpoint.com/idn/api/v3/search) to check the existing access items an identity has before submitting an access request to ensure that you aren\'t requesting access that is already granted. If you use this API to request access that an identity already has, without changing the account details or end date information from the existing assignment, the API will cancel the request as a duplicate. There are two types of access request: __GRANT_ACCESS__ * Can be requested for multiple identities in a single request. * Supports self request and request on behalf of other users. Refer to the [Get Access Request Configuration](https://developer.sailpoint.com/idn/api/v3/get-access-request-config) endpoint for request configuration options. * Allows any authenticated token (except API) to call this endpoint to request to grant access to themselves. Depending on the configuration, a user can request access for others. * Roles, access profiles and entitlements can be requested. * You can specify a `removeDate` to set or alter a sunset date-time on an assignment. The removeDate must be a future date-time, in the UTC timezone. Additionally, if the user already has the access assigned with a sunset date, you can also submit a request without a `removeDate` to request removal of the sunset date and time. * If a `removeDate` is specified, then the requested role, access profile, or entitlement will be removed on that date and time. * Now supports an alternate field \'requestedForWithRequestedItems\' for users to specify account selections while requesting items where they have more than one account on the source. :::caution If any entitlements are being requested, then the maximum number of entitlements that can be requested is 25, and the maximum number of identities that can be requested for is 10. If you exceed these limits, the request will fail with a 400 error. If you are not requesting any entitlements, then there are no limits. ::: __REVOKE_ACCESS__ * Can only be requested for a single identity at a time. * You cannot use an access request to revoke access from an identity if that access has been granted by role membership or by birthright provisioning. * Does not support self request. Only manager can request to revoke access for their directly managed employees. * If a `removeDate` is specified, then the requested role, access profile, or entitlement will be removed on that date and time. * Roles, access profiles, and entitlements can be requested for revocation. * Revoke requests for entitlements are limited to 1 entitlement per access request currently. * You can specify a `removeDate` to add or alter a sunset date and time on an assignment. The `removeDate` must be a future date-time, in the UTC timezone. If the user already has the access assigned with a sunset date and time, the removeDate must be a date-time earlier than the existing sunset date and time. * Allows a manager to request to revoke access for direct employees. A user with ORG_ADMIN authority can also request to revoke access from anyone. * Now supports REVOKE_ACCESS requests for identities with multiple accounts on a single source, with the help of \'assignmentId\' and \'nativeIdentity\' fields. These fields should be used within the \'requestedItems\' section for the revoke requests. * Usage of \'requestedForWithRequestedItems\' field is not supported for revoke requests.
|
|
8620
|
+
* Use this API to submit an access request in Identity Security Cloud (ISC), where it follows any ISC approval processes. >**Security:** idn:access-request:manage is for ORG_ADMIN level. idn:access-request-self:manage is for USER level. :::info The ability to request access using this API is constrained by the Access Request Segments defined in the API token\'s user context. ::: Access requests are processed asynchronously by ISC. A successful response from this endpoint means that the request has been submitted to ISC and is queued for processing. Because this endpoint is asynchronous, it does not return an error if you submit duplicate access requests in quick succession or submit an access request for access that is already in progress, approved, or rejected. It is best practice to check for any existing access requests that reference the same access items before submitting a new access request. This can be accomplished by using the [List Access Request Status](https://developer.sailpoint.com/idn/api/v3/list-access-request-status) or the [Pending Access Request Approvals](https://developer.sailpoint.com/idn/api/v3/list-pending-approvals) APIs. You can also use the [Search API](https://developer.sailpoint.com/idn/api/v3/search) to check the existing access items an identity has before submitting an access request to ensure that you aren\'t requesting access that is already granted. If you use this API to request access that an identity already has, without changing the account details or end date information from the existing assignment, the API will cancel the request as a duplicate. There are two types of access request: __GRANT_ACCESS__ * Can be requested for multiple identities in a single request. * Supports self request and request on behalf of other users. Refer to the [Get Access Request Configuration](https://developer.sailpoint.com/idn/api/v3/get-access-request-config) endpoint for request configuration options. * Allows any authenticated token (except API) to call this endpoint to request to grant access to themselves. Depending on the configuration, a user can request access for others. * Roles, access profiles and entitlements can be requested. * You can specify a `startDate` to set or alter a sunrise date-time on an assignment. The startDate must be a future date-time, in the UTC timezone. Additionally, if the user already has the access assigned with a sunrise date and its yet to be provisioned, you can also submit a request without a `startDate` to request immediate provisioning after approval. * If a `startDate` is specified, then the requested role, access profile, or entitlement will be provisioned on that date and time. * You can specify a `removeDate` to set or alter a sunset date-time on an assignment. The removeDate must be a future date-time, in the UTC timezone. Additionally, if the user already has the access assigned with a sunset date, you can also submit a request without a `removeDate` to request removal of the sunset date and time. * If a `removeDate` is specified, then the requested role, access profile, or entitlement will be removed on that date and time. * Now supports an alternate field \'requestedForWithRequestedItems\' for users to specify account selections while requesting items where they have more than one account on the source. :::caution If any entitlements are being requested, then the maximum number of entitlements that can be requested is 25, and the maximum number of identities that can be requested for is 10. If you exceed these limits, the request will fail with a 400 error. If you are not requesting any entitlements, then there are no limits. ::: __REVOKE_ACCESS__ * Can only be requested for a single identity at a time. * You cannot use an access request to revoke access from an identity if that access has been granted by role membership or by birthright provisioning. * Does not support self request. Only manager can request to revoke access for their directly managed employees. * If a `removeDate` is specified, then the requested role, access profile, or entitlement will be removed on that date and time. * Roles, access profiles, and entitlements can be requested for revocation. * Revoke requests for entitlements are limited to 1 entitlement per access request currently. * You cannot specify a \'startDate\' in a REVOKE_ACCESS request, as startDate is only applicable for GRANT_ACCESS requests to indicate when the access should be provisioned, and it does not make sense in the context of revoking access. * You can specify a `removeDate` to add or alter a sunset date and time on an assignment. The `removeDate` must be a future date-time, in the UTC timezone. If the user already has the access assigned with a sunset date and time, the removeDate must be a date-time earlier than the existing sunset date and time. * Allows a manager to request to revoke access for direct employees. A user with ORG_ADMIN authority can also request to revoke access from anyone. * Now supports REVOKE_ACCESS requests for identities with multiple accounts on a single source, with the help of \'assignmentId\' and \'nativeIdentity\' fields. These fields should be used within the \'requestedItems\' section for the revoke requests. * Usage of \'requestedForWithRequestedItems\' field is not supported for revoke requests.
|
|
8621
8621
|
* @summary Submit access request
|
|
8622
8622
|
* @param {AccessRequestsV2026ApiCreateAccessRequestRequest} requestParameters Request parameters.
|
|
8623
8623
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -54556,14 +54556,86 @@ exports.MachineAccountMappingsV2026Api = MachineAccountMappingsV2026Api;
|
|
|
54556
54556
|
var MachineAccountSubtypesV2026ApiAxiosParamCreator = function (configuration) {
|
|
54557
54557
|
var _this = this;
|
|
54558
54558
|
return {
|
|
54559
|
+
/**
|
|
54560
|
+
* Create a new machine account subtype.
|
|
54561
|
+
* @summary Create subtype
|
|
54562
|
+
* @param {CreateSourceSubtypeRequestV2026} createSourceSubtypeRequestV2026
|
|
54563
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
54564
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
54565
|
+
* @throws {RequiredError}
|
|
54566
|
+
*/
|
|
54567
|
+
createSourceSubtype: function (createSourceSubtypeRequestV2026, xSailPointExperimental, axiosOptions) {
|
|
54568
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
54569
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
54570
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
54571
|
+
return __generator(this, function (_a) {
|
|
54572
|
+
switch (_a.label) {
|
|
54573
|
+
case 0:
|
|
54574
|
+
// verify required parameter 'createSourceSubtypeRequestV2026' is not null or undefined
|
|
54575
|
+
(0, common_1.assertParamExists)('createSourceSubtype', 'createSourceSubtypeRequestV2026', createSourceSubtypeRequestV2026);
|
|
54576
|
+
if (xSailPointExperimental === undefined) {
|
|
54577
|
+
xSailPointExperimental = 'true';
|
|
54578
|
+
}
|
|
54579
|
+
localVarPath = "/source-subtypes";
|
|
54580
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
54581
|
+
if (configuration) {
|
|
54582
|
+
baseOptions = configuration.baseOptions;
|
|
54583
|
+
}
|
|
54584
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
|
|
54585
|
+
localVarHeaderParameter = {};
|
|
54586
|
+
localVarQueryParameter = {};
|
|
54587
|
+
// authentication userAuth required
|
|
54588
|
+
// oauth required
|
|
54589
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
|
|
54590
|
+
// authentication userAuth required
|
|
54591
|
+
// oauth required
|
|
54592
|
+
];
|
|
54593
|
+
case 1:
|
|
54594
|
+
// authentication userAuth required
|
|
54595
|
+
// oauth required
|
|
54596
|
+
_a.sent();
|
|
54597
|
+
// authentication userAuth required
|
|
54598
|
+
// oauth required
|
|
54599
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
|
|
54600
|
+
// authentication applicationAuth required
|
|
54601
|
+
// oauth required
|
|
54602
|
+
];
|
|
54603
|
+
case 2:
|
|
54604
|
+
// authentication userAuth required
|
|
54605
|
+
// oauth required
|
|
54606
|
+
_a.sent();
|
|
54607
|
+
// authentication applicationAuth required
|
|
54608
|
+
// oauth required
|
|
54609
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "applicationAuth", [], configuration)];
|
|
54610
|
+
case 3:
|
|
54611
|
+
// authentication applicationAuth required
|
|
54612
|
+
// oauth required
|
|
54613
|
+
_a.sent();
|
|
54614
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
54615
|
+
if (xSailPointExperimental != null) {
|
|
54616
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
54617
|
+
}
|
|
54618
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
54619
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
54620
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
54621
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createSourceSubtypeRequestV2026, localVarRequestOptions, configuration);
|
|
54622
|
+
return [2 /*return*/, {
|
|
54623
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
54624
|
+
axiosOptions: localVarRequestOptions,
|
|
54625
|
+
}];
|
|
54626
|
+
}
|
|
54627
|
+
});
|
|
54628
|
+
});
|
|
54629
|
+
},
|
|
54559
54630
|
/**
|
|
54560
54631
|
* Delete a machine account subtype by subtype ID. Note: If subtype has approval settings or entitlement for machine account creation enablement then it\'ll be also deleted.
|
|
54561
54632
|
* @summary Delete subtype by ID
|
|
54562
54633
|
* @param {string} subtypeId The ID of the subtype.
|
|
54634
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
54563
54635
|
* @param {*} [axiosOptions] Override http request option.
|
|
54564
54636
|
* @throws {RequiredError}
|
|
54565
54637
|
*/
|
|
54566
|
-
deleteMachineAccountSubtype: function (subtypeId, axiosOptions) {
|
|
54638
|
+
deleteMachineAccountSubtype: function (subtypeId, xSailPointExperimental, axiosOptions) {
|
|
54567
54639
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
54568
54640
|
return __awaiter(_this, void 0, void 0, function () {
|
|
54569
54641
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -54572,6 +54644,9 @@ var MachineAccountSubtypesV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
54572
54644
|
case 0:
|
|
54573
54645
|
// verify required parameter 'subtypeId' is not null or undefined
|
|
54574
54646
|
(0, common_1.assertParamExists)('deleteMachineAccountSubtype', 'subtypeId', subtypeId);
|
|
54647
|
+
if (xSailPointExperimental === undefined) {
|
|
54648
|
+
xSailPointExperimental = 'true';
|
|
54649
|
+
}
|
|
54575
54650
|
localVarPath = "/source-subtypes/{subtypeId}"
|
|
54576
54651
|
.replace("{".concat("subtypeId", "}"), encodeURIComponent(String(subtypeId)));
|
|
54577
54652
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -54608,6 +54683,71 @@ var MachineAccountSubtypesV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
54608
54683
|
// authentication applicationAuth required
|
|
54609
54684
|
// oauth required
|
|
54610
54685
|
_a.sent();
|
|
54686
|
+
if (xSailPointExperimental != null) {
|
|
54687
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
54688
|
+
}
|
|
54689
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
54690
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
54691
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
54692
|
+
return [2 /*return*/, {
|
|
54693
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
54694
|
+
axiosOptions: localVarRequestOptions,
|
|
54695
|
+
}];
|
|
54696
|
+
}
|
|
54697
|
+
});
|
|
54698
|
+
});
|
|
54699
|
+
},
|
|
54700
|
+
/**
|
|
54701
|
+
* This endpoint retrieves the approval configuration for machine account creation and deletion at the machine subtype level. By providing a specific subtypeId in the path, clients can fetch the approval rules and settings (such as required approvers and comments policy) that govern account creation and deletion for that particular machine subtype. The response includes a MachineAccountSubtypeConfigDto object detailing these configurations, enabling clients to understand or display the approval workflow required for creating and deleting machine accounts of the given subtype. Use this endpoint to get machine subtype level approval config for account creation and deletion.
|
|
54702
|
+
* @summary Machine Subtype Approval Config
|
|
54703
|
+
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
54704
|
+
* @param {string} subtypeId machine subtype id.
|
|
54705
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
54706
|
+
* @throws {RequiredError}
|
|
54707
|
+
*/
|
|
54708
|
+
getMachineAccountSubtypeApprovalConfig: function (xSailPointExperimental, subtypeId, axiosOptions) {
|
|
54709
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
54710
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
54711
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
54712
|
+
return __generator(this, function (_a) {
|
|
54713
|
+
switch (_a.label) {
|
|
54714
|
+
case 0:
|
|
54715
|
+
if (xSailPointExperimental === undefined) {
|
|
54716
|
+
xSailPointExperimental = 'true';
|
|
54717
|
+
}
|
|
54718
|
+
// verify required parameter 'xSailPointExperimental' is not null or undefined
|
|
54719
|
+
(0, common_1.assertParamExists)('getMachineAccountSubtypeApprovalConfig', 'xSailPointExperimental', xSailPointExperimental);
|
|
54720
|
+
// verify required parameter 'subtypeId' is not null or undefined
|
|
54721
|
+
(0, common_1.assertParamExists)('getMachineAccountSubtypeApprovalConfig', 'subtypeId', subtypeId);
|
|
54722
|
+
localVarPath = "/source-subtypes/{subtypeId}/machine-config"
|
|
54723
|
+
.replace("{".concat("subtypeId", "}"), encodeURIComponent(String(subtypeId)));
|
|
54724
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
54725
|
+
if (configuration) {
|
|
54726
|
+
baseOptions = configuration.baseOptions;
|
|
54727
|
+
}
|
|
54728
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
|
|
54729
|
+
localVarHeaderParameter = {};
|
|
54730
|
+
localVarQueryParameter = {};
|
|
54731
|
+
// authentication userAuth required
|
|
54732
|
+
// oauth required
|
|
54733
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
|
|
54734
|
+
// authentication userAuth required
|
|
54735
|
+
// oauth required
|
|
54736
|
+
];
|
|
54737
|
+
case 1:
|
|
54738
|
+
// authentication userAuth required
|
|
54739
|
+
// oauth required
|
|
54740
|
+
_a.sent();
|
|
54741
|
+
// authentication userAuth required
|
|
54742
|
+
// oauth required
|
|
54743
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)];
|
|
54744
|
+
case 2:
|
|
54745
|
+
// authentication userAuth required
|
|
54746
|
+
// oauth required
|
|
54747
|
+
_a.sent();
|
|
54748
|
+
if (xSailPointExperimental != null) {
|
|
54749
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
54750
|
+
}
|
|
54611
54751
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
54612
54752
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
54613
54753
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -54623,10 +54763,11 @@ var MachineAccountSubtypesV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
54623
54763
|
* Get a machine account subtype by subtype ID.
|
|
54624
54764
|
* @summary Get subtype by ID
|
|
54625
54765
|
* @param {string} subtypeId The ID of the subtype.
|
|
54766
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
54626
54767
|
* @param {*} [axiosOptions] Override http request option.
|
|
54627
54768
|
* @throws {RequiredError}
|
|
54628
54769
|
*/
|
|
54629
|
-
getSourceSubtypeById: function (subtypeId, axiosOptions) {
|
|
54770
|
+
getSourceSubtypeById: function (subtypeId, xSailPointExperimental, axiosOptions) {
|
|
54630
54771
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
54631
54772
|
return __awaiter(_this, void 0, void 0, function () {
|
|
54632
54773
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -54635,6 +54776,9 @@ var MachineAccountSubtypesV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
54635
54776
|
case 0:
|
|
54636
54777
|
// verify required parameter 'subtypeId' is not null or undefined
|
|
54637
54778
|
(0, common_1.assertParamExists)('getSourceSubtypeById', 'subtypeId', subtypeId);
|
|
54779
|
+
if (xSailPointExperimental === undefined) {
|
|
54780
|
+
xSailPointExperimental = 'true';
|
|
54781
|
+
}
|
|
54638
54782
|
localVarPath = "/source-subtypes/{subtypeId}"
|
|
54639
54783
|
.replace("{".concat("subtypeId", "}"), encodeURIComponent(String(subtypeId)));
|
|
54640
54784
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -54671,6 +54815,9 @@ var MachineAccountSubtypesV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
54671
54815
|
// authentication applicationAuth required
|
|
54672
54816
|
// oauth required
|
|
54673
54817
|
_a.sent();
|
|
54818
|
+
if (xSailPointExperimental != null) {
|
|
54819
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
54820
|
+
}
|
|
54674
54821
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
54675
54822
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
54676
54823
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -54682,15 +54829,175 @@ var MachineAccountSubtypesV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
54682
54829
|
});
|
|
54683
54830
|
});
|
|
54684
54831
|
},
|
|
54832
|
+
/**
|
|
54833
|
+
* Get all machine account subtypes.
|
|
54834
|
+
* @summary Retrieve all subtypes
|
|
54835
|
+
* @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in, sw* **displayName**: *eq, sw* **technicalName**: *eq, sw* **source.id**: *eq, in*
|
|
54836
|
+
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **displayName, technicalName**
|
|
54837
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
54838
|
+
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
54839
|
+
* @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
54840
|
+
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
54841
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
54842
|
+
* @throws {RequiredError}
|
|
54843
|
+
*/
|
|
54844
|
+
listSourceSubtypes: function (filters, sorters, xSailPointExperimental, count, limit, offset, axiosOptions) {
|
|
54845
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
54846
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
54847
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
54848
|
+
return __generator(this, function (_a) {
|
|
54849
|
+
switch (_a.label) {
|
|
54850
|
+
case 0:
|
|
54851
|
+
if (xSailPointExperimental === undefined) {
|
|
54852
|
+
xSailPointExperimental = 'true';
|
|
54853
|
+
}
|
|
54854
|
+
localVarPath = "/source-subtypes";
|
|
54855
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
54856
|
+
if (configuration) {
|
|
54857
|
+
baseOptions = configuration.baseOptions;
|
|
54858
|
+
}
|
|
54859
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
|
|
54860
|
+
localVarHeaderParameter = {};
|
|
54861
|
+
localVarQueryParameter = {};
|
|
54862
|
+
// authentication userAuth required
|
|
54863
|
+
// oauth required
|
|
54864
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
|
|
54865
|
+
// authentication userAuth required
|
|
54866
|
+
// oauth required
|
|
54867
|
+
];
|
|
54868
|
+
case 1:
|
|
54869
|
+
// authentication userAuth required
|
|
54870
|
+
// oauth required
|
|
54871
|
+
_a.sent();
|
|
54872
|
+
// authentication userAuth required
|
|
54873
|
+
// oauth required
|
|
54874
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
|
|
54875
|
+
// authentication applicationAuth required
|
|
54876
|
+
// oauth required
|
|
54877
|
+
];
|
|
54878
|
+
case 2:
|
|
54879
|
+
// authentication userAuth required
|
|
54880
|
+
// oauth required
|
|
54881
|
+
_a.sent();
|
|
54882
|
+
// authentication applicationAuth required
|
|
54883
|
+
// oauth required
|
|
54884
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "applicationAuth", [], configuration)];
|
|
54885
|
+
case 3:
|
|
54886
|
+
// authentication applicationAuth required
|
|
54887
|
+
// oauth required
|
|
54888
|
+
_a.sent();
|
|
54889
|
+
if (filters !== undefined) {
|
|
54890
|
+
localVarQueryParameter['filters'] = filters;
|
|
54891
|
+
}
|
|
54892
|
+
if (sorters !== undefined) {
|
|
54893
|
+
localVarQueryParameter['sorters'] = sorters;
|
|
54894
|
+
}
|
|
54895
|
+
if (count !== undefined) {
|
|
54896
|
+
localVarQueryParameter['count'] = count;
|
|
54897
|
+
}
|
|
54898
|
+
if (limit !== undefined) {
|
|
54899
|
+
localVarQueryParameter['limit'] = limit;
|
|
54900
|
+
}
|
|
54901
|
+
if (offset !== undefined) {
|
|
54902
|
+
localVarQueryParameter['offset'] = offset;
|
|
54903
|
+
}
|
|
54904
|
+
if (xSailPointExperimental != null) {
|
|
54905
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
54906
|
+
}
|
|
54907
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
54908
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
54909
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
54910
|
+
return [2 /*return*/, {
|
|
54911
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
54912
|
+
axiosOptions: localVarRequestOptions,
|
|
54913
|
+
}];
|
|
54914
|
+
}
|
|
54915
|
+
});
|
|
54916
|
+
});
|
|
54917
|
+
},
|
|
54918
|
+
/**
|
|
54919
|
+
* This endpoint retrieves the subtypes for given subtypeIds.
|
|
54920
|
+
* @summary Bulk Retrieve of Source Subtypes
|
|
54921
|
+
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
54922
|
+
* @param {Array<string>} requestBody
|
|
54923
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
54924
|
+
* @throws {RequiredError}
|
|
54925
|
+
*/
|
|
54926
|
+
loadBulkSourceSubtypes: function (xSailPointExperimental, requestBody, axiosOptions) {
|
|
54927
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
54928
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
54929
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
54930
|
+
return __generator(this, function (_a) {
|
|
54931
|
+
switch (_a.label) {
|
|
54932
|
+
case 0:
|
|
54933
|
+
if (xSailPointExperimental === undefined) {
|
|
54934
|
+
xSailPointExperimental = 'true';
|
|
54935
|
+
}
|
|
54936
|
+
// verify required parameter 'xSailPointExperimental' is not null or undefined
|
|
54937
|
+
(0, common_1.assertParamExists)('loadBulkSourceSubtypes', 'xSailPointExperimental', xSailPointExperimental);
|
|
54938
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
54939
|
+
(0, common_1.assertParamExists)('loadBulkSourceSubtypes', 'requestBody', requestBody);
|
|
54940
|
+
localVarPath = "/source-subtypes/bulk-retrieve";
|
|
54941
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
54942
|
+
if (configuration) {
|
|
54943
|
+
baseOptions = configuration.baseOptions;
|
|
54944
|
+
}
|
|
54945
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
|
|
54946
|
+
localVarHeaderParameter = {};
|
|
54947
|
+
localVarQueryParameter = {};
|
|
54948
|
+
// authentication userAuth required
|
|
54949
|
+
// oauth required
|
|
54950
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
|
|
54951
|
+
// authentication userAuth required
|
|
54952
|
+
// oauth required
|
|
54953
|
+
];
|
|
54954
|
+
case 1:
|
|
54955
|
+
// authentication userAuth required
|
|
54956
|
+
// oauth required
|
|
54957
|
+
_a.sent();
|
|
54958
|
+
// authentication userAuth required
|
|
54959
|
+
// oauth required
|
|
54960
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
|
|
54961
|
+
// authentication applicationAuth required
|
|
54962
|
+
// oauth required
|
|
54963
|
+
];
|
|
54964
|
+
case 2:
|
|
54965
|
+
// authentication userAuth required
|
|
54966
|
+
// oauth required
|
|
54967
|
+
_a.sent();
|
|
54968
|
+
// authentication applicationAuth required
|
|
54969
|
+
// oauth required
|
|
54970
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "applicationAuth", [], configuration)];
|
|
54971
|
+
case 3:
|
|
54972
|
+
// authentication applicationAuth required
|
|
54973
|
+
// oauth required
|
|
54974
|
+
_a.sent();
|
|
54975
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
54976
|
+
if (xSailPointExperimental != null) {
|
|
54977
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
54978
|
+
}
|
|
54979
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
54980
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
54981
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
54982
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
|
|
54983
|
+
return [2 /*return*/, {
|
|
54984
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
54985
|
+
axiosOptions: localVarRequestOptions,
|
|
54986
|
+
}];
|
|
54987
|
+
}
|
|
54988
|
+
});
|
|
54989
|
+
});
|
|
54990
|
+
},
|
|
54685
54991
|
/**
|
|
54686
54992
|
* Update fields of a machine account subtype by subtype ID. Patchable fields only include: `displayName`, `description`.
|
|
54687
54993
|
* @summary Patch subtype by ID
|
|
54688
54994
|
* @param {string} subtypeId The ID of the subtype.
|
|
54689
54995
|
* @param {Array<object>} requestBody A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
|
54996
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
54690
54997
|
* @param {*} [axiosOptions] Override http request option.
|
|
54691
54998
|
* @throws {RequiredError}
|
|
54692
54999
|
*/
|
|
54693
|
-
patchMachineAccountSubtype: function (subtypeId, requestBody, axiosOptions) {
|
|
55000
|
+
patchMachineAccountSubtype: function (subtypeId, requestBody, xSailPointExperimental, axiosOptions) {
|
|
54694
55001
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
54695
55002
|
return __awaiter(_this, void 0, void 0, function () {
|
|
54696
55003
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -54701,6 +55008,9 @@ var MachineAccountSubtypesV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
54701
55008
|
(0, common_1.assertParamExists)('patchMachineAccountSubtype', 'subtypeId', subtypeId);
|
|
54702
55009
|
// verify required parameter 'requestBody' is not null or undefined
|
|
54703
55010
|
(0, common_1.assertParamExists)('patchMachineAccountSubtype', 'requestBody', requestBody);
|
|
55011
|
+
if (xSailPointExperimental === undefined) {
|
|
55012
|
+
xSailPointExperimental = 'true';
|
|
55013
|
+
}
|
|
54704
55014
|
localVarPath = "/source-subtypes/{subtypeId}"
|
|
54705
55015
|
.replace("{".concat("subtypeId", "}"), encodeURIComponent(String(subtypeId)));
|
|
54706
55016
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -54738,6 +55048,9 @@ var MachineAccountSubtypesV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
54738
55048
|
// oauth required
|
|
54739
55049
|
_a.sent();
|
|
54740
55050
|
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
55051
|
+
if (xSailPointExperimental != null) {
|
|
55052
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
55053
|
+
}
|
|
54741
55054
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
54742
55055
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
54743
55056
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -54750,6 +55063,73 @@ var MachineAccountSubtypesV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
54750
55063
|
});
|
|
54751
55064
|
});
|
|
54752
55065
|
},
|
|
55066
|
+
/**
|
|
55067
|
+
* Updates the approval configuration for machine account deletion at the specified machine subtype level. This endpoint allows clients to modify approval rules and settings (such as required approvers and comments policy) for account creation and deletion workflows associated with a given subtypeId. Use this to customize or enforce approval requirements for creating and deleting machine accounts of a particular subtype.
|
|
55068
|
+
* @summary Machine Subtype Approval Config
|
|
55069
|
+
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
55070
|
+
* @param {string} subtypeId machine account subtype ID.
|
|
55071
|
+
* @param {Array<JsonPatchOperationV2026>} jsonPatchOperationV2026 The JSONPatch payload used to update the object.
|
|
55072
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
55073
|
+
* @throws {RequiredError}
|
|
55074
|
+
*/
|
|
55075
|
+
updateMachineAccountSubtypeApprovalConfig: function (xSailPointExperimental, subtypeId, jsonPatchOperationV2026, axiosOptions) {
|
|
55076
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
55077
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
55078
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
55079
|
+
return __generator(this, function (_a) {
|
|
55080
|
+
switch (_a.label) {
|
|
55081
|
+
case 0:
|
|
55082
|
+
if (xSailPointExperimental === undefined) {
|
|
55083
|
+
xSailPointExperimental = 'true';
|
|
55084
|
+
}
|
|
55085
|
+
// verify required parameter 'xSailPointExperimental' is not null or undefined
|
|
55086
|
+
(0, common_1.assertParamExists)('updateMachineAccountSubtypeApprovalConfig', 'xSailPointExperimental', xSailPointExperimental);
|
|
55087
|
+
// verify required parameter 'subtypeId' is not null or undefined
|
|
55088
|
+
(0, common_1.assertParamExists)('updateMachineAccountSubtypeApprovalConfig', 'subtypeId', subtypeId);
|
|
55089
|
+
// verify required parameter 'jsonPatchOperationV2026' is not null or undefined
|
|
55090
|
+
(0, common_1.assertParamExists)('updateMachineAccountSubtypeApprovalConfig', 'jsonPatchOperationV2026', jsonPatchOperationV2026);
|
|
55091
|
+
localVarPath = "/source-subtypes/{subtypeId}/machine-config"
|
|
55092
|
+
.replace("{".concat("subtypeId", "}"), encodeURIComponent(String(subtypeId)));
|
|
55093
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
55094
|
+
if (configuration) {
|
|
55095
|
+
baseOptions = configuration.baseOptions;
|
|
55096
|
+
}
|
|
55097
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), axiosOptions);
|
|
55098
|
+
localVarHeaderParameter = {};
|
|
55099
|
+
localVarQueryParameter = {};
|
|
55100
|
+
// authentication userAuth required
|
|
55101
|
+
// oauth required
|
|
55102
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
|
|
55103
|
+
// authentication userAuth required
|
|
55104
|
+
// oauth required
|
|
55105
|
+
];
|
|
55106
|
+
case 1:
|
|
55107
|
+
// authentication userAuth required
|
|
55108
|
+
// oauth required
|
|
55109
|
+
_a.sent();
|
|
55110
|
+
// authentication userAuth required
|
|
55111
|
+
// oauth required
|
|
55112
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)];
|
|
55113
|
+
case 2:
|
|
55114
|
+
// authentication userAuth required
|
|
55115
|
+
// oauth required
|
|
55116
|
+
_a.sent();
|
|
55117
|
+
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
55118
|
+
if (xSailPointExperimental != null) {
|
|
55119
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
55120
|
+
}
|
|
55121
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
55122
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
55123
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
55124
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(jsonPatchOperationV2026, localVarRequestOptions, configuration);
|
|
55125
|
+
return [2 /*return*/, {
|
|
55126
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
55127
|
+
axiosOptions: localVarRequestOptions,
|
|
55128
|
+
}];
|
|
55129
|
+
}
|
|
55130
|
+
});
|
|
55131
|
+
});
|
|
55132
|
+
},
|
|
54753
55133
|
};
|
|
54754
55134
|
};
|
|
54755
55135
|
exports.MachineAccountSubtypesV2026ApiAxiosParamCreator = MachineAccountSubtypesV2026ApiAxiosParamCreator;
|
|
@@ -54760,20 +55140,45 @@ exports.MachineAccountSubtypesV2026ApiAxiosParamCreator = MachineAccountSubtypes
|
|
|
54760
55140
|
var MachineAccountSubtypesV2026ApiFp = function (configuration) {
|
|
54761
55141
|
var localVarAxiosParamCreator = (0, exports.MachineAccountSubtypesV2026ApiAxiosParamCreator)(configuration);
|
|
54762
55142
|
return {
|
|
55143
|
+
/**
|
|
55144
|
+
* Create a new machine account subtype.
|
|
55145
|
+
* @summary Create subtype
|
|
55146
|
+
* @param {CreateSourceSubtypeRequestV2026} createSourceSubtypeRequestV2026
|
|
55147
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
55148
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
55149
|
+
* @throws {RequiredError}
|
|
55150
|
+
*/
|
|
55151
|
+
createSourceSubtype: function (createSourceSubtypeRequestV2026, xSailPointExperimental, axiosOptions) {
|
|
55152
|
+
var _a, _b, _c;
|
|
55153
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
55154
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
55155
|
+
return __generator(this, function (_d) {
|
|
55156
|
+
switch (_d.label) {
|
|
55157
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createSourceSubtype(createSourceSubtypeRequestV2026, xSailPointExperimental, axiosOptions)];
|
|
55158
|
+
case 1:
|
|
55159
|
+
localVarAxiosArgs = _d.sent();
|
|
55160
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
55161
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MachineAccountSubtypesV2026Api.createSourceSubtype']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
55162
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
55163
|
+
}
|
|
55164
|
+
});
|
|
55165
|
+
});
|
|
55166
|
+
},
|
|
54763
55167
|
/**
|
|
54764
55168
|
* Delete a machine account subtype by subtype ID. Note: If subtype has approval settings or entitlement for machine account creation enablement then it\'ll be also deleted.
|
|
54765
55169
|
* @summary Delete subtype by ID
|
|
54766
55170
|
* @param {string} subtypeId The ID of the subtype.
|
|
55171
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
54767
55172
|
* @param {*} [axiosOptions] Override http request option.
|
|
54768
55173
|
* @throws {RequiredError}
|
|
54769
55174
|
*/
|
|
54770
|
-
deleteMachineAccountSubtype: function (subtypeId, axiosOptions) {
|
|
55175
|
+
deleteMachineAccountSubtype: function (subtypeId, xSailPointExperimental, axiosOptions) {
|
|
54771
55176
|
var _a, _b, _c;
|
|
54772
55177
|
return __awaiter(this, void 0, void 0, function () {
|
|
54773
55178
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
54774
55179
|
return __generator(this, function (_d) {
|
|
54775
55180
|
switch (_d.label) {
|
|
54776
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteMachineAccountSubtype(subtypeId, axiosOptions)];
|
|
55181
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteMachineAccountSubtype(subtypeId, xSailPointExperimental, axiosOptions)];
|
|
54777
55182
|
case 1:
|
|
54778
55183
|
localVarAxiosArgs = _d.sent();
|
|
54779
55184
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -54783,20 +55188,45 @@ var MachineAccountSubtypesV2026ApiFp = function (configuration) {
|
|
|
54783
55188
|
});
|
|
54784
55189
|
});
|
|
54785
55190
|
},
|
|
55191
|
+
/**
|
|
55192
|
+
* This endpoint retrieves the approval configuration for machine account creation and deletion at the machine subtype level. By providing a specific subtypeId in the path, clients can fetch the approval rules and settings (such as required approvers and comments policy) that govern account creation and deletion for that particular machine subtype. The response includes a MachineAccountSubtypeConfigDto object detailing these configurations, enabling clients to understand or display the approval workflow required for creating and deleting machine accounts of the given subtype. Use this endpoint to get machine subtype level approval config for account creation and deletion.
|
|
55193
|
+
* @summary Machine Subtype Approval Config
|
|
55194
|
+
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
55195
|
+
* @param {string} subtypeId machine subtype id.
|
|
55196
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
55197
|
+
* @throws {RequiredError}
|
|
55198
|
+
*/
|
|
55199
|
+
getMachineAccountSubtypeApprovalConfig: function (xSailPointExperimental, subtypeId, axiosOptions) {
|
|
55200
|
+
var _a, _b, _c;
|
|
55201
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
55202
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
55203
|
+
return __generator(this, function (_d) {
|
|
55204
|
+
switch (_d.label) {
|
|
55205
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getMachineAccountSubtypeApprovalConfig(xSailPointExperimental, subtypeId, axiosOptions)];
|
|
55206
|
+
case 1:
|
|
55207
|
+
localVarAxiosArgs = _d.sent();
|
|
55208
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
55209
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MachineAccountSubtypesV2026Api.getMachineAccountSubtypeApprovalConfig']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
55210
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
55211
|
+
}
|
|
55212
|
+
});
|
|
55213
|
+
});
|
|
55214
|
+
},
|
|
54786
55215
|
/**
|
|
54787
55216
|
* Get a machine account subtype by subtype ID.
|
|
54788
55217
|
* @summary Get subtype by ID
|
|
54789
55218
|
* @param {string} subtypeId The ID of the subtype.
|
|
55219
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
54790
55220
|
* @param {*} [axiosOptions] Override http request option.
|
|
54791
55221
|
* @throws {RequiredError}
|
|
54792
55222
|
*/
|
|
54793
|
-
getSourceSubtypeById: function (subtypeId, axiosOptions) {
|
|
55223
|
+
getSourceSubtypeById: function (subtypeId, xSailPointExperimental, axiosOptions) {
|
|
54794
55224
|
var _a, _b, _c;
|
|
54795
55225
|
return __awaiter(this, void 0, void 0, function () {
|
|
54796
55226
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
54797
55227
|
return __generator(this, function (_d) {
|
|
54798
55228
|
switch (_d.label) {
|
|
54799
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getSourceSubtypeById(subtypeId, axiosOptions)];
|
|
55229
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getSourceSubtypeById(subtypeId, xSailPointExperimental, axiosOptions)];
|
|
54800
55230
|
case 1:
|
|
54801
55231
|
localVarAxiosArgs = _d.sent();
|
|
54802
55232
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -54806,21 +55236,74 @@ var MachineAccountSubtypesV2026ApiFp = function (configuration) {
|
|
|
54806
55236
|
});
|
|
54807
55237
|
});
|
|
54808
55238
|
},
|
|
55239
|
+
/**
|
|
55240
|
+
* Get all machine account subtypes.
|
|
55241
|
+
* @summary Retrieve all subtypes
|
|
55242
|
+
* @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in, sw* **displayName**: *eq, sw* **technicalName**: *eq, sw* **source.id**: *eq, in*
|
|
55243
|
+
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **displayName, technicalName**
|
|
55244
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
55245
|
+
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
55246
|
+
* @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
55247
|
+
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
55248
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
55249
|
+
* @throws {RequiredError}
|
|
55250
|
+
*/
|
|
55251
|
+
listSourceSubtypes: function (filters, sorters, xSailPointExperimental, count, limit, offset, axiosOptions) {
|
|
55252
|
+
var _a, _b, _c;
|
|
55253
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
55254
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
55255
|
+
return __generator(this, function (_d) {
|
|
55256
|
+
switch (_d.label) {
|
|
55257
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listSourceSubtypes(filters, sorters, xSailPointExperimental, count, limit, offset, axiosOptions)];
|
|
55258
|
+
case 1:
|
|
55259
|
+
localVarAxiosArgs = _d.sent();
|
|
55260
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
55261
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MachineAccountSubtypesV2026Api.listSourceSubtypes']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
55262
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
55263
|
+
}
|
|
55264
|
+
});
|
|
55265
|
+
});
|
|
55266
|
+
},
|
|
55267
|
+
/**
|
|
55268
|
+
* This endpoint retrieves the subtypes for given subtypeIds.
|
|
55269
|
+
* @summary Bulk Retrieve of Source Subtypes
|
|
55270
|
+
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
55271
|
+
* @param {Array<string>} requestBody
|
|
55272
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
55273
|
+
* @throws {RequiredError}
|
|
55274
|
+
*/
|
|
55275
|
+
loadBulkSourceSubtypes: function (xSailPointExperimental, requestBody, axiosOptions) {
|
|
55276
|
+
var _a, _b, _c;
|
|
55277
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
55278
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
55279
|
+
return __generator(this, function (_d) {
|
|
55280
|
+
switch (_d.label) {
|
|
55281
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.loadBulkSourceSubtypes(xSailPointExperimental, requestBody, axiosOptions)];
|
|
55282
|
+
case 1:
|
|
55283
|
+
localVarAxiosArgs = _d.sent();
|
|
55284
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
55285
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MachineAccountSubtypesV2026Api.loadBulkSourceSubtypes']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
55286
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
55287
|
+
}
|
|
55288
|
+
});
|
|
55289
|
+
});
|
|
55290
|
+
},
|
|
54809
55291
|
/**
|
|
54810
55292
|
* Update fields of a machine account subtype by subtype ID. Patchable fields only include: `displayName`, `description`.
|
|
54811
55293
|
* @summary Patch subtype by ID
|
|
54812
55294
|
* @param {string} subtypeId The ID of the subtype.
|
|
54813
55295
|
* @param {Array<object>} requestBody A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
|
55296
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
54814
55297
|
* @param {*} [axiosOptions] Override http request option.
|
|
54815
55298
|
* @throws {RequiredError}
|
|
54816
55299
|
*/
|
|
54817
|
-
patchMachineAccountSubtype: function (subtypeId, requestBody, axiosOptions) {
|
|
55300
|
+
patchMachineAccountSubtype: function (subtypeId, requestBody, xSailPointExperimental, axiosOptions) {
|
|
54818
55301
|
var _a, _b, _c;
|
|
54819
55302
|
return __awaiter(this, void 0, void 0, function () {
|
|
54820
55303
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
54821
55304
|
return __generator(this, function (_d) {
|
|
54822
55305
|
switch (_d.label) {
|
|
54823
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchMachineAccountSubtype(subtypeId, requestBody, axiosOptions)];
|
|
55306
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchMachineAccountSubtype(subtypeId, requestBody, xSailPointExperimental, axiosOptions)];
|
|
54824
55307
|
case 1:
|
|
54825
55308
|
localVarAxiosArgs = _d.sent();
|
|
54826
55309
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -54830,6 +55313,31 @@ var MachineAccountSubtypesV2026ApiFp = function (configuration) {
|
|
|
54830
55313
|
});
|
|
54831
55314
|
});
|
|
54832
55315
|
},
|
|
55316
|
+
/**
|
|
55317
|
+
* Updates the approval configuration for machine account deletion at the specified machine subtype level. This endpoint allows clients to modify approval rules and settings (such as required approvers and comments policy) for account creation and deletion workflows associated with a given subtypeId. Use this to customize or enforce approval requirements for creating and deleting machine accounts of a particular subtype.
|
|
55318
|
+
* @summary Machine Subtype Approval Config
|
|
55319
|
+
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
55320
|
+
* @param {string} subtypeId machine account subtype ID.
|
|
55321
|
+
* @param {Array<JsonPatchOperationV2026>} jsonPatchOperationV2026 The JSONPatch payload used to update the object.
|
|
55322
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
55323
|
+
* @throws {RequiredError}
|
|
55324
|
+
*/
|
|
55325
|
+
updateMachineAccountSubtypeApprovalConfig: function (xSailPointExperimental, subtypeId, jsonPatchOperationV2026, axiosOptions) {
|
|
55326
|
+
var _a, _b, _c;
|
|
55327
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
55328
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
55329
|
+
return __generator(this, function (_d) {
|
|
55330
|
+
switch (_d.label) {
|
|
55331
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateMachineAccountSubtypeApprovalConfig(xSailPointExperimental, subtypeId, jsonPatchOperationV2026, axiosOptions)];
|
|
55332
|
+
case 1:
|
|
55333
|
+
localVarAxiosArgs = _d.sent();
|
|
55334
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
55335
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MachineAccountSubtypesV2026Api.updateMachineAccountSubtypeApprovalConfig']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
55336
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
55337
|
+
}
|
|
55338
|
+
});
|
|
55339
|
+
});
|
|
55340
|
+
},
|
|
54833
55341
|
};
|
|
54834
55342
|
};
|
|
54835
55343
|
exports.MachineAccountSubtypesV2026ApiFp = MachineAccountSubtypesV2026ApiFp;
|
|
@@ -54840,6 +55348,16 @@ exports.MachineAccountSubtypesV2026ApiFp = MachineAccountSubtypesV2026ApiFp;
|
|
|
54840
55348
|
var MachineAccountSubtypesV2026ApiFactory = function (configuration, basePath, axios) {
|
|
54841
55349
|
var localVarFp = (0, exports.MachineAccountSubtypesV2026ApiFp)(configuration);
|
|
54842
55350
|
return {
|
|
55351
|
+
/**
|
|
55352
|
+
* Create a new machine account subtype.
|
|
55353
|
+
* @summary Create subtype
|
|
55354
|
+
* @param {MachineAccountSubtypesV2026ApiCreateSourceSubtypeRequest} requestParameters Request parameters.
|
|
55355
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
55356
|
+
* @throws {RequiredError}
|
|
55357
|
+
*/
|
|
55358
|
+
createSourceSubtype: function (requestParameters, axiosOptions) {
|
|
55359
|
+
return localVarFp.createSourceSubtype(requestParameters.createSourceSubtypeRequestV2026, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
55360
|
+
},
|
|
54843
55361
|
/**
|
|
54844
55362
|
* Delete a machine account subtype by subtype ID. Note: If subtype has approval settings or entitlement for machine account creation enablement then it\'ll be also deleted.
|
|
54845
55363
|
* @summary Delete subtype by ID
|
|
@@ -54848,7 +55366,17 @@ var MachineAccountSubtypesV2026ApiFactory = function (configuration, basePath, a
|
|
|
54848
55366
|
* @throws {RequiredError}
|
|
54849
55367
|
*/
|
|
54850
55368
|
deleteMachineAccountSubtype: function (requestParameters, axiosOptions) {
|
|
54851
|
-
return localVarFp.deleteMachineAccountSubtype(requestParameters.subtypeId, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
55369
|
+
return localVarFp.deleteMachineAccountSubtype(requestParameters.subtypeId, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
55370
|
+
},
|
|
55371
|
+
/**
|
|
55372
|
+
* This endpoint retrieves the approval configuration for machine account creation and deletion at the machine subtype level. By providing a specific subtypeId in the path, clients can fetch the approval rules and settings (such as required approvers and comments policy) that govern account creation and deletion for that particular machine subtype. The response includes a MachineAccountSubtypeConfigDto object detailing these configurations, enabling clients to understand or display the approval workflow required for creating and deleting machine accounts of the given subtype. Use this endpoint to get machine subtype level approval config for account creation and deletion.
|
|
55373
|
+
* @summary Machine Subtype Approval Config
|
|
55374
|
+
* @param {MachineAccountSubtypesV2026ApiGetMachineAccountSubtypeApprovalConfigRequest} requestParameters Request parameters.
|
|
55375
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
55376
|
+
* @throws {RequiredError}
|
|
55377
|
+
*/
|
|
55378
|
+
getMachineAccountSubtypeApprovalConfig: function (requestParameters, axiosOptions) {
|
|
55379
|
+
return localVarFp.getMachineAccountSubtypeApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.subtypeId, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
54852
55380
|
},
|
|
54853
55381
|
/**
|
|
54854
55382
|
* Get a machine account subtype by subtype ID.
|
|
@@ -54858,7 +55386,28 @@ var MachineAccountSubtypesV2026ApiFactory = function (configuration, basePath, a
|
|
|
54858
55386
|
* @throws {RequiredError}
|
|
54859
55387
|
*/
|
|
54860
55388
|
getSourceSubtypeById: function (requestParameters, axiosOptions) {
|
|
54861
|
-
return localVarFp.getSourceSubtypeById(requestParameters.subtypeId, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
55389
|
+
return localVarFp.getSourceSubtypeById(requestParameters.subtypeId, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
55390
|
+
},
|
|
55391
|
+
/**
|
|
55392
|
+
* Get all machine account subtypes.
|
|
55393
|
+
* @summary Retrieve all subtypes
|
|
55394
|
+
* @param {MachineAccountSubtypesV2026ApiListSourceSubtypesRequest} requestParameters Request parameters.
|
|
55395
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
55396
|
+
* @throws {RequiredError}
|
|
55397
|
+
*/
|
|
55398
|
+
listSourceSubtypes: function (requestParameters, axiosOptions) {
|
|
55399
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
55400
|
+
return localVarFp.listSourceSubtypes(requestParameters.filters, requestParameters.sorters, requestParameters.xSailPointExperimental, requestParameters.count, requestParameters.limit, requestParameters.offset, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
55401
|
+
},
|
|
55402
|
+
/**
|
|
55403
|
+
* This endpoint retrieves the subtypes for given subtypeIds.
|
|
55404
|
+
* @summary Bulk Retrieve of Source Subtypes
|
|
55405
|
+
* @param {MachineAccountSubtypesV2026ApiLoadBulkSourceSubtypesRequest} requestParameters Request parameters.
|
|
55406
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
55407
|
+
* @throws {RequiredError}
|
|
55408
|
+
*/
|
|
55409
|
+
loadBulkSourceSubtypes: function (requestParameters, axiosOptions) {
|
|
55410
|
+
return localVarFp.loadBulkSourceSubtypes(requestParameters.xSailPointExperimental, requestParameters.requestBody, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
54862
55411
|
},
|
|
54863
55412
|
/**
|
|
54864
55413
|
* Update fields of a machine account subtype by subtype ID. Patchable fields only include: `displayName`, `description`.
|
|
@@ -54868,7 +55417,17 @@ var MachineAccountSubtypesV2026ApiFactory = function (configuration, basePath, a
|
|
|
54868
55417
|
* @throws {RequiredError}
|
|
54869
55418
|
*/
|
|
54870
55419
|
patchMachineAccountSubtype: function (requestParameters, axiosOptions) {
|
|
54871
|
-
return localVarFp.patchMachineAccountSubtype(requestParameters.subtypeId, requestParameters.requestBody, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
55420
|
+
return localVarFp.patchMachineAccountSubtype(requestParameters.subtypeId, requestParameters.requestBody, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
55421
|
+
},
|
|
55422
|
+
/**
|
|
55423
|
+
* Updates the approval configuration for machine account deletion at the specified machine subtype level. This endpoint allows clients to modify approval rules and settings (such as required approvers and comments policy) for account creation and deletion workflows associated with a given subtypeId. Use this to customize or enforce approval requirements for creating and deleting machine accounts of a particular subtype.
|
|
55424
|
+
* @summary Machine Subtype Approval Config
|
|
55425
|
+
* @param {MachineAccountSubtypesV2026ApiUpdateMachineAccountSubtypeApprovalConfigRequest} requestParameters Request parameters.
|
|
55426
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
55427
|
+
* @throws {RequiredError}
|
|
55428
|
+
*/
|
|
55429
|
+
updateMachineAccountSubtypeApprovalConfig: function (requestParameters, axiosOptions) {
|
|
55430
|
+
return localVarFp.updateMachineAccountSubtypeApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.subtypeId, requestParameters.jsonPatchOperationV2026, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
54872
55431
|
},
|
|
54873
55432
|
};
|
|
54874
55433
|
};
|
|
@@ -54884,6 +55443,18 @@ var MachineAccountSubtypesV2026Api = /** @class */ (function (_super) {
|
|
|
54884
55443
|
function MachineAccountSubtypesV2026Api() {
|
|
54885
55444
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
54886
55445
|
}
|
|
55446
|
+
/**
|
|
55447
|
+
* Create a new machine account subtype.
|
|
55448
|
+
* @summary Create subtype
|
|
55449
|
+
* @param {MachineAccountSubtypesV2026ApiCreateSourceSubtypeRequest} requestParameters Request parameters.
|
|
55450
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
55451
|
+
* @throws {RequiredError}
|
|
55452
|
+
* @memberof MachineAccountSubtypesV2026Api
|
|
55453
|
+
*/
|
|
55454
|
+
MachineAccountSubtypesV2026Api.prototype.createSourceSubtype = function (requestParameters, axiosOptions) {
|
|
55455
|
+
var _this = this;
|
|
55456
|
+
return (0, exports.MachineAccountSubtypesV2026ApiFp)(this.configuration).createSourceSubtype(requestParameters.createSourceSubtypeRequestV2026, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
55457
|
+
};
|
|
54887
55458
|
/**
|
|
54888
55459
|
* Delete a machine account subtype by subtype ID. Note: If subtype has approval settings or entitlement for machine account creation enablement then it\'ll be also deleted.
|
|
54889
55460
|
* @summary Delete subtype by ID
|
|
@@ -54894,7 +55465,19 @@ var MachineAccountSubtypesV2026Api = /** @class */ (function (_super) {
|
|
|
54894
55465
|
*/
|
|
54895
55466
|
MachineAccountSubtypesV2026Api.prototype.deleteMachineAccountSubtype = function (requestParameters, axiosOptions) {
|
|
54896
55467
|
var _this = this;
|
|
54897
|
-
return (0, exports.MachineAccountSubtypesV2026ApiFp)(this.configuration).deleteMachineAccountSubtype(requestParameters.subtypeId, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
55468
|
+
return (0, exports.MachineAccountSubtypesV2026ApiFp)(this.configuration).deleteMachineAccountSubtype(requestParameters.subtypeId, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
55469
|
+
};
|
|
55470
|
+
/**
|
|
55471
|
+
* This endpoint retrieves the approval configuration for machine account creation and deletion at the machine subtype level. By providing a specific subtypeId in the path, clients can fetch the approval rules and settings (such as required approvers and comments policy) that govern account creation and deletion for that particular machine subtype. The response includes a MachineAccountSubtypeConfigDto object detailing these configurations, enabling clients to understand or display the approval workflow required for creating and deleting machine accounts of the given subtype. Use this endpoint to get machine subtype level approval config for account creation and deletion.
|
|
55472
|
+
* @summary Machine Subtype Approval Config
|
|
55473
|
+
* @param {MachineAccountSubtypesV2026ApiGetMachineAccountSubtypeApprovalConfigRequest} requestParameters Request parameters.
|
|
55474
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
55475
|
+
* @throws {RequiredError}
|
|
55476
|
+
* @memberof MachineAccountSubtypesV2026Api
|
|
55477
|
+
*/
|
|
55478
|
+
MachineAccountSubtypesV2026Api.prototype.getMachineAccountSubtypeApprovalConfig = function (requestParameters, axiosOptions) {
|
|
55479
|
+
var _this = this;
|
|
55480
|
+
return (0, exports.MachineAccountSubtypesV2026ApiFp)(this.configuration).getMachineAccountSubtypeApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.subtypeId, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
54898
55481
|
};
|
|
54899
55482
|
/**
|
|
54900
55483
|
* Get a machine account subtype by subtype ID.
|
|
@@ -54906,7 +55489,32 @@ var MachineAccountSubtypesV2026Api = /** @class */ (function (_super) {
|
|
|
54906
55489
|
*/
|
|
54907
55490
|
MachineAccountSubtypesV2026Api.prototype.getSourceSubtypeById = function (requestParameters, axiosOptions) {
|
|
54908
55491
|
var _this = this;
|
|
54909
|
-
return (0, exports.MachineAccountSubtypesV2026ApiFp)(this.configuration).getSourceSubtypeById(requestParameters.subtypeId, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
55492
|
+
return (0, exports.MachineAccountSubtypesV2026ApiFp)(this.configuration).getSourceSubtypeById(requestParameters.subtypeId, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
55493
|
+
};
|
|
55494
|
+
/**
|
|
55495
|
+
* Get all machine account subtypes.
|
|
55496
|
+
* @summary Retrieve all subtypes
|
|
55497
|
+
* @param {MachineAccountSubtypesV2026ApiListSourceSubtypesRequest} requestParameters Request parameters.
|
|
55498
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
55499
|
+
* @throws {RequiredError}
|
|
55500
|
+
* @memberof MachineAccountSubtypesV2026Api
|
|
55501
|
+
*/
|
|
55502
|
+
MachineAccountSubtypesV2026Api.prototype.listSourceSubtypes = function (requestParameters, axiosOptions) {
|
|
55503
|
+
var _this = this;
|
|
55504
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
55505
|
+
return (0, exports.MachineAccountSubtypesV2026ApiFp)(this.configuration).listSourceSubtypes(requestParameters.filters, requestParameters.sorters, requestParameters.xSailPointExperimental, requestParameters.count, requestParameters.limit, requestParameters.offset, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
55506
|
+
};
|
|
55507
|
+
/**
|
|
55508
|
+
* This endpoint retrieves the subtypes for given subtypeIds.
|
|
55509
|
+
* @summary Bulk Retrieve of Source Subtypes
|
|
55510
|
+
* @param {MachineAccountSubtypesV2026ApiLoadBulkSourceSubtypesRequest} requestParameters Request parameters.
|
|
55511
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
55512
|
+
* @throws {RequiredError}
|
|
55513
|
+
* @memberof MachineAccountSubtypesV2026Api
|
|
55514
|
+
*/
|
|
55515
|
+
MachineAccountSubtypesV2026Api.prototype.loadBulkSourceSubtypes = function (requestParameters, axiosOptions) {
|
|
55516
|
+
var _this = this;
|
|
55517
|
+
return (0, exports.MachineAccountSubtypesV2026ApiFp)(this.configuration).loadBulkSourceSubtypes(requestParameters.xSailPointExperimental, requestParameters.requestBody, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
54910
55518
|
};
|
|
54911
55519
|
/**
|
|
54912
55520
|
* Update fields of a machine account subtype by subtype ID. Patchable fields only include: `displayName`, `description`.
|
|
@@ -54918,7 +55526,19 @@ var MachineAccountSubtypesV2026Api = /** @class */ (function (_super) {
|
|
|
54918
55526
|
*/
|
|
54919
55527
|
MachineAccountSubtypesV2026Api.prototype.patchMachineAccountSubtype = function (requestParameters, axiosOptions) {
|
|
54920
55528
|
var _this = this;
|
|
54921
|
-
return (0, exports.MachineAccountSubtypesV2026ApiFp)(this.configuration).patchMachineAccountSubtype(requestParameters.subtypeId, requestParameters.requestBody, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
55529
|
+
return (0, exports.MachineAccountSubtypesV2026ApiFp)(this.configuration).patchMachineAccountSubtype(requestParameters.subtypeId, requestParameters.requestBody, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
55530
|
+
};
|
|
55531
|
+
/**
|
|
55532
|
+
* Updates the approval configuration for machine account deletion at the specified machine subtype level. This endpoint allows clients to modify approval rules and settings (such as required approvers and comments policy) for account creation and deletion workflows associated with a given subtypeId. Use this to customize or enforce approval requirements for creating and deleting machine accounts of a particular subtype.
|
|
55533
|
+
* @summary Machine Subtype Approval Config
|
|
55534
|
+
* @param {MachineAccountSubtypesV2026ApiUpdateMachineAccountSubtypeApprovalConfigRequest} requestParameters Request parameters.
|
|
55535
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
55536
|
+
* @throws {RequiredError}
|
|
55537
|
+
* @memberof MachineAccountSubtypesV2026Api
|
|
55538
|
+
*/
|
|
55539
|
+
MachineAccountSubtypesV2026Api.prototype.updateMachineAccountSubtypeApprovalConfig = function (requestParameters, axiosOptions) {
|
|
55540
|
+
var _this = this;
|
|
55541
|
+
return (0, exports.MachineAccountSubtypesV2026ApiFp)(this.configuration).updateMachineAccountSubtypeApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.subtypeId, requestParameters.jsonPatchOperationV2026, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
54922
55542
|
};
|
|
54923
55543
|
return MachineAccountSubtypesV2026Api;
|
|
54924
55544
|
}(base_1.BaseAPI));
|
|
@@ -54937,6 +55557,7 @@ var MachineAccountsV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
54937
55557
|
* @param {CreateMachineAccountSubtypeRequestV2026} createMachineAccountSubtypeRequestV2026
|
|
54938
55558
|
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
54939
55559
|
* @param {*} [axiosOptions] Override http request option.
|
|
55560
|
+
* @deprecated
|
|
54940
55561
|
* @throws {RequiredError}
|
|
54941
55562
|
*/
|
|
54942
55563
|
createMachineAccountSubtype: function (sourceId, createMachineAccountSubtypeRequestV2026, xSailPointExperimental, axiosOptions) {
|
|
@@ -55012,6 +55633,7 @@ var MachineAccountsV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
55012
55633
|
* @param {string} technicalName The technical name of the subtype.
|
|
55013
55634
|
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
55014
55635
|
* @param {*} [axiosOptions] Override http request option.
|
|
55636
|
+
* @deprecated
|
|
55015
55637
|
* @throws {RequiredError}
|
|
55016
55638
|
*/
|
|
55017
55639
|
deleteMachineAccountSubtypeByTechnicalName: function (sourceId, technicalName, xSailPointExperimental, axiosOptions) {
|
|
@@ -55139,74 +55761,13 @@ var MachineAccountsV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
55139
55761
|
});
|
|
55140
55762
|
});
|
|
55141
55763
|
},
|
|
55142
|
-
/**
|
|
55143
|
-
* This endpoint retrieves the approval configuration for machine account creation and deletion at the machine subtype level. By providing a specific subtypeId in the path, clients can fetch the approval rules and settings (such as required approvers and comments policy) that govern account creation and deletion for that particular machine subtype. The response includes a MachineAccountSubtypeConfigDto object detailing these configurations, enabling clients to understand or display the approval workflow required for creating and deleting machine accounts of the given subtype. Use this endpoint to get machine subtype level approval config for account creation and deletion.
|
|
55144
|
-
* @summary Machine Subtype Approval Config
|
|
55145
|
-
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
55146
|
-
* @param {string} subtypeId machine subtype id.
|
|
55147
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
55148
|
-
* @throws {RequiredError}
|
|
55149
|
-
*/
|
|
55150
|
-
getMachineAccountSubtypeApprovalConfig: function (xSailPointExperimental, subtypeId, axiosOptions) {
|
|
55151
|
-
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
55152
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
55153
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
55154
|
-
return __generator(this, function (_a) {
|
|
55155
|
-
switch (_a.label) {
|
|
55156
|
-
case 0:
|
|
55157
|
-
if (xSailPointExperimental === undefined) {
|
|
55158
|
-
xSailPointExperimental = 'true';
|
|
55159
|
-
}
|
|
55160
|
-
// verify required parameter 'xSailPointExperimental' is not null or undefined
|
|
55161
|
-
(0, common_1.assertParamExists)('getMachineAccountSubtypeApprovalConfig', 'xSailPointExperimental', xSailPointExperimental);
|
|
55162
|
-
// verify required parameter 'subtypeId' is not null or undefined
|
|
55163
|
-
(0, common_1.assertParamExists)('getMachineAccountSubtypeApprovalConfig', 'subtypeId', subtypeId);
|
|
55164
|
-
localVarPath = "/source-subtypes/{subtypeId}/machine-config"
|
|
55165
|
-
.replace("{".concat("subtypeId", "}"), encodeURIComponent(String(subtypeId)));
|
|
55166
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
55167
|
-
if (configuration) {
|
|
55168
|
-
baseOptions = configuration.baseOptions;
|
|
55169
|
-
}
|
|
55170
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
|
|
55171
|
-
localVarHeaderParameter = {};
|
|
55172
|
-
localVarQueryParameter = {};
|
|
55173
|
-
// authentication userAuth required
|
|
55174
|
-
// oauth required
|
|
55175
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
|
|
55176
|
-
// authentication userAuth required
|
|
55177
|
-
// oauth required
|
|
55178
|
-
];
|
|
55179
|
-
case 1:
|
|
55180
|
-
// authentication userAuth required
|
|
55181
|
-
// oauth required
|
|
55182
|
-
_a.sent();
|
|
55183
|
-
// authentication userAuth required
|
|
55184
|
-
// oauth required
|
|
55185
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)];
|
|
55186
|
-
case 2:
|
|
55187
|
-
// authentication userAuth required
|
|
55188
|
-
// oauth required
|
|
55189
|
-
_a.sent();
|
|
55190
|
-
if (xSailPointExperimental != null) {
|
|
55191
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
55192
|
-
}
|
|
55193
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
55194
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
55195
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
55196
|
-
return [2 /*return*/, {
|
|
55197
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
55198
|
-
axiosOptions: localVarRequestOptions,
|
|
55199
|
-
}];
|
|
55200
|
-
}
|
|
55201
|
-
});
|
|
55202
|
-
});
|
|
55203
|
-
},
|
|
55204
55764
|
/**
|
|
55205
55765
|
* Get a machine account subtype by its unique ID.
|
|
55206
55766
|
* @summary Retrieve subtype by subtype id
|
|
55207
55767
|
* @param {string} subtypeId The ID of the machine account subtype.
|
|
55208
55768
|
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
55209
55769
|
* @param {*} [axiosOptions] Override http request option.
|
|
55770
|
+
* @deprecated
|
|
55210
55771
|
* @throws {RequiredError}
|
|
55211
55772
|
*/
|
|
55212
55773
|
getMachineAccountSubtypeById: function (subtypeId, xSailPointExperimental, axiosOptions) {
|
|
@@ -55278,6 +55839,7 @@ var MachineAccountsV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
55278
55839
|
* @param {string} technicalName The technical name of the subtype.
|
|
55279
55840
|
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
55280
55841
|
* @param {*} [axiosOptions] Override http request option.
|
|
55842
|
+
* @deprecated
|
|
55281
55843
|
* @throws {RequiredError}
|
|
55282
55844
|
*/
|
|
55283
55845
|
getMachineAccountSubtypeByTechnicalName: function (sourceId, technicalName, xSailPointExperimental, axiosOptions) {
|
|
@@ -55356,6 +55918,7 @@ var MachineAccountsV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
55356
55918
|
* @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
55357
55919
|
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
55358
55920
|
* @param {*} [axiosOptions] Override http request option.
|
|
55921
|
+
* @deprecated
|
|
55359
55922
|
* @throws {RequiredError}
|
|
55360
55923
|
*/
|
|
55361
55924
|
listMachineAccountSubtypes: function (sourceId, filters, sorters, xSailPointExperimental, count, limit, offset, axiosOptions) {
|
|
@@ -55406,176 +55969,27 @@ var MachineAccountsV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
55406
55969
|
// authentication applicationAuth required
|
|
55407
55970
|
// oauth required
|
|
55408
55971
|
_a.sent();
|
|
55409
|
-
if (filters !== undefined) {
|
|
55410
|
-
localVarQueryParameter['filters'] = filters;
|
|
55411
|
-
}
|
|
55412
|
-
if (sorters !== undefined) {
|
|
55413
|
-
localVarQueryParameter['sorters'] = sorters;
|
|
55414
|
-
}
|
|
55415
|
-
if (count !== undefined) {
|
|
55416
|
-
localVarQueryParameter['count'] = count;
|
|
55417
|
-
}
|
|
55418
|
-
if (limit !== undefined) {
|
|
55419
|
-
localVarQueryParameter['limit'] = limit;
|
|
55420
|
-
}
|
|
55421
|
-
if (offset !== undefined) {
|
|
55422
|
-
localVarQueryParameter['offset'] = offset;
|
|
55423
|
-
}
|
|
55424
|
-
if (xSailPointExperimental != null) {
|
|
55425
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
55426
|
-
}
|
|
55427
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
55428
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
55429
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
55430
|
-
return [2 /*return*/, {
|
|
55431
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
55432
|
-
axiosOptions: localVarRequestOptions,
|
|
55433
|
-
}];
|
|
55434
|
-
}
|
|
55435
|
-
});
|
|
55436
|
-
});
|
|
55437
|
-
},
|
|
55438
|
-
/**
|
|
55439
|
-
* This returns a list of machine accounts.
|
|
55440
|
-
* @summary List machine accounts
|
|
55441
|
-
* @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
55442
|
-
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
55443
|
-
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
55444
|
-
* @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **name**: *eq, in, sw* **nativeIdentity**: *eq, in, sw* **uuid**: *eq, in* **description**: *eq, in, sw* **machineIdentity.id**: *eq, in* **machineIdentity.name**: *eq, in, sw* **subtype.technicalName**: *eq, in, sw* **subtype.displayName**: *eq, in, sw* **accessType**: *eq, in, sw* **environment**: *eq, in, sw* **ownerIdentity**: *eq, in* **ownerIdentity.id**: *eq, in* **ownerIdentity.name**: *eq, in, sw* **manuallyCorrelated**: *eq* **enabled**: *eq* **locked**: *eq* **hasEntitlements**: *eq* **attributes**: *eq* **source.id**: *eq, in* **source.name**: *eq, in, sw* **created**: *eq, gt, lt, ge, le* **modified**: *eq, gt, lt, ge, le*
|
|
55445
|
-
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **id, name, nativeIdentity, ownerIdentity, uuid, description, machineIdentity.id, machineIdentity.name, subtype.technicalName, subtype.displayName, accessType, environment, manuallyCorrelated, enabled, locked, hasEntitlements, ownerIdentity.id, ownerIdentity.name, attributes, source.id, source.name, created, modified**
|
|
55446
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
55447
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
55448
|
-
* @throws {RequiredError}
|
|
55449
|
-
*/
|
|
55450
|
-
listMachineAccounts: function (limit, offset, count, filters, sorters, xSailPointExperimental, axiosOptions) {
|
|
55451
|
-
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
55452
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
55453
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
55454
|
-
return __generator(this, function (_a) {
|
|
55455
|
-
switch (_a.label) {
|
|
55456
|
-
case 0:
|
|
55457
|
-
if (xSailPointExperimental === undefined) {
|
|
55458
|
-
xSailPointExperimental = 'true';
|
|
55459
|
-
}
|
|
55460
|
-
localVarPath = "/machine-accounts";
|
|
55461
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
55462
|
-
if (configuration) {
|
|
55463
|
-
baseOptions = configuration.baseOptions;
|
|
55464
|
-
}
|
|
55465
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
|
|
55466
|
-
localVarHeaderParameter = {};
|
|
55467
|
-
localVarQueryParameter = {};
|
|
55468
|
-
// authentication userAuth required
|
|
55469
|
-
// oauth required
|
|
55470
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
|
|
55471
|
-
// authentication userAuth required
|
|
55472
|
-
// oauth required
|
|
55473
|
-
];
|
|
55474
|
-
case 1:
|
|
55475
|
-
// authentication userAuth required
|
|
55476
|
-
// oauth required
|
|
55477
|
-
_a.sent();
|
|
55478
|
-
// authentication userAuth required
|
|
55479
|
-
// oauth required
|
|
55480
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)];
|
|
55481
|
-
case 2:
|
|
55482
|
-
// authentication userAuth required
|
|
55483
|
-
// oauth required
|
|
55484
|
-
_a.sent();
|
|
55485
|
-
if (limit !== undefined) {
|
|
55486
|
-
localVarQueryParameter['limit'] = limit;
|
|
55487
|
-
}
|
|
55488
|
-
if (offset !== undefined) {
|
|
55489
|
-
localVarQueryParameter['offset'] = offset;
|
|
55490
|
-
}
|
|
55491
|
-
if (count !== undefined) {
|
|
55492
|
-
localVarQueryParameter['count'] = count;
|
|
55493
|
-
}
|
|
55494
|
-
if (filters !== undefined) {
|
|
55495
|
-
localVarQueryParameter['filters'] = filters;
|
|
55496
|
-
}
|
|
55497
|
-
if (sorters !== undefined) {
|
|
55498
|
-
localVarQueryParameter['sorters'] = sorters;
|
|
55499
|
-
}
|
|
55500
|
-
if (xSailPointExperimental != null) {
|
|
55501
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
55502
|
-
}
|
|
55503
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
55504
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
55505
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
55506
|
-
return [2 /*return*/, {
|
|
55507
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
55508
|
-
axiosOptions: localVarRequestOptions,
|
|
55509
|
-
}];
|
|
55510
|
-
}
|
|
55511
|
-
});
|
|
55512
|
-
});
|
|
55513
|
-
},
|
|
55514
|
-
/**
|
|
55515
|
-
* This endpoint retrieves the subtypes for given subtypeIds.
|
|
55516
|
-
* @summary Bulk Retrieve of Source Subtypes
|
|
55517
|
-
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
55518
|
-
* @param {Array<string>} requestBody
|
|
55519
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
55520
|
-
* @throws {RequiredError}
|
|
55521
|
-
*/
|
|
55522
|
-
loadBulkSourceSubtypes: function (xSailPointExperimental, requestBody, axiosOptions) {
|
|
55523
|
-
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
55524
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
55525
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
55526
|
-
return __generator(this, function (_a) {
|
|
55527
|
-
switch (_a.label) {
|
|
55528
|
-
case 0:
|
|
55529
|
-
if (xSailPointExperimental === undefined) {
|
|
55530
|
-
xSailPointExperimental = 'true';
|
|
55531
|
-
}
|
|
55532
|
-
// verify required parameter 'xSailPointExperimental' is not null or undefined
|
|
55533
|
-
(0, common_1.assertParamExists)('loadBulkSourceSubtypes', 'xSailPointExperimental', xSailPointExperimental);
|
|
55534
|
-
// verify required parameter 'requestBody' is not null or undefined
|
|
55535
|
-
(0, common_1.assertParamExists)('loadBulkSourceSubtypes', 'requestBody', requestBody);
|
|
55536
|
-
localVarPath = "/source-subtypes/bulk-retrieve";
|
|
55537
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
55538
|
-
if (configuration) {
|
|
55539
|
-
baseOptions = configuration.baseOptions;
|
|
55540
|
-
}
|
|
55541
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
|
|
55542
|
-
localVarHeaderParameter = {};
|
|
55543
|
-
localVarQueryParameter = {};
|
|
55544
|
-
// authentication userAuth required
|
|
55545
|
-
// oauth required
|
|
55546
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
|
|
55547
|
-
// authentication userAuth required
|
|
55548
|
-
// oauth required
|
|
55549
|
-
];
|
|
55550
|
-
case 1:
|
|
55551
|
-
// authentication userAuth required
|
|
55552
|
-
// oauth required
|
|
55553
|
-
_a.sent();
|
|
55554
|
-
// authentication userAuth required
|
|
55555
|
-
// oauth required
|
|
55556
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
|
|
55557
|
-
// authentication applicationAuth required
|
|
55558
|
-
// oauth required
|
|
55559
|
-
];
|
|
55560
|
-
case 2:
|
|
55561
|
-
// authentication userAuth required
|
|
55562
|
-
// oauth required
|
|
55563
|
-
_a.sent();
|
|
55564
|
-
// authentication applicationAuth required
|
|
55565
|
-
// oauth required
|
|
55566
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "applicationAuth", [], configuration)];
|
|
55567
|
-
case 3:
|
|
55568
|
-
// authentication applicationAuth required
|
|
55569
|
-
// oauth required
|
|
55570
|
-
_a.sent();
|
|
55571
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
55972
|
+
if (filters !== undefined) {
|
|
55973
|
+
localVarQueryParameter['filters'] = filters;
|
|
55974
|
+
}
|
|
55975
|
+
if (sorters !== undefined) {
|
|
55976
|
+
localVarQueryParameter['sorters'] = sorters;
|
|
55977
|
+
}
|
|
55978
|
+
if (count !== undefined) {
|
|
55979
|
+
localVarQueryParameter['count'] = count;
|
|
55980
|
+
}
|
|
55981
|
+
if (limit !== undefined) {
|
|
55982
|
+
localVarQueryParameter['limit'] = limit;
|
|
55983
|
+
}
|
|
55984
|
+
if (offset !== undefined) {
|
|
55985
|
+
localVarQueryParameter['offset'] = offset;
|
|
55986
|
+
}
|
|
55572
55987
|
if (xSailPointExperimental != null) {
|
|
55573
55988
|
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
55574
55989
|
}
|
|
55575
55990
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
55576
55991
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
55577
55992
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
55578
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
|
|
55579
55993
|
return [2 /*return*/, {
|
|
55580
55994
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
55581
55995
|
axiosOptions: localVarRequestOptions,
|
|
@@ -55585,39 +55999,33 @@ var MachineAccountsV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
55585
55999
|
});
|
|
55586
56000
|
},
|
|
55587
56001
|
/**
|
|
55588
|
-
*
|
|
55589
|
-
* @summary
|
|
55590
|
-
* @param {
|
|
55591
|
-
* @param {
|
|
55592
|
-
* @param {
|
|
56002
|
+
* This returns a list of machine accounts.
|
|
56003
|
+
* @summary List machine accounts
|
|
56004
|
+
* @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
56005
|
+
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
56006
|
+
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
56007
|
+
* @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **name**: *eq, in, sw* **nativeIdentity**: *eq, in, sw* **uuid**: *eq, in* **description**: *eq, in, sw* **machineIdentity.id**: *eq, in* **machineIdentity.name**: *eq, in, sw* **subtype.technicalName**: *eq, in, sw* **subtype.displayName**: *eq, in, sw* **accessType**: *eq, in, sw* **environment**: *eq, in, sw* **ownerIdentity**: *eq, in* **ownerIdentity.id**: *eq, in* **ownerIdentity.name**: *eq, in, sw* **manuallyCorrelated**: *eq* **enabled**: *eq* **locked**: *eq* **hasEntitlements**: *eq* **attributes**: *eq* **source.id**: *eq, in* **source.name**: *eq, in, sw* **created**: *eq, gt, lt, ge, le* **modified**: *eq, gt, lt, ge, le*
|
|
56008
|
+
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **id, name, nativeIdentity, ownerIdentity, uuid, description, machineIdentity.id, machineIdentity.name, subtype.technicalName, subtype.displayName, accessType, environment, manuallyCorrelated, enabled, locked, hasEntitlements, ownerIdentity.id, ownerIdentity.name, attributes, source.id, source.name, created, modified**
|
|
55593
56009
|
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
55594
56010
|
* @param {*} [axiosOptions] Override http request option.
|
|
55595
56011
|
* @throws {RequiredError}
|
|
55596
56012
|
*/
|
|
55597
|
-
|
|
56013
|
+
listMachineAccounts: function (limit, offset, count, filters, sorters, xSailPointExperimental, axiosOptions) {
|
|
55598
56014
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
55599
56015
|
return __awaiter(_this, void 0, void 0, function () {
|
|
55600
56016
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
55601
56017
|
return __generator(this, function (_a) {
|
|
55602
56018
|
switch (_a.label) {
|
|
55603
56019
|
case 0:
|
|
55604
|
-
// verify required parameter 'sourceId' is not null or undefined
|
|
55605
|
-
(0, common_1.assertParamExists)('patchMachineAccountSubtypeByTechnicalName', 'sourceId', sourceId);
|
|
55606
|
-
// verify required parameter 'technicalName' is not null or undefined
|
|
55607
|
-
(0, common_1.assertParamExists)('patchMachineAccountSubtypeByTechnicalName', 'technicalName', technicalName);
|
|
55608
|
-
// verify required parameter 'requestBody' is not null or undefined
|
|
55609
|
-
(0, common_1.assertParamExists)('patchMachineAccountSubtypeByTechnicalName', 'requestBody', requestBody);
|
|
55610
56020
|
if (xSailPointExperimental === undefined) {
|
|
55611
56021
|
xSailPointExperimental = 'true';
|
|
55612
56022
|
}
|
|
55613
|
-
localVarPath = "/
|
|
55614
|
-
.replace("{".concat("sourceId", "}"), encodeURIComponent(String(sourceId)))
|
|
55615
|
-
.replace("{".concat("technicalName", "}"), encodeURIComponent(String(technicalName)));
|
|
56023
|
+
localVarPath = "/machine-accounts";
|
|
55616
56024
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
55617
56025
|
if (configuration) {
|
|
55618
56026
|
baseOptions = configuration.baseOptions;
|
|
55619
56027
|
}
|
|
55620
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
56028
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
|
|
55621
56029
|
localVarHeaderParameter = {};
|
|
55622
56030
|
localVarQueryParameter = {};
|
|
55623
56031
|
// authentication userAuth required
|
|
@@ -55632,29 +56040,32 @@ var MachineAccountsV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
55632
56040
|
_a.sent();
|
|
55633
56041
|
// authentication userAuth required
|
|
55634
56042
|
// oauth required
|
|
55635
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
|
|
55636
|
-
// authentication applicationAuth required
|
|
55637
|
-
// oauth required
|
|
55638
|
-
];
|
|
56043
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)];
|
|
55639
56044
|
case 2:
|
|
55640
56045
|
// authentication userAuth required
|
|
55641
56046
|
// oauth required
|
|
55642
56047
|
_a.sent();
|
|
55643
|
-
|
|
55644
|
-
|
|
55645
|
-
|
|
55646
|
-
|
|
55647
|
-
|
|
55648
|
-
|
|
55649
|
-
|
|
55650
|
-
|
|
56048
|
+
if (limit !== undefined) {
|
|
56049
|
+
localVarQueryParameter['limit'] = limit;
|
|
56050
|
+
}
|
|
56051
|
+
if (offset !== undefined) {
|
|
56052
|
+
localVarQueryParameter['offset'] = offset;
|
|
56053
|
+
}
|
|
56054
|
+
if (count !== undefined) {
|
|
56055
|
+
localVarQueryParameter['count'] = count;
|
|
56056
|
+
}
|
|
56057
|
+
if (filters !== undefined) {
|
|
56058
|
+
localVarQueryParameter['filters'] = filters;
|
|
56059
|
+
}
|
|
56060
|
+
if (sorters !== undefined) {
|
|
56061
|
+
localVarQueryParameter['sorters'] = sorters;
|
|
56062
|
+
}
|
|
55651
56063
|
if (xSailPointExperimental != null) {
|
|
55652
56064
|
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
55653
56065
|
}
|
|
55654
56066
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
55655
56067
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
55656
56068
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
55657
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
|
|
55658
56069
|
return [2 /*return*/, {
|
|
55659
56070
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
55660
56071
|
axiosOptions: localVarRequestOptions,
|
|
@@ -55664,30 +56075,35 @@ var MachineAccountsV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
55664
56075
|
});
|
|
55665
56076
|
},
|
|
55666
56077
|
/**
|
|
55667
|
-
*
|
|
55668
|
-
* @summary
|
|
55669
|
-
* @param {string}
|
|
55670
|
-
* @param {
|
|
56078
|
+
* Update fields of a machine account subtype by source ID and technical name. Patchable fields include: `displayName`, `description`.
|
|
56079
|
+
* @summary Patch subtype
|
|
56080
|
+
* @param {string} sourceId The ID of the source.
|
|
56081
|
+
* @param {string} technicalName The technical name of the subtype.
|
|
56082
|
+
* @param {Array<object>} requestBody A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
|
55671
56083
|
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
55672
56084
|
* @param {*} [axiosOptions] Override http request option.
|
|
56085
|
+
* @deprecated
|
|
55673
56086
|
* @throws {RequiredError}
|
|
55674
56087
|
*/
|
|
55675
|
-
|
|
56088
|
+
patchMachineAccountSubtypeByTechnicalName: function (sourceId, technicalName, requestBody, xSailPointExperimental, axiosOptions) {
|
|
55676
56089
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
55677
56090
|
return __awaiter(_this, void 0, void 0, function () {
|
|
55678
56091
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
55679
56092
|
return __generator(this, function (_a) {
|
|
55680
56093
|
switch (_a.label) {
|
|
55681
56094
|
case 0:
|
|
55682
|
-
// verify required parameter '
|
|
55683
|
-
(0, common_1.assertParamExists)('
|
|
56095
|
+
// verify required parameter 'sourceId' is not null or undefined
|
|
56096
|
+
(0, common_1.assertParamExists)('patchMachineAccountSubtypeByTechnicalName', 'sourceId', sourceId);
|
|
56097
|
+
// verify required parameter 'technicalName' is not null or undefined
|
|
56098
|
+
(0, common_1.assertParamExists)('patchMachineAccountSubtypeByTechnicalName', 'technicalName', technicalName);
|
|
55684
56099
|
// verify required parameter 'requestBody' is not null or undefined
|
|
55685
|
-
(0, common_1.assertParamExists)('
|
|
56100
|
+
(0, common_1.assertParamExists)('patchMachineAccountSubtypeByTechnicalName', 'requestBody', requestBody);
|
|
55686
56101
|
if (xSailPointExperimental === undefined) {
|
|
55687
56102
|
xSailPointExperimental = 'true';
|
|
55688
56103
|
}
|
|
55689
|
-
localVarPath = "/
|
|
55690
|
-
.replace("{".concat("
|
|
56104
|
+
localVarPath = "/sources/{sourceId}/subtypes/{technicalName}"
|
|
56105
|
+
.replace("{".concat("sourceId", "}"), encodeURIComponent(String(sourceId)))
|
|
56106
|
+
.replace("{".concat("technicalName", "}"), encodeURIComponent(String(technicalName)));
|
|
55691
56107
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
55692
56108
|
if (configuration) {
|
|
55693
56109
|
baseOptions = configuration.baseOptions;
|
|
@@ -55739,32 +56155,30 @@ var MachineAccountsV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
55739
56155
|
});
|
|
55740
56156
|
},
|
|
55741
56157
|
/**
|
|
55742
|
-
*
|
|
55743
|
-
* @summary
|
|
55744
|
-
* @param {string}
|
|
55745
|
-
* @param {
|
|
55746
|
-
* @param {
|
|
56158
|
+
* Use this API to update machine accounts details.
|
|
56159
|
+
* @summary Update machine account details
|
|
56160
|
+
* @param {string} id Machine Account ID.
|
|
56161
|
+
* @param {Array<object>} requestBody A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields are patchable: * description * ownerIdentity * subType * accessType * environment * attributes * classificationMethod * manuallyEdited * nativeIdentity * uuid * source * manuallyCorrelated * enabled * locked * hasEntitlements * connectorAttributes
|
|
56162
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
55747
56163
|
* @param {*} [axiosOptions] Override http request option.
|
|
55748
56164
|
* @throws {RequiredError}
|
|
55749
56165
|
*/
|
|
55750
|
-
|
|
56166
|
+
updateMachineAccount: function (id, requestBody, xSailPointExperimental, axiosOptions) {
|
|
55751
56167
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
55752
56168
|
return __awaiter(_this, void 0, void 0, function () {
|
|
55753
56169
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
55754
56170
|
return __generator(this, function (_a) {
|
|
55755
56171
|
switch (_a.label) {
|
|
55756
56172
|
case 0:
|
|
56173
|
+
// verify required parameter 'id' is not null or undefined
|
|
56174
|
+
(0, common_1.assertParamExists)('updateMachineAccount', 'id', id);
|
|
56175
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
56176
|
+
(0, common_1.assertParamExists)('updateMachineAccount', 'requestBody', requestBody);
|
|
55757
56177
|
if (xSailPointExperimental === undefined) {
|
|
55758
56178
|
xSailPointExperimental = 'true';
|
|
55759
56179
|
}
|
|
55760
|
-
|
|
55761
|
-
|
|
55762
|
-
// verify required parameter 'subtypeId' is not null or undefined
|
|
55763
|
-
(0, common_1.assertParamExists)('updateMachineAccountSubtypeApprovalConfig', 'subtypeId', subtypeId);
|
|
55764
|
-
// verify required parameter 'jsonPatchOperationV2026' is not null or undefined
|
|
55765
|
-
(0, common_1.assertParamExists)('updateMachineAccountSubtypeApprovalConfig', 'jsonPatchOperationV2026', jsonPatchOperationV2026);
|
|
55766
|
-
localVarPath = "/source-subtypes/{subtypeId}/machine-config"
|
|
55767
|
-
.replace("{".concat("subtypeId", "}"), encodeURIComponent(String(subtypeId)));
|
|
56180
|
+
localVarPath = "/machine-accounts/{id}"
|
|
56181
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
55768
56182
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
55769
56183
|
if (configuration) {
|
|
55770
56184
|
baseOptions = configuration.baseOptions;
|
|
@@ -55784,11 +56198,21 @@ var MachineAccountsV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
55784
56198
|
_a.sent();
|
|
55785
56199
|
// authentication userAuth required
|
|
55786
56200
|
// oauth required
|
|
55787
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
|
|
56201
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
|
|
56202
|
+
// authentication applicationAuth required
|
|
56203
|
+
// oauth required
|
|
56204
|
+
];
|
|
55788
56205
|
case 2:
|
|
55789
56206
|
// authentication userAuth required
|
|
55790
56207
|
// oauth required
|
|
55791
56208
|
_a.sent();
|
|
56209
|
+
// authentication applicationAuth required
|
|
56210
|
+
// oauth required
|
|
56211
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "applicationAuth", [], configuration)];
|
|
56212
|
+
case 3:
|
|
56213
|
+
// authentication applicationAuth required
|
|
56214
|
+
// oauth required
|
|
56215
|
+
_a.sent();
|
|
55792
56216
|
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
55793
56217
|
if (xSailPointExperimental != null) {
|
|
55794
56218
|
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
@@ -55796,7 +56220,7 @@ var MachineAccountsV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
55796
56220
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
55797
56221
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
55798
56222
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
55799
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
56223
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
|
|
55800
56224
|
return [2 /*return*/, {
|
|
55801
56225
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
55802
56226
|
axiosOptions: localVarRequestOptions,
|
|
@@ -55822,6 +56246,7 @@ var MachineAccountsV2026ApiFp = function (configuration) {
|
|
|
55822
56246
|
* @param {CreateMachineAccountSubtypeRequestV2026} createMachineAccountSubtypeRequestV2026
|
|
55823
56247
|
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
55824
56248
|
* @param {*} [axiosOptions] Override http request option.
|
|
56249
|
+
* @deprecated
|
|
55825
56250
|
* @throws {RequiredError}
|
|
55826
56251
|
*/
|
|
55827
56252
|
createMachineAccountSubtype: function (sourceId, createMachineAccountSubtypeRequestV2026, xSailPointExperimental, axiosOptions) {
|
|
@@ -55847,6 +56272,7 @@ var MachineAccountsV2026ApiFp = function (configuration) {
|
|
|
55847
56272
|
* @param {string} technicalName The technical name of the subtype.
|
|
55848
56273
|
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
55849
56274
|
* @param {*} [axiosOptions] Override http request option.
|
|
56275
|
+
* @deprecated
|
|
55850
56276
|
* @throws {RequiredError}
|
|
55851
56277
|
*/
|
|
55852
56278
|
deleteMachineAccountSubtypeByTechnicalName: function (sourceId, technicalName, xSailPointExperimental, axiosOptions) {
|
|
@@ -55889,36 +56315,13 @@ var MachineAccountsV2026ApiFp = function (configuration) {
|
|
|
55889
56315
|
});
|
|
55890
56316
|
});
|
|
55891
56317
|
},
|
|
55892
|
-
/**
|
|
55893
|
-
* This endpoint retrieves the approval configuration for machine account creation and deletion at the machine subtype level. By providing a specific subtypeId in the path, clients can fetch the approval rules and settings (such as required approvers and comments policy) that govern account creation and deletion for that particular machine subtype. The response includes a MachineAccountSubtypeConfigDto object detailing these configurations, enabling clients to understand or display the approval workflow required for creating and deleting machine accounts of the given subtype. Use this endpoint to get machine subtype level approval config for account creation and deletion.
|
|
55894
|
-
* @summary Machine Subtype Approval Config
|
|
55895
|
-
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
55896
|
-
* @param {string} subtypeId machine subtype id.
|
|
55897
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
55898
|
-
* @throws {RequiredError}
|
|
55899
|
-
*/
|
|
55900
|
-
getMachineAccountSubtypeApprovalConfig: function (xSailPointExperimental, subtypeId, axiosOptions) {
|
|
55901
|
-
var _a, _b, _c;
|
|
55902
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
55903
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
55904
|
-
return __generator(this, function (_d) {
|
|
55905
|
-
switch (_d.label) {
|
|
55906
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getMachineAccountSubtypeApprovalConfig(xSailPointExperimental, subtypeId, axiosOptions)];
|
|
55907
|
-
case 1:
|
|
55908
|
-
localVarAxiosArgs = _d.sent();
|
|
55909
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
55910
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MachineAccountsV2026Api.getMachineAccountSubtypeApprovalConfig']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
55911
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
55912
|
-
}
|
|
55913
|
-
});
|
|
55914
|
-
});
|
|
55915
|
-
},
|
|
55916
56318
|
/**
|
|
55917
56319
|
* Get a machine account subtype by its unique ID.
|
|
55918
56320
|
* @summary Retrieve subtype by subtype id
|
|
55919
56321
|
* @param {string} subtypeId The ID of the machine account subtype.
|
|
55920
56322
|
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
55921
56323
|
* @param {*} [axiosOptions] Override http request option.
|
|
56324
|
+
* @deprecated
|
|
55922
56325
|
* @throws {RequiredError}
|
|
55923
56326
|
*/
|
|
55924
56327
|
getMachineAccountSubtypeById: function (subtypeId, xSailPointExperimental, axiosOptions) {
|
|
@@ -55944,6 +56347,7 @@ var MachineAccountsV2026ApiFp = function (configuration) {
|
|
|
55944
56347
|
* @param {string} technicalName The technical name of the subtype.
|
|
55945
56348
|
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
55946
56349
|
* @param {*} [axiosOptions] Override http request option.
|
|
56350
|
+
* @deprecated
|
|
55947
56351
|
* @throws {RequiredError}
|
|
55948
56352
|
*/
|
|
55949
56353
|
getMachineAccountSubtypeByTechnicalName: function (sourceId, technicalName, xSailPointExperimental, axiosOptions) {
|
|
@@ -55973,6 +56377,7 @@ var MachineAccountsV2026ApiFp = function (configuration) {
|
|
|
55973
56377
|
* @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
55974
56378
|
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
55975
56379
|
* @param {*} [axiosOptions] Override http request option.
|
|
56380
|
+
* @deprecated
|
|
55976
56381
|
* @throws {RequiredError}
|
|
55977
56382
|
*/
|
|
55978
56383
|
listMachineAccountSubtypes: function (sourceId, filters, sorters, xSailPointExperimental, count, limit, offset, axiosOptions) {
|
|
@@ -56019,30 +56424,6 @@ var MachineAccountsV2026ApiFp = function (configuration) {
|
|
|
56019
56424
|
});
|
|
56020
56425
|
});
|
|
56021
56426
|
},
|
|
56022
|
-
/**
|
|
56023
|
-
* This endpoint retrieves the subtypes for given subtypeIds.
|
|
56024
|
-
* @summary Bulk Retrieve of Source Subtypes
|
|
56025
|
-
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
56026
|
-
* @param {Array<string>} requestBody
|
|
56027
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
56028
|
-
* @throws {RequiredError}
|
|
56029
|
-
*/
|
|
56030
|
-
loadBulkSourceSubtypes: function (xSailPointExperimental, requestBody, axiosOptions) {
|
|
56031
|
-
var _a, _b, _c;
|
|
56032
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
56033
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
56034
|
-
return __generator(this, function (_d) {
|
|
56035
|
-
switch (_d.label) {
|
|
56036
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.loadBulkSourceSubtypes(xSailPointExperimental, requestBody, axiosOptions)];
|
|
56037
|
-
case 1:
|
|
56038
|
-
localVarAxiosArgs = _d.sent();
|
|
56039
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
56040
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MachineAccountsV2026Api.loadBulkSourceSubtypes']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
56041
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
56042
|
-
}
|
|
56043
|
-
});
|
|
56044
|
-
});
|
|
56045
|
-
},
|
|
56046
56427
|
/**
|
|
56047
56428
|
* Update fields of a machine account subtype by source ID and technical name. Patchable fields include: `displayName`, `description`.
|
|
56048
56429
|
* @summary Patch subtype
|
|
@@ -56051,6 +56432,7 @@ var MachineAccountsV2026ApiFp = function (configuration) {
|
|
|
56051
56432
|
* @param {Array<object>} requestBody A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
|
56052
56433
|
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
56053
56434
|
* @param {*} [axiosOptions] Override http request option.
|
|
56435
|
+
* @deprecated
|
|
56054
56436
|
* @throws {RequiredError}
|
|
56055
56437
|
*/
|
|
56056
56438
|
patchMachineAccountSubtypeByTechnicalName: function (sourceId, technicalName, requestBody, xSailPointExperimental, axiosOptions) {
|
|
@@ -56094,31 +56476,6 @@ var MachineAccountsV2026ApiFp = function (configuration) {
|
|
|
56094
56476
|
});
|
|
56095
56477
|
});
|
|
56096
56478
|
},
|
|
56097
|
-
/**
|
|
56098
|
-
* Updates the approval configuration for machine account deletion at the specified machine subtype level. This endpoint allows clients to modify approval rules and settings (such as required approvers and comments policy) for account creation and deletion workflows associated with a given subtypeId. Use this to customize or enforce approval requirements for creating and deleting machine accounts of a particular subtype.
|
|
56099
|
-
* @summary Machine Subtype Approval Config
|
|
56100
|
-
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
56101
|
-
* @param {string} subtypeId machine account subtype ID.
|
|
56102
|
-
* @param {Array<JsonPatchOperationV2026>} jsonPatchOperationV2026 The JSONPatch payload used to update the object.
|
|
56103
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
56104
|
-
* @throws {RequiredError}
|
|
56105
|
-
*/
|
|
56106
|
-
updateMachineAccountSubtypeApprovalConfig: function (xSailPointExperimental, subtypeId, jsonPatchOperationV2026, axiosOptions) {
|
|
56107
|
-
var _a, _b, _c;
|
|
56108
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
56109
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
56110
|
-
return __generator(this, function (_d) {
|
|
56111
|
-
switch (_d.label) {
|
|
56112
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateMachineAccountSubtypeApprovalConfig(xSailPointExperimental, subtypeId, jsonPatchOperationV2026, axiosOptions)];
|
|
56113
|
-
case 1:
|
|
56114
|
-
localVarAxiosArgs = _d.sent();
|
|
56115
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
56116
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MachineAccountsV2026Api.updateMachineAccountSubtypeApprovalConfig']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
56117
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
56118
|
-
}
|
|
56119
|
-
});
|
|
56120
|
-
});
|
|
56121
|
-
},
|
|
56122
56479
|
};
|
|
56123
56480
|
};
|
|
56124
56481
|
exports.MachineAccountsV2026ApiFp = MachineAccountsV2026ApiFp;
|
|
@@ -56134,6 +56491,7 @@ var MachineAccountsV2026ApiFactory = function (configuration, basePath, axios) {
|
|
|
56134
56491
|
* @summary Create subtype
|
|
56135
56492
|
* @param {MachineAccountsV2026ApiCreateMachineAccountSubtypeRequest} requestParameters Request parameters.
|
|
56136
56493
|
* @param {*} [axiosOptions] Override http request option.
|
|
56494
|
+
* @deprecated
|
|
56137
56495
|
* @throws {RequiredError}
|
|
56138
56496
|
*/
|
|
56139
56497
|
createMachineAccountSubtype: function (requestParameters, axiosOptions) {
|
|
@@ -56144,6 +56502,7 @@ var MachineAccountsV2026ApiFactory = function (configuration, basePath, axios) {
|
|
|
56144
56502
|
* @summary Delete subtype
|
|
56145
56503
|
* @param {MachineAccountsV2026ApiDeleteMachineAccountSubtypeByTechnicalNameRequest} requestParameters Request parameters.
|
|
56146
56504
|
* @param {*} [axiosOptions] Override http request option.
|
|
56505
|
+
* @deprecated
|
|
56147
56506
|
* @throws {RequiredError}
|
|
56148
56507
|
*/
|
|
56149
56508
|
deleteMachineAccountSubtypeByTechnicalName: function (requestParameters, axiosOptions) {
|
|
@@ -56159,21 +56518,12 @@ var MachineAccountsV2026ApiFactory = function (configuration, basePath, axios) {
|
|
|
56159
56518
|
getMachineAccount: function (requestParameters, axiosOptions) {
|
|
56160
56519
|
return localVarFp.getMachineAccount(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
56161
56520
|
},
|
|
56162
|
-
/**
|
|
56163
|
-
* This endpoint retrieves the approval configuration for machine account creation and deletion at the machine subtype level. By providing a specific subtypeId in the path, clients can fetch the approval rules and settings (such as required approvers and comments policy) that govern account creation and deletion for that particular machine subtype. The response includes a MachineAccountSubtypeConfigDto object detailing these configurations, enabling clients to understand or display the approval workflow required for creating and deleting machine accounts of the given subtype. Use this endpoint to get machine subtype level approval config for account creation and deletion.
|
|
56164
|
-
* @summary Machine Subtype Approval Config
|
|
56165
|
-
* @param {MachineAccountsV2026ApiGetMachineAccountSubtypeApprovalConfigRequest} requestParameters Request parameters.
|
|
56166
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
56167
|
-
* @throws {RequiredError}
|
|
56168
|
-
*/
|
|
56169
|
-
getMachineAccountSubtypeApprovalConfig: function (requestParameters, axiosOptions) {
|
|
56170
|
-
return localVarFp.getMachineAccountSubtypeApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.subtypeId, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
56171
|
-
},
|
|
56172
56521
|
/**
|
|
56173
56522
|
* Get a machine account subtype by its unique ID.
|
|
56174
56523
|
* @summary Retrieve subtype by subtype id
|
|
56175
56524
|
* @param {MachineAccountsV2026ApiGetMachineAccountSubtypeByIdRequest} requestParameters Request parameters.
|
|
56176
56525
|
* @param {*} [axiosOptions] Override http request option.
|
|
56526
|
+
* @deprecated
|
|
56177
56527
|
* @throws {RequiredError}
|
|
56178
56528
|
*/
|
|
56179
56529
|
getMachineAccountSubtypeById: function (requestParameters, axiosOptions) {
|
|
@@ -56184,6 +56534,7 @@ var MachineAccountsV2026ApiFactory = function (configuration, basePath, axios) {
|
|
|
56184
56534
|
* @summary Retrieve subtype by source and technicalName
|
|
56185
56535
|
* @param {MachineAccountsV2026ApiGetMachineAccountSubtypeByTechnicalNameRequest} requestParameters Request parameters.
|
|
56186
56536
|
* @param {*} [axiosOptions] Override http request option.
|
|
56537
|
+
* @deprecated
|
|
56187
56538
|
* @throws {RequiredError}
|
|
56188
56539
|
*/
|
|
56189
56540
|
getMachineAccountSubtypeByTechnicalName: function (requestParameters, axiosOptions) {
|
|
@@ -56194,6 +56545,7 @@ var MachineAccountsV2026ApiFactory = function (configuration, basePath, axios) {
|
|
|
56194
56545
|
* @summary Retrieve all subtypes by source
|
|
56195
56546
|
* @param {MachineAccountsV2026ApiListMachineAccountSubtypesRequest} requestParameters Request parameters.
|
|
56196
56547
|
* @param {*} [axiosOptions] Override http request option.
|
|
56548
|
+
* @deprecated
|
|
56197
56549
|
* @throws {RequiredError}
|
|
56198
56550
|
*/
|
|
56199
56551
|
listMachineAccountSubtypes: function (requestParameters, axiosOptions) {
|
|
@@ -56210,21 +56562,12 @@ var MachineAccountsV2026ApiFactory = function (configuration, basePath, axios) {
|
|
|
56210
56562
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
56211
56563
|
return localVarFp.listMachineAccounts(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, requestParameters.sorters, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
56212
56564
|
},
|
|
56213
|
-
/**
|
|
56214
|
-
* This endpoint retrieves the subtypes for given subtypeIds.
|
|
56215
|
-
* @summary Bulk Retrieve of Source Subtypes
|
|
56216
|
-
* @param {MachineAccountsV2026ApiLoadBulkSourceSubtypesRequest} requestParameters Request parameters.
|
|
56217
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
56218
|
-
* @throws {RequiredError}
|
|
56219
|
-
*/
|
|
56220
|
-
loadBulkSourceSubtypes: function (requestParameters, axiosOptions) {
|
|
56221
|
-
return localVarFp.loadBulkSourceSubtypes(requestParameters.xSailPointExperimental, requestParameters.requestBody, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
56222
|
-
},
|
|
56223
56565
|
/**
|
|
56224
56566
|
* Update fields of a machine account subtype by source ID and technical name. Patchable fields include: `displayName`, `description`.
|
|
56225
56567
|
* @summary Patch subtype
|
|
56226
56568
|
* @param {MachineAccountsV2026ApiPatchMachineAccountSubtypeByTechnicalNameRequest} requestParameters Request parameters.
|
|
56227
56569
|
* @param {*} [axiosOptions] Override http request option.
|
|
56570
|
+
* @deprecated
|
|
56228
56571
|
* @throws {RequiredError}
|
|
56229
56572
|
*/
|
|
56230
56573
|
patchMachineAccountSubtypeByTechnicalName: function (requestParameters, axiosOptions) {
|
|
@@ -56240,16 +56583,6 @@ var MachineAccountsV2026ApiFactory = function (configuration, basePath, axios) {
|
|
|
56240
56583
|
updateMachineAccount: function (requestParameters, axiosOptions) {
|
|
56241
56584
|
return localVarFp.updateMachineAccount(requestParameters.id, requestParameters.requestBody, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
56242
56585
|
},
|
|
56243
|
-
/**
|
|
56244
|
-
* Updates the approval configuration for machine account deletion at the specified machine subtype level. This endpoint allows clients to modify approval rules and settings (such as required approvers and comments policy) for account creation and deletion workflows associated with a given subtypeId. Use this to customize or enforce approval requirements for creating and deleting machine accounts of a particular subtype.
|
|
56245
|
-
* @summary Machine Subtype Approval Config
|
|
56246
|
-
* @param {MachineAccountsV2026ApiUpdateMachineAccountSubtypeApprovalConfigRequest} requestParameters Request parameters.
|
|
56247
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
56248
|
-
* @throws {RequiredError}
|
|
56249
|
-
*/
|
|
56250
|
-
updateMachineAccountSubtypeApprovalConfig: function (requestParameters, axiosOptions) {
|
|
56251
|
-
return localVarFp.updateMachineAccountSubtypeApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.subtypeId, requestParameters.jsonPatchOperationV2026, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
56252
|
-
},
|
|
56253
56586
|
};
|
|
56254
56587
|
};
|
|
56255
56588
|
exports.MachineAccountsV2026ApiFactory = MachineAccountsV2026ApiFactory;
|
|
@@ -56269,6 +56602,7 @@ var MachineAccountsV2026Api = /** @class */ (function (_super) {
|
|
|
56269
56602
|
* @summary Create subtype
|
|
56270
56603
|
* @param {MachineAccountsV2026ApiCreateMachineAccountSubtypeRequest} requestParameters Request parameters.
|
|
56271
56604
|
* @param {*} [axiosOptions] Override http request option.
|
|
56605
|
+
* @deprecated
|
|
56272
56606
|
* @throws {RequiredError}
|
|
56273
56607
|
* @memberof MachineAccountsV2026Api
|
|
56274
56608
|
*/
|
|
@@ -56281,6 +56615,7 @@ var MachineAccountsV2026Api = /** @class */ (function (_super) {
|
|
|
56281
56615
|
* @summary Delete subtype
|
|
56282
56616
|
* @param {MachineAccountsV2026ApiDeleteMachineAccountSubtypeByTechnicalNameRequest} requestParameters Request parameters.
|
|
56283
56617
|
* @param {*} [axiosOptions] Override http request option.
|
|
56618
|
+
* @deprecated
|
|
56284
56619
|
* @throws {RequiredError}
|
|
56285
56620
|
* @memberof MachineAccountsV2026Api
|
|
56286
56621
|
*/
|
|
@@ -56300,23 +56635,12 @@ var MachineAccountsV2026Api = /** @class */ (function (_super) {
|
|
|
56300
56635
|
var _this = this;
|
|
56301
56636
|
return (0, exports.MachineAccountsV2026ApiFp)(this.configuration).getMachineAccount(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
56302
56637
|
};
|
|
56303
|
-
/**
|
|
56304
|
-
* This endpoint retrieves the approval configuration for machine account creation and deletion at the machine subtype level. By providing a specific subtypeId in the path, clients can fetch the approval rules and settings (such as required approvers and comments policy) that govern account creation and deletion for that particular machine subtype. The response includes a MachineAccountSubtypeConfigDto object detailing these configurations, enabling clients to understand or display the approval workflow required for creating and deleting machine accounts of the given subtype. Use this endpoint to get machine subtype level approval config for account creation and deletion.
|
|
56305
|
-
* @summary Machine Subtype Approval Config
|
|
56306
|
-
* @param {MachineAccountsV2026ApiGetMachineAccountSubtypeApprovalConfigRequest} requestParameters Request parameters.
|
|
56307
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
56308
|
-
* @throws {RequiredError}
|
|
56309
|
-
* @memberof MachineAccountsV2026Api
|
|
56310
|
-
*/
|
|
56311
|
-
MachineAccountsV2026Api.prototype.getMachineAccountSubtypeApprovalConfig = function (requestParameters, axiosOptions) {
|
|
56312
|
-
var _this = this;
|
|
56313
|
-
return (0, exports.MachineAccountsV2026ApiFp)(this.configuration).getMachineAccountSubtypeApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.subtypeId, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
56314
|
-
};
|
|
56315
56638
|
/**
|
|
56316
56639
|
* Get a machine account subtype by its unique ID.
|
|
56317
56640
|
* @summary Retrieve subtype by subtype id
|
|
56318
56641
|
* @param {MachineAccountsV2026ApiGetMachineAccountSubtypeByIdRequest} requestParameters Request parameters.
|
|
56319
56642
|
* @param {*} [axiosOptions] Override http request option.
|
|
56643
|
+
* @deprecated
|
|
56320
56644
|
* @throws {RequiredError}
|
|
56321
56645
|
* @memberof MachineAccountsV2026Api
|
|
56322
56646
|
*/
|
|
@@ -56329,6 +56653,7 @@ var MachineAccountsV2026Api = /** @class */ (function (_super) {
|
|
|
56329
56653
|
* @summary Retrieve subtype by source and technicalName
|
|
56330
56654
|
* @param {MachineAccountsV2026ApiGetMachineAccountSubtypeByTechnicalNameRequest} requestParameters Request parameters.
|
|
56331
56655
|
* @param {*} [axiosOptions] Override http request option.
|
|
56656
|
+
* @deprecated
|
|
56332
56657
|
* @throws {RequiredError}
|
|
56333
56658
|
* @memberof MachineAccountsV2026Api
|
|
56334
56659
|
*/
|
|
@@ -56341,6 +56666,7 @@ var MachineAccountsV2026Api = /** @class */ (function (_super) {
|
|
|
56341
56666
|
* @summary Retrieve all subtypes by source
|
|
56342
56667
|
* @param {MachineAccountsV2026ApiListMachineAccountSubtypesRequest} requestParameters Request parameters.
|
|
56343
56668
|
* @param {*} [axiosOptions] Override http request option.
|
|
56669
|
+
* @deprecated
|
|
56344
56670
|
* @throws {RequiredError}
|
|
56345
56671
|
* @memberof MachineAccountsV2026Api
|
|
56346
56672
|
*/
|
|
@@ -56361,23 +56687,12 @@ var MachineAccountsV2026Api = /** @class */ (function (_super) {
|
|
|
56361
56687
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
56362
56688
|
return (0, exports.MachineAccountsV2026ApiFp)(this.configuration).listMachineAccounts(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, requestParameters.sorters, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
56363
56689
|
};
|
|
56364
|
-
/**
|
|
56365
|
-
* This endpoint retrieves the subtypes for given subtypeIds.
|
|
56366
|
-
* @summary Bulk Retrieve of Source Subtypes
|
|
56367
|
-
* @param {MachineAccountsV2026ApiLoadBulkSourceSubtypesRequest} requestParameters Request parameters.
|
|
56368
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
56369
|
-
* @throws {RequiredError}
|
|
56370
|
-
* @memberof MachineAccountsV2026Api
|
|
56371
|
-
*/
|
|
56372
|
-
MachineAccountsV2026Api.prototype.loadBulkSourceSubtypes = function (requestParameters, axiosOptions) {
|
|
56373
|
-
var _this = this;
|
|
56374
|
-
return (0, exports.MachineAccountsV2026ApiFp)(this.configuration).loadBulkSourceSubtypes(requestParameters.xSailPointExperimental, requestParameters.requestBody, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
56375
|
-
};
|
|
56376
56690
|
/**
|
|
56377
56691
|
* Update fields of a machine account subtype by source ID and technical name. Patchable fields include: `displayName`, `description`.
|
|
56378
56692
|
* @summary Patch subtype
|
|
56379
56693
|
* @param {MachineAccountsV2026ApiPatchMachineAccountSubtypeByTechnicalNameRequest} requestParameters Request parameters.
|
|
56380
56694
|
* @param {*} [axiosOptions] Override http request option.
|
|
56695
|
+
* @deprecated
|
|
56381
56696
|
* @throws {RequiredError}
|
|
56382
56697
|
* @memberof MachineAccountsV2026Api
|
|
56383
56698
|
*/
|
|
@@ -56397,18 +56712,6 @@ var MachineAccountsV2026Api = /** @class */ (function (_super) {
|
|
|
56397
56712
|
var _this = this;
|
|
56398
56713
|
return (0, exports.MachineAccountsV2026ApiFp)(this.configuration).updateMachineAccount(requestParameters.id, requestParameters.requestBody, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
56399
56714
|
};
|
|
56400
|
-
/**
|
|
56401
|
-
* Updates the approval configuration for machine account deletion at the specified machine subtype level. This endpoint allows clients to modify approval rules and settings (such as required approvers and comments policy) for account creation and deletion workflows associated with a given subtypeId. Use this to customize or enforce approval requirements for creating and deleting machine accounts of a particular subtype.
|
|
56402
|
-
* @summary Machine Subtype Approval Config
|
|
56403
|
-
* @param {MachineAccountsV2026ApiUpdateMachineAccountSubtypeApprovalConfigRequest} requestParameters Request parameters.
|
|
56404
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
56405
|
-
* @throws {RequiredError}
|
|
56406
|
-
* @memberof MachineAccountsV2026Api
|
|
56407
|
-
*/
|
|
56408
|
-
MachineAccountsV2026Api.prototype.updateMachineAccountSubtypeApprovalConfig = function (requestParameters, axiosOptions) {
|
|
56409
|
-
var _this = this;
|
|
56410
|
-
return (0, exports.MachineAccountsV2026ApiFp)(this.configuration).updateMachineAccountSubtypeApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.subtypeId, requestParameters.jsonPatchOperationV2026, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
56411
|
-
};
|
|
56412
56715
|
return MachineAccountsV2026Api;
|
|
56413
56716
|
}(base_1.BaseAPI));
|
|
56414
56717
|
exports.MachineAccountsV2026Api = MachineAccountsV2026Api;
|