cecon-interfaces 1.2.14 → 1.2.17
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/app/entities/app.entity.d.ts +1 -0
- package/dist/app/entities/app.entity.js +3 -2
- package/dist/app/entities/index.d.ts +1 -0
- package/dist/app/entities/index.js +3 -1
- package/dist/app/entities/nati-wa.entity.d.ts +14 -0
- package/dist/app/entities/nati-wa.entity.js +34 -0
- package/dist/app/enums/mode.enum.d.ts +1 -1
- package/dist/app/enums/mode.enum.js +1 -1
- package/dist/app/interfaces/i-app.d.ts +1 -0
- package/dist/app/interfaces/i-nati-wa.d.ts +36 -0
- package/dist/app/interfaces/i-nati-wa.js +2 -0
- package/dist/app/interfaces/index.d.ts +1 -0
- package/dist/app/types/app-config.type.d.ts +2 -2
- package/dist/esm2022/app/entities/app.entity.mjs +4 -3
- package/dist/esm2022/app/entities/index.mjs +2 -1
- package/dist/esm2022/app/entities/nati-wa.entity.mjs +30 -0
- package/dist/esm2022/app/enums/mode.enum.mjs +2 -2
- package/dist/esm2022/app/interfaces/i-app.mjs +1 -1
- package/dist/esm2022/app/interfaces/i-nati-wa.mjs +2 -0
- package/dist/esm2022/app/interfaces/index.mjs +1 -1
- package/dist/esm2022/app/types/app-config.type.mjs +1 -1
- package/dist/esm2022/evolution/enums/index.mjs +2 -1
- package/dist/esm2022/evolution/enums/instance-types.enum.mjs +10 -0
- package/dist/esm2022/invoice/entities/invoice-item.entity.mjs +4 -3
- package/dist/esm2022/invoice/interfaces/i-invoice-item.mjs +1 -1
- package/dist/esm2022/wa-server/entities/wa-server.entity.mjs +1 -2
- package/dist/esm2022/wa-server/enums/status.enum.mjs +2 -5
- package/dist/esm2022/wa-server/interfaces/i-wa-server.mjs +1 -1
- package/dist/evolution/enums/index.d.ts +1 -0
- package/dist/evolution/enums/index.js +3 -1
- package/dist/evolution/enums/instance-types.enum.d.ts +8 -0
- package/dist/evolution/enums/instance-types.enum.js +12 -0
- package/dist/fesm2022/cecon-interfaces.mjs +161 -124
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/invoice/entities/invoice-item.entity.d.ts +1 -0
- package/dist/invoice/entities/invoice-item.entity.js +3 -2
- package/dist/invoice/interfaces/i-invoice-item.d.ts +5 -4
- package/dist/package.json +1 -1
- package/dist/wa-server/entities/wa-server.entity.d.ts +0 -1
- package/dist/wa-server/entities/wa-server.entity.js +0 -1
- package/dist/wa-server/enums/status.enum.d.ts +1 -4
- package/dist/wa-server/enums/status.enum.js +1 -4
- package/dist/wa-server/interfaces/i-wa-server.d.ts +0 -1
- package/package.json +1 -1
@@ -6,16 +6,17 @@ var app_type_enum_1 = require("../enums/app-type.enum");
|
|
6
6
|
var header_type_enum_1 = require("../enums/header-type.enum");
|
7
7
|
var mode_enum_1 = require("../enums/mode.enum");
|
8
8
|
var AppEntity = /** @class */ (function () {
|
9
|
-
// #endregion Properties (
|
9
|
+
// #endregion Properties (31)
|
10
10
|
// #region Constructors (1)
|
11
11
|
function AppEntity(data) {
|
12
|
-
// #region Properties (
|
12
|
+
// #region Properties (31)
|
13
13
|
this.active = false;
|
14
14
|
this.activeInstalls = 0;
|
15
15
|
/**
|
16
16
|
* Indica se permite adicionar a assinatura
|
17
17
|
*/
|
18
18
|
this.allowAddSubscription = false;
|
19
|
+
this.allowDefaultDevice = false;
|
19
20
|
this.carousel = [];
|
20
21
|
this.categories = [];
|
21
22
|
this.createdBy = '';
|
@@ -1,10 +1,12 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.RabbitEntity = exports.NatiGoEntity = exports.DesenfilaEntity = exports.AppEntity = void 0;
|
3
|
+
exports.RabbitEntity = exports.NatiGoEntity = exports.NatiWaEntity = exports.DesenfilaEntity = exports.AppEntity = void 0;
|
4
4
|
var app_entity_1 = require("./app.entity");
|
5
5
|
Object.defineProperty(exports, "AppEntity", { enumerable: true, get: function () { return app_entity_1.AppEntity; } });
|
6
6
|
var desenfila_entity_1 = require("./desenfila.entity");
|
7
7
|
Object.defineProperty(exports, "DesenfilaEntity", { enumerable: true, get: function () { return desenfila_entity_1.DesenfilaEntity; } });
|
8
|
+
var nati_wa_entity_1 = require("./nati-wa.entity");
|
9
|
+
Object.defineProperty(exports, "NatiWaEntity", { enumerable: true, get: function () { return nati_wa_entity_1.NatiWaEntity; } });
|
8
10
|
var natigo_entity_1 = require("./natigo.entity");
|
9
11
|
Object.defineProperty(exports, "NatiGoEntity", { enumerable: true, get: function () { return natigo_entity_1.NatiGoEntity; } });
|
10
12
|
var rabbit_entity_1 = require("./rabbit.entity");
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { EEvolutionInstanceType } from '../../evolution';
|
2
|
+
export declare class NatiWaEntity {
|
3
|
+
chatwoot: any;
|
4
|
+
id: string;
|
5
|
+
instanceName: string;
|
6
|
+
number: string;
|
7
|
+
qrcode: boolean;
|
8
|
+
token: string;
|
9
|
+
type: EEvolutionInstanceType;
|
10
|
+
typebot: any;
|
11
|
+
waServerId: string;
|
12
|
+
webhook: any;
|
13
|
+
constructor(data?: Partial<NatiWaEntity>);
|
14
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.NatiWaEntity = void 0;
|
4
|
+
var evolution_1 = require("../../evolution");
|
5
|
+
// #region Interfaces (3)
|
6
|
+
// #endregion Interfaces (3)
|
7
|
+
// #region Classes (1)
|
8
|
+
var NatiWaEntity = /** @class */ (function () {
|
9
|
+
// #endregion Properties (10)
|
10
|
+
// #region Constructors (1)
|
11
|
+
function NatiWaEntity(data) {
|
12
|
+
// #region Properties (10)
|
13
|
+
this.chatwoot = null;
|
14
|
+
this.id = '';
|
15
|
+
this.instanceName = '';
|
16
|
+
this.number = '';
|
17
|
+
this.qrcode = false;
|
18
|
+
this.token = '';
|
19
|
+
this.type = evolution_1.EEvolutionInstanceType.WEBHOOK;
|
20
|
+
this.typebot = null;
|
21
|
+
this.waServerId = '';
|
22
|
+
this.webhook = null;
|
23
|
+
if (data) {
|
24
|
+
for (var key in data) {
|
25
|
+
if (data.hasOwnProperty(key) && key in this) {
|
26
|
+
this[key] = data[key];
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
31
|
+
return NatiWaEntity;
|
32
|
+
}());
|
33
|
+
exports.NatiWaEntity = NatiWaEntity;
|
34
|
+
// #endregion Classes (1)
|
@@ -10,7 +10,7 @@ var EAppMode;
|
|
10
10
|
EAppMode["SAT_MANAGER"] = "SAT-MANAGER";
|
11
11
|
EAppMode["NATI_PDV"] = "NATI-PDV";
|
12
12
|
EAppMode["NATI_PHP"] = "NATI_PHP";
|
13
|
-
EAppMode["
|
13
|
+
EAppMode["NATI_WHATSAPP"] = "NATI_WA";
|
14
14
|
EAppMode["NATI_TYPE_BOT"] = "NATI_TYPE_BOT";
|
15
15
|
EAppMode["NATI_ST"] = "NATI_ST";
|
16
16
|
EAppMode["RABBIT"] = "RABBIT";
|
@@ -0,0 +1,36 @@
|
|
1
|
+
import { EEvolutionEvent, EEvolutionInstanceType } from '../../evolution';
|
2
|
+
export interface INatiWa {
|
3
|
+
type: EEvolutionInstanceType;
|
4
|
+
id: string;
|
5
|
+
waServerId: string;
|
6
|
+
instanceName: string;
|
7
|
+
token: string;
|
8
|
+
qrcode: boolean;
|
9
|
+
number: string;
|
10
|
+
webhook: IWebhook | null;
|
11
|
+
typebot: ITypebot | null;
|
12
|
+
chatwoot: IChatWoot | null;
|
13
|
+
}
|
14
|
+
interface IChatWoot {
|
15
|
+
chatwootAccountId: number;
|
16
|
+
chatwootToken: string;
|
17
|
+
chatwootUrl: string;
|
18
|
+
chatwootSignMsg: boolean;
|
19
|
+
chatwootReopenConversation: boolean;
|
20
|
+
chatwootConversationPending: boolean;
|
21
|
+
}
|
22
|
+
interface IWebhook {
|
23
|
+
webhook: string | null;
|
24
|
+
webhookByEvents: boolean;
|
25
|
+
events: EEvolutionEvent[];
|
26
|
+
}
|
27
|
+
interface ITypebot {
|
28
|
+
typebot: string | null;
|
29
|
+
typebotExpire: number;
|
30
|
+
typebotKeywordFinish: string;
|
31
|
+
typebotDelayMessage: number;
|
32
|
+
typebotUnknownMessage: string;
|
33
|
+
typebotListeningFromMe: boolean;
|
34
|
+
typebotUrl: string | null;
|
35
|
+
}
|
36
|
+
export {};
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { INatigo, IRabbit } from '../interfaces';
|
2
|
-
export type AppConfigType = null | INatigo | IRabbit;
|
1
|
+
import { INatiWa, INatigo, IRabbit } from '../interfaces';
|
2
|
+
export type AppConfigType = null | INatigo | IRabbit | INatiWa;
|
@@ -3,13 +3,14 @@ import { EAppType } from '../enums/app-type.enum';
|
|
3
3
|
import { EAppHeaderType } from '../enums/header-type.enum';
|
4
4
|
import { EAppMode } from '../enums/mode.enum';
|
5
5
|
export class AppEntity {
|
6
|
-
// #region Properties (
|
6
|
+
// #region Properties (31)
|
7
7
|
active = false;
|
8
8
|
activeInstalls = 0;
|
9
9
|
/**
|
10
10
|
* Indica se permite adicionar a assinatura
|
11
11
|
*/
|
12
12
|
allowAddSubscription = false;
|
13
|
+
allowDefaultDevice = false;
|
13
14
|
carousel = [];
|
14
15
|
categories = [];
|
15
16
|
createdBy = '';
|
@@ -53,7 +54,7 @@ export class AppEntity {
|
|
53
54
|
type = EAppType.FREE;
|
54
55
|
versionCode = 1;
|
55
56
|
versionName = '';
|
56
|
-
// #endregion Properties (
|
57
|
+
// #endregion Properties (31)
|
57
58
|
// #region Constructors (1)
|
58
59
|
constructor(data) {
|
59
60
|
if (data) {
|
@@ -65,4 +66,4 @@ export class AppEntity {
|
|
65
66
|
}
|
66
67
|
}
|
67
68
|
}
|
68
|
-
//# sourceMappingURL=data:application/json;base64,
|
69
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4u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ICBwdWJsaWMgcGxhdGZvcm1zOiBFUGxhdGZvcm1bXSA9IFtdO1xuICBwdWJsaWMgcHJpY2U6IG51bWJlciA9IDA7XG4gIHB1YmxpYyBwcm9kdWN0aW9uOiBib29sZWFuID0gZmFsc2U7XG4gIHB1YmxpYyByYXRpbmdzOiBSYXRpbmdFbnRpdHlbXSA9IFtdO1xuICBwdWJsaWMgdGFnczogc3RyaW5nW10gPSBbXTtcbiAgcHVibGljIHRvdGFsSW5zdGFsbHM6IG51bWJlciA9IDA7XG4gIHB1YmxpYyB0cmlhbFRpbWUgPSAwO1xuICBwdWJsaWMgdHlwZTogRUFwcFR5cGUgPSBFQXBwVHlwZS5GUkVFO1xuICBwdWJsaWMgdmVyc2lvbkNvZGU6IG51bWJlciA9IDE7XG4gIHB1YmxpYyB2ZXJzaW9uTmFtZTogc3RyaW5nID0gJyc7XG5cbiAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICgzMSlcblxuICAvLyAjcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcblxuICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxBcHBFbnRpdHk+KSB7XG4gICAgaWYgKGRhdGEpIHtcbiAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcbiAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn1cbiJdfQ==
|
@@ -1,5 +1,6 @@
|
|
1
1
|
export { AppEntity } from './app.entity';
|
2
2
|
export { DesenfilaEntity } from './desenfila.entity';
|
3
|
+
export { NatiWaEntity } from './nati-wa.entity';
|
3
4
|
export { NatiGoEntity } from './natigo.entity';
|
4
5
|
export { RabbitEntity } from './rabbit.entity';
|
5
|
-
//# sourceMappingURL=data:application/json;base64,
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvYXBwL2VudGl0aWVzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFDekMsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQ3JELE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUNoRCxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgQXBwRW50aXR5IH0gZnJvbSAnLi9hcHAuZW50aXR5JztcbmV4cG9ydCB7IERlc2VuZmlsYUVudGl0eSB9IGZyb20gJy4vZGVzZW5maWxhLmVudGl0eSc7XG5leHBvcnQgeyBOYXRpV2FFbnRpdHkgfSBmcm9tICcuL25hdGktd2EuZW50aXR5JztcbmV4cG9ydCB7IE5hdGlHb0VudGl0eSB9IGZyb20gJy4vbmF0aWdvLmVudGl0eSc7XG5leHBvcnQgeyBSYWJiaXRFbnRpdHkgfSBmcm9tICcuL3JhYmJpdC5lbnRpdHknO1xuIl19
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import { EEvolutionInstanceType } from '../../evolution';
|
2
|
+
// #region Interfaces (3)
|
3
|
+
// #endregion Interfaces (3)
|
4
|
+
// #region Classes (1)
|
5
|
+
export class NatiWaEntity {
|
6
|
+
// #region Properties (10)
|
7
|
+
chatwoot = null;
|
8
|
+
id = '';
|
9
|
+
instanceName = '';
|
10
|
+
number = '';
|
11
|
+
qrcode = false;
|
12
|
+
token = '';
|
13
|
+
type = EEvolutionInstanceType.WEBHOOK;
|
14
|
+
typebot = null;
|
15
|
+
waServerId = '';
|
16
|
+
webhook = null;
|
17
|
+
// #endregion Properties (10)
|
18
|
+
// #region Constructors (1)
|
19
|
+
constructor(data) {
|
20
|
+
if (data) {
|
21
|
+
for (let key in data) {
|
22
|
+
if (data.hasOwnProperty(key) && key in this) {
|
23
|
+
this[key] = data[key];
|
24
|
+
}
|
25
|
+
}
|
26
|
+
}
|
27
|
+
}
|
28
|
+
}
|
29
|
+
// #endregion Classes (1)
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF0aS13YS5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvYXBwL2VudGl0aWVzL25hdGktd2EuZW50aXR5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBRXpELHlCQUF5QjtBQUV6Qiw0QkFBNEI7QUFFNUIsc0JBQXNCO0FBRXRCLE1BQU0sT0FBTyxZQUFZO0lBQ3ZCLDBCQUEwQjtJQUVuQixRQUFRLEdBQUcsSUFBSSxDQUFDO0lBQ2hCLEVBQUUsR0FBVyxFQUFFLENBQUM7SUFDaEIsWUFBWSxHQUFXLEVBQUUsQ0FBQztJQUMxQixNQUFNLEdBQVcsRUFBRSxDQUFDO0lBQ3BCLE1BQU0sR0FBWSxLQUFLLENBQUM7SUFDeEIsS0FBSyxHQUFXLEVBQUUsQ0FBQztJQUNuQixJQUFJLEdBQTJCLHNCQUFzQixDQUFDLE9BQU8sQ0FBQztJQUM5RCxPQUFPLEdBQUcsSUFBSSxDQUFDO0lBQ2YsVUFBVSxHQUFXLEVBQUUsQ0FBQztJQUN4Qix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saWMgd2FTZXJ2ZXJJZDogc3RyaW5nID0gJyc7XG4gIHB1YmxpYyB3ZWJob29rID0gbnVsbDtcblxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDEwKVxuXG4gIC8vICNyZWdpb24gQ29uc3RydWN0b3JzICgxKVxuXG4gIGNvbnN0cnVjdG9yKGRhdGE/OiBQYXJ0aWFsPE5hdGlXYUVudGl0eT4pIHtcbiAgICBpZiAoZGF0YSkge1xuICAgICAgZm9yIChsZXQga2V5IGluIGRhdGEpIHtcbiAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xuICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfVxuXG4gIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxufVxuXG4vLyAjZW5kcmVnaW9uIENsYXNzZXMgKDEpXG4iXX0=
|
@@ -7,7 +7,7 @@ export var EAppMode;
|
|
7
7
|
EAppMode["SAT_MANAGER"] = "SAT-MANAGER";
|
8
8
|
EAppMode["NATI_PDV"] = "NATI-PDV";
|
9
9
|
EAppMode["NATI_PHP"] = "NATI_PHP";
|
10
|
-
EAppMode["
|
10
|
+
EAppMode["NATI_WHATSAPP"] = "NATI_WA";
|
11
11
|
EAppMode["NATI_TYPE_BOT"] = "NATI_TYPE_BOT";
|
12
12
|
EAppMode["NATI_ST"] = "NATI_ST";
|
13
13
|
EAppMode["RABBIT"] = "RABBIT";
|
@@ -16,4 +16,4 @@ export var EAppMode;
|
|
16
16
|
EAppMode["DESENFILA"] = "DESENFILA";
|
17
17
|
EAppMode["NONE"] = "NONE";
|
18
18
|
})(EAppMode || (EAppMode = {}));
|
19
|
-
//# sourceMappingURL=data:application/json;base64,
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWx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OQVRJX1NUJyxcclxuICBSQUJCSVQgPSAnUkFCQklUJyxcclxuICBGSVNDQUxfTUFOQUdFUiA9ICdGSVNDQUwtTUFOQUdFUicsXHJcbiAgTkFUSV9TSUdOID0gJ05BVEktU0lHTicsXHJcbiAgREVTRU5GSUxBID0gJ0RFU0VORklMQScsXHJcbiAgTk9ORSA9ICdOT05FJyxcclxufVxyXG4iXX0=
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1hcHAuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvYXBwL2ludGVyZmFjZXMvaS1hcHAudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEVJbnRlcnZhbFR5cGUsIElDYXJvdXNlbEltYWdlLCBJUmF0aW5nIH0gZnJvbSAnLi4vLi4vZ2VuZXJhbCc7XG5pbXBvcnQgeyBFT3MgfSBmcm9tICcuLi8uLi9nZW5lcmFsL2VudW1zL29zLmVudW0nO1xuaW1wb3J0IHsgRVBsYXRmb3JtIH0gZnJvbSAnLi4vLi4vZ2VuZXJhbC9lbnVtcy9wbGF0Zm9ybS5lbnVtJztcbmltcG9ydCB7IEVBcHBNb2RlIH0gZnJvbSAnLi4vZW51bXMnO1xuaW1wb3J0IHsgRUFwcENhdGVnb3J5IH0gZnJvbSAnLi4vZW51bXMvYXBwLWNhdGVnb3J5LmVudW0nO1xuaW1wb3J0IHsgRUFwcFR5cGUgfSBmcm9tICcuLi9lbnVtcy9hcHAtdHlwZS5lbnVtJztcbmltcG9ydCB7IEVBcHBIZWFkZXJUeXBlIH0gZnJvbSAnLi4vZW51bXMvaGVhZGVyLXR5cGUuZW51bSc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgSUFwc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c3RyaW5nO1xuICBpbnN0YW5jZU5hbWU6IHN0cmluZztcbiAgdG9rZW46IHN0cmluZztcbiAgcXJjb2RlOiBib29sZWFuO1xuICBudW1iZXI6IHN0cmluZztcbiAgd2ViaG9vazogSVdlYmhvb2sgfCBudWxsO1xuICB0eXBlYm90OiBJVHlwZWJvdCB8IG51bGw7XG4gIGNoYXR3b290OiBJQ2hhdFdvb3QgfCBudWxsO1xufVxuXG5pbnRlcmZhY2UgSUNoYXRXb290IHtcbiAgY2hhdHdvb3RBY2NvdW50SWQ6IG51bWJlcjtcbiAgY2hhdHdvb3RUb2tlbjogc3RyaW5nO1xuICBjaGF0d29vdFVybDogc3RyaW5nO1xuICBjaGF0d29vdFNpZ25Nc2c6IGJvb2xlYW47XG4gIGNoYXR3b290UmVvcGVuQ29udmVyc2F0aW9uOiBib29sZWFuO1xuICBjaGF0d29vdENvbnZlcnNhdGlvblBlbmRpbmc6IGJvb2xlYW47XG59XG5pbnRlcmZhY2UgSVdlYmhvb2sge1xuICB3ZWJob29rOiBzdHJpbmcgfCBudWxsO1xuICB3ZWJob29rQnlFdmVudHM6IGJvb2xlYW47XG4gIGV2ZW50czogRUV2b2x1dGlvbkV2ZW50W107XG59XG5pbnRlcmZhY2UgSVR5cGVib3Qge1xuICB0eXBlYm90OiBzdHJpbmcgfCBudWxsO1xuICB0eXBlYm90RXhwaXJlOiBudW1iZXI7XG4gIHR5cGVib3RLZXl3b3JkRmluaXNoOiBzdHJpbmc7XG4gIHR5cGVib3REZWxheU1lc3NhZ2U6IG51bWJlcjtcbiAgdHlwZWJvdFVua25vd25NZXNzYWdlOiBzdHJpbmc7XG4gIHR5cGVib3RMaXN0ZW5pbmdGcm9tTWU6IGJvb2xlYW47XG4gIHR5cGVib3RVcmw6IHN0cmluZyB8IG51bGw7XG59XG4iXX0=
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvYXBwL2ludGVyZmFjZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IElBcHAgfSBmcm9tICcuL2ktYXBwJztcbmV4cG9ydCB7IElEZXNlbmZpbGEgfSBmcm9tICcuL2ktZGVzZW5maWxhJztcbmV4cG9ydCB7IElOYXRpV2EgfSBmcm9tICcuL2ktbmF0aS13YSc7XG5leHBvcnQgeyBJTmF0aWdvIH0gZnJvbSAnLi9pLW5hdGlnbyc7XG5leHBvcnQgeyBJUmFiYml0IH0gZnJvbSAnLi9pLXJhYmJpdCc7XG4iXX0=
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLWNvbmZpZy50eXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2FwcC90eXBlcy9hcHAtY29uZmlnLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElOYXRpV2EsIElOYXRpZ28sIElSYWJiaXQgfSBmcm9tICcuLi9pbnRlcmZhY2VzJztcblxuZXhwb3J0IHR5cGUgQXBwQ29uZmlnVHlwZSA9IG51bGwgfCBJTmF0aWdvIHwgSVJhYmJpdCB8IElOYXRpV2E7XG4iXX0=
|
@@ -1,2 +1,3 @@
|
|
1
1
|
export { EEvolutionEvent } from './events.enum';
|
2
|
-
|
2
|
+
export { EEvolutionInstanceType } from './instance-types.enum';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZXZvbHV0aW9uL2VudW1zL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDaEQsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0sdUJBQXVCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBFRXZvbHV0aW9uRXZlbnQgfSBmcm9tICcuL2V2ZW50cy5lbnVtJztcclxuZXhwb3J0IHsgRUV2b2x1dGlvbkluc3RhbmNlVHlwZSB9IGZyb20gJy4vaW5zdGFuY2UtdHlwZXMuZW51bSc7XHJcbiJdfQ==
|
@@ -0,0 +1,10 @@
|
|
1
|
+
export var EEvolutionInstanceType;
|
2
|
+
(function (EEvolutionInstanceType) {
|
3
|
+
EEvolutionInstanceType["WEBHOOK"] = "WEBHOOK";
|
4
|
+
EEvolutionInstanceType["CHATWOOT"] = "CHATWOOT";
|
5
|
+
EEvolutionInstanceType["TYPE_BOOT"] = "TYPE_BOOT";
|
6
|
+
EEvolutionInstanceType["BASIC"] = "BASIC";
|
7
|
+
EEvolutionInstanceType["WEBSOCKET"] = "WEBSOCKET";
|
8
|
+
EEvolutionInstanceType["RABBIT_MQ"] = "RABBIT_MQ";
|
9
|
+
})(EEvolutionInstanceType || (EEvolutionInstanceType = {}));
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5zdGFuY2UtdHlwZXMuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9ldm9sdXRpb24vZW51bXMvaW5zdGFuY2UtdHlwZXMuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSxzQkFPWDtBQVBELFdBQVksc0JBQXNCO0lBQ2hDLDZDQUFtQixDQUFBO0lBQ25CLCtDQUFxQixDQUFBO0lBQ3JCLGlEQUF1QixDQUFBO0lBQ3ZCLHlDQUFlLENBQUE7SUFDZixpREFBdUIsQ0FBQTtJQUN2QixpREFBdUIsQ0FBQTtBQUN6QixDQUFDLEVBUFcsc0JBQXNCLEtBQXRCLHNCQUFzQixRQU9qQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIEVFdm9sdXRpb25JbnN0YW5jZVR5cGUge1xyXG4gIFdFQkhPT0sgPSAnV0VCSE9PSycsXHJcbiAgQ0hBVFdPT1QgPSAnQ0hBVFdPT1QnLFxyXG4gIFRZUEVfQk9PVCA9ICdUWVBFX0JPT1QnLFxyXG4gIEJBU0lDID0gJ0JBU0lDJyxcclxuICBXRUJTT0NLRVQgPSAnV0VCU09DS0VUJyxcclxuICBSQUJCSVRfTVEgPSAnUkFCQklUX01RJyxcclxufVxyXG4iXX0=
|
@@ -1,5 +1,6 @@
|
|
1
1
|
export class InvoiceItemEntity {
|
2
|
-
// #region Properties (
|
2
|
+
// #region Properties (9)
|
3
|
+
companyId = '';
|
3
4
|
createdAt = new Date();
|
4
5
|
description = '';
|
5
6
|
isRefunded = false;
|
@@ -8,7 +9,7 @@ export class InvoiceItemEntity {
|
|
8
9
|
totalPrice = 0;
|
9
10
|
unitPrice = 0;
|
10
11
|
updatedAt = new Date();
|
11
|
-
// #endregion Properties (
|
12
|
+
// #endregion Properties (9)
|
12
13
|
// #region Constructors (1)
|
13
14
|
constructor(data) {
|
14
15
|
if (data) {
|
@@ -20,4 +21,4 @@ export class InvoiceItemEntity {
|
|
20
21
|
}
|
21
22
|
}
|
22
23
|
}
|
23
|
-
//# sourceMappingURL=data:application/json;base64,
|
24
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW52b2ljZS1pdGVtLmVudG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Ly8gI3JlZ2lvbiBQcm9wZXJ0aWVzICg5KVxuXG4gIHB1YmxpYyBjb21wYW55SWQ6IHN0cmluZyA9ICcnO1xuICBwdWJsaWMgY3JlYXRlZEF0OiBEYXRlID0gbmV3IERhdGUoKTtcbiAgcHVibGljIGRlc2NyaXB0aW9uOiBzdHJpbmcgPSAnJztcbiAgcHVibGljIGlzUmVmdW5kZWQ6IGJvb2xlYW4gPSBmYWxzZTtcbiAgcHVibGljIHF1YW50aXR5OiBudW1iZXIgPSAxO1xuICBwdWJsaWMgcmVmZXJlbmNlOiBzdHJpbmcgfCBudWxsID0gJyc7XG4gIHB1YmxpYyB0b3RhbFByaWNlOiBudW1iZXIgPSAwO1xuICBwdWJsaWMgdW5pdFByaWNlOiBudW1iZXIgPSAwO1xuICBwdWJsaWMgdXBkYXRlZEF0OiBEYXRlID0gbmV3IERhdGUoKTtcblxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDkpXG5cbiAgLy8gI3JlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG5cbiAgY29uc3RydWN0b3IoZGF0YT86IFBhcnRpYWw8SW52b2ljZUl0ZW1FbnRpdHk+KSB7XG4gICAgaWYgKGRhdGEpIHtcbiAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcbiAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn1cbiJdfQ==
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1pbnZvaWNlLWl0ZW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvaW52b2ljZS9pbnRlcmZhY2VzL2ktaW52b2ljZS1pdGVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIElJbnZvaWNlSXRlbSB7XG4gIC8vICNyZWdpb24gUHJvcGVydGllcyAoOSlcblxuICBjb21wYW55SWQ6IHN0cmluZztcbiAgY3JlYXRlZEF0OiBEYXRlO1xuICBkZXNjcmlwdGlvbjogc3RyaW5nO1xuICBpc1JlZnVuZGVkOiBib29sZWFuO1xuICBxdWFudGl0eTogbnVtYmVyO1xuICByZWZlcmVuY2U6IHN0cmluZyB8IG51bGw7XG4gIHRvdGFsUHJpY2U6IG51bWJlcjtcbiAgdW5pdFByaWNlOiBudW1iZXI7XG4gIHVwZGF0ZWRBdDogRGF0ZTtcblxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDkpXG59XG4iXX0=
|
@@ -6,7 +6,6 @@ export class WaServerEntity {
|
|
6
6
|
createdAt = new Date();
|
7
7
|
globalApiKey = '';
|
8
8
|
id = '';
|
9
|
-
installIds = [];
|
10
9
|
name = '';
|
11
10
|
tags = [];
|
12
11
|
sessions = 0;
|
@@ -23,4 +22,4 @@ export class WaServerEntity {
|
|
23
22
|
}
|
24
23
|
}
|
25
24
|
}
|
26
|
-
//# sourceMappingURL=data:application/json;base64,
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2Etc2VydmVyLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy93YS1zZXJ2ZXIvZW50aXRpZXMvd2Etc2VydmVyLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQU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ExKVxuXG4gIHB1YmxpYyBhY3RpdmU6IGJvb2xlYW4gPSBmYWxzZTtcbiAgcHVibGljIGJhc2VVcmw6IHN0cmluZyA9ICcnO1xuICBwdWJsaWMgY3JlYXRlZEF0OiBEYXRlID0gbmV3IERhdGUoKTtcbiAgcHVibGljIGdsb2JhbEFwaUtleTogc3RyaW5nID0gJyc7XG4gIHB1YmxpYyBpZDogc3RyaW5nID0gJyc7XG4gIHB1YmxpYyBuYW1lOiBzdHJpbmcgPSAnJztcbiAgcHVibGljIHRhZ3M6IHN0cmluZ1tdID0gW107XG4gIHB1YmxpYyBzZXNzaW9uczogbnVtYmVyID0gMDtcbiAgcHVibGljIHN0YWNrOiBzdHJpbmcgPSAnJztcbiAgcHVibGljIHN0YXR1czogRVdhU2VydmVyU3RhdHVzID0gRVdhU2VydmVyU3RhdHVzLlNUT1BQRUQ7XG4gIHB1YmxpYyB1cGRhdGVkQXQ6IERhdGUgPSBuZXcgRGF0ZSgpO1xuXG4gIGNvbnN0cnVjdG9yKGRhdGE/OiBQYXJ0aWFsPFdhU2VydmVyRW50aXR5Pikge1xuICAgIGlmIChkYXRhKSB7XG4gICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xuICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XG4gICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuICB9XG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMTEpXG59XG4iXX0=
|
@@ -1,10 +1,7 @@
|
|
1
1
|
export var EWaServerStatus;
|
2
2
|
(function (EWaServerStatus) {
|
3
|
-
EWaServerStatus["CONNECTED"] = "CONNECTED";
|
4
|
-
EWaServerStatus["DISCONNECTED"] = "DISCONNECTED";
|
5
|
-
EWaServerStatus["RECONNECTING"] = "RECONNECTING";
|
6
3
|
EWaServerStatus["RUNNING"] = "RUNNING";
|
7
4
|
EWaServerStatus["STOPPED"] = "STOPPED";
|
8
|
-
EWaServerStatus["
|
5
|
+
EWaServerStatus["FULL"] = "FULL";
|
9
6
|
})(EWaServerStatus || (EWaServerStatus = {}));
|
10
|
-
//# sourceMappingURL=data:application/json;base64,
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhdHVzLmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvd2Etc2VydmVyL2VudW1zL3N0YXR1cy5lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLGVBSVg7QUFKRCxXQUFZLGVBQWU7SUFDekIsc0NBQW1CLENBQUE7SUFDbkIsc0NBQW1CLENBQUE7SUFDbkIsZ0NBQWEsQ0FBQTtBQUNmLENBQUMsRUFKVyxlQUFlLEtBQWYsZUFBZSxRQUkxQiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIEVXYVNlcnZlclN0YXR1cyB7XHJcbiAgUlVOTklORyA9ICdSVU5OSU5HJyxcclxuICBTVE9QUEVEID0gJ1NUT1BQRUQnLFxyXG4gIEZVTEwgPSAnRlVMTCcsXHJcbn1cclxuIl19
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS13YS1zZXJ2ZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvd2Etc2VydmVyL2ludGVyZmFjZXMvaS13YS1zZXJ2ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEVXYVNlcnZlclN0YXR1cyB9IGZyb20gJy4uL2VudW1zJztcblxuZXhwb3J0IGludGVyZmFjZSBJV2FTZXJ2ZXIge1xuICBhY3RpdmU6IGJvb2xlYW47XG4gIG5hbWU6IHN0cmluZztcbiAgY3JlYXRlZEF0OiBEYXRlO1xuICB1cGRhdGVkQXQ6IERhdGU7XG4gIHN0YWNrOiBzdHJpbmc7XG4gIHN0YXR1czogRVdhU2VydmVyU3RhdHVzO1xuICBpZDogc3RyaW5nO1xuICB0YWdzOiBzdHJpbmdbXTtcbiAgYmFzZVVybDogc3RyaW5nO1xuICBnbG9iYWxBcGlLZXk6IHN0cmluZztcbiAgc2Vzc2lvbnM6IG51bWJlcjtcbn1cbiJdfQ==
|
@@ -1,5 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.EEvolutionEvent = void 0;
|
3
|
+
exports.EEvolutionInstanceType = exports.EEvolutionEvent = void 0;
|
4
4
|
var events_enum_1 = require("./events.enum");
|
5
5
|
Object.defineProperty(exports, "EEvolutionEvent", { enumerable: true, get: function () { return events_enum_1.EEvolutionEvent; } });
|
6
|
+
var instance_types_enum_1 = require("./instance-types.enum");
|
7
|
+
Object.defineProperty(exports, "EEvolutionInstanceType", { enumerable: true, get: function () { return instance_types_enum_1.EEvolutionInstanceType; } });
|
@@ -0,0 +1,12 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EEvolutionInstanceType = void 0;
|
4
|
+
var EEvolutionInstanceType;
|
5
|
+
(function (EEvolutionInstanceType) {
|
6
|
+
EEvolutionInstanceType["WEBHOOK"] = "WEBHOOK";
|
7
|
+
EEvolutionInstanceType["CHATWOOT"] = "CHATWOOT";
|
8
|
+
EEvolutionInstanceType["TYPE_BOOT"] = "TYPE_BOOT";
|
9
|
+
EEvolutionInstanceType["BASIC"] = "BASIC";
|
10
|
+
EEvolutionInstanceType["WEBSOCKET"] = "WEBSOCKET";
|
11
|
+
EEvolutionInstanceType["RABBIT_MQ"] = "RABBIT_MQ";
|
12
|
+
})(EEvolutionInstanceType || (exports.EEvolutionInstanceType = EEvolutionInstanceType = {}));
|