sailpoint-api-client 1.7.21 → 1.7.22
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 +8 -0
- package/beta/common.ts +2 -2
- package/beta/package.json +1 -1
- package/dist/beta/api.d.ts +8 -0
- package/dist/beta/api.js +8 -0
- package/dist/beta/api.js.map +1 -1
- package/dist/beta/common.js +1 -1
- package/dist/v2024/api.d.ts +8 -0
- package/dist/v2024/api.js +8 -0
- package/dist/v2024/api.js.map +1 -1
- package/dist/v2024/common.js +1 -1
- package/dist/v2025/api.d.ts +8 -0
- package/dist/v2025/api.js +8 -0
- package/dist/v2025/api.js.map +1 -1
- package/dist/v2025/common.js +1 -1
- package/dist/v2026/api.d.ts +317 -26
- package/dist/v2026/api.js +248 -1
- package/dist/v2026/api.js.map +1 -1
- package/dist/v2026/common.js +1 -1
- package/dist/v3/api.d.ts +8 -0
- package/dist/v3/api.js +8 -0
- package/dist/v3/api.js.map +1 -1
- package/dist/v3/common.js +1 -1
- package/package.json +1 -1
- package/v2024/README.md +2 -2
- package/v2024/api.ts +8 -0
- package/v2024/common.ts +2 -2
- package/v2024/package.json +1 -1
- package/v2025/README.md +2 -2
- package/v2025/api.ts +8 -0
- package/v2025/common.ts +2 -2
- package/v2025/package.json +1 -1
- package/v2026/README.md +2 -2
- package/v2026/api.ts +424 -26
- package/v2026/common.ts +2 -2
- package/v2026/package.json +1 -1
- package/v3/README.md +2 -2
- package/v3/api.ts +8 -0
- package/v3/common.ts +2 -2
- package/v3/package.json +1 -1
package/v2026/api.ts
CHANGED
|
@@ -103,6 +103,49 @@ export interface AccessModelMetadataValuesInnerV2026 {
|
|
|
103
103
|
*/
|
|
104
104
|
'status'?: string;
|
|
105
105
|
}
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @export
|
|
109
|
+
* @interface AccessRequestConfigV2026
|
|
110
|
+
*/
|
|
111
|
+
export interface AccessRequestConfigV2026 {
|
|
112
|
+
/**
|
|
113
|
+
* If this is true, approvals must be processed by an external system. Also, if this is true, it blocks Request Center access requests and returns an error for any user who isn\'t an org admin.
|
|
114
|
+
* @type {boolean}
|
|
115
|
+
* @memberof AccessRequestConfigV2026
|
|
116
|
+
*/
|
|
117
|
+
'approvalsMustBeExternal'?: boolean;
|
|
118
|
+
/**
|
|
119
|
+
* If this is true and the requester and reviewer are the same, the request is automatically approved.
|
|
120
|
+
* @type {boolean}
|
|
121
|
+
* @memberof AccessRequestConfigV2026
|
|
122
|
+
*/
|
|
123
|
+
'autoApprovalEnabled'?: boolean;
|
|
124
|
+
/**
|
|
125
|
+
* If this is true, reauthorization will be enforced for appropriately configured access items. Enablement of this feature is currently in a limited state.
|
|
126
|
+
* @type {boolean}
|
|
127
|
+
* @memberof AccessRequestConfigV2026
|
|
128
|
+
*/
|
|
129
|
+
'reauthorizationEnabled'?: boolean;
|
|
130
|
+
/**
|
|
131
|
+
*
|
|
132
|
+
* @type {RequestOnBehalfOfConfigV2026}
|
|
133
|
+
* @memberof AccessRequestConfigV2026
|
|
134
|
+
*/
|
|
135
|
+
'requestOnBehalfOfConfig'?: RequestOnBehalfOfConfigV2026;
|
|
136
|
+
/**
|
|
137
|
+
*
|
|
138
|
+
* @type {EntitlementRequestConfigV2026}
|
|
139
|
+
* @memberof AccessRequestConfigV2026
|
|
140
|
+
*/
|
|
141
|
+
'entitlementRequestConfig'?: EntitlementRequestConfigV2026;
|
|
142
|
+
/**
|
|
143
|
+
* If this is true, requesters and requested-for users will be able to see the names of governance group members when a request is awaiting the group\'s approval. Up to the first 10 members of the group will be listed.
|
|
144
|
+
* @type {boolean}
|
|
145
|
+
* @memberof AccessRequestConfigV2026
|
|
146
|
+
*/
|
|
147
|
+
'govGroupVisibilityEnabled'?: boolean;
|
|
148
|
+
}
|
|
106
149
|
/**
|
|
107
150
|
*
|
|
108
151
|
* @export
|
|
@@ -815,6 +858,108 @@ export interface EntitlementAccessModelMetadataV2026 {
|
|
|
815
858
|
*/
|
|
816
859
|
'attributes'?: Array<AccessModelMetadataV2026>;
|
|
817
860
|
}
|
|
861
|
+
/**
|
|
862
|
+
* The maximum duration for which the access is permitted.
|
|
863
|
+
* @export
|
|
864
|
+
* @interface EntitlementAccessRequestConfigMaxPermittedAccessDurationV2026
|
|
865
|
+
*/
|
|
866
|
+
export interface EntitlementAccessRequestConfigMaxPermittedAccessDurationV2026 {
|
|
867
|
+
/**
|
|
868
|
+
* The numeric value of the duration.
|
|
869
|
+
* @type {number}
|
|
870
|
+
* @memberof EntitlementAccessRequestConfigMaxPermittedAccessDurationV2026
|
|
871
|
+
*/
|
|
872
|
+
'value'?: number;
|
|
873
|
+
/**
|
|
874
|
+
* The time unit for the duration.
|
|
875
|
+
* @type {string}
|
|
876
|
+
* @memberof EntitlementAccessRequestConfigMaxPermittedAccessDurationV2026
|
|
877
|
+
*/
|
|
878
|
+
'timeUnit'?: EntitlementAccessRequestConfigMaxPermittedAccessDurationV2026TimeUnitV2026;
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
export const EntitlementAccessRequestConfigMaxPermittedAccessDurationV2026TimeUnitV2026 = {
|
|
882
|
+
Hours: 'HOURS',
|
|
883
|
+
Days: 'DAYS',
|
|
884
|
+
Weeks: 'WEEKS',
|
|
885
|
+
Months: 'MONTHS'
|
|
886
|
+
} as const;
|
|
887
|
+
|
|
888
|
+
export type EntitlementAccessRequestConfigMaxPermittedAccessDurationV2026TimeUnitV2026 = typeof EntitlementAccessRequestConfigMaxPermittedAccessDurationV2026TimeUnitV2026[keyof typeof EntitlementAccessRequestConfigMaxPermittedAccessDurationV2026TimeUnitV2026];
|
|
889
|
+
|
|
890
|
+
/**
|
|
891
|
+
*
|
|
892
|
+
* @export
|
|
893
|
+
* @interface EntitlementAccessRequestConfigV2026
|
|
894
|
+
*/
|
|
895
|
+
export interface EntitlementAccessRequestConfigV2026 {
|
|
896
|
+
/**
|
|
897
|
+
* Ordered list of approval steps for the access request. Empty when no approval is required.
|
|
898
|
+
* @type {Array<EntitlementApprovalSchemeV2026>}
|
|
899
|
+
* @memberof EntitlementAccessRequestConfigV2026
|
|
900
|
+
*/
|
|
901
|
+
'approvalSchemes'?: Array<EntitlementApprovalSchemeV2026>;
|
|
902
|
+
/**
|
|
903
|
+
* If the requester must provide a comment during access request.
|
|
904
|
+
* @type {boolean}
|
|
905
|
+
* @memberof EntitlementAccessRequestConfigV2026
|
|
906
|
+
*/
|
|
907
|
+
'requestCommentRequired'?: boolean;
|
|
908
|
+
/**
|
|
909
|
+
* If the reviewer must provide a comment when denying the access request.
|
|
910
|
+
* @type {boolean}
|
|
911
|
+
* @memberof EntitlementAccessRequestConfigV2026
|
|
912
|
+
*/
|
|
913
|
+
'denialCommentRequired'?: boolean;
|
|
914
|
+
/**
|
|
915
|
+
* Is Reauthorization Required
|
|
916
|
+
* @type {boolean}
|
|
917
|
+
* @memberof EntitlementAccessRequestConfigV2026
|
|
918
|
+
*/
|
|
919
|
+
'reauthorizationRequired'?: boolean;
|
|
920
|
+
/**
|
|
921
|
+
* If true, then remove date or sunset date is required in access request of the entitlement.
|
|
922
|
+
* @type {boolean}
|
|
923
|
+
* @memberof EntitlementAccessRequestConfigV2026
|
|
924
|
+
*/
|
|
925
|
+
'requireEndDate'?: boolean;
|
|
926
|
+
/**
|
|
927
|
+
*
|
|
928
|
+
* @type {EntitlementAccessRequestConfigMaxPermittedAccessDurationV2026}
|
|
929
|
+
* @memberof EntitlementAccessRequestConfigV2026
|
|
930
|
+
*/
|
|
931
|
+
'maxPermittedAccessDuration'?: EntitlementAccessRequestConfigMaxPermittedAccessDurationV2026 | null;
|
|
932
|
+
}
|
|
933
|
+
/**
|
|
934
|
+
*
|
|
935
|
+
* @export
|
|
936
|
+
* @interface EntitlementApprovalSchemeV2026
|
|
937
|
+
*/
|
|
938
|
+
export interface EntitlementApprovalSchemeV2026 {
|
|
939
|
+
/**
|
|
940
|
+
* Describes the individual or group that is responsible for an approval step. Values are as follows. **ENTITLEMENT_OWNER**: Owner of the associated Entitlement **SOURCE_OWNER**: Owner of the associated Source **MANAGER**: Manager of the Identity for whom the request is being made **GOVERNANCE_GROUP**: A Governance Group, the ID of which is specified by the **approverId** field **WORKFLOW**: A Workflow, the ID of which is specified by the **approverId** field, Workflows are exclusive to other types of approvals and License required.
|
|
941
|
+
* @type {string}
|
|
942
|
+
* @memberof EntitlementApprovalSchemeV2026
|
|
943
|
+
*/
|
|
944
|
+
'approverType'?: EntitlementApprovalSchemeV2026ApproverTypeV2026;
|
|
945
|
+
/**
|
|
946
|
+
* Id of the specific approver, used only when approverType is GOVERNANCE_GROUP or WORKFLOW
|
|
947
|
+
* @type {string}
|
|
948
|
+
* @memberof EntitlementApprovalSchemeV2026
|
|
949
|
+
*/
|
|
950
|
+
'approverId'?: string | null;
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
export const EntitlementApprovalSchemeV2026ApproverTypeV2026 = {
|
|
954
|
+
EntitlementOwner: 'ENTITLEMENT_OWNER',
|
|
955
|
+
SourceOwner: 'SOURCE_OWNER',
|
|
956
|
+
Manager: 'MANAGER',
|
|
957
|
+
GovernanceGroup: 'GOVERNANCE_GROUP',
|
|
958
|
+
Workflow: 'WORKFLOW'
|
|
959
|
+
} as const;
|
|
960
|
+
|
|
961
|
+
export type EntitlementApprovalSchemeV2026ApproverTypeV2026 = typeof EntitlementApprovalSchemeV2026ApproverTypeV2026[keyof typeof EntitlementApprovalSchemeV2026ApproverTypeV2026];
|
|
962
|
+
|
|
818
963
|
/**
|
|
819
964
|
* Object for specifying the bulk update request
|
|
820
965
|
* @export
|
|
@@ -937,6 +1082,38 @@ export const EntitlementPrivilegeLevelV2026EffectiveV2026 = {
|
|
|
937
1082
|
|
|
938
1083
|
export type EntitlementPrivilegeLevelV2026EffectiveV2026 = typeof EntitlementPrivilegeLevelV2026EffectiveV2026[keyof typeof EntitlementPrivilegeLevelV2026EffectiveV2026];
|
|
939
1084
|
|
|
1085
|
+
/**
|
|
1086
|
+
*
|
|
1087
|
+
* @export
|
|
1088
|
+
* @interface EntitlementRequestConfigV2026
|
|
1089
|
+
*/
|
|
1090
|
+
export interface EntitlementRequestConfigV2026 {
|
|
1091
|
+
/**
|
|
1092
|
+
*
|
|
1093
|
+
* @type {EntitlementAccessRequestConfigV2026}
|
|
1094
|
+
* @memberof EntitlementRequestConfigV2026
|
|
1095
|
+
*/
|
|
1096
|
+
'accessRequestConfig'?: EntitlementAccessRequestConfigV2026;
|
|
1097
|
+
/**
|
|
1098
|
+
*
|
|
1099
|
+
* @type {EntitlementRevocationRequestConfigV2026}
|
|
1100
|
+
* @memberof EntitlementRequestConfigV2026
|
|
1101
|
+
*/
|
|
1102
|
+
'revocationRequestConfig'?: EntitlementRevocationRequestConfigV2026;
|
|
1103
|
+
}
|
|
1104
|
+
/**
|
|
1105
|
+
*
|
|
1106
|
+
* @export
|
|
1107
|
+
* @interface EntitlementRevocationRequestConfigV2026
|
|
1108
|
+
*/
|
|
1109
|
+
export interface EntitlementRevocationRequestConfigV2026 {
|
|
1110
|
+
/**
|
|
1111
|
+
* Ordered list of approval steps for the access request. Empty when no approval is required.
|
|
1112
|
+
* @type {Array<EntitlementApprovalSchemeV2026>}
|
|
1113
|
+
* @memberof EntitlementRevocationRequestConfigV2026
|
|
1114
|
+
*/
|
|
1115
|
+
'approvalSchemes'?: Array<EntitlementApprovalSchemeV2026>;
|
|
1116
|
+
}
|
|
940
1117
|
/**
|
|
941
1118
|
*
|
|
942
1119
|
* @export
|
|
@@ -1141,6 +1318,32 @@ export interface ErrorResponseDtoV2026 {
|
|
|
1141
1318
|
*/
|
|
1142
1319
|
'causes'?: Array<ErrorMessageDtoV2026>;
|
|
1143
1320
|
}
|
|
1321
|
+
/**
|
|
1322
|
+
*
|
|
1323
|
+
* @export
|
|
1324
|
+
* @interface GetAccessRequestConfig401ResponseV2026
|
|
1325
|
+
*/
|
|
1326
|
+
export interface GetAccessRequestConfig401ResponseV2026 {
|
|
1327
|
+
/**
|
|
1328
|
+
* A message describing the error
|
|
1329
|
+
* @type {object}
|
|
1330
|
+
* @memberof GetAccessRequestConfig401ResponseV2026
|
|
1331
|
+
*/
|
|
1332
|
+
'error'?: object;
|
|
1333
|
+
}
|
|
1334
|
+
/**
|
|
1335
|
+
*
|
|
1336
|
+
* @export
|
|
1337
|
+
* @interface GetAccessRequestConfig429ResponseV2026
|
|
1338
|
+
*/
|
|
1339
|
+
export interface GetAccessRequestConfig429ResponseV2026 {
|
|
1340
|
+
/**
|
|
1341
|
+
* A message describing the error
|
|
1342
|
+
* @type {object}
|
|
1343
|
+
* @memberof GetAccessRequestConfig429ResponseV2026
|
|
1344
|
+
*/
|
|
1345
|
+
'message'?: object;
|
|
1346
|
+
}
|
|
1144
1347
|
/**
|
|
1145
1348
|
* Contains detailed information about an identity, including unique identifier, name, email address, and registration status.
|
|
1146
1349
|
* @export
|
|
@@ -1216,32 +1419,6 @@ export type JsonPatchOperationV2026OpV2026 = typeof JsonPatchOperationV2026OpV20
|
|
|
1216
1419
|
*/
|
|
1217
1420
|
export type JsonPatchOperationValueV2026 = Array<ArrayInnerV2026> | boolean | number | object | string;
|
|
1218
1421
|
|
|
1219
|
-
/**
|
|
1220
|
-
*
|
|
1221
|
-
* @export
|
|
1222
|
-
* @interface ListEntitlements401ResponseV2026
|
|
1223
|
-
*/
|
|
1224
|
-
export interface ListEntitlements401ResponseV2026 {
|
|
1225
|
-
/**
|
|
1226
|
-
* A message describing the error
|
|
1227
|
-
* @type {object}
|
|
1228
|
-
* @memberof ListEntitlements401ResponseV2026
|
|
1229
|
-
*/
|
|
1230
|
-
'error'?: object;
|
|
1231
|
-
}
|
|
1232
|
-
/**
|
|
1233
|
-
*
|
|
1234
|
-
* @export
|
|
1235
|
-
* @interface ListEntitlements429ResponseV2026
|
|
1236
|
-
*/
|
|
1237
|
-
export interface ListEntitlements429ResponseV2026 {
|
|
1238
|
-
/**
|
|
1239
|
-
* A message describing the error
|
|
1240
|
-
* @type {object}
|
|
1241
|
-
* @memberof ListEntitlements429ResponseV2026
|
|
1242
|
-
*/
|
|
1243
|
-
'message'?: object;
|
|
1244
|
-
}
|
|
1245
1422
|
/**
|
|
1246
1423
|
* An indicator of how the locale was selected. *DEFAULT* means the locale is the system default. *REQUEST* means the locale was selected from the request context (i.e., best match based on the *Accept-Language* header). Additional values may be added in the future without notice.
|
|
1247
1424
|
* @export
|
|
@@ -1375,6 +1552,25 @@ export interface PermissionDtoV2026 {
|
|
|
1375
1552
|
*/
|
|
1376
1553
|
'target'?: string;
|
|
1377
1554
|
}
|
|
1555
|
+
/**
|
|
1556
|
+
*
|
|
1557
|
+
* @export
|
|
1558
|
+
* @interface RequestOnBehalfOfConfigV2026
|
|
1559
|
+
*/
|
|
1560
|
+
export interface RequestOnBehalfOfConfigV2026 {
|
|
1561
|
+
/**
|
|
1562
|
+
* If this is true, anyone can request access for anyone.
|
|
1563
|
+
* @type {boolean}
|
|
1564
|
+
* @memberof RequestOnBehalfOfConfigV2026
|
|
1565
|
+
*/
|
|
1566
|
+
'allowRequestOnBehalfOfAnyoneByAnyone'?: boolean;
|
|
1567
|
+
/**
|
|
1568
|
+
* If this is true, a manager can request access for his or her direct reports.
|
|
1569
|
+
* @type {boolean}
|
|
1570
|
+
* @memberof RequestOnBehalfOfConfigV2026
|
|
1571
|
+
*/
|
|
1572
|
+
'allowRequestOnBehalfOfEmployeeByManager'?: boolean;
|
|
1573
|
+
}
|
|
1378
1574
|
/**
|
|
1379
1575
|
*
|
|
1380
1576
|
* @export
|
|
@@ -1651,6 +1847,208 @@ export const TaskStatusV2026CompletionStatusV2026 = {
|
|
|
1651
1847
|
export type TaskStatusV2026CompletionStatusV2026 = typeof TaskStatusV2026CompletionStatusV2026[keyof typeof TaskStatusV2026CompletionStatusV2026];
|
|
1652
1848
|
|
|
1653
1849
|
|
|
1850
|
+
/**
|
|
1851
|
+
* AccessRequestsV2026Api - axios parameter creator
|
|
1852
|
+
* @export
|
|
1853
|
+
*/
|
|
1854
|
+
export const AccessRequestsV2026ApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
1855
|
+
return {
|
|
1856
|
+
/**
|
|
1857
|
+
* This endpoint returns the current access-request configuration.
|
|
1858
|
+
* @summary Get access request configuration
|
|
1859
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1860
|
+
* @throws {RequiredError}
|
|
1861
|
+
*/
|
|
1862
|
+
getAccessRequestConfig: async (axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1863
|
+
const localVarPath = `/access-request-config`;
|
|
1864
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1865
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1866
|
+
let baseOptions;
|
|
1867
|
+
if (configuration) {
|
|
1868
|
+
baseOptions = configuration.baseOptions;
|
|
1869
|
+
}
|
|
1870
|
+
|
|
1871
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
|
|
1872
|
+
const localVarHeaderParameter = {} as any;
|
|
1873
|
+
const localVarQueryParameter = {} as any;
|
|
1874
|
+
|
|
1875
|
+
// authentication userAuth required
|
|
1876
|
+
// oauth required
|
|
1877
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
1878
|
+
|
|
1879
|
+
// authentication userAuth required
|
|
1880
|
+
// oauth required
|
|
1881
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
1882
|
+
|
|
1883
|
+
|
|
1884
|
+
|
|
1885
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1886
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1887
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
1888
|
+
|
|
1889
|
+
return {
|
|
1890
|
+
url: toPathString(localVarUrlObj),
|
|
1891
|
+
axiosOptions: localVarRequestOptions,
|
|
1892
|
+
};
|
|
1893
|
+
},
|
|
1894
|
+
/**
|
|
1895
|
+
* This endpoint replaces the current access-request configuration.
|
|
1896
|
+
* @summary Update access request configuration
|
|
1897
|
+
* @param {AccessRequestConfigV2026} accessRequestConfigV2026
|
|
1898
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1899
|
+
* @throws {RequiredError}
|
|
1900
|
+
*/
|
|
1901
|
+
setAccessRequestConfig: async (accessRequestConfigV2026: AccessRequestConfigV2026, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1902
|
+
// verify required parameter 'accessRequestConfigV2026' is not null or undefined
|
|
1903
|
+
assertParamExists('setAccessRequestConfig', 'accessRequestConfigV2026', accessRequestConfigV2026)
|
|
1904
|
+
const localVarPath = `/access-request-config`;
|
|
1905
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1906
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1907
|
+
let baseOptions;
|
|
1908
|
+
if (configuration) {
|
|
1909
|
+
baseOptions = configuration.baseOptions;
|
|
1910
|
+
}
|
|
1911
|
+
|
|
1912
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...axiosOptions};
|
|
1913
|
+
const localVarHeaderParameter = {} as any;
|
|
1914
|
+
const localVarQueryParameter = {} as any;
|
|
1915
|
+
|
|
1916
|
+
// authentication userAuth required
|
|
1917
|
+
// oauth required
|
|
1918
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
1919
|
+
|
|
1920
|
+
// authentication userAuth required
|
|
1921
|
+
// oauth required
|
|
1922
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
1923
|
+
|
|
1924
|
+
|
|
1925
|
+
|
|
1926
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1927
|
+
|
|
1928
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1929
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1930
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
1931
|
+
localVarRequestOptions.data = serializeDataIfNeeded(accessRequestConfigV2026, localVarRequestOptions, configuration)
|
|
1932
|
+
|
|
1933
|
+
return {
|
|
1934
|
+
url: toPathString(localVarUrlObj),
|
|
1935
|
+
axiosOptions: localVarRequestOptions,
|
|
1936
|
+
};
|
|
1937
|
+
},
|
|
1938
|
+
}
|
|
1939
|
+
};
|
|
1940
|
+
|
|
1941
|
+
/**
|
|
1942
|
+
* AccessRequestsV2026Api - functional programming interface
|
|
1943
|
+
* @export
|
|
1944
|
+
*/
|
|
1945
|
+
export const AccessRequestsV2026ApiFp = function(configuration?: Configuration) {
|
|
1946
|
+
const localVarAxiosParamCreator = AccessRequestsV2026ApiAxiosParamCreator(configuration)
|
|
1947
|
+
return {
|
|
1948
|
+
/**
|
|
1949
|
+
* This endpoint returns the current access-request configuration.
|
|
1950
|
+
* @summary Get access request configuration
|
|
1951
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1952
|
+
* @throws {RequiredError}
|
|
1953
|
+
*/
|
|
1954
|
+
async getAccessRequestConfig(axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccessRequestConfigV2026>> {
|
|
1955
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAccessRequestConfig(axiosOptions);
|
|
1956
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1957
|
+
const localVarOperationServerBasePath = operationServerMap['AccessRequestsV2026Api.getAccessRequestConfig']?.[localVarOperationServerIndex]?.url;
|
|
1958
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1959
|
+
},
|
|
1960
|
+
/**
|
|
1961
|
+
* This endpoint replaces the current access-request configuration.
|
|
1962
|
+
* @summary Update access request configuration
|
|
1963
|
+
* @param {AccessRequestConfigV2026} accessRequestConfigV2026
|
|
1964
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1965
|
+
* @throws {RequiredError}
|
|
1966
|
+
*/
|
|
1967
|
+
async setAccessRequestConfig(accessRequestConfigV2026: AccessRequestConfigV2026, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccessRequestConfigV2026>> {
|
|
1968
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setAccessRequestConfig(accessRequestConfigV2026, axiosOptions);
|
|
1969
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1970
|
+
const localVarOperationServerBasePath = operationServerMap['AccessRequestsV2026Api.setAccessRequestConfig']?.[localVarOperationServerIndex]?.url;
|
|
1971
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1972
|
+
},
|
|
1973
|
+
}
|
|
1974
|
+
};
|
|
1975
|
+
|
|
1976
|
+
/**
|
|
1977
|
+
* AccessRequestsV2026Api - factory interface
|
|
1978
|
+
* @export
|
|
1979
|
+
*/
|
|
1980
|
+
export const AccessRequestsV2026ApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
1981
|
+
const localVarFp = AccessRequestsV2026ApiFp(configuration)
|
|
1982
|
+
return {
|
|
1983
|
+
/**
|
|
1984
|
+
* This endpoint returns the current access-request configuration.
|
|
1985
|
+
* @summary Get access request configuration
|
|
1986
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1987
|
+
* @throws {RequiredError}
|
|
1988
|
+
*/
|
|
1989
|
+
getAccessRequestConfig(axiosOptions?: RawAxiosRequestConfig): AxiosPromise<AccessRequestConfigV2026> {
|
|
1990
|
+
return localVarFp.getAccessRequestConfig(axiosOptions).then((request) => request(axios, basePath));
|
|
1991
|
+
},
|
|
1992
|
+
/**
|
|
1993
|
+
* This endpoint replaces the current access-request configuration.
|
|
1994
|
+
* @summary Update access request configuration
|
|
1995
|
+
* @param {AccessRequestsV2026ApiSetAccessRequestConfigRequest} requestParameters Request parameters.
|
|
1996
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1997
|
+
* @throws {RequiredError}
|
|
1998
|
+
*/
|
|
1999
|
+
setAccessRequestConfig(requestParameters: AccessRequestsV2026ApiSetAccessRequestConfigRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<AccessRequestConfigV2026> {
|
|
2000
|
+
return localVarFp.setAccessRequestConfig(requestParameters.accessRequestConfigV2026, axiosOptions).then((request) => request(axios, basePath));
|
|
2001
|
+
},
|
|
2002
|
+
};
|
|
2003
|
+
};
|
|
2004
|
+
|
|
2005
|
+
/**
|
|
2006
|
+
* Request parameters for setAccessRequestConfig operation in AccessRequestsV2026Api.
|
|
2007
|
+
* @export
|
|
2008
|
+
* @interface AccessRequestsV2026ApiSetAccessRequestConfigRequest
|
|
2009
|
+
*/
|
|
2010
|
+
export interface AccessRequestsV2026ApiSetAccessRequestConfigRequest {
|
|
2011
|
+
/**
|
|
2012
|
+
*
|
|
2013
|
+
* @type {AccessRequestConfigV2026}
|
|
2014
|
+
* @memberof AccessRequestsV2026ApiSetAccessRequestConfig
|
|
2015
|
+
*/
|
|
2016
|
+
readonly accessRequestConfigV2026: AccessRequestConfigV2026
|
|
2017
|
+
}
|
|
2018
|
+
|
|
2019
|
+
/**
|
|
2020
|
+
* AccessRequestsV2026Api - object-oriented interface
|
|
2021
|
+
* @export
|
|
2022
|
+
* @class AccessRequestsV2026Api
|
|
2023
|
+
* @extends {BaseAPI}
|
|
2024
|
+
*/
|
|
2025
|
+
export class AccessRequestsV2026Api extends BaseAPI {
|
|
2026
|
+
/**
|
|
2027
|
+
* This endpoint returns the current access-request configuration.
|
|
2028
|
+
* @summary Get access request configuration
|
|
2029
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2030
|
+
* @throws {RequiredError}
|
|
2031
|
+
* @memberof AccessRequestsV2026Api
|
|
2032
|
+
*/
|
|
2033
|
+
public getAccessRequestConfig(axiosOptions?: RawAxiosRequestConfig) {
|
|
2034
|
+
return AccessRequestsV2026ApiFp(this.configuration).getAccessRequestConfig(axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
2035
|
+
}
|
|
2036
|
+
|
|
2037
|
+
/**
|
|
2038
|
+
* This endpoint replaces the current access-request configuration.
|
|
2039
|
+
* @summary Update access request configuration
|
|
2040
|
+
* @param {AccessRequestsV2026ApiSetAccessRequestConfigRequest} requestParameters Request parameters.
|
|
2041
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2042
|
+
* @throws {RequiredError}
|
|
2043
|
+
* @memberof AccessRequestsV2026Api
|
|
2044
|
+
*/
|
|
2045
|
+
public setAccessRequestConfig(requestParameters: AccessRequestsV2026ApiSetAccessRequestConfigRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
2046
|
+
return AccessRequestsV2026ApiFp(this.configuration).setAccessRequestConfig(requestParameters.accessRequestConfigV2026, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
2047
|
+
}
|
|
2048
|
+
}
|
|
2049
|
+
|
|
2050
|
+
|
|
2051
|
+
|
|
1654
2052
|
/**
|
|
1655
2053
|
* AccountDeletionRequestsV2026Api - axios parameter creator
|
|
1656
2054
|
* @export
|
package/v2026/common.ts
CHANGED
|
@@ -147,9 +147,9 @@ export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxi
|
|
|
147
147
|
return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
148
148
|
axiosRetry(axios, configuration.retriesConfig)
|
|
149
149
|
const headers = {
|
|
150
|
-
...{'User-Agent':'OpenAPI-Generator/1.7.
|
|
150
|
+
...{'User-Agent':'OpenAPI-Generator/1.7.22/ts'},
|
|
151
151
|
...axiosArgs.axiosOptions.headers,
|
|
152
|
-
...{'X-SailPoint-SDK':'typescript-1.7.
|
|
152
|
+
...{'X-SailPoint-SDK':'typescript-1.7.22'}
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
if(!configuration.experimental && ("X-SailPoint-Experimental" in headers)) {
|
package/v2026/package.json
CHANGED
package/v3/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## sailpoint-sdk@1.7.
|
|
1
|
+
## sailpoint-sdk@1.7.22
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install sailpoint-sdk@1.7.
|
|
39
|
+
npm install sailpoint-sdk@1.7.22 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/v3/api.ts
CHANGED
|
@@ -27413,6 +27413,7 @@ export const AccessRequestsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
27413
27413
|
* This endpoint returns the current access-request configuration.
|
|
27414
27414
|
* @summary Get access request configuration
|
|
27415
27415
|
* @param {*} [axiosOptions] Override http request option.
|
|
27416
|
+
* @deprecated
|
|
27416
27417
|
* @throws {RequiredError}
|
|
27417
27418
|
*/
|
|
27418
27419
|
getAccessRequestConfig: async (axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -27540,6 +27541,7 @@ export const AccessRequestsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
27540
27541
|
* @summary Update access request configuration
|
|
27541
27542
|
* @param {AccessRequestConfig} accessRequestConfig
|
|
27542
27543
|
* @param {*} [axiosOptions] Override http request option.
|
|
27544
|
+
* @deprecated
|
|
27543
27545
|
* @throws {RequiredError}
|
|
27544
27546
|
*/
|
|
27545
27547
|
setAccessRequestConfig: async (accessRequestConfig: AccessRequestConfig, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -27619,6 +27621,7 @@ export const AccessRequestsApiFp = function(configuration?: Configuration) {
|
|
|
27619
27621
|
* This endpoint returns the current access-request configuration.
|
|
27620
27622
|
* @summary Get access request configuration
|
|
27621
27623
|
* @param {*} [axiosOptions] Override http request option.
|
|
27624
|
+
* @deprecated
|
|
27622
27625
|
* @throws {RequiredError}
|
|
27623
27626
|
*/
|
|
27624
27627
|
async getAccessRequestConfig(axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccessRequestConfig>> {
|
|
@@ -27654,6 +27657,7 @@ export const AccessRequestsApiFp = function(configuration?: Configuration) {
|
|
|
27654
27657
|
* @summary Update access request configuration
|
|
27655
27658
|
* @param {AccessRequestConfig} accessRequestConfig
|
|
27656
27659
|
* @param {*} [axiosOptions] Override http request option.
|
|
27660
|
+
* @deprecated
|
|
27657
27661
|
* @throws {RequiredError}
|
|
27658
27662
|
*/
|
|
27659
27663
|
async setAccessRequestConfig(accessRequestConfig: AccessRequestConfig, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccessRequestConfig>> {
|
|
@@ -27696,6 +27700,7 @@ export const AccessRequestsApiFactory = function (configuration?: Configuration,
|
|
|
27696
27700
|
* This endpoint returns the current access-request configuration.
|
|
27697
27701
|
* @summary Get access request configuration
|
|
27698
27702
|
* @param {*} [axiosOptions] Override http request option.
|
|
27703
|
+
* @deprecated
|
|
27699
27704
|
* @throws {RequiredError}
|
|
27700
27705
|
*/
|
|
27701
27706
|
getAccessRequestConfig(axiosOptions?: RawAxiosRequestConfig): AxiosPromise<AccessRequestConfig> {
|
|
@@ -27716,6 +27721,7 @@ export const AccessRequestsApiFactory = function (configuration?: Configuration,
|
|
|
27716
27721
|
* @summary Update access request configuration
|
|
27717
27722
|
* @param {AccessRequestsApiSetAccessRequestConfigRequest} requestParameters Request parameters.
|
|
27718
27723
|
* @param {*} [axiosOptions] Override http request option.
|
|
27724
|
+
* @deprecated
|
|
27719
27725
|
* @throws {RequiredError}
|
|
27720
27726
|
*/
|
|
27721
27727
|
setAccessRequestConfig(requestParameters: AccessRequestsApiSetAccessRequestConfigRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<AccessRequestConfig> {
|
|
@@ -27878,6 +27884,7 @@ export class AccessRequestsApi extends BaseAPI {
|
|
|
27878
27884
|
* This endpoint returns the current access-request configuration.
|
|
27879
27885
|
* @summary Get access request configuration
|
|
27880
27886
|
* @param {*} [axiosOptions] Override http request option.
|
|
27887
|
+
* @deprecated
|
|
27881
27888
|
* @throws {RequiredError}
|
|
27882
27889
|
* @memberof AccessRequestsApi
|
|
27883
27890
|
*/
|
|
@@ -27902,6 +27909,7 @@ export class AccessRequestsApi extends BaseAPI {
|
|
|
27902
27909
|
* @summary Update access request configuration
|
|
27903
27910
|
* @param {AccessRequestsApiSetAccessRequestConfigRequest} requestParameters Request parameters.
|
|
27904
27911
|
* @param {*} [axiosOptions] Override http request option.
|
|
27912
|
+
* @deprecated
|
|
27905
27913
|
* @throws {RequiredError}
|
|
27906
27914
|
* @memberof AccessRequestsApi
|
|
27907
27915
|
*/
|
package/v3/common.ts
CHANGED
|
@@ -147,9 +147,9 @@ export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxi
|
|
|
147
147
|
return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
148
148
|
axiosRetry(axios, configuration.retriesConfig)
|
|
149
149
|
const headers = {
|
|
150
|
-
...{'User-Agent':'OpenAPI-Generator/1.7.
|
|
150
|
+
...{'User-Agent':'OpenAPI-Generator/1.7.22/ts'},
|
|
151
151
|
...axiosArgs.axiosOptions.headers,
|
|
152
|
-
...{'X-SailPoint-SDK':'typescript-1.7.
|
|
152
|
+
...{'X-SailPoint-SDK':'typescript-1.7.22'}
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
if(!configuration.experimental && ("X-SailPoint-Experimental" in headers)) {
|