@vita-mojo/types 1.0.27 → 1.0.28-VMOS-12746-623ffa9-749-rc.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vita-mojo/types",
3
- "version": "1.0.27",
3
+ "version": "1.0.28-VMOS-12746-623ffa9-749-rc.0",
4
4
  "peerDependencies": {
5
5
  "tslib": "2.4.1"
6
6
  },
@@ -1,6 +1,7 @@
1
1
  import { Item } from './item';
2
2
  import { ItemType } from './item-type';
3
3
  import { BundlePromotion, Promotion } from './promotion';
4
+ import { Role } from '../role.interface';
4
5
  export interface AppStraightToPickup {
5
6
  kiosk?: boolean;
6
7
  online?: boolean;
@@ -35,9 +36,11 @@ export interface Adjustment {
35
36
  employee: {
36
37
  uuid: string;
37
38
  email: string;
39
+ name?: string;
40
+ role?: Partial<Role>;
38
41
  };
39
42
  note: string | null;
40
- percentage: number;
43
+ percentage: number | null;
41
44
  reason: string;
42
45
  time: string;
43
46
  type: string;
@@ -95,7 +98,7 @@ export interface Bundle {
95
98
  uuid: string;
96
99
  };
97
100
  category?: object;
98
- note?: string;
101
+ note?: string | null;
99
102
  defaultItems?: DefaultItem[];
100
103
  promotion?: Promotion | null;
101
104
  promotions?: BundlePromotion[] | null;
@@ -61,7 +61,7 @@ export interface Order {
61
61
  device: Device;
62
62
  nandosCardNumber?: string;
63
63
  deletedBasketUUIDs?: string[];
64
- note?: string;
64
+ note?: string | null;
65
65
  dateSlot?: number;
66
66
  orderCancellationDeadline?: number;
67
67
  meta?: OrderMeta;