@skravets/eapi 0.0.53 → 0.0.55
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 +19 -1
- package/dist/api-types.d.ts +19 -1
- package/package.json +1 -1
package/dist/api-types.d.cts
CHANGED
|
@@ -113,7 +113,7 @@ interface components {
|
|
|
113
113
|
channel_id: number;
|
|
114
114
|
/**
|
|
115
115
|
* Format: date-time
|
|
116
|
-
* @example 2026-02-
|
|
116
|
+
* @example 2026-02-20T11:36:31.463Z
|
|
117
117
|
*/
|
|
118
118
|
message_created_at: string;
|
|
119
119
|
/** @example 123 */
|
|
@@ -235,6 +235,14 @@ interface components {
|
|
|
235
235
|
* @example 1
|
|
236
236
|
*/
|
|
237
237
|
accountId?: number;
|
|
238
|
+
/**
|
|
239
|
+
* @description Arbitrary metadata passed through to the farm queue
|
|
240
|
+
* @example {
|
|
241
|
+
* "campaignId": "abc-123",
|
|
242
|
+
* "step": 2
|
|
243
|
+
* }
|
|
244
|
+
*/
|
|
245
|
+
metadata?: Record<string, never>;
|
|
238
246
|
};
|
|
239
247
|
ISendMessage: {
|
|
240
248
|
/**
|
|
@@ -271,6 +279,14 @@ interface components {
|
|
|
271
279
|
* }
|
|
272
280
|
*/
|
|
273
281
|
followUpMessage?: components["schemas"]["IFollowUpMessage"];
|
|
282
|
+
/**
|
|
283
|
+
* @description Arbitrary metadata passed through to the farm queue
|
|
284
|
+
* @example {
|
|
285
|
+
* "campaignId": "abc-123",
|
|
286
|
+
* "source": "crm"
|
|
287
|
+
* }
|
|
288
|
+
*/
|
|
289
|
+
metadata?: Record<string, never>;
|
|
274
290
|
};
|
|
275
291
|
IDeleteMessage: {
|
|
276
292
|
/**
|
|
@@ -302,6 +318,8 @@ interface components {
|
|
|
302
318
|
languages?: string[];
|
|
303
319
|
/** @description Filter by keywords (any match) */
|
|
304
320
|
keywords?: string[];
|
|
321
|
+
/** @description Maximum spam ratio (inclusive). Chats with null spam_ratio are always included when this filter is set. */
|
|
322
|
+
maxSpamRatio?: number;
|
|
305
323
|
};
|
|
306
324
|
CatalogSearchRequest: {
|
|
307
325
|
/** @description Search query text */
|
package/dist/api-types.d.ts
CHANGED
|
@@ -113,7 +113,7 @@ interface components {
|
|
|
113
113
|
channel_id: number;
|
|
114
114
|
/**
|
|
115
115
|
* Format: date-time
|
|
116
|
-
* @example 2026-02-
|
|
116
|
+
* @example 2026-02-20T11:36:31.463Z
|
|
117
117
|
*/
|
|
118
118
|
message_created_at: string;
|
|
119
119
|
/** @example 123 */
|
|
@@ -235,6 +235,14 @@ interface components {
|
|
|
235
235
|
* @example 1
|
|
236
236
|
*/
|
|
237
237
|
accountId?: number;
|
|
238
|
+
/**
|
|
239
|
+
* @description Arbitrary metadata passed through to the farm queue
|
|
240
|
+
* @example {
|
|
241
|
+
* "campaignId": "abc-123",
|
|
242
|
+
* "step": 2
|
|
243
|
+
* }
|
|
244
|
+
*/
|
|
245
|
+
metadata?: Record<string, never>;
|
|
238
246
|
};
|
|
239
247
|
ISendMessage: {
|
|
240
248
|
/**
|
|
@@ -271,6 +279,14 @@ interface components {
|
|
|
271
279
|
* }
|
|
272
280
|
*/
|
|
273
281
|
followUpMessage?: components["schemas"]["IFollowUpMessage"];
|
|
282
|
+
/**
|
|
283
|
+
* @description Arbitrary metadata passed through to the farm queue
|
|
284
|
+
* @example {
|
|
285
|
+
* "campaignId": "abc-123",
|
|
286
|
+
* "source": "crm"
|
|
287
|
+
* }
|
|
288
|
+
*/
|
|
289
|
+
metadata?: Record<string, never>;
|
|
274
290
|
};
|
|
275
291
|
IDeleteMessage: {
|
|
276
292
|
/**
|
|
@@ -302,6 +318,8 @@ interface components {
|
|
|
302
318
|
languages?: string[];
|
|
303
319
|
/** @description Filter by keywords (any match) */
|
|
304
320
|
keywords?: string[];
|
|
321
|
+
/** @description Maximum spam ratio (inclusive). Chats with null spam_ratio are always included when this filter is set. */
|
|
322
|
+
maxSpamRatio?: number;
|
|
305
323
|
};
|
|
306
324
|
CatalogSearchRequest: {
|
|
307
325
|
/** @description Search query text */
|