@evergis/api 3.0.42 → 3.0.46
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 +2 -2
- package/dist/__generated__/BulkOperationsService.d.ts +20 -0
- package/dist/__generated__/LayersService.d.ts +12 -1
- package/dist/__generated__/ProjectsService.d.ts +12 -1
- package/dist/__generated__/SecurityService.d.ts +2 -2
- package/dist/__generated__/TablesService.d.ts +12 -1
- package/dist/__generated__/data-contracts.d.ts +108 -6
- package/dist/api.cjs.development.js +110 -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 +112 -1
- package/dist/api.esm.js.map +1 -1
- package/dist/services/BulkOperations.d.ts +5 -0
- package/dist/services/index.d.ts +1 -0
- package/package.json +2 -2
package/dist/api.esm.js
CHANGED
|
@@ -191,6 +191,65 @@ 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: "batchResourcesPermissionsSet",
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* No description
|
|
216
|
+
*
|
|
217
|
+
* @tags BulkOperations
|
|
218
|
+
* @name BatchResourcesPermissionsSet
|
|
219
|
+
* @operationId BulkOperationsController_BatchResourcesPermissionsSet
|
|
220
|
+
* @summary Perform resources set acl access batch operation.
|
|
221
|
+
* @request PUT:/bulk/resources/permissions
|
|
222
|
+
* @response `200` Success
|
|
223
|
+
*/
|
|
224
|
+
value: function batchResourcesPermissionsSet(data) {
|
|
225
|
+
return this.http.put("/bulk/resources/permissions", data).then(() => {});
|
|
226
|
+
}
|
|
227
|
+
}]);
|
|
228
|
+
|
|
229
|
+
return BulkOperationsService;
|
|
230
|
+
}(Service);
|
|
231
|
+
|
|
232
|
+
let BulkOperations = /*#__PURE__*/function (_BulkOperationsServic) {
|
|
233
|
+
_inherits(BulkOperations, _BulkOperationsServic);
|
|
234
|
+
|
|
235
|
+
var _super = /*#__PURE__*/_createSuper(BulkOperations);
|
|
236
|
+
|
|
237
|
+
function BulkOperations() {
|
|
238
|
+
_classCallCheck(this, BulkOperations);
|
|
239
|
+
|
|
240
|
+
return _super.apply(this, arguments);
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
_createClass(BulkOperations, [{
|
|
244
|
+
key: "updatePermissions",
|
|
245
|
+
value: function updatePermissions(data) {
|
|
246
|
+
return this.batchResourcesPermissionsSet(data);
|
|
247
|
+
}
|
|
248
|
+
}]);
|
|
249
|
+
|
|
250
|
+
return BulkOperations;
|
|
251
|
+
}(BulkOperationsService);
|
|
252
|
+
|
|
194
253
|
/**
|
|
195
254
|
* @title Spatial Processing Core API
|
|
196
255
|
* @version v0.6.0
|
|
@@ -1320,6 +1379,22 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1320
1379
|
value: function getLayersList(query) {
|
|
1321
1380
|
return this.http.get("/layers", query).json();
|
|
1322
1381
|
}
|
|
1382
|
+
/**
|
|
1383
|
+
* No description
|
|
1384
|
+
*
|
|
1385
|
+
* @tags Layers
|
|
1386
|
+
* @name SetPermissionsBatch
|
|
1387
|
+
* @operationId LayersController_SetPermissionsBatch
|
|
1388
|
+
* @summary Overrides multiply resources permissions in single batch.
|
|
1389
|
+
* @request PUT:/layers
|
|
1390
|
+
* @response `200` Success
|
|
1391
|
+
*/
|
|
1392
|
+
|
|
1393
|
+
}, {
|
|
1394
|
+
key: "setPermissionsBatch",
|
|
1395
|
+
value: function setPermissionsBatch(data) {
|
|
1396
|
+
return this.http.put("/layers", data).then(() => {});
|
|
1397
|
+
}
|
|
1323
1398
|
/**
|
|
1324
1399
|
* No description
|
|
1325
1400
|
*
|
|
@@ -2330,6 +2405,22 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
2330
2405
|
value: function createTable(data) {
|
|
2331
2406
|
return this.http.post("/tables", data).json();
|
|
2332
2407
|
}
|
|
2408
|
+
/**
|
|
2409
|
+
* No description
|
|
2410
|
+
*
|
|
2411
|
+
* @tags Tables
|
|
2412
|
+
* @name SetPermissionsBatch
|
|
2413
|
+
* @operationId TablesController_SetPermissionsBatch
|
|
2414
|
+
* @summary Overrides multiply resources permissions in single batch.
|
|
2415
|
+
* @request PUT:/tables
|
|
2416
|
+
* @response `200` Success
|
|
2417
|
+
*/
|
|
2418
|
+
|
|
2419
|
+
}, {
|
|
2420
|
+
key: "setPermissionsBatch",
|
|
2421
|
+
value: function setPermissionsBatch(data) {
|
|
2422
|
+
return this.http.put("/tables", data).then(() => {});
|
|
2423
|
+
}
|
|
2333
2424
|
/**
|
|
2334
2425
|
* No description
|
|
2335
2426
|
*
|
|
@@ -2779,6 +2870,22 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
|
|
|
2779
2870
|
value: function createProject(data) {
|
|
2780
2871
|
return this.http.post("/projects", data).json();
|
|
2781
2872
|
}
|
|
2873
|
+
/**
|
|
2874
|
+
* No description
|
|
2875
|
+
*
|
|
2876
|
+
* @tags Projects
|
|
2877
|
+
* @name SetPermissionsBatch
|
|
2878
|
+
* @operationId ProjectsController_SetPermissionsBatch
|
|
2879
|
+
* @summary Overrides multiply resources permissions in single batch.
|
|
2880
|
+
* @request PUT:/projects
|
|
2881
|
+
* @response `200` Success
|
|
2882
|
+
*/
|
|
2883
|
+
|
|
2884
|
+
}, {
|
|
2885
|
+
key: "setPermissionsBatch",
|
|
2886
|
+
value: function setPermissionsBatch(data) {
|
|
2887
|
+
return this.http.put("/projects", data).then(() => {});
|
|
2888
|
+
}
|
|
2782
2889
|
/**
|
|
2783
2890
|
* No description
|
|
2784
2891
|
*
|
|
@@ -6160,6 +6267,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
6160
6267
|
_this.styles = new Styles(_this.http);
|
|
6161
6268
|
_this.account = new Account(_this.http);
|
|
6162
6269
|
_this.accountPreview = new AccountPreview(_this.http, _this.account);
|
|
6270
|
+
_this.bulk = new BulkOperations(_this.http);
|
|
6163
6271
|
_this.security = new Security(_this.http, _this.account);
|
|
6164
6272
|
_this.notification = new Notification(_this.http);
|
|
6165
6273
|
_this.scheduler = new Scheduler(_this.http);
|
|
@@ -7213,6 +7321,8 @@ write
|
|
|
7213
7321
|
|
|
7214
7322
|
read
|
|
7215
7323
|
|
|
7324
|
+
read,configure
|
|
7325
|
+
|
|
7216
7326
|
read,write
|
|
7217
7327
|
|
|
7218
7328
|
read,write,configure
|
|
@@ -7226,6 +7336,7 @@ var Permissions;
|
|
|
7226
7336
|
Permissions["Configure"] = "configure";
|
|
7227
7337
|
Permissions["Write"] = "write";
|
|
7228
7338
|
Permissions["Read"] = "read";
|
|
7339
|
+
Permissions["ReadConfigure"] = "read,configure";
|
|
7229
7340
|
Permissions["ReadWrite"] = "read,write";
|
|
7230
7341
|
Permissions["All"] = "read,write,configure";
|
|
7231
7342
|
})(Permissions || (Permissions = {}));
|
|
@@ -7431,5 +7542,5 @@ var ToolStorageType;
|
|
|
7431
7542
|
ToolStorageType["LayersStorage"] = "layersStorage";
|
|
7432
7543
|
})(ToolStorageType || (ToolStorageType = {}));
|
|
7433
7544
|
|
|
7434
|
-
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 };
|
|
7545
|
+
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 };
|
|
7435
7546
|
//# sourceMappingURL=api.esm.js.map
|