@vendasta/conversation 0.41.0 → 0.42.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.
@@ -1,6 +1,6 @@
1
- export { MessageStatus, MessageType, } from './message.enum';
2
1
  export { GlobalParticipantType, SortDirection, } from './common.enum';
3
2
  export { ConversationChannel, PlatformLocation, } from './conversation.enum';
3
+ export { MessageStatus, MessageType, } from './message.enum';
4
4
  export { ParticipantType, } from './participant.enum';
5
5
  export { ViewType, } from './conversation-view.enum';
6
6
  export { WidgetPosition, } from './widget.enum';
@@ -277,6 +277,7 @@ export interface SendMessageRequestInterface {
277
277
  metadata?: MetadataInterface[];
278
278
  originLocation?: e.PlatformLocation;
279
279
  media?: MediaInterface[];
280
+ channel?: e.ConversationChannel;
280
281
  }
281
282
  export interface SendMessageResponseInterface {
282
283
  workflowId?: string;
@@ -1,6 +1,6 @@
1
- export { MessageInterface, ParticipantMessageStatusInterface, SendStatusInterface, } from './message.interface';
2
1
  export { SubjectParticipantInterface, } from './common.interface';
3
2
  export { ConversationInterface, ConversationKeyInterface, LastSeenByParticipantInterface, } from './conversation.interface';
3
+ export { MessageInterface, ParticipantMessageStatusInterface, SendStatusInterface, } from './message.interface';
4
4
  export { AddressInterface, ParticipantInterface, ParticipantKeyInterface, } from './participant.interface';
5
5
  export { AccessInterface, } from './annotations.interface';
6
6
  export { ConfigurationInterface, } from './configuration.interface';
@@ -12,6 +12,7 @@ export interface MessageInterface {
12
12
  deleted?: Date;
13
13
  media?: string[];
14
14
  sendStatus?: SendStatusInterface;
15
+ channel?: e.ConversationChannel;
15
16
  }
16
17
  export interface ParticipantMessageStatusInterface {
17
18
  participantId?: string;
@@ -465,6 +465,7 @@ export declare class SendMessageRequest implements i.SendMessageRequestInterface
465
465
  metadata: Metadata[];
466
466
  originLocation: e.PlatformLocation;
467
467
  media: Media[];
468
+ channel: e.ConversationChannel;
468
469
  static fromProto(proto: any): SendMessageRequest;
469
470
  constructor(kwargs?: i.SendMessageRequestInterface);
470
471
  toApiJson(): object;
@@ -1,6 +1,6 @@
1
- export { Message, ParticipantMessageStatus, SendStatus, } from './message';
2
1
  export { SubjectParticipant, } from './common';
3
2
  export { Conversation, ConversationKey, LastSeenByParticipant, } from './conversation';
3
+ export { Message, ParticipantMessageStatus, SendStatus, } from './message';
4
4
  export { Address, Participant, ParticipantKey, } from './participant';
5
5
  export { Access, } from './annotations';
6
6
  export { Configuration, } from './configuration';
@@ -14,6 +14,7 @@ export declare class Message implements i.MessageInterface {
14
14
  deleted: Date;
15
15
  media: string[];
16
16
  sendStatus: SendStatus;
17
+ channel: e.ConversationChannel;
17
18
  static fromProto(proto: any): Message;
18
19
  constructor(kwargs?: i.MessageInterface);
19
20
  toApiJson(): object;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/conversation",
3
- "version": "0.41.0",
3
+ "version": "0.42.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0"