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
@@ -250,7 +250,7 @@ var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configu
250
250
  if (axios === void 0) { axios = globalAxios; }
251
251
  if (basePath === void 0) { basePath = BASE_PATH; }
252
252
  (0, axios_retry_1.default)(axios, configuration.retriesConfig);
253
- var headers = __assign(__assign({ 'User-Agent': 'OpenAPI-Generator/1.6.7/ts' }, axiosArgs.axiosOptions.headers), { 'X-SailPoint-SDK': 'typescript-1.6.7' });
253
+ var headers = __assign(__assign({ 'User-Agent': 'OpenAPI-Generator/1.6.9/ts' }, axiosArgs.axiosOptions.headers), { 'X-SailPoint-SDK': 'typescript-1.6.9' });
254
254
  if (!configuration.experimental && ("X-SailPoint-Experimental" in headers)) {
255
255
  throw new Error("You are using Experimental APIs. Set configuration.experimental = True to enable these APIs in the SDK.");
256
256
  }
@@ -0,0 +1,386 @@
1
+ /**
2
+ * Generic Identity Security Cloud V2025 API
3
+ * Generic API specification for the Identity Security Cloud platform
4
+ *
5
+ * The version of the OpenAPI document: v2025
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from '../configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import type { RequestArgs } from './base';
15
+ import { BaseAPI } from './base';
16
+ /**
17
+ * @type GenericResponse
18
+ * @export
19
+ */
20
+ export type GenericResponse = Array<{
21
+ [key: string]: any;
22
+ }> | {
23
+ [key: string]: any;
24
+ };
25
+ /**
26
+ * DefaultApi - axios parameter creator
27
+ * @export
28
+ */
29
+ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
30
+ /**
31
+ *
32
+ * @summary Generic DELETE request
33
+ * @param {string} path
34
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
35
+ * @param {*} [axiosOptions] Override http request option.
36
+ * @throws {RequiredError}
37
+ */
38
+ genericDelete: (path: string, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig) => Promise<RequestArgs>;
39
+ /**
40
+ *
41
+ * @summary Generic GET request
42
+ * @param {string} path
43
+ * @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.
44
+ * @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.
45
+ * @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.
46
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
47
+ * @param {*} [axiosOptions] Override http request option.
48
+ * @throws {RequiredError}
49
+ */
50
+ genericGet: (path: string, limit?: number, count?: boolean, offset?: number, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig) => Promise<RequestArgs>;
51
+ /**
52
+ *
53
+ * @summary Generic PATCH request
54
+ * @param {string} path
55
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
56
+ * @param {{ [key: string]: any; }} [requestBody]
57
+ * @param {*} [axiosOptions] Override http request option.
58
+ * @throws {RequiredError}
59
+ */
60
+ genericPatch: (path: string, xSailPointExperimental?: string, requestBody?: {
61
+ [key: string]: any;
62
+ }, axiosOptions?: RawAxiosRequestConfig) => Promise<RequestArgs>;
63
+ /**
64
+ *
65
+ * @summary Generic POST request
66
+ * @param {string} path
67
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
68
+ * @param {{ [key: string]: any; }} [requestBody]
69
+ * @param {*} [axiosOptions] Override http request option.
70
+ * @throws {RequiredError}
71
+ */
72
+ genericPost: (path: string, xSailPointExperimental?: string, requestBody?: {
73
+ [key: string]: any;
74
+ }, axiosOptions?: RawAxiosRequestConfig) => Promise<RequestArgs>;
75
+ /**
76
+ *
77
+ * @summary Generic PUT request
78
+ * @param {string} path
79
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
80
+ * @param {{ [key: string]: any; }} [requestBody]
81
+ * @param {*} [axiosOptions] Override http request option.
82
+ * @throws {RequiredError}
83
+ */
84
+ genericPut: (path: string, xSailPointExperimental?: string, requestBody?: {
85
+ [key: string]: any;
86
+ }, axiosOptions?: RawAxiosRequestConfig) => Promise<RequestArgs>;
87
+ };
88
+ /**
89
+ * DefaultApi - functional programming interface
90
+ * @export
91
+ */
92
+ export declare const DefaultApiFp: (configuration?: Configuration) => {
93
+ /**
94
+ *
95
+ * @summary Generic DELETE request
96
+ * @param {string} path
97
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
98
+ * @param {*} [axiosOptions] Override http request option.
99
+ * @throws {RequiredError}
100
+ */
101
+ genericDelete(path: string, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GenericResponse>>;
102
+ /**
103
+ *
104
+ * @summary Generic GET request
105
+ * @param {string} path
106
+ * @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.
107
+ * @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.
108
+ * @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.
109
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
110
+ * @param {*} [axiosOptions] Override http request option.
111
+ * @throws {RequiredError}
112
+ */
113
+ genericGet(path: string, limit?: number, count?: boolean, offset?: number, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GenericResponse>>;
114
+ /**
115
+ *
116
+ * @summary Generic PATCH request
117
+ * @param {string} path
118
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
119
+ * @param {{ [key: string]: any; }} [requestBody]
120
+ * @param {*} [axiosOptions] Override http request option.
121
+ * @throws {RequiredError}
122
+ */
123
+ genericPatch(path: string, xSailPointExperimental?: string, requestBody?: {
124
+ [key: string]: any;
125
+ }, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GenericResponse>>;
126
+ /**
127
+ *
128
+ * @summary Generic POST request
129
+ * @param {string} path
130
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
131
+ * @param {{ [key: string]: any; }} [requestBody]
132
+ * @param {*} [axiosOptions] Override http request option.
133
+ * @throws {RequiredError}
134
+ */
135
+ genericPost(path: string, xSailPointExperimental?: string, requestBody?: {
136
+ [key: string]: any;
137
+ }, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GenericResponse>>;
138
+ /**
139
+ *
140
+ * @summary Generic PUT request
141
+ * @param {string} path
142
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
143
+ * @param {{ [key: string]: any; }} [requestBody]
144
+ * @param {*} [axiosOptions] Override http request option.
145
+ * @throws {RequiredError}
146
+ */
147
+ genericPut(path: string, xSailPointExperimental?: string, requestBody?: {
148
+ [key: string]: any;
149
+ }, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GenericResponse>>;
150
+ };
151
+ /**
152
+ * DefaultApi - factory interface
153
+ * @export
154
+ */
155
+ export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
156
+ /**
157
+ *
158
+ * @summary Generic DELETE request
159
+ * @param {DefaultApiGenericDeleteRequest} requestParameters Request parameters.
160
+ * @param {*} [axiosOptions] Override http request option.
161
+ * @throws {RequiredError}
162
+ */
163
+ genericDelete(requestParameters: DefaultApiGenericDeleteRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<GenericResponse>;
164
+ /**
165
+ *
166
+ * @summary Generic GET request
167
+ * @param {DefaultApiGenericGetRequest} requestParameters Request parameters.
168
+ * @param {*} [axiosOptions] Override http request option.
169
+ * @throws {RequiredError}
170
+ */
171
+ genericGet(requestParameters: DefaultApiGenericGetRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<GenericResponse>;
172
+ /**
173
+ *
174
+ * @summary Generic PATCH request
175
+ * @param {DefaultApiGenericPatchRequest} requestParameters Request parameters.
176
+ * @param {*} [axiosOptions] Override http request option.
177
+ * @throws {RequiredError}
178
+ */
179
+ genericPatch(requestParameters: DefaultApiGenericPatchRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<GenericResponse>;
180
+ /**
181
+ *
182
+ * @summary Generic POST request
183
+ * @param {DefaultApiGenericPostRequest} requestParameters Request parameters.
184
+ * @param {*} [axiosOptions] Override http request option.
185
+ * @throws {RequiredError}
186
+ */
187
+ genericPost(requestParameters: DefaultApiGenericPostRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<GenericResponse>;
188
+ /**
189
+ *
190
+ * @summary Generic PUT request
191
+ * @param {DefaultApiGenericPutRequest} requestParameters Request parameters.
192
+ * @param {*} [axiosOptions] Override http request option.
193
+ * @throws {RequiredError}
194
+ */
195
+ genericPut(requestParameters: DefaultApiGenericPutRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<GenericResponse>;
196
+ };
197
+ /**
198
+ * Request parameters for genericDelete operation in DefaultApi.
199
+ * @export
200
+ * @interface DefaultApiGenericDeleteRequest
201
+ */
202
+ export interface DefaultApiGenericDeleteRequest {
203
+ /**
204
+ *
205
+ * @type {string}
206
+ * @memberof DefaultApiGenericDelete
207
+ */
208
+ readonly path: string;
209
+ /**
210
+ * Use this header to enable this experimental API.
211
+ * @type {string}
212
+ * @memberof DefaultApiGenericDelete
213
+ */
214
+ readonly xSailPointExperimental?: string;
215
+ }
216
+ /**
217
+ * Request parameters for genericGet operation in DefaultApi.
218
+ * @export
219
+ * @interface DefaultApiGenericGetRequest
220
+ */
221
+ export interface DefaultApiGenericGetRequest {
222
+ /**
223
+ *
224
+ * @type {string}
225
+ * @memberof DefaultApiGenericGet
226
+ */
227
+ readonly path: string;
228
+ /**
229
+ * Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
230
+ * @type {number}
231
+ * @memberof DefaultApiGenericGet
232
+ */
233
+ readonly limit?: number;
234
+ /**
235
+ * 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.
236
+ * @type {boolean}
237
+ * @memberof DefaultApiGenericGet
238
+ */
239
+ readonly count?: boolean;
240
+ /**
241
+ * 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.
242
+ * @type {number}
243
+ * @memberof DefaultApiGenericGet
244
+ */
245
+ readonly offset?: number;
246
+ /**
247
+ * Use this header to enable this experimental API.
248
+ * @type {string}
249
+ * @memberof DefaultApiGenericGet
250
+ */
251
+ readonly xSailPointExperimental?: string;
252
+ }
253
+ /**
254
+ * Request parameters for genericPatch operation in DefaultApi.
255
+ * @export
256
+ * @interface DefaultApiGenericPatchRequest
257
+ */
258
+ export interface DefaultApiGenericPatchRequest {
259
+ /**
260
+ *
261
+ * @type {string}
262
+ * @memberof DefaultApiGenericPatch
263
+ */
264
+ readonly path: string;
265
+ /**
266
+ * Use this header to enable this experimental API.
267
+ * @type {string}
268
+ * @memberof DefaultApiGenericPatch
269
+ */
270
+ readonly xSailPointExperimental?: string;
271
+ /**
272
+ *
273
+ * @type {{ [key: string]: any; }}
274
+ * @memberof DefaultApiGenericPatch
275
+ */
276
+ readonly requestBody?: {
277
+ [key: string]: any;
278
+ };
279
+ }
280
+ /**
281
+ * Request parameters for genericPost operation in DefaultApi.
282
+ * @export
283
+ * @interface DefaultApiGenericPostRequest
284
+ */
285
+ export interface DefaultApiGenericPostRequest {
286
+ /**
287
+ *
288
+ * @type {string}
289
+ * @memberof DefaultApiGenericPost
290
+ */
291
+ readonly path: string;
292
+ /**
293
+ * Use this header to enable this experimental API.
294
+ * @type {string}
295
+ * @memberof DefaultApiGenericPost
296
+ */
297
+ readonly xSailPointExperimental?: string;
298
+ /**
299
+ *
300
+ * @type {{ [key: string]: any; }}
301
+ * @memberof DefaultApiGenericPost
302
+ */
303
+ readonly requestBody?: {
304
+ [key: string]: any;
305
+ };
306
+ }
307
+ /**
308
+ * Request parameters for genericPut operation in DefaultApi.
309
+ * @export
310
+ * @interface DefaultApiGenericPutRequest
311
+ */
312
+ export interface DefaultApiGenericPutRequest {
313
+ /**
314
+ *
315
+ * @type {string}
316
+ * @memberof DefaultApiGenericPut
317
+ */
318
+ readonly path: string;
319
+ /**
320
+ * Use this header to enable this experimental API.
321
+ * @type {string}
322
+ * @memberof DefaultApiGenericPut
323
+ */
324
+ readonly xSailPointExperimental?: string;
325
+ /**
326
+ *
327
+ * @type {{ [key: string]: any; }}
328
+ * @memberof DefaultApiGenericPut
329
+ */
330
+ readonly requestBody?: {
331
+ [key: string]: any;
332
+ };
333
+ }
334
+ /**
335
+ * DefaultApi - object-oriented interface
336
+ * @export
337
+ * @class DefaultApi
338
+ * @extends {BaseAPI}
339
+ */
340
+ export declare class DefaultApi extends BaseAPI {
341
+ /**
342
+ *
343
+ * @summary Generic DELETE request
344
+ * @param {DefaultApiGenericDeleteRequest} requestParameters Request parameters.
345
+ * @param {*} [axiosOptions] Override http request option.
346
+ * @throws {RequiredError}
347
+ * @memberof DefaultApi
348
+ */
349
+ genericDelete(requestParameters: DefaultApiGenericDeleteRequest, axiosOptions?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GenericResponse, any>>;
350
+ /**
351
+ *
352
+ * @summary Generic GET request
353
+ * @param {DefaultApiGenericGetRequest} requestParameters Request parameters.
354
+ * @param {*} [axiosOptions] Override http request option.
355
+ * @throws {RequiredError}
356
+ * @memberof DefaultApi
357
+ */
358
+ genericGet(requestParameters: DefaultApiGenericGetRequest, axiosOptions?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GenericResponse, any>>;
359
+ /**
360
+ *
361
+ * @summary Generic PATCH request
362
+ * @param {DefaultApiGenericPatchRequest} requestParameters Request parameters.
363
+ * @param {*} [axiosOptions] Override http request option.
364
+ * @throws {RequiredError}
365
+ * @memberof DefaultApi
366
+ */
367
+ genericPatch(requestParameters: DefaultApiGenericPatchRequest, axiosOptions?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GenericResponse, any>>;
368
+ /**
369
+ *
370
+ * @summary Generic POST request
371
+ * @param {DefaultApiGenericPostRequest} requestParameters Request parameters.
372
+ * @param {*} [axiosOptions] Override http request option.
373
+ * @throws {RequiredError}
374
+ * @memberof DefaultApi
375
+ */
376
+ genericPost(requestParameters: DefaultApiGenericPostRequest, axiosOptions?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GenericResponse, any>>;
377
+ /**
378
+ *
379
+ * @summary Generic PUT request
380
+ * @param {DefaultApiGenericPutRequest} requestParameters Request parameters.
381
+ * @param {*} [axiosOptions] Override http request option.
382
+ * @throws {RequiredError}
383
+ * @memberof DefaultApi
384
+ */
385
+ genericPut(requestParameters: DefaultApiGenericPutRequest, axiosOptions?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GenericResponse, any>>;
386
+ }