@skravets/eapi 0.0.44 → 0.0.45
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/index.d.cts +16 -1
- package/dist/index.d.ts +16 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -320,6 +320,20 @@ interface PublishersStatusQueueInputClickHouseMessagesResult {
|
|
|
320
320
|
error: string;
|
|
321
321
|
};
|
|
322
322
|
}
|
|
323
|
+
interface PublishersStatusQueueInputGetCommonChatsResult {
|
|
324
|
+
type: "get_common_chats_result";
|
|
325
|
+
metadata: Metadata;
|
|
326
|
+
user: {
|
|
327
|
+
id: number;
|
|
328
|
+
username: string;
|
|
329
|
+
};
|
|
330
|
+
chats: {
|
|
331
|
+
id: number;
|
|
332
|
+
username?: string;
|
|
333
|
+
title?: string;
|
|
334
|
+
type: "chat" | "channel";
|
|
335
|
+
}[];
|
|
336
|
+
}
|
|
323
337
|
interface EventByType {
|
|
324
338
|
chat_parsed: ChatParsedTyped;
|
|
325
339
|
messages_parsed: MessagesParsedTyped;
|
|
@@ -329,8 +343,9 @@ interface EventByType {
|
|
|
329
343
|
parsing_error: PublishersStatusQueueParsingErrorResult;
|
|
330
344
|
account_updated: PublishersStatusQueueAccountUpdatedResult;
|
|
331
345
|
search_results: PublishersStatusQueueInputClickHouseMessagesResult;
|
|
346
|
+
get_common_chats_result: PublishersStatusQueueInputGetCommonChatsResult;
|
|
332
347
|
}
|
|
333
|
-
type WebhookBody = ChatParsedTyped | MessagesParsedTyped | PublishersStatusQueueInputJoinResult | PublishersStatusQueueInputSendResult | PublishersStatusQueueInputAgentPrivateMessageResult | PublishersStatusQueueParsingErrorResult | PublishersStatusQueueAccountUpdatedResult | PublishersStatusQueueInputClickHouseMessagesResult;
|
|
348
|
+
type WebhookBody = ChatParsedTyped | MessagesParsedTyped | PublishersStatusQueueInputJoinResult | PublishersStatusQueueInputSendResult | PublishersStatusQueueInputAgentPrivateMessageResult | PublishersStatusQueueParsingErrorResult | PublishersStatusQueueAccountUpdatedResult | PublishersStatusQueueInputClickHouseMessagesResult | PublishersStatusQueueInputGetCommonChatsResult;
|
|
334
349
|
type WebhookBodyTypes = keyof EventByType;
|
|
335
350
|
|
|
336
351
|
declare const frameworks: {
|
package/dist/index.d.ts
CHANGED
|
@@ -320,6 +320,20 @@ interface PublishersStatusQueueInputClickHouseMessagesResult {
|
|
|
320
320
|
error: string;
|
|
321
321
|
};
|
|
322
322
|
}
|
|
323
|
+
interface PublishersStatusQueueInputGetCommonChatsResult {
|
|
324
|
+
type: "get_common_chats_result";
|
|
325
|
+
metadata: Metadata;
|
|
326
|
+
user: {
|
|
327
|
+
id: number;
|
|
328
|
+
username: string;
|
|
329
|
+
};
|
|
330
|
+
chats: {
|
|
331
|
+
id: number;
|
|
332
|
+
username?: string;
|
|
333
|
+
title?: string;
|
|
334
|
+
type: "chat" | "channel";
|
|
335
|
+
}[];
|
|
336
|
+
}
|
|
323
337
|
interface EventByType {
|
|
324
338
|
chat_parsed: ChatParsedTyped;
|
|
325
339
|
messages_parsed: MessagesParsedTyped;
|
|
@@ -329,8 +343,9 @@ interface EventByType {
|
|
|
329
343
|
parsing_error: PublishersStatusQueueParsingErrorResult;
|
|
330
344
|
account_updated: PublishersStatusQueueAccountUpdatedResult;
|
|
331
345
|
search_results: PublishersStatusQueueInputClickHouseMessagesResult;
|
|
346
|
+
get_common_chats_result: PublishersStatusQueueInputGetCommonChatsResult;
|
|
332
347
|
}
|
|
333
|
-
type WebhookBody = ChatParsedTyped | MessagesParsedTyped | PublishersStatusQueueInputJoinResult | PublishersStatusQueueInputSendResult | PublishersStatusQueueInputAgentPrivateMessageResult | PublishersStatusQueueParsingErrorResult | PublishersStatusQueueAccountUpdatedResult | PublishersStatusQueueInputClickHouseMessagesResult;
|
|
348
|
+
type WebhookBody = ChatParsedTyped | MessagesParsedTyped | PublishersStatusQueueInputJoinResult | PublishersStatusQueueInputSendResult | PublishersStatusQueueInputAgentPrivateMessageResult | PublishersStatusQueueParsingErrorResult | PublishersStatusQueueAccountUpdatedResult | PublishersStatusQueueInputClickHouseMessagesResult | PublishersStatusQueueInputGetCommonChatsResult;
|
|
334
349
|
type WebhookBodyTypes = keyof EventByType;
|
|
335
350
|
|
|
336
351
|
declare const frameworks: {
|