@riocrypto/common 1.0.1820 → 1.0.1822
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,8 +4,15 @@ export interface PreSettlementTransaction {
|
|
|
4
4
|
id: string;
|
|
5
5
|
createdAt: Date;
|
|
6
6
|
userId: string;
|
|
7
|
+
bankAccountId?: string;
|
|
8
|
+
cryptoAddressId?: string;
|
|
7
9
|
type: PreSettlementTransactionType;
|
|
8
10
|
amount: number;
|
|
9
11
|
currency: CurrencyWithCountry;
|
|
10
12
|
orderId?: string;
|
|
13
|
+
speiTrackingNumber?: string;
|
|
14
|
+
spidTrackingNumber?: string;
|
|
15
|
+
blockchainTransactionId?: string;
|
|
16
|
+
oppositeTransactionAmount?: number;
|
|
17
|
+
oppositeTransactions?: string[];
|
|
11
18
|
}
|
package/build/types/user.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ import { UserType } from "./user-type";
|
|
|
7
7
|
import { ImmigrationStatus } from "./immigration-status";
|
|
8
8
|
import { Country } from "./country";
|
|
9
9
|
import { Fiat } from "./fiat";
|
|
10
|
-
import { CurrencyWithCountry } from "./currency-with-country";
|
|
11
10
|
declare type IndividualUser = {
|
|
12
11
|
id: string;
|
|
13
12
|
individualData?: {
|
|
@@ -126,8 +125,5 @@ export declare type User = {
|
|
|
126
125
|
sell?: number;
|
|
127
126
|
};
|
|
128
127
|
};
|
|
129
|
-
preSettlementAmount?: {
|
|
130
|
-
[currency in CurrencyWithCountry]?: number;
|
|
131
|
-
};
|
|
132
128
|
} & (UserType.Individual extends UserType ? IndividualUser : {}) & (UserType.Business extends UserType ? BusinessUser : {});
|
|
133
129
|
export {};
|