@evergis/api 4.0.3 → 4.0.5
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/dist/Api.d.ts +1 -4
- package/dist/__generated__/EqlService.d.ts +12 -1
- package/dist/__generated__/GeneralService.d.ts +1 -12
- package/dist/__generated__/LayersService.d.ts +47 -124
- package/dist/__generated__/ProjectsService.d.ts +11 -77
- package/dist/__generated__/PythonService.d.ts +2 -46
- package/dist/__generated__/QueryTokenAccessService.d.ts +11 -4
- package/dist/__generated__/RemoteTaskManagerService.d.ts +56 -1
- package/dist/__generated__/SecurityService.d.ts +12 -1
- package/dist/__generated__/StatisticService.d.ts +2 -2
- package/dist/__generated__/TablesService.d.ts +2 -90
- package/dist/__generated__/WmsServerService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +391 -618
- package/dist/api.cjs.development.js +303 -768
- 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 +328 -784
- package/dist/api.esm.js.map +1 -1
- package/dist/services/FileUpload.d.ts +3 -3
- package/dist/services/Layers.d.ts +3 -5
- package/dist/services/Projects.d.ts +1 -2
- package/dist/services/Tables.d.ts +1 -2
- package/dist/services/index.d.ts +0 -1
- package/package.json +2 -2
- package/dist/__generated__/NamespaceService.d.ts +0 -53
- package/dist/__generated__/NavigationService.d.ts +0 -20
- package/dist/__generated__/S3Service.d.ts +0 -86
- package/dist/__generated__/StaticContentService.d.ts +0 -53
- package/dist/__generated__/TagsService.d.ts +0 -31
- package/dist/__generated__/UniversalSearchService.d.ts +0 -31
- package/dist/services/Namespace.d.ts +0 -3
|
@@ -555,6 +555,7 @@ let DataSourceService = /*#__PURE__*/function (_Service) {
|
|
|
555
555
|
return DataSourceService;
|
|
556
556
|
}(Service);
|
|
557
557
|
|
|
558
|
+
const _excluded = ["username"];
|
|
558
559
|
/**
|
|
559
560
|
* @title Spatial Processing Core API
|
|
560
561
|
* @version 1.5.1.0
|
|
@@ -573,19 +574,38 @@ let QueryTokenAccessService = /*#__PURE__*/function (_Service) {
|
|
|
573
574
|
}
|
|
574
575
|
|
|
575
576
|
_createClass(QueryTokenAccessService, [{
|
|
576
|
-
key: "
|
|
577
|
+
key: "getTokensList",
|
|
577
578
|
value:
|
|
579
|
+
/**
|
|
580
|
+
* No description
|
|
581
|
+
*
|
|
582
|
+
* @tags QueryTokenAccess
|
|
583
|
+
* @name GetTokensList
|
|
584
|
+
* @operationId QueryTokenAccessController_GetTokensList
|
|
585
|
+
* @request GET:/accessToken/list/{username}
|
|
586
|
+
* @response `200` OK
|
|
587
|
+
*/
|
|
588
|
+
function getTokensList(_ref) {
|
|
589
|
+
let {
|
|
590
|
+
username
|
|
591
|
+
} = _ref,
|
|
592
|
+
query = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
593
|
+
|
|
594
|
+
return this.http.get("/accessToken/list/" + username, query).json();
|
|
595
|
+
}
|
|
578
596
|
/**
|
|
579
597
|
* No description
|
|
580
598
|
*
|
|
581
599
|
* @tags QueryTokenAccess
|
|
582
600
|
* @name CreateToken
|
|
583
601
|
* @operationId QueryTokenAccessController_CreateTokenAsync
|
|
584
|
-
* @summary Create new query access token.
|
|
585
602
|
* @request PUT:/accessToken/{username}
|
|
586
603
|
* @response `200` OK
|
|
587
604
|
*/
|
|
588
|
-
|
|
605
|
+
|
|
606
|
+
}, {
|
|
607
|
+
key: "createToken",
|
|
608
|
+
value: function createToken(username) {
|
|
589
609
|
return this.http.put("/accessToken/" + username, null).text();
|
|
590
610
|
}
|
|
591
611
|
/**
|
|
@@ -594,7 +614,6 @@ let QueryTokenAccessService = /*#__PURE__*/function (_Service) {
|
|
|
594
614
|
* @tags QueryTokenAccess
|
|
595
615
|
* @name DisableToken
|
|
596
616
|
* @operationId QueryTokenAccessController_DisableToken
|
|
597
|
-
* @summary Disable token.
|
|
598
617
|
* @request POST:/accessToken/{token}/disable
|
|
599
618
|
* @response `200` OK
|
|
600
619
|
*/
|
|
@@ -610,7 +629,6 @@ let QueryTokenAccessService = /*#__PURE__*/function (_Service) {
|
|
|
610
629
|
* @tags QueryTokenAccess
|
|
611
630
|
* @name EnableToken
|
|
612
631
|
* @operationId QueryTokenAccessController_EnableToken
|
|
613
|
-
* @summary Enable token.
|
|
614
632
|
* @request POST:/accessToken/{token}/enable
|
|
615
633
|
* @response `200` OK
|
|
616
634
|
*/
|
|
@@ -626,7 +644,6 @@ let QueryTokenAccessService = /*#__PURE__*/function (_Service) {
|
|
|
626
644
|
* @tags QueryTokenAccess
|
|
627
645
|
* @name RevokeToken
|
|
628
646
|
* @operationId QueryTokenAccessController_RevokeToken
|
|
629
|
-
* @summary Revoke token.
|
|
630
647
|
* @request DELETE:/accessToken/{token}
|
|
631
648
|
* @response `200` OK
|
|
632
649
|
*/
|
|
@@ -711,67 +728,6 @@ let SpatialReferencesService = /*#__PURE__*/function (_Service) {
|
|
|
711
728
|
return SpatialReferencesService;
|
|
712
729
|
}(Service);
|
|
713
730
|
|
|
714
|
-
const _excluded = ["taskId", "layerName"];
|
|
715
|
-
/**
|
|
716
|
-
* @title Spatial Processing Core API
|
|
717
|
-
* @version 1.5.1.0
|
|
718
|
-
* @baseUrl /sp
|
|
719
|
-
*/
|
|
720
|
-
|
|
721
|
-
let UniversalSearchService = /*#__PURE__*/function (_Service) {
|
|
722
|
-
_inherits(UniversalSearchService, _Service);
|
|
723
|
-
|
|
724
|
-
var _super = /*#__PURE__*/_createSuper(UniversalSearchService);
|
|
725
|
-
|
|
726
|
-
function UniversalSearchService() {
|
|
727
|
-
_classCallCheck(this, UniversalSearchService);
|
|
728
|
-
|
|
729
|
-
return _super.apply(this, arguments);
|
|
730
|
-
}
|
|
731
|
-
|
|
732
|
-
_createClass(UniversalSearchService, [{
|
|
733
|
-
key: "searchResultDcGetSearchResult",
|
|
734
|
-
value:
|
|
735
|
-
/**
|
|
736
|
-
* No description
|
|
737
|
-
*
|
|
738
|
-
* @tags UniversalSearch
|
|
739
|
-
* @name SearchResultDcGetSearchResult
|
|
740
|
-
* @operationId UniversalSearchController_SearchResultDcGetSearchResult
|
|
741
|
-
* @summary Returns search result.
|
|
742
|
-
* @request GET:/search/{taskId}/{layerName}
|
|
743
|
-
* @response `200` OK
|
|
744
|
-
*/
|
|
745
|
-
function searchResultDcGetSearchResult(_ref) {
|
|
746
|
-
let {
|
|
747
|
-
taskId,
|
|
748
|
-
layerName
|
|
749
|
-
} = _ref,
|
|
750
|
-
query = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
751
|
-
|
|
752
|
-
return this.http.get("/search/" + taskId + "/" + layerName, query).json();
|
|
753
|
-
}
|
|
754
|
-
/**
|
|
755
|
-
* No description
|
|
756
|
-
*
|
|
757
|
-
* @tags UniversalSearch
|
|
758
|
-
* @name GetSearchResult
|
|
759
|
-
* @operationId UniversalSearchController_GetSearchResult
|
|
760
|
-
* @summary Returns search result.
|
|
761
|
-
* @request GET:/search/{taskId}
|
|
762
|
-
* @response `200` OK
|
|
763
|
-
*/
|
|
764
|
-
|
|
765
|
-
}, {
|
|
766
|
-
key: "getSearchResult",
|
|
767
|
-
value: function getSearchResult(taskId) {
|
|
768
|
-
return this.http.get("/search/" + taskId).json();
|
|
769
|
-
}
|
|
770
|
-
}]);
|
|
771
|
-
|
|
772
|
-
return UniversalSearchService;
|
|
773
|
-
}(Service);
|
|
774
|
-
|
|
775
731
|
/**
|
|
776
732
|
* @title Spatial Processing Core API
|
|
777
733
|
* @version 1.5.1.0
|
|
@@ -2258,8 +2214,21 @@ let EqlService = /*#__PURE__*/function (_Service) {
|
|
|
2258
2214
|
}
|
|
2259
2215
|
|
|
2260
2216
|
_createClass(EqlService, [{
|
|
2261
|
-
key: "
|
|
2217
|
+
key: "getFunctionsList",
|
|
2262
2218
|
value:
|
|
2219
|
+
/**
|
|
2220
|
+
* No description
|
|
2221
|
+
*
|
|
2222
|
+
* @tags Eql
|
|
2223
|
+
* @name GetFunctionsList
|
|
2224
|
+
* @operationId EqlController_GetFunctionsList
|
|
2225
|
+
* @summary Returns list of available functions.
|
|
2226
|
+
* @request GET:/eql/functions
|
|
2227
|
+
* @response `200` OK
|
|
2228
|
+
*/
|
|
2229
|
+
function getFunctionsList() {
|
|
2230
|
+
return this.http.get("/eql/functions").json();
|
|
2231
|
+
}
|
|
2263
2232
|
/**
|
|
2264
2233
|
* No description
|
|
2265
2234
|
*
|
|
@@ -2270,7 +2239,10 @@ let EqlService = /*#__PURE__*/function (_Service) {
|
|
|
2270
2239
|
* @request POST:/eql/query
|
|
2271
2240
|
* @response `200` OK
|
|
2272
2241
|
*/
|
|
2273
|
-
|
|
2242
|
+
|
|
2243
|
+
}, {
|
|
2244
|
+
key: "getQueryResult",
|
|
2245
|
+
value: function getQueryResult(data) {
|
|
2274
2246
|
return this.http.post("/eql/query", data).json();
|
|
2275
2247
|
}
|
|
2276
2248
|
/**
|
|
@@ -2760,94 +2732,8 @@ let Feedback = /*#__PURE__*/function (_FeedbackService) {
|
|
|
2760
2732
|
return Feedback;
|
|
2761
2733
|
}(FeedbackService);
|
|
2762
2734
|
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
* @version 1.5.1.0
|
|
2766
|
-
* @baseUrl /sp
|
|
2767
|
-
*/
|
|
2768
|
-
|
|
2769
|
-
let StaticContentService = /*#__PURE__*/function (_Service) {
|
|
2770
|
-
_inherits(StaticContentService, _Service);
|
|
2771
|
-
|
|
2772
|
-
var _super = /*#__PURE__*/_createSuper(StaticContentService);
|
|
2773
|
-
|
|
2774
|
-
function StaticContentService() {
|
|
2775
|
-
_classCallCheck(this, StaticContentService);
|
|
2776
|
-
|
|
2777
|
-
return _super.apply(this, arguments);
|
|
2778
|
-
}
|
|
2779
|
-
|
|
2780
|
-
_createClass(StaticContentService, [{
|
|
2781
|
-
key: "downloadFile",
|
|
2782
|
-
value:
|
|
2783
|
-
/**
|
|
2784
|
-
* No description
|
|
2785
|
-
*
|
|
2786
|
-
* @tags StaticContentService
|
|
2787
|
-
* @name DownloadFile
|
|
2788
|
-
* @operationId StaticContentServiceController_DownloadFile
|
|
2789
|
-
* @summary Returns a file stream by fileId.
|
|
2790
|
-
* @request GET:/upload/file
|
|
2791
|
-
* @response `200` OK
|
|
2792
|
-
*/
|
|
2793
|
-
function downloadFile(query) {
|
|
2794
|
-
return this.http.get("/upload/file", query).blob();
|
|
2795
|
-
}
|
|
2796
|
-
/**
|
|
2797
|
-
* No description
|
|
2798
|
-
*
|
|
2799
|
-
* @tags StaticContentService
|
|
2800
|
-
* @name UploadFile
|
|
2801
|
-
* @operationId StaticContentServiceController_UploadFile
|
|
2802
|
-
* @summary Upload file to temporary session storage.
|
|
2803
|
-
* @request POST:/upload/file
|
|
2804
|
-
* @response `200` OK
|
|
2805
|
-
*/
|
|
2806
|
-
|
|
2807
|
-
}, {
|
|
2808
|
-
key: "uploadFile",
|
|
2809
|
-
value: function uploadFile(data) {
|
|
2810
|
-
return this.http.post("/upload/file", toFormData(data)).json();
|
|
2811
|
-
}
|
|
2812
|
-
/**
|
|
2813
|
-
* No description
|
|
2814
|
-
*
|
|
2815
|
-
* @tags StaticContentService
|
|
2816
|
-
* @name DeleteFile
|
|
2817
|
-
* @operationId StaticContentServiceController_DeleteFile
|
|
2818
|
-
* @summary Delete file from temporary session storage.
|
|
2819
|
-
* @request DELETE:/upload/file
|
|
2820
|
-
* @response `200` OK
|
|
2821
|
-
*/
|
|
2822
|
-
|
|
2823
|
-
}, {
|
|
2824
|
-
key: "deleteFile",
|
|
2825
|
-
value: function deleteFile(query) {
|
|
2826
|
-
return this.http.delete("/upload/file", null, query).then(() => {});
|
|
2827
|
-
}
|
|
2828
|
-
/**
|
|
2829
|
-
* No description
|
|
2830
|
-
*
|
|
2831
|
-
* @tags StaticContentService
|
|
2832
|
-
* @name GetFileInfo
|
|
2833
|
-
* @operationId StaticContentServiceController_GetFileInfo
|
|
2834
|
-
* @summary Returns a file info download by url.
|
|
2835
|
-
* @request GET:/upload/fileInfo
|
|
2836
|
-
* @response `200` OK
|
|
2837
|
-
*/
|
|
2838
|
-
|
|
2839
|
-
}, {
|
|
2840
|
-
key: "getFileInfo",
|
|
2841
|
-
value: function getFileInfo(query) {
|
|
2842
|
-
return this.http.get("/upload/fileInfo", query).json();
|
|
2843
|
-
}
|
|
2844
|
-
}]);
|
|
2845
|
-
|
|
2846
|
-
return StaticContentService;
|
|
2847
|
-
}(Service);
|
|
2848
|
-
|
|
2849
|
-
let FileUpload = /*#__PURE__*/function (_StaticContentService) {
|
|
2850
|
-
_inherits(FileUpload, _StaticContentService);
|
|
2735
|
+
let FileUpload = /*#__PURE__*/function (_CatalogService) {
|
|
2736
|
+
_inherits(FileUpload, _CatalogService);
|
|
2851
2737
|
|
|
2852
2738
|
var _super = /*#__PURE__*/_createSuper(FileUpload);
|
|
2853
2739
|
|
|
@@ -2860,7 +2746,7 @@ let FileUpload = /*#__PURE__*/function (_StaticContentService) {
|
|
|
2860
2746
|
_createClass(FileUpload, [{
|
|
2861
2747
|
key: "upload",
|
|
2862
2748
|
value: function upload(file, rewrite) {
|
|
2863
|
-
return this.
|
|
2749
|
+
return this.createFile({
|
|
2864
2750
|
file,
|
|
2865
2751
|
rewrite: !!rewrite
|
|
2866
2752
|
});
|
|
@@ -2868,7 +2754,7 @@ let FileUpload = /*#__PURE__*/function (_StaticContentService) {
|
|
|
2868
2754
|
}]);
|
|
2869
2755
|
|
|
2870
2756
|
return FileUpload;
|
|
2871
|
-
}(
|
|
2757
|
+
}(CatalogService);
|
|
2872
2758
|
|
|
2873
2759
|
/**
|
|
2874
2760
|
* @title Spatial Processing Core API
|
|
@@ -2987,22 +2873,6 @@ let GeneralService = /*#__PURE__*/function (_Service) {
|
|
|
2987
2873
|
function getServerInfo() {
|
|
2988
2874
|
return this.http.get("/").json();
|
|
2989
2875
|
}
|
|
2990
|
-
/**
|
|
2991
|
-
* No description
|
|
2992
|
-
*
|
|
2993
|
-
* @tags General
|
|
2994
|
-
* @name GetFunctionsList
|
|
2995
|
-
* @operationId GeneralController_GetFunctionsList
|
|
2996
|
-
* @summary Returns list of available functions.
|
|
2997
|
-
* @request GET:/functions
|
|
2998
|
-
* @response `200` OK
|
|
2999
|
-
*/
|
|
3000
|
-
|
|
3001
|
-
}, {
|
|
3002
|
-
key: "getFunctionsList",
|
|
3003
|
-
value: function getFunctionsList() {
|
|
3004
|
-
return this.http.get("/functions").json();
|
|
3005
|
-
}
|
|
3006
2876
|
}]);
|
|
3007
2877
|
|
|
3008
2878
|
return GeneralService;
|
|
@@ -3412,8 +3282,8 @@ const _excluded$3 = ["name"],
|
|
|
3412
3282
|
_excluded5$1 = ["name", "id"],
|
|
3413
3283
|
_excluded6$1 = ["name", "id"],
|
|
3414
3284
|
_excluded7 = ["name", "x", "y", "z"],
|
|
3415
|
-
_excluded8 = ["name"],
|
|
3416
|
-
_excluded9 = ["name"],
|
|
3285
|
+
_excluded8 = ["name", "x", "y", "z", "format"],
|
|
3286
|
+
_excluded9 = ["name", "x", "y", "z", "dpi", "format"],
|
|
3417
3287
|
_excluded10 = ["name"],
|
|
3418
3288
|
_excluded11 = ["name"],
|
|
3419
3289
|
_excluded12 = ["name"],
|
|
@@ -3423,8 +3293,10 @@ const _excluded$3 = ["name"],
|
|
|
3423
3293
|
_excluded16 = ["name"],
|
|
3424
3294
|
_excluded17 = ["name"],
|
|
3425
3295
|
_excluded18 = ["name"],
|
|
3426
|
-
_excluded19 = ["
|
|
3427
|
-
_excluded20 = ["name",
|
|
3296
|
+
_excluded19 = ["name"],
|
|
3297
|
+
_excluded20 = ["name"],
|
|
3298
|
+
_excluded21 = ["layerName"],
|
|
3299
|
+
_excluded22 = ["name", "id"];
|
|
3428
3300
|
/**
|
|
3429
3301
|
* @title Spatial Processing Core API
|
|
3430
3302
|
* @version 1.5.1.0
|
|
@@ -3490,22 +3362,6 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
3490
3362
|
value: function getLayersList(query) {
|
|
3491
3363
|
return this.http.get("/layers", query).json();
|
|
3492
3364
|
}
|
|
3493
|
-
/**
|
|
3494
|
-
* No description
|
|
3495
|
-
*
|
|
3496
|
-
* @tags Layers
|
|
3497
|
-
* @name SetPermissionsBatch
|
|
3498
|
-
* @operationId LayersController_SetPermissionsBatch
|
|
3499
|
-
* @summary Overrides multiply resources permissions in single batch.
|
|
3500
|
-
* @request PUT:/layers
|
|
3501
|
-
* @response `200` OK
|
|
3502
|
-
*/
|
|
3503
|
-
|
|
3504
|
-
}, {
|
|
3505
|
-
key: "setPermissionsBatch",
|
|
3506
|
-
value: function setPermissionsBatch(data) {
|
|
3507
|
-
return this.http.put("/layers", data).then(() => {});
|
|
3508
|
-
}
|
|
3509
3365
|
/**
|
|
3510
3366
|
* No description
|
|
3511
3367
|
*
|
|
@@ -3736,36 +3592,54 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
3736
3592
|
* No description
|
|
3737
3593
|
*
|
|
3738
3594
|
* @tags Layers
|
|
3739
|
-
* @name
|
|
3740
|
-
* @operationId
|
|
3741
|
-
* @summary
|
|
3742
|
-
* @request
|
|
3595
|
+
* @name UpdateMapboxService
|
|
3596
|
+
* @operationId LayersController_UpdateMapboxService
|
|
3597
|
+
* @summary Update mapbox service.
|
|
3598
|
+
* @request PATCH:/layers/{name}#type=Mapbox
|
|
3599
|
+
* @response `default` Error
|
|
3600
|
+
*/
|
|
3601
|
+
|
|
3602
|
+
}, {
|
|
3603
|
+
key: "updateMapboxService",
|
|
3604
|
+
value: function updateMapboxService(name, data) {
|
|
3605
|
+
return this.http.patch("/layers/" + name, data, {
|
|
3606
|
+
type: 'Mapbox'
|
|
3607
|
+
}).json();
|
|
3608
|
+
}
|
|
3609
|
+
/**
|
|
3610
|
+
* No description
|
|
3611
|
+
*
|
|
3612
|
+
* @tags Layers
|
|
3613
|
+
* @name PublishPythonService
|
|
3614
|
+
* @operationId LayersController_PublishPythonService
|
|
3615
|
+
* @summary Creates new python service.
|
|
3616
|
+
* @request POST:/layers#type=Python
|
|
3743
3617
|
* @response `default` Error
|
|
3744
3618
|
*/
|
|
3745
3619
|
|
|
3746
3620
|
}, {
|
|
3747
|
-
key: "
|
|
3748
|
-
value: function
|
|
3621
|
+
key: "publishPythonService",
|
|
3622
|
+
value: function publishPythonService(data) {
|
|
3749
3623
|
return this.http.post("/layers", data, {
|
|
3750
|
-
type: '
|
|
3624
|
+
type: 'Python'
|
|
3751
3625
|
}).json();
|
|
3752
3626
|
}
|
|
3753
3627
|
/**
|
|
3754
3628
|
* No description
|
|
3755
3629
|
*
|
|
3756
3630
|
* @tags Layers
|
|
3757
|
-
* @name
|
|
3758
|
-
* @operationId
|
|
3759
|
-
* @summary Update
|
|
3760
|
-
* @request PATCH:/layers/{name}#type=
|
|
3631
|
+
* @name UpdatePythonService
|
|
3632
|
+
* @operationId LayersController_UpdatePythonService
|
|
3633
|
+
* @summary Update python service.
|
|
3634
|
+
* @request PATCH:/layers/{name}#type=Python
|
|
3761
3635
|
* @response `default` Error
|
|
3762
3636
|
*/
|
|
3763
3637
|
|
|
3764
3638
|
}, {
|
|
3765
|
-
key: "
|
|
3766
|
-
value: function
|
|
3639
|
+
key: "updatePythonService",
|
|
3640
|
+
value: function updatePythonService(name, data) {
|
|
3767
3641
|
return this.http.patch("/layers/" + name, data, {
|
|
3768
|
-
type: '
|
|
3642
|
+
type: 'Python'
|
|
3769
3643
|
}).json();
|
|
3770
3644
|
}
|
|
3771
3645
|
/**
|
|
@@ -3804,24 +3678,6 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
3804
3678
|
type: 'PostgresTileLayerService'
|
|
3805
3679
|
}).json();
|
|
3806
3680
|
}
|
|
3807
|
-
/**
|
|
3808
|
-
* No description
|
|
3809
|
-
*
|
|
3810
|
-
* @tags Layers
|
|
3811
|
-
* @name PublishCompositeService
|
|
3812
|
-
* @operationId LayersController_PublishCompositeService
|
|
3813
|
-
* @summary Creates new Composite service SPCore.Security.Base.Impl.Services.Composite.CompositeService.
|
|
3814
|
-
* @request POST:/layers#type=CompositeService
|
|
3815
|
-
* @response `default` Error
|
|
3816
|
-
*/
|
|
3817
|
-
|
|
3818
|
-
}, {
|
|
3819
|
-
key: "publishCompositeService",
|
|
3820
|
-
value: function publishCompositeService(data) {
|
|
3821
|
-
return this.http.post("/layers", data, {
|
|
3822
|
-
type: 'CompositeService'
|
|
3823
|
-
}).json();
|
|
3824
|
-
}
|
|
3825
3681
|
/**
|
|
3826
3682
|
* No description
|
|
3827
3683
|
*
|
|
@@ -3894,24 +3750,6 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
3894
3750
|
type: 'QueryLayerService'
|
|
3895
3751
|
}).json();
|
|
3896
3752
|
}
|
|
3897
|
-
/**
|
|
3898
|
-
* No description
|
|
3899
|
-
*
|
|
3900
|
-
* @tags Layers
|
|
3901
|
-
* @name UpdateCompositeService
|
|
3902
|
-
* @operationId LayersController_UpdateCompositeService
|
|
3903
|
-
* @summary Update Composite service SPCore.Security.Base.Impl.Services.Composite.CompositeService.
|
|
3904
|
-
* @request PATCH:/layers/{name}#type=CompositeService
|
|
3905
|
-
* @response `default` Error
|
|
3906
|
-
*/
|
|
3907
|
-
|
|
3908
|
-
}, {
|
|
3909
|
-
key: "updateCompositeService",
|
|
3910
|
-
value: function updateCompositeService(name, data) {
|
|
3911
|
-
return this.http.patch("/layers/" + name, data, {
|
|
3912
|
-
type: 'CompositeService'
|
|
3913
|
-
}).json();
|
|
3914
|
-
}
|
|
3915
3753
|
/**
|
|
3916
3754
|
* No description
|
|
3917
3755
|
*
|
|
@@ -4129,6 +3967,57 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4129
3967
|
|
|
4130
3968
|
return this.http.createUrl("/layers/" + name + "/tile/" + z + "/" + x + "/" + y, query);
|
|
4131
3969
|
}
|
|
3970
|
+
/**
|
|
3971
|
+
* No description
|
|
3972
|
+
*
|
|
3973
|
+
* @tags Layers
|
|
3974
|
+
* @name GetTilesLayerImage1
|
|
3975
|
+
* @operationId LayersController_GetTilesLayerImage_1
|
|
3976
|
+
* @summary Render tile with input indexes.
|
|
3977
|
+
* @request GET:/layers/{name}/tile/{z}/{x}/{y}.{format}
|
|
3978
|
+
* @response `200` OK
|
|
3979
|
+
*/
|
|
3980
|
+
|
|
3981
|
+
}, {
|
|
3982
|
+
key: "getTilesLayerImage1",
|
|
3983
|
+
value: function getTilesLayerImage1(_ref8) {
|
|
3984
|
+
let {
|
|
3985
|
+
name,
|
|
3986
|
+
x,
|
|
3987
|
+
y,
|
|
3988
|
+
z,
|
|
3989
|
+
format
|
|
3990
|
+
} = _ref8,
|
|
3991
|
+
query = _objectWithoutPropertiesLoose(_ref8, _excluded8);
|
|
3992
|
+
|
|
3993
|
+
return this.http.createUrl("/layers/" + name + "/tile/" + z + "/" + x + "/" + y + "." + format, query);
|
|
3994
|
+
}
|
|
3995
|
+
/**
|
|
3996
|
+
* No description
|
|
3997
|
+
*
|
|
3998
|
+
* @tags Layers
|
|
3999
|
+
* @name GetTilesLayerImageWithFormatAndDpi
|
|
4000
|
+
* @operationId LayersController_GetTilesLayerImageWithFormatAndDpi
|
|
4001
|
+
* @summary Render tile with input indexes.
|
|
4002
|
+
* @request GET:/layers/{name}/tile/{z}/{x}/{y}@{dpi}x.{format}
|
|
4003
|
+
* @response `200` OK
|
|
4004
|
+
*/
|
|
4005
|
+
|
|
4006
|
+
}, {
|
|
4007
|
+
key: "getTilesLayerImageWithFormatAndDpi",
|
|
4008
|
+
value: function getTilesLayerImageWithFormatAndDpi(_ref9) {
|
|
4009
|
+
let {
|
|
4010
|
+
name,
|
|
4011
|
+
x,
|
|
4012
|
+
y,
|
|
4013
|
+
z,
|
|
4014
|
+
dpi,
|
|
4015
|
+
format
|
|
4016
|
+
} = _ref9,
|
|
4017
|
+
query = _objectWithoutPropertiesLoose(_ref9, _excluded9);
|
|
4018
|
+
|
|
4019
|
+
return this.http.createUrl("/layers/" + name + "/tile/" + z + "/" + x + "/" + y + "@" + dpi + "x." + format, query);
|
|
4020
|
+
}
|
|
4132
4021
|
/**
|
|
4133
4022
|
* No description
|
|
4134
4023
|
*
|
|
@@ -4142,11 +4031,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4142
4031
|
|
|
4143
4032
|
}, {
|
|
4144
4033
|
key: "getLayerImage",
|
|
4145
|
-
value: function getLayerImage(
|
|
4034
|
+
value: function getLayerImage(_ref10) {
|
|
4146
4035
|
let {
|
|
4147
4036
|
name
|
|
4148
|
-
} =
|
|
4149
|
-
query = _objectWithoutPropertiesLoose(
|
|
4037
|
+
} = _ref10,
|
|
4038
|
+
query = _objectWithoutPropertiesLoose(_ref10, _excluded10);
|
|
4150
4039
|
|
|
4151
4040
|
return this.http.createUrl("/layers/" + name + "/export", query);
|
|
4152
4041
|
}
|
|
@@ -4163,11 +4052,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4163
4052
|
|
|
4164
4053
|
}, {
|
|
4165
4054
|
key: "getLayerExtent",
|
|
4166
|
-
value: function getLayerExtent(
|
|
4055
|
+
value: function getLayerExtent(_ref11) {
|
|
4167
4056
|
let {
|
|
4168
4057
|
name
|
|
4169
|
-
} =
|
|
4170
|
-
query = _objectWithoutPropertiesLoose(
|
|
4058
|
+
} = _ref11,
|
|
4059
|
+
query = _objectWithoutPropertiesLoose(_ref11, _excluded11);
|
|
4171
4060
|
|
|
4172
4061
|
return this.http.get("/layers/" + name + "/extent", query).json();
|
|
4173
4062
|
}
|
|
@@ -4184,11 +4073,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4184
4073
|
|
|
4185
4074
|
}, {
|
|
4186
4075
|
key: "getByGeometry",
|
|
4187
|
-
value: function getByGeometry(
|
|
4076
|
+
value: function getByGeometry(_ref12) {
|
|
4188
4077
|
let {
|
|
4189
4078
|
name
|
|
4190
|
-
} =
|
|
4191
|
-
query = _objectWithoutPropertiesLoose(
|
|
4079
|
+
} = _ref12,
|
|
4080
|
+
query = _objectWithoutPropertiesLoose(_ref12, _excluded12);
|
|
4192
4081
|
|
|
4193
4082
|
return this.http.get("/layers/" + name + "/features/getByGeometry", query).json();
|
|
4194
4083
|
}
|
|
@@ -4205,11 +4094,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4205
4094
|
|
|
4206
4095
|
}, {
|
|
4207
4096
|
key: "getByGeometryPost",
|
|
4208
|
-
value: function getByGeometryPost(
|
|
4097
|
+
value: function getByGeometryPost(_ref13, data) {
|
|
4209
4098
|
let {
|
|
4210
4099
|
name
|
|
4211
|
-
} =
|
|
4212
|
-
query = _objectWithoutPropertiesLoose(
|
|
4100
|
+
} = _ref13,
|
|
4101
|
+
query = _objectWithoutPropertiesLoose(_ref13, _excluded13);
|
|
4213
4102
|
|
|
4214
4103
|
return this.http.post("/layers/" + name + "/features/getByGeometry", data, query).json();
|
|
4215
4104
|
}
|
|
@@ -4226,11 +4115,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4226
4115
|
|
|
4227
4116
|
}, {
|
|
4228
4117
|
key: "deleteFeatures",
|
|
4229
|
-
value: function deleteFeatures(
|
|
4118
|
+
value: function deleteFeatures(_ref14) {
|
|
4230
4119
|
let {
|
|
4231
4120
|
name
|
|
4232
|
-
} =
|
|
4233
|
-
query = _objectWithoutPropertiesLoose(
|
|
4121
|
+
} = _ref14,
|
|
4122
|
+
query = _objectWithoutPropertiesLoose(_ref14, _excluded14);
|
|
4234
4123
|
|
|
4235
4124
|
return this.http.delete("/layers/" + name + "/features/deleteByIds", null, query).json();
|
|
4236
4125
|
}
|
|
@@ -4247,11 +4136,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4247
4136
|
|
|
4248
4137
|
}, {
|
|
4249
4138
|
key: "deleteByCondition",
|
|
4250
|
-
value: function deleteByCondition(
|
|
4139
|
+
value: function deleteByCondition(_ref15) {
|
|
4251
4140
|
let {
|
|
4252
4141
|
name
|
|
4253
|
-
} =
|
|
4254
|
-
query = _objectWithoutPropertiesLoose(
|
|
4142
|
+
} = _ref15,
|
|
4143
|
+
query = _objectWithoutPropertiesLoose(_ref15, _excluded15);
|
|
4255
4144
|
|
|
4256
4145
|
return this.http.delete("/layers/" + name + "/features/deleteByCondition", null, query).json();
|
|
4257
4146
|
}
|
|
@@ -4268,11 +4157,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4268
4157
|
|
|
4269
4158
|
}, {
|
|
4270
4159
|
key: "getByGeometryGet",
|
|
4271
|
-
value: function getByGeometryGet(
|
|
4160
|
+
value: function getByGeometryGet(_ref16) {
|
|
4272
4161
|
let {
|
|
4273
4162
|
name
|
|
4274
|
-
} =
|
|
4275
|
-
query = _objectWithoutPropertiesLoose(
|
|
4163
|
+
} = _ref16,
|
|
4164
|
+
query = _objectWithoutPropertiesLoose(_ref16, _excluded16);
|
|
4276
4165
|
|
|
4277
4166
|
return this.http.get("/layers/" + name + "/features/getByGeometryByClick", query).json();
|
|
4278
4167
|
}
|
|
@@ -4289,11 +4178,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4289
4178
|
|
|
4290
4179
|
}, {
|
|
4291
4180
|
key: "classify",
|
|
4292
|
-
value: function classify(
|
|
4181
|
+
value: function classify(_ref17) {
|
|
4293
4182
|
let {
|
|
4294
4183
|
name
|
|
4295
|
-
} =
|
|
4296
|
-
query = _objectWithoutPropertiesLoose(
|
|
4184
|
+
} = _ref17,
|
|
4185
|
+
query = _objectWithoutPropertiesLoose(_ref17, _excluded17);
|
|
4297
4186
|
|
|
4298
4187
|
return this.http.get("/layers/" + name + "/classify", query).json();
|
|
4299
4188
|
}
|
|
@@ -4310,11 +4199,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4310
4199
|
|
|
4311
4200
|
}, {
|
|
4312
4201
|
key: "distincts",
|
|
4313
|
-
value: function distincts(
|
|
4202
|
+
value: function distincts(_ref18) {
|
|
4314
4203
|
let {
|
|
4315
4204
|
name
|
|
4316
|
-
} =
|
|
4317
|
-
query = _objectWithoutPropertiesLoose(
|
|
4205
|
+
} = _ref18,
|
|
4206
|
+
query = _objectWithoutPropertiesLoose(_ref18, _excluded18);
|
|
4318
4207
|
|
|
4319
4208
|
return this.http.get("/layers/" + name + "/distincts", query).json();
|
|
4320
4209
|
}
|
|
@@ -4331,11 +4220,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4331
4220
|
|
|
4332
4221
|
}, {
|
|
4333
4222
|
key: "aggregateAttribute",
|
|
4334
|
-
value: function aggregateAttribute(
|
|
4223
|
+
value: function aggregateAttribute(_ref19) {
|
|
4335
4224
|
let {
|
|
4336
4225
|
name
|
|
4337
|
-
} =
|
|
4338
|
-
query = _objectWithoutPropertiesLoose(
|
|
4226
|
+
} = _ref19,
|
|
4227
|
+
query = _objectWithoutPropertiesLoose(_ref19, _excluded19);
|
|
4339
4228
|
|
|
4340
4229
|
return this.http.get("/layers/" + name + "/aggregate-values", query).json();
|
|
4341
4230
|
}
|
|
@@ -4352,11 +4241,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4352
4241
|
|
|
4353
4242
|
}, {
|
|
4354
4243
|
key: "getFilteredFeaturesCount",
|
|
4355
|
-
value: function getFilteredFeaturesCount(
|
|
4244
|
+
value: function getFilteredFeaturesCount(_ref20) {
|
|
4356
4245
|
let {
|
|
4357
4246
|
name
|
|
4358
|
-
} =
|
|
4359
|
-
query = _objectWithoutPropertiesLoose(
|
|
4247
|
+
} = _ref20,
|
|
4248
|
+
query = _objectWithoutPropertiesLoose(_ref20, _excluded20);
|
|
4360
4249
|
|
|
4361
4250
|
return this.http.get("/layers/" + name + "/features/count", query).json();
|
|
4362
4251
|
}
|
|
@@ -4422,11 +4311,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4422
4311
|
|
|
4423
4312
|
}, {
|
|
4424
4313
|
key: "validateExpression",
|
|
4425
|
-
value: function validateExpression(
|
|
4314
|
+
value: function validateExpression(_ref21) {
|
|
4426
4315
|
let {
|
|
4427
4316
|
layerName
|
|
4428
|
-
} =
|
|
4429
|
-
query = _objectWithoutPropertiesLoose(
|
|
4317
|
+
} = _ref21,
|
|
4318
|
+
query = _objectWithoutPropertiesLoose(_ref21, _excluded21);
|
|
4430
4319
|
|
|
4431
4320
|
return this.http.get("/layers/" + layerName + "/validateExpression", query).json();
|
|
4432
4321
|
}
|
|
@@ -4443,12 +4332,12 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4443
4332
|
|
|
4444
4333
|
}, {
|
|
4445
4334
|
key: "getRasterMeta",
|
|
4446
|
-
value: function getRasterMeta(
|
|
4335
|
+
value: function getRasterMeta(_ref22) {
|
|
4447
4336
|
let {
|
|
4448
4337
|
name,
|
|
4449
4338
|
id
|
|
4450
|
-
} =
|
|
4451
|
-
query = _objectWithoutPropertiesLoose(
|
|
4339
|
+
} = _ref22,
|
|
4340
|
+
query = _objectWithoutPropertiesLoose(_ref22, _excluded22);
|
|
4452
4341
|
|
|
4453
4342
|
return this.http.get("/layers/" + name + "/" + id + "/metadata", query).json();
|
|
4454
4343
|
}
|
|
@@ -4532,54 +4421,6 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4532
4421
|
value: function getDataLayout(name) {
|
|
4533
4422
|
return this.http.get("/layers/" + name + "/style/sprite.json").then(() => {});
|
|
4534
4423
|
}
|
|
4535
|
-
/**
|
|
4536
|
-
* No description
|
|
4537
|
-
*
|
|
4538
|
-
* @tags Layers
|
|
4539
|
-
* @name GetPreview
|
|
4540
|
-
* @operationId LayersController_GetPreview
|
|
4541
|
-
* @summary Gets preview of resource.
|
|
4542
|
-
* @request GET:/layers/{name}/preview
|
|
4543
|
-
* @response `200` OK
|
|
4544
|
-
*/
|
|
4545
|
-
|
|
4546
|
-
}, {
|
|
4547
|
-
key: "getPreview",
|
|
4548
|
-
value: function getPreview(name) {
|
|
4549
|
-
return this.http.createUrl("/layers/" + name + "/preview");
|
|
4550
|
-
}
|
|
4551
|
-
/**
|
|
4552
|
-
* No description
|
|
4553
|
-
*
|
|
4554
|
-
* @tags Layers
|
|
4555
|
-
* @name SetPreview
|
|
4556
|
-
* @operationId LayersController_SetPreview
|
|
4557
|
-
* @summary Sets preview to the resource.
|
|
4558
|
-
* @request POST:/layers/{name}/preview
|
|
4559
|
-
* @response `200` OK
|
|
4560
|
-
*/
|
|
4561
|
-
|
|
4562
|
-
}, {
|
|
4563
|
-
key: "setPreview",
|
|
4564
|
-
value: function setPreview(name, data) {
|
|
4565
|
-
return this.http.post("/layers/" + name + "/preview", toFormData(data)).json();
|
|
4566
|
-
}
|
|
4567
|
-
/**
|
|
4568
|
-
* No description
|
|
4569
|
-
*
|
|
4570
|
-
* @tags Layers
|
|
4571
|
-
* @name DeletePreview
|
|
4572
|
-
* @operationId LayersController_DeletePreview
|
|
4573
|
-
* @summary Delete resource preview.
|
|
4574
|
-
* @request DELETE:/layers/{name}/preview
|
|
4575
|
-
* @response `200` OK
|
|
4576
|
-
*/
|
|
4577
|
-
|
|
4578
|
-
}, {
|
|
4579
|
-
key: "deletePreview",
|
|
4580
|
-
value: function deletePreview(name) {
|
|
4581
|
-
return this.http.delete("/layers/" + name + "/preview", null).then(() => {});
|
|
4582
|
-
}
|
|
4583
4424
|
/**
|
|
4584
4425
|
* No description
|
|
4585
4426
|
*
|
|
@@ -4628,70 +4469,6 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4628
4469
|
value: function getResourceReferences(name) {
|
|
4629
4470
|
return this.http.get("/layers/" + name + "/references").json();
|
|
4630
4471
|
}
|
|
4631
|
-
/**
|
|
4632
|
-
* No description
|
|
4633
|
-
*
|
|
4634
|
-
* @tags Layers
|
|
4635
|
-
* @name GetPermissions
|
|
4636
|
-
* @operationId LayersController_GetPermissions
|
|
4637
|
-
* @summary Returns resource permissions.
|
|
4638
|
-
* @request GET:/layers/{name}/permissions
|
|
4639
|
-
* @response `200` OK
|
|
4640
|
-
*/
|
|
4641
|
-
|
|
4642
|
-
}, {
|
|
4643
|
-
key: "getPermissions",
|
|
4644
|
-
value: function getPermissions(name) {
|
|
4645
|
-
return this.http.get("/layers/" + name + "/permissions").json();
|
|
4646
|
-
}
|
|
4647
|
-
/**
|
|
4648
|
-
* No description
|
|
4649
|
-
*
|
|
4650
|
-
* @tags Layers
|
|
4651
|
-
* @name AddPermissions
|
|
4652
|
-
* @operationId LayersController_AddPermissions
|
|
4653
|
-
* @summary Adds permissions for the layer, combining existing permissions with the given one.
|
|
4654
|
-
* @request POST:/layers/{name}/permissions
|
|
4655
|
-
* @response `200` OK
|
|
4656
|
-
*/
|
|
4657
|
-
|
|
4658
|
-
}, {
|
|
4659
|
-
key: "addPermissions",
|
|
4660
|
-
value: function addPermissions(name, data) {
|
|
4661
|
-
return this.http.post("/layers/" + name + "/permissions", data).json();
|
|
4662
|
-
}
|
|
4663
|
-
/**
|
|
4664
|
-
* No description
|
|
4665
|
-
*
|
|
4666
|
-
* @tags Layers
|
|
4667
|
-
* @name SetPermissions
|
|
4668
|
-
* @operationId LayersController_SetPermissions
|
|
4669
|
-
* @summary Replaces existing access control list for the layer with the given one.
|
|
4670
|
-
* @request PUT:/layers/{name}/permissions
|
|
4671
|
-
* @response `200` OK
|
|
4672
|
-
*/
|
|
4673
|
-
|
|
4674
|
-
}, {
|
|
4675
|
-
key: "setPermissions",
|
|
4676
|
-
value: function setPermissions(name, data) {
|
|
4677
|
-
return this.http.put("/layers/" + name + "/permissions", data).json();
|
|
4678
|
-
}
|
|
4679
|
-
/**
|
|
4680
|
-
* No description
|
|
4681
|
-
*
|
|
4682
|
-
* @tags Layers
|
|
4683
|
-
* @name RemovePermissions
|
|
4684
|
-
* @operationId LayersController_RemovePermissions
|
|
4685
|
-
* @summary Removes permissions for the layer for the given role.
|
|
4686
|
-
* @request DELETE:/layers/{name}/permissions/{role}
|
|
4687
|
-
* @response `200` OK
|
|
4688
|
-
*/
|
|
4689
|
-
|
|
4690
|
-
}, {
|
|
4691
|
-
key: "removePermissions",
|
|
4692
|
-
value: function removePermissions(name, role) {
|
|
4693
|
-
return this.http.delete("/layers/" + name + "/permissions/" + role, null).json();
|
|
4694
|
-
}
|
|
4695
4472
|
}]);
|
|
4696
4473
|
|
|
4697
4474
|
return LayersService;
|
|
@@ -4740,11 +4517,6 @@ let Layers = /*#__PURE__*/function (_LayersService) {
|
|
|
4740
4517
|
types: ['LocalTileService', 'RemoteTileService']
|
|
4741
4518
|
}));
|
|
4742
4519
|
}
|
|
4743
|
-
}, {
|
|
4744
|
-
key: "createSubLayer",
|
|
4745
|
-
value: function createSubLayer(configuration) {
|
|
4746
|
-
return this.publishStyledLayerService(configuration);
|
|
4747
|
-
}
|
|
4748
4520
|
}, {
|
|
4749
4521
|
key: "createTileLayer",
|
|
4750
4522
|
value: function createTileLayer(_ref) {
|
|
@@ -4773,13 +4545,6 @@ let Layers = /*#__PURE__*/function (_LayersService) {
|
|
|
4773
4545
|
|
|
4774
4546
|
return this.updateLocalTileService(configuration.name, configuration);
|
|
4775
4547
|
}
|
|
4776
|
-
}, {
|
|
4777
|
-
key: "uploadPreview",
|
|
4778
|
-
value: function uploadPreview(name, file) {
|
|
4779
|
-
return this.setPreview(name, {
|
|
4780
|
-
file
|
|
4781
|
-
});
|
|
4782
|
-
}
|
|
4783
4548
|
}, {
|
|
4784
4549
|
key: "findOne",
|
|
4785
4550
|
value: function findOne(name) {
|
|
@@ -5023,106 +4788,6 @@ let Names = /*#__PURE__*/function () {
|
|
|
5023
4788
|
return Names;
|
|
5024
4789
|
}();
|
|
5025
4790
|
|
|
5026
|
-
/**
|
|
5027
|
-
* @title Spatial Processing Core API
|
|
5028
|
-
* @version 1.5.1.0
|
|
5029
|
-
* @baseUrl /sp
|
|
5030
|
-
*/
|
|
5031
|
-
|
|
5032
|
-
let NamespaceService = /*#__PURE__*/function (_Service) {
|
|
5033
|
-
_inherits(NamespaceService, _Service);
|
|
5034
|
-
|
|
5035
|
-
var _super = /*#__PURE__*/_createSuper(NamespaceService);
|
|
5036
|
-
|
|
5037
|
-
function NamespaceService() {
|
|
5038
|
-
_classCallCheck(this, NamespaceService);
|
|
5039
|
-
|
|
5040
|
-
return _super.apply(this, arguments);
|
|
5041
|
-
}
|
|
5042
|
-
|
|
5043
|
-
_createClass(NamespaceService, [{
|
|
5044
|
-
key: "getNamespaces",
|
|
5045
|
-
value:
|
|
5046
|
-
/**
|
|
5047
|
-
* No description
|
|
5048
|
-
*
|
|
5049
|
-
* @tags Namespace
|
|
5050
|
-
* @name GetNamespaces
|
|
5051
|
-
* @operationId NamespaceController_GetNamespacesAsync
|
|
5052
|
-
* @summary Returns the list of existing namespaces, that correspond to the given conditions.
|
|
5053
|
-
* @request GET:/namespaces
|
|
5054
|
-
* @response `200` OK
|
|
5055
|
-
*/
|
|
5056
|
-
function getNamespaces(query) {
|
|
5057
|
-
return this.http.get("/namespaces", query).json();
|
|
5058
|
-
}
|
|
5059
|
-
/**
|
|
5060
|
-
* No description
|
|
5061
|
-
*
|
|
5062
|
-
* @tags Namespace
|
|
5063
|
-
* @name CreateNamespace
|
|
5064
|
-
* @operationId NamespaceController_CreateNamespace
|
|
5065
|
-
* @summary Creates a new namespace.
|
|
5066
|
-
* @request POST:/namespaces
|
|
5067
|
-
* @response `200` OK
|
|
5068
|
-
*/
|
|
5069
|
-
|
|
5070
|
-
}, {
|
|
5071
|
-
key: "createNamespace",
|
|
5072
|
-
value: function createNamespace(query) {
|
|
5073
|
-
return this.http.post("/namespaces", null, query).json();
|
|
5074
|
-
}
|
|
5075
|
-
/**
|
|
5076
|
-
* No description
|
|
5077
|
-
*
|
|
5078
|
-
* @tags Namespace
|
|
5079
|
-
* @name GetNamespace
|
|
5080
|
-
* @operationId NamespaceController_GetNamespaceAsync
|
|
5081
|
-
* @summary Get namespace information.
|
|
5082
|
-
* @request GET:/namespaces/{namespace}
|
|
5083
|
-
* @response `200` OK
|
|
5084
|
-
*/
|
|
5085
|
-
|
|
5086
|
-
}, {
|
|
5087
|
-
key: "getNamespace",
|
|
5088
|
-
value: function getNamespace(namespace) {
|
|
5089
|
-
return this.http.get("/namespaces/" + namespace).json();
|
|
5090
|
-
}
|
|
5091
|
-
/**
|
|
5092
|
-
* No description
|
|
5093
|
-
*
|
|
5094
|
-
* @tags Namespace
|
|
5095
|
-
* @name RemoveNamespace
|
|
5096
|
-
* @operationId NamespaceController_RemoveNamespaceAsync
|
|
5097
|
-
* @summary Remove namespace.
|
|
5098
|
-
* @request DELETE:/namespaces/{namespace}
|
|
5099
|
-
* @response `200` OK
|
|
5100
|
-
*/
|
|
5101
|
-
|
|
5102
|
-
}, {
|
|
5103
|
-
key: "removeNamespace",
|
|
5104
|
-
value: function removeNamespace(namespace) {
|
|
5105
|
-
return this.http.delete("/namespaces/" + namespace, null).then(() => {});
|
|
5106
|
-
}
|
|
5107
|
-
}]);
|
|
5108
|
-
|
|
5109
|
-
return NamespaceService;
|
|
5110
|
-
}(Service);
|
|
5111
|
-
|
|
5112
|
-
let Namespace = /*#__PURE__*/function (_NamespaceService) {
|
|
5113
|
-
_inherits(Namespace, _NamespaceService);
|
|
5114
|
-
|
|
5115
|
-
var _super = /*#__PURE__*/_createSuper(Namespace);
|
|
5116
|
-
|
|
5117
|
-
function Namespace() {
|
|
5118
|
-
_classCallCheck(this, Namespace);
|
|
5119
|
-
|
|
5120
|
-
return _super.apply(this, arguments);
|
|
5121
|
-
}
|
|
5122
|
-
|
|
5123
|
-
return _createClass(Namespace);
|
|
5124
|
-
}(NamespaceService);
|
|
5125
|
-
|
|
5126
4791
|
/**
|
|
5127
4792
|
* @title Spatial Processing Core API
|
|
5128
4793
|
* @version 1.5.1.0
|
|
@@ -5611,22 +5276,6 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
|
|
|
5611
5276
|
value: function createProject(data) {
|
|
5612
5277
|
return this.http.post("/projects", data).json();
|
|
5613
5278
|
}
|
|
5614
|
-
/**
|
|
5615
|
-
* No description
|
|
5616
|
-
*
|
|
5617
|
-
* @tags Projects
|
|
5618
|
-
* @name SetPermissionsBatch
|
|
5619
|
-
* @operationId ProjectsController_SetPermissionsBatch
|
|
5620
|
-
* @summary Overrides multiply resources permissions in single batch.
|
|
5621
|
-
* @request PUT:/projects
|
|
5622
|
-
* @response `200` OK
|
|
5623
|
-
*/
|
|
5624
|
-
|
|
5625
|
-
}, {
|
|
5626
|
-
key: "setPermissionsBatch",
|
|
5627
|
-
value: function setPermissionsBatch(data) {
|
|
5628
|
-
return this.http.put("/projects", data).then(() => {});
|
|
5629
|
-
}
|
|
5630
5279
|
/**
|
|
5631
5280
|
* No description
|
|
5632
5281
|
*
|
|
@@ -5764,49 +5413,33 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
|
|
|
5764
5413
|
* No description
|
|
5765
5414
|
*
|
|
5766
5415
|
* @tags Projects
|
|
5767
|
-
* @name
|
|
5768
|
-
* @operationId
|
|
5769
|
-
* @summary
|
|
5770
|
-
* @request GET:/projects/{name}/
|
|
5771
|
-
* @response `200` OK
|
|
5772
|
-
*/
|
|
5773
|
-
|
|
5774
|
-
}, {
|
|
5775
|
-
key: "getPreview",
|
|
5776
|
-
value: function getPreview(name) {
|
|
5777
|
-
return this.http.createUrl("/projects/" + name + "/preview");
|
|
5778
|
-
}
|
|
5779
|
-
/**
|
|
5780
|
-
* No description
|
|
5781
|
-
*
|
|
5782
|
-
* @tags Projects
|
|
5783
|
-
* @name SetPreview
|
|
5784
|
-
* @operationId ProjectsController_SetPreview
|
|
5785
|
-
* @summary Sets preview to the resource.
|
|
5786
|
-
* @request POST:/projects/{name}/preview
|
|
5416
|
+
* @name GetTilesLayerImageWithFormat
|
|
5417
|
+
* @operationId ProjectsController_GetTilesLayerImageWithFormat
|
|
5418
|
+
* @summary Render tile.
|
|
5419
|
+
* @request GET:/projects/{name}/tile/{z}/{x}/{y}.{format}
|
|
5787
5420
|
* @response `200` OK
|
|
5788
5421
|
*/
|
|
5789
5422
|
|
|
5790
5423
|
}, {
|
|
5791
|
-
key: "
|
|
5792
|
-
value: function
|
|
5793
|
-
return this.http.
|
|
5424
|
+
key: "getTilesLayerImageWithFormat",
|
|
5425
|
+
value: function getTilesLayerImageWithFormat(name, x, y, z, format) {
|
|
5426
|
+
return this.http.createUrl("/projects/" + name + "/tile/" + z + "/" + x + "/" + y + "." + format);
|
|
5794
5427
|
}
|
|
5795
5428
|
/**
|
|
5796
5429
|
* No description
|
|
5797
5430
|
*
|
|
5798
5431
|
* @tags Projects
|
|
5799
|
-
* @name
|
|
5800
|
-
* @operationId
|
|
5801
|
-
* @summary
|
|
5802
|
-
* @request
|
|
5432
|
+
* @name GetTilesLayerImageWithFormatAndDpi
|
|
5433
|
+
* @operationId ProjectsController_GetTilesLayerImageWithFormatAndDpi
|
|
5434
|
+
* @summary Render tile.
|
|
5435
|
+
* @request GET:/projects/{name}/tile/{z}/{x}/{y}@{dpi}x.{format}
|
|
5803
5436
|
* @response `200` OK
|
|
5804
5437
|
*/
|
|
5805
5438
|
|
|
5806
5439
|
}, {
|
|
5807
|
-
key: "
|
|
5808
|
-
value: function
|
|
5809
|
-
return this.http.
|
|
5440
|
+
key: "getTilesLayerImageWithFormatAndDpi",
|
|
5441
|
+
value: function getTilesLayerImageWithFormatAndDpi(name, x, y, z, dpi, format) {
|
|
5442
|
+
return this.http.createUrl("/projects/" + name + "/tile/" + z + "/" + x + "/" + y + "@" + dpi + "x." + format);
|
|
5810
5443
|
}
|
|
5811
5444
|
/**
|
|
5812
5445
|
* No description
|
|
@@ -5856,70 +5489,6 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
|
|
|
5856
5489
|
value: function getResourceReferences(name) {
|
|
5857
5490
|
return this.http.get("/projects/" + name + "/references").json();
|
|
5858
5491
|
}
|
|
5859
|
-
/**
|
|
5860
|
-
* No description
|
|
5861
|
-
*
|
|
5862
|
-
* @tags Projects
|
|
5863
|
-
* @name GetPermissions
|
|
5864
|
-
* @operationId ProjectsController_GetPermissions
|
|
5865
|
-
* @summary Returns resource permissions.
|
|
5866
|
-
* @request GET:/projects/{name}/permissions
|
|
5867
|
-
* @response `200` OK
|
|
5868
|
-
*/
|
|
5869
|
-
|
|
5870
|
-
}, {
|
|
5871
|
-
key: "getPermissions",
|
|
5872
|
-
value: function getPermissions(name) {
|
|
5873
|
-
return this.http.get("/projects/" + name + "/permissions").json();
|
|
5874
|
-
}
|
|
5875
|
-
/**
|
|
5876
|
-
* No description
|
|
5877
|
-
*
|
|
5878
|
-
* @tags Projects
|
|
5879
|
-
* @name AddPermissions
|
|
5880
|
-
* @operationId ProjectsController_AddPermissions
|
|
5881
|
-
* @summary Adds permissions for the layer, combining existing permissions with the given one.
|
|
5882
|
-
* @request POST:/projects/{name}/permissions
|
|
5883
|
-
* @response `200` OK
|
|
5884
|
-
*/
|
|
5885
|
-
|
|
5886
|
-
}, {
|
|
5887
|
-
key: "addPermissions",
|
|
5888
|
-
value: function addPermissions(name, data) {
|
|
5889
|
-
return this.http.post("/projects/" + name + "/permissions", data).json();
|
|
5890
|
-
}
|
|
5891
|
-
/**
|
|
5892
|
-
* No description
|
|
5893
|
-
*
|
|
5894
|
-
* @tags Projects
|
|
5895
|
-
* @name SetPermissions
|
|
5896
|
-
* @operationId ProjectsController_SetPermissions
|
|
5897
|
-
* @summary Replaces existing access control list for the layer with the given one.
|
|
5898
|
-
* @request PUT:/projects/{name}/permissions
|
|
5899
|
-
* @response `200` OK
|
|
5900
|
-
*/
|
|
5901
|
-
|
|
5902
|
-
}, {
|
|
5903
|
-
key: "setPermissions",
|
|
5904
|
-
value: function setPermissions(name, data) {
|
|
5905
|
-
return this.http.put("/projects/" + name + "/permissions", data).json();
|
|
5906
|
-
}
|
|
5907
|
-
/**
|
|
5908
|
-
* No description
|
|
5909
|
-
*
|
|
5910
|
-
* @tags Projects
|
|
5911
|
-
* @name RemovePermissions
|
|
5912
|
-
* @operationId ProjectsController_RemovePermissions
|
|
5913
|
-
* @summary Removes permissions for the layer for the given role.
|
|
5914
|
-
* @request DELETE:/projects/{name}/permissions/{role}
|
|
5915
|
-
* @response `200` OK
|
|
5916
|
-
*/
|
|
5917
|
-
|
|
5918
|
-
}, {
|
|
5919
|
-
key: "removePermissions",
|
|
5920
|
-
value: function removePermissions(name, role) {
|
|
5921
|
-
return this.http.delete("/projects/" + name + "/permissions/" + role, null).json();
|
|
5922
|
-
}
|
|
5923
5492
|
}]);
|
|
5924
5493
|
|
|
5925
5494
|
return ProjectsService;
|
|
@@ -5946,13 +5515,6 @@ let Projects = /*#__PURE__*/function (_ProjectsService) {
|
|
|
5946
5515
|
value: function getProjectsDeps(proejcts) {
|
|
5947
5516
|
return promiseAllIgnoreErrors(proejcts.map(project => this.getResourceDependencies(project)));
|
|
5948
5517
|
}
|
|
5949
|
-
}, {
|
|
5950
|
-
key: "uploadPreview",
|
|
5951
|
-
value: function uploadPreview(name, file) {
|
|
5952
|
-
return this.setPreview(name, {
|
|
5953
|
-
file
|
|
5954
|
-
});
|
|
5955
|
-
}
|
|
5956
5518
|
}, {
|
|
5957
5519
|
key: "findOne",
|
|
5958
5520
|
value: function findOne(name) {
|
|
@@ -5987,7 +5549,8 @@ function isProjectContentItems(v) {
|
|
|
5987
5549
|
return v !== null && v !== undefined;
|
|
5988
5550
|
}
|
|
5989
5551
|
|
|
5990
|
-
const _excluded$6 = ["id"]
|
|
5552
|
+
const _excluded$6 = ["id"],
|
|
5553
|
+
_excluded2$4 = ["id"];
|
|
5991
5554
|
/**
|
|
5992
5555
|
* @title Spatial Processing Core API
|
|
5993
5556
|
* @version 1.5.1.0
|
|
@@ -6366,6 +5929,79 @@ let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
|
|
|
6366
5929
|
value: function startTask1(id) {
|
|
6367
5930
|
return this.http.post("/scheduler/" + id + "/start", null).then(() => {});
|
|
6368
5931
|
}
|
|
5932
|
+
/**
|
|
5933
|
+
* No description
|
|
5934
|
+
*
|
|
5935
|
+
* @tags RemoteTaskManager
|
|
5936
|
+
* @name GetTaskResource
|
|
5937
|
+
* @operationId RemoteTaskManagerController_GetTaskResource
|
|
5938
|
+
* @summary Shows SubTask in Task.
|
|
5939
|
+
* @request GET:/scheduler/taskresource/{id}
|
|
5940
|
+
* @response `200` OK
|
|
5941
|
+
*/
|
|
5942
|
+
|
|
5943
|
+
}, {
|
|
5944
|
+
key: "getTaskResource",
|
|
5945
|
+
value: function getTaskResource(_ref2) {
|
|
5946
|
+
let {
|
|
5947
|
+
id
|
|
5948
|
+
} = _ref2,
|
|
5949
|
+
query = _objectWithoutPropertiesLoose(_ref2, _excluded2$4);
|
|
5950
|
+
|
|
5951
|
+
return this.http.get("/scheduler/taskresource/" + id, query).json();
|
|
5952
|
+
}
|
|
5953
|
+
/**
|
|
5954
|
+
* No description
|
|
5955
|
+
*
|
|
5956
|
+
* @tags RemoteTaskManager
|
|
5957
|
+
* @name CreateTaskResource
|
|
5958
|
+
* @operationId RemoteTaskManagerController_CreateTaskResource
|
|
5959
|
+
* @summary Create task resource.
|
|
5960
|
+
* @request POST:/scheduler/taskresource
|
|
5961
|
+
* @response `200` OK
|
|
5962
|
+
*/
|
|
5963
|
+
|
|
5964
|
+
}, {
|
|
5965
|
+
key: "createTaskResource",
|
|
5966
|
+
value: function createTaskResource(data) {
|
|
5967
|
+
return this.http.post("/scheduler/taskresource", data).text();
|
|
5968
|
+
}
|
|
5969
|
+
/**
|
|
5970
|
+
* No description
|
|
5971
|
+
*
|
|
5972
|
+
* @tags RemoteTaskManager
|
|
5973
|
+
* @name UpdatePythonTaskResource
|
|
5974
|
+
* @operationId RemoteTaskManagerController_UpdatePythonTaskResource
|
|
5975
|
+
* @summary Update python task resource.
|
|
5976
|
+
* @request PATCH:/scheduler/taskresource/{id}#type=PythonTask
|
|
5977
|
+
* @response `200` OK
|
|
5978
|
+
*/
|
|
5979
|
+
|
|
5980
|
+
}, {
|
|
5981
|
+
key: "updatePythonTaskResource",
|
|
5982
|
+
value: function updatePythonTaskResource(id, data) {
|
|
5983
|
+
return this.http.patch("/scheduler/taskresource/" + id, data, {
|
|
5984
|
+
type: 'PythonTask'
|
|
5985
|
+
}).then(() => {});
|
|
5986
|
+
}
|
|
5987
|
+
/**
|
|
5988
|
+
* No description
|
|
5989
|
+
*
|
|
5990
|
+
* @tags RemoteTaskManager
|
|
5991
|
+
* @name UpdateSpTaskResource
|
|
5992
|
+
* @operationId RemoteTaskManagerController_UpdateSpTaskResource
|
|
5993
|
+
* @summary Update sp task resource.
|
|
5994
|
+
* @request PATCH:/scheduler/taskresource/{id}#type=SpTask
|
|
5995
|
+
* @response `200` OK
|
|
5996
|
+
*/
|
|
5997
|
+
|
|
5998
|
+
}, {
|
|
5999
|
+
key: "updateSpTaskResource",
|
|
6000
|
+
value: function updateSpTaskResource(id, data) {
|
|
6001
|
+
return this.http.patch("/scheduler/taskresource/" + id, data, {
|
|
6002
|
+
type: 'SpTask'
|
|
6003
|
+
}).then(() => {});
|
|
6004
|
+
}
|
|
6369
6005
|
/**
|
|
6370
6006
|
* No description
|
|
6371
6007
|
*
|
|
@@ -6398,6 +6034,22 @@ let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
|
|
|
6398
6034
|
value: function post(data) {
|
|
6399
6035
|
return this.http.post("/scheduler/worker", data).json();
|
|
6400
6036
|
}
|
|
6037
|
+
/**
|
|
6038
|
+
* No description
|
|
6039
|
+
*
|
|
6040
|
+
* @tags RemoteTaskManager
|
|
6041
|
+
* @name GetWorker
|
|
6042
|
+
* @operationId RemoteTaskManagerController_GetWorker
|
|
6043
|
+
* @summary Get worker info by type.
|
|
6044
|
+
* @request GET:/scheduler/worker/{type}
|
|
6045
|
+
* @response `200` OK
|
|
6046
|
+
*/
|
|
6047
|
+
|
|
6048
|
+
}, {
|
|
6049
|
+
key: "getWorker",
|
|
6050
|
+
value: function getWorker(type) {
|
|
6051
|
+
return this.http.get("/scheduler/worker/" + type).json();
|
|
6052
|
+
}
|
|
6401
6053
|
}]);
|
|
6402
6054
|
|
|
6403
6055
|
return RemoteTaskManagerService;
|
|
@@ -6583,8 +6235,21 @@ let SecurityService = /*#__PURE__*/function (_Service) {
|
|
|
6583
6235
|
}
|
|
6584
6236
|
|
|
6585
6237
|
_createClass(SecurityService, [{
|
|
6586
|
-
key: "
|
|
6238
|
+
key: "setPolicies",
|
|
6587
6239
|
value:
|
|
6240
|
+
/**
|
|
6241
|
+
* @description This method requires superuser permission.
|
|
6242
|
+
*
|
|
6243
|
+
* @tags SecurityService
|
|
6244
|
+
* @name SetPolicies
|
|
6245
|
+
* @operationId SecurityServiceController_SetPolicies
|
|
6246
|
+
* @summary Adds the given policies to the server policy list. If a policy with the same type and user role already exists, it replaces the existing policy with the new one.
|
|
6247
|
+
* @request POST:/bulk/security/policies
|
|
6248
|
+
* @response `200` OK
|
|
6249
|
+
*/
|
|
6250
|
+
function setPolicies(data) {
|
|
6251
|
+
return this.http.post("/bulk/security/policies", data).then(() => {});
|
|
6252
|
+
}
|
|
6588
6253
|
/**
|
|
6589
6254
|
* No description
|
|
6590
6255
|
*
|
|
@@ -6595,7 +6260,10 @@ let SecurityService = /*#__PURE__*/function (_Service) {
|
|
|
6595
6260
|
* @request GET:/security/findUsersWithRoles
|
|
6596
6261
|
* @response `200` OK
|
|
6597
6262
|
*/
|
|
6598
|
-
|
|
6263
|
+
|
|
6264
|
+
}, {
|
|
6265
|
+
key: "findUserByNameByRoles",
|
|
6266
|
+
value: function findUserByNameByRoles(query) {
|
|
6599
6267
|
return this.http.get("/security/findUsersWithRoles", query).json();
|
|
6600
6268
|
}
|
|
6601
6269
|
/**
|
|
@@ -7052,7 +6720,7 @@ let Styles = /*#__PURE__*/function (_StyleService) {
|
|
|
7052
6720
|
}(StyleService);
|
|
7053
6721
|
|
|
7054
6722
|
const _excluded$7 = ["name"],
|
|
7055
|
-
_excluded2$
|
|
6723
|
+
_excluded2$5 = ["name"],
|
|
7056
6724
|
_excluded3$3 = ["name"],
|
|
7057
6725
|
_excluded4$2 = ["name"];
|
|
7058
6726
|
/**
|
|
@@ -7104,22 +6772,6 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
7104
6772
|
value: function createTable(data) {
|
|
7105
6773
|
return this.http.post("/tables", data).json();
|
|
7106
6774
|
}
|
|
7107
|
-
/**
|
|
7108
|
-
* No description
|
|
7109
|
-
*
|
|
7110
|
-
* @tags Tables
|
|
7111
|
-
* @name SetPermissionsBatch
|
|
7112
|
-
* @operationId TablesController_SetPermissionsBatch
|
|
7113
|
-
* @summary Overrides multiply resources permissions in single batch.
|
|
7114
|
-
* @request PUT:/tables
|
|
7115
|
-
* @response `200` OK
|
|
7116
|
-
*/
|
|
7117
|
-
|
|
7118
|
-
}, {
|
|
7119
|
-
key: "setPermissionsBatch",
|
|
7120
|
-
value: function setPermissionsBatch(data) {
|
|
7121
|
-
return this.http.put("/tables", data).then(() => {});
|
|
7122
|
-
}
|
|
7123
6775
|
/**
|
|
7124
6776
|
* No description
|
|
7125
6777
|
*
|
|
@@ -7270,7 +6922,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
7270
6922
|
let {
|
|
7271
6923
|
name
|
|
7272
6924
|
} = _ref2,
|
|
7273
|
-
query = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
6925
|
+
query = _objectWithoutPropertiesLoose(_ref2, _excluded2$5);
|
|
7274
6926
|
|
|
7275
6927
|
return this.http.patch("/tables/" + name + "/data", data, query).then(() => {});
|
|
7276
6928
|
}
|
|
@@ -7380,54 +7032,6 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
7380
7032
|
value: function createViewFromQuery(data) {
|
|
7381
7033
|
return this.http.post("/tables/fromQuery", data).json();
|
|
7382
7034
|
}
|
|
7383
|
-
/**
|
|
7384
|
-
* No description
|
|
7385
|
-
*
|
|
7386
|
-
* @tags Tables
|
|
7387
|
-
* @name GetPreview
|
|
7388
|
-
* @operationId TablesController_GetPreview
|
|
7389
|
-
* @summary Gets preview of resource.
|
|
7390
|
-
* @request GET:/tables/{name}/preview
|
|
7391
|
-
* @response `200` OK
|
|
7392
|
-
*/
|
|
7393
|
-
|
|
7394
|
-
}, {
|
|
7395
|
-
key: "getPreview",
|
|
7396
|
-
value: function getPreview(name) {
|
|
7397
|
-
return this.http.createUrl("/tables/" + name + "/preview");
|
|
7398
|
-
}
|
|
7399
|
-
/**
|
|
7400
|
-
* No description
|
|
7401
|
-
*
|
|
7402
|
-
* @tags Tables
|
|
7403
|
-
* @name SetPreview
|
|
7404
|
-
* @operationId TablesController_SetPreview
|
|
7405
|
-
* @summary Sets preview to the resource.
|
|
7406
|
-
* @request POST:/tables/{name}/preview
|
|
7407
|
-
* @response `200` OK
|
|
7408
|
-
*/
|
|
7409
|
-
|
|
7410
|
-
}, {
|
|
7411
|
-
key: "setPreview",
|
|
7412
|
-
value: function setPreview(name, data) {
|
|
7413
|
-
return this.http.post("/tables/" + name + "/preview", toFormData(data)).json();
|
|
7414
|
-
}
|
|
7415
|
-
/**
|
|
7416
|
-
* No description
|
|
7417
|
-
*
|
|
7418
|
-
* @tags Tables
|
|
7419
|
-
* @name DeletePreview
|
|
7420
|
-
* @operationId TablesController_DeletePreview
|
|
7421
|
-
* @summary Delete resource preview.
|
|
7422
|
-
* @request DELETE:/tables/{name}/preview
|
|
7423
|
-
* @response `200` OK
|
|
7424
|
-
*/
|
|
7425
|
-
|
|
7426
|
-
}, {
|
|
7427
|
-
key: "deletePreview",
|
|
7428
|
-
value: function deletePreview(name) {
|
|
7429
|
-
return this.http.delete("/tables/" + name + "/preview", null).then(() => {});
|
|
7430
|
-
}
|
|
7431
7035
|
/**
|
|
7432
7036
|
* No description
|
|
7433
7037
|
*
|
|
@@ -7476,70 +7080,6 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
7476
7080
|
value: function getResourceReferences(name) {
|
|
7477
7081
|
return this.http.get("/tables/" + name + "/references").json();
|
|
7478
7082
|
}
|
|
7479
|
-
/**
|
|
7480
|
-
* No description
|
|
7481
|
-
*
|
|
7482
|
-
* @tags Tables
|
|
7483
|
-
* @name GetPermissions
|
|
7484
|
-
* @operationId TablesController_GetPermissions
|
|
7485
|
-
* @summary Returns resource permissions.
|
|
7486
|
-
* @request GET:/tables/{name}/permissions
|
|
7487
|
-
* @response `200` OK
|
|
7488
|
-
*/
|
|
7489
|
-
|
|
7490
|
-
}, {
|
|
7491
|
-
key: "getPermissions",
|
|
7492
|
-
value: function getPermissions(name) {
|
|
7493
|
-
return this.http.get("/tables/" + name + "/permissions").json();
|
|
7494
|
-
}
|
|
7495
|
-
/**
|
|
7496
|
-
* No description
|
|
7497
|
-
*
|
|
7498
|
-
* @tags Tables
|
|
7499
|
-
* @name AddPermissions
|
|
7500
|
-
* @operationId TablesController_AddPermissions
|
|
7501
|
-
* @summary Adds permissions for the layer, combining existing permissions with the given one.
|
|
7502
|
-
* @request POST:/tables/{name}/permissions
|
|
7503
|
-
* @response `200` OK
|
|
7504
|
-
*/
|
|
7505
|
-
|
|
7506
|
-
}, {
|
|
7507
|
-
key: "addPermissions",
|
|
7508
|
-
value: function addPermissions(name, data) {
|
|
7509
|
-
return this.http.post("/tables/" + name + "/permissions", data).json();
|
|
7510
|
-
}
|
|
7511
|
-
/**
|
|
7512
|
-
* No description
|
|
7513
|
-
*
|
|
7514
|
-
* @tags Tables
|
|
7515
|
-
* @name SetPermissions
|
|
7516
|
-
* @operationId TablesController_SetPermissions
|
|
7517
|
-
* @summary Replaces existing access control list for the layer with the given one.
|
|
7518
|
-
* @request PUT:/tables/{name}/permissions
|
|
7519
|
-
* @response `200` OK
|
|
7520
|
-
*/
|
|
7521
|
-
|
|
7522
|
-
}, {
|
|
7523
|
-
key: "setPermissions",
|
|
7524
|
-
value: function setPermissions(name, data) {
|
|
7525
|
-
return this.http.put("/tables/" + name + "/permissions", data).json();
|
|
7526
|
-
}
|
|
7527
|
-
/**
|
|
7528
|
-
* No description
|
|
7529
|
-
*
|
|
7530
|
-
* @tags Tables
|
|
7531
|
-
* @name RemovePermissions
|
|
7532
|
-
* @operationId TablesController_RemovePermissions
|
|
7533
|
-
* @summary Removes permissions for the layer for the given role.
|
|
7534
|
-
* @request DELETE:/tables/{name}/permissions/{role}
|
|
7535
|
-
* @response `200` OK
|
|
7536
|
-
*/
|
|
7537
|
-
|
|
7538
|
-
}, {
|
|
7539
|
-
key: "removePermissions",
|
|
7540
|
-
value: function removePermissions(name, role) {
|
|
7541
|
-
return this.http.delete("/tables/" + name + "/permissions/" + role, null).json();
|
|
7542
|
-
}
|
|
7543
7083
|
}]);
|
|
7544
7084
|
|
|
7545
7085
|
return TablesService;
|
|
@@ -7561,13 +7101,6 @@ let Tables = /*#__PURE__*/function (_TablesService) {
|
|
|
7561
7101
|
value: function getTableInfos(tables) {
|
|
7562
7102
|
return promiseAllIgnoreErrors(tables.map(table => this.getTableInfo(table)));
|
|
7563
7103
|
}
|
|
7564
|
-
}, {
|
|
7565
|
-
key: "uploadPreview",
|
|
7566
|
-
value: function uploadPreview(name, file) {
|
|
7567
|
-
return this.setPreview(name, {
|
|
7568
|
-
file
|
|
7569
|
-
});
|
|
7570
|
-
}
|
|
7571
7104
|
}, {
|
|
7572
7105
|
key: "findOne",
|
|
7573
7106
|
value: function findOne(name) {
|
|
@@ -7828,7 +7361,6 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7828
7361
|
_this.tools = new Tools(_this.http);
|
|
7829
7362
|
_this.resourceCatalog = new ResourceCatalog(_this.http);
|
|
7830
7363
|
_this.general = new General(_this.http);
|
|
7831
|
-
_this.namespace = new Namespace(_this.http);
|
|
7832
7364
|
_this.external = new External(_this.http);
|
|
7833
7365
|
_this.clientSettings = new ClientSettings(_this.http);
|
|
7834
7366
|
_this.portalSettings = new PortalSettings(_this.http);
|
|
@@ -7836,7 +7368,6 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7836
7368
|
_this.statistic = new Statistic(_this.http);
|
|
7837
7369
|
_this.feedback = new Feedback(_this.http);
|
|
7838
7370
|
_this.vectorTiles = new VectorTiles(_this.http);
|
|
7839
|
-
_this.universalSearch = new UniversalSearchService(_this.http);
|
|
7840
7371
|
_this.spatialReference = new SpatialReferencesService(_this.http);
|
|
7841
7372
|
_this.eql = new Eql(_this.http);
|
|
7842
7373
|
_this.catalog = new CatalogService(_this.http);
|
|
@@ -8290,6 +7821,11 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
8290
7821
|
StringSubType["Attachments"] = "Attachments";
|
|
8291
7822
|
})(exports.StringSubType || (exports.StringSubType = {}));
|
|
8292
7823
|
|
|
7824
|
+
(function (TaskResourceSubType) {
|
|
7825
|
+
TaskResourceSubType["SpTask"] = "SpTask";
|
|
7826
|
+
TaskResourceSubType["PythonTask"] = "PythonTask";
|
|
7827
|
+
})(exports.TaskResourceSubType || (exports.TaskResourceSubType = {}));
|
|
7828
|
+
|
|
8293
7829
|
(function (TextAlignment) {
|
|
8294
7830
|
TextAlignment["Right"] = "right";
|
|
8295
7831
|
TextAlignment["Left"] = "left";
|
|
@@ -8359,7 +7895,6 @@ exports.IceRouter = IceRouter;
|
|
|
8359
7895
|
exports.Import = Import;
|
|
8360
7896
|
exports.Layers = Layers;
|
|
8361
7897
|
exports.Names = Names;
|
|
8362
|
-
exports.Namespace = Namespace;
|
|
8363
7898
|
exports.Notification = Notification;
|
|
8364
7899
|
exports.NotificationEvent = NotificationEvent;
|
|
8365
7900
|
exports.PortalSettings = PortalSettings;
|