@sailpoint/api-client 2.2.35 → 2.2.36

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.
@@ -85,6 +85,205 @@ export interface ErrorResponseDto {
85
85
  */
86
86
  'causes'?: Array<ErrorMessageDto>;
87
87
  }
88
+ /**
89
+ * Data submitted for a friction step.
90
+ * @export
91
+ * @interface FrictionSubmittedData
92
+ */
93
+ export interface FrictionSubmittedData {
94
+ /**
95
+ * Justification text.
96
+ * @type {string}
97
+ * @memberof FrictionSubmittedData
98
+ */
99
+ 'justification'?: string;
100
+ /**
101
+ * Whether this step was bypassed.
102
+ * @type {boolean}
103
+ * @memberof FrictionSubmittedData
104
+ */
105
+ 'bypass'?: boolean;
106
+ /**
107
+ * Ticketing system identifier.
108
+ * @type {string}
109
+ * @memberof FrictionSubmittedData
110
+ */
111
+ 'ticketId'?: string;
112
+ /**
113
+ * Whether the ticket is valid. Set by the server.
114
+ * @type {boolean}
115
+ * @memberof FrictionSubmittedData
116
+ */
117
+ 'isValidTicket'?: boolean;
118
+ /**
119
+ * Count of failed submissions for this step. The server sets this value and ignores it on PATCH.
120
+ * @type {number}
121
+ * @memberof FrictionSubmittedData
122
+ */
123
+ 'attempts'?: number;
124
+ /**
125
+ * Whether reauthentication succeeded.
126
+ * @type {boolean}
127
+ * @memberof FrictionSubmittedData
128
+ */
129
+ 'reauthSuccessful'?: boolean;
130
+ /**
131
+ * Time of reauthentication.
132
+ * @type {string}
133
+ * @memberof FrictionSubmittedData
134
+ */
135
+ 'reauthDate'?: string;
136
+ /**
137
+ * Whether the ticketing integration is disabled. Set by the server.
138
+ * @type {boolean}
139
+ * @memberof FrictionSubmittedData
140
+ */
141
+ 'integrationDisabled'?: boolean;
142
+ }
143
+ /**
144
+ * Submission for the current friction step.
145
+ * @export
146
+ * @interface JITActivationFrictionPatchRequest
147
+ */
148
+ export interface JITActivationFrictionPatchRequest {
149
+ /**
150
+ * Kind of friction step being submitted.
151
+ * @type {JITActivationFrictionType}
152
+ * @memberof JITActivationFrictionPatchRequest
153
+ */
154
+ 'type': JITActivationFrictionType;
155
+ /**
156
+ * Data submitted for this friction step. Omit when bypassing a step that allows bypass.
157
+ * @type {FrictionSubmittedData}
158
+ * @memberof JITActivationFrictionPatchRequest
159
+ */
160
+ 'submittedData'?: FrictionSubmittedData;
161
+ /**
162
+ * Whether to bypass this friction step.
163
+ * @type {boolean}
164
+ * @memberof JITActivationFrictionPatchRequest
165
+ */
166
+ 'bypass'?: boolean | null;
167
+ }
168
+ /**
169
+ * One friction step on an activation.
170
+ * @export
171
+ * @interface JITActivationFrictionResponse
172
+ */
173
+ export interface JITActivationFrictionResponse {
174
+ /**
175
+ * Kind of friction step.
176
+ * @type {JITActivationFrictionType}
177
+ * @memberof JITActivationFrictionResponse
178
+ */
179
+ 'type': JITActivationFrictionType | null;
180
+ /**
181
+ * Lifecycle of this friction step.
182
+ * @type {JITActivationFrictionStatus}
183
+ * @memberof JITActivationFrictionResponse
184
+ */
185
+ 'status': JITActivationFrictionStatus | null;
186
+ /**
187
+ * Data submitted for this friction step.
188
+ * @type {FrictionSubmittedData}
189
+ * @memberof JITActivationFrictionResponse
190
+ */
191
+ 'submittedData': FrictionSubmittedData | null;
192
+ /**
193
+ * Whether this step may be bypassed.
194
+ * @type {boolean}
195
+ * @memberof JITActivationFrictionResponse
196
+ */
197
+ 'bypassAllowed': boolean;
198
+ /**
199
+ * Minimum word count for a justification step.
200
+ * @type {number}
201
+ * @memberof JITActivationFrictionResponse
202
+ */
203
+ 'minWords'?: number;
204
+ }
205
+ /**
206
+ * Aggregate friction state of an activation.
207
+ * @export
208
+ * @enum {string}
209
+ */
210
+ export declare const JITActivationFrictionState: {
211
+ readonly Pending: "PENDING";
212
+ readonly InProgress: "IN_PROGRESS";
213
+ readonly TimedOut: "TIMED_OUT";
214
+ readonly Complete: "COMPLETE";
215
+ readonly NotApplicable: "NOT_APPLICABLE";
216
+ };
217
+ export type JITActivationFrictionState = typeof JITActivationFrictionState[keyof typeof JITActivationFrictionState];
218
+ /**
219
+ * Lifecycle of one friction step.
220
+ * @export
221
+ * @enum {string}
222
+ */
223
+ export declare const JITActivationFrictionStatus: {
224
+ readonly Pending: "PENDING";
225
+ readonly Active: "ACTIVE";
226
+ readonly TimedOut: "TIMED_OUT";
227
+ readonly Complete: "COMPLETE";
228
+ readonly NotApplicable: "NOT_APPLICABLE";
229
+ readonly Cancelled: "CANCELLED";
230
+ readonly Failed: "FAILED";
231
+ };
232
+ export type JITActivationFrictionStatus = typeof JITActivationFrictionStatus[keyof typeof JITActivationFrictionStatus];
233
+ /**
234
+ * Kind of friction step.
235
+ * @export
236
+ * @enum {string}
237
+ */
238
+ export declare const JITActivationFrictionType: {
239
+ readonly Ticket: "TICKET";
240
+ readonly Justification: "JUSTIFICATION";
241
+ readonly Reauthentication: "REAUTHENTICATION";
242
+ };
243
+ export type JITActivationFrictionType = typeof JITActivationFrictionType[keyof typeof JITActivationFrictionType];
244
+ /**
245
+ * Friction state for an activation.
246
+ * @export
247
+ * @interface JITActivationFrictionsResponse
248
+ */
249
+ export interface JITActivationFrictionsResponse {
250
+ /**
251
+ * Identifier of the activation.
252
+ * @type {string}
253
+ * @memberof JITActivationFrictionsResponse
254
+ */
255
+ 'activationId': string | null;
256
+ /**
257
+ * Aggregate friction state of the activation.
258
+ * @type {JITActivationFrictionState}
259
+ * @memberof JITActivationFrictionsResponse
260
+ */
261
+ 'frictionState': JITActivationFrictionState | null;
262
+ /**
263
+ * Identifier of the entitlement connection.
264
+ * @type {string}
265
+ * @memberof JITActivationFrictionsResponse
266
+ */
267
+ 'connectionId': string | null;
268
+ /**
269
+ * Time the activation started.
270
+ * @type {string}
271
+ * @memberof JITActivationFrictionsResponse
272
+ */
273
+ 'activationInitTime': string | null;
274
+ /**
275
+ * Minutes allowed to complete all frictions.
276
+ * @type {string}
277
+ * @memberof JITActivationFrictionsResponse
278
+ */
279
+ 'expiryMins': string;
280
+ /**
281
+ * Friction steps for the activation.
282
+ * @type {Array<JITActivationFrictionResponse>}
283
+ * @memberof JITActivationFrictionsResponse
284
+ */
285
+ 'frictions': Array<JITActivationFrictionResponse>;
286
+ }
88
287
  /**
89
288
  *
90
289
  * @export
@@ -704,6 +903,15 @@ export interface StartActivateWorkflowV1429Response {
704
903
  * @export
705
904
  */
706
905
  export declare const JITActivationsApiAxiosParamCreator: (configuration?: Configuration) => {
906
+ /**
907
+ * Returns evaluated frictions for a JIT Privileged (JIT P) activation. Requires OAuth scope **idn:jit-activation-workflow:activate** or **idn:jit-activation-workflow:manage**. The JWT identity id must match the activation identity. Returns HTTP 403 when **PSPM_JIT_ACCESS_ACTIVATION** or **PSPM_JIT_ACCESS_ACTIVATION_15** is disabled. Returns HTTP 404 when the activation does not exist.
908
+ * @summary Get JIT activation frictions
909
+ * @param {string} activationId Identifier of the activation.
910
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
911
+ * @param {*} [axiosOptions] Override http request option.
912
+ * @throws {RequiredError}
913
+ */
914
+ getJitActivationFrictionsV1: (activationId: string, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig) => Promise<RequestArgs>;
707
915
  /**
708
916
  * Returns JIT activation history records for the authenticated identity only. This is the self-service view - results are automatically scoped to the calling identity. Requires `idn:jit-activation-history-self:read`. Returns HTTP 403 when the `PSPM_858_JIT_ACCESS_ACTIVATION_HISTORY_SEARCH` feature flag is disabled.
709
917
  * @summary List JIT activation history (self)
@@ -732,6 +940,16 @@ export declare const JITActivationsApiAxiosParamCreator: (configuration?: Config
732
940
  * @throws {RequiredError}
733
941
  */
734
942
  listJitActivationHistoryV1: (limit?: number, offset?: number, count?: boolean, sorters?: string, searchAfter?: string, filters?: string, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig) => Promise<RequestArgs>;
943
+ /**
944
+ * Submits the current friction step for a JIT Privileged (JIT P) activation. Requires OAuth scope **idn:jit-activation-workflow:activate** or **idn:jit-activation-workflow:manage**. The JWT identity id must match the activation identity. Returns HTTP 403 when **PSPM_JIT_ACCESS_ACTIVATION** or **PSPM_JIT_ACCESS_ACTIVATION_15** is disabled. Request bodies larger than 16 KB return HTTP 413.
945
+ * @summary Submit JIT activation friction
946
+ * @param {string} activationId Identifier of the activation.
947
+ * @param {JITActivationFrictionPatchRequest} jITActivationFrictionPatchRequest Submission for the current friction step.
948
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
949
+ * @param {*} [axiosOptions] Override http request option.
950
+ * @throws {RequiredError}
951
+ */
952
+ patchJitActivationFrictionsV1: (activationId: string, jITActivationFrictionPatchRequest: JITActivationFrictionPatchRequest, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig) => Promise<RequestArgs>;
735
953
  /**
736
954
  * Starts a JIT Privileged (JIT P) activation workflow for the given entitlement connection and duration. The service performs quick validation; the workflow performs additional validation. The response is returned with HTTP 202 Accepted while the workflow initializes.
737
955
  * @summary Start JIT activation workflow
@@ -765,6 +983,15 @@ export declare const JITActivationsApiAxiosParamCreator: (configuration?: Config
765
983
  * @export
766
984
  */
767
985
  export declare const JITActivationsApiFp: (configuration?: Configuration) => {
986
+ /**
987
+ * Returns evaluated frictions for a JIT Privileged (JIT P) activation. Requires OAuth scope **idn:jit-activation-workflow:activate** or **idn:jit-activation-workflow:manage**. The JWT identity id must match the activation identity. Returns HTTP 403 when **PSPM_JIT_ACCESS_ACTIVATION** or **PSPM_JIT_ACCESS_ACTIVATION_15** is disabled. Returns HTTP 404 when the activation does not exist.
988
+ * @summary Get JIT activation frictions
989
+ * @param {string} activationId Identifier of the activation.
990
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
991
+ * @param {*} [axiosOptions] Override http request option.
992
+ * @throws {RequiredError}
993
+ */
994
+ getJitActivationFrictionsV1(activationId: string, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JITActivationFrictionsResponse>>;
768
995
  /**
769
996
  * Returns JIT activation history records for the authenticated identity only. This is the self-service view - results are automatically scoped to the calling identity. Requires `idn:jit-activation-history-self:read`. Returns HTTP 403 when the `PSPM_858_JIT_ACCESS_ACTIVATION_HISTORY_SEARCH` feature flag is disabled.
770
997
  * @summary List JIT activation history (self)
@@ -793,6 +1020,16 @@ export declare const JITActivationsApiFp: (configuration?: Configuration) => {
793
1020
  * @throws {RequiredError}
794
1021
  */
795
1022
  listJitActivationHistoryV1(limit?: number, offset?: number, count?: boolean, sorters?: string, searchAfter?: string, filters?: string, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Jitactivationhistorydocument>>>;
1023
+ /**
1024
+ * Submits the current friction step for a JIT Privileged (JIT P) activation. Requires OAuth scope **idn:jit-activation-workflow:activate** or **idn:jit-activation-workflow:manage**. The JWT identity id must match the activation identity. Returns HTTP 403 when **PSPM_JIT_ACCESS_ACTIVATION** or **PSPM_JIT_ACCESS_ACTIVATION_15** is disabled. Request bodies larger than 16 KB return HTTP 413.
1025
+ * @summary Submit JIT activation friction
1026
+ * @param {string} activationId Identifier of the activation.
1027
+ * @param {JITActivationFrictionPatchRequest} jITActivationFrictionPatchRequest Submission for the current friction step.
1028
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
1029
+ * @param {*} [axiosOptions] Override http request option.
1030
+ * @throws {RequiredError}
1031
+ */
1032
+ patchJitActivationFrictionsV1(activationId: string, jITActivationFrictionPatchRequest: JITActivationFrictionPatchRequest, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JITActivationFrictionsResponse>>;
796
1033
  /**
797
1034
  * Starts a JIT Privileged (JIT P) activation workflow for the given entitlement connection and duration. The service performs quick validation; the workflow performs additional validation. The response is returned with HTTP 202 Accepted while the workflow initializes.
798
1035
  * @summary Start JIT activation workflow
@@ -826,6 +1063,14 @@ export declare const JITActivationsApiFp: (configuration?: Configuration) => {
826
1063
  * @export
827
1064
  */
828
1065
  export declare const JITActivationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1066
+ /**
1067
+ * Returns evaluated frictions for a JIT Privileged (JIT P) activation. Requires OAuth scope **idn:jit-activation-workflow:activate** or **idn:jit-activation-workflow:manage**. The JWT identity id must match the activation identity. Returns HTTP 403 when **PSPM_JIT_ACCESS_ACTIVATION** or **PSPM_JIT_ACCESS_ACTIVATION_15** is disabled. Returns HTTP 404 when the activation does not exist.
1068
+ * @summary Get JIT activation frictions
1069
+ * @param {JITActivationsApiGetJitActivationFrictionsV1Request} requestParameters Request parameters.
1070
+ * @param {*} [axiosOptions] Override http request option.
1071
+ * @throws {RequiredError}
1072
+ */
1073
+ getJitActivationFrictionsV1(requestParameters: JITActivationsApiGetJitActivationFrictionsV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<JITActivationFrictionsResponse>;
829
1074
  /**
830
1075
  * Returns JIT activation history records for the authenticated identity only. This is the self-service view - results are automatically scoped to the calling identity. Requires `idn:jit-activation-history-self:read`. Returns HTTP 403 when the `PSPM_858_JIT_ACCESS_ACTIVATION_HISTORY_SEARCH` feature flag is disabled.
831
1076
  * @summary List JIT activation history (self)
@@ -842,6 +1087,14 @@ export declare const JITActivationsApiFactory: (configuration?: Configuration, b
842
1087
  * @throws {RequiredError}
843
1088
  */
844
1089
  listJitActivationHistoryV1(requestParameters?: JITActivationsApiListJitActivationHistoryV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<Jitactivationhistorydocument>>;
1090
+ /**
1091
+ * Submits the current friction step for a JIT Privileged (JIT P) activation. Requires OAuth scope **idn:jit-activation-workflow:activate** or **idn:jit-activation-workflow:manage**. The JWT identity id must match the activation identity. Returns HTTP 403 when **PSPM_JIT_ACCESS_ACTIVATION** or **PSPM_JIT_ACCESS_ACTIVATION_15** is disabled. Request bodies larger than 16 KB return HTTP 413.
1092
+ * @summary Submit JIT activation friction
1093
+ * @param {JITActivationsApiPatchJitActivationFrictionsV1Request} requestParameters Request parameters.
1094
+ * @param {*} [axiosOptions] Override http request option.
1095
+ * @throws {RequiredError}
1096
+ */
1097
+ patchJitActivationFrictionsV1(requestParameters: JITActivationsApiPatchJitActivationFrictionsV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<JITActivationFrictionsResponse>;
845
1098
  /**
846
1099
  * Starts a JIT Privileged (JIT P) activation workflow for the given entitlement connection and duration. The service performs quick validation; the workflow performs additional validation. The response is returned with HTTP 202 Accepted while the workflow initializes.
847
1100
  * @summary Start JIT activation workflow
@@ -867,6 +1120,25 @@ export declare const JITActivationsApiFactory: (configuration?: Configuration, b
867
1120
  */
868
1121
  startExtendWorkflowV1(requestParameters: JITActivationsApiStartExtendWorkflowV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<JitActivationExtendResponse>;
869
1122
  };
1123
+ /**
1124
+ * Request parameters for getJitActivationFrictionsV1 operation in JITActivationsApi.
1125
+ * @export
1126
+ * @interface JITActivationsApiGetJitActivationFrictionsV1Request
1127
+ */
1128
+ export interface JITActivationsApiGetJitActivationFrictionsV1Request {
1129
+ /**
1130
+ * Identifier of the activation.
1131
+ * @type {string}
1132
+ * @memberof JITActivationsApiGetJitActivationFrictionsV1
1133
+ */
1134
+ readonly activationId: string;
1135
+ /**
1136
+ * Use this header to enable this experimental API.
1137
+ * @type {string}
1138
+ * @memberof JITActivationsApiGetJitActivationFrictionsV1
1139
+ */
1140
+ readonly xSailPointExperimental?: string;
1141
+ }
870
1142
  /**
871
1143
  * Request parameters for listJitActivationHistoryForCurrentIdentityV1 operation in JITActivationsApi.
872
1144
  * @export
@@ -965,6 +1237,31 @@ export interface JITActivationsApiListJitActivationHistoryV1Request {
965
1237
  */
966
1238
  readonly xSailPointExperimental?: string;
967
1239
  }
1240
+ /**
1241
+ * Request parameters for patchJitActivationFrictionsV1 operation in JITActivationsApi.
1242
+ * @export
1243
+ * @interface JITActivationsApiPatchJitActivationFrictionsV1Request
1244
+ */
1245
+ export interface JITActivationsApiPatchJitActivationFrictionsV1Request {
1246
+ /**
1247
+ * Identifier of the activation.
1248
+ * @type {string}
1249
+ * @memberof JITActivationsApiPatchJitActivationFrictionsV1
1250
+ */
1251
+ readonly activationId: string;
1252
+ /**
1253
+ * Submission for the current friction step.
1254
+ * @type {JITActivationFrictionPatchRequest}
1255
+ * @memberof JITActivationsApiPatchJitActivationFrictionsV1
1256
+ */
1257
+ readonly jITActivationFrictionPatchRequest: JITActivationFrictionPatchRequest;
1258
+ /**
1259
+ * Use this header to enable this experimental API.
1260
+ * @type {string}
1261
+ * @memberof JITActivationsApiPatchJitActivationFrictionsV1
1262
+ */
1263
+ readonly xSailPointExperimental?: string;
1264
+ }
968
1265
  /**
969
1266
  * Request parameters for startActivateWorkflowV1 operation in JITActivationsApi.
970
1267
  * @export
@@ -1029,6 +1326,15 @@ export interface JITActivationsApiStartExtendWorkflowV1Request {
1029
1326
  * @extends {BaseAPI}
1030
1327
  */
1031
1328
  export declare class JITActivationsApi extends BaseAPI {
1329
+ /**
1330
+ * Returns evaluated frictions for a JIT Privileged (JIT P) activation. Requires OAuth scope **idn:jit-activation-workflow:activate** or **idn:jit-activation-workflow:manage**. The JWT identity id must match the activation identity. Returns HTTP 403 when **PSPM_JIT_ACCESS_ACTIVATION** or **PSPM_JIT_ACCESS_ACTIVATION_15** is disabled. Returns HTTP 404 when the activation does not exist.
1331
+ * @summary Get JIT activation frictions
1332
+ * @param {JITActivationsApiGetJitActivationFrictionsV1Request} requestParameters Request parameters.
1333
+ * @param {*} [axiosOptions] Override http request option.
1334
+ * @throws {RequiredError}
1335
+ * @memberof JITActivationsApi
1336
+ */
1337
+ getJitActivationFrictionsV1(requestParameters: JITActivationsApiGetJitActivationFrictionsV1Request, axiosOptions?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JITActivationFrictionsResponse, any>>;
1032
1338
  /**
1033
1339
  * Returns JIT activation history records for the authenticated identity only. This is the self-service view - results are automatically scoped to the calling identity. Requires `idn:jit-activation-history-self:read`. Returns HTTP 403 when the `PSPM_858_JIT_ACCESS_ACTIVATION_HISTORY_SEARCH` feature flag is disabled.
1034
1340
  * @summary List JIT activation history (self)
@@ -1047,6 +1353,15 @@ export declare class JITActivationsApi extends BaseAPI {
1047
1353
  * @memberof JITActivationsApi
1048
1354
  */
1049
1355
  listJitActivationHistoryV1(requestParameters?: JITActivationsApiListJitActivationHistoryV1Request, axiosOptions?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Jitactivationhistorydocument[], any>>;
1356
+ /**
1357
+ * Submits the current friction step for a JIT Privileged (JIT P) activation. Requires OAuth scope **idn:jit-activation-workflow:activate** or **idn:jit-activation-workflow:manage**. The JWT identity id must match the activation identity. Returns HTTP 403 when **PSPM_JIT_ACCESS_ACTIVATION** or **PSPM_JIT_ACCESS_ACTIVATION_15** is disabled. Request bodies larger than 16 KB return HTTP 413.
1358
+ * @summary Submit JIT activation friction
1359
+ * @param {JITActivationsApiPatchJitActivationFrictionsV1Request} requestParameters Request parameters.
1360
+ * @param {*} [axiosOptions] Override http request option.
1361
+ * @throws {RequiredError}
1362
+ * @memberof JITActivationsApi
1363
+ */
1364
+ patchJitActivationFrictionsV1(requestParameters: JITActivationsApiPatchJitActivationFrictionsV1Request, axiosOptions?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JITActivationFrictionsResponse, any>>;
1050
1365
  /**
1051
1366
  * Starts a JIT Privileged (JIT P) activation workflow for the given entitlement connection and duration. The service performs quick validation; the workflow performs additional validation. The response is returned with HTTP 202 Accepted while the workflow initializes.
1052
1367
  * @summary Start JIT activation workflow