@tiba-spark/client-shared-lib 10.3.0-650 → 10.3.0-657
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/enums/localization.enum.mjs +2 -1
- package/esm2022/libraries/service-proxy/edge-service-proxies.mjs +15 -53
- package/fesm2022/tiba-spark-client-shared-lib.mjs +15 -52
- package/fesm2022/tiba-spark-client-shared-lib.mjs.map +1 -1
- package/libraries/enums/localization.enum.d.ts +1 -0
- package/libraries/enums/localization.enum.d.ts.map +1 -1
- package/libraries/service-proxy/edge-service-proxies.d.ts +8 -38
- package/libraries/service-proxy/edge-service-proxies.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -14557,12 +14557,9 @@ class AccessProfileServiceProxy {
|
|
|
14557
14557
|
/**
|
|
14558
14558
|
* @param accessProfileId (optional)
|
|
14559
14559
|
* @param parkId (optional)
|
|
14560
|
-
* @param searchValue (optional)
|
|
14561
|
-
* @param deviceTypes (optional)
|
|
14562
|
-
* @param zoneIds (optional)
|
|
14563
14560
|
* @return Success
|
|
14564
14561
|
*/
|
|
14565
|
-
getAccessProfileMonthlyAndGuestDeviceRestriction(accessProfileId, parkId,
|
|
14562
|
+
getAccessProfileMonthlyAndGuestDeviceRestriction(accessProfileId, parkId, guid) {
|
|
14566
14563
|
let url_ = this.baseUrl + "/api/services/sp/{guid}/accessprofile/monthly-and-guest/device-restriction?";
|
|
14567
14564
|
if (guid === undefined || guid === null)
|
|
14568
14565
|
throw new Error("The parameter 'guid' must be defined.");
|
|
@@ -14571,14 +14568,10 @@ class AccessProfileServiceProxy {
|
|
|
14571
14568
|
throw new Error("The parameter 'accessProfileId' cannot be null.");
|
|
14572
14569
|
else if (accessProfileId !== undefined)
|
|
14573
14570
|
url_ += "AccessProfileId=" + encodeURIComponent("" + accessProfileId) + "&";
|
|
14574
|
-
if (parkId
|
|
14571
|
+
if (parkId === null)
|
|
14572
|
+
throw new Error("The parameter 'parkId' cannot be null.");
|
|
14573
|
+
else if (parkId !== undefined)
|
|
14575
14574
|
url_ += "ParkId=" + encodeURIComponent("" + parkId) + "&";
|
|
14576
|
-
if (searchValue !== undefined && searchValue !== null)
|
|
14577
|
-
url_ += "SearchValue=" + encodeURIComponent("" + searchValue) + "&";
|
|
14578
|
-
if (deviceTypes !== undefined && deviceTypes !== null)
|
|
14579
|
-
deviceTypes && deviceTypes.forEach(item => { url_ += "DeviceTypes=" + encodeURIComponent("" + item) + "&"; });
|
|
14580
|
-
if (zoneIds !== undefined && zoneIds !== null)
|
|
14581
|
-
zoneIds && zoneIds.forEach(item => { url_ += "ZoneIds=" + encodeURIComponent("" + item) + "&"; });
|
|
14582
14575
|
url_ = url_.replace(/[?&]$/, "");
|
|
14583
14576
|
let options_ = {
|
|
14584
14577
|
observe: "response",
|
|
@@ -15601,12 +15594,9 @@ class AccessProfileServiceProxy {
|
|
|
15601
15594
|
/**
|
|
15602
15595
|
* @param deviceGroupId (optional)
|
|
15603
15596
|
* @param parkId (optional)
|
|
15604
|
-
* @param searchValue (optional)
|
|
15605
|
-
* @param deviceTypes (optional)
|
|
15606
|
-
* @param zoneIds (optional)
|
|
15607
15597
|
* @return Success
|
|
15608
15598
|
*/
|
|
15609
|
-
getDevicesForDeviceGroup(deviceGroupId, parkId,
|
|
15599
|
+
getDevicesForDeviceGroup(deviceGroupId, parkId, guid) {
|
|
15610
15600
|
let url_ = this.baseUrl + "/api/services/sp/{guid}/accessprofile/device-group/devices?";
|
|
15611
15601
|
if (guid === undefined || guid === null)
|
|
15612
15602
|
throw new Error("The parameter 'guid' must be defined.");
|
|
@@ -15615,14 +15605,10 @@ class AccessProfileServiceProxy {
|
|
|
15615
15605
|
throw new Error("The parameter 'deviceGroupId' cannot be null.");
|
|
15616
15606
|
else if (deviceGroupId !== undefined)
|
|
15617
15607
|
url_ += "DeviceGroupId=" + encodeURIComponent("" + deviceGroupId) + "&";
|
|
15618
|
-
if (parkId
|
|
15608
|
+
if (parkId === null)
|
|
15609
|
+
throw new Error("The parameter 'parkId' cannot be null.");
|
|
15610
|
+
else if (parkId !== undefined)
|
|
15619
15611
|
url_ += "ParkId=" + encodeURIComponent("" + parkId) + "&";
|
|
15620
|
-
if (searchValue !== undefined && searchValue !== null)
|
|
15621
|
-
url_ += "SearchValue=" + encodeURIComponent("" + searchValue) + "&";
|
|
15622
|
-
if (deviceTypes !== undefined && deviceTypes !== null)
|
|
15623
|
-
deviceTypes && deviceTypes.forEach(item => { url_ += "DeviceTypes=" + encodeURIComponent("" + item) + "&"; });
|
|
15624
|
-
if (zoneIds !== undefined && zoneIds !== null)
|
|
15625
|
-
zoneIds && zoneIds.forEach(item => { url_ += "ZoneIds=" + encodeURIComponent("" + item) + "&"; });
|
|
15626
15612
|
url_ = url_.replace(/[?&]$/, "");
|
|
15627
15613
|
let options_ = {
|
|
15628
15614
|
observe: "response",
|
|
@@ -34991,12 +34977,8 @@ class AccessProfileDeviceRestrictionDto {
|
|
|
34991
34977
|
this.childrenCount = _data["childrenCount"];
|
|
34992
34978
|
this.parkId = _data["parkId"];
|
|
34993
34979
|
this.parkName = _data["parkName"];
|
|
34994
|
-
this.deviceName = _data["deviceName"];
|
|
34995
|
-
this.deviceType = _data["deviceType"];
|
|
34996
|
-
this.deviceId = _data["deviceId"];
|
|
34997
|
-
this.commId = _data["commId"];
|
|
34998
|
-
this.description = _data["description"];
|
|
34999
34980
|
this.zone = _data["zone"] ? ZoneDto.fromJS(_data["zone"]) : undefined;
|
|
34981
|
+
this.device = _data["device"] ? DeviceDto.fromJS(_data["device"]) : undefined;
|
|
35000
34982
|
this.restrictDevice = _data["restrictDevice"];
|
|
35001
34983
|
if (Array.isArray(_data["children"])) {
|
|
35002
34984
|
this.children = [];
|
|
@@ -35018,12 +35000,8 @@ class AccessProfileDeviceRestrictionDto {
|
|
|
35018
35000
|
data["childrenCount"] = this.childrenCount;
|
|
35019
35001
|
data["parkId"] = this.parkId;
|
|
35020
35002
|
data["parkName"] = this.parkName;
|
|
35021
|
-
data["deviceName"] = this.deviceName;
|
|
35022
|
-
data["deviceType"] = this.deviceType;
|
|
35023
|
-
data["deviceId"] = this.deviceId;
|
|
35024
|
-
data["commId"] = this.commId;
|
|
35025
|
-
data["description"] = this.description;
|
|
35026
35003
|
data["zone"] = this.zone ? this.zone.toJSON() : undefined;
|
|
35004
|
+
data["device"] = this.device ? this.device.toJSON() : undefined;
|
|
35027
35005
|
data["restrictDevice"] = this.restrictDevice;
|
|
35028
35006
|
if (Array.isArray(this.children)) {
|
|
35029
35007
|
data["children"] = [];
|
|
@@ -43772,12 +43750,8 @@ class DevicesByParkingLotDto {
|
|
|
43772
43750
|
this.childrenCount = _data["childrenCount"];
|
|
43773
43751
|
this.parkId = _data["parkId"];
|
|
43774
43752
|
this.parkName = _data["parkName"];
|
|
43775
|
-
this.deviceName = _data["deviceName"];
|
|
43776
|
-
this.deviceType = _data["deviceType"];
|
|
43777
|
-
this.deviceId = _data["deviceId"];
|
|
43778
|
-
this.commId = _data["commId"];
|
|
43779
|
-
this.description = _data["description"];
|
|
43780
43753
|
this.zone = _data["zone"] ? ZoneDto.fromJS(_data["zone"]) : undefined;
|
|
43754
|
+
this.device = _data["device"] ? DeviceDto.fromJS(_data["device"]) : undefined;
|
|
43781
43755
|
}
|
|
43782
43756
|
}
|
|
43783
43757
|
static fromJS(data) {
|
|
@@ -43793,12 +43767,8 @@ class DevicesByParkingLotDto {
|
|
|
43793
43767
|
data["childrenCount"] = this.childrenCount;
|
|
43794
43768
|
data["parkId"] = this.parkId;
|
|
43795
43769
|
data["parkName"] = this.parkName;
|
|
43796
|
-
data["deviceName"] = this.deviceName;
|
|
43797
|
-
data["deviceType"] = this.deviceType;
|
|
43798
|
-
data["deviceId"] = this.deviceId;
|
|
43799
|
-
data["commId"] = this.commId;
|
|
43800
|
-
data["description"] = this.description;
|
|
43801
43770
|
data["zone"] = this.zone ? this.zone.toJSON() : undefined;
|
|
43771
|
+
data["device"] = this.device ? this.device.toJSON() : undefined;
|
|
43802
43772
|
return data;
|
|
43803
43773
|
}
|
|
43804
43774
|
clone() {
|
|
@@ -43824,12 +43794,8 @@ class DevicesForDeviceGroupDto {
|
|
|
43824
43794
|
this.childrenCount = _data["childrenCount"];
|
|
43825
43795
|
this.parkId = _data["parkId"];
|
|
43826
43796
|
this.parkName = _data["parkName"];
|
|
43827
|
-
this.deviceName = _data["deviceName"];
|
|
43828
|
-
this.deviceType = _data["deviceType"];
|
|
43829
|
-
this.deviceId = _data["deviceId"];
|
|
43830
|
-
this.commId = _data["commId"];
|
|
43831
|
-
this.description = _data["description"];
|
|
43832
43797
|
this.zone = _data["zone"] ? ZoneDto.fromJS(_data["zone"]) : undefined;
|
|
43798
|
+
this.device = _data["device"] ? DeviceDto.fromJS(_data["device"]) : undefined;
|
|
43833
43799
|
this.rangeGroupDeviceId = _data["rangeGroupDeviceId"];
|
|
43834
43800
|
this.range = _data["range"] ? RangeDto.fromJS(_data["range"]) : undefined;
|
|
43835
43801
|
if (Array.isArray(_data["children"])) {
|
|
@@ -43852,12 +43818,8 @@ class DevicesForDeviceGroupDto {
|
|
|
43852
43818
|
data["childrenCount"] = this.childrenCount;
|
|
43853
43819
|
data["parkId"] = this.parkId;
|
|
43854
43820
|
data["parkName"] = this.parkName;
|
|
43855
|
-
data["deviceName"] = this.deviceName;
|
|
43856
|
-
data["deviceType"] = this.deviceType;
|
|
43857
|
-
data["deviceId"] = this.deviceId;
|
|
43858
|
-
data["commId"] = this.commId;
|
|
43859
|
-
data["description"] = this.description;
|
|
43860
43821
|
data["zone"] = this.zone ? this.zone.toJSON() : undefined;
|
|
43822
|
+
data["device"] = this.device ? this.device.toJSON() : undefined;
|
|
43861
43823
|
data["rangeGroupDeviceId"] = this.rangeGroupDeviceId;
|
|
43862
43824
|
data["range"] = this.range ? this.range.toJSON() : undefined;
|
|
43863
43825
|
if (Array.isArray(this.children)) {
|
|
@@ -67309,6 +67271,7 @@ var Localization;
|
|
|
67309
67271
|
Localization["delete_time_to_device_group"] = "delete_time_to_device_group";
|
|
67310
67272
|
Localization["count_devices"] = "count_devices";
|
|
67311
67273
|
Localization["one_device"] = "one_device";
|
|
67274
|
+
Localization["count_devices_filtered"] = "count_devices_filtered";
|
|
67312
67275
|
Localization["entity_in_use"] = "entity_in_use";
|
|
67313
67276
|
Localization["app_security_alert_sub_title_ios"] = "app_security_alert_sub_title_ios";
|
|
67314
67277
|
Localization["vehicles"] = "vehicles";
|