@soltech/fluid-common 1.6.13 → 1.6.15

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 CHANGED
@@ -208,44 +208,12 @@ export interface CreditcardTransactionParams extends TransactionParams {
208
208
  expiryYear?: string;
209
209
  expiryDate?: string;
210
210
  }
211
- export interface BankTransferTransactionParams extends TransactionParams {
212
- accountName?: string;
213
- accountNumber?: string;
214
- accountType?: string;
215
- bankCode?: string;
216
- bankName?: string;
217
- beneficiaryCity?: string;
218
- beneficiaryCountry?: string;
219
- beneficiaryName?: string;
220
- beneficiaryState?: string;
221
- beneficiaryStreet?: string;
222
- beneficiaryZip?: string;
223
- bic?: string;
224
- branchAddress?: string;
225
- branchCode?: string;
226
- branchName?: string;
227
- clearingNumber?: string;
228
- countryCode?: string;
229
- iban?: string;
230
- nationalId?: string;
231
- documentType?: string;
232
- documentNumber?: string;
233
- }
234
- export interface CryptoTransactionParams extends TransactionParams {
235
- cryptoCurrency?: string;
236
- destinationTag?: string;
237
- walletAddress?: string;
238
- }
239
- export interface EWalletTransactionParams extends TransactionParams {
240
- customerNumber?: string;
241
- email?: string;
242
- mobile?: string;
243
- phoneNumber?: string;
244
- service?: string;
245
- beneficiaryName?: string;
246
- userAccountId?: string;
247
- }
248
- export interface VoucherTransactionParams extends TransactionParams {
211
+ /**
212
+ * Transaction params for any payment method whose input fields are defined
213
+ * dynamically in CMS (bank transfer, crypto, e-wallet, voucher, etc.). Field
214
+ * keys come from `PaymentMethod.inputFields[].paramName`.
215
+ */
216
+ export interface DynamicTransactionParams extends TransactionParams {
249
217
  [key: string]: string | number | undefined;
250
218
  }
251
219
  export interface ApplePayTransactionParams extends TransactionParams {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "1.6.13",
3
+ "version": "1.6.15",
4
4
  "type": "module",
5
5
  "description": "Fluid frontend, API and AI common interfaces & enums",
6
6
  "main": "lib/index.js",
package/src/index.ts CHANGED
@@ -235,47 +235,12 @@ export interface CreditcardTransactionParams extends TransactionParams {
235
235
  expiryDate?: string;
236
236
  }
237
237
 
238
- export interface BankTransferTransactionParams extends TransactionParams {
239
- accountName?: string;
240
- accountNumber?: string;
241
- accountType?: string;
242
- bankCode?: string;
243
- bankName?: string;
244
- beneficiaryCity?: string;
245
- beneficiaryCountry?: string;
246
- beneficiaryName?: string;
247
- beneficiaryState?: string;
248
- beneficiaryStreet?: string;
249
- beneficiaryZip?: string;
250
- bic?: string;
251
- branchAddress?: string;
252
- branchCode?: string;
253
- branchName?: string;
254
- clearingNumber?: string;
255
- countryCode?: string;
256
- iban?: string;
257
- nationalId?: string;
258
- documentType?: string;
259
- documentNumber?: string;
260
- }
261
-
262
- export interface CryptoTransactionParams extends TransactionParams {
263
- cryptoCurrency?: string;
264
- destinationTag?: string;
265
- walletAddress?: string;
266
- }
267
-
268
- export interface EWalletTransactionParams extends TransactionParams {
269
- customerNumber?: string;
270
- email?: string;
271
- mobile?: string;
272
- phoneNumber?: string;
273
- service?: string;
274
- beneficiaryName?: string;
275
- userAccountId?: string;
276
- }
277
-
278
- export interface VoucherTransactionParams extends TransactionParams {
238
+ /**
239
+ * Transaction params for any payment method whose input fields are defined
240
+ * dynamically in CMS (bank transfer, crypto, e-wallet, voucher, etc.). Field
241
+ * keys come from `PaymentMethod.inputFields[].paramName`.
242
+ */
243
+ export interface DynamicTransactionParams extends TransactionParams {
279
244
  [key: string]: string | number | undefined;
280
245
  }
281
246