@getanyapi/sdk 0.144.1 → 0.145.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 +17 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +25 -6
- package/dist/index.d.ts +25 -6
- package/dist/index.js +17 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3866,7 +3866,7 @@ var GoogleAdsNamespace = class {
|
|
|
3866
3866
|
* Price: $0.0012 per request.
|
|
3867
3867
|
*
|
|
3868
3868
|
* @example
|
|
3869
|
-
* const res = await client.googleAds.adDetails({ url: "https://adstransparency.google.com/advertiser/
|
|
3869
|
+
* const res = await client.googleAds.adDetails({ url: "https://adstransparency.google.com/advertiser/AR13309761427309854721/creative/CR00826878176251609089" });
|
|
3870
3870
|
*/
|
|
3871
3871
|
adDetails(input, options) {
|
|
3872
3872
|
return this._core.run("google_ads.ad_details", input, options);
|
|
@@ -8424,6 +8424,22 @@ var TripadvisorNamespace = class {
|
|
|
8424
8424
|
reviews(input, options) {
|
|
8425
8425
|
return this._core.run("tripadvisor.reviews", input, options);
|
|
8426
8426
|
}
|
|
8427
|
+
/**
|
|
8428
|
+
* Iterate every result of Tripadvisor Reviews across pages.
|
|
8429
|
+
*
|
|
8430
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
8431
|
+
* result pages instead (each carries its own costUsd).
|
|
8432
|
+
*/
|
|
8433
|
+
iterReviews(input, options) {
|
|
8434
|
+
return paginate(
|
|
8435
|
+
this._core,
|
|
8436
|
+
"tripadvisor.reviews",
|
|
8437
|
+
input,
|
|
8438
|
+
"items",
|
|
8439
|
+
false,
|
|
8440
|
+
options
|
|
8441
|
+
);
|
|
8442
|
+
}
|
|
8427
8443
|
/**
|
|
8428
8444
|
* Tripadvisor Search
|
|
8429
8445
|
*
|