@bpost/bp-address-auto-complete-by-component 1.1.30 → 1.1.32

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.
@@ -3072,6 +3072,14 @@ class StreetNumberComponent {
3072
3072
  delete combined.mailBoxId; // camelCase variant (internal API field name)
3073
3073
  delete combined.pdpId;
3074
3074
  delete combined.suffixId;
3075
+ delete combined.latitude;
3076
+ delete combined.longitude;
3077
+ delete combined.perspectiveCode;
3078
+ delete combined.coordinateSystem;
3079
+ delete combined.reliability;
3080
+ delete combined.businessName;
3081
+ delete combined.listOfBoxes;
3082
+ delete combined.nis9;
3075
3083
  if (combined.geoSanction) {
3076
3084
  combined.geoSanction = combined.geoSanction.substring(0, 25);
3077
3085
  }
@@ -3412,11 +3420,15 @@ class StreetNumberComponent {
3412
3420
  const combined = Object.assign(Object.assign({}, this.selectedAddress), suggestion);
3413
3421
  delete combined.latitude;
3414
3422
  delete combined.longitude;
3423
+ delete combined.perspectiveCode;
3424
+ delete combined.coordinateSystem;
3425
+ delete combined.reliability;
3426
+ delete combined.businessName;
3427
+ delete combined.listOfBoxes;
3428
+ delete combined.nis9;
3415
3429
  delete combined.mailboxId;
3416
3430
  delete combined.pdpId;
3417
3431
  delete combined.suffixId;
3418
- delete combined.pdpId;
3419
- delete combined.pdpId;
3420
3432
  if (combined.geoSanction) {
3421
3433
  combined.geoSanction = combined.geoSanction.substring(0, 25);
3422
3434
  }
@@ -4255,6 +4267,8 @@ class BoxNumberComponent {
4255
4267
  delete combined.mailBoxid; // mixed-case variant
4256
4268
  delete combined.mailBoxId; // camelCase variant (internal API field name)
4257
4269
  delete combined.suffixId;
4270
+ delete combined.businessName;
4271
+ delete combined.listOfBoxes;
4258
4272
  if (combined.geoSanction) {
4259
4273
  combined.geoSanction = combined.geoSanction.substring(0, 35);
4260
4274
  }
@@ -4263,6 +4277,12 @@ class BoxNumberComponent {
4263
4277
  if (combined.geoSanction) {
4264
4278
  combined.geoSanction = combined.geoSanction.substring(0, 25);
4265
4279
  }
4280
+ delete combined.latitude;
4281
+ delete combined.longitude;
4282
+ delete combined.perspectiveCode;
4283
+ delete combined.coordinateSystem;
4284
+ delete combined.reliability;
4285
+ delete combined.nis9;
4266
4286
  }
4267
4287
  combined.boxNumber = combined.string;
4268
4288
  combined.searchBarString = combined.string;
@@ -4506,7 +4526,10 @@ class BoxNumberComponent {
4506
4526
  modifySelectedAddress(suggestion) {
4507
4527
  const combined = Object.assign(Object.assign({}, this.selectedAddress), suggestion);
4508
4528
  delete combined.mailBoxid;
4529
+ delete combined.mailBoxId;
4509
4530
  delete combined.suffixId;
4531
+ delete combined.businessName;
4532
+ delete combined.listOfBoxes;
4510
4533
  if (combined.geoSanction) {
4511
4534
  combined.geoSanction = combined.geoSanction.substring(0, 35);
4512
4535
  }
@@ -4921,6 +4944,7 @@ class LibAddressAutocompleteByComponentComponent {
4921
4944
  this.boxNumberUrl = this.baseUrl + 'boxNumber';
4922
4945
  this.maxSuggestionBoxNb = 5;
4923
4946
  this.visibleSuggestionBoxNbCount = 5;
4947
+ this.validatedByBackend = true;
4924
4948
  // boxParams: PrefilledParameters;
4925
4949
  this.boxNumberPrefillData = null;
4926
4950
  this.suggestionLevel = SuggestionLevelType.StreetAndBoxNumber;
@@ -5901,6 +5925,14 @@ class LibAddressAutocompleteByComponentComponent {
5901
5925
  delete combined.mailBoxId; // camelCase variant (internal API field name)
5902
5926
  delete combined.suffixId;
5903
5927
  delete combined.isComplete;
5928
+ delete combined.latitude;
5929
+ delete combined.longitude;
5930
+ delete combined.perspectiveCode;
5931
+ delete combined.coordinateSystem;
5932
+ delete combined.reliability;
5933
+ delete combined.businessName;
5934
+ delete combined.listOfBoxes;
5935
+ delete combined.nis9;
5904
5936
  if (combined.geoSanction) {
5905
5937
  combined.geoSanction = combined.geoSanction.substring(0, 25);
5906
5938
  }
@@ -5935,6 +5967,8 @@ class LibAddressAutocompleteByComponentComponent {
5935
5967
  delete combined.mailBoxId; // camelCase variant (internal API field name)
5936
5968
  delete combined.suffixId;
5937
5969
  delete combined.isComplete;
5970
+ delete combined.businessName;
5971
+ delete combined.listOfBoxes;
5938
5972
  if (combined.geoSanction) {
5939
5973
  combined.geoSanction = combined.geoSanction.substring(0, 35);
5940
5974
  }