scrapebadger 0.77.1 → 0.78.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.cjs CHANGED
@@ -3794,10 +3794,6 @@ var GoogleClient = class {
3794
3794
  async googleFlightsCalendarCheapestFarePerDate(params = {}) {
3795
3795
  return this._gen.request("/v1/google/flights/calendar", { params });
3796
3796
  }
3797
- /** Google Light web search. Generated from the OpenAPI spec; returns the raw response object. */
3798
- async googleLightWebSearch(params = {}) {
3799
- return this._gen.request("/v1/google/light/search", { params });
3800
- }
3801
3797
  // --- END generated by sdk/codegen/facade ---
3802
3798
  };
3803
3799
 
@@ -3871,11 +3867,7 @@ var IdealistaClient = class {
3871
3867
  async getPropertyDetail(propertyCode, params = {}) {
3872
3868
  return this.client.request(`/v1/idealista/properties/${propertyCode}`, { params });
3873
3869
  }
3874
- /**
3875
- * Get listing engagement stats.
3876
- * @deprecated Idealista withdrew public per-ad stats on 2026-11-10; the operation is marked deprecated in the OpenAPI spec, answers an error, and will be removed in a future release.
3877
- * Generated from the OpenAPI spec; returns the raw response object.
3878
- */
3870
+ /** Get listing engagement stats. Generated from the OpenAPI spec; returns the raw response object. */
3879
3871
  async getListingEngagementStats(propertyCode, params = {}) {
3880
3872
  return this.client.request(`/v1/idealista/properties/${propertyCode}/stats`, { params });
3881
3873
  }
@@ -6643,9 +6635,7 @@ var FacebookClient = class {
6643
6635
  async resolveATownPostcodeToAMarketplaceLocation(params = {}) {
6644
6636
  return this.client.request("/v1/facebook/marketplace/locations/resolve", { params });
6645
6637
  }
6646
- /** Search public Marketplace. Use strict_filters: true to enforce radius (km) and age,
6647
- * include_details: true for descriptions/photos. Continuations cover price ranges;
6648
- * search_info reports partial coverage. Sort all collected pages for newest first. */
6638
+ /** Search Marketplace. Generated from the OpenAPI spec; returns the raw response object. */
6649
6639
  async searchMarketplace(params = {}) {
6650
6640
  return this.client.request("/v1/facebook/marketplace/search", { params });
6651
6641
  }
@@ -9932,6 +9922,26 @@ var LoopNetClient = class {
9932
9922
  }
9933
9923
  };
9934
9924
 
9925
+ // src/meta_ai/client.ts
9926
+ var MetaAiClient = class {
9927
+ client;
9928
+ constructor(client) {
9929
+ this.client = client;
9930
+ }
9931
+ /** Ask Meta AI a question. Generated from the OpenAPI spec; returns the raw response object. */
9932
+ async askMetaAiAQuestion(params = {}) {
9933
+ return this.client.request("/v1/meta-ai/ask", { params });
9934
+ }
9935
+ /** Ask Meta AI a question (POST). Generated from the OpenAPI spec; returns the raw response object. */
9936
+ async askMetaAiAQuestionPost(body, params = {}) {
9937
+ return this.client.request("/v1/meta-ai/ask", { method: "POST", params, body });
9938
+ }
9939
+ /** List Meta AI assistant modes. Generated from the OpenAPI spec; returns the raw response object. */
9940
+ async listMetaAiAssistantModes(params = {}) {
9941
+ return this.client.request("/v1/meta-ai/models", { params });
9942
+ }
9943
+ };
9944
+
9935
9945
  // src/perplexity/client.ts
9936
9946
  function toQuery(params) {
9937
9947
  const { strictCountry, ...rest } = params;
@@ -10340,6 +10350,18 @@ var LinkedInClient = class {
10340
10350
  params: { country: options.country ?? "us" }
10341
10351
  });
10342
10352
  }
10353
+ /**
10354
+ * Get a full profile through the server-owned authenticated projection.
10355
+ *
10356
+ * @param publicId - The profile's public id (URL slug).
10357
+ * @param options - Optional parameters (country).
10358
+ * @returns Full profile with richer verticals and position pagination.
10359
+ */
10360
+ async getFullProfile(publicId, options = {}) {
10361
+ return this.client.request(`/v1/linkedin/profiles/${publicId}/full`, {
10362
+ params: { country: options.country ?? "us" }
10363
+ });
10364
+ }
10343
10365
  /**
10344
10366
  * Get a public LinkedIn post (activity share).
10345
10367
  *
@@ -10838,6 +10860,8 @@ var ScrapeBadger = class {
10838
10860
  immobiliare;
10839
10861
  /** LoopNet scraper API client — commercial real estate across US/CA/UK/FR/ES (search, listing, broker, markets, property types) */
10840
10862
  loopnet;
10863
+ /** Meta_Ai API client. (Generated from the OpenAPI spec.) */
10864
+ meta_ai;
10841
10865
  /** Perplexity API client. (Generated from the OpenAPI spec.) */
10842
10866
  perplexity;
10843
10867
  /** Depop scraper API client — search, product, user, user products, markets (www.depop.com, 10 markets) */
@@ -10933,6 +10957,7 @@ var ScrapeBadger = class {
10933
10957
  this.zillow = new ZillowClient(this.baseClient);
10934
10958
  this.immobiliare = new ImmobiliareClient(this.baseClient);
10935
10959
  this.loopnet = new LoopNetClient(this.baseClient);
10960
+ this.meta_ai = new MetaAiClient(this.baseClient);
10936
10961
  this.perplexity = new PerplexityClient(this.baseClient);
10937
10962
  this.depop = new DepopClient(this.baseClient);
10938
10963
  this.wallapop = new WallapopClient(this.baseClient);