scrapebadger 0.73.0 → 0.74.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
@@ -4547,6 +4547,8 @@ declare class Autoscout24Client {
4547
4547
  constructor(client: BaseClient);
4548
4548
  /** List search filters. Generated from the OpenAPI spec; returns the raw response object. */
4549
4549
  listSearchFilters(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
4550
+ /** Get listing. Generated from the OpenAPI spec; returns the raw response object. */
4551
+ getListing(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
4550
4552
  /** List markets. Generated from the OpenAPI spec; returns the raw response object. */
4551
4553
  listMarkets(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
4552
4554
  /** Search vehicles. Generated from the OpenAPI spec; returns the raw response object. */
@@ -13604,6 +13606,20 @@ declare class YandexClient {
13604
13606
  constructor(client: BaseClient);
13605
13607
  }
13606
13608
 
13609
+ /**
13610
+ * Yelp API client. // --- BEGIN generated by sdk/codegen/facade — do not edit ---
13611
+ */
13612
+
13613
+ /** Client for all Yelp API operations. (Generated from the OpenAPI spec.) */
13614
+ declare class YelpClient {
13615
+ private readonly client;
13616
+ constructor(client: BaseClient);
13617
+ /** List markets. Generated from the OpenAPI spec; returns the raw response object. */
13618
+ listMarkets(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
13619
+ /** Search businesses. Generated from the OpenAPI spec; returns the raw response object. */
13620
+ searchBusinesses(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
13621
+ }
13622
+
13607
13623
  /**
13608
13624
  * TypeScript types for YouTube API responses.
13609
13625
  *
@@ -20299,6 +20315,8 @@ declare class ScrapeBadger {
20299
20315
  readonly yahoo: YahooClient;
20300
20316
  /** Yandex scraper API client — web search, image search, reverse-image (CBIR), markets (tr/com/ru/by/kz/uz) */
20301
20317
  readonly yandex: YandexClient;
20318
+ /** Yelp API client. (Generated from the OpenAPI spec.) */
20319
+ readonly yelp: YelpClient;
20302
20320
  /** YouTube scraper API client — 39 endpoints */
20303
20321
  readonly youtube: YoutubeClient;
20304
20322
  /** Realtor scraper API client — 4 endpoints across 2 markets (us, ca) */
package/dist/index.d.ts CHANGED
@@ -4547,6 +4547,8 @@ declare class Autoscout24Client {
4547
4547
  constructor(client: BaseClient);
4548
4548
  /** List search filters. Generated from the OpenAPI spec; returns the raw response object. */
4549
4549
  listSearchFilters(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
4550
+ /** Get listing. Generated from the OpenAPI spec; returns the raw response object. */
4551
+ getListing(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
4550
4552
  /** List markets. Generated from the OpenAPI spec; returns the raw response object. */
4551
4553
  listMarkets(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
4552
4554
  /** Search vehicles. Generated from the OpenAPI spec; returns the raw response object. */
@@ -13604,6 +13606,20 @@ declare class YandexClient {
13604
13606
  constructor(client: BaseClient);
13605
13607
  }
13606
13608
 
13609
+ /**
13610
+ * Yelp API client. // --- BEGIN generated by sdk/codegen/facade — do not edit ---
13611
+ */
13612
+
13613
+ /** Client for all Yelp API operations. (Generated from the OpenAPI spec.) */
13614
+ declare class YelpClient {
13615
+ private readonly client;
13616
+ constructor(client: BaseClient);
13617
+ /** List markets. Generated from the OpenAPI spec; returns the raw response object. */
13618
+ listMarkets(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
13619
+ /** Search businesses. Generated from the OpenAPI spec; returns the raw response object. */
13620
+ searchBusinesses(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
13621
+ }
13622
+
13607
13623
  /**
13608
13624
  * TypeScript types for YouTube API responses.
13609
13625
  *
@@ -20299,6 +20315,8 @@ declare class ScrapeBadger {
20299
20315
  readonly yahoo: YahooClient;
20300
20316
  /** Yandex scraper API client — web search, image search, reverse-image (CBIR), markets (tr/com/ru/by/kz/uz) */
20301
20317
  readonly yandex: YandexClient;
20318
+ /** Yelp API client. (Generated from the OpenAPI spec.) */
20319
+ readonly yelp: YelpClient;
20302
20320
  /** YouTube scraper API client — 39 endpoints */
20303
20321
  readonly youtube: YoutubeClient;
20304
20322
  /** Realtor scraper API client — 4 endpoints across 2 markets (us, ca) */
package/dist/index.mjs CHANGED
@@ -3,7 +3,7 @@ import { EventEmitter } from 'events';
3
3
  import WebSocket from 'ws';
4
4
 
5
5
  // src/internal/version.ts
6
- var SDK_VERSION = "0.73.0";
6
+ var SDK_VERSION = "0.74.0";
7
7
 
8
8
  // src/internal/exceptions.ts
9
9
  var ScrapeBadgerError = class _ScrapeBadgerError extends Error {
@@ -4632,6 +4632,10 @@ var Autoscout24Client = class {
4632
4632
  async listSearchFilters(params = {}) {
4633
4633
  return this.client.request("/v1/autoscout24/filters", { params });
4634
4634
  }
4635
+ /** Get listing. Generated from the OpenAPI spec; returns the raw response object. */
4636
+ async getListing(params = {}) {
4637
+ return this.client.request("/v1/autoscout24/listing", { params });
4638
+ }
4635
4639
  /** List markets. Generated from the OpenAPI spec; returns the raw response object. */
4636
4640
  async listMarkets(params = {}) {
4637
4641
  return this.client.request("/v1/autoscout24/markets", { params });
@@ -8592,6 +8596,22 @@ var YandexClient = class {
8592
8596
  }
8593
8597
  };
8594
8598
 
8599
+ // src/yelp/client.ts
8600
+ var YelpClient = class {
8601
+ client;
8602
+ constructor(client) {
8603
+ this.client = client;
8604
+ }
8605
+ /** List markets. Generated from the OpenAPI spec; returns the raw response object. */
8606
+ async listMarkets(params = {}) {
8607
+ return this.client.request("/v1/yelp/markets", { params });
8608
+ }
8609
+ /** Search businesses. Generated from the OpenAPI spec; returns the raw response object. */
8610
+ async searchBusinesses(params = {}) {
8611
+ return this.client.request("/v1/yelp/search", { params });
8612
+ }
8613
+ };
8614
+
8595
8615
  // src/youtube/search.ts
8596
8616
  var SearchClient15 = class {
8597
8617
  client;
@@ -10782,6 +10802,8 @@ var ScrapeBadger = class {
10782
10802
  yahoo;
10783
10803
  /** Yandex scraper API client — web search, image search, reverse-image (CBIR), markets (tr/com/ru/by/kz/uz) */
10784
10804
  yandex;
10805
+ /** Yelp API client. (Generated from the OpenAPI spec.) */
10806
+ yelp;
10785
10807
  /** YouTube scraper API client — 39 endpoints */
10786
10808
  youtube;
10787
10809
  /** Realtor scraper API client — 4 endpoints across 2 markets (us, ca) */
@@ -10882,6 +10904,7 @@ var ScrapeBadger = class {
10882
10904
  this.naver = new NaverClient(this.baseClient);
10883
10905
  this.yahoo = new YahooClient(this.baseClient);
10884
10906
  this.yandex = new YandexClient(this.baseClient);
10907
+ this.yelp = new YelpClient(this.baseClient);
10885
10908
  this.youtube = new YoutubeClient(this.baseClient);
10886
10909
  this.realtor = new RealtorClient(this.baseClient);
10887
10910
  this.leboncoin = new LeboncoinClient(this.baseClient);