@tiba-spark/client-shared-lib 10.3.0-661 → 10.3.0-663
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.
- package/esm2022/libraries/service-proxy/edge-service-proxies.mjs +3 -7
- package/fesm2022/tiba-spark-client-shared-lib.mjs +2 -6
- package/fesm2022/tiba-spark-client-shared-lib.mjs.map +1 -1
- package/libraries/service-proxy/edge-service-proxies.d.ts +2 -2
- package/libraries/service-proxy/edge-service-proxies.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -14568,9 +14568,7 @@ class AccessProfileServiceProxy {
|
|
|
14568
14568
|
throw new Error("The parameter 'accessProfileId' cannot be null.");
|
|
14569
14569
|
else if (accessProfileId !== undefined)
|
|
14570
14570
|
url_ += "AccessProfileId=" + encodeURIComponent("" + accessProfileId) + "&";
|
|
14571
|
-
if (parkId
|
|
14572
|
-
throw new Error("The parameter 'parkId' cannot be null.");
|
|
14573
|
-
else if (parkId !== undefined)
|
|
14571
|
+
if (parkId !== undefined && parkId !== null)
|
|
14574
14572
|
url_ += "ParkId=" + encodeURIComponent("" + parkId) + "&";
|
|
14575
14573
|
url_ = url_.replace(/[?&]$/, "");
|
|
14576
14574
|
let options_ = {
|
|
@@ -15605,9 +15603,7 @@ class AccessProfileServiceProxy {
|
|
|
15605
15603
|
throw new Error("The parameter 'deviceGroupId' cannot be null.");
|
|
15606
15604
|
else if (deviceGroupId !== undefined)
|
|
15607
15605
|
url_ += "DeviceGroupId=" + encodeURIComponent("" + deviceGroupId) + "&";
|
|
15608
|
-
if (parkId
|
|
15609
|
-
throw new Error("The parameter 'parkId' cannot be null.");
|
|
15610
|
-
else if (parkId !== undefined)
|
|
15606
|
+
if (parkId !== undefined && parkId !== null)
|
|
15611
15607
|
url_ += "ParkId=" + encodeURIComponent("" + parkId) + "&";
|
|
15612
15608
|
url_ = url_.replace(/[?&]$/, "");
|
|
15613
15609
|
let options_ = {
|