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

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.
@@ -1,3 +1,23 @@
1
+ /**
2
+ * Backend report filter types (used by reports APIs)
3
+ *
4
+ * Maps frontend report identifiers to the backend API filter types.
5
+ * Acts as the source of truth for all report types across apps/services
6
+ */
7
+ export declare const REPORT_FILTER_TYPES: {
8
+ CHARGE: string;
9
+ AUTHORIZE: string;
10
+ REFUND: string;
11
+ CHARGEBACKS: string;
12
+ DESTINATIONS: string;
13
+ REVERSED_DESTINATIONS: string;
14
+ STATEMENT: string;
15
+ STATEMENT_SUMMARY: string;
16
+ INVOICE: string;
17
+ PAYOUT: string;
18
+ MERCHANT_PAYOUT: string;
19
+ RETAILER_PAYOUT: string;
20
+ };
1
21
  /**
2
22
  * Maps report **source codes** (app or service)
3
23
  * to the corresponding **backend report filter types**.
@@ -6,7 +6,7 @@ import { acceptanceAppIcon, billingAppIcon, payoutsAppIcon, walletAppIcon } from
6
6
  * Maps frontend report identifiers to the backend API filter types.
7
7
  * Acts as the source of truth for all report types across apps/services
8
8
  */
9
- const REPORT_FILTER_TYPES = {
9
+ export const REPORT_FILTER_TYPES = {
10
10
  // Acceptance
11
11
  CHARGE: 'CHARGE',
12
12
  AUTHORIZE: 'AUTHORIZE',
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.2",
5
- "testVersion": 2,
4
+ "version": "0.1.378-test.3",
5
+ "testVersion": 3,
6
6
  "type": "module",
7
7
  "main": "build/index.js",
8
8
  "module": "build/index.js",