@vita-mojo/types 1.0.17-VMOS-10453-7a0ff22-593-rc.0 → 1.0.17-VMOS-11991-e206bca-598-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.17-VMOS-10453-7a0ff22-593-rc.0",
3
+ "version": "1.0.17-VMOS-11991-e206bca-598-rc.0",
4
4
  "peerDependencies": {
5
5
  "tslib": "2.4.1"
6
6
  },
@@ -29,10 +29,6 @@ export interface Deal {
29
29
  basketUUID: string;
30
30
  promotion: Promotion;
31
31
  }
32
- export type VATOverwrites = {
33
- takeaway?: number | undefined;
34
- eatin?: number | undefined;
35
- };
36
32
  export interface Bundle {
37
33
  uuid: string;
38
34
  menuUUID?: string;
@@ -98,6 +94,4 @@ export interface Bundle {
98
94
  allergens: string[];
99
95
  isRecommendation?: boolean;
100
96
  parentID?: string;
101
- adjustmentAmount: number | null;
102
- priceBeforeAdjustment?: number;
103
97
  }
@@ -1,4 +1,3 @@
1
- export * from './bill';
2
1
  export * as Bundle from './bundle';
3
2
  export * as Fiscalization from './fiscalization';
4
3
  export * as Item from './item';
@@ -11,6 +10,6 @@ export * from './print-log';
11
10
  export * from './promotion';
12
11
  export * from './settings';
13
12
  export * as Subway from './subway';
14
- export { TaxTotals } from './tax-totals';
15
13
  export * from './tenant-settings';
14
+ export * from './bill';
16
15
  export { Type } from './type';
@@ -2,7 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Subway = exports.Payment = exports.Item = exports.Fiscalization = exports.Bundle = void 0;
4
4
  const tslib_1 = require("tslib");
5
- tslib_1.__exportStar(require("./bill"), exports);
6
5
  exports.Bundle = require("./bundle");
7
6
  exports.Fiscalization = require("./fiscalization");
8
7
  exports.Item = require("./item");
@@ -14,4 +13,5 @@ tslib_1.__exportStar(require("./promotion"), exports);
14
13
  tslib_1.__exportStar(require("./settings"), exports);
15
14
  exports.Subway = require("./subway");
16
15
  tslib_1.__exportStar(require("./tenant-settings"), exports);
16
+ tslib_1.__exportStar(require("./bill"), exports);
17
17
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../packages/types/src/order/index.ts"],"names":[],"mappings":";;;;AAAA,iDAAuB;AACvB,qCAAmC;AACnC,mDAAiD;AACjD,iCAA+B;AAG/B,uDAA6B;AAC7B,kEAAwC;AACxC,uCAAqC;AACrC,sDAA4B;AAC5B,sDAA4B;AAC5B,qDAA2B;AAC3B,qCAAmC;AAEnC,4DAAkC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../packages/types/src/order/index.ts"],"names":[],"mappings":";;;;AAAA,qCAAmC;AACnC,mDAAiD;AACjD,iCAA+B;AAG/B,uDAA6B;AAC7B,kEAAwC;AACxC,uCAAqC;AACrC,sDAA4B;AAC5B,sDAA4B;AAC5B,qDAA2B;AAC3B,qCAAmC;AACnC,4DAAkC;AAClC,iDAAuB"}
@@ -6,7 +6,7 @@ export interface AppStraightToPickup {
6
6
  }
7
7
  export interface Unit {
8
8
  slug: string;
9
- name?: string;
9
+ name?: any;
10
10
  value: any;
11
11
  }
12
12
  export interface Variation {
@@ -83,6 +83,4 @@ export interface Item {
83
83
  priceEatIn?: number;
84
84
  price?: number;
85
85
  };
86
- adjustmentAmount?: number | null;
87
- priceBeforeAdjustment?: number;
88
86
  }
@@ -78,8 +78,4 @@ export interface Order {
78
78
  storeDeliveryAreas?: Array<StoreDeliveryArea>;
79
79
  orderType?: Type;
80
80
  bills?: Bill[];
81
- storeDeliveryAreasActive?: boolean;
82
- features?: {
83
- [key: string]: string;
84
- };
85
81
  }
@@ -31,10 +31,7 @@ export interface Payment {
31
31
  deliveryFeeTaxAmount?: number;
32
32
  totalDeliveryFee?: number;
33
33
  deliveryFeeRefundTaxAmount?: number;
34
- totalServiceCharge?: number;
35
- priceBeforeAdjustment?: number;
36
- adjustmentAmount?: number;
37
- vatableSales?: number;
34
+ requireExternalPayment?: boolean;
38
35
  }
39
36
  export interface Transaction {
40
37
  uuid: string;
@@ -48,8 +45,6 @@ export interface Transaction {
48
45
  type: string;
49
46
  };
50
47
  isGiftCard: boolean;
51
- createdAt: string;
48
+ createdAt?: string;
52
49
  updatedAt?: string;
53
- billIds?: string[];
54
- chargeTransactionUUID?: string;
55
50
  }
@@ -1,6 +0,0 @@
1
- export interface TaxTotals {
2
- taxRate: number;
3
- taxAmount: number;
4
- totalAmountIncludingTax: number;
5
- totalAmountExcludingTax: number;
6
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=tax-totals.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tax-totals.js","sourceRoot":"","sources":["../../../../../packages/types/src/order/tax-totals.ts"],"names":[],"mappings":""}