sailpoint-api-client 1.4.10 → 1.4.12

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/v2024/common.ts CHANGED
@@ -135,9 +135,9 @@ export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxi
135
135
  return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
136
136
  axiosRetry(globalAxios, configuration.retriesConfig)
137
137
  const headers = {
138
- ...{'User-Agent':'OpenAPI-Generator/1.4.10/ts'},
138
+ ...{'User-Agent':'OpenAPI-Generator/1.4.12/ts'},
139
139
  ...axiosArgs.axiosOptions.headers,
140
- ...{'X-SailPoint-SDK':'typescript-1.4.10'}
140
+ ...{'X-SailPoint-SDK':'typescript-1.4.12'}
141
141
  }
142
142
 
143
143
  if(!configuration.experimental && ("X-SailPoint-Experimental" in headers)) {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sailpoint-sdk",
3
- "version": "1.4.10",
3
+ "version": "1.4.12",
4
4
  "description": "OpenAPI client for sailpoint-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
package/v3/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## sailpoint-sdk@1.4.10
1
+ ## sailpoint-sdk@1.4.12
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install sailpoint-sdk@1.4.10 --save
39
+ npm install sailpoint-sdk@1.4.12 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/v3/api.ts CHANGED
@@ -8643,6 +8643,12 @@ export interface EventAttributes {
8643
8643
  * @memberof EventAttributes
8644
8644
  */
8645
8645
  'description'?: string;
8646
+ /**
8647
+ * The attribute to filter on
8648
+ * @type {string}
8649
+ * @memberof EventAttributes
8650
+ */
8651
+ 'attributeToFilter'?: string;
8646
8652
  }
8647
8653
  /**
8648
8654
  * Event
@@ -24778,6 +24784,12 @@ export interface WorkflowTriggerAttributes {
24778
24784
  * @memberof WorkflowTriggerAttributes
24779
24785
  */
24780
24786
  'description'?: string;
24787
+ /**
24788
+ * The attribute to filter on
24789
+ * @type {string}
24790
+ * @memberof WorkflowTriggerAttributes
24791
+ */
24792
+ 'attributeToFilter'?: string;
24781
24793
  /**
24782
24794
  * A unique name for the external trigger
24783
24795
  * @type {string}
@@ -41068,8 +41080,8 @@ export class MFAControllerApi extends BaseAPI {
41068
41080
  export const ManagedClientsApiAxiosParamCreator = function (configuration?: Configuration) {
41069
41081
  return {
41070
41082
  /**
41071
- * Create a new Managed Client. The API returns a result that includes the Managed Client ID.
41072
- * @summary Create a new Managed Client
41083
+ * Create a new managed client. The API returns a result that includes the managed client ID.
41084
+ * @summary Create Managed Client
41073
41085
  * @param {ManagedClientRequest} managedClientRequest
41074
41086
  * @param {*} [axiosOptions] Override http request option.
41075
41087
  * @throws {RequiredError}
@@ -41112,9 +41124,9 @@ export const ManagedClientsApiAxiosParamCreator = function (configuration?: Conf
41112
41124
  };
41113
41125
  },
41114
41126
  /**
41115
- * Delete an existing Managed Client.
41116
- * @summary Delete a Managed Client
41117
- * @param {string} id Managed Client ID.
41127
+ * Delete an existing managed client.
41128
+ * @summary Delete Managed Client
41129
+ * @param {string} id Managed client ID.
41118
41130
  * @param {*} [axiosOptions] Override http request option.
41119
41131
  * @throws {RequiredError}
41120
41132
  */
@@ -41196,10 +41208,10 @@ export const ManagedClientsApiAxiosParamCreator = function (configuration?: Conf
41196
41208
  };
41197
41209
  },
41198
41210
  /**
41199
- * Retrieve the Status of a Managed Client by ID.
41200
- * @summary Get Managed Client Status.
41201
- * @param {string} id ID of the Managed Client to get Status of
41202
- * @param {ManagedClientType} type Type of the Managed Client to get Status of
41211
+ * Get a managed client\'s status, using its ID.
41212
+ * @summary Get Managed Client Status
41213
+ * @param {string} id Managed client ID to get status for.
41214
+ * @param {ManagedClientType} type Managed client type to get status for.
41203
41215
  * @param {*} [axiosOptions] Override http request option.
41204
41216
  * @throws {RequiredError}
41205
41217
  */
@@ -41245,7 +41257,7 @@ export const ManagedClientsApiAxiosParamCreator = function (configuration?: Conf
41245
41257
  };
41246
41258
  },
41247
41259
  /**
41248
- * Get a list of Managed Clients.
41260
+ * List managed clients.
41249
41261
  * @summary Get Managed Clients
41250
41262
  * @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
41251
41263
  * @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
@@ -41303,10 +41315,10 @@ export const ManagedClientsApiAxiosParamCreator = function (configuration?: Conf
41303
41315
  };
41304
41316
  },
41305
41317
  /**
41306
- * Update an existing Managed Client.
41307
- * @summary Update a Managed Client
41308
- * @param {string} id Managed Client ID.
41309
- * @param {Array<JsonPatchOperation>} jsonPatchOperation The JSONPatch payload used to update the object.
41318
+ * Update an existing managed client.
41319
+ * @summary Update Managed Client
41320
+ * @param {string} id Managed client ID.
41321
+ * @param {Array<JsonPatchOperation>} jsonPatchOperation JSONPatch payload used to update the object.
41310
41322
  * @param {*} [axiosOptions] Override http request option.
41311
41323
  * @throws {RequiredError}
41312
41324
  */
@@ -41361,8 +41373,8 @@ export const ManagedClientsApiFp = function(configuration?: Configuration) {
41361
41373
  const localVarAxiosParamCreator = ManagedClientsApiAxiosParamCreator(configuration)
41362
41374
  return {
41363
41375
  /**
41364
- * Create a new Managed Client. The API returns a result that includes the Managed Client ID.
41365
- * @summary Create a new Managed Client
41376
+ * Create a new managed client. The API returns a result that includes the managed client ID.
41377
+ * @summary Create Managed Client
41366
41378
  * @param {ManagedClientRequest} managedClientRequest
41367
41379
  * @param {*} [axiosOptions] Override http request option.
41368
41380
  * @throws {RequiredError}
@@ -41372,9 +41384,9 @@ export const ManagedClientsApiFp = function(configuration?: Configuration) {
41372
41384
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
41373
41385
  },
41374
41386
  /**
41375
- * Delete an existing Managed Client.
41376
- * @summary Delete a Managed Client
41377
- * @param {string} id Managed Client ID.
41387
+ * Delete an existing managed client.
41388
+ * @summary Delete Managed Client
41389
+ * @param {string} id Managed client ID.
41378
41390
  * @param {*} [axiosOptions] Override http request option.
41379
41391
  * @throws {RequiredError}
41380
41392
  */
@@ -41394,10 +41406,10 @@ export const ManagedClientsApiFp = function(configuration?: Configuration) {
41394
41406
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
41395
41407
  },
41396
41408
  /**
41397
- * Retrieve the Status of a Managed Client by ID.
41398
- * @summary Get Managed Client Status.
41399
- * @param {string} id ID of the Managed Client to get Status of
41400
- * @param {ManagedClientType} type Type of the Managed Client to get Status of
41409
+ * Get a managed client\'s status, using its ID.
41410
+ * @summary Get Managed Client Status
41411
+ * @param {string} id Managed client ID to get status for.
41412
+ * @param {ManagedClientType} type Managed client type to get status for.
41401
41413
  * @param {*} [axiosOptions] Override http request option.
41402
41414
  * @throws {RequiredError}
41403
41415
  */
@@ -41406,7 +41418,7 @@ export const ManagedClientsApiFp = function(configuration?: Configuration) {
41406
41418
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
41407
41419
  },
41408
41420
  /**
41409
- * Get a list of Managed Clients.
41421
+ * List managed clients.
41410
41422
  * @summary Get Managed Clients
41411
41423
  * @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
41412
41424
  * @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
@@ -41420,10 +41432,10 @@ export const ManagedClientsApiFp = function(configuration?: Configuration) {
41420
41432
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
41421
41433
  },
41422
41434
  /**
41423
- * Update an existing Managed Client.
41424
- * @summary Update a Managed Client
41425
- * @param {string} id Managed Client ID.
41426
- * @param {Array<JsonPatchOperation>} jsonPatchOperation The JSONPatch payload used to update the object.
41435
+ * Update an existing managed client.
41436
+ * @summary Update Managed Client
41437
+ * @param {string} id Managed client ID.
41438
+ * @param {Array<JsonPatchOperation>} jsonPatchOperation JSONPatch payload used to update the object.
41427
41439
  * @param {*} [axiosOptions] Override http request option.
41428
41440
  * @throws {RequiredError}
41429
41441
  */
@@ -41442,8 +41454,8 @@ export const ManagedClientsApiFactory = function (configuration?: Configuration,
41442
41454
  const localVarFp = ManagedClientsApiFp(configuration)
41443
41455
  return {
41444
41456
  /**
41445
- * Create a new Managed Client. The API returns a result that includes the Managed Client ID.
41446
- * @summary Create a new Managed Client
41457
+ * Create a new managed client. The API returns a result that includes the managed client ID.
41458
+ * @summary Create Managed Client
41447
41459
  * @param {ManagedClientRequest} managedClientRequest
41448
41460
  * @param {*} [axiosOptions] Override http request option.
41449
41461
  * @throws {RequiredError}
@@ -41452,9 +41464,9 @@ export const ManagedClientsApiFactory = function (configuration?: Configuration,
41452
41464
  return localVarFp.createManagedClient(managedClientRequest, axiosOptions).then((request) => request(axios, basePath));
41453
41465
  },
41454
41466
  /**
41455
- * Delete an existing Managed Client.
41456
- * @summary Delete a Managed Client
41457
- * @param {string} id Managed Client ID.
41467
+ * Delete an existing managed client.
41468
+ * @summary Delete Managed Client
41469
+ * @param {string} id Managed client ID.
41458
41470
  * @param {*} [axiosOptions] Override http request option.
41459
41471
  * @throws {RequiredError}
41460
41472
  */
@@ -41472,10 +41484,10 @@ export const ManagedClientsApiFactory = function (configuration?: Configuration,
41472
41484
  return localVarFp.getManagedClient(id, axiosOptions).then((request) => request(axios, basePath));
41473
41485
  },
41474
41486
  /**
41475
- * Retrieve the Status of a Managed Client by ID.
41476
- * @summary Get Managed Client Status.
41477
- * @param {string} id ID of the Managed Client to get Status of
41478
- * @param {ManagedClientType} type Type of the Managed Client to get Status of
41487
+ * Get a managed client\'s status, using its ID.
41488
+ * @summary Get Managed Client Status
41489
+ * @param {string} id Managed client ID to get status for.
41490
+ * @param {ManagedClientType} type Managed client type to get status for.
41479
41491
  * @param {*} [axiosOptions] Override http request option.
41480
41492
  * @throws {RequiredError}
41481
41493
  */
@@ -41483,7 +41495,7 @@ export const ManagedClientsApiFactory = function (configuration?: Configuration,
41483
41495
  return localVarFp.getManagedClientStatus(id, type, axiosOptions).then((request) => request(axios, basePath));
41484
41496
  },
41485
41497
  /**
41486
- * Get a list of Managed Clients.
41498
+ * List managed clients.
41487
41499
  * @summary Get Managed Clients
41488
41500
  * @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
41489
41501
  * @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
@@ -41496,10 +41508,10 @@ export const ManagedClientsApiFactory = function (configuration?: Configuration,
41496
41508
  return localVarFp.getManagedClients(offset, limit, count, filters, axiosOptions).then((request) => request(axios, basePath));
41497
41509
  },
41498
41510
  /**
41499
- * Update an existing Managed Client.
41500
- * @summary Update a Managed Client
41501
- * @param {string} id Managed Client ID.
41502
- * @param {Array<JsonPatchOperation>} jsonPatchOperation The JSONPatch payload used to update the object.
41511
+ * Update an existing managed client.
41512
+ * @summary Update Managed Client
41513
+ * @param {string} id Managed client ID.
41514
+ * @param {Array<JsonPatchOperation>} jsonPatchOperation JSONPatch payload used to update the object.
41503
41515
  * @param {*} [axiosOptions] Override http request option.
41504
41516
  * @throws {RequiredError}
41505
41517
  */
@@ -41530,7 +41542,7 @@ export interface ManagedClientsApiCreateManagedClientRequest {
41530
41542
  */
41531
41543
  export interface ManagedClientsApiDeleteManagedClientRequest {
41532
41544
  /**
41533
- * Managed Client ID.
41545
+ * Managed client ID.
41534
41546
  * @type {string}
41535
41547
  * @memberof ManagedClientsApiDeleteManagedClient
41536
41548
  */
@@ -41558,14 +41570,14 @@ export interface ManagedClientsApiGetManagedClientRequest {
41558
41570
  */
41559
41571
  export interface ManagedClientsApiGetManagedClientStatusRequest {
41560
41572
  /**
41561
- * ID of the Managed Client to get Status of
41573
+ * Managed client ID to get status for.
41562
41574
  * @type {string}
41563
41575
  * @memberof ManagedClientsApiGetManagedClientStatus
41564
41576
  */
41565
41577
  readonly id: string
41566
41578
 
41567
41579
  /**
41568
- * Type of the Managed Client to get Status of
41580
+ * Managed client type to get status for.
41569
41581
  * @type {ManagedClientType}
41570
41582
  * @memberof ManagedClientsApiGetManagedClientStatus
41571
41583
  */
@@ -41614,14 +41626,14 @@ export interface ManagedClientsApiGetManagedClientsRequest {
41614
41626
  */
41615
41627
  export interface ManagedClientsApiUpdateManagedClientRequest {
41616
41628
  /**
41617
- * Managed Client ID.
41629
+ * Managed client ID.
41618
41630
  * @type {string}
41619
41631
  * @memberof ManagedClientsApiUpdateManagedClient
41620
41632
  */
41621
41633
  readonly id: string
41622
41634
 
41623
41635
  /**
41624
- * The JSONPatch payload used to update the object.
41636
+ * JSONPatch payload used to update the object.
41625
41637
  * @type {Array<JsonPatchOperation>}
41626
41638
  * @memberof ManagedClientsApiUpdateManagedClient
41627
41639
  */
@@ -41636,8 +41648,8 @@ export interface ManagedClientsApiUpdateManagedClientRequest {
41636
41648
  */
41637
41649
  export class ManagedClientsApi extends BaseAPI {
41638
41650
  /**
41639
- * Create a new Managed Client. The API returns a result that includes the Managed Client ID.
41640
- * @summary Create a new Managed Client
41651
+ * Create a new managed client. The API returns a result that includes the managed client ID.
41652
+ * @summary Create Managed Client
41641
41653
  * @param {ManagedClientsApiCreateManagedClientRequest} requestParameters Request parameters.
41642
41654
  * @param {*} [axiosOptions] Override http request option.
41643
41655
  * @throws {RequiredError}
@@ -41648,8 +41660,8 @@ export class ManagedClientsApi extends BaseAPI {
41648
41660
  }
41649
41661
 
41650
41662
  /**
41651
- * Delete an existing Managed Client.
41652
- * @summary Delete a Managed Client
41663
+ * Delete an existing managed client.
41664
+ * @summary Delete Managed Client
41653
41665
  * @param {ManagedClientsApiDeleteManagedClientRequest} requestParameters Request parameters.
41654
41666
  * @param {*} [axiosOptions] Override http request option.
41655
41667
  * @throws {RequiredError}
@@ -41672,8 +41684,8 @@ export class ManagedClientsApi extends BaseAPI {
41672
41684
  }
41673
41685
 
41674
41686
  /**
41675
- * Retrieve the Status of a Managed Client by ID.
41676
- * @summary Get Managed Client Status.
41687
+ * Get a managed client\'s status, using its ID.
41688
+ * @summary Get Managed Client Status
41677
41689
  * @param {ManagedClientsApiGetManagedClientStatusRequest} requestParameters Request parameters.
41678
41690
  * @param {*} [axiosOptions] Override http request option.
41679
41691
  * @throws {RequiredError}
@@ -41684,7 +41696,7 @@ export class ManagedClientsApi extends BaseAPI {
41684
41696
  }
41685
41697
 
41686
41698
  /**
41687
- * Get a list of Managed Clients.
41699
+ * List managed clients.
41688
41700
  * @summary Get Managed Clients
41689
41701
  * @param {ManagedClientsApiGetManagedClientsRequest} requestParameters Request parameters.
41690
41702
  * @param {*} [axiosOptions] Override http request option.
@@ -41696,8 +41708,8 @@ export class ManagedClientsApi extends BaseAPI {
41696
41708
  }
41697
41709
 
41698
41710
  /**
41699
- * Update an existing Managed Client.
41700
- * @summary Update a Managed Client
41711
+ * Update an existing managed client.
41712
+ * @summary Update Managed Client
41701
41713
  * @param {ManagedClientsApiUpdateManagedClientRequest} requestParameters Request parameters.
41702
41714
  * @param {*} [axiosOptions] Override http request option.
41703
41715
  * @throws {RequiredError}
@@ -46887,7 +46899,7 @@ export const PasswordManagementApiAxiosParamCreator = function (configuration?:
46887
46899
  };
46888
46900
  },
46889
46901
  /**
46890
- * This API is used to set a password for an identity. An identity can change their own password (as well as any of their accounts\' passwords) if they use a token generated by their ISC user, such as a [personal access token](https://developer.sailpoint.com/idn/api/authentication#personal-access-tokens) or [\"authorization_code\" derived OAuth token](https://developer.sailpoint.com/idn/api/authentication#authorization-code-grant-flow). >**Note: If you want to set an identity\'s source account password, you must enable `PASSWORD` as one of the source\'s features. You can use the [PATCH Source endpoint](https://developer.sailpoint.com/docs/api/v3/update-source) to add the `PASSWORD` feature.** You can use this endpoint to generate an `encryptedPassword` (RSA encrypted using publicKey). To do so, follow these steps: 1. Use [Query Password Info](https://developer.sailpoint.com/idn/api/v3/query-password-info) to get the following information: `identityId`, `sourceId`, `publicKeyId`, `publicKey`, `accounts`, and `policies`. 2. Choose an account from the previous response that you will provide as an `accountId` in your request to set an encrypted password. 3. Use [Set Identity\'s Password](https://developer.sailpoint.com/idn/api/v3/set-password) and provide the information you got from your earlier query. Then add this code to your request to get the encrypted password: ```java import javax.crypto.Cipher; import java.security.KeyFactory; import java.security.PublicKey; import java.security.spec.X509EncodedKeySpec; import java util.Base64; String encrypt(String publicKey, String toEncrypt) throws Exception { byte[] publicKeyBytes = Base64.getDecoder().decode(publicKey); byte[] encryptedBytes = encryptRsa(publicKeyBytes, toEncrypt.getBytes(\"UTF-8\")); return Base64.getEncoder().encodeToString(encryptedBytes); } private byte[] encryptRsa(byte[] publicKeyBytes, byte[] toEncryptBytes) throws Exception { PublicKey key = KeyFactory.getInstance(\"RSA\").generatePublic(new X509EncodedKeySpec(publicKeyBytes)); String transformation = \"RSA/ECB/PKCS1Padding\"; Cipher cipher = Cipher.getInstance(transformation); cipher.init(1, key); return cipher.doFinal(toEncryptBytes); } ``` In this example, `toEncrypt` refers to the plain text password you are setting and then encrypting, and the `publicKey` refers to the publicKey you got from the first request you sent. You can then use [Get Password Change Request Status](https://developer.sailpoint.com/idn/api/v3/get-password-change-status) to check the password change request status. To do so, you must provide the `requestId` from your earlier request to set the password.
46902
+ * This API is used to set a password for an identity. An identity can change their own password (as well as any of their accounts\' passwords) if they use a token generated by their ISC user, such as a [personal access token](https://developer.sailpoint.com/idn/api/authentication#personal-access-tokens) or [\"authorization_code\" derived OAuth token](https://developer.sailpoint.com/idn/api/authentication#authorization-code-grant-flow). >**Note: If you want to set an identity\'s source account password, you must enable `PASSWORD` as one of the source\'s features. You can use the [PATCH Source endpoint](https://developer.sailpoint.com/docs/api/v3/update-source) to add the `PASSWORD` feature.** To generate the encryptedPassword (RSA encrypted using publicKey) for the request body, run the following command: ```bash echo \"myPassword\" | openssl pkeyutl -encrypt -inkey public_key.pem -pubin | base64 ``` In this example, myPassword is the plain text password being set and encrypted, and public_key.pem is the path to the public key file. You can retrieve the required publicKey, along with other information like identityId, sourceId, publicKeyId, accounts, and policies, using the Query Password Info endpoint. To successfully run this command, you must have OpenSSL installed on your machine. If OpenSSL is unavailable, consider using the Virtual Appliance (VA), which has OpenSSL pre-installed and configured. If you are using a Windows machine, refer to this [guide](https://tecadmin.net/install-openssl-on-windows/) for instructions on installing OpenSSL. You can then use [Get Password Change Request Status](https://developer.sailpoint.com/idn/api/v3/get-password-change-status) to check the password change request status. To do so, you must provide the `requestId` from your earlier request to set the password.
46891
46903
  * @summary Set Identity\'s Password
46892
46904
  * @param {PasswordChangeRequest} passwordChangeRequest
46893
46905
  * @param {*} [axiosOptions] Override http request option.
@@ -46959,7 +46971,7 @@ export const PasswordManagementApiFp = function(configuration?: Configuration) {
46959
46971
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
46960
46972
  },
46961
46973
  /**
46962
- * This API is used to set a password for an identity. An identity can change their own password (as well as any of their accounts\' passwords) if they use a token generated by their ISC user, such as a [personal access token](https://developer.sailpoint.com/idn/api/authentication#personal-access-tokens) or [\"authorization_code\" derived OAuth token](https://developer.sailpoint.com/idn/api/authentication#authorization-code-grant-flow). >**Note: If you want to set an identity\'s source account password, you must enable `PASSWORD` as one of the source\'s features. You can use the [PATCH Source endpoint](https://developer.sailpoint.com/docs/api/v3/update-source) to add the `PASSWORD` feature.** You can use this endpoint to generate an `encryptedPassword` (RSA encrypted using publicKey). To do so, follow these steps: 1. Use [Query Password Info](https://developer.sailpoint.com/idn/api/v3/query-password-info) to get the following information: `identityId`, `sourceId`, `publicKeyId`, `publicKey`, `accounts`, and `policies`. 2. Choose an account from the previous response that you will provide as an `accountId` in your request to set an encrypted password. 3. Use [Set Identity\'s Password](https://developer.sailpoint.com/idn/api/v3/set-password) and provide the information you got from your earlier query. Then add this code to your request to get the encrypted password: ```java import javax.crypto.Cipher; import java.security.KeyFactory; import java.security.PublicKey; import java.security.spec.X509EncodedKeySpec; import java util.Base64; String encrypt(String publicKey, String toEncrypt) throws Exception { byte[] publicKeyBytes = Base64.getDecoder().decode(publicKey); byte[] encryptedBytes = encryptRsa(publicKeyBytes, toEncrypt.getBytes(\"UTF-8\")); return Base64.getEncoder().encodeToString(encryptedBytes); } private byte[] encryptRsa(byte[] publicKeyBytes, byte[] toEncryptBytes) throws Exception { PublicKey key = KeyFactory.getInstance(\"RSA\").generatePublic(new X509EncodedKeySpec(publicKeyBytes)); String transformation = \"RSA/ECB/PKCS1Padding\"; Cipher cipher = Cipher.getInstance(transformation); cipher.init(1, key); return cipher.doFinal(toEncryptBytes); } ``` In this example, `toEncrypt` refers to the plain text password you are setting and then encrypting, and the `publicKey` refers to the publicKey you got from the first request you sent. You can then use [Get Password Change Request Status](https://developer.sailpoint.com/idn/api/v3/get-password-change-status) to check the password change request status. To do so, you must provide the `requestId` from your earlier request to set the password.
46974
+ * This API is used to set a password for an identity. An identity can change their own password (as well as any of their accounts\' passwords) if they use a token generated by their ISC user, such as a [personal access token](https://developer.sailpoint.com/idn/api/authentication#personal-access-tokens) or [\"authorization_code\" derived OAuth token](https://developer.sailpoint.com/idn/api/authentication#authorization-code-grant-flow). >**Note: If you want to set an identity\'s source account password, you must enable `PASSWORD` as one of the source\'s features. You can use the [PATCH Source endpoint](https://developer.sailpoint.com/docs/api/v3/update-source) to add the `PASSWORD` feature.** To generate the encryptedPassword (RSA encrypted using publicKey) for the request body, run the following command: ```bash echo \"myPassword\" | openssl pkeyutl -encrypt -inkey public_key.pem -pubin | base64 ``` In this example, myPassword is the plain text password being set and encrypted, and public_key.pem is the path to the public key file. You can retrieve the required publicKey, along with other information like identityId, sourceId, publicKeyId, accounts, and policies, using the Query Password Info endpoint. To successfully run this command, you must have OpenSSL installed on your machine. If OpenSSL is unavailable, consider using the Virtual Appliance (VA), which has OpenSSL pre-installed and configured. If you are using a Windows machine, refer to this [guide](https://tecadmin.net/install-openssl-on-windows/) for instructions on installing OpenSSL. You can then use [Get Password Change Request Status](https://developer.sailpoint.com/idn/api/v3/get-password-change-status) to check the password change request status. To do so, you must provide the `requestId` from your earlier request to set the password.
46963
46975
  * @summary Set Identity\'s Password
46964
46976
  * @param {PasswordChangeRequest} passwordChangeRequest
46965
46977
  * @param {*} [axiosOptions] Override http request option.
@@ -47000,7 +47012,7 @@ export const PasswordManagementApiFactory = function (configuration?: Configurat
47000
47012
  return localVarFp.queryPasswordInfo(passwordInfoQueryDTO, axiosOptions).then((request) => request(axios, basePath));
47001
47013
  },
47002
47014
  /**
47003
- * This API is used to set a password for an identity. An identity can change their own password (as well as any of their accounts\' passwords) if they use a token generated by their ISC user, such as a [personal access token](https://developer.sailpoint.com/idn/api/authentication#personal-access-tokens) or [\"authorization_code\" derived OAuth token](https://developer.sailpoint.com/idn/api/authentication#authorization-code-grant-flow). >**Note: If you want to set an identity\'s source account password, you must enable `PASSWORD` as one of the source\'s features. You can use the [PATCH Source endpoint](https://developer.sailpoint.com/docs/api/v3/update-source) to add the `PASSWORD` feature.** You can use this endpoint to generate an `encryptedPassword` (RSA encrypted using publicKey). To do so, follow these steps: 1. Use [Query Password Info](https://developer.sailpoint.com/idn/api/v3/query-password-info) to get the following information: `identityId`, `sourceId`, `publicKeyId`, `publicKey`, `accounts`, and `policies`. 2. Choose an account from the previous response that you will provide as an `accountId` in your request to set an encrypted password. 3. Use [Set Identity\'s Password](https://developer.sailpoint.com/idn/api/v3/set-password) and provide the information you got from your earlier query. Then add this code to your request to get the encrypted password: ```java import javax.crypto.Cipher; import java.security.KeyFactory; import java.security.PublicKey; import java.security.spec.X509EncodedKeySpec; import java util.Base64; String encrypt(String publicKey, String toEncrypt) throws Exception { byte[] publicKeyBytes = Base64.getDecoder().decode(publicKey); byte[] encryptedBytes = encryptRsa(publicKeyBytes, toEncrypt.getBytes(\"UTF-8\")); return Base64.getEncoder().encodeToString(encryptedBytes); } private byte[] encryptRsa(byte[] publicKeyBytes, byte[] toEncryptBytes) throws Exception { PublicKey key = KeyFactory.getInstance(\"RSA\").generatePublic(new X509EncodedKeySpec(publicKeyBytes)); String transformation = \"RSA/ECB/PKCS1Padding\"; Cipher cipher = Cipher.getInstance(transformation); cipher.init(1, key); return cipher.doFinal(toEncryptBytes); } ``` In this example, `toEncrypt` refers to the plain text password you are setting and then encrypting, and the `publicKey` refers to the publicKey you got from the first request you sent. You can then use [Get Password Change Request Status](https://developer.sailpoint.com/idn/api/v3/get-password-change-status) to check the password change request status. To do so, you must provide the `requestId` from your earlier request to set the password.
47015
+ * This API is used to set a password for an identity. An identity can change their own password (as well as any of their accounts\' passwords) if they use a token generated by their ISC user, such as a [personal access token](https://developer.sailpoint.com/idn/api/authentication#personal-access-tokens) or [\"authorization_code\" derived OAuth token](https://developer.sailpoint.com/idn/api/authentication#authorization-code-grant-flow). >**Note: If you want to set an identity\'s source account password, you must enable `PASSWORD` as one of the source\'s features. You can use the [PATCH Source endpoint](https://developer.sailpoint.com/docs/api/v3/update-source) to add the `PASSWORD` feature.** To generate the encryptedPassword (RSA encrypted using publicKey) for the request body, run the following command: ```bash echo \"myPassword\" | openssl pkeyutl -encrypt -inkey public_key.pem -pubin | base64 ``` In this example, myPassword is the plain text password being set and encrypted, and public_key.pem is the path to the public key file. You can retrieve the required publicKey, along with other information like identityId, sourceId, publicKeyId, accounts, and policies, using the Query Password Info endpoint. To successfully run this command, you must have OpenSSL installed on your machine. If OpenSSL is unavailable, consider using the Virtual Appliance (VA), which has OpenSSL pre-installed and configured. If you are using a Windows machine, refer to this [guide](https://tecadmin.net/install-openssl-on-windows/) for instructions on installing OpenSSL. You can then use [Get Password Change Request Status](https://developer.sailpoint.com/idn/api/v3/get-password-change-status) to check the password change request status. To do so, you must provide the `requestId` from your earlier request to set the password.
47004
47016
  * @summary Set Identity\'s Password
47005
47017
  * @param {PasswordChangeRequest} passwordChangeRequest
47006
47018
  * @param {*} [axiosOptions] Override http request option.
@@ -47086,7 +47098,7 @@ export class PasswordManagementApi extends BaseAPI {
47086
47098
  }
47087
47099
 
47088
47100
  /**
47089
- * This API is used to set a password for an identity. An identity can change their own password (as well as any of their accounts\' passwords) if they use a token generated by their ISC user, such as a [personal access token](https://developer.sailpoint.com/idn/api/authentication#personal-access-tokens) or [\"authorization_code\" derived OAuth token](https://developer.sailpoint.com/idn/api/authentication#authorization-code-grant-flow). >**Note: If you want to set an identity\'s source account password, you must enable `PASSWORD` as one of the source\'s features. You can use the [PATCH Source endpoint](https://developer.sailpoint.com/docs/api/v3/update-source) to add the `PASSWORD` feature.** You can use this endpoint to generate an `encryptedPassword` (RSA encrypted using publicKey). To do so, follow these steps: 1. Use [Query Password Info](https://developer.sailpoint.com/idn/api/v3/query-password-info) to get the following information: `identityId`, `sourceId`, `publicKeyId`, `publicKey`, `accounts`, and `policies`. 2. Choose an account from the previous response that you will provide as an `accountId` in your request to set an encrypted password. 3. Use [Set Identity\'s Password](https://developer.sailpoint.com/idn/api/v3/set-password) and provide the information you got from your earlier query. Then add this code to your request to get the encrypted password: ```java import javax.crypto.Cipher; import java.security.KeyFactory; import java.security.PublicKey; import java.security.spec.X509EncodedKeySpec; import java util.Base64; String encrypt(String publicKey, String toEncrypt) throws Exception { byte[] publicKeyBytes = Base64.getDecoder().decode(publicKey); byte[] encryptedBytes = encryptRsa(publicKeyBytes, toEncrypt.getBytes(\"UTF-8\")); return Base64.getEncoder().encodeToString(encryptedBytes); } private byte[] encryptRsa(byte[] publicKeyBytes, byte[] toEncryptBytes) throws Exception { PublicKey key = KeyFactory.getInstance(\"RSA\").generatePublic(new X509EncodedKeySpec(publicKeyBytes)); String transformation = \"RSA/ECB/PKCS1Padding\"; Cipher cipher = Cipher.getInstance(transformation); cipher.init(1, key); return cipher.doFinal(toEncryptBytes); } ``` In this example, `toEncrypt` refers to the plain text password you are setting and then encrypting, and the `publicKey` refers to the publicKey you got from the first request you sent. You can then use [Get Password Change Request Status](https://developer.sailpoint.com/idn/api/v3/get-password-change-status) to check the password change request status. To do so, you must provide the `requestId` from your earlier request to set the password.
47101
+ * This API is used to set a password for an identity. An identity can change their own password (as well as any of their accounts\' passwords) if they use a token generated by their ISC user, such as a [personal access token](https://developer.sailpoint.com/idn/api/authentication#personal-access-tokens) or [\"authorization_code\" derived OAuth token](https://developer.sailpoint.com/idn/api/authentication#authorization-code-grant-flow). >**Note: If you want to set an identity\'s source account password, you must enable `PASSWORD` as one of the source\'s features. You can use the [PATCH Source endpoint](https://developer.sailpoint.com/docs/api/v3/update-source) to add the `PASSWORD` feature.** To generate the encryptedPassword (RSA encrypted using publicKey) for the request body, run the following command: ```bash echo \"myPassword\" | openssl pkeyutl -encrypt -inkey public_key.pem -pubin | base64 ``` In this example, myPassword is the plain text password being set and encrypted, and public_key.pem is the path to the public key file. You can retrieve the required publicKey, along with other information like identityId, sourceId, publicKeyId, accounts, and policies, using the Query Password Info endpoint. To successfully run this command, you must have OpenSSL installed on your machine. If OpenSSL is unavailable, consider using the Virtual Appliance (VA), which has OpenSSL pre-installed and configured. If you are using a Windows machine, refer to this [guide](https://tecadmin.net/install-openssl-on-windows/) for instructions on installing OpenSSL. You can then use [Get Password Change Request Status](https://developer.sailpoint.com/idn/api/v3/get-password-change-status) to check the password change request status. To do so, you must provide the `requestId` from your earlier request to set the password.
47090
47102
  * @summary Set Identity\'s Password
47091
47103
  * @param {PasswordManagementApiSetPasswordRequest} requestParameters Request parameters.
47092
47104
  * @param {*} [axiosOptions] Override http request option.
@@ -53880,7 +53892,7 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
53880
53892
  };
53881
53893
  },
53882
53894
  /**
53883
- * Performs a search with the provided query and returns a matching result collection. By default, you can page a maximum of 10,000 search result records. To page past 10,000 records, you can use searchAfter paging. Refer to [Paginating Search Queries](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-search-queries) for more information about how to implement searchAfter paging.
53895
+ * Perform a search with the provided query and return a matching result collection. To page past 10,000 records, you can use `searchAfter` paging. Refer to [Paginating Search Queries](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-search-queries) for more information about how to implement `searchAfter` paging.
53884
53896
  * @summary Perform Search
53885
53897
  * @param {Search} search
53886
53898
  * @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
@@ -53986,7 +53998,7 @@ export const SearchApiFp = function(configuration?: Configuration) {
53986
53998
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
53987
53999
  },
53988
54000
  /**
53989
- * Performs a search with the provided query and returns a matching result collection. By default, you can page a maximum of 10,000 search result records. To page past 10,000 records, you can use searchAfter paging. Refer to [Paginating Search Queries](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-search-queries) for more information about how to implement searchAfter paging.
54001
+ * Perform a search with the provided query and return a matching result collection. To page past 10,000 records, you can use `searchAfter` paging. Refer to [Paginating Search Queries](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-search-queries) for more information about how to implement `searchAfter` paging.
53990
54002
  * @summary Perform Search
53991
54003
  * @param {Search} search
53992
54004
  * @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
@@ -54044,7 +54056,7 @@ export const SearchApiFactory = function (configuration?: Configuration, basePat
54044
54056
  return localVarFp.searchGet(index, id, axiosOptions).then((request) => request(axios, basePath));
54045
54057
  },
54046
54058
  /**
54047
- * Performs a search with the provided query and returns a matching result collection. By default, you can page a maximum of 10,000 search result records. To page past 10,000 records, you can use searchAfter paging. Refer to [Paginating Search Queries](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-search-queries) for more information about how to implement searchAfter paging.
54059
+ * Perform a search with the provided query and return a matching result collection. To page past 10,000 records, you can use `searchAfter` paging. Refer to [Paginating Search Queries](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-search-queries) for more information about how to implement `searchAfter` paging.
54048
54060
  * @summary Perform Search
54049
54061
  * @param {Search} search
54050
54062
  * @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
@@ -54208,7 +54220,7 @@ export class SearchApi extends BaseAPI {
54208
54220
  }
54209
54221
 
54210
54222
  /**
54211
- * Performs a search with the provided query and returns a matching result collection. By default, you can page a maximum of 10,000 search result records. To page past 10,000 records, you can use searchAfter paging. Refer to [Paginating Search Queries](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-search-queries) for more information about how to implement searchAfter paging.
54223
+ * Perform a search with the provided query and return a matching result collection. To page past 10,000 records, you can use `searchAfter` paging. Refer to [Paginating Search Queries](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-search-queries) for more information about how to implement `searchAfter` paging.
54212
54224
  * @summary Perform Search
54213
54225
  * @param {SearchApiSearchPostRequest} requestParameters Request parameters.
54214
54226
  * @param {*} [axiosOptions] Override http request option.
package/v3/common.ts CHANGED
@@ -135,9 +135,9 @@ export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxi
135
135
  return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
136
136
  axiosRetry(globalAxios, configuration.retriesConfig)
137
137
  const headers = {
138
- ...{'User-Agent':'OpenAPI-Generator/1.4.10/ts'},
138
+ ...{'User-Agent':'OpenAPI-Generator/1.4.12/ts'},
139
139
  ...axiosArgs.axiosOptions.headers,
140
- ...{'X-SailPoint-SDK':'typescript-1.4.10'}
140
+ ...{'X-SailPoint-SDK':'typescript-1.4.12'}
141
141
  }
142
142
 
143
143
  if(!configuration.experimental && ("X-SailPoint-Experimental" in headers)) {
package/v3/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sailpoint-sdk",
3
- "version": "1.4.10",
3
+ "version": "1.4.12",
4
4
  "description": "OpenAPI client for sailpoint-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {