@tiba-spark/client-shared-lib 25.4.0-321 → 25.4.0-337
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 +89 -103
- package/esm2022/libraries/service-proxy/edge-service-proxies.mjs +2 -2
- package/esm2022/libraries/service-proxy/identity-service-proxies.mjs +1 -195
- package/fesm2022/tiba-spark-client-shared-lib.mjs +111 -323
- 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 +38 -44
- package/libraries/service-proxy/cloud-service-proxies.d.ts.map +1 -1
- package/libraries/service-proxy/identity-service-proxies.d.ts +0 -66
- package/libraries/service-proxy/identity-service-proxies.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -3068,19 +3068,11 @@ class ConfigurationCloudServiceProxy {
|
|
|
3068
3068
|
_headers[key] = response.headers.get(key);
|
|
3069
3069
|
}
|
|
3070
3070
|
}
|
|
3071
|
-
if (status ===
|
|
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) {
|
|
3071
|
+
if (status === 200) {
|
|
3080
3072
|
return blobToText$3(responseBlob).pipe(mergeMap(_responseText => {
|
|
3081
3073
|
let result200 = null;
|
|
3082
3074
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
3083
|
-
result200 =
|
|
3075
|
+
result200 = CloudHealthDtoHttpResponseData.fromJS(resultData200);
|
|
3084
3076
|
return of(result200);
|
|
3085
3077
|
}));
|
|
3086
3078
|
}
|
|
@@ -12947,6 +12939,92 @@ class CloudFacilityDto {
|
|
|
12947
12939
|
return result;
|
|
12948
12940
|
}
|
|
12949
12941
|
}
|
|
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
|
+
}
|
|
12950
13028
|
let CoinDto$1 = class CoinDto {
|
|
12951
13029
|
constructor(data) {
|
|
12952
13030
|
if (data) {
|
|
@@ -15362,7 +15440,7 @@ class HandlingDynamicPricingConditionDto {
|
|
|
15362
15440
|
return result;
|
|
15363
15441
|
}
|
|
15364
15442
|
}
|
|
15365
|
-
let HealthBase$
|
|
15443
|
+
let HealthBase$1 = class HealthBase {
|
|
15366
15444
|
constructor(data) {
|
|
15367
15445
|
if (data) {
|
|
15368
15446
|
for (var property in data) {
|
|
@@ -15398,103 +15476,11 @@ let HealthBase$2 = class HealthBase {
|
|
|
15398
15476
|
return result;
|
|
15399
15477
|
}
|
|
15400
15478
|
};
|
|
15401
|
-
|
|
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;
|
|
15479
|
+
var HealthStatus$1;
|
|
15494
15480
|
(function (HealthStatus) {
|
|
15495
15481
|
HealthStatus[HealthStatus["Down"] = 0] = "Down";
|
|
15496
15482
|
HealthStatus[HealthStatus["Up"] = 1] = "Up";
|
|
15497
|
-
})(HealthStatus$
|
|
15483
|
+
})(HealthStatus$1 || (HealthStatus$1 = {}));
|
|
15498
15484
|
let HopperDto$1 = class HopperDto {
|
|
15499
15485
|
constructor(data) {
|
|
15500
15486
|
if (data) {
|
|
@@ -22461,6 +22447,8 @@ var cloudServiceProxies = /*#__PURE__*/Object.freeze({
|
|
|
22461
22447
|
Changes: Changes,
|
|
22462
22448
|
CheckApiKeyDto: CheckApiKeyDto,
|
|
22463
22449
|
CloudFacilityDto: CloudFacilityDto,
|
|
22450
|
+
CloudHealthDto: CloudHealthDto,
|
|
22451
|
+
CloudHealthDtoHttpResponseData: CloudHealthDtoHttpResponseData,
|
|
22464
22452
|
CoinDto: CoinDto$1,
|
|
22465
22453
|
CoinInLaneDto: CoinInLaneDto$1,
|
|
22466
22454
|
get CoinStatus () { return CoinStatus$1; },
|
|
@@ -22528,10 +22516,8 @@ var cloudServiceProxies = /*#__PURE__*/Object.freeze({
|
|
|
22528
22516
|
HandlingAlertDto: HandlingAlertDto,
|
|
22529
22517
|
HandlingByUserDto: HandlingByUserDto,
|
|
22530
22518
|
HandlingDynamicPricingConditionDto: HandlingDynamicPricingConditionDto,
|
|
22531
|
-
HealthBase: HealthBase$
|
|
22532
|
-
|
|
22533
|
-
HealthDtoHttpResponseData: HealthDtoHttpResponseData$2,
|
|
22534
|
-
get HealthStatus () { return HealthStatus$2; },
|
|
22519
|
+
HealthBase: HealthBase$1,
|
|
22520
|
+
get HealthStatus () { return HealthStatus$1; },
|
|
22535
22521
|
HopperDto: HopperDto$1,
|
|
22536
22522
|
get HopperStatus () { return HopperStatus$1; },
|
|
22537
22523
|
get HttpStatusCode () { return HttpStatusCode$3; },
|
|
@@ -91863,7 +91849,7 @@ class ConfigurationServiceProxy {
|
|
|
91863
91849
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
91864
91850
|
let result200 = null;
|
|
91865
91851
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
91866
|
-
result200 = HealthDtoHttpResponseData
|
|
91852
|
+
result200 = HealthDtoHttpResponseData.fromJS(resultData200);
|
|
91867
91853
|
return of(result200);
|
|
91868
91854
|
}));
|
|
91869
91855
|
}
|
|
@@ -91899,7 +91885,7 @@ class UsersServiceProxy {
|
|
|
91899
91885
|
* @return Success
|
|
91900
91886
|
*/
|
|
91901
91887
|
updateUserPassword(body) {
|
|
91902
|
-
let url_ = this.baseUrl + "/api/services/users/
|
|
91888
|
+
let url_ = this.baseUrl + "/api/services/users/update-password";
|
|
91903
91889
|
url_ = url_.replace(/[?&]$/, "");
|
|
91904
91890
|
const content_ = JSON.stringify(body);
|
|
91905
91891
|
let options_ = {
|
|
@@ -92531,7 +92517,7 @@ var CrudOperation;
|
|
|
92531
92517
|
CrudOperation[CrudOperation["Delete"] = 4] = "Delete";
|
|
92532
92518
|
CrudOperation[CrudOperation["Advanced"] = 5] = "Advanced";
|
|
92533
92519
|
})(CrudOperation || (CrudOperation = {}));
|
|
92534
|
-
|
|
92520
|
+
class HealthBase {
|
|
92535
92521
|
constructor(data) {
|
|
92536
92522
|
if (data) {
|
|
92537
92523
|
for (var property in data) {
|
|
@@ -92566,8 +92552,8 @@ let HealthBase$1 = class HealthBase {
|
|
|
92566
92552
|
result.init(json);
|
|
92567
92553
|
return result;
|
|
92568
92554
|
}
|
|
92569
|
-
}
|
|
92570
|
-
|
|
92555
|
+
}
|
|
92556
|
+
class HealthDto {
|
|
92571
92557
|
constructor(data) {
|
|
92572
92558
|
if (data) {
|
|
92573
92559
|
for (var property in data) {
|
|
@@ -92585,7 +92571,7 @@ let HealthDto$1 = class HealthDto {
|
|
|
92585
92571
|
this.services = {};
|
|
92586
92572
|
for (let key in _data["services"]) {
|
|
92587
92573
|
if (_data["services"].hasOwnProperty(key))
|
|
92588
|
-
this.services[key] = _data["services"][key] ? HealthBase
|
|
92574
|
+
this.services[key] = _data["services"][key] ? HealthBase.fromJS(_data["services"][key]) : new HealthBase();
|
|
92589
92575
|
}
|
|
92590
92576
|
}
|
|
92591
92577
|
this.runningStatus = _data["runningStatus"] ? ServicesRunningStatusDto$1.fromJS(_data["runningStatus"]) : undefined;
|
|
@@ -92618,8 +92604,8 @@ let HealthDto$1 = class HealthDto {
|
|
|
92618
92604
|
result.init(json);
|
|
92619
92605
|
return result;
|
|
92620
92606
|
}
|
|
92621
|
-
}
|
|
92622
|
-
|
|
92607
|
+
}
|
|
92608
|
+
class HealthDtoHttpResponseData {
|
|
92623
92609
|
constructor(data) {
|
|
92624
92610
|
if (data) {
|
|
92625
92611
|
for (var property in data) {
|
|
@@ -92633,7 +92619,7 @@ let HealthDtoHttpResponseData$1 = class HealthDtoHttpResponseData {
|
|
|
92633
92619
|
this.errorMessage = _data["errorMessage"];
|
|
92634
92620
|
this.isSuccess = _data["isSuccess"];
|
|
92635
92621
|
this.statusCode = _data["statusCode"];
|
|
92636
|
-
this.data = _data["data"] ? HealthDto
|
|
92622
|
+
this.data = _data["data"] ? HealthDto.fromJS(_data["data"]) : undefined;
|
|
92637
92623
|
this.successMessage = _data["successMessage"];
|
|
92638
92624
|
}
|
|
92639
92625
|
}
|
|
@@ -92658,12 +92644,12 @@ let HealthDtoHttpResponseData$1 = class HealthDtoHttpResponseData {
|
|
|
92658
92644
|
result.init(json);
|
|
92659
92645
|
return result;
|
|
92660
92646
|
}
|
|
92661
|
-
}
|
|
92662
|
-
var HealthStatus
|
|
92647
|
+
}
|
|
92648
|
+
var HealthStatus;
|
|
92663
92649
|
(function (HealthStatus) {
|
|
92664
92650
|
HealthStatus[HealthStatus["Down"] = 0] = "Down";
|
|
92665
92651
|
HealthStatus[HealthStatus["Up"] = 1] = "Up";
|
|
92666
|
-
})(HealthStatus
|
|
92652
|
+
})(HealthStatus || (HealthStatus = {}));
|
|
92667
92653
|
class HostNameStatus {
|
|
92668
92654
|
constructor(data) {
|
|
92669
92655
|
if (data) {
|
|
@@ -93421,10 +93407,10 @@ var edgeServiceProxies = /*#__PURE__*/Object.freeze({
|
|
|
93421
93407
|
CloudSettingsDtoHttpResponseData: CloudSettingsDtoHttpResponseData,
|
|
93422
93408
|
ConfigurationServiceProxy: ConfigurationServiceProxy,
|
|
93423
93409
|
get CrudOperation () { return CrudOperation; },
|
|
93424
|
-
HealthBase: HealthBase
|
|
93425
|
-
HealthDto: HealthDto
|
|
93426
|
-
HealthDtoHttpResponseData: HealthDtoHttpResponseData
|
|
93427
|
-
get HealthStatus () { return HealthStatus
|
|
93410
|
+
HealthBase: HealthBase,
|
|
93411
|
+
HealthDto: HealthDto,
|
|
93412
|
+
HealthDtoHttpResponseData: HealthDtoHttpResponseData,
|
|
93413
|
+
get HealthStatus () { return HealthStatus; },
|
|
93428
93414
|
HostNameStatus: HostNameStatus,
|
|
93429
93415
|
get HttpStatusCode () { return HttpStatusCode$1; },
|
|
93430
93416
|
IUTSettingsDto: IUTSettingsDto,
|
|
@@ -93641,67 +93627,6 @@ class ConfigurationIdentityServiceProxy {
|
|
|
93641
93627
|
this.http = http;
|
|
93642
93628
|
this.baseUrl = baseUrl ?? "";
|
|
93643
93629
|
}
|
|
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
|
-
}
|
|
93705
93630
|
/**
|
|
93706
93631
|
* @return Success
|
|
93707
93632
|
*/
|
|
@@ -96476,139 +96401,6 @@ class FacilityTreeDtoIEnumerableHttpResponseData {
|
|
|
96476
96401
|
return result;
|
|
96477
96402
|
}
|
|
96478
96403
|
}
|
|
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 = {}));
|
|
96612
96404
|
var HttpStatusCode;
|
|
96613
96405
|
(function (HttpStatusCode) {
|
|
96614
96406
|
HttpStatusCode[HttpStatusCode["Continue"] = 100] = "Continue";
|
|
@@ -98325,10 +98117,6 @@ var identityServiceProxies = /*#__PURE__*/Object.freeze({
|
|
|
98325
98117
|
get FacilityRemoteCommandTypes () { return FacilityRemoteCommandTypes; },
|
|
98326
98118
|
FacilityTreeDto: FacilityTreeDto,
|
|
98327
98119
|
FacilityTreeDtoIEnumerableHttpResponseData: FacilityTreeDtoIEnumerableHttpResponseData,
|
|
98328
|
-
HealthBase: HealthBase,
|
|
98329
|
-
HealthDto: HealthDto,
|
|
98330
|
-
HealthDtoHttpResponseData: HealthDtoHttpResponseData,
|
|
98331
|
-
get HealthStatus () { return HealthStatus; },
|
|
98332
98120
|
get HttpStatusCode () { return HttpStatusCode; },
|
|
98333
98121
|
Int32AuthenticateResponseDtoIDictionaryHttpResponseData: Int32AuthenticateResponseDtoIDictionaryHttpResponseData,
|
|
98334
98122
|
LocalizationIdentityServiceProxy: LocalizationIdentityServiceProxy,
|