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

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-4",
3
+ "version": "2.7.37",
4
4
  "description": "secondcloset type declaration and definitions",
5
5
  "main": "src/index.ts",
6
6
  "scripts": {
@@ -65,6 +65,7 @@ export interface Appointment {
65
65
  verification_images?: BaseImage[];
66
66
  delivery_type?: DeliveryType;
67
67
  shipping_labels?: LastMileShippingLabel[];
68
+ signature_required?: boolean;
68
69
  }
69
70
 
70
71
  export interface Location {
@@ -77,6 +77,7 @@ export interface SecondClosetShippingMethod {
77
77
  verification_images?: BaseImage[];
78
78
  delivery_type?: DeliveryType;
79
79
  shipping_labels?: LastMileShippingLabel[];
80
+ signature_required?: boolean;
80
81
  source?: {
81
82
  id: string;
82
83
  type: string;
@@ -57,6 +57,7 @@ export interface Appointment {
57
57
  items: AppointmentItem[];
58
58
  verification_images?: BaseImage[];
59
59
  delivery_type?: DeliveryType;
60
+ signature_required?: boolean;
60
61
  }
61
62
 
62
63
  export type AppointmentSlot =
@@ -6,7 +6,6 @@ export * from "./locationTemplate";
6
6
  export * from "./organization";
7
7
  export * from "./pallet";
8
8
  export * from "./product";
9
- export * from "./productQuantum";
10
9
  export * from "./shipmentProductsTracking";
11
10
  export * from "./supply";
12
11
  export * from "./supplyStock";
@@ -11,7 +11,4 @@ export interface Product {
11
11
  organization?: Organization;
12
12
  location_item?: LocationItem;
13
13
  location_activity_log?: LocationActivityLog;
14
- profiled: boolean;
15
- created_at: string;
16
- updated_at: string;
17
14
  }
@@ -1,79 +0,0 @@
1
- import { Product } from "./product";
2
-
3
- export enum ProductQuantumTypeEnum {
4
- EACH = "EACH",
5
- CASE = "CASE",
6
- INNER_PACK = "INNER_PACK",
7
- MASTER_PACK = "MASTER_PACK",
8
- }
9
-
10
- export enum CaseTypeEnum {
11
- INNER_PACK = "INNER_PACK",
12
- MASTER_PACK = "MASTER_PACK",
13
- }
14
-
15
- export enum ContainsTypeEnum {
16
- EACH = "EACH",
17
- INNER_PACK = "INNER_PACK",
18
- }
19
-
20
- export enum WeightUnitEnum {
21
- LB = "LB",
22
- OZ = "OZ",
23
- G = "G",
24
- KG = "KG",
25
- }
26
-
27
- export enum DimensionsUnitEnum {
28
- IN = "IN",
29
- FT = "FT",
30
- CM = "CM",
31
- M = "M",
32
- }
33
-
34
- export interface ProductQuantum {
35
- id: string;
36
- type: ProductQuantumTypeEnum;
37
- quantity: number;
38
- sku: string;
39
- upc?: string;
40
- contains_type: ContainsTypeEnum | null;
41
- weight: number;
42
- height: number;
43
- length: number;
44
- width: number;
45
- weight_unit: WeightUnitEnum;
46
- dimensions_unit: DimensionsUnitEnum;
47
- product_id: string;
48
- product: Product;
49
- }
50
-
51
- export interface ProductQuantumUpdateBody {
52
- type: ProductQuantumTypeEnum;
53
- contains_type: ContainsTypeEnum;
54
- quantity: number;
55
- sku: string;
56
- upc: string;
57
- length: number;
58
- height: number;
59
- weight: number;
60
- width: number;
61
- dimensions_unit: DimensionsUnitEnum;
62
- weight_unit: WeightUnitEnum;
63
- product_id: string;
64
- }
65
-
66
- export interface CreateProductQuantumBody {
67
- type: ProductQuantumTypeEnum;
68
- upc: string;
69
- sku: string;
70
- product_id: string;
71
- contains_type: ProductQuantumTypeEnum;
72
- quantity: number;
73
- weight: number;
74
- weight_unit: WeightUnitEnum;
75
- height: number;
76
- width: number;
77
- length: number;
78
- dimensions_unit: DimensionsUnitEnum;
79
- }