@soltech/fluid-common 1.6.19 → 1.6.20
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 +43 -8
- package/package.json +1 -1
- package/src/index.ts +47 -8
package/lib/index.d.ts
CHANGED
|
@@ -134,6 +134,8 @@ export interface PaymentMethod {
|
|
|
134
134
|
transactionStatusCheck?: TransactionStatusCheck;
|
|
135
135
|
finalTransactionResultCheckEnabled?: boolean;
|
|
136
136
|
encryptionSettings?: EncryptionSettings;
|
|
137
|
+
hostedFields?: boolean;
|
|
138
|
+
hostedFieldsUrl?: string;
|
|
137
139
|
}
|
|
138
140
|
export interface EncryptionSettings {
|
|
139
141
|
encryptionType: EncryptionType;
|
|
@@ -209,16 +211,49 @@ export interface CreditcardTransactionParams extends TransactionParams {
|
|
|
209
211
|
expiryYear?: string;
|
|
210
212
|
expiryDate?: string;
|
|
211
213
|
}
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
214
|
+
export interface BankTransferTransactionParams extends TransactionParams {
|
|
215
|
+
accountName?: string;
|
|
216
|
+
accountNumber?: string;
|
|
217
|
+
accountType?: string;
|
|
218
|
+
bankCode?: string;
|
|
219
|
+
bankName?: string;
|
|
220
|
+
beneficiaryCity?: string;
|
|
221
|
+
beneficiaryCountry?: string;
|
|
222
|
+
beneficiaryName?: string;
|
|
223
|
+
beneficiaryState?: string;
|
|
224
|
+
beneficiaryStreet?: string;
|
|
225
|
+
beneficiaryZip?: string;
|
|
226
|
+
bic?: string;
|
|
227
|
+
branchAddress?: string;
|
|
228
|
+
branchCode?: string;
|
|
229
|
+
branchName?: string;
|
|
230
|
+
clearingNumber?: string;
|
|
231
|
+
countryCode?: string;
|
|
232
|
+
iban?: string;
|
|
233
|
+
nationalId?: string;
|
|
234
|
+
documentType?: string;
|
|
235
|
+
documentNumber?: string;
|
|
236
|
+
}
|
|
237
|
+
export interface CryptoTransactionParams extends TransactionParams {
|
|
238
|
+
cryptoCurrency?: string;
|
|
239
|
+
destinationTag?: string;
|
|
240
|
+
walletAddress?: string;
|
|
241
|
+
}
|
|
242
|
+
export interface EWalletTransactionParams extends TransactionParams {
|
|
243
|
+
customerNumber?: string;
|
|
244
|
+
email?: string;
|
|
245
|
+
mobile?: string;
|
|
246
|
+
phoneNumber?: string;
|
|
247
|
+
service?: string;
|
|
248
|
+
beneficiaryName?: string;
|
|
249
|
+
userAccountId?: string;
|
|
250
|
+
}
|
|
251
|
+
export interface VoucherTransactionParams extends TransactionParams {
|
|
220
252
|
[key: string]: string | number | undefined;
|
|
221
253
|
}
|
|
254
|
+
export interface ApplePayTransactionParams extends TransactionParams {
|
|
255
|
+
token?: string;
|
|
256
|
+
}
|
|
222
257
|
export interface TransactionOptions {
|
|
223
258
|
bonusCode?: string;
|
|
224
259
|
activityId?: string;
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -150,6 +150,8 @@ export interface PaymentMethod {
|
|
|
150
150
|
transactionStatusCheck?: TransactionStatusCheck;
|
|
151
151
|
finalTransactionResultCheckEnabled?: boolean;
|
|
152
152
|
encryptionSettings?: EncryptionSettings;
|
|
153
|
+
hostedFields?: boolean;
|
|
154
|
+
hostedFieldsUrl?: string;
|
|
153
155
|
}
|
|
154
156
|
|
|
155
157
|
export interface EncryptionSettings {
|
|
@@ -237,17 +239,54 @@ export interface CreditcardTransactionParams extends TransactionParams {
|
|
|
237
239
|
expiryDate?: string;
|
|
238
240
|
}
|
|
239
241
|
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
242
|
+
export interface BankTransferTransactionParams extends TransactionParams {
|
|
243
|
+
accountName?: string;
|
|
244
|
+
accountNumber?: string;
|
|
245
|
+
accountType?: string;
|
|
246
|
+
bankCode?: string;
|
|
247
|
+
bankName?: string;
|
|
248
|
+
beneficiaryCity?: string;
|
|
249
|
+
beneficiaryCountry?: string;
|
|
250
|
+
beneficiaryName?: string;
|
|
251
|
+
beneficiaryState?: string;
|
|
252
|
+
beneficiaryStreet?: string;
|
|
253
|
+
beneficiaryZip?: string;
|
|
254
|
+
bic?: string;
|
|
255
|
+
branchAddress?: string;
|
|
256
|
+
branchCode?: string;
|
|
257
|
+
branchName?: string;
|
|
258
|
+
clearingNumber?: string;
|
|
259
|
+
countryCode?: string;
|
|
260
|
+
iban?: string;
|
|
261
|
+
nationalId?: string;
|
|
262
|
+
documentType?: string;
|
|
263
|
+
documentNumber?: string;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
export interface CryptoTransactionParams extends TransactionParams {
|
|
267
|
+
cryptoCurrency?: string;
|
|
268
|
+
destinationTag?: string;
|
|
269
|
+
walletAddress?: string;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
export interface EWalletTransactionParams extends TransactionParams {
|
|
273
|
+
customerNumber?: string;
|
|
274
|
+
email?: string;
|
|
275
|
+
mobile?: string;
|
|
276
|
+
phoneNumber?: string;
|
|
277
|
+
service?: string;
|
|
278
|
+
beneficiaryName?: string;
|
|
279
|
+
userAccountId?: string;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
export interface VoucherTransactionParams extends TransactionParams {
|
|
248
283
|
[key: string]: string | number | undefined;
|
|
249
284
|
}
|
|
250
285
|
|
|
286
|
+
export interface ApplePayTransactionParams extends TransactionParams {
|
|
287
|
+
token?: string;
|
|
288
|
+
}
|
|
289
|
+
|
|
251
290
|
export interface TransactionOptions {
|
|
252
291
|
bonusCode?: string;
|
|
253
292
|
activityId?: string;
|