@soltech/fluid-common 1.6.15 → 1.6.16
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 +46 -13
- package/package.json +1 -1
- package/src/index.ts +50 -13
- package/.claude/settings.local.json +0 -7
package/lib/index.d.ts
CHANGED
|
@@ -54,31 +54,32 @@ export interface Viewport {
|
|
|
54
54
|
export interface WalletConfig {
|
|
55
55
|
autofillCreditCardName: boolean;
|
|
56
56
|
balanceDisplayed: boolean;
|
|
57
|
+
banner?: Banner;
|
|
57
58
|
bonusOutlined: boolean;
|
|
59
|
+
campaign?: Campaign;
|
|
58
60
|
contactSupportEnabled: boolean;
|
|
59
61
|
contactSupportLink: string;
|
|
60
62
|
contentText: Record<string, string>;
|
|
61
63
|
expressFlowEnabled: boolean;
|
|
62
64
|
defaultDepositAmount: number;
|
|
63
65
|
fullListOfDepositMethodsDisplayed: boolean;
|
|
66
|
+
hideMinMaxEnabled: boolean;
|
|
64
67
|
integration: Integration;
|
|
65
68
|
kycDepositLimit: number | null;
|
|
66
69
|
logo: string;
|
|
70
|
+
manualBonusCodesEnabled?: boolean;
|
|
67
71
|
numberCharactersHolderName: number | null;
|
|
72
|
+
pendingWithdrawalsReminder: {
|
|
73
|
+
threshold: number;
|
|
74
|
+
userResponseRequired: boolean;
|
|
75
|
+
};
|
|
68
76
|
successScreen: {
|
|
69
77
|
promotion: Promotion | null;
|
|
70
78
|
};
|
|
71
79
|
suggestedDepositAmounts: number[];
|
|
72
80
|
theme: Record<string, string>;
|
|
73
81
|
transactionToggleDisplayed: boolean;
|
|
74
|
-
pendingWithdrawalsReminder: {
|
|
75
|
-
userResponseRequired: boolean;
|
|
76
|
-
threshold: number;
|
|
77
|
-
};
|
|
78
82
|
withdrawalInFiatCurrency: boolean;
|
|
79
|
-
banner?: Banner;
|
|
80
|
-
campaign?: Campaign;
|
|
81
|
-
manualBonusCodesEnabled?: boolean;
|
|
82
83
|
}
|
|
83
84
|
export interface Promotion {
|
|
84
85
|
title: string;
|
|
@@ -208,12 +209,44 @@ export interface CreditcardTransactionParams extends TransactionParams {
|
|
|
208
209
|
expiryYear?: string;
|
|
209
210
|
expiryDate?: string;
|
|
210
211
|
}
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
212
|
+
export interface BankTransferTransactionParams extends TransactionParams {
|
|
213
|
+
accountName?: string;
|
|
214
|
+
accountNumber?: string;
|
|
215
|
+
accountType?: string;
|
|
216
|
+
bankCode?: string;
|
|
217
|
+
bankName?: string;
|
|
218
|
+
beneficiaryCity?: string;
|
|
219
|
+
beneficiaryCountry?: string;
|
|
220
|
+
beneficiaryName?: string;
|
|
221
|
+
beneficiaryState?: string;
|
|
222
|
+
beneficiaryStreet?: string;
|
|
223
|
+
beneficiaryZip?: string;
|
|
224
|
+
bic?: string;
|
|
225
|
+
branchAddress?: string;
|
|
226
|
+
branchCode?: string;
|
|
227
|
+
branchName?: string;
|
|
228
|
+
clearingNumber?: string;
|
|
229
|
+
countryCode?: string;
|
|
230
|
+
iban?: string;
|
|
231
|
+
nationalId?: string;
|
|
232
|
+
documentType?: string;
|
|
233
|
+
documentNumber?: string;
|
|
234
|
+
}
|
|
235
|
+
export interface CryptoTransactionParams extends TransactionParams {
|
|
236
|
+
cryptoCurrency?: string;
|
|
237
|
+
destinationTag?: string;
|
|
238
|
+
walletAddress?: string;
|
|
239
|
+
}
|
|
240
|
+
export interface EWalletTransactionParams extends TransactionParams {
|
|
241
|
+
customerNumber?: string;
|
|
242
|
+
email?: string;
|
|
243
|
+
mobile?: string;
|
|
244
|
+
phoneNumber?: string;
|
|
245
|
+
service?: string;
|
|
246
|
+
beneficiaryName?: string;
|
|
247
|
+
userAccountId?: string;
|
|
248
|
+
}
|
|
249
|
+
export interface VoucherTransactionParams extends TransactionParams {
|
|
217
250
|
[key: string]: string | number | undefined;
|
|
218
251
|
}
|
|
219
252
|
export interface ApplePayTransactionParams extends TransactionParams {
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -62,31 +62,33 @@ export interface Viewport {
|
|
|
62
62
|
export interface WalletConfig {
|
|
63
63
|
autofillCreditCardName: boolean;
|
|
64
64
|
balanceDisplayed: boolean;
|
|
65
|
+
banner?: Banner;
|
|
65
66
|
bonusOutlined: boolean;
|
|
67
|
+
campaign?: Campaign;
|
|
66
68
|
contactSupportEnabled: boolean;
|
|
67
69
|
contactSupportLink: string;
|
|
68
70
|
contentText: Record<string, string>;
|
|
69
71
|
expressFlowEnabled: boolean;
|
|
70
72
|
defaultDepositAmount: number;
|
|
71
73
|
fullListOfDepositMethodsDisplayed: boolean;
|
|
74
|
+
hideMinMaxEnabled: boolean;
|
|
72
75
|
integration: Integration;
|
|
73
76
|
kycDepositLimit: number | null;
|
|
74
77
|
logo: string;
|
|
78
|
+
manualBonusCodesEnabled?: boolean;
|
|
75
79
|
numberCharactersHolderName: number | null;
|
|
80
|
+
pendingWithdrawalsReminder: {
|
|
81
|
+
threshold: number;
|
|
82
|
+
userResponseRequired: boolean;
|
|
83
|
+
};
|
|
76
84
|
successScreen: {
|
|
77
85
|
promotion: Promotion | null;
|
|
78
86
|
};
|
|
79
87
|
suggestedDepositAmounts: number[];
|
|
80
88
|
theme: Record<string, string>;
|
|
81
89
|
transactionToggleDisplayed: boolean;
|
|
82
|
-
pendingWithdrawalsReminder: {
|
|
83
|
-
userResponseRequired: boolean;
|
|
84
|
-
threshold: number;
|
|
85
|
-
},
|
|
86
90
|
withdrawalInFiatCurrency: boolean;
|
|
87
|
-
|
|
88
|
-
campaign?: Campaign;
|
|
89
|
-
manualBonusCodesEnabled?: boolean;
|
|
91
|
+
|
|
90
92
|
}
|
|
91
93
|
|
|
92
94
|
export interface Promotion {
|
|
@@ -235,12 +237,47 @@ export interface CreditcardTransactionParams extends TransactionParams {
|
|
|
235
237
|
expiryDate?: string;
|
|
236
238
|
}
|
|
237
239
|
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
240
|
+
export interface BankTransferTransactionParams extends TransactionParams {
|
|
241
|
+
accountName?: string;
|
|
242
|
+
accountNumber?: string;
|
|
243
|
+
accountType?: string;
|
|
244
|
+
bankCode?: string;
|
|
245
|
+
bankName?: string;
|
|
246
|
+
beneficiaryCity?: string;
|
|
247
|
+
beneficiaryCountry?: string;
|
|
248
|
+
beneficiaryName?: string;
|
|
249
|
+
beneficiaryState?: string;
|
|
250
|
+
beneficiaryStreet?: string;
|
|
251
|
+
beneficiaryZip?: string;
|
|
252
|
+
bic?: string;
|
|
253
|
+
branchAddress?: string;
|
|
254
|
+
branchCode?: string;
|
|
255
|
+
branchName?: string;
|
|
256
|
+
clearingNumber?: string;
|
|
257
|
+
countryCode?: string;
|
|
258
|
+
iban?: string;
|
|
259
|
+
nationalId?: string;
|
|
260
|
+
documentType?: string;
|
|
261
|
+
documentNumber?: string;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
export interface CryptoTransactionParams extends TransactionParams {
|
|
265
|
+
cryptoCurrency?: string;
|
|
266
|
+
destinationTag?: string;
|
|
267
|
+
walletAddress?: string;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
export interface EWalletTransactionParams extends TransactionParams {
|
|
271
|
+
customerNumber?: string;
|
|
272
|
+
email?: string;
|
|
273
|
+
mobile?: string;
|
|
274
|
+
phoneNumber?: string;
|
|
275
|
+
service?: string;
|
|
276
|
+
beneficiaryName?: string;
|
|
277
|
+
userAccountId?: string;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
export interface VoucherTransactionParams extends TransactionParams {
|
|
244
281
|
[key: string]: string | number | undefined;
|
|
245
282
|
}
|
|
246
283
|
|