@getanyapi/sdk 0.98.3 → 0.99.1

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
@@ -5011,7 +5011,7 @@ declare class BookingNamespace {
5011
5011
  * Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
5012
5012
  *
5013
5013
  * @example
5014
- * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-11", checkOut: "2026-11-13", limit: 3 });
5014
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-12", checkOut: "2026-11-14", limit: 3 });
5015
5015
  */
5016
5016
  search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
5017
5017
  }
@@ -21486,7 +21486,7 @@ declare class GoogleHotelsNamespace {
21486
21486
  * Price: $0.0015 per request.
21487
21487
  *
21488
21488
  * @example
21489
- * const res = await client.googleHotels.details({ checkIn: "2026-11-11", checkOut: "2026-11-13", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
21489
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-12", checkOut: "2026-11-14", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
21490
21490
  */
21491
21491
  details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
21492
21492
  /**
@@ -21497,7 +21497,7 @@ declare class GoogleHotelsNamespace {
21497
21497
  * Price: $0.0015 per request.
21498
21498
  *
21499
21499
  * @example
21500
- * const res = await client.googleHotels.search({ checkIn: "2026-11-11", checkOut: "2026-11-13", country: "us", query: "hotels near times square new york" });
21500
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-12", checkOut: "2026-11-14", country: "us", query: "hotels near times square new york" });
21501
21501
  */
21502
21502
  search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
21503
21503
  }
@@ -42408,8 +42408,8 @@ interface PolymarketMarketsInput {
42408
42408
  */
42409
42409
  ignoreSources?: string[];
42410
42410
  /**
42411
- * Maximum number of results to return (1-25, default 25). You are billed per result returned, so a lower limit costs less.
42412
- * Range: minimum 1, maximum 25.
42411
+ * Maximum number of results to return (10-25, default 25). You are billed per result returned, so a lower limit costs less.
42412
+ * Range: minimum 10, maximum 25.
42413
42413
  */
42414
42414
  limit?: number;
42415
42415
  /**
@@ -44366,7 +44366,7 @@ declare class RedditNamespace {
44366
44366
  *
44367
44367
  * Get a Reddit user's profile picture URL, karma, and account age by username. The cheapest Reddit user lookup; use reddit.profile for bio, trophies, and post and comment counts.
44368
44368
  *
44369
- * Price: $0.00038 per request.
44369
+ * Price: $0.0012 per request.
44370
44370
  *
44371
44371
  * @example
44372
44372
  * const res = await client.reddit.avatar({ username: "spez" });
@@ -44457,7 +44457,7 @@ declare class RedditNamespace {
44457
44457
  *
44458
44458
  * Fetch posts from a subreddit listing (hot, new, or top).
44459
44459
  *
44460
- * Price: $0.00038 per request.
44460
+ * Price: $0.0005 per request.
44461
44461
  *
44462
44462
  * @example
44463
44463
  * const res = await client.reddit.subredditPosts({ subreddit: "programming", limit: 5 });
@@ -44475,7 +44475,7 @@ declare class RedditNamespace {
44475
44475
  *
44476
44476
  * Search posts within a single subreddit by query, sort, and timeframe.
44477
44477
  *
44478
- * Price: $0.00038 per request.
44478
+ * Price: $0.0005 per request.
44479
44479
  *
44480
44480
  * @example
44481
44481
  * const res = await client.reddit.subredditSearch({ subreddit: "Fitness", query: "push ups" });
package/dist/index.d.ts CHANGED
@@ -5011,7 +5011,7 @@ declare class BookingNamespace {
5011
5011
  * Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
5012
5012
  *
5013
5013
  * @example
5014
- * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-11", checkOut: "2026-11-13", limit: 3 });
5014
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-12", checkOut: "2026-11-14", limit: 3 });
5015
5015
  */
5016
5016
  search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
5017
5017
  }
@@ -21486,7 +21486,7 @@ declare class GoogleHotelsNamespace {
21486
21486
  * Price: $0.0015 per request.
21487
21487
  *
21488
21488
  * @example
21489
- * const res = await client.googleHotels.details({ checkIn: "2026-11-11", checkOut: "2026-11-13", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
21489
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-12", checkOut: "2026-11-14", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
21490
21490
  */
21491
21491
  details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
21492
21492
  /**
@@ -21497,7 +21497,7 @@ declare class GoogleHotelsNamespace {
21497
21497
  * Price: $0.0015 per request.
21498
21498
  *
21499
21499
  * @example
21500
- * const res = await client.googleHotels.search({ checkIn: "2026-11-11", checkOut: "2026-11-13", country: "us", query: "hotels near times square new york" });
21500
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-12", checkOut: "2026-11-14", country: "us", query: "hotels near times square new york" });
21501
21501
  */
21502
21502
  search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
21503
21503
  }
@@ -42408,8 +42408,8 @@ interface PolymarketMarketsInput {
42408
42408
  */
42409
42409
  ignoreSources?: string[];
42410
42410
  /**
42411
- * Maximum number of results to return (1-25, default 25). You are billed per result returned, so a lower limit costs less.
42412
- * Range: minimum 1, maximum 25.
42411
+ * Maximum number of results to return (10-25, default 25). You are billed per result returned, so a lower limit costs less.
42412
+ * Range: minimum 10, maximum 25.
42413
42413
  */
42414
42414
  limit?: number;
42415
42415
  /**
@@ -44366,7 +44366,7 @@ declare class RedditNamespace {
44366
44366
  *
44367
44367
  * Get a Reddit user's profile picture URL, karma, and account age by username. The cheapest Reddit user lookup; use reddit.profile for bio, trophies, and post and comment counts.
44368
44368
  *
44369
- * Price: $0.00038 per request.
44369
+ * Price: $0.0012 per request.
44370
44370
  *
44371
44371
  * @example
44372
44372
  * const res = await client.reddit.avatar({ username: "spez" });
@@ -44457,7 +44457,7 @@ declare class RedditNamespace {
44457
44457
  *
44458
44458
  * Fetch posts from a subreddit listing (hot, new, or top).
44459
44459
  *
44460
- * Price: $0.00038 per request.
44460
+ * Price: $0.0005 per request.
44461
44461
  *
44462
44462
  * @example
44463
44463
  * const res = await client.reddit.subredditPosts({ subreddit: "programming", limit: 5 });
@@ -44475,7 +44475,7 @@ declare class RedditNamespace {
44475
44475
  *
44476
44476
  * Search posts within a single subreddit by query, sort, and timeframe.
44477
44477
  *
44478
- * Price: $0.00038 per request.
44478
+ * Price: $0.0005 per request.
44479
44479
  *
44480
44480
  * @example
44481
44481
  * const res = await client.reddit.subredditSearch({ subreddit: "Fitness", query: "push ups" });
package/dist/index.js CHANGED
@@ -1431,7 +1431,7 @@ var BookingNamespace = class {
1431
1431
  * Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
1432
1432
  *
1433
1433
  * @example
1434
- * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-11", checkOut: "2026-11-13", limit: 3 });
1434
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-12", checkOut: "2026-11-14", limit: 3 });
1435
1435
  */
1436
1436
  search(input, options) {
1437
1437
  return this._core.run("booking.search", input, options);
@@ -3322,7 +3322,7 @@ var GoogleHotelsNamespace = class {
3322
3322
  * Price: $0.0015 per request.
3323
3323
  *
3324
3324
  * @example
3325
- * const res = await client.googleHotels.details({ checkIn: "2026-11-11", checkOut: "2026-11-13", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
3325
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-12", checkOut: "2026-11-14", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
3326
3326
  */
3327
3327
  details(input, options) {
3328
3328
  return this._core.run("google_hotels.details", input, options);
@@ -3335,7 +3335,7 @@ var GoogleHotelsNamespace = class {
3335
3335
  * Price: $0.0015 per request.
3336
3336
  *
3337
3337
  * @example
3338
- * const res = await client.googleHotels.search({ checkIn: "2026-11-11", checkOut: "2026-11-13", country: "us", query: "hotels near times square new york" });
3338
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-12", checkOut: "2026-11-14", country: "us", query: "hotels near times square new york" });
3339
3339
  */
3340
3340
  search(input, options) {
3341
3341
  return this._core.run("google_hotels.search", input, options);
@@ -5337,7 +5337,7 @@ var RedditNamespace = class {
5337
5337
  *
5338
5338
  * Get a Reddit user's profile picture URL, karma, and account age by username. The cheapest Reddit user lookup; use reddit.profile for bio, trophies, and post and comment counts.
5339
5339
  *
5340
- * Price: $0.00038 per request.
5340
+ * Price: $0.0012 per request.
5341
5341
  *
5342
5342
  * @example
5343
5343
  * const res = await client.reddit.avatar({ username: "spez" });
@@ -5460,7 +5460,7 @@ var RedditNamespace = class {
5460
5460
  *
5461
5461
  * Fetch posts from a subreddit listing (hot, new, or top).
5462
5462
  *
5463
- * Price: $0.00038 per request.
5463
+ * Price: $0.0005 per request.
5464
5464
  *
5465
5465
  * @example
5466
5466
  * const res = await client.reddit.subredditPosts({ subreddit: "programming", limit: 5 });
@@ -5489,7 +5489,7 @@ var RedditNamespace = class {
5489
5489
  *
5490
5490
  * Search posts within a single subreddit by query, sort, and timeframe.
5491
5491
  *
5492
- * Price: $0.00038 per request.
5492
+ * Price: $0.0005 per request.
5493
5493
  *
5494
5494
  * @example
5495
5495
  * const res = await client.reddit.subredditSearch({ subreddit: "Fitness", query: "push ups" });