sailpoint-api-client 2.0.4 → 2.0.6

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 (75) hide show
  1. package/dist/index.d.ts +3 -0
  2. package/dist/index.js +192 -189
  3. package/dist/index.js.map +1 -1
  4. package/dist/intelligence/api.d.ts +952 -0
  5. package/dist/intelligence/api.js +589 -0
  6. package/dist/intelligence/api.js.map +1 -0
  7. package/dist/intelligence/base.d.ts +66 -0
  8. package/dist/intelligence/base.js +90 -0
  9. package/dist/intelligence/base.js.map +1 -0
  10. package/dist/intelligence/common.d.ts +65 -0
  11. package/dist/intelligence/common.js +292 -0
  12. package/dist/intelligence/common.js.map +1 -0
  13. package/dist/intelligence/configuration.d.ts +91 -0
  14. package/dist/intelligence/configuration.js +46 -0
  15. package/dist/intelligence/configuration.js.map +1 -0
  16. package/dist/intelligence/index.d.ts +13 -0
  17. package/dist/intelligence/index.js +32 -0
  18. package/dist/intelligence/index.js.map +1 -0
  19. package/dist/nerm/common.js +2 -2
  20. package/dist/nermv2025/common.js +2 -2
  21. package/dist/sources/api.d.ts +509 -1
  22. package/dist/sources/api.js +587 -4
  23. package/dist/sources/api.js.map +1 -1
  24. package/index.ts +3 -0
  25. package/intelligence/.openapi-generator/FILES +36 -0
  26. package/intelligence/.openapi-generator/VERSION +1 -0
  27. package/intelligence/.openapi-generator-ignore +23 -0
  28. package/intelligence/.sdk-partition +1 -0
  29. package/intelligence/api.ts +1220 -0
  30. package/intelligence/base.ts +86 -0
  31. package/intelligence/common.ts +183 -0
  32. package/intelligence/configuration.ts +110 -0
  33. package/intelligence/docs/Examples/typescript_code_examples_overlay.yaml +78 -0
  34. package/intelligence/docs/Methods/Index.md +30 -0
  35. package/intelligence/docs/Methods/IntelligenceApi.md +253 -0
  36. package/intelligence/docs/Models/Errormessagedto.md +21 -0
  37. package/intelligence/docs/Models/Errorresponsedto.md +22 -0
  38. package/intelligence/docs/Models/GetIdentityIntelligenceV1401Response.md +19 -0
  39. package/intelligence/docs/Models/GetIdentityIntelligenceV1429Response.md +19 -0
  40. package/intelligence/docs/Models/Index.md +19 -0
  41. package/intelligence/docs/Models/Intelaccessaccountwire.md +30 -0
  42. package/intelligence/docs/Models/Intelaccesshistory.md +20 -0
  43. package/intelligence/docs/Models/Intelaccesshistoryaccessitemsslice.md +20 -0
  44. package/intelligence/docs/Models/Intelaccesshistorycertificationsslice.md +20 -0
  45. package/intelligence/docs/Models/Intelaccessitemhistoryevent.md +20 -0
  46. package/intelligence/docs/Models/Intelaccesssourcewire.md +20 -0
  47. package/intelligence/docs/Models/Intelaccountsslice.md +20 -0
  48. package/intelligence/docs/Models/Intelcertificationhistoryevent.md +23 -0
  49. package/intelligence/docs/Models/Intelidentityaggregate.md +35 -0
  50. package/intelligence/docs/Models/Inteloutlieraccessitem.md +24 -0
  51. package/intelligence/docs/Models/Inteloutliersslice.md +19 -0
  52. package/intelligence/docs/Models/Intelprivilegedaccessitemwire.md +26 -0
  53. package/intelligence/docs/Models/IntelprivilegedaccessitemwireSource.md +20 -0
  54. package/intelligence/docs/Models/Intelprivilegedaccessslice.md +19 -0
  55. package/intelligence/docs/Models/Intelrareaccessslice.md +20 -0
  56. package/intelligence/docs/Models/Localeorigin.md +21 -0
  57. package/intelligence/docs/Models/README.md +46 -0
  58. package/intelligence/git_push.sh +57 -0
  59. package/intelligence/index.ts +18 -0
  60. package/intelligence/package.json +34 -0
  61. package/intelligence/tsconfig.json +21 -0
  62. package/nerm/README.md +2 -2
  63. package/nerm/common.ts +2 -2
  64. package/nerm/package.json +1 -1
  65. package/nermv2025/README.md +2 -2
  66. package/nermv2025/common.ts +2 -2
  67. package/nermv2025/package.json +1 -1
  68. package/package.json +1 -1
  69. package/sources/.openapi-generator/FILES +2 -0
  70. package/sources/api.ts +846 -9
  71. package/sources/docs/Examples/typescript_code_examples_overlay.yaml +101 -0
  72. package/sources/docs/Methods/SourcesApi.md +288 -0
  73. package/sources/docs/Models/Fielddetailsdtov2.md +24 -0
  74. package/sources/docs/Models/Provisioningpolicydtov2.md +24 -0
  75. package/sources/docs/Models/Usagetype.md +2 -0
@@ -0,0 +1,1220 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Identity Security Cloud API - Intelligence
5
+ * Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.
6
+ *
7
+ * The version of the OpenAPI document: v1
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
+ *
28
+ * @export
29
+ * @interface Errormessagedto
30
+ */
31
+ export interface Errormessagedto {
32
+ /**
33
+ * The locale for the message text, a BCP 47 language tag.
34
+ * @type {string}
35
+ * @memberof Errormessagedto
36
+ */
37
+ 'locale'?: string | null;
38
+ /**
39
+ *
40
+ * @type {Localeorigin}
41
+ * @memberof Errormessagedto
42
+ */
43
+ 'localeOrigin'?: Localeorigin | null;
44
+ /**
45
+ * Actual text of the error message in the indicated locale.
46
+ * @type {string}
47
+ * @memberof Errormessagedto
48
+ */
49
+ 'text'?: string;
50
+ }
51
+
52
+
53
+ /**
54
+ *
55
+ * @export
56
+ * @interface Errorresponsedto
57
+ */
58
+ export interface Errorresponsedto {
59
+ /**
60
+ * Fine-grained error code providing more detail of the error.
61
+ * @type {string}
62
+ * @memberof Errorresponsedto
63
+ */
64
+ 'detailCode'?: string;
65
+ /**
66
+ * Unique tracking id for the error.
67
+ * @type {string}
68
+ * @memberof Errorresponsedto
69
+ */
70
+ 'trackingId'?: string;
71
+ /**
72
+ * Generic localized reason for error
73
+ * @type {Array<Errormessagedto>}
74
+ * @memberof Errorresponsedto
75
+ */
76
+ 'messages'?: Array<Errormessagedto>;
77
+ /**
78
+ * Plain-text descriptive reasons to provide additional detail to the text provided in the messages field
79
+ * @type {Array<Errormessagedto>}
80
+ * @memberof Errorresponsedto
81
+ */
82
+ 'causes'?: Array<Errormessagedto>;
83
+ }
84
+ /**
85
+ *
86
+ * @export
87
+ * @interface GetIdentityIntelligenceV1401Response
88
+ */
89
+ export interface GetIdentityIntelligenceV1401Response {
90
+ /**
91
+ * A message describing the error
92
+ * @type {any}
93
+ * @memberof GetIdentityIntelligenceV1401Response
94
+ */
95
+ 'error'?: any;
96
+ }
97
+ /**
98
+ *
99
+ * @export
100
+ * @interface GetIdentityIntelligenceV1429Response
101
+ */
102
+ export interface GetIdentityIntelligenceV1429Response {
103
+ /**
104
+ * A message describing the error
105
+ * @type {any}
106
+ * @memberof GetIdentityIntelligenceV1429Response
107
+ */
108
+ 'message'?: any;
109
+ }
110
+ /**
111
+ *
112
+ * @export
113
+ * @interface Intelaccessaccountwire
114
+ */
115
+ export interface Intelaccessaccountwire {
116
+ /**
117
+ * Unique account identifier in Identity Security Cloud.
118
+ * @type {string}
119
+ * @memberof Intelaccessaccountwire
120
+ */
121
+ 'id': string;
122
+ /**
123
+ * Account name or login value on the correlated source.
124
+ * @type {string}
125
+ * @memberof Intelaccessaccountwire
126
+ */
127
+ 'name': string;
128
+ /**
129
+ * Source metadata for the account as returned by List Accounts wire format.
130
+ * @type {Intelaccesssourcewire}
131
+ * @memberof Intelaccessaccountwire
132
+ */
133
+ 'source'?: Intelaccesssourcewire;
134
+ /**
135
+ * True when the account is administratively disabled on the source.
136
+ * @type {boolean}
137
+ * @memberof Intelaccessaccountwire
138
+ */
139
+ 'disabled': boolean;
140
+ /**
141
+ * True when the account is locked from interactive sign-in on the source.
142
+ * @type {boolean}
143
+ * @memberof Intelaccessaccountwire
144
+ */
145
+ 'locked': boolean;
146
+ /**
147
+ * True when the account is treated as authoritative for attribute synchronization.
148
+ * @type {boolean}
149
+ * @memberof Intelaccessaccountwire
150
+ */
151
+ 'authoritative': boolean;
152
+ /**
153
+ * True when the account represents a non-interactive or system principal.
154
+ * @type {boolean}
155
+ * @memberof Intelaccessaccountwire
156
+ */
157
+ 'systemAccount': boolean;
158
+ /**
159
+ * True when the account belongs to a machine or service identity.
160
+ * @type {boolean}
161
+ * @memberof Intelaccessaccountwire
162
+ */
163
+ 'isMachine': boolean;
164
+ /**
165
+ * True when an administrator manually correlated the account to an identity.
166
+ * @type {boolean}
167
+ * @memberof Intelaccessaccountwire
168
+ */
169
+ 'manuallyCorrelated': boolean;
170
+ /**
171
+ * Native identifier string on the source directory or application.
172
+ * @type {string}
173
+ * @memberof Intelaccessaccountwire
174
+ */
175
+ 'nativeIdentity'?: string | null;
176
+ /**
177
+ * Timestamp when the account record was created in Identity Security Cloud.
178
+ * @type {string}
179
+ * @memberof Intelaccessaccountwire
180
+ */
181
+ 'created': string;
182
+ /**
183
+ * Timestamp when the account record was last modified in Identity Security Cloud.
184
+ * @type {string}
185
+ * @memberof Intelaccessaccountwire
186
+ */
187
+ 'modified': string;
188
+ }
189
+ /**
190
+ * Access-history split into two independently paged categories. accessItems carries grant, remove, and account-status events. certifications carries identity-certified events.
191
+ * @export
192
+ * @interface Intelaccesshistory
193
+ */
194
+ export interface Intelaccesshistory {
195
+ /**
196
+ * First page of access-item history events for the identity.
197
+ * @type {Intelaccesshistoryaccessitemsslice}
198
+ * @memberof Intelaccesshistory
199
+ */
200
+ 'accessItems': Intelaccesshistoryaccessitemsslice;
201
+ /**
202
+ * First page of certification history events for the identity.
203
+ * @type {Intelaccesshistorycertificationsslice}
204
+ * @memberof Intelaccesshistory
205
+ */
206
+ 'certifications': Intelaccesshistorycertificationsslice;
207
+ }
208
+ /**
209
+ * Access-item history slice embedded in the aggregate identity response.
210
+ * @export
211
+ * @interface Intelaccesshistoryaccessitemsslice
212
+ */
213
+ export interface Intelaccesshistoryaccessitemsslice {
214
+ /**
215
+ * First page of access-item history events for the identity.
216
+ * @type {Array<Intelaccessitemhistoryevent>}
217
+ * @memberof Intelaccesshistoryaccessitemsslice
218
+ */
219
+ 'items': Array<Intelaccessitemhistoryevent>;
220
+ /**
221
+ * Absolute URL to the next access-items page; present only when more results exist.
222
+ * @type {string}
223
+ * @memberof Intelaccesshistoryaccessitemsslice
224
+ */
225
+ 'next'?: string;
226
+ }
227
+ /**
228
+ * Certification history slice embedded in the aggregate identity response.
229
+ * @export
230
+ * @interface Intelaccesshistorycertificationsslice
231
+ */
232
+ export interface Intelaccesshistorycertificationsslice {
233
+ /**
234
+ * First page of certification history events for the identity.
235
+ * @type {Array<Intelcertificationhistoryevent>}
236
+ * @memberof Intelaccesshistorycertificationsslice
237
+ */
238
+ 'items': Array<Intelcertificationhistoryevent>;
239
+ /**
240
+ * Absolute URL to the next certifications page; present only when more results exist.
241
+ * @type {string}
242
+ * @memberof Intelaccesshistorycertificationsslice
243
+ */
244
+ 'next'?: string;
245
+ }
246
+ /**
247
+ * Access-item history event. Supported eventTypes are AccessItemAssociated, AccessItemRemoved, and AccountStatusChanged.
248
+ * @export
249
+ * @interface Intelaccessitemhistoryevent
250
+ */
251
+ export interface Intelaccessitemhistoryevent {
252
+ [key: string]: any;
253
+
254
+ /**
255
+ * Type of access-item history event.
256
+ * @type {string}
257
+ * @memberof Intelaccessitemhistoryevent
258
+ */
259
+ 'eventType': IntelaccessitemhistoryeventEventTypeEnum;
260
+ /**
261
+ * Event timestamp.
262
+ * @type {string}
263
+ * @memberof Intelaccessitemhistoryevent
264
+ */
265
+ 'dateTime'?: string;
266
+ }
267
+
268
+ export const IntelaccessitemhistoryeventEventTypeEnum = {
269
+ AccessItemAssociated: 'AccessItemAssociated',
270
+ AccessItemRemoved: 'AccessItemRemoved',
271
+ AccountStatusChanged: 'AccountStatusChanged'
272
+ } as const;
273
+
274
+ export type IntelaccessitemhistoryeventEventTypeEnum = typeof IntelaccessitemhistoryeventEventTypeEnum[keyof typeof IntelaccessitemhistoryeventEventTypeEnum];
275
+
276
+ /**
277
+ *
278
+ * @export
279
+ * @interface Intelaccesssourcewire
280
+ */
281
+ export interface Intelaccesssourcewire {
282
+ /**
283
+ * Source identifier referenced by the account wire object.
284
+ * @type {string}
285
+ * @memberof Intelaccesssourcewire
286
+ */
287
+ 'id'?: string;
288
+ /**
289
+ * Human-readable source name shown in administrative consoles.
290
+ * @type {string}
291
+ * @memberof Intelaccesssourcewire
292
+ */
293
+ 'name'?: string;
294
+ }
295
+ /**
296
+ * Accounts slice embedded in the aggregate identity response.
297
+ * @export
298
+ * @interface Intelaccountsslice
299
+ */
300
+ export interface Intelaccountsslice {
301
+ /**
302
+ * First page of accounts for the identity.
303
+ * @type {Array<Intelaccessaccountwire>}
304
+ * @memberof Intelaccountsslice
305
+ */
306
+ 'items': Array<Intelaccessaccountwire>;
307
+ /**
308
+ * Absolute URL to the next accounts page; present only when more results exist.
309
+ * @type {string}
310
+ * @memberof Intelaccountsslice
311
+ */
312
+ 'next'?: string;
313
+ }
314
+ /**
315
+ * Certification history event. Supported eventType is IdentityCertified.
316
+ * @export
317
+ * @interface Intelcertificationhistoryevent
318
+ */
319
+ export interface Intelcertificationhistoryevent {
320
+ [key: string]: any;
321
+
322
+ /**
323
+ * Type of certification history event.
324
+ * @type {string}
325
+ * @memberof Intelcertificationhistoryevent
326
+ */
327
+ 'eventType': IntelcertificationhistoryeventEventTypeEnum;
328
+ /**
329
+ * Event timestamp.
330
+ * @type {string}
331
+ * @memberof Intelcertificationhistoryevent
332
+ */
333
+ 'dateTime'?: string;
334
+ /**
335
+ * Identifier of the certification.
336
+ * @type {string}
337
+ * @memberof Intelcertificationhistoryevent
338
+ */
339
+ 'certificationId'?: string;
340
+ /**
341
+ * Display name of the certification.
342
+ * @type {string}
343
+ * @memberof Intelcertificationhistoryevent
344
+ */
345
+ 'certificationName'?: string;
346
+ /**
347
+ * Timestamp when the certification was signed.
348
+ * @type {string}
349
+ * @memberof Intelcertificationhistoryevent
350
+ */
351
+ 'signedDate'?: string;
352
+ }
353
+
354
+ export const IntelcertificationhistoryeventEventTypeEnum = {
355
+ IdentityCertified: 'IdentityCertified'
356
+ } as const;
357
+
358
+ export type IntelcertificationhistoryeventEventTypeEnum = typeof IntelcertificationhistoryeventEventTypeEnum[keyof typeof IntelcertificationhistoryeventEventTypeEnum];
359
+
360
+ /**
361
+ * Flat identity response with identity attributes hoisted to the top level. The accounts, privilegedAccess, and accessHistory slices are always present. The outliers slice is omitted when the tenant lacks the IDA-outliers license.
362
+ * @export
363
+ * @interface Intelidentityaggregate
364
+ */
365
+ export interface Intelidentityaggregate {
366
+ /**
367
+ * Identity Security Cloud identifier for this identity.
368
+ * @type {string}
369
+ * @memberof Intelidentityaggregate
370
+ */
371
+ 'id': string;
372
+ /**
373
+ * Identity type for the matched record.
374
+ * @type {string}
375
+ * @memberof Intelidentityaggregate
376
+ */
377
+ 'type': IntelidentityaggregateTypeEnum;
378
+ /**
379
+ * Preferred display name for the identity across administrative experiences.
380
+ * @type {string}
381
+ * @memberof Intelidentityaggregate
382
+ */
383
+ 'displayName'?: string;
384
+ /**
385
+ * Optional free-text description assigned to the identity profile when present.
386
+ * @type {string}
387
+ * @memberof Intelidentityaggregate
388
+ */
389
+ 'description'?: string | null;
390
+ /**
391
+ * NERM classification for the identity.
392
+ * @type {string}
393
+ * @memberof Intelidentityaggregate
394
+ */
395
+ 'subtype'?: IntelidentityaggregateSubtypeEnum | null;
396
+ /**
397
+ * Serialized owner reference information when populated by upstream identity services.
398
+ * @type {string}
399
+ * @memberof Intelidentityaggregate
400
+ */
401
+ 'owners'?: string | null;
402
+ /**
403
+ * Arbitrary SCIM-style attribute bag returned for the identity context view.
404
+ * @type {{ [key: string]: any; }}
405
+ * @memberof Intelidentityaggregate
406
+ */
407
+ 'attributes'?: { [key: string]: any; };
408
+ /**
409
+ * Timestamp when the identity record was created in Identity Security Cloud.
410
+ * @type {string}
411
+ * @memberof Intelidentityaggregate
412
+ */
413
+ 'created'?: string;
414
+ /**
415
+ * Timestamp when the identity record was last modified in Identity Security Cloud.
416
+ * @type {string}
417
+ * @memberof Intelidentityaggregate
418
+ */
419
+ 'modified'?: string;
420
+ /**
421
+ * Primary login or account alias for the identity.
422
+ * @type {string}
423
+ * @memberof Intelidentityaggregate
424
+ */
425
+ 'alias'?: string;
426
+ /**
427
+ * Primary business email address for the identity.
428
+ * @type {string}
429
+ * @memberof Intelidentityaggregate
430
+ */
431
+ 'email'?: string;
432
+ /**
433
+ * Current identity lifecycle status label from Identity Security Cloud.
434
+ * @type {string}
435
+ * @memberof Intelidentityaggregate
436
+ */
437
+ 'identityStatus'?: string;
438
+ /**
439
+ * True when the identity is flagged as a people manager in the organization.
440
+ * @type {boolean}
441
+ * @memberof Intelidentityaggregate
442
+ */
443
+ 'isManager'?: boolean;
444
+ /**
445
+ * First page of accounts for the identity.
446
+ * @type {Intelaccountsslice}
447
+ * @memberof Intelidentityaggregate
448
+ */
449
+ 'accounts': Intelaccountsslice;
450
+ /**
451
+ * Full privileged access result for the identity.
452
+ * @type {Intelprivilegedaccessslice}
453
+ * @memberof Intelidentityaggregate
454
+ */
455
+ 'privilegedAccess': Intelprivilegedaccessslice;
456
+ /**
457
+ * Rare access slice; omitted when the tenant lacks the IDA-outliers license.
458
+ * @type {Inteloutliersslice}
459
+ * @memberof Intelidentityaggregate
460
+ */
461
+ 'outliers'?: Inteloutliersslice;
462
+ /**
463
+ * Access-history split into access items and certifications sub-slices.
464
+ * @type {Intelaccesshistory}
465
+ * @memberof Intelidentityaggregate
466
+ */
467
+ 'accessHistory': Intelaccesshistory;
468
+ }
469
+
470
+ export const IntelidentityaggregateTypeEnum = {
471
+ Human: 'HUMAN'
472
+ } as const;
473
+
474
+ export type IntelidentityaggregateTypeEnum = typeof IntelidentityaggregateTypeEnum[keyof typeof IntelidentityaggregateTypeEnum];
475
+ export const IntelidentityaggregateSubtypeEnum = {
476
+ Employee: 'Employee',
477
+ NonEmployee: 'Non Employee',
478
+ CannotDetermine: 'Cannot Determine'
479
+ } as const;
480
+
481
+ export type IntelidentityaggregateSubtypeEnum = typeof IntelidentityaggregateSubtypeEnum[keyof typeof IntelidentityaggregateSubtypeEnum];
482
+
483
+ /**
484
+ * One outlier access-item row.
485
+ * @export
486
+ * @interface Inteloutlieraccessitem
487
+ */
488
+ export interface Inteloutlieraccessitem {
489
+ /**
490
+ * Stable identifier of the outlier access-item row.
491
+ * @type {string}
492
+ * @memberof Inteloutlieraccessitem
493
+ */
494
+ 'id': string;
495
+ /**
496
+ * Display label of the risky access item.
497
+ * @type {string}
498
+ * @memberof Inteloutlieraccessitem
499
+ */
500
+ 'displayName': string;
501
+ /**
502
+ * Optional descriptive text for the risky access item.
503
+ * @type {string}
504
+ * @memberof Inteloutlieraccessitem
505
+ */
506
+ 'description'?: string | null;
507
+ /**
508
+ * Access item type.
509
+ * @type {string}
510
+ * @memberof Inteloutlieraccessitem
511
+ */
512
+ 'accessType': string;
513
+ /**
514
+ * Source name where the risky access item exists.
515
+ * @type {string}
516
+ * @memberof Inteloutlieraccessitem
517
+ */
518
+ 'sourceName': string;
519
+ /**
520
+ * Indicates whether analytics marked this item as extremely rare.
521
+ * @type {boolean}
522
+ * @memberof Inteloutlieraccessitem
523
+ */
524
+ 'extremelyRare': boolean;
525
+ }
526
+ /**
527
+ * Outlier slices embedded in the aggregate identity response.
528
+ * @export
529
+ * @interface Inteloutliersslice
530
+ */
531
+ export interface Inteloutliersslice {
532
+ /**
533
+ * First page of rare access items for the identity.
534
+ * @type {Intelrareaccessslice}
535
+ * @memberof Inteloutliersslice
536
+ */
537
+ 'rareAccess': Intelrareaccessslice;
538
+ }
539
+ /**
540
+ *
541
+ * @export
542
+ * @interface Intelprivilegedaccessitemwire
543
+ */
544
+ export interface Intelprivilegedaccessitemwire {
545
+ /**
546
+ * True when this item is classified as privileged access for the identity.
547
+ * @type {boolean}
548
+ * @memberof Intelprivilegedaccessitemwire
549
+ */
550
+ 'privileged': boolean;
551
+ /**
552
+ * Identifier of the privileged access item.
553
+ * @type {string}
554
+ * @memberof Intelprivilegedaccessitemwire
555
+ */
556
+ 'id': string;
557
+ /**
558
+ * Type of privileged access object.
559
+ * @type {string}
560
+ * @memberof Intelprivilegedaccessitemwire
561
+ */
562
+ 'type': string;
563
+ /**
564
+ * Display label for the privileged access item in administrative experiences.
565
+ * @type {string}
566
+ * @memberof Intelprivilegedaccessitemwire
567
+ */
568
+ 'displayName'?: string;
569
+ /**
570
+ * Technical name of the privileged access item.
571
+ * @type {string}
572
+ * @memberof Intelprivilegedaccessitemwire
573
+ */
574
+ 'name'?: string;
575
+ /**
576
+ *
577
+ * @type {IntelprivilegedaccessitemwireSource}
578
+ * @memberof Intelprivilegedaccessitemwire
579
+ */
580
+ 'source'?: IntelprivilegedaccessitemwireSource;
581
+ /**
582
+ * Source attribute name that carries the privileged value when applicable.
583
+ * @type {string}
584
+ * @memberof Intelprivilegedaccessitemwire
585
+ */
586
+ 'attribute'?: string;
587
+ /**
588
+ * Privileged value on the source attribute when applicable.
589
+ * @type {string}
590
+ * @memberof Intelprivilegedaccessitemwire
591
+ */
592
+ 'value'?: string;
593
+ }
594
+ /**
595
+ * Source metadata associated with the privileged access item when present.
596
+ * @export
597
+ * @interface IntelprivilegedaccessitemwireSource
598
+ */
599
+ export interface IntelprivilegedaccessitemwireSource {
600
+ /**
601
+ * Human-readable source name for the privileged access item.
602
+ * @type {string}
603
+ * @memberof IntelprivilegedaccessitemwireSource
604
+ */
605
+ 'name'?: string;
606
+ /**
607
+ * Source identifier for the privileged access item.
608
+ * @type {string}
609
+ * @memberof IntelprivilegedaccessitemwireSource
610
+ */
611
+ 'id'?: string;
612
+ }
613
+ /**
614
+ * Full privileged access result embedded in the aggregate identity response.
615
+ * @export
616
+ * @interface Intelprivilegedaccessslice
617
+ */
618
+ export interface Intelprivilegedaccessslice {
619
+ /**
620
+ * Privileged access items for the identity.
621
+ * @type {Array<Intelprivilegedaccessitemwire>}
622
+ * @memberof Intelprivilegedaccessslice
623
+ */
624
+ 'items': Array<Intelprivilegedaccessitemwire>;
625
+ }
626
+ /**
627
+ * Rare access slice embedded in the aggregate identity response.
628
+ * @export
629
+ * @interface Intelrareaccessslice
630
+ */
631
+ export interface Intelrareaccessslice {
632
+ /**
633
+ * First page of rare access items for the identity.
634
+ * @type {Array<Inteloutlieraccessitem>}
635
+ * @memberof Intelrareaccessslice
636
+ */
637
+ 'items': Array<Inteloutlieraccessitem>;
638
+ /**
639
+ * Absolute URL to the next rareAccess page; present only when more results exist.
640
+ * @type {string}
641
+ * @memberof Intelrareaccessslice
642
+ */
643
+ 'next'?: string;
644
+ }
645
+ /**
646
+ * An indicator of how the locale was selected. *DEFAULT* means the locale is the system default. *REQUEST* means the locale was selected from the request context (i.e., best match based on the *Accept-Language* header). Additional values may be added in the future without notice.
647
+ * @export
648
+ * @enum {string}
649
+ */
650
+
651
+ export const Localeorigin = {
652
+ Default: 'DEFAULT',
653
+ Request: 'REQUEST'
654
+ } as const;
655
+
656
+ export type Localeorigin = typeof Localeorigin[keyof typeof Localeorigin];
657
+
658
+
659
+
660
+ /**
661
+ * IntelligenceApi - axios parameter creator
662
+ * @export
663
+ */
664
+ export const IntelligenceApiAxiosParamCreator = function (configuration?: Configuration) {
665
+ return {
666
+ /**
667
+ * Requires tenant license idn:response-and-remediation. Resolves exactly one identity by SCIM-style filters expression and returns the Intelligence envelope. Supported queryable fields are id and email only. The response embeds the first page of accounts, rare access, access-history access items, and access-history certifications. Paged slices include a next link only when more results exist. The privilegedAccess slice contains the full result and is not paged. The outliers slice is omitted when the tenant lacks the IDA-outliers license.
668
+ * @summary Get identity by filter
669
+ * @param {string} filters Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq* **email**: *eq*
670
+ * @param {*} [axiosOptions] Override http request option.
671
+ * @throws {RequiredError}
672
+ */
673
+ getIdentityIntelligenceV1: async (filters: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
674
+ // verify required parameter 'filters' is not null or undefined
675
+ assertParamExists('getIdentityIntelligenceV1', 'filters', filters)
676
+ const localVarPath = `/intelligence/v1/identities`;
677
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
678
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
679
+ let baseOptions;
680
+ if (configuration) {
681
+ baseOptions = configuration.baseOptions;
682
+ }
683
+
684
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
685
+ const localVarHeaderParameter = {} as any;
686
+ const localVarQueryParameter = {} as any;
687
+
688
+ if (filters !== undefined) {
689
+ localVarQueryParameter['filters'] = filters;
690
+ }
691
+
692
+
693
+
694
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
695
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
696
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
697
+
698
+ return {
699
+ url: toPathString(localVarUrlObj),
700
+ axiosOptions: localVarRequestOptions,
701
+ };
702
+ },
703
+ /**
704
+ * Continuation endpoint for the parent response\'s `accessHistory.accessItems.next` link. Returns one page of access-item history events for the supplied limit and offset values. Unsupported event types and per-record decode failures are dropped server-side. Requires tenant license idn:response-and-remediation.
705
+ * @summary List identity access item history
706
+ * @param {string} id Non-empty identity id path segment for Intelligence sub-resources.
707
+ * @param {number} [limit] Page size. Defaults to 250; values above 250 are rejected with 400.
708
+ * @param {number} [offset] Zero-based page offset. Defaults to 0.
709
+ * @param {*} [axiosOptions] Override http request option.
710
+ * @throws {RequiredError}
711
+ */
712
+ getIntelIdentityAccessItemHistoryV1: async (id: string, limit?: number, offset?: number, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
713
+ // verify required parameter 'id' is not null or undefined
714
+ assertParamExists('getIntelIdentityAccessItemHistoryV1', 'id', id)
715
+ const localVarPath = `/intelligence/v1/identities/{id}/access-history/access-items`
716
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
717
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
718
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
719
+ let baseOptions;
720
+ if (configuration) {
721
+ baseOptions = configuration.baseOptions;
722
+ }
723
+
724
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
725
+ const localVarHeaderParameter = {} as any;
726
+ const localVarQueryParameter = {} as any;
727
+
728
+ if (limit !== undefined) {
729
+ localVarQueryParameter['limit'] = limit;
730
+ }
731
+
732
+ if (offset !== undefined) {
733
+ localVarQueryParameter['offset'] = offset;
734
+ }
735
+
736
+
737
+
738
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
739
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
740
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
741
+
742
+ return {
743
+ url: toPathString(localVarUrlObj),
744
+ axiosOptions: localVarRequestOptions,
745
+ };
746
+ },
747
+ /**
748
+ * Continuation endpoint for the parent response\'s `accounts.next` link. Returns one page of account rows for the supplied limit and offset values. Requires tenant license idn:response-and-remediation.
749
+ * @summary List identity accounts
750
+ * @param {string} id Non-empty identity id path segment for Intelligence sub-resources.
751
+ * @param {number} [limit] Page size. Defaults to 250; values above 250 are rejected with 400.
752
+ * @param {number} [offset] Zero-based page offset. Defaults to 0.
753
+ * @param {*} [axiosOptions] Override http request option.
754
+ * @throws {RequiredError}
755
+ */
756
+ getIntelIdentityAccountsV1: async (id: string, limit?: number, offset?: number, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
757
+ // verify required parameter 'id' is not null or undefined
758
+ assertParamExists('getIntelIdentityAccountsV1', 'id', id)
759
+ const localVarPath = `/intelligence/v1/identities/{id}/accounts`
760
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
761
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
762
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
763
+ let baseOptions;
764
+ if (configuration) {
765
+ baseOptions = configuration.baseOptions;
766
+ }
767
+
768
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
769
+ const localVarHeaderParameter = {} as any;
770
+ const localVarQueryParameter = {} as any;
771
+
772
+ if (limit !== undefined) {
773
+ localVarQueryParameter['limit'] = limit;
774
+ }
775
+
776
+ if (offset !== undefined) {
777
+ localVarQueryParameter['offset'] = offset;
778
+ }
779
+
780
+
781
+
782
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
783
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
784
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
785
+
786
+ return {
787
+ url: toPathString(localVarUrlObj),
788
+ axiosOptions: localVarRequestOptions,
789
+ };
790
+ },
791
+ /**
792
+ * Continuation endpoint for the parent response\'s `accessHistory.certifications.next` link. Returns one page of certification history events for the supplied limit and offset values. Per-record decode failures are dropped server-side. Requires tenant license idn:response-and-remediation.
793
+ * @summary List identity certification history
794
+ * @param {string} id Non-empty identity id path segment for Intelligence sub-resources.
795
+ * @param {number} [limit] Page size. Defaults to 250; values above 250 are rejected with 400.
796
+ * @param {number} [offset] Zero-based page offset. Defaults to 0.
797
+ * @param {*} [axiosOptions] Override http request option.
798
+ * @throws {RequiredError}
799
+ */
800
+ getIntelIdentityCertificationHistoryV1: async (id: string, limit?: number, offset?: number, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
801
+ // verify required parameter 'id' is not null or undefined
802
+ assertParamExists('getIntelIdentityCertificationHistoryV1', 'id', id)
803
+ const localVarPath = `/intelligence/v1/identities/{id}/access-history/certifications`
804
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
805
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
806
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
807
+ let baseOptions;
808
+ if (configuration) {
809
+ baseOptions = configuration.baseOptions;
810
+ }
811
+
812
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
813
+ const localVarHeaderParameter = {} as any;
814
+ const localVarQueryParameter = {} as any;
815
+
816
+ if (limit !== undefined) {
817
+ localVarQueryParameter['limit'] = limit;
818
+ }
819
+
820
+ if (offset !== undefined) {
821
+ localVarQueryParameter['offset'] = offset;
822
+ }
823
+
824
+
825
+
826
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
827
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
828
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
829
+
830
+ return {
831
+ url: toPathString(localVarUrlObj),
832
+ axiosOptions: localVarRequestOptions,
833
+ };
834
+ },
835
+ /**
836
+ * Continuation endpoint for the parent response\'s `outliers.rareAccess.next` link. Resolves the identity\'s first outlier, then returns one page of rare access items for the supplied limit and offset values. An identity with no outlier returns an empty array. Requires tenant license idn:response-and-remediation and the IDA-outliers license.
837
+ * @summary List identity rare access
838
+ * @param {string} id Non-empty identity id path segment for Intelligence sub-resources.
839
+ * @param {number} [limit] Page size. Defaults to 250; values above 250 are rejected with 400.
840
+ * @param {number} [offset] Zero-based page offset. Defaults to 0.
841
+ * @param {*} [axiosOptions] Override http request option.
842
+ * @throws {RequiredError}
843
+ */
844
+ getIntelIdentityRareAccessV1: async (id: string, limit?: number, offset?: number, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
845
+ // verify required parameter 'id' is not null or undefined
846
+ assertParamExists('getIntelIdentityRareAccessV1', 'id', id)
847
+ const localVarPath = `/intelligence/v1/identities/{id}/outliers/rare-access`
848
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
849
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
850
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
851
+ let baseOptions;
852
+ if (configuration) {
853
+ baseOptions = configuration.baseOptions;
854
+ }
855
+
856
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
857
+ const localVarHeaderParameter = {} as any;
858
+ const localVarQueryParameter = {} as any;
859
+
860
+ if (limit !== undefined) {
861
+ localVarQueryParameter['limit'] = limit;
862
+ }
863
+
864
+ if (offset !== undefined) {
865
+ localVarQueryParameter['offset'] = offset;
866
+ }
867
+
868
+
869
+
870
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
871
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
872
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
873
+
874
+ return {
875
+ url: toPathString(localVarUrlObj),
876
+ axiosOptions: localVarRequestOptions,
877
+ };
878
+ },
879
+ }
880
+ };
881
+
882
+ /**
883
+ * IntelligenceApi - functional programming interface
884
+ * @export
885
+ */
886
+ export const IntelligenceApiFp = function(configuration?: Configuration) {
887
+ const localVarAxiosParamCreator = IntelligenceApiAxiosParamCreator(configuration)
888
+ return {
889
+ /**
890
+ * Requires tenant license idn:response-and-remediation. Resolves exactly one identity by SCIM-style filters expression and returns the Intelligence envelope. Supported queryable fields are id and email only. The response embeds the first page of accounts, rare access, access-history access items, and access-history certifications. Paged slices include a next link only when more results exist. The privilegedAccess slice contains the full result and is not paged. The outliers slice is omitted when the tenant lacks the IDA-outliers license.
891
+ * @summary Get identity by filter
892
+ * @param {string} filters Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq* **email**: *eq*
893
+ * @param {*} [axiosOptions] Override http request option.
894
+ * @throws {RequiredError}
895
+ */
896
+ async getIdentityIntelligenceV1(filters: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Intelidentityaggregate>> {
897
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getIdentityIntelligenceV1(filters, axiosOptions);
898
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
899
+ const localVarOperationServerBasePath = operationServerMap['IntelligenceApi.getIdentityIntelligenceV1']?.[localVarOperationServerIndex]?.url;
900
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
901
+ },
902
+ /**
903
+ * Continuation endpoint for the parent response\'s `accessHistory.accessItems.next` link. Returns one page of access-item history events for the supplied limit and offset values. Unsupported event types and per-record decode failures are dropped server-side. Requires tenant license idn:response-and-remediation.
904
+ * @summary List identity access item history
905
+ * @param {string} id Non-empty identity id path segment for Intelligence sub-resources.
906
+ * @param {number} [limit] Page size. Defaults to 250; values above 250 are rejected with 400.
907
+ * @param {number} [offset] Zero-based page offset. Defaults to 0.
908
+ * @param {*} [axiosOptions] Override http request option.
909
+ * @throws {RequiredError}
910
+ */
911
+ async getIntelIdentityAccessItemHistoryV1(id: string, limit?: number, offset?: number, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Intelaccessitemhistoryevent>>> {
912
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getIntelIdentityAccessItemHistoryV1(id, limit, offset, axiosOptions);
913
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
914
+ const localVarOperationServerBasePath = operationServerMap['IntelligenceApi.getIntelIdentityAccessItemHistoryV1']?.[localVarOperationServerIndex]?.url;
915
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
916
+ },
917
+ /**
918
+ * Continuation endpoint for the parent response\'s `accounts.next` link. Returns one page of account rows for the supplied limit and offset values. Requires tenant license idn:response-and-remediation.
919
+ * @summary List identity accounts
920
+ * @param {string} id Non-empty identity id path segment for Intelligence sub-resources.
921
+ * @param {number} [limit] Page size. Defaults to 250; values above 250 are rejected with 400.
922
+ * @param {number} [offset] Zero-based page offset. Defaults to 0.
923
+ * @param {*} [axiosOptions] Override http request option.
924
+ * @throws {RequiredError}
925
+ */
926
+ async getIntelIdentityAccountsV1(id: string, limit?: number, offset?: number, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Intelaccessaccountwire>>> {
927
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getIntelIdentityAccountsV1(id, limit, offset, axiosOptions);
928
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
929
+ const localVarOperationServerBasePath = operationServerMap['IntelligenceApi.getIntelIdentityAccountsV1']?.[localVarOperationServerIndex]?.url;
930
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
931
+ },
932
+ /**
933
+ * Continuation endpoint for the parent response\'s `accessHistory.certifications.next` link. Returns one page of certification history events for the supplied limit and offset values. Per-record decode failures are dropped server-side. Requires tenant license idn:response-and-remediation.
934
+ * @summary List identity certification history
935
+ * @param {string} id Non-empty identity id path segment for Intelligence sub-resources.
936
+ * @param {number} [limit] Page size. Defaults to 250; values above 250 are rejected with 400.
937
+ * @param {number} [offset] Zero-based page offset. Defaults to 0.
938
+ * @param {*} [axiosOptions] Override http request option.
939
+ * @throws {RequiredError}
940
+ */
941
+ async getIntelIdentityCertificationHistoryV1(id: string, limit?: number, offset?: number, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Intelcertificationhistoryevent>>> {
942
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getIntelIdentityCertificationHistoryV1(id, limit, offset, axiosOptions);
943
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
944
+ const localVarOperationServerBasePath = operationServerMap['IntelligenceApi.getIntelIdentityCertificationHistoryV1']?.[localVarOperationServerIndex]?.url;
945
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
946
+ },
947
+ /**
948
+ * Continuation endpoint for the parent response\'s `outliers.rareAccess.next` link. Resolves the identity\'s first outlier, then returns one page of rare access items for the supplied limit and offset values. An identity with no outlier returns an empty array. Requires tenant license idn:response-and-remediation and the IDA-outliers license.
949
+ * @summary List identity rare access
950
+ * @param {string} id Non-empty identity id path segment for Intelligence sub-resources.
951
+ * @param {number} [limit] Page size. Defaults to 250; values above 250 are rejected with 400.
952
+ * @param {number} [offset] Zero-based page offset. Defaults to 0.
953
+ * @param {*} [axiosOptions] Override http request option.
954
+ * @throws {RequiredError}
955
+ */
956
+ async getIntelIdentityRareAccessV1(id: string, limit?: number, offset?: number, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Inteloutlieraccessitem>>> {
957
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getIntelIdentityRareAccessV1(id, limit, offset, axiosOptions);
958
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
959
+ const localVarOperationServerBasePath = operationServerMap['IntelligenceApi.getIntelIdentityRareAccessV1']?.[localVarOperationServerIndex]?.url;
960
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
961
+ },
962
+ }
963
+ };
964
+
965
+ /**
966
+ * IntelligenceApi - factory interface
967
+ * @export
968
+ */
969
+ export const IntelligenceApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
970
+ const localVarFp = IntelligenceApiFp(configuration)
971
+ return {
972
+ /**
973
+ * Requires tenant license idn:response-and-remediation. Resolves exactly one identity by SCIM-style filters expression and returns the Intelligence envelope. Supported queryable fields are id and email only. The response embeds the first page of accounts, rare access, access-history access items, and access-history certifications. Paged slices include a next link only when more results exist. The privilegedAccess slice contains the full result and is not paged. The outliers slice is omitted when the tenant lacks the IDA-outliers license.
974
+ * @summary Get identity by filter
975
+ * @param {IntelligenceApiGetIdentityIntelligenceV1Request} requestParameters Request parameters.
976
+ * @param {*} [axiosOptions] Override http request option.
977
+ * @throws {RequiredError}
978
+ */
979
+ getIdentityIntelligenceV1(requestParameters: IntelligenceApiGetIdentityIntelligenceV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Intelidentityaggregate> {
980
+ return localVarFp.getIdentityIntelligenceV1(requestParameters.filters, axiosOptions).then((request) => request(axios, basePath));
981
+ },
982
+ /**
983
+ * Continuation endpoint for the parent response\'s `accessHistory.accessItems.next` link. Returns one page of access-item history events for the supplied limit and offset values. Unsupported event types and per-record decode failures are dropped server-side. Requires tenant license idn:response-and-remediation.
984
+ * @summary List identity access item history
985
+ * @param {IntelligenceApiGetIntelIdentityAccessItemHistoryV1Request} requestParameters Request parameters.
986
+ * @param {*} [axiosOptions] Override http request option.
987
+ * @throws {RequiredError}
988
+ */
989
+ getIntelIdentityAccessItemHistoryV1(requestParameters: IntelligenceApiGetIntelIdentityAccessItemHistoryV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<Intelaccessitemhistoryevent>> {
990
+ return localVarFp.getIntelIdentityAccessItemHistoryV1(requestParameters.id, requestParameters.limit, requestParameters.offset, axiosOptions).then((request) => request(axios, basePath));
991
+ },
992
+ /**
993
+ * Continuation endpoint for the parent response\'s `accounts.next` link. Returns one page of account rows for the supplied limit and offset values. Requires tenant license idn:response-and-remediation.
994
+ * @summary List identity accounts
995
+ * @param {IntelligenceApiGetIntelIdentityAccountsV1Request} requestParameters Request parameters.
996
+ * @param {*} [axiosOptions] Override http request option.
997
+ * @throws {RequiredError}
998
+ */
999
+ getIntelIdentityAccountsV1(requestParameters: IntelligenceApiGetIntelIdentityAccountsV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<Intelaccessaccountwire>> {
1000
+ return localVarFp.getIntelIdentityAccountsV1(requestParameters.id, requestParameters.limit, requestParameters.offset, axiosOptions).then((request) => request(axios, basePath));
1001
+ },
1002
+ /**
1003
+ * Continuation endpoint for the parent response\'s `accessHistory.certifications.next` link. Returns one page of certification history events for the supplied limit and offset values. Per-record decode failures are dropped server-side. Requires tenant license idn:response-and-remediation.
1004
+ * @summary List identity certification history
1005
+ * @param {IntelligenceApiGetIntelIdentityCertificationHistoryV1Request} requestParameters Request parameters.
1006
+ * @param {*} [axiosOptions] Override http request option.
1007
+ * @throws {RequiredError}
1008
+ */
1009
+ getIntelIdentityCertificationHistoryV1(requestParameters: IntelligenceApiGetIntelIdentityCertificationHistoryV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<Intelcertificationhistoryevent>> {
1010
+ return localVarFp.getIntelIdentityCertificationHistoryV1(requestParameters.id, requestParameters.limit, requestParameters.offset, axiosOptions).then((request) => request(axios, basePath));
1011
+ },
1012
+ /**
1013
+ * Continuation endpoint for the parent response\'s `outliers.rareAccess.next` link. Resolves the identity\'s first outlier, then returns one page of rare access items for the supplied limit and offset values. An identity with no outlier returns an empty array. Requires tenant license idn:response-and-remediation and the IDA-outliers license.
1014
+ * @summary List identity rare access
1015
+ * @param {IntelligenceApiGetIntelIdentityRareAccessV1Request} requestParameters Request parameters.
1016
+ * @param {*} [axiosOptions] Override http request option.
1017
+ * @throws {RequiredError}
1018
+ */
1019
+ getIntelIdentityRareAccessV1(requestParameters: IntelligenceApiGetIntelIdentityRareAccessV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<Inteloutlieraccessitem>> {
1020
+ return localVarFp.getIntelIdentityRareAccessV1(requestParameters.id, requestParameters.limit, requestParameters.offset, axiosOptions).then((request) => request(axios, basePath));
1021
+ },
1022
+ };
1023
+ };
1024
+
1025
+ /**
1026
+ * Request parameters for getIdentityIntelligenceV1 operation in IntelligenceApi.
1027
+ * @export
1028
+ * @interface IntelligenceApiGetIdentityIntelligenceV1Request
1029
+ */
1030
+ export interface IntelligenceApiGetIdentityIntelligenceV1Request {
1031
+ /**
1032
+ * Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq* **email**: *eq*
1033
+ * @type {string}
1034
+ * @memberof IntelligenceApiGetIdentityIntelligenceV1
1035
+ */
1036
+ readonly filters: string
1037
+ }
1038
+
1039
+ /**
1040
+ * Request parameters for getIntelIdentityAccessItemHistoryV1 operation in IntelligenceApi.
1041
+ * @export
1042
+ * @interface IntelligenceApiGetIntelIdentityAccessItemHistoryV1Request
1043
+ */
1044
+ export interface IntelligenceApiGetIntelIdentityAccessItemHistoryV1Request {
1045
+ /**
1046
+ * Non-empty identity id path segment for Intelligence sub-resources.
1047
+ * @type {string}
1048
+ * @memberof IntelligenceApiGetIntelIdentityAccessItemHistoryV1
1049
+ */
1050
+ readonly id: string
1051
+
1052
+ /**
1053
+ * Page size. Defaults to 250; values above 250 are rejected with 400.
1054
+ * @type {number}
1055
+ * @memberof IntelligenceApiGetIntelIdentityAccessItemHistoryV1
1056
+ */
1057
+ readonly limit?: number
1058
+
1059
+ /**
1060
+ * Zero-based page offset. Defaults to 0.
1061
+ * @type {number}
1062
+ * @memberof IntelligenceApiGetIntelIdentityAccessItemHistoryV1
1063
+ */
1064
+ readonly offset?: number
1065
+ }
1066
+
1067
+ /**
1068
+ * Request parameters for getIntelIdentityAccountsV1 operation in IntelligenceApi.
1069
+ * @export
1070
+ * @interface IntelligenceApiGetIntelIdentityAccountsV1Request
1071
+ */
1072
+ export interface IntelligenceApiGetIntelIdentityAccountsV1Request {
1073
+ /**
1074
+ * Non-empty identity id path segment for Intelligence sub-resources.
1075
+ * @type {string}
1076
+ * @memberof IntelligenceApiGetIntelIdentityAccountsV1
1077
+ */
1078
+ readonly id: string
1079
+
1080
+ /**
1081
+ * Page size. Defaults to 250; values above 250 are rejected with 400.
1082
+ * @type {number}
1083
+ * @memberof IntelligenceApiGetIntelIdentityAccountsV1
1084
+ */
1085
+ readonly limit?: number
1086
+
1087
+ /**
1088
+ * Zero-based page offset. Defaults to 0.
1089
+ * @type {number}
1090
+ * @memberof IntelligenceApiGetIntelIdentityAccountsV1
1091
+ */
1092
+ readonly offset?: number
1093
+ }
1094
+
1095
+ /**
1096
+ * Request parameters for getIntelIdentityCertificationHistoryV1 operation in IntelligenceApi.
1097
+ * @export
1098
+ * @interface IntelligenceApiGetIntelIdentityCertificationHistoryV1Request
1099
+ */
1100
+ export interface IntelligenceApiGetIntelIdentityCertificationHistoryV1Request {
1101
+ /**
1102
+ * Non-empty identity id path segment for Intelligence sub-resources.
1103
+ * @type {string}
1104
+ * @memberof IntelligenceApiGetIntelIdentityCertificationHistoryV1
1105
+ */
1106
+ readonly id: string
1107
+
1108
+ /**
1109
+ * Page size. Defaults to 250; values above 250 are rejected with 400.
1110
+ * @type {number}
1111
+ * @memberof IntelligenceApiGetIntelIdentityCertificationHistoryV1
1112
+ */
1113
+ readonly limit?: number
1114
+
1115
+ /**
1116
+ * Zero-based page offset. Defaults to 0.
1117
+ * @type {number}
1118
+ * @memberof IntelligenceApiGetIntelIdentityCertificationHistoryV1
1119
+ */
1120
+ readonly offset?: number
1121
+ }
1122
+
1123
+ /**
1124
+ * Request parameters for getIntelIdentityRareAccessV1 operation in IntelligenceApi.
1125
+ * @export
1126
+ * @interface IntelligenceApiGetIntelIdentityRareAccessV1Request
1127
+ */
1128
+ export interface IntelligenceApiGetIntelIdentityRareAccessV1Request {
1129
+ /**
1130
+ * Non-empty identity id path segment for Intelligence sub-resources.
1131
+ * @type {string}
1132
+ * @memberof IntelligenceApiGetIntelIdentityRareAccessV1
1133
+ */
1134
+ readonly id: string
1135
+
1136
+ /**
1137
+ * Page size. Defaults to 250; values above 250 are rejected with 400.
1138
+ * @type {number}
1139
+ * @memberof IntelligenceApiGetIntelIdentityRareAccessV1
1140
+ */
1141
+ readonly limit?: number
1142
+
1143
+ /**
1144
+ * Zero-based page offset. Defaults to 0.
1145
+ * @type {number}
1146
+ * @memberof IntelligenceApiGetIntelIdentityRareAccessV1
1147
+ */
1148
+ readonly offset?: number
1149
+ }
1150
+
1151
+ /**
1152
+ * IntelligenceApi - object-oriented interface
1153
+ * @export
1154
+ * @class IntelligenceApi
1155
+ * @extends {BaseAPI}
1156
+ */
1157
+ export class IntelligenceApi extends BaseAPI {
1158
+ /**
1159
+ * Requires tenant license idn:response-and-remediation. Resolves exactly one identity by SCIM-style filters expression and returns the Intelligence envelope. Supported queryable fields are id and email only. The response embeds the first page of accounts, rare access, access-history access items, and access-history certifications. Paged slices include a next link only when more results exist. The privilegedAccess slice contains the full result and is not paged. The outliers slice is omitted when the tenant lacks the IDA-outliers license.
1160
+ * @summary Get identity by filter
1161
+ * @param {IntelligenceApiGetIdentityIntelligenceV1Request} requestParameters Request parameters.
1162
+ * @param {*} [axiosOptions] Override http request option.
1163
+ * @throws {RequiredError}
1164
+ * @memberof IntelligenceApi
1165
+ */
1166
+ public getIdentityIntelligenceV1(requestParameters: IntelligenceApiGetIdentityIntelligenceV1Request, axiosOptions?: RawAxiosRequestConfig) {
1167
+ return IntelligenceApiFp(this.configuration).getIdentityIntelligenceV1(requestParameters.filters, axiosOptions).then((request) => request(this.axios, this.basePath));
1168
+ }
1169
+
1170
+ /**
1171
+ * Continuation endpoint for the parent response\'s `accessHistory.accessItems.next` link. Returns one page of access-item history events for the supplied limit and offset values. Unsupported event types and per-record decode failures are dropped server-side. Requires tenant license idn:response-and-remediation.
1172
+ * @summary List identity access item history
1173
+ * @param {IntelligenceApiGetIntelIdentityAccessItemHistoryV1Request} requestParameters Request parameters.
1174
+ * @param {*} [axiosOptions] Override http request option.
1175
+ * @throws {RequiredError}
1176
+ * @memberof IntelligenceApi
1177
+ */
1178
+ public getIntelIdentityAccessItemHistoryV1(requestParameters: IntelligenceApiGetIntelIdentityAccessItemHistoryV1Request, axiosOptions?: RawAxiosRequestConfig) {
1179
+ return IntelligenceApiFp(this.configuration).getIntelIdentityAccessItemHistoryV1(requestParameters.id, requestParameters.limit, requestParameters.offset, axiosOptions).then((request) => request(this.axios, this.basePath));
1180
+ }
1181
+
1182
+ /**
1183
+ * Continuation endpoint for the parent response\'s `accounts.next` link. Returns one page of account rows for the supplied limit and offset values. Requires tenant license idn:response-and-remediation.
1184
+ * @summary List identity accounts
1185
+ * @param {IntelligenceApiGetIntelIdentityAccountsV1Request} requestParameters Request parameters.
1186
+ * @param {*} [axiosOptions] Override http request option.
1187
+ * @throws {RequiredError}
1188
+ * @memberof IntelligenceApi
1189
+ */
1190
+ public getIntelIdentityAccountsV1(requestParameters: IntelligenceApiGetIntelIdentityAccountsV1Request, axiosOptions?: RawAxiosRequestConfig) {
1191
+ return IntelligenceApiFp(this.configuration).getIntelIdentityAccountsV1(requestParameters.id, requestParameters.limit, requestParameters.offset, axiosOptions).then((request) => request(this.axios, this.basePath));
1192
+ }
1193
+
1194
+ /**
1195
+ * Continuation endpoint for the parent response\'s `accessHistory.certifications.next` link. Returns one page of certification history events for the supplied limit and offset values. Per-record decode failures are dropped server-side. Requires tenant license idn:response-and-remediation.
1196
+ * @summary List identity certification history
1197
+ * @param {IntelligenceApiGetIntelIdentityCertificationHistoryV1Request} requestParameters Request parameters.
1198
+ * @param {*} [axiosOptions] Override http request option.
1199
+ * @throws {RequiredError}
1200
+ * @memberof IntelligenceApi
1201
+ */
1202
+ public getIntelIdentityCertificationHistoryV1(requestParameters: IntelligenceApiGetIntelIdentityCertificationHistoryV1Request, axiosOptions?: RawAxiosRequestConfig) {
1203
+ return IntelligenceApiFp(this.configuration).getIntelIdentityCertificationHistoryV1(requestParameters.id, requestParameters.limit, requestParameters.offset, axiosOptions).then((request) => request(this.axios, this.basePath));
1204
+ }
1205
+
1206
+ /**
1207
+ * Continuation endpoint for the parent response\'s `outliers.rareAccess.next` link. Resolves the identity\'s first outlier, then returns one page of rare access items for the supplied limit and offset values. An identity with no outlier returns an empty array. Requires tenant license idn:response-and-remediation and the IDA-outliers license.
1208
+ * @summary List identity rare access
1209
+ * @param {IntelligenceApiGetIntelIdentityRareAccessV1Request} requestParameters Request parameters.
1210
+ * @param {*} [axiosOptions] Override http request option.
1211
+ * @throws {RequiredError}
1212
+ * @memberof IntelligenceApi
1213
+ */
1214
+ public getIntelIdentityRareAccessV1(requestParameters: IntelligenceApiGetIntelIdentityRareAccessV1Request, axiosOptions?: RawAxiosRequestConfig) {
1215
+ return IntelligenceApiFp(this.configuration).getIntelIdentityRareAccessV1(requestParameters.id, requestParameters.limit, requestParameters.offset, axiosOptions).then((request) => request(this.axios, this.basePath));
1216
+ }
1217
+ }
1218
+
1219
+
1220
+