@corsa-labs/sdk 4.3.0 → 4.4.0

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.
@@ -8,7 +8,7 @@ export type CorporateClientSourceOfFundsDto = {
8
8
  */
9
9
  sourceOfFundsDetails?: string;
10
10
  /**
11
- * Country codes where the funds originate from
11
+ * Country codes where the funds originate from (always sorted lexicographically)
12
12
  */
13
13
  sourceOfFundsJurisdictions?: Array<string>;
14
14
  /**
@@ -6,9 +6,9 @@ export declare class DepositsService {
6
6
  readonly httpRequest: BaseHttpRequest;
7
7
  constructor(httpRequest: BaseHttpRequest);
8
8
  /**
9
- * Create a new deposit. If upsert is true, return existing deposit if found by referenceId
9
+ * Create a new deposit. If upsert is true, update existing deposit's transaction if found by referenceId and return updated
10
10
  * @param requestBody
11
- * @param upsert If true, return existing deposit instead of creating if deposit already exists
11
+ * @param upsert If true, update existing deposit's transaction if found by referenceId and return updated deposit
12
12
  * @returns DepositOperationDto
13
13
  * @throws ApiError
14
14
  */
@@ -7,9 +7,9 @@ class DepositsService {
7
7
  this.httpRequest = httpRequest;
8
8
  }
9
9
  /**
10
- * Create a new deposit. If upsert is true, return existing deposit if found by referenceId
10
+ * Create a new deposit. If upsert is true, update existing deposit's transaction if found by referenceId and return updated
11
11
  * @param requestBody
12
- * @param upsert If true, return existing deposit instead of creating if deposit already exists
12
+ * @param upsert If true, update existing deposit's transaction if found by referenceId and return updated deposit
13
13
  * @returns DepositOperationDto
14
14
  * @throws ApiError
15
15
  */
@@ -6,9 +6,9 @@ export declare class WithdrawalsService {
6
6
  readonly httpRequest: BaseHttpRequest;
7
7
  constructor(httpRequest: BaseHttpRequest);
8
8
  /**
9
- * Create a new withdrawal. If upsert is true, return existing withdrawal if found by referenceId
9
+ * Create a new withdrawal. If upsert is true, update existing withdrawal's transaction if found by referenceId and return updated withdrawal
10
10
  * @param requestBody
11
- * @param upsert If true, return existing withdrawal instead of creating if withdrawal already exists
11
+ * @param upsert If true, update existing withdrawal's transaction if found by referenceId and return updated withdrawal
12
12
  * @returns WithdrawalOperationDto
13
13
  * @throws ApiError
14
14
  */
@@ -7,9 +7,9 @@ class WithdrawalsService {
7
7
  this.httpRequest = httpRequest;
8
8
  }
9
9
  /**
10
- * Create a new withdrawal. If upsert is true, return existing withdrawal if found by referenceId
10
+ * Create a new withdrawal. If upsert is true, update existing withdrawal's transaction if found by referenceId and return updated withdrawal
11
11
  * @param requestBody
12
- * @param upsert If true, return existing withdrawal instead of creating if withdrawal already exists
12
+ * @param upsert If true, update existing withdrawal's transaction if found by referenceId and return updated withdrawal
13
13
  * @returns WithdrawalOperationDto
14
14
  * @throws ApiError
15
15
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corsa-labs/sdk",
3
- "version": "4.3.0",
3
+ "version": "4.4.0",
4
4
  "description": "SDK for Corsa API",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",