@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.
package/dist/api.esm.js CHANGED
@@ -555,6 +555,22 @@ let CatalogService = /*#__PURE__*/function (_Service) {
555
555
  function getAll(query) {
556
556
  return this.http.get("/resources", query).json();
557
557
  }
558
+ /**
559
+ * No description
560
+ *
561
+ * @tags Catalog
562
+ * @name PostGetAll
563
+ * @operationId CatalogController_PostGetAll
564
+ * @summary Get all resource with given.
565
+ * @request POST:/resources
566
+ * @response `200` OK
567
+ */
568
+
569
+ }, {
570
+ key: "postGetAll",
571
+ value: function postGetAll(data) {
572
+ return this.http.post("/resources", data).json();
573
+ }
558
574
  /**
559
575
  * No description
560
576
  *
@@ -667,6 +683,22 @@ let CatalogService = /*#__PURE__*/function (_Service) {
667
683
  value: function getPermissions(resourceId) {
668
684
  return this.http.get("/resources/" + resourceId + "/permissions").json();
669
685
  }
686
+ /**
687
+ * No description
688
+ *
689
+ * @tags Catalog
690
+ * @name SetPermissions1
691
+ * @operationId CatalogController_SetPermissions_1
692
+ * @summary Set permissions to the resource.
693
+ * @request PUT:/resources/{resourceId}/permissions
694
+ * @response `200` OK
695
+ */
696
+
697
+ }, {
698
+ key: "setPermissions1",
699
+ value: function setPermissions1(resourceId, data) {
700
+ return this.http.put("/resources/" + resourceId + "/permissions", data).json();
701
+ }
670
702
  /**
671
703
  * No description
672
704
  *
@@ -674,14 +706,14 @@ let CatalogService = /*#__PURE__*/function (_Service) {
674
706
  * @name SetPermissions
675
707
  * @operationId CatalogController_SetPermissions
676
708
  * @summary Set permissions to the resource.
677
- * @request PUT:/resources/{resourceId}/permissions
709
+ * @request PUT:/resources/permissions
678
710
  * @response `200` OK
679
711
  */
680
712
 
681
713
  }, {
682
714
  key: "setPermissions",
683
- value: function setPermissions(resourceId, data) {
684
- return this.http.put("/resources/" + resourceId + "/permissions", data).json();
715
+ value: function setPermissions(data) {
716
+ return this.http.put("/resources/permissions", data).json();
685
717
  }
686
718
  /**
687
719
  * No description
@@ -4159,7 +4191,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
4159
4191
  }, {
4160
4192
  key: "getDataLayout",
4161
4193
  value: function getDataLayout(name) {
4162
- return this.http.get("/layers/" + name + "/style/sprite.json").blob();
4194
+ return this.http.get("/layers/" + name + "/style/sprite.json").then(() => {});
4163
4195
  }
4164
4196
  /**
4165
4197
  * No description
@@ -8019,6 +8051,33 @@ var AttributeType;
8019
8051
  AttributeType["Json"] = "Json";
8020
8052
  })(AttributeType || (AttributeType = {}));
8021
8053
  /**
8054
+ *
8055
+
8056
+ None
8057
+
8058
+ Map
8059
+
8060
+ Layer
8061
+
8062
+ Table
8063
+
8064
+ File
8065
+
8066
+ TaskPrototype
8067
+ */
8068
+
8069
+
8070
+ var CatalogResourceType;
8071
+
8072
+ (function (CatalogResourceType) {
8073
+ CatalogResourceType["None"] = "None";
8074
+ CatalogResourceType["Map"] = "Map";
8075
+ CatalogResourceType["Layer"] = "Layer";
8076
+ CatalogResourceType["Table"] = "Table";
8077
+ CatalogResourceType["File"] = "File";
8078
+ CatalogResourceType["TaskPrototype"] = "TaskPrototype";
8079
+ })(CatalogResourceType || (CatalogResourceType = {}));
8080
+ /**
8022
8081
  * Describes classification methods.
8023
8082
 
8024
8083
  none
@@ -8413,24 +8472,6 @@ var LineJoinType;
8413
8472
  /**
8414
8473
  *
8415
8474
 
8416
- All
8417
-
8418
- Directory
8419
-
8420
- File
8421
- */
8422
-
8423
-
8424
- var ObjectTypeFilter;
8425
-
8426
- (function (ObjectTypeFilter) {
8427
- ObjectTypeFilter["All"] = "All";
8428
- ObjectTypeFilter["Directory"] = "Directory";
8429
- ObjectTypeFilter["File"] = "File";
8430
- })(ObjectTypeFilter || (ObjectTypeFilter = {}));
8431
- /**
8432
- *
8433
-
8434
8475
  Unknown
8435
8476
 
8436
8477
  union
@@ -8457,9 +8498,9 @@ var Operation;
8457
8498
 
8458
8499
  My
8459
8500
 
8460
- All
8501
+ Shared
8461
8502
 
8462
- Other
8503
+ Public
8463
8504
  */
8464
8505
 
8465
8506
 
@@ -8467,8 +8508,8 @@ var OwnerFilter;
8467
8508
 
8468
8509
  (function (OwnerFilter) {
8469
8510
  OwnerFilter["My"] = "My";
8470
- OwnerFilter["All"] = "All";
8471
- OwnerFilter["Other"] = "Other";
8511
+ OwnerFilter["Shared"] = "Shared";
8512
+ OwnerFilter["Public"] = "Public";
8472
8513
  })(OwnerFilter || (OwnerFilter = {}));
8473
8514
  /**
8474
8515
  * Influences the y direction of the tile coordinates. The global-mercator (aka Spherical Mercator) profile is assumed.
@@ -8755,5 +8796,5 @@ var TextVerticalAlignment;
8755
8796
  TextVerticalAlignment["Middle"] = "middle";
8756
8797
  })(TextVerticalAlignment || (TextVerticalAlignment = {}));
8757
8798
 
8758
- export { Account, AccountPreview, AggregationFunction, Api, ApiEvent, AttributeSelectorType, AttributeType, BulkOperations, Cameras, ClassificationType, ClassifyAttributeType, ClientSettings, ConfigurationErrorEnum, ConnectionStatus, DependencyType, EqlTest, ErrorDetailsType, ErrorReason, ErrorType, EvergisDynamicLayer, EvergisTileLayer, External, FeatureType, Feedback, FileUpload, Filters, FontStyle, FontWeight, GEOCODE_PROVIDER, General, Geocode, GeometryType, Group, HttpClient, IceRouter, Import, Layers, LayersManager, LineCapStyle, LineEndingType, LineJoinType, Names, Namespace, Notification, NotificationEvent, ObjectTypeFilter, Operation, OwnerFilter, PbfSchema, Permissions, PolicyType, PortalSettings, Print, Projects, Quality, ReferenceJoinType, ResourceCatalog, ResourceSeparator, ResourceType, ResourceTypeLink, Resources, Scheduler, Security, ServerTaskStatus, SimplifyType, SpatialProcessor, Statistic, StringSubType, Styles, Tables, TaskGroup, TextAlignment, TextVerticalAlignment, Tools, UrlPath, VectorTiles, addSubDomainToLocation, errorHandler, formDataFromFile, generateId, isEvergisDynamicLayer, isEvergisTileLayer, isFeatureLayer, isHTTPError, isHandledError, isLayer, isProjectContentItems, isString, isTileLayerService, promiseAllIgnoreErrors, stripUselessSlashes, toFormData, unique };
8799
+ export { Account, AccountPreview, AggregationFunction, Api, ApiEvent, AttributeSelectorType, AttributeType, BulkOperations, Cameras, CatalogResourceType, ClassificationType, ClassifyAttributeType, ClientSettings, ConfigurationErrorEnum, ConnectionStatus, DependencyType, EqlTest, ErrorDetailsType, ErrorReason, ErrorType, EvergisDynamicLayer, EvergisTileLayer, External, FeatureType, Feedback, FileUpload, Filters, FontStyle, FontWeight, GEOCODE_PROVIDER, General, Geocode, GeometryType, Group, HttpClient, IceRouter, Import, Layers, LayersManager, LineCapStyle, LineEndingType, LineJoinType, Names, Namespace, Notification, NotificationEvent, Operation, OwnerFilter, PbfSchema, Permissions, PolicyType, PortalSettings, Print, Projects, Quality, ReferenceJoinType, ResourceCatalog, ResourceSeparator, ResourceType, ResourceTypeLink, Resources, Scheduler, Security, ServerTaskStatus, SimplifyType, SpatialProcessor, Statistic, StringSubType, Styles, Tables, TaskGroup, TextAlignment, TextVerticalAlignment, Tools, UrlPath, VectorTiles, addSubDomainToLocation, errorHandler, formDataFromFile, generateId, isEvergisDynamicLayer, isEvergisTileLayer, isFeatureLayer, isHTTPError, isHandledError, isLayer, isProjectContentItems, isString, isTileLayerService, promiseAllIgnoreErrors, stripUselessSlashes, toFormData, unique };
8759
8800
  //# sourceMappingURL=api.esm.js.map