@evergis/api 4.1.56-alpha.0 → 4.1.56-alpha.2

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.
@@ -89,7 +89,7 @@ export declare class LayersService extends Service {
89
89
  * @secure
90
90
  * @response `200` OK
91
91
  */
92
- publishService(data: PublishLayerInfoDc): Promise<void>;
92
+ publishService(data: PublishLayerInfoDc): Promise<ServiceInfoDc | RemoteTileServiceInfoDc | ProxyServiceInfoDc | PythonServiceInfoDc | ProjectInfoDc | ExtendedProjectInfoDc | ProjectInfoDcV2 | ExtendedProjectInfoDcV2 | PbfServiceInfoDc | FailedServiceInfoDc | QueryLayerServiceInfoDc | TileCatalogServiceInfoDc | DetailedTableInfoDc | UpdateTableDc>;
93
93
  /**
94
94
  * No description
95
95
  *
@@ -3720,16 +3720,6 @@ export type ProxyServiceConfigurationDc = ServiceConfigurationBaseDc & {
3720
3720
  sourceType?: string | null;
3721
3721
  /** Source url path. Like http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/SuperTuesdaySample/MapServer. */
3722
3722
  sourceUrl?: string | null;
3723
- /**
3724
- * Gets or sets minimum scale resolution.
3725
- * @format double
3726
- */
3727
- minResolution?: number;
3728
- /**
3729
- * Gets or sets maximum scale resolution.
3730
- * @format double
3731
- */
3732
- maxResolution?: number;
3733
3723
  /** Names of layers to include in proxy layer (can be numbers). */
3734
3724
  layers?: string[] | null;
3735
3725
  };
@@ -4067,8 +4057,6 @@ export type QueryLayerServiceInfoDc = ServiceInfoDc & {
4067
4057
  layerDefinition: LayerDefinitionDc;
4068
4058
  /** Provides data source type. */
4069
4059
  dataSourceType?: string | null;
4070
- /** Copyright text. */
4071
- copyrightText?: string | null;
4072
4060
  /** Client data storage. Storage isn't used by server. */
4073
4061
  clientData?: any;
4074
4062
  /** Client style data storage. Storage isn't used by server. */
@@ -4805,18 +4793,6 @@ export type ServiceInfoDc = ResourceInfoDc & {
4805
4793
  * @minLength 1
4806
4794
  */
4807
4795
  type: string;
4808
- /**
4809
- * Minimum resolution that this service will be rendered on. If no resolution limits are set for the top-level
4810
- * style of the service, or if no such property is available for this type of the service, 0 is returned.
4811
- * @format double
4812
- */
4813
- minResolution?: number;
4814
- /**
4815
- * Maximum resolution that this service will be rendered on. If no resolution limits are set for the top-level
4816
- * style of the service, or if no such property is available for this type of the service, 0 is returned.
4817
- * @format double
4818
- */
4819
- maxResolution?: number;
4820
4796
  /**
4821
4797
  * Filtering condition for the objects in the service. If no condition set or if no such property is available
4822
4798
  * for the given service type, null is returned.
package/dist/api.esm.js CHANGED
@@ -3123,7 +3123,9 @@ class LayersService extends Service {
3123
3123
  * @response `200` OK
3124
3124
  */
3125
3125
  publishService(data) {
3126
- return this.http.post(`/layers`, data).then(() => { });
3126
+ return this.http
3127
+ .post(`/layers`, data)
3128
+ .json();
3127
3129
  }
3128
3130
  /**
3129
3131
  * No description