@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.
- package/esm2020/lib/_internal/enums/index.mjs +2 -2
- package/esm2020/lib/_internal/interfaces/api.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/message.interface.mjs +1 -1
- package/esm2020/lib/_internal/objects/api.mjs +7 -1
- package/esm2020/lib/_internal/objects/index.mjs +2 -2
- package/esm2020/lib/_internal/objects/message.mjs +7 -1
- package/fesm2015/vendasta-conversation.mjs +168 -156
- package/fesm2015/vendasta-conversation.mjs.map +1 -1
- package/fesm2020/vendasta-conversation.mjs +168 -156
- package/fesm2020/vendasta-conversation.mjs.map +1 -1
- package/lib/_internal/enums/index.d.ts +1 -1
- package/lib/_internal/interfaces/api.interface.d.ts +1 -0
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/interfaces/message.interface.d.ts +1 -0
- package/lib/_internal/objects/api.d.ts +1 -0
- package/lib/_internal/objects/index.d.ts +1 -1
- package/lib/_internal/objects/message.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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';
|
|
@@ -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;
|