@evergis/api 4.1.47 → 4.1.49
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/__generated__/ExternalProvidersService.d.ts +2 -2
- package/dist/__generated__/FeedbackService.d.ts +3 -3
- package/dist/__generated__/LayersService.d.ts +13 -1
- package/dist/__generated__/ProjectsService.d.ts +1 -49
- package/dist/__generated__/data-contracts.d.ts +175 -242
- package/dist/api.esm.js +34 -101
- package/dist/api.esm.js.map +1 -1
- package/dist/index.js +33 -100
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/__generated__/CamerasService.d.ts +0 -105
- package/dist/services/Cameras.d.ts +0 -3
package/dist/index.js
CHANGED
|
@@ -973,7 +973,7 @@ class ExternalProvidersService extends Service {
|
|
|
973
973
|
* @response `200` OK
|
|
974
974
|
*/
|
|
975
975
|
loginCallback() {
|
|
976
|
-
return this.http.get(`/account/external/login/callback`).
|
|
976
|
+
return this.http.get(`/account/external/login/callback`).json();
|
|
977
977
|
}
|
|
978
978
|
/**
|
|
979
979
|
* No description
|
|
@@ -1536,8 +1536,8 @@ class FeedbackService extends Service {
|
|
|
1536
1536
|
* @secure
|
|
1537
1537
|
* @response `200` OK
|
|
1538
1538
|
*/
|
|
1539
|
-
increaseResourcesLimit(
|
|
1540
|
-
return this.http.post(`/feedback/limits`,
|
|
1539
|
+
increaseResourcesLimit(data) {
|
|
1540
|
+
return this.http.post(`/feedback/limits`, data).json();
|
|
1541
1541
|
}
|
|
1542
1542
|
/**
|
|
1543
1543
|
* No description
|
|
@@ -1551,7 +1551,7 @@ class FeedbackService extends Service {
|
|
|
1551
1551
|
* @response `200` OK
|
|
1552
1552
|
*/
|
|
1553
1553
|
requestFullAccess() {
|
|
1554
|
-
return this.http.post(`/feedback/fullAccess`, null).
|
|
1554
|
+
return this.http.post(`/feedback/fullAccess`, null).json();
|
|
1555
1555
|
}
|
|
1556
1556
|
/**
|
|
1557
1557
|
* No description
|
|
@@ -2745,9 +2745,9 @@ exports.UrlPath = void 0;
|
|
|
2745
2745
|
UrlPath["Presentation"] = "/presentation";
|
|
2746
2746
|
UrlPath["Portal"] = "/portal";
|
|
2747
2747
|
})(exports.UrlPath || (exports.UrlPath = {}));
|
|
2748
|
-
const apiEventsByResponseStatus = {
|
|
2749
|
-
|
|
2750
|
-
};
|
|
2748
|
+
/* const apiEventsByResponseStatus: Record<number, ApiEvent> = {
|
|
2749
|
+
401: ApiEvent.Unauthorized,
|
|
2750
|
+
}; */
|
|
2751
2751
|
const SHARED_PORT = "8082";
|
|
2752
2752
|
const URL_PATHS = Object.values(exports.UrlPath);
|
|
2753
2753
|
const DEFAULT_URL_PATH = URL_PATHS[0];
|
|
@@ -2839,16 +2839,18 @@ class Api extends EventEmitter {
|
|
|
2839
2839
|
}
|
|
2840
2840
|
},
|
|
2841
2841
|
],
|
|
2842
|
-
afterResponse: [
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2842
|
+
/* afterResponse: [
|
|
2843
|
+
(request, options, response) => {
|
|
2844
|
+
const apiEvent = apiEventsByResponseStatus[response?.status];
|
|
2845
|
+
|
|
2846
|
+
if (apiEvent) {
|
|
2847
|
+
this.emit(apiEvent, errorHandler(new HTTPError(response, request, options)));
|
|
2848
|
+
}
|
|
2849
|
+
|
|
2850
|
+
return response;
|
|
2851
|
+
},
|
|
2852
|
+
...(hooks?.afterResponse || []),
|
|
2853
|
+
], */
|
|
2852
2854
|
},
|
|
2853
2855
|
});
|
|
2854
2856
|
this.url = url;
|
|
@@ -3295,6 +3297,20 @@ class LayersService extends Service {
|
|
|
3295
3297
|
updateQueryLayerService(name, data) {
|
|
3296
3298
|
return this.http.patch(`/layers/${name}`, data, { type: "QueryLayerService" }).json();
|
|
3297
3299
|
}
|
|
3300
|
+
/**
|
|
3301
|
+
* No description
|
|
3302
|
+
*
|
|
3303
|
+
* @tags Layers
|
|
3304
|
+
* @name PatchQueryLayerService
|
|
3305
|
+
* @operationId LayersController_PatchQueryLayerService
|
|
3306
|
+
* @summary Patch EQL-based Query Layer Service.
|
|
3307
|
+
* @request PATCH:/layers/{name}/v2
|
|
3308
|
+
* @secure
|
|
3309
|
+
* @response `200` OK
|
|
3310
|
+
*/
|
|
3311
|
+
patchQueryLayerService(name, data) {
|
|
3312
|
+
return this.http.patch(`/layers/${name}/v2`, data).json();
|
|
3313
|
+
}
|
|
3298
3314
|
/**
|
|
3299
3315
|
* No description
|
|
3300
3316
|
*
|
|
@@ -4102,62 +4118,6 @@ class ProjectsService extends Service {
|
|
|
4102
4118
|
getProjectLayersExtendedInfo(name) {
|
|
4103
4119
|
return this.http.get(`/projects/${name}/extended-info`).json();
|
|
4104
4120
|
}
|
|
4105
|
-
/**
|
|
4106
|
-
* No description
|
|
4107
|
-
*
|
|
4108
|
-
* @tags Projects
|
|
4109
|
-
* @name PatchProjectConfiguration
|
|
4110
|
-
* @operationId ProjectsController_PatchProjectConfiguration
|
|
4111
|
-
* @summary Applies partial updates using JSON Patch.
|
|
4112
|
-
* @request PATCH:/projects/{name}/devConfiguration
|
|
4113
|
-
* @secure
|
|
4114
|
-
* @response `200` OK
|
|
4115
|
-
*/
|
|
4116
|
-
patchProjectConfiguration(name, data) {
|
|
4117
|
-
return this.http.patch(`/projects/${name}/devConfiguration`, data).json();
|
|
4118
|
-
}
|
|
4119
|
-
/**
|
|
4120
|
-
* No description
|
|
4121
|
-
*
|
|
4122
|
-
* @tags Projects
|
|
4123
|
-
* @name PutProjectConfiguration
|
|
4124
|
-
* @operationId ProjectsController_PutProjectConfiguration
|
|
4125
|
-
* @summary Creates or updates configuration (full replacement).
|
|
4126
|
-
* @request PUT:/projects/{name}/devConfiguration
|
|
4127
|
-
* @secure
|
|
4128
|
-
* @response `200` OK
|
|
4129
|
-
*/
|
|
4130
|
-
putProjectConfiguration(name, data) {
|
|
4131
|
-
return this.http.put(`/projects/${name}/devConfiguration`, data).json();
|
|
4132
|
-
}
|
|
4133
|
-
/**
|
|
4134
|
-
* No description
|
|
4135
|
-
*
|
|
4136
|
-
* @tags Projects
|
|
4137
|
-
* @name GetProjectConfiguration
|
|
4138
|
-
* @operationId ProjectsController_GetProjectConfiguration
|
|
4139
|
-
* @summary Gets configuration for a resource and type.
|
|
4140
|
-
* @request GET:/projects/{name}/devConfiguration
|
|
4141
|
-
* @secure
|
|
4142
|
-
* @response `200` OK
|
|
4143
|
-
*/
|
|
4144
|
-
getProjectConfiguration(name) {
|
|
4145
|
-
return this.http.get(`/projects/${name}/devConfiguration`).json();
|
|
4146
|
-
}
|
|
4147
|
-
/**
|
|
4148
|
-
* No description
|
|
4149
|
-
*
|
|
4150
|
-
* @tags Projects
|
|
4151
|
-
* @name DeleteProjectConfiguration
|
|
4152
|
-
* @operationId ProjectsController_DeleteProjectConfiguration
|
|
4153
|
-
* @summary Creates or updates configuration (full replacement).
|
|
4154
|
-
* @request DELETE:/projects/{name}/devConfiguration
|
|
4155
|
-
* @secure
|
|
4156
|
-
* @response `200` OK
|
|
4157
|
-
*/
|
|
4158
|
-
deleteProjectConfiguration(name) {
|
|
4159
|
-
return this.http.delete(`/projects/${name}/devConfiguration`, null).json();
|
|
4160
|
-
}
|
|
4161
4121
|
/**
|
|
4162
4122
|
* No description
|
|
4163
4123
|
*
|
|
@@ -5548,18 +5508,6 @@ exports.ConfigurationErrorEnum = void 0;
|
|
|
5548
5508
|
/**
|
|
5549
5509
|
*
|
|
5550
5510
|
|
|
5551
|
-
Default
|
|
5552
|
-
|
|
5553
|
-
DevConfiguration
|
|
5554
|
-
*/
|
|
5555
|
-
exports.ConfigurationType = void 0;
|
|
5556
|
-
(function (ConfigurationType) {
|
|
5557
|
-
ConfigurationType["Default"] = "Default";
|
|
5558
|
-
ConfigurationType["DevConfiguration"] = "DevConfiguration";
|
|
5559
|
-
})(exports.ConfigurationType || (exports.ConfigurationType = {}));
|
|
5560
|
-
/**
|
|
5561
|
-
*
|
|
5562
|
-
|
|
5563
5511
|
Skip
|
|
5564
5512
|
|
|
5565
5513
|
Overwrite
|
|
@@ -5780,21 +5728,6 @@ exports.PolicyType = void 0;
|
|
|
5780
5728
|
PolicyType["MaxEqlQueryParametersValues"] = "MaxEqlQueryParametersValues";
|
|
5781
5729
|
})(exports.PolicyType || (exports.PolicyType = {}));
|
|
5782
5730
|
/**
|
|
5783
|
-
* Stream quality.
|
|
5784
|
-
|
|
5785
|
-
Low
|
|
5786
|
-
|
|
5787
|
-
Medium
|
|
5788
|
-
|
|
5789
|
-
High
|
|
5790
|
-
*/
|
|
5791
|
-
exports.Quality = void 0;
|
|
5792
|
-
(function (Quality) {
|
|
5793
|
-
Quality["Low"] = "Low";
|
|
5794
|
-
Quality["Medium"] = "Medium";
|
|
5795
|
-
Quality["High"] = "High";
|
|
5796
|
-
})(exports.Quality || (exports.Quality = {}));
|
|
5797
|
-
/**
|
|
5798
5731
|
*
|
|
5799
5732
|
|
|
5800
5733
|
Init
|