x-twitter-scraper 0.16.0 → 0.18.0
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/CHANGELOG.md +44 -5
- package/README.md +1 -0
- package/client.d.mts +8 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +8 -2
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/internal/detect-platform.d.mts +3 -1
- package/internal/detect-platform.d.mts.map +1 -1
- package/internal/detect-platform.d.ts +3 -1
- package/internal/detect-platform.d.ts.map +1 -1
- package/internal/detect-platform.js +1 -1
- package/internal/detect-platform.js.map +1 -1
- package/internal/detect-platform.mjs +1 -1
- package/internal/detect-platform.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/events.d.mts +50 -11
- package/resources/events.d.mts.map +1 -1
- package/resources/events.d.ts +50 -11
- package/resources/events.d.ts.map +1 -1
- package/resources/events.js.map +1 -1
- package/resources/events.mjs.map +1 -1
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/monitors/index.d.mts +2 -1
- package/resources/monitors/index.d.mts.map +1 -1
- package/resources/monitors/index.d.ts +2 -1
- package/resources/monitors/index.d.ts.map +1 -1
- package/resources/monitors/index.js +3 -1
- package/resources/monitors/index.js.map +1 -1
- package/resources/monitors/index.mjs +1 -0
- package/resources/monitors/index.mjs.map +1 -1
- package/resources/monitors/keywords.d.mts +10 -96
- package/resources/monitors/keywords.d.mts.map +1 -1
- package/resources/monitors/keywords.d.ts +10 -96
- package/resources/monitors/keywords.d.ts.map +1 -1
- package/resources/monitors/monitors.d.mts +6 -2
- package/resources/monitors/monitors.d.mts.map +1 -1
- package/resources/monitors/monitors.d.ts +6 -2
- package/resources/monitors/monitors.d.ts.map +1 -1
- package/resources/monitors/monitors.js +4 -0
- package/resources/monitors/monitors.js.map +1 -1
- package/resources/monitors/monitors.mjs +4 -0
- package/resources/monitors/monitors.mjs.map +1 -1
- package/resources/monitors/posts.d.mts +344 -0
- package/resources/monitors/posts.d.mts.map +1 -0
- package/resources/monitors/posts.d.ts +344 -0
- package/resources/monitors/posts.d.ts.map +1 -0
- package/resources/monitors/posts.js +94 -0
- package/resources/monitors/posts.js.map +1 -0
- package/resources/monitors/posts.mjs +90 -0
- package/resources/monitors/posts.mjs.map +1 -0
- package/resources/shared.d.mts +577 -2
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +577 -2
- package/resources/shared.d.ts.map +1 -1
- package/resources/support/index.d.mts +1 -1
- package/resources/support/index.d.mts.map +1 -1
- package/resources/support/index.d.ts +1 -1
- package/resources/support/index.d.ts.map +1 -1
- package/resources/support/index.js.map +1 -1
- package/resources/support/index.mjs.map +1 -1
- package/resources/support/support.d.mts +2 -2
- package/resources/support/support.d.mts.map +1 -1
- package/resources/support/support.d.ts +2 -2
- package/resources/support/support.d.ts.map +1 -1
- package/resources/support/support.js.map +1 -1
- package/resources/support/support.mjs.map +1 -1
- package/resources/support/tickets.d.mts +12 -20
- package/resources/support/tickets.d.mts.map +1 -1
- package/resources/support/tickets.d.ts +12 -20
- package/resources/support/tickets.d.ts.map +1 -1
- package/resources/webhooks.d.mts +5 -4
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +5 -4
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs.map +1 -1
- package/resources/x/accounts.d.mts +14 -4
- package/resources/x/accounts.d.mts.map +1 -1
- package/resources/x/accounts.d.ts +14 -4
- package/resources/x/accounts.d.ts.map +1 -1
- package/resources/x/accounts.js +6 -4
- package/resources/x/accounts.js.map +1 -1
- package/resources/x/accounts.mjs +6 -4
- package/resources/x/accounts.mjs.map +1 -1
- package/resources/x/broadcasts.d.mts +3 -131
- package/resources/x/broadcasts.d.mts.map +1 -1
- package/resources/x/broadcasts.d.ts +3 -131
- package/resources/x/broadcasts.d.ts.map +1 -1
- package/resources/x/communities/communities.d.mts +92 -1
- package/resources/x/communities/communities.d.mts.map +1 -1
- package/resources/x/communities/communities.d.ts +92 -1
- package/resources/x/communities/communities.d.ts.map +1 -1
- package/resources/x/communities/communities.js +14 -0
- package/resources/x/communities/communities.js.map +1 -1
- package/resources/x/communities/communities.mjs +14 -0
- package/resources/x/communities/communities.mjs.map +1 -1
- package/resources/x/communities/index.d.mts +1 -1
- package/resources/x/communities/index.d.mts.map +1 -1
- package/resources/x/communities/index.d.ts +1 -1
- package/resources/x/communities/index.d.ts.map +1 -1
- package/resources/x/communities/index.js.map +1 -1
- package/resources/x/communities/index.mjs.map +1 -1
- package/resources/x/community-notes.d.mts +122 -510
- package/resources/x/community-notes.d.mts.map +1 -1
- package/resources/x/community-notes.d.ts +122 -510
- package/resources/x/community-notes.d.ts.map +1 -1
- package/resources/x/community-notes.js.map +1 -1
- package/resources/x/community-notes.mjs.map +1 -1
- package/resources/x/index.d.mts +7 -6
- package/resources/x/index.d.mts.map +1 -1
- package/resources/x/index.d.ts +7 -6
- package/resources/x/index.d.ts.map +1 -1
- package/resources/x/index.js +3 -1
- package/resources/x/index.js.map +1 -1
- package/resources/x/index.mjs +1 -0
- package/resources/x/index.mjs.map +1 -1
- package/resources/x/jobs.d.mts +144 -291
- package/resources/x/jobs.d.mts.map +1 -1
- package/resources/x/jobs.d.ts +144 -291
- package/resources/x/jobs.d.ts.map +1 -1
- package/resources/x/jobs.js.map +1 -1
- package/resources/x/jobs.mjs.map +1 -1
- package/resources/x/lists.d.mts +21 -419
- package/resources/x/lists.d.mts.map +1 -1
- package/resources/x/lists.d.ts +21 -419
- package/resources/x/lists.d.ts.map +1 -1
- package/resources/x/spaces.d.mts +213 -693
- package/resources/x/spaces.d.mts.map +1 -1
- package/resources/x/spaces.d.ts +213 -693
- package/resources/x/spaces.d.ts.map +1 -1
- package/resources/x/spaces.js.map +1 -1
- package/resources/x/spaces.mjs.map +1 -1
- package/resources/x/sports.d.mts +1512 -0
- package/resources/x/sports.d.mts.map +1 -0
- package/resources/x/sports.d.ts +1512 -0
- package/resources/x/sports.d.ts.map +1 -0
- package/resources/x/sports.js +91 -0
- package/resources/x/sports.js.map +1 -0
- package/resources/x/sports.mjs +87 -0
- package/resources/x/sports.mjs.map +1 -0
- package/resources/x/tweets/tweets.d.mts +11 -13
- package/resources/x/tweets/tweets.d.mts.map +1 -1
- package/resources/x/tweets/tweets.d.ts +11 -13
- package/resources/x/tweets/tweets.d.ts.map +1 -1
- package/resources/x/users/users.d.mts +29 -585
- package/resources/x/users/users.d.mts.map +1 -1
- package/resources/x/users/users.d.ts +29 -585
- package/resources/x/users/users.d.ts.map +1 -1
- package/resources/x/users/users.js.map +1 -1
- package/resources/x/users/users.mjs.map +1 -1
- package/resources/x/x.d.mts +55 -118
- package/resources/x/x.d.mts.map +1 -1
- package/resources/x/x.d.ts +55 -118
- package/resources/x/x.d.ts.map +1 -1
- package/resources/x/x.js +4 -0
- package/resources/x/x.js.map +1 -1
- package/resources/x/x.mjs +4 -0
- package/resources/x/x.mjs.map +1 -1
- package/skills/x-twitter-scraper/references/api-endpoints-x-api.md +1 -0
- package/src/client.ts +8 -0
- package/src/internal/detect-platform.ts +2 -2
- package/src/resources/events.ts +72 -10
- package/src/resources/index.ts +1 -0
- package/src/resources/monitors/index.ts +21 -0
- package/src/resources/monitors/keywords.ts +10 -118
- package/src/resources/monitors/monitors.ts +46 -0
- package/src/resources/monitors/posts.ts +463 -0
- package/src/resources/shared.ts +773 -200
- package/src/resources/support/index.ts +1 -0
- package/src/resources/support/support.ts +2 -0
- package/src/resources/support/tickets.ts +14 -21
- package/src/resources/webhooks.ts +5 -4
- package/src/resources/x/accounts.ts +19 -4
- package/src/resources/x/broadcasts.ts +3 -159
- package/src/resources/x/communities/communities.ts +113 -0
- package/src/resources/x/communities/index.ts +3 -0
- package/src/resources/x/community-notes.ts +137 -582
- package/src/resources/x/index.ts +70 -0
- package/src/resources/x/jobs.ts +160 -334
- package/src/resources/x/lists.ts +21 -493
- package/src/resources/x/spaces.ts +227 -817
- package/src/resources/x/sports.ts +1877 -0
- package/src/resources/x/tweets/tweets.ts +15 -15
- package/src/resources/x/users/users.ts +29 -693
- package/src/resources/x/x.ts +191 -128
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/src/lib/.keep +0 -2
|
@@ -20,7 +20,7 @@ export declare class Keywords extends APIResource {
|
|
|
20
20
|
* });
|
|
21
21
|
* ```
|
|
22
22
|
*/
|
|
23
|
-
create(body: KeywordCreateParams, options?: RequestOptions): APIPromise<
|
|
23
|
+
create(body: KeywordCreateParams, options?: RequestOptions): APIPromise<KeywordMonitor>;
|
|
24
24
|
/**
|
|
25
25
|
* Returns configuration and status for one keyword monitor.
|
|
26
26
|
*
|
|
@@ -31,7 +31,7 @@ export declare class Keywords extends APIResource {
|
|
|
31
31
|
* );
|
|
32
32
|
* ```
|
|
33
33
|
*/
|
|
34
|
-
retrieve(id: string, options?: RequestOptions): APIPromise<
|
|
34
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<KeywordMonitor>;
|
|
35
35
|
/**
|
|
36
36
|
* Updates mutable settings for an existing keyword monitor.
|
|
37
37
|
*
|
|
@@ -47,7 +47,7 @@ export declare class Keywords extends APIResource {
|
|
|
47
47
|
* );
|
|
48
48
|
* ```
|
|
49
49
|
*/
|
|
50
|
-
update(id: string, body: KeywordUpdateParams, options?: RequestOptions): APIPromise<
|
|
50
|
+
update(id: string, body: KeywordUpdateParams, options?: RequestOptions): APIPromise<KeywordMonitor>;
|
|
51
51
|
/**
|
|
52
52
|
* Returns keyword monitors with their current operating states.
|
|
53
53
|
*
|
|
@@ -73,67 +73,7 @@ export declare class Keywords extends APIResource {
|
|
|
73
73
|
/**
|
|
74
74
|
* Keyword monitor that tracks matching public X activity.
|
|
75
75
|
*/
|
|
76
|
-
export interface
|
|
77
|
-
id: string;
|
|
78
|
-
createdAt: string;
|
|
79
|
-
/**
|
|
80
|
-
* Array of event types to subscribe to.
|
|
81
|
-
*/
|
|
82
|
-
eventTypes: Array<Shared.EventType>;
|
|
83
|
-
isActive: boolean;
|
|
84
|
-
/**
|
|
85
|
-
* Next hourly credit charge time for this keyword query monitor.
|
|
86
|
-
*/
|
|
87
|
-
nextBillingAt: string;
|
|
88
|
-
query: string;
|
|
89
|
-
/**
|
|
90
|
-
* Customer-set label of the keyword monitor, when set.
|
|
91
|
-
*/
|
|
92
|
-
name?: string;
|
|
93
|
-
/**
|
|
94
|
-
* When Xquik paused this keyword monitor.
|
|
95
|
-
*/
|
|
96
|
-
pausedAt?: string;
|
|
97
|
-
/**
|
|
98
|
-
* Why Xquik paused this keyword monitor. The balance could not pay an hour, so add
|
|
99
|
-
* credits & resume. Absent when the monitor is active or you paused it yourself.
|
|
100
|
-
*/
|
|
101
|
-
pausedReason?: 'insufficient_credits';
|
|
102
|
-
}
|
|
103
|
-
/**
|
|
104
|
-
* Keyword monitor that tracks matching public X activity.
|
|
105
|
-
*/
|
|
106
|
-
export interface KeywordRetrieveResponse {
|
|
107
|
-
id: string;
|
|
108
|
-
createdAt: string;
|
|
109
|
-
/**
|
|
110
|
-
* Array of event types to subscribe to.
|
|
111
|
-
*/
|
|
112
|
-
eventTypes: Array<Shared.EventType>;
|
|
113
|
-
isActive: boolean;
|
|
114
|
-
/**
|
|
115
|
-
* Next hourly credit charge time for this keyword query monitor.
|
|
116
|
-
*/
|
|
117
|
-
nextBillingAt: string;
|
|
118
|
-
query: string;
|
|
119
|
-
/**
|
|
120
|
-
* Customer-set label of the keyword monitor, when set.
|
|
121
|
-
*/
|
|
122
|
-
name?: string;
|
|
123
|
-
/**
|
|
124
|
-
* When Xquik paused this keyword monitor.
|
|
125
|
-
*/
|
|
126
|
-
pausedAt?: string;
|
|
127
|
-
/**
|
|
128
|
-
* Why Xquik paused this keyword monitor. The balance could not pay an hour, so add
|
|
129
|
-
* credits & resume. Absent when the monitor is active or you paused it yourself.
|
|
130
|
-
*/
|
|
131
|
-
pausedReason?: 'insufficient_credits';
|
|
132
|
-
}
|
|
133
|
-
/**
|
|
134
|
-
* Keyword monitor that tracks matching public X activity.
|
|
135
|
-
*/
|
|
136
|
-
export interface KeywordUpdateResponse {
|
|
76
|
+
export interface KeywordMonitor {
|
|
137
77
|
id: string;
|
|
138
78
|
createdAt: string;
|
|
139
79
|
/**
|
|
@@ -160,9 +100,12 @@ export interface KeywordUpdateResponse {
|
|
|
160
100
|
*/
|
|
161
101
|
pausedReason?: 'insufficient_credits';
|
|
162
102
|
}
|
|
103
|
+
export type KeywordCreateResponse = KeywordMonitor;
|
|
104
|
+
export type KeywordRetrieveResponse = KeywordMonitor;
|
|
105
|
+
export type KeywordUpdateResponse = KeywordMonitor;
|
|
163
106
|
export interface KeywordListResponse {
|
|
164
107
|
hasMore: boolean;
|
|
165
|
-
monitors: Array<
|
|
108
|
+
monitors: Array<KeywordMonitor>;
|
|
166
109
|
/**
|
|
167
110
|
* Keyword monitors on this page.
|
|
168
111
|
*/
|
|
@@ -170,36 +113,7 @@ export interface KeywordListResponse {
|
|
|
170
113
|
nextCursor?: string;
|
|
171
114
|
}
|
|
172
115
|
export declare namespace KeywordListResponse {
|
|
173
|
-
|
|
174
|
-
* Keyword monitor that tracks matching public X activity.
|
|
175
|
-
*/
|
|
176
|
-
interface Monitor {
|
|
177
|
-
id: string;
|
|
178
|
-
createdAt: string;
|
|
179
|
-
/**
|
|
180
|
-
* Array of event types to subscribe to.
|
|
181
|
-
*/
|
|
182
|
-
eventTypes: Array<Shared.EventType>;
|
|
183
|
-
isActive: boolean;
|
|
184
|
-
/**
|
|
185
|
-
* Next hourly credit charge time for this keyword query monitor.
|
|
186
|
-
*/
|
|
187
|
-
nextBillingAt: string;
|
|
188
|
-
query: string;
|
|
189
|
-
/**
|
|
190
|
-
* Customer-set label of the keyword monitor, when set.
|
|
191
|
-
*/
|
|
192
|
-
name?: string;
|
|
193
|
-
/**
|
|
194
|
-
* When Xquik paused this keyword monitor.
|
|
195
|
-
*/
|
|
196
|
-
pausedAt?: string;
|
|
197
|
-
/**
|
|
198
|
-
* Why Xquik paused this keyword monitor. The balance could not pay an hour, so add
|
|
199
|
-
* credits & resume. Absent when the monitor is active or you paused it yourself.
|
|
200
|
-
*/
|
|
201
|
-
pausedReason?: 'insufficient_credits';
|
|
202
|
-
}
|
|
116
|
+
type Monitor = KeywordMonitor;
|
|
203
117
|
}
|
|
204
118
|
export interface KeywordDeactivateResponse {
|
|
205
119
|
deletionStatus: 'deleting';
|
|
@@ -247,6 +161,6 @@ export interface KeywordListParams {
|
|
|
247
161
|
limit?: number;
|
|
248
162
|
}
|
|
249
163
|
export declare namespace Keywords {
|
|
250
|
-
export { type KeywordCreateResponse as KeywordCreateResponse, type KeywordRetrieveResponse as KeywordRetrieveResponse, type KeywordUpdateResponse as KeywordUpdateResponse, type KeywordListResponse as KeywordListResponse, type KeywordDeactivateResponse as KeywordDeactivateResponse, type KeywordCreateParams as KeywordCreateParams, type KeywordUpdateParams as KeywordUpdateParams, type KeywordListParams as KeywordListParams, };
|
|
164
|
+
export { type KeywordMonitor as KeywordMonitor, type KeywordCreateResponse as KeywordCreateResponse, type KeywordRetrieveResponse as KeywordRetrieveResponse, type KeywordUpdateResponse as KeywordUpdateResponse, type KeywordListResponse as KeywordListResponse, type KeywordDeactivateResponse as KeywordDeactivateResponse, type KeywordCreateParams as KeywordCreateParams, type KeywordUpdateParams as KeywordUpdateParams, type KeywordListParams as KeywordListParams, };
|
|
251
165
|
}
|
|
252
166
|
//# sourceMappingURL=keywords.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keywords.d.ts","sourceRoot":"","sources":["../../src/resources/monitors/keywords.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,MAAM,qBAAkB;AACpC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AQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB;AAED,MAAM,WAAW,iBAAiB;IAChC;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.mjs";
|
|
2
2
|
import * as Shared from "../shared.mjs";
|
|
3
|
+
import * as PostsAPI from "./posts.mjs";
|
|
4
|
+
import { PostCreateParams, PostDeleteResponse, PostEventType, PostListParams, MonitorPostDeleted, MonitorPostEdit, MonitorPostMetricChange, PostListResponse, PostMetricPoint, PostMetricReading, PostMetrics, PostMonitor, PostMonitorMetrics, PostMonitorMetricsBucket, PostMonitorMetricsBucketMetrics, PostRetrieveMetricsParams, PostUpdateParams, Posts } from "./posts.mjs";
|
|
3
5
|
import * as KeywordsAPI from "./keywords.mjs";
|
|
4
|
-
import { KeywordCreateParams, KeywordCreateResponse, KeywordDeactivateResponse, KeywordListParams, KeywordListResponse, KeywordRetrieveResponse, KeywordUpdateParams, KeywordUpdateResponse, Keywords } from "./keywords.mjs";
|
|
6
|
+
import { KeywordCreateParams, KeywordCreateResponse, KeywordDeactivateResponse, KeywordListParams, KeywordListResponse, KeywordMonitor, KeywordRetrieveResponse, KeywordUpdateParams, KeywordUpdateResponse, Keywords } from "./keywords.mjs";
|
|
5
7
|
import { APIPromise } from "../../core/api-promise.mjs";
|
|
6
8
|
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
7
9
|
/**
|
|
@@ -9,6 +11,7 @@ import { RequestOptions } from "../../internal/request-options.mjs";
|
|
|
9
11
|
*/
|
|
10
12
|
export declare class Monitors extends APIResource {
|
|
11
13
|
keywords: KeywordsAPI.Keywords;
|
|
14
|
+
posts: PostsAPI.Posts;
|
|
12
15
|
/**
|
|
13
16
|
* Creates an account monitor, with no count limit. Active monitors check every
|
|
14
17
|
* second for 30 credits an hour, events & webhook deliveries included. That hourly
|
|
@@ -171,6 +174,7 @@ export interface MonitorListParams {
|
|
|
171
174
|
}
|
|
172
175
|
export declare namespace Monitors {
|
|
173
176
|
export { type Monitor as Monitor, type MonitorCreateResponse as MonitorCreateResponse, type MonitorListResponse as MonitorListResponse, type MonitorDeactivateResponse as MonitorDeactivateResponse, type MonitorCreateParams as MonitorCreateParams, type MonitorUpdateParams as MonitorUpdateParams, type MonitorListParams as MonitorListParams, };
|
|
174
|
-
export { Keywords as Keywords, type KeywordCreateResponse as KeywordCreateResponse, type KeywordRetrieveResponse as KeywordRetrieveResponse, type KeywordUpdateResponse as KeywordUpdateResponse, type KeywordListResponse as KeywordListResponse, type KeywordDeactivateResponse as KeywordDeactivateResponse, type KeywordCreateParams as KeywordCreateParams, type KeywordUpdateParams as KeywordUpdateParams, type KeywordListParams as KeywordListParams, };
|
|
177
|
+
export { Keywords as Keywords, type KeywordMonitor as KeywordMonitor, type KeywordCreateResponse as KeywordCreateResponse, type KeywordRetrieveResponse as KeywordRetrieveResponse, type KeywordUpdateResponse as KeywordUpdateResponse, type KeywordListResponse as KeywordListResponse, type KeywordDeactivateResponse as KeywordDeactivateResponse, type KeywordCreateParams as KeywordCreateParams, type KeywordUpdateParams as KeywordUpdateParams, type KeywordListParams as KeywordListParams, };
|
|
178
|
+
export { Posts as Posts, type PostEventType as PostEventType, type PostMetricReading as PostMetricReading, type PostMetrics as PostMetrics, type PostMonitor as PostMonitor, type PostMetricPoint as PostMetricPoint, type PostMonitorMetricsBucketMetrics as PostMonitorMetricsBucketMetrics, type PostMonitorMetricsBucket as PostMonitorMetricsBucket, type PostMonitorMetrics as PostMonitorMetrics, type MonitorPostMetricChange as MonitorPostMetricChange, type MonitorPostEdit as MonitorPostEdit, type MonitorPostDeleted as MonitorPostDeleted, type PostListResponse as PostListResponse, type PostDeleteResponse as PostDeleteResponse, type PostCreateParams as PostCreateParams, type PostUpdateParams as PostUpdateParams, type PostListParams as PostListParams, type PostRetrieveMetricsParams as PostRetrieveMetricsParams, };
|
|
175
179
|
}
|
|
176
180
|
//# sourceMappingURL=monitors.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"monitors.d.mts","sourceRoot":"","sources":["../../src/resources/monitors/monitors.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,MAAM,sBAAkB;AACpC,OAAO,KAAK,WAAW,uBAAmB;AAC1C,OAAO,EACL,mBAAmB,EACnB,qBAAqB,EACrB,yBAAyB,EACzB,iBAAiB,EACjB,mBAAmB,EACnB,uBAAuB,EACvB,mBAAmB,EACnB,qBAAqB,EACrB,QAAQ,EACT,uBAAmB;AACpB,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE;;GAEG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAA0C;
|
|
1
|
+
{"version":3,"file":"monitors.d.mts","sourceRoot":"","sources":["../../src/resources/monitors/monitors.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,MAAM,sBAAkB;AACpC,OAAO,KAAK,QAAQ,oBAAgB;A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O,EACL,KAAK,IAAI,KAAK,EACd,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.js";
|
|
2
2
|
import * as Shared from "../shared.js";
|
|
3
|
+
import * as PostsAPI from "./posts.js";
|
|
4
|
+
import { PostCreateParams, PostDeleteResponse, PostEventType, PostListParams, MonitorPostDeleted, MonitorPostEdit, MonitorPostMetricChange, PostListResponse, PostMetricPoint, PostMetricReading, PostMetrics, PostMonitor, PostMonitorMetrics, PostMonitorMetricsBucket, PostMonitorMetricsBucketMetrics, PostRetrieveMetricsParams, PostUpdateParams, Posts } from "./posts.js";
|
|
3
5
|
import * as KeywordsAPI from "./keywords.js";
|
|
4
|
-
import { KeywordCreateParams, KeywordCreateResponse, KeywordDeactivateResponse, KeywordListParams, KeywordListResponse, KeywordRetrieveResponse, KeywordUpdateParams, KeywordUpdateResponse, Keywords } from "./keywords.js";
|
|
6
|
+
import { KeywordCreateParams, KeywordCreateResponse, KeywordDeactivateResponse, KeywordListParams, KeywordListResponse, KeywordMonitor, KeywordRetrieveResponse, KeywordUpdateParams, KeywordUpdateResponse, Keywords } from "./keywords.js";
|
|
5
7
|
import { APIPromise } from "../../core/api-promise.js";
|
|
6
8
|
import { RequestOptions } from "../../internal/request-options.js";
|
|
7
9
|
/**
|
|
@@ -9,6 +11,7 @@ import { RequestOptions } from "../../internal/request-options.js";
|
|
|
9
11
|
*/
|
|
10
12
|
export declare class Monitors extends APIResource {
|
|
11
13
|
keywords: KeywordsAPI.Keywords;
|
|
14
|
+
posts: PostsAPI.Posts;
|
|
12
15
|
/**
|
|
13
16
|
* Creates an account monitor, with no count limit. Active monitors check every
|
|
14
17
|
* second for 30 credits an hour, events & webhook deliveries included. That hourly
|
|
@@ -171,6 +174,7 @@ export interface MonitorListParams {
|
|
|
171
174
|
}
|
|
172
175
|
export declare namespace Monitors {
|
|
173
176
|
export { type Monitor as Monitor, type MonitorCreateResponse as MonitorCreateResponse, type MonitorListResponse as MonitorListResponse, type MonitorDeactivateResponse as MonitorDeactivateResponse, type MonitorCreateParams as MonitorCreateParams, type MonitorUpdateParams as MonitorUpdateParams, type MonitorListParams as MonitorListParams, };
|
|
174
|
-
export { Keywords as Keywords, type KeywordCreateResponse as KeywordCreateResponse, type KeywordRetrieveResponse as KeywordRetrieveResponse, type KeywordUpdateResponse as KeywordUpdateResponse, type KeywordListResponse as KeywordListResponse, type KeywordDeactivateResponse as KeywordDeactivateResponse, type KeywordCreateParams as KeywordCreateParams, type KeywordUpdateParams as KeywordUpdateParams, type KeywordListParams as KeywordListParams, };
|
|
177
|
+
export { Keywords as Keywords, type KeywordMonitor as KeywordMonitor, type KeywordCreateResponse as KeywordCreateResponse, type KeywordRetrieveResponse as KeywordRetrieveResponse, type KeywordUpdateResponse as KeywordUpdateResponse, type KeywordListResponse as KeywordListResponse, type KeywordDeactivateResponse as KeywordDeactivateResponse, type KeywordCreateParams as KeywordCreateParams, type KeywordUpdateParams as KeywordUpdateParams, type KeywordListParams as KeywordListParams, };
|
|
178
|
+
export { Posts as Posts, type PostEventType as PostEventType, type PostMetricReading as PostMetricReading, type PostMetrics as PostMetrics, type PostMonitor as PostMonitor, type PostMetricPoint as PostMetricPoint, type PostMonitorMetricsBucketMetrics as PostMonitorMetricsBucketMetrics, type PostMonitorMetricsBucket as PostMonitorMetricsBucket, type PostMonitorMetrics as PostMonitorMetrics, type MonitorPostMetricChange as MonitorPostMetricChange, type MonitorPostEdit as MonitorPostEdit, type MonitorPostDeleted as MonitorPostDeleted, type PostListResponse as PostListResponse, type PostDeleteResponse as PostDeleteResponse, type PostCreateParams as PostCreateParams, type PostUpdateParams as PostUpdateParams, type PostListParams as PostListParams, type PostRetrieveMetricsParams as PostRetrieveMetricsParams, };
|
|
175
179
|
}
|
|
176
180
|
//# sourceMappingURL=monitors.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"monitors.d.ts","sourceRoot":"","sources":["../../src/resources/monitors/monitors.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,MAAM,qBAAkB;AACpC,OAAO,KAAK,WAAW,sBAAmB;AAC1C,OAAO,EACL,mBAAmB,EACnB,qBAAqB,EACrB,yBAAyB,EACzB,iBAAiB,EACjB,mBAAmB,EACnB,uBAAuB,EACvB,mBAAmB,EACnB,qBAAqB,EACrB,QAAQ,EACT,sBAAmB;AACpB,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE;;GAEG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAA0C;
|
|
1
|
+
{"version":3,"file":"monitors.d.ts","sourceRoot":"","sources":["../../src/resources/monitors/monitors.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,MAAM,qBAAkB;AACpC,OAAO,KAAK,QAAQ,mBAAgB;AACpC,OAAO,EACL,gBAAgB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K,EACd,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
|
|
@@ -6,6 +6,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.Monitors = void 0;
|
|
7
7
|
const tslib_1 = require("../../internal/tslib.js");
|
|
8
8
|
const resource_1 = require("../../core/resource.js");
|
|
9
|
+
const PostsAPI = tslib_1.__importStar(require("./posts.js"));
|
|
10
|
+
const posts_1 = require("./posts.js");
|
|
9
11
|
const KeywordsAPI = tslib_1.__importStar(require("./keywords.js"));
|
|
10
12
|
const keywords_1 = require("./keywords.js");
|
|
11
13
|
const path_1 = require("../../internal/utils/path.js");
|
|
@@ -16,6 +18,7 @@ class Monitors extends resource_1.APIResource {
|
|
|
16
18
|
constructor() {
|
|
17
19
|
super(...arguments);
|
|
18
20
|
this.keywords = new KeywordsAPI.Keywords(this._client);
|
|
21
|
+
this.posts = new PostsAPI.Posts(this._client);
|
|
19
22
|
}
|
|
20
23
|
/**
|
|
21
24
|
* Creates an account monitor, with no count limit. Active monitors check every
|
|
@@ -86,4 +89,5 @@ class Monitors extends resource_1.APIResource {
|
|
|
86
89
|
}
|
|
87
90
|
exports.Monitors = Monitors;
|
|
88
91
|
Monitors.Keywords = keywords_1.Keywords;
|
|
92
|
+
Monitors.Posts = posts_1.Posts;
|
|
89
93
|
//# sourceMappingURL=monitors.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"monitors.js","sourceRoot":"","sources":["../../src/resources/monitors/monitors.ts"],"names":[],"mappings":";AAAA,kDAAkD;AAClD,EAAE;AACF,sCAAsC;;;;AAEtC,qDAAkD;AAElD,MAAY,WAAW,kDAAmB;AAC1C,
|
|
1
|
+
{"version":3,"file":"monitors.js","sourceRoot":"","sources":["../../src/resources/monitors/monitors.ts"],"names":[],"mappings":";AAAA,kDAAkD;AAClD,EAAE;AACF,sCAAsC;;;;AAEtC,qDAAkD;AAElD,MAAY,QAAQ,+CAAgB;AACpC,sCAmBiB;AACjB,MAAY,WAAW,kDAAmB;AAC1C,4CAWoB;AAGpB,uDAAiD;AAEjD;;GAEG;AACH,cAAsB,SAAQ,sBAAW;IAAzC;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxE,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA2E3D,CAAC;IAzEC;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,IAAyB,EAAE,OAAwB;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,aAAa,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC1D,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,EAAU,EAAE,IAAyB,EAAE,OAAwB;QACpE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,aAAa,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzE,CAAC;IAED;;;;;;;OAOG;IACH,IAAI,CACF,KAAK,GAAyC,EAAE,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED;;;;;;;;OAQG;IACH,UAAU,CAAC,EAAU,EAAE,OAAwB;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,aAAa,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC7D,CAAC;CACF;;AAyID,QAAQ,CAAC,QAAQ,GAAG,mBAAQ,CAAC;AAC7B,QAAQ,CAAC,KAAK,GAAG,aAAK,CAAC"}
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
//
|
|
3
3
|
// SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
import { APIResource } from "../../core/resource.mjs";
|
|
5
|
+
import * as PostsAPI from "./posts.mjs";
|
|
6
|
+
import { Posts, } from "./posts.mjs";
|
|
5
7
|
import * as KeywordsAPI from "./keywords.mjs";
|
|
6
8
|
import { Keywords, } from "./keywords.mjs";
|
|
7
9
|
import { path } from "../../internal/utils/path.mjs";
|
|
@@ -12,6 +14,7 @@ export class Monitors extends APIResource {
|
|
|
12
14
|
constructor() {
|
|
13
15
|
super(...arguments);
|
|
14
16
|
this.keywords = new KeywordsAPI.Keywords(this._client);
|
|
17
|
+
this.posts = new PostsAPI.Posts(this._client);
|
|
15
18
|
}
|
|
16
19
|
/**
|
|
17
20
|
* Creates an account monitor, with no count limit. Active monitors check every
|
|
@@ -81,4 +84,5 @@ export class Monitors extends APIResource {
|
|
|
81
84
|
}
|
|
82
85
|
}
|
|
83
86
|
Monitors.Keywords = Keywords;
|
|
87
|
+
Monitors.Posts = Posts;
|
|
84
88
|
//# sourceMappingURL=monitors.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"monitors.mjs","sourceRoot":"","sources":["../../src/resources/monitors/monitors.ts"],"names":[],"mappings":"AAAA,kDAAkD;AAClD,EAAE;AACF,sCAAsC;AAEtC,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAElD,OAAO,KAAK,WAAW,uBAAmB;AAC1C,OAAO,
|
|
1
|
+
{"version":3,"file":"monitors.mjs","sourceRoot":"","sources":["../../src/resources/monitors/monitors.ts"],"names":[],"mappings":"AAAA,kDAAkD;AAClD,EAAE;AACF,sCAAsC;AAEtC,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAElD,OAAO,KAAK,QAAQ,oBAAgB;AACpC,OAAO,EAkBL,KAAK,GACN,oBAAgB;AACjB,OAAO,KAAK,WAAW,uBAAmB;AAC1C,OAAO,EAUL,QAAQ,GACT,uBAAmB;AAGpB,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD;;GAEG;AACH,MAAM,OAAO,QAAS,SAAQ,WAAW;IAAzC;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxE,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA2E3D,CAAC;IAzEC;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,IAAyB,EAAE,OAAwB;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI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