@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.
- package/build/cjs/index.js +4 -4
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/types/types/smart-routing/smart-routing.d.ts +14 -1
- package/build/esm/index.js +7 -7
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/types/smart-routing/smart-routing.d.ts +14 -1
- package/build/index.d.ts +14 -1
- package/package.json +1 -1
|
@@ -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?:
|
|
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;
|
package/build/index.d.ts
CHANGED
|
@@ -2115,6 +2115,12 @@ declare namespace SmartRouting {
|
|
|
2115
2115
|
export type AvailableActions = 'END' | 'DECLINE' | 'CAPTURE' | 'CANCEL' | 'REVERT' | 'RETRY';
|
|
2116
2116
|
export type OutputType = 'SUCCESS' | 'ERROR' | 'WARNING';
|
|
2117
2117
|
export type StatusTransaction = 'SUCCEEDED' | 'PENDING' | 'PROCEED' | 'ERROR' | 'DECLINED' | 'DECLINE_GROUP';
|
|
2118
|
+
export enum StepType {
|
|
2119
|
+
FRAUD = "FRAUD",
|
|
2120
|
+
PAYMENT = "PAYMENT",
|
|
2121
|
+
THREE_D_SECURE = "THREE_D_SECURE",
|
|
2122
|
+
CYBERSOURCE_3DS = "CYBERSOURCE_3DS"
|
|
2123
|
+
}
|
|
2118
2124
|
export interface TransactionStatuses {
|
|
2119
2125
|
condition_actions: ConditionActions[];
|
|
2120
2126
|
transaction_statuses: {
|
|
@@ -2132,14 +2138,16 @@ declare namespace SmartRouting {
|
|
|
2132
2138
|
export type DeclineTypes = {
|
|
2133
2139
|
label: string;
|
|
2134
2140
|
name: string;
|
|
2141
|
+
group_type?: DeclineGroupType;
|
|
2135
2142
|
is_used: boolean;
|
|
2136
|
-
step_type?:
|
|
2143
|
+
step_type?: StepType;
|
|
2137
2144
|
}[];
|
|
2138
2145
|
export interface DeclineGroup {
|
|
2139
2146
|
id?: number;
|
|
2140
2147
|
name: string;
|
|
2141
2148
|
account_code: string;
|
|
2142
2149
|
decline_types: string[];
|
|
2150
|
+
group_type?: DeclineGroupType;
|
|
2143
2151
|
}
|
|
2144
2152
|
export interface PaymentRoute {
|
|
2145
2153
|
index: number;
|
|
@@ -2157,6 +2165,10 @@ declare namespace SmartRouting {
|
|
|
2157
2165
|
available_provider: number;
|
|
2158
2166
|
unavailable_provider: number;
|
|
2159
2167
|
}
|
|
2168
|
+
export enum DeclineGroupType {
|
|
2169
|
+
PROVIDER_STATUS = "PROVIDER_STATUS",
|
|
2170
|
+
MAC_CODE = "MAC_CODE"
|
|
2171
|
+
}
|
|
2160
2172
|
interface ApprovalRateOpsgenie {
|
|
2161
2173
|
opsgenie_service_name: string;
|
|
2162
2174
|
opsgenie_api_keys: string;
|
|
@@ -2194,6 +2206,7 @@ declare namespace SmartRouting {
|
|
|
2194
2206
|
name: string;
|
|
2195
2207
|
types: string[];
|
|
2196
2208
|
account_codes: string[];
|
|
2209
|
+
group?: DeclineGroupType;
|
|
2197
2210
|
}
|
|
2198
2211
|
export interface PayloadAIWorkflowCreate {
|
|
2199
2212
|
payment_method: string;
|