@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
3 lines (2 loc) • 3.81 kB
JavaScript
/* COPYRIGHT Esri - https://js.arcgis.com/5.0.19/LICENSE.txt */
import{__decorate as e}from"tslib";import{ClonableMixin as t}from"../../core/Clonable.js";import{JSONSupport as o}from"../../core/JSONSupport.js";import{property as r,subclass as i}from"../../core/accessorSupport/decorators.js";import{ensureClass as s,Integer as n}from"../../core/accessorSupport/ensureType.js";import{analysisRegionJsonMap as a,distanceUnitsJsonMap as p,routeShapeJsonMap as l,timeUnitsJsonMap as u,timeZoneUsageJsonMap as m}from"../lastMileDelivery/enums.js";import y from"./FeatureSet.js";import d from"./TravelMode.js";import{enumeration as v}from"../../core/accessorSupport/decorators/enumeration.js";var c;let _=class extends(t(o)){static{c=this}constructor(e){super(e),this.analysisRegion=null,this.apiKey=null,this.depots=null,this.directionsLanguage=null,this.distanceUnits=null,this.earliestRouteStartDate=null,this.earliestRouteStartTime=null,this.ignoreInvalidOrderLocations=null,this.lineBarriers=null,this.maximumRouteDuration=null,this.orderSpecialties=null,this.orders=null,this.overrides=null,this.pointBarriers=null,this.polygonBarriers=null,this.populateDirections=null,this.routeShape=null,this.routeSpecialties=null,this.routes=null,this.saveOutputNetworkAnalysisLayer=null,this.saveRouteData=null,this.sequenceGap=null,this.timeUnits=null,this.timeZoneUsage=null,this.travelMode=null,this.zones=null}static from(e){return s(c,e)}};e([v(a,{name:"analysis_region"})],_.prototype,"analysisRegion",void 0),e([r({type:String,json:{name:"token",write:!0}})],_.prototype,"apiKey",void 0),e([r({type:y,json:{write:!0}})],_.prototype,"depots",void 0),e([r({type:String,json:{name:"directions_language",write:!0}})],_.prototype,"directionsLanguage",void 0),e([v(p,{name:"distance_units"})],_.prototype,"distanceUnits",void 0),e([r({type:String,json:{name:"earliest_route_start_date",write:!0}})],_.prototype,"earliestRouteStartDate",void 0),e([r({type:String,json:{name:"earliest_route_start_time",write:!0}})],_.prototype,"earliestRouteStartTime",void 0),e([r({type:Boolean,json:{name:"ignore_invalid_order_locations",write:!0}})],_.prototype,"ignoreInvalidOrderLocations",void 0),e([r({type:y,json:{name:"line_barriers",write:!0}})],_.prototype,"lineBarriers",void 0),e([r({type:Number,json:{name:"max_route_total_time",write:!0}})],_.prototype,"maximumRouteDuration",void 0),e([r({type:y,json:{name:"order_specialties",write:!0}})],_.prototype,"orderSpecialties",void 0),e([r({type:y,json:{write:!0}})],_.prototype,"orders",void 0),e([r({json:{write:!0}})],_.prototype,"overrides",void 0),e([r({type:y,json:{name:"point_barriers",write:!0}})],_.prototype,"pointBarriers",void 0),e([r({type:y,json:{name:"polygon_barriers",write:!0}})],_.prototype,"polygonBarriers",void 0),e([r({type:Boolean,json:{name:"populate_directions",write:!0}})],_.prototype,"populateDirections",void 0),e([v(l,{name:"route_shape"})],_.prototype,"routeShape",void 0),e([r({type:y,json:{name:"route_specialties",write:!0}})],_.prototype,"routeSpecialties",void 0),e([r({type:y,json:{write:!0}})],_.prototype,"routes",void 0),e([r({type:Boolean,json:{name:"save_output_network_analysis_layer",write:!0}})],_.prototype,"saveOutputNetworkAnalysisLayer",void 0),e([r({type:Boolean,json:{name:"save_route_data",write:!0}})],_.prototype,"saveRouteData",void 0),e([r({type:n,range:{min:1},json:{name:"sequence_gap",write:!0}})],_.prototype,"sequenceGap",void 0),e([v(u,{name:"time_units"})],_.prototype,"timeUnits",void 0),e([v(m,{name:"time_zone_usage_for_time_fields"})],_.prototype,"timeZoneUsage",void 0),e([r({type:d,json:{name:"travel_mode",write:!0}})],_.prototype,"travelMode",void 0),e([r({type:y,json:{write:!0}})],_.prototype,"zones",void 0),_=c=e([i("esri.rest.support.LastMileDeliveryParameters")],_);const h=_;export{h as default};