@managesome/eposmatic-toolkit 0.4.50 → 0.4.51

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.
@@ -133,6 +133,11 @@ export const PLATFORMS_BY_ORDER_FROM = {
133
133
  [ORDER_FROM_ENUM.EATEASY]: [PLATFORMS_ENUM.EATEASY_TAKE_AWAY, PLATFORMS_ENUM.EATEASY_DELIVERY],
134
134
  [ORDER_FROM_ENUM.KEETA]: [PLATFORMS_ENUM.KEETA_TAKE_AWAY, PLATFORMS_ENUM.KEETA_DELIVERY],
135
135
  };
136
+ export const INTERNAL_PLATFORMS = [
137
+ ...PLATFORMS_BY_ORDER_FROM[ORDER_FROM_ENUM.WEB],
138
+ ...PLATFORMS_BY_ORDER_FROM[ORDER_FROM_ENUM.APP],
139
+ ...PLATFORMS_BY_ORDER_FROM[ORDER_FROM_ENUM.POS],
140
+ ];
136
141
  /* ===========================><========================= */
137
142
  export const PLATFORM_NAMES = {
138
143
  [PLATFORMS_ENUM.POS_WALK_IN]: 'Pos Walk-in',
@@ -68,6 +68,7 @@ export declare const PLATFORMS_BY_ORDER_FROM: {
68
68
  EATEASY: PLATFORMS_ENUM[];
69
69
  KEETA: PLATFORMS_ENUM[];
70
70
  };
71
+ export declare const INTERNAL_PLATFORMS: PLATFORMS_ENUM[];
71
72
  export declare const PLATFORM_NAMES: Record<PLATFORMS_ENUM, string>;
72
73
  export declare enum INTEGRATIONS_ENUM {
73
74
  DOORDASH = "DOORDASH",
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Auto-split from constants/ENUMS.ts — see ENUMS.ts barrel for exports.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.ALL_PLATFORM_PROVIDER_IDS = exports.PLATFORM_PROVIDER_IDS_ENUM = exports.ALL_PLATFORM_TYPES = exports.PLATFORM_TYPE_ENUM = exports.ALL_INTEGRATIONS = exports.INTEGRATIONS_ENUM = exports.PLATFORM_NAMES = exports.PLATFORMS_BY_ORDER_FROM = exports.PLATFORMS_BY_ORDER_TYPE = exports.ALL_PLATFORMS = exports.PLATFORMS_ENUM = void 0;
4
+ exports.ALL_PLATFORM_PROVIDER_IDS = exports.PLATFORM_PROVIDER_IDS_ENUM = exports.ALL_PLATFORM_TYPES = exports.PLATFORM_TYPE_ENUM = exports.ALL_INTEGRATIONS = exports.INTEGRATIONS_ENUM = exports.PLATFORM_NAMES = exports.INTERNAL_PLATFORMS = exports.PLATFORMS_BY_ORDER_FROM = exports.PLATFORMS_BY_ORDER_TYPE = exports.ALL_PLATFORMS = exports.PLATFORMS_ENUM = void 0;
5
5
  const order_1 = require("./order");
6
6
  var PLATFORMS_ENUM;
7
7
  (function (PLATFORMS_ENUM) {
@@ -136,6 +136,11 @@ exports.PLATFORMS_BY_ORDER_FROM = {
136
136
  [order_1.ORDER_FROM_ENUM.EATEASY]: [PLATFORMS_ENUM.EATEASY_TAKE_AWAY, PLATFORMS_ENUM.EATEASY_DELIVERY],
137
137
  [order_1.ORDER_FROM_ENUM.KEETA]: [PLATFORMS_ENUM.KEETA_TAKE_AWAY, PLATFORMS_ENUM.KEETA_DELIVERY],
138
138
  };
139
+ exports.INTERNAL_PLATFORMS = [
140
+ ...exports.PLATFORMS_BY_ORDER_FROM[order_1.ORDER_FROM_ENUM.WEB],
141
+ ...exports.PLATFORMS_BY_ORDER_FROM[order_1.ORDER_FROM_ENUM.APP],
142
+ ...exports.PLATFORMS_BY_ORDER_FROM[order_1.ORDER_FROM_ENUM.POS],
143
+ ];
139
144
  /* ===========================><========================= */
140
145
  exports.PLATFORM_NAMES = {
141
146
  [PLATFORMS_ENUM.POS_WALK_IN]: 'Pos Walk-in',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@managesome/eposmatic-toolkit",
3
- "version": "0.4.50",
3
+ "version": "0.4.51",
4
4
  "description": "A Toolkit Library for Eposmatic",
5
5
  "main": "lib/index.js",
6
6
  "module": "esm/index.js",