scrapebadger 0.44.0 → 0.46.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
@@ -291,6 +291,8 @@ interface VintedSellerSummary extends VintedUserSummary {
291
291
  * A Vinted item summary as returned in search results and listings.
292
292
  */
293
293
  interface VintedItemSummary {
294
+ display_title?: string | null;
295
+ display_subtitle?: string | null;
294
296
  /** Unique item identifier */
295
297
  id: number;
296
298
  /** Item title */
@@ -298,7 +300,7 @@ interface VintedItemSummary {
298
300
  /** Item price */
299
301
  price: VintedPrice;
300
302
  /** Brand name */
301
- brand_title: string;
303
+ brand_title: string | null;
302
304
  /** Size label */
303
305
  size_title: string;
304
306
  /** Item condition status, localized to the market */
@@ -480,6 +482,7 @@ interface VintedMarket {
480
482
  * Pagination metadata for list responses.
481
483
  */
482
484
  interface VintedPagination {
485
+ time?: number | null;
483
486
  /** Current page number */
484
487
  current_page: number;
485
488
  /** Total number of pages */
@@ -568,6 +571,10 @@ interface MarketsResponse$a {
568
571
  * Parameters for searching Vinted items.
569
572
  */
570
573
  interface VintedSearchParams {
574
+ size_ids?: string;
575
+ material_ids?: string;
576
+ time?: number;
577
+ search_session_id?: string;
571
578
  /** Search query string */
572
579
  query: string;
573
580
  /** Market code (default: "fr") */
@@ -954,6 +961,7 @@ declare class ReferenceClient$f {
954
961
  * ```
955
962
  */
956
963
  declare class VintedClient {
964
+ private readonly _gen;
957
965
  /** Client for item search operations */
958
966
  readonly search: SearchClient$h;
959
967
  /** Client for individual item operations */
@@ -968,6 +976,10 @@ declare class VintedClient {
968
976
  * @param client - The base HTTP client for making requests.
969
977
  */
970
978
  constructor(client: BaseClient);
979
+ /** List public Vinted mobile operations. Generated from the OpenAPI spec; returns the raw response object. */
980
+ listPublicVintedMobileOperations(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
981
+ /** Read Vinted mobile data. Generated from the OpenAPI spec; returns the raw response object. */
982
+ readVintedMobileData(operation: string, body?: unknown, params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
971
983
  }
972
984
 
973
985
  /**
@@ -7617,6 +7629,18 @@ declare class TikTokClient {
7617
7629
  searchTiktokAdvertisers(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
7618
7630
  /** Get TikTok ad detail. Generated from the OpenAPI spec; returns the raw response object. */
7619
7631
  getTiktokAdDetail(adId: string, params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
7632
+ /** TikTok Shop root categories. Generated from the OpenAPI spec; returns the raw response object. */
7633
+ tiktokShopRootCategories(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
7634
+ /** TikTok Shop category: subcategories + top products. Generated from the OpenAPI spec; returns the raw response object. */
7635
+ tiktokShopCategorySubcategoriesTopProducts(categoryId: string, params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
7636
+ /** TikTok Shop product detail. Generated from the OpenAPI spec; returns the raw response object. */
7637
+ tiktokShopProductDetail(productId: string, params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
7638
+ /** TikTok Shop product reviews. Generated from the OpenAPI spec; returns the raw response object. */
7639
+ tiktokShopProductReviews(productId: string, params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
7640
+ /** Search TikTok Shop products. Generated from the OpenAPI spec; returns the raw response object. */
7641
+ searchTiktokShopProducts(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
7642
+ /** TikTok Shop store + products. Generated from the OpenAPI spec; returns the raw response object. */
7643
+ tiktokShopStoreProducts(sellerId: string, params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
7620
7644
  }
7621
7645
 
7622
7646
  /**
@@ -14492,6 +14516,8 @@ declare class ZillowClient {
14492
14516
  * @param client - The base HTTP client for making requests.
14493
14517
  */
14494
14518
  constructor(client: BaseClient);
14519
+ /** Get multifamily building. Generated from the OpenAPI spec; returns the raw response object. */
14520
+ getMultifamilyBuilding(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
14495
14521
  /** Get property detail by URL. Generated from the OpenAPI spec; returns the raw response object. */
14496
14522
  getPropertyDetailByUrl(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
14497
14523
  }
package/dist/index.d.ts CHANGED
@@ -291,6 +291,8 @@ interface VintedSellerSummary extends VintedUserSummary {
291
291
  * A Vinted item summary as returned in search results and listings.
292
292
  */
293
293
  interface VintedItemSummary {
294
+ display_title?: string | null;
295
+ display_subtitle?: string | null;
294
296
  /** Unique item identifier */
295
297
  id: number;
296
298
  /** Item title */
@@ -298,7 +300,7 @@ interface VintedItemSummary {
298
300
  /** Item price */
299
301
  price: VintedPrice;
300
302
  /** Brand name */
301
- brand_title: string;
303
+ brand_title: string | null;
302
304
  /** Size label */
303
305
  size_title: string;
304
306
  /** Item condition status, localized to the market */
@@ -480,6 +482,7 @@ interface VintedMarket {
480
482
  * Pagination metadata for list responses.
481
483
  */
482
484
  interface VintedPagination {
485
+ time?: number | null;
483
486
  /** Current page number */
484
487
  current_page: number;
485
488
  /** Total number of pages */
@@ -568,6 +571,10 @@ interface MarketsResponse$a {
568
571
  * Parameters for searching Vinted items.
569
572
  */
570
573
  interface VintedSearchParams {
574
+ size_ids?: string;
575
+ material_ids?: string;
576
+ time?: number;
577
+ search_session_id?: string;
571
578
  /** Search query string */
572
579
  query: string;
573
580
  /** Market code (default: "fr") */
@@ -954,6 +961,7 @@ declare class ReferenceClient$f {
954
961
  * ```
955
962
  */
956
963
  declare class VintedClient {
964
+ private readonly _gen;
957
965
  /** Client for item search operations */
958
966
  readonly search: SearchClient$h;
959
967
  /** Client for individual item operations */
@@ -968,6 +976,10 @@ declare class VintedClient {
968
976
  * @param client - The base HTTP client for making requests.
969
977
  */
970
978
  constructor(client: BaseClient);
979
+ /** List public Vinted mobile operations. Generated from the OpenAPI spec; returns the raw response object. */
980
+ listPublicVintedMobileOperations(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
981
+ /** Read Vinted mobile data. Generated from the OpenAPI spec; returns the raw response object. */
982
+ readVintedMobileData(operation: string, body?: unknown, params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
971
983
  }
972
984
 
973
985
  /**
@@ -7617,6 +7629,18 @@ declare class TikTokClient {
7617
7629
  searchTiktokAdvertisers(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
7618
7630
  /** Get TikTok ad detail. Generated from the OpenAPI spec; returns the raw response object. */
7619
7631
  getTiktokAdDetail(adId: string, params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
7632
+ /** TikTok Shop root categories. Generated from the OpenAPI spec; returns the raw response object. */
7633
+ tiktokShopRootCategories(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
7634
+ /** TikTok Shop category: subcategories + top products. Generated from the OpenAPI spec; returns the raw response object. */
7635
+ tiktokShopCategorySubcategoriesTopProducts(categoryId: string, params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
7636
+ /** TikTok Shop product detail. Generated from the OpenAPI spec; returns the raw response object. */
7637
+ tiktokShopProductDetail(productId: string, params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
7638
+ /** TikTok Shop product reviews. Generated from the OpenAPI spec; returns the raw response object. */
7639
+ tiktokShopProductReviews(productId: string, params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
7640
+ /** Search TikTok Shop products. Generated from the OpenAPI spec; returns the raw response object. */
7641
+ searchTiktokShopProducts(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
7642
+ /** TikTok Shop store + products. Generated from the OpenAPI spec; returns the raw response object. */
7643
+ tiktokShopStoreProducts(sellerId: string, params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
7620
7644
  }
7621
7645
 
7622
7646
  /**
@@ -14492,6 +14516,8 @@ declare class ZillowClient {
14492
14516
  * @param client - The base HTTP client for making requests.
14493
14517
  */
14494
14518
  constructor(client: BaseClient);
14519
+ /** Get multifamily building. Generated from the OpenAPI spec; returns the raw response object. */
14520
+ getMultifamilyBuilding(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
14495
14521
  /** Get property detail by URL. Generated from the OpenAPI spec; returns the raw response object. */
14496
14522
  getPropertyDetailByUrl(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
14497
14523
  }
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
9
9
  var WebSocket__default = /*#__PURE__*/_interopDefault(WebSocket);
10
10
 
11
11
  // src/internal/version.ts
12
- var SDK_VERSION = "0.44.0";
12
+ var SDK_VERSION = "0.46.0";
13
13
 
14
14
  // src/internal/exceptions.ts
15
15
  var ScrapeBadgerError = class _ScrapeBadgerError extends Error {
@@ -2740,7 +2740,11 @@ var SearchClient = class {
2740
2740
  color_ids: params.color_ids,
2741
2741
  status_ids: params.status_ids,
2742
2742
  order: params.order,
2743
- seller_country: params.seller_country
2743
+ seller_country: params.seller_country,
2744
+ size_ids: params.size_ids,
2745
+ material_ids: params.material_ids,
2746
+ time: params.time,
2747
+ search_session_id: params.search_session_id
2744
2748
  }
2745
2749
  });
2746
2750
  }
@@ -2940,6 +2944,7 @@ var ReferenceClient = class {
2940
2944
 
2941
2945
  // src/vinted/client.ts
2942
2946
  var VintedClient = class {
2947
+ _gen;
2943
2948
  /** Client for item search operations */
2944
2949
  search;
2945
2950
  /** Client for individual item operations */
@@ -2954,11 +2959,22 @@ var VintedClient = class {
2954
2959
  * @param client - The base HTTP client for making requests.
2955
2960
  */
2956
2961
  constructor(client) {
2962
+ this._gen = client;
2957
2963
  this.search = new SearchClient(client);
2958
2964
  this.items = new ItemsClient(client);
2959
2965
  this.users = new UsersClient2(client);
2960
2966
  this.reference = new ReferenceClient(client);
2961
2967
  }
2968
+ // --- BEGIN generated by sdk/codegen/facade — do not edit ---
2969
+ /** List public Vinted mobile operations. Generated from the OpenAPI spec; returns the raw response object. */
2970
+ async listPublicVintedMobileOperations(params = {}) {
2971
+ return this._gen.request("/v1/vinted/mobile/operations", { params });
2972
+ }
2973
+ /** Read Vinted mobile data. Generated from the OpenAPI spec; returns the raw response object. */
2974
+ async readVintedMobileData(operation, body, params = {}) {
2975
+ return this._gen.request(`/v1/vinted/mobile/${operation}`, { method: "POST", params, body });
2976
+ }
2977
+ // --- END generated by sdk/codegen/facade ---
2962
2978
  };
2963
2979
 
2964
2980
  // src/google/ai-mode.ts
@@ -5716,6 +5732,30 @@ var TikTokClient = class {
5716
5732
  async getTiktokAdDetail(adId, params = {}) {
5717
5733
  return this._gen.request(`/v1/tiktok/ads/${adId}`, { params });
5718
5734
  }
5735
+ /** TikTok Shop root categories. Generated from the OpenAPI spec; returns the raw response object. */
5736
+ async tiktokShopRootCategories(params = {}) {
5737
+ return this._gen.request("/v1/tiktok/shop/categories", { params });
5738
+ }
5739
+ /** TikTok Shop category: subcategories + top products. Generated from the OpenAPI spec; returns the raw response object. */
5740
+ async tiktokShopCategorySubcategoriesTopProducts(categoryId, params = {}) {
5741
+ return this._gen.request(`/v1/tiktok/shop/categories/${categoryId}`, { params });
5742
+ }
5743
+ /** TikTok Shop product detail. Generated from the OpenAPI spec; returns the raw response object. */
5744
+ async tiktokShopProductDetail(productId, params = {}) {
5745
+ return this._gen.request(`/v1/tiktok/shop/products/${productId}`, { params });
5746
+ }
5747
+ /** TikTok Shop product reviews. Generated from the OpenAPI spec; returns the raw response object. */
5748
+ async tiktokShopProductReviews(productId, params = {}) {
5749
+ return this._gen.request(`/v1/tiktok/shop/products/${productId}/reviews`, { params });
5750
+ }
5751
+ /** Search TikTok Shop products. Generated from the OpenAPI spec; returns the raw response object. */
5752
+ async searchTiktokShopProducts(params = {}) {
5753
+ return this._gen.request("/v1/tiktok/shop/search", { params });
5754
+ }
5755
+ /** TikTok Shop store + products. Generated from the OpenAPI spec; returns the raw response object. */
5756
+ async tiktokShopStoreProducts(sellerId, params = {}) {
5757
+ return this._gen.request(`/v1/tiktok/shop/stores/${sellerId}`, { params });
5758
+ }
5719
5759
  // --- END generated by sdk/codegen/facade ---
5720
5760
  };
5721
5761
 
@@ -7983,6 +8023,10 @@ var ZillowClient = class {
7983
8023
  this.reference = new ReferenceClient14(client);
7984
8024
  }
7985
8025
  // --- BEGIN generated by sdk/codegen/facade — do not edit ---
8026
+ /** Get multifamily building. Generated from the OpenAPI spec; returns the raw response object. */
8027
+ async getMultifamilyBuilding(params = {}) {
8028
+ return this._gen.request("/v1/zillow/building", { params });
8029
+ }
7986
8030
  /** Get property detail by URL. Generated from the OpenAPI spec; returns the raw response object. */
7987
8031
  async getPropertyDetailByUrl(params = {}) {
7988
8032
  return this._gen.request("/v1/zillow/property", { params });