sailpoint-api-client 1.1.0 → 1.2.2
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 +15616 -11604
- package/beta/common.ts +2 -2
- package/beta/package.json +1 -1
- package/cc/README.md +2 -2
- package/cc/api.ts +142 -80
- package/cc/common.ts +2 -2
- package/cc/package.json +1 -1
- package/configuration.ts +2 -0
- package/dist/beta/api.d.ts +6426 -3885
- package/dist/beta/api.js +9199 -6014
- package/dist/beta/api.js.map +1 -1
- package/dist/beta/base.js +4 -1
- package/dist/beta/base.js.map +1 -1
- package/dist/beta/common.js +7 -4
- package/dist/beta/common.js.map +1 -1
- package/dist/cc/api.d.ts +71 -9
- package/dist/cc/api.js +134 -131
- package/dist/cc/api.js.map +1 -1
- package/dist/cc/base.js +4 -1
- package/dist/cc/base.js.map +1 -1
- package/dist/cc/common.js +7 -4
- package/dist/cc/common.js.map +1 -1
- package/dist/configuration.js +33 -6
- package/dist/configuration.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +14 -1
- package/dist/index.js.map +1 -1
- package/dist/index.spec.js +8 -8
- package/dist/index.spec.js.map +1 -1
- package/dist/paginator.d.ts +5 -2
- package/dist/paginator.js +1 -1
- package/dist/paginator.js.map +1 -1
- package/dist/v2/api.d.ts +4 -4
- package/dist/v2/api.js +68 -65
- package/dist/v2/api.js.map +1 -1
- package/dist/v2/base.js +4 -1
- package/dist/v2/base.js.map +1 -1
- package/dist/v2/common.js +7 -4
- package/dist/v2/common.js.map +1 -1
- package/dist/v3/api.d.ts +1630 -279
- package/dist/v3/api.js +3722 -1743
- package/dist/v3/api.js.map +1 -1
- package/dist/v3/base.js +4 -1
- package/dist/v3/base.js.map +1 -1
- package/dist/v3/common.js +7 -4
- package/dist/v3/common.js.map +1 -1
- package/index.spec.ts +7 -7
- package/index.ts +2 -1
- package/package.json +1 -1
- package/paginator.ts +5 -1
- package/tsconfig.json +1 -0
- package/v2/README.md +2 -2
- package/v2/api.ts +36 -36
- package/v2/common.ts +2 -2
- package/v2/package.json +1 -1
- package/v3/README.md +2 -2
- package/v3/api.ts +3256 -1000
- package/v3/common.ts +2 -2
- package/v3/package.json +1 -1
package/beta/common.ts
CHANGED
|
@@ -134,8 +134,8 @@ export const toPathString = function (url: URL) {
|
|
|
134
134
|
export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {
|
|
135
135
|
return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
136
136
|
axiosRetry(globalAxios, configuration.retriesConfig)
|
|
137
|
-
axiosArgs.axiosOptions.headers['X-SailPoint-SDK'] = 'typescript-1.
|
|
138
|
-
axiosArgs.axiosOptions.headers['User-Agent'] = 'OpenAPI-Generator/1.
|
|
137
|
+
axiosArgs.axiosOptions.headers['X-SailPoint-SDK'] = 'typescript-1.2.2'
|
|
138
|
+
axiosArgs.axiosOptions.headers['User-Agent'] = 'OpenAPI-Generator/1.2.2/ts'
|
|
139
139
|
const axiosRequestArgs = {...axiosArgs.axiosOptions, url: (configuration?.basePathBeta || basePath) + axiosArgs.url};
|
|
140
140
|
return axios.request<T, R>(axiosRequestArgs);
|
|
141
141
|
};
|
package/beta/package.json
CHANGED
package/cc/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## sailpoint-sdk@1.
|
|
1
|
+
## sailpoint-sdk@1.2.2
|
|
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.
|
|
39
|
+
npm install sailpoint-sdk@1.2.2 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/cc/api.ts
CHANGED
|
@@ -1107,6 +1107,68 @@ export interface LoadAccountsRequestCC {
|
|
|
1107
1107
|
*/
|
|
1108
1108
|
'file'?: any;
|
|
1109
1109
|
}
|
|
1110
|
+
/**
|
|
1111
|
+
*
|
|
1112
|
+
* @export
|
|
1113
|
+
* @interface RefreshIdentitiesRequestCC
|
|
1114
|
+
*/
|
|
1115
|
+
export interface RefreshIdentitiesRequestCC {
|
|
1116
|
+
/**
|
|
1117
|
+
* Defines the identity or identities which this refresh applies to. The filter must use searchable identity attributes. If the filter cannot be understood or parsed, all identities will be refreshed.
|
|
1118
|
+
* @type {string}
|
|
1119
|
+
* @memberof RefreshIdentitiesRequestCC
|
|
1120
|
+
*/
|
|
1121
|
+
'filter'?: string;
|
|
1122
|
+
/**
|
|
1123
|
+
*
|
|
1124
|
+
* @type {RefreshIdentitiesRequestRefreshArgsCC}
|
|
1125
|
+
* @memberof RefreshIdentitiesRequestCC
|
|
1126
|
+
*/
|
|
1127
|
+
'refreshArgs'?: RefreshIdentitiesRequestRefreshArgsCC;
|
|
1128
|
+
}
|
|
1129
|
+
/**
|
|
1130
|
+
*
|
|
1131
|
+
* @export
|
|
1132
|
+
* @interface RefreshIdentitiesRequestRefreshArgsCC
|
|
1133
|
+
*/
|
|
1134
|
+
export interface RefreshIdentitiesRequestRefreshArgsCC {
|
|
1135
|
+
/**
|
|
1136
|
+
* This will refresh entitlement, role, and access profile calculations.
|
|
1137
|
+
* @type {boolean}
|
|
1138
|
+
* @memberof RefreshIdentitiesRequestRefreshArgsCC
|
|
1139
|
+
*/
|
|
1140
|
+
'correlateEntitlements'?: boolean;
|
|
1141
|
+
/**
|
|
1142
|
+
* This will calculate identity attributes.
|
|
1143
|
+
* @type {boolean}
|
|
1144
|
+
* @memberof RefreshIdentitiesRequestRefreshArgsCC
|
|
1145
|
+
*/
|
|
1146
|
+
'promoteAttributes'?: boolean;
|
|
1147
|
+
/**
|
|
1148
|
+
* This recalculates manager correlation and manager status. Note: This is computationally expensive to run.
|
|
1149
|
+
* @type {boolean}
|
|
1150
|
+
* @memberof RefreshIdentitiesRequestRefreshArgsCC
|
|
1151
|
+
*/
|
|
1152
|
+
'refreshManagerStatus'?: boolean;
|
|
1153
|
+
/**
|
|
1154
|
+
* Enables attribute synchronization.
|
|
1155
|
+
* @type {boolean}
|
|
1156
|
+
* @memberof RefreshIdentitiesRequestRefreshArgsCC
|
|
1157
|
+
*/
|
|
1158
|
+
'synchronizeAttributes'?: boolean;
|
|
1159
|
+
/**
|
|
1160
|
+
* Option that will enable deletion of an identity objects if there are no account objects. Note: This is not typically used in IdentityNow, except by guidance from SailPoint.
|
|
1161
|
+
* @type {boolean}
|
|
1162
|
+
* @memberof RefreshIdentitiesRequestRefreshArgsCC
|
|
1163
|
+
*/
|
|
1164
|
+
'pruneIdentities'?: boolean;
|
|
1165
|
+
/**
|
|
1166
|
+
* Enables provisioning of role assignments with entitlements that are not currently fulfilled.
|
|
1167
|
+
* @type {boolean}
|
|
1168
|
+
* @memberof RefreshIdentitiesRequestRefreshArgsCC
|
|
1169
|
+
*/
|
|
1170
|
+
'provision'?: boolean;
|
|
1171
|
+
}
|
|
1110
1172
|
/**
|
|
1111
1173
|
*
|
|
1112
1174
|
* @export
|
|
@@ -1185,13 +1247,13 @@ export const AccountsCCApiAxiosParamCreator = function (configuration?: Configur
|
|
|
1185
1247
|
const localVarHeaderParameter = {} as any;
|
|
1186
1248
|
const localVarQueryParameter = {} as any;
|
|
1187
1249
|
|
|
1188
|
-
// authentication
|
|
1250
|
+
// authentication UserContextAuth required
|
|
1189
1251
|
// oauth required
|
|
1190
|
-
await setOAuthToObject(localVarHeaderParameter, "
|
|
1252
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
1191
1253
|
|
|
1192
|
-
// authentication
|
|
1254
|
+
// authentication UserContextAuth required
|
|
1193
1255
|
// oauth required
|
|
1194
|
-
await setOAuthToObject(localVarHeaderParameter, "
|
|
1256
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
1195
1257
|
|
|
1196
1258
|
|
|
1197
1259
|
|
|
@@ -1227,13 +1289,13 @@ export const AccountsCCApiAxiosParamCreator = function (configuration?: Configur
|
|
|
1227
1289
|
const localVarHeaderParameter = {} as any;
|
|
1228
1290
|
const localVarQueryParameter = {} as any;
|
|
1229
1291
|
|
|
1230
|
-
// authentication
|
|
1292
|
+
// authentication UserContextAuth required
|
|
1231
1293
|
// oauth required
|
|
1232
|
-
await setOAuthToObject(localVarHeaderParameter, "
|
|
1294
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
1233
1295
|
|
|
1234
|
-
// authentication
|
|
1296
|
+
// authentication UserContextAuth required
|
|
1235
1297
|
// oauth required
|
|
1236
|
-
await setOAuthToObject(localVarHeaderParameter, "
|
|
1298
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
1237
1299
|
|
|
1238
1300
|
|
|
1239
1301
|
|
|
@@ -1381,13 +1443,13 @@ export const ApplicationsCCApiAxiosParamCreator = function (configuration?: Conf
|
|
|
1381
1443
|
const localVarHeaderParameter = {} as any;
|
|
1382
1444
|
const localVarQueryParameter = {} as any;
|
|
1383
1445
|
|
|
1384
|
-
// authentication
|
|
1446
|
+
// authentication UserContextAuth required
|
|
1385
1447
|
// oauth required
|
|
1386
|
-
await setOAuthToObject(localVarHeaderParameter, "
|
|
1448
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
1387
1449
|
|
|
1388
|
-
// authentication
|
|
1450
|
+
// authentication UserContextAuth required
|
|
1389
1451
|
// oauth required
|
|
1390
|
-
await setOAuthToObject(localVarHeaderParameter, "
|
|
1452
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
1391
1453
|
|
|
1392
1454
|
|
|
1393
1455
|
|
|
@@ -1426,13 +1488,13 @@ export const ApplicationsCCApiAxiosParamCreator = function (configuration?: Conf
|
|
|
1426
1488
|
const localVarHeaderParameter = {} as any;
|
|
1427
1489
|
const localVarQueryParameter = {} as any;
|
|
1428
1490
|
|
|
1429
|
-
// authentication
|
|
1491
|
+
// authentication UserContextAuth required
|
|
1430
1492
|
// oauth required
|
|
1431
|
-
await setOAuthToObject(localVarHeaderParameter, "
|
|
1493
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
1432
1494
|
|
|
1433
|
-
// authentication
|
|
1495
|
+
// authentication UserContextAuth required
|
|
1434
1496
|
// oauth required
|
|
1435
|
-
await setOAuthToObject(localVarHeaderParameter, "
|
|
1497
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
1436
1498
|
|
|
1437
1499
|
|
|
1438
1500
|
|
|
@@ -1468,13 +1530,13 @@ export const ApplicationsCCApiAxiosParamCreator = function (configuration?: Conf
|
|
|
1468
1530
|
const localVarHeaderParameter = {} as any;
|
|
1469
1531
|
const localVarQueryParameter = {} as any;
|
|
1470
1532
|
|
|
1471
|
-
// authentication
|
|
1533
|
+
// authentication UserContextAuth required
|
|
1472
1534
|
// oauth required
|
|
1473
|
-
await setOAuthToObject(localVarHeaderParameter, "
|
|
1535
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
1474
1536
|
|
|
1475
|
-
// authentication
|
|
1537
|
+
// authentication UserContextAuth required
|
|
1476
1538
|
// oauth required
|
|
1477
|
-
await setOAuthToObject(localVarHeaderParameter, "
|
|
1539
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
1478
1540
|
|
|
1479
1541
|
|
|
1480
1542
|
|
|
@@ -1540,13 +1602,13 @@ export const ApplicationsCCApiAxiosParamCreator = function (configuration?: Conf
|
|
|
1540
1602
|
const localVarHeaderParameter = {} as any;
|
|
1541
1603
|
const localVarQueryParameter = {} as any;
|
|
1542
1604
|
|
|
1543
|
-
// authentication
|
|
1605
|
+
// authentication UserContextAuth required
|
|
1544
1606
|
// oauth required
|
|
1545
|
-
await setOAuthToObject(localVarHeaderParameter, "
|
|
1607
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
1546
1608
|
|
|
1547
|
-
// authentication
|
|
1609
|
+
// authentication UserContextAuth required
|
|
1548
1610
|
// oauth required
|
|
1549
|
-
await setOAuthToObject(localVarHeaderParameter, "
|
|
1611
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
1550
1612
|
|
|
1551
1613
|
|
|
1552
1614
|
|
|
@@ -1583,13 +1645,13 @@ export const ApplicationsCCApiAxiosParamCreator = function (configuration?: Conf
|
|
|
1583
1645
|
const localVarHeaderParameter = {} as any;
|
|
1584
1646
|
const localVarQueryParameter = {} as any;
|
|
1585
1647
|
|
|
1586
|
-
// authentication
|
|
1648
|
+
// authentication UserContextAuth required
|
|
1587
1649
|
// oauth required
|
|
1588
|
-
await setOAuthToObject(localVarHeaderParameter, "
|
|
1650
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
1589
1651
|
|
|
1590
|
-
// authentication
|
|
1652
|
+
// authentication UserContextAuth required
|
|
1591
1653
|
// oauth required
|
|
1592
|
-
await setOAuthToObject(localVarHeaderParameter, "
|
|
1654
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
1593
1655
|
|
|
1594
1656
|
|
|
1595
1657
|
|
|
@@ -1943,13 +2005,13 @@ export const ConnectorsCCApiAxiosParamCreator = function (configuration?: Config
|
|
|
1943
2005
|
const localVarQueryParameter = {} as any;
|
|
1944
2006
|
const localVarFormParams = new URLSearchParams();
|
|
1945
2007
|
|
|
1946
|
-
// authentication
|
|
2008
|
+
// authentication UserContextAuth required
|
|
1947
2009
|
// oauth required
|
|
1948
|
-
await setOAuthToObject(localVarHeaderParameter, "
|
|
2010
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
1949
2011
|
|
|
1950
|
-
// authentication
|
|
2012
|
+
// authentication UserContextAuth required
|
|
1951
2013
|
// oauth required
|
|
1952
|
-
await setOAuthToObject(localVarHeaderParameter, "
|
|
2014
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
1953
2015
|
|
|
1954
2016
|
if (contentType !== undefined && contentType !== null) {
|
|
1955
2017
|
localVarHeaderParameter['Content-Type'] = String(contentType);
|
|
@@ -2012,13 +2074,13 @@ export const ConnectorsCCApiAxiosParamCreator = function (configuration?: Config
|
|
|
2012
2074
|
const localVarHeaderParameter = {} as any;
|
|
2013
2075
|
const localVarQueryParameter = {} as any;
|
|
2014
2076
|
|
|
2015
|
-
// authentication
|
|
2077
|
+
// authentication UserContextAuth required
|
|
2016
2078
|
// oauth required
|
|
2017
|
-
await setOAuthToObject(localVarHeaderParameter, "
|
|
2079
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
2018
2080
|
|
|
2019
|
-
// authentication
|
|
2081
|
+
// authentication UserContextAuth required
|
|
2020
2082
|
// oauth required
|
|
2021
|
-
await setOAuthToObject(localVarHeaderParameter, "
|
|
2083
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
2022
2084
|
|
|
2023
2085
|
|
|
2024
2086
|
|
|
@@ -2054,13 +2116,13 @@ export const ConnectorsCCApiAxiosParamCreator = function (configuration?: Config
|
|
|
2054
2116
|
const localVarHeaderParameter = {} as any;
|
|
2055
2117
|
const localVarQueryParameter = {} as any;
|
|
2056
2118
|
|
|
2057
|
-
// authentication
|
|
2119
|
+
// authentication UserContextAuth required
|
|
2058
2120
|
// oauth required
|
|
2059
|
-
await setOAuthToObject(localVarHeaderParameter, "
|
|
2121
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
2060
2122
|
|
|
2061
|
-
// authentication
|
|
2123
|
+
// authentication UserContextAuth required
|
|
2062
2124
|
// oauth required
|
|
2063
|
-
await setOAuthToObject(localVarHeaderParameter, "
|
|
2125
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
2064
2126
|
|
|
2065
2127
|
|
|
2066
2128
|
|
|
@@ -2098,13 +2160,13 @@ export const ConnectorsCCApiAxiosParamCreator = function (configuration?: Config
|
|
|
2098
2160
|
const localVarQueryParameter = {} as any;
|
|
2099
2161
|
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
2100
2162
|
|
|
2101
|
-
// authentication
|
|
2163
|
+
// authentication UserContextAuth required
|
|
2102
2164
|
// oauth required
|
|
2103
|
-
await setOAuthToObject(localVarHeaderParameter, "
|
|
2165
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
2104
2166
|
|
|
2105
|
-
// authentication
|
|
2167
|
+
// authentication UserContextAuth required
|
|
2106
2168
|
// oauth required
|
|
2107
|
-
await setOAuthToObject(localVarHeaderParameter, "
|
|
2169
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
2108
2170
|
|
|
2109
2171
|
|
|
2110
2172
|
if (file !== undefined) {
|
|
@@ -2143,13 +2205,13 @@ export const ConnectorsCCApiAxiosParamCreator = function (configuration?: Config
|
|
|
2143
2205
|
const localVarHeaderParameter = {} as any;
|
|
2144
2206
|
const localVarQueryParameter = {} as any;
|
|
2145
2207
|
|
|
2146
|
-
// authentication
|
|
2208
|
+
// authentication UserContextAuth required
|
|
2147
2209
|
// oauth required
|
|
2148
|
-
await setOAuthToObject(localVarHeaderParameter, "
|
|
2210
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
2149
2211
|
|
|
2150
|
-
// authentication
|
|
2212
|
+
// authentication UserContextAuth required
|
|
2151
2213
|
// oauth required
|
|
2152
|
-
await setOAuthToObject(localVarHeaderParameter, "
|
|
2214
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
2153
2215
|
|
|
2154
2216
|
|
|
2155
2217
|
|
|
@@ -2495,13 +2557,13 @@ export const SourcesAccountsCCApiAxiosParamCreator = function (configuration?: C
|
|
|
2495
2557
|
const localVarHeaderParameter = {} as any;
|
|
2496
2558
|
const localVarQueryParameter = {} as any;
|
|
2497
2559
|
|
|
2498
|
-
// authentication
|
|
2560
|
+
// authentication UserContextAuth required
|
|
2499
2561
|
// oauth required
|
|
2500
|
-
await setOAuthToObject(localVarHeaderParameter, "
|
|
2562
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
2501
2563
|
|
|
2502
|
-
// authentication
|
|
2564
|
+
// authentication UserContextAuth required
|
|
2503
2565
|
// oauth required
|
|
2504
|
-
await setOAuthToObject(localVarHeaderParameter, "
|
|
2566
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
2505
2567
|
|
|
2506
2568
|
|
|
2507
2569
|
|
|
@@ -2626,13 +2688,13 @@ export const SourcesAggregationCCApiAxiosParamCreator = function (configuration?
|
|
|
2626
2688
|
const localVarQueryParameter = {} as any;
|
|
2627
2689
|
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
2628
2690
|
|
|
2629
|
-
// authentication
|
|
2691
|
+
// authentication UserContextAuth required
|
|
2630
2692
|
// oauth required
|
|
2631
|
-
await setOAuthToObject(localVarHeaderParameter, "
|
|
2693
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
2632
2694
|
|
|
2633
|
-
// authentication
|
|
2695
|
+
// authentication UserContextAuth required
|
|
2634
2696
|
// oauth required
|
|
2635
|
-
await setOAuthToObject(localVarHeaderParameter, "
|
|
2697
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
2636
2698
|
|
|
2637
2699
|
if (contentType !== undefined && contentType !== null) {
|
|
2638
2700
|
localVarHeaderParameter['Content-Type'] = String(contentType);
|
|
@@ -2776,11 +2838,11 @@ export const SystemCCApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2776
2838
|
* This kicks off an identity refresh for a specified set of identity attributes. This can be a long running process. IdentityNow has pre-scheduled versions of this task at set intervals and events already, so only run this when directed by SailPoint. _Note: If the identities specified by the filter do not exist, a full identity refresh will be run. Use with caution._ Refresh Arguments: | Key | Description | |-----------------------|----------------------------------------------------| | correlateEntitlements | Analyzes entitlements, access profiles, and roles. | | promoteAttributes | Calculates identity attributes. | | refreshManagerStatus | Calculates manager correlation and manager status. | | synchronizeAttributes | Performs attribute sync provisioning. | | pruneIdentities | Removes any identities which don\'t have accounts. | | provision | Provisions any assigned roles or access profiles. |
|
|
2777
2839
|
* @summary Refresh Identities
|
|
2778
2840
|
* @param {string} [contentType]
|
|
2779
|
-
* @param {
|
|
2841
|
+
* @param {RefreshIdentitiesRequestCC} [refreshIdentitiesRequestCC]
|
|
2780
2842
|
* @param {*} [axiosOptions] Override http request option.
|
|
2781
2843
|
* @throws {RequiredError}
|
|
2782
2844
|
*/
|
|
2783
|
-
refreshIdentities: async (contentType?: string,
|
|
2845
|
+
refreshIdentities: async (contentType?: string, refreshIdentitiesRequestCC?: RefreshIdentitiesRequestCC, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2784
2846
|
const localVarPath = `/cc/api/system/refreshIdentities`;
|
|
2785
2847
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2786
2848
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -2793,13 +2855,13 @@ export const SystemCCApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2793
2855
|
const localVarHeaderParameter = {} as any;
|
|
2794
2856
|
const localVarQueryParameter = {} as any;
|
|
2795
2857
|
|
|
2796
|
-
// authentication
|
|
2858
|
+
// authentication UserContextAuth required
|
|
2797
2859
|
// oauth required
|
|
2798
|
-
await setOAuthToObject(localVarHeaderParameter, "
|
|
2860
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
2799
2861
|
|
|
2800
|
-
// authentication
|
|
2862
|
+
// authentication UserContextAuth required
|
|
2801
2863
|
// oauth required
|
|
2802
|
-
await setOAuthToObject(localVarHeaderParameter, "
|
|
2864
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
2803
2865
|
|
|
2804
2866
|
if (contentType !== undefined && contentType !== null) {
|
|
2805
2867
|
localVarHeaderParameter['Content-Type'] = String(contentType);
|
|
@@ -2812,7 +2874,7 @@ export const SystemCCApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2812
2874
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2813
2875
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2814
2876
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
2815
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
2877
|
+
localVarRequestOptions.data = serializeDataIfNeeded(refreshIdentitiesRequestCC, localVarRequestOptions, configuration)
|
|
2816
2878
|
|
|
2817
2879
|
return {
|
|
2818
2880
|
url: toPathString(localVarUrlObj),
|
|
@@ -2833,12 +2895,12 @@ export const SystemCCApiFp = function(configuration?: Configuration) {
|
|
|
2833
2895
|
* This kicks off an identity refresh for a specified set of identity attributes. This can be a long running process. IdentityNow has pre-scheduled versions of this task at set intervals and events already, so only run this when directed by SailPoint. _Note: If the identities specified by the filter do not exist, a full identity refresh will be run. Use with caution._ Refresh Arguments: | Key | Description | |-----------------------|----------------------------------------------------| | correlateEntitlements | Analyzes entitlements, access profiles, and roles. | | promoteAttributes | Calculates identity attributes. | | refreshManagerStatus | Calculates manager correlation and manager status. | | synchronizeAttributes | Performs attribute sync provisioning. | | pruneIdentities | Removes any identities which don\'t have accounts. | | provision | Provisions any assigned roles or access profiles. |
|
|
2834
2896
|
* @summary Refresh Identities
|
|
2835
2897
|
* @param {string} [contentType]
|
|
2836
|
-
* @param {
|
|
2898
|
+
* @param {RefreshIdentitiesRequestCC} [refreshIdentitiesRequestCC]
|
|
2837
2899
|
* @param {*} [axiosOptions] Override http request option.
|
|
2838
2900
|
* @throws {RequiredError}
|
|
2839
2901
|
*/
|
|
2840
|
-
async refreshIdentities(contentType?: string,
|
|
2841
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.refreshIdentities(contentType,
|
|
2902
|
+
async refreshIdentities(contentType?: string, refreshIdentitiesRequestCC?: RefreshIdentitiesRequestCC, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2903
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.refreshIdentities(contentType, refreshIdentitiesRequestCC, axiosOptions);
|
|
2842
2904
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2843
2905
|
},
|
|
2844
2906
|
}
|
|
@@ -2855,12 +2917,12 @@ export const SystemCCApiFactory = function (configuration?: Configuration, baseP
|
|
|
2855
2917
|
* This kicks off an identity refresh for a specified set of identity attributes. This can be a long running process. IdentityNow has pre-scheduled versions of this task at set intervals and events already, so only run this when directed by SailPoint. _Note: If the identities specified by the filter do not exist, a full identity refresh will be run. Use with caution._ Refresh Arguments: | Key | Description | |-----------------------|----------------------------------------------------| | correlateEntitlements | Analyzes entitlements, access profiles, and roles. | | promoteAttributes | Calculates identity attributes. | | refreshManagerStatus | Calculates manager correlation and manager status. | | synchronizeAttributes | Performs attribute sync provisioning. | | pruneIdentities | Removes any identities which don\'t have accounts. | | provision | Provisions any assigned roles or access profiles. |
|
|
2856
2918
|
* @summary Refresh Identities
|
|
2857
2919
|
* @param {string} [contentType]
|
|
2858
|
-
* @param {
|
|
2920
|
+
* @param {RefreshIdentitiesRequestCC} [refreshIdentitiesRequestCC]
|
|
2859
2921
|
* @param {*} [axiosOptions] Override http request option.
|
|
2860
2922
|
* @throws {RequiredError}
|
|
2861
2923
|
*/
|
|
2862
|
-
refreshIdentities(contentType?: string,
|
|
2863
|
-
return localVarFp.refreshIdentities(contentType,
|
|
2924
|
+
refreshIdentities(contentType?: string, refreshIdentitiesRequestCC?: RefreshIdentitiesRequestCC, axiosOptions?: any): AxiosPromise<void> {
|
|
2925
|
+
return localVarFp.refreshIdentities(contentType, refreshIdentitiesRequestCC, axiosOptions).then((request) => request(axios, basePath));
|
|
2864
2926
|
},
|
|
2865
2927
|
};
|
|
2866
2928
|
};
|
|
@@ -2880,10 +2942,10 @@ export interface SystemCCApiRefreshIdentitiesRequest {
|
|
|
2880
2942
|
|
|
2881
2943
|
/**
|
|
2882
2944
|
*
|
|
2883
|
-
* @type {
|
|
2945
|
+
* @type {RefreshIdentitiesRequestCC}
|
|
2884
2946
|
* @memberof SystemCCApiRefreshIdentities
|
|
2885
2947
|
*/
|
|
2886
|
-
readonly
|
|
2948
|
+
readonly refreshIdentitiesRequestCC?: RefreshIdentitiesRequestCC
|
|
2887
2949
|
}
|
|
2888
2950
|
|
|
2889
2951
|
/**
|
|
@@ -2902,7 +2964,7 @@ export class SystemCCApi extends BaseAPI {
|
|
|
2902
2964
|
* @memberof SystemCCApi
|
|
2903
2965
|
*/
|
|
2904
2966
|
public refreshIdentities(requestParameters: SystemCCApiRefreshIdentitiesRequest = {}, axiosOptions?: AxiosRequestConfig) {
|
|
2905
|
-
return SystemCCApiFp(this.configuration).refreshIdentities(requestParameters.contentType, requestParameters.
|
|
2967
|
+
return SystemCCApiFp(this.configuration).refreshIdentities(requestParameters.contentType, requestParameters.refreshIdentitiesRequestCC, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
2906
2968
|
}
|
|
2907
2969
|
}
|
|
2908
2970
|
|
|
@@ -2936,13 +2998,13 @@ export const UserCCApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2936
2998
|
const localVarHeaderParameter = {} as any;
|
|
2937
2999
|
const localVarQueryParameter = {} as any;
|
|
2938
3000
|
|
|
2939
|
-
// authentication
|
|
3001
|
+
// authentication UserContextAuth required
|
|
2940
3002
|
// oauth required
|
|
2941
|
-
await setOAuthToObject(localVarHeaderParameter, "
|
|
3003
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
2942
3004
|
|
|
2943
|
-
// authentication
|
|
3005
|
+
// authentication UserContextAuth required
|
|
2944
3006
|
// oauth required
|
|
2945
|
-
await setOAuthToObject(localVarHeaderParameter, "
|
|
3007
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
2946
3008
|
|
|
2947
3009
|
|
|
2948
3010
|
|
|
@@ -2975,13 +3037,13 @@ export const UserCCApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2975
3037
|
const localVarHeaderParameter = {} as any;
|
|
2976
3038
|
const localVarQueryParameter = {} as any;
|
|
2977
3039
|
|
|
2978
|
-
// authentication
|
|
3040
|
+
// authentication UserContextAuth required
|
|
2979
3041
|
// oauth required
|
|
2980
|
-
await setOAuthToObject(localVarHeaderParameter, "
|
|
3042
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
2981
3043
|
|
|
2982
|
-
// authentication
|
|
3044
|
+
// authentication UserContextAuth required
|
|
2983
3045
|
// oauth required
|
|
2984
|
-
await setOAuthToObject(localVarHeaderParameter, "
|
|
3046
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
2985
3047
|
|
|
2986
3048
|
|
|
2987
3049
|
|
package/cc/common.ts
CHANGED
|
@@ -134,8 +134,8 @@ export const toPathString = function (url: URL) {
|
|
|
134
134
|
export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {
|
|
135
135
|
return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
136
136
|
axiosRetry(globalAxios, configuration.retriesConfig)
|
|
137
|
-
axiosArgs.axiosOptions.headers['X-SailPoint-SDK'] = 'typescript-1.
|
|
138
|
-
axiosArgs.axiosOptions.headers['User-Agent'] = 'OpenAPI-Generator/1.
|
|
137
|
+
axiosArgs.axiosOptions.headers['X-SailPoint-SDK'] = 'typescript-1.2.2'
|
|
138
|
+
axiosArgs.axiosOptions.headers['User-Agent'] = 'OpenAPI-Generator/1.2.2/ts'
|
|
139
139
|
const axiosRequestArgs = {...axiosArgs.axiosOptions, url: (configuration?.basePathCC || basePath) + axiosArgs.url};
|
|
140
140
|
return axios.request<T, R>(axiosRequestArgs);
|
|
141
141
|
};
|
package/cc/package.json
CHANGED
package/configuration.ts
CHANGED