@soltech/fluid-common 0.4.7 → 0.4.9
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 +11 -1
- package/package.json +1 -1
- package/src/index.ts +13 -1
package/lib/index.d.ts
CHANGED
|
@@ -121,7 +121,9 @@ export interface BankTransferTransactionParams extends TransactionParams {
|
|
|
121
121
|
nationalId?: string;
|
|
122
122
|
}
|
|
123
123
|
export interface CryptoTransactionParams extends TransactionParams {
|
|
124
|
-
cryptoCurrency
|
|
124
|
+
cryptoCurrency?: string;
|
|
125
|
+
destinationTag?: string;
|
|
126
|
+
walletAddress?: string;
|
|
125
127
|
}
|
|
126
128
|
export interface EWalletTransactionParams extends TransactionParams {
|
|
127
129
|
customerNumber?: string;
|
|
@@ -176,3 +178,11 @@ export declare enum WithdrawalState {
|
|
|
176
178
|
REQUESTED = "REQUESTED",
|
|
177
179
|
PROCESSING = "PROCESSING"
|
|
178
180
|
}
|
|
181
|
+
export interface AvailableBonusWithPaymentMethods {
|
|
182
|
+
code: string;
|
|
183
|
+
paymentMethods: BonusPaymentMethod[];
|
|
184
|
+
}
|
|
185
|
+
export interface BonusPaymentMethod {
|
|
186
|
+
providerType: string;
|
|
187
|
+
service?: string;
|
|
188
|
+
}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -140,7 +140,9 @@ export interface BankTransferTransactionParams extends TransactionParams {
|
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
export interface CryptoTransactionParams extends TransactionParams {
|
|
143
|
-
cryptoCurrency
|
|
143
|
+
cryptoCurrency?: string;
|
|
144
|
+
destinationTag?: string;
|
|
145
|
+
walletAddress?: string;
|
|
144
146
|
}
|
|
145
147
|
|
|
146
148
|
export interface EWalletTransactionParams extends TransactionParams {
|
|
@@ -204,3 +206,13 @@ export enum WithdrawalState {
|
|
|
204
206
|
REQUESTED = 'REQUESTED',
|
|
205
207
|
PROCESSING = 'PROCESSING'
|
|
206
208
|
}
|
|
209
|
+
|
|
210
|
+
export interface AvailableBonusWithPaymentMethods {
|
|
211
|
+
code: string;
|
|
212
|
+
paymentMethods: BonusPaymentMethod[];
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
export interface BonusPaymentMethod {
|
|
216
|
+
providerType: string;
|
|
217
|
+
service?: string;
|
|
218
|
+
}
|