diff --git a/addon/models/order.js b/addon/models/order.js index 890a49d..55b1d45 100644 --- a/addon/models/order.js +++ b/addon/models/order.js @@ -94,6 +94,12 @@ export default class OrderModel extends Model { @attr('raw') tracker_data; @attr('raw') eta; + /** Orchestrator constraints */ + @attr('date') time_window_start; + @attr('date') time_window_end; + @attr('raw') required_skills; + @attr('number') orchestrator_priority; + /** @dates */ @attr('date') scheduled_at; @attr('date') dispatched_at; diff --git a/addon/models/vehicle.js b/addon/models/vehicle.js index 90f1117..5ea3860 100644 --- a/addon/models/vehicle.js +++ b/addon/models/vehicle.js @@ -98,11 +98,21 @@ export default class VehicleModel extends Model { @attr('number') height; @attr('number') towing_capacity; @attr('number') payload_capacity; + @attr('number') payload_capacity_volume; + @attr('number') payload_capacity_pallets; + @attr('number') payload_capacity_parcels; @attr('number') seating_capacity; @attr('number') ground_clearance; @attr('number') bed_length; @attr('number') fuel_capacity; + /** Orchestrator constraints */ + @attr('raw') skills; + @attr('number') max_tasks; + @attr('string') time_window_start; + @attr('string') time_window_end; + @attr('boolean') return_to_depot; + /** Regulatory / compliance */ @attr('string') emission_standard; @attr('boolean') dpf_equipped;