@orderingstack/ordering-types 1.21.0 → 1.23.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.
@@ -566,7 +566,7 @@ export interface IFiscalizeData {
566
566
  USN: string;
567
567
  };
568
568
  }
569
- declare const sizes: readonly [48, 57, 70, 100, 160, 250, 300, 500, 600, 900, 1000, 1920, 1080, 900];
569
+ export declare const sizes: readonly [48, 57, 70, 100, 160, 250, 300, 500, 600, 900, 1000, 1920, 1080, 900];
570
570
  export declare type TMediaSize = (typeof sizes)[number];
571
571
  export declare enum ENotificationType {
572
572
  ORDER_EVENT_ERROR = "OrderEventError",
@@ -626,3 +626,16 @@ export interface ISteeringCommand {
626
626
  venue: string;
627
627
  properties?: Record<string, string>;
628
628
  }
629
+ export declare const modules: readonly ["POS_INTEGRATOR", "KIOSK", "BI_CONNECTOR", "AGGREGATOR", "KDS", "STATUS_SCREEN", "LOYALTY_INTEGRATOR", "LOYALTY", "MOBILE_APP_LOYALTY", "ORDERING_WEB", "DELIVERY_PANEL"];
630
+ export interface IModule {
631
+ id: string;
632
+ type: (typeof modules)[number];
633
+ production: boolean;
634
+ venue: string;
635
+ created?: string;
636
+ createdBy?: string;
637
+ updated?: string;
638
+ updatedBy?: string;
639
+ user?: string;
640
+ extra?: IStringKeyRecord<string>;
641
+ }
package/dist/cjs/index.js CHANGED
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.ENotificationType = exports.EOrderProductKind = exports.EOrderLineStatus = exports.ERbiOrderExtra = exports.EOrderPaymentType = exports.EOrderStatus = exports.EChannelName = exports.EOrderSource = exports.EOrderType = exports.EOrderUserRole = exports.EProductKindBucket = exports.EProductKind = exports.ECouponViewType = void 0;
17
+ exports.modules = exports.ENotificationType = exports.sizes = exports.EOrderProductKind = exports.EOrderLineStatus = exports.ERbiOrderExtra = exports.EOrderPaymentType = exports.EOrderStatus = exports.EChannelName = exports.EOrderSource = exports.EOrderType = exports.EOrderUserRole = exports.EProductKindBucket = exports.EProductKind = exports.ECouponViewType = void 0;
18
18
  __exportStar(require("./kiosk"), exports);
19
19
  __exportStar(require("./kioskErrors"), exports);
20
20
  __exportStar(require("./api"), exports);
@@ -154,7 +154,7 @@ var EOrderProductKind;
154
154
  EOrderProductKind["GROUP"] = "group";
155
155
  EOrderProductKind["PRODUCT"] = "product";
156
156
  })(EOrderProductKind = exports.EOrderProductKind || (exports.EOrderProductKind = {}));
157
- const sizes = [
157
+ exports.sizes = [
158
158
  48, 57, 70, 100, 160, 250, 300, 500, 600, 900, 1000, 1920, 1080, 900,
159
159
  ];
160
160
  var ENotificationType;
@@ -164,3 +164,6 @@ var ENotificationType;
164
164
  ENotificationType["ORDER_EVENT_FISCAL"] = "OrderEventFiscal";
165
165
  ENotificationType["ORDER_UPSELL"] = "OrderUpsell";
166
166
  })(ENotificationType = exports.ENotificationType || (exports.ENotificationType = {}));
167
+ exports.modules = [
168
+ 'POS_INTEGRATOR', 'KIOSK', 'BI_CONNECTOR', 'AGGREGATOR', 'KDS', 'STATUS_SCREEN', 'LOYALTY_INTEGRATOR', 'LOYALTY', 'MOBILE_APP_LOYALTY', 'ORDERING_WEB', 'DELIVERY_PANEL',
169
+ ];
@@ -566,7 +566,7 @@ export interface IFiscalizeData {
566
566
  USN: string;
567
567
  };
568
568
  }
569
- declare const sizes: readonly [48, 57, 70, 100, 160, 250, 300, 500, 600, 900, 1000, 1920, 1080, 900];
569
+ export declare const sizes: readonly [48, 57, 70, 100, 160, 250, 300, 500, 600, 900, 1000, 1920, 1080, 900];
570
570
  export declare type TMediaSize = (typeof sizes)[number];
571
571
  export declare enum ENotificationType {
572
572
  ORDER_EVENT_ERROR = "OrderEventError",
@@ -626,3 +626,16 @@ export interface ISteeringCommand {
626
626
  venue: string;
627
627
  properties?: Record<string, string>;
628
628
  }
629
+ export declare const modules: readonly ["POS_INTEGRATOR", "KIOSK", "BI_CONNECTOR", "AGGREGATOR", "KDS", "STATUS_SCREEN", "LOYALTY_INTEGRATOR", "LOYALTY", "MOBILE_APP_LOYALTY", "ORDERING_WEB", "DELIVERY_PANEL"];
630
+ export interface IModule {
631
+ id: string;
632
+ type: (typeof modules)[number];
633
+ production: boolean;
634
+ venue: string;
635
+ created?: string;
636
+ createdBy?: string;
637
+ updated?: string;
638
+ updatedBy?: string;
639
+ user?: string;
640
+ extra?: IStringKeyRecord<string>;
641
+ }
package/dist/esm/index.js CHANGED
@@ -137,7 +137,7 @@ export var EOrderProductKind;
137
137
  EOrderProductKind["GROUP"] = "group";
138
138
  EOrderProductKind["PRODUCT"] = "product";
139
139
  })(EOrderProductKind || (EOrderProductKind = {}));
140
- const sizes = [
140
+ export const sizes = [
141
141
  48, 57, 70, 100, 160, 250, 300, 500, 600, 900, 1000, 1920, 1080, 900,
142
142
  ];
143
143
  export var ENotificationType;
@@ -147,3 +147,6 @@ export var ENotificationType;
147
147
  ENotificationType["ORDER_EVENT_FISCAL"] = "OrderEventFiscal";
148
148
  ENotificationType["ORDER_UPSELL"] = "OrderUpsell";
149
149
  })(ENotificationType || (ENotificationType = {}));
150
+ export const modules = [
151
+ 'POS_INTEGRATOR', 'KIOSK', 'BI_CONNECTOR', 'AGGREGATOR', 'KDS', 'STATUS_SCREEN', 'LOYALTY_INTEGRATOR', 'LOYALTY', 'MOBILE_APP_LOYALTY', 'ORDERING_WEB', 'DELIVERY_PANEL',
152
+ ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orderingstack/ordering-types",
3
- "version": "1.21.0",
3
+ "version": "1.23.0",
4
4
  "description": "Typescript types for @orderingstack",
5
5
  "types": "dist/esm/index.d.ts",
6
6
  "main": "dist/cjs/index.js",