@skravets/eapi 0.0.46 → 0.0.47

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.
@@ -101,7 +101,7 @@ interface components {
101
101
  channel_id: number;
102
102
  /**
103
103
  * Format: date-time
104
- * @example 2026-01-16T14:54:47.728Z
104
+ * @example 2026-01-23T13:28:55.622Z
105
105
  */
106
106
  message_created_at: string;
107
107
  /** @example 123 */
@@ -232,8 +232,8 @@ interface components {
232
232
  minParticipants?: number;
233
233
  /** @description Maximum participants count */
234
234
  maxParticipants?: number;
235
- /** @description Filter by language (ISO 639-1) */
236
- language?: string;
235
+ /** @description Filter by languages (ISO 639-1) */
236
+ languages?: string[];
237
237
  /** @description Filter by keywords (any match) */
238
238
  keywords?: string[];
239
239
  };
@@ -101,7 +101,7 @@ interface components {
101
101
  channel_id: number;
102
102
  /**
103
103
  * Format: date-time
104
- * @example 2026-01-16T14:54:47.728Z
104
+ * @example 2026-01-23T13:28:55.622Z
105
105
  */
106
106
  message_created_at: string;
107
107
  /** @example 123 */
@@ -232,8 +232,8 @@ interface components {
232
232
  minParticipants?: number;
233
233
  /** @description Maximum participants count */
234
234
  maxParticipants?: number;
235
- /** @description Filter by language (ISO 639-1) */
236
- language?: string;
235
+ /** @description Filter by languages (ISO 639-1) */
236
+ languages?: string[];
237
237
  /** @description Filter by keywords (any match) */
238
238
  keywords?: string[];
239
239
  };
package/dist/index.d.cts CHANGED
@@ -320,30 +320,19 @@ interface PublishersStatusQueueInputClickHouseMessagesResult {
320
320
  error: string;
321
321
  };
322
322
  }
323
- interface PublishersStatusQueueInputCommonChats {
323
+ interface PublishersStatusQueueInputGetCommonChatsResult {
324
+ type: "get_common_chats_result";
324
325
  metadata: Metadata;
325
326
  user: {
326
327
  id: number;
327
- username?: string;
328
- };
329
- account: {
330
- id: number;
331
- username?: string;
332
- firstName?: string;
333
- lastName?: string;
328
+ username: string;
334
329
  };
335
- status: "SUCCESS" | "ERROR" | "ACCOUNT_NOT_FOUND" | "TIMEOUT" | "USERNAME_RESOLVE_ERROR" | "FLOOD_WAIT";
336
- chats?: Array<{
330
+ chats: {
337
331
  id: number;
338
332
  username?: string;
339
333
  title?: string;
340
334
  type: "chat" | "channel";
341
- }>;
342
- error?: string;
343
- seconds?: number;
344
- }
345
- interface PublishersStatusQueueInputGetCommonChatsResult extends PublishersStatusQueueInputCommonChats {
346
- type: "get_common_chats_result";
335
+ }[];
347
336
  }
348
337
  interface EventByType {
349
338
  chat_parsed: ChatParsedTyped;
package/dist/index.d.ts CHANGED
@@ -320,30 +320,19 @@ interface PublishersStatusQueueInputClickHouseMessagesResult {
320
320
  error: string;
321
321
  };
322
322
  }
323
- interface PublishersStatusQueueInputCommonChats {
323
+ interface PublishersStatusQueueInputGetCommonChatsResult {
324
+ type: "get_common_chats_result";
324
325
  metadata: Metadata;
325
326
  user: {
326
327
  id: number;
327
- username?: string;
328
- };
329
- account: {
330
- id: number;
331
- username?: string;
332
- firstName?: string;
333
- lastName?: string;
328
+ username: string;
334
329
  };
335
- status: "SUCCESS" | "ERROR" | "ACCOUNT_NOT_FOUND" | "TIMEOUT" | "USERNAME_RESOLVE_ERROR" | "FLOOD_WAIT";
336
- chats?: Array<{
330
+ chats: {
337
331
  id: number;
338
332
  username?: string;
339
333
  title?: string;
340
334
  type: "chat" | "channel";
341
- }>;
342
- error?: string;
343
- seconds?: number;
344
- }
345
- interface PublishersStatusQueueInputGetCommonChatsResult extends PublishersStatusQueueInputCommonChats {
346
- type: "get_common_chats_result";
335
+ }[];
347
336
  }
348
337
  interface EventByType {
349
338
  chat_parsed: ChatParsedTyped;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skravets/eapi",
3
- "version": "0.0.46",
3
+ "version": "0.0.47",
4
4
  "module": "./dist/index.js",
5
5
  "main": "./dist/index.cjs",
6
6
  "types": "./dist/index.d.ts",