@nomalism-com/types 0.27.52 → 0.27.54

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,17 +185,19 @@ export interface ICheckStockByIdsResponse {
185
185
  reference: string;
186
186
  available: number;
187
187
  }
188
- export interface IFindForMobileResponse {
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;
192
196
  type: IProductType;
193
197
  state: IProductSheetState;
194
198
  thumbnail: string | null;
195
- cabide_product_color: string | null;
196
199
  attributes: string;
197
200
  compositions: string;
198
- location: string;
199
201
  virtual: Pick<IProductVirtuals, "price_sale" | "available" | "ordered_quantity" | "prison" | "reserved" | "total" | "inativa"> | null;
200
202
  unit_of_measure_quantity: Pick<UnitOfMeasure, "notation" | "integer_only">;
201
203
  origin_cabide_product: Pick<CabideProduct, "preco_final_1" | "preco_final_2"> | null;
@@ -214,7 +216,8 @@ export interface IProductLocation {
214
216
  }
215
217
  export interface IRepository {
216
218
  basicSearch(params: IBasicSearchRequest): Promise<IShared.IPaginationResponse<IBasicSearchResponse>>;
217
- findForMobile(params: IFindForMobileRequest): Promise<IFindForMobileResponse | null>;
219
+ findBasicForMobile(params: IFindForMobileRequest): Promise<IFindBasicForMobileResponse | null>;
220
+ findComposedForMobile(params: IFindForMobileRequest): Promise<IFindComposedForMobileResponse | null>;
218
221
  validateByRef(selector: IValidateByReferenceRequest): Promise<IEntityMinified | null>;
219
222
  findSimilarProductsByName(params: IFindSimilarProductsByNameRequest): Promise<IFindSimilarProductsByNameResponse[]>;
220
223
  findByProductType(params: IFindByProductTypeRequest): Promise<IFindByProductTypeResponse[]>;
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.27.52",
12
+ "version": "0.27.54",
13
13
  "main": "./dist/index.min.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [