truflow 0.0.136 → 0.0.137

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.
@@ -14,15 +14,44 @@ export interface IOrderProductItemsResponse {
14
14
  opi_id: number;
15
15
  op_id: number;
16
16
  line_id: number | null;
17
- data: string;
18
- part_data: string;
19
- adjustments: string;
17
+ data: {
18
+ current_status: string;
19
+ is_dirty: string;
20
+ discount_is_dirty: string;
21
+ current_discount: string;
22
+ onload_discount: string;
23
+ width: number;
24
+ height: number;
25
+ cabinet_number: string;
26
+ hinge_drilling: string;
27
+ op3: string;
28
+ custom_info: string;
29
+ price_onload: string;
30
+ };
31
+ part_data: {
32
+ [key: string]: any;
33
+ };
34
+ adjustments: {
35
+ visible_adjustments: number;
36
+ base_price: number;
37
+ detail: {
38
+ discount_id: number;
39
+ name: string;
40
+ accumulate: number;
41
+ show_on_orders: boolean;
42
+ discount: number;
43
+ discount_amount: number;
44
+ price: number;
45
+ flat_rate: number | null;
46
+ is_negative: boolean;
47
+ }[];
48
+ };
20
49
  qty: number | null;
21
- original_price: number | null;
22
- price: number | null;
23
- price_override: number | null;
24
- discount: number;
25
- weight: number;
50
+ original_price: number | string | null;
51
+ price: number | string | null;
52
+ price_override: number | string | null;
53
+ discount: number | string;
54
+ weight: number | string;
26
55
  completed: number;
27
56
  createdby: string | null;
28
57
  createdbyid: number | null;
@@ -30,4 +59,33 @@ export interface IOrderProductItemsResponse {
30
59
  updatedby: string | null;
31
60
  updatedbyid: number | null;
32
61
  updateddate: string | null;
62
+ timestamp?: string;
63
+ order_products_order_id?: number;
64
+ order_products_product_id?: number;
65
+ order_products_group_data?: {
66
+ id: string;
67
+ is_designer: string;
68
+ is_dirty: string;
69
+ discount_is_dirty: string;
70
+ current_status: string;
71
+ current_discount: string;
72
+ onload_discount: string;
73
+ folder_id: string;
74
+ door_style: string;
75
+ inside_profiles: string;
76
+ applied_molding_option: string;
77
+ frame_type: string;
78
+ top_rail_width: number;
79
+ double_width: number;
80
+ bottom_rail_width: number;
81
+ left_stile_width: number;
82
+ side_by_side_width: number;
83
+ right_stile_width: number;
84
+ grain_direction: string;
85
+ cabinet_door_hinge_drilling: string;
86
+ finish_color: string;
87
+ comments: string;
88
+ };
89
+ order_products_status?: string;
90
+ order_products_product_name?: string;
33
91
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "truflow",
3
- "version": "0.0.136",
3
+ "version": "0.0.137",
4
4
  "main": "./dist/index.js",
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -15,15 +15,44 @@ export interface IOrderProductItemsResponse {
15
15
  opi_id: number;
16
16
  op_id: number;
17
17
  line_id: number | null;
18
- data: string;
19
- part_data: string;
20
- adjustments: string;
18
+ data: {
19
+ current_status: string;
20
+ is_dirty: string;
21
+ discount_is_dirty: string;
22
+ current_discount: string;
23
+ onload_discount: string;
24
+ width: number;
25
+ height: number;
26
+ cabinet_number: string;
27
+ hinge_drilling: string;
28
+ op3: string;
29
+ custom_info: string;
30
+ price_onload: string;
31
+ };
32
+ part_data: {
33
+ [key: string]: any;
34
+ };
35
+ adjustments: {
36
+ visible_adjustments: number;
37
+ base_price: number;
38
+ detail: {
39
+ discount_id: number;
40
+ name: string;
41
+ accumulate: number;
42
+ show_on_orders: boolean;
43
+ discount: number;
44
+ discount_amount: number;
45
+ price: number;
46
+ flat_rate: number | null;
47
+ is_negative: boolean;
48
+ }[];
49
+ };
21
50
  qty: number | null;
22
- original_price: number | null;
23
- price: number | null;
24
- price_override: number | null;
25
- discount: number;
26
- weight: number;
51
+ original_price: number | string | null;
52
+ price: number | string | null;
53
+ price_override: number | string | null;
54
+ discount: number | string;
55
+ weight: number | string;
27
56
  completed: number;
28
57
  createdby: string | null;
29
58
  createdbyid: number | null;
@@ -31,4 +60,33 @@ export interface IOrderProductItemsResponse {
31
60
  updatedby: string | null;
32
61
  updatedbyid: number | null;
33
62
  updateddate: string | null;
63
+ timestamp?: string;
64
+ order_products_order_id?: number;
65
+ order_products_product_id?: number;
66
+ order_products_group_data?: {
67
+ id: string;
68
+ is_designer: string;
69
+ is_dirty: string;
70
+ discount_is_dirty: string;
71
+ current_status: string;
72
+ current_discount: string;
73
+ onload_discount: string;
74
+ folder_id: string;
75
+ door_style: string;
76
+ inside_profiles: string;
77
+ applied_molding_option: string;
78
+ frame_type: string;
79
+ top_rail_width: number;
80
+ double_width: number;
81
+ bottom_rail_width: number;
82
+ left_stile_width: number;
83
+ side_by_side_width: number;
84
+ right_stile_width: number;
85
+ grain_direction: string;
86
+ cabinet_door_hinge_drilling: string;
87
+ finish_color: string;
88
+ comments: string;
89
+ };
90
+ order_products_status?: string;
91
+ order_products_product_name?: string;
34
92
  }