@soltech/fluid-common 0.4.32 → 0.4.33

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
@@ -160,6 +160,7 @@ export declare enum TransactionState {
160
160
  }
161
161
  export interface ProviderTransactionError {
162
162
  code: string;
163
+ textTitle: string;
163
164
  text: string;
164
165
  action: Action;
165
166
  }
@@ -167,7 +168,8 @@ export declare enum Action {
167
168
  RESTART_PRESERVING_DETAILS = "RESTART_PRESERVING_DETAILS",
168
169
  RESTART_CLEARING_DETAILS = "RESTART_CLEARING_DETAILS",
169
170
  SHOW_DETAILS_STEP_PRESERVING_DETAILS = "SHOW_DETAILS_STEP_PRESERVING_DETAILS",
170
- SHOW_DETAILS_STEP_CLEARING_DETAILS = "SHOW_DETAILS_STEP_CLEARING_DETAILS"
171
+ SHOW_DETAILS_STEP_CLEARING_DETAILS = "SHOW_DETAILS_STEP_CLEARING_DETAILS",
172
+ SHOW_CVC_EDIT = "SHOW_CVC_EDIT"
171
173
  }
172
174
  export interface PendingWithdrawal {
173
175
  amount: string;
@@ -182,10 +184,7 @@ export declare enum WithdrawalState {
182
184
  }
183
185
  export interface AvailableBonusWithPaymentMethods {
184
186
  code: string;
185
- paymentMethodFilter?: {
186
- applyTo?: BonusPaymentMethod[];
187
- excludeFrom?: BonusPaymentMethod[];
188
- };
187
+ paymentMethodFilter?: BonusPaymentMethod[];
189
188
  }
190
189
  export interface BonusPaymentMethod {
191
190
  providerType: string;
package/lib/index.js CHANGED
@@ -36,6 +36,7 @@ export var Action;
36
36
  Action["RESTART_CLEARING_DETAILS"] = "RESTART_CLEARING_DETAILS";
37
37
  Action["SHOW_DETAILS_STEP_PRESERVING_DETAILS"] = "SHOW_DETAILS_STEP_PRESERVING_DETAILS";
38
38
  Action["SHOW_DETAILS_STEP_CLEARING_DETAILS"] = "SHOW_DETAILS_STEP_CLEARING_DETAILS";
39
+ Action["SHOW_CVC_EDIT"] = "SHOW_CVC_EDIT";
39
40
  })(Action || (Action = {}));
40
41
  export var WithdrawalState;
41
42
  (function (WithdrawalState) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "0.4.32",
3
+ "version": "0.4.33",
4
4
  "type": "module",
5
5
  "description": "Fluid frontend and API commons",
6
6
  "main": "lib/index.js",
package/src/index.ts CHANGED
@@ -185,6 +185,7 @@ export enum TransactionState {
185
185
 
186
186
  export interface ProviderTransactionError {
187
187
  code: string;
188
+ textTitle: string;
188
189
  text: string;
189
190
  action: Action;
190
191
  }
@@ -194,6 +195,7 @@ export enum Action {
194
195
  RESTART_CLEARING_DETAILS = 'RESTART_CLEARING_DETAILS',
195
196
  SHOW_DETAILS_STEP_PRESERVING_DETAILS = 'SHOW_DETAILS_STEP_PRESERVING_DETAILS',
196
197
  SHOW_DETAILS_STEP_CLEARING_DETAILS = 'SHOW_DETAILS_STEP_CLEARING_DETAILS',
198
+ SHOW_CVC_EDIT = 'SHOW_CVC_EDIT',
197
199
  }
198
200
 
199
201
  export interface PendingWithdrawal {
@@ -211,10 +213,7 @@ export enum WithdrawalState {
211
213
 
212
214
  export interface AvailableBonusWithPaymentMethods {
213
215
  code: string;
214
- paymentMethodFilter?: {
215
- applyTo?: BonusPaymentMethod[];
216
- excludeFrom?: BonusPaymentMethod[];
217
- }
216
+ paymentMethodFilter?: BonusPaymentMethod[];
218
217
  }
219
218
 
220
219
  export interface BonusPaymentMethod {