sailpoint-api-client 1.8.63 → 1.8.65
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/common.ts +2 -2
- package/beta/package.json +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/common.js +2 -2
- package/dist/v2025/common.js +2 -2
- package/dist/v2026/api.d.ts +293 -0
- package/dist/v2026/api.js +442 -0
- package/dist/v2026/api.js.map +1 -1
- package/dist/v2026/common.js +2 -2
- 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/common.ts +2 -2
- package/v2024/package.json +1 -1
- package/v2025/README.md +2 -2
- package/v2025/common.ts +2 -2
- package/v2025/package.json +1 -1
- package/v2026/README.md +2 -2
- package/v2026/api.ts +497 -0
- package/v2026/common.ts +2 -2
- package/v2026/package.json +1 -1
- package/v3/README.md +2 -2
- package/v3/common.ts +2 -2
- package/v3/package.json +1 -1
package/v2026/api.ts
CHANGED
|
@@ -49098,6 +49098,99 @@ export interface SourceCreationErrorsV2026 {
|
|
|
49098
49098
|
*/
|
|
49099
49099
|
'operation'?: string | null;
|
|
49100
49100
|
}
|
|
49101
|
+
/**
|
|
49102
|
+
* Resource definition for a source. The resource is reconstructed from source schema data (resourceId/resourceType in schema config and schema objectType as name).
|
|
49103
|
+
* @export
|
|
49104
|
+
* @interface SourceDatasetResourceV2026
|
|
49105
|
+
*/
|
|
49106
|
+
export interface SourceDatasetResourceV2026 {
|
|
49107
|
+
/**
|
|
49108
|
+
* Resource identifier from source schema config.
|
|
49109
|
+
* @type {string}
|
|
49110
|
+
* @memberof SourceDatasetResourceV2026
|
|
49111
|
+
*/
|
|
49112
|
+
'id'?: string;
|
|
49113
|
+
/**
|
|
49114
|
+
* Display name of the resource.
|
|
49115
|
+
* @type {string}
|
|
49116
|
+
* @memberof SourceDatasetResourceV2026
|
|
49117
|
+
*/
|
|
49118
|
+
'name'?: string;
|
|
49119
|
+
/**
|
|
49120
|
+
* Feature identifiers supported by this resource.
|
|
49121
|
+
* @type {Array<string>}
|
|
49122
|
+
* @memberof SourceDatasetResourceV2026
|
|
49123
|
+
*/
|
|
49124
|
+
'features'?: Array<string>;
|
|
49125
|
+
/**
|
|
49126
|
+
* Resource type from source schema config.
|
|
49127
|
+
* @type {string}
|
|
49128
|
+
* @memberof SourceDatasetResourceV2026
|
|
49129
|
+
*/
|
|
49130
|
+
'type'?: string;
|
|
49131
|
+
/**
|
|
49132
|
+
*
|
|
49133
|
+
* @type {SchemaV2026}
|
|
49134
|
+
* @memberof SourceDatasetResourceV2026
|
|
49135
|
+
*/
|
|
49136
|
+
'schema'?: SchemaV2026;
|
|
49137
|
+
}
|
|
49138
|
+
/**
|
|
49139
|
+
*
|
|
49140
|
+
* @export
|
|
49141
|
+
* @interface SourceDatasetResourcesInnerV2026
|
|
49142
|
+
*/
|
|
49143
|
+
export interface SourceDatasetResourcesInnerV2026 {
|
|
49144
|
+
/**
|
|
49145
|
+
* Resource identifier.
|
|
49146
|
+
* @type {string}
|
|
49147
|
+
* @memberof SourceDatasetResourcesInnerV2026
|
|
49148
|
+
*/
|
|
49149
|
+
'id'?: string;
|
|
49150
|
+
/**
|
|
49151
|
+
* Display name of the resource.
|
|
49152
|
+
* @type {string}
|
|
49153
|
+
* @memberof SourceDatasetResourcesInnerV2026
|
|
49154
|
+
*/
|
|
49155
|
+
'name'?: string;
|
|
49156
|
+
}
|
|
49157
|
+
/**
|
|
49158
|
+
* Dataset instance for a source. Fields are read from source-persisted dataset rows in Diana (name/description reflect the source\'s stored snapshot); aggregationEnabled is stored per source instance.
|
|
49159
|
+
* @export
|
|
49160
|
+
* @interface SourceDatasetV2026
|
|
49161
|
+
*/
|
|
49162
|
+
export interface SourceDatasetV2026 {
|
|
49163
|
+
/**
|
|
49164
|
+
* Dataset identifier.
|
|
49165
|
+
* @type {string}
|
|
49166
|
+
* @memberof SourceDatasetV2026
|
|
49167
|
+
*/
|
|
49168
|
+
'id'?: string;
|
|
49169
|
+
/**
|
|
49170
|
+
* Display name of the dataset.
|
|
49171
|
+
* @type {string}
|
|
49172
|
+
* @memberof SourceDatasetV2026
|
|
49173
|
+
*/
|
|
49174
|
+
'name'?: string;
|
|
49175
|
+
/**
|
|
49176
|
+
* Description of the dataset.
|
|
49177
|
+
* @type {string}
|
|
49178
|
+
* @memberof SourceDatasetV2026
|
|
49179
|
+
*/
|
|
49180
|
+
'description'?: string;
|
|
49181
|
+
/**
|
|
49182
|
+
* Whether aggregation is enabled for this dataset on the source.
|
|
49183
|
+
* @type {boolean}
|
|
49184
|
+
* @memberof SourceDatasetV2026
|
|
49185
|
+
*/
|
|
49186
|
+
'aggregationEnabled'?: boolean;
|
|
49187
|
+
/**
|
|
49188
|
+
* Simplified resource references associated with this dataset.
|
|
49189
|
+
* @type {Array<SourceDatasetResourcesInnerV2026>}
|
|
49190
|
+
* @memberof SourceDatasetV2026
|
|
49191
|
+
*/
|
|
49192
|
+
'resources'?: Array<SourceDatasetResourcesInnerV2026>;
|
|
49193
|
+
}
|
|
49101
49194
|
/**
|
|
49102
49195
|
* Identity who deleted the source.
|
|
49103
49196
|
* @export
|
|
@@ -139902,6 +139995,102 @@ export const SourcesV2026ApiAxiosParamCreator = function (configuration?: Config
|
|
|
139902
139995
|
|
|
139903
139996
|
|
|
139904
139997
|
|
|
139998
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
139999
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
140000
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
140001
|
+
|
|
140002
|
+
return {
|
|
140003
|
+
url: toPathString(localVarUrlObj),
|
|
140004
|
+
axiosOptions: localVarRequestOptions,
|
|
140005
|
+
};
|
|
140006
|
+
},
|
|
140007
|
+
/**
|
|
140008
|
+
* Use this API to get a dataset by id for the specified source in Identity Security Cloud (ISC).
|
|
140009
|
+
* @summary Get source dataset by id
|
|
140010
|
+
* @param {string} sourceId Source ID.
|
|
140011
|
+
* @param {string} datasetId Dataset ID.
|
|
140012
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
140013
|
+
* @throws {RequiredError}
|
|
140014
|
+
*/
|
|
140015
|
+
getSourceDataset: async (sourceId: string, datasetId: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
140016
|
+
// verify required parameter 'sourceId' is not null or undefined
|
|
140017
|
+
assertParamExists('getSourceDataset', 'sourceId', sourceId)
|
|
140018
|
+
// verify required parameter 'datasetId' is not null or undefined
|
|
140019
|
+
assertParamExists('getSourceDataset', 'datasetId', datasetId)
|
|
140020
|
+
const localVarPath = `/sources/{sourceId}/datasets/{datasetId}`
|
|
140021
|
+
.replace(`{${"sourceId"}}`, encodeURIComponent(String(sourceId)))
|
|
140022
|
+
.replace(`{${"datasetId"}}`, encodeURIComponent(String(datasetId)));
|
|
140023
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
140024
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
140025
|
+
let baseOptions;
|
|
140026
|
+
if (configuration) {
|
|
140027
|
+
baseOptions = configuration.baseOptions;
|
|
140028
|
+
}
|
|
140029
|
+
|
|
140030
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
|
|
140031
|
+
const localVarHeaderParameter = {} as any;
|
|
140032
|
+
const localVarQueryParameter = {} as any;
|
|
140033
|
+
|
|
140034
|
+
// authentication userAuth required
|
|
140035
|
+
// oauth required
|
|
140036
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
140037
|
+
|
|
140038
|
+
// authentication userAuth required
|
|
140039
|
+
// oauth required
|
|
140040
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
140041
|
+
|
|
140042
|
+
// authentication applicationAuth required
|
|
140043
|
+
// oauth required
|
|
140044
|
+
await setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)
|
|
140045
|
+
|
|
140046
|
+
|
|
140047
|
+
|
|
140048
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
140049
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
140050
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
140051
|
+
|
|
140052
|
+
return {
|
|
140053
|
+
url: toPathString(localVarUrlObj),
|
|
140054
|
+
axiosOptions: localVarRequestOptions,
|
|
140055
|
+
};
|
|
140056
|
+
},
|
|
140057
|
+
/**
|
|
140058
|
+
* Use this API to list datasets for the specified source in Identity Security Cloud (ISC).
|
|
140059
|
+
* @summary List datasets on source
|
|
140060
|
+
* @param {string} sourceId Source ID.
|
|
140061
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
140062
|
+
* @throws {RequiredError}
|
|
140063
|
+
*/
|
|
140064
|
+
getSourceDatasets: async (sourceId: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
140065
|
+
// verify required parameter 'sourceId' is not null or undefined
|
|
140066
|
+
assertParamExists('getSourceDatasets', 'sourceId', sourceId)
|
|
140067
|
+
const localVarPath = `/sources/{sourceId}/datasets`
|
|
140068
|
+
.replace(`{${"sourceId"}}`, encodeURIComponent(String(sourceId)));
|
|
140069
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
140070
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
140071
|
+
let baseOptions;
|
|
140072
|
+
if (configuration) {
|
|
140073
|
+
baseOptions = configuration.baseOptions;
|
|
140074
|
+
}
|
|
140075
|
+
|
|
140076
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
|
|
140077
|
+
const localVarHeaderParameter = {} as any;
|
|
140078
|
+
const localVarQueryParameter = {} as any;
|
|
140079
|
+
|
|
140080
|
+
// authentication userAuth required
|
|
140081
|
+
// oauth required
|
|
140082
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
140083
|
+
|
|
140084
|
+
// authentication userAuth required
|
|
140085
|
+
// oauth required
|
|
140086
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
140087
|
+
|
|
140088
|
+
// authentication applicationAuth required
|
|
140089
|
+
// oauth required
|
|
140090
|
+
await setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)
|
|
140091
|
+
|
|
140092
|
+
|
|
140093
|
+
|
|
139905
140094
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
139906
140095
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
139907
140096
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
@@ -140002,6 +140191,102 @@ export const SourcesV2026ApiAxiosParamCreator = function (configuration?: Config
|
|
|
140002
140191
|
|
|
140003
140192
|
|
|
140004
140193
|
|
|
140194
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
140195
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
140196
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
140197
|
+
|
|
140198
|
+
return {
|
|
140199
|
+
url: toPathString(localVarUrlObj),
|
|
140200
|
+
axiosOptions: localVarRequestOptions,
|
|
140201
|
+
};
|
|
140202
|
+
},
|
|
140203
|
+
/**
|
|
140204
|
+
* Use this API to get a resource by id on the specified source in Identity Security Cloud (ISC). The response includes the full CIS schema for the resource.
|
|
140205
|
+
* @summary Get source resource by id
|
|
140206
|
+
* @param {string} sourceId Source ID.
|
|
140207
|
+
* @param {string} resourceId Resource ID (CIS schema object type for the source).
|
|
140208
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
140209
|
+
* @throws {RequiredError}
|
|
140210
|
+
*/
|
|
140211
|
+
getSourceResource: async (sourceId: string, resourceId: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
140212
|
+
// verify required parameter 'sourceId' is not null or undefined
|
|
140213
|
+
assertParamExists('getSourceResource', 'sourceId', sourceId)
|
|
140214
|
+
// verify required parameter 'resourceId' is not null or undefined
|
|
140215
|
+
assertParamExists('getSourceResource', 'resourceId', resourceId)
|
|
140216
|
+
const localVarPath = `/sources/{sourceId}/resources/{resourceId}`
|
|
140217
|
+
.replace(`{${"sourceId"}}`, encodeURIComponent(String(sourceId)))
|
|
140218
|
+
.replace(`{${"resourceId"}}`, encodeURIComponent(String(resourceId)));
|
|
140219
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
140220
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
140221
|
+
let baseOptions;
|
|
140222
|
+
if (configuration) {
|
|
140223
|
+
baseOptions = configuration.baseOptions;
|
|
140224
|
+
}
|
|
140225
|
+
|
|
140226
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
|
|
140227
|
+
const localVarHeaderParameter = {} as any;
|
|
140228
|
+
const localVarQueryParameter = {} as any;
|
|
140229
|
+
|
|
140230
|
+
// authentication userAuth required
|
|
140231
|
+
// oauth required
|
|
140232
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
140233
|
+
|
|
140234
|
+
// authentication userAuth required
|
|
140235
|
+
// oauth required
|
|
140236
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
140237
|
+
|
|
140238
|
+
// authentication applicationAuth required
|
|
140239
|
+
// oauth required
|
|
140240
|
+
await setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)
|
|
140241
|
+
|
|
140242
|
+
|
|
140243
|
+
|
|
140244
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
140245
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
140246
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
140247
|
+
|
|
140248
|
+
return {
|
|
140249
|
+
url: toPathString(localVarUrlObj),
|
|
140250
|
+
axiosOptions: localVarRequestOptions,
|
|
140251
|
+
};
|
|
140252
|
+
},
|
|
140253
|
+
/**
|
|
140254
|
+
* Use this API to list resources defined on the specified source in Identity Security Cloud (ISC).
|
|
140255
|
+
* @summary List resources for a source
|
|
140256
|
+
* @param {string} sourceId Source ID.
|
|
140257
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
140258
|
+
* @throws {RequiredError}
|
|
140259
|
+
*/
|
|
140260
|
+
getSourceResources: async (sourceId: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
140261
|
+
// verify required parameter 'sourceId' is not null or undefined
|
|
140262
|
+
assertParamExists('getSourceResources', 'sourceId', sourceId)
|
|
140263
|
+
const localVarPath = `/sources/{sourceId}/resources`
|
|
140264
|
+
.replace(`{${"sourceId"}}`, encodeURIComponent(String(sourceId)));
|
|
140265
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
140266
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
140267
|
+
let baseOptions;
|
|
140268
|
+
if (configuration) {
|
|
140269
|
+
baseOptions = configuration.baseOptions;
|
|
140270
|
+
}
|
|
140271
|
+
|
|
140272
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
|
|
140273
|
+
const localVarHeaderParameter = {} as any;
|
|
140274
|
+
const localVarQueryParameter = {} as any;
|
|
140275
|
+
|
|
140276
|
+
// authentication userAuth required
|
|
140277
|
+
// oauth required
|
|
140278
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
140279
|
+
|
|
140280
|
+
// authentication userAuth required
|
|
140281
|
+
// oauth required
|
|
140282
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
140283
|
+
|
|
140284
|
+
// authentication applicationAuth required
|
|
140285
|
+
// oauth required
|
|
140286
|
+
await setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)
|
|
140287
|
+
|
|
140288
|
+
|
|
140289
|
+
|
|
140005
140290
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
140006
140291
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
140007
140292
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
@@ -142049,6 +142334,33 @@ export const SourcesV2026ApiFp = function(configuration?: Configuration) {
|
|
|
142049
142334
|
const localVarOperationServerBasePath = operationServerMap['SourcesV2026Api.getSourceConnections']?.[localVarOperationServerIndex]?.url;
|
|
142050
142335
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
142051
142336
|
},
|
|
142337
|
+
/**
|
|
142338
|
+
* Use this API to get a dataset by id for the specified source in Identity Security Cloud (ISC).
|
|
142339
|
+
* @summary Get source dataset by id
|
|
142340
|
+
* @param {string} sourceId Source ID.
|
|
142341
|
+
* @param {string} datasetId Dataset ID.
|
|
142342
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
142343
|
+
* @throws {RequiredError}
|
|
142344
|
+
*/
|
|
142345
|
+
async getSourceDataset(sourceId: string, datasetId: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SourceDatasetV2026>> {
|
|
142346
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSourceDataset(sourceId, datasetId, axiosOptions);
|
|
142347
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
142348
|
+
const localVarOperationServerBasePath = operationServerMap['SourcesV2026Api.getSourceDataset']?.[localVarOperationServerIndex]?.url;
|
|
142349
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
142350
|
+
},
|
|
142351
|
+
/**
|
|
142352
|
+
* Use this API to list datasets for the specified source in Identity Security Cloud (ISC).
|
|
142353
|
+
* @summary List datasets on source
|
|
142354
|
+
* @param {string} sourceId Source ID.
|
|
142355
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
142356
|
+
* @throws {RequiredError}
|
|
142357
|
+
*/
|
|
142358
|
+
async getSourceDatasets(sourceId: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SourceDatasetV2026>>> {
|
|
142359
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSourceDatasets(sourceId, axiosOptions);
|
|
142360
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
142361
|
+
const localVarOperationServerBasePath = operationServerMap['SourcesV2026Api.getSourceDatasets']?.[localVarOperationServerIndex]?.url;
|
|
142362
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
142363
|
+
},
|
|
142052
142364
|
/**
|
|
142053
142365
|
* This API gets the current entitlement request configuration for a source. This source-level configuration should apply for all the entitlements in the source. Access request to any entitlements in the source should follow this configuration unless a separate entitlement-level configuration is defined. - During access request, this source-level entitlement request configuration overrides the global organization-level configuration. - However, the entitlement-level configuration (if defined) overrides this source-level configuration.
|
|
142054
142366
|
* @summary Get source entitlement request configuration
|
|
@@ -142076,6 +142388,33 @@ export const SourcesV2026ApiFp = function(configuration?: Configuration) {
|
|
|
142076
142388
|
const localVarOperationServerBasePath = operationServerMap['SourcesV2026Api.getSourceHealth']?.[localVarOperationServerIndex]?.url;
|
|
142077
142389
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
142078
142390
|
},
|
|
142391
|
+
/**
|
|
142392
|
+
* Use this API to get a resource by id on the specified source in Identity Security Cloud (ISC). The response includes the full CIS schema for the resource.
|
|
142393
|
+
* @summary Get source resource by id
|
|
142394
|
+
* @param {string} sourceId Source ID.
|
|
142395
|
+
* @param {string} resourceId Resource ID (CIS schema object type for the source).
|
|
142396
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
142397
|
+
* @throws {RequiredError}
|
|
142398
|
+
*/
|
|
142399
|
+
async getSourceResource(sourceId: string, resourceId: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SourceDatasetResourceV2026>> {
|
|
142400
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSourceResource(sourceId, resourceId, axiosOptions);
|
|
142401
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
142402
|
+
const localVarOperationServerBasePath = operationServerMap['SourcesV2026Api.getSourceResource']?.[localVarOperationServerIndex]?.url;
|
|
142403
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
142404
|
+
},
|
|
142405
|
+
/**
|
|
142406
|
+
* Use this API to list resources defined on the specified source in Identity Security Cloud (ISC).
|
|
142407
|
+
* @summary List resources for a source
|
|
142408
|
+
* @param {string} sourceId Source ID.
|
|
142409
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
142410
|
+
* @throws {RequiredError}
|
|
142411
|
+
*/
|
|
142412
|
+
async getSourceResources(sourceId: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SourceDatasetResourceV2026>>> {
|
|
142413
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSourceResources(sourceId, axiosOptions);
|
|
142414
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
142415
|
+
const localVarOperationServerBasePath = operationServerMap['SourcesV2026Api.getSourceResources']?.[localVarOperationServerIndex]?.url;
|
|
142416
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
142417
|
+
},
|
|
142079
142418
|
/**
|
|
142080
142419
|
* Get the source schedule by type in Identity Security Cloud (ISC).
|
|
142081
142420
|
* @summary Get source schedule by type
|
|
@@ -142772,6 +143111,26 @@ export const SourcesV2026ApiFactory = function (configuration?: Configuration, b
|
|
|
142772
143111
|
getSourceConnections(requestParameters: SourcesV2026ApiGetSourceConnectionsRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<SourceConnectionsDtoV2026> {
|
|
142773
143112
|
return localVarFp.getSourceConnections(requestParameters.sourceId, axiosOptions).then((request) => request(axios, basePath));
|
|
142774
143113
|
},
|
|
143114
|
+
/**
|
|
143115
|
+
* Use this API to get a dataset by id for the specified source in Identity Security Cloud (ISC).
|
|
143116
|
+
* @summary Get source dataset by id
|
|
143117
|
+
* @param {SourcesV2026ApiGetSourceDatasetRequest} requestParameters Request parameters.
|
|
143118
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
143119
|
+
* @throws {RequiredError}
|
|
143120
|
+
*/
|
|
143121
|
+
getSourceDataset(requestParameters: SourcesV2026ApiGetSourceDatasetRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<SourceDatasetV2026> {
|
|
143122
|
+
return localVarFp.getSourceDataset(requestParameters.sourceId, requestParameters.datasetId, axiosOptions).then((request) => request(axios, basePath));
|
|
143123
|
+
},
|
|
143124
|
+
/**
|
|
143125
|
+
* Use this API to list datasets for the specified source in Identity Security Cloud (ISC).
|
|
143126
|
+
* @summary List datasets on source
|
|
143127
|
+
* @param {SourcesV2026ApiGetSourceDatasetsRequest} requestParameters Request parameters.
|
|
143128
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
143129
|
+
* @throws {RequiredError}
|
|
143130
|
+
*/
|
|
143131
|
+
getSourceDatasets(requestParameters: SourcesV2026ApiGetSourceDatasetsRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<SourceDatasetV2026>> {
|
|
143132
|
+
return localVarFp.getSourceDatasets(requestParameters.sourceId, axiosOptions).then((request) => request(axios, basePath));
|
|
143133
|
+
},
|
|
142775
143134
|
/**
|
|
142776
143135
|
* This API gets the current entitlement request configuration for a source. This source-level configuration should apply for all the entitlements in the source. Access request to any entitlements in the source should follow this configuration unless a separate entitlement-level configuration is defined. - During access request, this source-level entitlement request configuration overrides the global organization-level configuration. - However, the entitlement-level configuration (if defined) overrides this source-level configuration.
|
|
142777
143136
|
* @summary Get source entitlement request configuration
|
|
@@ -142792,6 +143151,26 @@ export const SourcesV2026ApiFactory = function (configuration?: Configuration, b
|
|
|
142792
143151
|
getSourceHealth(requestParameters: SourcesV2026ApiGetSourceHealthRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<SourceHealthDtoV2026> {
|
|
142793
143152
|
return localVarFp.getSourceHealth(requestParameters.sourceId, axiosOptions).then((request) => request(axios, basePath));
|
|
142794
143153
|
},
|
|
143154
|
+
/**
|
|
143155
|
+
* Use this API to get a resource by id on the specified source in Identity Security Cloud (ISC). The response includes the full CIS schema for the resource.
|
|
143156
|
+
* @summary Get source resource by id
|
|
143157
|
+
* @param {SourcesV2026ApiGetSourceResourceRequest} requestParameters Request parameters.
|
|
143158
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
143159
|
+
* @throws {RequiredError}
|
|
143160
|
+
*/
|
|
143161
|
+
getSourceResource(requestParameters: SourcesV2026ApiGetSourceResourceRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<SourceDatasetResourceV2026> {
|
|
143162
|
+
return localVarFp.getSourceResource(requestParameters.sourceId, requestParameters.resourceId, axiosOptions).then((request) => request(axios, basePath));
|
|
143163
|
+
},
|
|
143164
|
+
/**
|
|
143165
|
+
* Use this API to list resources defined on the specified source in Identity Security Cloud (ISC).
|
|
143166
|
+
* @summary List resources for a source
|
|
143167
|
+
* @param {SourcesV2026ApiGetSourceResourcesRequest} requestParameters Request parameters.
|
|
143168
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
143169
|
+
* @throws {RequiredError}
|
|
143170
|
+
*/
|
|
143171
|
+
getSourceResources(requestParameters: SourcesV2026ApiGetSourceResourcesRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<SourceDatasetResourceV2026>> {
|
|
143172
|
+
return localVarFp.getSourceResources(requestParameters.sourceId, axiosOptions).then((request) => request(axios, basePath));
|
|
143173
|
+
},
|
|
142795
143174
|
/**
|
|
142796
143175
|
* Get the source schedule by type in Identity Security Cloud (ISC).
|
|
142797
143176
|
* @summary Get source schedule by type
|
|
@@ -143496,6 +143875,41 @@ export interface SourcesV2026ApiGetSourceConnectionsRequest {
|
|
|
143496
143875
|
readonly sourceId: string
|
|
143497
143876
|
}
|
|
143498
143877
|
|
|
143878
|
+
/**
|
|
143879
|
+
* Request parameters for getSourceDataset operation in SourcesV2026Api.
|
|
143880
|
+
* @export
|
|
143881
|
+
* @interface SourcesV2026ApiGetSourceDatasetRequest
|
|
143882
|
+
*/
|
|
143883
|
+
export interface SourcesV2026ApiGetSourceDatasetRequest {
|
|
143884
|
+
/**
|
|
143885
|
+
* Source ID.
|
|
143886
|
+
* @type {string}
|
|
143887
|
+
* @memberof SourcesV2026ApiGetSourceDataset
|
|
143888
|
+
*/
|
|
143889
|
+
readonly sourceId: string
|
|
143890
|
+
|
|
143891
|
+
/**
|
|
143892
|
+
* Dataset ID.
|
|
143893
|
+
* @type {string}
|
|
143894
|
+
* @memberof SourcesV2026ApiGetSourceDataset
|
|
143895
|
+
*/
|
|
143896
|
+
readonly datasetId: string
|
|
143897
|
+
}
|
|
143898
|
+
|
|
143899
|
+
/**
|
|
143900
|
+
* Request parameters for getSourceDatasets operation in SourcesV2026Api.
|
|
143901
|
+
* @export
|
|
143902
|
+
* @interface SourcesV2026ApiGetSourceDatasetsRequest
|
|
143903
|
+
*/
|
|
143904
|
+
export interface SourcesV2026ApiGetSourceDatasetsRequest {
|
|
143905
|
+
/**
|
|
143906
|
+
* Source ID.
|
|
143907
|
+
* @type {string}
|
|
143908
|
+
* @memberof SourcesV2026ApiGetSourceDatasets
|
|
143909
|
+
*/
|
|
143910
|
+
readonly sourceId: string
|
|
143911
|
+
}
|
|
143912
|
+
|
|
143499
143913
|
/**
|
|
143500
143914
|
* Request parameters for getSourceEntitlementRequestConfig operation in SourcesV2026Api.
|
|
143501
143915
|
* @export
|
|
@@ -143531,6 +143945,41 @@ export interface SourcesV2026ApiGetSourceHealthRequest {
|
|
|
143531
143945
|
readonly sourceId: string
|
|
143532
143946
|
}
|
|
143533
143947
|
|
|
143948
|
+
/**
|
|
143949
|
+
* Request parameters for getSourceResource operation in SourcesV2026Api.
|
|
143950
|
+
* @export
|
|
143951
|
+
* @interface SourcesV2026ApiGetSourceResourceRequest
|
|
143952
|
+
*/
|
|
143953
|
+
export interface SourcesV2026ApiGetSourceResourceRequest {
|
|
143954
|
+
/**
|
|
143955
|
+
* Source ID.
|
|
143956
|
+
* @type {string}
|
|
143957
|
+
* @memberof SourcesV2026ApiGetSourceResource
|
|
143958
|
+
*/
|
|
143959
|
+
readonly sourceId: string
|
|
143960
|
+
|
|
143961
|
+
/**
|
|
143962
|
+
* Resource ID (CIS schema object type for the source).
|
|
143963
|
+
* @type {string}
|
|
143964
|
+
* @memberof SourcesV2026ApiGetSourceResource
|
|
143965
|
+
*/
|
|
143966
|
+
readonly resourceId: string
|
|
143967
|
+
}
|
|
143968
|
+
|
|
143969
|
+
/**
|
|
143970
|
+
* Request parameters for getSourceResources operation in SourcesV2026Api.
|
|
143971
|
+
* @export
|
|
143972
|
+
* @interface SourcesV2026ApiGetSourceResourcesRequest
|
|
143973
|
+
*/
|
|
143974
|
+
export interface SourcesV2026ApiGetSourceResourcesRequest {
|
|
143975
|
+
/**
|
|
143976
|
+
* Source ID.
|
|
143977
|
+
* @type {string}
|
|
143978
|
+
* @memberof SourcesV2026ApiGetSourceResources
|
|
143979
|
+
*/
|
|
143980
|
+
readonly sourceId: string
|
|
143981
|
+
}
|
|
143982
|
+
|
|
143534
143983
|
/**
|
|
143535
143984
|
* Request parameters for getSourceSchedule operation in SourcesV2026Api.
|
|
143536
143985
|
* @export
|
|
@@ -144581,6 +145030,30 @@ export class SourcesV2026Api extends BaseAPI {
|
|
|
144581
145030
|
return SourcesV2026ApiFp(this.configuration).getSourceConnections(requestParameters.sourceId, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
144582
145031
|
}
|
|
144583
145032
|
|
|
145033
|
+
/**
|
|
145034
|
+
* Use this API to get a dataset by id for the specified source in Identity Security Cloud (ISC).
|
|
145035
|
+
* @summary Get source dataset by id
|
|
145036
|
+
* @param {SourcesV2026ApiGetSourceDatasetRequest} requestParameters Request parameters.
|
|
145037
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
145038
|
+
* @throws {RequiredError}
|
|
145039
|
+
* @memberof SourcesV2026Api
|
|
145040
|
+
*/
|
|
145041
|
+
public getSourceDataset(requestParameters: SourcesV2026ApiGetSourceDatasetRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
145042
|
+
return SourcesV2026ApiFp(this.configuration).getSourceDataset(requestParameters.sourceId, requestParameters.datasetId, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
145043
|
+
}
|
|
145044
|
+
|
|
145045
|
+
/**
|
|
145046
|
+
* Use this API to list datasets for the specified source in Identity Security Cloud (ISC).
|
|
145047
|
+
* @summary List datasets on source
|
|
145048
|
+
* @param {SourcesV2026ApiGetSourceDatasetsRequest} requestParameters Request parameters.
|
|
145049
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
145050
|
+
* @throws {RequiredError}
|
|
145051
|
+
* @memberof SourcesV2026Api
|
|
145052
|
+
*/
|
|
145053
|
+
public getSourceDatasets(requestParameters: SourcesV2026ApiGetSourceDatasetsRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
145054
|
+
return SourcesV2026ApiFp(this.configuration).getSourceDatasets(requestParameters.sourceId, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
145055
|
+
}
|
|
145056
|
+
|
|
144584
145057
|
/**
|
|
144585
145058
|
* This API gets the current entitlement request configuration for a source. This source-level configuration should apply for all the entitlements in the source. Access request to any entitlements in the source should follow this configuration unless a separate entitlement-level configuration is defined. - During access request, this source-level entitlement request configuration overrides the global organization-level configuration. - However, the entitlement-level configuration (if defined) overrides this source-level configuration.
|
|
144586
145059
|
* @summary Get source entitlement request configuration
|
|
@@ -144605,6 +145078,30 @@ export class SourcesV2026Api extends BaseAPI {
|
|
|
144605
145078
|
return SourcesV2026ApiFp(this.configuration).getSourceHealth(requestParameters.sourceId, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
144606
145079
|
}
|
|
144607
145080
|
|
|
145081
|
+
/**
|
|
145082
|
+
* Use this API to get a resource by id on the specified source in Identity Security Cloud (ISC). The response includes the full CIS schema for the resource.
|
|
145083
|
+
* @summary Get source resource by id
|
|
145084
|
+
* @param {SourcesV2026ApiGetSourceResourceRequest} requestParameters Request parameters.
|
|
145085
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
145086
|
+
* @throws {RequiredError}
|
|
145087
|
+
* @memberof SourcesV2026Api
|
|
145088
|
+
*/
|
|
145089
|
+
public getSourceResource(requestParameters: SourcesV2026ApiGetSourceResourceRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
145090
|
+
return SourcesV2026ApiFp(this.configuration).getSourceResource(requestParameters.sourceId, requestParameters.resourceId, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
145091
|
+
}
|
|
145092
|
+
|
|
145093
|
+
/**
|
|
145094
|
+
* Use this API to list resources defined on the specified source in Identity Security Cloud (ISC).
|
|
145095
|
+
* @summary List resources for a source
|
|
145096
|
+
* @param {SourcesV2026ApiGetSourceResourcesRequest} requestParameters Request parameters.
|
|
145097
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
145098
|
+
* @throws {RequiredError}
|
|
145099
|
+
* @memberof SourcesV2026Api
|
|
145100
|
+
*/
|
|
145101
|
+
public getSourceResources(requestParameters: SourcesV2026ApiGetSourceResourcesRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
145102
|
+
return SourcesV2026ApiFp(this.configuration).getSourceResources(requestParameters.sourceId, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
145103
|
+
}
|
|
145104
|
+
|
|
144608
145105
|
/**
|
|
144609
145106
|
* Get the source schedule by type in Identity Security Cloud (ISC).
|
|
144610
145107
|
* @summary Get source schedule by type
|
package/v2026/common.ts
CHANGED
|
@@ -146,14 +146,14 @@ export const toPathString = function (url: URL) {
|
|
|
146
146
|
export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {
|
|
147
147
|
return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
148
148
|
axiosRetry(axios, configuration.retriesConfig)
|
|
149
|
-
let userAgent = `SailPoint-SDK-TypeScript/1.8.
|
|
149
|
+
let userAgent = `SailPoint-SDK-TypeScript/1.8.65`;
|
|
150
150
|
if (configuration?.consumerIdentifier && configuration?.consumerVersion) {
|
|
151
151
|
userAgent += ` (${configuration.consumerIdentifier}/${configuration.consumerVersion})`;
|
|
152
152
|
}
|
|
153
153
|
userAgent += ` (${process.platform}; ${process.arch}) Node/${process.versions.node} (openapi-generator/7.12.0)`;
|
|
154
154
|
const headers = {
|
|
155
155
|
...axiosArgs.axiosOptions.headers,
|
|
156
|
-
...{'X-SailPoint-SDK':'typescript-1.8.
|
|
156
|
+
...{'X-SailPoint-SDK':'typescript-1.8.65'},
|
|
157
157
|
...{'User-Agent': userAgent},
|
|
158
158
|
}
|
|
159
159
|
|
package/v2026/package.json
CHANGED
package/v3/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## sailpoint-sdk@1.8.
|
|
1
|
+
## sailpoint-sdk@1.8.65
|
|
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.8.
|
|
39
|
+
npm install sailpoint-sdk@1.8.65 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/v3/common.ts
CHANGED
|
@@ -146,14 +146,14 @@ export const toPathString = function (url: URL) {
|
|
|
146
146
|
export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {
|
|
147
147
|
return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
148
148
|
axiosRetry(axios, configuration.retriesConfig)
|
|
149
|
-
let userAgent = `SailPoint-SDK-TypeScript/1.8.
|
|
149
|
+
let userAgent = `SailPoint-SDK-TypeScript/1.8.65`;
|
|
150
150
|
if (configuration?.consumerIdentifier && configuration?.consumerVersion) {
|
|
151
151
|
userAgent += ` (${configuration.consumerIdentifier}/${configuration.consumerVersion})`;
|
|
152
152
|
}
|
|
153
153
|
userAgent += ` (${process.platform}; ${process.arch}) Node/${process.versions.node} (openapi-generator/7.12.0)`;
|
|
154
154
|
const headers = {
|
|
155
155
|
...axiosArgs.axiosOptions.headers,
|
|
156
|
-
...{'X-SailPoint-SDK':'typescript-1.8.
|
|
156
|
+
...{'X-SailPoint-SDK':'typescript-1.8.65'},
|
|
157
157
|
...{'User-Agent': userAgent},
|
|
158
158
|
}
|
|
159
159
|
|