@vendasta/conversation 0.55.0 → 0.56.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/common.enum.mjs +2 -1
- package/esm2020/lib/_internal/enums/participant.enum.mjs +2 -1
- package/esm2020/lib/_internal/interfaces/api.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/common.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/configuration.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/evaluation.interface.mjs +8 -0
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/participant.interface.mjs +1 -7
- package/esm2020/lib/_internal/objects/api.mjs +4 -1
- package/esm2020/lib/_internal/objects/common.mjs +27 -1
- package/esm2020/lib/_internal/objects/configuration.mjs +4 -1
- package/esm2020/lib/_internal/objects/evaluation.mjs +7 -0
- package/esm2020/lib/_internal/objects/index.mjs +2 -2
- package/esm2020/lib/_internal/objects/participant.mjs +14 -1
- package/fesm2015/vendasta-conversation.mjs +47 -1
- package/fesm2015/vendasta-conversation.mjs.map +1 -1
- package/fesm2020/vendasta-conversation.mjs +47 -1
- package/fesm2020/vendasta-conversation.mjs.map +1 -1
- package/lib/_internal/enums/common.enum.d.ts +2 -1
- package/lib/_internal/enums/participant.enum.d.ts +2 -1
- package/lib/_internal/interfaces/api.interface.d.ts +1 -0
- package/lib/_internal/interfaces/common.interface.d.ts +4 -0
- package/lib/_internal/interfaces/configuration.interface.d.ts +1 -0
- package/lib/_internal/interfaces/evaluation.interface.d.ts +1 -0
- package/lib/_internal/interfaces/index.d.ts +2 -1
- package/lib/_internal/interfaces/participant.interface.d.ts +3 -0
- package/lib/_internal/objects/api.d.ts +1 -0
- package/lib/_internal/objects/common.d.ts +7 -0
- package/lib/_internal/objects/configuration.d.ts +1 -0
- package/lib/_internal/objects/evaluation.d.ts +1 -0
- package/lib/_internal/objects/index.d.ts +2 -1
- package/lib/_internal/objects/participant.d.ts +3 -0
- package/package.json +1 -1
|
@@ -8,7 +8,8 @@ export declare enum GlobalParticipantType {
|
|
|
8
8
|
GLOBAL_PARTICIPANT_TYPE_DIGITAL_AGENT = 6,
|
|
9
9
|
GLOBAL_PARTICIPANT_TYPE_VENDOR = 7,
|
|
10
10
|
GLOBAL_PARTICIPANT_TYPE_OPENAI_BOT = 8,
|
|
11
|
-
GLOBAL_PARTICIPANT_TYPE_ANONYMOUS = 9
|
|
11
|
+
GLOBAL_PARTICIPANT_TYPE_ANONYMOUS = 9,
|
|
12
|
+
GLOBAL_PARTICIPANT_TYPE_GROUP = 10
|
|
12
13
|
}
|
|
13
14
|
export declare enum SortDirection {
|
|
14
15
|
SORT_DIRECTION_DESCENDING = 0,
|
|
@@ -58,6 +58,7 @@ export interface CreateMultiMessagesRequestInterface {
|
|
|
58
58
|
}
|
|
59
59
|
export interface CreateWidgetConversationRequestInterface {
|
|
60
60
|
widgetId?: string;
|
|
61
|
+
chatSourceUrl?: string;
|
|
61
62
|
}
|
|
62
63
|
export interface CreateWidgetConversationResponseInterface {
|
|
63
64
|
widgetParticipantToken?: string;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import * as e from '../enums';
|
|
2
|
+
export interface NamespaceDetailInterface {
|
|
3
|
+
participantType?: e.GlobalParticipantType;
|
|
4
|
+
internalParticipantId?: string;
|
|
5
|
+
}
|
|
2
6
|
export interface SubjectParticipantInterface {
|
|
3
7
|
participantType?: e.GlobalParticipantType;
|
|
4
8
|
internalParticipantId?: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { SubjectParticipantInterface, } from './common.interface';
|
|
1
|
+
export { NamespaceDetailInterface, SubjectParticipantInterface, } from './common.interface';
|
|
2
2
|
export { ConversationInterface, ConversationKeyInterface, LastSeenByParticipantInterface, } from './conversation.interface';
|
|
3
3
|
export { MessageInterface, ParticipantMessageStatusInterface, SendStatusInterface, } from './message.interface';
|
|
4
4
|
export { AddressInterface, ParticipantInterface, ParticipantKeyInterface, } from './participant.interface';
|
|
@@ -6,6 +6,7 @@ export { AccessInterface, } from './annotations.interface';
|
|
|
6
6
|
export { ConfigurationInterface, } from './configuration.interface';
|
|
7
7
|
export { ViewInterface, } from './conversation-view.interface';
|
|
8
8
|
export { DataSourcesInterface, WidgetInterface, } from './widget.interface';
|
|
9
|
+
export {} from './evaluation.interface';
|
|
9
10
|
export { FieldMaskInterface, } from './field-mask.interface';
|
|
10
11
|
export { MessageTemplateInterface, } from './message-template.interface';
|
|
11
12
|
export { AddConversationToConversationViewRequestInterface, AddMultiParticipantsRequestInterface, AddMultiParticipantsResponseInterface, ConversationMessageCountInterface, LookupConversationsResponseConversationsInterface, GetMultiConversationMessageCountResponseCountsEntryInterface, CreateConversationRequestInterface, CreateConversationResponseInterface, CreateMessageTemplateRequestInterface, CreateMessageTemplateResponseInterface, CreateMultiMessagesRequestInterface, CreateWidgetConversationRequestInterface, CreateWidgetConversationResponseInterface, CreateWidgetRequestInterface, CreateWidgetResponseInterface, MetadataDataEntryInterface, DeleteConversationRequestInterface, DeleteMessageRequestInterface, DeleteMessageTemplateRequestInterface, DeleteWidgetRequestInterface, SearchConversationsResponseDetailedConversationInterface, GetMultiConversationDetailsResponseDetailedConversationInterface, EvaluateResponseRequestInterface, GetAvailableChannelsForConversationRequestInterface, GetAvailableChannelsForConversationResponseInterface, GetConfigurationRequestInterface, GetConfigurationResponseInterface, GetConversationByKeyRequestInterface, GetConversationByKeyResponseInterface, GetConversationViewsRequestInterface, GetConversationViewsResponseInterface, GetMessageRequestInterface, GetMessageTemplateRequestInterface, GetMessageTemplateResponseInterface, GetMultiConfigurationRequestInterface, GetMultiConfigurationResponseInterface, GetMultiConversationDetailsRequestInterface, GetMultiConversationDetailsResponseInterface, GetMultiConversationMessageCountRequestInterface, GetMultiConversationMessageCountResponseInterface, GetMultiMessagesRequestInterface, GetMultiMessagesResponseInterface, GetMultiParticipantsRequestInterface, GetMultiParticipantsResponseInterface, GetMultiWidgetMessagesRequestInterface, GetMultiWidgetMessagesResponseInterface, GetParticipantsByKeyRequestInterface, GetParticipantsByKeyResponseInterface, GetWidgetConfigRequestInterface, GetWidgetConfigResponseInterface, GetWidgetConversationResponseInterface, GetWidgetRequestInterface, GetWidgetResponseInterface, ListMessageTemplateRequestInterface, ListMessageTemplateResponseInterface, ListMessagesRequestListMessagesFiltersInterface, ListMessagesRequestInterface, ListMessagesResponseInterface, ListWidgetsRequestInterface, ListWidgetsResponseInterface, LookupConversationsRequestLookupConversationsFiltersInterface, LookupConversationsRequestInterface, LookupConversationsResponseInterface, MediaInterface, MetadataInterface, ReceiveMessageRequestMetadataEntryInterface, PagedRequestOptionsInterface, PagedResponseMetadataInterface, ReceiveMessageRequestInterface, RemoveConversationFromConversationViewRequestInterface, SearchConversationsRequestInterface, SearchConversationsResponseInterface, SendMessageRequestInterface, SendMessageResponseInterface, SendWidgetMessageRequestInterface, SendWidgetMessageResponseInterface, SetLastSeenRequestInterface, SetLastSeenResponseInterface, UpdateConversationRequestInterface, UpdateConversationResponseInterface, UpdateMessageStatusRequestInterface, UpdateMessageTemplateRequestInterface, UpdateMessageTemplateResponseInterface, UpdateWidgetRequestInterface, UpdateWidgetResponseInterface, UpsertConfigurationRequestInterface, UpsertConfigurationResponseInterface, } from './api.interface';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { NamespaceDetailInterface } from './common.interface';
|
|
1
2
|
import * as e from '../enums';
|
|
2
3
|
export interface AddressInterface {
|
|
3
4
|
firstLineAddress?: string;
|
|
@@ -26,6 +27,7 @@ export interface ParticipantInterface {
|
|
|
26
27
|
isSubjectParticipant?: boolean;
|
|
27
28
|
isParticipantInternalInfoDeleted?: boolean;
|
|
28
29
|
profileImageUrl?: string;
|
|
30
|
+
namespaceHierarchy?: NamespaceDetailInterface[];
|
|
29
31
|
}
|
|
30
32
|
export interface ParticipantKeyInterface {
|
|
31
33
|
internalParticipantId?: string;
|
|
@@ -34,4 +36,5 @@ export interface ParticipantKeyInterface {
|
|
|
34
36
|
location?: e.PlatformLocation;
|
|
35
37
|
channels?: e.ConversationChannel[];
|
|
36
38
|
participantType?: e.GlobalParticipantType;
|
|
39
|
+
namespaceHierarchy?: NamespaceDetailInterface[];
|
|
37
40
|
}
|
|
@@ -93,6 +93,7 @@ export declare class CreateMultiMessagesRequest implements i.CreateMultiMessages
|
|
|
93
93
|
}
|
|
94
94
|
export declare class CreateWidgetConversationRequest implements i.CreateWidgetConversationRequestInterface {
|
|
95
95
|
widgetId: string;
|
|
96
|
+
chatSourceUrl: string;
|
|
96
97
|
static fromProto(proto: any): CreateWidgetConversationRequest;
|
|
97
98
|
constructor(kwargs?: i.CreateWidgetConversationRequestInterface);
|
|
98
99
|
toApiJson(): object;
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import * as i from '../interfaces';
|
|
2
2
|
import * as e from '../enums';
|
|
3
3
|
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
4
|
+
export declare class NamespaceDetail implements i.NamespaceDetailInterface {
|
|
5
|
+
participantType: e.GlobalParticipantType;
|
|
6
|
+
internalParticipantId: string;
|
|
7
|
+
static fromProto(proto: any): NamespaceDetail;
|
|
8
|
+
constructor(kwargs?: i.NamespaceDetailInterface);
|
|
9
|
+
toApiJson(): object;
|
|
10
|
+
}
|
|
4
11
|
export declare class SubjectParticipant implements i.SubjectParticipantInterface {
|
|
5
12
|
participantType: e.GlobalParticipantType;
|
|
6
13
|
internalParticipantId: string;
|
|
@@ -12,6 +12,7 @@ export declare class Configuration implements i.ConfigurationInterface {
|
|
|
12
12
|
inboxProEnabled: boolean;
|
|
13
13
|
webChatEnabled: boolean;
|
|
14
14
|
facebookMessengerEnabled: boolean;
|
|
15
|
+
multiLocationEnabled: boolean;
|
|
15
16
|
static fromProto(proto: any): Configuration;
|
|
16
17
|
constructor(kwargs?: i.ConfigurationInterface);
|
|
17
18
|
toApiJson(): object;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { SubjectParticipant, } from './common';
|
|
1
|
+
export { NamespaceDetail, SubjectParticipant, } from './common';
|
|
2
2
|
export { Conversation, ConversationKey, LastSeenByParticipant, } from './conversation';
|
|
3
3
|
export { Message, ParticipantMessageStatus, SendStatus, } from './message';
|
|
4
4
|
export { Address, Participant, ParticipantKey, } from './participant';
|
|
@@ -6,6 +6,7 @@ export { Access, } from './annotations';
|
|
|
6
6
|
export { Configuration, } from './configuration';
|
|
7
7
|
export { View, } from './conversation-view';
|
|
8
8
|
export { DataSources, Widget, } from './widget';
|
|
9
|
+
export {} from './evaluation';
|
|
9
10
|
export { FieldMask, } from './field-mask';
|
|
10
11
|
export { MessageTemplate, } from './message-template';
|
|
11
12
|
export { AddConversationToConversationViewRequest, AddMultiParticipantsRequest, AddMultiParticipantsResponse, ConversationMessageCount, LookupConversationsResponseConversations, GetMultiConversationMessageCountResponseCountsEntry, CreateConversationRequest, CreateConversationResponse, CreateMessageTemplateRequest, CreateMessageTemplateResponse, CreateMultiMessagesRequest, CreateWidgetConversationRequest, CreateWidgetConversationResponse, CreateWidgetRequest, CreateWidgetResponse, MetadataDataEntry, DeleteConversationRequest, DeleteMessageRequest, DeleteMessageTemplateRequest, DeleteWidgetRequest, SearchConversationsResponseDetailedConversation, GetMultiConversationDetailsResponseDetailedConversation, EvaluateResponseRequest, GetAvailableChannelsForConversationRequest, GetAvailableChannelsForConversationResponse, GetConfigurationRequest, GetConfigurationResponse, GetConversationByKeyRequest, GetConversationByKeyResponse, GetConversationViewsRequest, GetConversationViewsResponse, GetMessageRequest, GetMessageTemplateRequest, GetMessageTemplateResponse, GetMultiConfigurationRequest, GetMultiConfigurationResponse, GetMultiConversationDetailsRequest, GetMultiConversationDetailsResponse, GetMultiConversationMessageCountRequest, GetMultiConversationMessageCountResponse, GetMultiMessagesRequest, GetMultiMessagesResponse, GetMultiParticipantsRequest, GetMultiParticipantsResponse, GetMultiWidgetMessagesRequest, GetMultiWidgetMessagesResponse, GetParticipantsByKeyRequest, GetParticipantsByKeyResponse, GetWidgetConfigRequest, GetWidgetConfigResponse, GetWidgetConversationResponse, GetWidgetRequest, GetWidgetResponse, ListMessageTemplateRequest, ListMessageTemplateResponse, ListMessagesRequestListMessagesFilters, ListMessagesRequest, ListMessagesResponse, ListWidgetsRequest, ListWidgetsResponse, LookupConversationsRequestLookupConversationsFilters, LookupConversationsRequest, LookupConversationsResponse, Media, Metadata, ReceiveMessageRequestMetadataEntry, PagedRequestOptions, PagedResponseMetadata, ReceiveMessageRequest, RemoveConversationFromConversationViewRequest, SearchConversationsRequest, SearchConversationsResponse, SendMessageRequest, SendMessageResponse, SendWidgetMessageRequest, SendWidgetMessageResponse, SetLastSeenRequest, SetLastSeenResponse, UpdateConversationRequest, UpdateConversationResponse, UpdateMessageStatusRequest, UpdateMessageTemplateRequest, UpdateMessageTemplateResponse, UpdateWidgetRequest, UpdateWidgetResponse, UpsertConfigurationRequest, UpsertConfigurationResponse, } from './api';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as i from '../interfaces';
|
|
2
|
+
import { NamespaceDetail } from './common';
|
|
2
3
|
import * as e from '../enums';
|
|
3
4
|
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
4
5
|
export declare class Address implements i.AddressInterface {
|
|
@@ -31,6 +32,7 @@ export declare class Participant implements i.ParticipantInterface {
|
|
|
31
32
|
isSubjectParticipant: boolean;
|
|
32
33
|
isParticipantInternalInfoDeleted: boolean;
|
|
33
34
|
profileImageUrl: string;
|
|
35
|
+
namespaceHierarchy: NamespaceDetail[];
|
|
34
36
|
static fromProto(proto: any): Participant;
|
|
35
37
|
constructor(kwargs?: i.ParticipantInterface);
|
|
36
38
|
toApiJson(): object;
|
|
@@ -42,6 +44,7 @@ export declare class ParticipantKey implements i.ParticipantKeyInterface {
|
|
|
42
44
|
location: e.PlatformLocation;
|
|
43
45
|
channels: e.ConversationChannel[];
|
|
44
46
|
participantType: e.GlobalParticipantType;
|
|
47
|
+
namespaceHierarchy: NamespaceDetail[];
|
|
45
48
|
static fromProto(proto: any): ParticipantKey;
|
|
46
49
|
constructor(kwargs?: i.ParticipantKeyInterface);
|
|
47
50
|
toApiJson(): object;
|