scrapebadger 0.47.1 → 0.48.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 +5 -4
- package/dist/index.d.ts +5 -4
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -853,8 +853,9 @@ declare class ReferenceClient$f {
|
|
|
853
853
|
/**
|
|
854
854
|
* Search for brands by keyword.
|
|
855
855
|
*
|
|
856
|
-
* @param options -
|
|
857
|
-
* @param options.keyword - Brand name to search for.
|
|
856
|
+
* @param options - Search parameters.
|
|
857
|
+
* @param options.keyword - Brand name to search for. Required — the API
|
|
858
|
+
* answers 422 without it, so this was never optional.
|
|
858
859
|
* @param options.market - Market code (default: "fr").
|
|
859
860
|
* @param options.per_page - Number of results per page.
|
|
860
861
|
* @returns Brands matching the keyword.
|
|
@@ -871,8 +872,8 @@ declare class ReferenceClient$f {
|
|
|
871
872
|
* }
|
|
872
873
|
* ```
|
|
873
874
|
*/
|
|
874
|
-
brands(options
|
|
875
|
-
keyword
|
|
875
|
+
brands(options: {
|
|
876
|
+
keyword: string;
|
|
876
877
|
market?: string;
|
|
877
878
|
per_page?: number;
|
|
878
879
|
}): Promise<BrandsResponse>;
|
package/dist/index.d.ts
CHANGED
|
@@ -853,8 +853,9 @@ declare class ReferenceClient$f {
|
|
|
853
853
|
/**
|
|
854
854
|
* Search for brands by keyword.
|
|
855
855
|
*
|
|
856
|
-
* @param options -
|
|
857
|
-
* @param options.keyword - Brand name to search for.
|
|
856
|
+
* @param options - Search parameters.
|
|
857
|
+
* @param options.keyword - Brand name to search for. Required — the API
|
|
858
|
+
* answers 422 without it, so this was never optional.
|
|
858
859
|
* @param options.market - Market code (default: "fr").
|
|
859
860
|
* @param options.per_page - Number of results per page.
|
|
860
861
|
* @returns Brands matching the keyword.
|
|
@@ -871,8 +872,8 @@ declare class ReferenceClient$f {
|
|
|
871
872
|
* }
|
|
872
873
|
* ```
|
|
873
874
|
*/
|
|
874
|
-
brands(options
|
|
875
|
-
keyword
|
|
875
|
+
brands(options: {
|
|
876
|
+
keyword: string;
|
|
876
877
|
market?: string;
|
|
877
878
|
per_page?: number;
|
|
878
879
|
}): Promise<BrandsResponse>;
|
package/dist/index.js
CHANGED
|
@@ -2876,8 +2876,9 @@ var ReferenceClient = class {
|
|
|
2876
2876
|
/**
|
|
2877
2877
|
* Search for brands by keyword.
|
|
2878
2878
|
*
|
|
2879
|
-
* @param options -
|
|
2880
|
-
* @param options.keyword - Brand name to search for.
|
|
2879
|
+
* @param options - Search parameters.
|
|
2880
|
+
* @param options.keyword - Brand name to search for. Required — the API
|
|
2881
|
+
* answers 422 without it, so this was never optional.
|
|
2881
2882
|
* @param options.market - Market code (default: "fr").
|
|
2882
2883
|
* @param options.per_page - Number of results per page.
|
|
2883
2884
|
* @returns Brands matching the keyword.
|
|
@@ -2894,7 +2895,7 @@ var ReferenceClient = class {
|
|
|
2894
2895
|
* }
|
|
2895
2896
|
* ```
|
|
2896
2897
|
*/
|
|
2897
|
-
async brands(options
|
|
2898
|
+
async brands(options) {
|
|
2898
2899
|
return this.client.request("/v1/vinted/brands", {
|
|
2899
2900
|
params: {
|
|
2900
2901
|
keyword: options.keyword,
|