@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
|
|
181
|
+
export interface IFindSimilarProductsByNameRequest {
|
|
182
182
|
name: string;
|
|
183
183
|
}
|
|
184
|
-
export interface
|
|
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
|
-
|
|
197
|
+
findSimilarProductsByName(params: IFindSimilarProductsByNameRequest): Promise<IFindSimilarProductsByNameResponse[]>;
|
|
198
198
|
deleteOne(params: IShared.IFindByIdRequest): Promise<void>;
|
|
199
199
|
}
|