@evergis/api 3.0.45 → 3.0.49
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/__generated__/AccountService.d.ts +3 -3
- package/dist/__generated__/BulkOperationsService.d.ts +35 -2
- package/dist/__generated__/data-contracts.d.ts +41 -6
- package/dist/api.cjs.development.js +131 -4
- 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 +131 -5
- package/dist/api.esm.js.map +1 -1
- package/dist/services/BulkOperations.d.ts +8 -0
- package/dist/services/index.d.ts +1 -0
- package/package.json +2 -2
package/dist/api.esm.js
CHANGED
|
@@ -191,6 +191,128 @@ let Service = function Service(http) {
|
|
|
191
191
|
this.http = http;
|
|
192
192
|
};
|
|
193
193
|
|
|
194
|
+
/**
|
|
195
|
+
* @title Spatial Processing Core API
|
|
196
|
+
* @version v0.6.0
|
|
197
|
+
* @baseUrl /sp
|
|
198
|
+
*/
|
|
199
|
+
|
|
200
|
+
let BulkOperationsService = /*#__PURE__*/function (_Service) {
|
|
201
|
+
_inherits(BulkOperationsService, _Service);
|
|
202
|
+
|
|
203
|
+
var _super = /*#__PURE__*/_createSuper(BulkOperationsService);
|
|
204
|
+
|
|
205
|
+
function BulkOperationsService() {
|
|
206
|
+
_classCallCheck(this, BulkOperationsService);
|
|
207
|
+
|
|
208
|
+
return _super.apply(this, arguments);
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
_createClass(BulkOperationsService, [{
|
|
212
|
+
key: "batchUpdateCatalogResources",
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* No description
|
|
216
|
+
*
|
|
217
|
+
* @tags BulkOperations
|
|
218
|
+
* @name BatchUpdateCatalogResources
|
|
219
|
+
* @operationId BulkOperationsController_BatchUpdateCatalogResources
|
|
220
|
+
* @summary Overrides resources in catalog.
|
|
221
|
+
* @request PUT:/bulk/catalog/updateResources
|
|
222
|
+
* @response `200` Success
|
|
223
|
+
*/
|
|
224
|
+
value: function batchUpdateCatalogResources(data) {
|
|
225
|
+
return this.http.put("/bulk/catalog/updateResources", data).json();
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* No description
|
|
229
|
+
*
|
|
230
|
+
* @tags BulkOperations
|
|
231
|
+
* @name BatchAddResourcesToCatalog
|
|
232
|
+
* @operationId BulkOperationsController_BatchAddResourcesToCatalog
|
|
233
|
+
* @summary Add resources to catalog.
|
|
234
|
+
* @request POST:/bulk/catalog/addResources
|
|
235
|
+
* @response `200` Success
|
|
236
|
+
*/
|
|
237
|
+
|
|
238
|
+
}, {
|
|
239
|
+
key: "batchAddResourcesToCatalog",
|
|
240
|
+
value: function batchAddResourcesToCatalog(data) {
|
|
241
|
+
return this.http.post("/bulk/catalog/addResources", data).json();
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
* No description
|
|
245
|
+
*
|
|
246
|
+
* @tags BulkOperations
|
|
247
|
+
* @name BatchDeleteResourcesFromCatalog
|
|
248
|
+
* @operationId BulkOperationsController_BatchDeleteResourcesFromCatalog
|
|
249
|
+
* @summary Delete resources to catalog.
|
|
250
|
+
* @request POST:/bulk/catalog/removeResources
|
|
251
|
+
* @response `200` Success
|
|
252
|
+
*/
|
|
253
|
+
|
|
254
|
+
}, {
|
|
255
|
+
key: "batchDeleteResourcesFromCatalog",
|
|
256
|
+
value: function batchDeleteResourcesFromCatalog(data) {
|
|
257
|
+
return this.http.post("/bulk/catalog/removeResources", data).json();
|
|
258
|
+
}
|
|
259
|
+
/**
|
|
260
|
+
* No description
|
|
261
|
+
*
|
|
262
|
+
* @tags BulkOperations
|
|
263
|
+
* @name BatchResourcesPermissionsSet
|
|
264
|
+
* @operationId BulkOperationsController_BatchResourcesPermissionsSet
|
|
265
|
+
* @summary Perform resources set acl access batch operation.
|
|
266
|
+
* @request PUT:/bulk/resources/permissions
|
|
267
|
+
* @response `200` Success
|
|
268
|
+
*/
|
|
269
|
+
|
|
270
|
+
}, {
|
|
271
|
+
key: "batchResourcesPermissionsSet",
|
|
272
|
+
value: function batchResourcesPermissionsSet(data) {
|
|
273
|
+
return this.http.put("/bulk/resources/permissions", data).json();
|
|
274
|
+
}
|
|
275
|
+
}]);
|
|
276
|
+
|
|
277
|
+
return BulkOperationsService;
|
|
278
|
+
}(Service);
|
|
279
|
+
|
|
280
|
+
let BulkOperations = /*#__PURE__*/function (_BulkOperationsServic) {
|
|
281
|
+
_inherits(BulkOperations, _BulkOperationsServic);
|
|
282
|
+
|
|
283
|
+
var _super = /*#__PURE__*/_createSuper(BulkOperations);
|
|
284
|
+
|
|
285
|
+
function BulkOperations() {
|
|
286
|
+
_classCallCheck(this, BulkOperations);
|
|
287
|
+
|
|
288
|
+
return _super.apply(this, arguments);
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
_createClass(BulkOperations, [{
|
|
292
|
+
key: "updatePermissions",
|
|
293
|
+
value: function updatePermissions(data) {
|
|
294
|
+
return this.batchResourcesPermissionsSet(data);
|
|
295
|
+
}
|
|
296
|
+
}, {
|
|
297
|
+
key: "addToCatalog",
|
|
298
|
+
value: function addToCatalog(data) {
|
|
299
|
+
return this.batchAddResourcesToCatalog(data);
|
|
300
|
+
}
|
|
301
|
+
}, {
|
|
302
|
+
key: "deleteFromCatalog",
|
|
303
|
+
value: function deleteFromCatalog(data) {
|
|
304
|
+
return this.batchDeleteResourcesFromCatalog(data);
|
|
305
|
+
}
|
|
306
|
+
}, {
|
|
307
|
+
key: "updateCatalogResources",
|
|
308
|
+
value: function updateCatalogResources(data) {
|
|
309
|
+
return this.batchUpdateCatalogResources(data);
|
|
310
|
+
}
|
|
311
|
+
}]);
|
|
312
|
+
|
|
313
|
+
return BulkOperations;
|
|
314
|
+
}(BulkOperationsService);
|
|
315
|
+
|
|
194
316
|
/**
|
|
195
317
|
* @title Spatial Processing Core API
|
|
196
318
|
* @version v0.6.0
|
|
@@ -4649,14 +4771,14 @@ let AccountService = /*#__PURE__*/function (_Service) {
|
|
|
4649
4771
|
* @name SetUserPassword
|
|
4650
4772
|
* @operationId AccountController_SetUserPassword
|
|
4651
4773
|
* @summary Set user password.
|
|
4652
|
-
* @request PATCH:/account/
|
|
4774
|
+
* @request PATCH:/account/password/set
|
|
4653
4775
|
* @response `200` Success
|
|
4654
4776
|
*/
|
|
4655
4777
|
|
|
4656
4778
|
}, {
|
|
4657
4779
|
key: "setUserPassword",
|
|
4658
|
-
value: function setUserPassword(
|
|
4659
|
-
return this.http.patch("/account/
|
|
4780
|
+
value: function setUserPassword(data) {
|
|
4781
|
+
return this.http.patch("/account/password/set", data).then(() => {});
|
|
4660
4782
|
}
|
|
4661
4783
|
/**
|
|
4662
4784
|
* No description
|
|
@@ -5004,7 +5126,10 @@ let Account = /*#__PURE__*/function (_AccountService) {
|
|
|
5004
5126
|
}, {
|
|
5005
5127
|
key: "setPassword",
|
|
5006
5128
|
value: function setPassword(password) {
|
|
5007
|
-
return this.setUserPassword(
|
|
5129
|
+
return this.setUserPassword({
|
|
5130
|
+
username: this.username,
|
|
5131
|
+
password
|
|
5132
|
+
});
|
|
5008
5133
|
}
|
|
5009
5134
|
}, {
|
|
5010
5135
|
key: "username",
|
|
@@ -6208,6 +6333,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
6208
6333
|
_this.styles = new Styles(_this.http);
|
|
6209
6334
|
_this.account = new Account(_this.http);
|
|
6210
6335
|
_this.accountPreview = new AccountPreview(_this.http, _this.account);
|
|
6336
|
+
_this.bulk = new BulkOperations(_this.http);
|
|
6211
6337
|
_this.security = new Security(_this.http, _this.account);
|
|
6212
6338
|
_this.notification = new Notification(_this.http);
|
|
6213
6339
|
_this.scheduler = new Scheduler(_this.http);
|
|
@@ -7482,5 +7608,5 @@ var ToolStorageType;
|
|
|
7482
7608
|
ToolStorageType["LayersStorage"] = "layersStorage";
|
|
7483
7609
|
})(ToolStorageType || (ToolStorageType = {}));
|
|
7484
7610
|
|
|
7485
|
-
export { API_USER_INFO_KEY, Account, AccountPreview, AggregationFunction, Api, ApiEvent, ArgumentType, AttributeType, 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 };
|
|
7611
|
+
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 };
|
|
7486
7612
|
//# sourceMappingURL=api.esm.js.map
|