@skravets/eapi 0.0.39 → 0.0.40
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 +8 -1
- package/dist/api-types.d.ts +8 -1
- package/dist/index.d.cts +15 -2
- package/dist/index.d.ts +15 -2
- package/package.json +1 -1
package/dist/api-types.d.cts
CHANGED
|
@@ -192,7 +192,7 @@ interface components {
|
|
|
192
192
|
channel_id: number;
|
|
193
193
|
/**
|
|
194
194
|
* Format: date-time
|
|
195
|
-
* @example 2025-12-
|
|
195
|
+
* @example 2025-12-24T13:43:29.381Z
|
|
196
196
|
*/
|
|
197
197
|
message_created_at: string;
|
|
198
198
|
/** @example 123 */
|
|
@@ -394,6 +394,8 @@ interface components {
|
|
|
394
394
|
participantsCount?: number;
|
|
395
395
|
/** @description Language */
|
|
396
396
|
language?: string;
|
|
397
|
+
/** @description AI-detected language */
|
|
398
|
+
aiLanguage?: string;
|
|
397
399
|
/** @description Keywords */
|
|
398
400
|
keywords?: string[];
|
|
399
401
|
/** @description Summary */
|
|
@@ -583,6 +585,11 @@ interface components {
|
|
|
583
585
|
* @example https://example.com/webhook
|
|
584
586
|
*/
|
|
585
587
|
webhookUrl: string;
|
|
588
|
+
/**
|
|
589
|
+
* @description Optional subscription key to allow multiple subscriptions per consumer
|
|
590
|
+
* @example primary
|
|
591
|
+
*/
|
|
592
|
+
key?: string;
|
|
586
593
|
query: components["schemas"]["SubscriptionQuery"];
|
|
587
594
|
};
|
|
588
595
|
};
|
package/dist/api-types.d.ts
CHANGED
|
@@ -192,7 +192,7 @@ interface components {
|
|
|
192
192
|
channel_id: number;
|
|
193
193
|
/**
|
|
194
194
|
* Format: date-time
|
|
195
|
-
* @example 2025-12-
|
|
195
|
+
* @example 2025-12-24T13:43:29.381Z
|
|
196
196
|
*/
|
|
197
197
|
message_created_at: string;
|
|
198
198
|
/** @example 123 */
|
|
@@ -394,6 +394,8 @@ interface components {
|
|
|
394
394
|
participantsCount?: number;
|
|
395
395
|
/** @description Language */
|
|
396
396
|
language?: string;
|
|
397
|
+
/** @description AI-detected language */
|
|
398
|
+
aiLanguage?: string;
|
|
397
399
|
/** @description Keywords */
|
|
398
400
|
keywords?: string[];
|
|
399
401
|
/** @description Summary */
|
|
@@ -583,6 +585,11 @@ interface components {
|
|
|
583
585
|
* @example https://example.com/webhook
|
|
584
586
|
*/
|
|
585
587
|
webhookUrl: string;
|
|
588
|
+
/**
|
|
589
|
+
* @description Optional subscription key to allow multiple subscriptions per consumer
|
|
590
|
+
* @example primary
|
|
591
|
+
*/
|
|
592
|
+
key?: string;
|
|
586
593
|
query: components["schemas"]["SubscriptionQuery"];
|
|
587
594
|
};
|
|
588
595
|
};
|
package/dist/index.d.cts
CHANGED
|
@@ -29,6 +29,7 @@ interface SubscriptionMatchedByKeywords {
|
|
|
29
29
|
type SubscriptionMatchedBy = SubscriptionMatchedByKeywords;
|
|
30
30
|
interface SubscriptionContext {
|
|
31
31
|
id: number;
|
|
32
|
+
key: string | null;
|
|
32
33
|
matchedBy: SubscriptionMatchedBy[];
|
|
33
34
|
}
|
|
34
35
|
type Metadata<T = Record<string, unknown>> = {
|
|
@@ -83,9 +84,21 @@ interface ChatParsedTyped extends PublishersStatusQueueInputChatParsed {
|
|
|
83
84
|
interface PublishersStatusQueueInputMessagesParsed {
|
|
84
85
|
chat: {
|
|
85
86
|
id: number;
|
|
87
|
+
type?: "group" | "channel" | undefined;
|
|
86
88
|
username: string;
|
|
87
|
-
title
|
|
88
|
-
about
|
|
89
|
+
title?: string;
|
|
90
|
+
about?: string;
|
|
91
|
+
participantsCount?: number;
|
|
92
|
+
avatarId?: string | null;
|
|
93
|
+
linkedChatId?: number | null;
|
|
94
|
+
isPrivate?: boolean;
|
|
95
|
+
hasForumTabs?: boolean;
|
|
96
|
+
canViewParticipants?: boolean;
|
|
97
|
+
hasJoinRequests?: boolean;
|
|
98
|
+
hasJoinToSend?: boolean;
|
|
99
|
+
hasNativeAntispam?: boolean;
|
|
100
|
+
boostsForUnrestrict?: number | null;
|
|
101
|
+
paidMessagePrice?: number | null;
|
|
89
102
|
};
|
|
90
103
|
offset: {
|
|
91
104
|
start: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ interface SubscriptionMatchedByKeywords {
|
|
|
29
29
|
type SubscriptionMatchedBy = SubscriptionMatchedByKeywords;
|
|
30
30
|
interface SubscriptionContext {
|
|
31
31
|
id: number;
|
|
32
|
+
key: string | null;
|
|
32
33
|
matchedBy: SubscriptionMatchedBy[];
|
|
33
34
|
}
|
|
34
35
|
type Metadata<T = Record<string, unknown>> = {
|
|
@@ -83,9 +84,21 @@ interface ChatParsedTyped extends PublishersStatusQueueInputChatParsed {
|
|
|
83
84
|
interface PublishersStatusQueueInputMessagesParsed {
|
|
84
85
|
chat: {
|
|
85
86
|
id: number;
|
|
87
|
+
type?: "group" | "channel" | undefined;
|
|
86
88
|
username: string;
|
|
87
|
-
title
|
|
88
|
-
about
|
|
89
|
+
title?: string;
|
|
90
|
+
about?: string;
|
|
91
|
+
participantsCount?: number;
|
|
92
|
+
avatarId?: string | null;
|
|
93
|
+
linkedChatId?: number | null;
|
|
94
|
+
isPrivate?: boolean;
|
|
95
|
+
hasForumTabs?: boolean;
|
|
96
|
+
canViewParticipants?: boolean;
|
|
97
|
+
hasJoinRequests?: boolean;
|
|
98
|
+
hasJoinToSend?: boolean;
|
|
99
|
+
hasNativeAntispam?: boolean;
|
|
100
|
+
boostsForUnrestrict?: number | null;
|
|
101
|
+
paidMessagePrice?: number | null;
|
|
89
102
|
};
|
|
90
103
|
offset: {
|
|
91
104
|
start: number;
|