@juhuu/sdk-ts 1.2.147 → 1.2.148
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 +11 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +11 -0
- package/dist/index.mjs +11 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
@@ -661,6 +661,7 @@ declare class DevicesService extends Service {
|
|
661
661
|
message(DeviceMessageParams: JUHUU.Device.Message.Params, DeviceMessageOptions?: JUHUU.Device.Message.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.Message.Response>>;
|
662
662
|
parameterUpdate(DeviceParameterParams: JUHUU.Device.ParameterUpdate.Params, DeviceParameterOptions?: JUHUU.Device.ParameterUpdate.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.ParameterUpdate.Response>>;
|
663
663
|
commandExecute(DeviceCommandExecuteParams: JUHUU.Device.CommandExecute.Params, DeviceCommandExecuteOptions?: JUHUU.Device.CommandExecute.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.CommandExecute.Response>>;
|
664
|
+
nodeExecute(DeviceNodeExecuteParams: JUHUU.Device.NodeExecute.Params, DeviceNodeExecuteOptions?: JUHUU.Device.NodeExecute.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.NodeExecute.Response>>;
|
664
665
|
delete(DeviceDeleteParams: JUHUU.Device.Delete.Params, DeviceDeleteOptions?: JUHUU.Device.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.Delete.Response>>;
|
665
666
|
}
|
666
667
|
|
@@ -2943,6 +2944,16 @@ declare namespace JUHUU {
|
|
2943
2944
|
device: JUHUU.Device.Object;
|
2944
2945
|
};
|
2945
2946
|
}
|
2947
|
+
namespace NodeExecute {
|
2948
|
+
type Params = {
|
2949
|
+
deviceId: string;
|
2950
|
+
nodeId: string;
|
2951
|
+
};
|
2952
|
+
type Options = JUHUU.RequestOptions;
|
2953
|
+
type Response = {
|
2954
|
+
device: JUHUU.Device.Object;
|
2955
|
+
};
|
2956
|
+
}
|
2946
2957
|
namespace Delete {
|
2947
2958
|
type Params = {
|
2948
2959
|
deviceId?: string;
|
package/dist/index.d.ts
CHANGED
@@ -661,6 +661,7 @@ declare class DevicesService extends Service {
|
|
661
661
|
message(DeviceMessageParams: JUHUU.Device.Message.Params, DeviceMessageOptions?: JUHUU.Device.Message.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.Message.Response>>;
|
662
662
|
parameterUpdate(DeviceParameterParams: JUHUU.Device.ParameterUpdate.Params, DeviceParameterOptions?: JUHUU.Device.ParameterUpdate.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.ParameterUpdate.Response>>;
|
663
663
|
commandExecute(DeviceCommandExecuteParams: JUHUU.Device.CommandExecute.Params, DeviceCommandExecuteOptions?: JUHUU.Device.CommandExecute.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.CommandExecute.Response>>;
|
664
|
+
nodeExecute(DeviceNodeExecuteParams: JUHUU.Device.NodeExecute.Params, DeviceNodeExecuteOptions?: JUHUU.Device.NodeExecute.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.NodeExecute.Response>>;
|
664
665
|
delete(DeviceDeleteParams: JUHUU.Device.Delete.Params, DeviceDeleteOptions?: JUHUU.Device.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Device.Delete.Response>>;
|
665
666
|
}
|
666
667
|
|
@@ -2943,6 +2944,16 @@ declare namespace JUHUU {
|
|
2943
2944
|
device: JUHUU.Device.Object;
|
2944
2945
|
};
|
2945
2946
|
}
|
2947
|
+
namespace NodeExecute {
|
2948
|
+
type Params = {
|
2949
|
+
deviceId: string;
|
2950
|
+
nodeId: string;
|
2951
|
+
};
|
2952
|
+
type Options = JUHUU.RequestOptions;
|
2953
|
+
type Response = {
|
2954
|
+
device: JUHUU.Device.Object;
|
2955
|
+
};
|
2956
|
+
}
|
2946
2957
|
namespace Delete {
|
2947
2958
|
type Params = {
|
2948
2959
|
deviceId?: string;
|
package/dist/index.js
CHANGED
@@ -1256,6 +1256,17 @@ var DevicesService = class extends Service {
|
|
1256
1256
|
DeviceCommandExecuteOptions
|
1257
1257
|
);
|
1258
1258
|
}
|
1259
|
+
async nodeExecute(DeviceNodeExecuteParams, DeviceNodeExecuteOptions) {
|
1260
|
+
return await super.sendRequest(
|
1261
|
+
{
|
1262
|
+
method: "POST",
|
1263
|
+
url: "devices/" + DeviceNodeExecuteParams.deviceId + "/node/" + DeviceNodeExecuteParams.nodeId,
|
1264
|
+
body: {},
|
1265
|
+
authenticationNotOptional: true
|
1266
|
+
},
|
1267
|
+
DeviceNodeExecuteOptions
|
1268
|
+
);
|
1269
|
+
}
|
1259
1270
|
async delete(DeviceDeleteParams, DeviceDeleteOptions) {
|
1260
1271
|
return await super.sendRequest(
|
1261
1272
|
{
|
package/dist/index.mjs
CHANGED
@@ -1212,6 +1212,17 @@ var DevicesService = class extends Service {
|
|
1212
1212
|
DeviceCommandExecuteOptions
|
1213
1213
|
);
|
1214
1214
|
}
|
1215
|
+
async nodeExecute(DeviceNodeExecuteParams, DeviceNodeExecuteOptions) {
|
1216
|
+
return await super.sendRequest(
|
1217
|
+
{
|
1218
|
+
method: "POST",
|
1219
|
+
url: "devices/" + DeviceNodeExecuteParams.deviceId + "/node/" + DeviceNodeExecuteParams.nodeId,
|
1220
|
+
body: {},
|
1221
|
+
authenticationNotOptional: true
|
1222
|
+
},
|
1223
|
+
DeviceNodeExecuteOptions
|
1224
|
+
);
|
1225
|
+
}
|
1215
1226
|
async delete(DeviceDeleteParams, DeviceDeleteOptions) {
|
1216
1227
|
return await super.sendRequest(
|
1217
1228
|
{
|