@evergis/api 4.0.22 → 4.0.23

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.
@@ -2088,6 +2088,214 @@ let BulkOperations = /*#__PURE__*/function (_BulkOperationsServic) {
2088
2088
  return _createClass(BulkOperations);
2089
2089
  }(BulkOperationsService);
2090
2090
 
2091
+ const _excluded$1 = ["cameraId"],
2092
+ _excluded2 = ["cameraId"],
2093
+ _excluded3 = ["cameraId"],
2094
+ _excluded4 = ["cameraId"],
2095
+ _excluded5 = ["cameraId"],
2096
+ _excluded6 = ["cameraId"];
2097
+ /**
2098
+ * @title Spatial Processing Core API
2099
+ * @version 1.5.1.0
2100
+ * @baseUrl /sp
2101
+ */
2102
+
2103
+ let CamerasService = /*#__PURE__*/function (_Service) {
2104
+ _inherits(CamerasService, _Service);
2105
+
2106
+ var _super = /*#__PURE__*/_createSuper(CamerasService);
2107
+
2108
+ function CamerasService() {
2109
+ _classCallCheck(this, CamerasService);
2110
+
2111
+ return _super.apply(this, arguments);
2112
+ }
2113
+
2114
+ _createClass(CamerasService, [{
2115
+ key: "getCameras",
2116
+ value:
2117
+ /**
2118
+ * No description
2119
+ *
2120
+ * @tags Cameras
2121
+ * @name GetCameras
2122
+ * @operationId CamerasController_GetCameras
2123
+ * @summary Get cameras list.
2124
+ * @request GET:/cameras
2125
+ * @secure
2126
+ * @response `200` OK
2127
+ */
2128
+ function getCameras(query) {
2129
+ return this.http.get("/cameras", query).json();
2130
+ }
2131
+ /**
2132
+ * No description
2133
+ *
2134
+ * @tags Cameras
2135
+ * @name GetArchiveFeed
2136
+ * @operationId CamerasController_GetArchiveFeed
2137
+ * @summary Streams an FLV-over-HTTP archive feed starting at specific time.
2138
+ * @request GET:/cameras/{cameraId}/archiveFeed
2139
+ * @secure
2140
+ * @response `200` OK
2141
+ */
2142
+
2143
+ }, {
2144
+ key: "getArchiveFeed",
2145
+ value: function getArchiveFeed(_ref) {
2146
+ let {
2147
+ cameraId
2148
+ } = _ref,
2149
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$1);
2150
+
2151
+ return this.http.get("/cameras/" + cameraId + "/archiveFeed", query).blob();
2152
+ }
2153
+ /**
2154
+ * No description
2155
+ *
2156
+ * @tags Cameras
2157
+ * @name GetArchiveTimeline
2158
+ * @operationId CamerasController_GetArchiveTimeline
2159
+ * @summary Returns a list of records available within a given timeframe.
2160
+ * @request GET:/cameras/{cameraId}/archiveTimeline
2161
+ * @secure
2162
+ * @response `200` OK
2163
+ */
2164
+
2165
+ }, {
2166
+ key: "getArchiveTimeline",
2167
+ value: function getArchiveTimeline(_ref2) {
2168
+ let {
2169
+ cameraId
2170
+ } = _ref2,
2171
+ query = _objectWithoutPropertiesLoose(_ref2, _excluded2);
2172
+
2173
+ return this.http.get("/cameras/" + cameraId + "/archiveTimeline", query).json();
2174
+ }
2175
+ /**
2176
+ * No description
2177
+ *
2178
+ * @tags Cameras
2179
+ * @name GetArchiveCalendar
2180
+ * @operationId CamerasController_GetArchiveCalendar
2181
+ * @summary Returns a list of records available within a given timeframe.
2182
+ * @request GET:/cameras/{cameraId}/archiveCalendar
2183
+ * @secure
2184
+ * @response `200` OK
2185
+ */
2186
+
2187
+ }, {
2188
+ key: "getArchiveCalendar",
2189
+ value: function getArchiveCalendar(_ref3) {
2190
+ let {
2191
+ cameraId
2192
+ } = _ref3,
2193
+ query = _objectWithoutPropertiesLoose(_ref3, _excluded3);
2194
+
2195
+ return this.http.get("/cameras/" + cameraId + "/archiveCalendar", query).json();
2196
+ }
2197
+ /**
2198
+ * No description
2199
+ *
2200
+ * @tags Cameras
2201
+ * @name GetArchiveSnapshot
2202
+ * @operationId CamerasController_GetArchiveSnapshot
2203
+ * @summary Returns a JPEG image from the Camera’s archive.
2204
+ * @request GET:/cameras/{cameraId}/archiveSnapshot
2205
+ * @secure
2206
+ * @response `200` OK
2207
+ */
2208
+
2209
+ }, {
2210
+ key: "getArchiveSnapshot",
2211
+ value: function getArchiveSnapshot(_ref4) {
2212
+ let {
2213
+ cameraId
2214
+ } = _ref4,
2215
+ query = _objectWithoutPropertiesLoose(_ref4, _excluded4);
2216
+
2217
+ return this.http.get("/cameras/" + cameraId + "/archiveSnapshot", query).blob();
2218
+ }
2219
+ /**
2220
+ * No description
2221
+ *
2222
+ * @tags Cameras
2223
+ * @name GetLiveFeed
2224
+ * @operationId CamerasController_GetLiveFeed
2225
+ * @summary Streams live video feed from the Camera.
2226
+ * @request GET:/cameras/{cameraId}/liveFeed
2227
+ * @secure
2228
+ * @response `200` OK
2229
+ */
2230
+
2231
+ }, {
2232
+ key: "getLiveFeed",
2233
+ value: function getLiveFeed(_ref5) {
2234
+ let {
2235
+ cameraId
2236
+ } = _ref5,
2237
+ query = _objectWithoutPropertiesLoose(_ref5, _excluded5);
2238
+
2239
+ return this.http.get("/cameras/" + cameraId + "/liveFeed", query).blob();
2240
+ }
2241
+ /**
2242
+ * No description
2243
+ *
2244
+ * @tags Cameras
2245
+ * @name GetLiveSnapshot
2246
+ * @operationId CamerasController_GetLiveSnapshot
2247
+ * @summary Returns a JPEG image from the Camera’s live feed.
2248
+ * @request GET:/cameras/{cameraId}/liveSnapshot
2249
+ * @secure
2250
+ * @response `200` OK
2251
+ */
2252
+
2253
+ }, {
2254
+ key: "getLiveSnapshot",
2255
+ value: function getLiveSnapshot(cameraId) {
2256
+ return this.http.get("/cameras/" + cameraId + "/liveSnapshot").blob();
2257
+ }
2258
+ /**
2259
+ * No description
2260
+ *
2261
+ * @tags Cameras
2262
+ * @name GetLivePreviewStream
2263
+ * @operationId CamerasController_GetLivePreviewStream
2264
+ * @summary Get live preview stream.
2265
+ * @request GET:/cameras/{cameraId}/getLivePreviewsStream
2266
+ * @secure
2267
+ * @response `200` OK
2268
+ */
2269
+
2270
+ }, {
2271
+ key: "getLivePreviewStream",
2272
+ value: function getLivePreviewStream(_ref6) {
2273
+ let {
2274
+ cameraId
2275
+ } = _ref6,
2276
+ query = _objectWithoutPropertiesLoose(_ref6, _excluded6);
2277
+
2278
+ return this.http.get("/cameras/" + cameraId + "/getLivePreviewsStream", query).json();
2279
+ }
2280
+ }]);
2281
+
2282
+ return CamerasService;
2283
+ }(Service);
2284
+
2285
+ let Cameras = /*#__PURE__*/function (_CamerasService) {
2286
+ _inherits(Cameras, _CamerasService);
2287
+
2288
+ var _super = /*#__PURE__*/_createSuper(Cameras);
2289
+
2290
+ function Cameras() {
2291
+ _classCallCheck(this, Cameras);
2292
+
2293
+ return _super.apply(this, arguments);
2294
+ }
2295
+
2296
+ return _createClass(Cameras);
2297
+ }(CamerasService);
2298
+
2091
2299
  /**
2092
2300
  * @title Spatial Processing Core API
2093
2301
  * @version 1.5.1.0
@@ -2488,14 +2696,7 @@ let Feedback = /*#__PURE__*/function (_FeedbackService) {
2488
2696
  return _super.apply(this, arguments);
2489
2697
  }
2490
2698
 
2491
- _createClass(Feedback, [{
2492
- key: "postFeedback",
2493
- value: function postFeedback(query, data) {
2494
- return this.feedback(query, data);
2495
- }
2496
- }]);
2497
-
2498
- return Feedback;
2699
+ return _createClass(Feedback);
2499
2700
  }(FeedbackService);
2500
2701
 
2501
2702
  let FileUpload = /*#__PURE__*/function (_CatalogService) {
@@ -2614,9 +2815,9 @@ let Filters = /*#__PURE__*/function (_FiltersService) {
2614
2815
  return _createClass(Filters);
2615
2816
  }(FiltersService);
2616
2817
 
2617
- const _excluded$1 = ["providerName"],
2618
- _excluded2 = ["providerName"],
2619
- _excluded3 = ["providerName"];
2818
+ const _excluded$2 = ["providerName"],
2819
+ _excluded2$1 = ["providerName"],
2820
+ _excluded3$1 = ["providerName"];
2620
2821
  /**
2621
2822
  * @title Spatial Processing Core API
2622
2823
  * @version 1.5.1.0
@@ -2652,7 +2853,7 @@ let GeocodeService = /*#__PURE__*/function (_Service) {
2652
2853
  let {
2653
2854
  providerName
2654
2855
  } = _ref,
2655
- query = _objectWithoutPropertiesLoose(_ref, _excluded$1);
2856
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$2);
2656
2857
 
2657
2858
  return this.http.get("/geocode/" + providerName, query).json();
2658
2859
  }
@@ -2674,7 +2875,7 @@ let GeocodeService = /*#__PURE__*/function (_Service) {
2674
2875
  let {
2675
2876
  providerName
2676
2877
  } = _ref2,
2677
- query = _objectWithoutPropertiesLoose(_ref2, _excluded2);
2878
+ query = _objectWithoutPropertiesLoose(_ref2, _excluded2$1);
2678
2879
 
2679
2880
  return this.http.get("/geocode/" + providerName + "/geocodeByPoint", query).json();
2680
2881
  }
@@ -2696,7 +2897,7 @@ let GeocodeService = /*#__PURE__*/function (_Service) {
2696
2897
  let {
2697
2898
  providerName
2698
2899
  } = _ref3,
2699
- query = _objectWithoutPropertiesLoose(_ref3, _excluded3);
2900
+ query = _objectWithoutPropertiesLoose(_ref3, _excluded3$1);
2700
2901
 
2701
2902
  return this.http.get("/geocode/" + providerName + "/suggest", query).json();
2702
2903
  }
@@ -2942,12 +3143,12 @@ let Import = /*#__PURE__*/function (_ImportService) {
2942
3143
  return _createClass(Import);
2943
3144
  }(ImportService);
2944
3145
 
2945
- const _excluded$2 = ["name"],
2946
- _excluded2$1 = ["name"],
2947
- _excluded3$1 = ["name", "id"],
2948
- _excluded4 = ["name", "x", "y", "z"],
2949
- _excluded5 = ["name", "x", "y", "z", "format"],
2950
- _excluded6 = ["name", "x", "y", "z", "dpi", "format"],
3146
+ const _excluded$3 = ["name"],
3147
+ _excluded2$2 = ["name"],
3148
+ _excluded3$2 = ["name", "id"],
3149
+ _excluded4$1 = ["name", "x", "y", "z"],
3150
+ _excluded5$1 = ["name", "x", "y", "z", "format"],
3151
+ _excluded6$1 = ["name", "x", "y", "z", "dpi", "format"],
2951
3152
  _excluded7 = ["name"],
2952
3153
  _excluded8 = ["name"],
2953
3154
  _excluded9 = ["name"],
@@ -3428,7 +3629,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
3428
3629
  let {
3429
3630
  name
3430
3631
  } = _ref,
3431
- query = _objectWithoutPropertiesLoose(_ref, _excluded$2);
3632
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$3);
3432
3633
 
3433
3634
  return this.http.get("/layers/" + name + "/features", query).json();
3434
3635
  }
@@ -3450,7 +3651,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
3450
3651
  let {
3451
3652
  name
3452
3653
  } = _ref2,
3453
- query = _objectWithoutPropertiesLoose(_ref2, _excluded2$1);
3654
+ query = _objectWithoutPropertiesLoose(_ref2, _excluded2$2);
3454
3655
 
3455
3656
  return this.http.delete("/layers/" + name + "/features", null, query).json();
3456
3657
  }
@@ -3507,7 +3708,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
3507
3708
  name,
3508
3709
  id
3509
3710
  } = _ref3,
3510
- query = _objectWithoutPropertiesLoose(_ref3, _excluded3$1);
3711
+ query = _objectWithoutPropertiesLoose(_ref3, _excluded3$2);
3511
3712
 
3512
3713
  return this.http.get("/layers/" + name + "/features/" + id, query).json();
3513
3714
  }
@@ -3532,7 +3733,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
3532
3733
  y,
3533
3734
  z
3534
3735
  } = _ref4,
3535
- query = _objectWithoutPropertiesLoose(_ref4, _excluded4);
3736
+ query = _objectWithoutPropertiesLoose(_ref4, _excluded4$1);
3536
3737
 
3537
3738
  return this.http.createUrl("/layers/" + name + "/tile/" + z + "/" + x + "/" + y, query);
3538
3739
  }
@@ -3558,7 +3759,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
3558
3759
  z,
3559
3760
  format
3560
3761
  } = _ref5,
3561
- query = _objectWithoutPropertiesLoose(_ref5, _excluded5);
3762
+ query = _objectWithoutPropertiesLoose(_ref5, _excluded5$1);
3562
3763
 
3563
3764
  return this.http.createUrl("/layers/" + name + "/tile/" + z + "/" + x + "/" + y + "." + format, query);
3564
3765
  }
@@ -3585,7 +3786,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
3585
3786
  dpi,
3586
3787
  format
3587
3788
  } = _ref6,
3588
- query = _objectWithoutPropertiesLoose(_ref6, _excluded6);
3789
+ query = _objectWithoutPropertiesLoose(_ref6, _excluded6$1);
3589
3790
 
3590
3791
  return this.http.createUrl("/layers/" + name + "/tile/" + z + "/" + x + "/" + y + "@" + dpi + "x." + format, query);
3591
3792
  }
@@ -4480,7 +4681,7 @@ let PortalSettings = /*#__PURE__*/function (_ClientSettingsServic) {
4480
4681
  return PortalSettings;
4481
4682
  }(ClientSettingsService);
4482
4683
 
4483
- const _excluded$3 = ["name"];
4684
+ const _excluded$4 = ["name"];
4484
4685
  /**
4485
4686
  * @title Spatial Processing Core API
4486
4687
  * @version 1.5.1.0
@@ -4652,7 +4853,7 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
4652
4853
  let {
4653
4854
  name
4654
4855
  } = _ref,
4655
- query = _objectWithoutPropertiesLoose(_ref, _excluded$3);
4856
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$4);
4656
4857
 
4657
4858
  return this.http.get("/projects/" + name + "/extent", query).json();
4658
4859
  }
@@ -4835,8 +5036,8 @@ function isProjectContentItems(v) {
4835
5036
  return v !== null && v !== undefined;
4836
5037
  }
4837
5038
 
4838
- const _excluded$4 = ["id"],
4839
- _excluded2$2 = ["id"];
5039
+ const _excluded$5 = ["id"],
5040
+ _excluded2$3 = ["id"];
4840
5041
  /**
4841
5042
  * @title Spatial Processing Core API
4842
5043
  * @version 1.5.1.0
@@ -4991,7 +5192,7 @@ let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
4991
5192
  let {
4992
5193
  id
4993
5194
  } = _ref,
4994
- query = _objectWithoutPropertiesLoose(_ref, _excluded$4);
5195
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$5);
4995
5196
 
4996
5197
  return this.http.get("/scheduler/" + id + "/tasks", query).json();
4997
5198
  }
@@ -5047,7 +5248,7 @@ let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
5047
5248
  let {
5048
5249
  id
5049
5250
  } = _ref2,
5050
- query = _objectWithoutPropertiesLoose(_ref2, _excluded2$2);
5251
+ query = _objectWithoutPropertiesLoose(_ref2, _excluded2$3);
5051
5252
 
5052
5253
  return this.http.get("/scheduler/taskresource/" + id, query).json();
5053
5254
  }
@@ -5633,24 +5834,12 @@ let Statistic = /*#__PURE__*/function (_StatisticService) {
5633
5834
  return _super.apply(this, arguments);
5634
5835
  }
5635
5836
 
5636
- _createClass(Statistic, [{
5637
- key: "getStatistic",
5638
- value: function getStatistic(params) {
5639
- return this.statisticsDb(params);
5640
- }
5641
- }, {
5642
- key: "getClassify",
5643
- value: function getClassify(params) {
5644
- return this.classify(params);
5645
- }
5646
- }]);
5647
-
5648
- return Statistic;
5837
+ return _createClass(Statistic);
5649
5838
  }(StatisticService);
5650
5839
 
5651
- const _excluded$5 = ["name"],
5652
- _excluded2$3 = ["name"],
5653
- _excluded3$2 = ["name"];
5840
+ const _excluded$6 = ["name"],
5841
+ _excluded2$4 = ["name"],
5842
+ _excluded3$3 = ["name"];
5654
5843
  /**
5655
5844
  * @title Spatial Processing Core API
5656
5845
  * @version 1.5.1.0
@@ -5822,7 +6011,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
5822
6011
  let {
5823
6012
  name
5824
6013
  } = _ref,
5825
- query = _objectWithoutPropertiesLoose(_ref, _excluded$5);
6014
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$6);
5826
6015
 
5827
6016
  return this.http.get("/tables/" + name + "/data", query).json();
5828
6017
  }
@@ -5861,7 +6050,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
5861
6050
  let {
5862
6051
  name
5863
6052
  } = _ref2,
5864
- query = _objectWithoutPropertiesLoose(_ref2, _excluded2$3);
6053
+ query = _objectWithoutPropertiesLoose(_ref2, _excluded2$4);
5865
6054
 
5866
6055
  return this.http.patch("/tables/" + name + "/data", data, query).then(() => {});
5867
6056
  }
@@ -5883,7 +6072,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
5883
6072
  let {
5884
6073
  name
5885
6074
  } = _ref3,
5886
- query = _objectWithoutPropertiesLoose(_ref3, _excluded3$2);
6075
+ query = _objectWithoutPropertiesLoose(_ref3, _excluded3$3);
5887
6076
 
5888
6077
  return this.http.delete("/tables/" + name + "/data", null, query).then(() => {});
5889
6078
  }
@@ -6092,7 +6281,7 @@ let Tools = /*#__PURE__*/function (_ToolsService) {
6092
6281
  return _createClass(Tools);
6093
6282
  }(ToolsService);
6094
6283
 
6095
- const _excluded$6 = ["name", "z", "x", "y"];
6284
+ const _excluded$7 = ["name", "z", "x", "y"];
6096
6285
  /**
6097
6286
  * @title Spatial Processing Core API
6098
6287
  * @version 1.5.1.0
@@ -6131,7 +6320,7 @@ let VectorTileService = /*#__PURE__*/function (_Service) {
6131
6320
  x,
6132
6321
  y
6133
6322
  } = _ref,
6134
- query = _objectWithoutPropertiesLoose(_ref, _excluded$6);
6323
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$7);
6135
6324
 
6136
6325
  return this.http.get("/vt/" + name + "/" + z + "/" + x + "/" + y + ".pbf", query).then(() => {});
6137
6326
  }
@@ -6151,19 +6340,7 @@ let VectorTiles = /*#__PURE__*/function (_VectorTileService) {
6151
6340
  return _super.apply(this, arguments);
6152
6341
  }
6153
6342
 
6154
- _createClass(VectorTiles, [{
6155
- key: "getVt",
6156
- value: function getVt(name, z, x, y) {
6157
- return this.getVectorTile({
6158
- name,
6159
- z,
6160
- x,
6161
- y
6162
- });
6163
- }
6164
- }]);
6165
-
6166
- return VectorTiles;
6343
+ return _createClass(VectorTiles);
6167
6344
  }(VectorTileService);
6168
6345
 
6169
6346
  (function (UrlPath) {
@@ -6293,6 +6470,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
6293
6470
  _this.queryToken = new QueryTokenAccessService(_this.http);
6294
6471
  _this.dataSource = new DataSourceService(_this.http);
6295
6472
  _this.remoteTaskManager = new RemoteTaskManager(_this.http);
6473
+ _this.cameras = new Cameras(_this.http);
6296
6474
  _this.names = new Names({
6297
6475
  account: _this.account
6298
6476
  });
@@ -6668,6 +6846,12 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
6668
6846
  PolicyType["MaxEqlQueryParametersValues"] = "MaxEqlQueryParametersValues";
6669
6847
  })(exports.PolicyType || (exports.PolicyType = {}));
6670
6848
 
6849
+ (function (Quality) {
6850
+ Quality["Low"] = "Low";
6851
+ Quality["Medium"] = "Medium";
6852
+ Quality["High"] = "High";
6853
+ })(exports.Quality || (exports.Quality = {}));
6854
+
6671
6855
  (function (RemoteTaskStatus) {
6672
6856
  RemoteTaskStatus["Init"] = "Init";
6673
6857
  RemoteTaskStatus["Process"] = "Process";
@@ -6800,6 +6984,7 @@ exports.Account = Account;
6800
6984
  exports.AccountPreview = AccountPreview;
6801
6985
  exports.Api = Api;
6802
6986
  exports.BulkOperations = BulkOperations;
6987
+ exports.Cameras = Cameras;
6803
6988
  exports.ClientSettings = ClientSettings;
6804
6989
  exports.Eql = Eql;
6805
6990
  exports.Feedback = Feedback;