@juhuu/sdk-ts 1.2.229 → 1.2.231
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 +18 -1
- package/dist/index.d.ts +18 -1
- package/dist/index.js +3 -1
- package/dist/index.mjs +3 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -600,20 +600,34 @@ interface ParameterUpdateBlock extends BaseBlock {
|
|
|
600
600
|
parameterId: DataEdgeConnection;
|
|
601
601
|
deviceId: DataEdgeConnection;
|
|
602
602
|
currentValue: DataEdgeConnection;
|
|
603
|
+
enumArray: DataEdgeConnection;
|
|
604
|
+
description: DataEdgeConnection;
|
|
605
|
+
name: DataEdgeConnection;
|
|
606
|
+
reference: DataEdgeConnection;
|
|
603
607
|
};
|
|
604
608
|
out: {
|
|
605
|
-
|
|
609
|
+
beforeParameter: DataEdgeConnection;
|
|
610
|
+
afterParameter: DataEdgeConnection;
|
|
611
|
+
changedFields: DataEdgeConnection;
|
|
606
612
|
};
|
|
607
613
|
data: {
|
|
608
614
|
parameterId: string | null;
|
|
609
615
|
deviceId: string | null;
|
|
610
616
|
currentValue: number | string | boolean | null;
|
|
617
|
+
enumArray: string[] | null;
|
|
618
|
+
description: string | null;
|
|
619
|
+
name: string | null;
|
|
620
|
+
reference: string | null;
|
|
611
621
|
};
|
|
612
622
|
}
|
|
613
623
|
interface ParameterUpdateBlockInputs {
|
|
614
624
|
parameterId: string;
|
|
615
625
|
deviceId: string | null;
|
|
616
626
|
currentValue: number | string | boolean;
|
|
627
|
+
enumArray: string[] | null;
|
|
628
|
+
description: string | null;
|
|
629
|
+
name: string | null;
|
|
630
|
+
reference: string | null;
|
|
617
631
|
}
|
|
618
632
|
interface ConstNumberBlock extends BaseBlock {
|
|
619
633
|
type: "const.number";
|
|
@@ -4060,10 +4074,13 @@ declare namespace JUHUU {
|
|
|
4060
4074
|
namespace Execute {
|
|
4061
4075
|
type Params = {
|
|
4062
4076
|
flowId: string;
|
|
4077
|
+
input?: Record<string, any>;
|
|
4063
4078
|
};
|
|
4064
4079
|
type Options = JUHUU.RequestOptions;
|
|
4065
4080
|
type Response = {
|
|
4066
4081
|
flow: JUHUU.Flow.Object;
|
|
4082
|
+
flowTrace: JUHUU.FlowTrace.Object;
|
|
4083
|
+
output: Record<string, any>;
|
|
4067
4084
|
};
|
|
4068
4085
|
}
|
|
4069
4086
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -600,20 +600,34 @@ interface ParameterUpdateBlock extends BaseBlock {
|
|
|
600
600
|
parameterId: DataEdgeConnection;
|
|
601
601
|
deviceId: DataEdgeConnection;
|
|
602
602
|
currentValue: DataEdgeConnection;
|
|
603
|
+
enumArray: DataEdgeConnection;
|
|
604
|
+
description: DataEdgeConnection;
|
|
605
|
+
name: DataEdgeConnection;
|
|
606
|
+
reference: DataEdgeConnection;
|
|
603
607
|
};
|
|
604
608
|
out: {
|
|
605
|
-
|
|
609
|
+
beforeParameter: DataEdgeConnection;
|
|
610
|
+
afterParameter: DataEdgeConnection;
|
|
611
|
+
changedFields: DataEdgeConnection;
|
|
606
612
|
};
|
|
607
613
|
data: {
|
|
608
614
|
parameterId: string | null;
|
|
609
615
|
deviceId: string | null;
|
|
610
616
|
currentValue: number | string | boolean | null;
|
|
617
|
+
enumArray: string[] | null;
|
|
618
|
+
description: string | null;
|
|
619
|
+
name: string | null;
|
|
620
|
+
reference: string | null;
|
|
611
621
|
};
|
|
612
622
|
}
|
|
613
623
|
interface ParameterUpdateBlockInputs {
|
|
614
624
|
parameterId: string;
|
|
615
625
|
deviceId: string | null;
|
|
616
626
|
currentValue: number | string | boolean;
|
|
627
|
+
enumArray: string[] | null;
|
|
628
|
+
description: string | null;
|
|
629
|
+
name: string | null;
|
|
630
|
+
reference: string | null;
|
|
617
631
|
}
|
|
618
632
|
interface ConstNumberBlock extends BaseBlock {
|
|
619
633
|
type: "const.number";
|
|
@@ -4060,10 +4074,13 @@ declare namespace JUHUU {
|
|
|
4060
4074
|
namespace Execute {
|
|
4061
4075
|
type Params = {
|
|
4062
4076
|
flowId: string;
|
|
4077
|
+
input?: Record<string, any>;
|
|
4063
4078
|
};
|
|
4064
4079
|
type Options = JUHUU.RequestOptions;
|
|
4065
4080
|
type Response = {
|
|
4066
4081
|
flow: JUHUU.Flow.Object;
|
|
4082
|
+
flowTrace: JUHUU.FlowTrace.Object;
|
|
4083
|
+
output: Record<string, any>;
|
|
4067
4084
|
};
|
|
4068
4085
|
}
|
|
4069
4086
|
}
|
package/dist/index.js
CHANGED
|
@@ -3497,7 +3497,9 @@ var FlowsService = class extends Service {
|
|
|
3497
3497
|
{
|
|
3498
3498
|
method: "POST",
|
|
3499
3499
|
url: "flows/" + FlowExecuteParams.flowId + "/execute",
|
|
3500
|
-
body: {
|
|
3500
|
+
body: {
|
|
3501
|
+
input: FlowExecuteParams.input
|
|
3502
|
+
},
|
|
3501
3503
|
authenticationNotOptional: true
|
|
3502
3504
|
},
|
|
3503
3505
|
FlowExecuteOptions
|
package/dist/index.mjs
CHANGED
|
@@ -3453,7 +3453,9 @@ var FlowsService = class extends Service {
|
|
|
3453
3453
|
{
|
|
3454
3454
|
method: "POST",
|
|
3455
3455
|
url: "flows/" + FlowExecuteParams.flowId + "/execute",
|
|
3456
|
-
body: {
|
|
3456
|
+
body: {
|
|
3457
|
+
input: FlowExecuteParams.input
|
|
3458
|
+
},
|
|
3457
3459
|
authenticationNotOptional: true
|
|
3458
3460
|
},
|
|
3459
3461
|
FlowExecuteOptions
|