@skravets/eapi 0.0.48 → 0.0.49

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.
@@ -113,7 +113,7 @@ interface components {
113
113
  channel_id: number;
114
114
  /**
115
115
  * Format: date-time
116
- * @example 2026-02-04T11:39:14.803Z
116
+ * @example 2026-02-04T12:12:10.111Z
117
117
  */
118
118
  message_created_at: string;
119
119
  /** @example 123 */
@@ -381,11 +381,13 @@ interface components {
381
381
  */
382
382
  usernames: string[];
383
383
  };
384
- PeerAccessItemDto: {
385
- /** @description Username that was queried */
386
- username: string;
387
- /** @description Resolved peer ID, null if not resolved */
388
- peerId?: null | number;
384
+ PeerAccessAccountDto: {
385
+ /** @description Account ID */
386
+ accountId: number;
387
+ /** @description Account phone number */
388
+ phone: string;
389
+ /** @description Session ID */
390
+ sessionId: number;
389
391
  /** @description Flood wait end time for resolving username (ISO datetime) */
390
392
  floodWaitOnResolveUsernameEndsAt?: null | string;
391
393
  /** @description Flood wait end time for getting history (ISO datetime) */
@@ -393,8 +395,16 @@ interface components {
393
395
  /** @description Spam block end time (ISO datetime) */
394
396
  spamBlockUntil?: null | string;
395
397
  };
398
+ PeerAccessChatDto: {
399
+ /** @description Username that was queried */
400
+ username: string;
401
+ /** @description Resolved peer ID, null if not resolved */
402
+ peerId?: null | number;
403
+ /** @description Accounts that have access to this chat */
404
+ accounts: components["schemas"]["PeerAccessAccountDto"][];
405
+ };
396
406
  PeerAccessResponseDto: {
397
- results: components["schemas"]["PeerAccessItemDto"][];
407
+ chats: components["schemas"]["PeerAccessChatDto"][];
398
408
  };
399
409
  ChatIdentifierDto: {
400
410
  /**
@@ -113,7 +113,7 @@ interface components {
113
113
  channel_id: number;
114
114
  /**
115
115
  * Format: date-time
116
- * @example 2026-02-04T11:39:14.803Z
116
+ * @example 2026-02-04T12:12:10.111Z
117
117
  */
118
118
  message_created_at: string;
119
119
  /** @example 123 */
@@ -381,11 +381,13 @@ interface components {
381
381
  */
382
382
  usernames: string[];
383
383
  };
384
- PeerAccessItemDto: {
385
- /** @description Username that was queried */
386
- username: string;
387
- /** @description Resolved peer ID, null if not resolved */
388
- peerId?: null | number;
384
+ PeerAccessAccountDto: {
385
+ /** @description Account ID */
386
+ accountId: number;
387
+ /** @description Account phone number */
388
+ phone: string;
389
+ /** @description Session ID */
390
+ sessionId: number;
389
391
  /** @description Flood wait end time for resolving username (ISO datetime) */
390
392
  floodWaitOnResolveUsernameEndsAt?: null | string;
391
393
  /** @description Flood wait end time for getting history (ISO datetime) */
@@ -393,8 +395,16 @@ interface components {
393
395
  /** @description Spam block end time (ISO datetime) */
394
396
  spamBlockUntil?: null | string;
395
397
  };
398
+ PeerAccessChatDto: {
399
+ /** @description Username that was queried */
400
+ username: string;
401
+ /** @description Resolved peer ID, null if not resolved */
402
+ peerId?: null | number;
403
+ /** @description Accounts that have access to this chat */
404
+ accounts: components["schemas"]["PeerAccessAccountDto"][];
405
+ };
396
406
  PeerAccessResponseDto: {
397
- results: components["schemas"]["PeerAccessItemDto"][];
407
+ chats: components["schemas"]["PeerAccessChatDto"][];
398
408
  };
399
409
  ChatIdentifierDto: {
400
410
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skravets/eapi",
3
- "version": "0.0.48",
3
+ "version": "0.0.49",
4
4
  "module": "./dist/index.js",
5
5
  "main": "./dist/index.cjs",
6
6
  "types": "./dist/index.d.ts",