@tiba-spark/client-shared-lib 10.3.0-609 → 10.3.0-623

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.
@@ -14152,7 +14152,7 @@ class AccessProfileServiceProxy {
14152
14152
  * @return Success
14153
14153
  */
14154
14154
  getAccessProfilesMonthliesAndGuests(parkId, profileTypes, orderBy_Column, orderBy_OrderDirection, searchValue, from, to, take, skip, guid) {
14155
- let url_ = this.baseUrl + "/api/services/sp/{guid}/accessprofile/monthlies-and-guests?";
14155
+ let url_ = this.baseUrl + "/api/services/sp/{guid}/accessprofile/monthly-and-guest?";
14156
14156
  if (guid === undefined || guid === null)
14157
14157
  throw new Error("The parameter 'guid' must be defined.");
14158
14158
  url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
@@ -14243,7 +14243,7 @@ class AccessProfileServiceProxy {
14243
14243
  * @return Success
14244
14244
  */
14245
14245
  createAccessProfileMonthlyAndGuest(guid, body) {
14246
- let url_ = this.baseUrl + "/api/services/sp/{guid}/accessprofile/monthlies-and-guests";
14246
+ let url_ = this.baseUrl + "/api/services/sp/{guid}/accessprofile/monthly-and-guest";
14247
14247
  if (guid === undefined || guid === null)
14248
14248
  throw new Error("The parameter 'guid' must be defined.");
14249
14249
  url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
@@ -14311,7 +14311,7 @@ class AccessProfileServiceProxy {
14311
14311
  * @return Success
14312
14312
  */
14313
14313
  updateAccessProfileMonthlyAndGuest(guid, body) {
14314
- let url_ = this.baseUrl + "/api/services/sp/{guid}/accessprofile/monthlies-and-guests";
14314
+ let url_ = this.baseUrl + "/api/services/sp/{guid}/accessprofile/monthly-and-guest";
14315
14315
  if (guid === undefined || guid === null)
14316
14316
  throw new Error("The parameter 'guid' must be defined.");
14317
14317
  url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
@@ -14377,8 +14377,8 @@ class AccessProfileServiceProxy {
14377
14377
  /**
14378
14378
  * @return Success
14379
14379
  */
14380
- accessProfileMonthlyAndGuestDeepSearch(parkId, entityId, guid) {
14381
- let url_ = this.baseUrl + "/api/services/sp/{guid}/accessprofile/monthlies-and-guests/facility/{parkId}/deep-search/{entityId}";
14380
+ getAccessProfileMonthlyAndGuestDeepSearch(parkId, entityId, guid) {
14381
+ let url_ = this.baseUrl + "/api/services/sp/{guid}/accessprofile/monthly-and-guest/facility/{parkId}/deep-search/{entityId}";
14382
14382
  if (parkId === undefined || parkId === null)
14383
14383
  throw new Error("The parameter 'parkId' must be defined.");
14384
14384
  url_ = url_.replace("{parkId}", encodeURIComponent("" + parkId));
@@ -14397,11 +14397,11 @@ class AccessProfileServiceProxy {
14397
14397
  })
14398
14398
  };
14399
14399
  return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
14400
- return this.processAccessProfileMonthlyAndGuestDeepSearch(response_);
14400
+ return this.processGetAccessProfileMonthlyAndGuestDeepSearch(response_);
14401
14401
  })).pipe(catchError((response_) => {
14402
14402
  if (response_ instanceof HttpResponseBase) {
14403
14403
  try {
14404
- return this.processAccessProfileMonthlyAndGuestDeepSearch(response_);
14404
+ return this.processGetAccessProfileMonthlyAndGuestDeepSearch(response_);
14405
14405
  }
14406
14406
  catch (e) {
14407
14407
  return throwError(e);
@@ -14411,7 +14411,7 @@ class AccessProfileServiceProxy {
14411
14411
  return throwError(response_);
14412
14412
  }));
14413
14413
  }
14414
- processAccessProfileMonthlyAndGuestDeepSearch(response) {
14414
+ processGetAccessProfileMonthlyAndGuestDeepSearch(response) {
14415
14415
  const status = response.status;
14416
14416
  const responseBlob = response instanceof HttpResponse ? response.body :
14417
14417
  response.error instanceof Blob ? response.error : undefined;
@@ -14444,6 +14444,76 @@ class AccessProfileServiceProxy {
14444
14444
  }
14445
14445
  return of(null);
14446
14446
  }
14447
+ /**
14448
+ * @return Success
14449
+ */
14450
+ getAccessProfileMonthlyAndGuestExtended(parkId, entityId, guid) {
14451
+ let url_ = this.baseUrl + "/api/services/sp/{guid}/accessprofile/monthly-and-guest/facility/{parkId}/extended/{entityId}";
14452
+ if (parkId === undefined || parkId === null)
14453
+ throw new Error("The parameter 'parkId' must be defined.");
14454
+ url_ = url_.replace("{parkId}", encodeURIComponent("" + parkId));
14455
+ if (entityId === undefined || entityId === null)
14456
+ throw new Error("The parameter 'entityId' must be defined.");
14457
+ url_ = url_.replace("{entityId}", encodeURIComponent("" + entityId));
14458
+ if (guid === undefined || guid === null)
14459
+ throw new Error("The parameter 'guid' must be defined.");
14460
+ url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
14461
+ url_ = url_.replace(/[?&]$/, "");
14462
+ let options_ = {
14463
+ observe: "response",
14464
+ responseType: "blob",
14465
+ headers: new HttpHeaders({
14466
+ "Accept": "text/plain"
14467
+ })
14468
+ };
14469
+ return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
14470
+ return this.processGetAccessProfileMonthlyAndGuestExtended(response_);
14471
+ })).pipe(catchError((response_) => {
14472
+ if (response_ instanceof HttpResponseBase) {
14473
+ try {
14474
+ return this.processGetAccessProfileMonthlyAndGuestExtended(response_);
14475
+ }
14476
+ catch (e) {
14477
+ return throwError(e);
14478
+ }
14479
+ }
14480
+ else
14481
+ return throwError(response_);
14482
+ }));
14483
+ }
14484
+ processGetAccessProfileMonthlyAndGuestExtended(response) {
14485
+ const status = response.status;
14486
+ const responseBlob = response instanceof HttpResponse ? response.body :
14487
+ response.error instanceof Blob ? response.error : undefined;
14488
+ let _headers = {};
14489
+ if (response.headers) {
14490
+ for (let key of response.headers.keys()) {
14491
+ _headers[key] = response.headers.get(key);
14492
+ }
14493
+ }
14494
+ if (status === 404) {
14495
+ return blobToText(responseBlob).pipe(mergeMap(_responseText => {
14496
+ let result404 = null;
14497
+ let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
14498
+ result404 = ProblemDetails.fromJS(resultData404);
14499
+ return throwException("Not Found", status, _responseText, _headers, result404);
14500
+ }));
14501
+ }
14502
+ else if (status === 200) {
14503
+ return blobToText(responseBlob).pipe(mergeMap(_responseText => {
14504
+ let result200 = null;
14505
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
14506
+ result200 = AccessProfileMonthlyAndGuestExtendedDtoHttpResponseData.fromJS(resultData200);
14507
+ return of(result200);
14508
+ }));
14509
+ }
14510
+ else if (status !== 200 && status !== 204) {
14511
+ return blobToText(responseBlob).pipe(mergeMap(_responseText => {
14512
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
14513
+ }));
14514
+ }
14515
+ return of(null);
14516
+ }
14447
14517
  /**
14448
14518
  * @param accessProfileId (optional)
14449
14519
  * @param parkId (optional)
@@ -14452,8 +14522,8 @@ class AccessProfileServiceProxy {
14452
14522
  * @param zoneIds (optional)
14453
14523
  * @return Success
14454
14524
  */
14455
- getAccessProfilesMonthliesAndGuestsDeviceRestriction(accessProfileId, parkId, searchValue, deviceTypes, zoneIds, guid) {
14456
- let url_ = this.baseUrl + "/api/services/sp/{guid}/accessprofile/monthlies-and-guests/device-restriction?";
14525
+ getAccessProfileMonthlyAndGuestDeviceRestriction(accessProfileId, parkId, searchValue, deviceTypes, zoneIds, guid) {
14526
+ let url_ = this.baseUrl + "/api/services/sp/{guid}/accessprofile/monthly-and-guest/device-restriction?";
14457
14527
  if (guid === undefined || guid === null)
14458
14528
  throw new Error("The parameter 'guid' must be defined.");
14459
14529
  url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
@@ -14478,11 +14548,11 @@ class AccessProfileServiceProxy {
14478
14548
  })
14479
14549
  };
14480
14550
  return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
14481
- return this.processGetAccessProfilesMonthliesAndGuestsDeviceRestriction(response_);
14551
+ return this.processGetAccessProfileMonthlyAndGuestDeviceRestriction(response_);
14482
14552
  })).pipe(catchError((response_) => {
14483
14553
  if (response_ instanceof HttpResponseBase) {
14484
14554
  try {
14485
- return this.processGetAccessProfilesMonthliesAndGuestsDeviceRestriction(response_);
14555
+ return this.processGetAccessProfileMonthlyAndGuestDeviceRestriction(response_);
14486
14556
  }
14487
14557
  catch (e) {
14488
14558
  return throwError(e);
@@ -14492,7 +14562,7 @@ class AccessProfileServiceProxy {
14492
14562
  return throwError(response_);
14493
14563
  }));
14494
14564
  }
14495
- processGetAccessProfilesMonthliesAndGuestsDeviceRestriction(response) {
14565
+ processGetAccessProfileMonthlyAndGuestDeviceRestriction(response) {
14496
14566
  const status = response.status;
14497
14567
  const responseBlob = response instanceof HttpResponse ? response.body :
14498
14568
  response.error instanceof Blob ? response.error : undefined;
@@ -14530,7 +14600,7 @@ class AccessProfileServiceProxy {
14530
14600
  * @return Success
14531
14601
  */
14532
14602
  deleteAccessProfileMonthlyAndGuest(id, parkId, guid) {
14533
- let url_ = this.baseUrl + "/api/services/sp/{guid}/accessprofile/monthlies-and-guests/{id}?";
14603
+ let url_ = this.baseUrl + "/api/services/sp/{guid}/accessprofile/monthly-and-guest/{id}?";
14534
14604
  if (id === undefined || id === null)
14535
14605
  throw new Error("The parameter 'id' must be defined.");
14536
14606
  url_ = url_.replace("{id}", encodeURIComponent("" + id));
@@ -34542,6 +34612,46 @@ class AccessProfileAdvancedRestrictions {
34542
34612
  return result;
34543
34613
  }
34544
34614
  }
34615
+ class AccessProfileAdvancedRestrictionsExtendedDto {
34616
+ constructor(data) {
34617
+ if (data) {
34618
+ for (var property in data) {
34619
+ if (data.hasOwnProperty(property))
34620
+ this[property] = data[property];
34621
+ }
34622
+ }
34623
+ }
34624
+ init(_data) {
34625
+ if (_data) {
34626
+ if (Array.isArray(_data["deviceGroupRestrictions"])) {
34627
+ this.deviceGroupRestrictions = [];
34628
+ for (let item of _data["deviceGroupRestrictions"])
34629
+ this.deviceGroupRestrictions.push(DeviceGroupRestrictionExtendedDto.fromJS(item));
34630
+ }
34631
+ }
34632
+ }
34633
+ static fromJS(data) {
34634
+ data = typeof data === 'object' ? data : {};
34635
+ let result = new AccessProfileAdvancedRestrictionsExtendedDto();
34636
+ result.init(data);
34637
+ return result;
34638
+ }
34639
+ toJSON(data) {
34640
+ data = typeof data === 'object' ? data : {};
34641
+ if (Array.isArray(this.deviceGroupRestrictions)) {
34642
+ data["deviceGroupRestrictions"] = [];
34643
+ for (let item of this.deviceGroupRestrictions)
34644
+ data["deviceGroupRestrictions"].push(item.toJSON());
34645
+ }
34646
+ return data;
34647
+ }
34648
+ clone() {
34649
+ const json = this.toJSON();
34650
+ let result = new AccessProfileAdvancedRestrictionsExtendedDto();
34651
+ result.init(json);
34652
+ return result;
34653
+ }
34654
+ }
34545
34655
  class AccessProfileBasicRestrictions {
34546
34656
  constructor(data) {
34547
34657
  if (data) {
@@ -34592,6 +34702,56 @@ class AccessProfileBasicRestrictions {
34592
34702
  return result;
34593
34703
  }
34594
34704
  }
34705
+ class AccessProfileBasicRestrictionsExtendedDto {
34706
+ constructor(data) {
34707
+ if (data) {
34708
+ for (var property in data) {
34709
+ if (data.hasOwnProperty(property))
34710
+ this[property] = data[property];
34711
+ }
34712
+ }
34713
+ }
34714
+ init(_data) {
34715
+ if (_data) {
34716
+ if (Array.isArray(_data["timeRestrictions"])) {
34717
+ this.timeRestrictions = [];
34718
+ for (let item of _data["timeRestrictions"])
34719
+ this.timeRestrictions.push(TimeRestrictionsExtendedDto.fromJS(item));
34720
+ }
34721
+ if (Array.isArray(_data["laneRestrictions"])) {
34722
+ this.laneRestrictions = [];
34723
+ for (let item of _data["laneRestrictions"])
34724
+ this.laneRestrictions.push(LaneRestrictionExtendedDto.fromJS(item));
34725
+ }
34726
+ }
34727
+ }
34728
+ static fromJS(data) {
34729
+ data = typeof data === 'object' ? data : {};
34730
+ let result = new AccessProfileBasicRestrictionsExtendedDto();
34731
+ result.init(data);
34732
+ return result;
34733
+ }
34734
+ toJSON(data) {
34735
+ data = typeof data === 'object' ? data : {};
34736
+ if (Array.isArray(this.timeRestrictions)) {
34737
+ data["timeRestrictions"] = [];
34738
+ for (let item of this.timeRestrictions)
34739
+ data["timeRestrictions"].push(item.toJSON());
34740
+ }
34741
+ if (Array.isArray(this.laneRestrictions)) {
34742
+ data["laneRestrictions"] = [];
34743
+ for (let item of this.laneRestrictions)
34744
+ data["laneRestrictions"].push(item.toJSON());
34745
+ }
34746
+ return data;
34747
+ }
34748
+ clone() {
34749
+ const json = this.toJSON();
34750
+ let result = new AccessProfileBasicRestrictionsExtendedDto();
34751
+ result.init(json);
34752
+ return result;
34753
+ }
34754
+ }
34595
34755
  var AccessProfileChangeValidTypes;
34596
34756
  (function (AccessProfileChangeValidTypes) {
34597
34757
  AccessProfileChangeValidTypes[AccessProfileChangeValidTypes["VoucherTime"] = 1] = "VoucherTime";
@@ -34615,6 +34775,44 @@ var AccessProfileDayTypes;
34615
34775
  AccessProfileDayTypes[AccessProfileDayTypes["SpecialDay4"] = 14] = "SpecialDay4";
34616
34776
  AccessProfileDayTypes[AccessProfileDayTypes["SpecialDay5"] = 15] = "SpecialDay5";
34617
34777
  })(AccessProfileDayTypes || (AccessProfileDayTypes = {}));
34778
+ class AccessProfileDetails {
34779
+ constructor(data) {
34780
+ if (data) {
34781
+ for (var property in data) {
34782
+ if (data.hasOwnProperty(property))
34783
+ this[property] = data[property];
34784
+ }
34785
+ }
34786
+ }
34787
+ init(_data) {
34788
+ if (_data) {
34789
+ this.name = _data["name"];
34790
+ this.description = _data["description"];
34791
+ this.number = _data["number"];
34792
+ this.type = _data["type"];
34793
+ }
34794
+ }
34795
+ static fromJS(data) {
34796
+ data = typeof data === 'object' ? data : {};
34797
+ let result = new AccessProfileDetails();
34798
+ result.init(data);
34799
+ return result;
34800
+ }
34801
+ toJSON(data) {
34802
+ data = typeof data === 'object' ? data : {};
34803
+ data["name"] = this.name;
34804
+ data["description"] = this.description;
34805
+ data["number"] = this.number;
34806
+ data["type"] = this.type;
34807
+ return data;
34808
+ }
34809
+ clone() {
34810
+ const json = this.toJSON();
34811
+ let result = new AccessProfileDetails();
34812
+ result.init(json);
34813
+ return result;
34814
+ }
34815
+ }
34618
34816
  class AccessProfileDetailsDto {
34619
34817
  constructor(data) {
34620
34818
  if (data) {
@@ -34655,6 +34853,44 @@ class AccessProfileDetailsDto {
34655
34853
  return result;
34656
34854
  }
34657
34855
  }
34856
+ class AccessProfileDetailsExtendedDto {
34857
+ constructor(data) {
34858
+ if (data) {
34859
+ for (var property in data) {
34860
+ if (data.hasOwnProperty(property))
34861
+ this[property] = data[property];
34862
+ }
34863
+ }
34864
+ }
34865
+ init(_data) {
34866
+ if (_data) {
34867
+ this.name = _data["name"];
34868
+ this.description = _data["description"];
34869
+ this.number = _data["number"];
34870
+ this.type = _data["type"];
34871
+ }
34872
+ }
34873
+ static fromJS(data) {
34874
+ data = typeof data === 'object' ? data : {};
34875
+ let result = new AccessProfileDetailsExtendedDto();
34876
+ result.init(data);
34877
+ return result;
34878
+ }
34879
+ toJSON(data) {
34880
+ data = typeof data === 'object' ? data : {};
34881
+ data["name"] = this.name;
34882
+ data["description"] = this.description;
34883
+ data["number"] = this.number;
34884
+ data["type"] = this.type;
34885
+ return data;
34886
+ }
34887
+ clone() {
34888
+ const json = this.toJSON();
34889
+ let result = new AccessProfileDetailsExtendedDto();
34890
+ result.init(json);
34891
+ return result;
34892
+ }
34893
+ }
34658
34894
  class AccessProfileDeviceGroupRestrictionsDto {
34659
34895
  constructor(data) {
34660
34896
  if (data) {
@@ -35045,6 +35281,88 @@ class AccessProfileMonthlyAndGuestDtoHttpResponseData {
35045
35281
  return result;
35046
35282
  }
35047
35283
  }
35284
+ class AccessProfileMonthlyAndGuestExtendedDto {
35285
+ constructor(data) {
35286
+ if (data) {
35287
+ for (var property in data) {
35288
+ if (data.hasOwnProperty(property))
35289
+ this[property] = data[property];
35290
+ }
35291
+ }
35292
+ }
35293
+ init(_data) {
35294
+ if (_data) {
35295
+ this.id = _data["id"];
35296
+ this.parkId = _data["parkId"];
35297
+ this.details = _data["details"] ? AccessProfileDetailsExtendedDto.fromJS(_data["details"]) : undefined;
35298
+ this.settings = _data["settings"] ? AccessProfileSettingsExtendedDto.fromJS(_data["settings"]) : undefined;
35299
+ this.renewalSettings = _data["renewalSettings"] ? AccessProfileRenewalSettingsExtendedDto.fromJS(_data["renewalSettings"]) : undefined;
35300
+ this.restrictions = _data["restrictions"] ? AccessProfileRestrictionsExtendedDto.fromJS(_data["restrictions"]) : undefined;
35301
+ }
35302
+ }
35303
+ static fromJS(data) {
35304
+ data = typeof data === 'object' ? data : {};
35305
+ let result = new AccessProfileMonthlyAndGuestExtendedDto();
35306
+ result.init(data);
35307
+ return result;
35308
+ }
35309
+ toJSON(data) {
35310
+ data = typeof data === 'object' ? data : {};
35311
+ data["id"] = this.id;
35312
+ data["parkId"] = this.parkId;
35313
+ data["details"] = this.details ? this.details.toJSON() : undefined;
35314
+ data["settings"] = this.settings ? this.settings.toJSON() : undefined;
35315
+ data["renewalSettings"] = this.renewalSettings ? this.renewalSettings.toJSON() : undefined;
35316
+ data["restrictions"] = this.restrictions ? this.restrictions.toJSON() : undefined;
35317
+ return data;
35318
+ }
35319
+ clone() {
35320
+ const json = this.toJSON();
35321
+ let result = new AccessProfileMonthlyAndGuestExtendedDto();
35322
+ result.init(json);
35323
+ return result;
35324
+ }
35325
+ }
35326
+ class AccessProfileMonthlyAndGuestExtendedDtoHttpResponseData {
35327
+ constructor(data) {
35328
+ if (data) {
35329
+ for (var property in data) {
35330
+ if (data.hasOwnProperty(property))
35331
+ this[property] = data[property];
35332
+ }
35333
+ }
35334
+ }
35335
+ init(_data) {
35336
+ if (_data) {
35337
+ this.errorMessage = _data["errorMessage"];
35338
+ this.isSuccess = _data["isSuccess"];
35339
+ this.statusCode = _data["statusCode"];
35340
+ this.data = _data["data"] ? AccessProfileMonthlyAndGuestExtendedDto.fromJS(_data["data"]) : undefined;
35341
+ this.successMessage = _data["successMessage"];
35342
+ }
35343
+ }
35344
+ static fromJS(data) {
35345
+ data = typeof data === 'object' ? data : {};
35346
+ let result = new AccessProfileMonthlyAndGuestExtendedDtoHttpResponseData();
35347
+ result.init(data);
35348
+ return result;
35349
+ }
35350
+ toJSON(data) {
35351
+ data = typeof data === 'object' ? data : {};
35352
+ data["errorMessage"] = this.errorMessage;
35353
+ data["isSuccess"] = this.isSuccess;
35354
+ data["statusCode"] = this.statusCode;
35355
+ data["data"] = this.data ? this.data.toJSON() : undefined;
35356
+ data["successMessage"] = this.successMessage;
35357
+ return data;
35358
+ }
35359
+ clone() {
35360
+ const json = this.toJSON();
35361
+ let result = new AccessProfileMonthlyAndGuestExtendedDtoHttpResponseData();
35362
+ result.init(json);
35363
+ return result;
35364
+ }
35365
+ }
35048
35366
  class AccessProfileMonthlyAndGuestSectionsDto {
35049
35367
  constructor(data) {
35050
35368
  if (data) {
@@ -35205,12 +35523,266 @@ var AccessProfilePrintFieldTypes;
35205
35523
  AccessProfilePrintFieldTypes[AccessProfilePrintFieldTypes["GuestValidity"] = 8] = "GuestValidity";
35206
35524
  AccessProfilePrintFieldTypes[AccessProfilePrintFieldTypes["Prepaid"] = 16] = "Prepaid";
35207
35525
  })(AccessProfilePrintFieldTypes || (AccessProfilePrintFieldTypes = {}));
35526
+ class AccessProfileRenewalSettings {
35527
+ constructor(data) {
35528
+ if (data) {
35529
+ for (var property in data) {
35530
+ if (data.hasOwnProperty(property))
35531
+ this[property] = data[property];
35532
+ }
35533
+ }
35534
+ }
35535
+ init(_data) {
35536
+ if (_data) {
35537
+ this.isMonthlyRenewalEnabled = _data["isMonthlyRenewalEnabled"];
35538
+ this.monthlyRenewalSettings1 = _data["monthlyRenewalSettings1"] ? MonthlyRenewalSettingsDto.fromJS(_data["monthlyRenewalSettings1"]) : undefined;
35539
+ this.monthlyRenewalSettings2 = _data["monthlyRenewalSettings2"] ? MonthlyRenewalSettingsDto.fromJS(_data["monthlyRenewalSettings2"]) : undefined;
35540
+ this.monthlyRenewalSettings3 = _data["monthlyRenewalSettings3"] ? MonthlyRenewalSettingsDto.fromJS(_data["monthlyRenewalSettings3"]) : undefined;
35541
+ this.priceTableNumber = _data["priceTableNumber"];
35542
+ this.priceTableValue = _data["priceTableValue"];
35543
+ }
35544
+ }
35545
+ static fromJS(data) {
35546
+ data = typeof data === 'object' ? data : {};
35547
+ let result = new AccessProfileRenewalSettings();
35548
+ result.init(data);
35549
+ return result;
35550
+ }
35551
+ toJSON(data) {
35552
+ data = typeof data === 'object' ? data : {};
35553
+ data["isMonthlyRenewalEnabled"] = this.isMonthlyRenewalEnabled;
35554
+ data["monthlyRenewalSettings1"] = this.monthlyRenewalSettings1 ? this.monthlyRenewalSettings1.toJSON() : undefined;
35555
+ data["monthlyRenewalSettings2"] = this.monthlyRenewalSettings2 ? this.monthlyRenewalSettings2.toJSON() : undefined;
35556
+ data["monthlyRenewalSettings3"] = this.monthlyRenewalSettings3 ? this.monthlyRenewalSettings3.toJSON() : undefined;
35557
+ data["priceTableNumber"] = this.priceTableNumber;
35558
+ data["priceTableValue"] = this.priceTableValue;
35559
+ return data;
35560
+ }
35561
+ clone() {
35562
+ const json = this.toJSON();
35563
+ let result = new AccessProfileRenewalSettings();
35564
+ result.init(json);
35565
+ return result;
35566
+ }
35567
+ }
35568
+ class AccessProfileRenewalSettingsExtendedDto {
35569
+ constructor(data) {
35570
+ if (data) {
35571
+ for (var property in data) {
35572
+ if (data.hasOwnProperty(property))
35573
+ this[property] = data[property];
35574
+ }
35575
+ }
35576
+ }
35577
+ init(_data) {
35578
+ if (_data) {
35579
+ this.isMonthlyRenewalEnabled = _data["isMonthlyRenewalEnabled"];
35580
+ this.monthlyRenewalSettings1 = _data["monthlyRenewalSettings1"] ? MonthlyRenewalSettingsDto.fromJS(_data["monthlyRenewalSettings1"]) : undefined;
35581
+ this.monthlyRenewalSettings2 = _data["monthlyRenewalSettings2"] ? MonthlyRenewalSettingsDto.fromJS(_data["monthlyRenewalSettings2"]) : undefined;
35582
+ this.monthlyRenewalSettings3 = _data["monthlyRenewalSettings3"] ? MonthlyRenewalSettingsDto.fromJS(_data["monthlyRenewalSettings3"]) : undefined;
35583
+ this.priceTable = _data["priceTable"] ? BaseRateDto.fromJS(_data["priceTable"]) : undefined;
35584
+ this.priceTableValue = _data["priceTableValue"];
35585
+ }
35586
+ }
35587
+ static fromJS(data) {
35588
+ data = typeof data === 'object' ? data : {};
35589
+ let result = new AccessProfileRenewalSettingsExtendedDto();
35590
+ result.init(data);
35591
+ return result;
35592
+ }
35593
+ toJSON(data) {
35594
+ data = typeof data === 'object' ? data : {};
35595
+ data["isMonthlyRenewalEnabled"] = this.isMonthlyRenewalEnabled;
35596
+ data["monthlyRenewalSettings1"] = this.monthlyRenewalSettings1 ? this.monthlyRenewalSettings1.toJSON() : undefined;
35597
+ data["monthlyRenewalSettings2"] = this.monthlyRenewalSettings2 ? this.monthlyRenewalSettings2.toJSON() : undefined;
35598
+ data["monthlyRenewalSettings3"] = this.monthlyRenewalSettings3 ? this.monthlyRenewalSettings3.toJSON() : undefined;
35599
+ data["priceTable"] = this.priceTable ? this.priceTable.toJSON() : undefined;
35600
+ data["priceTableValue"] = this.priceTableValue;
35601
+ return data;
35602
+ }
35603
+ clone() {
35604
+ const json = this.toJSON();
35605
+ let result = new AccessProfileRenewalSettingsExtendedDto();
35606
+ result.init(json);
35607
+ return result;
35608
+ }
35609
+ }
35208
35610
  var AccessProfileRestrictionTypes;
35209
35611
  (function (AccessProfileRestrictionTypes) {
35210
35612
  AccessProfileRestrictionTypes[AccessProfileRestrictionTypes["NoRestrictions"] = 1] = "NoRestrictions";
35211
35613
  AccessProfileRestrictionTypes[AccessProfileRestrictionTypes["BasicRestrictions"] = 2] = "BasicRestrictions";
35212
35614
  AccessProfileRestrictionTypes[AccessProfileRestrictionTypes["AdvancedRestrictions"] = 3] = "AdvancedRestrictions";
35213
35615
  })(AccessProfileRestrictionTypes || (AccessProfileRestrictionTypes = {}));
35616
+ class AccessProfileRestrictions {
35617
+ constructor(data) {
35618
+ if (data) {
35619
+ for (var property in data) {
35620
+ if (data.hasOwnProperty(property))
35621
+ this[property] = data[property];
35622
+ }
35623
+ }
35624
+ }
35625
+ init(_data) {
35626
+ if (_data) {
35627
+ this.restrictionType = _data["restrictionType"];
35628
+ this.isValidateOnEntriesEnabled = _data["isValidateOnEntriesEnabled"];
35629
+ this.isValidateOnExitsEnabled = _data["isValidateOnExitsEnabled"];
35630
+ this.isValidateOnSpecialDaysEnabled = _data["isValidateOnSpecialDaysEnabled"];
35631
+ this.isChargeOnExitForViolation = _data["isChargeOnExitForViolation"];
35632
+ this.chargeOnExitForViolation = _data["chargeOnExitForViolation"];
35633
+ this.basicRestrictions = _data["basicRestrictions"] ? AccessProfileBasicRestrictions.fromJS(_data["basicRestrictions"]) : undefined;
35634
+ this.advancedRestrictions = _data["advancedRestrictions"] ? AccessProfileAdvancedRestrictions.fromJS(_data["advancedRestrictions"]) : undefined;
35635
+ }
35636
+ }
35637
+ static fromJS(data) {
35638
+ data = typeof data === 'object' ? data : {};
35639
+ let result = new AccessProfileRestrictions();
35640
+ result.init(data);
35641
+ return result;
35642
+ }
35643
+ toJSON(data) {
35644
+ data = typeof data === 'object' ? data : {};
35645
+ data["restrictionType"] = this.restrictionType;
35646
+ data["isValidateOnEntriesEnabled"] = this.isValidateOnEntriesEnabled;
35647
+ data["isValidateOnExitsEnabled"] = this.isValidateOnExitsEnabled;
35648
+ data["isValidateOnSpecialDaysEnabled"] = this.isValidateOnSpecialDaysEnabled;
35649
+ data["isChargeOnExitForViolation"] = this.isChargeOnExitForViolation;
35650
+ data["chargeOnExitForViolation"] = this.chargeOnExitForViolation;
35651
+ data["basicRestrictions"] = this.basicRestrictions ? this.basicRestrictions.toJSON() : undefined;
35652
+ data["advancedRestrictions"] = this.advancedRestrictions ? this.advancedRestrictions.toJSON() : undefined;
35653
+ return data;
35654
+ }
35655
+ clone() {
35656
+ const json = this.toJSON();
35657
+ let result = new AccessProfileRestrictions();
35658
+ result.init(json);
35659
+ return result;
35660
+ }
35661
+ }
35662
+ class AccessProfileRestrictionsExtendedDto {
35663
+ constructor(data) {
35664
+ if (data) {
35665
+ for (var property in data) {
35666
+ if (data.hasOwnProperty(property))
35667
+ this[property] = data[property];
35668
+ }
35669
+ }
35670
+ }
35671
+ init(_data) {
35672
+ if (_data) {
35673
+ this.restrictionType = _data["restrictionType"];
35674
+ this.isValidateOnEntriesEnabled = _data["isValidateOnEntriesEnabled"];
35675
+ this.isValidateOnExitsEnabled = _data["isValidateOnExitsEnabled"];
35676
+ this.isValidateOnSpecialDaysEnabled = _data["isValidateOnSpecialDaysEnabled"];
35677
+ this.isChargeOnExitForViolationEnabled = _data["isChargeOnExitForViolationEnabled"];
35678
+ this.chargeOnExitForViolationRate = _data["chargeOnExitForViolationRate"] ? BaseRateDto.fromJS(_data["chargeOnExitForViolationRate"]) : undefined;
35679
+ this.basicRestrictions = _data["basicRestrictions"] ? AccessProfileBasicRestrictionsExtendedDto.fromJS(_data["basicRestrictions"]) : undefined;
35680
+ this.advancedRestrictions = _data["advancedRestrictions"] ? AccessProfileAdvancedRestrictionsExtendedDto.fromJS(_data["advancedRestrictions"]) : undefined;
35681
+ }
35682
+ }
35683
+ static fromJS(data) {
35684
+ data = typeof data === 'object' ? data : {};
35685
+ let result = new AccessProfileRestrictionsExtendedDto();
35686
+ result.init(data);
35687
+ return result;
35688
+ }
35689
+ toJSON(data) {
35690
+ data = typeof data === 'object' ? data : {};
35691
+ data["restrictionType"] = this.restrictionType;
35692
+ data["isValidateOnEntriesEnabled"] = this.isValidateOnEntriesEnabled;
35693
+ data["isValidateOnExitsEnabled"] = this.isValidateOnExitsEnabled;
35694
+ data["isValidateOnSpecialDaysEnabled"] = this.isValidateOnSpecialDaysEnabled;
35695
+ data["isChargeOnExitForViolationEnabled"] = this.isChargeOnExitForViolationEnabled;
35696
+ data["chargeOnExitForViolationRate"] = this.chargeOnExitForViolationRate ? this.chargeOnExitForViolationRate.toJSON() : undefined;
35697
+ data["basicRestrictions"] = this.basicRestrictions ? this.basicRestrictions.toJSON() : undefined;
35698
+ data["advancedRestrictions"] = this.advancedRestrictions ? this.advancedRestrictions.toJSON() : undefined;
35699
+ return data;
35700
+ }
35701
+ clone() {
35702
+ const json = this.toJSON();
35703
+ let result = new AccessProfileRestrictionsExtendedDto();
35704
+ result.init(json);
35705
+ return result;
35706
+ }
35707
+ }
35708
+ class AccessProfileSettings {
35709
+ constructor(data) {
35710
+ if (data) {
35711
+ for (var property in data) {
35712
+ if (data.hasOwnProperty(property))
35713
+ this[property] = data[property];
35714
+ }
35715
+ }
35716
+ }
35717
+ init(_data) {
35718
+ if (_data) {
35719
+ this.isLprIdentificationAccessEnabled = _data["isLprIdentificationAccessEnabled"];
35720
+ this.ticketRateChangeNumber = _data["ticketRateChangeNumber"];
35721
+ this.timeBetweenTicketRateChange = _data["timeBetweenTicketRateChange"];
35722
+ this.isOpenRelay4AtEntryEnabled = _data["isOpenRelay4AtEntryEnabled"];
35723
+ if (Array.isArray(_data["ratesByZones"])) {
35724
+ this.ratesByZones = [];
35725
+ for (let item of _data["ratesByZones"])
35726
+ this.ratesByZones.push(RateByZone.fromJS(item));
35727
+ }
35728
+ this.overflowRateNumber = _data["overflowRateNumber"];
35729
+ this.discountProfileNumber = _data["discountProfileNumber"];
35730
+ this.entriesQuantity = _data["entriesQuantity"];
35731
+ this.isSubParkEntryEnabled = _data["isSubParkEntryEnabled"];
35732
+ this.changeValidType = _data["changeValidType"];
35733
+ this.changeValidTime = _data["changeValidTime"];
35734
+ this.isEnableIO = _data["isEnableIO"];
35735
+ this.payInAdvancedPrice = _data["payInAdvancedPrice"];
35736
+ this.isPrintEntryTicketAutomaticallyEnabled = _data["isPrintEntryTicketAutomaticallyEnabled"];
35737
+ this.printFields = _data["printFields"];
35738
+ this.paymentMethodType = _data["paymentMethodType"];
35739
+ this.paymentMethodRateNumber = _data["paymentMethodRateNumber"];
35740
+ this.isBlockedWallet = _data["isBlockedWallet"];
35741
+ this.blockEWalletLessThanBalance = _data["blockEWalletLessThanBalance"];
35742
+ this.rateNumber = _data["rateNumber"];
35743
+ }
35744
+ }
35745
+ static fromJS(data) {
35746
+ data = typeof data === 'object' ? data : {};
35747
+ let result = new AccessProfileSettings();
35748
+ result.init(data);
35749
+ return result;
35750
+ }
35751
+ toJSON(data) {
35752
+ data = typeof data === 'object' ? data : {};
35753
+ data["isLprIdentificationAccessEnabled"] = this.isLprIdentificationAccessEnabled;
35754
+ data["ticketRateChangeNumber"] = this.ticketRateChangeNumber;
35755
+ data["timeBetweenTicketRateChange"] = this.timeBetweenTicketRateChange;
35756
+ data["isOpenRelay4AtEntryEnabled"] = this.isOpenRelay4AtEntryEnabled;
35757
+ if (Array.isArray(this.ratesByZones)) {
35758
+ data["ratesByZones"] = [];
35759
+ for (let item of this.ratesByZones)
35760
+ data["ratesByZones"].push(item.toJSON());
35761
+ }
35762
+ data["overflowRateNumber"] = this.overflowRateNumber;
35763
+ data["discountProfileNumber"] = this.discountProfileNumber;
35764
+ data["entriesQuantity"] = this.entriesQuantity;
35765
+ data["isSubParkEntryEnabled"] = this.isSubParkEntryEnabled;
35766
+ data["changeValidType"] = this.changeValidType;
35767
+ data["changeValidTime"] = this.changeValidTime;
35768
+ data["isEnableIO"] = this.isEnableIO;
35769
+ data["payInAdvancedPrice"] = this.payInAdvancedPrice;
35770
+ data["isPrintEntryTicketAutomaticallyEnabled"] = this.isPrintEntryTicketAutomaticallyEnabled;
35771
+ data["printFields"] = this.printFields;
35772
+ data["paymentMethodType"] = this.paymentMethodType;
35773
+ data["paymentMethodRateNumber"] = this.paymentMethodRateNumber;
35774
+ data["isBlockedWallet"] = this.isBlockedWallet;
35775
+ data["blockEWalletLessThanBalance"] = this.blockEWalletLessThanBalance;
35776
+ data["rateNumber"] = this.rateNumber;
35777
+ return data;
35778
+ }
35779
+ clone() {
35780
+ const json = this.toJSON();
35781
+ let result = new AccessProfileSettings();
35782
+ result.init(json);
35783
+ return result;
35784
+ }
35785
+ }
35214
35786
  class AccessProfileSettingsDto {
35215
35787
  constructor(data) {
35216
35788
  if (data) {
@@ -35259,6 +35831,84 @@ class AccessProfileSettingsDto {
35259
35831
  return result;
35260
35832
  }
35261
35833
  }
35834
+ class AccessProfileSettingsExtendedDto {
35835
+ constructor(data) {
35836
+ if (data) {
35837
+ for (var property in data) {
35838
+ if (data.hasOwnProperty(property))
35839
+ this[property] = data[property];
35840
+ }
35841
+ }
35842
+ }
35843
+ init(_data) {
35844
+ if (_data) {
35845
+ this.isLprIdentificationAccessEnabled = _data["isLprIdentificationAccessEnabled"];
35846
+ this.ticketRateChange = _data["ticketRateChange"] ? BaseRateDto.fromJS(_data["ticketRateChange"]) : undefined;
35847
+ this.timeBetweenTicketRateChange = _data["timeBetweenTicketRateChange"];
35848
+ this.isOpenRelay4AtEntryEnabled = _data["isOpenRelay4AtEntryEnabled"];
35849
+ this.rate = _data["rate"] ? BaseRateDto.fromJS(_data["rate"]) : undefined;
35850
+ this.overflowRate = _data["overflowRate"] ? BaseRateDto.fromJS(_data["overflowRate"]) : undefined;
35851
+ this.discountProfile = _data["discountProfile"] ? ValidationTypeDto.fromJS(_data["discountProfile"]) : undefined;
35852
+ this.entriesQuantity = _data["entriesQuantity"];
35853
+ this.isSubParkEntryEnabled = _data["isSubParkEntryEnabled"];
35854
+ this.changeValidType = _data["changeValidType"];
35855
+ this.changeValidTime = _data["changeValidTime"];
35856
+ this.isEnableIO = _data["isEnableIO"];
35857
+ this.payInAdvancedPrice = _data["payInAdvancedPrice"];
35858
+ this.isPrintEntryTicketAutomaticallyEnabled = _data["isPrintEntryTicketAutomaticallyEnabled"];
35859
+ this.printFields = _data["printFields"];
35860
+ this.paymentMethodType = _data["paymentMethodType"];
35861
+ this.paymentMethodRate = _data["paymentMethodRate"] ? BaseRateDto.fromJS(_data["paymentMethodRate"]) : undefined;
35862
+ this.isBlockEWalletLessThanBalanceEnabled = _data["isBlockEWalletLessThanBalanceEnabled"];
35863
+ this.blockEWalletLessThanBalance = _data["blockEWalletLessThanBalance"];
35864
+ if (Array.isArray(_data["ratesByZones"])) {
35865
+ this.ratesByZones = [];
35866
+ for (let item of _data["ratesByZones"])
35867
+ this.ratesByZones.push(RateByZoneExtendedDto.fromJS(item));
35868
+ }
35869
+ }
35870
+ }
35871
+ static fromJS(data) {
35872
+ data = typeof data === 'object' ? data : {};
35873
+ let result = new AccessProfileSettingsExtendedDto();
35874
+ result.init(data);
35875
+ return result;
35876
+ }
35877
+ toJSON(data) {
35878
+ data = typeof data === 'object' ? data : {};
35879
+ data["isLprIdentificationAccessEnabled"] = this.isLprIdentificationAccessEnabled;
35880
+ data["ticketRateChange"] = this.ticketRateChange ? this.ticketRateChange.toJSON() : undefined;
35881
+ data["timeBetweenTicketRateChange"] = this.timeBetweenTicketRateChange;
35882
+ data["isOpenRelay4AtEntryEnabled"] = this.isOpenRelay4AtEntryEnabled;
35883
+ data["rate"] = this.rate ? this.rate.toJSON() : undefined;
35884
+ data["overflowRate"] = this.overflowRate ? this.overflowRate.toJSON() : undefined;
35885
+ data["discountProfile"] = this.discountProfile ? this.discountProfile.toJSON() : undefined;
35886
+ data["entriesQuantity"] = this.entriesQuantity;
35887
+ data["isSubParkEntryEnabled"] = this.isSubParkEntryEnabled;
35888
+ data["changeValidType"] = this.changeValidType;
35889
+ data["changeValidTime"] = this.changeValidTime;
35890
+ data["isEnableIO"] = this.isEnableIO;
35891
+ data["payInAdvancedPrice"] = this.payInAdvancedPrice;
35892
+ data["isPrintEntryTicketAutomaticallyEnabled"] = this.isPrintEntryTicketAutomaticallyEnabled;
35893
+ data["printFields"] = this.printFields;
35894
+ data["paymentMethodType"] = this.paymentMethodType;
35895
+ data["paymentMethodRate"] = this.paymentMethodRate ? this.paymentMethodRate.toJSON() : undefined;
35896
+ data["isBlockEWalletLessThanBalanceEnabled"] = this.isBlockEWalletLessThanBalanceEnabled;
35897
+ data["blockEWalletLessThanBalance"] = this.blockEWalletLessThanBalance;
35898
+ if (Array.isArray(this.ratesByZones)) {
35899
+ data["ratesByZones"] = [];
35900
+ for (let item of this.ratesByZones)
35901
+ data["ratesByZones"].push(item.toJSON());
35902
+ }
35903
+ return data;
35904
+ }
35905
+ clone() {
35906
+ const json = this.toJSON();
35907
+ let result = new AccessProfileSettingsExtendedDto();
35908
+ result.init(json);
35909
+ return result;
35910
+ }
35911
+ }
35262
35912
  class AccessProfileTimeAndDeviceRestrictionsDto {
35263
35913
  constructor(data) {
35264
35914
  if (data) {
@@ -39980,6 +40630,46 @@ class CouponSectionsDtoHttpResponseData {
39980
40630
  return result;
39981
40631
  }
39982
40632
  }
40633
+ class CreateAccessProfileMonthlyAndGuestCommand {
40634
+ constructor(data) {
40635
+ if (data) {
40636
+ for (var property in data) {
40637
+ if (data.hasOwnProperty(property))
40638
+ this[property] = data[property];
40639
+ }
40640
+ }
40641
+ }
40642
+ init(_data) {
40643
+ if (_data) {
40644
+ this.parkId = _data["parkId"];
40645
+ this.details = _data["details"] ? AccessProfileDetails.fromJS(_data["details"]) : undefined;
40646
+ this.settings = _data["settings"] ? AccessProfileSettings.fromJS(_data["settings"]) : undefined;
40647
+ this.renewalSettings = _data["renewalSettings"] ? AccessProfileRenewalSettings.fromJS(_data["renewalSettings"]) : undefined;
40648
+ this.restrictions = _data["restrictions"] ? AccessProfileRestrictions.fromJS(_data["restrictions"]) : undefined;
40649
+ }
40650
+ }
40651
+ static fromJS(data) {
40652
+ data = typeof data === 'object' ? data : {};
40653
+ let result = new CreateAccessProfileMonthlyAndGuestCommand();
40654
+ result.init(data);
40655
+ return result;
40656
+ }
40657
+ toJSON(data) {
40658
+ data = typeof data === 'object' ? data : {};
40659
+ data["parkId"] = this.parkId;
40660
+ data["details"] = this.details ? this.details.toJSON() : undefined;
40661
+ data["settings"] = this.settings ? this.settings.toJSON() : undefined;
40662
+ data["renewalSettings"] = this.renewalSettings ? this.renewalSettings.toJSON() : undefined;
40663
+ data["restrictions"] = this.restrictions ? this.restrictions.toJSON() : undefined;
40664
+ return data;
40665
+ }
40666
+ clone() {
40667
+ const json = this.toJSON();
40668
+ let result = new CreateAccessProfileMonthlyAndGuestCommand();
40669
+ result.init(json);
40670
+ return result;
40671
+ }
40672
+ }
39983
40673
  class CreateAccountCommand {
39984
40674
  constructor(data) {
39985
40675
  if (data) {
@@ -40988,46 +41678,6 @@ class CreateLPRBlackListItemCommand {
40988
41678
  return result;
40989
41679
  }
40990
41680
  }
40991
- class CreateMonthliesAndGuestsApCommand {
40992
- constructor(data) {
40993
- if (data) {
40994
- for (var property in data) {
40995
- if (data.hasOwnProperty(property))
40996
- this[property] = data[property];
40997
- }
40998
- }
40999
- }
41000
- init(_data) {
41001
- if (_data) {
41002
- this.parkId = _data["parkId"];
41003
- this.details = _data["details"] ? Details.fromJS(_data["details"]) : undefined;
41004
- this.settings = _data["settings"] ? Settings.fromJS(_data["settings"]) : undefined;
41005
- this.renewalSettings = _data["renewalSettings"] ? RenewalSettings.fromJS(_data["renewalSettings"]) : undefined;
41006
- this.timeAndDeviceRestrictions = _data["timeAndDeviceRestrictions"] ? TimeAndDeviceRestrictions.fromJS(_data["timeAndDeviceRestrictions"]) : undefined;
41007
- }
41008
- }
41009
- static fromJS(data) {
41010
- data = typeof data === 'object' ? data : {};
41011
- let result = new CreateMonthliesAndGuestsApCommand();
41012
- result.init(data);
41013
- return result;
41014
- }
41015
- toJSON(data) {
41016
- data = typeof data === 'object' ? data : {};
41017
- data["parkId"] = this.parkId;
41018
- data["details"] = this.details ? this.details.toJSON() : undefined;
41019
- data["settings"] = this.settings ? this.settings.toJSON() : undefined;
41020
- data["renewalSettings"] = this.renewalSettings ? this.renewalSettings.toJSON() : undefined;
41021
- data["timeAndDeviceRestrictions"] = this.timeAndDeviceRestrictions ? this.timeAndDeviceRestrictions.toJSON() : undefined;
41022
- return data;
41023
- }
41024
- clone() {
41025
- const json = this.toJSON();
41026
- let result = new CreateMonthliesAndGuestsApCommand();
41027
- result.init(json);
41028
- return result;
41029
- }
41030
- }
41031
41681
  class CreateMonthlyCommand {
41032
41682
  constructor(data) {
41033
41683
  if (data) {
@@ -42426,44 +43076,6 @@ class DeliverBundleBillsRemoteCommandData extends RemoteCommandBase {
42426
43076
  return result;
42427
43077
  }
42428
43078
  }
42429
- class Details {
42430
- constructor(data) {
42431
- if (data) {
42432
- for (var property in data) {
42433
- if (data.hasOwnProperty(property))
42434
- this[property] = data[property];
42435
- }
42436
- }
42437
- }
42438
- init(_data) {
42439
- if (_data) {
42440
- this.name = _data["name"];
42441
- this.description = _data["description"];
42442
- this.number = _data["number"];
42443
- this.type = _data["type"];
42444
- }
42445
- }
42446
- static fromJS(data) {
42447
- data = typeof data === 'object' ? data : {};
42448
- let result = new Details();
42449
- result.init(data);
42450
- return result;
42451
- }
42452
- toJSON(data) {
42453
- data = typeof data === 'object' ? data : {};
42454
- data["name"] = this.name;
42455
- data["description"] = this.description;
42456
- data["number"] = this.number;
42457
- data["type"] = this.type;
42458
- return data;
42459
- }
42460
- clone() {
42461
- const json = this.toJSON();
42462
- let result = new Details();
42463
- result.init(json);
42464
- return result;
42465
- }
42466
- }
42467
43079
  var DeviceActivityMode;
42468
43080
  (function (DeviceActivityMode) {
42469
43081
  DeviceActivityMode[DeviceActivityMode["All"] = 0] = "All";
@@ -42776,6 +43388,40 @@ class DeviceEventTypeDto {
42776
43388
  return result;
42777
43389
  }
42778
43390
  }
43391
+ class DeviceGroupRestrictionExtendedDto {
43392
+ constructor(data) {
43393
+ if (data) {
43394
+ for (var property in data) {
43395
+ if (data.hasOwnProperty(property))
43396
+ this[property] = data[property];
43397
+ }
43398
+ }
43399
+ }
43400
+ init(_data) {
43401
+ if (_data) {
43402
+ this.id = _data["id"];
43403
+ this.deviceGroupId = _data["deviceGroupId"];
43404
+ }
43405
+ }
43406
+ static fromJS(data) {
43407
+ data = typeof data === 'object' ? data : {};
43408
+ let result = new DeviceGroupRestrictionExtendedDto();
43409
+ result.init(data);
43410
+ return result;
43411
+ }
43412
+ toJSON(data) {
43413
+ data = typeof data === 'object' ? data : {};
43414
+ data["id"] = this.id;
43415
+ data["deviceGroupId"] = this.deviceGroupId;
43416
+ return data;
43417
+ }
43418
+ clone() {
43419
+ const json = this.toJSON();
43420
+ let result = new DeviceGroupRestrictionExtendedDto();
43421
+ result.init(json);
43422
+ return result;
43423
+ }
43424
+ }
42779
43425
  var DeviceParameterTypes;
42780
43426
  (function (DeviceParameterTypes) {
42781
43427
  DeviceParameterTypes[DeviceParameterTypes["StickerProfile"] = 1] = "StickerProfile";
@@ -47960,6 +48606,46 @@ class LPRMatchCaseDto {
47960
48606
  return result;
47961
48607
  }
47962
48608
  }
48609
+ class LaneRestrictionExtendedDto {
48610
+ constructor(data) {
48611
+ if (data) {
48612
+ for (var property in data) {
48613
+ if (data.hasOwnProperty(property))
48614
+ this[property] = data[property];
48615
+ }
48616
+ }
48617
+ }
48618
+ init(_data) {
48619
+ if (_data) {
48620
+ this.id = _data["id"];
48621
+ this.accessProfileId = _data["accessProfileId"];
48622
+ this.parkId = _data["parkId"];
48623
+ this.deviceId = _data["deviceId"];
48624
+ this.readerId = _data["readerId"];
48625
+ }
48626
+ }
48627
+ static fromJS(data) {
48628
+ data = typeof data === 'object' ? data : {};
48629
+ let result = new LaneRestrictionExtendedDto();
48630
+ result.init(data);
48631
+ return result;
48632
+ }
48633
+ toJSON(data) {
48634
+ data = typeof data === 'object' ? data : {};
48635
+ data["id"] = this.id;
48636
+ data["accessProfileId"] = this.accessProfileId;
48637
+ data["parkId"] = this.parkId;
48638
+ data["deviceId"] = this.deviceId;
48639
+ data["readerId"] = this.readerId;
48640
+ return data;
48641
+ }
48642
+ clone() {
48643
+ const json = this.toJSON();
48644
+ let result = new LaneRestrictionExtendedDto();
48645
+ result.init(json);
48646
+ return result;
48647
+ }
48648
+ }
47963
48649
  var LanguageTypes;
47964
48650
  (function (LanguageTypes) {
47965
48651
  LanguageTypes[LanguageTypes["English"] = 1033] = "English";
@@ -51699,8 +52385,7 @@ class RangeDeviceProfile {
51699
52385
  if (_data) {
51700
52386
  this.id = _data["id"];
51701
52387
  this.isDeleted = _data["isDeleted"];
51702
- this.accessProfileID = _data["accessProfileID"];
51703
- this.rangeGroupDeviceID = _data["rangeGroupDeviceID"];
52388
+ this.rangeGroupDeviceId = _data["rangeGroupDeviceId"];
51704
52389
  }
51705
52390
  }
51706
52391
  static fromJS(data) {
@@ -51713,8 +52398,7 @@ class RangeDeviceProfile {
51713
52398
  data = typeof data === 'object' ? data : {};
51714
52399
  data["id"] = this.id;
51715
52400
  data["isDeleted"] = this.isDeleted;
51716
- data["accessProfileID"] = this.accessProfileID;
51717
- data["rangeGroupDeviceID"] = this.rangeGroupDeviceID;
52401
+ data["rangeGroupDeviceId"] = this.rangeGroupDeviceId;
51718
52402
  return data;
51719
52403
  }
51720
52404
  clone() {
@@ -52008,6 +52692,42 @@ class RateByZoneDto {
52008
52692
  return result;
52009
52693
  }
52010
52694
  }
52695
+ class RateByZoneExtendedDto {
52696
+ constructor(data) {
52697
+ if (data) {
52698
+ for (var property in data) {
52699
+ if (data.hasOwnProperty(property))
52700
+ this[property] = data[property];
52701
+ }
52702
+ }
52703
+ }
52704
+ init(_data) {
52705
+ if (_data) {
52706
+ this.id = _data["id"];
52707
+ this.zoneId = _data["zoneId"];
52708
+ this.rate = _data["rate"] ? BaseRateDto.fromJS(_data["rate"]) : undefined;
52709
+ }
52710
+ }
52711
+ static fromJS(data) {
52712
+ data = typeof data === 'object' ? data : {};
52713
+ let result = new RateByZoneExtendedDto();
52714
+ result.init(data);
52715
+ return result;
52716
+ }
52717
+ toJSON(data) {
52718
+ data = typeof data === 'object' ? data : {};
52719
+ data["id"] = this.id;
52720
+ data["zoneId"] = this.zoneId;
52721
+ data["rate"] = this.rate ? this.rate.toJSON() : undefined;
52722
+ return data;
52723
+ }
52724
+ clone() {
52725
+ const json = this.toJSON();
52726
+ let result = new RateByZoneExtendedDto();
52727
+ result.init(json);
52728
+ return result;
52729
+ }
52730
+ }
52011
52731
  class RateCalculatorDto {
52012
52732
  constructor(data) {
52013
52733
  if (data) {
@@ -52734,48 +53454,6 @@ var RemoteCommandTypes;
52734
53454
  RemoteCommandTypes[RemoteCommandTypes["GetTicketFee"] = 1000] = "GetTicketFee";
52735
53455
  RemoteCommandTypes[RemoteCommandTypes["UpdateTicketPayment"] = 1001] = "UpdateTicketPayment";
52736
53456
  })(RemoteCommandTypes || (RemoteCommandTypes = {}));
52737
- class RenewalSettings {
52738
- constructor(data) {
52739
- if (data) {
52740
- for (var property in data) {
52741
- if (data.hasOwnProperty(property))
52742
- this[property] = data[property];
52743
- }
52744
- }
52745
- }
52746
- init(_data) {
52747
- if (_data) {
52748
- this.isMonthlyRenewalEnabled = _data["isMonthlyRenewalEnabled"];
52749
- this.monthlyRenewalSettings1 = _data["monthlyRenewalSettings1"] ? MonthlyRenewalSettingsDto.fromJS(_data["monthlyRenewalSettings1"]) : undefined;
52750
- this.monthlyRenewalSettings2 = _data["monthlyRenewalSettings2"] ? MonthlyRenewalSettingsDto.fromJS(_data["monthlyRenewalSettings2"]) : undefined;
52751
- this.monthlyRenewalSettings3 = _data["monthlyRenewalSettings3"] ? MonthlyRenewalSettingsDto.fromJS(_data["monthlyRenewalSettings3"]) : undefined;
52752
- this.priceTableNumber = _data["priceTableNumber"];
52753
- this.priceTableValue = _data["priceTableValue"];
52754
- }
52755
- }
52756
- static fromJS(data) {
52757
- data = typeof data === 'object' ? data : {};
52758
- let result = new RenewalSettings();
52759
- result.init(data);
52760
- return result;
52761
- }
52762
- toJSON(data) {
52763
- data = typeof data === 'object' ? data : {};
52764
- data["isMonthlyRenewalEnabled"] = this.isMonthlyRenewalEnabled;
52765
- data["monthlyRenewalSettings1"] = this.monthlyRenewalSettings1 ? this.monthlyRenewalSettings1.toJSON() : undefined;
52766
- data["monthlyRenewalSettings2"] = this.monthlyRenewalSettings2 ? this.monthlyRenewalSettings2.toJSON() : undefined;
52767
- data["monthlyRenewalSettings3"] = this.monthlyRenewalSettings3 ? this.monthlyRenewalSettings3.toJSON() : undefined;
52768
- data["priceTableNumber"] = this.priceTableNumber;
52769
- data["priceTableValue"] = this.priceTableValue;
52770
- return data;
52771
- }
52772
- clone() {
52773
- const json = this.toJSON();
52774
- let result = new RenewalSettings();
52775
- result.init(json);
52776
- return result;
52777
- }
52778
- }
52779
53457
  class ReportsSchemaDto {
52780
53458
  constructor(data) {
52781
53459
  if (data) {
@@ -54820,84 +55498,6 @@ class SetRateRemoteCommandData extends RemoteCommandBase {
54820
55498
  return result;
54821
55499
  }
54822
55500
  }
54823
- class Settings {
54824
- constructor(data) {
54825
- if (data) {
54826
- for (var property in data) {
54827
- if (data.hasOwnProperty(property))
54828
- this[property] = data[property];
54829
- }
54830
- }
54831
- }
54832
- init(_data) {
54833
- if (_data) {
54834
- this.isLprIdentificationAccessEnabled = _data["isLprIdentificationAccessEnabled"];
54835
- this.ticketRateChangeNumber = _data["ticketRateChangeNumber"];
54836
- this.timeBetweenTicketRateChange = _data["timeBetweenTicketRateChange"];
54837
- this.isOpenRelay4AtEntryEnabled = _data["isOpenRelay4AtEntryEnabled"];
54838
- if (Array.isArray(_data["ratesByZones"])) {
54839
- this.ratesByZones = [];
54840
- for (let item of _data["ratesByZones"])
54841
- this.ratesByZones.push(RateByZone.fromJS(item));
54842
- }
54843
- this.overflowRateNumber = _data["overflowRateNumber"];
54844
- this.discountProfileNumber = _data["discountProfileNumber"];
54845
- this.entriesQuantity = _data["entriesQuantity"];
54846
- this.isSubParkEntryEnabled = _data["isSubParkEntryEnabled"];
54847
- this.changeValidType = _data["changeValidType"];
54848
- this.changeValidTime = _data["changeValidTime"];
54849
- this.isEnableIO = _data["isEnableIO"];
54850
- this.payInAdvancedPrice = _data["payInAdvancedPrice"];
54851
- this.isPrintEntryTicketAutomaticallyEnabled = _data["isPrintEntryTicketAutomaticallyEnabled"];
54852
- this.printFields = _data["printFields"];
54853
- this.paymentMethodType = _data["paymentMethodType"];
54854
- this.paymentMethodRateNumber = _data["paymentMethodRateNumber"];
54855
- this.isBlockedWallet = _data["isBlockedWallet"];
54856
- this.blockEWalletLessThanBalance = _data["blockEWalletLessThanBalance"];
54857
- this.rateNumber = _data["rateNumber"];
54858
- }
54859
- }
54860
- static fromJS(data) {
54861
- data = typeof data === 'object' ? data : {};
54862
- let result = new Settings();
54863
- result.init(data);
54864
- return result;
54865
- }
54866
- toJSON(data) {
54867
- data = typeof data === 'object' ? data : {};
54868
- data["isLprIdentificationAccessEnabled"] = this.isLprIdentificationAccessEnabled;
54869
- data["ticketRateChangeNumber"] = this.ticketRateChangeNumber;
54870
- data["timeBetweenTicketRateChange"] = this.timeBetweenTicketRateChange;
54871
- data["isOpenRelay4AtEntryEnabled"] = this.isOpenRelay4AtEntryEnabled;
54872
- if (Array.isArray(this.ratesByZones)) {
54873
- data["ratesByZones"] = [];
54874
- for (let item of this.ratesByZones)
54875
- data["ratesByZones"].push(item.toJSON());
54876
- }
54877
- data["overflowRateNumber"] = this.overflowRateNumber;
54878
- data["discountProfileNumber"] = this.discountProfileNumber;
54879
- data["entriesQuantity"] = this.entriesQuantity;
54880
- data["isSubParkEntryEnabled"] = this.isSubParkEntryEnabled;
54881
- data["changeValidType"] = this.changeValidType;
54882
- data["changeValidTime"] = this.changeValidTime;
54883
- data["isEnableIO"] = this.isEnableIO;
54884
- data["payInAdvancedPrice"] = this.payInAdvancedPrice;
54885
- data["isPrintEntryTicketAutomaticallyEnabled"] = this.isPrintEntryTicketAutomaticallyEnabled;
54886
- data["printFields"] = this.printFields;
54887
- data["paymentMethodType"] = this.paymentMethodType;
54888
- data["paymentMethodRateNumber"] = this.paymentMethodRateNumber;
54889
- data["isBlockedWallet"] = this.isBlockedWallet;
54890
- data["blockEWalletLessThanBalance"] = this.blockEWalletLessThanBalance;
54891
- data["rateNumber"] = this.rateNumber;
54892
- return data;
54893
- }
54894
- clone() {
54895
- const json = this.toJSON();
54896
- let result = new Settings();
54897
- result.init(json);
54898
- return result;
54899
- }
54900
- }
54901
55501
  var SettingsCategory;
54902
55502
  (function (SettingsCategory) {
54903
55503
  SettingsCategory[SettingsCategory["DateFormats"] = 0] = "DateFormats";
@@ -57360,50 +57960,6 @@ class TicketMatchingCurrentRecognitionDto {
57360
57960
  return result;
57361
57961
  }
57362
57962
  }
57363
- class TimeAndDeviceRestrictions {
57364
- constructor(data) {
57365
- if (data) {
57366
- for (var property in data) {
57367
- if (data.hasOwnProperty(property))
57368
- this[property] = data[property];
57369
- }
57370
- }
57371
- }
57372
- init(_data) {
57373
- if (_data) {
57374
- this.accessProfileRestrictionType = _data["accessProfileRestrictionType"];
57375
- this.isOnEntries = _data["isOnEntries"];
57376
- this.isOnExit = _data["isOnExit"];
57377
- this.isChargeOnExitForViolation = _data["isChargeOnExitForViolation"];
57378
- this.chargeOnExitForViolation = _data["chargeOnExitForViolation"];
57379
- this.accessProfileBasicRestrictions = _data["accessProfileBasicRestrictions"] ? AccessProfileBasicRestrictions.fromJS(_data["accessProfileBasicRestrictions"]) : undefined;
57380
- this.accessProfileAdvancedRestrictions = _data["accessProfileAdvancedRestrictions"] ? AccessProfileAdvancedRestrictions.fromJS(_data["accessProfileAdvancedRestrictions"]) : undefined;
57381
- }
57382
- }
57383
- static fromJS(data) {
57384
- data = typeof data === 'object' ? data : {};
57385
- let result = new TimeAndDeviceRestrictions();
57386
- result.init(data);
57387
- return result;
57388
- }
57389
- toJSON(data) {
57390
- data = typeof data === 'object' ? data : {};
57391
- data["accessProfileRestrictionType"] = this.accessProfileRestrictionType;
57392
- data["isOnEntries"] = this.isOnEntries;
57393
- data["isOnExit"] = this.isOnExit;
57394
- data["isChargeOnExitForViolation"] = this.isChargeOnExitForViolation;
57395
- data["chargeOnExitForViolation"] = this.chargeOnExitForViolation;
57396
- data["accessProfileBasicRestrictions"] = this.accessProfileBasicRestrictions ? this.accessProfileBasicRestrictions.toJSON() : undefined;
57397
- data["accessProfileAdvancedRestrictions"] = this.accessProfileAdvancedRestrictions ? this.accessProfileAdvancedRestrictions.toJSON() : undefined;
57398
- return data;
57399
- }
57400
- clone() {
57401
- const json = this.toJSON();
57402
- let result = new TimeAndDeviceRestrictions();
57403
- result.init(json);
57404
- return result;
57405
- }
57406
- }
57407
57963
  class TimeDayRestrictionsDto {
57408
57964
  constructor(data) {
57409
57965
  if (data) {
@@ -57577,6 +58133,46 @@ class TimeRangeRestrictionsDtoHttpResponseData {
57577
58133
  return result;
57578
58134
  }
57579
58135
  }
58136
+ class TimeRestrictionsExtendedDto {
58137
+ constructor(data) {
58138
+ if (data) {
58139
+ for (var property in data) {
58140
+ if (data.hasOwnProperty(property))
58141
+ this[property] = data[property];
58142
+ }
58143
+ }
58144
+ }
58145
+ init(_data) {
58146
+ if (_data) {
58147
+ this.id = _data["id"];
58148
+ this.accessProfileId = _data["accessProfileId"];
58149
+ this.dayType = _data["dayType"];
58150
+ this.fromHour = _data["fromHour"];
58151
+ this.toHour = _data["toHour"];
58152
+ }
58153
+ }
58154
+ static fromJS(data) {
58155
+ data = typeof data === 'object' ? data : {};
58156
+ let result = new TimeRestrictionsExtendedDto();
58157
+ result.init(data);
58158
+ return result;
58159
+ }
58160
+ toJSON(data) {
58161
+ data = typeof data === 'object' ? data : {};
58162
+ data["id"] = this.id;
58163
+ data["accessProfileId"] = this.accessProfileId;
58164
+ data["dayType"] = this.dayType;
58165
+ data["fromHour"] = this.fromHour;
58166
+ data["toHour"] = this.toHour;
58167
+ return data;
58168
+ }
58169
+ clone() {
58170
+ const json = this.toJSON();
58171
+ let result = new TimeRestrictionsExtendedDto();
58172
+ result.init(json);
58173
+ return result;
58174
+ }
58175
+ }
57580
58176
  class TransientECommerceDetailsDto {
57581
58177
  constructor(data) {
57582
58178
  if (data) {
@@ -59142,6 +59738,48 @@ class UnlockDoorRemoteCommandData extends RemoteCommandBase {
59142
59738
  return result;
59143
59739
  }
59144
59740
  }
59741
+ class UpdateAccessProfileMonthlyAndGuestCommand {
59742
+ constructor(data) {
59743
+ if (data) {
59744
+ for (var property in data) {
59745
+ if (data.hasOwnProperty(property))
59746
+ this[property] = data[property];
59747
+ }
59748
+ }
59749
+ }
59750
+ init(_data) {
59751
+ if (_data) {
59752
+ this.parkId = _data["parkId"];
59753
+ this.details = _data["details"] ? AccessProfileDetails.fromJS(_data["details"]) : undefined;
59754
+ this.settings = _data["settings"] ? AccessProfileSettings.fromJS(_data["settings"]) : undefined;
59755
+ this.renewalSettings = _data["renewalSettings"] ? AccessProfileRenewalSettings.fromJS(_data["renewalSettings"]) : undefined;
59756
+ this.restrictions = _data["restrictions"] ? AccessProfileRestrictions.fromJS(_data["restrictions"]) : undefined;
59757
+ this.id = _data["id"];
59758
+ }
59759
+ }
59760
+ static fromJS(data) {
59761
+ data = typeof data === 'object' ? data : {};
59762
+ let result = new UpdateAccessProfileMonthlyAndGuestCommand();
59763
+ result.init(data);
59764
+ return result;
59765
+ }
59766
+ toJSON(data) {
59767
+ data = typeof data === 'object' ? data : {};
59768
+ data["parkId"] = this.parkId;
59769
+ data["details"] = this.details ? this.details.toJSON() : undefined;
59770
+ data["settings"] = this.settings ? this.settings.toJSON() : undefined;
59771
+ data["renewalSettings"] = this.renewalSettings ? this.renewalSettings.toJSON() : undefined;
59772
+ data["restrictions"] = this.restrictions ? this.restrictions.toJSON() : undefined;
59773
+ data["id"] = this.id;
59774
+ return data;
59775
+ }
59776
+ clone() {
59777
+ const json = this.toJSON();
59778
+ let result = new UpdateAccessProfileMonthlyAndGuestCommand();
59779
+ result.init(json);
59780
+ return result;
59781
+ }
59782
+ }
59145
59783
  class UpdateAccountCommand {
59146
59784
  constructor(data) {
59147
59785
  if (data) {
@@ -60012,48 +60650,6 @@ class UpdateMCDateTimeFacilityRemoteCommandData extends FacilityRemoteCommandBas
60012
60650
  return result;
60013
60651
  }
60014
60652
  }
60015
- class UpdateMonthliesAndGuestsApCommand {
60016
- constructor(data) {
60017
- if (data) {
60018
- for (var property in data) {
60019
- if (data.hasOwnProperty(property))
60020
- this[property] = data[property];
60021
- }
60022
- }
60023
- }
60024
- init(_data) {
60025
- if (_data) {
60026
- this.parkId = _data["parkId"];
60027
- this.details = _data["details"] ? Details.fromJS(_data["details"]) : undefined;
60028
- this.settings = _data["settings"] ? Settings.fromJS(_data["settings"]) : undefined;
60029
- this.renewalSettings = _data["renewalSettings"] ? RenewalSettings.fromJS(_data["renewalSettings"]) : undefined;
60030
- this.timeAndDeviceRestrictions = _data["timeAndDeviceRestrictions"] ? TimeAndDeviceRestrictions.fromJS(_data["timeAndDeviceRestrictions"]) : undefined;
60031
- this.id = _data["id"];
60032
- }
60033
- }
60034
- static fromJS(data) {
60035
- data = typeof data === 'object' ? data : {};
60036
- let result = new UpdateMonthliesAndGuestsApCommand();
60037
- result.init(data);
60038
- return result;
60039
- }
60040
- toJSON(data) {
60041
- data = typeof data === 'object' ? data : {};
60042
- data["parkId"] = this.parkId;
60043
- data["details"] = this.details ? this.details.toJSON() : undefined;
60044
- data["settings"] = this.settings ? this.settings.toJSON() : undefined;
60045
- data["renewalSettings"] = this.renewalSettings ? this.renewalSettings.toJSON() : undefined;
60046
- data["timeAndDeviceRestrictions"] = this.timeAndDeviceRestrictions ? this.timeAndDeviceRestrictions.toJSON() : undefined;
60047
- data["id"] = this.id;
60048
- return data;
60049
- }
60050
- clone() {
60051
- const json = this.toJSON();
60052
- let result = new UpdateMonthliesAndGuestsApCommand();
60053
- result.init(json);
60054
- return result;
60055
- }
60056
- }
60057
60653
  class UpdateMonthliesCommand {
60058
60654
  constructor(data) {
60059
60655
  if (data) {
@@ -62745,10 +63341,14 @@ var edgeServiceProxies = /*#__PURE__*/Object.freeze({
62745
63341
  API_BASE_URL: API_BASE_URL,
62746
63342
  AccessLane: AccessLane,
62747
63343
  AccessProfileAdvancedRestrictions: AccessProfileAdvancedRestrictions,
63344
+ AccessProfileAdvancedRestrictionsExtendedDto: AccessProfileAdvancedRestrictionsExtendedDto,
62748
63345
  AccessProfileBasicRestrictions: AccessProfileBasicRestrictions,
63346
+ AccessProfileBasicRestrictionsExtendedDto: AccessProfileBasicRestrictionsExtendedDto,
62749
63347
  get AccessProfileChangeValidTypes () { return AccessProfileChangeValidTypes; },
62750
63348
  get AccessProfileDayTypes () { return AccessProfileDayTypes; },
63349
+ AccessProfileDetails: AccessProfileDetails,
62751
63350
  AccessProfileDetailsDto: AccessProfileDetailsDto,
63351
+ AccessProfileDetailsExtendedDto: AccessProfileDetailsExtendedDto,
62752
63352
  AccessProfileDeviceGroupRestrictionsDto: AccessProfileDeviceGroupRestrictionsDto,
62753
63353
  AccessProfileDeviceRestrictionDto: AccessProfileDeviceRestrictionDto,
62754
63354
  AccessProfileDeviceRestrictionDtoIEnumerableHttpResponseData: AccessProfileDeviceRestrictionDtoIEnumerableHttpResponseData,
@@ -62758,14 +63358,22 @@ var edgeServiceProxies = /*#__PURE__*/Object.freeze({
62758
63358
  AccessProfileMonthlyAndGuestDtoEntityWrapperDto: AccessProfileMonthlyAndGuestDtoEntityWrapperDto,
62759
63359
  AccessProfileMonthlyAndGuestDtoEntityWrapperDtoHttpResponseData: AccessProfileMonthlyAndGuestDtoEntityWrapperDtoHttpResponseData,
62760
63360
  AccessProfileMonthlyAndGuestDtoHttpResponseData: AccessProfileMonthlyAndGuestDtoHttpResponseData,
63361
+ AccessProfileMonthlyAndGuestExtendedDto: AccessProfileMonthlyAndGuestExtendedDto,
63362
+ AccessProfileMonthlyAndGuestExtendedDtoHttpResponseData: AccessProfileMonthlyAndGuestExtendedDtoHttpResponseData,
62761
63363
  AccessProfileMonthlyAndGuestSectionsDto: AccessProfileMonthlyAndGuestSectionsDto,
62762
63364
  AccessProfileMonthlyAndGuestSectionsDtoHttpResponseData: AccessProfileMonthlyAndGuestSectionsDtoHttpResponseData,
62763
63365
  AccessProfileMonthlyRenewalSettingsDto: AccessProfileMonthlyRenewalSettingsDto,
62764
63366
  AccessProfileParkDeviceRestrictionsDto: AccessProfileParkDeviceRestrictionsDto,
62765
63367
  get AccessProfilePrintFieldTypes () { return AccessProfilePrintFieldTypes; },
63368
+ AccessProfileRenewalSettings: AccessProfileRenewalSettings,
63369
+ AccessProfileRenewalSettingsExtendedDto: AccessProfileRenewalSettingsExtendedDto,
62766
63370
  get AccessProfileRestrictionTypes () { return AccessProfileRestrictionTypes; },
63371
+ AccessProfileRestrictions: AccessProfileRestrictions,
63372
+ AccessProfileRestrictionsExtendedDto: AccessProfileRestrictionsExtendedDto,
62767
63373
  AccessProfileServiceProxy: AccessProfileServiceProxy,
63374
+ AccessProfileSettings: AccessProfileSettings,
62768
63375
  AccessProfileSettingsDto: AccessProfileSettingsDto,
63376
+ AccessProfileSettingsExtendedDto: AccessProfileSettingsExtendedDto,
62769
63377
  AccessProfileTimeAndDeviceRestrictionsDto: AccessProfileTimeAndDeviceRestrictionsDto,
62770
63378
  get AccessProfileTypes () { return AccessProfileTypes; },
62771
63379
  AccountContactDetails: AccountContactDetails,
@@ -62888,6 +63496,7 @@ var edgeServiceProxies = /*#__PURE__*/Object.freeze({
62888
63496
  CouponEntityParams: CouponEntityParams,
62889
63497
  CouponSectionsDto: CouponSectionsDto,
62890
63498
  CouponSectionsDtoHttpResponseData: CouponSectionsDtoHttpResponseData,
63499
+ CreateAccessProfileMonthlyAndGuestCommand: CreateAccessProfileMonthlyAndGuestCommand,
62891
63500
  CreateAccountCommand: CreateAccountCommand,
62892
63501
  CreateAccountResponse: CreateAccountResponse,
62893
63502
  CreateAccountResponseHttpResponseData: CreateAccountResponseHttpResponseData,
@@ -62906,7 +63515,6 @@ var edgeServiceProxies = /*#__PURE__*/Object.freeze({
62906
63515
  CreateGuestCommand: CreateGuestCommand,
62907
63516
  CreateKeyOptionCommand: CreateKeyOptionCommand,
62908
63517
  CreateLPRBlackListItemCommand: CreateLPRBlackListItemCommand,
62909
- CreateMonthliesAndGuestsApCommand: CreateMonthliesAndGuestsApCommand,
62910
63518
  CreateMonthlyCommand: CreateMonthlyCommand,
62911
63519
  CreateMonthlySeriesCommand: CreateMonthlySeriesCommand,
62912
63520
  CreateRangeCommand: CreateRangeCommand,
@@ -62943,7 +63551,6 @@ var edgeServiceProxies = /*#__PURE__*/Object.freeze({
62943
63551
  DeleteStatusHttpResponseData: DeleteStatusHttpResponseData,
62944
63552
  DeleteTicketRemoteCommandData: DeleteTicketRemoteCommandData,
62945
63553
  DeliverBundleBillsRemoteCommandData: DeliverBundleBillsRemoteCommandData,
62946
- Details: Details,
62947
63554
  get DeviceActivityMode () { return DeviceActivityMode; },
62948
63555
  DeviceDto: DeviceDto,
62949
63556
  DeviceDtoHttpResponseData: DeviceDtoHttpResponseData,
@@ -62951,6 +63558,7 @@ var edgeServiceProxies = /*#__PURE__*/Object.freeze({
62951
63558
  DeviceEventDto: DeviceEventDto,
62952
63559
  DeviceEventDtoListHttpResponseData: DeviceEventDtoListHttpResponseData,
62953
63560
  DeviceEventTypeDto: DeviceEventTypeDto,
63561
+ DeviceGroupRestrictionExtendedDto: DeviceGroupRestrictionExtendedDto,
62954
63562
  get DeviceParameterTypes () { return DeviceParameterTypes; },
62955
63563
  get DevicePrinterStatus () { return DevicePrinterStatus; },
62956
63564
  DeviceRemoteCommandRefDto: DeviceRemoteCommandRefDto,
@@ -63090,6 +63698,7 @@ var edgeServiceProxies = /*#__PURE__*/Object.freeze({
63090
63698
  LPRBlackListDtoIEnumerableHttpResponseData: LPRBlackListDtoIEnumerableHttpResponseData,
63091
63699
  LPRBlackListServiceProxy: LPRBlackListServiceProxy,
63092
63700
  LPRMatchCaseDto: LPRMatchCaseDto,
63701
+ LaneRestrictionExtendedDto: LaneRestrictionExtendedDto,
63093
63702
  get LanguageTypes () { return LanguageTypes; },
63094
63703
  LocalizationMessage: LocalizationMessage,
63095
63704
  LocateTicketDto: LocateTicketDto,
@@ -63194,6 +63803,7 @@ var edgeServiceProxies = /*#__PURE__*/Object.freeze({
63194
63803
  RangeDtoIEnumerableHttpResponseData: RangeDtoIEnumerableHttpResponseData,
63195
63804
  RateByZone: RateByZone,
63196
63805
  RateByZoneDto: RateByZoneDto,
63806
+ RateByZoneExtendedDto: RateByZoneExtendedDto,
63197
63807
  RateCalculatorDto: RateCalculatorDto,
63198
63808
  RateCalculatorDtoHttpResponseData: RateCalculatorDtoHttpResponseData,
63199
63809
  RateConditionDto: RateConditionDto,
@@ -63216,7 +63826,6 @@ var edgeServiceProxies = /*#__PURE__*/Object.freeze({
63216
63826
  RemoteCommandDevicePayload: RemoteCommandDevicePayload,
63217
63827
  RemoteCommandServiceProxy: RemoteCommandServiceProxy,
63218
63828
  get RemoteCommandTypes () { return RemoteCommandTypes; },
63219
- RenewalSettings: RenewalSettings,
63220
63829
  ReportsSchemaDto: ReportsSchemaDto,
63221
63830
  ReportsSchemaDtoHttpResponseData: ReportsSchemaDtoHttpResponseData,
63222
63831
  ReportsServiceProxy: ReportsServiceProxy,
@@ -63275,7 +63884,6 @@ var edgeServiceProxies = /*#__PURE__*/Object.freeze({
63275
63884
  SetAsIODtoHttpResponseData: SetAsIODtoHttpResponseData,
63276
63885
  SetPriceRemoteCommandData: SetPriceRemoteCommandData,
63277
63886
  SetRateRemoteCommandData: SetRateRemoteCommandData,
63278
- Settings: Settings,
63279
63887
  get SettingsCategory () { return SettingsCategory; },
63280
63888
  get SmartParkType () { return SmartParkType; },
63281
63889
  SmartParkWrapperDto: SmartParkWrapperDto,
@@ -63339,12 +63947,12 @@ var edgeServiceProxies = /*#__PURE__*/Object.freeze({
63339
63947
  TenantDto: TenantDto,
63340
63948
  TfaSetupDto: TfaSetupDto,
63341
63949
  TicketMatchingCurrentRecognitionDto: TicketMatchingCurrentRecognitionDto,
63342
- TimeAndDeviceRestrictions: TimeAndDeviceRestrictions,
63343
63950
  TimeDayRestrictionsDto: TimeDayRestrictionsDto,
63344
63951
  get TimeInLotType () { return TimeInLotType; },
63345
63952
  TimeRangeDto: TimeRangeDto,
63346
63953
  TimeRangeRestrictionsDto: TimeRangeRestrictionsDto,
63347
63954
  TimeRangeRestrictionsDtoHttpResponseData: TimeRangeRestrictionsDtoHttpResponseData,
63955
+ TimeRestrictionsExtendedDto: TimeRestrictionsExtendedDto,
63348
63956
  TransientECommerceDetailsDto: TransientECommerceDetailsDto,
63349
63957
  TransientExternalCredentialDetailsDto: TransientExternalCredentialDetailsDto,
63350
63958
  TransientGuestDetailsDto: TransientGuestDetailsDto,
@@ -63385,6 +63993,7 @@ var edgeServiceProxies = /*#__PURE__*/Object.freeze({
63385
63993
  Unit: Unit,
63386
63994
  UnitHttpResponseData: UnitHttpResponseData,
63387
63995
  UnlockDoorRemoteCommandData: UnlockDoorRemoteCommandData,
63996
+ UpdateAccessProfileMonthlyAndGuestCommand: UpdateAccessProfileMonthlyAndGuestCommand,
63388
63997
  UpdateAccountCommand: UpdateAccountCommand,
63389
63998
  UpdateAllValidationRemoteCommandData: UpdateAllValidationRemoteCommandData,
63390
63999
  UpdateBasicGuestCommand: UpdateBasicGuestCommand,
@@ -63403,7 +64012,6 @@ var edgeServiceProxies = /*#__PURE__*/Object.freeze({
63403
64012
  UpdateLPRBlackListItemCommand: UpdateLPRBlackListItemCommand,
63404
64013
  UpdateLocationRemoteCommandData: UpdateLocationRemoteCommandData,
63405
64014
  UpdateMCDateTimeFacilityRemoteCommandData: UpdateMCDateTimeFacilityRemoteCommandData,
63406
- UpdateMonthliesAndGuestsApCommand: UpdateMonthliesAndGuestsApCommand,
63407
64015
  UpdateMonthliesCommand: UpdateMonthliesCommand,
63408
64016
  UpdateMonthlyCommand: UpdateMonthlyCommand,
63409
64017
  UpdateOccupancyRemoteCommandData: UpdateOccupancyRemoteCommandData,
@@ -66543,6 +67151,10 @@ var Localization;
66543
67151
  Localization["device_restrictions"] = "device_restrictions";
66544
67152
  Localization["on_entries"] = "on_entries";
66545
67153
  Localization["on_exits"] = "on_exits";
67154
+ Localization["on_special_days"] = "on_special_days";
67155
+ Localization["validate_on_entries"] = "validate_on_entries";
67156
+ Localization["validate_on_exits"] = "validate_on_exits";
67157
+ Localization["validate_on_special_days"] = "validate_on_special_days";
66546
67158
  Localization["restricted_devices"] = "restricted_devices";
66547
67159
  Localization["devices_defined_time_range"] = "devices_defined_time_range";
66548
67160
  Localization["create_access_profile"] = "create_access_profile";
@@ -66660,6 +67272,7 @@ var Localization;
66660
67272
  Localization["device_restrictions_note"] = "device_restrictions_note";
66661
67273
  Localization["restrict_device"] = "restrict_device";
66662
67274
  Localization["no_time_to_device_group_selected"] = "no_time_to_device_group_selected";
67275
+ Localization["no_time_validation_was_selected"] = "no_time_validation_was_selected";
66663
67276
  Localization["no_validate_time_restriction_selected"] = "no_validate_time_restriction_selected";
66664
67277
  Localization["access_profile_number_already_exists"] = "access_profile_number_already_exists";
66665
67278
  Localization["enable_ecommerce_access"] = "enable_ecommerce_access";
@@ -67551,9 +68164,18 @@ class TibaValidators {
67551
68164
  return of(control.value).pipe(delay(500), debounceTime(INPUT_SEARCH_DEBOUNCE_TIME), switchMap(() => roleServiceProxy.isExists(control.value, roleId ?? undefined).pipe(map$1(res => res.data === true || !res.isSuccess ? { roleNameAlreadyExists: true } : null))));
67552
68165
  };
67553
68166
  }
67554
- static isAccessProfileNumberAvailable(accessProfileServiceProxy, guid) {
68167
+ static isAccessProfileNumberAvailable(accessProfileServiceProxy, guid, currentValue) {
67555
68168
  return (control) => {
67556
- return of(control.value).pipe(switchMap(() => accessProfileServiceProxy.getAvailableNumber(control.value, guid).pipe(map$1(res => !res.data?.isAvailable || !res.isSuccess ? { accessProfileNumberTaken: true } : null))));
68169
+ return of(control.value).pipe(switchMap(value => {
68170
+ if (value >= 0 && value !== currentValue) {
68171
+ // Call service to check if the number is available
68172
+ return accessProfileServiceProxy.getAvailableNumber(value, guid).pipe(map$1(res => !res.data?.isAvailable || !res.isSuccess ? { accessProfileNumberTaken: true } : null));
68173
+ }
68174
+ else {
68175
+ // No need to check if the current value is available
68176
+ return of(null);
68177
+ }
68178
+ }));
67557
68179
  };
67558
68180
  }
67559
68181
  static tibaTimeValidator(control) {