stophy 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.cjs +20 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1042 -228
- package/dist/index.d.ts +1042 -228
- package/dist/index.js +20 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -121,8 +121,12 @@ type ListEndpointsResponses = {
|
|
|
121
121
|
200: EndpointCatalog;
|
|
122
122
|
};
|
|
123
123
|
type ListEndpointsResponse = ListEndpointsResponses[keyof ListEndpointsResponses];
|
|
124
|
-
type
|
|
124
|
+
type GoogleSearchData = {
|
|
125
125
|
body: {
|
|
126
|
+
/**
|
|
127
|
+
* How many results to return, up to 100.
|
|
128
|
+
*/
|
|
129
|
+
limit?: number;
|
|
126
130
|
query: string;
|
|
127
131
|
/**
|
|
128
132
|
* ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
|
|
@@ -135,16 +139,125 @@ type WebSearchData = {
|
|
|
135
139
|
includeDomains?: Array<string>;
|
|
136
140
|
excludeDomains?: Array<string>;
|
|
137
141
|
within?: "day" | "week" | "month" | "year" | "all";
|
|
142
|
+
};
|
|
143
|
+
path?: never;
|
|
144
|
+
query?: never;
|
|
145
|
+
url: "/v1/google/search";
|
|
146
|
+
};
|
|
147
|
+
type GoogleSearchErrors = {
|
|
148
|
+
/**
|
|
149
|
+
* The request failed. retryable says whether trying again can help.
|
|
150
|
+
*/
|
|
151
|
+
"4XX": _Error;
|
|
152
|
+
/**
|
|
153
|
+
* The request failed. retryable says whether trying again can help.
|
|
154
|
+
*/
|
|
155
|
+
"5XX": _Error;
|
|
156
|
+
};
|
|
157
|
+
type GoogleSearchError = GoogleSearchErrors[keyof GoogleSearchErrors];
|
|
158
|
+
type GoogleSearchResponses = {
|
|
159
|
+
/**
|
|
160
|
+
* The data, and the credits this call used.
|
|
161
|
+
*/
|
|
162
|
+
200: {
|
|
163
|
+
success: true;
|
|
164
|
+
data: {
|
|
165
|
+
results: Array<{
|
|
166
|
+
url: string;
|
|
167
|
+
title: string;
|
|
168
|
+
/**
|
|
169
|
+
* Text shown under the title.
|
|
170
|
+
*/
|
|
171
|
+
description?: string;
|
|
172
|
+
/**
|
|
173
|
+
* Day shown on the result, when there is one.
|
|
174
|
+
*/
|
|
175
|
+
date?: string;
|
|
176
|
+
/**
|
|
177
|
+
* Links listed under the result.
|
|
178
|
+
*/
|
|
179
|
+
sitelinks?: Array<{
|
|
180
|
+
/**
|
|
181
|
+
* Link text.
|
|
182
|
+
*/
|
|
183
|
+
title: string;
|
|
184
|
+
/**
|
|
185
|
+
* Destination URL.
|
|
186
|
+
*/
|
|
187
|
+
url: string;
|
|
188
|
+
}>;
|
|
189
|
+
position: number;
|
|
190
|
+
}>;
|
|
191
|
+
aiOverview?: {
|
|
192
|
+
text: string;
|
|
193
|
+
/**
|
|
194
|
+
* Pages the overview cites.
|
|
195
|
+
*/
|
|
196
|
+
sources?: Array<{
|
|
197
|
+
url: string;
|
|
198
|
+
title?: string;
|
|
199
|
+
}>;
|
|
200
|
+
};
|
|
201
|
+
knowledgeGraph?: {
|
|
202
|
+
title: string;
|
|
203
|
+
type?: string;
|
|
204
|
+
website?: string;
|
|
205
|
+
imageUrl?: string;
|
|
206
|
+
description?: string;
|
|
207
|
+
descriptionSource?: string;
|
|
208
|
+
descriptionUrl?: string;
|
|
209
|
+
/**
|
|
210
|
+
* Labelled facts, like Founded or Headquarters.
|
|
211
|
+
*/
|
|
212
|
+
attributes?: {
|
|
213
|
+
[key: string]: string;
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
peopleAlsoAsk?: Array<{
|
|
217
|
+
question: string;
|
|
218
|
+
answer?: string;
|
|
219
|
+
title?: string;
|
|
220
|
+
url?: string;
|
|
221
|
+
}>;
|
|
222
|
+
relatedSearches?: Array<string>;
|
|
223
|
+
/**
|
|
224
|
+
* True when later pages failed and only the earlier results are here.
|
|
225
|
+
*/
|
|
226
|
+
isPartial?: true;
|
|
227
|
+
};
|
|
228
|
+
creditsUsed: number;
|
|
229
|
+
requestId: string;
|
|
230
|
+
};
|
|
231
|
+
};
|
|
232
|
+
type GoogleSearchResponse = GoogleSearchResponses[keyof GoogleSearchResponses];
|
|
233
|
+
type GoogleNewsData = {
|
|
234
|
+
body: {
|
|
138
235
|
/**
|
|
139
|
-
*
|
|
236
|
+
* How many articles to return, up to 50. Headlines (no query) give up to 10.
|
|
140
237
|
*/
|
|
141
238
|
limit?: number;
|
|
239
|
+
query?: string;
|
|
240
|
+
/**
|
|
241
|
+
* Headlines for one section instead of a search. Send query or topic, not both.
|
|
242
|
+
*/
|
|
243
|
+
topic?: "world" | "nation" | "business" | "technology" | "entertainment" | "sports" | "science" | "health";
|
|
244
|
+
/**
|
|
245
|
+
* ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
|
|
246
|
+
*/
|
|
247
|
+
country?: string;
|
|
248
|
+
/**
|
|
249
|
+
* Two-letter language code like en or pt. Any case is accepted.
|
|
250
|
+
*/
|
|
251
|
+
language?: string;
|
|
252
|
+
includeDomains?: Array<string>;
|
|
253
|
+
excludeDomains?: Array<string>;
|
|
254
|
+
within?: "hour" | "day" | "week" | "month" | "year" | "all";
|
|
142
255
|
};
|
|
143
256
|
path?: never;
|
|
144
257
|
query?: never;
|
|
145
|
-
url: "/v1/
|
|
258
|
+
url: "/v1/google/news";
|
|
146
259
|
};
|
|
147
|
-
type
|
|
260
|
+
type GoogleNewsErrors = {
|
|
148
261
|
/**
|
|
149
262
|
* The request failed. retryable says whether trying again can help.
|
|
150
263
|
*/
|
|
@@ -154,8 +267,8 @@ type WebSearchErrors = {
|
|
|
154
267
|
*/
|
|
155
268
|
"5XX": _Error;
|
|
156
269
|
};
|
|
157
|
-
type
|
|
158
|
-
type
|
|
270
|
+
type GoogleNewsError = GoogleNewsErrors[keyof GoogleNewsErrors];
|
|
271
|
+
type GoogleNewsResponses = {
|
|
159
272
|
/**
|
|
160
273
|
* The data, and the credits this call used.
|
|
161
274
|
*/
|
|
@@ -163,10 +276,78 @@ type WebSearchResponses = {
|
|
|
163
276
|
success: true;
|
|
164
277
|
data: {
|
|
165
278
|
results: Array<{
|
|
166
|
-
title: string;
|
|
167
279
|
url: string;
|
|
280
|
+
title: string;
|
|
281
|
+
/**
|
|
282
|
+
* Publication that ran the article.
|
|
283
|
+
*/
|
|
284
|
+
source?: string;
|
|
285
|
+
/**
|
|
286
|
+
* Text shown under the headline.
|
|
287
|
+
*/
|
|
168
288
|
description?: string;
|
|
169
|
-
|
|
289
|
+
/**
|
|
290
|
+
* When the article was published.
|
|
291
|
+
*/
|
|
292
|
+
publishedAt?: string;
|
|
293
|
+
position: number;
|
|
294
|
+
}>;
|
|
295
|
+
/**
|
|
296
|
+
* True when later pages failed and only the earlier articles are here.
|
|
297
|
+
*/
|
|
298
|
+
isPartial?: true;
|
|
299
|
+
};
|
|
300
|
+
creditsUsed: number;
|
|
301
|
+
requestId: string;
|
|
302
|
+
};
|
|
303
|
+
};
|
|
304
|
+
type GoogleNewsResponse = GoogleNewsResponses[keyof GoogleNewsResponses];
|
|
305
|
+
type GoogleImagesData = {
|
|
306
|
+
body: {
|
|
307
|
+
/**
|
|
308
|
+
* How many images to return, up to 100.
|
|
309
|
+
*/
|
|
310
|
+
limit?: number;
|
|
311
|
+
query: string;
|
|
312
|
+
/**
|
|
313
|
+
* ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
|
|
314
|
+
*/
|
|
315
|
+
country?: string;
|
|
316
|
+
/**
|
|
317
|
+
* Two-letter language code like en or pt. Any case is accepted.
|
|
318
|
+
*/
|
|
319
|
+
language?: string;
|
|
320
|
+
};
|
|
321
|
+
path?: never;
|
|
322
|
+
query?: never;
|
|
323
|
+
url: "/v1/google/images";
|
|
324
|
+
};
|
|
325
|
+
type GoogleImagesErrors = {
|
|
326
|
+
/**
|
|
327
|
+
* The request failed. retryable says whether trying again can help.
|
|
328
|
+
*/
|
|
329
|
+
"4XX": _Error;
|
|
330
|
+
/**
|
|
331
|
+
* The request failed. retryable says whether trying again can help.
|
|
332
|
+
*/
|
|
333
|
+
"5XX": _Error;
|
|
334
|
+
};
|
|
335
|
+
type GoogleImagesError = GoogleImagesErrors[keyof GoogleImagesErrors];
|
|
336
|
+
type GoogleImagesResponses = {
|
|
337
|
+
/**
|
|
338
|
+
* The data, and the credits this call used.
|
|
339
|
+
*/
|
|
340
|
+
200: {
|
|
341
|
+
success: true;
|
|
342
|
+
data: {
|
|
343
|
+
results: Array<{
|
|
344
|
+
imageUrl: string;
|
|
345
|
+
title?: string;
|
|
346
|
+
pageUrl: string;
|
|
347
|
+
source?: string;
|
|
348
|
+
width: number;
|
|
349
|
+
height: number;
|
|
350
|
+
thumbnailUrl: string;
|
|
170
351
|
position: number;
|
|
171
352
|
}>;
|
|
172
353
|
};
|
|
@@ -174,9 +355,139 @@ type WebSearchResponses = {
|
|
|
174
355
|
requestId: string;
|
|
175
356
|
};
|
|
176
357
|
};
|
|
177
|
-
type
|
|
358
|
+
type GoogleImagesResponse = GoogleImagesResponses[keyof GoogleImagesResponses];
|
|
359
|
+
type GoogleAiModeData = {
|
|
360
|
+
body: {
|
|
361
|
+
/**
|
|
362
|
+
* The question to ask, worded the way a person would ask it.
|
|
363
|
+
*/
|
|
364
|
+
prompt: string;
|
|
365
|
+
/**
|
|
366
|
+
* ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
|
|
367
|
+
*/
|
|
368
|
+
country?: string;
|
|
369
|
+
/**
|
|
370
|
+
* Two-letter language code like en or pt. Any case is accepted.
|
|
371
|
+
*/
|
|
372
|
+
language?: string;
|
|
373
|
+
};
|
|
374
|
+
path?: never;
|
|
375
|
+
query?: never;
|
|
376
|
+
url: "/v1/google/aiMode";
|
|
377
|
+
};
|
|
378
|
+
type GoogleAiModeErrors = {
|
|
379
|
+
/**
|
|
380
|
+
* The request failed. retryable says whether trying again can help.
|
|
381
|
+
*/
|
|
382
|
+
"4XX": _Error;
|
|
383
|
+
/**
|
|
384
|
+
* The request failed. retryable says whether trying again can help.
|
|
385
|
+
*/
|
|
386
|
+
"5XX": _Error;
|
|
387
|
+
};
|
|
388
|
+
type GoogleAiModeError = GoogleAiModeErrors[keyof GoogleAiModeErrors];
|
|
389
|
+
type GoogleAiModeResponses = {
|
|
390
|
+
/**
|
|
391
|
+
* The data, and the credits this call used.
|
|
392
|
+
*/
|
|
393
|
+
200: {
|
|
394
|
+
success: true;
|
|
395
|
+
data: {
|
|
396
|
+
prompt?: string;
|
|
397
|
+
answer: string;
|
|
398
|
+
sources: Array<{
|
|
399
|
+
url: string;
|
|
400
|
+
title?: string;
|
|
401
|
+
}>;
|
|
402
|
+
};
|
|
403
|
+
creditsUsed: number;
|
|
404
|
+
requestId: string;
|
|
405
|
+
};
|
|
406
|
+
};
|
|
407
|
+
type GoogleAiModeResponse = GoogleAiModeResponses[keyof GoogleAiModeResponses];
|
|
408
|
+
type GoogleShoppingData = {
|
|
409
|
+
body: {
|
|
410
|
+
/**
|
|
411
|
+
* How many products to return, up to 40.
|
|
412
|
+
*/
|
|
413
|
+
limit?: number;
|
|
414
|
+
query: string;
|
|
415
|
+
/**
|
|
416
|
+
* ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
|
|
417
|
+
*/
|
|
418
|
+
country?: string;
|
|
419
|
+
/**
|
|
420
|
+
* Two-letter language code like en or pt. Any case is accepted.
|
|
421
|
+
*/
|
|
422
|
+
language?: string;
|
|
423
|
+
};
|
|
424
|
+
path?: never;
|
|
425
|
+
query?: never;
|
|
426
|
+
url: "/v1/google/shopping";
|
|
427
|
+
};
|
|
428
|
+
type GoogleShoppingErrors = {
|
|
429
|
+
/**
|
|
430
|
+
* The request failed. retryable says whether trying again can help.
|
|
431
|
+
*/
|
|
432
|
+
"4XX": _Error;
|
|
433
|
+
/**
|
|
434
|
+
* The request failed. retryable says whether trying again can help.
|
|
435
|
+
*/
|
|
436
|
+
"5XX": _Error;
|
|
437
|
+
};
|
|
438
|
+
type GoogleShoppingError = GoogleShoppingErrors[keyof GoogleShoppingErrors];
|
|
439
|
+
type GoogleShoppingResponses = {
|
|
440
|
+
/**
|
|
441
|
+
* The data, and the credits this call used.
|
|
442
|
+
*/
|
|
443
|
+
200: {
|
|
444
|
+
success: true;
|
|
445
|
+
data: {
|
|
446
|
+
results: Array<{
|
|
447
|
+
title: string;
|
|
448
|
+
/**
|
|
449
|
+
* Current price in the country's currency.
|
|
450
|
+
*/
|
|
451
|
+
price: number;
|
|
452
|
+
/**
|
|
453
|
+
* ISO 4217 currency code, e.g. USD.
|
|
454
|
+
*/
|
|
455
|
+
priceCurrency?: string;
|
|
456
|
+
/**
|
|
457
|
+
* Higher price Google shows next to the current one, when there is one.
|
|
458
|
+
*/
|
|
459
|
+
originalPrice?: number;
|
|
460
|
+
/**
|
|
461
|
+
* Store with the listed price.
|
|
462
|
+
*/
|
|
463
|
+
seller?: string;
|
|
464
|
+
/**
|
|
465
|
+
* Delivery terms, in the page language.
|
|
466
|
+
*/
|
|
467
|
+
delivery?: string;
|
|
468
|
+
/**
|
|
469
|
+
* Return terms, in the page language.
|
|
470
|
+
*/
|
|
471
|
+
returns?: string;
|
|
472
|
+
rating?: number;
|
|
473
|
+
/**
|
|
474
|
+
* How many reviews the rating is based on.
|
|
475
|
+
*/
|
|
476
|
+
reviews?: number;
|
|
477
|
+
position: number;
|
|
478
|
+
}>;
|
|
479
|
+
};
|
|
480
|
+
creditsUsed: number;
|
|
481
|
+
requestId: string;
|
|
482
|
+
};
|
|
483
|
+
};
|
|
484
|
+
type GoogleShoppingResponse = GoogleShoppingResponses[keyof GoogleShoppingResponses];
|
|
178
485
|
type YoutubeSearchData = {
|
|
179
486
|
body: {
|
|
487
|
+
/**
|
|
488
|
+
* Return at most this many results (1-100).
|
|
489
|
+
*/
|
|
490
|
+
limit?: number;
|
|
180
491
|
query: string;
|
|
181
492
|
type?: "videos" | "all" | "channels" | "playlists" | "shorts";
|
|
182
493
|
within?: "hour" | "day" | "week" | "month" | "year" | "all";
|
|
@@ -185,10 +496,6 @@ type YoutubeSearchData = {
|
|
|
185
496
|
* The cursor from the previous response. Send it as is.
|
|
186
497
|
*/
|
|
187
498
|
cursor?: string;
|
|
188
|
-
/**
|
|
189
|
-
* Return at most this many results (1-100).
|
|
190
|
-
*/
|
|
191
|
-
limit?: number;
|
|
192
499
|
};
|
|
193
500
|
path?: never;
|
|
194
501
|
query?: never;
|
|
@@ -355,6 +662,10 @@ type TranscriptResponses = {
|
|
|
355
662
|
type TranscriptResponse = TranscriptResponses[keyof TranscriptResponses];
|
|
356
663
|
type YoutubeCommentsData = {
|
|
357
664
|
body: {
|
|
665
|
+
/**
|
|
666
|
+
* Return at most this many results (1-100).
|
|
667
|
+
*/
|
|
668
|
+
limit?: number;
|
|
358
669
|
video: string;
|
|
359
670
|
/**
|
|
360
671
|
* A comment's repliesCursor from an earlier response. Returns that comment's replies.
|
|
@@ -365,10 +676,6 @@ type YoutubeCommentsData = {
|
|
|
365
676
|
* The cursor from the previous response. Send it as is.
|
|
366
677
|
*/
|
|
367
678
|
cursor?: string;
|
|
368
|
-
/**
|
|
369
|
-
* Return at most this many results (1-100).
|
|
370
|
-
*/
|
|
371
|
-
limit?: number;
|
|
372
679
|
};
|
|
373
680
|
path?: never;
|
|
374
681
|
query?: never;
|
|
@@ -417,16 +724,16 @@ type YoutubeCommentsResponses = {
|
|
|
417
724
|
type YoutubeCommentsResponse = YoutubeCommentsResponses[keyof YoutubeCommentsResponses];
|
|
418
725
|
type YoutubeChannelData = {
|
|
419
726
|
body: {
|
|
727
|
+
/**
|
|
728
|
+
* Return at most this many results (1-100).
|
|
729
|
+
*/
|
|
730
|
+
limit?: number;
|
|
420
731
|
channel: string;
|
|
421
732
|
tab?: "videos" | "shorts" | "live" | "playlists" | "posts";
|
|
422
733
|
/**
|
|
423
734
|
* The cursor from the previous response. Send it as is.
|
|
424
735
|
*/
|
|
425
736
|
cursor?: string;
|
|
426
|
-
/**
|
|
427
|
-
* Return at most this many results (1-100).
|
|
428
|
-
*/
|
|
429
|
-
limit?: number;
|
|
430
737
|
};
|
|
431
738
|
path?: never;
|
|
432
739
|
query?: never;
|
|
@@ -511,15 +818,15 @@ type YoutubeChannelResponses = {
|
|
|
511
818
|
type YoutubeChannelResponse = YoutubeChannelResponses[keyof YoutubeChannelResponses];
|
|
512
819
|
type YoutubePlaylistData = {
|
|
513
820
|
body: {
|
|
821
|
+
/**
|
|
822
|
+
* Return at most this many results (1-100).
|
|
823
|
+
*/
|
|
824
|
+
limit?: number;
|
|
514
825
|
playlist: string;
|
|
515
826
|
/**
|
|
516
827
|
* The cursor from the previous response. Send it as is.
|
|
517
828
|
*/
|
|
518
829
|
cursor?: string;
|
|
519
|
-
/**
|
|
520
|
-
* Return at most this many results (1-100).
|
|
521
|
-
*/
|
|
522
|
-
limit?: number;
|
|
523
830
|
};
|
|
524
831
|
path?: never;
|
|
525
832
|
query?: never;
|
|
@@ -579,19 +886,25 @@ type YoutubePlaylistResponses = {
|
|
|
579
886
|
type YoutubePlaylistResponse = YoutubePlaylistResponses[keyof YoutubePlaylistResponses];
|
|
580
887
|
type RedditSearchData = {
|
|
581
888
|
body: {
|
|
889
|
+
/**
|
|
890
|
+
* Return at most this many results (1-100).
|
|
891
|
+
*/
|
|
892
|
+
limit?: number;
|
|
893
|
+
/**
|
|
894
|
+
* Words to find. With any sort other than relevance, a query of several words matches that exact phrase; use sort relevance to match the words anywhere in a post. Quotes, AND, OR, NOT, title:, selftext:, author:, subreddit: and site: are used as typed.
|
|
895
|
+
*/
|
|
582
896
|
query: string;
|
|
583
897
|
type?: "posts" | "subreddits" | "users";
|
|
584
898
|
subreddit?: string;
|
|
899
|
+
/**
|
|
900
|
+
* relevance matches the words anywhere in a post. hot, top, newest and mostComments match the exact phrase, so a query of several words only returns posts containing that phrase.
|
|
901
|
+
*/
|
|
585
902
|
sort?: "relevance" | "hot" | "top" | "newest" | "mostComments";
|
|
586
903
|
within?: "hour" | "day" | "week" | "month" | "year" | "all";
|
|
587
904
|
/**
|
|
588
905
|
* The cursor from the previous response. Send it as is.
|
|
589
906
|
*/
|
|
590
907
|
cursor?: string;
|
|
591
|
-
/**
|
|
592
|
-
* Return at most this many results (1-100).
|
|
593
|
-
*/
|
|
594
|
-
limit?: number;
|
|
595
908
|
};
|
|
596
909
|
path?: never;
|
|
597
910
|
query?: never;
|
|
@@ -753,6 +1066,10 @@ type RedditPostResponses = {
|
|
|
753
1066
|
type RedditPostResponse = RedditPostResponses[keyof RedditPostResponses];
|
|
754
1067
|
type RedditSubredditData = {
|
|
755
1068
|
body: {
|
|
1069
|
+
/**
|
|
1070
|
+
* Return at most this many results (1-100).
|
|
1071
|
+
*/
|
|
1072
|
+
limit?: number;
|
|
756
1073
|
subreddit: string;
|
|
757
1074
|
sort?: "hot" | "newest" | "top";
|
|
758
1075
|
within?: "hour" | "day" | "week" | "month" | "year" | "all";
|
|
@@ -760,10 +1077,6 @@ type RedditSubredditData = {
|
|
|
760
1077
|
* The cursor from the previous response. Send it as is.
|
|
761
1078
|
*/
|
|
762
1079
|
cursor?: string;
|
|
763
|
-
/**
|
|
764
|
-
* Return at most this many results (1-100).
|
|
765
|
-
*/
|
|
766
|
-
limit?: number;
|
|
767
1080
|
};
|
|
768
1081
|
path?: never;
|
|
769
1082
|
query?: never;
|
|
@@ -841,6 +1154,10 @@ type RedditSubredditResponses = {
|
|
|
841
1154
|
type RedditSubredditResponse = RedditSubredditResponses[keyof RedditSubredditResponses];
|
|
842
1155
|
type RedditUserData = {
|
|
843
1156
|
body: {
|
|
1157
|
+
/**
|
|
1158
|
+
* Return at most this many results (1-100).
|
|
1159
|
+
*/
|
|
1160
|
+
limit?: number;
|
|
844
1161
|
profile: string;
|
|
845
1162
|
tab?: "overview" | "posts" | "comments";
|
|
846
1163
|
sort?: "newest" | "hot" | "top";
|
|
@@ -848,10 +1165,6 @@ type RedditUserData = {
|
|
|
848
1165
|
* The cursor from the previous response. Send it as is.
|
|
849
1166
|
*/
|
|
850
1167
|
cursor?: string;
|
|
851
|
-
/**
|
|
852
|
-
* Return at most this many results (1-100).
|
|
853
|
-
*/
|
|
854
|
-
limit?: number;
|
|
855
1168
|
};
|
|
856
1169
|
path?: never;
|
|
857
1170
|
query?: never;
|
|
@@ -934,16 +1247,16 @@ type RedditUserResponses = {
|
|
|
934
1247
|
type RedditUserResponse = RedditUserResponses[keyof RedditUserResponses];
|
|
935
1248
|
type RedditDomainData = {
|
|
936
1249
|
body: {
|
|
1250
|
+
/**
|
|
1251
|
+
* Return at most this many results (1-100).
|
|
1252
|
+
*/
|
|
1253
|
+
limit?: number;
|
|
937
1254
|
domain: string;
|
|
938
1255
|
sort?: "hot" | "newest" | "top";
|
|
939
1256
|
/**
|
|
940
1257
|
* The cursor from the previous response. Send it as is.
|
|
941
1258
|
*/
|
|
942
1259
|
cursor?: string;
|
|
943
|
-
/**
|
|
944
|
-
* Return at most this many results (1-100).
|
|
945
|
-
*/
|
|
946
|
-
limit?: number;
|
|
947
1260
|
};
|
|
948
1261
|
path?: never;
|
|
949
1262
|
query?: never;
|
|
@@ -1008,6 +1321,10 @@ type RedditDomainResponses = {
|
|
|
1008
1321
|
type RedditDomainResponse = RedditDomainResponses[keyof RedditDomainResponses];
|
|
1009
1322
|
type MapsSearchData = {
|
|
1010
1323
|
body: {
|
|
1324
|
+
/**
|
|
1325
|
+
* Return at most this many results (1-100).
|
|
1326
|
+
*/
|
|
1327
|
+
limit?: number;
|
|
1011
1328
|
query: string;
|
|
1012
1329
|
location: string;
|
|
1013
1330
|
/**
|
|
@@ -1022,10 +1339,6 @@ type MapsSearchData = {
|
|
|
1022
1339
|
* BCP 47 language tag, e.g. en or pt-BR. Any case is accepted.
|
|
1023
1340
|
*/
|
|
1024
1341
|
language?: string;
|
|
1025
|
-
/**
|
|
1026
|
-
* Return at most this many results (1-100).
|
|
1027
|
-
*/
|
|
1028
|
-
limit?: number;
|
|
1029
1342
|
};
|
|
1030
1343
|
path?: never;
|
|
1031
1344
|
query?: never;
|
|
@@ -1140,6 +1453,10 @@ type MapsPlaceResponses = {
|
|
|
1140
1453
|
type MapsPlaceResponse = MapsPlaceResponses[keyof MapsPlaceResponses];
|
|
1141
1454
|
type MapsReviewsData = {
|
|
1142
1455
|
body: {
|
|
1456
|
+
/**
|
|
1457
|
+
* Return at most this many results (1-100).
|
|
1458
|
+
*/
|
|
1459
|
+
limit?: number;
|
|
1143
1460
|
place: string;
|
|
1144
1461
|
sort?: "relevance" | "newest" | "highest" | "lowest";
|
|
1145
1462
|
/**
|
|
@@ -1150,10 +1467,6 @@ type MapsReviewsData = {
|
|
|
1150
1467
|
* BCP 47 language tag, e.g. en or pt-BR. Any case is accepted.
|
|
1151
1468
|
*/
|
|
1152
1469
|
language?: string;
|
|
1153
|
-
/**
|
|
1154
|
-
* Return at most this many results (1-100).
|
|
1155
|
-
*/
|
|
1156
|
-
limit?: number;
|
|
1157
1470
|
};
|
|
1158
1471
|
path?: never;
|
|
1159
1472
|
query?: never;
|
|
@@ -1208,15 +1521,15 @@ type MapsReviewsResponses = {
|
|
|
1208
1521
|
type MapsReviewsResponse = MapsReviewsResponses[keyof MapsReviewsResponses];
|
|
1209
1522
|
type InstagramProfileData = {
|
|
1210
1523
|
body: {
|
|
1524
|
+
/**
|
|
1525
|
+
* Return at most this many results (1-100).
|
|
1526
|
+
*/
|
|
1527
|
+
limit?: number;
|
|
1211
1528
|
profile: string;
|
|
1212
1529
|
/**
|
|
1213
1530
|
* The cursor from the previous response. Send it as is.
|
|
1214
1531
|
*/
|
|
1215
1532
|
cursor?: string;
|
|
1216
|
-
/**
|
|
1217
|
-
* Return at most this many results (1-100).
|
|
1218
|
-
*/
|
|
1219
|
-
limit?: number;
|
|
1220
1533
|
};
|
|
1221
1534
|
path?: never;
|
|
1222
1535
|
query?: never;
|
|
@@ -1374,16 +1687,16 @@ type InstagramPostResponses = {
|
|
|
1374
1687
|
type InstagramPostResponse = InstagramPostResponses[keyof InstagramPostResponses];
|
|
1375
1688
|
type InstagramCommentsData = {
|
|
1376
1689
|
body: {
|
|
1690
|
+
/**
|
|
1691
|
+
* Return at most this many results (1-100).
|
|
1692
|
+
*/
|
|
1693
|
+
limit?: number;
|
|
1377
1694
|
post: string;
|
|
1378
1695
|
comment?: string;
|
|
1379
1696
|
/**
|
|
1380
1697
|
* The cursor from the previous response. Send it as is.
|
|
1381
1698
|
*/
|
|
1382
1699
|
cursor?: string;
|
|
1383
|
-
/**
|
|
1384
|
-
* Return at most this many results (1-100).
|
|
1385
|
-
*/
|
|
1386
|
-
limit?: number;
|
|
1387
1700
|
};
|
|
1388
1701
|
path?: never;
|
|
1389
1702
|
query?: never;
|
|
@@ -1430,15 +1743,15 @@ type InstagramCommentsResponses = {
|
|
|
1430
1743
|
type InstagramCommentsResponse = InstagramCommentsResponses[keyof InstagramCommentsResponses];
|
|
1431
1744
|
type TiktokProfileData = {
|
|
1432
1745
|
body: {
|
|
1746
|
+
/**
|
|
1747
|
+
* Return at most this many results (1-100).
|
|
1748
|
+
*/
|
|
1749
|
+
limit?: number;
|
|
1433
1750
|
profile: string;
|
|
1434
1751
|
/**
|
|
1435
1752
|
* The cursor from the previous response. Send it as is.
|
|
1436
1753
|
*/
|
|
1437
1754
|
cursor?: string;
|
|
1438
|
-
/**
|
|
1439
|
-
* Return at most this many results (1-100).
|
|
1440
|
-
*/
|
|
1441
|
-
limit?: number;
|
|
1442
1755
|
};
|
|
1443
1756
|
path?: never;
|
|
1444
1757
|
query?: never;
|
|
@@ -1576,15 +1889,15 @@ type TiktokVideoResponses = {
|
|
|
1576
1889
|
type TiktokVideoResponse = TiktokVideoResponses[keyof TiktokVideoResponses];
|
|
1577
1890
|
type TiktokHashtagData = {
|
|
1578
1891
|
body: {
|
|
1892
|
+
/**
|
|
1893
|
+
* Return at most this many results (1-100).
|
|
1894
|
+
*/
|
|
1895
|
+
limit?: number;
|
|
1579
1896
|
hashtag: string;
|
|
1580
1897
|
/**
|
|
1581
1898
|
* The cursor from the previous response. Send it as is.
|
|
1582
1899
|
*/
|
|
1583
1900
|
cursor?: string;
|
|
1584
|
-
/**
|
|
1585
|
-
* Return at most this many results (1-100).
|
|
1586
|
-
*/
|
|
1587
|
-
limit?: number;
|
|
1588
1901
|
};
|
|
1589
1902
|
path?: never;
|
|
1590
1903
|
query?: never;
|
|
@@ -1646,16 +1959,16 @@ type TiktokHashtagResponses = {
|
|
|
1646
1959
|
type TiktokHashtagResponse = TiktokHashtagResponses[keyof TiktokHashtagResponses];
|
|
1647
1960
|
type TiktokCommentsData = {
|
|
1648
1961
|
body: {
|
|
1962
|
+
/**
|
|
1963
|
+
* Return at most this many results (1-100).
|
|
1964
|
+
*/
|
|
1965
|
+
limit?: number;
|
|
1649
1966
|
video: string;
|
|
1650
1967
|
comment?: string;
|
|
1651
1968
|
/**
|
|
1652
1969
|
* The cursor from the previous response. Send it as is.
|
|
1653
1970
|
*/
|
|
1654
1971
|
cursor?: string;
|
|
1655
|
-
/**
|
|
1656
|
-
* Return at most this many results (1-100).
|
|
1657
|
-
*/
|
|
1658
|
-
limit?: number;
|
|
1659
1972
|
};
|
|
1660
1973
|
path?: never;
|
|
1661
1974
|
query?: never;
|
|
@@ -1700,16 +2013,16 @@ type TiktokCommentsResponses = {
|
|
|
1700
2013
|
type TiktokCommentsResponse = TiktokCommentsResponses[keyof TiktokCommentsResponses];
|
|
1701
2014
|
type TiktokSearchData = {
|
|
1702
2015
|
body: {
|
|
2016
|
+
/**
|
|
2017
|
+
* Return at most this many results (1-100).
|
|
2018
|
+
*/
|
|
2019
|
+
limit?: number;
|
|
1703
2020
|
query: string;
|
|
1704
2021
|
type?: "videos" | "users";
|
|
1705
2022
|
/**
|
|
1706
2023
|
* The cursor from the previous response. Send it as is.
|
|
1707
2024
|
*/
|
|
1708
2025
|
cursor?: string;
|
|
1709
|
-
/**
|
|
1710
|
-
* Return at most this many results (1-100).
|
|
1711
|
-
*/
|
|
1712
|
-
limit?: number;
|
|
1713
2026
|
};
|
|
1714
2027
|
path?: never;
|
|
1715
2028
|
query?: never;
|
|
@@ -1781,6 +2094,10 @@ type TiktokSearchResponses = {
|
|
|
1781
2094
|
type TiktokSearchResponse = TiktokSearchResponses[keyof TiktokSearchResponses];
|
|
1782
2095
|
type MetaAdsPageData = {
|
|
1783
2096
|
body: {
|
|
2097
|
+
/**
|
|
2098
|
+
* Return at most this many results (1-100).
|
|
2099
|
+
*/
|
|
2100
|
+
limit?: number;
|
|
1784
2101
|
page: string;
|
|
1785
2102
|
/**
|
|
1786
2103
|
* ISO 3166-1 alpha-2 country code, or all. Any case is accepted.
|
|
@@ -1795,10 +2112,6 @@ type MetaAdsPageData = {
|
|
|
1795
2112
|
* The cursor from the previous response. Send it as is.
|
|
1796
2113
|
*/
|
|
1797
2114
|
cursor?: string;
|
|
1798
|
-
/**
|
|
1799
|
-
* Return at most this many results (1-100).
|
|
1800
|
-
*/
|
|
1801
|
-
limit?: number;
|
|
1802
2115
|
};
|
|
1803
2116
|
path?: never;
|
|
1804
2117
|
query?: never;
|
|
@@ -1891,6 +2204,10 @@ type MetaAdsPageResponses = {
|
|
|
1891
2204
|
type MetaAdsPageResponse = MetaAdsPageResponses[keyof MetaAdsPageResponses];
|
|
1892
2205
|
type LinkedinJobsSearchData = {
|
|
1893
2206
|
body: {
|
|
2207
|
+
/**
|
|
2208
|
+
* Return at most this many results (1-100).
|
|
2209
|
+
*/
|
|
2210
|
+
limit?: number;
|
|
1894
2211
|
query?: string;
|
|
1895
2212
|
location?: string;
|
|
1896
2213
|
within?: "day" | "week" | "month" | "all";
|
|
@@ -1898,10 +2215,6 @@ type LinkedinJobsSearchData = {
|
|
|
1898
2215
|
* The cursor from the previous response. Send it as is.
|
|
1899
2216
|
*/
|
|
1900
2217
|
cursor?: string;
|
|
1901
|
-
/**
|
|
1902
|
-
* Return at most this many results (1-100).
|
|
1903
|
-
*/
|
|
1904
|
-
limit?: number;
|
|
1905
2218
|
};
|
|
1906
2219
|
path?: never;
|
|
1907
2220
|
query?: never;
|
|
@@ -1942,13 +2255,165 @@ type LinkedinJobsSearchResponses = {
|
|
|
1942
2255
|
isEasyApply?: boolean;
|
|
1943
2256
|
insight?: string;
|
|
1944
2257
|
}>;
|
|
1945
|
-
cursor?: string;
|
|
2258
|
+
cursor?: string;
|
|
2259
|
+
};
|
|
2260
|
+
creditsUsed: number;
|
|
2261
|
+
requestId: string;
|
|
2262
|
+
};
|
|
2263
|
+
};
|
|
2264
|
+
type LinkedinJobsSearchResponse = LinkedinJobsSearchResponses[keyof LinkedinJobsSearchResponses];
|
|
2265
|
+
type LinkedinPeopleSearchData = {
|
|
2266
|
+
body: {
|
|
2267
|
+
/**
|
|
2268
|
+
* How many results to return, up to 25.
|
|
2269
|
+
*/
|
|
2270
|
+
limit?: number;
|
|
2271
|
+
/**
|
|
2272
|
+
* Free words to match, like a skill or industry.
|
|
2273
|
+
*/
|
|
2274
|
+
query?: string;
|
|
2275
|
+
/**
|
|
2276
|
+
* Current job title, like Head of Marketing.
|
|
2277
|
+
*/
|
|
2278
|
+
title?: string;
|
|
2279
|
+
/**
|
|
2280
|
+
* Current company, like Shopify.
|
|
2281
|
+
*/
|
|
2282
|
+
company?: string;
|
|
2283
|
+
/**
|
|
2284
|
+
* City or region shown on the profile, like Toronto.
|
|
2285
|
+
*/
|
|
2286
|
+
location?: string;
|
|
2287
|
+
};
|
|
2288
|
+
path?: never;
|
|
2289
|
+
query?: never;
|
|
2290
|
+
url: "/v1/linkedin/people/search";
|
|
2291
|
+
};
|
|
2292
|
+
type LinkedinPeopleSearchErrors = {
|
|
2293
|
+
/**
|
|
2294
|
+
* The request failed. retryable says whether trying again can help.
|
|
2295
|
+
*/
|
|
2296
|
+
"4XX": _Error;
|
|
2297
|
+
/**
|
|
2298
|
+
* The request failed. retryable says whether trying again can help.
|
|
2299
|
+
*/
|
|
2300
|
+
"5XX": _Error;
|
|
2301
|
+
};
|
|
2302
|
+
type LinkedinPeopleSearchError = LinkedinPeopleSearchErrors[keyof LinkedinPeopleSearchErrors];
|
|
2303
|
+
type LinkedinPeopleSearchResponses = {
|
|
2304
|
+
/**
|
|
2305
|
+
* The data, and the credits this call used.
|
|
2306
|
+
*/
|
|
2307
|
+
200: {
|
|
2308
|
+
success: true;
|
|
2309
|
+
data: {
|
|
2310
|
+
results: Array<{
|
|
2311
|
+
profileUrl: string;
|
|
2312
|
+
name?: string;
|
|
2313
|
+
headline?: string;
|
|
2314
|
+
title?: string;
|
|
2315
|
+
company?: string;
|
|
2316
|
+
location?: string;
|
|
2317
|
+
education?: string;
|
|
2318
|
+
details?: {
|
|
2319
|
+
profileId?: string;
|
|
2320
|
+
headline?: string;
|
|
2321
|
+
location?: string;
|
|
2322
|
+
about?: string;
|
|
2323
|
+
followers?: number;
|
|
2324
|
+
roles?: Array<{
|
|
2325
|
+
title?: string;
|
|
2326
|
+
company?: string;
|
|
2327
|
+
companyUrl?: string;
|
|
2328
|
+
from?: string;
|
|
2329
|
+
to?: string;
|
|
2330
|
+
isCurrent: boolean;
|
|
2331
|
+
}>;
|
|
2332
|
+
education?: Array<{
|
|
2333
|
+
school?: string;
|
|
2334
|
+
degree?: string;
|
|
2335
|
+
schoolUrl?: string;
|
|
2336
|
+
from?: string;
|
|
2337
|
+
to?: string;
|
|
2338
|
+
}>;
|
|
2339
|
+
};
|
|
2340
|
+
position: number;
|
|
2341
|
+
}>;
|
|
2342
|
+
};
|
|
2343
|
+
creditsUsed: number;
|
|
2344
|
+
requestId: string;
|
|
2345
|
+
};
|
|
2346
|
+
};
|
|
2347
|
+
type LinkedinPeopleSearchResponse = LinkedinPeopleSearchResponses[keyof LinkedinPeopleSearchResponses];
|
|
2348
|
+
type LinkedinCompaniesSearchData = {
|
|
2349
|
+
body: {
|
|
2350
|
+
/**
|
|
2351
|
+
* How many results to return, up to 25.
|
|
2352
|
+
*/
|
|
2353
|
+
limit?: number;
|
|
2354
|
+
/**
|
|
2355
|
+
* Company name or words about what it does.
|
|
2356
|
+
*/
|
|
2357
|
+
query?: string;
|
|
2358
|
+
/**
|
|
2359
|
+
* Industry, like Financial Services.
|
|
2360
|
+
*/
|
|
2361
|
+
industry?: string;
|
|
2362
|
+
/**
|
|
2363
|
+
* Headquarters city or region, like New York.
|
|
2364
|
+
*/
|
|
2365
|
+
location?: string;
|
|
2366
|
+
};
|
|
2367
|
+
path?: never;
|
|
2368
|
+
query?: never;
|
|
2369
|
+
url: "/v1/linkedin/companies/search";
|
|
2370
|
+
};
|
|
2371
|
+
type LinkedinCompaniesSearchErrors = {
|
|
2372
|
+
/**
|
|
2373
|
+
* The request failed. retryable says whether trying again can help.
|
|
2374
|
+
*/
|
|
2375
|
+
"4XX": _Error;
|
|
2376
|
+
/**
|
|
2377
|
+
* The request failed. retryable says whether trying again can help.
|
|
2378
|
+
*/
|
|
2379
|
+
"5XX": _Error;
|
|
2380
|
+
};
|
|
2381
|
+
type LinkedinCompaniesSearchError = LinkedinCompaniesSearchErrors[keyof LinkedinCompaniesSearchErrors];
|
|
2382
|
+
type LinkedinCompaniesSearchResponses = {
|
|
2383
|
+
/**
|
|
2384
|
+
* The data, and the credits this call used.
|
|
2385
|
+
*/
|
|
2386
|
+
200: {
|
|
2387
|
+
success: true;
|
|
2388
|
+
data: {
|
|
2389
|
+
results: Array<{
|
|
2390
|
+
companyUrl: string;
|
|
2391
|
+
name?: string;
|
|
2392
|
+
description?: string;
|
|
2393
|
+
industry?: string;
|
|
2394
|
+
size?: string;
|
|
2395
|
+
headquarters?: string;
|
|
2396
|
+
followers?: number;
|
|
2397
|
+
details?: {
|
|
2398
|
+
companyId?: string;
|
|
2399
|
+
website?: string;
|
|
2400
|
+
description?: string;
|
|
2401
|
+
industry?: string;
|
|
2402
|
+
size?: string;
|
|
2403
|
+
employees?: number;
|
|
2404
|
+
headquarters?: string;
|
|
2405
|
+
followers?: number;
|
|
2406
|
+
founded?: string;
|
|
2407
|
+
specialties?: Array<string>;
|
|
2408
|
+
};
|
|
2409
|
+
position: number;
|
|
2410
|
+
}>;
|
|
1946
2411
|
};
|
|
1947
2412
|
creditsUsed: number;
|
|
1948
2413
|
requestId: string;
|
|
1949
2414
|
};
|
|
1950
2415
|
};
|
|
1951
|
-
type
|
|
2416
|
+
type LinkedinCompaniesSearchResponse = LinkedinCompaniesSearchResponses[keyof LinkedinCompaniesSearchResponses];
|
|
1952
2417
|
type LinkedinJobsJobData = {
|
|
1953
2418
|
body: {
|
|
1954
2419
|
job: string;
|
|
@@ -2102,12 +2567,12 @@ type LinkedinProfileResponses = {
|
|
|
2102
2567
|
type LinkedinProfileResponse = LinkedinProfileResponses[keyof LinkedinProfileResponses];
|
|
2103
2568
|
type LinkedinPostsData = {
|
|
2104
2569
|
body: {
|
|
2105
|
-
profile?: string;
|
|
2106
|
-
company?: string;
|
|
2107
2570
|
/**
|
|
2108
2571
|
* Return at most this many results (1-100).
|
|
2109
2572
|
*/
|
|
2110
2573
|
limit?: number;
|
|
2574
|
+
profile?: string;
|
|
2575
|
+
company?: string;
|
|
2111
2576
|
};
|
|
2112
2577
|
path?: never;
|
|
2113
2578
|
query?: never;
|
|
@@ -2148,6 +2613,10 @@ type LinkedinPostsResponses = {
|
|
|
2148
2613
|
type LinkedinPostsResponse = LinkedinPostsResponses[keyof LinkedinPostsResponses];
|
|
2149
2614
|
type ZillowSearchData = {
|
|
2150
2615
|
body: {
|
|
2616
|
+
/**
|
|
2617
|
+
* Return at most this many results (1-100).
|
|
2618
|
+
*/
|
|
2619
|
+
limit?: number;
|
|
2151
2620
|
location: string;
|
|
2152
2621
|
status?: "forSale" | "forRent" | "sold";
|
|
2153
2622
|
minPrice?: number;
|
|
@@ -2161,10 +2630,6 @@ type ZillowSearchData = {
|
|
|
2161
2630
|
* The cursor from the previous response. Send it as is.
|
|
2162
2631
|
*/
|
|
2163
2632
|
cursor?: string;
|
|
2164
|
-
/**
|
|
2165
|
-
* Return at most this many results (1-100).
|
|
2166
|
-
*/
|
|
2167
|
-
limit?: number;
|
|
2168
2633
|
};
|
|
2169
2634
|
path?: never;
|
|
2170
2635
|
query?: never;
|
|
@@ -2315,6 +2780,10 @@ type ZillowPropertyResponses = {
|
|
|
2315
2780
|
type ZillowPropertyResponse = ZillowPropertyResponses[keyof ZillowPropertyResponses];
|
|
2316
2781
|
type UpworkSearchData = {
|
|
2317
2782
|
body: {
|
|
2783
|
+
/**
|
|
2784
|
+
* Return at most this many results (1-100).
|
|
2785
|
+
*/
|
|
2786
|
+
limit?: number;
|
|
2318
2787
|
query?: string;
|
|
2319
2788
|
sort?: "newest" | "relevance";
|
|
2320
2789
|
jobType?: "hourly" | "fixed";
|
|
@@ -2323,10 +2792,6 @@ type UpworkSearchData = {
|
|
|
2323
2792
|
* The cursor from the previous response. Send it as is.
|
|
2324
2793
|
*/
|
|
2325
2794
|
cursor?: string;
|
|
2326
|
-
/**
|
|
2327
|
-
* Return at most this many results (1-100).
|
|
2328
|
-
*/
|
|
2329
|
-
limit?: number;
|
|
2330
2795
|
};
|
|
2331
2796
|
path?: never;
|
|
2332
2797
|
query?: never;
|
|
@@ -2446,6 +2911,10 @@ type UpworkJobResponses = {
|
|
|
2446
2911
|
type UpworkJobResponse = UpworkJobResponses[keyof UpworkJobResponses];
|
|
2447
2912
|
type IndeedSearchData = {
|
|
2448
2913
|
body: {
|
|
2914
|
+
/**
|
|
2915
|
+
* Return at most this many results (1-100).
|
|
2916
|
+
*/
|
|
2917
|
+
limit?: number;
|
|
2449
2918
|
query?: string;
|
|
2450
2919
|
/**
|
|
2451
2920
|
* City, region or postal code, e.g. Kansas City, MO. Only jobs within about 5 miles are returned, so a city on a state line stays in its own state.
|
|
@@ -2464,10 +2933,6 @@ type IndeedSearchData = {
|
|
|
2464
2933
|
* The cursor from the previous response. Send it as is.
|
|
2465
2934
|
*/
|
|
2466
2935
|
cursor?: string;
|
|
2467
|
-
/**
|
|
2468
|
-
* Return at most this many results (1-100).
|
|
2469
|
-
*/
|
|
2470
|
-
limit?: number;
|
|
2471
2936
|
};
|
|
2472
2937
|
path?: never;
|
|
2473
2938
|
query?: never;
|
|
@@ -2607,12 +3072,12 @@ type IndeedJobResponses = {
|
|
|
2607
3072
|
type IndeedJobResponse = IndeedJobResponses[keyof IndeedJobResponses];
|
|
2608
3073
|
type TripadvisorSearchData = {
|
|
2609
3074
|
body: {
|
|
2610
|
-
query: string;
|
|
2611
|
-
type?: "all" | "hotels" | "restaurants" | "attractions" | "geos";
|
|
2612
3075
|
/**
|
|
2613
3076
|
* Return at most this many results (1-100).
|
|
2614
3077
|
*/
|
|
2615
3078
|
limit?: number;
|
|
3079
|
+
query: string;
|
|
3080
|
+
type?: "all" | "hotels" | "restaurants" | "attractions" | "geos";
|
|
2616
3081
|
};
|
|
2617
3082
|
path?: never;
|
|
2618
3083
|
query?: never;
|
|
@@ -2727,6 +3192,10 @@ type TripadvisorPlaceResponses = {
|
|
|
2727
3192
|
type TripadvisorPlaceResponse = TripadvisorPlaceResponses[keyof TripadvisorPlaceResponses];
|
|
2728
3193
|
type TripadvisorReviewsData = {
|
|
2729
3194
|
body: {
|
|
3195
|
+
/**
|
|
3196
|
+
* Return at most this many results (1-100).
|
|
3197
|
+
*/
|
|
3198
|
+
limit?: number;
|
|
2730
3199
|
place: string;
|
|
2731
3200
|
language?: string;
|
|
2732
3201
|
ratings?: Array<number>;
|
|
@@ -2734,10 +3203,6 @@ type TripadvisorReviewsData = {
|
|
|
2734
3203
|
* The cursor from the previous response. Send it as is.
|
|
2735
3204
|
*/
|
|
2736
3205
|
cursor?: string;
|
|
2737
|
-
/**
|
|
2738
|
-
* Return at most this many results (1-100).
|
|
2739
|
-
*/
|
|
2740
|
-
limit?: number;
|
|
2741
3206
|
};
|
|
2742
3207
|
path?: never;
|
|
2743
3208
|
query?: never;
|
|
@@ -2800,6 +3265,10 @@ type TripadvisorReviewsResponses = {
|
|
|
2800
3265
|
type TripadvisorReviewsResponse = TripadvisorReviewsResponses[keyof TripadvisorReviewsResponses];
|
|
2801
3266
|
type GoogletravelFlightsData = {
|
|
2802
3267
|
body: {
|
|
3268
|
+
/**
|
|
3269
|
+
* Return at most this many results (1-100).
|
|
3270
|
+
*/
|
|
3271
|
+
limit?: number;
|
|
2803
3272
|
/**
|
|
2804
3273
|
* IATA airport code, e.g. JFK. Any case is accepted.
|
|
2805
3274
|
*/
|
|
@@ -2812,10 +3281,6 @@ type GoogletravelFlightsData = {
|
|
|
2812
3281
|
returnDate?: string;
|
|
2813
3282
|
adults?: number;
|
|
2814
3283
|
cabin?: "economy" | "premiumEconomy" | "business" | "first";
|
|
2815
|
-
/**
|
|
2816
|
-
* Return at most this many results (1-100).
|
|
2817
|
-
*/
|
|
2818
|
-
limit?: number;
|
|
2819
3284
|
};
|
|
2820
3285
|
path?: never;
|
|
2821
3286
|
query?: never;
|
|
@@ -2902,6 +3367,10 @@ type GoogletravelFlightsResponses = {
|
|
|
2902
3367
|
type GoogletravelFlightsResponse = GoogletravelFlightsResponses[keyof GoogletravelFlightsResponses];
|
|
2903
3368
|
type WalmartSearchData = {
|
|
2904
3369
|
body: {
|
|
3370
|
+
/**
|
|
3371
|
+
* Return at most this many results (1-100).
|
|
3372
|
+
*/
|
|
3373
|
+
limit?: number;
|
|
2905
3374
|
query: string;
|
|
2906
3375
|
sort?: "relevance" | "priceLow" | "priceHigh" | "bestSelling" | "highest" | "newest";
|
|
2907
3376
|
minPrice?: number;
|
|
@@ -2910,10 +3379,6 @@ type WalmartSearchData = {
|
|
|
2910
3379
|
* The cursor from the previous response. Send it as is.
|
|
2911
3380
|
*/
|
|
2912
3381
|
cursor?: string;
|
|
2913
|
-
/**
|
|
2914
|
-
* Return at most this many results (1-100).
|
|
2915
|
-
*/
|
|
2916
|
-
limit?: number;
|
|
2917
3382
|
};
|
|
2918
3383
|
path?: never;
|
|
2919
3384
|
query?: never;
|
|
@@ -3109,16 +3574,16 @@ type AppstoreAppResponses = {
|
|
|
3109
3574
|
type AppstoreAppResponse = AppstoreAppResponses[keyof AppstoreAppResponses];
|
|
3110
3575
|
type AppstoreSearchData = {
|
|
3111
3576
|
body: {
|
|
3577
|
+
/**
|
|
3578
|
+
* Return at most this many results (1-100).
|
|
3579
|
+
*/
|
|
3580
|
+
limit?: number;
|
|
3112
3581
|
query: string;
|
|
3113
3582
|
/**
|
|
3114
3583
|
* ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
|
|
3115
3584
|
*/
|
|
3116
3585
|
country?: string;
|
|
3117
3586
|
device?: "iphone" | "ipad" | "mac";
|
|
3118
|
-
/**
|
|
3119
|
-
* Return at most this many results (1-100).
|
|
3120
|
-
*/
|
|
3121
|
-
limit?: number;
|
|
3122
3587
|
};
|
|
3123
3588
|
path?: never;
|
|
3124
3589
|
query?: never;
|
|
@@ -3181,6 +3646,10 @@ type AppstoreSearchResponses = {
|
|
|
3181
3646
|
type AppstoreSearchResponse = AppstoreSearchResponses[keyof AppstoreSearchResponses];
|
|
3182
3647
|
type AppstoreReviewsData = {
|
|
3183
3648
|
body: {
|
|
3649
|
+
/**
|
|
3650
|
+
* Return at most this many results (1-100).
|
|
3651
|
+
*/
|
|
3652
|
+
limit?: number;
|
|
3184
3653
|
app: string;
|
|
3185
3654
|
/**
|
|
3186
3655
|
* ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
|
|
@@ -3191,10 +3660,6 @@ type AppstoreReviewsData = {
|
|
|
3191
3660
|
* The cursor from the previous response. Send it as is.
|
|
3192
3661
|
*/
|
|
3193
3662
|
cursor?: string;
|
|
3194
|
-
/**
|
|
3195
|
-
* Return at most this many results (1-100).
|
|
3196
|
-
*/
|
|
3197
|
-
limit?: number;
|
|
3198
3663
|
};
|
|
3199
3664
|
path?: never;
|
|
3200
3665
|
query?: never;
|
|
@@ -3236,6 +3701,10 @@ type AppstoreReviewsResponses = {
|
|
|
3236
3701
|
type AppstoreReviewsResponse = AppstoreReviewsResponses[keyof AppstoreReviewsResponses];
|
|
3237
3702
|
type AppstoreTopData = {
|
|
3238
3703
|
body: {
|
|
3704
|
+
/**
|
|
3705
|
+
* Return at most this many results (1-100).
|
|
3706
|
+
*/
|
|
3707
|
+
limit?: number;
|
|
3239
3708
|
chart?: "free" | "paid" | "grossing";
|
|
3240
3709
|
device?: "iphone" | "ipad" | "mac";
|
|
3241
3710
|
genre?: "business" | "weather" | "utilities" | "travel" | "sports" | "socialNetworking" | "reference" | "productivity" | "photoVideo" | "news" | "navigation" | "music" | "lifestyle" | "healthFitness" | "games" | "finance" | "entertainment" | "education" | "books" | "medical" | "foodDrink" | "shopping" | "developerTools" | "graphicsDesign";
|
|
@@ -3243,10 +3712,6 @@ type AppstoreTopData = {
|
|
|
3243
3712
|
* ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
|
|
3244
3713
|
*/
|
|
3245
3714
|
country?: string;
|
|
3246
|
-
/**
|
|
3247
|
-
* Return at most this many results (1-100).
|
|
3248
|
-
*/
|
|
3249
|
-
limit?: number;
|
|
3250
3715
|
};
|
|
3251
3716
|
path?: never;
|
|
3252
3717
|
query?: never;
|
|
@@ -3372,6 +3837,10 @@ type GoogleplayAppResponses = {
|
|
|
3372
3837
|
type GoogleplayAppResponse = GoogleplayAppResponses[keyof GoogleplayAppResponses];
|
|
3373
3838
|
type GoogleplaySearchData = {
|
|
3374
3839
|
body: {
|
|
3840
|
+
/**
|
|
3841
|
+
* Return at most this many results (1-100).
|
|
3842
|
+
*/
|
|
3843
|
+
limit?: number;
|
|
3375
3844
|
query: string;
|
|
3376
3845
|
/**
|
|
3377
3846
|
* ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
|
|
@@ -3381,10 +3850,6 @@ type GoogleplaySearchData = {
|
|
|
3381
3850
|
* BCP 47 language tag, e.g. en or pt-BR. Any case is accepted.
|
|
3382
3851
|
*/
|
|
3383
3852
|
language?: string;
|
|
3384
|
-
/**
|
|
3385
|
-
* Return at most this many results (1-100).
|
|
3386
|
-
*/
|
|
3387
|
-
limit?: number;
|
|
3388
3853
|
};
|
|
3389
3854
|
path?: never;
|
|
3390
3855
|
query?: never;
|
|
@@ -3430,6 +3895,10 @@ type GoogleplaySearchResponses = {
|
|
|
3430
3895
|
type GoogleplaySearchResponse = GoogleplaySearchResponses[keyof GoogleplaySearchResponses];
|
|
3431
3896
|
type GoogleplayReviewsData = {
|
|
3432
3897
|
body: {
|
|
3898
|
+
/**
|
|
3899
|
+
* Return at most this many results (1-100).
|
|
3900
|
+
*/
|
|
3901
|
+
limit?: number;
|
|
3433
3902
|
app: string;
|
|
3434
3903
|
/**
|
|
3435
3904
|
* ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
|
|
@@ -3445,10 +3914,6 @@ type GoogleplayReviewsData = {
|
|
|
3445
3914
|
* The cursor from the previous response. Send it as is.
|
|
3446
3915
|
*/
|
|
3447
3916
|
cursor?: string;
|
|
3448
|
-
/**
|
|
3449
|
-
* Return at most this many results (1-100).
|
|
3450
|
-
*/
|
|
3451
|
-
limit?: number;
|
|
3452
3917
|
};
|
|
3453
3918
|
path?: never;
|
|
3454
3919
|
query?: never;
|
|
@@ -3494,6 +3959,10 @@ type GoogleplayReviewsResponses = {
|
|
|
3494
3959
|
type GoogleplayReviewsResponse = GoogleplayReviewsResponses[keyof GoogleplayReviewsResponses];
|
|
3495
3960
|
type AirbnbSearchData = {
|
|
3496
3961
|
body: {
|
|
3962
|
+
/**
|
|
3963
|
+
* Return at most this many results (1-100).
|
|
3964
|
+
*/
|
|
3965
|
+
limit?: number;
|
|
3497
3966
|
location: string;
|
|
3498
3967
|
checkIn?: string;
|
|
3499
3968
|
checkOut?: string;
|
|
@@ -3510,10 +3979,6 @@ type AirbnbSearchData = {
|
|
|
3510
3979
|
* The cursor from the previous response. Send it as is.
|
|
3511
3980
|
*/
|
|
3512
3981
|
cursor?: string;
|
|
3513
|
-
/**
|
|
3514
|
-
* Return at most this many results (1-100).
|
|
3515
|
-
*/
|
|
3516
|
-
limit?: number;
|
|
3517
3982
|
};
|
|
3518
3983
|
path?: never;
|
|
3519
3984
|
query?: never;
|
|
@@ -3667,12 +4132,12 @@ type AirbnbListingResponses = {
|
|
|
3667
4132
|
type AirbnbListingResponse = AirbnbListingResponses[keyof AirbnbListingResponses];
|
|
3668
4133
|
type AirbnbCalendarData = {
|
|
3669
4134
|
body: {
|
|
3670
|
-
listing: string;
|
|
3671
|
-
month?: string;
|
|
3672
4135
|
/**
|
|
3673
4136
|
* Return at most this many results (1-100).
|
|
3674
4137
|
*/
|
|
3675
4138
|
limit?: number;
|
|
4139
|
+
listing: string;
|
|
4140
|
+
month?: string;
|
|
3676
4141
|
};
|
|
3677
4142
|
path?: never;
|
|
3678
4143
|
query?: never;
|
|
@@ -3713,16 +4178,16 @@ type AirbnbCalendarResponses = {
|
|
|
3713
4178
|
type AirbnbCalendarResponse = AirbnbCalendarResponses[keyof AirbnbCalendarResponses];
|
|
3714
4179
|
type AirbnbReviewsData = {
|
|
3715
4180
|
body: {
|
|
4181
|
+
/**
|
|
4182
|
+
* Return at most this many results (1-100).
|
|
4183
|
+
*/
|
|
4184
|
+
limit?: number;
|
|
3716
4185
|
listing: string;
|
|
3717
4186
|
sort?: "relevance" | "newest" | "highest" | "lowest";
|
|
3718
4187
|
/**
|
|
3719
4188
|
* The cursor from the previous response. Send it as is.
|
|
3720
4189
|
*/
|
|
3721
4190
|
cursor?: string;
|
|
3722
|
-
/**
|
|
3723
|
-
* Return at most this many results (1-100).
|
|
3724
|
-
*/
|
|
3725
|
-
limit?: number;
|
|
3726
4191
|
};
|
|
3727
4192
|
path?: never;
|
|
3728
4193
|
query?: never;
|
|
@@ -3769,6 +4234,10 @@ type AirbnbReviewsResponses = {
|
|
|
3769
4234
|
type AirbnbReviewsResponse = AirbnbReviewsResponses[keyof AirbnbReviewsResponses];
|
|
3770
4235
|
type RightmoveSearchData = {
|
|
3771
4236
|
body: {
|
|
4237
|
+
/**
|
|
4238
|
+
* Return at most this many results (1-100).
|
|
4239
|
+
*/
|
|
4240
|
+
limit?: number;
|
|
3772
4241
|
location: string;
|
|
3773
4242
|
status?: "forSale" | "forRent";
|
|
3774
4243
|
minPrice?: number;
|
|
@@ -3780,10 +4249,6 @@ type RightmoveSearchData = {
|
|
|
3780
4249
|
* The cursor from the previous response. Send it as is.
|
|
3781
4250
|
*/
|
|
3782
4251
|
cursor?: string;
|
|
3783
|
-
/**
|
|
3784
|
-
* Return at most this many results (1-100).
|
|
3785
|
-
*/
|
|
3786
|
-
limit?: number;
|
|
3787
4252
|
};
|
|
3788
4253
|
path?: never;
|
|
3789
4254
|
query?: never;
|
|
@@ -3932,6 +4397,10 @@ type RightmovePropertyResponses = {
|
|
|
3932
4397
|
type RightmovePropertyResponse = RightmovePropertyResponses[keyof RightmovePropertyResponses];
|
|
3933
4398
|
type ImmoscoutSearchData = {
|
|
3934
4399
|
body: {
|
|
4400
|
+
/**
|
|
4401
|
+
* Return at most this many results (1-100).
|
|
4402
|
+
*/
|
|
4403
|
+
limit?: number;
|
|
3935
4404
|
location: string;
|
|
3936
4405
|
type?: "apartmentRent" | "apartmentBuy" | "houseRent" | "houseBuy" | "land" | "flatShare" | "shortTerm";
|
|
3937
4406
|
minPrice?: number;
|
|
@@ -3942,10 +4411,6 @@ type ImmoscoutSearchData = {
|
|
|
3942
4411
|
* The cursor from the previous response. Send it as is.
|
|
3943
4412
|
*/
|
|
3944
4413
|
cursor?: string;
|
|
3945
|
-
/**
|
|
3946
|
-
* Return at most this many results (1-100).
|
|
3947
|
-
*/
|
|
3948
|
-
limit?: number;
|
|
3949
4414
|
};
|
|
3950
4415
|
path?: never;
|
|
3951
4416
|
query?: never;
|
|
@@ -4072,16 +4537,16 @@ type ImmoscoutListingResponses = {
|
|
|
4072
4537
|
type ImmoscoutListingResponse = ImmoscoutListingResponses[keyof ImmoscoutListingResponses];
|
|
4073
4538
|
type PinterestSearchData = {
|
|
4074
4539
|
body: {
|
|
4540
|
+
/**
|
|
4541
|
+
* Return at most this many results (1-100).
|
|
4542
|
+
*/
|
|
4543
|
+
limit?: number;
|
|
4075
4544
|
query: string;
|
|
4076
4545
|
type?: "pins" | "videos";
|
|
4077
4546
|
/**
|
|
4078
4547
|
* The cursor from the previous response. Send it as is.
|
|
4079
4548
|
*/
|
|
4080
4549
|
cursor?: string;
|
|
4081
|
-
/**
|
|
4082
|
-
* Return at most this many results (1-100).
|
|
4083
|
-
*/
|
|
4084
|
-
limit?: number;
|
|
4085
4550
|
};
|
|
4086
4551
|
path?: never;
|
|
4087
4552
|
query?: never;
|
|
@@ -4198,15 +4663,15 @@ type PinterestPinResponses = {
|
|
|
4198
4663
|
type PinterestPinResponse = PinterestPinResponses[keyof PinterestPinResponses];
|
|
4199
4664
|
type PinterestBoardData = {
|
|
4200
4665
|
body: {
|
|
4666
|
+
/**
|
|
4667
|
+
* Return at most this many results (1-100).
|
|
4668
|
+
*/
|
|
4669
|
+
limit?: number;
|
|
4201
4670
|
board: string;
|
|
4202
4671
|
/**
|
|
4203
4672
|
* The cursor from the previous response. Send it as is.
|
|
4204
4673
|
*/
|
|
4205
4674
|
cursor?: string;
|
|
4206
|
-
/**
|
|
4207
|
-
* Return at most this many results (1-100).
|
|
4208
|
-
*/
|
|
4209
|
-
limit?: number;
|
|
4210
4675
|
};
|
|
4211
4676
|
path?: never;
|
|
4212
4677
|
query?: never;
|
|
@@ -4281,15 +4746,15 @@ type PinterestBoardResponses = {
|
|
|
4281
4746
|
type PinterestBoardResponse = PinterestBoardResponses[keyof PinterestBoardResponses];
|
|
4282
4747
|
type PinterestUserData = {
|
|
4283
4748
|
body: {
|
|
4749
|
+
/**
|
|
4750
|
+
* Return at most this many results (1-100).
|
|
4751
|
+
*/
|
|
4752
|
+
limit?: number;
|
|
4284
4753
|
profile: string;
|
|
4285
4754
|
/**
|
|
4286
4755
|
* The cursor from the previous response. Send it as is.
|
|
4287
4756
|
*/
|
|
4288
4757
|
cursor?: string;
|
|
4289
|
-
/**
|
|
4290
|
-
* Return at most this many results (1-100).
|
|
4291
|
-
*/
|
|
4292
|
-
limit?: number;
|
|
4293
4758
|
};
|
|
4294
4759
|
path?: never;
|
|
4295
4760
|
query?: never;
|
|
@@ -4363,6 +4828,10 @@ type PinterestUserResponses = {
|
|
|
4363
4828
|
type PinterestUserResponse = PinterestUserResponses[keyof PinterestUserResponses];
|
|
4364
4829
|
type AdsSearchData = {
|
|
4365
4830
|
body: {
|
|
4831
|
+
/**
|
|
4832
|
+
* Return at most this many results (1-100).
|
|
4833
|
+
*/
|
|
4834
|
+
limit?: number;
|
|
4366
4835
|
query: string;
|
|
4367
4836
|
/**
|
|
4368
4837
|
* ISO 3166-1 alpha-2 country code, or all. Any case is accepted.
|
|
@@ -4378,11 +4847,11 @@ type AdsSearchData = {
|
|
|
4378
4847
|
*/
|
|
4379
4848
|
cursor?: string;
|
|
4380
4849
|
network: "meta";
|
|
4850
|
+
} | {
|
|
4381
4851
|
/**
|
|
4382
4852
|
* Return at most this many results (1-100).
|
|
4383
4853
|
*/
|
|
4384
4854
|
limit?: number;
|
|
4385
|
-
} | {
|
|
4386
4855
|
/**
|
|
4387
4856
|
* A domain like nike.com. Google's library finds ads by domain or advertiser, not by keyword.
|
|
4388
4857
|
*/
|
|
@@ -4399,11 +4868,11 @@ type AdsSearchData = {
|
|
|
4399
4868
|
*/
|
|
4400
4869
|
cursor?: string;
|
|
4401
4870
|
network: "google";
|
|
4871
|
+
} | {
|
|
4402
4872
|
/**
|
|
4403
4873
|
* Return at most this many results (1-100).
|
|
4404
4874
|
*/
|
|
4405
4875
|
limit?: number;
|
|
4406
|
-
} | {
|
|
4407
4876
|
query?: string;
|
|
4408
4877
|
advertiser?: string;
|
|
4409
4878
|
/**
|
|
@@ -4415,11 +4884,11 @@ type AdsSearchData = {
|
|
|
4415
4884
|
*/
|
|
4416
4885
|
cursor?: string;
|
|
4417
4886
|
network: "tiktok";
|
|
4887
|
+
} | {
|
|
4418
4888
|
/**
|
|
4419
4889
|
* Return at most this many results (1-100).
|
|
4420
4890
|
*/
|
|
4421
4891
|
limit?: number;
|
|
4422
|
-
} | {
|
|
4423
4892
|
query?: string;
|
|
4424
4893
|
advertiser?: string;
|
|
4425
4894
|
/**
|
|
@@ -4432,11 +4901,11 @@ type AdsSearchData = {
|
|
|
4432
4901
|
*/
|
|
4433
4902
|
cursor?: string;
|
|
4434
4903
|
network: "linkedin";
|
|
4904
|
+
} | {
|
|
4435
4905
|
/**
|
|
4436
4906
|
* Return at most this many results (1-100).
|
|
4437
4907
|
*/
|
|
4438
4908
|
limit?: number;
|
|
4439
|
-
} | {
|
|
4440
4909
|
query?: string;
|
|
4441
4910
|
advertiser?: string;
|
|
4442
4911
|
/**
|
|
@@ -4448,11 +4917,11 @@ type AdsSearchData = {
|
|
|
4448
4917
|
*/
|
|
4449
4918
|
cursor?: string;
|
|
4450
4919
|
network: "microsoft";
|
|
4920
|
+
} | {
|
|
4451
4921
|
/**
|
|
4452
4922
|
* Return at most this many results (1-100).
|
|
4453
4923
|
*/
|
|
4454
4924
|
limit?: number;
|
|
4455
|
-
} | {
|
|
4456
4925
|
/**
|
|
4457
4926
|
* Not supported. Pinterest's ads library has no keyword search. Use advertiser to filter by advertiser name.
|
|
4458
4927
|
*/
|
|
@@ -4470,10 +4939,6 @@ type AdsSearchData = {
|
|
|
4470
4939
|
*/
|
|
4471
4940
|
cursor?: string;
|
|
4472
4941
|
network: "pinterest";
|
|
4473
|
-
/**
|
|
4474
|
-
* Return at most this many results (1-100).
|
|
4475
|
-
*/
|
|
4476
|
-
limit?: number;
|
|
4477
4942
|
};
|
|
4478
4943
|
path?: never;
|
|
4479
4944
|
query?: never;
|
|
@@ -4935,23 +5400,23 @@ type AdsAdResponses = {
|
|
|
4935
5400
|
type AdsAdResponse = AdsAdResponses[keyof AdsAdResponses];
|
|
4936
5401
|
type AdsAdvertisersData = {
|
|
4937
5402
|
body: {
|
|
5403
|
+
/**
|
|
5404
|
+
* Return at most this many results (1-100).
|
|
5405
|
+
*/
|
|
5406
|
+
limit?: number;
|
|
4938
5407
|
query: string;
|
|
4939
5408
|
/**
|
|
4940
5409
|
* Country code like de. Advertisers are matched on ads shown in this country, wherever the advertiser is based. Any case is accepted.
|
|
4941
5410
|
*/
|
|
4942
5411
|
country?: string;
|
|
4943
5412
|
network: "google";
|
|
5413
|
+
} | {
|
|
4944
5414
|
/**
|
|
4945
5415
|
* Return at most this many results (1-100).
|
|
4946
5416
|
*/
|
|
4947
5417
|
limit?: number;
|
|
4948
|
-
} | {
|
|
4949
5418
|
query: string;
|
|
4950
5419
|
network: "microsoft";
|
|
4951
|
-
/**
|
|
4952
|
-
* Return at most this many results (1-100).
|
|
4953
|
-
*/
|
|
4954
|
-
limit?: number;
|
|
4955
5420
|
};
|
|
4956
5421
|
path?: never;
|
|
4957
5422
|
query?: never;
|
|
@@ -4999,6 +5464,53 @@ type AdsAdvertisersResponses = {
|
|
|
4999
5464
|
};
|
|
5000
5465
|
};
|
|
5001
5466
|
type AdsAdvertisersResponse = AdsAdvertisersResponses[keyof AdsAdvertisersResponses];
|
|
5467
|
+
type AiAnswerData = {
|
|
5468
|
+
body: {
|
|
5469
|
+
/**
|
|
5470
|
+
* The question to ask, worded the way a buyer would ask an AI assistant, e.g. What is the best CRM for a small business? Up to 2000 characters.
|
|
5471
|
+
*/
|
|
5472
|
+
prompt: string;
|
|
5473
|
+
/**
|
|
5474
|
+
* Which AI assistant answers: gemini or chatgpt.
|
|
5475
|
+
*/
|
|
5476
|
+
engine?: "gemini" | "chatgpt";
|
|
5477
|
+
};
|
|
5478
|
+
path?: never;
|
|
5479
|
+
query?: never;
|
|
5480
|
+
url: "/v1/ai/answer";
|
|
5481
|
+
};
|
|
5482
|
+
type AiAnswerErrors = {
|
|
5483
|
+
/**
|
|
5484
|
+
* The request failed. retryable says whether trying again can help.
|
|
5485
|
+
*/
|
|
5486
|
+
"4XX": _Error;
|
|
5487
|
+
/**
|
|
5488
|
+
* The request failed. retryable says whether trying again can help.
|
|
5489
|
+
*/
|
|
5490
|
+
"5XX": _Error;
|
|
5491
|
+
};
|
|
5492
|
+
type AiAnswerError = AiAnswerErrors[keyof AiAnswerErrors];
|
|
5493
|
+
type AiAnswerResponses = {
|
|
5494
|
+
/**
|
|
5495
|
+
* The data, and the credits this call used.
|
|
5496
|
+
*/
|
|
5497
|
+
200: {
|
|
5498
|
+
success: true;
|
|
5499
|
+
data: {
|
|
5500
|
+
engine: "gemini" | "chatgpt";
|
|
5501
|
+
prompt?: string;
|
|
5502
|
+
answer: string;
|
|
5503
|
+
sources: Array<{
|
|
5504
|
+
url: string;
|
|
5505
|
+
title?: string;
|
|
5506
|
+
domain: string;
|
|
5507
|
+
}>;
|
|
5508
|
+
};
|
|
5509
|
+
creditsUsed: number;
|
|
5510
|
+
requestId: string;
|
|
5511
|
+
};
|
|
5512
|
+
};
|
|
5513
|
+
type AiAnswerResponse = AiAnswerResponses[keyof AiAnswerResponses];
|
|
5002
5514
|
type ClientOptions = {
|
|
5003
5515
|
baseUrl: "https://api.stophy.dev" | (string & {});
|
|
5004
5516
|
};
|
|
@@ -5009,23 +5521,142 @@ interface RequestOptions {
|
|
|
5009
5521
|
|
|
5010
5522
|
declare function bindSurface(call: Caller): {
|
|
5011
5523
|
endpoints: (options?: RequestOptions) => Promise<EndpointCatalog>;
|
|
5012
|
-
|
|
5524
|
+
google: {
|
|
5013
5525
|
search: (body: {
|
|
5526
|
+
limit?: number;
|
|
5014
5527
|
query: string;
|
|
5015
5528
|
country?: string;
|
|
5016
5529
|
language?: string;
|
|
5017
5530
|
includeDomains?: Array<string>;
|
|
5018
5531
|
excludeDomains?: Array<string>;
|
|
5019
|
-
within?: "day" | "week" | "month" | "year" | "all";
|
|
5532
|
+
within?: "day" | "week" | "month" | "year" | "all";
|
|
5533
|
+
}, options?: RequestOptions) => Promise<{
|
|
5534
|
+
success: true;
|
|
5535
|
+
data: {
|
|
5536
|
+
results: Array<{
|
|
5537
|
+
url: string;
|
|
5538
|
+
title: string;
|
|
5539
|
+
description?: string;
|
|
5540
|
+
date?: string;
|
|
5541
|
+
sitelinks?: Array<{
|
|
5542
|
+
title: string;
|
|
5543
|
+
url: string;
|
|
5544
|
+
}>;
|
|
5545
|
+
position: number;
|
|
5546
|
+
}>;
|
|
5547
|
+
aiOverview?: {
|
|
5548
|
+
text: string;
|
|
5549
|
+
sources?: Array<{
|
|
5550
|
+
url: string;
|
|
5551
|
+
title?: string;
|
|
5552
|
+
}>;
|
|
5553
|
+
};
|
|
5554
|
+
knowledgeGraph?: {
|
|
5555
|
+
title: string;
|
|
5556
|
+
type?: string;
|
|
5557
|
+
website?: string;
|
|
5558
|
+
imageUrl?: string;
|
|
5559
|
+
description?: string;
|
|
5560
|
+
descriptionSource?: string;
|
|
5561
|
+
descriptionUrl?: string;
|
|
5562
|
+
attributes?: {
|
|
5563
|
+
[key: string]: string;
|
|
5564
|
+
};
|
|
5565
|
+
};
|
|
5566
|
+
peopleAlsoAsk?: Array<{
|
|
5567
|
+
question: string;
|
|
5568
|
+
answer?: string;
|
|
5569
|
+
title?: string;
|
|
5570
|
+
url?: string;
|
|
5571
|
+
}>;
|
|
5572
|
+
relatedSearches?: Array<string>;
|
|
5573
|
+
isPartial?: true;
|
|
5574
|
+
};
|
|
5575
|
+
creditsUsed: number;
|
|
5576
|
+
requestId: string;
|
|
5577
|
+
}>;
|
|
5578
|
+
news: (body?: {
|
|
5579
|
+
limit?: number;
|
|
5580
|
+
query?: string;
|
|
5581
|
+
topic?: "world" | "nation" | "business" | "technology" | "entertainment" | "sports" | "science" | "health";
|
|
5582
|
+
country?: string;
|
|
5583
|
+
language?: string;
|
|
5584
|
+
includeDomains?: Array<string>;
|
|
5585
|
+
excludeDomains?: Array<string>;
|
|
5586
|
+
within?: "hour" | "day" | "week" | "month" | "year" | "all";
|
|
5587
|
+
} | undefined, options?: RequestOptions) => Promise<{
|
|
5588
|
+
success: true;
|
|
5589
|
+
data: {
|
|
5590
|
+
results: Array<{
|
|
5591
|
+
url: string;
|
|
5592
|
+
title: string;
|
|
5593
|
+
source?: string;
|
|
5594
|
+
description?: string;
|
|
5595
|
+
publishedAt?: string;
|
|
5596
|
+
position: number;
|
|
5597
|
+
}>;
|
|
5598
|
+
isPartial?: true;
|
|
5599
|
+
};
|
|
5600
|
+
creditsUsed: number;
|
|
5601
|
+
requestId: string;
|
|
5602
|
+
}>;
|
|
5603
|
+
images: (body: {
|
|
5020
5604
|
limit?: number;
|
|
5605
|
+
query: string;
|
|
5606
|
+
country?: string;
|
|
5607
|
+
language?: string;
|
|
5021
5608
|
}, options?: RequestOptions) => Promise<{
|
|
5022
5609
|
success: true;
|
|
5023
5610
|
data: {
|
|
5024
5611
|
results: Array<{
|
|
5025
|
-
|
|
5612
|
+
imageUrl: string;
|
|
5613
|
+
title?: string;
|
|
5614
|
+
pageUrl: string;
|
|
5615
|
+
source?: string;
|
|
5616
|
+
width: number;
|
|
5617
|
+
height: number;
|
|
5618
|
+
thumbnailUrl: string;
|
|
5619
|
+
position: number;
|
|
5620
|
+
}>;
|
|
5621
|
+
};
|
|
5622
|
+
creditsUsed: number;
|
|
5623
|
+
requestId: string;
|
|
5624
|
+
}>;
|
|
5625
|
+
aiMode: (body: {
|
|
5626
|
+
prompt: string;
|
|
5627
|
+
country?: string;
|
|
5628
|
+
language?: string;
|
|
5629
|
+
}, options?: RequestOptions) => Promise<{
|
|
5630
|
+
success: true;
|
|
5631
|
+
data: {
|
|
5632
|
+
prompt?: string;
|
|
5633
|
+
answer: string;
|
|
5634
|
+
sources: Array<{
|
|
5026
5635
|
url: string;
|
|
5027
|
-
|
|
5028
|
-
|
|
5636
|
+
title?: string;
|
|
5637
|
+
}>;
|
|
5638
|
+
};
|
|
5639
|
+
creditsUsed: number;
|
|
5640
|
+
requestId: string;
|
|
5641
|
+
}>;
|
|
5642
|
+
shopping: (body: {
|
|
5643
|
+
limit?: number;
|
|
5644
|
+
query: string;
|
|
5645
|
+
country?: string;
|
|
5646
|
+
language?: string;
|
|
5647
|
+
}, options?: RequestOptions) => Promise<{
|
|
5648
|
+
success: true;
|
|
5649
|
+
data: {
|
|
5650
|
+
results: Array<{
|
|
5651
|
+
title: string;
|
|
5652
|
+
price: number;
|
|
5653
|
+
priceCurrency?: string;
|
|
5654
|
+
originalPrice?: number;
|
|
5655
|
+
seller?: string;
|
|
5656
|
+
delivery?: string;
|
|
5657
|
+
returns?: string;
|
|
5658
|
+
rating?: number;
|
|
5659
|
+
reviews?: number;
|
|
5029
5660
|
position: number;
|
|
5030
5661
|
}>;
|
|
5031
5662
|
};
|
|
@@ -5035,12 +5666,12 @@ declare function bindSurface(call: Caller): {
|
|
|
5035
5666
|
};
|
|
5036
5667
|
youtube: {
|
|
5037
5668
|
search: (body: {
|
|
5669
|
+
limit?: number;
|
|
5038
5670
|
query: string;
|
|
5039
5671
|
type?: "videos" | "all" | "channels" | "playlists" | "shorts";
|
|
5040
5672
|
within?: "hour" | "day" | "week" | "month" | "year" | "all";
|
|
5041
5673
|
sort?: "relevance" | "top";
|
|
5042
5674
|
cursor?: string;
|
|
5043
|
-
limit?: number;
|
|
5044
5675
|
}, options?: RequestOptions) => Promise<{
|
|
5045
5676
|
success: true;
|
|
5046
5677
|
data: {
|
|
@@ -5112,11 +5743,11 @@ declare function bindSurface(call: Caller): {
|
|
|
5112
5743
|
requestId: string;
|
|
5113
5744
|
}>;
|
|
5114
5745
|
comments: (body: {
|
|
5746
|
+
limit?: number;
|
|
5115
5747
|
video: string;
|
|
5116
5748
|
comment?: string;
|
|
5117
5749
|
sort?: "top" | "newest";
|
|
5118
5750
|
cursor?: string;
|
|
5119
|
-
limit?: number;
|
|
5120
5751
|
}, options?: RequestOptions) => Promise<{
|
|
5121
5752
|
success: true;
|
|
5122
5753
|
data: {
|
|
@@ -5142,10 +5773,10 @@ declare function bindSurface(call: Caller): {
|
|
|
5142
5773
|
requestId: string;
|
|
5143
5774
|
}>;
|
|
5144
5775
|
channel: (body: {
|
|
5776
|
+
limit?: number;
|
|
5145
5777
|
channel: string;
|
|
5146
5778
|
tab?: "videos" | "shorts" | "live" | "playlists" | "posts";
|
|
5147
5779
|
cursor?: string;
|
|
5148
|
-
limit?: number;
|
|
5149
5780
|
}, options?: RequestOptions) => Promise<{
|
|
5150
5781
|
success: true;
|
|
5151
5782
|
data: {
|
|
@@ -5207,9 +5838,9 @@ declare function bindSurface(call: Caller): {
|
|
|
5207
5838
|
requestId: string;
|
|
5208
5839
|
}>;
|
|
5209
5840
|
playlist: (body: {
|
|
5841
|
+
limit?: number;
|
|
5210
5842
|
playlist: string;
|
|
5211
5843
|
cursor?: string;
|
|
5212
|
-
limit?: number;
|
|
5213
5844
|
}, options?: RequestOptions) => Promise<{
|
|
5214
5845
|
success: true;
|
|
5215
5846
|
data: {
|
|
@@ -5271,13 +5902,13 @@ declare function bindSurface(call: Caller): {
|
|
|
5271
5902
|
}>;
|
|
5272
5903
|
reddit: {
|
|
5273
5904
|
search: (body: {
|
|
5905
|
+
limit?: number;
|
|
5274
5906
|
query: string;
|
|
5275
5907
|
type?: "posts" | "subreddits" | "users";
|
|
5276
5908
|
subreddit?: string;
|
|
5277
5909
|
sort?: "relevance" | "hot" | "top" | "newest" | "mostComments";
|
|
5278
5910
|
within?: "hour" | "day" | "week" | "month" | "year" | "all";
|
|
5279
5911
|
cursor?: string;
|
|
5280
|
-
limit?: number;
|
|
5281
5912
|
}, options?: RequestOptions) => Promise<{
|
|
5282
5913
|
success: true;
|
|
5283
5914
|
data: {
|
|
@@ -5393,11 +6024,11 @@ declare function bindSurface(call: Caller): {
|
|
|
5393
6024
|
requestId: string;
|
|
5394
6025
|
}>;
|
|
5395
6026
|
subreddit: (body: {
|
|
6027
|
+
limit?: number;
|
|
5396
6028
|
subreddit: string;
|
|
5397
6029
|
sort?: "hot" | "newest" | "top";
|
|
5398
6030
|
within?: "hour" | "day" | "week" | "month" | "year" | "all";
|
|
5399
6031
|
cursor?: string;
|
|
5400
|
-
limit?: number;
|
|
5401
6032
|
}, options?: RequestOptions) => Promise<{
|
|
5402
6033
|
success: true;
|
|
5403
6034
|
data: {
|
|
@@ -5452,11 +6083,11 @@ declare function bindSurface(call: Caller): {
|
|
|
5452
6083
|
requestId: string;
|
|
5453
6084
|
}>;
|
|
5454
6085
|
user: (body: {
|
|
6086
|
+
limit?: number;
|
|
5455
6087
|
profile: string;
|
|
5456
6088
|
tab?: "overview" | "posts" | "comments";
|
|
5457
6089
|
sort?: "newest" | "hot" | "top";
|
|
5458
6090
|
cursor?: string;
|
|
5459
|
-
limit?: number;
|
|
5460
6091
|
}, options?: RequestOptions) => Promise<{
|
|
5461
6092
|
success: true;
|
|
5462
6093
|
data: {
|
|
@@ -5516,10 +6147,10 @@ declare function bindSurface(call: Caller): {
|
|
|
5516
6147
|
requestId: string;
|
|
5517
6148
|
}>;
|
|
5518
6149
|
domain: (body: {
|
|
6150
|
+
limit?: number;
|
|
5519
6151
|
domain: string;
|
|
5520
6152
|
sort?: "hot" | "newest" | "top";
|
|
5521
6153
|
cursor?: string;
|
|
5522
|
-
limit?: number;
|
|
5523
6154
|
}, options?: RequestOptions) => Promise<{
|
|
5524
6155
|
success: true;
|
|
5525
6156
|
data: {
|
|
@@ -5563,12 +6194,12 @@ declare function bindSurface(call: Caller): {
|
|
|
5563
6194
|
};
|
|
5564
6195
|
maps: {
|
|
5565
6196
|
search: (body: {
|
|
6197
|
+
limit?: number;
|
|
5566
6198
|
query: string;
|
|
5567
6199
|
location: string;
|
|
5568
6200
|
cursor?: string;
|
|
5569
6201
|
country?: string;
|
|
5570
6202
|
language?: string;
|
|
5571
|
-
limit?: number;
|
|
5572
6203
|
}, options?: RequestOptions) => Promise<{
|
|
5573
6204
|
success: true;
|
|
5574
6205
|
data: {
|
|
@@ -5631,11 +6262,11 @@ declare function bindSurface(call: Caller): {
|
|
|
5631
6262
|
requestId: string;
|
|
5632
6263
|
}>;
|
|
5633
6264
|
reviews: (body: {
|
|
6265
|
+
limit?: number;
|
|
5634
6266
|
place: string;
|
|
5635
6267
|
sort?: "relevance" | "newest" | "highest" | "lowest";
|
|
5636
6268
|
cursor?: string;
|
|
5637
6269
|
language?: string;
|
|
5638
|
-
limit?: number;
|
|
5639
6270
|
}, options?: RequestOptions) => Promise<{
|
|
5640
6271
|
success: true;
|
|
5641
6272
|
data: {
|
|
@@ -5669,9 +6300,9 @@ declare function bindSurface(call: Caller): {
|
|
|
5669
6300
|
};
|
|
5670
6301
|
instagram: {
|
|
5671
6302
|
profile: (body: {
|
|
6303
|
+
limit?: number;
|
|
5672
6304
|
profile: string;
|
|
5673
6305
|
cursor?: string;
|
|
5674
|
-
limit?: number;
|
|
5675
6306
|
}, options?: RequestOptions) => Promise<{
|
|
5676
6307
|
success: true;
|
|
5677
6308
|
data: {
|
|
@@ -5783,10 +6414,10 @@ declare function bindSurface(call: Caller): {
|
|
|
5783
6414
|
requestId: string;
|
|
5784
6415
|
}>;
|
|
5785
6416
|
comments: (body: {
|
|
6417
|
+
limit?: number;
|
|
5786
6418
|
post: string;
|
|
5787
6419
|
comment?: string;
|
|
5788
6420
|
cursor?: string;
|
|
5789
|
-
limit?: number;
|
|
5790
6421
|
}, options?: RequestOptions) => Promise<{
|
|
5791
6422
|
success: true;
|
|
5792
6423
|
data: {
|
|
@@ -5812,9 +6443,9 @@ declare function bindSurface(call: Caller): {
|
|
|
5812
6443
|
};
|
|
5813
6444
|
tiktok: {
|
|
5814
6445
|
profile: (body: {
|
|
6446
|
+
limit?: number;
|
|
5815
6447
|
profile: string;
|
|
5816
6448
|
cursor?: string;
|
|
5817
|
-
limit?: number;
|
|
5818
6449
|
}, options?: RequestOptions) => Promise<{
|
|
5819
6450
|
success: true;
|
|
5820
6451
|
data: {
|
|
@@ -5906,9 +6537,9 @@ declare function bindSurface(call: Caller): {
|
|
|
5906
6537
|
requestId: string;
|
|
5907
6538
|
}>;
|
|
5908
6539
|
hashtag: (body: {
|
|
6540
|
+
limit?: number;
|
|
5909
6541
|
hashtag: string;
|
|
5910
6542
|
cursor?: string;
|
|
5911
|
-
limit?: number;
|
|
5912
6543
|
}, options?: RequestOptions) => Promise<{
|
|
5913
6544
|
success: true;
|
|
5914
6545
|
data: {
|
|
@@ -5947,10 +6578,10 @@ declare function bindSurface(call: Caller): {
|
|
|
5947
6578
|
requestId: string;
|
|
5948
6579
|
}>;
|
|
5949
6580
|
comments: (body: {
|
|
6581
|
+
limit?: number;
|
|
5950
6582
|
video: string;
|
|
5951
6583
|
comment?: string;
|
|
5952
6584
|
cursor?: string;
|
|
5953
|
-
limit?: number;
|
|
5954
6585
|
}, options?: RequestOptions) => Promise<{
|
|
5955
6586
|
success: true;
|
|
5956
6587
|
data: {
|
|
@@ -5972,10 +6603,10 @@ declare function bindSurface(call: Caller): {
|
|
|
5972
6603
|
requestId: string;
|
|
5973
6604
|
}>;
|
|
5974
6605
|
search: (body: {
|
|
6606
|
+
limit?: number;
|
|
5975
6607
|
query: string;
|
|
5976
6608
|
type?: "videos" | "users";
|
|
5977
6609
|
cursor?: string;
|
|
5978
|
-
limit?: number;
|
|
5979
6610
|
}, options?: RequestOptions) => Promise<{
|
|
5980
6611
|
success: true;
|
|
5981
6612
|
data: {
|
|
@@ -6027,12 +6658,12 @@ declare function bindSurface(call: Caller): {
|
|
|
6027
6658
|
meta: {
|
|
6028
6659
|
ads: {
|
|
6029
6660
|
page: (body: {
|
|
6661
|
+
limit?: number;
|
|
6030
6662
|
page: string;
|
|
6031
6663
|
country?: string;
|
|
6032
6664
|
status?: "active" | "inactive" | "all";
|
|
6033
6665
|
mediaType?: "image" | "video" | "text";
|
|
6034
6666
|
cursor?: string;
|
|
6035
|
-
limit?: number;
|
|
6036
6667
|
}, options?: RequestOptions) => Promise<{
|
|
6037
6668
|
success: true;
|
|
6038
6669
|
data: {
|
|
@@ -6091,11 +6722,11 @@ declare function bindSurface(call: Caller): {
|
|
|
6091
6722
|
linkedin: {
|
|
6092
6723
|
jobs: {
|
|
6093
6724
|
search: (body?: {
|
|
6725
|
+
limit?: number;
|
|
6094
6726
|
query?: string;
|
|
6095
6727
|
location?: string;
|
|
6096
6728
|
within?: "day" | "week" | "month" | "all";
|
|
6097
6729
|
cursor?: string;
|
|
6098
|
-
limit?: number;
|
|
6099
6730
|
} | undefined, options?: RequestOptions) => Promise<{
|
|
6100
6731
|
success: true;
|
|
6101
6732
|
data: {
|
|
@@ -6152,6 +6783,89 @@ declare function bindSurface(call: Caller): {
|
|
|
6152
6783
|
requestId: string;
|
|
6153
6784
|
}>;
|
|
6154
6785
|
};
|
|
6786
|
+
people: {
|
|
6787
|
+
search: (body?: {
|
|
6788
|
+
limit?: number;
|
|
6789
|
+
query?: string;
|
|
6790
|
+
title?: string;
|
|
6791
|
+
company?: string;
|
|
6792
|
+
location?: string;
|
|
6793
|
+
} | undefined, options?: RequestOptions) => Promise<{
|
|
6794
|
+
success: true;
|
|
6795
|
+
data: {
|
|
6796
|
+
results: Array<{
|
|
6797
|
+
profileUrl: string;
|
|
6798
|
+
name?: string;
|
|
6799
|
+
headline?: string;
|
|
6800
|
+
title?: string;
|
|
6801
|
+
company?: string;
|
|
6802
|
+
location?: string;
|
|
6803
|
+
education?: string;
|
|
6804
|
+
details?: {
|
|
6805
|
+
profileId?: string;
|
|
6806
|
+
headline?: string;
|
|
6807
|
+
location?: string;
|
|
6808
|
+
about?: string;
|
|
6809
|
+
followers?: number;
|
|
6810
|
+
roles?: Array<{
|
|
6811
|
+
title?: string;
|
|
6812
|
+
company?: string;
|
|
6813
|
+
companyUrl?: string;
|
|
6814
|
+
from?: string;
|
|
6815
|
+
to?: string;
|
|
6816
|
+
isCurrent: boolean;
|
|
6817
|
+
}>;
|
|
6818
|
+
education?: Array<{
|
|
6819
|
+
school?: string;
|
|
6820
|
+
degree?: string;
|
|
6821
|
+
schoolUrl?: string;
|
|
6822
|
+
from?: string;
|
|
6823
|
+
to?: string;
|
|
6824
|
+
}>;
|
|
6825
|
+
};
|
|
6826
|
+
position: number;
|
|
6827
|
+
}>;
|
|
6828
|
+
};
|
|
6829
|
+
creditsUsed: number;
|
|
6830
|
+
requestId: string;
|
|
6831
|
+
}>;
|
|
6832
|
+
};
|
|
6833
|
+
companies: {
|
|
6834
|
+
search: (body?: {
|
|
6835
|
+
limit?: number;
|
|
6836
|
+
query?: string;
|
|
6837
|
+
industry?: string;
|
|
6838
|
+
location?: string;
|
|
6839
|
+
} | undefined, options?: RequestOptions) => Promise<{
|
|
6840
|
+
success: true;
|
|
6841
|
+
data: {
|
|
6842
|
+
results: Array<{
|
|
6843
|
+
companyUrl: string;
|
|
6844
|
+
name?: string;
|
|
6845
|
+
description?: string;
|
|
6846
|
+
industry?: string;
|
|
6847
|
+
size?: string;
|
|
6848
|
+
headquarters?: string;
|
|
6849
|
+
followers?: number;
|
|
6850
|
+
details?: {
|
|
6851
|
+
companyId?: string;
|
|
6852
|
+
website?: string;
|
|
6853
|
+
description?: string;
|
|
6854
|
+
industry?: string;
|
|
6855
|
+
size?: string;
|
|
6856
|
+
employees?: number;
|
|
6857
|
+
headquarters?: string;
|
|
6858
|
+
followers?: number;
|
|
6859
|
+
founded?: string;
|
|
6860
|
+
specialties?: Array<string>;
|
|
6861
|
+
};
|
|
6862
|
+
position: number;
|
|
6863
|
+
}>;
|
|
6864
|
+
};
|
|
6865
|
+
creditsUsed: number;
|
|
6866
|
+
requestId: string;
|
|
6867
|
+
}>;
|
|
6868
|
+
};
|
|
6155
6869
|
company: (body: {
|
|
6156
6870
|
company: string;
|
|
6157
6871
|
}, options?: RequestOptions) => Promise<{
|
|
@@ -6205,9 +6919,9 @@ declare function bindSurface(call: Caller): {
|
|
|
6205
6919
|
requestId: string;
|
|
6206
6920
|
}>;
|
|
6207
6921
|
posts: (body?: {
|
|
6922
|
+
limit?: number;
|
|
6208
6923
|
profile?: string;
|
|
6209
6924
|
company?: string;
|
|
6210
|
-
limit?: number;
|
|
6211
6925
|
} | undefined, options?: RequestOptions) => Promise<{
|
|
6212
6926
|
success: true;
|
|
6213
6927
|
data: {
|
|
@@ -6227,6 +6941,7 @@ declare function bindSurface(call: Caller): {
|
|
|
6227
6941
|
};
|
|
6228
6942
|
zillow: {
|
|
6229
6943
|
search: (body: {
|
|
6944
|
+
limit?: number;
|
|
6230
6945
|
location: string;
|
|
6231
6946
|
status?: "forSale" | "forRent" | "sold";
|
|
6232
6947
|
minPrice?: number;
|
|
@@ -6237,7 +6952,6 @@ declare function bindSurface(call: Caller): {
|
|
|
6237
6952
|
sort?: "relevance" | "newest" | "priceHigh" | "priceLow";
|
|
6238
6953
|
query?: string;
|
|
6239
6954
|
cursor?: string;
|
|
6240
|
-
limit?: number;
|
|
6241
6955
|
}, options?: RequestOptions) => Promise<{
|
|
6242
6956
|
success: true;
|
|
6243
6957
|
data: {
|
|
@@ -6338,12 +7052,12 @@ declare function bindSurface(call: Caller): {
|
|
|
6338
7052
|
};
|
|
6339
7053
|
upwork: {
|
|
6340
7054
|
search: (body?: {
|
|
7055
|
+
limit?: number;
|
|
6341
7056
|
query?: string;
|
|
6342
7057
|
sort?: "newest" | "relevance";
|
|
6343
7058
|
jobType?: "hourly" | "fixed";
|
|
6344
7059
|
experience?: "entry" | "intermediate" | "expert";
|
|
6345
7060
|
cursor?: string;
|
|
6346
|
-
limit?: number;
|
|
6347
7061
|
} | undefined, options?: RequestOptions) => Promise<{
|
|
6348
7062
|
success: true;
|
|
6349
7063
|
data: {
|
|
@@ -6419,13 +7133,13 @@ declare function bindSurface(call: Caller): {
|
|
|
6419
7133
|
};
|
|
6420
7134
|
indeed: {
|
|
6421
7135
|
search: (body?: {
|
|
7136
|
+
limit?: number;
|
|
6422
7137
|
query?: string;
|
|
6423
7138
|
location?: string;
|
|
6424
7139
|
country?: "us" | "gb" | "ca" | "au" | "nz" | "ie" | "in" | "sg" | "my" | "ph" | "za" | "ng" | "ae" | "sa" | "qa" | "kw" | "bh" | "om" | "pk" | "hk" | "jp" | "kr" | "tw" | "cn" | "id" | "th" | "vn" | "de" | "at" | "ch" | "fr" | "be" | "nl" | "lu" | "es" | "pt" | "it" | "gr" | "mt" | "cy" | "pl" | "cz" | "sk" | "hu" | "ro" | "bg" | "hr" | "si" | "ee" | "lv" | "lt" | "fi" | "se" | "no" | "dk" | "ua" | "tr" | "il" | "eg" | "ma" | "mx" | "br" | "ar" | "cl" | "co" | "pe" | "ec" | "uy" | "ve" | "cr" | "pa";
|
|
6425
7140
|
remote?: boolean;
|
|
6426
7141
|
within?: "day" | "week" | "month";
|
|
6427
7142
|
cursor?: string;
|
|
6428
|
-
limit?: number;
|
|
6429
7143
|
} | undefined, options?: RequestOptions) => Promise<{
|
|
6430
7144
|
success: true;
|
|
6431
7145
|
data: {
|
|
@@ -6518,9 +7232,9 @@ declare function bindSurface(call: Caller): {
|
|
|
6518
7232
|
};
|
|
6519
7233
|
tripadvisor: {
|
|
6520
7234
|
search: (body: {
|
|
7235
|
+
limit?: number;
|
|
6521
7236
|
query: string;
|
|
6522
7237
|
type?: "all" | "hotels" | "restaurants" | "attractions" | "geos";
|
|
6523
|
-
limit?: number;
|
|
6524
7238
|
}, options?: RequestOptions) => Promise<{
|
|
6525
7239
|
success: true;
|
|
6526
7240
|
data: {
|
|
@@ -6589,11 +7303,11 @@ declare function bindSurface(call: Caller): {
|
|
|
6589
7303
|
requestId: string;
|
|
6590
7304
|
}>;
|
|
6591
7305
|
reviews: (body: {
|
|
7306
|
+
limit?: number;
|
|
6592
7307
|
place: string;
|
|
6593
7308
|
language?: string;
|
|
6594
7309
|
ratings?: Array<number>;
|
|
6595
7310
|
cursor?: string;
|
|
6596
|
-
limit?: number;
|
|
6597
7311
|
}, options?: RequestOptions) => Promise<{
|
|
6598
7312
|
success: true;
|
|
6599
7313
|
data: {
|
|
@@ -6635,13 +7349,13 @@ declare function bindSurface(call: Caller): {
|
|
|
6635
7349
|
};
|
|
6636
7350
|
googletravel: {
|
|
6637
7351
|
flights: (body: {
|
|
7352
|
+
limit?: number;
|
|
6638
7353
|
origin: string;
|
|
6639
7354
|
destination: string;
|
|
6640
7355
|
departDate: string;
|
|
6641
7356
|
returnDate?: string;
|
|
6642
7357
|
adults?: number;
|
|
6643
7358
|
cabin?: "economy" | "premiumEconomy" | "business" | "first";
|
|
6644
|
-
limit?: number;
|
|
6645
7359
|
}, options?: RequestOptions) => Promise<{
|
|
6646
7360
|
success: true;
|
|
6647
7361
|
data: {
|
|
@@ -6686,12 +7400,12 @@ declare function bindSurface(call: Caller): {
|
|
|
6686
7400
|
};
|
|
6687
7401
|
walmart: {
|
|
6688
7402
|
search: (body: {
|
|
7403
|
+
limit?: number;
|
|
6689
7404
|
query: string;
|
|
6690
7405
|
sort?: "relevance" | "priceLow" | "priceHigh" | "bestSelling" | "highest" | "newest";
|
|
6691
7406
|
minPrice?: number;
|
|
6692
7407
|
maxPrice?: number;
|
|
6693
7408
|
cursor?: string;
|
|
6694
|
-
limit?: number;
|
|
6695
7409
|
}, options?: RequestOptions) => Promise<{
|
|
6696
7410
|
success: true;
|
|
6697
7411
|
data: {
|
|
@@ -6811,10 +7525,10 @@ declare function bindSurface(call: Caller): {
|
|
|
6811
7525
|
requestId: string;
|
|
6812
7526
|
}>;
|
|
6813
7527
|
search: (body: {
|
|
7528
|
+
limit?: number;
|
|
6814
7529
|
query: string;
|
|
6815
7530
|
country?: string;
|
|
6816
7531
|
device?: "iphone" | "ipad" | "mac";
|
|
6817
|
-
limit?: number;
|
|
6818
7532
|
}, options?: RequestOptions) => Promise<{
|
|
6819
7533
|
success: true;
|
|
6820
7534
|
data: {
|
|
@@ -6854,11 +7568,11 @@ declare function bindSurface(call: Caller): {
|
|
|
6854
7568
|
requestId: string;
|
|
6855
7569
|
}>;
|
|
6856
7570
|
reviews: (body: {
|
|
7571
|
+
limit?: number;
|
|
6857
7572
|
app: string;
|
|
6858
7573
|
country?: string;
|
|
6859
7574
|
sort?: "newest" | "helpful" | "highest" | "lowest";
|
|
6860
7575
|
cursor?: string;
|
|
6861
|
-
limit?: number;
|
|
6862
7576
|
}, options?: RequestOptions) => Promise<{
|
|
6863
7577
|
success: true;
|
|
6864
7578
|
data: {
|
|
@@ -6877,11 +7591,11 @@ declare function bindSurface(call: Caller): {
|
|
|
6877
7591
|
requestId: string;
|
|
6878
7592
|
}>;
|
|
6879
7593
|
top: (body?: {
|
|
7594
|
+
limit?: number;
|
|
6880
7595
|
chart?: "free" | "paid" | "grossing";
|
|
6881
7596
|
device?: "iphone" | "ipad" | "mac";
|
|
6882
7597
|
genre?: "business" | "weather" | "utilities" | "travel" | "sports" | "socialNetworking" | "reference" | "productivity" | "photoVideo" | "news" | "navigation" | "music" | "lifestyle" | "healthFitness" | "games" | "finance" | "entertainment" | "education" | "books" | "medical" | "foodDrink" | "shopping" | "developerTools" | "graphicsDesign";
|
|
6883
7598
|
country?: string;
|
|
6884
|
-
limit?: number;
|
|
6885
7599
|
} | undefined, options?: RequestOptions) => Promise<{
|
|
6886
7600
|
success: true;
|
|
6887
7601
|
data: {
|
|
@@ -6957,10 +7671,10 @@ declare function bindSurface(call: Caller): {
|
|
|
6957
7671
|
requestId: string;
|
|
6958
7672
|
}>;
|
|
6959
7673
|
search: (body: {
|
|
7674
|
+
limit?: number;
|
|
6960
7675
|
query: string;
|
|
6961
7676
|
country?: string;
|
|
6962
7677
|
language?: string;
|
|
6963
|
-
limit?: number;
|
|
6964
7678
|
}, options?: RequestOptions) => Promise<{
|
|
6965
7679
|
success: true;
|
|
6966
7680
|
data: {
|
|
@@ -6983,13 +7697,13 @@ declare function bindSurface(call: Caller): {
|
|
|
6983
7697
|
requestId: string;
|
|
6984
7698
|
}>;
|
|
6985
7699
|
reviews: (body: {
|
|
7700
|
+
limit?: number;
|
|
6986
7701
|
app: string;
|
|
6987
7702
|
country?: string;
|
|
6988
7703
|
language?: string;
|
|
6989
7704
|
sort?: "newest" | "relevance" | "highest";
|
|
6990
7705
|
rating?: number;
|
|
6991
7706
|
cursor?: string;
|
|
6992
|
-
limit?: number;
|
|
6993
7707
|
}, options?: RequestOptions) => Promise<{
|
|
6994
7708
|
success: true;
|
|
6995
7709
|
data: {
|
|
@@ -7014,6 +7728,7 @@ declare function bindSurface(call: Caller): {
|
|
|
7014
7728
|
};
|
|
7015
7729
|
airbnb: {
|
|
7016
7730
|
search: (body: {
|
|
7731
|
+
limit?: number;
|
|
7017
7732
|
location: string;
|
|
7018
7733
|
checkIn?: string;
|
|
7019
7734
|
checkOut?: string;
|
|
@@ -7021,7 +7736,6 @@ declare function bindSurface(call: Caller): {
|
|
|
7021
7736
|
minPrice?: number;
|
|
7022
7737
|
maxPrice?: number;
|
|
7023
7738
|
cursor?: string;
|
|
7024
|
-
limit?: number;
|
|
7025
7739
|
}, options?: RequestOptions) => Promise<{
|
|
7026
7740
|
success: true;
|
|
7027
7741
|
data: {
|
|
@@ -7114,9 +7828,9 @@ declare function bindSurface(call: Caller): {
|
|
|
7114
7828
|
requestId: string;
|
|
7115
7829
|
}>;
|
|
7116
7830
|
calendar: (body: {
|
|
7831
|
+
limit?: number;
|
|
7117
7832
|
listing: string;
|
|
7118
7833
|
month?: string;
|
|
7119
|
-
limit?: number;
|
|
7120
7834
|
}, options?: RequestOptions) => Promise<{
|
|
7121
7835
|
success: true;
|
|
7122
7836
|
data: {
|
|
@@ -7134,10 +7848,10 @@ declare function bindSurface(call: Caller): {
|
|
|
7134
7848
|
requestId: string;
|
|
7135
7849
|
}>;
|
|
7136
7850
|
reviews: (body: {
|
|
7851
|
+
limit?: number;
|
|
7137
7852
|
listing: string;
|
|
7138
7853
|
sort?: "relevance" | "newest" | "highest" | "lowest";
|
|
7139
7854
|
cursor?: string;
|
|
7140
|
-
limit?: number;
|
|
7141
7855
|
}, options?: RequestOptions) => Promise<{
|
|
7142
7856
|
success: true;
|
|
7143
7857
|
data: {
|
|
@@ -7163,6 +7877,7 @@ declare function bindSurface(call: Caller): {
|
|
|
7163
7877
|
};
|
|
7164
7878
|
rightmove: {
|
|
7165
7879
|
search: (body: {
|
|
7880
|
+
limit?: number;
|
|
7166
7881
|
location: string;
|
|
7167
7882
|
status?: "forSale" | "forRent";
|
|
7168
7883
|
minPrice?: number;
|
|
@@ -7171,7 +7886,6 @@ declare function bindSurface(call: Caller): {
|
|
|
7171
7886
|
maxBedrooms?: number;
|
|
7172
7887
|
sort?: "newest" | "oldest" | "priceHigh" | "priceLow";
|
|
7173
7888
|
cursor?: string;
|
|
7174
|
-
limit?: number;
|
|
7175
7889
|
}, options?: RequestOptions) => Promise<{
|
|
7176
7890
|
success: true;
|
|
7177
7891
|
data: {
|
|
@@ -7264,6 +7978,7 @@ declare function bindSurface(call: Caller): {
|
|
|
7264
7978
|
};
|
|
7265
7979
|
immoscout: {
|
|
7266
7980
|
search: (body: {
|
|
7981
|
+
limit?: number;
|
|
7267
7982
|
location: string;
|
|
7268
7983
|
type?: "apartmentRent" | "apartmentBuy" | "houseRent" | "houseBuy" | "land" | "flatShare" | "shortTerm";
|
|
7269
7984
|
minPrice?: number;
|
|
@@ -7271,7 +7986,6 @@ declare function bindSurface(call: Caller): {
|
|
|
7271
7986
|
minRooms?: number;
|
|
7272
7987
|
sort?: "newest" | "priceLow" | "priceHigh" | "largest";
|
|
7273
7988
|
cursor?: string;
|
|
7274
|
-
limit?: number;
|
|
7275
7989
|
}, options?: RequestOptions) => Promise<{
|
|
7276
7990
|
success: true;
|
|
7277
7991
|
data: {
|
|
@@ -7348,10 +8062,10 @@ declare function bindSurface(call: Caller): {
|
|
|
7348
8062
|
};
|
|
7349
8063
|
pinterest: {
|
|
7350
8064
|
search: (body: {
|
|
8065
|
+
limit?: number;
|
|
7351
8066
|
query: string;
|
|
7352
8067
|
type?: "pins" | "videos";
|
|
7353
8068
|
cursor?: string;
|
|
7354
|
-
limit?: number;
|
|
7355
8069
|
}, options?: RequestOptions) => Promise<{
|
|
7356
8070
|
success: true;
|
|
7357
8071
|
data: {
|
|
@@ -7422,9 +8136,9 @@ declare function bindSurface(call: Caller): {
|
|
|
7422
8136
|
requestId: string;
|
|
7423
8137
|
}>;
|
|
7424
8138
|
board: (body: {
|
|
8139
|
+
limit?: number;
|
|
7425
8140
|
board: string;
|
|
7426
8141
|
cursor?: string;
|
|
7427
|
-
limit?: number;
|
|
7428
8142
|
}, options?: RequestOptions) => Promise<{
|
|
7429
8143
|
success: true;
|
|
7430
8144
|
data: {
|
|
@@ -7476,9 +8190,9 @@ declare function bindSurface(call: Caller): {
|
|
|
7476
8190
|
requestId: string;
|
|
7477
8191
|
}>;
|
|
7478
8192
|
user: (body: {
|
|
8193
|
+
limit?: number;
|
|
7479
8194
|
profile: string;
|
|
7480
8195
|
cursor?: string;
|
|
7481
|
-
limit?: number;
|
|
7482
8196
|
}, options?: RequestOptions) => Promise<{
|
|
7483
8197
|
success: true;
|
|
7484
8198
|
data: {
|
|
@@ -7531,14 +8245,15 @@ declare function bindSurface(call: Caller): {
|
|
|
7531
8245
|
};
|
|
7532
8246
|
ads: {
|
|
7533
8247
|
search: (body: {
|
|
8248
|
+
limit?: number;
|
|
7534
8249
|
query: string;
|
|
7535
8250
|
country?: string;
|
|
7536
8251
|
status?: "active" | "inactive" | "all";
|
|
7537
8252
|
mediaType?: "image" | "video" | "text";
|
|
7538
8253
|
cursor?: string;
|
|
7539
8254
|
network: "meta";
|
|
7540
|
-
limit?: number;
|
|
7541
8255
|
} | {
|
|
8256
|
+
limit?: number;
|
|
7542
8257
|
query?: string;
|
|
7543
8258
|
advertiser?: string;
|
|
7544
8259
|
domain?: string;
|
|
@@ -7546,36 +8261,35 @@ declare function bindSurface(call: Caller): {
|
|
|
7546
8261
|
mediaType?: "text" | "image" | "video";
|
|
7547
8262
|
cursor?: string;
|
|
7548
8263
|
network: "google";
|
|
7549
|
-
limit?: number;
|
|
7550
8264
|
} | {
|
|
8265
|
+
limit?: number;
|
|
7551
8266
|
query?: string;
|
|
7552
8267
|
advertiser?: string;
|
|
7553
8268
|
country?: string;
|
|
7554
8269
|
cursor?: string;
|
|
7555
8270
|
network: "tiktok";
|
|
7556
|
-
limit?: number;
|
|
7557
8271
|
} | {
|
|
8272
|
+
limit?: number;
|
|
7558
8273
|
query?: string;
|
|
7559
8274
|
advertiser?: string;
|
|
7560
8275
|
country?: string;
|
|
7561
8276
|
within?: "month" | "year" | "all";
|
|
7562
8277
|
cursor?: string;
|
|
7563
8278
|
network: "linkedin";
|
|
7564
|
-
limit?: number;
|
|
7565
8279
|
} | {
|
|
8280
|
+
limit?: number;
|
|
7566
8281
|
query?: string;
|
|
7567
8282
|
advertiser?: string;
|
|
7568
8283
|
country?: string;
|
|
7569
8284
|
cursor?: string;
|
|
7570
8285
|
network: "microsoft";
|
|
7571
|
-
limit?: number;
|
|
7572
8286
|
} | {
|
|
8287
|
+
limit?: number;
|
|
7573
8288
|
query?: string;
|
|
7574
8289
|
country: string;
|
|
7575
8290
|
advertiser?: string;
|
|
7576
8291
|
cursor?: string;
|
|
7577
8292
|
network: "pinterest";
|
|
7578
|
-
limit?: number;
|
|
7579
8293
|
}, options?: RequestOptions) => Promise<{
|
|
7580
8294
|
success: true;
|
|
7581
8295
|
data: {
|
|
@@ -7961,14 +8675,14 @@ declare function bindSurface(call: Caller): {
|
|
|
7961
8675
|
requestId: string;
|
|
7962
8676
|
}>;
|
|
7963
8677
|
advertisers: (body: {
|
|
8678
|
+
limit?: number;
|
|
7964
8679
|
query: string;
|
|
7965
8680
|
country?: string;
|
|
7966
8681
|
network: "google";
|
|
7967
|
-
limit?: number;
|
|
7968
8682
|
} | {
|
|
8683
|
+
limit?: number;
|
|
7969
8684
|
query: string;
|
|
7970
8685
|
network: "microsoft";
|
|
7971
|
-
limit?: number;
|
|
7972
8686
|
}, options?: RequestOptions) => Promise<{
|
|
7973
8687
|
success: true;
|
|
7974
8688
|
data: {
|
|
@@ -7995,6 +8709,106 @@ declare function bindSurface(call: Caller): {
|
|
|
7995
8709
|
requestId: string;
|
|
7996
8710
|
}>;
|
|
7997
8711
|
};
|
|
8712
|
+
ai: {
|
|
8713
|
+
answer: (body: {
|
|
8714
|
+
prompt: string;
|
|
8715
|
+
engine?: "gemini" | "chatgpt";
|
|
8716
|
+
}, options?: RequestOptions) => Promise<{
|
|
8717
|
+
success: true;
|
|
8718
|
+
data: {
|
|
8719
|
+
engine: "gemini" | "chatgpt";
|
|
8720
|
+
prompt?: string;
|
|
8721
|
+
answer: string;
|
|
8722
|
+
sources: Array<{
|
|
8723
|
+
url: string;
|
|
8724
|
+
title?: string;
|
|
8725
|
+
domain: string;
|
|
8726
|
+
}>;
|
|
8727
|
+
};
|
|
8728
|
+
creditsUsed: number;
|
|
8729
|
+
requestId: string;
|
|
8730
|
+
}>;
|
|
8731
|
+
};
|
|
8732
|
+
web: {
|
|
8733
|
+
search: (body: {
|
|
8734
|
+
limit?: number;
|
|
8735
|
+
query: string;
|
|
8736
|
+
country?: string;
|
|
8737
|
+
language?: string;
|
|
8738
|
+
includeDomains?: Array<string>;
|
|
8739
|
+
excludeDomains?: Array<string>;
|
|
8740
|
+
within?: "day" | "week" | "month" | "year" | "all";
|
|
8741
|
+
}, options?: RequestOptions) => Promise<{
|
|
8742
|
+
success: true;
|
|
8743
|
+
data: {
|
|
8744
|
+
results: Array<{
|
|
8745
|
+
url: string;
|
|
8746
|
+
title: string;
|
|
8747
|
+
description?: string;
|
|
8748
|
+
date?: string;
|
|
8749
|
+
sitelinks?: Array<{
|
|
8750
|
+
title: string;
|
|
8751
|
+
url: string;
|
|
8752
|
+
}>;
|
|
8753
|
+
position: number;
|
|
8754
|
+
}>;
|
|
8755
|
+
aiOverview?: {
|
|
8756
|
+
text: string;
|
|
8757
|
+
sources?: Array<{
|
|
8758
|
+
url: string;
|
|
8759
|
+
title?: string;
|
|
8760
|
+
}>;
|
|
8761
|
+
};
|
|
8762
|
+
knowledgeGraph?: {
|
|
8763
|
+
title: string;
|
|
8764
|
+
type?: string;
|
|
8765
|
+
website?: string;
|
|
8766
|
+
imageUrl?: string;
|
|
8767
|
+
description?: string;
|
|
8768
|
+
descriptionSource?: string;
|
|
8769
|
+
descriptionUrl?: string;
|
|
8770
|
+
attributes?: {
|
|
8771
|
+
[key: string]: string;
|
|
8772
|
+
};
|
|
8773
|
+
};
|
|
8774
|
+
peopleAlsoAsk?: Array<{
|
|
8775
|
+
question: string;
|
|
8776
|
+
answer?: string;
|
|
8777
|
+
title?: string;
|
|
8778
|
+
url?: string;
|
|
8779
|
+
}>;
|
|
8780
|
+
relatedSearches?: Array<string>;
|
|
8781
|
+
isPartial?: true;
|
|
8782
|
+
};
|
|
8783
|
+
creditsUsed: number;
|
|
8784
|
+
requestId: string;
|
|
8785
|
+
}>;
|
|
8786
|
+
news: (body?: {
|
|
8787
|
+
limit?: number;
|
|
8788
|
+
query?: string;
|
|
8789
|
+
topic?: "world" | "nation" | "business" | "technology" | "entertainment" | "sports" | "science" | "health";
|
|
8790
|
+
country?: string;
|
|
8791
|
+
language?: string;
|
|
8792
|
+
includeDomains?: Array<string>;
|
|
8793
|
+
excludeDomains?: Array<string>;
|
|
8794
|
+
within?: "hour" | "day" | "week" | "month" | "year" | "all";
|
|
8795
|
+
} | undefined, options?: RequestOptions) => Promise<{
|
|
8796
|
+
success: true;
|
|
8797
|
+
data: {
|
|
8798
|
+
results: Array<{
|
|
8799
|
+
url: string;
|
|
8800
|
+
title: string;
|
|
8801
|
+
source?: string;
|
|
8802
|
+
description?: string;
|
|
8803
|
+
publishedAt?: string;
|
|
8804
|
+
position: number;
|
|
8805
|
+
}>;
|
|
8806
|
+
isPartial?: true;
|
|
8807
|
+
};
|
|
8808
|
+
creditsUsed: number;
|
|
8809
|
+
requestId: string;
|
|
8810
|
+
}>;
|
|
8811
|
+
};
|
|
7998
8812
|
};
|
|
7999
8813
|
type Surface = ReturnType<typeof bindSurface>;
|
|
8000
8814
|
|
|
@@ -8041,4 +8855,4 @@ declare class StophyError extends Error {
|
|
|
8041
8855
|
});
|
|
8042
8856
|
}
|
|
8043
8857
|
|
|
8044
|
-
export { type AdsAdData, type AdsAdError, type AdsAdErrors, type AdsAdResponse, type AdsAdResponses, type AdsAdvertisersData, type AdsAdvertisersError, type AdsAdvertisersErrors, type AdsAdvertisersResponse, type AdsAdvertisersResponses, type AdsSearchData, type AdsSearchError, type AdsSearchErrors, type AdsSearchResponse, type AdsSearchResponses, type AirbnbCalendarData, type AirbnbCalendarError, type AirbnbCalendarErrors, type AirbnbCalendarResponse, type AirbnbCalendarResponses, type AirbnbListingData, type AirbnbListingError, type AirbnbListingErrors, type AirbnbListingResponse, type AirbnbListingResponses, type AirbnbReviewsData, type AirbnbReviewsError, type AirbnbReviewsErrors, type AirbnbReviewsResponse, type AirbnbReviewsResponses, type AirbnbSearchData, type AirbnbSearchError, type AirbnbSearchErrors, type AirbnbSearchResponse, type AirbnbSearchResponses, type AppstoreAppData, type AppstoreAppError, type AppstoreAppErrors, type AppstoreAppResponse, type AppstoreAppResponses, type AppstoreReviewsData, type AppstoreReviewsError, type AppstoreReviewsErrors, type AppstoreReviewsResponse, type AppstoreReviewsResponses, type AppstoreSearchData, type AppstoreSearchError, type AppstoreSearchErrors, type AppstoreSearchResponse, type AppstoreSearchResponses, type AppstoreTopData, type AppstoreTopError, type AppstoreTopErrors, type AppstoreTopResponse, type AppstoreTopResponses, type CallOptions, type ClientOptions, type EndpointCatalog, type FetchLike, type GoogleplayAppData, type GoogleplayAppError, type GoogleplayAppErrors, type GoogleplayAppResponse, type GoogleplayAppResponses, type GoogleplayReviewsData, type GoogleplayReviewsError, type GoogleplayReviewsErrors, type GoogleplayReviewsResponse, type GoogleplayReviewsResponses, type GoogleplaySearchData, type GoogleplaySearchError, type GoogleplaySearchErrors, type GoogleplaySearchResponse, type GoogleplaySearchResponses, type GoogletravelFlightsData, type GoogletravelFlightsError, type GoogletravelFlightsErrors, type GoogletravelFlightsResponse, type GoogletravelFlightsResponses, type ImmoscoutListingData, type ImmoscoutListingError, type ImmoscoutListingErrors, type ImmoscoutListingResponse, type ImmoscoutListingResponses, type ImmoscoutSearchData, type ImmoscoutSearchError, type ImmoscoutSearchErrors, type ImmoscoutSearchResponse, type ImmoscoutSearchResponses, type IndeedJobData, type IndeedJobError, type IndeedJobErrors, type IndeedJobResponse, type IndeedJobResponses, type IndeedSearchData, type IndeedSearchError, type IndeedSearchErrors, type IndeedSearchResponse, type IndeedSearchResponses, type InstagramCommentsData, type InstagramCommentsError, type InstagramCommentsErrors, type InstagramCommentsResponse, type InstagramCommentsResponses, type InstagramPostData, type InstagramPostError, type InstagramPostErrors, type InstagramPostResponse, type InstagramPostResponses, type InstagramProfileData, type InstagramProfileError, type InstagramProfileErrors, type InstagramProfileResponse, type InstagramProfileResponses, type LinkedinCompanyData, type LinkedinCompanyError, type LinkedinCompanyErrors, type LinkedinCompanyResponse, type LinkedinCompanyResponses, type LinkedinJobsJobData, type LinkedinJobsJobError, type LinkedinJobsJobErrors, type LinkedinJobsJobResponse, type LinkedinJobsJobResponses, type LinkedinJobsSearchData, type LinkedinJobsSearchError, type LinkedinJobsSearchErrors, type LinkedinJobsSearchResponse, type LinkedinJobsSearchResponses, type LinkedinPostsData, type LinkedinPostsError, type LinkedinPostsErrors, type LinkedinPostsResponse, type LinkedinPostsResponses, type LinkedinProfileData, type LinkedinProfileError, type LinkedinProfileErrors, type LinkedinProfileResponse, type LinkedinProfileResponses, type ListEndpointsData, type ListEndpointsResponse, type ListEndpointsResponses, type LogEntry, type Logs, type LogsQuery, type MapsPlaceData, type MapsPlaceError, type MapsPlaceErrors, type MapsPlaceResponse, type MapsPlaceResponses, type MapsReviewsData, type MapsReviewsError, type MapsReviewsErrors, type MapsReviewsResponse, type MapsReviewsResponses, type MapsSearchData, type MapsSearchError, type MapsSearchErrors, type MapsSearchResponse, type MapsSearchResponses, type MetaAdsPageData, type MetaAdsPageError, type MetaAdsPageErrors, type MetaAdsPageResponse, type MetaAdsPageResponses, type PinterestBoardData, type PinterestBoardError, type PinterestBoardErrors, type PinterestBoardResponse, type PinterestBoardResponses, type PinterestPinData, type PinterestPinError, type PinterestPinErrors, type PinterestPinResponse, type PinterestPinResponses, type PinterestSearchData, type PinterestSearchError, type PinterestSearchErrors, type PinterestSearchResponse, type PinterestSearchResponses, type PinterestUserData, type PinterestUserError, type PinterestUserErrors, type PinterestUserResponse, type PinterestUserResponses, type RedditDomainData, type RedditDomainError, type RedditDomainErrors, type RedditDomainResponse, type RedditDomainResponses, type RedditPostData, type RedditPostError, type RedditPostErrors, type RedditPostResponse, type RedditPostResponses, type RedditSearchData, type RedditSearchError, type RedditSearchErrors, type RedditSearchResponse, type RedditSearchResponses, type RedditSubredditData, type RedditSubredditError, type RedditSubredditErrors, type RedditSubredditResponse, type RedditSubredditResponses, type RedditUserData, type RedditUserError, type RedditUserErrors, type RedditUserResponse, type RedditUserResponses, type RightmovePropertyData, type RightmovePropertyError, type RightmovePropertyErrors, type RightmovePropertyResponse, type RightmovePropertyResponses, type RightmoveSearchData, type RightmoveSearchError, type RightmoveSearchErrors, type RightmoveSearchResponse, type RightmoveSearchResponses, Stophy, type StophyClientInput, StophyError, type StophyErrorCode, type StophyOptions, type Surface, type TiktokCommentsData, type TiktokCommentsError, type TiktokCommentsErrors, type TiktokCommentsResponse, type TiktokCommentsResponses, type TiktokHashtagData, type TiktokHashtagError, type TiktokHashtagErrors, type TiktokHashtagResponse, type TiktokHashtagResponses, type TiktokProfileData, type TiktokProfileError, type TiktokProfileErrors, type TiktokProfileResponse, type TiktokProfileResponses, type TiktokSearchData, type TiktokSearchError, type TiktokSearchErrors, type TiktokSearchResponse, type TiktokSearchResponses, type TiktokVideoData, type TiktokVideoError, type TiktokVideoErrors, type TiktokVideoResponse, type TiktokVideoResponses, type TranscriptData, type TranscriptError, type TranscriptErrors, type TranscriptResponse, type TranscriptResponses, type TripadvisorPlaceData, type TripadvisorPlaceError, type TripadvisorPlaceErrors, type TripadvisorPlaceResponse, type TripadvisorPlaceResponses, type TripadvisorReviewsData, type TripadvisorReviewsError, type TripadvisorReviewsErrors, type TripadvisorReviewsResponse, type TripadvisorReviewsResponses, type TripadvisorSearchData, type TripadvisorSearchError, type TripadvisorSearchErrors, type TripadvisorSearchResponse, type TripadvisorSearchResponses, type UpworkJobData, type UpworkJobError, type UpworkJobErrors, type UpworkJobResponse, type UpworkJobResponses, type UpworkSearchData, type UpworkSearchError, type UpworkSearchErrors, type UpworkSearchResponse, type UpworkSearchResponses, type Usage, type WalmartProductData, type WalmartProductError, type WalmartProductErrors, type WalmartProductResponse, type WalmartProductResponses, type WalmartSearchData, type WalmartSearchError, type WalmartSearchErrors, type WalmartSearchResponse, type WalmartSearchResponses, type WebSearchData, type WebSearchError, type WebSearchErrors, type WebSearchResponse, type WebSearchResponses, type YoutubeChannelData, type YoutubeChannelError, type YoutubeChannelErrors, type YoutubeChannelResponse, type YoutubeChannelResponses, type YoutubeCommentsData, type YoutubeCommentsError, type YoutubeCommentsErrors, type YoutubeCommentsResponse, type YoutubeCommentsResponses, type YoutubePlaylistData, type YoutubePlaylistError, type YoutubePlaylistErrors, type YoutubePlaylistResponse, type YoutubePlaylistResponses, type YoutubeSearchData, type YoutubeSearchError, type YoutubeSearchErrors, type YoutubeSearchResponse, type YoutubeSearchResponses, type YoutubeVideoData, type YoutubeVideoError, type YoutubeVideoErrors, type YoutubeVideoResponse, type YoutubeVideoResponses, type ZillowPropertyData, type ZillowPropertyError, type ZillowPropertyErrors, type ZillowPropertyResponse, type ZillowPropertyResponses, type ZillowSearchData, type ZillowSearchError, type ZillowSearchErrors, type ZillowSearchResponse, type ZillowSearchResponses, type _Error, Stophy as default };
|
|
8858
|
+
export { type AdsAdData, type AdsAdError, type AdsAdErrors, type AdsAdResponse, type AdsAdResponses, type AdsAdvertisersData, type AdsAdvertisersError, type AdsAdvertisersErrors, type AdsAdvertisersResponse, type AdsAdvertisersResponses, type AdsSearchData, type AdsSearchError, type AdsSearchErrors, type AdsSearchResponse, type AdsSearchResponses, type AiAnswerData, type AiAnswerError, type AiAnswerErrors, type AiAnswerResponse, type AiAnswerResponses, type AirbnbCalendarData, type AirbnbCalendarError, type AirbnbCalendarErrors, type AirbnbCalendarResponse, type AirbnbCalendarResponses, type AirbnbListingData, type AirbnbListingError, type AirbnbListingErrors, type AirbnbListingResponse, type AirbnbListingResponses, type AirbnbReviewsData, type AirbnbReviewsError, type AirbnbReviewsErrors, type AirbnbReviewsResponse, type AirbnbReviewsResponses, type AirbnbSearchData, type AirbnbSearchError, type AirbnbSearchErrors, type AirbnbSearchResponse, type AirbnbSearchResponses, type AppstoreAppData, type AppstoreAppError, type AppstoreAppErrors, type AppstoreAppResponse, type AppstoreAppResponses, type AppstoreReviewsData, type AppstoreReviewsError, type AppstoreReviewsErrors, type AppstoreReviewsResponse, type AppstoreReviewsResponses, type AppstoreSearchData, type AppstoreSearchError, type AppstoreSearchErrors, type AppstoreSearchResponse, type AppstoreSearchResponses, type AppstoreTopData, type AppstoreTopError, type AppstoreTopErrors, type AppstoreTopResponse, type AppstoreTopResponses, type CallOptions, type ClientOptions, type EndpointCatalog, type FetchLike, type GoogleAiModeData, type GoogleAiModeError, type GoogleAiModeErrors, type GoogleAiModeResponse, type GoogleAiModeResponses, type GoogleImagesData, type GoogleImagesError, type GoogleImagesErrors, type GoogleImagesResponse, type GoogleImagesResponses, type GoogleNewsData, type GoogleNewsError, type GoogleNewsErrors, type GoogleNewsResponse, type GoogleNewsResponses, type GoogleSearchData, type GoogleSearchError, type GoogleSearchErrors, type GoogleSearchResponse, type GoogleSearchResponses, type GoogleShoppingData, type GoogleShoppingError, type GoogleShoppingErrors, type GoogleShoppingResponse, type GoogleShoppingResponses, type GoogleplayAppData, type GoogleplayAppError, type GoogleplayAppErrors, type GoogleplayAppResponse, type GoogleplayAppResponses, type GoogleplayReviewsData, type GoogleplayReviewsError, type GoogleplayReviewsErrors, type GoogleplayReviewsResponse, type GoogleplayReviewsResponses, type GoogleplaySearchData, type GoogleplaySearchError, type GoogleplaySearchErrors, type GoogleplaySearchResponse, type GoogleplaySearchResponses, type GoogletravelFlightsData, type GoogletravelFlightsError, type GoogletravelFlightsErrors, type GoogletravelFlightsResponse, type GoogletravelFlightsResponses, type ImmoscoutListingData, type ImmoscoutListingError, type ImmoscoutListingErrors, type ImmoscoutListingResponse, type ImmoscoutListingResponses, type ImmoscoutSearchData, type ImmoscoutSearchError, type ImmoscoutSearchErrors, type ImmoscoutSearchResponse, type ImmoscoutSearchResponses, type IndeedJobData, type IndeedJobError, type IndeedJobErrors, type IndeedJobResponse, type IndeedJobResponses, type IndeedSearchData, type IndeedSearchError, type IndeedSearchErrors, type IndeedSearchResponse, type IndeedSearchResponses, type InstagramCommentsData, type InstagramCommentsError, type InstagramCommentsErrors, type InstagramCommentsResponse, type InstagramCommentsResponses, type InstagramPostData, type InstagramPostError, type InstagramPostErrors, type InstagramPostResponse, type InstagramPostResponses, type InstagramProfileData, type InstagramProfileError, type InstagramProfileErrors, type InstagramProfileResponse, type InstagramProfileResponses, type LinkedinCompaniesSearchData, type LinkedinCompaniesSearchError, type LinkedinCompaniesSearchErrors, type LinkedinCompaniesSearchResponse, type LinkedinCompaniesSearchResponses, type LinkedinCompanyData, type LinkedinCompanyError, type LinkedinCompanyErrors, type LinkedinCompanyResponse, type LinkedinCompanyResponses, type LinkedinJobsJobData, type LinkedinJobsJobError, type LinkedinJobsJobErrors, type LinkedinJobsJobResponse, type LinkedinJobsJobResponses, type LinkedinJobsSearchData, type LinkedinJobsSearchError, type LinkedinJobsSearchErrors, type LinkedinJobsSearchResponse, type LinkedinJobsSearchResponses, type LinkedinPeopleSearchData, type LinkedinPeopleSearchError, type LinkedinPeopleSearchErrors, type LinkedinPeopleSearchResponse, type LinkedinPeopleSearchResponses, type LinkedinPostsData, type LinkedinPostsError, type LinkedinPostsErrors, type LinkedinPostsResponse, type LinkedinPostsResponses, type LinkedinProfileData, type LinkedinProfileError, type LinkedinProfileErrors, type LinkedinProfileResponse, type LinkedinProfileResponses, type ListEndpointsData, type ListEndpointsResponse, type ListEndpointsResponses, type LogEntry, type Logs, type LogsQuery, type MapsPlaceData, type MapsPlaceError, type MapsPlaceErrors, type MapsPlaceResponse, type MapsPlaceResponses, type MapsReviewsData, type MapsReviewsError, type MapsReviewsErrors, type MapsReviewsResponse, type MapsReviewsResponses, type MapsSearchData, type MapsSearchError, type MapsSearchErrors, type MapsSearchResponse, type MapsSearchResponses, type MetaAdsPageData, type MetaAdsPageError, type MetaAdsPageErrors, type MetaAdsPageResponse, type MetaAdsPageResponses, type PinterestBoardData, type PinterestBoardError, type PinterestBoardErrors, type PinterestBoardResponse, type PinterestBoardResponses, type PinterestPinData, type PinterestPinError, type PinterestPinErrors, type PinterestPinResponse, type PinterestPinResponses, type PinterestSearchData, type PinterestSearchError, type PinterestSearchErrors, type PinterestSearchResponse, type PinterestSearchResponses, type PinterestUserData, type PinterestUserError, type PinterestUserErrors, type PinterestUserResponse, type PinterestUserResponses, type RedditDomainData, type RedditDomainError, type RedditDomainErrors, type RedditDomainResponse, type RedditDomainResponses, type RedditPostData, type RedditPostError, type RedditPostErrors, type RedditPostResponse, type RedditPostResponses, type RedditSearchData, type RedditSearchError, type RedditSearchErrors, type RedditSearchResponse, type RedditSearchResponses, type RedditSubredditData, type RedditSubredditError, type RedditSubredditErrors, type RedditSubredditResponse, type RedditSubredditResponses, type RedditUserData, type RedditUserError, type RedditUserErrors, type RedditUserResponse, type RedditUserResponses, type RightmovePropertyData, type RightmovePropertyError, type RightmovePropertyErrors, type RightmovePropertyResponse, type RightmovePropertyResponses, type RightmoveSearchData, type RightmoveSearchError, type RightmoveSearchErrors, type RightmoveSearchResponse, type RightmoveSearchResponses, Stophy, type StophyClientInput, StophyError, type StophyErrorCode, type StophyOptions, type Surface, type TiktokCommentsData, type TiktokCommentsError, type TiktokCommentsErrors, type TiktokCommentsResponse, type TiktokCommentsResponses, type TiktokHashtagData, type TiktokHashtagError, type TiktokHashtagErrors, type TiktokHashtagResponse, type TiktokHashtagResponses, type TiktokProfileData, type TiktokProfileError, type TiktokProfileErrors, type TiktokProfileResponse, type TiktokProfileResponses, type TiktokSearchData, type TiktokSearchError, type TiktokSearchErrors, type TiktokSearchResponse, type TiktokSearchResponses, type TiktokVideoData, type TiktokVideoError, type TiktokVideoErrors, type TiktokVideoResponse, type TiktokVideoResponses, type TranscriptData, type TranscriptError, type TranscriptErrors, type TranscriptResponse, type TranscriptResponses, type TripadvisorPlaceData, type TripadvisorPlaceError, type TripadvisorPlaceErrors, type TripadvisorPlaceResponse, type TripadvisorPlaceResponses, type TripadvisorReviewsData, type TripadvisorReviewsError, type TripadvisorReviewsErrors, type TripadvisorReviewsResponse, type TripadvisorReviewsResponses, type TripadvisorSearchData, type TripadvisorSearchError, type TripadvisorSearchErrors, type TripadvisorSearchResponse, type TripadvisorSearchResponses, type UpworkJobData, type UpworkJobError, type UpworkJobErrors, type UpworkJobResponse, type UpworkJobResponses, type UpworkSearchData, type UpworkSearchError, type UpworkSearchErrors, type UpworkSearchResponse, type UpworkSearchResponses, type Usage, type WalmartProductData, type WalmartProductError, type WalmartProductErrors, type WalmartProductResponse, type WalmartProductResponses, type WalmartSearchData, type WalmartSearchError, type WalmartSearchErrors, type WalmartSearchResponse, type WalmartSearchResponses, type GoogleSearchData as WebSearchData, type GoogleSearchError as WebSearchError, type GoogleSearchErrors as WebSearchErrors, type GoogleSearchResponse as WebSearchResponse, type GoogleSearchResponses as WebSearchResponses, type YoutubeChannelData, type YoutubeChannelError, type YoutubeChannelErrors, type YoutubeChannelResponse, type YoutubeChannelResponses, type YoutubeCommentsData, type YoutubeCommentsError, type YoutubeCommentsErrors, type YoutubeCommentsResponse, type YoutubeCommentsResponses, type YoutubePlaylistData, type YoutubePlaylistError, type YoutubePlaylistErrors, type YoutubePlaylistResponse, type YoutubePlaylistResponses, type YoutubeSearchData, type YoutubeSearchError, type YoutubeSearchErrors, type YoutubeSearchResponse, type YoutubeSearchResponses, type YoutubeVideoData, type YoutubeVideoError, type YoutubeVideoErrors, type YoutubeVideoResponse, type YoutubeVideoResponses, type ZillowPropertyData, type ZillowPropertyError, type ZillowPropertyErrors, type ZillowPropertyResponse, type ZillowPropertyResponses, type ZillowSearchData, type ZillowSearchError, type ZillowSearchErrors, type ZillowSearchResponse, type ZillowSearchResponses, type _Error, Stophy as default };
|