@soltech/fluid-common 1.6.16 → 1.6.18

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.
@@ -0,0 +1,7 @@
1
+ {
2
+ "enabledMcpjsonServers": [
3
+ "shortcut",
4
+ "playwright"
5
+ ],
6
+ "enableAllProjectMcpServers": true
7
+ }
package/lib/index.d.ts CHANGED
@@ -209,44 +209,12 @@ export interface CreditcardTransactionParams extends TransactionParams {
209
209
  expiryYear?: string;
210
210
  expiryDate?: string;
211
211
  }
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 {
212
+ /**
213
+ * Transaction params for any payment method whose input fields are defined
214
+ * dynamically in CMS (bank transfer, crypto, e-wallet, voucher, etc.). Field
215
+ * keys come from `PaymentMethod.inputFields[].paramName`.
216
+ */
217
+ export interface DynamicTransactionParams extends TransactionParams {
250
218
  [key: string]: string | number | undefined;
251
219
  }
252
220
  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.16",
3
+ "version": "1.6.18",
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
@@ -237,47 +237,12 @@ export interface CreditcardTransactionParams extends TransactionParams {
237
237
  expiryDate?: string;
238
238
  }
239
239
 
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 {
240
+ /**
241
+ * Transaction params for any payment method whose input fields are defined
242
+ * dynamically in CMS (bank transfer, crypto, e-wallet, voucher, etc.). Field
243
+ * keys come from `PaymentMethod.inputFields[].paramName`.
244
+ */
245
+ export interface DynamicTransactionParams extends TransactionParams {
281
246
  [key: string]: string | number | undefined;
282
247
  }
283
248