@juhuu/sdk-ts 1.2.232 → 1.2.234

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
@@ -586,8 +586,8 @@ interface ParameterRetrieveBlock extends BaseBlock {
586
586
  parameter: DataEdgeConnection;
587
587
  };
588
588
  data: {
589
- parameterId: string | null;
590
- deviceId: string | null;
589
+ parameterId?: string;
590
+ deviceId?: string;
591
591
  };
592
592
  }
593
593
  interface ParameterRetrieveBlockInputs {
@@ -612,13 +612,13 @@ interface ParameterUpdateBlock extends BaseBlock {
612
612
  };
613
613
  data: {
614
614
  type: "boolean" | "number" | "text" | "enum";
615
- parameterId: string | null;
616
- deviceId: string | null;
617
- currentValue: number | string | boolean | null;
618
- enumArray: string[] | null;
619
- description: string | null;
620
- name: string | null;
621
- reference: string | null;
615
+ parameterId?: string;
616
+ deviceId?: string;
617
+ currentValue?: number | string | boolean | null;
618
+ enumArray?: string[];
619
+ description?: string;
620
+ name?: string;
621
+ reference?: string;
622
622
  };
623
623
  }
624
624
  interface ParameterUpdateBlockInputs {
@@ -670,8 +670,8 @@ interface MathAddBlock extends BaseBlock {
670
670
  result: DataEdgeConnection;
671
671
  };
672
672
  data: {
673
- a: number | null;
674
- b: number | null;
673
+ a?: number;
674
+ b?: number;
675
675
  };
676
676
  }
677
677
  interface MathAddBlockInputs {
@@ -681,7 +681,7 @@ interface MathAddBlockInputs {
681
681
  interface MapDestructureBlock extends BaseBlock {
682
682
  type: "map.destructure";
683
683
  data: {
684
- keys: string[];
684
+ keys?: string[];
685
685
  };
686
686
  in: {
687
687
  map: DataEdgeConnection;
@@ -697,7 +697,7 @@ interface IfBlock extends BaseBlock {
697
697
  in: Record<string, never>;
698
698
  out: Record<string, ControlEdgeConnection>;
699
699
  data: {
700
- condition: unknown;
700
+ condition?: unknown;
701
701
  };
702
702
  }
703
703
  interface HttpPatchBlock extends BaseBlock {
@@ -708,9 +708,9 @@ interface HttpPatchBlock extends BaseBlock {
708
708
  headers: DataEdgeConnection;
709
709
  };
710
710
  data: {
711
- url: string | null;
712
- body: Record<string, string | number | boolean> | null;
713
- headers: Record<string, string> | null;
711
+ url?: string;
712
+ body?: Record<string, string | number | boolean>;
713
+ headers?: Record<string, string>;
714
714
  };
715
715
  out: {
716
716
  status: DataEdgeConnection;
@@ -733,8 +733,8 @@ interface HttpGetBlock extends BaseBlock {
733
733
  data: DataEdgeConnection;
734
734
  };
735
735
  data: {
736
- url: string | null;
737
- headers: Record<string, string> | null;
736
+ url?: string;
737
+ headers?: Record<string, string>;
738
738
  };
739
739
  }
740
740
  interface HttpGetBlockInputs {
@@ -753,9 +753,9 @@ interface HttpPostBlock extends BaseBlock {
753
753
  data: DataEdgeConnection;
754
754
  };
755
755
  data: {
756
- url: string | null;
757
- body: Record<string, string | number | boolean> | null;
758
- headers: Record<string, string> | null;
756
+ url?: string;
757
+ body?: Record<string, string | number | boolean>;
758
+ headers?: Record<string, string>;
759
759
  };
760
760
  }
761
761
  interface HttpPostBlockInputs {
@@ -774,8 +774,8 @@ interface HttpDeleteBlock extends BaseBlock {
774
774
  data: DataEdgeConnection;
775
775
  };
776
776
  data: {
777
- url: string | null;
778
- headers: Record<string, string> | null;
777
+ url?: string;
778
+ headers?: Record<string, string>;
779
779
  };
780
780
  }
781
781
  interface HttpDeleteBlockInputs {
@@ -794,9 +794,9 @@ interface HttpPutBlock extends BaseBlock {
794
794
  data: DataEdgeConnection;
795
795
  };
796
796
  data: {
797
- url: string | null;
798
- body: Record<string, string | number | boolean> | null;
799
- headers: Record<string, string> | null;
797
+ url?: string;
798
+ body?: Record<string, string | number | boolean>;
799
+ headers?: Record<string, string>;
800
800
  };
801
801
  }
802
802
  interface HttpPutBlockInputs {
@@ -815,11 +815,11 @@ interface MqttSendBlock extends BaseBlock {
815
815
  };
816
816
  out: Record<string, never>;
817
817
  data: {
818
- message: string | null;
819
- topic: string | null;
820
- username: string | null;
821
- password: string | null;
822
- connectUrl: string | null;
818
+ message?: string;
819
+ topic?: string;
820
+ username?: string;
821
+ password?: string;
822
+ connectUrl?: string;
823
823
  };
824
824
  }
825
825
  interface MqttSendBlockInputs {
@@ -834,7 +834,7 @@ interface EndCustomBlock extends BaseBlock {
834
834
  in: Record<string, DataEdgeConnection>;
835
835
  out: Record<string, never>;
836
836
  data: {
837
- outputParamDefintionArray: ParamDefinition[];
837
+ outputParamDefinitionArray: ParamDefinition[];
838
838
  };
839
839
  }
840
840
  type FlowBlock = StartCustomBlock | StartQuickActionLocationBlock | StartSessionUpdateBlock | StartParameterUpdateBlock | ConstNumberBlock | ConstTextBlock | ConstBooleanBlock | MathAddBlock | MapDestructureBlock | ParameterRetrieveBlock | ParameterUpdateBlock | IfBlock | HttpPatchBlock | HttpGetBlock | HttpPostBlock | HttpDeleteBlock | HttpPutBlock | MqttSendBlock | HttpPatchBlock | EndCustomBlock;
package/dist/index.d.ts CHANGED
@@ -586,8 +586,8 @@ interface ParameterRetrieveBlock extends BaseBlock {
586
586
  parameter: DataEdgeConnection;
587
587
  };
588
588
  data: {
589
- parameterId: string | null;
590
- deviceId: string | null;
589
+ parameterId?: string;
590
+ deviceId?: string;
591
591
  };
592
592
  }
593
593
  interface ParameterRetrieveBlockInputs {
@@ -612,13 +612,13 @@ interface ParameterUpdateBlock extends BaseBlock {
612
612
  };
613
613
  data: {
614
614
  type: "boolean" | "number" | "text" | "enum";
615
- parameterId: string | null;
616
- deviceId: string | null;
617
- currentValue: number | string | boolean | null;
618
- enumArray: string[] | null;
619
- description: string | null;
620
- name: string | null;
621
- reference: string | null;
615
+ parameterId?: string;
616
+ deviceId?: string;
617
+ currentValue?: number | string | boolean | null;
618
+ enumArray?: string[];
619
+ description?: string;
620
+ name?: string;
621
+ reference?: string;
622
622
  };
623
623
  }
624
624
  interface ParameterUpdateBlockInputs {
@@ -670,8 +670,8 @@ interface MathAddBlock extends BaseBlock {
670
670
  result: DataEdgeConnection;
671
671
  };
672
672
  data: {
673
- a: number | null;
674
- b: number | null;
673
+ a?: number;
674
+ b?: number;
675
675
  };
676
676
  }
677
677
  interface MathAddBlockInputs {
@@ -681,7 +681,7 @@ interface MathAddBlockInputs {
681
681
  interface MapDestructureBlock extends BaseBlock {
682
682
  type: "map.destructure";
683
683
  data: {
684
- keys: string[];
684
+ keys?: string[];
685
685
  };
686
686
  in: {
687
687
  map: DataEdgeConnection;
@@ -697,7 +697,7 @@ interface IfBlock extends BaseBlock {
697
697
  in: Record<string, never>;
698
698
  out: Record<string, ControlEdgeConnection>;
699
699
  data: {
700
- condition: unknown;
700
+ condition?: unknown;
701
701
  };
702
702
  }
703
703
  interface HttpPatchBlock extends BaseBlock {
@@ -708,9 +708,9 @@ interface HttpPatchBlock extends BaseBlock {
708
708
  headers: DataEdgeConnection;
709
709
  };
710
710
  data: {
711
- url: string | null;
712
- body: Record<string, string | number | boolean> | null;
713
- headers: Record<string, string> | null;
711
+ url?: string;
712
+ body?: Record<string, string | number | boolean>;
713
+ headers?: Record<string, string>;
714
714
  };
715
715
  out: {
716
716
  status: DataEdgeConnection;
@@ -733,8 +733,8 @@ interface HttpGetBlock extends BaseBlock {
733
733
  data: DataEdgeConnection;
734
734
  };
735
735
  data: {
736
- url: string | null;
737
- headers: Record<string, string> | null;
736
+ url?: string;
737
+ headers?: Record<string, string>;
738
738
  };
739
739
  }
740
740
  interface HttpGetBlockInputs {
@@ -753,9 +753,9 @@ interface HttpPostBlock extends BaseBlock {
753
753
  data: DataEdgeConnection;
754
754
  };
755
755
  data: {
756
- url: string | null;
757
- body: Record<string, string | number | boolean> | null;
758
- headers: Record<string, string> | null;
756
+ url?: string;
757
+ body?: Record<string, string | number | boolean>;
758
+ headers?: Record<string, string>;
759
759
  };
760
760
  }
761
761
  interface HttpPostBlockInputs {
@@ -774,8 +774,8 @@ interface HttpDeleteBlock extends BaseBlock {
774
774
  data: DataEdgeConnection;
775
775
  };
776
776
  data: {
777
- url: string | null;
778
- headers: Record<string, string> | null;
777
+ url?: string;
778
+ headers?: Record<string, string>;
779
779
  };
780
780
  }
781
781
  interface HttpDeleteBlockInputs {
@@ -794,9 +794,9 @@ interface HttpPutBlock extends BaseBlock {
794
794
  data: DataEdgeConnection;
795
795
  };
796
796
  data: {
797
- url: string | null;
798
- body: Record<string, string | number | boolean> | null;
799
- headers: Record<string, string> | null;
797
+ url?: string;
798
+ body?: Record<string, string | number | boolean>;
799
+ headers?: Record<string, string>;
800
800
  };
801
801
  }
802
802
  interface HttpPutBlockInputs {
@@ -815,11 +815,11 @@ interface MqttSendBlock extends BaseBlock {
815
815
  };
816
816
  out: Record<string, never>;
817
817
  data: {
818
- message: string | null;
819
- topic: string | null;
820
- username: string | null;
821
- password: string | null;
822
- connectUrl: string | null;
818
+ message?: string;
819
+ topic?: string;
820
+ username?: string;
821
+ password?: string;
822
+ connectUrl?: string;
823
823
  };
824
824
  }
825
825
  interface MqttSendBlockInputs {
@@ -834,7 +834,7 @@ interface EndCustomBlock extends BaseBlock {
834
834
  in: Record<string, DataEdgeConnection>;
835
835
  out: Record<string, never>;
836
836
  data: {
837
- outputParamDefintionArray: ParamDefinition[];
837
+ outputParamDefinitionArray: ParamDefinition[];
838
838
  };
839
839
  }
840
840
  type FlowBlock = StartCustomBlock | StartQuickActionLocationBlock | StartSessionUpdateBlock | StartParameterUpdateBlock | ConstNumberBlock | ConstTextBlock | ConstBooleanBlock | MathAddBlock | MapDestructureBlock | ParameterRetrieveBlock | ParameterUpdateBlock | IfBlock | HttpPatchBlock | HttpGetBlock | HttpPostBlock | HttpDeleteBlock | HttpPutBlock | MqttSendBlock | HttpPatchBlock | EndCustomBlock;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juhuu/sdk-ts",
3
- "version": "1.2.232",
3
+ "version": "1.2.234",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",