@skravets/eapi 0.0.66 → 0.0.68
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 +4 -21
- package/dist/api-types.d.ts +4 -21
- package/dist/index.d.cts +5 -1
- package/dist/index.d.ts +5 -1
- package/package.json +4 -2
package/dist/api-types.d.cts
CHANGED
|
@@ -163,7 +163,7 @@ interface components {
|
|
|
163
163
|
channel_id: number;
|
|
164
164
|
/**
|
|
165
165
|
* Format: date-time
|
|
166
|
-
* @example 2026-
|
|
166
|
+
* @example 2026-03-31T13:19:04.274Z
|
|
167
167
|
*/
|
|
168
168
|
message_created_at: string;
|
|
169
169
|
/** @example 123 */
|
|
@@ -1083,12 +1083,7 @@ interface components {
|
|
|
1083
1083
|
* @description Chat username without @
|
|
1084
1084
|
* @example somechat
|
|
1085
1085
|
*/
|
|
1086
|
-
chatUsername:
|
|
1087
|
-
/**
|
|
1088
|
-
* @description Invite hash for private chats
|
|
1089
|
-
* @example AbCd1234
|
|
1090
|
-
*/
|
|
1091
|
-
inviteHash?: null | string;
|
|
1086
|
+
chatUsername: string;
|
|
1092
1087
|
/**
|
|
1093
1088
|
* @description Desired number of healthy accounts in chat
|
|
1094
1089
|
* @example 3
|
|
@@ -1130,12 +1125,7 @@ interface components {
|
|
|
1130
1125
|
* @description Chat username without @
|
|
1131
1126
|
* @example somechat
|
|
1132
1127
|
*/
|
|
1133
|
-
chatUsername
|
|
1134
|
-
/**
|
|
1135
|
-
* @description Invite hash for private chats (t.me/+HASH)
|
|
1136
|
-
* @example AbCd1234
|
|
1137
|
-
*/
|
|
1138
|
-
inviteHash?: string;
|
|
1128
|
+
chatUsername: string;
|
|
1139
1129
|
/**
|
|
1140
1130
|
* @description Desired healthy account count (>= 1)
|
|
1141
1131
|
* @default 1
|
|
@@ -1147,7 +1137,6 @@ interface components {
|
|
|
1147
1137
|
* @example 1
|
|
1148
1138
|
*/
|
|
1149
1139
|
poolId?: null | number;
|
|
1150
|
-
_chatIdentifierCheck?: Record<string, never>;
|
|
1151
1140
|
};
|
|
1152
1141
|
SyncPresenceChatsDto: {
|
|
1153
1142
|
/** @description Desired list of presence chats (replaces all existing) */
|
|
@@ -1177,12 +1166,7 @@ interface components {
|
|
|
1177
1166
|
* @description Chat username without @
|
|
1178
1167
|
* @example somechat
|
|
1179
1168
|
*/
|
|
1180
|
-
chatUsername
|
|
1181
|
-
/**
|
|
1182
|
-
* @description Invite hash for private chats (t.me/+HASH)
|
|
1183
|
-
* @example AbCd1234
|
|
1184
|
-
*/
|
|
1185
|
-
inviteHash?: string;
|
|
1169
|
+
chatUsername: string;
|
|
1186
1170
|
/**
|
|
1187
1171
|
* @description Desired healthy account count (>= 1)
|
|
1188
1172
|
* @default 1
|
|
@@ -1194,7 +1178,6 @@ interface components {
|
|
|
1194
1178
|
* @example 1
|
|
1195
1179
|
*/
|
|
1196
1180
|
poolId?: null | number;
|
|
1197
|
-
_chatIdentifierCheck?: Record<string, never>;
|
|
1198
1181
|
};
|
|
1199
1182
|
UpdatePresenceChatDto: {
|
|
1200
1183
|
/**
|
package/dist/api-types.d.ts
CHANGED
|
@@ -163,7 +163,7 @@ interface components {
|
|
|
163
163
|
channel_id: number;
|
|
164
164
|
/**
|
|
165
165
|
* Format: date-time
|
|
166
|
-
* @example 2026-
|
|
166
|
+
* @example 2026-03-31T13:19:04.274Z
|
|
167
167
|
*/
|
|
168
168
|
message_created_at: string;
|
|
169
169
|
/** @example 123 */
|
|
@@ -1083,12 +1083,7 @@ interface components {
|
|
|
1083
1083
|
* @description Chat username without @
|
|
1084
1084
|
* @example somechat
|
|
1085
1085
|
*/
|
|
1086
|
-
chatUsername:
|
|
1087
|
-
/**
|
|
1088
|
-
* @description Invite hash for private chats
|
|
1089
|
-
* @example AbCd1234
|
|
1090
|
-
*/
|
|
1091
|
-
inviteHash?: null | string;
|
|
1086
|
+
chatUsername: string;
|
|
1092
1087
|
/**
|
|
1093
1088
|
* @description Desired number of healthy accounts in chat
|
|
1094
1089
|
* @example 3
|
|
@@ -1130,12 +1125,7 @@ interface components {
|
|
|
1130
1125
|
* @description Chat username without @
|
|
1131
1126
|
* @example somechat
|
|
1132
1127
|
*/
|
|
1133
|
-
chatUsername
|
|
1134
|
-
/**
|
|
1135
|
-
* @description Invite hash for private chats (t.me/+HASH)
|
|
1136
|
-
* @example AbCd1234
|
|
1137
|
-
*/
|
|
1138
|
-
inviteHash?: string;
|
|
1128
|
+
chatUsername: string;
|
|
1139
1129
|
/**
|
|
1140
1130
|
* @description Desired healthy account count (>= 1)
|
|
1141
1131
|
* @default 1
|
|
@@ -1147,7 +1137,6 @@ interface components {
|
|
|
1147
1137
|
* @example 1
|
|
1148
1138
|
*/
|
|
1149
1139
|
poolId?: null | number;
|
|
1150
|
-
_chatIdentifierCheck?: Record<string, never>;
|
|
1151
1140
|
};
|
|
1152
1141
|
SyncPresenceChatsDto: {
|
|
1153
1142
|
/** @description Desired list of presence chats (replaces all existing) */
|
|
@@ -1177,12 +1166,7 @@ interface components {
|
|
|
1177
1166
|
* @description Chat username without @
|
|
1178
1167
|
* @example somechat
|
|
1179
1168
|
*/
|
|
1180
|
-
chatUsername
|
|
1181
|
-
/**
|
|
1182
|
-
* @description Invite hash for private chats (t.me/+HASH)
|
|
1183
|
-
* @example AbCd1234
|
|
1184
|
-
*/
|
|
1185
|
-
inviteHash?: string;
|
|
1169
|
+
chatUsername: string;
|
|
1186
1170
|
/**
|
|
1187
1171
|
* @description Desired healthy account count (>= 1)
|
|
1188
1172
|
* @default 1
|
|
@@ -1194,7 +1178,6 @@ interface components {
|
|
|
1194
1178
|
* @example 1
|
|
1195
1179
|
*/
|
|
1196
1180
|
poolId?: null | number;
|
|
1197
|
-
_chatIdentifierCheck?: Record<string, never>;
|
|
1198
1181
|
};
|
|
1199
1182
|
UpdatePresenceChatDto: {
|
|
1200
1183
|
/**
|
package/dist/index.d.cts
CHANGED
|
@@ -139,7 +139,6 @@ interface PublishersStatusQueueInputMessagesParsed {
|
|
|
139
139
|
id: number;
|
|
140
140
|
type?: "group" | "channel" | undefined;
|
|
141
141
|
username: string;
|
|
142
|
-
inviteHash?: string | null;
|
|
143
142
|
title?: string;
|
|
144
143
|
about?: string;
|
|
145
144
|
participantsCount?: number;
|
|
@@ -153,6 +152,10 @@ interface PublishersStatusQueueInputMessagesParsed {
|
|
|
153
152
|
hasNativeAntispam?: boolean;
|
|
154
153
|
boostsForUnrestrict?: number | null;
|
|
155
154
|
paidMessagePrice?: number | null;
|
|
155
|
+
defaultBannedSendMessages?: boolean;
|
|
156
|
+
defaultBannedSendPlain?: boolean;
|
|
157
|
+
defaultBannedViewMessages?: boolean;
|
|
158
|
+
isHostile?: boolean;
|
|
156
159
|
};
|
|
157
160
|
account: FarmAccount;
|
|
158
161
|
offset: {
|
|
@@ -196,6 +199,7 @@ interface PublishersStatusQueueInputSend {
|
|
|
196
199
|
id: number;
|
|
197
200
|
type: "chat" | "channel" | "user";
|
|
198
201
|
username?: string;
|
|
202
|
+
sendBlockedReason?: string;
|
|
199
203
|
};
|
|
200
204
|
account: {
|
|
201
205
|
id: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -139,7 +139,6 @@ interface PublishersStatusQueueInputMessagesParsed {
|
|
|
139
139
|
id: number;
|
|
140
140
|
type?: "group" | "channel" | undefined;
|
|
141
141
|
username: string;
|
|
142
|
-
inviteHash?: string | null;
|
|
143
142
|
title?: string;
|
|
144
143
|
about?: string;
|
|
145
144
|
participantsCount?: number;
|
|
@@ -153,6 +152,10 @@ interface PublishersStatusQueueInputMessagesParsed {
|
|
|
153
152
|
hasNativeAntispam?: boolean;
|
|
154
153
|
boostsForUnrestrict?: number | null;
|
|
155
154
|
paidMessagePrice?: number | null;
|
|
155
|
+
defaultBannedSendMessages?: boolean;
|
|
156
|
+
defaultBannedSendPlain?: boolean;
|
|
157
|
+
defaultBannedViewMessages?: boolean;
|
|
158
|
+
isHostile?: boolean;
|
|
156
159
|
};
|
|
157
160
|
account: FarmAccount;
|
|
158
161
|
offset: {
|
|
@@ -196,6 +199,7 @@ interface PublishersStatusQueueInputSend {
|
|
|
196
199
|
id: number;
|
|
197
200
|
type: "chat" | "channel" | "user";
|
|
198
201
|
username?: string;
|
|
202
|
+
sendBlockedReason?: string;
|
|
199
203
|
};
|
|
200
204
|
account: {
|
|
201
205
|
id: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skravets/eapi",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.68",
|
|
4
4
|
"module": "./dist/index.js",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -46,5 +46,7 @@
|
|
|
46
46
|
"access": "public"
|
|
47
47
|
},
|
|
48
48
|
"license": "MIT",
|
|
49
|
-
"files": [
|
|
49
|
+
"files": [
|
|
50
|
+
"dist"
|
|
51
|
+
]
|
|
50
52
|
}
|