@tap-payments/os-micro-frontend-shared 0.1.315 → 0.1.316

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.
@@ -1000,4 +1000,5 @@ export declare const excludedApps: string[];
1000
1000
  export declare const MF_APPS_MAPPER: Readonly<{
1001
1001
  TERMINALS: "TERMINALS";
1002
1002
  BILLING: "BILLING";
1003
+ ACCOUNT: "ACCOUNT";
1003
1004
  }>;
@@ -484,4 +484,5 @@ export const excludedApps = ['login'];
484
484
  export const MF_APPS_MAPPER = Object.freeze({
485
485
  TERMINALS: 'TERMINALS',
486
486
  BILLING: 'BILLING',
487
+ ACCOUNT: 'ACCOUNT',
487
488
  });
@@ -1,5 +1,5 @@
1
1
  import { ColumnsView } from './column';
2
- import { SegmentCountry, SelectedBrand, SelectedCountry } from './user';
2
+ import { Segment, SegmentCountry, SegmentUser, SelectedBrand, SelectedCountry } from './user';
3
3
  import { BusinessMerchant } from './merchant';
4
4
  import type { i18n } from 'i18next';
5
5
  import { Theme } from '@mui/material';
@@ -116,10 +116,13 @@ export type MFWidgetBaseProps = {
116
116
  defaultCountry: SegmentCountry;
117
117
  defaultEntity: Entity;
118
118
  apps: UserApp[];
119
+ users: SegmentUser[];
120
+ organizationId: string;
119
121
  isBusinessSegment: boolean;
120
122
  isAnyMerchantHasMarketplace: boolean;
121
123
  isSegmentHasMoreThanOneMerchant: boolean;
122
124
  };
125
+ segments: Segment[];
123
126
  selectedSegment: {
124
127
  id: string;
125
128
  selectedBrands: SelectedBrand[];
@@ -3,3 +3,6 @@ export type MakeOptional<T, K extends keyof T> = Override<T, {
3
3
  [P in K]?: T[K];
4
4
  }>;
5
5
  export type PartialExcept<T, K extends keyof T> = Partial<Omit<T, K>> & Pick<T, K>;
6
+ export type DeepPartial<T> = {
7
+ [K in keyof T]?: T[K] extends object ? DeepPartial<T[K]> : T[K];
8
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
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.315",
4
+ "version": "0.1.316",
5
5
  "testVersion": 0,
6
6
  "type": "module",
7
7
  "main": "build/index.js",