@skravets/eapi 0.0.49 → 0.0.51
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/api-types.d.cts +3 -1
- package/dist/api-types.d.ts +3 -1
- package/dist/index.d.cts +16 -5
- package/dist/index.d.ts +16 -5
- package/package.json +1 -1
package/dist/api-types.d.cts
CHANGED
|
@@ -113,7 +113,7 @@ interface components {
|
|
|
113
113
|
channel_id: number;
|
|
114
114
|
/**
|
|
115
115
|
* Format: date-time
|
|
116
|
-
* @example 2026-02-
|
|
116
|
+
* @example 2026-02-10T18:14:06.515Z
|
|
117
117
|
*/
|
|
118
118
|
message_created_at: string;
|
|
119
119
|
/** @example 123 */
|
|
@@ -130,6 +130,8 @@ interface components {
|
|
|
130
130
|
language: null | string;
|
|
131
131
|
/** @example false */
|
|
132
132
|
is_probably_spam: boolean;
|
|
133
|
+
/** @example 0 */
|
|
134
|
+
spam_rating: number;
|
|
133
135
|
};
|
|
134
136
|
ICursor: {
|
|
135
137
|
/**
|
package/dist/api-types.d.ts
CHANGED
|
@@ -113,7 +113,7 @@ interface components {
|
|
|
113
113
|
channel_id: number;
|
|
114
114
|
/**
|
|
115
115
|
* Format: date-time
|
|
116
|
-
* @example 2026-02-
|
|
116
|
+
* @example 2026-02-10T18:14:06.515Z
|
|
117
117
|
*/
|
|
118
118
|
message_created_at: string;
|
|
119
119
|
/** @example 123 */
|
|
@@ -130,6 +130,8 @@ interface components {
|
|
|
130
130
|
language: null | string;
|
|
131
131
|
/** @example false */
|
|
132
132
|
is_probably_spam: boolean;
|
|
133
|
+
/** @example 0 */
|
|
134
|
+
spam_rating: number;
|
|
133
135
|
};
|
|
134
136
|
ICursor: {
|
|
135
137
|
/**
|
package/dist/index.d.cts
CHANGED
|
@@ -341,19 +341,30 @@ interface PublishersStatusQueueInputClickHouseMessagesResult {
|
|
|
341
341
|
error: string;
|
|
342
342
|
};
|
|
343
343
|
}
|
|
344
|
-
interface
|
|
345
|
-
type: "get_common_chats_result";
|
|
344
|
+
interface PublishersStatusQueueInputCommonChats {
|
|
346
345
|
metadata: Metadata;
|
|
347
346
|
user: {
|
|
348
347
|
id: number;
|
|
349
|
-
username
|
|
348
|
+
username?: string;
|
|
350
349
|
};
|
|
351
|
-
|
|
350
|
+
account: {
|
|
351
|
+
id: number;
|
|
352
|
+
username?: string;
|
|
353
|
+
firstName?: string;
|
|
354
|
+
lastName?: string;
|
|
355
|
+
};
|
|
356
|
+
status: "SUCCESS" | "ERROR" | "ACCOUNT_NOT_FOUND" | "TIMEOUT" | "USERNAME_RESOLVE_ERROR" | "FLOOD_WAIT";
|
|
357
|
+
chats?: Array<{
|
|
352
358
|
id: number;
|
|
353
359
|
username?: string;
|
|
354
360
|
title?: string;
|
|
355
361
|
type: "chat" | "channel";
|
|
356
|
-
}
|
|
362
|
+
}>;
|
|
363
|
+
error?: string;
|
|
364
|
+
seconds?: number;
|
|
365
|
+
}
|
|
366
|
+
interface PublishersStatusQueueInputGetCommonChatsResult extends PublishersStatusQueueInputCommonChats {
|
|
367
|
+
type: "get_common_chats_result";
|
|
357
368
|
}
|
|
358
369
|
interface EventByType {
|
|
359
370
|
chat_parsed: ChatParsedTyped;
|
package/dist/index.d.ts
CHANGED
|
@@ -341,19 +341,30 @@ interface PublishersStatusQueueInputClickHouseMessagesResult {
|
|
|
341
341
|
error: string;
|
|
342
342
|
};
|
|
343
343
|
}
|
|
344
|
-
interface
|
|
345
|
-
type: "get_common_chats_result";
|
|
344
|
+
interface PublishersStatusQueueInputCommonChats {
|
|
346
345
|
metadata: Metadata;
|
|
347
346
|
user: {
|
|
348
347
|
id: number;
|
|
349
|
-
username
|
|
348
|
+
username?: string;
|
|
350
349
|
};
|
|
351
|
-
|
|
350
|
+
account: {
|
|
351
|
+
id: number;
|
|
352
|
+
username?: string;
|
|
353
|
+
firstName?: string;
|
|
354
|
+
lastName?: string;
|
|
355
|
+
};
|
|
356
|
+
status: "SUCCESS" | "ERROR" | "ACCOUNT_NOT_FOUND" | "TIMEOUT" | "USERNAME_RESOLVE_ERROR" | "FLOOD_WAIT";
|
|
357
|
+
chats?: Array<{
|
|
352
358
|
id: number;
|
|
353
359
|
username?: string;
|
|
354
360
|
title?: string;
|
|
355
361
|
type: "chat" | "channel";
|
|
356
|
-
}
|
|
362
|
+
}>;
|
|
363
|
+
error?: string;
|
|
364
|
+
seconds?: number;
|
|
365
|
+
}
|
|
366
|
+
interface PublishersStatusQueueInputGetCommonChatsResult extends PublishersStatusQueueInputCommonChats {
|
|
367
|
+
type: "get_common_chats_result";
|
|
357
368
|
}
|
|
358
369
|
interface EventByType {
|
|
359
370
|
chat_parsed: ChatParsedTyped;
|