@orderingstack/ordering-types 1.18.2 → 1.18.4

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.
@@ -203,7 +203,8 @@ export declare enum EOrderSource {
203
203
  WOLT = "WOLT",
204
204
  UBER = "UBER",
205
205
  BOLT = "BOLT",
206
- TAZZ = "TAZZ"
206
+ TAZZ = "TAZZ",
207
+ POS = "POS"
207
208
  }
208
209
  export declare enum EChannelName {
209
210
  DINE_IN = "DINE_IN",
@@ -427,7 +428,7 @@ export interface IOrderLine {
427
428
  id: string;
428
429
  price: string;
429
430
  product: IOrderProduct;
430
- productConfig: Partial<IProductState>;
431
+ productConfig?: Partial<IProductState>;
431
432
  productId: string;
432
433
  quantity: number;
433
434
  source: string;
package/dist/cjs/index.js CHANGED
@@ -87,6 +87,7 @@ var EOrderSource;
87
87
  EOrderSource["UBER"] = "UBER";
88
88
  EOrderSource["BOLT"] = "BOLT";
89
89
  EOrderSource["TAZZ"] = "TAZZ";
90
+ EOrderSource["POS"] = "POS";
90
91
  })(EOrderSource = exports.EOrderSource || (exports.EOrderSource = {}));
91
92
  var EChannelName;
92
93
  (function (EChannelName) {
@@ -203,7 +203,8 @@ export declare enum EOrderSource {
203
203
  WOLT = "WOLT",
204
204
  UBER = "UBER",
205
205
  BOLT = "BOLT",
206
- TAZZ = "TAZZ"
206
+ TAZZ = "TAZZ",
207
+ POS = "POS"
207
208
  }
208
209
  export declare enum EChannelName {
209
210
  DINE_IN = "DINE_IN",
@@ -427,7 +428,7 @@ export interface IOrderLine {
427
428
  id: string;
428
429
  price: string;
429
430
  product: IOrderProduct;
430
- productConfig: Partial<IProductState>;
431
+ productConfig?: Partial<IProductState>;
431
432
  productId: string;
432
433
  quantity: number;
433
434
  source: string;
package/dist/esm/index.js CHANGED
@@ -70,6 +70,7 @@ export var EOrderSource;
70
70
  EOrderSource["UBER"] = "UBER";
71
71
  EOrderSource["BOLT"] = "BOLT";
72
72
  EOrderSource["TAZZ"] = "TAZZ";
73
+ EOrderSource["POS"] = "POS";
73
74
  })(EOrderSource || (EOrderSource = {}));
74
75
  export var EChannelName;
75
76
  (function (EChannelName) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orderingstack/ordering-types",
3
- "version": "1.18.2",
3
+ "version": "1.18.4",
4
4
  "description": "Typescript types for @orderingstack",
5
5
  "types": "dist/esm/index.d.ts",
6
6
  "main": "dist/cjs/index.js",