@juhuu/sdk-ts 1.2.172 → 1.2.174
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/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +8 -4
- package/dist/index.mjs +8 -4
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
@@ -2818,12 +2818,15 @@ var ParameterHistoriesService = class extends Service {
|
|
2818
2818
|
}
|
2819
2819
|
async list(ParameterHistoryListParams, ParameterHistoryListOptions) {
|
2820
2820
|
const queryArray = [];
|
2821
|
-
if (ParameterHistoryListOptions?.limit !== void 0) {
|
2822
|
-
queryArray.push("limit=" + ParameterHistoryListOptions.limit);
|
2823
|
-
}
|
2824
2821
|
if (ParameterHistoryListParams?.propertyId !== void 0) {
|
2825
2822
|
queryArray.push("propertyId=" + ParameterHistoryListParams.propertyId);
|
2826
2823
|
}
|
2824
|
+
if (ParameterHistoryListParams?.parameterId !== void 0) {
|
2825
|
+
queryArray.push("parameterId=" + ParameterHistoryListParams.parameterId);
|
2826
|
+
}
|
2827
|
+
if (ParameterHistoryListOptions?.limit !== void 0) {
|
2828
|
+
queryArray.push("limit=" + ParameterHistoryListOptions.limit);
|
2829
|
+
}
|
2827
2830
|
if (ParameterHistoryListOptions?.skip !== void 0) {
|
2828
2831
|
queryArray.push("skip=" + ParameterHistoryListOptions.skip);
|
2829
2832
|
}
|
@@ -2992,7 +2995,8 @@ var ParametersService = class extends Service {
|
|
2992
2995
|
url: "parameters/" + ParameterUpdateParams.parameterId,
|
2993
2996
|
body: {
|
2994
2997
|
name: ParameterUpdateParams.name,
|
2995
|
-
currentValue: ParameterUpdateParams.currentValue
|
2998
|
+
currentValue: ParameterUpdateParams.currentValue,
|
2999
|
+
deviceId: ParameterUpdateParams.deviceId
|
2996
3000
|
},
|
2997
3001
|
authenticationNotOptional: true
|
2998
3002
|
},
|
package/dist/index.mjs
CHANGED
@@ -2774,12 +2774,15 @@ var ParameterHistoriesService = class extends Service {
|
|
2774
2774
|
}
|
2775
2775
|
async list(ParameterHistoryListParams, ParameterHistoryListOptions) {
|
2776
2776
|
const queryArray = [];
|
2777
|
-
if (ParameterHistoryListOptions?.limit !== void 0) {
|
2778
|
-
queryArray.push("limit=" + ParameterHistoryListOptions.limit);
|
2779
|
-
}
|
2780
2777
|
if (ParameterHistoryListParams?.propertyId !== void 0) {
|
2781
2778
|
queryArray.push("propertyId=" + ParameterHistoryListParams.propertyId);
|
2782
2779
|
}
|
2780
|
+
if (ParameterHistoryListParams?.parameterId !== void 0) {
|
2781
|
+
queryArray.push("parameterId=" + ParameterHistoryListParams.parameterId);
|
2782
|
+
}
|
2783
|
+
if (ParameterHistoryListOptions?.limit !== void 0) {
|
2784
|
+
queryArray.push("limit=" + ParameterHistoryListOptions.limit);
|
2785
|
+
}
|
2783
2786
|
if (ParameterHistoryListOptions?.skip !== void 0) {
|
2784
2787
|
queryArray.push("skip=" + ParameterHistoryListOptions.skip);
|
2785
2788
|
}
|
@@ -2948,7 +2951,8 @@ var ParametersService = class extends Service {
|
|
2948
2951
|
url: "parameters/" + ParameterUpdateParams.parameterId,
|
2949
2952
|
body: {
|
2950
2953
|
name: ParameterUpdateParams.name,
|
2951
|
-
currentValue: ParameterUpdateParams.currentValue
|
2954
|
+
currentValue: ParameterUpdateParams.currentValue,
|
2955
|
+
deviceId: ParameterUpdateParams.deviceId
|
2952
2956
|
},
|
2953
2957
|
authenticationNotOptional: true
|
2954
2958
|
},
|