@nomalism-com/types 0.22.96 → 0.22.97

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.
@@ -178,10 +178,10 @@ export interface IFindByReferenceRequest {
178
178
  export interface IValidateByReferenceRequest extends IFindByReferenceRequest {
179
179
  billing_country_id?: string;
180
180
  }
181
- export interface IFindSimilarProductsByOwnerIdRequest {
181
+ export interface IFindSimilarProductsByNameRequest {
182
182
  name: string;
183
183
  }
184
- export interface IFindSimilarProductsByOwnerIdResponse {
184
+ export interface IFindSimilarProductsByNameResponse {
185
185
  id: string;
186
186
  reference: string;
187
187
  thumbnail: string | null;
@@ -194,6 +194,6 @@ export interface IRepository {
194
194
  findRowPositionOnSheetsWithColumns(params: IFindProductSheetByReference): Promise<string>;
195
195
  basicSearch(params: IBasicSearchRequest): Promise<IShared.IPaginationResponse<IBasicSearchResponse>>;
196
196
  validateByRef(selector: IValidateByReferenceRequest): Promise<IEntityMinified | null>;
197
- findSimilarProductsByOwnerId(params: IFindSimilarProductsByOwnerIdRequest): Promise<IFindSimilarProductsByOwnerIdResponse[]>;
197
+ findSimilarProductsByName(params: IFindSimilarProductsByNameRequest): Promise<IFindSimilarProductsByNameResponse[]>;
198
198
  deleteOne(params: IShared.IFindByIdRequest): Promise<void>;
199
199
  }
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.22.96",
12
+ "version": "0.22.97",
13
13
  "main": "./dist/index.min.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [