@skravets/eapi 0.0.26 → 0.0.28

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.
@@ -133,7 +133,7 @@ interface components {
133
133
  channel_id: number;
134
134
  /**
135
135
  * Format: date-time
136
- * @example 2025-10-23T20:29:17.728Z
136
+ * @example 2025-10-28T12:34:44.820Z
137
137
  */
138
138
  message_created_at: string;
139
139
  /** @example 123 */
@@ -133,7 +133,7 @@ interface components {
133
133
  channel_id: number;
134
134
  /**
135
135
  * Format: date-time
136
- * @example 2025-10-23T20:29:17.728Z
136
+ * @example 2025-10-28T12:34:44.820Z
137
137
  */
138
138
  message_created_at: string;
139
139
  /** @example 123 */
package/dist/index.d.cts CHANGED
@@ -95,7 +95,7 @@ interface PublishersStatusQueueInputJoin {
95
95
  firstName?: string;
96
96
  lastName?: string;
97
97
  };
98
- status: "UNAVAILABLE" | "ALREADY_JOINED" | "JOINED" | "FLOOD_WAIT" | "INVITE_REQUEST_SENT";
98
+ status: "UNAVAILABLE" | "ALREADY_JOINED" | "JOINED" | "FLOOD_WAIT" | "INVITE_REQUEST_SENT" | "USERNAME_BELONGS_TO_USER";
99
99
  seconds?: number;
100
100
  }
101
101
  interface PublishersStatusQueueInputJoinResult extends PublishersStatusQueueInputJoin {
@@ -107,7 +107,8 @@ interface PublishersStatusQueueInputSend {
107
107
  };
108
108
  chat: {
109
109
  id: number;
110
- username: string;
110
+ type: "chat" | "channel" | "user";
111
+ username?: string;
111
112
  };
112
113
  account: {
113
114
  id: number;
@@ -138,6 +139,7 @@ interface PublishersStatusQueueInputAgentPrivateMessage {
138
139
  username?: string;
139
140
  first_name?: string;
140
141
  last_name?: string;
142
+ is_bot?: boolean;
141
143
  };
142
144
  from: {
143
145
  id: number;
package/dist/index.d.ts CHANGED
@@ -95,7 +95,7 @@ interface PublishersStatusQueueInputJoin {
95
95
  firstName?: string;
96
96
  lastName?: string;
97
97
  };
98
- status: "UNAVAILABLE" | "ALREADY_JOINED" | "JOINED" | "FLOOD_WAIT" | "INVITE_REQUEST_SENT";
98
+ status: "UNAVAILABLE" | "ALREADY_JOINED" | "JOINED" | "FLOOD_WAIT" | "INVITE_REQUEST_SENT" | "USERNAME_BELONGS_TO_USER";
99
99
  seconds?: number;
100
100
  }
101
101
  interface PublishersStatusQueueInputJoinResult extends PublishersStatusQueueInputJoin {
@@ -107,7 +107,8 @@ interface PublishersStatusQueueInputSend {
107
107
  };
108
108
  chat: {
109
109
  id: number;
110
- username: string;
110
+ type: "chat" | "channel" | "user";
111
+ username?: string;
111
112
  };
112
113
  account: {
113
114
  id: number;
@@ -138,6 +139,7 @@ interface PublishersStatusQueueInputAgentPrivateMessage {
138
139
  username?: string;
139
140
  first_name?: string;
140
141
  last_name?: string;
142
+ is_bot?: boolean;
141
143
  };
142
144
  from: {
143
145
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skravets/eapi",
3
- "version": "0.0.26",
3
+ "version": "0.0.28",
4
4
  "module": "./dist/index.js",
5
5
  "main": "./dist/index.cjs",
6
6
  "types": "./dist/index.d.ts",