@evergis/api 3.0.136 → 3.0.138

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 () {
@@ -799,6 +791,22 @@ let ImportService = /*#__PURE__*/function (_Service) {
799
791
  value: function getExternalWmsLayers(query) {
800
792
  return this.http.get("/import/wms", query).json();
801
793
  }
794
+ /**
795
+ * No description
796
+ *
797
+ * @tags ImportService
798
+ * @name GetExternalPbfLayers
799
+ * @operationId ImportServiceController_GetExternalPbfLayers
800
+ * @summary Get list of external PBF layers.
801
+ * @request GET:/import/pbf
802
+ * @response `200` Success
803
+ */
804
+
805
+ }, {
806
+ key: "getExternalPbfLayers",
807
+ value: function getExternalPbfLayers(query) {
808
+ return this.http.get("/import/pbf", query).json();
809
+ }
802
810
  /**
803
811
  * No description
804
812
  *
@@ -1008,8 +1016,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
1008
1016
  || event.code === 4002
1009
1017
  /* InvalidSession */
1010
1018
  ) {
1011
- _this.connectStatus = ConnectionStatus.SessionClosed;
1012
- } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
1019
+ _this.connectStatus = ConnectionStatus.SessionClosed;
1020
+ } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
1013
1021
  _this.connectStatus = ConnectionStatus.Break;
1014
1022
  _this.reconnectTries++;
1015
1023
 
@@ -1522,7 +1530,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
1522
1530
  const taskProgress = await this.getTaskProgress(id);
1523
1531
  this.resolveTaskStatus(taskProgress, resolve, reject);
1524
1532
 
1525
- const taskResultCallback = async _ref => {
1533
+ const taskResultCallback = async (_ref) => {
1526
1534
  let {
1527
1535
  data
1528
1536
  } = _ref;
@@ -2837,6 +2845,22 @@ let TablesService = /*#__PURE__*/function (_Service) {
2837
2845
  value: function updateTable(name, data) {
2838
2846
  return this.http.patch("/tables/" + name, data).json();
2839
2847
  }
2848
+ /**
2849
+ * No description
2850
+ *
2851
+ * @tags Tables
2852
+ * @name PutTable
2853
+ * @operationId TablesController_PutTable
2854
+ * @summary Override exists table.
2855
+ * @request PUT:/tables/{name}
2856
+ * @response `200` Success
2857
+ */
2858
+
2859
+ }, {
2860
+ key: "putTable",
2861
+ value: function putTable(name, data) {
2862
+ return this.http.put("/tables/" + name, data).json();
2863
+ }
2840
2864
  /**
2841
2865
  * No description
2842
2866
  *
@@ -3397,6 +3421,22 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
3397
3421
  value: function getProjectLayersExtendedInfo(name) {
3398
3422
  return this.http.get("/projects/" + name + "/extended-info").json();
3399
3423
  }
3424
+ /**
3425
+ * No description
3426
+ *
3427
+ * @tags Projects
3428
+ * @name GetTilesLayerImage
3429
+ * @operationId ProjectsController_GetTilesLayerImage
3430
+ * @summary Render tile.
3431
+ * @request GET:/projects/{name}/tile/{z}/{x}/{y}
3432
+ * @response `200` Success
3433
+ */
3434
+
3435
+ }, {
3436
+ key: "getTilesLayerImage",
3437
+ value: function getTilesLayerImage(name, x, y, z) {
3438
+ return this.http.createUrl("/projects/" + name + "/tile/" + z + "/" + x + "/" + y);
3439
+ }
3400
3440
  /**
3401
3441
  * No description
3402
3442
  *
@@ -3713,12 +3753,12 @@ let Resources = /*#__PURE__*/function () {
3713
3753
  }, {
3714
3754
  key: "getDependentNames",
3715
3755
  value: function getDependentNames(deps, depType) {
3716
- return deps.filter(_ref => {
3756
+ return deps.filter((_ref) => {
3717
3757
  let {
3718
3758
  type
3719
3759
  } = _ref;
3720
3760
  return type === depType;
3721
- }).map(_ref2 => {
3761
+ }).map((_ref2) => {
3722
3762
  let {
3723
3763
  name
3724
3764
  } = _ref2;
@@ -6715,47 +6755,47 @@ function isFeatureLayer(layer) {
6715
6755
 
6716
6756
  /**
6717
6757
  *
6718
-
6758
+
6719
6759
  None
6720
-
6760
+
6721
6761
  Array
6722
-
6762
+
6723
6763
  Min
6724
-
6764
+
6725
6765
  Max
6726
-
6766
+
6727
6767
  Avg
6728
-
6768
+
6729
6769
  Sum
6730
-
6770
+
6731
6771
  Extent
6732
-
6772
+
6733
6773
  H3
6734
-
6774
+
6735
6775
  Count
6736
-
6776
+
6737
6777
  TotalCount
6738
-
6778
+
6739
6779
  DistinctCount
6740
-
6780
+
6741
6781
  First
6742
-
6782
+
6743
6783
  Last
6744
-
6784
+
6745
6785
  Median
6746
-
6786
+
6747
6787
  Mod
6748
-
6788
+
6749
6789
  StdDeviation
6750
-
6790
+
6751
6791
  SumOfProduct
6752
-
6792
+
6753
6793
  OnlyValue
6754
-
6794
+
6755
6795
  WeightedAvg
6756
-
6796
+
6757
6797
  DensityIndicators
6758
-
6798
+
6759
6799
  DividedSum
6760
6800
  */
6761
6801
  var AggregationFunction;
@@ -6785,29 +6825,29 @@ var AggregationFunction;
6785
6825
  })(AggregationFunction || (AggregationFunction = {}));
6786
6826
  /**
6787
6827
  * Types of the attributes that are supported by the system.
6788
-
6828
+
6789
6829
  Unknown
6790
-
6830
+
6791
6831
  String
6792
-
6832
+
6793
6833
  Int32
6794
-
6834
+
6795
6835
  Int64
6796
-
6836
+
6797
6837
  Double
6798
-
6838
+
6799
6839
  DateTime
6800
-
6840
+
6801
6841
  Boolean
6802
-
6842
+
6803
6843
  Point
6804
-
6844
+
6805
6845
  Polyline
6806
-
6846
+
6807
6847
  Polygon
6808
-
6848
+
6809
6849
  Multipoint
6810
-
6850
+
6811
6851
  H3Index
6812
6852
  */
6813
6853
 
@@ -6830,15 +6870,15 @@ var AttributeType;
6830
6870
  })(AttributeType || (AttributeType = {}));
6831
6871
  /**
6832
6872
  * Describes classification methods.
6833
-
6873
+
6834
6874
  none
6835
-
6875
+
6836
6876
  naturalBreaks
6837
-
6877
+
6838
6878
  equalInterval
6839
-
6879
+
6840
6880
  quantile
6841
-
6881
+
6842
6882
  unique
6843
6883
  */
6844
6884
 
@@ -6854,11 +6894,11 @@ var ClassificationType;
6854
6894
  })(ClassificationType || (ClassificationType = {}));
6855
6895
  /**
6856
6896
  * Type of attribute.
6857
-
6897
+
6858
6898
  decimal
6859
-
6899
+
6860
6900
  dateTime
6861
-
6901
+
6862
6902
  text
6863
6903
  */
6864
6904
 
@@ -6872,55 +6912,55 @@ var ClassifyAttributeType;
6872
6912
  })(ClassifyAttributeType || (ClassifyAttributeType = {}));
6873
6913
  /**
6874
6914
  * Types of errors that can occur during layer initialize.
6875
-
6915
+
6876
6916
  Unknown
6877
-
6917
+
6878
6918
  SerializeError
6879
-
6919
+
6880
6920
  InvalidDataService
6881
-
6921
+
6882
6922
  InvalidConfiguration
6883
-
6923
+
6884
6924
  InvalidDataServiceName
6885
-
6925
+
6886
6926
  InvalidTableName
6887
-
6927
+
6888
6928
  InvalidLayerName
6889
-
6929
+
6890
6930
  ResourceNotFound
6891
-
6931
+
6892
6932
  InvalidCondition
6893
-
6933
+
6894
6934
  InvalidAttributes
6895
-
6935
+
6896
6936
  InvalidIdAttribute
6897
-
6937
+
6898
6938
  InvalidGeometryAttribute
6899
-
6939
+
6900
6940
  InvalidGeometryAttributeType
6901
-
6941
+
6902
6942
  InvalidColumnName
6903
-
6943
+
6904
6944
  InvalidIdColumnSettings
6905
-
6945
+
6906
6946
  ColumnNotExistsInTable
6907
-
6947
+
6908
6948
  InvalidStyle
6909
-
6949
+
6910
6950
  InvalidLayerType
6911
-
6951
+
6912
6952
  ColumnLoadingError
6913
-
6953
+
6914
6954
  InvalidAttributeFormat
6915
-
6955
+
6916
6956
  DataSourceNotFound
6917
-
6957
+
6918
6958
  DuplicateColumns
6919
-
6959
+
6920
6960
  DuplicateAttributes
6921
-
6961
+
6922
6962
  TableWithoutColumns
6923
-
6963
+
6924
6964
  InvalidTableReferenceConfiguration
6925
6965
  */
6926
6966
 
@@ -6956,15 +6996,15 @@ var ConfigurationErrorEnum;
6956
6996
  })(ConfigurationErrorEnum || (ConfigurationErrorEnum = {}));
6957
6997
  /**
6958
6998
  * Type of the error.
6959
-
6999
+
6960
7000
  ResourceLimitExceeded
6961
-
7001
+
6962
7002
  ResourceNotFound
6963
-
7003
+
6964
7004
  InternalError
6965
-
7005
+
6966
7006
  BadRequest
6967
-
7007
+
6968
7008
  DuplicateContent
6969
7009
  */
6970
7010
 
@@ -7019,9 +7059,9 @@ var ErrorType;
7019
7059
  })(ErrorType || (ErrorType = {}));
7020
7060
  /**
7021
7061
  * Type of the feature.
7022
-
7062
+
7023
7063
  Unknown
7024
-
7064
+
7025
7065
  GeometricFeature
7026
7066
  */
7027
7067
 
@@ -7034,11 +7074,11 @@ var FeatureType;
7034
7074
  })(FeatureType || (FeatureType = {}));
7035
7075
  /**
7036
7076
  * Sets whether font should be styled.
7037
-
7077
+
7038
7078
  normal
7039
-
7079
+
7040
7080
  oblique
7041
-
7081
+
7042
7082
  italic
7043
7083
  */
7044
7084
 
@@ -7052,27 +7092,27 @@ var FontStyle;
7052
7092
  })(FontStyle || (FontStyle = {}));
7053
7093
  /**
7054
7094
  * Specifies the weight (or boldness) of the font.
7055
-
7095
+
7056
7096
  Thin
7057
-
7097
+
7058
7098
  ExtraLight
7059
-
7099
+
7060
7100
  Light
7061
-
7101
+
7062
7102
  SemiLight
7063
-
7103
+
7064
7104
  Normal
7065
-
7105
+
7066
7106
  Medium
7067
-
7107
+
7068
7108
  DemiBold
7069
-
7109
+
7070
7110
  Bold
7071
-
7111
+
7072
7112
  ExtraBold
7073
-
7113
+
7074
7114
  Black
7075
-
7115
+
7076
7116
  ExtraBlack
7077
7117
  */
7078
7118
 
@@ -7094,17 +7134,17 @@ var FontWeight;
7094
7134
  })(FontWeight || (FontWeight = {}));
7095
7135
  /**
7096
7136
  *
7097
-
7137
+
7098
7138
  unknown
7099
-
7139
+
7100
7140
  point
7101
-
7141
+
7102
7142
  polyline
7103
-
7104
- polygon
7105
-
7143
+
7144
+ multipolygon
7145
+
7106
7146
  envelope
7107
-
7147
+
7108
7148
  multipoint
7109
7149
  */
7110
7150
 
@@ -7115,19 +7155,19 @@ var GeometryType;
7115
7155
  GeometryType["Unknown"] = "unknown";
7116
7156
  GeometryType["Point"] = "point";
7117
7157
  GeometryType["Polyline"] = "polyline";
7118
- GeometryType["Polygon"] = "polygon";
7158
+ GeometryType["Polygon"] = "multipolygon";
7119
7159
  GeometryType["Envelope"] = "envelope";
7120
7160
  GeometryType["Multipoint"] = "multipoint";
7121
7161
  })(GeometryType || (GeometryType = {}));
7122
7162
  /**
7123
7163
  * Resource group.
7124
-
7164
+
7125
7165
  my
7126
-
7166
+
7127
7167
  role
7128
-
7168
+
7129
7169
  public
7130
-
7170
+
7131
7171
  all
7132
7172
  */
7133
7173
 
@@ -7143,9 +7183,9 @@ var Group;
7143
7183
  /**
7144
7184
  * The size of the line ending in a SPCore.Kernel.Rendering.Symbols.SimplePolylineSymbol. The values sent here can be one
7145
7185
  of the preset values, or a number representing the size of the ending in pixels for 1px wide lines.
7146
-
7186
+
7147
7187
  small
7148
-
7188
+
7149
7189
  large
7150
7190
  */
7151
7191
 
@@ -7158,19 +7198,19 @@ var LineEndingSize;
7158
7198
  })(LineEndingSize || (LineEndingSize = {}));
7159
7199
  /**
7160
7200
  * Type of the line ending.
7161
-
7201
+
7162
7202
  none
7163
-
7203
+
7164
7204
  arrow
7165
-
7205
+
7166
7206
  filledArrow
7167
-
7207
+
7168
7208
  square
7169
-
7209
+
7170
7210
  filledSquare
7171
-
7211
+
7172
7212
  circle
7173
-
7213
+
7174
7214
  filledCircle
7175
7215
  */
7176
7216
 
@@ -7188,15 +7228,15 @@ var LineEndingType;
7188
7228
  })(LineEndingType || (LineEndingType = {}));
7189
7229
  /**
7190
7230
  *
7191
-
7231
+
7192
7232
  Unknown
7193
-
7233
+
7194
7234
  union
7195
-
7235
+
7196
7236
  intersection
7197
-
7237
+
7198
7238
  subtraction
7199
-
7239
+
7200
7240
  symDifference
7201
7241
  */
7202
7242
 
@@ -7212,19 +7252,19 @@ var Operation;
7212
7252
  })(Operation || (Operation = {}));
7213
7253
  /**
7214
7254
  * User permissions for server security objects (services, projects etc.)
7215
-
7255
+
7216
7256
  none
7217
-
7257
+
7218
7258
  configure
7219
-
7259
+
7220
7260
  write
7221
-
7261
+
7222
7262
  read
7223
-
7263
+
7224
7264
  read,configure
7225
-
7265
+
7226
7266
  read,write
7227
-
7267
+
7228
7268
  read,write,configure
7229
7269
  */
7230
7270
 
@@ -7242,19 +7282,19 @@ var Permissions;
7242
7282
  })(Permissions || (Permissions = {}));
7243
7283
  /**
7244
7284
  * Type of the authorization policy.
7245
-
7285
+
7246
7286
  Unknown
7247
-
7287
+
7248
7288
  CreateTable
7249
-
7289
+
7250
7290
  CreateLayer
7251
-
7291
+
7252
7292
  CreateProject
7253
-
7293
+
7254
7294
  MaxFeaturesInOneTable
7255
-
7295
+
7256
7296
  MaxObjectsToExport
7257
-
7297
+
7258
7298
  MaxUploadContentSize
7259
7299
  */
7260
7300
 
@@ -7272,11 +7312,11 @@ var PolicyType;
7272
7312
  })(PolicyType || (PolicyType = {}));
7273
7313
  /**
7274
7314
  * Types of table reference.
7275
-
7315
+
7276
7316
  OneToMany
7277
-
7317
+
7278
7318
  OneToOne
7279
-
7319
+
7280
7320
  Intersect
7281
7321
  */
7282
7322
 
@@ -7290,19 +7330,19 @@ var ReferenceJoinType;
7290
7330
  })(ReferenceJoinType || (ReferenceJoinType = {}));
7291
7331
  /**
7292
7332
  * The `ResourceType` represents resource manager supports types.
7293
-
7333
+
7294
7334
  Unknown
7295
-
7335
+
7296
7336
  table
7297
-
7337
+
7298
7338
  layer
7299
-
7339
+
7300
7340
  project
7301
-
7341
+
7302
7342
  file
7303
-
7343
+
7304
7344
  feature
7305
-
7345
+
7306
7346
  tag
7307
7347
  */
7308
7348
 
@@ -7328,21 +7368,21 @@ var ResourceTypeLink;
7328
7368
  })(ResourceTypeLink || (ResourceTypeLink = {}));
7329
7369
  /**
7330
7370
  * Status of the server task.
7331
-
7371
+
7332
7372
  None
7333
-
7373
+
7334
7374
  Scheduled
7335
-
7375
+
7336
7376
  Planning
7337
-
7377
+
7338
7378
  Executing
7339
-
7379
+
7340
7380
  Completed
7341
-
7381
+
7342
7382
  Failed
7343
-
7383
+
7344
7384
  Canceled
7345
-
7385
+
7346
7386
  Timeout
7347
7387
  */
7348
7388
 
@@ -7361,10 +7401,12 @@ var ServerTaskStatus;
7361
7401
  })(ServerTaskStatus || (ServerTaskStatus = {}));
7362
7402
  /**
7363
7403
  * Simplify type.
7364
-
7404
+
7365
7405
  Basic
7366
-
7406
+
7367
7407
  PreserveTopology
7408
+
7409
+ VW
7368
7410
  */
7369
7411
 
7370
7412
 
@@ -7373,14 +7415,15 @@ var SimplifyType;
7373
7415
  (function (SimplifyType) {
7374
7416
  SimplifyType["Basic"] = "Basic";
7375
7417
  SimplifyType["PreserveTopology"] = "PreserveTopology";
7418
+ SimplifyType["VW"] = "VW";
7376
7419
  })(SimplifyType || (SimplifyType = {}));
7377
7420
  /**
7378
7421
  * The `StringSubType` provides information about string attribute subtype.
7379
-
7422
+
7380
7423
  None
7381
-
7424
+
7382
7425
  Image
7383
-
7426
+
7384
7427
  PkkCode
7385
7428
  */
7386
7429
 
@@ -7394,9 +7437,9 @@ var StringSubType;
7394
7437
  })(StringSubType || (StringSubType = {}));
7395
7438
  /**
7396
7439
  * Task owner group.
7397
-
7440
+
7398
7441
  my
7399
-
7442
+
7400
7443
  all
7401
7444
  */
7402
7445
 
@@ -7409,13 +7452,13 @@ var TaskGroup;
7409
7452
  })(TaskGroup || (TaskGroup = {}));
7410
7453
  /**
7411
7454
  * Sets the horizontal alignment of text.
7412
-
7455
+
7413
7456
  right
7414
-
7457
+
7415
7458
  left
7416
-
7459
+
7417
7460
  center
7418
-
7461
+
7419
7462
  justified
7420
7463
  */
7421
7464
 
@@ -7430,11 +7473,11 @@ var TextAlignment;
7430
7473
  })(TextAlignment || (TextAlignment = {}));
7431
7474
  /**
7432
7475
  * Sets the vertical alignment of text.
7433
-
7476
+
7434
7477
  top
7435
-
7478
+
7436
7479
  bottom
7437
-
7480
+
7438
7481
  middle
7439
7482
  */
7440
7483