@soltech/fluid-common 1.0.20 → 1.0.22

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
@@ -106,7 +106,7 @@ export interface PaymentMethod {
106
106
  minAmount: number;
107
107
  maxAmount: number;
108
108
  info: string;
109
- paymentType?: PaymentType;
109
+ paymentType: PaymentType;
110
110
  inputFields?: InputField[];
111
111
  bonusCodes?: string[];
112
112
  instructions?: string;
@@ -162,9 +162,9 @@ export declare enum RecentMethodMaskedAccountFormat {
162
162
  export interface RecentMethod extends PaymentMethod {
163
163
  accountId: string;
164
164
  maskedAccount: string;
165
- lastSuccess?: string;
166
- expiryDate?: string;
167
- maskedAccountFormat?: RecentMethodMaskedAccountFormat;
165
+ lastSuccess: string;
166
+ expiryDate: string;
167
+ maskedAccountFormat: RecentMethodMaskedAccountFormat;
168
168
  }
169
169
  export interface TransactionParams {
170
170
  accountId?: string;
@@ -229,6 +229,7 @@ export interface TransactionResult {
229
229
  state: TransactionState;
230
230
  statusCode: string;
231
231
  transactionId: string;
232
+ pspStatusCode?: string;
232
233
  }
233
234
  export interface RedirectOutput {
234
235
  container: RedirectContainer;
@@ -274,6 +275,7 @@ export declare enum Action {
274
275
  export interface PendingWithdrawal {
275
276
  amount: string;
276
277
  creationDate: string;
278
+ providerType: string;
277
279
  state: WithdrawalState;
278
280
  transactionId: string;
279
281
  paymentGatewayId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "1.0.20",
3
+ "version": "1.0.22",
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
@@ -120,7 +120,7 @@ export interface PaymentMethod {
120
120
  minAmount: number;
121
121
  maxAmount: number;
122
122
  info: string;
123
- paymentType?: PaymentType;
123
+ paymentType: PaymentType;
124
124
  inputFields?: InputField[];
125
125
  bonusCodes?: string[];
126
126
  instructions?: string;
@@ -183,9 +183,9 @@ export enum RecentMethodMaskedAccountFormat {
183
183
  export interface RecentMethod extends PaymentMethod {
184
184
  accountId: string;
185
185
  maskedAccount: string;
186
- lastSuccess?: string;
187
- expiryDate?: string;
188
- maskedAccountFormat?: RecentMethodMaskedAccountFormat;
186
+ lastSuccess: string;
187
+ expiryDate: string;
188
+ maskedAccountFormat: RecentMethodMaskedAccountFormat;
189
189
  }
190
190
 
191
191
  export interface TransactionParams {
@@ -257,6 +257,7 @@ export interface TransactionResult {
257
257
  state: TransactionState;
258
258
  statusCode: string;
259
259
  transactionId: string;
260
+ pspStatusCode?: string;
260
261
  }
261
262
 
262
263
  export interface RedirectOutput {
@@ -309,6 +310,7 @@ export enum Action {
309
310
  export interface PendingWithdrawal {
310
311
  amount: string;
311
312
  creationDate: string;
313
+ providerType: string;
312
314
  state: WithdrawalState;
313
315
  transactionId: string;
314
316
  paymentGatewayId: string;