@evergis/api 4.0.2 → 4.0.4

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,4 +1,4 @@
1
- import { AccessControlListDc, AggregateAttributeParams, AggregationDataResultDc, AttributeDistinctsDc, BulkExtentsDc, BulkOperationResultDc, ClassifyDc, ClassifyParams, CompositeServiceConfigurationDc, CompositeServiceInfoDc, CreateFeaturesPayload, DeleteByConditionParams, DeleteFeatureParams, DeleteFeaturesParams, DeleteResourcesParams, DistinctsParams, EditAttributesInfoDc, EnvelopeDc, ExpressionValidationResultDc, FeatureDc, FeatureLayerServiceInfoDc, FeaturesContainsParams, FeatureSelectionDc, FeaturesListDc, FileUploadResponse, GetBulkExtentsParams, GetBulkExtentsPayload, GetBulkFeaturesPayload, GetByGeometryGetParams, GetByGeometryParams, GetByGeometryPostParams, GetByGeometryPostPayload, GetByIdParams, GetFeatures1Params, GetFeaturesParametersDc, GetFilteredFeaturesCountDc, GetFilteredFeaturesCountParams, GetLayerExtentParams, GetLayerImageParams, GetLayersInfoParams, GetLayersListParams, GetRasterMetaParams5, GetTilesLayerImageParams, LayerUpdateInfo, LayerUpdateInfoDc, LinearServiceConfigurationDc, LocalTileServiceConfigurationDc, NetCdfMetaDc, PagedBulkFeaturesListDc, PagedFeaturesListDc, PbfServiceConfigurationDc, PbfServiceInfoDc, PostgresLayerServiceConfigurationDc, PostgresTileCatalogServiceConfigurationDc, ProxyServiceInfoDc, PublishProxyServicePayload, QueryLayerServiceConfigurationDc, QueryLayerServiceInfoDc, RasterMetaDc, RemoteTileServiceConfigurationDc, RemoteTileServiceInfo, RemoteTileServiceInfoDc, ResourceDependenciesDc, ResourceInfoDc, RouteFeatureDc, RouteServiceConfigurationDc, SelectFeaturesParams, ServiceInfoDc, ServiceListDc, SetPermissionsBatchPayload, SetPreviewPayload, SimpleSymbolDc, StyleDc, StyledLayerServiceConfigurationDc, SubtractParams, SubtractPayload, TileServiceInfoDc, UniteParams, UnitePayload, UpdateFeaturePayload, UpdateProxyServicePayload, ValidateExpressionParams } from './data-contracts';
1
+ import { AccessControlListDc, AggregateAttributeParams, AggregationDataResultDc, AttributeDistinctsDc, BulkExtentsDc, BulkOperationResultDc, ClassifyDc, ClassifyParams, CompositeServiceConfigurationDc, CompositeServiceInfoDc, CreateFeaturesPayload, DeleteByConditionParams, DeleteFeatureParams, DeleteFeaturesParams, DeleteResourcesParams, DistinctsParams, EditAttributesInfoDc, EnvelopeDc, ExpressionValidationResultDc, FeatureDc, FeatureLayerServiceInfoDc, FeaturesContainsParams, FeatureSelectionDc, FeaturesListDc, FileUploadResponse, GetBulkExtentsParams, GetBulkExtentsPayload, GetBulkFeaturesPayload, GetByGeometryGetParams, GetByGeometryParams, GetByGeometryPostParams, GetByGeometryPostPayload, GetByIdParams, GetFeatures1Params, GetFeaturesParametersDc, GetFilteredFeaturesCountDc, GetFilteredFeaturesCountParams, GetLayerExtentParams, GetLayerImageParams, GetLayersInfoParams, GetLayersListParams, GetRasterMetaParams5, GetTilesLayerImageParams, GetTilesLayerImageWithFormatParams, LayerUpdateInfo, LayerUpdateInfoDc, LinearServiceConfigurationDc, LocalTileServiceConfigurationDc, NetCdfMetaDc, PagedBulkFeaturesListDc, PagedFeaturesListDc, PbfServiceConfigurationDc, PbfServiceInfoDc, PostgresLayerServiceConfigurationDc, PostgresTileCatalogServiceConfigurationDc, ProxyServiceInfoDc, PublishProxyServicePayload, QueryLayerServiceConfigurationDc, QueryLayerServiceInfoDc, RasterMetaDc, RemoteTileServiceConfigurationDc, RemoteTileServiceInfo, RemoteTileServiceInfoDc, ResourceDependenciesDc, ResourceInfoDc, RouteFeatureDc, RouteServiceConfigurationDc, SelectFeaturesParams, ServiceInfoDc, ServiceListDc, SetPermissionsBatchPayload, SetPreviewPayload, SimpleSymbolDc, StyleDc, StyledLayerServiceConfigurationDc, SubtractParams, SubtractPayload, TileServiceInfoDc, UniteParams, UnitePayload, UpdateFeaturePayload, UpdateProxyServicePayload, ValidateExpressionParams } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
@@ -424,6 +424,17 @@ export declare class LayersService extends Service {
424
424
  * @response `200` OK
425
425
  */
426
426
  getTilesLayerImage({ name, x, y, z, ...query }: GetTilesLayerImageParams): string;
427
+ /**
428
+ * No description
429
+ *
430
+ * @tags Layers
431
+ * @name GetTilesLayerImageWithFormat
432
+ * @operationId LayersController_GetTilesLayerImageWithFormat
433
+ * @summary Render tile with input indexes.
434
+ * @request GET:/layers/{name}/tile/{z}/{x}/{y}.{format}
435
+ * @response `200` OK
436
+ */
437
+ getTilesLayerImageWithFormat({ name, x, y, z, format, ...query }: GetTilesLayerImageWithFormatParams): string;
427
438
  /**
428
439
  * No description
429
440
  *
@@ -1,4 +1,4 @@
1
- import { AccessControlListDc, BulkOperationResultDc, DeleteResourcesParams8, EnvelopeDc, ExtendedProjectInfoDc, ExtendedProjectLayersInfo, FileUploadResponse, GetProjectEnvelopeParams, GetProjectsInfoParams, GetProjectsListParams, PagedListProjectInfoDc, ProjectsListDc, ResourceDependenciesDc, SetPermissionsBatchBody, SetPreviewBody } from './data-contracts';
1
+ import { AccessControlListDc, BulkOperationResultDc, DeleteResourcesParams10, EnvelopeDc, ExtendedProjectInfoDc, ExtendedProjectLayersInfo, FileUploadResponse, GetProjectEnvelopeParams, GetProjectsInfoParams, GetProjectsListParams, PagedListProjectInfoDc, ProjectsListDc, ResourceDependenciesDc, SetPermissionsBatchBody, SetPreviewBody } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
@@ -49,7 +49,7 @@ export declare class ProjectsService extends Service {
49
49
  * @request DELETE:/projects
50
50
  * @response `200` OK
51
51
  */
52
- deleteResources(query: DeleteResourcesParams8): Promise<BulkOperationResultDc[]>;
52
+ deleteResources(query: DeleteResourcesParams10): Promise<BulkOperationResultDc[]>;
53
53
  /**
54
54
  * No description
55
55
  *
@@ -127,6 +127,17 @@ export declare class ProjectsService extends Service {
127
127
  * @response `200` OK
128
128
  */
129
129
  getTilesLayerImage(name: string, x: number, y: number, z: number): string;
130
+ /**
131
+ * No description
132
+ *
133
+ * @tags Projects
134
+ * @name GetTilesLayerImageWithFormat
135
+ * @operationId ProjectsController_GetTilesLayerImageWithFormat
136
+ * @summary Render tile.
137
+ * @request GET:/projects/{name}/tile/{z}/{x}/{y}.{format}
138
+ * @response `200` OK
139
+ */
140
+ getTilesLayerImageWithFormat(name: string, x: number, y: number, z: number, format: string): string;
130
141
  /**
131
142
  * No description
132
143
  *
@@ -1,4 +1,4 @@
1
- import { CopyResourceResultDc, CopyResourcesPayload, WorkspaceLimitsDc } from './data-contracts';
1
+ import { CopyResourceResultDc, CopyResourcesPayload } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
@@ -6,39 +6,6 @@ import { Service } from './Service';
6
6
  * @baseUrl /sp
7
7
  */
8
8
  export declare class ResourceCatalogService extends Service {
9
- /**
10
- * No description
11
- *
12
- * @tags ResourceCatalog
13
- * @name CheckLimitsForUser
14
- * @operationId ResourceCatalogController_CheckLimitsForUser
15
- * @summary Get limits of workspace.
16
- * @request GET:/resources/checkLimits/user/{userName}
17
- * @response `200` OK
18
- */
19
- checkLimitsForUser(userName: string | null): Promise<WorkspaceLimitsDc>;
20
- /**
21
- * No description
22
- *
23
- * @tags ResourceCatalog
24
- * @name CheckLimitsForRole
25
- * @operationId ResourceCatalogController_CheckLimitsForRole
26
- * @summary Get limits of workspace.
27
- * @request GET:/resources/checkLimits/role/{roleName}
28
- * @response `200` OK
29
- */
30
- checkLimitsForRole(roleName: string | null): Promise<WorkspaceLimitsDc>;
31
- /**
32
- * No description
33
- *
34
- * @tags ResourceCatalog
35
- * @name GetDefaultLimits
36
- * @operationId ResourceCatalogController_GetDefaultLimits
37
- * @summary Get default limits of workspace.
38
- * @request GET:/resources/checkLimits/default
39
- * @response `200` OK
40
- */
41
- getDefaultLimits(): Promise<WorkspaceLimitsDc>;
42
9
  /**
43
10
  * No description
44
11
  *
@@ -1,4 +1,4 @@
1
- import { FindUserByNameByRolesParams, FindUserByNameParams, GetPolicyListParams, GetUsersAndRolesParams, PolicyDc, RemovePolicyParams, SearchedUserDc, UserOrRoleDc } from './data-contracts';
1
+ import { FindUserByNameByRolesParams, FindUserByNameParams, GetPolicyListParams, GetUsersAndRolesParams, PolicyDc, RemovePolicyParams, SearchedUserDc, SetPoliciesPayload, UserOrRoleDc, WorkspaceLimitsDc } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
@@ -6,6 +6,17 @@ import { Service } from './Service';
6
6
  * @baseUrl /sp
7
7
  */
8
8
  export declare class SecurityService extends Service {
9
+ /**
10
+ * @description This method requires superuser permission.
11
+ *
12
+ * @tags SecurityService
13
+ * @name SetPolicies
14
+ * @operationId SecurityServiceController_SetPolicies
15
+ * @summary Adds the given policies to the server policy list. If a policy with the same type and user role already exists, it replaces the existing policy with the new one.
16
+ * @request POST:/bulk/security/policies
17
+ * @response `200` OK
18
+ */
19
+ setPolicies(data: SetPoliciesPayload): Promise<void>;
9
20
  /**
10
21
  * No description
11
22
  *
@@ -72,4 +83,37 @@ export declare class SecurityService extends Service {
72
83
  * @response `200` OK
73
84
  */
74
85
  setPolicy(data: PolicyDc): Promise<void>;
86
+ /**
87
+ * No description
88
+ *
89
+ * @tags SecurityService
90
+ * @name CheckLimitsForUser
91
+ * @operationId SecurityServiceController_CheckLimitsForUser
92
+ * @summary Get limits of workspace.
93
+ * @request GET:/security/limits/user/{userName}
94
+ * @response `200` OK
95
+ */
96
+ checkLimitsForUser(userName: string | null): Promise<WorkspaceLimitsDc>;
97
+ /**
98
+ * No description
99
+ *
100
+ * @tags SecurityService
101
+ * @name CheckLimitsForRole
102
+ * @operationId SecurityServiceController_CheckLimitsForRole
103
+ * @summary Get limits of workspace.
104
+ * @request GET:/security/limits/role/{roleName}
105
+ * @response `200` OK
106
+ */
107
+ checkLimitsForRole(roleName: string | null): Promise<WorkspaceLimitsDc>;
108
+ /**
109
+ * No description
110
+ *
111
+ * @tags SecurityService
112
+ * @name GetDefaultLimits
113
+ * @operationId SecurityServiceController_GetDefaultLimits
114
+ * @summary Get default limits of workspace.
115
+ * @request GET:/security/limits/default
116
+ * @response `200` OK
117
+ */
118
+ getDefaultLimits(): Promise<WorkspaceLimitsDc>;
75
119
  }
@@ -1,4 +1,4 @@
1
- import { ClassifyDc, ClassifyParams9, GetClassifyDc, GetStatisticsDc, GetSumOfProductDc, StatisticsDbParams, StatisticsDc, SumOfProductParams } from './data-contracts';
1
+ import { ClassifyDc, ClassifyParams7, GetClassifyDc, GetStatisticsDc, GetSumOfProductDc, StatisticsDbParams, StatisticsDc, SumOfProductParams } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
@@ -38,7 +38,7 @@ export declare class StatisticService extends Service {
38
38
  * @request GET:/statistics/classify
39
39
  * @response `200` OK
40
40
  */
41
- classify(query: ClassifyParams9): Promise<ClassifyDc>;
41
+ classify(query: ClassifyParams7): Promise<ClassifyDc>;
42
42
  /**
43
43
  * No description
44
44
  *
@@ -960,6 +960,8 @@ export interface CatalogResourceDc {
960
960
  srid?: number;
961
961
  /** True if resource has children. */
962
962
  hasChildren?: boolean;
963
+ /** Resource icon. */
964
+ icon?: string;
963
965
  }
964
966
  /**
965
967
  *
@@ -1542,6 +1544,8 @@ export interface CreateDirectoryDc {
1542
1544
  tags?: string[];
1543
1545
  /** If true root folder will create as temporary. */
1544
1546
  isTemporary?: boolean;
1547
+ /** Resource icon. */
1548
+ icon?: string;
1545
1549
  }
1546
1550
  /**
1547
1551
  * Upload raster task parameters data contract.
@@ -1594,6 +1598,8 @@ export interface CreateRoleDc {
1594
1598
  name: string;
1595
1599
  /** Description. */
1596
1600
  description?: string;
1601
+ /** Alias. */
1602
+ alias?: string;
1597
1603
  }
1598
1604
  /**
1599
1605
  * Symbol category data contract.
@@ -1649,6 +1655,8 @@ export interface CreateUserDc {
1649
1655
  is_email_confirmed?: boolean;
1650
1656
  /** Namespace. */
1651
1657
  namespace?: string;
1658
+ /** Emoji. */
1659
+ emoji?: string;
1652
1660
  /** Username. */
1653
1661
  username?: string;
1654
1662
  /**
@@ -2107,7 +2115,7 @@ export interface ExternalLayerInfoDc {
2107
2115
  layer?: ExternalLayerInfoDc[];
2108
2116
  }
2109
2117
  /**
2110
- * The `FailedServiceInfoDc` describes SPCore.Security.Base.Services.FailedServiceInfo data contact.
2118
+ * The `FailedServiceInfoDc` describes Everpoint.Sdk.Layers.Abstractions.Models.FailedServiceInfo data contact.
2111
2119
  */
2112
2120
  export interface FailedServiceInfoDc {
2113
2121
  /**
@@ -3894,15 +3902,6 @@ export interface PagedListRoleInfoDc {
3894
3902
  limit?: number;
3895
3903
  items?: RoleInfoDc[];
3896
3904
  }
3897
- export interface PagedListScriptDc {
3898
- /** @format int64 */
3899
- totalCount?: number;
3900
- /** @format int32 */
3901
- offset?: number;
3902
- /** @format int32 */
3903
- limit?: number;
3904
- items?: ScriptDc[];
3905
- }
3906
3905
  export interface PagedListSearchResultDc {
3907
3906
  /** @format int64 */
3908
3907
  totalCount?: number;
@@ -4040,6 +4039,8 @@ export interface PatchResourceDc {
4040
4039
  description?: string;
4041
4040
  /** A set of tags. */
4042
4041
  tags?: string[];
4042
+ /** Resource icon. */
4043
+ icon?: string;
4043
4044
  }
4044
4045
  /**
4045
4046
  * Provides image pattern brush properties.
@@ -5203,6 +5204,8 @@ export declare type RgbRasterSymbolDc = RasterSymbolDc & {
5203
5204
  export interface RoleInfoDc {
5204
5205
  /** Username. */
5205
5206
  name?: string;
5207
+ /** Alias. */
5208
+ alias?: string;
5206
5209
  /** The number of users in the role. */
5207
5210
  users?: string[];
5208
5211
  /**
@@ -5385,15 +5388,6 @@ export interface ScriptConfiguration {
5385
5388
  /** Script error message. */
5386
5389
  error?: string;
5387
5390
  }
5388
- /**
5389
- * Script data contract.
5390
- */
5391
- export interface ScriptDc {
5392
- /** Name. */
5393
- name: string;
5394
- /** Description. */
5395
- description?: string;
5396
- }
5397
5391
  /**
5398
5392
  * ScriptParameter.
5399
5393
  */
@@ -6780,6 +6774,8 @@ export interface UpdateRoleDc {
6780
6774
  name: string;
6781
6775
  /** Description. */
6782
6776
  description?: string;
6777
+ /** Alias. */
6778
+ alias?: string;
6783
6779
  }
6784
6780
  /**
6785
6781
  * Symbol category data contract.
@@ -6868,6 +6864,8 @@ export interface UpdateUserDc {
6868
6864
  is_email_confirmed?: boolean;
6869
6865
  /** Namespace. */
6870
6866
  namespace?: string;
6867
+ /** Emoji. */
6868
+ emoji?: string;
6871
6869
  /** Username. */
6872
6870
  username?: string;
6873
6871
  /**
@@ -7442,6 +7440,8 @@ export interface CreateFilePayload {
7442
7440
  isTemporary?: boolean;
7443
7441
  /** A set of tags. */
7444
7442
  tags?: string[];
7443
+ /** File icon. */
7444
+ icon?: string;
7445
7445
  }
7446
7446
  export declare type SetPermissionsPayload = ResourceAclDc[];
7447
7447
  export interface GetConfigurationsListParams {
@@ -7866,6 +7866,8 @@ export interface SubtractParams {
7866
7866
  export interface GetTilesLayerImageParams {
7867
7867
  /** Tile sets to render. */
7868
7868
  ids?: number[];
7869
+ /** Id of override data filter to apply to the layer. If not set, the default filter is used. */
7870
+ dataFilterId?: string;
7869
7871
  /** Full name of the layer. */
7870
7872
  name: string;
7871
7873
  /**
@@ -7884,6 +7886,31 @@ export interface GetTilesLayerImageParams {
7884
7886
  */
7885
7887
  z: number;
7886
7888
  }
7889
+ export interface GetTilesLayerImageWithFormatParams {
7890
+ /** Tile sets to render. */
7891
+ ids?: number[];
7892
+ /** Id of override data filter to apply to the layer. If not set, the default filter is used. */
7893
+ dataFilterId?: string;
7894
+ /** Full name of the layer. */
7895
+ name: string;
7896
+ /**
7897
+ * X.
7898
+ * @format int32
7899
+ */
7900
+ x: number;
7901
+ /**
7902
+ * Y.
7903
+ * @format int32
7904
+ */
7905
+ y: number;
7906
+ /**
7907
+ * Z.
7908
+ * @format int32
7909
+ */
7910
+ z: number;
7911
+ /** Specifies the format of the returned tile. */
7912
+ format: string;
7913
+ }
7887
7914
  export interface GetLayerImageParams {
7888
7915
  /** Extent to render. */
7889
7916
  extent?: number[];
@@ -8265,7 +8292,7 @@ export interface GetProjectsListParams {
8265
8292
  tags?: string[];
8266
8293
  }
8267
8294
  export declare type SetPermissionsBatchBody = ResourceAclDc[];
8268
- export interface DeleteResourcesParams8 {
8295
+ export interface DeleteResourcesParams10 {
8269
8296
  /** Resource names. */
8270
8297
  names?: string[];
8271
8298
  }
@@ -8315,43 +8342,6 @@ export interface RunScriptParams {
8315
8342
  /** Method name. */
8316
8343
  methodName?: string;
8317
8344
  }
8318
- export interface AddPayload {
8319
- /** Name. */
8320
- Name: string;
8321
- /** Description. */
8322
- Description?: string;
8323
- /**
8324
- * Add date and time.
8325
- * @format date-time
8326
- */
8327
- DtAdd?: string;
8328
- /**
8329
- * Last update date and time.
8330
- * @format date-time
8331
- */
8332
- DtLastUpdate?: string;
8333
- /** @format binary */
8334
- file?: File;
8335
- }
8336
- export interface UpdateBody {
8337
- /** Name. */
8338
- Name: string;
8339
- /** Description. */
8340
- Description?: string;
8341
- /**
8342
- * Add date and time.
8343
- * @format date-time
8344
- */
8345
- DtAdd?: string;
8346
- /**
8347
- * Last update date and time.
8348
- * @format date-time
8349
- */
8350
- DtLastUpdate?: string;
8351
- /** @format binary */
8352
- file?: File;
8353
- }
8354
- export declare type RunPayload = Record<string, any>;
8355
8345
  export interface GetTaskPrototypesParams {
8356
8346
  /** Username. */
8357
8347
  Username?: string;
@@ -8429,6 +8419,7 @@ export interface CreateStorageParams {
8429
8419
  /** S3 storage name. */
8430
8420
  storageName?: string;
8431
8421
  }
8422
+ export declare type SetPoliciesPayload = Record<string, PolicyDc[]>;
8432
8423
  export interface FindUserByNameByRolesParams {
8433
8424
  /** Roles. */
8434
8425
  roles?: string[];
@@ -8462,6 +8453,8 @@ export interface GetPolicyListParams {
8462
8453
  * MaxEqlQueryParametersValues
8463
8454
  */
8464
8455
  type?: PolicyType;
8456
+ /** Use role the policy is applied to. */
8457
+ roleName?: string;
8465
8458
  }
8466
8459
  export interface RemovePolicyParams {
8467
8460
  /**
@@ -8569,7 +8562,7 @@ export interface StatisticsDbParams {
8569
8562
  */
8570
8563
  types?: AggregationFunction[];
8571
8564
  }
8572
- export interface ClassifyParams9 {
8565
+ export interface ClassifyParams7 {
8573
8566
  /** Layer name. */
8574
8567
  name: string;
8575
8568
  /** Attribute name. */