sailpoint-api-client 1.8.58 → 1.8.60
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 +36 -0
- package/beta/common.ts +2 -2
- package/beta/package.json +1 -1
- package/dist/beta/api.d.ts +36 -0
- package/dist/beta/api.js.map +1 -1
- package/dist/beta/common.js +2 -2
- package/dist/nerm/common.js +2 -2
- package/dist/nermv2025/common.js +2 -2
- package/dist/v2024/api.d.ts +36 -0
- package/dist/v2024/api.js.map +1 -1
- package/dist/v2024/common.js +2 -2
- package/dist/v2025/api.d.ts +60 -0
- package/dist/v2025/api.js +24 -0
- package/dist/v2025/api.js.map +1 -1
- package/dist/v2025/common.js +2 -2
- package/dist/v2026/api.d.ts +443 -176
- package/dist/v2026/api.js +694 -391
- package/dist/v2026/api.js.map +1 -1
- package/dist/v2026/common.js +2 -2
- package/dist/v3/api.d.ts +36 -0
- 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 +36 -0
- package/v2024/common.ts +2 -2
- package/v2024/package.json +1 -1
- package/v2025/README.md +2 -2
- package/v2025/api.ts +60 -0
- package/v2025/common.ts +2 -2
- package/v2025/package.json +1 -1
- package/v2026/README.md +2 -2
- package/v2026/api.ts +790 -362
- package/v2026/common.ts +2 -2
- package/v2026/package.json +1 -1
- package/v3/README.md +2 -2
- package/v3/api.ts +36 -0
- package/v3/common.ts +2 -2
- package/v3/package.json +1 -1
package/v2026/api.ts
CHANGED
|
@@ -14912,6 +14912,24 @@ export interface CompletedApprovalV2026 {
|
|
|
14912
14912
|
* @memberof CompletedApprovalV2026
|
|
14913
14913
|
*/
|
|
14914
14914
|
'currentRemoveDate'?: string | null;
|
|
14915
|
+
/**
|
|
14916
|
+
* The date the role or access profile or entitlement is/will assigned to the specified identity.
|
|
14917
|
+
* @type {string}
|
|
14918
|
+
* @memberof CompletedApprovalV2026
|
|
14919
|
+
*/
|
|
14920
|
+
'startDate'?: string;
|
|
14921
|
+
/**
|
|
14922
|
+
* If true, then the request is to change the start date or sunrise date.
|
|
14923
|
+
* @type {boolean}
|
|
14924
|
+
* @memberof CompletedApprovalV2026
|
|
14925
|
+
*/
|
|
14926
|
+
'startUpdateRequested'?: boolean;
|
|
14927
|
+
/**
|
|
14928
|
+
* The start date or sunrise date that was assigned at the time of the request.
|
|
14929
|
+
* @type {string}
|
|
14930
|
+
* @memberof CompletedApprovalV2026
|
|
14931
|
+
*/
|
|
14932
|
+
'currentStartDate'?: string;
|
|
14915
14933
|
/**
|
|
14916
14934
|
*
|
|
14917
14935
|
* @type {SodViolationContextCheckCompletedV2026}
|
|
@@ -17091,6 +17109,43 @@ export interface CreateScheduledSearchRequestV2026 {
|
|
|
17091
17109
|
*/
|
|
17092
17110
|
'displayQueryDetails'?: boolean;
|
|
17093
17111
|
}
|
|
17112
|
+
/**
|
|
17113
|
+
*
|
|
17114
|
+
* @export
|
|
17115
|
+
* @interface CreateSourceSubtypeRequestV2026
|
|
17116
|
+
*/
|
|
17117
|
+
export interface CreateSourceSubtypeRequestV2026 {
|
|
17118
|
+
/**
|
|
17119
|
+
* ID of the source where subtype is created.
|
|
17120
|
+
* @type {string}
|
|
17121
|
+
* @memberof CreateSourceSubtypeRequestV2026
|
|
17122
|
+
*/
|
|
17123
|
+
'sourceId': string;
|
|
17124
|
+
/**
|
|
17125
|
+
* Technical name of the subtype.
|
|
17126
|
+
* @type {string}
|
|
17127
|
+
* @memberof CreateSourceSubtypeRequestV2026
|
|
17128
|
+
*/
|
|
17129
|
+
'technicalName': string;
|
|
17130
|
+
/**
|
|
17131
|
+
* Display name of the subtype.
|
|
17132
|
+
* @type {string}
|
|
17133
|
+
* @memberof CreateSourceSubtypeRequestV2026
|
|
17134
|
+
*/
|
|
17135
|
+
'displayName': string;
|
|
17136
|
+
/**
|
|
17137
|
+
* Description of the subtype.
|
|
17138
|
+
* @type {string}
|
|
17139
|
+
* @memberof CreateSourceSubtypeRequestV2026
|
|
17140
|
+
*/
|
|
17141
|
+
'description': string;
|
|
17142
|
+
/**
|
|
17143
|
+
* Type of the subtype.
|
|
17144
|
+
* @type {string}
|
|
17145
|
+
* @memberof CreateSourceSubtypeRequestV2026
|
|
17146
|
+
*/
|
|
17147
|
+
'type'?: string;
|
|
17148
|
+
}
|
|
17094
17149
|
/**
|
|
17095
17150
|
* Full delivery configuration. method and endpoint_url are required.
|
|
17096
17151
|
* @export
|
|
@@ -37072,6 +37127,24 @@ export interface PendingApprovalV2026 {
|
|
|
37072
37127
|
* @memberof PendingApprovalV2026
|
|
37073
37128
|
*/
|
|
37074
37129
|
'currentRemoveDate'?: string;
|
|
37130
|
+
/**
|
|
37131
|
+
* The date the role or access profile or entitlement is/will assigned to the specified identity.
|
|
37132
|
+
* @type {string}
|
|
37133
|
+
* @memberof PendingApprovalV2026
|
|
37134
|
+
*/
|
|
37135
|
+
'startDate'?: string;
|
|
37136
|
+
/**
|
|
37137
|
+
* If true, then the request is to change the start date or sunrise date.
|
|
37138
|
+
* @type {boolean}
|
|
37139
|
+
* @memberof PendingApprovalV2026
|
|
37140
|
+
*/
|
|
37141
|
+
'startUpdateRequested'?: boolean;
|
|
37142
|
+
/**
|
|
37143
|
+
* The start date or sunrise date that was assigned at the time of the request.
|
|
37144
|
+
* @type {string}
|
|
37145
|
+
* @memberof PendingApprovalV2026
|
|
37146
|
+
*/
|
|
37147
|
+
'currentStartDate'?: string;
|
|
37075
37148
|
/**
|
|
37076
37149
|
*
|
|
37077
37150
|
* @type {SodViolationContextCheckCompletedV2026}
|
|
@@ -49920,6 +49993,12 @@ export interface SourceSubtypeWithSourceV2026 {
|
|
|
49920
49993
|
* @memberof SourceSubtypeWithSourceV2026
|
|
49921
49994
|
*/
|
|
49922
49995
|
'source'?: SourceSubtypeWithSourceSourceV2026;
|
|
49996
|
+
/**
|
|
49997
|
+
* Indicates if the subtype is managed by the system.
|
|
49998
|
+
* @type {boolean}
|
|
49999
|
+
* @memberof SourceSubtypeWithSourceV2026
|
|
50000
|
+
*/
|
|
50001
|
+
'systemManaged'?: boolean;
|
|
49923
50002
|
}
|
|
49924
50003
|
/**
|
|
49925
50004
|
*
|
|
@@ -107688,16 +107767,77 @@ export class MachineAccountMappingsV2026Api extends BaseAPI {
|
|
|
107688
107767
|
*/
|
|
107689
107768
|
export const MachineAccountSubtypesV2026ApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
107690
107769
|
return {
|
|
107770
|
+
/**
|
|
107771
|
+
* Create a new machine account subtype.
|
|
107772
|
+
* @summary Create subtype
|
|
107773
|
+
* @param {CreateSourceSubtypeRequestV2026} createSourceSubtypeRequestV2026
|
|
107774
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
107775
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
107776
|
+
* @throws {RequiredError}
|
|
107777
|
+
*/
|
|
107778
|
+
createSourceSubtype: async (createSourceSubtypeRequestV2026: CreateSourceSubtypeRequestV2026, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
107779
|
+
// verify required parameter 'createSourceSubtypeRequestV2026' is not null or undefined
|
|
107780
|
+
assertParamExists('createSourceSubtype', 'createSourceSubtypeRequestV2026', createSourceSubtypeRequestV2026)
|
|
107781
|
+
if (xSailPointExperimental === undefined) {
|
|
107782
|
+
xSailPointExperimental = 'true';
|
|
107783
|
+
}
|
|
107784
|
+
|
|
107785
|
+
const localVarPath = `/source-subtypes`;
|
|
107786
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
107787
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
107788
|
+
let baseOptions;
|
|
107789
|
+
if (configuration) {
|
|
107790
|
+
baseOptions = configuration.baseOptions;
|
|
107791
|
+
}
|
|
107792
|
+
|
|
107793
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
|
|
107794
|
+
const localVarHeaderParameter = {} as any;
|
|
107795
|
+
const localVarQueryParameter = {} as any;
|
|
107796
|
+
|
|
107797
|
+
// authentication userAuth required
|
|
107798
|
+
// oauth required
|
|
107799
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
107800
|
+
|
|
107801
|
+
// authentication userAuth required
|
|
107802
|
+
// oauth required
|
|
107803
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
107804
|
+
|
|
107805
|
+
// authentication applicationAuth required
|
|
107806
|
+
// oauth required
|
|
107807
|
+
await setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)
|
|
107808
|
+
|
|
107809
|
+
|
|
107810
|
+
|
|
107811
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
107812
|
+
|
|
107813
|
+
if (xSailPointExperimental != null) {
|
|
107814
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
107815
|
+
}
|
|
107816
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
107817
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
107818
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
107819
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createSourceSubtypeRequestV2026, localVarRequestOptions, configuration)
|
|
107820
|
+
|
|
107821
|
+
return {
|
|
107822
|
+
url: toPathString(localVarUrlObj),
|
|
107823
|
+
axiosOptions: localVarRequestOptions,
|
|
107824
|
+
};
|
|
107825
|
+
},
|
|
107691
107826
|
/**
|
|
107692
107827
|
* 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.
|
|
107693
107828
|
* @summary Delete subtype by ID
|
|
107694
107829
|
* @param {string} subtypeId The ID of the subtype.
|
|
107830
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
107695
107831
|
* @param {*} [axiosOptions] Override http request option.
|
|
107696
107832
|
* @throws {RequiredError}
|
|
107697
107833
|
*/
|
|
107698
|
-
deleteMachineAccountSubtype: async (subtypeId: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
107834
|
+
deleteMachineAccountSubtype: async (subtypeId: string, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
107699
107835
|
// verify required parameter 'subtypeId' is not null or undefined
|
|
107700
107836
|
assertParamExists('deleteMachineAccountSubtype', 'subtypeId', subtypeId)
|
|
107837
|
+
if (xSailPointExperimental === undefined) {
|
|
107838
|
+
xSailPointExperimental = 'true';
|
|
107839
|
+
}
|
|
107840
|
+
|
|
107701
107841
|
const localVarPath = `/source-subtypes/{subtypeId}`
|
|
107702
107842
|
.replace(`{${"subtypeId"}}`, encodeURIComponent(String(subtypeId)));
|
|
107703
107843
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -107725,6 +107865,61 @@ export const MachineAccountSubtypesV2026ApiAxiosParamCreator = function (configu
|
|
|
107725
107865
|
|
|
107726
107866
|
|
|
107727
107867
|
|
|
107868
|
+
if (xSailPointExperimental != null) {
|
|
107869
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
107870
|
+
}
|
|
107871
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
107872
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
107873
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
107874
|
+
|
|
107875
|
+
return {
|
|
107876
|
+
url: toPathString(localVarUrlObj),
|
|
107877
|
+
axiosOptions: localVarRequestOptions,
|
|
107878
|
+
};
|
|
107879
|
+
},
|
|
107880
|
+
/**
|
|
107881
|
+
* 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.
|
|
107882
|
+
* @summary Machine Subtype Approval Config
|
|
107883
|
+
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
107884
|
+
* @param {string} subtypeId machine subtype id.
|
|
107885
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
107886
|
+
* @throws {RequiredError}
|
|
107887
|
+
*/
|
|
107888
|
+
getMachineAccountSubtypeApprovalConfig: async (xSailPointExperimental: string, subtypeId: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
107889
|
+
if (xSailPointExperimental === undefined) {
|
|
107890
|
+
xSailPointExperimental = 'true';
|
|
107891
|
+
}
|
|
107892
|
+
|
|
107893
|
+
// verify required parameter 'xSailPointExperimental' is not null or undefined
|
|
107894
|
+
assertParamExists('getMachineAccountSubtypeApprovalConfig', 'xSailPointExperimental', xSailPointExperimental)
|
|
107895
|
+
// verify required parameter 'subtypeId' is not null or undefined
|
|
107896
|
+
assertParamExists('getMachineAccountSubtypeApprovalConfig', 'subtypeId', subtypeId)
|
|
107897
|
+
const localVarPath = `/source-subtypes/{subtypeId}/machine-config`
|
|
107898
|
+
.replace(`{${"subtypeId"}}`, encodeURIComponent(String(subtypeId)));
|
|
107899
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
107900
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
107901
|
+
let baseOptions;
|
|
107902
|
+
if (configuration) {
|
|
107903
|
+
baseOptions = configuration.baseOptions;
|
|
107904
|
+
}
|
|
107905
|
+
|
|
107906
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
|
|
107907
|
+
const localVarHeaderParameter = {} as any;
|
|
107908
|
+
const localVarQueryParameter = {} as any;
|
|
107909
|
+
|
|
107910
|
+
// authentication userAuth required
|
|
107911
|
+
// oauth required
|
|
107912
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
107913
|
+
|
|
107914
|
+
// authentication userAuth required
|
|
107915
|
+
// oauth required
|
|
107916
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
107917
|
+
|
|
107918
|
+
|
|
107919
|
+
|
|
107920
|
+
if (xSailPointExperimental != null) {
|
|
107921
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
107922
|
+
}
|
|
107728
107923
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
107729
107924
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
107730
107925
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
@@ -107738,12 +107933,17 @@ export const MachineAccountSubtypesV2026ApiAxiosParamCreator = function (configu
|
|
|
107738
107933
|
* Get a machine account subtype by subtype ID.
|
|
107739
107934
|
* @summary Get subtype by ID
|
|
107740
107935
|
* @param {string} subtypeId The ID of the subtype.
|
|
107936
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
107741
107937
|
* @param {*} [axiosOptions] Override http request option.
|
|
107742
107938
|
* @throws {RequiredError}
|
|
107743
107939
|
*/
|
|
107744
|
-
getSourceSubtypeById: async (subtypeId: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
107940
|
+
getSourceSubtypeById: async (subtypeId: string, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
107745
107941
|
// verify required parameter 'subtypeId' is not null or undefined
|
|
107746
107942
|
assertParamExists('getSourceSubtypeById', 'subtypeId', subtypeId)
|
|
107943
|
+
if (xSailPointExperimental === undefined) {
|
|
107944
|
+
xSailPointExperimental = 'true';
|
|
107945
|
+
}
|
|
107946
|
+
|
|
107747
107947
|
const localVarPath = `/source-subtypes/{subtypeId}`
|
|
107748
107948
|
.replace(`{${"subtypeId"}}`, encodeURIComponent(String(subtypeId)));
|
|
107749
107949
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -107771,9 +107971,145 @@ export const MachineAccountSubtypesV2026ApiAxiosParamCreator = function (configu
|
|
|
107771
107971
|
|
|
107772
107972
|
|
|
107773
107973
|
|
|
107974
|
+
if (xSailPointExperimental != null) {
|
|
107975
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
107976
|
+
}
|
|
107977
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
107978
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
107979
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
107980
|
+
|
|
107981
|
+
return {
|
|
107982
|
+
url: toPathString(localVarUrlObj),
|
|
107983
|
+
axiosOptions: localVarRequestOptions,
|
|
107984
|
+
};
|
|
107985
|
+
},
|
|
107986
|
+
/**
|
|
107987
|
+
* Get all machine account subtypes.
|
|
107988
|
+
* @summary Retrieve all subtypes
|
|
107989
|
+
* @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*
|
|
107990
|
+
* @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**
|
|
107991
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
107992
|
+
* @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.
|
|
107993
|
+
* @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.
|
|
107994
|
+
* @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.
|
|
107995
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
107996
|
+
* @throws {RequiredError}
|
|
107997
|
+
*/
|
|
107998
|
+
listSourceSubtypes: async (filters?: string, sorters?: string, xSailPointExperimental?: string, count?: boolean, limit?: number, offset?: number, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
107999
|
+
if (xSailPointExperimental === undefined) {
|
|
108000
|
+
xSailPointExperimental = 'true';
|
|
108001
|
+
}
|
|
108002
|
+
|
|
108003
|
+
const localVarPath = `/source-subtypes`;
|
|
108004
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
108005
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
108006
|
+
let baseOptions;
|
|
108007
|
+
if (configuration) {
|
|
108008
|
+
baseOptions = configuration.baseOptions;
|
|
108009
|
+
}
|
|
108010
|
+
|
|
108011
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
|
|
108012
|
+
const localVarHeaderParameter = {} as any;
|
|
108013
|
+
const localVarQueryParameter = {} as any;
|
|
108014
|
+
|
|
108015
|
+
// authentication userAuth required
|
|
108016
|
+
// oauth required
|
|
108017
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
108018
|
+
|
|
108019
|
+
// authentication userAuth required
|
|
108020
|
+
// oauth required
|
|
108021
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
108022
|
+
|
|
108023
|
+
// authentication applicationAuth required
|
|
108024
|
+
// oauth required
|
|
108025
|
+
await setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)
|
|
108026
|
+
|
|
108027
|
+
if (filters !== undefined) {
|
|
108028
|
+
localVarQueryParameter['filters'] = filters;
|
|
108029
|
+
}
|
|
108030
|
+
|
|
108031
|
+
if (sorters !== undefined) {
|
|
108032
|
+
localVarQueryParameter['sorters'] = sorters;
|
|
108033
|
+
}
|
|
108034
|
+
|
|
108035
|
+
if (count !== undefined) {
|
|
108036
|
+
localVarQueryParameter['count'] = count;
|
|
108037
|
+
}
|
|
108038
|
+
|
|
108039
|
+
if (limit !== undefined) {
|
|
108040
|
+
localVarQueryParameter['limit'] = limit;
|
|
108041
|
+
}
|
|
108042
|
+
|
|
108043
|
+
if (offset !== undefined) {
|
|
108044
|
+
localVarQueryParameter['offset'] = offset;
|
|
108045
|
+
}
|
|
108046
|
+
|
|
108047
|
+
|
|
108048
|
+
|
|
108049
|
+
if (xSailPointExperimental != null) {
|
|
108050
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
108051
|
+
}
|
|
108052
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
108053
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
108054
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
108055
|
+
|
|
108056
|
+
return {
|
|
108057
|
+
url: toPathString(localVarUrlObj),
|
|
108058
|
+
axiosOptions: localVarRequestOptions,
|
|
108059
|
+
};
|
|
108060
|
+
},
|
|
108061
|
+
/**
|
|
108062
|
+
* This endpoint retrieves the subtypes for given subtypeIds.
|
|
108063
|
+
* @summary Bulk Retrieve of Source Subtypes
|
|
108064
|
+
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
108065
|
+
* @param {Array<string>} requestBody
|
|
108066
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
108067
|
+
* @throws {RequiredError}
|
|
108068
|
+
*/
|
|
108069
|
+
loadBulkSourceSubtypes: async (xSailPointExperimental: string, requestBody: Array<string>, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
108070
|
+
if (xSailPointExperimental === undefined) {
|
|
108071
|
+
xSailPointExperimental = 'true';
|
|
108072
|
+
}
|
|
108073
|
+
|
|
108074
|
+
// verify required parameter 'xSailPointExperimental' is not null or undefined
|
|
108075
|
+
assertParamExists('loadBulkSourceSubtypes', 'xSailPointExperimental', xSailPointExperimental)
|
|
108076
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
108077
|
+
assertParamExists('loadBulkSourceSubtypes', 'requestBody', requestBody)
|
|
108078
|
+
const localVarPath = `/source-subtypes/bulk-retrieve`;
|
|
108079
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
108080
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
108081
|
+
let baseOptions;
|
|
108082
|
+
if (configuration) {
|
|
108083
|
+
baseOptions = configuration.baseOptions;
|
|
108084
|
+
}
|
|
108085
|
+
|
|
108086
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
|
|
108087
|
+
const localVarHeaderParameter = {} as any;
|
|
108088
|
+
const localVarQueryParameter = {} as any;
|
|
108089
|
+
|
|
108090
|
+
// authentication userAuth required
|
|
108091
|
+
// oauth required
|
|
108092
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
108093
|
+
|
|
108094
|
+
// authentication userAuth required
|
|
108095
|
+
// oauth required
|
|
108096
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
108097
|
+
|
|
108098
|
+
// authentication applicationAuth required
|
|
108099
|
+
// oauth required
|
|
108100
|
+
await setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)
|
|
108101
|
+
|
|
108102
|
+
|
|
108103
|
+
|
|
108104
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
108105
|
+
|
|
108106
|
+
if (xSailPointExperimental != null) {
|
|
108107
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
108108
|
+
}
|
|
107774
108109
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
107775
108110
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
107776
108111
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
108112
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
|
|
107777
108113
|
|
|
107778
108114
|
return {
|
|
107779
108115
|
url: toPathString(localVarUrlObj),
|
|
@@ -107785,14 +108121,19 @@ export const MachineAccountSubtypesV2026ApiAxiosParamCreator = function (configu
|
|
|
107785
108121
|
* @summary Patch subtype by ID
|
|
107786
108122
|
* @param {string} subtypeId The ID of the subtype.
|
|
107787
108123
|
* @param {Array<object>} requestBody A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
|
108124
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
107788
108125
|
* @param {*} [axiosOptions] Override http request option.
|
|
107789
108126
|
* @throws {RequiredError}
|
|
107790
108127
|
*/
|
|
107791
|
-
patchMachineAccountSubtype: async (subtypeId: string, requestBody: Array<object>, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
108128
|
+
patchMachineAccountSubtype: async (subtypeId: string, requestBody: Array<object>, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
107792
108129
|
// verify required parameter 'subtypeId' is not null or undefined
|
|
107793
108130
|
assertParamExists('patchMachineAccountSubtype', 'subtypeId', subtypeId)
|
|
107794
108131
|
// verify required parameter 'requestBody' is not null or undefined
|
|
107795
108132
|
assertParamExists('patchMachineAccountSubtype', 'requestBody', requestBody)
|
|
108133
|
+
if (xSailPointExperimental === undefined) {
|
|
108134
|
+
xSailPointExperimental = 'true';
|
|
108135
|
+
}
|
|
108136
|
+
|
|
107796
108137
|
const localVarPath = `/source-subtypes/{subtypeId}`
|
|
107797
108138
|
.replace(`{${"subtypeId"}}`, encodeURIComponent(String(subtypeId)));
|
|
107798
108139
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -107822,11 +108163,72 @@ export const MachineAccountSubtypesV2026ApiAxiosParamCreator = function (configu
|
|
|
107822
108163
|
|
|
107823
108164
|
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
107824
108165
|
|
|
108166
|
+
if (xSailPointExperimental != null) {
|
|
108167
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
108168
|
+
}
|
|
107825
108169
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
107826
108170
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
107827
108171
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
107828
108172
|
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
|
|
107829
108173
|
|
|
108174
|
+
return {
|
|
108175
|
+
url: toPathString(localVarUrlObj),
|
|
108176
|
+
axiosOptions: localVarRequestOptions,
|
|
108177
|
+
};
|
|
108178
|
+
},
|
|
108179
|
+
/**
|
|
108180
|
+
* 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.
|
|
108181
|
+
* @summary Machine Subtype Approval Config
|
|
108182
|
+
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
108183
|
+
* @param {string} subtypeId machine account subtype ID.
|
|
108184
|
+
* @param {Array<JsonPatchOperationV2026>} jsonPatchOperationV2026 The JSONPatch payload used to update the object.
|
|
108185
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
108186
|
+
* @throws {RequiredError}
|
|
108187
|
+
*/
|
|
108188
|
+
updateMachineAccountSubtypeApprovalConfig: async (xSailPointExperimental: string, subtypeId: string, jsonPatchOperationV2026: Array<JsonPatchOperationV2026>, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
108189
|
+
if (xSailPointExperimental === undefined) {
|
|
108190
|
+
xSailPointExperimental = 'true';
|
|
108191
|
+
}
|
|
108192
|
+
|
|
108193
|
+
// verify required parameter 'xSailPointExperimental' is not null or undefined
|
|
108194
|
+
assertParamExists('updateMachineAccountSubtypeApprovalConfig', 'xSailPointExperimental', xSailPointExperimental)
|
|
108195
|
+
// verify required parameter 'subtypeId' is not null or undefined
|
|
108196
|
+
assertParamExists('updateMachineAccountSubtypeApprovalConfig', 'subtypeId', subtypeId)
|
|
108197
|
+
// verify required parameter 'jsonPatchOperationV2026' is not null or undefined
|
|
108198
|
+
assertParamExists('updateMachineAccountSubtypeApprovalConfig', 'jsonPatchOperationV2026', jsonPatchOperationV2026)
|
|
108199
|
+
const localVarPath = `/source-subtypes/{subtypeId}/machine-config`
|
|
108200
|
+
.replace(`{${"subtypeId"}}`, encodeURIComponent(String(subtypeId)));
|
|
108201
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
108202
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
108203
|
+
let baseOptions;
|
|
108204
|
+
if (configuration) {
|
|
108205
|
+
baseOptions = configuration.baseOptions;
|
|
108206
|
+
}
|
|
108207
|
+
|
|
108208
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...axiosOptions};
|
|
108209
|
+
const localVarHeaderParameter = {} as any;
|
|
108210
|
+
const localVarQueryParameter = {} as any;
|
|
108211
|
+
|
|
108212
|
+
// authentication userAuth required
|
|
108213
|
+
// oauth required
|
|
108214
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
108215
|
+
|
|
108216
|
+
// authentication userAuth required
|
|
108217
|
+
// oauth required
|
|
108218
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
108219
|
+
|
|
108220
|
+
|
|
108221
|
+
|
|
108222
|
+
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
108223
|
+
|
|
108224
|
+
if (xSailPointExperimental != null) {
|
|
108225
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
108226
|
+
}
|
|
108227
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
108228
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
108229
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
108230
|
+
localVarRequestOptions.data = serializeDataIfNeeded(jsonPatchOperationV2026, localVarRequestOptions, configuration)
|
|
108231
|
+
|
|
107830
108232
|
return {
|
|
107831
108233
|
url: toPathString(localVarUrlObj),
|
|
107832
108234
|
axiosOptions: localVarRequestOptions,
|
|
@@ -107842,46 +108244,124 @@ export const MachineAccountSubtypesV2026ApiAxiosParamCreator = function (configu
|
|
|
107842
108244
|
export const MachineAccountSubtypesV2026ApiFp = function(configuration?: Configuration) {
|
|
107843
108245
|
const localVarAxiosParamCreator = MachineAccountSubtypesV2026ApiAxiosParamCreator(configuration)
|
|
107844
108246
|
return {
|
|
108247
|
+
/**
|
|
108248
|
+
* Create a new machine account subtype.
|
|
108249
|
+
* @summary Create subtype
|
|
108250
|
+
* @param {CreateSourceSubtypeRequestV2026} createSourceSubtypeRequestV2026
|
|
108251
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
108252
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
108253
|
+
* @throws {RequiredError}
|
|
108254
|
+
*/
|
|
108255
|
+
async createSourceSubtype(createSourceSubtypeRequestV2026: CreateSourceSubtypeRequestV2026, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SourceSubtypeWithSourceV2026>> {
|
|
108256
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createSourceSubtype(createSourceSubtypeRequestV2026, xSailPointExperimental, axiosOptions);
|
|
108257
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
108258
|
+
const localVarOperationServerBasePath = operationServerMap['MachineAccountSubtypesV2026Api.createSourceSubtype']?.[localVarOperationServerIndex]?.url;
|
|
108259
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
108260
|
+
},
|
|
107845
108261
|
/**
|
|
107846
108262
|
* 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.
|
|
107847
108263
|
* @summary Delete subtype by ID
|
|
107848
108264
|
* @param {string} subtypeId The ID of the subtype.
|
|
108265
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
107849
108266
|
* @param {*} [axiosOptions] Override http request option.
|
|
107850
108267
|
* @throws {RequiredError}
|
|
107851
108268
|
*/
|
|
107852
|
-
async deleteMachineAccountSubtype(subtypeId: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
107853
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteMachineAccountSubtype(subtypeId, axiosOptions);
|
|
108269
|
+
async deleteMachineAccountSubtype(subtypeId: string, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
108270
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteMachineAccountSubtype(subtypeId, xSailPointExperimental, axiosOptions);
|
|
107854
108271
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
107855
108272
|
const localVarOperationServerBasePath = operationServerMap['MachineAccountSubtypesV2026Api.deleteMachineAccountSubtype']?.[localVarOperationServerIndex]?.url;
|
|
107856
108273
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
107857
108274
|
},
|
|
108275
|
+
/**
|
|
108276
|
+
* 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.
|
|
108277
|
+
* @summary Machine Subtype Approval Config
|
|
108278
|
+
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
108279
|
+
* @param {string} subtypeId machine subtype id.
|
|
108280
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
108281
|
+
* @throws {RequiredError}
|
|
108282
|
+
*/
|
|
108283
|
+
async getMachineAccountSubtypeApprovalConfig(xSailPointExperimental: string, subtypeId: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MachineAccountSubtypeConfigDtoV2026>> {
|
|
108284
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMachineAccountSubtypeApprovalConfig(xSailPointExperimental, subtypeId, axiosOptions);
|
|
108285
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
108286
|
+
const localVarOperationServerBasePath = operationServerMap['MachineAccountSubtypesV2026Api.getMachineAccountSubtypeApprovalConfig']?.[localVarOperationServerIndex]?.url;
|
|
108287
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
108288
|
+
},
|
|
107858
108289
|
/**
|
|
107859
108290
|
* Get a machine account subtype by subtype ID.
|
|
107860
108291
|
* @summary Get subtype by ID
|
|
107861
108292
|
* @param {string} subtypeId The ID of the subtype.
|
|
108293
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
107862
108294
|
* @param {*} [axiosOptions] Override http request option.
|
|
107863
108295
|
* @throws {RequiredError}
|
|
107864
108296
|
*/
|
|
107865
|
-
async getSourceSubtypeById(subtypeId: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SourceSubtypeWithSourceV2026>> {
|
|
107866
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getSourceSubtypeById(subtypeId, axiosOptions);
|
|
108297
|
+
async getSourceSubtypeById(subtypeId: string, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SourceSubtypeWithSourceV2026>> {
|
|
108298
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSourceSubtypeById(subtypeId, xSailPointExperimental, axiosOptions);
|
|
107867
108299
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
107868
108300
|
const localVarOperationServerBasePath = operationServerMap['MachineAccountSubtypesV2026Api.getSourceSubtypeById']?.[localVarOperationServerIndex]?.url;
|
|
107869
108301
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
107870
108302
|
},
|
|
108303
|
+
/**
|
|
108304
|
+
* Get all machine account subtypes.
|
|
108305
|
+
* @summary Retrieve all subtypes
|
|
108306
|
+
* @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*
|
|
108307
|
+
* @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**
|
|
108308
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
108309
|
+
* @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.
|
|
108310
|
+
* @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.
|
|
108311
|
+
* @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.
|
|
108312
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
108313
|
+
* @throws {RequiredError}
|
|
108314
|
+
*/
|
|
108315
|
+
async listSourceSubtypes(filters?: string, sorters?: string, xSailPointExperimental?: string, count?: boolean, limit?: number, offset?: number, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SourceSubtypeWithSourceV2026>>> {
|
|
108316
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSourceSubtypes(filters, sorters, xSailPointExperimental, count, limit, offset, axiosOptions);
|
|
108317
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
108318
|
+
const localVarOperationServerBasePath = operationServerMap['MachineAccountSubtypesV2026Api.listSourceSubtypes']?.[localVarOperationServerIndex]?.url;
|
|
108319
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
108320
|
+
},
|
|
108321
|
+
/**
|
|
108322
|
+
* This endpoint retrieves the subtypes for given subtypeIds.
|
|
108323
|
+
* @summary Bulk Retrieve of Source Subtypes
|
|
108324
|
+
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
108325
|
+
* @param {Array<string>} requestBody
|
|
108326
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
108327
|
+
* @throws {RequiredError}
|
|
108328
|
+
*/
|
|
108329
|
+
async loadBulkSourceSubtypes(xSailPointExperimental: string, requestBody: Array<string>, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SourceSubtypeWithSourceV2026>>> {
|
|
108330
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.loadBulkSourceSubtypes(xSailPointExperimental, requestBody, axiosOptions);
|
|
108331
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
108332
|
+
const localVarOperationServerBasePath = operationServerMap['MachineAccountSubtypesV2026Api.loadBulkSourceSubtypes']?.[localVarOperationServerIndex]?.url;
|
|
108333
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
108334
|
+
},
|
|
107871
108335
|
/**
|
|
107872
108336
|
* Update fields of a machine account subtype by subtype ID. Patchable fields only include: `displayName`, `description`.
|
|
107873
108337
|
* @summary Patch subtype by ID
|
|
107874
108338
|
* @param {string} subtypeId The ID of the subtype.
|
|
107875
108339
|
* @param {Array<object>} requestBody A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
|
108340
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
107876
108341
|
* @param {*} [axiosOptions] Override http request option.
|
|
107877
108342
|
* @throws {RequiredError}
|
|
107878
108343
|
*/
|
|
107879
|
-
async patchMachineAccountSubtype(subtypeId: string, requestBody: Array<object>, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SourceSubtypeWithSourceV2026>> {
|
|
107880
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.patchMachineAccountSubtype(subtypeId, requestBody, axiosOptions);
|
|
108344
|
+
async patchMachineAccountSubtype(subtypeId: string, requestBody: Array<object>, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SourceSubtypeWithSourceV2026>> {
|
|
108345
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchMachineAccountSubtype(subtypeId, requestBody, xSailPointExperimental, axiosOptions);
|
|
107881
108346
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
107882
108347
|
const localVarOperationServerBasePath = operationServerMap['MachineAccountSubtypesV2026Api.patchMachineAccountSubtype']?.[localVarOperationServerIndex]?.url;
|
|
107883
108348
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
107884
108349
|
},
|
|
108350
|
+
/**
|
|
108351
|
+
* 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.
|
|
108352
|
+
* @summary Machine Subtype Approval Config
|
|
108353
|
+
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
108354
|
+
* @param {string} subtypeId machine account subtype ID.
|
|
108355
|
+
* @param {Array<JsonPatchOperationV2026>} jsonPatchOperationV2026 The JSONPatch payload used to update the object.
|
|
108356
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
108357
|
+
* @throws {RequiredError}
|
|
108358
|
+
*/
|
|
108359
|
+
async updateMachineAccountSubtypeApprovalConfig(xSailPointExperimental: string, subtypeId: string, jsonPatchOperationV2026: Array<JsonPatchOperationV2026>, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MachineAccountSubtypeConfigDtoV2026>> {
|
|
108360
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateMachineAccountSubtypeApprovalConfig(xSailPointExperimental, subtypeId, jsonPatchOperationV2026, axiosOptions);
|
|
108361
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
108362
|
+
const localVarOperationServerBasePath = operationServerMap['MachineAccountSubtypesV2026Api.updateMachineAccountSubtypeApprovalConfig']?.[localVarOperationServerIndex]?.url;
|
|
108363
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
108364
|
+
},
|
|
107885
108365
|
}
|
|
107886
108366
|
};
|
|
107887
108367
|
|
|
@@ -107892,6 +108372,16 @@ export const MachineAccountSubtypesV2026ApiFp = function(configuration?: Configu
|
|
|
107892
108372
|
export const MachineAccountSubtypesV2026ApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
107893
108373
|
const localVarFp = MachineAccountSubtypesV2026ApiFp(configuration)
|
|
107894
108374
|
return {
|
|
108375
|
+
/**
|
|
108376
|
+
* Create a new machine account subtype.
|
|
108377
|
+
* @summary Create subtype
|
|
108378
|
+
* @param {MachineAccountSubtypesV2026ApiCreateSourceSubtypeRequest} requestParameters Request parameters.
|
|
108379
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
108380
|
+
* @throws {RequiredError}
|
|
108381
|
+
*/
|
|
108382
|
+
createSourceSubtype(requestParameters: MachineAccountSubtypesV2026ApiCreateSourceSubtypeRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<SourceSubtypeWithSourceV2026> {
|
|
108383
|
+
return localVarFp.createSourceSubtype(requestParameters.createSourceSubtypeRequestV2026, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));
|
|
108384
|
+
},
|
|
107895
108385
|
/**
|
|
107896
108386
|
* 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.
|
|
107897
108387
|
* @summary Delete subtype by ID
|
|
@@ -107900,7 +108390,17 @@ export const MachineAccountSubtypesV2026ApiFactory = function (configuration?: C
|
|
|
107900
108390
|
* @throws {RequiredError}
|
|
107901
108391
|
*/
|
|
107902
108392
|
deleteMachineAccountSubtype(requestParameters: MachineAccountSubtypesV2026ApiDeleteMachineAccountSubtypeRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
107903
|
-
return localVarFp.deleteMachineAccountSubtype(requestParameters.subtypeId, axiosOptions).then((request) => request(axios, basePath));
|
|
108393
|
+
return localVarFp.deleteMachineAccountSubtype(requestParameters.subtypeId, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));
|
|
108394
|
+
},
|
|
108395
|
+
/**
|
|
108396
|
+
* 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.
|
|
108397
|
+
* @summary Machine Subtype Approval Config
|
|
108398
|
+
* @param {MachineAccountSubtypesV2026ApiGetMachineAccountSubtypeApprovalConfigRequest} requestParameters Request parameters.
|
|
108399
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
108400
|
+
* @throws {RequiredError}
|
|
108401
|
+
*/
|
|
108402
|
+
getMachineAccountSubtypeApprovalConfig(requestParameters: MachineAccountSubtypesV2026ApiGetMachineAccountSubtypeApprovalConfigRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<MachineAccountSubtypeConfigDtoV2026> {
|
|
108403
|
+
return localVarFp.getMachineAccountSubtypeApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.subtypeId, axiosOptions).then((request) => request(axios, basePath));
|
|
107904
108404
|
},
|
|
107905
108405
|
/**
|
|
107906
108406
|
* Get a machine account subtype by subtype ID.
|
|
@@ -107910,7 +108410,27 @@ export const MachineAccountSubtypesV2026ApiFactory = function (configuration?: C
|
|
|
107910
108410
|
* @throws {RequiredError}
|
|
107911
108411
|
*/
|
|
107912
108412
|
getSourceSubtypeById(requestParameters: MachineAccountSubtypesV2026ApiGetSourceSubtypeByIdRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<SourceSubtypeWithSourceV2026> {
|
|
107913
|
-
return localVarFp.getSourceSubtypeById(requestParameters.subtypeId, axiosOptions).then((request) => request(axios, basePath));
|
|
108413
|
+
return localVarFp.getSourceSubtypeById(requestParameters.subtypeId, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));
|
|
108414
|
+
},
|
|
108415
|
+
/**
|
|
108416
|
+
* Get all machine account subtypes.
|
|
108417
|
+
* @summary Retrieve all subtypes
|
|
108418
|
+
* @param {MachineAccountSubtypesV2026ApiListSourceSubtypesRequest} requestParameters Request parameters.
|
|
108419
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
108420
|
+
* @throws {RequiredError}
|
|
108421
|
+
*/
|
|
108422
|
+
listSourceSubtypes(requestParameters: MachineAccountSubtypesV2026ApiListSourceSubtypesRequest = {}, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<SourceSubtypeWithSourceV2026>> {
|
|
108423
|
+
return localVarFp.listSourceSubtypes(requestParameters.filters, requestParameters.sorters, requestParameters.xSailPointExperimental, requestParameters.count, requestParameters.limit, requestParameters.offset, axiosOptions).then((request) => request(axios, basePath));
|
|
108424
|
+
},
|
|
108425
|
+
/**
|
|
108426
|
+
* This endpoint retrieves the subtypes for given subtypeIds.
|
|
108427
|
+
* @summary Bulk Retrieve of Source Subtypes
|
|
108428
|
+
* @param {MachineAccountSubtypesV2026ApiLoadBulkSourceSubtypesRequest} requestParameters Request parameters.
|
|
108429
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
108430
|
+
* @throws {RequiredError}
|
|
108431
|
+
*/
|
|
108432
|
+
loadBulkSourceSubtypes(requestParameters: MachineAccountSubtypesV2026ApiLoadBulkSourceSubtypesRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<SourceSubtypeWithSourceV2026>> {
|
|
108433
|
+
return localVarFp.loadBulkSourceSubtypes(requestParameters.xSailPointExperimental, requestParameters.requestBody, axiosOptions).then((request) => request(axios, basePath));
|
|
107914
108434
|
},
|
|
107915
108435
|
/**
|
|
107916
108436
|
* Update fields of a machine account subtype by subtype ID. Patchable fields only include: `displayName`, `description`.
|
|
@@ -107920,11 +108440,42 @@ export const MachineAccountSubtypesV2026ApiFactory = function (configuration?: C
|
|
|
107920
108440
|
* @throws {RequiredError}
|
|
107921
108441
|
*/
|
|
107922
108442
|
patchMachineAccountSubtype(requestParameters: MachineAccountSubtypesV2026ApiPatchMachineAccountSubtypeRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<SourceSubtypeWithSourceV2026> {
|
|
107923
|
-
return localVarFp.patchMachineAccountSubtype(requestParameters.subtypeId, requestParameters.requestBody, axiosOptions).then((request) => request(axios, basePath));
|
|
108443
|
+
return localVarFp.patchMachineAccountSubtype(requestParameters.subtypeId, requestParameters.requestBody, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));
|
|
108444
|
+
},
|
|
108445
|
+
/**
|
|
108446
|
+
* 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.
|
|
108447
|
+
* @summary Machine Subtype Approval Config
|
|
108448
|
+
* @param {MachineAccountSubtypesV2026ApiUpdateMachineAccountSubtypeApprovalConfigRequest} requestParameters Request parameters.
|
|
108449
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
108450
|
+
* @throws {RequiredError}
|
|
108451
|
+
*/
|
|
108452
|
+
updateMachineAccountSubtypeApprovalConfig(requestParameters: MachineAccountSubtypesV2026ApiUpdateMachineAccountSubtypeApprovalConfigRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<MachineAccountSubtypeConfigDtoV2026> {
|
|
108453
|
+
return localVarFp.updateMachineAccountSubtypeApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.subtypeId, requestParameters.jsonPatchOperationV2026, axiosOptions).then((request) => request(axios, basePath));
|
|
107924
108454
|
},
|
|
107925
108455
|
};
|
|
107926
108456
|
};
|
|
107927
108457
|
|
|
108458
|
+
/**
|
|
108459
|
+
* Request parameters for createSourceSubtype operation in MachineAccountSubtypesV2026Api.
|
|
108460
|
+
* @export
|
|
108461
|
+
* @interface MachineAccountSubtypesV2026ApiCreateSourceSubtypeRequest
|
|
108462
|
+
*/
|
|
108463
|
+
export interface MachineAccountSubtypesV2026ApiCreateSourceSubtypeRequest {
|
|
108464
|
+
/**
|
|
108465
|
+
*
|
|
108466
|
+
* @type {CreateSourceSubtypeRequestV2026}
|
|
108467
|
+
* @memberof MachineAccountSubtypesV2026ApiCreateSourceSubtype
|
|
108468
|
+
*/
|
|
108469
|
+
readonly createSourceSubtypeRequestV2026: CreateSourceSubtypeRequestV2026
|
|
108470
|
+
|
|
108471
|
+
/**
|
|
108472
|
+
* Use this header to enable this experimental API.
|
|
108473
|
+
* @type {string}
|
|
108474
|
+
* @memberof MachineAccountSubtypesV2026ApiCreateSourceSubtype
|
|
108475
|
+
*/
|
|
108476
|
+
readonly xSailPointExperimental?: string
|
|
108477
|
+
}
|
|
108478
|
+
|
|
107928
108479
|
/**
|
|
107929
108480
|
* Request parameters for deleteMachineAccountSubtype operation in MachineAccountSubtypesV2026Api.
|
|
107930
108481
|
* @export
|
|
@@ -107937,6 +108488,34 @@ export interface MachineAccountSubtypesV2026ApiDeleteMachineAccountSubtypeReques
|
|
|
107937
108488
|
* @memberof MachineAccountSubtypesV2026ApiDeleteMachineAccountSubtype
|
|
107938
108489
|
*/
|
|
107939
108490
|
readonly subtypeId: string
|
|
108491
|
+
|
|
108492
|
+
/**
|
|
108493
|
+
* Use this header to enable this experimental API.
|
|
108494
|
+
* @type {string}
|
|
108495
|
+
* @memberof MachineAccountSubtypesV2026ApiDeleteMachineAccountSubtype
|
|
108496
|
+
*/
|
|
108497
|
+
readonly xSailPointExperimental?: string
|
|
108498
|
+
}
|
|
108499
|
+
|
|
108500
|
+
/**
|
|
108501
|
+
* Request parameters for getMachineAccountSubtypeApprovalConfig operation in MachineAccountSubtypesV2026Api.
|
|
108502
|
+
* @export
|
|
108503
|
+
* @interface MachineAccountSubtypesV2026ApiGetMachineAccountSubtypeApprovalConfigRequest
|
|
108504
|
+
*/
|
|
108505
|
+
export interface MachineAccountSubtypesV2026ApiGetMachineAccountSubtypeApprovalConfigRequest {
|
|
108506
|
+
/**
|
|
108507
|
+
* Use this header to enable this experimental API.
|
|
108508
|
+
* @type {string}
|
|
108509
|
+
* @memberof MachineAccountSubtypesV2026ApiGetMachineAccountSubtypeApprovalConfig
|
|
108510
|
+
*/
|
|
108511
|
+
readonly xSailPointExperimental: string
|
|
108512
|
+
|
|
108513
|
+
/**
|
|
108514
|
+
* machine subtype id.
|
|
108515
|
+
* @type {string}
|
|
108516
|
+
* @memberof MachineAccountSubtypesV2026ApiGetMachineAccountSubtypeApprovalConfig
|
|
108517
|
+
*/
|
|
108518
|
+
readonly subtypeId: string
|
|
107940
108519
|
}
|
|
107941
108520
|
|
|
107942
108521
|
/**
|
|
@@ -107951,6 +108530,83 @@ export interface MachineAccountSubtypesV2026ApiGetSourceSubtypeByIdRequest {
|
|
|
107951
108530
|
* @memberof MachineAccountSubtypesV2026ApiGetSourceSubtypeById
|
|
107952
108531
|
*/
|
|
107953
108532
|
readonly subtypeId: string
|
|
108533
|
+
|
|
108534
|
+
/**
|
|
108535
|
+
* Use this header to enable this experimental API.
|
|
108536
|
+
* @type {string}
|
|
108537
|
+
* @memberof MachineAccountSubtypesV2026ApiGetSourceSubtypeById
|
|
108538
|
+
*/
|
|
108539
|
+
readonly xSailPointExperimental?: string
|
|
108540
|
+
}
|
|
108541
|
+
|
|
108542
|
+
/**
|
|
108543
|
+
* Request parameters for listSourceSubtypes operation in MachineAccountSubtypesV2026Api.
|
|
108544
|
+
* @export
|
|
108545
|
+
* @interface MachineAccountSubtypesV2026ApiListSourceSubtypesRequest
|
|
108546
|
+
*/
|
|
108547
|
+
export interface MachineAccountSubtypesV2026ApiListSourceSubtypesRequest {
|
|
108548
|
+
/**
|
|
108549
|
+
* 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*
|
|
108550
|
+
* @type {string}
|
|
108551
|
+
* @memberof MachineAccountSubtypesV2026ApiListSourceSubtypes
|
|
108552
|
+
*/
|
|
108553
|
+
readonly filters?: string
|
|
108554
|
+
|
|
108555
|
+
/**
|
|
108556
|
+
* 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**
|
|
108557
|
+
* @type {string}
|
|
108558
|
+
* @memberof MachineAccountSubtypesV2026ApiListSourceSubtypes
|
|
108559
|
+
*/
|
|
108560
|
+
readonly sorters?: string
|
|
108561
|
+
|
|
108562
|
+
/**
|
|
108563
|
+
* Use this header to enable this experimental API.
|
|
108564
|
+
* @type {string}
|
|
108565
|
+
* @memberof MachineAccountSubtypesV2026ApiListSourceSubtypes
|
|
108566
|
+
*/
|
|
108567
|
+
readonly xSailPointExperimental?: string
|
|
108568
|
+
|
|
108569
|
+
/**
|
|
108570
|
+
* 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.
|
|
108571
|
+
* @type {boolean}
|
|
108572
|
+
* @memberof MachineAccountSubtypesV2026ApiListSourceSubtypes
|
|
108573
|
+
*/
|
|
108574
|
+
readonly count?: boolean
|
|
108575
|
+
|
|
108576
|
+
/**
|
|
108577
|
+
* Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
108578
|
+
* @type {number}
|
|
108579
|
+
* @memberof MachineAccountSubtypesV2026ApiListSourceSubtypes
|
|
108580
|
+
*/
|
|
108581
|
+
readonly limit?: number
|
|
108582
|
+
|
|
108583
|
+
/**
|
|
108584
|
+
* 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.
|
|
108585
|
+
* @type {number}
|
|
108586
|
+
* @memberof MachineAccountSubtypesV2026ApiListSourceSubtypes
|
|
108587
|
+
*/
|
|
108588
|
+
readonly offset?: number
|
|
108589
|
+
}
|
|
108590
|
+
|
|
108591
|
+
/**
|
|
108592
|
+
* Request parameters for loadBulkSourceSubtypes operation in MachineAccountSubtypesV2026Api.
|
|
108593
|
+
* @export
|
|
108594
|
+
* @interface MachineAccountSubtypesV2026ApiLoadBulkSourceSubtypesRequest
|
|
108595
|
+
*/
|
|
108596
|
+
export interface MachineAccountSubtypesV2026ApiLoadBulkSourceSubtypesRequest {
|
|
108597
|
+
/**
|
|
108598
|
+
* Use this header to enable this experimental API.
|
|
108599
|
+
* @type {string}
|
|
108600
|
+
* @memberof MachineAccountSubtypesV2026ApiLoadBulkSourceSubtypes
|
|
108601
|
+
*/
|
|
108602
|
+
readonly xSailPointExperimental: string
|
|
108603
|
+
|
|
108604
|
+
/**
|
|
108605
|
+
*
|
|
108606
|
+
* @type {Array<string>}
|
|
108607
|
+
* @memberof MachineAccountSubtypesV2026ApiLoadBulkSourceSubtypes
|
|
108608
|
+
*/
|
|
108609
|
+
readonly requestBody: Array<string>
|
|
107954
108610
|
}
|
|
107955
108611
|
|
|
107956
108612
|
/**
|
|
@@ -107972,6 +108628,41 @@ export interface MachineAccountSubtypesV2026ApiPatchMachineAccountSubtypeRequest
|
|
|
107972
108628
|
* @memberof MachineAccountSubtypesV2026ApiPatchMachineAccountSubtype
|
|
107973
108629
|
*/
|
|
107974
108630
|
readonly requestBody: Array<object>
|
|
108631
|
+
|
|
108632
|
+
/**
|
|
108633
|
+
* Use this header to enable this experimental API.
|
|
108634
|
+
* @type {string}
|
|
108635
|
+
* @memberof MachineAccountSubtypesV2026ApiPatchMachineAccountSubtype
|
|
108636
|
+
*/
|
|
108637
|
+
readonly xSailPointExperimental?: string
|
|
108638
|
+
}
|
|
108639
|
+
|
|
108640
|
+
/**
|
|
108641
|
+
* Request parameters for updateMachineAccountSubtypeApprovalConfig operation in MachineAccountSubtypesV2026Api.
|
|
108642
|
+
* @export
|
|
108643
|
+
* @interface MachineAccountSubtypesV2026ApiUpdateMachineAccountSubtypeApprovalConfigRequest
|
|
108644
|
+
*/
|
|
108645
|
+
export interface MachineAccountSubtypesV2026ApiUpdateMachineAccountSubtypeApprovalConfigRequest {
|
|
108646
|
+
/**
|
|
108647
|
+
* Use this header to enable this experimental API.
|
|
108648
|
+
* @type {string}
|
|
108649
|
+
* @memberof MachineAccountSubtypesV2026ApiUpdateMachineAccountSubtypeApprovalConfig
|
|
108650
|
+
*/
|
|
108651
|
+
readonly xSailPointExperimental: string
|
|
108652
|
+
|
|
108653
|
+
/**
|
|
108654
|
+
* machine account subtype ID.
|
|
108655
|
+
* @type {string}
|
|
108656
|
+
* @memberof MachineAccountSubtypesV2026ApiUpdateMachineAccountSubtypeApprovalConfig
|
|
108657
|
+
*/
|
|
108658
|
+
readonly subtypeId: string
|
|
108659
|
+
|
|
108660
|
+
/**
|
|
108661
|
+
* The JSONPatch payload used to update the object.
|
|
108662
|
+
* @type {Array<JsonPatchOperationV2026>}
|
|
108663
|
+
* @memberof MachineAccountSubtypesV2026ApiUpdateMachineAccountSubtypeApprovalConfig
|
|
108664
|
+
*/
|
|
108665
|
+
readonly jsonPatchOperationV2026: Array<JsonPatchOperationV2026>
|
|
107975
108666
|
}
|
|
107976
108667
|
|
|
107977
108668
|
/**
|
|
@@ -107981,6 +108672,18 @@ export interface MachineAccountSubtypesV2026ApiPatchMachineAccountSubtypeRequest
|
|
|
107981
108672
|
* @extends {BaseAPI}
|
|
107982
108673
|
*/
|
|
107983
108674
|
export class MachineAccountSubtypesV2026Api extends BaseAPI {
|
|
108675
|
+
/**
|
|
108676
|
+
* Create a new machine account subtype.
|
|
108677
|
+
* @summary Create subtype
|
|
108678
|
+
* @param {MachineAccountSubtypesV2026ApiCreateSourceSubtypeRequest} requestParameters Request parameters.
|
|
108679
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
108680
|
+
* @throws {RequiredError}
|
|
108681
|
+
* @memberof MachineAccountSubtypesV2026Api
|
|
108682
|
+
*/
|
|
108683
|
+
public createSourceSubtype(requestParameters: MachineAccountSubtypesV2026ApiCreateSourceSubtypeRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
108684
|
+
return MachineAccountSubtypesV2026ApiFp(this.configuration).createSourceSubtype(requestParameters.createSourceSubtypeRequestV2026, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
108685
|
+
}
|
|
108686
|
+
|
|
107984
108687
|
/**
|
|
107985
108688
|
* 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.
|
|
107986
108689
|
* @summary Delete subtype by ID
|
|
@@ -107990,7 +108693,19 @@ export class MachineAccountSubtypesV2026Api extends BaseAPI {
|
|
|
107990
108693
|
* @memberof MachineAccountSubtypesV2026Api
|
|
107991
108694
|
*/
|
|
107992
108695
|
public deleteMachineAccountSubtype(requestParameters: MachineAccountSubtypesV2026ApiDeleteMachineAccountSubtypeRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
107993
|
-
return MachineAccountSubtypesV2026ApiFp(this.configuration).deleteMachineAccountSubtype(requestParameters.subtypeId, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
108696
|
+
return MachineAccountSubtypesV2026ApiFp(this.configuration).deleteMachineAccountSubtype(requestParameters.subtypeId, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
108697
|
+
}
|
|
108698
|
+
|
|
108699
|
+
/**
|
|
108700
|
+
* 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.
|
|
108701
|
+
* @summary Machine Subtype Approval Config
|
|
108702
|
+
* @param {MachineAccountSubtypesV2026ApiGetMachineAccountSubtypeApprovalConfigRequest} requestParameters Request parameters.
|
|
108703
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
108704
|
+
* @throws {RequiredError}
|
|
108705
|
+
* @memberof MachineAccountSubtypesV2026Api
|
|
108706
|
+
*/
|
|
108707
|
+
public getMachineAccountSubtypeApprovalConfig(requestParameters: MachineAccountSubtypesV2026ApiGetMachineAccountSubtypeApprovalConfigRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
108708
|
+
return MachineAccountSubtypesV2026ApiFp(this.configuration).getMachineAccountSubtypeApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.subtypeId, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
107994
108709
|
}
|
|
107995
108710
|
|
|
107996
108711
|
/**
|
|
@@ -108002,7 +108717,31 @@ export class MachineAccountSubtypesV2026Api extends BaseAPI {
|
|
|
108002
108717
|
* @memberof MachineAccountSubtypesV2026Api
|
|
108003
108718
|
*/
|
|
108004
108719
|
public getSourceSubtypeById(requestParameters: MachineAccountSubtypesV2026ApiGetSourceSubtypeByIdRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
108005
|
-
return MachineAccountSubtypesV2026ApiFp(this.configuration).getSourceSubtypeById(requestParameters.subtypeId, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
108720
|
+
return MachineAccountSubtypesV2026ApiFp(this.configuration).getSourceSubtypeById(requestParameters.subtypeId, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
108721
|
+
}
|
|
108722
|
+
|
|
108723
|
+
/**
|
|
108724
|
+
* Get all machine account subtypes.
|
|
108725
|
+
* @summary Retrieve all subtypes
|
|
108726
|
+
* @param {MachineAccountSubtypesV2026ApiListSourceSubtypesRequest} requestParameters Request parameters.
|
|
108727
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
108728
|
+
* @throws {RequiredError}
|
|
108729
|
+
* @memberof MachineAccountSubtypesV2026Api
|
|
108730
|
+
*/
|
|
108731
|
+
public listSourceSubtypes(requestParameters: MachineAccountSubtypesV2026ApiListSourceSubtypesRequest = {}, axiosOptions?: RawAxiosRequestConfig) {
|
|
108732
|
+
return MachineAccountSubtypesV2026ApiFp(this.configuration).listSourceSubtypes(requestParameters.filters, requestParameters.sorters, requestParameters.xSailPointExperimental, requestParameters.count, requestParameters.limit, requestParameters.offset, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
108733
|
+
}
|
|
108734
|
+
|
|
108735
|
+
/**
|
|
108736
|
+
* This endpoint retrieves the subtypes for given subtypeIds.
|
|
108737
|
+
* @summary Bulk Retrieve of Source Subtypes
|
|
108738
|
+
* @param {MachineAccountSubtypesV2026ApiLoadBulkSourceSubtypesRequest} requestParameters Request parameters.
|
|
108739
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
108740
|
+
* @throws {RequiredError}
|
|
108741
|
+
* @memberof MachineAccountSubtypesV2026Api
|
|
108742
|
+
*/
|
|
108743
|
+
public loadBulkSourceSubtypes(requestParameters: MachineAccountSubtypesV2026ApiLoadBulkSourceSubtypesRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
108744
|
+
return MachineAccountSubtypesV2026ApiFp(this.configuration).loadBulkSourceSubtypes(requestParameters.xSailPointExperimental, requestParameters.requestBody, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
108006
108745
|
}
|
|
108007
108746
|
|
|
108008
108747
|
/**
|
|
@@ -108014,7 +108753,19 @@ export class MachineAccountSubtypesV2026Api extends BaseAPI {
|
|
|
108014
108753
|
* @memberof MachineAccountSubtypesV2026Api
|
|
108015
108754
|
*/
|
|
108016
108755
|
public patchMachineAccountSubtype(requestParameters: MachineAccountSubtypesV2026ApiPatchMachineAccountSubtypeRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
108017
|
-
return MachineAccountSubtypesV2026ApiFp(this.configuration).patchMachineAccountSubtype(requestParameters.subtypeId, requestParameters.requestBody, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
108756
|
+
return MachineAccountSubtypesV2026ApiFp(this.configuration).patchMachineAccountSubtype(requestParameters.subtypeId, requestParameters.requestBody, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
108757
|
+
}
|
|
108758
|
+
|
|
108759
|
+
/**
|
|
108760
|
+
* 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.
|
|
108761
|
+
* @summary Machine Subtype Approval Config
|
|
108762
|
+
* @param {MachineAccountSubtypesV2026ApiUpdateMachineAccountSubtypeApprovalConfigRequest} requestParameters Request parameters.
|
|
108763
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
108764
|
+
* @throws {RequiredError}
|
|
108765
|
+
* @memberof MachineAccountSubtypesV2026Api
|
|
108766
|
+
*/
|
|
108767
|
+
public updateMachineAccountSubtypeApprovalConfig(requestParameters: MachineAccountSubtypesV2026ApiUpdateMachineAccountSubtypeApprovalConfigRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
108768
|
+
return MachineAccountSubtypesV2026ApiFp(this.configuration).updateMachineAccountSubtypeApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.subtypeId, requestParameters.jsonPatchOperationV2026, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
108018
108769
|
}
|
|
108019
108770
|
}
|
|
108020
108771
|
|
|
@@ -108033,6 +108784,7 @@ export const MachineAccountsV2026ApiAxiosParamCreator = function (configuration?
|
|
|
108033
108784
|
* @param {CreateMachineAccountSubtypeRequestV2026} createMachineAccountSubtypeRequestV2026
|
|
108034
108785
|
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
108035
108786
|
* @param {*} [axiosOptions] Override http request option.
|
|
108787
|
+
* @deprecated
|
|
108036
108788
|
* @throws {RequiredError}
|
|
108037
108789
|
*/
|
|
108038
108790
|
createMachineAccountSubtype: async (sourceId: string, createMachineAccountSubtypeRequestV2026: CreateMachineAccountSubtypeRequestV2026, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -108093,6 +108845,7 @@ export const MachineAccountsV2026ApiAxiosParamCreator = function (configuration?
|
|
|
108093
108845
|
* @param {string} technicalName The technical name of the subtype.
|
|
108094
108846
|
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
108095
108847
|
* @param {*} [axiosOptions] Override http request option.
|
|
108848
|
+
* @deprecated
|
|
108096
108849
|
* @throws {RequiredError}
|
|
108097
108850
|
*/
|
|
108098
108851
|
deleteMachineAccountSubtypeByTechnicalName: async (sourceId: string, technicalName: string, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -108182,58 +108935,6 @@ export const MachineAccountsV2026ApiAxiosParamCreator = function (configuration?
|
|
|
108182
108935
|
|
|
108183
108936
|
|
|
108184
108937
|
|
|
108185
|
-
if (xSailPointExperimental != null) {
|
|
108186
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
108187
|
-
}
|
|
108188
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
108189
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
108190
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
108191
|
-
|
|
108192
|
-
return {
|
|
108193
|
-
url: toPathString(localVarUrlObj),
|
|
108194
|
-
axiosOptions: localVarRequestOptions,
|
|
108195
|
-
};
|
|
108196
|
-
},
|
|
108197
|
-
/**
|
|
108198
|
-
* 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.
|
|
108199
|
-
* @summary Machine Subtype Approval Config
|
|
108200
|
-
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
108201
|
-
* @param {string} subtypeId machine subtype id.
|
|
108202
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
108203
|
-
* @throws {RequiredError}
|
|
108204
|
-
*/
|
|
108205
|
-
getMachineAccountSubtypeApprovalConfig: async (xSailPointExperimental: string, subtypeId: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
108206
|
-
if (xSailPointExperimental === undefined) {
|
|
108207
|
-
xSailPointExperimental = 'true';
|
|
108208
|
-
}
|
|
108209
|
-
|
|
108210
|
-
// verify required parameter 'xSailPointExperimental' is not null or undefined
|
|
108211
|
-
assertParamExists('getMachineAccountSubtypeApprovalConfig', 'xSailPointExperimental', xSailPointExperimental)
|
|
108212
|
-
// verify required parameter 'subtypeId' is not null or undefined
|
|
108213
|
-
assertParamExists('getMachineAccountSubtypeApprovalConfig', 'subtypeId', subtypeId)
|
|
108214
|
-
const localVarPath = `/source-subtypes/{subtypeId}/machine-config`
|
|
108215
|
-
.replace(`{${"subtypeId"}}`, encodeURIComponent(String(subtypeId)));
|
|
108216
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
108217
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
108218
|
-
let baseOptions;
|
|
108219
|
-
if (configuration) {
|
|
108220
|
-
baseOptions = configuration.baseOptions;
|
|
108221
|
-
}
|
|
108222
|
-
|
|
108223
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
|
|
108224
|
-
const localVarHeaderParameter = {} as any;
|
|
108225
|
-
const localVarQueryParameter = {} as any;
|
|
108226
|
-
|
|
108227
|
-
// authentication userAuth required
|
|
108228
|
-
// oauth required
|
|
108229
|
-
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
108230
|
-
|
|
108231
|
-
// authentication userAuth required
|
|
108232
|
-
// oauth required
|
|
108233
|
-
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
108234
|
-
|
|
108235
|
-
|
|
108236
|
-
|
|
108237
108938
|
if (xSailPointExperimental != null) {
|
|
108238
108939
|
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
108239
108940
|
}
|
|
@@ -108252,6 +108953,7 @@ export const MachineAccountsV2026ApiAxiosParamCreator = function (configuration?
|
|
|
108252
108953
|
* @param {string} subtypeId The ID of the machine account subtype.
|
|
108253
108954
|
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
108254
108955
|
* @param {*} [axiosOptions] Override http request option.
|
|
108956
|
+
* @deprecated
|
|
108255
108957
|
* @throws {RequiredError}
|
|
108256
108958
|
*/
|
|
108257
108959
|
getMachineAccountSubtypeById: async (subtypeId: string, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -108307,6 +109009,7 @@ export const MachineAccountsV2026ApiAxiosParamCreator = function (configuration?
|
|
|
108307
109009
|
* @param {string} technicalName The technical name of the subtype.
|
|
108308
109010
|
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
108309
109011
|
* @param {*} [axiosOptions] Override http request option.
|
|
109012
|
+
* @deprecated
|
|
108310
109013
|
* @throws {RequiredError}
|
|
108311
109014
|
*/
|
|
108312
109015
|
getMachineAccountSubtypeByTechnicalName: async (sourceId: string, technicalName: string, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -108369,6 +109072,7 @@ export const MachineAccountsV2026ApiAxiosParamCreator = function (configuration?
|
|
|
108369
109072
|
* @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.
|
|
108370
109073
|
* @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.
|
|
108371
109074
|
* @param {*} [axiosOptions] Override http request option.
|
|
109075
|
+
* @deprecated
|
|
108372
109076
|
* @throws {RequiredError}
|
|
108373
109077
|
*/
|
|
108374
109078
|
listMachineAccountSubtypes: async (sourceId: string, filters?: string, sorters?: string, xSailPointExperimental?: string, count?: boolean, limit?: number, offset?: number, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -108508,64 +109212,6 @@ export const MachineAccountsV2026ApiAxiosParamCreator = function (configuration?
|
|
|
108508
109212
|
axiosOptions: localVarRequestOptions,
|
|
108509
109213
|
};
|
|
108510
109214
|
},
|
|
108511
|
-
/**
|
|
108512
|
-
* This endpoint retrieves the subtypes for given subtypeIds.
|
|
108513
|
-
* @summary Bulk Retrieve of Source Subtypes
|
|
108514
|
-
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
108515
|
-
* @param {Array<string>} requestBody
|
|
108516
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
108517
|
-
* @throws {RequiredError}
|
|
108518
|
-
*/
|
|
108519
|
-
loadBulkSourceSubtypes: async (xSailPointExperimental: string, requestBody: Array<string>, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
108520
|
-
if (xSailPointExperimental === undefined) {
|
|
108521
|
-
xSailPointExperimental = 'true';
|
|
108522
|
-
}
|
|
108523
|
-
|
|
108524
|
-
// verify required parameter 'xSailPointExperimental' is not null or undefined
|
|
108525
|
-
assertParamExists('loadBulkSourceSubtypes', 'xSailPointExperimental', xSailPointExperimental)
|
|
108526
|
-
// verify required parameter 'requestBody' is not null or undefined
|
|
108527
|
-
assertParamExists('loadBulkSourceSubtypes', 'requestBody', requestBody)
|
|
108528
|
-
const localVarPath = `/source-subtypes/bulk-retrieve`;
|
|
108529
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
108530
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
108531
|
-
let baseOptions;
|
|
108532
|
-
if (configuration) {
|
|
108533
|
-
baseOptions = configuration.baseOptions;
|
|
108534
|
-
}
|
|
108535
|
-
|
|
108536
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
|
|
108537
|
-
const localVarHeaderParameter = {} as any;
|
|
108538
|
-
const localVarQueryParameter = {} as any;
|
|
108539
|
-
|
|
108540
|
-
// authentication userAuth required
|
|
108541
|
-
// oauth required
|
|
108542
|
-
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
108543
|
-
|
|
108544
|
-
// authentication userAuth required
|
|
108545
|
-
// oauth required
|
|
108546
|
-
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
108547
|
-
|
|
108548
|
-
// authentication applicationAuth required
|
|
108549
|
-
// oauth required
|
|
108550
|
-
await setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)
|
|
108551
|
-
|
|
108552
|
-
|
|
108553
|
-
|
|
108554
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
108555
|
-
|
|
108556
|
-
if (xSailPointExperimental != null) {
|
|
108557
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
108558
|
-
}
|
|
108559
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
108560
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
108561
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
108562
|
-
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
|
|
108563
|
-
|
|
108564
|
-
return {
|
|
108565
|
-
url: toPathString(localVarUrlObj),
|
|
108566
|
-
axiosOptions: localVarRequestOptions,
|
|
108567
|
-
};
|
|
108568
|
-
},
|
|
108569
109215
|
/**
|
|
108570
109216
|
* Update fields of a machine account subtype by source ID and technical name. Patchable fields include: `displayName`, `description`.
|
|
108571
109217
|
* @summary Patch subtype
|
|
@@ -108574,6 +109220,7 @@ export const MachineAccountsV2026ApiAxiosParamCreator = function (configuration?
|
|
|
108574
109220
|
* @param {Array<object>} requestBody A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
|
108575
109221
|
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
108576
109222
|
* @param {*} [axiosOptions] Override http request option.
|
|
109223
|
+
* @deprecated
|
|
108577
109224
|
* @throws {RequiredError}
|
|
108578
109225
|
*/
|
|
108579
109226
|
patchMachineAccountSubtypeByTechnicalName: async (sourceId: string, technicalName: string, requestBody: Array<object>, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -108685,64 +109332,6 @@ export const MachineAccountsV2026ApiAxiosParamCreator = function (configuration?
|
|
|
108685
109332
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
108686
109333
|
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
|
|
108687
109334
|
|
|
108688
|
-
return {
|
|
108689
|
-
url: toPathString(localVarUrlObj),
|
|
108690
|
-
axiosOptions: localVarRequestOptions,
|
|
108691
|
-
};
|
|
108692
|
-
},
|
|
108693
|
-
/**
|
|
108694
|
-
* 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.
|
|
108695
|
-
* @summary Machine Subtype Approval Config
|
|
108696
|
-
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
108697
|
-
* @param {string} subtypeId machine account subtype ID.
|
|
108698
|
-
* @param {Array<JsonPatchOperationV2026>} jsonPatchOperationV2026 The JSONPatch payload used to update the object.
|
|
108699
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
108700
|
-
* @throws {RequiredError}
|
|
108701
|
-
*/
|
|
108702
|
-
updateMachineAccountSubtypeApprovalConfig: async (xSailPointExperimental: string, subtypeId: string, jsonPatchOperationV2026: Array<JsonPatchOperationV2026>, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
108703
|
-
if (xSailPointExperimental === undefined) {
|
|
108704
|
-
xSailPointExperimental = 'true';
|
|
108705
|
-
}
|
|
108706
|
-
|
|
108707
|
-
// verify required parameter 'xSailPointExperimental' is not null or undefined
|
|
108708
|
-
assertParamExists('updateMachineAccountSubtypeApprovalConfig', 'xSailPointExperimental', xSailPointExperimental)
|
|
108709
|
-
// verify required parameter 'subtypeId' is not null or undefined
|
|
108710
|
-
assertParamExists('updateMachineAccountSubtypeApprovalConfig', 'subtypeId', subtypeId)
|
|
108711
|
-
// verify required parameter 'jsonPatchOperationV2026' is not null or undefined
|
|
108712
|
-
assertParamExists('updateMachineAccountSubtypeApprovalConfig', 'jsonPatchOperationV2026', jsonPatchOperationV2026)
|
|
108713
|
-
const localVarPath = `/source-subtypes/{subtypeId}/machine-config`
|
|
108714
|
-
.replace(`{${"subtypeId"}}`, encodeURIComponent(String(subtypeId)));
|
|
108715
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
108716
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
108717
|
-
let baseOptions;
|
|
108718
|
-
if (configuration) {
|
|
108719
|
-
baseOptions = configuration.baseOptions;
|
|
108720
|
-
}
|
|
108721
|
-
|
|
108722
|
-
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...axiosOptions};
|
|
108723
|
-
const localVarHeaderParameter = {} as any;
|
|
108724
|
-
const localVarQueryParameter = {} as any;
|
|
108725
|
-
|
|
108726
|
-
// authentication userAuth required
|
|
108727
|
-
// oauth required
|
|
108728
|
-
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
108729
|
-
|
|
108730
|
-
// authentication userAuth required
|
|
108731
|
-
// oauth required
|
|
108732
|
-
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
108733
|
-
|
|
108734
|
-
|
|
108735
|
-
|
|
108736
|
-
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
108737
|
-
|
|
108738
|
-
if (xSailPointExperimental != null) {
|
|
108739
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
108740
|
-
}
|
|
108741
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
108742
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
108743
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
108744
|
-
localVarRequestOptions.data = serializeDataIfNeeded(jsonPatchOperationV2026, localVarRequestOptions, configuration)
|
|
108745
|
-
|
|
108746
109335
|
return {
|
|
108747
109336
|
url: toPathString(localVarUrlObj),
|
|
108748
109337
|
axiosOptions: localVarRequestOptions,
|
|
@@ -108765,6 +109354,7 @@ export const MachineAccountsV2026ApiFp = function(configuration?: Configuration)
|
|
|
108765
109354
|
* @param {CreateMachineAccountSubtypeRequestV2026} createMachineAccountSubtypeRequestV2026
|
|
108766
109355
|
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
108767
109356
|
* @param {*} [axiosOptions] Override http request option.
|
|
109357
|
+
* @deprecated
|
|
108768
109358
|
* @throws {RequiredError}
|
|
108769
109359
|
*/
|
|
108770
109360
|
async createMachineAccountSubtype(sourceId: string, createMachineAccountSubtypeRequestV2026: CreateMachineAccountSubtypeRequestV2026, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SourceSubtypeV2026>> {
|
|
@@ -108780,6 +109370,7 @@ export const MachineAccountsV2026ApiFp = function(configuration?: Configuration)
|
|
|
108780
109370
|
* @param {string} technicalName The technical name of the subtype.
|
|
108781
109371
|
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
108782
109372
|
* @param {*} [axiosOptions] Override http request option.
|
|
109373
|
+
* @deprecated
|
|
108783
109374
|
* @throws {RequiredError}
|
|
108784
109375
|
*/
|
|
108785
109376
|
async deleteMachineAccountSubtypeByTechnicalName(sourceId: string, technicalName: string, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
@@ -108802,26 +109393,13 @@ export const MachineAccountsV2026ApiFp = function(configuration?: Configuration)
|
|
|
108802
109393
|
const localVarOperationServerBasePath = operationServerMap['MachineAccountsV2026Api.getMachineAccount']?.[localVarOperationServerIndex]?.url;
|
|
108803
109394
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
108804
109395
|
},
|
|
108805
|
-
/**
|
|
108806
|
-
* 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.
|
|
108807
|
-
* @summary Machine Subtype Approval Config
|
|
108808
|
-
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
108809
|
-
* @param {string} subtypeId machine subtype id.
|
|
108810
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
108811
|
-
* @throws {RequiredError}
|
|
108812
|
-
*/
|
|
108813
|
-
async getMachineAccountSubtypeApprovalConfig(xSailPointExperimental: string, subtypeId: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MachineAccountSubtypeConfigDtoV2026>> {
|
|
108814
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getMachineAccountSubtypeApprovalConfig(xSailPointExperimental, subtypeId, axiosOptions);
|
|
108815
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
108816
|
-
const localVarOperationServerBasePath = operationServerMap['MachineAccountsV2026Api.getMachineAccountSubtypeApprovalConfig']?.[localVarOperationServerIndex]?.url;
|
|
108817
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
108818
|
-
},
|
|
108819
109396
|
/**
|
|
108820
109397
|
* Get a machine account subtype by its unique ID.
|
|
108821
109398
|
* @summary Retrieve subtype by subtype id
|
|
108822
109399
|
* @param {string} subtypeId The ID of the machine account subtype.
|
|
108823
109400
|
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
108824
109401
|
* @param {*} [axiosOptions] Override http request option.
|
|
109402
|
+
* @deprecated
|
|
108825
109403
|
* @throws {RequiredError}
|
|
108826
109404
|
*/
|
|
108827
109405
|
async getMachineAccountSubtypeById(subtypeId: string, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SourceSubtypeV2026>> {
|
|
@@ -108837,6 +109415,7 @@ export const MachineAccountsV2026ApiFp = function(configuration?: Configuration)
|
|
|
108837
109415
|
* @param {string} technicalName The technical name of the subtype.
|
|
108838
109416
|
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
108839
109417
|
* @param {*} [axiosOptions] Override http request option.
|
|
109418
|
+
* @deprecated
|
|
108840
109419
|
* @throws {RequiredError}
|
|
108841
109420
|
*/
|
|
108842
109421
|
async getMachineAccountSubtypeByTechnicalName(sourceId: string, technicalName: string, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SourceSubtypeV2026>> {
|
|
@@ -108856,6 +109435,7 @@ export const MachineAccountsV2026ApiFp = function(configuration?: Configuration)
|
|
|
108856
109435
|
* @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.
|
|
108857
109436
|
* @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.
|
|
108858
109437
|
* @param {*} [axiosOptions] Override http request option.
|
|
109438
|
+
* @deprecated
|
|
108859
109439
|
* @throws {RequiredError}
|
|
108860
109440
|
*/
|
|
108861
109441
|
async listMachineAccountSubtypes(sourceId: string, filters?: string, sorters?: string, xSailPointExperimental?: string, count?: boolean, limit?: number, offset?: number, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SourceSubtypeV2026>>> {
|
|
@@ -108882,20 +109462,6 @@ export const MachineAccountsV2026ApiFp = function(configuration?: Configuration)
|
|
|
108882
109462
|
const localVarOperationServerBasePath = operationServerMap['MachineAccountsV2026Api.listMachineAccounts']?.[localVarOperationServerIndex]?.url;
|
|
108883
109463
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
108884
109464
|
},
|
|
108885
|
-
/**
|
|
108886
|
-
* This endpoint retrieves the subtypes for given subtypeIds.
|
|
108887
|
-
* @summary Bulk Retrieve of Source Subtypes
|
|
108888
|
-
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
108889
|
-
* @param {Array<string>} requestBody
|
|
108890
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
108891
|
-
* @throws {RequiredError}
|
|
108892
|
-
*/
|
|
108893
|
-
async loadBulkSourceSubtypes(xSailPointExperimental: string, requestBody: Array<string>, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SourceSubtypeWithSourceV2026>>> {
|
|
108894
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.loadBulkSourceSubtypes(xSailPointExperimental, requestBody, axiosOptions);
|
|
108895
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
108896
|
-
const localVarOperationServerBasePath = operationServerMap['MachineAccountsV2026Api.loadBulkSourceSubtypes']?.[localVarOperationServerIndex]?.url;
|
|
108897
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
108898
|
-
},
|
|
108899
109465
|
/**
|
|
108900
109466
|
* Update fields of a machine account subtype by source ID and technical name. Patchable fields include: `displayName`, `description`.
|
|
108901
109467
|
* @summary Patch subtype
|
|
@@ -108904,6 +109470,7 @@ export const MachineAccountsV2026ApiFp = function(configuration?: Configuration)
|
|
|
108904
109470
|
* @param {Array<object>} requestBody A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
|
108905
109471
|
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
108906
109472
|
* @param {*} [axiosOptions] Override http request option.
|
|
109473
|
+
* @deprecated
|
|
108907
109474
|
* @throws {RequiredError}
|
|
108908
109475
|
*/
|
|
108909
109476
|
async patchMachineAccountSubtypeByTechnicalName(sourceId: string, technicalName: string, requestBody: Array<object>, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SourceSubtypeV2026>> {
|
|
@@ -108927,21 +109494,6 @@ export const MachineAccountsV2026ApiFp = function(configuration?: Configuration)
|
|
|
108927
109494
|
const localVarOperationServerBasePath = operationServerMap['MachineAccountsV2026Api.updateMachineAccount']?.[localVarOperationServerIndex]?.url;
|
|
108928
109495
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
108929
109496
|
},
|
|
108930
|
-
/**
|
|
108931
|
-
* 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.
|
|
108932
|
-
* @summary Machine Subtype Approval Config
|
|
108933
|
-
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
108934
|
-
* @param {string} subtypeId machine account subtype ID.
|
|
108935
|
-
* @param {Array<JsonPatchOperationV2026>} jsonPatchOperationV2026 The JSONPatch payload used to update the object.
|
|
108936
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
108937
|
-
* @throws {RequiredError}
|
|
108938
|
-
*/
|
|
108939
|
-
async updateMachineAccountSubtypeApprovalConfig(xSailPointExperimental: string, subtypeId: string, jsonPatchOperationV2026: Array<JsonPatchOperationV2026>, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MachineAccountSubtypeConfigDtoV2026>> {
|
|
108940
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateMachineAccountSubtypeApprovalConfig(xSailPointExperimental, subtypeId, jsonPatchOperationV2026, axiosOptions);
|
|
108941
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
108942
|
-
const localVarOperationServerBasePath = operationServerMap['MachineAccountsV2026Api.updateMachineAccountSubtypeApprovalConfig']?.[localVarOperationServerIndex]?.url;
|
|
108943
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
108944
|
-
},
|
|
108945
109497
|
}
|
|
108946
109498
|
};
|
|
108947
109499
|
|
|
@@ -108957,6 +109509,7 @@ export const MachineAccountsV2026ApiFactory = function (configuration?: Configur
|
|
|
108957
109509
|
* @summary Create subtype
|
|
108958
109510
|
* @param {MachineAccountsV2026ApiCreateMachineAccountSubtypeRequest} requestParameters Request parameters.
|
|
108959
109511
|
* @param {*} [axiosOptions] Override http request option.
|
|
109512
|
+
* @deprecated
|
|
108960
109513
|
* @throws {RequiredError}
|
|
108961
109514
|
*/
|
|
108962
109515
|
createMachineAccountSubtype(requestParameters: MachineAccountsV2026ApiCreateMachineAccountSubtypeRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<SourceSubtypeV2026> {
|
|
@@ -108967,6 +109520,7 @@ export const MachineAccountsV2026ApiFactory = function (configuration?: Configur
|
|
|
108967
109520
|
* @summary Delete subtype
|
|
108968
109521
|
* @param {MachineAccountsV2026ApiDeleteMachineAccountSubtypeByTechnicalNameRequest} requestParameters Request parameters.
|
|
108969
109522
|
* @param {*} [axiosOptions] Override http request option.
|
|
109523
|
+
* @deprecated
|
|
108970
109524
|
* @throws {RequiredError}
|
|
108971
109525
|
*/
|
|
108972
109526
|
deleteMachineAccountSubtypeByTechnicalName(requestParameters: MachineAccountsV2026ApiDeleteMachineAccountSubtypeByTechnicalNameRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
@@ -108982,21 +109536,12 @@ export const MachineAccountsV2026ApiFactory = function (configuration?: Configur
|
|
|
108982
109536
|
getMachineAccount(requestParameters: MachineAccountsV2026ApiGetMachineAccountRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<MachineAccountV2026> {
|
|
108983
109537
|
return localVarFp.getMachineAccount(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));
|
|
108984
109538
|
},
|
|
108985
|
-
/**
|
|
108986
|
-
* 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.
|
|
108987
|
-
* @summary Machine Subtype Approval Config
|
|
108988
|
-
* @param {MachineAccountsV2026ApiGetMachineAccountSubtypeApprovalConfigRequest} requestParameters Request parameters.
|
|
108989
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
108990
|
-
* @throws {RequiredError}
|
|
108991
|
-
*/
|
|
108992
|
-
getMachineAccountSubtypeApprovalConfig(requestParameters: MachineAccountsV2026ApiGetMachineAccountSubtypeApprovalConfigRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<MachineAccountSubtypeConfigDtoV2026> {
|
|
108993
|
-
return localVarFp.getMachineAccountSubtypeApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.subtypeId, axiosOptions).then((request) => request(axios, basePath));
|
|
108994
|
-
},
|
|
108995
109539
|
/**
|
|
108996
109540
|
* Get a machine account subtype by its unique ID.
|
|
108997
109541
|
* @summary Retrieve subtype by subtype id
|
|
108998
109542
|
* @param {MachineAccountsV2026ApiGetMachineAccountSubtypeByIdRequest} requestParameters Request parameters.
|
|
108999
109543
|
* @param {*} [axiosOptions] Override http request option.
|
|
109544
|
+
* @deprecated
|
|
109000
109545
|
* @throws {RequiredError}
|
|
109001
109546
|
*/
|
|
109002
109547
|
getMachineAccountSubtypeById(requestParameters: MachineAccountsV2026ApiGetMachineAccountSubtypeByIdRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<SourceSubtypeV2026> {
|
|
@@ -109007,6 +109552,7 @@ export const MachineAccountsV2026ApiFactory = function (configuration?: Configur
|
|
|
109007
109552
|
* @summary Retrieve subtype by source and technicalName
|
|
109008
109553
|
* @param {MachineAccountsV2026ApiGetMachineAccountSubtypeByTechnicalNameRequest} requestParameters Request parameters.
|
|
109009
109554
|
* @param {*} [axiosOptions] Override http request option.
|
|
109555
|
+
* @deprecated
|
|
109010
109556
|
* @throws {RequiredError}
|
|
109011
109557
|
*/
|
|
109012
109558
|
getMachineAccountSubtypeByTechnicalName(requestParameters: MachineAccountsV2026ApiGetMachineAccountSubtypeByTechnicalNameRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<SourceSubtypeV2026> {
|
|
@@ -109017,6 +109563,7 @@ export const MachineAccountsV2026ApiFactory = function (configuration?: Configur
|
|
|
109017
109563
|
* @summary Retrieve all subtypes by source
|
|
109018
109564
|
* @param {MachineAccountsV2026ApiListMachineAccountSubtypesRequest} requestParameters Request parameters.
|
|
109019
109565
|
* @param {*} [axiosOptions] Override http request option.
|
|
109566
|
+
* @deprecated
|
|
109020
109567
|
* @throws {RequiredError}
|
|
109021
109568
|
*/
|
|
109022
109569
|
listMachineAccountSubtypes(requestParameters: MachineAccountsV2026ApiListMachineAccountSubtypesRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<SourceSubtypeV2026>> {
|
|
@@ -109032,21 +109579,12 @@ export const MachineAccountsV2026ApiFactory = function (configuration?: Configur
|
|
|
109032
109579
|
listMachineAccounts(requestParameters: MachineAccountsV2026ApiListMachineAccountsRequest = {}, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<MachineAccountV2026>> {
|
|
109033
109580
|
return localVarFp.listMachineAccounts(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, requestParameters.sorters, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));
|
|
109034
109581
|
},
|
|
109035
|
-
/**
|
|
109036
|
-
* This endpoint retrieves the subtypes for given subtypeIds.
|
|
109037
|
-
* @summary Bulk Retrieve of Source Subtypes
|
|
109038
|
-
* @param {MachineAccountsV2026ApiLoadBulkSourceSubtypesRequest} requestParameters Request parameters.
|
|
109039
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
109040
|
-
* @throws {RequiredError}
|
|
109041
|
-
*/
|
|
109042
|
-
loadBulkSourceSubtypes(requestParameters: MachineAccountsV2026ApiLoadBulkSourceSubtypesRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<SourceSubtypeWithSourceV2026>> {
|
|
109043
|
-
return localVarFp.loadBulkSourceSubtypes(requestParameters.xSailPointExperimental, requestParameters.requestBody, axiosOptions).then((request) => request(axios, basePath));
|
|
109044
|
-
},
|
|
109045
109582
|
/**
|
|
109046
109583
|
* Update fields of a machine account subtype by source ID and technical name. Patchable fields include: `displayName`, `description`.
|
|
109047
109584
|
* @summary Patch subtype
|
|
109048
109585
|
* @param {MachineAccountsV2026ApiPatchMachineAccountSubtypeByTechnicalNameRequest} requestParameters Request parameters.
|
|
109049
109586
|
* @param {*} [axiosOptions] Override http request option.
|
|
109587
|
+
* @deprecated
|
|
109050
109588
|
* @throws {RequiredError}
|
|
109051
109589
|
*/
|
|
109052
109590
|
patchMachineAccountSubtypeByTechnicalName(requestParameters: MachineAccountsV2026ApiPatchMachineAccountSubtypeByTechnicalNameRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<SourceSubtypeV2026> {
|
|
@@ -109062,16 +109600,6 @@ export const MachineAccountsV2026ApiFactory = function (configuration?: Configur
|
|
|
109062
109600
|
updateMachineAccount(requestParameters: MachineAccountsV2026ApiUpdateMachineAccountRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<MachineAccountV2026> {
|
|
109063
109601
|
return localVarFp.updateMachineAccount(requestParameters.id, requestParameters.requestBody, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));
|
|
109064
109602
|
},
|
|
109065
|
-
/**
|
|
109066
|
-
* 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.
|
|
109067
|
-
* @summary Machine Subtype Approval Config
|
|
109068
|
-
* @param {MachineAccountsV2026ApiUpdateMachineAccountSubtypeApprovalConfigRequest} requestParameters Request parameters.
|
|
109069
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
109070
|
-
* @throws {RequiredError}
|
|
109071
|
-
*/
|
|
109072
|
-
updateMachineAccountSubtypeApprovalConfig(requestParameters: MachineAccountsV2026ApiUpdateMachineAccountSubtypeApprovalConfigRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<MachineAccountSubtypeConfigDtoV2026> {
|
|
109073
|
-
return localVarFp.updateMachineAccountSubtypeApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.subtypeId, requestParameters.jsonPatchOperationV2026, axiosOptions).then((request) => request(axios, basePath));
|
|
109074
|
-
},
|
|
109075
109603
|
};
|
|
109076
109604
|
};
|
|
109077
109605
|
|
|
@@ -109152,27 +109680,6 @@ export interface MachineAccountsV2026ApiGetMachineAccountRequest {
|
|
|
109152
109680
|
readonly xSailPointExperimental?: string
|
|
109153
109681
|
}
|
|
109154
109682
|
|
|
109155
|
-
/**
|
|
109156
|
-
* Request parameters for getMachineAccountSubtypeApprovalConfig operation in MachineAccountsV2026Api.
|
|
109157
|
-
* @export
|
|
109158
|
-
* @interface MachineAccountsV2026ApiGetMachineAccountSubtypeApprovalConfigRequest
|
|
109159
|
-
*/
|
|
109160
|
-
export interface MachineAccountsV2026ApiGetMachineAccountSubtypeApprovalConfigRequest {
|
|
109161
|
-
/**
|
|
109162
|
-
* Use this header to enable this experimental API.
|
|
109163
|
-
* @type {string}
|
|
109164
|
-
* @memberof MachineAccountsV2026ApiGetMachineAccountSubtypeApprovalConfig
|
|
109165
|
-
*/
|
|
109166
|
-
readonly xSailPointExperimental: string
|
|
109167
|
-
|
|
109168
|
-
/**
|
|
109169
|
-
* machine subtype id.
|
|
109170
|
-
* @type {string}
|
|
109171
|
-
* @memberof MachineAccountsV2026ApiGetMachineAccountSubtypeApprovalConfig
|
|
109172
|
-
*/
|
|
109173
|
-
readonly subtypeId: string
|
|
109174
|
-
}
|
|
109175
|
-
|
|
109176
109683
|
/**
|
|
109177
109684
|
* Request parameters for getMachineAccountSubtypeById operation in MachineAccountsV2026Api.
|
|
109178
109685
|
* @export
|
|
@@ -109327,27 +109834,6 @@ export interface MachineAccountsV2026ApiListMachineAccountsRequest {
|
|
|
109327
109834
|
readonly xSailPointExperimental?: string
|
|
109328
109835
|
}
|
|
109329
109836
|
|
|
109330
|
-
/**
|
|
109331
|
-
* Request parameters for loadBulkSourceSubtypes operation in MachineAccountsV2026Api.
|
|
109332
|
-
* @export
|
|
109333
|
-
* @interface MachineAccountsV2026ApiLoadBulkSourceSubtypesRequest
|
|
109334
|
-
*/
|
|
109335
|
-
export interface MachineAccountsV2026ApiLoadBulkSourceSubtypesRequest {
|
|
109336
|
-
/**
|
|
109337
|
-
* Use this header to enable this experimental API.
|
|
109338
|
-
* @type {string}
|
|
109339
|
-
* @memberof MachineAccountsV2026ApiLoadBulkSourceSubtypes
|
|
109340
|
-
*/
|
|
109341
|
-
readonly xSailPointExperimental: string
|
|
109342
|
-
|
|
109343
|
-
/**
|
|
109344
|
-
*
|
|
109345
|
-
* @type {Array<string>}
|
|
109346
|
-
* @memberof MachineAccountsV2026ApiLoadBulkSourceSubtypes
|
|
109347
|
-
*/
|
|
109348
|
-
readonly requestBody: Array<string>
|
|
109349
|
-
}
|
|
109350
|
-
|
|
109351
109837
|
/**
|
|
109352
109838
|
* Request parameters for patchMachineAccountSubtypeByTechnicalName operation in MachineAccountsV2026Api.
|
|
109353
109839
|
* @export
|
|
@@ -109411,34 +109897,6 @@ export interface MachineAccountsV2026ApiUpdateMachineAccountRequest {
|
|
|
109411
109897
|
readonly xSailPointExperimental?: string
|
|
109412
109898
|
}
|
|
109413
109899
|
|
|
109414
|
-
/**
|
|
109415
|
-
* Request parameters for updateMachineAccountSubtypeApprovalConfig operation in MachineAccountsV2026Api.
|
|
109416
|
-
* @export
|
|
109417
|
-
* @interface MachineAccountsV2026ApiUpdateMachineAccountSubtypeApprovalConfigRequest
|
|
109418
|
-
*/
|
|
109419
|
-
export interface MachineAccountsV2026ApiUpdateMachineAccountSubtypeApprovalConfigRequest {
|
|
109420
|
-
/**
|
|
109421
|
-
* Use this header to enable this experimental API.
|
|
109422
|
-
* @type {string}
|
|
109423
|
-
* @memberof MachineAccountsV2026ApiUpdateMachineAccountSubtypeApprovalConfig
|
|
109424
|
-
*/
|
|
109425
|
-
readonly xSailPointExperimental: string
|
|
109426
|
-
|
|
109427
|
-
/**
|
|
109428
|
-
* machine account subtype ID.
|
|
109429
|
-
* @type {string}
|
|
109430
|
-
* @memberof MachineAccountsV2026ApiUpdateMachineAccountSubtypeApprovalConfig
|
|
109431
|
-
*/
|
|
109432
|
-
readonly subtypeId: string
|
|
109433
|
-
|
|
109434
|
-
/**
|
|
109435
|
-
* The JSONPatch payload used to update the object.
|
|
109436
|
-
* @type {Array<JsonPatchOperationV2026>}
|
|
109437
|
-
* @memberof MachineAccountsV2026ApiUpdateMachineAccountSubtypeApprovalConfig
|
|
109438
|
-
*/
|
|
109439
|
-
readonly jsonPatchOperationV2026: Array<JsonPatchOperationV2026>
|
|
109440
|
-
}
|
|
109441
|
-
|
|
109442
109900
|
/**
|
|
109443
109901
|
* MachineAccountsV2026Api - object-oriented interface
|
|
109444
109902
|
* @export
|
|
@@ -109451,6 +109909,7 @@ export class MachineAccountsV2026Api extends BaseAPI {
|
|
|
109451
109909
|
* @summary Create subtype
|
|
109452
109910
|
* @param {MachineAccountsV2026ApiCreateMachineAccountSubtypeRequest} requestParameters Request parameters.
|
|
109453
109911
|
* @param {*} [axiosOptions] Override http request option.
|
|
109912
|
+
* @deprecated
|
|
109454
109913
|
* @throws {RequiredError}
|
|
109455
109914
|
* @memberof MachineAccountsV2026Api
|
|
109456
109915
|
*/
|
|
@@ -109463,6 +109922,7 @@ export class MachineAccountsV2026Api extends BaseAPI {
|
|
|
109463
109922
|
* @summary Delete subtype
|
|
109464
109923
|
* @param {MachineAccountsV2026ApiDeleteMachineAccountSubtypeByTechnicalNameRequest} requestParameters Request parameters.
|
|
109465
109924
|
* @param {*} [axiosOptions] Override http request option.
|
|
109925
|
+
* @deprecated
|
|
109466
109926
|
* @throws {RequiredError}
|
|
109467
109927
|
* @memberof MachineAccountsV2026Api
|
|
109468
109928
|
*/
|
|
@@ -109482,23 +109942,12 @@ export class MachineAccountsV2026Api extends BaseAPI {
|
|
|
109482
109942
|
return MachineAccountsV2026ApiFp(this.configuration).getMachineAccount(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
109483
109943
|
}
|
|
109484
109944
|
|
|
109485
|
-
/**
|
|
109486
|
-
* 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.
|
|
109487
|
-
* @summary Machine Subtype Approval Config
|
|
109488
|
-
* @param {MachineAccountsV2026ApiGetMachineAccountSubtypeApprovalConfigRequest} requestParameters Request parameters.
|
|
109489
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
109490
|
-
* @throws {RequiredError}
|
|
109491
|
-
* @memberof MachineAccountsV2026Api
|
|
109492
|
-
*/
|
|
109493
|
-
public getMachineAccountSubtypeApprovalConfig(requestParameters: MachineAccountsV2026ApiGetMachineAccountSubtypeApprovalConfigRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
109494
|
-
return MachineAccountsV2026ApiFp(this.configuration).getMachineAccountSubtypeApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.subtypeId, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
109495
|
-
}
|
|
109496
|
-
|
|
109497
109945
|
/**
|
|
109498
109946
|
* Get a machine account subtype by its unique ID.
|
|
109499
109947
|
* @summary Retrieve subtype by subtype id
|
|
109500
109948
|
* @param {MachineAccountsV2026ApiGetMachineAccountSubtypeByIdRequest} requestParameters Request parameters.
|
|
109501
109949
|
* @param {*} [axiosOptions] Override http request option.
|
|
109950
|
+
* @deprecated
|
|
109502
109951
|
* @throws {RequiredError}
|
|
109503
109952
|
* @memberof MachineAccountsV2026Api
|
|
109504
109953
|
*/
|
|
@@ -109511,6 +109960,7 @@ export class MachineAccountsV2026Api extends BaseAPI {
|
|
|
109511
109960
|
* @summary Retrieve subtype by source and technicalName
|
|
109512
109961
|
* @param {MachineAccountsV2026ApiGetMachineAccountSubtypeByTechnicalNameRequest} requestParameters Request parameters.
|
|
109513
109962
|
* @param {*} [axiosOptions] Override http request option.
|
|
109963
|
+
* @deprecated
|
|
109514
109964
|
* @throws {RequiredError}
|
|
109515
109965
|
* @memberof MachineAccountsV2026Api
|
|
109516
109966
|
*/
|
|
@@ -109523,6 +109973,7 @@ export class MachineAccountsV2026Api extends BaseAPI {
|
|
|
109523
109973
|
* @summary Retrieve all subtypes by source
|
|
109524
109974
|
* @param {MachineAccountsV2026ApiListMachineAccountSubtypesRequest} requestParameters Request parameters.
|
|
109525
109975
|
* @param {*} [axiosOptions] Override http request option.
|
|
109976
|
+
* @deprecated
|
|
109526
109977
|
* @throws {RequiredError}
|
|
109527
109978
|
* @memberof MachineAccountsV2026Api
|
|
109528
109979
|
*/
|
|
@@ -109542,23 +109993,12 @@ export class MachineAccountsV2026Api extends BaseAPI {
|
|
|
109542
109993
|
return MachineAccountsV2026ApiFp(this.configuration).listMachineAccounts(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, requestParameters.sorters, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
109543
109994
|
}
|
|
109544
109995
|
|
|
109545
|
-
/**
|
|
109546
|
-
* This endpoint retrieves the subtypes for given subtypeIds.
|
|
109547
|
-
* @summary Bulk Retrieve of Source Subtypes
|
|
109548
|
-
* @param {MachineAccountsV2026ApiLoadBulkSourceSubtypesRequest} requestParameters Request parameters.
|
|
109549
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
109550
|
-
* @throws {RequiredError}
|
|
109551
|
-
* @memberof MachineAccountsV2026Api
|
|
109552
|
-
*/
|
|
109553
|
-
public loadBulkSourceSubtypes(requestParameters: MachineAccountsV2026ApiLoadBulkSourceSubtypesRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
109554
|
-
return MachineAccountsV2026ApiFp(this.configuration).loadBulkSourceSubtypes(requestParameters.xSailPointExperimental, requestParameters.requestBody, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
109555
|
-
}
|
|
109556
|
-
|
|
109557
109996
|
/**
|
|
109558
109997
|
* Update fields of a machine account subtype by source ID and technical name. Patchable fields include: `displayName`, `description`.
|
|
109559
109998
|
* @summary Patch subtype
|
|
109560
109999
|
* @param {MachineAccountsV2026ApiPatchMachineAccountSubtypeByTechnicalNameRequest} requestParameters Request parameters.
|
|
109561
110000
|
* @param {*} [axiosOptions] Override http request option.
|
|
110001
|
+
* @deprecated
|
|
109562
110002
|
* @throws {RequiredError}
|
|
109563
110003
|
* @memberof MachineAccountsV2026Api
|
|
109564
110004
|
*/
|
|
@@ -109577,18 +110017,6 @@ export class MachineAccountsV2026Api extends BaseAPI {
|
|
|
109577
110017
|
public updateMachineAccount(requestParameters: MachineAccountsV2026ApiUpdateMachineAccountRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
109578
110018
|
return MachineAccountsV2026ApiFp(this.configuration).updateMachineAccount(requestParameters.id, requestParameters.requestBody, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
109579
110019
|
}
|
|
109580
|
-
|
|
109581
|
-
/**
|
|
109582
|
-
* 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.
|
|
109583
|
-
* @summary Machine Subtype Approval Config
|
|
109584
|
-
* @param {MachineAccountsV2026ApiUpdateMachineAccountSubtypeApprovalConfigRequest} requestParameters Request parameters.
|
|
109585
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
109586
|
-
* @throws {RequiredError}
|
|
109587
|
-
* @memberof MachineAccountsV2026Api
|
|
109588
|
-
*/
|
|
109589
|
-
public updateMachineAccountSubtypeApprovalConfig(requestParameters: MachineAccountsV2026ApiUpdateMachineAccountSubtypeApprovalConfigRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
109590
|
-
return MachineAccountsV2026ApiFp(this.configuration).updateMachineAccountSubtypeApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.subtypeId, requestParameters.jsonPatchOperationV2026, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
109591
|
-
}
|
|
109592
110020
|
}
|
|
109593
110021
|
|
|
109594
110022
|
|