@vendasta/conversation 0.40.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 +13 -1
- package/esm2020/lib/_internal/objects/index.mjs +2 -2
- package/esm2020/lib/_internal/objects/message.mjs +7 -1
- package/fesm2015/vendasta-conversation.mjs +174 -156
- package/fesm2015/vendasta-conversation.mjs.map +1 -1
- package/fesm2020/vendasta-conversation.mjs +174 -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 +3 -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 +3 -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';
|
|
@@ -132,6 +132,7 @@ export interface GetMultiConversationMessageCountResponseInterface {
|
|
|
132
132
|
export interface GetMultiMessagesRequestInterface {
|
|
133
133
|
messageIds?: string[];
|
|
134
134
|
conversationId?: string;
|
|
135
|
+
languageCode?: string;
|
|
135
136
|
}
|
|
136
137
|
export interface GetMultiMessagesResponseInterface {
|
|
137
138
|
messages?: MessageInterface[];
|
|
@@ -276,9 +277,11 @@ export interface SendMessageRequestInterface {
|
|
|
276
277
|
metadata?: MetadataInterface[];
|
|
277
278
|
originLocation?: e.PlatformLocation;
|
|
278
279
|
media?: MediaInterface[];
|
|
280
|
+
channel?: e.ConversationChannel;
|
|
279
281
|
}
|
|
280
282
|
export interface SendMessageResponseInterface {
|
|
281
283
|
workflowId?: string;
|
|
284
|
+
messageId?: string;
|
|
282
285
|
}
|
|
283
286
|
export interface SendWidgetMessageRequestInterface {
|
|
284
287
|
type?: e.MessageType;
|
|
@@ -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';
|
|
@@ -230,6 +230,7 @@ export declare class GetMultiConversationMessageCountResponse implements i.GetMu
|
|
|
230
230
|
export declare class GetMultiMessagesRequest implements i.GetMultiMessagesRequestInterface {
|
|
231
231
|
messageIds: string[];
|
|
232
232
|
conversationId: string;
|
|
233
|
+
languageCode: string;
|
|
233
234
|
static fromProto(proto: any): GetMultiMessagesRequest;
|
|
234
235
|
constructor(kwargs?: i.GetMultiMessagesRequestInterface);
|
|
235
236
|
toApiJson(): object;
|
|
@@ -464,12 +465,14 @@ export declare class SendMessageRequest implements i.SendMessageRequestInterface
|
|
|
464
465
|
metadata: Metadata[];
|
|
465
466
|
originLocation: e.PlatformLocation;
|
|
466
467
|
media: Media[];
|
|
468
|
+
channel: e.ConversationChannel;
|
|
467
469
|
static fromProto(proto: any): SendMessageRequest;
|
|
468
470
|
constructor(kwargs?: i.SendMessageRequestInterface);
|
|
469
471
|
toApiJson(): object;
|
|
470
472
|
}
|
|
471
473
|
export declare class SendMessageResponse implements i.SendMessageResponseInterface {
|
|
472
474
|
workflowId: string;
|
|
475
|
+
messageId: string;
|
|
473
476
|
static fromProto(proto: any): SendMessageResponse;
|
|
474
477
|
constructor(kwargs?: i.SendMessageResponseInterface);
|
|
475
478
|
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;
|