@evergis/api 3.0.186 → 3.0.188

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.
@@ -798,16 +798,32 @@ export interface CameraListDc {
798
798
  * Resource catalog item.
799
799
  */
800
800
  export interface CatalogResourceDc {
801
- /**
802
- * Id of the resource.
803
- * @format uuid
804
- */
801
+ /** Resource id. */
805
802
  resourceId?: string;
803
+ /** System name. */
804
+ systemName?: string;
805
+ /** Parent resource id. */
806
+ parentId?: string;
806
807
  /**
807
- * Id of the resource.
808
- * @format uuid
808
+ *
809
+ *
810
+ * None
811
+ *
812
+ * Map
813
+ *
814
+ * Layer
815
+ *
816
+ * Table
817
+ *
818
+ * File
819
+ *
820
+ * TaskPrototype
809
821
  */
810
- parentId?: string;
822
+ type?: CatalogResourceType;
823
+ /** Resource subtype. */
824
+ subtype?: string;
825
+ /** Geometry type. */
826
+ geometryType?: string[];
811
827
  /** Path to the resource. */
812
828
  name?: string;
813
829
  /** Description of the resource. */
@@ -819,10 +835,14 @@ export interface CatalogResourceDc {
819
835
  size?: number;
820
836
  /** Content type. */
821
837
  contentType?: string;
838
+ /** Check if resource has children. */
839
+ hasChildren?: boolean;
822
840
  /** Check if resource is directory. */
823
841
  isDirectory?: boolean;
824
842
  /** Check if resource is temporary. */
825
843
  isTemporary?: boolean;
844
+ /** Check if resource is system. */
845
+ isSystem?: boolean;
826
846
  /** Owner of the resource. */
827
847
  owner?: string;
828
848
  /** Resource path. */
@@ -837,6 +857,31 @@ export interface CatalogResourceDc {
837
857
  * @format date-time
838
858
  */
839
859
  createdAt?: string;
860
+ /** Resource tags. */
861
+ tags?: string[];
862
+ }
863
+ /**
864
+ *
865
+
866
+ None
867
+
868
+ Map
869
+
870
+ Layer
871
+
872
+ Table
873
+
874
+ File
875
+
876
+ TaskPrototype
877
+ */
878
+ export declare enum CatalogResourceType {
879
+ None = "None",
880
+ Map = "Map",
881
+ Layer = "Layer",
882
+ Table = "Table",
883
+ File = "File",
884
+ TaskPrototype = "TaskPrototype"
840
885
  }
841
886
  /**
842
887
  * Ending with an empty circle.
@@ -1168,6 +1213,8 @@ export interface CompositeServiceInfoDc {
1168
1213
  icon?: string;
1169
1214
  /** Is set true resource is not visible in catalog. Can be changed only by owner or user with admin access. */
1170
1215
  invisibleInCatalog?: boolean;
1216
+ /** Parent id in resources catalog. */
1217
+ parentId?: string;
1171
1218
  }
1172
1219
  /**
1173
1220
  * Composite symbol.
@@ -1351,10 +1398,7 @@ export declare type CopyTaskParametersDc = FeatureTaskParametersDc & {
1351
1398
  * Create directory request.
1352
1399
  */
1353
1400
  export interface CreateDirectoryDc {
1354
- /**
1355
- * Id of parent resource.
1356
- * @format uuid
1357
- */
1401
+ /** Parent resource id. */
1358
1402
  parentId?: string;
1359
1403
  /** Path to the directory. */
1360
1404
  name?: string;
@@ -1697,13 +1741,6 @@ export interface ExtendedProjectLayersInfo {
1697
1741
  /** A collection of layers info. */
1698
1742
  layersInfo?: ServiceListItemDc[];
1699
1743
  }
1700
- /**
1701
- * Extended resource info data contract.
1702
- */
1703
- export declare type ExtendedResourceInfoDc = ResourceInfoDc & {
1704
- publishedDate?: string;
1705
- usedByUsers?: string[] | null;
1706
- };
1707
1744
  /**
1708
1745
  * Extended user information.
1709
1746
  */
@@ -1926,6 +1963,8 @@ export interface FailedServiceInfoDc {
1926
1963
  icon?: string;
1927
1964
  /** Is set true resource is not visible in catalog. Can be changed only by owner or user with admin access. */
1928
1965
  invisibleInCatalog?: boolean;
1966
+ /** Parent id in resources catalog. */
1967
+ parentId?: string;
1929
1968
  }
1930
1969
  /**
1931
1970
  * Feature object definition.
@@ -2043,6 +2082,8 @@ export interface FeatureLayerServiceInfoDc {
2043
2082
  icon?: string;
2044
2083
  /** Is set true resource is not visible in catalog. Can be changed only by owner or user with admin access. */
2045
2084
  invisibleInCatalog?: boolean;
2085
+ /** Parent id in resources catalog. */
2086
+ parentId?: string;
2046
2087
  }
2047
2088
  export interface FeatureSelectionDc {
2048
2089
  layerName: string;
@@ -3064,6 +3105,32 @@ export declare type LinearServiceConfigurationDc = ServiceConfigurationBaseDc &
3064
3105
  featuresLimit?: number;
3065
3106
  extentOffset?: number;
3066
3107
  };
3108
+ /**
3109
+ * Search resources.
3110
+ */
3111
+ export interface ListResourcesDto {
3112
+ /** Id of the parent. */
3113
+ parentId?: string;
3114
+ /**
3115
+ * Text filer support sql like symbols
3116
+ * (for example start with 'text*', contains 'text', end with '*text'.
3117
+ */
3118
+ filter?: string;
3119
+ /**
3120
+ *
3121
+ *
3122
+ * My
3123
+ *
3124
+ * Shared
3125
+ *
3126
+ * Public
3127
+ */
3128
+ ownerFilter?: OwnerFilter;
3129
+ /** Resources types filter. */
3130
+ resourceTypes?: CatalogResourceType[];
3131
+ /** Resources subtypes filter. */
3132
+ subtypes?: string[];
3133
+ }
3067
3134
  /**
3068
3135
  * Configuration for the local tile service.
3069
3136
  */
@@ -3149,10 +3216,7 @@ export interface ModelElementDc {
3149
3216
  * Move resource dto.
3150
3217
  */
3151
3218
  export interface MoveResourceDc {
3152
- /**
3153
- * Target resource to copy.
3154
- * @format uuid
3155
- */
3219
+ /** Target resource to copy. */
3156
3220
  targetResource?: string;
3157
3221
  /** Name of target resource. */
3158
3222
  newName?: string;
@@ -3205,20 +3269,6 @@ export declare type ObjectId = object;
3205
3269
  /**
3206
3270
  *
3207
3271
 
3208
- All
3209
-
3210
- Directory
3211
-
3212
- File
3213
- */
3214
- export declare enum ObjectTypeFilter {
3215
- All = "All",
3216
- Directory = "Directory",
3217
- File = "File"
3218
- }
3219
- /**
3220
- *
3221
-
3222
3272
  Unknown
3223
3273
 
3224
3274
  union
@@ -3249,14 +3299,14 @@ export declare type OverlayTaskParametersDc = FeatureTaskParametersDc & {
3249
3299
 
3250
3300
  My
3251
3301
 
3252
- All
3302
+ Shared
3253
3303
 
3254
- Other
3304
+ Public
3255
3305
  */
3256
3306
  export declare enum OwnerFilter {
3257
3307
  My = "My",
3258
- All = "All",
3259
- Other = "Other"
3308
+ Shared = "Shared",
3309
+ Public = "Public"
3260
3310
  }
3261
3311
  /**
3262
3312
  * Features list definition.
@@ -3325,6 +3375,15 @@ export interface PagedListRoleInfoDc {
3325
3375
  limit?: number;
3326
3376
  items?: RoleInfoDc[];
3327
3377
  }
3378
+ export interface PagedListScriptDc {
3379
+ /** @format int64 */
3380
+ totalCount?: number;
3381
+ /** @format int32 */
3382
+ offset?: number;
3383
+ /** @format int32 */
3384
+ limit?: number;
3385
+ items?: ScriptDc[];
3386
+ }
3328
3387
  export interface PagedListSearchResultDc {
3329
3388
  /** @format int64 */
3330
3389
  totalCount?: number;
@@ -3708,6 +3767,8 @@ export interface ProjectConfigurationDc {
3708
3767
  baseMapName?: string;
3709
3768
  /** Client data storage. Expecting not used by server. */
3710
3769
  clientData?: any;
3770
+ /** Card configuration. Storage isn't used by server. */
3771
+ dashboardConfiguration?: any;
3711
3772
  /** Project content items configurations. */
3712
3773
  items?: ProjectContentItemDc[];
3713
3774
  /** A collection of bookmarks of the map. */
@@ -3905,6 +3966,8 @@ export interface ProxyServiceInfoDc {
3905
3966
  icon?: string;
3906
3967
  /** Is set true resource is not visible in catalog. Can be changed only by owner or user with admin access. */
3907
3968
  invisibleInCatalog?: boolean;
3969
+ /** Parent id in resources catalog. */
3970
+ parentId?: string;
3908
3971
  }
3909
3972
  /**
3910
3973
  * Stream quality.
@@ -4087,6 +4150,8 @@ export interface QueryLayerServiceInfoDc {
4087
4150
  icon?: string;
4088
4151
  /** Is set true resource is not visible in catalog. Can be changed only by owner or user with admin access. */
4089
4152
  invisibleInCatalog?: boolean;
4153
+ /** Parent id in resources catalog. */
4154
+ parentId?: string;
4090
4155
  }
4091
4156
  /**
4092
4157
  * Raster band cfg.
@@ -4403,6 +4468,8 @@ export interface ResourceInfoDc {
4403
4468
  icon?: string;
4404
4469
  /** Is set true resource is not visible in catalog. Can be changed only by owner or user with admin access. */
4405
4470
  invisibleInCatalog?: boolean;
4471
+ /** Parent id in resources catalog. */
4472
+ parentId?: string;
4406
4473
  }
4407
4474
  /**
4408
4475
  *
@@ -4576,18 +4643,24 @@ export declare type ScaleBarElementDc = ModelElementDc & {
4576
4643
  font?: string | null;
4577
4644
  fontSize?: number;
4578
4645
  };
4646
+ /**
4647
+ * Script data contract.
4648
+ */
4649
+ export interface ScriptDc {
4650
+ /** Name. */
4651
+ name: string;
4652
+ /** Description. */
4653
+ description?: string;
4654
+ }
4579
4655
  /**
4580
4656
  * Search resources.
4581
4657
  */
4582
4658
  export interface SearchResourcesDto {
4583
- /**
4584
- * Id of the parent.
4585
- * @format uuid
4586
- */
4659
+ /** Id of the parent. */
4587
4660
  parentId?: string;
4588
4661
  /**
4589
4662
  * Text filer support sql like symbols
4590
- * (for example start with 'text*', contains '*text*', end with '*text'.
4663
+ * (for example start with 'text*', contains 'text', end with '*text'.
4591
4664
  */
4592
4665
  filter?: string;
4593
4666
  /**
@@ -4595,23 +4668,17 @@ export interface SearchResourcesDto {
4595
4668
  *
4596
4669
  * My
4597
4670
  *
4598
- * All
4671
+ * Shared
4599
4672
  *
4600
- * Other
4673
+ * Public
4601
4674
  */
4602
4675
  ownerFilter?: OwnerFilter;
4603
4676
  /** Tags filter. */
4604
4677
  tags?: string[];
4605
- /**
4606
- *
4607
- *
4608
- * All
4609
- *
4610
- * Directory
4611
- *
4612
- * File
4613
- */
4614
- objectFilter?: ObjectTypeFilter;
4678
+ /** Resources types filter. */
4679
+ resourceTypes?: CatalogResourceType[];
4680
+ /** Resources subtypes filter. */
4681
+ subtypes?: string[];
4615
4682
  }
4616
4683
  /**
4617
4684
  * Result data.
@@ -5793,6 +5860,8 @@ export interface TileCatalogServiceInfoDc {
5793
5860
  icon?: string;
5794
5861
  /** Is set true resource is not visible in catalog. Can be changed only by owner or user with admin access. */
5795
5862
  invisibleInCatalog?: boolean;
5863
+ /** Parent id in resources catalog. */
5864
+ parentId?: string;
5796
5865
  }
5797
5866
  /**
5798
5867
  * Configuration of a table for tile catalog layer.
@@ -5970,6 +6039,8 @@ export interface TileServiceInfoDc {
5970
6039
  icon?: string;
5971
6040
  /** Is set true resource is not visible in catalog. Can be changed only by owner or user with admin access. */
5972
6041
  invisibleInCatalog?: boolean;
6042
+ /** Parent id in resources catalog. */
6043
+ parentId?: string;
5973
6044
  }
5974
6045
  /**
5975
6046
  * The description of the tile feature layer service as a server task data storage.
@@ -6476,19 +6547,16 @@ export interface GetLivePreviewStreamParams {
6476
6547
  cameraId: string;
6477
6548
  }
6478
6549
  export interface GetAllParams {
6479
- /**
6480
- * Parent resource id.
6481
- * @format uuid
6482
- */
6550
+ /** Parent resource id. */
6483
6551
  parentId?: string;
6484
6552
  /**
6485
6553
  * Resources owner filter.
6486
6554
  *
6487
6555
  * My
6488
6556
  *
6489
- * All
6557
+ * Shared
6490
6558
  *
6491
- * Other
6559
+ * Public
6492
6560
  */
6493
6561
  ownerFilter?: OwnerFilter;
6494
6562
  }
@@ -6521,14 +6589,16 @@ export interface CreateFilePayload {
6521
6589
  rewrite?: boolean;
6522
6590
  /** Description of the file. */
6523
6591
  description?: string;
6524
- /**
6525
- * Id of the parent resource.
6526
- * @format uuid
6527
- */
6592
+ /** Id of the parent resource. */
6528
6593
  parentId?: string;
6529
6594
  /** Owner of the file. */
6530
6595
  owner?: string;
6596
+ /** Check if file is temporary. */
6597
+ isTemporary?: boolean;
6598
+ /** A set of tags. */
6599
+ tags?: string[];
6531
6600
  }
6601
+ export declare type SetPermissionsPayload = ResourceAclDc[];
6532
6602
  export interface GetConfigurationsListParams {
6533
6603
  /**
6534
6604
  * Offset.
@@ -7200,7 +7270,7 @@ export interface ValidateExpressionParams {
7200
7270
  /** Layer name. */
7201
7271
  layerName: string;
7202
7272
  }
7203
- export interface GetRasterMetaParams8 {
7273
+ export interface GetRasterMetaParams2 {
7204
7274
  /**
7205
7275
  * Min value for build histogram.
7206
7276
  * @format double
@@ -7327,7 +7397,7 @@ export interface GetProjectsListParams {
7327
7397
  tags?: string[];
7328
7398
  }
7329
7399
  export declare type SetPermissionsBatchBody = ResourceAclDc[];
7330
- export interface DeleteResourcesParams9 {
7400
+ export interface DeleteResourcesParams5 {
7331
7401
  /** Resource names. */
7332
7402
  names?: string[];
7333
7403
  }
@@ -7339,6 +7409,43 @@ export interface SetPreviewBody {
7339
7409
  /** @format binary */
7340
7410
  file?: File;
7341
7411
  }
7412
+ export interface AddPayload {
7413
+ /** Name. */
7414
+ Name: string;
7415
+ /** Description. */
7416
+ Description?: string;
7417
+ /**
7418
+ * Add date and time.
7419
+ * @format date-time
7420
+ */
7421
+ DtAdd?: string;
7422
+ /**
7423
+ * Last update date and time.
7424
+ * @format date-time
7425
+ */
7426
+ DtLastUpdate?: string;
7427
+ /** @format binary */
7428
+ file?: File;
7429
+ }
7430
+ export interface UpdateBody {
7431
+ /** Name. */
7432
+ Name: string;
7433
+ /** Description. */
7434
+ Description?: string;
7435
+ /**
7436
+ * Add date and time.
7437
+ * @format date-time
7438
+ */
7439
+ DtAdd?: string;
7440
+ /**
7441
+ * Last update date and time.
7442
+ * @format date-time
7443
+ */
7444
+ DtLastUpdate?: string;
7445
+ /** @format binary */
7446
+ file?: File;
7447
+ }
7448
+ export declare type RunPayload = Record<string, any>;
7342
7449
  export interface CheckLimitsParams {
7343
7450
  /** Workspace. */
7344
7451
  userName?: string;
@@ -7510,15 +7617,6 @@ export interface UploadFilePayload {
7510
7617
  * If true - rewrite file if exist. If false - return error.
7511
7618
  */
7512
7619
  rewrite?: boolean;
7513
- /** Description of the file. */
7514
- description?: string;
7515
- /**
7516
- * Id of the parent resource.
7517
- * @format uuid
7518
- */
7519
- parentId?: string;
7520
- /** Owner of the file. */
7521
- owner?: string;
7522
7620
  }
7523
7621
  export interface DeleteFileParams {
7524
7622
  /** File id to delete. */
@@ -7582,7 +7680,7 @@ export interface StatisticsDbParams {
7582
7680
  */
7583
7681
  types?: AggregationFunction[];
7584
7682
  }
7585
- export interface ClassifyParams1 {
7683
+ export interface ClassifyParams3 {
7586
7684
  /** Layer name. */
7587
7685
  name: string;
7588
7686
  /** Attribute name. */
@@ -7715,6 +7813,10 @@ export interface GetTableListParams {
7715
7813
  acl?: string;
7716
7814
  }
7717
7815
  export declare type SetPermissionsBatchInput = ResourceAclDc[];
7816
+ export interface DeleteResourcesParams3 {
7817
+ /** Resource names. */
7818
+ names?: string[];
7819
+ }
7718
7820
  export interface GetTablesInfoParams {
7719
7821
  /** Table names. */
7720
7822
  tableNames?: string[];
@@ -7779,7 +7881,7 @@ export interface SetPreviewInput {
7779
7881
  /** @format binary */
7780
7882
  file?: File;
7781
7883
  }
7782
- export interface GetAllParams3 {
7884
+ export interface GetAllParams2 {
7783
7885
  /** Text filter. */
7784
7886
  filter?: string;
7785
7887
  /**
@@ -7868,7 +7970,7 @@ export interface GetPublicCapabilitiesParams {
7868
7970
  /** When omitted or not supported by server, server shall return service metadata document using the MIME type "text/xml". */
7869
7971
  AcceptFormats?: string[];
7870
7972
  }
7871
- export interface GetCapabilitiesParams9 {
7973
+ export interface GetCapabilitiesParams10 {
7872
7974
  /** Output format of service metadata. */
7873
7975
  Format?: string;
7874
7976
  /** Must be WMS. */
@@ -569,6 +569,22 @@ let CatalogService = /*#__PURE__*/function (_Service) {
569
569
  function getAll(query) {
570
570
  return this.http.get("/resources", query).json();
571
571
  }
572
+ /**
573
+ * No description
574
+ *
575
+ * @tags Catalog
576
+ * @name PostGetAll
577
+ * @operationId CatalogController_PostGetAll
578
+ * @summary Get all resource with given.
579
+ * @request POST:/resources
580
+ * @response `200` OK
581
+ */
582
+
583
+ }, {
584
+ key: "postGetAll",
585
+ value: function postGetAll(data) {
586
+ return this.http.post("/resources", data).json();
587
+ }
572
588
  /**
573
589
  * No description
574
590
  *
@@ -681,6 +697,22 @@ let CatalogService = /*#__PURE__*/function (_Service) {
681
697
  value: function getPermissions(resourceId) {
682
698
  return this.http.get("/resources/" + resourceId + "/permissions").json();
683
699
  }
700
+ /**
701
+ * No description
702
+ *
703
+ * @tags Catalog
704
+ * @name SetPermissions1
705
+ * @operationId CatalogController_SetPermissions_1
706
+ * @summary Set permissions to the resource.
707
+ * @request PUT:/resources/{resourceId}/permissions
708
+ * @response `200` OK
709
+ */
710
+
711
+ }, {
712
+ key: "setPermissions1",
713
+ value: function setPermissions1(resourceId, data) {
714
+ return this.http.put("/resources/" + resourceId + "/permissions", data).json();
715
+ }
684
716
  /**
685
717
  * No description
686
718
  *
@@ -688,14 +720,14 @@ let CatalogService = /*#__PURE__*/function (_Service) {
688
720
  * @name SetPermissions
689
721
  * @operationId CatalogController_SetPermissions
690
722
  * @summary Set permissions to the resource.
691
- * @request PUT:/resources/{resourceId}/permissions
723
+ * @request PUT:/resources/permissions
692
724
  * @response `200` OK
693
725
  */
694
726
 
695
727
  }, {
696
728
  key: "setPermissions",
697
- value: function setPermissions(resourceId, data) {
698
- return this.http.put("/resources/" + resourceId + "/permissions", data).json();
729
+ value: function setPermissions(data) {
730
+ return this.http.put("/resources/permissions", data).json();
699
731
  }
700
732
  /**
701
733
  * No description
@@ -4171,7 +4203,7 @@ let LayersService = /*#__PURE__*/function (_Service) {
4171
4203
  }, {
4172
4204
  key: "getDataLayout",
4173
4205
  value: function getDataLayout(name) {
4174
- return this.http.get("/layers/" + name + "/style/sprite.json").blob();
4206
+ return this.http.get("/layers/" + name + "/style/sprite.json").then(() => {});
4175
4207
  }
4176
4208
  /**
4177
4209
  * No description
@@ -7918,6 +7950,15 @@ function isFeatureLayer(layer) {
7918
7950
  AttributeType["Json"] = "Json";
7919
7951
  })(exports.AttributeType || (exports.AttributeType = {}));
7920
7952
 
7953
+ (function (CatalogResourceType) {
7954
+ CatalogResourceType["None"] = "None";
7955
+ CatalogResourceType["Map"] = "Map";
7956
+ CatalogResourceType["Layer"] = "Layer";
7957
+ CatalogResourceType["Table"] = "Table";
7958
+ CatalogResourceType["File"] = "File";
7959
+ CatalogResourceType["TaskPrototype"] = "TaskPrototype";
7960
+ })(exports.CatalogResourceType || (exports.CatalogResourceType = {}));
7961
+
7921
7962
  (function (ClassificationType) {
7922
7963
  ClassificationType["None"] = "none";
7923
7964
  ClassificationType["NaturalBreaks"] = "naturalBreaks";
@@ -8070,12 +8111,6 @@ function isFeatureLayer(layer) {
8070
8111
  LineJoinType["Round"] = "Round";
8071
8112
  })(exports.LineJoinType || (exports.LineJoinType = {}));
8072
8113
 
8073
- (function (ObjectTypeFilter) {
8074
- ObjectTypeFilter["All"] = "All";
8075
- ObjectTypeFilter["Directory"] = "Directory";
8076
- ObjectTypeFilter["File"] = "File";
8077
- })(exports.ObjectTypeFilter || (exports.ObjectTypeFilter = {}));
8078
-
8079
8114
  (function (Operation) {
8080
8115
  Operation["Unknown"] = "Unknown";
8081
8116
  Operation["Union"] = "union";
@@ -8086,8 +8121,8 @@ function isFeatureLayer(layer) {
8086
8121
 
8087
8122
  (function (OwnerFilter) {
8088
8123
  OwnerFilter["My"] = "My";
8089
- OwnerFilter["All"] = "All";
8090
- OwnerFilter["Other"] = "Other";
8124
+ OwnerFilter["Shared"] = "Shared";
8125
+ OwnerFilter["Public"] = "Public";
8091
8126
  })(exports.OwnerFilter || (exports.OwnerFilter = {}));
8092
8127
 
8093
8128
  (function (PbfSchema) {