cecon-interfaces 1.4.18 → 1.4.20

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1 @@
1
+ export { CompanySettingsWaServerEntity } from './wa-server.entity';
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CompanySettingsWaServerEntity = void 0;
4
+ var wa_server_entity_1 = require("./wa-server.entity");
5
+ Object.defineProperty(exports, "CompanySettingsWaServerEntity", { enumerable: true, get: function () { return wa_server_entity_1.CompanySettingsWaServerEntity; } });
@@ -0,0 +1,8 @@
1
+ import { ICompanySettingsWaServer } from '../interfaces';
2
+ export declare class CompanySettingsWaServerEntity implements ICompanySettingsWaServer {
3
+ deliveryMenuUrl: string;
4
+ indoorMenuUrl: string;
5
+ instanceName: string;
6
+ serverId: string;
7
+ constructor(data?: ICompanySettingsWaServer);
8
+ }
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CompanySettingsWaServerEntity = void 0;
4
+ var CompanySettingsWaServerEntity = /** @class */ (function () {
5
+ // #endregion Properties (4)
6
+ // #region Constructors (1)
7
+ function CompanySettingsWaServerEntity(data) {
8
+ // #region Properties (4)
9
+ this.deliveryMenuUrl = '';
10
+ this.indoorMenuUrl = '';
11
+ this.instanceName = '';
12
+ this.serverId = '';
13
+ if (data) {
14
+ this.serverId = data.serverId || '';
15
+ this.instanceName = data.instanceName || '';
16
+ this.deliveryMenuUrl = data.deliveryMenuUrl || '';
17
+ this.indoorMenuUrl = data.indoorMenuUrl || '';
18
+ }
19
+ }
20
+ return CompanySettingsWaServerEntity;
21
+ }());
22
+ exports.CompanySettingsWaServerEntity = CompanySettingsWaServerEntity;
@@ -0,0 +1,2 @@
1
+ export * from './entities';
2
+ export * from './interfaces';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./entities"), exports);
18
+ __exportStar(require("./interfaces"), exports);
@@ -0,0 +1,6 @@
1
+ export interface ICompanySettingsWaServer {
2
+ serverId: string;
3
+ instanceName: string;
4
+ deliveryMenuUrl: string;
5
+ indoorMenuUrl: string;
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export { ICompanySettingsWaServer } from './i-wa-server';
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +1,4 @@
1
+ export * from './company-settings';
1
2
  export * from './mobyo-api';
2
3
  export * from './mobyo-customer-mobyo';
3
4
  export * from './mobyo-deliverer';
@@ -14,6 +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
+ __exportStar(require("./company-settings"), exports);
17
18
  __exportStar(require("./mobyo-api"), exports);
18
19
  __exportStar(require("./mobyo-customer-mobyo"), exports);
19
20
  __exportStar(require("./mobyo-deliverer"), exports);
@@ -2,5 +2,6 @@ export declare enum ETopics {
2
2
  payment = "PAYMENT",
3
3
  orderStatusChanged = "ORDER_STATUS_CHANGED",
4
4
  orderForwarded = "ORDER_FORWARDED",
5
- orderPrint = "ORDER_PRINT"
5
+ orderPrint = "ORDER_PRINT",
6
+ mottuCreated = "MOTTU_CREATED"
6
7
  }
@@ -7,4 +7,5 @@ var ETopics;
7
7
  ETopics["orderStatusChanged"] = "ORDER_STATUS_CHANGED";
8
8
  ETopics["orderForwarded"] = "ORDER_FORWARDED";
9
9
  ETopics["orderPrint"] = "ORDER_PRINT";
10
+ ETopics["mottuCreated"] = "MOTTU_CREATED";
10
11
  })(ETopics || (exports.ETopics = ETopics = {}));
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.4.18",
3
+ "version": "1.4.20",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.4.18",
3
+ "version": "1.4.20",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",