@evergis/api 3.0.134 → 3.0.136

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 {
@@ -986,55 +986,55 @@ export interface ConfigDc {
986
986
  }
987
987
  /**
988
988
  * Types of errors that can occur during layer initialize.
989
-
989
+
990
990
  Unknown
991
-
991
+
992
992
  SerializeError
993
-
993
+
994
994
  InvalidDataService
995
-
995
+
996
996
  InvalidConfiguration
997
-
997
+
998
998
  InvalidDataServiceName
999
-
999
+
1000
1000
  InvalidTableName
1001
-
1001
+
1002
1002
  InvalidLayerName
1003
-
1003
+
1004
1004
  ResourceNotFound
1005
-
1005
+
1006
1006
  InvalidCondition
1007
-
1007
+
1008
1008
  InvalidAttributes
1009
-
1009
+
1010
1010
  InvalidIdAttribute
1011
-
1011
+
1012
1012
  InvalidGeometryAttribute
1013
-
1013
+
1014
1014
  InvalidGeometryAttributeType
1015
-
1015
+
1016
1016
  InvalidColumnName
1017
-
1017
+
1018
1018
  InvalidIdColumnSettings
1019
-
1019
+
1020
1020
  ColumnNotExistsInTable
1021
-
1021
+
1022
1022
  InvalidStyle
1023
-
1023
+
1024
1024
  InvalidLayerType
1025
-
1025
+
1026
1026
  ColumnLoadingError
1027
-
1027
+
1028
1028
  InvalidAttributeFormat
1029
-
1029
+
1030
1030
  DataSourceNotFound
1031
-
1031
+
1032
1032
  DuplicateColumns
1033
-
1033
+
1034
1034
  DuplicateAttributes
1035
-
1035
+
1036
1036
  TableWithoutColumns
1037
-
1037
+
1038
1038
  InvalidTableReferenceConfiguration
1039
1039
  */
1040
1040
  export declare enum ConfigurationErrorEnum {
@@ -1316,15 +1316,15 @@ export interface ErrorDetailsDc {
1316
1316
  }
1317
1317
  /**
1318
1318
  * Type of the error.
1319
-
1319
+
1320
1320
  ResourceLimitExceeded
1321
-
1321
+
1322
1322
  ResourceNotFound
1323
-
1323
+
1324
1324
  InternalError
1325
-
1325
+
1326
1326
  BadRequest
1327
-
1327
+
1328
1328
  DuplicateContent
1329
1329
  */
1330
1330
  export declare enum ErrorDetailsType {
@@ -1818,9 +1818,9 @@ export declare type FeatureTaskParametersDc = TaskParametersDc & {
1818
1818
  };
1819
1819
  /**
1820
1820
  * Type of the feature.
1821
-
1821
+
1822
1822
  Unknown
1823
-
1823
+
1824
1824
  GeometricFeature
1825
1825
  */
1826
1826
  export declare enum FeatureType {
@@ -1894,11 +1894,11 @@ export interface FilterDc {
1894
1894
  }
1895
1895
  /**
1896
1896
  * Sets whether font should be styled.
1897
-
1897
+
1898
1898
  normal
1899
-
1899
+
1900
1900
  oblique
1901
-
1901
+
1902
1902
  italic
1903
1903
  */
1904
1904
  export declare enum FontStyle {
@@ -1908,27 +1908,27 @@ export declare enum FontStyle {
1908
1908
  }
1909
1909
  /**
1910
1910
  * Specifies the weight (or boldness) of the font.
1911
-
1911
+
1912
1912
  Thin
1913
-
1913
+
1914
1914
  ExtraLight
1915
-
1915
+
1916
1916
  Light
1917
-
1917
+
1918
1918
  SemiLight
1919
-
1919
+
1920
1920
  Normal
1921
-
1921
+
1922
1922
  Medium
1923
-
1923
+
1924
1924
  DemiBold
1925
-
1925
+
1926
1926
  Bold
1927
-
1927
+
1928
1928
  ExtraBold
1929
-
1929
+
1930
1930
  Black
1931
-
1931
+
1932
1932
  ExtraBlack
1933
1933
  */
1934
1934
  export declare enum FontWeight {
@@ -2023,17 +2023,17 @@ export interface GeometryDc {
2023
2023
  }
2024
2024
  /**
2025
2025
  *
2026
-
2026
+
2027
2027
  unknown
2028
-
2028
+
2029
2029
  point
2030
-
2030
+
2031
2031
  polyline
2032
-
2032
+
2033
2033
  polygon
2034
-
2034
+
2035
2035
  envelope
2036
-
2036
+
2037
2037
  multipoint
2038
2038
  */
2039
2039
  export declare enum GeometryType {
@@ -2053,13 +2053,13 @@ export declare type GridElementDc = ModelElementDc & {
2053
2053
  };
2054
2054
  /**
2055
2055
  * Resource group.
2056
-
2056
+
2057
2057
  my
2058
-
2058
+
2059
2059
  role
2060
-
2060
+
2061
2061
  public
2062
-
2062
+
2063
2063
  all
2064
2064
  */
2065
2065
  export declare enum Group {
@@ -2526,9 +2526,9 @@ export declare type LegendTemplateModelDc = TemplateModelDc & {
2526
2526
  /**
2527
2527
  * The size of the line ending in a SPCore.Kernel.Rendering.Symbols.SimplePolylineSymbol. The values sent here can be one
2528
2528
  of the preset values, or a number representing the size of the ending in pixels for 1px wide lines.
2529
-
2529
+
2530
2530
  small
2531
-
2531
+
2532
2532
  large
2533
2533
  */
2534
2534
  export declare enum LineEndingSize {
@@ -2537,19 +2537,19 @@ export declare enum LineEndingSize {
2537
2537
  }
2538
2538
  /**
2539
2539
  * Type of the line ending.
2540
-
2540
+
2541
2541
  none
2542
-
2542
+
2543
2543
  arrow
2544
-
2544
+
2545
2545
  filledArrow
2546
-
2546
+
2547
2547
  square
2548
-
2548
+
2549
2549
  filledSquare
2550
-
2550
+
2551
2551
  circle
2552
-
2552
+
2553
2553
  filledCircle
2554
2554
  */
2555
2555
  export declare enum LineEndingType {
@@ -2689,15 +2689,15 @@ export interface NamespaceInfoDc {
2689
2689
  export declare type ObjectId = object;
2690
2690
  /**
2691
2691
  *
2692
-
2692
+
2693
2693
  Unknown
2694
-
2694
+
2695
2695
  union
2696
-
2696
+
2697
2697
  intersection
2698
-
2698
+
2699
2699
  subtraction
2700
-
2700
+
2701
2701
  symDifference
2702
2702
  */
2703
2703
  export declare enum Operation {
@@ -3033,19 +3033,19 @@ export declare type PatternBrushDc = FillBrushDc & {
3033
3033
  };
3034
3034
  /**
3035
3035
  * User permissions for server security objects (services, projects etc.)
3036
-
3036
+
3037
3037
  none
3038
-
3038
+
3039
3039
  configure
3040
-
3040
+
3041
3041
  write
3042
-
3042
+
3043
3043
  read
3044
-
3044
+
3045
3045
  read,configure
3046
-
3046
+
3047
3047
  read,write
3048
-
3048
+
3049
3049
  read,write,configure
3050
3050
  */
3051
3051
  export declare enum Permissions {
@@ -3103,19 +3103,19 @@ export interface PolicyDc {
3103
3103
  }
3104
3104
  /**
3105
3105
  * Type of the authorization policy.
3106
-
3106
+
3107
3107
  Unknown
3108
-
3108
+
3109
3109
  CreateTable
3110
-
3110
+
3111
3111
  CreateLayer
3112
-
3112
+
3113
3113
  CreateProject
3114
-
3114
+
3115
3115
  MaxFeaturesInOneTable
3116
-
3116
+
3117
3117
  MaxObjectsToExport
3118
-
3118
+
3119
3119
  MaxUploadContentSize
3120
3120
  */
3121
3121
  export declare enum PolicyType {
@@ -3474,11 +3474,11 @@ export interface Rectangle2 {
3474
3474
  }
3475
3475
  /**
3476
3476
  * Types of table reference.
3477
-
3477
+
3478
3478
  OneToMany
3479
-
3479
+
3480
3480
  OneToOne
3481
-
3481
+
3482
3482
  Intersect
3483
3483
  */
3484
3484
  export declare enum ReferenceJoinType {
@@ -3611,19 +3611,19 @@ export interface ResourceInfoDc {
3611
3611
  }
3612
3612
  /**
3613
3613
  * The `ResourceType` represents resource manager supports types.
3614
-
3614
+
3615
3615
  Unknown
3616
-
3616
+
3617
3617
  table
3618
-
3618
+
3619
3619
  layer
3620
-
3620
+
3621
3621
  project
3622
-
3622
+
3623
3623
  file
3624
-
3624
+
3625
3625
  feature
3626
-
3626
+
3627
3627
  tag
3628
3628
  */
3629
3629
  export declare enum ResourceType {
@@ -3791,21 +3791,21 @@ export interface ServerInfoDc {
3791
3791
  }
3792
3792
  /**
3793
3793
  * Status of the server task.
3794
-
3794
+
3795
3795
  None
3796
-
3796
+
3797
3797
  Scheduled
3798
-
3798
+
3799
3799
  Planning
3800
-
3800
+
3801
3801
  Executing
3802
-
3802
+
3803
3803
  Completed
3804
-
3804
+
3805
3805
  Failed
3806
-
3806
+
3807
3807
  Canceled
3808
-
3808
+
3809
3809
  Timeout
3810
3810
  */
3811
3811
  export declare enum ServerTaskStatus {
@@ -4036,9 +4036,9 @@ export declare type SimplePolylineSymbolDc = SymbolDc & {
4036
4036
  };
4037
4037
  /**
4038
4038
  * Simplify type.
4039
-
4039
+
4040
4040
  Basic
4041
-
4041
+
4042
4042
  PreserveTopology
4043
4043
  */
4044
4044
  export declare enum SimplifyType {
@@ -4163,11 +4163,11 @@ export declare type StepResultDc = BaseStepResultDc & {
4163
4163
  };
4164
4164
  /**
4165
4165
  * The `StringSubType` provides information about string attribute subtype.
4166
-
4166
+
4167
4167
  None
4168
-
4168
+
4169
4169
  Image
4170
-
4170
+
4171
4171
  PkkCode
4172
4172
  */
4173
4173
  export declare enum StringSubType {
@@ -4379,9 +4379,9 @@ export interface TagInfoDc {
4379
4379
  }
4380
4380
  /**
4381
4381
  * Task owner group.
4382
-
4382
+
4383
4383
  my
4384
-
4384
+
4385
4385
  all
4386
4386
  */
4387
4387
  export declare enum TaskGroup {
@@ -4595,13 +4595,13 @@ export interface TemplateModelDc {
4595
4595
  }
4596
4596
  /**
4597
4597
  * Sets the horizontal alignment of text.
4598
-
4598
+
4599
4599
  right
4600
-
4600
+
4601
4601
  left
4602
-
4602
+
4603
4603
  center
4604
-
4604
+
4605
4605
  justified
4606
4606
  */
4607
4607
  export declare enum TextAlignment {
@@ -4621,11 +4621,11 @@ export interface TextBackgroundDc {
4621
4621
  }
4622
4622
  /**
4623
4623
  * Sets the vertical alignment of text.
4624
-
4624
+
4625
4625
  top
4626
-
4626
+
4627
4627
  bottom
4628
-
4628
+
4629
4629
  middle
4630
4630
  */
4631
4631
  export declare enum TextVerticalAlignment {