scrapebadger 0.45.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 +13 -1
- package/dist/index.d.ts +13 -1
- package/dist/index.js +18 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +18 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { EventEmitter } from 'events';
|
|
|
3
3
|
import WebSocket from 'ws';
|
|
4
4
|
|
|
5
5
|
// src/internal/version.ts
|
|
6
|
-
var SDK_VERSION = "0.
|
|
6
|
+
var SDK_VERSION = "0.46.0";
|
|
7
7
|
|
|
8
8
|
// src/internal/exceptions.ts
|
|
9
9
|
var ScrapeBadgerError = class _ScrapeBadgerError extends Error {
|
|
@@ -2734,7 +2734,11 @@ var SearchClient = class {
|
|
|
2734
2734
|
color_ids: params.color_ids,
|
|
2735
2735
|
status_ids: params.status_ids,
|
|
2736
2736
|
order: params.order,
|
|
2737
|
-
seller_country: params.seller_country
|
|
2737
|
+
seller_country: params.seller_country,
|
|
2738
|
+
size_ids: params.size_ids,
|
|
2739
|
+
material_ids: params.material_ids,
|
|
2740
|
+
time: params.time,
|
|
2741
|
+
search_session_id: params.search_session_id
|
|
2738
2742
|
}
|
|
2739
2743
|
});
|
|
2740
2744
|
}
|
|
@@ -2934,6 +2938,7 @@ var ReferenceClient = class {
|
|
|
2934
2938
|
|
|
2935
2939
|
// src/vinted/client.ts
|
|
2936
2940
|
var VintedClient = class {
|
|
2941
|
+
_gen;
|
|
2937
2942
|
/** Client for item search operations */
|
|
2938
2943
|
search;
|
|
2939
2944
|
/** Client for individual item operations */
|
|
@@ -2948,11 +2953,22 @@ var VintedClient = class {
|
|
|
2948
2953
|
* @param client - The base HTTP client for making requests.
|
|
2949
2954
|
*/
|
|
2950
2955
|
constructor(client) {
|
|
2956
|
+
this._gen = client;
|
|
2951
2957
|
this.search = new SearchClient(client);
|
|
2952
2958
|
this.items = new ItemsClient(client);
|
|
2953
2959
|
this.users = new UsersClient2(client);
|
|
2954
2960
|
this.reference = new ReferenceClient(client);
|
|
2955
2961
|
}
|
|
2962
|
+
// --- BEGIN generated by sdk/codegen/facade — do not edit ---
|
|
2963
|
+
/** List public Vinted mobile operations. Generated from the OpenAPI spec; returns the raw response object. */
|
|
2964
|
+
async listPublicVintedMobileOperations(params = {}) {
|
|
2965
|
+
return this._gen.request("/v1/vinted/mobile/operations", { params });
|
|
2966
|
+
}
|
|
2967
|
+
/** Read Vinted mobile data. Generated from the OpenAPI spec; returns the raw response object. */
|
|
2968
|
+
async readVintedMobileData(operation, body, params = {}) {
|
|
2969
|
+
return this._gen.request(`/v1/vinted/mobile/${operation}`, { method: "POST", params, body });
|
|
2970
|
+
}
|
|
2971
|
+
// --- END generated by sdk/codegen/facade ---
|
|
2956
2972
|
};
|
|
2957
2973
|
|
|
2958
2974
|
// src/google/ai-mode.ts
|