@evergis/api 3.0.101 → 3.0.103
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 +20 -20
- package/README.md +21 -21
- package/dist/__generated__/AccountPreviewService.d.ts +8 -19
- package/dist/__generated__/AccountService.d.ts +12 -1
- package/dist/__generated__/BulkOperationsService.d.ts +1 -1
- package/dist/__generated__/ClientSettingsService.d.ts +1 -1
- package/dist/__generated__/ExternalProvidersService.d.ts +1 -1
- package/dist/__generated__/FeedbackService.d.ts +1 -1
- package/dist/__generated__/FiltersService.d.ts +1 -1
- package/dist/__generated__/GeneralService.d.ts +1 -1
- package/dist/__generated__/GeocodeService.d.ts +1 -1
- package/dist/__generated__/IceRouterService.d.ts +1 -1
- package/dist/__generated__/ImportService.d.ts +1 -1
- package/dist/__generated__/LayersService.d.ts +24 -13
- package/dist/__generated__/NamespaceService.d.ts +1 -1
- package/dist/__generated__/NotificationService.d.ts +1 -1
- package/dist/__generated__/PrintService.d.ts +1 -1
- package/dist/__generated__/ProjectsService.d.ts +14 -3
- package/dist/__generated__/ResourceCatalogService.d.ts +1 -1
- package/dist/__generated__/S3Service.d.ts +1 -1
- package/dist/__generated__/SchedulerService.d.ts +1 -1
- package/dist/__generated__/SecurityService.d.ts +1 -1
- package/dist/__generated__/StaticContentService.d.ts +13 -2
- package/dist/__generated__/StatisticService.d.ts +3 -3
- package/dist/__generated__/StyleService.d.ts +1 -1
- package/dist/__generated__/TablesService.d.ts +16 -27
- package/dist/__generated__/TagsService.d.ts +1 -1
- package/dist/__generated__/ToolsService.d.ts +1 -1
- package/dist/__generated__/WfsServerService.d.ts +1 -1
- package/dist/__generated__/WmsServerService.d.ts +3 -3
- package/dist/__generated__/WmtsService.d.ts +1 -1
- package/dist/__generated__/data-contracts.d.ts +229 -189
- package/dist/api.cjs.development.js +164 -115
- package/dist/api.cjs.development.js.map +1 -1
- package/dist/api.cjs.production.min.js +1 -1
- package/dist/api.cjs.production.min.js.map +1 -1
- package/dist/api.esm.js +313 -258
- package/dist/api.esm.js.map +1 -1
- package/dist/services/AccountPreview.d.ts +3 -1
- package/dist/services/PortalSettings.d.ts +1 -0
- package/dist/services/Statistic.d.ts +2 -2
- package/package.json +3 -3
|
@@ -35,6 +35,9 @@ function _defineProperties(target, props) {
|
|
|
35
35
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
36
36
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
37
37
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
38
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
39
|
+
writable: false
|
|
40
|
+
});
|
|
38
41
|
return Constructor;
|
|
39
42
|
}
|
|
40
43
|
|
|
@@ -68,6 +71,9 @@ function _inherits(subClass, superClass) {
|
|
|
68
71
|
configurable: true
|
|
69
72
|
}
|
|
70
73
|
});
|
|
74
|
+
Object.defineProperty(subClass, "prototype", {
|
|
75
|
+
writable: false
|
|
76
|
+
});
|
|
71
77
|
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
72
78
|
}
|
|
73
79
|
|
|
@@ -126,6 +132,8 @@ function _assertThisInitialized(self) {
|
|
|
126
132
|
function _possibleConstructorReturn(self, call) {
|
|
127
133
|
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
128
134
|
return call;
|
|
135
|
+
} else if (call !== void 0) {
|
|
136
|
+
throw new TypeError("Derived constructors may only return object or undefined");
|
|
129
137
|
}
|
|
130
138
|
|
|
131
139
|
return _assertThisInitialized(self);
|
|
@@ -159,7 +167,7 @@ function _superPropBase(object, property) {
|
|
|
159
167
|
return object;
|
|
160
168
|
}
|
|
161
169
|
|
|
162
|
-
function _get(
|
|
170
|
+
function _get() {
|
|
163
171
|
if (typeof Reflect !== "undefined" && Reflect.get) {
|
|
164
172
|
_get = Reflect.get;
|
|
165
173
|
} else {
|
|
@@ -170,14 +178,14 @@ function _get(target, property, receiver) {
|
|
|
170
178
|
var desc = Object.getOwnPropertyDescriptor(base, property);
|
|
171
179
|
|
|
172
180
|
if (desc.get) {
|
|
173
|
-
return desc.get.call(receiver);
|
|
181
|
+
return desc.get.call(arguments.length < 3 ? target : receiver);
|
|
174
182
|
}
|
|
175
183
|
|
|
176
184
|
return desc.value;
|
|
177
185
|
};
|
|
178
186
|
}
|
|
179
187
|
|
|
180
|
-
return _get(
|
|
188
|
+
return _get.apply(this, arguments);
|
|
181
189
|
}
|
|
182
190
|
|
|
183
191
|
let HttpClient = /*#__PURE__*/function () {
|
|
@@ -318,7 +326,7 @@ let Service = /*#__PURE__*/_createClass(function Service(http) {
|
|
|
318
326
|
|
|
319
327
|
/**
|
|
320
328
|
* @title Spatial Processing Core API
|
|
321
|
-
* @version
|
|
329
|
+
* @version v1.0.0
|
|
322
330
|
* @baseUrl /sp
|
|
323
331
|
*/
|
|
324
332
|
|
|
@@ -370,7 +378,7 @@ let BulkOperations = /*#__PURE__*/function (_BulkOperationsServic) {
|
|
|
370
378
|
|
|
371
379
|
/**
|
|
372
380
|
* @title Spatial Processing Core API
|
|
373
|
-
* @version
|
|
381
|
+
* @version v1.0.0
|
|
374
382
|
* @baseUrl /sp
|
|
375
383
|
*/
|
|
376
384
|
|
|
@@ -522,7 +530,7 @@ let Security = /*#__PURE__*/function (_SecurityService) {
|
|
|
522
530
|
|
|
523
531
|
/**
|
|
524
532
|
* @title Spatial Processing Core API
|
|
525
|
-
* @version
|
|
533
|
+
* @version v1.0.0
|
|
526
534
|
* @baseUrl /sp
|
|
527
535
|
*/
|
|
528
536
|
|
|
@@ -585,6 +593,22 @@ let StaticContentService = /*#__PURE__*/function (_Service) {
|
|
|
585
593
|
value: function deleteFile(query) {
|
|
586
594
|
return this.http.delete("/upload/file", null, query).then(() => {});
|
|
587
595
|
}
|
|
596
|
+
/**
|
|
597
|
+
* No description
|
|
598
|
+
*
|
|
599
|
+
* @tags StaticContentService
|
|
600
|
+
* @name GetFileInfo
|
|
601
|
+
* @operationId StaticContentServiceController_GetFileInfo
|
|
602
|
+
* @summary Returns a file info download by url.
|
|
603
|
+
* @request GET:/upload/fileInfo
|
|
604
|
+
* @response `200` Success
|
|
605
|
+
*/
|
|
606
|
+
|
|
607
|
+
}, {
|
|
608
|
+
key: "getFileInfo",
|
|
609
|
+
value: function getFileInfo(query) {
|
|
610
|
+
return this.http.get("/upload/fileInfo", query).json();
|
|
611
|
+
}
|
|
588
612
|
}]);
|
|
589
613
|
|
|
590
614
|
return StaticContentService;
|
|
@@ -616,7 +640,7 @@ let FileUpload = /*#__PURE__*/function (_StaticContentService) {
|
|
|
616
640
|
|
|
617
641
|
/**
|
|
618
642
|
* @title Spatial Processing Core API
|
|
619
|
-
* @version
|
|
643
|
+
* @version v1.0.0
|
|
620
644
|
* @baseUrl /sp
|
|
621
645
|
*/
|
|
622
646
|
|
|
@@ -732,7 +756,7 @@ let Import = /*#__PURE__*/function (_ImportService) {
|
|
|
732
756
|
|
|
733
757
|
/**
|
|
734
758
|
* @title Spatial Processing Core API
|
|
735
|
-
* @version
|
|
759
|
+
* @version v1.0.0
|
|
736
760
|
* @baseUrl /sp
|
|
737
761
|
*/
|
|
738
762
|
|
|
@@ -869,8 +893,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
|
|
|
869
893
|
|| event.code === 4002
|
|
870
894
|
/* InvalidSession */
|
|
871
895
|
) {
|
|
872
|
-
|
|
873
|
-
|
|
896
|
+
_this.connectStatus = exports.ConnectionStatus.SessionClosed;
|
|
897
|
+
} else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
|
|
874
898
|
_this.connectStatus = exports.ConnectionStatus.Break;
|
|
875
899
|
_this.reconnectTries++;
|
|
876
900
|
|
|
@@ -988,7 +1012,7 @@ let NotificationEvent = /*#__PURE__*/_createClass(function NotificationEvent(dat
|
|
|
988
1012
|
|
|
989
1013
|
/**
|
|
990
1014
|
* @title Spatial Processing Core API
|
|
991
|
-
* @version
|
|
1015
|
+
* @version v1.0.0
|
|
992
1016
|
* @baseUrl /sp
|
|
993
1017
|
*/
|
|
994
1018
|
|
|
@@ -1376,7 +1400,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
|
|
|
1376
1400
|
const taskProgress = await this.getTaskProgress(id);
|
|
1377
1401
|
this.resolveTaskStatus(taskProgress, resolve, reject);
|
|
1378
1402
|
|
|
1379
|
-
const taskResultCallback = async
|
|
1403
|
+
const taskResultCallback = async _ref => {
|
|
1380
1404
|
let {
|
|
1381
1405
|
data
|
|
1382
1406
|
} = _ref;
|
|
@@ -1440,7 +1464,7 @@ const _excluded = ["name"],
|
|
|
1440
1464
|
_excluded19 = ["layerName"];
|
|
1441
1465
|
/**
|
|
1442
1466
|
* @title Spatial Processing Core API
|
|
1443
|
-
* @version
|
|
1467
|
+
* @version v1.0.0
|
|
1444
1468
|
* @baseUrl /sp
|
|
1445
1469
|
*/
|
|
1446
1470
|
|
|
@@ -1535,6 +1559,22 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1535
1559
|
value: function deleteResource(name) {
|
|
1536
1560
|
return this.http.delete("/layers/" + name, null).then(() => {});
|
|
1537
1561
|
}
|
|
1562
|
+
/**
|
|
1563
|
+
* No description
|
|
1564
|
+
*
|
|
1565
|
+
* @tags Layers
|
|
1566
|
+
* @name GetLayersInfo
|
|
1567
|
+
* @operationId LayersController_GetLayersInfoAsync
|
|
1568
|
+
* @summary Returns the layers information.
|
|
1569
|
+
* @request GET:/layers/batchInfo
|
|
1570
|
+
* @response `200` Success
|
|
1571
|
+
*/
|
|
1572
|
+
|
|
1573
|
+
}, {
|
|
1574
|
+
key: "getLayersInfo",
|
|
1575
|
+
value: function getLayersInfo(query) {
|
|
1576
|
+
return this.http.get("/layers/batchInfo", query).json();
|
|
1577
|
+
}
|
|
1538
1578
|
/**
|
|
1539
1579
|
* No description
|
|
1540
1580
|
*
|
|
@@ -1661,6 +1701,24 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1661
1701
|
type: 'PostgresTileLayerService'
|
|
1662
1702
|
}).json();
|
|
1663
1703
|
}
|
|
1704
|
+
/**
|
|
1705
|
+
* No description
|
|
1706
|
+
*
|
|
1707
|
+
* @tags Layers
|
|
1708
|
+
* @name PublishStyledLayerService
|
|
1709
|
+
* @operationId LayersController_PublishStyledLayerService
|
|
1710
|
+
* @summary Creates new Styled Layer Service.
|
|
1711
|
+
* @request POST:/layers#type=StyledFeatureLayer
|
|
1712
|
+
* @response `default` Error
|
|
1713
|
+
*/
|
|
1714
|
+
|
|
1715
|
+
}, {
|
|
1716
|
+
key: "publishStyledLayerService",
|
|
1717
|
+
value: function publishStyledLayerService(data) {
|
|
1718
|
+
return this.http.post("/layers", data, {
|
|
1719
|
+
type: 'StyledFeatureLayer'
|
|
1720
|
+
}).json();
|
|
1721
|
+
}
|
|
1664
1722
|
/**
|
|
1665
1723
|
* No description
|
|
1666
1724
|
*
|
|
@@ -1697,24 +1755,6 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
1697
1755
|
type: 'PostgresTileLayerService'
|
|
1698
1756
|
}).json();
|
|
1699
1757
|
}
|
|
1700
|
-
/**
|
|
1701
|
-
* No description
|
|
1702
|
-
*
|
|
1703
|
-
* @tags Layers
|
|
1704
|
-
* @name PublishStyledLayerService
|
|
1705
|
-
* @operationId LayersController_PublishStyledLayerService
|
|
1706
|
-
* @summary Creates new Styled Layer Service.
|
|
1707
|
-
* @request POST:/layers#type=StyledFeatureLayer
|
|
1708
|
-
* @response `default` Error
|
|
1709
|
-
*/
|
|
1710
|
-
|
|
1711
|
-
}, {
|
|
1712
|
-
key: "publishStyledLayerService",
|
|
1713
|
-
value: function publishStyledLayerService(data) {
|
|
1714
|
-
return this.http.post("/layers", data, {
|
|
1715
|
-
type: 'StyledFeatureLayer'
|
|
1716
|
-
}).json();
|
|
1717
|
-
}
|
|
1718
1758
|
/**
|
|
1719
1759
|
* No description
|
|
1720
1760
|
*
|
|
@@ -2564,7 +2604,7 @@ const _excluded$2 = ["name"],
|
|
|
2564
2604
|
_excluded4$1 = ["name"];
|
|
2565
2605
|
/**
|
|
2566
2606
|
* @title Spatial Processing Core API
|
|
2567
|
-
* @version
|
|
2607
|
+
* @version v1.0.0
|
|
2568
2608
|
* @baseUrl /sp
|
|
2569
2609
|
*/
|
|
2570
2610
|
|
|
@@ -2691,6 +2731,22 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
2691
2731
|
value: function deleteResource(name) {
|
|
2692
2732
|
return this.http.delete("/tables/" + name, null).then(() => {});
|
|
2693
2733
|
}
|
|
2734
|
+
/**
|
|
2735
|
+
* No description
|
|
2736
|
+
*
|
|
2737
|
+
* @tags Tables
|
|
2738
|
+
* @name GetTablesInfo
|
|
2739
|
+
* @operationId TablesController_GetTablesInfoAsync
|
|
2740
|
+
* @summary Returns the tables information.
|
|
2741
|
+
* @request GET:/tables/batchInfo
|
|
2742
|
+
* @response `200` Success
|
|
2743
|
+
*/
|
|
2744
|
+
|
|
2745
|
+
}, {
|
|
2746
|
+
key: "getTablesInfo",
|
|
2747
|
+
value: function getTablesInfo(query) {
|
|
2748
|
+
return this.http.get("/tables/batchInfo", query).json();
|
|
2749
|
+
}
|
|
2694
2750
|
/**
|
|
2695
2751
|
* No description
|
|
2696
2752
|
*
|
|
@@ -2798,52 +2854,14 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
2798
2854
|
* @name MapTable
|
|
2799
2855
|
* @operationId TablesController_MapTable
|
|
2800
2856
|
* @summary Map table to exists table.
|
|
2801
|
-
* @request POST:/tables/map-table
|
|
2857
|
+
* @request POST:/tables/map-table
|
|
2802
2858
|
* @response `200` Success
|
|
2803
2859
|
*/
|
|
2804
2860
|
|
|
2805
2861
|
}, {
|
|
2806
2862
|
key: "mapTable",
|
|
2807
2863
|
value: function mapTable(query, data) {
|
|
2808
|
-
return this.http.post("/tables/map-table", data,
|
|
2809
|
-
type: 'Table'
|
|
2810
|
-
}, query)).json();
|
|
2811
|
-
}
|
|
2812
|
-
/**
|
|
2813
|
-
* No description
|
|
2814
|
-
*
|
|
2815
|
-
* @tags Tables
|
|
2816
|
-
* @name MapView
|
|
2817
|
-
* @operationId TablesController_MapView
|
|
2818
|
-
* @summary Maps table to view data source.
|
|
2819
|
-
* @request POST:/tables/map-table#type=MaterializedView
|
|
2820
|
-
* @response `200` Success
|
|
2821
|
-
*/
|
|
2822
|
-
|
|
2823
|
-
}, {
|
|
2824
|
-
key: "mapView",
|
|
2825
|
-
value: function mapView(query, data) {
|
|
2826
|
-
return this.http.post("/tables/map-table", data, _extends({
|
|
2827
|
-
type: 'MaterializedView'
|
|
2828
|
-
}, query)).json();
|
|
2829
|
-
}
|
|
2830
|
-
/**
|
|
2831
|
-
* No description
|
|
2832
|
-
*
|
|
2833
|
-
* @tags Tables
|
|
2834
|
-
* @name MapRemoteTable
|
|
2835
|
-
* @operationId TablesController_MapRemoteTable
|
|
2836
|
-
* @summary Maps table to remote table data source.
|
|
2837
|
-
* @request POST:/tables/map-table#type=RemoteTable
|
|
2838
|
-
* @response `200` Success
|
|
2839
|
-
*/
|
|
2840
|
-
|
|
2841
|
-
}, {
|
|
2842
|
-
key: "mapRemoteTable",
|
|
2843
|
-
value: function mapRemoteTable(query, data) {
|
|
2844
|
-
return this.http.post("/tables/map-table", data, _extends({
|
|
2845
|
-
type: 'RemoteTable'
|
|
2846
|
-
}, query)).json();
|
|
2864
|
+
return this.http.post("/tables/map-table", data, query).json();
|
|
2847
2865
|
}
|
|
2848
2866
|
/**
|
|
2849
2867
|
* No description
|
|
@@ -3066,7 +3084,7 @@ let Tables = /*#__PURE__*/function (_TablesService) {
|
|
|
3066
3084
|
|
|
3067
3085
|
/**
|
|
3068
3086
|
* @title Spatial Processing Core API
|
|
3069
|
-
* @version
|
|
3087
|
+
* @version v1.0.0
|
|
3070
3088
|
* @baseUrl /sp
|
|
3071
3089
|
*/
|
|
3072
3090
|
|
|
@@ -3193,6 +3211,22 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
|
|
|
3193
3211
|
value: function deleteResource(name) {
|
|
3194
3212
|
return this.http.delete("/projects/" + name, null).then(() => {});
|
|
3195
3213
|
}
|
|
3214
|
+
/**
|
|
3215
|
+
* No description
|
|
3216
|
+
*
|
|
3217
|
+
* @tags Projects
|
|
3218
|
+
* @name GetProjectsInfo
|
|
3219
|
+
* @operationId ProjectsController_GetProjectsInfoAsync
|
|
3220
|
+
* @summary Returns the projects information.
|
|
3221
|
+
* @request GET:/projects/batchInfo
|
|
3222
|
+
* @response `200` Success
|
|
3223
|
+
*/
|
|
3224
|
+
|
|
3225
|
+
}, {
|
|
3226
|
+
key: "getProjectsInfo",
|
|
3227
|
+
value: function getProjectsInfo(query) {
|
|
3228
|
+
return this.http.get("/projects/batchInfo", query).json();
|
|
3229
|
+
}
|
|
3196
3230
|
/**
|
|
3197
3231
|
* No description
|
|
3198
3232
|
*
|
|
@@ -3506,12 +3540,12 @@ let Resources = /*#__PURE__*/function () {
|
|
|
3506
3540
|
}, {
|
|
3507
3541
|
key: "getDependentNames",
|
|
3508
3542
|
value: function getDependentNames(deps, depType) {
|
|
3509
|
-
return deps.filter(
|
|
3543
|
+
return deps.filter(_ref => {
|
|
3510
3544
|
let {
|
|
3511
3545
|
type
|
|
3512
3546
|
} = _ref;
|
|
3513
3547
|
return type === depType;
|
|
3514
|
-
}).map(
|
|
3548
|
+
}).map(_ref2 => {
|
|
3515
3549
|
let {
|
|
3516
3550
|
name
|
|
3517
3551
|
} = _ref2;
|
|
@@ -3525,7 +3559,7 @@ let Resources = /*#__PURE__*/function () {
|
|
|
3525
3559
|
|
|
3526
3560
|
/**
|
|
3527
3561
|
* @title Spatial Processing Core API
|
|
3528
|
-
* @version
|
|
3562
|
+
* @version v1.0.0
|
|
3529
3563
|
* @baseUrl /sp
|
|
3530
3564
|
*/
|
|
3531
3565
|
|
|
@@ -3660,7 +3694,7 @@ const _excluded$3 = ["providerName"],
|
|
|
3660
3694
|
_excluded3$2 = ["providerName"];
|
|
3661
3695
|
/**
|
|
3662
3696
|
* @title Spatial Processing Core API
|
|
3663
|
-
* @version
|
|
3697
|
+
* @version v1.0.0
|
|
3664
3698
|
* @baseUrl /sp
|
|
3665
3699
|
*/
|
|
3666
3700
|
|
|
@@ -3776,7 +3810,7 @@ let Geocode = /*#__PURE__*/function (_GeocodeService) {
|
|
|
3776
3810
|
|
|
3777
3811
|
/**
|
|
3778
3812
|
* @title Spatial Processing Core API
|
|
3779
|
-
* @version
|
|
3813
|
+
* @version v1.0.0
|
|
3780
3814
|
* @baseUrl /sp
|
|
3781
3815
|
*/
|
|
3782
3816
|
|
|
@@ -3844,7 +3878,7 @@ let ResourceCatalog = /*#__PURE__*/function (_ResourceCatalogServi) {
|
|
|
3844
3878
|
|
|
3845
3879
|
/**
|
|
3846
3880
|
* @title Spatial Processing Core API
|
|
3847
|
-
* @version
|
|
3881
|
+
* @version v1.0.0
|
|
3848
3882
|
* @baseUrl /sp
|
|
3849
3883
|
*/
|
|
3850
3884
|
|
|
@@ -3878,7 +3912,7 @@ let Tools = /*#__PURE__*/function (_ToolsService) {
|
|
|
3878
3912
|
|
|
3879
3913
|
/**
|
|
3880
3914
|
* @title Spatial Processing Core API
|
|
3881
|
-
* @version
|
|
3915
|
+
* @version v1.0.0
|
|
3882
3916
|
* @baseUrl /sp
|
|
3883
3917
|
*/
|
|
3884
3918
|
|
|
@@ -3978,7 +4012,7 @@ let General = /*#__PURE__*/function (_GeneralService) {
|
|
|
3978
4012
|
|
|
3979
4013
|
/**
|
|
3980
4014
|
* @title Spatial Processing Core API
|
|
3981
|
-
* @version
|
|
4015
|
+
* @version v1.0.0
|
|
3982
4016
|
* @baseUrl /sp
|
|
3983
4017
|
*/
|
|
3984
4018
|
|
|
@@ -4078,7 +4112,7 @@ let Namespace = /*#__PURE__*/function (_NamespaceService) {
|
|
|
4078
4112
|
|
|
4079
4113
|
/**
|
|
4080
4114
|
* @title Spatial Processing Core API
|
|
4081
|
-
* @version
|
|
4115
|
+
* @version v1.0.0
|
|
4082
4116
|
* @baseUrl /sp
|
|
4083
4117
|
*/
|
|
4084
4118
|
|
|
@@ -4493,6 +4527,22 @@ let AccountService = /*#__PURE__*/function (_Service) {
|
|
|
4493
4527
|
value: function revokeToken() {
|
|
4494
4528
|
return this.http.delete("/account/revoke-token", null).then(() => {});
|
|
4495
4529
|
}
|
|
4530
|
+
/**
|
|
4531
|
+
* No description
|
|
4532
|
+
*
|
|
4533
|
+
* @tags Account
|
|
4534
|
+
* @name LdapLogin
|
|
4535
|
+
* @operationId AccountController_LdapLogin
|
|
4536
|
+
* @summary The external login callback.
|
|
4537
|
+
* @request POST:/account/external/login/ldap
|
|
4538
|
+
* @response `200` Success
|
|
4539
|
+
*/
|
|
4540
|
+
|
|
4541
|
+
}, {
|
|
4542
|
+
key: "ldapLogin",
|
|
4543
|
+
value: function ldapLogin(data) {
|
|
4544
|
+
return this.http.post("/account/external/login/ldap", data).then(() => {});
|
|
4545
|
+
}
|
|
4496
4546
|
/**
|
|
4497
4547
|
* No description
|
|
4498
4548
|
*
|
|
@@ -4734,9 +4784,10 @@ let Account = /*#__PURE__*/function (_AccountService) {
|
|
|
4734
4784
|
return Account;
|
|
4735
4785
|
}(AccountService);
|
|
4736
4786
|
|
|
4787
|
+
const _excluded$4 = ["username"];
|
|
4737
4788
|
/**
|
|
4738
4789
|
* @title Spatial Processing Core API
|
|
4739
|
-
* @version
|
|
4790
|
+
* @version v1.0.0
|
|
4740
4791
|
* @baseUrl /sp
|
|
4741
4792
|
*/
|
|
4742
4793
|
|
|
@@ -4761,11 +4812,11 @@ let AccountPreviewService = /*#__PURE__*/function (_Service) {
|
|
|
4761
4812
|
* @name GetPreview
|
|
4762
4813
|
* @operationId AccountPreviewController_GetPreview
|
|
4763
4814
|
* @summary Get user preview image.
|
|
4764
|
-
* @request GET:/account/user/{username}
|
|
4815
|
+
* @request GET:/account/user/preview/{username}
|
|
4765
4816
|
* @response `200` Success
|
|
4766
4817
|
*/
|
|
4767
4818
|
function getPreview(username) {
|
|
4768
|
-
return this.http.createUrl("/account/user/" + username
|
|
4819
|
+
return this.http.createUrl("/account/user/preview/" + username);
|
|
4769
4820
|
}
|
|
4770
4821
|
/**
|
|
4771
4822
|
* No description
|
|
@@ -4774,14 +4825,19 @@ let AccountPreviewService = /*#__PURE__*/function (_Service) {
|
|
|
4774
4825
|
* @name UploadPreview
|
|
4775
4826
|
* @operationId AccountPreviewController_UploadPreview
|
|
4776
4827
|
* @summary Set user preview image by link.
|
|
4777
|
-
* @request POST:/account/user/{username}
|
|
4828
|
+
* @request POST:/account/user/preview/{username}
|
|
4778
4829
|
* @response `200` Success
|
|
4779
4830
|
*/
|
|
4780
4831
|
|
|
4781
4832
|
}, {
|
|
4782
4833
|
key: "uploadPreview",
|
|
4783
|
-
value: function uploadPreview(
|
|
4784
|
-
|
|
4834
|
+
value: function uploadPreview(_ref, data) {
|
|
4835
|
+
let {
|
|
4836
|
+
username
|
|
4837
|
+
} = _ref,
|
|
4838
|
+
query = _objectWithoutPropertiesLoose(_ref, _excluded$4);
|
|
4839
|
+
|
|
4840
|
+
return this.http.post("/account/user/preview/" + username, toFormData(data), query).json();
|
|
4785
4841
|
}
|
|
4786
4842
|
/**
|
|
4787
4843
|
* No description
|
|
@@ -4790,30 +4846,14 @@ let AccountPreviewService = /*#__PURE__*/function (_Service) {
|
|
|
4790
4846
|
* @name DeletePreview
|
|
4791
4847
|
* @operationId AccountPreviewController_DeletePreview
|
|
4792
4848
|
* @summary Delete user preview.
|
|
4793
|
-
* @request DELETE:/account/user/{username}
|
|
4849
|
+
* @request DELETE:/account/user/preview/{username}
|
|
4794
4850
|
* @response `200` Success
|
|
4795
4851
|
*/
|
|
4796
4852
|
|
|
4797
4853
|
}, {
|
|
4798
4854
|
key: "deletePreview",
|
|
4799
4855
|
value: function deletePreview(username) {
|
|
4800
|
-
return this.http.delete("/account/user/" + username
|
|
4801
|
-
}
|
|
4802
|
-
/**
|
|
4803
|
-
* No description
|
|
4804
|
-
*
|
|
4805
|
-
* @tags AccountPreview
|
|
4806
|
-
* @name GetPreview1
|
|
4807
|
-
* @operationId AccountPreviewController_GetPreview_1
|
|
4808
|
-
* @summary Get current user preview image.
|
|
4809
|
-
* @request GET:/account/user/preview
|
|
4810
|
-
* @response `200` Success
|
|
4811
|
-
*/
|
|
4812
|
-
|
|
4813
|
-
}, {
|
|
4814
|
-
key: "getPreview1",
|
|
4815
|
-
value: function getPreview1() {
|
|
4816
|
-
return this.http.createUrl("/account/user/preview");
|
|
4856
|
+
return this.http.delete("/account/user/preview/" + username, null).then(() => {});
|
|
4817
4857
|
}
|
|
4818
4858
|
}]);
|
|
4819
4859
|
|
|
@@ -4859,10 +4899,12 @@ let AccountPreview = /*#__PURE__*/function (_AccountPreviewServic) {
|
|
|
4859
4899
|
}
|
|
4860
4900
|
}, {
|
|
4861
4901
|
key: "updateCurrentUserPhoto",
|
|
4862
|
-
value: async function updateCurrentUserPhoto(file) {
|
|
4902
|
+
value: async function updateCurrentUserPhoto(file, payload) {
|
|
4863
4903
|
const {
|
|
4864
4904
|
fileId
|
|
4865
|
-
} = await this.uploadPreview(
|
|
4905
|
+
} = await this.uploadPreview(_extends({
|
|
4906
|
+
username: this.username
|
|
4907
|
+
}, payload), {
|
|
4866
4908
|
file
|
|
4867
4909
|
});
|
|
4868
4910
|
updateUserInfo({
|
|
@@ -4873,7 +4915,11 @@ let AccountPreview = /*#__PURE__*/function (_AccountPreviewServic) {
|
|
|
4873
4915
|
}, {
|
|
4874
4916
|
key: "fetchPreview1",
|
|
4875
4917
|
value: async function fetchPreview1() {
|
|
4876
|
-
|
|
4918
|
+
var _response$headers$get;
|
|
4919
|
+
|
|
4920
|
+
const url = this.getPreview("");
|
|
4921
|
+
const response = await fetch(url);
|
|
4922
|
+
const profile_photo = (_response$headers$get = response.headers.get('content-type')) != null && _response$headers$get.includes('text/plain') ? await response.text() : url + "?r=" + Math.random();
|
|
4877
4923
|
updateUserInfo({
|
|
4878
4924
|
profile_photo,
|
|
4879
4925
|
has_profile_photo: true
|
|
@@ -4895,7 +4941,7 @@ let AccountPreview = /*#__PURE__*/function (_AccountPreviewServic) {
|
|
|
4895
4941
|
|
|
4896
4942
|
/**
|
|
4897
4943
|
* @title Spatial Processing Core API
|
|
4898
|
-
* @version
|
|
4944
|
+
* @version v1.0.0
|
|
4899
4945
|
* @baseUrl /sp
|
|
4900
4946
|
*/
|
|
4901
4947
|
|
|
@@ -5160,7 +5206,7 @@ let External = /*#__PURE__*/function (_ExternalProvidersSer) {
|
|
|
5160
5206
|
|
|
5161
5207
|
/**
|
|
5162
5208
|
* @title Spatial Processing Core API
|
|
5163
|
-
* @version
|
|
5209
|
+
* @version v1.0.0
|
|
5164
5210
|
* @baseUrl /sp
|
|
5165
5211
|
*/
|
|
5166
5212
|
|
|
@@ -5483,7 +5529,7 @@ let Names = /*#__PURE__*/function () {
|
|
|
5483
5529
|
|
|
5484
5530
|
/**
|
|
5485
5531
|
* @title Spatial Processing Core API
|
|
5486
|
-
* @version
|
|
5532
|
+
* @version v1.0.0
|
|
5487
5533
|
* @baseUrl /sp
|
|
5488
5534
|
*/
|
|
5489
5535
|
|
|
@@ -5551,7 +5597,7 @@ let IceRouter = /*#__PURE__*/function (_IceRouterService) {
|
|
|
5551
5597
|
|
|
5552
5598
|
/**
|
|
5553
5599
|
* @title Spatial Processing Core API
|
|
5554
|
-
* @version
|
|
5600
|
+
* @version v1.0.0
|
|
5555
5601
|
* @baseUrl /sp
|
|
5556
5602
|
*/
|
|
5557
5603
|
|
|
@@ -5647,7 +5693,7 @@ let Statistic = /*#__PURE__*/function (_StatisticService) {
|
|
|
5647
5693
|
|
|
5648
5694
|
/**
|
|
5649
5695
|
* @title Spatial Processing Core API
|
|
5650
|
-
* @version
|
|
5696
|
+
* @version v1.0.0
|
|
5651
5697
|
* @baseUrl /sp
|
|
5652
5698
|
*/
|
|
5653
5699
|
|
|
@@ -5738,7 +5784,7 @@ let Feedback = /*#__PURE__*/function (_FeedbackService) {
|
|
|
5738
5784
|
|
|
5739
5785
|
/**
|
|
5740
5786
|
* @title Spatial Processing Core API
|
|
5741
|
-
* @version
|
|
5787
|
+
* @version v1.0.0
|
|
5742
5788
|
* @baseUrl /sp
|
|
5743
5789
|
*/
|
|
5744
5790
|
|
|
@@ -6434,6 +6480,7 @@ function isFeatureLayer(layer) {
|
|
|
6434
6480
|
ConfigurationErrorEnum["InvalidConfiguration"] = "InvalidConfiguration";
|
|
6435
6481
|
ConfigurationErrorEnum["InvalidDataServiceName"] = "InvalidDataServiceName";
|
|
6436
6482
|
ConfigurationErrorEnum["InvalidTableName"] = "InvalidTableName";
|
|
6483
|
+
ConfigurationErrorEnum["InvalidLayerName"] = "InvalidLayerName";
|
|
6437
6484
|
ConfigurationErrorEnum["ResourceNotFound"] = "ResourceNotFound";
|
|
6438
6485
|
ConfigurationErrorEnum["InvalidCondition"] = "InvalidCondition";
|
|
6439
6486
|
ConfigurationErrorEnum["InvalidAttributes"] = "InvalidAttributes";
|
|
@@ -6449,6 +6496,7 @@ function isFeatureLayer(layer) {
|
|
|
6449
6496
|
ConfigurationErrorEnum["InvalidAttributeFormat"] = "InvalidAttributeFormat";
|
|
6450
6497
|
ConfigurationErrorEnum["DataSourceNotFound"] = "DataSourceNotFound";
|
|
6451
6498
|
ConfigurationErrorEnum["DuplicateColumns"] = "DuplicateColumns";
|
|
6499
|
+
ConfigurationErrorEnum["TableWithoutColumns"] = "TableWithoutColumns";
|
|
6452
6500
|
})(exports.ConfigurationErrorEnum || (exports.ConfigurationErrorEnum = {}));
|
|
6453
6501
|
|
|
6454
6502
|
(function (ErrorDetailsType) {
|
|
@@ -6573,6 +6621,7 @@ function isFeatureLayer(layer) {
|
|
|
6573
6621
|
PolicyType["CreateProject"] = "CreateProject";
|
|
6574
6622
|
PolicyType["MaxFeaturesInOneTable"] = "MaxFeaturesInOneTable";
|
|
6575
6623
|
PolicyType["MaxObjectsToExport"] = "MaxObjectsToExport";
|
|
6624
|
+
PolicyType["MaxUploadContentSize"] = "MaxUploadContentSize";
|
|
6576
6625
|
})(exports.PolicyType || (exports.PolicyType = {}));
|
|
6577
6626
|
|
|
6578
6627
|
(function (ResourceType) {
|