@mentio-dev/sdk 0.3.0 → 0.3.1
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 +48 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -728,6 +728,10 @@ type Segment = {
|
|
|
728
728
|
* First seen within this many days.
|
|
729
729
|
*/
|
|
730
730
|
newSinceDays?: number;
|
|
731
|
+
/**
|
|
732
|
+
* At least one mention linking to any of these hosts, the host itself or a subdomain of it.
|
|
733
|
+
*/
|
|
734
|
+
linkHosts?: Array<string>;
|
|
731
735
|
/**
|
|
732
736
|
* true: only muted people; false: only unmuted.
|
|
733
737
|
*/
|
|
@@ -821,6 +825,10 @@ type Alert = {
|
|
|
821
825
|
* Only authors your workspace tagged with any of these.
|
|
822
826
|
*/
|
|
823
827
|
tags?: Array<string>;
|
|
828
|
+
/**
|
|
829
|
+
* Only posts linking to any of these hosts, the host itself or a subdomain of it (octolens.com also matches blog.octolens.com). A post with no links never passes.
|
|
830
|
+
*/
|
|
831
|
+
linkHosts?: Array<string>;
|
|
824
832
|
};
|
|
825
833
|
/**
|
|
826
834
|
* Daily alerts only.
|
|
@@ -2057,9 +2065,9 @@ type SearchMentionsData = {
|
|
|
2057
2065
|
*/
|
|
2058
2066
|
tags?: Array<string> | null;
|
|
2059
2067
|
/**
|
|
2060
|
-
* Only posts linking to any of these hosts,
|
|
2068
|
+
* Only posts linking to any of these hosts, the host itself or a subdomain of it (octolens.com also matches blog.octolens.com). Repeatable, or comma-separated.
|
|
2061
2069
|
*/
|
|
2062
|
-
|
|
2070
|
+
linkHosts?: Array<string> | null;
|
|
2063
2071
|
/**
|
|
2064
2072
|
* Substring search in the post text.
|
|
2065
2073
|
*/
|
|
@@ -2172,9 +2180,9 @@ type ExportMentionsCsvData = {
|
|
|
2172
2180
|
*/
|
|
2173
2181
|
tags?: Array<string> | null;
|
|
2174
2182
|
/**
|
|
2175
|
-
* Only posts linking to any of these hosts,
|
|
2183
|
+
* Only posts linking to any of these hosts, the host itself or a subdomain of it (octolens.com also matches blog.octolens.com). Repeatable, or comma-separated.
|
|
2176
2184
|
*/
|
|
2177
|
-
|
|
2185
|
+
linkHosts?: Array<string> | null;
|
|
2178
2186
|
/**
|
|
2179
2187
|
* Substring search in the post text.
|
|
2180
2188
|
*/
|
|
@@ -2280,6 +2288,10 @@ type ExportPeopleCsvData = {
|
|
|
2280
2288
|
* First seen within this many days.
|
|
2281
2289
|
*/
|
|
2282
2290
|
newSinceDays?: number;
|
|
2291
|
+
/**
|
|
2292
|
+
* People with at least one mention linking to any of these hosts, the host itself or a subdomain of it. Repeatable, or comma-separated.
|
|
2293
|
+
*/
|
|
2294
|
+
linkHosts?: Array<string> | null;
|
|
2283
2295
|
/**
|
|
2284
2296
|
* mentions: most matches first. recent: last seen first. reach: most followers first, unknown last. new: first seen most recently first.
|
|
2285
2297
|
*/
|
|
@@ -2381,6 +2393,10 @@ type ListPeopleData = {
|
|
|
2381
2393
|
* First seen within this many days.
|
|
2382
2394
|
*/
|
|
2383
2395
|
newSinceDays?: number;
|
|
2396
|
+
/**
|
|
2397
|
+
* People with at least one mention linking to any of these hosts, the host itself or a subdomain of it. Repeatable, or comma-separated.
|
|
2398
|
+
*/
|
|
2399
|
+
linkHosts?: Array<string> | null;
|
|
2384
2400
|
/**
|
|
2385
2401
|
* mentions: most matches first. recent: last seen first. reach: most followers first, unknown last. new: first seen most recently first.
|
|
2386
2402
|
*/
|
|
@@ -2737,6 +2753,10 @@ type ListSegmentsResponses = {
|
|
|
2737
2753
|
* First seen within this many days.
|
|
2738
2754
|
*/
|
|
2739
2755
|
newSinceDays?: number;
|
|
2756
|
+
/**
|
|
2757
|
+
* At least one mention linking to any of these hosts, the host itself or a subdomain of it.
|
|
2758
|
+
*/
|
|
2759
|
+
linkHosts?: Array<string>;
|
|
2740
2760
|
/**
|
|
2741
2761
|
* true: only muted people; false: only unmuted.
|
|
2742
2762
|
*/
|
|
@@ -2803,6 +2823,10 @@ type ListSegmentsResponses = {
|
|
|
2803
2823
|
* First seen within this many days.
|
|
2804
2824
|
*/
|
|
2805
2825
|
newSinceDays?: number;
|
|
2826
|
+
/**
|
|
2827
|
+
* At least one mention linking to any of these hosts, the host itself or a subdomain of it.
|
|
2828
|
+
*/
|
|
2829
|
+
linkHosts?: Array<string>;
|
|
2806
2830
|
/**
|
|
2807
2831
|
* true: only muted people; false: only unmuted.
|
|
2808
2832
|
*/
|
|
@@ -2857,6 +2881,10 @@ type CreateSegmentData = {
|
|
|
2857
2881
|
* First seen within this many days.
|
|
2858
2882
|
*/
|
|
2859
2883
|
newSinceDays?: number;
|
|
2884
|
+
/**
|
|
2885
|
+
* At least one mention linking to any of these hosts, the host itself or a subdomain of it.
|
|
2886
|
+
*/
|
|
2887
|
+
linkHosts?: Array<string>;
|
|
2860
2888
|
/**
|
|
2861
2889
|
* true: only muted people; false: only unmuted.
|
|
2862
2890
|
*/
|
|
@@ -2998,6 +3026,10 @@ type UpdateSegmentData = {
|
|
|
2998
3026
|
* First seen within this many days.
|
|
2999
3027
|
*/
|
|
3000
3028
|
newSinceDays?: number;
|
|
3029
|
+
/**
|
|
3030
|
+
* At least one mention linking to any of these hosts, the host itself or a subdomain of it.
|
|
3031
|
+
*/
|
|
3032
|
+
linkHosts?: Array<string>;
|
|
3001
3033
|
/**
|
|
3002
3034
|
* true: only muted people; false: only unmuted.
|
|
3003
3035
|
*/
|
|
@@ -3331,6 +3363,10 @@ type UpdateAlertData = {
|
|
|
3331
3363
|
* Only authors your workspace tagged with any of these.
|
|
3332
3364
|
*/
|
|
3333
3365
|
tags?: Array<string>;
|
|
3366
|
+
/**
|
|
3367
|
+
* Only posts linking to any of these hosts, the host itself or a subdomain of it (octolens.com also matches blog.octolens.com). A post with no links never passes.
|
|
3368
|
+
*/
|
|
3369
|
+
linkHosts?: Array<string>;
|
|
3334
3370
|
};
|
|
3335
3371
|
schedule?: {
|
|
3336
3372
|
hour: number;
|
|
@@ -3437,6 +3473,10 @@ type ListAlertsResponses = {
|
|
|
3437
3473
|
* Only authors your workspace tagged with any of these.
|
|
3438
3474
|
*/
|
|
3439
3475
|
tags?: Array<string>;
|
|
3476
|
+
/**
|
|
3477
|
+
* Only posts linking to any of these hosts, the host itself or a subdomain of it (octolens.com also matches blog.octolens.com). A post with no links never passes.
|
|
3478
|
+
*/
|
|
3479
|
+
linkHosts?: Array<string>;
|
|
3440
3480
|
};
|
|
3441
3481
|
/**
|
|
3442
3482
|
* Daily alerts only.
|
|
@@ -3522,6 +3562,10 @@ type CreateAlertData = {
|
|
|
3522
3562
|
* Only authors your workspace tagged with any of these.
|
|
3523
3563
|
*/
|
|
3524
3564
|
tags?: Array<string>;
|
|
3565
|
+
/**
|
|
3566
|
+
* Only posts linking to any of these hosts, the host itself or a subdomain of it (octolens.com also matches blog.octolens.com). A post with no links never passes.
|
|
3567
|
+
*/
|
|
3568
|
+
linkHosts?: Array<string>;
|
|
3525
3569
|
};
|
|
3526
3570
|
/**
|
|
3527
3571
|
* Required for daily alerts.
|