@nomalism-com/types 0.22.75 → 0.22.77
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.
|
@@ -28,6 +28,35 @@ export interface IProductsForNomaResponse {
|
|
|
28
28
|
state: IProductState;
|
|
29
29
|
values: IProductsForSheetsResponse;
|
|
30
30
|
}
|
|
31
|
+
export interface ICreateRequest {
|
|
32
|
+
id?: string;
|
|
33
|
+
origin_id?: string | null;
|
|
34
|
+
id_provider?: number;
|
|
35
|
+
provider_ref?: string | null;
|
|
36
|
+
name?: string | null;
|
|
37
|
+
designation?: string | null;
|
|
38
|
+
state?: IProductState;
|
|
39
|
+
type?: IProductType;
|
|
40
|
+
type_of_inventory?: string;
|
|
41
|
+
external_id?: string;
|
|
42
|
+
vat_tax_id?: string;
|
|
43
|
+
weight?: number | null;
|
|
44
|
+
width?: number | null;
|
|
45
|
+
height?: number | null;
|
|
46
|
+
length?: number | null;
|
|
47
|
+
diameter?: number | null;
|
|
48
|
+
price_cost?: number;
|
|
49
|
+
price_sale?: number;
|
|
50
|
+
margin?: number;
|
|
51
|
+
unit_of_measure_quantity_id?: string;
|
|
52
|
+
origin_cabide_product_id?: string | null;
|
|
53
|
+
cabide_product_color?: string | null;
|
|
54
|
+
imported_from_sheets?: boolean;
|
|
55
|
+
imported_from_product_sheets?: boolean;
|
|
56
|
+
maintenances?: string;
|
|
57
|
+
compositions?: string;
|
|
58
|
+
attributes?: string;
|
|
59
|
+
}
|
|
31
60
|
export interface IProduct extends Omit<IProductsForNomaResponse, "values"> {
|
|
32
61
|
id: string;
|
|
33
62
|
designation: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IDocumentTypeUserType } from "../documentType/interfaces";
|
|
2
|
-
import { IProductType } from "../../stock/
|
|
2
|
+
import { IProductType } from "../../stock/productGoogleSheets/interface";
|
|
3
3
|
export declare const Route = "order_management";
|
|
4
4
|
export declare const UpperName = "OrderManagement";
|
|
5
5
|
export declare const LowerName: string;
|
|
@@ -2,7 +2,7 @@ import { IConflict } from "../../modules/document/propostaSheets/interface";
|
|
|
2
2
|
import { ICabideType } from "../../modules/supply/cabide/interface";
|
|
3
3
|
import { IDocumentTypeUserType, IDocumentTypeCodeType } from "../../modules/supply/documentType/interfaces";
|
|
4
4
|
import { IBatchType, IPaymentOrigin } from "../../modules/supply/payment/interface";
|
|
5
|
-
import { IProductType } from "../../modules/stock/
|
|
5
|
+
import { IProductType } from "../../modules/stock/productGoogleSheets/interface";
|
|
6
6
|
import { IImageType } from "../../modules/stock/productImage/interface";
|
|
7
7
|
import { IQueryParameterDatatype } from "../../modules/stock/queryParameter/interfaces";
|
|
8
8
|
import { IData, IDataDocumentoPago, IDataPagamento, IPromotions } from "../../modules/supply/documentLine/interfaces";
|
|
@@ -1006,8 +1006,11 @@ export type ProductSheet = {
|
|
|
1006
1006
|
designation: string;
|
|
1007
1007
|
origin_id: string | null;
|
|
1008
1008
|
type_of_inventory: string;
|
|
1009
|
-
max_discount: number;
|
|
1010
1009
|
external_id: string | null;
|
|
1010
|
+
max_discount: number;
|
|
1011
|
+
maintenances: string;
|
|
1012
|
+
compositions: string;
|
|
1013
|
+
attributes: string;
|
|
1011
1014
|
created_at: Date;
|
|
1012
1015
|
updated_at: Date;
|
|
1013
1016
|
created_by: string;
|