scrapebadger 0.69.1 → 0.72.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1209,6 +1209,29 @@ interface GoogleSearchParams {
1209
1209
  * live rate.
1210
1210
  */
1211
1211
  ai_overview?: boolean;
1212
+ /**
1213
+ * Open the People Also Ask questions and return their answers. `true`
1214
+ * opens every question the page shows (usually four), a number `N` opens
1215
+ * the first N (0-99; `0` or `false` opens none). Each answered question in
1216
+ * `related_questions` then carries `text_blocks` and `references`, in the
1217
+ * same shape as `ai_overview`. The answers are fetched on the same session
1218
+ * that served the SERP, so a question can't be expanded later; a question
1219
+ * whose answer did not come back keeps them `null`.
1220
+ *
1221
+ * Each answered question bills as one more Search request (credits =
1222
+ * 20 x (1 + answered) at today's price); a question that does not come
1223
+ * back is not billed. Adds about a second per question. Upgrades
1224
+ * `mode: "fast"` to full. Not accepted by `/v1/google/light/search`.
1225
+ */
1226
+ expand_related_questions?: boolean | number;
1227
+ /**
1228
+ * `"full"` (default): the complete SERP with every block. `"fast"`:
1229
+ * Google's lite `gbv=1` page, organic results and related searches only,
1230
+ * with a 12-second processing budget (past it the API returns `503` with
1231
+ * `Retry-After: 60`). Upgraded to full when `ai_overview` or
1232
+ * `expand_related_questions` is set.
1233
+ */
1234
+ mode?: "full" | "fast";
1212
1235
  }
1213
1236
  interface MapsSearchParams {
1214
1237
  /** Search query. Required unless `place_id` or `ludocid` is supplied. */
@@ -2469,22 +2492,64 @@ declare class SearchClient$h {
2469
2492
  * Search Google and get a structured SERP response with organic results,
2470
2493
  * knowledge graph, People Also Ask, related searches, AI overview, and
2471
2494
  * pagination.
2495
+ *
2496
+ * The response (untyped, `Record<string, unknown>`) holds, when Google
2497
+ * shows them:
2498
+ * - `search_information`: total_results, time_taken, query_displayed,
2499
+ * organic_results_state (`"no_results"` on an explicit Google
2500
+ * no-results answer, `"Results for relaxed query"` when Google drops
2501
+ * quotes).
2502
+ * - `organic_results`: position, title, link, snippet, displayed_link,
2503
+ * plus `date`, `sitelinks`, `rich_snippet` and `read_more_link`.
2504
+ * - `related_questions`: question, rank, `type` (`"ai_overview"` or
2505
+ * `null`), and `text_blocks` / `references` with
2506
+ * `expand_related_questions`.
2507
+ * - `ai_overview`: `text_blocks` (paragraph, heading and list blocks; list
2508
+ * blocks carry `list_items`) with `reference_indexes` (0-based into
2509
+ * `references`), and `references` (title, link, source, snippet, logo).
2510
+ * - `shopping_results`: position, category, title, price, extracted_price,
2511
+ * original_price, extracted_original_price, source, rating, reviews,
2512
+ * delivery, extensions, thumbnail, product_id, catalog_id, product_link,
2513
+ * scrapebadger_product_detail_link.
2514
+ * - `perspectives`, `discussions_and_forums`, `short_videos`,
2515
+ * `things_to_know`, `ads`, `knowledge_graph`, `people_also_search_for`,
2516
+ * `related_searches`, `local_results`, `inline_videos`, `pagination`.
2517
+ *
2518
+ * A full-mode query with a `site:` operator is answered from Google's Web
2519
+ * tab: organic results, related searches and pagination only, rich blocks
2520
+ * empty (pass `ai_overview: true` for the full page).
2521
+ *
2522
+ * @example
2523
+ * ```typescript
2524
+ * // People Also Ask answers for the first two questions
2525
+ * const serp = await client.google.search.search({
2526
+ * q: "are noise cancelling headphones worth it",
2527
+ * expand_related_questions: 2,
2528
+ * });
2529
+ * ```
2472
2530
  */
2473
2531
  search(params: GoogleSearchParams): Promise<GoogleResponse>;
2474
2532
  /**
2475
- * Lightweight Google Search — organic results + related searches only.
2533
+ * Google Light Search — organic results + related searches only.
2534
+ *
2535
+ * Calls the dedicated `/v1/google/light/search` endpoint, billed at the
2536
+ * Light rate (half of full {@link search}; query `/public/pricing` for the
2537
+ * live rate). Skips ads, Knowledge Graph, AI Overview, People Also Ask,
2538
+ * local pack, news, inline videos, and shopping blocks. Has a 12-second
2539
+ * processing budget; past it the API returns `503` with
2540
+ * `Retry-After: 60`. Light cannot be upgraded to full Search, so
2541
+ * `ai_overview` is not sent; AI Overview and People Also Ask answers
2542
+ * (`expand_related_questions`) need {@link search}.
2476
2543
  *
2477
- * ~40% faster than {@link search}. Skips ads, Knowledge Graph, AI
2478
- * Overview, local pack, news, inline videos, and shopping blocks.
2479
- * Credit cost is configured per-endpoint by admins — query
2480
- * `/public/pricing` for the live rate.
2544
+ * Returns `{ search_information, organic_results, related_searches,
2545
+ * pagination }`.
2481
2546
  *
2482
2547
  * @example
2483
2548
  * ```typescript
2484
2549
  * const lite = await client.google.search.light({ q: "python 3.13" });
2485
2550
  * ```
2486
2551
  */
2487
- light(params: GoogleSearchParams): Promise<GoogleResponse>;
2552
+ light(params: Omit<GoogleSearchParams, "mode" | "expand_related_questions">): Promise<GoogleResponse>;
2488
2553
  }
2489
2554
 
2490
2555
  /**
@@ -2709,6 +2774,8 @@ declare class GoogleClient {
2709
2774
  googleAiOverviewInlineSerpBlock(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
2710
2775
  /** Google Flights calendar — cheapest fare per date. Generated from the OpenAPI spec; returns the raw response object. */
2711
2776
  googleFlightsCalendarCheapestFarePerDate(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
2777
+ /** Google Light web search. Generated from the OpenAPI spec; returns the raw response object. */
2778
+ googleLightWebSearch(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
2712
2779
  }
2713
2780
 
2714
2781
  /**
@@ -4470,6 +4537,22 @@ declare class AsosClient {
4470
4537
  getStockAndPrices(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
4471
4538
  }
4472
4539
 
4540
+ /**
4541
+ * Autoscout24 API client. // --- BEGIN generated by sdk/codegen/facade — do not edit ---
4542
+ */
4543
+
4544
+ /** Client for all Autoscout24 API operations. (Generated from the OpenAPI spec.) */
4545
+ declare class Autoscout24Client {
4546
+ private readonly client;
4547
+ constructor(client: BaseClient);
4548
+ /** List search filters. Generated from the OpenAPI spec; returns the raw response object. */
4549
+ listSearchFilters(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
4550
+ /** List markets. Generated from the OpenAPI spec; returns the raw response object. */
4551
+ listMarkets(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
4552
+ /** Search vehicles. Generated from the OpenAPI spec; returns the raw response object. */
4553
+ searchVehicles(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
4554
+ }
4555
+
4473
4556
  /**
4474
4557
  * TypeScript types for Instagram API responses.
4475
4558
  *
@@ -5413,6 +5496,10 @@ declare class AccountClient {
5413
5496
  constructor(client: BaseClient);
5414
5497
  /** Get account info. Generated from the OpenAPI spec; returns the raw response object. */
5415
5498
  getAccountInfo(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
5499
+ /** Get the webhook signing secret. Generated from the OpenAPI spec; returns the raw response object. */
5500
+ getTheWebhookSigningSecret(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
5501
+ /** Rotate the webhook signing secret. Generated from the OpenAPI spec; returns the raw response object. */
5502
+ rotateTheWebhookSigningSecret(body?: unknown, params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
5416
5503
  }
5417
5504
 
5418
5505
  /**
@@ -9319,6 +9406,8 @@ declare class FacebookClient {
9319
9406
  getAMarketplaceItem(itemId: string, params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
9320
9407
  /** List locations. Generated from the OpenAPI spec; returns the raw response object. */
9321
9408
  listLocations(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
9409
+ /** Resolve a town/postcode to a Marketplace location. Generated from the OpenAPI spec; returns the raw response object. */
9410
+ resolveATownPostcodeToAMarketplaceLocation(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
9322
9411
  /** Search Marketplace. Generated from the OpenAPI spec; returns the raw response object. */
9323
9412
  searchMarketplace(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
9324
9413
  /** Get page detail. Generated from the OpenAPI spec; returns the raw response object. */
@@ -11554,6 +11643,28 @@ declare class BookingClient {
11554
11643
  searchProperties(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
11555
11644
  }
11556
11645
 
11646
+ /**
11647
+ * Brave API client. // --- BEGIN generated by sdk/codegen/facade — do not edit ---
11648
+ */
11649
+
11650
+ /** Client for all Brave API operations. (Generated from the OpenAPI spec.) */
11651
+ declare class BraveClient {
11652
+ private readonly client;
11653
+ constructor(client: BaseClient);
11654
+ /** Autocomplete. Generated from the OpenAPI spec; returns the raw response object. */
11655
+ autocomplete(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
11656
+ /** Image search. Generated from the OpenAPI spec; returns the raw response object. */
11657
+ imageSearch(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
11658
+ /** List supported locales. Generated from the OpenAPI spec; returns the raw response object. */
11659
+ listSupportedLocales(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
11660
+ /** News search. Generated from the OpenAPI spec; returns the raw response object. */
11661
+ newsSearch(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
11662
+ /** Web search. Generated from the OpenAPI spec; returns the raw response object. */
11663
+ webSearch(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
11664
+ /** Video search. Generated from the OpenAPI spec; returns the raw response object. */
11665
+ videoSearch(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
11666
+ }
11667
+
11557
11668
  /**
11558
11669
  * TypeScript types for Baidu API responses.
11559
11670
  *
@@ -11816,6 +11927,18 @@ declare class BaiduClient {
11816
11927
  autocomplete(query: string): Promise<BaiduAutocompleteResponse>;
11817
11928
  }
11818
11929
 
11930
+ /**
11931
+ * Batch API client. // --- BEGIN generated by sdk/codegen/facade — do not edit ---
11932
+ */
11933
+
11934
+ /** Client for all Batch API operations. (Generated from the OpenAPI spec.) */
11935
+ declare class BatchClient {
11936
+ private readonly client;
11937
+ constructor(client: BaseClient);
11938
+ /** Submit a batch of async requests. Generated from the OpenAPI spec; returns the raw response object. */
11939
+ submitABatchOfAsyncRequests(body?: unknown, params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
11940
+ }
11941
+
11819
11942
  /**
11820
11943
  * Bestbuy API client. // --- BEGIN generated by sdk/codegen/facade — do not edit ---
11821
11944
  */
@@ -17839,7 +17962,7 @@ declare class LoopNetClient {
17839
17962
  }
17840
17963
 
17841
17964
  /**
17842
- * Perplexity API client. // --- BEGIN generated by sdk/codegen/facade — do not edit ---
17965
+ * Perplexity API client. Hand-maintained compatibility adapter.
17843
17966
  */
17844
17967
 
17845
17968
  /**
@@ -17850,10 +17973,24 @@ declare class LoopNetClient {
17850
17973
  * to answer only from an exit in `country` (required with it); when none
17851
17974
  * answers in time the call fails with HTTP 503 `country_unavailable` and is
17852
17975
  * not billed. On the POST forms, put `strict_country: true` in the body.
17976
+ *
17977
+ * `location` is where the asker is, so Perplexity answers a local-sounding
17978
+ * question ("best dentist") for that place instead of the exit IP's city. It
17979
+ * does not change the exit: `country` still picks the exit and language. The
17980
+ * response `location` is the canonical form that was sent (`null` when unset).
17981
+ * On the POST forms, put `location: "tokyo"` in the body.
17853
17982
  */
17854
17983
  type PerplexityParams = Record<string, string | number | boolean | undefined> & {
17855
17984
  /** Answer only from an exit in `country`, never another one. Sent only when true. */
17856
17985
  strictCountry?: boolean;
17986
+ /**
17987
+ * Where the asker is: a city slug (`"tokyo"`, `"osaka"`, `"seoul"`,
17988
+ * `"new-york"`, `"london"`, ...; case-insensitive, spaces and underscores
17989
+ * fold to hyphens) or `"lat,lng"` in decimal degrees (`"35.6812,139.7671"`).
17990
+ * Any other value fails with HTTP 400; the API holds the city list, so the
17991
+ * SDK sends it as given. Sent only when set.
17992
+ */
17993
+ location?: string;
17857
17994
  };
17858
17995
  /** Client for all Perplexity API operations. (Generated from the OpenAPI spec.) */
17859
17996
  declare class PerplexityClient {
@@ -19634,7 +19771,7 @@ declare class ChatGPTClient {
19634
19771
  }
19635
19772
 
19636
19773
  /**
19637
- * Copilot API client. // --- BEGIN generated by sdk/codegen/facade — do not edit ---
19774
+ * Copilot API client. Hand-maintained compatibility adapter.
19638
19775
  */
19639
19776
 
19640
19777
  /**
@@ -20025,6 +20162,18 @@ declare class GeminiClient {
20025
20162
  measureABrandSVisibilityInAGeminiAnswerPost(body?: unknown, params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
20026
20163
  }
20027
20164
 
20165
+ /**
20166
+ * Github API client. // --- BEGIN generated by sdk/codegen/facade — do not edit ---
20167
+ */
20168
+
20169
+ /** Client for all Github API operations. (Generated from the OpenAPI spec.) */
20170
+ declare class GithubClient {
20171
+ private readonly client;
20172
+ constructor(client: BaseClient);
20173
+ /** Get profile. Generated from the OpenAPI spec; returns the raw response object. */
20174
+ getProfile(username: string, params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
20175
+ }
20176
+
20028
20177
  /**
20029
20178
  * Main ScrapeBadger client.
20030
20179
  *
@@ -20085,6 +20234,8 @@ declare class ScrapeBadger {
20085
20234
  readonly app_store: AppStoreClient;
20086
20235
  /** Asos API client. (Generated from the OpenAPI spec.) */
20087
20236
  readonly asos: AsosClient;
20237
+ /** Autoscout24 API client. (Generated from the OpenAPI spec.) */
20238
+ readonly autoscout24: Autoscout24Client;
20088
20239
  /** Instagram scraper API client — users, media, search, hashtags, locations, audio */
20089
20240
  readonly instagram: InstagramClient;
20090
20241
  /** Redfin scraper API client — search, property, agent, autocomplete, markets (redfin.com, US) */
@@ -20125,8 +20276,12 @@ declare class ScrapeBadger {
20125
20276
  readonly bing: BingClient;
20126
20277
  /** Booking API client. (Generated from the OpenAPI spec.) */
20127
20278
  readonly booking: BookingClient;
20279
+ /** Brave API client. (Generated from the OpenAPI spec.) */
20280
+ readonly brave: BraveClient;
20128
20281
  /** Baidu scraper API client — search, news, images, autocomplete (baidu.com, China's #1 search engine) */
20129
20282
  readonly baidu: BaiduClient;
20283
+ /** Batch API client. (Generated from the OpenAPI spec.) */
20284
+ readonly batch: BatchClient;
20130
20285
  /** Bestbuy API client. (Generated from the OpenAPI spec.) */
20131
20286
  readonly bestbuy: BestbuyClient;
20132
20287
  /** Naver scraper API client — 55 endpoints (search, places, shopping, stores, content, reviews, products, shopping live; naver.com, South Korea) */
@@ -20161,6 +20316,8 @@ declare class ScrapeBadger {
20161
20316
  readonly copilot: CopilotClient;
20162
20317
  /** Gemini scraper API client — ask, brand visibility (the real gemini.google.com, anonymous) */
20163
20318
  readonly gemini: GeminiClient;
20319
+ /** Github API client. (Generated from the OpenAPI spec.) */
20320
+ readonly github: GithubClient;
20164
20321
  /**
20165
20322
  * Create a new ScrapeBadger client.
20166
20323
  *
package/dist/index.d.ts CHANGED
@@ -1209,6 +1209,29 @@ interface GoogleSearchParams {
1209
1209
  * live rate.
1210
1210
  */
1211
1211
  ai_overview?: boolean;
1212
+ /**
1213
+ * Open the People Also Ask questions and return their answers. `true`
1214
+ * opens every question the page shows (usually four), a number `N` opens
1215
+ * the first N (0-99; `0` or `false` opens none). Each answered question in
1216
+ * `related_questions` then carries `text_blocks` and `references`, in the
1217
+ * same shape as `ai_overview`. The answers are fetched on the same session
1218
+ * that served the SERP, so a question can't be expanded later; a question
1219
+ * whose answer did not come back keeps them `null`.
1220
+ *
1221
+ * Each answered question bills as one more Search request (credits =
1222
+ * 20 x (1 + answered) at today's price); a question that does not come
1223
+ * back is not billed. Adds about a second per question. Upgrades
1224
+ * `mode: "fast"` to full. Not accepted by `/v1/google/light/search`.
1225
+ */
1226
+ expand_related_questions?: boolean | number;
1227
+ /**
1228
+ * `"full"` (default): the complete SERP with every block. `"fast"`:
1229
+ * Google's lite `gbv=1` page, organic results and related searches only,
1230
+ * with a 12-second processing budget (past it the API returns `503` with
1231
+ * `Retry-After: 60`). Upgraded to full when `ai_overview` or
1232
+ * `expand_related_questions` is set.
1233
+ */
1234
+ mode?: "full" | "fast";
1212
1235
  }
1213
1236
  interface MapsSearchParams {
1214
1237
  /** Search query. Required unless `place_id` or `ludocid` is supplied. */
@@ -2469,22 +2492,64 @@ declare class SearchClient$h {
2469
2492
  * Search Google and get a structured SERP response with organic results,
2470
2493
  * knowledge graph, People Also Ask, related searches, AI overview, and
2471
2494
  * pagination.
2495
+ *
2496
+ * The response (untyped, `Record<string, unknown>`) holds, when Google
2497
+ * shows them:
2498
+ * - `search_information`: total_results, time_taken, query_displayed,
2499
+ * organic_results_state (`"no_results"` on an explicit Google
2500
+ * no-results answer, `"Results for relaxed query"` when Google drops
2501
+ * quotes).
2502
+ * - `organic_results`: position, title, link, snippet, displayed_link,
2503
+ * plus `date`, `sitelinks`, `rich_snippet` and `read_more_link`.
2504
+ * - `related_questions`: question, rank, `type` (`"ai_overview"` or
2505
+ * `null`), and `text_blocks` / `references` with
2506
+ * `expand_related_questions`.
2507
+ * - `ai_overview`: `text_blocks` (paragraph, heading and list blocks; list
2508
+ * blocks carry `list_items`) with `reference_indexes` (0-based into
2509
+ * `references`), and `references` (title, link, source, snippet, logo).
2510
+ * - `shopping_results`: position, category, title, price, extracted_price,
2511
+ * original_price, extracted_original_price, source, rating, reviews,
2512
+ * delivery, extensions, thumbnail, product_id, catalog_id, product_link,
2513
+ * scrapebadger_product_detail_link.
2514
+ * - `perspectives`, `discussions_and_forums`, `short_videos`,
2515
+ * `things_to_know`, `ads`, `knowledge_graph`, `people_also_search_for`,
2516
+ * `related_searches`, `local_results`, `inline_videos`, `pagination`.
2517
+ *
2518
+ * A full-mode query with a `site:` operator is answered from Google's Web
2519
+ * tab: organic results, related searches and pagination only, rich blocks
2520
+ * empty (pass `ai_overview: true` for the full page).
2521
+ *
2522
+ * @example
2523
+ * ```typescript
2524
+ * // People Also Ask answers for the first two questions
2525
+ * const serp = await client.google.search.search({
2526
+ * q: "are noise cancelling headphones worth it",
2527
+ * expand_related_questions: 2,
2528
+ * });
2529
+ * ```
2472
2530
  */
2473
2531
  search(params: GoogleSearchParams): Promise<GoogleResponse>;
2474
2532
  /**
2475
- * Lightweight Google Search — organic results + related searches only.
2533
+ * Google Light Search — organic results + related searches only.
2534
+ *
2535
+ * Calls the dedicated `/v1/google/light/search` endpoint, billed at the
2536
+ * Light rate (half of full {@link search}; query `/public/pricing` for the
2537
+ * live rate). Skips ads, Knowledge Graph, AI Overview, People Also Ask,
2538
+ * local pack, news, inline videos, and shopping blocks. Has a 12-second
2539
+ * processing budget; past it the API returns `503` with
2540
+ * `Retry-After: 60`. Light cannot be upgraded to full Search, so
2541
+ * `ai_overview` is not sent; AI Overview and People Also Ask answers
2542
+ * (`expand_related_questions`) need {@link search}.
2476
2543
  *
2477
- * ~40% faster than {@link search}. Skips ads, Knowledge Graph, AI
2478
- * Overview, local pack, news, inline videos, and shopping blocks.
2479
- * Credit cost is configured per-endpoint by admins — query
2480
- * `/public/pricing` for the live rate.
2544
+ * Returns `{ search_information, organic_results, related_searches,
2545
+ * pagination }`.
2481
2546
  *
2482
2547
  * @example
2483
2548
  * ```typescript
2484
2549
  * const lite = await client.google.search.light({ q: "python 3.13" });
2485
2550
  * ```
2486
2551
  */
2487
- light(params: GoogleSearchParams): Promise<GoogleResponse>;
2552
+ light(params: Omit<GoogleSearchParams, "mode" | "expand_related_questions">): Promise<GoogleResponse>;
2488
2553
  }
2489
2554
 
2490
2555
  /**
@@ -2709,6 +2774,8 @@ declare class GoogleClient {
2709
2774
  googleAiOverviewInlineSerpBlock(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
2710
2775
  /** Google Flights calendar — cheapest fare per date. Generated from the OpenAPI spec; returns the raw response object. */
2711
2776
  googleFlightsCalendarCheapestFarePerDate(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
2777
+ /** Google Light web search. Generated from the OpenAPI spec; returns the raw response object. */
2778
+ googleLightWebSearch(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
2712
2779
  }
2713
2780
 
2714
2781
  /**
@@ -4470,6 +4537,22 @@ declare class AsosClient {
4470
4537
  getStockAndPrices(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
4471
4538
  }
4472
4539
 
4540
+ /**
4541
+ * Autoscout24 API client. // --- BEGIN generated by sdk/codegen/facade — do not edit ---
4542
+ */
4543
+
4544
+ /** Client for all Autoscout24 API operations. (Generated from the OpenAPI spec.) */
4545
+ declare class Autoscout24Client {
4546
+ private readonly client;
4547
+ constructor(client: BaseClient);
4548
+ /** List search filters. Generated from the OpenAPI spec; returns the raw response object. */
4549
+ listSearchFilters(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
4550
+ /** List markets. Generated from the OpenAPI spec; returns the raw response object. */
4551
+ listMarkets(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
4552
+ /** Search vehicles. Generated from the OpenAPI spec; returns the raw response object. */
4553
+ searchVehicles(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
4554
+ }
4555
+
4473
4556
  /**
4474
4557
  * TypeScript types for Instagram API responses.
4475
4558
  *
@@ -5413,6 +5496,10 @@ declare class AccountClient {
5413
5496
  constructor(client: BaseClient);
5414
5497
  /** Get account info. Generated from the OpenAPI spec; returns the raw response object. */
5415
5498
  getAccountInfo(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
5499
+ /** Get the webhook signing secret. Generated from the OpenAPI spec; returns the raw response object. */
5500
+ getTheWebhookSigningSecret(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
5501
+ /** Rotate the webhook signing secret. Generated from the OpenAPI spec; returns the raw response object. */
5502
+ rotateTheWebhookSigningSecret(body?: unknown, params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
5416
5503
  }
5417
5504
 
5418
5505
  /**
@@ -9319,6 +9406,8 @@ declare class FacebookClient {
9319
9406
  getAMarketplaceItem(itemId: string, params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
9320
9407
  /** List locations. Generated from the OpenAPI spec; returns the raw response object. */
9321
9408
  listLocations(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
9409
+ /** Resolve a town/postcode to a Marketplace location. Generated from the OpenAPI spec; returns the raw response object. */
9410
+ resolveATownPostcodeToAMarketplaceLocation(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
9322
9411
  /** Search Marketplace. Generated from the OpenAPI spec; returns the raw response object. */
9323
9412
  searchMarketplace(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
9324
9413
  /** Get page detail. Generated from the OpenAPI spec; returns the raw response object. */
@@ -11554,6 +11643,28 @@ declare class BookingClient {
11554
11643
  searchProperties(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
11555
11644
  }
11556
11645
 
11646
+ /**
11647
+ * Brave API client. // --- BEGIN generated by sdk/codegen/facade — do not edit ---
11648
+ */
11649
+
11650
+ /** Client for all Brave API operations. (Generated from the OpenAPI spec.) */
11651
+ declare class BraveClient {
11652
+ private readonly client;
11653
+ constructor(client: BaseClient);
11654
+ /** Autocomplete. Generated from the OpenAPI spec; returns the raw response object. */
11655
+ autocomplete(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
11656
+ /** Image search. Generated from the OpenAPI spec; returns the raw response object. */
11657
+ imageSearch(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
11658
+ /** List supported locales. Generated from the OpenAPI spec; returns the raw response object. */
11659
+ listSupportedLocales(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
11660
+ /** News search. Generated from the OpenAPI spec; returns the raw response object. */
11661
+ newsSearch(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
11662
+ /** Web search. Generated from the OpenAPI spec; returns the raw response object. */
11663
+ webSearch(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
11664
+ /** Video search. Generated from the OpenAPI spec; returns the raw response object. */
11665
+ videoSearch(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
11666
+ }
11667
+
11557
11668
  /**
11558
11669
  * TypeScript types for Baidu API responses.
11559
11670
  *
@@ -11816,6 +11927,18 @@ declare class BaiduClient {
11816
11927
  autocomplete(query: string): Promise<BaiduAutocompleteResponse>;
11817
11928
  }
11818
11929
 
11930
+ /**
11931
+ * Batch API client. // --- BEGIN generated by sdk/codegen/facade — do not edit ---
11932
+ */
11933
+
11934
+ /** Client for all Batch API operations. (Generated from the OpenAPI spec.) */
11935
+ declare class BatchClient {
11936
+ private readonly client;
11937
+ constructor(client: BaseClient);
11938
+ /** Submit a batch of async requests. Generated from the OpenAPI spec; returns the raw response object. */
11939
+ submitABatchOfAsyncRequests(body?: unknown, params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
11940
+ }
11941
+
11819
11942
  /**
11820
11943
  * Bestbuy API client. // --- BEGIN generated by sdk/codegen/facade — do not edit ---
11821
11944
  */
@@ -17839,7 +17962,7 @@ declare class LoopNetClient {
17839
17962
  }
17840
17963
 
17841
17964
  /**
17842
- * Perplexity API client. // --- BEGIN generated by sdk/codegen/facade — do not edit ---
17965
+ * Perplexity API client. Hand-maintained compatibility adapter.
17843
17966
  */
17844
17967
 
17845
17968
  /**
@@ -17850,10 +17973,24 @@ declare class LoopNetClient {
17850
17973
  * to answer only from an exit in `country` (required with it); when none
17851
17974
  * answers in time the call fails with HTTP 503 `country_unavailable` and is
17852
17975
  * not billed. On the POST forms, put `strict_country: true` in the body.
17976
+ *
17977
+ * `location` is where the asker is, so Perplexity answers a local-sounding
17978
+ * question ("best dentist") for that place instead of the exit IP's city. It
17979
+ * does not change the exit: `country` still picks the exit and language. The
17980
+ * response `location` is the canonical form that was sent (`null` when unset).
17981
+ * On the POST forms, put `location: "tokyo"` in the body.
17853
17982
  */
17854
17983
  type PerplexityParams = Record<string, string | number | boolean | undefined> & {
17855
17984
  /** Answer only from an exit in `country`, never another one. Sent only when true. */
17856
17985
  strictCountry?: boolean;
17986
+ /**
17987
+ * Where the asker is: a city slug (`"tokyo"`, `"osaka"`, `"seoul"`,
17988
+ * `"new-york"`, `"london"`, ...; case-insensitive, spaces and underscores
17989
+ * fold to hyphens) or `"lat,lng"` in decimal degrees (`"35.6812,139.7671"`).
17990
+ * Any other value fails with HTTP 400; the API holds the city list, so the
17991
+ * SDK sends it as given. Sent only when set.
17992
+ */
17993
+ location?: string;
17857
17994
  };
17858
17995
  /** Client for all Perplexity API operations. (Generated from the OpenAPI spec.) */
17859
17996
  declare class PerplexityClient {
@@ -19634,7 +19771,7 @@ declare class ChatGPTClient {
19634
19771
  }
19635
19772
 
19636
19773
  /**
19637
- * Copilot API client. // --- BEGIN generated by sdk/codegen/facade — do not edit ---
19774
+ * Copilot API client. Hand-maintained compatibility adapter.
19638
19775
  */
19639
19776
 
19640
19777
  /**
@@ -20025,6 +20162,18 @@ declare class GeminiClient {
20025
20162
  measureABrandSVisibilityInAGeminiAnswerPost(body?: unknown, params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
20026
20163
  }
20027
20164
 
20165
+ /**
20166
+ * Github API client. // --- BEGIN generated by sdk/codegen/facade — do not edit ---
20167
+ */
20168
+
20169
+ /** Client for all Github API operations. (Generated from the OpenAPI spec.) */
20170
+ declare class GithubClient {
20171
+ private readonly client;
20172
+ constructor(client: BaseClient);
20173
+ /** Get profile. Generated from the OpenAPI spec; returns the raw response object. */
20174
+ getProfile(username: string, params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
20175
+ }
20176
+
20028
20177
  /**
20029
20178
  * Main ScrapeBadger client.
20030
20179
  *
@@ -20085,6 +20234,8 @@ declare class ScrapeBadger {
20085
20234
  readonly app_store: AppStoreClient;
20086
20235
  /** Asos API client. (Generated from the OpenAPI spec.) */
20087
20236
  readonly asos: AsosClient;
20237
+ /** Autoscout24 API client. (Generated from the OpenAPI spec.) */
20238
+ readonly autoscout24: Autoscout24Client;
20088
20239
  /** Instagram scraper API client — users, media, search, hashtags, locations, audio */
20089
20240
  readonly instagram: InstagramClient;
20090
20241
  /** Redfin scraper API client — search, property, agent, autocomplete, markets (redfin.com, US) */
@@ -20125,8 +20276,12 @@ declare class ScrapeBadger {
20125
20276
  readonly bing: BingClient;
20126
20277
  /** Booking API client. (Generated from the OpenAPI spec.) */
20127
20278
  readonly booking: BookingClient;
20279
+ /** Brave API client. (Generated from the OpenAPI spec.) */
20280
+ readonly brave: BraveClient;
20128
20281
  /** Baidu scraper API client — search, news, images, autocomplete (baidu.com, China's #1 search engine) */
20129
20282
  readonly baidu: BaiduClient;
20283
+ /** Batch API client. (Generated from the OpenAPI spec.) */
20284
+ readonly batch: BatchClient;
20130
20285
  /** Bestbuy API client. (Generated from the OpenAPI spec.) */
20131
20286
  readonly bestbuy: BestbuyClient;
20132
20287
  /** Naver scraper API client — 55 endpoints (search, places, shopping, stores, content, reviews, products, shopping live; naver.com, South Korea) */
@@ -20161,6 +20316,8 @@ declare class ScrapeBadger {
20161
20316
  readonly copilot: CopilotClient;
20162
20317
  /** Gemini scraper API client — ask, brand visibility (the real gemini.google.com, anonymous) */
20163
20318
  readonly gemini: GeminiClient;
20319
+ /** Github API client. (Generated from the OpenAPI spec.) */
20320
+ readonly github: GithubClient;
20164
20321
  /**
20165
20322
  * Create a new ScrapeBadger client.
20166
20323
  *