@nomalism-com/types 0.22.76 → 0.22.78

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,36 @@ 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
+ values?: IProductsForSheetsResponse;
57
+ maintenances?: string;
58
+ compositions?: string;
59
+ attributes?: string;
60
+ }
31
61
  export interface IProduct extends Omit<IProductsForNomaResponse, "values"> {
32
62
  id: string;
33
63
  designation: string;
@@ -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;
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.22.76",
12
+ "version": "0.22.78",
13
13
  "main": "./dist/index.min.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [