@nomalism-com/types 0.22.117 → 0.22.119
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.
|
@@ -240,6 +240,10 @@ export type IFindForMobileRequest = {
|
|
|
240
240
|
reference?: never;
|
|
241
241
|
id: string;
|
|
242
242
|
};
|
|
243
|
+
export interface IFromsheets {
|
|
244
|
+
type: string;
|
|
245
|
+
data: unknown;
|
|
246
|
+
}
|
|
243
247
|
export interface IRepository {
|
|
244
248
|
findForMobile(params: IFindForMobileRequest): Promise<IFindForMobileResponse | null>;
|
|
245
249
|
findByReferenceOnSheets(params: IFindProductSheetByReference): Promise<IProductSheetsWithIndex>;
|
|
@@ -254,4 +258,5 @@ export interface IRepository {
|
|
|
254
258
|
checkStockByIds(data: ICheckStockByIdsRequest): Promise<ICheckStockByIdsResponse[]>;
|
|
255
259
|
create(data: ICreateRequest): Promise<string>;
|
|
256
260
|
deleteOne(params: IShared.IFindByIdRequest): Promise<void>;
|
|
261
|
+
formSheets(data: IFromsheets): Promise<void>;
|
|
257
262
|
}
|