stophy 1.0.6 → 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/dist/index.d.cts CHANGED
@@ -123,10 +123,6 @@ type ListEndpointsResponses = {
123
123
  type ListEndpointsResponse = ListEndpointsResponses[keyof ListEndpointsResponses];
124
124
  type GoogleSearchData = {
125
125
  body: {
126
- /**
127
- * How many results to return, up to 100.
128
- */
129
- limit?: number;
130
126
  query: string;
131
127
  /**
132
128
  * ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
@@ -139,6 +135,10 @@ type GoogleSearchData = {
139
135
  includeDomains?: Array<string>;
140
136
  excludeDomains?: Array<string>;
141
137
  within?: "day" | "week" | "month" | "year" | "all";
138
+ /**
139
+ * Page number, starting at 1.
140
+ */
141
+ page?: number;
142
142
  };
143
143
  path?: never;
144
144
  query?: never;
@@ -162,6 +162,31 @@ type GoogleSearchResponses = {
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<{
166
191
  url: string;
167
192
  title: string;
@@ -188,31 +213,6 @@ type GoogleSearchResponses = {
188
213
  }>;
189
214
  position: number;
190
215
  }>;
191
- aiOverview?: {
192
- text: string;
193
- /**
194
- * Pages the overview cites.
195
- */
196
- sources?: Array<{
197
- url: string;
198
- title?: string;
199
- }>;
200
- };
201
- knowledgeGraph?: {
202
- title: string;
203
- type?: string;
204
- website?: string;
205
- imageUrl?: string;
206
- description?: string;
207
- descriptionSource?: string;
208
- descriptionUrl?: string;
209
- /**
210
- * Labelled facts, like Founded or Headquarters.
211
- */
212
- attributes?: {
213
- [key: string]: string;
214
- };
215
- };
216
216
  peopleAlsoAsk?: Array<{
217
217
  question: string;
218
218
  answer?: string;
@@ -220,10 +220,8 @@ type GoogleSearchResponses = {
220
220
  url?: string;
221
221
  }>;
222
222
  relatedSearches?: Array<string>;
223
- /**
224
- * True when later pages failed and only the earlier results are here.
225
- */
226
- isPartial?: true;
223
+ page?: number;
224
+ hasMore?: boolean;
227
225
  };
228
226
  creditsUsed: number;
229
227
  requestId: string;
@@ -232,13 +230,9 @@ type GoogleSearchResponses = {
232
230
  type GoogleSearchResponse = GoogleSearchResponses[keyof GoogleSearchResponses];
233
231
  type GoogleNewsData = {
234
232
  body: {
235
- /**
236
- * How many articles to return, up to 50. Headlines (no query) give up to 10.
237
- */
238
- limit?: number;
239
233
  query?: string;
240
234
  /**
241
- * Headlines for one section instead of a search. Send query or topic, not both.
235
+ * The top 10 headlines in one section instead of a search. Send query or topic, not both.
242
236
  */
243
237
  topic?: "world" | "nation" | "business" | "technology" | "entertainment" | "sports" | "science" | "health";
244
238
  /**
@@ -252,6 +246,10 @@ type GoogleNewsData = {
252
246
  includeDomains?: Array<string>;
253
247
  excludeDomains?: Array<string>;
254
248
  within?: "hour" | "day" | "week" | "month" | "year" | "all";
249
+ /**
250
+ * Page number, starting at 1.
251
+ */
252
+ page?: number;
255
253
  };
256
254
  path?: never;
257
255
  query?: never;
@@ -292,10 +290,8 @@ type GoogleNewsResponses = {
292
290
  publishedAt?: string;
293
291
  position: number;
294
292
  }>;
295
- /**
296
- * True when later pages failed and only the earlier articles are here.
297
- */
298
- isPartial?: true;
293
+ page: number;
294
+ hasMore?: boolean;
299
295
  };
300
296
  creditsUsed: number;
301
297
  requestId: string;
@@ -304,10 +300,6 @@ type GoogleNewsResponses = {
304
300
  type GoogleNewsResponse = GoogleNewsResponses[keyof GoogleNewsResponses];
305
301
  type GoogleImagesData = {
306
302
  body: {
307
- /**
308
- * How many images to return, up to 100.
309
- */
310
- limit?: number;
311
303
  query: string;
312
304
  /**
313
305
  * ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
@@ -407,10 +399,6 @@ type GoogleAiModeResponses = {
407
399
  type GoogleAiModeResponse = GoogleAiModeResponses[keyof GoogleAiModeResponses];
408
400
  type GoogleShoppingData = {
409
401
  body: {
410
- /**
411
- * How many products to return, up to 40.
412
- */
413
- limit?: number;
414
402
  query: string;
415
403
  /**
416
404
  * ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
@@ -420,6 +408,10 @@ type GoogleShoppingData = {
420
408
  * Two-letter language code like en or pt. Any case is accepted.
421
409
  */
422
410
  language?: string;
411
+ /**
412
+ * Page number, starting at 1.
413
+ */
414
+ page?: number;
423
415
  };
424
416
  path?: never;
425
417
  query?: never;
@@ -476,6 +468,8 @@ type GoogleShoppingResponses = {
476
468
  reviews?: number;
477
469
  position: number;
478
470
  }>;
471
+ page: number;
472
+ hasMore: boolean;
479
473
  };
480
474
  creditsUsed: number;
481
475
  requestId: string;
@@ -484,10 +478,6 @@ type GoogleShoppingResponses = {
484
478
  type GoogleShoppingResponse = GoogleShoppingResponses[keyof GoogleShoppingResponses];
485
479
  type YoutubeSearchData = {
486
480
  body: {
487
- /**
488
- * Return at most this many results (1-100).
489
- */
490
- limit?: number;
491
481
  query: string;
492
482
  type?: "videos" | "all" | "channels" | "playlists" | "shorts";
493
483
  within?: "hour" | "day" | "week" | "month" | "year" | "all";
@@ -662,10 +652,6 @@ type TranscriptResponses = {
662
652
  type TranscriptResponse = TranscriptResponses[keyof TranscriptResponses];
663
653
  type YoutubeCommentsData = {
664
654
  body: {
665
- /**
666
- * Return at most this many results (1-100).
667
- */
668
- limit?: number;
669
655
  video: string;
670
656
  /**
671
657
  * A comment's repliesCursor from an earlier response. Returns that comment's replies.
@@ -724,10 +710,6 @@ type YoutubeCommentsResponses = {
724
710
  type YoutubeCommentsResponse = YoutubeCommentsResponses[keyof YoutubeCommentsResponses];
725
711
  type YoutubeChannelData = {
726
712
  body: {
727
- /**
728
- * Return at most this many results (1-100).
729
- */
730
- limit?: number;
731
713
  channel: string;
732
714
  tab?: "videos" | "shorts" | "live" | "playlists" | "posts";
733
715
  /**
@@ -818,10 +800,6 @@ type YoutubeChannelResponses = {
818
800
  type YoutubeChannelResponse = YoutubeChannelResponses[keyof YoutubeChannelResponses];
819
801
  type YoutubePlaylistData = {
820
802
  body: {
821
- /**
822
- * Return at most this many results (1-100).
823
- */
824
- limit?: number;
825
803
  playlist: string;
826
804
  /**
827
805
  * The cursor from the previous response. Send it as is.
@@ -886,10 +864,6 @@ type YoutubePlaylistResponses = {
886
864
  type YoutubePlaylistResponse = YoutubePlaylistResponses[keyof YoutubePlaylistResponses];
887
865
  type RedditSearchData = {
888
866
  body: {
889
- /**
890
- * Return at most this many results (1-100).
891
- */
892
- limit?: number;
893
867
  /**
894
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.
895
869
  */
@@ -1066,10 +1040,6 @@ type RedditPostResponses = {
1066
1040
  type RedditPostResponse = RedditPostResponses[keyof RedditPostResponses];
1067
1041
  type RedditSubredditData = {
1068
1042
  body: {
1069
- /**
1070
- * Return at most this many results (1-100).
1071
- */
1072
- limit?: number;
1073
1043
  subreddit: string;
1074
1044
  sort?: "hot" | "newest" | "top";
1075
1045
  within?: "hour" | "day" | "week" | "month" | "year" | "all";
@@ -1154,10 +1124,6 @@ type RedditSubredditResponses = {
1154
1124
  type RedditSubredditResponse = RedditSubredditResponses[keyof RedditSubredditResponses];
1155
1125
  type RedditUserData = {
1156
1126
  body: {
1157
- /**
1158
- * Return at most this many results (1-100).
1159
- */
1160
- limit?: number;
1161
1127
  profile: string;
1162
1128
  tab?: "overview" | "posts" | "comments";
1163
1129
  sort?: "newest" | "hot" | "top";
@@ -1247,10 +1213,6 @@ type RedditUserResponses = {
1247
1213
  type RedditUserResponse = RedditUserResponses[keyof RedditUserResponses];
1248
1214
  type RedditDomainData = {
1249
1215
  body: {
1250
- /**
1251
- * Return at most this many results (1-100).
1252
- */
1253
- limit?: number;
1254
1216
  domain: string;
1255
1217
  sort?: "hot" | "newest" | "top";
1256
1218
  /**
@@ -1321,16 +1283,8 @@ type RedditDomainResponses = {
1321
1283
  type RedditDomainResponse = RedditDomainResponses[keyof RedditDomainResponses];
1322
1284
  type MapsSearchData = {
1323
1285
  body: {
1324
- /**
1325
- * Return at most this many results (1-100).
1326
- */
1327
- limit?: number;
1328
1286
  query: string;
1329
1287
  location: string;
1330
- /**
1331
- * The cursor from the previous response. Send it as is.
1332
- */
1333
- cursor?: string;
1334
1288
  /**
1335
1289
  * ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
1336
1290
  */
@@ -1384,7 +1338,6 @@ type MapsSearchResponses = {
1384
1338
  reservationUrl?: string;
1385
1339
  attributes?: Array<string>;
1386
1340
  }>;
1387
- cursor?: string;
1388
1341
  };
1389
1342
  creditsUsed: number;
1390
1343
  requestId: string;
@@ -1453,20 +1406,16 @@ type MapsPlaceResponses = {
1453
1406
  type MapsPlaceResponse = MapsPlaceResponses[keyof MapsPlaceResponses];
1454
1407
  type MapsReviewsData = {
1455
1408
  body: {
1456
- /**
1457
- * Return at most this many results (1-100).
1458
- */
1459
- limit?: number;
1460
1409
  place: string;
1461
1410
  sort?: "relevance" | "newest" | "highest" | "lowest";
1462
- /**
1463
- * The cursor from the previous response. Send it as is.
1464
- */
1465
- cursor?: string;
1466
1411
  /**
1467
1412
  * BCP 47 language tag, e.g. en or pt-BR. Any case is accepted.
1468
1413
  */
1469
1414
  language?: string;
1415
+ /**
1416
+ * The cursor from the previous response. Send it as is.
1417
+ */
1418
+ cursor?: string;
1470
1419
  };
1471
1420
  path?: never;
1472
1421
  query?: never;
@@ -1521,10 +1470,6 @@ type MapsReviewsResponses = {
1521
1470
  type MapsReviewsResponse = MapsReviewsResponses[keyof MapsReviewsResponses];
1522
1471
  type InstagramProfileData = {
1523
1472
  body: {
1524
- /**
1525
- * Return at most this many results (1-100).
1526
- */
1527
- limit?: number;
1528
1473
  profile: string;
1529
1474
  /**
1530
1475
  * The cursor from the previous response. Send it as is.
@@ -1687,10 +1632,6 @@ type InstagramPostResponses = {
1687
1632
  type InstagramPostResponse = InstagramPostResponses[keyof InstagramPostResponses];
1688
1633
  type InstagramCommentsData = {
1689
1634
  body: {
1690
- /**
1691
- * Return at most this many results (1-100).
1692
- */
1693
- limit?: number;
1694
1635
  post: string;
1695
1636
  comment?: string;
1696
1637
  /**
@@ -1743,10 +1684,6 @@ type InstagramCommentsResponses = {
1743
1684
  type InstagramCommentsResponse = InstagramCommentsResponses[keyof InstagramCommentsResponses];
1744
1685
  type TiktokProfileData = {
1745
1686
  body: {
1746
- /**
1747
- * Return at most this many results (1-100).
1748
- */
1749
- limit?: number;
1750
1687
  profile: string;
1751
1688
  /**
1752
1689
  * The cursor from the previous response. Send it as is.
@@ -1889,10 +1826,6 @@ type TiktokVideoResponses = {
1889
1826
  type TiktokVideoResponse = TiktokVideoResponses[keyof TiktokVideoResponses];
1890
1827
  type TiktokHashtagData = {
1891
1828
  body: {
1892
- /**
1893
- * Return at most this many results (1-100).
1894
- */
1895
- limit?: number;
1896
1829
  hashtag: string;
1897
1830
  /**
1898
1831
  * The cursor from the previous response. Send it as is.
@@ -1959,10 +1892,6 @@ type TiktokHashtagResponses = {
1959
1892
  type TiktokHashtagResponse = TiktokHashtagResponses[keyof TiktokHashtagResponses];
1960
1893
  type TiktokCommentsData = {
1961
1894
  body: {
1962
- /**
1963
- * Return at most this many results (1-100).
1964
- */
1965
- limit?: number;
1966
1895
  video: string;
1967
1896
  comment?: string;
1968
1897
  /**
@@ -2013,10 +1942,6 @@ type TiktokCommentsResponses = {
2013
1942
  type TiktokCommentsResponse = TiktokCommentsResponses[keyof TiktokCommentsResponses];
2014
1943
  type TiktokSearchData = {
2015
1944
  body: {
2016
- /**
2017
- * Return at most this many results (1-100).
2018
- */
2019
- limit?: number;
2020
1945
  query: string;
2021
1946
  type?: "videos" | "users";
2022
1947
  /**
@@ -2095,10 +2020,9 @@ type TiktokSearchResponse = TiktokSearchResponses[keyof TiktokSearchResponses];
2095
2020
  type MetaAdsPageData = {
2096
2021
  body: {
2097
2022
  /**
2098
- * Return at most this many results (1-100).
2023
+ * The Facebook page: its id, name or URL.
2099
2024
  */
2100
- limit?: number;
2101
- page: string;
2025
+ advertiser: string;
2102
2026
  /**
2103
2027
  * ISO 3166-1 alpha-2 country code, or all. Any case is accepted.
2104
2028
  */
@@ -2204,17 +2128,13 @@ type MetaAdsPageResponses = {
2204
2128
  type MetaAdsPageResponse = MetaAdsPageResponses[keyof MetaAdsPageResponses];
2205
2129
  type LinkedinJobsSearchData = {
2206
2130
  body: {
2207
- /**
2208
- * Return at most this many results (1-100).
2209
- */
2210
- limit?: number;
2211
2131
  query?: string;
2212
2132
  location?: string;
2213
2133
  within?: "day" | "week" | "month" | "all";
2214
2134
  /**
2215
- * The cursor from the previous response. Send it as is.
2135
+ * Page number, starting at 1.
2216
2136
  */
2217
- cursor?: string;
2137
+ page?: number;
2218
2138
  };
2219
2139
  path?: never;
2220
2140
  query?: never;
@@ -2255,7 +2175,8 @@ type LinkedinJobsSearchResponses = {
2255
2175
  isEasyApply?: boolean;
2256
2176
  insight?: string;
2257
2177
  }>;
2258
- cursor?: string;
2178
+ page: number;
2179
+ hasMore: boolean;
2259
2180
  };
2260
2181
  creditsUsed: number;
2261
2182
  requestId: string;
@@ -2264,10 +2185,6 @@ type LinkedinJobsSearchResponses = {
2264
2185
  type LinkedinJobsSearchResponse = LinkedinJobsSearchResponses[keyof LinkedinJobsSearchResponses];
2265
2186
  type LinkedinPeopleSearchData = {
2266
2187
  body: {
2267
- /**
2268
- * How many results to return, up to 25.
2269
- */
2270
- limit?: number;
2271
2188
  /**
2272
2189
  * Free words to match, like a skill or industry.
2273
2190
  */
@@ -2284,6 +2201,10 @@ type LinkedinPeopleSearchData = {
2284
2201
  * City or region shown on the profile, like Toronto.
2285
2202
  */
2286
2203
  location?: string;
2204
+ /**
2205
+ * Page number, starting at 1.
2206
+ */
2207
+ page?: number;
2287
2208
  };
2288
2209
  path?: never;
2289
2210
  query?: never;
@@ -2339,6 +2260,8 @@ type LinkedinPeopleSearchResponses = {
2339
2260
  };
2340
2261
  position: number;
2341
2262
  }>;
2263
+ page?: number;
2264
+ hasMore?: boolean;
2342
2265
  };
2343
2266
  creditsUsed: number;
2344
2267
  requestId: string;
@@ -2347,10 +2270,6 @@ type LinkedinPeopleSearchResponses = {
2347
2270
  type LinkedinPeopleSearchResponse = LinkedinPeopleSearchResponses[keyof LinkedinPeopleSearchResponses];
2348
2271
  type LinkedinCompaniesSearchData = {
2349
2272
  body: {
2350
- /**
2351
- * How many results to return, up to 25.
2352
- */
2353
- limit?: number;
2354
2273
  /**
2355
2274
  * Company name or words about what it does.
2356
2275
  */
@@ -2363,6 +2282,10 @@ type LinkedinCompaniesSearchData = {
2363
2282
  * Headquarters city or region, like New York.
2364
2283
  */
2365
2284
  location?: string;
2285
+ /**
2286
+ * Page number, starting at 1.
2287
+ */
2288
+ page?: number;
2366
2289
  };
2367
2290
  path?: never;
2368
2291
  query?: never;
@@ -2408,6 +2331,8 @@ type LinkedinCompaniesSearchResponses = {
2408
2331
  };
2409
2332
  position: number;
2410
2333
  }>;
2334
+ page?: number;
2335
+ hasMore?: boolean;
2411
2336
  };
2412
2337
  creditsUsed: number;
2413
2338
  requestId: string;
@@ -2567,10 +2492,6 @@ type LinkedinProfileResponses = {
2567
2492
  type LinkedinProfileResponse = LinkedinProfileResponses[keyof LinkedinProfileResponses];
2568
2493
  type LinkedinPostsData = {
2569
2494
  body: {
2570
- /**
2571
- * Return at most this many results (1-100).
2572
- */
2573
- limit?: number;
2574
2495
  profile?: string;
2575
2496
  company?: string;
2576
2497
  };
@@ -2613,10 +2534,6 @@ type LinkedinPostsResponses = {
2613
2534
  type LinkedinPostsResponse = LinkedinPostsResponses[keyof LinkedinPostsResponses];
2614
2535
  type ZillowSearchData = {
2615
2536
  body: {
2616
- /**
2617
- * Return at most this many results (1-100).
2618
- */
2619
- limit?: number;
2620
2537
  location: string;
2621
2538
  status?: "forSale" | "forRent" | "sold";
2622
2539
  minPrice?: number;
@@ -2627,9 +2544,9 @@ type ZillowSearchData = {
2627
2544
  sort?: "relevance" | "newest" | "priceHigh" | "priceLow";
2628
2545
  query?: string;
2629
2546
  /**
2630
- * The cursor from the previous response. Send it as is.
2547
+ * Page number, starting at 1.
2631
2548
  */
2632
- cursor?: string;
2549
+ page?: number;
2633
2550
  };
2634
2551
  path?: never;
2635
2552
  query?: never;
@@ -2653,6 +2570,7 @@ type ZillowSearchResponses = {
2653
2570
  200: {
2654
2571
  success: true;
2655
2572
  data: {
2573
+ total?: number;
2656
2574
  results: Array<{
2657
2575
  propertyId?: string;
2658
2576
  propertyUrl: string;
@@ -2689,8 +2607,9 @@ type ZillowSearchResponses = {
2689
2607
  price?: number;
2690
2608
  }>;
2691
2609
  }>;
2692
- total?: number;
2693
- cursor?: string;
2610
+ page: number;
2611
+ hasMore: boolean;
2612
+ totalPages?: number;
2694
2613
  };
2695
2614
  creditsUsed: number;
2696
2615
  requestId: string;
@@ -2780,18 +2699,14 @@ type ZillowPropertyResponses = {
2780
2699
  type ZillowPropertyResponse = ZillowPropertyResponses[keyof ZillowPropertyResponses];
2781
2700
  type UpworkSearchData = {
2782
2701
  body: {
2783
- /**
2784
- * Return at most this many results (1-100).
2785
- */
2786
- limit?: number;
2787
2702
  query?: string;
2788
2703
  sort?: "newest" | "relevance";
2789
2704
  jobType?: "hourly" | "fixed";
2790
2705
  experience?: "entry" | "intermediate" | "expert";
2791
2706
  /**
2792
- * The cursor from the previous response. Send it as is.
2707
+ * Page number, starting at 1.
2793
2708
  */
2794
- cursor?: string;
2709
+ page?: number;
2795
2710
  };
2796
2711
  path?: never;
2797
2712
  query?: never;
@@ -2815,6 +2730,7 @@ type UpworkSearchResponses = {
2815
2730
  200: {
2816
2731
  success: true;
2817
2732
  data: {
2733
+ total?: number;
2818
2734
  results: Array<{
2819
2735
  jobId?: string;
2820
2736
  jobUrl: string;
@@ -2830,8 +2746,9 @@ type UpworkSearchResponses = {
2830
2746
  durationWeeks?: number;
2831
2747
  publishedAt?: string;
2832
2748
  }>;
2833
- total?: number;
2834
- cursor?: string;
2749
+ page: number;
2750
+ hasMore: boolean;
2751
+ totalPages?: number;
2835
2752
  };
2836
2753
  creditsUsed: number;
2837
2754
  requestId: string;
@@ -2911,10 +2828,6 @@ type UpworkJobResponses = {
2911
2828
  type UpworkJobResponse = UpworkJobResponses[keyof UpworkJobResponses];
2912
2829
  type IndeedSearchData = {
2913
2830
  body: {
2914
- /**
2915
- * Return at most this many results (1-100).
2916
- */
2917
- limit?: number;
2918
2831
  query?: string;
2919
2832
  /**
2920
2833
  * City, region or postal code, e.g. Kansas City, MO. Only jobs within about 5 miles are returned, so a city on a state line stays in its own state.
@@ -3072,10 +2985,6 @@ type IndeedJobResponses = {
3072
2985
  type IndeedJobResponse = IndeedJobResponses[keyof IndeedJobResponses];
3073
2986
  type TripadvisorSearchData = {
3074
2987
  body: {
3075
- /**
3076
- * Return at most this many results (1-100).
3077
- */
3078
- limit?: number;
3079
2988
  query: string;
3080
2989
  type?: "all" | "hotels" | "restaurants" | "attractions" | "geos";
3081
2990
  };
@@ -3192,17 +3101,13 @@ type TripadvisorPlaceResponses = {
3192
3101
  type TripadvisorPlaceResponse = TripadvisorPlaceResponses[keyof TripadvisorPlaceResponses];
3193
3102
  type TripadvisorReviewsData = {
3194
3103
  body: {
3195
- /**
3196
- * Return at most this many results (1-100).
3197
- */
3198
- limit?: number;
3199
3104
  place: string;
3200
3105
  language?: string;
3201
3106
  ratings?: Array<number>;
3202
3107
  /**
3203
- * The cursor from the previous response. Send it as is.
3108
+ * Page number, starting at 1.
3204
3109
  */
3205
- cursor?: string;
3110
+ page?: number;
3206
3111
  };
3207
3112
  path?: never;
3208
3113
  query?: never;
@@ -3256,7 +3161,8 @@ type TripadvisorReviewsResponses = {
3256
3161
  ownerReplyDate?: string;
3257
3162
  ownerReplyAuthor?: string;
3258
3163
  }>;
3259
- cursor?: string;
3164
+ page: number;
3165
+ hasMore: boolean;
3260
3166
  };
3261
3167
  creditsUsed: number;
3262
3168
  requestId: string;
@@ -3265,10 +3171,6 @@ type TripadvisorReviewsResponses = {
3265
3171
  type TripadvisorReviewsResponse = TripadvisorReviewsResponses[keyof TripadvisorReviewsResponses];
3266
3172
  type GoogletravelFlightsData = {
3267
3173
  body: {
3268
- /**
3269
- * Return at most this many results (1-100).
3270
- */
3271
- limit?: number;
3272
3174
  /**
3273
3175
  * IATA airport code, e.g. JFK. Any case is accepted.
3274
3176
  */
@@ -3367,18 +3269,14 @@ type GoogletravelFlightsResponses = {
3367
3269
  type GoogletravelFlightsResponse = GoogletravelFlightsResponses[keyof GoogletravelFlightsResponses];
3368
3270
  type WalmartSearchData = {
3369
3271
  body: {
3370
- /**
3371
- * Return at most this many results (1-100).
3372
- */
3373
- limit?: number;
3374
3272
  query: string;
3375
3273
  sort?: "relevance" | "priceLow" | "priceHigh" | "bestSelling" | "highest" | "newest";
3376
3274
  minPrice?: number;
3377
3275
  maxPrice?: number;
3378
3276
  /**
3379
- * The cursor from the previous response. Send it as is.
3277
+ * Page number, starting at 1.
3380
3278
  */
3381
- cursor?: string;
3279
+ page?: number;
3382
3280
  };
3383
3281
  path?: never;
3384
3282
  query?: never;
@@ -3402,6 +3300,7 @@ type WalmartSearchResponses = {
3402
3300
  200: {
3403
3301
  success: true;
3404
3302
  data: {
3303
+ total?: number;
3405
3304
  results: Array<{
3406
3305
  productId?: string;
3407
3306
  productUrl: string;
@@ -3419,8 +3318,9 @@ type WalmartSearchResponses = {
3419
3318
  availability?: string;
3420
3319
  isSponsored: boolean;
3421
3320
  }>;
3422
- total?: number;
3423
- cursor?: string;
3321
+ page: number;
3322
+ hasMore: boolean;
3323
+ totalPages?: number;
3424
3324
  };
3425
3325
  creditsUsed: number;
3426
3326
  requestId: string;
@@ -3574,10 +3474,6 @@ type AppstoreAppResponses = {
3574
3474
  type AppstoreAppResponse = AppstoreAppResponses[keyof AppstoreAppResponses];
3575
3475
  type AppstoreSearchData = {
3576
3476
  body: {
3577
- /**
3578
- * Return at most this many results (1-100).
3579
- */
3580
- limit?: number;
3581
3477
  query: string;
3582
3478
  /**
3583
3479
  * ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
@@ -3646,10 +3542,6 @@ type AppstoreSearchResponses = {
3646
3542
  type AppstoreSearchResponse = AppstoreSearchResponses[keyof AppstoreSearchResponses];
3647
3543
  type AppstoreReviewsData = {
3648
3544
  body: {
3649
- /**
3650
- * Return at most this many results (1-100).
3651
- */
3652
- limit?: number;
3653
3545
  app: string;
3654
3546
  /**
3655
3547
  * ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
@@ -3657,9 +3549,9 @@ type AppstoreReviewsData = {
3657
3549
  country?: string;
3658
3550
  sort?: "newest" | "helpful" | "highest" | "lowest";
3659
3551
  /**
3660
- * The cursor from the previous response. Send it as is.
3552
+ * Page number, starting at 1.
3661
3553
  */
3662
- cursor?: string;
3554
+ page?: number;
3663
3555
  };
3664
3556
  path?: never;
3665
3557
  query?: never;
@@ -3692,7 +3584,8 @@ type AppstoreReviewsResponses = {
3692
3584
  publishedAt?: string;
3693
3585
  isEdited: boolean;
3694
3586
  }>;
3695
- cursor?: string;
3587
+ page: number;
3588
+ hasMore: boolean;
3696
3589
  };
3697
3590
  creditsUsed: number;
3698
3591
  requestId: string;
@@ -3701,10 +3594,6 @@ type AppstoreReviewsResponses = {
3701
3594
  type AppstoreReviewsResponse = AppstoreReviewsResponses[keyof AppstoreReviewsResponses];
3702
3595
  type AppstoreTopData = {
3703
3596
  body: {
3704
- /**
3705
- * Return at most this many results (1-100).
3706
- */
3707
- limit?: number;
3708
3597
  chart?: "free" | "paid" | "grossing";
3709
3598
  device?: "iphone" | "ipad" | "mac";
3710
3599
  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";
@@ -3837,10 +3726,6 @@ type GoogleplayAppResponses = {
3837
3726
  type GoogleplayAppResponse = GoogleplayAppResponses[keyof GoogleplayAppResponses];
3838
3727
  type GoogleplaySearchData = {
3839
3728
  body: {
3840
- /**
3841
- * Return at most this many results (1-100).
3842
- */
3843
- limit?: number;
3844
3729
  query: string;
3845
3730
  /**
3846
3731
  * ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
@@ -3895,10 +3780,6 @@ type GoogleplaySearchResponses = {
3895
3780
  type GoogleplaySearchResponse = GoogleplaySearchResponses[keyof GoogleplaySearchResponses];
3896
3781
  type GoogleplayReviewsData = {
3897
3782
  body: {
3898
- /**
3899
- * Return at most this many results (1-100).
3900
- */
3901
- limit?: number;
3902
3783
  app: string;
3903
3784
  /**
3904
3785
  * ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
@@ -3959,10 +3840,6 @@ type GoogleplayReviewsResponses = {
3959
3840
  type GoogleplayReviewsResponse = GoogleplayReviewsResponses[keyof GoogleplayReviewsResponses];
3960
3841
  type AirbnbSearchData = {
3961
3842
  body: {
3962
- /**
3963
- * Return at most this many results (1-100).
3964
- */
3965
- limit?: number;
3966
3843
  location: string;
3967
3844
  checkIn?: string;
3968
3845
  checkOut?: string;
@@ -3975,10 +3852,6 @@ type AirbnbSearchData = {
3975
3852
  * Highest average nightly rate in USD, before taxes and fees. Compare with pricePerNight, which includes them.
3976
3853
  */
3977
3854
  maxPrice?: number;
3978
- /**
3979
- * The cursor from the previous response. Send it as is.
3980
- */
3981
- cursor?: string;
3982
3855
  };
3983
3856
  path?: never;
3984
3857
  query?: never;
@@ -4039,7 +3912,6 @@ type AirbnbSearchResponses = {
4039
3912
  badges?: Array<string>;
4040
3913
  imageUrls?: Array<string>;
4041
3914
  }>;
4042
- cursor?: string;
4043
3915
  };
4044
3916
  creditsUsed: number;
4045
3917
  requestId: string;
@@ -4132,10 +4004,6 @@ type AirbnbListingResponses = {
4132
4004
  type AirbnbListingResponse = AirbnbListingResponses[keyof AirbnbListingResponses];
4133
4005
  type AirbnbCalendarData = {
4134
4006
  body: {
4135
- /**
4136
- * Return at most this many results (1-100).
4137
- */
4138
- limit?: number;
4139
4007
  listing: string;
4140
4008
  month?: string;
4141
4009
  };
@@ -4178,16 +4046,12 @@ type AirbnbCalendarResponses = {
4178
4046
  type AirbnbCalendarResponse = AirbnbCalendarResponses[keyof AirbnbCalendarResponses];
4179
4047
  type AirbnbReviewsData = {
4180
4048
  body: {
4181
- /**
4182
- * Return at most this many results (1-100).
4183
- */
4184
- limit?: number;
4185
4049
  listing: string;
4186
4050
  sort?: "relevance" | "newest" | "highest" | "lowest";
4187
4051
  /**
4188
- * The cursor from the previous response. Send it as is.
4052
+ * Page number, starting at 1.
4189
4053
  */
4190
- cursor?: string;
4054
+ page?: number;
4191
4055
  };
4192
4056
  path?: never;
4193
4057
  query?: never;
@@ -4211,6 +4075,7 @@ type AirbnbReviewsResponses = {
4211
4075
  200: {
4212
4076
  success: true;
4213
4077
  data: {
4078
+ total?: number;
4214
4079
  results: Array<{
4215
4080
  reviewId?: string;
4216
4081
  text?: string;
@@ -4224,8 +4089,8 @@ type AirbnbReviewsResponses = {
4224
4089
  authorAddress?: string;
4225
4090
  ownerReplyText?: string;
4226
4091
  }>;
4227
- total?: number;
4228
- cursor?: string;
4092
+ page: number;
4093
+ hasMore: boolean;
4229
4094
  };
4230
4095
  creditsUsed: number;
4231
4096
  requestId: string;
@@ -4234,10 +4099,6 @@ type AirbnbReviewsResponses = {
4234
4099
  type AirbnbReviewsResponse = AirbnbReviewsResponses[keyof AirbnbReviewsResponses];
4235
4100
  type RightmoveSearchData = {
4236
4101
  body: {
4237
- /**
4238
- * Return at most this many results (1-100).
4239
- */
4240
- limit?: number;
4241
4102
  location: string;
4242
4103
  status?: "forSale" | "forRent";
4243
4104
  minPrice?: number;
@@ -4246,9 +4107,9 @@ type RightmoveSearchData = {
4246
4107
  maxBedrooms?: number;
4247
4108
  sort?: "newest" | "oldest" | "priceHigh" | "priceLow";
4248
4109
  /**
4249
- * The cursor from the previous response. Send it as is.
4110
+ * Page number, starting at 1.
4250
4111
  */
4251
- cursor?: string;
4112
+ page?: number;
4252
4113
  };
4253
4114
  path?: never;
4254
4115
  query?: never;
@@ -4272,6 +4133,7 @@ type RightmoveSearchResponses = {
4272
4133
  200: {
4273
4134
  success: true;
4274
4135
  data: {
4136
+ total?: number;
4275
4137
  results: Array<{
4276
4138
  propertyId?: string;
4277
4139
  propertyUrl: string;
@@ -4307,8 +4169,8 @@ type RightmoveSearchResponses = {
4307
4169
  keyFeatures?: Array<string>;
4308
4170
  imageUrls?: Array<string>;
4309
4171
  }>;
4310
- total?: number;
4311
- cursor?: string;
4172
+ page: number;
4173
+ hasMore: boolean;
4312
4174
  };
4313
4175
  creditsUsed: number;
4314
4176
  requestId: string;
@@ -4397,10 +4259,6 @@ type RightmovePropertyResponses = {
4397
4259
  type RightmovePropertyResponse = RightmovePropertyResponses[keyof RightmovePropertyResponses];
4398
4260
  type ImmoscoutSearchData = {
4399
4261
  body: {
4400
- /**
4401
- * Return at most this many results (1-100).
4402
- */
4403
- limit?: number;
4404
4262
  location: string;
4405
4263
  type?: "apartmentRent" | "apartmentBuy" | "houseRent" | "houseBuy" | "land" | "flatShare" | "shortTerm";
4406
4264
  minPrice?: number;
@@ -4408,9 +4266,9 @@ type ImmoscoutSearchData = {
4408
4266
  minRooms?: number;
4409
4267
  sort?: "newest" | "priceLow" | "priceHigh" | "largest";
4410
4268
  /**
4411
- * The cursor from the previous response. Send it as is.
4269
+ * Page number, starting at 1.
4412
4270
  */
4413
- cursor?: string;
4271
+ page?: number;
4414
4272
  };
4415
4273
  path?: never;
4416
4274
  query?: never;
@@ -4434,6 +4292,7 @@ type ImmoscoutSearchResponses = {
4434
4292
  200: {
4435
4293
  success: true;
4436
4294
  data: {
4295
+ total?: number;
4437
4296
  results: Array<{
4438
4297
  listingId?: string;
4439
4298
  listingUrl: string;
@@ -4457,8 +4316,9 @@ type ImmoscoutSearchResponses = {
4457
4316
  isNew: boolean;
4458
4317
  imageUrl?: string;
4459
4318
  }>;
4460
- total?: number;
4461
- cursor?: string;
4319
+ page: number;
4320
+ hasMore: boolean;
4321
+ totalPages: number;
4462
4322
  };
4463
4323
  creditsUsed: number;
4464
4324
  requestId: string;
@@ -4537,10 +4397,6 @@ type ImmoscoutListingResponses = {
4537
4397
  type ImmoscoutListingResponse = ImmoscoutListingResponses[keyof ImmoscoutListingResponses];
4538
4398
  type PinterestSearchData = {
4539
4399
  body: {
4540
- /**
4541
- * Return at most this many results (1-100).
4542
- */
4543
- limit?: number;
4544
4400
  query: string;
4545
4401
  type?: "pins" | "videos";
4546
4402
  /**
@@ -4663,10 +4519,6 @@ type PinterestPinResponses = {
4663
4519
  type PinterestPinResponse = PinterestPinResponses[keyof PinterestPinResponses];
4664
4520
  type PinterestBoardData = {
4665
4521
  body: {
4666
- /**
4667
- * Return at most this many results (1-100).
4668
- */
4669
- limit?: number;
4670
4522
  board: string;
4671
4523
  /**
4672
4524
  * The cursor from the previous response. Send it as is.
@@ -4746,10 +4598,6 @@ type PinterestBoardResponses = {
4746
4598
  type PinterestBoardResponse = PinterestBoardResponses[keyof PinterestBoardResponses];
4747
4599
  type PinterestUserData = {
4748
4600
  body: {
4749
- /**
4750
- * Return at most this many results (1-100).
4751
- */
4752
- limit?: number;
4753
4601
  profile: string;
4754
4602
  /**
4755
4603
  * The cursor from the previous response. Send it as is.
@@ -4828,11 +4676,8 @@ type PinterestUserResponses = {
4828
4676
  type PinterestUserResponse = PinterestUserResponses[keyof PinterestUserResponses];
4829
4677
  type AdsSearchData = {
4830
4678
  body: {
4831
- /**
4832
- * Return at most this many results (1-100).
4833
- */
4834
- limit?: number;
4835
4679
  query: string;
4680
+ network: "meta";
4836
4681
  /**
4837
4682
  * ISO 3166-1 alpha-2 country code, or all. Any case is accepted.
4838
4683
  */
@@ -4846,12 +4691,8 @@ type AdsSearchData = {
4846
4691
  * The cursor from the previous response. Send it as is.
4847
4692
  */
4848
4693
  cursor?: string;
4849
- network: "meta";
4850
4694
  } | {
4851
- /**
4852
- * Return at most this many results (1-100).
4853
- */
4854
- limit?: number;
4695
+ network: "google";
4855
4696
  /**
4856
4697
  * A domain like nike.com. Google's library finds ads by domain or advertiser, not by keyword.
4857
4698
  */
@@ -4867,12 +4708,8 @@ type AdsSearchData = {
4867
4708
  * The cursor from the previous response. Send it as is.
4868
4709
  */
4869
4710
  cursor?: string;
4870
- network: "google";
4871
4711
  } | {
4872
- /**
4873
- * Return at most this many results (1-100).
4874
- */
4875
- limit?: number;
4712
+ network: "tiktok";
4876
4713
  query?: string;
4877
4714
  advertiser?: string;
4878
4715
  /**
@@ -4883,12 +4720,8 @@ type AdsSearchData = {
4883
4720
  * The cursor from the previous response. Send it as is.
4884
4721
  */
4885
4722
  cursor?: string;
4886
- network: "tiktok";
4887
4723
  } | {
4888
- /**
4889
- * Return at most this many results (1-100).
4890
- */
4891
- limit?: number;
4724
+ network: "linkedin";
4892
4725
  query?: string;
4893
4726
  advertiser?: string;
4894
4727
  /**
@@ -4900,12 +4733,8 @@ type AdsSearchData = {
4900
4733
  * The cursor from the previous response. Send it as is.
4901
4734
  */
4902
4735
  cursor?: string;
4903
- network: "linkedin";
4904
4736
  } | {
4905
- /**
4906
- * Return at most this many results (1-100).
4907
- */
4908
- limit?: number;
4737
+ network: "microsoft";
4909
4738
  query?: string;
4910
4739
  advertiser?: string;
4911
4740
  /**
@@ -4916,20 +4745,16 @@ type AdsSearchData = {
4916
4745
  * The cursor from the previous response. Send it as is.
4917
4746
  */
4918
4747
  cursor?: string;
4919
- network: "microsoft";
4920
4748
  } | {
4921
4749
  /**
4922
- * Return at most this many results (1-100).
4750
+ * EU country code like fr, or br or tr. Pinterest publishes ads for these countries only. Any case is accepted.
4923
4751
  */
4924
- limit?: number;
4752
+ country: string;
4753
+ network: "pinterest";
4925
4754
  /**
4926
4755
  * Not supported. Pinterest's ads library has no keyword search. Use advertiser to filter by advertiser name.
4927
4756
  */
4928
4757
  query?: string;
4929
- /**
4930
- * EU country code like fr, or br or tr. Pinterest publishes ads for these countries only. Any case is accepted.
4931
- */
4932
- country: string;
4933
4758
  /**
4934
4759
  * Advertiser name to filter by. Pinterest does not publish advertiser names on the ads themselves, so results carry no advertiser.
4935
4760
  */
@@ -4938,7 +4763,6 @@ type AdsSearchData = {
4938
4763
  * The cursor from the previous response. Send it as is.
4939
4764
  */
4940
4765
  cursor?: string;
4941
- network: "pinterest";
4942
4766
  };
4943
4767
  path?: never;
4944
4768
  query?: never;
@@ -5024,6 +4848,8 @@ type AdsSearchResponses = {
5024
4848
  }>;
5025
4849
  cursor?: string;
5026
4850
  } | {
4851
+ totalMin?: number;
4852
+ totalMax?: number;
5027
4853
  results?: Array<{
5028
4854
  adId?: string;
5029
4855
  adUrl: string;
@@ -5038,12 +4864,11 @@ type AdsSearchResponses = {
5038
4864
  previewUrl?: string;
5039
4865
  imageUrl?: string;
5040
4866
  }>;
5041
- totalMin?: number;
5042
- totalMax?: number;
5043
4867
  cursor?: string;
5044
4868
  } | {
5045
4869
  advertiserId?: string;
5046
4870
  advertiserName?: string;
4871
+ total?: number;
5047
4872
  results?: Array<{
5048
4873
  adId?: string;
5049
4874
  adUrl: string;
@@ -5057,9 +4882,9 @@ type AdsSearchResponses = {
5057
4882
  thumbnailUrl?: string;
5058
4883
  imageUrls?: Array<string>;
5059
4884
  }>;
5060
- total?: number;
5061
4885
  cursor?: string;
5062
4886
  } | {
4887
+ total?: number;
5063
4888
  results?: Array<{
5064
4889
  adId?: string;
5065
4890
  adUrl: string;
@@ -5073,9 +4898,9 @@ type AdsSearchResponses = {
5073
4898
  headline?: string;
5074
4899
  imageUrls?: Array<string>;
5075
4900
  }>;
5076
- total?: number;
5077
4901
  cursor?: string;
5078
4902
  } | {
4903
+ total?: number;
5079
4904
  results?: Array<{
5080
4905
  adId?: string;
5081
4906
  advertiserId?: string;
@@ -5086,7 +4911,6 @@ type AdsSearchResponses = {
5086
4911
  linkCaption?: string;
5087
4912
  imageUrls?: Array<string>;
5088
4913
  }>;
5089
- total?: number;
5090
4914
  cursor?: string;
5091
4915
  } | {
5092
4916
  results?: Array<{
@@ -5126,9 +4950,9 @@ type AdsAdData = {
5126
4950
  ad: string;
5127
4951
  network: "meta";
5128
4952
  } | {
5129
- advertiser?: string;
5130
4953
  ad: string;
5131
4954
  network: "google";
4955
+ advertiser?: string;
5132
4956
  } | {
5133
4957
  ad: string;
5134
4958
  network: "tiktok";
@@ -5400,21 +5224,13 @@ type AdsAdResponses = {
5400
5224
  type AdsAdResponse = AdsAdResponses[keyof AdsAdResponses];
5401
5225
  type AdsAdvertisersData = {
5402
5226
  body: {
5403
- /**
5404
- * Return at most this many results (1-100).
5405
- */
5406
- limit?: number;
5407
5227
  query: string;
5228
+ network: "google";
5408
5229
  /**
5409
5230
  * Country code like de. Advertisers are matched on ads shown in this country, wherever the advertiser is based. Any case is accepted.
5410
5231
  */
5411
5232
  country?: string;
5412
- network: "google";
5413
5233
  } | {
5414
- /**
5415
- * Return at most this many results (1-100).
5416
- */
5417
- limit?: number;
5418
5234
  query: string;
5419
5235
  network: "microsoft";
5420
5236
  };
@@ -5440,6 +5256,7 @@ type AdsAdvertisersResponses = {
5440
5256
  200: {
5441
5257
  success: true;
5442
5258
  data: {
5259
+ domains?: Array<string>;
5443
5260
  results?: Array<{
5444
5261
  advertiserId?: string;
5445
5262
  advertiserName?: string;
@@ -5449,15 +5266,14 @@ type AdsAdvertisersResponses = {
5449
5266
  adsMin?: number;
5450
5267
  adsMax?: number;
5451
5268
  }>;
5452
- domains?: Array<string>;
5453
5269
  } | {
5270
+ total?: number;
5454
5271
  results?: Array<{
5455
5272
  advertiserId?: string;
5456
5273
  advertiserName?: string;
5457
5274
  advertiserCountry?: string;
5458
5275
  isVerified: boolean;
5459
5276
  }>;
5460
- total?: number;
5461
5277
  };
5462
5278
  creditsUsed: number;
5463
5279
  requestId: string;
@@ -5523,27 +5339,16 @@ declare function bindSurface(call: Caller): {
5523
5339
  endpoints: (options?: RequestOptions) => Promise<EndpointCatalog>;
5524
5340
  google: {
5525
5341
  search: (body: {
5526
- limit?: number;
5527
5342
  query: string;
5528
5343
  country?: string;
5529
5344
  language?: string;
5530
5345
  includeDomains?: Array<string>;
5531
5346
  excludeDomains?: Array<string>;
5532
5347
  within?: "day" | "week" | "month" | "year" | "all";
5348
+ page?: number;
5533
5349
  }, options?: RequestOptions) => Promise<{
5534
5350
  success: true;
5535
5351
  data: {
5536
- results: Array<{
5537
- url: string;
5538
- title: string;
5539
- description?: string;
5540
- date?: string;
5541
- sitelinks?: Array<{
5542
- title: string;
5543
- url: string;
5544
- }>;
5545
- position: number;
5546
- }>;
5547
5352
  aiOverview?: {
5548
5353
  text: string;
5549
5354
  sources?: Array<{
@@ -5563,6 +5368,17 @@ declare function bindSurface(call: Caller): {
5563
5368
  [key: string]: string;
5564
5369
  };
5565
5370
  };
5371
+ results: Array<{
5372
+ url: string;
5373
+ title: string;
5374
+ description?: string;
5375
+ date?: string;
5376
+ sitelinks?: Array<{
5377
+ title: string;
5378
+ url: string;
5379
+ }>;
5380
+ position: number;
5381
+ }>;
5566
5382
  peopleAlsoAsk?: Array<{
5567
5383
  question: string;
5568
5384
  answer?: string;
@@ -5570,13 +5386,13 @@ declare function bindSurface(call: Caller): {
5570
5386
  url?: string;
5571
5387
  }>;
5572
5388
  relatedSearches?: Array<string>;
5573
- isPartial?: true;
5389
+ page?: number;
5390
+ hasMore?: boolean;
5574
5391
  };
5575
5392
  creditsUsed: number;
5576
5393
  requestId: string;
5577
5394
  }>;
5578
5395
  news: (body?: {
5579
- limit?: number;
5580
5396
  query?: string;
5581
5397
  topic?: "world" | "nation" | "business" | "technology" | "entertainment" | "sports" | "science" | "health";
5582
5398
  country?: string;
@@ -5584,6 +5400,7 @@ declare function bindSurface(call: Caller): {
5584
5400
  includeDomains?: Array<string>;
5585
5401
  excludeDomains?: Array<string>;
5586
5402
  within?: "hour" | "day" | "week" | "month" | "year" | "all";
5403
+ page?: number;
5587
5404
  } | undefined, options?: RequestOptions) => Promise<{
5588
5405
  success: true;
5589
5406
  data: {
@@ -5595,13 +5412,13 @@ declare function bindSurface(call: Caller): {
5595
5412
  publishedAt?: string;
5596
5413
  position: number;
5597
5414
  }>;
5598
- isPartial?: true;
5415
+ page: number;
5416
+ hasMore?: boolean;
5599
5417
  };
5600
5418
  creditsUsed: number;
5601
5419
  requestId: string;
5602
5420
  }>;
5603
5421
  images: (body: {
5604
- limit?: number;
5605
5422
  query: string;
5606
5423
  country?: string;
5607
5424
  language?: string;
@@ -5640,10 +5457,10 @@ declare function bindSurface(call: Caller): {
5640
5457
  requestId: string;
5641
5458
  }>;
5642
5459
  shopping: (body: {
5643
- limit?: number;
5644
5460
  query: string;
5645
5461
  country?: string;
5646
5462
  language?: string;
5463
+ page?: number;
5647
5464
  }, options?: RequestOptions) => Promise<{
5648
5465
  success: true;
5649
5466
  data: {
@@ -5659,6 +5476,8 @@ declare function bindSurface(call: Caller): {
5659
5476
  reviews?: number;
5660
5477
  position: number;
5661
5478
  }>;
5479
+ page: number;
5480
+ hasMore: boolean;
5662
5481
  };
5663
5482
  creditsUsed: number;
5664
5483
  requestId: string;
@@ -5666,7 +5485,6 @@ declare function bindSurface(call: Caller): {
5666
5485
  };
5667
5486
  youtube: {
5668
5487
  search: (body: {
5669
- limit?: number;
5670
5488
  query: string;
5671
5489
  type?: "videos" | "all" | "channels" | "playlists" | "shorts";
5672
5490
  within?: "hour" | "day" | "week" | "month" | "year" | "all";
@@ -5743,7 +5561,6 @@ declare function bindSurface(call: Caller): {
5743
5561
  requestId: string;
5744
5562
  }>;
5745
5563
  comments: (body: {
5746
- limit?: number;
5747
5564
  video: string;
5748
5565
  comment?: string;
5749
5566
  sort?: "top" | "newest";
@@ -5773,7 +5590,6 @@ declare function bindSurface(call: Caller): {
5773
5590
  requestId: string;
5774
5591
  }>;
5775
5592
  channel: (body: {
5776
- limit?: number;
5777
5593
  channel: string;
5778
5594
  tab?: "videos" | "shorts" | "live" | "playlists" | "posts";
5779
5595
  cursor?: string;
@@ -5838,7 +5654,6 @@ declare function bindSurface(call: Caller): {
5838
5654
  requestId: string;
5839
5655
  }>;
5840
5656
  playlist: (body: {
5841
- limit?: number;
5842
5657
  playlist: string;
5843
5658
  cursor?: string;
5844
5659
  }, options?: RequestOptions) => Promise<{
@@ -5902,7 +5717,6 @@ declare function bindSurface(call: Caller): {
5902
5717
  }>;
5903
5718
  reddit: {
5904
5719
  search: (body: {
5905
- limit?: number;
5906
5720
  query: string;
5907
5721
  type?: "posts" | "subreddits" | "users";
5908
5722
  subreddit?: string;
@@ -6024,7 +5838,6 @@ declare function bindSurface(call: Caller): {
6024
5838
  requestId: string;
6025
5839
  }>;
6026
5840
  subreddit: (body: {
6027
- limit?: number;
6028
5841
  subreddit: string;
6029
5842
  sort?: "hot" | "newest" | "top";
6030
5843
  within?: "hour" | "day" | "week" | "month" | "year" | "all";
@@ -6083,7 +5896,6 @@ declare function bindSurface(call: Caller): {
6083
5896
  requestId: string;
6084
5897
  }>;
6085
5898
  user: (body: {
6086
- limit?: number;
6087
5899
  profile: string;
6088
5900
  tab?: "overview" | "posts" | "comments";
6089
5901
  sort?: "newest" | "hot" | "top";
@@ -6147,7 +5959,6 @@ declare function bindSurface(call: Caller): {
6147
5959
  requestId: string;
6148
5960
  }>;
6149
5961
  domain: (body: {
6150
- limit?: number;
6151
5962
  domain: string;
6152
5963
  sort?: "hot" | "newest" | "top";
6153
5964
  cursor?: string;
@@ -6194,10 +6005,8 @@ declare function bindSurface(call: Caller): {
6194
6005
  };
6195
6006
  maps: {
6196
6007
  search: (body: {
6197
- limit?: number;
6198
6008
  query: string;
6199
6009
  location: string;
6200
- cursor?: string;
6201
6010
  country?: string;
6202
6011
  language?: string;
6203
6012
  }, options?: RequestOptions) => Promise<{
@@ -6225,7 +6034,6 @@ declare function bindSurface(call: Caller): {
6225
6034
  reservationUrl?: string;
6226
6035
  attributes?: Array<string>;
6227
6036
  }>;
6228
- cursor?: string;
6229
6037
  };
6230
6038
  creditsUsed: number;
6231
6039
  requestId: string;
@@ -6262,11 +6070,10 @@ declare function bindSurface(call: Caller): {
6262
6070
  requestId: string;
6263
6071
  }>;
6264
6072
  reviews: (body: {
6265
- limit?: number;
6266
6073
  place: string;
6267
6074
  sort?: "relevance" | "newest" | "highest" | "lowest";
6268
- cursor?: string;
6269
6075
  language?: string;
6076
+ cursor?: string;
6270
6077
  }, options?: RequestOptions) => Promise<{
6271
6078
  success: true;
6272
6079
  data: {
@@ -6300,7 +6107,6 @@ declare function bindSurface(call: Caller): {
6300
6107
  };
6301
6108
  instagram: {
6302
6109
  profile: (body: {
6303
- limit?: number;
6304
6110
  profile: string;
6305
6111
  cursor?: string;
6306
6112
  }, options?: RequestOptions) => Promise<{
@@ -6414,7 +6220,6 @@ declare function bindSurface(call: Caller): {
6414
6220
  requestId: string;
6415
6221
  }>;
6416
6222
  comments: (body: {
6417
- limit?: number;
6418
6223
  post: string;
6419
6224
  comment?: string;
6420
6225
  cursor?: string;
@@ -6443,7 +6248,6 @@ declare function bindSurface(call: Caller): {
6443
6248
  };
6444
6249
  tiktok: {
6445
6250
  profile: (body: {
6446
- limit?: number;
6447
6251
  profile: string;
6448
6252
  cursor?: string;
6449
6253
  }, options?: RequestOptions) => Promise<{
@@ -6537,7 +6341,6 @@ declare function bindSurface(call: Caller): {
6537
6341
  requestId: string;
6538
6342
  }>;
6539
6343
  hashtag: (body: {
6540
- limit?: number;
6541
6344
  hashtag: string;
6542
6345
  cursor?: string;
6543
6346
  }, options?: RequestOptions) => Promise<{
@@ -6578,7 +6381,6 @@ declare function bindSurface(call: Caller): {
6578
6381
  requestId: string;
6579
6382
  }>;
6580
6383
  comments: (body: {
6581
- limit?: number;
6582
6384
  video: string;
6583
6385
  comment?: string;
6584
6386
  cursor?: string;
@@ -6603,7 +6405,6 @@ declare function bindSurface(call: Caller): {
6603
6405
  requestId: string;
6604
6406
  }>;
6605
6407
  search: (body: {
6606
- limit?: number;
6607
6408
  query: string;
6608
6409
  type?: "videos" | "users";
6609
6410
  cursor?: string;
@@ -6658,8 +6459,7 @@ declare function bindSurface(call: Caller): {
6658
6459
  meta: {
6659
6460
  ads: {
6660
6461
  page: (body: {
6661
- limit?: number;
6662
- page: string;
6462
+ advertiser: string;
6663
6463
  country?: string;
6664
6464
  status?: "active" | "inactive" | "all";
6665
6465
  mediaType?: "image" | "video" | "text";
@@ -6722,11 +6522,10 @@ declare function bindSurface(call: Caller): {
6722
6522
  linkedin: {
6723
6523
  jobs: {
6724
6524
  search: (body?: {
6725
- limit?: number;
6726
6525
  query?: string;
6727
6526
  location?: string;
6728
6527
  within?: "day" | "week" | "month" | "all";
6729
- cursor?: string;
6528
+ page?: number;
6730
6529
  } | undefined, options?: RequestOptions) => Promise<{
6731
6530
  success: true;
6732
6531
  data: {
@@ -6747,7 +6546,8 @@ declare function bindSurface(call: Caller): {
6747
6546
  isEasyApply?: boolean;
6748
6547
  insight?: string;
6749
6548
  }>;
6750
- cursor?: string;
6549
+ page: number;
6550
+ hasMore: boolean;
6751
6551
  };
6752
6552
  creditsUsed: number;
6753
6553
  requestId: string;
@@ -6785,11 +6585,11 @@ declare function bindSurface(call: Caller): {
6785
6585
  };
6786
6586
  people: {
6787
6587
  search: (body?: {
6788
- limit?: number;
6789
6588
  query?: string;
6790
6589
  title?: string;
6791
6590
  company?: string;
6792
6591
  location?: string;
6592
+ page?: number;
6793
6593
  } | undefined, options?: RequestOptions) => Promise<{
6794
6594
  success: true;
6795
6595
  data: {
@@ -6825,6 +6625,8 @@ declare function bindSurface(call: Caller): {
6825
6625
  };
6826
6626
  position: number;
6827
6627
  }>;
6628
+ page?: number;
6629
+ hasMore?: boolean;
6828
6630
  };
6829
6631
  creditsUsed: number;
6830
6632
  requestId: string;
@@ -6832,10 +6634,10 @@ declare function bindSurface(call: Caller): {
6832
6634
  };
6833
6635
  companies: {
6834
6636
  search: (body?: {
6835
- limit?: number;
6836
6637
  query?: string;
6837
6638
  industry?: string;
6838
6639
  location?: string;
6640
+ page?: number;
6839
6641
  } | undefined, options?: RequestOptions) => Promise<{
6840
6642
  success: true;
6841
6643
  data: {
@@ -6861,6 +6663,8 @@ declare function bindSurface(call: Caller): {
6861
6663
  };
6862
6664
  position: number;
6863
6665
  }>;
6666
+ page?: number;
6667
+ hasMore?: boolean;
6864
6668
  };
6865
6669
  creditsUsed: number;
6866
6670
  requestId: string;
@@ -6919,7 +6723,6 @@ declare function bindSurface(call: Caller): {
6919
6723
  requestId: string;
6920
6724
  }>;
6921
6725
  posts: (body?: {
6922
- limit?: number;
6923
6726
  profile?: string;
6924
6727
  company?: string;
6925
6728
  } | undefined, options?: RequestOptions) => Promise<{
@@ -6941,7 +6744,6 @@ declare function bindSurface(call: Caller): {
6941
6744
  };
6942
6745
  zillow: {
6943
6746
  search: (body: {
6944
- limit?: number;
6945
6747
  location: string;
6946
6748
  status?: "forSale" | "forRent" | "sold";
6947
6749
  minPrice?: number;
@@ -6951,10 +6753,11 @@ declare function bindSurface(call: Caller): {
6951
6753
  homeTypes?: Array<"house" | "townhouse" | "multiFamily" | "condo" | "land" | "apartment" | "manufactured">;
6952
6754
  sort?: "relevance" | "newest" | "priceHigh" | "priceLow";
6953
6755
  query?: string;
6954
- cursor?: string;
6756
+ page?: number;
6955
6757
  }, options?: RequestOptions) => Promise<{
6956
6758
  success: true;
6957
6759
  data: {
6760
+ total?: number;
6958
6761
  results: Array<{
6959
6762
  propertyId?: string;
6960
6763
  propertyUrl: string;
@@ -6988,8 +6791,9 @@ declare function bindSurface(call: Caller): {
6988
6791
  price?: number;
6989
6792
  }>;
6990
6793
  }>;
6991
- total?: number;
6992
- cursor?: string;
6794
+ page: number;
6795
+ hasMore: boolean;
6796
+ totalPages?: number;
6993
6797
  };
6994
6798
  creditsUsed: number;
6995
6799
  requestId: string;
@@ -7052,15 +6856,15 @@ declare function bindSurface(call: Caller): {
7052
6856
  };
7053
6857
  upwork: {
7054
6858
  search: (body?: {
7055
- limit?: number;
7056
6859
  query?: string;
7057
6860
  sort?: "newest" | "relevance";
7058
6861
  jobType?: "hourly" | "fixed";
7059
6862
  experience?: "entry" | "intermediate" | "expert";
7060
- cursor?: string;
6863
+ page?: number;
7061
6864
  } | undefined, options?: RequestOptions) => Promise<{
7062
6865
  success: true;
7063
6866
  data: {
6867
+ total?: number;
7064
6868
  results: Array<{
7065
6869
  jobId?: string;
7066
6870
  jobUrl: string;
@@ -7076,8 +6880,9 @@ declare function bindSurface(call: Caller): {
7076
6880
  durationWeeks?: number;
7077
6881
  publishedAt?: string;
7078
6882
  }>;
7079
- total?: number;
7080
- cursor?: string;
6883
+ page: number;
6884
+ hasMore: boolean;
6885
+ totalPages?: number;
7081
6886
  };
7082
6887
  creditsUsed: number;
7083
6888
  requestId: string;
@@ -7133,7 +6938,6 @@ declare function bindSurface(call: Caller): {
7133
6938
  };
7134
6939
  indeed: {
7135
6940
  search: (body?: {
7136
- limit?: number;
7137
6941
  query?: string;
7138
6942
  location?: string;
7139
6943
  country?: "us" | "gb" | "ca" | "au" | "nz" | "ie" | "in" | "sg" | "my" | "ph" | "za" | "ng" | "ae" | "sa" | "qa" | "kw" | "bh" | "om" | "pk" | "hk" | "jp" | "kr" | "tw" | "cn" | "id" | "th" | "vn" | "de" | "at" | "ch" | "fr" | "be" | "nl" | "lu" | "es" | "pt" | "it" | "gr" | "mt" | "cy" | "pl" | "cz" | "sk" | "hu" | "ro" | "bg" | "hr" | "si" | "ee" | "lv" | "lt" | "fi" | "se" | "no" | "dk" | "ua" | "tr" | "il" | "eg" | "ma" | "mx" | "br" | "ar" | "cl" | "co" | "pe" | "ec" | "uy" | "ve" | "cr" | "pa";
@@ -7232,7 +7036,6 @@ declare function bindSurface(call: Caller): {
7232
7036
  };
7233
7037
  tripadvisor: {
7234
7038
  search: (body: {
7235
- limit?: number;
7236
7039
  query: string;
7237
7040
  type?: "all" | "hotels" | "restaurants" | "attractions" | "geos";
7238
7041
  }, options?: RequestOptions) => Promise<{
@@ -7303,11 +7106,10 @@ declare function bindSurface(call: Caller): {
7303
7106
  requestId: string;
7304
7107
  }>;
7305
7108
  reviews: (body: {
7306
- limit?: number;
7307
7109
  place: string;
7308
7110
  language?: string;
7309
7111
  ratings?: Array<number>;
7310
- cursor?: string;
7112
+ page?: number;
7311
7113
  }, options?: RequestOptions) => Promise<{
7312
7114
  success: true;
7313
7115
  data: {
@@ -7341,7 +7143,8 @@ declare function bindSurface(call: Caller): {
7341
7143
  ownerReplyDate?: string;
7342
7144
  ownerReplyAuthor?: string;
7343
7145
  }>;
7344
- cursor?: string;
7146
+ page: number;
7147
+ hasMore: boolean;
7345
7148
  };
7346
7149
  creditsUsed: number;
7347
7150
  requestId: string;
@@ -7349,7 +7152,6 @@ declare function bindSurface(call: Caller): {
7349
7152
  };
7350
7153
  googletravel: {
7351
7154
  flights: (body: {
7352
- limit?: number;
7353
7155
  origin: string;
7354
7156
  destination: string;
7355
7157
  departDate: string;
@@ -7400,15 +7202,15 @@ declare function bindSurface(call: Caller): {
7400
7202
  };
7401
7203
  walmart: {
7402
7204
  search: (body: {
7403
- limit?: number;
7404
7205
  query: string;
7405
7206
  sort?: "relevance" | "priceLow" | "priceHigh" | "bestSelling" | "highest" | "newest";
7406
7207
  minPrice?: number;
7407
7208
  maxPrice?: number;
7408
- cursor?: string;
7209
+ page?: number;
7409
7210
  }, options?: RequestOptions) => Promise<{
7410
7211
  success: true;
7411
7212
  data: {
7213
+ total?: number;
7412
7214
  results: Array<{
7413
7215
  productId?: string;
7414
7216
  productUrl: string;
@@ -7423,8 +7225,9 @@ declare function bindSurface(call: Caller): {
7423
7225
  availability?: string;
7424
7226
  isSponsored: boolean;
7425
7227
  }>;
7426
- total?: number;
7427
- cursor?: string;
7228
+ page: number;
7229
+ hasMore: boolean;
7230
+ totalPages?: number;
7428
7231
  };
7429
7232
  creditsUsed: number;
7430
7233
  requestId: string;
@@ -7525,7 +7328,6 @@ declare function bindSurface(call: Caller): {
7525
7328
  requestId: string;
7526
7329
  }>;
7527
7330
  search: (body: {
7528
- limit?: number;
7529
7331
  query: string;
7530
7332
  country?: string;
7531
7333
  device?: "iphone" | "ipad" | "mac";
@@ -7568,11 +7370,10 @@ declare function bindSurface(call: Caller): {
7568
7370
  requestId: string;
7569
7371
  }>;
7570
7372
  reviews: (body: {
7571
- limit?: number;
7572
7373
  app: string;
7573
7374
  country?: string;
7574
7375
  sort?: "newest" | "helpful" | "highest" | "lowest";
7575
- cursor?: string;
7376
+ page?: number;
7576
7377
  }, options?: RequestOptions) => Promise<{
7577
7378
  success: true;
7578
7379
  data: {
@@ -7585,13 +7386,13 @@ declare function bindSurface(call: Caller): {
7585
7386
  publishedAt?: string;
7586
7387
  isEdited: boolean;
7587
7388
  }>;
7588
- cursor?: string;
7389
+ page: number;
7390
+ hasMore: boolean;
7589
7391
  };
7590
7392
  creditsUsed: number;
7591
7393
  requestId: string;
7592
7394
  }>;
7593
7395
  top: (body?: {
7594
- limit?: number;
7595
7396
  chart?: "free" | "paid" | "grossing";
7596
7397
  device?: "iphone" | "ipad" | "mac";
7597
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";
@@ -7671,7 +7472,6 @@ declare function bindSurface(call: Caller): {
7671
7472
  requestId: string;
7672
7473
  }>;
7673
7474
  search: (body: {
7674
- limit?: number;
7675
7475
  query: string;
7676
7476
  country?: string;
7677
7477
  language?: string;
@@ -7697,7 +7497,6 @@ declare function bindSurface(call: Caller): {
7697
7497
  requestId: string;
7698
7498
  }>;
7699
7499
  reviews: (body: {
7700
- limit?: number;
7701
7500
  app: string;
7702
7501
  country?: string;
7703
7502
  language?: string;
@@ -7728,14 +7527,12 @@ declare function bindSurface(call: Caller): {
7728
7527
  };
7729
7528
  airbnb: {
7730
7529
  search: (body: {
7731
- limit?: number;
7732
7530
  location: string;
7733
7531
  checkIn?: string;
7734
7532
  checkOut?: string;
7735
7533
  adults?: number;
7736
7534
  minPrice?: number;
7737
7535
  maxPrice?: number;
7738
- cursor?: string;
7739
7536
  }, options?: RequestOptions) => Promise<{
7740
7537
  success: true;
7741
7538
  data: {
@@ -7761,7 +7558,6 @@ declare function bindSurface(call: Caller): {
7761
7558
  badges?: Array<string>;
7762
7559
  imageUrls?: Array<string>;
7763
7560
  }>;
7764
- cursor?: string;
7765
7561
  };
7766
7562
  creditsUsed: number;
7767
7563
  requestId: string;
@@ -7828,7 +7624,6 @@ declare function bindSurface(call: Caller): {
7828
7624
  requestId: string;
7829
7625
  }>;
7830
7626
  calendar: (body: {
7831
- limit?: number;
7832
7627
  listing: string;
7833
7628
  month?: string;
7834
7629
  }, options?: RequestOptions) => Promise<{
@@ -7848,13 +7643,13 @@ declare function bindSurface(call: Caller): {
7848
7643
  requestId: string;
7849
7644
  }>;
7850
7645
  reviews: (body: {
7851
- limit?: number;
7852
7646
  listing: string;
7853
7647
  sort?: "relevance" | "newest" | "highest" | "lowest";
7854
- cursor?: string;
7648
+ page?: number;
7855
7649
  }, options?: RequestOptions) => Promise<{
7856
7650
  success: true;
7857
7651
  data: {
7652
+ total?: number;
7858
7653
  results: Array<{
7859
7654
  reviewId?: string;
7860
7655
  text?: string;
@@ -7868,8 +7663,8 @@ declare function bindSurface(call: Caller): {
7868
7663
  authorAddress?: string;
7869
7664
  ownerReplyText?: string;
7870
7665
  }>;
7871
- total?: number;
7872
- cursor?: string;
7666
+ page: number;
7667
+ hasMore: boolean;
7873
7668
  };
7874
7669
  creditsUsed: number;
7875
7670
  requestId: string;
@@ -7877,7 +7672,6 @@ declare function bindSurface(call: Caller): {
7877
7672
  };
7878
7673
  rightmove: {
7879
7674
  search: (body: {
7880
- limit?: number;
7881
7675
  location: string;
7882
7676
  status?: "forSale" | "forRent";
7883
7677
  minPrice?: number;
@@ -7885,10 +7679,11 @@ declare function bindSurface(call: Caller): {
7885
7679
  minBedrooms?: number;
7886
7680
  maxBedrooms?: number;
7887
7681
  sort?: "newest" | "oldest" | "priceHigh" | "priceLow";
7888
- cursor?: string;
7682
+ page?: number;
7889
7683
  }, options?: RequestOptions) => Promise<{
7890
7684
  success: true;
7891
7685
  data: {
7686
+ total?: number;
7892
7687
  results: Array<{
7893
7688
  propertyId?: string;
7894
7689
  propertyUrl: string;
@@ -7918,8 +7713,8 @@ declare function bindSurface(call: Caller): {
7918
7713
  keyFeatures?: Array<string>;
7919
7714
  imageUrls?: Array<string>;
7920
7715
  }>;
7921
- total?: number;
7922
- cursor?: string;
7716
+ page: number;
7717
+ hasMore: boolean;
7923
7718
  };
7924
7719
  creditsUsed: number;
7925
7720
  requestId: string;
@@ -7978,17 +7773,17 @@ declare function bindSurface(call: Caller): {
7978
7773
  };
7979
7774
  immoscout: {
7980
7775
  search: (body: {
7981
- limit?: number;
7982
7776
  location: string;
7983
7777
  type?: "apartmentRent" | "apartmentBuy" | "houseRent" | "houseBuy" | "land" | "flatShare" | "shortTerm";
7984
7778
  minPrice?: number;
7985
7779
  maxPrice?: number;
7986
7780
  minRooms?: number;
7987
7781
  sort?: "newest" | "priceLow" | "priceHigh" | "largest";
7988
- cursor?: string;
7782
+ page?: number;
7989
7783
  }, options?: RequestOptions) => Promise<{
7990
7784
  success: true;
7991
7785
  data: {
7786
+ total?: number;
7992
7787
  results: Array<{
7993
7788
  listingId?: string;
7994
7789
  listingUrl: string;
@@ -8009,8 +7804,9 @@ declare function bindSurface(call: Caller): {
8009
7804
  isNew: boolean;
8010
7805
  imageUrl?: string;
8011
7806
  }>;
8012
- total?: number;
8013
- cursor?: string;
7807
+ page: number;
7808
+ hasMore: boolean;
7809
+ totalPages: number;
8014
7810
  };
8015
7811
  creditsUsed: number;
8016
7812
  requestId: string;
@@ -8062,7 +7858,6 @@ declare function bindSurface(call: Caller): {
8062
7858
  };
8063
7859
  pinterest: {
8064
7860
  search: (body: {
8065
- limit?: number;
8066
7861
  query: string;
8067
7862
  type?: "pins" | "videos";
8068
7863
  cursor?: string;
@@ -8136,7 +7931,6 @@ declare function bindSurface(call: Caller): {
8136
7931
  requestId: string;
8137
7932
  }>;
8138
7933
  board: (body: {
8139
- limit?: number;
8140
7934
  board: string;
8141
7935
  cursor?: string;
8142
7936
  }, options?: RequestOptions) => Promise<{
@@ -8190,7 +7984,6 @@ declare function bindSurface(call: Caller): {
8190
7984
  requestId: string;
8191
7985
  }>;
8192
7986
  user: (body: {
8193
- limit?: number;
8194
7987
  profile: string;
8195
7988
  cursor?: string;
8196
7989
  }, options?: RequestOptions) => Promise<{
@@ -8245,51 +8038,45 @@ declare function bindSurface(call: Caller): {
8245
8038
  };
8246
8039
  ads: {
8247
8040
  search: (body: {
8248
- limit?: number;
8249
8041
  query: string;
8042
+ network: "meta";
8250
8043
  country?: string;
8251
8044
  status?: "active" | "inactive" | "all";
8252
8045
  mediaType?: "image" | "video" | "text";
8253
8046
  cursor?: string;
8254
- network: "meta";
8255
8047
  } | {
8256
- limit?: number;
8048
+ network: "google";
8257
8049
  query?: string;
8258
8050
  advertiser?: string;
8259
8051
  domain?: string;
8260
8052
  country?: string;
8261
8053
  mediaType?: "text" | "image" | "video";
8262
8054
  cursor?: string;
8263
- network: "google";
8264
8055
  } | {
8265
- limit?: number;
8056
+ network: "tiktok";
8266
8057
  query?: string;
8267
8058
  advertiser?: string;
8268
8059
  country?: string;
8269
8060
  cursor?: string;
8270
- network: "tiktok";
8271
8061
  } | {
8272
- limit?: number;
8062
+ network: "linkedin";
8273
8063
  query?: string;
8274
8064
  advertiser?: string;
8275
8065
  country?: string;
8276
8066
  within?: "month" | "year" | "all";
8277
8067
  cursor?: string;
8278
- network: "linkedin";
8279
8068
  } | {
8280
- limit?: number;
8069
+ network: "microsoft";
8281
8070
  query?: string;
8282
8071
  advertiser?: string;
8283
8072
  country?: string;
8284
8073
  cursor?: string;
8285
- network: "microsoft";
8286
8074
  } | {
8287
- limit?: number;
8288
- query?: string;
8289
8075
  country: string;
8076
+ network: "pinterest";
8077
+ query?: string;
8290
8078
  advertiser?: string;
8291
8079
  cursor?: string;
8292
- network: "pinterest";
8293
8080
  }, options?: RequestOptions) => Promise<{
8294
8081
  success: true;
8295
8082
  data: {
@@ -8340,6 +8127,8 @@ declare function bindSurface(call: Caller): {
8340
8127
  }>;
8341
8128
  cursor?: string;
8342
8129
  } | {
8130
+ totalMin?: number;
8131
+ totalMax?: number;
8343
8132
  results?: Array<{
8344
8133
  adId?: string;
8345
8134
  adUrl: string;
@@ -8354,12 +8143,11 @@ declare function bindSurface(call: Caller): {
8354
8143
  previewUrl?: string;
8355
8144
  imageUrl?: string;
8356
8145
  }>;
8357
- totalMin?: number;
8358
- totalMax?: number;
8359
8146
  cursor?: string;
8360
8147
  } | {
8361
8148
  advertiserId?: string;
8362
8149
  advertiserName?: string;
8150
+ total?: number;
8363
8151
  results?: Array<{
8364
8152
  adId?: string;
8365
8153
  adUrl: string;
@@ -8373,9 +8161,9 @@ declare function bindSurface(call: Caller): {
8373
8161
  thumbnailUrl?: string;
8374
8162
  imageUrls?: Array<string>;
8375
8163
  }>;
8376
- total?: number;
8377
8164
  cursor?: string;
8378
8165
  } | {
8166
+ total?: number;
8379
8167
  results?: Array<{
8380
8168
  adId?: string;
8381
8169
  adUrl: string;
@@ -8389,9 +8177,9 @@ declare function bindSurface(call: Caller): {
8389
8177
  headline?: string;
8390
8178
  imageUrls?: Array<string>;
8391
8179
  }>;
8392
- total?: number;
8393
8180
  cursor?: string;
8394
8181
  } | {
8182
+ total?: number;
8395
8183
  results?: Array<{
8396
8184
  adId?: string;
8397
8185
  advertiserId?: string;
@@ -8402,7 +8190,6 @@ declare function bindSurface(call: Caller): {
8402
8190
  linkCaption?: string;
8403
8191
  imageUrls?: Array<string>;
8404
8192
  }>;
8405
- total?: number;
8406
8193
  cursor?: string;
8407
8194
  } | {
8408
8195
  results?: Array<{
@@ -8439,9 +8226,9 @@ declare function bindSurface(call: Caller): {
8439
8226
  ad: string;
8440
8227
  network: "meta";
8441
8228
  } | {
8442
- advertiser?: string;
8443
8229
  ad: string;
8444
8230
  network: "google";
8231
+ advertiser?: string;
8445
8232
  } | {
8446
8233
  ad: string;
8447
8234
  network: "tiktok";
@@ -8675,17 +8462,16 @@ declare function bindSurface(call: Caller): {
8675
8462
  requestId: string;
8676
8463
  }>;
8677
8464
  advertisers: (body: {
8678
- limit?: number;
8679
8465
  query: string;
8680
- country?: string;
8681
8466
  network: "google";
8467
+ country?: string;
8682
8468
  } | {
8683
- limit?: number;
8684
8469
  query: string;
8685
8470
  network: "microsoft";
8686
8471
  }, options?: RequestOptions) => Promise<{
8687
8472
  success: true;
8688
8473
  data: {
8474
+ domains?: Array<string>;
8689
8475
  results?: Array<{
8690
8476
  advertiserId?: string;
8691
8477
  advertiserName?: string;
@@ -8695,15 +8481,14 @@ declare function bindSurface(call: Caller): {
8695
8481
  adsMin?: number;
8696
8482
  adsMax?: number;
8697
8483
  }>;
8698
- domains?: Array<string>;
8699
8484
  } | {
8485
+ total?: number;
8700
8486
  results?: Array<{
8701
8487
  advertiserId?: string;
8702
8488
  advertiserName?: string;
8703
8489
  advertiserCountry?: string;
8704
8490
  isVerified: boolean;
8705
8491
  }>;
8706
- total?: number;
8707
8492
  };
8708
8493
  creditsUsed: number;
8709
8494
  requestId: string;
@@ -8731,27 +8516,16 @@ declare function bindSurface(call: Caller): {
8731
8516
  };
8732
8517
  web: {
8733
8518
  search: (body: {
8734
- limit?: number;
8735
8519
  query: string;
8736
8520
  country?: string;
8737
8521
  language?: string;
8738
8522
  includeDomains?: Array<string>;
8739
8523
  excludeDomains?: Array<string>;
8740
8524
  within?: "day" | "week" | "month" | "year" | "all";
8525
+ page?: number;
8741
8526
  }, options?: RequestOptions) => Promise<{
8742
8527
  success: true;
8743
8528
  data: {
8744
- results: Array<{
8745
- url: string;
8746
- title: string;
8747
- description?: string;
8748
- date?: string;
8749
- sitelinks?: Array<{
8750
- title: string;
8751
- url: string;
8752
- }>;
8753
- position: number;
8754
- }>;
8755
8529
  aiOverview?: {
8756
8530
  text: string;
8757
8531
  sources?: Array<{
@@ -8771,6 +8545,17 @@ declare function bindSurface(call: Caller): {
8771
8545
  [key: string]: string;
8772
8546
  };
8773
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
+ }>;
8774
8559
  peopleAlsoAsk?: Array<{
8775
8560
  question: string;
8776
8561
  answer?: string;
@@ -8778,13 +8563,13 @@ declare function bindSurface(call: Caller): {
8778
8563
  url?: string;
8779
8564
  }>;
8780
8565
  relatedSearches?: Array<string>;
8781
- isPartial?: true;
8566
+ page?: number;
8567
+ hasMore?: boolean;
8782
8568
  };
8783
8569
  creditsUsed: number;
8784
8570
  requestId: string;
8785
8571
  }>;
8786
8572
  news: (body?: {
8787
- limit?: number;
8788
8573
  query?: string;
8789
8574
  topic?: "world" | "nation" | "business" | "technology" | "entertainment" | "sports" | "science" | "health";
8790
8575
  country?: string;
@@ -8792,6 +8577,7 @@ declare function bindSurface(call: Caller): {
8792
8577
  includeDomains?: Array<string>;
8793
8578
  excludeDomains?: Array<string>;
8794
8579
  within?: "hour" | "day" | "week" | "month" | "year" | "all";
8580
+ page?: number;
8795
8581
  } | undefined, options?: RequestOptions) => Promise<{
8796
8582
  success: true;
8797
8583
  data: {
@@ -8803,7 +8589,8 @@ declare function bindSurface(call: Caller): {
8803
8589
  publishedAt?: string;
8804
8590
  position: number;
8805
8591
  }>;
8806
- isPartial?: true;
8592
+ page: number;
8593
+ hasMore?: boolean;
8807
8594
  };
8808
8595
  creditsUsed: number;
8809
8596
  requestId: string;
@@ -8813,7 +8600,7 @@ declare function bindSurface(call: Caller): {
8813
8600
  type Surface = ReturnType<typeof bindSurface>;
8814
8601
 
8815
8602
  interface StophyOptions {
8816
- /** Defaults to `STOPHY_API_KEY`. Without a key, only web search answers. */
8603
+ /** Defaults to `STOPHY_API_KEY`. Without a key, only Google search, Google News and YouTube search, videos and transcripts answer. */
8817
8604
  apiKey?: string;
8818
8605
  /** Defaults to `STOPHY_BASE_URL` or `https://api.stophy.dev`. */
8819
8606
  baseUrl?: string;