@orderingstack/ordering-types 1.27.1 → 1.27.2

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.
@@ -304,6 +304,7 @@ export declare enum EOrderSource {
304
304
  UPMENU = "UPMENU",
305
305
  APP = "APP"
306
306
  }
307
+ export declare const CHANNEL_NAMES: readonly ["DINE_IN", "TAKE_AWAY", "DELIVERY", "GLOVO", "JUSTEAT", "UBER", "BOLT", "WOLT", "TAZZ", "UPMENU"];
307
308
  export declare enum EChannelName {
308
309
  DINE_IN = "DINE_IN",
309
310
  TAKE_AWAY = "TAKE_AWAY",
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.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;
17
+ exports.modules = exports.ENotificationType = exports.sizes = exports.EOrderProductKind = exports.EOrderLineStatus = exports.ERbiOrderExtra = exports.EOrderPaymentType = exports.EOrderStatus = exports.EChannelName = exports.CHANNEL_NAMES = 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);
@@ -96,6 +96,7 @@ var EOrderSource;
96
96
  EOrderSource["UPMENU"] = "UPMENU";
97
97
  EOrderSource["APP"] = "APP";
98
98
  })(EOrderSource = exports.EOrderSource || (exports.EOrderSource = {}));
99
+ exports.CHANNEL_NAMES = ["DINE_IN", "TAKE_AWAY", "DELIVERY", "GLOVO", "JUSTEAT", "UBER", "BOLT", "WOLT", "TAZZ", "UPMENU"];
99
100
  var EChannelName;
100
101
  (function (EChannelName) {
101
102
  EChannelName["DINE_IN"] = "DINE_IN";
@@ -304,6 +304,7 @@ export declare enum EOrderSource {
304
304
  UPMENU = "UPMENU",
305
305
  APP = "APP"
306
306
  }
307
+ export declare const CHANNEL_NAMES: readonly ["DINE_IN", "TAKE_AWAY", "DELIVERY", "GLOVO", "JUSTEAT", "UBER", "BOLT", "WOLT", "TAZZ", "UPMENU"];
307
308
  export declare enum EChannelName {
308
309
  DINE_IN = "DINE_IN",
309
310
  TAKE_AWAY = "TAKE_AWAY",
package/dist/esm/index.js CHANGED
@@ -79,6 +79,7 @@ export var EOrderSource;
79
79
  EOrderSource["UPMENU"] = "UPMENU";
80
80
  EOrderSource["APP"] = "APP";
81
81
  })(EOrderSource || (EOrderSource = {}));
82
+ export const CHANNEL_NAMES = ["DINE_IN", "TAKE_AWAY", "DELIVERY", "GLOVO", "JUSTEAT", "UBER", "BOLT", "WOLT", "TAZZ", "UPMENU"];
82
83
  export var EChannelName;
83
84
  (function (EChannelName) {
84
85
  EChannelName["DINE_IN"] = "DINE_IN";
package/package.json CHANGED
@@ -1,22 +1,24 @@
1
- {
2
- "name": "@orderingstack/ordering-types",
3
- "version": "1.27.1",
4
- "description": "Typescript types for @orderingstack",
5
- "types": "dist/esm/index.d.ts",
6
- "main": "dist/cjs/index.js",
7
- "module": "dist/esm/index.js",
8
- "files": [
9
- "dist/"
10
- ],
11
- "author": "Tomasz Rojek <tomasz.rojek@e3.pl>",
12
- "devDependencies": {
13
- "@types/react": "^18.0.26",
14
- "react": "^18.2.0",
15
- "react-hook-form": "^7.42.0",
16
- "react-spring": "^9.6.1",
17
- "typescript": "next"
18
- },
19
- "scripts": {
20
- "build": "tsc -p tsconfig.json && tsc -p tsconfig-cjs.json"
21
- }
22
- }
1
+ {
2
+ "name": "@orderingstack/ordering-types",
3
+ "version": "1.27.2",
4
+ "description": "Typescript types for @orderingstack",
5
+ "types": "dist/esm/index.d.ts",
6
+ "main": "dist/cjs/index.js",
7
+ "module": "dist/esm/index.js",
8
+ "files": [
9
+ "dist/"
10
+ ],
11
+ "scripts": {
12
+ "build": "tsc -p tsconfig.json && tsc -p tsconfig-cjs.json",
13
+ "prepublishOnly": "npm run build"
14
+ },
15
+ "author": "Tomasz Rojek <tomasz.rojek@e3.pl>",
16
+ "devDependencies": {
17
+ "@types/react": "^18.0.26",
18
+ "react": "^18.2.0",
19
+ "react-hook-form": "^7.42.0",
20
+ "react-spring": "^9.6.1",
21
+ "typescript": "next"
22
+ },
23
+ "packageManager": "pnpm@9.15.2+sha512.93e57b0126f0df74ce6bff29680394c0ba54ec47246b9cf321f0121d8d9bb03f750a705f24edc3c1180853afd7c2c3b94196d0a3d53d3e069d9e2793ef11f321"
24
+ }