@evergis/api 3.0.176 → 3.0.178

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
@@ -30,9 +30,6 @@ function _defineProperties(target, props) {
30
30
  function _createClass(Constructor, protoProps, staticProps) {
31
31
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
32
32
  if (staticProps) _defineProperties(Constructor, staticProps);
33
- Object.defineProperty(Constructor, "prototype", {
34
- writable: false
35
- });
36
33
  return Constructor;
37
34
  }
38
35
 
@@ -66,9 +63,6 @@ function _inherits(subClass, superClass) {
66
63
  configurable: true
67
64
  }
68
65
  });
69
- Object.defineProperty(subClass, "prototype", {
70
- writable: false
71
- });
72
66
  if (superClass) _setPrototypeOf(subClass, superClass);
73
67
  }
74
68
 
@@ -127,8 +121,6 @@ function _assertThisInitialized(self) {
127
121
  function _possibleConstructorReturn(self, call) {
128
122
  if (call && (typeof call === "object" || typeof call === "function")) {
129
123
  return call;
130
- } else if (call !== void 0) {
131
- throw new TypeError("Derived constructors may only return object or undefined");
132
124
  }
133
125
 
134
126
  return _assertThisInitialized(self);
@@ -162,7 +154,7 @@ function _superPropBase(object, property) {
162
154
  return object;
163
155
  }
164
156
 
165
- function _get() {
157
+ function _get(target, property, receiver) {
166
158
  if (typeof Reflect !== "undefined" && Reflect.get) {
167
159
  _get = Reflect.get;
168
160
  } else {
@@ -173,14 +165,14 @@ function _get() {
173
165
  var desc = Object.getOwnPropertyDescriptor(base, property);
174
166
 
175
167
  if (desc.get) {
176
- return desc.get.call(arguments.length < 3 ? target : receiver);
168
+ return desc.get.call(receiver);
177
169
  }
178
170
 
179
171
  return desc.value;
180
172
  };
181
173
  }
182
174
 
183
- return _get.apply(this, arguments);
175
+ return _get(target, property, receiver || target);
184
176
  }
185
177
 
186
178
  let HttpClient = /*#__PURE__*/function () {
@@ -3977,7 +3969,8 @@ function notError(v) {
3977
3969
  return !isError(v);
3978
3970
  }
3979
3971
 
3980
- const _excluded$5 = ["remote"];
3972
+ const _excluded$5 = ["remote"],
3973
+ _excluded2$3 = ["remote"];
3981
3974
  let Layers = /*#__PURE__*/function (_LayersService) {
3982
3975
  _inherits(Layers, _LayersService);
3983
3976
 
@@ -4025,6 +4018,20 @@ let Layers = /*#__PURE__*/function (_LayersService) {
4025
4018
 
4026
4019
  return this.publishLocalTileService(configuration);
4027
4020
  }
4021
+ }, {
4022
+ key: "updateTileLayer",
4023
+ value: function updateTileLayer(_ref2) {
4024
+ let {
4025
+ remote
4026
+ } = _ref2,
4027
+ configuration = _objectWithoutPropertiesLoose(_ref2, _excluded2$3);
4028
+
4029
+ if (remote) {
4030
+ return this.updateRemoteTileService(configuration.name, configuration);
4031
+ }
4032
+
4033
+ return this.updateLocalTileService(configuration.name, configuration);
4034
+ }
4028
4035
  }, {
4029
4036
  key: "uploadPreview",
4030
4037
  value: function uploadPreview(name, file) {
@@ -4062,6 +4069,16 @@ let Layers = /*#__PURE__*/function (_LayersService) {
4062
4069
  value: function updateQueryLayer(configuration) {
4063
4070
  return this.updateQueryLayerService(configuration.name, configuration);
4064
4071
  }
4072
+ }, {
4073
+ key: "createProxyLayer",
4074
+ value: function createProxyLayer(configuration) {
4075
+ return this.publishProxyService(configuration);
4076
+ }
4077
+ }, {
4078
+ key: "updateProxyLayer",
4079
+ value: function updateProxyLayer(configuration) {
4080
+ return this.updateProxyService(configuration.name, configuration);
4081
+ }
4065
4082
  }, {
4066
4083
  key: "remove",
4067
4084
  value: async function remove(name) {
@@ -4519,8 +4536,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
4519
4536
  || event.code === 4002
4520
4537
  /* InvalidSession */
4521
4538
  ) {
4522
- _this.connectStatus = ConnectionStatus.SessionClosed;
4523
- } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
4539
+ _this.connectStatus = ConnectionStatus.SessionClosed;
4540
+ } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
4524
4541
  _this.connectStatus = ConnectionStatus.Break;
4525
4542
  _this.reconnectTries++;
4526
4543
 
@@ -5354,12 +5371,12 @@ let Resources = /*#__PURE__*/function () {
5354
5371
  }, {
5355
5372
  key: "getDependentNames",
5356
5373
  value: function getDependentNames(deps, depType) {
5357
- return deps.filter(_ref => {
5374
+ return deps.filter((_ref) => {
5358
5375
  let {
5359
5376
  type
5360
5377
  } = _ref;
5361
5378
  return type === depType;
5362
- }).map(_ref2 => {
5379
+ }).map((_ref2) => {
5363
5380
  let {
5364
5381
  name
5365
5382
  } = _ref2;
@@ -5815,7 +5832,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
5815
5832
  const taskProgress = await this.getTaskProgress(id);
5816
5833
  this.resolveTaskStatus(taskProgress, resolve, reject);
5817
5834
 
5818
- const taskResultCallback = async _ref => {
5835
+ const taskResultCallback = async (_ref) => {
5819
5836
  let {
5820
5837
  data
5821
5838
  } = _ref;
@@ -6239,7 +6256,7 @@ let Styles = /*#__PURE__*/function (_StyleService) {
6239
6256
  }(StyleService);
6240
6257
 
6241
6258
  const _excluded$6 = ["name"],
6242
- _excluded2$3 = ["name"],
6259
+ _excluded2$4 = ["name"],
6243
6260
  _excluded3$3 = ["name"],
6244
6261
  _excluded4$2 = ["name"];
6245
6262
  /**
@@ -6457,7 +6474,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
6457
6474
  let {
6458
6475
  name
6459
6476
  } = _ref2,
6460
- query = _objectWithoutPropertiesLoose(_ref2, _excluded2$3);
6477
+ query = _objectWithoutPropertiesLoose(_ref2, _excluded2$4);
6461
6478
 
6462
6479
  return this.http.patch("/tables/" + name + "/data", data, query).then(() => {});
6463
6480
  }
@@ -7434,47 +7451,47 @@ function isFeatureLayer(layer) {
7434
7451
 
7435
7452
  /**
7436
7453
  *
7437
-
7454
+
7438
7455
  None
7439
-
7456
+
7440
7457
  Array
7441
-
7458
+
7442
7459
  Min
7443
-
7460
+
7444
7461
  Max
7445
-
7462
+
7446
7463
  Avg
7447
-
7464
+
7448
7465
  Sum
7449
-
7466
+
7450
7467
  Extent
7451
-
7468
+
7452
7469
  H3
7453
-
7470
+
7454
7471
  Count
7455
-
7472
+
7456
7473
  TotalCount
7457
-
7474
+
7458
7475
  DistinctCount
7459
-
7476
+
7460
7477
  First
7461
-
7478
+
7462
7479
  Last
7463
-
7480
+
7464
7481
  Median
7465
-
7482
+
7466
7483
  Mod
7467
-
7484
+
7468
7485
  StdDeviation
7469
-
7486
+
7470
7487
  SumOfProduct
7471
-
7488
+
7472
7489
  OnlyValue
7473
-
7490
+
7474
7491
  WeightedAvg
7475
-
7492
+
7476
7493
  DensityIndicators
7477
-
7494
+
7478
7495
  DividedSum
7479
7496
  */
7480
7497
  var AggregationFunction;
@@ -7504,13 +7521,13 @@ var AggregationFunction;
7504
7521
  })(AggregationFunction || (AggregationFunction = {}));
7505
7522
  /**
7506
7523
  * Attribute selector type.
7507
-
7524
+
7508
7525
  None
7509
-
7526
+
7510
7527
  SelectFromHandBook
7511
-
7528
+
7512
7529
  SelectFromRange
7513
-
7530
+
7514
7531
  ViewHandBook
7515
7532
  */
7516
7533
 
@@ -7525,31 +7542,31 @@ var AttributeSelectorType;
7525
7542
  })(AttributeSelectorType || (AttributeSelectorType = {}));
7526
7543
  /**
7527
7544
  * Types of the attributes that are supported by the system.
7528
-
7545
+
7529
7546
  Unknown
7530
-
7547
+
7531
7548
  String
7532
-
7549
+
7533
7550
  Int32
7534
-
7551
+
7535
7552
  Int64
7536
-
7553
+
7537
7554
  Double
7538
-
7555
+
7539
7556
  DateTime
7540
-
7557
+
7541
7558
  Boolean
7542
-
7559
+
7543
7560
  Point
7544
-
7561
+
7545
7562
  Polyline
7546
-
7563
+
7547
7564
  MultiPolygon
7548
-
7565
+
7549
7566
  Multipoint
7550
-
7567
+
7551
7568
  H3Index
7552
-
7569
+
7553
7570
  Json
7554
7571
  */
7555
7572
 
@@ -7573,15 +7590,15 @@ var AttributeType;
7573
7590
  })(AttributeType || (AttributeType = {}));
7574
7591
  /**
7575
7592
  * Describes classification methods.
7576
-
7593
+
7577
7594
  none
7578
-
7595
+
7579
7596
  naturalBreaks
7580
-
7597
+
7581
7598
  equalInterval
7582
-
7599
+
7583
7600
  quantile
7584
-
7601
+
7585
7602
  unique
7586
7603
  */
7587
7604
 
@@ -7597,11 +7614,11 @@ var ClassificationType;
7597
7614
  })(ClassificationType || (ClassificationType = {}));
7598
7615
  /**
7599
7616
  *
7600
-
7617
+
7601
7618
  decimal
7602
-
7619
+
7603
7620
  dateTime
7604
-
7621
+
7605
7622
  text
7606
7623
  */
7607
7624
 
@@ -7615,55 +7632,55 @@ var ClassifyAttributeType;
7615
7632
  })(ClassifyAttributeType || (ClassifyAttributeType = {}));
7616
7633
  /**
7617
7634
  * Types of errors that can occur during layer initialize.
7618
-
7635
+
7619
7636
  Unknown
7620
-
7637
+
7621
7638
  SerializeError
7622
-
7639
+
7623
7640
  InvalidDataService
7624
-
7641
+
7625
7642
  InvalidConfiguration
7626
-
7643
+
7627
7644
  InvalidDataServiceName
7628
-
7645
+
7629
7646
  InvalidTableName
7630
-
7647
+
7631
7648
  InvalidLayerName
7632
-
7649
+
7633
7650
  ResourceNotFound
7634
-
7651
+
7635
7652
  InvalidCondition
7636
-
7653
+
7637
7654
  InvalidAttributes
7638
-
7655
+
7639
7656
  InvalidIdAttribute
7640
-
7657
+
7641
7658
  InvalidGeometryAttribute
7642
-
7659
+
7643
7660
  InvalidGeometryAttributeType
7644
-
7661
+
7645
7662
  InvalidColumnName
7646
-
7663
+
7647
7664
  InvalidIdColumnSettings
7648
-
7665
+
7649
7666
  ColumnNotExistsInTable
7650
-
7667
+
7651
7668
  InvalidStyle
7652
-
7669
+
7653
7670
  InvalidLayerType
7654
-
7671
+
7655
7672
  ColumnLoadingError
7656
-
7673
+
7657
7674
  InvalidAttributeFormat
7658
-
7675
+
7659
7676
  DataSourceNotFound
7660
-
7677
+
7661
7678
  DuplicateColumns
7662
-
7679
+
7663
7680
  DuplicateAttributes
7664
-
7681
+
7665
7682
  TableWithoutColumns
7666
-
7683
+
7667
7684
  InvalidTableReferenceConfiguration
7668
7685
  */
7669
7686
 
@@ -7699,15 +7716,15 @@ var ConfigurationErrorEnum;
7699
7716
  })(ConfigurationErrorEnum || (ConfigurationErrorEnum = {}));
7700
7717
  /**
7701
7718
  * Type of the error.
7702
-
7719
+
7703
7720
  ResourceLimitExceeded
7704
-
7721
+
7705
7722
  ResourceNotFound
7706
-
7723
+
7707
7724
  InternalError
7708
-
7725
+
7709
7726
  BadRequest
7710
-
7727
+
7711
7728
  DuplicateContent
7712
7729
  */
7713
7730
 
@@ -7758,9 +7775,9 @@ var ErrorType;
7758
7775
  })(ErrorType || (ErrorType = {}));
7759
7776
  /**
7760
7777
  * Type of the feature.
7761
-
7778
+
7762
7779
  Unknown
7763
-
7780
+
7764
7781
  GeometricFeature
7765
7782
  */
7766
7783
 
@@ -7773,11 +7790,11 @@ var FeatureType;
7773
7790
  })(FeatureType || (FeatureType = {}));
7774
7791
  /**
7775
7792
  * Sets whether font should be styled.
7776
-
7793
+
7777
7794
  normal
7778
-
7795
+
7779
7796
  oblique
7780
-
7797
+
7781
7798
  italic
7782
7799
  */
7783
7800
 
@@ -7791,27 +7808,27 @@ var FontStyle;
7791
7808
  })(FontStyle || (FontStyle = {}));
7792
7809
  /**
7793
7810
  * Specifies the weight (or boldness) of the font.
7794
-
7811
+
7795
7812
  Thin
7796
-
7813
+
7797
7814
  ExtraLight
7798
-
7815
+
7799
7816
  Light
7800
-
7817
+
7801
7818
  SemiLight
7802
-
7819
+
7803
7820
  Normal
7804
-
7821
+
7805
7822
  Medium
7806
-
7823
+
7807
7824
  DemiBold
7808
-
7825
+
7809
7826
  Bold
7810
-
7827
+
7811
7828
  ExtraBold
7812
-
7829
+
7813
7830
  Black
7814
-
7831
+
7815
7832
  ExtraBlack
7816
7833
  */
7817
7834
 
@@ -7833,17 +7850,17 @@ var FontWeight;
7833
7850
  })(FontWeight || (FontWeight = {}));
7834
7851
  /**
7835
7852
  *
7836
-
7853
+
7837
7854
  unknown
7838
-
7855
+
7839
7856
  point
7840
-
7857
+
7841
7858
  polyline
7842
-
7859
+
7843
7860
  multipolygon
7844
-
7861
+
7845
7862
  envelope
7846
-
7863
+
7847
7864
  multipoint
7848
7865
  */
7849
7866
 
@@ -7860,13 +7877,13 @@ var GeometryType;
7860
7877
  })(GeometryType || (GeometryType = {}));
7861
7878
  /**
7862
7879
  * Resource group.
7863
-
7880
+
7864
7881
  my
7865
-
7882
+
7866
7883
  role
7867
-
7884
+
7868
7885
  public
7869
-
7886
+
7870
7887
  all
7871
7888
  */
7872
7889
 
@@ -7881,13 +7898,13 @@ var Group;
7881
7898
  })(Group || (Group = {}));
7882
7899
  /**
7883
7900
  * Specifies the settings of line cap. This is applied to the beginning and end of each non-closed line.
7884
-
7901
+
7885
7902
  Flat
7886
-
7903
+
7887
7904
  Square
7888
-
7905
+
7889
7906
  Round
7890
-
7907
+
7891
7908
  Triangle
7892
7909
  */
7893
7910
 
@@ -7902,29 +7919,29 @@ var LineCapStyle;
7902
7919
  })(LineCapStyle || (LineCapStyle = {}));
7903
7920
  /**
7904
7921
  * Type of the line ending.
7905
-
7922
+
7906
7923
  none
7907
-
7924
+
7908
7925
  arrow
7909
-
7926
+
7910
7927
  filledArrow
7911
-
7928
+
7912
7929
  square
7913
-
7930
+
7914
7931
  filledSquare
7915
-
7932
+
7916
7933
  circle
7917
-
7934
+
7918
7935
  filledCircle
7919
-
7936
+
7920
7937
  diamond
7921
-
7938
+
7922
7939
  filledDiamond
7923
-
7940
+
7924
7941
  roundSquare
7925
-
7942
+
7926
7943
  filledRoundSquare
7927
-
7944
+
7928
7945
  svg
7929
7946
  */
7930
7947
 
@@ -7947,11 +7964,11 @@ var LineEndingType;
7947
7964
  })(LineEndingType || (LineEndingType = {}));
7948
7965
  /**
7949
7966
  * Specifies the settings of lines join. This is applied to corners in lines and rectangles.
7950
-
7967
+
7951
7968
  Miter
7952
-
7969
+
7953
7970
  Bevel
7954
-
7971
+
7955
7972
  Round
7956
7973
  */
7957
7974
 
@@ -7965,15 +7982,15 @@ var LineJoinType;
7965
7982
  })(LineJoinType || (LineJoinType = {}));
7966
7983
  /**
7967
7984
  *
7968
-
7985
+
7969
7986
  Unknown
7970
-
7987
+
7971
7988
  union
7972
-
7989
+
7973
7990
  intersection
7974
-
7991
+
7975
7992
  subtraction
7976
-
7993
+
7977
7994
  symDifference
7978
7995
  */
7979
7996
 
@@ -7989,9 +8006,9 @@ var Operation;
7989
8006
  })(Operation || (Operation = {}));
7990
8007
  /**
7991
8008
  * Influences the y direction of the tile coordinates. The global-mercator (aka Spherical Mercator) profile is assumed.
7992
-
8009
+
7993
8010
  xyz
7994
-
8011
+
7995
8012
  tms
7996
8013
  */
7997
8014
 
@@ -8004,19 +8021,19 @@ var PbfSchema;
8004
8021
  })(PbfSchema || (PbfSchema = {}));
8005
8022
  /**
8006
8023
  * User permissions for server security objects (services, projects etc.)
8007
-
8024
+
8008
8025
  none
8009
-
8026
+
8010
8027
  configure
8011
-
8028
+
8012
8029
  write
8013
-
8030
+
8014
8031
  read
8015
-
8032
+
8016
8033
  read,configure
8017
-
8034
+
8018
8035
  read,write
8019
-
8036
+
8020
8037
  read,write,configure
8021
8038
  */
8022
8039
 
@@ -8034,19 +8051,19 @@ var Permissions;
8034
8051
  })(Permissions || (Permissions = {}));
8035
8052
  /**
8036
8053
  * Type of the authorization policy.
8037
-
8054
+
8038
8055
  Unknown
8039
-
8056
+
8040
8057
  CreateTable
8041
-
8058
+
8042
8059
  CreateLayer
8043
-
8060
+
8044
8061
  CreateProject
8045
-
8062
+
8046
8063
  MaxFeaturesInOneTable
8047
-
8064
+
8048
8065
  MaxObjectsToExport
8049
-
8066
+
8050
8067
  MaxUploadContentSize
8051
8068
  */
8052
8069
 
@@ -8064,17 +8081,17 @@ var PolicyType;
8064
8081
  })(PolicyType || (PolicyType = {}));
8065
8082
  /**
8066
8083
  * Types of table reference.
8067
-
8084
+
8068
8085
  OneToMany
8069
-
8086
+
8070
8087
  OneToOne
8071
-
8088
+
8072
8089
  Intersect
8073
-
8090
+
8074
8091
  RightJoin
8075
-
8092
+
8076
8093
  FullJoin
8077
-
8094
+
8078
8095
  CrossJoin
8079
8096
  */
8080
8097
 
@@ -8091,19 +8108,19 @@ var ReferenceJoinType;
8091
8108
  })(ReferenceJoinType || (ReferenceJoinType = {}));
8092
8109
  /**
8093
8110
  * The `ResourceType` represents resource manager supports types.
8094
-
8111
+
8095
8112
  Unknown
8096
-
8113
+
8097
8114
  table
8098
-
8115
+
8099
8116
  layer
8100
-
8117
+
8101
8118
  project
8102
-
8119
+
8103
8120
  file
8104
-
8121
+
8105
8122
  feature
8106
-
8123
+
8107
8124
  tag
8108
8125
  */
8109
8126
 
@@ -8129,21 +8146,21 @@ var ResourceTypeLink;
8129
8146
  })(ResourceTypeLink || (ResourceTypeLink = {}));
8130
8147
  /**
8131
8148
  * Status of the server task.
8132
-
8149
+
8133
8150
  None
8134
-
8151
+
8135
8152
  Scheduled
8136
-
8153
+
8137
8154
  Planning
8138
-
8155
+
8139
8156
  Executing
8140
-
8157
+
8141
8158
  Completed
8142
-
8159
+
8143
8160
  Failed
8144
-
8161
+
8145
8162
  Canceled
8146
-
8163
+
8147
8164
  Timeout
8148
8165
  */
8149
8166
 
@@ -8162,11 +8179,11 @@ var ServerTaskStatus;
8162
8179
  })(ServerTaskStatus || (ServerTaskStatus = {}));
8163
8180
  /**
8164
8181
  * Simplify type.
8165
-
8182
+
8166
8183
  Basic
8167
-
8184
+
8168
8185
  PreserveTopology
8169
-
8186
+
8170
8187
  VW
8171
8188
  */
8172
8189
 
@@ -8180,13 +8197,13 @@ var SimplifyType;
8180
8197
  })(SimplifyType || (SimplifyType = {}));
8181
8198
  /**
8182
8199
  * The `StringSubType` provides information about string attribute subtype.
8183
-
8200
+
8184
8201
  None
8185
-
8202
+
8186
8203
  Image
8187
-
8204
+
8188
8205
  PkkCode
8189
-
8206
+
8190
8207
  Attachments
8191
8208
  */
8192
8209
 
@@ -8201,9 +8218,9 @@ var StringSubType;
8201
8218
  })(StringSubType || (StringSubType = {}));
8202
8219
  /**
8203
8220
  * Task owner group.
8204
-
8221
+
8205
8222
  my
8206
-
8223
+
8207
8224
  all
8208
8225
  */
8209
8226
 
@@ -8216,13 +8233,13 @@ var TaskGroup;
8216
8233
  })(TaskGroup || (TaskGroup = {}));
8217
8234
  /**
8218
8235
  * Sets the horizontal alignment of text.
8219
-
8236
+
8220
8237
  right
8221
-
8238
+
8222
8239
  left
8223
-
8240
+
8224
8241
  center
8225
-
8242
+
8226
8243
  justified
8227
8244
  */
8228
8245
 
@@ -8237,11 +8254,11 @@ var TextAlignment;
8237
8254
  })(TextAlignment || (TextAlignment = {}));
8238
8255
  /**
8239
8256
  * Sets the vertical alignment of text.
8240
-
8257
+
8241
8258
  top
8242
-
8259
+
8243
8260
  bottom
8244
-
8261
+
8245
8262
  middle
8246
8263
  */
8247
8264