scrapebadger 0.46.0 → 0.47.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
@@ -980,6 +980,8 @@ declare class VintedClient {
980
980
  listPublicVintedMobileOperations(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
981
981
  /** Read Vinted mobile data. Generated from the OpenAPI spec; returns the raw response object. */
982
982
  readVintedMobileData(operation: string, body?: unknown, params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
983
+ /** Search by image. Generated from the OpenAPI spec; returns the raw response object. */
984
+ searchByImage(body?: unknown, params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
983
985
  }
984
986
 
985
987
  /**
package/dist/index.d.ts CHANGED
@@ -980,6 +980,8 @@ declare class VintedClient {
980
980
  listPublicVintedMobileOperations(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
981
981
  /** Read Vinted mobile data. Generated from the OpenAPI spec; returns the raw response object. */
982
982
  readVintedMobileData(operation: string, body?: unknown, params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
983
+ /** Search by image. Generated from the OpenAPI spec; returns the raw response object. */
984
+ searchByImage(body?: unknown, params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
983
985
  }
984
986
 
985
987
  /**
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.46.0";
12
+ var SDK_VERSION = "0.47.0";
13
13
 
14
14
  // src/internal/exceptions.ts
15
15
  var ScrapeBadgerError = class _ScrapeBadgerError extends Error {
@@ -2974,6 +2974,10 @@ var VintedClient = class {
2974
2974
  async readVintedMobileData(operation, body, params = {}) {
2975
2975
  return this._gen.request(`/v1/vinted/mobile/${operation}`, { method: "POST", params, body });
2976
2976
  }
2977
+ /** Search by image. Generated from the OpenAPI spec; returns the raw response object. */
2978
+ async searchByImage(body, params = {}) {
2979
+ return this._gen.request("/v1/vinted/search_by_image", { method: "POST", params, body });
2980
+ }
2977
2981
  // --- END generated by sdk/codegen/facade ---
2978
2982
  };
2979
2983