@vendasta/conversation 0.39.0 → 0.41.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/conversation.api.service.mjs +7 -2
- package/esm2020/lib/_internal/interfaces/api.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/objects/api.mjs +56 -1
- package/esm2020/lib/_internal/objects/index.mjs +2 -2
- package/fesm2015/vendasta-conversation.mjs +61 -1
- package/fesm2015/vendasta-conversation.mjs.map +1 -1
- package/fesm2020/vendasta-conversation.mjs +61 -1
- package/fesm2020/vendasta-conversation.mjs.map +1 -1
- package/lib/_internal/conversation.api.service.d.ts +3 -2
- package/lib/_internal/interfaces/api.interface.d.ts +11 -0
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/objects/api.d.ts +17 -0
- package/lib/_internal/objects/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -13,5 +13,5 @@ export { Configuration, } from './configuration';
|
|
|
13
13
|
export { View, } from './conversation-view';
|
|
14
14
|
export { Widget, } from './widget';
|
|
15
15
|
export { FieldMask, } from './field-mask';
|
|
16
|
-
export { AddConversationToConversationViewRequest, AddMultiParticipantsRequest, AddMultiParticipantsResponse, ConversationMessageCount, LookupConversationsResponseConversations, GetMultiConversationMessageCountResponseCountsEntry, CreateConversationRequest, CreateConversationResponse, CreateMultiMessagesRequest, CreateWidgetConversationRequest, CreateWidgetConversationResponse, CreateWidgetRequest, CreateWidgetResponse, MetadataDataEntry, DeleteConversationRequest, DeleteMessageRequest, DeleteWidgetRequest, SearchConversationsResponseDetailedConversation, GetMultiConversationDetailsResponseDetailedConversation, GetConfigurationRequest, GetConfigurationResponse, GetConversationByKeyRequest, GetConversationByKeyResponse, GetConversationViewsRequest, GetConversationViewsResponse, GetMessageRequest, GetMultiConfigurationRequest, GetMultiConfigurationResponse, GetMultiConversationDetailsRequest, GetMultiConversationDetailsResponse, GetMultiConversationMessageCountRequest, GetMultiConversationMessageCountResponse, GetMultiMessagesRequest, GetMultiMessagesResponse, GetMultiParticipantsRequest, GetMultiParticipantsResponse, GetMultiWidgetMessagesRequest, GetMultiWidgetMessagesResponse, GetParticipantsByKeyRequest, GetParticipantsByKeyResponse, GetWidgetConversationResponse, GetWidgetRequest, GetWidgetResponse, ListMessagesRequestListMessagesFilters, ListMessagesRequest, ListMessagesResponse, ListWidgetsRequest, ListWidgetsResponse, LookupConversationsRequestLookupConversationsFilters, LookupConversationsRequest, LookupConversationsResponse, Media, Metadata, ReceiveMessageRequestMetadataEntry, PagedRequestOptions, PagedResponseMetadata, ReceiveMessageRequest, RemoveConversationFromConversationViewRequest, SearchConversationsRequest, SearchConversationsResponse, SendMessageRequest, SendMessageResponse, SendWidgetMessageRequest, SetLastSeenRequest, SetLastSeenResponse, UpdateMessageStatusRequest, UpdateWidgetRequest, UpdateWidgetResponse, UpsertConfigurationRequest, UpsertConfigurationResponse, } from './api';
|
|
17
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
16
|
+
export { AddConversationToConversationViewRequest, AddMultiParticipantsRequest, AddMultiParticipantsResponse, ConversationMessageCount, LookupConversationsResponseConversations, GetMultiConversationMessageCountResponseCountsEntry, CreateConversationRequest, CreateConversationResponse, CreateMultiMessagesRequest, CreateWidgetConversationRequest, CreateWidgetConversationResponse, CreateWidgetRequest, CreateWidgetResponse, MetadataDataEntry, DeleteConversationRequest, DeleteMessageRequest, DeleteWidgetRequest, SearchConversationsResponseDetailedConversation, GetMultiConversationDetailsResponseDetailedConversation, GetConfigurationRequest, GetConfigurationResponse, GetConversationByKeyRequest, GetConversationByKeyResponse, GetConversationViewsRequest, GetConversationViewsResponse, GetMessageRequest, GetMultiConfigurationRequest, GetMultiConfigurationResponse, GetMultiConversationDetailsRequest, GetMultiConversationDetailsResponse, GetMultiConversationMessageCountRequest, GetMultiConversationMessageCountResponse, GetMultiMessagesRequest, GetMultiMessagesResponse, GetMultiParticipantsRequest, GetMultiParticipantsResponse, GetMultiWidgetMessagesRequest, GetMultiWidgetMessagesResponse, GetParticipantsByKeyRequest, GetParticipantsByKeyResponse, GetWidgetConfigRequest, GetWidgetConfigResponse, GetWidgetConversationResponse, GetWidgetRequest, GetWidgetResponse, ListMessagesRequestListMessagesFilters, ListMessagesRequest, ListMessagesResponse, ListWidgetsRequest, ListWidgetsResponse, LookupConversationsRequestLookupConversationsFilters, LookupConversationsRequest, LookupConversationsResponse, Media, Metadata, ReceiveMessageRequestMetadataEntry, PagedRequestOptions, PagedResponseMetadata, ReceiveMessageRequest, RemoveConversationFromConversationViewRequest, SearchConversationsRequest, SearchConversationsResponse, SendMessageRequest, SendMessageResponse, SendWidgetMessageRequest, SetLastSeenRequest, SetLastSeenResponse, UpdateMessageStatusRequest, UpdateWidgetRequest, UpdateWidgetResponse, UpsertConfigurationRequest, UpsertConfigurationResponse, } from './api';
|
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9jb252ZXJzYXRpb25fc2RrL3NyYy9saWIvX2ludGVybmFsL29iamVjdHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsb0NBQW9DO0FBQ3BDLDJCQUEyQjtBQUMzQixnQkFBZ0I7QUFDaEIsRUFBRTtBQUNGLGlCQUFpQjtBQUNqQixvQ0FBb0M7QUFDcEMsT0FBTyxFQUNILE9BQU8sRUFDUCx3QkFBd0IsRUFDeEIsVUFBVSxHQUNiLE1BQU0sV0FBVyxDQUFDO0FBRW5CLE9BQU8sRUFDSCxrQkFBa0IsR0FDckIsTUFBTSxVQUFVLENBQUM7QUFFbEIsT0FBTyxFQUNILFlBQVksRUFDWixlQUFlLEVBQ2YscUJBQXFCLEdBQ3hCLE1BQU0sZ0JBQWdCLENBQUM7QUFFeEI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SZXF1ZXN0LFxuICAgIFJlbW92ZUNvbnZlcnNhdGlvbkZyb21Db252ZXJzYXRpb25WaWV3UmVxdWVzdCxcbiAgICBTZWFyY2hDb252ZXJzYXRpb25zUmVxdWVzdCxcbiAgICBTZWFyY2hDb252ZXJzYXRpb25zUmVzcG9uc2UsXG4gICAgU2VuZE1lc3NhZ2VSZXF1ZXN0LFxuICAgIFNlbmRNZXNzYWdlUmVzcG9uc2UsXG4gICAgU2VuZFdpZGdldE1lc3NhZ2VSZXF1ZXN0LFxuICAgIFNldExhc3RTZWVuUmVxdWVzdCxcbiAgICBTZXRMYXN0U2VlblJlc3BvbnNlLFxuICAgIFVwZGF0ZU1lc3NhZ2VTdGF0dXNSZXF1ZXN0LFxuICAgIFVwZGF0ZVdpZGdldFJlcXVlc3QsXG4gICAgVXBkYXRlV2lkZ2V0UmVzcG9uc2UsXG4gICAgVXBzZXJ0Q29uZmlndXJhdGlvblJlcXVlc3QsXG4gICAgVXBzZXJ0Q29uZmlndXJhdGlvblJlc3BvbnNlLFxufSBmcm9tICcuL2FwaSc7XG5cbiJdfQ==
|
|
@@ -1687,6 +1687,9 @@ class GetMultiMessagesRequest {
|
|
|
1687
1687
|
if (typeof this.conversationId !== 'undefined') {
|
|
1688
1688
|
toReturn['conversationId'] = this.conversationId;
|
|
1689
1689
|
}
|
|
1690
|
+
if (typeof this.languageCode !== 'undefined') {
|
|
1691
|
+
toReturn['languageCode'] = this.languageCode;
|
|
1692
|
+
}
|
|
1690
1693
|
return toReturn;
|
|
1691
1694
|
}
|
|
1692
1695
|
}
|
|
@@ -1854,6 +1857,55 @@ class GetParticipantsByKeyResponse {
|
|
|
1854
1857
|
return toReturn;
|
|
1855
1858
|
}
|
|
1856
1859
|
}
|
|
1860
|
+
class GetWidgetConfigRequest {
|
|
1861
|
+
static fromProto(proto) {
|
|
1862
|
+
let m = new GetWidgetConfigRequest();
|
|
1863
|
+
m = Object.assign(m, proto);
|
|
1864
|
+
return m;
|
|
1865
|
+
}
|
|
1866
|
+
constructor(kwargs) {
|
|
1867
|
+
if (!kwargs) {
|
|
1868
|
+
return;
|
|
1869
|
+
}
|
|
1870
|
+
Object.assign(this, kwargs);
|
|
1871
|
+
}
|
|
1872
|
+
toApiJson() {
|
|
1873
|
+
const toReturn = {};
|
|
1874
|
+
if (typeof this.widgetId !== 'undefined') {
|
|
1875
|
+
toReturn['widgetId'] = this.widgetId;
|
|
1876
|
+
}
|
|
1877
|
+
return toReturn;
|
|
1878
|
+
}
|
|
1879
|
+
}
|
|
1880
|
+
class GetWidgetConfigResponse {
|
|
1881
|
+
static fromProto(proto) {
|
|
1882
|
+
let m = new GetWidgetConfigResponse();
|
|
1883
|
+
m = Object.assign(m, proto);
|
|
1884
|
+
return m;
|
|
1885
|
+
}
|
|
1886
|
+
constructor(kwargs) {
|
|
1887
|
+
if (!kwargs) {
|
|
1888
|
+
return;
|
|
1889
|
+
}
|
|
1890
|
+
Object.assign(this, kwargs);
|
|
1891
|
+
}
|
|
1892
|
+
toApiJson() {
|
|
1893
|
+
const toReturn = {};
|
|
1894
|
+
if (typeof this.name !== 'undefined') {
|
|
1895
|
+
toReturn['name'] = this.name;
|
|
1896
|
+
}
|
|
1897
|
+
if (typeof this.color !== 'undefined') {
|
|
1898
|
+
toReturn['color'] = this.color;
|
|
1899
|
+
}
|
|
1900
|
+
if (typeof this.isEnabled !== 'undefined') {
|
|
1901
|
+
toReturn['isEnabled'] = this.isEnabled;
|
|
1902
|
+
}
|
|
1903
|
+
if (typeof this.welcomeMessage !== 'undefined') {
|
|
1904
|
+
toReturn['welcomeMessage'] = this.welcomeMessage;
|
|
1905
|
+
}
|
|
1906
|
+
return toReturn;
|
|
1907
|
+
}
|
|
1908
|
+
}
|
|
1857
1909
|
class GetWidgetConversationResponse {
|
|
1858
1910
|
static fromProto(proto) {
|
|
1859
1911
|
let m = new GetWidgetConversationResponse();
|
|
@@ -2528,6 +2580,9 @@ class SendMessageResponse {
|
|
|
2528
2580
|
if (typeof this.workflowId !== 'undefined') {
|
|
2529
2581
|
toReturn['workflowId'] = this.workflowId;
|
|
2530
2582
|
}
|
|
2583
|
+
if (typeof this.messageId !== 'undefined') {
|
|
2584
|
+
toReturn['messageId'] = this.messageId;
|
|
2585
|
+
}
|
|
2531
2586
|
return toReturn;
|
|
2532
2587
|
}
|
|
2533
2588
|
}
|
|
@@ -2960,6 +3015,11 @@ class ConversationApiService {
|
|
|
2960
3015
|
return this.http.post(this._host + "/conversation.v1.ConversationService/ListWidgets", request.toApiJson(), this.apiOptions())
|
|
2961
3016
|
.pipe(map(resp => ListWidgetsResponse.fromProto(resp)));
|
|
2962
3017
|
}
|
|
3018
|
+
getWidgetConfig(r) {
|
|
3019
|
+
const request = (r.toApiJson) ? r : new GetWidgetConfigRequest(r);
|
|
3020
|
+
return this.http.post(this._host + "/conversation.v1.ConversationService/GetWidgetConfig", request.toApiJson(), this.apiOptions())
|
|
3021
|
+
.pipe(map(resp => GetWidgetConfigResponse.fromProto(resp)));
|
|
3022
|
+
}
|
|
2963
3023
|
}
|
|
2964
3024
|
ConversationApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ConversationApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2965
3025
|
ConversationApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ConversationApiService, providedIn: 'root' });
|
|
@@ -3022,5 +3082,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
3022
3082
|
* Generated bundle index. Do not edit.
|
|
3023
3083
|
*/
|
|
3024
3084
|
|
|
3025
|
-
export { Access, AddConversationToConversationViewRequest, AddMultiParticipantsRequest, AddMultiParticipantsResponse, Address, Configuration, Conversation, ConversationApiService, ConversationChannel, ConversationKey, ConversationMessageCount, CreateConversationRequest, CreateConversationResponse, CreateMultiMessagesRequest, CreateWidgetConversationRequest, CreateWidgetConversationResponse, CreateWidgetRequest, CreateWidgetResponse, DeleteConversationRequest, DeleteMessageRequest, DeleteWidgetRequest, FieldMask, GetConfigurationRequest, GetConfigurationResponse, GetConversationByKeyRequest, GetConversationByKeyResponse, GetConversationViewsRequest, GetConversationViewsResponse, GetMessageRequest, GetMultiConfigurationRequest, GetMultiConfigurationResponse, GetMultiConversationDetailsRequest, GetMultiConversationDetailsResponse, GetMultiConversationDetailsResponseDetailedConversation, GetMultiConversationMessageCountRequest, GetMultiConversationMessageCountResponse, GetMultiConversationMessageCountResponseCountsEntry, GetMultiMessagesRequest, GetMultiMessagesResponse, GetMultiParticipantsRequest, GetMultiParticipantsResponse, GetMultiWidgetMessagesRequest, GetMultiWidgetMessagesResponse, GetParticipantsByKeyRequest, GetParticipantsByKeyResponse, GetWidgetConversationResponse, GetWidgetRequest, GetWidgetResponse, GlobalParticipantType, InboxApiService, LastSeenByParticipant, ListMessagesRequest, ListMessagesRequestListMessagesFilters, ListMessagesResponse, ListWidgetsRequest, ListWidgetsResponse, LookupConversationsRequest, LookupConversationsRequestLookupConversationsFilters, LookupConversationsResponse, LookupConversationsResponseConversations, Media, Message, MessageStatus, MessageType, Metadata, MetadataDataEntry, MetadataIdentifier, PagedRequestOptions, PagedResponseMetadata, Participant, ParticipantKey, ParticipantMessageStatus, ParticipantType, PlatformLocation, ReceiveMessageRequest, ReceiveMessageRequestMetadataEntry, RemoveConversationFromConversationViewRequest, SearchConversationsRequest, SearchConversationsResponse, SearchConversationsResponseDetailedConversation, SendMessageRequest, SendMessageResponse, SendStatus, SendWidgetMessageRequest, SetLastSeenRequest, SetLastSeenRequestStatus, SetLastSeenResponse, SortDirection, SubjectParticipant, UpdateMessageStatusRequest, UpdateWidgetRequest, UpdateWidgetResponse, UpsertConfigurationRequest, UpsertConfigurationResponse, View, ViewType, Widget, WidgetPosition };
|
|
3085
|
+
export { Access, AddConversationToConversationViewRequest, AddMultiParticipantsRequest, AddMultiParticipantsResponse, Address, Configuration, Conversation, ConversationApiService, ConversationChannel, ConversationKey, ConversationMessageCount, CreateConversationRequest, CreateConversationResponse, CreateMultiMessagesRequest, CreateWidgetConversationRequest, CreateWidgetConversationResponse, CreateWidgetRequest, CreateWidgetResponse, DeleteConversationRequest, DeleteMessageRequest, DeleteWidgetRequest, FieldMask, GetConfigurationRequest, GetConfigurationResponse, GetConversationByKeyRequest, GetConversationByKeyResponse, GetConversationViewsRequest, GetConversationViewsResponse, GetMessageRequest, GetMultiConfigurationRequest, GetMultiConfigurationResponse, GetMultiConversationDetailsRequest, GetMultiConversationDetailsResponse, GetMultiConversationDetailsResponseDetailedConversation, GetMultiConversationMessageCountRequest, GetMultiConversationMessageCountResponse, GetMultiConversationMessageCountResponseCountsEntry, GetMultiMessagesRequest, GetMultiMessagesResponse, GetMultiParticipantsRequest, GetMultiParticipantsResponse, GetMultiWidgetMessagesRequest, GetMultiWidgetMessagesResponse, GetParticipantsByKeyRequest, GetParticipantsByKeyResponse, GetWidgetConfigRequest, GetWidgetConfigResponse, GetWidgetConversationResponse, GetWidgetRequest, GetWidgetResponse, GlobalParticipantType, InboxApiService, LastSeenByParticipant, ListMessagesRequest, ListMessagesRequestListMessagesFilters, ListMessagesResponse, ListWidgetsRequest, ListWidgetsResponse, LookupConversationsRequest, LookupConversationsRequestLookupConversationsFilters, LookupConversationsResponse, LookupConversationsResponseConversations, Media, Message, MessageStatus, MessageType, Metadata, MetadataDataEntry, MetadataIdentifier, PagedRequestOptions, PagedResponseMetadata, Participant, ParticipantKey, ParticipantMessageStatus, ParticipantType, PlatformLocation, ReceiveMessageRequest, ReceiveMessageRequestMetadataEntry, RemoveConversationFromConversationViewRequest, SearchConversationsRequest, SearchConversationsResponse, SearchConversationsResponseDetailedConversation, SendMessageRequest, SendMessageResponse, SendStatus, SendWidgetMessageRequest, SetLastSeenRequest, SetLastSeenRequestStatus, SetLastSeenResponse, SortDirection, SubjectParticipant, UpdateMessageStatusRequest, UpdateWidgetRequest, UpdateWidgetResponse, UpsertConfigurationRequest, UpsertConfigurationResponse, View, ViewType, Widget, WidgetPosition };
|
|
3026
3086
|
//# sourceMappingURL=vendasta-conversation.mjs.map
|