@nerdjs/sales-kit 3.1.19 → 3.1.20
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/dist/entities/asset/asset.d.ts +2 -111
- package/dist/entities/asset/asset.js +5 -223
- package/dist/entities/asset/asset.js.map +1 -1
- package/dist/entities/assetV1/assetV1.d.ts +116 -0
- package/dist/entities/assetV1/assetV1.js +252 -0
- package/dist/entities/assetV1/assetV1.js.map +1 -0
- package/dist/entities/assetV1/helper.d.ts +5 -0
- package/dist/entities/assetV1/helper.js +15 -0
- package/dist/entities/assetV1/helper.js.map +1 -0
- package/dist/entities/assetV1/index.d.ts +2 -0
- package/dist/entities/assetV1/index.js +3 -0
- package/dist/entities/assetV1/index.js.map +1 -0
- package/dist/entities/index.d.ts +2 -1
- package/dist/entities/index.js +2 -1
- package/dist/entities/index.js.map +1 -1
- package/dist/hooks/carrierTenderPanel/assetAutocomplete.js +3 -3
- package/dist/hooks/carrierTenderPanel/assetAutocomplete.js.map +1 -1
- package/dist/hooks/carrierTenderPanel/carrierWidget.js +3 -3
- package/dist/hooks/carrierTenderPanel/carrierWidget.js.map +1 -1
- package/dist/hooks/carrierTenderPanel/rentalInput.d.ts +2 -2
- package/dist/hooks/carrierTenderPanel/rentalInput.js +2 -2
- package/dist/hooks/carrierTenderPanel/rentalInput.js.map +1 -1
- package/dist/redux/asset/assetEndpoints.d.ts +12 -582
- package/dist/redux/asset/assetEndpoints.js +8 -54
- package/dist/redux/asset/assetEndpoints.js.map +1 -1
- package/dist/redux/assetV1/assetV1Endpoints.d.ts +1612 -0
- package/dist/redux/assetV1/assetV1Endpoints.js +106 -0
- package/dist/redux/assetV1/assetV1Endpoints.js.map +1 -0
- package/dist/redux/assetV1/index.d.ts +2 -0
- package/dist/redux/assetV1/index.js +3 -0
- package/dist/redux/assetV1/index.js.map +1 -0
- package/dist/redux/index.d.ts +2 -1
- package/dist/redux/index.js +2 -1
- package/dist/redux/index.js.map +1 -1
- package/dist/redux/railTenderV1/railTenderV1Endpoints.d.ts +161 -0
- package/dist/redux/railTenderV1/railTenderV1Endpoints.js +9 -1
- package/dist/redux/railTenderV1/railTenderV1Endpoints.js.map +1 -1
- package/package.json +1 -1
|
@@ -2,115 +2,6 @@ export default class Asset_Entity {
|
|
|
2
2
|
static requiredFields: string[];
|
|
3
3
|
constructor(assetJson: unknown);
|
|
4
4
|
id: number;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
latitude?: number;
|
|
8
|
-
longitude?: number;
|
|
9
|
-
asset_code?: string;
|
|
10
|
-
reference_code?: string;
|
|
11
|
-
year?: number;
|
|
12
|
-
make?: string;
|
|
13
|
-
model?: string;
|
|
14
|
-
serial?: string;
|
|
15
|
-
vin?: string;
|
|
16
|
-
license?: string;
|
|
17
|
-
license_state?: string;
|
|
18
|
-
registration_exp_date?: string;
|
|
19
|
-
ownership_type?: string;
|
|
20
|
-
owner_name?: string;
|
|
21
|
-
purchased_type?: string;
|
|
22
|
-
purchased_date?: string;
|
|
23
|
-
purchase_price?: number;
|
|
24
|
-
in_service_date?: string;
|
|
25
|
-
out_service_date?: string;
|
|
26
|
-
dmv_exp_date?: string;
|
|
27
|
-
insured_date?: string;
|
|
28
|
-
insured_value?: number;
|
|
29
|
-
insurance_exp_date?: string;
|
|
30
|
-
insurance_provider?: string;
|
|
31
|
-
annual_ins_premium?: number;
|
|
32
|
-
depreciated_value?: number;
|
|
33
|
-
gps_serial?: string;
|
|
34
|
-
reefer_serial?: string;
|
|
35
|
-
engine_make?: string;
|
|
36
|
-
engine_model?: string;
|
|
37
|
-
engine_year?: string;
|
|
38
|
-
engine_serial?: string;
|
|
39
|
-
carb_compliance?: string;
|
|
40
|
-
carb_exp_date?: string;
|
|
41
|
-
satellite_number?: string;
|
|
42
|
-
satellite_comm_date?: string;
|
|
43
|
-
eobr_serial?: string;
|
|
44
|
-
eobr_comm_date?: string;
|
|
45
|
-
toll_tag_serial?: string;
|
|
46
|
-
hut_permit_serial?: string;
|
|
47
|
-
hut_permit_exp_date?: string;
|
|
48
|
-
liquor_license_serial?: string;
|
|
49
|
-
liquor_license_exp_date?: string;
|
|
50
|
-
person_id?: number;
|
|
51
|
-
person_assigned_date?: string;
|
|
52
|
-
dot_number?: string;
|
|
53
|
-
odometer?: number;
|
|
54
|
-
pallets?: number;
|
|
55
|
-
dup_delete?: boolean;
|
|
56
|
-
red_flagged?: boolean;
|
|
57
|
-
reserved_dropped?: boolean;
|
|
58
|
-
asset_status?: string;
|
|
59
|
-
status_description?: string;
|
|
60
|
-
temporary?: boolean;
|
|
61
|
-
local_asset?: boolean;
|
|
62
|
-
engine_hours?: number;
|
|
63
|
-
status_changed_by_person_id?: number;
|
|
64
|
-
manual_status_change_datetime?: string;
|
|
65
|
-
auto_status_change?: boolean;
|
|
66
|
-
last_asset_update_id?: number;
|
|
67
|
-
ifta_compliant?: boolean;
|
|
68
|
-
area_ids?: number[];
|
|
69
|
-
asset_holding_ids?: number[];
|
|
70
|
-
units_amount_ids?: number[];
|
|
71
|
-
work_order_ids?: number[];
|
|
72
|
-
asset_rail_status_update_id?: number;
|
|
73
|
-
asset_barcode_ids?: number[];
|
|
74
|
-
annotation_ids?: number[];
|
|
75
|
-
hos_total_ids?: number[];
|
|
76
|
-
reefer_status_id?: number;
|
|
77
|
-
archer_file_ids?: number[];
|
|
78
|
-
full_status_ids?: number[];
|
|
79
|
-
version_ids?: number[];
|
|
80
|
-
open_work_orders_count?: number;
|
|
81
|
-
equipment_status?: string;
|
|
82
|
-
current_eta?: string;
|
|
83
|
-
status_code?: string;
|
|
84
|
-
location_code?: string;
|
|
85
|
-
location_city?: string;
|
|
86
|
-
location_state?: string;
|
|
87
|
-
destination_city?: string;
|
|
88
|
-
destination_state?: string;
|
|
89
|
-
pickup_number?: string;
|
|
90
|
-
load_number?: string;
|
|
91
|
-
last_outgate_time?: string;
|
|
92
|
-
dwell_time?: number;
|
|
93
|
-
transaction_time?: string;
|
|
94
|
-
destination_node_id?: number;
|
|
95
|
-
selected_update_limit?: string;
|
|
96
|
-
calc_area_id?: number;
|
|
97
|
-
trailer_notes?: string;
|
|
98
|
-
loading_notes?: string;
|
|
99
|
-
unavailable?: boolean;
|
|
100
|
-
flagged?: boolean;
|
|
101
|
-
only_eta?: string;
|
|
102
|
-
last_heading?: number;
|
|
103
|
-
map_type?: number;
|
|
104
|
-
map_name?: string;
|
|
105
|
-
lat?: number;
|
|
106
|
-
lng?: number;
|
|
107
|
-
current_driver_name?: string;
|
|
108
|
-
current_trailer?: string;
|
|
109
|
-
remaining_driving?: string;
|
|
110
|
-
remaining_on_duty?: string;
|
|
111
|
-
spaces?: number;
|
|
112
|
-
current_status?: string;
|
|
113
|
-
holding_types?: string;
|
|
114
|
-
full_status_description?: string;
|
|
115
|
-
current_area_id?: number;
|
|
5
|
+
asset_code: string;
|
|
6
|
+
asset_status: string;
|
|
116
7
|
}
|
|
@@ -8,243 +8,25 @@ function validator(assetJson) {
|
|
|
8
8
|
if (typeof assetJson === "object" && assetJson != null) {
|
|
9
9
|
Asset_Entity.requiredFields.forEach((element) => {
|
|
10
10
|
if (!Object.keys(assetJson).includes(element))
|
|
11
|
-
throw new Error(
|
|
11
|
+
throw new Error("Field ${element} is null or undefined");
|
|
12
12
|
});
|
|
13
13
|
}
|
|
14
14
|
return true;
|
|
15
15
|
}
|
|
16
16
|
export default class Asset_Entity {
|
|
17
|
-
static requiredFields = ["id"];
|
|
17
|
+
static requiredFields = ["id", "asset_code", "asset_status"];
|
|
18
18
|
constructor(assetJson) {
|
|
19
19
|
if (validator(assetJson)) {
|
|
20
20
|
this.id = assetJson.id;
|
|
21
|
-
this.asset_type_id = assetJson.asset_type_id;
|
|
22
|
-
this.node_id = assetJson.node_id;
|
|
23
|
-
this.latitude = assetJson.latitude;
|
|
24
|
-
this.longitude = assetJson.longitude;
|
|
25
21
|
this.asset_code = assetJson.asset_code;
|
|
26
|
-
this.reference_code = assetJson.reference_code;
|
|
27
|
-
this.year = assetJson.year;
|
|
28
|
-
this.make = assetJson.make;
|
|
29
|
-
this.model = assetJson.model;
|
|
30
|
-
this.serial = assetJson.serial;
|
|
31
|
-
this.vin = assetJson.vin;
|
|
32
|
-
this.license = assetJson.license;
|
|
33
|
-
this.license_state = assetJson.license_state;
|
|
34
|
-
this.registration_exp_date = assetJson.registration_exp_date;
|
|
35
|
-
this.ownership_type = assetJson.ownership_type;
|
|
36
|
-
this.owner_name = assetJson.owner_name;
|
|
37
|
-
this.purchased_type = assetJson.purchased_type;
|
|
38
|
-
this.purchased_date = assetJson.purchased_date;
|
|
39
|
-
this.purchase_price = assetJson.purchase_price;
|
|
40
|
-
this.in_service_date = assetJson.in_service_date;
|
|
41
|
-
this.out_service_date = assetJson.out_service_date;
|
|
42
|
-
this.dmv_exp_date = assetJson.dmv_exp_date;
|
|
43
|
-
this.insured_date = assetJson.insured_date;
|
|
44
|
-
this.insured_value = assetJson.insured_value;
|
|
45
|
-
this.insurance_exp_date = assetJson.insurance_exp_date;
|
|
46
|
-
this.insurance_provider = assetJson.insurance_provider;
|
|
47
|
-
this.annual_ins_premium = assetJson.annual_ins_premium;
|
|
48
|
-
this.depreciated_value = assetJson.depreciated_value;
|
|
49
|
-
this.gps_serial = assetJson.gps_serial;
|
|
50
|
-
this.reefer_serial = assetJson.reefer_serial;
|
|
51
|
-
this.engine_make = assetJson.engine_make;
|
|
52
|
-
this.engine_model = assetJson.engine_model;
|
|
53
|
-
this.engine_year = assetJson.engine_year;
|
|
54
|
-
this.engine_serial = assetJson.engine_serial;
|
|
55
|
-
this.carb_compliance = assetJson.carb_compliance;
|
|
56
|
-
this.carb_exp_date = assetJson.carb_exp_date;
|
|
57
|
-
this.satellite_number = assetJson.satellite_number;
|
|
58
|
-
this.satellite_comm_date = assetJson.satellite_comm_date;
|
|
59
|
-
this.eobr_serial = assetJson.eobr_serial;
|
|
60
|
-
this.eobr_comm_date = assetJson.eobr_comm_date;
|
|
61
|
-
this.toll_tag_serial = assetJson.toll_tag_serial;
|
|
62
|
-
this.hut_permit_serial = assetJson.hut_permit_serial;
|
|
63
|
-
this.hut_permit_exp_date = assetJson.hut_permit_exp_date;
|
|
64
|
-
this.liquor_license_serial = assetJson.liquor_license_serial;
|
|
65
|
-
this.liquor_license_exp_date = assetJson.liquor_license_exp_date;
|
|
66
|
-
this.person_id = assetJson.person_id;
|
|
67
|
-
this.person_assigned_date = assetJson.person_assigned_date;
|
|
68
|
-
this.dot_number = assetJson.dot_number;
|
|
69
|
-
this.odometer = assetJson.odometer;
|
|
70
|
-
this.pallets = assetJson.pallets;
|
|
71
|
-
this.dup_delete = assetJson.dup_delete;
|
|
72
|
-
this.red_flagged = assetJson.red_flagged;
|
|
73
|
-
this.reserved_dropped = assetJson.reserved_dropped;
|
|
74
22
|
this.asset_status = assetJson.asset_status;
|
|
75
|
-
this.status_description = assetJson.status_description;
|
|
76
|
-
this.temporary = assetJson.temporary;
|
|
77
|
-
this.local_asset = assetJson.local_asset;
|
|
78
|
-
this.engine_hours = assetJson.engine_hours;
|
|
79
|
-
this.status_changed_by_person_id = assetJson.status_changed_by_person_id;
|
|
80
|
-
this.manual_status_change_datetime =
|
|
81
|
-
assetJson.manual_status_change_datetime;
|
|
82
|
-
this.auto_status_change = assetJson.auto_status_change;
|
|
83
|
-
this.last_asset_update_id = assetJson.last_asset_update_id;
|
|
84
|
-
this.ifta_compliant = assetJson.ifta_compliant;
|
|
85
|
-
this.area_ids = assetJson.area_ids;
|
|
86
|
-
this.asset_holding_ids = assetJson.asset_holding_ids;
|
|
87
|
-
this.units_amount_ids = assetJson.units_amount_ids;
|
|
88
|
-
this.work_order_ids = assetJson.work_order_ids;
|
|
89
|
-
this.asset_rail_status_update_id = assetJson.asset_rail_status_update_id;
|
|
90
|
-
this.asset_barcode_ids = assetJson.asset_barcode_ids;
|
|
91
|
-
this.annotation_ids = assetJson.annotation_ids;
|
|
92
|
-
this.hos_total_ids = assetJson.hos_total_ids;
|
|
93
|
-
this.reefer_status_id = assetJson.reefer_status_id;
|
|
94
|
-
this.archer_file_ids = assetJson.archer_file_ids;
|
|
95
|
-
this.full_status_ids = assetJson.full_status_ids;
|
|
96
|
-
this.version_ids = assetJson.version_ids;
|
|
97
|
-
this.open_work_orders_count = assetJson.open_work_orders_count;
|
|
98
|
-
this.equipment_status = assetJson.equipment_status;
|
|
99
|
-
this.current_eta = assetJson.current_eta;
|
|
100
|
-
this.status_code = assetJson.status_code;
|
|
101
|
-
this.location_code = assetJson.location_code;
|
|
102
|
-
this.location_city = assetJson.location_city;
|
|
103
|
-
this.location_state = assetJson.location_state;
|
|
104
|
-
this.destination_city = assetJson.destination_city;
|
|
105
|
-
this.destination_state = assetJson.destination_state;
|
|
106
|
-
this.pickup_number = assetJson.pickup_number;
|
|
107
|
-
this.load_number = assetJson.load_number;
|
|
108
|
-
this.last_outgate_time = assetJson.last_outgate_time;
|
|
109
|
-
this.dwell_time = assetJson.dwell_time;
|
|
110
|
-
this.transaction_time = assetJson.transaction_time;
|
|
111
|
-
this.destination_node_id = assetJson.destination_node_id;
|
|
112
|
-
this.selected_update_limit = assetJson.selected_update_limit;
|
|
113
|
-
this.calc_area_id = assetJson.calc_area_id;
|
|
114
|
-
this.trailer_notes = assetJson.trailer_notes;
|
|
115
|
-
this.loading_notes = assetJson.loading_notes;
|
|
116
|
-
this.unavailable = assetJson.unavailable;
|
|
117
|
-
this.flagged = assetJson.flagged;
|
|
118
|
-
this.only_eta = assetJson.only_eta;
|
|
119
|
-
this.last_heading = assetJson.last_heading;
|
|
120
|
-
this.map_type = assetJson.map_type;
|
|
121
|
-
this.map_name = assetJson.map_name;
|
|
122
|
-
this.lat = assetJson.lat;
|
|
123
|
-
this.lng = assetJson.lng;
|
|
124
|
-
this.current_driver_name = assetJson.current_driver_name;
|
|
125
|
-
this.current_trailer = assetJson.current_trailer;
|
|
126
|
-
this.remaining_driving = assetJson.remaining_driving;
|
|
127
|
-
this.remaining_on_duty = assetJson.remaining_on_duty;
|
|
128
|
-
this.spaces = assetJson.spaces;
|
|
129
|
-
this.current_status = assetJson.current_status;
|
|
130
|
-
this.holding_types = assetJson.holding_types;
|
|
131
|
-
this.full_status_description = assetJson.full_status_description;
|
|
132
|
-
this.current_area_id = assetJson.current_area_id;
|
|
133
23
|
}
|
|
134
|
-
else
|
|
135
|
-
throw new Error(
|
|
24
|
+
else {
|
|
25
|
+
throw new Error("Failed to create new instance of ${ Asset_Entity.name }: ${e}");
|
|
26
|
+
}
|
|
136
27
|
}
|
|
137
28
|
id;
|
|
138
|
-
asset_type_id;
|
|
139
|
-
node_id;
|
|
140
|
-
latitude;
|
|
141
|
-
longitude;
|
|
142
29
|
asset_code;
|
|
143
|
-
reference_code;
|
|
144
|
-
year;
|
|
145
|
-
make;
|
|
146
|
-
model;
|
|
147
|
-
serial;
|
|
148
|
-
vin;
|
|
149
|
-
license;
|
|
150
|
-
license_state;
|
|
151
|
-
registration_exp_date;
|
|
152
|
-
ownership_type;
|
|
153
|
-
owner_name;
|
|
154
|
-
purchased_type;
|
|
155
|
-
purchased_date;
|
|
156
|
-
purchase_price;
|
|
157
|
-
in_service_date;
|
|
158
|
-
out_service_date;
|
|
159
|
-
dmv_exp_date;
|
|
160
|
-
insured_date;
|
|
161
|
-
insured_value;
|
|
162
|
-
insurance_exp_date;
|
|
163
|
-
insurance_provider;
|
|
164
|
-
annual_ins_premium;
|
|
165
|
-
depreciated_value;
|
|
166
|
-
gps_serial;
|
|
167
|
-
reefer_serial;
|
|
168
|
-
engine_make;
|
|
169
|
-
engine_model;
|
|
170
|
-
engine_year;
|
|
171
|
-
engine_serial;
|
|
172
|
-
carb_compliance;
|
|
173
|
-
carb_exp_date;
|
|
174
|
-
satellite_number;
|
|
175
|
-
satellite_comm_date;
|
|
176
|
-
eobr_serial;
|
|
177
|
-
eobr_comm_date;
|
|
178
|
-
toll_tag_serial;
|
|
179
|
-
hut_permit_serial;
|
|
180
|
-
hut_permit_exp_date;
|
|
181
|
-
liquor_license_serial;
|
|
182
|
-
liquor_license_exp_date;
|
|
183
|
-
person_id;
|
|
184
|
-
person_assigned_date;
|
|
185
|
-
dot_number;
|
|
186
|
-
odometer;
|
|
187
|
-
pallets;
|
|
188
|
-
dup_delete;
|
|
189
|
-
red_flagged;
|
|
190
|
-
reserved_dropped;
|
|
191
30
|
asset_status;
|
|
192
|
-
status_description;
|
|
193
|
-
temporary;
|
|
194
|
-
local_asset;
|
|
195
|
-
engine_hours;
|
|
196
|
-
status_changed_by_person_id;
|
|
197
|
-
manual_status_change_datetime;
|
|
198
|
-
auto_status_change;
|
|
199
|
-
last_asset_update_id;
|
|
200
|
-
ifta_compliant;
|
|
201
|
-
area_ids;
|
|
202
|
-
asset_holding_ids;
|
|
203
|
-
units_amount_ids;
|
|
204
|
-
work_order_ids;
|
|
205
|
-
asset_rail_status_update_id;
|
|
206
|
-
asset_barcode_ids;
|
|
207
|
-
annotation_ids;
|
|
208
|
-
hos_total_ids;
|
|
209
|
-
reefer_status_id;
|
|
210
|
-
archer_file_ids;
|
|
211
|
-
full_status_ids;
|
|
212
|
-
version_ids;
|
|
213
|
-
open_work_orders_count;
|
|
214
|
-
equipment_status;
|
|
215
|
-
current_eta;
|
|
216
|
-
status_code;
|
|
217
|
-
location_code;
|
|
218
|
-
location_city;
|
|
219
|
-
location_state;
|
|
220
|
-
destination_city;
|
|
221
|
-
destination_state;
|
|
222
|
-
pickup_number;
|
|
223
|
-
load_number;
|
|
224
|
-
last_outgate_time;
|
|
225
|
-
dwell_time;
|
|
226
|
-
transaction_time;
|
|
227
|
-
destination_node_id;
|
|
228
|
-
selected_update_limit;
|
|
229
|
-
calc_area_id;
|
|
230
|
-
trailer_notes;
|
|
231
|
-
loading_notes;
|
|
232
|
-
unavailable;
|
|
233
|
-
flagged;
|
|
234
|
-
only_eta;
|
|
235
|
-
last_heading;
|
|
236
|
-
map_type;
|
|
237
|
-
map_name;
|
|
238
|
-
lat;
|
|
239
|
-
lng;
|
|
240
|
-
current_driver_name;
|
|
241
|
-
current_trailer;
|
|
242
|
-
remaining_driving;
|
|
243
|
-
remaining_on_duty;
|
|
244
|
-
spaces;
|
|
245
|
-
current_status;
|
|
246
|
-
holding_types;
|
|
247
|
-
full_status_description;
|
|
248
|
-
current_area_id;
|
|
249
31
|
}
|
|
250
32
|
//# sourceMappingURL=asset.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asset.js","sourceRoot":"","sources":["../../../src/entities/asset/asset.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,SAAS,SAAS,CAAC,SAAkB;IACnC,IAAI,OAAO,SAAS,KAAK,QAAQ,IAAI,SAAS,IAAI,IAAI,EAAE,CAAC;QACvD,YAAY,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;YAC9C,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC;gBAC3C,MAAM,IAAI,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"asset.js","sourceRoot":"","sources":["../../../src/entities/asset/asset.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,SAAS,SAAS,CAAC,SAAkB;IACnC,IAAI,OAAO,SAAS,KAAK,QAAQ,IAAI,SAAS,IAAI,IAAI,EAAE,CAAC;QACvD,YAAY,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;YAC9C,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC;gBAC3C,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;QAC7D,CAAC,CAAC,CAAC;IACL,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED,MAAM,CAAC,OAAO,OAAO,YAAY;IAC/B,MAAM,CAAC,cAAc,GAAG,CAAC,IAAI,EAAE,YAAY,EAAE,cAAc,CAAC,CAAC;IAE7D,YAAY,SAAkB;QAC5B,IAAI,SAAS,CAAC,SAAS,CAAC,EAAE,CAAC;YACzB,IAAI,CAAC,EAAE,GAAG,SAAS,CAAC,EAAE,CAAC;YACvB,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC,UAAU,CAAC;YACvC,IAAI,CAAC,YAAY,GAAG,SAAS,CAAC,YAAY,CAAC;QAC7C,CAAC;aAAM,CAAC;YACN,MAAM,IAAI,KAAK,CACb,+DAA+D,CAChE,CAAC;QACJ,CAAC;IACH,CAAC;IAED,EAAE,CAAS;IACX,UAAU,CAAS;IACnB,YAAY,CAAS"}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
export default class AssetV1_Entity {
|
|
2
|
+
static requiredFields: string[];
|
|
3
|
+
constructor(assetV1Json: unknown);
|
|
4
|
+
id: number;
|
|
5
|
+
asset_type_id?: number;
|
|
6
|
+
node_id?: number;
|
|
7
|
+
latitude?: number;
|
|
8
|
+
longitude?: number;
|
|
9
|
+
asset_code?: string;
|
|
10
|
+
reference_code?: string;
|
|
11
|
+
year?: number;
|
|
12
|
+
make?: string;
|
|
13
|
+
model?: string;
|
|
14
|
+
serial?: string;
|
|
15
|
+
vin?: string;
|
|
16
|
+
license?: string;
|
|
17
|
+
license_state?: string;
|
|
18
|
+
registration_exp_date?: string;
|
|
19
|
+
ownership_type?: string;
|
|
20
|
+
owner_name?: string;
|
|
21
|
+
purchased_type?: string;
|
|
22
|
+
purchased_date?: string;
|
|
23
|
+
purchase_price?: number;
|
|
24
|
+
in_service_date?: string;
|
|
25
|
+
out_service_date?: string;
|
|
26
|
+
dmv_exp_date?: string;
|
|
27
|
+
insured_date?: string;
|
|
28
|
+
insured_value?: number;
|
|
29
|
+
insurance_exp_date?: string;
|
|
30
|
+
insurance_provider?: string;
|
|
31
|
+
annual_ins_premium?: number;
|
|
32
|
+
depreciated_value?: number;
|
|
33
|
+
gps_serial?: string;
|
|
34
|
+
reefer_serial?: string;
|
|
35
|
+
engine_make?: string;
|
|
36
|
+
engine_model?: string;
|
|
37
|
+
engine_year?: string;
|
|
38
|
+
engine_serial?: string;
|
|
39
|
+
carb_compliance?: string;
|
|
40
|
+
carb_exp_date?: string;
|
|
41
|
+
satellite_number?: string;
|
|
42
|
+
satellite_comm_date?: string;
|
|
43
|
+
eobr_serial?: string;
|
|
44
|
+
eobr_comm_date?: string;
|
|
45
|
+
toll_tag_serial?: string;
|
|
46
|
+
hut_permit_serial?: string;
|
|
47
|
+
hut_permit_exp_date?: string;
|
|
48
|
+
liquor_license_serial?: string;
|
|
49
|
+
liquor_license_exp_date?: string;
|
|
50
|
+
person_id?: number;
|
|
51
|
+
person_assigned_date?: string;
|
|
52
|
+
dot_number?: string;
|
|
53
|
+
odometer?: number;
|
|
54
|
+
pallets?: number;
|
|
55
|
+
dup_delete?: boolean;
|
|
56
|
+
red_flagged?: boolean;
|
|
57
|
+
reserved_dropped?: boolean;
|
|
58
|
+
asset_status?: string;
|
|
59
|
+
status_description?: string;
|
|
60
|
+
temporary?: boolean;
|
|
61
|
+
local_asset?: boolean;
|
|
62
|
+
engine_hours?: number;
|
|
63
|
+
status_changed_by_person_id?: number;
|
|
64
|
+
manual_status_change_datetime?: string;
|
|
65
|
+
auto_status_change?: boolean;
|
|
66
|
+
last_asset_update_id?: number;
|
|
67
|
+
ifta_compliant?: boolean;
|
|
68
|
+
area_ids?: number[];
|
|
69
|
+
asset_holding_ids?: number[];
|
|
70
|
+
units_amount_ids?: number[];
|
|
71
|
+
work_order_ids?: number[];
|
|
72
|
+
asset_rail_status_update_id?: number;
|
|
73
|
+
asset_barcode_ids?: number[];
|
|
74
|
+
annotation_ids?: number[];
|
|
75
|
+
hos_total_ids?: number[];
|
|
76
|
+
reefer_status_id?: number;
|
|
77
|
+
archer_file_ids?: number[];
|
|
78
|
+
full_status_ids?: number[];
|
|
79
|
+
version_ids?: number[];
|
|
80
|
+
open_work_orders_count?: number;
|
|
81
|
+
equipment_status?: string;
|
|
82
|
+
current_eta?: string;
|
|
83
|
+
status_code?: string;
|
|
84
|
+
location_code?: string;
|
|
85
|
+
location_city?: string;
|
|
86
|
+
location_state?: string;
|
|
87
|
+
destination_city?: string;
|
|
88
|
+
destination_state?: string;
|
|
89
|
+
pickup_number?: string;
|
|
90
|
+
load_number?: string;
|
|
91
|
+
last_outgate_time?: string;
|
|
92
|
+
dwell_time?: number;
|
|
93
|
+
transaction_time?: string;
|
|
94
|
+
destination_node_id?: number;
|
|
95
|
+
selected_update_limit?: string;
|
|
96
|
+
calc_area_id?: number;
|
|
97
|
+
trailer_notes?: string;
|
|
98
|
+
loading_notes?: string;
|
|
99
|
+
unavailable?: boolean;
|
|
100
|
+
flagged?: boolean;
|
|
101
|
+
only_eta?: string;
|
|
102
|
+
last_heading?: number;
|
|
103
|
+
map_type?: number;
|
|
104
|
+
map_name?: string;
|
|
105
|
+
lat?: number;
|
|
106
|
+
lng?: number;
|
|
107
|
+
current_driver_name?: string;
|
|
108
|
+
current_trailer?: string;
|
|
109
|
+
remaining_driving?: string;
|
|
110
|
+
remaining_on_duty?: string;
|
|
111
|
+
spaces?: number;
|
|
112
|
+
current_status?: string;
|
|
113
|
+
holding_types?: string;
|
|
114
|
+
full_status_description?: string;
|
|
115
|
+
current_area_id?: number;
|
|
116
|
+
}
|