@tiba-spark/client-shared-lib 10.3.0-965 → 10.3.0-968

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.
@@ -14602,7 +14602,9 @@ class AccessProfileServiceProxy {
14602
14602
  throw new Error("The parameter 'accessProfileId' cannot be null.");
14603
14603
  else if (accessProfileId !== undefined)
14604
14604
  url_ += "AccessProfileId=" + encodeURIComponent("" + accessProfileId) + "&";
14605
- if (parkId !== undefined && parkId !== null)
14605
+ if (parkId === null)
14606
+ throw new Error("The parameter 'parkId' cannot be null.");
14607
+ else if (parkId !== undefined)
14606
14608
  url_ += "ParkId=" + encodeURIComponent("" + parkId) + "&";
14607
14609
  url_ = url_.replace(/[?&]$/, "");
14608
14610
  let options_ = {
@@ -15637,7 +15639,9 @@ class AccessProfileServiceProxy {
15637
15639
  throw new Error("The parameter 'deviceGroupId' cannot be null.");
15638
15640
  else if (deviceGroupId !== undefined)
15639
15641
  url_ += "DeviceGroupId=" + encodeURIComponent("" + deviceGroupId) + "&";
15640
- if (parkId !== undefined && parkId !== null)
15642
+ if (parkId === null)
15643
+ throw new Error("The parameter 'parkId' cannot be null.");
15644
+ else if (parkId !== undefined)
15641
15645
  url_ += "ParkId=" + encodeURIComponent("" + parkId) + "&";
15642
15646
  url_ = url_.replace(/[?&]$/, "");
15643
15647
  let options_ = {