@evergis/api 3.0.41 → 3.0.45

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.esm.js CHANGED
@@ -86,7 +86,7 @@ function _isNativeReflectConstruct() {
86
86
  if (typeof Proxy === "function") return true;
87
87
 
88
88
  try {
89
- Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
89
+ Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
90
90
  return true;
91
91
  } catch (e) {
92
92
  return false;
@@ -1320,6 +1320,22 @@ let LayersService = /*#__PURE__*/function (_Service) {
1320
1320
  value: function getLayersList(query) {
1321
1321
  return this.http.get("/layers", query).json();
1322
1322
  }
1323
+ /**
1324
+ * No description
1325
+ *
1326
+ * @tags Layers
1327
+ * @name SetPermissionsBatch
1328
+ * @operationId LayersController_SetPermissionsBatch
1329
+ * @summary Overrides multiply resources permissions in single batch.
1330
+ * @request PUT:/layers
1331
+ * @response `200` Success
1332
+ */
1333
+
1334
+ }, {
1335
+ key: "setPermissionsBatch",
1336
+ value: function setPermissionsBatch(data) {
1337
+ return this.http.put("/layers", data).then(() => {});
1338
+ }
1323
1339
  /**
1324
1340
  * No description
1325
1341
  *
@@ -2330,6 +2346,22 @@ let TablesService = /*#__PURE__*/function (_Service) {
2330
2346
  value: function createTable(data) {
2331
2347
  return this.http.post("/tables", data).json();
2332
2348
  }
2349
+ /**
2350
+ * No description
2351
+ *
2352
+ * @tags Tables
2353
+ * @name SetPermissionsBatch
2354
+ * @operationId TablesController_SetPermissionsBatch
2355
+ * @summary Overrides multiply resources permissions in single batch.
2356
+ * @request PUT:/tables
2357
+ * @response `200` Success
2358
+ */
2359
+
2360
+ }, {
2361
+ key: "setPermissionsBatch",
2362
+ value: function setPermissionsBatch(data) {
2363
+ return this.http.put("/tables", data).then(() => {});
2364
+ }
2333
2365
  /**
2334
2366
  * No description
2335
2367
  *
@@ -2779,6 +2811,22 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
2779
2811
  value: function createProject(data) {
2780
2812
  return this.http.post("/projects", data).json();
2781
2813
  }
2814
+ /**
2815
+ * No description
2816
+ *
2817
+ * @tags Projects
2818
+ * @name SetPermissionsBatch
2819
+ * @operationId ProjectsController_SetPermissionsBatch
2820
+ * @summary Overrides multiply resources permissions in single batch.
2821
+ * @request PUT:/projects
2822
+ * @response `200` Success
2823
+ */
2824
+
2825
+ }, {
2826
+ key: "setPermissionsBatch",
2827
+ value: function setPermissionsBatch(data) {
2828
+ return this.http.put("/projects", data).then(() => {});
2829
+ }
2782
2830
  /**
2783
2831
  * No description
2784
2832
  *
@@ -4370,6 +4418,22 @@ let AccountService = /*#__PURE__*/function (_Service) {
4370
4418
  value: function getUsers(query) {
4371
4419
  return this.http.get("/account/user/list", query).json();
4372
4420
  }
4421
+ /**
4422
+ * No description
4423
+ *
4424
+ * @tags Account
4425
+ * @name GetExtendedUsers
4426
+ * @operationId AccountController_GetExtendedUsers
4427
+ * @summary Returns the list of extended users informations that correspond to the given conditions.
4428
+ * @request GET:/account/user/extendedlist
4429
+ * @response `200` Success
4430
+ */
4431
+
4432
+ }, {
4433
+ key: "getExtendedUsers",
4434
+ value: function getExtendedUsers(query) {
4435
+ return this.http.get("/account/user/extendedlist", query).json();
4436
+ }
4373
4437
  /**
4374
4438
  * No description
4375
4439
  *
@@ -7197,6 +7261,8 @@ write
7197
7261
 
7198
7262
  read
7199
7263
 
7264
+ read,configure
7265
+
7200
7266
  read,write
7201
7267
 
7202
7268
  read,write,configure
@@ -7210,6 +7276,7 @@ var Permissions;
7210
7276
  Permissions["Configure"] = "configure";
7211
7277
  Permissions["Write"] = "write";
7212
7278
  Permissions["Read"] = "read";
7279
+ Permissions["ReadConfigure"] = "read,configure";
7213
7280
  Permissions["ReadWrite"] = "read,write";
7214
7281
  Permissions["All"] = "read,write,configure";
7215
7282
  })(Permissions || (Permissions = {}));