@evergis/api 3.0.159 → 3.0.162

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.
@@ -437,6 +437,184 @@ let BulkOperations = /*#__PURE__*/function (_BulkOperationsServic) {
437
437
  return _createClass(BulkOperations);
438
438
  }(BulkOperationsService);
439
439
 
440
+ const _excluded$1 = ["cameraId"],
441
+ _excluded2 = ["cameraId"],
442
+ _excluded3 = ["cameraId"],
443
+ _excluded4 = ["cameraId"],
444
+ _excluded5 = ["cameraId"];
445
+ /**
446
+ * @title Spatial Processing Core API
447
+ * @version 1.0.0
448
+ * @baseUrl /sp
449
+ */
450
+
451
+ let CamerasService = /*#__PURE__*/function (_Service) {
452
+ _inherits(CamerasService, _Service);
453
+
454
+ var _super = /*#__PURE__*/_createSuper(CamerasService);
455
+
456
+ function CamerasService() {
457
+ _classCallCheck(this, CamerasService);
458
+
459
+ return _super.apply(this, arguments);
460
+ }
461
+
462
+ _createClass(CamerasService, [{
463
+ key: "getCameras",
464
+ value:
465
+ /**
466
+ * No description
467
+ *
468
+ * @tags Cameras
469
+ * @name GetCameras
470
+ * @operationId CamerasController_GetCameras
471
+ * @summary Get cameras list.
472
+ * @request GET:/cameras
473
+ * @response `200` Success
474
+ */
475
+ function getCameras(query) {
476
+ return this.http.get("/cameras", query).json();
477
+ }
478
+ /**
479
+ * No description
480
+ *
481
+ * @tags Cameras
482
+ * @name GetArchiveFeed
483
+ * @operationId CamerasController_GetArchiveFeed
484
+ * @summary Streams an FLV-over-HTTP archive feed starting at specific time.
485
+ * @request GET:/cameras/{cameraId}/archiveFeed
486
+ * @response `200` Success
487
+ */
488
+
489
+ }, {
490
+ key: "getArchiveFeed",
491
+ value: function getArchiveFeed(_ref) {
492
+ let {
493
+ cameraId
494
+ } = _ref,
495
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$1);
496
+
497
+ return this.http.get("/cameras/" + cameraId + "/archiveFeed", query).blob();
498
+ }
499
+ /**
500
+ * No description
501
+ *
502
+ * @tags Cameras
503
+ * @name GetArchiveTimeline
504
+ * @operationId CamerasController_GetArchiveTimeline
505
+ * @summary Returns a list of records available within a given timeframe.
506
+ * @request GET:/cameras/{cameraId}/archiveTimeline
507
+ * @response `200` Success
508
+ */
509
+
510
+ }, {
511
+ key: "getArchiveTimeline",
512
+ value: function getArchiveTimeline(_ref2) {
513
+ let {
514
+ cameraId
515
+ } = _ref2,
516
+ query = _objectWithoutPropertiesLoose(_ref2, _excluded2);
517
+
518
+ return this.http.get("/cameras/" + cameraId + "/archiveTimeline", query).json();
519
+ }
520
+ /**
521
+ * No description
522
+ *
523
+ * @tags Cameras
524
+ * @name GetArchiveCalendar
525
+ * @operationId CamerasController_GetArchiveCalendar
526
+ * @summary Returns a list of records available within a given timeframe.
527
+ * @request GET:/cameras/{cameraId}/archiveCalendar
528
+ * @response `200` Success
529
+ */
530
+
531
+ }, {
532
+ key: "getArchiveCalendar",
533
+ value: function getArchiveCalendar(_ref3) {
534
+ let {
535
+ cameraId
536
+ } = _ref3,
537
+ query = _objectWithoutPropertiesLoose(_ref3, _excluded3);
538
+
539
+ return this.http.get("/cameras/" + cameraId + "/archiveCalendar", query).json();
540
+ }
541
+ /**
542
+ * No description
543
+ *
544
+ * @tags Cameras
545
+ * @name GetArchiveSnapshot
546
+ * @operationId CamerasController_GetArchiveSnapshot
547
+ * @summary Returns a JPEG image from the Camera’s archive.
548
+ * @request GET:/cameras/{cameraId}/archiveSnapshot
549
+ * @response `200` Success
550
+ */
551
+
552
+ }, {
553
+ key: "getArchiveSnapshot",
554
+ value: function getArchiveSnapshot(_ref4) {
555
+ let {
556
+ cameraId
557
+ } = _ref4,
558
+ query = _objectWithoutPropertiesLoose(_ref4, _excluded4);
559
+
560
+ return this.http.get("/cameras/" + cameraId + "/archiveSnapshot", query).blob();
561
+ }
562
+ /**
563
+ * No description
564
+ *
565
+ * @tags Cameras
566
+ * @name GetLiveFeed
567
+ * @operationId CamerasController_GetLiveFeed
568
+ * @summary Streams live video feed from the Camera.
569
+ * @request GET:/cameras/{cameraId}/liveFeed
570
+ * @response `200` Success
571
+ */
572
+
573
+ }, {
574
+ key: "getLiveFeed",
575
+ value: function getLiveFeed(_ref5) {
576
+ let {
577
+ cameraId
578
+ } = _ref5,
579
+ query = _objectWithoutPropertiesLoose(_ref5, _excluded5);
580
+
581
+ return this.http.get("/cameras/" + cameraId + "/liveFeed", query).blob();
582
+ }
583
+ /**
584
+ * No description
585
+ *
586
+ * @tags Cameras
587
+ * @name GetLiveSnapshot
588
+ * @operationId CamerasController_GetLiveSnapshot
589
+ * @summary Returns a JPEG image from the Camera’s live feed.
590
+ * @request GET:/cameras/{cameraId}/liveSnapshot
591
+ * @response `200` Success
592
+ */
593
+
594
+ }, {
595
+ key: "getLiveSnapshot",
596
+ value: function getLiveSnapshot(cameraId) {
597
+ return this.http.get("/cameras/" + cameraId + "/liveSnapshot").blob();
598
+ }
599
+ }]);
600
+
601
+ return CamerasService;
602
+ }(Service);
603
+
604
+ let Cameras = /*#__PURE__*/function (_CamerasService) {
605
+ _inherits(Cameras, _CamerasService);
606
+
607
+ var _super = /*#__PURE__*/_createSuper(Cameras);
608
+
609
+ function Cameras() {
610
+ _classCallCheck(this, Cameras);
611
+
612
+ return _super.apply(this, arguments);
613
+ }
614
+
615
+ return _createClass(Cameras);
616
+ }(CamerasService);
617
+
440
618
  /**
441
619
  * @title Spatial Processing Core API
442
620
  * @version 1.0.0
@@ -880,13 +1058,29 @@ let ImportService = /*#__PURE__*/function (_Service) {
880
1058
  value: function getExternalPbfLayers(query) {
881
1059
  return this.http.get("/import/pbf", query).json();
882
1060
  }
1061
+ /**
1062
+ * No description
1063
+ *
1064
+ * @tags ImportService
1065
+ * @name GetExternalArcgisFsLayers
1066
+ * @operationId ImportServiceController_GetExternalArcgisFSLayers
1067
+ * @summary Get list of external ArcGis FeatureServer layers.
1068
+ * @request GET:/import/arcgisfeatureservice
1069
+ * @response `200` Success
1070
+ */
1071
+
1072
+ }, {
1073
+ key: "getExternalArcgisFsLayers",
1074
+ value: function getExternalArcgisFsLayers(query) {
1075
+ return this.http.get("/import/arcgisfeatureservice", query).json();
1076
+ }
883
1077
  /**
884
1078
  * No description
885
1079
  *
886
1080
  * @tags ImportService
887
1081
  * @name GetExternalArcGisLayers
888
1082
  * @operationId ImportServiceController_GetExternalArcGisLayers
889
- * @summary Get list of external ArcGis map service layers.
1083
+ * @summary Get list of external ArcGis MapServer layers.
890
1084
  * @request GET:/import/arcgismapservice
891
1085
  * @response `200` Success
892
1086
  */
@@ -1714,11 +1908,11 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
1714
1908
  return Scheduler;
1715
1909
  }(SchedulerService);
1716
1910
 
1717
- const _excluded$1 = ["name"],
1718
- _excluded2 = ["name"],
1719
- _excluded3 = ["name"],
1720
- _excluded4 = ["name", "id"],
1721
- _excluded5 = ["name", "id"],
1911
+ const _excluded$2 = ["name"],
1912
+ _excluded2$1 = ["name"],
1913
+ _excluded3$1 = ["name"],
1914
+ _excluded4$1 = ["name", "id"],
1915
+ _excluded5$1 = ["name", "id"],
1722
1916
  _excluded6 = ["name", "id"],
1723
1917
  _excluded7 = ["name", "x", "y", "z"],
1724
1918
  _excluded8 = ["name"],
@@ -2222,7 +2416,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
2222
2416
  let {
2223
2417
  name
2224
2418
  } = _ref,
2225
- query = _objectWithoutPropertiesLoose(_ref, _excluded$1);
2419
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$2);
2226
2420
 
2227
2421
  return this.http.get("/layers/" + name + "/features", query).json();
2228
2422
  }
@@ -2243,7 +2437,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
2243
2437
  let {
2244
2438
  name
2245
2439
  } = _ref2,
2246
- query = _objectWithoutPropertiesLoose(_ref2, _excluded2);
2440
+ query = _objectWithoutPropertiesLoose(_ref2, _excluded2$1);
2247
2441
 
2248
2442
  return this.http.delete("/layers/" + name + "/features", null, query).json();
2249
2443
  }
@@ -2296,7 +2490,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
2296
2490
  let {
2297
2491
  name
2298
2492
  } = _ref3,
2299
- query = _objectWithoutPropertiesLoose(_ref3, _excluded3);
2493
+ query = _objectWithoutPropertiesLoose(_ref3, _excluded3$1);
2300
2494
 
2301
2495
  return this.http.get("/layers/" + name + "/features/contains", query).json();
2302
2496
  }
@@ -2318,7 +2512,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
2318
2512
  name,
2319
2513
  id
2320
2514
  } = _ref4,
2321
- query = _objectWithoutPropertiesLoose(_ref4, _excluded4);
2515
+ query = _objectWithoutPropertiesLoose(_ref4, _excluded4$1);
2322
2516
 
2323
2517
  return this.http.get("/layers/" + name + "/features/" + id, query).json();
2324
2518
  }
@@ -2340,7 +2534,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
2340
2534
  name,
2341
2535
  id
2342
2536
  } = _ref5,
2343
- query = _objectWithoutPropertiesLoose(_ref5, _excluded5);
2537
+ query = _objectWithoutPropertiesLoose(_ref5, _excluded5$1);
2344
2538
 
2345
2539
  return this.http.post("/layers/" + name + "/features/" + id + "/unite", data, query).json();
2346
2540
  }
@@ -2891,7 +3085,7 @@ function notError(v) {
2891
3085
  return !isError(v);
2892
3086
  }
2893
3087
 
2894
- const _excluded$2 = ["remote"];
3088
+ const _excluded$3 = ["remote"];
2895
3089
  let Layers = /*#__PURE__*/function (_LayersService) {
2896
3090
  _inherits(Layers, _LayersService);
2897
3091
 
@@ -2931,7 +3125,7 @@ let Layers = /*#__PURE__*/function (_LayersService) {
2931
3125
  let {
2932
3126
  remote
2933
3127
  } = _ref,
2934
- configuration = _objectWithoutPropertiesLoose(_ref, _excluded$2);
3128
+ configuration = _objectWithoutPropertiesLoose(_ref, _excluded$3);
2935
3129
 
2936
3130
  if (remote) {
2937
3131
  return this.publishRemoteTileService(configuration);
@@ -2980,10 +3174,10 @@ function isTileLayerService(layer) {
2980
3174
  return layer.type && /TileService/.test(layer.type);
2981
3175
  }
2982
3176
 
2983
- const _excluded$3 = ["name"],
2984
- _excluded2$1 = ["name"],
2985
- _excluded3$1 = ["name"],
2986
- _excluded4$1 = ["name"];
3177
+ const _excluded$4 = ["name"],
3178
+ _excluded2$2 = ["name"],
3179
+ _excluded3$2 = ["name"],
3180
+ _excluded4$2 = ["name"];
2987
3181
  /**
2988
3182
  * @title Spatial Processing Core API
2989
3183
  * @version 1.0.0
@@ -3162,7 +3356,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
3162
3356
  let {
3163
3357
  name
3164
3358
  } = _ref,
3165
- query = _objectWithoutPropertiesLoose(_ref, _excluded$3);
3359
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$4);
3166
3360
 
3167
3361
  return this.http.get("/tables/" + name + "/data", query).json();
3168
3362
  }
@@ -3199,7 +3393,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
3199
3393
  let {
3200
3394
  name
3201
3395
  } = _ref2,
3202
- query = _objectWithoutPropertiesLoose(_ref2, _excluded2$1);
3396
+ query = _objectWithoutPropertiesLoose(_ref2, _excluded2$2);
3203
3397
 
3204
3398
  return this.http.patch("/tables/" + name + "/data", data, query).then(() => {});
3205
3399
  }
@@ -3220,7 +3414,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
3220
3414
  let {
3221
3415
  name
3222
3416
  } = _ref3,
3223
- query = _objectWithoutPropertiesLoose(_ref3, _excluded3$1);
3417
+ query = _objectWithoutPropertiesLoose(_ref3, _excluded3$2);
3224
3418
 
3225
3419
  return this.http.delete("/tables/" + name + "/data", null, query).then(() => {});
3226
3420
  }
@@ -3241,7 +3435,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
3241
3435
  let {
3242
3436
  name
3243
3437
  } = _ref4,
3244
- query = _objectWithoutPropertiesLoose(_ref4, _excluded4$1);
3438
+ query = _objectWithoutPropertiesLoose(_ref4, _excluded4$2);
3245
3439
 
3246
3440
  return this.http.get("/tables/" + name + "/data/unique-values", query).json();
3247
3441
  }
@@ -4136,9 +4330,9 @@ let Styles = /*#__PURE__*/function (_StyleService) {
4136
4330
  return _createClass(Styles);
4137
4331
  }(StyleService);
4138
4332
 
4139
- const _excluded$4 = ["providerName"],
4140
- _excluded2$2 = ["providerName"],
4141
- _excluded3$2 = ["providerName"];
4333
+ const _excluded$5 = ["providerName"],
4334
+ _excluded2$3 = ["providerName"],
4335
+ _excluded3$3 = ["providerName"];
4142
4336
  /**
4143
4337
  * @title Spatial Processing Core API
4144
4338
  * @version 1.0.0
@@ -4173,7 +4367,7 @@ let GeocodeService = /*#__PURE__*/function (_Service) {
4173
4367
  let {
4174
4368
  providerName
4175
4369
  } = _ref,
4176
- query = _objectWithoutPropertiesLoose(_ref, _excluded$4);
4370
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$5);
4177
4371
 
4178
4372
  return this.http.get("/geocode/" + providerName, query).json();
4179
4373
  }
@@ -4194,7 +4388,7 @@ let GeocodeService = /*#__PURE__*/function (_Service) {
4194
4388
  let {
4195
4389
  providerName
4196
4390
  } = _ref2,
4197
- query = _objectWithoutPropertiesLoose(_ref2, _excluded2$2);
4391
+ query = _objectWithoutPropertiesLoose(_ref2, _excluded2$3);
4198
4392
 
4199
4393
  return this.http.get("/geocode/" + providerName + "/geocodeByPoint", query).json();
4200
4394
  }
@@ -4215,7 +4409,7 @@ let GeocodeService = /*#__PURE__*/function (_Service) {
4215
4409
  let {
4216
4410
  providerName
4217
4411
  } = _ref3,
4218
- query = _objectWithoutPropertiesLoose(_ref3, _excluded3$2);
4412
+ query = _objectWithoutPropertiesLoose(_ref3, _excluded3$3);
4219
4413
 
4220
4414
  return this.http.get("/geocode/" + providerName + "/suggest", query).json();
4221
4415
  }
@@ -5200,7 +5394,7 @@ let Account = /*#__PURE__*/function (_AccountService) {
5200
5394
  return Account;
5201
5395
  }(AccountService);
5202
5396
 
5203
- const _excluded$5 = ["username"];
5397
+ const _excluded$6 = ["username"];
5204
5398
  /**
5205
5399
  * @title Spatial Processing Core API
5206
5400
  * @version 1.0.0
@@ -5251,7 +5445,7 @@ let AccountPreviewService = /*#__PURE__*/function (_Service) {
5251
5445
  let {
5252
5446
  username
5253
5447
  } = _ref,
5254
- query = _objectWithoutPropertiesLoose(_ref, _excluded$5);
5448
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$6);
5255
5449
 
5256
5450
  return this.http.post("/account/user/preview/" + username, toFormData(data), query).json();
5257
5451
  }
@@ -6198,7 +6392,7 @@ let Feedback = /*#__PURE__*/function (_FeedbackService) {
6198
6392
  return Feedback;
6199
6393
  }(FeedbackService);
6200
6394
 
6201
- const _excluded$6 = ["name", "z", "x", "y"];
6395
+ const _excluded$7 = ["name", "z", "x", "y"];
6202
6396
  /**
6203
6397
  * @title Spatial Processing Core API
6204
6398
  * @version 1.0.0
@@ -6236,7 +6430,7 @@ let VectorTileService = /*#__PURE__*/function (_Service) {
6236
6430
  x,
6237
6431
  y
6238
6432
  } = _ref,
6239
- query = _objectWithoutPropertiesLoose(_ref, _excluded$6);
6433
+ query = _objectWithoutPropertiesLoose(_ref, _excluded$7);
6240
6434
 
6241
6435
  return this.http.get("/vt/" + name + "/" + z + "/" + x + "/" + y + ".pbf", query).then(() => {});
6242
6436
  }
@@ -6474,6 +6668,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
6474
6668
  _this.filters = new Filters(_this.http);
6475
6669
  _this.import = new Import(_this.http);
6476
6670
  _this.geocode = new Geocode(_this.http);
6671
+ _this.cameras = new Cameras(_this.http);
6477
6672
  _this.print = new Print(_this.http);
6478
6673
  _this.tools = new Tools(_this.http);
6479
6674
  _this.resourceCatalog = new ResourceCatalog(_this.http);
@@ -6663,7 +6858,7 @@ let EvergisTileLayer = /*#__PURE__*/function (_TileLayer) {
6663
6858
  return EvergisTileLayer;
6664
6859
  }(TileLayer.TileLayer);
6665
6860
 
6666
- const _excluded$7 = ["name", "style", "condition", "dataFilterId"];
6861
+ const _excluded$8 = ["name", "style", "condition", "dataFilterId"];
6667
6862
  let EvergisDynamicLayer = /*#__PURE__*/function (_DynamicLayer) {
6668
6863
  _inherits(EvergisDynamicLayer, _DynamicLayer);
6669
6864
 
@@ -6678,7 +6873,7 @@ let EvergisDynamicLayer = /*#__PURE__*/function (_DynamicLayer) {
6678
6873
  condition,
6679
6874
  dataFilterId
6680
6875
  } = _ref,
6681
- layerProps = _objectWithoutPropertiesLoose(_ref, _excluded$7);
6876
+ layerProps = _objectWithoutPropertiesLoose(_ref, _excluded$8);
6682
6877
 
6683
6878
  _classCallCheck(this, EvergisDynamicLayer);
6684
6879
 
@@ -6990,9 +7185,10 @@ function isFeatureLayer(layer) {
6990
7185
  AttributeType["Boolean"] = "Boolean";
6991
7186
  AttributeType["Point"] = "Point";
6992
7187
  AttributeType["Polyline"] = "Polyline";
6993
- AttributeType["MultiPolygon"] = "Polygon";
7188
+ AttributeType["MultiPolygon"] = "MultiPolygon";
6994
7189
  AttributeType["Multipoint"] = "Multipoint";
6995
7190
  AttributeType["H3Index"] = "H3Index";
7191
+ AttributeType["Json"] = "Json";
6996
7192
  })(exports.AttributeType || (exports.AttributeType = {}));
6997
7193
 
6998
7194
  (function (ClassificationType) {
@@ -7226,6 +7422,7 @@ function isFeatureLayer(layer) {
7226
7422
  StringSubType["None"] = "None";
7227
7423
  StringSubType["Image"] = "Image";
7228
7424
  StringSubType["PkkCode"] = "PkkCode";
7425
+ StringSubType["Attachments"] = "Attachments";
7229
7426
  })(exports.StringSubType || (exports.StringSubType = {}));
7230
7427
 
7231
7428
  (function (TaskGroup) {
@@ -7262,6 +7459,7 @@ exports.Account = Account;
7262
7459
  exports.AccountPreview = AccountPreview;
7263
7460
  exports.Api = Api;
7264
7461
  exports.BulkOperations = BulkOperations;
7462
+ exports.Cameras = Cameras;
7265
7463
  exports.ClientSettings = ClientSettings;
7266
7464
  exports.EvergisDynamicLayer = EvergisDynamicLayer;
7267
7465
  exports.EvergisTileLayer = EvergisTileLayer;