cecon-interfaces 1.2.17 → 1.2.19
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/evolution/entities/instance.entity.mjs +8 -3
- package/dist/esm2022/evolution/interfaces/i-instance.mjs +1 -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 +12 -4
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/package.json +1 -1
- 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
@@ -1,8 +1,13 @@
|
|
1
1
|
export class EvolutionInstanceEntity {
|
2
|
-
// #region Properties (
|
2
|
+
// #region Properties (7)
|
3
|
+
apikey = '';
|
3
4
|
instanceName = '';
|
5
|
+
owner = null;
|
6
|
+
profileName = null;
|
7
|
+
profilePictureUrl = null;
|
8
|
+
profileStatus = null;
|
4
9
|
status = '';
|
5
|
-
// #endregion Properties (
|
10
|
+
// #endregion Properties (7)
|
6
11
|
// #region Constructors (1)
|
7
12
|
constructor(data) {
|
8
13
|
if (data) {
|
@@ -14,4 +19,4 @@ export class EvolutionInstanceEntity {
|
|
14
19
|
}
|
15
20
|
}
|
16
21
|
}
|
17
|
-
//# sourceMappingURL=data:application/json;base64,
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5zdGFuY2UuZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2V2b2x1dGlvbi9lbnRpdGllcy9pbnN0YW5jZS5lbnRpdHkudHMiXSwibmFtZXMiOltdLC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luZyB8IG51bGwgPSBudWxsO1xuICBwdWJsaWMgcHJvZmlsZVBpY3R1cmVVcmw6IHN0cmluZyB8IG51bGwgPSBudWxsO1xuICBwdWJsaWMgcHJvZmlsZVN0YXR1czogc3RyaW5nIHwgbnVsbCA9IG51bGw7XG4gIHB1YmxpYyBzdGF0dXM6IHN0cmluZyA9ICcnO1xuXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoNylcblxuICAvLyAjcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcblxuICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxFdm9sdXRpb25JbnN0YW5jZUVudGl0eT4pIHtcbiAgICBpZiAoZGF0YSkge1xuICAgICAgZm9yIChsZXQga2V5IGluIGRhdGEpIHtcbiAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xuICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfVxuXG4gIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxufVxuIl19
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1pbnN0YW5jZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9ldm9sdXRpb24vaW50ZXJmYWNlcy9pLWluc3RhbmNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIElFdm9sdXRpb25JbnN0YW5jZSB7XG4gIC8vICNyZWdpb24gUHJvcGVydGllcyAoNylcblxuICBhcGlrZXk6IHN0cmluZztcbiAgaW5zdGFuY2VOYW1lOiBzdHJpbmc7XG4gIG93bmVyOiBzdHJpbmcgfCBudWxsO1xuICBwcm9maWxlTmFtZTogc3RyaW5nIHwgbnVsbDtcbiAgcHJvZmlsZVBpY3R1cmVVcmw6IHN0cmluZyB8IG51bGw7XG4gIHByb2ZpbGVTdGF0dXM6IHN0cmluZyB8IG51bGw7XG4gIHN0YXR1czogJ2NyZWF0ZWQnIHwgJ3VwZGF0ZWQnIHwgJ2RlbGV0ZWQnIHwgc3RyaW5nO1xuXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoNylcbn1cbiJdfQ==
|
@@ -1,17 +1,20 @@
|
|
1
1
|
import { EWaServerStatus } from '../enums';
|
2
2
|
export class WaServerEntity {
|
3
|
-
// #region Properties (
|
3
|
+
// #region Properties (12)
|
4
4
|
active = false;
|
5
5
|
baseUrl = '';
|
6
6
|
createdAt = new Date();
|
7
7
|
globalApiKey = '';
|
8
8
|
id = '';
|
9
|
+
instances = [];
|
9
10
|
name = '';
|
10
|
-
tags = [];
|
11
11
|
sessions = 0;
|
12
12
|
stack = '';
|
13
13
|
status = EWaServerStatus.STOPPED;
|
14
|
+
tags = [];
|
14
15
|
updatedAt = new Date();
|
16
|
+
// #endregion Properties (12)
|
17
|
+
// #region Constructors (1)
|
15
18
|
constructor(data) {
|
16
19
|
if (data) {
|
17
20
|
for (let key in data) {
|
@@ -22,4 +25,4 @@ export class WaServerEntity {
|
|
22
25
|
}
|
23
26
|
}
|
24
27
|
}
|
25
|
-
//# sourceMappingURL=data:application/json;base64,
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2Etc2VydmVyLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy93YS1zZXJ2ZXIvZW50aXRpZXMvd2Etc2VydmVyLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoi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hpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn1cbiJdfQ==
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS13YS1zZXJ2ZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvd2Etc2VydmVyL2ludGVyZmFjZXMvaS13YS1zZXJ2ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElFdm9sdXRpb25JbnN0YW5jZSB9IGZyb20gJy4uLy4uL2V2b2x1dGlvbic7XG5pbXBvcnQgeyBFV2FTZXJ2ZXJTdGF0dXMgfSBmcm9tICcuLi9lbnVtcyc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgSVdhU2VydmVyIHtcbiAgYWN0aXZlOiBib29sZWFuO1xuICBuYW1lOiBzdHJpbmc7XG4gIGNyZWF0ZWRBdDogRGF0ZTtcbiAgdXBkYXRlZEF0OiBEYXRlO1xuICBzdGFjazogc3RyaW5nO1xuICBzdGF0dXM6IEVXYVNlcnZlclN0YXR1cztcbiAgaWQ6IHN0cmluZztcbiAgdGFnczogc3RyaW5nW107XG4gIGJhc2VVcmw6IHN0cmluZztcbiAgZ2xvYmFsQXBpS2V5OiBzdHJpbmc7XG4gIGluc3RhbmNlczogSUV2b2x1dGlvbkluc3RhbmNlW107XG4gIHNlc3Npb25zOiBudW1iZXI7XG59XG4iXX0=
|
@@ -1,6 +1,11 @@
|
|
1
1
|
import { IEvolutionInstance } from '../interfaces';
|
2
2
|
export declare class EvolutionInstanceEntity implements IEvolutionInstance {
|
3
|
+
apikey: string;
|
3
4
|
instanceName: string;
|
5
|
+
owner: string | null;
|
6
|
+
profileName: string | null;
|
7
|
+
profilePictureUrl: string | null;
|
8
|
+
profileStatus: string | null;
|
4
9
|
status: string;
|
5
10
|
constructor(data?: Partial<EvolutionInstanceEntity>);
|
6
11
|
}
|
@@ -2,11 +2,16 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.EvolutionInstanceEntity = void 0;
|
4
4
|
var EvolutionInstanceEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (
|
5
|
+
// #endregion Properties (7)
|
6
6
|
// #region Constructors (1)
|
7
7
|
function EvolutionInstanceEntity(data) {
|
8
|
-
// #region Properties (
|
8
|
+
// #region Properties (7)
|
9
|
+
this.apikey = '';
|
9
10
|
this.instanceName = '';
|
11
|
+
this.owner = null;
|
12
|
+
this.profileName = null;
|
13
|
+
this.profilePictureUrl = null;
|
14
|
+
this.profileStatus = null;
|
10
15
|
this.status = '';
|
11
16
|
if (data) {
|
12
17
|
for (var key in data) {
|
@@ -790,10 +790,15 @@ class EvolutionHashEntity {
|
|
790
790
|
}
|
791
791
|
|
792
792
|
class EvolutionInstanceEntity {
|
793
|
-
// #region Properties (
|
793
|
+
// #region Properties (7)
|
794
|
+
apikey = '';
|
794
795
|
instanceName = '';
|
796
|
+
owner = null;
|
797
|
+
profileName = null;
|
798
|
+
profilePictureUrl = null;
|
799
|
+
profileStatus = null;
|
795
800
|
status = '';
|
796
|
-
// #endregion Properties (
|
801
|
+
// #endregion Properties (7)
|
797
802
|
// #region Constructors (1)
|
798
803
|
constructor(data) {
|
799
804
|
if (data) {
|
@@ -3868,18 +3873,21 @@ var EWaServerStatus;
|
|
3868
3873
|
})(EWaServerStatus || (EWaServerStatus = {}));
|
3869
3874
|
|
3870
3875
|
class WaServerEntity {
|
3871
|
-
// #region Properties (
|
3876
|
+
// #region Properties (12)
|
3872
3877
|
active = false;
|
3873
3878
|
baseUrl = '';
|
3874
3879
|
createdAt = new Date();
|
3875
3880
|
globalApiKey = '';
|
3876
3881
|
id = '';
|
3882
|
+
instances = [];
|
3877
3883
|
name = '';
|
3878
|
-
tags = [];
|
3879
3884
|
sessions = 0;
|
3880
3885
|
stack = '';
|
3881
3886
|
status = EWaServerStatus.STOPPED;
|
3887
|
+
tags = [];
|
3882
3888
|
updatedAt = new Date();
|
3889
|
+
// #endregion Properties (12)
|
3890
|
+
// #region Constructors (1)
|
3883
3891
|
constructor(data) {
|
3884
3892
|
if (data) {
|
3885
3893
|
for (let key in data) {
|