@vendasta/conversation 0.122.0 → 0.123.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/esm2022/lib/_internal/conversation.api.service.mjs +17 -2
- package/esm2022/lib/_internal/enums/api.enum.mjs +8 -1
- package/esm2022/lib/_internal/enums/index.mjs +3 -2
- package/esm2022/lib/_internal/enums/message.enum.mjs +4 -1
- package/esm2022/lib/_internal/enums/ui-components.enum.mjs +14 -0
- package/esm2022/lib/_internal/interfaces/api.interface.mjs +1 -1
- package/esm2022/lib/_internal/interfaces/configuration.interface.mjs +1 -1
- package/esm2022/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2022/lib/_internal/interfaces/message.interface.mjs +1 -1
- package/esm2022/lib/_internal/interfaces/ui-components.interface.mjs +1 -1
- package/esm2022/lib/_internal/objects/ai-thought.mjs +1 -1
- package/esm2022/lib/_internal/objects/aisystemmessage.mjs +1 -1
- package/esm2022/lib/_internal/objects/annotations.mjs +1 -1
- package/esm2022/lib/_internal/objects/api.mjs +342 -67
- package/esm2022/lib/_internal/objects/common.mjs +1 -1
- package/esm2022/lib/_internal/objects/configuration.mjs +9 -1
- package/esm2022/lib/_internal/objects/conversation-export.mjs +1 -1
- package/esm2022/lib/_internal/objects/conversation-view.mjs +1 -1
- package/esm2022/lib/_internal/objects/conversation.mjs +1 -1
- package/esm2022/lib/_internal/objects/evaluation.mjs +1 -1
- package/esm2022/lib/_internal/objects/event.mjs +1 -1
- package/esm2022/lib/_internal/objects/field-mask.mjs +1 -1
- package/esm2022/lib/_internal/objects/index.mjs +3 -3
- package/esm2022/lib/_internal/objects/message-template.mjs +1 -1
- package/esm2022/lib/_internal/objects/message.mjs +23 -2
- package/esm2022/lib/_internal/objects/participant.mjs +1 -1
- package/esm2022/lib/_internal/objects/ui-components.mjs +163 -1
- package/esm2022/lib/_internal/objects/widget.mjs +1 -1
- package/fesm2022/vendasta-conversation.mjs +571 -67
- package/fesm2022/vendasta-conversation.mjs.map +1 -1
- package/lib/_internal/conversation.api.service.d.ts +5 -2
- package/lib/_internal/enums/api.enum.d.ts +7 -1
- package/lib/_internal/enums/index.d.ts +2 -1
- package/lib/_internal/enums/message.enum.d.ts +4 -1
- package/lib/_internal/enums/ui-components.enum.d.ts +6 -0
- package/lib/_internal/interfaces/api.interface.d.ts +53 -12
- package/lib/_internal/interfaces/configuration.interface.d.ts +2 -0
- package/lib/_internal/interfaces/index.d.ts +2 -2
- package/lib/_internal/interfaces/message.interface.d.ts +4 -1
- package/lib/_internal/interfaces/ui-components.interface.d.ts +27 -0
- package/lib/_internal/objects/ai-thought.d.ts +1 -1
- package/lib/_internal/objects/aisystemmessage.d.ts +1 -1
- package/lib/_internal/objects/annotations.d.ts +1 -1
- package/lib/_internal/objects/api.d.ts +93 -25
- package/lib/_internal/objects/common.d.ts +1 -1
- package/lib/_internal/objects/configuration.d.ts +3 -1
- package/lib/_internal/objects/conversation-export.d.ts +1 -1
- package/lib/_internal/objects/conversation-view.d.ts +1 -1
- package/lib/_internal/objects/conversation.d.ts +1 -1
- package/lib/_internal/objects/evaluation.d.ts +1 -1
- package/lib/_internal/objects/event.d.ts +1 -1
- package/lib/_internal/objects/field-mask.d.ts +1 -1
- package/lib/_internal/objects/index.d.ts +2 -2
- package/lib/_internal/objects/message-template.d.ts +1 -1
- package/lib/_internal/objects/message.d.ts +5 -2
- package/lib/_internal/objects/participant.d.ts +1 -1
- package/lib/_internal/objects/ui-components.d.ts +43 -1
- package/lib/_internal/objects/widget.d.ts +1 -1
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AddConversationToConversationViewRequest, AddMultiParticipantsRequest, AddMultiParticipantsResponse, CancelAIResponderRequest, CreateConversationRequest, CreateConversationResponse, CreateMessageTemplateRequest, CreateMessageTemplateResponse, CreateMultiMessagesRequest, CreateWidgetConversationRequest, CreateWidgetConversationResponse, CreateWidgetRequest, CreateWidgetResponse, DeleteConversationRequest, DeleteMessageRequest, DeleteMessageTemplateRequest, DeleteWidgetRequest, EvaluateResponseRequest, ExportConversationsRequest, ExportConversationsResponse, GetAvailableChannelsForConversationRequest, GetAvailableChannelsForConversationResponse, GetConversationByKeyRequest, GetConversationByKeyResponse, GetConversationSummaryRequest, GetConversationSummaryResponse, GetConversationViewsRequest, GetConversationViewsResponse, GetMessageRequest, GetMessageTemplateRequest, GetMessageTemplateResponse, GetMultiConversationDetailsRequest, GetMultiConversationDetailsResponse, GetMultiConversationDetailsV2Request, GetMultiConversationDetailsV2Response, GetMultiConversationMessageCountRequest, GetMultiConversationMessageCountResponse, GetMultiEventsRequest, GetMultiEventsResponse, GetMultiMessagesRequest, GetMultiMessagesResponse, GetMultiParticipantsRequest, GetMultiParticipantsResponse, GetMultiWidgetMessagesRequest, GetMultiWidgetMessagesResponse, GetMultiWidgetRequest, GetMultiWidgetResponse, GetParticipantsByKeyRequest, GetParticipantsByKeyResponse, GetWidgetConfigRequest, GetWidgetConfigResponse, GetWidgetConversationResponse, GetWidgetRequest, GetWidgetResponse, InjectMessageRequest, ListConversationExportsRequest, ListConversationExportsResponse, ListMessageTemplateRequest, ListMessageTemplateResponse, ListMessagesRequest, ListMessagesResponse, ListResponseEvaluationsRequest, ListResponseEvaluationsResponse, ListWidgetsRequest, ListWidgetsResponse, LookupConversationsRequest, LookupConversationsResponse, MakeToolCallRequest, MakeToolCallResponse, Message, NewInboxLeadCapturedRequest, NewInboxLeadCapturedResponse, ReceiveMessageRequest, RemoveConversationFromConversationViewRequest, SearchConversationsRequest, SearchConversationsResponse, SendMessageRequest, SendMessageResponse, SendWidgetMessageRequest, SendWidgetMessageResponse, SetLastSeenRequest, SetLastSeenResponse, UpdateConversationRequest, UpdateConversationResponse, UpdateMessageStatusRequest, UpdateMessageTemplateRequest, UpdateMessageTemplateResponse, UpdateWidgetRequest, UpdateWidgetResponse } from './objects/';
|
|
2
|
-
import { AddConversationToConversationViewRequestInterface, AddMultiParticipantsRequestInterface, CancelAIResponderRequestInterface, CreateConversationRequestInterface, CreateMessageTemplateRequestInterface, CreateMultiMessagesRequestInterface, CreateWidgetConversationRequestInterface, CreateWidgetRequestInterface, DeleteConversationRequestInterface, DeleteMessageRequestInterface, DeleteMessageTemplateRequestInterface, DeleteWidgetRequestInterface, EvaluateResponseRequestInterface, ExportConversationsRequestInterface, GetAvailableChannelsForConversationRequestInterface, GetConversationByKeyRequestInterface, GetConversationSummaryRequestInterface, GetConversationViewsRequestInterface, GetMessageRequestInterface, GetMessageTemplateRequestInterface, GetMultiConversationDetailsRequestInterface, GetMultiConversationDetailsV2RequestInterface, GetMultiConversationMessageCountRequestInterface, GetMultiEventsRequestInterface, GetMultiMessagesRequestInterface, GetMultiParticipantsRequestInterface, GetMultiWidgetMessagesRequestInterface, GetMultiWidgetRequestInterface, GetParticipantsByKeyRequestInterface, GetWidgetConfigRequestInterface, GetWidgetRequestInterface, InjectMessageRequestInterface, ListConversationExportsRequestInterface, ListMessageTemplateRequestInterface, ListMessagesRequestInterface, ListResponseEvaluationsRequestInterface, ListWidgetsRequestInterface, LookupConversationsRequestInterface, MakeToolCallRequestInterface, NewInboxLeadCapturedRequestInterface, ReceiveMessageRequestInterface, RemoveConversationFromConversationViewRequestInterface, SearchConversationsRequestInterface, SendMessageRequestInterface, SendWidgetMessageRequestInterface, SetLastSeenRequestInterface, UpdateConversationRequestInterface, UpdateMessageStatusRequestInterface, UpdateMessageTemplateRequestInterface, UpdateWidgetRequestInterface } from './interfaces/';
|
|
1
|
+
import { AddConversationToConversationViewRequest, AddMultiParticipantsRequest, AddMultiParticipantsResponse, AssignConversationRequest, AssignConversationResponse, CancelAIResponderRequest, CreateConversationRequest, CreateConversationResponse, CreateMessageTemplateRequest, CreateMessageTemplateResponse, CreateMultiMessagesRequest, CreateWidgetConversationRequest, CreateWidgetConversationResponse, CreateWidgetRequest, CreateWidgetResponse, DeleteConversationRequest, DeleteMessageRequest, DeleteMessageTemplateRequest, DeleteWidgetRequest, EvaluateResponseRequest, ExportConversationsRequest, ExportConversationsResponse, GetAvailableChannelsForConversationRequest, GetAvailableChannelsForConversationResponse, GetConversationByKeyRequest, GetConversationByKeyResponse, GetConversationSummaryRequest, GetConversationSummaryResponse, GetConversationViewsRequest, GetConversationViewsResponse, GetMessageRequest, GetMessageTemplateRequest, GetMessageTemplateResponse, GetMultiConversationDetailsRequest, GetMultiConversationDetailsResponse, GetMultiConversationDetailsV2Request, GetMultiConversationDetailsV2Response, GetMultiConversationMessageCountRequest, GetMultiConversationMessageCountResponse, GetMultiEventsRequest, GetMultiEventsResponse, GetMultiMessagesRequest, GetMultiMessagesResponse, GetMultiParticipantsRequest, GetMultiParticipantsResponse, GetMultiWidgetMessagesRequest, GetMultiWidgetMessagesResponse, GetMultiWidgetRequest, GetMultiWidgetResponse, GetParticipantsByKeyRequest, GetParticipantsByKeyResponse, GetWidgetConfigRequest, GetWidgetConfigResponse, GetWidgetConversationResponse, GetWidgetRequest, GetWidgetResponse, InjectMessageRequest, ListCommunicationChannelsInfoRequest, ListCommunicationChannelsInfoResponse, ListConversationExportsRequest, ListConversationExportsResponse, ListConversationsRequest, ListConversationsResponse, ListMessageTemplateRequest, ListMessageTemplateResponse, ListMessagesRequest, ListMessagesResponse, ListResponseEvaluationsRequest, ListResponseEvaluationsResponse, ListWidgetsRequest, ListWidgetsResponse, LookupConversationsRequest, LookupConversationsResponse, MakeToolCallRequest, MakeToolCallResponse, Message, NewInboxLeadCapturedRequest, NewInboxLeadCapturedResponse, ReceiveMessageRequest, RemoveConversationFromConversationViewRequest, SearchConversationsRequest, SearchConversationsResponse, SendMessageRequest, SendMessageResponse, SendWidgetMessageRequest, SendWidgetMessageResponse, SetLastSeenRequest, SetLastSeenResponse, UpdateConversationRequest, UpdateConversationResponse, UpdateMessageStatusRequest, UpdateMessageTemplateRequest, UpdateMessageTemplateResponse, UpdateWidgetRequest, UpdateWidgetResponse } from './objects/';
|
|
2
|
+
import { AddConversationToConversationViewRequestInterface, AddMultiParticipantsRequestInterface, AssignConversationRequestInterface, CancelAIResponderRequestInterface, CreateConversationRequestInterface, CreateMessageTemplateRequestInterface, CreateMultiMessagesRequestInterface, CreateWidgetConversationRequestInterface, CreateWidgetRequestInterface, DeleteConversationRequestInterface, DeleteMessageRequestInterface, DeleteMessageTemplateRequestInterface, DeleteWidgetRequestInterface, EvaluateResponseRequestInterface, ExportConversationsRequestInterface, GetAvailableChannelsForConversationRequestInterface, GetConversationByKeyRequestInterface, GetConversationSummaryRequestInterface, GetConversationViewsRequestInterface, GetMessageRequestInterface, GetMessageTemplateRequestInterface, GetMultiConversationDetailsRequestInterface, GetMultiConversationDetailsV2RequestInterface, GetMultiConversationMessageCountRequestInterface, GetMultiEventsRequestInterface, GetMultiMessagesRequestInterface, GetMultiParticipantsRequestInterface, GetMultiWidgetMessagesRequestInterface, GetMultiWidgetRequestInterface, GetParticipantsByKeyRequestInterface, GetWidgetConfigRequestInterface, GetWidgetRequestInterface, InjectMessageRequestInterface, ListCommunicationChannelsInfoRequestInterface, ListConversationExportsRequestInterface, ListConversationsRequestInterface, ListMessageTemplateRequestInterface, ListMessagesRequestInterface, ListResponseEvaluationsRequestInterface, ListWidgetsRequestInterface, LookupConversationsRequestInterface, MakeToolCallRequestInterface, NewInboxLeadCapturedRequestInterface, ReceiveMessageRequestInterface, RemoveConversationFromConversationViewRequestInterface, SearchConversationsRequestInterface, SendMessageRequestInterface, SendWidgetMessageRequestInterface, SetLastSeenRequestInterface, UpdateConversationRequestInterface, UpdateMessageStatusRequestInterface, UpdateMessageTemplateRequestInterface, UpdateWidgetRequestInterface } from './interfaces/';
|
|
3
3
|
import { HttpResponse } from '@angular/common/http';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -59,6 +59,9 @@ export declare class ConversationApiService {
|
|
|
59
59
|
makeToolCall(r: MakeToolCallRequest | MakeToolCallRequestInterface): Observable<MakeToolCallResponse>;
|
|
60
60
|
exportConversations(r: ExportConversationsRequest | ExportConversationsRequestInterface): Observable<ExportConversationsResponse>;
|
|
61
61
|
listConversationExports(r: ListConversationExportsRequest | ListConversationExportsRequestInterface): Observable<ListConversationExportsResponse>;
|
|
62
|
+
listCommunicationChannelsInfo(r: ListCommunicationChannelsInfoRequest | ListCommunicationChannelsInfoRequestInterface): Observable<ListCommunicationChannelsInfoResponse>;
|
|
63
|
+
listConversations(r: ListConversationsRequest | ListConversationsRequestInterface): Observable<ListConversationsResponse>;
|
|
64
|
+
assignConversation(r: AssignConversationRequest | AssignConversationRequestInterface): Observable<AssignConversationResponse>;
|
|
62
65
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConversationApiService, never>;
|
|
63
66
|
static ɵprov: i0.ɵɵInjectableDeclaration<ConversationApiService>;
|
|
64
67
|
}
|
|
@@ -2,7 +2,13 @@ export declare enum AIMode {
|
|
|
2
2
|
AI_MODE_UNSET = 0,
|
|
3
3
|
AI_MODE_FAST = 1,
|
|
4
4
|
AI_MODE_THINKING = 2,
|
|
5
|
-
AI_MODE_DEEP_RESEARCH = 3
|
|
5
|
+
AI_MODE_DEEP_RESEARCH = 3,
|
|
6
|
+
AI_MODE_GENERATION = 4
|
|
7
|
+
}
|
|
8
|
+
export declare enum CommunicationChannelType {
|
|
9
|
+
COMMUNICATION_CHANNEL_TYPE_UNDEFINED = 0,
|
|
10
|
+
COMMUNICATION_CHANNEL_TYPE_SMS = 1,
|
|
11
|
+
COMMUNICATION_CHANNEL_TYPE_VOICE = 2
|
|
6
12
|
}
|
|
7
13
|
export declare enum GetMessageTemplateRequestHydrationOptionsHydrationEntityEntityType {
|
|
8
14
|
ENTITY_TYPE_UNDEFINED = 0,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { GlobalParticipantType, SortDirection, } from './common.enum';
|
|
2
2
|
export { ConversationChannel, PlatformLocation, } from './conversation.enum';
|
|
3
|
+
export { UIQuestionFormQuestionQuestionType, } from './ui-components.enum';
|
|
3
4
|
export { AIStatus, MessageStatus, MessageType, UIComponentType, } from './message.enum';
|
|
4
5
|
export { ParticipantType, } from './participant.enum';
|
|
5
6
|
export { ViewType, } from './conversation-view.enum';
|
|
@@ -7,4 +8,4 @@ export { WidgetPosition, } from './widget.enum';
|
|
|
7
8
|
export { EvaluationSentiment, } from './evaluation.enum';
|
|
8
9
|
export { EventType, } from './event.enum';
|
|
9
10
|
export { ExportStatus, } from './conversation-export.enum';
|
|
10
|
-
export { AIMode, GetMessageTemplateRequestHydrationOptionsHydrationEntityEntityType, EvaluateResponseType, GetWidgetConfigResponseGreetingMessageType, MetadataIdentifier, SetLastSeenRequestStatus, Status, } from './api.enum';
|
|
11
|
+
export { AIMode, CommunicationChannelType, GetMessageTemplateRequestHydrationOptionsHydrationEntityEntityType, EvaluateResponseType, GetWidgetConfigResponseGreetingMessageType, MetadataIdentifier, SetLastSeenRequestStatus, Status, } from './api.enum';
|
|
@@ -25,5 +25,8 @@ export declare enum MessageType {
|
|
|
25
25
|
}
|
|
26
26
|
export declare enum UIComponentType {
|
|
27
27
|
UI_COMPONENT_TYPE_UNDEFINED = 0,
|
|
28
|
-
UI_COMPONENT_TYPE_BUTTON = 1
|
|
28
|
+
UI_COMPONENT_TYPE_BUTTON = 1,
|
|
29
|
+
UI_COMPONENT_TYPE_CHECKBOX_GROUP = 2,
|
|
30
|
+
UI_COMPONENT_TYPE_MARKDOWN_PLAN = 3,
|
|
31
|
+
UI_COMPONENT_TYPE_QUESTION_FORM = 4
|
|
29
32
|
}
|
|
@@ -23,6 +23,13 @@ export interface AddMultiParticipantsRequestInterface {
|
|
|
23
23
|
export interface AddMultiParticipantsResponseInterface {
|
|
24
24
|
participants?: ParticipantInterface[];
|
|
25
25
|
}
|
|
26
|
+
export interface AssignConversationRequestInterface {
|
|
27
|
+
conversationId?: string;
|
|
28
|
+
assigneeUserIds?: string[];
|
|
29
|
+
linkToCrmOwner?: boolean;
|
|
30
|
+
}
|
|
31
|
+
export interface AssignConversationResponseInterface {
|
|
32
|
+
}
|
|
26
33
|
export interface CancelAIResponderRequestInterface {
|
|
27
34
|
conversationId?: string;
|
|
28
35
|
}
|
|
@@ -41,6 +48,10 @@ export interface ChannelStatusInterface {
|
|
|
41
48
|
status?: e.Status;
|
|
42
49
|
i18nKey?: string;
|
|
43
50
|
}
|
|
51
|
+
export interface CommunicationInfoInterface {
|
|
52
|
+
channel?: e.CommunicationChannelType;
|
|
53
|
+
identifier?: string;
|
|
54
|
+
}
|
|
44
55
|
export interface ConversationMessageCountInterface {
|
|
45
56
|
conversationId?: string;
|
|
46
57
|
count?: number;
|
|
@@ -129,22 +140,22 @@ export interface DeleteMessageTemplateRequestInterface {
|
|
|
129
140
|
export interface DeleteWidgetRequestInterface {
|
|
130
141
|
widgetId?: string;
|
|
131
142
|
}
|
|
132
|
-
export interface
|
|
143
|
+
export interface GetMultiConversationDetailsResponseDetailedConversationInterface {
|
|
133
144
|
conversation?: ConversationInterface;
|
|
134
145
|
latestMessage?: MessageInterface;
|
|
135
146
|
participants?: ParticipantInterface[];
|
|
136
|
-
}
|
|
137
|
-
export interface GetMultiConversationDetailsV2ResponseDetailedConversationInterface {
|
|
138
|
-
conversation?: ConversationInterface;
|
|
139
|
-
participants?: ParticipantInterface[];
|
|
140
147
|
summary?: string;
|
|
141
148
|
event?: EventInterface;
|
|
142
149
|
message?: MessageInterface;
|
|
143
150
|
}
|
|
144
|
-
export interface
|
|
151
|
+
export interface SearchConversationsResponseDetailedConversationInterface {
|
|
145
152
|
conversation?: ConversationInterface;
|
|
146
153
|
latestMessage?: MessageInterface;
|
|
147
154
|
participants?: ParticipantInterface[];
|
|
155
|
+
}
|
|
156
|
+
export interface GetMultiConversationDetailsV2ResponseDetailedConversationInterface {
|
|
157
|
+
conversation?: ConversationInterface;
|
|
158
|
+
participants?: ParticipantInterface[];
|
|
148
159
|
summary?: string;
|
|
149
160
|
event?: EventInterface;
|
|
150
161
|
message?: MessageInterface;
|
|
@@ -163,16 +174,16 @@ export interface ExportConversationsRequestInterface {
|
|
|
163
174
|
export interface ExportConversationsResponseInterface {
|
|
164
175
|
workflowId?: string;
|
|
165
176
|
}
|
|
166
|
-
export interface ListConversationExportsRequestFilterOptionsInterface {
|
|
167
|
-
platformLocation?: e.PlatformLocation;
|
|
168
|
-
subjectParticipant?: SubjectParticipantInterface;
|
|
169
|
-
}
|
|
170
177
|
export interface ExportConversationsRequestFilterOptionsInterface {
|
|
171
178
|
subjectParticipant?: SubjectParticipantInterface;
|
|
172
179
|
startTime?: Date;
|
|
173
180
|
endTime?: Date;
|
|
174
181
|
platformLocation?: e.PlatformLocation;
|
|
175
182
|
}
|
|
183
|
+
export interface ListConversationExportsRequestFilterOptionsInterface {
|
|
184
|
+
platformLocation?: e.PlatformLocation;
|
|
185
|
+
subjectParticipant?: SubjectParticipantInterface;
|
|
186
|
+
}
|
|
176
187
|
export interface GetAvailableChannelsForConversationRequestInterface {
|
|
177
188
|
conversationId?: string;
|
|
178
189
|
}
|
|
@@ -347,6 +358,11 @@ export interface GetMessageTemplateResponseHydrationInformationInterface {
|
|
|
347
358
|
export interface GetMessageTemplateRequestHydrationOptionsInterface {
|
|
348
359
|
hydrationEntities?: GetMessageTemplateRequestHydrationOptionsHydrationEntityInterface[];
|
|
349
360
|
}
|
|
361
|
+
export interface ListConversationsResponseInboxConversationInterface {
|
|
362
|
+
conversation?: ConversationInterface;
|
|
363
|
+
latestMessage?: MessageInterface;
|
|
364
|
+
participants?: ParticipantInterface[];
|
|
365
|
+
}
|
|
350
366
|
export interface InjectMessageRequestInterface {
|
|
351
367
|
messageId?: string;
|
|
352
368
|
body?: string;
|
|
@@ -361,6 +377,12 @@ export interface InjectMessageRequestInterface {
|
|
|
361
377
|
sourceName?: string;
|
|
362
378
|
created?: Date;
|
|
363
379
|
}
|
|
380
|
+
export interface ListCommunicationChannelsInfoRequestInterface {
|
|
381
|
+
accountGroupId?: string;
|
|
382
|
+
}
|
|
383
|
+
export interface ListCommunicationChannelsInfoResponseInterface {
|
|
384
|
+
communicationInfo?: CommunicationInfoInterface[];
|
|
385
|
+
}
|
|
364
386
|
export interface ListConversationExportsRequestInterface {
|
|
365
387
|
filterOptions?: ListConversationExportsRequestFilterOptionsInterface;
|
|
366
388
|
pagingOptions?: PagedRequestOptionsInterface;
|
|
@@ -369,6 +391,25 @@ export interface ListConversationExportsResponseInterface {
|
|
|
369
391
|
record?: ConversationExportRecordInterface[];
|
|
370
392
|
pagingMetadata?: PagedResponseMetadataInterface;
|
|
371
393
|
}
|
|
394
|
+
export interface ListConversationsFiltersInterface {
|
|
395
|
+
channels?: e.ConversationChannel[];
|
|
396
|
+
isOpen?: boolean;
|
|
397
|
+
unreadOnly?: boolean;
|
|
398
|
+
awaitingResponseOnly?: boolean;
|
|
399
|
+
isAnonymous?: boolean;
|
|
400
|
+
assigneeUserId?: string;
|
|
401
|
+
}
|
|
402
|
+
export interface ListConversationsRequestInterface {
|
|
403
|
+
accountGroupId?: string;
|
|
404
|
+
participantId?: string;
|
|
405
|
+
pagingOptions?: PagedRequestOptionsInterface;
|
|
406
|
+
filters?: ListConversationsFiltersInterface;
|
|
407
|
+
namespace?: string;
|
|
408
|
+
}
|
|
409
|
+
export interface ListConversationsResponseInterface {
|
|
410
|
+
conversations?: ListConversationsResponseInboxConversationInterface[];
|
|
411
|
+
pagingMetadata?: PagedResponseMetadataInterface;
|
|
412
|
+
}
|
|
372
413
|
export interface ListMessageTemplateRequestInterface {
|
|
373
414
|
subjectParticipant?: SubjectParticipantInterface;
|
|
374
415
|
pagingOptions?: PagedRequestOptionsInterface;
|
|
@@ -454,11 +495,11 @@ export interface MetadataInterface {
|
|
|
454
495
|
[key: string]: string;
|
|
455
496
|
};
|
|
456
497
|
}
|
|
457
|
-
export interface
|
|
498
|
+
export interface ReceiveMessageRequestMetadataEntryInterface {
|
|
458
499
|
key?: string;
|
|
459
500
|
value?: string;
|
|
460
501
|
}
|
|
461
|
-
export interface
|
|
502
|
+
export interface InjectMessageRequestMetadataEntryInterface {
|
|
462
503
|
key?: string;
|
|
463
504
|
value?: string;
|
|
464
505
|
}
|
|
@@ -20,6 +20,7 @@ export interface ConfigurationInterface {
|
|
|
20
20
|
aiVoiceEnabled?: boolean;
|
|
21
21
|
aiEmailEnabled?: boolean;
|
|
22
22
|
aiPlatformEnabled?: boolean;
|
|
23
|
+
emailEnabled?: boolean;
|
|
23
24
|
}
|
|
24
25
|
export interface ProductFeatureInterface {
|
|
25
26
|
googleBusinessMessagesEnabled?: boolean;
|
|
@@ -36,4 +37,5 @@ export interface ProductFeatureInterface {
|
|
|
36
37
|
aiInstagramProductActive?: boolean;
|
|
37
38
|
aiWhatsappProductActive?: boolean;
|
|
38
39
|
aiPlatformEnabled?: boolean;
|
|
40
|
+
emailEnabled?: boolean;
|
|
39
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { AISystemMessageInterface, GetAISystemMessageRequestInterface, GetAISystemMessageResponseInterface, ListAISystemMessagesRequestInterface, ListAISystemMessagesResponseInterface, UpsertAISystemMessageRequestInterface, } from './aisystemmessage.interface';
|
|
2
2
|
export { KeyValuePairInterface, NamespaceDetailInterface, SubjectParticipantInterface, } from './common.interface';
|
|
3
3
|
export { AIConfigurationInterface, ConversationInterface, ConversationKeyInterface, LastSeenByParticipantInterface, LatestMessageSentTimeBySubjectParticipantInterface, SubjectParticipantKeyInterface, } from './conversation.interface';
|
|
4
|
-
export { UIButtonInterface, } from './ui-components.interface';
|
|
4
|
+
export { UIQuestionFormQuestionInterface, UIButtonInterface, UICheckboxInterface, UICheckboxGroupInterface, UIMarkdownPlanInterface, UIQuestionFormInterface, } from './ui-components.interface';
|
|
5
5
|
export { AIThoughtInterface, } from './ai-thought.interface';
|
|
6
6
|
export { MessageInterface, ParticipantMessageStatusInterface, SendStatusInterface, UIComponentInterface, } from './message.interface';
|
|
7
7
|
export { AddressInterface, ParticipantInterface, ParticipantKeyInterface, } from './participant.interface';
|
|
@@ -14,4 +14,4 @@ export { FieldMaskInterface, } from './field-mask.interface';
|
|
|
14
14
|
export { MessageTemplateInterface, } from './message-template.interface';
|
|
15
15
|
export { EventInterface, } from './event.interface';
|
|
16
16
|
export { ConversationExportRecordInterface, FiltersInterface, } from './conversation-export.interface';
|
|
17
|
-
export { AddConversationToConversationViewRequestInterface, AddMultiParticipantsRequestInterface, AddMultiParticipantsResponseInterface, CancelAIResponderRequestInterface, CapturedLeadInterface, ChannelAvailabilityInterface, ChannelStatusInterface, ConversationMessageCountInterface, LookupConversationsResponseConversationsInterface, GetMultiConversationMessageCountResponseCountsEntryInterface, CreateConversationRequestInterface, CreateConversationResponseInterface, CreateMessageTemplateRequestInterface, CreateMessageTemplateResponseInterface, CreateMultiMessagesRequestInterface, CreateWidgetConversationRequestInterface, CreateWidgetConversationResponseInterface, CreateWidgetRequestInterface, CreateWidgetResponseInterface, MetadataDataEntryInterface, DeleteConversationRequestInterface, DeleteMessageRequestInterface, DeleteMessageTemplateRequestInterface, DeleteWidgetRequestInterface, SearchConversationsResponseDetailedConversationInterface, GetMultiConversationDetailsV2ResponseDetailedConversationInterface,
|
|
17
|
+
export { AddConversationToConversationViewRequestInterface, AddMultiParticipantsRequestInterface, AddMultiParticipantsResponseInterface, AssignConversationRequestInterface, AssignConversationResponseInterface, CancelAIResponderRequestInterface, CapturedLeadInterface, ChannelAvailabilityInterface, ChannelStatusInterface, CommunicationInfoInterface, ConversationMessageCountInterface, LookupConversationsResponseConversationsInterface, GetMultiConversationMessageCountResponseCountsEntryInterface, CreateConversationRequestInterface, CreateConversationResponseInterface, CreateMessageTemplateRequestInterface, CreateMessageTemplateResponseInterface, CreateMultiMessagesRequestInterface, CreateWidgetConversationRequestInterface, CreateWidgetConversationResponseInterface, CreateWidgetRequestInterface, CreateWidgetResponseInterface, MetadataDataEntryInterface, DeleteConversationRequestInterface, DeleteMessageRequestInterface, DeleteMessageTemplateRequestInterface, DeleteWidgetRequestInterface, GetMultiConversationDetailsResponseDetailedConversationInterface, SearchConversationsResponseDetailedConversationInterface, GetMultiConversationDetailsV2ResponseDetailedConversationInterface, EvaluateResponseRequestInterface, ExportConversationsRequestInterface, ExportConversationsResponseInterface, ExportConversationsRequestFilterOptionsInterface, ListConversationExportsRequestFilterOptionsInterface, GetAvailableChannelsForConversationRequestInterface, GetAvailableChannelsForConversationResponseInterface, GetConfigurationRequestInterface, GetConfigurationResponseInterface, GetConversationByKeyRequestInterface, GetConversationByKeyResponseInterface, GetConversationSummaryRequestInterface, GetConversationSummaryResponseInterface, GetConversationViewsRequestInterface, GetConversationViewsResponseInterface, GetMessageOptionsInterface, GetMessageRequestInterface, GetMessageTemplateRequestInterface, GetMessageTemplateResponseInterface, GetMultiConfigurationRequestInterface, GetMultiConfigurationResponseInterface, GetMultiConversationDetailsOptionsInterface, GetMultiConversationDetailsRequestInterface, GetMultiConversationDetailsResponseInterface, GetMultiConversationDetailsV2RequestInterface, GetMultiConversationDetailsV2ResponseInterface, GetMultiConversationMessageCountRequestInterface, GetMultiConversationMessageCountResponseInterface, GetMultiEventsRequestInterface, GetMultiEventsResponseInterface, GetMultiMessagesRequestInterface, GetMultiMessagesResponseInterface, GetMultiParticipantsRequestInterface, GetMultiParticipantsResponseInterface, GetMultiWidgetMessagesRequestInterface, GetMultiWidgetMessagesResponseInterface, GetMultiWidgetRequestInterface, GetMultiWidgetResponseInterface, GetOwnerEmailRequestInterface, GetOwnerEmailResponseInterface, GetParticipantsByKeyRequestInterface, GetParticipantsByKeyResponseInterface, GetWidgetConfigRequestInterface, GetWidgetConfigResponseInterface, GetWidgetConversationResponseInterface, GetWidgetRequestInterface, GetWidgetResponseInterface, GetMessageTemplateRequestHydrationOptionsHydrationEntityInterface, GetMessageTemplateResponseHydrationInformationInterface, GetMessageTemplateRequestHydrationOptionsInterface, ListConversationsResponseInboxConversationInterface, InjectMessageRequestInterface, ListCommunicationChannelsInfoRequestInterface, ListCommunicationChannelsInfoResponseInterface, ListConversationExportsRequestInterface, ListConversationExportsResponseInterface, ListConversationsFiltersInterface, ListConversationsRequestInterface, ListConversationsResponseInterface, ListMessageTemplateRequestInterface, ListMessageTemplateResponseInterface, ListMessagesRequestListMessagesFiltersInterface, ListMessagesRequestInterface, ListMessagesResponseInterface, ListResponseEvaluationsRequestInterface, ListResponseEvaluationsResponseInterface, ListWidgetsRequestListWidgetsFiltersInterface, ListWidgetsRequestInterface, ListWidgetsResponseInterface, LookupConversationsRequestLookupConversationsFiltersInterface, LookupConversationsRequestInterface, LookupConversationsResponseInterface, MakeToolCallRequestInterface, MakeToolCallResponseInterface, MediaInterface, MakeToolCallRequestMessageOptionInterface, MetadataInterface, ReceiveMessageRequestMetadataEntryInterface, InjectMessageRequestMetadataEntryInterface, NewInboxLeadCapturedRequestInterface, NewInboxLeadCapturedResponseInterface, PagedRequestOptionsInterface, PagedResponseMetadataInterface, ReceiveMessageRequestInterface, RemoveConversationFromConversationViewRequestInterface, SearchConversationsRequestInterface, SearchConversationsResponseInterface, SendMessageOptionsInterface, SendMessageRequestInterface, SendMessageResponseInterface, SendWidgetMessageRequestInterface, SendWidgetMessageResponseInterface, SetLastSeenRequestInterface, SetLastSeenResponseInterface, ListResponseEvaluationsResponseSummaryInterface, ListResponseEvaluationsResponseSummaryThemeInterface, UpdateConversationRequestInterface, UpdateConversationResponseInterface, UpdateMessageStatusRequestInterface, UpdateMessageTemplateRequestInterface, UpdateMessageTemplateResponseInterface, UpdateWidgetRequestInterface, UpdateWidgetResponseInterface, UpsertConfigurationRequestInterface, UpsertConfigurationResponseInterface, UpsertProductFeatureRequestInterface, UpsertProductFeatureResponseInterface, WidgetVisitInterface, } from './api.interface';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AIThoughtInterface } from './ai-thought.interface';
|
|
2
2
|
import { KeyValuePairInterface } from './common.interface';
|
|
3
|
-
import { UIButtonInterface } from './ui-components.interface';
|
|
3
|
+
import { UIButtonInterface, UICheckboxGroupInterface, UIMarkdownPlanInterface, UIQuestionFormInterface } from './ui-components.interface';
|
|
4
4
|
import * as e from '../enums';
|
|
5
5
|
export interface MessageInterface {
|
|
6
6
|
messageId?: string;
|
|
@@ -40,4 +40,7 @@ export interface SendStatusInterface {
|
|
|
40
40
|
export interface UIComponentInterface {
|
|
41
41
|
type?: e.UIComponentType;
|
|
42
42
|
button?: UIButtonInterface;
|
|
43
|
+
checkboxGroup?: UICheckboxGroupInterface;
|
|
44
|
+
markdownPlan?: UIMarkdownPlanInterface;
|
|
45
|
+
questionForm?: UIQuestionFormInterface;
|
|
43
46
|
}
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
import * as e from '../enums';
|
|
2
|
+
export interface UIQuestionFormQuestionInterface {
|
|
3
|
+
type?: e.UIQuestionFormQuestionQuestionType;
|
|
4
|
+
text?: string;
|
|
5
|
+
options?: string[];
|
|
6
|
+
}
|
|
1
7
|
export interface UIButtonInterface {
|
|
2
8
|
label?: string;
|
|
3
9
|
id?: string;
|
|
@@ -5,3 +11,24 @@ export interface UIButtonInterface {
|
|
|
5
11
|
payload?: string;
|
|
6
12
|
clickedAt?: Date;
|
|
7
13
|
}
|
|
14
|
+
export interface UICheckboxInterface {
|
|
15
|
+
id?: string;
|
|
16
|
+
labelText?: string;
|
|
17
|
+
description?: string;
|
|
18
|
+
labelTranslationKey?: string;
|
|
19
|
+
}
|
|
20
|
+
export interface UICheckboxGroupInterface {
|
|
21
|
+
id?: string;
|
|
22
|
+
title?: string;
|
|
23
|
+
description?: string;
|
|
24
|
+
checkboxes?: UICheckboxInterface[];
|
|
25
|
+
submitLabel?: string;
|
|
26
|
+
submittedAt?: Date;
|
|
27
|
+
selectedCheckboxIds?: string[];
|
|
28
|
+
}
|
|
29
|
+
export interface UIMarkdownPlanInterface {
|
|
30
|
+
plan?: string;
|
|
31
|
+
}
|
|
32
|
+
export interface UIQuestionFormInterface {
|
|
33
|
+
questions?: UIQuestionFormQuestionInterface[];
|
|
34
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as i from '../interfaces';
|
|
1
|
+
import * as i from '../interfaces/aisystemmessage.interface';
|
|
2
2
|
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
3
3
|
export declare class AISystemMessage implements i.AISystemMessageInterface {
|
|
4
4
|
systemMessageId: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as i from '../interfaces';
|
|
1
|
+
import * as i from '../interfaces/api.interface';
|
|
2
2
|
import { Configuration, ProductFeature } from './configuration';
|
|
3
3
|
import { Conversation, ConversationKey } from './conversation';
|
|
4
4
|
import { ConversationExportRecord } from './conversation-export';
|
|
@@ -34,6 +34,19 @@ export declare class AddMultiParticipantsResponse implements i.AddMultiParticipa
|
|
|
34
34
|
constructor(kwargs?: i.AddMultiParticipantsResponseInterface);
|
|
35
35
|
toApiJson(): object;
|
|
36
36
|
}
|
|
37
|
+
export declare class AssignConversationRequest implements i.AssignConversationRequestInterface {
|
|
38
|
+
conversationId: string;
|
|
39
|
+
assigneeUserIds: string[];
|
|
40
|
+
linkToCrmOwner: boolean;
|
|
41
|
+
static fromProto(proto: any): AssignConversationRequest;
|
|
42
|
+
constructor(kwargs?: i.AssignConversationRequestInterface);
|
|
43
|
+
toApiJson(): object;
|
|
44
|
+
}
|
|
45
|
+
export declare class AssignConversationResponse implements i.AssignConversationResponseInterface {
|
|
46
|
+
static fromProto(proto: any): AssignConversationResponse;
|
|
47
|
+
constructor(kwargs?: i.AssignConversationResponseInterface);
|
|
48
|
+
toApiJson(): object;
|
|
49
|
+
}
|
|
37
50
|
export declare class CancelAIResponderRequest implements i.CancelAIResponderRequestInterface {
|
|
38
51
|
conversationId: string;
|
|
39
52
|
static fromProto(proto: any): CancelAIResponderRequest;
|
|
@@ -64,6 +77,13 @@ export declare class ChannelStatus implements i.ChannelStatusInterface {
|
|
|
64
77
|
constructor(kwargs?: i.ChannelStatusInterface);
|
|
65
78
|
toApiJson(): object;
|
|
66
79
|
}
|
|
80
|
+
export declare class CommunicationInfo implements i.CommunicationInfoInterface {
|
|
81
|
+
channel: e.CommunicationChannelType;
|
|
82
|
+
identifier: string;
|
|
83
|
+
static fromProto(proto: any): CommunicationInfo;
|
|
84
|
+
constructor(kwargs?: i.CommunicationInfoInterface);
|
|
85
|
+
toApiJson(): object;
|
|
86
|
+
}
|
|
67
87
|
export declare class ConversationMessageCount implements i.ConversationMessageCountInterface {
|
|
68
88
|
conversationId: string;
|
|
69
89
|
count: number;
|
|
@@ -203,6 +223,17 @@ export declare class DeleteWidgetRequest implements i.DeleteWidgetRequestInterfa
|
|
|
203
223
|
constructor(kwargs?: i.DeleteWidgetRequestInterface);
|
|
204
224
|
toApiJson(): object;
|
|
205
225
|
}
|
|
226
|
+
export declare class GetMultiConversationDetailsResponseDetailedConversation implements i.GetMultiConversationDetailsResponseDetailedConversationInterface {
|
|
227
|
+
conversation: Conversation;
|
|
228
|
+
latestMessage: Message;
|
|
229
|
+
participants: Participant[];
|
|
230
|
+
summary: string;
|
|
231
|
+
event: Event;
|
|
232
|
+
message: Message;
|
|
233
|
+
static fromProto(proto: any): GetMultiConversationDetailsResponseDetailedConversation;
|
|
234
|
+
constructor(kwargs?: i.GetMultiConversationDetailsResponseDetailedConversationInterface);
|
|
235
|
+
toApiJson(): object;
|
|
236
|
+
}
|
|
206
237
|
export declare class SearchConversationsResponseDetailedConversation implements i.SearchConversationsResponseDetailedConversationInterface {
|
|
207
238
|
conversation: Conversation;
|
|
208
239
|
latestMessage: Message;
|
|
@@ -221,17 +252,6 @@ export declare class GetMultiConversationDetailsV2ResponseDetailedConversation i
|
|
|
221
252
|
constructor(kwargs?: i.GetMultiConversationDetailsV2ResponseDetailedConversationInterface);
|
|
222
253
|
toApiJson(): object;
|
|
223
254
|
}
|
|
224
|
-
export declare class GetMultiConversationDetailsResponseDetailedConversation implements i.GetMultiConversationDetailsResponseDetailedConversationInterface {
|
|
225
|
-
conversation: Conversation;
|
|
226
|
-
latestMessage: Message;
|
|
227
|
-
participants: Participant[];
|
|
228
|
-
summary: string;
|
|
229
|
-
event: Event;
|
|
230
|
-
message: Message;
|
|
231
|
-
static fromProto(proto: any): GetMultiConversationDetailsResponseDetailedConversation;
|
|
232
|
-
constructor(kwargs?: i.GetMultiConversationDetailsResponseDetailedConversationInterface);
|
|
233
|
-
toApiJson(): object;
|
|
234
|
-
}
|
|
235
255
|
export declare class EvaluateResponseRequest implements i.EvaluateResponseRequestInterface {
|
|
236
256
|
messageId: string;
|
|
237
257
|
sentiment: e.EvaluationSentiment;
|
|
@@ -255,13 +275,6 @@ export declare class ExportConversationsResponse implements i.ExportConversation
|
|
|
255
275
|
constructor(kwargs?: i.ExportConversationsResponseInterface);
|
|
256
276
|
toApiJson(): object;
|
|
257
277
|
}
|
|
258
|
-
export declare class ListConversationExportsRequestFilterOptions implements i.ListConversationExportsRequestFilterOptionsInterface {
|
|
259
|
-
platformLocation: e.PlatformLocation;
|
|
260
|
-
subjectParticipant: SubjectParticipant;
|
|
261
|
-
static fromProto(proto: any): ListConversationExportsRequestFilterOptions;
|
|
262
|
-
constructor(kwargs?: i.ListConversationExportsRequestFilterOptionsInterface);
|
|
263
|
-
toApiJson(): object;
|
|
264
|
-
}
|
|
265
278
|
export declare class ExportConversationsRequestFilterOptions implements i.ExportConversationsRequestFilterOptionsInterface {
|
|
266
279
|
subjectParticipant: SubjectParticipant;
|
|
267
280
|
startTime: Date;
|
|
@@ -271,6 +284,13 @@ export declare class ExportConversationsRequestFilterOptions implements i.Export
|
|
|
271
284
|
constructor(kwargs?: i.ExportConversationsRequestFilterOptionsInterface);
|
|
272
285
|
toApiJson(): object;
|
|
273
286
|
}
|
|
287
|
+
export declare class ListConversationExportsRequestFilterOptions implements i.ListConversationExportsRequestFilterOptionsInterface {
|
|
288
|
+
platformLocation: e.PlatformLocation;
|
|
289
|
+
subjectParticipant: SubjectParticipant;
|
|
290
|
+
static fromProto(proto: any): ListConversationExportsRequestFilterOptions;
|
|
291
|
+
constructor(kwargs?: i.ListConversationExportsRequestFilterOptionsInterface);
|
|
292
|
+
toApiJson(): object;
|
|
293
|
+
}
|
|
274
294
|
export declare class GetAvailableChannelsForConversationRequest implements i.GetAvailableChannelsForConversationRequestInterface {
|
|
275
295
|
conversationId: string;
|
|
276
296
|
static fromProto(proto: any): GetAvailableChannelsForConversationRequest;
|
|
@@ -580,6 +600,14 @@ export declare class GetMessageTemplateRequestHydrationOptions implements i.GetM
|
|
|
580
600
|
constructor(kwargs?: i.GetMessageTemplateRequestHydrationOptionsInterface);
|
|
581
601
|
toApiJson(): object;
|
|
582
602
|
}
|
|
603
|
+
export declare class ListConversationsResponseInboxConversation implements i.ListConversationsResponseInboxConversationInterface {
|
|
604
|
+
conversation: Conversation;
|
|
605
|
+
latestMessage: Message;
|
|
606
|
+
participants: Participant[];
|
|
607
|
+
static fromProto(proto: any): ListConversationsResponseInboxConversation;
|
|
608
|
+
constructor(kwargs?: i.ListConversationsResponseInboxConversationInterface);
|
|
609
|
+
toApiJson(): object;
|
|
610
|
+
}
|
|
583
611
|
export declare class InjectMessageRequest implements i.InjectMessageRequestInterface {
|
|
584
612
|
messageId: string;
|
|
585
613
|
body: string;
|
|
@@ -597,6 +625,18 @@ export declare class InjectMessageRequest implements i.InjectMessageRequestInter
|
|
|
597
625
|
constructor(kwargs?: i.InjectMessageRequestInterface);
|
|
598
626
|
toApiJson(): object;
|
|
599
627
|
}
|
|
628
|
+
export declare class ListCommunicationChannelsInfoRequest implements i.ListCommunicationChannelsInfoRequestInterface {
|
|
629
|
+
accountGroupId: string;
|
|
630
|
+
static fromProto(proto: any): ListCommunicationChannelsInfoRequest;
|
|
631
|
+
constructor(kwargs?: i.ListCommunicationChannelsInfoRequestInterface);
|
|
632
|
+
toApiJson(): object;
|
|
633
|
+
}
|
|
634
|
+
export declare class ListCommunicationChannelsInfoResponse implements i.ListCommunicationChannelsInfoResponseInterface {
|
|
635
|
+
communicationInfo: CommunicationInfo[];
|
|
636
|
+
static fromProto(proto: any): ListCommunicationChannelsInfoResponse;
|
|
637
|
+
constructor(kwargs?: i.ListCommunicationChannelsInfoResponseInterface);
|
|
638
|
+
toApiJson(): object;
|
|
639
|
+
}
|
|
600
640
|
export declare class ListConversationExportsRequest implements i.ListConversationExportsRequestInterface {
|
|
601
641
|
filterOptions: ListConversationExportsRequestFilterOptions;
|
|
602
642
|
pagingOptions: PagedRequestOptions;
|
|
@@ -611,6 +651,34 @@ export declare class ListConversationExportsResponse implements i.ListConversati
|
|
|
611
651
|
constructor(kwargs?: i.ListConversationExportsResponseInterface);
|
|
612
652
|
toApiJson(): object;
|
|
613
653
|
}
|
|
654
|
+
export declare class ListConversationsFilters implements i.ListConversationsFiltersInterface {
|
|
655
|
+
channels: e.ConversationChannel[];
|
|
656
|
+
isOpen: boolean;
|
|
657
|
+
unreadOnly: boolean;
|
|
658
|
+
awaitingResponseOnly: boolean;
|
|
659
|
+
isAnonymous: boolean;
|
|
660
|
+
assigneeUserId: string;
|
|
661
|
+
static fromProto(proto: any): ListConversationsFilters;
|
|
662
|
+
constructor(kwargs?: i.ListConversationsFiltersInterface);
|
|
663
|
+
toApiJson(): object;
|
|
664
|
+
}
|
|
665
|
+
export declare class ListConversationsRequest implements i.ListConversationsRequestInterface {
|
|
666
|
+
accountGroupId: string;
|
|
667
|
+
participantId: string;
|
|
668
|
+
pagingOptions: PagedRequestOptions;
|
|
669
|
+
filters: ListConversationsFilters;
|
|
670
|
+
namespace: string;
|
|
671
|
+
static fromProto(proto: any): ListConversationsRequest;
|
|
672
|
+
constructor(kwargs?: i.ListConversationsRequestInterface);
|
|
673
|
+
toApiJson(): object;
|
|
674
|
+
}
|
|
675
|
+
export declare class ListConversationsResponse implements i.ListConversationsResponseInterface {
|
|
676
|
+
conversations: ListConversationsResponseInboxConversation[];
|
|
677
|
+
pagingMetadata: PagedResponseMetadata;
|
|
678
|
+
static fromProto(proto: any): ListConversationsResponse;
|
|
679
|
+
constructor(kwargs?: i.ListConversationsResponseInterface);
|
|
680
|
+
toApiJson(): object;
|
|
681
|
+
}
|
|
614
682
|
export declare class ListMessageTemplateRequest implements i.ListMessageTemplateRequestInterface {
|
|
615
683
|
subjectParticipant: SubjectParticipant;
|
|
616
684
|
pagingOptions: PagedRequestOptions;
|
|
@@ -750,18 +818,18 @@ export declare class Metadata implements i.MetadataInterface {
|
|
|
750
818
|
constructor(kwargs?: i.MetadataInterface);
|
|
751
819
|
toApiJson(): object;
|
|
752
820
|
}
|
|
753
|
-
export declare class
|
|
821
|
+
export declare class ReceiveMessageRequestMetadataEntry implements i.ReceiveMessageRequestMetadataEntryInterface {
|
|
754
822
|
key: string;
|
|
755
823
|
value: string;
|
|
756
|
-
static fromProto(proto: any):
|
|
757
|
-
constructor(kwargs?: i.
|
|
824
|
+
static fromProto(proto: any): ReceiveMessageRequestMetadataEntry;
|
|
825
|
+
constructor(kwargs?: i.ReceiveMessageRequestMetadataEntryInterface);
|
|
758
826
|
toApiJson(): object;
|
|
759
827
|
}
|
|
760
|
-
export declare class
|
|
828
|
+
export declare class InjectMessageRequestMetadataEntry implements i.InjectMessageRequestMetadataEntryInterface {
|
|
761
829
|
key: string;
|
|
762
830
|
value: string;
|
|
763
|
-
static fromProto(proto: any):
|
|
764
|
-
constructor(kwargs?: i.
|
|
831
|
+
static fromProto(proto: any): InjectMessageRequestMetadataEntry;
|
|
832
|
+
constructor(kwargs?: i.InjectMessageRequestMetadataEntryInterface);
|
|
765
833
|
toApiJson(): object;
|
|
766
834
|
}
|
|
767
835
|
export declare class NewInboxLeadCapturedRequest implements i.NewInboxLeadCapturedRequestInterface {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as i from '../interfaces';
|
|
1
|
+
import * as i from '../interfaces/common.interface';
|
|
2
2
|
import * as e from '../enums';
|
|
3
3
|
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
4
4
|
export declare class KeyValuePair implements i.KeyValuePairInterface {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as i from '../interfaces';
|
|
1
|
+
import * as i from '../interfaces/configuration.interface';
|
|
2
2
|
import { SubjectParticipant } from './common';
|
|
3
3
|
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
4
4
|
export declare class ConfigurationAIConfiguration implements i.ConfigurationAIConfigurationInterface {
|
|
@@ -25,6 +25,7 @@ export declare class Configuration implements i.ConfigurationInterface {
|
|
|
25
25
|
aiVoiceEnabled: boolean;
|
|
26
26
|
aiEmailEnabled: boolean;
|
|
27
27
|
aiPlatformEnabled: boolean;
|
|
28
|
+
emailEnabled: boolean;
|
|
28
29
|
static fromProto(proto: any): Configuration;
|
|
29
30
|
constructor(kwargs?: i.ConfigurationInterface);
|
|
30
31
|
toApiJson(): object;
|
|
@@ -44,6 +45,7 @@ export declare class ProductFeature implements i.ProductFeatureInterface {
|
|
|
44
45
|
aiInstagramProductActive: boolean;
|
|
45
46
|
aiWhatsappProductActive: boolean;
|
|
46
47
|
aiPlatformEnabled: boolean;
|
|
48
|
+
emailEnabled: boolean;
|
|
47
49
|
static fromProto(proto: any): ProductFeature;
|
|
48
50
|
constructor(kwargs?: i.ProductFeatureInterface);
|
|
49
51
|
toApiJson(): object;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as i from '../interfaces';
|
|
1
|
+
import * as i from '../interfaces/conversation.interface';
|
|
2
2
|
import { SubjectParticipant, KeyValuePair } from './common';
|
|
3
3
|
import * as e from '../enums';
|
|
4
4
|
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|