@zernio/node 0.2.515 → 0.2.517
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/index.d.mts +30 -1
- package/dist/index.d.ts +30 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +30 -1
package/dist/index.d.mts
CHANGED
|
@@ -25258,6 +25258,10 @@ type GetCommentAutomationError = ({
|
|
|
25258
25258
|
type UpdateCommentAutomationData = {
|
|
25259
25259
|
body?: {
|
|
25260
25260
|
name?: string;
|
|
25261
|
+
/**
|
|
25262
|
+
* What fires the automation. Changing it detaches the automation from its bound post or story (a post id and a story id are different objects), unless this same request sets a new binding. 'story_reply' is Instagram only.
|
|
25263
|
+
*/
|
|
25264
|
+
trigger?: 'comment' | 'story_reply';
|
|
25261
25265
|
keywords?: Array<(string)>;
|
|
25262
25266
|
/**
|
|
25263
25267
|
* How a keyword is compared with the comment. 'contains' (default) matches anywhere, even inside another word (keyword 'app' fires on 'happy'). 'word' matches the keyword only as a standalone word. 'exact' requires the whole comment to be exactly the keyword.
|
|
@@ -25392,8 +25396,33 @@ type ListCommentAutomationLogsResponse = ({
|
|
|
25392
25396
|
skip?: number;
|
|
25393
25397
|
hasMore?: boolean;
|
|
25394
25398
|
};
|
|
25399
|
+
/**
|
|
25400
|
+
* Comments that reached this automation but matched none of its keywords. These produce no log entry, so this is the only signal that a keyword is catching nothing. Retained for a short window, then dropped.
|
|
25401
|
+
*/
|
|
25402
|
+
misses?: {
|
|
25403
|
+
/**
|
|
25404
|
+
* Number of non-matching comments in the retention window
|
|
25405
|
+
*/
|
|
25406
|
+
total?: number;
|
|
25407
|
+
/**
|
|
25408
|
+
* How many days of non-matching comments the total covers
|
|
25409
|
+
*/
|
|
25410
|
+
retentionDays?: number;
|
|
25411
|
+
/**
|
|
25412
|
+
* A few of the most recent non-matching comments, for diagnosing a keyword setup.
|
|
25413
|
+
*/
|
|
25414
|
+
samples?: Array<{
|
|
25415
|
+
commentText?: string;
|
|
25416
|
+
commenterName?: string;
|
|
25417
|
+
/**
|
|
25418
|
+
* Set when an exclusion keyword vetoed an otherwise matching comment
|
|
25419
|
+
*/
|
|
25420
|
+
excludedBy?: string;
|
|
25421
|
+
at?: string;
|
|
25422
|
+
}>;
|
|
25423
|
+
};
|
|
25395
25424
|
});
|
|
25396
|
-
type ListCommentAutomationLogsError = ({
|
|
25425
|
+
type ListCommentAutomationLogsError = (ErrorResponse | {
|
|
25397
25426
|
error?: string;
|
|
25398
25427
|
});
|
|
25399
25428
|
type ListAdsData = {
|
package/dist/index.d.ts
CHANGED
|
@@ -25258,6 +25258,10 @@ type GetCommentAutomationError = ({
|
|
|
25258
25258
|
type UpdateCommentAutomationData = {
|
|
25259
25259
|
body?: {
|
|
25260
25260
|
name?: string;
|
|
25261
|
+
/**
|
|
25262
|
+
* What fires the automation. Changing it detaches the automation from its bound post or story (a post id and a story id are different objects), unless this same request sets a new binding. 'story_reply' is Instagram only.
|
|
25263
|
+
*/
|
|
25264
|
+
trigger?: 'comment' | 'story_reply';
|
|
25261
25265
|
keywords?: Array<(string)>;
|
|
25262
25266
|
/**
|
|
25263
25267
|
* How a keyword is compared with the comment. 'contains' (default) matches anywhere, even inside another word (keyword 'app' fires on 'happy'). 'word' matches the keyword only as a standalone word. 'exact' requires the whole comment to be exactly the keyword.
|
|
@@ -25392,8 +25396,33 @@ type ListCommentAutomationLogsResponse = ({
|
|
|
25392
25396
|
skip?: number;
|
|
25393
25397
|
hasMore?: boolean;
|
|
25394
25398
|
};
|
|
25399
|
+
/**
|
|
25400
|
+
* Comments that reached this automation but matched none of its keywords. These produce no log entry, so this is the only signal that a keyword is catching nothing. Retained for a short window, then dropped.
|
|
25401
|
+
*/
|
|
25402
|
+
misses?: {
|
|
25403
|
+
/**
|
|
25404
|
+
* Number of non-matching comments in the retention window
|
|
25405
|
+
*/
|
|
25406
|
+
total?: number;
|
|
25407
|
+
/**
|
|
25408
|
+
* How many days of non-matching comments the total covers
|
|
25409
|
+
*/
|
|
25410
|
+
retentionDays?: number;
|
|
25411
|
+
/**
|
|
25412
|
+
* A few of the most recent non-matching comments, for diagnosing a keyword setup.
|
|
25413
|
+
*/
|
|
25414
|
+
samples?: Array<{
|
|
25415
|
+
commentText?: string;
|
|
25416
|
+
commenterName?: string;
|
|
25417
|
+
/**
|
|
25418
|
+
* Set when an exclusion keyword vetoed an otherwise matching comment
|
|
25419
|
+
*/
|
|
25420
|
+
excludedBy?: string;
|
|
25421
|
+
at?: string;
|
|
25422
|
+
}>;
|
|
25423
|
+
};
|
|
25395
25424
|
});
|
|
25396
|
-
type ListCommentAutomationLogsError = ({
|
|
25425
|
+
type ListCommentAutomationLogsError = (ErrorResponse | {
|
|
25397
25426
|
error?: string;
|
|
25398
25427
|
});
|
|
25399
25428
|
type ListAdsData = {
|
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
36
36
|
// package.json
|
|
37
37
|
var package_default = {
|
|
38
38
|
name: "@zernio/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.517",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
package/dist/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5
5
|
// package.json
|
|
6
6
|
var package_default = {
|
|
7
7
|
name: "@zernio/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.517",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
package/package.json
CHANGED
|
@@ -25616,6 +25616,10 @@ export type GetCommentAutomationError = ({
|
|
|
25616
25616
|
export type UpdateCommentAutomationData = {
|
|
25617
25617
|
body?: {
|
|
25618
25618
|
name?: string;
|
|
25619
|
+
/**
|
|
25620
|
+
* What fires the automation. Changing it detaches the automation from its bound post or story (a post id and a story id are different objects), unless this same request sets a new binding. 'story_reply' is Instagram only.
|
|
25621
|
+
*/
|
|
25622
|
+
trigger?: 'comment' | 'story_reply';
|
|
25619
25623
|
keywords?: Array<(string)>;
|
|
25620
25624
|
/**
|
|
25621
25625
|
* How a keyword is compared with the comment. 'contains' (default) matches anywhere, even inside another word (keyword 'app' fires on 'happy'). 'word' matches the keyword only as a standalone word. 'exact' requires the whole comment to be exactly the keyword.
|
|
@@ -25757,9 +25761,34 @@ export type ListCommentAutomationLogsResponse = ({
|
|
|
25757
25761
|
skip?: number;
|
|
25758
25762
|
hasMore?: boolean;
|
|
25759
25763
|
};
|
|
25764
|
+
/**
|
|
25765
|
+
* Comments that reached this automation but matched none of its keywords. These produce no log entry, so this is the only signal that a keyword is catching nothing. Retained for a short window, then dropped.
|
|
25766
|
+
*/
|
|
25767
|
+
misses?: {
|
|
25768
|
+
/**
|
|
25769
|
+
* Number of non-matching comments in the retention window
|
|
25770
|
+
*/
|
|
25771
|
+
total?: number;
|
|
25772
|
+
/**
|
|
25773
|
+
* How many days of non-matching comments the total covers
|
|
25774
|
+
*/
|
|
25775
|
+
retentionDays?: number;
|
|
25776
|
+
/**
|
|
25777
|
+
* A few of the most recent non-matching comments, for diagnosing a keyword setup.
|
|
25778
|
+
*/
|
|
25779
|
+
samples?: Array<{
|
|
25780
|
+
commentText?: string;
|
|
25781
|
+
commenterName?: string;
|
|
25782
|
+
/**
|
|
25783
|
+
* Set when an exclusion keyword vetoed an otherwise matching comment
|
|
25784
|
+
*/
|
|
25785
|
+
excludedBy?: string;
|
|
25786
|
+
at?: string;
|
|
25787
|
+
}>;
|
|
25788
|
+
};
|
|
25760
25789
|
});
|
|
25761
25790
|
|
|
25762
|
-
export type ListCommentAutomationLogsError = ({
|
|
25791
|
+
export type ListCommentAutomationLogsError = (ErrorResponse | {
|
|
25763
25792
|
error?: string;
|
|
25764
25793
|
});
|
|
25765
25794
|
|