@evergis/api 3.0.139 → 3.0.141

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
+ ```
@@ -82,47 +82,47 @@ export interface AggregationDataResultDc {
82
82
  }
83
83
  /**
84
84
  *
85
-
85
+
86
86
  None
87
-
87
+
88
88
  Array
89
-
89
+
90
90
  Min
91
-
91
+
92
92
  Max
93
-
93
+
94
94
  Avg
95
-
95
+
96
96
  Sum
97
-
97
+
98
98
  Extent
99
-
99
+
100
100
  H3
101
-
101
+
102
102
  Count
103
-
103
+
104
104
  TotalCount
105
-
105
+
106
106
  DistinctCount
107
-
107
+
108
108
  First
109
-
109
+
110
110
  Last
111
-
111
+
112
112
  Median
113
-
113
+
114
114
  Mod
115
-
115
+
116
116
  StdDeviation
117
-
117
+
118
118
  SumOfProduct
119
-
119
+
120
120
  OnlyValue
121
-
121
+
122
122
  WeightedAvg
123
-
123
+
124
124
  DensityIndicators
125
-
125
+
126
126
  DividedSum
127
127
  */
128
128
  export declare enum AggregationFunction {
@@ -505,29 +505,29 @@ export interface AttributeFormatDefinitionDc {
505
505
  }
506
506
  /**
507
507
  * Types of the attributes that are supported by the system.
508
-
508
+
509
509
  Unknown
510
-
510
+
511
511
  String
512
-
512
+
513
513
  Int32
514
-
514
+
515
515
  Int64
516
-
516
+
517
517
  Double
518
-
518
+
519
519
  DateTime
520
-
520
+
521
521
  Boolean
522
-
522
+
523
523
  Point
524
-
524
+
525
525
  Polyline
526
-
526
+
527
527
  Polygon
528
-
528
+
529
529
  Multipoint
530
-
530
+
531
531
  H3Index
532
532
  */
533
533
  export declare enum AttributeType {
@@ -692,15 +692,15 @@ export declare type CirclePointSymbolDc = SymbolDc & {
692
692
  };
693
693
  /**
694
694
  * Describes classification methods.
695
-
695
+
696
696
  none
697
-
697
+
698
698
  naturalBreaks
699
-
699
+
700
700
  equalInterval
701
-
701
+
702
702
  quantile
703
-
703
+
704
704
  unique
705
705
  */
706
706
  export declare enum ClassificationType {
@@ -712,11 +712,11 @@ export declare enum ClassificationType {
712
712
  }
713
713
  /**
714
714
  * Type of attribute.
715
-
715
+
716
716
  decimal
717
-
717
+
718
718
  dateTime
719
-
719
+
720
720
  text
721
721
  */
722
722
  export declare enum ClassifyAttributeType {
@@ -987,55 +987,55 @@ export interface ConfigDc {
987
987
  }
988
988
  /**
989
989
  * Types of errors that can occur during layer initialize.
990
-
990
+
991
991
  Unknown
992
-
992
+
993
993
  SerializeError
994
-
994
+
995
995
  InvalidDataService
996
-
996
+
997
997
  InvalidConfiguration
998
-
998
+
999
999
  InvalidDataServiceName
1000
-
1000
+
1001
1001
  InvalidTableName
1002
-
1002
+
1003
1003
  InvalidLayerName
1004
-
1004
+
1005
1005
  ResourceNotFound
1006
-
1006
+
1007
1007
  InvalidCondition
1008
-
1008
+
1009
1009
  InvalidAttributes
1010
-
1010
+
1011
1011
  InvalidIdAttribute
1012
-
1012
+
1013
1013
  InvalidGeometryAttribute
1014
-
1014
+
1015
1015
  InvalidGeometryAttributeType
1016
-
1016
+
1017
1017
  InvalidColumnName
1018
-
1018
+
1019
1019
  InvalidIdColumnSettings
1020
-
1020
+
1021
1021
  ColumnNotExistsInTable
1022
-
1022
+
1023
1023
  InvalidStyle
1024
-
1024
+
1025
1025
  InvalidLayerType
1026
-
1026
+
1027
1027
  ColumnLoadingError
1028
-
1028
+
1029
1029
  InvalidAttributeFormat
1030
-
1030
+
1031
1031
  DataSourceNotFound
1032
-
1032
+
1033
1033
  DuplicateColumns
1034
-
1034
+
1035
1035
  DuplicateAttributes
1036
-
1036
+
1037
1037
  TableWithoutColumns
1038
-
1038
+
1039
1039
  InvalidTableReferenceConfiguration
1040
1040
  */
1041
1041
  export declare enum ConfigurationErrorEnum {
@@ -1317,15 +1317,15 @@ export interface ErrorDetailsDc {
1317
1317
  }
1318
1318
  /**
1319
1319
  * Type of the error.
1320
-
1320
+
1321
1321
  ResourceLimitExceeded
1322
-
1322
+
1323
1323
  ResourceNotFound
1324
-
1324
+
1325
1325
  InternalError
1326
-
1326
+
1327
1327
  BadRequest
1328
-
1328
+
1329
1329
  DuplicateContent
1330
1330
  */
1331
1331
  export declare enum ErrorDetailsType {
@@ -1819,9 +1819,9 @@ export declare type FeatureTaskParametersDc = TaskParametersDc & {
1819
1819
  };
1820
1820
  /**
1821
1821
  * Type of the feature.
1822
-
1822
+
1823
1823
  Unknown
1824
-
1824
+
1825
1825
  GeometricFeature
1826
1826
  */
1827
1827
  export declare enum FeatureType {
@@ -1895,11 +1895,11 @@ export interface FilterDc {
1895
1895
  }
1896
1896
  /**
1897
1897
  * Sets whether font should be styled.
1898
-
1898
+
1899
1899
  normal
1900
-
1900
+
1901
1901
  oblique
1902
-
1902
+
1903
1903
  italic
1904
1904
  */
1905
1905
  export declare enum FontStyle {
@@ -1909,27 +1909,27 @@ export declare enum FontStyle {
1909
1909
  }
1910
1910
  /**
1911
1911
  * Specifies the weight (or boldness) of the font.
1912
-
1912
+
1913
1913
  Thin
1914
-
1914
+
1915
1915
  ExtraLight
1916
-
1916
+
1917
1917
  Light
1918
-
1918
+
1919
1919
  SemiLight
1920
-
1920
+
1921
1921
  Normal
1922
-
1922
+
1923
1923
  Medium
1924
-
1924
+
1925
1925
  DemiBold
1926
-
1926
+
1927
1927
  Bold
1928
-
1928
+
1929
1929
  ExtraBold
1930
-
1930
+
1931
1931
  Black
1932
-
1932
+
1933
1933
  ExtraBlack
1934
1934
  */
1935
1935
  export declare enum FontWeight {
@@ -2024,17 +2024,17 @@ export interface GeometryDc {
2024
2024
  }
2025
2025
  /**
2026
2026
  *
2027
-
2027
+
2028
2028
  unknown
2029
-
2029
+
2030
2030
  point
2031
-
2031
+
2032
2032
  polyline
2033
-
2033
+
2034
2034
  multipolygon
2035
-
2035
+
2036
2036
  envelope
2037
-
2037
+
2038
2038
  multipoint
2039
2039
  */
2040
2040
  export declare enum GeometryType {
@@ -2054,13 +2054,13 @@ export declare type GridElementDc = ModelElementDc & {
2054
2054
  };
2055
2055
  /**
2056
2056
  * Resource group.
2057
-
2057
+
2058
2058
  my
2059
-
2059
+
2060
2060
  role
2061
-
2061
+
2062
2062
  public
2063
-
2063
+
2064
2064
  all
2065
2065
  */
2066
2066
  export declare enum Group {
@@ -2538,9 +2538,9 @@ export declare type LegendTemplateModelDc = TemplateModelDc & {
2538
2538
  /**
2539
2539
  * The size of the line ending in a SPCore.Kernel.Rendering.Symbols.SimplePolylineSymbol. The values sent here can be one
2540
2540
  of the preset values, or a number representing the size of the ending in pixels for 1px wide lines.
2541
-
2541
+
2542
2542
  small
2543
-
2543
+
2544
2544
  large
2545
2545
  */
2546
2546
  export declare enum LineEndingSize {
@@ -2549,19 +2549,19 @@ export declare enum LineEndingSize {
2549
2549
  }
2550
2550
  /**
2551
2551
  * Type of the line ending.
2552
-
2552
+
2553
2553
  none
2554
-
2554
+
2555
2555
  arrow
2556
-
2556
+
2557
2557
  filledArrow
2558
-
2558
+
2559
2559
  square
2560
-
2560
+
2561
2561
  filledSquare
2562
-
2562
+
2563
2563
  circle
2564
-
2564
+
2565
2565
  filledCircle
2566
2566
  */
2567
2567
  export declare enum LineEndingType {
@@ -2701,15 +2701,15 @@ export interface NamespaceInfoDc {
2701
2701
  export declare type ObjectId = object;
2702
2702
  /**
2703
2703
  *
2704
-
2704
+
2705
2705
  Unknown
2706
-
2706
+
2707
2707
  union
2708
-
2708
+
2709
2709
  intersection
2710
-
2710
+
2711
2711
  subtraction
2712
-
2712
+
2713
2713
  symDifference
2714
2714
  */
2715
2715
  export declare enum Operation {
@@ -3045,19 +3045,19 @@ export declare type PatternBrushDc = FillBrushDc & {
3045
3045
  };
3046
3046
  /**
3047
3047
  * User permissions for server security objects (services, projects etc.)
3048
-
3048
+
3049
3049
  none
3050
-
3050
+
3051
3051
  configure
3052
-
3052
+
3053
3053
  write
3054
-
3054
+
3055
3055
  read
3056
-
3056
+
3057
3057
  read,configure
3058
-
3058
+
3059
3059
  read,write
3060
-
3060
+
3061
3061
  read,write,configure
3062
3062
  */
3063
3063
  export declare enum Permissions {
@@ -3115,19 +3115,19 @@ export interface PolicyDc {
3115
3115
  }
3116
3116
  /**
3117
3117
  * Type of the authorization policy.
3118
-
3118
+
3119
3119
  Unknown
3120
-
3120
+
3121
3121
  CreateTable
3122
-
3122
+
3123
3123
  CreateLayer
3124
-
3124
+
3125
3125
  CreateProject
3126
-
3126
+
3127
3127
  MaxFeaturesInOneTable
3128
-
3128
+
3129
3129
  MaxObjectsToExport
3130
-
3130
+
3131
3131
  MaxUploadContentSize
3132
3132
  */
3133
3133
  export declare enum PolicyType {
@@ -3476,11 +3476,11 @@ export declare type RasterSymbolDc = SymbolDc & {
3476
3476
  };
3477
3477
  /**
3478
3478
  * Types of table reference.
3479
-
3479
+
3480
3480
  OneToMany
3481
-
3481
+
3482
3482
  OneToOne
3483
-
3483
+
3484
3484
  Intersect
3485
3485
  */
3486
3486
  export declare enum ReferenceJoinType {
@@ -3613,19 +3613,19 @@ export interface ResourceInfoDc {
3613
3613
  }
3614
3614
  /**
3615
3615
  * The `ResourceType` represents resource manager supports types.
3616
-
3616
+
3617
3617
  Unknown
3618
-
3618
+
3619
3619
  table
3620
-
3620
+
3621
3621
  layer
3622
-
3622
+
3623
3623
  project
3624
-
3624
+
3625
3625
  file
3626
-
3626
+
3627
3627
  feature
3628
-
3628
+
3629
3629
  tag
3630
3630
  */
3631
3631
  export declare enum ResourceType {
@@ -3793,21 +3793,21 @@ export interface ServerInfoDc {
3793
3793
  }
3794
3794
  /**
3795
3795
  * Status of the server task.
3796
-
3796
+
3797
3797
  None
3798
-
3798
+
3799
3799
  Scheduled
3800
-
3800
+
3801
3801
  Planning
3802
-
3802
+
3803
3803
  Executing
3804
-
3804
+
3805
3805
  Completed
3806
-
3806
+
3807
3807
  Failed
3808
-
3808
+
3809
3809
  Canceled
3810
-
3810
+
3811
3811
  Timeout
3812
3812
  */
3813
3813
  export declare enum ServerTaskStatus {
@@ -4062,11 +4062,11 @@ export interface SimplifyInfoDc {
4062
4062
  }
4063
4063
  /**
4064
4064
  * Simplify type.
4065
-
4065
+
4066
4066
  Basic
4067
-
4067
+
4068
4068
  PreserveTopology
4069
-
4069
+
4070
4070
  VW
4071
4071
  */
4072
4072
  export declare enum SimplifyType {
@@ -4192,11 +4192,11 @@ export declare type StepResultDc = BaseStepResultDc & {
4192
4192
  };
4193
4193
  /**
4194
4194
  * The `StringSubType` provides information about string attribute subtype.
4195
-
4195
+
4196
4196
  None
4197
-
4197
+
4198
4198
  Image
4199
-
4199
+
4200
4200
  PkkCode
4201
4201
  */
4202
4202
  export declare enum StringSubType {
@@ -4414,9 +4414,9 @@ export interface TagInfoDc {
4414
4414
  }
4415
4415
  /**
4416
4416
  * Task owner group.
4417
-
4417
+
4418
4418
  my
4419
-
4419
+
4420
4420
  all
4421
4421
  */
4422
4422
  export declare enum TaskGroup {
@@ -4630,13 +4630,13 @@ export interface TemplateModelDc {
4630
4630
  }
4631
4631
  /**
4632
4632
  * Sets the horizontal alignment of text.
4633
-
4633
+
4634
4634
  right
4635
-
4635
+
4636
4636
  left
4637
-
4637
+
4638
4638
  center
4639
-
4639
+
4640
4640
  justified
4641
4641
  */
4642
4642
  export declare enum TextAlignment {
@@ -4656,11 +4656,11 @@ export interface TextBackgroundDc {
4656
4656
  }
4657
4657
  /**
4658
4658
  * Sets the vertical alignment of text.
4659
-
4659
+
4660
4660
  top
4661
-
4661
+
4662
4662
  bottom
4663
-
4663
+
4664
4664
  middle
4665
4665
  */
4666
4666
  export declare enum TextVerticalAlignment {