@getanyapi/sdk 0.126.0 → 0.126.2

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
@@ -6600,7 +6600,7 @@ declare class BookingNamespace {
6600
6600
  * Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
6601
6601
  *
6602
6602
  * @example
6603
- * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-18", checkOut: "2026-11-20", limit: 3 });
6603
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-19", checkOut: "2026-11-21", limit: 3 });
6604
6604
  */
6605
6605
  search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
6606
6606
  }
@@ -14819,7 +14819,7 @@ declare class EmailNamespace {
14819
14819
  *
14820
14820
  * Find a person's work email address from their name and company domain.
14821
14821
  *
14822
- * Price: $0.0308 per request.
14822
+ * Price: $0.0154 per request.
14823
14823
  *
14824
14824
  * @example
14825
14825
  * const res = await client.email.find({ person: { domain: "google.com", firstName: "Damien", surname: "Neil" } });
@@ -24936,7 +24936,7 @@ declare class GoogleHotelsNamespace {
24936
24936
  * Price: $0.0015 per request.
24937
24937
  *
24938
24938
  * @example
24939
- * const res = await client.googleHotels.details({ checkIn: "2026-11-18", checkOut: "2026-11-20", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
24939
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-19", checkOut: "2026-11-21", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
24940
24940
  */
24941
24941
  details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
24942
24942
  /**
@@ -24947,7 +24947,7 @@ declare class GoogleHotelsNamespace {
24947
24947
  * Price: $0.0015 per request.
24948
24948
  *
24949
24949
  * @example
24950
- * const res = await client.googleHotels.search({ checkIn: "2026-11-18", checkOut: "2026-11-20", country: "us", query: "hotels near times square new york" });
24950
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-19", checkOut: "2026-11-21", country: "us", query: "hotels near times square new york" });
24951
24951
  */
24952
24952
  search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
24953
24953
  }
@@ -30466,7 +30466,7 @@ declare class InstagramNamespace {
30466
30466
  *
30467
30467
  * List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
30468
30468
  *
30469
- * Price: $0.0024 per request.
30469
+ * Price: $0.00175 per request.
30470
30470
  *
30471
30471
  * @example
30472
30472
  * const res = await client.instagram.similarProfiles({ handle: "nasa" });
@@ -43265,7 +43265,7 @@ declare class PerplexityNamespace {
43265
43265
  *
43266
43266
  * Ask Perplexity a web-grounded question and receive an answer with source citations.
43267
43267
  *
43268
- * Price: $0.002 per request.
43268
+ * Price: $0.00006 per request plus $0.011 per result (maximum $0.0111).
43269
43269
  *
43270
43270
  * @example
43271
43271
  * const res = await client.perplexity.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
package/dist/index.d.ts CHANGED
@@ -6600,7 +6600,7 @@ declare class BookingNamespace {
6600
6600
  * Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
6601
6601
  *
6602
6602
  * @example
6603
- * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-18", checkOut: "2026-11-20", limit: 3 });
6603
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-19", checkOut: "2026-11-21", limit: 3 });
6604
6604
  */
6605
6605
  search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
6606
6606
  }
@@ -14819,7 +14819,7 @@ declare class EmailNamespace {
14819
14819
  *
14820
14820
  * Find a person's work email address from their name and company domain.
14821
14821
  *
14822
- * Price: $0.0308 per request.
14822
+ * Price: $0.0154 per request.
14823
14823
  *
14824
14824
  * @example
14825
14825
  * const res = await client.email.find({ person: { domain: "google.com", firstName: "Damien", surname: "Neil" } });
@@ -24936,7 +24936,7 @@ declare class GoogleHotelsNamespace {
24936
24936
  * Price: $0.0015 per request.
24937
24937
  *
24938
24938
  * @example
24939
- * const res = await client.googleHotels.details({ checkIn: "2026-11-18", checkOut: "2026-11-20", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
24939
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-19", checkOut: "2026-11-21", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
24940
24940
  */
24941
24941
  details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
24942
24942
  /**
@@ -24947,7 +24947,7 @@ declare class GoogleHotelsNamespace {
24947
24947
  * Price: $0.0015 per request.
24948
24948
  *
24949
24949
  * @example
24950
- * const res = await client.googleHotels.search({ checkIn: "2026-11-18", checkOut: "2026-11-20", country: "us", query: "hotels near times square new york" });
24950
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-19", checkOut: "2026-11-21", country: "us", query: "hotels near times square new york" });
24951
24951
  */
24952
24952
  search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
24953
24953
  }
@@ -30466,7 +30466,7 @@ declare class InstagramNamespace {
30466
30466
  *
30467
30467
  * List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
30468
30468
  *
30469
- * Price: $0.0024 per request.
30469
+ * Price: $0.00175 per request.
30470
30470
  *
30471
30471
  * @example
30472
30472
  * const res = await client.instagram.similarProfiles({ handle: "nasa" });
@@ -43265,7 +43265,7 @@ declare class PerplexityNamespace {
43265
43265
  *
43266
43266
  * Ask Perplexity a web-grounded question and receive an answer with source citations.
43267
43267
  *
43268
- * Price: $0.002 per request.
43268
+ * Price: $0.00006 per request plus $0.011 per result (maximum $0.0111).
43269
43269
  *
43270
43270
  * @example
43271
43271
  * const res = await client.perplexity.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
package/dist/index.js CHANGED
@@ -1572,7 +1572,7 @@ var BookingNamespace = class {
1572
1572
  * Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
1573
1573
  *
1574
1574
  * @example
1575
- * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-18", checkOut: "2026-11-20", limit: 3 });
1575
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-19", checkOut: "2026-11-21", limit: 3 });
1576
1576
  */
1577
1577
  search(input, options) {
1578
1578
  return this._core.run("booking.search", input, options);
@@ -2158,7 +2158,7 @@ var EmailNamespace = class {
2158
2158
  *
2159
2159
  * Find a person's work email address from their name and company domain.
2160
2160
  *
2161
- * Price: $0.0308 per request.
2161
+ * Price: $0.0154 per request.
2162
2162
  *
2163
2163
  * @example
2164
2164
  * const res = await client.email.find({ person: { domain: "google.com", firstName: "Damien", surname: "Neil" } });
@@ -3667,7 +3667,7 @@ var GoogleHotelsNamespace = class {
3667
3667
  * Price: $0.0015 per request.
3668
3668
  *
3669
3669
  * @example
3670
- * const res = await client.googleHotels.details({ checkIn: "2026-11-18", checkOut: "2026-11-20", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
3670
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-19", checkOut: "2026-11-21", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
3671
3671
  */
3672
3672
  details(input, options) {
3673
3673
  return this._core.run("google_hotels.details", input, options);
@@ -3680,7 +3680,7 @@ var GoogleHotelsNamespace = class {
3680
3680
  * Price: $0.0015 per request.
3681
3681
  *
3682
3682
  * @example
3683
- * const res = await client.googleHotels.search({ checkIn: "2026-11-18", checkOut: "2026-11-20", country: "us", query: "hotels near times square new york" });
3683
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-19", checkOut: "2026-11-21", country: "us", query: "hotels near times square new york" });
3684
3684
  */
3685
3685
  search(input, options) {
3686
3686
  return this._core.run("google_hotels.search", input, options);
@@ -4351,7 +4351,7 @@ var InstagramNamespace = class {
4351
4351
  *
4352
4352
  * List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
4353
4353
  *
4354
- * Price: $0.0024 per request.
4354
+ * Price: $0.00175 per request.
4355
4355
  *
4356
4356
  * @example
4357
4357
  * const res = await client.instagram.similarProfiles({ handle: "nasa" });
@@ -5445,7 +5445,7 @@ var PerplexityNamespace = class {
5445
5445
  *
5446
5446
  * Ask Perplexity a web-grounded question and receive an answer with source citations.
5447
5447
  *
5448
- * Price: $0.002 per request.
5448
+ * Price: $0.00006 per request plus $0.011 per result (maximum $0.0111).
5449
5449
  *
5450
5450
  * @example
5451
5451
  * const res = await client.perplexity.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });