@nomalism-com/types 0.22.72 → 0.22.74
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.
|
@@ -169,32 +169,12 @@ export interface IValidateByReferenceRequest extends IFindByReferenceRequest {
|
|
|
169
169
|
billing_country_id?: string;
|
|
170
170
|
}
|
|
171
171
|
export interface ILabelResponse {
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
value: number;
|
|
175
|
-
composition_material: {
|
|
176
|
-
name: string;
|
|
177
|
-
};
|
|
178
|
-
}[];
|
|
179
|
-
maintenance_assocs: {
|
|
180
|
-
maintenance: {
|
|
181
|
-
multimedia_id: string | null;
|
|
182
|
-
};
|
|
183
|
-
}[];
|
|
184
|
-
}[];
|
|
185
|
-
product_use_assocs: {
|
|
186
|
-
product_use: {
|
|
187
|
-
name: string;
|
|
188
|
-
};
|
|
189
|
-
}[];
|
|
190
|
-
name: {
|
|
191
|
-
name: string;
|
|
192
|
-
} | null;
|
|
193
|
-
virtual: ProductBaseVirtuals | null;
|
|
172
|
+
name: string | null;
|
|
173
|
+
extended_virtual: ProductBaseVirtuals | null;
|
|
194
174
|
promotion_price: number | null;
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
175
|
+
compositions: string;
|
|
176
|
+
maintenances: string;
|
|
177
|
+
attributes: string;
|
|
198
178
|
product_images: {
|
|
199
179
|
type: string;
|
|
200
180
|
multimedia_id: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Cabide, CabideProduct, ProductImage, ProductVirtuals,
|
|
1
|
+
import { Cabide, CabideProduct, ProductImage, ProductVirtuals, UnitOfMeasure, VatTax, VatTaxZone } from "../../../shared/entities";
|
|
2
2
|
import * as IShared from "../../../shared/interface";
|
|
3
3
|
import { IProductPromotionVirtuals, IProductVirtuals } from "../product/interface";
|
|
4
4
|
import { ProductSheet } from "../../../shared/entities";
|
|
@@ -54,6 +54,7 @@ export interface IProduct extends Omit<IProductsForNomaResponse, "values"> {
|
|
|
54
54
|
};
|
|
55
55
|
promotions: IProductPromotionVirtuals[];
|
|
56
56
|
product_images: ProductImage[];
|
|
57
|
+
type_of_inventory: string;
|
|
57
58
|
created_at: Date;
|
|
58
59
|
updated_at: Date;
|
|
59
60
|
}
|
|
@@ -85,10 +86,10 @@ export interface IProductSheetBasicSearchResponse {
|
|
|
85
86
|
active: boolean;
|
|
86
87
|
dnt_come_anymore: boolean;
|
|
87
88
|
}
|
|
88
|
-
export interface IProductSheetEntityWithStock extends Entity {
|
|
89
|
+
export interface IProductSheetEntityWithStock extends Omit<Entity, "values"> {
|
|
89
90
|
unit_of_measure_quantity: UnitOfMeasure;
|
|
90
91
|
name: string | null;
|
|
91
|
-
type_of_inventory:
|
|
92
|
+
type_of_inventory: string;
|
|
92
93
|
vat_tax: VatTax & {
|
|
93
94
|
vat_tax_zones: VatTaxZone[];
|
|
94
95
|
};
|
|
@@ -1238,7 +1238,8 @@ export type ProductSheet = {
|
|
|
1238
1238
|
name: string | null;
|
|
1239
1239
|
designation: string;
|
|
1240
1240
|
origin_id: string | null;
|
|
1241
|
-
|
|
1241
|
+
type_of_inventory: string;
|
|
1242
|
+
max_discount: number;
|
|
1242
1243
|
created_at: Date;
|
|
1243
1244
|
updated_at: Date;
|
|
1244
1245
|
created_by: string;
|