@juhuu/sdk-ts 1.2.228 → 1.2.229
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 +33 -33
- package/dist/index.d.ts +33 -33
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -564,16 +564,16 @@ interface StartSessionUpdateBlock extends BaseBlock {
|
|
|
564
564
|
type: "start.session.update";
|
|
565
565
|
in: Record<string, never>;
|
|
566
566
|
out: {
|
|
567
|
-
beforeSession:
|
|
568
|
-
afterSession:
|
|
567
|
+
beforeSession: DataEdgeConnection;
|
|
568
|
+
afterSession: DataEdgeConnection;
|
|
569
569
|
};
|
|
570
570
|
}
|
|
571
571
|
interface StartParameterUpdateBlock extends BaseBlock {
|
|
572
572
|
type: "start.parameter.update";
|
|
573
573
|
in: Record<string, never>;
|
|
574
574
|
out: {
|
|
575
|
-
beforeParameter:
|
|
576
|
-
afterParameter:
|
|
575
|
+
beforeParameter: DataEdgeConnection;
|
|
576
|
+
afterParameter: DataEdgeConnection;
|
|
577
577
|
};
|
|
578
578
|
}
|
|
579
579
|
interface ParameterRetrieveBlock extends BaseBlock {
|
|
@@ -597,12 +597,12 @@ interface ParameterRetrieveBlockInputs {
|
|
|
597
597
|
interface ParameterUpdateBlock extends BaseBlock {
|
|
598
598
|
type: "parameter.update";
|
|
599
599
|
in: {
|
|
600
|
-
parameterId:
|
|
601
|
-
deviceId:
|
|
602
|
-
currentValue:
|
|
600
|
+
parameterId: DataEdgeConnection;
|
|
601
|
+
deviceId: DataEdgeConnection;
|
|
602
|
+
currentValue: DataEdgeConnection;
|
|
603
603
|
};
|
|
604
604
|
out: {
|
|
605
|
-
parameter:
|
|
605
|
+
parameter: DataEdgeConnection;
|
|
606
606
|
};
|
|
607
607
|
data: {
|
|
608
608
|
parameterId: string | null;
|
|
@@ -698,8 +698,8 @@ interface HttpPatchBlock extends BaseBlock {
|
|
|
698
698
|
headers: Record<string, string> | null;
|
|
699
699
|
};
|
|
700
700
|
out: {
|
|
701
|
-
status:
|
|
702
|
-
data:
|
|
701
|
+
status: DataEdgeConnection;
|
|
702
|
+
data: DataEdgeConnection;
|
|
703
703
|
};
|
|
704
704
|
}
|
|
705
705
|
interface HttpsPatchBlockInputs {
|
|
@@ -710,12 +710,12 @@ interface HttpsPatchBlockInputs {
|
|
|
710
710
|
interface HttpGetBlock extends BaseBlock {
|
|
711
711
|
type: "http.get";
|
|
712
712
|
in: {
|
|
713
|
-
url:
|
|
714
|
-
headers:
|
|
713
|
+
url: DataEdgeConnection;
|
|
714
|
+
headers: DataEdgeConnection;
|
|
715
715
|
};
|
|
716
716
|
out: {
|
|
717
|
-
status:
|
|
718
|
-
data:
|
|
717
|
+
status: DataEdgeConnection;
|
|
718
|
+
data: DataEdgeConnection;
|
|
719
719
|
};
|
|
720
720
|
data: {
|
|
721
721
|
url: string | null;
|
|
@@ -729,13 +729,13 @@ interface HttpGetBlockInputs {
|
|
|
729
729
|
interface HttpPostBlock extends BaseBlock {
|
|
730
730
|
type: "http.post";
|
|
731
731
|
in: {
|
|
732
|
-
url:
|
|
733
|
-
body:
|
|
734
|
-
headers:
|
|
732
|
+
url: DataEdgeConnection;
|
|
733
|
+
body: DataEdgeConnection;
|
|
734
|
+
headers: DataEdgeConnection;
|
|
735
735
|
};
|
|
736
736
|
out: {
|
|
737
|
-
status:
|
|
738
|
-
data:
|
|
737
|
+
status: DataEdgeConnection;
|
|
738
|
+
data: DataEdgeConnection;
|
|
739
739
|
};
|
|
740
740
|
data: {
|
|
741
741
|
url: string | null;
|
|
@@ -751,12 +751,12 @@ interface HttpPostBlockInputs {
|
|
|
751
751
|
interface HttpDeleteBlock extends BaseBlock {
|
|
752
752
|
type: "http.delete";
|
|
753
753
|
in: {
|
|
754
|
-
url:
|
|
755
|
-
headers:
|
|
754
|
+
url: DataEdgeConnection;
|
|
755
|
+
headers: DataEdgeConnection;
|
|
756
756
|
};
|
|
757
757
|
out: {
|
|
758
|
-
status:
|
|
759
|
-
data:
|
|
758
|
+
status: DataEdgeConnection;
|
|
759
|
+
data: DataEdgeConnection;
|
|
760
760
|
};
|
|
761
761
|
data: {
|
|
762
762
|
url: string | null;
|
|
@@ -770,13 +770,13 @@ interface HttpDeleteBlockInputs {
|
|
|
770
770
|
interface HttpPutBlock extends BaseBlock {
|
|
771
771
|
type: "http.put";
|
|
772
772
|
in: {
|
|
773
|
-
url:
|
|
774
|
-
body:
|
|
775
|
-
headers:
|
|
773
|
+
url: DataEdgeConnection;
|
|
774
|
+
body: DataEdgeConnection;
|
|
775
|
+
headers: DataEdgeConnection;
|
|
776
776
|
};
|
|
777
777
|
out: {
|
|
778
|
-
status:
|
|
779
|
-
data:
|
|
778
|
+
status: DataEdgeConnection;
|
|
779
|
+
data: DataEdgeConnection;
|
|
780
780
|
};
|
|
781
781
|
data: {
|
|
782
782
|
url: string | null;
|
|
@@ -792,11 +792,11 @@ interface HttpPutBlockInputs {
|
|
|
792
792
|
interface MqttSendBlock extends BaseBlock {
|
|
793
793
|
type: "mqtt.send";
|
|
794
794
|
in: {
|
|
795
|
-
message:
|
|
796
|
-
topic:
|
|
797
|
-
username:
|
|
798
|
-
password:
|
|
799
|
-
connectUrl:
|
|
795
|
+
message: DataEdgeConnection;
|
|
796
|
+
topic: DataEdgeConnection;
|
|
797
|
+
username: DataEdgeConnection;
|
|
798
|
+
password: DataEdgeConnection;
|
|
799
|
+
connectUrl: DataEdgeConnection;
|
|
800
800
|
};
|
|
801
801
|
out: Record<string, never>;
|
|
802
802
|
data: {
|
package/dist/index.d.ts
CHANGED
|
@@ -564,16 +564,16 @@ interface StartSessionUpdateBlock extends BaseBlock {
|
|
|
564
564
|
type: "start.session.update";
|
|
565
565
|
in: Record<string, never>;
|
|
566
566
|
out: {
|
|
567
|
-
beforeSession:
|
|
568
|
-
afterSession:
|
|
567
|
+
beforeSession: DataEdgeConnection;
|
|
568
|
+
afterSession: DataEdgeConnection;
|
|
569
569
|
};
|
|
570
570
|
}
|
|
571
571
|
interface StartParameterUpdateBlock extends BaseBlock {
|
|
572
572
|
type: "start.parameter.update";
|
|
573
573
|
in: Record<string, never>;
|
|
574
574
|
out: {
|
|
575
|
-
beforeParameter:
|
|
576
|
-
afterParameter:
|
|
575
|
+
beforeParameter: DataEdgeConnection;
|
|
576
|
+
afterParameter: DataEdgeConnection;
|
|
577
577
|
};
|
|
578
578
|
}
|
|
579
579
|
interface ParameterRetrieveBlock extends BaseBlock {
|
|
@@ -597,12 +597,12 @@ interface ParameterRetrieveBlockInputs {
|
|
|
597
597
|
interface ParameterUpdateBlock extends BaseBlock {
|
|
598
598
|
type: "parameter.update";
|
|
599
599
|
in: {
|
|
600
|
-
parameterId:
|
|
601
|
-
deviceId:
|
|
602
|
-
currentValue:
|
|
600
|
+
parameterId: DataEdgeConnection;
|
|
601
|
+
deviceId: DataEdgeConnection;
|
|
602
|
+
currentValue: DataEdgeConnection;
|
|
603
603
|
};
|
|
604
604
|
out: {
|
|
605
|
-
parameter:
|
|
605
|
+
parameter: DataEdgeConnection;
|
|
606
606
|
};
|
|
607
607
|
data: {
|
|
608
608
|
parameterId: string | null;
|
|
@@ -698,8 +698,8 @@ interface HttpPatchBlock extends BaseBlock {
|
|
|
698
698
|
headers: Record<string, string> | null;
|
|
699
699
|
};
|
|
700
700
|
out: {
|
|
701
|
-
status:
|
|
702
|
-
data:
|
|
701
|
+
status: DataEdgeConnection;
|
|
702
|
+
data: DataEdgeConnection;
|
|
703
703
|
};
|
|
704
704
|
}
|
|
705
705
|
interface HttpsPatchBlockInputs {
|
|
@@ -710,12 +710,12 @@ interface HttpsPatchBlockInputs {
|
|
|
710
710
|
interface HttpGetBlock extends BaseBlock {
|
|
711
711
|
type: "http.get";
|
|
712
712
|
in: {
|
|
713
|
-
url:
|
|
714
|
-
headers:
|
|
713
|
+
url: DataEdgeConnection;
|
|
714
|
+
headers: DataEdgeConnection;
|
|
715
715
|
};
|
|
716
716
|
out: {
|
|
717
|
-
status:
|
|
718
|
-
data:
|
|
717
|
+
status: DataEdgeConnection;
|
|
718
|
+
data: DataEdgeConnection;
|
|
719
719
|
};
|
|
720
720
|
data: {
|
|
721
721
|
url: string | null;
|
|
@@ -729,13 +729,13 @@ interface HttpGetBlockInputs {
|
|
|
729
729
|
interface HttpPostBlock extends BaseBlock {
|
|
730
730
|
type: "http.post";
|
|
731
731
|
in: {
|
|
732
|
-
url:
|
|
733
|
-
body:
|
|
734
|
-
headers:
|
|
732
|
+
url: DataEdgeConnection;
|
|
733
|
+
body: DataEdgeConnection;
|
|
734
|
+
headers: DataEdgeConnection;
|
|
735
735
|
};
|
|
736
736
|
out: {
|
|
737
|
-
status:
|
|
738
|
-
data:
|
|
737
|
+
status: DataEdgeConnection;
|
|
738
|
+
data: DataEdgeConnection;
|
|
739
739
|
};
|
|
740
740
|
data: {
|
|
741
741
|
url: string | null;
|
|
@@ -751,12 +751,12 @@ interface HttpPostBlockInputs {
|
|
|
751
751
|
interface HttpDeleteBlock extends BaseBlock {
|
|
752
752
|
type: "http.delete";
|
|
753
753
|
in: {
|
|
754
|
-
url:
|
|
755
|
-
headers:
|
|
754
|
+
url: DataEdgeConnection;
|
|
755
|
+
headers: DataEdgeConnection;
|
|
756
756
|
};
|
|
757
757
|
out: {
|
|
758
|
-
status:
|
|
759
|
-
data:
|
|
758
|
+
status: DataEdgeConnection;
|
|
759
|
+
data: DataEdgeConnection;
|
|
760
760
|
};
|
|
761
761
|
data: {
|
|
762
762
|
url: string | null;
|
|
@@ -770,13 +770,13 @@ interface HttpDeleteBlockInputs {
|
|
|
770
770
|
interface HttpPutBlock extends BaseBlock {
|
|
771
771
|
type: "http.put";
|
|
772
772
|
in: {
|
|
773
|
-
url:
|
|
774
|
-
body:
|
|
775
|
-
headers:
|
|
773
|
+
url: DataEdgeConnection;
|
|
774
|
+
body: DataEdgeConnection;
|
|
775
|
+
headers: DataEdgeConnection;
|
|
776
776
|
};
|
|
777
777
|
out: {
|
|
778
|
-
status:
|
|
779
|
-
data:
|
|
778
|
+
status: DataEdgeConnection;
|
|
779
|
+
data: DataEdgeConnection;
|
|
780
780
|
};
|
|
781
781
|
data: {
|
|
782
782
|
url: string | null;
|
|
@@ -792,11 +792,11 @@ interface HttpPutBlockInputs {
|
|
|
792
792
|
interface MqttSendBlock extends BaseBlock {
|
|
793
793
|
type: "mqtt.send";
|
|
794
794
|
in: {
|
|
795
|
-
message:
|
|
796
|
-
topic:
|
|
797
|
-
username:
|
|
798
|
-
password:
|
|
799
|
-
connectUrl:
|
|
795
|
+
message: DataEdgeConnection;
|
|
796
|
+
topic: DataEdgeConnection;
|
|
797
|
+
username: DataEdgeConnection;
|
|
798
|
+
password: DataEdgeConnection;
|
|
799
|
+
connectUrl: DataEdgeConnection;
|
|
800
800
|
};
|
|
801
801
|
out: Record<string, never>;
|
|
802
802
|
data: {
|