@tiba-spark/client-shared-lib 10.3.0-555 → 10.3.0-563

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.
@@ -989,6 +989,71 @@ class AuditServiceProxy {
989
989
  this.http = http;
990
990
  this.baseUrl = baseUrl ?? "";
991
991
  }
992
+ /**
993
+ * @param body (optional)
994
+ * @return Success
995
+ */
996
+ getAuditByFilterForBackOffice(body) {
997
+ let url_ = this.baseUrl + "/api/services/audit/back-office/get";
998
+ url_ = url_.replace(/[?&]$/, "");
999
+ const content_ = JSON.stringify(body);
1000
+ let options_ = {
1001
+ body: content_,
1002
+ observe: "response",
1003
+ responseType: "blob",
1004
+ headers: new HttpHeaders({
1005
+ "Content-Type": "application/json-patch+json",
1006
+ "Accept": "text/plain"
1007
+ })
1008
+ };
1009
+ return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
1010
+ return this.processGetAuditByFilterForBackOffice(response_);
1011
+ })).pipe(catchError((response_) => {
1012
+ if (response_ instanceof HttpResponseBase) {
1013
+ try {
1014
+ return this.processGetAuditByFilterForBackOffice(response_);
1015
+ }
1016
+ catch (e) {
1017
+ return throwError(e);
1018
+ }
1019
+ }
1020
+ else
1021
+ return throwError(response_);
1022
+ }));
1023
+ }
1024
+ processGetAuditByFilterForBackOffice(response) {
1025
+ const status = response.status;
1026
+ const responseBlob = response instanceof HttpResponse ? response.body :
1027
+ response.error instanceof Blob ? response.error : undefined;
1028
+ let _headers = {};
1029
+ if (response.headers) {
1030
+ for (let key of response.headers.keys()) {
1031
+ _headers[key] = response.headers.get(key);
1032
+ }
1033
+ }
1034
+ if (status === 404) {
1035
+ return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
1036
+ let result404 = null;
1037
+ let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
1038
+ result404 = ProblemDetails$1.fromJS(resultData404);
1039
+ return throwException$1("Not Found", status, _responseText, _headers, result404);
1040
+ }));
1041
+ }
1042
+ else if (status === 200) {
1043
+ return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
1044
+ let result200 = null;
1045
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
1046
+ result200 = AuditDtoListHttpResponseData.fromJS(resultData200);
1047
+ return of(result200);
1048
+ }));
1049
+ }
1050
+ else if (status !== 200 && status !== 204) {
1051
+ return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
1052
+ return throwException$1("An unexpected server error occurred.", status, _responseText, _headers);
1053
+ }));
1054
+ }
1055
+ return of(null);
1056
+ }
992
1057
  /**
993
1058
  * @param body (optional)
994
1059
  * @return Success
@@ -5815,11 +5880,11 @@ let UsersServiceProxy$1 = class UsersServiceProxy {
5815
5880
  * @param status (optional)
5816
5881
  * @return Success
5817
5882
  */
5818
- updateStatus(id, status) {
5819
- let url_ = this.baseUrl + "/api/services/users/{id}/updatestatus?";
5820
- if (id === undefined || id === null)
5821
- throw new Error("The parameter 'id' must be defined.");
5822
- url_ = url_.replace("{id}", encodeURIComponent("" + id));
5883
+ updateStatus(userId, status) {
5884
+ let url_ = this.baseUrl + "/api/services/users/{userId}/updatestatus?";
5885
+ if (userId === undefined || userId === null)
5886
+ throw new Error("The parameter 'userId' must be defined.");
5887
+ url_ = url_.replace("{userId}", encodeURIComponent("" + userId));
5823
5888
  if (status === null)
5824
5889
  throw new Error("The parameter 'status' cannot be null.");
5825
5890
  else if (status !== undefined)
@@ -14379,6 +14444,87 @@ class AccessProfileServiceProxy {
14379
14444
  }
14380
14445
  return of(null);
14381
14446
  }
14447
+ /**
14448
+ * @param accessProfileId (optional)
14449
+ * @param parkId (optional)
14450
+ * @param searchValue (optional)
14451
+ * @param deviceTypes (optional)
14452
+ * @param zoneIds (optional)
14453
+ * @return Success
14454
+ */
14455
+ getAccessProfilesMonthliesAndGuestsDeviceRestriction(accessProfileId, parkId, searchValue, deviceTypes, zoneIds, guid) {
14456
+ let url_ = this.baseUrl + "/api/services/sp/{guid}/accessprofile/monthlies-and-guests/device-restriction?";
14457
+ if (guid === undefined || guid === null)
14458
+ throw new Error("The parameter 'guid' must be defined.");
14459
+ url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
14460
+ if (accessProfileId === null)
14461
+ throw new Error("The parameter 'accessProfileId' cannot be null.");
14462
+ else if (accessProfileId !== undefined)
14463
+ url_ += "AccessProfileId=" + encodeURIComponent("" + accessProfileId) + "&";
14464
+ if (parkId !== undefined && parkId !== null)
14465
+ url_ += "ParkId=" + encodeURIComponent("" + parkId) + "&";
14466
+ if (searchValue !== undefined && searchValue !== null)
14467
+ url_ += "SearchValue=" + encodeURIComponent("" + searchValue) + "&";
14468
+ if (deviceTypes !== undefined && deviceTypes !== null)
14469
+ deviceTypes && deviceTypes.forEach(item => { url_ += "DeviceTypes=" + encodeURIComponent("" + item) + "&"; });
14470
+ if (zoneIds !== undefined && zoneIds !== null)
14471
+ zoneIds && zoneIds.forEach(item => { url_ += "ZoneIds=" + encodeURIComponent("" + item) + "&"; });
14472
+ url_ = url_.replace(/[?&]$/, "");
14473
+ let options_ = {
14474
+ observe: "response",
14475
+ responseType: "blob",
14476
+ headers: new HttpHeaders({
14477
+ "Accept": "text/plain"
14478
+ })
14479
+ };
14480
+ return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
14481
+ return this.processGetAccessProfilesMonthliesAndGuestsDeviceRestriction(response_);
14482
+ })).pipe(catchError((response_) => {
14483
+ if (response_ instanceof HttpResponseBase) {
14484
+ try {
14485
+ return this.processGetAccessProfilesMonthliesAndGuestsDeviceRestriction(response_);
14486
+ }
14487
+ catch (e) {
14488
+ return throwError(e);
14489
+ }
14490
+ }
14491
+ else
14492
+ return throwError(response_);
14493
+ }));
14494
+ }
14495
+ processGetAccessProfilesMonthliesAndGuestsDeviceRestriction(response) {
14496
+ const status = response.status;
14497
+ const responseBlob = response instanceof HttpResponse ? response.body :
14498
+ response.error instanceof Blob ? response.error : undefined;
14499
+ let _headers = {};
14500
+ if (response.headers) {
14501
+ for (let key of response.headers.keys()) {
14502
+ _headers[key] = response.headers.get(key);
14503
+ }
14504
+ }
14505
+ if (status === 404) {
14506
+ return blobToText(responseBlob).pipe(mergeMap(_responseText => {
14507
+ let result404 = null;
14508
+ let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
14509
+ result404 = ProblemDetails.fromJS(resultData404);
14510
+ return throwException("Not Found", status, _responseText, _headers, result404);
14511
+ }));
14512
+ }
14513
+ else if (status === 200) {
14514
+ return blobToText(responseBlob).pipe(mergeMap(_responseText => {
14515
+ let result200 = null;
14516
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
14517
+ result200 = AccessProfileDeviceRestrictionDtoIEnumerableHttpResponseData.fromJS(resultData200);
14518
+ return of(result200);
14519
+ }));
14520
+ }
14521
+ else if (status !== 200 && status !== 204) {
14522
+ return blobToText(responseBlob).pipe(mergeMap(_responseText => {
14523
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
14524
+ }));
14525
+ }
14526
+ return of(null);
14527
+ }
14382
14528
  /**
14383
14529
  * @param parkId (optional)
14384
14530
  * @return Success
@@ -34329,7 +34475,6 @@ class AccessLane {
34329
34475
  if (_data) {
34330
34476
  this.id = _data["id"];
34331
34477
  this.isDeleted = _data["isDeleted"];
34332
- this.accessProfileID = _data["accessProfileID"];
34333
34478
  this.readerNum = _data["readerNum"];
34334
34479
  this.parkID = _data["parkID"];
34335
34480
  this.deviceID = _data["deviceID"];
@@ -34345,7 +34490,6 @@ class AccessLane {
34345
34490
  data = typeof data === 'object' ? data : {};
34346
34491
  data["id"] = this.id;
34347
34492
  data["isDeleted"] = this.isDeleted;
34348
- data["accessProfileID"] = this.accessProfileID;
34349
34493
  data["readerNum"] = this.readerNum;
34350
34494
  data["parkID"] = this.parkID;
34351
34495
  data["deviceID"] = this.deviceID;
@@ -34412,7 +34556,12 @@ class AccessProfileBasicRestrictions {
34412
34556
  if (Array.isArray(_data["accessTimeZones"])) {
34413
34557
  this.accessTimeZones = [];
34414
34558
  for (let item of _data["accessTimeZones"])
34415
- this.accessTimeZones.push(AccessTimeZone.fromJS(item));
34559
+ this.accessTimeZones.push(UpdateTimeRangeDto.fromJS(item));
34560
+ }
34561
+ if (Array.isArray(_data["accessLanes"])) {
34562
+ this.accessLanes = [];
34563
+ for (let item of _data["accessLanes"])
34564
+ this.accessLanes.push(AccessLane.fromJS(item));
34416
34565
  }
34417
34566
  }
34418
34567
  }
@@ -34429,6 +34578,11 @@ class AccessProfileBasicRestrictions {
34429
34578
  for (let item of this.accessTimeZones)
34430
34579
  data["accessTimeZones"].push(item.toJSON());
34431
34580
  }
34581
+ if (Array.isArray(this.accessLanes)) {
34582
+ data["accessLanes"] = [];
34583
+ for (let item of this.accessLanes)
34584
+ data["accessLanes"].push(item.toJSON());
34585
+ }
34432
34586
  return data;
34433
34587
  }
34434
34588
  clone() {
@@ -34545,6 +34699,118 @@ class AccessProfileDeviceGroupRestrictionsDto {
34545
34699
  return result;
34546
34700
  }
34547
34701
  }
34702
+ class AccessProfileDeviceRestrictionDto {
34703
+ constructor(data) {
34704
+ if (data) {
34705
+ for (var property in data) {
34706
+ if (data.hasOwnProperty(property))
34707
+ this[property] = data[property];
34708
+ }
34709
+ }
34710
+ }
34711
+ init(_data) {
34712
+ if (_data) {
34713
+ this.id = _data["id"];
34714
+ this.isChild = _data["isChild"];
34715
+ this.childrenCount = _data["childrenCount"];
34716
+ this.parkId = _data["parkId"];
34717
+ this.parkName = _data["parkName"];
34718
+ this.deviceName = _data["deviceName"];
34719
+ this.deviceType = _data["deviceType"];
34720
+ this.deviceId = _data["deviceId"];
34721
+ this.commId = _data["commId"];
34722
+ this.description = _data["description"];
34723
+ this.zone = _data["zone"] ? ZoneDto.fromJS(_data["zone"]) : undefined;
34724
+ this.restrictDevice = _data["restrictDevice"];
34725
+ if (Array.isArray(_data["children"])) {
34726
+ this.children = [];
34727
+ for (let item of _data["children"])
34728
+ this.children.push(AccessProfileDeviceRestrictionDto.fromJS(item));
34729
+ }
34730
+ }
34731
+ }
34732
+ static fromJS(data) {
34733
+ data = typeof data === 'object' ? data : {};
34734
+ let result = new AccessProfileDeviceRestrictionDto();
34735
+ result.init(data);
34736
+ return result;
34737
+ }
34738
+ toJSON(data) {
34739
+ data = typeof data === 'object' ? data : {};
34740
+ data["id"] = this.id;
34741
+ data["isChild"] = this.isChild;
34742
+ data["childrenCount"] = this.childrenCount;
34743
+ data["parkId"] = this.parkId;
34744
+ data["parkName"] = this.parkName;
34745
+ data["deviceName"] = this.deviceName;
34746
+ data["deviceType"] = this.deviceType;
34747
+ data["deviceId"] = this.deviceId;
34748
+ data["commId"] = this.commId;
34749
+ data["description"] = this.description;
34750
+ data["zone"] = this.zone ? this.zone.toJSON() : undefined;
34751
+ data["restrictDevice"] = this.restrictDevice;
34752
+ if (Array.isArray(this.children)) {
34753
+ data["children"] = [];
34754
+ for (let item of this.children)
34755
+ data["children"].push(item.toJSON());
34756
+ }
34757
+ return data;
34758
+ }
34759
+ clone() {
34760
+ const json = this.toJSON();
34761
+ let result = new AccessProfileDeviceRestrictionDto();
34762
+ result.init(json);
34763
+ return result;
34764
+ }
34765
+ }
34766
+ class AccessProfileDeviceRestrictionDtoIEnumerableHttpResponseData {
34767
+ constructor(data) {
34768
+ if (data) {
34769
+ for (var property in data) {
34770
+ if (data.hasOwnProperty(property))
34771
+ this[property] = data[property];
34772
+ }
34773
+ }
34774
+ }
34775
+ init(_data) {
34776
+ if (_data) {
34777
+ this.errorMessage = _data["errorMessage"];
34778
+ this.isSuccess = _data["isSuccess"];
34779
+ this.statusCode = _data["statusCode"];
34780
+ if (Array.isArray(_data["data"])) {
34781
+ this.data = [];
34782
+ for (let item of _data["data"])
34783
+ this.data.push(AccessProfileDeviceRestrictionDto.fromJS(item));
34784
+ }
34785
+ this.successMessage = _data["successMessage"];
34786
+ }
34787
+ }
34788
+ static fromJS(data) {
34789
+ data = typeof data === 'object' ? data : {};
34790
+ let result = new AccessProfileDeviceRestrictionDtoIEnumerableHttpResponseData();
34791
+ result.init(data);
34792
+ return result;
34793
+ }
34794
+ toJSON(data) {
34795
+ data = typeof data === 'object' ? data : {};
34796
+ data["errorMessage"] = this.errorMessage;
34797
+ data["isSuccess"] = this.isSuccess;
34798
+ data["statusCode"] = this.statusCode;
34799
+ if (Array.isArray(this.data)) {
34800
+ data["data"] = [];
34801
+ for (let item of this.data)
34802
+ data["data"].push(item.toJSON());
34803
+ }
34804
+ data["successMessage"] = this.successMessage;
34805
+ return data;
34806
+ }
34807
+ clone() {
34808
+ const json = this.toJSON();
34809
+ let result = new AccessProfileDeviceRestrictionDtoIEnumerableHttpResponseData();
34810
+ result.init(json);
34811
+ return result;
34812
+ }
34813
+ }
34548
34814
  class AccessProfileDeviceRestrictionsDto {
34549
34815
  constructor(data) {
34550
34816
  if (data) {
@@ -35064,48 +35330,6 @@ var AccessProfileTypes;
35064
35330
  AccessProfileTypes[AccessProfileTypes["CompanyElectronicWallet"] = 5] = "CompanyElectronicWallet";
35065
35331
  AccessProfileTypes[AccessProfileTypes["PrepaidEvent"] = 6] = "PrepaidEvent";
35066
35332
  })(AccessProfileTypes || (AccessProfileTypes = {}));
35067
- class AccessTimeZone {
35068
- constructor(data) {
35069
- if (data) {
35070
- for (var property in data) {
35071
- if (data.hasOwnProperty(property))
35072
- this[property] = data[property];
35073
- }
35074
- }
35075
- }
35076
- init(_data) {
35077
- if (_data) {
35078
- this.id = _data["id"];
35079
- this.isDeleted = _data["isDeleted"];
35080
- this.accessProfileID = _data["accessProfileID"];
35081
- this.dayType = _data["dayType"];
35082
- this.fromHour = _data["fromHour"];
35083
- this.toHour = _data["toHour"];
35084
- }
35085
- }
35086
- static fromJS(data) {
35087
- data = typeof data === 'object' ? data : {};
35088
- let result = new AccessTimeZone();
35089
- result.init(data);
35090
- return result;
35091
- }
35092
- toJSON(data) {
35093
- data = typeof data === 'object' ? data : {};
35094
- data["id"] = this.id;
35095
- data["isDeleted"] = this.isDeleted;
35096
- data["accessProfileID"] = this.accessProfileID;
35097
- data["dayType"] = this.dayType;
35098
- data["fromHour"] = this.fromHour;
35099
- data["toHour"] = this.toHour;
35100
- return data;
35101
- }
35102
- clone() {
35103
- const json = this.toJSON();
35104
- let result = new AccessTimeZone();
35105
- result.init(json);
35106
- return result;
35107
- }
35108
- }
35109
35333
  class AccountContactDetails {
35110
35334
  constructor(data) {
35111
35335
  if (data) {
@@ -42846,6 +43070,58 @@ var DeviceType;
42846
43070
  DeviceType[DeviceType["Unknown"] = 255] = "Unknown";
42847
43071
  DeviceType[DeviceType["Master"] = -1] = "Master";
42848
43072
  })(DeviceType || (DeviceType = {}));
43073
+ class DevicesByParkingLotDto {
43074
+ constructor(data) {
43075
+ if (data) {
43076
+ for (var property in data) {
43077
+ if (data.hasOwnProperty(property))
43078
+ this[property] = data[property];
43079
+ }
43080
+ }
43081
+ }
43082
+ init(_data) {
43083
+ if (_data) {
43084
+ this.id = _data["id"];
43085
+ this.isChild = _data["isChild"];
43086
+ this.childrenCount = _data["childrenCount"];
43087
+ this.parkId = _data["parkId"];
43088
+ this.parkName = _data["parkName"];
43089
+ this.deviceName = _data["deviceName"];
43090
+ this.deviceType = _data["deviceType"];
43091
+ this.deviceId = _data["deviceId"];
43092
+ this.commId = _data["commId"];
43093
+ this.description = _data["description"];
43094
+ this.zone = _data["zone"] ? ZoneDto.fromJS(_data["zone"]) : undefined;
43095
+ }
43096
+ }
43097
+ static fromJS(data) {
43098
+ data = typeof data === 'object' ? data : {};
43099
+ let result = new DevicesByParkingLotDto();
43100
+ result.init(data);
43101
+ return result;
43102
+ }
43103
+ toJSON(data) {
43104
+ data = typeof data === 'object' ? data : {};
43105
+ data["id"] = this.id;
43106
+ data["isChild"] = this.isChild;
43107
+ data["childrenCount"] = this.childrenCount;
43108
+ data["parkId"] = this.parkId;
43109
+ data["parkName"] = this.parkName;
43110
+ data["deviceName"] = this.deviceName;
43111
+ data["deviceType"] = this.deviceType;
43112
+ data["deviceId"] = this.deviceId;
43113
+ data["commId"] = this.commId;
43114
+ data["description"] = this.description;
43115
+ data["zone"] = this.zone ? this.zone.toJSON() : undefined;
43116
+ return data;
43117
+ }
43118
+ clone() {
43119
+ const json = this.toJSON();
43120
+ let result = new DevicesByParkingLotDto();
43121
+ result.init(json);
43122
+ return result;
43123
+ }
43124
+ }
42849
43125
  class DevicesForDeviceGroupDto {
42850
43126
  constructor(data) {
42851
43127
  if (data) {
@@ -42858,7 +43134,8 @@ class DevicesForDeviceGroupDto {
42858
43134
  init(_data) {
42859
43135
  if (_data) {
42860
43136
  this.id = _data["id"];
42861
- this.rangeGroupDeviceId = _data["rangeGroupDeviceId"];
43137
+ this.isChild = _data["isChild"];
43138
+ this.childrenCount = _data["childrenCount"];
42862
43139
  this.parkId = _data["parkId"];
42863
43140
  this.parkName = _data["parkName"];
42864
43141
  this.deviceName = _data["deviceName"];
@@ -42867,11 +43144,12 @@ class DevicesForDeviceGroupDto {
42867
43144
  this.commId = _data["commId"];
42868
43145
  this.description = _data["description"];
42869
43146
  this.zone = _data["zone"] ? ZoneDto.fromJS(_data["zone"]) : undefined;
43147
+ this.rangeGroupDeviceId = _data["rangeGroupDeviceId"];
42870
43148
  this.range = _data["range"] ? RangeDto.fromJS(_data["range"]) : undefined;
42871
- if (Array.isArray(_data["rangeDeviceGroups"])) {
42872
- this.rangeDeviceGroups = [];
42873
- for (let item of _data["rangeDeviceGroups"])
42874
- this.rangeDeviceGroups.push(DevicesForDeviceGroupDto.fromJS(item));
43149
+ if (Array.isArray(_data["children"])) {
43150
+ this.children = [];
43151
+ for (let item of _data["children"])
43152
+ this.children.push(DevicesForDeviceGroupDto.fromJS(item));
42875
43153
  }
42876
43154
  }
42877
43155
  }
@@ -42884,7 +43162,8 @@ class DevicesForDeviceGroupDto {
42884
43162
  toJSON(data) {
42885
43163
  data = typeof data === 'object' ? data : {};
42886
43164
  data["id"] = this.id;
42887
- data["rangeGroupDeviceId"] = this.rangeGroupDeviceId;
43165
+ data["isChild"] = this.isChild;
43166
+ data["childrenCount"] = this.childrenCount;
42888
43167
  data["parkId"] = this.parkId;
42889
43168
  data["parkName"] = this.parkName;
42890
43169
  data["deviceName"] = this.deviceName;
@@ -42893,11 +43172,12 @@ class DevicesForDeviceGroupDto {
42893
43172
  data["commId"] = this.commId;
42894
43173
  data["description"] = this.description;
42895
43174
  data["zone"] = this.zone ? this.zone.toJSON() : undefined;
43175
+ data["rangeGroupDeviceId"] = this.rangeGroupDeviceId;
42896
43176
  data["range"] = this.range ? this.range.toJSON() : undefined;
42897
- if (Array.isArray(this.rangeDeviceGroups)) {
42898
- data["rangeDeviceGroups"] = [];
42899
- for (let item of this.rangeDeviceGroups)
42900
- data["rangeDeviceGroups"].push(item.toJSON());
43177
+ if (Array.isArray(this.children)) {
43178
+ data["children"] = [];
43179
+ for (let item of this.children)
43180
+ data["children"].push(item.toJSON());
42901
43181
  }
42902
43182
  return data;
42903
43183
  }
@@ -51663,7 +51943,6 @@ class RateByZone {
51663
51943
  if (_data) {
51664
51944
  this.id = _data["id"];
51665
51945
  this.isDeleted = _data["isDeleted"];
51666
- this.accessProfileID = _data["accessProfileID"];
51667
51946
  this.zoneId = _data["zoneId"];
51668
51947
  this.rateNumber = _data["rateNumber"];
51669
51948
  }
@@ -51678,7 +51957,6 @@ class RateByZone {
51678
51957
  data = typeof data === 'object' ? data : {};
51679
51958
  data["id"] = this.id;
51680
51959
  data["isDeleted"] = this.isDeleted;
51681
- data["accessProfileID"] = this.accessProfileID;
51682
51960
  data["zoneId"] = this.zoneId;
51683
51961
  data["rateNumber"] = this.rateNumber;
51684
51962
  return data;
@@ -57100,11 +57378,6 @@ class TimeAndDeviceRestrictions {
57100
57378
  this.chargeOnExitForViolation = _data["chargeOnExitForViolation"];
57101
57379
  this.accessProfileBasicRestrictions = _data["accessProfileBasicRestrictions"] ? AccessProfileBasicRestrictions.fromJS(_data["accessProfileBasicRestrictions"]) : undefined;
57102
57380
  this.accessProfileAdvancedRestrictions = _data["accessProfileAdvancedRestrictions"] ? AccessProfileAdvancedRestrictions.fromJS(_data["accessProfileAdvancedRestrictions"]) : undefined;
57103
- if (Array.isArray(_data["accessLanes"])) {
57104
- this.accessLanes = [];
57105
- for (let item of _data["accessLanes"])
57106
- this.accessLanes.push(AccessLane.fromJS(item));
57107
- }
57108
57381
  }
57109
57382
  }
57110
57383
  static fromJS(data) {
@@ -57122,11 +57395,6 @@ class TimeAndDeviceRestrictions {
57122
57395
  data["chargeOnExitForViolation"] = this.chargeOnExitForViolation;
57123
57396
  data["accessProfileBasicRestrictions"] = this.accessProfileBasicRestrictions ? this.accessProfileBasicRestrictions.toJSON() : undefined;
57124
57397
  data["accessProfileAdvancedRestrictions"] = this.accessProfileAdvancedRestrictions ? this.accessProfileAdvancedRestrictions.toJSON() : undefined;
57125
- if (Array.isArray(this.accessLanes)) {
57126
- data["accessLanes"] = [];
57127
- for (let item of this.accessLanes)
57128
- data["accessLanes"].push(item.toJSON());
57129
- }
57130
57398
  return data;
57131
57399
  }
57132
57400
  clone() {
@@ -60984,10 +61252,10 @@ class UpdateTimeRangeDto {
60984
61252
  init(_data) {
60985
61253
  if (_data) {
60986
61254
  this.id = _data["id"];
60987
- this.isDeleted = _data["isDeleted"];
60988
- this.dayType = _data["dayType"];
60989
61255
  this.fromHour = _data["fromHour"];
60990
61256
  this.toHour = _data["toHour"];
61257
+ this.dayType = _data["dayType"];
61258
+ this.isDeleted = _data["isDeleted"];
60991
61259
  }
60992
61260
  }
60993
61261
  static fromJS(data) {
@@ -60999,10 +61267,10 @@ class UpdateTimeRangeDto {
60999
61267
  toJSON(data) {
61000
61268
  data = typeof data === 'object' ? data : {};
61001
61269
  data["id"] = this.id;
61002
- data["isDeleted"] = this.isDeleted;
61003
- data["dayType"] = this.dayType;
61004
61270
  data["fromHour"] = this.fromHour;
61005
61271
  data["toHour"] = this.toHour;
61272
+ data["dayType"] = this.dayType;
61273
+ data["isDeleted"] = this.isDeleted;
61006
61274
  return data;
61007
61275
  }
61008
61276
  clone() {
@@ -62482,6 +62750,8 @@ var edgeServiceProxies = /*#__PURE__*/Object.freeze({
62482
62750
  get AccessProfileDayTypes () { return AccessProfileDayTypes; },
62483
62751
  AccessProfileDetailsDto: AccessProfileDetailsDto,
62484
62752
  AccessProfileDeviceGroupRestrictionsDto: AccessProfileDeviceGroupRestrictionsDto,
62753
+ AccessProfileDeviceRestrictionDto: AccessProfileDeviceRestrictionDto,
62754
+ AccessProfileDeviceRestrictionDtoIEnumerableHttpResponseData: AccessProfileDeviceRestrictionDtoIEnumerableHttpResponseData,
62485
62755
  AccessProfileDeviceRestrictionsDto: AccessProfileDeviceRestrictionsDto,
62486
62756
  get AccessProfileModeType () { return AccessProfileModeType; },
62487
62757
  AccessProfileMonthlyAndGuestDto: AccessProfileMonthlyAndGuestDto,
@@ -62498,7 +62768,6 @@ var edgeServiceProxies = /*#__PURE__*/Object.freeze({
62498
62768
  AccessProfileSettingsDto: AccessProfileSettingsDto,
62499
62769
  AccessProfileTimeAndDeviceRestrictionsDto: AccessProfileTimeAndDeviceRestrictionsDto,
62500
62770
  get AccessProfileTypes () { return AccessProfileTypes; },
62501
- AccessTimeZone: AccessTimeZone,
62502
62771
  AccountContactDetails: AccountContactDetails,
62503
62772
  AccountDefaultDetails: AccountDefaultDetails,
62504
62773
  AccountDefaultMonthlyGuestAccessConfigurationDto: AccountDefaultMonthlyGuestAccessConfigurationDto,
@@ -62689,6 +62958,7 @@ var edgeServiceProxies = /*#__PURE__*/Object.freeze({
62689
62958
  DeviceServiceProxy: DeviceServiceProxy,
62690
62959
  DeviceStatusDto: DeviceStatusDto,
62691
62960
  get DeviceType () { return DeviceType; },
62961
+ DevicesByParkingLotDto: DevicesByParkingLotDto,
62692
62962
  DevicesForDeviceGroupDto: DevicesForDeviceGroupDto,
62693
62963
  DevicesForDeviceGroupDtoIEnumerableHttpResponseData: DevicesForDeviceGroupDtoIEnumerableHttpResponseData,
62694
62964
  DevicesGroupDto: DevicesGroupDto,
@@ -66385,9 +66655,15 @@ var Localization;
66385
66655
  Localization["charge_on_exit_violation_of_time_restriction_tooltip"] = "charge_on_exit_violation_of_time_restriction_tooltip";
66386
66656
  Localization["for_access_profile_restrictions_select_time_to_device_groups"] = "for_access_profile_restrictions_select_time_to_device_groups";
66387
66657
  Localization["time_to_device_groups"] = "time_to_device_groups";
66658
+ Localization["validate_time_restrictions"] = "validate_time_restrictions";
66659
+ Localization["validate_time_restrictions_note"] = "validate_time_restrictions_note";
66660
+ Localization["device_restrictions_note"] = "device_restrictions_note";
66661
+ Localization["restrict_device"] = "restrict_device";
66388
66662
  Localization["no_time_to_device_group_selected"] = "no_time_to_device_group_selected";
66663
+ Localization["no_validate_time_restriction_selected"] = "no_validate_time_restriction_selected";
66389
66664
  Localization["access_profile_number_already_exists"] = "access_profile_number_already_exists";
66390
66665
  Localization["enable_ecommerce_access"] = "enable_ecommerce_access";
66666
+ Localization["no_results_device_by_parking_lot"] = "no_results_device_by_parking_lot";
66391
66667
  })(Localization || (Localization = {}));
66392
66668
 
66393
66669
  const DISABLED_FOCUS_ELEMENT_TYPES = [