@soltech/fluid-common 1.0.2 → 1.0.4
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/lib/index.d.ts +10 -3
- package/package.json +1 -1
- package/src/index.ts +10 -3
package/lib/index.d.ts
CHANGED
|
@@ -114,10 +114,14 @@ export interface PaymentMethod {
|
|
|
114
114
|
withdrawalInputsShownWhenMethodIsStored: boolean;
|
|
115
115
|
transactionStatusCheck?: TransactionStatusCheck;
|
|
116
116
|
}
|
|
117
|
-
export
|
|
118
|
-
|
|
117
|
+
export type PaymentMethodFees = {
|
|
118
|
+
fixed?: number;
|
|
119
119
|
percentage?: number;
|
|
120
|
-
|
|
120
|
+
applyToRange?: {
|
|
121
|
+
min?: number;
|
|
122
|
+
max?: number;
|
|
123
|
+
};
|
|
124
|
+
}[];
|
|
121
125
|
export interface PaymentMethodLogo {
|
|
122
126
|
height: number;
|
|
123
127
|
url: string;
|
|
@@ -261,6 +265,7 @@ export interface PendingWithdrawal {
|
|
|
261
265
|
providerType: string;
|
|
262
266
|
state: WithdrawalState;
|
|
263
267
|
transactionId: string;
|
|
268
|
+
paymentGatewayId: string;
|
|
264
269
|
}
|
|
265
270
|
export declare enum WithdrawalState {
|
|
266
271
|
REQUESTED = "REQUESTED",
|
|
@@ -297,6 +302,8 @@ export interface UserData {
|
|
|
297
302
|
previousDeposit?: number;
|
|
298
303
|
timeOfDay?: string;
|
|
299
304
|
lifetimeDeposit?: number;
|
|
305
|
+
depositCount?: number;
|
|
306
|
+
daysSinceRegistration?: number;
|
|
300
307
|
kycStatus?: KycStatus;
|
|
301
308
|
affiliateId?: string;
|
|
302
309
|
tags?: string[];
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -129,10 +129,14 @@ export interface PaymentMethod {
|
|
|
129
129
|
transactionStatusCheck?: TransactionStatusCheck;
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
export
|
|
133
|
-
|
|
132
|
+
export type PaymentMethodFees = {
|
|
133
|
+
fixed?: number;
|
|
134
134
|
percentage?: number;
|
|
135
|
-
|
|
135
|
+
applyToRange?: {
|
|
136
|
+
min?: number;
|
|
137
|
+
max?: number;
|
|
138
|
+
}
|
|
139
|
+
}[];
|
|
136
140
|
|
|
137
141
|
export interface PaymentMethodLogo {
|
|
138
142
|
height: number;
|
|
@@ -295,6 +299,7 @@ export interface PendingWithdrawal {
|
|
|
295
299
|
providerType: string;
|
|
296
300
|
state: WithdrawalState;
|
|
297
301
|
transactionId: string;
|
|
302
|
+
paymentGatewayId: string;
|
|
298
303
|
}
|
|
299
304
|
|
|
300
305
|
export enum WithdrawalState {
|
|
@@ -337,6 +342,8 @@ export interface UserData {
|
|
|
337
342
|
previousDeposit?: number;
|
|
338
343
|
timeOfDay?: string;
|
|
339
344
|
lifetimeDeposit?: number;
|
|
345
|
+
depositCount?: number;
|
|
346
|
+
daysSinceRegistration?: number;
|
|
340
347
|
kycStatus?: KycStatus;
|
|
341
348
|
affiliateId?: string;
|
|
342
349
|
tags?: string[];
|