sailpoint-api-client 1.7.11 → 1.7.13
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.
- package/beta/README.md +2 -2
- package/beta/common.ts +2 -2
- package/beta/package.json +1 -1
- package/dist/beta/common.js +1 -1
- package/dist/v2024/common.js +1 -1
- package/dist/v2025/api.d.ts +729 -0
- package/dist/v2025/api.js +964 -17
- package/dist/v2025/api.js.map +1 -1
- package/dist/v2025/common.js +1 -1
- package/dist/v2026/common.js +1 -1
- package/dist/v3/common.js +1 -1
- package/package.json +1 -1
- package/v2024/README.md +2 -2
- package/v2024/common.ts +2 -2
- package/v2024/package.json +1 -1
- package/v2025/README.md +2 -2
- package/v2025/api.ts +1159 -0
- package/v2025/common.ts +2 -2
- package/v2025/package.json +1 -1
- package/v2026/README.md +2 -2
- package/v2026/common.ts +2 -2
- package/v2026/package.json +1 -1
- package/v3/README.md +2 -2
- package/v3/common.ts +2 -2
- package/v3/package.json +1 -1
package/v2025/api.ts
CHANGED
|
@@ -15516,6 +15516,139 @@ export interface CreatePersonalAccessTokenResponseV2025 {
|
|
|
15516
15516
|
*/
|
|
15517
15517
|
'expirationDate': string;
|
|
15518
15518
|
}
|
|
15519
|
+
/**
|
|
15520
|
+
*
|
|
15521
|
+
* @export
|
|
15522
|
+
* @interface CreatePrivilegeCriteriaRequestGroupsInnerCriteriaItemsInnerV2025
|
|
15523
|
+
*/
|
|
15524
|
+
export interface CreatePrivilegeCriteriaRequestGroupsInnerCriteriaItemsInnerV2025 {
|
|
15525
|
+
/**
|
|
15526
|
+
* The target type of the criteria item.
|
|
15527
|
+
* @type {string}
|
|
15528
|
+
* @memberof CreatePrivilegeCriteriaRequestGroupsInnerCriteriaItemsInnerV2025
|
|
15529
|
+
*/
|
|
15530
|
+
'targetType'?: CreatePrivilegeCriteriaRequestGroupsInnerCriteriaItemsInnerV2025TargetTypeV2025;
|
|
15531
|
+
/**
|
|
15532
|
+
*
|
|
15533
|
+
* @type {string}
|
|
15534
|
+
* @memberof CreatePrivilegeCriteriaRequestGroupsInnerCriteriaItemsInnerV2025
|
|
15535
|
+
*/
|
|
15536
|
+
'operator'?: CreatePrivilegeCriteriaRequestGroupsInnerCriteriaItemsInnerV2025OperatorV2025;
|
|
15537
|
+
/**
|
|
15538
|
+
* The values to evaluate the property against.
|
|
15539
|
+
* @type {Array<string>}
|
|
15540
|
+
* @memberof CreatePrivilegeCriteriaRequestGroupsInnerCriteriaItemsInnerV2025
|
|
15541
|
+
*/
|
|
15542
|
+
'values'?: Array<string>;
|
|
15543
|
+
/**
|
|
15544
|
+
* Whether to ignore case when evaluating the property against the values.
|
|
15545
|
+
* @type {boolean}
|
|
15546
|
+
* @memberof CreatePrivilegeCriteriaRequestGroupsInnerCriteriaItemsInnerV2025
|
|
15547
|
+
*/
|
|
15548
|
+
'ignoreCase'?: boolean;
|
|
15549
|
+
}
|
|
15550
|
+
|
|
15551
|
+
export const CreatePrivilegeCriteriaRequestGroupsInnerCriteriaItemsInnerV2025TargetTypeV2025 = {
|
|
15552
|
+
Group: 'group'
|
|
15553
|
+
} as const;
|
|
15554
|
+
|
|
15555
|
+
export type CreatePrivilegeCriteriaRequestGroupsInnerCriteriaItemsInnerV2025TargetTypeV2025 = typeof CreatePrivilegeCriteriaRequestGroupsInnerCriteriaItemsInnerV2025TargetTypeV2025[keyof typeof CreatePrivilegeCriteriaRequestGroupsInnerCriteriaItemsInnerV2025TargetTypeV2025];
|
|
15556
|
+
export const CreatePrivilegeCriteriaRequestGroupsInnerCriteriaItemsInnerV2025OperatorV2025 = {
|
|
15557
|
+
In: 'IN',
|
|
15558
|
+
Equals: 'EQUALS',
|
|
15559
|
+
NotEquals: 'NOT_EQUALS',
|
|
15560
|
+
Contains: 'CONTAINS',
|
|
15561
|
+
DoesNotContain: 'DOES_NOT_CONTAIN',
|
|
15562
|
+
StartsWith: 'STARTS_WITH',
|
|
15563
|
+
EndsWith: 'ENDS_WITH'
|
|
15564
|
+
} as const;
|
|
15565
|
+
|
|
15566
|
+
export type CreatePrivilegeCriteriaRequestGroupsInnerCriteriaItemsInnerV2025OperatorV2025 = typeof CreatePrivilegeCriteriaRequestGroupsInnerCriteriaItemsInnerV2025OperatorV2025[keyof typeof CreatePrivilegeCriteriaRequestGroupsInnerCriteriaItemsInnerV2025OperatorV2025];
|
|
15567
|
+
|
|
15568
|
+
/**
|
|
15569
|
+
*
|
|
15570
|
+
* @export
|
|
15571
|
+
* @interface CreatePrivilegeCriteriaRequestGroupsInnerV2025
|
|
15572
|
+
*/
|
|
15573
|
+
export interface CreatePrivilegeCriteriaRequestGroupsInnerV2025 {
|
|
15574
|
+
/**
|
|
15575
|
+
* The logical operator to apply between criteria items in the group.
|
|
15576
|
+
* @type {string}
|
|
15577
|
+
* @memberof CreatePrivilegeCriteriaRequestGroupsInnerV2025
|
|
15578
|
+
*/
|
|
15579
|
+
'operator'?: CreatePrivilegeCriteriaRequestGroupsInnerV2025OperatorV2025;
|
|
15580
|
+
/**
|
|
15581
|
+
*
|
|
15582
|
+
* @type {Array<CreatePrivilegeCriteriaRequestGroupsInnerCriteriaItemsInnerV2025>}
|
|
15583
|
+
* @memberof CreatePrivilegeCriteriaRequestGroupsInnerV2025
|
|
15584
|
+
*/
|
|
15585
|
+
'criteriaItems'?: Array<CreatePrivilegeCriteriaRequestGroupsInnerCriteriaItemsInnerV2025>;
|
|
15586
|
+
}
|
|
15587
|
+
|
|
15588
|
+
export const CreatePrivilegeCriteriaRequestGroupsInnerV2025OperatorV2025 = {
|
|
15589
|
+
And: 'AND',
|
|
15590
|
+
Or: 'OR'
|
|
15591
|
+
} as const;
|
|
15592
|
+
|
|
15593
|
+
export type CreatePrivilegeCriteriaRequestGroupsInnerV2025OperatorV2025 = typeof CreatePrivilegeCriteriaRequestGroupsInnerV2025OperatorV2025[keyof typeof CreatePrivilegeCriteriaRequestGroupsInnerV2025OperatorV2025];
|
|
15594
|
+
|
|
15595
|
+
/**
|
|
15596
|
+
*
|
|
15597
|
+
* @export
|
|
15598
|
+
* @interface CreatePrivilegeCriteriaRequestV2025
|
|
15599
|
+
*/
|
|
15600
|
+
export interface CreatePrivilegeCriteriaRequestV2025 {
|
|
15601
|
+
/**
|
|
15602
|
+
* The Id of the source that the criteria is applied to.
|
|
15603
|
+
* @type {string}
|
|
15604
|
+
* @memberof CreatePrivilegeCriteriaRequestV2025
|
|
15605
|
+
*/
|
|
15606
|
+
'sourceId'?: string;
|
|
15607
|
+
/**
|
|
15608
|
+
* The type of criteria being created. Expects \"CUSTOM\".
|
|
15609
|
+
* @type {string}
|
|
15610
|
+
* @memberof CreatePrivilegeCriteriaRequestV2025
|
|
15611
|
+
*/
|
|
15612
|
+
'type'?: CreatePrivilegeCriteriaRequestV2025TypeV2025;
|
|
15613
|
+
/**
|
|
15614
|
+
* The logical operator to apply between groups.
|
|
15615
|
+
* @type {string}
|
|
15616
|
+
* @memberof CreatePrivilegeCriteriaRequestV2025
|
|
15617
|
+
*/
|
|
15618
|
+
'operator'?: CreatePrivilegeCriteriaRequestV2025OperatorV2025;
|
|
15619
|
+
/**
|
|
15620
|
+
*
|
|
15621
|
+
* @type {Array<CreatePrivilegeCriteriaRequestGroupsInnerV2025>}
|
|
15622
|
+
* @memberof CreatePrivilegeCriteriaRequestV2025
|
|
15623
|
+
*/
|
|
15624
|
+
'groups'?: Array<CreatePrivilegeCriteriaRequestGroupsInnerV2025>;
|
|
15625
|
+
/**
|
|
15626
|
+
* The privilege level assigned by this criteria.
|
|
15627
|
+
* @type {string}
|
|
15628
|
+
* @memberof CreatePrivilegeCriteriaRequestV2025
|
|
15629
|
+
*/
|
|
15630
|
+
'privilegeLevel'?: CreatePrivilegeCriteriaRequestV2025PrivilegeLevelV2025;
|
|
15631
|
+
}
|
|
15632
|
+
|
|
15633
|
+
export const CreatePrivilegeCriteriaRequestV2025TypeV2025 = {
|
|
15634
|
+
Custom: 'CUSTOM'
|
|
15635
|
+
} as const;
|
|
15636
|
+
|
|
15637
|
+
export type CreatePrivilegeCriteriaRequestV2025TypeV2025 = typeof CreatePrivilegeCriteriaRequestV2025TypeV2025[keyof typeof CreatePrivilegeCriteriaRequestV2025TypeV2025];
|
|
15638
|
+
export const CreatePrivilegeCriteriaRequestV2025OperatorV2025 = {
|
|
15639
|
+
And: 'AND',
|
|
15640
|
+
Or: 'OR'
|
|
15641
|
+
} as const;
|
|
15642
|
+
|
|
15643
|
+
export type CreatePrivilegeCriteriaRequestV2025OperatorV2025 = typeof CreatePrivilegeCriteriaRequestV2025OperatorV2025[keyof typeof CreatePrivilegeCriteriaRequestV2025OperatorV2025];
|
|
15644
|
+
export const CreatePrivilegeCriteriaRequestV2025PrivilegeLevelV2025 = {
|
|
15645
|
+
High: 'HIGH',
|
|
15646
|
+
Medium: 'MEDIUM',
|
|
15647
|
+
Low: 'LOW'
|
|
15648
|
+
} as const;
|
|
15649
|
+
|
|
15650
|
+
export type CreatePrivilegeCriteriaRequestV2025PrivilegeLevelV2025 = typeof CreatePrivilegeCriteriaRequestV2025PrivilegeLevelV2025[keyof typeof CreatePrivilegeCriteriaRequestV2025PrivilegeLevelV2025];
|
|
15651
|
+
|
|
15519
15652
|
/**
|
|
15520
15653
|
*
|
|
15521
15654
|
* @export
|
|
@@ -33918,6 +34051,190 @@ export interface PreviewDataSourceResponseV2025 {
|
|
|
33918
34051
|
*/
|
|
33919
34052
|
'results'?: Array<FormElementDataSourceConfigOptionsV2025>;
|
|
33920
34053
|
}
|
|
34054
|
+
/**
|
|
34055
|
+
*
|
|
34056
|
+
* @export
|
|
34057
|
+
* @interface PrivilegeCriteriaConfigDTOV2025
|
|
34058
|
+
*/
|
|
34059
|
+
export interface PrivilegeCriteriaConfigDTOV2025 {
|
|
34060
|
+
/**
|
|
34061
|
+
* The Id of the task which is executing the bulk update.
|
|
34062
|
+
* @type {string}
|
|
34063
|
+
* @memberof PrivilegeCriteriaConfigDTOV2025
|
|
34064
|
+
*/
|
|
34065
|
+
'id'?: string;
|
|
34066
|
+
/**
|
|
34067
|
+
* The Id of the source that the criteria configuration is applied to.
|
|
34068
|
+
* @type {string}
|
|
34069
|
+
* @memberof PrivilegeCriteriaConfigDTOV2025
|
|
34070
|
+
*/
|
|
34071
|
+
'sourceId'?: string;
|
|
34072
|
+
/**
|
|
34073
|
+
* The configuration settings for privilege criteria evaluation.
|
|
34074
|
+
* @type {object}
|
|
34075
|
+
* @memberof PrivilegeCriteriaConfigDTOV2025
|
|
34076
|
+
*/
|
|
34077
|
+
'config'?: object;
|
|
34078
|
+
/**
|
|
34079
|
+
* The date and time when the privilege criteria configuration was created.
|
|
34080
|
+
* @type {string}
|
|
34081
|
+
* @memberof PrivilegeCriteriaConfigDTOV2025
|
|
34082
|
+
*/
|
|
34083
|
+
'created'?: string;
|
|
34084
|
+
/**
|
|
34085
|
+
* The date and time when the privilege criteria configuration was last modified.
|
|
34086
|
+
* @type {string}
|
|
34087
|
+
* @memberof PrivilegeCriteriaConfigDTOV2025
|
|
34088
|
+
*/
|
|
34089
|
+
'modified'?: string;
|
|
34090
|
+
}
|
|
34091
|
+
/**
|
|
34092
|
+
*
|
|
34093
|
+
* @export
|
|
34094
|
+
* @interface PrivilegeCriteriaDTOGroupsInnerCriteriaItemsInnerV2025
|
|
34095
|
+
*/
|
|
34096
|
+
export interface PrivilegeCriteriaDTOGroupsInnerCriteriaItemsInnerV2025 {
|
|
34097
|
+
/**
|
|
34098
|
+
* The target type for the criteria item.
|
|
34099
|
+
* @type {string}
|
|
34100
|
+
* @memberof PrivilegeCriteriaDTOGroupsInnerCriteriaItemsInnerV2025
|
|
34101
|
+
*/
|
|
34102
|
+
'targetType'?: PrivilegeCriteriaDTOGroupsInnerCriteriaItemsInnerV2025TargetTypeV2025;
|
|
34103
|
+
/**
|
|
34104
|
+
* The operator to apply to the property and values.
|
|
34105
|
+
* @type {string}
|
|
34106
|
+
* @memberof PrivilegeCriteriaDTOGroupsInnerCriteriaItemsInnerV2025
|
|
34107
|
+
*/
|
|
34108
|
+
'operator'?: PrivilegeCriteriaDTOGroupsInnerCriteriaItemsInnerV2025OperatorV2025;
|
|
34109
|
+
/**
|
|
34110
|
+
*
|
|
34111
|
+
* @type {string}
|
|
34112
|
+
* @memberof PrivilegeCriteriaDTOGroupsInnerCriteriaItemsInnerV2025
|
|
34113
|
+
*/
|
|
34114
|
+
'property'?: string;
|
|
34115
|
+
/**
|
|
34116
|
+
* The values to evaluate the property against.
|
|
34117
|
+
* @type {Array<string>}
|
|
34118
|
+
* @memberof PrivilegeCriteriaDTOGroupsInnerCriteriaItemsInnerV2025
|
|
34119
|
+
*/
|
|
34120
|
+
'values'?: Array<string>;
|
|
34121
|
+
/**
|
|
34122
|
+
* Whether to ignore case when evaluating the property against the values.
|
|
34123
|
+
* @type {boolean}
|
|
34124
|
+
* @memberof PrivilegeCriteriaDTOGroupsInnerCriteriaItemsInnerV2025
|
|
34125
|
+
*/
|
|
34126
|
+
'ignoreCase'?: boolean;
|
|
34127
|
+
}
|
|
34128
|
+
|
|
34129
|
+
export const PrivilegeCriteriaDTOGroupsInnerCriteriaItemsInnerV2025TargetTypeV2025 = {
|
|
34130
|
+
Group: 'group'
|
|
34131
|
+
} as const;
|
|
34132
|
+
|
|
34133
|
+
export type PrivilegeCriteriaDTOGroupsInnerCriteriaItemsInnerV2025TargetTypeV2025 = typeof PrivilegeCriteriaDTOGroupsInnerCriteriaItemsInnerV2025TargetTypeV2025[keyof typeof PrivilegeCriteriaDTOGroupsInnerCriteriaItemsInnerV2025TargetTypeV2025];
|
|
34134
|
+
export const PrivilegeCriteriaDTOGroupsInnerCriteriaItemsInnerV2025OperatorV2025 = {
|
|
34135
|
+
In: 'IN',
|
|
34136
|
+
Equals: 'EQUALS',
|
|
34137
|
+
NotEquals: 'NOT_EQUALS',
|
|
34138
|
+
Contains: 'CONTAINS',
|
|
34139
|
+
DoesNotContain: 'DOES_NOT_CONTAIN',
|
|
34140
|
+
StartsWith: 'STARTS_WITH',
|
|
34141
|
+
EndsWith: 'ENDS_WITH'
|
|
34142
|
+
} as const;
|
|
34143
|
+
|
|
34144
|
+
export type PrivilegeCriteriaDTOGroupsInnerCriteriaItemsInnerV2025OperatorV2025 = typeof PrivilegeCriteriaDTOGroupsInnerCriteriaItemsInnerV2025OperatorV2025[keyof typeof PrivilegeCriteriaDTOGroupsInnerCriteriaItemsInnerV2025OperatorV2025];
|
|
34145
|
+
|
|
34146
|
+
/**
|
|
34147
|
+
*
|
|
34148
|
+
* @export
|
|
34149
|
+
* @interface PrivilegeCriteriaDTOGroupsInnerV2025
|
|
34150
|
+
*/
|
|
34151
|
+
export interface PrivilegeCriteriaDTOGroupsInnerV2025 {
|
|
34152
|
+
/**
|
|
34153
|
+
* The logical operator to apply between criteria items in the group.
|
|
34154
|
+
* @type {string}
|
|
34155
|
+
* @memberof PrivilegeCriteriaDTOGroupsInnerV2025
|
|
34156
|
+
*/
|
|
34157
|
+
'operator'?: PrivilegeCriteriaDTOGroupsInnerV2025OperatorV2025;
|
|
34158
|
+
/**
|
|
34159
|
+
*
|
|
34160
|
+
* @type {Array<PrivilegeCriteriaDTOGroupsInnerCriteriaItemsInnerV2025>}
|
|
34161
|
+
* @memberof PrivilegeCriteriaDTOGroupsInnerV2025
|
|
34162
|
+
*/
|
|
34163
|
+
'criteriaItems'?: Array<PrivilegeCriteriaDTOGroupsInnerCriteriaItemsInnerV2025>;
|
|
34164
|
+
}
|
|
34165
|
+
|
|
34166
|
+
export const PrivilegeCriteriaDTOGroupsInnerV2025OperatorV2025 = {
|
|
34167
|
+
And: 'AND',
|
|
34168
|
+
Or: 'OR'
|
|
34169
|
+
} as const;
|
|
34170
|
+
|
|
34171
|
+
export type PrivilegeCriteriaDTOGroupsInnerV2025OperatorV2025 = typeof PrivilegeCriteriaDTOGroupsInnerV2025OperatorV2025[keyof typeof PrivilegeCriteriaDTOGroupsInnerV2025OperatorV2025];
|
|
34172
|
+
|
|
34173
|
+
/**
|
|
34174
|
+
*
|
|
34175
|
+
* @export
|
|
34176
|
+
* @interface PrivilegeCriteriaDTOV2025
|
|
34177
|
+
*/
|
|
34178
|
+
export interface PrivilegeCriteriaDTOV2025 {
|
|
34179
|
+
/**
|
|
34180
|
+
* The Id of the criteria.
|
|
34181
|
+
* @type {string}
|
|
34182
|
+
* @memberof PrivilegeCriteriaDTOV2025
|
|
34183
|
+
*/
|
|
34184
|
+
'id'?: string;
|
|
34185
|
+
/**
|
|
34186
|
+
* The Id of the source that the criteria is applied to.
|
|
34187
|
+
* @type {string}
|
|
34188
|
+
* @memberof PrivilegeCriteriaDTOV2025
|
|
34189
|
+
*/
|
|
34190
|
+
'sourceId'?: string;
|
|
34191
|
+
/**
|
|
34192
|
+
* The type of criteria.
|
|
34193
|
+
* @type {string}
|
|
34194
|
+
* @memberof PrivilegeCriteriaDTOV2025
|
|
34195
|
+
*/
|
|
34196
|
+
'type'?: PrivilegeCriteriaDTOV2025TypeV2025;
|
|
34197
|
+
/**
|
|
34198
|
+
* The logical operator to apply between groups.
|
|
34199
|
+
* @type {string}
|
|
34200
|
+
* @memberof PrivilegeCriteriaDTOV2025
|
|
34201
|
+
*/
|
|
34202
|
+
'operator'?: PrivilegeCriteriaDTOV2025OperatorV2025;
|
|
34203
|
+
/**
|
|
34204
|
+
*
|
|
34205
|
+
* @type {Array<PrivilegeCriteriaDTOGroupsInnerV2025>}
|
|
34206
|
+
* @memberof PrivilegeCriteriaDTOV2025
|
|
34207
|
+
*/
|
|
34208
|
+
'groups'?: Array<PrivilegeCriteriaDTOGroupsInnerV2025>;
|
|
34209
|
+
/**
|
|
34210
|
+
* The privilege level assigned by this criteria.
|
|
34211
|
+
* @type {string}
|
|
34212
|
+
* @memberof PrivilegeCriteriaDTOV2025
|
|
34213
|
+
*/
|
|
34214
|
+
'privilegeLevel'?: PrivilegeCriteriaDTOV2025PrivilegeLevelV2025;
|
|
34215
|
+
}
|
|
34216
|
+
|
|
34217
|
+
export const PrivilegeCriteriaDTOV2025TypeV2025 = {
|
|
34218
|
+
Custom: 'CUSTOM',
|
|
34219
|
+
Connector: 'CONNECTOR',
|
|
34220
|
+
SingleLevel: 'SINGLE_LEVEL'
|
|
34221
|
+
} as const;
|
|
34222
|
+
|
|
34223
|
+
export type PrivilegeCriteriaDTOV2025TypeV2025 = typeof PrivilegeCriteriaDTOV2025TypeV2025[keyof typeof PrivilegeCriteriaDTOV2025TypeV2025];
|
|
34224
|
+
export const PrivilegeCriteriaDTOV2025OperatorV2025 = {
|
|
34225
|
+
And: 'AND',
|
|
34226
|
+
Or: 'OR'
|
|
34227
|
+
} as const;
|
|
34228
|
+
|
|
34229
|
+
export type PrivilegeCriteriaDTOV2025OperatorV2025 = typeof PrivilegeCriteriaDTOV2025OperatorV2025[keyof typeof PrivilegeCriteriaDTOV2025OperatorV2025];
|
|
34230
|
+
export const PrivilegeCriteriaDTOV2025PrivilegeLevelV2025 = {
|
|
34231
|
+
High: 'HIGH',
|
|
34232
|
+
Medium: 'MEDIUM',
|
|
34233
|
+
Low: 'LOW'
|
|
34234
|
+
} as const;
|
|
34235
|
+
|
|
34236
|
+
export type PrivilegeCriteriaDTOV2025PrivilegeLevelV2025 = typeof PrivilegeCriteriaDTOV2025PrivilegeLevelV2025[keyof typeof PrivilegeCriteriaDTOV2025PrivilegeLevelV2025];
|
|
34237
|
+
|
|
33921
34238
|
/**
|
|
33922
34239
|
*
|
|
33923
34240
|
* @export
|
|
@@ -116883,6 +117200,848 @@ export class PersonalAccessTokensV2025Api extends BaseAPI {
|
|
|
116883
117200
|
|
|
116884
117201
|
|
|
116885
117202
|
|
|
117203
|
+
/**
|
|
117204
|
+
* PrivilegeCriteriaV2025Api - axios parameter creator
|
|
117205
|
+
* @export
|
|
117206
|
+
*/
|
|
117207
|
+
export const PrivilegeCriteriaV2025ApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
117208
|
+
return {
|
|
117209
|
+
/**
|
|
117210
|
+
* Use this API to create a custom privilege criteria
|
|
117211
|
+
* @summary Create custom privilege criteria
|
|
117212
|
+
* @param {CreatePrivilegeCriteriaRequestV2025} createPrivilegeCriteriaRequestV2025 Create custom privilege criteria request body.
|
|
117213
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
117214
|
+
* @throws {RequiredError}
|
|
117215
|
+
*/
|
|
117216
|
+
createCustomPrivilegeCriteria: async (createPrivilegeCriteriaRequestV2025: CreatePrivilegeCriteriaRequestV2025, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
117217
|
+
// verify required parameter 'createPrivilegeCriteriaRequestV2025' is not null or undefined
|
|
117218
|
+
assertParamExists('createCustomPrivilegeCriteria', 'createPrivilegeCriteriaRequestV2025', createPrivilegeCriteriaRequestV2025)
|
|
117219
|
+
const localVarPath = `/criteria/privilege`;
|
|
117220
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
117221
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
117222
|
+
let baseOptions;
|
|
117223
|
+
if (configuration) {
|
|
117224
|
+
baseOptions = configuration.baseOptions;
|
|
117225
|
+
}
|
|
117226
|
+
|
|
117227
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
|
|
117228
|
+
const localVarHeaderParameter = {} as any;
|
|
117229
|
+
const localVarQueryParameter = {} as any;
|
|
117230
|
+
|
|
117231
|
+
// authentication userAuth required
|
|
117232
|
+
// oauth required
|
|
117233
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
117234
|
+
|
|
117235
|
+
// authentication userAuth required
|
|
117236
|
+
// oauth required
|
|
117237
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
117238
|
+
|
|
117239
|
+
|
|
117240
|
+
|
|
117241
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
117242
|
+
|
|
117243
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
117244
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
117245
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
117246
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createPrivilegeCriteriaRequestV2025, localVarRequestOptions, configuration)
|
|
117247
|
+
|
|
117248
|
+
return {
|
|
117249
|
+
url: toPathString(localVarUrlObj),
|
|
117250
|
+
axiosOptions: localVarRequestOptions,
|
|
117251
|
+
};
|
|
117252
|
+
},
|
|
117253
|
+
/**
|
|
117254
|
+
* Use this API to delete a specific custom privilege criteria.
|
|
117255
|
+
* @summary Delete privilege criteria
|
|
117256
|
+
* @param {string} criteriaId The Id of the custom privilege criteria to delete.
|
|
117257
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
117258
|
+
* @throws {RequiredError}
|
|
117259
|
+
*/
|
|
117260
|
+
deleteCustomPrivilegeCriteria: async (criteriaId: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
117261
|
+
// verify required parameter 'criteriaId' is not null or undefined
|
|
117262
|
+
assertParamExists('deleteCustomPrivilegeCriteria', 'criteriaId', criteriaId)
|
|
117263
|
+
const localVarPath = `/criteria/privilege/{criteriaId}`
|
|
117264
|
+
.replace(`{${"criteriaId"}}`, encodeURIComponent(String(criteriaId)));
|
|
117265
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
117266
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
117267
|
+
let baseOptions;
|
|
117268
|
+
if (configuration) {
|
|
117269
|
+
baseOptions = configuration.baseOptions;
|
|
117270
|
+
}
|
|
117271
|
+
|
|
117272
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...axiosOptions};
|
|
117273
|
+
const localVarHeaderParameter = {} as any;
|
|
117274
|
+
const localVarQueryParameter = {} as any;
|
|
117275
|
+
|
|
117276
|
+
// authentication userAuth required
|
|
117277
|
+
// oauth required
|
|
117278
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
117279
|
+
|
|
117280
|
+
// authentication userAuth required
|
|
117281
|
+
// oauth required
|
|
117282
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
117283
|
+
|
|
117284
|
+
|
|
117285
|
+
|
|
117286
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
117287
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
117288
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
117289
|
+
|
|
117290
|
+
return {
|
|
117291
|
+
url: toPathString(localVarUrlObj),
|
|
117292
|
+
axiosOptions: localVarRequestOptions,
|
|
117293
|
+
};
|
|
117294
|
+
},
|
|
117295
|
+
/**
|
|
117296
|
+
* Use this API to get a specific privilege criteria.
|
|
117297
|
+
* @summary Get privilege criteria
|
|
117298
|
+
* @param {string} criteriaId The Id of the privilege criteria record to return.
|
|
117299
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
117300
|
+
* @throws {RequiredError}
|
|
117301
|
+
*/
|
|
117302
|
+
getPrivilegeCriteria: async (criteriaId: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
117303
|
+
// verify required parameter 'criteriaId' is not null or undefined
|
|
117304
|
+
assertParamExists('getPrivilegeCriteria', 'criteriaId', criteriaId)
|
|
117305
|
+
const localVarPath = `/criteria/privilege/{criteriaId}`
|
|
117306
|
+
.replace(`{${"criteriaId"}}`, encodeURIComponent(String(criteriaId)));
|
|
117307
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
117308
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
117309
|
+
let baseOptions;
|
|
117310
|
+
if (configuration) {
|
|
117311
|
+
baseOptions = configuration.baseOptions;
|
|
117312
|
+
}
|
|
117313
|
+
|
|
117314
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
|
|
117315
|
+
const localVarHeaderParameter = {} as any;
|
|
117316
|
+
const localVarQueryParameter = {} as any;
|
|
117317
|
+
|
|
117318
|
+
// authentication userAuth required
|
|
117319
|
+
// oauth required
|
|
117320
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
117321
|
+
|
|
117322
|
+
// authentication userAuth required
|
|
117323
|
+
// oauth required
|
|
117324
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
117325
|
+
|
|
117326
|
+
|
|
117327
|
+
|
|
117328
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
117329
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
117330
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
117331
|
+
|
|
117332
|
+
return {
|
|
117333
|
+
url: toPathString(localVarUrlObj),
|
|
117334
|
+
axiosOptions: localVarRequestOptions,
|
|
117335
|
+
};
|
|
117336
|
+
},
|
|
117337
|
+
/**
|
|
117338
|
+
* Use this API to list all privilege criteria matching a filter
|
|
117339
|
+
* @summary List privilege criteria
|
|
117340
|
+
* @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: **type**: *eq* **sourceId**: *eq* **privilegeLevel**: *eq* **Supported composite operators**: *and* All filter values are case-sensitive for this API. For example, the following is valid: `?filters=type eq \"CUSTOM\" and sourceId eq \"2c91809175e6c63f0175fb5570220569\"`
|
|
117341
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
117342
|
+
* @throws {RequiredError}
|
|
117343
|
+
*/
|
|
117344
|
+
listPrivilegeCriteria: async (filters: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
117345
|
+
// verify required parameter 'filters' is not null or undefined
|
|
117346
|
+
assertParamExists('listPrivilegeCriteria', 'filters', filters)
|
|
117347
|
+
const localVarPath = `/criteria/privilege`;
|
|
117348
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
117349
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
117350
|
+
let baseOptions;
|
|
117351
|
+
if (configuration) {
|
|
117352
|
+
baseOptions = configuration.baseOptions;
|
|
117353
|
+
}
|
|
117354
|
+
|
|
117355
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
|
|
117356
|
+
const localVarHeaderParameter = {} as any;
|
|
117357
|
+
const localVarQueryParameter = {} as any;
|
|
117358
|
+
|
|
117359
|
+
// authentication userAuth required
|
|
117360
|
+
// oauth required
|
|
117361
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
117362
|
+
|
|
117363
|
+
// authentication userAuth required
|
|
117364
|
+
// oauth required
|
|
117365
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
117366
|
+
|
|
117367
|
+
if (filters !== undefined) {
|
|
117368
|
+
localVarQueryParameter['filters'] = filters;
|
|
117369
|
+
}
|
|
117370
|
+
|
|
117371
|
+
|
|
117372
|
+
|
|
117373
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
117374
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
117375
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
117376
|
+
|
|
117377
|
+
return {
|
|
117378
|
+
url: toPathString(localVarUrlObj),
|
|
117379
|
+
axiosOptions: localVarRequestOptions,
|
|
117380
|
+
};
|
|
117381
|
+
},
|
|
117382
|
+
/**
|
|
117383
|
+
* Use this API to update a specific custom privilege criteria by overwriting the information with new information.
|
|
117384
|
+
* @summary Update privilege criteria
|
|
117385
|
+
* @param {string} criteriaId The Id of the privilege criteria record to return.
|
|
117386
|
+
* @param {PrivilegeCriteriaDTOV2025} privilegeCriteriaDTOV2025 The new version of the custom privilege criteria. This overwrites the existing privilege criteria.
|
|
117387
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
117388
|
+
* @throws {RequiredError}
|
|
117389
|
+
*/
|
|
117390
|
+
putCustomPrivilegeCriteriaValue: async (criteriaId: string, privilegeCriteriaDTOV2025: PrivilegeCriteriaDTOV2025, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
117391
|
+
// verify required parameter 'criteriaId' is not null or undefined
|
|
117392
|
+
assertParamExists('putCustomPrivilegeCriteriaValue', 'criteriaId', criteriaId)
|
|
117393
|
+
// verify required parameter 'privilegeCriteriaDTOV2025' is not null or undefined
|
|
117394
|
+
assertParamExists('putCustomPrivilegeCriteriaValue', 'privilegeCriteriaDTOV2025', privilegeCriteriaDTOV2025)
|
|
117395
|
+
const localVarPath = `/criteria/privilege/{criteriaId}`
|
|
117396
|
+
.replace(`{${"criteriaId"}}`, encodeURIComponent(String(criteriaId)));
|
|
117397
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
117398
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
117399
|
+
let baseOptions;
|
|
117400
|
+
if (configuration) {
|
|
117401
|
+
baseOptions = configuration.baseOptions;
|
|
117402
|
+
}
|
|
117403
|
+
|
|
117404
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...axiosOptions};
|
|
117405
|
+
const localVarHeaderParameter = {} as any;
|
|
117406
|
+
const localVarQueryParameter = {} as any;
|
|
117407
|
+
|
|
117408
|
+
// authentication userAuth required
|
|
117409
|
+
// oauth required
|
|
117410
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
117411
|
+
|
|
117412
|
+
// authentication userAuth required
|
|
117413
|
+
// oauth required
|
|
117414
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
117415
|
+
|
|
117416
|
+
|
|
117417
|
+
|
|
117418
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
117419
|
+
|
|
117420
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
117421
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
117422
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
117423
|
+
localVarRequestOptions.data = serializeDataIfNeeded(privilegeCriteriaDTOV2025, localVarRequestOptions, configuration)
|
|
117424
|
+
|
|
117425
|
+
return {
|
|
117426
|
+
url: toPathString(localVarUrlObj),
|
|
117427
|
+
axiosOptions: localVarRequestOptions,
|
|
117428
|
+
};
|
|
117429
|
+
},
|
|
117430
|
+
}
|
|
117431
|
+
};
|
|
117432
|
+
|
|
117433
|
+
/**
|
|
117434
|
+
* PrivilegeCriteriaV2025Api - functional programming interface
|
|
117435
|
+
* @export
|
|
117436
|
+
*/
|
|
117437
|
+
export const PrivilegeCriteriaV2025ApiFp = function(configuration?: Configuration) {
|
|
117438
|
+
const localVarAxiosParamCreator = PrivilegeCriteriaV2025ApiAxiosParamCreator(configuration)
|
|
117439
|
+
return {
|
|
117440
|
+
/**
|
|
117441
|
+
* Use this API to create a custom privilege criteria
|
|
117442
|
+
* @summary Create custom privilege criteria
|
|
117443
|
+
* @param {CreatePrivilegeCriteriaRequestV2025} createPrivilegeCriteriaRequestV2025 Create custom privilege criteria request body.
|
|
117444
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
117445
|
+
* @throws {RequiredError}
|
|
117446
|
+
*/
|
|
117447
|
+
async createCustomPrivilegeCriteria(createPrivilegeCriteriaRequestV2025: CreatePrivilegeCriteriaRequestV2025, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrivilegeCriteriaDTOV2025>> {
|
|
117448
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createCustomPrivilegeCriteria(createPrivilegeCriteriaRequestV2025, axiosOptions);
|
|
117449
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
117450
|
+
const localVarOperationServerBasePath = operationServerMap['PrivilegeCriteriaV2025Api.createCustomPrivilegeCriteria']?.[localVarOperationServerIndex]?.url;
|
|
117451
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
117452
|
+
},
|
|
117453
|
+
/**
|
|
117454
|
+
* Use this API to delete a specific custom privilege criteria.
|
|
117455
|
+
* @summary Delete privilege criteria
|
|
117456
|
+
* @param {string} criteriaId The Id of the custom privilege criteria to delete.
|
|
117457
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
117458
|
+
* @throws {RequiredError}
|
|
117459
|
+
*/
|
|
117460
|
+
async deleteCustomPrivilegeCriteria(criteriaId: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
117461
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCustomPrivilegeCriteria(criteriaId, axiosOptions);
|
|
117462
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
117463
|
+
const localVarOperationServerBasePath = operationServerMap['PrivilegeCriteriaV2025Api.deleteCustomPrivilegeCriteria']?.[localVarOperationServerIndex]?.url;
|
|
117464
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
117465
|
+
},
|
|
117466
|
+
/**
|
|
117467
|
+
* Use this API to get a specific privilege criteria.
|
|
117468
|
+
* @summary Get privilege criteria
|
|
117469
|
+
* @param {string} criteriaId The Id of the privilege criteria record to return.
|
|
117470
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
117471
|
+
* @throws {RequiredError}
|
|
117472
|
+
*/
|
|
117473
|
+
async getPrivilegeCriteria(criteriaId: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrivilegeCriteriaDTOV2025>> {
|
|
117474
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPrivilegeCriteria(criteriaId, axiosOptions);
|
|
117475
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
117476
|
+
const localVarOperationServerBasePath = operationServerMap['PrivilegeCriteriaV2025Api.getPrivilegeCriteria']?.[localVarOperationServerIndex]?.url;
|
|
117477
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
117478
|
+
},
|
|
117479
|
+
/**
|
|
117480
|
+
* Use this API to list all privilege criteria matching a filter
|
|
117481
|
+
* @summary List privilege criteria
|
|
117482
|
+
* @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: **type**: *eq* **sourceId**: *eq* **privilegeLevel**: *eq* **Supported composite operators**: *and* All filter values are case-sensitive for this API. For example, the following is valid: `?filters=type eq \"CUSTOM\" and sourceId eq \"2c91809175e6c63f0175fb5570220569\"`
|
|
117483
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
117484
|
+
* @throws {RequiredError}
|
|
117485
|
+
*/
|
|
117486
|
+
async listPrivilegeCriteria(filters: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PrivilegeCriteriaDTOV2025>>> {
|
|
117487
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPrivilegeCriteria(filters, axiosOptions);
|
|
117488
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
117489
|
+
const localVarOperationServerBasePath = operationServerMap['PrivilegeCriteriaV2025Api.listPrivilegeCriteria']?.[localVarOperationServerIndex]?.url;
|
|
117490
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
117491
|
+
},
|
|
117492
|
+
/**
|
|
117493
|
+
* Use this API to update a specific custom privilege criteria by overwriting the information with new information.
|
|
117494
|
+
* @summary Update privilege criteria
|
|
117495
|
+
* @param {string} criteriaId The Id of the privilege criteria record to return.
|
|
117496
|
+
* @param {PrivilegeCriteriaDTOV2025} privilegeCriteriaDTOV2025 The new version of the custom privilege criteria. This overwrites the existing privilege criteria.
|
|
117497
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
117498
|
+
* @throws {RequiredError}
|
|
117499
|
+
*/
|
|
117500
|
+
async putCustomPrivilegeCriteriaValue(criteriaId: string, privilegeCriteriaDTOV2025: PrivilegeCriteriaDTOV2025, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrivilegeCriteriaDTOV2025>> {
|
|
117501
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putCustomPrivilegeCriteriaValue(criteriaId, privilegeCriteriaDTOV2025, axiosOptions);
|
|
117502
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
117503
|
+
const localVarOperationServerBasePath = operationServerMap['PrivilegeCriteriaV2025Api.putCustomPrivilegeCriteriaValue']?.[localVarOperationServerIndex]?.url;
|
|
117504
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
117505
|
+
},
|
|
117506
|
+
}
|
|
117507
|
+
};
|
|
117508
|
+
|
|
117509
|
+
/**
|
|
117510
|
+
* PrivilegeCriteriaV2025Api - factory interface
|
|
117511
|
+
* @export
|
|
117512
|
+
*/
|
|
117513
|
+
export const PrivilegeCriteriaV2025ApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
117514
|
+
const localVarFp = PrivilegeCriteriaV2025ApiFp(configuration)
|
|
117515
|
+
return {
|
|
117516
|
+
/**
|
|
117517
|
+
* Use this API to create a custom privilege criteria
|
|
117518
|
+
* @summary Create custom privilege criteria
|
|
117519
|
+
* @param {PrivilegeCriteriaV2025ApiCreateCustomPrivilegeCriteriaRequest} requestParameters Request parameters.
|
|
117520
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
117521
|
+
* @throws {RequiredError}
|
|
117522
|
+
*/
|
|
117523
|
+
createCustomPrivilegeCriteria(requestParameters: PrivilegeCriteriaV2025ApiCreateCustomPrivilegeCriteriaRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<PrivilegeCriteriaDTOV2025> {
|
|
117524
|
+
return localVarFp.createCustomPrivilegeCriteria(requestParameters.createPrivilegeCriteriaRequestV2025, axiosOptions).then((request) => request(axios, basePath));
|
|
117525
|
+
},
|
|
117526
|
+
/**
|
|
117527
|
+
* Use this API to delete a specific custom privilege criteria.
|
|
117528
|
+
* @summary Delete privilege criteria
|
|
117529
|
+
* @param {PrivilegeCriteriaV2025ApiDeleteCustomPrivilegeCriteriaRequest} requestParameters Request parameters.
|
|
117530
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
117531
|
+
* @throws {RequiredError}
|
|
117532
|
+
*/
|
|
117533
|
+
deleteCustomPrivilegeCriteria(requestParameters: PrivilegeCriteriaV2025ApiDeleteCustomPrivilegeCriteriaRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
117534
|
+
return localVarFp.deleteCustomPrivilegeCriteria(requestParameters.criteriaId, axiosOptions).then((request) => request(axios, basePath));
|
|
117535
|
+
},
|
|
117536
|
+
/**
|
|
117537
|
+
* Use this API to get a specific privilege criteria.
|
|
117538
|
+
* @summary Get privilege criteria
|
|
117539
|
+
* @param {PrivilegeCriteriaV2025ApiGetPrivilegeCriteriaRequest} requestParameters Request parameters.
|
|
117540
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
117541
|
+
* @throws {RequiredError}
|
|
117542
|
+
*/
|
|
117543
|
+
getPrivilegeCriteria(requestParameters: PrivilegeCriteriaV2025ApiGetPrivilegeCriteriaRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<PrivilegeCriteriaDTOV2025> {
|
|
117544
|
+
return localVarFp.getPrivilegeCriteria(requestParameters.criteriaId, axiosOptions).then((request) => request(axios, basePath));
|
|
117545
|
+
},
|
|
117546
|
+
/**
|
|
117547
|
+
* Use this API to list all privilege criteria matching a filter
|
|
117548
|
+
* @summary List privilege criteria
|
|
117549
|
+
* @param {PrivilegeCriteriaV2025ApiListPrivilegeCriteriaRequest} requestParameters Request parameters.
|
|
117550
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
117551
|
+
* @throws {RequiredError}
|
|
117552
|
+
*/
|
|
117553
|
+
listPrivilegeCriteria(requestParameters: PrivilegeCriteriaV2025ApiListPrivilegeCriteriaRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<PrivilegeCriteriaDTOV2025>> {
|
|
117554
|
+
return localVarFp.listPrivilegeCriteria(requestParameters.filters, axiosOptions).then((request) => request(axios, basePath));
|
|
117555
|
+
},
|
|
117556
|
+
/**
|
|
117557
|
+
* Use this API to update a specific custom privilege criteria by overwriting the information with new information.
|
|
117558
|
+
* @summary Update privilege criteria
|
|
117559
|
+
* @param {PrivilegeCriteriaV2025ApiPutCustomPrivilegeCriteriaValueRequest} requestParameters Request parameters.
|
|
117560
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
117561
|
+
* @throws {RequiredError}
|
|
117562
|
+
*/
|
|
117563
|
+
putCustomPrivilegeCriteriaValue(requestParameters: PrivilegeCriteriaV2025ApiPutCustomPrivilegeCriteriaValueRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<PrivilegeCriteriaDTOV2025> {
|
|
117564
|
+
return localVarFp.putCustomPrivilegeCriteriaValue(requestParameters.criteriaId, requestParameters.privilegeCriteriaDTOV2025, axiosOptions).then((request) => request(axios, basePath));
|
|
117565
|
+
},
|
|
117566
|
+
};
|
|
117567
|
+
};
|
|
117568
|
+
|
|
117569
|
+
/**
|
|
117570
|
+
* Request parameters for createCustomPrivilegeCriteria operation in PrivilegeCriteriaV2025Api.
|
|
117571
|
+
* @export
|
|
117572
|
+
* @interface PrivilegeCriteriaV2025ApiCreateCustomPrivilegeCriteriaRequest
|
|
117573
|
+
*/
|
|
117574
|
+
export interface PrivilegeCriteriaV2025ApiCreateCustomPrivilegeCriteriaRequest {
|
|
117575
|
+
/**
|
|
117576
|
+
* Create custom privilege criteria request body.
|
|
117577
|
+
* @type {CreatePrivilegeCriteriaRequestV2025}
|
|
117578
|
+
* @memberof PrivilegeCriteriaV2025ApiCreateCustomPrivilegeCriteria
|
|
117579
|
+
*/
|
|
117580
|
+
readonly createPrivilegeCriteriaRequestV2025: CreatePrivilegeCriteriaRequestV2025
|
|
117581
|
+
}
|
|
117582
|
+
|
|
117583
|
+
/**
|
|
117584
|
+
* Request parameters for deleteCustomPrivilegeCriteria operation in PrivilegeCriteriaV2025Api.
|
|
117585
|
+
* @export
|
|
117586
|
+
* @interface PrivilegeCriteriaV2025ApiDeleteCustomPrivilegeCriteriaRequest
|
|
117587
|
+
*/
|
|
117588
|
+
export interface PrivilegeCriteriaV2025ApiDeleteCustomPrivilegeCriteriaRequest {
|
|
117589
|
+
/**
|
|
117590
|
+
* The Id of the custom privilege criteria to delete.
|
|
117591
|
+
* @type {string}
|
|
117592
|
+
* @memberof PrivilegeCriteriaV2025ApiDeleteCustomPrivilegeCriteria
|
|
117593
|
+
*/
|
|
117594
|
+
readonly criteriaId: string
|
|
117595
|
+
}
|
|
117596
|
+
|
|
117597
|
+
/**
|
|
117598
|
+
* Request parameters for getPrivilegeCriteria operation in PrivilegeCriteriaV2025Api.
|
|
117599
|
+
* @export
|
|
117600
|
+
* @interface PrivilegeCriteriaV2025ApiGetPrivilegeCriteriaRequest
|
|
117601
|
+
*/
|
|
117602
|
+
export interface PrivilegeCriteriaV2025ApiGetPrivilegeCriteriaRequest {
|
|
117603
|
+
/**
|
|
117604
|
+
* The Id of the privilege criteria record to return.
|
|
117605
|
+
* @type {string}
|
|
117606
|
+
* @memberof PrivilegeCriteriaV2025ApiGetPrivilegeCriteria
|
|
117607
|
+
*/
|
|
117608
|
+
readonly criteriaId: string
|
|
117609
|
+
}
|
|
117610
|
+
|
|
117611
|
+
/**
|
|
117612
|
+
* Request parameters for listPrivilegeCriteria operation in PrivilegeCriteriaV2025Api.
|
|
117613
|
+
* @export
|
|
117614
|
+
* @interface PrivilegeCriteriaV2025ApiListPrivilegeCriteriaRequest
|
|
117615
|
+
*/
|
|
117616
|
+
export interface PrivilegeCriteriaV2025ApiListPrivilegeCriteriaRequest {
|
|
117617
|
+
/**
|
|
117618
|
+
* 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: **type**: *eq* **sourceId**: *eq* **privilegeLevel**: *eq* **Supported composite operators**: *and* All filter values are case-sensitive for this API. For example, the following is valid: `?filters=type eq \"CUSTOM\" and sourceId eq \"2c91809175e6c63f0175fb5570220569\"`
|
|
117619
|
+
* @type {string}
|
|
117620
|
+
* @memberof PrivilegeCriteriaV2025ApiListPrivilegeCriteria
|
|
117621
|
+
*/
|
|
117622
|
+
readonly filters: string
|
|
117623
|
+
}
|
|
117624
|
+
|
|
117625
|
+
/**
|
|
117626
|
+
* Request parameters for putCustomPrivilegeCriteriaValue operation in PrivilegeCriteriaV2025Api.
|
|
117627
|
+
* @export
|
|
117628
|
+
* @interface PrivilegeCriteriaV2025ApiPutCustomPrivilegeCriteriaValueRequest
|
|
117629
|
+
*/
|
|
117630
|
+
export interface PrivilegeCriteriaV2025ApiPutCustomPrivilegeCriteriaValueRequest {
|
|
117631
|
+
/**
|
|
117632
|
+
* The Id of the privilege criteria record to return.
|
|
117633
|
+
* @type {string}
|
|
117634
|
+
* @memberof PrivilegeCriteriaV2025ApiPutCustomPrivilegeCriteriaValue
|
|
117635
|
+
*/
|
|
117636
|
+
readonly criteriaId: string
|
|
117637
|
+
|
|
117638
|
+
/**
|
|
117639
|
+
* The new version of the custom privilege criteria. This overwrites the existing privilege criteria.
|
|
117640
|
+
* @type {PrivilegeCriteriaDTOV2025}
|
|
117641
|
+
* @memberof PrivilegeCriteriaV2025ApiPutCustomPrivilegeCriteriaValue
|
|
117642
|
+
*/
|
|
117643
|
+
readonly privilegeCriteriaDTOV2025: PrivilegeCriteriaDTOV2025
|
|
117644
|
+
}
|
|
117645
|
+
|
|
117646
|
+
/**
|
|
117647
|
+
* PrivilegeCriteriaV2025Api - object-oriented interface
|
|
117648
|
+
* @export
|
|
117649
|
+
* @class PrivilegeCriteriaV2025Api
|
|
117650
|
+
* @extends {BaseAPI}
|
|
117651
|
+
*/
|
|
117652
|
+
export class PrivilegeCriteriaV2025Api extends BaseAPI {
|
|
117653
|
+
/**
|
|
117654
|
+
* Use this API to create a custom privilege criteria
|
|
117655
|
+
* @summary Create custom privilege criteria
|
|
117656
|
+
* @param {PrivilegeCriteriaV2025ApiCreateCustomPrivilegeCriteriaRequest} requestParameters Request parameters.
|
|
117657
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
117658
|
+
* @throws {RequiredError}
|
|
117659
|
+
* @memberof PrivilegeCriteriaV2025Api
|
|
117660
|
+
*/
|
|
117661
|
+
public createCustomPrivilegeCriteria(requestParameters: PrivilegeCriteriaV2025ApiCreateCustomPrivilegeCriteriaRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
117662
|
+
return PrivilegeCriteriaV2025ApiFp(this.configuration).createCustomPrivilegeCriteria(requestParameters.createPrivilegeCriteriaRequestV2025, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
117663
|
+
}
|
|
117664
|
+
|
|
117665
|
+
/**
|
|
117666
|
+
* Use this API to delete a specific custom privilege criteria.
|
|
117667
|
+
* @summary Delete privilege criteria
|
|
117668
|
+
* @param {PrivilegeCriteriaV2025ApiDeleteCustomPrivilegeCriteriaRequest} requestParameters Request parameters.
|
|
117669
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
117670
|
+
* @throws {RequiredError}
|
|
117671
|
+
* @memberof PrivilegeCriteriaV2025Api
|
|
117672
|
+
*/
|
|
117673
|
+
public deleteCustomPrivilegeCriteria(requestParameters: PrivilegeCriteriaV2025ApiDeleteCustomPrivilegeCriteriaRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
117674
|
+
return PrivilegeCriteriaV2025ApiFp(this.configuration).deleteCustomPrivilegeCriteria(requestParameters.criteriaId, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
117675
|
+
}
|
|
117676
|
+
|
|
117677
|
+
/**
|
|
117678
|
+
* Use this API to get a specific privilege criteria.
|
|
117679
|
+
* @summary Get privilege criteria
|
|
117680
|
+
* @param {PrivilegeCriteriaV2025ApiGetPrivilegeCriteriaRequest} requestParameters Request parameters.
|
|
117681
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
117682
|
+
* @throws {RequiredError}
|
|
117683
|
+
* @memberof PrivilegeCriteriaV2025Api
|
|
117684
|
+
*/
|
|
117685
|
+
public getPrivilegeCriteria(requestParameters: PrivilegeCriteriaV2025ApiGetPrivilegeCriteriaRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
117686
|
+
return PrivilegeCriteriaV2025ApiFp(this.configuration).getPrivilegeCriteria(requestParameters.criteriaId, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
117687
|
+
}
|
|
117688
|
+
|
|
117689
|
+
/**
|
|
117690
|
+
* Use this API to list all privilege criteria matching a filter
|
|
117691
|
+
* @summary List privilege criteria
|
|
117692
|
+
* @param {PrivilegeCriteriaV2025ApiListPrivilegeCriteriaRequest} requestParameters Request parameters.
|
|
117693
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
117694
|
+
* @throws {RequiredError}
|
|
117695
|
+
* @memberof PrivilegeCriteriaV2025Api
|
|
117696
|
+
*/
|
|
117697
|
+
public listPrivilegeCriteria(requestParameters: PrivilegeCriteriaV2025ApiListPrivilegeCriteriaRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
117698
|
+
return PrivilegeCriteriaV2025ApiFp(this.configuration).listPrivilegeCriteria(requestParameters.filters, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
117699
|
+
}
|
|
117700
|
+
|
|
117701
|
+
/**
|
|
117702
|
+
* Use this API to update a specific custom privilege criteria by overwriting the information with new information.
|
|
117703
|
+
* @summary Update privilege criteria
|
|
117704
|
+
* @param {PrivilegeCriteriaV2025ApiPutCustomPrivilegeCriteriaValueRequest} requestParameters Request parameters.
|
|
117705
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
117706
|
+
* @throws {RequiredError}
|
|
117707
|
+
* @memberof PrivilegeCriteriaV2025Api
|
|
117708
|
+
*/
|
|
117709
|
+
public putCustomPrivilegeCriteriaValue(requestParameters: PrivilegeCriteriaV2025ApiPutCustomPrivilegeCriteriaValueRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
117710
|
+
return PrivilegeCriteriaV2025ApiFp(this.configuration).putCustomPrivilegeCriteriaValue(requestParameters.criteriaId, requestParameters.privilegeCriteriaDTOV2025, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
117711
|
+
}
|
|
117712
|
+
}
|
|
117713
|
+
|
|
117714
|
+
|
|
117715
|
+
|
|
117716
|
+
/**
|
|
117717
|
+
* PrivilegeCriteriaConfigurationV2025Api - axios parameter creator
|
|
117718
|
+
* @export
|
|
117719
|
+
*/
|
|
117720
|
+
export const PrivilegeCriteriaConfigurationV2025ApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
117721
|
+
return {
|
|
117722
|
+
/**
|
|
117723
|
+
* Use this API to get the privilege criteria configuration by Id.
|
|
117724
|
+
* @summary Get privilege criteria config
|
|
117725
|
+
* @param {string} criteriaConfigId The Id of the privilege criteria configuration record to retrieve.
|
|
117726
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
117727
|
+
* @throws {RequiredError}
|
|
117728
|
+
*/
|
|
117729
|
+
getPrivilegeCriteriaConfig: async (criteriaConfigId: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
117730
|
+
// verify required parameter 'criteriaConfigId' is not null or undefined
|
|
117731
|
+
assertParamExists('getPrivilegeCriteriaConfig', 'criteriaConfigId', criteriaConfigId)
|
|
117732
|
+
const localVarPath = `/criteria-config/privilege/{criteriaConfigId}`
|
|
117733
|
+
.replace(`{${"criteriaConfigId"}}`, encodeURIComponent(String(criteriaConfigId)));
|
|
117734
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
117735
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
117736
|
+
let baseOptions;
|
|
117737
|
+
if (configuration) {
|
|
117738
|
+
baseOptions = configuration.baseOptions;
|
|
117739
|
+
}
|
|
117740
|
+
|
|
117741
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
|
|
117742
|
+
const localVarHeaderParameter = {} as any;
|
|
117743
|
+
const localVarQueryParameter = {} as any;
|
|
117744
|
+
|
|
117745
|
+
// authentication userAuth required
|
|
117746
|
+
// oauth required
|
|
117747
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
117748
|
+
|
|
117749
|
+
// authentication userAuth required
|
|
117750
|
+
// oauth required
|
|
117751
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
117752
|
+
|
|
117753
|
+
|
|
117754
|
+
|
|
117755
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
117756
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
117757
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
117758
|
+
|
|
117759
|
+
return {
|
|
117760
|
+
url: toPathString(localVarUrlObj),
|
|
117761
|
+
axiosOptions: localVarRequestOptions,
|
|
117762
|
+
};
|
|
117763
|
+
},
|
|
117764
|
+
/**
|
|
117765
|
+
* Use this API to list the privilege criteria configuration.
|
|
117766
|
+
* @summary List privilege criteria config
|
|
117767
|
+
* @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: **sourceId**: *eq* All filter values are case-sensitive for this API. For example, the following is valid: `?filters=sourceId eq \"2c91809175e6c63f0175fb5570220569\"`
|
|
117768
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
117769
|
+
* @throws {RequiredError}
|
|
117770
|
+
*/
|
|
117771
|
+
listPrivilegeCriteriaConfig: async (filters: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
117772
|
+
// verify required parameter 'filters' is not null or undefined
|
|
117773
|
+
assertParamExists('listPrivilegeCriteriaConfig', 'filters', filters)
|
|
117774
|
+
const localVarPath = `/criteria-config/privilege`;
|
|
117775
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
117776
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
117777
|
+
let baseOptions;
|
|
117778
|
+
if (configuration) {
|
|
117779
|
+
baseOptions = configuration.baseOptions;
|
|
117780
|
+
}
|
|
117781
|
+
|
|
117782
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
|
|
117783
|
+
const localVarHeaderParameter = {} as any;
|
|
117784
|
+
const localVarQueryParameter = {} as any;
|
|
117785
|
+
|
|
117786
|
+
// authentication userAuth required
|
|
117787
|
+
// oauth required
|
|
117788
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
117789
|
+
|
|
117790
|
+
// authentication userAuth required
|
|
117791
|
+
// oauth required
|
|
117792
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
117793
|
+
|
|
117794
|
+
if (filters !== undefined) {
|
|
117795
|
+
localVarQueryParameter['filters'] = filters;
|
|
117796
|
+
}
|
|
117797
|
+
|
|
117798
|
+
|
|
117799
|
+
|
|
117800
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
117801
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
117802
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
117803
|
+
|
|
117804
|
+
return {
|
|
117805
|
+
url: toPathString(localVarUrlObj),
|
|
117806
|
+
axiosOptions: localVarRequestOptions,
|
|
117807
|
+
};
|
|
117808
|
+
},
|
|
117809
|
+
/**
|
|
117810
|
+
* Use this API to update the privilege criteria configuration.
|
|
117811
|
+
* @summary Update privilege criteria configuration
|
|
117812
|
+
* @param {string} criteriaConfigId The Id of the privilege criteria configuration to update.
|
|
117813
|
+
* @param {Array<object>} requestBody A list of criteria configuration operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
|
117814
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
117815
|
+
* @throws {RequiredError}
|
|
117816
|
+
*/
|
|
117817
|
+
patchPrivilegeCriteriaConfig: async (criteriaConfigId: string, requestBody: Array<object>, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
117818
|
+
// verify required parameter 'criteriaConfigId' is not null or undefined
|
|
117819
|
+
assertParamExists('patchPrivilegeCriteriaConfig', 'criteriaConfigId', criteriaConfigId)
|
|
117820
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
117821
|
+
assertParamExists('patchPrivilegeCriteriaConfig', 'requestBody', requestBody)
|
|
117822
|
+
const localVarPath = `/criteria-config/privilege/{criteriaConfigId}`
|
|
117823
|
+
.replace(`{${"criteriaConfigId"}}`, encodeURIComponent(String(criteriaConfigId)));
|
|
117824
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
117825
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
117826
|
+
let baseOptions;
|
|
117827
|
+
if (configuration) {
|
|
117828
|
+
baseOptions = configuration.baseOptions;
|
|
117829
|
+
}
|
|
117830
|
+
|
|
117831
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...axiosOptions};
|
|
117832
|
+
const localVarHeaderParameter = {} as any;
|
|
117833
|
+
const localVarQueryParameter = {} as any;
|
|
117834
|
+
|
|
117835
|
+
// authentication userAuth required
|
|
117836
|
+
// oauth required
|
|
117837
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
117838
|
+
|
|
117839
|
+
// authentication userAuth required
|
|
117840
|
+
// oauth required
|
|
117841
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
117842
|
+
|
|
117843
|
+
|
|
117844
|
+
|
|
117845
|
+
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
117846
|
+
|
|
117847
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
117848
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
117849
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
117850
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
|
|
117851
|
+
|
|
117852
|
+
return {
|
|
117853
|
+
url: toPathString(localVarUrlObj),
|
|
117854
|
+
axiosOptions: localVarRequestOptions,
|
|
117855
|
+
};
|
|
117856
|
+
},
|
|
117857
|
+
}
|
|
117858
|
+
};
|
|
117859
|
+
|
|
117860
|
+
/**
|
|
117861
|
+
* PrivilegeCriteriaConfigurationV2025Api - functional programming interface
|
|
117862
|
+
* @export
|
|
117863
|
+
*/
|
|
117864
|
+
export const PrivilegeCriteriaConfigurationV2025ApiFp = function(configuration?: Configuration) {
|
|
117865
|
+
const localVarAxiosParamCreator = PrivilegeCriteriaConfigurationV2025ApiAxiosParamCreator(configuration)
|
|
117866
|
+
return {
|
|
117867
|
+
/**
|
|
117868
|
+
* Use this API to get the privilege criteria configuration by Id.
|
|
117869
|
+
* @summary Get privilege criteria config
|
|
117870
|
+
* @param {string} criteriaConfigId The Id of the privilege criteria configuration record to retrieve.
|
|
117871
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
117872
|
+
* @throws {RequiredError}
|
|
117873
|
+
*/
|
|
117874
|
+
async getPrivilegeCriteriaConfig(criteriaConfigId: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrivilegeCriteriaConfigDTOV2025>> {
|
|
117875
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPrivilegeCriteriaConfig(criteriaConfigId, axiosOptions);
|
|
117876
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
117877
|
+
const localVarOperationServerBasePath = operationServerMap['PrivilegeCriteriaConfigurationV2025Api.getPrivilegeCriteriaConfig']?.[localVarOperationServerIndex]?.url;
|
|
117878
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
117879
|
+
},
|
|
117880
|
+
/**
|
|
117881
|
+
* Use this API to list the privilege criteria configuration.
|
|
117882
|
+
* @summary List privilege criteria config
|
|
117883
|
+
* @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: **sourceId**: *eq* All filter values are case-sensitive for this API. For example, the following is valid: `?filters=sourceId eq \"2c91809175e6c63f0175fb5570220569\"`
|
|
117884
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
117885
|
+
* @throws {RequiredError}
|
|
117886
|
+
*/
|
|
117887
|
+
async listPrivilegeCriteriaConfig(filters: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PrivilegeCriteriaConfigDTOV2025>>> {
|
|
117888
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPrivilegeCriteriaConfig(filters, axiosOptions);
|
|
117889
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
117890
|
+
const localVarOperationServerBasePath = operationServerMap['PrivilegeCriteriaConfigurationV2025Api.listPrivilegeCriteriaConfig']?.[localVarOperationServerIndex]?.url;
|
|
117891
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
117892
|
+
},
|
|
117893
|
+
/**
|
|
117894
|
+
* Use this API to update the privilege criteria configuration.
|
|
117895
|
+
* @summary Update privilege criteria configuration
|
|
117896
|
+
* @param {string} criteriaConfigId The Id of the privilege criteria configuration to update.
|
|
117897
|
+
* @param {Array<object>} requestBody A list of criteria configuration operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
|
117898
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
117899
|
+
* @throws {RequiredError}
|
|
117900
|
+
*/
|
|
117901
|
+
async patchPrivilegeCriteriaConfig(criteriaConfigId: string, requestBody: Array<object>, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrivilegeCriteriaConfigDTOV2025>> {
|
|
117902
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchPrivilegeCriteriaConfig(criteriaConfigId, requestBody, axiosOptions);
|
|
117903
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
117904
|
+
const localVarOperationServerBasePath = operationServerMap['PrivilegeCriteriaConfigurationV2025Api.patchPrivilegeCriteriaConfig']?.[localVarOperationServerIndex]?.url;
|
|
117905
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
117906
|
+
},
|
|
117907
|
+
}
|
|
117908
|
+
};
|
|
117909
|
+
|
|
117910
|
+
/**
|
|
117911
|
+
* PrivilegeCriteriaConfigurationV2025Api - factory interface
|
|
117912
|
+
* @export
|
|
117913
|
+
*/
|
|
117914
|
+
export const PrivilegeCriteriaConfigurationV2025ApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
117915
|
+
const localVarFp = PrivilegeCriteriaConfigurationV2025ApiFp(configuration)
|
|
117916
|
+
return {
|
|
117917
|
+
/**
|
|
117918
|
+
* Use this API to get the privilege criteria configuration by Id.
|
|
117919
|
+
* @summary Get privilege criteria config
|
|
117920
|
+
* @param {PrivilegeCriteriaConfigurationV2025ApiGetPrivilegeCriteriaConfigRequest} requestParameters Request parameters.
|
|
117921
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
117922
|
+
* @throws {RequiredError}
|
|
117923
|
+
*/
|
|
117924
|
+
getPrivilegeCriteriaConfig(requestParameters: PrivilegeCriteriaConfigurationV2025ApiGetPrivilegeCriteriaConfigRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<PrivilegeCriteriaConfigDTOV2025> {
|
|
117925
|
+
return localVarFp.getPrivilegeCriteriaConfig(requestParameters.criteriaConfigId, axiosOptions).then((request) => request(axios, basePath));
|
|
117926
|
+
},
|
|
117927
|
+
/**
|
|
117928
|
+
* Use this API to list the privilege criteria configuration.
|
|
117929
|
+
* @summary List privilege criteria config
|
|
117930
|
+
* @param {PrivilegeCriteriaConfigurationV2025ApiListPrivilegeCriteriaConfigRequest} requestParameters Request parameters.
|
|
117931
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
117932
|
+
* @throws {RequiredError}
|
|
117933
|
+
*/
|
|
117934
|
+
listPrivilegeCriteriaConfig(requestParameters: PrivilegeCriteriaConfigurationV2025ApiListPrivilegeCriteriaConfigRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<PrivilegeCriteriaConfigDTOV2025>> {
|
|
117935
|
+
return localVarFp.listPrivilegeCriteriaConfig(requestParameters.filters, axiosOptions).then((request) => request(axios, basePath));
|
|
117936
|
+
},
|
|
117937
|
+
/**
|
|
117938
|
+
* Use this API to update the privilege criteria configuration.
|
|
117939
|
+
* @summary Update privilege criteria configuration
|
|
117940
|
+
* @param {PrivilegeCriteriaConfigurationV2025ApiPatchPrivilegeCriteriaConfigRequest} requestParameters Request parameters.
|
|
117941
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
117942
|
+
* @throws {RequiredError}
|
|
117943
|
+
*/
|
|
117944
|
+
patchPrivilegeCriteriaConfig(requestParameters: PrivilegeCriteriaConfigurationV2025ApiPatchPrivilegeCriteriaConfigRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<PrivilegeCriteriaConfigDTOV2025> {
|
|
117945
|
+
return localVarFp.patchPrivilegeCriteriaConfig(requestParameters.criteriaConfigId, requestParameters.requestBody, axiosOptions).then((request) => request(axios, basePath));
|
|
117946
|
+
},
|
|
117947
|
+
};
|
|
117948
|
+
};
|
|
117949
|
+
|
|
117950
|
+
/**
|
|
117951
|
+
* Request parameters for getPrivilegeCriteriaConfig operation in PrivilegeCriteriaConfigurationV2025Api.
|
|
117952
|
+
* @export
|
|
117953
|
+
* @interface PrivilegeCriteriaConfigurationV2025ApiGetPrivilegeCriteriaConfigRequest
|
|
117954
|
+
*/
|
|
117955
|
+
export interface PrivilegeCriteriaConfigurationV2025ApiGetPrivilegeCriteriaConfigRequest {
|
|
117956
|
+
/**
|
|
117957
|
+
* The Id of the privilege criteria configuration record to retrieve.
|
|
117958
|
+
* @type {string}
|
|
117959
|
+
* @memberof PrivilegeCriteriaConfigurationV2025ApiGetPrivilegeCriteriaConfig
|
|
117960
|
+
*/
|
|
117961
|
+
readonly criteriaConfigId: string
|
|
117962
|
+
}
|
|
117963
|
+
|
|
117964
|
+
/**
|
|
117965
|
+
* Request parameters for listPrivilegeCriteriaConfig operation in PrivilegeCriteriaConfigurationV2025Api.
|
|
117966
|
+
* @export
|
|
117967
|
+
* @interface PrivilegeCriteriaConfigurationV2025ApiListPrivilegeCriteriaConfigRequest
|
|
117968
|
+
*/
|
|
117969
|
+
export interface PrivilegeCriteriaConfigurationV2025ApiListPrivilegeCriteriaConfigRequest {
|
|
117970
|
+
/**
|
|
117971
|
+
* 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: **sourceId**: *eq* All filter values are case-sensitive for this API. For example, the following is valid: `?filters=sourceId eq \"2c91809175e6c63f0175fb5570220569\"`
|
|
117972
|
+
* @type {string}
|
|
117973
|
+
* @memberof PrivilegeCriteriaConfigurationV2025ApiListPrivilegeCriteriaConfig
|
|
117974
|
+
*/
|
|
117975
|
+
readonly filters: string
|
|
117976
|
+
}
|
|
117977
|
+
|
|
117978
|
+
/**
|
|
117979
|
+
* Request parameters for patchPrivilegeCriteriaConfig operation in PrivilegeCriteriaConfigurationV2025Api.
|
|
117980
|
+
* @export
|
|
117981
|
+
* @interface PrivilegeCriteriaConfigurationV2025ApiPatchPrivilegeCriteriaConfigRequest
|
|
117982
|
+
*/
|
|
117983
|
+
export interface PrivilegeCriteriaConfigurationV2025ApiPatchPrivilegeCriteriaConfigRequest {
|
|
117984
|
+
/**
|
|
117985
|
+
* The Id of the privilege criteria configuration to update.
|
|
117986
|
+
* @type {string}
|
|
117987
|
+
* @memberof PrivilegeCriteriaConfigurationV2025ApiPatchPrivilegeCriteriaConfig
|
|
117988
|
+
*/
|
|
117989
|
+
readonly criteriaConfigId: string
|
|
117990
|
+
|
|
117991
|
+
/**
|
|
117992
|
+
* A list of criteria configuration operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
|
117993
|
+
* @type {Array<object>}
|
|
117994
|
+
* @memberof PrivilegeCriteriaConfigurationV2025ApiPatchPrivilegeCriteriaConfig
|
|
117995
|
+
*/
|
|
117996
|
+
readonly requestBody: Array<object>
|
|
117997
|
+
}
|
|
117998
|
+
|
|
117999
|
+
/**
|
|
118000
|
+
* PrivilegeCriteriaConfigurationV2025Api - object-oriented interface
|
|
118001
|
+
* @export
|
|
118002
|
+
* @class PrivilegeCriteriaConfigurationV2025Api
|
|
118003
|
+
* @extends {BaseAPI}
|
|
118004
|
+
*/
|
|
118005
|
+
export class PrivilegeCriteriaConfigurationV2025Api extends BaseAPI {
|
|
118006
|
+
/**
|
|
118007
|
+
* Use this API to get the privilege criteria configuration by Id.
|
|
118008
|
+
* @summary Get privilege criteria config
|
|
118009
|
+
* @param {PrivilegeCriteriaConfigurationV2025ApiGetPrivilegeCriteriaConfigRequest} requestParameters Request parameters.
|
|
118010
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
118011
|
+
* @throws {RequiredError}
|
|
118012
|
+
* @memberof PrivilegeCriteriaConfigurationV2025Api
|
|
118013
|
+
*/
|
|
118014
|
+
public getPrivilegeCriteriaConfig(requestParameters: PrivilegeCriteriaConfigurationV2025ApiGetPrivilegeCriteriaConfigRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
118015
|
+
return PrivilegeCriteriaConfigurationV2025ApiFp(this.configuration).getPrivilegeCriteriaConfig(requestParameters.criteriaConfigId, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
118016
|
+
}
|
|
118017
|
+
|
|
118018
|
+
/**
|
|
118019
|
+
* Use this API to list the privilege criteria configuration.
|
|
118020
|
+
* @summary List privilege criteria config
|
|
118021
|
+
* @param {PrivilegeCriteriaConfigurationV2025ApiListPrivilegeCriteriaConfigRequest} requestParameters Request parameters.
|
|
118022
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
118023
|
+
* @throws {RequiredError}
|
|
118024
|
+
* @memberof PrivilegeCriteriaConfigurationV2025Api
|
|
118025
|
+
*/
|
|
118026
|
+
public listPrivilegeCriteriaConfig(requestParameters: PrivilegeCriteriaConfigurationV2025ApiListPrivilegeCriteriaConfigRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
118027
|
+
return PrivilegeCriteriaConfigurationV2025ApiFp(this.configuration).listPrivilegeCriteriaConfig(requestParameters.filters, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
118028
|
+
}
|
|
118029
|
+
|
|
118030
|
+
/**
|
|
118031
|
+
* Use this API to update the privilege criteria configuration.
|
|
118032
|
+
* @summary Update privilege criteria configuration
|
|
118033
|
+
* @param {PrivilegeCriteriaConfigurationV2025ApiPatchPrivilegeCriteriaConfigRequest} requestParameters Request parameters.
|
|
118034
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
118035
|
+
* @throws {RequiredError}
|
|
118036
|
+
* @memberof PrivilegeCriteriaConfigurationV2025Api
|
|
118037
|
+
*/
|
|
118038
|
+
public patchPrivilegeCriteriaConfig(requestParameters: PrivilegeCriteriaConfigurationV2025ApiPatchPrivilegeCriteriaConfigRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
118039
|
+
return PrivilegeCriteriaConfigurationV2025ApiFp(this.configuration).patchPrivilegeCriteriaConfig(requestParameters.criteriaConfigId, requestParameters.requestBody, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
118040
|
+
}
|
|
118041
|
+
}
|
|
118042
|
+
|
|
118043
|
+
|
|
118044
|
+
|
|
116886
118045
|
/**
|
|
116887
118046
|
* PublicIdentitiesV2025Api - axios parameter creator
|
|
116888
118047
|
* @export
|