@nomalism-com/types 0.22.71 → 0.22.73
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.
|
@@ -85,7 +85,7 @@ export interface IProductSheetBasicSearchResponse {
|
|
|
85
85
|
active: boolean;
|
|
86
86
|
dnt_come_anymore: boolean;
|
|
87
87
|
}
|
|
88
|
-
export interface IProductSheetEntityWithStock extends Entity {
|
|
88
|
+
export interface IProductSheetEntityWithStock extends Omit<Entity, "values"> {
|
|
89
89
|
unit_of_measure_quantity: UnitOfMeasure;
|
|
90
90
|
name: string | null;
|
|
91
91
|
type_of_inventory: TypeOfInventory;
|
|
@@ -11,6 +11,7 @@ import { IPhcDocumentType } from "../../modules/supply/clientCurrentAccount/inte
|
|
|
11
11
|
import { ISavedEmPickingData } from "../../modules/stock/savedEmPicking/interfaces";
|
|
12
12
|
import { IDocumentLineNoteType } from "../../modules/supply/documentLineNote/interfaces";
|
|
13
13
|
import { IProductBase } from "../../modules/supply/cabideProduct/interface";
|
|
14
|
+
import { IProductState } from "../../modules/stock/productGoogleSheets/interface";
|
|
14
15
|
export type Attribute = {
|
|
15
16
|
id: string;
|
|
16
17
|
name: string;
|
|
@@ -1214,38 +1215,32 @@ export type SavedProviderProposal = {
|
|
|
1214
1215
|
updated_by: string;
|
|
1215
1216
|
};
|
|
1216
1217
|
export type ProductSheet = {
|
|
1217
|
-
id: string
|
|
1218
|
-
reference:
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
no_discount: boolean | null;
|
|
1229
|
-
type: IProductType | null;
|
|
1218
|
+
id: string;
|
|
1219
|
+
reference: string;
|
|
1220
|
+
type: IProductType;
|
|
1221
|
+
state: IProductState;
|
|
1222
|
+
values: unknown;
|
|
1223
|
+
imported_from_sheets: boolean;
|
|
1224
|
+
imported_from_product_sheets: boolean;
|
|
1225
|
+
origin_cabide_product_id: string | null;
|
|
1226
|
+
vat_tax_id: string;
|
|
1227
|
+
unit_of_measure_quantity_id: string;
|
|
1228
|
+
cabide_product_color: string | null;
|
|
1230
1229
|
weight: number | null;
|
|
1231
1230
|
width: number | null;
|
|
1232
1231
|
height: number | null;
|
|
1233
1232
|
length: number | null;
|
|
1234
1233
|
diameter: number | null;
|
|
1234
|
+
no_discount: boolean;
|
|
1235
|
+
provider_ref: string | null;
|
|
1235
1236
|
margin: number | null;
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
type_of_inventory_id: string | null;
|
|
1240
|
-
product_sub_category_id: string | null;
|
|
1241
|
-
vat_tax_id: string | null;
|
|
1242
|
-
cabide_product_id: string | null;
|
|
1243
|
-
origin_cabide_product_id: string | null;
|
|
1244
|
-
imported_from_sheets: boolean | null;
|
|
1245
|
-
external_id: string | null;
|
|
1237
|
+
id_provider: number;
|
|
1238
|
+
name: string | null;
|
|
1239
|
+
designation: string;
|
|
1246
1240
|
origin_id: string | null;
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1241
|
+
type_of_inventory_id: string;
|
|
1242
|
+
created_at: Date;
|
|
1243
|
+
updated_at: Date;
|
|
1244
|
+
created_by: string;
|
|
1245
|
+
updated_by: string;
|
|
1251
1246
|
};
|