sailpoint-api-client 1.6.8 → 1.6.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/beta/README.md +2 -2
  2. package/beta/api.ts +87 -577
  3. package/beta/common.ts +2 -2
  4. package/beta/package.json +1 -1
  5. package/dist/beta/api.d.ts +81 -452
  6. package/dist/beta/api.js +30 -300
  7. package/dist/beta/api.js.map +1 -1
  8. package/dist/beta/common.js +1 -1
  9. package/dist/generic/api.d.ts +386 -0
  10. package/dist/generic/api.js +689 -0
  11. package/dist/generic/api.js.map +1 -0
  12. package/dist/generic/base.d.ts +66 -0
  13. package/dist/generic/base.js +89 -0
  14. package/dist/generic/base.js.map +1 -0
  15. package/dist/generic/common.d.ts +65 -0
  16. package/dist/generic/common.js +260 -0
  17. package/dist/generic/common.js.map +1 -0
  18. package/dist/generic/configuration.d.ts +91 -0
  19. package/dist/generic/configuration.js +46 -0
  20. package/dist/generic/configuration.js.map +1 -0
  21. package/dist/generic/index.d.ts +13 -0
  22. package/dist/generic/index.js +32 -0
  23. package/dist/generic/index.js.map +1 -0
  24. package/dist/index.d.ts +5 -4
  25. package/dist/index.js +1 -0
  26. package/dist/index.js.map +1 -1
  27. package/dist/paginator.d.ts +3 -1
  28. package/dist/paginator.js +146 -0
  29. package/dist/paginator.js.map +1 -1
  30. package/dist/v2024/api.d.ts +1413 -150
  31. package/dist/v2024/api.js +1509 -126
  32. package/dist/v2024/api.js.map +1 -1
  33. package/dist/v2024/common.js +1 -1
  34. package/dist/v2025/api.d.ts +3480 -244
  35. package/dist/v2025/api.js +2638 -280
  36. package/dist/v2025/api.js.map +1 -1
  37. package/dist/v2025/common.js +1 -1
  38. package/dist/v3/api.d.ts +45 -83
  39. package/dist/v3/api.js +31 -30
  40. package/dist/v3/api.js.map +1 -1
  41. package/dist/v3/common.js +1 -1
  42. package/generic/.openapi-generator/FILES +11 -0
  43. package/generic/.openapi-generator/VERSION +1 -0
  44. package/generic/.openapi-generator-ignore +23 -0
  45. package/generic/README.md +46 -0
  46. package/generic/api.ts +681 -0
  47. package/generic/base.ts +86 -0
  48. package/generic/common.ts +159 -0
  49. package/generic/configuration.ts +110 -0
  50. package/generic/git_push.sh +57 -0
  51. package/generic/index.ts +18 -0
  52. package/generic/package.json +34 -0
  53. package/generic/tsconfig.json +21 -0
  54. package/index.ts +9 -7
  55. package/package.json +1 -1
  56. package/paginator.ts +137 -11
  57. package/v2024/README.md +2 -2
  58. package/v2024/api.ts +2110 -175
  59. package/v2024/common.ts +2 -2
  60. package/v2024/package.json +1 -1
  61. package/v2025/README.md +2 -2
  62. package/v2025/api.ts +5869 -1447
  63. package/v2025/common.ts +2 -2
  64. package/v2025/package.json +1 -1
  65. package/v3/README.md +2 -2
  66. package/v3/api.ts +61 -97
  67. package/v3/common.ts +2 -2
  68. package/v3/package.json +1 -1
package/beta/api.ts CHANGED
@@ -4067,204 +4067,6 @@ export interface AppAccountDetailsSourceAccountBeta {
4067
4067
  */
4068
4068
  'sourceDisplayName'?: string;
4069
4069
  }
4070
- /**
4071
- * Batch properties if an approval is sent via batching.
4072
- * @export
4073
- * @interface ApprovalBatchBeta
4074
- */
4075
- export interface ApprovalBatchBeta {
4076
- /**
4077
- * ID of the batch
4078
- * @type {string}
4079
- * @memberof ApprovalBatchBeta
4080
- */
4081
- 'batchId'?: string;
4082
- /**
4083
- * How many approvals are going to be in this batch. Defaults to 1 if not provided.
4084
- * @type {number}
4085
- * @memberof ApprovalBatchBeta
4086
- */
4087
- 'batchSize'?: number;
4088
- }
4089
- /**
4090
- * Approval Object
4091
- * @export
4092
- * @interface ApprovalBeta
4093
- */
4094
- export interface ApprovalBeta {
4095
- /**
4096
- * The Approval ID
4097
- * @type {string}
4098
- * @memberof ApprovalBeta
4099
- */
4100
- 'approvalId'?: string;
4101
- /**
4102
- * Object representation of an approver of an approval
4103
- * @type {Array<ApprovalIdentityBeta>}
4104
- * @memberof ApprovalBeta
4105
- */
4106
- 'approvers'?: Array<ApprovalIdentityBeta>;
4107
- /**
4108
- * Date the approval was created
4109
- * @type {string}
4110
- * @memberof ApprovalBeta
4111
- */
4112
- 'createdDate'?: string;
4113
- /**
4114
- * Type of approval
4115
- * @type {string}
4116
- * @memberof ApprovalBeta
4117
- */
4118
- 'type'?: string;
4119
- /**
4120
- * The name of the approval for a given locale
4121
- * @type {Array<ApprovalNameBeta>}
4122
- * @memberof ApprovalBeta
4123
- */
4124
- 'name'?: Array<ApprovalNameBeta>;
4125
- /**
4126
- * The name of the approval for a given locale
4127
- * @type {ApprovalBatchBeta}
4128
- * @memberof ApprovalBeta
4129
- */
4130
- 'batchRequest'?: ApprovalBatchBeta;
4131
- /**
4132
- * The description of the approval for a given locale
4133
- * @type {Array<ApprovalDescriptionBeta>}
4134
- * @memberof ApprovalBeta
4135
- */
4136
- 'description'?: Array<ApprovalDescriptionBeta>;
4137
- /**
4138
- * The priority of the approval
4139
- * @type {string}
4140
- * @memberof ApprovalBeta
4141
- */
4142
- 'priority'?: ApprovalBetaPriorityBeta;
4143
- /**
4144
- * Object representation of the requester of the approval
4145
- * @type {ApprovalIdentityBeta}
4146
- * @memberof ApprovalBeta
4147
- */
4148
- 'requester'?: ApprovalIdentityBeta;
4149
- /**
4150
- * Object representation of a comment on the approval
4151
- * @type {Array<ApprovalCommentBeta>}
4152
- * @memberof ApprovalBeta
4153
- */
4154
- 'comments'?: Array<ApprovalCommentBeta>;
4155
- /**
4156
- * Array of approvers who have approved the approval
4157
- * @type {Array<ApprovalIdentityBeta>}
4158
- * @memberof ApprovalBeta
4159
- */
4160
- 'approvedBy'?: Array<ApprovalIdentityBeta>;
4161
- /**
4162
- * Array of approvers who have rejected the approval
4163
- * @type {Array<ApprovalIdentityBeta>}
4164
- * @memberof ApprovalBeta
4165
- */
4166
- 'rejectedBy'?: Array<ApprovalIdentityBeta>;
4167
- /**
4168
- * Date the approval was completed
4169
- * @type {string}
4170
- * @memberof ApprovalBeta
4171
- */
4172
- 'completedDate'?: string;
4173
- /**
4174
- * Criteria that needs to be met for an approval to be marked as approved
4175
- * @type {string}
4176
- * @memberof ApprovalBeta
4177
- */
4178
- 'approvalCriteria'?: ApprovalBetaApprovalCriteriaBeta;
4179
- /**
4180
- * The current status of the approval
4181
- * @type {string}
4182
- * @memberof ApprovalBeta
4183
- */
4184
- 'status'?: ApprovalBetaStatusBeta;
4185
- /**
4186
- * Json string representing additional attributes known about the object to be approved.
4187
- * @type {string}
4188
- * @memberof ApprovalBeta
4189
- */
4190
- 'additionalAttributes'?: string;
4191
- /**
4192
- * Reference data related to the approval
4193
- * @type {Array<ApprovalReferenceBeta>}
4194
- * @memberof ApprovalBeta
4195
- */
4196
- 'referenceData'?: Array<ApprovalReferenceBeta>;
4197
- }
4198
-
4199
- export const ApprovalBetaPriorityBeta = {
4200
- High: 'HIGH',
4201
- Medium: 'MEDIUM',
4202
- Low: 'LOW'
4203
- } as const;
4204
-
4205
- export type ApprovalBetaPriorityBeta = typeof ApprovalBetaPriorityBeta[keyof typeof ApprovalBetaPriorityBeta];
4206
- export const ApprovalBetaApprovalCriteriaBeta = {
4207
- Single: 'SINGLE',
4208
- Double: 'DOUBLE',
4209
- Triple: 'TRIPLE',
4210
- Quarter: 'QUARTER',
4211
- Half: 'HALF',
4212
- All: 'ALL'
4213
- } as const;
4214
-
4215
- export type ApprovalBetaApprovalCriteriaBeta = typeof ApprovalBetaApprovalCriteriaBeta[keyof typeof ApprovalBetaApprovalCriteriaBeta];
4216
- export const ApprovalBetaStatusBeta = {
4217
- Pending: 'PENDING',
4218
- Approved: 'APPROVED',
4219
- Rejected: 'REJECTED'
4220
- } as const;
4221
-
4222
- export type ApprovalBetaStatusBeta = typeof ApprovalBetaStatusBeta[keyof typeof ApprovalBetaStatusBeta];
4223
-
4224
- /**
4225
- * Comments Object
4226
- * @export
4227
- * @interface ApprovalCommentBeta
4228
- */
4229
- export interface ApprovalCommentBeta {
4230
- /**
4231
- *
4232
- * @type {ApprovalIdentityBeta}
4233
- * @memberof ApprovalCommentBeta
4234
- */
4235
- 'author'?: ApprovalIdentityBeta;
4236
- /**
4237
- * Comment to be left on an approval
4238
- * @type {string}
4239
- * @memberof ApprovalCommentBeta
4240
- */
4241
- 'comment'?: string;
4242
- /**
4243
- * Date the comment was created
4244
- * @type {string}
4245
- * @memberof ApprovalCommentBeta
4246
- */
4247
- 'createdDate'?: string;
4248
- }
4249
- /**
4250
- * The description of what the approval is asking for
4251
- * @export
4252
- * @interface ApprovalDescriptionBeta
4253
- */
4254
- export interface ApprovalDescriptionBeta {
4255
- /**
4256
- * The description of what the approval is asking for
4257
- * @type {string}
4258
- * @memberof ApprovalDescriptionBeta
4259
- */
4260
- 'value'?: string;
4261
- /**
4262
- * What locale the description of the approval is using
4263
- * @type {string}
4264
- * @memberof ApprovalDescriptionBeta
4265
- */
4266
- 'locale'?: string;
4267
- }
4268
4070
  /**
4269
4071
  *
4270
4072
  * @export
@@ -4310,38 +4112,6 @@ export interface ApprovalForwardHistoryBeta {
4310
4112
  }
4311
4113
 
4312
4114
 
4313
- /**
4314
- * Identity Object
4315
- * @export
4316
- * @interface ApprovalIdentityBeta
4317
- */
4318
- export interface ApprovalIdentityBeta {
4319
- /**
4320
- * The identity ID
4321
- * @type {string}
4322
- * @memberof ApprovalIdentityBeta
4323
- */
4324
- 'id'?: string;
4325
- /**
4326
- * Indication of what group the identity belongs to. Ie, IDENTITY, GOVERNANCE_GROUP, etc
4327
- * @type {string}
4328
- * @memberof ApprovalIdentityBeta
4329
- */
4330
- 'type'?: ApprovalIdentityBetaTypeBeta;
4331
- /**
4332
- * Name of the identity
4333
- * @type {string}
4334
- * @memberof ApprovalIdentityBeta
4335
- */
4336
- 'name'?: string;
4337
- }
4338
-
4339
- export const ApprovalIdentityBetaTypeBeta = {
4340
- Identity: 'IDENTITY'
4341
- } as const;
4342
-
4343
- export type ApprovalIdentityBetaTypeBeta = typeof ApprovalIdentityBetaTypeBeta[keyof typeof ApprovalIdentityBetaTypeBeta];
4344
-
4345
4115
  /**
4346
4116
  *
4347
4117
  * @export
@@ -4469,44 +4239,6 @@ export interface ApprovalItemsBeta {
4469
4239
  }
4470
4240
 
4471
4241
 
4472
- /**
4473
- * Approval Name Object
4474
- * @export
4475
- * @interface ApprovalNameBeta
4476
- */
4477
- export interface ApprovalNameBeta {
4478
- /**
4479
- * Name of the approval
4480
- * @type {string}
4481
- * @memberof ApprovalNameBeta
4482
- */
4483
- 'value'?: string;
4484
- /**
4485
- * What locale the name of the approval is using
4486
- * @type {string}
4487
- * @memberof ApprovalNameBeta
4488
- */
4489
- 'locale'?: string;
4490
- }
4491
- /**
4492
- * Reference objects related to the approval
4493
- * @export
4494
- * @interface ApprovalReferenceBeta
4495
- */
4496
- export interface ApprovalReferenceBeta {
4497
- /**
4498
- * Id of the reference object
4499
- * @type {string}
4500
- * @memberof ApprovalReferenceBeta
4501
- */
4502
- 'id'?: string;
4503
- /**
4504
- * What reference object does this ID correspond to
4505
- * @type {string}
4506
- * @memberof ApprovalReferenceBeta
4507
- */
4508
- 'type'?: string;
4509
- }
4510
4242
  /**
4511
4243
  *
4512
4244
  * @export
@@ -11565,47 +11297,65 @@ export type FormInstanceRecipientBetaTypeBeta = typeof FormInstanceRecipientBeta
11565
11297
  */
11566
11298
  export interface FormInstanceResponseBeta {
11567
11299
  /**
11568
- * Created is the date the form instance was assigned
11300
+ * Unique guid identifying this form instance
11569
11301
  * @type {string}
11570
11302
  * @memberof FormInstanceResponseBeta
11571
11303
  */
11572
- 'created'?: string;
11304
+ 'id'?: string;
11573
11305
  /**
11574
- *
11575
- * @type {FormInstanceCreatedByBeta}
11306
+ * Expire is the maximum amount of time that a form can be in progress. After this time is reached then the form will be moved to a CANCELED state automatically. The user will no longer be able to complete the submission. When a form instance is expires an audit log will be generated for that record
11307
+ * @type {string}
11576
11308
  * @memberof FormInstanceResponseBeta
11577
11309
  */
11578
- 'createdBy'?: FormInstanceCreatedByBeta;
11310
+ 'expire'?: string;
11579
11311
  /**
11580
- * Expire is the maximum amount of time that a form can be in progress. After this time is reached then the form will be moved to a CANCELED state automatically. The user will no longer be able to complete the submission. When a form instance is expires an audit log will be generated for that record
11312
+ * State the state of the form instance ASSIGNED FormInstanceStateAssigned IN_PROGRESS FormInstanceStateInProgress SUBMITTED FormInstanceStateSubmitted COMPLETED FormInstanceStateCompleted CANCELLED FormInstanceStateCancelled
11581
11313
  * @type {string}
11582
11314
  * @memberof FormInstanceResponseBeta
11583
11315
  */
11584
- 'expire'?: string;
11316
+ 'state'?: FormInstanceResponseBetaStateBeta;
11585
11317
  /**
11586
- * FormConditions is the conditional logic that modify the form dynamically modify the form as the recipient is interacting out the form
11587
- * @type {Array<FormConditionBeta>}
11318
+ * StandAloneForm is a boolean flag to indicate if this form should be available for users to complete via the standalone form UI or should this only be available to be completed by as an embedded form
11319
+ * @type {boolean}
11588
11320
  * @memberof FormInstanceResponseBeta
11589
11321
  */
11590
- 'formConditions'?: Array<FormConditionBeta>;
11322
+ 'standAloneForm'?: boolean;
11591
11323
  /**
11592
- * FormData is the data provided by the form on submit. The data is in a key -> value map
11593
- * @type {{ [key: string]: any; }}
11324
+ * StandAloneFormURL is the URL where this form may be completed by the designated recipients using the standalone form UI
11325
+ * @type {string}
11594
11326
  * @memberof FormInstanceResponseBeta
11595
11327
  */
11596
- 'formData'?: { [key: string]: any; } | null;
11328
+ 'standAloneFormUrl'?: string;
11329
+ /**
11330
+ *
11331
+ * @type {FormInstanceCreatedByBeta}
11332
+ * @memberof FormInstanceResponseBeta
11333
+ */
11334
+ 'createdBy'?: FormInstanceCreatedByBeta;
11597
11335
  /**
11598
11336
  * FormDefinitionID is the id of the form definition that created this form
11599
11337
  * @type {string}
11600
11338
  * @memberof FormInstanceResponseBeta
11601
11339
  */
11602
11340
  'formDefinitionId'?: string;
11341
+ /**
11342
+ * FormInput is an object of form input labels to value
11343
+ * @type {{ [key: string]: object; }}
11344
+ * @memberof FormInstanceResponseBeta
11345
+ */
11346
+ 'formInput'?: { [key: string]: object; } | null;
11603
11347
  /**
11604
11348
  * FormElements is the configuration of the form, this would be a repeat of the fields from the form-config
11605
11349
  * @type {Array<FormElementBeta>}
11606
11350
  * @memberof FormInstanceResponseBeta
11607
11351
  */
11608
11352
  'formElements'?: Array<FormElementBeta>;
11353
+ /**
11354
+ * FormData is the data provided by the form on submit. The data is in a key -> value map
11355
+ * @type {{ [key: string]: any; }}
11356
+ * @memberof FormInstanceResponseBeta
11357
+ */
11358
+ 'formData'?: { [key: string]: any; } | null;
11609
11359
  /**
11610
11360
  * FormErrors is an array of form validation errors from the last time the form instance was transitioned to the SUBMITTED state. If the form instance had validation errors then it would be moved to the IN PROGRESS state where the client can retrieve these errors
11611
11361
  * @type {Array<FormErrorBeta>}
@@ -11613,17 +11363,17 @@ export interface FormInstanceResponseBeta {
11613
11363
  */
11614
11364
  'formErrors'?: Array<FormErrorBeta>;
11615
11365
  /**
11616
- * FormInput is an object of form input labels to value
11617
- * @type {{ [key: string]: object; }}
11366
+ * FormConditions is the conditional logic that modify the form dynamically modify the form as the recipient is interacting out the form
11367
+ * @type {Array<FormConditionBeta>}
11618
11368
  * @memberof FormInstanceResponseBeta
11619
11369
  */
11620
- 'formInput'?: { [key: string]: object; } | null;
11370
+ 'formConditions'?: Array<FormConditionBeta>;
11621
11371
  /**
11622
- * Unique guid identifying this form instance
11372
+ * Created is the date the form instance was assigned
11623
11373
  * @type {string}
11624
11374
  * @memberof FormInstanceResponseBeta
11625
11375
  */
11626
- 'id'?: string;
11376
+ 'created'?: string;
11627
11377
  /**
11628
11378
  * Modified is the last date the form instance was modified
11629
11379
  * @type {string}
@@ -11636,24 +11386,6 @@ export interface FormInstanceResponseBeta {
11636
11386
  * @memberof FormInstanceResponseBeta
11637
11387
  */
11638
11388
  'recipients'?: Array<FormInstanceRecipientBeta>;
11639
- /**
11640
- * StandAloneForm is a boolean flag to indicate if this form should be available for users to complete via the standalone form UI or should this only be available to be completed by as an embedded form
11641
- * @type {boolean}
11642
- * @memberof FormInstanceResponseBeta
11643
- */
11644
- 'standAloneForm'?: boolean;
11645
- /**
11646
- * StandAloneFormURL is the URL where this form may be completed by the designated recipients using the standalone form UI
11647
- * @type {string}
11648
- * @memberof FormInstanceResponseBeta
11649
- */
11650
- 'standAloneFormUrl'?: string;
11651
- /**
11652
- * State the state of the form instance ASSIGNED FormInstanceStateAssigned IN_PROGRESS FormInstanceStateInProgress SUBMITTED FormInstanceStateSubmitted COMPLETED FormInstanceStateCompleted CANCELLED FormInstanceStateCancelled
11653
- * @type {string}
11654
- * @memberof FormInstanceResponseBeta
11655
- */
11656
- 'state'?: FormInstanceResponseBetaStateBeta;
11657
11389
  }
11658
11390
 
11659
11391
  export const FormInstanceResponseBetaStateBeta = {
@@ -14570,12 +14302,6 @@ export interface IdentityWithNewAccessAccessRefsInnerBeta {
14570
14302
  * @memberof IdentityWithNewAccessAccessRefsInnerBeta
14571
14303
  */
14572
14304
  'id'?: string;
14573
- /**
14574
- * Entitlement\'s display name.
14575
- * @type {string}
14576
- * @memberof IdentityWithNewAccessAccessRefsInnerBeta
14577
- */
14578
- 'name'?: string;
14579
14305
  }
14580
14306
 
14581
14307
  export const IdentityWithNewAccessAccessRefsInnerBetaTypeBeta = {
@@ -28638,10 +28364,10 @@ export interface SourceBeta {
28638
28364
  'description'?: string;
28639
28365
  /**
28640
28366
  *
28641
- * @type {MultiHostIntegrationsOwnerBeta}
28367
+ * @type {SourceOwnerBeta}
28642
28368
  * @memberof SourceBeta
28643
28369
  */
28644
- 'owner': MultiHostIntegrationsOwnerBeta;
28370
+ 'owner': SourceOwnerBeta | null;
28645
28371
  /**
28646
28372
  *
28647
28373
  * @type {MultiHostIntegrationsClusterBeta}
@@ -29140,6 +28866,38 @@ export interface SourceItemRefBeta {
29140
28866
  */
29141
28867
  'accounts'?: Array<AccountItemRefBeta> | null;
29142
28868
  }
28869
+ /**
28870
+ * Reference to identity object who owns the source.
28871
+ * @export
28872
+ * @interface SourceOwnerBeta
28873
+ */
28874
+ export interface SourceOwnerBeta {
28875
+ /**
28876
+ * Type of object being referenced.
28877
+ * @type {string}
28878
+ * @memberof SourceOwnerBeta
28879
+ */
28880
+ 'type'?: SourceOwnerBetaTypeBeta;
28881
+ /**
28882
+ * Owner identity\'s ID.
28883
+ * @type {string}
28884
+ * @memberof SourceOwnerBeta
28885
+ */
28886
+ 'id'?: string;
28887
+ /**
28888
+ * Owner identity\'s human-readable display name.
28889
+ * @type {string}
28890
+ * @memberof SourceOwnerBeta
28891
+ */
28892
+ 'name'?: string;
28893
+ }
28894
+
28895
+ export const SourceOwnerBetaTypeBeta = {
28896
+ Identity: 'IDENTITY'
28897
+ } as const;
28898
+
28899
+ export type SourceOwnerBetaTypeBeta = typeof SourceOwnerBetaTypeBeta[keyof typeof SourceOwnerBetaTypeBeta];
28900
+
29143
28901
  /**
29144
28902
  *
29145
28903
  * @export
@@ -40095,254 +39853,6 @@ export const GetDiscoveredApplicationsDetailBeta = {
40095
39853
  export type GetDiscoveredApplicationsDetailBeta = typeof GetDiscoveredApplicationsDetailBeta[keyof typeof GetDiscoveredApplicationsDetailBeta];
40096
39854
 
40097
39855
 
40098
- /**
40099
- * ApprovalsBetaApi - axios parameter creator
40100
- * @export
40101
- */
40102
- export const ApprovalsBetaApiAxiosParamCreator = function (configuration?: Configuration) {
40103
- return {
40104
- /**
40105
- * Get a single approval for a given approval ID. This endpoint is for generic approvals, unlike the access-request-approval endpoint, and doesn\'t include access-request-approvals.
40106
- * @summary Get approval
40107
- * @param {string} id ID of the approval that to be returned.
40108
- * @param {*} [axiosOptions] Override http request option.
40109
- * @throws {RequiredError}
40110
- */
40111
- getApproval: async (id: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
40112
- // verify required parameter 'id' is not null or undefined
40113
- assertParamExists('getApproval', 'id', id)
40114
- const localVarPath = `/generic-approvals/{id}`
40115
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
40116
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
40117
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
40118
- let baseOptions;
40119
- if (configuration) {
40120
- baseOptions = configuration.baseOptions;
40121
- }
40122
-
40123
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
40124
- const localVarHeaderParameter = {} as any;
40125
- const localVarQueryParameter = {} as any;
40126
-
40127
- // authentication userAuth required
40128
- // oauth required
40129
- await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
40130
-
40131
- // authentication userAuth required
40132
- // oauth required
40133
- await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
40134
-
40135
-
40136
-
40137
- setSearchParams(localVarUrlObj, localVarQueryParameter);
40138
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
40139
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
40140
-
40141
- return {
40142
- url: toPathString(localVarUrlObj),
40143
- axiosOptions: localVarRequestOptions,
40144
- };
40145
- },
40146
- /**
40147
- * Get a list of approvals, which can be filtered by requester ID, status, or reference type. You can use the \"Mine\" query parameter to return all approvals for the current approver. This endpoint is for generic approvals, unlike the access-request-approval endpoint, and does not include access-request-approvals. Absence of all query parameters will will default to mine=true.
40148
- * @summary Get approvals
40149
- * @param {boolean} [mine] Returns the list of approvals for the current caller.
40150
- * @param {string} [requesterId] Returns the list of approvals for a given requester ID.
40151
- * @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: **status**: *eq* **referenceType**: *eq*
40152
- * @param {*} [axiosOptions] Override http request option.
40153
- * @throws {RequiredError}
40154
- */
40155
- getApprovals: async (mine?: boolean, requesterId?: string, filters?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
40156
- const localVarPath = `/generic-approvals`;
40157
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
40158
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
40159
- let baseOptions;
40160
- if (configuration) {
40161
- baseOptions = configuration.baseOptions;
40162
- }
40163
-
40164
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
40165
- const localVarHeaderParameter = {} as any;
40166
- const localVarQueryParameter = {} as any;
40167
-
40168
- // authentication userAuth required
40169
- // oauth required
40170
- await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
40171
-
40172
- // authentication userAuth required
40173
- // oauth required
40174
- await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
40175
-
40176
- if (mine !== undefined) {
40177
- localVarQueryParameter['mine'] = mine;
40178
- }
40179
-
40180
- if (requesterId !== undefined) {
40181
- localVarQueryParameter['requesterId'] = requesterId;
40182
- }
40183
-
40184
- if (filters !== undefined) {
40185
- localVarQueryParameter['filters'] = filters;
40186
- }
40187
-
40188
-
40189
-
40190
- setSearchParams(localVarUrlObj, localVarQueryParameter);
40191
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
40192
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
40193
-
40194
- return {
40195
- url: toPathString(localVarUrlObj),
40196
- axiosOptions: localVarRequestOptions,
40197
- };
40198
- },
40199
- }
40200
- };
40201
-
40202
- /**
40203
- * ApprovalsBetaApi - functional programming interface
40204
- * @export
40205
- */
40206
- export const ApprovalsBetaApiFp = function(configuration?: Configuration) {
40207
- const localVarAxiosParamCreator = ApprovalsBetaApiAxiosParamCreator(configuration)
40208
- return {
40209
- /**
40210
- * Get a single approval for a given approval ID. This endpoint is for generic approvals, unlike the access-request-approval endpoint, and doesn\'t include access-request-approvals.
40211
- * @summary Get approval
40212
- * @param {string} id ID of the approval that to be returned.
40213
- * @param {*} [axiosOptions] Override http request option.
40214
- * @throws {RequiredError}
40215
- */
40216
- async getApproval(id: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApprovalBeta>> {
40217
- const localVarAxiosArgs = await localVarAxiosParamCreator.getApproval(id, axiosOptions);
40218
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
40219
- const localVarOperationServerBasePath = operationServerMap['ApprovalsBetaApi.getApproval']?.[localVarOperationServerIndex]?.url;
40220
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
40221
- },
40222
- /**
40223
- * Get a list of approvals, which can be filtered by requester ID, status, or reference type. You can use the \"Mine\" query parameter to return all approvals for the current approver. This endpoint is for generic approvals, unlike the access-request-approval endpoint, and does not include access-request-approvals. Absence of all query parameters will will default to mine=true.
40224
- * @summary Get approvals
40225
- * @param {boolean} [mine] Returns the list of approvals for the current caller.
40226
- * @param {string} [requesterId] Returns the list of approvals for a given requester ID.
40227
- * @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: **status**: *eq* **referenceType**: *eq*
40228
- * @param {*} [axiosOptions] Override http request option.
40229
- * @throws {RequiredError}
40230
- */
40231
- async getApprovals(mine?: boolean, requesterId?: string, filters?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ApprovalBeta>>> {
40232
- const localVarAxiosArgs = await localVarAxiosParamCreator.getApprovals(mine, requesterId, filters, axiosOptions);
40233
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
40234
- const localVarOperationServerBasePath = operationServerMap['ApprovalsBetaApi.getApprovals']?.[localVarOperationServerIndex]?.url;
40235
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
40236
- },
40237
- }
40238
- };
40239
-
40240
- /**
40241
- * ApprovalsBetaApi - factory interface
40242
- * @export
40243
- */
40244
- export const ApprovalsBetaApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
40245
- const localVarFp = ApprovalsBetaApiFp(configuration)
40246
- return {
40247
- /**
40248
- * Get a single approval for a given approval ID. This endpoint is for generic approvals, unlike the access-request-approval endpoint, and doesn\'t include access-request-approvals.
40249
- * @summary Get approval
40250
- * @param {ApprovalsBetaApiGetApprovalRequest} requestParameters Request parameters.
40251
- * @param {*} [axiosOptions] Override http request option.
40252
- * @throws {RequiredError}
40253
- */
40254
- getApproval(requestParameters: ApprovalsBetaApiGetApprovalRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<ApprovalBeta> {
40255
- return localVarFp.getApproval(requestParameters.id, axiosOptions).then((request) => request(axios, basePath));
40256
- },
40257
- /**
40258
- * Get a list of approvals, which can be filtered by requester ID, status, or reference type. You can use the \"Mine\" query parameter to return all approvals for the current approver. This endpoint is for generic approvals, unlike the access-request-approval endpoint, and does not include access-request-approvals. Absence of all query parameters will will default to mine=true.
40259
- * @summary Get approvals
40260
- * @param {ApprovalsBetaApiGetApprovalsRequest} requestParameters Request parameters.
40261
- * @param {*} [axiosOptions] Override http request option.
40262
- * @throws {RequiredError}
40263
- */
40264
- getApprovals(requestParameters: ApprovalsBetaApiGetApprovalsRequest = {}, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<ApprovalBeta>> {
40265
- return localVarFp.getApprovals(requestParameters.mine, requestParameters.requesterId, requestParameters.filters, axiosOptions).then((request) => request(axios, basePath));
40266
- },
40267
- };
40268
- };
40269
-
40270
- /**
40271
- * Request parameters for getApproval operation in ApprovalsBetaApi.
40272
- * @export
40273
- * @interface ApprovalsBetaApiGetApprovalRequest
40274
- */
40275
- export interface ApprovalsBetaApiGetApprovalRequest {
40276
- /**
40277
- * ID of the approval that to be returned.
40278
- * @type {string}
40279
- * @memberof ApprovalsBetaApiGetApproval
40280
- */
40281
- readonly id: string
40282
- }
40283
-
40284
- /**
40285
- * Request parameters for getApprovals operation in ApprovalsBetaApi.
40286
- * @export
40287
- * @interface ApprovalsBetaApiGetApprovalsRequest
40288
- */
40289
- export interface ApprovalsBetaApiGetApprovalsRequest {
40290
- /**
40291
- * Returns the list of approvals for the current caller.
40292
- * @type {boolean}
40293
- * @memberof ApprovalsBetaApiGetApprovals
40294
- */
40295
- readonly mine?: boolean
40296
-
40297
- /**
40298
- * Returns the list of approvals for a given requester ID.
40299
- * @type {string}
40300
- * @memberof ApprovalsBetaApiGetApprovals
40301
- */
40302
- readonly requesterId?: string
40303
-
40304
- /**
40305
- * 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: **status**: *eq* **referenceType**: *eq*
40306
- * @type {string}
40307
- * @memberof ApprovalsBetaApiGetApprovals
40308
- */
40309
- readonly filters?: string
40310
- }
40311
-
40312
- /**
40313
- * ApprovalsBetaApi - object-oriented interface
40314
- * @export
40315
- * @class ApprovalsBetaApi
40316
- * @extends {BaseAPI}
40317
- */
40318
- export class ApprovalsBetaApi extends BaseAPI {
40319
- /**
40320
- * Get a single approval for a given approval ID. This endpoint is for generic approvals, unlike the access-request-approval endpoint, and doesn\'t include access-request-approvals.
40321
- * @summary Get approval
40322
- * @param {ApprovalsBetaApiGetApprovalRequest} requestParameters Request parameters.
40323
- * @param {*} [axiosOptions] Override http request option.
40324
- * @throws {RequiredError}
40325
- * @memberof ApprovalsBetaApi
40326
- */
40327
- public getApproval(requestParameters: ApprovalsBetaApiGetApprovalRequest, axiosOptions?: RawAxiosRequestConfig) {
40328
- return ApprovalsBetaApiFp(this.configuration).getApproval(requestParameters.id, axiosOptions).then((request) => request(this.axios, this.basePath));
40329
- }
40330
-
40331
- /**
40332
- * Get a list of approvals, which can be filtered by requester ID, status, or reference type. You can use the \"Mine\" query parameter to return all approvals for the current approver. This endpoint is for generic approvals, unlike the access-request-approval endpoint, and does not include access-request-approvals. Absence of all query parameters will will default to mine=true.
40333
- * @summary Get approvals
40334
- * @param {ApprovalsBetaApiGetApprovalsRequest} requestParameters Request parameters.
40335
- * @param {*} [axiosOptions] Override http request option.
40336
- * @throws {RequiredError}
40337
- * @memberof ApprovalsBetaApi
40338
- */
40339
- public getApprovals(requestParameters: ApprovalsBetaApiGetApprovalsRequest = {}, axiosOptions?: RawAxiosRequestConfig) {
40340
- return ApprovalsBetaApiFp(this.configuration).getApprovals(requestParameters.mine, requestParameters.requesterId, requestParameters.filters, axiosOptions).then((request) => request(this.axios, this.basePath));
40341
- }
40342
- }
40343
-
40344
-
40345
-
40346
39856
  /**
40347
39857
  * AppsBetaApi - axios parameter creator
40348
39858
  * @export
@@ -95816,12 +95326,12 @@ export const WorkflowsBetaApiAxiosParamCreator = function (configuration?: Confi
95816
95326
  * @summary List workflows
95817
95327
  * @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
95818
95328
  * @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
95819
- * @param {string} [triggerId] Trigger ID
95820
- * @param {string} [connectorInstanceId] Connector Instance ID
95329
+ * @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: **enabled**: *eq* **connectorInstanceId**: *eq* **triggerId**: *eq*
95330
+ * @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **modified, name**
95821
95331
  * @param {*} [axiosOptions] Override http request option.
95822
95332
  * @throws {RequiredError}
95823
95333
  */
95824
- listWorkflows: async (limit?: number, offset?: number, triggerId?: string, connectorInstanceId?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
95334
+ listWorkflows: async (limit?: number, offset?: number, filters?: string, sorters?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
95825
95335
  const localVarPath = `/workflows`;
95826
95336
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
95827
95337
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -95850,12 +95360,12 @@ export const WorkflowsBetaApiAxiosParamCreator = function (configuration?: Confi
95850
95360
  localVarQueryParameter['offset'] = offset;
95851
95361
  }
95852
95362
 
95853
- if (triggerId !== undefined) {
95854
- localVarQueryParameter['triggerId'] = triggerId;
95363
+ if (filters !== undefined) {
95364
+ localVarQueryParameter['filters'] = filters;
95855
95365
  }
95856
95366
 
95857
- if (connectorInstanceId !== undefined) {
95858
- localVarQueryParameter['connectorInstanceId'] = connectorInstanceId;
95367
+ if (sorters !== undefined) {
95368
+ localVarQueryParameter['sorters'] = sorters;
95859
95369
  }
95860
95370
 
95861
95371
 
@@ -96313,13 +95823,13 @@ export const WorkflowsBetaApiFp = function(configuration?: Configuration) {
96313
95823
  * @summary List workflows
96314
95824
  * @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
96315
95825
  * @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
96316
- * @param {string} [triggerId] Trigger ID
96317
- * @param {string} [connectorInstanceId] Connector Instance ID
95826
+ * @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: **enabled**: *eq* **connectorInstanceId**: *eq* **triggerId**: *eq*
95827
+ * @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **modified, name**
96318
95828
  * @param {*} [axiosOptions] Override http request option.
96319
95829
  * @throws {RequiredError}
96320
95830
  */
96321
- async listWorkflows(limit?: number, offset?: number, triggerId?: string, connectorInstanceId?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<WorkflowBeta>>> {
96322
- const localVarAxiosArgs = await localVarAxiosParamCreator.listWorkflows(limit, offset, triggerId, connectorInstanceId, axiosOptions);
95831
+ async listWorkflows(limit?: number, offset?: number, filters?: string, sorters?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<WorkflowBeta>>> {
95832
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listWorkflows(limit, offset, filters, sorters, axiosOptions);
96323
95833
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
96324
95834
  const localVarOperationServerBasePath = operationServerMap['WorkflowsBetaApi.listWorkflows']?.[localVarOperationServerIndex]?.url;
96325
95835
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -96534,7 +96044,7 @@ export const WorkflowsBetaApiFactory = function (configuration?: Configuration,
96534
96044
  * @throws {RequiredError}
96535
96045
  */
96536
96046
  listWorkflows(requestParameters: WorkflowsBetaApiListWorkflowsRequest = {}, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<WorkflowBeta>> {
96537
- return localVarFp.listWorkflows(requestParameters.limit, requestParameters.offset, requestParameters.triggerId, requestParameters.connectorInstanceId, axiosOptions).then((request) => request(axios, basePath));
96047
+ return localVarFp.listWorkflows(requestParameters.limit, requestParameters.offset, requestParameters.filters, requestParameters.sorters, axiosOptions).then((request) => request(axios, basePath));
96538
96048
  },
96539
96049
  /**
96540
96050
  * Partially update an existing Workflow using [JSON Patch](https://tools.ietf.org/html/rfc6902) syntax.
@@ -96823,18 +96333,18 @@ export interface WorkflowsBetaApiListWorkflowsRequest {
96823
96333
  readonly offset?: number
96824
96334
 
96825
96335
  /**
96826
- * Trigger ID
96336
+ * 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: **enabled**: *eq* **connectorInstanceId**: *eq* **triggerId**: *eq*
96827
96337
  * @type {string}
96828
96338
  * @memberof WorkflowsBetaApiListWorkflows
96829
96339
  */
96830
- readonly triggerId?: string
96340
+ readonly filters?: string
96831
96341
 
96832
96342
  /**
96833
- * Connector Instance ID
96343
+ * Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **modified, name**
96834
96344
  * @type {string}
96835
96345
  * @memberof WorkflowsBetaApiListWorkflows
96836
96346
  */
96837
- readonly connectorInstanceId?: string
96347
+ readonly sorters?: string
96838
96348
  }
96839
96349
 
96840
96350
  /**
@@ -97103,7 +96613,7 @@ export class WorkflowsBetaApi extends BaseAPI {
97103
96613
  * @memberof WorkflowsBetaApi
97104
96614
  */
97105
96615
  public listWorkflows(requestParameters: WorkflowsBetaApiListWorkflowsRequest = {}, axiosOptions?: RawAxiosRequestConfig) {
97106
- return WorkflowsBetaApiFp(this.configuration).listWorkflows(requestParameters.limit, requestParameters.offset, requestParameters.triggerId, requestParameters.connectorInstanceId, axiosOptions).then((request) => request(this.axios, this.basePath));
96616
+ return WorkflowsBetaApiFp(this.configuration).listWorkflows(requestParameters.limit, requestParameters.offset, requestParameters.filters, requestParameters.sorters, axiosOptions).then((request) => request(this.axios, this.basePath));
97107
96617
  }
97108
96618
 
97109
96619
  /**