@tiba-spark/client-shared-lib 25.3.0-101 → 25.3.0-107

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.
Files changed (43) hide show
  1. package/esm2022/libraries/guards/sub-module-guard.mjs +21 -10
  2. package/esm2022/libraries/modules/auth/auth.service.mjs +1 -1
  3. package/esm2022/libraries/modules/auth/session.actions.mjs +13 -3
  4. package/esm2022/libraries/modules/auth/session.state.mjs +43 -13
  5. package/esm2022/libraries/modules/login/login.actions.mjs +8 -1
  6. package/esm2022/libraries/modules/login/login.state.mjs +47 -10
  7. package/esm2022/libraries/modules/smartparks/smartpark.actions.mjs +27 -1
  8. package/esm2022/libraries/modules/smartparks/smartpark.state.mjs +42 -6
  9. package/esm2022/libraries/resolvers/mobile-command-center-module.resolver.mjs +17 -19
  10. package/esm2022/libraries/service-proxy/cloud-service-proxies.mjs +1342 -386
  11. package/esm2022/libraries/service-proxy/identity-service-proxies.mjs +100 -1
  12. package/esm2022/libraries/service-proxy/service-proxy.module.mjs +8 -4
  13. package/esm2022/libraries/services/auth-token.service.mjs +19 -3
  14. package/esm2022/libraries/services/tenant.service.mjs +12 -6
  15. package/fesm2022/tiba-spark-client-shared-lib.mjs +1617 -385
  16. package/fesm2022/tiba-spark-client-shared-lib.mjs.map +1 -1
  17. package/libraries/guards/sub-module-guard.d.ts +3 -1
  18. package/libraries/guards/sub-module-guard.d.ts.map +1 -1
  19. package/libraries/modules/auth/auth.service.d.ts.map +1 -1
  20. package/libraries/modules/auth/session.actions.d.ts +11 -2
  21. package/libraries/modules/auth/session.actions.d.ts.map +1 -1
  22. package/libraries/modules/auth/session.state.d.ts +7 -3
  23. package/libraries/modules/auth/session.state.d.ts.map +1 -1
  24. package/libraries/modules/login/login.actions.d.ts +6 -0
  25. package/libraries/modules/login/login.actions.d.ts.map +1 -1
  26. package/libraries/modules/login/login.state.d.ts +8 -5
  27. package/libraries/modules/login/login.state.d.ts.map +1 -1
  28. package/libraries/modules/smartparks/smartpark.actions.d.ts +19 -0
  29. package/libraries/modules/smartparks/smartpark.actions.d.ts.map +1 -1
  30. package/libraries/modules/smartparks/smartpark.state.d.ts +7 -3
  31. package/libraries/modules/smartparks/smartpark.state.d.ts.map +1 -1
  32. package/libraries/resolvers/mobile-command-center-module.resolver.d.ts +3 -5
  33. package/libraries/resolvers/mobile-command-center-module.resolver.d.ts.map +1 -1
  34. package/libraries/service-proxy/cloud-service-proxies.d.ts +140 -40
  35. package/libraries/service-proxy/cloud-service-proxies.d.ts.map +1 -1
  36. package/libraries/service-proxy/identity-service-proxies.d.ts +15 -0
  37. package/libraries/service-proxy/identity-service-proxies.d.ts.map +1 -1
  38. package/libraries/service-proxy/service-proxy.module.d.ts.map +1 -1
  39. package/libraries/services/auth-token.service.d.ts +4 -2
  40. package/libraries/services/auth-token.service.d.ts.map +1 -1
  41. package/libraries/services/tenant.service.d.ts +4 -1
  42. package/libraries/services/tenant.service.d.ts.map +1 -1
  43. package/package.json +1 -1
@@ -27,7 +27,7 @@ import * as i1$8 from '@angular/router';
27
27
  import { NavigationEnd, ResolveEnd, DefaultUrlSerializer, Router } from '@angular/router';
28
28
  import { Navigate } from '@ngxs/router-plugin';
29
29
  import { Dispatch } from '@ngxs-labs/dispatch-decorator';
30
- import * as i9 from '@azure/msal-angular';
30
+ import * as i10 from '@azure/msal-angular';
31
31
  import * as i1$7 from '@openid/appauth';
32
32
  import { AuthorizationNotifier, RedirectRequestHandler, AuthorizationServiceConfiguration, TokenResponse, AuthorizationRequest, BaseTokenRequestHandler, TokenRequest, GRANT_TYPE_AUTHORIZATION_CODE } from '@openid/appauth';
33
33
  import { trigger, state, style, transition, animate, keyframes } from '@angular/animations';
@@ -1071,29 +1071,805 @@ class AuditServiceProxy {
1071
1071
  this.http = http;
1072
1072
  this.baseUrl = baseUrl ?? "";
1073
1073
  }
1074
+ /**
1075
+ * @param body (optional)
1076
+ * @return Success
1077
+ */
1078
+ getAuditByFilter(body) {
1079
+ let url_ = this.baseUrl + "/api/services/audit/get";
1080
+ url_ = url_.replace(/[?&]$/, "");
1081
+ const content_ = JSON.stringify(body);
1082
+ let options_ = {
1083
+ body: content_,
1084
+ observe: "response",
1085
+ responseType: "blob",
1086
+ headers: new HttpHeaders({
1087
+ "Content-Type": "application/json-patch+json",
1088
+ "Accept": "text/plain"
1089
+ })
1090
+ };
1091
+ return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
1092
+ return this.processGetAuditByFilter(response_);
1093
+ })).pipe(catchError((response_) => {
1094
+ if (response_ instanceof HttpResponseBase) {
1095
+ try {
1096
+ return this.processGetAuditByFilter(response_);
1097
+ }
1098
+ catch (e) {
1099
+ return throwError(e);
1100
+ }
1101
+ }
1102
+ else
1103
+ return throwError(response_);
1104
+ }));
1105
+ }
1106
+ processGetAuditByFilter(response) {
1107
+ const status = response.status;
1108
+ const responseBlob = response instanceof HttpResponse ? response.body :
1109
+ response.error instanceof Blob ? response.error : undefined;
1110
+ let _headers = {};
1111
+ if (response.headers) {
1112
+ for (let key of response.headers.keys()) {
1113
+ _headers[key] = response.headers.get(key);
1114
+ }
1115
+ }
1116
+ if (status === 404) {
1117
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1118
+ let result404 = null;
1119
+ let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
1120
+ result404 = ProblemDetails$1.fromJS(resultData404);
1121
+ return throwException$2("Not Found", status, _responseText, _headers, result404);
1122
+ }));
1123
+ }
1124
+ else if (status === 200) {
1125
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1126
+ let result200 = null;
1127
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
1128
+ result200 = AuditDtoListHttpResponseData.fromJS(resultData200);
1129
+ return of(result200);
1130
+ }));
1131
+ }
1132
+ else if (status !== 200 && status !== 204) {
1133
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1134
+ return throwException$2("An unexpected server error occurred.", status, _responseText, _headers);
1135
+ }));
1136
+ }
1137
+ return of(null);
1138
+ }
1139
+ /**
1140
+ * @param auditId (optional)
1141
+ * @return Success
1142
+ */
1143
+ getAuditDeepSearch(auditId) {
1144
+ let url_ = this.baseUrl + "/api/services/audit/deep-search?";
1145
+ if (auditId === null)
1146
+ throw new Error("The parameter 'auditId' cannot be null.");
1147
+ else if (auditId !== undefined)
1148
+ url_ += "auditId=" + encodeURIComponent("" + auditId) + "&";
1149
+ url_ = url_.replace(/[?&]$/, "");
1150
+ let options_ = {
1151
+ observe: "response",
1152
+ responseType: "blob",
1153
+ headers: new HttpHeaders({
1154
+ "Accept": "text/plain"
1155
+ })
1156
+ };
1157
+ return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
1158
+ return this.processGetAuditDeepSearch(response_);
1159
+ })).pipe(catchError((response_) => {
1160
+ if (response_ instanceof HttpResponseBase) {
1161
+ try {
1162
+ return this.processGetAuditDeepSearch(response_);
1163
+ }
1164
+ catch (e) {
1165
+ return throwError(e);
1166
+ }
1167
+ }
1168
+ else
1169
+ return throwError(response_);
1170
+ }));
1171
+ }
1172
+ processGetAuditDeepSearch(response) {
1173
+ const status = response.status;
1174
+ const responseBlob = response instanceof HttpResponse ? response.body :
1175
+ response.error instanceof Blob ? response.error : undefined;
1176
+ let _headers = {};
1177
+ if (response.headers) {
1178
+ for (let key of response.headers.keys()) {
1179
+ _headers[key] = response.headers.get(key);
1180
+ }
1181
+ }
1182
+ if (status === 404) {
1183
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1184
+ let result404 = null;
1185
+ let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
1186
+ result404 = ProblemDetails$1.fromJS(resultData404);
1187
+ return throwException$2("Not Found", status, _responseText, _headers, result404);
1188
+ }));
1189
+ }
1190
+ else if (status === 200) {
1191
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1192
+ let result200 = null;
1193
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
1194
+ result200 = AuditSectionsDtoHttpResponseData.fromJS(resultData200);
1195
+ return of(result200);
1196
+ }));
1197
+ }
1198
+ else if (status !== 200 && status !== 204) {
1199
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1200
+ return throwException$2("An unexpected server error occurred.", status, _responseText, _headers);
1201
+ }));
1202
+ }
1203
+ return of(null);
1204
+ }
1205
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AuditServiceProxy, deps: [{ token: HttpClient }, { token: API_BASE_URL$2, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
1206
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AuditServiceProxy }); }
1207
+ }
1208
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AuditServiceProxy, decorators: [{
1209
+ type: Injectable
1210
+ }], ctorParameters: () => [{ type: i1$1.HttpClient, decorators: [{
1211
+ type: Inject,
1212
+ args: [HttpClient]
1213
+ }] }, { type: undefined, decorators: [{
1214
+ type: Optional
1215
+ }, {
1216
+ type: Inject,
1217
+ args: [API_BASE_URL$2]
1218
+ }] }] });
1219
+ class BackofficeServiceProxy {
1220
+ constructor(http, baseUrl) {
1221
+ this.jsonParseReviver = undefined;
1222
+ this.http = http;
1223
+ this.baseUrl = baseUrl ?? "";
1224
+ }
1225
+ /**
1226
+ * @return Success
1227
+ */
1228
+ getBackofficeAppConfiguration() {
1229
+ let url_ = this.baseUrl + "/api/services/backoffice/configuration";
1230
+ url_ = url_.replace(/[?&]$/, "");
1231
+ let options_ = {
1232
+ observe: "response",
1233
+ responseType: "blob",
1234
+ headers: new HttpHeaders({
1235
+ "Accept": "text/plain"
1236
+ })
1237
+ };
1238
+ return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
1239
+ return this.processGetBackofficeAppConfiguration(response_);
1240
+ })).pipe(catchError((response_) => {
1241
+ if (response_ instanceof HttpResponseBase) {
1242
+ try {
1243
+ return this.processGetBackofficeAppConfiguration(response_);
1244
+ }
1245
+ catch (e) {
1246
+ return throwError(e);
1247
+ }
1248
+ }
1249
+ else
1250
+ return throwError(response_);
1251
+ }));
1252
+ }
1253
+ processGetBackofficeAppConfiguration(response) {
1254
+ const status = response.status;
1255
+ const responseBlob = response instanceof HttpResponse ? response.body :
1256
+ response.error instanceof Blob ? response.error : undefined;
1257
+ let _headers = {};
1258
+ if (response.headers) {
1259
+ for (let key of response.headers.keys()) {
1260
+ _headers[key] = response.headers.get(key);
1261
+ }
1262
+ }
1263
+ if (status === 200) {
1264
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1265
+ let result200 = null;
1266
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
1267
+ result200 = AppConfigurationDtoHttpResponseData$1.fromJS(resultData200);
1268
+ return of(result200);
1269
+ }));
1270
+ }
1271
+ else if (status !== 200 && status !== 204) {
1272
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1273
+ return throwException$2("An unexpected server error occurred.", status, _responseText, _headers);
1274
+ }));
1275
+ }
1276
+ return of(null);
1277
+ }
1278
+ /**
1279
+ * @return Success
1280
+ */
1281
+ getBackofficeSettingsByCategory(category) {
1282
+ let url_ = this.baseUrl + "/api/services/backoffice/settings/{category}";
1283
+ if (category === undefined || category === null)
1284
+ throw new Error("The parameter 'category' must be defined.");
1285
+ url_ = url_.replace("{category}", encodeURIComponent("" + category));
1286
+ url_ = url_.replace(/[?&]$/, "");
1287
+ let options_ = {
1288
+ observe: "response",
1289
+ responseType: "blob",
1290
+ headers: new HttpHeaders({
1291
+ "Accept": "text/plain"
1292
+ })
1293
+ };
1294
+ return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
1295
+ return this.processGetBackofficeSettingsByCategory(response_);
1296
+ })).pipe(catchError((response_) => {
1297
+ if (response_ instanceof HttpResponseBase) {
1298
+ try {
1299
+ return this.processGetBackofficeSettingsByCategory(response_);
1300
+ }
1301
+ catch (e) {
1302
+ return throwError(e);
1303
+ }
1304
+ }
1305
+ else
1306
+ return throwError(response_);
1307
+ }));
1308
+ }
1309
+ processGetBackofficeSettingsByCategory(response) {
1310
+ const status = response.status;
1311
+ const responseBlob = response instanceof HttpResponse ? response.body :
1312
+ response.error instanceof Blob ? response.error : undefined;
1313
+ let _headers = {};
1314
+ if (response.headers) {
1315
+ for (let key of response.headers.keys()) {
1316
+ _headers[key] = response.headers.get(key);
1317
+ }
1318
+ }
1319
+ if (status === 200) {
1320
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1321
+ let result200 = null;
1322
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
1323
+ result200 = ObjectHttpResponseData$2.fromJS(resultData200);
1324
+ return of(result200);
1325
+ }));
1326
+ }
1327
+ else if (status !== 200 && status !== 204) {
1328
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1329
+ return throwException$2("An unexpected server error occurred.", status, _responseText, _headers);
1330
+ }));
1331
+ }
1332
+ return of(null);
1333
+ }
1334
+ /**
1335
+ * @return Success
1336
+ */
1337
+ backofficeAuditLogout() {
1338
+ let url_ = this.baseUrl + "/api/services/backoffice/audit-logout";
1339
+ url_ = url_.replace(/[?&]$/, "");
1340
+ let options_ = {
1341
+ observe: "response",
1342
+ responseType: "blob",
1343
+ headers: new HttpHeaders({})
1344
+ };
1345
+ return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
1346
+ return this.processBackofficeAuditLogout(response_);
1347
+ })).pipe(catchError((response_) => {
1348
+ if (response_ instanceof HttpResponseBase) {
1349
+ try {
1350
+ return this.processBackofficeAuditLogout(response_);
1351
+ }
1352
+ catch (e) {
1353
+ return throwError(e);
1354
+ }
1355
+ }
1356
+ else
1357
+ return throwError(response_);
1358
+ }));
1359
+ }
1360
+ processBackofficeAuditLogout(response) {
1361
+ const status = response.status;
1362
+ const responseBlob = response instanceof HttpResponse ? response.body :
1363
+ response.error instanceof Blob ? response.error : undefined;
1364
+ let _headers = {};
1365
+ if (response.headers) {
1366
+ for (let key of response.headers.keys()) {
1367
+ _headers[key] = response.headers.get(key);
1368
+ }
1369
+ }
1370
+ if (status === 200) {
1371
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1372
+ return of(null);
1373
+ }));
1374
+ }
1375
+ else if (status === 401) {
1376
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1377
+ let result401 = null;
1378
+ let resultData401 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
1379
+ result401 = ProblemDetails$1.fromJS(resultData401);
1380
+ return throwException$2("Unauthorized", status, _responseText, _headers, result401);
1381
+ }));
1382
+ }
1383
+ else if (status !== 200 && status !== 204) {
1384
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1385
+ return throwException$2("An unexpected server error occurred.", status, _responseText, _headers);
1386
+ }));
1387
+ }
1388
+ return of(null);
1389
+ }
1074
1390
  /**
1075
1391
  * @param body (optional)
1076
1392
  * @return Success
1077
1393
  */
1078
1394
  getAuditByFilterForBackOffice(body) {
1079
- let url_ = this.baseUrl + "/api/services/audit/back-office/get";
1395
+ let url_ = this.baseUrl + "/api/services/backoffice/back-office/get";
1396
+ url_ = url_.replace(/[?&]$/, "");
1397
+ const content_ = JSON.stringify(body);
1398
+ let options_ = {
1399
+ body: content_,
1400
+ observe: "response",
1401
+ responseType: "blob",
1402
+ headers: new HttpHeaders({
1403
+ "Content-Type": "application/json-patch+json",
1404
+ "Accept": "text/plain"
1405
+ })
1406
+ };
1407
+ return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
1408
+ return this.processGetAuditByFilterForBackOffice(response_);
1409
+ })).pipe(catchError((response_) => {
1410
+ if (response_ instanceof HttpResponseBase) {
1411
+ try {
1412
+ return this.processGetAuditByFilterForBackOffice(response_);
1413
+ }
1414
+ catch (e) {
1415
+ return throwError(e);
1416
+ }
1417
+ }
1418
+ else
1419
+ return throwError(response_);
1420
+ }));
1421
+ }
1422
+ processGetAuditByFilterForBackOffice(response) {
1423
+ const status = response.status;
1424
+ const responseBlob = response instanceof HttpResponse ? response.body :
1425
+ response.error instanceof Blob ? response.error : undefined;
1426
+ let _headers = {};
1427
+ if (response.headers) {
1428
+ for (let key of response.headers.keys()) {
1429
+ _headers[key] = response.headers.get(key);
1430
+ }
1431
+ }
1432
+ if (status === 404) {
1433
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1434
+ let result404 = null;
1435
+ let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
1436
+ result404 = ProblemDetails$1.fromJS(resultData404);
1437
+ return throwException$2("Not Found", status, _responseText, _headers, result404);
1438
+ }));
1439
+ }
1440
+ else if (status === 200) {
1441
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1442
+ let result200 = null;
1443
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
1444
+ result200 = AuditDtoListHttpResponseData.fromJS(resultData200);
1445
+ return of(result200);
1446
+ }));
1447
+ }
1448
+ else if (status !== 200 && status !== 204) {
1449
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1450
+ return throwException$2("An unexpected server error occurred.", status, _responseText, _headers);
1451
+ }));
1452
+ }
1453
+ return of(null);
1454
+ }
1455
+ /**
1456
+ * @param name (optional)
1457
+ * @return Success
1458
+ */
1459
+ getBackkOfficeTenantDetails(name) {
1460
+ let url_ = this.baseUrl + "/api/services/backoffice/details?";
1461
+ if (name === null)
1462
+ throw new Error("The parameter 'name' cannot be null.");
1463
+ else if (name !== undefined)
1464
+ url_ += "name=" + encodeURIComponent("" + name) + "&";
1465
+ url_ = url_.replace(/[?&]$/, "");
1466
+ let options_ = {
1467
+ observe: "response",
1468
+ responseType: "blob",
1469
+ headers: new HttpHeaders({
1470
+ "Accept": "text/plain"
1471
+ })
1472
+ };
1473
+ return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
1474
+ return this.processGetBackkOfficeTenantDetails(response_);
1475
+ })).pipe(catchError((response_) => {
1476
+ if (response_ instanceof HttpResponseBase) {
1477
+ try {
1478
+ return this.processGetBackkOfficeTenantDetails(response_);
1479
+ }
1480
+ catch (e) {
1481
+ return throwError(e);
1482
+ }
1483
+ }
1484
+ else
1485
+ return throwError(response_);
1486
+ }));
1487
+ }
1488
+ processGetBackkOfficeTenantDetails(response) {
1489
+ const status = response.status;
1490
+ const responseBlob = response instanceof HttpResponse ? response.body :
1491
+ response.error instanceof Blob ? response.error : undefined;
1492
+ let _headers = {};
1493
+ if (response.headers) {
1494
+ for (let key of response.headers.keys()) {
1495
+ _headers[key] = response.headers.get(key);
1496
+ }
1497
+ }
1498
+ if (status === 200) {
1499
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1500
+ let result200 = null;
1501
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
1502
+ result200 = TenantDetailsDtoHttpResponseData$1.fromJS(resultData200);
1503
+ return of(result200);
1504
+ }));
1505
+ }
1506
+ else if (status !== 200 && status !== 204) {
1507
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1508
+ return throwException$2("An unexpected server error occurred.", status, _responseText, _headers);
1509
+ }));
1510
+ }
1511
+ return of(null);
1512
+ }
1513
+ /**
1514
+ * @param searchValue (optional)
1515
+ * @param orderBy_Column (optional)
1516
+ * @param orderBy_OrderDirection (optional)
1517
+ * @param take (optional)
1518
+ * @param skip (optional)
1519
+ * @return Success
1520
+ */
1521
+ getBackofficeTenantsByFilter(searchValue, orderBy_Column, orderBy_OrderDirection, take, skip) {
1522
+ let url_ = this.baseUrl + "/api/services/backoffice/get-tenants-by-filter?";
1523
+ if (searchValue === null)
1524
+ throw new Error("The parameter 'searchValue' cannot be null.");
1525
+ else if (searchValue !== undefined)
1526
+ url_ += "SearchValue=" + encodeURIComponent("" + searchValue) + "&";
1527
+ if (orderBy_Column === null)
1528
+ throw new Error("The parameter 'orderBy_Column' cannot be null.");
1529
+ else if (orderBy_Column !== undefined)
1530
+ url_ += "OrderBy.Column=" + encodeURIComponent("" + orderBy_Column) + "&";
1531
+ if (orderBy_OrderDirection === null)
1532
+ throw new Error("The parameter 'orderBy_OrderDirection' cannot be null.");
1533
+ else if (orderBy_OrderDirection !== undefined)
1534
+ url_ += "OrderBy.OrderDirection=" + encodeURIComponent("" + orderBy_OrderDirection) + "&";
1535
+ if (take === null)
1536
+ throw new Error("The parameter 'take' cannot be null.");
1537
+ else if (take !== undefined)
1538
+ url_ += "Take=" + encodeURIComponent("" + take) + "&";
1539
+ if (skip === null)
1540
+ throw new Error("The parameter 'skip' cannot be null.");
1541
+ else if (skip !== undefined)
1542
+ url_ += "Skip=" + encodeURIComponent("" + skip) + "&";
1543
+ url_ = url_.replace(/[?&]$/, "");
1544
+ let options_ = {
1545
+ observe: "response",
1546
+ responseType: "blob",
1547
+ headers: new HttpHeaders({
1548
+ "Accept": "text/plain"
1549
+ })
1550
+ };
1551
+ return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
1552
+ return this.processGetBackofficeTenantsByFilter(response_);
1553
+ })).pipe(catchError((response_) => {
1554
+ if (response_ instanceof HttpResponseBase) {
1555
+ try {
1556
+ return this.processGetBackofficeTenantsByFilter(response_);
1557
+ }
1558
+ catch (e) {
1559
+ return throwError(e);
1560
+ }
1561
+ }
1562
+ else
1563
+ return throwError(response_);
1564
+ }));
1565
+ }
1566
+ processGetBackofficeTenantsByFilter(response) {
1567
+ const status = response.status;
1568
+ const responseBlob = response instanceof HttpResponse ? response.body :
1569
+ response.error instanceof Blob ? response.error : undefined;
1570
+ let _headers = {};
1571
+ if (response.headers) {
1572
+ for (let key of response.headers.keys()) {
1573
+ _headers[key] = response.headers.get(key);
1574
+ }
1575
+ }
1576
+ if (status === 404) {
1577
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1578
+ let result404 = null;
1579
+ let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
1580
+ result404 = ProblemDetails$1.fromJS(resultData404);
1581
+ return throwException$2("Not Found", status, _responseText, _headers, result404);
1582
+ }));
1583
+ }
1584
+ else if (status === 200) {
1585
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1586
+ let result200 = null;
1587
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
1588
+ result200 = ManagedTenantDtoEntityWrapperDtoHttpResponseData.fromJS(resultData200);
1589
+ return of(result200);
1590
+ }));
1591
+ }
1592
+ else if (status !== 200 && status !== 204) {
1593
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1594
+ return throwException$2("An unexpected server error occurred.", status, _responseText, _headers);
1595
+ }));
1596
+ }
1597
+ return of(null);
1598
+ }
1599
+ /**
1600
+ * @param maxResults (optional)
1601
+ * @param searchTerm (optional)
1602
+ * @param orderBy_Column (optional)
1603
+ * @param orderBy_OrderDirection (optional)
1604
+ * @return Success
1605
+ */
1606
+ getBackofficeTenants(maxResults, searchTerm, orderBy_Column, orderBy_OrderDirection) {
1607
+ let url_ = this.baseUrl + "/api/services/backoffice/get-tenants?";
1608
+ if (maxResults === null)
1609
+ throw new Error("The parameter 'maxResults' cannot be null.");
1610
+ else if (maxResults !== undefined)
1611
+ url_ += "MaxResults=" + encodeURIComponent("" + maxResults) + "&";
1612
+ if (searchTerm === null)
1613
+ throw new Error("The parameter 'searchTerm' cannot be null.");
1614
+ else if (searchTerm !== undefined)
1615
+ url_ += "SearchTerm=" + encodeURIComponent("" + searchTerm) + "&";
1616
+ if (orderBy_Column === null)
1617
+ throw new Error("The parameter 'orderBy_Column' cannot be null.");
1618
+ else if (orderBy_Column !== undefined)
1619
+ url_ += "OrderBy.Column=" + encodeURIComponent("" + orderBy_Column) + "&";
1620
+ if (orderBy_OrderDirection === null)
1621
+ throw new Error("The parameter 'orderBy_OrderDirection' cannot be null.");
1622
+ else if (orderBy_OrderDirection !== undefined)
1623
+ url_ += "OrderBy.OrderDirection=" + encodeURIComponent("" + orderBy_OrderDirection) + "&";
1624
+ url_ = url_.replace(/[?&]$/, "");
1625
+ let options_ = {
1626
+ observe: "response",
1627
+ responseType: "blob",
1628
+ headers: new HttpHeaders({
1629
+ "Accept": "text/plain"
1630
+ })
1631
+ };
1632
+ return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
1633
+ return this.processGetBackofficeTenants(response_);
1634
+ })).pipe(catchError((response_) => {
1635
+ if (response_ instanceof HttpResponseBase) {
1636
+ try {
1637
+ return this.processGetBackofficeTenants(response_);
1638
+ }
1639
+ catch (e) {
1640
+ return throwError(e);
1641
+ }
1642
+ }
1643
+ else
1644
+ return throwError(response_);
1645
+ }));
1646
+ }
1647
+ processGetBackofficeTenants(response) {
1648
+ const status = response.status;
1649
+ const responseBlob = response instanceof HttpResponse ? response.body :
1650
+ response.error instanceof Blob ? response.error : undefined;
1651
+ let _headers = {};
1652
+ if (response.headers) {
1653
+ for (let key of response.headers.keys()) {
1654
+ _headers[key] = response.headers.get(key);
1655
+ }
1656
+ }
1657
+ if (status === 404) {
1658
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1659
+ let result404 = null;
1660
+ let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
1661
+ result404 = ProblemDetails$1.fromJS(resultData404);
1662
+ return throwException$2("Not Found", status, _responseText, _headers, result404);
1663
+ }));
1664
+ }
1665
+ else if (status === 200) {
1666
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1667
+ let result200 = null;
1668
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
1669
+ result200 = TenantDtoListHttpResponseData.fromJS(resultData200);
1670
+ return of(result200);
1671
+ }));
1672
+ }
1673
+ else if (status !== 200 && status !== 204) {
1674
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1675
+ return throwException$2("An unexpected server error occurred.", status, _responseText, _headers);
1676
+ }));
1677
+ }
1678
+ return of(null);
1679
+ }
1680
+ /**
1681
+ * @param body (optional)
1682
+ * @return Success
1683
+ */
1684
+ createTenant(body) {
1685
+ let url_ = this.baseUrl + "/api/services/backoffice/create";
1686
+ url_ = url_.replace(/[?&]$/, "");
1687
+ const content_ = JSON.stringify(body);
1688
+ let options_ = {
1689
+ body: content_,
1690
+ observe: "response",
1691
+ responseType: "blob",
1692
+ headers: new HttpHeaders({
1693
+ "Content-Type": "application/json",
1694
+ "Accept": "text/plain"
1695
+ })
1696
+ };
1697
+ return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
1698
+ return this.processCreateTenant(response_);
1699
+ })).pipe(catchError((response_) => {
1700
+ if (response_ instanceof HttpResponseBase) {
1701
+ try {
1702
+ return this.processCreateTenant(response_);
1703
+ }
1704
+ catch (e) {
1705
+ return throwError(e);
1706
+ }
1707
+ }
1708
+ else
1709
+ return throwError(response_);
1710
+ }));
1711
+ }
1712
+ processCreateTenant(response) {
1713
+ const status = response.status;
1714
+ const responseBlob = response instanceof HttpResponse ? response.body :
1715
+ response.error instanceof Blob ? response.error : undefined;
1716
+ let _headers = {};
1717
+ if (response.headers) {
1718
+ for (let key of response.headers.keys()) {
1719
+ _headers[key] = response.headers.get(key);
1720
+ }
1721
+ }
1722
+ if (status === 200) {
1723
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1724
+ let result200 = null;
1725
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
1726
+ result200 = ManagedTenantDtoHttpResponseData.fromJS(resultData200);
1727
+ return of(result200);
1728
+ }));
1729
+ }
1730
+ else if (status !== 200 && status !== 204) {
1731
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1732
+ return throwException$2("An unexpected server error occurred.", status, _responseText, _headers);
1733
+ }));
1734
+ }
1735
+ return of(null);
1736
+ }
1737
+ /**
1738
+ * @param tenantId (optional)
1739
+ * @return Success
1740
+ */
1741
+ resendBackofficePendingAdminsInvitations(tenantId) {
1742
+ let url_ = this.baseUrl + "/api/services/backoffice/resend-bo-pending-admin-invitations?";
1743
+ if (tenantId === null)
1744
+ throw new Error("The parameter 'tenantId' cannot be null.");
1745
+ else if (tenantId !== undefined)
1746
+ url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
1747
+ url_ = url_.replace(/[?&]$/, "");
1748
+ let options_ = {
1749
+ observe: "response",
1750
+ responseType: "blob",
1751
+ headers: new HttpHeaders({
1752
+ "Accept": "text/plain"
1753
+ })
1754
+ };
1755
+ return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
1756
+ return this.processResendBackofficePendingAdminsInvitations(response_);
1757
+ })).pipe(catchError((response_) => {
1758
+ if (response_ instanceof HttpResponseBase) {
1759
+ try {
1760
+ return this.processResendBackofficePendingAdminsInvitations(response_);
1761
+ }
1762
+ catch (e) {
1763
+ return throwError(e);
1764
+ }
1765
+ }
1766
+ else
1767
+ return throwError(response_);
1768
+ }));
1769
+ }
1770
+ processResendBackofficePendingAdminsInvitations(response) {
1771
+ const status = response.status;
1772
+ const responseBlob = response instanceof HttpResponse ? response.body :
1773
+ response.error instanceof Blob ? response.error : undefined;
1774
+ let _headers = {};
1775
+ if (response.headers) {
1776
+ for (let key of response.headers.keys()) {
1777
+ _headers[key] = response.headers.get(key);
1778
+ }
1779
+ }
1780
+ if (status === 200) {
1781
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1782
+ let result200 = null;
1783
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
1784
+ result200 = ObjectHttpResponseData$2.fromJS(resultData200);
1785
+ return of(result200);
1786
+ }));
1787
+ }
1788
+ else if (status !== 200 && status !== 204) {
1789
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1790
+ return throwException$2("An unexpected server error occurred.", status, _responseText, _headers);
1791
+ }));
1792
+ }
1793
+ return of(null);
1794
+ }
1795
+ /**
1796
+ * @return Success
1797
+ */
1798
+ deleteTenant(id) {
1799
+ let url_ = this.baseUrl + "/api/services/backoffice/delete/{id}";
1800
+ if (id === undefined || id === null)
1801
+ throw new Error("The parameter 'id' must be defined.");
1802
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
1803
+ url_ = url_.replace(/[?&]$/, "");
1804
+ let options_ = {
1805
+ observe: "response",
1806
+ responseType: "blob",
1807
+ headers: new HttpHeaders({
1808
+ "Accept": "text/plain"
1809
+ })
1810
+ };
1811
+ return this.http.request("delete", url_, options_).pipe(mergeMap((response_) => {
1812
+ return this.processDeleteTenant(response_);
1813
+ })).pipe(catchError((response_) => {
1814
+ if (response_ instanceof HttpResponseBase) {
1815
+ try {
1816
+ return this.processDeleteTenant(response_);
1817
+ }
1818
+ catch (e) {
1819
+ return throwError(e);
1820
+ }
1821
+ }
1822
+ else
1823
+ return throwError(response_);
1824
+ }));
1825
+ }
1826
+ processDeleteTenant(response) {
1827
+ const status = response.status;
1828
+ const responseBlob = response instanceof HttpResponse ? response.body :
1829
+ response.error instanceof Blob ? response.error : undefined;
1830
+ let _headers = {};
1831
+ if (response.headers) {
1832
+ for (let key of response.headers.keys()) {
1833
+ _headers[key] = response.headers.get(key);
1834
+ }
1835
+ }
1836
+ if (status === 200) {
1837
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1838
+ let result200 = null;
1839
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
1840
+ result200 = TenantDtoHttpResponseData.fromJS(resultData200);
1841
+ return of(result200);
1842
+ }));
1843
+ }
1844
+ else if (status !== 200 && status !== 204) {
1845
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1846
+ return throwException$2("An unexpected server error occurred.", status, _responseText, _headers);
1847
+ }));
1848
+ }
1849
+ return of(null);
1850
+ }
1851
+ /**
1852
+ * @return Success
1853
+ */
1854
+ refreshBackofficeCacheByTenantId(tenantId) {
1855
+ let url_ = this.baseUrl + "/api/services/backoffice/tenant/{tenantId}/refresh-cache";
1856
+ if (tenantId === undefined || tenantId === null)
1857
+ throw new Error("The parameter 'tenantId' must be defined.");
1858
+ url_ = url_.replace("{tenantId}", encodeURIComponent("" + tenantId));
1080
1859
  url_ = url_.replace(/[?&]$/, "");
1081
- const content_ = JSON.stringify(body);
1082
1860
  let options_ = {
1083
- body: content_,
1084
1861
  observe: "response",
1085
1862
  responseType: "blob",
1086
1863
  headers: new HttpHeaders({
1087
- "Content-Type": "application/json-patch+json",
1088
1864
  "Accept": "text/plain"
1089
1865
  })
1090
1866
  };
1091
- return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
1092
- return this.processGetAuditByFilterForBackOffice(response_);
1867
+ return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
1868
+ return this.processRefreshBackofficeCacheByTenantId(response_);
1093
1869
  })).pipe(catchError((response_) => {
1094
1870
  if (response_ instanceof HttpResponseBase) {
1095
1871
  try {
1096
- return this.processGetAuditByFilterForBackOffice(response_);
1872
+ return this.processRefreshBackofficeCacheByTenantId(response_);
1097
1873
  }
1098
1874
  catch (e) {
1099
1875
  return throwError(e);
@@ -1103,7 +1879,7 @@ class AuditServiceProxy {
1103
1879
  return throwError(response_);
1104
1880
  }));
1105
1881
  }
1106
- processGetAuditByFilterForBackOffice(response) {
1882
+ processRefreshBackofficeCacheByTenantId(response) {
1107
1883
  const status = response.status;
1108
1884
  const responseBlob = response instanceof HttpResponse ? response.body :
1109
1885
  response.error instanceof Blob ? response.error : undefined;
@@ -1125,7 +1901,7 @@ class AuditServiceProxy {
1125
1901
  return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1126
1902
  let result200 = null;
1127
1903
  let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
1128
- result200 = AuditDtoListHttpResponseData.fromJS(resultData200);
1904
+ result200 = ObjectHttpResponseData$2.fromJS(resultData200);
1129
1905
  return of(result200);
1130
1906
  }));
1131
1907
  }
@@ -1140,8 +1916,171 @@ class AuditServiceProxy {
1140
1916
  * @param body (optional)
1141
1917
  * @return Success
1142
1918
  */
1143
- getAuditByFilter(body) {
1144
- let url_ = this.baseUrl + "/api/services/audit/get";
1919
+ updateBackofficeTenant(body) {
1920
+ let url_ = this.baseUrl + "/api/services/backoffice/update";
1921
+ url_ = url_.replace(/[?&]$/, "");
1922
+ const content_ = JSON.stringify(body);
1923
+ let options_ = {
1924
+ body: content_,
1925
+ observe: "response",
1926
+ responseType: "blob",
1927
+ headers: new HttpHeaders({
1928
+ "Content-Type": "application/json",
1929
+ "Accept": "text/plain"
1930
+ })
1931
+ };
1932
+ return this.http.request("put", url_, options_).pipe(mergeMap((response_) => {
1933
+ return this.processUpdateBackofficeTenant(response_);
1934
+ })).pipe(catchError((response_) => {
1935
+ if (response_ instanceof HttpResponseBase) {
1936
+ try {
1937
+ return this.processUpdateBackofficeTenant(response_);
1938
+ }
1939
+ catch (e) {
1940
+ return throwError(e);
1941
+ }
1942
+ }
1943
+ else
1944
+ return throwError(response_);
1945
+ }));
1946
+ }
1947
+ processUpdateBackofficeTenant(response) {
1948
+ const status = response.status;
1949
+ const responseBlob = response instanceof HttpResponse ? response.body :
1950
+ response.error instanceof Blob ? response.error : undefined;
1951
+ let _headers = {};
1952
+ if (response.headers) {
1953
+ for (let key of response.headers.keys()) {
1954
+ _headers[key] = response.headers.get(key);
1955
+ }
1956
+ }
1957
+ if (status === 200) {
1958
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1959
+ let result200 = null;
1960
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
1961
+ result200 = UpdateTenantDtoHttpResponseData.fromJS(resultData200);
1962
+ return of(result200);
1963
+ }));
1964
+ }
1965
+ else if (status !== 200 && status !== 204) {
1966
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1967
+ return throwException$2("An unexpected server error occurred.", status, _responseText, _headers);
1968
+ }));
1969
+ }
1970
+ return of(null);
1971
+ }
1972
+ /**
1973
+ * @return Success
1974
+ */
1975
+ getBackofficeVersions() {
1976
+ let url_ = this.baseUrl + "/api/services/backoffice/versions";
1977
+ url_ = url_.replace(/[?&]$/, "");
1978
+ let options_ = {
1979
+ observe: "response",
1980
+ responseType: "blob",
1981
+ headers: new HttpHeaders({
1982
+ "Accept": "text/plain"
1983
+ })
1984
+ };
1985
+ return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
1986
+ return this.processGetBackofficeVersions(response_);
1987
+ })).pipe(catchError((response_) => {
1988
+ if (response_ instanceof HttpResponseBase) {
1989
+ try {
1990
+ return this.processGetBackofficeVersions(response_);
1991
+ }
1992
+ catch (e) {
1993
+ return throwError(e);
1994
+ }
1995
+ }
1996
+ else
1997
+ return throwError(response_);
1998
+ }));
1999
+ }
2000
+ processGetBackofficeVersions(response) {
2001
+ const status = response.status;
2002
+ const responseBlob = response instanceof HttpResponse ? response.body :
2003
+ response.error instanceof Blob ? response.error : undefined;
2004
+ let _headers = {};
2005
+ if (response.headers) {
2006
+ for (let key of response.headers.keys()) {
2007
+ _headers[key] = response.headers.get(key);
2008
+ }
2009
+ }
2010
+ if (status === 200) {
2011
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
2012
+ let result200 = null;
2013
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
2014
+ result200 = StringStringIDictionaryHttpResponseData$1.fromJS(resultData200);
2015
+ return of(result200);
2016
+ }));
2017
+ }
2018
+ else if (status !== 200 && status !== 204) {
2019
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
2020
+ return throwException$2("An unexpected server error occurred.", status, _responseText, _headers);
2021
+ }));
2022
+ }
2023
+ return of(null);
2024
+ }
2025
+ /**
2026
+ * @return Success
2027
+ */
2028
+ getBackofficeSpAndSparkVersions() {
2029
+ let url_ = this.baseUrl + "/api/services/backoffice/sp-spark-versions";
2030
+ url_ = url_.replace(/[?&]$/, "");
2031
+ let options_ = {
2032
+ observe: "response",
2033
+ responseType: "blob",
2034
+ headers: new HttpHeaders({
2035
+ "Accept": "text/plain"
2036
+ })
2037
+ };
2038
+ return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
2039
+ return this.processGetBackofficeSpAndSparkVersions(response_);
2040
+ })).pipe(catchError((response_) => {
2041
+ if (response_ instanceof HttpResponseBase) {
2042
+ try {
2043
+ return this.processGetBackofficeSpAndSparkVersions(response_);
2044
+ }
2045
+ catch (e) {
2046
+ return throwError(e);
2047
+ }
2048
+ }
2049
+ else
2050
+ return throwError(response_);
2051
+ }));
2052
+ }
2053
+ processGetBackofficeSpAndSparkVersions(response) {
2054
+ const status = response.status;
2055
+ const responseBlob = response instanceof HttpResponse ? response.body :
2056
+ response.error instanceof Blob ? response.error : undefined;
2057
+ let _headers = {};
2058
+ if (response.headers) {
2059
+ for (let key of response.headers.keys()) {
2060
+ _headers[key] = response.headers.get(key);
2061
+ }
2062
+ }
2063
+ if (status === 200) {
2064
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
2065
+ let result200 = null;
2066
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
2067
+ result200 = SpAndSparkVersionsDtoHttpResponseData.fromJS(resultData200);
2068
+ return of(result200);
2069
+ }));
2070
+ }
2071
+ else if (status !== 200 && status !== 204) {
2072
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
2073
+ return throwException$2("An unexpected server error occurred.", status, _responseText, _headers);
2074
+ }));
2075
+ }
2076
+ return of(null);
2077
+ }
2078
+ /**
2079
+ * @param body (optional)
2080
+ * @return Success
2081
+ */
2082
+ getBackofficeSmartparks(body) {
2083
+ let url_ = this.baseUrl + "/api/services/backoffice";
1145
2084
  url_ = url_.replace(/[?&]$/, "");
1146
2085
  const content_ = JSON.stringify(body);
1147
2086
  let options_ = {
@@ -1154,11 +2093,11 @@ class AuditServiceProxy {
1154
2093
  })
1155
2094
  };
1156
2095
  return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
1157
- return this.processGetAuditByFilter(response_);
2096
+ return this.processGetBackofficeSmartparks(response_);
1158
2097
  })).pipe(catchError((response_) => {
1159
2098
  if (response_ instanceof HttpResponseBase) {
1160
2099
  try {
1161
- return this.processGetAuditByFilter(response_);
2100
+ return this.processGetBackofficeSmartparks(response_);
1162
2101
  }
1163
2102
  catch (e) {
1164
2103
  return throwError(e);
@@ -1168,7 +2107,80 @@ class AuditServiceProxy {
1168
2107
  return throwError(response_);
1169
2108
  }));
1170
2109
  }
1171
- processGetAuditByFilter(response) {
2110
+ processGetBackofficeSmartparks(response) {
2111
+ const status = response.status;
2112
+ const responseBlob = response instanceof HttpResponse ? response.body :
2113
+ response.error instanceof Blob ? response.error : undefined;
2114
+ let _headers = {};
2115
+ if (response.headers) {
2116
+ for (let key of response.headers.keys()) {
2117
+ _headers[key] = response.headers.get(key);
2118
+ }
2119
+ }
2120
+ if (status === 200) {
2121
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
2122
+ let result200 = null;
2123
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
2124
+ result200 = SmartparkDtoEntityWrapperDtoHttpResponseData.fromJS(resultData200);
2125
+ return of(result200);
2126
+ }));
2127
+ }
2128
+ else if (status !== 200 && status !== 204) {
2129
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
2130
+ return throwException$2("An unexpected server error occurred.", status, _responseText, _headers);
2131
+ }));
2132
+ }
2133
+ return of(null);
2134
+ }
2135
+ /**
2136
+ * @param maxResults (optional)
2137
+ * @param searchTerm (optional)
2138
+ * @param orderBy_Column (optional)
2139
+ * @param orderBy_OrderDirection (optional)
2140
+ * @return Success
2141
+ */
2142
+ getBackofficeVars(maxResults, searchTerm, orderBy_Column, orderBy_OrderDirection) {
2143
+ let url_ = this.baseUrl + "/api/services/backoffice/vars?";
2144
+ if (maxResults === null)
2145
+ throw new Error("The parameter 'maxResults' cannot be null.");
2146
+ else if (maxResults !== undefined)
2147
+ url_ += "MaxResults=" + encodeURIComponent("" + maxResults) + "&";
2148
+ if (searchTerm === null)
2149
+ throw new Error("The parameter 'searchTerm' cannot be null.");
2150
+ else if (searchTerm !== undefined)
2151
+ url_ += "SearchTerm=" + encodeURIComponent("" + searchTerm) + "&";
2152
+ if (orderBy_Column === null)
2153
+ throw new Error("The parameter 'orderBy_Column' cannot be null.");
2154
+ else if (orderBy_Column !== undefined)
2155
+ url_ += "OrderBy.Column=" + encodeURIComponent("" + orderBy_Column) + "&";
2156
+ if (orderBy_OrderDirection === null)
2157
+ throw new Error("The parameter 'orderBy_OrderDirection' cannot be null.");
2158
+ else if (orderBy_OrderDirection !== undefined)
2159
+ url_ += "OrderBy.OrderDirection=" + encodeURIComponent("" + orderBy_OrderDirection) + "&";
2160
+ url_ = url_.replace(/[?&]$/, "");
2161
+ let options_ = {
2162
+ observe: "response",
2163
+ responseType: "blob",
2164
+ headers: new HttpHeaders({
2165
+ "Accept": "text/plain"
2166
+ })
2167
+ };
2168
+ return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
2169
+ return this.processGetBackofficeVars(response_);
2170
+ })).pipe(catchError((response_) => {
2171
+ if (response_ instanceof HttpResponseBase) {
2172
+ try {
2173
+ return this.processGetBackofficeVars(response_);
2174
+ }
2175
+ catch (e) {
2176
+ return throwError(e);
2177
+ }
2178
+ }
2179
+ else
2180
+ return throwError(response_);
2181
+ }));
2182
+ }
2183
+ processGetBackofficeVars(response) {
1172
2184
  const status = response.status;
1173
2185
  const responseBlob = response instanceof HttpResponse ? response.body :
1174
2186
  response.error instanceof Blob ? response.error : undefined;
@@ -1190,7 +2202,7 @@ class AuditServiceProxy {
1190
2202
  return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1191
2203
  let result200 = null;
1192
2204
  let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
1193
- result200 = AuditDtoListHttpResponseData.fromJS(resultData200);
2205
+ result200 = VarDtoIEnumerableHttpResponseData.fromJS(resultData200);
1194
2206
  return of(result200);
1195
2207
  }));
1196
2208
  }
@@ -1202,15 +2214,16 @@ class AuditServiceProxy {
1202
2214
  return of(null);
1203
2215
  }
1204
2216
  /**
1205
- * @param auditId (optional)
1206
2217
  * @return Success
1207
2218
  */
1208
- getAuditDeepSearch(auditId) {
1209
- let url_ = this.baseUrl + "/api/services/audit/deep-search?";
1210
- if (auditId === null)
1211
- throw new Error("The parameter 'auditId' cannot be null.");
1212
- else if (auditId !== undefined)
1213
- url_ += "auditId=" + encodeURIComponent("" + auditId) + "&";
2219
+ getBackofficeSettingsByTenantid(category, tenantId) {
2220
+ let url_ = this.baseUrl + "/api/services/backoffice/settings/{category}/{tenantId}";
2221
+ if (category === undefined || category === null)
2222
+ throw new Error("The parameter 'category' must be defined.");
2223
+ url_ = url_.replace("{category}", encodeURIComponent("" + category));
2224
+ if (tenantId === undefined || tenantId === null)
2225
+ throw new Error("The parameter 'tenantId' must be defined.");
2226
+ url_ = url_.replace("{tenantId}", encodeURIComponent("" + tenantId));
1214
2227
  url_ = url_.replace(/[?&]$/, "");
1215
2228
  let options_ = {
1216
2229
  observe: "response",
@@ -1220,11 +2233,11 @@ class AuditServiceProxy {
1220
2233
  })
1221
2234
  };
1222
2235
  return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
1223
- return this.processGetAuditDeepSearch(response_);
2236
+ return this.processGetBackofficeSettingsByTenantid(response_);
1224
2237
  })).pipe(catchError((response_) => {
1225
2238
  if (response_ instanceof HttpResponseBase) {
1226
2239
  try {
1227
- return this.processGetAuditDeepSearch(response_);
2240
+ return this.processGetBackofficeSettingsByTenantid(response_);
1228
2241
  }
1229
2242
  catch (e) {
1230
2243
  return throwError(e);
@@ -1234,7 +2247,192 @@ class AuditServiceProxy {
1234
2247
  return throwError(response_);
1235
2248
  }));
1236
2249
  }
1237
- processGetAuditDeepSearch(response) {
2250
+ processGetBackofficeSettingsByTenantid(response) {
2251
+ const status = response.status;
2252
+ const responseBlob = response instanceof HttpResponse ? response.body :
2253
+ response.error instanceof Blob ? response.error : undefined;
2254
+ let _headers = {};
2255
+ if (response.headers) {
2256
+ for (let key of response.headers.keys()) {
2257
+ _headers[key] = response.headers.get(key);
2258
+ }
2259
+ }
2260
+ if (status === 200) {
2261
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
2262
+ let result200 = null;
2263
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
2264
+ result200 = ObjectHttpResponseData$2.fromJS(resultData200);
2265
+ return of(result200);
2266
+ }));
2267
+ }
2268
+ else if (status !== 200 && status !== 204) {
2269
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
2270
+ return throwException$2("An unexpected server error occurred.", status, _responseText, _headers);
2271
+ }));
2272
+ }
2273
+ return of(null);
2274
+ }
2275
+ /**
2276
+ * @param body (optional)
2277
+ * @return Success
2278
+ */
2279
+ updateSettingsByTenantid(category, affectedTenantId, body) {
2280
+ let url_ = this.baseUrl + "/api/services/backoffice/settings/{category}/update/{affectedTenantId}";
2281
+ if (category === undefined || category === null)
2282
+ throw new Error("The parameter 'category' must be defined.");
2283
+ url_ = url_.replace("{category}", encodeURIComponent("" + category));
2284
+ if (affectedTenantId === undefined || affectedTenantId === null)
2285
+ throw new Error("The parameter 'affectedTenantId' must be defined.");
2286
+ url_ = url_.replace("{affectedTenantId}", encodeURIComponent("" + affectedTenantId));
2287
+ url_ = url_.replace(/[?&]$/, "");
2288
+ const content_ = JSON.stringify(body);
2289
+ let options_ = {
2290
+ body: content_,
2291
+ observe: "response",
2292
+ responseType: "blob",
2293
+ headers: new HttpHeaders({
2294
+ "Content-Type": "application/json-patch+json",
2295
+ "Accept": "text/plain"
2296
+ })
2297
+ };
2298
+ return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
2299
+ return this.processUpdateSettingsByTenantid(response_);
2300
+ })).pipe(catchError((response_) => {
2301
+ if (response_ instanceof HttpResponseBase) {
2302
+ try {
2303
+ return this.processUpdateSettingsByTenantid(response_);
2304
+ }
2305
+ catch (e) {
2306
+ return throwError(e);
2307
+ }
2308
+ }
2309
+ else
2310
+ return throwError(response_);
2311
+ }));
2312
+ }
2313
+ processUpdateSettingsByTenantid(response) {
2314
+ const status = response.status;
2315
+ const responseBlob = response instanceof HttpResponse ? response.body :
2316
+ response.error instanceof Blob ? response.error : undefined;
2317
+ let _headers = {};
2318
+ if (response.headers) {
2319
+ for (let key of response.headers.keys()) {
2320
+ _headers[key] = response.headers.get(key);
2321
+ }
2322
+ }
2323
+ if (status === 200) {
2324
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
2325
+ let result200 = null;
2326
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
2327
+ result200 = ObjectHttpResponseData$2.fromJS(resultData200);
2328
+ return of(result200);
2329
+ }));
2330
+ }
2331
+ else if (status !== 200 && status !== 204) {
2332
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
2333
+ return throwException$2("An unexpected server error occurred.", status, _responseText, _headers);
2334
+ }));
2335
+ }
2336
+ return of(null);
2337
+ }
2338
+ /**
2339
+ * @param feature (optional)
2340
+ * @param featureState (optional)
2341
+ * @return Success
2342
+ */
2343
+ toggleFeatureForTenant(feature, featureState, tenantId) {
2344
+ let url_ = this.baseUrl + "/api/services/backoffice/{tenantId}?";
2345
+ if (tenantId === undefined || tenantId === null)
2346
+ throw new Error("The parameter 'tenantId' must be defined.");
2347
+ url_ = url_.replace("{tenantId}", encodeURIComponent("" + tenantId));
2348
+ if (feature === null)
2349
+ throw new Error("The parameter 'feature' cannot be null.");
2350
+ else if (feature !== undefined)
2351
+ url_ += "feature=" + encodeURIComponent("" + feature) + "&";
2352
+ if (featureState === null)
2353
+ throw new Error("The parameter 'featureState' cannot be null.");
2354
+ else if (featureState !== undefined)
2355
+ url_ += "featureState=" + encodeURIComponent("" + featureState) + "&";
2356
+ url_ = url_.replace(/[?&]$/, "");
2357
+ let options_ = {
2358
+ observe: "response",
2359
+ responseType: "blob",
2360
+ headers: new HttpHeaders({
2361
+ "Accept": "text/plain"
2362
+ })
2363
+ };
2364
+ return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
2365
+ return this.processToggleFeatureForTenant(response_);
2366
+ })).pipe(catchError((response_) => {
2367
+ if (response_ instanceof HttpResponseBase) {
2368
+ try {
2369
+ return this.processToggleFeatureForTenant(response_);
2370
+ }
2371
+ catch (e) {
2372
+ return throwError(e);
2373
+ }
2374
+ }
2375
+ else
2376
+ return throwError(response_);
2377
+ }));
2378
+ }
2379
+ processToggleFeatureForTenant(response) {
2380
+ const status = response.status;
2381
+ const responseBlob = response instanceof HttpResponse ? response.body :
2382
+ response.error instanceof Blob ? response.error : undefined;
2383
+ let _headers = {};
2384
+ if (response.headers) {
2385
+ for (let key of response.headers.keys()) {
2386
+ _headers[key] = response.headers.get(key);
2387
+ }
2388
+ }
2389
+ if (status === 200) {
2390
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
2391
+ let result200 = null;
2392
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
2393
+ result200 = ObjectHttpResponseData$2.fromJS(resultData200);
2394
+ return of(result200);
2395
+ }));
2396
+ }
2397
+ else if (status !== 200 && status !== 204) {
2398
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
2399
+ return throwException$2("An unexpected server error occurred.", status, _responseText, _headers);
2400
+ }));
2401
+ }
2402
+ return of(null);
2403
+ }
2404
+ /**
2405
+ * @return Success
2406
+ */
2407
+ syncBackofficeUsersAndRolesByTenantId(tenantId) {
2408
+ let url_ = this.baseUrl + "/api/services/backoffice/backoffice/tenant/{tenantId}/sync";
2409
+ if (tenantId === undefined || tenantId === null)
2410
+ throw new Error("The parameter 'tenantId' must be defined.");
2411
+ url_ = url_.replace("{tenantId}", encodeURIComponent("" + tenantId));
2412
+ url_ = url_.replace(/[?&]$/, "");
2413
+ let options_ = {
2414
+ observe: "response",
2415
+ responseType: "blob",
2416
+ headers: new HttpHeaders({
2417
+ "Accept": "text/plain"
2418
+ })
2419
+ };
2420
+ return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
2421
+ return this.processSyncBackofficeUsersAndRolesByTenantId(response_);
2422
+ })).pipe(catchError((response_) => {
2423
+ if (response_ instanceof HttpResponseBase) {
2424
+ try {
2425
+ return this.processSyncBackofficeUsersAndRolesByTenantId(response_);
2426
+ }
2427
+ catch (e) {
2428
+ return throwError(e);
2429
+ }
2430
+ }
2431
+ else
2432
+ return throwError(response_);
2433
+ }));
2434
+ }
2435
+ processSyncBackofficeUsersAndRolesByTenantId(response) {
1238
2436
  const status = response.status;
1239
2437
  const responseBlob = response instanceof HttpResponse ? response.body :
1240
2438
  response.error instanceof Blob ? response.error : undefined;
@@ -1256,7 +2454,7 @@ class AuditServiceProxy {
1256
2454
  return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1257
2455
  let result200 = null;
1258
2456
  let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
1259
- result200 = AuditSectionsDtoHttpResponseData.fromJS(resultData200);
2457
+ result200 = ObjectHttpResponseData$2.fromJS(resultData200);
1260
2458
  return of(result200);
1261
2459
  }));
1262
2460
  }
@@ -1267,34 +2465,17 @@ class AuditServiceProxy {
1267
2465
  }
1268
2466
  return of(null);
1269
2467
  }
1270
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AuditServiceProxy, deps: [{ token: HttpClient }, { token: API_BASE_URL$2, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
1271
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AuditServiceProxy }); }
1272
- }
1273
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AuditServiceProxy, decorators: [{
1274
- type: Injectable
1275
- }], ctorParameters: () => [{ type: i1$1.HttpClient, decorators: [{
1276
- type: Inject,
1277
- args: [HttpClient]
1278
- }] }, { type: undefined, decorators: [{
1279
- type: Optional
1280
- }, {
1281
- type: Inject,
1282
- args: [API_BASE_URL$2]
1283
- }] }] });
1284
- class CloudManagementServiceProxy {
1285
- constructor(http, baseUrl) {
1286
- this.jsonParseReviver = undefined;
1287
- this.http = http;
1288
- this.baseUrl = baseUrl ?? "";
1289
- }
1290
2468
  /**
1291
2469
  * @return Success
1292
2470
  */
1293
- refreshCacheByTenantId(tenantId) {
1294
- let url_ = this.baseUrl + "/api/services/cloudmanagement/tenant/{tenantId}/refresh-cache";
2471
+ syncBackofficeUsersAndRolesBySmartparkId(tenantId, smartparkId) {
2472
+ let url_ = this.baseUrl + "/api/services/backoffice/tenant/{tenantId}/smartpark/{smartparkId}/sync";
1295
2473
  if (tenantId === undefined || tenantId === null)
1296
2474
  throw new Error("The parameter 'tenantId' must be defined.");
1297
2475
  url_ = url_.replace("{tenantId}", encodeURIComponent("" + tenantId));
2476
+ if (smartparkId === undefined || smartparkId === null)
2477
+ throw new Error("The parameter 'smartparkId' must be defined.");
2478
+ url_ = url_.replace("{smartparkId}", encodeURIComponent("" + smartparkId));
1298
2479
  url_ = url_.replace(/[?&]$/, "");
1299
2480
  let options_ = {
1300
2481
  observe: "response",
@@ -1304,11 +2485,11 @@ class CloudManagementServiceProxy {
1304
2485
  })
1305
2486
  };
1306
2487
  return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
1307
- return this.processRefreshCacheByTenantId(response_);
2488
+ return this.processSyncBackofficeUsersAndRolesBySmartparkId(response_);
1308
2489
  })).pipe(catchError((response_) => {
1309
2490
  if (response_ instanceof HttpResponseBase) {
1310
2491
  try {
1311
- return this.processRefreshCacheByTenantId(response_);
2492
+ return this.processSyncBackofficeUsersAndRolesBySmartparkId(response_);
1312
2493
  }
1313
2494
  catch (e) {
1314
2495
  return throwError(e);
@@ -1318,7 +2499,7 @@ class CloudManagementServiceProxy {
1318
2499
  return throwError(response_);
1319
2500
  }));
1320
2501
  }
1321
- processRefreshCacheByTenantId(response) {
2502
+ processSyncBackofficeUsersAndRolesBySmartparkId(response) {
1322
2503
  const status = response.status;
1323
2504
  const responseBlob = response instanceof HttpResponse ? response.body :
1324
2505
  response.error instanceof Blob ? response.error : undefined;
@@ -1330,7 +2511,10 @@ class CloudManagementServiceProxy {
1330
2511
  }
1331
2512
  if (status === 404) {
1332
2513
  return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1333
- return throwException$2("Not Found", status, _responseText, _headers);
2514
+ let result404 = null;
2515
+ let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
2516
+ result404 = ProblemDetails$1.fromJS(resultData404);
2517
+ return throwException$2("Not Found", status, _responseText, _headers, result404);
1334
2518
  }));
1335
2519
  }
1336
2520
  else if (status === 200) {
@@ -1348,11 +2532,31 @@ class CloudManagementServiceProxy {
1348
2532
  }
1349
2533
  return of(null);
1350
2534
  }
2535
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BackofficeServiceProxy, deps: [{ token: HttpClient }, { token: API_BASE_URL$2, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
2536
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BackofficeServiceProxy }); }
2537
+ }
2538
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BackofficeServiceProxy, decorators: [{
2539
+ type: Injectable
2540
+ }], ctorParameters: () => [{ type: i1$1.HttpClient, decorators: [{
2541
+ type: Inject,
2542
+ args: [HttpClient]
2543
+ }] }, { type: undefined, decorators: [{
2544
+ type: Optional
2545
+ }, {
2546
+ type: Inject,
2547
+ args: [API_BASE_URL$2]
2548
+ }] }] });
2549
+ class CloudManagementServiceProxy {
2550
+ constructor(http, baseUrl) {
2551
+ this.jsonParseReviver = undefined;
2552
+ this.http = http;
2553
+ this.baseUrl = baseUrl ?? "";
2554
+ }
1351
2555
  /**
1352
2556
  * @return Success
1353
2557
  */
1354
- syncUsersAndRolesByTenantId(tenantId) {
1355
- let url_ = this.baseUrl + "/api/services/cloudmanagement/tenant/{tenantId}/sync";
2558
+ refreshCacheByTenantId(tenantId) {
2559
+ let url_ = this.baseUrl + "/api/services/cloudmanagement/tenant/{tenantId}/refresh-cache";
1356
2560
  if (tenantId === undefined || tenantId === null)
1357
2561
  throw new Error("The parameter 'tenantId' must be defined.");
1358
2562
  url_ = url_.replace("{tenantId}", encodeURIComponent("" + tenantId));
@@ -1365,11 +2569,11 @@ class CloudManagementServiceProxy {
1365
2569
  })
1366
2570
  };
1367
2571
  return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
1368
- return this.processSyncUsersAndRolesByTenantId(response_);
2572
+ return this.processRefreshCacheByTenantId(response_);
1369
2573
  })).pipe(catchError((response_) => {
1370
2574
  if (response_ instanceof HttpResponseBase) {
1371
2575
  try {
1372
- return this.processSyncUsersAndRolesByTenantId(response_);
2576
+ return this.processRefreshCacheByTenantId(response_);
1373
2577
  }
1374
2578
  catch (e) {
1375
2579
  return throwError(e);
@@ -1379,7 +2583,7 @@ class CloudManagementServiceProxy {
1379
2583
  return throwError(response_);
1380
2584
  }));
1381
2585
  }
1382
- processSyncUsersAndRolesByTenantId(response) {
2586
+ processRefreshCacheByTenantId(response) {
1383
2587
  const status = response.status;
1384
2588
  const responseBlob = response instanceof HttpResponse ? response.body :
1385
2589
  response.error instanceof Blob ? response.error : undefined;
@@ -1713,8 +2917,8 @@ let ConfigurationServiceProxy$1 = class ConfigurationServiceProxy {
1713
2917
  /**
1714
2918
  * @return Success
1715
2919
  */
1716
- getAppConfiguration() {
1717
- let url_ = this.baseUrl + "/api/services/configuration";
2920
+ getBackofficeAppConfiguration2() {
2921
+ let url_ = this.baseUrl + "/api/services/configuration/backoffice-configuration";
1718
2922
  url_ = url_.replace(/[?&]$/, "");
1719
2923
  let options_ = {
1720
2924
  observe: "response",
@@ -1724,11 +2928,11 @@ let ConfigurationServiceProxy$1 = class ConfigurationServiceProxy {
1724
2928
  })
1725
2929
  };
1726
2930
  return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
1727
- return this.processGetAppConfiguration(response_);
2931
+ return this.processGetBackofficeAppConfiguration2(response_);
1728
2932
  })).pipe(catchError((response_) => {
1729
2933
  if (response_ instanceof HttpResponseBase) {
1730
2934
  try {
1731
- return this.processGetAppConfiguration(response_);
2935
+ return this.processGetBackofficeAppConfiguration2(response_);
1732
2936
  }
1733
2937
  catch (e) {
1734
2938
  return throwError(e);
@@ -1738,7 +2942,7 @@ let ConfigurationServiceProxy$1 = class ConfigurationServiceProxy {
1738
2942
  return throwError(response_);
1739
2943
  }));
1740
2944
  }
1741
- processGetAppConfiguration(response) {
2945
+ processGetBackofficeAppConfiguration2(response) {
1742
2946
  const status = response.status;
1743
2947
  const responseBlob = response instanceof HttpResponse ? response.body :
1744
2948
  response.error instanceof Blob ? response.error : undefined;
@@ -1766,8 +2970,8 @@ let ConfigurationServiceProxy$1 = class ConfigurationServiceProxy {
1766
2970
  /**
1767
2971
  * @return Success
1768
2972
  */
1769
- getOnlineValidatorVersion() {
1770
- let url_ = this.baseUrl + "/api/services/configuration/online-validator-version";
2973
+ getAppConfiguration() {
2974
+ let url_ = this.baseUrl + "/api/services/configuration";
1771
2975
  url_ = url_.replace(/[?&]$/, "");
1772
2976
  let options_ = {
1773
2977
  observe: "response",
@@ -1777,11 +2981,11 @@ let ConfigurationServiceProxy$1 = class ConfigurationServiceProxy {
1777
2981
  })
1778
2982
  };
1779
2983
  return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
1780
- return this.processGetOnlineValidatorVersion(response_);
2984
+ return this.processGetAppConfiguration(response_);
1781
2985
  })).pipe(catchError((response_) => {
1782
2986
  if (response_ instanceof HttpResponseBase) {
1783
2987
  try {
1784
- return this.processGetOnlineValidatorVersion(response_);
2988
+ return this.processGetAppConfiguration(response_);
1785
2989
  }
1786
2990
  catch (e) {
1787
2991
  return throwError(e);
@@ -1791,7 +2995,7 @@ let ConfigurationServiceProxy$1 = class ConfigurationServiceProxy {
1791
2995
  return throwError(response_);
1792
2996
  }));
1793
2997
  }
1794
- processGetOnlineValidatorVersion(response) {
2998
+ processGetAppConfiguration(response) {
1795
2999
  const status = response.status;
1796
3000
  const responseBlob = response instanceof HttpResponse ? response.body :
1797
3001
  response.error instanceof Blob ? response.error : undefined;
@@ -1805,7 +3009,7 @@ let ConfigurationServiceProxy$1 = class ConfigurationServiceProxy {
1805
3009
  return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1806
3010
  let result200 = null;
1807
3011
  let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
1808
- result200 = ObjectHttpResponseData$2.fromJS(resultData200);
3012
+ result200 = AppConfigurationDtoHttpResponseData$1.fromJS(resultData200);
1809
3013
  return of(result200);
1810
3014
  }));
1811
3015
  }
@@ -1819,8 +3023,8 @@ let ConfigurationServiceProxy$1 = class ConfigurationServiceProxy {
1819
3023
  /**
1820
3024
  * @return Success
1821
3025
  */
1822
- getSparkMobileVersion() {
1823
- let url_ = this.baseUrl + "/api/services/configuration/spark-mobile-version";
3026
+ getOnlineValidatorVersion() {
3027
+ let url_ = this.baseUrl + "/api/services/configuration/online-validator-version";
1824
3028
  url_ = url_.replace(/[?&]$/, "");
1825
3029
  let options_ = {
1826
3030
  observe: "response",
@@ -1830,11 +3034,11 @@ let ConfigurationServiceProxy$1 = class ConfigurationServiceProxy {
1830
3034
  })
1831
3035
  };
1832
3036
  return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
1833
- return this.processGetSparkMobileVersion(response_);
3037
+ return this.processGetOnlineValidatorVersion(response_);
1834
3038
  })).pipe(catchError((response_) => {
1835
3039
  if (response_ instanceof HttpResponseBase) {
1836
3040
  try {
1837
- return this.processGetSparkMobileVersion(response_);
3041
+ return this.processGetOnlineValidatorVersion(response_);
1838
3042
  }
1839
3043
  catch (e) {
1840
3044
  return throwError(e);
@@ -1844,7 +3048,7 @@ let ConfigurationServiceProxy$1 = class ConfigurationServiceProxy {
1844
3048
  return throwError(response_);
1845
3049
  }));
1846
3050
  }
1847
- processGetSparkMobileVersion(response) {
3051
+ processGetOnlineValidatorVersion(response) {
1848
3052
  const status = response.status;
1849
3053
  const responseBlob = response instanceof HttpResponse ? response.body :
1850
3054
  response.error instanceof Blob ? response.error : undefined;
@@ -1858,7 +3062,7 @@ let ConfigurationServiceProxy$1 = class ConfigurationServiceProxy {
1858
3062
  return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1859
3063
  let result200 = null;
1860
3064
  let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
1861
- result200 = VersionsDtoHttpResponseData.fromJS(resultData200);
3065
+ result200 = ObjectHttpResponseData$2.fromJS(resultData200);
1862
3066
  return of(result200);
1863
3067
  }));
1864
3068
  }
@@ -1872,8 +3076,8 @@ let ConfigurationServiceProxy$1 = class ConfigurationServiceProxy {
1872
3076
  /**
1873
3077
  * @return Success
1874
3078
  */
1875
- getAdministrativeNotifications() {
1876
- let url_ = this.baseUrl + "/api/services/configuration/get-administrative-notifications";
3079
+ getSparkMobileVersion() {
3080
+ let url_ = this.baseUrl + "/api/services/configuration/spark-mobile-version";
1877
3081
  url_ = url_.replace(/[?&]$/, "");
1878
3082
  let options_ = {
1879
3083
  observe: "response",
@@ -1883,11 +3087,11 @@ let ConfigurationServiceProxy$1 = class ConfigurationServiceProxy {
1883
3087
  })
1884
3088
  };
1885
3089
  return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
1886
- return this.processGetAdministrativeNotifications(response_);
3090
+ return this.processGetSparkMobileVersion(response_);
1887
3091
  })).pipe(catchError((response_) => {
1888
3092
  if (response_ instanceof HttpResponseBase) {
1889
3093
  try {
1890
- return this.processGetAdministrativeNotifications(response_);
3094
+ return this.processGetSparkMobileVersion(response_);
1891
3095
  }
1892
3096
  catch (e) {
1893
3097
  return throwError(e);
@@ -1897,7 +3101,7 @@ let ConfigurationServiceProxy$1 = class ConfigurationServiceProxy {
1897
3101
  return throwError(response_);
1898
3102
  }));
1899
3103
  }
1900
- processGetAdministrativeNotifications(response) {
3104
+ processGetSparkMobileVersion(response) {
1901
3105
  const status = response.status;
1902
3106
  const responseBlob = response instanceof HttpResponse ? response.body :
1903
3107
  response.error instanceof Blob ? response.error : undefined;
@@ -1911,18 +3115,10 @@ let ConfigurationServiceProxy$1 = class ConfigurationServiceProxy {
1911
3115
  return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1912
3116
  let result200 = null;
1913
3117
  let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
1914
- result200 = AdministrativeNotificationDtoHttpResponseData.fromJS(resultData200);
3118
+ result200 = VersionsDtoHttpResponseData.fromJS(resultData200);
1915
3119
  return of(result200);
1916
3120
  }));
1917
3121
  }
1918
- else if (status === 500) {
1919
- return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1920
- let result500 = null;
1921
- let resultData500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
1922
- result500 = ProblemDetailsHttpResponseData$1.fromJS(resultData500);
1923
- return throwException$2("Server Error", status, _responseText, _headers, result500);
1924
- }));
1925
- }
1926
3122
  else if (status !== 200 && status !== 204) {
1927
3123
  return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1928
3124
  return throwException$2("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1933,8 +3129,8 @@ let ConfigurationServiceProxy$1 = class ConfigurationServiceProxy {
1933
3129
  /**
1934
3130
  * @return Success
1935
3131
  */
1936
- getUsersAdministrativeNotifications() {
1937
- let url_ = this.baseUrl + "/api/services/configuration/get-users-administrative-notifications";
3132
+ getAdministrativeNotifications() {
3133
+ let url_ = this.baseUrl + "/api/services/configuration/get-administrative-notifications";
1938
3134
  url_ = url_.replace(/[?&]$/, "");
1939
3135
  let options_ = {
1940
3136
  observe: "response",
@@ -1944,11 +3140,11 @@ let ConfigurationServiceProxy$1 = class ConfigurationServiceProxy {
1944
3140
  })
1945
3141
  };
1946
3142
  return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
1947
- return this.processGetUsersAdministrativeNotifications(response_);
3143
+ return this.processGetAdministrativeNotifications(response_);
1948
3144
  })).pipe(catchError((response_) => {
1949
3145
  if (response_ instanceof HttpResponseBase) {
1950
3146
  try {
1951
- return this.processGetUsersAdministrativeNotifications(response_);
3147
+ return this.processGetAdministrativeNotifications(response_);
1952
3148
  }
1953
3149
  catch (e) {
1954
3150
  return throwError(e);
@@ -1958,7 +3154,7 @@ let ConfigurationServiceProxy$1 = class ConfigurationServiceProxy {
1958
3154
  return throwError(response_);
1959
3155
  }));
1960
3156
  }
1961
- processGetUsersAdministrativeNotifications(response) {
3157
+ processGetAdministrativeNotifications(response) {
1962
3158
  const status = response.status;
1963
3159
  const responseBlob = response instanceof HttpResponse ? response.body :
1964
3160
  response.error instanceof Blob ? response.error : undefined;
@@ -1972,7 +3168,7 @@ let ConfigurationServiceProxy$1 = class ConfigurationServiceProxy {
1972
3168
  return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1973
3169
  let result200 = null;
1974
3170
  let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
1975
- result200 = BaseAdministrativeNotificationDtoHttpResponseData.fromJS(resultData200);
3171
+ result200 = AdministrativeNotificationDtoHttpResponseData.fromJS(resultData200);
1976
3172
  return of(result200);
1977
3173
  }));
1978
3174
  }
@@ -1994,14 +3190,8 @@ let ConfigurationServiceProxy$1 = class ConfigurationServiceProxy {
1994
3190
  /**
1995
3191
  * @return Success
1996
3192
  */
1997
- getSettingsByTenantid(category, tenantId) {
1998
- let url_ = this.baseUrl + "/api/services/configuration/settings/{category}/{tenantId}";
1999
- if (category === undefined || category === null)
2000
- throw new Error("The parameter 'category' must be defined.");
2001
- url_ = url_.replace("{category}", encodeURIComponent("" + category));
2002
- if (tenantId === undefined || tenantId === null)
2003
- throw new Error("The parameter 'tenantId' must be defined.");
2004
- url_ = url_.replace("{tenantId}", encodeURIComponent("" + tenantId));
3193
+ getUsersAdministrativeNotifications() {
3194
+ let url_ = this.baseUrl + "/api/services/configuration/get-users-administrative-notifications";
2005
3195
  url_ = url_.replace(/[?&]$/, "");
2006
3196
  let options_ = {
2007
3197
  observe: "response",
@@ -2011,74 +3201,11 @@ let ConfigurationServiceProxy$1 = class ConfigurationServiceProxy {
2011
3201
  })
2012
3202
  };
2013
3203
  return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
2014
- return this.processGetSettingsByTenantid(response_);
2015
- })).pipe(catchError((response_) => {
2016
- if (response_ instanceof HttpResponseBase) {
2017
- try {
2018
- return this.processGetSettingsByTenantid(response_);
2019
- }
2020
- catch (e) {
2021
- return throwError(e);
2022
- }
2023
- }
2024
- else
2025
- return throwError(response_);
2026
- }));
2027
- }
2028
- processGetSettingsByTenantid(response) {
2029
- const status = response.status;
2030
- const responseBlob = response instanceof HttpResponse ? response.body :
2031
- response.error instanceof Blob ? response.error : undefined;
2032
- let _headers = {};
2033
- if (response.headers) {
2034
- for (let key of response.headers.keys()) {
2035
- _headers[key] = response.headers.get(key);
2036
- }
2037
- }
2038
- if (status === 200) {
2039
- return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
2040
- let result200 = null;
2041
- let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
2042
- result200 = ObjectHttpResponseData$2.fromJS(resultData200);
2043
- return of(result200);
2044
- }));
2045
- }
2046
- else if (status !== 200 && status !== 204) {
2047
- return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
2048
- return throwException$2("An unexpected server error occurred.", status, _responseText, _headers);
2049
- }));
2050
- }
2051
- return of(null);
2052
- }
2053
- /**
2054
- * @param body (optional)
2055
- * @return Success
2056
- */
2057
- updateSettingsByTenantid(category, affectedTenantId, body) {
2058
- let url_ = this.baseUrl + "/api/services/configuration/settings/{category}/update/{affectedTenantId}";
2059
- if (category === undefined || category === null)
2060
- throw new Error("The parameter 'category' must be defined.");
2061
- url_ = url_.replace("{category}", encodeURIComponent("" + category));
2062
- if (affectedTenantId === undefined || affectedTenantId === null)
2063
- throw new Error("The parameter 'affectedTenantId' must be defined.");
2064
- url_ = url_.replace("{affectedTenantId}", encodeURIComponent("" + affectedTenantId));
2065
- url_ = url_.replace(/[?&]$/, "");
2066
- const content_ = JSON.stringify(body);
2067
- let options_ = {
2068
- body: content_,
2069
- observe: "response",
2070
- responseType: "blob",
2071
- headers: new HttpHeaders({
2072
- "Content-Type": "application/json-patch+json",
2073
- "Accept": "text/plain"
2074
- })
2075
- };
2076
- return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
2077
- return this.processUpdateSettingsByTenantid(response_);
3204
+ return this.processGetUsersAdministrativeNotifications(response_);
2078
3205
  })).pipe(catchError((response_) => {
2079
3206
  if (response_ instanceof HttpResponseBase) {
2080
3207
  try {
2081
- return this.processUpdateSettingsByTenantid(response_);
3208
+ return this.processGetUsersAdministrativeNotifications(response_);
2082
3209
  }
2083
3210
  catch (e) {
2084
3211
  return throwError(e);
@@ -2088,7 +3215,7 @@ let ConfigurationServiceProxy$1 = class ConfigurationServiceProxy {
2088
3215
  return throwError(response_);
2089
3216
  }));
2090
3217
  }
2091
- processUpdateSettingsByTenantid(response) {
3218
+ processGetUsersAdministrativeNotifications(response) {
2092
3219
  const status = response.status;
2093
3220
  const responseBlob = response instanceof HttpResponse ? response.body :
2094
3221
  response.error instanceof Blob ? response.error : undefined;
@@ -2102,74 +3229,16 @@ let ConfigurationServiceProxy$1 = class ConfigurationServiceProxy {
2102
3229
  return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
2103
3230
  let result200 = null;
2104
3231
  let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
2105
- result200 = ObjectHttpResponseData$2.fromJS(resultData200);
3232
+ result200 = BaseAdministrativeNotificationDtoHttpResponseData.fromJS(resultData200);
2106
3233
  return of(result200);
2107
3234
  }));
2108
3235
  }
2109
- else if (status !== 200 && status !== 204) {
2110
- return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
2111
- return throwException$2("An unexpected server error occurred.", status, _responseText, _headers);
2112
- }));
2113
- }
2114
- return of(null);
2115
- }
2116
- /**
2117
- * @param feature (optional)
2118
- * @param featureState (optional)
2119
- * @return Success
2120
- */
2121
- toggleFeatureForTenant(feature, featureState, tenantId) {
2122
- let url_ = this.baseUrl + "/api/services/configuration/{tenantId}?";
2123
- if (tenantId === undefined || tenantId === null)
2124
- throw new Error("The parameter 'tenantId' must be defined.");
2125
- url_ = url_.replace("{tenantId}", encodeURIComponent("" + tenantId));
2126
- if (feature === null)
2127
- throw new Error("The parameter 'feature' cannot be null.");
2128
- else if (feature !== undefined)
2129
- url_ += "feature=" + encodeURIComponent("" + feature) + "&";
2130
- if (featureState === null)
2131
- throw new Error("The parameter 'featureState' cannot be null.");
2132
- else if (featureState !== undefined)
2133
- url_ += "featureState=" + encodeURIComponent("" + featureState) + "&";
2134
- url_ = url_.replace(/[?&]$/, "");
2135
- let options_ = {
2136
- observe: "response",
2137
- responseType: "blob",
2138
- headers: new HttpHeaders({
2139
- "Accept": "text/plain"
2140
- })
2141
- };
2142
- return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
2143
- return this.processToggleFeatureForTenant(response_);
2144
- })).pipe(catchError((response_) => {
2145
- if (response_ instanceof HttpResponseBase) {
2146
- try {
2147
- return this.processToggleFeatureForTenant(response_);
2148
- }
2149
- catch (e) {
2150
- return throwError(e);
2151
- }
2152
- }
2153
- else
2154
- return throwError(response_);
2155
- }));
2156
- }
2157
- processToggleFeatureForTenant(response) {
2158
- const status = response.status;
2159
- const responseBlob = response instanceof HttpResponse ? response.body :
2160
- response.error instanceof Blob ? response.error : undefined;
2161
- let _headers = {};
2162
- if (response.headers) {
2163
- for (let key of response.headers.keys()) {
2164
- _headers[key] = response.headers.get(key);
2165
- }
2166
- }
2167
- if (status === 200) {
3236
+ else if (status === 500) {
2168
3237
  return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
2169
- let result200 = null;
2170
- let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
2171
- result200 = ObjectHttpResponseData$2.fromJS(resultData200);
2172
- return of(result200);
3238
+ let result500 = null;
3239
+ let resultData500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
3240
+ result500 = ProblemDetailsHttpResponseData$1.fromJS(resultData500);
3241
+ return throwException$2("Server Error", status, _responseText, _headers, result500);
2173
3242
  }));
2174
3243
  }
2175
3244
  else if (status !== 200 && status !== 204) {
@@ -6940,63 +8009,6 @@ class TenantServiceProxy {
6940
8009
  }
6941
8010
  return of(null);
6942
8011
  }
6943
- /**
6944
- * @param body (optional)
6945
- * @return Success
6946
- */
6947
- createTenant(body) {
6948
- let url_ = this.baseUrl + "/api/services/tenant/create";
6949
- url_ = url_.replace(/[?&]$/, "");
6950
- const content_ = JSON.stringify(body);
6951
- let options_ = {
6952
- body: content_,
6953
- observe: "response",
6954
- responseType: "blob",
6955
- headers: new HttpHeaders({
6956
- "Content-Type": "application/json",
6957
- "Accept": "text/plain"
6958
- })
6959
- };
6960
- return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
6961
- return this.processCreateTenant(response_);
6962
- })).pipe(catchError((response_) => {
6963
- if (response_ instanceof HttpResponseBase) {
6964
- try {
6965
- return this.processCreateTenant(response_);
6966
- }
6967
- catch (e) {
6968
- return throwError(e);
6969
- }
6970
- }
6971
- else
6972
- return throwError(response_);
6973
- }));
6974
- }
6975
- processCreateTenant(response) {
6976
- const status = response.status;
6977
- const responseBlob = response instanceof HttpResponse ? response.body :
6978
- response.error instanceof Blob ? response.error : undefined;
6979
- let _headers = {};
6980
- if (response.headers) {
6981
- for (let key of response.headers.keys()) {
6982
- _headers[key] = response.headers.get(key);
6983
- }
6984
- }
6985
- if (status === 200) {
6986
- return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
6987
- let result200 = null;
6988
- let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
6989
- result200 = ManagedTenantDtoHttpResponseData.fromJS(resultData200);
6990
- return of(result200);
6991
- }));
6992
- }
6993
- else if (status !== 200 && status !== 204) {
6994
- return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
6995
- return throwException$2("An unexpected server error occurred.", status, _responseText, _headers);
6996
- }));
6997
- }
6998
- return of(null);
6999
- }
7000
8012
  /**
7001
8013
  * @param body (optional)
7002
8014
  * @return Success
@@ -7054,62 +8066,6 @@ class TenantServiceProxy {
7054
8066
  }
7055
8067
  return of(null);
7056
8068
  }
7057
- /**
7058
- * @return Success
7059
- */
7060
- deleteTenant(id) {
7061
- let url_ = this.baseUrl + "/api/services/tenant/delete/{id}";
7062
- if (id === undefined || id === null)
7063
- throw new Error("The parameter 'id' must be defined.");
7064
- url_ = url_.replace("{id}", encodeURIComponent("" + id));
7065
- url_ = url_.replace(/[?&]$/, "");
7066
- let options_ = {
7067
- observe: "response",
7068
- responseType: "blob",
7069
- headers: new HttpHeaders({
7070
- "Accept": "text/plain"
7071
- })
7072
- };
7073
- return this.http.request("delete", url_, options_).pipe(mergeMap((response_) => {
7074
- return this.processDeleteTenant(response_);
7075
- })).pipe(catchError((response_) => {
7076
- if (response_ instanceof HttpResponseBase) {
7077
- try {
7078
- return this.processDeleteTenant(response_);
7079
- }
7080
- catch (e) {
7081
- return throwError(e);
7082
- }
7083
- }
7084
- else
7085
- return throwError(response_);
7086
- }));
7087
- }
7088
- processDeleteTenant(response) {
7089
- const status = response.status;
7090
- const responseBlob = response instanceof HttpResponse ? response.body :
7091
- response.error instanceof Blob ? response.error : undefined;
7092
- let _headers = {};
7093
- if (response.headers) {
7094
- for (let key of response.headers.keys()) {
7095
- _headers[key] = response.headers.get(key);
7096
- }
7097
- }
7098
- if (status === 200) {
7099
- return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
7100
- let result200 = null;
7101
- let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
7102
- result200 = TenantDtoHttpResponseData.fromJS(resultData200);
7103
- return of(result200);
7104
- }));
7105
- }
7106
- else if (status !== 200 && status !== 204) {
7107
- return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
7108
- return throwException$2("An unexpected server error occurred.", status, _responseText, _headers);
7109
- }));
7110
- }
7111
- return of(null);
7112
- }
7113
8069
  /**
7114
8070
  * @return Success
7115
8071
  */
@@ -19522,6 +20478,7 @@ var cloudServiceProxies = /*#__PURE__*/Object.freeze({
19522
20478
  AuthenticateResponseDtoListHttpResponseData: AuthenticateResponseDtoListHttpResponseData$1,
19523
20479
  AuthenticateUserModuleDto: AuthenticateUserModuleDto$2,
19524
20480
  AzureSettings: AzureSettings$1,
20481
+ BackofficeServiceProxy: BackofficeServiceProxy,
19525
20482
  BarrierDto: BarrierDto$1,
19526
20483
  get BarrierState () { return BarrierState$1; },
19527
20484
  BaseAdministrativeNotificationDto: BaseAdministrativeNotificationDto,
@@ -84005,6 +84962,105 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
84005
84962
  type: Inject,
84006
84963
  args: [API_BASE_URL]
84007
84964
  }] }] });
84965
+ class BackofficeUserServiceProxyIdentity {
84966
+ constructor(http, baseUrl) {
84967
+ this.jsonParseReviver = undefined;
84968
+ this.http = http;
84969
+ this.baseUrl = baseUrl ?? "";
84970
+ }
84971
+ /**
84972
+ * @param code (optional)
84973
+ * @param tenantName (optional)
84974
+ * @return Success
84975
+ */
84976
+ backofficeAuthenticate(code, tenantName) {
84977
+ let url_ = this.baseUrl + "/api/services/backofficeuser/authenticate?";
84978
+ if (code === null)
84979
+ throw new Error("The parameter 'code' cannot be null.");
84980
+ else if (code !== undefined)
84981
+ url_ += "code=" + encodeURIComponent("" + code) + "&";
84982
+ if (tenantName === null)
84983
+ throw new Error("The parameter 'tenantName' cannot be null.");
84984
+ else if (tenantName !== undefined)
84985
+ url_ += "tenantName=" + encodeURIComponent("" + tenantName) + "&";
84986
+ url_ = url_.replace(/[?&]$/, "");
84987
+ let options_ = {
84988
+ observe: "response",
84989
+ responseType: "blob",
84990
+ headers: new HttpHeaders({
84991
+ "Accept": "text/plain"
84992
+ })
84993
+ };
84994
+ return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
84995
+ return this.processBackofficeAuthenticate(response_);
84996
+ })).pipe(catchError((response_) => {
84997
+ if (response_ instanceof HttpResponseBase) {
84998
+ try {
84999
+ return this.processBackofficeAuthenticate(response_);
85000
+ }
85001
+ catch (e) {
85002
+ return throwError(e);
85003
+ }
85004
+ }
85005
+ else
85006
+ return throwError(response_);
85007
+ }));
85008
+ }
85009
+ processBackofficeAuthenticate(response) {
85010
+ const status = response.status;
85011
+ const responseBlob = response instanceof HttpResponse ? response.body :
85012
+ response.error instanceof Blob ? response.error : undefined;
85013
+ let _headers = {};
85014
+ if (response.headers) {
85015
+ for (let key of response.headers.keys()) {
85016
+ _headers[key] = response.headers.get(key);
85017
+ }
85018
+ }
85019
+ if (status === 200) {
85020
+ return blobToText(responseBlob).pipe(mergeMap(_responseText => {
85021
+ let result200 = null;
85022
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
85023
+ result200 = AuthenticateResponseDtoHttpResponseData.fromJS(resultData200);
85024
+ return of(result200);
85025
+ }));
85026
+ }
85027
+ else if (status === 202) {
85028
+ return blobToText(responseBlob).pipe(mergeMap(_responseText => {
85029
+ let result202 = null;
85030
+ let resultData202 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
85031
+ result202 = AuthenticateResponseDtoHttpResponseData.fromJS(resultData202);
85032
+ return of(result202);
85033
+ }));
85034
+ }
85035
+ else if (status === 401) {
85036
+ return blobToText(responseBlob).pipe(mergeMap(_responseText => {
85037
+ let result401 = null;
85038
+ let resultData401 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
85039
+ result401 = AuthenticateErrorResponseDtoHttpResponseData.fromJS(resultData401);
85040
+ return throwException("Unauthorized", status, _responseText, _headers, result401);
85041
+ }));
85042
+ }
85043
+ else if (status !== 200 && status !== 204) {
85044
+ return blobToText(responseBlob).pipe(mergeMap(_responseText => {
85045
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
85046
+ }));
85047
+ }
85048
+ return of(null);
85049
+ }
85050
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BackofficeUserServiceProxyIdentity, deps: [{ token: HttpClient }, { token: API_BASE_URL, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
85051
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BackofficeUserServiceProxyIdentity }); }
85052
+ }
85053
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BackofficeUserServiceProxyIdentity, decorators: [{
85054
+ type: Injectable
85055
+ }], ctorParameters: () => [{ type: i1$1.HttpClient, decorators: [{
85056
+ type: Inject,
85057
+ args: [HttpClient]
85058
+ }] }, { type: undefined, decorators: [{
85059
+ type: Optional
85060
+ }, {
85061
+ type: Inject,
85062
+ args: [API_BASE_URL]
85063
+ }] }] });
84008
85064
  class ConfigurationServiceProxyIdentity {
84009
85065
  constructor(http, baseUrl) {
84010
85066
  this.jsonParseReviver = undefined;
@@ -88548,6 +89604,7 @@ var identityServiceProxies = /*#__PURE__*/Object.freeze({
88548
89604
  AuthenticateResponseDtoListHttpResponseData: AuthenticateResponseDtoListHttpResponseData,
88549
89605
  AuthenticateUserModuleDto: AuthenticateUserModuleDto,
88550
89606
  AzureSettings: AzureSettings,
89607
+ BackofficeUserServiceProxyIdentity: BackofficeUserServiceProxyIdentity,
88551
89608
  ConfigurationServiceProxyIdentity: ConfigurationServiceProxyIdentity,
88552
89609
  get DateTimeField () { return DateTimeField; },
88553
89610
  get EnvironmentMode () { return EnvironmentMode; },
@@ -88668,6 +89725,7 @@ class ServiceProxyModule {
88668
89725
  LocalizationServiceProxy,
88669
89726
  CloudManagementServiceProxy,
88670
89727
  RateTestPlanServiceProxy,
89728
+ BackofficeServiceProxy,
88671
89729
  MobileServiceProxyIdentity,
88672
89730
  MobileServiceProxy,
88673
89731
  provideHttpClient(withInterceptorsFromDi()),
@@ -88675,7 +89733,8 @@ class ServiceProxyModule {
88675
89733
  }
88676
89734
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ServiceProxyModule, decorators: [{
88677
89735
  type: NgModule,
88678
- args: [{ declarations: [], imports: [], providers: [
89736
+ args: [{
89737
+ declarations: [], imports: [], providers: [
88679
89738
  AccessProfileServiceProxy,
88680
89739
  FacilityServiceProxy,
88681
89740
  PaymentServiceProxy,
@@ -88725,10 +89784,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
88725
89784
  LocalizationServiceProxy,
88726
89785
  CloudManagementServiceProxy,
88727
89786
  RateTestPlanServiceProxy,
89787
+ BackofficeServiceProxy,
88728
89788
  MobileServiceProxyIdentity,
88729
89789
  MobileServiceProxy,
88730
89790
  provideHttpClient(withInterceptorsFromDi()),
88731
- ] }]
89791
+ ]
89792
+ }]
88732
89793
  }] });
88733
89794
 
88734
89795
  class SharedModule {
@@ -88891,8 +89952,9 @@ class SetkeepMeLoggedInAction {
88891
89952
  }
88892
89953
  class LogoutAction {
88893
89954
  static { this.type = '[Session] Logout'; }
88894
- constructor(logoutAudit = true) {
89955
+ constructor(logoutAudit = true, logoutBackofficeAudit = false) {
88895
89956
  this.logoutAudit = logoutAudit;
89957
+ this.logoutBackofficeAudit = logoutBackofficeAudit;
88896
89958
  }
88897
89959
  }
88898
89960
  class MobileLogoutAction {
@@ -88907,7 +89969,12 @@ class LogoutMobileAction {
88907
89969
  }
88908
89970
  }
88909
89971
  class AuditLogoutAction {
88910
- static { this.type = '[Session] Audit Logout'; }
89972
+ static { this.type = '[Session] AuditLogout'; }
89973
+ constructor() {
89974
+ }
89975
+ }
89976
+ class AuditBackofficeAction {
89977
+ static { this.type = '[Session] AuditBackoffice'; }
88911
89978
  constructor() {
88912
89979
  }
88913
89980
  }
@@ -88983,6 +90050,10 @@ class LoadAppConfigurationAction {
88983
90050
  static { this.type = '[Session] App Configuration Load'; }
88984
90051
  constructor() { }
88985
90052
  }
90053
+ class LoadBackofficeAppConfigurationAction {
90054
+ static { this.type = '[Session] Backoffice App Configuration Load'; }
90055
+ constructor() { }
90056
+ }
88986
90057
  class LoadAppConfigurationMobileAction {
88987
90058
  static { this.type = '[Session] App Configuration Mobile Load'; }
88988
90059
  constructor() { }
@@ -90187,12 +91258,13 @@ const defaultSessionState = {
90187
91258
  };
90188
91259
  let SessionState = class SessionState {
90189
91260
  static { SessionState_1 = this; }
90190
- constructor(sessionStorageService, localStorageService, appConfigService, authService, configurationServiceProxy, router, httpCancelService, translateService, msalService, usersServiceProxy, openIdAuthService, messageBarService, mobileServiceProxy, mobileServiceProxyIdentity) {
91261
+ constructor(sessionStorageService, localStorageService, appConfigService, authService, configurationServiceProxy, backofficeServiceProxy, router, httpCancelService, translateService, msalService, usersServiceProxy, openIdAuthService, messageBarService, mobileServiceProxy, mobileServiceProxyIdentity) {
90191
91262
  this.sessionStorageService = sessionStorageService;
90192
91263
  this.localStorageService = localStorageService;
90193
91264
  this.appConfigService = appConfigService;
90194
91265
  this.authService = authService;
90195
91266
  this.configurationServiceProxy = configurationServiceProxy;
91267
+ this.backofficeServiceProxy = backofficeServiceProxy;
90196
91268
  this.router = router;
90197
91269
  this.httpCancelService = httpCancelService;
90198
91270
  this.translateService = translateService;
@@ -90327,6 +91399,15 @@ let SessionState = class SessionState {
90327
91399
  }
90328
91400
  return this.usersServiceProxy.auditLogout().pipe(tap$1(() => { }));
90329
91401
  }
91402
+ onAuditBackofficeAction(ctx, action) {
91403
+ const sparkSessions = this.getSparkSessions();
91404
+ const tenantName = sessionStorage.getItem(TENANT_KEY);
91405
+ const tenantInfo = ctx.getState().sparkSessions[tenantName].tenant;
91406
+ if (this.isTenantUndefined(tenantInfo, sparkSessions[tenantName])) {
91407
+ return of(null); // Handle the case where tenant or sparkSessions are undefined
91408
+ }
91409
+ return this.backofficeServiceProxy.backofficeAuditLogout().pipe(tap$1(() => { }));
91410
+ }
90330
91411
  AuditLogoutMobileAction(ctx, action) {
90331
91412
  const sparkSessions = this.getSparkSessions();
90332
91413
  const tenantName = sessionStorage.getItem(TENANT_KEY);
@@ -90375,7 +91456,7 @@ let SessionState = class SessionState {
90375
91456
  }));
90376
91457
  }));
90377
91458
  }
90378
- onLogout(ctx, { logoutAudit }) {
91459
+ onLogout(ctx, { logoutAudit, logoutBackofficeAudit }) {
90379
91460
  const appType = this.appConfigService.getConfig().appType;
90380
91461
  this.httpCancelService.cancelPendingRequests();
90381
91462
  if (appType === AppType.Mobile) {
@@ -90388,6 +91469,9 @@ let SessionState = class SessionState {
90388
91469
  if (logoutAudit) {
90389
91470
  ctx.dispatch(new AuditLogoutAction());
90390
91471
  }
91472
+ if (logoutBackofficeAudit) {
91473
+ ctx.dispatch(new AuditBackofficeAction());
91474
+ }
90391
91475
  return this.router.events.pipe(// observe all route events
90392
91476
  filter$1(e => e instanceof NavigationEnd && e.url.includes('/account/login')), // filter only NavigationEnd events
90393
91477
  distinctUntilChanged$1(), first$1(), switchMap(() => {
@@ -90485,6 +91569,16 @@ let SessionState = class SessionState {
90485
91569
  this.sessionStorageService.setAuthSession(sparkSession?.authToken, sparkSession?.refresh);
90486
91570
  }
90487
91571
  }
91572
+ onBackofficeAppConfigurationAction(ctx) {
91573
+ const appConfiguration$ = this.backofficeServiceProxy.getBackofficeAppConfiguration();
91574
+ return appConfiguration$.pipe(tap$1(appConfiguration => {
91575
+ const sparkSessions = this.getSparkSessions();
91576
+ if (this.sessionStorageService.tenant) {
91577
+ sparkSessions[this.sessionStorageService.tenant].appConfiguration = appConfiguration.data;
91578
+ this.setSparkSessions(ctx, sparkSessions);
91579
+ }
91580
+ }));
91581
+ }
90488
91582
  onAppConfigurationAction(ctx) {
90489
91583
  const appConfiguration$ = this.configurationServiceProxy.getAppConfiguration();
90490
91584
  return appConfiguration$.pipe(tap$1(appConfiguration => {
@@ -90505,7 +91599,7 @@ let SessionState = class SessionState {
90505
91599
  }
90506
91600
  }));
90507
91601
  }
90508
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SessionState, deps: [{ token: SessionStorageService }, { token: LocalStorageService }, { token: AppConfigService }, { token: AuthService }, { token: ConfigurationServiceProxy$1 }, { token: i1$8.Router }, { token: HttpCancelService }, { token: i1$5.TranslateService }, { token: i9.MsalService }, { token: UsersServiceProxy$1 }, { token: OpenIdAuthService }, { token: MessageBarService }, { token: MobileServiceProxy }, { token: MobileServiceProxyIdentity }], target: i0.ɵɵFactoryTarget.Injectable }); }
91602
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SessionState, deps: [{ token: SessionStorageService }, { token: LocalStorageService }, { token: AppConfigService }, { token: AuthService }, { token: ConfigurationServiceProxy$1 }, { token: BackofficeServiceProxy }, { token: i1$8.Router }, { token: HttpCancelService }, { token: i1$5.TranslateService }, { token: i10.MsalService }, { token: UsersServiceProxy$1 }, { token: OpenIdAuthService }, { token: MessageBarService }, { token: MobileServiceProxy }, { token: MobileServiceProxyIdentity }], target: i0.ɵɵFactoryTarget.Injectable }); }
90509
91603
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SessionState }); }
90510
91604
  };
90511
91605
  __decorate([
@@ -90526,6 +91620,9 @@ __decorate([
90526
91620
  __decorate([
90527
91621
  Action(AuditLogoutAction)
90528
91622
  ], SessionState.prototype, "AuditLogoutAction", null);
91623
+ __decorate([
91624
+ Action(AuditBackofficeAction)
91625
+ ], SessionState.prototype, "onAuditBackofficeAction", null);
90529
91626
  __decorate([
90530
91627
  Action(AuditLogoutMobileAction)
90531
91628
  ], SessionState.prototype, "AuditLogoutMobileAction", null);
@@ -90556,6 +91653,9 @@ __decorate([
90556
91653
  __decorate([
90557
91654
  Action(InitSessionFromLocalStorageAction)
90558
91655
  ], SessionState.prototype, "onLoadSessionFromLocalStorageAction", null);
91656
+ __decorate([
91657
+ Action(LoadBackofficeAppConfigurationAction)
91658
+ ], SessionState.prototype, "onBackofficeAppConfigurationAction", null);
90559
91659
  __decorate([
90560
91660
  Action(LoadAppConfigurationAction)
90561
91661
  ], SessionState.prototype, "onAppConfigurationAction", null);
@@ -90606,7 +91706,7 @@ SessionState = SessionState_1 = __decorate([
90606
91706
  ], SessionState);
90607
91707
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SessionState, decorators: [{
90608
91708
  type: Injectable
90609
- }], ctorParameters: () => [{ type: SessionStorageService }, { type: LocalStorageService }, { type: AppConfigService }, { type: AuthService }, { type: ConfigurationServiceProxy$1 }, { type: i1$8.Router }, { type: HttpCancelService }, { type: i1$5.TranslateService }, { type: i9.MsalService }, { type: UsersServiceProxy$1 }, { type: OpenIdAuthService }, { type: MessageBarService }, { type: MobileServiceProxy }, { type: MobileServiceProxyIdentity }], propDecorators: { onLogin: [], onSetTenantUserAction: [], onUpdateAuthTokenAction: [], setSessionState: [], SetUserNameAction: [], AuditLogoutAction: [], AuditLogoutMobileAction: [], onMobileLogoutAction: [], onLogout: [], onTenantLoadAction: [], onTenantClearAction: [], onHealthActionAction: [], onUpdateUserSettings: [], onUpdateTenantInfoProps: [], onAuthenticate2FAforUser: [], onLoadSessionFromLocalStorageAction: [], onAppConfigurationAction: [], onLoadAppConfigurationMobileAction: [] } });
91709
+ }], ctorParameters: () => [{ type: SessionStorageService }, { type: LocalStorageService }, { type: AppConfigService }, { type: AuthService }, { type: ConfigurationServiceProxy$1 }, { type: BackofficeServiceProxy }, { type: i1$8.Router }, { type: HttpCancelService }, { type: i1$5.TranslateService }, { type: i10.MsalService }, { type: UsersServiceProxy$1 }, { type: OpenIdAuthService }, { type: MessageBarService }, { type: MobileServiceProxy }, { type: MobileServiceProxyIdentity }], propDecorators: { onLogin: [], onSetTenantUserAction: [], onUpdateAuthTokenAction: [], setSessionState: [], SetUserNameAction: [], AuditLogoutAction: [], onAuditBackofficeAction: [], AuditLogoutMobileAction: [], onMobileLogoutAction: [], onLogout: [], onTenantLoadAction: [], onTenantClearAction: [], onHealthActionAction: [], onUpdateUserSettings: [], onUpdateTenantInfoProps: [], onAuthenticate2FAforUser: [], onLoadSessionFromLocalStorageAction: [], onBackofficeAppConfigurationAction: [], onAppConfigurationAction: [], onLoadAppConfigurationMobileAction: [] } });
90610
91710
 
90611
91711
  let UpdateUserSettingsAction = class UpdateUserSettingsAction {
90612
91712
  static { this.type = '[user-settings] Update-user-settings'; }
@@ -90677,13 +91777,19 @@ const DEFAULT_DATE_FORMAT = {
90677
91777
  const DEFAULT_MAJOR_ALERT_SECONDS = 60;
90678
91778
  const DEFAULT_MINOR_ALERT_SECONDS = 10;
90679
91779
  class TenantService {
90680
- constructor(appConfig, configurationServiceProxy, store, mobileServiceProxyIdentity) {
91780
+ constructor(appConfig, configurationServiceProxy, store, backofficeServiceProxy, mobileServiceProxyIdentity) {
90681
91781
  this.appConfig = appConfig;
90682
91782
  this.configurationServiceProxy = configurationServiceProxy;
90683
91783
  this.store = store;
91784
+ this.backofficeServiceProxy = backofficeServiceProxy;
90684
91785
  this.mobileServiceProxyIdentity = mobileServiceProxyIdentity;
90685
91786
  this.getTenantLogo = (logo) => new GetLogoAction(logo);
90686
91787
  }
91788
+ initBackOffice() {
91789
+ const userSettings = this.store.selectSnapshot(SessionState.mappedUserSettings);
91790
+ const dateFormats = userSettings.get(SettingsCategory$1.DateFormats);
91791
+ this.setDateFormatsCategory(dateFormats);
91792
+ }
90687
91793
  init(isMobile = false) {
90688
91794
  this.initTicketSpecifications();
90689
91795
  const userSettings = this.store.selectSnapshot(SessionState.mappedUserSettings);
@@ -90697,7 +91803,6 @@ class TenantService {
90697
91803
  this.setTicketSpecifications();
90698
91804
  this.setAlertsSettings();
90699
91805
  }
90700
- // this.initSoundsAlerts();
90701
91806
  }
90702
91807
  setAlertsSettings() {
90703
91808
  this.configurationServiceProxy
@@ -90807,7 +91912,7 @@ class TenantService {
90807
91912
  const splitedDateFormat = dateFormat.split(/[.,\/ -]/).filter(e => e != '');
90808
91913
  return splitedDateFormat[splitedDateFormat.length - 1].toLocaleLowerCase() === 'a';
90809
91914
  }
90810
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TenantService, deps: [{ token: AppConfigService }, { token: ConfigurationServiceProxy }, { token: i1$2.Store }, { token: MobileServiceProxyIdentity }], target: i0.ɵɵFactoryTarget.Injectable }); }
91915
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TenantService, deps: [{ token: AppConfigService }, { token: ConfigurationServiceProxy }, { token: i1$2.Store }, { token: BackofficeServiceProxy }, { token: MobileServiceProxyIdentity }], target: i0.ɵɵFactoryTarget.Injectable }); }
90811
91916
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TenantService }); }
90812
91917
  }
90813
91918
  __decorate([
@@ -90815,7 +91920,7 @@ __decorate([
90815
91920
  ], TenantService.prototype, "getTenantLogo", void 0);
90816
91921
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TenantService, decorators: [{
90817
91922
  type: Injectable
90818
- }], ctorParameters: () => [{ type: AppConfigService }, { type: ConfigurationServiceProxy }, { type: i1$2.Store }, { type: MobileServiceProxyIdentity }], propDecorators: { getTenantLogo: [] } });
91923
+ }], ctorParameters: () => [{ type: AppConfigService }, { type: ConfigurationServiceProxy }, { type: i1$2.Store }, { type: BackofficeServiceProxy }, { type: MobileServiceProxyIdentity }], propDecorators: { getTenantLogo: [] } });
90819
91924
 
90820
91925
  let UserSettingsState = class UserSettingsState {
90821
91926
  constructor(translateService, store, usersServiceProxy, messageBarService, tenantService, mobileServiceProxy) {
@@ -91968,6 +93073,15 @@ class ClearSmartparksBasicAction {
91968
93073
  constructor() {
91969
93074
  }
91970
93075
  }
93076
+ let LoadBackofficeSmartparksTableAction = class LoadBackofficeSmartparksTableAction {
93077
+ static { this.type = '[smart-park] LoadBackofficeSmartparksTable'; }
93078
+ constructor(filter) {
93079
+ this.filter = filter;
93080
+ }
93081
+ };
93082
+ LoadBackofficeSmartparksTableAction = __decorate([
93083
+ TrackAction()
93084
+ ], LoadBackofficeSmartparksTableAction);
91971
93085
  let LoadSmartparksTableAction = class LoadSmartparksTableAction {
91972
93086
  static { this.type = '[smart-park] LoadTable'; }
91973
93087
  constructor(filter) {
@@ -92011,10 +93125,20 @@ class SetSmartParkVersionsAction {
92011
93125
  this.versions = versions;
92012
93126
  }
92013
93127
  }
93128
+ class SetBackofficeSmartParkVersionsAction {
93129
+ static { this.type = '[smart-park] SetBackofficeSmartParkVersionsAction'; }
93130
+ constructor(versions) {
93131
+ this.versions = versions;
93132
+ }
93133
+ }
92014
93134
  class LoadSpAndSparkVersionsAction {
92015
93135
  static { this.type = '[smart-park] LoadSpAndSparkVersions'; }
92016
93136
  constructor() { }
92017
93137
  }
93138
+ class LoadBackofficeSpAndSparkVersionsAction {
93139
+ static { this.type = '[smart-park] LoadBackofficeSpAndSparkVersionsAction'; }
93140
+ constructor() { }
93141
+ }
92018
93142
  class ClearSpAndSparkVersionsAction {
92019
93143
  static { this.type = '[smart-park] ClearSpAndSparkVersionsAction'; }
92020
93144
  constructor() { }
@@ -92025,6 +93149,12 @@ class LoadVarsAction {
92025
93149
  this.searchParamsDto = searchParamsDto;
92026
93150
  }
92027
93151
  }
93152
+ class LoadBackofficeVarsAction {
93153
+ static { this.type = '[smart-park] LoadBackofficeVarsAction'; }
93154
+ constructor(searchParamsDto) {
93155
+ this.searchParamsDto = searchParamsDto;
93156
+ }
93157
+ }
92028
93158
  class SyncUsersAndRolesBySmartparkIdAction {
92029
93159
  static { this.type = '[smart-park] SyncUsersAndRolesBySmartparkId'; }
92030
93160
  constructor(smartpark) {
@@ -99340,7 +100470,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
99340
100470
  }], ctorParameters: () => [{ type: i0.Injector }] });
99341
100471
 
99342
100472
  let SmartparkState = class SmartparkState {
99343
- constructor(store, revenueService, cloudManagementServiceProxy, smartparkServiceProxy, facilityServiceProxy, deviceServiceProxy, messageBarService, routeService, translateService, exportFileService, mobileServiceProxyIdentity) {
100473
+ constructor(store, revenueService, cloudManagementServiceProxy, smartparkServiceProxy, facilityServiceProxy, deviceServiceProxy, messageBarService, routeService, translateService, exportFileService, mobileServiceProxyIdentity, backofficeServiceProxy) {
99344
100474
  this.store = store;
99345
100475
  this.revenueService = revenueService;
99346
100476
  this.cloudManagementServiceProxy = cloudManagementServiceProxy;
@@ -99352,6 +100482,7 @@ let SmartparkState = class SmartparkState {
99352
100482
  this.translateService = translateService;
99353
100483
  this.exportFileService = exportFileService;
99354
100484
  this.mobileServiceProxyIdentity = mobileServiceProxyIdentity;
100485
+ this.backofficeServiceProxy = backofficeServiceProxy;
99355
100486
  }
99356
100487
  static parks(state) {
99357
100488
  return state.parks;
@@ -99447,6 +100578,16 @@ let SmartparkState = class SmartparkState {
99447
100578
  });
99448
100579
  }));
99449
100580
  }
100581
+ onLoadBackofficeSmartparksTableAction(ctx, { filter }) {
100582
+ const smartparks$ = this.backofficeServiceProxy.getBackofficeSmartparks(filter);
100583
+ return smartparks$.pipe(tap(smartparks => {
100584
+ ctx.patchState({
100585
+ latestSmartparks: smartparks.data.entities,
100586
+ countSmartParks: smartparks.data.counter,
100587
+ countParkingLots: smartparks.data.subCounter
100588
+ });
100589
+ }));
100590
+ }
99450
100591
  onSetSmartParkTableAction(ctx, { smartparks }) {
99451
100592
  ctx.patchState({
99452
100593
  smartparks
@@ -99576,6 +100717,14 @@ let SmartparkState = class SmartparkState {
99576
100717
  }));
99577
100718
  }
99578
100719
  }
100720
+ onLoadBackofficeSpAndSparkVersionsAction(ctx) {
100721
+ if (ctx.getState().SpAndSparkVersions == null) {
100722
+ const versions$ = this.backofficeServiceProxy.getBackofficeSpAndSparkVersions();
100723
+ return versions$.pipe(tap(versions => {
100724
+ ctx.patchState({ SpAndSparkVersions: versions.data });
100725
+ }));
100726
+ }
100727
+ }
99579
100728
  onClearSpAndSparkVersionsAction(ctx) {
99580
100729
  ctx.patchState({
99581
100730
  SpAndSparkVersions: null
@@ -99589,8 +100738,16 @@ let SmartparkState = class SmartparkState {
99589
100738
  });
99590
100739
  }));
99591
100740
  }
100741
+ onLoadBackofficeVarsAction(ctx, action) {
100742
+ const vars$ = this.backofficeServiceProxy.getBackofficeVars(action.searchParamsDto.maxResults, action.searchParamsDto.searchTerm, action.searchParamsDto.orderBy.column, action.searchParamsDto.orderBy.orderDirection);
100743
+ return vars$.pipe(tap(vars => {
100744
+ ctx.patchState({
100745
+ vars: vars.data
100746
+ });
100747
+ }));
100748
+ }
99592
100749
  onSyncUsersAndRolesBySmartparkIdAction(ctx, action) {
99593
- return this.cloudManagementServiceProxy.syncUsersAndRolesBySmartparkId(action.smartpark.tenantID, action.smartpark.id).pipe(tap({
100750
+ return this.backofficeServiceProxy.syncBackofficeUsersAndRolesBySmartparkId(action.smartpark.tenantID, action.smartpark.id).pipe(tap({
99594
100751
  next: _ => this.messageBarService.success(Localization.successful_sync_users_and_roles_for_smartpark, { messageParams: { smartparkName: action.smartpark.name } }),
99595
100752
  error: e => this.messageBarService.error(parseApiErrorMessage(e), { position: MessageBarPosition.Float }),
99596
100753
  }));
@@ -99641,7 +100798,7 @@ let SmartparkState = class SmartparkState {
99641
100798
  });
99642
100799
  return countParkingLots;
99643
100800
  }
99644
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SmartparkState, deps: [{ token: i1$2.Store }, { token: RevenueService }, { token: CloudManagementServiceProxy }, { token: SmartparkServiceProxy }, { token: FacilityServiceProxy }, { token: DeviceServiceProxy }, { token: MessageBarService }, { token: RouteService }, { token: i1$5.TranslateService }, { token: ExportFileService }, { token: MobileServiceProxyIdentity }], target: i0.ɵɵFactoryTarget.Injectable }); }
100801
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SmartparkState, deps: [{ token: i1$2.Store }, { token: RevenueService }, { token: CloudManagementServiceProxy }, { token: SmartparkServiceProxy }, { token: FacilityServiceProxy }, { token: DeviceServiceProxy }, { token: MessageBarService }, { token: RouteService }, { token: i1$5.TranslateService }, { token: ExportFileService }, { token: MobileServiceProxyIdentity }, { token: BackofficeServiceProxy }], target: i0.ɵɵFactoryTarget.Injectable }); }
99645
100802
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SmartparkState }); }
99646
100803
  };
99647
100804
  __decorate([
@@ -99659,6 +100816,9 @@ __decorate([
99659
100816
  __decorate([
99660
100817
  Action(LoadSmartparksTableAction, { cancelUncompleted: true })
99661
100818
  ], SmartparkState.prototype, "onLoadSmartparksTableAction", null);
100819
+ __decorate([
100820
+ Action(LoadBackofficeSmartparksTableAction, { cancelUncompleted: true })
100821
+ ], SmartparkState.prototype, "onLoadBackofficeSmartparksTableAction", null);
99662
100822
  __decorate([
99663
100823
  Action(SetSmartParkTableAction)
99664
100824
  ], SmartparkState.prototype, "onSetSmartParkTableAction", null);
@@ -99695,12 +100855,18 @@ __decorate([
99695
100855
  __decorate([
99696
100856
  Action(LoadSpAndSparkVersionsAction)
99697
100857
  ], SmartparkState.prototype, "onLoadSpAndSparkVersionsAction", null);
100858
+ __decorate([
100859
+ Action(LoadBackofficeSpAndSparkVersionsAction)
100860
+ ], SmartparkState.prototype, "onLoadBackofficeSpAndSparkVersionsAction", null);
99698
100861
  __decorate([
99699
100862
  Action(ClearSpAndSparkVersionsAction)
99700
100863
  ], SmartparkState.prototype, "onClearSpAndSparkVersionsAction", null);
99701
100864
  __decorate([
99702
100865
  Action(LoadVarsAction, { cancelUncompleted: true })
99703
100866
  ], SmartparkState.prototype, "onLoadVarsAction", null);
100867
+ __decorate([
100868
+ Action(LoadBackofficeVarsAction, { cancelUncompleted: true })
100869
+ ], SmartparkState.prototype, "onLoadBackofficeVarsAction", null);
99704
100870
  __decorate([
99705
100871
  Action(SyncUsersAndRolesBySmartparkIdAction)
99706
100872
  ], SmartparkState.prototype, "onSyncUsersAndRolesBySmartparkIdAction", null);
@@ -99782,7 +100948,7 @@ SmartparkState = __decorate([
99782
100948
  ], SmartparkState);
99783
100949
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SmartparkState, decorators: [{
99784
100950
  type: Injectable
99785
- }], ctorParameters: () => [{ type: i1$2.Store }, { type: RevenueService }, { type: CloudManagementServiceProxy }, { type: SmartparkServiceProxy }, { type: FacilityServiceProxy }, { type: DeviceServiceProxy }, { type: MessageBarService }, { type: RouteService }, { type: i1$5.TranslateService }, { type: ExportFileService }, { type: MobileServiceProxyIdentity }], propDecorators: { onLoadSmartparksAction: [], onLoadSmartparksBasicAction: [], onLoadMobileSmartparksBasicAction: [], onClearSmartparksBasicAction: [], onLoadSmartparksTableAction: [], onSetSmartParkTableAction: [], onSetSmartParksAction: [], onSelectSmartParkAction: [], onLoadParksAction: [], onLoadParkDevices: [], onSelectParkAction: [], onClearSelectedParkAction: [], onClearSelectedsmartparkAction: [], onSmartParkDeviceStatusChangedAction: [], onDisconnectSmartparkAction: [], onSetSmartParkVersionsAction: [], onLoadSpAndSparkVersionsAction: [], onClearSpAndSparkVersionsAction: [], onLoadVarsAction: [], onSyncUsersAndRolesBySmartparkIdAction: [], onExportSmartparksAction: [], onExportPdfSmartparksTableAction: [] } });
100951
+ }], ctorParameters: () => [{ type: i1$2.Store }, { type: RevenueService }, { type: CloudManagementServiceProxy }, { type: SmartparkServiceProxy }, { type: FacilityServiceProxy }, { type: DeviceServiceProxy }, { type: MessageBarService }, { type: RouteService }, { type: i1$5.TranslateService }, { type: ExportFileService }, { type: MobileServiceProxyIdentity }, { type: BackofficeServiceProxy }], propDecorators: { onLoadSmartparksAction: [], onLoadSmartparksBasicAction: [], onLoadMobileSmartparksBasicAction: [], onClearSmartparksBasicAction: [], onLoadSmartparksTableAction: [], onLoadBackofficeSmartparksTableAction: [], onSetSmartParkTableAction: [], onSetSmartParksAction: [], onSelectSmartParkAction: [], onLoadParksAction: [], onLoadParkDevices: [], onSelectParkAction: [], onClearSelectedParkAction: [], onClearSelectedsmartparkAction: [], onSmartParkDeviceStatusChangedAction: [], onDisconnectSmartparkAction: [], onSetSmartParkVersionsAction: [], onLoadSpAndSparkVersionsAction: [], onLoadBackofficeSpAndSparkVersionsAction: [], onClearSpAndSparkVersionsAction: [], onLoadVarsAction: [], onLoadBackofficeVarsAction: [], onSyncUsersAndRolesBySmartparkIdAction: [], onExportSmartparksAction: [], onExportPdfSmartparksTableAction: [] } });
99786
100952
 
99787
100953
  class LoginService {
99788
100954
  constructor(store, sessionStorageService, router, routeService) {
@@ -99887,9 +101053,17 @@ class OpenIdAutheticateAction {
99887
101053
  this.tenantInfo = tenantInfo;
99888
101054
  }
99889
101055
  }
101056
+ class BackofficeAutheticateAction {
101057
+ static { this.type = '[login] BackofficeAutheticateAction'; }
101058
+ constructor(token, tenantInfo) {
101059
+ this.token = token;
101060
+ this.tenantInfo = tenantInfo;
101061
+ }
101062
+ }
99890
101063
 
99891
101064
  let LoginState = class LoginState {
99892
- constructor(usersServiceProxyCloud, usersServiceProxyEdge, openIdAuthService, usersServiceProxyIdentity, authService, sessionStorageService, loginService, translateService, msalService, messageBarService, appConfig, routeService, store, mobileServiceProxyIdentity) {
101065
+ constructor(backofficeUserServiceProxyIdentity, usersServiceProxyCloud, usersServiceProxyEdge, openIdAuthService, usersServiceProxyIdentity, authService, sessionStorageService, loginService, translateService, msalService, messageBarService, appConfig, routeService, store, mobileServiceProxyIdentity) {
101066
+ this.backofficeUserServiceProxyIdentity = backofficeUserServiceProxyIdentity;
99893
101067
  this.usersServiceProxyCloud = usersServiceProxyCloud;
99894
101068
  this.usersServiceProxyEdge = usersServiceProxyEdge;
99895
101069
  this.openIdAuthService = openIdAuthService;
@@ -100105,6 +101279,33 @@ let LoginState = class LoginState {
100105
101279
  }
100106
101280
  localStorage.clear();
100107
101281
  }
101282
+ onBackofficeAutheticateAction(ctx, { token, tenantInfo }) {
101283
+ let authenticateOidc$;
101284
+ authenticateOidc$ = this.backofficeUserServiceProxyIdentity.backofficeAuthenticate(token, tenantInfo.tenantName);
101285
+ return authenticateOidc$.pipe(tap$1({
101286
+ next: authResponse => {
101287
+ if (authResponse.data.message === Localization.sso_pending_approval) {
101288
+ const message = this.translateService.instant(Localization.sso_pending_approval);
101289
+ this.messageBarService.info(message, { position: MessageBarPosition.Static });
101290
+ return;
101291
+ }
101292
+ const sparkSession = this.authService.processAuthenticate(authResponse.data);
101293
+ ctx.dispatch(new SetTenantUserAction(sparkSession));
101294
+ if (this.userStatusIsAwaitingAccess(authResponse)) {
101295
+ this.clearSingleSingOnCache(SingleSignOnProvider$1.Microsoft);
101296
+ const message = this.translateService.instant(Localization.sso_pending_approval);
101297
+ this.messageBarService.warn(message, { position: MessageBarPosition.Static });
101298
+ }
101299
+ else {
101300
+ // After authentication get app configuration
101301
+ this.loginToBackoffice();
101302
+ }
101303
+ },
101304
+ error: e => {
101305
+ this.singleSingOnErrorHandling(e);
101306
+ }
101307
+ }));
101308
+ }
100108
101309
  onOpenIdAutheticateAction(ctx, { token, singleSignOnProvider, tenantInfo }) {
100109
101310
  let authenticateOidc$;
100110
101311
  authenticateOidc$ = this.usersServiceProxyIdentity.openIdAuthenticate(token, tenantInfo.tenantName);
@@ -100152,7 +101353,13 @@ let LoginState = class LoginState {
100152
101353
  this.sessionStorageService.updateLoggedTenant();
100153
101354
  this.loginService.loginToSpark();
100154
101355
  }
100155
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: LoginState, deps: [{ token: UsersServiceProxy$1 }, { token: UsersServiceProxy }, { token: OpenIdAuthService }, { token: UsersServiceProxyIdentity }, { token: AuthService }, { token: SessionStorageService }, { token: LoginService }, { token: i1$5.TranslateService }, { token: i9.MsalService }, { token: MessageBarService }, { token: AppConfigService }, { token: RouteService }, { token: i1$2.Store }, { token: MobileServiceProxyIdentity }], target: i0.ɵɵFactoryTarget.Injectable }); }
101356
+ loginToBackoffice() {
101357
+ this.store.dispatch(new LoadBackofficeAppConfigurationAction());
101358
+ this.store.dispatch(new HealthAction());
101359
+ this.sessionStorageService.updateLoggedTenant();
101360
+ this.loginService.loginToSpark();
101361
+ }
101362
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: LoginState, deps: [{ token: BackofficeUserServiceProxyIdentity }, { token: UsersServiceProxy$1 }, { token: UsersServiceProxy }, { token: OpenIdAuthService }, { token: UsersServiceProxyIdentity }, { token: AuthService }, { token: SessionStorageService }, { token: LoginService }, { token: i1$5.TranslateService }, { token: i10.MsalService }, { token: MessageBarService }, { token: AppConfigService }, { token: RouteService }, { token: i1$2.Store }, { token: MobileServiceProxyIdentity }], target: i0.ɵɵFactoryTarget.Injectable }); }
100156
101363
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: LoginState }); }
100157
101364
  };
100158
101365
  __decorate([
@@ -100185,6 +101392,9 @@ __decorate([
100185
101392
  __decorate([
100186
101393
  Action(SetTFASetupAction)
100187
101394
  ], LoginState.prototype, "onSetTFASetupAction", null);
101395
+ __decorate([
101396
+ Action(BackofficeAutheticateAction)
101397
+ ], LoginState.prototype, "onBackofficeAutheticateAction", null);
100188
101398
  __decorate([
100189
101399
  Action(OpenIdAutheticateAction)
100190
101400
  ], LoginState.prototype, "onOpenIdAutheticateAction", null);
@@ -100221,7 +101431,7 @@ LoginState = __decorate([
100221
101431
  ], LoginState);
100222
101432
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: LoginState, decorators: [{
100223
101433
  type: Injectable
100224
- }], ctorParameters: () => [{ type: UsersServiceProxy$1 }, { type: UsersServiceProxy }, { type: OpenIdAuthService }, { type: UsersServiceProxyIdentity }, { type: AuthService }, { type: SessionStorageService }, { type: LoginService }, { type: i1$5.TranslateService }, { type: i9.MsalService }, { type: MessageBarService }, { type: AppConfigService }, { type: RouteService }, { type: i1$2.Store }, { type: MobileServiceProxyIdentity }], propDecorators: { onAuthenticateMultipleTenantsAction: [], onMobileAuthenticateMultipleTenantsAction: [], onForgotPassword: [], onForgotPasswordTenantless: [], onAccountSetPasswordInitAction: [], onAccountSetPasswordErrorAction: [], onAccountSetPasswordAction: [], onValidateUserTokenAction: [], onVerify2FactorAuthenticationAction: [], onSetTFASetupAction: [], onOpenIdAutheticateAction: [] } });
101434
+ }], ctorParameters: () => [{ type: BackofficeUserServiceProxyIdentity }, { type: UsersServiceProxy$1 }, { type: UsersServiceProxy }, { type: OpenIdAuthService }, { type: UsersServiceProxyIdentity }, { type: AuthService }, { type: SessionStorageService }, { type: LoginService }, { type: i1$5.TranslateService }, { type: i10.MsalService }, { type: MessageBarService }, { type: AppConfigService }, { type: RouteService }, { type: i1$2.Store }, { type: MobileServiceProxyIdentity }], propDecorators: { onAuthenticateMultipleTenantsAction: [], onMobileAuthenticateMultipleTenantsAction: [], onForgotPassword: [], onForgotPasswordTenantless: [], onAccountSetPasswordInitAction: [], onAccountSetPasswordErrorAction: [], onAccountSetPasswordAction: [], onValidateUserTokenAction: [], onVerify2FactorAuthenticationAction: [], onSetTFASetupAction: [], onBackofficeAutheticateAction: [], onOpenIdAutheticateAction: [] } });
100225
101435
 
100226
101436
  class LoginModule {
100227
101437
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: LoginModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
@@ -100376,12 +101586,12 @@ class MSLAuthService {
100376
101586
  },
100377
101587
  });
100378
101588
  }
100379
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MSLAuthService, deps: [{ token: i1$2.Store }, { token: i9.MsalService }], target: i0.ɵɵFactoryTarget.Injectable }); }
101589
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MSLAuthService, deps: [{ token: i1$2.Store }, { token: i10.MsalService }], target: i0.ɵɵFactoryTarget.Injectable }); }
100380
101590
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MSLAuthService }); }
100381
101591
  }
100382
101592
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MSLAuthService, decorators: [{
100383
101593
  type: Injectable
100384
- }], ctorParameters: () => [{ type: i1$2.Store }, { type: i9.MsalService }] });
101594
+ }], ctorParameters: () => [{ type: i1$2.Store }, { type: i10.MsalService }] });
100385
101595
  function loggerCallback(logLevel, message) {
100386
101596
  console.log(message);
100387
101597
  }
@@ -100791,7 +102001,7 @@ class AuthTokenService {
100791
102001
  // Temporary check for 'self-validation?token=' in URL.
100792
102002
  // This can be removed once self validation links are handled by the new project.
100793
102003
  this.isSelfValidationLinkURL = location.href.includes('/self-validation?token=');
100794
- this.logout = () => new LogoutAction(false); // when 401 do not invoke in the logout action the logout Audit
102004
+ this.logout = (logoutAudit, logoutBackofficeAudit) => new LogoutAction(logoutAudit, logoutBackofficeAudit); // when 401 do not invoke in the logout action the logout Audit
100795
102005
  this.servicesRunningStatusChanged = (servicesRunningStatus, guid) => new ServicesRunningStatusChangedAction(servicesRunningStatus, guid);
100796
102006
  }
100797
102007
  handleRequest(req, next) {
@@ -100803,6 +102013,11 @@ class AuthTokenService {
100803
102013
  }
100804
102014
  return request;
100805
102015
  }
102016
+ handleBackOfficeRequest(req, next) {
102017
+ req = this.setRequestHeaders(req);
102018
+ let request = next.handle(req);
102019
+ return request;
102020
+ }
100806
102021
  handleMobileRequest(req, next) {
100807
102022
  req = this.setRequestHeaders(req);
100808
102023
  let request = next.handle(req);
@@ -100812,6 +102027,11 @@ class AuthTokenService {
100812
102027
  }
100813
102028
  return request;
100814
102029
  }
102030
+ handleBackofficeEventStatusError(e, req, next) {
102031
+ let response;
102032
+ response = this.handleBackofficeErrorResponse(e);
102033
+ return response;
102034
+ }
100815
102035
  handleEventStatusError(e, req, next) {
100816
102036
  let response;
100817
102037
  switch (e.status) {
@@ -100914,7 +102134,13 @@ class AuthTokenService {
100914
102134
  }
100915
102135
  handleErrorResponse(e) {
100916
102136
  if (e.status === HttpStatusCode$3.Unauthorized && !AUTHENTICATE_APIS.some(api => e.url.includes(api)) && !EXTERNAL_APIS.some(api => e.url.includes(api))) {
100917
- this.logout();
102137
+ this.logout(false, false);
102138
+ }
102139
+ return throwError(() => e);
102140
+ }
102141
+ handleBackofficeErrorResponse(e) {
102142
+ if (e.status === HttpStatusCode$3.Unauthorized && !AUTHENTICATE_APIS.some(api => e.url.includes(api)) && !EXTERNAL_APIS.some(api => e.url.includes(api))) {
102143
+ this.logout(false, true);
100918
102144
  }
100919
102145
  return throwError(() => e);
100920
102146
  }
@@ -107062,7 +108288,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
107062
108288
  }], ctorParameters: () => [{ type: i1$8.Router }, { type: DetectBrowserService }] });
107063
108289
 
107064
108290
  class SubModuleGuard {
107065
- constructor(router, store, smartparkService, location) {
108291
+ constructor(appConfig, router, store, smartparkService, location) {
108292
+ this.appConfig = appConfig;
107066
108293
  this.router = router;
107067
108294
  this.store = store;
107068
108295
  this.smartparkService = smartparkService;
@@ -107093,10 +108320,17 @@ class SubModuleGuard {
107093
108320
  this.setAppModule(route.data.module);
107094
108321
  this.setSubModule(route.data.subModule);
107095
108322
  if (route.data.getSmartparkBasicAll !== false) {
107096
- this.smartparkService.getSmartparkBasicAll(this.store.selectSnapshot(SidenavState.appModule)).subscribe();
108323
+ const isMobileAppMode = this.appConfig.getConfig().appType === AppType.Mobile;
108324
+ if (isMobileAppMode) {
108325
+ this.store.dispatch(new ClearFacilityDictionaryAction());
108326
+ this.store.dispatch(new LoadMobileSmartparksBasicAction(route.data.module, route.data.subModule));
108327
+ }
108328
+ else {
108329
+ this.smartparkService.getSmartparkBasicAll(route.data.module).subscribe();
108330
+ }
107097
108331
  }
107098
108332
  }
107099
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SubModuleGuard, deps: [{ token: i1$8.Router }, { token: i1$2.Store }, { token: SmartparkService }, { token: i2.Location }], target: i0.ɵɵFactoryTarget.Injectable }); }
108333
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SubModuleGuard, deps: [{ token: AppConfigService }, { token: i1$8.Router }, { token: i1$2.Store }, { token: SmartparkService }, { token: i2.Location }], target: i0.ɵɵFactoryTarget.Injectable }); }
107100
108334
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SubModuleGuard }); }
107101
108335
  }
107102
108336
  __decorate([
@@ -107107,7 +108341,7 @@ __decorate([
107107
108341
  ], SubModuleGuard.prototype, "setAppModule", void 0);
107108
108342
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SubModuleGuard, decorators: [{
107109
108343
  type: Injectable
107110
- }], ctorParameters: () => [{ type: i1$8.Router }, { type: i1$2.Store }, { type: SmartparkService }, { type: i2.Location }], propDecorators: { setSubModule: [], setAppModule: [] } });
108344
+ }], ctorParameters: () => [{ type: AppConfigService }, { type: i1$8.Router }, { type: i1$2.Store }, { type: SmartparkService }, { type: i2.Location }], propDecorators: { setSubModule: [], setAppModule: [] } });
107111
108345
 
107112
108346
  // Guards
107113
108347
 
@@ -107220,8 +108454,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
107220
108454
  }], ctorParameters: () => [{ type: i1$2.Store }, { type: i1$5.TranslateService }, { type: LocalizationService }] });
107221
108455
 
107222
108456
  class MobileCommandCenterModuleResolver {
107223
- constructor(mobileServiceProxyIdentity, signalR, realtimeEventService, notificationEventService, store) {
107224
- this.mobileServiceProxyIdentity = mobileServiceProxyIdentity;
108457
+ constructor(signalR, realtimeEventService, notificationEventService, store) {
107225
108458
  this.signalR = signalR;
107226
108459
  this.realtimeEventService = realtimeEventService;
107227
108460
  this.notificationEventService = notificationEventService;
@@ -107229,13 +108462,12 @@ class MobileCommandCenterModuleResolver {
107229
108462
  }
107230
108463
  resolve(route, state) {
107231
108464
  this.store.dispatch(new MenuLoadAction([], AppModule$1.Cc));
107232
- this.mobileServiceProxyIdentity.facilityAllMobile(AppModule$1.Cc, VERSION_V1).pipe(first())
107233
- .subscribe(smartparkBasic => {
107234
- this.store.dispatch(new SetBasicMenuAction(smartparkBasic.data.smartParks, AppModule$1.Cc));
107235
- this.subscribeToRealTimeEvents(smartparkBasic.data);
107236
- this.subscribeToHandleAlertNotificationEvents(smartparkBasic.data);
107237
- });
107238
- return null;
108465
+ this.store.dispatch(new LoadMobileSmartparksBasicAction(AppModule$1.Cc, null));
108466
+ return this.store.select(SmartparkState.smartParkWrapper).pipe(filter(smartparkBasic => !!smartparkBasic), first(), tap(smartparkBasic => {
108467
+ this.store.dispatch(new SetBasicMenuAction(smartparkBasic.smartParks, AppModule$1.Cc));
108468
+ this.subscribeToRealTimeEvents(smartparkBasic);
108469
+ this.subscribeToHandleAlertNotificationEvents(smartparkBasic);
108470
+ }));
107239
108471
  }
107240
108472
  subscribeToRealTimeEvents(smartparkBasic) {
107241
108473
  const parksSubscription = this.realtimeEventService.getCrossParkSubscriptions(smartparkBasic);
@@ -107253,12 +108485,12 @@ class MobileCommandCenterModuleResolver {
107253
108485
  this.signalR.subscribeForNotifications(handledNotificationSubscriptionDto);
107254
108486
  }
107255
108487
  }
107256
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MobileCommandCenterModuleResolver, deps: [{ token: MobileServiceProxyIdentity }, { token: SignalR }, { token: RealtimeEventService }, { token: NotificationEventService }, { token: i1$2.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
108488
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MobileCommandCenterModuleResolver, deps: [{ token: SignalR }, { token: RealtimeEventService }, { token: NotificationEventService }, { token: i1$2.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
107257
108489
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MobileCommandCenterModuleResolver }); }
107258
108490
  }
107259
108491
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MobileCommandCenterModuleResolver, decorators: [{
107260
108492
  type: Injectable
107261
- }], ctorParameters: () => [{ type: MobileServiceProxyIdentity }, { type: SignalR }, { type: RealtimeEventService }, { type: NotificationEventService }, { type: i1$2.Store }] });
108493
+ }], ctorParameters: () => [{ type: SignalR }, { type: RealtimeEventService }, { type: NotificationEventService }, { type: i1$2.Store }] });
107262
108494
 
107263
108495
  class ConfigMobileResolver {
107264
108496
  constructor(appSettingsService, tenantService) {
@@ -107344,5 +108576,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
107344
108576
  * Generated bundle index. Do not edit.
107345
108577
  */
107346
108578
 
107347
- export { ACCESS_PROFILE_DAT_TYPES_SP, ACTIVE_BYTE, ADVANCED_OPTIONS_VALUE, AES_DEFAULT_IV, ALERT_NOTIFICATION_CONTAINER, ALLOWED_FILES_FORMATS, ALLOWED_FILES_MAX_SIZE_MB, ALLOWED_FILES__SIZE_200_KB, ALLOWED_FILES__SIZE_2_MB, ALLOWED_NUMBER_OF_DAYS, ALLOWED_UPLOAD_FILES_QUANTITY, ALL_DAYS_IN_BINARY, ALL_DAYS_IN_BYTE, AccessProfileChangeValidTypesText, AccessProfileDayTypesText, AccessProfileRestrictionTypesText, AccessProfileShortDayTypesText, AccessProfileSpecialDaysMap, AccessProfileTypesText, AccountFrameMessageBarComponent, AccountSetPasswordAction, AccountSetPasswordErrorAction, AccountSetPasswordInitAction, ActionReasonsModule, ActionReasonsState, ActionStatusService, AddSmartparkAction, AddUserAction, AdministrativeNotificationEntityType, AdministrativeNotificationsModule, AdministrativeNotificationsState, AggregatedStatusText, AlertChangedAction, AlertNotificationBorderClass, AlertNotificationClassificationMap, AlertNotificationComponent, AlertNotificationService, AlertsAndNotificationsService, AlertsAndNotificationsState, AlertsDeviceTypeLabel, AlertsDeviceTypeOptions, AlertsDeviceTypeOptionsMapping, AlertsPreferencesDto, AmountStepSurchargeMinLimit, AnalyticsCommandsText, AnalyticsEventsText, AnalyticsService, AnalyticsSourceComponent, AnalyticsSourceProps, AppConfigService, AppModuleService, AppModuleToMainPermissionTypeMap, AppSectionLabel, AppSectionModuleMenu, AppSectionRoute, AppSettingsService, AppType, AuditActionTypeText, AuditLogoutAction, AuditLogoutMobileAction, AuthModule, AuthRouteGuard, AuthService, AuthTokenService, Authenticate2FAforUser, AuthenticateMultipleTenantsAction, AutofocusDirective, BOM_UNICODE, BarcodeTypeLength, BarrireStateText, BaseComponent, BaseDeviceItemComponent, BaseDeviceService, BaseFacilityCommandsService, BaseNotificationService, BillDispenserStatusText, BillTypeText, BillValidatorStatusText, ButtonStatus, CANCEL_ALL_RELAY_VALUE, CLogItPipe, COLORS, CREDIT_CARD_POSTFIX_LENGTH, CalculatorModule, CalculatorState, CanDeactivateService, CassetteStatusText, CentToCoinPipe, ChangeLanguageAction, ChangeMobileLanguageAction, ChangePasswordAction, ChangePasswordMobileAction, ChartLayout, CleanLogoAction, ClearActionReasonsAction, ClearAdministrativeNotificationsAction, ClearAlertsAndNotificationsAction, ClearBaseZonesAction, ClearCalculatorPriceAction, ClearCategoriesAction, ClearDeviceAction, ClearDeviceEventsExpanded, ClearDevicesAction, ClearEventActivitiesExpanded, ClearFacilityDictionaryAction, ClearGroupsAction, ClearGuestAction, ClearGuestProfilesAction, ClearGuestsListAction, ClearHandledGuest, ClearInactiveSelectedParkAction, ClearJobTitlesAction, ClearLocateTicketSearchAction, ClearLocatedTicketAction, ClearLprTransactionsExpanded, ClearMacroCommandsAction, ClearParkerAction, ClearRateAction, ClearSearchResultsAction, ClearSearchTermAction, ClearSearchTicketAction, ClearSelectedFacilityAction, ClearSelectedParkAction, ClearSelectedRow, ClearSelectedSmartparkAction, ClearSmartparksBasicAction, ClearSpAndSparkVersionsAction, ClearSuspendedParkActivitiesAction, ClearUsersAction, ClearValidationTypesAction, ClearZoneAction, ClearZonesAction, ClearZsAction, cloudServiceProxies as Cloud, CloudConfirmDialogComponent, CofCredentialSubTypeText, CoinStatusText, CollapsedGuestsByBatchIdAction, ComAggregatedStatus, ComAggregatedStatusText, ComStatusIconComponent, CommandCenterModuleResolver, CommandNotificationBorderClass, CommandNotificationComponent, CommandNotificationDisplayCase, CommandNotificationService, CommandNotificationType, CommandsLocalizationKey, CommonPagesModule, CompanyService, ConfigMobileResolver, ConfigResolver, ConnectSmartparkAction, ContainerRefDirective, CoreEntities, CouponSearchFieldSelectorText, CreateBasicBatchAction, CreateBasicGuestAction, CreateBatchAction, CreateGuestAction, CreateOrUpdateSMTPDetailsAction, CredentialTypeText, CreditCardTypeText, CrudOperationText, CurlyToBoldPipe, DATA_IMAGE_BASE64_PREFIX, DATA_IMAGE_BASE64_SVG_PREFIX, DEFAULT_DATE_FORMAT, DEFAULT_EXPIRATION_MONTHS_COUNT, DEFAULT_MINIMUM_LENGTH, DEFAULT_PASSWORD_HISTORY_COUNT, DEFAULT_PERMITTED_CREDENTIALS, DEFAULT_SMART_PARK_DATE_TIME, DEFAULT_SORT_MENU, DEFAULT_STICKER_NUM, DEVICE_EVENT_OPTIONS_KEY, DEVICE_NAVIGATE_KEY, DISABLED_FOCUS_ELEMENT_CLASSES, DISABLED_FOCUS_ELEMENT_TYPES, DYNAMIC_PRICING_CONDITION, DataQaAttribute, DateService, DateValidityText, DaysText, DecimalToAmountPipe, DecimalToCurrencyPipe, DefaultImageTimeout, DeleteGuestAction, DeleteLogoAction, DeleteUserAction, DetectBrowserService, DeviceActivityChangedAction, DeviceActivityLabel, DeviceActivityMode, DeviceActivityModeText, DeviceActivityStatus, DeviceActivityType, DeviceAggregatedStatus, DeviceAggregatedStatusText, DeviceEventChangedAction, DeviceIconComponent, DeviceIndicationStatus, DeviceLaneTypes, DeviceLoop, DeviceModule, DevicePipeModule, DevicePrinterStatusText, DeviceRemoteCommandsService, DeviceSortBy, DeviceStatusBaseComponent, DeviceStatusChangedAction, DeviceTypeIconName, DeviceTypeText, DeviceTypesAlertsMapping, DevicesViewMode, DialogMode, DipSwitchStatus, Disable2FAAction, DisconnectSmartParkAction, DoorSensorStatus, DoorStatusText, DurationMessageBar, DynamicContainerComponent, DynamicEllipsisTooltipDirective, ENGLISH_LANGUAGE, ENVIRONMENT, EXPIRATION_MONTHS_COUNT_OPTIONS, edgeServiceProxies as Edge, EditUserAction, ElectronicWalletPaymentMethodTypesText, EllipsisMultilineDirective, EmailServerModule, EmailServerState, EmptyResultsComponent, Enable2FAAction, EnumsToArrayPipe, EnvironmentModeText, ErrorPageComponent, ErrorPageResolver, ExceedingBehaviorTypeText, ExpandGuestsByBatchIdAction, ExportFileService, ExportGuestsAction, ExportPdfSmartparksTableAction, ExportSmartparkAction, FONT_BASE64, FacilityChangedAction, FacilityMenuService, FacilityModule, FacilityRemoteCommandExecutedAction, FacilityRemoteCommandTypesIcon, FacilityRemoteCommandsLocalizationKey, FacilityRemoteCommandsMenuItems, FacilityService, FacilityState, FieldLabelComponent, FieldValidationsComponent, FileGenerateMethod, FileSanitizerService, FileService, FilterByDeviceType, FilterDevicesByTypePipe, FilterDevicesByZonePipe, FilterKeysPipe, FilterNumbersPipe, FilterPipe, FlattenedCoreEntities, FloatMessageBarService, ForgotPasswordAction, ForgotPasswordTenantlessAction, FormValidationsComponent, FormattedInputDirective, FrequentParkingActionText, FrequentParkingErrorActionText, GATE_STATE_VALUE, GeneralActionService, GenerateSearchParamsDto, GetAllLocalizationsAction, GetAllLocalizationsMobileAction, GetLogoAction, GetMobileLogoAction, GetRateByIdAction, GlobalErrorService, GlobalMessageContainerComponent, GroupPermissionsPipe, GuestModule, GuestSearchFieldSelectorText, GuestState, GuestTypeCastText, GuestTypesText, HOUR_FORMAT_12, HOUR_FORMAT_24, HOUR_FORMAT_FULL_DAY, HandleAlertsAction, HandleNotificationAction, HandledNotificationAction, HasActionErrored, HealthAction, HoldRelayMode, HoldRelayModeText, HopperStatusText, HotelGuestSearchFieldSelectorText, HttpCancelBlackListUrls, HttpCancelInterceptor, HttpCancelService, INPUT_SEARCH_DEBOUNCE_TIME, INPUT_SEARCH_DEBOUNCE_TIME_LOW, INPUT_SEARCH_DEBOUNCE_TIME_MEDIUM, IconColumnComponent, IconComponent, IconModule, IconsHelper, IconsHelperText, identityServiceProxies as Identity, ImportMonthyStastusFieldSelectorText, InitAddSmartparkConnectionAction, InitSMTPDetailsAction, InitSessionFromLocalStorageAction, InitSmartparkTransportAction, InternetConnectionService, InternetConnectionStatus, IsActionExecuting, IsEllipsisDirective, LOCAL_ENGLISH_LANGUAGE, LOCATION_OPTIONS, LOGGED_TENANT_KEY, LanguageTypeKeys, LayoutModule, LayoutState, Load2FAUserAction, LoadActionReasonsAction, LoadAdministrativeNotificationsAction, LoadAlertsAndNotificationsAction, LoadAppConfigurationAction, LoadAppConfigurationMobileAction, LoadBaseZonesAction, LoadCalculatorPriceAction, LoadCategoriesAction, LoadDeviceAction, LoadDeviceEventActivitiesAction, LoadDeviceEventsAction, LoadDeviceEventsCollapse, LoadDeviceLprTransactionsAction, LoadDeviceStatusAction, LoadDevicesAction, LoadEventActivitiesCollapse, LoadFacilityAction, LoadFacilityRemoteCommandsRefAction, LoadGroupsAction, LoadGuestByIdAction, LoadGuestProfilesAction, LoadGuestsAction, LoadGuestsByBatchIdAction, LoadGuestsByBatchIdCancelledAction, LoadJobTitlesAction, LoadLocateTicketSearchAction, LoadLocatedTicketAction, LoadLprTransactionsCollapse, LoadMacroCommandsAction, LoadMobileNotificationsAction, LoadMobileSmartparksBasicAction, LoadOverflowPriceTableAction, LoadParkActivitiesAction, LoadParkDevicesAction, LoadParkerAction, LoadParkersAction, LoadParkingLotAction, LoadParksAction, LoadRateByIdAction, LoadRatesAction, LoadRemoteCommandsRefAction, LoadSMTPDetailsAction, LoadSelectedDeviceAction, LoadSmartparksAction, LoadSmartparksBasicAction, LoadSmartparksTableAction, LoadSpAndSparkVersionsAction, LoadStickerPriceTableAction, LoadTicketNumParkersAction, LoadTransientPriceTableAction, LoadUserPermissionsAction, LoadUsersAction, LoadUsersAdministrativeNotificationsAction, LoadValidationTypeAction, LoadVarsAction, LoadZoneAction, LoadZonesAction, LoadZsAction, LoadingOverlayComponent, LocalStorageMigrator, LocalStorageService, Localization, LocalizationModule, LocalizationResolver, LocalizationService, LocalizationState, LoginModule, LoginRequestAction, LoginService, LoginState, LoginSuccess, LogoComponent, LogoState, LogoutAction, LogoutMobileAction, LoopStatus, LowerCaseUrlSerializer, LprTransactionsChangedAction, LprTransactionsOptionsText, LprTransactionsSearchFieldSelectorText, MANUAL_ACTION_REASON_NAME_MAX_LENGTH, MAX_ALLOWED_BADGE_VALUE, MAX_ALLOWED_CURRENT_BALANCE, MAX_ALLOWED_DEDUCTION_VALUE, MAX_ALLOWED_GUEST_UNIT_QUANTITY, MAX_ALLOWED_IDENTIFIER_VALUE, MAX_ALLOWED_STARTING_PURSE_VALUE, MAX_CARDS, MAX_CAR_PLATES, MAX_EMAIL_CHARACTERS_LENGTH, MAX_EXPORT_RECORDS, MAX_HOTEL_ROOM_NUMBER_LENGTH, MAX_INT16_VALUE, MAX_INT32_VALUE, MAX_INTEGER_VALUE, MAX_LENGTH_BATCH_NAME, MAX_LENGTH_DESCRIPTION_50, MAX_LENGTH_DESCRIPTION_70, MAX_LENGTH_FOOTER, MAX_LENGTH_LEFT, MAX_LENGTH_LEFT_BACKWARD_COMPATIBILITY, MAX_LENGTH_MANUAL_TEXT, MAX_LENGTH_NAME_20, MAX_LENGTH_NAME_30, MAX_LENGTH_NAME_50, MAX_LENGTH_QUANTITY, MAX_LENGTH_REASON_DESCRIPTION, MAX_LENGTH_SERACH_TERM, MAX_LENGTH_SERACH_TERM_30, MAX_MOBILE_LENGTH, MAX_NUMBER_OF_NIGHTS, MAX_NUMBER_OF_ROW_IN_MENU, MAX_OCCUPANCY_VALUE, MAX_PERIOD_TIME, MAX_PLATE_ID_LENGTH, MAX_PRICE_NO_TIME_LIMIT_VALUE, MAX_PRICE_PERIOD_VALUE, MAX_REPEAT_COUNT_VALUE, MAX_RESULTS, MAX_ROLE_NAME_LENGTH, MAX_SP, MAX_TIME_RANGE_ITEMS_PER_KEY, MC_READER_ID, MESSAGE_BAR_DEFAULT_ID, MINIMUM_DROPDOWN_RESULTS_WITHOUT_SEARCH, MINIMUM_LENGTH_OPTIONS, MINUTES_PER_HOUR, MIN_ALLOWED_GUEST_UNIT_QUANTITY, MIN_LENGTH_QUANTITY, MIN_NUMBER_OF_ROW_IN_MENU, MIN_TIME_RANGE_ITEMS_PER_KEY, MOBILE_REFRESH_INFO, MSALGuardConfigFactory, MSALInstanceFactory, MSALInterceptorConfigFactory, MSLAuthService, MULTIPLE, MainModuleToSubModulesPermissionTypeMap, MatHintErrorDirective, MaxAllowedSurchargeAmount, MaxAllowedSurchargeMaxLimit, MaxAllowedSurchargeMinLimit, MaxDisplayTimeout, MaxIPV4TextLength, MaxSurchargeNameLength, MenuAppModuleLoadAction, MenuClearAction, MenuLoadAction, MenuService, MenuSubModuleClearAction, MenuSubModuleLoadAction, MessageBarComponent, MessageBarContainerComponent, MessageBarModule, MessageBarPosition, MessageBarService, MessageBarStatus, MiddayPeriod, MinAllowedSurchargeAmount, MinAllowedSurchargeMaxLimit, MinAllowedSurchargeMinLimit, MinDisplayTimeout, MobileAppSectionLabel, MobileAuthenticateMultipleTenantsAction, MobileCommandCenterModuleResolver, MobileLogoutAction, ModalButtonsWrapperComponent, ModalService, ModuleGuard, ModuleMenuBaseComponent, MonthlyRenewalSettingsActionTypesText, MonthlyRenewalSettingsActionTypesValueText, MonthlySearchFieldSelectorText, MslEventType, NONE_ACTIVE_BYTE, NONE_USER_ID, NO_RESULT, NativeElementInjectorDirective, NotSupportedBrowserGuard, NotSupportedBrowserPageComponent, NotificationChangedAction, NotificationClass, NotificationClassficationType, NotificationCloseAllButtonComponent, NotificationConfig, NotificationEventService, NotificationHPositions, NotificationModule, NotificationSeverityText, NotificationTypeLabelComponent, NotificationTypeText, NotificationVPositions, NotificationsModule, ONE_DAY_IN_MINUTES_VALUE, ONE_MINUTE_IN_MILLISECONDS, ONE_SECOND_IN_MILLISECONDS, OffScreenDirective, OpenIdAuthInitializeService, OpenIdAuthService, OpenIdAutheticateAction, Operator, OrderBy, OrderByPipe, OrderDirection$1 as OrderDirection, OrphanFacilitiesPipe, PARKER_SEARCH_AUTO_REDIRECT, PASSWORD_EXPIRED, PASSWORD_HISTORY_COUNT_OPTIONS, PREVENT_CLICK_ELEMENT_CLASSES, ParkActivitiesModule, ParkActivitiesState, ParkActivityChangedAction, ParkConnectionStatus, ParkConnectionStatusClass, ParkConnectionStatusText, ParkManagerModule, ParkManagerState, ParkService, ParkTimeService, ParkerSearchTerm, ParkerService, ParkerState, ParkerTagsText, ParkerTypesText, PasswordScore, PasswordStrengthService, PaymentSearchFieldSelectorText, PaymentServiceTypeText, PaymentsTypesText, PermissionGroupText, PermissionTypeSupportedVersionDictionary, PermissionTypeText, PermissionsService, PrintReceiptAction, ProfileTypeText, RATE_ID_WITH_VALUE_2, REDIRECT_URL, RELAY_2_VALUE, RELAY_3_VALUE, RELAY_4_VALUE, RESET_PASSWORD_EMAIL, RTObjectObject, RateModule, RateState, RealtimeEventService, RealtimeResolver, ReceiptGeneratedAction, RefreshTokenService, RefreshTokenState, RelayStatus, ReloadParkerAction, RemoteCommandService, RemoteCommandTypesIcon, RemoteValidationModule, RemoteValidationState, RemoveExpiredAlertsAndNotificationsAction, ReportCategories, ReportCategoriesText, ReportMethodDictionary, ReportSectionMenu, ResendPendingAdminInvitationsAction, ResendUserInvitationAction, ResetRatesAction, RestrictionLocationTypeText, RestrictionLocationTypeTextTable, RestrictionTypeText, RevenueService, RouteService, RowOperation, SESSION, STATUS_CODE_SERVER_VALIDATION, STATUS_CODE_UNAUTHORIZED, STRING_ZERO, SUPER_PARK_ROUTE_KEY, SUPPORETD_RESTORE_TICKET_TYPES, SUPPORTED_CAR_ON_LOOP_DEVICE_TYPES, SUPPORTED_DEVICES_SCHEDULER, SUPPORTED_GATE_DEVICE_TYPES, SUPPORTED_LPR_TRANSACTIONS_DEVICE_TYPES, SUPPORTED_PAYMENT_FOR_ISF_TYPES, SUPPORTED_RESTORE_TICKET_DEVICE_TYPES, SUPPORTED_STATUS_DEVICE_TYPES, SUPPORTED_TICKET_INSIDE_DEVICE_TYPES, SYSTEM_ALERT_VALUE, SearchFacilitiesMode, SearchFieldSelectorText, SearchTicketAction, SearchValueHighlightComponent, SecurityModule, SecurityState, SelectDeviceAction, SelectParkAction, SelectSmartParkAction, SelectedRowAction, SendEmailFromEntityAction, SendEmailToGuest, SendGuestPassesToEmailAction, SendTestEmailAction, ServiceProxyModule, ServicesRunningStatusChangedAction, SessionState, SessionStorageService, SetBasicMenuAction, SetDeviceEventsExpanded, SetDeviceRemoteCommandsMapAction, SetDeviceStatusAction, SetDeviceViewModeAction, SetEventActivitiesExpanded, SetFacilityRemoteCommandsMapAction, SetGuestsAction, SetLprTransactionsExpanded, SetMobileModeAction, SetParkActivitiesAction, SetRealTimeEventStatusAction, SetSearchTermAction, SetSelectedParkAction, SetSmartParkAction, SetSmartParkTableAction, SetSmartParkVersionsAction, SetSmartparkBasicAction, SetSmartparkBasicAllAction, SetStateAction, SetTFASetupAction, SetTenantUserAction, SetTicketIdentifierAction, SetUserNameAction, SetUserStatusAction, SetUsersAction, SetkeepMeLoggedInAction, SharedComponentsModule, SharedDirectivesModule, SharedModule, SharedPipesModule, SideNavSortBy, SidenavModule, SidenavState, SignalR, SignalRObject, SignalRRefreshTokenAction, SingleSignOnProviderText, SmartParkDeviceStatusChangedAction, SmartParkStatusText, SmartparkDateTimePipe, SmartparkDialogState, SmartparkModule, SmartparkService, SmartparkState, SortDevicesPipe, SortPipe, SparkNotification, SpecialDaysPipe, SpinnerDiameterSize, StaticMessageBarService, StatusIconComponent, StickerSearchFieldSelectorText, StopPropagationDirective, StringItPipe, SubModuleGuard, SubstrHightlightManyPipe, SubstrHightlightPipe, SubstrHightlightSinglePipe, SwallowUnitStatusText, SyncUsersAndRolesBySmartparkIdAction, TBFormatPipe, TBNumberDirective, TENANT_KEY, TENS_MULTIPLIER, TableRowHeightSizes, TableTypeText, TagLabelType, TenantClearAction, TenantLoadAction, TenantLogoModule, TenantService, TenantlessLoginMode, TibaDateFormat, TibaMatDialogConfig, TibaRetryPolicy, TibaValidators, TicketService, TimeAgoPipe, TimeElapsedCounterComponent, TimeElapsedFormats, TimeElapsedPipe, TimeRangeFormats, TimeRangePipe, ToggleDrawerAction, ToggleDrawerCollapseAction, TooltipPositions, TrackAction, TransientParkingActionText, TranslateLocalPipe, TreeFilterKeysPipe, TreeMode, TypeCastText, UNSAVED_DATA, USER_IS_TEMPORARY_BLOCKED, UnloadParkingLotAction, UpdateAndActivateUserAction, UpdateAuthTokenAction, UpdateBasicGuestAction, UpdateBasicGuestTempAction, UpdateDocumentAction, UpdateGuestAction, UpdateGuestLocationAction, UpdateMobileMode, UpdateSmartparkAction, UpdateTenantInfoProps, UpdateTenantSingleSignOnAction, UpdateTicketPlateIdAction, UpdateUserAlertsPreferencesAction, UpdateUserNotificaitonsPreferencesAction, UpdateUserSettingsAction, UpdateUserSettingsInSessionAction, UpdateUserSettingsMobileAction, UploadLogoAction, UserCreationType, UserModule, UserSettingsModule, UserSettingsState, UserState, VALIDATION_TYPE_BY_HOURS_41, VALIDATION_TYPE_BY_HOURS_42, VALID_TIME_MAX_LENGTH, VERSION_10_1_0, VERSION_10_2_0, VERSION_10_2_1, VERSION_10_3_0, VERSION_10_3_9, VERSION_10_4_0, VERSION_25_1_0, VERSION_25_2_0, VERSION_25_2_1, VERSION_7_4_0, VERSION_7_4_1, VERSION_8_1_0, VERSION_8_2_0, VERSION_8_3_0, VERSION_8_4_0, VERSION_9_1_0, VERSION_9_2_0, VERSION_9_2_2, VERSION_9_3_0, VERSION_9_4_0, VERSION_V1, VGuestWithBatchTableData, ValidateUserTokenAction, ValidationService, ValidationStickerType, ValidationTypeModule, ValidationTypeState, VarDirective, Verify2FactorAuthenticationAction, VersionMobileResolver, VersionResolver, VirtualValidationStatusText, WrapFnPipe, ZerofyNegativePipe, ZoneChangedAction, ZoneModule, ZoneState, accountModuleAnimation, adjustForTimezone, allowSpecialKeys, alphanumericRegex, appModuleAnimation, areDatesIdentical, areVersionsCompatible, arrayEquals, arraysAreDifferent, baseReduce, blobToBase64, buildMessageInfos, buildMessages, camelize, canceled, capitalizeFirstLetter, compareValues, convert24HoursToAmPM, convertAmPmTo24Hours, convertBinaryToDecimal, convertCentToWholeCoin, convertDecimalToBinary, convertFeaturePermissionsToDictionary, convertFormatWithoutTime, convertWholeCoinToCent, createDescriptor, createMessageText, dateDiffInSeconds, days, daysTranslation, decimalNumberRegex, decimalPercentageRegex, decimalPositiveNumberRegex, decryptClientSecret, delayCancellation, deviceIndicationStatusLocalization, deviceTypeFilterOptions, diffInMillis, dispatched, distinctObjectByProperties, distinctObjectByProperty, downloadFile, ensureObjectMetadata, entryDevicesLaneTypes, errored, exitDevicesLaneTypes, extractErrorsChanges, extractNumber, extractResetChanges, extractSetValueChanges, extractToggleStatusChanges, extractTouchedChanges, extractUpdateValueAndValidityChanges, filterDevicesByTypes, filterKeyValueBaseReduce, findChildRoute, findObjectDifferences, findParentElement, findParentElementDimensions, findParentRoute, findParentRouteConfig, flattenByKey, formatMinutesToTimeNumber, formatTimeToMinutes, formatTimeToString, formatTimeWithMidnight, formatTimeWithSeparator, formatTimeWithoutMidnight, formatTimeWithoutSeparator, formatTimeWithoutSeperatorAndWithMidnight, formatTimeWithoutSeperatorAndWithoutMidnight, getActivatedRoutePathSegment, getAddress, getCurrentLang, getDateTimeInSeconds, getDateWithoutTime, getDaysFromValue, getDefaultDeviceStatus, getFormattedTime, getMomenWithTime, getMomentNullable, getMomentWithoutTime, getNavigationRoute, getObjectMetadata, getParkerTypesText, getPasswordMinimalLength, getSecondsBackoff, getTooltipTextByParkerType, getUserTimeZone, getUtcMomentNullable, hasRequiredField, hasValue, humanizeTimeElapsed, humanizeUtcTimeElapsed, identity, initializeMsal, initializeOpenId, integerNumberRegex, integerPositiveNumberRegex, ipv4Regex, isBoolean, isCharacterLengthValid, isDefinedAndNotEmpty, isDeviceActive, isDeviceInFilterDeviceTypes, isDeviceInFiltersDeviceTypes, isFalsy, isIOSDevice, isMaxDaysRangeValid, isNullOrEmpty, isNumber, isObjectEmpty, isSearchFieldChanged, isSingularOrPlural, isTrueInBinary, isTruthy, isVersionGreaterThanEqual, loadHTMLContent, lowerCase, lowerCaseFirstLetter, mapTransientTags, markEntitiesAsChanged, markEntityAsUnchanged, matchesDeviceCriteria, matchesDeviceParkingLotCriteria, matchesDevicesParkingLotCriteria, minutesToTime, mobileRegex, nameof, navigateToForbiddenAccessPage, navigateToNotSupportedBrowserPage, noEmojiRegex, notificationAnimation, numberWithLeadingZero, ofStatus, omitKeys, openBackgroundIframe, openCloseFiltersAnimation, parentParkBaseEventTypes, parentParkEventTypes, parkBaseEventTypes, parkEventTypes, parkerEnumToText, parseApiErrorData, parseApiErrorMessage, parseDateTimeToSparkParkTime, parseSmartParkTime, passwordRegex, percentageRegex, printSpecialDaysText, printStackTrace, readjustForTimezone, regexExp, remoteCommandLocalizationMap, replaceAll, rtEventPermissions, safeParse, searchBarPopupAnimation, setErrorMessage, shortDaysTranslation, sleep, slideFromBottom, slideFromRight, slideFromUp, slideUpDown, successful, timeToMinutes, timeToMoment, toInt, toNumberMap, toStringMap, wrapConstructor };
108579
+ export { ACCESS_PROFILE_DAT_TYPES_SP, ACTIVE_BYTE, ADVANCED_OPTIONS_VALUE, AES_DEFAULT_IV, ALERT_NOTIFICATION_CONTAINER, ALLOWED_FILES_FORMATS, ALLOWED_FILES_MAX_SIZE_MB, ALLOWED_FILES__SIZE_200_KB, ALLOWED_FILES__SIZE_2_MB, ALLOWED_NUMBER_OF_DAYS, ALLOWED_UPLOAD_FILES_QUANTITY, ALL_DAYS_IN_BINARY, ALL_DAYS_IN_BYTE, AccessProfileChangeValidTypesText, AccessProfileDayTypesText, AccessProfileRestrictionTypesText, AccessProfileShortDayTypesText, AccessProfileSpecialDaysMap, AccessProfileTypesText, AccountFrameMessageBarComponent, AccountSetPasswordAction, AccountSetPasswordErrorAction, AccountSetPasswordInitAction, ActionReasonsModule, ActionReasonsState, ActionStatusService, AddSmartparkAction, AddUserAction, AdministrativeNotificationEntityType, AdministrativeNotificationsModule, AdministrativeNotificationsState, AggregatedStatusText, AlertChangedAction, AlertNotificationBorderClass, AlertNotificationClassificationMap, AlertNotificationComponent, AlertNotificationService, AlertsAndNotificationsService, AlertsAndNotificationsState, AlertsDeviceTypeLabel, AlertsDeviceTypeOptions, AlertsDeviceTypeOptionsMapping, AlertsPreferencesDto, AmountStepSurchargeMinLimit, AnalyticsCommandsText, AnalyticsEventsText, AnalyticsService, AnalyticsSourceComponent, AnalyticsSourceProps, AppConfigService, AppModuleService, AppModuleToMainPermissionTypeMap, AppSectionLabel, AppSectionModuleMenu, AppSectionRoute, AppSettingsService, AppType, AuditActionTypeText, AuditBackofficeAction, AuditLogoutAction, AuditLogoutMobileAction, AuthModule, AuthRouteGuard, AuthService, AuthTokenService, Authenticate2FAforUser, AuthenticateMultipleTenantsAction, AutofocusDirective, BOM_UNICODE, BackofficeAutheticateAction, BarcodeTypeLength, BarrireStateText, BaseComponent, BaseDeviceItemComponent, BaseDeviceService, BaseFacilityCommandsService, BaseNotificationService, BillDispenserStatusText, BillTypeText, BillValidatorStatusText, ButtonStatus, CANCEL_ALL_RELAY_VALUE, CLogItPipe, COLORS, CREDIT_CARD_POSTFIX_LENGTH, CalculatorModule, CalculatorState, CanDeactivateService, CassetteStatusText, CentToCoinPipe, ChangeLanguageAction, ChangeMobileLanguageAction, ChangePasswordAction, ChangePasswordMobileAction, ChartLayout, CleanLogoAction, ClearActionReasonsAction, ClearAdministrativeNotificationsAction, ClearAlertsAndNotificationsAction, ClearBaseZonesAction, ClearCalculatorPriceAction, ClearCategoriesAction, ClearDeviceAction, ClearDeviceEventsExpanded, ClearDevicesAction, ClearEventActivitiesExpanded, ClearFacilityDictionaryAction, ClearGroupsAction, ClearGuestAction, ClearGuestProfilesAction, ClearGuestsListAction, ClearHandledGuest, ClearInactiveSelectedParkAction, ClearJobTitlesAction, ClearLocateTicketSearchAction, ClearLocatedTicketAction, ClearLprTransactionsExpanded, ClearMacroCommandsAction, ClearParkerAction, ClearRateAction, ClearSearchResultsAction, ClearSearchTermAction, ClearSearchTicketAction, ClearSelectedFacilityAction, ClearSelectedParkAction, ClearSelectedRow, ClearSelectedSmartparkAction, ClearSmartparksBasicAction, ClearSpAndSparkVersionsAction, ClearSuspendedParkActivitiesAction, ClearUsersAction, ClearValidationTypesAction, ClearZoneAction, ClearZonesAction, ClearZsAction, cloudServiceProxies as Cloud, CloudConfirmDialogComponent, CofCredentialSubTypeText, CoinStatusText, CollapsedGuestsByBatchIdAction, ComAggregatedStatus, ComAggregatedStatusText, ComStatusIconComponent, CommandCenterModuleResolver, CommandNotificationBorderClass, CommandNotificationComponent, CommandNotificationDisplayCase, CommandNotificationService, CommandNotificationType, CommandsLocalizationKey, CommonPagesModule, CompanyService, ConfigMobileResolver, ConfigResolver, ConnectSmartparkAction, ContainerRefDirective, CoreEntities, CouponSearchFieldSelectorText, CreateBasicBatchAction, CreateBasicGuestAction, CreateBatchAction, CreateGuestAction, CreateOrUpdateSMTPDetailsAction, CredentialTypeText, CreditCardTypeText, CrudOperationText, CurlyToBoldPipe, DATA_IMAGE_BASE64_PREFIX, DATA_IMAGE_BASE64_SVG_PREFIX, DEFAULT_DATE_FORMAT, DEFAULT_EXPIRATION_MONTHS_COUNT, DEFAULT_MINIMUM_LENGTH, DEFAULT_PASSWORD_HISTORY_COUNT, DEFAULT_PERMITTED_CREDENTIALS, DEFAULT_SMART_PARK_DATE_TIME, DEFAULT_SORT_MENU, DEFAULT_STICKER_NUM, DEVICE_EVENT_OPTIONS_KEY, DEVICE_NAVIGATE_KEY, DISABLED_FOCUS_ELEMENT_CLASSES, DISABLED_FOCUS_ELEMENT_TYPES, DYNAMIC_PRICING_CONDITION, DataQaAttribute, DateService, DateValidityText, DaysText, DecimalToAmountPipe, DecimalToCurrencyPipe, DefaultImageTimeout, DeleteGuestAction, DeleteLogoAction, DeleteUserAction, DetectBrowserService, DeviceActivityChangedAction, DeviceActivityLabel, DeviceActivityMode, DeviceActivityModeText, DeviceActivityStatus, DeviceActivityType, DeviceAggregatedStatus, DeviceAggregatedStatusText, DeviceEventChangedAction, DeviceIconComponent, DeviceIndicationStatus, DeviceLaneTypes, DeviceLoop, DeviceModule, DevicePipeModule, DevicePrinterStatusText, DeviceRemoteCommandsService, DeviceSortBy, DeviceStatusBaseComponent, DeviceStatusChangedAction, DeviceTypeIconName, DeviceTypeText, DeviceTypesAlertsMapping, DevicesViewMode, DialogMode, DipSwitchStatus, Disable2FAAction, DisconnectSmartParkAction, DoorSensorStatus, DoorStatusText, DurationMessageBar, DynamicContainerComponent, DynamicEllipsisTooltipDirective, ENGLISH_LANGUAGE, ENVIRONMENT, EXPIRATION_MONTHS_COUNT_OPTIONS, edgeServiceProxies as Edge, EditUserAction, ElectronicWalletPaymentMethodTypesText, EllipsisMultilineDirective, EmailServerModule, EmailServerState, EmptyResultsComponent, Enable2FAAction, EnumsToArrayPipe, EnvironmentModeText, ErrorPageComponent, ErrorPageResolver, ExceedingBehaviorTypeText, ExpandGuestsByBatchIdAction, ExportFileService, ExportGuestsAction, ExportPdfSmartparksTableAction, ExportSmartparkAction, FONT_BASE64, FacilityChangedAction, FacilityMenuService, FacilityModule, FacilityRemoteCommandExecutedAction, FacilityRemoteCommandTypesIcon, FacilityRemoteCommandsLocalizationKey, FacilityRemoteCommandsMenuItems, FacilityService, FacilityState, FieldLabelComponent, FieldValidationsComponent, FileGenerateMethod, FileSanitizerService, FileService, FilterByDeviceType, FilterDevicesByTypePipe, FilterDevicesByZonePipe, FilterKeysPipe, FilterNumbersPipe, FilterPipe, FlattenedCoreEntities, FloatMessageBarService, ForgotPasswordAction, ForgotPasswordTenantlessAction, FormValidationsComponent, FormattedInputDirective, FrequentParkingActionText, FrequentParkingErrorActionText, GATE_STATE_VALUE, GeneralActionService, GenerateSearchParamsDto, GetAllLocalizationsAction, GetAllLocalizationsMobileAction, GetLogoAction, GetMobileLogoAction, GetRateByIdAction, GlobalErrorService, GlobalMessageContainerComponent, GroupPermissionsPipe, GuestModule, GuestSearchFieldSelectorText, GuestState, GuestTypeCastText, GuestTypesText, HOUR_FORMAT_12, HOUR_FORMAT_24, HOUR_FORMAT_FULL_DAY, HandleAlertsAction, HandleNotificationAction, HandledNotificationAction, HasActionErrored, HealthAction, HoldRelayMode, HoldRelayModeText, HopperStatusText, HotelGuestSearchFieldSelectorText, HttpCancelBlackListUrls, HttpCancelInterceptor, HttpCancelService, INPUT_SEARCH_DEBOUNCE_TIME, INPUT_SEARCH_DEBOUNCE_TIME_LOW, INPUT_SEARCH_DEBOUNCE_TIME_MEDIUM, IconColumnComponent, IconComponent, IconModule, IconsHelper, IconsHelperText, identityServiceProxies as Identity, ImportMonthyStastusFieldSelectorText, InitAddSmartparkConnectionAction, InitSMTPDetailsAction, InitSessionFromLocalStorageAction, InitSmartparkTransportAction, InternetConnectionService, InternetConnectionStatus, IsActionExecuting, IsEllipsisDirective, LOCAL_ENGLISH_LANGUAGE, LOCATION_OPTIONS, LOGGED_TENANT_KEY, LanguageTypeKeys, LayoutModule, LayoutState, Load2FAUserAction, LoadActionReasonsAction, LoadAdministrativeNotificationsAction, LoadAlertsAndNotificationsAction, LoadAppConfigurationAction, LoadAppConfigurationMobileAction, LoadBackofficeAppConfigurationAction, LoadBackofficeSmartparksTableAction, LoadBackofficeSpAndSparkVersionsAction, LoadBackofficeVarsAction, LoadBaseZonesAction, LoadCalculatorPriceAction, LoadCategoriesAction, LoadDeviceAction, LoadDeviceEventActivitiesAction, LoadDeviceEventsAction, LoadDeviceEventsCollapse, LoadDeviceLprTransactionsAction, LoadDeviceStatusAction, LoadDevicesAction, LoadEventActivitiesCollapse, LoadFacilityAction, LoadFacilityRemoteCommandsRefAction, LoadGroupsAction, LoadGuestByIdAction, LoadGuestProfilesAction, LoadGuestsAction, LoadGuestsByBatchIdAction, LoadGuestsByBatchIdCancelledAction, LoadJobTitlesAction, LoadLocateTicketSearchAction, LoadLocatedTicketAction, LoadLprTransactionsCollapse, LoadMacroCommandsAction, LoadMobileNotificationsAction, LoadMobileSmartparksBasicAction, LoadOverflowPriceTableAction, LoadParkActivitiesAction, LoadParkDevicesAction, LoadParkerAction, LoadParkersAction, LoadParkingLotAction, LoadParksAction, LoadRateByIdAction, LoadRatesAction, LoadRemoteCommandsRefAction, LoadSMTPDetailsAction, LoadSelectedDeviceAction, LoadSmartparksAction, LoadSmartparksBasicAction, LoadSmartparksTableAction, LoadSpAndSparkVersionsAction, LoadStickerPriceTableAction, LoadTicketNumParkersAction, LoadTransientPriceTableAction, LoadUserPermissionsAction, LoadUsersAction, LoadUsersAdministrativeNotificationsAction, LoadValidationTypeAction, LoadVarsAction, LoadZoneAction, LoadZonesAction, LoadZsAction, LoadingOverlayComponent, LocalStorageMigrator, LocalStorageService, Localization, LocalizationModule, LocalizationResolver, LocalizationService, LocalizationState, LoginModule, LoginRequestAction, LoginService, LoginState, LoginSuccess, LogoComponent, LogoState, LogoutAction, LogoutMobileAction, LoopStatus, LowerCaseUrlSerializer, LprTransactionsChangedAction, LprTransactionsOptionsText, LprTransactionsSearchFieldSelectorText, MANUAL_ACTION_REASON_NAME_MAX_LENGTH, MAX_ALLOWED_BADGE_VALUE, MAX_ALLOWED_CURRENT_BALANCE, MAX_ALLOWED_DEDUCTION_VALUE, MAX_ALLOWED_GUEST_UNIT_QUANTITY, MAX_ALLOWED_IDENTIFIER_VALUE, MAX_ALLOWED_STARTING_PURSE_VALUE, MAX_CARDS, MAX_CAR_PLATES, MAX_EMAIL_CHARACTERS_LENGTH, MAX_EXPORT_RECORDS, MAX_HOTEL_ROOM_NUMBER_LENGTH, MAX_INT16_VALUE, MAX_INT32_VALUE, MAX_INTEGER_VALUE, MAX_LENGTH_BATCH_NAME, MAX_LENGTH_DESCRIPTION_50, MAX_LENGTH_DESCRIPTION_70, MAX_LENGTH_FOOTER, MAX_LENGTH_LEFT, MAX_LENGTH_LEFT_BACKWARD_COMPATIBILITY, MAX_LENGTH_MANUAL_TEXT, MAX_LENGTH_NAME_20, MAX_LENGTH_NAME_30, MAX_LENGTH_NAME_50, MAX_LENGTH_QUANTITY, MAX_LENGTH_REASON_DESCRIPTION, MAX_LENGTH_SERACH_TERM, MAX_LENGTH_SERACH_TERM_30, MAX_MOBILE_LENGTH, MAX_NUMBER_OF_NIGHTS, MAX_NUMBER_OF_ROW_IN_MENU, MAX_OCCUPANCY_VALUE, MAX_PERIOD_TIME, MAX_PLATE_ID_LENGTH, MAX_PRICE_NO_TIME_LIMIT_VALUE, MAX_PRICE_PERIOD_VALUE, MAX_REPEAT_COUNT_VALUE, MAX_RESULTS, MAX_ROLE_NAME_LENGTH, MAX_SP, MAX_TIME_RANGE_ITEMS_PER_KEY, MC_READER_ID, MESSAGE_BAR_DEFAULT_ID, MINIMUM_DROPDOWN_RESULTS_WITHOUT_SEARCH, MINIMUM_LENGTH_OPTIONS, MINUTES_PER_HOUR, MIN_ALLOWED_GUEST_UNIT_QUANTITY, MIN_LENGTH_QUANTITY, MIN_NUMBER_OF_ROW_IN_MENU, MIN_TIME_RANGE_ITEMS_PER_KEY, MOBILE_REFRESH_INFO, MSALGuardConfigFactory, MSALInstanceFactory, MSALInterceptorConfigFactory, MSLAuthService, MULTIPLE, MainModuleToSubModulesPermissionTypeMap, MatHintErrorDirective, MaxAllowedSurchargeAmount, MaxAllowedSurchargeMaxLimit, MaxAllowedSurchargeMinLimit, MaxDisplayTimeout, MaxIPV4TextLength, MaxSurchargeNameLength, MenuAppModuleLoadAction, MenuClearAction, MenuLoadAction, MenuService, MenuSubModuleClearAction, MenuSubModuleLoadAction, MessageBarComponent, MessageBarContainerComponent, MessageBarModule, MessageBarPosition, MessageBarService, MessageBarStatus, MiddayPeriod, MinAllowedSurchargeAmount, MinAllowedSurchargeMaxLimit, MinAllowedSurchargeMinLimit, MinDisplayTimeout, MobileAppSectionLabel, MobileAuthenticateMultipleTenantsAction, MobileCommandCenterModuleResolver, MobileLogoutAction, ModalButtonsWrapperComponent, ModalService, ModuleGuard, ModuleMenuBaseComponent, MonthlyRenewalSettingsActionTypesText, MonthlyRenewalSettingsActionTypesValueText, MonthlySearchFieldSelectorText, MslEventType, NONE_ACTIVE_BYTE, NONE_USER_ID, NO_RESULT, NativeElementInjectorDirective, NotSupportedBrowserGuard, NotSupportedBrowserPageComponent, NotificationChangedAction, NotificationClass, NotificationClassficationType, NotificationCloseAllButtonComponent, NotificationConfig, NotificationEventService, NotificationHPositions, NotificationModule, NotificationSeverityText, NotificationTypeLabelComponent, NotificationTypeText, NotificationVPositions, NotificationsModule, ONE_DAY_IN_MINUTES_VALUE, ONE_MINUTE_IN_MILLISECONDS, ONE_SECOND_IN_MILLISECONDS, OffScreenDirective, OpenIdAuthInitializeService, OpenIdAuthService, OpenIdAutheticateAction, Operator, OrderBy, OrderByPipe, OrderDirection$1 as OrderDirection, OrphanFacilitiesPipe, PARKER_SEARCH_AUTO_REDIRECT, PASSWORD_EXPIRED, PASSWORD_HISTORY_COUNT_OPTIONS, PREVENT_CLICK_ELEMENT_CLASSES, ParkActivitiesModule, ParkActivitiesState, ParkActivityChangedAction, ParkConnectionStatus, ParkConnectionStatusClass, ParkConnectionStatusText, ParkManagerModule, ParkManagerState, ParkService, ParkTimeService, ParkerSearchTerm, ParkerService, ParkerState, ParkerTagsText, ParkerTypesText, PasswordScore, PasswordStrengthService, PaymentSearchFieldSelectorText, PaymentServiceTypeText, PaymentsTypesText, PermissionGroupText, PermissionTypeSupportedVersionDictionary, PermissionTypeText, PermissionsService, PrintReceiptAction, ProfileTypeText, RATE_ID_WITH_VALUE_2, REDIRECT_URL, RELAY_2_VALUE, RELAY_3_VALUE, RELAY_4_VALUE, RESET_PASSWORD_EMAIL, RTObjectObject, RateModule, RateState, RealtimeEventService, RealtimeResolver, ReceiptGeneratedAction, RefreshTokenService, RefreshTokenState, RelayStatus, ReloadParkerAction, RemoteCommandService, RemoteCommandTypesIcon, RemoteValidationModule, RemoteValidationState, RemoveExpiredAlertsAndNotificationsAction, ReportCategories, ReportCategoriesText, ReportMethodDictionary, ReportSectionMenu, ResendPendingAdminInvitationsAction, ResendUserInvitationAction, ResetRatesAction, RestrictionLocationTypeText, RestrictionLocationTypeTextTable, RestrictionTypeText, RevenueService, RouteService, RowOperation, SESSION, STATUS_CODE_SERVER_VALIDATION, STATUS_CODE_UNAUTHORIZED, STRING_ZERO, SUPER_PARK_ROUTE_KEY, SUPPORETD_RESTORE_TICKET_TYPES, SUPPORTED_CAR_ON_LOOP_DEVICE_TYPES, SUPPORTED_DEVICES_SCHEDULER, SUPPORTED_GATE_DEVICE_TYPES, SUPPORTED_LPR_TRANSACTIONS_DEVICE_TYPES, SUPPORTED_PAYMENT_FOR_ISF_TYPES, SUPPORTED_RESTORE_TICKET_DEVICE_TYPES, SUPPORTED_STATUS_DEVICE_TYPES, SUPPORTED_TICKET_INSIDE_DEVICE_TYPES, SYSTEM_ALERT_VALUE, SearchFacilitiesMode, SearchFieldSelectorText, SearchTicketAction, SearchValueHighlightComponent, SecurityModule, SecurityState, SelectDeviceAction, SelectParkAction, SelectSmartParkAction, SelectedRowAction, SendEmailFromEntityAction, SendEmailToGuest, SendGuestPassesToEmailAction, SendTestEmailAction, ServiceProxyModule, ServicesRunningStatusChangedAction, SessionState, SessionStorageService, SetBackofficeSmartParkVersionsAction, SetBasicMenuAction, SetDeviceEventsExpanded, SetDeviceRemoteCommandsMapAction, SetDeviceStatusAction, SetDeviceViewModeAction, SetEventActivitiesExpanded, SetFacilityRemoteCommandsMapAction, SetGuestsAction, SetLprTransactionsExpanded, SetMobileModeAction, SetParkActivitiesAction, SetRealTimeEventStatusAction, SetSearchTermAction, SetSelectedParkAction, SetSmartParkAction, SetSmartParkTableAction, SetSmartParkVersionsAction, SetSmartparkBasicAction, SetSmartparkBasicAllAction, SetStateAction, SetTFASetupAction, SetTenantUserAction, SetTicketIdentifierAction, SetUserNameAction, SetUserStatusAction, SetUsersAction, SetkeepMeLoggedInAction, SharedComponentsModule, SharedDirectivesModule, SharedModule, SharedPipesModule, SideNavSortBy, SidenavModule, SidenavState, SignalR, SignalRObject, SignalRRefreshTokenAction, SingleSignOnProviderText, SmartParkDeviceStatusChangedAction, SmartParkStatusText, SmartparkDateTimePipe, SmartparkDialogState, SmartparkModule, SmartparkService, SmartparkState, SortDevicesPipe, SortPipe, SparkNotification, SpecialDaysPipe, SpinnerDiameterSize, StaticMessageBarService, StatusIconComponent, StickerSearchFieldSelectorText, StopPropagationDirective, StringItPipe, SubModuleGuard, SubstrHightlightManyPipe, SubstrHightlightPipe, SubstrHightlightSinglePipe, SwallowUnitStatusText, SyncUsersAndRolesBySmartparkIdAction, TBFormatPipe, TBNumberDirective, TENANT_KEY, TENS_MULTIPLIER, TableRowHeightSizes, TableTypeText, TagLabelType, TenantClearAction, TenantLoadAction, TenantLogoModule, TenantService, TenantlessLoginMode, TibaDateFormat, TibaMatDialogConfig, TibaRetryPolicy, TibaValidators, TicketService, TimeAgoPipe, TimeElapsedCounterComponent, TimeElapsedFormats, TimeElapsedPipe, TimeRangeFormats, TimeRangePipe, ToggleDrawerAction, ToggleDrawerCollapseAction, TooltipPositions, TrackAction, TransientParkingActionText, TranslateLocalPipe, TreeFilterKeysPipe, TreeMode, TypeCastText, UNSAVED_DATA, USER_IS_TEMPORARY_BLOCKED, UnloadParkingLotAction, UpdateAndActivateUserAction, UpdateAuthTokenAction, UpdateBasicGuestAction, UpdateBasicGuestTempAction, UpdateDocumentAction, UpdateGuestAction, UpdateGuestLocationAction, UpdateMobileMode, UpdateSmartparkAction, UpdateTenantInfoProps, UpdateTenantSingleSignOnAction, UpdateTicketPlateIdAction, UpdateUserAlertsPreferencesAction, UpdateUserNotificaitonsPreferencesAction, UpdateUserSettingsAction, UpdateUserSettingsInSessionAction, UpdateUserSettingsMobileAction, UploadLogoAction, UserCreationType, UserModule, UserSettingsModule, UserSettingsState, UserState, VALIDATION_TYPE_BY_HOURS_41, VALIDATION_TYPE_BY_HOURS_42, VALID_TIME_MAX_LENGTH, VERSION_10_1_0, VERSION_10_2_0, VERSION_10_2_1, VERSION_10_3_0, VERSION_10_3_9, VERSION_10_4_0, VERSION_25_1_0, VERSION_25_2_0, VERSION_25_2_1, VERSION_7_4_0, VERSION_7_4_1, VERSION_8_1_0, VERSION_8_2_0, VERSION_8_3_0, VERSION_8_4_0, VERSION_9_1_0, VERSION_9_2_0, VERSION_9_2_2, VERSION_9_3_0, VERSION_9_4_0, VERSION_V1, VGuestWithBatchTableData, ValidateUserTokenAction, ValidationService, ValidationStickerType, ValidationTypeModule, ValidationTypeState, VarDirective, Verify2FactorAuthenticationAction, VersionMobileResolver, VersionResolver, VirtualValidationStatusText, WrapFnPipe, ZerofyNegativePipe, ZoneChangedAction, ZoneModule, ZoneState, accountModuleAnimation, adjustForTimezone, allowSpecialKeys, alphanumericRegex, appModuleAnimation, areDatesIdentical, areVersionsCompatible, arrayEquals, arraysAreDifferent, baseReduce, blobToBase64, buildMessageInfos, buildMessages, camelize, canceled, capitalizeFirstLetter, compareValues, convert24HoursToAmPM, convertAmPmTo24Hours, convertBinaryToDecimal, convertCentToWholeCoin, convertDecimalToBinary, convertFeaturePermissionsToDictionary, convertFormatWithoutTime, convertWholeCoinToCent, createDescriptor, createMessageText, dateDiffInSeconds, days, daysTranslation, decimalNumberRegex, decimalPercentageRegex, decimalPositiveNumberRegex, decryptClientSecret, delayCancellation, deviceIndicationStatusLocalization, deviceTypeFilterOptions, diffInMillis, dispatched, distinctObjectByProperties, distinctObjectByProperty, downloadFile, ensureObjectMetadata, entryDevicesLaneTypes, errored, exitDevicesLaneTypes, extractErrorsChanges, extractNumber, extractResetChanges, extractSetValueChanges, extractToggleStatusChanges, extractTouchedChanges, extractUpdateValueAndValidityChanges, filterDevicesByTypes, filterKeyValueBaseReduce, findChildRoute, findObjectDifferences, findParentElement, findParentElementDimensions, findParentRoute, findParentRouteConfig, flattenByKey, formatMinutesToTimeNumber, formatTimeToMinutes, formatTimeToString, formatTimeWithMidnight, formatTimeWithSeparator, formatTimeWithoutMidnight, formatTimeWithoutSeparator, formatTimeWithoutSeperatorAndWithMidnight, formatTimeWithoutSeperatorAndWithoutMidnight, getActivatedRoutePathSegment, getAddress, getCurrentLang, getDateTimeInSeconds, getDateWithoutTime, getDaysFromValue, getDefaultDeviceStatus, getFormattedTime, getMomenWithTime, getMomentNullable, getMomentWithoutTime, getNavigationRoute, getObjectMetadata, getParkerTypesText, getPasswordMinimalLength, getSecondsBackoff, getTooltipTextByParkerType, getUserTimeZone, getUtcMomentNullable, hasRequiredField, hasValue, humanizeTimeElapsed, humanizeUtcTimeElapsed, identity, initializeMsal, initializeOpenId, integerNumberRegex, integerPositiveNumberRegex, ipv4Regex, isBoolean, isCharacterLengthValid, isDefinedAndNotEmpty, isDeviceActive, isDeviceInFilterDeviceTypes, isDeviceInFiltersDeviceTypes, isFalsy, isIOSDevice, isMaxDaysRangeValid, isNullOrEmpty, isNumber, isObjectEmpty, isSearchFieldChanged, isSingularOrPlural, isTrueInBinary, isTruthy, isVersionGreaterThanEqual, loadHTMLContent, lowerCase, lowerCaseFirstLetter, mapTransientTags, markEntitiesAsChanged, markEntityAsUnchanged, matchesDeviceCriteria, matchesDeviceParkingLotCriteria, matchesDevicesParkingLotCriteria, minutesToTime, mobileRegex, nameof, navigateToForbiddenAccessPage, navigateToNotSupportedBrowserPage, noEmojiRegex, notificationAnimation, numberWithLeadingZero, ofStatus, omitKeys, openBackgroundIframe, openCloseFiltersAnimation, parentParkBaseEventTypes, parentParkEventTypes, parkBaseEventTypes, parkEventTypes, parkerEnumToText, parseApiErrorData, parseApiErrorMessage, parseDateTimeToSparkParkTime, parseSmartParkTime, passwordRegex, percentageRegex, printSpecialDaysText, printStackTrace, readjustForTimezone, regexExp, remoteCommandLocalizationMap, replaceAll, rtEventPermissions, safeParse, searchBarPopupAnimation, setErrorMessage, shortDaysTranslation, sleep, slideFromBottom, slideFromRight, slideFromUp, slideUpDown, successful, timeToMinutes, timeToMoment, toInt, toNumberMap, toStringMap, wrapConstructor };
107348
108580
  //# sourceMappingURL=tiba-spark-client-shared-lib.mjs.map