@juhuu/sdk-ts 1.2.174 → 1.2.175

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
@@ -3528,14 +3528,34 @@ declare namespace JUHUU {
3528
3528
  }
3529
3529
  }
3530
3530
  namespace ParameterHistory {
3531
- type Object = {
3531
+ type Base = {
3532
3532
  id: string;
3533
- readonly object: "parameterHistory";
3534
- parameterId: string;
3535
- deviceId: string;
3533
+ readonly object: "parameter";
3534
+ description: string | null;
3535
+ name: string | null;
3536
3536
  propertyId: string;
3537
+ createdAt: Date | null;
3538
+ reference: string | null;
3537
3539
  };
3538
- namespace Retrieve {
3540
+ export interface Text extends Base {
3541
+ type: "text";
3542
+ currentValue: string;
3543
+ }
3544
+ export interface Number extends Base {
3545
+ type: "number";
3546
+ currentValue: number;
3547
+ }
3548
+ export interface Enum extends Base {
3549
+ type: "enum";
3550
+ currentValue: string;
3551
+ enumArray: string[];
3552
+ }
3553
+ export interface Boolean extends Base {
3554
+ type: "boolean";
3555
+ currentValue: boolean;
3556
+ }
3557
+ export type Object = Number | Boolean | Enum | Text;
3558
+ export namespace Retrieve {
3539
3559
  type Params = {
3540
3560
  parameterHistoryId: string;
3541
3561
  };
@@ -3546,7 +3566,7 @@ declare namespace JUHUU {
3546
3566
  parameterHistory: JUHUU.ParameterHistory.Object;
3547
3567
  };
3548
3568
  }
3549
- namespace List {
3569
+ export namespace List {
3550
3570
  type Params = {
3551
3571
  propertyId?: string;
3552
3572
  parameterId?: string;
@@ -3561,6 +3581,7 @@ declare namespace JUHUU {
3561
3581
  hasMore: boolean;
3562
3582
  };
3563
3583
  }
3584
+ export { };
3564
3585
  }
3565
3586
  namespace DeviceTemplate {
3566
3587
  type Object = {
package/dist/index.d.ts CHANGED
@@ -3528,14 +3528,34 @@ declare namespace JUHUU {
3528
3528
  }
3529
3529
  }
3530
3530
  namespace ParameterHistory {
3531
- type Object = {
3531
+ type Base = {
3532
3532
  id: string;
3533
- readonly object: "parameterHistory";
3534
- parameterId: string;
3535
- deviceId: string;
3533
+ readonly object: "parameter";
3534
+ description: string | null;
3535
+ name: string | null;
3536
3536
  propertyId: string;
3537
+ createdAt: Date | null;
3538
+ reference: string | null;
3537
3539
  };
3538
- namespace Retrieve {
3540
+ export interface Text extends Base {
3541
+ type: "text";
3542
+ currentValue: string;
3543
+ }
3544
+ export interface Number extends Base {
3545
+ type: "number";
3546
+ currentValue: number;
3547
+ }
3548
+ export interface Enum extends Base {
3549
+ type: "enum";
3550
+ currentValue: string;
3551
+ enumArray: string[];
3552
+ }
3553
+ export interface Boolean extends Base {
3554
+ type: "boolean";
3555
+ currentValue: boolean;
3556
+ }
3557
+ export type Object = Number | Boolean | Enum | Text;
3558
+ export namespace Retrieve {
3539
3559
  type Params = {
3540
3560
  parameterHistoryId: string;
3541
3561
  };
@@ -3546,7 +3566,7 @@ declare namespace JUHUU {
3546
3566
  parameterHistory: JUHUU.ParameterHistory.Object;
3547
3567
  };
3548
3568
  }
3549
- namespace List {
3569
+ export namespace List {
3550
3570
  type Params = {
3551
3571
  propertyId?: string;
3552
3572
  parameterId?: string;
@@ -3561,6 +3581,7 @@ declare namespace JUHUU {
3561
3581
  hasMore: boolean;
3562
3582
  };
3563
3583
  }
3584
+ export { };
3564
3585
  }
3565
3586
  namespace DeviceTemplate {
3566
3587
  type Object = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juhuu/sdk-ts",
3
- "version": "1.2.174",
3
+ "version": "1.2.175",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",