@corsa-labs/sdk 3.1.6 → 3.2.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.
@@ -4,7 +4,7 @@ export type CorporateClientGeneralDto = {
4
4
  */
5
5
  legalEntityName?: string;
6
6
  /**
7
- * ISO Date when the company was incorporated
7
+ * Date when the company was incorporated
8
8
  */
9
9
  dateOfIncorporation?: string;
10
10
  /**
@@ -8,7 +8,7 @@ export type CreateCorporateClientDto = {
8
8
  /**
9
9
  * External reference ID for the corporate client
10
10
  */
11
- referenceId: string;
11
+ referenceId?: string;
12
12
  /**
13
13
  * Current account status of the corporate client
14
14
  */
@@ -3,7 +3,7 @@ export type CreateDepositOperationDto = {
3
3
  /**
4
4
  * External reference ID for the deposit operation
5
5
  */
6
- referenceId: string;
6
+ referenceId?: string;
7
7
  /**
8
8
  * UUID of the user who initiated the deposit
9
9
  */
@@ -13,7 +13,7 @@ export type CreateIndividualClientDto = {
13
13
  /**
14
14
  * External reference ID for the individual client
15
15
  */
16
- referenceId: string;
16
+ referenceId?: string;
17
17
  /**
18
18
  * Current activity status of the individual client
19
19
  */
@@ -11,7 +11,7 @@ export type CreateTradeOperationDto = {
11
11
  /**
12
12
  * External reference ID for the trade operation
13
13
  */
14
- referenceId: string;
14
+ referenceId?: string;
15
15
  /**
16
16
  * Transactions for the trade
17
17
  */
@@ -6,7 +6,7 @@ export type CreateTransactionDto = {
6
6
  /**
7
7
  * External reference ID for the transaction
8
8
  */
9
- referenceId: string;
9
+ referenceId?: string;
10
10
  /**
11
11
  * Date and time of the transaction
12
12
  */
@@ -3,7 +3,7 @@ export type CreateWithdrawalOperationDto = {
3
3
  /**
4
4
  * External reference ID for the withdrawal operation
5
5
  */
6
- referenceId: string;
6
+ referenceId?: string;
7
7
  /**
8
8
  * string of the user who initiated the withdrawal
9
9
  */
@@ -16,7 +16,7 @@ export type IndividualClientGeneralInformationDto = {
16
16
  */
17
17
  gender?: IndividualClientGeneralInformationDto.gender;
18
18
  /**
19
- * Date of birth of the client
19
+ * Date of birth of the client in YYYY-MM-DD format
20
20
  */
21
21
  dateOfBirth?: string;
22
22
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corsa-labs/sdk",
3
- "version": "3.1.6",
3
+ "version": "3.2.0",
4
4
  "description": "SDK for Corsa API",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",