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

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,8 @@ 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
47
  code: string;
48
- } | {
49
- name: string;
50
- code: string[];
51
- })[];
48
+ }[];
52
49
  }[];
@@ -74,18 +74,18 @@ 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', code: APP_CODES.billing.services.invoices.code }],
78
78
  },
79
79
  {
80
80
  code: APP_CODES.acceptance.code,
81
81
  name: 'Acceptance',
82
82
  icon: acceptanceAppIcon,
83
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] },
84
+ { name: 'Authorisations', code: APP_CODES.acceptance.services.authorization.code },
85
+ { name: 'Charges', code: APP_CODES.acceptance.services.charges.code },
86
+ { name: 'Refunds', code: APP_CODES.acceptance.services.refunds.code },
87
+ { name: 'Chargebacks', code: APP_CODES.acceptance.services.chargeback.code },
88
+ { name: 'Destinations', code: APP_CODES.acceptance.services.destinations.code },
89
89
  ],
90
90
  },
91
91
  {
@@ -93,8 +93,8 @@ export const REPORTS_APPS = [
93
93
  name: 'Wallet',
94
94
  icon: walletAppIcon,
95
95
  services: [
96
- { name: 'Aggregated Statement', code: REPORT_FILTER_TYPES.STATEMENT_SUMMARY },
97
- { name: 'Detailed Statement', code: REPORT_FILTER_TYPES.STATEMENT },
96
+ { name: 'Aggregated Statement', code: APP_CODES.wallet.services.merchants.functions.summary.code },
97
+ { name: 'Detailed Statement', code: APP_CODES.wallet.services.merchants.functions.statement.code },
98
98
  ],
99
99
  },
100
100
  {
@@ -102,9 +102,9 @@ export const REPORTS_APPS = [
102
102
  name: 'Payouts',
103
103
  icon: payoutsAppIcon,
104
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 },
105
+ { name: 'Payouts', code: APP_CODES.payouts.services.payouts.code },
106
+ { name: 'Merchant Payouts', code: APP_CODES.payouts.services.merchantPayout.code },
107
+ { name: 'Retailer Payouts', code: APP_CODES.payouts.services.retailerPayout.code },
108
108
  ],
109
109
  },
110
110
  ];
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.5",
5
+ "testVersion": 5,
6
6
  "type": "module",
7
7
  "main": "build/index.js",
8
8
  "module": "build/index.js",