@getanyapi/sdk 0.177.5 → 0.178.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.d.cts CHANGED
@@ -14038,7 +14038,7 @@ interface EbayAcceptedOffersInput {
14038
14038
  */
14039
14039
  ignoreSources?: string[];
14040
14040
  /**
14041
- * Maximum number of sales to return (1-240, default 240). Sales without a listing title or image are left out, so a page can hold fewer.
14041
+ * Maximum number of sales to return (1-240, default 240). It is also the page size when you send page. Sales without a listing title or image are left out, so a page can hold fewer.
14042
14042
  * Range: minimum 1, maximum 240.
14043
14043
  * Default: 240.
14044
14044
  */
@@ -14053,6 +14053,11 @@ interface EbayAcceptedOffersInput {
14053
14053
  * Range: minimum 0.
14054
14054
  */
14055
14055
  minPrice?: number;
14056
+ /**
14057
+ * 1-based results page (e.g. 2); leave it out for the first page. Use with hasMore in the output to paginate, and keep query, dates, filters, and limit the same while walking pages, because limit sets the page size. Paging needs a limit of at least 10.
14058
+ * Range: minimum 1.
14059
+ */
14060
+ page?: number;
14056
14061
  /**
14057
14062
  * Optional; omit it and routing is unchanged, with the cheapest source serving. Prefer sources whose typical response time (median over the trailing 30 days, as published on this endpoint's lane health) is under this many milliseconds; among those, the cheapest serves. This can raise your price: when the cheapest source misses the target, a faster and dearer one serves, and you are quoted and charged its price. If no source is that fast the request is still served, by whichever source offers the best speed for its price - it is never refused for being slow. Sources we have not timed are tried last. This is a preference, not a guarantee: the median describes past requests and is not a ceiling on this one, and it excludes any wait this request itself asks for. On a paginated walk it applies to the first page only: later pages stay with the source that page chose, at the price it was quoted.
14058
14063
  * Range: minimum 1.
@@ -14135,6 +14140,10 @@ interface EbayAcceptedOffersItem {
14135
14140
  * The `data` payload of eBay Accepted Offer Prices (ebay.accepted_offers).
14136
14141
  */
14137
14142
  interface EbayAcceptedOffersData {
14143
+ /**
14144
+ * True when another results page exists. A page can be short or empty while this is still true, because sales without a title or image and sales outside minPrice or maxPrice are left out; request page + 1 with the same inputs to continue. Paging needs a limit of at least 10, so with a smaller limit treat hasMore as a hint to search again with a larger limit.
14145
+ */
14146
+ hasMore?: boolean;
14138
14147
  /**
14139
14148
  * Completed eBay sales, newest first: title, the price the buyer actually paid, sale date, units sold, shipping, format, and item URL. Populated whenever the provider has data for the entity.
14140
14149
  */
@@ -14766,7 +14775,7 @@ interface EbaySoldListingsItem {
14766
14775
  */
14767
14776
  soldPrice?: number;
14768
14777
  /**
14769
- * UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.
14778
+ * UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. When the sale ended. Most sales carry the time to the minute; some carry only the day, as midnight UTC.
14770
14779
  */
14771
14780
  soldUtc?: number;
14772
14781
  /**
@@ -14896,7 +14905,7 @@ interface EbaySoldListingsThinItem {
14896
14905
  */
14897
14906
  soldPrice?: number;
14898
14907
  /**
14899
- * UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.
14908
+ * UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. When the sale ended. Most sales carry the time to the minute; some carry only the day, as midnight UTC.
14900
14909
  */
14901
14910
  soldUtc?: number;
14902
14911
  /**
@@ -14928,7 +14937,7 @@ declare class EbayNamespace {
14928
14937
  /**
14929
14938
  * eBay Accepted Offer Prices
14930
14939
  *
14931
- * 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. Auctions are never Best Offers, so look at fixed-price sales. Results come back newest first, so with a small limit the sales can cover only the last few days of a date window; raise limit (up to 240) to cover more of it.
14940
+ * 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. Auctions are never Best Offers, so look at fixed-price sales. Results come back newest first, so with a small limit the sales can cover only the last few days of a date window; raise limit (up to 240) or walk pages to cover more of it. To page, send page 2, 3 and so on while hasMore is true, keeping query, dates, filters and limit the same; paging needs a limit of at least 10.
14932
14941
  *
14933
14942
  * Price: $0.003 per request.
14934
14943
  *
@@ -24755,7 +24764,7 @@ declare class GoogleNamespace {
24755
24764
  *
24756
24765
  * Ask Google Search a prompt and receive the AI Overview it generated for that scrape, with every source Google listed. Google regenerates the overview per search, so the same prompt can return different wording and a different source list.
24757
24766
  *
24758
- * Price: $0.0018 per request.
24767
+ * Price: $0.0048 per request.
24759
24768
  *
24760
24769
  * @example
24761
24770
  * const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
@@ -26207,7 +26216,7 @@ declare class GoogleHotelsNamespace {
26207
26216
  *
26208
26217
  * Search Google Hotels by destination and dates and get hotels with their Google property ID, nightly price, rating, review count, coordinates, star class and photos as normalized JSON.
26209
26218
  *
26210
- * Price: $0.0015 per request.
26219
+ * Price: $0.0048 per request.
26211
26220
  *
26212
26221
  * @example
26213
26222
  * const res = await client.googleHotels.search({ checkIn: "2026-12-21", checkOut: "2026-12-23", country: "us", query: "hotels near times square new york" });
@@ -32516,7 +32525,7 @@ declare class InstagramNamespace {
32516
32525
  *
32517
32526
  * Fetch an Instagram account's public profile (followers, posts, bio, verification) by handle.
32518
32527
  *
32519
- * Price: $0.00056 per request.
32528
+ * Price: $0.00054 per request.
32520
32529
  *
32521
32530
  * @example
32522
32531
  * const res = await client.instagram.profile({ handle: "nasa" });
@@ -40307,7 +40316,7 @@ declare class LinkedinNamespace {
40307
40316
  *
40308
40317
  * Lightweight profile: name, avatar, location, followers, public id, current company, and a basic experience/education list (company + dates; job titles, the current-role flag and the connections label only where the source and the profile show them; no descriptions or skills; past companies may be redacted). For full experience detail, skills, certifications, and verified flags use linkedin.profile.
40309
40318
  *
40310
- * Price: $0.0008 per request.
40319
+ * Price: $0.0012 per request.
40311
40320
  *
40312
40321
  * @example
40313
40322
  * const res = await client.linkedin.profileThin({ url: "https://www.linkedin.com/in/williamhgates" });
package/dist/index.d.ts CHANGED
@@ -14038,7 +14038,7 @@ interface EbayAcceptedOffersInput {
14038
14038
  */
14039
14039
  ignoreSources?: string[];
14040
14040
  /**
14041
- * Maximum number of sales to return (1-240, default 240). Sales without a listing title or image are left out, so a page can hold fewer.
14041
+ * Maximum number of sales to return (1-240, default 240). It is also the page size when you send page. Sales without a listing title or image are left out, so a page can hold fewer.
14042
14042
  * Range: minimum 1, maximum 240.
14043
14043
  * Default: 240.
14044
14044
  */
@@ -14053,6 +14053,11 @@ interface EbayAcceptedOffersInput {
14053
14053
  * Range: minimum 0.
14054
14054
  */
14055
14055
  minPrice?: number;
14056
+ /**
14057
+ * 1-based results page (e.g. 2); leave it out for the first page. Use with hasMore in the output to paginate, and keep query, dates, filters, and limit the same while walking pages, because limit sets the page size. Paging needs a limit of at least 10.
14058
+ * Range: minimum 1.
14059
+ */
14060
+ page?: number;
14056
14061
  /**
14057
14062
  * Optional; omit it and routing is unchanged, with the cheapest source serving. Prefer sources whose typical response time (median over the trailing 30 days, as published on this endpoint's lane health) is under this many milliseconds; among those, the cheapest serves. This can raise your price: when the cheapest source misses the target, a faster and dearer one serves, and you are quoted and charged its price. If no source is that fast the request is still served, by whichever source offers the best speed for its price - it is never refused for being slow. Sources we have not timed are tried last. This is a preference, not a guarantee: the median describes past requests and is not a ceiling on this one, and it excludes any wait this request itself asks for. On a paginated walk it applies to the first page only: later pages stay with the source that page chose, at the price it was quoted.
14058
14063
  * Range: minimum 1.
@@ -14135,6 +14140,10 @@ interface EbayAcceptedOffersItem {
14135
14140
  * The `data` payload of eBay Accepted Offer Prices (ebay.accepted_offers).
14136
14141
  */
14137
14142
  interface EbayAcceptedOffersData {
14143
+ /**
14144
+ * True when another results page exists. A page can be short or empty while this is still true, because sales without a title or image and sales outside minPrice or maxPrice are left out; request page + 1 with the same inputs to continue. Paging needs a limit of at least 10, so with a smaller limit treat hasMore as a hint to search again with a larger limit.
14145
+ */
14146
+ hasMore?: boolean;
14138
14147
  /**
14139
14148
  * Completed eBay sales, newest first: title, the price the buyer actually paid, sale date, units sold, shipping, format, and item URL. Populated whenever the provider has data for the entity.
14140
14149
  */
@@ -14766,7 +14775,7 @@ interface EbaySoldListingsItem {
14766
14775
  */
14767
14776
  soldPrice?: number;
14768
14777
  /**
14769
- * UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.
14778
+ * UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. When the sale ended. Most sales carry the time to the minute; some carry only the day, as midnight UTC.
14770
14779
  */
14771
14780
  soldUtc?: number;
14772
14781
  /**
@@ -14896,7 +14905,7 @@ interface EbaySoldListingsThinItem {
14896
14905
  */
14897
14906
  soldPrice?: number;
14898
14907
  /**
14899
- * UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.
14908
+ * UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. When the sale ended. Most sales carry the time to the minute; some carry only the day, as midnight UTC.
14900
14909
  */
14901
14910
  soldUtc?: number;
14902
14911
  /**
@@ -14928,7 +14937,7 @@ declare class EbayNamespace {
14928
14937
  /**
14929
14938
  * eBay Accepted Offer Prices
14930
14939
  *
14931
- * 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. Auctions are never Best Offers, so look at fixed-price sales. Results come back newest first, so with a small limit the sales can cover only the last few days of a date window; raise limit (up to 240) to cover more of it.
14940
+ * 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. Auctions are never Best Offers, so look at fixed-price sales. Results come back newest first, so with a small limit the sales can cover only the last few days of a date window; raise limit (up to 240) or walk pages to cover more of it. To page, send page 2, 3 and so on while hasMore is true, keeping query, dates, filters and limit the same; paging needs a limit of at least 10.
14932
14941
  *
14933
14942
  * Price: $0.003 per request.
14934
14943
  *
@@ -24755,7 +24764,7 @@ declare class GoogleNamespace {
24755
24764
  *
24756
24765
  * Ask Google Search a prompt and receive the AI Overview it generated for that scrape, with every source Google listed. Google regenerates the overview per search, so the same prompt can return different wording and a different source list.
24757
24766
  *
24758
- * Price: $0.0018 per request.
24767
+ * Price: $0.0048 per request.
24759
24768
  *
24760
24769
  * @example
24761
24770
  * const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
@@ -26207,7 +26216,7 @@ declare class GoogleHotelsNamespace {
26207
26216
  *
26208
26217
  * Search Google Hotels by destination and dates and get hotels with their Google property ID, nightly price, rating, review count, coordinates, star class and photos as normalized JSON.
26209
26218
  *
26210
- * Price: $0.0015 per request.
26219
+ * Price: $0.0048 per request.
26211
26220
  *
26212
26221
  * @example
26213
26222
  * const res = await client.googleHotels.search({ checkIn: "2026-12-21", checkOut: "2026-12-23", country: "us", query: "hotels near times square new york" });
@@ -32516,7 +32525,7 @@ declare class InstagramNamespace {
32516
32525
  *
32517
32526
  * Fetch an Instagram account's public profile (followers, posts, bio, verification) by handle.
32518
32527
  *
32519
- * Price: $0.00056 per request.
32528
+ * Price: $0.00054 per request.
32520
32529
  *
32521
32530
  * @example
32522
32531
  * const res = await client.instagram.profile({ handle: "nasa" });
@@ -40307,7 +40316,7 @@ declare class LinkedinNamespace {
40307
40316
  *
40308
40317
  * Lightweight profile: name, avatar, location, followers, public id, current company, and a basic experience/education list (company + dates; job titles, the current-role flag and the connections label only where the source and the profile show them; no descriptions or skills; past companies may be redacted). For full experience detail, skills, certifications, and verified flags use linkedin.profile.
40309
40318
  *
40310
- * Price: $0.0008 per request.
40319
+ * Price: $0.0012 per request.
40311
40320
  *
40312
40321
  * @example
40313
40322
  * const res = await client.linkedin.profileThin({ url: "https://www.linkedin.com/in/williamhgates" });
package/dist/index.js CHANGED
@@ -2223,7 +2223,7 @@ var EbayNamespace = class {
2223
2223
  /**
2224
2224
  * eBay Accepted Offer Prices
2225
2225
  *
2226
- * 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. Auctions are never Best Offers, so look at fixed-price sales. Results come back newest first, so with a small limit the sales can cover only the last few days of a date window; raise limit (up to 240) to cover more of it.
2226
+ * 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. Auctions are never Best Offers, so look at fixed-price sales. Results come back newest first, so with a small limit the sales can cover only the last few days of a date window; raise limit (up to 240) or walk pages to cover more of it. To page, send page 2, 3 and so on while hasMore is true, keeping query, dates, filters and limit the same; paging needs a limit of at least 10.
2227
2227
  *
2228
2228
  * Price: $0.003 per request.
2229
2229
  *
@@ -3545,7 +3545,7 @@ var GoogleNamespace = class {
3545
3545
  *
3546
3546
  * Ask Google Search a prompt and receive the AI Overview it generated for that scrape, with every source Google listed. Google regenerates the overview per search, so the same prompt can return different wording and a different source list.
3547
3547
  *
3548
- * Price: $0.0018 per request.
3548
+ * Price: $0.0048 per request.
3549
3549
  *
3550
3550
  * @example
3551
3551
  * const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
@@ -3937,7 +3937,7 @@ var GoogleHotelsNamespace = class {
3937
3937
  *
3938
3938
  * Search Google Hotels by destination and dates and get hotels with their Google property ID, nightly price, rating, review count, coordinates, star class and photos as normalized JSON.
3939
3939
  *
3940
- * Price: $0.0015 per request.
3940
+ * Price: $0.0048 per request.
3941
3941
  *
3942
3942
  * @example
3943
3943
  * const res = await client.googleHotels.search({ checkIn: "2026-12-21", checkOut: "2026-12-23", country: "us", query: "hotels near times square new york" });
@@ -4459,7 +4459,7 @@ var InstagramNamespace = class {
4459
4459
  *
4460
4460
  * Fetch an Instagram account's public profile (followers, posts, bio, verification) by handle.
4461
4461
  *
4462
- * Price: $0.00056 per request.
4462
+ * Price: $0.00054 per request.
4463
4463
  *
4464
4464
  * @example
4465
4465
  * const res = await client.instagram.profile({ handle: "nasa" });
@@ -5396,7 +5396,7 @@ var LinkedinNamespace = class {
5396
5396
  *
5397
5397
  * Lightweight profile: name, avatar, location, followers, public id, current company, and a basic experience/education list (company + dates; job titles, the current-role flag and the connections label only where the source and the profile show them; no descriptions or skills; past companies may be redacted). For full experience detail, skills, certifications, and verified flags use linkedin.profile.
5398
5398
  *
5399
- * Price: $0.0008 per request.
5399
+ * Price: $0.0012 per request.
5400
5400
  *
5401
5401
  * @example
5402
5402
  * const res = await client.linkedin.profileThin({ url: "https://www.linkedin.com/in/williamhgates" });