@trii/types 2.10.653 → 2.10.655

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,12 @@ interface IChannelInfo {
30
30
  * ID of the channel in the external system.
31
31
  */
32
32
  externalChannelId?: string | null;
33
+ /**
34
+ * Indicates the status of the channel.
35
+ * actually each channel type has its own status values, so this property is a string to accommodate that.
36
+ * TODO: which can be one of the following values: "ACTIVE", "INACTIVE", "DELETED", "ERROR", "PROVISIONING", "DEPROVISIONING", "SUSPENDED", or "CONFIGURATION_PENDING".
37
+ */
38
+ status?: string;
33
39
  }
34
40
  interface IChannel {
35
41
  id?: string | null;
@@ -1,4 +1,4 @@
1
- export type QueueType = 'Conversation' | 'Message' | 'MessageStatus' | 'MessageAckStatus' | 'Post' | 'PostComment' | 'PostReaction' | 'PostCommentReaction' | 'PostResponse' | 'Reaction' | 'ChannelML' | 'Template' | 'Email' | 'ProfilePic' | 'ChannelState' | 'WhatsAppQualityUpdate' | 'WhatsAppAccountUpdate' | 'WhatsAppCapabilityUpdate' | 'WhatsAppCapabilityUpdate';
1
+ export type QueueType = 'Conversation' | 'Message' | 'MessageStatus' | 'MessageAckStatus' | 'Post' | 'PostComment' | 'PostReaction' | 'PostCommentReaction' | 'PostResponse' | 'Reaction' | 'ChannelML' | 'Template' | 'Email' | 'ProfilePic' | 'ChannelState' | 'WhatsAppQualityUpdate' | 'WhatsAppAccountUpdate' | 'WhatsAppCapabilityUpdate' | 'WhatsAppCapabilityUpdate' | 'WhatsAppPairCode';
2
2
  export type QueueAction = 'add' | 'remove' | 'edited' | 'react' | 'unreact' | 'Reject' | 'Bounce' | 'Complaint';
3
3
  export type EventQueue = {
4
4
  type: QueueType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trii/types",
3
- "version": "2.10.653",
3
+ "version": "2.10.655",
4
4
  "description": "Types definitions for Trii projects - ",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",