@evergis/api 5.0.54 → 5.0.55

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/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 Everpoint
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Everpoint
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,12 +1,12 @@
1
- # @evergis/api
2
-
3
- Библиотека API.
4
-
5
- ### Генерирование API
6
-
7
- ```shell
8
- $ yarn generate
9
- ```
10
-
11
- ***ВАЖНО!!!***: Никогда и ни при каких обстоятельствах нельзя вручную править файлы,
12
- размещенные в директории `src/__generated__`!
1
+ # @evergis/api
2
+
3
+ Библиотека API.
4
+
5
+ ### Генерирование API
6
+
7
+ ```shell
8
+ $ yarn generate
9
+ ```
10
+
11
+ ***ВАЖНО!!!***: Никогда и ни при каких обстоятельствах нельзя вручную править файлы,
12
+ размещенные в директории `src/__generated__`!
package/dist/Api.d.ts CHANGED
@@ -5,7 +5,7 @@ import { QueryTokenAccessService } from './__generated__/QueryTokenAccessService
5
5
  import { SpatialReferencesService } from './__generated__/SpatialReferencesService';
6
6
  import { CatalogService } from './__generated__/CatalogService';
7
7
  import { EventEmitter } from './EventEmitter';
8
- import { Account, AccountPreview, External, BulkOperations, CatalogShare, ClientSettings, Eql, Feedback, FileUpload, Filters, Geocode, History, Layers, Names, PortalSettings, Projects, RemoteTaskManager, Resources, Security, Statistic, Tables, Tools, VectorTiles } from './services';
8
+ import { Account, AccountPreview, External, CatalogShare, ClientSettings, Eql, Feedback, FileUpload, Filters, Geocode, History, Layers, Names, PortalSettings, Projects, RemoteTaskManager, Resources, Security, Statistic, Tables, Tools, VectorTiles } from './services';
9
9
  import { AuthenticateParams, LoginDc } from './__generated__/data-contracts';
10
10
  export type ApiParams = {
11
11
  url: string;
@@ -35,7 +35,6 @@ export declare class Api extends EventEmitter {
35
35
  readonly clientSettings: ClientSettings;
36
36
  readonly portalSettings: PortalSettings;
37
37
  readonly names: Names;
38
- readonly bulk: BulkOperations;
39
38
  readonly statistic: Statistic;
40
39
  readonly feedback: Feedback;
41
40
  readonly vectorTiles: VectorTiles;
@@ -44,6 +44,8 @@ export interface ActiveWorkerTaskDc {
44
44
  settingsFields?: WorkerSettingsFieldDc[];
45
45
  /** JsonSchema. */
46
46
  jsonSchema?: any;
47
+ /** Return json schema. */
48
+ returnJsonSchema?: any;
47
49
  }
48
50
  /**
49
51
  * Additional data source connection data contract.
@@ -329,17 +331,6 @@ export interface BaseResourceInfoDc {
329
331
  */
330
332
  deletedAt?: string;
331
333
  }
332
- /**
333
- * Provides resources with their acl.
334
- */
335
- export interface BatchResourcesAclDc {
336
- /** A set of layers acl. */
337
- layers?: ResourceAclDc[];
338
- /** A set of tables acl. */
339
- tables?: ResourceAclDc[];
340
- /** A set of projects acl. */
341
- projects?: ResourceAclDc[];
342
- }
343
334
  /**
344
335
  * Get bulk extents data contract.
345
336
  */
@@ -356,17 +347,6 @@ export interface BulkFilteredFeaturesCountDc {
356
347
  /** Extent per layer. */
357
348
  counts?: Record<string, number>;
358
349
  }
359
- /**
360
- * Provides set resources bulk operation status.
361
- */
362
- export interface BulkOperationResultDc {
363
- /** Name of the resource. */
364
- resourceName?: string;
365
- /** Error while perform operation. */
366
- error?: string;
367
- /** Sets true. */
368
- isSuccess?: boolean;
369
- }
370
350
  /**
371
351
  * Represents the data contract for a calculated attribute configuration, including aggregation and conditional
372
352
  logic settings.
@@ -2576,6 +2556,8 @@ export interface PythonTaskMethodConfiguration {
2576
2556
  error?: string;
2577
2557
  /** Gets or sets JsonSchema. */
2578
2558
  jsonSchema?: any;
2559
+ /** Gets or sets return schema. */
2560
+ returnSchema?: any;
2579
2561
  }
2580
2562
  /**
2581
2563
  * Query geometry data contract.
@@ -2935,6 +2917,12 @@ export interface ResourceLocationDc {
2935
2917
  resourceId: string;
2936
2918
  /** Order by result. */
2937
2919
  orderBy?: string[];
2920
+ /**
2921
+ * Text filer support sql like symbols
2922
+ * for example start with 'text*', contains 'text', end with '*text'.
2923
+ */
2924
+ filter?: string;
2925
+ ownerFilter?: AccessMode;
2938
2926
  }
2939
2927
  /**
2940
2928
  * A single node of the resource location chain.
@@ -2969,7 +2957,8 @@ export declare enum ResourceSubTypeFilter {
2969
2957
  TileCatalogTable = "TileCatalogTable",
2970
2958
  Story = "Story",
2971
2959
  Basemap = "Basemap",
2972
- Style = "Style"
2960
+ Style = "Style",
2961
+ Pipeline = "Pipeline"
2973
2962
  }
2974
2963
  export declare enum ResourceType {
2975
2964
  Unknown = "Unknown",
@@ -3395,6 +3384,8 @@ export interface SubTasksDto {
3395
3384
  order?: number;
3396
3385
  /** Type. */
3397
3386
  type?: string;
3387
+ /** Pipeline step key. */
3388
+ key?: string;
3398
3389
  /**
3399
3390
  * Started.
3400
3391
  * @format date-time
@@ -3609,6 +3600,8 @@ export interface TaskConfigurationDc {
3609
3600
  userConfiguration?: any;
3610
3601
  /** DefaultConfiguration. */
3611
3602
  defaultConfiguration?: any;
3603
+ /** Return schema. */
3604
+ returnSchema?: any;
3612
3605
  /** User ui configuration. */
3613
3606
  uiConfiguration?: any;
3614
3607
  }
@@ -4994,6 +4987,8 @@ export interface GetAllScriptMethodsParams {
4994
4987
  resourceId?: string;
4995
4988
  /** Import method. */
4996
4989
  importMethod?: string;
4990
+ /** Update default configuration. */
4991
+ updateDefaults?: boolean;
4997
4992
  }
4998
4993
  export type RunScriptPayload = any;
4999
4994
  export interface RunScriptParams {
@@ -5061,10 +5056,7 @@ export interface GetTasksForPrototypeParams {
5061
5056
  id: string;
5062
5057
  }
5063
5058
  export interface GetTaskResourceParams {
5064
- /**
5065
- * Update default configuration.
5066
- * @default false
5067
- */
5059
+ /** Update default configuration. */
5068
5060
  updateDefault?: boolean;
5069
5061
  /** Id. */
5070
5062
  id: string;
@@ -5232,6 +5224,11 @@ export interface CleanParams {
5232
5224
  export interface GetVectorTileParams2 {
5233
5225
  /** Condition. */
5234
5226
  condition?: string;
5227
+ /**
5228
+ * Enable gzip response compress.
5229
+ * @default true
5230
+ */
5231
+ compress?: boolean;
5235
5232
  /** Id of override data filter to apply to the layer. If not set, the default filter is used. */
5236
5233
  dataFilterId?: string;
5237
5234
  /** List of included feature attribute names. */
package/dist/api.esm.js CHANGED
@@ -1213,42 +1213,6 @@ class External extends ExternalProvidersService {
1213
1213
  }
1214
1214
  }
1215
1215
 
1216
- /* eslint-disable */
1217
- /* tslint:disable */
1218
- /*
1219
- * ---------------------------------------------------------------
1220
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
1221
- * ## ##
1222
- * ## AUTHOR: acacode ##
1223
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
1224
- * ---------------------------------------------------------------
1225
- */
1226
- // @ts-nocheck
1227
- /**
1228
- * @title Spatial Processing Gateway API
1229
- * @version 1.5.1.0
1230
- * @baseUrl /sp
1231
- */
1232
- class BulkOperationsService extends Service {
1233
- /**
1234
- * No description
1235
- *
1236
- * @tags BulkOperations
1237
- * @name BatchResourcesPermissionsSet
1238
- * @operationId BulkOperationsController_BatchResourcesPermissionsSet
1239
- * @summary Perform resources set acl access batch operation.
1240
- * @request PUT:/bulk/resources/permissions
1241
- * @secure
1242
- * @response `200` OK
1243
- */
1244
- batchResourcesPermissionsSet(data) {
1245
- return this.http.put(`/bulk/resources/permissions`, data).json();
1246
- }
1247
- }
1248
-
1249
- class BulkOperations extends BulkOperationsService {
1250
- }
1251
-
1252
1216
  /* eslint-disable */
1253
1217
  /* tslint:disable */
1254
1218
  /*
@@ -3142,6 +3106,7 @@ var ResourceSubTypeFilter;
3142
3106
  ResourceSubTypeFilter["Story"] = "Story";
3143
3107
  ResourceSubTypeFilter["Basemap"] = "Basemap";
3144
3108
  ResourceSubTypeFilter["Style"] = "Style";
3109
+ ResourceSubTypeFilter["Pipeline"] = "Pipeline";
3145
3110
  })(ResourceSubTypeFilter || (ResourceSubTypeFilter = {}));
3146
3111
  var ResourceType;
3147
3112
  (function (ResourceType) {
@@ -4892,7 +4857,6 @@ class Api extends EventEmitter {
4892
4857
  clientSettings;
4893
4858
  portalSettings;
4894
4859
  names;
4895
- bulk;
4896
4860
  statistic;
4897
4861
  feedback;
4898
4862
  vectorTiles;
@@ -4982,7 +4946,6 @@ class Api extends EventEmitter {
4982
4946
  this.external = new External(this.http);
4983
4947
  this.account = new Account(this.http);
4984
4948
  this.accountPreview = new AccountPreview(this.http);
4985
- this.bulk = new BulkOperations(this.http);
4986
4949
  this.security = new Security(this.http, this.account);
4987
4950
  this.file = new FileUpload(this.http);
4988
4951
  this.filters = new Filters(this.http);
@@ -5048,5 +5011,5 @@ class Api extends EventEmitter {
5048
5011
  }
5049
5012
  }
5050
5013
 
5051
- export { AccessMode, Account, AccountPreview, AggregationFunction, Api, ApiEvent, AttributeConfigurationType, AttributeIconType, AttributeType, AuthorizationGrant, BulkOperations, CatalogResourceType, CatalogShare, ClassificationType, ClassifyAttributeType, ClientSettings, ConfigOperationType, ConflictResolutionStrategy, DataSourceConnectionType, DataSourceType, DependencyType, Eql, ErrorDetailsType, ErrorReason, ExplainFormatOptions, ExplainOptions, ExplainSerializeOptions, External, Feedback, FileUpload, Filters, GEOCODE_PROVIDER, Geocode, History, HttpClient, LayerServiceType, Layers, NameConflictBehavior, Names, OgcGeometryType, PbfSchema, Permissions, PolicyType, PortalSettings, Projects, RemoteTaskManager, RemoteTaskStatus, ResourceSeparator, ResourceSubTypeFilter, ResourceType, ResourceTypeFilter, Resources, ResponseType, STORAGE_REFRESH_TOKEN_KEY, STORAGE_TOKEN_KEY, Security, ShareInvitationStatus, SimplifyType, Statistic, StringSubType, TableConfigurationType, Tables, TaskResourceSubType, Tools, UrlPath, VectorTiles, WorkerMethodType, WorkerSettingsFieldType, errorHandler, generateId, getUserInfo, isHTTPError, isHandledError, isTileLayerService, parseJwt, promiseAllIgnoreErrors, toFormData, unique, updateUserInfo, useToken };
5014
+ export { AccessMode, Account, AccountPreview, AggregationFunction, Api, ApiEvent, AttributeConfigurationType, AttributeIconType, AttributeType, AuthorizationGrant, CatalogResourceType, CatalogShare, ClassificationType, ClassifyAttributeType, ClientSettings, ConfigOperationType, ConflictResolutionStrategy, DataSourceConnectionType, DataSourceType, DependencyType, Eql, ErrorDetailsType, ErrorReason, ExplainFormatOptions, ExplainOptions, ExplainSerializeOptions, External, Feedback, FileUpload, Filters, GEOCODE_PROVIDER, Geocode, History, HttpClient, LayerServiceType, Layers, NameConflictBehavior, Names, OgcGeometryType, PbfSchema, Permissions, PolicyType, PortalSettings, Projects, RemoteTaskManager, RemoteTaskStatus, ResourceSeparator, ResourceSubTypeFilter, ResourceType, ResourceTypeFilter, Resources, ResponseType, STORAGE_REFRESH_TOKEN_KEY, STORAGE_TOKEN_KEY, Security, ShareInvitationStatus, SimplifyType, Statistic, StringSubType, TableConfigurationType, Tables, TaskResourceSubType, Tools, UrlPath, VectorTiles, WorkerMethodType, WorkerSettingsFieldType, errorHandler, generateId, getUserInfo, isHTTPError, isHandledError, isTileLayerService, parseJwt, promiseAllIgnoreErrors, toFormData, unique, updateUserInfo, useToken };
5052
5015
  //# sourceMappingURL=api.esm.js.map