@vendasta/conversation 0.77.0 → 0.78.0

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.
@@ -8,7 +8,8 @@ export declare enum ConversationChannel {
8
8
  CONVERSATION_CHANNEL_EMAIL = 6,
9
9
  CONVERSATION_CHANNEL_GOOGLE_BUSINESS_COMMUNICATIONS = 7,
10
10
  CONVERSATION_CHANNEL_WEB_CHAT = 8,
11
- CONVERSATION_CHANNEL_INSTAGRAM = 9
11
+ CONVERSATION_CHANNEL_INSTAGRAM = 9,
12
+ CONVERSATION_CHANNEL_WHATSAPP = 10
12
13
  }
13
14
  export declare enum PlatformLocation {
14
15
  PLATFORM_LOCATION_UNDEFINED = 0,
@@ -20,6 +20,7 @@ export interface ConversationInterface {
20
20
  subjectParticipants?: SubjectParticipantInterface[];
21
21
  isOpen?: boolean;
22
22
  aiConfiguration?: AIConfigurationInterface;
23
+ latestMsgSentTimeBySubjectParticipant?: LatestMessageSentTimeBySubjectParticipantInterface[];
23
24
  }
24
25
  export interface ConversationKeyInterface {
25
26
  subjectParticipants?: SubjectParticipantInterface[];
@@ -30,3 +31,7 @@ export interface LastSeenByParticipantInterface {
30
31
  participantId?: string;
31
32
  lastSeenTime?: Date;
32
33
  }
34
+ export interface LatestMessageSentTimeBySubjectParticipantInterface {
35
+ subjectParticipant?: SubjectParticipantInterface;
36
+ time?: Date;
37
+ }
@@ -1,5 +1,5 @@
1
1
  export { NamespaceDetailInterface, SubjectParticipantInterface, } from './common.interface';
2
- export { AIConfigurationInterface, ConversationInterface, ConversationKeyInterface, LastSeenByParticipantInterface, } from './conversation.interface';
2
+ export { AIConfigurationInterface, ConversationInterface, ConversationKeyInterface, LastSeenByParticipantInterface, LatestMessageSentTimeBySubjectParticipantInterface, } from './conversation.interface';
3
3
  export { KeyValuePairInterface, MessageInterface, ParticipantMessageStatusInterface, SendStatusInterface, } from './message.interface';
4
4
  export { AddressInterface, ParticipantInterface, ParticipantKeyInterface, } from './participant.interface';
5
5
  export { AccessInterface, } from './annotations.interface';
@@ -25,6 +25,7 @@ export declare class Conversation implements i.ConversationInterface {
25
25
  subjectParticipants: SubjectParticipant[];
26
26
  isOpen: boolean;
27
27
  aiConfiguration: AIConfiguration;
28
+ latestMsgSentTimeBySubjectParticipant: LatestMessageSentTimeBySubjectParticipant[];
28
29
  static fromProto(proto: any): Conversation;
29
30
  constructor(kwargs?: i.ConversationInterface);
30
31
  toApiJson(): object;
@@ -44,3 +45,10 @@ export declare class LastSeenByParticipant implements i.LastSeenByParticipantInt
44
45
  constructor(kwargs?: i.LastSeenByParticipantInterface);
45
46
  toApiJson(): object;
46
47
  }
48
+ export declare class LatestMessageSentTimeBySubjectParticipant implements i.LatestMessageSentTimeBySubjectParticipantInterface {
49
+ subjectParticipant: SubjectParticipant;
50
+ time: Date;
51
+ static fromProto(proto: any): LatestMessageSentTimeBySubjectParticipant;
52
+ constructor(kwargs?: i.LatestMessageSentTimeBySubjectParticipantInterface);
53
+ toApiJson(): object;
54
+ }
@@ -1,5 +1,5 @@
1
1
  export { NamespaceDetail, SubjectParticipant, } from './common';
2
- export { AIConfiguration, Conversation, ConversationKey, LastSeenByParticipant, } from './conversation';
2
+ export { AIConfiguration, Conversation, ConversationKey, LastSeenByParticipant, LatestMessageSentTimeBySubjectParticipant, } from './conversation';
3
3
  export { KeyValuePair, Message, ParticipantMessageStatus, SendStatus, } from './message';
4
4
  export { Address, Participant, ParticipantKey, } from './participant';
5
5
  export { Access, } from './annotations';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/conversation",
3
- "version": "0.77.0",
3
+ "version": "0.78.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.0",
6
6
  "@angular/core": "^17.3.0"