cecon-interfaces 1.2.17 → 1.2.20

Sign up to get free protection for your applications and to get access to all the features.
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.2.17",
3
+ "version": "1.2.20",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,4 +1,6 @@
1
1
  export declare enum EPlanIdentifier {
2
2
  NATIGO = "NATIGO-UNO",
3
- SAT_MANAGER_NAPOLEON = "SAT-MANAGER-NAPOLEON"
3
+ SAT_MANAGER_NAPOLEON = "SAT-MANAGER-NAPOLEON",
4
+ NATI_PDV = "NATI-PDV",
5
+ NATI_WA = "NATI-WA"
4
6
  }
@@ -5,4 +5,6 @@ var EPlanIdentifier;
5
5
  (function (EPlanIdentifier) {
6
6
  EPlanIdentifier["NATIGO"] = "NATIGO-UNO";
7
7
  EPlanIdentifier["SAT_MANAGER_NAPOLEON"] = "SAT-MANAGER-NAPOLEON";
8
+ EPlanIdentifier["NATI_PDV"] = "NATI-PDV";
9
+ EPlanIdentifier["NATI_WA"] = "NATI-WA";
8
10
  })(EPlanIdentifier || (exports.EPlanIdentifier = EPlanIdentifier = {}));
@@ -1,3 +1,4 @@
1
+ import { IEvolutionInstance } from '../../evolution';
1
2
  import { EWaServerStatus } from '../enums';
2
3
  import { IWaServer } from '../interfaces';
3
4
  export declare class WaServerEntity implements IWaServer {
@@ -6,11 +7,12 @@ export declare class WaServerEntity implements IWaServer {
6
7
  createdAt: Date;
7
8
  globalApiKey: string;
8
9
  id: string;
10
+ instances: IEvolutionInstance[];
9
11
  name: string;
10
- tags: string[];
11
12
  sessions: number;
12
13
  stack: string;
13
14
  status: EWaServerStatus;
15
+ tags: string[];
14
16
  updatedAt: Date;
15
17
  constructor(data?: Partial<WaServerEntity>);
16
18
  }
@@ -3,18 +3,21 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.WaServerEntity = void 0;
4
4
  var enums_1 = require("../enums");
5
5
  var WaServerEntity = /** @class */ (function () {
6
+ // #endregion Properties (12)
7
+ // #region Constructors (1)
6
8
  function WaServerEntity(data) {
7
- // #region Properties (11)
9
+ // #region Properties (12)
8
10
  this.active = false;
9
11
  this.baseUrl = '';
10
12
  this.createdAt = new Date();
11
13
  this.globalApiKey = '';
12
14
  this.id = '';
15
+ this.instances = [];
13
16
  this.name = '';
14
- this.tags = [];
15
17
  this.sessions = 0;
16
18
  this.stack = '';
17
19
  this.status = enums_1.EWaServerStatus.STOPPED;
20
+ this.tags = [];
18
21
  this.updatedAt = new Date();
19
22
  if (data) {
20
23
  for (var key in data) {
@@ -1,3 +1,4 @@
1
+ import { IEvolutionInstance } from '../../evolution';
1
2
  import { EWaServerStatus } from '../enums';
2
3
  export interface IWaServer {
3
4
  active: boolean;
@@ -10,5 +11,6 @@ export interface IWaServer {
10
11
  tags: string[];
11
12
  baseUrl: string;
12
13
  globalApiKey: string;
14
+ instances: IEvolutionInstance[];
13
15
  sessions: number;
14
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.2.17",
3
+ "version": "1.2.20",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",