@evergis/api 3.0.135 → 3.0.137

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,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 () {
@@ -791,6 +799,22 @@ let ImportService = /*#__PURE__*/function (_Service) {
791
799
  value: function getExternalWmsLayers(query) {
792
800
  return this.http.get("/import/wms", query).json();
793
801
  }
802
+ /**
803
+ * No description
804
+ *
805
+ * @tags ImportService
806
+ * @name GetExternalPbfLayers
807
+ * @operationId ImportServiceController_GetExternalPbfLayers
808
+ * @summary Get list of external PBF layers.
809
+ * @request GET:/import/pbf
810
+ * @response `200` Success
811
+ */
812
+
813
+ }, {
814
+ key: "getExternalPbfLayers",
815
+ value: function getExternalPbfLayers(query) {
816
+ return this.http.get("/import/pbf", query).json();
817
+ }
794
818
  /**
795
819
  * No description
796
820
  *
@@ -1000,8 +1024,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
1000
1024
  || event.code === 4002
1001
1025
  /* InvalidSession */
1002
1026
  ) {
1003
- _this.connectStatus = ConnectionStatus.SessionClosed;
1004
- } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
1027
+ _this.connectStatus = ConnectionStatus.SessionClosed;
1028
+ } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
1005
1029
  _this.connectStatus = ConnectionStatus.Break;
1006
1030
  _this.reconnectTries++;
1007
1031
 
@@ -1514,7 +1538,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
1514
1538
  const taskProgress = await this.getTaskProgress(id);
1515
1539
  this.resolveTaskStatus(taskProgress, resolve, reject);
1516
1540
 
1517
- const taskResultCallback = async (_ref) => {
1541
+ const taskResultCallback = async _ref => {
1518
1542
  let {
1519
1543
  data
1520
1544
  } = _ref;
@@ -2829,6 +2853,22 @@ let TablesService = /*#__PURE__*/function (_Service) {
2829
2853
  value: function updateTable(name, data) {
2830
2854
  return this.http.patch("/tables/" + name, data).json();
2831
2855
  }
2856
+ /**
2857
+ * No description
2858
+ *
2859
+ * @tags Tables
2860
+ * @name PutTable
2861
+ * @operationId TablesController_PutTable
2862
+ * @summary Override exists table.
2863
+ * @request PUT:/tables/{name}
2864
+ * @response `200` Success
2865
+ */
2866
+
2867
+ }, {
2868
+ key: "putTable",
2869
+ value: function putTable(name, data) {
2870
+ return this.http.put("/tables/" + name, data).json();
2871
+ }
2832
2872
  /**
2833
2873
  * No description
2834
2874
  *
@@ -3389,6 +3429,22 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
3389
3429
  value: function getProjectLayersExtendedInfo(name) {
3390
3430
  return this.http.get("/projects/" + name + "/extended-info").json();
3391
3431
  }
3432
+ /**
3433
+ * No description
3434
+ *
3435
+ * @tags Projects
3436
+ * @name GetTilesLayerImage
3437
+ * @operationId ProjectsController_GetTilesLayerImage
3438
+ * @summary Render tile.
3439
+ * @request GET:/projects/{name}/tile/{z}/{x}/{y}
3440
+ * @response `200` Success
3441
+ */
3442
+
3443
+ }, {
3444
+ key: "getTilesLayerImage",
3445
+ value: function getTilesLayerImage(name, x, y, z) {
3446
+ return this.http.createUrl("/projects/" + name + "/tile/" + z + "/" + x + "/" + y);
3447
+ }
3392
3448
  /**
3393
3449
  * No description
3394
3450
  *
@@ -3705,12 +3761,12 @@ let Resources = /*#__PURE__*/function () {
3705
3761
  }, {
3706
3762
  key: "getDependentNames",
3707
3763
  value: function getDependentNames(deps, depType) {
3708
- return deps.filter((_ref) => {
3764
+ return deps.filter(_ref => {
3709
3765
  let {
3710
3766
  type
3711
3767
  } = _ref;
3712
3768
  return type === depType;
3713
- }).map((_ref2) => {
3769
+ }).map(_ref2 => {
3714
3770
  let {
3715
3771
  name
3716
3772
  } = _ref2;
@@ -6707,47 +6763,47 @@ function isFeatureLayer(layer) {
6707
6763
 
6708
6764
  /**
6709
6765
  *
6710
-
6766
+
6711
6767
  None
6712
-
6768
+
6713
6769
  Array
6714
-
6770
+
6715
6771
  Min
6716
-
6772
+
6717
6773
  Max
6718
-
6774
+
6719
6775
  Avg
6720
-
6776
+
6721
6777
  Sum
6722
-
6778
+
6723
6779
  Extent
6724
-
6780
+
6725
6781
  H3
6726
-
6782
+
6727
6783
  Count
6728
-
6784
+
6729
6785
  TotalCount
6730
-
6786
+
6731
6787
  DistinctCount
6732
-
6788
+
6733
6789
  First
6734
-
6790
+
6735
6791
  Last
6736
-
6792
+
6737
6793
  Median
6738
-
6794
+
6739
6795
  Mod
6740
-
6796
+
6741
6797
  StdDeviation
6742
-
6798
+
6743
6799
  SumOfProduct
6744
-
6800
+
6745
6801
  OnlyValue
6746
-
6802
+
6747
6803
  WeightedAvg
6748
-
6804
+
6749
6805
  DensityIndicators
6750
-
6806
+
6751
6807
  DividedSum
6752
6808
  */
6753
6809
  var AggregationFunction;
@@ -6777,29 +6833,29 @@ var AggregationFunction;
6777
6833
  })(AggregationFunction || (AggregationFunction = {}));
6778
6834
  /**
6779
6835
  * Types of the attributes that are supported by the system.
6780
-
6836
+
6781
6837
  Unknown
6782
-
6838
+
6783
6839
  String
6784
-
6840
+
6785
6841
  Int32
6786
-
6842
+
6787
6843
  Int64
6788
-
6844
+
6789
6845
  Double
6790
-
6846
+
6791
6847
  DateTime
6792
-
6848
+
6793
6849
  Boolean
6794
-
6850
+
6795
6851
  Point
6796
-
6852
+
6797
6853
  Polyline
6798
-
6854
+
6799
6855
  Polygon
6800
-
6856
+
6801
6857
  Multipoint
6802
-
6858
+
6803
6859
  H3Index
6804
6860
  */
6805
6861
 
@@ -6822,15 +6878,15 @@ var AttributeType;
6822
6878
  })(AttributeType || (AttributeType = {}));
6823
6879
  /**
6824
6880
  * Describes classification methods.
6825
-
6881
+
6826
6882
  none
6827
-
6883
+
6828
6884
  naturalBreaks
6829
-
6885
+
6830
6886
  equalInterval
6831
-
6887
+
6832
6888
  quantile
6833
-
6889
+
6834
6890
  unique
6835
6891
  */
6836
6892
 
@@ -6846,11 +6902,11 @@ var ClassificationType;
6846
6902
  })(ClassificationType || (ClassificationType = {}));
6847
6903
  /**
6848
6904
  * Type of attribute.
6849
-
6905
+
6850
6906
  decimal
6851
-
6907
+
6852
6908
  dateTime
6853
-
6909
+
6854
6910
  text
6855
6911
  */
6856
6912
 
@@ -6864,55 +6920,55 @@ var ClassifyAttributeType;
6864
6920
  })(ClassifyAttributeType || (ClassifyAttributeType = {}));
6865
6921
  /**
6866
6922
  * Types of errors that can occur during layer initialize.
6867
-
6923
+
6868
6924
  Unknown
6869
-
6925
+
6870
6926
  SerializeError
6871
-
6927
+
6872
6928
  InvalidDataService
6873
-
6929
+
6874
6930
  InvalidConfiguration
6875
-
6931
+
6876
6932
  InvalidDataServiceName
6877
-
6933
+
6878
6934
  InvalidTableName
6879
-
6935
+
6880
6936
  InvalidLayerName
6881
-
6937
+
6882
6938
  ResourceNotFound
6883
-
6939
+
6884
6940
  InvalidCondition
6885
-
6941
+
6886
6942
  InvalidAttributes
6887
-
6943
+
6888
6944
  InvalidIdAttribute
6889
-
6945
+
6890
6946
  InvalidGeometryAttribute
6891
-
6947
+
6892
6948
  InvalidGeometryAttributeType
6893
-
6949
+
6894
6950
  InvalidColumnName
6895
-
6951
+
6896
6952
  InvalidIdColumnSettings
6897
-
6953
+
6898
6954
  ColumnNotExistsInTable
6899
-
6955
+
6900
6956
  InvalidStyle
6901
-
6957
+
6902
6958
  InvalidLayerType
6903
-
6959
+
6904
6960
  ColumnLoadingError
6905
-
6961
+
6906
6962
  InvalidAttributeFormat
6907
-
6963
+
6908
6964
  DataSourceNotFound
6909
-
6965
+
6910
6966
  DuplicateColumns
6911
-
6967
+
6912
6968
  DuplicateAttributes
6913
-
6969
+
6914
6970
  TableWithoutColumns
6915
-
6971
+
6916
6972
  InvalidTableReferenceConfiguration
6917
6973
  */
6918
6974
 
@@ -6948,15 +7004,15 @@ var ConfigurationErrorEnum;
6948
7004
  })(ConfigurationErrorEnum || (ConfigurationErrorEnum = {}));
6949
7005
  /**
6950
7006
  * Type of the error.
6951
-
7007
+
6952
7008
  ResourceLimitExceeded
6953
-
7009
+
6954
7010
  ResourceNotFound
6955
-
7011
+
6956
7012
  InternalError
6957
-
7013
+
6958
7014
  BadRequest
6959
-
7015
+
6960
7016
  DuplicateContent
6961
7017
  */
6962
7018
 
@@ -7011,9 +7067,9 @@ var ErrorType;
7011
7067
  })(ErrorType || (ErrorType = {}));
7012
7068
  /**
7013
7069
  * Type of the feature.
7014
-
7070
+
7015
7071
  Unknown
7016
-
7072
+
7017
7073
  GeometricFeature
7018
7074
  */
7019
7075
 
@@ -7026,11 +7082,11 @@ var FeatureType;
7026
7082
  })(FeatureType || (FeatureType = {}));
7027
7083
  /**
7028
7084
  * Sets whether font should be styled.
7029
-
7085
+
7030
7086
  normal
7031
-
7087
+
7032
7088
  oblique
7033
-
7089
+
7034
7090
  italic
7035
7091
  */
7036
7092
 
@@ -7044,27 +7100,27 @@ var FontStyle;
7044
7100
  })(FontStyle || (FontStyle = {}));
7045
7101
  /**
7046
7102
  * Specifies the weight (or boldness) of the font.
7047
-
7103
+
7048
7104
  Thin
7049
-
7105
+
7050
7106
  ExtraLight
7051
-
7107
+
7052
7108
  Light
7053
-
7109
+
7054
7110
  SemiLight
7055
-
7111
+
7056
7112
  Normal
7057
-
7113
+
7058
7114
  Medium
7059
-
7115
+
7060
7116
  DemiBold
7061
-
7117
+
7062
7118
  Bold
7063
-
7119
+
7064
7120
  ExtraBold
7065
-
7121
+
7066
7122
  Black
7067
-
7123
+
7068
7124
  ExtraBlack
7069
7125
  */
7070
7126
 
@@ -7086,17 +7142,17 @@ var FontWeight;
7086
7142
  })(FontWeight || (FontWeight = {}));
7087
7143
  /**
7088
7144
  *
7089
-
7145
+
7090
7146
  unknown
7091
-
7147
+
7092
7148
  point
7093
-
7149
+
7094
7150
  polyline
7095
-
7096
- polygon
7097
-
7151
+
7152
+ multipolygon
7153
+
7098
7154
  envelope
7099
-
7155
+
7100
7156
  multipoint
7101
7157
  */
7102
7158
 
@@ -7107,19 +7163,19 @@ var GeometryType;
7107
7163
  GeometryType["Unknown"] = "unknown";
7108
7164
  GeometryType["Point"] = "point";
7109
7165
  GeometryType["Polyline"] = "polyline";
7110
- GeometryType["Polygon"] = "polygon";
7166
+ GeometryType["Polygon"] = "multipolygon";
7111
7167
  GeometryType["Envelope"] = "envelope";
7112
7168
  GeometryType["Multipoint"] = "multipoint";
7113
7169
  })(GeometryType || (GeometryType = {}));
7114
7170
  /**
7115
7171
  * Resource group.
7116
-
7172
+
7117
7173
  my
7118
-
7174
+
7119
7175
  role
7120
-
7176
+
7121
7177
  public
7122
-
7178
+
7123
7179
  all
7124
7180
  */
7125
7181
 
@@ -7135,9 +7191,9 @@ var Group;
7135
7191
  /**
7136
7192
  * The size of the line ending in a SPCore.Kernel.Rendering.Symbols.SimplePolylineSymbol. The values sent here can be one
7137
7193
  of the preset values, or a number representing the size of the ending in pixels for 1px wide lines.
7138
-
7194
+
7139
7195
  small
7140
-
7196
+
7141
7197
  large
7142
7198
  */
7143
7199
 
@@ -7150,19 +7206,19 @@ var LineEndingSize;
7150
7206
  })(LineEndingSize || (LineEndingSize = {}));
7151
7207
  /**
7152
7208
  * Type of the line ending.
7153
-
7209
+
7154
7210
  none
7155
-
7211
+
7156
7212
  arrow
7157
-
7213
+
7158
7214
  filledArrow
7159
-
7215
+
7160
7216
  square
7161
-
7217
+
7162
7218
  filledSquare
7163
-
7219
+
7164
7220
  circle
7165
-
7221
+
7166
7222
  filledCircle
7167
7223
  */
7168
7224
 
@@ -7180,15 +7236,15 @@ var LineEndingType;
7180
7236
  })(LineEndingType || (LineEndingType = {}));
7181
7237
  /**
7182
7238
  *
7183
-
7239
+
7184
7240
  Unknown
7185
-
7241
+
7186
7242
  union
7187
-
7243
+
7188
7244
  intersection
7189
-
7245
+
7190
7246
  subtraction
7191
-
7247
+
7192
7248
  symDifference
7193
7249
  */
7194
7250
 
@@ -7204,19 +7260,19 @@ var Operation;
7204
7260
  })(Operation || (Operation = {}));
7205
7261
  /**
7206
7262
  * User permissions for server security objects (services, projects etc.)
7207
-
7263
+
7208
7264
  none
7209
-
7265
+
7210
7266
  configure
7211
-
7267
+
7212
7268
  write
7213
-
7269
+
7214
7270
  read
7215
-
7271
+
7216
7272
  read,configure
7217
-
7273
+
7218
7274
  read,write
7219
-
7275
+
7220
7276
  read,write,configure
7221
7277
  */
7222
7278
 
@@ -7234,19 +7290,19 @@ var Permissions;
7234
7290
  })(Permissions || (Permissions = {}));
7235
7291
  /**
7236
7292
  * Type of the authorization policy.
7237
-
7293
+
7238
7294
  Unknown
7239
-
7295
+
7240
7296
  CreateTable
7241
-
7297
+
7242
7298
  CreateLayer
7243
-
7299
+
7244
7300
  CreateProject
7245
-
7301
+
7246
7302
  MaxFeaturesInOneTable
7247
-
7303
+
7248
7304
  MaxObjectsToExport
7249
-
7305
+
7250
7306
  MaxUploadContentSize
7251
7307
  */
7252
7308
 
@@ -7264,11 +7320,11 @@ var PolicyType;
7264
7320
  })(PolicyType || (PolicyType = {}));
7265
7321
  /**
7266
7322
  * Types of table reference.
7267
-
7323
+
7268
7324
  OneToMany
7269
-
7325
+
7270
7326
  OneToOne
7271
-
7327
+
7272
7328
  Intersect
7273
7329
  */
7274
7330
 
@@ -7282,19 +7338,19 @@ var ReferenceJoinType;
7282
7338
  })(ReferenceJoinType || (ReferenceJoinType = {}));
7283
7339
  /**
7284
7340
  * The `ResourceType` represents resource manager supports types.
7285
-
7341
+
7286
7342
  Unknown
7287
-
7343
+
7288
7344
  table
7289
-
7345
+
7290
7346
  layer
7291
-
7347
+
7292
7348
  project
7293
-
7349
+
7294
7350
  file
7295
-
7351
+
7296
7352
  feature
7297
-
7353
+
7298
7354
  tag
7299
7355
  */
7300
7356
 
@@ -7320,21 +7376,21 @@ var ResourceTypeLink;
7320
7376
  })(ResourceTypeLink || (ResourceTypeLink = {}));
7321
7377
  /**
7322
7378
  * Status of the server task.
7323
-
7379
+
7324
7380
  None
7325
-
7381
+
7326
7382
  Scheduled
7327
-
7383
+
7328
7384
  Planning
7329
-
7385
+
7330
7386
  Executing
7331
-
7387
+
7332
7388
  Completed
7333
-
7389
+
7334
7390
  Failed
7335
-
7391
+
7336
7392
  Canceled
7337
-
7393
+
7338
7394
  Timeout
7339
7395
  */
7340
7396
 
@@ -7353,10 +7409,12 @@ var ServerTaskStatus;
7353
7409
  })(ServerTaskStatus || (ServerTaskStatus = {}));
7354
7410
  /**
7355
7411
  * Simplify type.
7356
-
7412
+
7357
7413
  Basic
7358
-
7414
+
7359
7415
  PreserveTopology
7416
+
7417
+ VW
7360
7418
  */
7361
7419
 
7362
7420
 
@@ -7365,14 +7423,15 @@ var SimplifyType;
7365
7423
  (function (SimplifyType) {
7366
7424
  SimplifyType["Basic"] = "Basic";
7367
7425
  SimplifyType["PreserveTopology"] = "PreserveTopology";
7426
+ SimplifyType["VW"] = "VW";
7368
7427
  })(SimplifyType || (SimplifyType = {}));
7369
7428
  /**
7370
7429
  * The `StringSubType` provides information about string attribute subtype.
7371
-
7430
+
7372
7431
  None
7373
-
7432
+
7374
7433
  Image
7375
-
7434
+
7376
7435
  PkkCode
7377
7436
  */
7378
7437
 
@@ -7386,9 +7445,9 @@ var StringSubType;
7386
7445
  })(StringSubType || (StringSubType = {}));
7387
7446
  /**
7388
7447
  * Task owner group.
7389
-
7448
+
7390
7449
  my
7391
-
7450
+
7392
7451
  all
7393
7452
  */
7394
7453
 
@@ -7401,13 +7460,13 @@ var TaskGroup;
7401
7460
  })(TaskGroup || (TaskGroup = {}));
7402
7461
  /**
7403
7462
  * Sets the horizontal alignment of text.
7404
-
7463
+
7405
7464
  right
7406
-
7465
+
7407
7466
  left
7408
-
7467
+
7409
7468
  center
7410
-
7469
+
7411
7470
  justified
7412
7471
  */
7413
7472
 
@@ -7422,11 +7481,11 @@ var TextAlignment;
7422
7481
  })(TextAlignment || (TextAlignment = {}));
7423
7482
  /**
7424
7483
  * Sets the vertical alignment of text.
7425
-
7484
+
7426
7485
  top
7427
-
7486
+
7428
7487
  bottom
7429
-
7488
+
7430
7489
  middle
7431
7490
  */
7432
7491