@evergis/api 5.0.44 → 5.0.45

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, GetTagsParams, ListConfigurationsDc, ListResourcesDc, MoveResourceDc, PagedResourcesListDc, PagedTagsListDc, PatchResourceDc, PostGetAllParams, PutTagsPayload, ResourceParentDc, SetPermissionsPayload, SucceedCatalogConfigurationDc, ZipExtractRequestDc } from './data-contracts';
2
+ import { AccessControlListDc, CopyResourceResultDc, CopyResourcesPayload, CreateDirectoryDc, CreateFile1Payload, CreateFilePayload, CreateSymlinkDc, CustomResourceDc, DeleteResourceParams, ExtendedCatalogResourceDc, FailedCatalogConfigurationDc, GetTagsParams, ListConfigurationsDc, ListResourcesDc, MoveResourceDc, PagedResourcesListDc, PagedTagsListDc, PatchConfigurationDc, PatchResourceDc, PostGetAllParams, PutTagsPayload, ResourceParentDc, SetPermissionsPayload, SucceedCatalogConfigurationDc, ZipExtractRequestDc } from './data-contracts';
3
3
  /**
4
4
  * @title Spatial Processing Gateway API
5
5
  * @version 1.5.1.0
@@ -121,11 +121,23 @@ export declare class CatalogService extends Service {
121
121
  * @name PostListConfigurations
122
122
  * @operationId CatalogController_PostListConfigurations
123
123
  * @summary Get configurations for resources.
124
- * @request POST:/resources/configurations
124
+ * @request POST:/resources/custom/configurations
125
125
  * @secure
126
126
  * @response `200` OK
127
127
  */
128
128
  postListConfigurations(data: ListConfigurationsDc): Promise<(SucceedCatalogConfigurationDc | FailedCatalogConfigurationDc)[]>;
129
+ /**
130
+ * No description
131
+ *
132
+ * @tags Catalog
133
+ * @name PatchConfiguration
134
+ * @operationId CatalogController_PatchConfiguration
135
+ * @summary Partially update resource configuration with JSON Patch operations.
136
+ * @request PATCH:/resources/custom/configurations
137
+ * @secure
138
+ * @response `200` OK
139
+ */
140
+ patchConfiguration(data: PatchConfigurationDc): Promise<SucceedCatalogConfigurationDc>;
129
141
  /**
130
142
  * No description
131
143
  *
@@ -1714,6 +1714,9 @@ export interface InvitationViewDc {
1714
1714
  granteeUserName?: string;
1715
1715
  status?: ShareInvitationStatus;
1716
1716
  }
1717
+ export interface JsonPatchDocument {
1718
+ operations?: Operation[];
1719
+ }
1717
1720
  /**
1718
1721
  * Specifies the available types of layer services that can be used within the application.
1719
1722
  */
@@ -2162,6 +2165,14 @@ export type PagedResourcesListDc = PagedListCatalogResourceDc & object;
2162
2165
  * Paged resources list.
2163
2166
  */
2164
2167
  export type PagedTagsListDc = PagedListString & object;
2168
+ /**
2169
+ * Request for partial update of a resource configuration.
2170
+ */
2171
+ export interface PatchConfigurationDc {
2172
+ /** Unique identifier of the resource. */
2173
+ resourceId: string;
2174
+ operations: JsonPatchDocument;
2175
+ }
2165
2176
  /**
2166
2177
  * Patch resource request.
2167
2178
  */
@@ -2174,8 +2185,6 @@ export interface PatchResourceDc {
2174
2185
  tags?: string[];
2175
2186
  /** Resource icon. */
2176
2187
  icon?: string;
2177
- /** The JSON configuration, or null if not set. */
2178
- configuration?: any;
2179
2188
  }
2180
2189
  /**
2181
2190
  * Influences the y direction of the tile coordinates. The global-mercator (aka Spherical Mercator) profile is assumed.
@@ -3420,8 +3429,8 @@ export type SucceedCatalogConfigurationDc = CatalogConfigurationDc & {
3420
3429
  resourceId?: string | null;
3421
3430
  /** JSON path used to retrieve a specific part of the configuration. */
3422
3431
  configurationPath?: string | null;
3423
- /** The retrieved configuration data as a JSON string. */
3424
- configurationData?: string | null;
3432
+ /** The retrieved configuration data, embedded as JSON. */
3433
+ configurationData?: any;
3425
3434
  /** Type discriminator for polymorphic serialization. */
3426
3435
  type?: string | null;
3427
3436
  };
package/dist/api.esm.js CHANGED
@@ -1887,15 +1887,29 @@ class CatalogService extends Service {
1887
1887
  * @name PostListConfigurations
1888
1888
  * @operationId CatalogController_PostListConfigurations
1889
1889
  * @summary Get configurations for resources.
1890
- * @request POST:/resources/configurations
1890
+ * @request POST:/resources/custom/configurations
1891
1891
  * @secure
1892
1892
  * @response `200` OK
1893
1893
  */
1894
1894
  postListConfigurations(data) {
1895
1895
  return this.http
1896
- .post(`/resources/configurations`, data)
1896
+ .post(`/resources/custom/configurations`, data)
1897
1897
  .json();
1898
1898
  }
1899
+ /**
1900
+ * No description
1901
+ *
1902
+ * @tags Catalog
1903
+ * @name PatchConfiguration
1904
+ * @operationId CatalogController_PatchConfiguration
1905
+ * @summary Partially update resource configuration with JSON Patch operations.
1906
+ * @request PATCH:/resources/custom/configurations
1907
+ * @secure
1908
+ * @response `200` OK
1909
+ */
1910
+ patchConfiguration(data) {
1911
+ return this.http.patch(`/resources/custom/configurations`, data).json();
1912
+ }
1899
1913
  /**
1900
1914
  * No description
1901
1915
  *