@evergis/api 3.0.131 → 3.0.133

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 () {
@@ -759,6 +767,22 @@ let ImportService = /*#__PURE__*/function (_Service) {
759
767
  value: function getFeaturesCount(data) {
760
768
  return this.http.post("/import/count", data).json();
761
769
  }
770
+ /**
771
+ * No description
772
+ *
773
+ * @tags ImportService
774
+ * @name ReadPart
775
+ * @operationId ImportServiceController_ReadPart
776
+ * @summary Returns the features of the given file in temporary static storage.
777
+ * @request GET:/import/read
778
+ * @response `200` Success
779
+ */
780
+
781
+ }, {
782
+ key: "readPart",
783
+ value: function readPart(query) {
784
+ return this.http.get("/import/read", query).then(() => {});
785
+ }
762
786
  /**
763
787
  * No description
764
788
  *
@@ -984,8 +1008,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
984
1008
  || event.code === 4002
985
1009
  /* InvalidSession */
986
1010
  ) {
987
- _this.connectStatus = ConnectionStatus.SessionClosed;
988
- } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
1011
+ _this.connectStatus = ConnectionStatus.SessionClosed;
1012
+ } else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
989
1013
  _this.connectStatus = ConnectionStatus.Break;
990
1014
  _this.reconnectTries++;
991
1015
 
@@ -1498,7 +1522,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
1498
1522
  const taskProgress = await this.getTaskProgress(id);
1499
1523
  this.resolveTaskStatus(taskProgress, resolve, reject);
1500
1524
 
1501
- const taskResultCallback = async (_ref) => {
1525
+ const taskResultCallback = async _ref => {
1502
1526
  let {
1503
1527
  data
1504
1528
  } = _ref;
@@ -2493,6 +2517,22 @@ let LayersService = /*#__PURE__*/function (_Service) {
2493
2517
  value: function deletePreview(name) {
2494
2518
  return this.http.delete("/layers/" + name + "/preview", null).then(() => {});
2495
2519
  }
2520
+ /**
2521
+ * No description
2522
+ *
2523
+ * @tags Layers
2524
+ * @name IsExists
2525
+ * @operationId LayersController_IsExistsAsync
2526
+ * @summary Check is resource exists.
2527
+ * @request GET:/layers/{name}/exists
2528
+ * @response `200` Success
2529
+ */
2530
+
2531
+ }, {
2532
+ key: "isExists",
2533
+ value: function isExists(name) {
2534
+ return this.http.get("/layers/" + name + "/exists").then(() => {});
2535
+ }
2496
2536
  /**
2497
2537
  * No description
2498
2538
  *
@@ -3025,6 +3065,22 @@ let TablesService = /*#__PURE__*/function (_Service) {
3025
3065
  value: function deletePreview(name) {
3026
3066
  return this.http.delete("/tables/" + name + "/preview", null).then(() => {});
3027
3067
  }
3068
+ /**
3069
+ * No description
3070
+ *
3071
+ * @tags Tables
3072
+ * @name IsExists
3073
+ * @operationId TablesController_IsExistsAsync
3074
+ * @summary Check is resource exists.
3075
+ * @request GET:/tables/{name}/exists
3076
+ * @response `200` Success
3077
+ */
3078
+
3079
+ }, {
3080
+ key: "isExists",
3081
+ value: function isExists(name) {
3082
+ return this.http.get("/tables/" + name + "/exists").then(() => {});
3083
+ }
3028
3084
  /**
3029
3085
  * No description
3030
3086
  *
@@ -3389,6 +3445,22 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
3389
3445
  value: function deletePreview(name) {
3390
3446
  return this.http.delete("/projects/" + name + "/preview", null).then(() => {});
3391
3447
  }
3448
+ /**
3449
+ * No description
3450
+ *
3451
+ * @tags Projects
3452
+ * @name IsExists
3453
+ * @operationId ProjectsController_IsExistsAsync
3454
+ * @summary Check is resource exists.
3455
+ * @request GET:/projects/{name}/exists
3456
+ * @response `200` Success
3457
+ */
3458
+
3459
+ }, {
3460
+ key: "isExists",
3461
+ value: function isExists(name) {
3462
+ return this.http.get("/projects/" + name + "/exists").then(() => {});
3463
+ }
3392
3464
  /**
3393
3465
  * No description
3394
3466
  *
@@ -3641,12 +3713,12 @@ let Resources = /*#__PURE__*/function () {
3641
3713
  }, {
3642
3714
  key: "getDependentNames",
3643
3715
  value: function getDependentNames(deps, depType) {
3644
- return deps.filter((_ref) => {
3716
+ return deps.filter(_ref => {
3645
3717
  let {
3646
3718
  type
3647
3719
  } = _ref;
3648
3720
  return type === depType;
3649
- }).map((_ref2) => {
3721
+ }).map(_ref2 => {
3650
3722
  let {
3651
3723
  name
3652
3724
  } = _ref2;
@@ -4048,33 +4120,17 @@ let GeneralService = /*#__PURE__*/function (_Service) {
4048
4120
  * No description
4049
4121
  *
4050
4122
  * @tags General
4051
- * @name Favicon
4052
- * @operationId GeneralController_Favicon
4053
- * @summary Returns server favicon.
4054
- * @request GET:/favicon.ico
4123
+ * @name CancelTest
4124
+ * @operationId GeneralController_CancelTest
4125
+ * @summary Test method for CancellationToken.
4126
+ * @request GET:/cancel
4055
4127
  * @response `200` Success
4056
4128
  */
4057
4129
 
4058
4130
  }, {
4059
- key: "favicon",
4060
- value: function favicon(query) {
4061
- return this.http.createUrl("/favicon.ico", query);
4062
- }
4063
- /**
4064
- * No description
4065
- *
4066
- * @tags General
4067
- * @name Logo
4068
- * @operationId GeneralController_Logo
4069
- * @summary Returns logo.
4070
- * @request GET:/logo.png
4071
- * @response `200` Success
4072
- */
4073
-
4074
- }, {
4075
- key: "logo",
4076
- value: function logo(query) {
4077
- return this.http.createUrl("/logo.png", query);
4131
+ key: "cancelTest",
4132
+ value: function cancelTest(query) {
4133
+ return this.http.get("/cancel", query).then(() => {});
4078
4134
  }
4079
4135
  /**
4080
4136
  * No description
@@ -6659,47 +6715,47 @@ function isFeatureLayer(layer) {
6659
6715
 
6660
6716
  /**
6661
6717
  *
6662
-
6718
+
6663
6719
  None
6664
-
6720
+
6665
6721
  Array
6666
-
6722
+
6667
6723
  Min
6668
-
6724
+
6669
6725
  Max
6670
-
6726
+
6671
6727
  Avg
6672
-
6728
+
6673
6729
  Sum
6674
-
6730
+
6675
6731
  Extent
6676
-
6732
+
6677
6733
  H3
6678
-
6734
+
6679
6735
  Count
6680
-
6736
+
6681
6737
  TotalCount
6682
-
6738
+
6683
6739
  DistinctCount
6684
-
6740
+
6685
6741
  First
6686
-
6742
+
6687
6743
  Last
6688
-
6744
+
6689
6745
  Median
6690
-
6746
+
6691
6747
  Mod
6692
-
6748
+
6693
6749
  StdDeviation
6694
-
6750
+
6695
6751
  SumOfProduct
6696
-
6752
+
6697
6753
  OnlyValue
6698
-
6754
+
6699
6755
  WeightedAvg
6700
-
6756
+
6701
6757
  DensityIndicators
6702
-
6758
+
6703
6759
  DividedSum
6704
6760
  */
6705
6761
  var AggregationFunction;
@@ -6729,29 +6785,29 @@ var AggregationFunction;
6729
6785
  })(AggregationFunction || (AggregationFunction = {}));
6730
6786
  /**
6731
6787
  * Types of the attributes that are supported by the system.
6732
-
6788
+
6733
6789
  Unknown
6734
-
6790
+
6735
6791
  String
6736
-
6792
+
6737
6793
  Int32
6738
-
6794
+
6739
6795
  Int64
6740
-
6796
+
6741
6797
  Double
6742
-
6798
+
6743
6799
  DateTime
6744
-
6800
+
6745
6801
  Boolean
6746
-
6802
+
6747
6803
  Point
6748
-
6804
+
6749
6805
  Polyline
6750
-
6806
+
6751
6807
  Polygon
6752
-
6808
+
6753
6809
  Multipoint
6754
-
6810
+
6755
6811
  H3Index
6756
6812
  */
6757
6813
 
@@ -6774,15 +6830,15 @@ var AttributeType;
6774
6830
  })(AttributeType || (AttributeType = {}));
6775
6831
  /**
6776
6832
  * Describes classification methods.
6777
-
6833
+
6778
6834
  none
6779
-
6835
+
6780
6836
  naturalBreaks
6781
-
6837
+
6782
6838
  equalInterval
6783
-
6839
+
6784
6840
  quantile
6785
-
6841
+
6786
6842
  unique
6787
6843
  */
6788
6844
 
@@ -6798,11 +6854,11 @@ var ClassificationType;
6798
6854
  })(ClassificationType || (ClassificationType = {}));
6799
6855
  /**
6800
6856
  * Type of attribute.
6801
-
6857
+
6802
6858
  decimal
6803
-
6859
+
6804
6860
  dateTime
6805
-
6861
+
6806
6862
  text
6807
6863
  */
6808
6864
 
@@ -6816,55 +6872,55 @@ var ClassifyAttributeType;
6816
6872
  })(ClassifyAttributeType || (ClassifyAttributeType = {}));
6817
6873
  /**
6818
6874
  * Types of errors that can occur during layer initialize.
6819
-
6875
+
6820
6876
  Unknown
6821
-
6877
+
6822
6878
  SerializeError
6823
-
6879
+
6824
6880
  InvalidDataService
6825
-
6881
+
6826
6882
  InvalidConfiguration
6827
-
6883
+
6828
6884
  InvalidDataServiceName
6829
-
6885
+
6830
6886
  InvalidTableName
6831
-
6887
+
6832
6888
  InvalidLayerName
6833
-
6889
+
6834
6890
  ResourceNotFound
6835
-
6891
+
6836
6892
  InvalidCondition
6837
-
6893
+
6838
6894
  InvalidAttributes
6839
-
6895
+
6840
6896
  InvalidIdAttribute
6841
-
6897
+
6842
6898
  InvalidGeometryAttribute
6843
-
6899
+
6844
6900
  InvalidGeometryAttributeType
6845
-
6901
+
6846
6902
  InvalidColumnName
6847
-
6903
+
6848
6904
  InvalidIdColumnSettings
6849
-
6905
+
6850
6906
  ColumnNotExistsInTable
6851
-
6907
+
6852
6908
  InvalidStyle
6853
-
6909
+
6854
6910
  InvalidLayerType
6855
-
6911
+
6856
6912
  ColumnLoadingError
6857
-
6913
+
6858
6914
  InvalidAttributeFormat
6859
-
6915
+
6860
6916
  DataSourceNotFound
6861
-
6917
+
6862
6918
  DuplicateColumns
6863
-
6919
+
6864
6920
  DuplicateAttributes
6865
-
6921
+
6866
6922
  TableWithoutColumns
6867
-
6923
+
6868
6924
  InvalidTableReferenceConfiguration
6869
6925
  */
6870
6926
 
@@ -6900,15 +6956,15 @@ var ConfigurationErrorEnum;
6900
6956
  })(ConfigurationErrorEnum || (ConfigurationErrorEnum = {}));
6901
6957
  /**
6902
6958
  * Type of the error.
6903
-
6959
+
6904
6960
  ResourceLimitExceeded
6905
-
6961
+
6906
6962
  ResourceNotFound
6907
-
6963
+
6908
6964
  InternalError
6909
-
6965
+
6910
6966
  BadRequest
6911
-
6967
+
6912
6968
  DuplicateContent
6913
6969
  */
6914
6970
 
@@ -6963,9 +7019,9 @@ var ErrorType;
6963
7019
  })(ErrorType || (ErrorType = {}));
6964
7020
  /**
6965
7021
  * Type of the feature.
6966
-
7022
+
6967
7023
  Unknown
6968
-
7024
+
6969
7025
  GeometricFeature
6970
7026
  */
6971
7027
 
@@ -6978,11 +7034,11 @@ var FeatureType;
6978
7034
  })(FeatureType || (FeatureType = {}));
6979
7035
  /**
6980
7036
  * Sets whether font should be styled.
6981
-
7037
+
6982
7038
  normal
6983
-
7039
+
6984
7040
  oblique
6985
-
7041
+
6986
7042
  italic
6987
7043
  */
6988
7044
 
@@ -6996,27 +7052,27 @@ var FontStyle;
6996
7052
  })(FontStyle || (FontStyle = {}));
6997
7053
  /**
6998
7054
  * Specifies the weight (or boldness) of the font.
6999
-
7055
+
7000
7056
  Thin
7001
-
7057
+
7002
7058
  ExtraLight
7003
-
7059
+
7004
7060
  Light
7005
-
7061
+
7006
7062
  SemiLight
7007
-
7063
+
7008
7064
  Normal
7009
-
7065
+
7010
7066
  Medium
7011
-
7067
+
7012
7068
  DemiBold
7013
-
7069
+
7014
7070
  Bold
7015
-
7071
+
7016
7072
  ExtraBold
7017
-
7073
+
7018
7074
  Black
7019
-
7075
+
7020
7076
  ExtraBlack
7021
7077
  */
7022
7078
 
@@ -7038,17 +7094,17 @@ var FontWeight;
7038
7094
  })(FontWeight || (FontWeight = {}));
7039
7095
  /**
7040
7096
  *
7041
-
7097
+
7042
7098
  unknown
7043
-
7099
+
7044
7100
  point
7045
-
7101
+
7046
7102
  polyline
7047
-
7103
+
7048
7104
  polygon
7049
-
7105
+
7050
7106
  envelope
7051
-
7107
+
7052
7108
  multipoint
7053
7109
  */
7054
7110
 
@@ -7065,13 +7121,13 @@ var GeometryType;
7065
7121
  })(GeometryType || (GeometryType = {}));
7066
7122
  /**
7067
7123
  * Resource group.
7068
-
7124
+
7069
7125
  my
7070
-
7126
+
7071
7127
  role
7072
-
7128
+
7073
7129
  public
7074
-
7130
+
7075
7131
  all
7076
7132
  */
7077
7133
 
@@ -7087,9 +7143,9 @@ var Group;
7087
7143
  /**
7088
7144
  * The size of the line ending in a SPCore.Kernel.Rendering.Symbols.SimplePolylineSymbol. The values sent here can be one
7089
7145
  of the preset values, or a number representing the size of the ending in pixels for 1px wide lines.
7090
-
7146
+
7091
7147
  small
7092
-
7148
+
7093
7149
  large
7094
7150
  */
7095
7151
 
@@ -7102,19 +7158,19 @@ var LineEndingSize;
7102
7158
  })(LineEndingSize || (LineEndingSize = {}));
7103
7159
  /**
7104
7160
  * Type of the line ending.
7105
-
7161
+
7106
7162
  none
7107
-
7163
+
7108
7164
  arrow
7109
-
7165
+
7110
7166
  filledArrow
7111
-
7167
+
7112
7168
  square
7113
-
7169
+
7114
7170
  filledSquare
7115
-
7171
+
7116
7172
  circle
7117
-
7173
+
7118
7174
  filledCircle
7119
7175
  */
7120
7176
 
@@ -7132,15 +7188,15 @@ var LineEndingType;
7132
7188
  })(LineEndingType || (LineEndingType = {}));
7133
7189
  /**
7134
7190
  *
7135
-
7191
+
7136
7192
  Unknown
7137
-
7193
+
7138
7194
  union
7139
-
7195
+
7140
7196
  intersection
7141
-
7197
+
7142
7198
  subtraction
7143
-
7199
+
7144
7200
  symDifference
7145
7201
  */
7146
7202
 
@@ -7156,19 +7212,19 @@ var Operation;
7156
7212
  })(Operation || (Operation = {}));
7157
7213
  /**
7158
7214
  * User permissions for server security objects (services, projects etc.)
7159
-
7215
+
7160
7216
  none
7161
-
7217
+
7162
7218
  configure
7163
-
7219
+
7164
7220
  write
7165
-
7221
+
7166
7222
  read
7167
-
7223
+
7168
7224
  read,configure
7169
-
7225
+
7170
7226
  read,write
7171
-
7227
+
7172
7228
  read,write,configure
7173
7229
  */
7174
7230
 
@@ -7186,19 +7242,19 @@ var Permissions;
7186
7242
  })(Permissions || (Permissions = {}));
7187
7243
  /**
7188
7244
  * Type of the authorization policy.
7189
-
7245
+
7190
7246
  Unknown
7191
-
7247
+
7192
7248
  CreateTable
7193
-
7249
+
7194
7250
  CreateLayer
7195
-
7251
+
7196
7252
  CreateProject
7197
-
7253
+
7198
7254
  MaxFeaturesInOneTable
7199
-
7255
+
7200
7256
  MaxObjectsToExport
7201
-
7257
+
7202
7258
  MaxUploadContentSize
7203
7259
  */
7204
7260
 
@@ -7216,11 +7272,11 @@ var PolicyType;
7216
7272
  })(PolicyType || (PolicyType = {}));
7217
7273
  /**
7218
7274
  * Types of table reference.
7219
-
7275
+
7220
7276
  OneToMany
7221
-
7277
+
7222
7278
  OneToOne
7223
-
7279
+
7224
7280
  Intersect
7225
7281
  */
7226
7282
 
@@ -7234,19 +7290,19 @@ var ReferenceJoinType;
7234
7290
  })(ReferenceJoinType || (ReferenceJoinType = {}));
7235
7291
  /**
7236
7292
  * The `ResourceType` represents resource manager supports types.
7237
-
7293
+
7238
7294
  Unknown
7239
-
7295
+
7240
7296
  table
7241
-
7297
+
7242
7298
  layer
7243
-
7299
+
7244
7300
  project
7245
-
7301
+
7246
7302
  file
7247
-
7303
+
7248
7304
  feature
7249
-
7305
+
7250
7306
  tag
7251
7307
  */
7252
7308
 
@@ -7272,21 +7328,21 @@ var ResourceTypeLink;
7272
7328
  })(ResourceTypeLink || (ResourceTypeLink = {}));
7273
7329
  /**
7274
7330
  * Status of the server task.
7275
-
7331
+
7276
7332
  None
7277
-
7333
+
7278
7334
  Scheduled
7279
-
7335
+
7280
7336
  Planning
7281
-
7337
+
7282
7338
  Executing
7283
-
7339
+
7284
7340
  Completed
7285
-
7341
+
7286
7342
  Failed
7287
-
7343
+
7288
7344
  Canceled
7289
-
7345
+
7290
7346
  Timeout
7291
7347
  */
7292
7348
 
@@ -7305,9 +7361,9 @@ var ServerTaskStatus;
7305
7361
  })(ServerTaskStatus || (ServerTaskStatus = {}));
7306
7362
  /**
7307
7363
  * Simplify type.
7308
-
7364
+
7309
7365
  Basic
7310
-
7366
+
7311
7367
  PreserveTopology
7312
7368
  */
7313
7369
 
@@ -7320,11 +7376,11 @@ var SimplifyType;
7320
7376
  })(SimplifyType || (SimplifyType = {}));
7321
7377
  /**
7322
7378
  * The `StringSubType` provides information about string attribute subtype.
7323
-
7379
+
7324
7380
  None
7325
-
7381
+
7326
7382
  Image
7327
-
7383
+
7328
7384
  PkkCode
7329
7385
  */
7330
7386
 
@@ -7338,9 +7394,9 @@ var StringSubType;
7338
7394
  })(StringSubType || (StringSubType = {}));
7339
7395
  /**
7340
7396
  * Task owner group.
7341
-
7397
+
7342
7398
  my
7343
-
7399
+
7344
7400
  all
7345
7401
  */
7346
7402
 
@@ -7353,13 +7409,13 @@ var TaskGroup;
7353
7409
  })(TaskGroup || (TaskGroup = {}));
7354
7410
  /**
7355
7411
  * Sets the horizontal alignment of text.
7356
-
7412
+
7357
7413
  right
7358
-
7414
+
7359
7415
  left
7360
-
7416
+
7361
7417
  center
7362
-
7418
+
7363
7419
  justified
7364
7420
  */
7365
7421
 
@@ -7374,11 +7430,11 @@ var TextAlignment;
7374
7430
  })(TextAlignment || (TextAlignment = {}));
7375
7431
  /**
7376
7432
  * Sets the vertical alignment of text.
7377
-
7433
+
7378
7434
  top
7379
-
7435
+
7380
7436
  bottom
7381
-
7437
+
7382
7438
  middle
7383
7439
  */
7384
7440