cecon-interfaces 1.2.17 → 1.2.20
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.
- package/dist/esm2022/evolution/entities/instance.entity.mjs +8 -3
- package/dist/esm2022/evolution/interfaces/i-instance.mjs +1 -1
- package/dist/esm2022/plan/enums/plans-identifier.enum.mjs +3 -1
- package/dist/esm2022/wa-server/entities/wa-server.entity.mjs +6 -3
- package/dist/esm2022/wa-server/interfaces/i-wa-server.mjs +1 -1
- package/dist/evolution/entities/instance.entity.d.ts +5 -0
- package/dist/evolution/entities/instance.entity.js +7 -2
- package/dist/evolution/interfaces/i-instance.d.ts +5 -0
- package/dist/fesm2022/cecon-interfaces.mjs +14 -4
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/dist/plan/enums/plans-identifier.enum.d.ts +3 -1
- package/dist/plan/enums/plans-identifier.enum.js +2 -0
- package/dist/wa-server/entities/wa-server.entity.d.ts +3 -1
- package/dist/wa-server/entities/wa-server.entity.js +5 -2
- package/dist/wa-server/interfaces/i-wa-server.d.ts +2 -0
- package/package.json +1 -1
package/dist/package.json
CHANGED
@@ -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 (
|
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
|
}
|