cecon-interfaces 1.2.13 → 1.2.15
Sign up to get free protection for your applications and to get access to all the features.
- 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-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/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-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/wa-server/entities/wa-server.entity.mjs +2 -1
- 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 +155 -115
- 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 +1 -0
- package/dist/wa-server/entities/wa-server.entity.js +1 -0
- package/dist/wa-server/interfaces/i-wa-server.d.ts +1 -0
- package/package.json +1 -1
@@ -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;
|
@@ -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
|
+
//#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ykge1xuICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfVxuXG4gIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxufVxuXG4vLyAjZW5kcmVnaW9uIENsYXNzZXMgKDEpXG4iXX0=
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kZS5lbnVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2FwcC9lbnVtcy9tb2RlLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksUUFnQlg7QUFoQkQsV0FBWSxRQUFRO0lBQ2xCLHVCQUFXLENBQUE7SUFDWCxpQ0FBcUIsQ0FBQTtJQUNyQiw2QkFBaUIsQ0FBQTtJQUNqQiw4QkFBa0IsQ0FBQTtJQUNsQix1Q0FBMkIsQ0FBQTtJQUMzQixpQ0FBcUIsQ0FBQTtJQU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Vib3Qge1xuICB0eXBlYm90OiBzdHJpbmcgfCBudWxsO1xuICB0eXBlYm90RXhwaXJlOiBudW1iZXI7XG4gIHR5cGVib3RLZXl3b3JkRmluaXNoOiBzdHJpbmc7XG4gIHR5cGVib3REZWxheU1lc3NhZ2U6IG51bWJlcjtcbiAgdHlwZWJvdFVua25vd25NZXNzYWdlOiBzdHJpbmc7XG4gIHR5cGVib3RMaXN0ZW5pbmdGcm9tTWU6IGJvb2xlYW47XG4gIHR5cGVib3RVcmw6IHN0cmluZyB8IG51bGw7XG59XG4iXX0=
|
@@ -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=
|
@@ -8,6 +8,7 @@ export class WaServerEntity {
|
|
8
8
|
id = '';
|
9
9
|
installIds = [];
|
10
10
|
name = '';
|
11
|
+
tags = [];
|
11
12
|
sessions = 0;
|
12
13
|
stack = '';
|
13
14
|
status = EWaServerStatus.STOPPED;
|
@@ -22,4 +23,4 @@ export class WaServerEntity {
|
|
22
23
|
}
|
23
24
|
}
|
24
25
|
}
|
25
|
-
//# sourceMappingURL=data:application/json;base64,
|
26
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2Etc2VydmVyLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy93YS1zZXJ2ZXIvZW50aXRpZXMvd2Etc2VydmVyLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sVUFBVSxDQUFDO0FBRzNDLE1BQU0sT0FBTyxjQUFjO0lBQ3pCLDBCQUEwQjtJQUVuQixNQUFNLEdBQVksS0FBSyxDQUFDO0lBQ3hCLE9BQU8sR0FBVyxFQUFFLENBQUM7SUFDckIsU0FBUyxHQUFTLElBQUksSUFBSSxFQUFFLENBQUM7SUFDN0IsWUFBWSxHQUFXLEVBQUUsQ0FBQztJQUMxQixFQUFFLEdBQVcsRUFBRSxDQUFDO0lBQ2hCLFVBQVUsR0FBYSxFQUFFLENBQUM7SUFDMUIsSUFBSSxHQUFXLEVBQUUsQ0FBQztJQUNsQixJQUFJLEdBQWEsRUFBRSxDQUFDO0lBQ3BCLFFBQVEsR0FBVyxDQUFDLENBQUM7SUFDckIsS0FBSyxHQUFXLEVBQUUsQ0FBQztJQUNuQixNQUFNLEdBQW9CLGVBQWUsQ0FBQyxPQUFPLENBQUM7SUFDbEQsU0FBUyxHQUFTLElBQUksSUFBSSxFQUFFLENBQUM7SUFFcEMsWUFBWSxJQUE4QjtRQUN4QyxJQUFJLElBQUksRUFBRTtZQUNSLEtBQUssSUFBSSxHQUFHLElBQUksSUFBSSxFQUFFO2dCQUNwQixJQUFJLElBQUksQ0FBQyxjQUFjLENBQUMsR0F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XRhKSB7XG4gICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xuICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XG4gICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuICB9XG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMTEpXG59XG4iXX0=
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS13YS1zZXJ2ZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvd2Etc2VydmVyL2ludGVyZmFjZXMvaS13YS1zZXJ2ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEVXYVNlcnZlclN0YXR1cyB9IGZyb20gJy4uL2VudW1zJztcblxuZXhwb3J0IGludGVyZmFjZSBJV2FTZXJ2ZXIge1xuICBhY3RpdmU6IGJvb2xlYW47XG4gIG5hbWU6IHN0cmluZztcbiAgY3JlYXRlZEF0OiBEYXRlO1xuICB1cGRhdGVkQXQ6IERhdGU7XG4gIHN0YWNrOiBzdHJpbmc7XG4gIHN0YXR1czogRVdhU2VydmVyU3RhdHVzO1xuICBpZDogc3RyaW5nO1xuICB0YWdzOiBzdHJpbmdbXTtcbiAgYmFzZVVybDogc3RyaW5nO1xuICBnbG9iYWxBcGlLZXk6IHN0cmluZztcbiAgc2Vzc2lvbnM6IG51bWJlcjtcbiAgaW5zdGFsbElkczogc3RyaW5nW107XG59XG4iXX0=
|
@@ -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 = {}));
|
@@ -660,7 +660,7 @@ var EAppMode;
|
|
660
660
|
EAppMode["SAT_MANAGER"] = "SAT-MANAGER";
|
661
661
|
EAppMode["NATI_PDV"] = "NATI-PDV";
|
662
662
|
EAppMode["NATI_PHP"] = "NATI_PHP";
|
663
|
-
EAppMode["
|
663
|
+
EAppMode["NATI_WHATSAPP"] = "NATI_WA";
|
664
664
|
EAppMode["NATI_TYPE_BOT"] = "NATI_TYPE_BOT";
|
665
665
|
EAppMode["NATI_ST"] = "NATI_ST";
|
666
666
|
EAppMode["RABBIT"] = "RABBIT";
|
@@ -752,6 +752,158 @@ class DesenfilaEntity {
|
|
752
752
|
}
|
753
753
|
}
|
754
754
|
|
755
|
+
class EvolutionChatWootEntity {
|
756
|
+
// #region Properties (7)
|
757
|
+
accountId = '';
|
758
|
+
enabled = false;
|
759
|
+
nameInbox = '';
|
760
|
+
signMsg = false;
|
761
|
+
token = '';
|
762
|
+
url = '';
|
763
|
+
webhookUrl = '';
|
764
|
+
constructor(data) {
|
765
|
+
if (data) {
|
766
|
+
for (let key in data) {
|
767
|
+
if (data.hasOwnProperty(key) && key in this) {
|
768
|
+
this[key] = data[key];
|
769
|
+
}
|
770
|
+
}
|
771
|
+
}
|
772
|
+
}
|
773
|
+
}
|
774
|
+
|
775
|
+
class EvolutionHashEntity {
|
776
|
+
// #region Properties (1)
|
777
|
+
apikey = '';
|
778
|
+
// #endregion Properties (1)
|
779
|
+
// #region Constructors (1)
|
780
|
+
constructor(data) {
|
781
|
+
if (data) {
|
782
|
+
for (let key in data) {
|
783
|
+
if (data.hasOwnProperty(key) && key in this) {
|
784
|
+
this[key] = data[key];
|
785
|
+
}
|
786
|
+
}
|
787
|
+
}
|
788
|
+
}
|
789
|
+
}
|
790
|
+
|
791
|
+
class EvolutionInstanceEntity {
|
792
|
+
// #region Properties (2)
|
793
|
+
instanceName = '';
|
794
|
+
status = '';
|
795
|
+
// #endregion Properties (2)
|
796
|
+
// #region Constructors (1)
|
797
|
+
constructor(data) {
|
798
|
+
if (data) {
|
799
|
+
for (let key in data) {
|
800
|
+
if (data.hasOwnProperty(key) && key in this) {
|
801
|
+
this[key] = data[key];
|
802
|
+
}
|
803
|
+
}
|
804
|
+
}
|
805
|
+
}
|
806
|
+
}
|
807
|
+
|
808
|
+
class EvolutionQrcodeEntity {
|
809
|
+
// #region Properties (2)
|
810
|
+
base64 = null;
|
811
|
+
code = null;
|
812
|
+
// #endregion Properties (2)
|
813
|
+
// #region Constructors (1)
|
814
|
+
constructor(data) {
|
815
|
+
if (data) {
|
816
|
+
for (let key in data) {
|
817
|
+
if (data.hasOwnProperty(key) && key in this) {
|
818
|
+
this[key] = data[key];
|
819
|
+
}
|
820
|
+
}
|
821
|
+
}
|
822
|
+
}
|
823
|
+
}
|
824
|
+
|
825
|
+
class EvolutionEntity {
|
826
|
+
// #region Properties (6)
|
827
|
+
chatwoot = null;
|
828
|
+
events = [];
|
829
|
+
hash = new EvolutionHashEntity();
|
830
|
+
instance = new EvolutionInstanceEntity();
|
831
|
+
qrcode = new EvolutionQrcodeEntity();
|
832
|
+
webhook = '';
|
833
|
+
constructor(data) {
|
834
|
+
if (data) {
|
835
|
+
for (let key in data) {
|
836
|
+
if (data.hasOwnProperty(key) && key in this) {
|
837
|
+
this[key] = data[key];
|
838
|
+
}
|
839
|
+
}
|
840
|
+
}
|
841
|
+
}
|
842
|
+
}
|
843
|
+
|
844
|
+
var EEvolutionEvent;
|
845
|
+
(function (EEvolutionEvent) {
|
846
|
+
EEvolutionEvent["APPLICATION_STARTUP"] = "APPLICATION_STARTUP";
|
847
|
+
EEvolutionEvent["QRCODE_UPDATED"] = "QRCODE_UPDATED";
|
848
|
+
EEvolutionEvent["MESSAGES_SET"] = "MESSAGES_SET";
|
849
|
+
EEvolutionEvent["MESSAGES_UPSERT"] = "MESSAGES_UPSERT";
|
850
|
+
EEvolutionEvent["MESSAGES_UPDATE"] = "MESSAGES_UPDATE";
|
851
|
+
EEvolutionEvent["MESSAGES_DELETE"] = "MESSAGES_DELETE";
|
852
|
+
EEvolutionEvent["SEND_MESSAGE"] = "SEND_MESSAGE";
|
853
|
+
EEvolutionEvent["CONTACTS_SET"] = "CONTACTS_SET";
|
854
|
+
EEvolutionEvent["CONTACTS_UPSERT"] = "CONTACTS_UPSERT";
|
855
|
+
EEvolutionEvent["CONTACTS_UPDATE"] = "CONTACTS_UPDATE";
|
856
|
+
EEvolutionEvent["PRESENCE_UPDATE"] = "PRESENCE_UPDATE";
|
857
|
+
EEvolutionEvent["CHATS_SET"] = "CHATS_SET";
|
858
|
+
EEvolutionEvent["CHATS_UPSERT"] = "CHATS_UPSERT";
|
859
|
+
EEvolutionEvent["CHATS_UPDATE"] = "CHATS_UPDATE";
|
860
|
+
EEvolutionEvent["CHATS_DELETE"] = "CHATS_DELETE";
|
861
|
+
EEvolutionEvent["GROUPS_UPSERT"] = "GROUPS_UPSERT";
|
862
|
+
EEvolutionEvent["GROUP_UPDATE"] = "GROUP_UPDATE";
|
863
|
+
EEvolutionEvent["GROUP_PARTICIPANTS_UPDATE"] = "GROUP_PARTICIPANTS_UPDATE";
|
864
|
+
EEvolutionEvent["CONNECTION_UPDATE"] = "CONNECTION_UPDATE";
|
865
|
+
EEvolutionEvent["NEW_JWT_TOKE"] = "NEW_JWT_TOKE";
|
866
|
+
})(EEvolutionEvent || (EEvolutionEvent = {}));
|
867
|
+
|
868
|
+
var EEvolutionInstanceType;
|
869
|
+
(function (EEvolutionInstanceType) {
|
870
|
+
EEvolutionInstanceType["WEBHOOK"] = "WEBHOOK";
|
871
|
+
EEvolutionInstanceType["CHATWOOT"] = "CHATWOOT";
|
872
|
+
EEvolutionInstanceType["TYPE_BOOT"] = "TYPE_BOOT";
|
873
|
+
EEvolutionInstanceType["BASIC"] = "BASIC";
|
874
|
+
EEvolutionInstanceType["WEBSOCKET"] = "WEBSOCKET";
|
875
|
+
EEvolutionInstanceType["RABBIT_MQ"] = "RABBIT_MQ";
|
876
|
+
})(EEvolutionInstanceType || (EEvolutionInstanceType = {}));
|
877
|
+
|
878
|
+
// #region Interfaces (3)
|
879
|
+
// #endregion Interfaces (3)
|
880
|
+
// #region Classes (1)
|
881
|
+
class NatiWaEntity {
|
882
|
+
// #region Properties (10)
|
883
|
+
chatwoot = null;
|
884
|
+
id = '';
|
885
|
+
instanceName = '';
|
886
|
+
number = '';
|
887
|
+
qrcode = false;
|
888
|
+
token = '';
|
889
|
+
type = EEvolutionInstanceType.WEBHOOK;
|
890
|
+
typebot = null;
|
891
|
+
waServerId = '';
|
892
|
+
webhook = null;
|
893
|
+
// #endregion Properties (10)
|
894
|
+
// #region Constructors (1)
|
895
|
+
constructor(data) {
|
896
|
+
if (data) {
|
897
|
+
for (let key in data) {
|
898
|
+
if (data.hasOwnProperty(key) && key in this) {
|
899
|
+
this[key] = data[key];
|
900
|
+
}
|
901
|
+
}
|
902
|
+
}
|
903
|
+
}
|
904
|
+
}
|
905
|
+
// #endregion Classes (1)
|
906
|
+
|
755
907
|
var EAppCategory;
|
756
908
|
(function (EAppCategory) {
|
757
909
|
EAppCategory["UTILITIES"] = "UTILIDADES";
|
@@ -1763,119 +1915,6 @@ class MetadataEntity {
|
|
1763
1915
|
|
1764
1916
|
// index.ts
|
1765
1917
|
|
1766
|
-
class EvolutionChatWootEntity {
|
1767
|
-
// #region Properties (7)
|
1768
|
-
accountId = '';
|
1769
|
-
enabled = false;
|
1770
|
-
nameInbox = '';
|
1771
|
-
signMsg = false;
|
1772
|
-
token = '';
|
1773
|
-
url = '';
|
1774
|
-
webhookUrl = '';
|
1775
|
-
constructor(data) {
|
1776
|
-
if (data) {
|
1777
|
-
for (let key in data) {
|
1778
|
-
if (data.hasOwnProperty(key) && key in this) {
|
1779
|
-
this[key] = data[key];
|
1780
|
-
}
|
1781
|
-
}
|
1782
|
-
}
|
1783
|
-
}
|
1784
|
-
}
|
1785
|
-
|
1786
|
-
class EvolutionHashEntity {
|
1787
|
-
// #region Properties (1)
|
1788
|
-
apikey = '';
|
1789
|
-
// #endregion Properties (1)
|
1790
|
-
// #region Constructors (1)
|
1791
|
-
constructor(data) {
|
1792
|
-
if (data) {
|
1793
|
-
for (let key in data) {
|
1794
|
-
if (data.hasOwnProperty(key) && key in this) {
|
1795
|
-
this[key] = data[key];
|
1796
|
-
}
|
1797
|
-
}
|
1798
|
-
}
|
1799
|
-
}
|
1800
|
-
}
|
1801
|
-
|
1802
|
-
class EvolutionInstanceEntity {
|
1803
|
-
// #region Properties (2)
|
1804
|
-
instanceName = '';
|
1805
|
-
status = '';
|
1806
|
-
// #endregion Properties (2)
|
1807
|
-
// #region Constructors (1)
|
1808
|
-
constructor(data) {
|
1809
|
-
if (data) {
|
1810
|
-
for (let key in data) {
|
1811
|
-
if (data.hasOwnProperty(key) && key in this) {
|
1812
|
-
this[key] = data[key];
|
1813
|
-
}
|
1814
|
-
}
|
1815
|
-
}
|
1816
|
-
}
|
1817
|
-
}
|
1818
|
-
|
1819
|
-
class EvolutionQrcodeEntity {
|
1820
|
-
// #region Properties (2)
|
1821
|
-
base64 = null;
|
1822
|
-
code = null;
|
1823
|
-
// #endregion Properties (2)
|
1824
|
-
// #region Constructors (1)
|
1825
|
-
constructor(data) {
|
1826
|
-
if (data) {
|
1827
|
-
for (let key in data) {
|
1828
|
-
if (data.hasOwnProperty(key) && key in this) {
|
1829
|
-
this[key] = data[key];
|
1830
|
-
}
|
1831
|
-
}
|
1832
|
-
}
|
1833
|
-
}
|
1834
|
-
}
|
1835
|
-
|
1836
|
-
class EvolutionEntity {
|
1837
|
-
// #region Properties (6)
|
1838
|
-
chatwoot = null;
|
1839
|
-
events = [];
|
1840
|
-
hash = new EvolutionHashEntity();
|
1841
|
-
instance = new EvolutionInstanceEntity();
|
1842
|
-
qrcode = new EvolutionQrcodeEntity();
|
1843
|
-
webhook = '';
|
1844
|
-
constructor(data) {
|
1845
|
-
if (data) {
|
1846
|
-
for (let key in data) {
|
1847
|
-
if (data.hasOwnProperty(key) && key in this) {
|
1848
|
-
this[key] = data[key];
|
1849
|
-
}
|
1850
|
-
}
|
1851
|
-
}
|
1852
|
-
}
|
1853
|
-
}
|
1854
|
-
|
1855
|
-
var EEvolutionEvent;
|
1856
|
-
(function (EEvolutionEvent) {
|
1857
|
-
EEvolutionEvent["APPLICATION_STARTUP"] = "APPLICATION_STARTUP";
|
1858
|
-
EEvolutionEvent["QRCODE_UPDATED"] = "QRCODE_UPDATED";
|
1859
|
-
EEvolutionEvent["MESSAGES_SET"] = "MESSAGES_SET";
|
1860
|
-
EEvolutionEvent["MESSAGES_UPSERT"] = "MESSAGES_UPSERT";
|
1861
|
-
EEvolutionEvent["MESSAGES_UPDATE"] = "MESSAGES_UPDATE";
|
1862
|
-
EEvolutionEvent["MESSAGES_DELETE"] = "MESSAGES_DELETE";
|
1863
|
-
EEvolutionEvent["SEND_MESSAGE"] = "SEND_MESSAGE";
|
1864
|
-
EEvolutionEvent["CONTACTS_SET"] = "CONTACTS_SET";
|
1865
|
-
EEvolutionEvent["CONTACTS_UPSERT"] = "CONTACTS_UPSERT";
|
1866
|
-
EEvolutionEvent["CONTACTS_UPDATE"] = "CONTACTS_UPDATE";
|
1867
|
-
EEvolutionEvent["PRESENCE_UPDATE"] = "PRESENCE_UPDATE";
|
1868
|
-
EEvolutionEvent["CHATS_SET"] = "CHATS_SET";
|
1869
|
-
EEvolutionEvent["CHATS_UPSERT"] = "CHATS_UPSERT";
|
1870
|
-
EEvolutionEvent["CHATS_UPDATE"] = "CHATS_UPDATE";
|
1871
|
-
EEvolutionEvent["CHATS_DELETE"] = "CHATS_DELETE";
|
1872
|
-
EEvolutionEvent["GROUPS_UPSERT"] = "GROUPS_UPSERT";
|
1873
|
-
EEvolutionEvent["GROUP_UPDATE"] = "GROUP_UPDATE";
|
1874
|
-
EEvolutionEvent["GROUP_PARTICIPANTS_UPDATE"] = "GROUP_PARTICIPANTS_UPDATE";
|
1875
|
-
EEvolutionEvent["CONNECTION_UPDATE"] = "CONNECTION_UPDATE";
|
1876
|
-
EEvolutionEvent["NEW_JWT_TOKE"] = "NEW_JWT_TOKE";
|
1877
|
-
})(EEvolutionEvent || (EEvolutionEvent = {}));
|
1878
|
-
|
1879
1918
|
class FeatureEntity {
|
1880
1919
|
// #region Properties (11)
|
1881
1920
|
appId = '';
|
@@ -3838,6 +3877,7 @@ class WaServerEntity {
|
|
3838
3877
|
id = '';
|
3839
3878
|
installIds = [];
|
3840
3879
|
name = '';
|
3880
|
+
tags = [];
|
3841
3881
|
sessions = 0;
|
3842
3882
|
stack = '';
|
3843
3883
|
status = EWaServerStatus.STOPPED;
|
@@ -3857,5 +3897,5 @@ class WaServerEntity {
|
|
3857
3897
|
* Generated bundle index. Do not edit.
|
3858
3898
|
*/
|
3859
3899
|
|
3860
|
-
export { AccountInformationsEntity, AddressEntity, AppEntity, AppInfoEntity, BaseEntity, BillingEntity, BillingOrderEntity, BillingPaymentEntity, BillingTotalEntity, CampaignEntity, CarouselImageEntity, ClientAplicationCredentialEntity, ClientAplicationEntity, ClientEntity, CompanyEntity, ContainerEntity, CoordsEntity, CustomVariableEntity, CustomerEntity, CustomerMemberEntity, DeliveryAreaEntity, DeliveryAreaFixedEntity, DesenfilaEntity, DeviceEntity, EAppCategory, EAppHeaderType, EAppMode, EAppType, EBankSlipStatus, EBillingStatus, EBooleanString, ECampaignStatus, ECompanyKeys, ECompanyMessageType, ECustomerInterval, ECustomerStatus, ECustomerType, EDiscountType, EDocType, EEvolutionEvent, EFiscalDocModelCode, EInstallationStatus, EIntervalType, EInvoiceStatus, ELeadOrigin, ELegalEntiy, EOrderDeliveryMode, EOrderTiming, EOrderType, EOs, EPaymentChannel, EPaymentMode, EPaymentProvider, EPaymentStatus, EPaymentType, EPlanFeatureType, EPlanIdentifier, EPlatform, EPubSub, EPubSubTopicType, ESponsorshipValues, ESubscriptionStatus, EVoucherStatus, EWaServerStatus, EvolutionChatWootEntity, EvolutionEntity, EvolutionHashEntity, EvolutionInstanceEntity, EvolutionQrcodeEntity, FeatureEntity, EGtintype as GTINTypeEnum, GlobalSettingEntity, GlobalSettingIuguEntity, GlobalSettingMasterEntity, InstallationEntity, InviteEntity, InviteStatusEnum, InvoiceBankSlipEntity, InvoiceCreditCardEntity, InvoiceEntity, InvoiceItemEntity, InvoiceLogEntity, InvoicePayerEntity, InvoicePixEntity, IuguAccountEntity, IuguAutoAdvanceEnum, IuguBankEnum, IuguChargeCreditCardEntity, IuguCustomerEntity, IuguInvoiceBankSlipEntity, IuguInvoiceEntity, IuguInvoiceStatusEnum, IuguPaymentTokenDataEntity, IuguPaymentTokenEntity, LastVerificationRequestDataEntity, LeadEntity, LeadStatusEnum, MemberEntity, MemberRulesEnum, MemberTypeEnum, MessagerChannelEntity, MetadataEntity, MobyoApiConfigEntity, NatiGoEntity, NotificationActionEntity, NotificationActionTypeEnum, NotificationCategoryEnum, NotificationEntity, NotificationPriorityEnum, NotificationStatusEnum, OrderAdditionalFeeEntity, OrderBenefitsEntity, OrderCancellationEntity, OrderCustomerEntity, OrderDeliveryEntity, OrderEntity, OrderItemCompositionEntity, OrderItemEntity, OrderItemOptionEntity, OrderMerchantEntity, OrderPaymentCardEntity, OrderPaymentCashEntity, OrderPaymentEntity, OrderPaymentMethodEntity, OrderPaymentPixEntity, OrderPaymentWalletEntity, OrderScaleEntity, OrderScaleItemEntity, OrderStatusEnum, OrderTotalEntity, OrdersCustomerPhoneEntity, OriginEntity, PartnerEntity, PaymentCardEntity, PaymentCashEntity, PaymentEntity, PaymentMethodEntity, PaymentMethodOptionEntity, PaymentPixEntity, PaymentProviderAgentEntity, PaymentProviderEntity, PaymentTokenDataEntity, PaymentTokenEntity, PaymentWalletEntity, PlanEntity, PlanFeatureEntity, ProductBrandEntity, ProductCompanyEntity, ProductContainerEntity, ProductNcmEntity, ProductGlobalEntity as ProductglobalEntity, PubsubSubscriptionChangeStatusEntity, PurchaseEntity, RabbitEntity, RatingEntity, ResumeCollectionEntity, ResumeDayEntity, ResumeEntity, ResumeHourEntity, ResumeMonthEntity, ResumeTotalEntity, ResumeYearEntity, SponsorshipValueEntity, SubscriptionBaseEntity, SubscriptionBaseItemEntity, SubscriptionBaseLogEntity, SubscriptionCompanyEntity, SubscriptionCompanyProfileEntity, SubscriptionCustomerEntity, SubscriptionCustomerProfileEntity, TokenEntity, VoucherEntity, WaServerEntity };
|
3900
|
+
export { AccountInformationsEntity, AddressEntity, AppEntity, AppInfoEntity, BaseEntity, BillingEntity, BillingOrderEntity, BillingPaymentEntity, BillingTotalEntity, CampaignEntity, CarouselImageEntity, ClientAplicationCredentialEntity, ClientAplicationEntity, ClientEntity, CompanyEntity, ContainerEntity, CoordsEntity, CustomVariableEntity, CustomerEntity, CustomerMemberEntity, DeliveryAreaEntity, DeliveryAreaFixedEntity, DesenfilaEntity, DeviceEntity, EAppCategory, EAppHeaderType, EAppMode, EAppType, EBankSlipStatus, EBillingStatus, EBooleanString, ECampaignStatus, ECompanyKeys, ECompanyMessageType, ECustomerInterval, ECustomerStatus, ECustomerType, EDiscountType, EDocType, EEvolutionEvent, EEvolutionInstanceType, EFiscalDocModelCode, EInstallationStatus, EIntervalType, EInvoiceStatus, ELeadOrigin, ELegalEntiy, EOrderDeliveryMode, EOrderTiming, EOrderType, EOs, EPaymentChannel, EPaymentMode, EPaymentProvider, EPaymentStatus, EPaymentType, EPlanFeatureType, EPlanIdentifier, EPlatform, EPubSub, EPubSubTopicType, ESponsorshipValues, ESubscriptionStatus, EVoucherStatus, EWaServerStatus, EvolutionChatWootEntity, EvolutionEntity, EvolutionHashEntity, EvolutionInstanceEntity, EvolutionQrcodeEntity, FeatureEntity, EGtintype as GTINTypeEnum, GlobalSettingEntity, GlobalSettingIuguEntity, GlobalSettingMasterEntity, InstallationEntity, InviteEntity, InviteStatusEnum, InvoiceBankSlipEntity, InvoiceCreditCardEntity, InvoiceEntity, InvoiceItemEntity, InvoiceLogEntity, InvoicePayerEntity, InvoicePixEntity, IuguAccountEntity, IuguAutoAdvanceEnum, IuguBankEnum, IuguChargeCreditCardEntity, IuguCustomerEntity, IuguInvoiceBankSlipEntity, IuguInvoiceEntity, IuguInvoiceStatusEnum, IuguPaymentTokenDataEntity, IuguPaymentTokenEntity, LastVerificationRequestDataEntity, LeadEntity, LeadStatusEnum, MemberEntity, MemberRulesEnum, MemberTypeEnum, MessagerChannelEntity, MetadataEntity, MobyoApiConfigEntity, NatiGoEntity, NatiWaEntity, NotificationActionEntity, NotificationActionTypeEnum, NotificationCategoryEnum, NotificationEntity, NotificationPriorityEnum, NotificationStatusEnum, OrderAdditionalFeeEntity, OrderBenefitsEntity, OrderCancellationEntity, OrderCustomerEntity, OrderDeliveryEntity, OrderEntity, OrderItemCompositionEntity, OrderItemEntity, OrderItemOptionEntity, OrderMerchantEntity, OrderPaymentCardEntity, OrderPaymentCashEntity, OrderPaymentEntity, OrderPaymentMethodEntity, OrderPaymentPixEntity, OrderPaymentWalletEntity, OrderScaleEntity, OrderScaleItemEntity, OrderStatusEnum, OrderTotalEntity, OrdersCustomerPhoneEntity, OriginEntity, PartnerEntity, PaymentCardEntity, PaymentCashEntity, PaymentEntity, PaymentMethodEntity, PaymentMethodOptionEntity, PaymentPixEntity, PaymentProviderAgentEntity, PaymentProviderEntity, PaymentTokenDataEntity, PaymentTokenEntity, PaymentWalletEntity, PlanEntity, PlanFeatureEntity, ProductBrandEntity, ProductCompanyEntity, ProductContainerEntity, ProductNcmEntity, ProductGlobalEntity as ProductglobalEntity, PubsubSubscriptionChangeStatusEntity, PurchaseEntity, RabbitEntity, RatingEntity, ResumeCollectionEntity, ResumeDayEntity, ResumeEntity, ResumeHourEntity, ResumeMonthEntity, ResumeTotalEntity, ResumeYearEntity, SponsorshipValueEntity, SubscriptionBaseEntity, SubscriptionBaseItemEntity, SubscriptionBaseLogEntity, SubscriptionCompanyEntity, SubscriptionCompanyProfileEntity, SubscriptionCustomerEntity, SubscriptionCustomerProfileEntity, TokenEntity, VoucherEntity, WaServerEntity };
|
3861
3901
|
//# sourceMappingURL=cecon-interfaces.mjs.map
|