@skravets/eapi 0.0.64 → 0.0.66

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.
@@ -163,7 +163,7 @@ interface components {
163
163
  channel_id: number;
164
164
  /**
165
165
  * Format: date-time
166
- * @example 2026-03-17T13:14:53.313Z
166
+ * @example 2026-04-07T01:34:06.332Z
167
167
  */
168
168
  message_created_at: string;
169
169
  /** @example 123 */
@@ -394,6 +394,8 @@ interface components {
394
394
  keywords?: string[];
395
395
  /** @description Maximum spam ratio (inclusive). Chats with null spam_ratio are always included when this filter is set. */
396
396
  maxSpamRatio?: number;
397
+ /** @description Minimum average messages per day (inclusive). Chats with null avg are always included when this filter is set. */
398
+ minAvgMessagesPerDay?: number;
397
399
  };
398
400
  CatalogSearchRequest: {
399
401
  /** @description Search query text */
@@ -1081,7 +1083,12 @@ interface components {
1081
1083
  * @description Chat username without @
1082
1084
  * @example somechat
1083
1085
  */
1084
- chatUsername: string;
1086
+ chatUsername: null | string;
1087
+ /**
1088
+ * @description Invite hash for private chats
1089
+ * @example AbCd1234
1090
+ */
1091
+ inviteHash?: null | string;
1085
1092
  /**
1086
1093
  * @description Desired number of healthy accounts in chat
1087
1094
  * @example 3
@@ -1123,7 +1130,12 @@ interface components {
1123
1130
  * @description Chat username without @
1124
1131
  * @example somechat
1125
1132
  */
1126
- chatUsername: string;
1133
+ chatUsername?: string;
1134
+ /**
1135
+ * @description Invite hash for private chats (t.me/+HASH)
1136
+ * @example AbCd1234
1137
+ */
1138
+ inviteHash?: string;
1127
1139
  /**
1128
1140
  * @description Desired healthy account count (>= 1)
1129
1141
  * @default 1
@@ -1135,6 +1147,7 @@ interface components {
1135
1147
  * @example 1
1136
1148
  */
1137
1149
  poolId?: null | number;
1150
+ _chatIdentifierCheck?: Record<string, never>;
1138
1151
  };
1139
1152
  SyncPresenceChatsDto: {
1140
1153
  /** @description Desired list of presence chats (replaces all existing) */
@@ -1164,7 +1177,12 @@ interface components {
1164
1177
  * @description Chat username without @
1165
1178
  * @example somechat
1166
1179
  */
1167
- chatUsername: string;
1180
+ chatUsername?: string;
1181
+ /**
1182
+ * @description Invite hash for private chats (t.me/+HASH)
1183
+ * @example AbCd1234
1184
+ */
1185
+ inviteHash?: string;
1168
1186
  /**
1169
1187
  * @description Desired healthy account count (>= 1)
1170
1188
  * @default 1
@@ -1176,6 +1194,7 @@ interface components {
1176
1194
  * @example 1
1177
1195
  */
1178
1196
  poolId?: null | number;
1197
+ _chatIdentifierCheck?: Record<string, never>;
1179
1198
  };
1180
1199
  UpdatePresenceChatDto: {
1181
1200
  /**
@@ -2079,6 +2098,12 @@ interface operations {
2079
2098
  [name: string]: unknown;
2080
2099
  };
2081
2100
  };
2101
+ /** @description Task with provided externalId (UUID) not found */
2102
+ 404: {
2103
+ headers: {
2104
+ [name: string]: unknown;
2105
+ };
2106
+ };
2082
2107
  /** @description Farm processor not running */
2083
2108
  503: {
2084
2109
  headers: {
@@ -163,7 +163,7 @@ interface components {
163
163
  channel_id: number;
164
164
  /**
165
165
  * Format: date-time
166
- * @example 2026-03-17T13:14:53.313Z
166
+ * @example 2026-04-07T01:34:06.332Z
167
167
  */
168
168
  message_created_at: string;
169
169
  /** @example 123 */
@@ -394,6 +394,8 @@ interface components {
394
394
  keywords?: string[];
395
395
  /** @description Maximum spam ratio (inclusive). Chats with null spam_ratio are always included when this filter is set. */
396
396
  maxSpamRatio?: number;
397
+ /** @description Minimum average messages per day (inclusive). Chats with null avg are always included when this filter is set. */
398
+ minAvgMessagesPerDay?: number;
397
399
  };
398
400
  CatalogSearchRequest: {
399
401
  /** @description Search query text */
@@ -1081,7 +1083,12 @@ interface components {
1081
1083
  * @description Chat username without @
1082
1084
  * @example somechat
1083
1085
  */
1084
- chatUsername: string;
1086
+ chatUsername: null | string;
1087
+ /**
1088
+ * @description Invite hash for private chats
1089
+ * @example AbCd1234
1090
+ */
1091
+ inviteHash?: null | string;
1085
1092
  /**
1086
1093
  * @description Desired number of healthy accounts in chat
1087
1094
  * @example 3
@@ -1123,7 +1130,12 @@ interface components {
1123
1130
  * @description Chat username without @
1124
1131
  * @example somechat
1125
1132
  */
1126
- chatUsername: string;
1133
+ chatUsername?: string;
1134
+ /**
1135
+ * @description Invite hash for private chats (t.me/+HASH)
1136
+ * @example AbCd1234
1137
+ */
1138
+ inviteHash?: string;
1127
1139
  /**
1128
1140
  * @description Desired healthy account count (>= 1)
1129
1141
  * @default 1
@@ -1135,6 +1147,7 @@ interface components {
1135
1147
  * @example 1
1136
1148
  */
1137
1149
  poolId?: null | number;
1150
+ _chatIdentifierCheck?: Record<string, never>;
1138
1151
  };
1139
1152
  SyncPresenceChatsDto: {
1140
1153
  /** @description Desired list of presence chats (replaces all existing) */
@@ -1164,7 +1177,12 @@ interface components {
1164
1177
  * @description Chat username without @
1165
1178
  * @example somechat
1166
1179
  */
1167
- chatUsername: string;
1180
+ chatUsername?: string;
1181
+ /**
1182
+ * @description Invite hash for private chats (t.me/+HASH)
1183
+ * @example AbCd1234
1184
+ */
1185
+ inviteHash?: string;
1168
1186
  /**
1169
1187
  * @description Desired healthy account count (>= 1)
1170
1188
  * @default 1
@@ -1176,6 +1194,7 @@ interface components {
1176
1194
  * @example 1
1177
1195
  */
1178
1196
  poolId?: null | number;
1197
+ _chatIdentifierCheck?: Record<string, never>;
1179
1198
  };
1180
1199
  UpdatePresenceChatDto: {
1181
1200
  /**
@@ -2079,6 +2098,12 @@ interface operations {
2079
2098
  [name: string]: unknown;
2080
2099
  };
2081
2100
  };
2101
+ /** @description Task with provided externalId (UUID) not found */
2102
+ 404: {
2103
+ headers: {
2104
+ [name: string]: unknown;
2105
+ };
2106
+ };
2082
2107
  /** @description Farm processor not running */
2083
2108
  503: {
2084
2109
  headers: {
package/dist/index.d.cts CHANGED
@@ -139,6 +139,7 @@ interface PublishersStatusQueueInputMessagesParsed {
139
139
  id: number;
140
140
  type?: "group" | "channel" | undefined;
141
141
  username: string;
142
+ inviteHash?: string | null;
142
143
  title?: string;
143
144
  about?: string;
144
145
  participantsCount?: number;
package/dist/index.d.ts CHANGED
@@ -139,6 +139,7 @@ interface PublishersStatusQueueInputMessagesParsed {
139
139
  id: number;
140
140
  type?: "group" | "channel" | undefined;
141
141
  username: string;
142
+ inviteHash?: string | null;
142
143
  title?: string;
143
144
  about?: string;
144
145
  participantsCount?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skravets/eapi",
3
- "version": "0.0.64",
3
+ "version": "0.0.66",
4
4
  "module": "./dist/index.js",
5
5
  "main": "./dist/index.cjs",
6
6
  "types": "./dist/index.d.ts",