@evergis/api 3.0.175 → 3.0.176

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,6 +30,9 @@ 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
+ });
33
36
  return Constructor;
34
37
  }
35
38
 
@@ -63,6 +66,9 @@ function _inherits(subClass, superClass) {
63
66
  configurable: true
64
67
  }
65
68
  });
69
+ Object.defineProperty(subClass, "prototype", {
70
+ writable: false
71
+ });
66
72
  if (superClass) _setPrototypeOf(subClass, superClass);
67
73
  }
68
74
 
@@ -121,6 +127,8 @@ function _assertThisInitialized(self) {
121
127
  function _possibleConstructorReturn(self, call) {
122
128
  if (call && (typeof call === "object" || typeof call === "function")) {
123
129
  return call;
130
+ } else if (call !== void 0) {
131
+ throw new TypeError("Derived constructors may only return object or undefined");
124
132
  }
125
133
 
126
134
  return _assertThisInitialized(self);
@@ -154,7 +162,7 @@ function _superPropBase(object, property) {
154
162
  return object;
155
163
  }
156
164
 
157
- function _get(target, property, receiver) {
165
+ function _get() {
158
166
  if (typeof Reflect !== "undefined" && Reflect.get) {
159
167
  _get = Reflect.get;
160
168
  } else {
@@ -165,14 +173,14 @@ function _get(target, property, receiver) {
165
173
  var desc = Object.getOwnPropertyDescriptor(base, property);
166
174
 
167
175
  if (desc.get) {
168
- return desc.get.call(receiver);
176
+ return desc.get.call(arguments.length < 3 ? target : receiver);
169
177
  }
170
178
 
171
179
  return desc.value;
172
180
  };
173
181
  }
174
182
 
175
- return _get(target, property, receiver || target);
183
+ return _get.apply(this, arguments);
176
184
  }
177
185
 
178
186
  let HttpClient = /*#__PURE__*/function () {
@@ -4044,6 +4052,16 @@ let Layers = /*#__PURE__*/function (_LayersService) {
4044
4052
  value: function update(configuration) {
4045
4053
  return this.updatePostgresLayerService(configuration.name, configuration);
4046
4054
  }
4055
+ }, {
4056
+ key: "createQueryLayer",
4057
+ value: function createQueryLayer(configuration) {
4058
+ return this.publishQueryLayerService(configuration);
4059
+ }
4060
+ }, {
4061
+ key: "updateQueryLayer",
4062
+ value: function updateQueryLayer(configuration) {
4063
+ return this.updateQueryLayerService(configuration.name, configuration);
4064
+ }
4047
4065
  }, {
4048
4066
  key: "remove",
4049
4067
  value: async function remove(name) {
@@ -4501,8 +4519,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
4501
4519
  || event.code === 4002
4502
4520
  /* InvalidSession */
4503
4521
  ) {
4504
- _this.connectStatus = ConnectionStatus.SessionClosed;
4505
- } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
4522
+ _this.connectStatus = ConnectionStatus.SessionClosed;
4523
+ } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
4506
4524
  _this.connectStatus = ConnectionStatus.Break;
4507
4525
  _this.reconnectTries++;
4508
4526
 
@@ -5336,12 +5354,12 @@ let Resources = /*#__PURE__*/function () {
5336
5354
  }, {
5337
5355
  key: "getDependentNames",
5338
5356
  value: function getDependentNames(deps, depType) {
5339
- return deps.filter((_ref) => {
5357
+ return deps.filter(_ref => {
5340
5358
  let {
5341
5359
  type
5342
5360
  } = _ref;
5343
5361
  return type === depType;
5344
- }).map((_ref2) => {
5362
+ }).map(_ref2 => {
5345
5363
  let {
5346
5364
  name
5347
5365
  } = _ref2;
@@ -5797,7 +5815,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
5797
5815
  const taskProgress = await this.getTaskProgress(id);
5798
5816
  this.resolveTaskStatus(taskProgress, resolve, reject);
5799
5817
 
5800
- const taskResultCallback = async (_ref) => {
5818
+ const taskResultCallback = async _ref => {
5801
5819
  let {
5802
5820
  data
5803
5821
  } = _ref;
@@ -7416,47 +7434,47 @@ function isFeatureLayer(layer) {
7416
7434
 
7417
7435
  /**
7418
7436
  *
7419
-
7437
+
7420
7438
  None
7421
-
7439
+
7422
7440
  Array
7423
-
7441
+
7424
7442
  Min
7425
-
7443
+
7426
7444
  Max
7427
-
7445
+
7428
7446
  Avg
7429
-
7447
+
7430
7448
  Sum
7431
-
7449
+
7432
7450
  Extent
7433
-
7451
+
7434
7452
  H3
7435
-
7453
+
7436
7454
  Count
7437
-
7455
+
7438
7456
  TotalCount
7439
-
7457
+
7440
7458
  DistinctCount
7441
-
7459
+
7442
7460
  First
7443
-
7461
+
7444
7462
  Last
7445
-
7463
+
7446
7464
  Median
7447
-
7465
+
7448
7466
  Mod
7449
-
7467
+
7450
7468
  StdDeviation
7451
-
7469
+
7452
7470
  SumOfProduct
7453
-
7471
+
7454
7472
  OnlyValue
7455
-
7473
+
7456
7474
  WeightedAvg
7457
-
7475
+
7458
7476
  DensityIndicators
7459
-
7477
+
7460
7478
  DividedSum
7461
7479
  */
7462
7480
  var AggregationFunction;
@@ -7486,13 +7504,13 @@ var AggregationFunction;
7486
7504
  })(AggregationFunction || (AggregationFunction = {}));
7487
7505
  /**
7488
7506
  * Attribute selector type.
7489
-
7507
+
7490
7508
  None
7491
-
7509
+
7492
7510
  SelectFromHandBook
7493
-
7511
+
7494
7512
  SelectFromRange
7495
-
7513
+
7496
7514
  ViewHandBook
7497
7515
  */
7498
7516
 
@@ -7507,31 +7525,31 @@ var AttributeSelectorType;
7507
7525
  })(AttributeSelectorType || (AttributeSelectorType = {}));
7508
7526
  /**
7509
7527
  * Types of the attributes that are supported by the system.
7510
-
7528
+
7511
7529
  Unknown
7512
-
7530
+
7513
7531
  String
7514
-
7532
+
7515
7533
  Int32
7516
-
7534
+
7517
7535
  Int64
7518
-
7536
+
7519
7537
  Double
7520
-
7538
+
7521
7539
  DateTime
7522
-
7540
+
7523
7541
  Boolean
7524
-
7542
+
7525
7543
  Point
7526
-
7544
+
7527
7545
  Polyline
7528
-
7546
+
7529
7547
  MultiPolygon
7530
-
7548
+
7531
7549
  Multipoint
7532
-
7550
+
7533
7551
  H3Index
7534
-
7552
+
7535
7553
  Json
7536
7554
  */
7537
7555
 
@@ -7555,15 +7573,15 @@ var AttributeType;
7555
7573
  })(AttributeType || (AttributeType = {}));
7556
7574
  /**
7557
7575
  * Describes classification methods.
7558
-
7576
+
7559
7577
  none
7560
-
7578
+
7561
7579
  naturalBreaks
7562
-
7580
+
7563
7581
  equalInterval
7564
-
7582
+
7565
7583
  quantile
7566
-
7584
+
7567
7585
  unique
7568
7586
  */
7569
7587
 
@@ -7579,11 +7597,11 @@ var ClassificationType;
7579
7597
  })(ClassificationType || (ClassificationType = {}));
7580
7598
  /**
7581
7599
  *
7582
-
7600
+
7583
7601
  decimal
7584
-
7602
+
7585
7603
  dateTime
7586
-
7604
+
7587
7605
  text
7588
7606
  */
7589
7607
 
@@ -7597,55 +7615,55 @@ var ClassifyAttributeType;
7597
7615
  })(ClassifyAttributeType || (ClassifyAttributeType = {}));
7598
7616
  /**
7599
7617
  * Types of errors that can occur during layer initialize.
7600
-
7618
+
7601
7619
  Unknown
7602
-
7620
+
7603
7621
  SerializeError
7604
-
7622
+
7605
7623
  InvalidDataService
7606
-
7624
+
7607
7625
  InvalidConfiguration
7608
-
7626
+
7609
7627
  InvalidDataServiceName
7610
-
7628
+
7611
7629
  InvalidTableName
7612
-
7630
+
7613
7631
  InvalidLayerName
7614
-
7632
+
7615
7633
  ResourceNotFound
7616
-
7634
+
7617
7635
  InvalidCondition
7618
-
7636
+
7619
7637
  InvalidAttributes
7620
-
7638
+
7621
7639
  InvalidIdAttribute
7622
-
7640
+
7623
7641
  InvalidGeometryAttribute
7624
-
7642
+
7625
7643
  InvalidGeometryAttributeType
7626
-
7644
+
7627
7645
  InvalidColumnName
7628
-
7646
+
7629
7647
  InvalidIdColumnSettings
7630
-
7648
+
7631
7649
  ColumnNotExistsInTable
7632
-
7650
+
7633
7651
  InvalidStyle
7634
-
7652
+
7635
7653
  InvalidLayerType
7636
-
7654
+
7637
7655
  ColumnLoadingError
7638
-
7656
+
7639
7657
  InvalidAttributeFormat
7640
-
7658
+
7641
7659
  DataSourceNotFound
7642
-
7660
+
7643
7661
  DuplicateColumns
7644
-
7662
+
7645
7663
  DuplicateAttributes
7646
-
7664
+
7647
7665
  TableWithoutColumns
7648
-
7666
+
7649
7667
  InvalidTableReferenceConfiguration
7650
7668
  */
7651
7669
 
@@ -7681,15 +7699,15 @@ var ConfigurationErrorEnum;
7681
7699
  })(ConfigurationErrorEnum || (ConfigurationErrorEnum = {}));
7682
7700
  /**
7683
7701
  * Type of the error.
7684
-
7702
+
7685
7703
  ResourceLimitExceeded
7686
-
7704
+
7687
7705
  ResourceNotFound
7688
-
7706
+
7689
7707
  InternalError
7690
-
7708
+
7691
7709
  BadRequest
7692
-
7710
+
7693
7711
  DuplicateContent
7694
7712
  */
7695
7713
 
@@ -7740,9 +7758,9 @@ var ErrorType;
7740
7758
  })(ErrorType || (ErrorType = {}));
7741
7759
  /**
7742
7760
  * Type of the feature.
7743
-
7761
+
7744
7762
  Unknown
7745
-
7763
+
7746
7764
  GeometricFeature
7747
7765
  */
7748
7766
 
@@ -7755,11 +7773,11 @@ var FeatureType;
7755
7773
  })(FeatureType || (FeatureType = {}));
7756
7774
  /**
7757
7775
  * Sets whether font should be styled.
7758
-
7776
+
7759
7777
  normal
7760
-
7778
+
7761
7779
  oblique
7762
-
7780
+
7763
7781
  italic
7764
7782
  */
7765
7783
 
@@ -7773,27 +7791,27 @@ var FontStyle;
7773
7791
  })(FontStyle || (FontStyle = {}));
7774
7792
  /**
7775
7793
  * Specifies the weight (or boldness) of the font.
7776
-
7794
+
7777
7795
  Thin
7778
-
7796
+
7779
7797
  ExtraLight
7780
-
7798
+
7781
7799
  Light
7782
-
7800
+
7783
7801
  SemiLight
7784
-
7802
+
7785
7803
  Normal
7786
-
7804
+
7787
7805
  Medium
7788
-
7806
+
7789
7807
  DemiBold
7790
-
7808
+
7791
7809
  Bold
7792
-
7810
+
7793
7811
  ExtraBold
7794
-
7812
+
7795
7813
  Black
7796
-
7814
+
7797
7815
  ExtraBlack
7798
7816
  */
7799
7817
 
@@ -7815,17 +7833,17 @@ var FontWeight;
7815
7833
  })(FontWeight || (FontWeight = {}));
7816
7834
  /**
7817
7835
  *
7818
-
7836
+
7819
7837
  unknown
7820
-
7838
+
7821
7839
  point
7822
-
7840
+
7823
7841
  polyline
7824
-
7842
+
7825
7843
  multipolygon
7826
-
7844
+
7827
7845
  envelope
7828
-
7846
+
7829
7847
  multipoint
7830
7848
  */
7831
7849
 
@@ -7842,13 +7860,13 @@ var GeometryType;
7842
7860
  })(GeometryType || (GeometryType = {}));
7843
7861
  /**
7844
7862
  * Resource group.
7845
-
7863
+
7846
7864
  my
7847
-
7865
+
7848
7866
  role
7849
-
7867
+
7850
7868
  public
7851
-
7869
+
7852
7870
  all
7853
7871
  */
7854
7872
 
@@ -7863,13 +7881,13 @@ var Group;
7863
7881
  })(Group || (Group = {}));
7864
7882
  /**
7865
7883
  * Specifies the settings of line cap. This is applied to the beginning and end of each non-closed line.
7866
-
7884
+
7867
7885
  Flat
7868
-
7886
+
7869
7887
  Square
7870
-
7888
+
7871
7889
  Round
7872
-
7890
+
7873
7891
  Triangle
7874
7892
  */
7875
7893
 
@@ -7884,29 +7902,29 @@ var LineCapStyle;
7884
7902
  })(LineCapStyle || (LineCapStyle = {}));
7885
7903
  /**
7886
7904
  * Type of the line ending.
7887
-
7905
+
7888
7906
  none
7889
-
7907
+
7890
7908
  arrow
7891
-
7909
+
7892
7910
  filledArrow
7893
-
7911
+
7894
7912
  square
7895
-
7913
+
7896
7914
  filledSquare
7897
-
7915
+
7898
7916
  circle
7899
-
7917
+
7900
7918
  filledCircle
7901
-
7919
+
7902
7920
  diamond
7903
-
7921
+
7904
7922
  filledDiamond
7905
-
7923
+
7906
7924
  roundSquare
7907
-
7925
+
7908
7926
  filledRoundSquare
7909
-
7927
+
7910
7928
  svg
7911
7929
  */
7912
7930
 
@@ -7929,11 +7947,11 @@ var LineEndingType;
7929
7947
  })(LineEndingType || (LineEndingType = {}));
7930
7948
  /**
7931
7949
  * Specifies the settings of lines join. This is applied to corners in lines and rectangles.
7932
-
7950
+
7933
7951
  Miter
7934
-
7952
+
7935
7953
  Bevel
7936
-
7954
+
7937
7955
  Round
7938
7956
  */
7939
7957
 
@@ -7947,15 +7965,15 @@ var LineJoinType;
7947
7965
  })(LineJoinType || (LineJoinType = {}));
7948
7966
  /**
7949
7967
  *
7950
-
7968
+
7951
7969
  Unknown
7952
-
7970
+
7953
7971
  union
7954
-
7972
+
7955
7973
  intersection
7956
-
7974
+
7957
7975
  subtraction
7958
-
7976
+
7959
7977
  symDifference
7960
7978
  */
7961
7979
 
@@ -7971,9 +7989,9 @@ var Operation;
7971
7989
  })(Operation || (Operation = {}));
7972
7990
  /**
7973
7991
  * Influences the y direction of the tile coordinates. The global-mercator (aka Spherical Mercator) profile is assumed.
7974
-
7992
+
7975
7993
  xyz
7976
-
7994
+
7977
7995
  tms
7978
7996
  */
7979
7997
 
@@ -7986,19 +8004,19 @@ var PbfSchema;
7986
8004
  })(PbfSchema || (PbfSchema = {}));
7987
8005
  /**
7988
8006
  * User permissions for server security objects (services, projects etc.)
7989
-
8007
+
7990
8008
  none
7991
-
8009
+
7992
8010
  configure
7993
-
8011
+
7994
8012
  write
7995
-
8013
+
7996
8014
  read
7997
-
8015
+
7998
8016
  read,configure
7999
-
8017
+
8000
8018
  read,write
8001
-
8019
+
8002
8020
  read,write,configure
8003
8021
  */
8004
8022
 
@@ -8016,19 +8034,19 @@ var Permissions;
8016
8034
  })(Permissions || (Permissions = {}));
8017
8035
  /**
8018
8036
  * Type of the authorization policy.
8019
-
8037
+
8020
8038
  Unknown
8021
-
8039
+
8022
8040
  CreateTable
8023
-
8041
+
8024
8042
  CreateLayer
8025
-
8043
+
8026
8044
  CreateProject
8027
-
8045
+
8028
8046
  MaxFeaturesInOneTable
8029
-
8047
+
8030
8048
  MaxObjectsToExport
8031
-
8049
+
8032
8050
  MaxUploadContentSize
8033
8051
  */
8034
8052
 
@@ -8046,17 +8064,17 @@ var PolicyType;
8046
8064
  })(PolicyType || (PolicyType = {}));
8047
8065
  /**
8048
8066
  * Types of table reference.
8049
-
8067
+
8050
8068
  OneToMany
8051
-
8069
+
8052
8070
  OneToOne
8053
-
8071
+
8054
8072
  Intersect
8055
-
8073
+
8056
8074
  RightJoin
8057
-
8075
+
8058
8076
  FullJoin
8059
-
8077
+
8060
8078
  CrossJoin
8061
8079
  */
8062
8080
 
@@ -8073,19 +8091,19 @@ var ReferenceJoinType;
8073
8091
  })(ReferenceJoinType || (ReferenceJoinType = {}));
8074
8092
  /**
8075
8093
  * The `ResourceType` represents resource manager supports types.
8076
-
8094
+
8077
8095
  Unknown
8078
-
8096
+
8079
8097
  table
8080
-
8098
+
8081
8099
  layer
8082
-
8100
+
8083
8101
  project
8084
-
8102
+
8085
8103
  file
8086
-
8104
+
8087
8105
  feature
8088
-
8106
+
8089
8107
  tag
8090
8108
  */
8091
8109
 
@@ -8111,21 +8129,21 @@ var ResourceTypeLink;
8111
8129
  })(ResourceTypeLink || (ResourceTypeLink = {}));
8112
8130
  /**
8113
8131
  * Status of the server task.
8114
-
8132
+
8115
8133
  None
8116
-
8134
+
8117
8135
  Scheduled
8118
-
8136
+
8119
8137
  Planning
8120
-
8138
+
8121
8139
  Executing
8122
-
8140
+
8123
8141
  Completed
8124
-
8142
+
8125
8143
  Failed
8126
-
8144
+
8127
8145
  Canceled
8128
-
8146
+
8129
8147
  Timeout
8130
8148
  */
8131
8149
 
@@ -8144,11 +8162,11 @@ var ServerTaskStatus;
8144
8162
  })(ServerTaskStatus || (ServerTaskStatus = {}));
8145
8163
  /**
8146
8164
  * Simplify type.
8147
-
8165
+
8148
8166
  Basic
8149
-
8167
+
8150
8168
  PreserveTopology
8151
-
8169
+
8152
8170
  VW
8153
8171
  */
8154
8172
 
@@ -8162,13 +8180,13 @@ var SimplifyType;
8162
8180
  })(SimplifyType || (SimplifyType = {}));
8163
8181
  /**
8164
8182
  * The `StringSubType` provides information about string attribute subtype.
8165
-
8183
+
8166
8184
  None
8167
-
8185
+
8168
8186
  Image
8169
-
8187
+
8170
8188
  PkkCode
8171
-
8189
+
8172
8190
  Attachments
8173
8191
  */
8174
8192
 
@@ -8183,9 +8201,9 @@ var StringSubType;
8183
8201
  })(StringSubType || (StringSubType = {}));
8184
8202
  /**
8185
8203
  * Task owner group.
8186
-
8204
+
8187
8205
  my
8188
-
8206
+
8189
8207
  all
8190
8208
  */
8191
8209
 
@@ -8198,13 +8216,13 @@ var TaskGroup;
8198
8216
  })(TaskGroup || (TaskGroup = {}));
8199
8217
  /**
8200
8218
  * Sets the horizontal alignment of text.
8201
-
8219
+
8202
8220
  right
8203
-
8221
+
8204
8222
  left
8205
-
8223
+
8206
8224
  center
8207
-
8225
+
8208
8226
  justified
8209
8227
  */
8210
8228
 
@@ -8219,11 +8237,11 @@ var TextAlignment;
8219
8237
  })(TextAlignment || (TextAlignment = {}));
8220
8238
  /**
8221
8239
  * Sets the vertical alignment of text.
8222
-
8240
+
8223
8241
  top
8224
-
8242
+
8225
8243
  bottom
8226
-
8244
+
8227
8245
  middle
8228
8246
  */
8229
8247