@corsair-dev/xquik 0.1.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.
Files changed (41) hide show
  1. package/LICENSE +191 -0
  2. package/dist/api.test.d.ts +2 -0
  3. package/dist/api.test.d.ts.map +1 -0
  4. package/dist/client.d.ts +22 -0
  5. package/dist/client.d.ts.map +1 -0
  6. package/dist/endpoints/helpers.d.ts +8 -0
  7. package/dist/endpoints/helpers.d.ts.map +1 -0
  8. package/dist/endpoints/index.d.ts +9 -0
  9. package/dist/endpoints/index.d.ts.map +1 -0
  10. package/dist/endpoints/media.d.ts +4 -0
  11. package/dist/endpoints/media.d.ts.map +1 -0
  12. package/dist/endpoints/trends.d.ts +3 -0
  13. package/dist/endpoints/trends.d.ts.map +1 -0
  14. package/dist/endpoints/tweets.d.ts +10 -0
  15. package/dist/endpoints/tweets.d.ts.map +1 -0
  16. package/dist/endpoints/types.d.ts +1293 -0
  17. package/dist/endpoints/types.d.ts.map +1 -0
  18. package/dist/endpoints/users.d.ts +10 -0
  19. package/dist/endpoints/users.d.ts.map +1 -0
  20. package/dist/endpoints/webhooks.d.ts +8 -0
  21. package/dist/endpoints/webhooks.d.ts.map +1 -0
  22. package/dist/endpoints/write-actions.d.ts +3 -0
  23. package/dist/endpoints/write-actions.d.ts.map +1 -0
  24. package/dist/error-handlers.d.ts +47 -0
  25. package/dist/error-handlers.d.ts.map +1 -0
  26. package/dist/index.d.ts +805 -0
  27. package/dist/index.d.ts.map +1 -0
  28. package/dist/index.js +1 -0
  29. package/dist/schema/database.d.ts +125 -0
  30. package/dist/schema/database.d.ts.map +1 -0
  31. package/dist/schema/index.d.ts +130 -0
  32. package/dist/schema/index.d.ts.map +1 -0
  33. package/dist/tsup.config.d.ts +3 -0
  34. package/dist/tsup.config.d.ts.map +1 -0
  35. package/dist/webhooks/events.d.ts +4 -0
  36. package/dist/webhooks/events.d.ts.map +1 -0
  37. package/dist/webhooks/index.d.ts +56 -0
  38. package/dist/webhooks/index.d.ts.map +1 -0
  39. package/dist/webhooks/types.d.ts +15 -0
  40. package/dist/webhooks/types.d.ts.map +1 -0
  41. package/package.json +46 -0
@@ -0,0 +1,1293 @@
1
+ import { z } from 'zod';
2
+ export declare const EventTypeSchema: z.ZodEnum<{
3
+ "tweet.new": "tweet.new";
4
+ "tweet.quote": "tweet.quote";
5
+ "tweet.reply": "tweet.reply";
6
+ "tweet.retweet": "tweet.retweet";
7
+ }>;
8
+ export type XquikEventType = z.infer<typeof EventTypeSchema>;
9
+ export declare const EventTypeArraySchema: z.ZodArray<z.ZodEnum<{
10
+ "tweet.new": "tweet.new";
11
+ "tweet.quote": "tweet.quote";
12
+ "tweet.reply": "tweet.reply";
13
+ "tweet.retweet": "tweet.retweet";
14
+ }>>;
15
+ declare const TweetFilterSchema: z.ZodObject<{
16
+ anyWords: z.ZodOptional<z.ZodString>;
17
+ cashtags: z.ZodOptional<z.ZodString>;
18
+ conversationId: z.ZodOptional<z.ZodString>;
19
+ exactPhrase: z.ZodOptional<z.ZodString>;
20
+ excludeWords: z.ZodOptional<z.ZodString>;
21
+ fromUser: z.ZodOptional<z.ZodString>;
22
+ hashtags: z.ZodOptional<z.ZodString>;
23
+ inReplyToTweetId: z.ZodOptional<z.ZodString>;
24
+ language: z.ZodOptional<z.ZodString>;
25
+ mediaType: z.ZodOptional<z.ZodEnum<{
26
+ gifs: "gifs";
27
+ images: "images";
28
+ links: "links";
29
+ media: "media";
30
+ none: "none";
31
+ videos: "videos";
32
+ }>>;
33
+ mentioning: z.ZodOptional<z.ZodString>;
34
+ minFaves: z.ZodOptional<z.ZodNumber>;
35
+ minQuotes: z.ZodOptional<z.ZodNumber>;
36
+ minReplies: z.ZodOptional<z.ZodNumber>;
37
+ minRetweets: z.ZodOptional<z.ZodNumber>;
38
+ quotes: z.ZodOptional<z.ZodEnum<{
39
+ only: "only";
40
+ exclude: "exclude";
41
+ include: "include";
42
+ }>>;
43
+ quotesOfTweetId: z.ZodOptional<z.ZodString>;
44
+ replies: z.ZodOptional<z.ZodEnum<{
45
+ only: "only";
46
+ exclude: "exclude";
47
+ include: "include";
48
+ }>>;
49
+ retweets: z.ZodOptional<z.ZodEnum<{
50
+ only: "only";
51
+ exclude: "exclude";
52
+ include: "include";
53
+ }>>;
54
+ retweetsOfTweetId: z.ZodOptional<z.ZodString>;
55
+ sinceDate: z.ZodOptional<z.ZodString>;
56
+ toUser: z.ZodOptional<z.ZodString>;
57
+ untilDate: z.ZodOptional<z.ZodString>;
58
+ url: z.ZodOptional<z.ZodString>;
59
+ verifiedOnly: z.ZodOptional<z.ZodBoolean>;
60
+ }, z.core.$strip>;
61
+ export type TweetFilter = z.infer<typeof TweetFilterSchema>;
62
+ export declare const TweetMediaSchema: z.ZodObject<{
63
+ mediaUrl: z.ZodOptional<z.ZodString>;
64
+ type: z.ZodOptional<z.ZodEnum<{
65
+ animated_gif: "animated_gif";
66
+ photo: "photo";
67
+ video: "video";
68
+ }>>;
69
+ url: z.ZodOptional<z.ZodString>;
70
+ }, z.core.$loose>;
71
+ export type TweetMedia = z.infer<typeof TweetMediaSchema>;
72
+ export declare const UserProfileSchema: z.ZodObject<{
73
+ coverPicture: z.ZodOptional<z.ZodString>;
74
+ createdAt: z.ZodOptional<z.ZodString>;
75
+ description: z.ZodOptional<z.ZodString>;
76
+ followers: z.ZodOptional<z.ZodNumber>;
77
+ following: z.ZodOptional<z.ZodNumber>;
78
+ id: z.ZodString;
79
+ location: z.ZodOptional<z.ZodString>;
80
+ name: z.ZodString;
81
+ profilePicture: z.ZodOptional<z.ZodString>;
82
+ statusesCount: z.ZodOptional<z.ZodNumber>;
83
+ username: z.ZodString;
84
+ verified: z.ZodOptional<z.ZodBoolean>;
85
+ }, z.core.$loose>;
86
+ export type UserProfile = z.infer<typeof UserProfileSchema>;
87
+ export declare const TweetAuthorSchema: z.ZodObject<{
88
+ followers: z.ZodNumber;
89
+ id: z.ZodString;
90
+ profilePicture: z.ZodOptional<z.ZodString>;
91
+ username: z.ZodString;
92
+ verified: z.ZodBoolean;
93
+ }, z.core.$loose>;
94
+ export type TweetAuthor = z.infer<typeof TweetAuthorSchema>;
95
+ export declare const SearchTweetSchema: z.ZodObject<{
96
+ author: z.ZodOptional<z.ZodObject<{
97
+ coverPicture: z.ZodOptional<z.ZodString>;
98
+ createdAt: z.ZodOptional<z.ZodString>;
99
+ description: z.ZodOptional<z.ZodString>;
100
+ followers: z.ZodOptional<z.ZodNumber>;
101
+ following: z.ZodOptional<z.ZodNumber>;
102
+ id: z.ZodString;
103
+ location: z.ZodOptional<z.ZodString>;
104
+ name: z.ZodString;
105
+ profilePicture: z.ZodOptional<z.ZodString>;
106
+ statusesCount: z.ZodOptional<z.ZodNumber>;
107
+ username: z.ZodString;
108
+ verified: z.ZodOptional<z.ZodBoolean>;
109
+ }, z.core.$loose>>;
110
+ bookmarkCount: z.ZodOptional<z.ZodNumber>;
111
+ conversationId: z.ZodOptional<z.ZodString>;
112
+ createdAt: z.ZodOptional<z.ZodString>;
113
+ entities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
114
+ id: z.ZodString;
115
+ inReplyToId: z.ZodOptional<z.ZodString>;
116
+ inReplyToUserId: z.ZodOptional<z.ZodString>;
117
+ inReplyToUsername: z.ZodOptional<z.ZodString>;
118
+ isLimitedReply: z.ZodOptional<z.ZodBoolean>;
119
+ isNoteTweet: z.ZodOptional<z.ZodBoolean>;
120
+ isQuoteStatus: z.ZodOptional<z.ZodBoolean>;
121
+ isReply: z.ZodOptional<z.ZodBoolean>;
122
+ lang: z.ZodOptional<z.ZodString>;
123
+ likeCount: z.ZodOptional<z.ZodNumber>;
124
+ media: z.ZodOptional<z.ZodArray<z.ZodObject<{
125
+ mediaUrl: z.ZodOptional<z.ZodString>;
126
+ type: z.ZodOptional<z.ZodEnum<{
127
+ animated_gif: "animated_gif";
128
+ photo: "photo";
129
+ video: "video";
130
+ }>>;
131
+ url: z.ZodOptional<z.ZodString>;
132
+ }, z.core.$loose>>>;
133
+ quoteCount: z.ZodOptional<z.ZodNumber>;
134
+ replyCount: z.ZodOptional<z.ZodNumber>;
135
+ retweetCount: z.ZodOptional<z.ZodNumber>;
136
+ source: z.ZodOptional<z.ZodString>;
137
+ text: z.ZodString;
138
+ type: z.ZodOptional<z.ZodString>;
139
+ url: z.ZodOptional<z.ZodString>;
140
+ viewCount: z.ZodOptional<z.ZodNumber>;
141
+ }, z.core.$loose>;
142
+ export type SearchTweet = z.infer<typeof SearchTweetSchema>;
143
+ export declare const TweetDetailSchema: z.ZodObject<{
144
+ bookmarkCount: z.ZodNumber;
145
+ conversationId: z.ZodOptional<z.ZodString>;
146
+ createdAt: z.ZodOptional<z.ZodString>;
147
+ entities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
148
+ id: z.ZodString;
149
+ isNoteTweet: z.ZodOptional<z.ZodBoolean>;
150
+ isQuoteStatus: z.ZodOptional<z.ZodBoolean>;
151
+ isReply: z.ZodOptional<z.ZodBoolean>;
152
+ likeCount: z.ZodNumber;
153
+ media: z.ZodOptional<z.ZodArray<z.ZodObject<{
154
+ mediaUrl: z.ZodOptional<z.ZodString>;
155
+ type: z.ZodOptional<z.ZodEnum<{
156
+ animated_gif: "animated_gif";
157
+ photo: "photo";
158
+ video: "video";
159
+ }>>;
160
+ url: z.ZodOptional<z.ZodString>;
161
+ }, z.core.$loose>>>;
162
+ quoteCount: z.ZodNumber;
163
+ replyCount: z.ZodNumber;
164
+ retweetCount: z.ZodNumber;
165
+ source: z.ZodOptional<z.ZodString>;
166
+ text: z.ZodString;
167
+ viewCount: z.ZodNumber;
168
+ }, z.core.$loose>;
169
+ export type TweetDetail = z.infer<typeof TweetDetailSchema>;
170
+ export declare const PaginatedTweetsSchema: z.ZodObject<{
171
+ has_next_page: z.ZodBoolean;
172
+ next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
173
+ tweets: z.ZodArray<z.ZodObject<{
174
+ author: z.ZodOptional<z.ZodObject<{
175
+ coverPicture: z.ZodOptional<z.ZodString>;
176
+ createdAt: z.ZodOptional<z.ZodString>;
177
+ description: z.ZodOptional<z.ZodString>;
178
+ followers: z.ZodOptional<z.ZodNumber>;
179
+ following: z.ZodOptional<z.ZodNumber>;
180
+ id: z.ZodString;
181
+ location: z.ZodOptional<z.ZodString>;
182
+ name: z.ZodString;
183
+ profilePicture: z.ZodOptional<z.ZodString>;
184
+ statusesCount: z.ZodOptional<z.ZodNumber>;
185
+ username: z.ZodString;
186
+ verified: z.ZodOptional<z.ZodBoolean>;
187
+ }, z.core.$loose>>;
188
+ bookmarkCount: z.ZodOptional<z.ZodNumber>;
189
+ conversationId: z.ZodOptional<z.ZodString>;
190
+ createdAt: z.ZodOptional<z.ZodString>;
191
+ entities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
192
+ id: z.ZodString;
193
+ inReplyToId: z.ZodOptional<z.ZodString>;
194
+ inReplyToUserId: z.ZodOptional<z.ZodString>;
195
+ inReplyToUsername: z.ZodOptional<z.ZodString>;
196
+ isLimitedReply: z.ZodOptional<z.ZodBoolean>;
197
+ isNoteTweet: z.ZodOptional<z.ZodBoolean>;
198
+ isQuoteStatus: z.ZodOptional<z.ZodBoolean>;
199
+ isReply: z.ZodOptional<z.ZodBoolean>;
200
+ lang: z.ZodOptional<z.ZodString>;
201
+ likeCount: z.ZodOptional<z.ZodNumber>;
202
+ media: z.ZodOptional<z.ZodArray<z.ZodObject<{
203
+ mediaUrl: z.ZodOptional<z.ZodString>;
204
+ type: z.ZodOptional<z.ZodEnum<{
205
+ animated_gif: "animated_gif";
206
+ photo: "photo";
207
+ video: "video";
208
+ }>>;
209
+ url: z.ZodOptional<z.ZodString>;
210
+ }, z.core.$loose>>>;
211
+ quoteCount: z.ZodOptional<z.ZodNumber>;
212
+ replyCount: z.ZodOptional<z.ZodNumber>;
213
+ retweetCount: z.ZodOptional<z.ZodNumber>;
214
+ source: z.ZodOptional<z.ZodString>;
215
+ text: z.ZodString;
216
+ type: z.ZodOptional<z.ZodString>;
217
+ url: z.ZodOptional<z.ZodString>;
218
+ viewCount: z.ZodOptional<z.ZodNumber>;
219
+ }, z.core.$loose>>;
220
+ }, z.core.$strip>;
221
+ export type PaginatedTweets = z.infer<typeof PaginatedTweetsSchema>;
222
+ export declare const PaginatedUsersSchema: z.ZodObject<{
223
+ has_next_page: z.ZodBoolean;
224
+ next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
225
+ users: z.ZodArray<z.ZodObject<{
226
+ coverPicture: z.ZodOptional<z.ZodString>;
227
+ createdAt: z.ZodOptional<z.ZodString>;
228
+ description: z.ZodOptional<z.ZodString>;
229
+ followers: z.ZodOptional<z.ZodNumber>;
230
+ following: z.ZodOptional<z.ZodNumber>;
231
+ id: z.ZodString;
232
+ location: z.ZodOptional<z.ZodString>;
233
+ name: z.ZodString;
234
+ profilePicture: z.ZodOptional<z.ZodString>;
235
+ statusesCount: z.ZodOptional<z.ZodNumber>;
236
+ username: z.ZodString;
237
+ verified: z.ZodOptional<z.ZodBoolean>;
238
+ }, z.core.$loose>>;
239
+ }, z.core.$strip>;
240
+ export type PaginatedUsers = z.infer<typeof PaginatedUsersSchema>;
241
+ export declare const TweetLookupResponseSchema: z.ZodObject<{
242
+ author: z.ZodOptional<z.ZodObject<{
243
+ followers: z.ZodNumber;
244
+ id: z.ZodString;
245
+ profilePicture: z.ZodOptional<z.ZodString>;
246
+ username: z.ZodString;
247
+ verified: z.ZodBoolean;
248
+ }, z.core.$loose>>;
249
+ tweet: z.ZodObject<{
250
+ bookmarkCount: z.ZodNumber;
251
+ conversationId: z.ZodOptional<z.ZodString>;
252
+ createdAt: z.ZodOptional<z.ZodString>;
253
+ entities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
254
+ id: z.ZodString;
255
+ isNoteTweet: z.ZodOptional<z.ZodBoolean>;
256
+ isQuoteStatus: z.ZodOptional<z.ZodBoolean>;
257
+ isReply: z.ZodOptional<z.ZodBoolean>;
258
+ likeCount: z.ZodNumber;
259
+ media: z.ZodOptional<z.ZodArray<z.ZodObject<{
260
+ mediaUrl: z.ZodOptional<z.ZodString>;
261
+ type: z.ZodOptional<z.ZodEnum<{
262
+ animated_gif: "animated_gif";
263
+ photo: "photo";
264
+ video: "video";
265
+ }>>;
266
+ url: z.ZodOptional<z.ZodString>;
267
+ }, z.core.$loose>>>;
268
+ quoteCount: z.ZodNumber;
269
+ replyCount: z.ZodNumber;
270
+ retweetCount: z.ZodNumber;
271
+ source: z.ZodOptional<z.ZodString>;
272
+ text: z.ZodString;
273
+ viewCount: z.ZodNumber;
274
+ }, z.core.$loose>;
275
+ }, z.core.$strip>;
276
+ export type TweetLookupResponse = z.infer<typeof TweetLookupResponseSchema>;
277
+ export declare const SuccessResponseSchema: z.ZodObject<{
278
+ success: z.ZodLiteral<true>;
279
+ }, z.core.$loose>;
280
+ export type SuccessResponse = z.infer<typeof SuccessResponseSchema>;
281
+ export declare const PendingWriteResponseSchema: z.ZodObject<{
282
+ charged: z.ZodBoolean;
283
+ error: z.ZodLiteral<"x_write_unconfirmed">;
284
+ message: z.ZodOptional<z.ZodString>;
285
+ retryable: z.ZodLiteral<false>;
286
+ status: z.ZodLiteral<"pending_confirmation">;
287
+ writeActionId: z.ZodString;
288
+ }, z.core.$strip>;
289
+ export type PendingWriteResponse = z.infer<typeof PendingWriteResponseSchema>;
290
+ export declare const CreateTweetResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
291
+ success: z.ZodLiteral<true>;
292
+ tweetId: z.ZodString;
293
+ }, z.core.$strip>, z.ZodObject<{
294
+ charged: z.ZodBoolean;
295
+ error: z.ZodLiteral<"x_write_unconfirmed">;
296
+ message: z.ZodOptional<z.ZodString>;
297
+ retryable: z.ZodLiteral<false>;
298
+ status: z.ZodLiteral<"pending_confirmation">;
299
+ writeActionId: z.ZodString;
300
+ }, z.core.$strip>]>;
301
+ export type CreateTweetResponse = z.infer<typeof CreateTweetResponseSchema>;
302
+ export declare const WriteActionStatusSchema: z.ZodObject<{
303
+ action: z.ZodString;
304
+ charged: z.ZodBoolean;
305
+ confirmationAttempts: z.ZodOptional<z.ZodNumber>;
306
+ confirmationCheckedAt: z.ZodOptional<z.ZodString>;
307
+ confirmationSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
308
+ confirmedAt: z.ZodOptional<z.ZodString>;
309
+ createdAt: z.ZodString;
310
+ message: z.ZodOptional<z.ZodString>;
311
+ messageId: z.ZodOptional<z.ZodString>;
312
+ retryable: z.ZodBoolean;
313
+ sendDispatched: z.ZodBoolean;
314
+ sendDispatchedAt: z.ZodOptional<z.ZodString>;
315
+ status: z.ZodEnum<{
316
+ success: "success";
317
+ failed: "failed";
318
+ pending_confirmation: "pending_confirmation";
319
+ }>;
320
+ targetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
321
+ tweetId: z.ZodOptional<z.ZodString>;
322
+ writeActionId: z.ZodString;
323
+ }, z.core.$loose>;
324
+ export type WriteActionStatus = z.infer<typeof WriteActionStatusSchema>;
325
+ export declare const TrendSchema: z.ZodObject<{
326
+ description: z.ZodOptional<z.ZodString>;
327
+ name: z.ZodString;
328
+ query: z.ZodOptional<z.ZodString>;
329
+ rank: z.ZodOptional<z.ZodNumber>;
330
+ }, z.core.$loose>;
331
+ export type Trend = z.infer<typeof TrendSchema>;
332
+ export declare const TrendsResponseSchema: z.ZodObject<{
333
+ count: z.ZodNumber;
334
+ trends: z.ZodArray<z.ZodObject<{
335
+ description: z.ZodOptional<z.ZodString>;
336
+ name: z.ZodString;
337
+ query: z.ZodOptional<z.ZodString>;
338
+ rank: z.ZodOptional<z.ZodNumber>;
339
+ }, z.core.$loose>>;
340
+ woeid: z.ZodNumber;
341
+ }, z.core.$strip>;
342
+ export type TrendsResponse = z.infer<typeof TrendsResponseSchema>;
343
+ export declare const MediaUploadResponseSchema: z.ZodObject<{
344
+ mediaId: z.ZodString;
345
+ mediaUrl: z.ZodString;
346
+ success: z.ZodLiteral<true>;
347
+ }, z.core.$strip>;
348
+ export type MediaUploadResponse = z.infer<typeof MediaUploadResponseSchema>;
349
+ export declare const MediaDownloadResponseSchema: z.ZodObject<{
350
+ cacheHit: z.ZodOptional<z.ZodBoolean>;
351
+ galleryUrl: z.ZodOptional<z.ZodString>;
352
+ totalMedia: z.ZodOptional<z.ZodNumber>;
353
+ totalTweets: z.ZodOptional<z.ZodNumber>;
354
+ tweetId: z.ZodOptional<z.ZodString>;
355
+ }, z.core.$loose>;
356
+ export type MediaDownloadResponse = z.infer<typeof MediaDownloadResponseSchema>;
357
+ export declare const WebhookSchema: z.ZodObject<{
358
+ createdAt: z.ZodString;
359
+ eventTypes: z.ZodArray<z.ZodEnum<{
360
+ "tweet.new": "tweet.new";
361
+ "tweet.quote": "tweet.quote";
362
+ "tweet.reply": "tweet.reply";
363
+ "tweet.retweet": "tweet.retweet";
364
+ }>>;
365
+ id: z.ZodString;
366
+ isActive: z.ZodBoolean;
367
+ url: z.ZodString;
368
+ }, z.core.$strip>;
369
+ export type Webhook = z.infer<typeof WebhookSchema>;
370
+ export declare const DeliverySchema: z.ZodObject<{
371
+ attempts: z.ZodNumber;
372
+ createdAt: z.ZodString;
373
+ deliveredAt: z.ZodOptional<z.ZodString>;
374
+ id: z.ZodString;
375
+ lastError: z.ZodOptional<z.ZodString>;
376
+ lastStatusCode: z.ZodOptional<z.ZodNumber>;
377
+ status: z.ZodString;
378
+ streamEventId: z.ZodString;
379
+ }, z.core.$strip>;
380
+ export type Delivery = z.infer<typeof DeliverySchema>;
381
+ export declare const EventPayloadSchema: z.ZodObject<{
382
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
383
+ deliveryId: z.ZodOptional<z.ZodString>;
384
+ eventType: z.ZodUnion<readonly [z.ZodEnum<{
385
+ "tweet.new": "tweet.new";
386
+ "tweet.quote": "tweet.quote";
387
+ "tweet.reply": "tweet.reply";
388
+ "tweet.retweet": "tweet.retweet";
389
+ }>, z.ZodLiteral<"webhook.test">]>;
390
+ occurredAt: z.ZodOptional<z.ZodString>;
391
+ query: z.ZodOptional<z.ZodString>;
392
+ schemaVersion: z.ZodOptional<z.ZodString>;
393
+ streamEventId: z.ZodOptional<z.ZodString>;
394
+ timestamp: z.ZodOptional<z.ZodString>;
395
+ username: z.ZodOptional<z.ZodString>;
396
+ }, z.core.$loose>;
397
+ export type EventPayload = z.infer<typeof EventPayloadSchema>;
398
+ export declare const TestWebhookResponseSchema: z.ZodObject<{
399
+ error: z.ZodOptional<z.ZodString>;
400
+ statusCode: z.ZodNumber;
401
+ success: z.ZodBoolean;
402
+ }, z.core.$strip>;
403
+ export type TestWebhookResponse = z.infer<typeof TestWebhookResponseSchema>;
404
+ export declare const TweetBatchInputSchema: z.ZodObject<{
405
+ ids: z.ZodArray<z.ZodString>;
406
+ }, z.core.$strip>;
407
+ export declare const TweetGetInputSchema: z.ZodObject<{
408
+ id: z.ZodString;
409
+ }, z.core.$strip>;
410
+ export declare const TweetSearchInputSchema: z.ZodObject<{
411
+ anyWords: z.ZodOptional<z.ZodString>;
412
+ cashtags: z.ZodOptional<z.ZodString>;
413
+ conversationId: z.ZodOptional<z.ZodString>;
414
+ exactPhrase: z.ZodOptional<z.ZodString>;
415
+ excludeWords: z.ZodOptional<z.ZodString>;
416
+ fromUser: z.ZodOptional<z.ZodString>;
417
+ hashtags: z.ZodOptional<z.ZodString>;
418
+ inReplyToTweetId: z.ZodOptional<z.ZodString>;
419
+ language: z.ZodOptional<z.ZodString>;
420
+ mediaType: z.ZodOptional<z.ZodEnum<{
421
+ gifs: "gifs";
422
+ images: "images";
423
+ links: "links";
424
+ media: "media";
425
+ none: "none";
426
+ videos: "videos";
427
+ }>>;
428
+ mentioning: z.ZodOptional<z.ZodString>;
429
+ minFaves: z.ZodOptional<z.ZodNumber>;
430
+ minQuotes: z.ZodOptional<z.ZodNumber>;
431
+ minReplies: z.ZodOptional<z.ZodNumber>;
432
+ minRetweets: z.ZodOptional<z.ZodNumber>;
433
+ quotes: z.ZodOptional<z.ZodEnum<{
434
+ only: "only";
435
+ exclude: "exclude";
436
+ include: "include";
437
+ }>>;
438
+ quotesOfTweetId: z.ZodOptional<z.ZodString>;
439
+ replies: z.ZodOptional<z.ZodEnum<{
440
+ only: "only";
441
+ exclude: "exclude";
442
+ include: "include";
443
+ }>>;
444
+ retweets: z.ZodOptional<z.ZodEnum<{
445
+ only: "only";
446
+ exclude: "exclude";
447
+ include: "include";
448
+ }>>;
449
+ retweetsOfTweetId: z.ZodOptional<z.ZodString>;
450
+ sinceDate: z.ZodOptional<z.ZodString>;
451
+ toUser: z.ZodOptional<z.ZodString>;
452
+ untilDate: z.ZodOptional<z.ZodString>;
453
+ url: z.ZodOptional<z.ZodString>;
454
+ verifiedOnly: z.ZodOptional<z.ZodBoolean>;
455
+ cursor: z.ZodOptional<z.ZodString>;
456
+ limit: z.ZodOptional<z.ZodNumber>;
457
+ q: z.ZodString;
458
+ queryType: z.ZodOptional<z.ZodEnum<{
459
+ Latest: "Latest";
460
+ Top: "Top";
461
+ }>>;
462
+ sinceTime: z.ZodOptional<z.ZodString>;
463
+ untilTime: z.ZodOptional<z.ZodString>;
464
+ }, z.core.$strip>;
465
+ export declare const TweetCreateInputSchema: z.ZodObject<{
466
+ account: z.ZodString;
467
+ attachment_url: z.ZodOptional<z.ZodString>;
468
+ community_id: z.ZodOptional<z.ZodString>;
469
+ is_note_tweet: z.ZodOptional<z.ZodBoolean>;
470
+ media: z.ZodOptional<z.ZodArray<z.ZodString>>;
471
+ reply_to_tweet_id: z.ZodOptional<z.ZodString>;
472
+ text: z.ZodOptional<z.ZodString>;
473
+ }, z.core.$strip>;
474
+ export declare const TweetAccountActionInputSchema: z.ZodObject<{
475
+ account: z.ZodString;
476
+ id: z.ZodString;
477
+ }, z.core.$strip>;
478
+ export declare const UserBatchInputSchema: z.ZodObject<{
479
+ ids: z.ZodArray<z.ZodString>;
480
+ }, z.core.$strip>;
481
+ export declare const UserGetInputSchema: z.ZodObject<{
482
+ id: z.ZodString;
483
+ }, z.core.$strip>;
484
+ export declare const UserSearchInputSchema: z.ZodObject<{
485
+ cursor: z.ZodOptional<z.ZodString>;
486
+ q: z.ZodString;
487
+ }, z.core.$strip>;
488
+ export declare const UserTweetsInputSchema: z.ZodObject<{
489
+ id: z.ZodString;
490
+ cursor: z.ZodOptional<z.ZodString>;
491
+ pageSize: z.ZodOptional<z.ZodNumber>;
492
+ anyWords: z.ZodOptional<z.ZodString>;
493
+ cashtags: z.ZodOptional<z.ZodString>;
494
+ conversationId: z.ZodOptional<z.ZodString>;
495
+ exactPhrase: z.ZodOptional<z.ZodString>;
496
+ excludeWords: z.ZodOptional<z.ZodString>;
497
+ fromUser: z.ZodOptional<z.ZodString>;
498
+ hashtags: z.ZodOptional<z.ZodString>;
499
+ inReplyToTweetId: z.ZodOptional<z.ZodString>;
500
+ language: z.ZodOptional<z.ZodString>;
501
+ mediaType: z.ZodOptional<z.ZodEnum<{
502
+ gifs: "gifs";
503
+ images: "images";
504
+ links: "links";
505
+ media: "media";
506
+ none: "none";
507
+ videos: "videos";
508
+ }>>;
509
+ mentioning: z.ZodOptional<z.ZodString>;
510
+ minFaves: z.ZodOptional<z.ZodNumber>;
511
+ minQuotes: z.ZodOptional<z.ZodNumber>;
512
+ minReplies: z.ZodOptional<z.ZodNumber>;
513
+ minRetweets: z.ZodOptional<z.ZodNumber>;
514
+ quotes: z.ZodOptional<z.ZodEnum<{
515
+ only: "only";
516
+ exclude: "exclude";
517
+ include: "include";
518
+ }>>;
519
+ quotesOfTweetId: z.ZodOptional<z.ZodString>;
520
+ replies: z.ZodOptional<z.ZodEnum<{
521
+ only: "only";
522
+ exclude: "exclude";
523
+ include: "include";
524
+ }>>;
525
+ retweets: z.ZodOptional<z.ZodEnum<{
526
+ only: "only";
527
+ exclude: "exclude";
528
+ include: "include";
529
+ }>>;
530
+ retweetsOfTweetId: z.ZodOptional<z.ZodString>;
531
+ sinceDate: z.ZodOptional<z.ZodString>;
532
+ toUser: z.ZodOptional<z.ZodString>;
533
+ untilDate: z.ZodOptional<z.ZodString>;
534
+ url: z.ZodOptional<z.ZodString>;
535
+ verifiedOnly: z.ZodOptional<z.ZodBoolean>;
536
+ includeParentTweet: z.ZodOptional<z.ZodBoolean>;
537
+ includeReplies: z.ZodOptional<z.ZodBoolean>;
538
+ }, z.core.$strip>;
539
+ export declare const UserListInputSchema: z.ZodObject<{
540
+ id: z.ZodString;
541
+ cursor: z.ZodOptional<z.ZodString>;
542
+ pageSize: z.ZodOptional<z.ZodNumber>;
543
+ }, z.core.$strip>;
544
+ export declare const UserAccountActionInputSchema: z.ZodObject<{
545
+ account: z.ZodString;
546
+ id: z.ZodString;
547
+ }, z.core.$strip>;
548
+ export declare const TrendsGetInputSchema: z.ZodObject<{
549
+ count: z.ZodOptional<z.ZodNumber>;
550
+ woeid: z.ZodOptional<z.ZodNumber>;
551
+ }, z.core.$strip>;
552
+ export declare const MediaUploadFromUrlInputSchema: z.ZodObject<{
553
+ account: z.ZodString;
554
+ url: z.ZodString;
555
+ }, z.core.$strip>;
556
+ export declare const MediaDownloadInputSchema: z.ZodObject<{
557
+ tweetId: z.ZodOptional<z.ZodString>;
558
+ tweetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
559
+ tweetInput: z.ZodOptional<z.ZodString>;
560
+ tweetUrl: z.ZodOptional<z.ZodString>;
561
+ }, z.core.$strip>;
562
+ export declare const WriteActionGetInputSchema: z.ZodObject<{
563
+ id: z.ZodString;
564
+ }, z.core.$strip>;
565
+ export declare const WebhooksListInputSchema: z.ZodObject<{}, z.core.$strip>;
566
+ export declare const WebhookCreateInputSchema: z.ZodObject<{
567
+ eventTypes: z.ZodArray<z.ZodEnum<{
568
+ "tweet.new": "tweet.new";
569
+ "tweet.quote": "tweet.quote";
570
+ "tweet.reply": "tweet.reply";
571
+ "tweet.retweet": "tweet.retweet";
572
+ }>>;
573
+ url: z.ZodString;
574
+ }, z.core.$strip>;
575
+ export declare const WebhookUpdateInputSchema: z.ZodObject<{
576
+ eventTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
577
+ "tweet.new": "tweet.new";
578
+ "tweet.quote": "tweet.quote";
579
+ "tweet.reply": "tweet.reply";
580
+ "tweet.retweet": "tweet.retweet";
581
+ }>>>;
582
+ id: z.ZodString;
583
+ isActive: z.ZodOptional<z.ZodBoolean>;
584
+ url: z.ZodOptional<z.ZodString>;
585
+ }, z.core.$strip>;
586
+ export declare const WebhookIdInputSchema: z.ZodObject<{
587
+ id: z.ZodString;
588
+ }, z.core.$strip>;
589
+ export type TweetBatchInput = z.infer<typeof TweetBatchInputSchema>;
590
+ export type TweetGetInput = z.infer<typeof TweetGetInputSchema>;
591
+ export type TweetSearchInput = z.infer<typeof TweetSearchInputSchema>;
592
+ export type TweetCreateInput = z.infer<typeof TweetCreateInputSchema>;
593
+ export type TweetAccountActionInput = z.infer<typeof TweetAccountActionInputSchema>;
594
+ export type UserBatchInput = z.infer<typeof UserBatchInputSchema>;
595
+ export type UserGetInput = z.infer<typeof UserGetInputSchema>;
596
+ export type UserSearchInput = z.infer<typeof UserSearchInputSchema>;
597
+ export type UserTweetsInput = z.infer<typeof UserTweetsInputSchema>;
598
+ export type UserListInput = z.infer<typeof UserListInputSchema>;
599
+ export type UserAccountActionInput = z.infer<typeof UserAccountActionInputSchema>;
600
+ export type TrendsGetInput = z.infer<typeof TrendsGetInputSchema>;
601
+ export type MediaUploadFromUrlInput = z.infer<typeof MediaUploadFromUrlInputSchema>;
602
+ export type MediaDownloadInput = z.infer<typeof MediaDownloadInputSchema>;
603
+ export type WriteActionGetInput = z.infer<typeof WriteActionGetInputSchema>;
604
+ export type WebhooksListInput = z.infer<typeof WebhooksListInputSchema>;
605
+ export type WebhookCreateInput = z.infer<typeof WebhookCreateInputSchema>;
606
+ export type WebhookUpdateInput = z.infer<typeof WebhookUpdateInputSchema>;
607
+ export type WebhookIdInput = z.infer<typeof WebhookIdInputSchema>;
608
+ export type XquikEndpointInputs = {
609
+ mediaDownload: MediaDownloadInput;
610
+ mediaUploadFromUrl: MediaUploadFromUrlInput;
611
+ trendsGet: TrendsGetInput;
612
+ tweetsBatch: TweetBatchInput;
613
+ tweetsCreate: TweetCreateInput;
614
+ tweetsDelete: TweetAccountActionInput;
615
+ tweetsGet: TweetGetInput;
616
+ tweetsLike: TweetAccountActionInput;
617
+ tweetsRetweet: TweetAccountActionInput;
618
+ tweetsSearch: TweetSearchInput;
619
+ tweetsUnlike: TweetAccountActionInput;
620
+ usersBatch: UserBatchInput;
621
+ usersFollow: UserAccountActionInput;
622
+ usersFollowers: UserListInput;
623
+ usersFollowing: UserListInput;
624
+ usersGet: UserGetInput;
625
+ usersSearch: UserSearchInput;
626
+ usersTweets: UserTweetsInput;
627
+ usersUnfollow: UserAccountActionInput;
628
+ webhooksCreate: WebhookCreateInput;
629
+ webhooksDeactivate: WebhookIdInput;
630
+ webhooksDeliveries: WebhookIdInput;
631
+ webhooksList: WebhooksListInput;
632
+ webhooksTest: WebhookIdInput;
633
+ webhooksUpdate: WebhookUpdateInput;
634
+ writeActionsGet: WriteActionGetInput;
635
+ };
636
+ export type XquikEndpointOutputs = {
637
+ mediaDownload: MediaDownloadResponse;
638
+ mediaUploadFromUrl: MediaUploadResponse;
639
+ trendsGet: TrendsResponse;
640
+ tweetsBatch: PaginatedTweets;
641
+ tweetsCreate: CreateTweetResponse;
642
+ tweetsDelete: SuccessResponse;
643
+ tweetsGet: TweetLookupResponse;
644
+ tweetsLike: SuccessResponse;
645
+ tweetsRetweet: SuccessResponse;
646
+ tweetsSearch: PaginatedTweets;
647
+ tweetsUnlike: SuccessResponse;
648
+ usersBatch: PaginatedUsers;
649
+ usersFollow: SuccessResponse;
650
+ usersFollowers: PaginatedUsers;
651
+ usersFollowing: PaginatedUsers;
652
+ usersGet: UserProfile;
653
+ usersSearch: PaginatedUsers;
654
+ usersTweets: PaginatedTweets;
655
+ usersUnfollow: SuccessResponse;
656
+ webhooksCreate: Webhook & {
657
+ secret: string;
658
+ };
659
+ webhooksDeactivate: SuccessResponse;
660
+ webhooksDeliveries: {
661
+ deliveries: Delivery[];
662
+ };
663
+ webhooksList: {
664
+ webhooks: Webhook[];
665
+ };
666
+ webhooksTest: TestWebhookResponse;
667
+ webhooksUpdate: Webhook;
668
+ writeActionsGet: WriteActionStatus;
669
+ };
670
+ export declare const XquikEndpointInputSchemas: {
671
+ readonly mediaDownload: z.ZodObject<{
672
+ tweetId: z.ZodOptional<z.ZodString>;
673
+ tweetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
674
+ tweetInput: z.ZodOptional<z.ZodString>;
675
+ tweetUrl: z.ZodOptional<z.ZodString>;
676
+ }, z.core.$strip>;
677
+ readonly mediaUploadFromUrl: z.ZodObject<{
678
+ account: z.ZodString;
679
+ url: z.ZodString;
680
+ }, z.core.$strip>;
681
+ readonly trendsGet: z.ZodObject<{
682
+ count: z.ZodOptional<z.ZodNumber>;
683
+ woeid: z.ZodOptional<z.ZodNumber>;
684
+ }, z.core.$strip>;
685
+ readonly tweetsBatch: z.ZodObject<{
686
+ ids: z.ZodArray<z.ZodString>;
687
+ }, z.core.$strip>;
688
+ readonly tweetsCreate: z.ZodObject<{
689
+ account: z.ZodString;
690
+ attachment_url: z.ZodOptional<z.ZodString>;
691
+ community_id: z.ZodOptional<z.ZodString>;
692
+ is_note_tweet: z.ZodOptional<z.ZodBoolean>;
693
+ media: z.ZodOptional<z.ZodArray<z.ZodString>>;
694
+ reply_to_tweet_id: z.ZodOptional<z.ZodString>;
695
+ text: z.ZodOptional<z.ZodString>;
696
+ }, z.core.$strip>;
697
+ readonly tweetsDelete: z.ZodObject<{
698
+ account: z.ZodString;
699
+ id: z.ZodString;
700
+ }, z.core.$strip>;
701
+ readonly tweetsGet: z.ZodObject<{
702
+ id: z.ZodString;
703
+ }, z.core.$strip>;
704
+ readonly tweetsLike: z.ZodObject<{
705
+ account: z.ZodString;
706
+ id: z.ZodString;
707
+ }, z.core.$strip>;
708
+ readonly tweetsRetweet: z.ZodObject<{
709
+ account: z.ZodString;
710
+ id: z.ZodString;
711
+ }, z.core.$strip>;
712
+ readonly tweetsSearch: z.ZodObject<{
713
+ anyWords: z.ZodOptional<z.ZodString>;
714
+ cashtags: z.ZodOptional<z.ZodString>;
715
+ conversationId: z.ZodOptional<z.ZodString>;
716
+ exactPhrase: z.ZodOptional<z.ZodString>;
717
+ excludeWords: z.ZodOptional<z.ZodString>;
718
+ fromUser: z.ZodOptional<z.ZodString>;
719
+ hashtags: z.ZodOptional<z.ZodString>;
720
+ inReplyToTweetId: z.ZodOptional<z.ZodString>;
721
+ language: z.ZodOptional<z.ZodString>;
722
+ mediaType: z.ZodOptional<z.ZodEnum<{
723
+ gifs: "gifs";
724
+ images: "images";
725
+ links: "links";
726
+ media: "media";
727
+ none: "none";
728
+ videos: "videos";
729
+ }>>;
730
+ mentioning: z.ZodOptional<z.ZodString>;
731
+ minFaves: z.ZodOptional<z.ZodNumber>;
732
+ minQuotes: z.ZodOptional<z.ZodNumber>;
733
+ minReplies: z.ZodOptional<z.ZodNumber>;
734
+ minRetweets: z.ZodOptional<z.ZodNumber>;
735
+ quotes: z.ZodOptional<z.ZodEnum<{
736
+ only: "only";
737
+ exclude: "exclude";
738
+ include: "include";
739
+ }>>;
740
+ quotesOfTweetId: z.ZodOptional<z.ZodString>;
741
+ replies: z.ZodOptional<z.ZodEnum<{
742
+ only: "only";
743
+ exclude: "exclude";
744
+ include: "include";
745
+ }>>;
746
+ retweets: z.ZodOptional<z.ZodEnum<{
747
+ only: "only";
748
+ exclude: "exclude";
749
+ include: "include";
750
+ }>>;
751
+ retweetsOfTweetId: z.ZodOptional<z.ZodString>;
752
+ sinceDate: z.ZodOptional<z.ZodString>;
753
+ toUser: z.ZodOptional<z.ZodString>;
754
+ untilDate: z.ZodOptional<z.ZodString>;
755
+ url: z.ZodOptional<z.ZodString>;
756
+ verifiedOnly: z.ZodOptional<z.ZodBoolean>;
757
+ cursor: z.ZodOptional<z.ZodString>;
758
+ limit: z.ZodOptional<z.ZodNumber>;
759
+ q: z.ZodString;
760
+ queryType: z.ZodOptional<z.ZodEnum<{
761
+ Latest: "Latest";
762
+ Top: "Top";
763
+ }>>;
764
+ sinceTime: z.ZodOptional<z.ZodString>;
765
+ untilTime: z.ZodOptional<z.ZodString>;
766
+ }, z.core.$strip>;
767
+ readonly tweetsUnlike: z.ZodObject<{
768
+ account: z.ZodString;
769
+ id: z.ZodString;
770
+ }, z.core.$strip>;
771
+ readonly usersBatch: z.ZodObject<{
772
+ ids: z.ZodArray<z.ZodString>;
773
+ }, z.core.$strip>;
774
+ readonly usersFollow: z.ZodObject<{
775
+ account: z.ZodString;
776
+ id: z.ZodString;
777
+ }, z.core.$strip>;
778
+ readonly usersFollowers: z.ZodObject<{
779
+ id: z.ZodString;
780
+ cursor: z.ZodOptional<z.ZodString>;
781
+ pageSize: z.ZodOptional<z.ZodNumber>;
782
+ }, z.core.$strip>;
783
+ readonly usersFollowing: z.ZodObject<{
784
+ id: z.ZodString;
785
+ cursor: z.ZodOptional<z.ZodString>;
786
+ pageSize: z.ZodOptional<z.ZodNumber>;
787
+ }, z.core.$strip>;
788
+ readonly usersGet: z.ZodObject<{
789
+ id: z.ZodString;
790
+ }, z.core.$strip>;
791
+ readonly usersSearch: z.ZodObject<{
792
+ cursor: z.ZodOptional<z.ZodString>;
793
+ q: z.ZodString;
794
+ }, z.core.$strip>;
795
+ readonly usersTweets: z.ZodObject<{
796
+ id: z.ZodString;
797
+ cursor: z.ZodOptional<z.ZodString>;
798
+ pageSize: z.ZodOptional<z.ZodNumber>;
799
+ anyWords: z.ZodOptional<z.ZodString>;
800
+ cashtags: z.ZodOptional<z.ZodString>;
801
+ conversationId: z.ZodOptional<z.ZodString>;
802
+ exactPhrase: z.ZodOptional<z.ZodString>;
803
+ excludeWords: z.ZodOptional<z.ZodString>;
804
+ fromUser: z.ZodOptional<z.ZodString>;
805
+ hashtags: z.ZodOptional<z.ZodString>;
806
+ inReplyToTweetId: z.ZodOptional<z.ZodString>;
807
+ language: z.ZodOptional<z.ZodString>;
808
+ mediaType: z.ZodOptional<z.ZodEnum<{
809
+ gifs: "gifs";
810
+ images: "images";
811
+ links: "links";
812
+ media: "media";
813
+ none: "none";
814
+ videos: "videos";
815
+ }>>;
816
+ mentioning: z.ZodOptional<z.ZodString>;
817
+ minFaves: z.ZodOptional<z.ZodNumber>;
818
+ minQuotes: z.ZodOptional<z.ZodNumber>;
819
+ minReplies: z.ZodOptional<z.ZodNumber>;
820
+ minRetweets: z.ZodOptional<z.ZodNumber>;
821
+ quotes: z.ZodOptional<z.ZodEnum<{
822
+ only: "only";
823
+ exclude: "exclude";
824
+ include: "include";
825
+ }>>;
826
+ quotesOfTweetId: z.ZodOptional<z.ZodString>;
827
+ replies: z.ZodOptional<z.ZodEnum<{
828
+ only: "only";
829
+ exclude: "exclude";
830
+ include: "include";
831
+ }>>;
832
+ retweets: z.ZodOptional<z.ZodEnum<{
833
+ only: "only";
834
+ exclude: "exclude";
835
+ include: "include";
836
+ }>>;
837
+ retweetsOfTweetId: z.ZodOptional<z.ZodString>;
838
+ sinceDate: z.ZodOptional<z.ZodString>;
839
+ toUser: z.ZodOptional<z.ZodString>;
840
+ untilDate: z.ZodOptional<z.ZodString>;
841
+ url: z.ZodOptional<z.ZodString>;
842
+ verifiedOnly: z.ZodOptional<z.ZodBoolean>;
843
+ includeParentTweet: z.ZodOptional<z.ZodBoolean>;
844
+ includeReplies: z.ZodOptional<z.ZodBoolean>;
845
+ }, z.core.$strip>;
846
+ readonly usersUnfollow: z.ZodObject<{
847
+ account: z.ZodString;
848
+ id: z.ZodString;
849
+ }, z.core.$strip>;
850
+ readonly webhooksCreate: z.ZodObject<{
851
+ eventTypes: z.ZodArray<z.ZodEnum<{
852
+ "tweet.new": "tweet.new";
853
+ "tweet.quote": "tweet.quote";
854
+ "tweet.reply": "tweet.reply";
855
+ "tweet.retweet": "tweet.retweet";
856
+ }>>;
857
+ url: z.ZodString;
858
+ }, z.core.$strip>;
859
+ readonly webhooksDeactivate: z.ZodObject<{
860
+ id: z.ZodString;
861
+ }, z.core.$strip>;
862
+ readonly webhooksDeliveries: z.ZodObject<{
863
+ id: z.ZodString;
864
+ }, z.core.$strip>;
865
+ readonly webhooksList: z.ZodObject<{}, z.core.$strip>;
866
+ readonly webhooksTest: z.ZodObject<{
867
+ id: z.ZodString;
868
+ }, z.core.$strip>;
869
+ readonly webhooksUpdate: z.ZodObject<{
870
+ eventTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
871
+ "tweet.new": "tweet.new";
872
+ "tweet.quote": "tweet.quote";
873
+ "tweet.reply": "tweet.reply";
874
+ "tweet.retweet": "tweet.retweet";
875
+ }>>>;
876
+ id: z.ZodString;
877
+ isActive: z.ZodOptional<z.ZodBoolean>;
878
+ url: z.ZodOptional<z.ZodString>;
879
+ }, z.core.$strip>;
880
+ readonly writeActionsGet: z.ZodObject<{
881
+ id: z.ZodString;
882
+ }, z.core.$strip>;
883
+ };
884
+ export declare const XquikEndpointOutputSchemas: {
885
+ readonly mediaDownload: z.ZodObject<{
886
+ cacheHit: z.ZodOptional<z.ZodBoolean>;
887
+ galleryUrl: z.ZodOptional<z.ZodString>;
888
+ totalMedia: z.ZodOptional<z.ZodNumber>;
889
+ totalTweets: z.ZodOptional<z.ZodNumber>;
890
+ tweetId: z.ZodOptional<z.ZodString>;
891
+ }, z.core.$loose>;
892
+ readonly mediaUploadFromUrl: z.ZodObject<{
893
+ mediaId: z.ZodString;
894
+ mediaUrl: z.ZodString;
895
+ success: z.ZodLiteral<true>;
896
+ }, z.core.$strip>;
897
+ readonly trendsGet: z.ZodObject<{
898
+ count: z.ZodNumber;
899
+ trends: z.ZodArray<z.ZodObject<{
900
+ description: z.ZodOptional<z.ZodString>;
901
+ name: z.ZodString;
902
+ query: z.ZodOptional<z.ZodString>;
903
+ rank: z.ZodOptional<z.ZodNumber>;
904
+ }, z.core.$loose>>;
905
+ woeid: z.ZodNumber;
906
+ }, z.core.$strip>;
907
+ readonly tweetsBatch: z.ZodObject<{
908
+ has_next_page: z.ZodBoolean;
909
+ next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
910
+ tweets: z.ZodArray<z.ZodObject<{
911
+ author: z.ZodOptional<z.ZodObject<{
912
+ coverPicture: z.ZodOptional<z.ZodString>;
913
+ createdAt: z.ZodOptional<z.ZodString>;
914
+ description: z.ZodOptional<z.ZodString>;
915
+ followers: z.ZodOptional<z.ZodNumber>;
916
+ following: z.ZodOptional<z.ZodNumber>;
917
+ id: z.ZodString;
918
+ location: z.ZodOptional<z.ZodString>;
919
+ name: z.ZodString;
920
+ profilePicture: z.ZodOptional<z.ZodString>;
921
+ statusesCount: z.ZodOptional<z.ZodNumber>;
922
+ username: z.ZodString;
923
+ verified: z.ZodOptional<z.ZodBoolean>;
924
+ }, z.core.$loose>>;
925
+ bookmarkCount: z.ZodOptional<z.ZodNumber>;
926
+ conversationId: z.ZodOptional<z.ZodString>;
927
+ createdAt: z.ZodOptional<z.ZodString>;
928
+ entities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
929
+ id: z.ZodString;
930
+ inReplyToId: z.ZodOptional<z.ZodString>;
931
+ inReplyToUserId: z.ZodOptional<z.ZodString>;
932
+ inReplyToUsername: z.ZodOptional<z.ZodString>;
933
+ isLimitedReply: z.ZodOptional<z.ZodBoolean>;
934
+ isNoteTweet: z.ZodOptional<z.ZodBoolean>;
935
+ isQuoteStatus: z.ZodOptional<z.ZodBoolean>;
936
+ isReply: z.ZodOptional<z.ZodBoolean>;
937
+ lang: z.ZodOptional<z.ZodString>;
938
+ likeCount: z.ZodOptional<z.ZodNumber>;
939
+ media: z.ZodOptional<z.ZodArray<z.ZodObject<{
940
+ mediaUrl: z.ZodOptional<z.ZodString>;
941
+ type: z.ZodOptional<z.ZodEnum<{
942
+ animated_gif: "animated_gif";
943
+ photo: "photo";
944
+ video: "video";
945
+ }>>;
946
+ url: z.ZodOptional<z.ZodString>;
947
+ }, z.core.$loose>>>;
948
+ quoteCount: z.ZodOptional<z.ZodNumber>;
949
+ replyCount: z.ZodOptional<z.ZodNumber>;
950
+ retweetCount: z.ZodOptional<z.ZodNumber>;
951
+ source: z.ZodOptional<z.ZodString>;
952
+ text: z.ZodString;
953
+ type: z.ZodOptional<z.ZodString>;
954
+ url: z.ZodOptional<z.ZodString>;
955
+ viewCount: z.ZodOptional<z.ZodNumber>;
956
+ }, z.core.$loose>>;
957
+ }, z.core.$strip>;
958
+ readonly tweetsCreate: z.ZodUnion<readonly [z.ZodObject<{
959
+ success: z.ZodLiteral<true>;
960
+ tweetId: z.ZodString;
961
+ }, z.core.$strip>, z.ZodObject<{
962
+ charged: z.ZodBoolean;
963
+ error: z.ZodLiteral<"x_write_unconfirmed">;
964
+ message: z.ZodOptional<z.ZodString>;
965
+ retryable: z.ZodLiteral<false>;
966
+ status: z.ZodLiteral<"pending_confirmation">;
967
+ writeActionId: z.ZodString;
968
+ }, z.core.$strip>]>;
969
+ readonly tweetsDelete: z.ZodObject<{
970
+ success: z.ZodLiteral<true>;
971
+ }, z.core.$loose>;
972
+ readonly tweetsGet: z.ZodObject<{
973
+ author: z.ZodOptional<z.ZodObject<{
974
+ followers: z.ZodNumber;
975
+ id: z.ZodString;
976
+ profilePicture: z.ZodOptional<z.ZodString>;
977
+ username: z.ZodString;
978
+ verified: z.ZodBoolean;
979
+ }, z.core.$loose>>;
980
+ tweet: z.ZodObject<{
981
+ bookmarkCount: z.ZodNumber;
982
+ conversationId: z.ZodOptional<z.ZodString>;
983
+ createdAt: z.ZodOptional<z.ZodString>;
984
+ entities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
985
+ id: z.ZodString;
986
+ isNoteTweet: z.ZodOptional<z.ZodBoolean>;
987
+ isQuoteStatus: z.ZodOptional<z.ZodBoolean>;
988
+ isReply: z.ZodOptional<z.ZodBoolean>;
989
+ likeCount: z.ZodNumber;
990
+ media: z.ZodOptional<z.ZodArray<z.ZodObject<{
991
+ mediaUrl: z.ZodOptional<z.ZodString>;
992
+ type: z.ZodOptional<z.ZodEnum<{
993
+ animated_gif: "animated_gif";
994
+ photo: "photo";
995
+ video: "video";
996
+ }>>;
997
+ url: z.ZodOptional<z.ZodString>;
998
+ }, z.core.$loose>>>;
999
+ quoteCount: z.ZodNumber;
1000
+ replyCount: z.ZodNumber;
1001
+ retweetCount: z.ZodNumber;
1002
+ source: z.ZodOptional<z.ZodString>;
1003
+ text: z.ZodString;
1004
+ viewCount: z.ZodNumber;
1005
+ }, z.core.$loose>;
1006
+ }, z.core.$strip>;
1007
+ readonly tweetsLike: z.ZodObject<{
1008
+ success: z.ZodLiteral<true>;
1009
+ }, z.core.$loose>;
1010
+ readonly tweetsRetweet: z.ZodObject<{
1011
+ success: z.ZodLiteral<true>;
1012
+ }, z.core.$loose>;
1013
+ readonly tweetsSearch: z.ZodObject<{
1014
+ has_next_page: z.ZodBoolean;
1015
+ next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1016
+ tweets: z.ZodArray<z.ZodObject<{
1017
+ author: z.ZodOptional<z.ZodObject<{
1018
+ coverPicture: z.ZodOptional<z.ZodString>;
1019
+ createdAt: z.ZodOptional<z.ZodString>;
1020
+ description: z.ZodOptional<z.ZodString>;
1021
+ followers: z.ZodOptional<z.ZodNumber>;
1022
+ following: z.ZodOptional<z.ZodNumber>;
1023
+ id: z.ZodString;
1024
+ location: z.ZodOptional<z.ZodString>;
1025
+ name: z.ZodString;
1026
+ profilePicture: z.ZodOptional<z.ZodString>;
1027
+ statusesCount: z.ZodOptional<z.ZodNumber>;
1028
+ username: z.ZodString;
1029
+ verified: z.ZodOptional<z.ZodBoolean>;
1030
+ }, z.core.$loose>>;
1031
+ bookmarkCount: z.ZodOptional<z.ZodNumber>;
1032
+ conversationId: z.ZodOptional<z.ZodString>;
1033
+ createdAt: z.ZodOptional<z.ZodString>;
1034
+ entities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1035
+ id: z.ZodString;
1036
+ inReplyToId: z.ZodOptional<z.ZodString>;
1037
+ inReplyToUserId: z.ZodOptional<z.ZodString>;
1038
+ inReplyToUsername: z.ZodOptional<z.ZodString>;
1039
+ isLimitedReply: z.ZodOptional<z.ZodBoolean>;
1040
+ isNoteTweet: z.ZodOptional<z.ZodBoolean>;
1041
+ isQuoteStatus: z.ZodOptional<z.ZodBoolean>;
1042
+ isReply: z.ZodOptional<z.ZodBoolean>;
1043
+ lang: z.ZodOptional<z.ZodString>;
1044
+ likeCount: z.ZodOptional<z.ZodNumber>;
1045
+ media: z.ZodOptional<z.ZodArray<z.ZodObject<{
1046
+ mediaUrl: z.ZodOptional<z.ZodString>;
1047
+ type: z.ZodOptional<z.ZodEnum<{
1048
+ animated_gif: "animated_gif";
1049
+ photo: "photo";
1050
+ video: "video";
1051
+ }>>;
1052
+ url: z.ZodOptional<z.ZodString>;
1053
+ }, z.core.$loose>>>;
1054
+ quoteCount: z.ZodOptional<z.ZodNumber>;
1055
+ replyCount: z.ZodOptional<z.ZodNumber>;
1056
+ retweetCount: z.ZodOptional<z.ZodNumber>;
1057
+ source: z.ZodOptional<z.ZodString>;
1058
+ text: z.ZodString;
1059
+ type: z.ZodOptional<z.ZodString>;
1060
+ url: z.ZodOptional<z.ZodString>;
1061
+ viewCount: z.ZodOptional<z.ZodNumber>;
1062
+ }, z.core.$loose>>;
1063
+ }, z.core.$strip>;
1064
+ readonly tweetsUnlike: z.ZodObject<{
1065
+ success: z.ZodLiteral<true>;
1066
+ }, z.core.$loose>;
1067
+ readonly usersBatch: z.ZodObject<{
1068
+ has_next_page: z.ZodBoolean;
1069
+ next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1070
+ users: z.ZodArray<z.ZodObject<{
1071
+ coverPicture: z.ZodOptional<z.ZodString>;
1072
+ createdAt: z.ZodOptional<z.ZodString>;
1073
+ description: z.ZodOptional<z.ZodString>;
1074
+ followers: z.ZodOptional<z.ZodNumber>;
1075
+ following: z.ZodOptional<z.ZodNumber>;
1076
+ id: z.ZodString;
1077
+ location: z.ZodOptional<z.ZodString>;
1078
+ name: z.ZodString;
1079
+ profilePicture: z.ZodOptional<z.ZodString>;
1080
+ statusesCount: z.ZodOptional<z.ZodNumber>;
1081
+ username: z.ZodString;
1082
+ verified: z.ZodOptional<z.ZodBoolean>;
1083
+ }, z.core.$loose>>;
1084
+ }, z.core.$strip>;
1085
+ readonly usersFollow: z.ZodObject<{
1086
+ success: z.ZodLiteral<true>;
1087
+ }, z.core.$loose>;
1088
+ readonly usersFollowers: z.ZodObject<{
1089
+ has_next_page: z.ZodBoolean;
1090
+ next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1091
+ users: z.ZodArray<z.ZodObject<{
1092
+ coverPicture: z.ZodOptional<z.ZodString>;
1093
+ createdAt: z.ZodOptional<z.ZodString>;
1094
+ description: z.ZodOptional<z.ZodString>;
1095
+ followers: z.ZodOptional<z.ZodNumber>;
1096
+ following: z.ZodOptional<z.ZodNumber>;
1097
+ id: z.ZodString;
1098
+ location: z.ZodOptional<z.ZodString>;
1099
+ name: z.ZodString;
1100
+ profilePicture: z.ZodOptional<z.ZodString>;
1101
+ statusesCount: z.ZodOptional<z.ZodNumber>;
1102
+ username: z.ZodString;
1103
+ verified: z.ZodOptional<z.ZodBoolean>;
1104
+ }, z.core.$loose>>;
1105
+ }, z.core.$strip>;
1106
+ readonly usersFollowing: z.ZodObject<{
1107
+ has_next_page: z.ZodBoolean;
1108
+ next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1109
+ users: z.ZodArray<z.ZodObject<{
1110
+ coverPicture: z.ZodOptional<z.ZodString>;
1111
+ createdAt: z.ZodOptional<z.ZodString>;
1112
+ description: z.ZodOptional<z.ZodString>;
1113
+ followers: z.ZodOptional<z.ZodNumber>;
1114
+ following: z.ZodOptional<z.ZodNumber>;
1115
+ id: z.ZodString;
1116
+ location: z.ZodOptional<z.ZodString>;
1117
+ name: z.ZodString;
1118
+ profilePicture: z.ZodOptional<z.ZodString>;
1119
+ statusesCount: z.ZodOptional<z.ZodNumber>;
1120
+ username: z.ZodString;
1121
+ verified: z.ZodOptional<z.ZodBoolean>;
1122
+ }, z.core.$loose>>;
1123
+ }, z.core.$strip>;
1124
+ readonly usersGet: z.ZodObject<{
1125
+ coverPicture: z.ZodOptional<z.ZodString>;
1126
+ createdAt: z.ZodOptional<z.ZodString>;
1127
+ description: z.ZodOptional<z.ZodString>;
1128
+ followers: z.ZodOptional<z.ZodNumber>;
1129
+ following: z.ZodOptional<z.ZodNumber>;
1130
+ id: z.ZodString;
1131
+ location: z.ZodOptional<z.ZodString>;
1132
+ name: z.ZodString;
1133
+ profilePicture: z.ZodOptional<z.ZodString>;
1134
+ statusesCount: z.ZodOptional<z.ZodNumber>;
1135
+ username: z.ZodString;
1136
+ verified: z.ZodOptional<z.ZodBoolean>;
1137
+ }, z.core.$loose>;
1138
+ readonly usersSearch: z.ZodObject<{
1139
+ has_next_page: z.ZodBoolean;
1140
+ next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1141
+ users: z.ZodArray<z.ZodObject<{
1142
+ coverPicture: z.ZodOptional<z.ZodString>;
1143
+ createdAt: z.ZodOptional<z.ZodString>;
1144
+ description: z.ZodOptional<z.ZodString>;
1145
+ followers: z.ZodOptional<z.ZodNumber>;
1146
+ following: z.ZodOptional<z.ZodNumber>;
1147
+ id: z.ZodString;
1148
+ location: z.ZodOptional<z.ZodString>;
1149
+ name: z.ZodString;
1150
+ profilePicture: z.ZodOptional<z.ZodString>;
1151
+ statusesCount: z.ZodOptional<z.ZodNumber>;
1152
+ username: z.ZodString;
1153
+ verified: z.ZodOptional<z.ZodBoolean>;
1154
+ }, z.core.$loose>>;
1155
+ }, z.core.$strip>;
1156
+ readonly usersTweets: z.ZodObject<{
1157
+ has_next_page: z.ZodBoolean;
1158
+ next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1159
+ tweets: z.ZodArray<z.ZodObject<{
1160
+ author: z.ZodOptional<z.ZodObject<{
1161
+ coverPicture: z.ZodOptional<z.ZodString>;
1162
+ createdAt: z.ZodOptional<z.ZodString>;
1163
+ description: z.ZodOptional<z.ZodString>;
1164
+ followers: z.ZodOptional<z.ZodNumber>;
1165
+ following: z.ZodOptional<z.ZodNumber>;
1166
+ id: z.ZodString;
1167
+ location: z.ZodOptional<z.ZodString>;
1168
+ name: z.ZodString;
1169
+ profilePicture: z.ZodOptional<z.ZodString>;
1170
+ statusesCount: z.ZodOptional<z.ZodNumber>;
1171
+ username: z.ZodString;
1172
+ verified: z.ZodOptional<z.ZodBoolean>;
1173
+ }, z.core.$loose>>;
1174
+ bookmarkCount: z.ZodOptional<z.ZodNumber>;
1175
+ conversationId: z.ZodOptional<z.ZodString>;
1176
+ createdAt: z.ZodOptional<z.ZodString>;
1177
+ entities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1178
+ id: z.ZodString;
1179
+ inReplyToId: z.ZodOptional<z.ZodString>;
1180
+ inReplyToUserId: z.ZodOptional<z.ZodString>;
1181
+ inReplyToUsername: z.ZodOptional<z.ZodString>;
1182
+ isLimitedReply: z.ZodOptional<z.ZodBoolean>;
1183
+ isNoteTweet: z.ZodOptional<z.ZodBoolean>;
1184
+ isQuoteStatus: z.ZodOptional<z.ZodBoolean>;
1185
+ isReply: z.ZodOptional<z.ZodBoolean>;
1186
+ lang: z.ZodOptional<z.ZodString>;
1187
+ likeCount: z.ZodOptional<z.ZodNumber>;
1188
+ media: z.ZodOptional<z.ZodArray<z.ZodObject<{
1189
+ mediaUrl: z.ZodOptional<z.ZodString>;
1190
+ type: z.ZodOptional<z.ZodEnum<{
1191
+ animated_gif: "animated_gif";
1192
+ photo: "photo";
1193
+ video: "video";
1194
+ }>>;
1195
+ url: z.ZodOptional<z.ZodString>;
1196
+ }, z.core.$loose>>>;
1197
+ quoteCount: z.ZodOptional<z.ZodNumber>;
1198
+ replyCount: z.ZodOptional<z.ZodNumber>;
1199
+ retweetCount: z.ZodOptional<z.ZodNumber>;
1200
+ source: z.ZodOptional<z.ZodString>;
1201
+ text: z.ZodString;
1202
+ type: z.ZodOptional<z.ZodString>;
1203
+ url: z.ZodOptional<z.ZodString>;
1204
+ viewCount: z.ZodOptional<z.ZodNumber>;
1205
+ }, z.core.$loose>>;
1206
+ }, z.core.$strip>;
1207
+ readonly usersUnfollow: z.ZodObject<{
1208
+ success: z.ZodLiteral<true>;
1209
+ }, z.core.$loose>;
1210
+ readonly webhooksCreate: z.ZodObject<{
1211
+ createdAt: z.ZodString;
1212
+ eventTypes: z.ZodArray<z.ZodEnum<{
1213
+ "tweet.new": "tweet.new";
1214
+ "tweet.quote": "tweet.quote";
1215
+ "tweet.reply": "tweet.reply";
1216
+ "tweet.retweet": "tweet.retweet";
1217
+ }>>;
1218
+ id: z.ZodString;
1219
+ isActive: z.ZodBoolean;
1220
+ url: z.ZodString;
1221
+ secret: z.ZodString;
1222
+ }, z.core.$strip>;
1223
+ readonly webhooksDeactivate: z.ZodObject<{
1224
+ success: z.ZodLiteral<true>;
1225
+ }, z.core.$loose>;
1226
+ readonly webhooksDeliveries: z.ZodObject<{
1227
+ deliveries: z.ZodArray<z.ZodObject<{
1228
+ attempts: z.ZodNumber;
1229
+ createdAt: z.ZodString;
1230
+ deliveredAt: z.ZodOptional<z.ZodString>;
1231
+ id: z.ZodString;
1232
+ lastError: z.ZodOptional<z.ZodString>;
1233
+ lastStatusCode: z.ZodOptional<z.ZodNumber>;
1234
+ status: z.ZodString;
1235
+ streamEventId: z.ZodString;
1236
+ }, z.core.$strip>>;
1237
+ }, z.core.$strip>;
1238
+ readonly webhooksList: z.ZodObject<{
1239
+ webhooks: z.ZodArray<z.ZodObject<{
1240
+ createdAt: z.ZodString;
1241
+ eventTypes: z.ZodArray<z.ZodEnum<{
1242
+ "tweet.new": "tweet.new";
1243
+ "tweet.quote": "tweet.quote";
1244
+ "tweet.reply": "tweet.reply";
1245
+ "tweet.retweet": "tweet.retweet";
1246
+ }>>;
1247
+ id: z.ZodString;
1248
+ isActive: z.ZodBoolean;
1249
+ url: z.ZodString;
1250
+ }, z.core.$strip>>;
1251
+ }, z.core.$strip>;
1252
+ readonly webhooksTest: z.ZodObject<{
1253
+ error: z.ZodOptional<z.ZodString>;
1254
+ statusCode: z.ZodNumber;
1255
+ success: z.ZodBoolean;
1256
+ }, z.core.$strip>;
1257
+ readonly webhooksUpdate: z.ZodObject<{
1258
+ createdAt: z.ZodString;
1259
+ eventTypes: z.ZodArray<z.ZodEnum<{
1260
+ "tweet.new": "tweet.new";
1261
+ "tweet.quote": "tweet.quote";
1262
+ "tweet.reply": "tweet.reply";
1263
+ "tweet.retweet": "tweet.retweet";
1264
+ }>>;
1265
+ id: z.ZodString;
1266
+ isActive: z.ZodBoolean;
1267
+ url: z.ZodString;
1268
+ }, z.core.$strip>;
1269
+ readonly writeActionsGet: z.ZodObject<{
1270
+ action: z.ZodString;
1271
+ charged: z.ZodBoolean;
1272
+ confirmationAttempts: z.ZodOptional<z.ZodNumber>;
1273
+ confirmationCheckedAt: z.ZodOptional<z.ZodString>;
1274
+ confirmationSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1275
+ confirmedAt: z.ZodOptional<z.ZodString>;
1276
+ createdAt: z.ZodString;
1277
+ message: z.ZodOptional<z.ZodString>;
1278
+ messageId: z.ZodOptional<z.ZodString>;
1279
+ retryable: z.ZodBoolean;
1280
+ sendDispatched: z.ZodBoolean;
1281
+ sendDispatchedAt: z.ZodOptional<z.ZodString>;
1282
+ status: z.ZodEnum<{
1283
+ success: "success";
1284
+ failed: "failed";
1285
+ pending_confirmation: "pending_confirmation";
1286
+ }>;
1287
+ targetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1288
+ tweetId: z.ZodOptional<z.ZodString>;
1289
+ writeActionId: z.ZodString;
1290
+ }, z.core.$loose>;
1291
+ };
1292
+ export {};
1293
+ //# sourceMappingURL=types.d.ts.map