easywork-common-lib 1.0.979 → 1.0.981
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/entities/sales/agent.entity.d.ts +3 -0
- package/dist/entities/sales/agent.entity.js +22 -0
- package/dist/entities/sales/agent.entity.js.map +1 -1
- package/dist/entities/thirdparty/wati/index.d.ts +0 -2
- package/dist/entities/thirdparty/wati/index.js +0 -2
- package/dist/entities/thirdparty/wati/index.js.map +1 -1
- package/dist/entities/thirdparty/wati/wati-chat.entity.d.ts +4 -6
- package/dist/entities/thirdparty/wati/wati-chat.entity.js +10 -35
- package/dist/entities/thirdparty/wati/wati-chat.entity.js.map +1 -1
- package/dist/entities/thirdparty/wati/wati-configuration.entity.d.ts +0 -3
- package/dist/entities/thirdparty/wati/wati-configuration.entity.js +0 -19
- package/dist/entities/thirdparty/wati/wati-configuration.entity.js.map +1 -1
- package/dist/entities/thirdparty/wati/wati-message.entity.d.ts +6 -33
- package/dist/entities/thirdparty/wati/wati-message.entity.js +39 -197
- package/dist/entities/thirdparty/wati/wati-message.entity.js.map +1 -1
- package/dist/entities/thirdparty/wati/wati.enum.d.ts +0 -1
- package/dist/entities/thirdparty/wati/wati.enum.js +0 -1
- package/dist/entities/thirdparty/wati/wati.enum.js.map +1 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/entities/thirdparty/wati/wati-subscription.entity.d.ts +0 -31
- package/dist/entities/thirdparty/wati/wati-subscription.entity.js +0 -185
- package/dist/entities/thirdparty/wati/wati-subscription.entity.js.map +0 -1
- package/dist/entities/thirdparty/wati/wati-usage-tracking.entity.d.ts +0 -14
- package/dist/entities/thirdparty/wati/wati-usage-tracking.entity.js +0 -118
- package/dist/entities/thirdparty/wati/wati-usage-tracking.entity.js.map +0 -1
|
@@ -23,43 +23,16 @@ let WatiMessage = class WatiMessage extends common_1.BaseEntitySimple {
|
|
|
23
23
|
watiMessageId;
|
|
24
24
|
watiTicketId;
|
|
25
25
|
whatsappMessageId;
|
|
26
|
-
watiConversationId;
|
|
27
|
-
watiTemplateId;
|
|
28
|
-
watiTemplateName;
|
|
29
|
-
localMessageId;
|
|
30
|
-
watiTimestamp;
|
|
31
|
-
waId;
|
|
32
|
-
senderName;
|
|
33
|
-
assignedOperatorId;
|
|
34
|
-
operatorEmail;
|
|
35
|
-
operatorName;
|
|
36
|
-
messageData;
|
|
37
|
-
sourceType;
|
|
38
26
|
content;
|
|
39
27
|
messageType;
|
|
40
28
|
direction;
|
|
41
|
-
|
|
42
|
-
deliveredAt;
|
|
43
|
-
readAt;
|
|
44
|
-
sentByUserId;
|
|
45
|
-
sentByUser;
|
|
29
|
+
channelMessageTimestamp;
|
|
46
30
|
watiEventType;
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
53
|
-
get mediaInfo() {
|
|
54
|
-
if (!this.hasMediaFile)
|
|
55
|
-
return undefined;
|
|
56
|
-
return {
|
|
57
|
-
fileName: this.messageData?.fileName,
|
|
58
|
-
mimeType: this.messageData?.mimeType,
|
|
59
|
-
mediaType: this.messageData?.mediaType,
|
|
60
|
-
fileSize: this.messageData?.fileSize,
|
|
61
|
-
};
|
|
62
|
-
}
|
|
31
|
+
watiMessageTemplateName;
|
|
32
|
+
templateParametersUsed;
|
|
33
|
+
status;
|
|
34
|
+
sentByCrmUserId;
|
|
35
|
+
sentByCrmUser;
|
|
63
36
|
};
|
|
64
37
|
exports.WatiMessage = WatiMessage;
|
|
65
38
|
__decorate([
|
|
@@ -111,108 +84,49 @@ __decorate([
|
|
|
111
84
|
], WatiMessage.prototype, "whatsappMessageId", void 0);
|
|
112
85
|
__decorate([
|
|
113
86
|
(0, swagger_1.ApiProperty)({
|
|
114
|
-
description: "
|
|
115
|
-
required: false,
|
|
116
|
-
}),
|
|
117
|
-
(0, class_validator_1.IsString)(),
|
|
118
|
-
(0, class_validator_1.IsOptional)(),
|
|
119
|
-
(0, class_validator_1.MaxLength)(255),
|
|
120
|
-
(0, typeorm_1.Index)(),
|
|
121
|
-
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
|
|
122
|
-
__metadata("design:type", String)
|
|
123
|
-
], WatiMessage.prototype, "watiConversationId", void 0);
|
|
124
|
-
__decorate([
|
|
125
|
-
(0, swagger_1.ApiProperty)({
|
|
126
|
-
description: "ID de la plantilla utilizada (para mensajes de plantilla)",
|
|
127
|
-
required: false,
|
|
128
|
-
}),
|
|
129
|
-
(0, class_validator_1.IsString)(),
|
|
130
|
-
(0, class_validator_1.IsOptional)(),
|
|
131
|
-
(0, class_validator_1.MaxLength)(255),
|
|
132
|
-
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
|
|
133
|
-
__metadata("design:type", String)
|
|
134
|
-
], WatiMessage.prototype, "watiTemplateId", void 0);
|
|
135
|
-
__decorate([
|
|
136
|
-
(0, swagger_1.ApiProperty)({
|
|
137
|
-
description: "Nombre de la plantilla utilizada (para mensajes de plantilla)",
|
|
138
|
-
required: false,
|
|
139
|
-
}),
|
|
140
|
-
(0, class_validator_1.IsString)(),
|
|
141
|
-
(0, class_validator_1.IsOptional)(),
|
|
142
|
-
(0, class_validator_1.MaxLength)(255),
|
|
143
|
-
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
|
|
144
|
-
__metadata("design:type", String)
|
|
145
|
-
], WatiMessage.prototype, "watiTemplateName", void 0);
|
|
146
|
-
__decorate([
|
|
147
|
-
(0, swagger_1.ApiProperty)({
|
|
148
|
-
description: "ID local del mensaje para tracking (v2 events)",
|
|
149
|
-
required: false,
|
|
87
|
+
description: "Contenido del mensaje (texto, URL de media para tipos no textuales)",
|
|
150
88
|
}),
|
|
151
89
|
(0, class_validator_1.IsString)(),
|
|
152
|
-
(0,
|
|
153
|
-
(0, class_validator_1.MaxLength)(255),
|
|
154
|
-
(0, typeorm_1.Index)(),
|
|
155
|
-
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
|
|
90
|
+
(0, typeorm_1.Column)({ type: "text" }),
|
|
156
91
|
__metadata("design:type", String)
|
|
157
|
-
], WatiMessage.prototype, "
|
|
158
|
-
__decorate([
|
|
159
|
-
(0, swagger_1.ApiProperty)({
|
|
160
|
-
description: "Timestamp del mensaje según Wati",
|
|
161
|
-
required: false,
|
|
162
|
-
}),
|
|
163
|
-
(0, class_validator_1.IsNumber)(),
|
|
164
|
-
(0, class_validator_1.IsOptional)(),
|
|
165
|
-
(0, typeorm_1.Column)({ type: "bigint", nullable: true }),
|
|
166
|
-
__metadata("design:type", Number)
|
|
167
|
-
], WatiMessage.prototype, "watiTimestamp", void 0);
|
|
92
|
+
], WatiMessage.prototype, "content", void 0);
|
|
168
93
|
__decorate([
|
|
169
|
-
(0, swagger_1.ApiProperty)({
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
}),
|
|
173
|
-
(0, class_validator_1.IsString)(),
|
|
174
|
-
(0, class_validator_1.IsOptional)(),
|
|
175
|
-
(0, class_validator_1.MaxLength)(50),
|
|
176
|
-
(0, typeorm_1.Index)(),
|
|
177
|
-
(0, typeorm_1.Column)({ type: "varchar", length: 50, nullable: true }),
|
|
94
|
+
(0, swagger_1.ApiProperty)({ enum: wati_enum_1.WatiMessageType, description: "Tipo de mensaje" }),
|
|
95
|
+
(0, class_validator_1.IsEnum)(wati_enum_1.WatiMessageType),
|
|
96
|
+
(0, typeorm_1.Column)({ type: "enum", enum: wati_enum_1.WatiMessageType }),
|
|
178
97
|
__metadata("design:type", String)
|
|
179
|
-
], WatiMessage.prototype, "
|
|
98
|
+
], WatiMessage.prototype, "messageType", void 0);
|
|
180
99
|
__decorate([
|
|
181
100
|
(0, swagger_1.ApiProperty)({
|
|
182
|
-
|
|
183
|
-
|
|
101
|
+
enum: wati_enum_1.WatiMessageDirection,
|
|
102
|
+
description: "Dirección del mensaje",
|
|
184
103
|
}),
|
|
185
|
-
(0, class_validator_1.
|
|
186
|
-
(0,
|
|
187
|
-
(0, class_validator_1.MaxLength)(255),
|
|
188
|
-
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
|
|
104
|
+
(0, class_validator_1.IsEnum)(wati_enum_1.WatiMessageDirection),
|
|
105
|
+
(0, typeorm_1.Column)({ type: "enum", enum: wati_enum_1.WatiMessageDirection }),
|
|
189
106
|
__metadata("design:type", String)
|
|
190
|
-
], WatiMessage.prototype, "
|
|
107
|
+
], WatiMessage.prototype, "direction", void 0);
|
|
191
108
|
__decorate([
|
|
192
109
|
(0, swagger_1.ApiProperty)({
|
|
193
|
-
description: "
|
|
194
|
-
required: false,
|
|
110
|
+
description: "Timestamp original del mensaje en WhatsApp/Wati (del webhook)",
|
|
195
111
|
}),
|
|
196
|
-
(0, class_validator_1.
|
|
197
|
-
(0,
|
|
198
|
-
(
|
|
199
|
-
|
|
200
|
-
__metadata("design:type", String)
|
|
201
|
-
], WatiMessage.prototype, "assignedOperatorId", void 0);
|
|
112
|
+
(0, class_validator_1.IsDate)(),
|
|
113
|
+
(0, typeorm_1.Column)({ type: "timestamp with time zone" }),
|
|
114
|
+
__metadata("design:type", Date)
|
|
115
|
+
], WatiMessage.prototype, "channelMessageTimestamp", void 0);
|
|
202
116
|
__decorate([
|
|
203
117
|
(0, swagger_1.ApiProperty)({
|
|
204
|
-
|
|
118
|
+
enum: wati_enum_1.WatiEventType,
|
|
119
|
+
description: "Tipo de evento de Wati que generó/actualizó este mensaje",
|
|
205
120
|
required: false,
|
|
206
121
|
}),
|
|
207
|
-
(0, class_validator_1.
|
|
122
|
+
(0, class_validator_1.IsEnum)(wati_enum_1.WatiEventType),
|
|
208
123
|
(0, class_validator_1.IsOptional)(),
|
|
209
|
-
(0,
|
|
210
|
-
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
|
|
124
|
+
(0, typeorm_1.Column)({ type: "enum", enum: wati_enum_1.WatiEventType, nullable: true }),
|
|
211
125
|
__metadata("design:type", String)
|
|
212
|
-
], WatiMessage.prototype, "
|
|
126
|
+
], WatiMessage.prototype, "watiEventType", void 0);
|
|
213
127
|
__decorate([
|
|
214
128
|
(0, swagger_1.ApiProperty)({
|
|
215
|
-
description: "Nombre
|
|
129
|
+
description: "Nombre de la plantilla de Wati usada, si aplica",
|
|
216
130
|
required: false,
|
|
217
131
|
}),
|
|
218
132
|
(0, class_validator_1.IsString)(),
|
|
@@ -220,10 +134,10 @@ __decorate([
|
|
|
220
134
|
(0, class_validator_1.MaxLength)(255),
|
|
221
135
|
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
|
|
222
136
|
__metadata("design:type", String)
|
|
223
|
-
], WatiMessage.prototype, "
|
|
137
|
+
], WatiMessage.prototype, "watiMessageTemplateName", void 0);
|
|
224
138
|
__decorate([
|
|
225
139
|
(0, swagger_1.ApiProperty)({
|
|
226
|
-
description: "
|
|
140
|
+
description: "Parámetros JSON usados en la plantilla de mensaje, si aplica",
|
|
227
141
|
type: "object",
|
|
228
142
|
required: false,
|
|
229
143
|
}),
|
|
@@ -231,78 +145,17 @@ __decorate([
|
|
|
231
145
|
(0, class_validator_1.IsOptional)(),
|
|
232
146
|
(0, typeorm_1.Column)({ type: "jsonb", nullable: true }),
|
|
233
147
|
__metadata("design:type", Object)
|
|
234
|
-
], WatiMessage.prototype, "
|
|
235
|
-
__decorate([
|
|
236
|
-
(0, swagger_1.ApiProperty)({
|
|
237
|
-
description: "Tipo de origen del mensaje (WEB, API, etc)",
|
|
238
|
-
required: false,
|
|
239
|
-
}),
|
|
240
|
-
(0, class_validator_1.IsString)(),
|
|
241
|
-
(0, class_validator_1.IsOptional)(),
|
|
242
|
-
(0, class_validator_1.MaxLength)(50),
|
|
243
|
-
(0, typeorm_1.Column)({ type: "varchar", length: 50, nullable: true }),
|
|
244
|
-
__metadata("design:type", String)
|
|
245
|
-
], WatiMessage.prototype, "sourceType", void 0);
|
|
246
|
-
__decorate([
|
|
247
|
-
(0, swagger_1.ApiProperty)({
|
|
248
|
-
description: "Contenido del mensaje (texto, URL de media para tipos no textuales)",
|
|
249
|
-
}),
|
|
250
|
-
(0, class_validator_1.IsString)(),
|
|
251
|
-
(0, typeorm_1.Column)({ type: "text" }),
|
|
252
|
-
__metadata("design:type", String)
|
|
253
|
-
], WatiMessage.prototype, "content", void 0);
|
|
254
|
-
__decorate([
|
|
255
|
-
(0, swagger_1.ApiProperty)({ enum: wati_enum_1.WatiMessageType, description: "Tipo de mensaje" }),
|
|
256
|
-
(0, class_validator_1.IsEnum)(wati_enum_1.WatiMessageType),
|
|
257
|
-
(0, typeorm_1.Column)({ type: "enum", enum: wati_enum_1.WatiMessageType }),
|
|
258
|
-
__metadata("design:type", String)
|
|
259
|
-
], WatiMessage.prototype, "messageType", void 0);
|
|
260
|
-
__decorate([
|
|
261
|
-
(0, swagger_1.ApiProperty)({
|
|
262
|
-
enum: wati_enum_1.WatiMessageDirection,
|
|
263
|
-
description: "Dirección del mensaje",
|
|
264
|
-
}),
|
|
265
|
-
(0, class_validator_1.IsEnum)(wati_enum_1.WatiMessageDirection),
|
|
266
|
-
(0, typeorm_1.Column)({ type: "enum", enum: wati_enum_1.WatiMessageDirection }),
|
|
267
|
-
__metadata("design:type", String)
|
|
268
|
-
], WatiMessage.prototype, "direction", void 0);
|
|
148
|
+
], WatiMessage.prototype, "templateParametersUsed", void 0);
|
|
269
149
|
__decorate([
|
|
270
|
-
(0, swagger_1.ApiProperty)({
|
|
271
|
-
enum: wati_enum_1.WatiMessageStatus,
|
|
272
|
-
description: "Estado del mensaje",
|
|
273
|
-
default: wati_enum_1.WatiMessageStatus.PENDING,
|
|
274
|
-
}),
|
|
150
|
+
(0, swagger_1.ApiProperty)({ enum: wati_enum_1.WatiMessageStatus, description: "Estado del mensaje" }),
|
|
275
151
|
(0, class_validator_1.IsEnum)(wati_enum_1.WatiMessageStatus),
|
|
276
|
-
(0, typeorm_1.
|
|
277
|
-
|
|
278
|
-
enum: wati_enum_1.WatiMessageStatus,
|
|
279
|
-
default: wati_enum_1.WatiMessageStatus.PENDING,
|
|
280
|
-
}),
|
|
152
|
+
(0, typeorm_1.Index)(),
|
|
153
|
+
(0, typeorm_1.Column)({ type: "enum", enum: wati_enum_1.WatiMessageStatus }),
|
|
281
154
|
__metadata("design:type", String)
|
|
282
155
|
], WatiMessage.prototype, "status", void 0);
|
|
283
156
|
__decorate([
|
|
284
157
|
(0, swagger_1.ApiProperty)({
|
|
285
|
-
description: "
|
|
286
|
-
required: false,
|
|
287
|
-
}),
|
|
288
|
-
(0, class_validator_1.IsDate)(),
|
|
289
|
-
(0, class_validator_1.IsOptional)(),
|
|
290
|
-
(0, typeorm_1.Column)({ type: "timestamp with time zone", nullable: true }),
|
|
291
|
-
__metadata("design:type", Date)
|
|
292
|
-
], WatiMessage.prototype, "deliveredAt", void 0);
|
|
293
|
-
__decorate([
|
|
294
|
-
(0, swagger_1.ApiProperty)({
|
|
295
|
-
description: "Fecha de lectura del mensaje, si aplica",
|
|
296
|
-
required: false,
|
|
297
|
-
}),
|
|
298
|
-
(0, class_validator_1.IsDate)(),
|
|
299
|
-
(0, class_validator_1.IsOptional)(),
|
|
300
|
-
(0, typeorm_1.Column)({ type: "timestamp with time zone", nullable: true }),
|
|
301
|
-
__metadata("design:type", Date)
|
|
302
|
-
], WatiMessage.prototype, "readAt", void 0);
|
|
303
|
-
__decorate([
|
|
304
|
-
(0, swagger_1.ApiProperty)({
|
|
305
|
-
description: "ID del usuario interno que envió el mensaje (para mensajes outbound)",
|
|
158
|
+
description: "ID del User del CRM que envió el mensaje (si es outbound)",
|
|
306
159
|
required: false,
|
|
307
160
|
}),
|
|
308
161
|
(0, class_validator_1.IsString)(),
|
|
@@ -310,23 +163,12 @@ __decorate([
|
|
|
310
163
|
(0, typeorm_1.Index)(),
|
|
311
164
|
(0, typeorm_1.Column)({ type: "uuid", nullable: true }),
|
|
312
165
|
__metadata("design:type", String)
|
|
313
|
-
], WatiMessage.prototype, "
|
|
166
|
+
], WatiMessage.prototype, "sentByCrmUserId", void 0);
|
|
314
167
|
__decorate([
|
|
315
168
|
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, { onDelete: "SET NULL", nullable: true }),
|
|
316
|
-
(0, typeorm_1.JoinColumn)({ name: "
|
|
169
|
+
(0, typeorm_1.JoinColumn)({ name: "sentByCrmUserId" }),
|
|
317
170
|
__metadata("design:type", user_entity_1.User)
|
|
318
|
-
], WatiMessage.prototype, "
|
|
319
|
-
__decorate([
|
|
320
|
-
(0, swagger_1.ApiProperty)({
|
|
321
|
-
enum: wati_enum_1.WatiEventType,
|
|
322
|
-
description: "Tipo de evento de Wati que originó este mensaje",
|
|
323
|
-
required: false,
|
|
324
|
-
}),
|
|
325
|
-
(0, class_validator_1.IsEnum)(wati_enum_1.WatiEventType),
|
|
326
|
-
(0, class_validator_1.IsOptional)(),
|
|
327
|
-
(0, typeorm_1.Column)({ type: "enum", enum: wati_enum_1.WatiEventType, nullable: true }),
|
|
328
|
-
__metadata("design:type", String)
|
|
329
|
-
], WatiMessage.prototype, "watiEventType", void 0);
|
|
171
|
+
], WatiMessage.prototype, "sentByCrmUser", void 0);
|
|
330
172
|
exports.WatiMessage = WatiMessage = __decorate([
|
|
331
173
|
(0, typeorm_1.Entity)("wati_messages")
|
|
332
174
|
], WatiMessage);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wati-message.entity.js","sourceRoot":"","sources":["../../../../src/entities/thirdparty/wati/wati-message.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAuE;AACvE,6CAA8C;AAC9C,
|
|
1
|
+
{"version":3,"file":"wati-message.entity.js","sourceRoot":"","sources":["../../../../src/entities/thirdparty/wati/wati-message.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAuE;AACvE,6CAA8C;AAC9C,qDAA0F;AAC1F,yDAA8C;AAC9C,mDAAyC;AACzC,2CAAsG;AACtG,4CAAmD;AAG5C,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,yBAAgB;IAK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AAE,KAAK;KAChB,CAAC;IACD,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,eAAK,GAAE;IACP,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDAChB;AAIzB;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC/D,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC;8BACxB,kBAAI;kDAAC;sBAtHV,WAAW;IADvB,IAAA,gBAAM,EAAC,eAAe,CAAC;GACX,WAAW,CAuHvB"}
|
|
@@ -29,7 +29,6 @@ export declare enum WatiEventType {
|
|
|
29
29
|
sentMessageREAD = "sentMessageREAD",
|
|
30
30
|
sentMessageREPLIED = "sentMessageREPLIED",
|
|
31
31
|
templateMessageFailed = "templateMessageFailed",
|
|
32
|
-
sessionMessageSent_v2 = "sessionMessageSent_v2",
|
|
33
32
|
templateMessageSent_v2 = "templateMessageSent_v2",
|
|
34
33
|
sentMessageDELIVERED_v2 = "sentMessageDELIVERED_v2",
|
|
35
34
|
sentMessageREAD_v2 = "sentMessageREAD_v2",
|
|
@@ -36,7 +36,6 @@ var WatiEventType;
|
|
|
36
36
|
WatiEventType["sentMessageREAD"] = "sentMessageREAD";
|
|
37
37
|
WatiEventType["sentMessageREPLIED"] = "sentMessageREPLIED";
|
|
38
38
|
WatiEventType["templateMessageFailed"] = "templateMessageFailed";
|
|
39
|
-
WatiEventType["sessionMessageSent_v2"] = "sessionMessageSent_v2";
|
|
40
39
|
WatiEventType["templateMessageSent_v2"] = "templateMessageSent_v2";
|
|
41
40
|
WatiEventType["sentMessageDELIVERED_v2"] = "sentMessageDELIVERED_v2";
|
|
42
41
|
WatiEventType["sentMessageREAD_v2"] = "sentMessageREAD_v2";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wati.enum.js","sourceRoot":"","sources":["../../../../src/entities/thirdparty/wati/wati.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,oBAGX;AAHD,WAAY,oBAAoB;IAC9B,2CAAmB,CAAA;IACnB,6CAAqB,CAAA;AACvB,CAAC,EAHW,oBAAoB,oCAApB,oBAAoB,QAG/B;AAED,IAAY,iBAMX;AAND,WAAY,iBAAiB;IAC3B,wCAAmB,CAAA;IACnB,kCAAa,CAAA;IACb,4CAAuB,CAAA;IACvB,kCAAa,CAAA;IACb,sCAAiB,CAAA;AACnB,CAAC,EANW,iBAAiB,iCAAjB,iBAAiB,QAM5B;AAED,IAAY,eAUX;AAVD,WAAY,eAAe;IACzB,kCAAe,CAAA;IACf,gCAAa,CAAA;IACb,wCAAqB,CAAA;IACrB,wCAAqB,CAAA;IACrB,kCAAe,CAAA;IACf,kCAAe,CAAA;IACf,oCAAiB,CAAA;IACjB,kCAAe,CAAA;IACf,sCAAmB,CAAA;AACrB,CAAC,EAVW,eAAe,+BAAf,eAAe,QAU1B;AAED,IAAY,
|
|
1
|
+
{"version":3,"file":"wati.enum.js","sourceRoot":"","sources":["../../../../src/entities/thirdparty/wati/wati.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,oBAGX;AAHD,WAAY,oBAAoB;IAC9B,2CAAmB,CAAA;IACnB,6CAAqB,CAAA;AACvB,CAAC,EAHW,oBAAoB,oCAApB,oBAAoB,QAG/B;AAED,IAAY,iBAMX;AAND,WAAY,iBAAiB;IAC3B,wCAAmB,CAAA;IACnB,kCAAa,CAAA;IACb,4CAAuB,CAAA;IACvB,kCAAa,CAAA;IACb,sCAAiB,CAAA;AACnB,CAAC,EANW,iBAAiB,iCAAjB,iBAAiB,QAM5B;AAED,IAAY,eAUX;AAVD,WAAY,eAAe;IACzB,kCAAe,CAAA;IACf,gCAAa,CAAA;IACb,wCAAqB,CAAA;IACrB,wCAAqB,CAAA;IACrB,kCAAe,CAAA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