@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 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: string;
568
- afterSession: string;
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: string;
576
- afterParameter: string;
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: string;
601
- deviceId: string | null;
602
- currentValue: number | string | boolean;
600
+ parameterId: DataEdgeConnection;
601
+ deviceId: DataEdgeConnection;
602
+ currentValue: DataEdgeConnection;
603
603
  };
604
604
  out: {
605
- parameter: string;
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: string;
702
- data: string;
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: string;
714
- headers: string | null;
713
+ url: DataEdgeConnection;
714
+ headers: DataEdgeConnection;
715
715
  };
716
716
  out: {
717
- status: string;
718
- data: string;
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: string;
733
- body: string | null;
734
- headers: string | null;
732
+ url: DataEdgeConnection;
733
+ body: DataEdgeConnection;
734
+ headers: DataEdgeConnection;
735
735
  };
736
736
  out: {
737
- status: string;
738
- data: string;
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: string;
755
- headers: string | null;
754
+ url: DataEdgeConnection;
755
+ headers: DataEdgeConnection;
756
756
  };
757
757
  out: {
758
- status: string;
759
- data: string;
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: string;
774
- body: string | null;
775
- headers: string | null;
773
+ url: DataEdgeConnection;
774
+ body: DataEdgeConnection;
775
+ headers: DataEdgeConnection;
776
776
  };
777
777
  out: {
778
- status: string;
779
- data: string;
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: string;
796
- topic: string;
797
- username: string | null;
798
- password: string | null;
799
- connectUrl: string;
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: string;
568
- afterSession: string;
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: string;
576
- afterParameter: string;
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: string;
601
- deviceId: string | null;
602
- currentValue: number | string | boolean;
600
+ parameterId: DataEdgeConnection;
601
+ deviceId: DataEdgeConnection;
602
+ currentValue: DataEdgeConnection;
603
603
  };
604
604
  out: {
605
- parameter: string;
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: string;
702
- data: string;
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: string;
714
- headers: string | null;
713
+ url: DataEdgeConnection;
714
+ headers: DataEdgeConnection;
715
715
  };
716
716
  out: {
717
- status: string;
718
- data: string;
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: string;
733
- body: string | null;
734
- headers: string | null;
732
+ url: DataEdgeConnection;
733
+ body: DataEdgeConnection;
734
+ headers: DataEdgeConnection;
735
735
  };
736
736
  out: {
737
- status: string;
738
- data: string;
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: string;
755
- headers: string | null;
754
+ url: DataEdgeConnection;
755
+ headers: DataEdgeConnection;
756
756
  };
757
757
  out: {
758
- status: string;
759
- data: string;
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: string;
774
- body: string | null;
775
- headers: string | null;
773
+ url: DataEdgeConnection;
774
+ body: DataEdgeConnection;
775
+ headers: DataEdgeConnection;
776
776
  };
777
777
  out: {
778
- status: string;
779
- data: string;
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: string;
796
- topic: string;
797
- username: string | null;
798
- password: string | null;
799
- connectUrl: string;
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juhuu/sdk-ts",
3
- "version": "1.2.228",
3
+ "version": "1.2.229",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",