@evergis/api 3.0.127 → 3.0.128

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 {
@@ -501,29 +501,29 @@ export interface AttributeFormatDefinitionDc {
501
501
  }
502
502
  /**
503
503
  * Types of the attributes that are supported by the system.
504
-
504
+
505
505
  Unknown
506
-
506
+
507
507
  String
508
-
508
+
509
509
  Int32
510
-
510
+
511
511
  Int64
512
-
512
+
513
513
  Double
514
-
514
+
515
515
  DateTime
516
-
516
+
517
517
  Boolean
518
-
518
+
519
519
  Point
520
-
520
+
521
521
  Polyline
522
-
522
+
523
523
  Polygon
524
-
524
+
525
525
  Multipoint
526
-
526
+
527
527
  H3Index
528
528
  */
529
529
  export declare enum AttributeType {
@@ -688,15 +688,15 @@ export declare type CirclePointSymbolDc = SymbolDc & {
688
688
  };
689
689
  /**
690
690
  * Describes classification methods.
691
-
691
+
692
692
  none
693
-
693
+
694
694
  naturalBreaks
695
-
695
+
696
696
  equalInterval
697
-
697
+
698
698
  quantile
699
-
699
+
700
700
  unique
701
701
  */
702
702
  export declare enum ClassificationType {
@@ -708,11 +708,11 @@ export declare enum ClassificationType {
708
708
  }
709
709
  /**
710
710
  * Type of attribute.
711
-
711
+
712
712
  decimal
713
-
713
+
714
714
  dateTime
715
-
715
+
716
716
  text
717
717
  */
718
718
  export declare enum ClassifyAttributeType {
@@ -979,55 +979,55 @@ export interface ConfigDc {
979
979
  }
980
980
  /**
981
981
  * Types of errors that can occur during layer initialize.
982
-
982
+
983
983
  Unknown
984
-
984
+
985
985
  SerializeError
986
-
986
+
987
987
  InvalidDataService
988
-
988
+
989
989
  InvalidConfiguration
990
-
990
+
991
991
  InvalidDataServiceName
992
-
992
+
993
993
  InvalidTableName
994
-
994
+
995
995
  InvalidLayerName
996
-
996
+
997
997
  ResourceNotFound
998
-
998
+
999
999
  InvalidCondition
1000
-
1000
+
1001
1001
  InvalidAttributes
1002
-
1002
+
1003
1003
  InvalidIdAttribute
1004
-
1004
+
1005
1005
  InvalidGeometryAttribute
1006
-
1006
+
1007
1007
  InvalidGeometryAttributeType
1008
-
1008
+
1009
1009
  InvalidColumnName
1010
-
1010
+
1011
1011
  InvalidIdColumnSettings
1012
-
1012
+
1013
1013
  ColumnNotExistsInTable
1014
-
1014
+
1015
1015
  InvalidStyle
1016
-
1016
+
1017
1017
  InvalidLayerType
1018
-
1018
+
1019
1019
  ColumnLoadingError
1020
-
1020
+
1021
1021
  InvalidAttributeFormat
1022
-
1022
+
1023
1023
  DataSourceNotFound
1024
-
1024
+
1025
1025
  DuplicateColumns
1026
-
1026
+
1027
1027
  DuplicateAttributes
1028
-
1028
+
1029
1029
  TableWithoutColumns
1030
-
1030
+
1031
1031
  InvalidTableReferenceConfiguration
1032
1032
  */
1033
1033
  export declare enum ConfigurationErrorEnum {
@@ -1309,15 +1309,15 @@ export interface ErrorDetailsDc {
1309
1309
  }
1310
1310
  /**
1311
1311
  * Type of the error.
1312
-
1312
+
1313
1313
  ResourceLimitExceeded
1314
-
1314
+
1315
1315
  ResourceNotFound
1316
-
1316
+
1317
1317
  InternalError
1318
-
1318
+
1319
1319
  BadRequest
1320
-
1320
+
1321
1321
  DuplicateContent
1322
1322
  */
1323
1323
  export declare enum ErrorDetailsType {
@@ -1811,9 +1811,9 @@ export declare type FeatureTaskParametersDc = TaskParametersDc & {
1811
1811
  };
1812
1812
  /**
1813
1813
  * Type of the feature.
1814
-
1814
+
1815
1815
  Unknown
1816
-
1816
+
1817
1817
  GeometricFeature
1818
1818
  */
1819
1819
  export declare enum FeatureType {
@@ -1887,11 +1887,11 @@ export interface FilterDc {
1887
1887
  }
1888
1888
  /**
1889
1889
  * Sets whether font should be styled.
1890
-
1890
+
1891
1891
  normal
1892
-
1892
+
1893
1893
  oblique
1894
-
1894
+
1895
1895
  italic
1896
1896
  */
1897
1897
  export declare enum FontStyle {
@@ -1901,27 +1901,27 @@ export declare enum FontStyle {
1901
1901
  }
1902
1902
  /**
1903
1903
  * Specifies the weight (or boldness) of the font.
1904
-
1904
+
1905
1905
  Thin
1906
-
1906
+
1907
1907
  ExtraLight
1908
-
1908
+
1909
1909
  Light
1910
-
1910
+
1911
1911
  SemiLight
1912
-
1912
+
1913
1913
  Normal
1914
-
1914
+
1915
1915
  Medium
1916
-
1916
+
1917
1917
  DemiBold
1918
-
1918
+
1919
1919
  Bold
1920
-
1920
+
1921
1921
  ExtraBold
1922
-
1922
+
1923
1923
  Black
1924
-
1924
+
1925
1925
  ExtraBlack
1926
1926
  */
1927
1927
  export declare enum FontWeight {
@@ -2016,17 +2016,17 @@ export interface GeometryDc {
2016
2016
  }
2017
2017
  /**
2018
2018
  *
2019
-
2019
+
2020
2020
  unknown
2021
-
2021
+
2022
2022
  point
2023
-
2023
+
2024
2024
  polyline
2025
-
2025
+
2026
2026
  polygon
2027
-
2027
+
2028
2028
  envelope
2029
-
2029
+
2030
2030
  multipoint
2031
2031
  */
2032
2032
  export declare enum GeometryType {
@@ -2046,13 +2046,13 @@ export declare type GridElementDc = ModelElementDc & {
2046
2046
  };
2047
2047
  /**
2048
2048
  * Resource group.
2049
-
2049
+
2050
2050
  my
2051
-
2051
+
2052
2052
  role
2053
-
2053
+
2054
2054
  public
2055
-
2055
+
2056
2056
  all
2057
2057
  */
2058
2058
  export declare enum Group {
@@ -2515,9 +2515,9 @@ export declare type LegendTemplateModelDc = TemplateModelDc & {
2515
2515
  /**
2516
2516
  * The size of the line ending in a SPCore.Kernel.Rendering.Symbols.SimplePolylineSymbol. The values sent here can be one
2517
2517
  of the preset values, or a number representing the size of the ending in pixels for 1px wide lines.
2518
-
2518
+
2519
2519
  small
2520
-
2520
+
2521
2521
  large
2522
2522
  */
2523
2523
  export declare enum LineEndingSize {
@@ -2526,19 +2526,19 @@ export declare enum LineEndingSize {
2526
2526
  }
2527
2527
  /**
2528
2528
  * Type of the line ending.
2529
-
2529
+
2530
2530
  none
2531
-
2531
+
2532
2532
  arrow
2533
-
2533
+
2534
2534
  filledArrow
2535
-
2535
+
2536
2536
  square
2537
-
2537
+
2538
2538
  filledSquare
2539
-
2539
+
2540
2540
  circle
2541
-
2541
+
2542
2542
  filledCircle
2543
2543
  */
2544
2544
  export declare enum LineEndingType {
@@ -2678,15 +2678,15 @@ export interface NamespaceInfoDc {
2678
2678
  export declare type ObjectId = object;
2679
2679
  /**
2680
2680
  *
2681
-
2681
+
2682
2682
  Unknown
2683
-
2683
+
2684
2684
  union
2685
-
2685
+
2686
2686
  intersection
2687
-
2687
+
2688
2688
  subtraction
2689
-
2689
+
2690
2690
  symDifference
2691
2691
  */
2692
2692
  export declare enum Operation {
@@ -3022,19 +3022,19 @@ export declare type PatternBrushDc = FillBrushDc & {
3022
3022
  };
3023
3023
  /**
3024
3024
  * User permissions for server security objects (services, projects etc.)
3025
-
3025
+
3026
3026
  none
3027
-
3027
+
3028
3028
  configure
3029
-
3029
+
3030
3030
  write
3031
-
3031
+
3032
3032
  read
3033
-
3033
+
3034
3034
  read,configure
3035
-
3035
+
3036
3036
  read,write
3037
-
3037
+
3038
3038
  read,write,configure
3039
3039
  */
3040
3040
  export declare enum Permissions {
@@ -3092,19 +3092,19 @@ export interface PolicyDc {
3092
3092
  }
3093
3093
  /**
3094
3094
  * Type of the authorization policy.
3095
-
3095
+
3096
3096
  Unknown
3097
-
3097
+
3098
3098
  CreateTable
3099
-
3099
+
3100
3100
  CreateLayer
3101
-
3101
+
3102
3102
  CreateProject
3103
-
3103
+
3104
3104
  MaxFeaturesInOneTable
3105
-
3105
+
3106
3106
  MaxObjectsToExport
3107
-
3107
+
3108
3108
  MaxUploadContentSize
3109
3109
  */
3110
3110
  export declare enum PolicyType {
@@ -3463,11 +3463,11 @@ export interface Rectangle2 {
3463
3463
  }
3464
3464
  /**
3465
3465
  * Types of table reference.
3466
-
3466
+
3467
3467
  OneToMany
3468
-
3468
+
3469
3469
  OneToOne
3470
-
3470
+
3471
3471
  Intersect
3472
3472
  */
3473
3473
  export declare enum ReferenceJoinType {
@@ -3600,19 +3600,19 @@ export interface ResourceInfoDc {
3600
3600
  }
3601
3601
  /**
3602
3602
  * The `ResourceType` represents resource manager supports types.
3603
-
3603
+
3604
3604
  Unknown
3605
-
3605
+
3606
3606
  table
3607
-
3607
+
3608
3608
  layer
3609
-
3609
+
3610
3610
  project
3611
-
3611
+
3612
3612
  file
3613
-
3613
+
3614
3614
  feature
3615
-
3615
+
3616
3616
  tag
3617
3617
  */
3618
3618
  export declare enum ResourceType {
@@ -3780,21 +3780,21 @@ export interface ServerInfoDc {
3780
3780
  }
3781
3781
  /**
3782
3782
  * Status of the server task.
3783
-
3783
+
3784
3784
  None
3785
-
3785
+
3786
3786
  Scheduled
3787
-
3787
+
3788
3788
  Planning
3789
-
3789
+
3790
3790
  Executing
3791
-
3791
+
3792
3792
  Completed
3793
-
3793
+
3794
3794
  Failed
3795
-
3795
+
3796
3796
  Canceled
3797
-
3797
+
3798
3798
  Timeout
3799
3799
  */
3800
3800
  export declare enum ServerTaskStatus {
@@ -4025,9 +4025,9 @@ export declare type SimplePolylineSymbolDc = SymbolDc & {
4025
4025
  };
4026
4026
  /**
4027
4027
  * Simplify type.
4028
-
4028
+
4029
4029
  Basic
4030
-
4030
+
4031
4031
  PreserveTopology
4032
4032
  */
4033
4033
  export declare enum SimplifyType {
@@ -4152,11 +4152,11 @@ export declare type StepResultDc = BaseStepResultDc & {
4152
4152
  };
4153
4153
  /**
4154
4154
  * The `StringSubType` provides information about string attribute subtype.
4155
-
4155
+
4156
4156
  None
4157
-
4157
+
4158
4158
  Image
4159
-
4159
+
4160
4160
  PkkCode
4161
4161
  */
4162
4162
  export declare enum StringSubType {
@@ -4368,9 +4368,9 @@ export interface TagInfoDc {
4368
4368
  }
4369
4369
  /**
4370
4370
  * Task owner group.
4371
-
4371
+
4372
4372
  my
4373
-
4373
+
4374
4374
  all
4375
4375
  */
4376
4376
  export declare enum TaskGroup {
@@ -4584,13 +4584,13 @@ export interface TemplateModelDc {
4584
4584
  }
4585
4585
  /**
4586
4586
  * Sets the horizontal alignment of text.
4587
-
4587
+
4588
4588
  right
4589
-
4589
+
4590
4590
  left
4591
-
4591
+
4592
4592
  center
4593
-
4593
+
4594
4594
  justified
4595
4595
  */
4596
4596
  export declare enum TextAlignment {
@@ -4610,11 +4610,11 @@ export interface TextBackgroundDc {
4610
4610
  }
4611
4611
  /**
4612
4612
  * Sets the vertical alignment of text.
4613
-
4613
+
4614
4614
  top
4615
-
4615
+
4616
4616
  bottom
4617
-
4617
+
4618
4618
  middle
4619
4619
  */
4620
4620
  export declare enum TextVerticalAlignment {