@nerdjs/sales-kit 3.0.5 → 3.0.7
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/cargoConsolidation/cargoConsolidation.d.ts +35 -117
- package/dist/entities/cargoConsolidation/cargoConsolidation.js +87 -229
- package/dist/entities/cargoConsolidation/cargoConsolidation.js.map +1 -1
- package/dist/entities/cargoConsolidationV1/cargoConsolidationV1.d.ts +129 -0
- package/dist/entities/cargoConsolidationV1/cargoConsolidationV1.js +280 -0
- package/dist/entities/cargoConsolidationV1/cargoConsolidationV1.js.map +1 -0
- package/dist/entities/cargoConsolidationV1/helper.d.ts +5 -0
- package/dist/entities/cargoConsolidationV1/helper.js +16 -0
- package/dist/entities/cargoConsolidationV1/helper.js.map +1 -0
- package/dist/entities/cargoConsolidationV1/index.d.ts +2 -0
- package/dist/entities/cargoConsolidationV1/index.js +3 -0
- package/dist/entities/cargoConsolidationV1/index.js.map +1 -0
- package/dist/entities/genericTender/genericTender.d.ts +1 -0
- package/dist/entities/genericTender/genericTender.js +2 -0
- package/dist/entities/genericTender/genericTender.js.map +1 -1
- package/dist/entities/index.d.ts +12 -11
- package/dist/entities/index.js +12 -11
- package/dist/entities/index.js.map +1 -1
- package/dist/hooks/archerIntelligence/archerIntelligence.js +20 -9
- package/dist/hooks/archerIntelligence/archerIntelligence.js.map +1 -1
- package/dist/hooks/locationsForm/locationFormSales/locationFormSalesMain.js +0 -1
- package/dist/hooks/locationsForm/locationFormSales/locationFormSalesMain.js.map +1 -1
- package/dist/redux/cargoConsolidation/cargoConsolidationEndpoints.d.ts +397 -1370
- package/dist/redux/cargoConsolidation/cargoConsolidationEndpoints.js +14 -59
- package/dist/redux/cargoConsolidation/cargoConsolidationEndpoints.js.map +1 -1
- package/dist/redux/cargoConsolidationV1/cargoConsolidationV1Endpoints.d.ts +2452 -0
- package/dist/redux/cargoConsolidationV1/cargoConsolidationV1Endpoints.js +116 -0
- package/dist/redux/cargoConsolidationV1/cargoConsolidationV1Endpoints.js.map +1 -0
- package/dist/redux/cargoConsolidationV1/index.d.ts +2 -0
- package/dist/redux/cargoConsolidationV1/index.js +3 -0
- package/dist/redux/cargoConsolidationV1/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/loadV1/loadV1Endpoints.d.ts +36 -36
- package/package.json +1 -1
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CargoConsolidationV1_Entity type guard.
|
|
3
|
+
*
|
|
4
|
+
* @param {any} cargoConsolidationV1Json CargoConsolidationV1 object from API
|
|
5
|
+
* @returns {boolean} Return true if type is CargoConsolidationV1_Entity
|
|
6
|
+
*/
|
|
7
|
+
export function validator(cargoConsolidationV1Json) {
|
|
8
|
+
if (typeof cargoConsolidationV1Json === "object" &&
|
|
9
|
+
cargoConsolidationV1Json != null) {
|
|
10
|
+
CargoConsolidationV1_Entity.requiredFields.forEach((element) => {
|
|
11
|
+
if (!Object.keys(cargoConsolidationV1Json).includes(element))
|
|
12
|
+
throw new Error(`Field ${element} is null or undefined`);
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
return true;
|
|
16
|
+
}
|
|
17
|
+
export default class CargoConsolidationV1_Entity {
|
|
18
|
+
static requiredFields = [];
|
|
19
|
+
constructor(cargoConsolidationV1Json) {
|
|
20
|
+
if (validator(cargoConsolidationV1Json)) {
|
|
21
|
+
this.id = cargoConsolidationV1Json.id;
|
|
22
|
+
this.asset_id = cargoConsolidationV1Json.asset_id;
|
|
23
|
+
this.driver_id = cargoConsolidationV1Json.driver_id;
|
|
24
|
+
this.node_id = cargoConsolidationV1Json.node_id;
|
|
25
|
+
this.employee_id = cargoConsolidationV1Json.employee_id;
|
|
26
|
+
this.consolidation_date = cargoConsolidationV1Json.consolidation_date;
|
|
27
|
+
this.seal = cargoConsolidationV1Json.seal;
|
|
28
|
+
this.temperature = cargoConsolidationV1Json.temperature;
|
|
29
|
+
this.appointment_trip_id = cargoConsolidationV1Json.appointment_trip_id;
|
|
30
|
+
this.loaded = cargoConsolidationV1Json.loaded;
|
|
31
|
+
this.carrier_id = cargoConsolidationV1Json.carrier_id;
|
|
32
|
+
this.trip_baserate = cargoConsolidationV1Json.trip_baserate;
|
|
33
|
+
this.trip_fuel_surcharge = cargoConsolidationV1Json.trip_fuel_surcharge;
|
|
34
|
+
this.processed_date = cargoConsolidationV1Json.processed_date;
|
|
35
|
+
this.next_cargo_consolidation_id =
|
|
36
|
+
cargoConsolidationV1Json.next_cargo_consolidation_id;
|
|
37
|
+
this.trip_detail = cargoConsolidationV1Json.trip_detail;
|
|
38
|
+
this.for_delivery = cargoConsolidationV1Json.for_delivery;
|
|
39
|
+
this.override_dispatch_path_edge_id =
|
|
40
|
+
cargoConsolidationV1Json.override_dispatch_path_edge_id;
|
|
41
|
+
this.notes = cargoConsolidationV1Json.notes;
|
|
42
|
+
this.review = cargoConsolidationV1Json.review;
|
|
43
|
+
this.dropped_to_dock = cargoConsolidationV1Json.dropped_to_dock;
|
|
44
|
+
this.workflow_driver_assignment_id =
|
|
45
|
+
cargoConsolidationV1Json.workflow_driver_assignment_id;
|
|
46
|
+
this.start_area_id = cargoConsolidationV1Json.start_area_id;
|
|
47
|
+
this.assignment_order = cargoConsolidationV1Json.assignment_order;
|
|
48
|
+
this.perform_date = cargoConsolidationV1Json.perform_date;
|
|
49
|
+
this.empty_workflow_move = cargoConsolidationV1Json.empty_workflow_move;
|
|
50
|
+
this.return_temporary = cargoConsolidationV1Json.return_temporary;
|
|
51
|
+
this.start_time = cargoConsolidationV1Json.start_time;
|
|
52
|
+
this.end_time = cargoConsolidationV1Json.end_time;
|
|
53
|
+
this.loaded_workflow_move = cargoConsolidationV1Json.loaded_workflow_move;
|
|
54
|
+
this.warehouse_notes = cargoConsolidationV1Json.warehouse_notes;
|
|
55
|
+
this.total_cost = cargoConsolidationV1Json.total_cost;
|
|
56
|
+
this.loading_status = cargoConsolidationV1Json.loading_status;
|
|
57
|
+
this.pallet_manifest_id = cargoConsolidationV1Json.pallet_manifest_id;
|
|
58
|
+
this.unload_node_id = cargoConsolidationV1Json.unload_node_id;
|
|
59
|
+
this.person_id = cargoConsolidationV1Json.person_id;
|
|
60
|
+
this.otr_posted = cargoConsolidationV1Json.otr_posted;
|
|
61
|
+
this.start_brokerage_rate = cargoConsolidationV1Json.start_brokerage_rate;
|
|
62
|
+
this.max_brokerage_rate = cargoConsolidationV1Json.max_brokerage_rate;
|
|
63
|
+
this.calc_area_id = cargoConsolidationV1Json.calc_area_id;
|
|
64
|
+
this.pieces = cargoConsolidationV1Json.pieces;
|
|
65
|
+
this.pallets = cargoConsolidationV1Json.pallets;
|
|
66
|
+
this.feet = cargoConsolidationV1Json.feet;
|
|
67
|
+
this.weight = cargoConsolidationV1Json.weight;
|
|
68
|
+
this.next_node_id = cargoConsolidationV1Json.next_node_id;
|
|
69
|
+
this.fill_percent = cargoConsolidationV1Json.fill_percent;
|
|
70
|
+
this.pallets_to_go = cargoConsolidationV1Json.pallets_to_go;
|
|
71
|
+
this.weight_to_go = cargoConsolidationV1Json.weight_to_go;
|
|
72
|
+
this.outbound_dispatch_type =
|
|
73
|
+
cargoConsolidationV1Json.outbound_dispatch_type;
|
|
74
|
+
this.dispatch_path_edge_id =
|
|
75
|
+
cargoConsolidationV1Json.dispatch_path_edge_id;
|
|
76
|
+
this.next_node_type = cargoConsolidationV1Json.next_node_type;
|
|
77
|
+
this.asset_code = cargoConsolidationV1Json.asset_code;
|
|
78
|
+
this.next_node_name = cargoConsolidationV1Json.next_node_name;
|
|
79
|
+
this.dest_area_id = cargoConsolidationV1Json.dest_area_id;
|
|
80
|
+
this.current_eta = cargoConsolidationV1Json.current_eta;
|
|
81
|
+
this.dest_node_id = cargoConsolidationV1Json.dest_node_id;
|
|
82
|
+
this.next_dispatch_type = cargoConsolidationV1Json.next_dispatch_type;
|
|
83
|
+
this.node_type = cargoConsolidationV1Json.node_type;
|
|
84
|
+
this.trip_total_cost = cargoConsolidationV1Json.trip_total_cost;
|
|
85
|
+
this.scac = cargoConsolidationV1Json.scac;
|
|
86
|
+
this.waybill = cargoConsolidationV1Json.waybill;
|
|
87
|
+
this.cached_eta = cargoConsolidationV1Json.cached_eta;
|
|
88
|
+
this.reefer_last_contact = cargoConsolidationV1Json.reefer_last_contact;
|
|
89
|
+
this.reefer_temp = cargoConsolidationV1Json.reefer_temp;
|
|
90
|
+
this.reefer_fuel_level = cargoConsolidationV1Json.reefer_fuel_level;
|
|
91
|
+
this.pickup_number = cargoConsolidationV1Json.pickup_number;
|
|
92
|
+
this.destination_states = cargoConsolidationV1Json.destination_states;
|
|
93
|
+
this.destination_areas = cargoConsolidationV1Json.destination_areas;
|
|
94
|
+
this.dest_node_type = cargoConsolidationV1Json.dest_node_type;
|
|
95
|
+
this.next_leg_dispatch_type =
|
|
96
|
+
cargoConsolidationV1Json.next_leg_dispatch_type;
|
|
97
|
+
this.next_waybill = cargoConsolidationV1Json.next_waybill;
|
|
98
|
+
this.has_rail_tender = cargoConsolidationV1Json.has_rail_tender;
|
|
99
|
+
this.has_next_rail_tender = cargoConsolidationV1Json.has_next_rail_tender;
|
|
100
|
+
this.next_dest_node_id = cargoConsolidationV1Json.next_dest_node_id;
|
|
101
|
+
this.load_numbers = cargoConsolidationV1Json.load_numbers;
|
|
102
|
+
this.has_splits = cargoConsolidationV1Json.has_splits;
|
|
103
|
+
this.has_ingated = cargoConsolidationV1Json.has_ingated;
|
|
104
|
+
this.next_has_ingated = cargoConsolidationV1Json.next_has_ingated;
|
|
105
|
+
this.trailer_expire = cargoConsolidationV1Json.trailer_expire;
|
|
106
|
+
this.current_carrier_tender_id =
|
|
107
|
+
cargoConsolidationV1Json.current_carrier_tender_id;
|
|
108
|
+
this.next_scac = cargoConsolidationV1Json.next_scac;
|
|
109
|
+
this.long_distance = cargoConsolidationV1Json.long_distance;
|
|
110
|
+
this.origin_areas = cargoConsolidationV1Json.origin_areas;
|
|
111
|
+
this.earliest_delivery_date =
|
|
112
|
+
cargoConsolidationV1Json.earliest_delivery_date;
|
|
113
|
+
this.total_planned_cost = cargoConsolidationV1Json.total_planned_cost;
|
|
114
|
+
this.edges_until_end = cargoConsolidationV1Json.edges_until_end;
|
|
115
|
+
this.node_name = cargoConsolidationV1Json.node_name;
|
|
116
|
+
this.pallet_position_to_go =
|
|
117
|
+
cargoConsolidationV1Json.pallet_position_to_go;
|
|
118
|
+
this.do_not_break_seal = cargoConsolidationV1Json.do_not_break_seal;
|
|
119
|
+
this.asset_status = cargoConsolidationV1Json.asset_status;
|
|
120
|
+
this.status_description = cargoConsolidationV1Json.status_description;
|
|
121
|
+
this.expedited = cargoConsolidationV1Json.expedited;
|
|
122
|
+
this.local_move = cargoConsolidationV1Json.local_move;
|
|
123
|
+
this.load_count = cargoConsolidationV1Json.load_count;
|
|
124
|
+
this.active_rail_tender_id =
|
|
125
|
+
cargoConsolidationV1Json.active_rail_tender_id;
|
|
126
|
+
this.status_code = cargoConsolidationV1Json.status_code;
|
|
127
|
+
this.service_level = cargoConsolidationV1Json.service_level;
|
|
128
|
+
this.destination_locations =
|
|
129
|
+
cargoConsolidationV1Json.destination_locations;
|
|
130
|
+
this.carrier_pay_source_type =
|
|
131
|
+
cargoConsolidationV1Json.carrier_pay_source_type;
|
|
132
|
+
this.consolidation_flag_id =
|
|
133
|
+
cargoConsolidationV1Json.consolidation_flag_id;
|
|
134
|
+
this.assigned_names = cargoConsolidationV1Json.assigned_names;
|
|
135
|
+
this.next_node_sub_area_id =
|
|
136
|
+
cargoConsolidationV1Json.next_node_sub_area_id;
|
|
137
|
+
this.max_weight = cargoConsolidationV1Json.max_weight;
|
|
138
|
+
this.next_node_timezone = cargoConsolidationV1Json.next_node_timezone;
|
|
139
|
+
this.next_node_timezone_offset =
|
|
140
|
+
cargoConsolidationV1Json.next_node_timezone_offset;
|
|
141
|
+
this.westbound = cargoConsolidationV1Json.westbound;
|
|
142
|
+
this.customer_rank_based_on_sales =
|
|
143
|
+
cargoConsolidationV1Json.customer_rank_based_on_sales;
|
|
144
|
+
this.customer_ids = cargoConsolidationV1Json.customer_ids;
|
|
145
|
+
this.destination_sub_areas =
|
|
146
|
+
cargoConsolidationV1Json.destination_sub_areas;
|
|
147
|
+
this.cutoff_time = cargoConsolidationV1Json.cutoff_time;
|
|
148
|
+
this.tanker_required = cargoConsolidationV1Json.tanker_required;
|
|
149
|
+
this.next_driver_id = cargoConsolidationV1Json.next_driver_id;
|
|
150
|
+
this.next_carrier_id = cargoConsolidationV1Json.next_carrier_id;
|
|
151
|
+
this.next_perform_date = cargoConsolidationV1Json.next_perform_date;
|
|
152
|
+
this.intermodal_contract = cargoConsolidationV1Json.intermodal_contract;
|
|
153
|
+
this.storage_consolidation =
|
|
154
|
+
cargoConsolidationV1Json.storage_consolidation;
|
|
155
|
+
this.commodity_piece_ids = cargoConsolidationV1Json.commodity_piece_ids;
|
|
156
|
+
this.load_ids = cargoConsolidationV1Json.load_ids;
|
|
157
|
+
}
|
|
158
|
+
else
|
|
159
|
+
throw new Error(`Failed to create new instance of ${CargoConsolidationV1_Entity.name}`);
|
|
160
|
+
}
|
|
161
|
+
id;
|
|
162
|
+
asset_id;
|
|
163
|
+
driver_id;
|
|
164
|
+
node_id;
|
|
165
|
+
employee_id;
|
|
166
|
+
consolidation_date;
|
|
167
|
+
seal;
|
|
168
|
+
temperature;
|
|
169
|
+
appointment_trip_id;
|
|
170
|
+
loaded;
|
|
171
|
+
carrier_id;
|
|
172
|
+
trip_baserate;
|
|
173
|
+
trip_fuel_surcharge;
|
|
174
|
+
processed_date;
|
|
175
|
+
next_cargo_consolidation_id;
|
|
176
|
+
trip_detail;
|
|
177
|
+
for_delivery;
|
|
178
|
+
override_dispatch_path_edge_id;
|
|
179
|
+
notes;
|
|
180
|
+
review;
|
|
181
|
+
dropped_to_dock;
|
|
182
|
+
workflow_driver_assignment_id;
|
|
183
|
+
start_area_id;
|
|
184
|
+
assignment_order;
|
|
185
|
+
perform_date;
|
|
186
|
+
empty_workflow_move;
|
|
187
|
+
return_temporary;
|
|
188
|
+
start_time;
|
|
189
|
+
end_time;
|
|
190
|
+
loaded_workflow_move;
|
|
191
|
+
warehouse_notes;
|
|
192
|
+
total_cost;
|
|
193
|
+
loading_status;
|
|
194
|
+
pallet_manifest_id;
|
|
195
|
+
unload_node_id;
|
|
196
|
+
person_id;
|
|
197
|
+
otr_posted;
|
|
198
|
+
start_brokerage_rate;
|
|
199
|
+
max_brokerage_rate;
|
|
200
|
+
calc_area_id;
|
|
201
|
+
pieces;
|
|
202
|
+
pallets;
|
|
203
|
+
feet;
|
|
204
|
+
weight;
|
|
205
|
+
next_node_id;
|
|
206
|
+
fill_percent;
|
|
207
|
+
pallets_to_go;
|
|
208
|
+
weight_to_go;
|
|
209
|
+
outbound_dispatch_type;
|
|
210
|
+
dispatch_path_edge_id;
|
|
211
|
+
next_node_type;
|
|
212
|
+
asset_code;
|
|
213
|
+
next_node_name;
|
|
214
|
+
dest_area_id;
|
|
215
|
+
current_eta;
|
|
216
|
+
dest_node_id;
|
|
217
|
+
next_dispatch_type;
|
|
218
|
+
node_type;
|
|
219
|
+
trip_total_cost;
|
|
220
|
+
scac;
|
|
221
|
+
waybill;
|
|
222
|
+
cached_eta;
|
|
223
|
+
reefer_last_contact;
|
|
224
|
+
reefer_temp;
|
|
225
|
+
reefer_fuel_level;
|
|
226
|
+
pickup_number;
|
|
227
|
+
destination_states;
|
|
228
|
+
destination_areas;
|
|
229
|
+
dest_node_type;
|
|
230
|
+
next_leg_dispatch_type;
|
|
231
|
+
next_waybill;
|
|
232
|
+
has_rail_tender;
|
|
233
|
+
has_next_rail_tender;
|
|
234
|
+
next_dest_node_id;
|
|
235
|
+
load_numbers;
|
|
236
|
+
has_splits;
|
|
237
|
+
has_ingated;
|
|
238
|
+
next_has_ingated;
|
|
239
|
+
trailer_expire;
|
|
240
|
+
current_carrier_tender_id;
|
|
241
|
+
next_scac;
|
|
242
|
+
long_distance;
|
|
243
|
+
origin_areas;
|
|
244
|
+
earliest_delivery_date;
|
|
245
|
+
total_planned_cost;
|
|
246
|
+
edges_until_end;
|
|
247
|
+
node_name;
|
|
248
|
+
pallet_position_to_go;
|
|
249
|
+
do_not_break_seal;
|
|
250
|
+
asset_status;
|
|
251
|
+
status_description;
|
|
252
|
+
expedited;
|
|
253
|
+
local_move;
|
|
254
|
+
load_count;
|
|
255
|
+
active_rail_tender_id;
|
|
256
|
+
status_code;
|
|
257
|
+
service_level;
|
|
258
|
+
destination_locations;
|
|
259
|
+
carrier_pay_source_type;
|
|
260
|
+
consolidation_flag_id;
|
|
261
|
+
assigned_names;
|
|
262
|
+
next_node_sub_area_id;
|
|
263
|
+
max_weight;
|
|
264
|
+
next_node_timezone;
|
|
265
|
+
next_node_timezone_offset;
|
|
266
|
+
westbound;
|
|
267
|
+
customer_rank_based_on_sales;
|
|
268
|
+
customer_ids;
|
|
269
|
+
destination_sub_areas;
|
|
270
|
+
cutoff_time;
|
|
271
|
+
tanker_required;
|
|
272
|
+
next_driver_id;
|
|
273
|
+
next_carrier_id;
|
|
274
|
+
next_perform_date;
|
|
275
|
+
intermodal_contract;
|
|
276
|
+
storage_consolidation;
|
|
277
|
+
commodity_piece_ids;
|
|
278
|
+
load_ids;
|
|
279
|
+
}
|
|
280
|
+
//# sourceMappingURL=cargoConsolidationV1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cargoConsolidationV1.js","sourceRoot":"","sources":["../../../src/entities/cargoConsolidationV1/cargoConsolidationV1.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,UAAU,SAAS,CACvB,wBAAiC;IAEjC,IACE,OAAO,wBAAwB,KAAK,QAAQ;QAC5C,wBAAwB,IAAI,IAAI,EAChC;QACA,2BAA2B,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;YAC7D,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,wBA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ACvB,kBAAkB,CAAU;IAC5B,iBAAiB,CAAU;IAC3B,cAAc,CAAU;IACxB,sBAAsB,CAAU;IAChC,YAAY,CAAU;IACtB,eAAe,CAAW;IAC1B,oBAAoB,CAAW;IAC/B,iBAAiB,CAAU;IAC3B,YAAY,CAAU;IACtB,UAAU,CAAW;IACrB,WAAW,CAAW;IACtB,gBAAgB,CAAW;IAC3B,cAAc,CAAU;IACxB,yBAAyB,CAAU;IACnC,SAAS,CAAU;IACnB,aAAa,CAAW;IACxB,YAAY,CAAU;IACtB,sBAAsB,CAAU;IAChC,kBAAkB,CAAU;IAC5B,eAAe,CAAU;IACzB,SAAS,CAAU;IACnB,qBAAqB,CAAU;IAC/B,iBAAiB,CAAW;IAC5B,YAAY,CAAU;IACtB,kBAAkB,CAAU;IAC5B,SAAS,CAAW;IACpB,UAAU,CAAW;IACrB,UAAU,CAAU;IACpB,qBAAqB,CAAU;IAC/B,WAAW,CAAU;IACrB,aAAa,CAAU;IACvB,qBAAqB,CAAY;IACjC,uBAAuB,CAAU;IACjC,qBAAqB,CAAU;IAC/B,cAAc,CAAU;IACxB,qBAAqB,CAAU;IAC/B,UAAU,CAAW;IACrB,kBAAkB,CAAU;IAC5B,yBAAyB,CAAU;IACnC,SAAS,CAAW;IACpB,4BAA4B,CAAU;IACtC,YAAY,CAAY;IACxB,qBAAqB,CAAU;IAC/B,WAAW,CAAU;IACrB,eAAe,CAAW;IAC1B,cAAc,CAAU;IACxB,eAAe,CAAU;IACzB,iBAAiB,CAAU;IAC3B,mBAAmB,CAAU;IAC7B,qBAAqB,CAAW;IAChC,mBAAmB,CAAY;IAC/B,QAAQ,CAAY"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import CargoConsolidationV1_Entity from "./cargoConsolidationV1";
|
|
2
|
+
export default class CargoConsolidationV1 extends CargoConsolidationV1_Entity {
|
|
3
|
+
static fromList(cargoConsolidationV1sJSON) {
|
|
4
|
+
const cargoConsolidationV1s = [];
|
|
5
|
+
if (cargoConsolidationV1sJSON)
|
|
6
|
+
Array.isArray(cargoConsolidationV1sJSON) &&
|
|
7
|
+
cargoConsolidationV1sJSON.forEach((cargoConsolidationV1JSON) => {
|
|
8
|
+
cargoConsolidationV1s.push(new CargoConsolidationV1(cargoConsolidationV1JSON));
|
|
9
|
+
});
|
|
10
|
+
return cargoConsolidationV1s;
|
|
11
|
+
}
|
|
12
|
+
toJson() {
|
|
13
|
+
return JSON.stringify(this);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=helper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helper.js","sourceRoot":"","sources":["../../../src/entities/cargoConsolidationV1/helper.ts"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,MAAM,wBAAwB,CAAC;AACjE,MAAM,CAAC,OAAO,OAAO,oBAAqB,SAAQ,2BAA2B;IAC3E,MAAM,CAAC,QAAQ,CACb,yBAAkC;QAElC,MAAM,qBAAqB,GAA2B,EAAE,CAAC;QACzD,IAAI,yBAAyB;YAC3B,KAAK,CAAC,OAAO,CAAC,yBAAyB,CAAC;gBACtC,yBAAyB,CAAC,OAAO,CAAC,CAAC,wBAAwB,EAAE,EAAE;oBAC7D,qBAAqB,CAAC,IAAI,CACxB,IAAI,oBAAoB,CAAC,wBAAwB,CAAC,CACnD,CAAC;gBACJ,CAAC,CAAC,CAAC;QACP,OAAO,qBAAqB,CAAC;IAC/B,CAAC;IAED,MAAM;QACJ,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IAC9B,CAAC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/entities/cargoConsolidationV1/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,2BAA2B,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -29,6 +29,7 @@ export default class GenericTender_Entity {
|
|
|
29
29
|
this.load_tender_status = genericTenderJson.load_tender_status;
|
|
30
30
|
this.generic_id = genericTenderJson.generic_id;
|
|
31
31
|
this.market_cost = genericTenderJson.market_cost;
|
|
32
|
+
this.response_status = genericTenderJson.response_status;
|
|
32
33
|
}
|
|
33
34
|
else
|
|
34
35
|
throw new Error(`Failed to create new instance of ${GenericTender_Entity.name}`);
|
|
@@ -44,5 +45,6 @@ export default class GenericTender_Entity {
|
|
|
44
45
|
load_tender_status;
|
|
45
46
|
generic_id;
|
|
46
47
|
market_cost;
|
|
48
|
+
response_status;
|
|
47
49
|
}
|
|
48
50
|
//# sourceMappingURL=genericTender.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"genericTender.js","sourceRoot":"","sources":["../../../src/entities/genericTender/genericTender.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,SAAS,SAAS,CAChB,iBAA0B;IAE1B,IAAI,OAAO,iBAAiB,KAAK,QAAQ,IAAI,iBAAiB,IAAI,IAAI,EAAE;QACtE,oBAAoB,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;YACtD,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC;gBACnD,MAAM,IAAI,KAAK,CAAC,SAAS,OAAO,uBAAuB,CAAC,CAAC;QAC7D,CAAC,CAAC,CAAC;KACJ;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED,MAAM,CAAC,OAAO,OAAO,oBAAoB;IACvC,MAAM,CAAC,cAAc,GAAG,EAAE,CAAC;IAE3B,YAAY,iBAA0B;QACpC,IAAI,SAAS,CAAC,iBAAiB,CAAC,EAAE;YAChC,IAAI,CAAC,EAAE,GAAG,iBAAiB,CAAC,EAAE,CAAC;YAC/B,IAAI,CAAC,EAAE,GAAG,iBAAiB,CAAC,EAAE,CAAC;YAC/B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C,EAAE,GAAG,iBAAiB,CAAC,EAAE,CAAC;YAC/B,IAAI,CAAC,EAAE,GAAG,iBAAiB,CAAC,EAAE,CAAC;YAC/B,IAAI,CAAC,WAAW,GAAG,iBAAiB,CAAC,WAAW,CAAC;YACjD,IAAI,CAAC,SAAS,GAAG,iBAAiB,CAAC,SAAS,CAAC;YAC7C,IAAI,CAAC,aAAa,GAAG,iBAAiB,CAAC,aAAa,CAAC;YACrD,IAAI,CAAC,qBAAqB,GAAG,iBAAiB,CAAC,qBAAqB,CAAC;YACrE,IAAI,CAAC,UAAU,GAAG,iBAAiB,CAAC,UAAU,CAAC;YAC/C,IAAI,CAAC,OAAO,GAAG,iBAAiB,CAAC,OAAO,CAAC;YACzC,IAAI,CAAC,eAAe,GAAG,iBAAiB,CAAC,eAAe,CAAC;YACzD,IAAI,CAAC,kBAAkB,GAAG,iBAAiB,CAAC,kBAAkB,CAAC;YAC/D,IAAI,CAAC,UAAU,GAAG,iBAAiB,CAAC,UAAU,CAAC;YAC/C,IAAI,CAAC,WAAW,GAAG,iBAAiB,CAAC,WAAW,CAAC;YACjD,IAAI,CAAC,eAAe,GAAG,iBAAiB,CAAC,eAAe,CAAC;SAC1D;;YACC,MAAM,IAAI,KAAK,CACb,oCAAoC,oBAAoB,CAAC,IAAI,EAAE,CAChE,CAAC;IACN,CAAC;IAED,EAAE,CAAS;IACX,WAAW,CAAU;IACrB,SAAS,CAAU;IACnB,aAAa,CAAU;IACvB,qBAAqB,CAAU;IAC/B,UAAU,CAAU;IACpB,OAAO,CAAU;IACjB,eAAe,CAAW;IAC1B,kBAAkB,CAAU;IAC5B,UAAU,CAAU;IACpB,WAAW,CAAU;IACrB,eAAe,CAAU"}
|
package/dist/entities/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./accessorial";
|
|
2
2
|
export * from "./accessorials";
|
|
3
3
|
export * from "./accessorialV1";
|
|
4
|
+
export * from "./accountingInvoice";
|
|
4
5
|
export * from "./apiTender";
|
|
5
6
|
export * from "./appointmentArrival";
|
|
6
7
|
export * from "./appointmentIssue";
|
|
@@ -23,6 +24,7 @@ export * from "./billingMessage";
|
|
|
23
24
|
export * from "./billingNote";
|
|
24
25
|
export * from "./cargoConsolidation";
|
|
25
26
|
export * from "./cargoConsolidationCommodityPiece";
|
|
27
|
+
export * from "./cargoConsolidationV1";
|
|
26
28
|
export * from "./carrier";
|
|
27
29
|
export * from "./carrierInsurance";
|
|
28
30
|
export * from "./carrierName";
|
|
@@ -46,13 +48,20 @@ export * from "./company";
|
|
|
46
48
|
export * from "./companyLocation";
|
|
47
49
|
export * from "./contact";
|
|
48
50
|
export * from "./contract";
|
|
51
|
+
export * from "./contractRate";
|
|
52
|
+
export * from "./contractRateRecord";
|
|
49
53
|
export * from "./creditTerm";
|
|
50
54
|
export * from "./customer";
|
|
51
55
|
export * from "./customerContract";
|
|
52
56
|
export * from "./customerCredit";
|
|
57
|
+
export * from "./customerCreditLog";
|
|
58
|
+
export * from "./customerCreditType";
|
|
53
59
|
export * from "./customerName";
|
|
60
|
+
export * from "./customerRequestedArea";
|
|
54
61
|
export * from "./customersAccessorial";
|
|
62
|
+
export * from "./customersLocation";
|
|
55
63
|
export * from "./customersPerson";
|
|
64
|
+
export * from "./customerStatus";
|
|
56
65
|
export * from "./customerTrailer";
|
|
57
66
|
export * from "./customerV1";
|
|
58
67
|
export * from "./deduction";
|
|
@@ -115,6 +124,7 @@ export * from "./quoteRateRecord";
|
|
|
115
124
|
export * from "./quoteResponse";
|
|
116
125
|
export * from "./quoteV1";
|
|
117
126
|
export * from "./rateReview";
|
|
127
|
+
export * from "./rateWareXlActiveTariff";
|
|
118
128
|
export * from "./record";
|
|
119
129
|
export * from "./rejectionReason";
|
|
120
130
|
export * from "./relayCode";
|
|
@@ -123,21 +133,12 @@ export * from "./shipConDispatch";
|
|
|
123
133
|
export * from "./shipConETA";
|
|
124
134
|
export * from "./shipconV1";
|
|
125
135
|
export * from "./tenderResponse";
|
|
136
|
+
export * from "./timeToPayReport";
|
|
126
137
|
export * from "./trailerCode";
|
|
127
138
|
export * from "./transaction";
|
|
139
|
+
export * from "./uninvoicedLoadReport";
|
|
128
140
|
export * from "./uninvoicedLoadV1";
|
|
129
141
|
export * from "./unitV1";
|
|
130
142
|
export * from "./userNoteV1";
|
|
131
143
|
export * from "./userNotification";
|
|
132
144
|
export * from "./workflowEvent";
|
|
133
|
-
export * from "./customersLocation";
|
|
134
|
-
export * from "./timeToPayReport";
|
|
135
|
-
export * from "./customerCreditLog";
|
|
136
|
-
export * from "./customerCreditType";
|
|
137
|
-
export * from "./uninvoicedLoadReport";
|
|
138
|
-
export * from "./customerStatus";
|
|
139
|
-
export * from "./rateWareXlActiveTariff";
|
|
140
|
-
export * from "./contractRate";
|
|
141
|
-
export * from "./contractRateRecord";
|
|
142
|
-
export * from "./customerRequestedArea";
|
|
143
|
-
export * from "./accountingInvoice";
|
package/dist/entities/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./accessorial";
|
|
2
2
|
export * from "./accessorials";
|
|
3
3
|
export * from "./accessorialV1";
|
|
4
|
+
export * from "./accountingInvoice";
|
|
4
5
|
export * from "./apiTender";
|
|
5
6
|
export * from "./appointmentArrival";
|
|
6
7
|
export * from "./appointmentIssue";
|
|
@@ -23,6 +24,7 @@ export * from "./billingMessage";
|
|
|
23
24
|
export * from "./billingNote";
|
|
24
25
|
export * from "./cargoConsolidation";
|
|
25
26
|
export * from "./cargoConsolidationCommodityPiece";
|
|
27
|
+
export * from "./cargoConsolidationV1";
|
|
26
28
|
export * from "./carrier";
|
|
27
29
|
export * from "./carrierInsurance";
|
|
28
30
|
export * from "./carrierName";
|
|
@@ -46,13 +48,20 @@ export * from "./company";
|
|
|
46
48
|
export * from "./companyLocation";
|
|
47
49
|
export * from "./contact";
|
|
48
50
|
export * from "./contract";
|
|
51
|
+
export * from "./contractRate";
|
|
52
|
+
export * from "./contractRateRecord";
|
|
49
53
|
export * from "./creditTerm";
|
|
50
54
|
export * from "./customer";
|
|
51
55
|
export * from "./customerContract";
|
|
52
56
|
export * from "./customerCredit";
|
|
57
|
+
export * from "./customerCreditLog";
|
|
58
|
+
export * from "./customerCreditType";
|
|
53
59
|
export * from "./customerName";
|
|
60
|
+
export * from "./customerRequestedArea";
|
|
54
61
|
export * from "./customersAccessorial";
|
|
62
|
+
export * from "./customersLocation";
|
|
55
63
|
export * from "./customersPerson";
|
|
64
|
+
export * from "./customerStatus";
|
|
56
65
|
export * from "./customerTrailer";
|
|
57
66
|
export * from "./customerV1";
|
|
58
67
|
export * from "./deduction";
|
|
@@ -115,6 +124,7 @@ export * from "./quoteRateRecord";
|
|
|
115
124
|
export * from "./quoteResponse";
|
|
116
125
|
export * from "./quoteV1";
|
|
117
126
|
export * from "./rateReview";
|
|
127
|
+
export * from "./rateWareXlActiveTariff";
|
|
118
128
|
export * from "./record";
|
|
119
129
|
export * from "./rejectionReason";
|
|
120
130
|
export * from "./relayCode";
|
|
@@ -123,22 +133,13 @@ export * from "./shipConDispatch";
|
|
|
123
133
|
export * from "./shipConETA";
|
|
124
134
|
export * from "./shipconV1";
|
|
125
135
|
export * from "./tenderResponse";
|
|
136
|
+
export * from "./timeToPayReport";
|
|
126
137
|
export * from "./trailerCode";
|
|
127
138
|
export * from "./transaction";
|
|
139
|
+
export * from "./uninvoicedLoadReport";
|
|
128
140
|
export * from "./uninvoicedLoadV1";
|
|
129
141
|
export * from "./unitV1";
|
|
130
142
|
export * from "./userNoteV1";
|
|
131
143
|
export * from "./userNotification";
|
|
132
144
|
export * from "./workflowEvent";
|
|
133
|
-
export * from "./customersLocation";
|
|
134
|
-
export * from "./timeToPayReport";
|
|
135
|
-
export * from "./customerCreditLog";
|
|
136
|
-
export * from "./customerCreditType";
|
|
137
|
-
export * from "./uninvoicedLoadReport";
|
|
138
|
-
export * from "./customerStatus";
|
|
139
|
-
export * from "./rateWareXlActiveTariff";
|
|
140
|
-
export * from "./contractRate";
|
|
141
|
-
export * from "./contractRateRecord";
|
|
142
|
-
export * from "./customerRequestedArea";
|
|
143
|
-
export * from "./accountingInvoice";
|
|
144
145
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sCAAsC,CAAC;AACrD,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,oCAAoC,CAAC;AACnD,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACx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onLib } from "@codemirror/lang-json";
|
|
3
2
|
import { Alert, Box, Button, Checkbox, Chip, CircularProgress, IconButton, Input, Option, Select, Sheet, Switch, Typography, useColorScheme, } from "@mui/joy";
|
|
4
3
|
import { Portal } from "@mui/material";
|
|
5
4
|
import { useGetCurrentUserQuery } from "@nerdjs/account-kit";
|
|
6
5
|
import { NerdFileUpload, showNotification, useNerdConfirm, } from "@nerdjs/nerd-ui";
|
|
7
|
-
import CodeMirror from "@uiw/react-codemirror";
|
|
8
6
|
import { DateTime } from "luxon";
|
|
9
|
-
import { useEffect, useMemo, useRef, useState } from "react";
|
|
7
|
+
import { lazy, Suspense, useEffect, useMemo, useRef, useState } from "react";
|
|
10
8
|
import { useDispatch } from "react-redux";
|
|
11
9
|
import { salesApi } from "../../redux";
|
|
12
10
|
import { useApplyDocaiDocumentMutation, useUploadDocaiDocumentMutation, } from "../../redux/document";
|
|
13
11
|
import { useCreateLoadPromptMutation, useDeleteLoadPromptMutation, useGetLoadPromptsQuery, useUpdateLoadPromptMutation, } from "../../redux/loadPrompt/loadPromptEndpoints";
|
|
12
|
+
const CodeMirror = lazy(() => import("@uiw/react-codemirror"));
|
|
13
|
+
const getJsonLang = async () => {
|
|
14
|
+
const json = await import("@codemirror/lang-json");
|
|
15
|
+
return json.jsonLanguage;
|
|
16
|
+
};
|
|
14
17
|
const select = {
|
|
15
18
|
service_level: ["economy", "premium", "guaranteed"],
|
|
16
19
|
load_type: ["TL", "LTL"],
|
|
@@ -71,6 +74,7 @@ export function ArcherIntelligence({ loadID, quoteID, }) {
|
|
|
71
74
|
// const isAIMAnager = true;
|
|
72
75
|
const isAIMAnager = user?.groups?.find((g) => g.groupName === "AI Manager") ||
|
|
73
76
|
user?.groups?.find((g) => g.groupName === "SuperAdmin");
|
|
77
|
+
const [jsonLib, setJsonLib] = useState(null);
|
|
74
78
|
const fileRender = useMemo(() => {
|
|
75
79
|
if (!file)
|
|
76
80
|
return _jsx(Box, {});
|
|
@@ -104,6 +108,13 @@ export function ArcherIntelligence({ loadID, quoteID, }) {
|
|
|
104
108
|
setJson(JSON.stringify(load, null, 4));
|
|
105
109
|
}
|
|
106
110
|
}, [load]);
|
|
111
|
+
useEffect(() => {
|
|
112
|
+
getJsonLang()
|
|
113
|
+
.then((e) => {
|
|
114
|
+
setJsonLib(e);
|
|
115
|
+
})
|
|
116
|
+
.catch((e) => console.error(e));
|
|
117
|
+
}, []);
|
|
107
118
|
const reset = () => {
|
|
108
119
|
setLoadPromptID(undefined);
|
|
109
120
|
setSessionID(undefined);
|
|
@@ -349,9 +360,9 @@ export function ArcherIntelligence({ loadID, quoteID, }) {
|
|
|
349
360
|
minHeight: "auto",
|
|
350
361
|
position: "relative",
|
|
351
362
|
overflow: "auto",
|
|
352
|
-
}, children: _jsx(CodeMirror, { value: json, onChange: (v) => {
|
|
353
|
-
|
|
354
|
-
|
|
363
|
+
}, children: _jsx(Suspense, { fallback: _jsx(Box, { display: "flex", justifyContent: "center", width: "100%", children: _jsx(CircularProgress, {}) }), children: !jsonLib ? (_jsx(Box, { display: "flex", justifyContent: "center", width: "100%", children: _jsx(CircularProgress, {}) })) : (_jsx(CodeMirror, { value: json, onChange: (v) => {
|
|
364
|
+
setJson(v);
|
|
365
|
+
}, ref: codeMirrorRef, theme: isDark ? "dark" : "light", extensions: [jsonLib] })) }) }), _jsx(Button, { onClick: () => apply(), disabled: !load, size: "lg", fullWidth: true, children: "Apply to Load" })] }));
|
|
355
366
|
let consoleTemplate = jsonMode ? (_jsxs(_Fragment, { children: [_jsx(Input, { startDecorator: "SessionID:", size: "lg", variant: "soft", autoFocus: !loadPromptID, value: loadPromptSessionID ?? "", onChange: (e) => setLoadPromptSessionID(e.target.value) }), _jsx(Box, { sx: {
|
|
356
367
|
flex: 1,
|
|
357
368
|
height: 0,
|
|
@@ -359,9 +370,9 @@ export function ArcherIntelligence({ loadID, quoteID, }) {
|
|
|
359
370
|
minHeight: "auto",
|
|
360
371
|
position: "relative",
|
|
361
372
|
overflow: "auto",
|
|
362
|
-
}, children: _jsx(CodeMirror, { value: json, onChange: (v) => {
|
|
363
|
-
|
|
364
|
-
|
|
373
|
+
}, children: _jsx(Suspense, { fallback: _jsx(Box, { display: "flex", justifyContent: "center", width: "100%", children: _jsx(CircularProgress, {}) }), children: !jsonLib ? (_jsx(Box, { display: "flex", justifyContent: "center", width: "100%", children: _jsx(CircularProgress, {}) })) : (_jsx(CodeMirror, { value: json, onChange: (v) => {
|
|
374
|
+
setJson(v);
|
|
375
|
+
}, ref: codeMirrorRef, theme: isDark ? "dark" : "light", extensions: [jsonLib] })) }) }), _jsx(Button, { size: "lg", fullWidth: true, onClick: savePrompt, children: "Save Prompt" })] })) : (_jsxs(_Fragment, { children: [_jsxs(Box, { sx: {
|
|
365
376
|
flex: 1,
|
|
366
377
|
width: "100%",
|
|
367
378
|
height: 0,
|