@evergis/api 4.0.4 → 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 +39 -127
- package/dist/__generated__/ProjectsService.d.ts +7 -84
- 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__/TablesService.d.ts +2 -90
- package/dist/__generated__/WmsServerService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +340 -619
- package/dist/api.cjs.development.js +255 -778
- 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 +268 -782
- 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;
|
|
@@ -3413,7 +3283,7 @@ const _excluded$3 = ["name"],
|
|
|
3413
3283
|
_excluded6$1 = ["name", "id"],
|
|
3414
3284
|
_excluded7 = ["name", "x", "y", "z"],
|
|
3415
3285
|
_excluded8 = ["name", "x", "y", "z", "format"],
|
|
3416
|
-
_excluded9 = ["name"],
|
|
3286
|
+
_excluded9 = ["name", "x", "y", "z", "dpi", "format"],
|
|
3417
3287
|
_excluded10 = ["name"],
|
|
3418
3288
|
_excluded11 = ["name"],
|
|
3419
3289
|
_excluded12 = ["name"],
|
|
@@ -3424,8 +3294,9 @@ const _excluded$3 = ["name"],
|
|
|
3424
3294
|
_excluded17 = ["name"],
|
|
3425
3295
|
_excluded18 = ["name"],
|
|
3426
3296
|
_excluded19 = ["name"],
|
|
3427
|
-
_excluded20 = ["
|
|
3428
|
-
_excluded21 = ["
|
|
3297
|
+
_excluded20 = ["name"],
|
|
3298
|
+
_excluded21 = ["layerName"],
|
|
3299
|
+
_excluded22 = ["name", "id"];
|
|
3429
3300
|
/**
|
|
3430
3301
|
* @title Spatial Processing Core API
|
|
3431
3302
|
* @version 1.5.1.0
|
|
@@ -3491,22 +3362,6 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
3491
3362
|
value: function getLayersList(query) {
|
|
3492
3363
|
return this.http.get("/layers", query).json();
|
|
3493
3364
|
}
|
|
3494
|
-
/**
|
|
3495
|
-
* No description
|
|
3496
|
-
*
|
|
3497
|
-
* @tags Layers
|
|
3498
|
-
* @name SetPermissionsBatch
|
|
3499
|
-
* @operationId LayersController_SetPermissionsBatch
|
|
3500
|
-
* @summary Overrides multiply resources permissions in single batch.
|
|
3501
|
-
* @request PUT:/layers
|
|
3502
|
-
* @response `200` OK
|
|
3503
|
-
*/
|
|
3504
|
-
|
|
3505
|
-
}, {
|
|
3506
|
-
key: "setPermissionsBatch",
|
|
3507
|
-
value: function setPermissionsBatch(data) {
|
|
3508
|
-
return this.http.put("/layers", data).then(() => {});
|
|
3509
|
-
}
|
|
3510
3365
|
/**
|
|
3511
3366
|
* No description
|
|
3512
3367
|
*
|
|
@@ -3737,36 +3592,54 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
3737
3592
|
* No description
|
|
3738
3593
|
*
|
|
3739
3594
|
* @tags Layers
|
|
3740
|
-
* @name
|
|
3741
|
-
* @operationId
|
|
3742
|
-
* @summary
|
|
3743
|
-
* @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
|
|
3744
3617
|
* @response `default` Error
|
|
3745
3618
|
*/
|
|
3746
3619
|
|
|
3747
3620
|
}, {
|
|
3748
|
-
key: "
|
|
3749
|
-
value: function
|
|
3621
|
+
key: "publishPythonService",
|
|
3622
|
+
value: function publishPythonService(data) {
|
|
3750
3623
|
return this.http.post("/layers", data, {
|
|
3751
|
-
type: '
|
|
3624
|
+
type: 'Python'
|
|
3752
3625
|
}).json();
|
|
3753
3626
|
}
|
|
3754
3627
|
/**
|
|
3755
3628
|
* No description
|
|
3756
3629
|
*
|
|
3757
3630
|
* @tags Layers
|
|
3758
|
-
* @name
|
|
3759
|
-
* @operationId
|
|
3760
|
-
* @summary Update
|
|
3761
|
-
* @request PATCH:/layers/{name}#type=
|
|
3631
|
+
* @name UpdatePythonService
|
|
3632
|
+
* @operationId LayersController_UpdatePythonService
|
|
3633
|
+
* @summary Update python service.
|
|
3634
|
+
* @request PATCH:/layers/{name}#type=Python
|
|
3762
3635
|
* @response `default` Error
|
|
3763
3636
|
*/
|
|
3764
3637
|
|
|
3765
3638
|
}, {
|
|
3766
|
-
key: "
|
|
3767
|
-
value: function
|
|
3639
|
+
key: "updatePythonService",
|
|
3640
|
+
value: function updatePythonService(name, data) {
|
|
3768
3641
|
return this.http.patch("/layers/" + name, data, {
|
|
3769
|
-
type: '
|
|
3642
|
+
type: 'Python'
|
|
3770
3643
|
}).json();
|
|
3771
3644
|
}
|
|
3772
3645
|
/**
|
|
@@ -3805,24 +3678,6 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
3805
3678
|
type: 'PostgresTileLayerService'
|
|
3806
3679
|
}).json();
|
|
3807
3680
|
}
|
|
3808
|
-
/**
|
|
3809
|
-
* No description
|
|
3810
|
-
*
|
|
3811
|
-
* @tags Layers
|
|
3812
|
-
* @name PublishCompositeService
|
|
3813
|
-
* @operationId LayersController_PublishCompositeService
|
|
3814
|
-
* @summary Creates new Composite service SPCore.Security.Base.Impl.Services.Composite.CompositeService.
|
|
3815
|
-
* @request POST:/layers#type=CompositeService
|
|
3816
|
-
* @response `default` Error
|
|
3817
|
-
*/
|
|
3818
|
-
|
|
3819
|
-
}, {
|
|
3820
|
-
key: "publishCompositeService",
|
|
3821
|
-
value: function publishCompositeService(data) {
|
|
3822
|
-
return this.http.post("/layers", data, {
|
|
3823
|
-
type: 'CompositeService'
|
|
3824
|
-
}).json();
|
|
3825
|
-
}
|
|
3826
3681
|
/**
|
|
3827
3682
|
* No description
|
|
3828
3683
|
*
|
|
@@ -3895,24 +3750,6 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
3895
3750
|
type: 'QueryLayerService'
|
|
3896
3751
|
}).json();
|
|
3897
3752
|
}
|
|
3898
|
-
/**
|
|
3899
|
-
* No description
|
|
3900
|
-
*
|
|
3901
|
-
* @tags Layers
|
|
3902
|
-
* @name UpdateCompositeService
|
|
3903
|
-
* @operationId LayersController_UpdateCompositeService
|
|
3904
|
-
* @summary Update Composite service SPCore.Security.Base.Impl.Services.Composite.CompositeService.
|
|
3905
|
-
* @request PATCH:/layers/{name}#type=CompositeService
|
|
3906
|
-
* @response `default` Error
|
|
3907
|
-
*/
|
|
3908
|
-
|
|
3909
|
-
}, {
|
|
3910
|
-
key: "updateCompositeService",
|
|
3911
|
-
value: function updateCompositeService(name, data) {
|
|
3912
|
-
return this.http.patch("/layers/" + name, data, {
|
|
3913
|
-
type: 'CompositeService'
|
|
3914
|
-
}).json();
|
|
3915
|
-
}
|
|
3916
3753
|
/**
|
|
3917
3754
|
* No description
|
|
3918
3755
|
*
|
|
@@ -4134,16 +3971,16 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4134
3971
|
* No description
|
|
4135
3972
|
*
|
|
4136
3973
|
* @tags Layers
|
|
4137
|
-
* @name
|
|
4138
|
-
* @operationId
|
|
3974
|
+
* @name GetTilesLayerImage1
|
|
3975
|
+
* @operationId LayersController_GetTilesLayerImage_1
|
|
4139
3976
|
* @summary Render tile with input indexes.
|
|
4140
3977
|
* @request GET:/layers/{name}/tile/{z}/{x}/{y}.{format}
|
|
4141
3978
|
* @response `200` OK
|
|
4142
3979
|
*/
|
|
4143
3980
|
|
|
4144
3981
|
}, {
|
|
4145
|
-
key: "
|
|
4146
|
-
value: function
|
|
3982
|
+
key: "getTilesLayerImage1",
|
|
3983
|
+
value: function getTilesLayerImage1(_ref8) {
|
|
4147
3984
|
let {
|
|
4148
3985
|
name,
|
|
4149
3986
|
x,
|
|
@@ -4155,6 +3992,32 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4155
3992
|
|
|
4156
3993
|
return this.http.createUrl("/layers/" + name + "/tile/" + z + "/" + x + "/" + y + "." + format, query);
|
|
4157
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
|
+
}
|
|
4158
4021
|
/**
|
|
4159
4022
|
* No description
|
|
4160
4023
|
*
|
|
@@ -4168,11 +4031,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4168
4031
|
|
|
4169
4032
|
}, {
|
|
4170
4033
|
key: "getLayerImage",
|
|
4171
|
-
value: function getLayerImage(
|
|
4034
|
+
value: function getLayerImage(_ref10) {
|
|
4172
4035
|
let {
|
|
4173
4036
|
name
|
|
4174
|
-
} =
|
|
4175
|
-
query = _objectWithoutPropertiesLoose(
|
|
4037
|
+
} = _ref10,
|
|
4038
|
+
query = _objectWithoutPropertiesLoose(_ref10, _excluded10);
|
|
4176
4039
|
|
|
4177
4040
|
return this.http.createUrl("/layers/" + name + "/export", query);
|
|
4178
4041
|
}
|
|
@@ -4189,11 +4052,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4189
4052
|
|
|
4190
4053
|
}, {
|
|
4191
4054
|
key: "getLayerExtent",
|
|
4192
|
-
value: function getLayerExtent(
|
|
4055
|
+
value: function getLayerExtent(_ref11) {
|
|
4193
4056
|
let {
|
|
4194
4057
|
name
|
|
4195
|
-
} =
|
|
4196
|
-
query = _objectWithoutPropertiesLoose(
|
|
4058
|
+
} = _ref11,
|
|
4059
|
+
query = _objectWithoutPropertiesLoose(_ref11, _excluded11);
|
|
4197
4060
|
|
|
4198
4061
|
return this.http.get("/layers/" + name + "/extent", query).json();
|
|
4199
4062
|
}
|
|
@@ -4210,11 +4073,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4210
4073
|
|
|
4211
4074
|
}, {
|
|
4212
4075
|
key: "getByGeometry",
|
|
4213
|
-
value: function getByGeometry(
|
|
4076
|
+
value: function getByGeometry(_ref12) {
|
|
4214
4077
|
let {
|
|
4215
4078
|
name
|
|
4216
|
-
} =
|
|
4217
|
-
query = _objectWithoutPropertiesLoose(
|
|
4079
|
+
} = _ref12,
|
|
4080
|
+
query = _objectWithoutPropertiesLoose(_ref12, _excluded12);
|
|
4218
4081
|
|
|
4219
4082
|
return this.http.get("/layers/" + name + "/features/getByGeometry", query).json();
|
|
4220
4083
|
}
|
|
@@ -4231,11 +4094,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4231
4094
|
|
|
4232
4095
|
}, {
|
|
4233
4096
|
key: "getByGeometryPost",
|
|
4234
|
-
value: function getByGeometryPost(
|
|
4097
|
+
value: function getByGeometryPost(_ref13, data) {
|
|
4235
4098
|
let {
|
|
4236
4099
|
name
|
|
4237
|
-
} =
|
|
4238
|
-
query = _objectWithoutPropertiesLoose(
|
|
4100
|
+
} = _ref13,
|
|
4101
|
+
query = _objectWithoutPropertiesLoose(_ref13, _excluded13);
|
|
4239
4102
|
|
|
4240
4103
|
return this.http.post("/layers/" + name + "/features/getByGeometry", data, query).json();
|
|
4241
4104
|
}
|
|
@@ -4252,11 +4115,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4252
4115
|
|
|
4253
4116
|
}, {
|
|
4254
4117
|
key: "deleteFeatures",
|
|
4255
|
-
value: function deleteFeatures(
|
|
4118
|
+
value: function deleteFeatures(_ref14) {
|
|
4256
4119
|
let {
|
|
4257
4120
|
name
|
|
4258
|
-
} =
|
|
4259
|
-
query = _objectWithoutPropertiesLoose(
|
|
4121
|
+
} = _ref14,
|
|
4122
|
+
query = _objectWithoutPropertiesLoose(_ref14, _excluded14);
|
|
4260
4123
|
|
|
4261
4124
|
return this.http.delete("/layers/" + name + "/features/deleteByIds", null, query).json();
|
|
4262
4125
|
}
|
|
@@ -4273,11 +4136,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4273
4136
|
|
|
4274
4137
|
}, {
|
|
4275
4138
|
key: "deleteByCondition",
|
|
4276
|
-
value: function deleteByCondition(
|
|
4139
|
+
value: function deleteByCondition(_ref15) {
|
|
4277
4140
|
let {
|
|
4278
4141
|
name
|
|
4279
|
-
} =
|
|
4280
|
-
query = _objectWithoutPropertiesLoose(
|
|
4142
|
+
} = _ref15,
|
|
4143
|
+
query = _objectWithoutPropertiesLoose(_ref15, _excluded15);
|
|
4281
4144
|
|
|
4282
4145
|
return this.http.delete("/layers/" + name + "/features/deleteByCondition", null, query).json();
|
|
4283
4146
|
}
|
|
@@ -4294,11 +4157,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4294
4157
|
|
|
4295
4158
|
}, {
|
|
4296
4159
|
key: "getByGeometryGet",
|
|
4297
|
-
value: function getByGeometryGet(
|
|
4160
|
+
value: function getByGeometryGet(_ref16) {
|
|
4298
4161
|
let {
|
|
4299
4162
|
name
|
|
4300
|
-
} =
|
|
4301
|
-
query = _objectWithoutPropertiesLoose(
|
|
4163
|
+
} = _ref16,
|
|
4164
|
+
query = _objectWithoutPropertiesLoose(_ref16, _excluded16);
|
|
4302
4165
|
|
|
4303
4166
|
return this.http.get("/layers/" + name + "/features/getByGeometryByClick", query).json();
|
|
4304
4167
|
}
|
|
@@ -4315,11 +4178,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4315
4178
|
|
|
4316
4179
|
}, {
|
|
4317
4180
|
key: "classify",
|
|
4318
|
-
value: function classify(
|
|
4181
|
+
value: function classify(_ref17) {
|
|
4319
4182
|
let {
|
|
4320
4183
|
name
|
|
4321
|
-
} =
|
|
4322
|
-
query = _objectWithoutPropertiesLoose(
|
|
4184
|
+
} = _ref17,
|
|
4185
|
+
query = _objectWithoutPropertiesLoose(_ref17, _excluded17);
|
|
4323
4186
|
|
|
4324
4187
|
return this.http.get("/layers/" + name + "/classify", query).json();
|
|
4325
4188
|
}
|
|
@@ -4336,11 +4199,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4336
4199
|
|
|
4337
4200
|
}, {
|
|
4338
4201
|
key: "distincts",
|
|
4339
|
-
value: function distincts(
|
|
4202
|
+
value: function distincts(_ref18) {
|
|
4340
4203
|
let {
|
|
4341
4204
|
name
|
|
4342
|
-
} =
|
|
4343
|
-
query = _objectWithoutPropertiesLoose(
|
|
4205
|
+
} = _ref18,
|
|
4206
|
+
query = _objectWithoutPropertiesLoose(_ref18, _excluded18);
|
|
4344
4207
|
|
|
4345
4208
|
return this.http.get("/layers/" + name + "/distincts", query).json();
|
|
4346
4209
|
}
|
|
@@ -4357,11 +4220,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4357
4220
|
|
|
4358
4221
|
}, {
|
|
4359
4222
|
key: "aggregateAttribute",
|
|
4360
|
-
value: function aggregateAttribute(
|
|
4223
|
+
value: function aggregateAttribute(_ref19) {
|
|
4361
4224
|
let {
|
|
4362
4225
|
name
|
|
4363
|
-
} =
|
|
4364
|
-
query = _objectWithoutPropertiesLoose(
|
|
4226
|
+
} = _ref19,
|
|
4227
|
+
query = _objectWithoutPropertiesLoose(_ref19, _excluded19);
|
|
4365
4228
|
|
|
4366
4229
|
return this.http.get("/layers/" + name + "/aggregate-values", query).json();
|
|
4367
4230
|
}
|
|
@@ -4378,11 +4241,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4378
4241
|
|
|
4379
4242
|
}, {
|
|
4380
4243
|
key: "getFilteredFeaturesCount",
|
|
4381
|
-
value: function getFilteredFeaturesCount(
|
|
4244
|
+
value: function getFilteredFeaturesCount(_ref20) {
|
|
4382
4245
|
let {
|
|
4383
4246
|
name
|
|
4384
|
-
} =
|
|
4385
|
-
query = _objectWithoutPropertiesLoose(
|
|
4247
|
+
} = _ref20,
|
|
4248
|
+
query = _objectWithoutPropertiesLoose(_ref20, _excluded20);
|
|
4386
4249
|
|
|
4387
4250
|
return this.http.get("/layers/" + name + "/features/count", query).json();
|
|
4388
4251
|
}
|
|
@@ -4448,11 +4311,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4448
4311
|
|
|
4449
4312
|
}, {
|
|
4450
4313
|
key: "validateExpression",
|
|
4451
|
-
value: function validateExpression(
|
|
4314
|
+
value: function validateExpression(_ref21) {
|
|
4452
4315
|
let {
|
|
4453
4316
|
layerName
|
|
4454
|
-
} =
|
|
4455
|
-
query = _objectWithoutPropertiesLoose(
|
|
4317
|
+
} = _ref21,
|
|
4318
|
+
query = _objectWithoutPropertiesLoose(_ref21, _excluded21);
|
|
4456
4319
|
|
|
4457
4320
|
return this.http.get("/layers/" + layerName + "/validateExpression", query).json();
|
|
4458
4321
|
}
|
|
@@ -4469,12 +4332,12 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4469
4332
|
|
|
4470
4333
|
}, {
|
|
4471
4334
|
key: "getRasterMeta",
|
|
4472
|
-
value: function getRasterMeta(
|
|
4335
|
+
value: function getRasterMeta(_ref22) {
|
|
4473
4336
|
let {
|
|
4474
4337
|
name,
|
|
4475
4338
|
id
|
|
4476
|
-
} =
|
|
4477
|
-
query = _objectWithoutPropertiesLoose(
|
|
4339
|
+
} = _ref22,
|
|
4340
|
+
query = _objectWithoutPropertiesLoose(_ref22, _excluded22);
|
|
4478
4341
|
|
|
4479
4342
|
return this.http.get("/layers/" + name + "/" + id + "/metadata", query).json();
|
|
4480
4343
|
}
|
|
@@ -4558,54 +4421,6 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4558
4421
|
value: function getDataLayout(name) {
|
|
4559
4422
|
return this.http.get("/layers/" + name + "/style/sprite.json").then(() => {});
|
|
4560
4423
|
}
|
|
4561
|
-
/**
|
|
4562
|
-
* No description
|
|
4563
|
-
*
|
|
4564
|
-
* @tags Layers
|
|
4565
|
-
* @name GetPreview
|
|
4566
|
-
* @operationId LayersController_GetPreview
|
|
4567
|
-
* @summary Gets preview of resource.
|
|
4568
|
-
* @request GET:/layers/{name}/preview
|
|
4569
|
-
* @response `200` OK
|
|
4570
|
-
*/
|
|
4571
|
-
|
|
4572
|
-
}, {
|
|
4573
|
-
key: "getPreview",
|
|
4574
|
-
value: function getPreview(name) {
|
|
4575
|
-
return this.http.createUrl("/layers/" + name + "/preview");
|
|
4576
|
-
}
|
|
4577
|
-
/**
|
|
4578
|
-
* No description
|
|
4579
|
-
*
|
|
4580
|
-
* @tags Layers
|
|
4581
|
-
* @name SetPreview
|
|
4582
|
-
* @operationId LayersController_SetPreview
|
|
4583
|
-
* @summary Sets preview to the resource.
|
|
4584
|
-
* @request POST:/layers/{name}/preview
|
|
4585
|
-
* @response `200` OK
|
|
4586
|
-
*/
|
|
4587
|
-
|
|
4588
|
-
}, {
|
|
4589
|
-
key: "setPreview",
|
|
4590
|
-
value: function setPreview(name, data) {
|
|
4591
|
-
return this.http.post("/layers/" + name + "/preview", toFormData(data)).json();
|
|
4592
|
-
}
|
|
4593
|
-
/**
|
|
4594
|
-
* No description
|
|
4595
|
-
*
|
|
4596
|
-
* @tags Layers
|
|
4597
|
-
* @name DeletePreview
|
|
4598
|
-
* @operationId LayersController_DeletePreview
|
|
4599
|
-
* @summary Delete resource preview.
|
|
4600
|
-
* @request DELETE:/layers/{name}/preview
|
|
4601
|
-
* @response `200` OK
|
|
4602
|
-
*/
|
|
4603
|
-
|
|
4604
|
-
}, {
|
|
4605
|
-
key: "deletePreview",
|
|
4606
|
-
value: function deletePreview(name) {
|
|
4607
|
-
return this.http.delete("/layers/" + name + "/preview", null).then(() => {});
|
|
4608
|
-
}
|
|
4609
4424
|
/**
|
|
4610
4425
|
* No description
|
|
4611
4426
|
*
|
|
@@ -4654,70 +4469,6 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4654
4469
|
value: function getResourceReferences(name) {
|
|
4655
4470
|
return this.http.get("/layers/" + name + "/references").json();
|
|
4656
4471
|
}
|
|
4657
|
-
/**
|
|
4658
|
-
* No description
|
|
4659
|
-
*
|
|
4660
|
-
* @tags Layers
|
|
4661
|
-
* @name GetPermissions
|
|
4662
|
-
* @operationId LayersController_GetPermissions
|
|
4663
|
-
* @summary Returns resource permissions.
|
|
4664
|
-
* @request GET:/layers/{name}/permissions
|
|
4665
|
-
* @response `200` OK
|
|
4666
|
-
*/
|
|
4667
|
-
|
|
4668
|
-
}, {
|
|
4669
|
-
key: "getPermissions",
|
|
4670
|
-
value: function getPermissions(name) {
|
|
4671
|
-
return this.http.get("/layers/" + name + "/permissions").json();
|
|
4672
|
-
}
|
|
4673
|
-
/**
|
|
4674
|
-
* No description
|
|
4675
|
-
*
|
|
4676
|
-
* @tags Layers
|
|
4677
|
-
* @name AddPermissions
|
|
4678
|
-
* @operationId LayersController_AddPermissions
|
|
4679
|
-
* @summary Adds permissions for the layer, combining existing permissions with the given one.
|
|
4680
|
-
* @request POST:/layers/{name}/permissions
|
|
4681
|
-
* @response `200` OK
|
|
4682
|
-
*/
|
|
4683
|
-
|
|
4684
|
-
}, {
|
|
4685
|
-
key: "addPermissions",
|
|
4686
|
-
value: function addPermissions(name, data) {
|
|
4687
|
-
return this.http.post("/layers/" + name + "/permissions", data).json();
|
|
4688
|
-
}
|
|
4689
|
-
/**
|
|
4690
|
-
* No description
|
|
4691
|
-
*
|
|
4692
|
-
* @tags Layers
|
|
4693
|
-
* @name SetPermissions
|
|
4694
|
-
* @operationId LayersController_SetPermissions
|
|
4695
|
-
* @summary Replaces existing access control list for the layer with the given one.
|
|
4696
|
-
* @request PUT:/layers/{name}/permissions
|
|
4697
|
-
* @response `200` OK
|
|
4698
|
-
*/
|
|
4699
|
-
|
|
4700
|
-
}, {
|
|
4701
|
-
key: "setPermissions",
|
|
4702
|
-
value: function setPermissions(name, data) {
|
|
4703
|
-
return this.http.put("/layers/" + name + "/permissions", data).json();
|
|
4704
|
-
}
|
|
4705
|
-
/**
|
|
4706
|
-
* No description
|
|
4707
|
-
*
|
|
4708
|
-
* @tags Layers
|
|
4709
|
-
* @name RemovePermissions
|
|
4710
|
-
* @operationId LayersController_RemovePermissions
|
|
4711
|
-
* @summary Removes permissions for the layer for the given role.
|
|
4712
|
-
* @request DELETE:/layers/{name}/permissions/{role}
|
|
4713
|
-
* @response `200` OK
|
|
4714
|
-
*/
|
|
4715
|
-
|
|
4716
|
-
}, {
|
|
4717
|
-
key: "removePermissions",
|
|
4718
|
-
value: function removePermissions(name, role) {
|
|
4719
|
-
return this.http.delete("/layers/" + name + "/permissions/" + role, null).json();
|
|
4720
|
-
}
|
|
4721
4472
|
}]);
|
|
4722
4473
|
|
|
4723
4474
|
return LayersService;
|
|
@@ -4766,11 +4517,6 @@ let Layers = /*#__PURE__*/function (_LayersService) {
|
|
|
4766
4517
|
types: ['LocalTileService', 'RemoteTileService']
|
|
4767
4518
|
}));
|
|
4768
4519
|
}
|
|
4769
|
-
}, {
|
|
4770
|
-
key: "createSubLayer",
|
|
4771
|
-
value: function createSubLayer(configuration) {
|
|
4772
|
-
return this.publishStyledLayerService(configuration);
|
|
4773
|
-
}
|
|
4774
4520
|
}, {
|
|
4775
4521
|
key: "createTileLayer",
|
|
4776
4522
|
value: function createTileLayer(_ref) {
|
|
@@ -4799,13 +4545,6 @@ let Layers = /*#__PURE__*/function (_LayersService) {
|
|
|
4799
4545
|
|
|
4800
4546
|
return this.updateLocalTileService(configuration.name, configuration);
|
|
4801
4547
|
}
|
|
4802
|
-
}, {
|
|
4803
|
-
key: "uploadPreview",
|
|
4804
|
-
value: function uploadPreview(name, file) {
|
|
4805
|
-
return this.setPreview(name, {
|
|
4806
|
-
file
|
|
4807
|
-
});
|
|
4808
|
-
}
|
|
4809
4548
|
}, {
|
|
4810
4549
|
key: "findOne",
|
|
4811
4550
|
value: function findOne(name) {
|
|
@@ -5049,106 +4788,6 @@ let Names = /*#__PURE__*/function () {
|
|
|
5049
4788
|
return Names;
|
|
5050
4789
|
}();
|
|
5051
4790
|
|
|
5052
|
-
/**
|
|
5053
|
-
* @title Spatial Processing Core API
|
|
5054
|
-
* @version 1.5.1.0
|
|
5055
|
-
* @baseUrl /sp
|
|
5056
|
-
*/
|
|
5057
|
-
|
|
5058
|
-
let NamespaceService = /*#__PURE__*/function (_Service) {
|
|
5059
|
-
_inherits(NamespaceService, _Service);
|
|
5060
|
-
|
|
5061
|
-
var _super = /*#__PURE__*/_createSuper(NamespaceService);
|
|
5062
|
-
|
|
5063
|
-
function NamespaceService() {
|
|
5064
|
-
_classCallCheck(this, NamespaceService);
|
|
5065
|
-
|
|
5066
|
-
return _super.apply(this, arguments);
|
|
5067
|
-
}
|
|
5068
|
-
|
|
5069
|
-
_createClass(NamespaceService, [{
|
|
5070
|
-
key: "getNamespaces",
|
|
5071
|
-
value:
|
|
5072
|
-
/**
|
|
5073
|
-
* No description
|
|
5074
|
-
*
|
|
5075
|
-
* @tags Namespace
|
|
5076
|
-
* @name GetNamespaces
|
|
5077
|
-
* @operationId NamespaceController_GetNamespacesAsync
|
|
5078
|
-
* @summary Returns the list of existing namespaces, that correspond to the given conditions.
|
|
5079
|
-
* @request GET:/namespaces
|
|
5080
|
-
* @response `200` OK
|
|
5081
|
-
*/
|
|
5082
|
-
function getNamespaces(query) {
|
|
5083
|
-
return this.http.get("/namespaces", query).json();
|
|
5084
|
-
}
|
|
5085
|
-
/**
|
|
5086
|
-
* No description
|
|
5087
|
-
*
|
|
5088
|
-
* @tags Namespace
|
|
5089
|
-
* @name CreateNamespace
|
|
5090
|
-
* @operationId NamespaceController_CreateNamespace
|
|
5091
|
-
* @summary Creates a new namespace.
|
|
5092
|
-
* @request POST:/namespaces
|
|
5093
|
-
* @response `200` OK
|
|
5094
|
-
*/
|
|
5095
|
-
|
|
5096
|
-
}, {
|
|
5097
|
-
key: "createNamespace",
|
|
5098
|
-
value: function createNamespace(query) {
|
|
5099
|
-
return this.http.post("/namespaces", null, query).json();
|
|
5100
|
-
}
|
|
5101
|
-
/**
|
|
5102
|
-
* No description
|
|
5103
|
-
*
|
|
5104
|
-
* @tags Namespace
|
|
5105
|
-
* @name GetNamespace
|
|
5106
|
-
* @operationId NamespaceController_GetNamespaceAsync
|
|
5107
|
-
* @summary Get namespace information.
|
|
5108
|
-
* @request GET:/namespaces/{namespace}
|
|
5109
|
-
* @response `200` OK
|
|
5110
|
-
*/
|
|
5111
|
-
|
|
5112
|
-
}, {
|
|
5113
|
-
key: "getNamespace",
|
|
5114
|
-
value: function getNamespace(namespace) {
|
|
5115
|
-
return this.http.get("/namespaces/" + namespace).json();
|
|
5116
|
-
}
|
|
5117
|
-
/**
|
|
5118
|
-
* No description
|
|
5119
|
-
*
|
|
5120
|
-
* @tags Namespace
|
|
5121
|
-
* @name RemoveNamespace
|
|
5122
|
-
* @operationId NamespaceController_RemoveNamespaceAsync
|
|
5123
|
-
* @summary Remove namespace.
|
|
5124
|
-
* @request DELETE:/namespaces/{namespace}
|
|
5125
|
-
* @response `200` OK
|
|
5126
|
-
*/
|
|
5127
|
-
|
|
5128
|
-
}, {
|
|
5129
|
-
key: "removeNamespace",
|
|
5130
|
-
value: function removeNamespace(namespace) {
|
|
5131
|
-
return this.http.delete("/namespaces/" + namespace, null).then(() => {});
|
|
5132
|
-
}
|
|
5133
|
-
}]);
|
|
5134
|
-
|
|
5135
|
-
return NamespaceService;
|
|
5136
|
-
}(Service);
|
|
5137
|
-
|
|
5138
|
-
let Namespace = /*#__PURE__*/function (_NamespaceService) {
|
|
5139
|
-
_inherits(Namespace, _NamespaceService);
|
|
5140
|
-
|
|
5141
|
-
var _super = /*#__PURE__*/_createSuper(Namespace);
|
|
5142
|
-
|
|
5143
|
-
function Namespace() {
|
|
5144
|
-
_classCallCheck(this, Namespace);
|
|
5145
|
-
|
|
5146
|
-
return _super.apply(this, arguments);
|
|
5147
|
-
}
|
|
5148
|
-
|
|
5149
|
-
return _createClass(Namespace);
|
|
5150
|
-
}(NamespaceService);
|
|
5151
|
-
|
|
5152
4791
|
/**
|
|
5153
4792
|
* @title Spatial Processing Core API
|
|
5154
4793
|
* @version 1.5.1.0
|
|
@@ -5637,22 +5276,6 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
|
|
|
5637
5276
|
value: function createProject(data) {
|
|
5638
5277
|
return this.http.post("/projects", data).json();
|
|
5639
5278
|
}
|
|
5640
|
-
/**
|
|
5641
|
-
* No description
|
|
5642
|
-
*
|
|
5643
|
-
* @tags Projects
|
|
5644
|
-
* @name SetPermissionsBatch
|
|
5645
|
-
* @operationId ProjectsController_SetPermissionsBatch
|
|
5646
|
-
* @summary Overrides multiply resources permissions in single batch.
|
|
5647
|
-
* @request PUT:/projects
|
|
5648
|
-
* @response `200` OK
|
|
5649
|
-
*/
|
|
5650
|
-
|
|
5651
|
-
}, {
|
|
5652
|
-
key: "setPermissionsBatch",
|
|
5653
|
-
value: function setPermissionsBatch(data) {
|
|
5654
|
-
return this.http.put("/projects", data).then(() => {});
|
|
5655
|
-
}
|
|
5656
5279
|
/**
|
|
5657
5280
|
* No description
|
|
5658
5281
|
*
|
|
@@ -5806,49 +5429,17 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
|
|
|
5806
5429
|
* No description
|
|
5807
5430
|
*
|
|
5808
5431
|
* @tags Projects
|
|
5809
|
-
* @name
|
|
5810
|
-
* @operationId
|
|
5811
|
-
* @summary
|
|
5812
|
-
* @request GET:/projects/{name}/
|
|
5813
|
-
* @response `200` OK
|
|
5814
|
-
*/
|
|
5815
|
-
|
|
5816
|
-
}, {
|
|
5817
|
-
key: "getPreview",
|
|
5818
|
-
value: function getPreview(name) {
|
|
5819
|
-
return this.http.createUrl("/projects/" + name + "/preview");
|
|
5820
|
-
}
|
|
5821
|
-
/**
|
|
5822
|
-
* No description
|
|
5823
|
-
*
|
|
5824
|
-
* @tags Projects
|
|
5825
|
-
* @name SetPreview
|
|
5826
|
-
* @operationId ProjectsController_SetPreview
|
|
5827
|
-
* @summary Sets preview to the resource.
|
|
5828
|
-
* @request POST:/projects/{name}/preview
|
|
5829
|
-
* @response `200` OK
|
|
5830
|
-
*/
|
|
5831
|
-
|
|
5832
|
-
}, {
|
|
5833
|
-
key: "setPreview",
|
|
5834
|
-
value: function setPreview(name, data) {
|
|
5835
|
-
return this.http.post("/projects/" + name + "/preview", toFormData(data)).json();
|
|
5836
|
-
}
|
|
5837
|
-
/**
|
|
5838
|
-
* No description
|
|
5839
|
-
*
|
|
5840
|
-
* @tags Projects
|
|
5841
|
-
* @name DeletePreview
|
|
5842
|
-
* @operationId ProjectsController_DeletePreview
|
|
5843
|
-
* @summary Delete resource preview.
|
|
5844
|
-
* @request DELETE:/projects/{name}/preview
|
|
5432
|
+
* @name GetTilesLayerImageWithFormatAndDpi
|
|
5433
|
+
* @operationId ProjectsController_GetTilesLayerImageWithFormatAndDpi
|
|
5434
|
+
* @summary Render tile.
|
|
5435
|
+
* @request GET:/projects/{name}/tile/{z}/{x}/{y}@{dpi}x.{format}
|
|
5845
5436
|
* @response `200` OK
|
|
5846
5437
|
*/
|
|
5847
5438
|
|
|
5848
5439
|
}, {
|
|
5849
|
-
key: "
|
|
5850
|
-
value: function
|
|
5851
|
-
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);
|
|
5852
5443
|
}
|
|
5853
5444
|
/**
|
|
5854
5445
|
* No description
|
|
@@ -5898,70 +5489,6 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
|
|
|
5898
5489
|
value: function getResourceReferences(name) {
|
|
5899
5490
|
return this.http.get("/projects/" + name + "/references").json();
|
|
5900
5491
|
}
|
|
5901
|
-
/**
|
|
5902
|
-
* No description
|
|
5903
|
-
*
|
|
5904
|
-
* @tags Projects
|
|
5905
|
-
* @name GetPermissions
|
|
5906
|
-
* @operationId ProjectsController_GetPermissions
|
|
5907
|
-
* @summary Returns resource permissions.
|
|
5908
|
-
* @request GET:/projects/{name}/permissions
|
|
5909
|
-
* @response `200` OK
|
|
5910
|
-
*/
|
|
5911
|
-
|
|
5912
|
-
}, {
|
|
5913
|
-
key: "getPermissions",
|
|
5914
|
-
value: function getPermissions(name) {
|
|
5915
|
-
return this.http.get("/projects/" + name + "/permissions").json();
|
|
5916
|
-
}
|
|
5917
|
-
/**
|
|
5918
|
-
* No description
|
|
5919
|
-
*
|
|
5920
|
-
* @tags Projects
|
|
5921
|
-
* @name AddPermissions
|
|
5922
|
-
* @operationId ProjectsController_AddPermissions
|
|
5923
|
-
* @summary Adds permissions for the layer, combining existing permissions with the given one.
|
|
5924
|
-
* @request POST:/projects/{name}/permissions
|
|
5925
|
-
* @response `200` OK
|
|
5926
|
-
*/
|
|
5927
|
-
|
|
5928
|
-
}, {
|
|
5929
|
-
key: "addPermissions",
|
|
5930
|
-
value: function addPermissions(name, data) {
|
|
5931
|
-
return this.http.post("/projects/" + name + "/permissions", data).json();
|
|
5932
|
-
}
|
|
5933
|
-
/**
|
|
5934
|
-
* No description
|
|
5935
|
-
*
|
|
5936
|
-
* @tags Projects
|
|
5937
|
-
* @name SetPermissions
|
|
5938
|
-
* @operationId ProjectsController_SetPermissions
|
|
5939
|
-
* @summary Replaces existing access control list for the layer with the given one.
|
|
5940
|
-
* @request PUT:/projects/{name}/permissions
|
|
5941
|
-
* @response `200` OK
|
|
5942
|
-
*/
|
|
5943
|
-
|
|
5944
|
-
}, {
|
|
5945
|
-
key: "setPermissions",
|
|
5946
|
-
value: function setPermissions(name, data) {
|
|
5947
|
-
return this.http.put("/projects/" + name + "/permissions", data).json();
|
|
5948
|
-
}
|
|
5949
|
-
/**
|
|
5950
|
-
* No description
|
|
5951
|
-
*
|
|
5952
|
-
* @tags Projects
|
|
5953
|
-
* @name RemovePermissions
|
|
5954
|
-
* @operationId ProjectsController_RemovePermissions
|
|
5955
|
-
* @summary Removes permissions for the layer for the given role.
|
|
5956
|
-
* @request DELETE:/projects/{name}/permissions/{role}
|
|
5957
|
-
* @response `200` OK
|
|
5958
|
-
*/
|
|
5959
|
-
|
|
5960
|
-
}, {
|
|
5961
|
-
key: "removePermissions",
|
|
5962
|
-
value: function removePermissions(name, role) {
|
|
5963
|
-
return this.http.delete("/projects/" + name + "/permissions/" + role, null).json();
|
|
5964
|
-
}
|
|
5965
5492
|
}]);
|
|
5966
5493
|
|
|
5967
5494
|
return ProjectsService;
|
|
@@ -5988,13 +5515,6 @@ let Projects = /*#__PURE__*/function (_ProjectsService) {
|
|
|
5988
5515
|
value: function getProjectsDeps(proejcts) {
|
|
5989
5516
|
return promiseAllIgnoreErrors(proejcts.map(project => this.getResourceDependencies(project)));
|
|
5990
5517
|
}
|
|
5991
|
-
}, {
|
|
5992
|
-
key: "uploadPreview",
|
|
5993
|
-
value: function uploadPreview(name, file) {
|
|
5994
|
-
return this.setPreview(name, {
|
|
5995
|
-
file
|
|
5996
|
-
});
|
|
5997
|
-
}
|
|
5998
5518
|
}, {
|
|
5999
5519
|
key: "findOne",
|
|
6000
5520
|
value: function findOne(name) {
|
|
@@ -6029,7 +5549,8 @@ function isProjectContentItems(v) {
|
|
|
6029
5549
|
return v !== null && v !== undefined;
|
|
6030
5550
|
}
|
|
6031
5551
|
|
|
6032
|
-
const _excluded$6 = ["id"]
|
|
5552
|
+
const _excluded$6 = ["id"],
|
|
5553
|
+
_excluded2$4 = ["id"];
|
|
6033
5554
|
/**
|
|
6034
5555
|
* @title Spatial Processing Core API
|
|
6035
5556
|
* @version 1.5.1.0
|
|
@@ -6408,6 +5929,79 @@ let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
|
|
|
6408
5929
|
value: function startTask1(id) {
|
|
6409
5930
|
return this.http.post("/scheduler/" + id + "/start", null).then(() => {});
|
|
6410
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
|
+
}
|
|
6411
6005
|
/**
|
|
6412
6006
|
* No description
|
|
6413
6007
|
*
|
|
@@ -6440,6 +6034,22 @@ let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
|
|
|
6440
6034
|
value: function post(data) {
|
|
6441
6035
|
return this.http.post("/scheduler/worker", data).json();
|
|
6442
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
|
+
}
|
|
6443
6053
|
}]);
|
|
6444
6054
|
|
|
6445
6055
|
return RemoteTaskManagerService;
|
|
@@ -7110,7 +6720,7 @@ let Styles = /*#__PURE__*/function (_StyleService) {
|
|
|
7110
6720
|
}(StyleService);
|
|
7111
6721
|
|
|
7112
6722
|
const _excluded$7 = ["name"],
|
|
7113
|
-
_excluded2$
|
|
6723
|
+
_excluded2$5 = ["name"],
|
|
7114
6724
|
_excluded3$3 = ["name"],
|
|
7115
6725
|
_excluded4$2 = ["name"];
|
|
7116
6726
|
/**
|
|
@@ -7162,22 +6772,6 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
7162
6772
|
value: function createTable(data) {
|
|
7163
6773
|
return this.http.post("/tables", data).json();
|
|
7164
6774
|
}
|
|
7165
|
-
/**
|
|
7166
|
-
* No description
|
|
7167
|
-
*
|
|
7168
|
-
* @tags Tables
|
|
7169
|
-
* @name SetPermissionsBatch
|
|
7170
|
-
* @operationId TablesController_SetPermissionsBatch
|
|
7171
|
-
* @summary Overrides multiply resources permissions in single batch.
|
|
7172
|
-
* @request PUT:/tables
|
|
7173
|
-
* @response `200` OK
|
|
7174
|
-
*/
|
|
7175
|
-
|
|
7176
|
-
}, {
|
|
7177
|
-
key: "setPermissionsBatch",
|
|
7178
|
-
value: function setPermissionsBatch(data) {
|
|
7179
|
-
return this.http.put("/tables", data).then(() => {});
|
|
7180
|
-
}
|
|
7181
6775
|
/**
|
|
7182
6776
|
* No description
|
|
7183
6777
|
*
|
|
@@ -7328,7 +6922,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
7328
6922
|
let {
|
|
7329
6923
|
name
|
|
7330
6924
|
} = _ref2,
|
|
7331
|
-
query = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
6925
|
+
query = _objectWithoutPropertiesLoose(_ref2, _excluded2$5);
|
|
7332
6926
|
|
|
7333
6927
|
return this.http.patch("/tables/" + name + "/data", data, query).then(() => {});
|
|
7334
6928
|
}
|
|
@@ -7438,54 +7032,6 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
7438
7032
|
value: function createViewFromQuery(data) {
|
|
7439
7033
|
return this.http.post("/tables/fromQuery", data).json();
|
|
7440
7034
|
}
|
|
7441
|
-
/**
|
|
7442
|
-
* No description
|
|
7443
|
-
*
|
|
7444
|
-
* @tags Tables
|
|
7445
|
-
* @name GetPreview
|
|
7446
|
-
* @operationId TablesController_GetPreview
|
|
7447
|
-
* @summary Gets preview of resource.
|
|
7448
|
-
* @request GET:/tables/{name}/preview
|
|
7449
|
-
* @response `200` OK
|
|
7450
|
-
*/
|
|
7451
|
-
|
|
7452
|
-
}, {
|
|
7453
|
-
key: "getPreview",
|
|
7454
|
-
value: function getPreview(name) {
|
|
7455
|
-
return this.http.createUrl("/tables/" + name + "/preview");
|
|
7456
|
-
}
|
|
7457
|
-
/**
|
|
7458
|
-
* No description
|
|
7459
|
-
*
|
|
7460
|
-
* @tags Tables
|
|
7461
|
-
* @name SetPreview
|
|
7462
|
-
* @operationId TablesController_SetPreview
|
|
7463
|
-
* @summary Sets preview to the resource.
|
|
7464
|
-
* @request POST:/tables/{name}/preview
|
|
7465
|
-
* @response `200` OK
|
|
7466
|
-
*/
|
|
7467
|
-
|
|
7468
|
-
}, {
|
|
7469
|
-
key: "setPreview",
|
|
7470
|
-
value: function setPreview(name, data) {
|
|
7471
|
-
return this.http.post("/tables/" + name + "/preview", toFormData(data)).json();
|
|
7472
|
-
}
|
|
7473
|
-
/**
|
|
7474
|
-
* No description
|
|
7475
|
-
*
|
|
7476
|
-
* @tags Tables
|
|
7477
|
-
* @name DeletePreview
|
|
7478
|
-
* @operationId TablesController_DeletePreview
|
|
7479
|
-
* @summary Delete resource preview.
|
|
7480
|
-
* @request DELETE:/tables/{name}/preview
|
|
7481
|
-
* @response `200` OK
|
|
7482
|
-
*/
|
|
7483
|
-
|
|
7484
|
-
}, {
|
|
7485
|
-
key: "deletePreview",
|
|
7486
|
-
value: function deletePreview(name) {
|
|
7487
|
-
return this.http.delete("/tables/" + name + "/preview", null).then(() => {});
|
|
7488
|
-
}
|
|
7489
7035
|
/**
|
|
7490
7036
|
* No description
|
|
7491
7037
|
*
|
|
@@ -7534,70 +7080,6 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
7534
7080
|
value: function getResourceReferences(name) {
|
|
7535
7081
|
return this.http.get("/tables/" + name + "/references").json();
|
|
7536
7082
|
}
|
|
7537
|
-
/**
|
|
7538
|
-
* No description
|
|
7539
|
-
*
|
|
7540
|
-
* @tags Tables
|
|
7541
|
-
* @name GetPermissions
|
|
7542
|
-
* @operationId TablesController_GetPermissions
|
|
7543
|
-
* @summary Returns resource permissions.
|
|
7544
|
-
* @request GET:/tables/{name}/permissions
|
|
7545
|
-
* @response `200` OK
|
|
7546
|
-
*/
|
|
7547
|
-
|
|
7548
|
-
}, {
|
|
7549
|
-
key: "getPermissions",
|
|
7550
|
-
value: function getPermissions(name) {
|
|
7551
|
-
return this.http.get("/tables/" + name + "/permissions").json();
|
|
7552
|
-
}
|
|
7553
|
-
/**
|
|
7554
|
-
* No description
|
|
7555
|
-
*
|
|
7556
|
-
* @tags Tables
|
|
7557
|
-
* @name AddPermissions
|
|
7558
|
-
* @operationId TablesController_AddPermissions
|
|
7559
|
-
* @summary Adds permissions for the layer, combining existing permissions with the given one.
|
|
7560
|
-
* @request POST:/tables/{name}/permissions
|
|
7561
|
-
* @response `200` OK
|
|
7562
|
-
*/
|
|
7563
|
-
|
|
7564
|
-
}, {
|
|
7565
|
-
key: "addPermissions",
|
|
7566
|
-
value: function addPermissions(name, data) {
|
|
7567
|
-
return this.http.post("/tables/" + name + "/permissions", data).json();
|
|
7568
|
-
}
|
|
7569
|
-
/**
|
|
7570
|
-
* No description
|
|
7571
|
-
*
|
|
7572
|
-
* @tags Tables
|
|
7573
|
-
* @name SetPermissions
|
|
7574
|
-
* @operationId TablesController_SetPermissions
|
|
7575
|
-
* @summary Replaces existing access control list for the layer with the given one.
|
|
7576
|
-
* @request PUT:/tables/{name}/permissions
|
|
7577
|
-
* @response `200` OK
|
|
7578
|
-
*/
|
|
7579
|
-
|
|
7580
|
-
}, {
|
|
7581
|
-
key: "setPermissions",
|
|
7582
|
-
value: function setPermissions(name, data) {
|
|
7583
|
-
return this.http.put("/tables/" + name + "/permissions", data).json();
|
|
7584
|
-
}
|
|
7585
|
-
/**
|
|
7586
|
-
* No description
|
|
7587
|
-
*
|
|
7588
|
-
* @tags Tables
|
|
7589
|
-
* @name RemovePermissions
|
|
7590
|
-
* @operationId TablesController_RemovePermissions
|
|
7591
|
-
* @summary Removes permissions for the layer for the given role.
|
|
7592
|
-
* @request DELETE:/tables/{name}/permissions/{role}
|
|
7593
|
-
* @response `200` OK
|
|
7594
|
-
*/
|
|
7595
|
-
|
|
7596
|
-
}, {
|
|
7597
|
-
key: "removePermissions",
|
|
7598
|
-
value: function removePermissions(name, role) {
|
|
7599
|
-
return this.http.delete("/tables/" + name + "/permissions/" + role, null).json();
|
|
7600
|
-
}
|
|
7601
7083
|
}]);
|
|
7602
7084
|
|
|
7603
7085
|
return TablesService;
|
|
@@ -7619,13 +7101,6 @@ let Tables = /*#__PURE__*/function (_TablesService) {
|
|
|
7619
7101
|
value: function getTableInfos(tables) {
|
|
7620
7102
|
return promiseAllIgnoreErrors(tables.map(table => this.getTableInfo(table)));
|
|
7621
7103
|
}
|
|
7622
|
-
}, {
|
|
7623
|
-
key: "uploadPreview",
|
|
7624
|
-
value: function uploadPreview(name, file) {
|
|
7625
|
-
return this.setPreview(name, {
|
|
7626
|
-
file
|
|
7627
|
-
});
|
|
7628
|
-
}
|
|
7629
7104
|
}, {
|
|
7630
7105
|
key: "findOne",
|
|
7631
7106
|
value: function findOne(name) {
|
|
@@ -7886,7 +7361,6 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7886
7361
|
_this.tools = new Tools(_this.http);
|
|
7887
7362
|
_this.resourceCatalog = new ResourceCatalog(_this.http);
|
|
7888
7363
|
_this.general = new General(_this.http);
|
|
7889
|
-
_this.namespace = new Namespace(_this.http);
|
|
7890
7364
|
_this.external = new External(_this.http);
|
|
7891
7365
|
_this.clientSettings = new ClientSettings(_this.http);
|
|
7892
7366
|
_this.portalSettings = new PortalSettings(_this.http);
|
|
@@ -7894,7 +7368,6 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7894
7368
|
_this.statistic = new Statistic(_this.http);
|
|
7895
7369
|
_this.feedback = new Feedback(_this.http);
|
|
7896
7370
|
_this.vectorTiles = new VectorTiles(_this.http);
|
|
7897
|
-
_this.universalSearch = new UniversalSearchService(_this.http);
|
|
7898
7371
|
_this.spatialReference = new SpatialReferencesService(_this.http);
|
|
7899
7372
|
_this.eql = new Eql(_this.http);
|
|
7900
7373
|
_this.catalog = new CatalogService(_this.http);
|
|
@@ -8348,6 +7821,11 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
8348
7821
|
StringSubType["Attachments"] = "Attachments";
|
|
8349
7822
|
})(exports.StringSubType || (exports.StringSubType = {}));
|
|
8350
7823
|
|
|
7824
|
+
(function (TaskResourceSubType) {
|
|
7825
|
+
TaskResourceSubType["SpTask"] = "SpTask";
|
|
7826
|
+
TaskResourceSubType["PythonTask"] = "PythonTask";
|
|
7827
|
+
})(exports.TaskResourceSubType || (exports.TaskResourceSubType = {}));
|
|
7828
|
+
|
|
8351
7829
|
(function (TextAlignment) {
|
|
8352
7830
|
TextAlignment["Right"] = "right";
|
|
8353
7831
|
TextAlignment["Left"] = "left";
|
|
@@ -8417,7 +7895,6 @@ exports.IceRouter = IceRouter;
|
|
|
8417
7895
|
exports.Import = Import;
|
|
8418
7896
|
exports.Layers = Layers;
|
|
8419
7897
|
exports.Names = Names;
|
|
8420
|
-
exports.Namespace = Namespace;
|
|
8421
7898
|
exports.Notification = Notification;
|
|
8422
7899
|
exports.NotificationEvent = NotificationEvent;
|
|
8423
7900
|
exports.PortalSettings = PortalSettings;
|