@vesant-sdk/transaction 0.1.0-dev.76771da → 0.1.0-next.50c3f3b
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/dist/index.d.mts +4 -3
- package/dist/index.d.ts +4 -3
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -4,8 +4,8 @@ import { Timestamp, BaseClient, BaseClientConfig, RequestOptions } from '@vesant
|
|
|
4
4
|
* TypeScript types for the Transaction Monitoring (TM) Service
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
type TransactionType = "deposit" | "withdrawal" | "transfer" | "payment" | "refund" | "fee" | "adjustment";
|
|
8
|
-
type TransactionMode = "fiat" | "crypto" | "bank_transfer" | "card" | "wallet";
|
|
7
|
+
type TransactionType = "deposit" | "withdrawal" | "transfer" | "payment" | "refund" | "fee" | "adjustment" | "bet" | "payout";
|
|
8
|
+
type TransactionMode = "fiat" | "crypto" | "bank_transfer" | "card" | "wallet" | "ach" | "wire_transfer" | "swift";
|
|
9
9
|
type TransactionStatus = "pending" | "processing" | "completed" | "failed" | "cancelled" | "reversed";
|
|
10
10
|
interface TransactionCreateDTO {
|
|
11
11
|
tx_id: string;
|
|
@@ -16,7 +16,8 @@ interface TransactionCreateDTO {
|
|
|
16
16
|
transaction_mode: TransactionMode;
|
|
17
17
|
amount: string;
|
|
18
18
|
currency: string;
|
|
19
|
-
|
|
19
|
+
amount_usd?: number;
|
|
20
|
+
status?: TransactionStatus;
|
|
20
21
|
source_account: string;
|
|
21
22
|
destination_account: string;
|
|
22
23
|
country: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ import { Timestamp, BaseClient, BaseClientConfig, RequestOptions } from '@vesant
|
|
|
4
4
|
* TypeScript types for the Transaction Monitoring (TM) Service
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
type TransactionType = "deposit" | "withdrawal" | "transfer" | "payment" | "refund" | "fee" | "adjustment";
|
|
8
|
-
type TransactionMode = "fiat" | "crypto" | "bank_transfer" | "card" | "wallet";
|
|
7
|
+
type TransactionType = "deposit" | "withdrawal" | "transfer" | "payment" | "refund" | "fee" | "adjustment" | "bet" | "payout";
|
|
8
|
+
type TransactionMode = "fiat" | "crypto" | "bank_transfer" | "card" | "wallet" | "ach" | "wire_transfer" | "swift";
|
|
9
9
|
type TransactionStatus = "pending" | "processing" | "completed" | "failed" | "cancelled" | "reversed";
|
|
10
10
|
interface TransactionCreateDTO {
|
|
11
11
|
tx_id: string;
|
|
@@ -16,7 +16,8 @@ interface TransactionCreateDTO {
|
|
|
16
16
|
transaction_mode: TransactionMode;
|
|
17
17
|
amount: string;
|
|
18
18
|
currency: string;
|
|
19
|
-
|
|
19
|
+
amount_usd?: number;
|
|
20
|
+
status?: TransactionStatus;
|
|
20
21
|
source_account: string;
|
|
21
22
|
destination_account: string;
|
|
22
23
|
country: string;
|
package/package.json
CHANGED