sailpoint-api-client 1.6.7 → 1.6.9

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.
Files changed (68) hide show
  1. package/beta/README.md +2 -2
  2. package/beta/api.ts +87 -577
  3. package/beta/common.ts +2 -2
  4. package/beta/package.json +1 -1
  5. package/dist/beta/api.d.ts +81 -452
  6. package/dist/beta/api.js +30 -300
  7. package/dist/beta/api.js.map +1 -1
  8. package/dist/beta/common.js +1 -1
  9. package/dist/generic/api.d.ts +386 -0
  10. package/dist/generic/api.js +689 -0
  11. package/dist/generic/api.js.map +1 -0
  12. package/dist/generic/base.d.ts +66 -0
  13. package/dist/generic/base.js +89 -0
  14. package/dist/generic/base.js.map +1 -0
  15. package/dist/generic/common.d.ts +65 -0
  16. package/dist/generic/common.js +260 -0
  17. package/dist/generic/common.js.map +1 -0
  18. package/dist/generic/configuration.d.ts +91 -0
  19. package/dist/generic/configuration.js +46 -0
  20. package/dist/generic/configuration.js.map +1 -0
  21. package/dist/generic/index.d.ts +13 -0
  22. package/dist/generic/index.js +32 -0
  23. package/dist/generic/index.js.map +1 -0
  24. package/dist/index.d.ts +5 -4
  25. package/dist/index.js +1 -0
  26. package/dist/index.js.map +1 -1
  27. package/dist/paginator.d.ts +3 -1
  28. package/dist/paginator.js +146 -0
  29. package/dist/paginator.js.map +1 -1
  30. package/dist/v2024/api.d.ts +1838 -575
  31. package/dist/v2024/api.js +1894 -593
  32. package/dist/v2024/api.js.map +1 -1
  33. package/dist/v2024/common.js +1 -1
  34. package/dist/v2025/api.d.ts +4368 -679
  35. package/dist/v2025/api.js +3866 -904
  36. package/dist/v2025/api.js.map +1 -1
  37. package/dist/v2025/common.js +1 -1
  38. package/dist/v3/api.d.ts +45 -83
  39. package/dist/v3/api.js +31 -30
  40. package/dist/v3/api.js.map +1 -1
  41. package/dist/v3/common.js +1 -1
  42. package/generic/.openapi-generator/FILES +11 -0
  43. package/generic/.openapi-generator/VERSION +1 -0
  44. package/generic/.openapi-generator-ignore +23 -0
  45. package/generic/README.md +46 -0
  46. package/generic/api.ts +681 -0
  47. package/generic/base.ts +86 -0
  48. package/generic/common.ts +159 -0
  49. package/generic/configuration.ts +110 -0
  50. package/generic/git_push.sh +57 -0
  51. package/generic/index.ts +18 -0
  52. package/generic/package.json +34 -0
  53. package/generic/tsconfig.json +21 -0
  54. package/index.ts +9 -7
  55. package/package.json +1 -1
  56. package/paginator.ts +137 -11
  57. package/v2024/README.md +2 -2
  58. package/v2024/api.ts +3049 -1208
  59. package/v2024/common.ts +2 -2
  60. package/v2024/package.json +1 -1
  61. package/v2025/README.md +2 -2
  62. package/v2025/api.ts +7717 -2573
  63. package/v2025/common.ts +2 -2
  64. package/v2025/package.json +1 -1
  65. package/v3/README.md +2 -2
  66. package/v3/api.ts +61 -97
  67. package/v3/common.ts +2 -2
  68. package/v3/package.json +1 -1
package/generic/api.ts ADDED
@@ -0,0 +1,681 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Generic Identity Security Cloud V2025 API
5
+ * Generic API specification for the Identity Security Cloud platform
6
+ *
7
+ * The version of the OpenAPI document: v2025
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import type { Configuration } from '../configuration';
17
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
18
+ import globalAxios from 'axios';
19
+ // Some imports not used depending on template conditions
20
+ // @ts-ignore
21
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
22
+ import type { RequestArgs } from './base';
23
+ // @ts-ignore
24
+ import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
25
+
26
+ /**
27
+ * @type GenericResponse
28
+ * @export
29
+ */
30
+ export type GenericResponse = Array<{ [key: string]: any; }> | { [key: string]: any; };
31
+
32
+
33
+ /**
34
+ * DefaultApi - axios parameter creator
35
+ * @export
36
+ */
37
+ export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {
38
+ return {
39
+ /**
40
+ *
41
+ * @summary Generic DELETE request
42
+ * @param {string} path
43
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
44
+ * @param {*} [axiosOptions] Override http request option.
45
+ * @throws {RequiredError}
46
+ */
47
+ genericDelete: async (path: string, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
48
+ // verify required parameter 'path' is not null or undefined
49
+ assertParamExists('genericDelete', 'path', path)
50
+ if (xSailPointExperimental === undefined) {
51
+ xSailPointExperimental = 'true';
52
+ }
53
+
54
+ const localVarPath = `/{path}`
55
+ .replace(`{${"path"}}`, encodeURIComponent(String(path)));
56
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
57
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
58
+ let baseOptions;
59
+ if (configuration) {
60
+ baseOptions = configuration.baseOptions;
61
+ }
62
+
63
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...axiosOptions};
64
+ const localVarHeaderParameter = {} as any;
65
+ const localVarQueryParameter = {} as any;
66
+
67
+ // authentication userAuth required
68
+ // oauth required
69
+ await setOAuthToObject(localVarHeaderParameter, "userAuth", ["sp:scopes:all"], configuration)
70
+
71
+ // authentication userAuth required
72
+ // oauth required
73
+ await setOAuthToObject(localVarHeaderParameter, "userAuth", ["sp:scopes:all"], configuration)
74
+
75
+
76
+
77
+ if (xSailPointExperimental != null) {
78
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
79
+ }
80
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
81
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
82
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
83
+
84
+ return {
85
+ url: toPathString(localVarUrlObj),
86
+ axiosOptions: localVarRequestOptions,
87
+ };
88
+ },
89
+ /**
90
+ *
91
+ * @summary Generic GET request
92
+ * @param {string} path
93
+ * @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
94
+ * @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count&#x3D;true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
95
+ * @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
96
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
97
+ * @param {*} [axiosOptions] Override http request option.
98
+ * @throws {RequiredError}
99
+ */
100
+ genericGet: async (path: string, limit?: number, count?: boolean, offset?: number, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
101
+ // verify required parameter 'path' is not null or undefined
102
+ assertParamExists('genericGet', 'path', path)
103
+ if (xSailPointExperimental === undefined) {
104
+ xSailPointExperimental = 'true';
105
+ }
106
+
107
+ const localVarPath = `/{path}`
108
+ .replace(`{${"path"}}`, encodeURIComponent(String(path)));
109
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
110
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
111
+ let baseOptions;
112
+ if (configuration) {
113
+ baseOptions = configuration.baseOptions;
114
+ }
115
+
116
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
117
+ const localVarHeaderParameter = {} as any;
118
+ const localVarQueryParameter = {} as any;
119
+
120
+ // authentication userAuth required
121
+ // oauth required
122
+ await setOAuthToObject(localVarHeaderParameter, "userAuth", ["sp:scopes:all"], configuration)
123
+
124
+ // authentication userAuth required
125
+ // oauth required
126
+ await setOAuthToObject(localVarHeaderParameter, "userAuth", ["sp:scopes:all"], configuration)
127
+
128
+ if (limit !== undefined) {
129
+ localVarQueryParameter['limit'] = limit;
130
+ }
131
+
132
+ if (count !== undefined) {
133
+ localVarQueryParameter['count'] = count;
134
+ }
135
+
136
+ if (offset !== undefined) {
137
+ localVarQueryParameter['offset'] = offset;
138
+ }
139
+
140
+
141
+
142
+ if (xSailPointExperimental != null) {
143
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
144
+ }
145
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
146
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
147
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
148
+
149
+ return {
150
+ url: toPathString(localVarUrlObj),
151
+ axiosOptions: localVarRequestOptions,
152
+ };
153
+ },
154
+ /**
155
+ *
156
+ * @summary Generic PATCH request
157
+ * @param {string} path
158
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
159
+ * @param {{ [key: string]: any; }} [requestBody]
160
+ * @param {*} [axiosOptions] Override http request option.
161
+ * @throws {RequiredError}
162
+ */
163
+ genericPatch: async (path: string, xSailPointExperimental?: string, requestBody?: { [key: string]: any; }, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
164
+ // verify required parameter 'path' is not null or undefined
165
+ assertParamExists('genericPatch', 'path', path)
166
+ if (xSailPointExperimental === undefined) {
167
+ xSailPointExperimental = 'true';
168
+ }
169
+
170
+ const localVarPath = `/{path}`
171
+ .replace(`{${"path"}}`, encodeURIComponent(String(path)));
172
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
173
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
174
+ let baseOptions;
175
+ if (configuration) {
176
+ baseOptions = configuration.baseOptions;
177
+ }
178
+
179
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...axiosOptions};
180
+ const localVarHeaderParameter = {} as any;
181
+ const localVarQueryParameter = {} as any;
182
+
183
+ // authentication userAuth required
184
+ // oauth required
185
+ await setOAuthToObject(localVarHeaderParameter, "userAuth", ["sp:scopes:all"], configuration)
186
+
187
+ // authentication userAuth required
188
+ // oauth required
189
+ await setOAuthToObject(localVarHeaderParameter, "userAuth", ["sp:scopes:all"], configuration)
190
+
191
+
192
+
193
+ localVarHeaderParameter['Content-Type'] = 'application/json';
194
+
195
+ if (xSailPointExperimental != null) {
196
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
197
+ }
198
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
199
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
200
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
201
+ localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
202
+
203
+ return {
204
+ url: toPathString(localVarUrlObj),
205
+ axiosOptions: localVarRequestOptions,
206
+ };
207
+ },
208
+ /**
209
+ *
210
+ * @summary Generic POST request
211
+ * @param {string} path
212
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
213
+ * @param {{ [key: string]: any; }} [requestBody]
214
+ * @param {*} [axiosOptions] Override http request option.
215
+ * @throws {RequiredError}
216
+ */
217
+ genericPost: async (path: string, xSailPointExperimental?: string, requestBody?: { [key: string]: any; }, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
218
+ // verify required parameter 'path' is not null or undefined
219
+ assertParamExists('genericPost', 'path', path)
220
+ if (xSailPointExperimental === undefined) {
221
+ xSailPointExperimental = 'true';
222
+ }
223
+
224
+ const localVarPath = `/{path}`
225
+ .replace(`{${"path"}}`, encodeURIComponent(String(path)));
226
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
227
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
228
+ let baseOptions;
229
+ if (configuration) {
230
+ baseOptions = configuration.baseOptions;
231
+ }
232
+
233
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
234
+ const localVarHeaderParameter = {} as any;
235
+ const localVarQueryParameter = {} as any;
236
+
237
+ // authentication userAuth required
238
+ // oauth required
239
+ await setOAuthToObject(localVarHeaderParameter, "userAuth", ["sp:scopes:all"], configuration)
240
+
241
+ // authentication userAuth required
242
+ // oauth required
243
+ await setOAuthToObject(localVarHeaderParameter, "userAuth", ["sp:scopes:all"], configuration)
244
+
245
+
246
+
247
+ localVarHeaderParameter['Content-Type'] = 'application/json';
248
+
249
+ if (xSailPointExperimental != null) {
250
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
251
+ }
252
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
253
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
254
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
255
+ localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
256
+
257
+ return {
258
+ url: toPathString(localVarUrlObj),
259
+ axiosOptions: localVarRequestOptions,
260
+ };
261
+ },
262
+ /**
263
+ *
264
+ * @summary Generic PUT request
265
+ * @param {string} path
266
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
267
+ * @param {{ [key: string]: any; }} [requestBody]
268
+ * @param {*} [axiosOptions] Override http request option.
269
+ * @throws {RequiredError}
270
+ */
271
+ genericPut: async (path: string, xSailPointExperimental?: string, requestBody?: { [key: string]: any; }, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
272
+ // verify required parameter 'path' is not null or undefined
273
+ assertParamExists('genericPut', 'path', path)
274
+ if (xSailPointExperimental === undefined) {
275
+ xSailPointExperimental = 'true';
276
+ }
277
+
278
+ const localVarPath = `/{path}`
279
+ .replace(`{${"path"}}`, encodeURIComponent(String(path)));
280
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
281
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
282
+ let baseOptions;
283
+ if (configuration) {
284
+ baseOptions = configuration.baseOptions;
285
+ }
286
+
287
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...axiosOptions};
288
+ const localVarHeaderParameter = {} as any;
289
+ const localVarQueryParameter = {} as any;
290
+
291
+ // authentication userAuth required
292
+ // oauth required
293
+ await setOAuthToObject(localVarHeaderParameter, "userAuth", ["sp:scopes:all"], configuration)
294
+
295
+ // authentication userAuth required
296
+ // oauth required
297
+ await setOAuthToObject(localVarHeaderParameter, "userAuth", ["sp:scopes:all"], configuration)
298
+
299
+
300
+
301
+ localVarHeaderParameter['Content-Type'] = 'application/json';
302
+
303
+ if (xSailPointExperimental != null) {
304
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
305
+ }
306
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
307
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
308
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
309
+ localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
310
+
311
+ return {
312
+ url: toPathString(localVarUrlObj),
313
+ axiosOptions: localVarRequestOptions,
314
+ };
315
+ },
316
+ }
317
+ };
318
+
319
+ /**
320
+ * DefaultApi - functional programming interface
321
+ * @export
322
+ */
323
+ export const DefaultApiFp = function(configuration?: Configuration) {
324
+ const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
325
+ return {
326
+ /**
327
+ *
328
+ * @summary Generic DELETE request
329
+ * @param {string} path
330
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
331
+ * @param {*} [axiosOptions] Override http request option.
332
+ * @throws {RequiredError}
333
+ */
334
+ async genericDelete(path: string, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GenericResponse>> {
335
+ const localVarAxiosArgs = await localVarAxiosParamCreator.genericDelete(path, xSailPointExperimental, axiosOptions);
336
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
337
+ const localVarOperationServerBasePath = operationServerMap['DefaultApi.genericDelete']?.[localVarOperationServerIndex]?.url;
338
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
339
+ },
340
+ /**
341
+ *
342
+ * @summary Generic GET request
343
+ * @param {string} path
344
+ * @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
345
+ * @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count&#x3D;true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
346
+ * @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
347
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
348
+ * @param {*} [axiosOptions] Override http request option.
349
+ * @throws {RequiredError}
350
+ */
351
+ async genericGet(path: string, limit?: number, count?: boolean, offset?: number, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GenericResponse>> {
352
+ const localVarAxiosArgs = await localVarAxiosParamCreator.genericGet(path, limit, count, offset, xSailPointExperimental, axiosOptions);
353
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
354
+ const localVarOperationServerBasePath = operationServerMap['DefaultApi.genericGet']?.[localVarOperationServerIndex]?.url;
355
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
356
+ },
357
+ /**
358
+ *
359
+ * @summary Generic PATCH request
360
+ * @param {string} path
361
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
362
+ * @param {{ [key: string]: any; }} [requestBody]
363
+ * @param {*} [axiosOptions] Override http request option.
364
+ * @throws {RequiredError}
365
+ */
366
+ async genericPatch(path: string, xSailPointExperimental?: string, requestBody?: { [key: string]: any; }, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GenericResponse>> {
367
+ const localVarAxiosArgs = await localVarAxiosParamCreator.genericPatch(path, xSailPointExperimental, requestBody, axiosOptions);
368
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
369
+ const localVarOperationServerBasePath = operationServerMap['DefaultApi.genericPatch']?.[localVarOperationServerIndex]?.url;
370
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
371
+ },
372
+ /**
373
+ *
374
+ * @summary Generic POST request
375
+ * @param {string} path
376
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
377
+ * @param {{ [key: string]: any; }} [requestBody]
378
+ * @param {*} [axiosOptions] Override http request option.
379
+ * @throws {RequiredError}
380
+ */
381
+ async genericPost(path: string, xSailPointExperimental?: string, requestBody?: { [key: string]: any; }, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GenericResponse>> {
382
+ const localVarAxiosArgs = await localVarAxiosParamCreator.genericPost(path, xSailPointExperimental, requestBody, axiosOptions);
383
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
384
+ const localVarOperationServerBasePath = operationServerMap['DefaultApi.genericPost']?.[localVarOperationServerIndex]?.url;
385
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
386
+ },
387
+ /**
388
+ *
389
+ * @summary Generic PUT request
390
+ * @param {string} path
391
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
392
+ * @param {{ [key: string]: any; }} [requestBody]
393
+ * @param {*} [axiosOptions] Override http request option.
394
+ * @throws {RequiredError}
395
+ */
396
+ async genericPut(path: string, xSailPointExperimental?: string, requestBody?: { [key: string]: any; }, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GenericResponse>> {
397
+ const localVarAxiosArgs = await localVarAxiosParamCreator.genericPut(path, xSailPointExperimental, requestBody, axiosOptions);
398
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
399
+ const localVarOperationServerBasePath = operationServerMap['DefaultApi.genericPut']?.[localVarOperationServerIndex]?.url;
400
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
401
+ },
402
+ }
403
+ };
404
+
405
+ /**
406
+ * DefaultApi - factory interface
407
+ * @export
408
+ */
409
+ export const DefaultApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
410
+ const localVarFp = DefaultApiFp(configuration)
411
+ return {
412
+ /**
413
+ *
414
+ * @summary Generic DELETE request
415
+ * @param {DefaultApiGenericDeleteRequest} requestParameters Request parameters.
416
+ * @param {*} [axiosOptions] Override http request option.
417
+ * @throws {RequiredError}
418
+ */
419
+ genericDelete(requestParameters: DefaultApiGenericDeleteRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<GenericResponse> {
420
+ return localVarFp.genericDelete(requestParameters.path, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));
421
+ },
422
+ /**
423
+ *
424
+ * @summary Generic GET request
425
+ * @param {DefaultApiGenericGetRequest} requestParameters Request parameters.
426
+ * @param {*} [axiosOptions] Override http request option.
427
+ * @throws {RequiredError}
428
+ */
429
+ genericGet(requestParameters: DefaultApiGenericGetRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<GenericResponse> {
430
+ return localVarFp.genericGet(requestParameters.path, requestParameters.limit, requestParameters.count, requestParameters.offset, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));
431
+ },
432
+ /**
433
+ *
434
+ * @summary Generic PATCH request
435
+ * @param {DefaultApiGenericPatchRequest} requestParameters Request parameters.
436
+ * @param {*} [axiosOptions] Override http request option.
437
+ * @throws {RequiredError}
438
+ */
439
+ genericPatch(requestParameters: DefaultApiGenericPatchRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<GenericResponse> {
440
+ return localVarFp.genericPatch(requestParameters.path, requestParameters.xSailPointExperimental, requestParameters.requestBody, axiosOptions).then((request) => request(axios, basePath));
441
+ },
442
+ /**
443
+ *
444
+ * @summary Generic POST request
445
+ * @param {DefaultApiGenericPostRequest} requestParameters Request parameters.
446
+ * @param {*} [axiosOptions] Override http request option.
447
+ * @throws {RequiredError}
448
+ */
449
+ genericPost(requestParameters: DefaultApiGenericPostRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<GenericResponse> {
450
+ return localVarFp.genericPost(requestParameters.path, requestParameters.xSailPointExperimental, requestParameters.requestBody, axiosOptions).then((request) => request(axios, basePath));
451
+ },
452
+ /**
453
+ *
454
+ * @summary Generic PUT request
455
+ * @param {DefaultApiGenericPutRequest} requestParameters Request parameters.
456
+ * @param {*} [axiosOptions] Override http request option.
457
+ * @throws {RequiredError}
458
+ */
459
+ genericPut(requestParameters: DefaultApiGenericPutRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<GenericResponse> {
460
+ return localVarFp.genericPut(requestParameters.path, requestParameters.xSailPointExperimental, requestParameters.requestBody, axiosOptions).then((request) => request(axios, basePath));
461
+ },
462
+ };
463
+ };
464
+
465
+ /**
466
+ * Request parameters for genericDelete operation in DefaultApi.
467
+ * @export
468
+ * @interface DefaultApiGenericDeleteRequest
469
+ */
470
+ export interface DefaultApiGenericDeleteRequest {
471
+ /**
472
+ *
473
+ * @type {string}
474
+ * @memberof DefaultApiGenericDelete
475
+ */
476
+ readonly path: string
477
+
478
+ /**
479
+ * Use this header to enable this experimental API.
480
+ * @type {string}
481
+ * @memberof DefaultApiGenericDelete
482
+ */
483
+ readonly xSailPointExperimental?: string
484
+ }
485
+
486
+ /**
487
+ * Request parameters for genericGet operation in DefaultApi.
488
+ * @export
489
+ * @interface DefaultApiGenericGetRequest
490
+ */
491
+ export interface DefaultApiGenericGetRequest {
492
+ /**
493
+ *
494
+ * @type {string}
495
+ * @memberof DefaultApiGenericGet
496
+ */
497
+ readonly path: string
498
+
499
+ /**
500
+ * Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
501
+ * @type {number}
502
+ * @memberof DefaultApiGenericGet
503
+ */
504
+ readonly limit?: number
505
+
506
+ /**
507
+ * If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count&#x3D;true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
508
+ * @type {boolean}
509
+ * @memberof DefaultApiGenericGet
510
+ */
511
+ readonly count?: boolean
512
+
513
+ /**
514
+ * Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
515
+ * @type {number}
516
+ * @memberof DefaultApiGenericGet
517
+ */
518
+ readonly offset?: number
519
+
520
+ /**
521
+ * Use this header to enable this experimental API.
522
+ * @type {string}
523
+ * @memberof DefaultApiGenericGet
524
+ */
525
+ readonly xSailPointExperimental?: string
526
+ }
527
+
528
+ /**
529
+ * Request parameters for genericPatch operation in DefaultApi.
530
+ * @export
531
+ * @interface DefaultApiGenericPatchRequest
532
+ */
533
+ export interface DefaultApiGenericPatchRequest {
534
+ /**
535
+ *
536
+ * @type {string}
537
+ * @memberof DefaultApiGenericPatch
538
+ */
539
+ readonly path: string
540
+
541
+ /**
542
+ * Use this header to enable this experimental API.
543
+ * @type {string}
544
+ * @memberof DefaultApiGenericPatch
545
+ */
546
+ readonly xSailPointExperimental?: string
547
+
548
+ /**
549
+ *
550
+ * @type {{ [key: string]: any; }}
551
+ * @memberof DefaultApiGenericPatch
552
+ */
553
+ readonly requestBody?: { [key: string]: any; }
554
+ }
555
+
556
+ /**
557
+ * Request parameters for genericPost operation in DefaultApi.
558
+ * @export
559
+ * @interface DefaultApiGenericPostRequest
560
+ */
561
+ export interface DefaultApiGenericPostRequest {
562
+ /**
563
+ *
564
+ * @type {string}
565
+ * @memberof DefaultApiGenericPost
566
+ */
567
+ readonly path: string
568
+
569
+ /**
570
+ * Use this header to enable this experimental API.
571
+ * @type {string}
572
+ * @memberof DefaultApiGenericPost
573
+ */
574
+ readonly xSailPointExperimental?: string
575
+
576
+ /**
577
+ *
578
+ * @type {{ [key: string]: any; }}
579
+ * @memberof DefaultApiGenericPost
580
+ */
581
+ readonly requestBody?: { [key: string]: any; }
582
+ }
583
+
584
+ /**
585
+ * Request parameters for genericPut operation in DefaultApi.
586
+ * @export
587
+ * @interface DefaultApiGenericPutRequest
588
+ */
589
+ export interface DefaultApiGenericPutRequest {
590
+ /**
591
+ *
592
+ * @type {string}
593
+ * @memberof DefaultApiGenericPut
594
+ */
595
+ readonly path: string
596
+
597
+ /**
598
+ * Use this header to enable this experimental API.
599
+ * @type {string}
600
+ * @memberof DefaultApiGenericPut
601
+ */
602
+ readonly xSailPointExperimental?: string
603
+
604
+ /**
605
+ *
606
+ * @type {{ [key: string]: any; }}
607
+ * @memberof DefaultApiGenericPut
608
+ */
609
+ readonly requestBody?: { [key: string]: any; }
610
+ }
611
+
612
+ /**
613
+ * DefaultApi - object-oriented interface
614
+ * @export
615
+ * @class DefaultApi
616
+ * @extends {BaseAPI}
617
+ */
618
+ export class DefaultApi extends BaseAPI {
619
+ /**
620
+ *
621
+ * @summary Generic DELETE request
622
+ * @param {DefaultApiGenericDeleteRequest} requestParameters Request parameters.
623
+ * @param {*} [axiosOptions] Override http request option.
624
+ * @throws {RequiredError}
625
+ * @memberof DefaultApi
626
+ */
627
+ public genericDelete(requestParameters: DefaultApiGenericDeleteRequest, axiosOptions?: RawAxiosRequestConfig) {
628
+ return DefaultApiFp(this.configuration).genericDelete(requestParameters.path, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));
629
+ }
630
+
631
+ /**
632
+ *
633
+ * @summary Generic GET request
634
+ * @param {DefaultApiGenericGetRequest} requestParameters Request parameters.
635
+ * @param {*} [axiosOptions] Override http request option.
636
+ * @throws {RequiredError}
637
+ * @memberof DefaultApi
638
+ */
639
+ public genericGet(requestParameters: DefaultApiGenericGetRequest, axiosOptions?: RawAxiosRequestConfig) {
640
+ return DefaultApiFp(this.configuration).genericGet(requestParameters.path, requestParameters.limit, requestParameters.count, requestParameters.offset, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));
641
+ }
642
+
643
+ /**
644
+ *
645
+ * @summary Generic PATCH request
646
+ * @param {DefaultApiGenericPatchRequest} requestParameters Request parameters.
647
+ * @param {*} [axiosOptions] Override http request option.
648
+ * @throws {RequiredError}
649
+ * @memberof DefaultApi
650
+ */
651
+ public genericPatch(requestParameters: DefaultApiGenericPatchRequest, axiosOptions?: RawAxiosRequestConfig) {
652
+ return DefaultApiFp(this.configuration).genericPatch(requestParameters.path, requestParameters.xSailPointExperimental, requestParameters.requestBody, axiosOptions).then((request) => request(this.axios, this.basePath));
653
+ }
654
+
655
+ /**
656
+ *
657
+ * @summary Generic POST request
658
+ * @param {DefaultApiGenericPostRequest} requestParameters Request parameters.
659
+ * @param {*} [axiosOptions] Override http request option.
660
+ * @throws {RequiredError}
661
+ * @memberof DefaultApi
662
+ */
663
+ public genericPost(requestParameters: DefaultApiGenericPostRequest, axiosOptions?: RawAxiosRequestConfig) {
664
+ return DefaultApiFp(this.configuration).genericPost(requestParameters.path, requestParameters.xSailPointExperimental, requestParameters.requestBody, axiosOptions).then((request) => request(this.axios, this.basePath));
665
+ }
666
+
667
+ /**
668
+ *
669
+ * @summary Generic PUT request
670
+ * @param {DefaultApiGenericPutRequest} requestParameters Request parameters.
671
+ * @param {*} [axiosOptions] Override http request option.
672
+ * @throws {RequiredError}
673
+ * @memberof DefaultApi
674
+ */
675
+ public genericPut(requestParameters: DefaultApiGenericPutRequest, axiosOptions?: RawAxiosRequestConfig) {
676
+ return DefaultApiFp(this.configuration).genericPut(requestParameters.path, requestParameters.xSailPointExperimental, requestParameters.requestBody, axiosOptions).then((request) => request(this.axios, this.basePath));
677
+ }
678
+ }
679
+
680
+
681
+