@tap-payments/os-micro-frontend-shared 0.1.240 → 0.1.241-test.1

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.
Files changed (73) hide show
  1. package/build/components/ActionMenu/style.d.ts +1 -1
  2. package/build/components/AppWindowWrapper/AppWindow/style.d.ts +2 -2
  3. package/build/components/Calender/style.d.ts +4 -4
  4. package/build/components/Chip/style.d.ts +1 -2
  5. package/build/components/ColorPicker/style.d.ts +2 -2
  6. package/build/components/ConfirmDialog/styles.d.ts +1 -1
  7. package/build/components/CountBadge/style.d.ts +1 -2
  8. package/build/components/CountryFlag/CountryFlag.js +1 -1
  9. package/build/components/Dialog/style.d.ts +1 -2
  10. package/build/components/DropdownButton/constants.d.ts +2 -2
  11. package/build/components/DropdownButton/style.d.ts +2 -2
  12. package/build/components/ErrorBoundary/style.d.ts +1 -1
  13. package/build/components/FileUpload/style.d.ts +1 -1
  14. package/build/components/FlippingCard/style.d.ts +1 -2
  15. package/build/components/ImageWrapper/ImageWrapper.d.ts +1 -2
  16. package/build/components/InputBase/SelectBase/style.d.ts +1 -1
  17. package/build/components/Inputs/FileInput/style.d.ts +1 -1
  18. package/build/components/JSONViewer/style.d.ts +2 -3
  19. package/build/components/LeftPeekRightExpandingChip/style.d.ts +3 -4
  20. package/build/components/MultiSelectStatusButton/style.d.ts +1 -1
  21. package/build/components/RangeCalender/components/QuickFilters/style.d.ts +1 -1
  22. package/build/components/RangeCalender/components/RangeDatepicker/style.d.ts +1 -1
  23. package/build/components/RangeCalender/style.d.ts +3 -3
  24. package/build/components/RightLeftExpandingCenterChip/style.d.ts +13 -14
  25. package/build/components/SearchButton/styles.d.ts +4 -5
  26. package/build/components/StatusButton/style.d.ts +2 -2
  27. package/build/components/StatusIcons/AuthIcons/style.d.ts +2 -3
  28. package/build/components/StatusIcons/AuthorizationAutoIcons/style.d.ts +1 -2
  29. package/build/components/StatusIcons/ChargeStatusIcon/style.d.ts +6 -7
  30. package/build/components/StatusIcons/SourceIcons/style.d.ts +1 -2
  31. package/build/components/TableCells/CustomCells/ActionCell/hooks/useActionCell.d.ts +1 -1
  32. package/build/components/TableCells/CustomCells/ActionCell/style.d.ts +2 -3
  33. package/build/components/TableCells/CustomCells/ApplicationStatusCell/style.d.ts +1 -2
  34. package/build/components/TableCells/CustomCells/AuthenticationCell/style.d.ts +2 -3
  35. package/build/components/TableCells/CustomCells/AuthenticationStatusCell/style.d.ts +5 -6
  36. package/build/components/TableCells/CustomCells/AuthenticationTypeCell/style.d.ts +5 -6
  37. package/build/components/TableCells/CustomCells/BalanceCell/style.d.ts +1 -2
  38. package/build/components/TableCells/CustomCells/ChannelsCell/style.d.ts +1 -2
  39. package/build/components/TableCells/CustomCells/CheckoutStatusCell/style.d.ts +1 -2
  40. package/build/components/TableCells/CustomCells/DestinationStatusCell/style.d.ts +5 -6
  41. package/build/components/TableCells/CustomCells/DueDateCell/style.d.ts +1 -2
  42. package/build/components/TableCells/CustomCells/IDButton/style.d.ts +2 -3
  43. package/build/components/TableCells/CustomCells/IntentsStatusCell/style.d.ts +1 -2
  44. package/build/components/TableCells/CustomCells/InvoiceStatusCell/style.d.ts +1 -2
  45. package/build/components/TableCells/CustomCells/PayoutStatusCell/style.d.ts +5 -6
  46. package/build/components/TableCells/CustomCells/ProductsCell/style.d.ts +1 -2
  47. package/build/components/TableCells/CustomCells/ReferenceCell/style.d.ts +1 -2
  48. package/build/components/TableCells/CustomCells/RefundChargeCell/style.d.ts +2 -3
  49. package/build/components/TableCells/CustomCells/RefundStatusCell/style.d.ts +1 -2
  50. package/build/components/TableCells/CustomCells/SalesChannelCell/style.d.ts +1 -2
  51. package/build/components/TableCells/CustomCells/SegmentsCell/style.d.ts +1 -2
  52. package/build/components/TableCells/CustomCells/SourceCell/style.d.ts +1 -2
  53. package/build/components/TableCells/CustomCells/StatusCell/style.d.ts +6 -7
  54. package/build/components/TableCells/CustomCells/TokenStatusCell/style.d.ts +5 -6
  55. package/build/components/TableCells/CustomCells/style.d.ts +1 -2
  56. package/build/components/VirtualTables/components/ColumnFilter/Inputs/style.d.ts +1 -1
  57. package/build/components/VirtualTables/components/ColumnFilter/style.d.ts +2 -2
  58. package/build/components/VirtualTables/components/ErrorList/styles.d.ts +1 -1
  59. package/build/components/VirtualTables/components/style.d.ts +1 -2
  60. package/build/components/Window/style.d.ts +2 -2
  61. package/build/constants/assets.js +2 -2
  62. package/build/constants/table/cell/terminalsTableCellWidth.d.ts +3 -3
  63. package/build/constants/table/cell/terminalsTableCellWidth.js +3 -3
  64. package/build/types/apps.d.ts +2 -1
  65. package/build/types/brand.d.ts +1 -1
  66. package/build/types/column.d.ts +1 -1
  67. package/build/types/common.d.ts +7 -0
  68. package/build/types/common.js +1 -0
  69. package/build/types/entity.d.ts +20 -2
  70. package/build/types/index.d.ts +1 -0
  71. package/build/types/index.js +1 -0
  72. package/build/types/user.d.ts +1 -4
  73. package/package.json +3 -3
@@ -0,0 +1,7 @@
1
+ export interface TextAndLang {
2
+ lang: string;
3
+ text: string;
4
+ }
5
+ export interface LangMap {
6
+ [key: string]: string;
7
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -1,8 +1,26 @@
1
1
  import { Merchant } from './merchant';
2
- import { TextAndLang } from './user';
2
+ import { TextAndLang, LangMap } from './common';
3
3
  export interface Branch {
4
4
  id: string;
5
- name: TextAndLang[];
5
+ business_entity_id: string;
6
+ virtual?: boolean;
7
+ address?: Partial<{
8
+ country: string;
9
+ city: string;
10
+ area: string;
11
+ block: string;
12
+ avenue: string;
13
+ street: string;
14
+ building: string;
15
+ floor: string;
16
+ unit: string;
17
+ line1: string;
18
+ line2: string;
19
+ postal_code: string;
20
+ primary: boolean;
21
+ }>;
22
+ brands?: string[];
23
+ name?: LangMap;
6
24
  }
7
25
  export interface Entity {
8
26
  id: string;
@@ -25,3 +25,4 @@ export * from './account';
25
25
  export * from './day';
26
26
  export * from './tsUtils';
27
27
  export * from './appEvents';
28
+ export * from './common';
@@ -25,3 +25,4 @@ export * from './account';
25
25
  export * from './day';
26
26
  export * from './tsUtils';
27
27
  export * from './appEvents';
28
+ export * from './common';
@@ -3,10 +3,7 @@ import { Brand } from './brand';
3
3
  import { Entity } from './entity';
4
4
  import { Merchant } from './merchant';
5
5
  import { Country } from './appConfig';
6
- export interface TextAndLang {
7
- lang: string;
8
- text: string;
9
- }
6
+ import { TextAndLang } from './common';
10
7
  export interface SegmentCountry {
11
8
  id: string;
12
9
  code: string;
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.240",
5
- "testVersion": 0,
4
+ "version": "0.1.241-test.1",
5
+ "testVersion": 1,
6
6
  "type": "module",
7
7
  "main": "build/index.js",
8
8
  "module": "build/index.js",
@@ -163,4 +163,4 @@
163
163
  "publishConfig": {
164
164
  "registry": "https://registry.npmjs.org/"
165
165
  }
166
- }
166
+ }