@evergis/api 3.0.109 → 3.0.111

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 (41) hide show
  1. package/dist/Api.d.ts +2 -1
  2. package/dist/__generated__/AccountPreviewService.d.ts +1 -1
  3. package/dist/__generated__/AccountService.d.ts +1 -1
  4. package/dist/__generated__/BulkOperationsService.d.ts +1 -1
  5. package/dist/__generated__/ClientSettingsService.d.ts +1 -1
  6. package/dist/__generated__/ExternalProvidersService.d.ts +1 -1
  7. package/dist/__generated__/FeedbackService.d.ts +1 -1
  8. package/dist/__generated__/FiltersService.d.ts +1 -1
  9. package/dist/__generated__/GeneralService.d.ts +1 -1
  10. package/dist/__generated__/GeocodeService.d.ts +1 -1
  11. package/dist/__generated__/IceRouterService.d.ts +1 -1
  12. package/dist/__generated__/ImportService.d.ts +1 -1
  13. package/dist/__generated__/LayersService.d.ts +1 -1
  14. package/dist/__generated__/NamespaceService.d.ts +1 -1
  15. package/dist/__generated__/NotificationService.d.ts +1 -1
  16. package/dist/__generated__/PrintService.d.ts +1 -1
  17. package/dist/__generated__/ProjectsService.d.ts +3 -3
  18. package/dist/__generated__/ResourceCatalogService.d.ts +1 -1
  19. package/dist/__generated__/S3Service.d.ts +1 -1
  20. package/dist/__generated__/SchedulerService.d.ts +1 -1
  21. package/dist/__generated__/SecurityService.d.ts +1 -1
  22. package/dist/__generated__/StaticContentService.d.ts +1 -1
  23. package/dist/__generated__/StatisticService.d.ts +3 -3
  24. package/dist/__generated__/StyleService.d.ts +1 -1
  25. package/dist/__generated__/TablesService.d.ts +3 -3
  26. package/dist/__generated__/TagsService.d.ts +1 -1
  27. package/dist/__generated__/ToolsService.d.ts +1 -1
  28. package/dist/__generated__/WfsServerService.d.ts +1 -1
  29. package/dist/__generated__/WmsServerService.d.ts +3 -3
  30. package/dist/__generated__/WmtsService.d.ts +1 -1
  31. package/dist/__generated__/data-contracts.d.ts +96 -28
  32. package/dist/api.cjs.development.js +136 -25
  33. package/dist/api.cjs.development.js.map +1 -1
  34. package/dist/api.cjs.production.min.js +1 -1
  35. package/dist/api.cjs.production.min.js.map +1 -1
  36. package/dist/api.esm.js +160 -26
  37. package/dist/api.esm.js.map +1 -1
  38. package/dist/layers/EvergisDynamicLayer.d.ts +4 -0
  39. package/dist/services/Filters.d.ts +3 -0
  40. package/dist/services/index.d.ts +1 -0
  41. package/package.json +3 -3
package/dist/api.esm.js CHANGED
@@ -314,7 +314,7 @@ let Service = /*#__PURE__*/_createClass(function Service(http) {
314
314
 
315
315
  /**
316
316
  * @title Spatial Processing Core API
317
- * @version v1.0.0
317
+ * @version 1.0.0
318
318
  * @baseUrl /sp
319
319
  */
320
320
 
@@ -366,7 +366,7 @@ let BulkOperations = /*#__PURE__*/function (_BulkOperationsServic) {
366
366
 
367
367
  /**
368
368
  * @title Spatial Processing Core API
369
- * @version v1.0.0
369
+ * @version 1.0.0
370
370
  * @baseUrl /sp
371
371
  */
372
372
 
@@ -518,7 +518,7 @@ let Security = /*#__PURE__*/function (_SecurityService) {
518
518
 
519
519
  /**
520
520
  * @title Spatial Processing Core API
521
- * @version v1.0.0
521
+ * @version 1.0.0
522
522
  * @baseUrl /sp
523
523
  */
524
524
 
@@ -628,7 +628,91 @@ let FileUpload = /*#__PURE__*/function (_StaticContentService) {
628
628
 
629
629
  /**
630
630
  * @title Spatial Processing Core API
631
- * @version v1.0.0
631
+ * @version 1.0.0
632
+ * @baseUrl /sp
633
+ */
634
+
635
+ let FiltersService = /*#__PURE__*/function (_Service) {
636
+ _inherits(FiltersService, _Service);
637
+
638
+ var _super = /*#__PURE__*/_createSuper(FiltersService);
639
+
640
+ function FiltersService() {
641
+ _classCallCheck(this, FiltersService);
642
+
643
+ return _super.apply(this, arguments);
644
+ }
645
+
646
+ _createClass(FiltersService, [{
647
+ key: "get",
648
+ value:
649
+ /**
650
+ * No description
651
+ *
652
+ * @tags FiltersService
653
+ * @name Get
654
+ * @operationId FiltersServiceController_Get
655
+ * @summary Returns the filter by its id.
656
+ * @request GET:/filters/{id}
657
+ * @response `200` Success
658
+ */
659
+ function get(id) {
660
+ return this.http.get("/filters/" + id).text();
661
+ }
662
+ /**
663
+ * No description
664
+ *
665
+ * @tags FiltersService
666
+ * @name Update
667
+ * @operationId FiltersServiceController_Update
668
+ * @summary Replaces a filter and gives it a new id.
669
+ * @request POST:/filters/{id}
670
+ * @response `200` Success
671
+ */
672
+
673
+ }, {
674
+ key: "update",
675
+ value: function update(id, data) {
676
+ return this.http.post("/filters/" + id, data).json();
677
+ }
678
+ /**
679
+ * No description
680
+ *
681
+ * @tags FiltersService
682
+ * @name Create
683
+ * @operationId FiltersServiceController_Create
684
+ * @summary Creates a new filter.
685
+ * @request POST:/filters
686
+ * @response `200` Success
687
+ */
688
+
689
+ }, {
690
+ key: "create",
691
+ value: function create(data) {
692
+ return this.http.post("/filters", data).json();
693
+ }
694
+ }]);
695
+
696
+ return FiltersService;
697
+ }(Service);
698
+
699
+ let Filters = /*#__PURE__*/function (_FiltersService) {
700
+ _inherits(Filters, _FiltersService);
701
+
702
+ var _super = /*#__PURE__*/_createSuper(Filters);
703
+
704
+ function Filters() {
705
+ _classCallCheck(this, Filters);
706
+
707
+ return _super.apply(this, arguments);
708
+ }
709
+
710
+ return _createClass(Filters);
711
+ }(FiltersService);
712
+
713
+ /**
714
+ * @title Spatial Processing Core API
715
+ * @version 1.0.0
632
716
  * @baseUrl /sp
633
717
  */
634
718
 
@@ -744,7 +828,7 @@ let Import = /*#__PURE__*/function (_ImportService) {
744
828
 
745
829
  /**
746
830
  * @title Spatial Processing Core API
747
- * @version v1.0.0
831
+ * @version 1.0.0
748
832
  * @baseUrl /sp
749
833
  */
750
834
 
@@ -1002,7 +1086,7 @@ let NotificationEvent = /*#__PURE__*/_createClass(function NotificationEvent(dat
1002
1086
 
1003
1087
  /**
1004
1088
  * @title Spatial Processing Core API
1005
- * @version v1.0.0
1089
+ * @version 1.0.0
1006
1090
  * @baseUrl /sp
1007
1091
  */
1008
1092
 
@@ -1454,7 +1538,7 @@ const _excluded = ["name"],
1454
1538
  _excluded19 = ["layerName"];
1455
1539
  /**
1456
1540
  * @title Spatial Processing Core API
1457
- * @version v1.0.0
1541
+ * @version 1.0.0
1458
1542
  * @baseUrl /sp
1459
1543
  */
1460
1544
 
@@ -2594,7 +2678,7 @@ const _excluded$2 = ["name"],
2594
2678
  _excluded4$1 = ["name"];
2595
2679
  /**
2596
2680
  * @title Spatial Processing Core API
2597
- * @version v1.0.0
2681
+ * @version 1.0.0
2598
2682
  * @baseUrl /sp
2599
2683
  */
2600
2684
 
@@ -3074,7 +3158,7 @@ let Tables = /*#__PURE__*/function (_TablesService) {
3074
3158
 
3075
3159
  /**
3076
3160
  * @title Spatial Processing Core API
3077
- * @version v1.0.0
3161
+ * @version 1.0.0
3078
3162
  * @baseUrl /sp
3079
3163
  */
3080
3164
 
@@ -3551,7 +3635,7 @@ let Resources = /*#__PURE__*/function () {
3551
3635
 
3552
3636
  /**
3553
3637
  * @title Spatial Processing Core API
3554
- * @version v1.0.0
3638
+ * @version 1.0.0
3555
3639
  * @baseUrl /sp
3556
3640
  */
3557
3641
 
@@ -3686,7 +3770,7 @@ const _excluded$3 = ["providerName"],
3686
3770
  _excluded3$2 = ["providerName"];
3687
3771
  /**
3688
3772
  * @title Spatial Processing Core API
3689
- * @version v1.0.0
3773
+ * @version 1.0.0
3690
3774
  * @baseUrl /sp
3691
3775
  */
3692
3776
 
@@ -3802,7 +3886,7 @@ let Geocode = /*#__PURE__*/function (_GeocodeService) {
3802
3886
 
3803
3887
  /**
3804
3888
  * @title Spatial Processing Core API
3805
- * @version v1.0.0
3889
+ * @version 1.0.0
3806
3890
  * @baseUrl /sp
3807
3891
  */
3808
3892
 
@@ -3870,7 +3954,7 @@ let ResourceCatalog = /*#__PURE__*/function (_ResourceCatalogServi) {
3870
3954
 
3871
3955
  /**
3872
3956
  * @title Spatial Processing Core API
3873
- * @version v1.0.0
3957
+ * @version 1.0.0
3874
3958
  * @baseUrl /sp
3875
3959
  */
3876
3960
 
@@ -3904,7 +3988,7 @@ let Tools = /*#__PURE__*/function (_ToolsService) {
3904
3988
 
3905
3989
  /**
3906
3990
  * @title Spatial Processing Core API
3907
- * @version v1.0.0
3991
+ * @version 1.0.0
3908
3992
  * @baseUrl /sp
3909
3993
  */
3910
3994
 
@@ -4004,7 +4088,7 @@ let General = /*#__PURE__*/function (_GeneralService) {
4004
4088
 
4005
4089
  /**
4006
4090
  * @title Spatial Processing Core API
4007
- * @version v1.0.0
4091
+ * @version 1.0.0
4008
4092
  * @baseUrl /sp
4009
4093
  */
4010
4094
 
@@ -4104,7 +4188,7 @@ let Namespace = /*#__PURE__*/function (_NamespaceService) {
4104
4188
 
4105
4189
  /**
4106
4190
  * @title Spatial Processing Core API
4107
- * @version v1.0.0
4191
+ * @version 1.0.0
4108
4192
  * @baseUrl /sp
4109
4193
  */
4110
4194
 
@@ -4780,7 +4864,7 @@ let Account = /*#__PURE__*/function (_AccountService) {
4780
4864
  const _excluded$4 = ["username"];
4781
4865
  /**
4782
4866
  * @title Spatial Processing Core API
4783
- * @version v1.0.0
4867
+ * @version 1.0.0
4784
4868
  * @baseUrl /sp
4785
4869
  */
4786
4870
 
@@ -4934,7 +5018,7 @@ let AccountPreview = /*#__PURE__*/function (_AccountPreviewServic) {
4934
5018
 
4935
5019
  /**
4936
5020
  * @title Spatial Processing Core API
4937
- * @version v1.0.0
5021
+ * @version 1.0.0
4938
5022
  * @baseUrl /sp
4939
5023
  */
4940
5024
 
@@ -5199,7 +5283,7 @@ let External = /*#__PURE__*/function (_ExternalProvidersSer) {
5199
5283
 
5200
5284
  /**
5201
5285
  * @title Spatial Processing Core API
5202
- * @version v1.0.0
5286
+ * @version 1.0.0
5203
5287
  * @baseUrl /sp
5204
5288
  */
5205
5289
 
@@ -5525,7 +5609,7 @@ let Names = /*#__PURE__*/function () {
5525
5609
 
5526
5610
  /**
5527
5611
  * @title Spatial Processing Core API
5528
- * @version v1.0.0
5612
+ * @version 1.0.0
5529
5613
  * @baseUrl /sp
5530
5614
  */
5531
5615
 
@@ -5593,7 +5677,7 @@ let IceRouter = /*#__PURE__*/function (_IceRouterService) {
5593
5677
 
5594
5678
  /**
5595
5679
  * @title Spatial Processing Core API
5596
- * @version v1.0.0
5680
+ * @version 1.0.0
5597
5681
  * @baseUrl /sp
5598
5682
  */
5599
5683
 
@@ -5689,7 +5773,7 @@ let Statistic = /*#__PURE__*/function (_StatisticService) {
5689
5773
 
5690
5774
  /**
5691
5775
  * @title Spatial Processing Core API
5692
- * @version v1.0.0
5776
+ * @version 1.0.0
5693
5777
  * @baseUrl /sp
5694
5778
  */
5695
5779
 
@@ -5780,7 +5864,7 @@ let Feedback = /*#__PURE__*/function (_FeedbackService) {
5780
5864
 
5781
5865
  /**
5782
5866
  * @title Spatial Processing Core API
5783
- * @version v1.0.0
5867
+ * @version 1.0.0
5784
5868
  * @baseUrl /sp
5785
5869
  */
5786
5870
 
@@ -5978,6 +6062,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
5978
6062
  _this.notification = new Notification(_this.http, _assertThisInitialized(_this));
5979
6063
  _this.scheduler = new Scheduler(_this.http);
5980
6064
  _this.file = new FileUpload(_this.http);
6065
+ _this.filters = new Filters(_this.http);
5981
6066
  _this.import = new Import(_this.http);
5982
6067
  _this.geocode = new Geocode(_this.http);
5983
6068
  _this.print = new Print(_this.http);
@@ -6166,6 +6251,7 @@ let EvergisDynamicLayer = /*#__PURE__*/function (_DynamicLayer) {
6166
6251
  _this.name = configuration.name;
6167
6252
  _this.styleId = configuration.style;
6168
6253
  _this.conditionQuery = configuration.condition;
6254
+ _this.filterId = configuration.dataFilterId;
6169
6255
 
6170
6256
  _this.subscribeRedraw();
6171
6257
 
@@ -6189,11 +6275,22 @@ let EvergisDynamicLayer = /*#__PURE__*/function (_DynamicLayer) {
6189
6275
  get: // @ts-ignore TODO
6190
6276
  function get() {
6191
6277
  return this.conditionQuery;
6192
- },
6278
+ } // @ts-ignore TODO
6279
+ ,
6193
6280
  set: function set(condition) {
6194
6281
  this.conditionQuery = condition;
6195
6282
  this.forceUpdate();
6196
6283
  }
6284
+ }, {
6285
+ key: "dataFilterId",
6286
+ get: // @ts-ignore TODO
6287
+ function get() {
6288
+ return this.filterId;
6289
+ },
6290
+ set: function set(filterId) {
6291
+ this.filterId = filterId;
6292
+ this.forceUpdate();
6293
+ }
6197
6294
  }, {
6198
6295
  key: "getUrl",
6199
6296
  value: function getUrl(bbox, resolution) {
@@ -6205,7 +6302,8 @@ let EvergisDynamicLayer = /*#__PURE__*/function (_DynamicLayer) {
6205
6302
  size: [imgWidth, imgHeight],
6206
6303
  extentSr: bbox.crs.wkid,
6207
6304
  styleId: this.styleId,
6208
- condition: this.conditionQuery
6305
+ condition: this.conditionQuery,
6306
+ dataFilterId: this.filterId
6209
6307
  });
6210
6308
  }
6211
6309
  }, {
@@ -6631,6 +6729,8 @@ DataSourceNotFound
6631
6729
  DuplicateColumns
6632
6730
 
6633
6731
  TableWithoutColumns
6732
+
6733
+ InvalidTableReferenceConfiguration
6634
6734
  */
6635
6735
 
6636
6736
 
@@ -6660,6 +6760,7 @@ var ConfigurationErrorEnum;
6660
6760
  ConfigurationErrorEnum["DataSourceNotFound"] = "DataSourceNotFound";
6661
6761
  ConfigurationErrorEnum["DuplicateColumns"] = "DuplicateColumns";
6662
6762
  ConfigurationErrorEnum["TableWithoutColumns"] = "TableWithoutColumns";
6763
+ ConfigurationErrorEnum["InvalidTableReferenceConfiguration"] = "InvalidTableReferenceConfiguration";
6663
6764
  })(ConfigurationErrorEnum || (ConfigurationErrorEnum = {}));
6664
6765
  /**
6665
6766
  * Type of the error.
@@ -6978,6 +7079,24 @@ var PolicyType;
6978
7079
  PolicyType["MaxUploadContentSize"] = "MaxUploadContentSize";
6979
7080
  })(PolicyType || (PolicyType = {}));
6980
7081
  /**
7082
+ * Types of table reference.
7083
+
7084
+ OneToMany
7085
+
7086
+ OneToOne
7087
+
7088
+ Intersect
7089
+ */
7090
+
7091
+
7092
+ var ReferenceJoinType;
7093
+
7094
+ (function (ReferenceJoinType) {
7095
+ ReferenceJoinType["OneToMany"] = "OneToMany";
7096
+ ReferenceJoinType["OneToOne"] = "OneToOne";
7097
+ ReferenceJoinType["Intersect"] = "Intersect";
7098
+ })(ReferenceJoinType || (ReferenceJoinType = {}));
7099
+ /**
6981
7100
  * The `ResourceType` represents resource manager supports types.
6982
7101
 
6983
7102
  Unknown
@@ -7067,6 +7186,21 @@ var StringSubType;
7067
7186
  StringSubType["PkkCode"] = "PkkCode";
7068
7187
  })(StringSubType || (StringSubType = {}));
7069
7188
  /**
7189
+ * Task owner group.
7190
+
7191
+ my
7192
+
7193
+ all
7194
+ */
7195
+
7196
+
7197
+ var TaskGroup;
7198
+
7199
+ (function (TaskGroup) {
7200
+ TaskGroup["My"] = "my";
7201
+ TaskGroup["All"] = "all";
7202
+ })(TaskGroup || (TaskGroup = {}));
7203
+ /**
7070
7204
  * Sets the horizontal alignment of text.
7071
7205
 
7072
7206
  right
@@ -7106,5 +7240,5 @@ var TextVerticalAlignment;
7106
7240
  TextVerticalAlignment["Middle"] = "middle";
7107
7241
  })(TextVerticalAlignment || (TextVerticalAlignment = {}));
7108
7242
 
7109
- export { Account, AccountPreview, AggregationFunction, Api, ApiEvent, AttributeType, BulkOperations, ClassificationType, ClassifyAttributeType, ClientSettings, ConfigurationErrorEnum, ConnectionStatus, DependencyType, ErrorDetailsType, ErrorReason, ErrorType, EvergisDynamicLayer, EvergisTileLayer, External, FeatureType, Feedback, FileUpload, FontStyle, FontWeight, GEOCODE_PROVIDER, General, Geocode, GeometryType, Group, HttpClient, IceRouter, Import, Layers, LayersManager, LineEndingSize, LineEndingType, Names, Namespace, Notification, NotificationEvent, Operation, Permissions, PolicyType, PortalSettings, Projects, ResourceCatalog, ResourceSeparator, ResourceType, ResourceTypeLink, Resources, Scheduler, Security, ServerTaskStatus, SpatialProcessor, Statistic, StringSubType, Styles, Tables, TextAlignment, TextVerticalAlignment, Tools, UrlPath, addSubDomainToLocation, errorHandler, formDataFromFile, generateId, isEvergisDynamicLayer, isEvergisTileLayer, isFeatureLayer, isHTTPError, isHandledError, isLayer, isProjectContentItems, isString, isTileLayerService, promiseAllIgnoreErrors, stripUselessSlashes, toFormData, unique };
7243
+ export { Account, AccountPreview, AggregationFunction, Api, ApiEvent, AttributeType, BulkOperations, ClassificationType, ClassifyAttributeType, ClientSettings, ConfigurationErrorEnum, ConnectionStatus, DependencyType, ErrorDetailsType, ErrorReason, ErrorType, EvergisDynamicLayer, EvergisTileLayer, External, FeatureType, Feedback, FileUpload, Filters, FontStyle, FontWeight, GEOCODE_PROVIDER, General, Geocode, GeometryType, Group, HttpClient, IceRouter, Import, Layers, LayersManager, LineEndingSize, LineEndingType, Names, Namespace, Notification, NotificationEvent, Operation, Permissions, PolicyType, PortalSettings, Projects, ReferenceJoinType, ResourceCatalog, ResourceSeparator, ResourceType, ResourceTypeLink, Resources, Scheduler, Security, ServerTaskStatus, SpatialProcessor, Statistic, StringSubType, Styles, Tables, TaskGroup, TextAlignment, TextVerticalAlignment, Tools, UrlPath, addSubDomainToLocation, errorHandler, formDataFromFile, generateId, isEvergisDynamicLayer, isEvergisTileLayer, isFeatureLayer, isHTTPError, isHandledError, isLayer, isProjectContentItems, isString, isTileLayerService, promiseAllIgnoreErrors, stripUselessSlashes, toFormData, unique };
7110
7244
  //# sourceMappingURL=api.esm.js.map