@evergis/api 4.1.55-alpha.0 → 4.1.56-alpha.0
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/__generated__/AccountService.d.ts +1 -1
- package/dist/__generated__/LayersService.d.ts +26 -170
- package/dist/__generated__/data-contracts.d.ts +173 -127
- package/dist/api.esm.js +36 -247
- package/dist/api.esm.js.map +1 -1
- package/dist/index.js +35 -246
- package/dist/index.js.map +1 -1
- package/dist/services/Layers.d.ts +5 -10
- package/package.json +2 -2
package/dist/api.esm.js
CHANGED
|
@@ -262,7 +262,7 @@ class AccountService extends Service {
|
|
|
262
262
|
* @response `200` OK
|
|
263
263
|
*/
|
|
264
264
|
registerUser(data) {
|
|
265
|
-
return this.http.post(`/account/register`, data).
|
|
265
|
+
return this.http.post(`/account/register`, data).then(() => { });
|
|
266
266
|
}
|
|
267
267
|
/**
|
|
268
268
|
* @description Only for users with Everpoint.Sdk.Security.Abstractions.ISecurityManager.SuperuserRole role.
|
|
@@ -3083,232 +3083,74 @@ class LayersService extends Service {
|
|
|
3083
3083
|
* No description
|
|
3084
3084
|
*
|
|
3085
3085
|
* @tags Layers
|
|
3086
|
-
* @name
|
|
3087
|
-
* @operationId
|
|
3088
|
-
* @summary
|
|
3089
|
-
* @request
|
|
3090
|
-
* @secure
|
|
3091
|
-
* @response `200` OK
|
|
3092
|
-
*/
|
|
3093
|
-
getLayersInfo(query) {
|
|
3094
|
-
return this.http
|
|
3095
|
-
.get(`/layers/batchInfo`, query)
|
|
3096
|
-
.json();
|
|
3097
|
-
}
|
|
3098
|
-
/**
|
|
3099
|
-
* No description
|
|
3100
|
-
*
|
|
3101
|
-
* @tags Layers
|
|
3102
|
-
* @name PublishMapboxService
|
|
3103
|
-
* @operationId LayersController_PublishMapboxService
|
|
3104
|
-
* @summary Creates new mapbox service.
|
|
3105
|
-
* @request POST:/layers#type=Mapbox
|
|
3106
|
-
* @secure
|
|
3107
|
-
* @response `default` Error
|
|
3108
|
-
*/
|
|
3109
|
-
publishMapboxService(data) {
|
|
3110
|
-
return this.http.post(`/layers`, data, { type: "Mapbox" }).json();
|
|
3111
|
-
}
|
|
3112
|
-
/**
|
|
3113
|
-
* No description
|
|
3114
|
-
*
|
|
3115
|
-
* @tags Layers
|
|
3116
|
-
* @name PublishProxyService
|
|
3117
|
-
* @operationId LayersController_PublishProxyService
|
|
3118
|
-
* @summary Creates new Proxy Service.
|
|
3119
|
-
* @request POST:/layers#type=ProxyService
|
|
3120
|
-
* @secure
|
|
3121
|
-
* @response `default` Error
|
|
3122
|
-
*/
|
|
3123
|
-
publishProxyService(data) {
|
|
3124
|
-
return this.http
|
|
3125
|
-
.post(`/layers`, data, { type: "ProxyService" })
|
|
3126
|
-
.json();
|
|
3127
|
-
}
|
|
3128
|
-
/**
|
|
3129
|
-
* No description
|
|
3130
|
-
*
|
|
3131
|
-
* @tags Layers
|
|
3132
|
-
* @name PublishRouteService
|
|
3133
|
-
* @operationId LayersController_PublishRouteService
|
|
3134
|
-
* @summary Creates new Route Service.
|
|
3135
|
-
* @request POST:/layers#type=RouteService
|
|
3136
|
-
* @secure
|
|
3137
|
-
* @response `200` OK
|
|
3138
|
-
*/
|
|
3139
|
-
publishRouteService(data) {
|
|
3140
|
-
return this.http.post(`/layers`, data, { type: "RouteService" }).then(() => { });
|
|
3141
|
-
}
|
|
3142
|
-
/**
|
|
3143
|
-
* No description
|
|
3144
|
-
*
|
|
3145
|
-
* @tags Layers
|
|
3146
|
-
* @name PublishLinearService
|
|
3147
|
-
* @operationId LayersController_PublishLinearService
|
|
3148
|
-
* @summary Creates new Linear Service.
|
|
3149
|
-
* @request POST:/layers#type=LinearService
|
|
3150
|
-
* @secure
|
|
3151
|
-
* @response `200` OK
|
|
3152
|
-
*/
|
|
3153
|
-
publishLinearService(data) {
|
|
3154
|
-
return this.http.post(`/layers`, data, { type: "LinearService" }).then(() => { });
|
|
3155
|
-
}
|
|
3156
|
-
/**
|
|
3157
|
-
* No description
|
|
3158
|
-
*
|
|
3159
|
-
* @tags Layers
|
|
3160
|
-
* @name PublishRemoteTileService
|
|
3161
|
-
* @operationId LayersController_PublishRemoteTileService
|
|
3162
|
-
* @summary Creates new Remote Tile Service.
|
|
3163
|
-
* @request POST:/layers#type=RemoteTileService
|
|
3164
|
-
* @secure
|
|
3165
|
-
* @response `default` Error
|
|
3166
|
-
*/
|
|
3167
|
-
publishRemoteTileService(data) {
|
|
3168
|
-
return this.http.post(`/layers`, data, { type: "RemoteTileService" }).json();
|
|
3169
|
-
}
|
|
3170
|
-
/**
|
|
3171
|
-
* No description
|
|
3172
|
-
*
|
|
3173
|
-
* @tags Layers
|
|
3174
|
-
* @name PublishQueryLayerService
|
|
3175
|
-
* @operationId LayersController_PublishQueryLayerService
|
|
3176
|
-
* @summary Creates new EQL-based Query Layer Service.
|
|
3177
|
-
* @request POST:/layers#type=QueryLayerService
|
|
3178
|
-
* @secure
|
|
3179
|
-
* @response `default` Error
|
|
3180
|
-
*/
|
|
3181
|
-
publishQueryLayerService(data) {
|
|
3182
|
-
return this.http.post(`/layers`, data, { type: "QueryLayerService" }).json();
|
|
3183
|
-
}
|
|
3184
|
-
/**
|
|
3185
|
-
* No description
|
|
3186
|
-
*
|
|
3187
|
-
* @tags Layers
|
|
3188
|
-
* @name PublishPostgresTileCatalogService
|
|
3189
|
-
* @operationId LayersController_PublishPostgresTileCatalogService
|
|
3190
|
-
* @summary Creates new Postgres Tile Catalog Service.
|
|
3191
|
-
* @request POST:/layers#type=PostgresTileLayerService
|
|
3192
|
-
* @secure
|
|
3193
|
-
* @response `default` Error
|
|
3194
|
-
*/
|
|
3195
|
-
publishPostgresTileCatalogService(data) {
|
|
3196
|
-
return this.http.post(`/layers`, data, { type: "PostgresTileLayerService" }).json();
|
|
3197
|
-
}
|
|
3198
|
-
/**
|
|
3199
|
-
* No description
|
|
3200
|
-
*
|
|
3201
|
-
* @tags Layers
|
|
3202
|
-
* @name PublishPythonService
|
|
3203
|
-
* @operationId LayersController_PublishPythonService
|
|
3204
|
-
* @summary Creates new python service.
|
|
3205
|
-
* @request POST:/layers#type=Python
|
|
3206
|
-
* @secure
|
|
3207
|
-
* @response `default` Error
|
|
3208
|
-
*/
|
|
3209
|
-
publishPythonService(data) {
|
|
3210
|
-
return this.http.post(`/layers`, data, { type: "Python" }).json();
|
|
3211
|
-
}
|
|
3212
|
-
/**
|
|
3213
|
-
* No description
|
|
3214
|
-
*
|
|
3215
|
-
* @tags Layers
|
|
3216
|
-
* @name UpdateMapboxService
|
|
3217
|
-
* @operationId LayersController_UpdateMapboxService
|
|
3218
|
-
* @summary Update mapbox service.
|
|
3219
|
-
* @request PATCH:/layers/{name}#type=Mapbox
|
|
3220
|
-
* @secure
|
|
3221
|
-
* @response `200` OK
|
|
3222
|
-
*/
|
|
3223
|
-
updateMapboxService(name, data) {
|
|
3224
|
-
return this.http.patch(`/layers/${name}`, data, { type: "Mapbox" }).json();
|
|
3225
|
-
}
|
|
3226
|
-
/**
|
|
3227
|
-
* No description
|
|
3228
|
-
*
|
|
3229
|
-
* @tags Layers
|
|
3230
|
-
* @name UpdatePythonService
|
|
3231
|
-
* @operationId LayersController_UpdatePythonService
|
|
3232
|
-
* @summary Update python service.
|
|
3233
|
-
* @request PATCH:/layers/{name}#type=Python
|
|
3234
|
-
* @secure
|
|
3235
|
-
* @response `200` OK
|
|
3236
|
-
*/
|
|
3237
|
-
updatePythonService(name, data) {
|
|
3238
|
-
return this.http.patch(`/layers/${name}`, data, { type: "Python" }).json();
|
|
3239
|
-
}
|
|
3240
|
-
/**
|
|
3241
|
-
* No description
|
|
3242
|
-
*
|
|
3243
|
-
* @tags Layers
|
|
3244
|
-
* @name UpdateProxyService
|
|
3245
|
-
* @operationId LayersController_UpdateProxyService
|
|
3246
|
-
* @summary Update Proxy Service.
|
|
3247
|
-
* @request PATCH:/layers/{name}#type=ProxyService
|
|
3086
|
+
* @name PatchQueryLayerService
|
|
3087
|
+
* @operationId LayersController_PatchQueryLayerService
|
|
3088
|
+
* @summary Patch EQL-based Query Layer Service.
|
|
3089
|
+
* @request PATCH:/layers/{name}
|
|
3248
3090
|
* @secure
|
|
3249
3091
|
* @response `200` OK
|
|
3250
3092
|
*/
|
|
3251
|
-
|
|
3093
|
+
patchQueryLayerService(name, data) {
|
|
3252
3094
|
return this.http
|
|
3253
|
-
.patch(`/layers/${name}`, data
|
|
3095
|
+
.patch(`/layers/${name}`, data)
|
|
3254
3096
|
.json();
|
|
3255
3097
|
}
|
|
3256
3098
|
/**
|
|
3257
3099
|
* No description
|
|
3258
3100
|
*
|
|
3259
3101
|
* @tags Layers
|
|
3260
|
-
* @name
|
|
3261
|
-
* @operationId
|
|
3262
|
-
* @summary
|
|
3263
|
-
* @request
|
|
3102
|
+
* @name GetLayersInfo
|
|
3103
|
+
* @operationId LayersController_GetLayersInfoAsync
|
|
3104
|
+
* @summary Returns the layers information.
|
|
3105
|
+
* @request GET:/layers/batchInfo
|
|
3264
3106
|
* @secure
|
|
3265
3107
|
* @response `200` OK
|
|
3266
3108
|
*/
|
|
3267
|
-
|
|
3109
|
+
getLayersInfo(query) {
|
|
3268
3110
|
return this.http
|
|
3269
|
-
.
|
|
3111
|
+
.get(`/layers/batchInfo`, query)
|
|
3270
3112
|
.json();
|
|
3271
3113
|
}
|
|
3272
3114
|
/**
|
|
3273
3115
|
* No description
|
|
3274
3116
|
*
|
|
3275
3117
|
* @tags Layers
|
|
3276
|
-
* @name
|
|
3277
|
-
* @operationId
|
|
3278
|
-
* @summary
|
|
3279
|
-
* @request
|
|
3118
|
+
* @name PublishService
|
|
3119
|
+
* @operationId LayersController_PublishServiceAsync
|
|
3120
|
+
* @summary Publishes a service using the specified layer configuration parameters.
|
|
3121
|
+
* @request POST:/layers
|
|
3280
3122
|
* @secure
|
|
3281
3123
|
* @response `200` OK
|
|
3282
3124
|
*/
|
|
3283
|
-
|
|
3284
|
-
return this.http.
|
|
3125
|
+
publishService(data) {
|
|
3126
|
+
return this.http.post(`/layers`, data).then(() => { });
|
|
3285
3127
|
}
|
|
3286
3128
|
/**
|
|
3287
3129
|
* No description
|
|
3288
3130
|
*
|
|
3289
3131
|
* @tags Layers
|
|
3290
|
-
* @name
|
|
3291
|
-
* @operationId
|
|
3292
|
-
* @summary
|
|
3293
|
-
* @request
|
|
3132
|
+
* @name DeleteResources
|
|
3133
|
+
* @operationId LayersController_DeleteResources
|
|
3134
|
+
* @summary Bulk delete resources.
|
|
3135
|
+
* @request DELETE:/layers
|
|
3294
3136
|
* @secure
|
|
3295
3137
|
* @response `200` OK
|
|
3296
3138
|
*/
|
|
3297
|
-
|
|
3298
|
-
return this.http.
|
|
3139
|
+
deleteResources(query) {
|
|
3140
|
+
return this.http.delete(`/layers`, null, query).json();
|
|
3299
3141
|
}
|
|
3300
3142
|
/**
|
|
3301
3143
|
* No description
|
|
3302
3144
|
*
|
|
3303
3145
|
* @tags Layers
|
|
3304
|
-
* @name
|
|
3305
|
-
* @operationId
|
|
3146
|
+
* @name PatchQueryLayerService1
|
|
3147
|
+
* @operationId LayersController_PatchQueryLayerService_1
|
|
3306
3148
|
* @summary Patch EQL-based Query Layer Service.
|
|
3307
3149
|
* @request PATCH:/layers/{name}/v2
|
|
3308
3150
|
* @secure
|
|
3309
3151
|
* @response `200` OK
|
|
3310
3152
|
*/
|
|
3311
|
-
|
|
3153
|
+
patchQueryLayerService1(name, data) {
|
|
3312
3154
|
return this.http.patch(`/layers/${name}/v2`, data).json();
|
|
3313
3155
|
}
|
|
3314
3156
|
/**
|
|
@@ -3649,20 +3491,6 @@ class LayersService extends Service {
|
|
|
3649
3491
|
getResourceReferences(name) {
|
|
3650
3492
|
return this.http.get(`/layers/${name}/references`).json();
|
|
3651
3493
|
}
|
|
3652
|
-
/**
|
|
3653
|
-
* No description
|
|
3654
|
-
*
|
|
3655
|
-
* @tags Layers
|
|
3656
|
-
* @name DeleteResources
|
|
3657
|
-
* @operationId LayersController_DeleteResources
|
|
3658
|
-
* @summary Bulk delete resources.
|
|
3659
|
-
* @request DELETE:/layers
|
|
3660
|
-
* @secure
|
|
3661
|
-
* @response `200` OK
|
|
3662
|
-
*/
|
|
3663
|
-
deleteResources(query) {
|
|
3664
|
-
return this.http.delete(`/layers`, null, query).json();
|
|
3665
|
-
}
|
|
3666
3494
|
}
|
|
3667
3495
|
|
|
3668
3496
|
class Layers extends LayersService {
|
|
@@ -3678,17 +3506,11 @@ class Layers extends LayersService {
|
|
|
3678
3506
|
findMany(layerNames, projectNames) {
|
|
3679
3507
|
return this.getLayersInfo({ layerNames, projectNames });
|
|
3680
3508
|
}
|
|
3681
|
-
|
|
3682
|
-
return this.
|
|
3509
|
+
createLayer(configuration) {
|
|
3510
|
+
return this.publishService(configuration);
|
|
3683
3511
|
}
|
|
3684
3512
|
updateQueryLayer(configuration) {
|
|
3685
|
-
return this.
|
|
3686
|
-
}
|
|
3687
|
-
createProxyLayer(configuration) {
|
|
3688
|
-
return this.publishProxyService(configuration);
|
|
3689
|
-
}
|
|
3690
|
-
updateProxyLayer(configuration) {
|
|
3691
|
-
return this.updateProxyService(configuration.name, configuration);
|
|
3513
|
+
return this.patchQueryLayerService(configuration.name, configuration);
|
|
3692
3514
|
}
|
|
3693
3515
|
async remove(name) {
|
|
3694
3516
|
await this.deleteResources({ names: [name] });
|
|
@@ -5313,9 +5135,9 @@ LineString
|
|
|
5313
5135
|
|
|
5314
5136
|
Polygon
|
|
5315
5137
|
|
|
5316
|
-
|
|
5138
|
+
MultiPoint
|
|
5317
5139
|
|
|
5318
|
-
|
|
5140
|
+
MultiLineString
|
|
5319
5141
|
|
|
5320
5142
|
H3Index
|
|
5321
5143
|
|
|
@@ -5337,8 +5159,8 @@ var AttributeType;
|
|
|
5337
5159
|
AttributeType["Point"] = "Point";
|
|
5338
5160
|
AttributeType["LineString"] = "LineString";
|
|
5339
5161
|
AttributeType["Polygon"] = "Polygon";
|
|
5340
|
-
AttributeType["
|
|
5341
|
-
AttributeType["
|
|
5162
|
+
AttributeType["MultiPoint"] = "MultiPoint";
|
|
5163
|
+
AttributeType["MultiLineString"] = "MultiLineString";
|
|
5342
5164
|
AttributeType["H3Index"] = "H3Index";
|
|
5343
5165
|
AttributeType["Json"] = "Json";
|
|
5344
5166
|
AttributeType["MultiPolygon"] = "MultiPolygon";
|
|
@@ -5623,39 +5445,6 @@ var ErrorType;
|
|
|
5623
5445
|
/**
|
|
5624
5446
|
*
|
|
5625
5447
|
|
|
5626
|
-
Point
|
|
5627
|
-
|
|
5628
|
-
MultiPoint
|
|
5629
|
-
|
|
5630
|
-
LineString
|
|
5631
|
-
|
|
5632
|
-
MultiLineString
|
|
5633
|
-
|
|
5634
|
-
Polygon
|
|
5635
|
-
|
|
5636
|
-
MultiPolygon
|
|
5637
|
-
|
|
5638
|
-
GeometryCollection
|
|
5639
|
-
|
|
5640
|
-
Feature
|
|
5641
|
-
|
|
5642
|
-
FeatureCollection
|
|
5643
|
-
*/
|
|
5644
|
-
var GeoJsonObjectType;
|
|
5645
|
-
(function (GeoJsonObjectType) {
|
|
5646
|
-
GeoJsonObjectType["Point"] = "Point";
|
|
5647
|
-
GeoJsonObjectType["MultiPoint"] = "MultiPoint";
|
|
5648
|
-
GeoJsonObjectType["LineString"] = "LineString";
|
|
5649
|
-
GeoJsonObjectType["MultiLineString"] = "MultiLineString";
|
|
5650
|
-
GeoJsonObjectType["Polygon"] = "Polygon";
|
|
5651
|
-
GeoJsonObjectType["MultiPolygon"] = "MultiPolygon";
|
|
5652
|
-
GeoJsonObjectType["GeometryCollection"] = "GeometryCollection";
|
|
5653
|
-
GeoJsonObjectType["Feature"] = "Feature";
|
|
5654
|
-
GeoJsonObjectType["FeatureCollection"] = "FeatureCollection";
|
|
5655
|
-
})(GeoJsonObjectType || (GeoJsonObjectType = {}));
|
|
5656
|
-
/**
|
|
5657
|
-
*
|
|
5658
|
-
|
|
5659
5448
|
Unknown
|
|
5660
5449
|
|
|
5661
5450
|
Point
|
|
@@ -6047,5 +5836,5 @@ var WorkerSettingsFieldType;
|
|
|
6047
5836
|
WorkerSettingsFieldType["AttributeArray"] = "AttributeArray";
|
|
6048
5837
|
})(WorkerSettingsFieldType || (WorkerSettingsFieldType = {}));
|
|
6049
5838
|
|
|
6050
|
-
export { AccessMode, Account, AccountPreview, AggregationFunction, Api, ApiEvent, AttributeIconType, AttributeSelectorType, AttributeType, AuthorizationGrant, BulkOperations, CatalogResourceType, ClassificationType, ClassifyAttributeType, ClientSettings, ConfigurationErrorEnum, ConflictResolutionStrategy, ConnectionStatus, DataSourceConnectionType, DataSourceType, DependencyType, Eql, ErrorDetailsType, ErrorReason, ErrorType, External, Feedback, FileUpload, Filters, GEOCODE_PROVIDER,
|
|
5839
|
+
export { AccessMode, Account, AccountPreview, AggregationFunction, Api, ApiEvent, AttributeIconType, AttributeSelectorType, AttributeType, AuthorizationGrant, BulkOperations, CatalogResourceType, ClassificationType, ClassifyAttributeType, ClientSettings, ConfigurationErrorEnum, ConflictResolutionStrategy, ConnectionStatus, DataSourceConnectionType, DataSourceType, DependencyType, Eql, ErrorDetailsType, ErrorReason, ErrorType, External, Feedback, FileUpload, Filters, GEOCODE_PROVIDER, Geocode, HttpClient, Import, Layers, Names, Notification, NotificationEvent, OgcGeometryType, PbfSchema, Permissions, PolicyType, PortalSettings, Projects, RemoteTaskManager, RemoteTaskStatus, ResourceSeparator, ResourceSubTypeFilter, ResourceType, ResourceTypeFilter, ResourceTypeLink, Resources, ResponseType, STORAGE_REFRESH_TOKEN_KEY, STORAGE_TOKEN_KEY, Security, SimplifyType, Statistic, StringSubType, Tables, TaskResourceSubType, Tools, UrlPath, VectorTiles, WorkerMethodType, WorkerSettingsFieldType, addSubDomainToLocation, errorHandler, formDataFromFile, generateId, getFetchingUrlPath, isHTTPError, isHandledError, isProjectContentItems, isString, isTileLayerService, parseJwt, promiseAllIgnoreErrors, stripUselessSlashes, toFormData, unique, useToken };
|
|
6051
5840
|
//# sourceMappingURL=api.esm.js.map
|