@vendasta/conversation 0.24.0 → 0.26.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/enums/common.enum.mjs +19 -0
- package/esm2020/lib/_internal/enums/index.mjs +3 -2
- package/esm2020/lib/_internal/enums/participant.enum.mjs +1 -13
- package/esm2020/lib/_internal/inbox.api.service.mjs +46 -0
- package/esm2020/lib/_internal/index.mjs +2 -1
- package/esm2020/lib/_internal/interfaces/api.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/common.interface.mjs +8 -0
- package/esm2020/lib/_internal/interfaces/configuration.interface.mjs +2 -0
- package/esm2020/lib/_internal/interfaces/conversation.interface.mjs +1 -7
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/objects/api.mjs +142 -2
- package/esm2020/lib/_internal/objects/common.mjs +34 -0
- package/esm2020/lib/_internal/objects/configuration.mjs +49 -0
- package/esm2020/lib/_internal/objects/conversation.mjs +34 -1
- package/esm2020/lib/_internal/objects/index.mjs +5 -3
- package/esm2020/lib/index.mjs +2 -1
- package/fesm2015/vendasta-conversation.mjs +323 -27
- package/fesm2015/vendasta-conversation.mjs.map +1 -1
- package/fesm2020/vendasta-conversation.mjs +323 -27
- package/fesm2020/vendasta-conversation.mjs.map +1 -1
- package/lib/_internal/conversation.api.service.d.ts +3 -2
- package/lib/_internal/enums/common.enum.d.ts +11 -0
- package/lib/_internal/enums/index.d.ts +2 -1
- package/lib/_internal/enums/participant.enum.d.ts +0 -11
- package/lib/_internal/inbox.api.service.d.ts +17 -0
- package/lib/_internal/index.d.ts +1 -0
- package/lib/_internal/interfaces/api.interface.d.ts +21 -1
- package/lib/_internal/interfaces/common.interface.d.ts +5 -0
- package/lib/_internal/interfaces/configuration.interface.d.ts +8 -0
- package/lib/_internal/interfaces/conversation.interface.d.ts +6 -0
- package/lib/_internal/interfaces/index.d.ts +4 -2
- package/lib/_internal/objects/api.d.ts +39 -1
- package/lib/_internal/objects/common.d.ts +10 -0
- package/lib/_internal/objects/configuration.d.ts +13 -0
- package/lib/_internal/objects/conversation.d.ts +9 -0
- package/lib/_internal/objects/index.d.ts +4 -2
- package/lib/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AddMultiParticipantsRequest, AddMultiParticipantsResponse, CreateConversationRequest, CreateConversationResponse, CreateMultiMessagesRequest, DeleteConversationRequest, DeleteMessageRequest, GetMessageRequest, GetMultiConversationDetailsRequest, GetMultiConversationDetailsResponse, GetMultiConversationMessageCountRequest, GetMultiConversationMessageCountResponse, GetMultiMessagesRequest, GetMultiMessagesResponse, GetMultiParticipantsRequest, GetMultiParticipantsResponse, GetParticipantsByKeyRequest, GetParticipantsByKeyResponse, ListMessagesRequest, ListMessagesResponse, LookupConversationsRequest, LookupConversationsResponse, Message, ReceiveMessageRequest, SearchConversationsRequest, SearchConversationsResponse, SendMessageRequest, SendMessageResponse, SetLastSeenRequest, SetLastSeenResponse, UpdateMessageStatusRequest } from './objects/';
|
|
2
|
-
import { AddMultiParticipantsRequestInterface, CreateConversationRequestInterface, CreateMultiMessagesRequestInterface, DeleteConversationRequestInterface, DeleteMessageRequestInterface, GetMessageRequestInterface, GetMultiConversationDetailsRequestInterface, GetMultiConversationMessageCountRequestInterface, GetMultiMessagesRequestInterface, GetMultiParticipantsRequestInterface, GetParticipantsByKeyRequestInterface, ListMessagesRequestInterface, LookupConversationsRequestInterface, ReceiveMessageRequestInterface, SearchConversationsRequestInterface, SendMessageRequestInterface, SetLastSeenRequestInterface, UpdateMessageStatusRequestInterface } from './interfaces/';
|
|
1
|
+
import { AddMultiParticipantsRequest, AddMultiParticipantsResponse, CreateConversationRequest, CreateConversationResponse, CreateMultiMessagesRequest, DeleteConversationRequest, DeleteMessageRequest, GetConversationByKeyRequest, GetConversationByKeyResponse, GetMessageRequest, GetMultiConversationDetailsRequest, GetMultiConversationDetailsResponse, GetMultiConversationMessageCountRequest, GetMultiConversationMessageCountResponse, GetMultiMessagesRequest, GetMultiMessagesResponse, GetMultiParticipantsRequest, GetMultiParticipantsResponse, GetParticipantsByKeyRequest, GetParticipantsByKeyResponse, ListMessagesRequest, ListMessagesResponse, LookupConversationsRequest, LookupConversationsResponse, Message, ReceiveMessageRequest, SearchConversationsRequest, SearchConversationsResponse, SendMessageRequest, SendMessageResponse, SetLastSeenRequest, SetLastSeenResponse, UpdateMessageStatusRequest } from './objects/';
|
|
2
|
+
import { AddMultiParticipantsRequestInterface, CreateConversationRequestInterface, CreateMultiMessagesRequestInterface, DeleteConversationRequestInterface, DeleteMessageRequestInterface, GetConversationByKeyRequestInterface, GetMessageRequestInterface, GetMultiConversationDetailsRequestInterface, GetMultiConversationMessageCountRequestInterface, GetMultiMessagesRequestInterface, GetMultiParticipantsRequestInterface, GetParticipantsByKeyRequestInterface, ListMessagesRequestInterface, LookupConversationsRequestInterface, ReceiveMessageRequestInterface, SearchConversationsRequestInterface, SendMessageRequestInterface, SetLastSeenRequestInterface, UpdateMessageStatusRequestInterface } from './interfaces/';
|
|
3
3
|
import { HttpClient, HttpResponse } from '@angular/common/http';
|
|
4
4
|
import { HostService } from '../_generated/host.service';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
@@ -16,6 +16,7 @@ export declare class ConversationApiService {
|
|
|
16
16
|
deleteMessage(r: DeleteMessageRequest | DeleteMessageRequestInterface): Observable<HttpResponse<null>>;
|
|
17
17
|
updateMessageStatus(r: UpdateMessageStatusRequest | UpdateMessageStatusRequestInterface): Observable<HttpResponse<null>>;
|
|
18
18
|
lookupConversations(r: LookupConversationsRequest | LookupConversationsRequestInterface): Observable<LookupConversationsResponse>;
|
|
19
|
+
getConversationByKey(r: GetConversationByKeyRequest | GetConversationByKeyRequestInterface): Observable<GetConversationByKeyResponse>;
|
|
19
20
|
createConversation(r: CreateConversationRequest | CreateConversationRequestInterface): Observable<CreateConversationResponse>;
|
|
20
21
|
deleteConversation(r: DeleteConversationRequest | DeleteConversationRequestInterface): Observable<HttpResponse<null>>;
|
|
21
22
|
receiveMessage(r: ReceiveMessageRequest | ReceiveMessageRequestInterface): Observable<HttpResponse<null>>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare enum GlobalParticipantType {
|
|
2
|
+
GLOBAL_PARTICIPANT_TYPE_UNDEFINED = 0,
|
|
3
|
+
GLOBAL_PARTICIPANT_TYPE_CUSTOMER = 1,
|
|
4
|
+
GLOBAL_PARTICIPANT_TYPE_IAM_USER = 2,
|
|
5
|
+
GLOBAL_PARTICIPANT_TYPE_ACCOUNT_GROUP = 3,
|
|
6
|
+
GLOBAL_PARTICIPANT_TYPE_PARTNER = 4,
|
|
7
|
+
GLOBAL_PARTICIPANT_TYPE_IAM_TEMPORARY_SUBJECT = 5,
|
|
8
|
+
GLOBAL_PARTICIPANT_TYPE_DIGITAL_AGENT = 6,
|
|
9
|
+
GLOBAL_PARTICIPANT_TYPE_VENDOR = 7,
|
|
10
|
+
GLOBAL_PARTICIPANT_TYPE_OPENAI_BOT = 8
|
|
11
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { MessageStatus, MessageType, } from './message.enum';
|
|
2
|
+
export { GlobalParticipantType, } from './common.enum';
|
|
2
3
|
export { ConversationChannel, PlatformLocation, } from './conversation.enum';
|
|
3
|
-
export {
|
|
4
|
+
export { ParticipantType, } from './participant.enum';
|
|
4
5
|
export { MetadataIdentifier, SetLastSeenRequestStatus, } from './api.enum';
|
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
export declare enum GlobalParticipantType {
|
|
2
|
-
GLOBAL_PARTICIPANT_TYPE_UNDEFINED = 0,
|
|
3
|
-
GLOBAL_PARTICIPANT_TYPE_CUSTOMER = 1,
|
|
4
|
-
GLOBAL_PARTICIPANT_TYPE_IAM_USER = 2,
|
|
5
|
-
GLOBAL_PARTICIPANT_TYPE_ACCOUNT_GROUP = 3,
|
|
6
|
-
GLOBAL_PARTICIPANT_TYPE_PARTNER = 4,
|
|
7
|
-
GLOBAL_PARTICIPANT_TYPE_IAM_TEMPORARY_SUBJECT = 5,
|
|
8
|
-
GLOBAL_PARTICIPANT_TYPE_DIGITAL_AGENT = 6,
|
|
9
|
-
GLOBAL_PARTICIPANT_TYPE_VENDOR = 7,
|
|
10
|
-
GLOBAL_PARTICIPANT_TYPE_OPENAI_BOT = 8
|
|
11
|
-
}
|
|
12
1
|
export declare enum ParticipantType {
|
|
13
2
|
PARTICIPANT_TYPE_UNDEFINED = 0,
|
|
14
3
|
PARTICIPANT_TYPE_CUSTOMER = 1,
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { GetConfigurationRequest, GetConfigurationResponse, UpsertConfigurationRequest, UpsertConfigurationResponse } from './objects/';
|
|
2
|
+
import { GetConfigurationRequestInterface, UpsertConfigurationRequestInterface } from './interfaces/';
|
|
3
|
+
import { HttpClient } from '@angular/common/http';
|
|
4
|
+
import { HostService } from '../_generated/host.service';
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class InboxApiService {
|
|
8
|
+
private http;
|
|
9
|
+
private hostService;
|
|
10
|
+
private _host;
|
|
11
|
+
constructor(http: HttpClient, hostService: HostService);
|
|
12
|
+
private apiOptions;
|
|
13
|
+
getConfiguration(r: GetConfigurationRequest | GetConfigurationRequestInterface): Observable<GetConfigurationResponse>;
|
|
14
|
+
upsertConfiguration(r: UpsertConfigurationRequest | UpsertConfigurationRequestInterface): Observable<UpsertConfigurationResponse>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InboxApiService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<InboxApiService>;
|
|
17
|
+
}
|
package/lib/_internal/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ConfigurationInterface } from './configuration.interface';
|
|
2
|
+
import { ConversationInterface, ConversationKeyInterface } from './conversation.interface';
|
|
2
3
|
import { MessageInterface } from './message.interface';
|
|
3
4
|
import { ParticipantInterface, ParticipantKeyInterface } from './participant.interface';
|
|
5
|
+
import { SubjectParticipantInterface } from './common.interface';
|
|
4
6
|
import * as e from '../enums';
|
|
5
7
|
export interface AddMultiParticipantsRequestInterface {
|
|
6
8
|
conversationId?: string;
|
|
@@ -58,6 +60,18 @@ export interface GetMultiConversationDetailsResponseDetailedConversationInterfac
|
|
|
58
60
|
latestMessage?: MessageInterface;
|
|
59
61
|
participants?: ParticipantInterface[];
|
|
60
62
|
}
|
|
63
|
+
export interface GetConfigurationRequestInterface {
|
|
64
|
+
subjectParticipant?: SubjectParticipantInterface;
|
|
65
|
+
}
|
|
66
|
+
export interface GetConfigurationResponseInterface {
|
|
67
|
+
configuration?: ConfigurationInterface;
|
|
68
|
+
}
|
|
69
|
+
export interface GetConversationByKeyRequestInterface {
|
|
70
|
+
conversationKey?: ConversationKeyInterface;
|
|
71
|
+
}
|
|
72
|
+
export interface GetConversationByKeyResponseInterface {
|
|
73
|
+
conversation?: ConversationInterface;
|
|
74
|
+
}
|
|
61
75
|
export interface GetMessageRequestInterface {
|
|
62
76
|
messageId?: string;
|
|
63
77
|
}
|
|
@@ -194,3 +208,9 @@ export interface UpdateMessageStatusRequestInterface {
|
|
|
194
208
|
participantId?: string;
|
|
195
209
|
status?: e.MessageStatus;
|
|
196
210
|
}
|
|
211
|
+
export interface UpsertConfigurationRequestInterface {
|
|
212
|
+
configuration?: ConfigurationInterface;
|
|
213
|
+
}
|
|
214
|
+
export interface UpsertConfigurationResponseInterface {
|
|
215
|
+
configuration?: ConfigurationInterface;
|
|
216
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SubjectParticipantInterface } from './common.interface';
|
|
2
|
+
export interface ConfigurationInterface {
|
|
3
|
+
subjectParticipant?: SubjectParticipantInterface;
|
|
4
|
+
createdAt?: Date;
|
|
5
|
+
updatedAt?: Date;
|
|
6
|
+
availabilityMessage?: string;
|
|
7
|
+
showAvailabilityMessage?: boolean;
|
|
8
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SubjectParticipantInterface } from './common.interface';
|
|
1
2
|
import * as e from '../enums';
|
|
2
3
|
export interface ConversationInterface {
|
|
3
4
|
conversationId?: string;
|
|
@@ -12,6 +13,11 @@ export interface ConversationInterface {
|
|
|
12
13
|
originLocationExternalId?: string;
|
|
13
14
|
lastSeenByParticipant?: LastSeenByParticipantInterface[];
|
|
14
15
|
}
|
|
16
|
+
export interface ConversationKeyInterface {
|
|
17
|
+
subjectParticipants?: SubjectParticipantInterface[];
|
|
18
|
+
channel?: e.ConversationChannel;
|
|
19
|
+
originLocationExternalId?: string;
|
|
20
|
+
}
|
|
15
21
|
export interface LastSeenByParticipantInterface {
|
|
16
22
|
participantId?: string;
|
|
17
23
|
lastSeenTime?: Date;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export { MessageInterface, ParticipantMessageStatusInterface, } from './message.interface';
|
|
2
|
-
export {
|
|
2
|
+
export { SubjectParticipantInterface, } from './common.interface';
|
|
3
|
+
export { ConversationInterface, ConversationKeyInterface, LastSeenByParticipantInterface, } from './conversation.interface';
|
|
3
4
|
export { AddressInterface, ParticipantInterface, ParticipantKeyInterface, } from './participant.interface';
|
|
4
5
|
export { AccessInterface, } from './annotations.interface';
|
|
5
|
-
export {
|
|
6
|
+
export { ConfigurationInterface, } from './configuration.interface';
|
|
7
|
+
export { AddMultiParticipantsRequestInterface, AddMultiParticipantsResponseInterface, ConversationMessageCountInterface, LookupConversationsResponseConversationsInterface, GetMultiConversationMessageCountResponseCountsEntryInterface, CreateConversationRequestInterface, CreateConversationResponseInterface, CreateMultiMessagesRequestInterface, MetadataDataEntryInterface, DeleteConversationRequestInterface, DeleteMessageRequestInterface, SearchConversationsResponseDetailedConversationInterface, GetMultiConversationDetailsResponseDetailedConversationInterface, GetConfigurationRequestInterface, GetConfigurationResponseInterface, GetConversationByKeyRequestInterface, GetConversationByKeyResponseInterface, GetMessageRequestInterface, 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';
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import * as i from '../interfaces';
|
|
2
|
-
import {
|
|
2
|
+
import { Configuration } from './configuration';
|
|
3
|
+
import { Conversation, ConversationKey } from './conversation';
|
|
3
4
|
import { Message } from './message';
|
|
4
5
|
import { Participant, ParticipantKey } from './participant';
|
|
6
|
+
import { SubjectParticipant } from './common';
|
|
5
7
|
import * as e from '../enums';
|
|
6
8
|
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
7
9
|
export declare class AddMultiParticipantsRequest implements i.AddMultiParticipantsRequestInterface {
|
|
@@ -99,6 +101,30 @@ export declare class GetMultiConversationDetailsResponseDetailedConversation imp
|
|
|
99
101
|
constructor(kwargs?: i.GetMultiConversationDetailsResponseDetailedConversationInterface);
|
|
100
102
|
toApiJson(): object;
|
|
101
103
|
}
|
|
104
|
+
export declare class GetConfigurationRequest implements i.GetConfigurationRequestInterface {
|
|
105
|
+
subjectParticipant: SubjectParticipant;
|
|
106
|
+
static fromProto(proto: any): GetConfigurationRequest;
|
|
107
|
+
constructor(kwargs?: i.GetConfigurationRequestInterface);
|
|
108
|
+
toApiJson(): object;
|
|
109
|
+
}
|
|
110
|
+
export declare class GetConfigurationResponse implements i.GetConfigurationResponseInterface {
|
|
111
|
+
configuration: Configuration;
|
|
112
|
+
static fromProto(proto: any): GetConfigurationResponse;
|
|
113
|
+
constructor(kwargs?: i.GetConfigurationResponseInterface);
|
|
114
|
+
toApiJson(): object;
|
|
115
|
+
}
|
|
116
|
+
export declare class GetConversationByKeyRequest implements i.GetConversationByKeyRequestInterface {
|
|
117
|
+
conversationKey: ConversationKey;
|
|
118
|
+
static fromProto(proto: any): GetConversationByKeyRequest;
|
|
119
|
+
constructor(kwargs?: i.GetConversationByKeyRequestInterface);
|
|
120
|
+
toApiJson(): object;
|
|
121
|
+
}
|
|
122
|
+
export declare class GetConversationByKeyResponse implements i.GetConversationByKeyResponseInterface {
|
|
123
|
+
conversation: Conversation;
|
|
124
|
+
static fromProto(proto: any): GetConversationByKeyResponse;
|
|
125
|
+
constructor(kwargs?: i.GetConversationByKeyResponseInterface);
|
|
126
|
+
toApiJson(): object;
|
|
127
|
+
}
|
|
102
128
|
export declare class GetMessageRequest implements i.GetMessageRequestInterface {
|
|
103
129
|
messageId: string;
|
|
104
130
|
static fromProto(proto: any): GetMessageRequest;
|
|
@@ -322,3 +348,15 @@ export declare class UpdateMessageStatusRequest implements i.UpdateMessageStatus
|
|
|
322
348
|
constructor(kwargs?: i.UpdateMessageStatusRequestInterface);
|
|
323
349
|
toApiJson(): object;
|
|
324
350
|
}
|
|
351
|
+
export declare class UpsertConfigurationRequest implements i.UpsertConfigurationRequestInterface {
|
|
352
|
+
configuration: Configuration;
|
|
353
|
+
static fromProto(proto: any): UpsertConfigurationRequest;
|
|
354
|
+
constructor(kwargs?: i.UpsertConfigurationRequestInterface);
|
|
355
|
+
toApiJson(): object;
|
|
356
|
+
}
|
|
357
|
+
export declare class UpsertConfigurationResponse implements i.UpsertConfigurationResponseInterface {
|
|
358
|
+
configuration: Configuration;
|
|
359
|
+
static fromProto(proto: any): UpsertConfigurationResponse;
|
|
360
|
+
constructor(kwargs?: i.UpsertConfigurationResponseInterface);
|
|
361
|
+
toApiJson(): object;
|
|
362
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i from '../interfaces';
|
|
2
|
+
import * as e from '../enums';
|
|
3
|
+
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
4
|
+
export declare class SubjectParticipant implements i.SubjectParticipantInterface {
|
|
5
|
+
participantType: e.GlobalParticipantType;
|
|
6
|
+
internalParticipantId: string;
|
|
7
|
+
static fromProto(proto: any): SubjectParticipant;
|
|
8
|
+
constructor(kwargs?: i.SubjectParticipantInterface);
|
|
9
|
+
toApiJson(): object;
|
|
10
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i from '../interfaces';
|
|
2
|
+
import { SubjectParticipant } from './common';
|
|
3
|
+
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
4
|
+
export declare class Configuration implements i.ConfigurationInterface {
|
|
5
|
+
subjectParticipant: SubjectParticipant;
|
|
6
|
+
createdAt: Date;
|
|
7
|
+
updatedAt: Date;
|
|
8
|
+
availabilityMessage: string;
|
|
9
|
+
showAvailabilityMessage: boolean;
|
|
10
|
+
static fromProto(proto: any): Configuration;
|
|
11
|
+
constructor(kwargs?: i.ConfigurationInterface);
|
|
12
|
+
toApiJson(): object;
|
|
13
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as i from '../interfaces';
|
|
2
|
+
import { SubjectParticipant } 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 Conversation implements i.ConversationInterface {
|
|
@@ -17,6 +18,14 @@ export declare class Conversation implements i.ConversationInterface {
|
|
|
17
18
|
constructor(kwargs?: i.ConversationInterface);
|
|
18
19
|
toApiJson(): object;
|
|
19
20
|
}
|
|
21
|
+
export declare class ConversationKey implements i.ConversationKeyInterface {
|
|
22
|
+
subjectParticipants: SubjectParticipant[];
|
|
23
|
+
channel: e.ConversationChannel;
|
|
24
|
+
originLocationExternalId: string;
|
|
25
|
+
static fromProto(proto: any): ConversationKey;
|
|
26
|
+
constructor(kwargs?: i.ConversationKeyInterface);
|
|
27
|
+
toApiJson(): object;
|
|
28
|
+
}
|
|
20
29
|
export declare class LastSeenByParticipant implements i.LastSeenByParticipantInterface {
|
|
21
30
|
participantId: string;
|
|
22
31
|
lastSeenTime: Date;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export { Message, ParticipantMessageStatus, } from './message';
|
|
2
|
-
export {
|
|
2
|
+
export { SubjectParticipant, } from './common';
|
|
3
|
+
export { Conversation, ConversationKey, LastSeenByParticipant, } from './conversation';
|
|
3
4
|
export { Address, Participant, ParticipantKey, } from './participant';
|
|
4
5
|
export { Access, } from './annotations';
|
|
5
|
-
export {
|
|
6
|
+
export { Configuration, } from './configuration';
|
|
7
|
+
export { AddMultiParticipantsRequest, AddMultiParticipantsResponse, ConversationMessageCount, LookupConversationsResponseConversations, GetMultiConversationMessageCountResponseCountsEntry, CreateConversationRequest, CreateConversationResponse, CreateMultiMessagesRequest, MetadataDataEntry, DeleteConversationRequest, DeleteMessageRequest, SearchConversationsResponseDetailedConversation, GetMultiConversationDetailsResponseDetailedConversation, GetConfigurationRequest, GetConfigurationResponse, GetConversationByKeyRequest, GetConversationByKeyResponse, GetMessageRequest, 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';
|
package/lib/index.d.ts
CHANGED