@evergis/api 3.0.50 → 3.0.51
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/Api.d.ts +2 -1
- package/dist/api.cjs.development.js +70 -0
- package/dist/api.cjs.development.js.map +1 -1
- package/dist/api.cjs.production.min.js +1 -1
- package/dist/api.cjs.production.min.js.map +1 -1
- package/dist/api.esm.js +70 -1
- package/dist/api.esm.js.map +1 -1
- package/dist/services/IceRouter.d.ts +3 -0
- package/dist/services/index.d.ts +1 -0
- package/package.json +2 -2
package/dist/api.esm.js
CHANGED
|
@@ -6132,6 +6132,74 @@ let Names = /*#__PURE__*/function () {
|
|
|
6132
6132
|
return Names;
|
|
6133
6133
|
}();
|
|
6134
6134
|
|
|
6135
|
+
/**
|
|
6136
|
+
* @title Spatial Processing Core API
|
|
6137
|
+
* @version v0.6.0
|
|
6138
|
+
* @baseUrl /sp
|
|
6139
|
+
*/
|
|
6140
|
+
|
|
6141
|
+
let IceRouterService = /*#__PURE__*/function (_Service) {
|
|
6142
|
+
_inherits(IceRouterService, _Service);
|
|
6143
|
+
|
|
6144
|
+
var _super = /*#__PURE__*/_createSuper(IceRouterService);
|
|
6145
|
+
|
|
6146
|
+
function IceRouterService() {
|
|
6147
|
+
_classCallCheck(this, IceRouterService);
|
|
6148
|
+
|
|
6149
|
+
return _super.apply(this, arguments);
|
|
6150
|
+
}
|
|
6151
|
+
|
|
6152
|
+
_createClass(IceRouterService, [{
|
|
6153
|
+
key: "startTask",
|
|
6154
|
+
|
|
6155
|
+
/**
|
|
6156
|
+
* No description
|
|
6157
|
+
*
|
|
6158
|
+
* @tags IceRouter
|
|
6159
|
+
* @name StartTask
|
|
6160
|
+
* @operationId IceRouterController_StartTask
|
|
6161
|
+
* @summary Start route build between start and end points.
|
|
6162
|
+
* @request POST:/ice-router/tasks
|
|
6163
|
+
* @response `200` Success
|
|
6164
|
+
*/
|
|
6165
|
+
value: function startTask(data) {
|
|
6166
|
+
return this.http.post("/ice-router/tasks", data).text();
|
|
6167
|
+
}
|
|
6168
|
+
/**
|
|
6169
|
+
* No description
|
|
6170
|
+
*
|
|
6171
|
+
* @tags IceRouter
|
|
6172
|
+
* @name GetResult
|
|
6173
|
+
* @operationId IceRouterController_GetResult
|
|
6174
|
+
* @summary Get task result.
|
|
6175
|
+
* @request GET:/ice-router/tasks/{id}
|
|
6176
|
+
* @response `200` Success
|
|
6177
|
+
*/
|
|
6178
|
+
|
|
6179
|
+
}, {
|
|
6180
|
+
key: "getResult",
|
|
6181
|
+
value: function getResult(id) {
|
|
6182
|
+
return this.http.get("/ice-router/tasks/" + id).json();
|
|
6183
|
+
}
|
|
6184
|
+
}]);
|
|
6185
|
+
|
|
6186
|
+
return IceRouterService;
|
|
6187
|
+
}(Service);
|
|
6188
|
+
|
|
6189
|
+
let IceRouter = /*#__PURE__*/function (_IceRouterService) {
|
|
6190
|
+
_inherits(IceRouter, _IceRouterService);
|
|
6191
|
+
|
|
6192
|
+
var _super = /*#__PURE__*/_createSuper(IceRouter);
|
|
6193
|
+
|
|
6194
|
+
function IceRouter() {
|
|
6195
|
+
_classCallCheck(this, IceRouter);
|
|
6196
|
+
|
|
6197
|
+
return _super.apply(this, arguments);
|
|
6198
|
+
}
|
|
6199
|
+
|
|
6200
|
+
return IceRouter;
|
|
6201
|
+
}(IceRouterService);
|
|
6202
|
+
|
|
6135
6203
|
/**
|
|
6136
6204
|
* @title Spatial Processing Core API
|
|
6137
6205
|
* @version v0.6.0
|
|
@@ -6347,6 +6415,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
6347
6415
|
_this.namespace = new Namespace(_this.http);
|
|
6348
6416
|
_this.external = new External(_this.http);
|
|
6349
6417
|
_this.clientSettings = new ClientSettings(_this.http);
|
|
6418
|
+
_this.iceRouter = new IceRouter(_this.http);
|
|
6350
6419
|
_this.names = new Names({
|
|
6351
6420
|
account: _this.account
|
|
6352
6421
|
});
|
|
@@ -7607,5 +7676,5 @@ var ToolStorageType;
|
|
|
7607
7676
|
ToolStorageType["LayersStorage"] = "layersStorage";
|
|
7608
7677
|
})(ToolStorageType || (ToolStorageType = {}));
|
|
7609
7678
|
|
|
7610
|
-
export { API_USER_INFO_KEY, Account, AccountPreview, AggregationFunction, Api, ApiEvent, ArgumentType, AttributeType, BulkOperations, ClassificationType, ClientSettings, CombineType, ConfigurationErrorEnum, ConnectionStatus, DependencyType, ElementType, ErrorDetailsType, ErrorReason, ErrorType, EvergisDynamicLayer, EvergisTileLayer, External, FeatureType, FileUpload, FontStyle, FontWeight, GEOCODE_PROVIDER, General, Geocode, GeometryType, HttpClient, HttpStatusCode, Import, Layers, LayersManager, LineEndingSize, LineEndingType, Names, Namespace, Notification, NotificationEvent, Operation, Permissions, PolicyType, Projects, ResourceCatalog, ResourceSeparator, ResourceType, ResourceTypeLink, Resources, Scheduler, Security, ServerTaskStatus, SpatialProcessor, StringSubType, Styles, Tables, TextAlignment, TextVerticalAlignment, ToolStatus, ToolStorageType, Tools, UrlPath, addSubDomainToLocation, errorHandler, formDataFromFile, generateId, isEvergisDynamicLayer, isEvergisTileLayer, isFeatureLayer, isHTTPError, isHandledError, isLayer, isProjectContentItems, isString, isTileLayerService, promiseAllIgnoreErrors, stripUselessSlashes, toFormData, unique };
|
|
7679
|
+
export { API_USER_INFO_KEY, Account, AccountPreview, AggregationFunction, Api, ApiEvent, ArgumentType, AttributeType, BulkOperations, ClassificationType, ClientSettings, CombineType, ConfigurationErrorEnum, ConnectionStatus, DependencyType, ElementType, ErrorDetailsType, ErrorReason, ErrorType, EvergisDynamicLayer, EvergisTileLayer, External, FeatureType, FileUpload, FontStyle, FontWeight, GEOCODE_PROVIDER, General, Geocode, GeometryType, HttpClient, HttpStatusCode, IceRouter, Import, Layers, LayersManager, LineEndingSize, LineEndingType, Names, Namespace, Notification, NotificationEvent, Operation, Permissions, PolicyType, Projects, ResourceCatalog, ResourceSeparator, ResourceType, ResourceTypeLink, Resources, Scheduler, Security, ServerTaskStatus, SpatialProcessor, StringSubType, Styles, Tables, TextAlignment, TextVerticalAlignment, ToolStatus, ToolStorageType, Tools, UrlPath, addSubDomainToLocation, errorHandler, formDataFromFile, generateId, isEvergisDynamicLayer, isEvergisTileLayer, isFeatureLayer, isHTTPError, isHandledError, isLayer, isProjectContentItems, isString, isTileLayerService, promiseAllIgnoreErrors, stripUselessSlashes, toFormData, unique };
|
|
7611
7680
|
//# sourceMappingURL=api.esm.js.map
|