@getanyapi/sdk 0.97.3 → 0.98.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-10", checkOut: "2026-11-12", limit: 3 });
5014
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-11", checkOut: "2026-11-13", 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-10", checkOut: "2026-11-12", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
21489
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-11", checkOut: "2026-11-13", 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-10", checkOut: "2026-11-12", country: "us", query: "hotels near times square new york" });
21500
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-11", checkOut: "2026-11-13", country: "us", query: "hotels near times square new york" });
21501
21501
  */
21502
21502
  search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
21503
21503
  }
@@ -32473,7 +32473,7 @@ declare class LinkedinNamespace {
32473
32473
  *
32474
32474
  * Search public LinkedIn posts with rich author, engagement, attachment, and poll details.
32475
32475
  *
32476
- * Price: $0.005 per request.
32476
+ * Price: $0.004 per request.
32477
32477
  *
32478
32478
  * @example
32479
32479
  * const res = await client.linkedin.searchPostsFull({ query: "artificial intelligence", datePosted: "last-week", limit: 10, sort: "relevance" });
@@ -49290,7 +49290,7 @@ interface SeoRankedKeywordsInput {
49290
49290
  */
49291
49291
  language?: string;
49292
49292
  /**
49293
- * Maximum number of ranked keywords to return. You are billed per returned result, so a lower limit costs less.
49293
+ * Maximum number of ranked keywords to return. 1,000 is the per-call maximum; use offset to fetch more. You are billed per returned result, so a lower limit costs less.
49294
49294
  * Range: minimum 1, maximum 1000.
49295
49295
  * Default: 10.
49296
49296
  */
@@ -49300,6 +49300,12 @@ interface SeoRankedKeywordsInput {
49300
49300
  * Default: 2840.
49301
49301
  */
49302
49302
  location?: number;
49303
+ /**
49304
+ * Number of ranked keywords to skip in the chosen sort order. To fetch the next page, set offset to the previous offset plus limit, and keep the same orderBy, location, and language across pages. You are billed only for the keywords returned.
49305
+ * Range: minimum 0.
49306
+ * Default: 0.
49307
+ */
49308
+ offset?: number;
49303
49309
  /**
49304
49310
  * Sort order for the returned ranked keywords: by SERP position (ascending for best rankings first), search volume, or estimated traffic value (etv). Omit for the default order.
49305
49311
  * One of: position_asc, position_desc, volume_desc, etv_desc.
@@ -50285,7 +50291,7 @@ declare class SeoNamespace {
50285
50291
  /**
50286
50292
  * SEO Ranked Keywords
50287
50293
  *
50288
- * Get AnyAPI SEO ranked keywords for a domain with rankings, traffic estimates, volume, CPC, difficulty, and intent as normalized JSON.
50294
+ * Get AnyAPI SEO ranked keywords for a domain with rankings, traffic estimates, volume, CPC, difficulty, and intent as normalized JSON. One call returns up to 1,000 keywords; use offset to page further.
50289
50295
  *
50290
50296
  * Price: $0.01496 per request plus $0.00016 per result (maximum $0.17496).
50291
50297
  *
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-10", checkOut: "2026-11-12", limit: 3 });
5014
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-11", checkOut: "2026-11-13", 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-10", checkOut: "2026-11-12", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
21489
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-11", checkOut: "2026-11-13", 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-10", checkOut: "2026-11-12", country: "us", query: "hotels near times square new york" });
21500
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-11", checkOut: "2026-11-13", country: "us", query: "hotels near times square new york" });
21501
21501
  */
21502
21502
  search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
21503
21503
  }
@@ -32473,7 +32473,7 @@ declare class LinkedinNamespace {
32473
32473
  *
32474
32474
  * Search public LinkedIn posts with rich author, engagement, attachment, and poll details.
32475
32475
  *
32476
- * Price: $0.005 per request.
32476
+ * Price: $0.004 per request.
32477
32477
  *
32478
32478
  * @example
32479
32479
  * const res = await client.linkedin.searchPostsFull({ query: "artificial intelligence", datePosted: "last-week", limit: 10, sort: "relevance" });
@@ -49290,7 +49290,7 @@ interface SeoRankedKeywordsInput {
49290
49290
  */
49291
49291
  language?: string;
49292
49292
  /**
49293
- * Maximum number of ranked keywords to return. You are billed per returned result, so a lower limit costs less.
49293
+ * Maximum number of ranked keywords to return. 1,000 is the per-call maximum; use offset to fetch more. You are billed per returned result, so a lower limit costs less.
49294
49294
  * Range: minimum 1, maximum 1000.
49295
49295
  * Default: 10.
49296
49296
  */
@@ -49300,6 +49300,12 @@ interface SeoRankedKeywordsInput {
49300
49300
  * Default: 2840.
49301
49301
  */
49302
49302
  location?: number;
49303
+ /**
49304
+ * Number of ranked keywords to skip in the chosen sort order. To fetch the next page, set offset to the previous offset plus limit, and keep the same orderBy, location, and language across pages. You are billed only for the keywords returned.
49305
+ * Range: minimum 0.
49306
+ * Default: 0.
49307
+ */
49308
+ offset?: number;
49303
49309
  /**
49304
49310
  * Sort order for the returned ranked keywords: by SERP position (ascending for best rankings first), search volume, or estimated traffic value (etv). Omit for the default order.
49305
49311
  * One of: position_asc, position_desc, volume_desc, etv_desc.
@@ -50285,7 +50291,7 @@ declare class SeoNamespace {
50285
50291
  /**
50286
50292
  * SEO Ranked Keywords
50287
50293
  *
50288
- * Get AnyAPI SEO ranked keywords for a domain with rankings, traffic estimates, volume, CPC, difficulty, and intent as normalized JSON.
50294
+ * Get AnyAPI SEO ranked keywords for a domain with rankings, traffic estimates, volume, CPC, difficulty, and intent as normalized JSON. One call returns up to 1,000 keywords; use offset to page further.
50289
50295
  *
50290
50296
  * Price: $0.01496 per request plus $0.00016 per result (maximum $0.17496).
50291
50297
  *
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-10", checkOut: "2026-11-12", limit: 3 });
1434
+ * const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-11", checkOut: "2026-11-13", 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-10", checkOut: "2026-11-12", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
3325
+ * const res = await client.googleHotels.details({ checkIn: "2026-11-11", checkOut: "2026-11-13", 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-10", checkOut: "2026-11-12", country: "us", query: "hotels near times square new york" });
3338
+ * const res = await client.googleHotels.search({ checkIn: "2026-11-11", checkOut: "2026-11-13", 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);
@@ -4626,7 +4626,7 @@ var LinkedinNamespace = class {
4626
4626
  *
4627
4627
  * Search public LinkedIn posts with rich author, engagement, attachment, and poll details.
4628
4628
  *
4629
- * Price: $0.005 per request.
4629
+ * Price: $0.004 per request.
4630
4630
  *
4631
4631
  * @example
4632
4632
  * const res = await client.linkedin.searchPostsFull({ query: "artificial intelligence", datePosted: "last-week", limit: 10, sort: "relevance" });
@@ -6097,7 +6097,7 @@ var SeoNamespace = class {
6097
6097
  /**
6098
6098
  * SEO Ranked Keywords
6099
6099
  *
6100
- * Get AnyAPI SEO ranked keywords for a domain with rankings, traffic estimates, volume, CPC, difficulty, and intent as normalized JSON.
6100
+ * Get AnyAPI SEO ranked keywords for a domain with rankings, traffic estimates, volume, CPC, difficulty, and intent as normalized JSON. One call returns up to 1,000 keywords; use offset to page further.
6101
6101
  *
6102
6102
  * Price: $0.01496 per request plus $0.00016 per result (maximum $0.17496).
6103
6103
  *