@getanyapi/sdk 0.166.0 → 0.167.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
@@ -2311,6 +2311,19 @@ var EbayNamespace = class {
2311
2311
  this._core = _core;
2312
2312
  }
2313
2313
  _core;
2314
+ /**
2315
+ * eBay Accepted Offer Prices
2316
+ *
2317
+ * Retrieve completed eBay sales for any keyword with the price the buyer actually paid, including accepted Best Offer amounts where available, plus the sale date, units sold, shipping, and format. History is available back to December 2023.
2318
+ *
2319
+ * Price: $0.003 per request.
2320
+ *
2321
+ * @example
2322
+ * const res = await client.ebay.acceptedOffers({ query: "Gibson Les Paul Standard 60s", condition: "used", limit: 10 });
2323
+ */
2324
+ acceptedOffers(input, options) {
2325
+ return this._core.run("ebay.accepted_offers", input, options);
2326
+ }
2314
2327
  /**
2315
2328
  * eBay Product
2316
2329
  *
@@ -9771,6 +9784,22 @@ var YoutubeNamespace = class {
9771
9784
  playlist(input, options) {
9772
9785
  return this._core.run("youtube.playlist", input, options);
9773
9786
  }
9787
+ /**
9788
+ * Iterate every result of YouTube Playlist across pages.
9789
+ *
9790
+ * Yields items directly; call `.pages()` on the return value to walk whole
9791
+ * result pages instead (each carries its own costUsd).
9792
+ */
9793
+ iterPlaylist(input, options) {
9794
+ return paginate(
9795
+ this._core,
9796
+ "youtube.playlist",
9797
+ input,
9798
+ "videos",
9799
+ false,
9800
+ options
9801
+ );
9802
+ }
9774
9803
  /**
9775
9804
  * YouTube Search
9776
9805
  *