@tap-payments/os-micro-frontend-shared 0.1.378-test.1 → 0.1.378-test.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.
|
@@ -12,7 +12,8 @@ const REPORT_FILTER_TYPES = {
|
|
|
12
12
|
AUTHORIZE: 'AUTHORIZE',
|
|
13
13
|
REFUND: 'REFUND',
|
|
14
14
|
CHARGEBACKS: 'CHARGEBACKS',
|
|
15
|
-
DESTINATIONS:
|
|
15
|
+
DESTINATIONS: 'DESTINATIONS',
|
|
16
|
+
REVERSED_DESTINATIONS: 'REVERSED_DESTINATIONS',
|
|
16
17
|
// Wallet
|
|
17
18
|
STATEMENT: 'STATEMENT',
|
|
18
19
|
STATEMENT_SUMMARY: 'STATEMENT_SUMMARY',
|
|
@@ -39,13 +40,14 @@ export const reportFilterTypesMap = {
|
|
|
39
40
|
[APP_CODES.acceptance.services.authorization.code]: [REPORT_FILTER_TYPES.AUTHORIZE],
|
|
40
41
|
[APP_CODES.acceptance.services.refunds.code]: [REPORT_FILTER_TYPES.REFUND],
|
|
41
42
|
[APP_CODES.acceptance.services.chargeback.code]: [REPORT_FILTER_TYPES.CHARGEBACKS],
|
|
42
|
-
[APP_CODES.acceptance.services.destinations.code]: REPORT_FILTER_TYPES.DESTINATIONS,
|
|
43
|
+
[APP_CODES.acceptance.services.destinations.code]: [REPORT_FILTER_TYPES.DESTINATIONS, REPORT_FILTER_TYPES.REVERSED_DESTINATIONS],
|
|
43
44
|
[APP_CODES.acceptance.code]: [
|
|
44
45
|
REPORT_FILTER_TYPES.CHARGE,
|
|
45
46
|
REPORT_FILTER_TYPES.AUTHORIZE,
|
|
46
47
|
REPORT_FILTER_TYPES.REFUND,
|
|
47
48
|
REPORT_FILTER_TYPES.CHARGEBACKS,
|
|
48
|
-
|
|
49
|
+
REPORT_FILTER_TYPES.DESTINATIONS,
|
|
50
|
+
REPORT_FILTER_TYPES.REVERSED_DESTINATIONS,
|
|
49
51
|
],
|
|
50
52
|
// Wallet
|
|
51
53
|
[APP_CODES.wallet.services.merchants.functions.statement.code]: [REPORT_FILTER_TYPES.STATEMENT],
|
|
@@ -83,7 +85,7 @@ export const REPORTS_APPS = [
|
|
|
83
85
|
{ name: 'Charges', code: REPORT_FILTER_TYPES.CHARGE },
|
|
84
86
|
{ name: 'Refunds', code: REPORT_FILTER_TYPES.REFUND },
|
|
85
87
|
{ name: 'Chargebacks', code: REPORT_FILTER_TYPES.CHARGEBACKS },
|
|
86
|
-
{ name: 'Destinations', code: REPORT_FILTER_TYPES.DESTINATIONS },
|
|
88
|
+
{ name: 'Destinations', code: [REPORT_FILTER_TYPES.DESTINATIONS, REPORT_FILTER_TYPES.REVERSED_DESTINATIONS] },
|
|
87
89
|
],
|
|
88
90
|
},
|
|
89
91
|
{
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tap-payments/os-micro-frontend-shared",
|
|
3
3
|
"description": "Shared components and utilities for Tap Payments micro frontends",
|
|
4
|
-
"version": "0.1.378-test.
|
|
5
|
-
"testVersion":
|
|
4
|
+
"version": "0.1.378-test.2",
|
|
5
|
+
"testVersion": 2,
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "build/index.js",
|
|
8
8
|
"module": "build/index.js",
|