@zernio/node 0.2.513 → 0.2.514
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 +72 -6
- package/dist/index.d.ts +72 -6
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +72 -6
package/dist/index.d.mts
CHANGED
|
@@ -24848,7 +24848,18 @@ type ListCommentAutomationsResponse = ({
|
|
|
24848
24848
|
platformPostId?: string;
|
|
24849
24849
|
postTitle?: string;
|
|
24850
24850
|
keywords?: Array<(string)>;
|
|
24851
|
-
|
|
24851
|
+
/**
|
|
24852
|
+
* 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.
|
|
24853
|
+
*/
|
|
24854
|
+
matchMode?: 'exact' | 'contains' | 'word';
|
|
24855
|
+
/**
|
|
24856
|
+
* Comments containing one of these never trigger the automation, even when a trigger keyword also matches. Compared using the same matchMode.
|
|
24857
|
+
*/
|
|
24858
|
+
excludeKeywords?: Array<(string)>;
|
|
24859
|
+
/**
|
|
24860
|
+
* Only with matchMode=word: also fire on close misspellings of a keyword (one edit for 4-7 character keywords, two from 8 up). Keywords shorter than 4 characters are never fuzzy-matched.
|
|
24861
|
+
*/
|
|
24862
|
+
typoTolerance?: boolean;
|
|
24852
24863
|
dmMessage?: string;
|
|
24853
24864
|
/**
|
|
24854
24865
|
* Inline DM buttons (up to 3). Omitted when none are set.
|
|
@@ -24935,7 +24946,18 @@ type CreateCommentAutomationData = {
|
|
|
24935
24946
|
* Trigger keywords (empty = any comment triggers)
|
|
24936
24947
|
*/
|
|
24937
24948
|
keywords?: Array<(string)>;
|
|
24938
|
-
|
|
24949
|
+
/**
|
|
24950
|
+
* 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.
|
|
24951
|
+
*/
|
|
24952
|
+
matchMode?: 'exact' | 'contains' | 'word';
|
|
24953
|
+
/**
|
|
24954
|
+
* Comments containing one of these never trigger the automation, even when a trigger keyword also matches. Compared using the same matchMode.
|
|
24955
|
+
*/
|
|
24956
|
+
excludeKeywords?: Array<(string)>;
|
|
24957
|
+
/**
|
|
24958
|
+
* Only with matchMode=word: also fire on close misspellings of a keyword (one edit for 4-7 character keywords, two from 8 up). Keywords shorter than 4 characters are never fuzzy-matched.
|
|
24959
|
+
*/
|
|
24960
|
+
typoTolerance?: boolean;
|
|
24939
24961
|
/**
|
|
24940
24962
|
* DM text to send to commenter. Max 640 chars when buttons are set, otherwise ~1000.
|
|
24941
24963
|
*/
|
|
@@ -24975,7 +24997,18 @@ type CreateCommentAutomationResponse = ({
|
|
|
24975
24997
|
trigger?: 'comment' | 'story_reply';
|
|
24976
24998
|
platformPostId?: string;
|
|
24977
24999
|
keywords?: Array<(string)>;
|
|
24978
|
-
|
|
25000
|
+
/**
|
|
25001
|
+
* 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.
|
|
25002
|
+
*/
|
|
25003
|
+
matchMode?: 'exact' | 'contains' | 'word';
|
|
25004
|
+
/**
|
|
25005
|
+
* Comments containing one of these never trigger the automation, even when a trigger keyword also matches. Compared using the same matchMode.
|
|
25006
|
+
*/
|
|
25007
|
+
excludeKeywords?: Array<(string)>;
|
|
25008
|
+
/**
|
|
25009
|
+
* Only with matchMode=word: also fire on close misspellings of a keyword (one edit for 4-7 character keywords, two from 8 up). Keywords shorter than 4 characters are never fuzzy-matched.
|
|
25010
|
+
*/
|
|
25011
|
+
typoTolerance?: boolean;
|
|
24979
25012
|
dmMessage?: string;
|
|
24980
25013
|
/**
|
|
24981
25014
|
* Inline DM buttons (up to 3). Omitted when none are set.
|
|
@@ -25021,7 +25054,18 @@ type GetCommentAutomationResponse = ({
|
|
|
25021
25054
|
postId?: string;
|
|
25022
25055
|
postTitle?: string;
|
|
25023
25056
|
keywords?: Array<(string)>;
|
|
25024
|
-
|
|
25057
|
+
/**
|
|
25058
|
+
* 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.
|
|
25059
|
+
*/
|
|
25060
|
+
matchMode?: 'exact' | 'contains' | 'word';
|
|
25061
|
+
/**
|
|
25062
|
+
* Comments containing one of these never trigger the automation, even when a trigger keyword also matches. Compared using the same matchMode.
|
|
25063
|
+
*/
|
|
25064
|
+
excludeKeywords?: Array<(string)>;
|
|
25065
|
+
/**
|
|
25066
|
+
* Only with matchMode=word: also fire on close misspellings of a keyword (one edit for 4-7 character keywords, two from 8 up). Keywords shorter than 4 characters are never fuzzy-matched.
|
|
25067
|
+
*/
|
|
25068
|
+
typoTolerance?: boolean;
|
|
25025
25069
|
dmMessage?: string;
|
|
25026
25070
|
/**
|
|
25027
25071
|
* Inline DM buttons (up to 3). Omitted when none are set.
|
|
@@ -25079,7 +25123,18 @@ type UpdateCommentAutomationData = {
|
|
|
25079
25123
|
body?: {
|
|
25080
25124
|
name?: string;
|
|
25081
25125
|
keywords?: Array<(string)>;
|
|
25082
|
-
|
|
25126
|
+
/**
|
|
25127
|
+
* 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.
|
|
25128
|
+
*/
|
|
25129
|
+
matchMode?: 'exact' | 'contains' | 'word';
|
|
25130
|
+
/**
|
|
25131
|
+
* Comments containing one of these never trigger the automation, even when a trigger keyword also matches. Compared using the same matchMode.
|
|
25132
|
+
*/
|
|
25133
|
+
excludeKeywords?: Array<(string)>;
|
|
25134
|
+
/**
|
|
25135
|
+
* Only with matchMode=word: also fire on close misspellings of a keyword (one edit for 4-7 character keywords, two from 8 up). Keywords shorter than 4 characters are never fuzzy-matched.
|
|
25136
|
+
*/
|
|
25137
|
+
typoTolerance?: boolean;
|
|
25083
25138
|
dmMessage?: string;
|
|
25084
25139
|
/**
|
|
25085
25140
|
* Inline DM buttons (1-3). Pass [] to clear all buttons.
|
|
@@ -25114,7 +25169,18 @@ type UpdateCommentAutomationResponse = ({
|
|
|
25114
25169
|
id?: string;
|
|
25115
25170
|
name?: string;
|
|
25116
25171
|
keywords?: Array<(string)>;
|
|
25117
|
-
|
|
25172
|
+
/**
|
|
25173
|
+
* 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.
|
|
25174
|
+
*/
|
|
25175
|
+
matchMode?: 'exact' | 'contains' | 'word';
|
|
25176
|
+
/**
|
|
25177
|
+
* Comments containing one of these never trigger the automation, even when a trigger keyword also matches. Compared using the same matchMode.
|
|
25178
|
+
*/
|
|
25179
|
+
excludeKeywords?: Array<(string)>;
|
|
25180
|
+
/**
|
|
25181
|
+
* Only with matchMode=word: also fire on close misspellings of a keyword (one edit for 4-7 character keywords, two from 8 up). Keywords shorter than 4 characters are never fuzzy-matched.
|
|
25182
|
+
*/
|
|
25183
|
+
typoTolerance?: boolean;
|
|
25118
25184
|
dmMessage?: string;
|
|
25119
25185
|
/**
|
|
25120
25186
|
* Inline DM buttons (up to 3). Omitted when none are set.
|
package/dist/index.d.ts
CHANGED
|
@@ -24848,7 +24848,18 @@ type ListCommentAutomationsResponse = ({
|
|
|
24848
24848
|
platformPostId?: string;
|
|
24849
24849
|
postTitle?: string;
|
|
24850
24850
|
keywords?: Array<(string)>;
|
|
24851
|
-
|
|
24851
|
+
/**
|
|
24852
|
+
* 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.
|
|
24853
|
+
*/
|
|
24854
|
+
matchMode?: 'exact' | 'contains' | 'word';
|
|
24855
|
+
/**
|
|
24856
|
+
* Comments containing one of these never trigger the automation, even when a trigger keyword also matches. Compared using the same matchMode.
|
|
24857
|
+
*/
|
|
24858
|
+
excludeKeywords?: Array<(string)>;
|
|
24859
|
+
/**
|
|
24860
|
+
* Only with matchMode=word: also fire on close misspellings of a keyword (one edit for 4-7 character keywords, two from 8 up). Keywords shorter than 4 characters are never fuzzy-matched.
|
|
24861
|
+
*/
|
|
24862
|
+
typoTolerance?: boolean;
|
|
24852
24863
|
dmMessage?: string;
|
|
24853
24864
|
/**
|
|
24854
24865
|
* Inline DM buttons (up to 3). Omitted when none are set.
|
|
@@ -24935,7 +24946,18 @@ type CreateCommentAutomationData = {
|
|
|
24935
24946
|
* Trigger keywords (empty = any comment triggers)
|
|
24936
24947
|
*/
|
|
24937
24948
|
keywords?: Array<(string)>;
|
|
24938
|
-
|
|
24949
|
+
/**
|
|
24950
|
+
* 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.
|
|
24951
|
+
*/
|
|
24952
|
+
matchMode?: 'exact' | 'contains' | 'word';
|
|
24953
|
+
/**
|
|
24954
|
+
* Comments containing one of these never trigger the automation, even when a trigger keyword also matches. Compared using the same matchMode.
|
|
24955
|
+
*/
|
|
24956
|
+
excludeKeywords?: Array<(string)>;
|
|
24957
|
+
/**
|
|
24958
|
+
* Only with matchMode=word: also fire on close misspellings of a keyword (one edit for 4-7 character keywords, two from 8 up). Keywords shorter than 4 characters are never fuzzy-matched.
|
|
24959
|
+
*/
|
|
24960
|
+
typoTolerance?: boolean;
|
|
24939
24961
|
/**
|
|
24940
24962
|
* DM text to send to commenter. Max 640 chars when buttons are set, otherwise ~1000.
|
|
24941
24963
|
*/
|
|
@@ -24975,7 +24997,18 @@ type CreateCommentAutomationResponse = ({
|
|
|
24975
24997
|
trigger?: 'comment' | 'story_reply';
|
|
24976
24998
|
platformPostId?: string;
|
|
24977
24999
|
keywords?: Array<(string)>;
|
|
24978
|
-
|
|
25000
|
+
/**
|
|
25001
|
+
* 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.
|
|
25002
|
+
*/
|
|
25003
|
+
matchMode?: 'exact' | 'contains' | 'word';
|
|
25004
|
+
/**
|
|
25005
|
+
* Comments containing one of these never trigger the automation, even when a trigger keyword also matches. Compared using the same matchMode.
|
|
25006
|
+
*/
|
|
25007
|
+
excludeKeywords?: Array<(string)>;
|
|
25008
|
+
/**
|
|
25009
|
+
* Only with matchMode=word: also fire on close misspellings of a keyword (one edit for 4-7 character keywords, two from 8 up). Keywords shorter than 4 characters are never fuzzy-matched.
|
|
25010
|
+
*/
|
|
25011
|
+
typoTolerance?: boolean;
|
|
24979
25012
|
dmMessage?: string;
|
|
24980
25013
|
/**
|
|
24981
25014
|
* Inline DM buttons (up to 3). Omitted when none are set.
|
|
@@ -25021,7 +25054,18 @@ type GetCommentAutomationResponse = ({
|
|
|
25021
25054
|
postId?: string;
|
|
25022
25055
|
postTitle?: string;
|
|
25023
25056
|
keywords?: Array<(string)>;
|
|
25024
|
-
|
|
25057
|
+
/**
|
|
25058
|
+
* 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.
|
|
25059
|
+
*/
|
|
25060
|
+
matchMode?: 'exact' | 'contains' | 'word';
|
|
25061
|
+
/**
|
|
25062
|
+
* Comments containing one of these never trigger the automation, even when a trigger keyword also matches. Compared using the same matchMode.
|
|
25063
|
+
*/
|
|
25064
|
+
excludeKeywords?: Array<(string)>;
|
|
25065
|
+
/**
|
|
25066
|
+
* Only with matchMode=word: also fire on close misspellings of a keyword (one edit for 4-7 character keywords, two from 8 up). Keywords shorter than 4 characters are never fuzzy-matched.
|
|
25067
|
+
*/
|
|
25068
|
+
typoTolerance?: boolean;
|
|
25025
25069
|
dmMessage?: string;
|
|
25026
25070
|
/**
|
|
25027
25071
|
* Inline DM buttons (up to 3). Omitted when none are set.
|
|
@@ -25079,7 +25123,18 @@ type UpdateCommentAutomationData = {
|
|
|
25079
25123
|
body?: {
|
|
25080
25124
|
name?: string;
|
|
25081
25125
|
keywords?: Array<(string)>;
|
|
25082
|
-
|
|
25126
|
+
/**
|
|
25127
|
+
* 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.
|
|
25128
|
+
*/
|
|
25129
|
+
matchMode?: 'exact' | 'contains' | 'word';
|
|
25130
|
+
/**
|
|
25131
|
+
* Comments containing one of these never trigger the automation, even when a trigger keyword also matches. Compared using the same matchMode.
|
|
25132
|
+
*/
|
|
25133
|
+
excludeKeywords?: Array<(string)>;
|
|
25134
|
+
/**
|
|
25135
|
+
* Only with matchMode=word: also fire on close misspellings of a keyword (one edit for 4-7 character keywords, two from 8 up). Keywords shorter than 4 characters are never fuzzy-matched.
|
|
25136
|
+
*/
|
|
25137
|
+
typoTolerance?: boolean;
|
|
25083
25138
|
dmMessage?: string;
|
|
25084
25139
|
/**
|
|
25085
25140
|
* Inline DM buttons (1-3). Pass [] to clear all buttons.
|
|
@@ -25114,7 +25169,18 @@ type UpdateCommentAutomationResponse = ({
|
|
|
25114
25169
|
id?: string;
|
|
25115
25170
|
name?: string;
|
|
25116
25171
|
keywords?: Array<(string)>;
|
|
25117
|
-
|
|
25172
|
+
/**
|
|
25173
|
+
* 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.
|
|
25174
|
+
*/
|
|
25175
|
+
matchMode?: 'exact' | 'contains' | 'word';
|
|
25176
|
+
/**
|
|
25177
|
+
* Comments containing one of these never trigger the automation, even when a trigger keyword also matches. Compared using the same matchMode.
|
|
25178
|
+
*/
|
|
25179
|
+
excludeKeywords?: Array<(string)>;
|
|
25180
|
+
/**
|
|
25181
|
+
* Only with matchMode=word: also fire on close misspellings of a keyword (one edit for 4-7 character keywords, two from 8 up). Keywords shorter than 4 characters are never fuzzy-matched.
|
|
25182
|
+
*/
|
|
25183
|
+
typoTolerance?: boolean;
|
|
25118
25184
|
dmMessage?: string;
|
|
25119
25185
|
/**
|
|
25120
25186
|
* Inline DM buttons (up to 3). Omitted when none are set.
|
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.514",
|
|
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.514",
|
|
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
|
@@ -25195,7 +25195,18 @@ export type ListCommentAutomationsResponse = ({
|
|
|
25195
25195
|
platformPostId?: string;
|
|
25196
25196
|
postTitle?: string;
|
|
25197
25197
|
keywords?: Array<(string)>;
|
|
25198
|
-
|
|
25198
|
+
/**
|
|
25199
|
+
* 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.
|
|
25200
|
+
*/
|
|
25201
|
+
matchMode?: 'exact' | 'contains' | 'word';
|
|
25202
|
+
/**
|
|
25203
|
+
* Comments containing one of these never trigger the automation, even when a trigger keyword also matches. Compared using the same matchMode.
|
|
25204
|
+
*/
|
|
25205
|
+
excludeKeywords?: Array<(string)>;
|
|
25206
|
+
/**
|
|
25207
|
+
* Only with matchMode=word: also fire on close misspellings of a keyword (one edit for 4-7 character keywords, two from 8 up). Keywords shorter than 4 characters are never fuzzy-matched.
|
|
25208
|
+
*/
|
|
25209
|
+
typoTolerance?: boolean;
|
|
25199
25210
|
dmMessage?: string;
|
|
25200
25211
|
/**
|
|
25201
25212
|
* Inline DM buttons (up to 3). Omitted when none are set.
|
|
@@ -25284,7 +25295,18 @@ export type CreateCommentAutomationData = {
|
|
|
25284
25295
|
* Trigger keywords (empty = any comment triggers)
|
|
25285
25296
|
*/
|
|
25286
25297
|
keywords?: Array<(string)>;
|
|
25287
|
-
|
|
25298
|
+
/**
|
|
25299
|
+
* 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.
|
|
25300
|
+
*/
|
|
25301
|
+
matchMode?: 'exact' | 'contains' | 'word';
|
|
25302
|
+
/**
|
|
25303
|
+
* Comments containing one of these never trigger the automation, even when a trigger keyword also matches. Compared using the same matchMode.
|
|
25304
|
+
*/
|
|
25305
|
+
excludeKeywords?: Array<(string)>;
|
|
25306
|
+
/**
|
|
25307
|
+
* Only with matchMode=word: also fire on close misspellings of a keyword (one edit for 4-7 character keywords, two from 8 up). Keywords shorter than 4 characters are never fuzzy-matched.
|
|
25308
|
+
*/
|
|
25309
|
+
typoTolerance?: boolean;
|
|
25288
25310
|
/**
|
|
25289
25311
|
* DM text to send to commenter. Max 640 chars when buttons are set, otherwise ~1000.
|
|
25290
25312
|
*/
|
|
@@ -25325,7 +25347,18 @@ export type CreateCommentAutomationResponse = ({
|
|
|
25325
25347
|
trigger?: 'comment' | 'story_reply';
|
|
25326
25348
|
platformPostId?: string;
|
|
25327
25349
|
keywords?: Array<(string)>;
|
|
25328
|
-
|
|
25350
|
+
/**
|
|
25351
|
+
* 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.
|
|
25352
|
+
*/
|
|
25353
|
+
matchMode?: 'exact' | 'contains' | 'word';
|
|
25354
|
+
/**
|
|
25355
|
+
* Comments containing one of these never trigger the automation, even when a trigger keyword also matches. Compared using the same matchMode.
|
|
25356
|
+
*/
|
|
25357
|
+
excludeKeywords?: Array<(string)>;
|
|
25358
|
+
/**
|
|
25359
|
+
* Only with matchMode=word: also fire on close misspellings of a keyword (one edit for 4-7 character keywords, two from 8 up). Keywords shorter than 4 characters are never fuzzy-matched.
|
|
25360
|
+
*/
|
|
25361
|
+
typoTolerance?: boolean;
|
|
25329
25362
|
dmMessage?: string;
|
|
25330
25363
|
/**
|
|
25331
25364
|
* Inline DM buttons (up to 3). Omitted when none are set.
|
|
@@ -25374,7 +25407,18 @@ export type GetCommentAutomationResponse = ({
|
|
|
25374
25407
|
postId?: string;
|
|
25375
25408
|
postTitle?: string;
|
|
25376
25409
|
keywords?: Array<(string)>;
|
|
25377
|
-
|
|
25410
|
+
/**
|
|
25411
|
+
* 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.
|
|
25412
|
+
*/
|
|
25413
|
+
matchMode?: 'exact' | 'contains' | 'word';
|
|
25414
|
+
/**
|
|
25415
|
+
* Comments containing one of these never trigger the automation, even when a trigger keyword also matches. Compared using the same matchMode.
|
|
25416
|
+
*/
|
|
25417
|
+
excludeKeywords?: Array<(string)>;
|
|
25418
|
+
/**
|
|
25419
|
+
* Only with matchMode=word: also fire on close misspellings of a keyword (one edit for 4-7 character keywords, two from 8 up). Keywords shorter than 4 characters are never fuzzy-matched.
|
|
25420
|
+
*/
|
|
25421
|
+
typoTolerance?: boolean;
|
|
25378
25422
|
dmMessage?: string;
|
|
25379
25423
|
/**
|
|
25380
25424
|
* Inline DM buttons (up to 3). Omitted when none are set.
|
|
@@ -25434,7 +25478,18 @@ export type UpdateCommentAutomationData = {
|
|
|
25434
25478
|
body?: {
|
|
25435
25479
|
name?: string;
|
|
25436
25480
|
keywords?: Array<(string)>;
|
|
25437
|
-
|
|
25481
|
+
/**
|
|
25482
|
+
* 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.
|
|
25483
|
+
*/
|
|
25484
|
+
matchMode?: 'exact' | 'contains' | 'word';
|
|
25485
|
+
/**
|
|
25486
|
+
* Comments containing one of these never trigger the automation, even when a trigger keyword also matches. Compared using the same matchMode.
|
|
25487
|
+
*/
|
|
25488
|
+
excludeKeywords?: Array<(string)>;
|
|
25489
|
+
/**
|
|
25490
|
+
* Only with matchMode=word: also fire on close misspellings of a keyword (one edit for 4-7 character keywords, two from 8 up). Keywords shorter than 4 characters are never fuzzy-matched.
|
|
25491
|
+
*/
|
|
25492
|
+
typoTolerance?: boolean;
|
|
25438
25493
|
dmMessage?: string;
|
|
25439
25494
|
/**
|
|
25440
25495
|
* Inline DM buttons (1-3). Pass [] to clear all buttons.
|
|
@@ -25470,7 +25525,18 @@ export type UpdateCommentAutomationResponse = ({
|
|
|
25470
25525
|
id?: string;
|
|
25471
25526
|
name?: string;
|
|
25472
25527
|
keywords?: Array<(string)>;
|
|
25473
|
-
|
|
25528
|
+
/**
|
|
25529
|
+
* 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.
|
|
25530
|
+
*/
|
|
25531
|
+
matchMode?: 'exact' | 'contains' | 'word';
|
|
25532
|
+
/**
|
|
25533
|
+
* Comments containing one of these never trigger the automation, even when a trigger keyword also matches. Compared using the same matchMode.
|
|
25534
|
+
*/
|
|
25535
|
+
excludeKeywords?: Array<(string)>;
|
|
25536
|
+
/**
|
|
25537
|
+
* Only with matchMode=word: also fire on close misspellings of a keyword (one edit for 4-7 character keywords, two from 8 up). Keywords shorter than 4 characters are never fuzzy-matched.
|
|
25538
|
+
*/
|
|
25539
|
+
typoTolerance?: boolean;
|
|
25474
25540
|
dmMessage?: string;
|
|
25475
25541
|
/**
|
|
25476
25542
|
* Inline DM buttons (up to 3). Omitted when none are set.
|