@evergis/api 3.0.93 → 3.0.94

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
@@ -29,9 +29,6 @@ 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
- });
35
32
  return Constructor;
36
33
  }
37
34
 
@@ -65,9 +62,6 @@ function _inherits(subClass, superClass) {
65
62
  configurable: true
66
63
  }
67
64
  });
68
- Object.defineProperty(subClass, "prototype", {
69
- writable: false
70
- });
71
65
  if (superClass) _setPrototypeOf(subClass, superClass);
72
66
  }
73
67
 
@@ -126,8 +120,6 @@ function _assertThisInitialized(self) {
126
120
  function _possibleConstructorReturn(self, call) {
127
121
  if (call && (typeof call === "object" || typeof call === "function")) {
128
122
  return call;
129
- } else if (call !== void 0) {
130
- throw new TypeError("Derived constructors may only return object or undefined");
131
123
  }
132
124
 
133
125
  return _assertThisInitialized(self);
@@ -161,7 +153,7 @@ function _superPropBase(object, property) {
161
153
  return object;
162
154
  }
163
155
 
164
- function _get() {
156
+ function _get(target, property, receiver) {
165
157
  if (typeof Reflect !== "undefined" && Reflect.get) {
166
158
  _get = Reflect.get;
167
159
  } else {
@@ -172,14 +164,14 @@ function _get() {
172
164
  var desc = Object.getOwnPropertyDescriptor(base, property);
173
165
 
174
166
  if (desc.get) {
175
- return desc.get.call(arguments.length < 3 ? target : receiver);
167
+ return desc.get.call(receiver);
176
168
  }
177
169
 
178
170
  return desc.value;
179
171
  };
180
172
  }
181
173
 
182
- return _get.apply(this, arguments);
174
+ return _get(target, property, receiver || target);
183
175
  }
184
176
 
185
177
  let HttpClient = /*#__PURE__*/function () {
@@ -859,8 +851,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
859
851
  || event.code === 4002
860
852
  /* InvalidSession */
861
853
  ) {
862
- _this.connectStatus = ConnectionStatus.SessionClosed;
863
- } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
854
+ _this.connectStatus = ConnectionStatus.SessionClosed;
855
+ } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
864
856
  _this.connectStatus = ConnectionStatus.Break;
865
857
  _this.reconnectTries++;
866
858
 
@@ -1366,7 +1358,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
1366
1358
  const taskProgress = await this.getTaskProgress(id);
1367
1359
  this.resolveTaskStatus(taskProgress, resolve, reject);
1368
1360
 
1369
- const taskResultCallback = async _ref => {
1361
+ const taskResultCallback = async (_ref) => {
1370
1362
  let {
1371
1363
  data
1372
1364
  } = _ref;
@@ -1561,6 +1553,24 @@ let LayersService = /*#__PURE__*/function (_Service) {
1561
1553
  type: 'RouteService'
1562
1554
  }).then(() => {});
1563
1555
  }
1556
+ /**
1557
+ * No description
1558
+ *
1559
+ * @tags Layers
1560
+ * @name PublishLinearService
1561
+ * @operationId LayersController_PublishLinearService
1562
+ * @summary Creates new Linear Service.
1563
+ * @request POST:/layers#type=LinearService
1564
+ * @response `200` Success
1565
+ */
1566
+
1567
+ }, {
1568
+ key: "publishLinearService",
1569
+ value: function publishLinearService(data) {
1570
+ return this.http.post("/layers", data, {
1571
+ type: 'LinearService'
1572
+ }).then(() => {});
1573
+ }
1564
1574
  /**
1565
1575
  * No description
1566
1576
  *
@@ -3480,12 +3490,12 @@ let Resources = /*#__PURE__*/function () {
3480
3490
  }, {
3481
3491
  key: "getDependentNames",
3482
3492
  value: function getDependentNames(deps, depType) {
3483
- return deps.filter(_ref => {
3493
+ return deps.filter((_ref) => {
3484
3494
  let {
3485
3495
  type
3486
3496
  } = _ref;
3487
3497
  return type === depType;
3488
- }).map(_ref2 => {
3498
+ }).map((_ref2) => {
3489
3499
  let {
3490
3500
  name
3491
3501
  } = _ref2;
@@ -6368,43 +6378,45 @@ function isFeatureLayer(layer) {
6368
6378
 
6369
6379
  /**
6370
6380
  *
6371
-
6381
+
6372
6382
  None
6373
-
6383
+
6374
6384
  Array
6375
-
6385
+
6376
6386
  Min
6377
-
6387
+
6378
6388
  Max
6379
-
6389
+
6380
6390
  Avg
6381
-
6391
+
6382
6392
  Sum
6383
-
6393
+
6384
6394
  Extent
6385
-
6395
+
6386
6396
  Count
6387
-
6397
+
6398
+ TotalCount
6399
+
6388
6400
  DistinctCount
6389
-
6401
+
6390
6402
  First
6391
-
6403
+
6392
6404
  Last
6393
-
6405
+
6394
6406
  Median
6395
-
6407
+
6396
6408
  Mod
6397
-
6409
+
6398
6410
  StdDeviation
6399
-
6411
+
6400
6412
  SumOfProduct
6401
-
6413
+
6402
6414
  OnlyValue
6403
-
6415
+
6404
6416
  WeightedAvg
6405
-
6417
+
6406
6418
  DensityIndicators
6407
-
6419
+
6408
6420
  DividedSum
6409
6421
  */
6410
6422
  var AggregationFunction;
@@ -6418,6 +6430,7 @@ var AggregationFunction;
6418
6430
  AggregationFunction["Sum"] = "Sum";
6419
6431
  AggregationFunction["Extent"] = "Extent";
6420
6432
  AggregationFunction["Count"] = "Count";
6433
+ AggregationFunction["TotalCount"] = "TotalCount";
6421
6434
  AggregationFunction["DistinctCount"] = "DistinctCount";
6422
6435
  AggregationFunction["First"] = "First";
6423
6436
  AggregationFunction["Last"] = "Last";
@@ -6432,27 +6445,27 @@ var AggregationFunction;
6432
6445
  })(AggregationFunction || (AggregationFunction = {}));
6433
6446
  /**
6434
6447
  * Types of the attributes that are supported by the system.
6435
-
6448
+
6436
6449
  Unknown
6437
-
6450
+
6438
6451
  String
6439
-
6452
+
6440
6453
  Int32
6441
-
6454
+
6442
6455
  Int64
6443
-
6456
+
6444
6457
  Double
6445
-
6458
+
6446
6459
  DateTime
6447
-
6460
+
6448
6461
  Boolean
6449
-
6462
+
6450
6463
  Point
6451
-
6464
+
6452
6465
  Polyline
6453
-
6466
+
6454
6467
  Polygon
6455
-
6468
+
6456
6469
  Multipoint
6457
6470
  */
6458
6471
 
@@ -6474,15 +6487,15 @@ var AttributeType;
6474
6487
  })(AttributeType || (AttributeType = {}));
6475
6488
  /**
6476
6489
  * Describes classification methods.
6477
-
6490
+
6478
6491
  none
6479
-
6492
+
6480
6493
  naturalBreaks
6481
-
6494
+
6482
6495
  equalInterval
6483
-
6496
+
6484
6497
  quantile
6485
-
6498
+
6486
6499
  unique
6487
6500
  */
6488
6501
 
@@ -6498,11 +6511,11 @@ var ClassificationType;
6498
6511
  })(ClassificationType || (ClassificationType = {}));
6499
6512
  /**
6500
6513
  * Type of attribute.
6501
-
6514
+
6502
6515
  decimal
6503
-
6516
+
6504
6517
  dateTime
6505
-
6518
+
6506
6519
  text
6507
6520
  */
6508
6521
 
@@ -6516,47 +6529,47 @@ var ClassifyAttributeType;
6516
6529
  })(ClassifyAttributeType || (ClassifyAttributeType = {}));
6517
6530
  /**
6518
6531
  * Types of errors that can occur during layer initialize.
6519
-
6532
+
6520
6533
  Unknown
6521
-
6534
+
6522
6535
  SerializeError
6523
-
6536
+
6524
6537
  InvalidDataService
6525
-
6538
+
6526
6539
  InvalidConfiguration
6527
-
6540
+
6528
6541
  InvalidDataServiceName
6529
-
6542
+
6530
6543
  InvalidTableName
6531
-
6544
+
6532
6545
  ResourceNotFound
6533
-
6546
+
6534
6547
  InvalidCondition
6535
-
6548
+
6536
6549
  InvalidAttributes
6537
-
6550
+
6538
6551
  InvalidIdAttribute
6539
-
6552
+
6540
6553
  InvalidGeometryAttribute
6541
-
6554
+
6542
6555
  InvalidGeometryAttributeType
6543
-
6556
+
6544
6557
  InvalidColumnName
6545
-
6558
+
6546
6559
  InvalidIdColumnSettings
6547
-
6560
+
6548
6561
  ColumnNotExistsInTable
6549
-
6562
+
6550
6563
  InvalidStyle
6551
-
6564
+
6552
6565
  InvalidLayerType
6553
-
6566
+
6554
6567
  ColumnLoadingError
6555
-
6568
+
6556
6569
  InvalidAttributeFormat
6557
-
6570
+
6558
6571
  DataSourceNotFound
6559
-
6572
+
6560
6573
  DuplicateColumns
6561
6574
  */
6562
6575
 
@@ -6588,15 +6601,15 @@ var ConfigurationErrorEnum;
6588
6601
  })(ConfigurationErrorEnum || (ConfigurationErrorEnum = {}));
6589
6602
  /**
6590
6603
  * Type of the error.
6591
-
6604
+
6592
6605
  ResourceLimitExceeded
6593
-
6606
+
6594
6607
  ResourceNotFound
6595
-
6608
+
6596
6609
  InternalError
6597
-
6610
+
6598
6611
  BadRequest
6599
-
6612
+
6600
6613
  DuplicateContent
6601
6614
  */
6602
6615
 
@@ -6651,9 +6664,9 @@ var ErrorType;
6651
6664
  })(ErrorType || (ErrorType = {}));
6652
6665
  /**
6653
6666
  * Type of the feature.
6654
-
6667
+
6655
6668
  Unknown
6656
-
6669
+
6657
6670
  GeometricFeature
6658
6671
  */
6659
6672
 
@@ -6666,11 +6679,11 @@ var FeatureType;
6666
6679
  })(FeatureType || (FeatureType = {}));
6667
6680
  /**
6668
6681
  * Sets whether font should be styled.
6669
-
6682
+
6670
6683
  normal
6671
-
6684
+
6672
6685
  oblique
6673
-
6686
+
6674
6687
  italic
6675
6688
  */
6676
6689
 
@@ -6684,27 +6697,27 @@ var FontStyle;
6684
6697
  })(FontStyle || (FontStyle = {}));
6685
6698
  /**
6686
6699
  * Specifies the weight (or boldness) of the font.
6687
-
6700
+
6688
6701
  Thin
6689
-
6702
+
6690
6703
  ExtraLight
6691
-
6704
+
6692
6705
  Light
6693
-
6706
+
6694
6707
  SemiLight
6695
-
6708
+
6696
6709
  Normal
6697
-
6710
+
6698
6711
  Medium
6699
-
6712
+
6700
6713
  DemiBold
6701
-
6714
+
6702
6715
  Bold
6703
-
6716
+
6704
6717
  ExtraBold
6705
-
6718
+
6706
6719
  Black
6707
-
6720
+
6708
6721
  ExtraBlack
6709
6722
  */
6710
6723
 
@@ -6726,17 +6739,17 @@ var FontWeight;
6726
6739
  })(FontWeight || (FontWeight = {}));
6727
6740
  /**
6728
6741
  *
6729
-
6742
+
6730
6743
  unknown
6731
-
6744
+
6732
6745
  point
6733
-
6746
+
6734
6747
  polyline
6735
-
6748
+
6736
6749
  polygon
6737
-
6750
+
6738
6751
  envelope
6739
-
6752
+
6740
6753
  multipoint
6741
6754
  */
6742
6755
 
@@ -6753,13 +6766,13 @@ var GeometryType;
6753
6766
  })(GeometryType || (GeometryType = {}));
6754
6767
  /**
6755
6768
  * Resource group.
6756
-
6769
+
6757
6770
  my
6758
-
6771
+
6759
6772
  role
6760
-
6773
+
6761
6774
  public
6762
-
6775
+
6763
6776
  all
6764
6777
  */
6765
6778
 
@@ -6775,9 +6788,9 @@ var Group;
6775
6788
  /**
6776
6789
  * The size of the line ending in a SPCore.Kernel.Rendering.Symbols.SimplePolylineSymbol. The values sent here can be one
6777
6790
  of the preset values, or a number representing the size of the ending in pixels for 1px wide lines.
6778
-
6791
+
6779
6792
  small
6780
-
6793
+
6781
6794
  large
6782
6795
  */
6783
6796
 
@@ -6790,19 +6803,19 @@ var LineEndingSize;
6790
6803
  })(LineEndingSize || (LineEndingSize = {}));
6791
6804
  /**
6792
6805
  * Type of the line ending.
6793
-
6806
+
6794
6807
  none
6795
-
6808
+
6796
6809
  arrow
6797
-
6810
+
6798
6811
  filledArrow
6799
-
6812
+
6800
6813
  square
6801
-
6814
+
6802
6815
  filledSquare
6803
-
6816
+
6804
6817
  circle
6805
-
6818
+
6806
6819
  filledCircle
6807
6820
  */
6808
6821
 
@@ -6820,15 +6833,15 @@ var LineEndingType;
6820
6833
  })(LineEndingType || (LineEndingType = {}));
6821
6834
  /**
6822
6835
  *
6823
-
6836
+
6824
6837
  Unknown
6825
-
6838
+
6826
6839
  union
6827
-
6840
+
6828
6841
  intersection
6829
-
6842
+
6830
6843
  subtraction
6831
-
6844
+
6832
6845
  symDifference
6833
6846
  */
6834
6847
 
@@ -6844,19 +6857,19 @@ var Operation;
6844
6857
  })(Operation || (Operation = {}));
6845
6858
  /**
6846
6859
  * User permissions for server security objects (services, projects etc.)
6847
-
6860
+
6848
6861
  none
6849
-
6862
+
6850
6863
  configure
6851
-
6864
+
6852
6865
  write
6853
-
6866
+
6854
6867
  read
6855
-
6868
+
6856
6869
  read,configure
6857
-
6870
+
6858
6871
  read,write
6859
-
6872
+
6860
6873
  read,write,configure
6861
6874
  */
6862
6875
 
@@ -6874,17 +6887,17 @@ var Permissions;
6874
6887
  })(Permissions || (Permissions = {}));
6875
6888
  /**
6876
6889
  * Type of the authorization policy.
6877
-
6890
+
6878
6891
  Unknown
6879
-
6892
+
6880
6893
  CreateTable
6881
-
6894
+
6882
6895
  CreateLayer
6883
-
6896
+
6884
6897
  CreateProject
6885
-
6898
+
6886
6899
  MaxFeaturesInOneTable
6887
-
6900
+
6888
6901
  MaxObjectsToExport
6889
6902
  */
6890
6903
 
@@ -6901,19 +6914,19 @@ var PolicyType;
6901
6914
  })(PolicyType || (PolicyType = {}));
6902
6915
  /**
6903
6916
  * The `ResourceType` represents resource manager supports types.
6904
-
6917
+
6905
6918
  Unknown
6906
-
6919
+
6907
6920
  table
6908
-
6921
+
6909
6922
  layer
6910
-
6923
+
6911
6924
  project
6912
-
6925
+
6913
6926
  file
6914
-
6927
+
6915
6928
  feature
6916
-
6929
+
6917
6930
  tag
6918
6931
  */
6919
6932
 
@@ -6939,21 +6952,21 @@ var ResourceTypeLink;
6939
6952
  })(ResourceTypeLink || (ResourceTypeLink = {}));
6940
6953
  /**
6941
6954
  * Status of the server task.
6942
-
6955
+
6943
6956
  None
6944
-
6957
+
6945
6958
  Scheduled
6946
-
6959
+
6947
6960
  Planning
6948
-
6961
+
6949
6962
  Executing
6950
-
6963
+
6951
6964
  Completed
6952
-
6965
+
6953
6966
  Failed
6954
-
6967
+
6955
6968
  Canceled
6956
-
6969
+
6957
6970
  Timeout
6958
6971
  */
6959
6972
 
@@ -6972,11 +6985,11 @@ var ServerTaskStatus;
6972
6985
  })(ServerTaskStatus || (ServerTaskStatus = {}));
6973
6986
  /**
6974
6987
  * The `StringSubType` provides information about string attribute subtype.
6975
-
6988
+
6976
6989
  None
6977
-
6990
+
6978
6991
  Image
6979
-
6992
+
6980
6993
  PkkCode
6981
6994
  */
6982
6995
 
@@ -6990,13 +7003,13 @@ var StringSubType;
6990
7003
  })(StringSubType || (StringSubType = {}));
6991
7004
  /**
6992
7005
  * Sets the horizontal alignment of text.
6993
-
7006
+
6994
7007
  right
6995
-
7008
+
6996
7009
  left
6997
-
7010
+
6998
7011
  center
6999
-
7012
+
7000
7013
  justified
7001
7014
  */
7002
7015
 
@@ -7011,11 +7024,11 @@ var TextAlignment;
7011
7024
  })(TextAlignment || (TextAlignment = {}));
7012
7025
  /**
7013
7026
  * Sets the vertical alignment of text.
7014
-
7027
+
7015
7028
  top
7016
-
7029
+
7017
7030
  bottom
7018
-
7031
+
7019
7032
  middle
7020
7033
  */
7021
7034