@evergis/api 3.0.197 → 3.0.199
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 +20 -20
- package/README.md +21 -21
- package/dist/__generated__/AccountService.d.ts +4 -4
- package/dist/__generated__/DataSourceService.d.ts +53 -0
- package/dist/__generated__/EqlService.d.ts +1 -1
- package/dist/__generated__/LayersService.d.ts +2 -2
- package/dist/__generated__/PrintService.d.ts +3 -3
- package/dist/__generated__/ProjectsService.d.ts +2 -2
- package/dist/__generated__/StatisticService.d.ts +2 -2
- package/dist/__generated__/TablesService.d.ts +2 -2
- package/dist/__generated__/WmsServerService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +448 -257
- package/dist/api.cjs.development.js +17 -22
- 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 +232 -231
- package/dist/api.esm.js.map +1 -1
- package/dist/services/Statistic.d.ts +2 -2
- package/package.json +2 -2
|
@@ -36,9 +36,6 @@ function _defineProperties(target, props) {
|
|
|
36
36
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
37
37
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
38
38
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
39
|
-
Object.defineProperty(Constructor, "prototype", {
|
|
40
|
-
writable: false
|
|
41
|
-
});
|
|
42
39
|
return Constructor;
|
|
43
40
|
}
|
|
44
41
|
|
|
@@ -72,9 +69,6 @@ function _inherits(subClass, superClass) {
|
|
|
72
69
|
configurable: true
|
|
73
70
|
}
|
|
74
71
|
});
|
|
75
|
-
Object.defineProperty(subClass, "prototype", {
|
|
76
|
-
writable: false
|
|
77
|
-
});
|
|
78
72
|
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
79
73
|
}
|
|
80
74
|
|
|
@@ -133,8 +127,6 @@ function _assertThisInitialized(self) {
|
|
|
133
127
|
function _possibleConstructorReturn(self, call) {
|
|
134
128
|
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
135
129
|
return call;
|
|
136
|
-
} else if (call !== void 0) {
|
|
137
|
-
throw new TypeError("Derived constructors may only return object or undefined");
|
|
138
130
|
}
|
|
139
131
|
|
|
140
132
|
return _assertThisInitialized(self);
|
|
@@ -168,7 +160,7 @@ function _superPropBase(object, property) {
|
|
|
168
160
|
return object;
|
|
169
161
|
}
|
|
170
162
|
|
|
171
|
-
function _get() {
|
|
163
|
+
function _get(target, property, receiver) {
|
|
172
164
|
if (typeof Reflect !== "undefined" && Reflect.get) {
|
|
173
165
|
_get = Reflect.get;
|
|
174
166
|
} else {
|
|
@@ -179,14 +171,14 @@ function _get() {
|
|
|
179
171
|
var desc = Object.getOwnPropertyDescriptor(base, property);
|
|
180
172
|
|
|
181
173
|
if (desc.get) {
|
|
182
|
-
return desc.get.call(
|
|
174
|
+
return desc.get.call(receiver);
|
|
183
175
|
}
|
|
184
176
|
|
|
185
177
|
return desc.value;
|
|
186
178
|
};
|
|
187
179
|
}
|
|
188
180
|
|
|
189
|
-
return _get
|
|
181
|
+
return _get(target, property, receiver || target);
|
|
190
182
|
}
|
|
191
183
|
|
|
192
184
|
let HttpClient = /*#__PURE__*/function () {
|
|
@@ -1171,7 +1163,7 @@ let AccountService = /*#__PURE__*/function (_Service) {
|
|
|
1171
1163
|
}, {
|
|
1172
1164
|
key: "authenticate",
|
|
1173
1165
|
value: function authenticate(query, data) {
|
|
1174
|
-
return this.http.post("/account/login", data, query).
|
|
1166
|
+
return this.http.post("/account/login", data, query).json();
|
|
1175
1167
|
}
|
|
1176
1168
|
/**
|
|
1177
1169
|
* No description
|
|
@@ -1186,8 +1178,8 @@ let AccountService = /*#__PURE__*/function (_Service) {
|
|
|
1186
1178
|
|
|
1187
1179
|
}, {
|
|
1188
1180
|
key: "refreshToken",
|
|
1189
|
-
value: function refreshToken() {
|
|
1190
|
-
return this.http.post("/account/refresh-token",
|
|
1181
|
+
value: function refreshToken(data) {
|
|
1182
|
+
return this.http.post("/account/refresh-token", data).text();
|
|
1191
1183
|
}
|
|
1192
1184
|
/**
|
|
1193
1185
|
* No description
|
|
@@ -1219,7 +1211,7 @@ let AccountService = /*#__PURE__*/function (_Service) {
|
|
|
1219
1211
|
}, {
|
|
1220
1212
|
key: "ldapLogin",
|
|
1221
1213
|
value: function ldapLogin(data) {
|
|
1222
|
-
return this.http.post("/account/external/login/ldap", data).
|
|
1214
|
+
return this.http.post("/account/external/login/ldap", data).json();
|
|
1223
1215
|
}
|
|
1224
1216
|
/**
|
|
1225
1217
|
* No description
|
|
@@ -2076,7 +2068,7 @@ let EqlService = /*#__PURE__*/function (_Service) {
|
|
|
2076
2068
|
* @response `200` OK
|
|
2077
2069
|
*/
|
|
2078
2070
|
function getQueryResult(data) {
|
|
2079
|
-
return this.http.post("/eql/query", data).
|
|
2071
|
+
return this.http.post("/eql/query", data).json();
|
|
2080
2072
|
}
|
|
2081
2073
|
/**
|
|
2082
2074
|
* No description
|
|
@@ -5053,8 +5045,8 @@ let Notification = /*#__PURE__*/function (_NotificationService) {
|
|
|
5053
5045
|
|| event.code === 4002
|
|
5054
5046
|
/* InvalidSession */
|
|
5055
5047
|
) {
|
|
5056
|
-
|
|
5057
|
-
|
|
5048
|
+
_this.connectStatus = exports.ConnectionStatus.SessionClosed;
|
|
5049
|
+
} else if (_this.reconnectTries < _this.MAX_WS_RECONNECT_TRIES) {
|
|
5058
5050
|
_this.connectStatus = exports.ConnectionStatus.Break;
|
|
5059
5051
|
_this.reconnectTries++;
|
|
5060
5052
|
|
|
@@ -5886,12 +5878,12 @@ let Resources = /*#__PURE__*/function () {
|
|
|
5886
5878
|
}, {
|
|
5887
5879
|
key: "getDependentNames",
|
|
5888
5880
|
value: function getDependentNames(deps, depType) {
|
|
5889
|
-
return deps.filter(_ref => {
|
|
5881
|
+
return deps.filter((_ref) => {
|
|
5890
5882
|
let {
|
|
5891
5883
|
type
|
|
5892
5884
|
} = _ref;
|
|
5893
5885
|
return type === depType;
|
|
5894
|
-
}).map(_ref2 => {
|
|
5886
|
+
}).map((_ref2) => {
|
|
5895
5887
|
let {
|
|
5896
5888
|
name
|
|
5897
5889
|
} = _ref2;
|
|
@@ -6347,7 +6339,7 @@ let Scheduler = /*#__PURE__*/function (_SchedulerService) {
|
|
|
6347
6339
|
const taskProgress = await this.getTaskProgress(id);
|
|
6348
6340
|
this.resolveTaskStatus(taskProgress, resolve, reject);
|
|
6349
6341
|
|
|
6350
|
-
const taskResultCallback = async _ref => {
|
|
6342
|
+
const taskResultCallback = async (_ref) => {
|
|
6351
6343
|
let {
|
|
6352
6344
|
data
|
|
6353
6345
|
} = _ref;
|
|
@@ -8154,6 +8146,10 @@ function isFeatureLayer(layer) {
|
|
|
8154
8146
|
ConfigurationErrorEnum["InvalidTableReferenceConfiguration"] = "InvalidTableReferenceConfiguration";
|
|
8155
8147
|
})(exports.ConfigurationErrorEnum || (exports.ConfigurationErrorEnum = {}));
|
|
8156
8148
|
|
|
8149
|
+
(function (DataSourceType) {
|
|
8150
|
+
DataSourceType["Postgres"] = "Postgres";
|
|
8151
|
+
})(exports.DataSourceType || (exports.DataSourceType = {}));
|
|
8152
|
+
|
|
8157
8153
|
(function (ErrorDetailsType) {
|
|
8158
8154
|
ErrorDetailsType["ResourceLimitExceeded"] = "ResourceLimitExceeded";
|
|
8159
8155
|
ErrorDetailsType["ResourceNotFound"] = "ResourceNotFound";
|
|
@@ -8276,7 +8272,6 @@ function isFeatureLayer(layer) {
|
|
|
8276
8272
|
OwnerFilter["My"] = "My";
|
|
8277
8273
|
OwnerFilter["Shared"] = "Shared";
|
|
8278
8274
|
OwnerFilter["Public"] = "Public";
|
|
8279
|
-
OwnerFilter["All"] = "All";
|
|
8280
8275
|
})(exports.OwnerFilter || (exports.OwnerFilter = {}));
|
|
8281
8276
|
|
|
8282
8277
|
(function (PbfSchema) {
|