@nomalism-com/types 0.22.132 → 0.22.134
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.
|
@@ -127,7 +127,7 @@ export interface IProductSheetBasicSearchResponse {
|
|
|
127
127
|
active: boolean;
|
|
128
128
|
dnt_come_anymore: boolean;
|
|
129
129
|
}
|
|
130
|
-
export interface
|
|
130
|
+
export interface IProductSheetEntity extends Omit<Entity, "values"> {
|
|
131
131
|
unit_of_measure_quantity: UnitOfMeasure;
|
|
132
132
|
name: string | null;
|
|
133
133
|
type_of_inventory: string;
|
|
@@ -142,6 +142,8 @@ export interface IProductSheetEntityWithStock extends Omit<Entity, "values"> {
|
|
|
142
142
|
compositions: string;
|
|
143
143
|
maintenances: string;
|
|
144
144
|
attributes: string;
|
|
145
|
+
}
|
|
146
|
+
export interface IProductSheetEntityWithStock extends IProductSheetEntity {
|
|
145
147
|
extended_virtual: ProductVirtuals | null;
|
|
146
148
|
}
|
|
147
149
|
export interface IBasicSearchRequest extends IShared.IPaginationRequest {
|
|
@@ -250,8 +252,11 @@ export interface IRepository {
|
|
|
250
252
|
validateByRef(selector: IValidateByReferenceRequest): Promise<IEntityMinified | null>;
|
|
251
253
|
findSimilarProductsByName(params: IFindSimilarProductsByNameRequest): Promise<IFindSimilarProductsByNameResponse[]>;
|
|
252
254
|
findByProductType(params: IFindByProductTypeRequest): Promise<IFindByProductTypeResponse[]>;
|
|
255
|
+
findByIdWithStock(selector: IShared.IFindByIdRequest): Promise<IProductSheetEntity>;
|
|
256
|
+
findByIdWithStock(selector: IShared.IFindByIdRequest): Promise<IProductSheetEntityWithStock>;
|
|
253
257
|
googleSheetsFieldsByRef(selector: IFindByReferenceRequest): Promise<string>;
|
|
254
258
|
checkStockByIds(data: ICheckStockByIdsRequest): Promise<ICheckStockByIdsResponse[]>;
|
|
255
259
|
create(data: ICreateRequest): Promise<string>;
|
|
260
|
+
updateGoogleSheetsLinesProduct(data: IShared.IFindByIdRequest[]): Promise<void>;
|
|
256
261
|
deleteOne(params: IShared.IFindByIdRequest): Promise<void>;
|
|
257
262
|
}
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"typescript",
|
|
10
10
|
"helper"
|
|
11
11
|
],
|
|
12
|
-
"version": "0.22.
|
|
12
|
+
"version": "0.22.134",
|
|
13
13
|
"main": "./dist/index.min.js",
|
|
14
14
|
"types": "./dist/index.d.ts",
|
|
15
15
|
"files": [
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"@types/node": "^20.16.5",
|
|
43
43
|
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
44
44
|
"@typescript-eslint/parser": "^7.18.0",
|
|
45
|
-
"eslint": "^8.57.
|
|
46
|
-
"rollup": "^4.21.
|
|
45
|
+
"eslint": "^8.57.1",
|
|
46
|
+
"rollup": "^4.21.3",
|
|
47
47
|
"tslib": "^2.7.0"
|
|
48
48
|
}
|
|
49
49
|
}
|