@evergis/api 5.0.63 → 5.0.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +12 -12
- package/dist/Api.d.ts +2 -3
- package/dist/__generated__/DataSourceService.d.ts +38 -2
- package/dist/__generated__/LayersService.d.ts +7 -19
- package/dist/__generated__/QuotasService.d.ts +155 -0
- package/dist/__generated__/data-contracts.d.ts +522 -89
- package/dist/api.esm.js +291 -91
- package/dist/api.esm.js.map +1 -1
- package/dist/index.js +291 -90
- package/dist/index.js.map +1 -1
- package/dist/services/Quotas.d.ts +3 -0
- package/dist/services/index.d.ts +1 -0
- package/package.json +2 -2
- package/dist/__generated__/SpatialReferencesService.d.ts +0 -45
package/dist/api.esm.js
CHANGED
|
@@ -2434,14 +2434,14 @@ class LayersService extends Service {
|
|
|
2434
2434
|
* No description
|
|
2435
2435
|
*
|
|
2436
2436
|
* @tags Layers
|
|
2437
|
-
* @name
|
|
2438
|
-
* @operationId
|
|
2437
|
+
* @name UpdateService
|
|
2438
|
+
* @operationId LayersController_UpdateServiceAsync
|
|
2439
2439
|
* @summary Patch EQL-based Query Layer Service.
|
|
2440
2440
|
* @request PATCH:/layers/{name}
|
|
2441
2441
|
* @secure
|
|
2442
2442
|
* @response `200` OK
|
|
2443
2443
|
*/
|
|
2444
|
-
|
|
2444
|
+
updateService(name, data) {
|
|
2445
2445
|
return this.http
|
|
2446
2446
|
.patch(`/layers/${name}`, data)
|
|
2447
2447
|
.json();
|
|
@@ -2482,14 +2482,14 @@ class LayersService extends Service {
|
|
|
2482
2482
|
* No description
|
|
2483
2483
|
*
|
|
2484
2484
|
* @tags Layers
|
|
2485
|
-
* @name
|
|
2486
|
-
* @operationId
|
|
2485
|
+
* @name UpdateService1
|
|
2486
|
+
* @operationId LayersController_UpdateServiceAsync_1
|
|
2487
2487
|
* @summary Patch EQL-based Query Layer Service.
|
|
2488
2488
|
* @request PATCH:/layers/{name}/v2
|
|
2489
2489
|
* @secure
|
|
2490
2490
|
* @response `200` OK
|
|
2491
2491
|
*/
|
|
2492
|
-
|
|
2492
|
+
updateService1(name, data) {
|
|
2493
2493
|
return this.http.patch(`/layers/${name}/v2`, data).json();
|
|
2494
2494
|
}
|
|
2495
2495
|
/**
|
|
@@ -2578,20 +2578,6 @@ class LayersService extends Service {
|
|
|
2578
2578
|
updateFeature(name, data) {
|
|
2579
2579
|
return this.http.patch(`/layers/${name}/features`, data).json();
|
|
2580
2580
|
}
|
|
2581
|
-
/**
|
|
2582
|
-
* No description
|
|
2583
|
-
*
|
|
2584
|
-
* @tags Layers
|
|
2585
|
-
* @name GetById
|
|
2586
|
-
* @operationId LayersController_GetByIdAsync
|
|
2587
|
-
* @summary Gets feature by id.
|
|
2588
|
-
* @request GET:/layers/{name}/features/{id}
|
|
2589
|
-
* @secure
|
|
2590
|
-
* @response `200` OK
|
|
2591
|
-
*/
|
|
2592
|
-
getById({ name, id, ...query }) {
|
|
2593
|
-
return this.http.get(`/layers/${name}/features/${id}`, query).json();
|
|
2594
|
-
}
|
|
2595
2581
|
/**
|
|
2596
2582
|
* No description
|
|
2597
2583
|
*
|
|
@@ -2851,6 +2837,15 @@ var AggregationFunction;
|
|
|
2851
2837
|
AggregationFunction["DensityIndicators"] = "DensityIndicators";
|
|
2852
2838
|
AggregationFunction["DividedSum"] = "DividedSum";
|
|
2853
2839
|
})(AggregationFunction || (AggregationFunction = {}));
|
|
2840
|
+
/**
|
|
2841
|
+
* ArcGIS DataSource sub types.
|
|
2842
|
+
*/
|
|
2843
|
+
var ArcGisDataSourceSubTypes;
|
|
2844
|
+
(function (ArcGisDataSourceSubTypes) {
|
|
2845
|
+
ArcGisDataSourceSubTypes["FeatureServer"] = "FeatureServer";
|
|
2846
|
+
ArcGisDataSourceSubTypes["ImageServer"] = "ImageServer";
|
|
2847
|
+
ArcGisDataSourceSubTypes["MapServer"] = "MapServer";
|
|
2848
|
+
})(ArcGisDataSourceSubTypes || (ArcGisDataSourceSubTypes = {}));
|
|
2854
2849
|
/**
|
|
2855
2850
|
* Attribute configuration type.
|
|
2856
2851
|
*/
|
|
@@ -2894,6 +2889,16 @@ var AuthorizationGrant;
|
|
|
2894
2889
|
AuthorizationGrant["AuthorizationCode"] = "authorization_code";
|
|
2895
2890
|
AuthorizationGrant["RefreshToken"] = "refresh_token";
|
|
2896
2891
|
})(AuthorizationGrant || (AuthorizationGrant = {}));
|
|
2892
|
+
/**
|
|
2893
|
+
* Length of a calendar period.
|
|
2894
|
+
*/
|
|
2895
|
+
var CalendarUnitDc;
|
|
2896
|
+
(function (CalendarUnitDc) {
|
|
2897
|
+
CalendarUnitDc["Day"] = "Day";
|
|
2898
|
+
CalendarUnitDc["Week"] = "Week";
|
|
2899
|
+
CalendarUnitDc["Month"] = "Month";
|
|
2900
|
+
CalendarUnitDc["Year"] = "Year";
|
|
2901
|
+
})(CalendarUnitDc || (CalendarUnitDc = {}));
|
|
2897
2902
|
var CatalogResourceType;
|
|
2898
2903
|
(function (CatalogResourceType) {
|
|
2899
2904
|
CatalogResourceType["Directory"] = "Directory";
|
|
@@ -3016,14 +3021,19 @@ var ExplainSerializeOptions;
|
|
|
3016
3021
|
var LayerServiceType;
|
|
3017
3022
|
(function (LayerServiceType) {
|
|
3018
3023
|
LayerServiceType["QueryLayerService"] = "QueryLayerService";
|
|
3019
|
-
LayerServiceType["LinearLayerService"] = "LinearLayerService";
|
|
3020
|
-
LayerServiceType["MapboxLayerService"] = "MapboxLayerService";
|
|
3021
3024
|
LayerServiceType["PostgresTileLayerService"] = "PostgresTileLayerService";
|
|
3022
3025
|
LayerServiceType["ProxyLayerService"] = "ProxyLayerService";
|
|
3023
|
-
LayerServiceType["PythonLayerService"] = "PythonLayerService";
|
|
3024
3026
|
LayerServiceType["RemoteTileLayerService"] = "RemoteTileLayerService";
|
|
3025
|
-
LayerServiceType["RouteLayerService"] = "RouteLayerService";
|
|
3026
3027
|
})(LayerServiceType || (LayerServiceType = {}));
|
|
3028
|
+
/**
|
|
3029
|
+
* What the cap of a kind is compared against.
|
|
3030
|
+
*/
|
|
3031
|
+
var MeasurementDc;
|
|
3032
|
+
(function (MeasurementDc) {
|
|
3033
|
+
MeasurementDc["Stock"] = "Stock";
|
|
3034
|
+
MeasurementDc["PerInvocation"] = "PerInvocation";
|
|
3035
|
+
MeasurementDc["Rate"] = "Rate";
|
|
3036
|
+
})(MeasurementDc || (MeasurementDc = {}));
|
|
3027
3037
|
var NameConflictBehavior;
|
|
3028
3038
|
(function (NameConflictBehavior) {
|
|
3029
3039
|
NameConflictBehavior["Fail"] = "Fail";
|
|
@@ -3161,6 +3171,15 @@ var StringSubType;
|
|
|
3161
3171
|
StringSubType["PkkCode"] = "PkkCode";
|
|
3162
3172
|
StringSubType["Attachments"] = "Attachments";
|
|
3163
3173
|
})(StringSubType || (StringSubType = {}));
|
|
3174
|
+
/**
|
|
3175
|
+
* Whom a rule is for.
|
|
3176
|
+
*/
|
|
3177
|
+
var SubjectKindDc;
|
|
3178
|
+
(function (SubjectKindDc) {
|
|
3179
|
+
SubjectKindDc["Deployment"] = "Deployment";
|
|
3180
|
+
SubjectKindDc["Role"] = "Role";
|
|
3181
|
+
SubjectKindDc["User"] = "User";
|
|
3182
|
+
})(SubjectKindDc || (SubjectKindDc = {}));
|
|
3164
3183
|
/**
|
|
3165
3184
|
* Specifies the available types of table configurations that can be used within the application.
|
|
3166
3185
|
*/
|
|
@@ -3170,7 +3189,6 @@ var TableConfigurationType;
|
|
|
3170
3189
|
TableConfigurationType["TileCatalogTableConfiguration"] = "TileCatalogTableConfiguration";
|
|
3171
3190
|
TableConfigurationType["ViewConfiguration"] = "ViewConfiguration";
|
|
3172
3191
|
TableConfigurationType["MaterializedViewConfiguration"] = "MaterializedViewConfiguration";
|
|
3173
|
-
TableConfigurationType["RouteTableConfiguration"] = "RouteTableConfiguration";
|
|
3174
3192
|
})(TableConfigurationType || (TableConfigurationType = {}));
|
|
3175
3193
|
/**
|
|
3176
3194
|
* TaskPrototypeSubType.
|
|
@@ -3180,6 +3198,15 @@ var TaskResourceSubType;
|
|
|
3180
3198
|
TaskResourceSubType["SpTask"] = "SpTask";
|
|
3181
3199
|
TaskResourceSubType["PythonTask"] = "PythonTask";
|
|
3182
3200
|
})(TaskResourceSubType || (TaskResourceSubType = {}));
|
|
3201
|
+
/**
|
|
3202
|
+
* How a rate is counted.
|
|
3203
|
+
*/
|
|
3204
|
+
var WindowTypeDc;
|
|
3205
|
+
(function (WindowTypeDc) {
|
|
3206
|
+
WindowTypeDc["Calendar"] = "Calendar";
|
|
3207
|
+
WindowTypeDc["Rolling"] = "Rolling";
|
|
3208
|
+
WindowTypeDc["Lifetime"] = "Lifetime";
|
|
3209
|
+
})(WindowTypeDc || (WindowTypeDc = {}));
|
|
3183
3210
|
var WorkerMethodType;
|
|
3184
3211
|
(function (WorkerMethodType) {
|
|
3185
3212
|
WorkerMethodType["Task"] = "Task";
|
|
@@ -3200,7 +3227,7 @@ var WorkerSettingsFieldType;
|
|
|
3200
3227
|
WorkerSettingsFieldType["MultiPolygon"] = "MultiPolygon";
|
|
3201
3228
|
WorkerSettingsFieldType["Polygon"] = "Polygon";
|
|
3202
3229
|
WorkerSettingsFieldType["Multipoint"] = "Multipoint";
|
|
3203
|
-
WorkerSettingsFieldType["
|
|
3230
|
+
WorkerSettingsFieldType["IntegerArray"] = "IntegerArray";
|
|
3204
3231
|
WorkerSettingsFieldType["DoubleArray"] = "DoubleArray";
|
|
3205
3232
|
WorkerSettingsFieldType["StringArray"] = "StringArray";
|
|
3206
3233
|
WorkerSettingsFieldType["SourceEql"] = "SourceEql";
|
|
@@ -3229,7 +3256,7 @@ class Layers extends LayersService {
|
|
|
3229
3256
|
return this.publishService(configuration);
|
|
3230
3257
|
}
|
|
3231
3258
|
updateQueryLayer(configuration) {
|
|
3232
|
-
return this.
|
|
3259
|
+
return this.updateService(configuration.name, configuration);
|
|
3233
3260
|
}
|
|
3234
3261
|
}
|
|
3235
3262
|
function isTileLayerService(layer) {
|
|
@@ -3452,6 +3479,198 @@ class Projects extends ProjectsService {
|
|
|
3452
3479
|
}
|
|
3453
3480
|
}
|
|
3454
3481
|
|
|
3482
|
+
/* eslint-disable */
|
|
3483
|
+
/* tslint:disable */
|
|
3484
|
+
/*
|
|
3485
|
+
* ---------------------------------------------------------------
|
|
3486
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
3487
|
+
* ## ##
|
|
3488
|
+
* ## AUTHOR: acacode ##
|
|
3489
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
3490
|
+
* ---------------------------------------------------------------
|
|
3491
|
+
*/
|
|
3492
|
+
// @ts-nocheck
|
|
3493
|
+
/**
|
|
3494
|
+
* @title Spatial Processing Gateway API
|
|
3495
|
+
* @version 1.5.1.0
|
|
3496
|
+
* @baseUrl /sp
|
|
3497
|
+
*/
|
|
3498
|
+
class QuotasService extends Service {
|
|
3499
|
+
/**
|
|
3500
|
+
* No description
|
|
3501
|
+
*
|
|
3502
|
+
* @tags Quotas
|
|
3503
|
+
* @name GetKinds
|
|
3504
|
+
* @operationId QuotasController_GetKinds
|
|
3505
|
+
* @summary Every limit kind.
|
|
3506
|
+
* @request GET:/quotas/kinds
|
|
3507
|
+
* @secure
|
|
3508
|
+
* @response `200` OK
|
|
3509
|
+
*/
|
|
3510
|
+
getKinds() {
|
|
3511
|
+
return this.http.get(`/quotas/kinds`).json();
|
|
3512
|
+
}
|
|
3513
|
+
/**
|
|
3514
|
+
* No description
|
|
3515
|
+
*
|
|
3516
|
+
* @tags Quotas
|
|
3517
|
+
* @name GetKind
|
|
3518
|
+
* @operationId QuotasController_GetKind
|
|
3519
|
+
* @summary One limit kind.
|
|
3520
|
+
* @request GET:/quotas/kinds/{code}
|
|
3521
|
+
* @secure
|
|
3522
|
+
* @response `200` OK
|
|
3523
|
+
*/
|
|
3524
|
+
getKind(code) {
|
|
3525
|
+
return this.http.get(`/quotas/kinds/${code}`).json();
|
|
3526
|
+
}
|
|
3527
|
+
/**
|
|
3528
|
+
* No description
|
|
3529
|
+
*
|
|
3530
|
+
* @tags Quotas
|
|
3531
|
+
* @name DeleteKind
|
|
3532
|
+
* @operationId QuotasController_DeleteKind
|
|
3533
|
+
* @summary Deletes a kind nobody declared within the grace period and nobody consumed; otherwise 409 with `KIND_IN_USE`.
|
|
3534
|
+
* @request DELETE:/quotas/kinds/{code}
|
|
3535
|
+
* @secure
|
|
3536
|
+
* @response `200` OK
|
|
3537
|
+
*/
|
|
3538
|
+
deleteKind(code) {
|
|
3539
|
+
return this.http.delete(`/quotas/kinds/${code}`, null).then(() => { });
|
|
3540
|
+
}
|
|
3541
|
+
/**
|
|
3542
|
+
* No description
|
|
3543
|
+
*
|
|
3544
|
+
* @tags Quotas
|
|
3545
|
+
* @name SetKindActive
|
|
3546
|
+
* @operationId QuotasController_SetKindActive
|
|
3547
|
+
* @summary Switches enforcement of a kind on or off: the way to retire a kind.
|
|
3548
|
+
* @request PUT:/quotas/kinds/{code}/active
|
|
3549
|
+
* @secure
|
|
3550
|
+
* @response `200` OK
|
|
3551
|
+
*/
|
|
3552
|
+
setKindActive({ code, ...query }) {
|
|
3553
|
+
return this.http.put(`/quotas/kinds/${code}/active`, null, query).json();
|
|
3554
|
+
}
|
|
3555
|
+
/**
|
|
3556
|
+
* No description
|
|
3557
|
+
*
|
|
3558
|
+
* @tags Quotas
|
|
3559
|
+
* @name GetRules
|
|
3560
|
+
* @operationId QuotasController_GetRules
|
|
3561
|
+
* @summary Rules matching the filter.
|
|
3562
|
+
* @request GET:/quotas/rules
|
|
3563
|
+
* @secure
|
|
3564
|
+
* @response `200` OK
|
|
3565
|
+
*/
|
|
3566
|
+
getRules(query) {
|
|
3567
|
+
return this.http.get(`/quotas/rules`, query).json();
|
|
3568
|
+
}
|
|
3569
|
+
/**
|
|
3570
|
+
* No description
|
|
3571
|
+
*
|
|
3572
|
+
* @tags Quotas
|
|
3573
|
+
* @name UpsertRule
|
|
3574
|
+
* @operationId QuotasController_UpsertRule
|
|
3575
|
+
* @summary Writes a rule, replacing whatever stands at the same kind, subject and qualifier. Repeating the same plan changes nothing.
|
|
3576
|
+
* @request PUT:/quotas/rules
|
|
3577
|
+
* @secure
|
|
3578
|
+
* @response `200` OK
|
|
3579
|
+
*/
|
|
3580
|
+
upsertRule(data) {
|
|
3581
|
+
return this.http.put(`/quotas/rules`, data).json();
|
|
3582
|
+
}
|
|
3583
|
+
/**
|
|
3584
|
+
* No description
|
|
3585
|
+
*
|
|
3586
|
+
* @tags Quotas
|
|
3587
|
+
* @name DeleteRule
|
|
3588
|
+
* @operationId QuotasController_DeleteRule
|
|
3589
|
+
* @summary Deletes a rule.
|
|
3590
|
+
* @request DELETE:/quotas/rules
|
|
3591
|
+
* @secure
|
|
3592
|
+
* @response `200` OK
|
|
3593
|
+
*/
|
|
3594
|
+
deleteRule(query) {
|
|
3595
|
+
return this.http.delete(`/quotas/rules`, null, query).then(() => { });
|
|
3596
|
+
}
|
|
3597
|
+
/**
|
|
3598
|
+
* No description
|
|
3599
|
+
*
|
|
3600
|
+
* @tags Quotas
|
|
3601
|
+
* @name GetRuleHistory
|
|
3602
|
+
* @operationId QuotasController_GetRuleHistory
|
|
3603
|
+
* @summary Changes of the rules matching the filter, newest first.
|
|
3604
|
+
* @request GET:/quotas/rules/history
|
|
3605
|
+
* @secure
|
|
3606
|
+
* @response `200` OK
|
|
3607
|
+
*/
|
|
3608
|
+
getRuleHistory(query) {
|
|
3609
|
+
return this.http.get(`/quotas/rules/history`, query).json();
|
|
3610
|
+
}
|
|
3611
|
+
/**
|
|
3612
|
+
* No description
|
|
3613
|
+
*
|
|
3614
|
+
* @tags Quotas
|
|
3615
|
+
* @name GetGrants
|
|
3616
|
+
* @operationId QuotasController_GetGrants
|
|
3617
|
+
* @summary Grants of credit matching the filter, newest first.
|
|
3618
|
+
* @request GET:/quotas/grants
|
|
3619
|
+
* @secure
|
|
3620
|
+
* @response `200` OK
|
|
3621
|
+
*/
|
|
3622
|
+
getGrants(query) {
|
|
3623
|
+
return this.http.get(`/quotas/grants`, query).json();
|
|
3624
|
+
}
|
|
3625
|
+
/**
|
|
3626
|
+
* No description
|
|
3627
|
+
*
|
|
3628
|
+
* @tags Quotas
|
|
3629
|
+
* @name GrantCredit
|
|
3630
|
+
* @operationId QuotasController_GrantCredit
|
|
3631
|
+
* @summary Grants credit on top of a rate plan, spent after the plan, the soonest to burn first.
|
|
3632
|
+
Granting again with the same key returns the first grant.
|
|
3633
|
+
* @request POST:/quotas/grants
|
|
3634
|
+
* @secure
|
|
3635
|
+
* @response `200` OK
|
|
3636
|
+
*/
|
|
3637
|
+
grantCredit(data) {
|
|
3638
|
+
return this.http.post(`/quotas/grants`, data).json();
|
|
3639
|
+
}
|
|
3640
|
+
/**
|
|
3641
|
+
* No description
|
|
3642
|
+
*
|
|
3643
|
+
* @tags Quotas
|
|
3644
|
+
* @name RevokeGrant
|
|
3645
|
+
* @operationId QuotasController_RevokeGrant
|
|
3646
|
+
* @summary Revokes a grant: what is left of it burns now, what it paid for stays paid. Revoking twice changes nothing.
|
|
3647
|
+
* @request POST:/quotas/grants/{id}/revoke
|
|
3648
|
+
* @secure
|
|
3649
|
+
* @response `200` OK
|
|
3650
|
+
*/
|
|
3651
|
+
revokeGrant({ id, ...query }) {
|
|
3652
|
+
return this.http.post(`/quotas/grants/${id}/revoke`, null, query).json();
|
|
3653
|
+
}
|
|
3654
|
+
/**
|
|
3655
|
+
* No description
|
|
3656
|
+
*
|
|
3657
|
+
* @tags Quotas
|
|
3658
|
+
* @name GetUsage
|
|
3659
|
+
* @operationId QuotasController_GetUsage
|
|
3660
|
+
* @summary What a user has left: the plan in force for each kind, what is spent in the current window and the grants
|
|
3661
|
+
of credit on top of it.
|
|
3662
|
+
* @request GET:/quotas/usage
|
|
3663
|
+
* @secure
|
|
3664
|
+
* @response `200` OK
|
|
3665
|
+
*/
|
|
3666
|
+
getUsage(query) {
|
|
3667
|
+
return this.http.get(`/quotas/usage`, query).json();
|
|
3668
|
+
}
|
|
3669
|
+
}
|
|
3670
|
+
|
|
3671
|
+
class Quotas extends QuotasService {
|
|
3672
|
+
}
|
|
3673
|
+
|
|
3455
3674
|
/* eslint-disable */
|
|
3456
3675
|
/* tslint:disable */
|
|
3457
3676
|
/*
|
|
@@ -4648,6 +4867,48 @@ class DataSourceService extends Service {
|
|
|
4648
4867
|
updateSparkDataSource(data) {
|
|
4649
4868
|
return this.http.patch(`/ds/spark`, data).then(() => { });
|
|
4650
4869
|
}
|
|
4870
|
+
/**
|
|
4871
|
+
* No description
|
|
4872
|
+
*
|
|
4873
|
+
* @tags DataSource
|
|
4874
|
+
* @name TestConnection4
|
|
4875
|
+
* @operationId DataSourceController_TestConnection_4
|
|
4876
|
+
* @summary Test WMS data source connection.
|
|
4877
|
+
* @request POST:/ds/wms/test-connection
|
|
4878
|
+
* @secure
|
|
4879
|
+
* @response `200` OK
|
|
4880
|
+
*/
|
|
4881
|
+
testConnection4(data) {
|
|
4882
|
+
return this.http.post(`/ds/wms/test-connection`, data).then(() => { });
|
|
4883
|
+
}
|
|
4884
|
+
/**
|
|
4885
|
+
* No description
|
|
4886
|
+
*
|
|
4887
|
+
* @tags DataSource
|
|
4888
|
+
* @name CreateWmsDataSource
|
|
4889
|
+
* @operationId DataSourceController_CreateWMSDataSource
|
|
4890
|
+
* @summary Create ArcGIS data source.
|
|
4891
|
+
* @request POST:/ds/wms
|
|
4892
|
+
* @secure
|
|
4893
|
+
* @response `200` OK
|
|
4894
|
+
*/
|
|
4895
|
+
createWmsDataSource(data) {
|
|
4896
|
+
return this.http.post(`/ds/wms`, data).then(() => { });
|
|
4897
|
+
}
|
|
4898
|
+
/**
|
|
4899
|
+
* No description
|
|
4900
|
+
*
|
|
4901
|
+
* @tags DataSource
|
|
4902
|
+
* @name UpdateWmsDataSource
|
|
4903
|
+
* @operationId DataSourceController_UpdateWMSDataSource
|
|
4904
|
+
* @summary Update ArcGIS data source.
|
|
4905
|
+
* @request PATCH:/ds/wms
|
|
4906
|
+
* @secure
|
|
4907
|
+
* @response `200` OK
|
|
4908
|
+
*/
|
|
4909
|
+
updateWmsDataSource(data) {
|
|
4910
|
+
return this.http.patch(`/ds/wms`, data).then(() => { });
|
|
4911
|
+
}
|
|
4651
4912
|
}
|
|
4652
4913
|
|
|
4653
4914
|
/* eslint-disable */
|
|
@@ -4734,67 +4995,6 @@ class QueryTokenAccessService extends Service {
|
|
|
4734
4995
|
}
|
|
4735
4996
|
}
|
|
4736
4997
|
|
|
4737
|
-
/* eslint-disable */
|
|
4738
|
-
/* tslint:disable */
|
|
4739
|
-
/*
|
|
4740
|
-
* ---------------------------------------------------------------
|
|
4741
|
-
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
4742
|
-
* ## ##
|
|
4743
|
-
* ## AUTHOR: acacode ##
|
|
4744
|
-
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
4745
|
-
* ---------------------------------------------------------------
|
|
4746
|
-
*/
|
|
4747
|
-
// @ts-nocheck
|
|
4748
|
-
/**
|
|
4749
|
-
* @title Spatial Processing Gateway API
|
|
4750
|
-
* @version 1.5.1.0
|
|
4751
|
-
* @baseUrl /sp
|
|
4752
|
-
*/
|
|
4753
|
-
class SpatialReferencesService extends Service {
|
|
4754
|
-
/**
|
|
4755
|
-
* No description
|
|
4756
|
-
*
|
|
4757
|
-
* @tags SpatialReferences
|
|
4758
|
-
* @name GetAvailiableCs
|
|
4759
|
-
* @operationId SpatialReferencesController_GetAvailiableCsAsync
|
|
4760
|
-
* @summary Returns list of available spatial references.
|
|
4761
|
-
* @request GET:/srs/list
|
|
4762
|
-
* @secure
|
|
4763
|
-
* @response `200` OK
|
|
4764
|
-
*/
|
|
4765
|
-
getAvailiableCs() {
|
|
4766
|
-
return this.http.get(`/srs/list`).json();
|
|
4767
|
-
}
|
|
4768
|
-
/**
|
|
4769
|
-
* No description
|
|
4770
|
-
*
|
|
4771
|
-
* @tags SpatialReferences
|
|
4772
|
-
* @name GetProj4Representation
|
|
4773
|
-
* @operationId SpatialReferencesController_GetProj4RepresentationAsync
|
|
4774
|
-
* @summary Returns a WKT representation of spatial reference.
|
|
4775
|
-
* @request GET:/srs/{name}/proj4
|
|
4776
|
-
* @secure
|
|
4777
|
-
* @response `200` OK
|
|
4778
|
-
*/
|
|
4779
|
-
getProj4Representation(name) {
|
|
4780
|
-
return this.http.get(`/srs/${name}/proj4`).text();
|
|
4781
|
-
}
|
|
4782
|
-
/**
|
|
4783
|
-
* No description
|
|
4784
|
-
*
|
|
4785
|
-
* @tags SpatialReferences
|
|
4786
|
-
* @name GetWktRepresentation
|
|
4787
|
-
* @operationId SpatialReferencesController_GetWktRepresentationAsync
|
|
4788
|
-
* @summary Returns a WKT representation of spatial reference.
|
|
4789
|
-
* @request GET:/srs/{name}/wkt
|
|
4790
|
-
* @secure
|
|
4791
|
-
* @response `200` OK
|
|
4792
|
-
*/
|
|
4793
|
-
getWktRepresentation({ name, ...query }) {
|
|
4794
|
-
return this.http.get(`/srs/${name}/wkt`, query).text();
|
|
4795
|
-
}
|
|
4796
|
-
}
|
|
4797
|
-
|
|
4798
4998
|
class EventEmitter {
|
|
4799
4999
|
handlers = {
|
|
4800
5000
|
"*": [],
|
|
@@ -4860,7 +5060,6 @@ class Api extends EventEmitter {
|
|
|
4860
5060
|
statistic;
|
|
4861
5061
|
feedback;
|
|
4862
5062
|
vectorTiles;
|
|
4863
|
-
spatialReference;
|
|
4864
5063
|
eql;
|
|
4865
5064
|
catalog;
|
|
4866
5065
|
queryToken;
|
|
@@ -4868,6 +5067,7 @@ class Api extends EventEmitter {
|
|
|
4868
5067
|
remoteTaskManager;
|
|
4869
5068
|
catalogShare;
|
|
4870
5069
|
history;
|
|
5070
|
+
quotas;
|
|
4871
5071
|
http;
|
|
4872
5072
|
urlPath;
|
|
4873
5073
|
refreshingToken = false;
|
|
@@ -4956,7 +5156,6 @@ class Api extends EventEmitter {
|
|
|
4956
5156
|
this.statistic = new Statistic(this.http);
|
|
4957
5157
|
this.feedback = new Feedback(this.http);
|
|
4958
5158
|
this.vectorTiles = new VectorTiles(this.http);
|
|
4959
|
-
this.spatialReference = new SpatialReferencesService(this.http);
|
|
4960
5159
|
this.eql = new Eql(this.http);
|
|
4961
5160
|
this.catalog = new CatalogService(this.http);
|
|
4962
5161
|
this.queryToken = new QueryTokenAccessService(this.http);
|
|
@@ -4964,6 +5163,7 @@ class Api extends EventEmitter {
|
|
|
4964
5163
|
this.remoteTaskManager = new RemoteTaskManager(this.http);
|
|
4965
5164
|
this.catalogShare = new CatalogShare(this.http);
|
|
4966
5165
|
this.history = new History(this.http);
|
|
5166
|
+
this.quotas = new Quotas(this.http);
|
|
4967
5167
|
this.names = new Names({
|
|
4968
5168
|
account: this.account,
|
|
4969
5169
|
});
|
|
@@ -5011,5 +5211,5 @@ class Api extends EventEmitter {
|
|
|
5011
5211
|
}
|
|
5012
5212
|
}
|
|
5013
5213
|
|
|
5014
|
-
export { AccessMode, Account, AccountPreview, AggregationFunction, Api, ApiEvent, AttributeConfigurationType, AttributeIconType, AttributeType, AuthorizationGrant, CatalogResourceType, CatalogShare, ClassificationType, ClassifyAttributeType, ClientSettings, ConfigOperationType, ConflictResolutionStrategy, DataSourceConnectionType, DataSourceType, DependencyType, Eql, ErrorDetailsType, ErrorReason, ExplainFormatOptions, ExplainOptions, ExplainSerializeOptions, External, Feedback, FileUpload, Filters, GEOCODE_PROVIDER, Geocode, History, HttpClient, LayerServiceType, Layers, NameConflictBehavior, Names, OgcGeometryType, PbfSchema, Permissions, PolicyType, PortalSettings, Projects, RemoteTaskManager, RemoteTaskStatus, ResourceSeparator, ResourceSubTypeFilter, ResourceType, ResourceTypeFilter, Resources, ResponseType, STORAGE_REFRESH_TOKEN_KEY, STORAGE_TOKEN_KEY, Security, ShareInvitationStatus, SimplifyType, Statistic, StringSubType, TableConfigurationType, Tables, TaskResourceSubType, Tools, UrlPath, VectorTiles, WorkerMethodType, WorkerSettingsFieldType, errorHandler, generateId, getUserInfo, isHTTPError, isHandledError, isTileLayerService, parseJwt, promiseAllIgnoreErrors, toFormData, unique, updateUserInfo, useToken };
|
|
5214
|
+
export { AccessMode, Account, AccountPreview, AggregationFunction, Api, ApiEvent, ArcGisDataSourceSubTypes, AttributeConfigurationType, AttributeIconType, AttributeType, AuthorizationGrant, CalendarUnitDc, CatalogResourceType, CatalogShare, ClassificationType, ClassifyAttributeType, ClientSettings, ConfigOperationType, ConflictResolutionStrategy, DataSourceConnectionType, DataSourceType, DependencyType, Eql, ErrorDetailsType, ErrorReason, ExplainFormatOptions, ExplainOptions, ExplainSerializeOptions, External, Feedback, FileUpload, Filters, GEOCODE_PROVIDER, Geocode, History, HttpClient, LayerServiceType, Layers, MeasurementDc, NameConflictBehavior, Names, OgcGeometryType, PbfSchema, Permissions, PolicyType, PortalSettings, Projects, Quotas, RemoteTaskManager, RemoteTaskStatus, ResourceSeparator, ResourceSubTypeFilter, ResourceType, ResourceTypeFilter, Resources, ResponseType, STORAGE_REFRESH_TOKEN_KEY, STORAGE_TOKEN_KEY, Security, ShareInvitationStatus, SimplifyType, Statistic, StringSubType, SubjectKindDc, TableConfigurationType, Tables, TaskResourceSubType, Tools, UrlPath, VectorTiles, WindowTypeDc, WorkerMethodType, WorkerSettingsFieldType, errorHandler, generateId, getUserInfo, isHTTPError, isHandledError, isTileLayerService, parseJwt, promiseAllIgnoreErrors, toFormData, unique, updateUserInfo, useToken };
|
|
5015
5215
|
//# sourceMappingURL=api.esm.js.map
|