@trii/types 2.10.772 → 2.10.773
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.
|
@@ -51,7 +51,9 @@ export declare enum MessageType {
|
|
|
51
51
|
COMMENT = 6,
|
|
52
52
|
INFO = 7,
|
|
53
53
|
NOTIFICATION_NEW_CONVERSATION = 12,
|
|
54
|
-
N2B = 13
|
|
54
|
+
N2B = 13,
|
|
55
|
+
/** History activity; the payload (for example, ticket) identifies its content. */
|
|
56
|
+
ACTIVITY = 14
|
|
55
57
|
}
|
|
56
58
|
export type MessageType2 = 'audio' | 'button' | 'contact' | 'document' | 'image' | 'location' | 'sticker' | 'text' | 'video' | 'interactive';
|
|
57
59
|
export interface MessageHeader {
|
|
@@ -267,9 +269,13 @@ export interface MessageInfoVar {
|
|
|
267
269
|
conversationDetails?: string;
|
|
268
270
|
}
|
|
269
271
|
export interface MessageTicket {
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
272
|
+
id: string;
|
|
273
|
+
number: number;
|
|
274
|
+
title: string;
|
|
275
|
+
description?: string;
|
|
276
|
+
stage: string;
|
|
277
|
+
priority: string;
|
|
278
|
+
version: number;
|
|
273
279
|
}
|
|
274
280
|
export interface MessageForm {
|
|
275
281
|
url: string;
|
|
@@ -34,6 +34,8 @@ var MessageType;
|
|
|
34
34
|
MessageType[MessageType["INFO"] = 7] = "INFO";
|
|
35
35
|
MessageType[MessageType["NOTIFICATION_NEW_CONVERSATION"] = 12] = "NOTIFICATION_NEW_CONVERSATION";
|
|
36
36
|
MessageType[MessageType["N2B"] = 13] = "N2B";
|
|
37
|
+
/** History activity; the payload (for example, ticket) identifies its content. */
|
|
38
|
+
MessageType[MessageType["ACTIVITY"] = 14] = "ACTIVITY";
|
|
37
39
|
})(MessageType || (exports.MessageType = MessageType = {}));
|
|
38
40
|
var MessageHeaderType;
|
|
39
41
|
(function (MessageHeaderType) {
|