@evergis/api 3.0.45 → 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/api.cjs.development.js +61 -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 +61 -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.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Options as KyOptions } from 'ky';
|
|
2
2
|
import { EventEmitter } from '@evergis/event-emitter';
|
|
3
|
-
import { Account, External, ClientSettings, FileUpload, General, Geocode, Import, Layers, Names, Namespace, Notification, Projects, ResourceCatalog, Resources, Scheduler, Security, Styles, Tables, Tools, AccountPreview } from './services';
|
|
3
|
+
import { Account, External, ClientSettings, FileUpload, General, Geocode, Import, Layers, Names, Namespace, Notification, Projects, ResourceCatalog, Resources, Scheduler, Security, Styles, Tables, Tools, AccountPreview, BulkOperations } from './services';
|
|
4
4
|
import { Print } from './services/Print';
|
|
5
5
|
import { HttpClient } from './__generated__/HttpClient';
|
|
6
6
|
import { LoginDc } from './__generated__/data-contracts';
|
|
@@ -43,6 +43,7 @@ export declare class Api extends EventEmitter {
|
|
|
43
43
|
readonly external: External;
|
|
44
44
|
readonly clientSettings: ClientSettings;
|
|
45
45
|
readonly names: Names;
|
|
46
|
+
readonly bulk: BulkOperations;
|
|
46
47
|
constructor({ url, wsUrl, http, urlPath, httpOptions }: ApiParams);
|
|
47
48
|
init({ authParams, connectWs, initScheduler, fetchSettings, fetchUser, }: {
|
|
48
49
|
authParams?: LoginDc;
|
|
@@ -197,6 +197,65 @@ let Service = function Service(http) {
|
|
|
197
197
|
this.http = http;
|
|
198
198
|
};
|
|
199
199
|
|
|
200
|
+
/**
|
|
201
|
+
* @title Spatial Processing Core API
|
|
202
|
+
* @version v0.6.0
|
|
203
|
+
* @baseUrl /sp
|
|
204
|
+
*/
|
|
205
|
+
|
|
206
|
+
let BulkOperationsService = /*#__PURE__*/function (_Service) {
|
|
207
|
+
_inherits(BulkOperationsService, _Service);
|
|
208
|
+
|
|
209
|
+
var _super = /*#__PURE__*/_createSuper(BulkOperationsService);
|
|
210
|
+
|
|
211
|
+
function BulkOperationsService() {
|
|
212
|
+
_classCallCheck(this, BulkOperationsService);
|
|
213
|
+
|
|
214
|
+
return _super.apply(this, arguments);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
_createClass(BulkOperationsService, [{
|
|
218
|
+
key: "batchResourcesPermissionsSet",
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* No description
|
|
222
|
+
*
|
|
223
|
+
* @tags BulkOperations
|
|
224
|
+
* @name BatchResourcesPermissionsSet
|
|
225
|
+
* @operationId BulkOperationsController_BatchResourcesPermissionsSet
|
|
226
|
+
* @summary Perform resources set acl access batch operation.
|
|
227
|
+
* @request PUT:/bulk/resources/permissions
|
|
228
|
+
* @response `200` Success
|
|
229
|
+
*/
|
|
230
|
+
value: function batchResourcesPermissionsSet(data) {
|
|
231
|
+
return this.http.put("/bulk/resources/permissions", data).then(() => {});
|
|
232
|
+
}
|
|
233
|
+
}]);
|
|
234
|
+
|
|
235
|
+
return BulkOperationsService;
|
|
236
|
+
}(Service);
|
|
237
|
+
|
|
238
|
+
let BulkOperations = /*#__PURE__*/function (_BulkOperationsServic) {
|
|
239
|
+
_inherits(BulkOperations, _BulkOperationsServic);
|
|
240
|
+
|
|
241
|
+
var _super = /*#__PURE__*/_createSuper(BulkOperations);
|
|
242
|
+
|
|
243
|
+
function BulkOperations() {
|
|
244
|
+
_classCallCheck(this, BulkOperations);
|
|
245
|
+
|
|
246
|
+
return _super.apply(this, arguments);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
_createClass(BulkOperations, [{
|
|
250
|
+
key: "updatePermissions",
|
|
251
|
+
value: function updatePermissions(data) {
|
|
252
|
+
return this.batchResourcesPermissionsSet(data);
|
|
253
|
+
}
|
|
254
|
+
}]);
|
|
255
|
+
|
|
256
|
+
return BulkOperations;
|
|
257
|
+
}(BulkOperationsService);
|
|
258
|
+
|
|
200
259
|
/**
|
|
201
260
|
* @title Spatial Processing Core API
|
|
202
261
|
* @version v0.6.0
|
|
@@ -6203,6 +6262,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
6203
6262
|
_this.styles = new Styles(_this.http);
|
|
6204
6263
|
_this.account = new Account(_this.http);
|
|
6205
6264
|
_this.accountPreview = new AccountPreview(_this.http, _this.account);
|
|
6265
|
+
_this.bulk = new BulkOperations(_this.http);
|
|
6206
6266
|
_this.security = new Security(_this.http, _this.account);
|
|
6207
6267
|
_this.notification = new Notification(_this.http);
|
|
6208
6268
|
_this.scheduler = new Scheduler(_this.http);
|
|
@@ -6983,6 +7043,7 @@ exports.API_USER_INFO_KEY = API_USER_INFO_KEY;
|
|
|
6983
7043
|
exports.Account = Account;
|
|
6984
7044
|
exports.AccountPreview = AccountPreview;
|
|
6985
7045
|
exports.Api = Api;
|
|
7046
|
+
exports.BulkOperations = BulkOperations;
|
|
6986
7047
|
exports.ClientSettings = ClientSettings;
|
|
6987
7048
|
exports.EvergisDynamicLayer = EvergisDynamicLayer;
|
|
6988
7049
|
exports.EvergisTileLayer = EvergisTileLayer;
|