cecon-interfaces 1.2.30 → 1.2.32
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/evolution/entities/index.mjs +2 -1
- package/dist/esm2022/evolution/entities/qrcode.entity.mjs +5 -3
- package/dist/esm2022/evolution/entities/send-message/index.mjs +3 -0
- package/dist/esm2022/evolution/entities/send-message/message-key.entity.mjs +7 -0
- package/dist/esm2022/evolution/entities/send-message/message.entity.mjs +8 -0
- package/dist/esm2022/evolution/interfaces/i-qrcode.mjs +1 -1
- package/dist/esm2022/member/entities/member.entity.mjs +5 -3
- package/dist/esm2022/member/interfaces/i-member.mjs +1 -1
- package/dist/evolution/entities/index.d.ts +1 -0
- package/dist/evolution/entities/index.js +15 -0
- package/dist/evolution/entities/qrcode.entity.d.ts +2 -0
- package/dist/evolution/entities/qrcode.entity.js +4 -2
- package/dist/evolution/entities/send-message/index.d.ts +2 -0
- package/dist/evolution/entities/send-message/index.js +7 -0
- package/dist/evolution/entities/send-message/message-key.entity.d.ts +6 -0
- package/dist/evolution/entities/send-message/message-key.entity.js +14 -0
- package/dist/evolution/entities/send-message/message.entity.d.ts +8 -0
- package/dist/evolution/entities/send-message/message.entity.js +15 -0
- package/dist/evolution/interfaces/i-qrcode.d.ts +2 -0
- package/dist/fesm2022/cecon-interfaces.mjs +24 -5
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/member/entities/member.entity.d.ts +2 -0
- package/dist/member/entities/member.entity.js +4 -2
- package/dist/member/interfaces/i-member.d.ts +2 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
@@ -3,6 +3,7 @@ export { EvolutionEntity } from './evolution.entity';
|
|
3
3
|
export { EvolutionHashEntity } from './hash.entity';
|
4
4
|
export { EvolutionInstanceEntity } from './instance.entity';
|
5
5
|
export { EvolutionQrcodeEntity } from './qrcode.entity';
|
6
|
+
export * from './send-message';
|
6
7
|
export { EvolutionTypeBotEntity } from './typebot.entity';
|
7
8
|
export { EvolutionWebhookEntity } from './webhook.entity';
|
8
|
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tICcuL3FyY29kZS5lbnRpdHknO1xyXG5leHBvcnQgKiBmcm9tICcuL3NlbmQtbWVzc2FnZSc7XHJcbmV4cG9ydCB7IEV2b2x1dGlvblR5cGVCb3RFbnRpdHkgfSBmcm9tICcuL3R5cGVib3QuZW50aXR5JztcclxuZXhwb3J0IHsgRXZvbHV0aW9uV2ViaG9va0VudGl0eSB9IGZyb20gJy4vd2ViaG9vay5lbnRpdHknO1xyXG4iXX0=
|
@@ -1,8 +1,10 @@
|
|
1
1
|
export class EvolutionQrcodeEntity {
|
2
|
-
// #region Properties (
|
2
|
+
// #region Properties (4)
|
3
3
|
base64 = null;
|
4
4
|
code = null;
|
5
|
-
|
5
|
+
count = 0;
|
6
|
+
pairingCode = null;
|
7
|
+
// #endregion Properties (4)
|
6
8
|
// #region Constructors (1)
|
7
9
|
constructor(data) {
|
8
10
|
if (data) {
|
@@ -14,4 +16,4 @@ export class EvolutionQrcodeEntity {
|
|
14
16
|
}
|
15
17
|
}
|
16
18
|
}
|
17
|
-
//# sourceMappingURL=data:application/json;base64,
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXJjb2RlLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9ldm9sdXRpb24vZW50aXRpZXMvcXJjb2RlLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLE9BQU8scUJBQXFCO0lBQ2hDLHlCQUF5QjtJQUVsQixNQUFNLEdBQWtCLElBQUksQ0FBQztJQUM3QixJQUFJLEdBQWtCLElBQUksQ0FBQztJQUMzQixLQUFLLEdBQVcsQ0FBQyxDQUFDO0lBQ2xCLFdBQVcsR0FBa0IsSUFBSSxDQUFDO0lBRXpDLDRCQUE0QjtJQUU1QiwyQkFBMkI7SUFFM0IsWUFBWSxJQUFxQztRQUMvQyxJQUFJLElBQUksRUFBRT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xuXG4gIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxufVxuIl19
|
@@ -0,0 +1,3 @@
|
|
1
|
+
export { EvolutionMessageKeyResponseEntity } from './message-key.entity';
|
2
|
+
export { EvolutionMessageResponseEntity } from './message.entity';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvZXZvbHV0aW9uL2VudGl0aWVzL3NlbmQtbWVzc2FnZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsaUNBQWlDLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUN6RSxPQUFPLEVBQUUsOEJBQThCLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IEV2b2x1dGlvbk1lc3NhZ2VLZXlSZXNwb25zZUVudGl0eSB9IGZyb20gJy4vbWVzc2FnZS1rZXkuZW50aXR5JztcclxuZXhwb3J0IHsgRXZvbHV0aW9uTWVzc2FnZVJlc3BvbnNlRW50aXR5IH0gZnJvbSAnLi9tZXNzYWdlLmVudGl0eSc7XHJcbiJdfQ==
|
@@ -0,0 +1,7 @@
|
|
1
|
+
export class EvolutionMessageKeyResponseEntity {
|
2
|
+
// #region Properties (3)
|
3
|
+
fromMe = false;
|
4
|
+
id = '';
|
5
|
+
remoteJid = '';
|
6
|
+
}
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVzc2FnZS1rZXkuZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2V2b2x1dGlvbi9lbnRpdGllcy9zZW5kLW1lc3NhZ2UvbWVzc2FnZS1rZXkuZW50aXR5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sT0FBTyxpQ0FBaUM7SUFDNUMseUJBQXlCO0lBRWxCLE1BQU0sR0FBWSxLQUFLLENBQUM7SUFDeEIsRUFBRSxHQUFXLEVBQUUsQ0FBQztJQUNoQixTQUFTLEdBQVcsRUFBRSxDQUFDO0NBRy9CIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSUV2b2x1dGlvbk1lc3NhZ2VLZXlSZXNwb25zZSB9IGZyb20gJy4uLy4uL2ludGVyZmFjZXMnO1xyXG5cclxuZXhwb3J0IGNsYXNzIEV2b2x1dGlvbk1lc3NhZ2VLZXlSZXNwb25zZUVudGl0eSBpbXBsZW1lbnRzIElFdm9sdXRpb25NZXNzYWdlS2V5UmVzcG9uc2Uge1xyXG4gIC8vICNyZWdpb24gUHJvcGVydGllcyAoMylcclxuXHJcbiAgcHVibGljIGZyb21NZTogYm9vbGVhbiA9IGZhbHNlO1xyXG4gIHB1YmxpYyBpZDogc3RyaW5nID0gJyc7XHJcbiAgcHVibGljIHJlbW90ZUppZDogc3RyaW5nID0gJyc7XHJcblxyXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMylcclxufVxyXG4iXX0=
|
@@ -0,0 +1,8 @@
|
|
1
|
+
export class EvolutionMessageResponseEntity {
|
2
|
+
// #region Properties (4)
|
3
|
+
key = null;
|
4
|
+
message = null;
|
5
|
+
messageTimestamp = null;
|
6
|
+
status = null;
|
7
|
+
}
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVzc2FnZS5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvZXZvbHV0aW9uL2VudGl0aWVzL3NlbmQtbWVzc2FnZS9tZXNzYWdlLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHQSxNQUFNLE9BQU8sOEJBQThCO0lBQ3pDLHlCQUF5QjtJQUVsQixHQUFHLEdBQTZDLElBQUksQ0FBQztJQUNyRCxPQUFPLEdBQVEsSUFBSSxDQUFDO0lBQ3BCLGdCQUFnQixHQUFrQixJQUFJLENBQUM7SUFDdkMsTUFBTSxHQUFrQixJQUFJLENBQUM7Q0FHckMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJRXZvbHV0aW9uTWVzc2FnZVJlc3BvbnNlIH0gZnJvbSAnLi4vLi4vaW50ZXJmYWNlcyc7XHJcbmltcG9ydCB7IEV2b2x1dGlvbk1lc3NhZ2VLZXlSZXNwb25zZUVudGl0eSB9IGZyb20gJy4vbWVzc2FnZS1rZXkuZW50aXR5JztcclxuXHJcbmV4cG9ydCBjbGFzcyBFdm9sdXRpb25NZXNzYWdlUmVzcG9uc2VFbnRpdHkgaW1wbGVtZW50cyBJRXZvbHV0aW9uTWVzc2FnZVJlc3BvbnNlIHtcclxuICAvLyAjcmVnaW9uIFByb3BlcnRpZXMgKDQpXHJcblxyXG4gIHB1YmxpYyBrZXk6IEV2b2x1dGlvbk1lc3NhZ2VLZXlSZXNwb25zZUVudGl0eSB8IG51bGwgPSBudWxsO1xyXG4gIHB1YmxpYyBtZXNzYWdlOiBhbnkgPSBudWxsO1xyXG4gIHB1YmxpYyBtZXNzYWdlVGltZXN0YW1wOiBzdHJpbmcgfCBudWxsID0gbnVsbDtcclxuICBwdWJsaWMgc3RhdHVzOiBzdHJpbmcgfCBudWxsID0gbnVsbDtcclxuXHJcbiAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICg0KVxyXG59XHJcbiJdfQ==
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1xcmNvZGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZXZvbHV0aW9uL2ludGVyZmFjZXMvaS1xcmNvZGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgSUV2b2x1dGlvblFyY29kZSB7XG4gIGNvZGU6IHN0cmluZyB8IG51bGw7XG4gIGJhc2U2NDogc3RyaW5nIHwgbnVsbDtcbiAgcGFpcmluZ0NvZGU6IHN0cmluZyB8IG51bGw7XG4gIGNvdW50OiBudW1iZXI7XG59XG4iXX0=
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { BaseEntity } from '../../general';
|
2
2
|
import { MemberRulesEnum, MemberTypeEnum } from '../enums';
|
3
3
|
export class MemberEntity extends BaseEntity {
|
4
|
-
// #region Properties (
|
4
|
+
// #region Properties (14)
|
5
5
|
active = true;
|
6
6
|
companyName = '';
|
7
7
|
containerName = '';
|
@@ -9,12 +9,14 @@ export class MemberEntity extends BaseEntity {
|
|
9
9
|
name = '';
|
10
10
|
partnerId = '';
|
11
11
|
phoneNumber = '';
|
12
|
+
phoneNumberVerified = false;
|
13
|
+
phoneNumberVerifiedAt = null;
|
12
14
|
photoUrl = '';
|
13
15
|
rule = MemberRulesEnum.USER;
|
14
16
|
tags = [];
|
15
17
|
type = MemberTypeEnum.CLIENT;
|
16
18
|
uid = '';
|
17
|
-
// #endregion Properties (
|
19
|
+
// #endregion Properties (14)
|
18
20
|
// #region Constructors (1)
|
19
21
|
constructor(data) {
|
20
22
|
super(data);
|
@@ -27,4 +29,4 @@ export class MemberEntity extends BaseEntity {
|
|
27
29
|
}
|
28
30
|
}
|
29
31
|
}
|
30
|
-
//# sourceMappingURL=data:application/json;base64,
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVtYmVyLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL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FbnVtLlVTRVI7XHJcbiAgcHVibGljIHRhZ3M6IHN0cmluZ1tdID0gW107XHJcbiAgcHVibGljIHR5cGU6IE1lbWJlclR5cGVFbnVtID0gTWVtYmVyVHlwZUVudW0uQ0xJRU5UO1xyXG4gIHB1YmxpYyB1aWQ6IHN0cmluZyA9ICcnO1xyXG5cclxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDE0KVxyXG5cclxuICAvLyAjcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcclxuXHJcbiAgY29uc3RydWN0b3IoZGF0YT86IFBhcnRpYWw8TWVtYmVyRW50aXR5Pikge1xyXG4gICAgc3VwZXIoZGF0YSk7XHJcbiAgICBpZiAoZGF0YSkge1xyXG4gICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xyXG4gICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcclxuICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcclxuICAgICAgICB9XHJcbiAgICAgIH1cclxuICAgIH1cclxuICB9XHJcblxyXG4gIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxyXG59XHJcbiJdfQ==
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1tZW1iZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbWVtYmVyL2ludGVyZmFjZXMvaS1tZW1iZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElCYXNlIH0gZnJvbSAnLi4vLi4vZ2VuZXJhbCc7XHJcbmltcG9ydCB7IE1lbWJlclJ1bGVzRW51bSwgTWVtYmVyVHlwZUVudW0gfSBmcm9tICcuLi9lbnVtcyc7XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIElNZW1iZXIgZXh0ZW5kcyBJQmFzZSB7XHJcbiAgLy8gI3JlZ2lvbiBQcm9wZXJ0aWVzICg5KVxyXG5cclxuICBjb21wYW55TmFtZTogc3RyaW5nO1xyXG4gIGNvbnRhaW5lck5hbWU6IHN0cmluZztcclxuICBlbWFpbDogc3RyaW5nO1xyXG4gIG5hbWU6IHN0cmluZztcclxuICBwYXJ0bmVySWQ6IHN0cmluZztcclxuICBwaG9uZU51bWJlcjogc3RyaW5nO1xyXG4gIHBob25lTnVtYmVyVmVyaWZpZWQ6IGJvb2xlYW47XHJcbiAgcGhvbmVOdW1iZXJWZXJpZmllZEF0OiBEYXRlIHwgbnVsbDtcclxuICBwaG90b1VybDogc3RyaW5nO1xyXG4gIHJ1bGU6IE1lbWJlclJ1bGVzRW51bTtcclxuICB0eXBlOiBNZW1iZXJUeXBlRW51bTtcclxuICB0YWdzOiBzdHJpbmdbXTtcclxuICB1aWQ6IHN0cmluZztcclxuXHJcbiAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICg5KVxyXG59XHJcbiJdfQ==
|
@@ -3,5 +3,6 @@ export { EvolutionEntity } from './evolution.entity';
|
|
3
3
|
export { EvolutionHashEntity } from './hash.entity';
|
4
4
|
export { EvolutionInstanceEntity } from './instance.entity';
|
5
5
|
export { EvolutionQrcodeEntity } from './qrcode.entity';
|
6
|
+
export * from './send-message';
|
6
7
|
export { EvolutionTypeBotEntity } from './typebot.entity';
|
7
8
|
export { EvolutionWebhookEntity } from './webhook.entity';
|
@@ -1,4 +1,18 @@
|
|
1
1
|
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
17
|
exports.EvolutionWebhookEntity = exports.EvolutionTypeBotEntity = exports.EvolutionQrcodeEntity = exports.EvolutionInstanceEntity = exports.EvolutionHashEntity = exports.EvolutionEntity = exports.EvolutionChatWootEntity = void 0;
|
4
18
|
var chatwoot_entity_1 = require("./chatwoot.entity");
|
@@ -11,6 +25,7 @@ var instance_entity_1 = require("./instance.entity");
|
|
11
25
|
Object.defineProperty(exports, "EvolutionInstanceEntity", { enumerable: true, get: function () { return instance_entity_1.EvolutionInstanceEntity; } });
|
12
26
|
var qrcode_entity_1 = require("./qrcode.entity");
|
13
27
|
Object.defineProperty(exports, "EvolutionQrcodeEntity", { enumerable: true, get: function () { return qrcode_entity_1.EvolutionQrcodeEntity; } });
|
28
|
+
__exportStar(require("./send-message"), exports);
|
14
29
|
var typebot_entity_1 = require("./typebot.entity");
|
15
30
|
Object.defineProperty(exports, "EvolutionTypeBotEntity", { enumerable: true, get: function () { return typebot_entity_1.EvolutionTypeBotEntity; } });
|
16
31
|
var webhook_entity_1 = require("./webhook.entity");
|
@@ -2,5 +2,7 @@ import { IEvolutionQrcode } from '../interfaces';
|
|
2
2
|
export declare class EvolutionQrcodeEntity implements IEvolutionQrcode {
|
3
3
|
base64: string | null;
|
4
4
|
code: string | null;
|
5
|
+
count: number;
|
6
|
+
pairingCode: string | null;
|
5
7
|
constructor(data?: Partial<EvolutionQrcodeEntity>);
|
6
8
|
}
|
@@ -2,12 +2,14 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.EvolutionQrcodeEntity = void 0;
|
4
4
|
var EvolutionQrcodeEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (
|
5
|
+
// #endregion Properties (4)
|
6
6
|
// #region Constructors (1)
|
7
7
|
function EvolutionQrcodeEntity(data) {
|
8
|
-
// #region Properties (
|
8
|
+
// #region Properties (4)
|
9
9
|
this.base64 = null;
|
10
10
|
this.code = null;
|
11
|
+
this.count = 0;
|
12
|
+
this.pairingCode = null;
|
11
13
|
if (data) {
|
12
14
|
for (var key in data) {
|
13
15
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -0,0 +1,7 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EvolutionMessageResponseEntity = exports.EvolutionMessageKeyResponseEntity = void 0;
|
4
|
+
var message_key_entity_1 = require("./message-key.entity");
|
5
|
+
Object.defineProperty(exports, "EvolutionMessageKeyResponseEntity", { enumerable: true, get: function () { return message_key_entity_1.EvolutionMessageKeyResponseEntity; } });
|
6
|
+
var message_entity_1 = require("./message.entity");
|
7
|
+
Object.defineProperty(exports, "EvolutionMessageResponseEntity", { enumerable: true, get: function () { return message_entity_1.EvolutionMessageResponseEntity; } });
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EvolutionMessageKeyResponseEntity = void 0;
|
4
|
+
var EvolutionMessageKeyResponseEntity = /** @class */ (function () {
|
5
|
+
function EvolutionMessageKeyResponseEntity() {
|
6
|
+
// #region Properties (3)
|
7
|
+
this.fromMe = false;
|
8
|
+
this.id = '';
|
9
|
+
this.remoteJid = '';
|
10
|
+
// #endregion Properties (3)
|
11
|
+
}
|
12
|
+
return EvolutionMessageKeyResponseEntity;
|
13
|
+
}());
|
14
|
+
exports.EvolutionMessageKeyResponseEntity = EvolutionMessageKeyResponseEntity;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { IEvolutionMessageResponse } from '../../interfaces';
|
2
|
+
import { EvolutionMessageKeyResponseEntity } from './message-key.entity';
|
3
|
+
export declare class EvolutionMessageResponseEntity implements IEvolutionMessageResponse {
|
4
|
+
key: EvolutionMessageKeyResponseEntity | null;
|
5
|
+
message: any;
|
6
|
+
messageTimestamp: string | null;
|
7
|
+
status: string | null;
|
8
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EvolutionMessageResponseEntity = void 0;
|
4
|
+
var EvolutionMessageResponseEntity = /** @class */ (function () {
|
5
|
+
function EvolutionMessageResponseEntity() {
|
6
|
+
// #region Properties (4)
|
7
|
+
this.key = null;
|
8
|
+
this.message = null;
|
9
|
+
this.messageTimestamp = null;
|
10
|
+
this.status = null;
|
11
|
+
// #endregion Properties (4)
|
12
|
+
}
|
13
|
+
return EvolutionMessageResponseEntity;
|
14
|
+
}());
|
15
|
+
exports.EvolutionMessageResponseEntity = EvolutionMessageResponseEntity;
|
@@ -816,10 +816,12 @@ class EvolutionInstanceEntity {
|
|
816
816
|
}
|
817
817
|
|
818
818
|
class EvolutionQrcodeEntity {
|
819
|
-
// #region Properties (
|
819
|
+
// #region Properties (4)
|
820
820
|
base64 = null;
|
821
821
|
code = null;
|
822
|
-
|
822
|
+
count = 0;
|
823
|
+
pairingCode = null;
|
824
|
+
// #endregion Properties (4)
|
823
825
|
// #region Constructors (1)
|
824
826
|
constructor(data) {
|
825
827
|
if (data) {
|
@@ -851,6 +853,21 @@ class EvolutionEntity {
|
|
851
853
|
}
|
852
854
|
}
|
853
855
|
|
856
|
+
class EvolutionMessageKeyResponseEntity {
|
857
|
+
// #region Properties (3)
|
858
|
+
fromMe = false;
|
859
|
+
id = '';
|
860
|
+
remoteJid = '';
|
861
|
+
}
|
862
|
+
|
863
|
+
class EvolutionMessageResponseEntity {
|
864
|
+
// #region Properties (4)
|
865
|
+
key = null;
|
866
|
+
message = null;
|
867
|
+
messageTimestamp = null;
|
868
|
+
status = null;
|
869
|
+
}
|
870
|
+
|
854
871
|
class EvolutionTypeBotEntity {
|
855
872
|
// #region Properties (2)
|
856
873
|
instanceName = '';
|
@@ -1888,7 +1905,7 @@ var MemberTypeEnum;
|
|
1888
1905
|
})(MemberTypeEnum || (MemberTypeEnum = {}));
|
1889
1906
|
|
1890
1907
|
class MemberEntity extends BaseEntity {
|
1891
|
-
// #region Properties (
|
1908
|
+
// #region Properties (14)
|
1892
1909
|
active = true;
|
1893
1910
|
companyName = '';
|
1894
1911
|
containerName = '';
|
@@ -1896,12 +1913,14 @@ class MemberEntity extends BaseEntity {
|
|
1896
1913
|
name = '';
|
1897
1914
|
partnerId = '';
|
1898
1915
|
phoneNumber = '';
|
1916
|
+
phoneNumberVerified = false;
|
1917
|
+
phoneNumberVerifiedAt = null;
|
1899
1918
|
photoUrl = '';
|
1900
1919
|
rule = MemberRulesEnum.USER;
|
1901
1920
|
tags = [];
|
1902
1921
|
type = MemberTypeEnum.CLIENT;
|
1903
1922
|
uid = '';
|
1904
|
-
// #endregion Properties (
|
1923
|
+
// #endregion Properties (14)
|
1905
1924
|
// #region Constructors (1)
|
1906
1925
|
constructor(data) {
|
1907
1926
|
super(data);
|
@@ -3972,5 +3991,5 @@ class WaServerEntity {
|
|
3972
3991
|
* Generated bundle index. Do not edit.
|
3973
3992
|
*/
|
3974
3993
|
|
3975
|
-
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, EvolutionTypeBotEntity, EvolutionWebhookEntity, 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 };
|
3994
|
+
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, EvolutionMessageKeyResponseEntity, EvolutionMessageResponseEntity, EvolutionQrcodeEntity, EvolutionTypeBotEntity, EvolutionWebhookEntity, 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 };
|
3976
3995
|
//# sourceMappingURL=cecon-interfaces.mjs.map
|