scrapebadger 0.35.0 → 0.36.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/dist/{index-ZD3sVCjc.d.cts → index-Dz6kHfFt.d.cts} +17 -0
- package/dist/{index-ZD3sVCjc.d.ts → index-Dz6kHfFt.d.ts} +17 -0
- package/dist/index.d.cts +160 -2
- package/dist/index.d.ts +160 -2
- package/dist/index.js +597 -403
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +597 -403
- package/dist/index.mjs.map +1 -1
- package/dist/twitter/index.d.cts +1 -1
- package/dist/twitter/index.d.ts +1 -1
- package/dist/twitter/index.js +55 -0
- package/dist/twitter/index.js.map +1 -1
- package/dist/twitter/index.mjs +55 -0
- package/dist/twitter/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/twitter/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { a3 as ApiResponse, $ as Article, aj as BillingLog, ak as BillingLogList, a2 as Broadcast, j as CommunitiesClient, K as Community, F as CommunityBanner, O as CommunityMember, a0 as CommunityNote, J as CommunityRule, q as CommunityTweetType, al as ConnectOptions, ab as ConnectedEvent, a8 as CreateMonitorParams, ah as DeliveryLog, ai as DeliveryLogList, ae as ErrorEvent, ao as FilterRuleCreate, at as FilterRuleDeliveryLog, au as FilterRuleDeliveryLogListResponse, ar as FilterRuleListResponse, aq as FilterRulePricingTier, av as FilterRulePricingTiersResponse, an as FilterRuleResponse, am as FilterRuleStatus, ap as FilterRuleUpdate, as as FilterRuleValidateResponse, G as GeoClient, l as GeoSearchOptions, H as Hashtag, E as List, a4 as ListResponse, L as ListsClient, Y as Location, M as Media, a5 as MonitorStatus, ac as PingEvent, _ as Place, Z as PlaceTrends, s as Poll, r as PollOption, Q as QueryType, a1 as Space, o as SpacesClient, m as StreamClient, n as StreamEmitter, af as StreamEvent, ag as StreamEventType, a6 as StreamMonitor, a7 as StreamMonitorList, aa as StreamTweet, X as Trend, p as TrendCategory, k as TrendsClient, x as Tweet, ad as TweetEvent, w as TweetPlace, i as TweetsClient, T as TwitterClient, a9 as UpdateMonitorParams, t as Url, y as User, z as UserAbout, D as UserIds, u as UserMention, U as UsersClient, v as verifyWebhookSignature } from '../index-
|
|
1
|
+
export { a3 as ApiResponse, $ as Article, aj as BillingLog, ak as BillingLogList, a2 as Broadcast, j as CommunitiesClient, K as Community, F as CommunityBanner, O as CommunityMember, a0 as CommunityNote, J as CommunityRule, q as CommunityTweetType, al as ConnectOptions, ab as ConnectedEvent, a8 as CreateMonitorParams, ah as DeliveryLog, ai as DeliveryLogList, ae as ErrorEvent, ao as FilterRuleCreate, at as FilterRuleDeliveryLog, au as FilterRuleDeliveryLogListResponse, ar as FilterRuleListResponse, aq as FilterRulePricingTier, av as FilterRulePricingTiersResponse, an as FilterRuleResponse, am as FilterRuleStatus, ap as FilterRuleUpdate, as as FilterRuleValidateResponse, G as GeoClient, l as GeoSearchOptions, H as Hashtag, E as List, a4 as ListResponse, L as ListsClient, Y as Location, M as Media, a5 as MonitorStatus, ac as PingEvent, _ as Place, Z as PlaceTrends, s as Poll, r as PollOption, Q as QueryType, a1 as Space, o as SpacesClient, m as StreamClient, n as StreamEmitter, af as StreamEvent, ag as StreamEventType, a6 as StreamMonitor, a7 as StreamMonitorList, aa as StreamTweet, X as Trend, p as TrendCategory, k as TrendsClient, x as Tweet, ad as TweetEvent, w as TweetPlace, i as TweetsClient, T as TwitterClient, a9 as UpdateMonitorParams, t as Url, y as User, z as UserAbout, D as UserIds, u as UserMention, U as UsersClient, v as verifyWebhookSignature } from '../index-Dz6kHfFt.cjs';
|
|
2
2
|
import 'node:events';
|
package/dist/twitter/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { a3 as ApiResponse, $ as Article, aj as BillingLog, ak as BillingLogList, a2 as Broadcast, j as CommunitiesClient, K as Community, F as CommunityBanner, O as CommunityMember, a0 as CommunityNote, J as CommunityRule, q as CommunityTweetType, al as ConnectOptions, ab as ConnectedEvent, a8 as CreateMonitorParams, ah as DeliveryLog, ai as DeliveryLogList, ae as ErrorEvent, ao as FilterRuleCreate, at as FilterRuleDeliveryLog, au as FilterRuleDeliveryLogListResponse, ar as FilterRuleListResponse, aq as FilterRulePricingTier, av as FilterRulePricingTiersResponse, an as FilterRuleResponse, am as FilterRuleStatus, ap as FilterRuleUpdate, as as FilterRuleValidateResponse, G as GeoClient, l as GeoSearchOptions, H as Hashtag, E as List, a4 as ListResponse, L as ListsClient, Y as Location, M as Media, a5 as MonitorStatus, ac as PingEvent, _ as Place, Z as PlaceTrends, s as Poll, r as PollOption, Q as QueryType, a1 as Space, o as SpacesClient, m as StreamClient, n as StreamEmitter, af as StreamEvent, ag as StreamEventType, a6 as StreamMonitor, a7 as StreamMonitorList, aa as StreamTweet, X as Trend, p as TrendCategory, k as TrendsClient, x as Tweet, ad as TweetEvent, w as TweetPlace, i as TweetsClient, T as TwitterClient, a9 as UpdateMonitorParams, t as Url, y as User, z as UserAbout, D as UserIds, u as UserMention, U as UsersClient, v as verifyWebhookSignature } from '../index-
|
|
1
|
+
export { a3 as ApiResponse, $ as Article, aj as BillingLog, ak as BillingLogList, a2 as Broadcast, j as CommunitiesClient, K as Community, F as CommunityBanner, O as CommunityMember, a0 as CommunityNote, J as CommunityRule, q as CommunityTweetType, al as ConnectOptions, ab as ConnectedEvent, a8 as CreateMonitorParams, ah as DeliveryLog, ai as DeliveryLogList, ae as ErrorEvent, ao as FilterRuleCreate, at as FilterRuleDeliveryLog, au as FilterRuleDeliveryLogListResponse, ar as FilterRuleListResponse, aq as FilterRulePricingTier, av as FilterRulePricingTiersResponse, an as FilterRuleResponse, am as FilterRuleStatus, ap as FilterRuleUpdate, as as FilterRuleValidateResponse, G as GeoClient, l as GeoSearchOptions, H as Hashtag, E as List, a4 as ListResponse, L as ListsClient, Y as Location, M as Media, a5 as MonitorStatus, ac as PingEvent, _ as Place, Z as PlaceTrends, s as Poll, r as PollOption, Q as QueryType, a1 as Space, o as SpacesClient, m as StreamClient, n as StreamEmitter, af as StreamEvent, ag as StreamEventType, a6 as StreamMonitor, a7 as StreamMonitorList, aa as StreamTweet, X as Trend, p as TrendCategory, k as TrendsClient, x as Tweet, ad as TweetEvent, w as TweetPlace, i as TweetsClient, T as TwitterClient, a9 as UpdateMonitorParams, t as Url, y as User, z as UserAbout, D as UserIds, u as UserMention, U as UsersClient, v as verifyWebhookSignature } from '../index-Dz6kHfFt.js';
|
|
2
2
|
import 'node:events';
|
package/dist/twitter/index.js
CHANGED
|
@@ -2074,6 +2074,7 @@ var SpacesClient = class {
|
|
|
2074
2074
|
|
|
2075
2075
|
// src/twitter/client.ts
|
|
2076
2076
|
var TwitterClient = class {
|
|
2077
|
+
_gen;
|
|
2077
2078
|
/** Client for tweet operations */
|
|
2078
2079
|
tweets;
|
|
2079
2080
|
/** Client for user operations */
|
|
@@ -2096,6 +2097,7 @@ var TwitterClient = class {
|
|
|
2096
2097
|
* @param client - The base HTTP client for making requests.
|
|
2097
2098
|
*/
|
|
2098
2099
|
constructor(client) {
|
|
2100
|
+
this._gen = client;
|
|
2099
2101
|
this.tweets = new TweetsClient(client);
|
|
2100
2102
|
this.users = new UsersClient(client);
|
|
2101
2103
|
this.lists = new ListsClient(client);
|
|
@@ -2105,6 +2107,59 @@ var TwitterClient = class {
|
|
|
2105
2107
|
this.stream = new StreamClient(client);
|
|
2106
2108
|
this.spaces = new SpacesClient(client);
|
|
2107
2109
|
}
|
|
2110
|
+
// --- generated by sdk/codegen/facade — do not edit ---
|
|
2111
|
+
/** Delete filter rule. Generated from the OpenAPI spec; returns the raw response object. */
|
|
2112
|
+
async deleteFilterRule(ruleId, body, params = {}) {
|
|
2113
|
+
return this._gen.request(`/v1/twitter/stream/filter-rules/${ruleId}`, {
|
|
2114
|
+
method: "DELETE",
|
|
2115
|
+
params,
|
|
2116
|
+
body
|
|
2117
|
+
});
|
|
2118
|
+
}
|
|
2119
|
+
/** Update filter rule. Generated from the OpenAPI spec; returns the raw response object. */
|
|
2120
|
+
async updateFilterRule(ruleId, body, params = {}) {
|
|
2121
|
+
return this._gen.request(`/v1/twitter/stream/filter-rules/${ruleId}`, {
|
|
2122
|
+
method: "PATCH",
|
|
2123
|
+
params,
|
|
2124
|
+
body
|
|
2125
|
+
});
|
|
2126
|
+
}
|
|
2127
|
+
/** Delete stream monitor. Generated from the OpenAPI spec; returns the raw response object. */
|
|
2128
|
+
async deleteStreamMonitor(monitorId, body, params = {}) {
|
|
2129
|
+
return this._gen.request(`/v1/twitter/stream/monitors/${monitorId}`, {
|
|
2130
|
+
method: "DELETE",
|
|
2131
|
+
params,
|
|
2132
|
+
body
|
|
2133
|
+
});
|
|
2134
|
+
}
|
|
2135
|
+
/** Update stream monitor. Generated from the OpenAPI spec; returns the raw response object. */
|
|
2136
|
+
async updateStreamMonitor(monitorId, body, params = {}) {
|
|
2137
|
+
return this._gen.request(`/v1/twitter/stream/monitors/${monitorId}`, {
|
|
2138
|
+
method: "PATCH",
|
|
2139
|
+
params,
|
|
2140
|
+
body
|
|
2141
|
+
});
|
|
2142
|
+
}
|
|
2143
|
+
/** List webhooks. Generated from the OpenAPI spec; returns the raw response object. */
|
|
2144
|
+
async listWebhooks(params = {}) {
|
|
2145
|
+
return this._gen.request("/v1/twitter/stream/webhooks", { params });
|
|
2146
|
+
}
|
|
2147
|
+
/** Configure webhook on a monitor. Generated from the OpenAPI spec; returns the raw response object. */
|
|
2148
|
+
async configureWebhookOnAMonitor(body, params = {}) {
|
|
2149
|
+
return this._gen.request("/v1/twitter/stream/webhooks", { method: "POST", params, body });
|
|
2150
|
+
}
|
|
2151
|
+
/** Test webhook delivery. Generated from the OpenAPI spec; returns the raw response object. */
|
|
2152
|
+
async testWebhookDelivery(body, params = {}) {
|
|
2153
|
+
return this._gen.request("/v1/twitter/stream/webhooks/test", { method: "POST", params, body });
|
|
2154
|
+
}
|
|
2155
|
+
/** Remove webhook from monitor. Generated from the OpenAPI spec; returns the raw response object. */
|
|
2156
|
+
async removeWebhookFromMonitor(webhookId, body, params = {}) {
|
|
2157
|
+
return this._gen.request(`/v1/twitter/stream/webhooks/${webhookId}`, {
|
|
2158
|
+
method: "DELETE",
|
|
2159
|
+
params,
|
|
2160
|
+
body
|
|
2161
|
+
});
|
|
2162
|
+
}
|
|
2108
2163
|
};
|
|
2109
2164
|
|
|
2110
2165
|
exports.CommunitiesClient = CommunitiesClient;
|