@evergis/api 3.0.186 → 3.0.188

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
@@ -563,6 +563,22 @@ let CatalogService = /*#__PURE__*/function (_Service) {
563
563
  function getAll(query) {
564
564
  return this.http.get("/resources", query).json();
565
565
  }
566
+ /**
567
+ * No description
568
+ *
569
+ * @tags Catalog
570
+ * @name PostGetAll
571
+ * @operationId CatalogController_PostGetAll
572
+ * @summary Get all resource with given.
573
+ * @request POST:/resources
574
+ * @response `200` OK
575
+ */
576
+
577
+ }, {
578
+ key: "postGetAll",
579
+ value: function postGetAll(data) {
580
+ return this.http.post("/resources", data).json();
581
+ }
566
582
  /**
567
583
  * No description
568
584
  *
@@ -675,6 +691,22 @@ let CatalogService = /*#__PURE__*/function (_Service) {
675
691
  value: function getPermissions(resourceId) {
676
692
  return this.http.get("/resources/" + resourceId + "/permissions").json();
677
693
  }
694
+ /**
695
+ * No description
696
+ *
697
+ * @tags Catalog
698
+ * @name SetPermissions1
699
+ * @operationId CatalogController_SetPermissions_1
700
+ * @summary Set permissions to the resource.
701
+ * @request PUT:/resources/{resourceId}/permissions
702
+ * @response `200` OK
703
+ */
704
+
705
+ }, {
706
+ key: "setPermissions1",
707
+ value: function setPermissions1(resourceId, data) {
708
+ return this.http.put("/resources/" + resourceId + "/permissions", data).json();
709
+ }
678
710
  /**
679
711
  * No description
680
712
  *
@@ -682,14 +714,14 @@ let CatalogService = /*#__PURE__*/function (_Service) {
682
714
  * @name SetPermissions
683
715
  * @operationId CatalogController_SetPermissions
684
716
  * @summary Set permissions to the resource.
685
- * @request PUT:/resources/{resourceId}/permissions
717
+ * @request PUT:/resources/permissions
686
718
  * @response `200` OK
687
719
  */
688
720
 
689
721
  }, {
690
722
  key: "setPermissions",
691
- value: function setPermissions(resourceId, data) {
692
- return this.http.put("/resources/" + resourceId + "/permissions", data).json();
723
+ value: function setPermissions(data) {
724
+ return this.http.put("/resources/permissions", data).json();
693
725
  }
694
726
  /**
695
727
  * No description
@@ -4167,7 +4199,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
4167
4199
  }, {
4168
4200
  key: "getDataLayout",
4169
4201
  value: function getDataLayout(name) {
4170
- return this.http.get("/layers/" + name + "/style/sprite.json").blob();
4202
+ return this.http.get("/layers/" + name + "/style/sprite.json").then(() => {});
4171
4203
  }
4172
4204
  /**
4173
4205
  * No description
@@ -8027,6 +8059,33 @@ var AttributeType;
8027
8059
  AttributeType["Json"] = "Json";
8028
8060
  })(AttributeType || (AttributeType = {}));
8029
8061
  /**
8062
+ *
8063
+
8064
+ None
8065
+
8066
+ Map
8067
+
8068
+ Layer
8069
+
8070
+ Table
8071
+
8072
+ File
8073
+
8074
+ TaskPrototype
8075
+ */
8076
+
8077
+
8078
+ var CatalogResourceType;
8079
+
8080
+ (function (CatalogResourceType) {
8081
+ CatalogResourceType["None"] = "None";
8082
+ CatalogResourceType["Map"] = "Map";
8083
+ CatalogResourceType["Layer"] = "Layer";
8084
+ CatalogResourceType["Table"] = "Table";
8085
+ CatalogResourceType["File"] = "File";
8086
+ CatalogResourceType["TaskPrototype"] = "TaskPrototype";
8087
+ })(CatalogResourceType || (CatalogResourceType = {}));
8088
+ /**
8030
8089
  * Describes classification methods.
8031
8090
 
8032
8091
  none
@@ -8421,24 +8480,6 @@ var LineJoinType;
8421
8480
  /**
8422
8481
  *
8423
8482
 
8424
- All
8425
-
8426
- Directory
8427
-
8428
- File
8429
- */
8430
-
8431
-
8432
- var ObjectTypeFilter;
8433
-
8434
- (function (ObjectTypeFilter) {
8435
- ObjectTypeFilter["All"] = "All";
8436
- ObjectTypeFilter["Directory"] = "Directory";
8437
- ObjectTypeFilter["File"] = "File";
8438
- })(ObjectTypeFilter || (ObjectTypeFilter = {}));
8439
- /**
8440
- *
8441
-
8442
8483
  Unknown
8443
8484
 
8444
8485
  union
@@ -8465,9 +8506,9 @@ var Operation;
8465
8506
 
8466
8507
  My
8467
8508
 
8468
- All
8509
+ Shared
8469
8510
 
8470
- Other
8511
+ Public
8471
8512
  */
8472
8513
 
8473
8514
 
@@ -8475,8 +8516,8 @@ var OwnerFilter;
8475
8516
 
8476
8517
  (function (OwnerFilter) {
8477
8518
  OwnerFilter["My"] = "My";
8478
- OwnerFilter["All"] = "All";
8479
- OwnerFilter["Other"] = "Other";
8519
+ OwnerFilter["Shared"] = "Shared";
8520
+ OwnerFilter["Public"] = "Public";
8480
8521
  })(OwnerFilter || (OwnerFilter = {}));
8481
8522
  /**
8482
8523
  * Influences the y direction of the tile coordinates. The global-mercator (aka Spherical Mercator) profile is assumed.
@@ -8763,5 +8804,5 @@ var TextVerticalAlignment;
8763
8804
  TextVerticalAlignment["Middle"] = "middle";
8764
8805
  })(TextVerticalAlignment || (TextVerticalAlignment = {}));
8765
8806
 
8766
- 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 };
8807
+ 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 };
8767
8808
  //# sourceMappingURL=api.esm.js.map