@yuno-payments/dashboard-api-mfe 0.36.50 → 0.36.51-beta.2

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.
@@ -223,6 +223,12 @@ export declare namespace SmartRouting {
223
223
  export type AvailableActions = 'END' | 'DECLINE' | 'CAPTURE' | 'CANCEL' | 'REVERT' | 'RETRY';
224
224
  export type OutputType = 'SUCCESS' | 'ERROR' | 'WARNING';
225
225
  export type StatusTransaction = 'SUCCEEDED' | 'PENDING' | 'PROCEED' | 'ERROR' | 'DECLINED' | 'DECLINE_GROUP';
226
+ export enum StepType {
227
+ FRAUD = "FRAUD",
228
+ PAYMENT = "PAYMENT",
229
+ THREE_D_SECURE = "THREE_D_SECURE",
230
+ CYBERSOURCE_3DS = "CYBERSOURCE_3DS"
231
+ }
226
232
  export interface TransactionStatuses {
227
233
  condition_actions: ConditionActions[];
228
234
  transaction_statuses: {
@@ -240,14 +246,16 @@ export declare namespace SmartRouting {
240
246
  export type DeclineTypes = {
241
247
  label: string;
242
248
  name: string;
249
+ group_type?: DeclineGroupType;
243
250
  is_used: boolean;
244
- step_type?: 'PAYMENT' | 'THREE_D_SECURE';
251
+ step_type?: StepType;
245
252
  }[];
246
253
  export interface DeclineGroup {
247
254
  id?: number;
248
255
  name: string;
249
256
  account_code: string;
250
257
  decline_types: string[];
258
+ group_type?: DeclineGroupType;
251
259
  }
252
260
  export interface PaymentRoute {
253
261
  index: number;
@@ -265,6 +273,10 @@ export declare namespace SmartRouting {
265
273
  available_provider: number;
266
274
  unavailable_provider: number;
267
275
  }
276
+ export enum DeclineGroupType {
277
+ PROVIDER_STATUS = "PROVIDER_STATUS",
278
+ MAC_CODE = "MAC_CODE"
279
+ }
268
280
  interface ApprovalRateOpsgenie {
269
281
  opsgenie_service_name: string;
270
282
  opsgenie_api_keys: string;
@@ -302,6 +314,7 @@ export declare namespace SmartRouting {
302
314
  name: string;
303
315
  types: string[];
304
316
  account_codes: string[];
317
+ group?: DeclineGroupType;
305
318
  }
306
319
  export interface PayloadAIWorkflowCreate {
307
320
  payment_method: string;