@evergis/api 5.0.52 → 5.0.54

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.
@@ -1,5 +1,5 @@
1
1
  import { Service } from './Service';
2
- import { AccessControlListDc, CopyResourceResultDc, CopyResourcesPayload, CreateDirectoryDc, CreateFile1Payload, CreateFilePayload, CreateSymlinkDc, CustomResourceDc, DeleteResourceParams, ExtendedCatalogResourceDc, FailedCatalogConfigurationDc, GetFileParams, GetTagsParams, HeadFileParams, ListConfigurationsDc, ListResourcesDc, MoveResourceDc, PagedResourcesListDc, PagedTagsListDc, PatchConfigurationDc, PatchResourceDc, PostGetAllParams, PutTagsPayload, ResourceLocationNodeDc, ResourceParentDc, SetPermissionsPayload, SucceedCatalogConfigurationDc, ZipExtractRequestDc } from './data-contracts';
2
+ import { AccessControlListDc, CopyResourceResultDc, CopyResourcesPayload, CreateDirectoryDc, CreateFile1Payload, CreateFilePayload, CreateSymlinkDc, CustomResourceDc, DeleteResourceParams, ExtendedCatalogResourceDc, FailedCatalogConfigurationDc, GetFileParams, GetTagsParams, HeadFileParams, ListConfigurationsDc, ListResourcesDc, MoveResourceDc, PagedResourcesListDc, PagedTagsListDc, PatchConfigurationDc, PatchResourceDc, PostGetAllParams, PutTagsPayload, ResourceLocationDc, ResourceLocationNodeDc, ResourceParentDc, SetPermissionsPayload, SucceedCatalogConfigurationDc, ZipExtractRequestDc } from './data-contracts';
3
3
  /**
4
4
  * @title Spatial Processing Gateway API
5
5
  * @version 1.5.1.0
@@ -110,11 +110,11 @@ export declare class CatalogService extends Service {
110
110
  * @operationId CatalogController_ResourceLocation
111
111
  * @summary Locate a resource in the tree: the chain of nodes from the root down to the resource itself,
112
112
  each with its position among its siblings.
113
- * @request GET:/resources/location/{resourceId}
113
+ * @request POST:/resources/location
114
114
  * @secure
115
115
  * @response `200` OK
116
116
  */
117
- resourceLocation(resourceId: string): Promise<ResourceLocationNodeDc[]>;
117
+ resourceLocation(data: ResourceLocationDc): Promise<ResourceLocationNodeDc[]>;
118
118
  /**
119
119
  * No description
120
120
  *
@@ -2927,6 +2927,15 @@ export interface ResourceInfoDc {
2927
2927
  */
2928
2928
  deletedAt?: string;
2929
2929
  }
2930
+ /**
2931
+ * Get resource location data contract.
2932
+ */
2933
+ export interface ResourceLocationDc {
2934
+ /** Resource id. */
2935
+ resourceId: string;
2936
+ /** Order by result. */
2937
+ orderBy?: string[];
2938
+ }
2930
2939
  /**
2931
2940
  * A single node of the resource location chain.
2932
2941
  */
package/dist/api.esm.js CHANGED
@@ -1954,12 +1954,12 @@ class CatalogService extends Service {
1954
1954
  * @operationId CatalogController_ResourceLocation
1955
1955
  * @summary Locate a resource in the tree: the chain of nodes from the root down to the resource itself,
1956
1956
  each with its position among its siblings.
1957
- * @request GET:/resources/location/{resourceId}
1957
+ * @request POST:/resources/location
1958
1958
  * @secure
1959
1959
  * @response `200` OK
1960
1960
  */
1961
- resourceLocation(resourceId) {
1962
- return this.http.get(`/resources/location/${resourceId}`).json();
1961
+ resourceLocation(data) {
1962
+ return this.http.post(`/resources/location`, data).json();
1963
1963
  }
1964
1964
  /**
1965
1965
  * No description