@secondcloset/types 2.7.37-beta-new-item-profiling-1 → 2.7.37-beta-new-item-profiling-4

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secondcloset/types",
3
- "version": "2.7.37-beta-new-item-profiling-1",
3
+ "version": "2.7.37-beta-new-item-profiling-4",
4
4
  "description": "secondcloset type declaration and definitions",
5
5
  "main": "src/index.ts",
6
6
  "scripts": {
@@ -6,6 +6,7 @@ export * from "./locationTemplate";
6
6
  export * from "./organization";
7
7
  export * from "./pallet";
8
8
  export * from "./product";
9
+ export * from "./productQuantum";
9
10
  export * from "./shipmentProductsTracking";
10
11
  export * from "./supply";
11
12
  export * from "./supplyStock";
@@ -1,56 +1,56 @@
1
1
  import { Product } from "./product";
2
2
 
3
- export enum ProductQuantumType {
3
+ export enum ProductQuantumTypeEnum {
4
4
  EACH = "EACH",
5
5
  CASE = "CASE",
6
6
  INNER_PACK = "INNER_PACK",
7
7
  MASTER_PACK = "MASTER_PACK",
8
8
  }
9
9
 
10
- export enum CaseType {
10
+ export enum CaseTypeEnum {
11
11
  INNER_PACK = "INNER_PACK",
12
12
  MASTER_PACK = "MASTER_PACK",
13
13
  }
14
14
 
15
- export enum ContainsType {
15
+ export enum ContainsTypeEnum {
16
16
  EACH = "EACH",
17
17
  INNER_PACK = "INNER_PACK",
18
18
  }
19
19
 
20
- export enum WeightUnit {
20
+ export enum WeightUnitEnum {
21
21
  LB = "LB",
22
22
  OZ = "OZ",
23
23
  G = "G",
24
24
  KG = "KG",
25
25
  }
26
26
 
27
- export enum DimensionsUnit {
27
+ export enum DimensionsUnitEnum {
28
28
  IN = "IN",
29
- FT = "IT",
29
+ FT = "FT",
30
30
  CM = "CM",
31
31
  M = "M",
32
32
  }
33
33
 
34
34
  export interface ProductQuantum {
35
35
  id: string;
36
- type: ProductQuantumType;
36
+ type: ProductQuantumTypeEnum;
37
37
  quantity: number;
38
38
  sku: string;
39
39
  upc?: string;
40
- contains_type: ContainsType | null;
40
+ contains_type: ContainsTypeEnum | null;
41
41
  weight: number;
42
42
  height: number;
43
43
  length: number;
44
44
  width: number;
45
- weight_unit: WeightUnit;
46
- dimensions_unit: DimensionsUnit;
45
+ weight_unit: WeightUnitEnum;
46
+ dimensions_unit: DimensionsUnitEnum;
47
47
  product_id: string;
48
48
  product: Product;
49
49
  }
50
50
 
51
51
  export interface ProductQuantumUpdateBody {
52
- type: ProductQuantumType;
53
- contains_type: ContainsType;
52
+ type: ProductQuantumTypeEnum;
53
+ contains_type: ContainsTypeEnum;
54
54
  quantity: number;
55
55
  sku: string;
56
56
  upc: string;
@@ -58,22 +58,22 @@ export interface ProductQuantumUpdateBody {
58
58
  height: number;
59
59
  weight: number;
60
60
  width: number;
61
- dimensions_unit: DimensionsUnit;
62
- weight_unit: WeightUnit;
61
+ dimensions_unit: DimensionsUnitEnum;
62
+ weight_unit: WeightUnitEnum;
63
63
  product_id: string;
64
64
  }
65
65
 
66
66
  export interface CreateProductQuantumBody {
67
- type: ProductQuantumType;
67
+ type: ProductQuantumTypeEnum;
68
68
  upc: string;
69
69
  sku: string;
70
70
  product_id: string;
71
- contains_type: ProductQuantumType;
71
+ contains_type: ProductQuantumTypeEnum;
72
72
  quantity: number;
73
73
  weight: number;
74
- weight_unit: WeightUnit;
74
+ weight_unit: WeightUnitEnum;
75
75
  height: number;
76
76
  width: number;
77
77
  length: number;
78
- dimensions_unit: DimensionsUnit;
78
+ dimensions_unit: DimensionsUnitEnum;
79
79
  }