cecon-interfaces 1.2.11 → 1.2.13
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/app/enums/mode.enum.d.ts +5 -1
- package/dist/app/enums/mode.enum.js +5 -1
- package/dist/billing/entities/billing.entity.d.ts +2 -0
- package/dist/billing/entities/billing.entity.js +3 -2
- package/dist/billing/interfaces/i-billing.d.ts +2 -0
- package/dist/esm2022/app/enums/mode.enum.mjs +6 -2
- package/dist/esm2022/billing/entities/billing.entity.mjs +4 -3
- package/dist/esm2022/billing/interfaces/i-billing.mjs +1 -1
- package/dist/esm2022/evolution/entities/chat-woot.entity.mjs +20 -0
- package/dist/esm2022/evolution/entities/evolution.entity.mjs +22 -0
- package/dist/esm2022/evolution/entities/hash.entity.mjs +16 -0
- package/dist/esm2022/evolution/entities/index.mjs +6 -0
- package/dist/esm2022/evolution/entities/instance.entity.mjs +17 -0
- package/dist/esm2022/evolution/entities/qrcode.entity.mjs +17 -0
- package/dist/esm2022/evolution/enums/events.enum.mjs +24 -0
- package/dist/esm2022/evolution/enums/index.mjs +2 -0
- package/dist/esm2022/evolution/index.mjs +4 -0
- package/dist/esm2022/evolution/interfaces/i-chatwoot.mjs +2 -0
- package/dist/esm2022/evolution/interfaces/i-evolution.mjs +2 -0
- package/dist/esm2022/evolution/interfaces/i-hash.mjs +2 -0
- package/dist/esm2022/evolution/interfaces/i-instance.mjs +2 -0
- package/dist/esm2022/evolution/interfaces/i-qrcode.mjs +2 -0
- package/dist/esm2022/evolution/interfaces/index.mjs +2 -0
- package/dist/esm2022/index.mjs +3 -1
- package/dist/esm2022/wa-server/entities/index.mjs +2 -0
- package/dist/esm2022/wa-server/entities/wa-server.entity.mjs +25 -0
- package/dist/esm2022/wa-server/enums/index.mjs +2 -0
- package/dist/esm2022/wa-server/enums/status.enum.mjs +10 -0
- package/dist/esm2022/wa-server/index.mjs +4 -0
- package/dist/esm2022/wa-server/interfaces/i-wa-server.mjs +2 -0
- package/dist/esm2022/wa-server/interfaces/index.mjs +2 -0
- package/dist/evolution/entities/chat-woot.entity.d.ts +11 -0
- package/dist/evolution/entities/chat-woot.entity.js +24 -0
- package/dist/evolution/entities/evolution.entity.d.ts +14 -0
- package/dist/evolution/entities/evolution.entity.js +26 -0
- package/dist/evolution/entities/hash.entity.d.ts +5 -0
- package/dist/evolution/entities/hash.entity.js +20 -0
- package/dist/evolution/entities/index.d.ts +5 -0
- package/dist/evolution/entities/index.js +13 -0
- package/dist/evolution/entities/instance.entity.d.ts +6 -0
- package/dist/evolution/entities/instance.entity.js +21 -0
- package/dist/evolution/entities/qrcode.entity.d.ts +6 -0
- package/dist/evolution/entities/qrcode.entity.js +21 -0
- package/dist/evolution/enums/events.enum.d.ts +22 -0
- package/dist/evolution/enums/events.enum.js +26 -0
- package/dist/evolution/enums/index.d.ts +1 -0
- package/dist/evolution/enums/index.js +5 -0
- package/dist/evolution/index.d.ts +3 -0
- package/dist/evolution/index.js +19 -0
- package/dist/evolution/interfaces/i-chatwoot.d.ts +9 -0
- package/dist/evolution/interfaces/i-chatwoot.js +2 -0
- package/dist/evolution/interfaces/i-evolution.d.ts +13 -0
- package/dist/evolution/interfaces/i-evolution.js +2 -0
- package/dist/evolution/interfaces/i-hash.d.ts +3 -0
- package/dist/evolution/interfaces/i-hash.js +2 -0
- package/dist/evolution/interfaces/i-instance.d.ts +4 -0
- package/dist/evolution/interfaces/i-instance.js +2 -0
- package/dist/evolution/interfaces/i-qrcode.d.ts +4 -0
- package/dist/evolution/interfaces/i-qrcode.js +2 -0
- package/dist/evolution/interfaces/index.d.ts +5 -0
- package/dist/evolution/interfaces/index.js +2 -0
- package/dist/fesm2022/cecon-interfaces.mjs +156 -4
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/package.json +1 -1
- package/dist/wa-server/entities/index.d.ts +1 -0
- package/dist/wa-server/entities/index.js +5 -0
- package/dist/wa-server/entities/wa-server.entity.d.ts +16 -0
- package/dist/wa-server/entities/wa-server.entity.js +29 -0
- package/dist/wa-server/enums/index.d.ts +1 -0
- package/dist/wa-server/enums/index.js +5 -0
- package/dist/wa-server/enums/status.enum.d.ts +8 -0
- package/dist/wa-server/enums/status.enum.js +12 -0
- package/dist/wa-server/index.d.ts +3 -0
- package/dist/wa-server/index.js +19 -0
- package/dist/wa-server/interfaces/i-wa-server.d.ts +14 -0
- package/dist/wa-server/interfaces/i-wa-server.js +2 -0
- package/dist/wa-server/interfaces/index.d.ts +1 -0
- package/dist/wa-server/interfaces/index.js +2 -0
- package/package.json +1 -1
@@ -4,7 +4,11 @@ export declare enum EAppMode {
|
|
4
4
|
SCREEN = "SCREEN",
|
5
5
|
NATI_GO = "NATIGO",
|
6
6
|
SAT_MANAGER = "SAT-MANAGER",
|
7
|
-
|
7
|
+
NATI_PDV = "NATI-PDV",
|
8
|
+
NATI_PHP = "NATI_PHP",
|
9
|
+
WA_SERVER = "WA_SERVER",
|
10
|
+
NATI_TYPE_BOT = "NATI_TYPE_BOT",
|
11
|
+
NATI_ST = "NATI_ST",
|
8
12
|
RABBIT = "RABBIT",
|
9
13
|
FISCAL_MANAGER = "FISCAL-MANAGER",
|
10
14
|
NATI_SIGN = "NATI-SIGN",
|
@@ -8,7 +8,11 @@ var EAppMode;
|
|
8
8
|
EAppMode["SCREEN"] = "SCREEN";
|
9
9
|
EAppMode["NATI_GO"] = "NATIGO";
|
10
10
|
EAppMode["SAT_MANAGER"] = "SAT-MANAGER";
|
11
|
-
EAppMode["
|
11
|
+
EAppMode["NATI_PDV"] = "NATI-PDV";
|
12
|
+
EAppMode["NATI_PHP"] = "NATI_PHP";
|
13
|
+
EAppMode["WA_SERVER"] = "WA_SERVER";
|
14
|
+
EAppMode["NATI_TYPE_BOT"] = "NATI_TYPE_BOT";
|
15
|
+
EAppMode["NATI_ST"] = "NATI_ST";
|
12
16
|
EAppMode["RABBIT"] = "RABBIT";
|
13
17
|
EAppMode["FISCAL_MANAGER"] = "FISCAL-MANAGER";
|
14
18
|
EAppMode["NATI_SIGN"] = "NATI-SIGN";
|
@@ -1,7 +1,9 @@
|
|
1
1
|
import { IBillingOrder } from '../../billing-order';
|
2
|
+
import { ICompany } from '../../company';
|
2
3
|
import { EBillingStatus } from '../enums';
|
3
4
|
import { IBilling, IBillingPayment, IBillingTotal } from '../interfaces';
|
4
5
|
export declare class BillingEntity implements IBilling {
|
6
|
+
company: ICompany | null;
|
5
7
|
createdAt: Date;
|
6
8
|
dueDateAt: Date;
|
7
9
|
id: string;
|
@@ -4,10 +4,11 @@ exports.BillingEntity = void 0;
|
|
4
4
|
var enums_1 = require("../enums");
|
5
5
|
var billing_total_entity_1 = require("./billing-total.entity");
|
6
6
|
var BillingEntity = /** @class */ (function () {
|
7
|
-
// #endregion Properties (
|
7
|
+
// #endregion Properties (12)
|
8
8
|
// #region Constructors (1)
|
9
9
|
function BillingEntity(data) {
|
10
|
-
// #region Properties (
|
10
|
+
// #region Properties (12)
|
11
|
+
this.company = null;
|
11
12
|
this.createdAt = new Date();
|
12
13
|
this.dueDateAt = new Date();
|
13
14
|
this.id = '';
|
@@ -1,10 +1,12 @@
|
|
1
1
|
import { IBillingOrder } from '../../billing-order';
|
2
|
+
import { ICompany } from '../../company';
|
2
3
|
import { EBillingStatus } from '../enums/billing-status.enum';
|
3
4
|
import { IBillingPayment } from './i-billing-payment';
|
4
5
|
import { IBillingTotal } from './i-billing-total';
|
5
6
|
export interface IBilling {
|
6
7
|
createdAt: Date;
|
7
8
|
dueDateAt: Date;
|
9
|
+
company: ICompany | null;
|
8
10
|
id: string;
|
9
11
|
orders: IBillingOrder[];
|
10
12
|
payments: IBillingPayment[];
|
@@ -5,11 +5,15 @@ export var EAppMode;
|
|
5
5
|
EAppMode["SCREEN"] = "SCREEN";
|
6
6
|
EAppMode["NATI_GO"] = "NATIGO";
|
7
7
|
EAppMode["SAT_MANAGER"] = "SAT-MANAGER";
|
8
|
-
EAppMode["
|
8
|
+
EAppMode["NATI_PDV"] = "NATI-PDV";
|
9
|
+
EAppMode["NATI_PHP"] = "NATI_PHP";
|
10
|
+
EAppMode["WA_SERVER"] = "WA_SERVER";
|
11
|
+
EAppMode["NATI_TYPE_BOT"] = "NATI_TYPE_BOT";
|
12
|
+
EAppMode["NATI_ST"] = "NATI_ST";
|
9
13
|
EAppMode["RABBIT"] = "RABBIT";
|
10
14
|
EAppMode["FISCAL_MANAGER"] = "FISCAL-MANAGER";
|
11
15
|
EAppMode["NATI_SIGN"] = "NATI-SIGN";
|
12
16
|
EAppMode["DESENFILA"] = "DESENFILA";
|
13
17
|
EAppMode["NONE"] = "NONE";
|
14
18
|
})(EAppMode || (EAppMode = {}));
|
15
|
-
//# sourceMappingURL=data:application/json;base64,
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kZS5lbnVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2FwcC9lbnVtcy9tb2RlLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksUUFnQlg7QUFoQkQsV0FBWSxRQUFRO0lBQ2xCLHVCQUFXLENBQUE7SUFDWCxpQ0FBcUIsQ0FBQTtJQUNyQiw2QkFBaUIsQ0FBQTtJQUNqQiw4QkFBa0IsQ0FBQTtJQUNsQix1Q0FBMkIsQ0FBQTtJQUMzQixpQ0FBcUIsQ0FBQTtJQUNyQixpQ0FBcUIsQ0FBQTtJQUNyQixtQ0FBdUIsQ0FBQTtJQUN2QiwyQ0FBK0IsQ0FBQTtJQUMvQiwrQkFBbUIsQ0FBQTtJQUNuQiw2QkFBaUIsQ0FBQTtJQUNqQiw2Q0FBaUMsQ0FBQTtJQUNqQyxtQ0FBdUIsQ0FBQTtJQUN2QixtQ0FBdUIsQ0FBQTtJQUN2Qix5QkFBYSxDQUFBO0FBQ2YsQ0FBQyxFQWhCVyxRQUFRLEtBQVIsUUFBUSxRQWdCbkIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBFQXBwTW9kZSB7XHJcbiAgQVBQID0gJ0FQUCcsXHJcbiAgQ0hFQ0tPVVQgPSAnQ0hFQ0tPVVQnLFxyXG4gIFNDUkVFTiA9ICdTQ1JFRU4nLFxyXG4gIE5BVElfR08gPSAnTkFUSUdPJyxcclxuICBTQVRfTUFOQUdFUiA9ICdTQVQtTUFOQUdFUicsXHJcbiAgTkFUSV9QRFYgPSAnTkFUSS1QRFYnLFxyXG4gIE5BVElfUEhQID0gJ05BVElfUEhQJyxcclxuICBXQV9TRVJWRVIgPSAnV0FfU0VSVkVSJyxcclxuICBOQVRJX1RZUEVfQk9UID0gJ05BVElfVFlQRV9CT1QnLFxyXG4gIE5BVElfU1QgPSAnTkFUSV9TVCcsXHJcbiAgUkFCQklUID0gJ1JBQkJJVCcsXHJcbiAgRklTQ0FMX01BTkFHRVIgPSAnRklTQ0FMLU1BTkFHRVInLFxyXG4gIE5BVElfU0lHTiA9ICdOQVRJLVNJR04nLFxyXG4gIERFU0VORklMQSA9ICdERVNFTkZJTEEnLFxyXG4gIE5PTkUgPSAnTk9ORScsXHJcbn1cclxuIl19
|
@@ -1,7 +1,8 @@
|
|
1
1
|
import { EBillingStatus } from '../enums';
|
2
2
|
import { BillingTotalEntity } from './billing-total.entity';
|
3
3
|
export class BillingEntity {
|
4
|
-
// #region Properties (
|
4
|
+
// #region Properties (12)
|
5
|
+
company = null;
|
5
6
|
createdAt = new Date();
|
6
7
|
dueDateAt = new Date();
|
7
8
|
id = '';
|
@@ -10,7 +11,7 @@ export class BillingEntity {
|
|
10
11
|
status = EBillingStatus.PENDING;
|
11
12
|
total = new BillingTotalEntity();
|
12
13
|
updatedAt = new Date();
|
13
|
-
// #endregion Properties (
|
14
|
+
// #endregion Properties (12)
|
14
15
|
// #region Constructors (1)
|
15
16
|
constructor(data) {
|
16
17
|
if (data) {
|
@@ -22,4 +23,4 @@ export class BillingEntity {
|
|
22
23
|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bnRpdHkoKTtcbiAgcHVibGljIHVwZGF0ZWRBdDogRGF0ZSA9IG5ldyBEYXRlKCk7XG5cbiAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICgxMilcblxuICAvLyAjcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcblxuICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxCaWxsaW5nRW50aXR5Pikge1xuICAgIGlmIChkYXRhKSB7XG4gICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xuICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XG4gICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuICB9XG5cbiAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59XG4iXX0=
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1iaWxsaW5nLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2JpbGxpbmcvaW50ZXJmYWNlcy9pLWJpbGxpbmcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElCaWxsaW5nT3JkZXIgfSBmcm9tICcuLi8uLi9iaWxsaW5nLW9yZGVyJztcbmltcG9ydCB7IElDb21wYW55IH0gZnJvbSAnLi4vLi4vY29tcGFueSc7XG5pbXBvcnQgeyBFQmlsbGluZ1N0YXR1cyB9IGZyb20gJy4uL2VudW1zL2JpbGxpbmctc3RhdHVzLmVudW0nO1xuaW1wb3J0IHsgSUJpbGxpbmdQYXltZW50IH0gZnJvbSAnLi9pLWJpbGxpbmctcGF5bWVudCc7XG5pbXBvcnQgeyBJQmlsbGluZ1RvdGFsIH0gZnJvbSAnLi9pLWJpbGxpbmctdG90YWwnO1xuXG5leHBvcnQgaW50ZXJmYWNlIElCaWxsaW5nIHtcbiAgLy8gI3JlZ2lvbiBQcm9wZXJ0aWVzICg4KVxuXG4gIGNyZWF0ZWRBdDogRGF0ZTtcbiAgZHVlRGF0ZUF0OiBEYXRlO1xuICBjb21wYW55OiBJQ29tcGFueSB8IG51bGw7XG4gIGlkOiBzdHJpbmc7XG4gIG9yZGVyczogSUJpbGxpbmdPcmRlcltdO1xuICBwYXltZW50czogSUJpbGxpbmdQYXltZW50W107XG4gIHN0YXR1czogRUJpbGxpbmdTdGF0dXM7XG4gIHRvdGFsOiBJQmlsbGluZ1RvdGFsO1xuICB1cGRhdGVkQXQ6IERhdGU7XG5cbiAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICg4KVxufVxuIl19
|
@@ -0,0 +1,20 @@
|
|
1
|
+
export class EvolutionChatWootEntity {
|
2
|
+
// #region Properties (7)
|
3
|
+
accountId = '';
|
4
|
+
enabled = false;
|
5
|
+
nameInbox = '';
|
6
|
+
signMsg = false;
|
7
|
+
token = '';
|
8
|
+
url = '';
|
9
|
+
webhookUrl = '';
|
10
|
+
constructor(data) {
|
11
|
+
if (data) {
|
12
|
+
for (let key in data) {
|
13
|
+
if (data.hasOwnProperty(key) && key in this) {
|
14
|
+
this[key] = data[key];
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhdC13b290LmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9ldm9sdXRpb24vZW50aXRpZXMvY2hhdC13b290LmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1h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1xuICBwdWJsaWMgdXJsOiBzdHJpbmcgPSAnJztcbiAgcHVibGljIHdlYmhvb2tVcmw6IHN0cmluZyA9ICcnO1xuXG4gIGNvbnN0cnVjdG9yKGRhdGE/OiBQYXJ0aWFsPEV2b2x1dGlvbkNoYXRXb290RW50aXR5Pikge1xuICAgIGlmIChkYXRhKSB7XG4gICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xuICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XG4gICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuICB9XG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoNylcbn1cbiJdfQ==
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { EvolutionHashEntity } from './hash.entity';
|
2
|
+
import { EvolutionInstanceEntity } from './instance.entity';
|
3
|
+
import { EvolutionQrcodeEntity } from './qrcode.entity';
|
4
|
+
export class EvolutionEntity {
|
5
|
+
// #region Properties (6)
|
6
|
+
chatwoot = null;
|
7
|
+
events = [];
|
8
|
+
hash = new EvolutionHashEntity();
|
9
|
+
instance = new EvolutionInstanceEntity();
|
10
|
+
qrcode = new EvolutionQrcodeEntity();
|
11
|
+
webhook = '';
|
12
|
+
constructor(data) {
|
13
|
+
if (data) {
|
14
|
+
for (let key in data) {
|
15
|
+
if (data.hasOwnProperty(key) && key in this) {
|
16
|
+
this[key] = data[key];
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvbHV0aW9uLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9ldm9sdXRpb24vZW50aXRpZXMvZX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ZWdpb24gUHJvcGVydGllcyAoNilcbn1cbiJdfQ==
|
@@ -0,0 +1,16 @@
|
|
1
|
+
export class EvolutionHashEntity {
|
2
|
+
// #region Properties (1)
|
3
|
+
apikey = '';
|
4
|
+
// #endregion Properties (1)
|
5
|
+
// #region Constructors (1)
|
6
|
+
constructor(data) {
|
7
|
+
if (data) {
|
8
|
+
for (let key in data) {
|
9
|
+
if (data.hasOwnProperty(key) && key in this) {
|
10
|
+
this[key] = data[key];
|
11
|
+
}
|
12
|
+
}
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGFzaC5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZXZvbHV0aW9uL2VudGl0aWVzL2hhc2guZW50aXR5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sT0FBTyxtQkFBbUI7SUFDOUIseUJBQXlCO0lBRWxCLE1BQU0sR0FBVyxFQUFFLENBQUM7SUFFM0IsNEJBQTRCO0lBRTVCLDJCQUEyQjtJQUUzQixZQUFZLElBQW1DO1FBQzdDLElBQUksSUFBSSxFQUFFO1lBQ1IsS0FBSyxJQUFJLEdBQUcsSUFBSSxJQUFJLEVBQUU7Z0JBQ3BCLElBQUksSUFBSSxDQUFDLGNBQWMsQ0FBQyxHQUFHLENBQUMsSUFBSSxHQUFHLElBQUksSUFBSSxFQUFFO29CQUMxQyxJQUFZLENBQUMsR0FBRyxDQUFDLEdBQUksSUFBWSxDQUFDLEdBQUcsQ0FBQyxDQUFDO2lCQUN6QzthQUNGO1NBQ0Y7SUFDSCxDQUFDO0NBR0YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJRXZvbHV0aW9uSGFzaCB9IGZyb20gJy4uL2ludGVyZmFjZXMnO1xuXG5leHBvcnQgY2xhc3MgRXZvbHV0aW9uSGFzaEVudGl0eSBpbXBsZW1lbnRzIElFdm9sdXRpb25IYXNoIHtcbiAgLy8gI3JlZ2lvbiBQcm9wZXJ0aWVzICgxKVxuXG4gIHB1YmxpYyBhcGlrZXk6IHN0cmluZyA9ICcnO1xuXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMSlcblxuICAvLyAjcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcblxuICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxFdm9sdXRpb25IYXNoRW50aXR5Pikge1xuICAgIGlmIChkYXRhKSB7XG4gICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xuICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XG4gICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuICB9XG5cbiAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59XG4iXX0=
|
@@ -0,0 +1,6 @@
|
|
1
|
+
export { EvolutionChatWootEntity } from './chat-woot.entity';
|
2
|
+
export { EvolutionEntity } from './evolution.entity';
|
3
|
+
export { EvolutionHashEntity } from './hash.entity';
|
4
|
+
export { EvolutionInstanceEntity } from './instance.entity';
|
5
|
+
export { EvolutionQrcodeEntity } from './qrcode.entity';
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZXZvbHV0aW9uL2VudGl0aWVzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQzdELE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUNyRCxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDcEQsT0FBTyxFQUFFLHVCQUF1QixFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFDNUQsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0saUJBQWlCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBFdm9sdXRpb25DaGF0V29vdEVudGl0eSB9IGZyb20gJy4vY2hhdC13b290LmVudGl0eSc7XHJcbmV4cG9ydCB7IEV2b2x1dGlvbkVudGl0eSB9IGZyb20gJy4vZXZvbHV0aW9uLmVudGl0eSc7XHJcbmV4cG9ydCB7IEV2b2x1dGlvbkhhc2hFbnRpdHkgfSBmcm9tICcuL2hhc2guZW50aXR5JztcclxuZXhwb3J0IHsgRXZvbHV0aW9uSW5zdGFuY2VFbnRpdHkgfSBmcm9tICcuL2luc3RhbmNlLmVudGl0eSc7XHJcbmV4cG9ydCB7IEV2b2x1dGlvblFyY29kZUVudGl0eSB9IGZyb20gJy4vcXJjb2RlLmVudGl0eSc7XHJcbiJdfQ==
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export class EvolutionInstanceEntity {
|
2
|
+
// #region Properties (2)
|
3
|
+
instanceName = '';
|
4
|
+
status = '';
|
5
|
+
// #endregion Properties (2)
|
6
|
+
// #region Constructors (1)
|
7
|
+
constructor(data) {
|
8
|
+
if (data) {
|
9
|
+
for (let key in data) {
|
10
|
+
if (data.hasOwnProperty(key) && key in this) {
|
11
|
+
this[key] = data[key];
|
12
|
+
}
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5zdGFuY2UuZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi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mb3IgKGxldCBrZXkgaW4gZGF0YSkge1xuICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XG4gICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuICB9XG5cbiAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59XG4iXX0=
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export class EvolutionQrcodeEntity {
|
2
|
+
// #region Properties (2)
|
3
|
+
base64 = null;
|
4
|
+
code = null;
|
5
|
+
// #endregion Properties (2)
|
6
|
+
// #region Constructors (1)
|
7
|
+
constructor(data) {
|
8
|
+
if (data) {
|
9
|
+
for (let key in data) {
|
10
|
+
if (data.hasOwnProperty(key) && key in this) {
|
11
|
+
this[key] = data[key];
|
12
|
+
}
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXJjb2RlLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9ldm9sdXRpb24vZW50aXRpZXMvcXJjb2RlLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLE9BQU8scUJBQXFCO0lBQ2hDLHlCQUF5QjtJQUVsQixNQUFNLEdBQWtCLElBQUksQ0FBQztJQUM3QixJQUFJLEdBQWtCLElBQUksQ0FBQztJQUVsQyw0QkFBNEI7SUFFNUIsMkJBQTJCO0lBRTNCLFlBQVksSUFBcUM7UUFDL0MsSUFBSSxJQUFJLEVBQUU7WUFDUixLQUFLLElBQUksR0FBRyxJQUFJLElBQUksRUFBRTtnQkFDcEIsSUFBSSxJQUFJLENBQUMsY0FBYyxDQUFDLEdBQUcsQ0FBQyxJQUFJLEdBQUcsSUFBSSxJQUFJLEVBQUU7b0JBQzFDLElBQVksQ0FBQyxHQUFHLENBQUMsR0FBSSxJQUFZLENBQUMsR0FBRyxDQUFDLENBQUM7aUJBQ3pDO2FBQ0Y7U0FDRjtJQUNILENBQUM7Q0FHRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElFdm9sdXRpb25RcmNvZGUgfSBmcm9tICcuLi9pbnRlcmZhY2VzJztcblxuZXhwb3J0IGNsYXNzIEV2b2x1dGlvblFyY29kZUVudGl0eSBpbXBsZW1lbnRzIElFdm9sdXRpb25RcmNvZGUge1xuICAvLyAjcmVnaW9uIFByb3BlcnRpZXMgKDIpXG5cbiAgcHVibGljIGJhc2U2NDogc3RyaW5nIHwgbnVsbCA9IG51bGw7XG4gIHB1YmxpYyBjb2RlOiBzdHJpbmcgfCBudWxsID0gbnVsbDtcblxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDIpXG5cbiAgLy8gI3JlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG5cbiAgY29uc3RydWN0b3IoZGF0YT86IFBhcnRpYWw8RXZvbHV0aW9uUXJjb2RlRW50aXR5Pikge1xuICAgIGlmIChkYXRhKSB7XG4gICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xuICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XG4gICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuICB9XG5cbiAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59XG4iXX0=
|
@@ -0,0 +1,24 @@
|
|
1
|
+
export var EEvolutionEvent;
|
2
|
+
(function (EEvolutionEvent) {
|
3
|
+
EEvolutionEvent["APPLICATION_STARTUP"] = "APPLICATION_STARTUP";
|
4
|
+
EEvolutionEvent["QRCODE_UPDATED"] = "QRCODE_UPDATED";
|
5
|
+
EEvolutionEvent["MESSAGES_SET"] = "MESSAGES_SET";
|
6
|
+
EEvolutionEvent["MESSAGES_UPSERT"] = "MESSAGES_UPSERT";
|
7
|
+
EEvolutionEvent["MESSAGES_UPDATE"] = "MESSAGES_UPDATE";
|
8
|
+
EEvolutionEvent["MESSAGES_DELETE"] = "MESSAGES_DELETE";
|
9
|
+
EEvolutionEvent["SEND_MESSAGE"] = "SEND_MESSAGE";
|
10
|
+
EEvolutionEvent["CONTACTS_SET"] = "CONTACTS_SET";
|
11
|
+
EEvolutionEvent["CONTACTS_UPSERT"] = "CONTACTS_UPSERT";
|
12
|
+
EEvolutionEvent["CONTACTS_UPDATE"] = "CONTACTS_UPDATE";
|
13
|
+
EEvolutionEvent["PRESENCE_UPDATE"] = "PRESENCE_UPDATE";
|
14
|
+
EEvolutionEvent["CHATS_SET"] = "CHATS_SET";
|
15
|
+
EEvolutionEvent["CHATS_UPSERT"] = "CHATS_UPSERT";
|
16
|
+
EEvolutionEvent["CHATS_UPDATE"] = "CHATS_UPDATE";
|
17
|
+
EEvolutionEvent["CHATS_DELETE"] = "CHATS_DELETE";
|
18
|
+
EEvolutionEvent["GROUPS_UPSERT"] = "GROUPS_UPSERT";
|
19
|
+
EEvolutionEvent["GROUP_UPDATE"] = "GROUP_UPDATE";
|
20
|
+
EEvolutionEvent["GROUP_PARTICIPANTS_UPDATE"] = "GROUP_PARTICIPANTS_UPDATE";
|
21
|
+
EEvolutionEvent["CONNECTION_UPDATE"] = "CONNECTION_UPDATE";
|
22
|
+
EEvolutionEvent["NEW_JWT_TOKE"] = "NEW_JWT_TOKE";
|
23
|
+
})(EEvolutionEvent || (EEvolutionEvent = {}));
|
24
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZlbnRzLmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6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LEVBQUUsTUFBTSxlQUFlLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBFRXZvbHV0aW9uRXZlbnQgfSBmcm9tICcuL2V2ZW50cy5lbnVtJztcclxuIl19
|
@@ -0,0 +1,4 @@
|
|
1
|
+
export * from './entities';
|
2
|
+
export * from './enums';
|
3
|
+
export * from './interfaces';
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvZXZvbHV0aW9uL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsWUFBWSxDQUFDO0FBQzNCLGNBQWMsU0FBUyxDQUFDO0FBQ3hCLGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9lbnRpdGllcyc7XG5leHBvcnQgKiBmcm9tICcuL2VudW1zJztcbmV4cG9ydCAqIGZyb20gJy4vaW50ZXJmYWNlcyc7XG4iXX0=
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1jaGF0d29vdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9ldm9sdXRpb24vaW50ZXJmYWNlcy9pLWNoYXR3b290LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIElFdm9sdXRpb25DaGF0V29vdCB7XG4gIGVuYWJsZWQ6IGJvb2xlYW47XG4gIGFjY291bnRJZDogc3RyaW5nO1xuICB0b2tlbjogc3RyaW5nO1xuICB1cmw6IHN0cmluZztcbiAgc2lnbk1zZzogYm9vbGVhbjtcbiAgbmFtZUluYm94OiBzdHJpbmc7XG4gIHdlYmhvb2tVcmw6IHN0cmluZztcbn1cbiJdfQ==
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1ldm9sdXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZXZvbHV0aW9uL2ludGVyZmFjZXMvaS1ldm9sdXRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEVFdm9sdXRpb25FdmVudCB9IGZyb20gJy4uL2VudW1zL2V2ZW50cy5lbnVtJztcbmltcG9ydCB7IElFdm9sdXRpb25DaGF0V29vdCB9IGZyb20gJy4vaS1jaGF0d29vdCc7XG5pbXBvcnQgeyBJRXZvbHV0aW9uSGFzaCB9IGZyb20gJy4vaS1oYXNoJztcbmltcG9ydCB7IElFdm9sdXRpb25JbnN0YW5jZSB9IGZyb20gJy4vaS1pbnN0YW5jZSc7XG5pbXBvcnQgeyBJRXZvbHV0aW9uUXJjb2RlIH0gZnJvbSAnLi9pLXFyY29kZSc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgSUV2b2x1dGlvbiB7XG4gIGluc3RhbmNlOiBJRXZvbHV0aW9uSW5zdGFuY2U7XG4gIGhhc2g6IElFdm9sdXRpb25IYXNoO1xuICB3ZWJob29rOiBzdHJpbmc7XG4gIGV2ZW50czogRUV2b2x1dGlvbkV2ZW50W107XG4gIHFyY29kZTogSUV2b2x1dGlvblFyY29kZTtcbiAgY2hhdHdvb3Q6IElFdm9sdXRpb25DaGF0V29vdCB8IG51bGw7XG5cbiAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICg2KVxufVxuIl19
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1oYXNoLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2V2b2x1dGlvbi9pbnRlcmZhY2VzL2ktaGFzaC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGludGVyZmFjZSBJRXZvbHV0aW9uSGFzaCB7XG4gIGFwaWtleTogc3RyaW5nO1xufVxuIl19
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1pbnN0YW5jZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9ldm9sdXRpb24vaW50ZXJmYWNlcy9pLWluc3RhbmNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIElFdm9sdXRpb25JbnN0YW5jZSB7XG4gIGluc3RhbmNlTmFtZTogc3RyaW5nO1xuICBzdGF0dXM6ICdjcmVhdGVkJyB8ICd1cGRhdGVkJyB8ICdkZWxldGVkJyB8IHN0cmluZztcbn1cbiJdfQ==
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1xcmNvZGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZXZvbHV0aW9uL2ludGVyZmFjZXMvaS1xcmNvZGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgSUV2b2x1dGlvblFyY29kZSB7XG4gIGNvZGU6IHN0cmluZyB8IG51bGw7XG4gIGJhc2U2NDogc3RyaW5nIHwgbnVsbDtcbn1cbiJdfQ==
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZXZvbHV0aW9uL2ludGVyZmFjZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IElFdm9sdXRpb25DaGF0V29vdCB9IGZyb20gJy4vaS1jaGF0d29vdCc7XHJcbmV4cG9ydCB7IElFdm9sdXRpb24gfSBmcm9tICcuL2ktZXZvbHV0aW9uJztcclxuZXhwb3J0IHsgSUV2b2x1dGlvbkhhc2ggfSBmcm9tICcuL2ktaGFzaCc7XHJcbmV4cG9ydCB7IElFdm9sdXRpb25JbnN0YW5jZSB9IGZyb20gJy4vaS1pbnN0YW5jZSc7XHJcbmV4cG9ydCB7IElFdm9sdXRpb25RcmNvZGUgfSBmcm9tICcuL2ktcXJjb2RlJztcclxuIl19
|
package/dist/esm2022/index.mjs
CHANGED
@@ -9,6 +9,7 @@ export * from './container';
|
|
9
9
|
export * from './customer';
|
10
10
|
export * from './customer-member';
|
11
11
|
export * from './device';
|
12
|
+
export * from './evolution';
|
12
13
|
export * from './feature';
|
13
14
|
export * from './general';
|
14
15
|
export * from './global-settings';
|
@@ -34,4 +35,5 @@ export * from './subscription-customer';
|
|
34
35
|
export * from './token';
|
35
36
|
export * from './viacep';
|
36
37
|
export * from './voucher';
|
37
|
-
|
38
|
+
export * from './wa-server';
|
39
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXS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CAqIGZyb20gJy4vcHJvZHVjdC1jb21wYW55JztcbmV4cG9ydCAqIGZyb20gJy4vcHJvZHVjdC1jb250YWluZXInO1xuZXhwb3J0ICogZnJvbSAnLi9wcm9kdWN0LWdsb2JhbCc7XG5leHBvcnQgKiBmcm9tICcuL3B1YnN1Yic7XG5leHBvcnQgKiBmcm9tICcuL3B1cmNoYXNlcyc7XG5leHBvcnQgKiBmcm9tICcuL3Jlc3VtZSc7XG5leHBvcnQgKiBmcm9tICcuL3N1YnNjcmlwdGlvbi1iYXNlJztcbmV4cG9ydCAqIGZyb20gJy4vc3Vic2NyaXB0aW9uLWNvbXBhbnknO1xuZXhwb3J0ICogZnJvbSAnLi9zdWJzY3JpcHRpb24tY3VzdG9tZXInO1xuZXhwb3J0ICogZnJvbSAnLi90b2tlbic7XG5leHBvcnQgKiBmcm9tICcuL3ZpYWNlcCc7XG5leHBvcnQgKiBmcm9tICcuL3ZvdWNoZXInO1xuZXhwb3J0ICogZnJvbSAnLi93YS1zZXJ2ZXInO1xuIl19
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export { WaServerEntity } from './wa-server.entity';
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvd2Etc2VydmVyL2VudGl0aWVzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IFdhU2VydmVyRW50aXR5IH0gZnJvbSAnLi93YS1zZXJ2ZXIuZW50aXR5JztcclxuIl19
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import { EWaServerStatus } from '../enums';
|
2
|
+
export class WaServerEntity {
|
3
|
+
// #region Properties (11)
|
4
|
+
active = false;
|
5
|
+
baseUrl = '';
|
6
|
+
createdAt = new Date();
|
7
|
+
globalApiKey = '';
|
8
|
+
id = '';
|
9
|
+
installIds = [];
|
10
|
+
name = '';
|
11
|
+
sessions = 0;
|
12
|
+
stack = '';
|
13
|
+
status = EWaServerStatus.STOPPED;
|
14
|
+
updatedAt = new Date();
|
15
|
+
constructor(data) {
|
16
|
+
if (data) {
|
17
|
+
for (let key in data) {
|
18
|
+
if (data.hasOwnProperty(key) && key in this) {
|
19
|
+
this[key] = data[key];
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
24
|
+
}
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2Etc2VydmVyLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy93YS1zZXJ2ZXIvZW50aXRpZXMvd2Etc2VydmVyLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sVUFBVSxDQUFDO0FBRzNDLE1BQU0sT0FBTyxjQUFjO0lBQ3pCLDBCQUEwQjtJQUVuQixNQUFNLEdBQVksS0FBSyxDQUFDO0lBQ3hCLE9BQU8sR0FBVyxFQUFFLENBQUM7SUFDckIsU0FBUyxHQUFTLElBQUksSUFBSSxFQUFFLENBQUM7SUFDN0IsWUFBWSxHQUFXLEVBQUUsQ0FBQztJQUMxQixFQUFFLEdBQVcsRUFBRSxDQUFDO0lBQ2hCLFVBQVUsR0FBYSxFQUFFLENBQUM7SUFDMUIsSUFBSSxHQUFXLEVBQUUsQ0FBQztJQUNsQixRQUFRLEdBQVcsQ0FBQyxDQUFDO0lBQ3JCLEtBQUssR0FBVyxFQUFFLENBQUM7SUFDbkIsTUFBTSxHQUFvQixlQUFlLENBQUMsT0FBTyxDQUFDO0lBQ2xELFNBQVMsR0FBUyxJQUFJL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1cGRhdGVkQXQ6IERhdGUgPSBuZXcgRGF0ZSgpO1xuXG4gIGNvbnN0cnVjdG9yKGRhdGE/OiBQYXJ0aWFsPFdhU2VydmVyRW50aXR5Pikge1xuICAgIGlmIChkYXRhKSB7XG4gICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xuICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XG4gICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuICB9XG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMTEpXG59XG4iXX0=
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export { EWaServerStatus } from './status.enum';
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvd2Etc2VydmVyL2VudW1zL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxlQUFlLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBFV2FTZXJ2ZXJTdGF0dXMgfSBmcm9tICcuL3N0YXR1cy5lbnVtJztcclxuIl19
|
@@ -0,0 +1,10 @@
|
|
1
|
+
export var EWaServerStatus;
|
2
|
+
(function (EWaServerStatus) {
|
3
|
+
EWaServerStatus["CONNECTED"] = "CONNECTED";
|
4
|
+
EWaServerStatus["DISCONNECTED"] = "DISCONNECTED";
|
5
|
+
EWaServerStatus["RECONNECTING"] = "RECONNECTING";
|
6
|
+
EWaServerStatus["RUNNING"] = "RUNNING";
|
7
|
+
EWaServerStatus["STOPPED"] = "STOPPED";
|
8
|
+
EWaServerStatus["DELETED"] = "DELETED";
|
9
|
+
})(EWaServerStatus || (EWaServerStatus = {}));
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhdHVzLmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvd2Etc2VydmVyL2VudW1zL3N0YXR1cy5lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLGVBT1g7QUFQRCxXQUFZLGVBQWU7SUFDekIsMENBQXVCLENBQUE7SUFDdkIsZ0RBQTZCLENBQUE7SUFDN0IsZ0RBQTZCLENBQUE7SUFDN0Isc0NBQW1CLENBQUE7SUFDbkIsc0NBQW1CLENBQUE7SUFDbkIsc0NBQW1CLENBQUE7QUFDckIsQ0FBQyxFQVBXLGVBQWUsS0FBZixlQUFlLFFBTzFCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gRVdhU2VydmVyU3RhdHVzIHtcclxuICBDT05ORUNURUQgPSAnQ09OTkVDVEVEJyxcclxuICBESVNDT05ORUNURUQgPSAnRElTQ09OTkVDVEVEJyxcclxuICBSRUNPTk5FQ1RJTkcgPSAnUkVDT05ORUNUSU5HJyxcclxuICBSVU5OSU5HID0gJ1JVTk5JTkcnLFxyXG4gIFNUT1BQRUQgPSAnU1RPUFBFRCcsXHJcbiAgREVMRVRFRCA9ICdERUxFVEVEJyxcclxufVxyXG4iXX0=
|
@@ -0,0 +1,4 @@
|
|
1
|
+
export * from './entities';
|
2
|
+
export * from './enums';
|
3
|
+
export * from './interfaces';
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvd2Etc2VydmVyL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsWUFBWSxDQUFDO0FBQzNCLGNBQWMsU0FBUyxDQUFDO0FBQ3hCLGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9lbnRpdGllcyc7XG5leHBvcnQgKiBmcm9tICcuL2VudW1zJztcbmV4cG9ydCAqIGZyb20gJy4vaW50ZXJmYWNlcyc7XG4iXX0=
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS13YS1zZXJ2ZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvd2Etc2VydmVyL2ludGVyZmFjZXMvaS13YS1zZXJ2ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEVXYVNlcnZlclN0YXR1cyB9IGZyb20gJy4uL2VudW1zJztcblxuZXhwb3J0IGludGVyZmFjZSBJV2FTZXJ2ZXIge1xuICBhY3RpdmU6IGJvb2xlYW47XG4gIG5hbWU6IHN0cmluZztcbiAgY3JlYXRlZEF0OiBEYXRlO1xuICB1cGRhdGVkQXQ6IERhdGU7XG4gIHN0YWNrOiBzdHJpbmc7XG4gIHN0YXR1czogRVdhU2VydmVyU3RhdHVzO1xuICBpZDogc3RyaW5nO1xuICBiYXNlVXJsOiBzdHJpbmc7XG4gIGdsb2JhbEFwaUtleTogc3RyaW5nO1xuICBzZXNzaW9uczogbnVtYmVyO1xuICBpbnN0YWxsSWRzOiBzdHJpbmdbXTtcbn1cbiJdfQ==
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvd2Etc2VydmVyL2ludGVyZmFjZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IElXYVNlcnZlciB9IGZyb20gJy4vaS13YS1zZXJ2ZXInO1xyXG4iXX0=
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { IEvolutionChatWoot } from '../interfaces';
|
2
|
+
export declare class EvolutionChatWootEntity implements IEvolutionChatWoot {
|
3
|
+
accountId: string;
|
4
|
+
enabled: boolean;
|
5
|
+
nameInbox: string;
|
6
|
+
signMsg: boolean;
|
7
|
+
token: string;
|
8
|
+
url: string;
|
9
|
+
webhookUrl: string;
|
10
|
+
constructor(data?: Partial<EvolutionChatWootEntity>);
|
11
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EvolutionChatWootEntity = void 0;
|
4
|
+
var EvolutionChatWootEntity = /** @class */ (function () {
|
5
|
+
function EvolutionChatWootEntity(data) {
|
6
|
+
// #region Properties (7)
|
7
|
+
this.accountId = '';
|
8
|
+
this.enabled = false;
|
9
|
+
this.nameInbox = '';
|
10
|
+
this.signMsg = false;
|
11
|
+
this.token = '';
|
12
|
+
this.url = '';
|
13
|
+
this.webhookUrl = '';
|
14
|
+
if (data) {
|
15
|
+
for (var key in data) {
|
16
|
+
if (data.hasOwnProperty(key) && key in this) {
|
17
|
+
this[key] = data[key];
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}
|
22
|
+
return EvolutionChatWootEntity;
|
23
|
+
}());
|
24
|
+
exports.EvolutionChatWootEntity = EvolutionChatWootEntity;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { EEvolutionEvent } from '../enums';
|
2
|
+
import { IEvolution, IEvolutionChatWoot } from '../interfaces';
|
3
|
+
import { EvolutionHashEntity } from './hash.entity';
|
4
|
+
import { EvolutionInstanceEntity } from './instance.entity';
|
5
|
+
import { EvolutionQrcodeEntity } from './qrcode.entity';
|
6
|
+
export declare class EvolutionEntity implements IEvolution {
|
7
|
+
chatwoot: IEvolutionChatWoot | null;
|
8
|
+
events: EEvolutionEvent[];
|
9
|
+
hash: EvolutionHashEntity;
|
10
|
+
instance: EvolutionInstanceEntity;
|
11
|
+
qrcode: EvolutionQrcodeEntity;
|
12
|
+
webhook: string;
|
13
|
+
constructor(data?: Partial<EvolutionEntity>);
|
14
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EvolutionEntity = void 0;
|
4
|
+
var hash_entity_1 = require("./hash.entity");
|
5
|
+
var instance_entity_1 = require("./instance.entity");
|
6
|
+
var qrcode_entity_1 = require("./qrcode.entity");
|
7
|
+
var EvolutionEntity = /** @class */ (function () {
|
8
|
+
function EvolutionEntity(data) {
|
9
|
+
// #region Properties (6)
|
10
|
+
this.chatwoot = null;
|
11
|
+
this.events = [];
|
12
|
+
this.hash = new hash_entity_1.EvolutionHashEntity();
|
13
|
+
this.instance = new instance_entity_1.EvolutionInstanceEntity();
|
14
|
+
this.qrcode = new qrcode_entity_1.EvolutionQrcodeEntity();
|
15
|
+
this.webhook = '';
|
16
|
+
if (data) {
|
17
|
+
for (var key in data) {
|
18
|
+
if (data.hasOwnProperty(key) && key in this) {
|
19
|
+
this[key] = data[key];
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
24
|
+
return EvolutionEntity;
|
25
|
+
}());
|
26
|
+
exports.EvolutionEntity = EvolutionEntity;
|
@@ -0,0 +1,20 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EvolutionHashEntity = void 0;
|
4
|
+
var EvolutionHashEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (1)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function EvolutionHashEntity(data) {
|
8
|
+
// #region Properties (1)
|
9
|
+
this.apikey = '';
|
10
|
+
if (data) {
|
11
|
+
for (var key in data) {
|
12
|
+
if (data.hasOwnProperty(key) && key in this) {
|
13
|
+
this[key] = data[key];
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
return EvolutionHashEntity;
|
19
|
+
}());
|
20
|
+
exports.EvolutionHashEntity = EvolutionHashEntity;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export { EvolutionChatWootEntity } from './chat-woot.entity';
|
2
|
+
export { EvolutionEntity } from './evolution.entity';
|
3
|
+
export { EvolutionHashEntity } from './hash.entity';
|
4
|
+
export { EvolutionInstanceEntity } from './instance.entity';
|
5
|
+
export { EvolutionQrcodeEntity } from './qrcode.entity';
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EvolutionQrcodeEntity = exports.EvolutionInstanceEntity = exports.EvolutionHashEntity = exports.EvolutionEntity = exports.EvolutionChatWootEntity = void 0;
|
4
|
+
var chat_woot_entity_1 = require("./chat-woot.entity");
|
5
|
+
Object.defineProperty(exports, "EvolutionChatWootEntity", { enumerable: true, get: function () { return chat_woot_entity_1.EvolutionChatWootEntity; } });
|
6
|
+
var evolution_entity_1 = require("./evolution.entity");
|
7
|
+
Object.defineProperty(exports, "EvolutionEntity", { enumerable: true, get: function () { return evolution_entity_1.EvolutionEntity; } });
|
8
|
+
var hash_entity_1 = require("./hash.entity");
|
9
|
+
Object.defineProperty(exports, "EvolutionHashEntity", { enumerable: true, get: function () { return hash_entity_1.EvolutionHashEntity; } });
|
10
|
+
var instance_entity_1 = require("./instance.entity");
|
11
|
+
Object.defineProperty(exports, "EvolutionInstanceEntity", { enumerable: true, get: function () { return instance_entity_1.EvolutionInstanceEntity; } });
|
12
|
+
var qrcode_entity_1 = require("./qrcode.entity");
|
13
|
+
Object.defineProperty(exports, "EvolutionQrcodeEntity", { enumerable: true, get: function () { return qrcode_entity_1.EvolutionQrcodeEntity; } });
|
@@ -0,0 +1,21 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EvolutionInstanceEntity = void 0;
|
4
|
+
var EvolutionInstanceEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (2)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function EvolutionInstanceEntity(data) {
|
8
|
+
// #region Properties (2)
|
9
|
+
this.instanceName = '';
|
10
|
+
this.status = '';
|
11
|
+
if (data) {
|
12
|
+
for (var key in data) {
|
13
|
+
if (data.hasOwnProperty(key) && key in this) {
|
14
|
+
this[key] = data[key];
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
return EvolutionInstanceEntity;
|
20
|
+
}());
|
21
|
+
exports.EvolutionInstanceEntity = EvolutionInstanceEntity;
|
@@ -0,0 +1,21 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EvolutionQrcodeEntity = void 0;
|
4
|
+
var EvolutionQrcodeEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (2)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function EvolutionQrcodeEntity(data) {
|
8
|
+
// #region Properties (2)
|
9
|
+
this.base64 = null;
|
10
|
+
this.code = null;
|
11
|
+
if (data) {
|
12
|
+
for (var key in data) {
|
13
|
+
if (data.hasOwnProperty(key) && key in this) {
|
14
|
+
this[key] = data[key];
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
return EvolutionQrcodeEntity;
|
20
|
+
}());
|
21
|
+
exports.EvolutionQrcodeEntity = EvolutionQrcodeEntity;
|