@zernio/node 0.2.512 → 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 CHANGED
@@ -5468,6 +5468,10 @@ type SocialAccount = {
5468
5468
  * - wabaId: WhatsApp Business Account ID
5469
5469
  * - phoneNumberId: Meta phone number ID
5470
5470
  *
5471
+ * For LinkedIn accounts, profileData carries the profile details refreshed on each daily snapshot:
5472
+ * - profileData.bio: The member's headline for personal accounts, or the organization description for organization accounts. null when the member has not set one.
5473
+ * - profileData.extraData.vanityName: The member's profile slug, i.e. the /in/{vanityName} segment of profileUrl. Personal accounts only; an organization's own slug is in metadata.organizationInfo.vanityName.
5474
+ *
5471
5475
  */
5472
5476
  metadata?: {
5473
5477
  [key: string]: unknown;
@@ -24844,7 +24848,18 @@ type ListCommentAutomationsResponse = ({
24844
24848
  platformPostId?: string;
24845
24849
  postTitle?: string;
24846
24850
  keywords?: Array<(string)>;
24847
- matchMode?: 'exact' | 'contains';
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;
24848
24863
  dmMessage?: string;
24849
24864
  /**
24850
24865
  * Inline DM buttons (up to 3). Omitted when none are set.
@@ -24931,7 +24946,18 @@ type CreateCommentAutomationData = {
24931
24946
  * Trigger keywords (empty = any comment triggers)
24932
24947
  */
24933
24948
  keywords?: Array<(string)>;
24934
- matchMode?: 'exact' | 'contains';
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;
24935
24961
  /**
24936
24962
  * DM text to send to commenter. Max 640 chars when buttons are set, otherwise ~1000.
24937
24963
  */
@@ -24971,7 +24997,18 @@ type CreateCommentAutomationResponse = ({
24971
24997
  trigger?: 'comment' | 'story_reply';
24972
24998
  platformPostId?: string;
24973
24999
  keywords?: Array<(string)>;
24974
- matchMode?: 'exact' | 'contains';
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;
24975
25012
  dmMessage?: string;
24976
25013
  /**
24977
25014
  * Inline DM buttons (up to 3). Omitted when none are set.
@@ -25017,7 +25054,18 @@ type GetCommentAutomationResponse = ({
25017
25054
  postId?: string;
25018
25055
  postTitle?: string;
25019
25056
  keywords?: Array<(string)>;
25020
- matchMode?: 'exact' | 'contains';
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;
25021
25069
  dmMessage?: string;
25022
25070
  /**
25023
25071
  * Inline DM buttons (up to 3). Omitted when none are set.
@@ -25075,7 +25123,18 @@ type UpdateCommentAutomationData = {
25075
25123
  body?: {
25076
25124
  name?: string;
25077
25125
  keywords?: Array<(string)>;
25078
- matchMode?: 'exact' | 'contains';
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;
25079
25138
  dmMessage?: string;
25080
25139
  /**
25081
25140
  * Inline DM buttons (1-3). Pass [] to clear all buttons.
@@ -25110,7 +25169,18 @@ type UpdateCommentAutomationResponse = ({
25110
25169
  id?: string;
25111
25170
  name?: string;
25112
25171
  keywords?: Array<(string)>;
25113
- matchMode?: 'exact' | 'contains';
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;
25114
25184
  dmMessage?: string;
25115
25185
  /**
25116
25186
  * Inline DM buttons (up to 3). Omitted when none are set.
package/dist/index.d.ts CHANGED
@@ -5468,6 +5468,10 @@ type SocialAccount = {
5468
5468
  * - wabaId: WhatsApp Business Account ID
5469
5469
  * - phoneNumberId: Meta phone number ID
5470
5470
  *
5471
+ * For LinkedIn accounts, profileData carries the profile details refreshed on each daily snapshot:
5472
+ * - profileData.bio: The member's headline for personal accounts, or the organization description for organization accounts. null when the member has not set one.
5473
+ * - profileData.extraData.vanityName: The member's profile slug, i.e. the /in/{vanityName} segment of profileUrl. Personal accounts only; an organization's own slug is in metadata.organizationInfo.vanityName.
5474
+ *
5471
5475
  */
5472
5476
  metadata?: {
5473
5477
  [key: string]: unknown;
@@ -24844,7 +24848,18 @@ type ListCommentAutomationsResponse = ({
24844
24848
  platformPostId?: string;
24845
24849
  postTitle?: string;
24846
24850
  keywords?: Array<(string)>;
24847
- matchMode?: 'exact' | 'contains';
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;
24848
24863
  dmMessage?: string;
24849
24864
  /**
24850
24865
  * Inline DM buttons (up to 3). Omitted when none are set.
@@ -24931,7 +24946,18 @@ type CreateCommentAutomationData = {
24931
24946
  * Trigger keywords (empty = any comment triggers)
24932
24947
  */
24933
24948
  keywords?: Array<(string)>;
24934
- matchMode?: 'exact' | 'contains';
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;
24935
24961
  /**
24936
24962
  * DM text to send to commenter. Max 640 chars when buttons are set, otherwise ~1000.
24937
24963
  */
@@ -24971,7 +24997,18 @@ type CreateCommentAutomationResponse = ({
24971
24997
  trigger?: 'comment' | 'story_reply';
24972
24998
  platformPostId?: string;
24973
24999
  keywords?: Array<(string)>;
24974
- matchMode?: 'exact' | 'contains';
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;
24975
25012
  dmMessage?: string;
24976
25013
  /**
24977
25014
  * Inline DM buttons (up to 3). Omitted when none are set.
@@ -25017,7 +25054,18 @@ type GetCommentAutomationResponse = ({
25017
25054
  postId?: string;
25018
25055
  postTitle?: string;
25019
25056
  keywords?: Array<(string)>;
25020
- matchMode?: 'exact' | 'contains';
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;
25021
25069
  dmMessage?: string;
25022
25070
  /**
25023
25071
  * Inline DM buttons (up to 3). Omitted when none are set.
@@ -25075,7 +25123,18 @@ type UpdateCommentAutomationData = {
25075
25123
  body?: {
25076
25124
  name?: string;
25077
25125
  keywords?: Array<(string)>;
25078
- matchMode?: 'exact' | 'contains';
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;
25079
25138
  dmMessage?: string;
25080
25139
  /**
25081
25140
  * Inline DM buttons (1-3). Pass [] to clear all buttons.
@@ -25110,7 +25169,18 @@ type UpdateCommentAutomationResponse = ({
25110
25169
  id?: string;
25111
25170
  name?: string;
25112
25171
  keywords?: Array<(string)>;
25113
- matchMode?: 'exact' | 'contains';
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;
25114
25184
  dmMessage?: string;
25115
25185
  /**
25116
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.512",
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.512",
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.512",
3
+ "version": "0.2.514",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -4421,6 +4421,10 @@ export type SocialAccount = {
4421
4421
  * - wabaId: WhatsApp Business Account ID
4422
4422
  * - phoneNumberId: Meta phone number ID
4423
4423
  *
4424
+ * For LinkedIn accounts, profileData carries the profile details refreshed on each daily snapshot:
4425
+ * - profileData.bio: The member's headline for personal accounts, or the organization description for organization accounts. null when the member has not set one.
4426
+ * - profileData.extraData.vanityName: The member's profile slug, i.e. the /in/{vanityName} segment of profileUrl. Personal accounts only; an organization's own slug is in metadata.organizationInfo.vanityName.
4427
+ *
4424
4428
  */
4425
4429
  metadata?: {
4426
4430
  [key: string]: unknown;
@@ -25191,7 +25195,18 @@ export type ListCommentAutomationsResponse = ({
25191
25195
  platformPostId?: string;
25192
25196
  postTitle?: string;
25193
25197
  keywords?: Array<(string)>;
25194
- matchMode?: 'exact' | 'contains';
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;
25195
25210
  dmMessage?: string;
25196
25211
  /**
25197
25212
  * Inline DM buttons (up to 3). Omitted when none are set.
@@ -25280,7 +25295,18 @@ export type CreateCommentAutomationData = {
25280
25295
  * Trigger keywords (empty = any comment triggers)
25281
25296
  */
25282
25297
  keywords?: Array<(string)>;
25283
- matchMode?: 'exact' | 'contains';
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;
25284
25310
  /**
25285
25311
  * DM text to send to commenter. Max 640 chars when buttons are set, otherwise ~1000.
25286
25312
  */
@@ -25321,7 +25347,18 @@ export type CreateCommentAutomationResponse = ({
25321
25347
  trigger?: 'comment' | 'story_reply';
25322
25348
  platformPostId?: string;
25323
25349
  keywords?: Array<(string)>;
25324
- matchMode?: 'exact' | 'contains';
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;
25325
25362
  dmMessage?: string;
25326
25363
  /**
25327
25364
  * Inline DM buttons (up to 3). Omitted when none are set.
@@ -25370,7 +25407,18 @@ export type GetCommentAutomationResponse = ({
25370
25407
  postId?: string;
25371
25408
  postTitle?: string;
25372
25409
  keywords?: Array<(string)>;
25373
- matchMode?: 'exact' | 'contains';
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;
25374
25422
  dmMessage?: string;
25375
25423
  /**
25376
25424
  * Inline DM buttons (up to 3). Omitted when none are set.
@@ -25430,7 +25478,18 @@ export type UpdateCommentAutomationData = {
25430
25478
  body?: {
25431
25479
  name?: string;
25432
25480
  keywords?: Array<(string)>;
25433
- matchMode?: 'exact' | 'contains';
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;
25434
25493
  dmMessage?: string;
25435
25494
  /**
25436
25495
  * Inline DM buttons (1-3). Pass [] to clear all buttons.
@@ -25466,7 +25525,18 @@ export type UpdateCommentAutomationResponse = ({
25466
25525
  id?: string;
25467
25526
  name?: string;
25468
25527
  keywords?: Array<(string)>;
25469
- matchMode?: 'exact' | 'contains';
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;
25470
25540
  dmMessage?: string;
25471
25541
  /**
25472
25542
  * Inline DM buttons (up to 3). Omitted when none are set.