@tap-payments/os-micro-frontend-shared 0.1.378-test.3 → 0.1.378-test.4

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.
@@ -42,11 +42,7 @@ export declare const REPORTS_APPS: {
42
42
  code: string;
43
43
  name: string;
44
44
  icon: string;
45
- services: ({
45
+ services: {
46
46
  name: string;
47
- code: string;
48
- } | {
49
- name: string;
50
- code: string[];
51
- })[];
47
+ }[];
52
48
  }[];
@@ -74,37 +74,24 @@ export const REPORTS_APPS = [
74
74
  code: APP_CODES.billing.code,
75
75
  name: 'Billing',
76
76
  icon: billingAppIcon,
77
- services: [{ name: 'Invoices', code: REPORT_FILTER_TYPES.INVOICE }],
77
+ services: [{ name: 'Invoices' }],
78
78
  },
79
79
  {
80
80
  code: APP_CODES.acceptance.code,
81
81
  name: 'Acceptance',
82
82
  icon: acceptanceAppIcon,
83
- services: [
84
- { name: 'Authorisations', code: REPORT_FILTER_TYPES.AUTHORIZE },
85
- { name: 'Charges', code: REPORT_FILTER_TYPES.CHARGE },
86
- { name: 'Refunds', code: REPORT_FILTER_TYPES.REFUND },
87
- { name: 'Chargebacks', code: REPORT_FILTER_TYPES.CHARGEBACKS },
88
- { name: 'Destinations', code: [REPORT_FILTER_TYPES.DESTINATIONS, REPORT_FILTER_TYPES.REVERSED_DESTINATIONS] },
89
- ],
83
+ services: [{ name: 'Authorisations' }, { name: 'Charges' }, { name: 'Refunds' }, { name: 'Chargebacks' }, { name: 'Destinations' }],
90
84
  },
91
85
  {
92
86
  code: APP_CODES.wallet.code,
93
87
  name: 'Wallet',
94
88
  icon: walletAppIcon,
95
- services: [
96
- { name: 'Aggregated Statement', code: REPORT_FILTER_TYPES.STATEMENT_SUMMARY },
97
- { name: 'Detailed Statement', code: REPORT_FILTER_TYPES.STATEMENT },
98
- ],
89
+ services: [{ name: 'Aggregated Statement' }, { name: 'Detailed Statement' }],
99
90
  },
100
91
  {
101
92
  code: APP_CODES.payouts.code,
102
93
  name: 'Payouts',
103
94
  icon: payoutsAppIcon,
104
- services: [
105
- { name: 'Payouts', code: REPORT_FILTER_TYPES.PAYOUT },
106
- { name: 'Merchant Payouts', code: REPORT_FILTER_TYPES.MERCHANT_PAYOUT },
107
- { name: 'Retailer Payouts', code: REPORT_FILTER_TYPES.RETAILER_PAYOUT },
108
- ],
95
+ services: [{ name: 'Payouts' }, { name: 'Merchant Payouts' }, { name: 'Retailer Payouts' }],
109
96
  },
110
97
  ];
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.3",
5
- "testVersion": 3,
4
+ "version": "0.1.378-test.4",
5
+ "testVersion": 4,
6
6
  "type": "module",
7
7
  "main": "build/index.js",
8
8
  "module": "build/index.js",