@getanyapi/sdk 0.147.6 → 0.148.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.js CHANGED
@@ -1587,7 +1587,7 @@ var BingNamespace = class {
1587
1587
  *
1588
1588
  * Ask Microsoft Copilot (the AI answer in Bing) a question and get its web-grounded answer with the sources it cites as clean JSON - for tracking how Copilot answers and which sites it cites.
1589
1589
  *
1590
- * Price: $0.00085 per request.
1590
+ * Price: $0.00644 per request.
1591
1591
  *
1592
1592
  * @example
1593
1593
  * const res = await client.bing.copilot({ prompt: "what is the capital of australia and why" });
@@ -3491,7 +3491,7 @@ var GoogleNamespace = class {
3491
3491
  *
3492
3492
  * Ask Google Search a prompt and receive the AI Overview it generated for that scrape, with every source Google listed. Google regenerates the overview per search, so the same prompt can return different wording and a different source list.
3493
3493
  *
3494
- * Price: $0.0015 per request.
3494
+ * Price: $0.0018 per request.
3495
3495
  *
3496
3496
  * @example
3497
3497
  * const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
@@ -3812,6 +3812,27 @@ var GoogleFinanceNamespace = class {
3812
3812
  }
3813
3813
  };
3814
3814
 
3815
+ // src/generated/platforms/google_flights.ts
3816
+ var GoogleFlightsNamespace = class {
3817
+ constructor(_core) {
3818
+ this._core = _core;
3819
+ }
3820
+ _core;
3821
+ /**
3822
+ * Google Flights Search
3823
+ *
3824
+ * Search Google Flights between two airports on a date and get about 20 itineraries: price, airline, stops, total duration, CO2 emissions against the typical figure for the route, and every leg's airline code, flight number, airports, local departure and arrival times and duration, as normalized JSON. Filter by cabin class, stops, airlines and maximum price. One-way searches return the total fare for all passengers. With a returnDate, each result is an outbound option priced at the cheapest round trip that starts with it (priceType round_trip_starting); the return flights are not included.
3825
+ *
3826
+ * Price: $0.001 per request.
3827
+ *
3828
+ * @example
3829
+ * const res = await client.googleFlights.search({ departureDate: "2026-12-04", destination: "LHR", origin: "JFK" });
3830
+ */
3831
+ search(input, options) {
3832
+ return this._core.run("google_flights.search", input, options);
3833
+ }
3834
+ };
3835
+
3815
3836
  // src/generated/platforms/google_hotels.ts
3816
3837
  var GoogleHotelsNamespace = class {
3817
3838
  constructor(_core) {
@@ -8804,6 +8825,27 @@ var UpworkNamespace = class {
8804
8825
  }
8805
8826
  };
8806
8827
 
8828
+ // src/generated/platforms/vrbo.ts
8829
+ var VrboNamespace = class {
8830
+ constructor(_core) {
8831
+ this._core = _core;
8832
+ }
8833
+ _core;
8834
+ /**
8835
+ * Vrbo Search
8836
+ *
8837
+ * Search Vrbo vacation rentals by destination and dates, with guest, bedroom, bed, bathroom and price filters, and get up to 50 listings per call: Vrbo property ID and link, name, summary line, property type, bedrooms, beds, guest rating and review count, nightly and total stay price with the original nightly price before any discount, and photos as normalized JSON. Page with offset; the price is the same whatever the limit.
8838
+ *
8839
+ * Price: $0.001 per request.
8840
+ *
8841
+ * @example
8842
+ * const res = await client.vrbo.search({ checkIn: "2026-12-04", checkOut: "2026-12-07", location: "Lake Tahoe", adults: 2, limit: 5 });
8843
+ */
8844
+ search(input, options) {
8845
+ return this._core.run("vrbo.search", input, options);
8846
+ }
8847
+ };
8848
+
8807
8849
  // src/generated/platforms/walmart.ts
8808
8850
  var WalmartNamespace = class {
8809
8851
  constructor(_core) {
@@ -9460,7 +9502,7 @@ var YoutubeNamespace = class {
9460
9502
  *
9461
9503
  * Fetch the transcript/captions of a YouTube video or Short by URL or ID.
9462
9504
  *
9463
- * Price: $0.001 per request.
9505
+ * Price: $0.0009 per request.
9464
9506
  *
9465
9507
  * @example
9466
9508
  * const res = await client.youtube.videoTranscript({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
@@ -9905,6 +9947,14 @@ var AnyAPI2 = class extends AnyAPI {
9905
9947
  this._core
9906
9948
  );
9907
9949
  }
9950
+ /**
9951
+ * Typed methods for the google_flights platform.
9952
+ */
9953
+ get googleFlights() {
9954
+ return this._namespaces["googleFlights"] ??= new GoogleFlightsNamespace(
9955
+ this._core
9956
+ );
9957
+ }
9908
9958
  /**
9909
9959
  * Typed methods for the google_hotels platform.
9910
9960
  */
@@ -10301,6 +10351,14 @@ var AnyAPI2 = class extends AnyAPI {
10301
10351
  this._core
10302
10352
  );
10303
10353
  }
10354
+ /**
10355
+ * Typed methods for the vrbo platform.
10356
+ */
10357
+ get vrbo() {
10358
+ return this._namespaces["vrbo"] ??= new VrboNamespace(
10359
+ this._core
10360
+ );
10361
+ }
10304
10362
  /**
10305
10363
  * Typed methods for the walmart platform.
10306
10364
  */
@@ -10409,6 +10467,7 @@ export {
10409
10467
  GlassdoorNamespace,
10410
10468
  GoogleAdsNamespace,
10411
10469
  GoogleFinanceNamespace,
10470
+ GoogleFlightsNamespace,
10412
10471
  GoogleHotelsNamespace,
10413
10472
  GoogleNamespace,
10414
10473
  GoogleShoppingNamespace,
@@ -10468,6 +10527,7 @@ export {
10468
10527
  UnsplashNamespace,
10469
10528
  UpstreamError,
10470
10529
  UpworkNamespace,
10530
+ VrboNamespace,
10471
10531
  WalmartNamespace,
10472
10532
  WebNamespace,
10473
10533
  WeiboNamespace,