@mentio-dev/sdk 0.13.5 → 0.13.6
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.ts +25 -5
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -482,13 +482,17 @@ type Keyword = {
|
|
|
482
482
|
*/
|
|
483
483
|
matching: {
|
|
484
484
|
/**
|
|
485
|
-
* The post must ALSO contain these terms, any one of them or all of them per requiredMode. Empty: no requirement.
|
|
485
|
+
* The post must ALSO contain these terms, any one of them or all of them per requiredMode. A `*` at the start or the end of an entry is a wildcard (alert* matches alerts and alerting). Empty: no requirement.
|
|
486
486
|
*/
|
|
487
487
|
requiredTerms: Array<string>;
|
|
488
488
|
/**
|
|
489
489
|
* any: at least one required term must appear. all: every one must.
|
|
490
490
|
*/
|
|
491
491
|
requiredMode: 'any' | 'all';
|
|
492
|
+
/**
|
|
493
|
+
* Combinations of terms, at most 50 of 10 terms each: the post must ALSO contain every term of at least one group (an OR of ANDs). For the keyword inreach, [["weather", "alert*"], ["tsunami"], ["flash flood"]] keeps a post about inReach weather alerts, tsunamis or flash floods, one keyword instead of three. Same phrase and wildcard rules as requiredTerms; when both are set a post must pass both. Empty: no combinations.
|
|
494
|
+
*/
|
|
495
|
+
requiredGroups: Array<Array<string>>;
|
|
492
496
|
/**
|
|
493
497
|
* A post containing any of these is dropped. A `*` at the start or the end of an entry is a wildcard (beta.* matches beta.0.1; *bot matches nightlybot).
|
|
494
498
|
*/
|
|
@@ -715,13 +719,17 @@ type KeywordSuggestion = {
|
|
|
715
719
|
*/
|
|
716
720
|
matching?: {
|
|
717
721
|
/**
|
|
718
|
-
* The post must ALSO contain these terms, any one of them or all of them per requiredMode. Empty: no requirement.
|
|
722
|
+
* The post must ALSO contain these terms, any one of them or all of them per requiredMode. A `*` at the start or the end of an entry is a wildcard (alert* matches alerts and alerting). Empty: no requirement.
|
|
719
723
|
*/
|
|
720
724
|
requiredTerms?: Array<string>;
|
|
721
725
|
/**
|
|
722
726
|
* any: at least one required term must appear. all: every one must.
|
|
723
727
|
*/
|
|
724
728
|
requiredMode?: 'any' | 'all';
|
|
729
|
+
/**
|
|
730
|
+
* Combinations of terms, at most 50 of 10 terms each: the post must ALSO contain every term of at least one group (an OR of ANDs). For the keyword inreach, [["weather", "alert*"], ["tsunami"], ["flash flood"]] keeps a post about inReach weather alerts, tsunamis or flash floods, one keyword instead of three. Same phrase and wildcard rules as requiredTerms; when both are set a post must pass both. Empty: no combinations.
|
|
731
|
+
*/
|
|
732
|
+
requiredGroups?: Array<Array<string>>;
|
|
725
733
|
/**
|
|
726
734
|
* A post containing any of these is dropped. A `*` at the start or the end of an entry is a wildcard (beta.* matches beta.0.1; *bot matches nightlybot).
|
|
727
735
|
*/
|
|
@@ -4433,13 +4441,17 @@ type ListKeywordsResponses = {
|
|
|
4433
4441
|
*/
|
|
4434
4442
|
matching: {
|
|
4435
4443
|
/**
|
|
4436
|
-
* The post must ALSO contain these terms, any one of them or all of them per requiredMode. Empty: no requirement.
|
|
4444
|
+
* The post must ALSO contain these terms, any one of them or all of them per requiredMode. A `*` at the start or the end of an entry is a wildcard (alert* matches alerts and alerting). Empty: no requirement.
|
|
4437
4445
|
*/
|
|
4438
4446
|
requiredTerms: Array<string>;
|
|
4439
4447
|
/**
|
|
4440
4448
|
* any: at least one required term must appear. all: every one must.
|
|
4441
4449
|
*/
|
|
4442
4450
|
requiredMode: 'any' | 'all';
|
|
4451
|
+
/**
|
|
4452
|
+
* Combinations of terms, at most 50 of 10 terms each: the post must ALSO contain every term of at least one group (an OR of ANDs). For the keyword inreach, [["weather", "alert*"], ["tsunami"], ["flash flood"]] keeps a post about inReach weather alerts, tsunamis or flash floods, one keyword instead of three. Same phrase and wildcard rules as requiredTerms; when both are set a post must pass both. Empty: no combinations.
|
|
4453
|
+
*/
|
|
4454
|
+
requiredGroups: Array<Array<string>>;
|
|
4443
4455
|
/**
|
|
4444
4456
|
* A post containing any of these is dropped. A `*` at the start or the end of an entry is a wildcard (beta.* matches beta.0.1; *bot matches nightlybot).
|
|
4445
4457
|
*/
|
|
@@ -4631,13 +4643,17 @@ type CreateKeywordData = {
|
|
|
4631
4643
|
*/
|
|
4632
4644
|
matching?: {
|
|
4633
4645
|
/**
|
|
4634
|
-
* The post must ALSO contain these terms, any one of them or all of them per requiredMode. Empty: no requirement.
|
|
4646
|
+
* The post must ALSO contain these terms, any one of them or all of them per requiredMode. A `*` at the start or the end of an entry is a wildcard (alert* matches alerts and alerting). Empty: no requirement.
|
|
4635
4647
|
*/
|
|
4636
4648
|
requiredTerms?: Array<string>;
|
|
4637
4649
|
/**
|
|
4638
4650
|
* any: at least one required term must appear. all: every one must.
|
|
4639
4651
|
*/
|
|
4640
4652
|
requiredMode?: 'any' | 'all';
|
|
4653
|
+
/**
|
|
4654
|
+
* Combinations of terms, at most 50 of 10 terms each: the post must ALSO contain every term of at least one group (an OR of ANDs). For the keyword inreach, [["weather", "alert*"], ["tsunami"], ["flash flood"]] keeps a post about inReach weather alerts, tsunamis or flash floods, one keyword instead of three. Same phrase and wildcard rules as requiredTerms; when both are set a post must pass both. Empty: no combinations.
|
|
4655
|
+
*/
|
|
4656
|
+
requiredGroups?: Array<Array<string>>;
|
|
4641
4657
|
/**
|
|
4642
4658
|
* A post containing any of these is dropped. A `*` at the start or the end of an entry is a wildcard (beta.* matches beta.0.1; *bot matches nightlybot).
|
|
4643
4659
|
*/
|
|
@@ -4864,13 +4880,17 @@ type UpdateKeywordData = {
|
|
|
4864
4880
|
*/
|
|
4865
4881
|
matching?: {
|
|
4866
4882
|
/**
|
|
4867
|
-
* The post must ALSO contain these terms, any one of them or all of them per requiredMode. Empty: no requirement.
|
|
4883
|
+
* The post must ALSO contain these terms, any one of them or all of them per requiredMode. A `*` at the start or the end of an entry is a wildcard (alert* matches alerts and alerting). Empty: no requirement.
|
|
4868
4884
|
*/
|
|
4869
4885
|
requiredTerms?: Array<string>;
|
|
4870
4886
|
/**
|
|
4871
4887
|
* any: at least one required term must appear. all: every one must.
|
|
4872
4888
|
*/
|
|
4873
4889
|
requiredMode?: 'any' | 'all';
|
|
4890
|
+
/**
|
|
4891
|
+
* Combinations of terms, at most 50 of 10 terms each: the post must ALSO contain every term of at least one group (an OR of ANDs). For the keyword inreach, [["weather", "alert*"], ["tsunami"], ["flash flood"]] keeps a post about inReach weather alerts, tsunamis or flash floods, one keyword instead of three. Same phrase and wildcard rules as requiredTerms; when both are set a post must pass both. Empty: no combinations.
|
|
4892
|
+
*/
|
|
4893
|
+
requiredGroups?: Array<Array<string>>;
|
|
4874
4894
|
/**
|
|
4875
4895
|
* A post containing any of these is dropped. A `*` at the start or the end of an entry is a wildcard (beta.* matches beta.0.1; *bot matches nightlybot).
|
|
4876
4896
|
*/
|