@getanyapi/sdk 0.60.0 → 0.61.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
@@ -11418,12 +11418,20 @@ interface EbaySoldListingsInput {
11418
11418
  * Default: true.
11419
11419
  */
11420
11420
  allowFallbacks?: boolean;
11421
+ /**
11422
+ * Optional numeric eBay category id to search within (e.g. 9355 for Cell Phones & Smartphones, 9394 for Cell Phone Accessories).
11423
+ */
11424
+ categoryId?: string;
11421
11425
  /**
11422
11426
  * Item condition filter (e.g. used).
11423
11427
  * One of: any, new, used.
11424
11428
  * Default: any.
11425
11429
  */
11426
11430
  condition?: "any" | "new" | "used";
11431
+ /**
11432
+ * Only return listings sold on or before this date, inclusive, in YYYY-MM-DD format (e.g. 2026-09-15). This bound is applied to each page after it is fetched, so a page can hold fewer than limit listings, or none, while hasMore is still true: keep requesting the next page until hasMore is false.
11433
+ */
11434
+ endDate?: string;
11427
11435
  /**
11428
11436
  * Not supported by the current sources: only false (no filter) is accepted; true is refused without charge.
11429
11437
  */
@@ -11452,6 +11460,12 @@ interface EbaySoldListingsInput {
11452
11460
  * Range: minimum 0.
11453
11461
  */
11454
11462
  minPrice?: number;
11463
+ /**
11464
+ * 1-based results page. Use with hasMore in the output to paginate, and keep query, filters, and limit the same while walking pages, because limit sets the page size.
11465
+ * Range: minimum 1.
11466
+ * Default: 1.
11467
+ */
11468
+ page?: number;
11455
11469
  /**
11456
11470
  * 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.
11457
11471
  * Range: minimum 1.
@@ -11484,6 +11498,10 @@ interface EbaySoldListingsInput {
11484
11498
  * Optional. Source ids to prefer, in order, taken from this endpoint's `lanes[].source.id` in /catalog or /apis. Omit it and the cheapest source serves, with automatic failover. Listed sources are tried first in the order given, then the others, unless `allowFallbacks` is false. A single source with `allowFallbacks` false is served only by that source at its price, quoted and charged exactly, with no failover. The price is that of the dearest source that may serve. An id that does not serve this endpoint is rejected as invalid input with no charge; a listed source that is not serving right now is refused with no charge, so omit `source` to be served by another. On a paginated walk, later pages must include the source that served page one, or omit `source`.
11485
11499
  */
11486
11500
  source?: string[];
11501
+ /**
11502
+ * Only return listings sold on or after this date, inclusive, in YYYY-MM-DD format (e.g. 2026-09-01).
11503
+ */
11504
+ startDate?: string;
11487
11505
  }
11488
11506
  interface EbaySoldListingsItem {
11489
11507
  /**
@@ -11568,6 +11586,10 @@ interface EbaySoldListingsItem {
11568
11586
  * The `data` payload of eBay Sold Listings (ebay.sold_listings).
11569
11587
  */
11570
11588
  interface EbaySoldListingsData {
11589
+ /**
11590
+ * True when another results page exists. With endDate set a page can be short or empty while this is still true; request page + 1 to continue.
11591
+ */
11592
+ hasMore?: boolean;
11571
11593
  /**
11572
11594
  * Sold listing records: title, sold price, sale date, condition, seller, and item URL. Populated whenever the provider has data for the entity.
11573
11595
  */
@@ -11741,7 +11763,7 @@ declare class EbayNamespace {
11741
11763
  /**
11742
11764
  * eBay Sold Listings
11743
11765
  *
11744
- * Retrieve recently sold eBay listings for any keyword with optional price-range, condition, and sort filters (sold price, sale date, condition, seller, item details); ideal for pricing research.
11766
+ * Retrieve recently sold eBay listings for any keyword with optional price-range, condition, category, sold-date, and sort filters, page by page (sold price, sale date, condition, seller, item details); ideal for pricing research.
11745
11767
  *
11746
11768
  * Price: $0.0135 per request.
11747
11769
  *
package/dist/index.d.ts CHANGED
@@ -11418,12 +11418,20 @@ interface EbaySoldListingsInput {
11418
11418
  * Default: true.
11419
11419
  */
11420
11420
  allowFallbacks?: boolean;
11421
+ /**
11422
+ * Optional numeric eBay category id to search within (e.g. 9355 for Cell Phones & Smartphones, 9394 for Cell Phone Accessories).
11423
+ */
11424
+ categoryId?: string;
11421
11425
  /**
11422
11426
  * Item condition filter (e.g. used).
11423
11427
  * One of: any, new, used.
11424
11428
  * Default: any.
11425
11429
  */
11426
11430
  condition?: "any" | "new" | "used";
11431
+ /**
11432
+ * Only return listings sold on or before this date, inclusive, in YYYY-MM-DD format (e.g. 2026-09-15). This bound is applied to each page after it is fetched, so a page can hold fewer than limit listings, or none, while hasMore is still true: keep requesting the next page until hasMore is false.
11433
+ */
11434
+ endDate?: string;
11427
11435
  /**
11428
11436
  * Not supported by the current sources: only false (no filter) is accepted; true is refused without charge.
11429
11437
  */
@@ -11452,6 +11460,12 @@ interface EbaySoldListingsInput {
11452
11460
  * Range: minimum 0.
11453
11461
  */
11454
11462
  minPrice?: number;
11463
+ /**
11464
+ * 1-based results page. Use with hasMore in the output to paginate, and keep query, filters, and limit the same while walking pages, because limit sets the page size.
11465
+ * Range: minimum 1.
11466
+ * Default: 1.
11467
+ */
11468
+ page?: number;
11455
11469
  /**
11456
11470
  * 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.
11457
11471
  * Range: minimum 1.
@@ -11484,6 +11498,10 @@ interface EbaySoldListingsInput {
11484
11498
  * Optional. Source ids to prefer, in order, taken from this endpoint's `lanes[].source.id` in /catalog or /apis. Omit it and the cheapest source serves, with automatic failover. Listed sources are tried first in the order given, then the others, unless `allowFallbacks` is false. A single source with `allowFallbacks` false is served only by that source at its price, quoted and charged exactly, with no failover. The price is that of the dearest source that may serve. An id that does not serve this endpoint is rejected as invalid input with no charge; a listed source that is not serving right now is refused with no charge, so omit `source` to be served by another. On a paginated walk, later pages must include the source that served page one, or omit `source`.
11485
11499
  */
11486
11500
  source?: string[];
11501
+ /**
11502
+ * Only return listings sold on or after this date, inclusive, in YYYY-MM-DD format (e.g. 2026-09-01).
11503
+ */
11504
+ startDate?: string;
11487
11505
  }
11488
11506
  interface EbaySoldListingsItem {
11489
11507
  /**
@@ -11568,6 +11586,10 @@ interface EbaySoldListingsItem {
11568
11586
  * The `data` payload of eBay Sold Listings (ebay.sold_listings).
11569
11587
  */
11570
11588
  interface EbaySoldListingsData {
11589
+ /**
11590
+ * True when another results page exists. With endDate set a page can be short or empty while this is still true; request page + 1 to continue.
11591
+ */
11592
+ hasMore?: boolean;
11571
11593
  /**
11572
11594
  * Sold listing records: title, sold price, sale date, condition, seller, and item URL. Populated whenever the provider has data for the entity.
11573
11595
  */
@@ -11741,7 +11763,7 @@ declare class EbayNamespace {
11741
11763
  /**
11742
11764
  * eBay Sold Listings
11743
11765
  *
11744
- * Retrieve recently sold eBay listings for any keyword with optional price-range, condition, and sort filters (sold price, sale date, condition, seller, item details); ideal for pricing research.
11766
+ * Retrieve recently sold eBay listings for any keyword with optional price-range, condition, category, sold-date, and sort filters, page by page (sold price, sale date, condition, seller, item details); ideal for pricing research.
11745
11767
  *
11746
11768
  * Price: $0.0135 per request.
11747
11769
  *
package/dist/index.js CHANGED
@@ -1925,7 +1925,7 @@ var EbayNamespace = class {
1925
1925
  /**
1926
1926
  * eBay Sold Listings
1927
1927
  *
1928
- * Retrieve recently sold eBay listings for any keyword with optional price-range, condition, and sort filters (sold price, sale date, condition, seller, item details); ideal for pricing research.
1928
+ * Retrieve recently sold eBay listings for any keyword with optional price-range, condition, category, sold-date, and sort filters, page by page (sold price, sale date, condition, seller, item details); ideal for pricing research.
1929
1929
  *
1930
1930
  * Price: $0.0135 per request.
1931
1931
  *