@trii/types 2.10.639 → 2.10.640
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.
|
@@ -30,6 +30,19 @@ interface IChannel {
|
|
|
30
30
|
assignTo?: ConversationAssigned;
|
|
31
31
|
assignMethod: AssignMethod;
|
|
32
32
|
assignToOwner?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* habilita la creacion de conversaciones para este canal, si esta en false, los mensajes entrantes no generaran conversaciones
|
|
35
|
+
*/
|
|
36
|
+
conversationsEnabled: boolean | false;
|
|
37
|
+
/**
|
|
38
|
+
* Gets or sets a value indicating whether webhook notifications are enabled.
|
|
39
|
+
* Redirects incoming messages to the specified webhook URL when set to true.
|
|
40
|
+
*/
|
|
41
|
+
webhookEnabled: boolean | false;
|
|
42
|
+
/**Gets or sets the URL of the webhook endpoint to which notifications are sent. */
|
|
43
|
+
webhookUrl?: string | null;
|
|
44
|
+
/**Used to sign the webhook payloads, to verify that they come from Trii. The receiver webhook endpoint should have the logic to verify the signature using this secret. */
|
|
45
|
+
webhookSecret?: string | null;
|
|
33
46
|
email?: EmailConfig | null;
|
|
34
47
|
sms?: SmsConfig | null;
|
|
35
48
|
webChat?: WebChatConfig | null;
|