@evergis/api 3.0.101 → 3.0.103

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.
Files changed (42) hide show
  1. package/LICENSE +20 -20
  2. package/README.md +21 -21
  3. package/dist/__generated__/AccountPreviewService.d.ts +8 -19
  4. package/dist/__generated__/AccountService.d.ts +12 -1
  5. package/dist/__generated__/BulkOperationsService.d.ts +1 -1
  6. package/dist/__generated__/ClientSettingsService.d.ts +1 -1
  7. package/dist/__generated__/ExternalProvidersService.d.ts +1 -1
  8. package/dist/__generated__/FeedbackService.d.ts +1 -1
  9. package/dist/__generated__/FiltersService.d.ts +1 -1
  10. package/dist/__generated__/GeneralService.d.ts +1 -1
  11. package/dist/__generated__/GeocodeService.d.ts +1 -1
  12. package/dist/__generated__/IceRouterService.d.ts +1 -1
  13. package/dist/__generated__/ImportService.d.ts +1 -1
  14. package/dist/__generated__/LayersService.d.ts +24 -13
  15. package/dist/__generated__/NamespaceService.d.ts +1 -1
  16. package/dist/__generated__/NotificationService.d.ts +1 -1
  17. package/dist/__generated__/PrintService.d.ts +1 -1
  18. package/dist/__generated__/ProjectsService.d.ts +14 -3
  19. package/dist/__generated__/ResourceCatalogService.d.ts +1 -1
  20. package/dist/__generated__/S3Service.d.ts +1 -1
  21. package/dist/__generated__/SchedulerService.d.ts +1 -1
  22. package/dist/__generated__/SecurityService.d.ts +1 -1
  23. package/dist/__generated__/StaticContentService.d.ts +13 -2
  24. package/dist/__generated__/StatisticService.d.ts +3 -3
  25. package/dist/__generated__/StyleService.d.ts +1 -1
  26. package/dist/__generated__/TablesService.d.ts +16 -27
  27. package/dist/__generated__/TagsService.d.ts +1 -1
  28. package/dist/__generated__/ToolsService.d.ts +1 -1
  29. package/dist/__generated__/WfsServerService.d.ts +1 -1
  30. package/dist/__generated__/WmsServerService.d.ts +3 -3
  31. package/dist/__generated__/WmtsService.d.ts +1 -1
  32. package/dist/__generated__/data-contracts.d.ts +229 -189
  33. package/dist/api.cjs.development.js +164 -115
  34. package/dist/api.cjs.development.js.map +1 -1
  35. package/dist/api.cjs.production.min.js +1 -1
  36. package/dist/api.cjs.production.min.js.map +1 -1
  37. package/dist/api.esm.js +313 -258
  38. package/dist/api.esm.js.map +1 -1
  39. package/dist/services/AccountPreview.d.ts +3 -1
  40. package/dist/services/PortalSettings.d.ts +1 -0
  41. package/dist/services/Statistic.d.ts +2 -2
  42. package/package.json +3 -3
package/dist/api.esm.js CHANGED
@@ -29,6 +29,9 @@ function _defineProperties(target, props) {
29
29
  function _createClass(Constructor, protoProps, staticProps) {
30
30
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
31
31
  if (staticProps) _defineProperties(Constructor, staticProps);
32
+ Object.defineProperty(Constructor, "prototype", {
33
+ writable: false
34
+ });
32
35
  return Constructor;
33
36
  }
34
37
 
@@ -62,6 +65,9 @@ function _inherits(subClass, superClass) {
62
65
  configurable: true
63
66
  }
64
67
  });
68
+ Object.defineProperty(subClass, "prototype", {
69
+ writable: false
70
+ });
65
71
  if (superClass) _setPrototypeOf(subClass, superClass);
66
72
  }
67
73
 
@@ -120,6 +126,8 @@ function _assertThisInitialized(self) {
120
126
  function _possibleConstructorReturn(self, call) {
121
127
  if (call && (typeof call === "object" || typeof call === "function")) {
122
128
  return call;
129
+ } else if (call !== void 0) {
130
+ throw new TypeError("Derived constructors may only return object or undefined");
123
131
  }
124
132
 
125
133
  return _assertThisInitialized(self);
@@ -153,7 +161,7 @@ function _superPropBase(object, property) {
153
161
  return object;
154
162
  }
155
163
 
156
- function _get(target, property, receiver) {
164
+ function _get() {
157
165
  if (typeof Reflect !== "undefined" && Reflect.get) {
158
166
  _get = Reflect.get;
159
167
  } else {
@@ -164,14 +172,14 @@ function _get(target, property, receiver) {
164
172
  var desc = Object.getOwnPropertyDescriptor(base, property);
165
173
 
166
174
  if (desc.get) {
167
- return desc.get.call(receiver);
175
+ return desc.get.call(arguments.length < 3 ? target : receiver);
168
176
  }
169
177
 
170
178
  return desc.value;
171
179
  };
172
180
  }
173
181
 
174
- return _get(target, property, receiver || target);
182
+ return _get.apply(this, arguments);
175
183
  }
176
184
 
177
185
  let HttpClient = /*#__PURE__*/function () {
@@ -314,7 +322,7 @@ let Service = /*#__PURE__*/_createClass(function Service(http) {
314
322
 
315
323
  /**
316
324
  * @title Spatial Processing Core API
317
- * @version v0.6.0
325
+ * @version v1.0.0
318
326
  * @baseUrl /sp
319
327
  */
320
328
 
@@ -366,7 +374,7 @@ let BulkOperations = /*#__PURE__*/function (_BulkOperationsServic) {
366
374
 
367
375
  /**
368
376
  * @title Spatial Processing Core API
369
- * @version v0.6.0
377
+ * @version v1.0.0
370
378
  * @baseUrl /sp
371
379
  */
372
380
 
@@ -518,7 +526,7 @@ let Security = /*#__PURE__*/function (_SecurityService) {
518
526
 
519
527
  /**
520
528
  * @title Spatial Processing Core API
521
- * @version v0.6.0
529
+ * @version v1.0.0
522
530
  * @baseUrl /sp
523
531
  */
524
532
 
@@ -581,6 +589,22 @@ let StaticContentService = /*#__PURE__*/function (_Service) {
581
589
  value: function deleteFile(query) {
582
590
  return this.http.delete("/upload/file", null, query).then(() => {});
583
591
  }
592
+ /**
593
+ * No description
594
+ *
595
+ * @tags StaticContentService
596
+ * @name GetFileInfo
597
+ * @operationId StaticContentServiceController_GetFileInfo
598
+ * @summary Returns a file info download by url.
599
+ * @request GET:/upload/fileInfo
600
+ * @response `200` Success
601
+ */
602
+
603
+ }, {
604
+ key: "getFileInfo",
605
+ value: function getFileInfo(query) {
606
+ return this.http.get("/upload/fileInfo", query).json();
607
+ }
584
608
  }]);
585
609
 
586
610
  return StaticContentService;
@@ -612,7 +636,7 @@ let FileUpload = /*#__PURE__*/function (_StaticContentService) {
612
636
 
613
637
  /**
614
638
  * @title Spatial Processing Core API
615
- * @version v0.6.0
639
+ * @version v1.0.0
616
640
  * @baseUrl /sp
617
641
  */
618
642
 
@@ -728,7 +752,7 @@ let Import = /*#__PURE__*/function (_ImportService) {
728
752
 
729
753
  /**
730
754
  * @title Spatial Processing Core API
731
- * @version v0.6.0
755
+ * @version v1.0.0
732
756
  * @baseUrl /sp
733
757
  */
734
758
 
@@ -867,8 +891,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
867
891
  || event.code === 4002
868
892
  /* InvalidSession */
869
893
  ) {
870
- _this.connectStatus = ConnectionStatus.SessionClosed;
871
- } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
894
+ _this.connectStatus = ConnectionStatus.SessionClosed;
895
+ } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
872
896
  _this.connectStatus = ConnectionStatus.Break;
873
897
  _this.reconnectTries++;
874
898
 
@@ -986,7 +1010,7 @@ let NotificationEvent = /*#__PURE__*/_createClass(function NotificationEvent(dat
986
1010
 
987
1011
  /**
988
1012
  * @title Spatial Processing Core API
989
- * @version v0.6.0
1013
+ * @version v1.0.0
990
1014
  * @baseUrl /sp
991
1015
  */
992
1016
 
@@ -1374,7 +1398,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
1374
1398
  const taskProgress = await this.getTaskProgress(id);
1375
1399
  this.resolveTaskStatus(taskProgress, resolve, reject);
1376
1400
 
1377
- const taskResultCallback = async (_ref) => {
1401
+ const taskResultCallback = async _ref => {
1378
1402
  let {
1379
1403
  data
1380
1404
  } = _ref;
@@ -1438,7 +1462,7 @@ const _excluded = ["name"],
1438
1462
  _excluded19 = ["layerName"];
1439
1463
  /**
1440
1464
  * @title Spatial Processing Core API
1441
- * @version v0.6.0
1465
+ * @version v1.0.0
1442
1466
  * @baseUrl /sp
1443
1467
  */
1444
1468
 
@@ -1533,6 +1557,22 @@ let LayersService = /*#__PURE__*/function (_Service) {
1533
1557
  value: function deleteResource(name) {
1534
1558
  return this.http.delete("/layers/" + name, null).then(() => {});
1535
1559
  }
1560
+ /**
1561
+ * No description
1562
+ *
1563
+ * @tags Layers
1564
+ * @name GetLayersInfo
1565
+ * @operationId LayersController_GetLayersInfoAsync
1566
+ * @summary Returns the layers information.
1567
+ * @request GET:/layers/batchInfo
1568
+ * @response `200` Success
1569
+ */
1570
+
1571
+ }, {
1572
+ key: "getLayersInfo",
1573
+ value: function getLayersInfo(query) {
1574
+ return this.http.get("/layers/batchInfo", query).json();
1575
+ }
1536
1576
  /**
1537
1577
  * No description
1538
1578
  *
@@ -1659,6 +1699,24 @@ let LayersService = /*#__PURE__*/function (_Service) {
1659
1699
  type: 'PostgresTileLayerService'
1660
1700
  }).json();
1661
1701
  }
1702
+ /**
1703
+ * No description
1704
+ *
1705
+ * @tags Layers
1706
+ * @name PublishStyledLayerService
1707
+ * @operationId LayersController_PublishStyledLayerService
1708
+ * @summary Creates new Styled Layer Service.
1709
+ * @request POST:/layers#type=StyledFeatureLayer
1710
+ * @response `default` Error
1711
+ */
1712
+
1713
+ }, {
1714
+ key: "publishStyledLayerService",
1715
+ value: function publishStyledLayerService(data) {
1716
+ return this.http.post("/layers", data, {
1717
+ type: 'StyledFeatureLayer'
1718
+ }).json();
1719
+ }
1662
1720
  /**
1663
1721
  * No description
1664
1722
  *
@@ -1695,24 +1753,6 @@ let LayersService = /*#__PURE__*/function (_Service) {
1695
1753
  type: 'PostgresTileLayerService'
1696
1754
  }).json();
1697
1755
  }
1698
- /**
1699
- * No description
1700
- *
1701
- * @tags Layers
1702
- * @name PublishStyledLayerService
1703
- * @operationId LayersController_PublishStyledLayerService
1704
- * @summary Creates new Styled Layer Service.
1705
- * @request POST:/layers#type=StyledFeatureLayer
1706
- * @response `default` Error
1707
- */
1708
-
1709
- }, {
1710
- key: "publishStyledLayerService",
1711
- value: function publishStyledLayerService(data) {
1712
- return this.http.post("/layers", data, {
1713
- type: 'StyledFeatureLayer'
1714
- }).json();
1715
- }
1716
1756
  /**
1717
1757
  * No description
1718
1758
  *
@@ -2562,7 +2602,7 @@ const _excluded$2 = ["name"],
2562
2602
  _excluded4$1 = ["name"];
2563
2603
  /**
2564
2604
  * @title Spatial Processing Core API
2565
- * @version v0.6.0
2605
+ * @version v1.0.0
2566
2606
  * @baseUrl /sp
2567
2607
  */
2568
2608
 
@@ -2689,6 +2729,22 @@ let TablesService = /*#__PURE__*/function (_Service) {
2689
2729
  value: function deleteResource(name) {
2690
2730
  return this.http.delete("/tables/" + name, null).then(() => {});
2691
2731
  }
2732
+ /**
2733
+ * No description
2734
+ *
2735
+ * @tags Tables
2736
+ * @name GetTablesInfo
2737
+ * @operationId TablesController_GetTablesInfoAsync
2738
+ * @summary Returns the tables information.
2739
+ * @request GET:/tables/batchInfo
2740
+ * @response `200` Success
2741
+ */
2742
+
2743
+ }, {
2744
+ key: "getTablesInfo",
2745
+ value: function getTablesInfo(query) {
2746
+ return this.http.get("/tables/batchInfo", query).json();
2747
+ }
2692
2748
  /**
2693
2749
  * No description
2694
2750
  *
@@ -2796,52 +2852,14 @@ let TablesService = /*#__PURE__*/function (_Service) {
2796
2852
  * @name MapTable
2797
2853
  * @operationId TablesController_MapTable
2798
2854
  * @summary Map table to exists table.
2799
- * @request POST:/tables/map-table#type=Table
2855
+ * @request POST:/tables/map-table
2800
2856
  * @response `200` Success
2801
2857
  */
2802
2858
 
2803
2859
  }, {
2804
2860
  key: "mapTable",
2805
2861
  value: function mapTable(query, data) {
2806
- return this.http.post("/tables/map-table", data, _extends({
2807
- type: 'Table'
2808
- }, query)).json();
2809
- }
2810
- /**
2811
- * No description
2812
- *
2813
- * @tags Tables
2814
- * @name MapView
2815
- * @operationId TablesController_MapView
2816
- * @summary Maps table to view data source.
2817
- * @request POST:/tables/map-table#type=MaterializedView
2818
- * @response `200` Success
2819
- */
2820
-
2821
- }, {
2822
- key: "mapView",
2823
- value: function mapView(query, data) {
2824
- return this.http.post("/tables/map-table", data, _extends({
2825
- type: 'MaterializedView'
2826
- }, query)).json();
2827
- }
2828
- /**
2829
- * No description
2830
- *
2831
- * @tags Tables
2832
- * @name MapRemoteTable
2833
- * @operationId TablesController_MapRemoteTable
2834
- * @summary Maps table to remote table data source.
2835
- * @request POST:/tables/map-table#type=RemoteTable
2836
- * @response `200` Success
2837
- */
2838
-
2839
- }, {
2840
- key: "mapRemoteTable",
2841
- value: function mapRemoteTable(query, data) {
2842
- return this.http.post("/tables/map-table", data, _extends({
2843
- type: 'RemoteTable'
2844
- }, query)).json();
2862
+ return this.http.post("/tables/map-table", data, query).json();
2845
2863
  }
2846
2864
  /**
2847
2865
  * No description
@@ -3064,7 +3082,7 @@ let Tables = /*#__PURE__*/function (_TablesService) {
3064
3082
 
3065
3083
  /**
3066
3084
  * @title Spatial Processing Core API
3067
- * @version v0.6.0
3085
+ * @version v1.0.0
3068
3086
  * @baseUrl /sp
3069
3087
  */
3070
3088
 
@@ -3191,6 +3209,22 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
3191
3209
  value: function deleteResource(name) {
3192
3210
  return this.http.delete("/projects/" + name, null).then(() => {});
3193
3211
  }
3212
+ /**
3213
+ * No description
3214
+ *
3215
+ * @tags Projects
3216
+ * @name GetProjectsInfo
3217
+ * @operationId ProjectsController_GetProjectsInfoAsync
3218
+ * @summary Returns the projects information.
3219
+ * @request GET:/projects/batchInfo
3220
+ * @response `200` Success
3221
+ */
3222
+
3223
+ }, {
3224
+ key: "getProjectsInfo",
3225
+ value: function getProjectsInfo(query) {
3226
+ return this.http.get("/projects/batchInfo", query).json();
3227
+ }
3194
3228
  /**
3195
3229
  * No description
3196
3230
  *
@@ -3506,12 +3540,12 @@ let Resources = /*#__PURE__*/function () {
3506
3540
  }, {
3507
3541
  key: "getDependentNames",
3508
3542
  value: function getDependentNames(deps, depType) {
3509
- return deps.filter((_ref) => {
3543
+ return deps.filter(_ref => {
3510
3544
  let {
3511
3545
  type
3512
3546
  } = _ref;
3513
3547
  return type === depType;
3514
- }).map((_ref2) => {
3548
+ }).map(_ref2 => {
3515
3549
  let {
3516
3550
  name
3517
3551
  } = _ref2;
@@ -3525,7 +3559,7 @@ let Resources = /*#__PURE__*/function () {
3525
3559
 
3526
3560
  /**
3527
3561
  * @title Spatial Processing Core API
3528
- * @version v0.6.0
3562
+ * @version v1.0.0
3529
3563
  * @baseUrl /sp
3530
3564
  */
3531
3565
 
@@ -3660,7 +3694,7 @@ const _excluded$3 = ["providerName"],
3660
3694
  _excluded3$2 = ["providerName"];
3661
3695
  /**
3662
3696
  * @title Spatial Processing Core API
3663
- * @version v0.6.0
3697
+ * @version v1.0.0
3664
3698
  * @baseUrl /sp
3665
3699
  */
3666
3700
 
@@ -3776,7 +3810,7 @@ let Geocode = /*#__PURE__*/function (_GeocodeService) {
3776
3810
 
3777
3811
  /**
3778
3812
  * @title Spatial Processing Core API
3779
- * @version v0.6.0
3813
+ * @version v1.0.0
3780
3814
  * @baseUrl /sp
3781
3815
  */
3782
3816
 
@@ -3844,7 +3878,7 @@ let ResourceCatalog = /*#__PURE__*/function (_ResourceCatalogServi) {
3844
3878
 
3845
3879
  /**
3846
3880
  * @title Spatial Processing Core API
3847
- * @version v0.6.0
3881
+ * @version v1.0.0
3848
3882
  * @baseUrl /sp
3849
3883
  */
3850
3884
 
@@ -3878,7 +3912,7 @@ let Tools = /*#__PURE__*/function (_ToolsService) {
3878
3912
 
3879
3913
  /**
3880
3914
  * @title Spatial Processing Core API
3881
- * @version v0.6.0
3915
+ * @version v1.0.0
3882
3916
  * @baseUrl /sp
3883
3917
  */
3884
3918
 
@@ -3978,7 +4012,7 @@ let General = /*#__PURE__*/function (_GeneralService) {
3978
4012
 
3979
4013
  /**
3980
4014
  * @title Spatial Processing Core API
3981
- * @version v0.6.0
4015
+ * @version v1.0.0
3982
4016
  * @baseUrl /sp
3983
4017
  */
3984
4018
 
@@ -4078,7 +4112,7 @@ let Namespace = /*#__PURE__*/function (_NamespaceService) {
4078
4112
 
4079
4113
  /**
4080
4114
  * @title Spatial Processing Core API
4081
- * @version v0.6.0
4115
+ * @version v1.0.0
4082
4116
  * @baseUrl /sp
4083
4117
  */
4084
4118
 
@@ -4493,6 +4527,22 @@ let AccountService = /*#__PURE__*/function (_Service) {
4493
4527
  value: function revokeToken() {
4494
4528
  return this.http.delete("/account/revoke-token", null).then(() => {});
4495
4529
  }
4530
+ /**
4531
+ * No description
4532
+ *
4533
+ * @tags Account
4534
+ * @name LdapLogin
4535
+ * @operationId AccountController_LdapLogin
4536
+ * @summary The external login callback.
4537
+ * @request POST:/account/external/login/ldap
4538
+ * @response `200` Success
4539
+ */
4540
+
4541
+ }, {
4542
+ key: "ldapLogin",
4543
+ value: function ldapLogin(data) {
4544
+ return this.http.post("/account/external/login/ldap", data).then(() => {});
4545
+ }
4496
4546
  /**
4497
4547
  * No description
4498
4548
  *
@@ -4734,9 +4784,10 @@ let Account = /*#__PURE__*/function (_AccountService) {
4734
4784
  return Account;
4735
4785
  }(AccountService);
4736
4786
 
4787
+ const _excluded$4 = ["username"];
4737
4788
  /**
4738
4789
  * @title Spatial Processing Core API
4739
- * @version v0.6.0
4790
+ * @version v1.0.0
4740
4791
  * @baseUrl /sp
4741
4792
  */
4742
4793
 
@@ -4761,11 +4812,11 @@ let AccountPreviewService = /*#__PURE__*/function (_Service) {
4761
4812
  * @name GetPreview
4762
4813
  * @operationId AccountPreviewController_GetPreview
4763
4814
  * @summary Get user preview image.
4764
- * @request GET:/account/user/{username}/preview
4815
+ * @request GET:/account/user/preview/{username}
4765
4816
  * @response `200` Success
4766
4817
  */
4767
4818
  function getPreview(username) {
4768
- return this.http.createUrl("/account/user/" + username + "/preview");
4819
+ return this.http.createUrl("/account/user/preview/" + username);
4769
4820
  }
4770
4821
  /**
4771
4822
  * No description
@@ -4774,14 +4825,19 @@ let AccountPreviewService = /*#__PURE__*/function (_Service) {
4774
4825
  * @name UploadPreview
4775
4826
  * @operationId AccountPreviewController_UploadPreview
4776
4827
  * @summary Set user preview image by link.
4777
- * @request POST:/account/user/{username}/preview
4828
+ * @request POST:/account/user/preview/{username}
4778
4829
  * @response `200` Success
4779
4830
  */
4780
4831
 
4781
4832
  }, {
4782
4833
  key: "uploadPreview",
4783
- value: function uploadPreview(username, data) {
4784
- return this.http.post("/account/user/" + username + "/preview", toFormData(data)).json();
4834
+ value: function uploadPreview(_ref, data) {
4835
+ let {
4836
+ username
4837
+ } = _ref,
4838
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$4);
4839
+
4840
+ return this.http.post("/account/user/preview/" + username, toFormData(data), query).json();
4785
4841
  }
4786
4842
  /**
4787
4843
  * No description
@@ -4790,30 +4846,14 @@ let AccountPreviewService = /*#__PURE__*/function (_Service) {
4790
4846
  * @name DeletePreview
4791
4847
  * @operationId AccountPreviewController_DeletePreview
4792
4848
  * @summary Delete user preview.
4793
- * @request DELETE:/account/user/{username}/preview
4849
+ * @request DELETE:/account/user/preview/{username}
4794
4850
  * @response `200` Success
4795
4851
  */
4796
4852
 
4797
4853
  }, {
4798
4854
  key: "deletePreview",
4799
4855
  value: function deletePreview(username) {
4800
- return this.http.delete("/account/user/" + username + "/preview", null).then(() => {});
4801
- }
4802
- /**
4803
- * No description
4804
- *
4805
- * @tags AccountPreview
4806
- * @name GetPreview1
4807
- * @operationId AccountPreviewController_GetPreview_1
4808
- * @summary Get current user preview image.
4809
- * @request GET:/account/user/preview
4810
- * @response `200` Success
4811
- */
4812
-
4813
- }, {
4814
- key: "getPreview1",
4815
- value: function getPreview1() {
4816
- return this.http.createUrl("/account/user/preview");
4856
+ return this.http.delete("/account/user/preview/" + username, null).then(() => {});
4817
4857
  }
4818
4858
  }]);
4819
4859
 
@@ -4859,10 +4899,12 @@ let AccountPreview = /*#__PURE__*/function (_AccountPreviewServic) {
4859
4899
  }
4860
4900
  }, {
4861
4901
  key: "updateCurrentUserPhoto",
4862
- value: async function updateCurrentUserPhoto(file) {
4902
+ value: async function updateCurrentUserPhoto(file, payload) {
4863
4903
  const {
4864
4904
  fileId
4865
- } = await this.uploadPreview(this.username, {
4905
+ } = await this.uploadPreview(_extends({
4906
+ username: this.username
4907
+ }, payload), {
4866
4908
  file
4867
4909
  });
4868
4910
  updateUserInfo({
@@ -4873,7 +4915,11 @@ let AccountPreview = /*#__PURE__*/function (_AccountPreviewServic) {
4873
4915
  }, {
4874
4916
  key: "fetchPreview1",
4875
4917
  value: async function fetchPreview1() {
4876
- const profile_photo = await this.getPreview1();
4918
+ var _response$headers$get;
4919
+
4920
+ const url = this.getPreview("");
4921
+ const response = await fetch(url);
4922
+ const profile_photo = (_response$headers$get = response.headers.get('content-type')) != null && _response$headers$get.includes('text/plain') ? await response.text() : url + "?r=" + Math.random();
4877
4923
  updateUserInfo({
4878
4924
  profile_photo,
4879
4925
  has_profile_photo: true
@@ -4895,7 +4941,7 @@ let AccountPreview = /*#__PURE__*/function (_AccountPreviewServic) {
4895
4941
 
4896
4942
  /**
4897
4943
  * @title Spatial Processing Core API
4898
- * @version v0.6.0
4944
+ * @version v1.0.0
4899
4945
  * @baseUrl /sp
4900
4946
  */
4901
4947
 
@@ -5160,7 +5206,7 @@ let External = /*#__PURE__*/function (_ExternalProvidersSer) {
5160
5206
 
5161
5207
  /**
5162
5208
  * @title Spatial Processing Core API
5163
- * @version v0.6.0
5209
+ * @version v1.0.0
5164
5210
  * @baseUrl /sp
5165
5211
  */
5166
5212
 
@@ -5486,7 +5532,7 @@ let Names = /*#__PURE__*/function () {
5486
5532
 
5487
5533
  /**
5488
5534
  * @title Spatial Processing Core API
5489
- * @version v0.6.0
5535
+ * @version v1.0.0
5490
5536
  * @baseUrl /sp
5491
5537
  */
5492
5538
 
@@ -5554,7 +5600,7 @@ let IceRouter = /*#__PURE__*/function (_IceRouterService) {
5554
5600
 
5555
5601
  /**
5556
5602
  * @title Spatial Processing Core API
5557
- * @version v0.6.0
5603
+ * @version v1.0.0
5558
5604
  * @baseUrl /sp
5559
5605
  */
5560
5606
 
@@ -5650,7 +5696,7 @@ let Statistic = /*#__PURE__*/function (_StatisticService) {
5650
5696
 
5651
5697
  /**
5652
5698
  * @title Spatial Processing Core API
5653
- * @version v0.6.0
5699
+ * @version v1.0.0
5654
5700
  * @baseUrl /sp
5655
5701
  */
5656
5702
 
@@ -5741,7 +5787,7 @@ let Feedback = /*#__PURE__*/function (_FeedbackService) {
5741
5787
 
5742
5788
  /**
5743
5789
  * @title Spatial Processing Core API
5744
- * @version v0.6.0
5790
+ * @version v1.0.0
5745
5791
  * @baseUrl /sp
5746
5792
  */
5747
5793
 
@@ -6394,45 +6440,45 @@ function isFeatureLayer(layer) {
6394
6440
 
6395
6441
  /**
6396
6442
  *
6397
-
6443
+
6398
6444
  None
6399
-
6445
+
6400
6446
  Array
6401
-
6447
+
6402
6448
  Min
6403
-
6449
+
6404
6450
  Max
6405
-
6451
+
6406
6452
  Avg
6407
-
6453
+
6408
6454
  Sum
6409
-
6455
+
6410
6456
  Extent
6411
-
6457
+
6412
6458
  Count
6413
-
6459
+
6414
6460
  TotalCount
6415
-
6461
+
6416
6462
  DistinctCount
6417
-
6463
+
6418
6464
  First
6419
-
6465
+
6420
6466
  Last
6421
-
6467
+
6422
6468
  Median
6423
-
6469
+
6424
6470
  Mod
6425
-
6471
+
6426
6472
  StdDeviation
6427
-
6473
+
6428
6474
  SumOfProduct
6429
-
6475
+
6430
6476
  OnlyValue
6431
-
6477
+
6432
6478
  WeightedAvg
6433
-
6479
+
6434
6480
  DensityIndicators
6435
-
6481
+
6436
6482
  DividedSum
6437
6483
  */
6438
6484
  var AggregationFunction;
@@ -6461,27 +6507,27 @@ var AggregationFunction;
6461
6507
  })(AggregationFunction || (AggregationFunction = {}));
6462
6508
  /**
6463
6509
  * Types of the attributes that are supported by the system.
6464
-
6510
+
6465
6511
  Unknown
6466
-
6512
+
6467
6513
  String
6468
-
6514
+
6469
6515
  Int32
6470
-
6516
+
6471
6517
  Int64
6472
-
6518
+
6473
6519
  Double
6474
-
6520
+
6475
6521
  DateTime
6476
-
6522
+
6477
6523
  Boolean
6478
-
6524
+
6479
6525
  Point
6480
-
6526
+
6481
6527
  Polyline
6482
-
6528
+
6483
6529
  Polygon
6484
-
6530
+
6485
6531
  Multipoint
6486
6532
  */
6487
6533
 
@@ -6503,15 +6549,15 @@ var AttributeType;
6503
6549
  })(AttributeType || (AttributeType = {}));
6504
6550
  /**
6505
6551
  * Describes classification methods.
6506
-
6552
+
6507
6553
  none
6508
-
6554
+
6509
6555
  naturalBreaks
6510
-
6556
+
6511
6557
  equalInterval
6512
-
6558
+
6513
6559
  quantile
6514
-
6560
+
6515
6561
  unique
6516
6562
  */
6517
6563
 
@@ -6527,11 +6573,11 @@ var ClassificationType;
6527
6573
  })(ClassificationType || (ClassificationType = {}));
6528
6574
  /**
6529
6575
  * Type of attribute.
6530
-
6576
+
6531
6577
  decimal
6532
-
6578
+
6533
6579
  dateTime
6534
-
6580
+
6535
6581
  text
6536
6582
  */
6537
6583
 
@@ -6545,48 +6591,52 @@ var ClassifyAttributeType;
6545
6591
  })(ClassifyAttributeType || (ClassifyAttributeType = {}));
6546
6592
  /**
6547
6593
  * Types of errors that can occur during layer initialize.
6548
-
6594
+
6549
6595
  Unknown
6550
-
6596
+
6551
6597
  SerializeError
6552
-
6598
+
6553
6599
  InvalidDataService
6554
-
6600
+
6555
6601
  InvalidConfiguration
6556
-
6602
+
6557
6603
  InvalidDataServiceName
6558
-
6604
+
6559
6605
  InvalidTableName
6560
-
6606
+
6607
+ InvalidLayerName
6608
+
6561
6609
  ResourceNotFound
6562
-
6610
+
6563
6611
  InvalidCondition
6564
-
6612
+
6565
6613
  InvalidAttributes
6566
-
6614
+
6567
6615
  InvalidIdAttribute
6568
-
6616
+
6569
6617
  InvalidGeometryAttribute
6570
-
6618
+
6571
6619
  InvalidGeometryAttributeType
6572
-
6620
+
6573
6621
  InvalidColumnName
6574
-
6622
+
6575
6623
  InvalidIdColumnSettings
6576
-
6624
+
6577
6625
  ColumnNotExistsInTable
6578
-
6626
+
6579
6627
  InvalidStyle
6580
-
6628
+
6581
6629
  InvalidLayerType
6582
-
6630
+
6583
6631
  ColumnLoadingError
6584
-
6632
+
6585
6633
  InvalidAttributeFormat
6586
-
6634
+
6587
6635
  DataSourceNotFound
6588
-
6636
+
6589
6637
  DuplicateColumns
6638
+
6639
+ TableWithoutColumns
6590
6640
  */
6591
6641
 
6592
6642
 
@@ -6599,6 +6649,7 @@ var ConfigurationErrorEnum;
6599
6649
  ConfigurationErrorEnum["InvalidConfiguration"] = "InvalidConfiguration";
6600
6650
  ConfigurationErrorEnum["InvalidDataServiceName"] = "InvalidDataServiceName";
6601
6651
  ConfigurationErrorEnum["InvalidTableName"] = "InvalidTableName";
6652
+ ConfigurationErrorEnum["InvalidLayerName"] = "InvalidLayerName";
6602
6653
  ConfigurationErrorEnum["ResourceNotFound"] = "ResourceNotFound";
6603
6654
  ConfigurationErrorEnum["InvalidCondition"] = "InvalidCondition";
6604
6655
  ConfigurationErrorEnum["InvalidAttributes"] = "InvalidAttributes";
@@ -6614,18 +6665,19 @@ var ConfigurationErrorEnum;
6614
6665
  ConfigurationErrorEnum["InvalidAttributeFormat"] = "InvalidAttributeFormat";
6615
6666
  ConfigurationErrorEnum["DataSourceNotFound"] = "DataSourceNotFound";
6616
6667
  ConfigurationErrorEnum["DuplicateColumns"] = "DuplicateColumns";
6668
+ ConfigurationErrorEnum["TableWithoutColumns"] = "TableWithoutColumns";
6617
6669
  })(ConfigurationErrorEnum || (ConfigurationErrorEnum = {}));
6618
6670
  /**
6619
6671
  * Type of the error.
6620
-
6672
+
6621
6673
  ResourceLimitExceeded
6622
-
6674
+
6623
6675
  ResourceNotFound
6624
-
6676
+
6625
6677
  InternalError
6626
-
6678
+
6627
6679
  BadRequest
6628
-
6680
+
6629
6681
  DuplicateContent
6630
6682
  */
6631
6683
 
@@ -6680,9 +6732,9 @@ var ErrorType;
6680
6732
  })(ErrorType || (ErrorType = {}));
6681
6733
  /**
6682
6734
  * Type of the feature.
6683
-
6735
+
6684
6736
  Unknown
6685
-
6737
+
6686
6738
  GeometricFeature
6687
6739
  */
6688
6740
 
@@ -6695,11 +6747,11 @@ var FeatureType;
6695
6747
  })(FeatureType || (FeatureType = {}));
6696
6748
  /**
6697
6749
  * Sets whether font should be styled.
6698
-
6750
+
6699
6751
  normal
6700
-
6752
+
6701
6753
  oblique
6702
-
6754
+
6703
6755
  italic
6704
6756
  */
6705
6757
 
@@ -6713,27 +6765,27 @@ var FontStyle;
6713
6765
  })(FontStyle || (FontStyle = {}));
6714
6766
  /**
6715
6767
  * Specifies the weight (or boldness) of the font.
6716
-
6768
+
6717
6769
  Thin
6718
-
6770
+
6719
6771
  ExtraLight
6720
-
6772
+
6721
6773
  Light
6722
-
6774
+
6723
6775
  SemiLight
6724
-
6776
+
6725
6777
  Normal
6726
-
6778
+
6727
6779
  Medium
6728
-
6780
+
6729
6781
  DemiBold
6730
-
6782
+
6731
6783
  Bold
6732
-
6784
+
6733
6785
  ExtraBold
6734
-
6786
+
6735
6787
  Black
6736
-
6788
+
6737
6789
  ExtraBlack
6738
6790
  */
6739
6791
 
@@ -6755,17 +6807,17 @@ var FontWeight;
6755
6807
  })(FontWeight || (FontWeight = {}));
6756
6808
  /**
6757
6809
  *
6758
-
6810
+
6759
6811
  unknown
6760
-
6812
+
6761
6813
  point
6762
-
6814
+
6763
6815
  polyline
6764
-
6816
+
6765
6817
  polygon
6766
-
6818
+
6767
6819
  envelope
6768
-
6820
+
6769
6821
  multipoint
6770
6822
  */
6771
6823
 
@@ -6782,13 +6834,13 @@ var GeometryType;
6782
6834
  })(GeometryType || (GeometryType = {}));
6783
6835
  /**
6784
6836
  * Resource group.
6785
-
6837
+
6786
6838
  my
6787
-
6839
+
6788
6840
  role
6789
-
6841
+
6790
6842
  public
6791
-
6843
+
6792
6844
  all
6793
6845
  */
6794
6846
 
@@ -6804,9 +6856,9 @@ var Group;
6804
6856
  /**
6805
6857
  * The size of the line ending in a SPCore.Kernel.Rendering.Symbols.SimplePolylineSymbol. The values sent here can be one
6806
6858
  of the preset values, or a number representing the size of the ending in pixels for 1px wide lines.
6807
-
6859
+
6808
6860
  small
6809
-
6861
+
6810
6862
  large
6811
6863
  */
6812
6864
 
@@ -6819,19 +6871,19 @@ var LineEndingSize;
6819
6871
  })(LineEndingSize || (LineEndingSize = {}));
6820
6872
  /**
6821
6873
  * Type of the line ending.
6822
-
6874
+
6823
6875
  none
6824
-
6876
+
6825
6877
  arrow
6826
-
6878
+
6827
6879
  filledArrow
6828
-
6880
+
6829
6881
  square
6830
-
6882
+
6831
6883
  filledSquare
6832
-
6884
+
6833
6885
  circle
6834
-
6886
+
6835
6887
  filledCircle
6836
6888
  */
6837
6889
 
@@ -6849,15 +6901,15 @@ var LineEndingType;
6849
6901
  })(LineEndingType || (LineEndingType = {}));
6850
6902
  /**
6851
6903
  *
6852
-
6904
+
6853
6905
  Unknown
6854
-
6906
+
6855
6907
  union
6856
-
6908
+
6857
6909
  intersection
6858
-
6910
+
6859
6911
  subtraction
6860
-
6912
+
6861
6913
  symDifference
6862
6914
  */
6863
6915
 
@@ -6873,19 +6925,19 @@ var Operation;
6873
6925
  })(Operation || (Operation = {}));
6874
6926
  /**
6875
6927
  * User permissions for server security objects (services, projects etc.)
6876
-
6928
+
6877
6929
  none
6878
-
6930
+
6879
6931
  configure
6880
-
6932
+
6881
6933
  write
6882
-
6934
+
6883
6935
  read
6884
-
6936
+
6885
6937
  read,configure
6886
-
6938
+
6887
6939
  read,write
6888
-
6940
+
6889
6941
  read,write,configure
6890
6942
  */
6891
6943
 
@@ -6903,18 +6955,20 @@ var Permissions;
6903
6955
  })(Permissions || (Permissions = {}));
6904
6956
  /**
6905
6957
  * Type of the authorization policy.
6906
-
6958
+
6907
6959
  Unknown
6908
-
6960
+
6909
6961
  CreateTable
6910
-
6962
+
6911
6963
  CreateLayer
6912
-
6964
+
6913
6965
  CreateProject
6914
-
6966
+
6915
6967
  MaxFeaturesInOneTable
6916
-
6968
+
6917
6969
  MaxObjectsToExport
6970
+
6971
+ MaxUploadContentSize
6918
6972
  */
6919
6973
 
6920
6974
 
@@ -6927,22 +6981,23 @@ var PolicyType;
6927
6981
  PolicyType["CreateProject"] = "CreateProject";
6928
6982
  PolicyType["MaxFeaturesInOneTable"] = "MaxFeaturesInOneTable";
6929
6983
  PolicyType["MaxObjectsToExport"] = "MaxObjectsToExport";
6984
+ PolicyType["MaxUploadContentSize"] = "MaxUploadContentSize";
6930
6985
  })(PolicyType || (PolicyType = {}));
6931
6986
  /**
6932
6987
  * The `ResourceType` represents resource manager supports types.
6933
-
6988
+
6934
6989
  Unknown
6935
-
6990
+
6936
6991
  table
6937
-
6992
+
6938
6993
  layer
6939
-
6994
+
6940
6995
  project
6941
-
6996
+
6942
6997
  file
6943
-
6998
+
6944
6999
  feature
6945
-
7000
+
6946
7001
  tag
6947
7002
  */
6948
7003
 
@@ -6968,21 +7023,21 @@ var ResourceTypeLink;
6968
7023
  })(ResourceTypeLink || (ResourceTypeLink = {}));
6969
7024
  /**
6970
7025
  * Status of the server task.
6971
-
7026
+
6972
7027
  None
6973
-
7028
+
6974
7029
  Scheduled
6975
-
7030
+
6976
7031
  Planning
6977
-
7032
+
6978
7033
  Executing
6979
-
7034
+
6980
7035
  Completed
6981
-
7036
+
6982
7037
  Failed
6983
-
7038
+
6984
7039
  Canceled
6985
-
7040
+
6986
7041
  Timeout
6987
7042
  */
6988
7043
 
@@ -7001,11 +7056,11 @@ var ServerTaskStatus;
7001
7056
  })(ServerTaskStatus || (ServerTaskStatus = {}));
7002
7057
  /**
7003
7058
  * The `StringSubType` provides information about string attribute subtype.
7004
-
7059
+
7005
7060
  None
7006
-
7061
+
7007
7062
  Image
7008
-
7063
+
7009
7064
  PkkCode
7010
7065
  */
7011
7066
 
@@ -7019,13 +7074,13 @@ var StringSubType;
7019
7074
  })(StringSubType || (StringSubType = {}));
7020
7075
  /**
7021
7076
  * Sets the horizontal alignment of text.
7022
-
7077
+
7023
7078
  right
7024
-
7079
+
7025
7080
  left
7026
-
7081
+
7027
7082
  center
7028
-
7083
+
7029
7084
  justified
7030
7085
  */
7031
7086
 
@@ -7040,11 +7095,11 @@ var TextAlignment;
7040
7095
  })(TextAlignment || (TextAlignment = {}));
7041
7096
  /**
7042
7097
  * Sets the vertical alignment of text.
7043
-
7098
+
7044
7099
  top
7045
-
7100
+
7046
7101
  bottom
7047
-
7102
+
7048
7103
  middle
7049
7104
  */
7050
7105