sailpoint-api-client 2.0.4 → 2.0.5

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