@nomalism-com/types 0.10.55 → 0.10.56

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.
@@ -16,7 +16,7 @@ export interface ICloneRequest {
16
16
  export interface ICloneResponse {
17
17
  spreadsheetId: string;
18
18
  }
19
- export type IGetProductGroup = 'cortinado' | 'tapete' | 'estore' | 'livre';
19
+ export type IGetProductGroup = 'cortinado' | 'tapete' | 'estore' | 'outros';
20
20
  export type IGetProductType = 'confecção' | 'calha' | 'tecido 1' | 'tecido 2' | 'livre';
21
21
  export type IReferenceType = 'noma' | 'sheets' | undefined;
22
22
  export interface IGetProduct {
@@ -887,21 +887,21 @@ export type ProductPromotionVirtuals = {
887
887
  };
888
888
  export type ProductVirtuals = {
889
889
  product_id: string;
890
- inactive: boolean;
891
- there_is_no_more: boolean;
892
- reference: string;
893
890
  designation: string;
894
- price_cost: number;
895
- price_sale: number;
896
- last_avg_unit_cost: number;
891
+ reference: string;
892
+ prison: number;
897
893
  cart: number;
898
894
  cart_virtual: number;
899
895
  reserved: number;
900
- reserved_virtual: number;
901
- prison: number;
896
+ virtual: number;
902
897
  negative: number;
903
- total: number;
904
898
  available: number;
899
+ total: number;
900
+ inactive: boolean;
901
+ there_is_no_more: boolean;
902
+ price_cost: number;
903
+ price_sale: number;
904
+ last_avg_unit_cost: number;
905
905
  };
906
906
  export type PlotVirtuals = {
907
907
  plot_id: string;
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.10.55",
12
+ "version": "0.10.56",
13
13
  "main": "./dist/index.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "devDependencies": {
40
40
  "@types/convert-units": "^2.3.8",
41
- "@types/node": "^18.18.7",
41
+ "@types/node": "^18.18.6",
42
42
  "@typescript-eslint/eslint-plugin": "^6.9.0",
43
43
  "@typescript-eslint/parser": "^6.9.0",
44
44
  "concurrently": "^8.2.2",