@juhuu/sdk-ts 1.2.174 → 1.2.176

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;
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;
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.js CHANGED
@@ -2833,7 +2833,7 @@ var ParameterHistoriesService = class extends Service {
2833
2833
  return await super.sendRequest(
2834
2834
  {
2835
2835
  method: "GET",
2836
- url: "articles?" + queryArray.join("&"),
2836
+ url: "parameterHistories?" + queryArray.join("&"),
2837
2837
  body: void 0,
2838
2838
  authenticationNotOptional: false
2839
2839
  },
@@ -2850,7 +2850,7 @@ var ParameterHistoriesService = class extends Service {
2850
2850
  return await super.sendRequest(
2851
2851
  {
2852
2852
  method: "GET",
2853
- url: "articles/" + ParameterHistoryRetrieveParams.parameterHistoryId + "?" + queryArray.join("&"),
2853
+ url: "parameterHistories/" + ParameterHistoryRetrieveParams.parameterHistoryId + "?" + queryArray.join("&"),
2854
2854
  body: void 0,
2855
2855
  authenticationNotOptional: false
2856
2856
  },
package/dist/index.mjs CHANGED
@@ -2789,7 +2789,7 @@ var ParameterHistoriesService = class extends Service {
2789
2789
  return await super.sendRequest(
2790
2790
  {
2791
2791
  method: "GET",
2792
- url: "articles?" + queryArray.join("&"),
2792
+ url: "parameterHistories?" + queryArray.join("&"),
2793
2793
  body: void 0,
2794
2794
  authenticationNotOptional: false
2795
2795
  },
@@ -2806,7 +2806,7 @@ var ParameterHistoriesService = class extends Service {
2806
2806
  return await super.sendRequest(
2807
2807
  {
2808
2808
  method: "GET",
2809
- url: "articles/" + ParameterHistoryRetrieveParams.parameterHistoryId + "?" + queryArray.join("&"),
2809
+ url: "parameterHistories/" + ParameterHistoryRetrieveParams.parameterHistoryId + "?" + queryArray.join("&"),
2810
2810
  body: void 0,
2811
2811
  authenticationNotOptional: false
2812
2812
  },
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.176",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",