@evergis/api 4.1.16 → 4.1.18

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/index.js CHANGED
@@ -1589,6 +1589,20 @@ class CatalogService extends Service {
1589
1589
  getResourceByPath(path) {
1590
1590
  return this.http.get(`/resources/getByPath/${path}`).json();
1591
1591
  }
1592
+ /**
1593
+ * No description
1594
+ *
1595
+ * @tags Catalog
1596
+ * @name PostGetResourceByPath
1597
+ * @operationId CatalogController_PostGetResourceByPath
1598
+ * @summary Get resource with given path.
1599
+ * @request POST:/resources/getByPath
1600
+ * @secure
1601
+ * @response `200` OK
1602
+ */
1603
+ postGetResourceByPath(data) {
1604
+ return this.http.post(`/resources/getByPath`, data).json();
1605
+ }
1592
1606
  /**
1593
1607
  * No description
1594
1608
  *
@@ -1729,6 +1743,20 @@ class CatalogService extends Service {
1729
1743
  copyResources(data) {
1730
1744
  return this.http.post(`/resources/copy`, data).json();
1731
1745
  }
1746
+ /**
1747
+ * No description
1748
+ *
1749
+ * @tags Catalog
1750
+ * @name ExtractZipArchive
1751
+ * @operationId CatalogController_ExtractZipArchive
1752
+ * @summary Extract zip archive.
1753
+ * @request POST:/resources/zip/extract
1754
+ * @secure
1755
+ * @response `200` OK
1756
+ */
1757
+ extractZipArchive(data) {
1758
+ return this.http.post(`/resources/zip/extract`, data).then(() => { });
1759
+ }
1732
1760
  }
1733
1761
 
1734
1762
  class FileUpload extends CatalogService {
@@ -3149,8 +3177,8 @@ class LayersService extends Service {
3149
3177
  * @secure
3150
3178
  * @response `200` OK
3151
3179
  */
3152
- createFeatures(name, data) {
3153
- return this.http.post(`/layers/${name}/features`, data).json();
3180
+ createFeatures({ name, ...query }, data) {
3181
+ return this.http.post(`/layers/${name}/features`, data, query).json();
3154
3182
  }
3155
3183
  /**
3156
3184
  * No description
@@ -5373,6 +5401,24 @@ exports.ConfigurationType = void 0;
5373
5401
  /**
5374
5402
  *
5375
5403
 
5404
+ Skip
5405
+
5406
+ Overwrite
5407
+
5408
+ GenerateUnique
5409
+
5410
+ ThrowError
5411
+ */
5412
+ exports.ConflictResolutionStrategy = void 0;
5413
+ (function (ConflictResolutionStrategy) {
5414
+ ConflictResolutionStrategy["Skip"] = "Skip";
5415
+ ConflictResolutionStrategy["Overwrite"] = "Overwrite";
5416
+ ConflictResolutionStrategy["GenerateUnique"] = "GenerateUnique";
5417
+ ConflictResolutionStrategy["ThrowError"] = "ThrowError";
5418
+ })(exports.ConflictResolutionStrategy || (exports.ConflictResolutionStrategy = {}));
5419
+ /**
5420
+ *
5421
+
5376
5422
  Json
5377
5423
 
5378
5424
  Csv
@@ -5575,6 +5621,21 @@ exports.PolicyType = void 0;
5575
5621
  PolicyType["MaxEqlQueryParametersValues"] = "MaxEqlQueryParametersValues";
5576
5622
  })(exports.PolicyType || (exports.PolicyType = {}));
5577
5623
  /**
5624
+ * Stream quality.
5625
+
5626
+ Low
5627
+
5628
+ Medium
5629
+
5630
+ High
5631
+ */
5632
+ exports.Quality = void 0;
5633
+ (function (Quality) {
5634
+ Quality["Low"] = "Low";
5635
+ Quality["Medium"] = "Medium";
5636
+ Quality["High"] = "High";
5637
+ })(exports.Quality || (exports.Quality = {}));
5638
+ /**
5578
5639
  *
5579
5640
 
5580
5641
  Init
@@ -5675,6 +5736,8 @@ File
5675
5736
  DataSource
5676
5737
 
5677
5738
  TaskPrototype
5739
+
5740
+ Directory
5678
5741
  */
5679
5742
  exports.ResourceTypeFilter = void 0;
5680
5743
  (function (ResourceTypeFilter) {
@@ -5687,6 +5750,7 @@ exports.ResourceTypeFilter = void 0;
5687
5750
  ResourceTypeFilter["File"] = "File";
5688
5751
  ResourceTypeFilter["DataSource"] = "DataSource";
5689
5752
  ResourceTypeFilter["TaskPrototype"] = "TaskPrototype";
5753
+ ResourceTypeFilter["Directory"] = "Directory";
5690
5754
  })(exports.ResourceTypeFilter || (exports.ResourceTypeFilter = {}));
5691
5755
  exports.ResourceTypeLink = void 0;
5692
5756
  (function (ResourceTypeLink) {