stophy 1.0.5 → 1.0.7
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 +22 -9
- package/dist/index.cjs +20 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +984 -383
- package/dist/index.d.ts +984 -383
- 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,7 +121,7 @@ type ListEndpointsResponses = {
|
|
|
121
121
|
200: EndpointCatalog;
|
|
122
122
|
};
|
|
123
123
|
type ListEndpointsResponse = ListEndpointsResponses[keyof ListEndpointsResponses];
|
|
124
|
-
type
|
|
124
|
+
type GoogleSearchData = {
|
|
125
125
|
body: {
|
|
126
126
|
query: string;
|
|
127
127
|
/**
|
|
@@ -136,15 +136,15 @@ type WebSearchData = {
|
|
|
136
136
|
excludeDomains?: Array<string>;
|
|
137
137
|
within?: "day" | "week" | "month" | "year" | "all";
|
|
138
138
|
/**
|
|
139
|
-
*
|
|
139
|
+
* Page number, starting at 1.
|
|
140
140
|
*/
|
|
141
|
-
|
|
141
|
+
page?: number;
|
|
142
142
|
};
|
|
143
143
|
path?: never;
|
|
144
144
|
query?: never;
|
|
145
|
-
url: "/v1/
|
|
145
|
+
url: "/v1/google/search";
|
|
146
146
|
};
|
|
147
|
-
type
|
|
147
|
+
type GoogleSearchErrors = {
|
|
148
148
|
/**
|
|
149
149
|
* The request failed. retryable says whether trying again can help.
|
|
150
150
|
*/
|
|
@@ -154,27 +154,328 @@ type WebSearchErrors = {
|
|
|
154
154
|
*/
|
|
155
155
|
"5XX": _Error;
|
|
156
156
|
};
|
|
157
|
-
type
|
|
158
|
-
type
|
|
157
|
+
type GoogleSearchError = GoogleSearchErrors[keyof GoogleSearchErrors];
|
|
158
|
+
type GoogleSearchResponses = {
|
|
159
159
|
/**
|
|
160
160
|
* The data, and the credits this call used.
|
|
161
161
|
*/
|
|
162
162
|
200: {
|
|
163
163
|
success: true;
|
|
164
164
|
data: {
|
|
165
|
+
aiOverview?: {
|
|
166
|
+
text: string;
|
|
167
|
+
/**
|
|
168
|
+
* Pages the overview cites.
|
|
169
|
+
*/
|
|
170
|
+
sources?: Array<{
|
|
171
|
+
url: string;
|
|
172
|
+
title?: string;
|
|
173
|
+
}>;
|
|
174
|
+
};
|
|
175
|
+
knowledgeGraph?: {
|
|
176
|
+
title: string;
|
|
177
|
+
type?: string;
|
|
178
|
+
website?: string;
|
|
179
|
+
imageUrl?: string;
|
|
180
|
+
description?: string;
|
|
181
|
+
descriptionSource?: string;
|
|
182
|
+
descriptionUrl?: string;
|
|
183
|
+
/**
|
|
184
|
+
* Labelled facts, like Founded or Headquarters.
|
|
185
|
+
*/
|
|
186
|
+
attributes?: {
|
|
187
|
+
[key: string]: string;
|
|
188
|
+
};
|
|
189
|
+
};
|
|
165
190
|
results: Array<{
|
|
191
|
+
url: string;
|
|
166
192
|
title: string;
|
|
193
|
+
/**
|
|
194
|
+
* Text shown under the title.
|
|
195
|
+
*/
|
|
196
|
+
description?: string;
|
|
197
|
+
/**
|
|
198
|
+
* Day shown on the result, when there is one.
|
|
199
|
+
*/
|
|
200
|
+
date?: string;
|
|
201
|
+
/**
|
|
202
|
+
* Links listed under the result.
|
|
203
|
+
*/
|
|
204
|
+
sitelinks?: Array<{
|
|
205
|
+
/**
|
|
206
|
+
* Link text.
|
|
207
|
+
*/
|
|
208
|
+
title: string;
|
|
209
|
+
/**
|
|
210
|
+
* Destination URL.
|
|
211
|
+
*/
|
|
212
|
+
url: string;
|
|
213
|
+
}>;
|
|
214
|
+
position: number;
|
|
215
|
+
}>;
|
|
216
|
+
peopleAlsoAsk?: Array<{
|
|
217
|
+
question: string;
|
|
218
|
+
answer?: string;
|
|
219
|
+
title?: string;
|
|
220
|
+
url?: string;
|
|
221
|
+
}>;
|
|
222
|
+
relatedSearches?: Array<string>;
|
|
223
|
+
page?: number;
|
|
224
|
+
hasMore?: boolean;
|
|
225
|
+
};
|
|
226
|
+
creditsUsed: number;
|
|
227
|
+
requestId: string;
|
|
228
|
+
};
|
|
229
|
+
};
|
|
230
|
+
type GoogleSearchResponse = GoogleSearchResponses[keyof GoogleSearchResponses];
|
|
231
|
+
type GoogleNewsData = {
|
|
232
|
+
body: {
|
|
233
|
+
query?: string;
|
|
234
|
+
/**
|
|
235
|
+
* The top 10 headlines in one section instead of a search. Send query or topic, not both.
|
|
236
|
+
*/
|
|
237
|
+
topic?: "world" | "nation" | "business" | "technology" | "entertainment" | "sports" | "science" | "health";
|
|
238
|
+
/**
|
|
239
|
+
* ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
|
|
240
|
+
*/
|
|
241
|
+
country?: string;
|
|
242
|
+
/**
|
|
243
|
+
* Two-letter language code like en or pt. Any case is accepted.
|
|
244
|
+
*/
|
|
245
|
+
language?: string;
|
|
246
|
+
includeDomains?: Array<string>;
|
|
247
|
+
excludeDomains?: Array<string>;
|
|
248
|
+
within?: "hour" | "day" | "week" | "month" | "year" | "all";
|
|
249
|
+
/**
|
|
250
|
+
* Page number, starting at 1.
|
|
251
|
+
*/
|
|
252
|
+
page?: number;
|
|
253
|
+
};
|
|
254
|
+
path?: never;
|
|
255
|
+
query?: never;
|
|
256
|
+
url: "/v1/google/news";
|
|
257
|
+
};
|
|
258
|
+
type GoogleNewsErrors = {
|
|
259
|
+
/**
|
|
260
|
+
* The request failed. retryable says whether trying again can help.
|
|
261
|
+
*/
|
|
262
|
+
"4XX": _Error;
|
|
263
|
+
/**
|
|
264
|
+
* The request failed. retryable says whether trying again can help.
|
|
265
|
+
*/
|
|
266
|
+
"5XX": _Error;
|
|
267
|
+
};
|
|
268
|
+
type GoogleNewsError = GoogleNewsErrors[keyof GoogleNewsErrors];
|
|
269
|
+
type GoogleNewsResponses = {
|
|
270
|
+
/**
|
|
271
|
+
* The data, and the credits this call used.
|
|
272
|
+
*/
|
|
273
|
+
200: {
|
|
274
|
+
success: true;
|
|
275
|
+
data: {
|
|
276
|
+
results: Array<{
|
|
167
277
|
url: string;
|
|
278
|
+
title: string;
|
|
279
|
+
/**
|
|
280
|
+
* Publication that ran the article.
|
|
281
|
+
*/
|
|
282
|
+
source?: string;
|
|
283
|
+
/**
|
|
284
|
+
* Text shown under the headline.
|
|
285
|
+
*/
|
|
168
286
|
description?: string;
|
|
169
|
-
|
|
287
|
+
/**
|
|
288
|
+
* When the article was published.
|
|
289
|
+
*/
|
|
290
|
+
publishedAt?: string;
|
|
291
|
+
position: number;
|
|
292
|
+
}>;
|
|
293
|
+
page: number;
|
|
294
|
+
hasMore?: boolean;
|
|
295
|
+
};
|
|
296
|
+
creditsUsed: number;
|
|
297
|
+
requestId: string;
|
|
298
|
+
};
|
|
299
|
+
};
|
|
300
|
+
type GoogleNewsResponse = GoogleNewsResponses[keyof GoogleNewsResponses];
|
|
301
|
+
type GoogleImagesData = {
|
|
302
|
+
body: {
|
|
303
|
+
query: string;
|
|
304
|
+
/**
|
|
305
|
+
* ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
|
|
306
|
+
*/
|
|
307
|
+
country?: string;
|
|
308
|
+
/**
|
|
309
|
+
* Two-letter language code like en or pt. Any case is accepted.
|
|
310
|
+
*/
|
|
311
|
+
language?: string;
|
|
312
|
+
};
|
|
313
|
+
path?: never;
|
|
314
|
+
query?: never;
|
|
315
|
+
url: "/v1/google/images";
|
|
316
|
+
};
|
|
317
|
+
type GoogleImagesErrors = {
|
|
318
|
+
/**
|
|
319
|
+
* The request failed. retryable says whether trying again can help.
|
|
320
|
+
*/
|
|
321
|
+
"4XX": _Error;
|
|
322
|
+
/**
|
|
323
|
+
* The request failed. retryable says whether trying again can help.
|
|
324
|
+
*/
|
|
325
|
+
"5XX": _Error;
|
|
326
|
+
};
|
|
327
|
+
type GoogleImagesError = GoogleImagesErrors[keyof GoogleImagesErrors];
|
|
328
|
+
type GoogleImagesResponses = {
|
|
329
|
+
/**
|
|
330
|
+
* The data, and the credits this call used.
|
|
331
|
+
*/
|
|
332
|
+
200: {
|
|
333
|
+
success: true;
|
|
334
|
+
data: {
|
|
335
|
+
results: Array<{
|
|
336
|
+
imageUrl: string;
|
|
337
|
+
title?: string;
|
|
338
|
+
pageUrl: string;
|
|
339
|
+
source?: string;
|
|
340
|
+
width: number;
|
|
341
|
+
height: number;
|
|
342
|
+
thumbnailUrl: string;
|
|
343
|
+
position: number;
|
|
344
|
+
}>;
|
|
345
|
+
};
|
|
346
|
+
creditsUsed: number;
|
|
347
|
+
requestId: string;
|
|
348
|
+
};
|
|
349
|
+
};
|
|
350
|
+
type GoogleImagesResponse = GoogleImagesResponses[keyof GoogleImagesResponses];
|
|
351
|
+
type GoogleAiModeData = {
|
|
352
|
+
body: {
|
|
353
|
+
/**
|
|
354
|
+
* The question to ask, worded the way a person would ask it.
|
|
355
|
+
*/
|
|
356
|
+
prompt: string;
|
|
357
|
+
/**
|
|
358
|
+
* ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
|
|
359
|
+
*/
|
|
360
|
+
country?: string;
|
|
361
|
+
/**
|
|
362
|
+
* Two-letter language code like en or pt. Any case is accepted.
|
|
363
|
+
*/
|
|
364
|
+
language?: string;
|
|
365
|
+
};
|
|
366
|
+
path?: never;
|
|
367
|
+
query?: never;
|
|
368
|
+
url: "/v1/google/aiMode";
|
|
369
|
+
};
|
|
370
|
+
type GoogleAiModeErrors = {
|
|
371
|
+
/**
|
|
372
|
+
* The request failed. retryable says whether trying again can help.
|
|
373
|
+
*/
|
|
374
|
+
"4XX": _Error;
|
|
375
|
+
/**
|
|
376
|
+
* The request failed. retryable says whether trying again can help.
|
|
377
|
+
*/
|
|
378
|
+
"5XX": _Error;
|
|
379
|
+
};
|
|
380
|
+
type GoogleAiModeError = GoogleAiModeErrors[keyof GoogleAiModeErrors];
|
|
381
|
+
type GoogleAiModeResponses = {
|
|
382
|
+
/**
|
|
383
|
+
* The data, and the credits this call used.
|
|
384
|
+
*/
|
|
385
|
+
200: {
|
|
386
|
+
success: true;
|
|
387
|
+
data: {
|
|
388
|
+
prompt?: string;
|
|
389
|
+
answer: string;
|
|
390
|
+
sources: Array<{
|
|
391
|
+
url: string;
|
|
392
|
+
title?: string;
|
|
393
|
+
}>;
|
|
394
|
+
};
|
|
395
|
+
creditsUsed: number;
|
|
396
|
+
requestId: string;
|
|
397
|
+
};
|
|
398
|
+
};
|
|
399
|
+
type GoogleAiModeResponse = GoogleAiModeResponses[keyof GoogleAiModeResponses];
|
|
400
|
+
type GoogleShoppingData = {
|
|
401
|
+
body: {
|
|
402
|
+
query: string;
|
|
403
|
+
/**
|
|
404
|
+
* ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
|
|
405
|
+
*/
|
|
406
|
+
country?: string;
|
|
407
|
+
/**
|
|
408
|
+
* Two-letter language code like en or pt. Any case is accepted.
|
|
409
|
+
*/
|
|
410
|
+
language?: string;
|
|
411
|
+
/**
|
|
412
|
+
* Page number, starting at 1.
|
|
413
|
+
*/
|
|
414
|
+
page?: number;
|
|
415
|
+
};
|
|
416
|
+
path?: never;
|
|
417
|
+
query?: never;
|
|
418
|
+
url: "/v1/google/shopping";
|
|
419
|
+
};
|
|
420
|
+
type GoogleShoppingErrors = {
|
|
421
|
+
/**
|
|
422
|
+
* The request failed. retryable says whether trying again can help.
|
|
423
|
+
*/
|
|
424
|
+
"4XX": _Error;
|
|
425
|
+
/**
|
|
426
|
+
* The request failed. retryable says whether trying again can help.
|
|
427
|
+
*/
|
|
428
|
+
"5XX": _Error;
|
|
429
|
+
};
|
|
430
|
+
type GoogleShoppingError = GoogleShoppingErrors[keyof GoogleShoppingErrors];
|
|
431
|
+
type GoogleShoppingResponses = {
|
|
432
|
+
/**
|
|
433
|
+
* The data, and the credits this call used.
|
|
434
|
+
*/
|
|
435
|
+
200: {
|
|
436
|
+
success: true;
|
|
437
|
+
data: {
|
|
438
|
+
results: Array<{
|
|
439
|
+
title: string;
|
|
440
|
+
/**
|
|
441
|
+
* Current price in the country's currency.
|
|
442
|
+
*/
|
|
443
|
+
price: number;
|
|
444
|
+
/**
|
|
445
|
+
* ISO 4217 currency code, e.g. USD.
|
|
446
|
+
*/
|
|
447
|
+
priceCurrency?: string;
|
|
448
|
+
/**
|
|
449
|
+
* Higher price Google shows next to the current one, when there is one.
|
|
450
|
+
*/
|
|
451
|
+
originalPrice?: number;
|
|
452
|
+
/**
|
|
453
|
+
* Store with the listed price.
|
|
454
|
+
*/
|
|
455
|
+
seller?: string;
|
|
456
|
+
/**
|
|
457
|
+
* Delivery terms, in the page language.
|
|
458
|
+
*/
|
|
459
|
+
delivery?: string;
|
|
460
|
+
/**
|
|
461
|
+
* Return terms, in the page language.
|
|
462
|
+
*/
|
|
463
|
+
returns?: string;
|
|
464
|
+
rating?: number;
|
|
465
|
+
/**
|
|
466
|
+
* How many reviews the rating is based on.
|
|
467
|
+
*/
|
|
468
|
+
reviews?: number;
|
|
170
469
|
position: number;
|
|
171
470
|
}>;
|
|
471
|
+
page: number;
|
|
472
|
+
hasMore: boolean;
|
|
172
473
|
};
|
|
173
474
|
creditsUsed: number;
|
|
174
475
|
requestId: string;
|
|
175
476
|
};
|
|
176
477
|
};
|
|
177
|
-
type
|
|
478
|
+
type GoogleShoppingResponse = GoogleShoppingResponses[keyof GoogleShoppingResponses];
|
|
178
479
|
type YoutubeSearchData = {
|
|
179
480
|
body: {
|
|
180
481
|
query: string;
|
|
@@ -185,10 +486,6 @@ type YoutubeSearchData = {
|
|
|
185
486
|
* The cursor from the previous response. Send it as is.
|
|
186
487
|
*/
|
|
187
488
|
cursor?: string;
|
|
188
|
-
/**
|
|
189
|
-
* Return at most this many results (1-100).
|
|
190
|
-
*/
|
|
191
|
-
limit?: number;
|
|
192
489
|
};
|
|
193
490
|
path?: never;
|
|
194
491
|
query?: never;
|
|
@@ -365,10 +662,6 @@ type YoutubeCommentsData = {
|
|
|
365
662
|
* The cursor from the previous response. Send it as is.
|
|
366
663
|
*/
|
|
367
664
|
cursor?: string;
|
|
368
|
-
/**
|
|
369
|
-
* Return at most this many results (1-100).
|
|
370
|
-
*/
|
|
371
|
-
limit?: number;
|
|
372
665
|
};
|
|
373
666
|
path?: never;
|
|
374
667
|
query?: never;
|
|
@@ -423,10 +716,6 @@ type YoutubeChannelData = {
|
|
|
423
716
|
* The cursor from the previous response. Send it as is.
|
|
424
717
|
*/
|
|
425
718
|
cursor?: string;
|
|
426
|
-
/**
|
|
427
|
-
* Return at most this many results (1-100).
|
|
428
|
-
*/
|
|
429
|
-
limit?: number;
|
|
430
719
|
};
|
|
431
720
|
path?: never;
|
|
432
721
|
query?: never;
|
|
@@ -516,10 +805,6 @@ type YoutubePlaylistData = {
|
|
|
516
805
|
* The cursor from the previous response. Send it as is.
|
|
517
806
|
*/
|
|
518
807
|
cursor?: string;
|
|
519
|
-
/**
|
|
520
|
-
* Return at most this many results (1-100).
|
|
521
|
-
*/
|
|
522
|
-
limit?: number;
|
|
523
808
|
};
|
|
524
809
|
path?: never;
|
|
525
810
|
query?: never;
|
|
@@ -579,19 +864,21 @@ type YoutubePlaylistResponses = {
|
|
|
579
864
|
type YoutubePlaylistResponse = YoutubePlaylistResponses[keyof YoutubePlaylistResponses];
|
|
580
865
|
type RedditSearchData = {
|
|
581
866
|
body: {
|
|
867
|
+
/**
|
|
868
|
+
* 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.
|
|
869
|
+
*/
|
|
582
870
|
query: string;
|
|
583
871
|
type?: "posts" | "subreddits" | "users";
|
|
584
872
|
subreddit?: string;
|
|
873
|
+
/**
|
|
874
|
+
* 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.
|
|
875
|
+
*/
|
|
585
876
|
sort?: "relevance" | "hot" | "top" | "newest" | "mostComments";
|
|
586
877
|
within?: "hour" | "day" | "week" | "month" | "year" | "all";
|
|
587
878
|
/**
|
|
588
879
|
* The cursor from the previous response. Send it as is.
|
|
589
880
|
*/
|
|
590
881
|
cursor?: string;
|
|
591
|
-
/**
|
|
592
|
-
* Return at most this many results (1-100).
|
|
593
|
-
*/
|
|
594
|
-
limit?: number;
|
|
595
882
|
};
|
|
596
883
|
path?: never;
|
|
597
884
|
query?: never;
|
|
@@ -760,10 +1047,6 @@ type RedditSubredditData = {
|
|
|
760
1047
|
* The cursor from the previous response. Send it as is.
|
|
761
1048
|
*/
|
|
762
1049
|
cursor?: string;
|
|
763
|
-
/**
|
|
764
|
-
* Return at most this many results (1-100).
|
|
765
|
-
*/
|
|
766
|
-
limit?: number;
|
|
767
1050
|
};
|
|
768
1051
|
path?: never;
|
|
769
1052
|
query?: never;
|
|
@@ -848,10 +1131,6 @@ type RedditUserData = {
|
|
|
848
1131
|
* The cursor from the previous response. Send it as is.
|
|
849
1132
|
*/
|
|
850
1133
|
cursor?: string;
|
|
851
|
-
/**
|
|
852
|
-
* Return at most this many results (1-100).
|
|
853
|
-
*/
|
|
854
|
-
limit?: number;
|
|
855
1134
|
};
|
|
856
1135
|
path?: never;
|
|
857
1136
|
query?: never;
|
|
@@ -940,10 +1219,6 @@ type RedditDomainData = {
|
|
|
940
1219
|
* The cursor from the previous response. Send it as is.
|
|
941
1220
|
*/
|
|
942
1221
|
cursor?: string;
|
|
943
|
-
/**
|
|
944
|
-
* Return at most this many results (1-100).
|
|
945
|
-
*/
|
|
946
|
-
limit?: number;
|
|
947
1222
|
};
|
|
948
1223
|
path?: never;
|
|
949
1224
|
query?: never;
|
|
@@ -1010,10 +1285,6 @@ type MapsSearchData = {
|
|
|
1010
1285
|
body: {
|
|
1011
1286
|
query: string;
|
|
1012
1287
|
location: string;
|
|
1013
|
-
/**
|
|
1014
|
-
* The cursor from the previous response. Send it as is.
|
|
1015
|
-
*/
|
|
1016
|
-
cursor?: string;
|
|
1017
1288
|
/**
|
|
1018
1289
|
* ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
|
|
1019
1290
|
*/
|
|
@@ -1022,10 +1293,6 @@ type MapsSearchData = {
|
|
|
1022
1293
|
* BCP 47 language tag, e.g. en or pt-BR. Any case is accepted.
|
|
1023
1294
|
*/
|
|
1024
1295
|
language?: string;
|
|
1025
|
-
/**
|
|
1026
|
-
* Return at most this many results (1-100).
|
|
1027
|
-
*/
|
|
1028
|
-
limit?: number;
|
|
1029
1296
|
};
|
|
1030
1297
|
path?: never;
|
|
1031
1298
|
query?: never;
|
|
@@ -1071,7 +1338,6 @@ type MapsSearchResponses = {
|
|
|
1071
1338
|
reservationUrl?: string;
|
|
1072
1339
|
attributes?: Array<string>;
|
|
1073
1340
|
}>;
|
|
1074
|
-
cursor?: string;
|
|
1075
1341
|
};
|
|
1076
1342
|
creditsUsed: number;
|
|
1077
1343
|
requestId: string;
|
|
@@ -1142,18 +1408,14 @@ type MapsReviewsData = {
|
|
|
1142
1408
|
body: {
|
|
1143
1409
|
place: string;
|
|
1144
1410
|
sort?: "relevance" | "newest" | "highest" | "lowest";
|
|
1145
|
-
/**
|
|
1146
|
-
* The cursor from the previous response. Send it as is.
|
|
1147
|
-
*/
|
|
1148
|
-
cursor?: string;
|
|
1149
1411
|
/**
|
|
1150
1412
|
* BCP 47 language tag, e.g. en or pt-BR. Any case is accepted.
|
|
1151
1413
|
*/
|
|
1152
1414
|
language?: string;
|
|
1153
1415
|
/**
|
|
1154
|
-
*
|
|
1416
|
+
* The cursor from the previous response. Send it as is.
|
|
1155
1417
|
*/
|
|
1156
|
-
|
|
1418
|
+
cursor?: string;
|
|
1157
1419
|
};
|
|
1158
1420
|
path?: never;
|
|
1159
1421
|
query?: never;
|
|
@@ -1213,10 +1475,6 @@ type InstagramProfileData = {
|
|
|
1213
1475
|
* The cursor from the previous response. Send it as is.
|
|
1214
1476
|
*/
|
|
1215
1477
|
cursor?: string;
|
|
1216
|
-
/**
|
|
1217
|
-
* Return at most this many results (1-100).
|
|
1218
|
-
*/
|
|
1219
|
-
limit?: number;
|
|
1220
1478
|
};
|
|
1221
1479
|
path?: never;
|
|
1222
1480
|
query?: never;
|
|
@@ -1380,10 +1638,6 @@ type InstagramCommentsData = {
|
|
|
1380
1638
|
* The cursor from the previous response. Send it as is.
|
|
1381
1639
|
*/
|
|
1382
1640
|
cursor?: string;
|
|
1383
|
-
/**
|
|
1384
|
-
* Return at most this many results (1-100).
|
|
1385
|
-
*/
|
|
1386
|
-
limit?: number;
|
|
1387
1641
|
};
|
|
1388
1642
|
path?: never;
|
|
1389
1643
|
query?: never;
|
|
@@ -1435,10 +1689,6 @@ type TiktokProfileData = {
|
|
|
1435
1689
|
* The cursor from the previous response. Send it as is.
|
|
1436
1690
|
*/
|
|
1437
1691
|
cursor?: string;
|
|
1438
|
-
/**
|
|
1439
|
-
* Return at most this many results (1-100).
|
|
1440
|
-
*/
|
|
1441
|
-
limit?: number;
|
|
1442
1692
|
};
|
|
1443
1693
|
path?: never;
|
|
1444
1694
|
query?: never;
|
|
@@ -1581,10 +1831,6 @@ type TiktokHashtagData = {
|
|
|
1581
1831
|
* The cursor from the previous response. Send it as is.
|
|
1582
1832
|
*/
|
|
1583
1833
|
cursor?: string;
|
|
1584
|
-
/**
|
|
1585
|
-
* Return at most this many results (1-100).
|
|
1586
|
-
*/
|
|
1587
|
-
limit?: number;
|
|
1588
1834
|
};
|
|
1589
1835
|
path?: never;
|
|
1590
1836
|
query?: never;
|
|
@@ -1652,10 +1898,6 @@ type TiktokCommentsData = {
|
|
|
1652
1898
|
* The cursor from the previous response. Send it as is.
|
|
1653
1899
|
*/
|
|
1654
1900
|
cursor?: string;
|
|
1655
|
-
/**
|
|
1656
|
-
* Return at most this many results (1-100).
|
|
1657
|
-
*/
|
|
1658
|
-
limit?: number;
|
|
1659
1901
|
};
|
|
1660
1902
|
path?: never;
|
|
1661
1903
|
query?: never;
|
|
@@ -1706,10 +1948,6 @@ type TiktokSearchData = {
|
|
|
1706
1948
|
* The cursor from the previous response. Send it as is.
|
|
1707
1949
|
*/
|
|
1708
1950
|
cursor?: string;
|
|
1709
|
-
/**
|
|
1710
|
-
* Return at most this many results (1-100).
|
|
1711
|
-
*/
|
|
1712
|
-
limit?: number;
|
|
1713
1951
|
};
|
|
1714
1952
|
path?: never;
|
|
1715
1953
|
query?: never;
|
|
@@ -1781,7 +2019,10 @@ type TiktokSearchResponses = {
|
|
|
1781
2019
|
type TiktokSearchResponse = TiktokSearchResponses[keyof TiktokSearchResponses];
|
|
1782
2020
|
type MetaAdsPageData = {
|
|
1783
2021
|
body: {
|
|
1784
|
-
|
|
2022
|
+
/**
|
|
2023
|
+
* The Facebook page: its id, name or URL.
|
|
2024
|
+
*/
|
|
2025
|
+
advertiser: string;
|
|
1785
2026
|
/**
|
|
1786
2027
|
* ISO 3166-1 alpha-2 country code, or all. Any case is accepted.
|
|
1787
2028
|
*/
|
|
@@ -1795,10 +2036,6 @@ type MetaAdsPageData = {
|
|
|
1795
2036
|
* The cursor from the previous response. Send it as is.
|
|
1796
2037
|
*/
|
|
1797
2038
|
cursor?: string;
|
|
1798
|
-
/**
|
|
1799
|
-
* Return at most this many results (1-100).
|
|
1800
|
-
*/
|
|
1801
|
-
limit?: number;
|
|
1802
2039
|
};
|
|
1803
2040
|
path?: never;
|
|
1804
2041
|
query?: never;
|
|
@@ -1882,32 +2119,179 @@ type MetaAdsPageResponses = {
|
|
|
1882
2119
|
reachMax?: number;
|
|
1883
2120
|
countries?: Array<string>;
|
|
1884
2121
|
}>;
|
|
1885
|
-
cursor?: string;
|
|
2122
|
+
cursor?: string;
|
|
2123
|
+
};
|
|
2124
|
+
creditsUsed: number;
|
|
2125
|
+
requestId: string;
|
|
2126
|
+
};
|
|
2127
|
+
};
|
|
2128
|
+
type MetaAdsPageResponse = MetaAdsPageResponses[keyof MetaAdsPageResponses];
|
|
2129
|
+
type LinkedinJobsSearchData = {
|
|
2130
|
+
body: {
|
|
2131
|
+
query?: string;
|
|
2132
|
+
location?: string;
|
|
2133
|
+
within?: "day" | "week" | "month" | "all";
|
|
2134
|
+
/**
|
|
2135
|
+
* Page number, starting at 1.
|
|
2136
|
+
*/
|
|
2137
|
+
page?: number;
|
|
2138
|
+
};
|
|
2139
|
+
path?: never;
|
|
2140
|
+
query?: never;
|
|
2141
|
+
url: "/v1/linkedin/jobs/search";
|
|
2142
|
+
};
|
|
2143
|
+
type LinkedinJobsSearchErrors = {
|
|
2144
|
+
/**
|
|
2145
|
+
* The request failed. retryable says whether trying again can help.
|
|
2146
|
+
*/
|
|
2147
|
+
"4XX": _Error;
|
|
2148
|
+
/**
|
|
2149
|
+
* The request failed. retryable says whether trying again can help.
|
|
2150
|
+
*/
|
|
2151
|
+
"5XX": _Error;
|
|
2152
|
+
};
|
|
2153
|
+
type LinkedinJobsSearchError = LinkedinJobsSearchErrors[keyof LinkedinJobsSearchErrors];
|
|
2154
|
+
type LinkedinJobsSearchResponses = {
|
|
2155
|
+
/**
|
|
2156
|
+
* The data, and the credits this call used.
|
|
2157
|
+
*/
|
|
2158
|
+
200: {
|
|
2159
|
+
success: true;
|
|
2160
|
+
data: {
|
|
2161
|
+
results: Array<{
|
|
2162
|
+
jobId?: string;
|
|
2163
|
+
jobUrl: string;
|
|
2164
|
+
title?: string;
|
|
2165
|
+
companyName?: string;
|
|
2166
|
+
companyUrl?: string;
|
|
2167
|
+
companyAvatarUrl?: string;
|
|
2168
|
+
location?: string;
|
|
2169
|
+
publishedAt?: string;
|
|
2170
|
+
salaryMin?: number;
|
|
2171
|
+
salaryMax?: number;
|
|
2172
|
+
salaryCurrency?: string;
|
|
2173
|
+
salaryPeriod?: "hour" | "month" | "year";
|
|
2174
|
+
salaryText?: string;
|
|
2175
|
+
isEasyApply?: boolean;
|
|
2176
|
+
insight?: string;
|
|
2177
|
+
}>;
|
|
2178
|
+
page: number;
|
|
2179
|
+
hasMore: boolean;
|
|
2180
|
+
};
|
|
2181
|
+
creditsUsed: number;
|
|
2182
|
+
requestId: string;
|
|
2183
|
+
};
|
|
2184
|
+
};
|
|
2185
|
+
type LinkedinJobsSearchResponse = LinkedinJobsSearchResponses[keyof LinkedinJobsSearchResponses];
|
|
2186
|
+
type LinkedinPeopleSearchData = {
|
|
2187
|
+
body: {
|
|
2188
|
+
/**
|
|
2189
|
+
* Free words to match, like a skill or industry.
|
|
2190
|
+
*/
|
|
2191
|
+
query?: string;
|
|
2192
|
+
/**
|
|
2193
|
+
* Current job title, like Head of Marketing.
|
|
2194
|
+
*/
|
|
2195
|
+
title?: string;
|
|
2196
|
+
/**
|
|
2197
|
+
* Current company, like Shopify.
|
|
2198
|
+
*/
|
|
2199
|
+
company?: string;
|
|
2200
|
+
/**
|
|
2201
|
+
* City or region shown on the profile, like Toronto.
|
|
2202
|
+
*/
|
|
2203
|
+
location?: string;
|
|
2204
|
+
/**
|
|
2205
|
+
* Page number, starting at 1.
|
|
2206
|
+
*/
|
|
2207
|
+
page?: number;
|
|
2208
|
+
};
|
|
2209
|
+
path?: never;
|
|
2210
|
+
query?: never;
|
|
2211
|
+
url: "/v1/linkedin/people/search";
|
|
2212
|
+
};
|
|
2213
|
+
type LinkedinPeopleSearchErrors = {
|
|
2214
|
+
/**
|
|
2215
|
+
* The request failed. retryable says whether trying again can help.
|
|
2216
|
+
*/
|
|
2217
|
+
"4XX": _Error;
|
|
2218
|
+
/**
|
|
2219
|
+
* The request failed. retryable says whether trying again can help.
|
|
2220
|
+
*/
|
|
2221
|
+
"5XX": _Error;
|
|
2222
|
+
};
|
|
2223
|
+
type LinkedinPeopleSearchError = LinkedinPeopleSearchErrors[keyof LinkedinPeopleSearchErrors];
|
|
2224
|
+
type LinkedinPeopleSearchResponses = {
|
|
2225
|
+
/**
|
|
2226
|
+
* The data, and the credits this call used.
|
|
2227
|
+
*/
|
|
2228
|
+
200: {
|
|
2229
|
+
success: true;
|
|
2230
|
+
data: {
|
|
2231
|
+
results: Array<{
|
|
2232
|
+
profileUrl: string;
|
|
2233
|
+
name?: string;
|
|
2234
|
+
headline?: string;
|
|
2235
|
+
title?: string;
|
|
2236
|
+
company?: string;
|
|
2237
|
+
location?: string;
|
|
2238
|
+
education?: string;
|
|
2239
|
+
details?: {
|
|
2240
|
+
profileId?: string;
|
|
2241
|
+
headline?: string;
|
|
2242
|
+
location?: string;
|
|
2243
|
+
about?: string;
|
|
2244
|
+
followers?: number;
|
|
2245
|
+
roles?: Array<{
|
|
2246
|
+
title?: string;
|
|
2247
|
+
company?: string;
|
|
2248
|
+
companyUrl?: string;
|
|
2249
|
+
from?: string;
|
|
2250
|
+
to?: string;
|
|
2251
|
+
isCurrent: boolean;
|
|
2252
|
+
}>;
|
|
2253
|
+
education?: Array<{
|
|
2254
|
+
school?: string;
|
|
2255
|
+
degree?: string;
|
|
2256
|
+
schoolUrl?: string;
|
|
2257
|
+
from?: string;
|
|
2258
|
+
to?: string;
|
|
2259
|
+
}>;
|
|
2260
|
+
};
|
|
2261
|
+
position: number;
|
|
2262
|
+
}>;
|
|
2263
|
+
page?: number;
|
|
2264
|
+
hasMore?: boolean;
|
|
1886
2265
|
};
|
|
1887
2266
|
creditsUsed: number;
|
|
1888
2267
|
requestId: string;
|
|
1889
2268
|
};
|
|
1890
2269
|
};
|
|
1891
|
-
type
|
|
1892
|
-
type
|
|
2270
|
+
type LinkedinPeopleSearchResponse = LinkedinPeopleSearchResponses[keyof LinkedinPeopleSearchResponses];
|
|
2271
|
+
type LinkedinCompaniesSearchData = {
|
|
1893
2272
|
body: {
|
|
2273
|
+
/**
|
|
2274
|
+
* Company name or words about what it does.
|
|
2275
|
+
*/
|
|
1894
2276
|
query?: string;
|
|
1895
|
-
location?: string;
|
|
1896
|
-
within?: "day" | "week" | "month" | "all";
|
|
1897
2277
|
/**
|
|
1898
|
-
*
|
|
2278
|
+
* Industry, like Financial Services.
|
|
1899
2279
|
*/
|
|
1900
|
-
|
|
2280
|
+
industry?: string;
|
|
2281
|
+
/**
|
|
2282
|
+
* Headquarters city or region, like New York.
|
|
2283
|
+
*/
|
|
2284
|
+
location?: string;
|
|
1901
2285
|
/**
|
|
1902
|
-
*
|
|
2286
|
+
* Page number, starting at 1.
|
|
1903
2287
|
*/
|
|
1904
|
-
|
|
2288
|
+
page?: number;
|
|
1905
2289
|
};
|
|
1906
2290
|
path?: never;
|
|
1907
2291
|
query?: never;
|
|
1908
|
-
url: "/v1/linkedin/
|
|
2292
|
+
url: "/v1/linkedin/companies/search";
|
|
1909
2293
|
};
|
|
1910
|
-
type
|
|
2294
|
+
type LinkedinCompaniesSearchErrors = {
|
|
1911
2295
|
/**
|
|
1912
2296
|
* The request failed. retryable says whether trying again can help.
|
|
1913
2297
|
*/
|
|
@@ -1917,8 +2301,8 @@ type LinkedinJobsSearchErrors = {
|
|
|
1917
2301
|
*/
|
|
1918
2302
|
"5XX": _Error;
|
|
1919
2303
|
};
|
|
1920
|
-
type
|
|
1921
|
-
type
|
|
2304
|
+
type LinkedinCompaniesSearchError = LinkedinCompaniesSearchErrors[keyof LinkedinCompaniesSearchErrors];
|
|
2305
|
+
type LinkedinCompaniesSearchResponses = {
|
|
1922
2306
|
/**
|
|
1923
2307
|
* The data, and the credits this call used.
|
|
1924
2308
|
*/
|
|
@@ -1926,29 +2310,35 @@ type LinkedinJobsSearchResponses = {
|
|
|
1926
2310
|
success: true;
|
|
1927
2311
|
data: {
|
|
1928
2312
|
results: Array<{
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
2313
|
+
companyUrl: string;
|
|
2314
|
+
name?: string;
|
|
2315
|
+
description?: string;
|
|
2316
|
+
industry?: string;
|
|
2317
|
+
size?: string;
|
|
2318
|
+
headquarters?: string;
|
|
2319
|
+
followers?: number;
|
|
2320
|
+
details?: {
|
|
2321
|
+
companyId?: string;
|
|
2322
|
+
website?: string;
|
|
2323
|
+
description?: string;
|
|
2324
|
+
industry?: string;
|
|
2325
|
+
size?: string;
|
|
2326
|
+
employees?: number;
|
|
2327
|
+
headquarters?: string;
|
|
2328
|
+
followers?: number;
|
|
2329
|
+
founded?: string;
|
|
2330
|
+
specialties?: Array<string>;
|
|
2331
|
+
};
|
|
2332
|
+
position: number;
|
|
1944
2333
|
}>;
|
|
1945
|
-
|
|
2334
|
+
page?: number;
|
|
2335
|
+
hasMore?: boolean;
|
|
1946
2336
|
};
|
|
1947
2337
|
creditsUsed: number;
|
|
1948
2338
|
requestId: string;
|
|
1949
2339
|
};
|
|
1950
2340
|
};
|
|
1951
|
-
type
|
|
2341
|
+
type LinkedinCompaniesSearchResponse = LinkedinCompaniesSearchResponses[keyof LinkedinCompaniesSearchResponses];
|
|
1952
2342
|
type LinkedinJobsJobData = {
|
|
1953
2343
|
body: {
|
|
1954
2344
|
job: string;
|
|
@@ -2104,10 +2494,6 @@ type LinkedinPostsData = {
|
|
|
2104
2494
|
body: {
|
|
2105
2495
|
profile?: string;
|
|
2106
2496
|
company?: string;
|
|
2107
|
-
/**
|
|
2108
|
-
* Return at most this many results (1-100).
|
|
2109
|
-
*/
|
|
2110
|
-
limit?: number;
|
|
2111
2497
|
};
|
|
2112
2498
|
path?: never;
|
|
2113
2499
|
query?: never;
|
|
@@ -2158,13 +2544,9 @@ type ZillowSearchData = {
|
|
|
2158
2544
|
sort?: "relevance" | "newest" | "priceHigh" | "priceLow";
|
|
2159
2545
|
query?: string;
|
|
2160
2546
|
/**
|
|
2161
|
-
*
|
|
2162
|
-
*/
|
|
2163
|
-
cursor?: string;
|
|
2164
|
-
/**
|
|
2165
|
-
* Return at most this many results (1-100).
|
|
2547
|
+
* Page number, starting at 1.
|
|
2166
2548
|
*/
|
|
2167
|
-
|
|
2549
|
+
page?: number;
|
|
2168
2550
|
};
|
|
2169
2551
|
path?: never;
|
|
2170
2552
|
query?: never;
|
|
@@ -2188,6 +2570,7 @@ type ZillowSearchResponses = {
|
|
|
2188
2570
|
200: {
|
|
2189
2571
|
success: true;
|
|
2190
2572
|
data: {
|
|
2573
|
+
total?: number;
|
|
2191
2574
|
results: Array<{
|
|
2192
2575
|
propertyId?: string;
|
|
2193
2576
|
propertyUrl: string;
|
|
@@ -2224,8 +2607,9 @@ type ZillowSearchResponses = {
|
|
|
2224
2607
|
price?: number;
|
|
2225
2608
|
}>;
|
|
2226
2609
|
}>;
|
|
2227
|
-
|
|
2228
|
-
|
|
2610
|
+
page: number;
|
|
2611
|
+
hasMore: boolean;
|
|
2612
|
+
totalPages?: number;
|
|
2229
2613
|
};
|
|
2230
2614
|
creditsUsed: number;
|
|
2231
2615
|
requestId: string;
|
|
@@ -2320,13 +2704,9 @@ type UpworkSearchData = {
|
|
|
2320
2704
|
jobType?: "hourly" | "fixed";
|
|
2321
2705
|
experience?: "entry" | "intermediate" | "expert";
|
|
2322
2706
|
/**
|
|
2323
|
-
*
|
|
2324
|
-
*/
|
|
2325
|
-
cursor?: string;
|
|
2326
|
-
/**
|
|
2327
|
-
* Return at most this many results (1-100).
|
|
2707
|
+
* Page number, starting at 1.
|
|
2328
2708
|
*/
|
|
2329
|
-
|
|
2709
|
+
page?: number;
|
|
2330
2710
|
};
|
|
2331
2711
|
path?: never;
|
|
2332
2712
|
query?: never;
|
|
@@ -2350,6 +2730,7 @@ type UpworkSearchResponses = {
|
|
|
2350
2730
|
200: {
|
|
2351
2731
|
success: true;
|
|
2352
2732
|
data: {
|
|
2733
|
+
total?: number;
|
|
2353
2734
|
results: Array<{
|
|
2354
2735
|
jobId?: string;
|
|
2355
2736
|
jobUrl: string;
|
|
@@ -2365,8 +2746,9 @@ type UpworkSearchResponses = {
|
|
|
2365
2746
|
durationWeeks?: number;
|
|
2366
2747
|
publishedAt?: string;
|
|
2367
2748
|
}>;
|
|
2368
|
-
|
|
2369
|
-
|
|
2749
|
+
page: number;
|
|
2750
|
+
hasMore: boolean;
|
|
2751
|
+
totalPages?: number;
|
|
2370
2752
|
};
|
|
2371
2753
|
creditsUsed: number;
|
|
2372
2754
|
requestId: string;
|
|
@@ -2464,10 +2846,6 @@ type IndeedSearchData = {
|
|
|
2464
2846
|
* The cursor from the previous response. Send it as is.
|
|
2465
2847
|
*/
|
|
2466
2848
|
cursor?: string;
|
|
2467
|
-
/**
|
|
2468
|
-
* Return at most this many results (1-100).
|
|
2469
|
-
*/
|
|
2470
|
-
limit?: number;
|
|
2471
2849
|
};
|
|
2472
2850
|
path?: never;
|
|
2473
2851
|
query?: never;
|
|
@@ -2609,10 +2987,6 @@ type TripadvisorSearchData = {
|
|
|
2609
2987
|
body: {
|
|
2610
2988
|
query: string;
|
|
2611
2989
|
type?: "all" | "hotels" | "restaurants" | "attractions" | "geos";
|
|
2612
|
-
/**
|
|
2613
|
-
* Return at most this many results (1-100).
|
|
2614
|
-
*/
|
|
2615
|
-
limit?: number;
|
|
2616
2990
|
};
|
|
2617
2991
|
path?: never;
|
|
2618
2992
|
query?: never;
|
|
@@ -2731,13 +3105,9 @@ type TripadvisorReviewsData = {
|
|
|
2731
3105
|
language?: string;
|
|
2732
3106
|
ratings?: Array<number>;
|
|
2733
3107
|
/**
|
|
2734
|
-
*
|
|
2735
|
-
*/
|
|
2736
|
-
cursor?: string;
|
|
2737
|
-
/**
|
|
2738
|
-
* Return at most this many results (1-100).
|
|
3108
|
+
* Page number, starting at 1.
|
|
2739
3109
|
*/
|
|
2740
|
-
|
|
3110
|
+
page?: number;
|
|
2741
3111
|
};
|
|
2742
3112
|
path?: never;
|
|
2743
3113
|
query?: never;
|
|
@@ -2791,7 +3161,8 @@ type TripadvisorReviewsResponses = {
|
|
|
2791
3161
|
ownerReplyDate?: string;
|
|
2792
3162
|
ownerReplyAuthor?: string;
|
|
2793
3163
|
}>;
|
|
2794
|
-
|
|
3164
|
+
page: number;
|
|
3165
|
+
hasMore: boolean;
|
|
2795
3166
|
};
|
|
2796
3167
|
creditsUsed: number;
|
|
2797
3168
|
requestId: string;
|
|
@@ -2812,10 +3183,6 @@ type GoogletravelFlightsData = {
|
|
|
2812
3183
|
returnDate?: string;
|
|
2813
3184
|
adults?: number;
|
|
2814
3185
|
cabin?: "economy" | "premiumEconomy" | "business" | "first";
|
|
2815
|
-
/**
|
|
2816
|
-
* Return at most this many results (1-100).
|
|
2817
|
-
*/
|
|
2818
|
-
limit?: number;
|
|
2819
3186
|
};
|
|
2820
3187
|
path?: never;
|
|
2821
3188
|
query?: never;
|
|
@@ -2907,13 +3274,9 @@ type WalmartSearchData = {
|
|
|
2907
3274
|
minPrice?: number;
|
|
2908
3275
|
maxPrice?: number;
|
|
2909
3276
|
/**
|
|
2910
|
-
*
|
|
2911
|
-
*/
|
|
2912
|
-
cursor?: string;
|
|
2913
|
-
/**
|
|
2914
|
-
* Return at most this many results (1-100).
|
|
3277
|
+
* Page number, starting at 1.
|
|
2915
3278
|
*/
|
|
2916
|
-
|
|
3279
|
+
page?: number;
|
|
2917
3280
|
};
|
|
2918
3281
|
path?: never;
|
|
2919
3282
|
query?: never;
|
|
@@ -2937,6 +3300,7 @@ type WalmartSearchResponses = {
|
|
|
2937
3300
|
200: {
|
|
2938
3301
|
success: true;
|
|
2939
3302
|
data: {
|
|
3303
|
+
total?: number;
|
|
2940
3304
|
results: Array<{
|
|
2941
3305
|
productId?: string;
|
|
2942
3306
|
productUrl: string;
|
|
@@ -2954,8 +3318,9 @@ type WalmartSearchResponses = {
|
|
|
2954
3318
|
availability?: string;
|
|
2955
3319
|
isSponsored: boolean;
|
|
2956
3320
|
}>;
|
|
2957
|
-
|
|
2958
|
-
|
|
3321
|
+
page: number;
|
|
3322
|
+
hasMore: boolean;
|
|
3323
|
+
totalPages?: number;
|
|
2959
3324
|
};
|
|
2960
3325
|
creditsUsed: number;
|
|
2961
3326
|
requestId: string;
|
|
@@ -3115,10 +3480,6 @@ type AppstoreSearchData = {
|
|
|
3115
3480
|
*/
|
|
3116
3481
|
country?: string;
|
|
3117
3482
|
device?: "iphone" | "ipad" | "mac";
|
|
3118
|
-
/**
|
|
3119
|
-
* Return at most this many results (1-100).
|
|
3120
|
-
*/
|
|
3121
|
-
limit?: number;
|
|
3122
3483
|
};
|
|
3123
3484
|
path?: never;
|
|
3124
3485
|
query?: never;
|
|
@@ -3188,13 +3549,9 @@ type AppstoreReviewsData = {
|
|
|
3188
3549
|
country?: string;
|
|
3189
3550
|
sort?: "newest" | "helpful" | "highest" | "lowest";
|
|
3190
3551
|
/**
|
|
3191
|
-
*
|
|
3192
|
-
*/
|
|
3193
|
-
cursor?: string;
|
|
3194
|
-
/**
|
|
3195
|
-
* Return at most this many results (1-100).
|
|
3552
|
+
* Page number, starting at 1.
|
|
3196
3553
|
*/
|
|
3197
|
-
|
|
3554
|
+
page?: number;
|
|
3198
3555
|
};
|
|
3199
3556
|
path?: never;
|
|
3200
3557
|
query?: never;
|
|
@@ -3227,7 +3584,8 @@ type AppstoreReviewsResponses = {
|
|
|
3227
3584
|
publishedAt?: string;
|
|
3228
3585
|
isEdited: boolean;
|
|
3229
3586
|
}>;
|
|
3230
|
-
|
|
3587
|
+
page: number;
|
|
3588
|
+
hasMore: boolean;
|
|
3231
3589
|
};
|
|
3232
3590
|
creditsUsed: number;
|
|
3233
3591
|
requestId: string;
|
|
@@ -3243,10 +3601,6 @@ type AppstoreTopData = {
|
|
|
3243
3601
|
* ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
|
|
3244
3602
|
*/
|
|
3245
3603
|
country?: string;
|
|
3246
|
-
/**
|
|
3247
|
-
* Return at most this many results (1-100).
|
|
3248
|
-
*/
|
|
3249
|
-
limit?: number;
|
|
3250
3604
|
};
|
|
3251
3605
|
path?: never;
|
|
3252
3606
|
query?: never;
|
|
@@ -3381,10 +3735,6 @@ type GoogleplaySearchData = {
|
|
|
3381
3735
|
* BCP 47 language tag, e.g. en or pt-BR. Any case is accepted.
|
|
3382
3736
|
*/
|
|
3383
3737
|
language?: string;
|
|
3384
|
-
/**
|
|
3385
|
-
* Return at most this many results (1-100).
|
|
3386
|
-
*/
|
|
3387
|
-
limit?: number;
|
|
3388
3738
|
};
|
|
3389
3739
|
path?: never;
|
|
3390
3740
|
query?: never;
|
|
@@ -3445,10 +3795,6 @@ type GoogleplayReviewsData = {
|
|
|
3445
3795
|
* The cursor from the previous response. Send it as is.
|
|
3446
3796
|
*/
|
|
3447
3797
|
cursor?: string;
|
|
3448
|
-
/**
|
|
3449
|
-
* Return at most this many results (1-100).
|
|
3450
|
-
*/
|
|
3451
|
-
limit?: number;
|
|
3452
3798
|
};
|
|
3453
3799
|
path?: never;
|
|
3454
3800
|
query?: never;
|
|
@@ -3506,14 +3852,6 @@ type AirbnbSearchData = {
|
|
|
3506
3852
|
* Highest average nightly rate in USD, before taxes and fees. Compare with pricePerNight, which includes them.
|
|
3507
3853
|
*/
|
|
3508
3854
|
maxPrice?: number;
|
|
3509
|
-
/**
|
|
3510
|
-
* The cursor from the previous response. Send it as is.
|
|
3511
|
-
*/
|
|
3512
|
-
cursor?: string;
|
|
3513
|
-
/**
|
|
3514
|
-
* Return at most this many results (1-100).
|
|
3515
|
-
*/
|
|
3516
|
-
limit?: number;
|
|
3517
3855
|
};
|
|
3518
3856
|
path?: never;
|
|
3519
3857
|
query?: never;
|
|
@@ -3574,7 +3912,6 @@ type AirbnbSearchResponses = {
|
|
|
3574
3912
|
badges?: Array<string>;
|
|
3575
3913
|
imageUrls?: Array<string>;
|
|
3576
3914
|
}>;
|
|
3577
|
-
cursor?: string;
|
|
3578
3915
|
};
|
|
3579
3916
|
creditsUsed: number;
|
|
3580
3917
|
requestId: string;
|
|
@@ -3669,10 +4006,6 @@ type AirbnbCalendarData = {
|
|
|
3669
4006
|
body: {
|
|
3670
4007
|
listing: string;
|
|
3671
4008
|
month?: string;
|
|
3672
|
-
/**
|
|
3673
|
-
* Return at most this many results (1-100).
|
|
3674
|
-
*/
|
|
3675
|
-
limit?: number;
|
|
3676
4009
|
};
|
|
3677
4010
|
path?: never;
|
|
3678
4011
|
query?: never;
|
|
@@ -3716,13 +4049,9 @@ type AirbnbReviewsData = {
|
|
|
3716
4049
|
listing: string;
|
|
3717
4050
|
sort?: "relevance" | "newest" | "highest" | "lowest";
|
|
3718
4051
|
/**
|
|
3719
|
-
*
|
|
3720
|
-
*/
|
|
3721
|
-
cursor?: string;
|
|
3722
|
-
/**
|
|
3723
|
-
* Return at most this many results (1-100).
|
|
4052
|
+
* Page number, starting at 1.
|
|
3724
4053
|
*/
|
|
3725
|
-
|
|
4054
|
+
page?: number;
|
|
3726
4055
|
};
|
|
3727
4056
|
path?: never;
|
|
3728
4057
|
query?: never;
|
|
@@ -3746,6 +4075,7 @@ type AirbnbReviewsResponses = {
|
|
|
3746
4075
|
200: {
|
|
3747
4076
|
success: true;
|
|
3748
4077
|
data: {
|
|
4078
|
+
total?: number;
|
|
3749
4079
|
results: Array<{
|
|
3750
4080
|
reviewId?: string;
|
|
3751
4081
|
text?: string;
|
|
@@ -3759,8 +4089,8 @@ type AirbnbReviewsResponses = {
|
|
|
3759
4089
|
authorAddress?: string;
|
|
3760
4090
|
ownerReplyText?: string;
|
|
3761
4091
|
}>;
|
|
3762
|
-
|
|
3763
|
-
|
|
4092
|
+
page: number;
|
|
4093
|
+
hasMore: boolean;
|
|
3764
4094
|
};
|
|
3765
4095
|
creditsUsed: number;
|
|
3766
4096
|
requestId: string;
|
|
@@ -3777,13 +4107,9 @@ type RightmoveSearchData = {
|
|
|
3777
4107
|
maxBedrooms?: number;
|
|
3778
4108
|
sort?: "newest" | "oldest" | "priceHigh" | "priceLow";
|
|
3779
4109
|
/**
|
|
3780
|
-
*
|
|
3781
|
-
*/
|
|
3782
|
-
cursor?: string;
|
|
3783
|
-
/**
|
|
3784
|
-
* Return at most this many results (1-100).
|
|
4110
|
+
* Page number, starting at 1.
|
|
3785
4111
|
*/
|
|
3786
|
-
|
|
4112
|
+
page?: number;
|
|
3787
4113
|
};
|
|
3788
4114
|
path?: never;
|
|
3789
4115
|
query?: never;
|
|
@@ -3807,6 +4133,7 @@ type RightmoveSearchResponses = {
|
|
|
3807
4133
|
200: {
|
|
3808
4134
|
success: true;
|
|
3809
4135
|
data: {
|
|
4136
|
+
total?: number;
|
|
3810
4137
|
results: Array<{
|
|
3811
4138
|
propertyId?: string;
|
|
3812
4139
|
propertyUrl: string;
|
|
@@ -3842,8 +4169,8 @@ type RightmoveSearchResponses = {
|
|
|
3842
4169
|
keyFeatures?: Array<string>;
|
|
3843
4170
|
imageUrls?: Array<string>;
|
|
3844
4171
|
}>;
|
|
3845
|
-
|
|
3846
|
-
|
|
4172
|
+
page: number;
|
|
4173
|
+
hasMore: boolean;
|
|
3847
4174
|
};
|
|
3848
4175
|
creditsUsed: number;
|
|
3849
4176
|
requestId: string;
|
|
@@ -3939,13 +4266,9 @@ type ImmoscoutSearchData = {
|
|
|
3939
4266
|
minRooms?: number;
|
|
3940
4267
|
sort?: "newest" | "priceLow" | "priceHigh" | "largest";
|
|
3941
4268
|
/**
|
|
3942
|
-
*
|
|
3943
|
-
*/
|
|
3944
|
-
cursor?: string;
|
|
3945
|
-
/**
|
|
3946
|
-
* Return at most this many results (1-100).
|
|
4269
|
+
* Page number, starting at 1.
|
|
3947
4270
|
*/
|
|
3948
|
-
|
|
4271
|
+
page?: number;
|
|
3949
4272
|
};
|
|
3950
4273
|
path?: never;
|
|
3951
4274
|
query?: never;
|
|
@@ -3969,6 +4292,7 @@ type ImmoscoutSearchResponses = {
|
|
|
3969
4292
|
200: {
|
|
3970
4293
|
success: true;
|
|
3971
4294
|
data: {
|
|
4295
|
+
total?: number;
|
|
3972
4296
|
results: Array<{
|
|
3973
4297
|
listingId?: string;
|
|
3974
4298
|
listingUrl: string;
|
|
@@ -3992,8 +4316,9 @@ type ImmoscoutSearchResponses = {
|
|
|
3992
4316
|
isNew: boolean;
|
|
3993
4317
|
imageUrl?: string;
|
|
3994
4318
|
}>;
|
|
3995
|
-
|
|
3996
|
-
|
|
4319
|
+
page: number;
|
|
4320
|
+
hasMore: boolean;
|
|
4321
|
+
totalPages: number;
|
|
3997
4322
|
};
|
|
3998
4323
|
creditsUsed: number;
|
|
3999
4324
|
requestId: string;
|
|
@@ -4078,10 +4403,6 @@ type PinterestSearchData = {
|
|
|
4078
4403
|
* The cursor from the previous response. Send it as is.
|
|
4079
4404
|
*/
|
|
4080
4405
|
cursor?: string;
|
|
4081
|
-
/**
|
|
4082
|
-
* Return at most this many results (1-100).
|
|
4083
|
-
*/
|
|
4084
|
-
limit?: number;
|
|
4085
4406
|
};
|
|
4086
4407
|
path?: never;
|
|
4087
4408
|
query?: never;
|
|
@@ -4203,10 +4524,6 @@ type PinterestBoardData = {
|
|
|
4203
4524
|
* The cursor from the previous response. Send it as is.
|
|
4204
4525
|
*/
|
|
4205
4526
|
cursor?: string;
|
|
4206
|
-
/**
|
|
4207
|
-
* Return at most this many results (1-100).
|
|
4208
|
-
*/
|
|
4209
|
-
limit?: number;
|
|
4210
4527
|
};
|
|
4211
4528
|
path?: never;
|
|
4212
4529
|
query?: never;
|
|
@@ -4286,10 +4603,6 @@ type PinterestUserData = {
|
|
|
4286
4603
|
* The cursor from the previous response. Send it as is.
|
|
4287
4604
|
*/
|
|
4288
4605
|
cursor?: string;
|
|
4289
|
-
/**
|
|
4290
|
-
* Return at most this many results (1-100).
|
|
4291
|
-
*/
|
|
4292
|
-
limit?: number;
|
|
4293
4606
|
};
|
|
4294
4607
|
path?: never;
|
|
4295
4608
|
query?: never;
|
|
@@ -4364,6 +4677,7 @@ type PinterestUserResponse = PinterestUserResponses[keyof PinterestUserResponses
|
|
|
4364
4677
|
type AdsSearchData = {
|
|
4365
4678
|
body: {
|
|
4366
4679
|
query: string;
|
|
4680
|
+
network: "meta";
|
|
4367
4681
|
/**
|
|
4368
4682
|
* ISO 3166-1 alpha-2 country code, or all. Any case is accepted.
|
|
4369
4683
|
*/
|
|
@@ -4377,12 +4691,8 @@ type AdsSearchData = {
|
|
|
4377
4691
|
* The cursor from the previous response. Send it as is.
|
|
4378
4692
|
*/
|
|
4379
4693
|
cursor?: string;
|
|
4380
|
-
network: "meta";
|
|
4381
|
-
/**
|
|
4382
|
-
* Return at most this many results (1-100).
|
|
4383
|
-
*/
|
|
4384
|
-
limit?: number;
|
|
4385
4694
|
} | {
|
|
4695
|
+
network: "google";
|
|
4386
4696
|
/**
|
|
4387
4697
|
* A domain like nike.com. Google's library finds ads by domain or advertiser, not by keyword.
|
|
4388
4698
|
*/
|
|
@@ -4398,12 +4708,8 @@ type AdsSearchData = {
|
|
|
4398
4708
|
* The cursor from the previous response. Send it as is.
|
|
4399
4709
|
*/
|
|
4400
4710
|
cursor?: string;
|
|
4401
|
-
network: "google";
|
|
4402
|
-
/**
|
|
4403
|
-
* Return at most this many results (1-100).
|
|
4404
|
-
*/
|
|
4405
|
-
limit?: number;
|
|
4406
4711
|
} | {
|
|
4712
|
+
network: "tiktok";
|
|
4407
4713
|
query?: string;
|
|
4408
4714
|
advertiser?: string;
|
|
4409
4715
|
/**
|
|
@@ -4414,12 +4720,8 @@ type AdsSearchData = {
|
|
|
4414
4720
|
* The cursor from the previous response. Send it as is.
|
|
4415
4721
|
*/
|
|
4416
4722
|
cursor?: string;
|
|
4417
|
-
network: "tiktok";
|
|
4418
|
-
/**
|
|
4419
|
-
* Return at most this many results (1-100).
|
|
4420
|
-
*/
|
|
4421
|
-
limit?: number;
|
|
4422
4723
|
} | {
|
|
4724
|
+
network: "linkedin";
|
|
4423
4725
|
query?: string;
|
|
4424
4726
|
advertiser?: string;
|
|
4425
4727
|
/**
|
|
@@ -4431,12 +4733,8 @@ type AdsSearchData = {
|
|
|
4431
4733
|
* The cursor from the previous response. Send it as is.
|
|
4432
4734
|
*/
|
|
4433
4735
|
cursor?: string;
|
|
4434
|
-
network: "linkedin";
|
|
4435
|
-
/**
|
|
4436
|
-
* Return at most this many results (1-100).
|
|
4437
|
-
*/
|
|
4438
|
-
limit?: number;
|
|
4439
4736
|
} | {
|
|
4737
|
+
network: "microsoft";
|
|
4440
4738
|
query?: string;
|
|
4441
4739
|
advertiser?: string;
|
|
4442
4740
|
/**
|
|
@@ -4447,20 +4745,16 @@ type AdsSearchData = {
|
|
|
4447
4745
|
* The cursor from the previous response. Send it as is.
|
|
4448
4746
|
*/
|
|
4449
4747
|
cursor?: string;
|
|
4450
|
-
|
|
4748
|
+
} | {
|
|
4451
4749
|
/**
|
|
4452
|
-
*
|
|
4750
|
+
* EU country code like fr, or br or tr. Pinterest publishes ads for these countries only. Any case is accepted.
|
|
4453
4751
|
*/
|
|
4454
|
-
|
|
4455
|
-
|
|
4752
|
+
country: string;
|
|
4753
|
+
network: "pinterest";
|
|
4456
4754
|
/**
|
|
4457
4755
|
* Not supported. Pinterest's ads library has no keyword search. Use advertiser to filter by advertiser name.
|
|
4458
4756
|
*/
|
|
4459
4757
|
query?: string;
|
|
4460
|
-
/**
|
|
4461
|
-
* EU country code like fr, or br or tr. Pinterest publishes ads for these countries only. Any case is accepted.
|
|
4462
|
-
*/
|
|
4463
|
-
country: string;
|
|
4464
4758
|
/**
|
|
4465
4759
|
* Advertiser name to filter by. Pinterest does not publish advertiser names on the ads themselves, so results carry no advertiser.
|
|
4466
4760
|
*/
|
|
@@ -4469,11 +4763,6 @@ type AdsSearchData = {
|
|
|
4469
4763
|
* The cursor from the previous response. Send it as is.
|
|
4470
4764
|
*/
|
|
4471
4765
|
cursor?: string;
|
|
4472
|
-
network: "pinterest";
|
|
4473
|
-
/**
|
|
4474
|
-
* Return at most this many results (1-100).
|
|
4475
|
-
*/
|
|
4476
|
-
limit?: number;
|
|
4477
4766
|
};
|
|
4478
4767
|
path?: never;
|
|
4479
4768
|
query?: never;
|
|
@@ -4559,6 +4848,8 @@ type AdsSearchResponses = {
|
|
|
4559
4848
|
}>;
|
|
4560
4849
|
cursor?: string;
|
|
4561
4850
|
} | {
|
|
4851
|
+
totalMin?: number;
|
|
4852
|
+
totalMax?: number;
|
|
4562
4853
|
results?: Array<{
|
|
4563
4854
|
adId?: string;
|
|
4564
4855
|
adUrl: string;
|
|
@@ -4573,12 +4864,11 @@ type AdsSearchResponses = {
|
|
|
4573
4864
|
previewUrl?: string;
|
|
4574
4865
|
imageUrl?: string;
|
|
4575
4866
|
}>;
|
|
4576
|
-
totalMin?: number;
|
|
4577
|
-
totalMax?: number;
|
|
4578
4867
|
cursor?: string;
|
|
4579
4868
|
} | {
|
|
4580
4869
|
advertiserId?: string;
|
|
4581
4870
|
advertiserName?: string;
|
|
4871
|
+
total?: number;
|
|
4582
4872
|
results?: Array<{
|
|
4583
4873
|
adId?: string;
|
|
4584
4874
|
adUrl: string;
|
|
@@ -4592,9 +4882,9 @@ type AdsSearchResponses = {
|
|
|
4592
4882
|
thumbnailUrl?: string;
|
|
4593
4883
|
imageUrls?: Array<string>;
|
|
4594
4884
|
}>;
|
|
4595
|
-
total?: number;
|
|
4596
4885
|
cursor?: string;
|
|
4597
4886
|
} | {
|
|
4887
|
+
total?: number;
|
|
4598
4888
|
results?: Array<{
|
|
4599
4889
|
adId?: string;
|
|
4600
4890
|
adUrl: string;
|
|
@@ -4608,9 +4898,9 @@ type AdsSearchResponses = {
|
|
|
4608
4898
|
headline?: string;
|
|
4609
4899
|
imageUrls?: Array<string>;
|
|
4610
4900
|
}>;
|
|
4611
|
-
total?: number;
|
|
4612
4901
|
cursor?: string;
|
|
4613
4902
|
} | {
|
|
4903
|
+
total?: number;
|
|
4614
4904
|
results?: Array<{
|
|
4615
4905
|
adId?: string;
|
|
4616
4906
|
advertiserId?: string;
|
|
@@ -4621,7 +4911,6 @@ type AdsSearchResponses = {
|
|
|
4621
4911
|
linkCaption?: string;
|
|
4622
4912
|
imageUrls?: Array<string>;
|
|
4623
4913
|
}>;
|
|
4624
|
-
total?: number;
|
|
4625
4914
|
cursor?: string;
|
|
4626
4915
|
} | {
|
|
4627
4916
|
results?: Array<{
|
|
@@ -4661,9 +4950,9 @@ type AdsAdData = {
|
|
|
4661
4950
|
ad: string;
|
|
4662
4951
|
network: "meta";
|
|
4663
4952
|
} | {
|
|
4664
|
-
advertiser?: string;
|
|
4665
4953
|
ad: string;
|
|
4666
4954
|
network: "google";
|
|
4955
|
+
advertiser?: string;
|
|
4667
4956
|
} | {
|
|
4668
4957
|
ad: string;
|
|
4669
4958
|
network: "tiktok";
|
|
@@ -4936,22 +5225,14 @@ type AdsAdResponse = AdsAdResponses[keyof AdsAdResponses];
|
|
|
4936
5225
|
type AdsAdvertisersData = {
|
|
4937
5226
|
body: {
|
|
4938
5227
|
query: string;
|
|
5228
|
+
network: "google";
|
|
4939
5229
|
/**
|
|
4940
5230
|
* Country code like de. Advertisers are matched on ads shown in this country, wherever the advertiser is based. Any case is accepted.
|
|
4941
5231
|
*/
|
|
4942
5232
|
country?: string;
|
|
4943
|
-
network: "google";
|
|
4944
|
-
/**
|
|
4945
|
-
* Return at most this many results (1-100).
|
|
4946
|
-
*/
|
|
4947
|
-
limit?: number;
|
|
4948
5233
|
} | {
|
|
4949
5234
|
query: string;
|
|
4950
5235
|
network: "microsoft";
|
|
4951
|
-
/**
|
|
4952
|
-
* Return at most this many results (1-100).
|
|
4953
|
-
*/
|
|
4954
|
-
limit?: number;
|
|
4955
5236
|
};
|
|
4956
5237
|
path?: never;
|
|
4957
5238
|
query?: never;
|
|
@@ -4975,6 +5256,7 @@ type AdsAdvertisersResponses = {
|
|
|
4975
5256
|
200: {
|
|
4976
5257
|
success: true;
|
|
4977
5258
|
data: {
|
|
5259
|
+
domains?: Array<string>;
|
|
4978
5260
|
results?: Array<{
|
|
4979
5261
|
advertiserId?: string;
|
|
4980
5262
|
advertiserName?: string;
|
|
@@ -4984,21 +5266,67 @@ type AdsAdvertisersResponses = {
|
|
|
4984
5266
|
adsMin?: number;
|
|
4985
5267
|
adsMax?: number;
|
|
4986
5268
|
}>;
|
|
4987
|
-
domains?: Array<string>;
|
|
4988
5269
|
} | {
|
|
5270
|
+
total?: number;
|
|
4989
5271
|
results?: Array<{
|
|
4990
5272
|
advertiserId?: string;
|
|
4991
5273
|
advertiserName?: string;
|
|
4992
5274
|
advertiserCountry?: string;
|
|
4993
5275
|
isVerified: boolean;
|
|
4994
5276
|
}>;
|
|
4995
|
-
total?: number;
|
|
4996
5277
|
};
|
|
4997
5278
|
creditsUsed: number;
|
|
4998
5279
|
requestId: string;
|
|
4999
5280
|
};
|
|
5000
5281
|
};
|
|
5001
|
-
type AdsAdvertisersResponse = AdsAdvertisersResponses[keyof AdsAdvertisersResponses];
|
|
5282
|
+
type AdsAdvertisersResponse = AdsAdvertisersResponses[keyof AdsAdvertisersResponses];
|
|
5283
|
+
type AiAnswerData = {
|
|
5284
|
+
body: {
|
|
5285
|
+
/**
|
|
5286
|
+
* 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.
|
|
5287
|
+
*/
|
|
5288
|
+
prompt: string;
|
|
5289
|
+
/**
|
|
5290
|
+
* Which AI assistant answers: gemini or chatgpt.
|
|
5291
|
+
*/
|
|
5292
|
+
engine?: "gemini" | "chatgpt";
|
|
5293
|
+
};
|
|
5294
|
+
path?: never;
|
|
5295
|
+
query?: never;
|
|
5296
|
+
url: "/v1/ai/answer";
|
|
5297
|
+
};
|
|
5298
|
+
type AiAnswerErrors = {
|
|
5299
|
+
/**
|
|
5300
|
+
* The request failed. retryable says whether trying again can help.
|
|
5301
|
+
*/
|
|
5302
|
+
"4XX": _Error;
|
|
5303
|
+
/**
|
|
5304
|
+
* The request failed. retryable says whether trying again can help.
|
|
5305
|
+
*/
|
|
5306
|
+
"5XX": _Error;
|
|
5307
|
+
};
|
|
5308
|
+
type AiAnswerError = AiAnswerErrors[keyof AiAnswerErrors];
|
|
5309
|
+
type AiAnswerResponses = {
|
|
5310
|
+
/**
|
|
5311
|
+
* The data, and the credits this call used.
|
|
5312
|
+
*/
|
|
5313
|
+
200: {
|
|
5314
|
+
success: true;
|
|
5315
|
+
data: {
|
|
5316
|
+
engine: "gemini" | "chatgpt";
|
|
5317
|
+
prompt?: string;
|
|
5318
|
+
answer: string;
|
|
5319
|
+
sources: Array<{
|
|
5320
|
+
url: string;
|
|
5321
|
+
title?: string;
|
|
5322
|
+
domain: string;
|
|
5323
|
+
}>;
|
|
5324
|
+
};
|
|
5325
|
+
creditsUsed: number;
|
|
5326
|
+
requestId: string;
|
|
5327
|
+
};
|
|
5328
|
+
};
|
|
5329
|
+
type AiAnswerResponse = AiAnswerResponses[keyof AiAnswerResponses];
|
|
5002
5330
|
type ClientOptions = {
|
|
5003
5331
|
baseUrl: "https://api.stophy.dev" | (string & {});
|
|
5004
5332
|
};
|
|
@@ -5009,7 +5337,7 @@ interface RequestOptions {
|
|
|
5009
5337
|
|
|
5010
5338
|
declare function bindSurface(call: Caller): {
|
|
5011
5339
|
endpoints: (options?: RequestOptions) => Promise<EndpointCatalog>;
|
|
5012
|
-
|
|
5340
|
+
google: {
|
|
5013
5341
|
search: (body: {
|
|
5014
5342
|
query: string;
|
|
5015
5343
|
country?: string;
|
|
@@ -5017,17 +5345,139 @@ declare function bindSurface(call: Caller): {
|
|
|
5017
5345
|
includeDomains?: Array<string>;
|
|
5018
5346
|
excludeDomains?: Array<string>;
|
|
5019
5347
|
within?: "day" | "week" | "month" | "year" | "all";
|
|
5020
|
-
|
|
5348
|
+
page?: number;
|
|
5021
5349
|
}, options?: RequestOptions) => Promise<{
|
|
5022
5350
|
success: true;
|
|
5023
5351
|
data: {
|
|
5352
|
+
aiOverview?: {
|
|
5353
|
+
text: string;
|
|
5354
|
+
sources?: Array<{
|
|
5355
|
+
url: string;
|
|
5356
|
+
title?: string;
|
|
5357
|
+
}>;
|
|
5358
|
+
};
|
|
5359
|
+
knowledgeGraph?: {
|
|
5360
|
+
title: string;
|
|
5361
|
+
type?: string;
|
|
5362
|
+
website?: string;
|
|
5363
|
+
imageUrl?: string;
|
|
5364
|
+
description?: string;
|
|
5365
|
+
descriptionSource?: string;
|
|
5366
|
+
descriptionUrl?: string;
|
|
5367
|
+
attributes?: {
|
|
5368
|
+
[key: string]: string;
|
|
5369
|
+
};
|
|
5370
|
+
};
|
|
5024
5371
|
results: Array<{
|
|
5372
|
+
url: string;
|
|
5025
5373
|
title: string;
|
|
5374
|
+
description?: string;
|
|
5375
|
+
date?: string;
|
|
5376
|
+
sitelinks?: Array<{
|
|
5377
|
+
title: string;
|
|
5378
|
+
url: string;
|
|
5379
|
+
}>;
|
|
5380
|
+
position: number;
|
|
5381
|
+
}>;
|
|
5382
|
+
peopleAlsoAsk?: Array<{
|
|
5383
|
+
question: string;
|
|
5384
|
+
answer?: string;
|
|
5385
|
+
title?: string;
|
|
5386
|
+
url?: string;
|
|
5387
|
+
}>;
|
|
5388
|
+
relatedSearches?: Array<string>;
|
|
5389
|
+
page?: number;
|
|
5390
|
+
hasMore?: boolean;
|
|
5391
|
+
};
|
|
5392
|
+
creditsUsed: number;
|
|
5393
|
+
requestId: string;
|
|
5394
|
+
}>;
|
|
5395
|
+
news: (body?: {
|
|
5396
|
+
query?: string;
|
|
5397
|
+
topic?: "world" | "nation" | "business" | "technology" | "entertainment" | "sports" | "science" | "health";
|
|
5398
|
+
country?: string;
|
|
5399
|
+
language?: string;
|
|
5400
|
+
includeDomains?: Array<string>;
|
|
5401
|
+
excludeDomains?: Array<string>;
|
|
5402
|
+
within?: "hour" | "day" | "week" | "month" | "year" | "all";
|
|
5403
|
+
page?: number;
|
|
5404
|
+
} | undefined, options?: RequestOptions) => Promise<{
|
|
5405
|
+
success: true;
|
|
5406
|
+
data: {
|
|
5407
|
+
results: Array<{
|
|
5026
5408
|
url: string;
|
|
5409
|
+
title: string;
|
|
5410
|
+
source?: string;
|
|
5027
5411
|
description?: string;
|
|
5028
|
-
|
|
5412
|
+
publishedAt?: string;
|
|
5413
|
+
position: number;
|
|
5414
|
+
}>;
|
|
5415
|
+
page: number;
|
|
5416
|
+
hasMore?: boolean;
|
|
5417
|
+
};
|
|
5418
|
+
creditsUsed: number;
|
|
5419
|
+
requestId: string;
|
|
5420
|
+
}>;
|
|
5421
|
+
images: (body: {
|
|
5422
|
+
query: string;
|
|
5423
|
+
country?: string;
|
|
5424
|
+
language?: string;
|
|
5425
|
+
}, options?: RequestOptions) => Promise<{
|
|
5426
|
+
success: true;
|
|
5427
|
+
data: {
|
|
5428
|
+
results: Array<{
|
|
5429
|
+
imageUrl: string;
|
|
5430
|
+
title?: string;
|
|
5431
|
+
pageUrl: string;
|
|
5432
|
+
source?: string;
|
|
5433
|
+
width: number;
|
|
5434
|
+
height: number;
|
|
5435
|
+
thumbnailUrl: string;
|
|
5436
|
+
position: number;
|
|
5437
|
+
}>;
|
|
5438
|
+
};
|
|
5439
|
+
creditsUsed: number;
|
|
5440
|
+
requestId: string;
|
|
5441
|
+
}>;
|
|
5442
|
+
aiMode: (body: {
|
|
5443
|
+
prompt: string;
|
|
5444
|
+
country?: string;
|
|
5445
|
+
language?: string;
|
|
5446
|
+
}, options?: RequestOptions) => Promise<{
|
|
5447
|
+
success: true;
|
|
5448
|
+
data: {
|
|
5449
|
+
prompt?: string;
|
|
5450
|
+
answer: string;
|
|
5451
|
+
sources: Array<{
|
|
5452
|
+
url: string;
|
|
5453
|
+
title?: string;
|
|
5454
|
+
}>;
|
|
5455
|
+
};
|
|
5456
|
+
creditsUsed: number;
|
|
5457
|
+
requestId: string;
|
|
5458
|
+
}>;
|
|
5459
|
+
shopping: (body: {
|
|
5460
|
+
query: string;
|
|
5461
|
+
country?: string;
|
|
5462
|
+
language?: string;
|
|
5463
|
+
page?: number;
|
|
5464
|
+
}, options?: RequestOptions) => Promise<{
|
|
5465
|
+
success: true;
|
|
5466
|
+
data: {
|
|
5467
|
+
results: Array<{
|
|
5468
|
+
title: string;
|
|
5469
|
+
price: number;
|
|
5470
|
+
priceCurrency?: string;
|
|
5471
|
+
originalPrice?: number;
|
|
5472
|
+
seller?: string;
|
|
5473
|
+
delivery?: string;
|
|
5474
|
+
returns?: string;
|
|
5475
|
+
rating?: number;
|
|
5476
|
+
reviews?: number;
|
|
5029
5477
|
position: number;
|
|
5030
5478
|
}>;
|
|
5479
|
+
page: number;
|
|
5480
|
+
hasMore: boolean;
|
|
5031
5481
|
};
|
|
5032
5482
|
creditsUsed: number;
|
|
5033
5483
|
requestId: string;
|
|
@@ -5040,7 +5490,6 @@ declare function bindSurface(call: Caller): {
|
|
|
5040
5490
|
within?: "hour" | "day" | "week" | "month" | "year" | "all";
|
|
5041
5491
|
sort?: "relevance" | "top";
|
|
5042
5492
|
cursor?: string;
|
|
5043
|
-
limit?: number;
|
|
5044
5493
|
}, options?: RequestOptions) => Promise<{
|
|
5045
5494
|
success: true;
|
|
5046
5495
|
data: {
|
|
@@ -5116,7 +5565,6 @@ declare function bindSurface(call: Caller): {
|
|
|
5116
5565
|
comment?: string;
|
|
5117
5566
|
sort?: "top" | "newest";
|
|
5118
5567
|
cursor?: string;
|
|
5119
|
-
limit?: number;
|
|
5120
5568
|
}, options?: RequestOptions) => Promise<{
|
|
5121
5569
|
success: true;
|
|
5122
5570
|
data: {
|
|
@@ -5145,7 +5593,6 @@ declare function bindSurface(call: Caller): {
|
|
|
5145
5593
|
channel: string;
|
|
5146
5594
|
tab?: "videos" | "shorts" | "live" | "playlists" | "posts";
|
|
5147
5595
|
cursor?: string;
|
|
5148
|
-
limit?: number;
|
|
5149
5596
|
}, options?: RequestOptions) => Promise<{
|
|
5150
5597
|
success: true;
|
|
5151
5598
|
data: {
|
|
@@ -5209,7 +5656,6 @@ declare function bindSurface(call: Caller): {
|
|
|
5209
5656
|
playlist: (body: {
|
|
5210
5657
|
playlist: string;
|
|
5211
5658
|
cursor?: string;
|
|
5212
|
-
limit?: number;
|
|
5213
5659
|
}, options?: RequestOptions) => Promise<{
|
|
5214
5660
|
success: true;
|
|
5215
5661
|
data: {
|
|
@@ -5277,7 +5723,6 @@ declare function bindSurface(call: Caller): {
|
|
|
5277
5723
|
sort?: "relevance" | "hot" | "top" | "newest" | "mostComments";
|
|
5278
5724
|
within?: "hour" | "day" | "week" | "month" | "year" | "all";
|
|
5279
5725
|
cursor?: string;
|
|
5280
|
-
limit?: number;
|
|
5281
5726
|
}, options?: RequestOptions) => Promise<{
|
|
5282
5727
|
success: true;
|
|
5283
5728
|
data: {
|
|
@@ -5397,7 +5842,6 @@ declare function bindSurface(call: Caller): {
|
|
|
5397
5842
|
sort?: "hot" | "newest" | "top";
|
|
5398
5843
|
within?: "hour" | "day" | "week" | "month" | "year" | "all";
|
|
5399
5844
|
cursor?: string;
|
|
5400
|
-
limit?: number;
|
|
5401
5845
|
}, options?: RequestOptions) => Promise<{
|
|
5402
5846
|
success: true;
|
|
5403
5847
|
data: {
|
|
@@ -5456,7 +5900,6 @@ declare function bindSurface(call: Caller): {
|
|
|
5456
5900
|
tab?: "overview" | "posts" | "comments";
|
|
5457
5901
|
sort?: "newest" | "hot" | "top";
|
|
5458
5902
|
cursor?: string;
|
|
5459
|
-
limit?: number;
|
|
5460
5903
|
}, options?: RequestOptions) => Promise<{
|
|
5461
5904
|
success: true;
|
|
5462
5905
|
data: {
|
|
@@ -5519,7 +5962,6 @@ declare function bindSurface(call: Caller): {
|
|
|
5519
5962
|
domain: string;
|
|
5520
5963
|
sort?: "hot" | "newest" | "top";
|
|
5521
5964
|
cursor?: string;
|
|
5522
|
-
limit?: number;
|
|
5523
5965
|
}, options?: RequestOptions) => Promise<{
|
|
5524
5966
|
success: true;
|
|
5525
5967
|
data: {
|
|
@@ -5565,10 +6007,8 @@ declare function bindSurface(call: Caller): {
|
|
|
5565
6007
|
search: (body: {
|
|
5566
6008
|
query: string;
|
|
5567
6009
|
location: string;
|
|
5568
|
-
cursor?: string;
|
|
5569
6010
|
country?: string;
|
|
5570
6011
|
language?: string;
|
|
5571
|
-
limit?: number;
|
|
5572
6012
|
}, options?: RequestOptions) => Promise<{
|
|
5573
6013
|
success: true;
|
|
5574
6014
|
data: {
|
|
@@ -5594,7 +6034,6 @@ declare function bindSurface(call: Caller): {
|
|
|
5594
6034
|
reservationUrl?: string;
|
|
5595
6035
|
attributes?: Array<string>;
|
|
5596
6036
|
}>;
|
|
5597
|
-
cursor?: string;
|
|
5598
6037
|
};
|
|
5599
6038
|
creditsUsed: number;
|
|
5600
6039
|
requestId: string;
|
|
@@ -5633,9 +6072,8 @@ declare function bindSurface(call: Caller): {
|
|
|
5633
6072
|
reviews: (body: {
|
|
5634
6073
|
place: string;
|
|
5635
6074
|
sort?: "relevance" | "newest" | "highest" | "lowest";
|
|
5636
|
-
cursor?: string;
|
|
5637
6075
|
language?: string;
|
|
5638
|
-
|
|
6076
|
+
cursor?: string;
|
|
5639
6077
|
}, options?: RequestOptions) => Promise<{
|
|
5640
6078
|
success: true;
|
|
5641
6079
|
data: {
|
|
@@ -5671,7 +6109,6 @@ declare function bindSurface(call: Caller): {
|
|
|
5671
6109
|
profile: (body: {
|
|
5672
6110
|
profile: string;
|
|
5673
6111
|
cursor?: string;
|
|
5674
|
-
limit?: number;
|
|
5675
6112
|
}, options?: RequestOptions) => Promise<{
|
|
5676
6113
|
success: true;
|
|
5677
6114
|
data: {
|
|
@@ -5786,7 +6223,6 @@ declare function bindSurface(call: Caller): {
|
|
|
5786
6223
|
post: string;
|
|
5787
6224
|
comment?: string;
|
|
5788
6225
|
cursor?: string;
|
|
5789
|
-
limit?: number;
|
|
5790
6226
|
}, options?: RequestOptions) => Promise<{
|
|
5791
6227
|
success: true;
|
|
5792
6228
|
data: {
|
|
@@ -5814,7 +6250,6 @@ declare function bindSurface(call: Caller): {
|
|
|
5814
6250
|
profile: (body: {
|
|
5815
6251
|
profile: string;
|
|
5816
6252
|
cursor?: string;
|
|
5817
|
-
limit?: number;
|
|
5818
6253
|
}, options?: RequestOptions) => Promise<{
|
|
5819
6254
|
success: true;
|
|
5820
6255
|
data: {
|
|
@@ -5908,7 +6343,6 @@ declare function bindSurface(call: Caller): {
|
|
|
5908
6343
|
hashtag: (body: {
|
|
5909
6344
|
hashtag: string;
|
|
5910
6345
|
cursor?: string;
|
|
5911
|
-
limit?: number;
|
|
5912
6346
|
}, options?: RequestOptions) => Promise<{
|
|
5913
6347
|
success: true;
|
|
5914
6348
|
data: {
|
|
@@ -5950,7 +6384,6 @@ declare function bindSurface(call: Caller): {
|
|
|
5950
6384
|
video: string;
|
|
5951
6385
|
comment?: string;
|
|
5952
6386
|
cursor?: string;
|
|
5953
|
-
limit?: number;
|
|
5954
6387
|
}, options?: RequestOptions) => Promise<{
|
|
5955
6388
|
success: true;
|
|
5956
6389
|
data: {
|
|
@@ -5975,7 +6408,6 @@ declare function bindSurface(call: Caller): {
|
|
|
5975
6408
|
query: string;
|
|
5976
6409
|
type?: "videos" | "users";
|
|
5977
6410
|
cursor?: string;
|
|
5978
|
-
limit?: number;
|
|
5979
6411
|
}, options?: RequestOptions) => Promise<{
|
|
5980
6412
|
success: true;
|
|
5981
6413
|
data: {
|
|
@@ -6027,12 +6459,11 @@ declare function bindSurface(call: Caller): {
|
|
|
6027
6459
|
meta: {
|
|
6028
6460
|
ads: {
|
|
6029
6461
|
page: (body: {
|
|
6030
|
-
|
|
6462
|
+
advertiser: string;
|
|
6031
6463
|
country?: string;
|
|
6032
6464
|
status?: "active" | "inactive" | "all";
|
|
6033
6465
|
mediaType?: "image" | "video" | "text";
|
|
6034
6466
|
cursor?: string;
|
|
6035
|
-
limit?: number;
|
|
6036
6467
|
}, options?: RequestOptions) => Promise<{
|
|
6037
6468
|
success: true;
|
|
6038
6469
|
data: {
|
|
@@ -6094,8 +6525,7 @@ declare function bindSurface(call: Caller): {
|
|
|
6094
6525
|
query?: string;
|
|
6095
6526
|
location?: string;
|
|
6096
6527
|
within?: "day" | "week" | "month" | "all";
|
|
6097
|
-
|
|
6098
|
-
limit?: number;
|
|
6528
|
+
page?: number;
|
|
6099
6529
|
} | undefined, options?: RequestOptions) => Promise<{
|
|
6100
6530
|
success: true;
|
|
6101
6531
|
data: {
|
|
@@ -6116,7 +6546,8 @@ declare function bindSurface(call: Caller): {
|
|
|
6116
6546
|
isEasyApply?: boolean;
|
|
6117
6547
|
insight?: string;
|
|
6118
6548
|
}>;
|
|
6119
|
-
|
|
6549
|
+
page: number;
|
|
6550
|
+
hasMore: boolean;
|
|
6120
6551
|
};
|
|
6121
6552
|
creditsUsed: number;
|
|
6122
6553
|
requestId: string;
|
|
@@ -6152,6 +6583,93 @@ declare function bindSurface(call: Caller): {
|
|
|
6152
6583
|
requestId: string;
|
|
6153
6584
|
}>;
|
|
6154
6585
|
};
|
|
6586
|
+
people: {
|
|
6587
|
+
search: (body?: {
|
|
6588
|
+
query?: string;
|
|
6589
|
+
title?: string;
|
|
6590
|
+
company?: string;
|
|
6591
|
+
location?: string;
|
|
6592
|
+
page?: number;
|
|
6593
|
+
} | undefined, options?: RequestOptions) => Promise<{
|
|
6594
|
+
success: true;
|
|
6595
|
+
data: {
|
|
6596
|
+
results: Array<{
|
|
6597
|
+
profileUrl: string;
|
|
6598
|
+
name?: string;
|
|
6599
|
+
headline?: string;
|
|
6600
|
+
title?: string;
|
|
6601
|
+
company?: string;
|
|
6602
|
+
location?: string;
|
|
6603
|
+
education?: string;
|
|
6604
|
+
details?: {
|
|
6605
|
+
profileId?: string;
|
|
6606
|
+
headline?: string;
|
|
6607
|
+
location?: string;
|
|
6608
|
+
about?: string;
|
|
6609
|
+
followers?: number;
|
|
6610
|
+
roles?: Array<{
|
|
6611
|
+
title?: string;
|
|
6612
|
+
company?: string;
|
|
6613
|
+
companyUrl?: string;
|
|
6614
|
+
from?: string;
|
|
6615
|
+
to?: string;
|
|
6616
|
+
isCurrent: boolean;
|
|
6617
|
+
}>;
|
|
6618
|
+
education?: Array<{
|
|
6619
|
+
school?: string;
|
|
6620
|
+
degree?: string;
|
|
6621
|
+
schoolUrl?: string;
|
|
6622
|
+
from?: string;
|
|
6623
|
+
to?: string;
|
|
6624
|
+
}>;
|
|
6625
|
+
};
|
|
6626
|
+
position: number;
|
|
6627
|
+
}>;
|
|
6628
|
+
page?: number;
|
|
6629
|
+
hasMore?: boolean;
|
|
6630
|
+
};
|
|
6631
|
+
creditsUsed: number;
|
|
6632
|
+
requestId: string;
|
|
6633
|
+
}>;
|
|
6634
|
+
};
|
|
6635
|
+
companies: {
|
|
6636
|
+
search: (body?: {
|
|
6637
|
+
query?: string;
|
|
6638
|
+
industry?: string;
|
|
6639
|
+
location?: string;
|
|
6640
|
+
page?: number;
|
|
6641
|
+
} | undefined, options?: RequestOptions) => Promise<{
|
|
6642
|
+
success: true;
|
|
6643
|
+
data: {
|
|
6644
|
+
results: Array<{
|
|
6645
|
+
companyUrl: string;
|
|
6646
|
+
name?: string;
|
|
6647
|
+
description?: string;
|
|
6648
|
+
industry?: string;
|
|
6649
|
+
size?: string;
|
|
6650
|
+
headquarters?: string;
|
|
6651
|
+
followers?: number;
|
|
6652
|
+
details?: {
|
|
6653
|
+
companyId?: string;
|
|
6654
|
+
website?: string;
|
|
6655
|
+
description?: string;
|
|
6656
|
+
industry?: string;
|
|
6657
|
+
size?: string;
|
|
6658
|
+
employees?: number;
|
|
6659
|
+
headquarters?: string;
|
|
6660
|
+
followers?: number;
|
|
6661
|
+
founded?: string;
|
|
6662
|
+
specialties?: Array<string>;
|
|
6663
|
+
};
|
|
6664
|
+
position: number;
|
|
6665
|
+
}>;
|
|
6666
|
+
page?: number;
|
|
6667
|
+
hasMore?: boolean;
|
|
6668
|
+
};
|
|
6669
|
+
creditsUsed: number;
|
|
6670
|
+
requestId: string;
|
|
6671
|
+
}>;
|
|
6672
|
+
};
|
|
6155
6673
|
company: (body: {
|
|
6156
6674
|
company: string;
|
|
6157
6675
|
}, options?: RequestOptions) => Promise<{
|
|
@@ -6207,7 +6725,6 @@ declare function bindSurface(call: Caller): {
|
|
|
6207
6725
|
posts: (body?: {
|
|
6208
6726
|
profile?: string;
|
|
6209
6727
|
company?: string;
|
|
6210
|
-
limit?: number;
|
|
6211
6728
|
} | undefined, options?: RequestOptions) => Promise<{
|
|
6212
6729
|
success: true;
|
|
6213
6730
|
data: {
|
|
@@ -6236,11 +6753,11 @@ declare function bindSurface(call: Caller): {
|
|
|
6236
6753
|
homeTypes?: Array<"house" | "townhouse" | "multiFamily" | "condo" | "land" | "apartment" | "manufactured">;
|
|
6237
6754
|
sort?: "relevance" | "newest" | "priceHigh" | "priceLow";
|
|
6238
6755
|
query?: string;
|
|
6239
|
-
|
|
6240
|
-
limit?: number;
|
|
6756
|
+
page?: number;
|
|
6241
6757
|
}, options?: RequestOptions) => Promise<{
|
|
6242
6758
|
success: true;
|
|
6243
6759
|
data: {
|
|
6760
|
+
total?: number;
|
|
6244
6761
|
results: Array<{
|
|
6245
6762
|
propertyId?: string;
|
|
6246
6763
|
propertyUrl: string;
|
|
@@ -6274,8 +6791,9 @@ declare function bindSurface(call: Caller): {
|
|
|
6274
6791
|
price?: number;
|
|
6275
6792
|
}>;
|
|
6276
6793
|
}>;
|
|
6277
|
-
|
|
6278
|
-
|
|
6794
|
+
page: number;
|
|
6795
|
+
hasMore: boolean;
|
|
6796
|
+
totalPages?: number;
|
|
6279
6797
|
};
|
|
6280
6798
|
creditsUsed: number;
|
|
6281
6799
|
requestId: string;
|
|
@@ -6342,11 +6860,11 @@ declare function bindSurface(call: Caller): {
|
|
|
6342
6860
|
sort?: "newest" | "relevance";
|
|
6343
6861
|
jobType?: "hourly" | "fixed";
|
|
6344
6862
|
experience?: "entry" | "intermediate" | "expert";
|
|
6345
|
-
|
|
6346
|
-
limit?: number;
|
|
6863
|
+
page?: number;
|
|
6347
6864
|
} | undefined, options?: RequestOptions) => Promise<{
|
|
6348
6865
|
success: true;
|
|
6349
6866
|
data: {
|
|
6867
|
+
total?: number;
|
|
6350
6868
|
results: Array<{
|
|
6351
6869
|
jobId?: string;
|
|
6352
6870
|
jobUrl: string;
|
|
@@ -6362,8 +6880,9 @@ declare function bindSurface(call: Caller): {
|
|
|
6362
6880
|
durationWeeks?: number;
|
|
6363
6881
|
publishedAt?: string;
|
|
6364
6882
|
}>;
|
|
6365
|
-
|
|
6366
|
-
|
|
6883
|
+
page: number;
|
|
6884
|
+
hasMore: boolean;
|
|
6885
|
+
totalPages?: number;
|
|
6367
6886
|
};
|
|
6368
6887
|
creditsUsed: number;
|
|
6369
6888
|
requestId: string;
|
|
@@ -6425,7 +6944,6 @@ declare function bindSurface(call: Caller): {
|
|
|
6425
6944
|
remote?: boolean;
|
|
6426
6945
|
within?: "day" | "week" | "month";
|
|
6427
6946
|
cursor?: string;
|
|
6428
|
-
limit?: number;
|
|
6429
6947
|
} | undefined, options?: RequestOptions) => Promise<{
|
|
6430
6948
|
success: true;
|
|
6431
6949
|
data: {
|
|
@@ -6520,7 +7038,6 @@ declare function bindSurface(call: Caller): {
|
|
|
6520
7038
|
search: (body: {
|
|
6521
7039
|
query: string;
|
|
6522
7040
|
type?: "all" | "hotels" | "restaurants" | "attractions" | "geos";
|
|
6523
|
-
limit?: number;
|
|
6524
7041
|
}, options?: RequestOptions) => Promise<{
|
|
6525
7042
|
success: true;
|
|
6526
7043
|
data: {
|
|
@@ -6592,8 +7109,7 @@ declare function bindSurface(call: Caller): {
|
|
|
6592
7109
|
place: string;
|
|
6593
7110
|
language?: string;
|
|
6594
7111
|
ratings?: Array<number>;
|
|
6595
|
-
|
|
6596
|
-
limit?: number;
|
|
7112
|
+
page?: number;
|
|
6597
7113
|
}, options?: RequestOptions) => Promise<{
|
|
6598
7114
|
success: true;
|
|
6599
7115
|
data: {
|
|
@@ -6627,7 +7143,8 @@ declare function bindSurface(call: Caller): {
|
|
|
6627
7143
|
ownerReplyDate?: string;
|
|
6628
7144
|
ownerReplyAuthor?: string;
|
|
6629
7145
|
}>;
|
|
6630
|
-
|
|
7146
|
+
page: number;
|
|
7147
|
+
hasMore: boolean;
|
|
6631
7148
|
};
|
|
6632
7149
|
creditsUsed: number;
|
|
6633
7150
|
requestId: string;
|
|
@@ -6641,7 +7158,6 @@ declare function bindSurface(call: Caller): {
|
|
|
6641
7158
|
returnDate?: string;
|
|
6642
7159
|
adults?: number;
|
|
6643
7160
|
cabin?: "economy" | "premiumEconomy" | "business" | "first";
|
|
6644
|
-
limit?: number;
|
|
6645
7161
|
}, options?: RequestOptions) => Promise<{
|
|
6646
7162
|
success: true;
|
|
6647
7163
|
data: {
|
|
@@ -6690,11 +7206,11 @@ declare function bindSurface(call: Caller): {
|
|
|
6690
7206
|
sort?: "relevance" | "priceLow" | "priceHigh" | "bestSelling" | "highest" | "newest";
|
|
6691
7207
|
minPrice?: number;
|
|
6692
7208
|
maxPrice?: number;
|
|
6693
|
-
|
|
6694
|
-
limit?: number;
|
|
7209
|
+
page?: number;
|
|
6695
7210
|
}, options?: RequestOptions) => Promise<{
|
|
6696
7211
|
success: true;
|
|
6697
7212
|
data: {
|
|
7213
|
+
total?: number;
|
|
6698
7214
|
results: Array<{
|
|
6699
7215
|
productId?: string;
|
|
6700
7216
|
productUrl: string;
|
|
@@ -6709,8 +7225,9 @@ declare function bindSurface(call: Caller): {
|
|
|
6709
7225
|
availability?: string;
|
|
6710
7226
|
isSponsored: boolean;
|
|
6711
7227
|
}>;
|
|
6712
|
-
|
|
6713
|
-
|
|
7228
|
+
page: number;
|
|
7229
|
+
hasMore: boolean;
|
|
7230
|
+
totalPages?: number;
|
|
6714
7231
|
};
|
|
6715
7232
|
creditsUsed: number;
|
|
6716
7233
|
requestId: string;
|
|
@@ -6814,7 +7331,6 @@ declare function bindSurface(call: Caller): {
|
|
|
6814
7331
|
query: string;
|
|
6815
7332
|
country?: string;
|
|
6816
7333
|
device?: "iphone" | "ipad" | "mac";
|
|
6817
|
-
limit?: number;
|
|
6818
7334
|
}, options?: RequestOptions) => Promise<{
|
|
6819
7335
|
success: true;
|
|
6820
7336
|
data: {
|
|
@@ -6857,8 +7373,7 @@ declare function bindSurface(call: Caller): {
|
|
|
6857
7373
|
app: string;
|
|
6858
7374
|
country?: string;
|
|
6859
7375
|
sort?: "newest" | "helpful" | "highest" | "lowest";
|
|
6860
|
-
|
|
6861
|
-
limit?: number;
|
|
7376
|
+
page?: number;
|
|
6862
7377
|
}, options?: RequestOptions) => Promise<{
|
|
6863
7378
|
success: true;
|
|
6864
7379
|
data: {
|
|
@@ -6871,7 +7386,8 @@ declare function bindSurface(call: Caller): {
|
|
|
6871
7386
|
publishedAt?: string;
|
|
6872
7387
|
isEdited: boolean;
|
|
6873
7388
|
}>;
|
|
6874
|
-
|
|
7389
|
+
page: number;
|
|
7390
|
+
hasMore: boolean;
|
|
6875
7391
|
};
|
|
6876
7392
|
creditsUsed: number;
|
|
6877
7393
|
requestId: string;
|
|
@@ -6881,7 +7397,6 @@ declare function bindSurface(call: Caller): {
|
|
|
6881
7397
|
device?: "iphone" | "ipad" | "mac";
|
|
6882
7398
|
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
7399
|
country?: string;
|
|
6884
|
-
limit?: number;
|
|
6885
7400
|
} | undefined, options?: RequestOptions) => Promise<{
|
|
6886
7401
|
success: true;
|
|
6887
7402
|
data: {
|
|
@@ -6960,7 +7475,6 @@ declare function bindSurface(call: Caller): {
|
|
|
6960
7475
|
query: string;
|
|
6961
7476
|
country?: string;
|
|
6962
7477
|
language?: string;
|
|
6963
|
-
limit?: number;
|
|
6964
7478
|
}, options?: RequestOptions) => Promise<{
|
|
6965
7479
|
success: true;
|
|
6966
7480
|
data: {
|
|
@@ -6989,7 +7503,6 @@ declare function bindSurface(call: Caller): {
|
|
|
6989
7503
|
sort?: "newest" | "relevance" | "highest";
|
|
6990
7504
|
rating?: number;
|
|
6991
7505
|
cursor?: string;
|
|
6992
|
-
limit?: number;
|
|
6993
7506
|
}, options?: RequestOptions) => Promise<{
|
|
6994
7507
|
success: true;
|
|
6995
7508
|
data: {
|
|
@@ -7020,8 +7533,6 @@ declare function bindSurface(call: Caller): {
|
|
|
7020
7533
|
adults?: number;
|
|
7021
7534
|
minPrice?: number;
|
|
7022
7535
|
maxPrice?: number;
|
|
7023
|
-
cursor?: string;
|
|
7024
|
-
limit?: number;
|
|
7025
7536
|
}, options?: RequestOptions) => Promise<{
|
|
7026
7537
|
success: true;
|
|
7027
7538
|
data: {
|
|
@@ -7047,7 +7558,6 @@ declare function bindSurface(call: Caller): {
|
|
|
7047
7558
|
badges?: Array<string>;
|
|
7048
7559
|
imageUrls?: Array<string>;
|
|
7049
7560
|
}>;
|
|
7050
|
-
cursor?: string;
|
|
7051
7561
|
};
|
|
7052
7562
|
creditsUsed: number;
|
|
7053
7563
|
requestId: string;
|
|
@@ -7116,7 +7626,6 @@ declare function bindSurface(call: Caller): {
|
|
|
7116
7626
|
calendar: (body: {
|
|
7117
7627
|
listing: string;
|
|
7118
7628
|
month?: string;
|
|
7119
|
-
limit?: number;
|
|
7120
7629
|
}, options?: RequestOptions) => Promise<{
|
|
7121
7630
|
success: true;
|
|
7122
7631
|
data: {
|
|
@@ -7136,11 +7645,11 @@ declare function bindSurface(call: Caller): {
|
|
|
7136
7645
|
reviews: (body: {
|
|
7137
7646
|
listing: string;
|
|
7138
7647
|
sort?: "relevance" | "newest" | "highest" | "lowest";
|
|
7139
|
-
|
|
7140
|
-
limit?: number;
|
|
7648
|
+
page?: number;
|
|
7141
7649
|
}, options?: RequestOptions) => Promise<{
|
|
7142
7650
|
success: true;
|
|
7143
7651
|
data: {
|
|
7652
|
+
total?: number;
|
|
7144
7653
|
results: Array<{
|
|
7145
7654
|
reviewId?: string;
|
|
7146
7655
|
text?: string;
|
|
@@ -7154,8 +7663,8 @@ declare function bindSurface(call: Caller): {
|
|
|
7154
7663
|
authorAddress?: string;
|
|
7155
7664
|
ownerReplyText?: string;
|
|
7156
7665
|
}>;
|
|
7157
|
-
|
|
7158
|
-
|
|
7666
|
+
page: number;
|
|
7667
|
+
hasMore: boolean;
|
|
7159
7668
|
};
|
|
7160
7669
|
creditsUsed: number;
|
|
7161
7670
|
requestId: string;
|
|
@@ -7170,11 +7679,11 @@ declare function bindSurface(call: Caller): {
|
|
|
7170
7679
|
minBedrooms?: number;
|
|
7171
7680
|
maxBedrooms?: number;
|
|
7172
7681
|
sort?: "newest" | "oldest" | "priceHigh" | "priceLow";
|
|
7173
|
-
|
|
7174
|
-
limit?: number;
|
|
7682
|
+
page?: number;
|
|
7175
7683
|
}, options?: RequestOptions) => Promise<{
|
|
7176
7684
|
success: true;
|
|
7177
7685
|
data: {
|
|
7686
|
+
total?: number;
|
|
7178
7687
|
results: Array<{
|
|
7179
7688
|
propertyId?: string;
|
|
7180
7689
|
propertyUrl: string;
|
|
@@ -7204,8 +7713,8 @@ declare function bindSurface(call: Caller): {
|
|
|
7204
7713
|
keyFeatures?: Array<string>;
|
|
7205
7714
|
imageUrls?: Array<string>;
|
|
7206
7715
|
}>;
|
|
7207
|
-
|
|
7208
|
-
|
|
7716
|
+
page: number;
|
|
7717
|
+
hasMore: boolean;
|
|
7209
7718
|
};
|
|
7210
7719
|
creditsUsed: number;
|
|
7211
7720
|
requestId: string;
|
|
@@ -7270,11 +7779,11 @@ declare function bindSurface(call: Caller): {
|
|
|
7270
7779
|
maxPrice?: number;
|
|
7271
7780
|
minRooms?: number;
|
|
7272
7781
|
sort?: "newest" | "priceLow" | "priceHigh" | "largest";
|
|
7273
|
-
|
|
7274
|
-
limit?: number;
|
|
7782
|
+
page?: number;
|
|
7275
7783
|
}, options?: RequestOptions) => Promise<{
|
|
7276
7784
|
success: true;
|
|
7277
7785
|
data: {
|
|
7786
|
+
total?: number;
|
|
7278
7787
|
results: Array<{
|
|
7279
7788
|
listingId?: string;
|
|
7280
7789
|
listingUrl: string;
|
|
@@ -7295,8 +7804,9 @@ declare function bindSurface(call: Caller): {
|
|
|
7295
7804
|
isNew: boolean;
|
|
7296
7805
|
imageUrl?: string;
|
|
7297
7806
|
}>;
|
|
7298
|
-
|
|
7299
|
-
|
|
7807
|
+
page: number;
|
|
7808
|
+
hasMore: boolean;
|
|
7809
|
+
totalPages: number;
|
|
7300
7810
|
};
|
|
7301
7811
|
creditsUsed: number;
|
|
7302
7812
|
requestId: string;
|
|
@@ -7351,7 +7861,6 @@ declare function bindSurface(call: Caller): {
|
|
|
7351
7861
|
query: string;
|
|
7352
7862
|
type?: "pins" | "videos";
|
|
7353
7863
|
cursor?: string;
|
|
7354
|
-
limit?: number;
|
|
7355
7864
|
}, options?: RequestOptions) => Promise<{
|
|
7356
7865
|
success: true;
|
|
7357
7866
|
data: {
|
|
@@ -7424,7 +7933,6 @@ declare function bindSurface(call: Caller): {
|
|
|
7424
7933
|
board: (body: {
|
|
7425
7934
|
board: string;
|
|
7426
7935
|
cursor?: string;
|
|
7427
|
-
limit?: number;
|
|
7428
7936
|
}, options?: RequestOptions) => Promise<{
|
|
7429
7937
|
success: true;
|
|
7430
7938
|
data: {
|
|
@@ -7478,7 +7986,6 @@ declare function bindSurface(call: Caller): {
|
|
|
7478
7986
|
user: (body: {
|
|
7479
7987
|
profile: string;
|
|
7480
7988
|
cursor?: string;
|
|
7481
|
-
limit?: number;
|
|
7482
7989
|
}, options?: RequestOptions) => Promise<{
|
|
7483
7990
|
success: true;
|
|
7484
7991
|
data: {
|
|
@@ -7532,50 +8039,44 @@ declare function bindSurface(call: Caller): {
|
|
|
7532
8039
|
ads: {
|
|
7533
8040
|
search: (body: {
|
|
7534
8041
|
query: string;
|
|
8042
|
+
network: "meta";
|
|
7535
8043
|
country?: string;
|
|
7536
8044
|
status?: "active" | "inactive" | "all";
|
|
7537
8045
|
mediaType?: "image" | "video" | "text";
|
|
7538
8046
|
cursor?: string;
|
|
7539
|
-
network: "meta";
|
|
7540
|
-
limit?: number;
|
|
7541
8047
|
} | {
|
|
8048
|
+
network: "google";
|
|
7542
8049
|
query?: string;
|
|
7543
8050
|
advertiser?: string;
|
|
7544
8051
|
domain?: string;
|
|
7545
8052
|
country?: string;
|
|
7546
8053
|
mediaType?: "text" | "image" | "video";
|
|
7547
8054
|
cursor?: string;
|
|
7548
|
-
network: "google";
|
|
7549
|
-
limit?: number;
|
|
7550
8055
|
} | {
|
|
8056
|
+
network: "tiktok";
|
|
7551
8057
|
query?: string;
|
|
7552
8058
|
advertiser?: string;
|
|
7553
8059
|
country?: string;
|
|
7554
8060
|
cursor?: string;
|
|
7555
|
-
network: "tiktok";
|
|
7556
|
-
limit?: number;
|
|
7557
8061
|
} | {
|
|
8062
|
+
network: "linkedin";
|
|
7558
8063
|
query?: string;
|
|
7559
8064
|
advertiser?: string;
|
|
7560
8065
|
country?: string;
|
|
7561
8066
|
within?: "month" | "year" | "all";
|
|
7562
8067
|
cursor?: string;
|
|
7563
|
-
network: "linkedin";
|
|
7564
|
-
limit?: number;
|
|
7565
8068
|
} | {
|
|
8069
|
+
network: "microsoft";
|
|
7566
8070
|
query?: string;
|
|
7567
8071
|
advertiser?: string;
|
|
7568
8072
|
country?: string;
|
|
7569
8073
|
cursor?: string;
|
|
7570
|
-
network: "microsoft";
|
|
7571
|
-
limit?: number;
|
|
7572
8074
|
} | {
|
|
7573
|
-
query?: string;
|
|
7574
8075
|
country: string;
|
|
8076
|
+
network: "pinterest";
|
|
8077
|
+
query?: string;
|
|
7575
8078
|
advertiser?: string;
|
|
7576
8079
|
cursor?: string;
|
|
7577
|
-
network: "pinterest";
|
|
7578
|
-
limit?: number;
|
|
7579
8080
|
}, options?: RequestOptions) => Promise<{
|
|
7580
8081
|
success: true;
|
|
7581
8082
|
data: {
|
|
@@ -7626,6 +8127,8 @@ declare function bindSurface(call: Caller): {
|
|
|
7626
8127
|
}>;
|
|
7627
8128
|
cursor?: string;
|
|
7628
8129
|
} | {
|
|
8130
|
+
totalMin?: number;
|
|
8131
|
+
totalMax?: number;
|
|
7629
8132
|
results?: Array<{
|
|
7630
8133
|
adId?: string;
|
|
7631
8134
|
adUrl: string;
|
|
@@ -7640,12 +8143,11 @@ declare function bindSurface(call: Caller): {
|
|
|
7640
8143
|
previewUrl?: string;
|
|
7641
8144
|
imageUrl?: string;
|
|
7642
8145
|
}>;
|
|
7643
|
-
totalMin?: number;
|
|
7644
|
-
totalMax?: number;
|
|
7645
8146
|
cursor?: string;
|
|
7646
8147
|
} | {
|
|
7647
8148
|
advertiserId?: string;
|
|
7648
8149
|
advertiserName?: string;
|
|
8150
|
+
total?: number;
|
|
7649
8151
|
results?: Array<{
|
|
7650
8152
|
adId?: string;
|
|
7651
8153
|
adUrl: string;
|
|
@@ -7659,9 +8161,9 @@ declare function bindSurface(call: Caller): {
|
|
|
7659
8161
|
thumbnailUrl?: string;
|
|
7660
8162
|
imageUrls?: Array<string>;
|
|
7661
8163
|
}>;
|
|
7662
|
-
total?: number;
|
|
7663
8164
|
cursor?: string;
|
|
7664
8165
|
} | {
|
|
8166
|
+
total?: number;
|
|
7665
8167
|
results?: Array<{
|
|
7666
8168
|
adId?: string;
|
|
7667
8169
|
adUrl: string;
|
|
@@ -7675,9 +8177,9 @@ declare function bindSurface(call: Caller): {
|
|
|
7675
8177
|
headline?: string;
|
|
7676
8178
|
imageUrls?: Array<string>;
|
|
7677
8179
|
}>;
|
|
7678
|
-
total?: number;
|
|
7679
8180
|
cursor?: string;
|
|
7680
8181
|
} | {
|
|
8182
|
+
total?: number;
|
|
7681
8183
|
results?: Array<{
|
|
7682
8184
|
adId?: string;
|
|
7683
8185
|
advertiserId?: string;
|
|
@@ -7688,7 +8190,6 @@ declare function bindSurface(call: Caller): {
|
|
|
7688
8190
|
linkCaption?: string;
|
|
7689
8191
|
imageUrls?: Array<string>;
|
|
7690
8192
|
}>;
|
|
7691
|
-
total?: number;
|
|
7692
8193
|
cursor?: string;
|
|
7693
8194
|
} | {
|
|
7694
8195
|
results?: Array<{
|
|
@@ -7725,9 +8226,9 @@ declare function bindSurface(call: Caller): {
|
|
|
7725
8226
|
ad: string;
|
|
7726
8227
|
network: "meta";
|
|
7727
8228
|
} | {
|
|
7728
|
-
advertiser?: string;
|
|
7729
8229
|
ad: string;
|
|
7730
8230
|
network: "google";
|
|
8231
|
+
advertiser?: string;
|
|
7731
8232
|
} | {
|
|
7732
8233
|
ad: string;
|
|
7733
8234
|
network: "tiktok";
|
|
@@ -7962,16 +8463,15 @@ declare function bindSurface(call: Caller): {
|
|
|
7962
8463
|
}>;
|
|
7963
8464
|
advertisers: (body: {
|
|
7964
8465
|
query: string;
|
|
7965
|
-
country?: string;
|
|
7966
8466
|
network: "google";
|
|
7967
|
-
|
|
8467
|
+
country?: string;
|
|
7968
8468
|
} | {
|
|
7969
8469
|
query: string;
|
|
7970
8470
|
network: "microsoft";
|
|
7971
|
-
limit?: number;
|
|
7972
8471
|
}, options?: RequestOptions) => Promise<{
|
|
7973
8472
|
success: true;
|
|
7974
8473
|
data: {
|
|
8474
|
+
domains?: Array<string>;
|
|
7975
8475
|
results?: Array<{
|
|
7976
8476
|
advertiserId?: string;
|
|
7977
8477
|
advertiserName?: string;
|
|
@@ -7981,15 +8481,116 @@ declare function bindSurface(call: Caller): {
|
|
|
7981
8481
|
adsMin?: number;
|
|
7982
8482
|
adsMax?: number;
|
|
7983
8483
|
}>;
|
|
7984
|
-
domains?: Array<string>;
|
|
7985
8484
|
} | {
|
|
8485
|
+
total?: number;
|
|
7986
8486
|
results?: Array<{
|
|
7987
8487
|
advertiserId?: string;
|
|
7988
8488
|
advertiserName?: string;
|
|
7989
8489
|
advertiserCountry?: string;
|
|
7990
8490
|
isVerified: boolean;
|
|
7991
8491
|
}>;
|
|
7992
|
-
|
|
8492
|
+
};
|
|
8493
|
+
creditsUsed: number;
|
|
8494
|
+
requestId: string;
|
|
8495
|
+
}>;
|
|
8496
|
+
};
|
|
8497
|
+
ai: {
|
|
8498
|
+
answer: (body: {
|
|
8499
|
+
prompt: string;
|
|
8500
|
+
engine?: "gemini" | "chatgpt";
|
|
8501
|
+
}, options?: RequestOptions) => Promise<{
|
|
8502
|
+
success: true;
|
|
8503
|
+
data: {
|
|
8504
|
+
engine: "gemini" | "chatgpt";
|
|
8505
|
+
prompt?: string;
|
|
8506
|
+
answer: string;
|
|
8507
|
+
sources: Array<{
|
|
8508
|
+
url: string;
|
|
8509
|
+
title?: string;
|
|
8510
|
+
domain: string;
|
|
8511
|
+
}>;
|
|
8512
|
+
};
|
|
8513
|
+
creditsUsed: number;
|
|
8514
|
+
requestId: string;
|
|
8515
|
+
}>;
|
|
8516
|
+
};
|
|
8517
|
+
web: {
|
|
8518
|
+
search: (body: {
|
|
8519
|
+
query: string;
|
|
8520
|
+
country?: string;
|
|
8521
|
+
language?: string;
|
|
8522
|
+
includeDomains?: Array<string>;
|
|
8523
|
+
excludeDomains?: Array<string>;
|
|
8524
|
+
within?: "day" | "week" | "month" | "year" | "all";
|
|
8525
|
+
page?: number;
|
|
8526
|
+
}, options?: RequestOptions) => Promise<{
|
|
8527
|
+
success: true;
|
|
8528
|
+
data: {
|
|
8529
|
+
aiOverview?: {
|
|
8530
|
+
text: string;
|
|
8531
|
+
sources?: Array<{
|
|
8532
|
+
url: string;
|
|
8533
|
+
title?: string;
|
|
8534
|
+
}>;
|
|
8535
|
+
};
|
|
8536
|
+
knowledgeGraph?: {
|
|
8537
|
+
title: string;
|
|
8538
|
+
type?: string;
|
|
8539
|
+
website?: string;
|
|
8540
|
+
imageUrl?: string;
|
|
8541
|
+
description?: string;
|
|
8542
|
+
descriptionSource?: string;
|
|
8543
|
+
descriptionUrl?: string;
|
|
8544
|
+
attributes?: {
|
|
8545
|
+
[key: string]: string;
|
|
8546
|
+
};
|
|
8547
|
+
};
|
|
8548
|
+
results: Array<{
|
|
8549
|
+
url: string;
|
|
8550
|
+
title: string;
|
|
8551
|
+
description?: string;
|
|
8552
|
+
date?: string;
|
|
8553
|
+
sitelinks?: Array<{
|
|
8554
|
+
title: string;
|
|
8555
|
+
url: string;
|
|
8556
|
+
}>;
|
|
8557
|
+
position: number;
|
|
8558
|
+
}>;
|
|
8559
|
+
peopleAlsoAsk?: Array<{
|
|
8560
|
+
question: string;
|
|
8561
|
+
answer?: string;
|
|
8562
|
+
title?: string;
|
|
8563
|
+
url?: string;
|
|
8564
|
+
}>;
|
|
8565
|
+
relatedSearches?: Array<string>;
|
|
8566
|
+
page?: number;
|
|
8567
|
+
hasMore?: boolean;
|
|
8568
|
+
};
|
|
8569
|
+
creditsUsed: number;
|
|
8570
|
+
requestId: string;
|
|
8571
|
+
}>;
|
|
8572
|
+
news: (body?: {
|
|
8573
|
+
query?: string;
|
|
8574
|
+
topic?: "world" | "nation" | "business" | "technology" | "entertainment" | "sports" | "science" | "health";
|
|
8575
|
+
country?: string;
|
|
8576
|
+
language?: string;
|
|
8577
|
+
includeDomains?: Array<string>;
|
|
8578
|
+
excludeDomains?: Array<string>;
|
|
8579
|
+
within?: "hour" | "day" | "week" | "month" | "year" | "all";
|
|
8580
|
+
page?: number;
|
|
8581
|
+
} | undefined, options?: RequestOptions) => Promise<{
|
|
8582
|
+
success: true;
|
|
8583
|
+
data: {
|
|
8584
|
+
results: Array<{
|
|
8585
|
+
url: string;
|
|
8586
|
+
title: string;
|
|
8587
|
+
source?: string;
|
|
8588
|
+
description?: string;
|
|
8589
|
+
publishedAt?: string;
|
|
8590
|
+
position: number;
|
|
8591
|
+
}>;
|
|
8592
|
+
page: number;
|
|
8593
|
+
hasMore?: boolean;
|
|
7993
8594
|
};
|
|
7994
8595
|
creditsUsed: number;
|
|
7995
8596
|
requestId: string;
|
|
@@ -7999,7 +8600,7 @@ declare function bindSurface(call: Caller): {
|
|
|
7999
8600
|
type Surface = ReturnType<typeof bindSurface>;
|
|
8000
8601
|
|
|
8001
8602
|
interface StophyOptions {
|
|
8002
|
-
/** Defaults to `STOPHY_API_KEY`. Without a key, only
|
|
8603
|
+
/** Defaults to `STOPHY_API_KEY`. Without a key, only Google search, Google News and YouTube search, videos and transcripts answer. */
|
|
8003
8604
|
apiKey?: string;
|
|
8004
8605
|
/** Defaults to `STOPHY_BASE_URL` or `https://api.stophy.dev`. */
|
|
8005
8606
|
baseUrl?: string;
|
|
@@ -8041,4 +8642,4 @@ declare class StophyError extends Error {
|
|
|
8041
8642
|
});
|
|
8042
8643
|
}
|
|
8043
8644
|
|
|
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 };
|
|
8645
|
+
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 };
|