@juhuu/sdk-ts 1.2.139 → 1.2.141
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 +168 -0
- package/dist/index.d.ts +168 -0
- package/dist/index.js +49 -0
- package/dist/index.mjs +49 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
@@ -258,22 +258,26 @@ type Parameter = {
|
|
258
258
|
lastChangeAt: Date | null;
|
259
259
|
current: number;
|
260
260
|
unit: Unit | null;
|
261
|
+
deviceParameterAnomalyGroupIdArray: string[];
|
261
262
|
} | {
|
262
263
|
name: string;
|
263
264
|
type: "enum";
|
264
265
|
lastChangeAt: Date;
|
265
266
|
enumArray: string[];
|
266
267
|
current: string;
|
268
|
+
deviceParameterAnomalyGroupIdArray: string[];
|
267
269
|
} | {
|
268
270
|
name: string;
|
269
271
|
type: "string";
|
270
272
|
lastChangeAt: Date;
|
271
273
|
current: string;
|
274
|
+
deviceParameterAnomalyGroupIdArray: string[];
|
272
275
|
} | {
|
273
276
|
name: string;
|
274
277
|
type: "boolean";
|
275
278
|
lastChangeAt: Date;
|
276
279
|
current: boolean;
|
280
|
+
deviceParameterAnomalyGroupIdArray: string[];
|
277
281
|
};
|
278
282
|
declare namespace Layout {
|
279
283
|
type Block = {
|
@@ -836,6 +840,12 @@ declare class ArticleGroupGroupsService extends Service {
|
|
836
840
|
delete(ArticleGroupDeleteParams: JUHUU.ArticleGroup.Delete.Params, ArticleGroupDeleteOptions?: JUHUU.ArticleGroup.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.ArticleGroup.Delete.Response>>;
|
837
841
|
}
|
838
842
|
|
843
|
+
declare class DeviceParameterHistoriesService extends Service {
|
844
|
+
constructor(config: JUHUU.SetupConfig);
|
845
|
+
list(DeviceParameterHistoryListParams: JUHUU.DeviceParameterHistory.List.Params, DeviceParameterHistoryListOptions?: JUHUU.DeviceParameterHistory.List.Options): Promise<JUHUU.HttpResponse<JUHUU.DeviceParameterHistory.List.Response>>;
|
846
|
+
retrieve(DeviceParameterHistoryRetrieveParams: JUHUU.DeviceParameterHistory.Retrieve.Params, DeviceParameterHistoryRetrieveOptions?: JUHUU.DeviceParameterHistory.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.DeviceParameterHistory.Retrieve.Response>>;
|
847
|
+
}
|
848
|
+
|
839
849
|
declare class Juhuu {
|
840
850
|
constructor(config: JUHUU.SetupConfig);
|
841
851
|
/**
|
@@ -868,6 +878,7 @@ declare class Juhuu {
|
|
868
878
|
readonly boldLock: BoldLockService;
|
869
879
|
readonly tapkey: TapkeyService;
|
870
880
|
readonly articleGroups: ArticleGroupGroupsService;
|
881
|
+
readonly deviceParameterHistories: DeviceParameterHistoriesService;
|
871
882
|
}
|
872
883
|
declare namespace JUHUU {
|
873
884
|
interface SetupConfig {
|
@@ -2990,6 +3001,163 @@ declare namespace JUHUU {
|
|
2990
3001
|
}
|
2991
3002
|
export { };
|
2992
3003
|
}
|
3004
|
+
namespace DeviceParameterAnomalyGroup {
|
3005
|
+
type Object = {
|
3006
|
+
id: string;
|
3007
|
+
readonly object: "deviceParameterAnomalyGroup";
|
3008
|
+
deviceParameterAnomalyGroupTrackerId: string | null;
|
3009
|
+
propertyId: string;
|
3010
|
+
};
|
3011
|
+
namespace Create {
|
3012
|
+
type Params = {
|
3013
|
+
propertyId: string;
|
3014
|
+
deviceParameterAnomalyGroupTrackerId?: string;
|
3015
|
+
};
|
3016
|
+
type Options = JUHUU.RequestOptions;
|
3017
|
+
type Response = {
|
3018
|
+
deviceParameterAnomalyGroup: JUHUU.DeviceParameterAnomalyGroup.Object;
|
3019
|
+
};
|
3020
|
+
}
|
3021
|
+
namespace Retrieve {
|
3022
|
+
type Params = {
|
3023
|
+
deviceParameterAnomalyGroupId: string;
|
3024
|
+
};
|
3025
|
+
type Options = {
|
3026
|
+
expand?: Array<"property">;
|
3027
|
+
} & JUHUU.RequestOptions;
|
3028
|
+
type Response = {
|
3029
|
+
deviceParameterAnomalyGroup: JUHUU.DeviceParameterAnomalyGroup.Object;
|
3030
|
+
};
|
3031
|
+
}
|
3032
|
+
namespace List {
|
3033
|
+
type Params = {
|
3034
|
+
propertyId?: string;
|
3035
|
+
};
|
3036
|
+
type Options = {
|
3037
|
+
skip?: number;
|
3038
|
+
limit?: number;
|
3039
|
+
} & JUHUU.RequestOptions;
|
3040
|
+
type Response = {
|
3041
|
+
deviceParameterAnomalyGroupArray: JUHUU.DeviceParameterAnomalyGroup.Object[];
|
3042
|
+
count: number;
|
3043
|
+
hasMore: boolean;
|
3044
|
+
};
|
3045
|
+
}
|
3046
|
+
namespace Update {
|
3047
|
+
type Params = {
|
3048
|
+
deviceParameterAnomalyGroupId: string;
|
3049
|
+
};
|
3050
|
+
type Options = JUHUU.RequestOptions;
|
3051
|
+
type Response = {
|
3052
|
+
deviceParameterAnomalyGroup: JUHUU.DeviceParameterAnomalyGroup.Object;
|
3053
|
+
};
|
3054
|
+
}
|
3055
|
+
namespace Delete {
|
3056
|
+
type Params = {
|
3057
|
+
deviceParameterAnomalyGroupId?: string;
|
3058
|
+
};
|
3059
|
+
type Options = JUHUU.RequestOptions;
|
3060
|
+
type Response = {
|
3061
|
+
deviceParameterAnomalyGroup: JUHUU.DeviceParameterAnomalyGroup.Object;
|
3062
|
+
};
|
3063
|
+
}
|
3064
|
+
}
|
3065
|
+
namespace DeviceParameterAnomalyGroupTracker {
|
3066
|
+
type Object = {
|
3067
|
+
id: string;
|
3068
|
+
readonly object: "deviceParameterAnomalyGroupTracker";
|
3069
|
+
nextRunAt: Date | null;
|
3070
|
+
title: string;
|
3071
|
+
propertyId: string;
|
3072
|
+
};
|
3073
|
+
namespace Create {
|
3074
|
+
type Params = {
|
3075
|
+
propertyId: string;
|
3076
|
+
};
|
3077
|
+
type Options = JUHUU.RequestOptions;
|
3078
|
+
type Response = {
|
3079
|
+
deviceParameterAnomalyGroupTracker: JUHUU.DeviceParameterAnomalyGroupTracker.Object;
|
3080
|
+
};
|
3081
|
+
}
|
3082
|
+
namespace Retrieve {
|
3083
|
+
type Params = {
|
3084
|
+
deviceParameterAnomalyGroupTrackerId: string;
|
3085
|
+
};
|
3086
|
+
type Options = {
|
3087
|
+
expand?: Array<"property">;
|
3088
|
+
} & JUHUU.RequestOptions;
|
3089
|
+
type Response = {
|
3090
|
+
deviceParameterAnomalyGroupTracker: JUHUU.DeviceParameterAnomalyGroupTracker.Object;
|
3091
|
+
};
|
3092
|
+
}
|
3093
|
+
namespace List {
|
3094
|
+
type Params = {
|
3095
|
+
propertyId?: string;
|
3096
|
+
};
|
3097
|
+
type Options = {
|
3098
|
+
skip?: number;
|
3099
|
+
limit?: number;
|
3100
|
+
} & JUHUU.RequestOptions;
|
3101
|
+
type Response = {
|
3102
|
+
deviceParameterAnomalyGroupTrackerArray: JUHUU.DeviceParameterAnomalyGroupTracker.Object[];
|
3103
|
+
count: number;
|
3104
|
+
hasMore: boolean;
|
3105
|
+
};
|
3106
|
+
}
|
3107
|
+
namespace Update {
|
3108
|
+
type Params = {
|
3109
|
+
deviceParameterAnomalyGroupTrackerId: string;
|
3110
|
+
title: string;
|
3111
|
+
};
|
3112
|
+
type Options = JUHUU.RequestOptions;
|
3113
|
+
type Response = {
|
3114
|
+
deviceParameterAnomalyGroupTracker: JUHUU.DeviceParameterAnomalyGroupTracker.Object;
|
3115
|
+
};
|
3116
|
+
}
|
3117
|
+
namespace Delete {
|
3118
|
+
type Params = {
|
3119
|
+
deviceParameterAnomalyGroupTrackerId?: string;
|
3120
|
+
};
|
3121
|
+
type Options = JUHUU.RequestOptions;
|
3122
|
+
type Response = {
|
3123
|
+
deviceParameterAnomalyGroupTracker: JUHUU.DeviceParameterAnomalyGroupTracker.Object;
|
3124
|
+
};
|
3125
|
+
}
|
3126
|
+
}
|
3127
|
+
namespace DeviceParameterHistory {
|
3128
|
+
type Object = {
|
3129
|
+
id: string;
|
3130
|
+
readonly object: "deviceParameterHistory";
|
3131
|
+
parameter: Parameter;
|
3132
|
+
deviceId: string;
|
3133
|
+
propertyId: string;
|
3134
|
+
};
|
3135
|
+
namespace Retrieve {
|
3136
|
+
type Params = {
|
3137
|
+
deviceParameterHistoryId: string;
|
3138
|
+
};
|
3139
|
+
type Options = {
|
3140
|
+
expand?: Array<"property">;
|
3141
|
+
} & JUHUU.RequestOptions;
|
3142
|
+
type Response = {
|
3143
|
+
deviceParameterHistory: JUHUU.DeviceParameterHistory.Object;
|
3144
|
+
};
|
3145
|
+
}
|
3146
|
+
namespace List {
|
3147
|
+
type Params = {
|
3148
|
+
propertyId?: string;
|
3149
|
+
};
|
3150
|
+
type Options = {
|
3151
|
+
skip?: number;
|
3152
|
+
limit?: number;
|
3153
|
+
} & JUHUU.RequestOptions;
|
3154
|
+
type Response = {
|
3155
|
+
deviceParameterHistoryArray: JUHUU.DeviceParameterHistory.Object[];
|
3156
|
+
count: number;
|
3157
|
+
hasMore: boolean;
|
3158
|
+
};
|
3159
|
+
}
|
3160
|
+
}
|
2993
3161
|
namespace DeviceTemplate {
|
2994
3162
|
type Object = {
|
2995
3163
|
id: string;
|
package/dist/index.d.ts
CHANGED
@@ -258,22 +258,26 @@ type Parameter = {
|
|
258
258
|
lastChangeAt: Date | null;
|
259
259
|
current: number;
|
260
260
|
unit: Unit | null;
|
261
|
+
deviceParameterAnomalyGroupIdArray: string[];
|
261
262
|
} | {
|
262
263
|
name: string;
|
263
264
|
type: "enum";
|
264
265
|
lastChangeAt: Date;
|
265
266
|
enumArray: string[];
|
266
267
|
current: string;
|
268
|
+
deviceParameterAnomalyGroupIdArray: string[];
|
267
269
|
} | {
|
268
270
|
name: string;
|
269
271
|
type: "string";
|
270
272
|
lastChangeAt: Date;
|
271
273
|
current: string;
|
274
|
+
deviceParameterAnomalyGroupIdArray: string[];
|
272
275
|
} | {
|
273
276
|
name: string;
|
274
277
|
type: "boolean";
|
275
278
|
lastChangeAt: Date;
|
276
279
|
current: boolean;
|
280
|
+
deviceParameterAnomalyGroupIdArray: string[];
|
277
281
|
};
|
278
282
|
declare namespace Layout {
|
279
283
|
type Block = {
|
@@ -836,6 +840,12 @@ declare class ArticleGroupGroupsService extends Service {
|
|
836
840
|
delete(ArticleGroupDeleteParams: JUHUU.ArticleGroup.Delete.Params, ArticleGroupDeleteOptions?: JUHUU.ArticleGroup.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.ArticleGroup.Delete.Response>>;
|
837
841
|
}
|
838
842
|
|
843
|
+
declare class DeviceParameterHistoriesService extends Service {
|
844
|
+
constructor(config: JUHUU.SetupConfig);
|
845
|
+
list(DeviceParameterHistoryListParams: JUHUU.DeviceParameterHistory.List.Params, DeviceParameterHistoryListOptions?: JUHUU.DeviceParameterHistory.List.Options): Promise<JUHUU.HttpResponse<JUHUU.DeviceParameterHistory.List.Response>>;
|
846
|
+
retrieve(DeviceParameterHistoryRetrieveParams: JUHUU.DeviceParameterHistory.Retrieve.Params, DeviceParameterHistoryRetrieveOptions?: JUHUU.DeviceParameterHistory.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.DeviceParameterHistory.Retrieve.Response>>;
|
847
|
+
}
|
848
|
+
|
839
849
|
declare class Juhuu {
|
840
850
|
constructor(config: JUHUU.SetupConfig);
|
841
851
|
/**
|
@@ -868,6 +878,7 @@ declare class Juhuu {
|
|
868
878
|
readonly boldLock: BoldLockService;
|
869
879
|
readonly tapkey: TapkeyService;
|
870
880
|
readonly articleGroups: ArticleGroupGroupsService;
|
881
|
+
readonly deviceParameterHistories: DeviceParameterHistoriesService;
|
871
882
|
}
|
872
883
|
declare namespace JUHUU {
|
873
884
|
interface SetupConfig {
|
@@ -2990,6 +3001,163 @@ declare namespace JUHUU {
|
|
2990
3001
|
}
|
2991
3002
|
export { };
|
2992
3003
|
}
|
3004
|
+
namespace DeviceParameterAnomalyGroup {
|
3005
|
+
type Object = {
|
3006
|
+
id: string;
|
3007
|
+
readonly object: "deviceParameterAnomalyGroup";
|
3008
|
+
deviceParameterAnomalyGroupTrackerId: string | null;
|
3009
|
+
propertyId: string;
|
3010
|
+
};
|
3011
|
+
namespace Create {
|
3012
|
+
type Params = {
|
3013
|
+
propertyId: string;
|
3014
|
+
deviceParameterAnomalyGroupTrackerId?: string;
|
3015
|
+
};
|
3016
|
+
type Options = JUHUU.RequestOptions;
|
3017
|
+
type Response = {
|
3018
|
+
deviceParameterAnomalyGroup: JUHUU.DeviceParameterAnomalyGroup.Object;
|
3019
|
+
};
|
3020
|
+
}
|
3021
|
+
namespace Retrieve {
|
3022
|
+
type Params = {
|
3023
|
+
deviceParameterAnomalyGroupId: string;
|
3024
|
+
};
|
3025
|
+
type Options = {
|
3026
|
+
expand?: Array<"property">;
|
3027
|
+
} & JUHUU.RequestOptions;
|
3028
|
+
type Response = {
|
3029
|
+
deviceParameterAnomalyGroup: JUHUU.DeviceParameterAnomalyGroup.Object;
|
3030
|
+
};
|
3031
|
+
}
|
3032
|
+
namespace List {
|
3033
|
+
type Params = {
|
3034
|
+
propertyId?: string;
|
3035
|
+
};
|
3036
|
+
type Options = {
|
3037
|
+
skip?: number;
|
3038
|
+
limit?: number;
|
3039
|
+
} & JUHUU.RequestOptions;
|
3040
|
+
type Response = {
|
3041
|
+
deviceParameterAnomalyGroupArray: JUHUU.DeviceParameterAnomalyGroup.Object[];
|
3042
|
+
count: number;
|
3043
|
+
hasMore: boolean;
|
3044
|
+
};
|
3045
|
+
}
|
3046
|
+
namespace Update {
|
3047
|
+
type Params = {
|
3048
|
+
deviceParameterAnomalyGroupId: string;
|
3049
|
+
};
|
3050
|
+
type Options = JUHUU.RequestOptions;
|
3051
|
+
type Response = {
|
3052
|
+
deviceParameterAnomalyGroup: JUHUU.DeviceParameterAnomalyGroup.Object;
|
3053
|
+
};
|
3054
|
+
}
|
3055
|
+
namespace Delete {
|
3056
|
+
type Params = {
|
3057
|
+
deviceParameterAnomalyGroupId?: string;
|
3058
|
+
};
|
3059
|
+
type Options = JUHUU.RequestOptions;
|
3060
|
+
type Response = {
|
3061
|
+
deviceParameterAnomalyGroup: JUHUU.DeviceParameterAnomalyGroup.Object;
|
3062
|
+
};
|
3063
|
+
}
|
3064
|
+
}
|
3065
|
+
namespace DeviceParameterAnomalyGroupTracker {
|
3066
|
+
type Object = {
|
3067
|
+
id: string;
|
3068
|
+
readonly object: "deviceParameterAnomalyGroupTracker";
|
3069
|
+
nextRunAt: Date | null;
|
3070
|
+
title: string;
|
3071
|
+
propertyId: string;
|
3072
|
+
};
|
3073
|
+
namespace Create {
|
3074
|
+
type Params = {
|
3075
|
+
propertyId: string;
|
3076
|
+
};
|
3077
|
+
type Options = JUHUU.RequestOptions;
|
3078
|
+
type Response = {
|
3079
|
+
deviceParameterAnomalyGroupTracker: JUHUU.DeviceParameterAnomalyGroupTracker.Object;
|
3080
|
+
};
|
3081
|
+
}
|
3082
|
+
namespace Retrieve {
|
3083
|
+
type Params = {
|
3084
|
+
deviceParameterAnomalyGroupTrackerId: string;
|
3085
|
+
};
|
3086
|
+
type Options = {
|
3087
|
+
expand?: Array<"property">;
|
3088
|
+
} & JUHUU.RequestOptions;
|
3089
|
+
type Response = {
|
3090
|
+
deviceParameterAnomalyGroupTracker: JUHUU.DeviceParameterAnomalyGroupTracker.Object;
|
3091
|
+
};
|
3092
|
+
}
|
3093
|
+
namespace List {
|
3094
|
+
type Params = {
|
3095
|
+
propertyId?: string;
|
3096
|
+
};
|
3097
|
+
type Options = {
|
3098
|
+
skip?: number;
|
3099
|
+
limit?: number;
|
3100
|
+
} & JUHUU.RequestOptions;
|
3101
|
+
type Response = {
|
3102
|
+
deviceParameterAnomalyGroupTrackerArray: JUHUU.DeviceParameterAnomalyGroupTracker.Object[];
|
3103
|
+
count: number;
|
3104
|
+
hasMore: boolean;
|
3105
|
+
};
|
3106
|
+
}
|
3107
|
+
namespace Update {
|
3108
|
+
type Params = {
|
3109
|
+
deviceParameterAnomalyGroupTrackerId: string;
|
3110
|
+
title: string;
|
3111
|
+
};
|
3112
|
+
type Options = JUHUU.RequestOptions;
|
3113
|
+
type Response = {
|
3114
|
+
deviceParameterAnomalyGroupTracker: JUHUU.DeviceParameterAnomalyGroupTracker.Object;
|
3115
|
+
};
|
3116
|
+
}
|
3117
|
+
namespace Delete {
|
3118
|
+
type Params = {
|
3119
|
+
deviceParameterAnomalyGroupTrackerId?: string;
|
3120
|
+
};
|
3121
|
+
type Options = JUHUU.RequestOptions;
|
3122
|
+
type Response = {
|
3123
|
+
deviceParameterAnomalyGroupTracker: JUHUU.DeviceParameterAnomalyGroupTracker.Object;
|
3124
|
+
};
|
3125
|
+
}
|
3126
|
+
}
|
3127
|
+
namespace DeviceParameterHistory {
|
3128
|
+
type Object = {
|
3129
|
+
id: string;
|
3130
|
+
readonly object: "deviceParameterHistory";
|
3131
|
+
parameter: Parameter;
|
3132
|
+
deviceId: string;
|
3133
|
+
propertyId: string;
|
3134
|
+
};
|
3135
|
+
namespace Retrieve {
|
3136
|
+
type Params = {
|
3137
|
+
deviceParameterHistoryId: string;
|
3138
|
+
};
|
3139
|
+
type Options = {
|
3140
|
+
expand?: Array<"property">;
|
3141
|
+
} & JUHUU.RequestOptions;
|
3142
|
+
type Response = {
|
3143
|
+
deviceParameterHistory: JUHUU.DeviceParameterHistory.Object;
|
3144
|
+
};
|
3145
|
+
}
|
3146
|
+
namespace List {
|
3147
|
+
type Params = {
|
3148
|
+
propertyId?: string;
|
3149
|
+
};
|
3150
|
+
type Options = {
|
3151
|
+
skip?: number;
|
3152
|
+
limit?: number;
|
3153
|
+
} & JUHUU.RequestOptions;
|
3154
|
+
type Response = {
|
3155
|
+
deviceParameterHistoryArray: JUHUU.DeviceParameterHistory.Object[];
|
3156
|
+
count: number;
|
3157
|
+
hasMore: boolean;
|
3158
|
+
};
|
3159
|
+
}
|
3160
|
+
}
|
2993
3161
|
namespace DeviceTemplate {
|
2994
3162
|
type Object = {
|
2995
3163
|
id: string;
|
package/dist/index.js
CHANGED
@@ -2698,6 +2698,53 @@ var ArticleGroupGroupsService = class extends Service {
|
|
2698
2698
|
}
|
2699
2699
|
};
|
2700
2700
|
|
2701
|
+
// src/deviceParameterHistories/deviceParameterHistories.service.ts
|
2702
|
+
var DeviceParameterHistoriesService = class extends Service {
|
2703
|
+
constructor(config) {
|
2704
|
+
super(config);
|
2705
|
+
}
|
2706
|
+
async list(DeviceParameterHistoryListParams, DeviceParameterHistoryListOptions) {
|
2707
|
+
const queryArray = [];
|
2708
|
+
if (DeviceParameterHistoryListOptions?.limit !== void 0) {
|
2709
|
+
queryArray.push("limit=" + DeviceParameterHistoryListOptions.limit);
|
2710
|
+
}
|
2711
|
+
if (DeviceParameterHistoryListParams?.propertyId !== void 0) {
|
2712
|
+
queryArray.push(
|
2713
|
+
"propertyId=" + DeviceParameterHistoryListParams.propertyId
|
2714
|
+
);
|
2715
|
+
}
|
2716
|
+
if (DeviceParameterHistoryListOptions?.skip !== void 0) {
|
2717
|
+
queryArray.push("skip=" + DeviceParameterHistoryListOptions.skip);
|
2718
|
+
}
|
2719
|
+
return await super.sendRequest(
|
2720
|
+
{
|
2721
|
+
method: "GET",
|
2722
|
+
url: "articles?" + queryArray.join("&"),
|
2723
|
+
body: void 0,
|
2724
|
+
authenticationNotOptional: false
|
2725
|
+
},
|
2726
|
+
DeviceParameterHistoryListOptions
|
2727
|
+
);
|
2728
|
+
}
|
2729
|
+
async retrieve(DeviceParameterHistoryRetrieveParams, DeviceParameterHistoryRetrieveOptions) {
|
2730
|
+
const queryArray = [];
|
2731
|
+
if (DeviceParameterHistoryRetrieveOptions?.expand !== void 0) {
|
2732
|
+
queryArray.push(
|
2733
|
+
"expand=" + DeviceParameterHistoryRetrieveOptions.expand.join(",")
|
2734
|
+
);
|
2735
|
+
}
|
2736
|
+
return await super.sendRequest(
|
2737
|
+
{
|
2738
|
+
method: "GET",
|
2739
|
+
url: "articles/" + DeviceParameterHistoryRetrieveParams.deviceParameterHistoryId + "?" + queryArray.join("&"),
|
2740
|
+
body: void 0,
|
2741
|
+
authenticationNotOptional: false
|
2742
|
+
},
|
2743
|
+
DeviceParameterHistoryRetrieveOptions
|
2744
|
+
);
|
2745
|
+
}
|
2746
|
+
};
|
2747
|
+
|
2701
2748
|
// src/types/types.ts
|
2702
2749
|
var LanguageCodeArray = [
|
2703
2750
|
"en",
|
@@ -2874,6 +2921,7 @@ var Juhuu = class {
|
|
2874
2921
|
this.boldLock = new BoldLockService(config);
|
2875
2922
|
this.tapkey = new TapkeyService(config);
|
2876
2923
|
this.articleGroups = new ArticleGroupGroupsService(config);
|
2924
|
+
this.deviceParameterHistories = new DeviceParameterHistoriesService(config);
|
2877
2925
|
}
|
2878
2926
|
/**
|
2879
2927
|
* Top Level Resources
|
@@ -2905,6 +2953,7 @@ var Juhuu = class {
|
|
2905
2953
|
boldLock;
|
2906
2954
|
tapkey;
|
2907
2955
|
articleGroups;
|
2956
|
+
deviceParameterHistories;
|
2908
2957
|
};
|
2909
2958
|
var JUHUU;
|
2910
2959
|
((JUHUU2) => {
|
package/dist/index.mjs
CHANGED
@@ -2654,6 +2654,53 @@ var ArticleGroupGroupsService = class extends Service {
|
|
2654
2654
|
}
|
2655
2655
|
};
|
2656
2656
|
|
2657
|
+
// src/deviceParameterHistories/deviceParameterHistories.service.ts
|
2658
|
+
var DeviceParameterHistoriesService = class extends Service {
|
2659
|
+
constructor(config) {
|
2660
|
+
super(config);
|
2661
|
+
}
|
2662
|
+
async list(DeviceParameterHistoryListParams, DeviceParameterHistoryListOptions) {
|
2663
|
+
const queryArray = [];
|
2664
|
+
if (DeviceParameterHistoryListOptions?.limit !== void 0) {
|
2665
|
+
queryArray.push("limit=" + DeviceParameterHistoryListOptions.limit);
|
2666
|
+
}
|
2667
|
+
if (DeviceParameterHistoryListParams?.propertyId !== void 0) {
|
2668
|
+
queryArray.push(
|
2669
|
+
"propertyId=" + DeviceParameterHistoryListParams.propertyId
|
2670
|
+
);
|
2671
|
+
}
|
2672
|
+
if (DeviceParameterHistoryListOptions?.skip !== void 0) {
|
2673
|
+
queryArray.push("skip=" + DeviceParameterHistoryListOptions.skip);
|
2674
|
+
}
|
2675
|
+
return await super.sendRequest(
|
2676
|
+
{
|
2677
|
+
method: "GET",
|
2678
|
+
url: "articles?" + queryArray.join("&"),
|
2679
|
+
body: void 0,
|
2680
|
+
authenticationNotOptional: false
|
2681
|
+
},
|
2682
|
+
DeviceParameterHistoryListOptions
|
2683
|
+
);
|
2684
|
+
}
|
2685
|
+
async retrieve(DeviceParameterHistoryRetrieveParams, DeviceParameterHistoryRetrieveOptions) {
|
2686
|
+
const queryArray = [];
|
2687
|
+
if (DeviceParameterHistoryRetrieveOptions?.expand !== void 0) {
|
2688
|
+
queryArray.push(
|
2689
|
+
"expand=" + DeviceParameterHistoryRetrieveOptions.expand.join(",")
|
2690
|
+
);
|
2691
|
+
}
|
2692
|
+
return await super.sendRequest(
|
2693
|
+
{
|
2694
|
+
method: "GET",
|
2695
|
+
url: "articles/" + DeviceParameterHistoryRetrieveParams.deviceParameterHistoryId + "?" + queryArray.join("&"),
|
2696
|
+
body: void 0,
|
2697
|
+
authenticationNotOptional: false
|
2698
|
+
},
|
2699
|
+
DeviceParameterHistoryRetrieveOptions
|
2700
|
+
);
|
2701
|
+
}
|
2702
|
+
};
|
2703
|
+
|
2657
2704
|
// src/types/types.ts
|
2658
2705
|
var LanguageCodeArray = [
|
2659
2706
|
"en",
|
@@ -2830,6 +2877,7 @@ var Juhuu = class {
|
|
2830
2877
|
this.boldLock = new BoldLockService(config);
|
2831
2878
|
this.tapkey = new TapkeyService(config);
|
2832
2879
|
this.articleGroups = new ArticleGroupGroupsService(config);
|
2880
|
+
this.deviceParameterHistories = new DeviceParameterHistoriesService(config);
|
2833
2881
|
}
|
2834
2882
|
/**
|
2835
2883
|
* Top Level Resources
|
@@ -2861,6 +2909,7 @@ var Juhuu = class {
|
|
2861
2909
|
boldLock;
|
2862
2910
|
tapkey;
|
2863
2911
|
articleGroups;
|
2912
|
+
deviceParameterHistories;
|
2864
2913
|
};
|
2865
2914
|
var JUHUU;
|
2866
2915
|
((JUHUU2) => {
|