@nomalism-com/types 0.27.52 → 0.27.53
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.
|
@@ -185,7 +185,11 @@ export interface ICheckStockByIdsResponse {
|
|
|
185
185
|
reference: string;
|
|
186
186
|
available: number;
|
|
187
187
|
}
|
|
188
|
-
export interface
|
|
188
|
+
export interface IFindBasicForMobileResponse {
|
|
189
|
+
id: string;
|
|
190
|
+
reference: string;
|
|
191
|
+
}
|
|
192
|
+
export interface IFindComposedForMobileResponse {
|
|
189
193
|
id: string;
|
|
190
194
|
reference: string;
|
|
191
195
|
designation: string;
|
|
@@ -195,7 +199,6 @@ export interface IFindForMobileResponse {
|
|
|
195
199
|
cabide_product_color: string | null;
|
|
196
200
|
attributes: string;
|
|
197
201
|
compositions: string;
|
|
198
|
-
location: string;
|
|
199
202
|
virtual: Pick<IProductVirtuals, "price_sale" | "available" | "ordered_quantity" | "prison" | "reserved" | "total" | "inativa"> | null;
|
|
200
203
|
unit_of_measure_quantity: Pick<UnitOfMeasure, "notation" | "integer_only">;
|
|
201
204
|
origin_cabide_product: Pick<CabideProduct, "preco_final_1" | "preco_final_2"> | null;
|
|
@@ -214,7 +217,8 @@ export interface IProductLocation {
|
|
|
214
217
|
}
|
|
215
218
|
export interface IRepository {
|
|
216
219
|
basicSearch(params: IBasicSearchRequest): Promise<IShared.IPaginationResponse<IBasicSearchResponse>>;
|
|
217
|
-
|
|
220
|
+
findBasicForMobile(params: IFindForMobileRequest): Promise<IFindBasicForMobileResponse | null>;
|
|
221
|
+
findComposedForMobile(params: IFindForMobileRequest): Promise<IFindComposedForMobileResponse | null>;
|
|
218
222
|
validateByRef(selector: IValidateByReferenceRequest): Promise<IEntityMinified | null>;
|
|
219
223
|
findSimilarProductsByName(params: IFindSimilarProductsByNameRequest): Promise<IFindSimilarProductsByNameResponse[]>;
|
|
220
224
|
findByProductType(params: IFindByProductTypeRequest): Promise<IFindByProductTypeResponse[]>;
|