@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
package/dist/api.esm.js
CHANGED
|
@@ -549,6 +549,7 @@ let DataSourceService = /*#__PURE__*/function (_Service) {
|
|
|
549
549
|
return DataSourceService;
|
|
550
550
|
}(Service);
|
|
551
551
|
|
|
552
|
+
const _excluded = ["username"];
|
|
552
553
|
/**
|
|
553
554
|
* @title Spatial Processing Core API
|
|
554
555
|
* @version 1.5.1.0
|
|
@@ -567,19 +568,38 @@ let QueryTokenAccessService = /*#__PURE__*/function (_Service) {
|
|
|
567
568
|
}
|
|
568
569
|
|
|
569
570
|
_createClass(QueryTokenAccessService, [{
|
|
570
|
-
key: "
|
|
571
|
+
key: "getTokensList",
|
|
571
572
|
value:
|
|
573
|
+
/**
|
|
574
|
+
* No description
|
|
575
|
+
*
|
|
576
|
+
* @tags QueryTokenAccess
|
|
577
|
+
* @name GetTokensList
|
|
578
|
+
* @operationId QueryTokenAccessController_GetTokensList
|
|
579
|
+
* @request GET:/accessToken/list/{username}
|
|
580
|
+
* @response `200` OK
|
|
581
|
+
*/
|
|
582
|
+
function getTokensList(_ref) {
|
|
583
|
+
let {
|
|
584
|
+
username
|
|
585
|
+
} = _ref,
|
|
586
|
+
query = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
587
|
+
|
|
588
|
+
return this.http.get("/accessToken/list/" + username, query).json();
|
|
589
|
+
}
|
|
572
590
|
/**
|
|
573
591
|
* No description
|
|
574
592
|
*
|
|
575
593
|
* @tags QueryTokenAccess
|
|
576
594
|
* @name CreateToken
|
|
577
595
|
* @operationId QueryTokenAccessController_CreateTokenAsync
|
|
578
|
-
* @summary Create new query access token.
|
|
579
596
|
* @request PUT:/accessToken/{username}
|
|
580
597
|
* @response `200` OK
|
|
581
598
|
*/
|
|
582
|
-
|
|
599
|
+
|
|
600
|
+
}, {
|
|
601
|
+
key: "createToken",
|
|
602
|
+
value: function createToken(username) {
|
|
583
603
|
return this.http.put("/accessToken/" + username, null).text();
|
|
584
604
|
}
|
|
585
605
|
/**
|
|
@@ -588,7 +608,6 @@ let QueryTokenAccessService = /*#__PURE__*/function (_Service) {
|
|
|
588
608
|
* @tags QueryTokenAccess
|
|
589
609
|
* @name DisableToken
|
|
590
610
|
* @operationId QueryTokenAccessController_DisableToken
|
|
591
|
-
* @summary Disable token.
|
|
592
611
|
* @request POST:/accessToken/{token}/disable
|
|
593
612
|
* @response `200` OK
|
|
594
613
|
*/
|
|
@@ -604,7 +623,6 @@ let QueryTokenAccessService = /*#__PURE__*/function (_Service) {
|
|
|
604
623
|
* @tags QueryTokenAccess
|
|
605
624
|
* @name EnableToken
|
|
606
625
|
* @operationId QueryTokenAccessController_EnableToken
|
|
607
|
-
* @summary Enable token.
|
|
608
626
|
* @request POST:/accessToken/{token}/enable
|
|
609
627
|
* @response `200` OK
|
|
610
628
|
*/
|
|
@@ -620,7 +638,6 @@ let QueryTokenAccessService = /*#__PURE__*/function (_Service) {
|
|
|
620
638
|
* @tags QueryTokenAccess
|
|
621
639
|
* @name RevokeToken
|
|
622
640
|
* @operationId QueryTokenAccessController_RevokeToken
|
|
623
|
-
* @summary Revoke token.
|
|
624
641
|
* @request DELETE:/accessToken/{token}
|
|
625
642
|
* @response `200` OK
|
|
626
643
|
*/
|
|
@@ -705,67 +722,6 @@ let SpatialReferencesService = /*#__PURE__*/function (_Service) {
|
|
|
705
722
|
return SpatialReferencesService;
|
|
706
723
|
}(Service);
|
|
707
724
|
|
|
708
|
-
const _excluded = ["taskId", "layerName"];
|
|
709
|
-
/**
|
|
710
|
-
* @title Spatial Processing Core API
|
|
711
|
-
* @version 1.5.1.0
|
|
712
|
-
* @baseUrl /sp
|
|
713
|
-
*/
|
|
714
|
-
|
|
715
|
-
let UniversalSearchService = /*#__PURE__*/function (_Service) {
|
|
716
|
-
_inherits(UniversalSearchService, _Service);
|
|
717
|
-
|
|
718
|
-
var _super = /*#__PURE__*/_createSuper(UniversalSearchService);
|
|
719
|
-
|
|
720
|
-
function UniversalSearchService() {
|
|
721
|
-
_classCallCheck(this, UniversalSearchService);
|
|
722
|
-
|
|
723
|
-
return _super.apply(this, arguments);
|
|
724
|
-
}
|
|
725
|
-
|
|
726
|
-
_createClass(UniversalSearchService, [{
|
|
727
|
-
key: "searchResultDcGetSearchResult",
|
|
728
|
-
value:
|
|
729
|
-
/**
|
|
730
|
-
* No description
|
|
731
|
-
*
|
|
732
|
-
* @tags UniversalSearch
|
|
733
|
-
* @name SearchResultDcGetSearchResult
|
|
734
|
-
* @operationId UniversalSearchController_SearchResultDcGetSearchResult
|
|
735
|
-
* @summary Returns search result.
|
|
736
|
-
* @request GET:/search/{taskId}/{layerName}
|
|
737
|
-
* @response `200` OK
|
|
738
|
-
*/
|
|
739
|
-
function searchResultDcGetSearchResult(_ref) {
|
|
740
|
-
let {
|
|
741
|
-
taskId,
|
|
742
|
-
layerName
|
|
743
|
-
} = _ref,
|
|
744
|
-
query = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
745
|
-
|
|
746
|
-
return this.http.get("/search/" + taskId + "/" + layerName, query).json();
|
|
747
|
-
}
|
|
748
|
-
/**
|
|
749
|
-
* No description
|
|
750
|
-
*
|
|
751
|
-
* @tags UniversalSearch
|
|
752
|
-
* @name GetSearchResult
|
|
753
|
-
* @operationId UniversalSearchController_GetSearchResult
|
|
754
|
-
* @summary Returns search result.
|
|
755
|
-
* @request GET:/search/{taskId}
|
|
756
|
-
* @response `200` OK
|
|
757
|
-
*/
|
|
758
|
-
|
|
759
|
-
}, {
|
|
760
|
-
key: "getSearchResult",
|
|
761
|
-
value: function getSearchResult(taskId) {
|
|
762
|
-
return this.http.get("/search/" + taskId).json();
|
|
763
|
-
}
|
|
764
|
-
}]);
|
|
765
|
-
|
|
766
|
-
return UniversalSearchService;
|
|
767
|
-
}(Service);
|
|
768
|
-
|
|
769
725
|
/**
|
|
770
726
|
* @title Spatial Processing Core API
|
|
771
727
|
* @version 1.5.1.0
|
|
@@ -2254,8 +2210,21 @@ let EqlService = /*#__PURE__*/function (_Service) {
|
|
|
2254
2210
|
}
|
|
2255
2211
|
|
|
2256
2212
|
_createClass(EqlService, [{
|
|
2257
|
-
key: "
|
|
2213
|
+
key: "getFunctionsList",
|
|
2258
2214
|
value:
|
|
2215
|
+
/**
|
|
2216
|
+
* No description
|
|
2217
|
+
*
|
|
2218
|
+
* @tags Eql
|
|
2219
|
+
* @name GetFunctionsList
|
|
2220
|
+
* @operationId EqlController_GetFunctionsList
|
|
2221
|
+
* @summary Returns list of available functions.
|
|
2222
|
+
* @request GET:/eql/functions
|
|
2223
|
+
* @response `200` OK
|
|
2224
|
+
*/
|
|
2225
|
+
function getFunctionsList() {
|
|
2226
|
+
return this.http.get("/eql/functions").json();
|
|
2227
|
+
}
|
|
2259
2228
|
/**
|
|
2260
2229
|
* No description
|
|
2261
2230
|
*
|
|
@@ -2266,7 +2235,10 @@ let EqlService = /*#__PURE__*/function (_Service) {
|
|
|
2266
2235
|
* @request POST:/eql/query
|
|
2267
2236
|
* @response `200` OK
|
|
2268
2237
|
*/
|
|
2269
|
-
|
|
2238
|
+
|
|
2239
|
+
}, {
|
|
2240
|
+
key: "getQueryResult",
|
|
2241
|
+
value: function getQueryResult(data) {
|
|
2270
2242
|
return this.http.post("/eql/query", data).json();
|
|
2271
2243
|
}
|
|
2272
2244
|
/**
|
|
@@ -2756,94 +2728,8 @@ let Feedback = /*#__PURE__*/function (_FeedbackService) {
|
|
|
2756
2728
|
return Feedback;
|
|
2757
2729
|
}(FeedbackService);
|
|
2758
2730
|
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
* @version 1.5.1.0
|
|
2762
|
-
* @baseUrl /sp
|
|
2763
|
-
*/
|
|
2764
|
-
|
|
2765
|
-
let StaticContentService = /*#__PURE__*/function (_Service) {
|
|
2766
|
-
_inherits(StaticContentService, _Service);
|
|
2767
|
-
|
|
2768
|
-
var _super = /*#__PURE__*/_createSuper(StaticContentService);
|
|
2769
|
-
|
|
2770
|
-
function StaticContentService() {
|
|
2771
|
-
_classCallCheck(this, StaticContentService);
|
|
2772
|
-
|
|
2773
|
-
return _super.apply(this, arguments);
|
|
2774
|
-
}
|
|
2775
|
-
|
|
2776
|
-
_createClass(StaticContentService, [{
|
|
2777
|
-
key: "downloadFile",
|
|
2778
|
-
value:
|
|
2779
|
-
/**
|
|
2780
|
-
* No description
|
|
2781
|
-
*
|
|
2782
|
-
* @tags StaticContentService
|
|
2783
|
-
* @name DownloadFile
|
|
2784
|
-
* @operationId StaticContentServiceController_DownloadFile
|
|
2785
|
-
* @summary Returns a file stream by fileId.
|
|
2786
|
-
* @request GET:/upload/file
|
|
2787
|
-
* @response `200` OK
|
|
2788
|
-
*/
|
|
2789
|
-
function downloadFile(query) {
|
|
2790
|
-
return this.http.get("/upload/file", query).blob();
|
|
2791
|
-
}
|
|
2792
|
-
/**
|
|
2793
|
-
* No description
|
|
2794
|
-
*
|
|
2795
|
-
* @tags StaticContentService
|
|
2796
|
-
* @name UploadFile
|
|
2797
|
-
* @operationId StaticContentServiceController_UploadFile
|
|
2798
|
-
* @summary Upload file to temporary session storage.
|
|
2799
|
-
* @request POST:/upload/file
|
|
2800
|
-
* @response `200` OK
|
|
2801
|
-
*/
|
|
2802
|
-
|
|
2803
|
-
}, {
|
|
2804
|
-
key: "uploadFile",
|
|
2805
|
-
value: function uploadFile(data) {
|
|
2806
|
-
return this.http.post("/upload/file", toFormData(data)).json();
|
|
2807
|
-
}
|
|
2808
|
-
/**
|
|
2809
|
-
* No description
|
|
2810
|
-
*
|
|
2811
|
-
* @tags StaticContentService
|
|
2812
|
-
* @name DeleteFile
|
|
2813
|
-
* @operationId StaticContentServiceController_DeleteFile
|
|
2814
|
-
* @summary Delete file from temporary session storage.
|
|
2815
|
-
* @request DELETE:/upload/file
|
|
2816
|
-
* @response `200` OK
|
|
2817
|
-
*/
|
|
2818
|
-
|
|
2819
|
-
}, {
|
|
2820
|
-
key: "deleteFile",
|
|
2821
|
-
value: function deleteFile(query) {
|
|
2822
|
-
return this.http.delete("/upload/file", null, query).then(() => {});
|
|
2823
|
-
}
|
|
2824
|
-
/**
|
|
2825
|
-
* No description
|
|
2826
|
-
*
|
|
2827
|
-
* @tags StaticContentService
|
|
2828
|
-
* @name GetFileInfo
|
|
2829
|
-
* @operationId StaticContentServiceController_GetFileInfo
|
|
2830
|
-
* @summary Returns a file info download by url.
|
|
2831
|
-
* @request GET:/upload/fileInfo
|
|
2832
|
-
* @response `200` OK
|
|
2833
|
-
*/
|
|
2834
|
-
|
|
2835
|
-
}, {
|
|
2836
|
-
key: "getFileInfo",
|
|
2837
|
-
value: function getFileInfo(query) {
|
|
2838
|
-
return this.http.get("/upload/fileInfo", query).json();
|
|
2839
|
-
}
|
|
2840
|
-
}]);
|
|
2841
|
-
|
|
2842
|
-
return StaticContentService;
|
|
2843
|
-
}(Service);
|
|
2844
|
-
|
|
2845
|
-
let FileUpload = /*#__PURE__*/function (_StaticContentService) {
|
|
2846
|
-
_inherits(FileUpload, _StaticContentService);
|
|
2731
|
+
let FileUpload = /*#__PURE__*/function (_CatalogService) {
|
|
2732
|
+
_inherits(FileUpload, _CatalogService);
|
|
2847
2733
|
|
|
2848
2734
|
var _super = /*#__PURE__*/_createSuper(FileUpload);
|
|
2849
2735
|
|
|
@@ -2856,7 +2742,7 @@ let FileUpload = /*#__PURE__*/function (_StaticContentService) {
|
|
|
2856
2742
|
_createClass(FileUpload, [{
|
|
2857
2743
|
key: "upload",
|
|
2858
2744
|
value: function upload(file, rewrite) {
|
|
2859
|
-
return this.
|
|
2745
|
+
return this.createFile({
|
|
2860
2746
|
file,
|
|
2861
2747
|
rewrite: !!rewrite
|
|
2862
2748
|
});
|
|
@@ -2864,7 +2750,7 @@ let FileUpload = /*#__PURE__*/function (_StaticContentService) {
|
|
|
2864
2750
|
}]);
|
|
2865
2751
|
|
|
2866
2752
|
return FileUpload;
|
|
2867
|
-
}(
|
|
2753
|
+
}(CatalogService);
|
|
2868
2754
|
|
|
2869
2755
|
/**
|
|
2870
2756
|
* @title Spatial Processing Core API
|
|
@@ -2983,22 +2869,6 @@ let GeneralService = /*#__PURE__*/function (_Service) {
|
|
|
2983
2869
|
function getServerInfo() {
|
|
2984
2870
|
return this.http.get("/").json();
|
|
2985
2871
|
}
|
|
2986
|
-
/**
|
|
2987
|
-
* No description
|
|
2988
|
-
*
|
|
2989
|
-
* @tags General
|
|
2990
|
-
* @name GetFunctionsList
|
|
2991
|
-
* @operationId GeneralController_GetFunctionsList
|
|
2992
|
-
* @summary Returns list of available functions.
|
|
2993
|
-
* @request GET:/functions
|
|
2994
|
-
* @response `200` OK
|
|
2995
|
-
*/
|
|
2996
|
-
|
|
2997
|
-
}, {
|
|
2998
|
-
key: "getFunctionsList",
|
|
2999
|
-
value: function getFunctionsList() {
|
|
3000
|
-
return this.http.get("/functions").json();
|
|
3001
|
-
}
|
|
3002
2872
|
}]);
|
|
3003
2873
|
|
|
3004
2874
|
return GeneralService;
|
|
@@ -3408,8 +3278,8 @@ const _excluded$3 = ["name"],
|
|
|
3408
3278
|
_excluded5$1 = ["name", "id"],
|
|
3409
3279
|
_excluded6$1 = ["name", "id"],
|
|
3410
3280
|
_excluded7 = ["name", "x", "y", "z"],
|
|
3411
|
-
_excluded8 = ["name"],
|
|
3412
|
-
_excluded9 = ["name"],
|
|
3281
|
+
_excluded8 = ["name", "x", "y", "z", "format"],
|
|
3282
|
+
_excluded9 = ["name", "x", "y", "z", "dpi", "format"],
|
|
3413
3283
|
_excluded10 = ["name"],
|
|
3414
3284
|
_excluded11 = ["name"],
|
|
3415
3285
|
_excluded12 = ["name"],
|
|
@@ -3419,8 +3289,10 @@ const _excluded$3 = ["name"],
|
|
|
3419
3289
|
_excluded16 = ["name"],
|
|
3420
3290
|
_excluded17 = ["name"],
|
|
3421
3291
|
_excluded18 = ["name"],
|
|
3422
|
-
_excluded19 = ["
|
|
3423
|
-
_excluded20 = ["name",
|
|
3292
|
+
_excluded19 = ["name"],
|
|
3293
|
+
_excluded20 = ["name"],
|
|
3294
|
+
_excluded21 = ["layerName"],
|
|
3295
|
+
_excluded22 = ["name", "id"];
|
|
3424
3296
|
/**
|
|
3425
3297
|
* @title Spatial Processing Core API
|
|
3426
3298
|
* @version 1.5.1.0
|
|
@@ -3486,22 +3358,6 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
3486
3358
|
value: function getLayersList(query) {
|
|
3487
3359
|
return this.http.get("/layers", query).json();
|
|
3488
3360
|
}
|
|
3489
|
-
/**
|
|
3490
|
-
* No description
|
|
3491
|
-
*
|
|
3492
|
-
* @tags Layers
|
|
3493
|
-
* @name SetPermissionsBatch
|
|
3494
|
-
* @operationId LayersController_SetPermissionsBatch
|
|
3495
|
-
* @summary Overrides multiply resources permissions in single batch.
|
|
3496
|
-
* @request PUT:/layers
|
|
3497
|
-
* @response `200` OK
|
|
3498
|
-
*/
|
|
3499
|
-
|
|
3500
|
-
}, {
|
|
3501
|
-
key: "setPermissionsBatch",
|
|
3502
|
-
value: function setPermissionsBatch(data) {
|
|
3503
|
-
return this.http.put("/layers", data).then(() => {});
|
|
3504
|
-
}
|
|
3505
3361
|
/**
|
|
3506
3362
|
* No description
|
|
3507
3363
|
*
|
|
@@ -3732,36 +3588,54 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
3732
3588
|
* No description
|
|
3733
3589
|
*
|
|
3734
3590
|
* @tags Layers
|
|
3735
|
-
* @name
|
|
3736
|
-
* @operationId
|
|
3737
|
-
* @summary
|
|
3738
|
-
* @request
|
|
3591
|
+
* @name UpdateMapboxService
|
|
3592
|
+
* @operationId LayersController_UpdateMapboxService
|
|
3593
|
+
* @summary Update mapbox service.
|
|
3594
|
+
* @request PATCH:/layers/{name}#type=Mapbox
|
|
3595
|
+
* @response `default` Error
|
|
3596
|
+
*/
|
|
3597
|
+
|
|
3598
|
+
}, {
|
|
3599
|
+
key: "updateMapboxService",
|
|
3600
|
+
value: function updateMapboxService(name, data) {
|
|
3601
|
+
return this.http.patch("/layers/" + name, data, {
|
|
3602
|
+
type: 'Mapbox'
|
|
3603
|
+
}).json();
|
|
3604
|
+
}
|
|
3605
|
+
/**
|
|
3606
|
+
* No description
|
|
3607
|
+
*
|
|
3608
|
+
* @tags Layers
|
|
3609
|
+
* @name PublishPythonService
|
|
3610
|
+
* @operationId LayersController_PublishPythonService
|
|
3611
|
+
* @summary Creates new python service.
|
|
3612
|
+
* @request POST:/layers#type=Python
|
|
3739
3613
|
* @response `default` Error
|
|
3740
3614
|
*/
|
|
3741
3615
|
|
|
3742
3616
|
}, {
|
|
3743
|
-
key: "
|
|
3744
|
-
value: function
|
|
3617
|
+
key: "publishPythonService",
|
|
3618
|
+
value: function publishPythonService(data) {
|
|
3745
3619
|
return this.http.post("/layers", data, {
|
|
3746
|
-
type: '
|
|
3620
|
+
type: 'Python'
|
|
3747
3621
|
}).json();
|
|
3748
3622
|
}
|
|
3749
3623
|
/**
|
|
3750
3624
|
* No description
|
|
3751
3625
|
*
|
|
3752
3626
|
* @tags Layers
|
|
3753
|
-
* @name
|
|
3754
|
-
* @operationId
|
|
3755
|
-
* @summary Update
|
|
3756
|
-
* @request PATCH:/layers/{name}#type=
|
|
3627
|
+
* @name UpdatePythonService
|
|
3628
|
+
* @operationId LayersController_UpdatePythonService
|
|
3629
|
+
* @summary Update python service.
|
|
3630
|
+
* @request PATCH:/layers/{name}#type=Python
|
|
3757
3631
|
* @response `default` Error
|
|
3758
3632
|
*/
|
|
3759
3633
|
|
|
3760
3634
|
}, {
|
|
3761
|
-
key: "
|
|
3762
|
-
value: function
|
|
3635
|
+
key: "updatePythonService",
|
|
3636
|
+
value: function updatePythonService(name, data) {
|
|
3763
3637
|
return this.http.patch("/layers/" + name, data, {
|
|
3764
|
-
type: '
|
|
3638
|
+
type: 'Python'
|
|
3765
3639
|
}).json();
|
|
3766
3640
|
}
|
|
3767
3641
|
/**
|
|
@@ -3800,24 +3674,6 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
3800
3674
|
type: 'PostgresTileLayerService'
|
|
3801
3675
|
}).json();
|
|
3802
3676
|
}
|
|
3803
|
-
/**
|
|
3804
|
-
* No description
|
|
3805
|
-
*
|
|
3806
|
-
* @tags Layers
|
|
3807
|
-
* @name PublishCompositeService
|
|
3808
|
-
* @operationId LayersController_PublishCompositeService
|
|
3809
|
-
* @summary Creates new Composite service SPCore.Security.Base.Impl.Services.Composite.CompositeService.
|
|
3810
|
-
* @request POST:/layers#type=CompositeService
|
|
3811
|
-
* @response `default` Error
|
|
3812
|
-
*/
|
|
3813
|
-
|
|
3814
|
-
}, {
|
|
3815
|
-
key: "publishCompositeService",
|
|
3816
|
-
value: function publishCompositeService(data) {
|
|
3817
|
-
return this.http.post("/layers", data, {
|
|
3818
|
-
type: 'CompositeService'
|
|
3819
|
-
}).json();
|
|
3820
|
-
}
|
|
3821
3677
|
/**
|
|
3822
3678
|
* No description
|
|
3823
3679
|
*
|
|
@@ -3890,24 +3746,6 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
3890
3746
|
type: 'QueryLayerService'
|
|
3891
3747
|
}).json();
|
|
3892
3748
|
}
|
|
3893
|
-
/**
|
|
3894
|
-
* No description
|
|
3895
|
-
*
|
|
3896
|
-
* @tags Layers
|
|
3897
|
-
* @name UpdateCompositeService
|
|
3898
|
-
* @operationId LayersController_UpdateCompositeService
|
|
3899
|
-
* @summary Update Composite service SPCore.Security.Base.Impl.Services.Composite.CompositeService.
|
|
3900
|
-
* @request PATCH:/layers/{name}#type=CompositeService
|
|
3901
|
-
* @response `default` Error
|
|
3902
|
-
*/
|
|
3903
|
-
|
|
3904
|
-
}, {
|
|
3905
|
-
key: "updateCompositeService",
|
|
3906
|
-
value: function updateCompositeService(name, data) {
|
|
3907
|
-
return this.http.patch("/layers/" + name, data, {
|
|
3908
|
-
type: 'CompositeService'
|
|
3909
|
-
}).json();
|
|
3910
|
-
}
|
|
3911
3749
|
/**
|
|
3912
3750
|
* No description
|
|
3913
3751
|
*
|
|
@@ -4125,6 +3963,57 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4125
3963
|
|
|
4126
3964
|
return this.http.createUrl("/layers/" + name + "/tile/" + z + "/" + x + "/" + y, query);
|
|
4127
3965
|
}
|
|
3966
|
+
/**
|
|
3967
|
+
* No description
|
|
3968
|
+
*
|
|
3969
|
+
* @tags Layers
|
|
3970
|
+
* @name GetTilesLayerImage1
|
|
3971
|
+
* @operationId LayersController_GetTilesLayerImage_1
|
|
3972
|
+
* @summary Render tile with input indexes.
|
|
3973
|
+
* @request GET:/layers/{name}/tile/{z}/{x}/{y}.{format}
|
|
3974
|
+
* @response `200` OK
|
|
3975
|
+
*/
|
|
3976
|
+
|
|
3977
|
+
}, {
|
|
3978
|
+
key: "getTilesLayerImage1",
|
|
3979
|
+
value: function getTilesLayerImage1(_ref8) {
|
|
3980
|
+
let {
|
|
3981
|
+
name,
|
|
3982
|
+
x,
|
|
3983
|
+
y,
|
|
3984
|
+
z,
|
|
3985
|
+
format
|
|
3986
|
+
} = _ref8,
|
|
3987
|
+
query = _objectWithoutPropertiesLoose(_ref8, _excluded8);
|
|
3988
|
+
|
|
3989
|
+
return this.http.createUrl("/layers/" + name + "/tile/" + z + "/" + x + "/" + y + "." + format, query);
|
|
3990
|
+
}
|
|
3991
|
+
/**
|
|
3992
|
+
* No description
|
|
3993
|
+
*
|
|
3994
|
+
* @tags Layers
|
|
3995
|
+
* @name GetTilesLayerImageWithFormatAndDpi
|
|
3996
|
+
* @operationId LayersController_GetTilesLayerImageWithFormatAndDpi
|
|
3997
|
+
* @summary Render tile with input indexes.
|
|
3998
|
+
* @request GET:/layers/{name}/tile/{z}/{x}/{y}@{dpi}x.{format}
|
|
3999
|
+
* @response `200` OK
|
|
4000
|
+
*/
|
|
4001
|
+
|
|
4002
|
+
}, {
|
|
4003
|
+
key: "getTilesLayerImageWithFormatAndDpi",
|
|
4004
|
+
value: function getTilesLayerImageWithFormatAndDpi(_ref9) {
|
|
4005
|
+
let {
|
|
4006
|
+
name,
|
|
4007
|
+
x,
|
|
4008
|
+
y,
|
|
4009
|
+
z,
|
|
4010
|
+
dpi,
|
|
4011
|
+
format
|
|
4012
|
+
} = _ref9,
|
|
4013
|
+
query = _objectWithoutPropertiesLoose(_ref9, _excluded9);
|
|
4014
|
+
|
|
4015
|
+
return this.http.createUrl("/layers/" + name + "/tile/" + z + "/" + x + "/" + y + "@" + dpi + "x." + format, query);
|
|
4016
|
+
}
|
|
4128
4017
|
/**
|
|
4129
4018
|
* No description
|
|
4130
4019
|
*
|
|
@@ -4138,11 +4027,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4138
4027
|
|
|
4139
4028
|
}, {
|
|
4140
4029
|
key: "getLayerImage",
|
|
4141
|
-
value: function getLayerImage(
|
|
4030
|
+
value: function getLayerImage(_ref10) {
|
|
4142
4031
|
let {
|
|
4143
4032
|
name
|
|
4144
|
-
} =
|
|
4145
|
-
query = _objectWithoutPropertiesLoose(
|
|
4033
|
+
} = _ref10,
|
|
4034
|
+
query = _objectWithoutPropertiesLoose(_ref10, _excluded10);
|
|
4146
4035
|
|
|
4147
4036
|
return this.http.createUrl("/layers/" + name + "/export", query);
|
|
4148
4037
|
}
|
|
@@ -4159,11 +4048,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4159
4048
|
|
|
4160
4049
|
}, {
|
|
4161
4050
|
key: "getLayerExtent",
|
|
4162
|
-
value: function getLayerExtent(
|
|
4051
|
+
value: function getLayerExtent(_ref11) {
|
|
4163
4052
|
let {
|
|
4164
4053
|
name
|
|
4165
|
-
} =
|
|
4166
|
-
query = _objectWithoutPropertiesLoose(
|
|
4054
|
+
} = _ref11,
|
|
4055
|
+
query = _objectWithoutPropertiesLoose(_ref11, _excluded11);
|
|
4167
4056
|
|
|
4168
4057
|
return this.http.get("/layers/" + name + "/extent", query).json();
|
|
4169
4058
|
}
|
|
@@ -4180,11 +4069,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4180
4069
|
|
|
4181
4070
|
}, {
|
|
4182
4071
|
key: "getByGeometry",
|
|
4183
|
-
value: function getByGeometry(
|
|
4072
|
+
value: function getByGeometry(_ref12) {
|
|
4184
4073
|
let {
|
|
4185
4074
|
name
|
|
4186
|
-
} =
|
|
4187
|
-
query = _objectWithoutPropertiesLoose(
|
|
4075
|
+
} = _ref12,
|
|
4076
|
+
query = _objectWithoutPropertiesLoose(_ref12, _excluded12);
|
|
4188
4077
|
|
|
4189
4078
|
return this.http.get("/layers/" + name + "/features/getByGeometry", query).json();
|
|
4190
4079
|
}
|
|
@@ -4201,11 +4090,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4201
4090
|
|
|
4202
4091
|
}, {
|
|
4203
4092
|
key: "getByGeometryPost",
|
|
4204
|
-
value: function getByGeometryPost(
|
|
4093
|
+
value: function getByGeometryPost(_ref13, data) {
|
|
4205
4094
|
let {
|
|
4206
4095
|
name
|
|
4207
|
-
} =
|
|
4208
|
-
query = _objectWithoutPropertiesLoose(
|
|
4096
|
+
} = _ref13,
|
|
4097
|
+
query = _objectWithoutPropertiesLoose(_ref13, _excluded13);
|
|
4209
4098
|
|
|
4210
4099
|
return this.http.post("/layers/" + name + "/features/getByGeometry", data, query).json();
|
|
4211
4100
|
}
|
|
@@ -4222,11 +4111,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4222
4111
|
|
|
4223
4112
|
}, {
|
|
4224
4113
|
key: "deleteFeatures",
|
|
4225
|
-
value: function deleteFeatures(
|
|
4114
|
+
value: function deleteFeatures(_ref14) {
|
|
4226
4115
|
let {
|
|
4227
4116
|
name
|
|
4228
|
-
} =
|
|
4229
|
-
query = _objectWithoutPropertiesLoose(
|
|
4117
|
+
} = _ref14,
|
|
4118
|
+
query = _objectWithoutPropertiesLoose(_ref14, _excluded14);
|
|
4230
4119
|
|
|
4231
4120
|
return this.http.delete("/layers/" + name + "/features/deleteByIds", null, query).json();
|
|
4232
4121
|
}
|
|
@@ -4243,11 +4132,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4243
4132
|
|
|
4244
4133
|
}, {
|
|
4245
4134
|
key: "deleteByCondition",
|
|
4246
|
-
value: function deleteByCondition(
|
|
4135
|
+
value: function deleteByCondition(_ref15) {
|
|
4247
4136
|
let {
|
|
4248
4137
|
name
|
|
4249
|
-
} =
|
|
4250
|
-
query = _objectWithoutPropertiesLoose(
|
|
4138
|
+
} = _ref15,
|
|
4139
|
+
query = _objectWithoutPropertiesLoose(_ref15, _excluded15);
|
|
4251
4140
|
|
|
4252
4141
|
return this.http.delete("/layers/" + name + "/features/deleteByCondition", null, query).json();
|
|
4253
4142
|
}
|
|
@@ -4264,11 +4153,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4264
4153
|
|
|
4265
4154
|
}, {
|
|
4266
4155
|
key: "getByGeometryGet",
|
|
4267
|
-
value: function getByGeometryGet(
|
|
4156
|
+
value: function getByGeometryGet(_ref16) {
|
|
4268
4157
|
let {
|
|
4269
4158
|
name
|
|
4270
|
-
} =
|
|
4271
|
-
query = _objectWithoutPropertiesLoose(
|
|
4159
|
+
} = _ref16,
|
|
4160
|
+
query = _objectWithoutPropertiesLoose(_ref16, _excluded16);
|
|
4272
4161
|
|
|
4273
4162
|
return this.http.get("/layers/" + name + "/features/getByGeometryByClick", query).json();
|
|
4274
4163
|
}
|
|
@@ -4285,11 +4174,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4285
4174
|
|
|
4286
4175
|
}, {
|
|
4287
4176
|
key: "classify",
|
|
4288
|
-
value: function classify(
|
|
4177
|
+
value: function classify(_ref17) {
|
|
4289
4178
|
let {
|
|
4290
4179
|
name
|
|
4291
|
-
} =
|
|
4292
|
-
query = _objectWithoutPropertiesLoose(
|
|
4180
|
+
} = _ref17,
|
|
4181
|
+
query = _objectWithoutPropertiesLoose(_ref17, _excluded17);
|
|
4293
4182
|
|
|
4294
4183
|
return this.http.get("/layers/" + name + "/classify", query).json();
|
|
4295
4184
|
}
|
|
@@ -4306,11 +4195,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4306
4195
|
|
|
4307
4196
|
}, {
|
|
4308
4197
|
key: "distincts",
|
|
4309
|
-
value: function distincts(
|
|
4198
|
+
value: function distincts(_ref18) {
|
|
4310
4199
|
let {
|
|
4311
4200
|
name
|
|
4312
|
-
} =
|
|
4313
|
-
query = _objectWithoutPropertiesLoose(
|
|
4201
|
+
} = _ref18,
|
|
4202
|
+
query = _objectWithoutPropertiesLoose(_ref18, _excluded18);
|
|
4314
4203
|
|
|
4315
4204
|
return this.http.get("/layers/" + name + "/distincts", query).json();
|
|
4316
4205
|
}
|
|
@@ -4327,11 +4216,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4327
4216
|
|
|
4328
4217
|
}, {
|
|
4329
4218
|
key: "aggregateAttribute",
|
|
4330
|
-
value: function aggregateAttribute(
|
|
4219
|
+
value: function aggregateAttribute(_ref19) {
|
|
4331
4220
|
let {
|
|
4332
4221
|
name
|
|
4333
|
-
} =
|
|
4334
|
-
query = _objectWithoutPropertiesLoose(
|
|
4222
|
+
} = _ref19,
|
|
4223
|
+
query = _objectWithoutPropertiesLoose(_ref19, _excluded19);
|
|
4335
4224
|
|
|
4336
4225
|
return this.http.get("/layers/" + name + "/aggregate-values", query).json();
|
|
4337
4226
|
}
|
|
@@ -4348,11 +4237,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4348
4237
|
|
|
4349
4238
|
}, {
|
|
4350
4239
|
key: "getFilteredFeaturesCount",
|
|
4351
|
-
value: function getFilteredFeaturesCount(
|
|
4240
|
+
value: function getFilteredFeaturesCount(_ref20) {
|
|
4352
4241
|
let {
|
|
4353
4242
|
name
|
|
4354
|
-
} =
|
|
4355
|
-
query = _objectWithoutPropertiesLoose(
|
|
4243
|
+
} = _ref20,
|
|
4244
|
+
query = _objectWithoutPropertiesLoose(_ref20, _excluded20);
|
|
4356
4245
|
|
|
4357
4246
|
return this.http.get("/layers/" + name + "/features/count", query).json();
|
|
4358
4247
|
}
|
|
@@ -4418,11 +4307,11 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4418
4307
|
|
|
4419
4308
|
}, {
|
|
4420
4309
|
key: "validateExpression",
|
|
4421
|
-
value: function validateExpression(
|
|
4310
|
+
value: function validateExpression(_ref21) {
|
|
4422
4311
|
let {
|
|
4423
4312
|
layerName
|
|
4424
|
-
} =
|
|
4425
|
-
query = _objectWithoutPropertiesLoose(
|
|
4313
|
+
} = _ref21,
|
|
4314
|
+
query = _objectWithoutPropertiesLoose(_ref21, _excluded21);
|
|
4426
4315
|
|
|
4427
4316
|
return this.http.get("/layers/" + layerName + "/validateExpression", query).json();
|
|
4428
4317
|
}
|
|
@@ -4439,12 +4328,12 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4439
4328
|
|
|
4440
4329
|
}, {
|
|
4441
4330
|
key: "getRasterMeta",
|
|
4442
|
-
value: function getRasterMeta(
|
|
4331
|
+
value: function getRasterMeta(_ref22) {
|
|
4443
4332
|
let {
|
|
4444
4333
|
name,
|
|
4445
4334
|
id
|
|
4446
|
-
} =
|
|
4447
|
-
query = _objectWithoutPropertiesLoose(
|
|
4335
|
+
} = _ref22,
|
|
4336
|
+
query = _objectWithoutPropertiesLoose(_ref22, _excluded22);
|
|
4448
4337
|
|
|
4449
4338
|
return this.http.get("/layers/" + name + "/" + id + "/metadata", query).json();
|
|
4450
4339
|
}
|
|
@@ -4528,54 +4417,6 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4528
4417
|
value: function getDataLayout(name) {
|
|
4529
4418
|
return this.http.get("/layers/" + name + "/style/sprite.json").then(() => {});
|
|
4530
4419
|
}
|
|
4531
|
-
/**
|
|
4532
|
-
* No description
|
|
4533
|
-
*
|
|
4534
|
-
* @tags Layers
|
|
4535
|
-
* @name GetPreview
|
|
4536
|
-
* @operationId LayersController_GetPreview
|
|
4537
|
-
* @summary Gets preview of resource.
|
|
4538
|
-
* @request GET:/layers/{name}/preview
|
|
4539
|
-
* @response `200` OK
|
|
4540
|
-
*/
|
|
4541
|
-
|
|
4542
|
-
}, {
|
|
4543
|
-
key: "getPreview",
|
|
4544
|
-
value: function getPreview(name) {
|
|
4545
|
-
return this.http.createUrl("/layers/" + name + "/preview");
|
|
4546
|
-
}
|
|
4547
|
-
/**
|
|
4548
|
-
* No description
|
|
4549
|
-
*
|
|
4550
|
-
* @tags Layers
|
|
4551
|
-
* @name SetPreview
|
|
4552
|
-
* @operationId LayersController_SetPreview
|
|
4553
|
-
* @summary Sets preview to the resource.
|
|
4554
|
-
* @request POST:/layers/{name}/preview
|
|
4555
|
-
* @response `200` OK
|
|
4556
|
-
*/
|
|
4557
|
-
|
|
4558
|
-
}, {
|
|
4559
|
-
key: "setPreview",
|
|
4560
|
-
value: function setPreview(name, data) {
|
|
4561
|
-
return this.http.post("/layers/" + name + "/preview", toFormData(data)).json();
|
|
4562
|
-
}
|
|
4563
|
-
/**
|
|
4564
|
-
* No description
|
|
4565
|
-
*
|
|
4566
|
-
* @tags Layers
|
|
4567
|
-
* @name DeletePreview
|
|
4568
|
-
* @operationId LayersController_DeletePreview
|
|
4569
|
-
* @summary Delete resource preview.
|
|
4570
|
-
* @request DELETE:/layers/{name}/preview
|
|
4571
|
-
* @response `200` OK
|
|
4572
|
-
*/
|
|
4573
|
-
|
|
4574
|
-
}, {
|
|
4575
|
-
key: "deletePreview",
|
|
4576
|
-
value: function deletePreview(name) {
|
|
4577
|
-
return this.http.delete("/layers/" + name + "/preview", null).then(() => {});
|
|
4578
|
-
}
|
|
4579
4420
|
/**
|
|
4580
4421
|
* No description
|
|
4581
4422
|
*
|
|
@@ -4624,70 +4465,6 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
4624
4465
|
value: function getResourceReferences(name) {
|
|
4625
4466
|
return this.http.get("/layers/" + name + "/references").json();
|
|
4626
4467
|
}
|
|
4627
|
-
/**
|
|
4628
|
-
* No description
|
|
4629
|
-
*
|
|
4630
|
-
* @tags Layers
|
|
4631
|
-
* @name GetPermissions
|
|
4632
|
-
* @operationId LayersController_GetPermissions
|
|
4633
|
-
* @summary Returns resource permissions.
|
|
4634
|
-
* @request GET:/layers/{name}/permissions
|
|
4635
|
-
* @response `200` OK
|
|
4636
|
-
*/
|
|
4637
|
-
|
|
4638
|
-
}, {
|
|
4639
|
-
key: "getPermissions",
|
|
4640
|
-
value: function getPermissions(name) {
|
|
4641
|
-
return this.http.get("/layers/" + name + "/permissions").json();
|
|
4642
|
-
}
|
|
4643
|
-
/**
|
|
4644
|
-
* No description
|
|
4645
|
-
*
|
|
4646
|
-
* @tags Layers
|
|
4647
|
-
* @name AddPermissions
|
|
4648
|
-
* @operationId LayersController_AddPermissions
|
|
4649
|
-
* @summary Adds permissions for the layer, combining existing permissions with the given one.
|
|
4650
|
-
* @request POST:/layers/{name}/permissions
|
|
4651
|
-
* @response `200` OK
|
|
4652
|
-
*/
|
|
4653
|
-
|
|
4654
|
-
}, {
|
|
4655
|
-
key: "addPermissions",
|
|
4656
|
-
value: function addPermissions(name, data) {
|
|
4657
|
-
return this.http.post("/layers/" + name + "/permissions", data).json();
|
|
4658
|
-
}
|
|
4659
|
-
/**
|
|
4660
|
-
* No description
|
|
4661
|
-
*
|
|
4662
|
-
* @tags Layers
|
|
4663
|
-
* @name SetPermissions
|
|
4664
|
-
* @operationId LayersController_SetPermissions
|
|
4665
|
-
* @summary Replaces existing access control list for the layer with the given one.
|
|
4666
|
-
* @request PUT:/layers/{name}/permissions
|
|
4667
|
-
* @response `200` OK
|
|
4668
|
-
*/
|
|
4669
|
-
|
|
4670
|
-
}, {
|
|
4671
|
-
key: "setPermissions",
|
|
4672
|
-
value: function setPermissions(name, data) {
|
|
4673
|
-
return this.http.put("/layers/" + name + "/permissions", data).json();
|
|
4674
|
-
}
|
|
4675
|
-
/**
|
|
4676
|
-
* No description
|
|
4677
|
-
*
|
|
4678
|
-
* @tags Layers
|
|
4679
|
-
* @name RemovePermissions
|
|
4680
|
-
* @operationId LayersController_RemovePermissions
|
|
4681
|
-
* @summary Removes permissions for the layer for the given role.
|
|
4682
|
-
* @request DELETE:/layers/{name}/permissions/{role}
|
|
4683
|
-
* @response `200` OK
|
|
4684
|
-
*/
|
|
4685
|
-
|
|
4686
|
-
}, {
|
|
4687
|
-
key: "removePermissions",
|
|
4688
|
-
value: function removePermissions(name, role) {
|
|
4689
|
-
return this.http.delete("/layers/" + name + "/permissions/" + role, null).json();
|
|
4690
|
-
}
|
|
4691
4468
|
}]);
|
|
4692
4469
|
|
|
4693
4470
|
return LayersService;
|
|
@@ -4736,11 +4513,6 @@ let Layers = /*#__PURE__*/function (_LayersService) {
|
|
|
4736
4513
|
types: ['LocalTileService', 'RemoteTileService']
|
|
4737
4514
|
}));
|
|
4738
4515
|
}
|
|
4739
|
-
}, {
|
|
4740
|
-
key: "createSubLayer",
|
|
4741
|
-
value: function createSubLayer(configuration) {
|
|
4742
|
-
return this.publishStyledLayerService(configuration);
|
|
4743
|
-
}
|
|
4744
4516
|
}, {
|
|
4745
4517
|
key: "createTileLayer",
|
|
4746
4518
|
value: function createTileLayer(_ref) {
|
|
@@ -4769,13 +4541,6 @@ let Layers = /*#__PURE__*/function (_LayersService) {
|
|
|
4769
4541
|
|
|
4770
4542
|
return this.updateLocalTileService(configuration.name, configuration);
|
|
4771
4543
|
}
|
|
4772
|
-
}, {
|
|
4773
|
-
key: "uploadPreview",
|
|
4774
|
-
value: function uploadPreview(name, file) {
|
|
4775
|
-
return this.setPreview(name, {
|
|
4776
|
-
file
|
|
4777
|
-
});
|
|
4778
|
-
}
|
|
4779
4544
|
}, {
|
|
4780
4545
|
key: "findOne",
|
|
4781
4546
|
value: function findOne(name) {
|
|
@@ -5000,127 +4765,27 @@ let Names = /*#__PURE__*/function () {
|
|
|
5000
4765
|
|
|
5001
4766
|
return {
|
|
5002
4767
|
name: '',
|
|
5003
|
-
workspace: ''
|
|
5004
|
-
};
|
|
5005
|
-
}
|
|
5006
|
-
/** Extract resource name */
|
|
5007
|
-
|
|
5008
|
-
}, {
|
|
5009
|
-
key: "extractResourceName",
|
|
5010
|
-
value: function extractResourceName(resourceName) {
|
|
5011
|
-
return this.extractResource(resourceName).name || resourceName || '';
|
|
5012
|
-
}
|
|
5013
|
-
/** Extract resource workspace */
|
|
5014
|
-
|
|
5015
|
-
}, {
|
|
5016
|
-
key: "extractResourceWorkspace",
|
|
5017
|
-
value: function extractResourceWorkspace(resourceName) {
|
|
5018
|
-
return this.extractResource(resourceName).workspace || '';
|
|
5019
|
-
}
|
|
5020
|
-
}]);
|
|
5021
|
-
|
|
5022
|
-
return Names;
|
|
5023
|
-
}();
|
|
5024
|
-
|
|
5025
|
-
/**
|
|
5026
|
-
* @title Spatial Processing Core API
|
|
5027
|
-
* @version 1.5.1.0
|
|
5028
|
-
* @baseUrl /sp
|
|
5029
|
-
*/
|
|
5030
|
-
|
|
5031
|
-
let NamespaceService = /*#__PURE__*/function (_Service) {
|
|
5032
|
-
_inherits(NamespaceService, _Service);
|
|
5033
|
-
|
|
5034
|
-
var _super = /*#__PURE__*/_createSuper(NamespaceService);
|
|
5035
|
-
|
|
5036
|
-
function NamespaceService() {
|
|
5037
|
-
_classCallCheck(this, NamespaceService);
|
|
5038
|
-
|
|
5039
|
-
return _super.apply(this, arguments);
|
|
5040
|
-
}
|
|
5041
|
-
|
|
5042
|
-
_createClass(NamespaceService, [{
|
|
5043
|
-
key: "getNamespaces",
|
|
5044
|
-
value:
|
|
5045
|
-
/**
|
|
5046
|
-
* No description
|
|
5047
|
-
*
|
|
5048
|
-
* @tags Namespace
|
|
5049
|
-
* @name GetNamespaces
|
|
5050
|
-
* @operationId NamespaceController_GetNamespacesAsync
|
|
5051
|
-
* @summary Returns the list of existing namespaces, that correspond to the given conditions.
|
|
5052
|
-
* @request GET:/namespaces
|
|
5053
|
-
* @response `200` OK
|
|
5054
|
-
*/
|
|
5055
|
-
function getNamespaces(query) {
|
|
5056
|
-
return this.http.get("/namespaces", query).json();
|
|
5057
|
-
}
|
|
5058
|
-
/**
|
|
5059
|
-
* No description
|
|
5060
|
-
*
|
|
5061
|
-
* @tags Namespace
|
|
5062
|
-
* @name CreateNamespace
|
|
5063
|
-
* @operationId NamespaceController_CreateNamespace
|
|
5064
|
-
* @summary Creates a new namespace.
|
|
5065
|
-
* @request POST:/namespaces
|
|
5066
|
-
* @response `200` OK
|
|
5067
|
-
*/
|
|
5068
|
-
|
|
5069
|
-
}, {
|
|
5070
|
-
key: "createNamespace",
|
|
5071
|
-
value: function createNamespace(query) {
|
|
5072
|
-
return this.http.post("/namespaces", null, query).json();
|
|
4768
|
+
workspace: ''
|
|
4769
|
+
};
|
|
5073
4770
|
}
|
|
5074
|
-
/**
|
|
5075
|
-
* No description
|
|
5076
|
-
*
|
|
5077
|
-
* @tags Namespace
|
|
5078
|
-
* @name GetNamespace
|
|
5079
|
-
* @operationId NamespaceController_GetNamespaceAsync
|
|
5080
|
-
* @summary Get namespace information.
|
|
5081
|
-
* @request GET:/namespaces/{namespace}
|
|
5082
|
-
* @response `200` OK
|
|
5083
|
-
*/
|
|
4771
|
+
/** Extract resource name */
|
|
5084
4772
|
|
|
5085
4773
|
}, {
|
|
5086
|
-
key: "
|
|
5087
|
-
value: function
|
|
5088
|
-
return this.
|
|
4774
|
+
key: "extractResourceName",
|
|
4775
|
+
value: function extractResourceName(resourceName) {
|
|
4776
|
+
return this.extractResource(resourceName).name || resourceName || '';
|
|
5089
4777
|
}
|
|
5090
|
-
/**
|
|
5091
|
-
* No description
|
|
5092
|
-
*
|
|
5093
|
-
* @tags Namespace
|
|
5094
|
-
* @name RemoveNamespace
|
|
5095
|
-
* @operationId NamespaceController_RemoveNamespaceAsync
|
|
5096
|
-
* @summary Remove namespace.
|
|
5097
|
-
* @request DELETE:/namespaces/{namespace}
|
|
5098
|
-
* @response `200` OK
|
|
5099
|
-
*/
|
|
4778
|
+
/** Extract resource workspace */
|
|
5100
4779
|
|
|
5101
4780
|
}, {
|
|
5102
|
-
key: "
|
|
5103
|
-
value: function
|
|
5104
|
-
return this.
|
|
4781
|
+
key: "extractResourceWorkspace",
|
|
4782
|
+
value: function extractResourceWorkspace(resourceName) {
|
|
4783
|
+
return this.extractResource(resourceName).workspace || '';
|
|
5105
4784
|
}
|
|
5106
4785
|
}]);
|
|
5107
4786
|
|
|
5108
|
-
return
|
|
5109
|
-
}(
|
|
5110
|
-
|
|
5111
|
-
let Namespace = /*#__PURE__*/function (_NamespaceService) {
|
|
5112
|
-
_inherits(Namespace, _NamespaceService);
|
|
5113
|
-
|
|
5114
|
-
var _super = /*#__PURE__*/_createSuper(Namespace);
|
|
5115
|
-
|
|
5116
|
-
function Namespace() {
|
|
5117
|
-
_classCallCheck(this, Namespace);
|
|
5118
|
-
|
|
5119
|
-
return _super.apply(this, arguments);
|
|
5120
|
-
}
|
|
5121
|
-
|
|
5122
|
-
return _createClass(Namespace);
|
|
5123
|
-
}(NamespaceService);
|
|
4787
|
+
return Names;
|
|
4788
|
+
}();
|
|
5124
4789
|
|
|
5125
4790
|
/**
|
|
5126
4791
|
* @title Spatial Processing Core API
|
|
@@ -5612,22 +5277,6 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
|
|
|
5612
5277
|
value: function createProject(data) {
|
|
5613
5278
|
return this.http.post("/projects", data).json();
|
|
5614
5279
|
}
|
|
5615
|
-
/**
|
|
5616
|
-
* No description
|
|
5617
|
-
*
|
|
5618
|
-
* @tags Projects
|
|
5619
|
-
* @name SetPermissionsBatch
|
|
5620
|
-
* @operationId ProjectsController_SetPermissionsBatch
|
|
5621
|
-
* @summary Overrides multiply resources permissions in single batch.
|
|
5622
|
-
* @request PUT:/projects
|
|
5623
|
-
* @response `200` OK
|
|
5624
|
-
*/
|
|
5625
|
-
|
|
5626
|
-
}, {
|
|
5627
|
-
key: "setPermissionsBatch",
|
|
5628
|
-
value: function setPermissionsBatch(data) {
|
|
5629
|
-
return this.http.put("/projects", data).then(() => {});
|
|
5630
|
-
}
|
|
5631
5280
|
/**
|
|
5632
5281
|
* No description
|
|
5633
5282
|
*
|
|
@@ -5765,49 +5414,33 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
|
|
|
5765
5414
|
* No description
|
|
5766
5415
|
*
|
|
5767
5416
|
* @tags Projects
|
|
5768
|
-
* @name
|
|
5769
|
-
* @operationId
|
|
5770
|
-
* @summary
|
|
5771
|
-
* @request GET:/projects/{name}/
|
|
5772
|
-
* @response `200` OK
|
|
5773
|
-
*/
|
|
5774
|
-
|
|
5775
|
-
}, {
|
|
5776
|
-
key: "getPreview",
|
|
5777
|
-
value: function getPreview(name) {
|
|
5778
|
-
return this.http.createUrl("/projects/" + name + "/preview");
|
|
5779
|
-
}
|
|
5780
|
-
/**
|
|
5781
|
-
* No description
|
|
5782
|
-
*
|
|
5783
|
-
* @tags Projects
|
|
5784
|
-
* @name SetPreview
|
|
5785
|
-
* @operationId ProjectsController_SetPreview
|
|
5786
|
-
* @summary Sets preview to the resource.
|
|
5787
|
-
* @request POST:/projects/{name}/preview
|
|
5417
|
+
* @name GetTilesLayerImageWithFormat
|
|
5418
|
+
* @operationId ProjectsController_GetTilesLayerImageWithFormat
|
|
5419
|
+
* @summary Render tile.
|
|
5420
|
+
* @request GET:/projects/{name}/tile/{z}/{x}/{y}.{format}
|
|
5788
5421
|
* @response `200` OK
|
|
5789
5422
|
*/
|
|
5790
5423
|
|
|
5791
5424
|
}, {
|
|
5792
|
-
key: "
|
|
5793
|
-
value: function
|
|
5794
|
-
return this.http.
|
|
5425
|
+
key: "getTilesLayerImageWithFormat",
|
|
5426
|
+
value: function getTilesLayerImageWithFormat(name, x, y, z, format) {
|
|
5427
|
+
return this.http.createUrl("/projects/" + name + "/tile/" + z + "/" + x + "/" + y + "." + format);
|
|
5795
5428
|
}
|
|
5796
5429
|
/**
|
|
5797
5430
|
* No description
|
|
5798
5431
|
*
|
|
5799
5432
|
* @tags Projects
|
|
5800
|
-
* @name
|
|
5801
|
-
* @operationId
|
|
5802
|
-
* @summary
|
|
5803
|
-
* @request
|
|
5433
|
+
* @name GetTilesLayerImageWithFormatAndDpi
|
|
5434
|
+
* @operationId ProjectsController_GetTilesLayerImageWithFormatAndDpi
|
|
5435
|
+
* @summary Render tile.
|
|
5436
|
+
* @request GET:/projects/{name}/tile/{z}/{x}/{y}@{dpi}x.{format}
|
|
5804
5437
|
* @response `200` OK
|
|
5805
5438
|
*/
|
|
5806
5439
|
|
|
5807
5440
|
}, {
|
|
5808
|
-
key: "
|
|
5809
|
-
value: function
|
|
5810
|
-
return this.http.
|
|
5441
|
+
key: "getTilesLayerImageWithFormatAndDpi",
|
|
5442
|
+
value: function getTilesLayerImageWithFormatAndDpi(name, x, y, z, dpi, format) {
|
|
5443
|
+
return this.http.createUrl("/projects/" + name + "/tile/" + z + "/" + x + "/" + y + "@" + dpi + "x." + format);
|
|
5811
5444
|
}
|
|
5812
5445
|
/**
|
|
5813
5446
|
* No description
|
|
@@ -5857,70 +5490,6 @@ let ProjectsService = /*#__PURE__*/function (_Service) {
|
|
|
5857
5490
|
value: function getResourceReferences(name) {
|
|
5858
5491
|
return this.http.get("/projects/" + name + "/references").json();
|
|
5859
5492
|
}
|
|
5860
|
-
/**
|
|
5861
|
-
* No description
|
|
5862
|
-
*
|
|
5863
|
-
* @tags Projects
|
|
5864
|
-
* @name GetPermissions
|
|
5865
|
-
* @operationId ProjectsController_GetPermissions
|
|
5866
|
-
* @summary Returns resource permissions.
|
|
5867
|
-
* @request GET:/projects/{name}/permissions
|
|
5868
|
-
* @response `200` OK
|
|
5869
|
-
*/
|
|
5870
|
-
|
|
5871
|
-
}, {
|
|
5872
|
-
key: "getPermissions",
|
|
5873
|
-
value: function getPermissions(name) {
|
|
5874
|
-
return this.http.get("/projects/" + name + "/permissions").json();
|
|
5875
|
-
}
|
|
5876
|
-
/**
|
|
5877
|
-
* No description
|
|
5878
|
-
*
|
|
5879
|
-
* @tags Projects
|
|
5880
|
-
* @name AddPermissions
|
|
5881
|
-
* @operationId ProjectsController_AddPermissions
|
|
5882
|
-
* @summary Adds permissions for the layer, combining existing permissions with the given one.
|
|
5883
|
-
* @request POST:/projects/{name}/permissions
|
|
5884
|
-
* @response `200` OK
|
|
5885
|
-
*/
|
|
5886
|
-
|
|
5887
|
-
}, {
|
|
5888
|
-
key: "addPermissions",
|
|
5889
|
-
value: function addPermissions(name, data) {
|
|
5890
|
-
return this.http.post("/projects/" + name + "/permissions", data).json();
|
|
5891
|
-
}
|
|
5892
|
-
/**
|
|
5893
|
-
* No description
|
|
5894
|
-
*
|
|
5895
|
-
* @tags Projects
|
|
5896
|
-
* @name SetPermissions
|
|
5897
|
-
* @operationId ProjectsController_SetPermissions
|
|
5898
|
-
* @summary Replaces existing access control list for the layer with the given one.
|
|
5899
|
-
* @request PUT:/projects/{name}/permissions
|
|
5900
|
-
* @response `200` OK
|
|
5901
|
-
*/
|
|
5902
|
-
|
|
5903
|
-
}, {
|
|
5904
|
-
key: "setPermissions",
|
|
5905
|
-
value: function setPermissions(name, data) {
|
|
5906
|
-
return this.http.put("/projects/" + name + "/permissions", data).json();
|
|
5907
|
-
}
|
|
5908
|
-
/**
|
|
5909
|
-
* No description
|
|
5910
|
-
*
|
|
5911
|
-
* @tags Projects
|
|
5912
|
-
* @name RemovePermissions
|
|
5913
|
-
* @operationId ProjectsController_RemovePermissions
|
|
5914
|
-
* @summary Removes permissions for the layer for the given role.
|
|
5915
|
-
* @request DELETE:/projects/{name}/permissions/{role}
|
|
5916
|
-
* @response `200` OK
|
|
5917
|
-
*/
|
|
5918
|
-
|
|
5919
|
-
}, {
|
|
5920
|
-
key: "removePermissions",
|
|
5921
|
-
value: function removePermissions(name, role) {
|
|
5922
|
-
return this.http.delete("/projects/" + name + "/permissions/" + role, null).json();
|
|
5923
|
-
}
|
|
5924
5493
|
}]);
|
|
5925
5494
|
|
|
5926
5495
|
return ProjectsService;
|
|
@@ -5947,13 +5516,6 @@ let Projects = /*#__PURE__*/function (_ProjectsService) {
|
|
|
5947
5516
|
value: function getProjectsDeps(proejcts) {
|
|
5948
5517
|
return promiseAllIgnoreErrors(proejcts.map(project => this.getResourceDependencies(project)));
|
|
5949
5518
|
}
|
|
5950
|
-
}, {
|
|
5951
|
-
key: "uploadPreview",
|
|
5952
|
-
value: function uploadPreview(name, file) {
|
|
5953
|
-
return this.setPreview(name, {
|
|
5954
|
-
file
|
|
5955
|
-
});
|
|
5956
|
-
}
|
|
5957
5519
|
}, {
|
|
5958
5520
|
key: "findOne",
|
|
5959
5521
|
value: function findOne(name) {
|
|
@@ -5988,7 +5550,8 @@ function isProjectContentItems(v) {
|
|
|
5988
5550
|
return v !== null && v !== undefined;
|
|
5989
5551
|
}
|
|
5990
5552
|
|
|
5991
|
-
const _excluded$6 = ["id"]
|
|
5553
|
+
const _excluded$6 = ["id"],
|
|
5554
|
+
_excluded2$4 = ["id"];
|
|
5992
5555
|
/**
|
|
5993
5556
|
* @title Spatial Processing Core API
|
|
5994
5557
|
* @version 1.5.1.0
|
|
@@ -6367,6 +5930,79 @@ let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
|
|
|
6367
5930
|
value: function startTask1(id) {
|
|
6368
5931
|
return this.http.post("/scheduler/" + id + "/start", null).then(() => {});
|
|
6369
5932
|
}
|
|
5933
|
+
/**
|
|
5934
|
+
* No description
|
|
5935
|
+
*
|
|
5936
|
+
* @tags RemoteTaskManager
|
|
5937
|
+
* @name GetTaskResource
|
|
5938
|
+
* @operationId RemoteTaskManagerController_GetTaskResource
|
|
5939
|
+
* @summary Shows SubTask in Task.
|
|
5940
|
+
* @request GET:/scheduler/taskresource/{id}
|
|
5941
|
+
* @response `200` OK
|
|
5942
|
+
*/
|
|
5943
|
+
|
|
5944
|
+
}, {
|
|
5945
|
+
key: "getTaskResource",
|
|
5946
|
+
value: function getTaskResource(_ref2) {
|
|
5947
|
+
let {
|
|
5948
|
+
id
|
|
5949
|
+
} = _ref2,
|
|
5950
|
+
query = _objectWithoutPropertiesLoose(_ref2, _excluded2$4);
|
|
5951
|
+
|
|
5952
|
+
return this.http.get("/scheduler/taskresource/" + id, query).json();
|
|
5953
|
+
}
|
|
5954
|
+
/**
|
|
5955
|
+
* No description
|
|
5956
|
+
*
|
|
5957
|
+
* @tags RemoteTaskManager
|
|
5958
|
+
* @name CreateTaskResource
|
|
5959
|
+
* @operationId RemoteTaskManagerController_CreateTaskResource
|
|
5960
|
+
* @summary Create task resource.
|
|
5961
|
+
* @request POST:/scheduler/taskresource
|
|
5962
|
+
* @response `200` OK
|
|
5963
|
+
*/
|
|
5964
|
+
|
|
5965
|
+
}, {
|
|
5966
|
+
key: "createTaskResource",
|
|
5967
|
+
value: function createTaskResource(data) {
|
|
5968
|
+
return this.http.post("/scheduler/taskresource", data).text();
|
|
5969
|
+
}
|
|
5970
|
+
/**
|
|
5971
|
+
* No description
|
|
5972
|
+
*
|
|
5973
|
+
* @tags RemoteTaskManager
|
|
5974
|
+
* @name UpdatePythonTaskResource
|
|
5975
|
+
* @operationId RemoteTaskManagerController_UpdatePythonTaskResource
|
|
5976
|
+
* @summary Update python task resource.
|
|
5977
|
+
* @request PATCH:/scheduler/taskresource/{id}#type=PythonTask
|
|
5978
|
+
* @response `200` OK
|
|
5979
|
+
*/
|
|
5980
|
+
|
|
5981
|
+
}, {
|
|
5982
|
+
key: "updatePythonTaskResource",
|
|
5983
|
+
value: function updatePythonTaskResource(id, data) {
|
|
5984
|
+
return this.http.patch("/scheduler/taskresource/" + id, data, {
|
|
5985
|
+
type: 'PythonTask'
|
|
5986
|
+
}).then(() => {});
|
|
5987
|
+
}
|
|
5988
|
+
/**
|
|
5989
|
+
* No description
|
|
5990
|
+
*
|
|
5991
|
+
* @tags RemoteTaskManager
|
|
5992
|
+
* @name UpdateSpTaskResource
|
|
5993
|
+
* @operationId RemoteTaskManagerController_UpdateSpTaskResource
|
|
5994
|
+
* @summary Update sp task resource.
|
|
5995
|
+
* @request PATCH:/scheduler/taskresource/{id}#type=SpTask
|
|
5996
|
+
* @response `200` OK
|
|
5997
|
+
*/
|
|
5998
|
+
|
|
5999
|
+
}, {
|
|
6000
|
+
key: "updateSpTaskResource",
|
|
6001
|
+
value: function updateSpTaskResource(id, data) {
|
|
6002
|
+
return this.http.patch("/scheduler/taskresource/" + id, data, {
|
|
6003
|
+
type: 'SpTask'
|
|
6004
|
+
}).then(() => {});
|
|
6005
|
+
}
|
|
6370
6006
|
/**
|
|
6371
6007
|
* No description
|
|
6372
6008
|
*
|
|
@@ -6399,6 +6035,22 @@ let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
|
|
|
6399
6035
|
value: function post(data) {
|
|
6400
6036
|
return this.http.post("/scheduler/worker", data).json();
|
|
6401
6037
|
}
|
|
6038
|
+
/**
|
|
6039
|
+
* No description
|
|
6040
|
+
*
|
|
6041
|
+
* @tags RemoteTaskManager
|
|
6042
|
+
* @name GetWorker
|
|
6043
|
+
* @operationId RemoteTaskManagerController_GetWorker
|
|
6044
|
+
* @summary Get worker info by type.
|
|
6045
|
+
* @request GET:/scheduler/worker/{type}
|
|
6046
|
+
* @response `200` OK
|
|
6047
|
+
*/
|
|
6048
|
+
|
|
6049
|
+
}, {
|
|
6050
|
+
key: "getWorker",
|
|
6051
|
+
value: function getWorker(type) {
|
|
6052
|
+
return this.http.get("/scheduler/worker/" + type).json();
|
|
6053
|
+
}
|
|
6402
6054
|
}]);
|
|
6403
6055
|
|
|
6404
6056
|
return RemoteTaskManagerService;
|
|
@@ -6586,8 +6238,21 @@ let SecurityService = /*#__PURE__*/function (_Service) {
|
|
|
6586
6238
|
}
|
|
6587
6239
|
|
|
6588
6240
|
_createClass(SecurityService, [{
|
|
6589
|
-
key: "
|
|
6241
|
+
key: "setPolicies",
|
|
6590
6242
|
value:
|
|
6243
|
+
/**
|
|
6244
|
+
* @description This method requires superuser permission.
|
|
6245
|
+
*
|
|
6246
|
+
* @tags SecurityService
|
|
6247
|
+
* @name SetPolicies
|
|
6248
|
+
* @operationId SecurityServiceController_SetPolicies
|
|
6249
|
+
* @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.
|
|
6250
|
+
* @request POST:/bulk/security/policies
|
|
6251
|
+
* @response `200` OK
|
|
6252
|
+
*/
|
|
6253
|
+
function setPolicies(data) {
|
|
6254
|
+
return this.http.post("/bulk/security/policies", data).then(() => {});
|
|
6255
|
+
}
|
|
6591
6256
|
/**
|
|
6592
6257
|
* No description
|
|
6593
6258
|
*
|
|
@@ -6598,7 +6263,10 @@ let SecurityService = /*#__PURE__*/function (_Service) {
|
|
|
6598
6263
|
* @request GET:/security/findUsersWithRoles
|
|
6599
6264
|
* @response `200` OK
|
|
6600
6265
|
*/
|
|
6601
|
-
|
|
6266
|
+
|
|
6267
|
+
}, {
|
|
6268
|
+
key: "findUserByNameByRoles",
|
|
6269
|
+
value: function findUserByNameByRoles(query) {
|
|
6602
6270
|
return this.http.get("/security/findUsersWithRoles", query).json();
|
|
6603
6271
|
}
|
|
6604
6272
|
/**
|
|
@@ -7055,7 +6723,7 @@ let Styles = /*#__PURE__*/function (_StyleService) {
|
|
|
7055
6723
|
}(StyleService);
|
|
7056
6724
|
|
|
7057
6725
|
const _excluded$7 = ["name"],
|
|
7058
|
-
_excluded2$
|
|
6726
|
+
_excluded2$5 = ["name"],
|
|
7059
6727
|
_excluded3$3 = ["name"],
|
|
7060
6728
|
_excluded4$2 = ["name"];
|
|
7061
6729
|
/**
|
|
@@ -7107,22 +6775,6 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
7107
6775
|
value: function createTable(data) {
|
|
7108
6776
|
return this.http.post("/tables", data).json();
|
|
7109
6777
|
}
|
|
7110
|
-
/**
|
|
7111
|
-
* No description
|
|
7112
|
-
*
|
|
7113
|
-
* @tags Tables
|
|
7114
|
-
* @name SetPermissionsBatch
|
|
7115
|
-
* @operationId TablesController_SetPermissionsBatch
|
|
7116
|
-
* @summary Overrides multiply resources permissions in single batch.
|
|
7117
|
-
* @request PUT:/tables
|
|
7118
|
-
* @response `200` OK
|
|
7119
|
-
*/
|
|
7120
|
-
|
|
7121
|
-
}, {
|
|
7122
|
-
key: "setPermissionsBatch",
|
|
7123
|
-
value: function setPermissionsBatch(data) {
|
|
7124
|
-
return this.http.put("/tables", data).then(() => {});
|
|
7125
|
-
}
|
|
7126
6778
|
/**
|
|
7127
6779
|
* No description
|
|
7128
6780
|
*
|
|
@@ -7273,7 +6925,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
7273
6925
|
let {
|
|
7274
6926
|
name
|
|
7275
6927
|
} = _ref2,
|
|
7276
|
-
query = _objectWithoutPropertiesLoose(_ref2, _excluded2$
|
|
6928
|
+
query = _objectWithoutPropertiesLoose(_ref2, _excluded2$5);
|
|
7277
6929
|
|
|
7278
6930
|
return this.http.patch("/tables/" + name + "/data", data, query).then(() => {});
|
|
7279
6931
|
}
|
|
@@ -7383,54 +7035,6 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
7383
7035
|
value: function createViewFromQuery(data) {
|
|
7384
7036
|
return this.http.post("/tables/fromQuery", data).json();
|
|
7385
7037
|
}
|
|
7386
|
-
/**
|
|
7387
|
-
* No description
|
|
7388
|
-
*
|
|
7389
|
-
* @tags Tables
|
|
7390
|
-
* @name GetPreview
|
|
7391
|
-
* @operationId TablesController_GetPreview
|
|
7392
|
-
* @summary Gets preview of resource.
|
|
7393
|
-
* @request GET:/tables/{name}/preview
|
|
7394
|
-
* @response `200` OK
|
|
7395
|
-
*/
|
|
7396
|
-
|
|
7397
|
-
}, {
|
|
7398
|
-
key: "getPreview",
|
|
7399
|
-
value: function getPreview(name) {
|
|
7400
|
-
return this.http.createUrl("/tables/" + name + "/preview");
|
|
7401
|
-
}
|
|
7402
|
-
/**
|
|
7403
|
-
* No description
|
|
7404
|
-
*
|
|
7405
|
-
* @tags Tables
|
|
7406
|
-
* @name SetPreview
|
|
7407
|
-
* @operationId TablesController_SetPreview
|
|
7408
|
-
* @summary Sets preview to the resource.
|
|
7409
|
-
* @request POST:/tables/{name}/preview
|
|
7410
|
-
* @response `200` OK
|
|
7411
|
-
*/
|
|
7412
|
-
|
|
7413
|
-
}, {
|
|
7414
|
-
key: "setPreview",
|
|
7415
|
-
value: function setPreview(name, data) {
|
|
7416
|
-
return this.http.post("/tables/" + name + "/preview", toFormData(data)).json();
|
|
7417
|
-
}
|
|
7418
|
-
/**
|
|
7419
|
-
* No description
|
|
7420
|
-
*
|
|
7421
|
-
* @tags Tables
|
|
7422
|
-
* @name DeletePreview
|
|
7423
|
-
* @operationId TablesController_DeletePreview
|
|
7424
|
-
* @summary Delete resource preview.
|
|
7425
|
-
* @request DELETE:/tables/{name}/preview
|
|
7426
|
-
* @response `200` OK
|
|
7427
|
-
*/
|
|
7428
|
-
|
|
7429
|
-
}, {
|
|
7430
|
-
key: "deletePreview",
|
|
7431
|
-
value: function deletePreview(name) {
|
|
7432
|
-
return this.http.delete("/tables/" + name + "/preview", null).then(() => {});
|
|
7433
|
-
}
|
|
7434
7038
|
/**
|
|
7435
7039
|
* No description
|
|
7436
7040
|
*
|
|
@@ -7479,70 +7083,6 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
7479
7083
|
value: function getResourceReferences(name) {
|
|
7480
7084
|
return this.http.get("/tables/" + name + "/references").json();
|
|
7481
7085
|
}
|
|
7482
|
-
/**
|
|
7483
|
-
* No description
|
|
7484
|
-
*
|
|
7485
|
-
* @tags Tables
|
|
7486
|
-
* @name GetPermissions
|
|
7487
|
-
* @operationId TablesController_GetPermissions
|
|
7488
|
-
* @summary Returns resource permissions.
|
|
7489
|
-
* @request GET:/tables/{name}/permissions
|
|
7490
|
-
* @response `200` OK
|
|
7491
|
-
*/
|
|
7492
|
-
|
|
7493
|
-
}, {
|
|
7494
|
-
key: "getPermissions",
|
|
7495
|
-
value: function getPermissions(name) {
|
|
7496
|
-
return this.http.get("/tables/" + name + "/permissions").json();
|
|
7497
|
-
}
|
|
7498
|
-
/**
|
|
7499
|
-
* No description
|
|
7500
|
-
*
|
|
7501
|
-
* @tags Tables
|
|
7502
|
-
* @name AddPermissions
|
|
7503
|
-
* @operationId TablesController_AddPermissions
|
|
7504
|
-
* @summary Adds permissions for the layer, combining existing permissions with the given one.
|
|
7505
|
-
* @request POST:/tables/{name}/permissions
|
|
7506
|
-
* @response `200` OK
|
|
7507
|
-
*/
|
|
7508
|
-
|
|
7509
|
-
}, {
|
|
7510
|
-
key: "addPermissions",
|
|
7511
|
-
value: function addPermissions(name, data) {
|
|
7512
|
-
return this.http.post("/tables/" + name + "/permissions", data).json();
|
|
7513
|
-
}
|
|
7514
|
-
/**
|
|
7515
|
-
* No description
|
|
7516
|
-
*
|
|
7517
|
-
* @tags Tables
|
|
7518
|
-
* @name SetPermissions
|
|
7519
|
-
* @operationId TablesController_SetPermissions
|
|
7520
|
-
* @summary Replaces existing access control list for the layer with the given one.
|
|
7521
|
-
* @request PUT:/tables/{name}/permissions
|
|
7522
|
-
* @response `200` OK
|
|
7523
|
-
*/
|
|
7524
|
-
|
|
7525
|
-
}, {
|
|
7526
|
-
key: "setPermissions",
|
|
7527
|
-
value: function setPermissions(name, data) {
|
|
7528
|
-
return this.http.put("/tables/" + name + "/permissions", data).json();
|
|
7529
|
-
}
|
|
7530
|
-
/**
|
|
7531
|
-
* No description
|
|
7532
|
-
*
|
|
7533
|
-
* @tags Tables
|
|
7534
|
-
* @name RemovePermissions
|
|
7535
|
-
* @operationId TablesController_RemovePermissions
|
|
7536
|
-
* @summary Removes permissions for the layer for the given role.
|
|
7537
|
-
* @request DELETE:/tables/{name}/permissions/{role}
|
|
7538
|
-
* @response `200` OK
|
|
7539
|
-
*/
|
|
7540
|
-
|
|
7541
|
-
}, {
|
|
7542
|
-
key: "removePermissions",
|
|
7543
|
-
value: function removePermissions(name, role) {
|
|
7544
|
-
return this.http.delete("/tables/" + name + "/permissions/" + role, null).json();
|
|
7545
|
-
}
|
|
7546
7086
|
}]);
|
|
7547
7087
|
|
|
7548
7088
|
return TablesService;
|
|
@@ -7564,13 +7104,6 @@ let Tables = /*#__PURE__*/function (_TablesService) {
|
|
|
7564
7104
|
value: function getTableInfos(tables) {
|
|
7565
7105
|
return promiseAllIgnoreErrors(tables.map(table => this.getTableInfo(table)));
|
|
7566
7106
|
}
|
|
7567
|
-
}, {
|
|
7568
|
-
key: "uploadPreview",
|
|
7569
|
-
value: function uploadPreview(name, file) {
|
|
7570
|
-
return this.setPreview(name, {
|
|
7571
|
-
file
|
|
7572
|
-
});
|
|
7573
|
-
}
|
|
7574
7107
|
}, {
|
|
7575
7108
|
key: "findOne",
|
|
7576
7109
|
value: function findOne(name) {
|
|
@@ -7833,7 +7366,6 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7833
7366
|
_this.tools = new Tools(_this.http);
|
|
7834
7367
|
_this.resourceCatalog = new ResourceCatalog(_this.http);
|
|
7835
7368
|
_this.general = new General(_this.http);
|
|
7836
|
-
_this.namespace = new Namespace(_this.http);
|
|
7837
7369
|
_this.external = new External(_this.http);
|
|
7838
7370
|
_this.clientSettings = new ClientSettings(_this.http);
|
|
7839
7371
|
_this.portalSettings = new PortalSettings(_this.http);
|
|
@@ -7841,7 +7373,6 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7841
7373
|
_this.statistic = new Statistic(_this.http);
|
|
7842
7374
|
_this.feedback = new Feedback(_this.http);
|
|
7843
7375
|
_this.vectorTiles = new VectorTiles(_this.http);
|
|
7844
|
-
_this.universalSearch = new UniversalSearchService(_this.http);
|
|
7845
7376
|
_this.spatialReference = new SpatialReferencesService(_this.http);
|
|
7846
7377
|
_this.eql = new Eql(_this.http);
|
|
7847
7378
|
_this.catalog = new CatalogService(_this.http);
|
|
@@ -8139,9 +7670,7 @@ var AttributeType;
|
|
|
8139
7670
|
AttributeType["Json"] = "Json";
|
|
8140
7671
|
})(AttributeType || (AttributeType = {}));
|
|
8141
7672
|
/**
|
|
8142
|
-
*
|
|
8143
|
-
owner's authorization (to access its protected resources) used by the
|
|
8144
|
-
client to obtain an access token.
|
|
7673
|
+
*
|
|
8145
7674
|
|
|
8146
7675
|
authorization_code
|
|
8147
7676
|
|
|
@@ -8835,7 +8364,7 @@ var ResourceTypeLink;
|
|
|
8835
8364
|
ResourceTypeLink["Project"] = "projects";
|
|
8836
8365
|
})(ResourceTypeLink || (ResourceTypeLink = {}));
|
|
8837
8366
|
/**
|
|
8838
|
-
*
|
|
8367
|
+
*
|
|
8839
8368
|
|
|
8840
8369
|
code
|
|
8841
8370
|
|
|
@@ -8889,6 +8418,21 @@ var StringSubType;
|
|
|
8889
8418
|
StringSubType["Attachments"] = "Attachments";
|
|
8890
8419
|
})(StringSubType || (StringSubType = {}));
|
|
8891
8420
|
/**
|
|
8421
|
+
* TaskPrototypeSubType.
|
|
8422
|
+
|
|
8423
|
+
SpTask
|
|
8424
|
+
|
|
8425
|
+
PythonTask
|
|
8426
|
+
*/
|
|
8427
|
+
|
|
8428
|
+
|
|
8429
|
+
var TaskResourceSubType;
|
|
8430
|
+
|
|
8431
|
+
(function (TaskResourceSubType) {
|
|
8432
|
+
TaskResourceSubType["SpTask"] = "SpTask";
|
|
8433
|
+
TaskResourceSubType["PythonTask"] = "PythonTask";
|
|
8434
|
+
})(TaskResourceSubType || (TaskResourceSubType = {}));
|
|
8435
|
+
/**
|
|
8892
8436
|
* Sets the horizontal alignment of text.
|
|
8893
8437
|
|
|
8894
8438
|
right
|
|
@@ -9003,5 +8547,5 @@ var WorkerSettingsFieldType;
|
|
|
9003
8547
|
WorkerSettingsFieldType["Expressions"] = "Expressions";
|
|
9004
8548
|
})(WorkerSettingsFieldType || (WorkerSettingsFieldType = {}));
|
|
9005
8549
|
|
|
9006
|
-
export { Account, AccountPreview, AggregationFunction, Api, ApiEvent, AttributeIconType, AttributeSelectorType, AttributeType, AuthorizationGrant, BulkOperations, Cameras, CatalogResourceType, ClassificationType, ClassifyAttributeType, ClientSettings, ConfigurationErrorEnum, ConnectionStatus, DataSourceType, DependencyType, Eql, ErrorDetailsType, ErrorReason, ErrorType, External, FeatureType, Feedback, FileUpload, Filters, FontStyle, FontWeight, GEOCODE_PROVIDER, General, Geocode, GeometryType, Group, HttpClient, IceRouter, Import, Layers, LineCapStyle, LineEndingType, LineJoinType, Names,
|
|
8550
|
+
export { Account, AccountPreview, AggregationFunction, Api, ApiEvent, AttributeIconType, AttributeSelectorType, AttributeType, AuthorizationGrant, BulkOperations, Cameras, CatalogResourceType, ClassificationType, ClassifyAttributeType, ClientSettings, ConfigurationErrorEnum, ConnectionStatus, DataSourceType, DependencyType, Eql, ErrorDetailsType, ErrorReason, ErrorType, External, FeatureType, Feedback, FileUpload, Filters, FontStyle, FontWeight, GEOCODE_PROVIDER, General, Geocode, GeometryType, Group, HttpClient, IceRouter, Import, Layers, LineCapStyle, LineEndingType, LineJoinType, Names, Notification, NotificationEvent, Operation, OwnerFilter, PbfSchema, Permissions, PolicyType, PortalSettings, Print, Projects, Quality, RemoteTaskManager, ResourceCatalog, ResourceSeparator, ResourceSubTypeFilter, ResourceType, ResourceTypeFilter, ResourceTypeLink, Resources, ResponseType, STORAGE_REFRESH_TOKEN_KEY, STORAGE_TOKEN_KEY, Security, SimplifyType, Statistic, StringSubType, Styles, Tables, TaskResourceSubType, TextAlignment, TextVerticalAlignment, Tools, UrlPath, VectorTiles, WorkerMethodType, WorkerSettingsFieldType, addSubDomainToLocation, errorHandler, formDataFromFile, generateId, getFetchingUrlPath, isHTTPError, isHandledError, isProjectContentItems, isString, isTileLayerService, parseJwt, promiseAllIgnoreErrors, stripUselessSlashes, toFormData, unique };
|
|
9007
8551
|
//# sourceMappingURL=api.esm.js.map
|