geniebox-shared-lib 2.5.7 → 2.5.8
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/dist/chat.interface.d.ts +177 -0
- package/dist/chat.interface.js +843 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +15 -1
- package/package.json +1 -1
package/dist/chat.interface.d.ts
CHANGED
|
@@ -82,6 +82,85 @@ export interface MessagesResponse {
|
|
|
82
82
|
messages: ChatMessage[];
|
|
83
83
|
total: number;
|
|
84
84
|
}
|
|
85
|
+
export interface ChatExportMessage {
|
|
86
|
+
id: string;
|
|
87
|
+
role: string;
|
|
88
|
+
parts?: Array<any> | undefined;
|
|
89
|
+
metadata?: {
|
|
90
|
+
[key: string]: any;
|
|
91
|
+
} | undefined;
|
|
92
|
+
}
|
|
93
|
+
export interface ChatExport {
|
|
94
|
+
id: string;
|
|
95
|
+
title: string;
|
|
96
|
+
exporterId: string;
|
|
97
|
+
originalThreadId?: string | undefined;
|
|
98
|
+
messages: ChatExportMessage[];
|
|
99
|
+
exportedAt: string;
|
|
100
|
+
expiresAt?: string | undefined;
|
|
101
|
+
}
|
|
102
|
+
export interface ChatExportSummary {
|
|
103
|
+
id: string;
|
|
104
|
+
title: string;
|
|
105
|
+
exporterId: string;
|
|
106
|
+
originalThreadId?: string | undefined;
|
|
107
|
+
commentCount: number;
|
|
108
|
+
exportedAt: string;
|
|
109
|
+
expiresAt?: string | undefined;
|
|
110
|
+
}
|
|
111
|
+
export interface ChatExportComment {
|
|
112
|
+
id: string;
|
|
113
|
+
exportId: string;
|
|
114
|
+
authorId: string;
|
|
115
|
+
parentId?: string | undefined;
|
|
116
|
+
content?: {
|
|
117
|
+
[key: string]: any;
|
|
118
|
+
} | undefined;
|
|
119
|
+
createdAt: string;
|
|
120
|
+
updatedAt: string;
|
|
121
|
+
isOwner?: boolean | undefined;
|
|
122
|
+
}
|
|
123
|
+
export interface ExportChatRequest {
|
|
124
|
+
threadId: string;
|
|
125
|
+
userId: string;
|
|
126
|
+
expiresAt?: string | undefined;
|
|
127
|
+
}
|
|
128
|
+
export interface ExportChatResponse {
|
|
129
|
+
exportId: string;
|
|
130
|
+
}
|
|
131
|
+
export interface GetChatExportRequest {
|
|
132
|
+
id: string;
|
|
133
|
+
requesterId?: string | undefined;
|
|
134
|
+
}
|
|
135
|
+
export interface DeleteChatExportRequest {
|
|
136
|
+
id: string;
|
|
137
|
+
userId: string;
|
|
138
|
+
}
|
|
139
|
+
export interface ListChatExportsRequest {
|
|
140
|
+
exporterId: string;
|
|
141
|
+
}
|
|
142
|
+
export interface ChatExportsResponse {
|
|
143
|
+
exports: ChatExportSummary[];
|
|
144
|
+
}
|
|
145
|
+
export interface GetChatExportCommentsRequest {
|
|
146
|
+
exportId: string;
|
|
147
|
+
requesterId?: string | undefined;
|
|
148
|
+
}
|
|
149
|
+
export interface ChatExportCommentsResponse {
|
|
150
|
+
comments: ChatExportComment[];
|
|
151
|
+
}
|
|
152
|
+
export interface AddChatExportCommentRequest {
|
|
153
|
+
exportId: string;
|
|
154
|
+
authorId: string;
|
|
155
|
+
parentId?: string | undefined;
|
|
156
|
+
content?: {
|
|
157
|
+
[key: string]: any;
|
|
158
|
+
} | undefined;
|
|
159
|
+
}
|
|
160
|
+
export interface DeleteChatExportCommentRequest {
|
|
161
|
+
id: string;
|
|
162
|
+
authorId: string;
|
|
163
|
+
}
|
|
85
164
|
export declare const CHAT_PACKAGE_NAME = "chat";
|
|
86
165
|
export declare const Chat: MessageFns<Chat>;
|
|
87
166
|
export declare const ChatMessage: MessageFns<ChatMessage>;
|
|
@@ -94,6 +173,20 @@ export declare const AddMessageRequest: MessageFns<AddMessageRequest>;
|
|
|
94
173
|
export declare const GetMessagesRequest: MessageFns<GetMessagesRequest>;
|
|
95
174
|
export declare const ChatsResponse: MessageFns<ChatsResponse>;
|
|
96
175
|
export declare const MessagesResponse: MessageFns<MessagesResponse>;
|
|
176
|
+
export declare const ChatExportMessage: MessageFns<ChatExportMessage>;
|
|
177
|
+
export declare const ChatExport: MessageFns<ChatExport>;
|
|
178
|
+
export declare const ChatExportSummary: MessageFns<ChatExportSummary>;
|
|
179
|
+
export declare const ChatExportComment: MessageFns<ChatExportComment>;
|
|
180
|
+
export declare const ExportChatRequest: MessageFns<ExportChatRequest>;
|
|
181
|
+
export declare const ExportChatResponse: MessageFns<ExportChatResponse>;
|
|
182
|
+
export declare const GetChatExportRequest: MessageFns<GetChatExportRequest>;
|
|
183
|
+
export declare const DeleteChatExportRequest: MessageFns<DeleteChatExportRequest>;
|
|
184
|
+
export declare const ListChatExportsRequest: MessageFns<ListChatExportsRequest>;
|
|
185
|
+
export declare const ChatExportsResponse: MessageFns<ChatExportsResponse>;
|
|
186
|
+
export declare const GetChatExportCommentsRequest: MessageFns<GetChatExportCommentsRequest>;
|
|
187
|
+
export declare const ChatExportCommentsResponse: MessageFns<ChatExportCommentsResponse>;
|
|
188
|
+
export declare const AddChatExportCommentRequest: MessageFns<AddChatExportCommentRequest>;
|
|
189
|
+
export declare const DeleteChatExportCommentRequest: MessageFns<DeleteChatExportCommentRequest>;
|
|
97
190
|
export interface ChatServiceClient {
|
|
98
191
|
createChat(request: CreateChatRequest, metadata?: Metadata): Observable<Chat>;
|
|
99
192
|
getChat(request: GetChatRequest, metadata?: Metadata): Observable<Chat>;
|
|
@@ -102,6 +195,13 @@ export interface ChatServiceClient {
|
|
|
102
195
|
updateChat(request: UpdateChatRequest, metadata?: Metadata): Observable<Chat>;
|
|
103
196
|
addMessage(request: AddMessageRequest, metadata?: Metadata): Observable<ChatMessage>;
|
|
104
197
|
getMessages(request: GetMessagesRequest, metadata?: Metadata): Observable<MessagesResponse>;
|
|
198
|
+
exportChat(request: ExportChatRequest, metadata?: Metadata): Observable<ExportChatResponse>;
|
|
199
|
+
getChatExport(request: GetChatExportRequest, metadata?: Metadata): Observable<ChatExport>;
|
|
200
|
+
listChatExports(request: ListChatExportsRequest, metadata?: Metadata): Observable<ChatExportsResponse>;
|
|
201
|
+
deleteChatExport(request: DeleteChatExportRequest, metadata?: Metadata): Observable<Empty>;
|
|
202
|
+
getChatExportComments(request: GetChatExportCommentsRequest, metadata?: Metadata): Observable<ChatExportCommentsResponse>;
|
|
203
|
+
addChatExportComment(request: AddChatExportCommentRequest, metadata?: Metadata): Observable<Empty>;
|
|
204
|
+
deleteChatExportComment(request: DeleteChatExportCommentRequest, metadata?: Metadata): Observable<Empty>;
|
|
105
205
|
}
|
|
106
206
|
export interface ChatServiceController {
|
|
107
207
|
createChat(request: CreateChatRequest, metadata?: Metadata): Promise<Chat> | Observable<Chat> | Chat;
|
|
@@ -111,6 +211,13 @@ export interface ChatServiceController {
|
|
|
111
211
|
updateChat(request: UpdateChatRequest, metadata?: Metadata): Promise<Chat> | Observable<Chat> | Chat;
|
|
112
212
|
addMessage(request: AddMessageRequest, metadata?: Metadata): Promise<ChatMessage> | Observable<ChatMessage> | ChatMessage;
|
|
113
213
|
getMessages(request: GetMessagesRequest, metadata?: Metadata): Promise<MessagesResponse> | Observable<MessagesResponse> | MessagesResponse;
|
|
214
|
+
exportChat(request: ExportChatRequest, metadata?: Metadata): Promise<ExportChatResponse> | Observable<ExportChatResponse> | ExportChatResponse;
|
|
215
|
+
getChatExport(request: GetChatExportRequest, metadata?: Metadata): Promise<ChatExport> | Observable<ChatExport> | ChatExport;
|
|
216
|
+
listChatExports(request: ListChatExportsRequest, metadata?: Metadata): Promise<ChatExportsResponse> | Observable<ChatExportsResponse> | ChatExportsResponse;
|
|
217
|
+
deleteChatExport(request: DeleteChatExportRequest, metadata?: Metadata): void;
|
|
218
|
+
getChatExportComments(request: GetChatExportCommentsRequest, metadata?: Metadata): Promise<ChatExportCommentsResponse> | Observable<ChatExportCommentsResponse> | ChatExportCommentsResponse;
|
|
219
|
+
addChatExportComment(request: AddChatExportCommentRequest, metadata?: Metadata): void;
|
|
220
|
+
deleteChatExportComment(request: DeleteChatExportCommentRequest, metadata?: Metadata): void;
|
|
114
221
|
}
|
|
115
222
|
export declare function ChatServiceControllerMethods(): (constructor: Function) => void;
|
|
116
223
|
export declare const CHAT_SERVICE_NAME = "ChatService";
|
|
@@ -179,6 +286,69 @@ export declare const ChatServiceService: {
|
|
|
179
286
|
readonly responseSerialize: (value: MessagesResponse) => Buffer;
|
|
180
287
|
readonly responseDeserialize: (value: Buffer) => MessagesResponse;
|
|
181
288
|
};
|
|
289
|
+
readonly exportChat: {
|
|
290
|
+
readonly path: "/chat.ChatService/exportChat";
|
|
291
|
+
readonly requestStream: false;
|
|
292
|
+
readonly responseStream: false;
|
|
293
|
+
readonly requestSerialize: (value: ExportChatRequest) => Buffer;
|
|
294
|
+
readonly requestDeserialize: (value: Buffer) => ExportChatRequest;
|
|
295
|
+
readonly responseSerialize: (value: ExportChatResponse) => Buffer;
|
|
296
|
+
readonly responseDeserialize: (value: Buffer) => ExportChatResponse;
|
|
297
|
+
};
|
|
298
|
+
readonly getChatExport: {
|
|
299
|
+
readonly path: "/chat.ChatService/getChatExport";
|
|
300
|
+
readonly requestStream: false;
|
|
301
|
+
readonly responseStream: false;
|
|
302
|
+
readonly requestSerialize: (value: GetChatExportRequest) => Buffer;
|
|
303
|
+
readonly requestDeserialize: (value: Buffer) => GetChatExportRequest;
|
|
304
|
+
readonly responseSerialize: (value: ChatExport) => Buffer;
|
|
305
|
+
readonly responseDeserialize: (value: Buffer) => ChatExport;
|
|
306
|
+
};
|
|
307
|
+
readonly listChatExports: {
|
|
308
|
+
readonly path: "/chat.ChatService/listChatExports";
|
|
309
|
+
readonly requestStream: false;
|
|
310
|
+
readonly responseStream: false;
|
|
311
|
+
readonly requestSerialize: (value: ListChatExportsRequest) => Buffer;
|
|
312
|
+
readonly requestDeserialize: (value: Buffer) => ListChatExportsRequest;
|
|
313
|
+
readonly responseSerialize: (value: ChatExportsResponse) => Buffer;
|
|
314
|
+
readonly responseDeserialize: (value: Buffer) => ChatExportsResponse;
|
|
315
|
+
};
|
|
316
|
+
readonly deleteChatExport: {
|
|
317
|
+
readonly path: "/chat.ChatService/deleteChatExport";
|
|
318
|
+
readonly requestStream: false;
|
|
319
|
+
readonly responseStream: false;
|
|
320
|
+
readonly requestSerialize: (value: DeleteChatExportRequest) => Buffer;
|
|
321
|
+
readonly requestDeserialize: (value: Buffer) => DeleteChatExportRequest;
|
|
322
|
+
readonly responseSerialize: (value: Empty) => Buffer;
|
|
323
|
+
readonly responseDeserialize: (value: Buffer) => Empty;
|
|
324
|
+
};
|
|
325
|
+
readonly getChatExportComments: {
|
|
326
|
+
readonly path: "/chat.ChatService/getChatExportComments";
|
|
327
|
+
readonly requestStream: false;
|
|
328
|
+
readonly responseStream: false;
|
|
329
|
+
readonly requestSerialize: (value: GetChatExportCommentsRequest) => Buffer;
|
|
330
|
+
readonly requestDeserialize: (value: Buffer) => GetChatExportCommentsRequest;
|
|
331
|
+
readonly responseSerialize: (value: ChatExportCommentsResponse) => Buffer;
|
|
332
|
+
readonly responseDeserialize: (value: Buffer) => ChatExportCommentsResponse;
|
|
333
|
+
};
|
|
334
|
+
readonly addChatExportComment: {
|
|
335
|
+
readonly path: "/chat.ChatService/addChatExportComment";
|
|
336
|
+
readonly requestStream: false;
|
|
337
|
+
readonly responseStream: false;
|
|
338
|
+
readonly requestSerialize: (value: AddChatExportCommentRequest) => Buffer;
|
|
339
|
+
readonly requestDeserialize: (value: Buffer) => AddChatExportCommentRequest;
|
|
340
|
+
readonly responseSerialize: (value: Empty) => Buffer;
|
|
341
|
+
readonly responseDeserialize: (value: Buffer) => Empty;
|
|
342
|
+
};
|
|
343
|
+
readonly deleteChatExportComment: {
|
|
344
|
+
readonly path: "/chat.ChatService/deleteChatExportComment";
|
|
345
|
+
readonly requestStream: false;
|
|
346
|
+
readonly responseStream: false;
|
|
347
|
+
readonly requestSerialize: (value: DeleteChatExportCommentRequest) => Buffer;
|
|
348
|
+
readonly requestDeserialize: (value: Buffer) => DeleteChatExportCommentRequest;
|
|
349
|
+
readonly responseSerialize: (value: Empty) => Buffer;
|
|
350
|
+
readonly responseDeserialize: (value: Buffer) => Empty;
|
|
351
|
+
};
|
|
182
352
|
};
|
|
183
353
|
export interface ChatServiceServer extends UntypedServiceImplementation {
|
|
184
354
|
createChat: handleUnaryCall<CreateChatRequest, Chat>;
|
|
@@ -188,6 +358,13 @@ export interface ChatServiceServer extends UntypedServiceImplementation {
|
|
|
188
358
|
updateChat: handleUnaryCall<UpdateChatRequest, Chat>;
|
|
189
359
|
addMessage: handleUnaryCall<AddMessageRequest, ChatMessage>;
|
|
190
360
|
getMessages: handleUnaryCall<GetMessagesRequest, MessagesResponse>;
|
|
361
|
+
exportChat: handleUnaryCall<ExportChatRequest, ExportChatResponse>;
|
|
362
|
+
getChatExport: handleUnaryCall<GetChatExportRequest, ChatExport>;
|
|
363
|
+
listChatExports: handleUnaryCall<ListChatExportsRequest, ChatExportsResponse>;
|
|
364
|
+
deleteChatExport: handleUnaryCall<DeleteChatExportRequest, Empty>;
|
|
365
|
+
getChatExportComments: handleUnaryCall<GetChatExportCommentsRequest, ChatExportCommentsResponse>;
|
|
366
|
+
addChatExportComment: handleUnaryCall<AddChatExportCommentRequest, Empty>;
|
|
367
|
+
deleteChatExportComment: handleUnaryCall<DeleteChatExportCommentRequest, Empty>;
|
|
191
368
|
}
|
|
192
369
|
export interface MessageFns<T> {
|
|
193
370
|
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
package/dist/chat.interface.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// protoc v5.28.2
|
|
6
6
|
// source: chat.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.ChatServiceService = exports.CHAT_SERVICE_NAME = exports.MessagesResponse = exports.ChatsResponse = exports.GetMessagesRequest = exports.AddMessageRequest = exports.DeleteChatRequest = exports.ListChatsRequest = exports.GetChatRequest = exports.UpdateChatRequest = exports.CreateChatRequest = exports.ChatMessage = exports.Chat = exports.CHAT_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
8
|
+
exports.ChatServiceService = exports.CHAT_SERVICE_NAME = exports.DeleteChatExportCommentRequest = exports.AddChatExportCommentRequest = exports.ChatExportCommentsResponse = exports.GetChatExportCommentsRequest = exports.ChatExportsResponse = exports.ListChatExportsRequest = exports.DeleteChatExportRequest = exports.GetChatExportRequest = exports.ExportChatResponse = exports.ExportChatRequest = exports.ChatExportComment = exports.ChatExportSummary = exports.ChatExport = exports.ChatExportMessage = exports.MessagesResponse = exports.ChatsResponse = exports.GetMessagesRequest = exports.AddMessageRequest = exports.DeleteChatRequest = exports.ListChatsRequest = exports.GetChatRequest = exports.UpdateChatRequest = exports.CreateChatRequest = exports.ChatMessage = exports.Chat = exports.CHAT_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
9
9
|
exports.ChatServiceControllerMethods = ChatServiceControllerMethods;
|
|
10
10
|
/* eslint-disable */
|
|
11
11
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
@@ -658,6 +658,778 @@ exports.MessagesResponse = {
|
|
|
658
658
|
return message;
|
|
659
659
|
},
|
|
660
660
|
};
|
|
661
|
+
function createBaseChatExportMessage() {
|
|
662
|
+
return { id: "", role: "" };
|
|
663
|
+
}
|
|
664
|
+
exports.ChatExportMessage = {
|
|
665
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
666
|
+
if (message.id !== "") {
|
|
667
|
+
writer.uint32(10).string(message.id);
|
|
668
|
+
}
|
|
669
|
+
if (message.role !== "") {
|
|
670
|
+
writer.uint32(18).string(message.role);
|
|
671
|
+
}
|
|
672
|
+
if (message.parts !== undefined) {
|
|
673
|
+
struct_interface_1.ListValue.encode(struct_interface_1.ListValue.wrap(message.parts), writer.uint32(26).fork()).join();
|
|
674
|
+
}
|
|
675
|
+
if (message.metadata !== undefined) {
|
|
676
|
+
struct_interface_1.Struct.encode(struct_interface_1.Struct.wrap(message.metadata), writer.uint32(34).fork()).join();
|
|
677
|
+
}
|
|
678
|
+
return writer;
|
|
679
|
+
},
|
|
680
|
+
decode(input, length) {
|
|
681
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
682
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
683
|
+
const message = createBaseChatExportMessage();
|
|
684
|
+
while (reader.pos < end) {
|
|
685
|
+
const tag = reader.uint32();
|
|
686
|
+
switch (tag >>> 3) {
|
|
687
|
+
case 1: {
|
|
688
|
+
if (tag !== 10) {
|
|
689
|
+
break;
|
|
690
|
+
}
|
|
691
|
+
message.id = reader.string();
|
|
692
|
+
continue;
|
|
693
|
+
}
|
|
694
|
+
case 2: {
|
|
695
|
+
if (tag !== 18) {
|
|
696
|
+
break;
|
|
697
|
+
}
|
|
698
|
+
message.role = reader.string();
|
|
699
|
+
continue;
|
|
700
|
+
}
|
|
701
|
+
case 3: {
|
|
702
|
+
if (tag !== 26) {
|
|
703
|
+
break;
|
|
704
|
+
}
|
|
705
|
+
message.parts = struct_interface_1.ListValue.unwrap(struct_interface_1.ListValue.decode(reader, reader.uint32()));
|
|
706
|
+
continue;
|
|
707
|
+
}
|
|
708
|
+
case 4: {
|
|
709
|
+
if (tag !== 34) {
|
|
710
|
+
break;
|
|
711
|
+
}
|
|
712
|
+
message.metadata = struct_interface_1.Struct.unwrap(struct_interface_1.Struct.decode(reader, reader.uint32()));
|
|
713
|
+
continue;
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
717
|
+
break;
|
|
718
|
+
}
|
|
719
|
+
reader.skip(tag & 7);
|
|
720
|
+
}
|
|
721
|
+
return message;
|
|
722
|
+
},
|
|
723
|
+
};
|
|
724
|
+
function createBaseChatExport() {
|
|
725
|
+
return { id: "", title: "", exporterId: "", messages: [], exportedAt: "" };
|
|
726
|
+
}
|
|
727
|
+
exports.ChatExport = {
|
|
728
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
729
|
+
if (message.id !== "") {
|
|
730
|
+
writer.uint32(10).string(message.id);
|
|
731
|
+
}
|
|
732
|
+
if (message.title !== "") {
|
|
733
|
+
writer.uint32(18).string(message.title);
|
|
734
|
+
}
|
|
735
|
+
if (message.exporterId !== "") {
|
|
736
|
+
writer.uint32(26).string(message.exporterId);
|
|
737
|
+
}
|
|
738
|
+
if (message.originalThreadId !== undefined) {
|
|
739
|
+
writer.uint32(34).string(message.originalThreadId);
|
|
740
|
+
}
|
|
741
|
+
for (const v of message.messages) {
|
|
742
|
+
exports.ChatExportMessage.encode(v, writer.uint32(42).fork()).join();
|
|
743
|
+
}
|
|
744
|
+
if (message.exportedAt !== "") {
|
|
745
|
+
writer.uint32(50).string(message.exportedAt);
|
|
746
|
+
}
|
|
747
|
+
if (message.expiresAt !== undefined) {
|
|
748
|
+
writer.uint32(58).string(message.expiresAt);
|
|
749
|
+
}
|
|
750
|
+
return writer;
|
|
751
|
+
},
|
|
752
|
+
decode(input, length) {
|
|
753
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
754
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
755
|
+
const message = createBaseChatExport();
|
|
756
|
+
while (reader.pos < end) {
|
|
757
|
+
const tag = reader.uint32();
|
|
758
|
+
switch (tag >>> 3) {
|
|
759
|
+
case 1: {
|
|
760
|
+
if (tag !== 10) {
|
|
761
|
+
break;
|
|
762
|
+
}
|
|
763
|
+
message.id = reader.string();
|
|
764
|
+
continue;
|
|
765
|
+
}
|
|
766
|
+
case 2: {
|
|
767
|
+
if (tag !== 18) {
|
|
768
|
+
break;
|
|
769
|
+
}
|
|
770
|
+
message.title = reader.string();
|
|
771
|
+
continue;
|
|
772
|
+
}
|
|
773
|
+
case 3: {
|
|
774
|
+
if (tag !== 26) {
|
|
775
|
+
break;
|
|
776
|
+
}
|
|
777
|
+
message.exporterId = reader.string();
|
|
778
|
+
continue;
|
|
779
|
+
}
|
|
780
|
+
case 4: {
|
|
781
|
+
if (tag !== 34) {
|
|
782
|
+
break;
|
|
783
|
+
}
|
|
784
|
+
message.originalThreadId = reader.string();
|
|
785
|
+
continue;
|
|
786
|
+
}
|
|
787
|
+
case 5: {
|
|
788
|
+
if (tag !== 42) {
|
|
789
|
+
break;
|
|
790
|
+
}
|
|
791
|
+
message.messages.push(exports.ChatExportMessage.decode(reader, reader.uint32()));
|
|
792
|
+
continue;
|
|
793
|
+
}
|
|
794
|
+
case 6: {
|
|
795
|
+
if (tag !== 50) {
|
|
796
|
+
break;
|
|
797
|
+
}
|
|
798
|
+
message.exportedAt = reader.string();
|
|
799
|
+
continue;
|
|
800
|
+
}
|
|
801
|
+
case 7: {
|
|
802
|
+
if (tag !== 58) {
|
|
803
|
+
break;
|
|
804
|
+
}
|
|
805
|
+
message.expiresAt = reader.string();
|
|
806
|
+
continue;
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
810
|
+
break;
|
|
811
|
+
}
|
|
812
|
+
reader.skip(tag & 7);
|
|
813
|
+
}
|
|
814
|
+
return message;
|
|
815
|
+
},
|
|
816
|
+
};
|
|
817
|
+
function createBaseChatExportSummary() {
|
|
818
|
+
return { id: "", title: "", exporterId: "", commentCount: 0, exportedAt: "" };
|
|
819
|
+
}
|
|
820
|
+
exports.ChatExportSummary = {
|
|
821
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
822
|
+
if (message.id !== "") {
|
|
823
|
+
writer.uint32(10).string(message.id);
|
|
824
|
+
}
|
|
825
|
+
if (message.title !== "") {
|
|
826
|
+
writer.uint32(18).string(message.title);
|
|
827
|
+
}
|
|
828
|
+
if (message.exporterId !== "") {
|
|
829
|
+
writer.uint32(26).string(message.exporterId);
|
|
830
|
+
}
|
|
831
|
+
if (message.originalThreadId !== undefined) {
|
|
832
|
+
writer.uint32(34).string(message.originalThreadId);
|
|
833
|
+
}
|
|
834
|
+
if (message.commentCount !== 0) {
|
|
835
|
+
writer.uint32(40).int32(message.commentCount);
|
|
836
|
+
}
|
|
837
|
+
if (message.exportedAt !== "") {
|
|
838
|
+
writer.uint32(50).string(message.exportedAt);
|
|
839
|
+
}
|
|
840
|
+
if (message.expiresAt !== undefined) {
|
|
841
|
+
writer.uint32(58).string(message.expiresAt);
|
|
842
|
+
}
|
|
843
|
+
return writer;
|
|
844
|
+
},
|
|
845
|
+
decode(input, length) {
|
|
846
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
847
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
848
|
+
const message = createBaseChatExportSummary();
|
|
849
|
+
while (reader.pos < end) {
|
|
850
|
+
const tag = reader.uint32();
|
|
851
|
+
switch (tag >>> 3) {
|
|
852
|
+
case 1: {
|
|
853
|
+
if (tag !== 10) {
|
|
854
|
+
break;
|
|
855
|
+
}
|
|
856
|
+
message.id = reader.string();
|
|
857
|
+
continue;
|
|
858
|
+
}
|
|
859
|
+
case 2: {
|
|
860
|
+
if (tag !== 18) {
|
|
861
|
+
break;
|
|
862
|
+
}
|
|
863
|
+
message.title = reader.string();
|
|
864
|
+
continue;
|
|
865
|
+
}
|
|
866
|
+
case 3: {
|
|
867
|
+
if (tag !== 26) {
|
|
868
|
+
break;
|
|
869
|
+
}
|
|
870
|
+
message.exporterId = reader.string();
|
|
871
|
+
continue;
|
|
872
|
+
}
|
|
873
|
+
case 4: {
|
|
874
|
+
if (tag !== 34) {
|
|
875
|
+
break;
|
|
876
|
+
}
|
|
877
|
+
message.originalThreadId = reader.string();
|
|
878
|
+
continue;
|
|
879
|
+
}
|
|
880
|
+
case 5: {
|
|
881
|
+
if (tag !== 40) {
|
|
882
|
+
break;
|
|
883
|
+
}
|
|
884
|
+
message.commentCount = reader.int32();
|
|
885
|
+
continue;
|
|
886
|
+
}
|
|
887
|
+
case 6: {
|
|
888
|
+
if (tag !== 50) {
|
|
889
|
+
break;
|
|
890
|
+
}
|
|
891
|
+
message.exportedAt = reader.string();
|
|
892
|
+
continue;
|
|
893
|
+
}
|
|
894
|
+
case 7: {
|
|
895
|
+
if (tag !== 58) {
|
|
896
|
+
break;
|
|
897
|
+
}
|
|
898
|
+
message.expiresAt = reader.string();
|
|
899
|
+
continue;
|
|
900
|
+
}
|
|
901
|
+
}
|
|
902
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
903
|
+
break;
|
|
904
|
+
}
|
|
905
|
+
reader.skip(tag & 7);
|
|
906
|
+
}
|
|
907
|
+
return message;
|
|
908
|
+
},
|
|
909
|
+
};
|
|
910
|
+
function createBaseChatExportComment() {
|
|
911
|
+
return { id: "", exportId: "", authorId: "", createdAt: "", updatedAt: "" };
|
|
912
|
+
}
|
|
913
|
+
exports.ChatExportComment = {
|
|
914
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
915
|
+
if (message.id !== "") {
|
|
916
|
+
writer.uint32(10).string(message.id);
|
|
917
|
+
}
|
|
918
|
+
if (message.exportId !== "") {
|
|
919
|
+
writer.uint32(18).string(message.exportId);
|
|
920
|
+
}
|
|
921
|
+
if (message.authorId !== "") {
|
|
922
|
+
writer.uint32(26).string(message.authorId);
|
|
923
|
+
}
|
|
924
|
+
if (message.parentId !== undefined) {
|
|
925
|
+
writer.uint32(34).string(message.parentId);
|
|
926
|
+
}
|
|
927
|
+
if (message.content !== undefined) {
|
|
928
|
+
struct_interface_1.Struct.encode(struct_interface_1.Struct.wrap(message.content), writer.uint32(42).fork()).join();
|
|
929
|
+
}
|
|
930
|
+
if (message.createdAt !== "") {
|
|
931
|
+
writer.uint32(50).string(message.createdAt);
|
|
932
|
+
}
|
|
933
|
+
if (message.updatedAt !== "") {
|
|
934
|
+
writer.uint32(58).string(message.updatedAt);
|
|
935
|
+
}
|
|
936
|
+
if (message.isOwner !== undefined) {
|
|
937
|
+
writer.uint32(64).bool(message.isOwner);
|
|
938
|
+
}
|
|
939
|
+
return writer;
|
|
940
|
+
},
|
|
941
|
+
decode(input, length) {
|
|
942
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
943
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
944
|
+
const message = createBaseChatExportComment();
|
|
945
|
+
while (reader.pos < end) {
|
|
946
|
+
const tag = reader.uint32();
|
|
947
|
+
switch (tag >>> 3) {
|
|
948
|
+
case 1: {
|
|
949
|
+
if (tag !== 10) {
|
|
950
|
+
break;
|
|
951
|
+
}
|
|
952
|
+
message.id = reader.string();
|
|
953
|
+
continue;
|
|
954
|
+
}
|
|
955
|
+
case 2: {
|
|
956
|
+
if (tag !== 18) {
|
|
957
|
+
break;
|
|
958
|
+
}
|
|
959
|
+
message.exportId = reader.string();
|
|
960
|
+
continue;
|
|
961
|
+
}
|
|
962
|
+
case 3: {
|
|
963
|
+
if (tag !== 26) {
|
|
964
|
+
break;
|
|
965
|
+
}
|
|
966
|
+
message.authorId = reader.string();
|
|
967
|
+
continue;
|
|
968
|
+
}
|
|
969
|
+
case 4: {
|
|
970
|
+
if (tag !== 34) {
|
|
971
|
+
break;
|
|
972
|
+
}
|
|
973
|
+
message.parentId = reader.string();
|
|
974
|
+
continue;
|
|
975
|
+
}
|
|
976
|
+
case 5: {
|
|
977
|
+
if (tag !== 42) {
|
|
978
|
+
break;
|
|
979
|
+
}
|
|
980
|
+
message.content = struct_interface_1.Struct.unwrap(struct_interface_1.Struct.decode(reader, reader.uint32()));
|
|
981
|
+
continue;
|
|
982
|
+
}
|
|
983
|
+
case 6: {
|
|
984
|
+
if (tag !== 50) {
|
|
985
|
+
break;
|
|
986
|
+
}
|
|
987
|
+
message.createdAt = reader.string();
|
|
988
|
+
continue;
|
|
989
|
+
}
|
|
990
|
+
case 7: {
|
|
991
|
+
if (tag !== 58) {
|
|
992
|
+
break;
|
|
993
|
+
}
|
|
994
|
+
message.updatedAt = reader.string();
|
|
995
|
+
continue;
|
|
996
|
+
}
|
|
997
|
+
case 8: {
|
|
998
|
+
if (tag !== 64) {
|
|
999
|
+
break;
|
|
1000
|
+
}
|
|
1001
|
+
message.isOwner = reader.bool();
|
|
1002
|
+
continue;
|
|
1003
|
+
}
|
|
1004
|
+
}
|
|
1005
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1006
|
+
break;
|
|
1007
|
+
}
|
|
1008
|
+
reader.skip(tag & 7);
|
|
1009
|
+
}
|
|
1010
|
+
return message;
|
|
1011
|
+
},
|
|
1012
|
+
};
|
|
1013
|
+
function createBaseExportChatRequest() {
|
|
1014
|
+
return { threadId: "", userId: "" };
|
|
1015
|
+
}
|
|
1016
|
+
exports.ExportChatRequest = {
|
|
1017
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1018
|
+
if (message.threadId !== "") {
|
|
1019
|
+
writer.uint32(10).string(message.threadId);
|
|
1020
|
+
}
|
|
1021
|
+
if (message.userId !== "") {
|
|
1022
|
+
writer.uint32(18).string(message.userId);
|
|
1023
|
+
}
|
|
1024
|
+
if (message.expiresAt !== undefined) {
|
|
1025
|
+
writer.uint32(26).string(message.expiresAt);
|
|
1026
|
+
}
|
|
1027
|
+
return writer;
|
|
1028
|
+
},
|
|
1029
|
+
decode(input, length) {
|
|
1030
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1031
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1032
|
+
const message = createBaseExportChatRequest();
|
|
1033
|
+
while (reader.pos < end) {
|
|
1034
|
+
const tag = reader.uint32();
|
|
1035
|
+
switch (tag >>> 3) {
|
|
1036
|
+
case 1: {
|
|
1037
|
+
if (tag !== 10) {
|
|
1038
|
+
break;
|
|
1039
|
+
}
|
|
1040
|
+
message.threadId = reader.string();
|
|
1041
|
+
continue;
|
|
1042
|
+
}
|
|
1043
|
+
case 2: {
|
|
1044
|
+
if (tag !== 18) {
|
|
1045
|
+
break;
|
|
1046
|
+
}
|
|
1047
|
+
message.userId = reader.string();
|
|
1048
|
+
continue;
|
|
1049
|
+
}
|
|
1050
|
+
case 3: {
|
|
1051
|
+
if (tag !== 26) {
|
|
1052
|
+
break;
|
|
1053
|
+
}
|
|
1054
|
+
message.expiresAt = reader.string();
|
|
1055
|
+
continue;
|
|
1056
|
+
}
|
|
1057
|
+
}
|
|
1058
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1059
|
+
break;
|
|
1060
|
+
}
|
|
1061
|
+
reader.skip(tag & 7);
|
|
1062
|
+
}
|
|
1063
|
+
return message;
|
|
1064
|
+
},
|
|
1065
|
+
};
|
|
1066
|
+
function createBaseExportChatResponse() {
|
|
1067
|
+
return { exportId: "" };
|
|
1068
|
+
}
|
|
1069
|
+
exports.ExportChatResponse = {
|
|
1070
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1071
|
+
if (message.exportId !== "") {
|
|
1072
|
+
writer.uint32(10).string(message.exportId);
|
|
1073
|
+
}
|
|
1074
|
+
return writer;
|
|
1075
|
+
},
|
|
1076
|
+
decode(input, length) {
|
|
1077
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1078
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1079
|
+
const message = createBaseExportChatResponse();
|
|
1080
|
+
while (reader.pos < end) {
|
|
1081
|
+
const tag = reader.uint32();
|
|
1082
|
+
switch (tag >>> 3) {
|
|
1083
|
+
case 1: {
|
|
1084
|
+
if (tag !== 10) {
|
|
1085
|
+
break;
|
|
1086
|
+
}
|
|
1087
|
+
message.exportId = reader.string();
|
|
1088
|
+
continue;
|
|
1089
|
+
}
|
|
1090
|
+
}
|
|
1091
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1092
|
+
break;
|
|
1093
|
+
}
|
|
1094
|
+
reader.skip(tag & 7);
|
|
1095
|
+
}
|
|
1096
|
+
return message;
|
|
1097
|
+
},
|
|
1098
|
+
};
|
|
1099
|
+
function createBaseGetChatExportRequest() {
|
|
1100
|
+
return { id: "" };
|
|
1101
|
+
}
|
|
1102
|
+
exports.GetChatExportRequest = {
|
|
1103
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1104
|
+
if (message.id !== "") {
|
|
1105
|
+
writer.uint32(10).string(message.id);
|
|
1106
|
+
}
|
|
1107
|
+
if (message.requesterId !== undefined) {
|
|
1108
|
+
writer.uint32(18).string(message.requesterId);
|
|
1109
|
+
}
|
|
1110
|
+
return writer;
|
|
1111
|
+
},
|
|
1112
|
+
decode(input, length) {
|
|
1113
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1114
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1115
|
+
const message = createBaseGetChatExportRequest();
|
|
1116
|
+
while (reader.pos < end) {
|
|
1117
|
+
const tag = reader.uint32();
|
|
1118
|
+
switch (tag >>> 3) {
|
|
1119
|
+
case 1: {
|
|
1120
|
+
if (tag !== 10) {
|
|
1121
|
+
break;
|
|
1122
|
+
}
|
|
1123
|
+
message.id = reader.string();
|
|
1124
|
+
continue;
|
|
1125
|
+
}
|
|
1126
|
+
case 2: {
|
|
1127
|
+
if (tag !== 18) {
|
|
1128
|
+
break;
|
|
1129
|
+
}
|
|
1130
|
+
message.requesterId = reader.string();
|
|
1131
|
+
continue;
|
|
1132
|
+
}
|
|
1133
|
+
}
|
|
1134
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1135
|
+
break;
|
|
1136
|
+
}
|
|
1137
|
+
reader.skip(tag & 7);
|
|
1138
|
+
}
|
|
1139
|
+
return message;
|
|
1140
|
+
},
|
|
1141
|
+
};
|
|
1142
|
+
function createBaseDeleteChatExportRequest() {
|
|
1143
|
+
return { id: "", userId: "" };
|
|
1144
|
+
}
|
|
1145
|
+
exports.DeleteChatExportRequest = {
|
|
1146
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1147
|
+
if (message.id !== "") {
|
|
1148
|
+
writer.uint32(10).string(message.id);
|
|
1149
|
+
}
|
|
1150
|
+
if (message.userId !== "") {
|
|
1151
|
+
writer.uint32(18).string(message.userId);
|
|
1152
|
+
}
|
|
1153
|
+
return writer;
|
|
1154
|
+
},
|
|
1155
|
+
decode(input, length) {
|
|
1156
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1157
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1158
|
+
const message = createBaseDeleteChatExportRequest();
|
|
1159
|
+
while (reader.pos < end) {
|
|
1160
|
+
const tag = reader.uint32();
|
|
1161
|
+
switch (tag >>> 3) {
|
|
1162
|
+
case 1: {
|
|
1163
|
+
if (tag !== 10) {
|
|
1164
|
+
break;
|
|
1165
|
+
}
|
|
1166
|
+
message.id = reader.string();
|
|
1167
|
+
continue;
|
|
1168
|
+
}
|
|
1169
|
+
case 2: {
|
|
1170
|
+
if (tag !== 18) {
|
|
1171
|
+
break;
|
|
1172
|
+
}
|
|
1173
|
+
message.userId = reader.string();
|
|
1174
|
+
continue;
|
|
1175
|
+
}
|
|
1176
|
+
}
|
|
1177
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1178
|
+
break;
|
|
1179
|
+
}
|
|
1180
|
+
reader.skip(tag & 7);
|
|
1181
|
+
}
|
|
1182
|
+
return message;
|
|
1183
|
+
},
|
|
1184
|
+
};
|
|
1185
|
+
function createBaseListChatExportsRequest() {
|
|
1186
|
+
return { exporterId: "" };
|
|
1187
|
+
}
|
|
1188
|
+
exports.ListChatExportsRequest = {
|
|
1189
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1190
|
+
if (message.exporterId !== "") {
|
|
1191
|
+
writer.uint32(10).string(message.exporterId);
|
|
1192
|
+
}
|
|
1193
|
+
return writer;
|
|
1194
|
+
},
|
|
1195
|
+
decode(input, length) {
|
|
1196
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1197
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1198
|
+
const message = createBaseListChatExportsRequest();
|
|
1199
|
+
while (reader.pos < end) {
|
|
1200
|
+
const tag = reader.uint32();
|
|
1201
|
+
switch (tag >>> 3) {
|
|
1202
|
+
case 1: {
|
|
1203
|
+
if (tag !== 10) {
|
|
1204
|
+
break;
|
|
1205
|
+
}
|
|
1206
|
+
message.exporterId = reader.string();
|
|
1207
|
+
continue;
|
|
1208
|
+
}
|
|
1209
|
+
}
|
|
1210
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1211
|
+
break;
|
|
1212
|
+
}
|
|
1213
|
+
reader.skip(tag & 7);
|
|
1214
|
+
}
|
|
1215
|
+
return message;
|
|
1216
|
+
},
|
|
1217
|
+
};
|
|
1218
|
+
function createBaseChatExportsResponse() {
|
|
1219
|
+
return { exports: [] };
|
|
1220
|
+
}
|
|
1221
|
+
exports.ChatExportsResponse = {
|
|
1222
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1223
|
+
for (const v of message.exports) {
|
|
1224
|
+
exports.ChatExportSummary.encode(v, writer.uint32(10).fork()).join();
|
|
1225
|
+
}
|
|
1226
|
+
return writer;
|
|
1227
|
+
},
|
|
1228
|
+
decode(input, length) {
|
|
1229
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1230
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1231
|
+
const message = createBaseChatExportsResponse();
|
|
1232
|
+
while (reader.pos < end) {
|
|
1233
|
+
const tag = reader.uint32();
|
|
1234
|
+
switch (tag >>> 3) {
|
|
1235
|
+
case 1: {
|
|
1236
|
+
if (tag !== 10) {
|
|
1237
|
+
break;
|
|
1238
|
+
}
|
|
1239
|
+
message.exports.push(exports.ChatExportSummary.decode(reader, reader.uint32()));
|
|
1240
|
+
continue;
|
|
1241
|
+
}
|
|
1242
|
+
}
|
|
1243
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1244
|
+
break;
|
|
1245
|
+
}
|
|
1246
|
+
reader.skip(tag & 7);
|
|
1247
|
+
}
|
|
1248
|
+
return message;
|
|
1249
|
+
},
|
|
1250
|
+
};
|
|
1251
|
+
function createBaseGetChatExportCommentsRequest() {
|
|
1252
|
+
return { exportId: "" };
|
|
1253
|
+
}
|
|
1254
|
+
exports.GetChatExportCommentsRequest = {
|
|
1255
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1256
|
+
if (message.exportId !== "") {
|
|
1257
|
+
writer.uint32(10).string(message.exportId);
|
|
1258
|
+
}
|
|
1259
|
+
if (message.requesterId !== undefined) {
|
|
1260
|
+
writer.uint32(18).string(message.requesterId);
|
|
1261
|
+
}
|
|
1262
|
+
return writer;
|
|
1263
|
+
},
|
|
1264
|
+
decode(input, length) {
|
|
1265
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1266
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1267
|
+
const message = createBaseGetChatExportCommentsRequest();
|
|
1268
|
+
while (reader.pos < end) {
|
|
1269
|
+
const tag = reader.uint32();
|
|
1270
|
+
switch (tag >>> 3) {
|
|
1271
|
+
case 1: {
|
|
1272
|
+
if (tag !== 10) {
|
|
1273
|
+
break;
|
|
1274
|
+
}
|
|
1275
|
+
message.exportId = reader.string();
|
|
1276
|
+
continue;
|
|
1277
|
+
}
|
|
1278
|
+
case 2: {
|
|
1279
|
+
if (tag !== 18) {
|
|
1280
|
+
break;
|
|
1281
|
+
}
|
|
1282
|
+
message.requesterId = reader.string();
|
|
1283
|
+
continue;
|
|
1284
|
+
}
|
|
1285
|
+
}
|
|
1286
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1287
|
+
break;
|
|
1288
|
+
}
|
|
1289
|
+
reader.skip(tag & 7);
|
|
1290
|
+
}
|
|
1291
|
+
return message;
|
|
1292
|
+
},
|
|
1293
|
+
};
|
|
1294
|
+
function createBaseChatExportCommentsResponse() {
|
|
1295
|
+
return { comments: [] };
|
|
1296
|
+
}
|
|
1297
|
+
exports.ChatExportCommentsResponse = {
|
|
1298
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1299
|
+
for (const v of message.comments) {
|
|
1300
|
+
exports.ChatExportComment.encode(v, writer.uint32(10).fork()).join();
|
|
1301
|
+
}
|
|
1302
|
+
return writer;
|
|
1303
|
+
},
|
|
1304
|
+
decode(input, length) {
|
|
1305
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1306
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1307
|
+
const message = createBaseChatExportCommentsResponse();
|
|
1308
|
+
while (reader.pos < end) {
|
|
1309
|
+
const tag = reader.uint32();
|
|
1310
|
+
switch (tag >>> 3) {
|
|
1311
|
+
case 1: {
|
|
1312
|
+
if (tag !== 10) {
|
|
1313
|
+
break;
|
|
1314
|
+
}
|
|
1315
|
+
message.comments.push(exports.ChatExportComment.decode(reader, reader.uint32()));
|
|
1316
|
+
continue;
|
|
1317
|
+
}
|
|
1318
|
+
}
|
|
1319
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1320
|
+
break;
|
|
1321
|
+
}
|
|
1322
|
+
reader.skip(tag & 7);
|
|
1323
|
+
}
|
|
1324
|
+
return message;
|
|
1325
|
+
},
|
|
1326
|
+
};
|
|
1327
|
+
function createBaseAddChatExportCommentRequest() {
|
|
1328
|
+
return { exportId: "", authorId: "" };
|
|
1329
|
+
}
|
|
1330
|
+
exports.AddChatExportCommentRequest = {
|
|
1331
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1332
|
+
if (message.exportId !== "") {
|
|
1333
|
+
writer.uint32(10).string(message.exportId);
|
|
1334
|
+
}
|
|
1335
|
+
if (message.authorId !== "") {
|
|
1336
|
+
writer.uint32(18).string(message.authorId);
|
|
1337
|
+
}
|
|
1338
|
+
if (message.parentId !== undefined) {
|
|
1339
|
+
writer.uint32(26).string(message.parentId);
|
|
1340
|
+
}
|
|
1341
|
+
if (message.content !== undefined) {
|
|
1342
|
+
struct_interface_1.Struct.encode(struct_interface_1.Struct.wrap(message.content), writer.uint32(34).fork()).join();
|
|
1343
|
+
}
|
|
1344
|
+
return writer;
|
|
1345
|
+
},
|
|
1346
|
+
decode(input, length) {
|
|
1347
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1348
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1349
|
+
const message = createBaseAddChatExportCommentRequest();
|
|
1350
|
+
while (reader.pos < end) {
|
|
1351
|
+
const tag = reader.uint32();
|
|
1352
|
+
switch (tag >>> 3) {
|
|
1353
|
+
case 1: {
|
|
1354
|
+
if (tag !== 10) {
|
|
1355
|
+
break;
|
|
1356
|
+
}
|
|
1357
|
+
message.exportId = reader.string();
|
|
1358
|
+
continue;
|
|
1359
|
+
}
|
|
1360
|
+
case 2: {
|
|
1361
|
+
if (tag !== 18) {
|
|
1362
|
+
break;
|
|
1363
|
+
}
|
|
1364
|
+
message.authorId = reader.string();
|
|
1365
|
+
continue;
|
|
1366
|
+
}
|
|
1367
|
+
case 3: {
|
|
1368
|
+
if (tag !== 26) {
|
|
1369
|
+
break;
|
|
1370
|
+
}
|
|
1371
|
+
message.parentId = reader.string();
|
|
1372
|
+
continue;
|
|
1373
|
+
}
|
|
1374
|
+
case 4: {
|
|
1375
|
+
if (tag !== 34) {
|
|
1376
|
+
break;
|
|
1377
|
+
}
|
|
1378
|
+
message.content = struct_interface_1.Struct.unwrap(struct_interface_1.Struct.decode(reader, reader.uint32()));
|
|
1379
|
+
continue;
|
|
1380
|
+
}
|
|
1381
|
+
}
|
|
1382
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1383
|
+
break;
|
|
1384
|
+
}
|
|
1385
|
+
reader.skip(tag & 7);
|
|
1386
|
+
}
|
|
1387
|
+
return message;
|
|
1388
|
+
},
|
|
1389
|
+
};
|
|
1390
|
+
function createBaseDeleteChatExportCommentRequest() {
|
|
1391
|
+
return { id: "", authorId: "" };
|
|
1392
|
+
}
|
|
1393
|
+
exports.DeleteChatExportCommentRequest = {
|
|
1394
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1395
|
+
if (message.id !== "") {
|
|
1396
|
+
writer.uint32(10).string(message.id);
|
|
1397
|
+
}
|
|
1398
|
+
if (message.authorId !== "") {
|
|
1399
|
+
writer.uint32(18).string(message.authorId);
|
|
1400
|
+
}
|
|
1401
|
+
return writer;
|
|
1402
|
+
},
|
|
1403
|
+
decode(input, length) {
|
|
1404
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1405
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1406
|
+
const message = createBaseDeleteChatExportCommentRequest();
|
|
1407
|
+
while (reader.pos < end) {
|
|
1408
|
+
const tag = reader.uint32();
|
|
1409
|
+
switch (tag >>> 3) {
|
|
1410
|
+
case 1: {
|
|
1411
|
+
if (tag !== 10) {
|
|
1412
|
+
break;
|
|
1413
|
+
}
|
|
1414
|
+
message.id = reader.string();
|
|
1415
|
+
continue;
|
|
1416
|
+
}
|
|
1417
|
+
case 2: {
|
|
1418
|
+
if (tag !== 18) {
|
|
1419
|
+
break;
|
|
1420
|
+
}
|
|
1421
|
+
message.authorId = reader.string();
|
|
1422
|
+
continue;
|
|
1423
|
+
}
|
|
1424
|
+
}
|
|
1425
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1426
|
+
break;
|
|
1427
|
+
}
|
|
1428
|
+
reader.skip(tag & 7);
|
|
1429
|
+
}
|
|
1430
|
+
return message;
|
|
1431
|
+
},
|
|
1432
|
+
};
|
|
661
1433
|
protobufjs_1.wrappers[".google.protobuf.Struct"] = { fromObject: struct_interface_1.Struct.wrap, toObject: struct_interface_1.Struct.unwrap };
|
|
662
1434
|
function ChatServiceControllerMethods() {
|
|
663
1435
|
return function (constructor) {
|
|
@@ -669,6 +1441,13 @@ function ChatServiceControllerMethods() {
|
|
|
669
1441
|
"updateChat",
|
|
670
1442
|
"addMessage",
|
|
671
1443
|
"getMessages",
|
|
1444
|
+
"exportChat",
|
|
1445
|
+
"getChatExport",
|
|
1446
|
+
"listChatExports",
|
|
1447
|
+
"deleteChatExport",
|
|
1448
|
+
"getChatExportComments",
|
|
1449
|
+
"addChatExportComment",
|
|
1450
|
+
"deleteChatExportComment",
|
|
672
1451
|
];
|
|
673
1452
|
for (const method of grpcMethods) {
|
|
674
1453
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
@@ -746,4 +1525,67 @@ exports.ChatServiceService = {
|
|
|
746
1525
|
responseSerialize: (value) => Buffer.from(exports.MessagesResponse.encode(value).finish()),
|
|
747
1526
|
responseDeserialize: (value) => exports.MessagesResponse.decode(value),
|
|
748
1527
|
},
|
|
1528
|
+
exportChat: {
|
|
1529
|
+
path: "/chat.ChatService/exportChat",
|
|
1530
|
+
requestStream: false,
|
|
1531
|
+
responseStream: false,
|
|
1532
|
+
requestSerialize: (value) => Buffer.from(exports.ExportChatRequest.encode(value).finish()),
|
|
1533
|
+
requestDeserialize: (value) => exports.ExportChatRequest.decode(value),
|
|
1534
|
+
responseSerialize: (value) => Buffer.from(exports.ExportChatResponse.encode(value).finish()),
|
|
1535
|
+
responseDeserialize: (value) => exports.ExportChatResponse.decode(value),
|
|
1536
|
+
},
|
|
1537
|
+
getChatExport: {
|
|
1538
|
+
path: "/chat.ChatService/getChatExport",
|
|
1539
|
+
requestStream: false,
|
|
1540
|
+
responseStream: false,
|
|
1541
|
+
requestSerialize: (value) => Buffer.from(exports.GetChatExportRequest.encode(value).finish()),
|
|
1542
|
+
requestDeserialize: (value) => exports.GetChatExportRequest.decode(value),
|
|
1543
|
+
responseSerialize: (value) => Buffer.from(exports.ChatExport.encode(value).finish()),
|
|
1544
|
+
responseDeserialize: (value) => exports.ChatExport.decode(value),
|
|
1545
|
+
},
|
|
1546
|
+
listChatExports: {
|
|
1547
|
+
path: "/chat.ChatService/listChatExports",
|
|
1548
|
+
requestStream: false,
|
|
1549
|
+
responseStream: false,
|
|
1550
|
+
requestSerialize: (value) => Buffer.from(exports.ListChatExportsRequest.encode(value).finish()),
|
|
1551
|
+
requestDeserialize: (value) => exports.ListChatExportsRequest.decode(value),
|
|
1552
|
+
responseSerialize: (value) => Buffer.from(exports.ChatExportsResponse.encode(value).finish()),
|
|
1553
|
+
responseDeserialize: (value) => exports.ChatExportsResponse.decode(value),
|
|
1554
|
+
},
|
|
1555
|
+
deleteChatExport: {
|
|
1556
|
+
path: "/chat.ChatService/deleteChatExport",
|
|
1557
|
+
requestStream: false,
|
|
1558
|
+
responseStream: false,
|
|
1559
|
+
requestSerialize: (value) => Buffer.from(exports.DeleteChatExportRequest.encode(value).finish()),
|
|
1560
|
+
requestDeserialize: (value) => exports.DeleteChatExportRequest.decode(value),
|
|
1561
|
+
responseSerialize: (value) => Buffer.from(empty_interface_1.Empty.encode(value).finish()),
|
|
1562
|
+
responseDeserialize: (value) => empty_interface_1.Empty.decode(value),
|
|
1563
|
+
},
|
|
1564
|
+
getChatExportComments: {
|
|
1565
|
+
path: "/chat.ChatService/getChatExportComments",
|
|
1566
|
+
requestStream: false,
|
|
1567
|
+
responseStream: false,
|
|
1568
|
+
requestSerialize: (value) => Buffer.from(exports.GetChatExportCommentsRequest.encode(value).finish()),
|
|
1569
|
+
requestDeserialize: (value) => exports.GetChatExportCommentsRequest.decode(value),
|
|
1570
|
+
responseSerialize: (value) => Buffer.from(exports.ChatExportCommentsResponse.encode(value).finish()),
|
|
1571
|
+
responseDeserialize: (value) => exports.ChatExportCommentsResponse.decode(value),
|
|
1572
|
+
},
|
|
1573
|
+
addChatExportComment: {
|
|
1574
|
+
path: "/chat.ChatService/addChatExportComment",
|
|
1575
|
+
requestStream: false,
|
|
1576
|
+
responseStream: false,
|
|
1577
|
+
requestSerialize: (value) => Buffer.from(exports.AddChatExportCommentRequest.encode(value).finish()),
|
|
1578
|
+
requestDeserialize: (value) => exports.AddChatExportCommentRequest.decode(value),
|
|
1579
|
+
responseSerialize: (value) => Buffer.from(empty_interface_1.Empty.encode(value).finish()),
|
|
1580
|
+
responseDeserialize: (value) => empty_interface_1.Empty.decode(value),
|
|
1581
|
+
},
|
|
1582
|
+
deleteChatExportComment: {
|
|
1583
|
+
path: "/chat.ChatService/deleteChatExportComment",
|
|
1584
|
+
requestStream: false,
|
|
1585
|
+
responseStream: false,
|
|
1586
|
+
requestSerialize: (value) => Buffer.from(exports.DeleteChatExportCommentRequest.encode(value).finish()),
|
|
1587
|
+
requestDeserialize: (value) => exports.DeleteChatExportCommentRequest.decode(value),
|
|
1588
|
+
responseSerialize: (value) => Buffer.from(empty_interface_1.Empty.encode(value).finish()),
|
|
1589
|
+
responseDeserialize: (value) => empty_interface_1.Empty.decode(value),
|
|
1590
|
+
},
|
|
749
1591
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -29,5 +29,5 @@ export { MessageFns as AgentMessageFns, protobufPackage as AgentProtobufPackage,
|
|
|
29
29
|
export { MessageFns as WorkflowMessageFns, protobufPackage as WorkflowProtobufPackage, Workflow, WorkflowNode, WorkflowEdge, FullWorkflow, CreateWorkflowRequest, UpdateWorkflowRequest, GetWorkflowRequest, ListWorkflowsRequest, DeleteWorkflowRequest, CreateNodeRequest, UpdateNodeRequest, DeleteNodeRequest, CreateEdgeRequest, DeleteEdgeRequest, WorkflowsResponse, WorkflowServiceClient, WorkflowServiceController, WorkflowServiceService as WorkflowService, } from "./workflow.interface";
|
|
30
30
|
export { MessageFns as McpMessageFns, protobufPackage as McpProtobufPackage, McpServer, McpServerCustomization, McpToolCustomization, McpOAuthSession, CreateMcpServerRequest, UpdateMcpServerRequest, GetMcpServerRequest, ListMcpServersRequest, DeleteMcpServerRequest, SetServerCustomizationRequest, SetToolCustomizationRequest, ListServerCustomizationsRequest, ListToolCustomizationsRequest, McpServerCustomizationsResponse, McpToolCustomizationsResponse, McpServersResponse, McpServiceClient, McpServiceController, McpServiceService as McpService, } from "./mcp.interface";
|
|
31
31
|
export { MessageFns as LibraryMessageFns, protobufPackage as LibraryProtobufPackage, Bookmark, Archive, ArchiveItem, CreateBookmarkRequest, DeleteBookmarkRequest, ListBookmarksRequest, CreateArchiveRequest, UpdateArchiveRequest, DeleteArchiveRequest, ListArchivesRequest, AddItemToArchiveRequest, RemoveItemFromArchiveRequest, BookmarksResponse, ArchivesResponse, ListArchiveItemsRequest, ArchiveItemsResponse, LibraryServiceClient, LibraryServiceController, LibraryServiceService as LibraryService, } from "./library.interface";
|
|
32
|
-
export { MessageFns as ChatMessageFns, protobufPackage as ChatProtobufPackage, Chat, ChatMessage, CreateChatRequest, UpdateChatRequest, GetChatRequest, ListChatsRequest, DeleteChatRequest, AddMessageRequest, GetMessagesRequest, ChatsResponse, MessagesResponse, ChatServiceClient, ChatServiceController, ChatServiceService as ChatService, } from "./chat.interface";
|
|
32
|
+
export { MessageFns as ChatMessageFns, protobufPackage as ChatProtobufPackage, Chat, ChatMessage, CreateChatRequest, UpdateChatRequest, GetChatRequest, ListChatsRequest, DeleteChatRequest, AddMessageRequest, GetMessagesRequest, ChatsResponse, MessagesResponse, ChatServiceClient, ChatExportMessage, ChatExport, ChatExportSummary, ChatExportComment, ExportChatRequest, ExportChatResponse, GetChatExportRequest, GetChatExportCommentsRequest, DeleteChatExportRequest, ListChatExportsRequest, ChatExportsResponse, ChatExportCommentsResponse, AddChatExportCommentRequest, DeleteChatExportCommentRequest, ChatServiceController, ChatServiceService as ChatService, } from "./chat.interface";
|
|
33
33
|
export { MessageFns as GenerationMessageFns, protobufPackage as GenerationProtobufPackage, StartChatRunRequest, StartChatRunResponse, SubmitToolResultRequest, CancelRunRequest, GenerationServiceClient, GenerationServiceController, GenerationServiceService as GenerationService, } from "./generation.interface";
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ exports.DownloadRequest = exports.UploadResponse = exports.UploadRequest = expor
|
|
|
5
5
|
exports.Payment = exports.UsageStats = exports.Usage = exports.Transaction = exports.Balance = exports.BillingProtobufPackage = exports.ResponseService = exports.StreamUpdate = exports.StreamUpdatesRequest = exports.ProcessResponseResponse = exports.ProcessResponseRequest = exports.ResponseProtobufPackage = exports.RequestService = exports.StreamChunk = exports.RequestLog = exports.StreamRequestRequest = exports.CancelRequestResponse = exports.CancelRequestRequest = exports.RequestResultResponse = exports.GetRequestResultRequest = exports.RequestStatusResponse = exports.GetRequestStatusRequest = exports.CreateRequestResponse = exports.CreateRequestRequest = exports.RequestProtobufPackage = exports.KeyService = exports.GetSystemKeyRequest = exports.ValidateKeyResponse = exports.ValidateKeyRequest = exports.GetKeysByUserRequest = exports.KeysResponse = exports.KeyResponse = exports.GetKeyByIdRequest = exports.RemoveKeyRequest = exports.UpdateKeyRequest = exports.CreateKeyRequest = exports.Key = exports.KeysProtobufPackage = exports.EventService = exports.EmitResponse = exports.BroadcastRequest = exports.EmitToUserRequest = exports.EventMessage = exports.SubscribeRequest = exports.EventProtobufPackage = exports.FileProtobufPackage = exports.StorageService = exports.DeleteResponse = exports.DeleteRequest = exports.DownloadResponse = void 0;
|
|
6
6
|
exports.UpdateNodeRequest = exports.CreateNodeRequest = exports.DeleteWorkflowRequest = exports.ListWorkflowsRequest = exports.GetWorkflowRequest = exports.UpdateWorkflowRequest = exports.CreateWorkflowRequest = exports.FullWorkflow = exports.WorkflowEdge = exports.WorkflowNode = exports.Workflow = exports.WorkflowProtobufPackage = exports.AgentService = exports.AgentsResponse = exports.DeleteAgentRequest = exports.ListAgentsRequest = exports.GetAgentRequest = exports.UpdateAgentRequest = exports.CreateAgentRequest = exports.Agent = exports.AgentProtobufPackage = exports.BillingService = exports.ProcessWebhookResponse = exports.ProcessWebhookRequest = exports.GetPaymentsByUserResponse = exports.GetPaymentsByUserRequest = exports.GetPaymentResponse = exports.GetPaymentRequest = exports.CreatePaymentResponse = exports.CreatePaymentRequest = exports.GetUsageByUserResponse = exports.GetUsageByUserRequest = exports.GetUsageByKeyResponse = exports.GetUsageByKeyRequest = exports.GetUsageStatsResponse = exports.GetUsageStatsRequest = exports.RecordUsageResponse = exports.RecordUsageRequest = exports.GetTransactionResponse = exports.GetTransactionRequest = exports.GetTransactionsResponse = exports.GetTransactionsRequest = exports.CreateTransactionResponse = exports.CreateTransactionRequest = exports.DepositResponse = exports.DepositRequest = exports.ChargeResponse = exports.ChargeRequest = exports.GetBalanceResponse = exports.GetBalanceRequest = void 0;
|
|
7
7
|
exports.AddMessageRequest = exports.DeleteChatRequest = exports.ListChatsRequest = exports.GetChatRequest = exports.UpdateChatRequest = exports.CreateChatRequest = exports.ChatMessage = exports.Chat = exports.ChatProtobufPackage = exports.LibraryService = exports.ArchiveItemsResponse = exports.ListArchiveItemsRequest = exports.ArchivesResponse = exports.BookmarksResponse = exports.RemoveItemFromArchiveRequest = exports.AddItemToArchiveRequest = exports.ListArchivesRequest = exports.DeleteArchiveRequest = exports.UpdateArchiveRequest = exports.CreateArchiveRequest = exports.ListBookmarksRequest = exports.DeleteBookmarkRequest = exports.CreateBookmarkRequest = exports.ArchiveItem = exports.Archive = exports.Bookmark = exports.LibraryProtobufPackage = exports.McpService = exports.McpServersResponse = exports.McpToolCustomizationsResponse = exports.McpServerCustomizationsResponse = exports.ListToolCustomizationsRequest = exports.ListServerCustomizationsRequest = exports.SetToolCustomizationRequest = exports.SetServerCustomizationRequest = exports.DeleteMcpServerRequest = exports.ListMcpServersRequest = exports.GetMcpServerRequest = exports.UpdateMcpServerRequest = exports.CreateMcpServerRequest = exports.McpOAuthSession = exports.McpToolCustomization = exports.McpServerCustomization = exports.McpServer = exports.McpProtobufPackage = exports.WorkflowService = exports.WorkflowsResponse = exports.DeleteEdgeRequest = exports.CreateEdgeRequest = exports.DeleteNodeRequest = void 0;
|
|
8
|
-
exports.GenerationService = exports.CancelRunRequest = exports.SubmitToolResultRequest = exports.StartChatRunResponse = exports.StartChatRunRequest = exports.GenerationProtobufPackage = exports.ChatService = exports.MessagesResponse = exports.ChatsResponse = exports.GetMessagesRequest = void 0;
|
|
8
|
+
exports.GenerationService = exports.CancelRunRequest = exports.SubmitToolResultRequest = exports.StartChatRunResponse = exports.StartChatRunRequest = exports.GenerationProtobufPackage = exports.ChatService = exports.DeleteChatExportCommentRequest = exports.AddChatExportCommentRequest = exports.ChatExportCommentsResponse = exports.ChatExportsResponse = exports.ListChatExportsRequest = exports.DeleteChatExportRequest = exports.GetChatExportCommentsRequest = exports.GetChatExportRequest = exports.ExportChatResponse = exports.ExportChatRequest = exports.ChatExportComment = exports.ChatExportSummary = exports.ChatExport = exports.ChatExportMessage = exports.MessagesResponse = exports.ChatsResponse = exports.GetMessagesRequest = void 0;
|
|
9
9
|
var shared_module_1 = require("./shared.module");
|
|
10
10
|
Object.defineProperty(exports, "SharedModule", { enumerable: true, get: function () { return shared_module_1.SharedModule; } });
|
|
11
11
|
var user_client_1 = require("./user.client");
|
|
@@ -337,6 +337,20 @@ Object.defineProperty(exports, "AddMessageRequest", { enumerable: true, get: fun
|
|
|
337
337
|
Object.defineProperty(exports, "GetMessagesRequest", { enumerable: true, get: function () { return chat_interface_1.GetMessagesRequest; } });
|
|
338
338
|
Object.defineProperty(exports, "ChatsResponse", { enumerable: true, get: function () { return chat_interface_1.ChatsResponse; } });
|
|
339
339
|
Object.defineProperty(exports, "MessagesResponse", { enumerable: true, get: function () { return chat_interface_1.MessagesResponse; } });
|
|
340
|
+
Object.defineProperty(exports, "ChatExportMessage", { enumerable: true, get: function () { return chat_interface_1.ChatExportMessage; } });
|
|
341
|
+
Object.defineProperty(exports, "ChatExport", { enumerable: true, get: function () { return chat_interface_1.ChatExport; } });
|
|
342
|
+
Object.defineProperty(exports, "ChatExportSummary", { enumerable: true, get: function () { return chat_interface_1.ChatExportSummary; } });
|
|
343
|
+
Object.defineProperty(exports, "ChatExportComment", { enumerable: true, get: function () { return chat_interface_1.ChatExportComment; } });
|
|
344
|
+
Object.defineProperty(exports, "ExportChatRequest", { enumerable: true, get: function () { return chat_interface_1.ExportChatRequest; } });
|
|
345
|
+
Object.defineProperty(exports, "ExportChatResponse", { enumerable: true, get: function () { return chat_interface_1.ExportChatResponse; } });
|
|
346
|
+
Object.defineProperty(exports, "GetChatExportRequest", { enumerable: true, get: function () { return chat_interface_1.GetChatExportRequest; } });
|
|
347
|
+
Object.defineProperty(exports, "GetChatExportCommentsRequest", { enumerable: true, get: function () { return chat_interface_1.GetChatExportCommentsRequest; } });
|
|
348
|
+
Object.defineProperty(exports, "DeleteChatExportRequest", { enumerable: true, get: function () { return chat_interface_1.DeleteChatExportRequest; } });
|
|
349
|
+
Object.defineProperty(exports, "ListChatExportsRequest", { enumerable: true, get: function () { return chat_interface_1.ListChatExportsRequest; } });
|
|
350
|
+
Object.defineProperty(exports, "ChatExportsResponse", { enumerable: true, get: function () { return chat_interface_1.ChatExportsResponse; } });
|
|
351
|
+
Object.defineProperty(exports, "ChatExportCommentsResponse", { enumerable: true, get: function () { return chat_interface_1.ChatExportCommentsResponse; } });
|
|
352
|
+
Object.defineProperty(exports, "AddChatExportCommentRequest", { enumerable: true, get: function () { return chat_interface_1.AddChatExportCommentRequest; } });
|
|
353
|
+
Object.defineProperty(exports, "DeleteChatExportCommentRequest", { enumerable: true, get: function () { return chat_interface_1.DeleteChatExportCommentRequest; } });
|
|
340
354
|
Object.defineProperty(exports, "ChatService", { enumerable: true, get: function () { return chat_interface_1.ChatServiceService; } });
|
|
341
355
|
// ============================
|
|
342
356
|
// Generation exports
|