@vendasta/conversation 0.26.0 → 0.27.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/inbox.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 +51 -5
- package/esm2020/lib/_internal/objects/index.mjs +2 -2
- package/fesm2015/vendasta-conversation.mjs +56 -5
- package/fesm2015/vendasta-conversation.mjs.map +1 -1
- package/fesm2020/vendasta-conversation.mjs +56 -5
- package/fesm2020/vendasta-conversation.mjs.map +1 -1
- package/lib/_internal/inbox.api.service.d.ts +3 -2
- package/lib/_internal/interfaces/api.interface.d.ts +8 -2
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/objects/api.d.ts +18 -6
- package/lib/_internal/objects/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GetConfigurationRequest, GetConfigurationResponse, UpsertConfigurationRequest, UpsertConfigurationResponse } from './objects/';
|
|
2
|
-
import { GetConfigurationRequestInterface, UpsertConfigurationRequestInterface } from './interfaces/';
|
|
1
|
+
import { GetConfigurationRequest, GetConfigurationResponse, GetMultiConfigurationRequest, GetMultiConfigurationResponse, UpsertConfigurationRequest, UpsertConfigurationResponse } from './objects/';
|
|
2
|
+
import { GetConfigurationRequestInterface, GetMultiConfigurationRequestInterface, UpsertConfigurationRequestInterface } from './interfaces/';
|
|
3
3
|
import { HttpClient } from '@angular/common/http';
|
|
4
4
|
import { HostService } from '../_generated/host.service';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
@@ -11,6 +11,7 @@ export declare class InboxApiService {
|
|
|
11
11
|
constructor(http: HttpClient, hostService: HostService);
|
|
12
12
|
private apiOptions;
|
|
13
13
|
getConfiguration(r: GetConfigurationRequest | GetConfigurationRequestInterface): Observable<GetConfigurationResponse>;
|
|
14
|
+
getMultiConfiguration(r: GetMultiConfigurationRequest | GetMultiConfigurationRequestInterface): Observable<GetMultiConfigurationResponse>;
|
|
14
15
|
upsertConfiguration(r: UpsertConfigurationRequest | UpsertConfigurationRequestInterface): Observable<UpsertConfigurationResponse>;
|
|
15
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<InboxApiService, never>;
|
|
16
17
|
static ɵprov: i0.ɵɵInjectableDeclaration<InboxApiService>;
|
|
@@ -50,12 +50,12 @@ export interface DeleteConversationRequestInterface {
|
|
|
50
50
|
export interface DeleteMessageRequestInterface {
|
|
51
51
|
messageId?: string;
|
|
52
52
|
}
|
|
53
|
-
export interface
|
|
53
|
+
export interface GetMultiConversationDetailsResponseDetailedConversationInterface {
|
|
54
54
|
conversation?: ConversationInterface;
|
|
55
55
|
latestMessage?: MessageInterface;
|
|
56
56
|
participants?: ParticipantInterface[];
|
|
57
57
|
}
|
|
58
|
-
export interface
|
|
58
|
+
export interface SearchConversationsResponseDetailedConversationInterface {
|
|
59
59
|
conversation?: ConversationInterface;
|
|
60
60
|
latestMessage?: MessageInterface;
|
|
61
61
|
participants?: ParticipantInterface[];
|
|
@@ -75,6 +75,12 @@ export interface GetConversationByKeyResponseInterface {
|
|
|
75
75
|
export interface GetMessageRequestInterface {
|
|
76
76
|
messageId?: string;
|
|
77
77
|
}
|
|
78
|
+
export interface GetMultiConfigurationRequestInterface {
|
|
79
|
+
subjectParticipants?: SubjectParticipantInterface[];
|
|
80
|
+
}
|
|
81
|
+
export interface GetMultiConfigurationResponseInterface {
|
|
82
|
+
configurations?: ConfigurationInterface[];
|
|
83
|
+
}
|
|
78
84
|
export interface GetMultiConversationDetailsRequestInterface {
|
|
79
85
|
conversationIds?: string[];
|
|
80
86
|
}
|
|
@@ -4,4 +4,4 @@ export { ConversationInterface, ConversationKeyInterface, LastSeenByParticipantI
|
|
|
4
4
|
export { AddressInterface, ParticipantInterface, ParticipantKeyInterface, } from './participant.interface';
|
|
5
5
|
export { AccessInterface, } from './annotations.interface';
|
|
6
6
|
export { ConfigurationInterface, } from './configuration.interface';
|
|
7
|
-
export { AddMultiParticipantsRequestInterface, AddMultiParticipantsResponseInterface, ConversationMessageCountInterface, LookupConversationsResponseConversationsInterface, GetMultiConversationMessageCountResponseCountsEntryInterface, CreateConversationRequestInterface, CreateConversationResponseInterface, CreateMultiMessagesRequestInterface, MetadataDataEntryInterface, DeleteConversationRequestInterface, DeleteMessageRequestInterface,
|
|
7
|
+
export { AddMultiParticipantsRequestInterface, AddMultiParticipantsResponseInterface, ConversationMessageCountInterface, LookupConversationsResponseConversationsInterface, GetMultiConversationMessageCountResponseCountsEntryInterface, CreateConversationRequestInterface, CreateConversationResponseInterface, CreateMultiMessagesRequestInterface, MetadataDataEntryInterface, DeleteConversationRequestInterface, DeleteMessageRequestInterface, GetMultiConversationDetailsResponseDetailedConversationInterface, SearchConversationsResponseDetailedConversationInterface, GetConfigurationRequestInterface, GetConfigurationResponseInterface, GetConversationByKeyRequestInterface, GetConversationByKeyResponseInterface, GetMessageRequestInterface, GetMultiConfigurationRequestInterface, GetMultiConfigurationResponseInterface, GetMultiConversationDetailsRequestInterface, GetMultiConversationDetailsResponseInterface, GetMultiConversationMessageCountRequestInterface, GetMultiConversationMessageCountResponseInterface, GetMultiMessagesRequestInterface, GetMultiMessagesResponseInterface, GetMultiParticipantsRequestInterface, GetMultiParticipantsResponseInterface, GetParticipantsByKeyRequestInterface, GetParticipantsByKeyResponseInterface, ListMessagesRequestListMessagesFiltersInterface, ListMessagesRequestInterface, ListMessagesResponseInterface, LookupConversationsRequestLookupConversationsFiltersInterface, LookupConversationsRequestInterface, LookupConversationsResponseInterface, MetadataInterface, ReceiveMessageRequestMetadataEntryInterface, PagedRequestOptionsInterface, PagedResponseMetadataInterface, ReceiveMessageRequestInterface, SearchConversationsRequestInterface, SearchConversationsResponseInterface, SendMessageRequestInterface, SendMessageResponseInterface, SetLastSeenRequestInterface, SetLastSeenResponseInterface, UpdateMessageStatusRequestInterface, UpsertConfigurationRequestInterface, UpsertConfigurationResponseInterface, } from './api.interface';
|
|
@@ -85,20 +85,20 @@ export declare class DeleteMessageRequest implements i.DeleteMessageRequestInter
|
|
|
85
85
|
constructor(kwargs?: i.DeleteMessageRequestInterface);
|
|
86
86
|
toApiJson(): object;
|
|
87
87
|
}
|
|
88
|
-
export declare class
|
|
88
|
+
export declare class GetMultiConversationDetailsResponseDetailedConversation implements i.GetMultiConversationDetailsResponseDetailedConversationInterface {
|
|
89
89
|
conversation: Conversation;
|
|
90
90
|
latestMessage: Message;
|
|
91
91
|
participants: Participant[];
|
|
92
|
-
static fromProto(proto: any):
|
|
93
|
-
constructor(kwargs?: i.
|
|
92
|
+
static fromProto(proto: any): GetMultiConversationDetailsResponseDetailedConversation;
|
|
93
|
+
constructor(kwargs?: i.GetMultiConversationDetailsResponseDetailedConversationInterface);
|
|
94
94
|
toApiJson(): object;
|
|
95
95
|
}
|
|
96
|
-
export declare class
|
|
96
|
+
export declare class SearchConversationsResponseDetailedConversation implements i.SearchConversationsResponseDetailedConversationInterface {
|
|
97
97
|
conversation: Conversation;
|
|
98
98
|
latestMessage: Message;
|
|
99
99
|
participants: Participant[];
|
|
100
|
-
static fromProto(proto: any):
|
|
101
|
-
constructor(kwargs?: i.
|
|
100
|
+
static fromProto(proto: any): SearchConversationsResponseDetailedConversation;
|
|
101
|
+
constructor(kwargs?: i.SearchConversationsResponseDetailedConversationInterface);
|
|
102
102
|
toApiJson(): object;
|
|
103
103
|
}
|
|
104
104
|
export declare class GetConfigurationRequest implements i.GetConfigurationRequestInterface {
|
|
@@ -131,6 +131,18 @@ export declare class GetMessageRequest implements i.GetMessageRequestInterface {
|
|
|
131
131
|
constructor(kwargs?: i.GetMessageRequestInterface);
|
|
132
132
|
toApiJson(): object;
|
|
133
133
|
}
|
|
134
|
+
export declare class GetMultiConfigurationRequest implements i.GetMultiConfigurationRequestInterface {
|
|
135
|
+
subjectParticipants: SubjectParticipant[];
|
|
136
|
+
static fromProto(proto: any): GetMultiConfigurationRequest;
|
|
137
|
+
constructor(kwargs?: i.GetMultiConfigurationRequestInterface);
|
|
138
|
+
toApiJson(): object;
|
|
139
|
+
}
|
|
140
|
+
export declare class GetMultiConfigurationResponse implements i.GetMultiConfigurationResponseInterface {
|
|
141
|
+
configurations: Configuration[];
|
|
142
|
+
static fromProto(proto: any): GetMultiConfigurationResponse;
|
|
143
|
+
constructor(kwargs?: i.GetMultiConfigurationResponseInterface);
|
|
144
|
+
toApiJson(): object;
|
|
145
|
+
}
|
|
134
146
|
export declare class GetMultiConversationDetailsRequest implements i.GetMultiConversationDetailsRequestInterface {
|
|
135
147
|
conversationIds: string[];
|
|
136
148
|
static fromProto(proto: any): GetMultiConversationDetailsRequest;
|
|
@@ -4,4 +4,4 @@ export { Conversation, ConversationKey, LastSeenByParticipant, } from './convers
|
|
|
4
4
|
export { Address, Participant, ParticipantKey, } from './participant';
|
|
5
5
|
export { Access, } from './annotations';
|
|
6
6
|
export { Configuration, } from './configuration';
|
|
7
|
-
export { AddMultiParticipantsRequest, AddMultiParticipantsResponse, ConversationMessageCount, LookupConversationsResponseConversations, GetMultiConversationMessageCountResponseCountsEntry, CreateConversationRequest, CreateConversationResponse, CreateMultiMessagesRequest, MetadataDataEntry, DeleteConversationRequest, DeleteMessageRequest,
|
|
7
|
+
export { AddMultiParticipantsRequest, AddMultiParticipantsResponse, ConversationMessageCount, LookupConversationsResponseConversations, GetMultiConversationMessageCountResponseCountsEntry, CreateConversationRequest, CreateConversationResponse, CreateMultiMessagesRequest, MetadataDataEntry, DeleteConversationRequest, DeleteMessageRequest, GetMultiConversationDetailsResponseDetailedConversation, SearchConversationsResponseDetailedConversation, GetConfigurationRequest, GetConfigurationResponse, GetConversationByKeyRequest, GetConversationByKeyResponse, GetMessageRequest, GetMultiConfigurationRequest, GetMultiConfigurationResponse, GetMultiConversationDetailsRequest, GetMultiConversationDetailsResponse, GetMultiConversationMessageCountRequest, GetMultiConversationMessageCountResponse, GetMultiMessagesRequest, GetMultiMessagesResponse, GetMultiParticipantsRequest, GetMultiParticipantsResponse, GetParticipantsByKeyRequest, GetParticipantsByKeyResponse, ListMessagesRequestListMessagesFilters, ListMessagesRequest, ListMessagesResponse, LookupConversationsRequestLookupConversationsFilters, LookupConversationsRequest, LookupConversationsResponse, Metadata, ReceiveMessageRequestMetadataEntry, PagedRequestOptions, PagedResponseMetadata, ReceiveMessageRequest, SearchConversationsRequest, SearchConversationsResponse, SendMessageRequest, SendMessageResponse, SetLastSeenRequest, SetLastSeenResponse, UpdateMessageStatusRequest, UpsertConfigurationRequest, UpsertConfigurationResponse, } from './api';
|