@evergis/api 3.0.185 → 3.0.187

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.
@@ -561,6 +561,22 @@ let CatalogService = /*#__PURE__*/function (_Service) {
561
561
  function getAll(query) {
562
562
  return this.http.get("/resources", query).json();
563
563
  }
564
+ /**
565
+ * No description
566
+ *
567
+ * @tags Catalog
568
+ * @name PostGetAll
569
+ * @operationId CatalogController_PostGetAll
570
+ * @summary Get all resource with given.
571
+ * @request POST:/resources
572
+ * @response `200` OK
573
+ */
574
+
575
+ }, {
576
+ key: "postGetAll",
577
+ value: function postGetAll(data) {
578
+ return this.http.post("/resources", data).json();
579
+ }
564
580
  /**
565
581
  * No description
566
582
  *
@@ -673,6 +689,22 @@ let CatalogService = /*#__PURE__*/function (_Service) {
673
689
  value: function getPermissions(resourceId) {
674
690
  return this.http.get("/resources/" + resourceId + "/permissions").json();
675
691
  }
692
+ /**
693
+ * No description
694
+ *
695
+ * @tags Catalog
696
+ * @name SetPermissions1
697
+ * @operationId CatalogController_SetPermissions_1
698
+ * @summary Set permissions to the resource.
699
+ * @request PUT:/resources/{resourceId}/permissions
700
+ * @response `200` OK
701
+ */
702
+
703
+ }, {
704
+ key: "setPermissions1",
705
+ value: function setPermissions1(resourceId, data) {
706
+ return this.http.put("/resources/" + resourceId + "/permissions", data).json();
707
+ }
676
708
  /**
677
709
  * No description
678
710
  *
@@ -680,14 +712,14 @@ let CatalogService = /*#__PURE__*/function (_Service) {
680
712
  * @name SetPermissions
681
713
  * @operationId CatalogController_SetPermissions
682
714
  * @summary Set permissions to the resource.
683
- * @request PUT:/resources/{resourceId}/permissions
715
+ * @request PUT:/resources/permissions
684
716
  * @response `200` OK
685
717
  */
686
718
 
687
719
  }, {
688
720
  key: "setPermissions",
689
- value: function setPermissions(resourceId, data) {
690
- return this.http.put("/resources/" + resourceId + "/permissions", data).json();
721
+ value: function setPermissions(data) {
722
+ return this.http.put("/resources/permissions", data).json();
691
723
  }
692
724
  /**
693
725
  * No description
@@ -4163,7 +4195,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
4163
4195
  }, {
4164
4196
  key: "getDataLayout",
4165
4197
  value: function getDataLayout(name) {
4166
- return this.http.get("/layers/" + name + "/style/sprite.json").blob();
4198
+ return this.http.get("/layers/" + name + "/style/sprite.json").then(() => {});
4167
4199
  }
4168
4200
  /**
4169
4201
  * No description
@@ -7910,6 +7942,15 @@ function isFeatureLayer(layer) {
7910
7942
  AttributeType["Json"] = "Json";
7911
7943
  })(exports.AttributeType || (exports.AttributeType = {}));
7912
7944
 
7945
+ (function (CatalogResourceType) {
7946
+ CatalogResourceType["None"] = "None";
7947
+ CatalogResourceType["Map"] = "Map";
7948
+ CatalogResourceType["Layer"] = "Layer";
7949
+ CatalogResourceType["Table"] = "Table";
7950
+ CatalogResourceType["File"] = "File";
7951
+ CatalogResourceType["TaskPrototype"] = "TaskPrototype";
7952
+ })(exports.CatalogResourceType || (exports.CatalogResourceType = {}));
7953
+
7913
7954
  (function (ClassificationType) {
7914
7955
  ClassificationType["None"] = "none";
7915
7956
  ClassificationType["NaturalBreaks"] = "naturalBreaks";
@@ -8062,12 +8103,6 @@ function isFeatureLayer(layer) {
8062
8103
  LineJoinType["Round"] = "Round";
8063
8104
  })(exports.LineJoinType || (exports.LineJoinType = {}));
8064
8105
 
8065
- (function (ObjectTypeFilter) {
8066
- ObjectTypeFilter["All"] = "All";
8067
- ObjectTypeFilter["Directory"] = "Directory";
8068
- ObjectTypeFilter["File"] = "File";
8069
- })(exports.ObjectTypeFilter || (exports.ObjectTypeFilter = {}));
8070
-
8071
8106
  (function (Operation) {
8072
8107
  Operation["Unknown"] = "Unknown";
8073
8108
  Operation["Union"] = "union";
@@ -8078,8 +8113,8 @@ function isFeatureLayer(layer) {
8078
8113
 
8079
8114
  (function (OwnerFilter) {
8080
8115
  OwnerFilter["My"] = "My";
8081
- OwnerFilter["All"] = "All";
8082
- OwnerFilter["Other"] = "Other";
8116
+ OwnerFilter["Shared"] = "Shared";
8117
+ OwnerFilter["Public"] = "Public";
8083
8118
  })(exports.OwnerFilter || (exports.OwnerFilter = {}));
8084
8119
 
8085
8120
  (function (PbfSchema) {