@tiba-spark/client-shared-lib 25.4.0-340 → 25.4.0-Perf-318
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/esm2022/libraries/service-proxy/cloud-service-proxies.mjs +103 -89
- package/esm2022/libraries/service-proxy/edge-service-proxies.mjs +2 -2
- package/esm2022/libraries/service-proxy/identity-service-proxies.mjs +195 -1
- package/fesm2022/tiba-spark-client-shared-lib.mjs +323 -111
- package/fesm2022/tiba-spark-client-shared-lib.mjs.map +1 -1
- package/libraries/modules/auth/session.state.d.ts +1 -1
- package/libraries/service-proxy/cloud-service-proxies.d.ts +44 -38
- package/libraries/service-proxy/cloud-service-proxies.d.ts.map +1 -1
- package/libraries/service-proxy/identity-service-proxies.d.ts +66 -0
- package/libraries/service-proxy/identity-service-proxies.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -3068,11 +3068,19 @@ class ConfigurationCloudServiceProxy {
|
|
|
3068
3068
|
_headers[key] = response.headers.get(key);
|
|
3069
3069
|
}
|
|
3070
3070
|
}
|
|
3071
|
-
if (status ===
|
|
3071
|
+
if (status === 404) {
|
|
3072
|
+
return blobToText$3(responseBlob).pipe(mergeMap(_responseText => {
|
|
3073
|
+
let result404 = null;
|
|
3074
|
+
let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
3075
|
+
result404 = ProblemDetails$3.fromJS(resultData404);
|
|
3076
|
+
return throwException$3("Not Found", status, _responseText, _headers, result404);
|
|
3077
|
+
}));
|
|
3078
|
+
}
|
|
3079
|
+
else if (status === 200) {
|
|
3072
3080
|
return blobToText$3(responseBlob).pipe(mergeMap(_responseText => {
|
|
3073
3081
|
let result200 = null;
|
|
3074
3082
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
3075
|
-
result200 =
|
|
3083
|
+
result200 = HealthDtoHttpResponseData$2.fromJS(resultData200);
|
|
3076
3084
|
return of(result200);
|
|
3077
3085
|
}));
|
|
3078
3086
|
}
|
|
@@ -12939,92 +12947,6 @@ class CloudFacilityDto {
|
|
|
12939
12947
|
return result;
|
|
12940
12948
|
}
|
|
12941
12949
|
}
|
|
12942
|
-
class CloudHealthDto {
|
|
12943
|
-
constructor(data) {
|
|
12944
|
-
if (data) {
|
|
12945
|
-
for (var property in data) {
|
|
12946
|
-
if (data.hasOwnProperty(property))
|
|
12947
|
-
this[property] = data[property];
|
|
12948
|
-
}
|
|
12949
|
-
}
|
|
12950
|
-
}
|
|
12951
|
-
init(_data) {
|
|
12952
|
-
if (_data) {
|
|
12953
|
-
this.environment = _data["environment"];
|
|
12954
|
-
if (_data["services"]) {
|
|
12955
|
-
this.services = {};
|
|
12956
|
-
for (let key in _data["services"]) {
|
|
12957
|
-
if (_data["services"].hasOwnProperty(key))
|
|
12958
|
-
this.services[key] = _data["services"][key] ? HealthBase$1.fromJS(_data["services"][key]) : new HealthBase$1();
|
|
12959
|
-
}
|
|
12960
|
-
}
|
|
12961
|
-
}
|
|
12962
|
-
}
|
|
12963
|
-
static fromJS(data) {
|
|
12964
|
-
data = typeof data === 'object' ? data : {};
|
|
12965
|
-
let result = new CloudHealthDto();
|
|
12966
|
-
result.init(data);
|
|
12967
|
-
return result;
|
|
12968
|
-
}
|
|
12969
|
-
toJSON(data) {
|
|
12970
|
-
data = typeof data === 'object' ? data : {};
|
|
12971
|
-
data["environment"] = this.environment;
|
|
12972
|
-
if (this.services) {
|
|
12973
|
-
data["services"] = {};
|
|
12974
|
-
for (let key in this.services) {
|
|
12975
|
-
if (this.services.hasOwnProperty(key))
|
|
12976
|
-
data["services"][key] = this.services[key] ? this.services[key].toJSON() : undefined;
|
|
12977
|
-
}
|
|
12978
|
-
}
|
|
12979
|
-
return data;
|
|
12980
|
-
}
|
|
12981
|
-
clone() {
|
|
12982
|
-
const json = this.toJSON();
|
|
12983
|
-
let result = new CloudHealthDto();
|
|
12984
|
-
result.init(json);
|
|
12985
|
-
return result;
|
|
12986
|
-
}
|
|
12987
|
-
}
|
|
12988
|
-
class CloudHealthDtoHttpResponseData {
|
|
12989
|
-
constructor(data) {
|
|
12990
|
-
if (data) {
|
|
12991
|
-
for (var property in data) {
|
|
12992
|
-
if (data.hasOwnProperty(property))
|
|
12993
|
-
this[property] = data[property];
|
|
12994
|
-
}
|
|
12995
|
-
}
|
|
12996
|
-
}
|
|
12997
|
-
init(_data) {
|
|
12998
|
-
if (_data) {
|
|
12999
|
-
this.errorMessage = _data["errorMessage"];
|
|
13000
|
-
this.isSuccess = _data["isSuccess"];
|
|
13001
|
-
this.statusCode = _data["statusCode"];
|
|
13002
|
-
this.data = _data["data"] ? CloudHealthDto.fromJS(_data["data"]) : undefined;
|
|
13003
|
-
this.successMessage = _data["successMessage"];
|
|
13004
|
-
}
|
|
13005
|
-
}
|
|
13006
|
-
static fromJS(data) {
|
|
13007
|
-
data = typeof data === 'object' ? data : {};
|
|
13008
|
-
let result = new CloudHealthDtoHttpResponseData();
|
|
13009
|
-
result.init(data);
|
|
13010
|
-
return result;
|
|
13011
|
-
}
|
|
13012
|
-
toJSON(data) {
|
|
13013
|
-
data = typeof data === 'object' ? data : {};
|
|
13014
|
-
data["errorMessage"] = this.errorMessage;
|
|
13015
|
-
data["isSuccess"] = this.isSuccess;
|
|
13016
|
-
data["statusCode"] = this.statusCode;
|
|
13017
|
-
data["data"] = this.data ? this.data.toJSON() : undefined;
|
|
13018
|
-
data["successMessage"] = this.successMessage;
|
|
13019
|
-
return data;
|
|
13020
|
-
}
|
|
13021
|
-
clone() {
|
|
13022
|
-
const json = this.toJSON();
|
|
13023
|
-
let result = new CloudHealthDtoHttpResponseData();
|
|
13024
|
-
result.init(json);
|
|
13025
|
-
return result;
|
|
13026
|
-
}
|
|
13027
|
-
}
|
|
13028
12950
|
let CoinDto$1 = class CoinDto {
|
|
13029
12951
|
constructor(data) {
|
|
13030
12952
|
if (data) {
|
|
@@ -15440,7 +15362,7 @@ class HandlingDynamicPricingConditionDto {
|
|
|
15440
15362
|
return result;
|
|
15441
15363
|
}
|
|
15442
15364
|
}
|
|
15443
|
-
let HealthBase$
|
|
15365
|
+
let HealthBase$2 = class HealthBase {
|
|
15444
15366
|
constructor(data) {
|
|
15445
15367
|
if (data) {
|
|
15446
15368
|
for (var property in data) {
|
|
@@ -15476,11 +15398,103 @@ let HealthBase$1 = class HealthBase {
|
|
|
15476
15398
|
return result;
|
|
15477
15399
|
}
|
|
15478
15400
|
};
|
|
15479
|
-
|
|
15401
|
+
let HealthDto$2 = class HealthDto {
|
|
15402
|
+
constructor(data) {
|
|
15403
|
+
if (data) {
|
|
15404
|
+
for (var property in data) {
|
|
15405
|
+
if (data.hasOwnProperty(property))
|
|
15406
|
+
this[property] = data[property];
|
|
15407
|
+
}
|
|
15408
|
+
}
|
|
15409
|
+
}
|
|
15410
|
+
init(_data) {
|
|
15411
|
+
if (_data) {
|
|
15412
|
+
this.environment = _data["environment"];
|
|
15413
|
+
this.sparkApiServiceVersion = _data["sparkApiServiceVersion"];
|
|
15414
|
+
this.version = _data["version"];
|
|
15415
|
+
if (_data["services"]) {
|
|
15416
|
+
this.services = {};
|
|
15417
|
+
for (let key in _data["services"]) {
|
|
15418
|
+
if (_data["services"].hasOwnProperty(key))
|
|
15419
|
+
this.services[key] = _data["services"][key] ? HealthBase$2.fromJS(_data["services"][key]) : new HealthBase$2();
|
|
15420
|
+
}
|
|
15421
|
+
}
|
|
15422
|
+
this.runningStatus = _data["runningStatus"] ? ServicesRunningStatusDto$2.fromJS(_data["runningStatus"]) : undefined;
|
|
15423
|
+
}
|
|
15424
|
+
}
|
|
15425
|
+
static fromJS(data) {
|
|
15426
|
+
data = typeof data === 'object' ? data : {};
|
|
15427
|
+
let result = new HealthDto();
|
|
15428
|
+
result.init(data);
|
|
15429
|
+
return result;
|
|
15430
|
+
}
|
|
15431
|
+
toJSON(data) {
|
|
15432
|
+
data = typeof data === 'object' ? data : {};
|
|
15433
|
+
data["environment"] = this.environment;
|
|
15434
|
+
data["sparkApiServiceVersion"] = this.sparkApiServiceVersion;
|
|
15435
|
+
data["version"] = this.version;
|
|
15436
|
+
if (this.services) {
|
|
15437
|
+
data["services"] = {};
|
|
15438
|
+
for (let key in this.services) {
|
|
15439
|
+
if (this.services.hasOwnProperty(key))
|
|
15440
|
+
data["services"][key] = this.services[key] ? this.services[key].toJSON() : undefined;
|
|
15441
|
+
}
|
|
15442
|
+
}
|
|
15443
|
+
data["runningStatus"] = this.runningStatus ? this.runningStatus.toJSON() : undefined;
|
|
15444
|
+
return data;
|
|
15445
|
+
}
|
|
15446
|
+
clone() {
|
|
15447
|
+
const json = this.toJSON();
|
|
15448
|
+
let result = new HealthDto();
|
|
15449
|
+
result.init(json);
|
|
15450
|
+
return result;
|
|
15451
|
+
}
|
|
15452
|
+
};
|
|
15453
|
+
let HealthDtoHttpResponseData$2 = class HealthDtoHttpResponseData {
|
|
15454
|
+
constructor(data) {
|
|
15455
|
+
if (data) {
|
|
15456
|
+
for (var property in data) {
|
|
15457
|
+
if (data.hasOwnProperty(property))
|
|
15458
|
+
this[property] = data[property];
|
|
15459
|
+
}
|
|
15460
|
+
}
|
|
15461
|
+
}
|
|
15462
|
+
init(_data) {
|
|
15463
|
+
if (_data) {
|
|
15464
|
+
this.errorMessage = _data["errorMessage"];
|
|
15465
|
+
this.isSuccess = _data["isSuccess"];
|
|
15466
|
+
this.statusCode = _data["statusCode"];
|
|
15467
|
+
this.data = _data["data"] ? HealthDto$2.fromJS(_data["data"]) : undefined;
|
|
15468
|
+
this.successMessage = _data["successMessage"];
|
|
15469
|
+
}
|
|
15470
|
+
}
|
|
15471
|
+
static fromJS(data) {
|
|
15472
|
+
data = typeof data === 'object' ? data : {};
|
|
15473
|
+
let result = new HealthDtoHttpResponseData();
|
|
15474
|
+
result.init(data);
|
|
15475
|
+
return result;
|
|
15476
|
+
}
|
|
15477
|
+
toJSON(data) {
|
|
15478
|
+
data = typeof data === 'object' ? data : {};
|
|
15479
|
+
data["errorMessage"] = this.errorMessage;
|
|
15480
|
+
data["isSuccess"] = this.isSuccess;
|
|
15481
|
+
data["statusCode"] = this.statusCode;
|
|
15482
|
+
data["data"] = this.data ? this.data.toJSON() : undefined;
|
|
15483
|
+
data["successMessage"] = this.successMessage;
|
|
15484
|
+
return data;
|
|
15485
|
+
}
|
|
15486
|
+
clone() {
|
|
15487
|
+
const json = this.toJSON();
|
|
15488
|
+
let result = new HealthDtoHttpResponseData();
|
|
15489
|
+
result.init(json);
|
|
15490
|
+
return result;
|
|
15491
|
+
}
|
|
15492
|
+
};
|
|
15493
|
+
var HealthStatus$2;
|
|
15480
15494
|
(function (HealthStatus) {
|
|
15481
15495
|
HealthStatus[HealthStatus["Down"] = 0] = "Down";
|
|
15482
15496
|
HealthStatus[HealthStatus["Up"] = 1] = "Up";
|
|
15483
|
-
})(HealthStatus$
|
|
15497
|
+
})(HealthStatus$2 || (HealthStatus$2 = {}));
|
|
15484
15498
|
let HopperDto$1 = class HopperDto {
|
|
15485
15499
|
constructor(data) {
|
|
15486
15500
|
if (data) {
|
|
@@ -22447,8 +22461,6 @@ var cloudServiceProxies = /*#__PURE__*/Object.freeze({
|
|
|
22447
22461
|
Changes: Changes,
|
|
22448
22462
|
CheckApiKeyDto: CheckApiKeyDto,
|
|
22449
22463
|
CloudFacilityDto: CloudFacilityDto,
|
|
22450
|
-
CloudHealthDto: CloudHealthDto,
|
|
22451
|
-
CloudHealthDtoHttpResponseData: CloudHealthDtoHttpResponseData,
|
|
22452
22464
|
CoinDto: CoinDto$1,
|
|
22453
22465
|
CoinInLaneDto: CoinInLaneDto$1,
|
|
22454
22466
|
get CoinStatus () { return CoinStatus$1; },
|
|
@@ -22516,8 +22528,10 @@ var cloudServiceProxies = /*#__PURE__*/Object.freeze({
|
|
|
22516
22528
|
HandlingAlertDto: HandlingAlertDto,
|
|
22517
22529
|
HandlingByUserDto: HandlingByUserDto,
|
|
22518
22530
|
HandlingDynamicPricingConditionDto: HandlingDynamicPricingConditionDto,
|
|
22519
|
-
HealthBase: HealthBase$
|
|
22520
|
-
|
|
22531
|
+
HealthBase: HealthBase$2,
|
|
22532
|
+
HealthDto: HealthDto$2,
|
|
22533
|
+
HealthDtoHttpResponseData: HealthDtoHttpResponseData$2,
|
|
22534
|
+
get HealthStatus () { return HealthStatus$2; },
|
|
22521
22535
|
HopperDto: HopperDto$1,
|
|
22522
22536
|
get HopperStatus () { return HopperStatus$1; },
|
|
22523
22537
|
get HttpStatusCode () { return HttpStatusCode$3; },
|
|
@@ -91849,7 +91863,7 @@ class ConfigurationServiceProxy {
|
|
|
91849
91863
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
91850
91864
|
let result200 = null;
|
|
91851
91865
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
91852
|
-
result200 = HealthDtoHttpResponseData.fromJS(resultData200);
|
|
91866
|
+
result200 = HealthDtoHttpResponseData$1.fromJS(resultData200);
|
|
91853
91867
|
return of(result200);
|
|
91854
91868
|
}));
|
|
91855
91869
|
}
|
|
@@ -91885,7 +91899,7 @@ class UsersServiceProxy {
|
|
|
91885
91899
|
* @return Success
|
|
91886
91900
|
*/
|
|
91887
91901
|
updateUserPassword(body) {
|
|
91888
|
-
let url_ = this.baseUrl + "/api/services/users/
|
|
91902
|
+
let url_ = this.baseUrl + "/api/services/users/updatepassword";
|
|
91889
91903
|
url_ = url_.replace(/[?&]$/, "");
|
|
91890
91904
|
const content_ = JSON.stringify(body);
|
|
91891
91905
|
let options_ = {
|
|
@@ -92517,7 +92531,7 @@ var CrudOperation;
|
|
|
92517
92531
|
CrudOperation[CrudOperation["Delete"] = 4] = "Delete";
|
|
92518
92532
|
CrudOperation[CrudOperation["Advanced"] = 5] = "Advanced";
|
|
92519
92533
|
})(CrudOperation || (CrudOperation = {}));
|
|
92520
|
-
class HealthBase {
|
|
92534
|
+
let HealthBase$1 = class HealthBase {
|
|
92521
92535
|
constructor(data) {
|
|
92522
92536
|
if (data) {
|
|
92523
92537
|
for (var property in data) {
|
|
@@ -92552,8 +92566,8 @@ class HealthBase {
|
|
|
92552
92566
|
result.init(json);
|
|
92553
92567
|
return result;
|
|
92554
92568
|
}
|
|
92555
|
-
}
|
|
92556
|
-
class HealthDto {
|
|
92569
|
+
};
|
|
92570
|
+
let HealthDto$1 = class HealthDto {
|
|
92557
92571
|
constructor(data) {
|
|
92558
92572
|
if (data) {
|
|
92559
92573
|
for (var property in data) {
|
|
@@ -92571,7 +92585,7 @@ class HealthDto {
|
|
|
92571
92585
|
this.services = {};
|
|
92572
92586
|
for (let key in _data["services"]) {
|
|
92573
92587
|
if (_data["services"].hasOwnProperty(key))
|
|
92574
|
-
this.services[key] = _data["services"][key] ? HealthBase.fromJS(_data["services"][key]) : new HealthBase();
|
|
92588
|
+
this.services[key] = _data["services"][key] ? HealthBase$1.fromJS(_data["services"][key]) : new HealthBase$1();
|
|
92575
92589
|
}
|
|
92576
92590
|
}
|
|
92577
92591
|
this.runningStatus = _data["runningStatus"] ? ServicesRunningStatusDto$1.fromJS(_data["runningStatus"]) : undefined;
|
|
@@ -92604,8 +92618,8 @@ class HealthDto {
|
|
|
92604
92618
|
result.init(json);
|
|
92605
92619
|
return result;
|
|
92606
92620
|
}
|
|
92607
|
-
}
|
|
92608
|
-
class HealthDtoHttpResponseData {
|
|
92621
|
+
};
|
|
92622
|
+
let HealthDtoHttpResponseData$1 = class HealthDtoHttpResponseData {
|
|
92609
92623
|
constructor(data) {
|
|
92610
92624
|
if (data) {
|
|
92611
92625
|
for (var property in data) {
|
|
@@ -92619,7 +92633,7 @@ class HealthDtoHttpResponseData {
|
|
|
92619
92633
|
this.errorMessage = _data["errorMessage"];
|
|
92620
92634
|
this.isSuccess = _data["isSuccess"];
|
|
92621
92635
|
this.statusCode = _data["statusCode"];
|
|
92622
|
-
this.data = _data["data"] ? HealthDto.fromJS(_data["data"]) : undefined;
|
|
92636
|
+
this.data = _data["data"] ? HealthDto$1.fromJS(_data["data"]) : undefined;
|
|
92623
92637
|
this.successMessage = _data["successMessage"];
|
|
92624
92638
|
}
|
|
92625
92639
|
}
|
|
@@ -92644,12 +92658,12 @@ class HealthDtoHttpResponseData {
|
|
|
92644
92658
|
result.init(json);
|
|
92645
92659
|
return result;
|
|
92646
92660
|
}
|
|
92647
|
-
}
|
|
92648
|
-
var HealthStatus;
|
|
92661
|
+
};
|
|
92662
|
+
var HealthStatus$1;
|
|
92649
92663
|
(function (HealthStatus) {
|
|
92650
92664
|
HealthStatus[HealthStatus["Down"] = 0] = "Down";
|
|
92651
92665
|
HealthStatus[HealthStatus["Up"] = 1] = "Up";
|
|
92652
|
-
})(HealthStatus || (HealthStatus = {}));
|
|
92666
|
+
})(HealthStatus$1 || (HealthStatus$1 = {}));
|
|
92653
92667
|
class HostNameStatus {
|
|
92654
92668
|
constructor(data) {
|
|
92655
92669
|
if (data) {
|
|
@@ -93407,10 +93421,10 @@ var edgeServiceProxies = /*#__PURE__*/Object.freeze({
|
|
|
93407
93421
|
CloudSettingsDtoHttpResponseData: CloudSettingsDtoHttpResponseData,
|
|
93408
93422
|
ConfigurationServiceProxy: ConfigurationServiceProxy,
|
|
93409
93423
|
get CrudOperation () { return CrudOperation; },
|
|
93410
|
-
HealthBase: HealthBase,
|
|
93411
|
-
HealthDto: HealthDto,
|
|
93412
|
-
HealthDtoHttpResponseData: HealthDtoHttpResponseData,
|
|
93413
|
-
get HealthStatus () { return HealthStatus; },
|
|
93424
|
+
HealthBase: HealthBase$1,
|
|
93425
|
+
HealthDto: HealthDto$1,
|
|
93426
|
+
HealthDtoHttpResponseData: HealthDtoHttpResponseData$1,
|
|
93427
|
+
get HealthStatus () { return HealthStatus$1; },
|
|
93414
93428
|
HostNameStatus: HostNameStatus,
|
|
93415
93429
|
get HttpStatusCode () { return HttpStatusCode$1; },
|
|
93416
93430
|
IUTSettingsDto: IUTSettingsDto,
|
|
@@ -93627,6 +93641,67 @@ class ConfigurationIdentityServiceProxy {
|
|
|
93627
93641
|
this.http = http;
|
|
93628
93642
|
this.baseUrl = baseUrl ?? "";
|
|
93629
93643
|
}
|
|
93644
|
+
/**
|
|
93645
|
+
* @return Success
|
|
93646
|
+
*/
|
|
93647
|
+
getHealth() {
|
|
93648
|
+
let url_ = this.baseUrl + "/api/services/configuration/health";
|
|
93649
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
93650
|
+
let options_ = {
|
|
93651
|
+
observe: "response",
|
|
93652
|
+
responseType: "blob",
|
|
93653
|
+
headers: new HttpHeaders({
|
|
93654
|
+
"Accept": "text/plain"
|
|
93655
|
+
})
|
|
93656
|
+
};
|
|
93657
|
+
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
93658
|
+
return this.processGetHealth(response_);
|
|
93659
|
+
})).pipe(catchError((response_) => {
|
|
93660
|
+
if (response_ instanceof HttpResponseBase) {
|
|
93661
|
+
try {
|
|
93662
|
+
return this.processGetHealth(response_);
|
|
93663
|
+
}
|
|
93664
|
+
catch (e) {
|
|
93665
|
+
return throwError(e);
|
|
93666
|
+
}
|
|
93667
|
+
}
|
|
93668
|
+
else
|
|
93669
|
+
return throwError(response_);
|
|
93670
|
+
}));
|
|
93671
|
+
}
|
|
93672
|
+
processGetHealth(response) {
|
|
93673
|
+
const status = response.status;
|
|
93674
|
+
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
93675
|
+
response.error instanceof Blob ? response.error : undefined;
|
|
93676
|
+
let _headers = {};
|
|
93677
|
+
if (response.headers) {
|
|
93678
|
+
for (let key of response.headers.keys()) {
|
|
93679
|
+
_headers[key] = response.headers.get(key);
|
|
93680
|
+
}
|
|
93681
|
+
}
|
|
93682
|
+
if (status === 404) {
|
|
93683
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
93684
|
+
let result404 = null;
|
|
93685
|
+
let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
93686
|
+
result404 = ProblemDetails.fromJS(resultData404);
|
|
93687
|
+
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
93688
|
+
}));
|
|
93689
|
+
}
|
|
93690
|
+
else if (status === 200) {
|
|
93691
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
93692
|
+
let result200 = null;
|
|
93693
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
93694
|
+
result200 = HealthDtoHttpResponseData.fromJS(resultData200);
|
|
93695
|
+
return of(result200);
|
|
93696
|
+
}));
|
|
93697
|
+
}
|
|
93698
|
+
else if (status !== 200 && status !== 204) {
|
|
93699
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
93700
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
93701
|
+
}));
|
|
93702
|
+
}
|
|
93703
|
+
return of(null);
|
|
93704
|
+
}
|
|
93630
93705
|
/**
|
|
93631
93706
|
* @return Success
|
|
93632
93707
|
*/
|
|
@@ -96401,6 +96476,139 @@ class FacilityTreeDtoIEnumerableHttpResponseData {
|
|
|
96401
96476
|
return result;
|
|
96402
96477
|
}
|
|
96403
96478
|
}
|
|
96479
|
+
class HealthBase {
|
|
96480
|
+
constructor(data) {
|
|
96481
|
+
if (data) {
|
|
96482
|
+
for (var property in data) {
|
|
96483
|
+
if (data.hasOwnProperty(property))
|
|
96484
|
+
this[property] = data[property];
|
|
96485
|
+
}
|
|
96486
|
+
}
|
|
96487
|
+
}
|
|
96488
|
+
init(_data) {
|
|
96489
|
+
if (_data) {
|
|
96490
|
+
this.link = _data["link"];
|
|
96491
|
+
this.status = _data["status"];
|
|
96492
|
+
this.version = _data["version"];
|
|
96493
|
+
}
|
|
96494
|
+
}
|
|
96495
|
+
static fromJS(data) {
|
|
96496
|
+
data = typeof data === 'object' ? data : {};
|
|
96497
|
+
let result = new HealthBase();
|
|
96498
|
+
result.init(data);
|
|
96499
|
+
return result;
|
|
96500
|
+
}
|
|
96501
|
+
toJSON(data) {
|
|
96502
|
+
data = typeof data === 'object' ? data : {};
|
|
96503
|
+
data["link"] = this.link;
|
|
96504
|
+
data["status"] = this.status;
|
|
96505
|
+
data["version"] = this.version;
|
|
96506
|
+
return data;
|
|
96507
|
+
}
|
|
96508
|
+
clone() {
|
|
96509
|
+
const json = this.toJSON();
|
|
96510
|
+
let result = new HealthBase();
|
|
96511
|
+
result.init(json);
|
|
96512
|
+
return result;
|
|
96513
|
+
}
|
|
96514
|
+
}
|
|
96515
|
+
class HealthDto {
|
|
96516
|
+
constructor(data) {
|
|
96517
|
+
if (data) {
|
|
96518
|
+
for (var property in data) {
|
|
96519
|
+
if (data.hasOwnProperty(property))
|
|
96520
|
+
this[property] = data[property];
|
|
96521
|
+
}
|
|
96522
|
+
}
|
|
96523
|
+
}
|
|
96524
|
+
init(_data) {
|
|
96525
|
+
if (_data) {
|
|
96526
|
+
this.environment = _data["environment"];
|
|
96527
|
+
this.sparkApiServiceVersion = _data["sparkApiServiceVersion"];
|
|
96528
|
+
this.version = _data["version"];
|
|
96529
|
+
if (_data["services"]) {
|
|
96530
|
+
this.services = {};
|
|
96531
|
+
for (let key in _data["services"]) {
|
|
96532
|
+
if (_data["services"].hasOwnProperty(key))
|
|
96533
|
+
this.services[key] = _data["services"][key] ? HealthBase.fromJS(_data["services"][key]) : new HealthBase();
|
|
96534
|
+
}
|
|
96535
|
+
}
|
|
96536
|
+
this.runningStatus = _data["runningStatus"] ? ServicesRunningStatusDto.fromJS(_data["runningStatus"]) : undefined;
|
|
96537
|
+
}
|
|
96538
|
+
}
|
|
96539
|
+
static fromJS(data) {
|
|
96540
|
+
data = typeof data === 'object' ? data : {};
|
|
96541
|
+
let result = new HealthDto();
|
|
96542
|
+
result.init(data);
|
|
96543
|
+
return result;
|
|
96544
|
+
}
|
|
96545
|
+
toJSON(data) {
|
|
96546
|
+
data = typeof data === 'object' ? data : {};
|
|
96547
|
+
data["environment"] = this.environment;
|
|
96548
|
+
data["sparkApiServiceVersion"] = this.sparkApiServiceVersion;
|
|
96549
|
+
data["version"] = this.version;
|
|
96550
|
+
if (this.services) {
|
|
96551
|
+
data["services"] = {};
|
|
96552
|
+
for (let key in this.services) {
|
|
96553
|
+
if (this.services.hasOwnProperty(key))
|
|
96554
|
+
data["services"][key] = this.services[key] ? this.services[key].toJSON() : undefined;
|
|
96555
|
+
}
|
|
96556
|
+
}
|
|
96557
|
+
data["runningStatus"] = this.runningStatus ? this.runningStatus.toJSON() : undefined;
|
|
96558
|
+
return data;
|
|
96559
|
+
}
|
|
96560
|
+
clone() {
|
|
96561
|
+
const json = this.toJSON();
|
|
96562
|
+
let result = new HealthDto();
|
|
96563
|
+
result.init(json);
|
|
96564
|
+
return result;
|
|
96565
|
+
}
|
|
96566
|
+
}
|
|
96567
|
+
class HealthDtoHttpResponseData {
|
|
96568
|
+
constructor(data) {
|
|
96569
|
+
if (data) {
|
|
96570
|
+
for (var property in data) {
|
|
96571
|
+
if (data.hasOwnProperty(property))
|
|
96572
|
+
this[property] = data[property];
|
|
96573
|
+
}
|
|
96574
|
+
}
|
|
96575
|
+
}
|
|
96576
|
+
init(_data) {
|
|
96577
|
+
if (_data) {
|
|
96578
|
+
this.errorMessage = _data["errorMessage"];
|
|
96579
|
+
this.isSuccess = _data["isSuccess"];
|
|
96580
|
+
this.statusCode = _data["statusCode"];
|
|
96581
|
+
this.data = _data["data"] ? HealthDto.fromJS(_data["data"]) : undefined;
|
|
96582
|
+
this.successMessage = _data["successMessage"];
|
|
96583
|
+
}
|
|
96584
|
+
}
|
|
96585
|
+
static fromJS(data) {
|
|
96586
|
+
data = typeof data === 'object' ? data : {};
|
|
96587
|
+
let result = new HealthDtoHttpResponseData();
|
|
96588
|
+
result.init(data);
|
|
96589
|
+
return result;
|
|
96590
|
+
}
|
|
96591
|
+
toJSON(data) {
|
|
96592
|
+
data = typeof data === 'object' ? data : {};
|
|
96593
|
+
data["errorMessage"] = this.errorMessage;
|
|
96594
|
+
data["isSuccess"] = this.isSuccess;
|
|
96595
|
+
data["statusCode"] = this.statusCode;
|
|
96596
|
+
data["data"] = this.data ? this.data.toJSON() : undefined;
|
|
96597
|
+
data["successMessage"] = this.successMessage;
|
|
96598
|
+
return data;
|
|
96599
|
+
}
|
|
96600
|
+
clone() {
|
|
96601
|
+
const json = this.toJSON();
|
|
96602
|
+
let result = new HealthDtoHttpResponseData();
|
|
96603
|
+
result.init(json);
|
|
96604
|
+
return result;
|
|
96605
|
+
}
|
|
96606
|
+
}
|
|
96607
|
+
var HealthStatus;
|
|
96608
|
+
(function (HealthStatus) {
|
|
96609
|
+
HealthStatus[HealthStatus["Down"] = 0] = "Down";
|
|
96610
|
+
HealthStatus[HealthStatus["Up"] = 1] = "Up";
|
|
96611
|
+
})(HealthStatus || (HealthStatus = {}));
|
|
96404
96612
|
var HttpStatusCode;
|
|
96405
96613
|
(function (HttpStatusCode) {
|
|
96406
96614
|
HttpStatusCode[HttpStatusCode["Continue"] = 100] = "Continue";
|
|
@@ -98117,6 +98325,10 @@ var identityServiceProxies = /*#__PURE__*/Object.freeze({
|
|
|
98117
98325
|
get FacilityRemoteCommandTypes () { return FacilityRemoteCommandTypes; },
|
|
98118
98326
|
FacilityTreeDto: FacilityTreeDto,
|
|
98119
98327
|
FacilityTreeDtoIEnumerableHttpResponseData: FacilityTreeDtoIEnumerableHttpResponseData,
|
|
98328
|
+
HealthBase: HealthBase,
|
|
98329
|
+
HealthDto: HealthDto,
|
|
98330
|
+
HealthDtoHttpResponseData: HealthDtoHttpResponseData,
|
|
98331
|
+
get HealthStatus () { return HealthStatus; },
|
|
98120
98332
|
get HttpStatusCode () { return HttpStatusCode; },
|
|
98121
98333
|
Int32AuthenticateResponseDtoIDictionaryHttpResponseData: Int32AuthenticateResponseDtoIDictionaryHttpResponseData,
|
|
98122
98334
|
LocalizationIdentityServiceProxy: LocalizationIdentityServiceProxy,
|