@evergis/api 3.0.103 → 3.0.104

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) 2020 Kirill Protasov
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
1
+ MIT License
2
+
3
+ Copyright (c) 2020 Kirill Protasov
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
21
  SOFTWARE.
package/README.md CHANGED
@@ -1,21 +1,21 @@
1
- # @evergis/api
2
-
3
- ```javascript
4
- import { Api } from '@evergis/api';
5
-
6
- const api = new Api({
7
- url: '/',
8
- });
9
- ```
10
-
11
- ## Possible Environment variables
12
-
13
- ```
14
-
15
- NODE_ENV = "development" | "test" | "production"
16
- URL = "string"
17
- LOGIN = "string"
18
- PASSWORD = "string"
19
- WORKSPACE = "string"
20
-
21
- ```
1
+ # @evergis/api
2
+
3
+ ```javascript
4
+ import { Api } from '@evergis/api';
5
+
6
+ const api = new Api({
7
+ url: '/',
8
+ });
9
+ ```
10
+
11
+ ## Possible Environment variables
12
+
13
+ ```
14
+
15
+ NODE_ENV = "development" | "test" | "production"
16
+ URL = "string"
17
+ LOGIN = "string"
18
+ PASSWORD = "string"
19
+ WORKSPACE = "string"
20
+
21
+ ```
@@ -80,45 +80,45 @@ export interface AggregationDataResultDc {
80
80
  }
81
81
  /**
82
82
  *
83
-
83
+
84
84
  None
85
-
85
+
86
86
  Array
87
-
87
+
88
88
  Min
89
-
89
+
90
90
  Max
91
-
91
+
92
92
  Avg
93
-
93
+
94
94
  Sum
95
-
95
+
96
96
  Extent
97
-
97
+
98
98
  Count
99
-
99
+
100
100
  TotalCount
101
-
101
+
102
102
  DistinctCount
103
-
103
+
104
104
  First
105
-
105
+
106
106
  Last
107
-
107
+
108
108
  Median
109
-
109
+
110
110
  Mod
111
-
111
+
112
112
  StdDeviation
113
-
113
+
114
114
  SumOfProduct
115
-
115
+
116
116
  OnlyValue
117
-
117
+
118
118
  WeightedAvg
119
-
119
+
120
120
  DensityIndicators
121
-
121
+
122
122
  DividedSum
123
123
  */
124
124
  export declare enum AggregationFunction {
@@ -427,27 +427,27 @@ export interface AttributeFormatDefinitionDc {
427
427
  }
428
428
  /**
429
429
  * Types of the attributes that are supported by the system.
430
-
430
+
431
431
  Unknown
432
-
432
+
433
433
  String
434
-
434
+
435
435
  Int32
436
-
436
+
437
437
  Int64
438
-
438
+
439
439
  Double
440
-
440
+
441
441
  DateTime
442
-
442
+
443
443
  Boolean
444
-
444
+
445
445
  Point
446
-
446
+
447
447
  Polyline
448
-
448
+
449
449
  Polygon
450
-
450
+
451
451
  Multipoint
452
452
  */
453
453
  export declare enum AttributeType {
@@ -611,15 +611,15 @@ export declare type CirclePointSymbolDc = SymbolDc & {
611
611
  };
612
612
  /**
613
613
  * Describes classification methods.
614
-
614
+
615
615
  none
616
-
616
+
617
617
  naturalBreaks
618
-
618
+
619
619
  equalInterval
620
-
620
+
621
621
  quantile
622
-
622
+
623
623
  unique
624
624
  */
625
625
  export declare enum ClassificationType {
@@ -631,11 +631,11 @@ export declare enum ClassificationType {
631
631
  }
632
632
  /**
633
633
  * Type of attribute.
634
-
634
+
635
635
  decimal
636
-
636
+
637
637
  dateTime
638
-
638
+
639
639
  text
640
640
  */
641
641
  export declare enum ClassifyAttributeType {
@@ -900,51 +900,51 @@ export interface ConfigDc {
900
900
  }
901
901
  /**
902
902
  * Types of errors that can occur during layer initialize.
903
-
903
+
904
904
  Unknown
905
-
905
+
906
906
  SerializeError
907
-
907
+
908
908
  InvalidDataService
909
-
909
+
910
910
  InvalidConfiguration
911
-
911
+
912
912
  InvalidDataServiceName
913
-
913
+
914
914
  InvalidTableName
915
-
915
+
916
916
  InvalidLayerName
917
-
917
+
918
918
  ResourceNotFound
919
-
919
+
920
920
  InvalidCondition
921
-
921
+
922
922
  InvalidAttributes
923
-
923
+
924
924
  InvalidIdAttribute
925
-
925
+
926
926
  InvalidGeometryAttribute
927
-
927
+
928
928
  InvalidGeometryAttributeType
929
-
929
+
930
930
  InvalidColumnName
931
-
931
+
932
932
  InvalidIdColumnSettings
933
-
933
+
934
934
  ColumnNotExistsInTable
935
-
935
+
936
936
  InvalidStyle
937
-
937
+
938
938
  InvalidLayerType
939
-
939
+
940
940
  ColumnLoadingError
941
-
941
+
942
942
  InvalidAttributeFormat
943
-
943
+
944
944
  DataSourceNotFound
945
-
945
+
946
946
  DuplicateColumns
947
-
947
+
948
948
  TableWithoutColumns
949
949
  */
950
950
  export declare enum ConfigurationErrorEnum {
@@ -1192,15 +1192,15 @@ export interface ErrorDetailsDc {
1192
1192
  }
1193
1193
  /**
1194
1194
  * Type of the error.
1195
-
1195
+
1196
1196
  ResourceLimitExceeded
1197
-
1197
+
1198
1198
  ResourceNotFound
1199
-
1199
+
1200
1200
  InternalError
1201
-
1201
+
1202
1202
  BadRequest
1203
-
1203
+
1204
1204
  DuplicateContent
1205
1205
  */
1206
1206
  export declare enum ErrorDetailsType {
@@ -1686,9 +1686,9 @@ export declare type FeatureTaskParametersDc = TaskParametersDc & {
1686
1686
  };
1687
1687
  /**
1688
1688
  * Type of the feature.
1689
-
1689
+
1690
1690
  Unknown
1691
-
1691
+
1692
1692
  GeometricFeature
1693
1693
  */
1694
1694
  export declare enum FeatureType {
@@ -1762,11 +1762,11 @@ export interface FilterDc {
1762
1762
  }
1763
1763
  /**
1764
1764
  * Sets whether font should be styled.
1765
-
1765
+
1766
1766
  normal
1767
-
1767
+
1768
1768
  oblique
1769
-
1769
+
1770
1770
  italic
1771
1771
  */
1772
1772
  export declare enum FontStyle {
@@ -1776,27 +1776,27 @@ export declare enum FontStyle {
1776
1776
  }
1777
1777
  /**
1778
1778
  * Specifies the weight (or boldness) of the font.
1779
-
1779
+
1780
1780
  Thin
1781
-
1781
+
1782
1782
  ExtraLight
1783
-
1783
+
1784
1784
  Light
1785
-
1785
+
1786
1786
  SemiLight
1787
-
1787
+
1788
1788
  Normal
1789
-
1789
+
1790
1790
  Medium
1791
-
1791
+
1792
1792
  DemiBold
1793
-
1793
+
1794
1794
  Bold
1795
-
1795
+
1796
1796
  ExtraBold
1797
-
1797
+
1798
1798
  Black
1799
-
1799
+
1800
1800
  ExtraBlack
1801
1801
  */
1802
1802
  export declare enum FontWeight {
@@ -1891,17 +1891,17 @@ export interface GeometryDc {
1891
1891
  }
1892
1892
  /**
1893
1893
  *
1894
-
1894
+
1895
1895
  unknown
1896
-
1896
+
1897
1897
  point
1898
-
1898
+
1899
1899
  polyline
1900
-
1900
+
1901
1901
  polygon
1902
-
1902
+
1903
1903
  envelope
1904
-
1904
+
1905
1905
  multipoint
1906
1906
  */
1907
1907
  export declare enum GeometryType {
@@ -1921,13 +1921,13 @@ export declare type GridElementDc = ModelElementDc & {
1921
1921
  };
1922
1922
  /**
1923
1923
  * Resource group.
1924
-
1924
+
1925
1925
  my
1926
-
1926
+
1927
1927
  role
1928
-
1928
+
1929
1929
  public
1930
-
1930
+
1931
1931
  all
1932
1932
  */
1933
1933
  export declare enum Group {
@@ -2383,9 +2383,9 @@ export declare type LegendTemplateModelDc = TemplateModelDc & {
2383
2383
  /**
2384
2384
  * The size of the line ending in a SPCore.Kernel.Rendering.Symbols.SimplePolylineSymbol. The values sent here can be one
2385
2385
  of the preset values, or a number representing the size of the ending in pixels for 1px wide lines.
2386
-
2386
+
2387
2387
  small
2388
-
2388
+
2389
2389
  large
2390
2390
  */
2391
2391
  export declare enum LineEndingSize {
@@ -2394,19 +2394,19 @@ export declare enum LineEndingSize {
2394
2394
  }
2395
2395
  /**
2396
2396
  * Type of the line ending.
2397
-
2397
+
2398
2398
  none
2399
-
2399
+
2400
2400
  arrow
2401
-
2401
+
2402
2402
  filledArrow
2403
-
2403
+
2404
2404
  square
2405
-
2405
+
2406
2406
  filledSquare
2407
-
2407
+
2408
2408
  circle
2409
-
2409
+
2410
2410
  filledCircle
2411
2411
  */
2412
2412
  export declare enum LineEndingType {
@@ -2663,15 +2663,15 @@ export interface NamespaceInfoDc {
2663
2663
  export declare type ObjectId = object;
2664
2664
  /**
2665
2665
  *
2666
-
2666
+
2667
2667
  Unknown
2668
-
2668
+
2669
2669
  union
2670
-
2670
+
2671
2671
  intersection
2672
-
2672
+
2673
2673
  subtraction
2674
-
2674
+
2675
2675
  symDifference
2676
2676
  */
2677
2677
  export declare enum Operation {
@@ -2765,19 +2765,19 @@ export declare type PatternBrushDc = FillBrushDc & {
2765
2765
  };
2766
2766
  /**
2767
2767
  * User permissions for server security objects (services, projects etc.)
2768
-
2768
+
2769
2769
  none
2770
-
2770
+
2771
2771
  configure
2772
-
2772
+
2773
2773
  write
2774
-
2774
+
2775
2775
  read
2776
-
2776
+
2777
2777
  read,configure
2778
-
2778
+
2779
2779
  read,write
2780
-
2780
+
2781
2781
  read,write,configure
2782
2782
  */
2783
2783
  export declare enum Permissions {
@@ -2834,19 +2834,19 @@ export interface PolicyDc {
2834
2834
  }
2835
2835
  /**
2836
2836
  * Type of the authorization policy.
2837
-
2837
+
2838
2838
  Unknown
2839
-
2839
+
2840
2840
  CreateTable
2841
-
2841
+
2842
2842
  CreateLayer
2843
-
2843
+
2844
2844
  CreateProject
2845
-
2845
+
2846
2846
  MaxFeaturesInOneTable
2847
-
2847
+
2848
2848
  MaxObjectsToExport
2849
-
2849
+
2850
2850
  MaxUploadContentSize
2851
2851
  */
2852
2852
  export declare enum PolicyType {
@@ -3322,19 +3322,19 @@ export interface ResourceInfoDc {
3322
3322
  }
3323
3323
  /**
3324
3324
  * The `ResourceType` represents resource manager supports types.
3325
-
3325
+
3326
3326
  Unknown
3327
-
3327
+
3328
3328
  table
3329
-
3329
+
3330
3330
  layer
3331
-
3331
+
3332
3332
  project
3333
-
3333
+
3334
3334
  file
3335
-
3335
+
3336
3336
  feature
3337
-
3337
+
3338
3338
  tag
3339
3339
  */
3340
3340
  export declare enum ResourceType {
@@ -3502,21 +3502,21 @@ export interface ServerInfoDc {
3502
3502
  }
3503
3503
  /**
3504
3504
  * Status of the server task.
3505
-
3505
+
3506
3506
  None
3507
-
3507
+
3508
3508
  Scheduled
3509
-
3509
+
3510
3510
  Planning
3511
-
3511
+
3512
3512
  Executing
3513
-
3513
+
3514
3514
  Completed
3515
-
3515
+
3516
3516
  Failed
3517
-
3517
+
3518
3518
  Canceled
3519
-
3519
+
3520
3520
  Timeout
3521
3521
  */
3522
3522
  export declare enum ServerTaskStatus {
@@ -3858,11 +3858,11 @@ export declare type StepResultDc = BaseStepResultDc & {
3858
3858
  };
3859
3859
  /**
3860
3860
  * The `StringSubType` provides information about string attribute subtype.
3861
-
3861
+
3862
3862
  None
3863
-
3863
+
3864
3864
  Image
3865
-
3865
+
3866
3866
  PkkCode
3867
3867
  */
3868
3868
  export declare enum StringSubType {
@@ -4186,13 +4186,13 @@ export interface TemplateModelDc {
4186
4186
  }
4187
4187
  /**
4188
4188
  * Sets the horizontal alignment of text.
4189
-
4189
+
4190
4190
  right
4191
-
4191
+
4192
4192
  left
4193
-
4193
+
4194
4194
  center
4195
-
4195
+
4196
4196
  justified
4197
4197
  */
4198
4198
  export declare enum TextAlignment {
@@ -4212,11 +4212,11 @@ export interface TextBackgroundDc {
4212
4212
  }
4213
4213
  /**
4214
4214
  * Sets the vertical alignment of text.
4215
-
4215
+
4216
4216
  top
4217
-
4217
+
4218
4218
  bottom
4219
-
4219
+
4220
4220
  middle
4221
4221
  */
4222
4222
  export declare enum TextVerticalAlignment {