@openremote/rest 1.4.0-snapshot.20250415072745 → 1.4.0-snapshot.20250417125729
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/umd/index.bundle.js +1 -1
- package/dist/umd/index.js +1 -1
- package/lib/restclient.d.ts +557 -557
- package/lib/restclient.js +1 -1
- package/lib/restclient.js.map +1 -1
- package/package.json +3 -3
package/lib/restclient.d.ts
CHANGED
|
@@ -35,6 +35,32 @@ export declare class ConfigurationResourceClient<O> {
|
|
|
35
35
|
*/
|
|
36
36
|
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
37
37
|
}
|
|
38
|
+
export declare class AssetDatapointResourceClient<O> {
|
|
39
|
+
protected httpClient: HttpClient<O>;
|
|
40
|
+
constructor(httpClient: HttpClient<O>);
|
|
41
|
+
/**
|
|
42
|
+
* HTTP GET /asset/datapoint/export
|
|
43
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
|
|
44
|
+
*/
|
|
45
|
+
getDatapointExport(queryParams?: {
|
|
46
|
+
attributeRefs?: string;
|
|
47
|
+
fromTimestamp?: number;
|
|
48
|
+
toTimestamp?: number;
|
|
49
|
+
}, options?: O): RestResponse<any>;
|
|
50
|
+
/**
|
|
51
|
+
* HTTP GET /asset/datapoint/periods
|
|
52
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
53
|
+
*/
|
|
54
|
+
getDatapointPeriod(queryParams?: {
|
|
55
|
+
assetId?: string;
|
|
56
|
+
attributeName?: string;
|
|
57
|
+
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
58
|
+
/**
|
|
59
|
+
* HTTP POST /asset/datapoint/{assetId}/{attributeName}
|
|
60
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
|
|
61
|
+
*/
|
|
62
|
+
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
63
|
+
}
|
|
38
64
|
export declare class GatewayClientResourceClient<O> {
|
|
39
65
|
protected httpClient: HttpClient<O>;
|
|
40
66
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -71,106 +97,58 @@ export declare class GatewayClientResourceClient<O> {
|
|
|
71
97
|
*/
|
|
72
98
|
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
73
99
|
}
|
|
74
|
-
export declare class
|
|
100
|
+
export declare class AlarmResourceClient<O> {
|
|
75
101
|
protected httpClient: HttpClient<O>;
|
|
76
102
|
constructor(httpClient: HttpClient<O>);
|
|
77
103
|
/**
|
|
78
|
-
* HTTP
|
|
79
|
-
* Java method: org.openremote.model.
|
|
80
|
-
*/
|
|
81
|
-
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
82
|
-
realm?: string;
|
|
83
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
84
|
-
/**
|
|
85
|
-
* HTTP POST /agent/assetImport/{agentId}
|
|
86
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
104
|
+
* HTTP POST /alarm
|
|
105
|
+
* Java method: org.openremote.model.alarm.AlarmResource.createAlarm
|
|
87
106
|
*/
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
}, options?: O): RestResponse<Model.
|
|
107
|
+
createAlarm(alarm: Model.Alarm, queryParams?: {
|
|
108
|
+
assetIds?: string[];
|
|
109
|
+
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
91
110
|
/**
|
|
92
|
-
* HTTP GET /
|
|
93
|
-
* Java method: org.openremote.model.
|
|
111
|
+
* HTTP GET /alarm
|
|
112
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarms
|
|
94
113
|
*/
|
|
95
|
-
|
|
96
|
-
parentId?: string;
|
|
114
|
+
getAlarms(queryParams?: {
|
|
97
115
|
realm?: string;
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
constructor(httpClient: HttpClient<O>);
|
|
103
|
-
/**
|
|
104
|
-
* HTTP GET /model/assetDescriptors
|
|
105
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
|
|
106
|
-
*/
|
|
107
|
-
getAssetDescriptors(queryParams?: {
|
|
108
|
-
parentId?: string;
|
|
109
|
-
parentType?: string;
|
|
110
|
-
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
111
|
-
/**
|
|
112
|
-
* HTTP GET /model/assetInfo/{assetType}
|
|
113
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
114
|
-
*/
|
|
115
|
-
getAssetInfo(assetType: string, queryParams?: {
|
|
116
|
-
parentId?: string;
|
|
117
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
118
|
-
/**
|
|
119
|
-
* HTTP GET /model/assetInfos
|
|
120
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
|
|
121
|
-
*/
|
|
122
|
-
getAssetInfos(queryParams?: {
|
|
123
|
-
parentId?: string;
|
|
124
|
-
parentType?: string;
|
|
125
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
116
|
+
status?: Model.AlarmStatus;
|
|
117
|
+
assetId?: string;
|
|
118
|
+
assigneeId?: string;
|
|
119
|
+
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
126
120
|
/**
|
|
127
|
-
* HTTP
|
|
128
|
-
* Java method: org.openremote.model.
|
|
121
|
+
* HTTP DELETE /alarm
|
|
122
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
|
|
129
123
|
*/
|
|
130
|
-
|
|
131
|
-
parentId?: string;
|
|
132
|
-
}, options?: O): RestResponse<{
|
|
133
|
-
[index: string]: Model.MetaItemDescriptor;
|
|
134
|
-
}>;
|
|
124
|
+
removeAlarms(ids: number[], options?: O): RestResponse<void>;
|
|
135
125
|
/**
|
|
136
|
-
* HTTP
|
|
137
|
-
* Java method: org.openremote.model.
|
|
126
|
+
* HTTP PUT /alarm/assets
|
|
127
|
+
* Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
|
|
138
128
|
*/
|
|
139
|
-
|
|
140
|
-
parentId?: string;
|
|
141
|
-
}, options?: O): RestResponse<{
|
|
142
|
-
[index: string]: Model.ValueDescriptor;
|
|
143
|
-
}>;
|
|
144
|
-
}
|
|
145
|
-
export declare class MapResourceClient<O> {
|
|
146
|
-
protected httpClient: HttpClient<O>;
|
|
147
|
-
constructor(httpClient: HttpClient<O>);
|
|
129
|
+
setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
|
|
148
130
|
/**
|
|
149
|
-
* HTTP GET /
|
|
150
|
-
* Java method: org.openremote.model.
|
|
131
|
+
* HTTP GET /alarm/{alarmId}
|
|
132
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarm
|
|
151
133
|
*/
|
|
152
|
-
|
|
153
|
-
[id: string]: unknown;
|
|
154
|
-
}>;
|
|
134
|
+
getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
|
|
155
135
|
/**
|
|
156
|
-
* HTTP
|
|
157
|
-
* Java method: org.openremote.model.
|
|
136
|
+
* HTTP DELETE /alarm/{alarmId}
|
|
137
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
|
|
158
138
|
*/
|
|
159
|
-
|
|
160
|
-
[index: string]: Model.MapRealmConfig;
|
|
161
|
-
}, options?: O): RestResponse<any>;
|
|
139
|
+
removeAlarm(alarmId: number, options?: O): RestResponse<void>;
|
|
162
140
|
/**
|
|
163
|
-
* HTTP
|
|
164
|
-
* Java method: org.openremote.model.
|
|
141
|
+
* HTTP PUT /alarm/{alarmId}
|
|
142
|
+
* Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
|
|
165
143
|
*/
|
|
166
|
-
|
|
167
|
-
[id: string]: unknown;
|
|
168
|
-
}>;
|
|
144
|
+
updateAlarm(alarmId: number, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
|
|
169
145
|
/**
|
|
170
|
-
* HTTP GET /
|
|
171
|
-
* Java method: org.openremote.model.
|
|
146
|
+
* HTTP GET /alarm/{alarmId}/assets
|
|
147
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
|
|
172
148
|
*/
|
|
173
|
-
|
|
149
|
+
getAssetLinks(alarmId: number, queryParams?: {
|
|
150
|
+
realm?: string;
|
|
151
|
+
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
174
152
|
}
|
|
175
153
|
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
176
154
|
protected httpClient: HttpClient<O>;
|
|
@@ -186,364 +164,432 @@ export declare class AssetPredictedDatapointResourceClient<O> {
|
|
|
186
164
|
*/
|
|
187
165
|
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
188
166
|
}
|
|
189
|
-
export declare class
|
|
167
|
+
export declare class RulesResourceClient<O> {
|
|
190
168
|
protected httpClient: HttpClient<O>;
|
|
191
169
|
constructor(httpClient: HttpClient<O>);
|
|
192
170
|
/**
|
|
193
|
-
* HTTP
|
|
194
|
-
* Java method: org.openremote.model.
|
|
171
|
+
* HTTP POST /rules
|
|
172
|
+
* Java method: org.openremote.model.rules.RulesResource.createGlobalRuleset
|
|
195
173
|
*/
|
|
196
|
-
|
|
174
|
+
createGlobalRuleset(ruleset: Model.GlobalRuleset, options?: O): RestResponse<number>;
|
|
197
175
|
/**
|
|
198
|
-
* HTTP
|
|
199
|
-
* Java method: org.openremote.model.
|
|
176
|
+
* HTTP GET /rules
|
|
177
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalRulesets
|
|
200
178
|
*/
|
|
201
|
-
|
|
179
|
+
getGlobalRulesets(queryParams?: {
|
|
180
|
+
language?: Model.RulesetLang[];
|
|
181
|
+
fullyPopulate?: boolean;
|
|
182
|
+
}, options?: O): RestResponse<Model.GlobalRuleset[]>;
|
|
202
183
|
/**
|
|
203
|
-
* HTTP
|
|
204
|
-
* Java method: org.openremote.model.
|
|
184
|
+
* HTTP POST /rules/asset
|
|
185
|
+
* Java method: org.openremote.model.rules.RulesResource.createAssetRuleset
|
|
205
186
|
*/
|
|
206
|
-
|
|
187
|
+
createAssetRuleset(ruleset: Model.AssetRuleset, options?: O): RestResponse<number>;
|
|
207
188
|
/**
|
|
208
|
-
* HTTP GET /
|
|
209
|
-
* Java method: org.openremote.model.
|
|
189
|
+
* HTTP GET /rules/asset/for/{assetId}
|
|
190
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetRulesets
|
|
210
191
|
*/
|
|
211
|
-
|
|
192
|
+
getAssetRulesets(assetId: string, queryParams?: {
|
|
193
|
+
language?: Model.RulesetLang[];
|
|
194
|
+
fullyPopulate?: boolean;
|
|
195
|
+
}, options?: O): RestResponse<Model.AssetRuleset[]>;
|
|
212
196
|
/**
|
|
213
|
-
* HTTP
|
|
214
|
-
* Java method: org.openremote.model.
|
|
197
|
+
* HTTP DELETE /rules/asset/{id}
|
|
198
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteAssetRuleset
|
|
215
199
|
*/
|
|
216
|
-
|
|
200
|
+
deleteAssetRuleset(id: number, options?: O): RestResponse<void>;
|
|
217
201
|
/**
|
|
218
|
-
* HTTP GET /
|
|
219
|
-
* Java method: org.openremote.model.
|
|
202
|
+
* HTTP GET /rules/asset/{id}
|
|
203
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetRuleset
|
|
220
204
|
*/
|
|
221
|
-
|
|
205
|
+
getAssetRuleset(id: number, options?: O): RestResponse<Model.AssetRuleset>;
|
|
222
206
|
/**
|
|
223
|
-
* HTTP PUT /
|
|
224
|
-
* Java method: org.openremote.model.
|
|
207
|
+
* HTTP PUT /rules/asset/{id}
|
|
208
|
+
* Java method: org.openremote.model.rules.RulesResource.updateAssetRuleset
|
|
225
209
|
*/
|
|
226
|
-
|
|
210
|
+
updateAssetRuleset(id: number, ruleset: Model.AssetRuleset, options?: O): RestResponse<void>;
|
|
227
211
|
/**
|
|
228
|
-
* HTTP GET /
|
|
229
|
-
* Java method: org.openremote.model.
|
|
212
|
+
* HTTP GET /rules/geofences/{assetId}
|
|
213
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetGeofences
|
|
230
214
|
*/
|
|
231
|
-
|
|
215
|
+
getAssetGeofences(assetId: string, options?: O): RestResponse<Model.GeofenceDefinition[]>;
|
|
232
216
|
/**
|
|
233
|
-
* HTTP
|
|
234
|
-
* Java method: org.openremote.model.
|
|
217
|
+
* HTTP GET /rules/info/asset/{assetId}
|
|
218
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetEngineInfo
|
|
235
219
|
*/
|
|
236
|
-
|
|
220
|
+
getAssetEngineInfo(assetId: string, options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
237
221
|
/**
|
|
238
|
-
* HTTP GET /
|
|
239
|
-
* Java method: org.openremote.model.
|
|
222
|
+
* HTTP GET /rules/info/global
|
|
223
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalEngineInfo
|
|
240
224
|
*/
|
|
241
|
-
|
|
225
|
+
getGlobalEngineInfo(options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
242
226
|
/**
|
|
243
|
-
* HTTP
|
|
244
|
-
* Java method: org.openremote.model.
|
|
227
|
+
* HTTP GET /rules/info/realm/{realm}
|
|
228
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmEngineInfo
|
|
245
229
|
*/
|
|
246
|
-
|
|
230
|
+
getRealmEngineInfo(realm: string, options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
247
231
|
/**
|
|
248
|
-
* HTTP
|
|
249
|
-
* Java method: org.openremote.model.
|
|
232
|
+
* HTTP POST /rules/realm
|
|
233
|
+
* Java method: org.openremote.model.rules.RulesResource.createRealmRuleset
|
|
250
234
|
*/
|
|
251
|
-
|
|
235
|
+
createRealmRuleset(ruleset: Model.RealmRuleset, options?: O): RestResponse<number>;
|
|
252
236
|
/**
|
|
253
|
-
* HTTP
|
|
254
|
-
* Java method: org.openremote.model.
|
|
237
|
+
* HTTP GET /rules/realm/for/{realm}
|
|
238
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmRulesets
|
|
255
239
|
*/
|
|
256
|
-
|
|
240
|
+
getRealmRulesets(realm: string, queryParams?: {
|
|
241
|
+
language?: Model.RulesetLang[];
|
|
242
|
+
fullyPopulate?: boolean;
|
|
243
|
+
}, options?: O): RestResponse<Model.RealmRuleset[]>;
|
|
257
244
|
/**
|
|
258
|
-
* HTTP
|
|
259
|
-
* Java method: org.openremote.model.
|
|
245
|
+
* HTTP DELETE /rules/realm/{id}
|
|
246
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteRealmRuleset
|
|
260
247
|
*/
|
|
261
|
-
|
|
248
|
+
deleteRealmRuleset(id: number, options?: O): RestResponse<void>;
|
|
262
249
|
/**
|
|
263
|
-
* HTTP
|
|
264
|
-
* Java method: org.openremote.model.
|
|
250
|
+
* HTTP GET /rules/realm/{id}
|
|
251
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmRuleset
|
|
265
252
|
*/
|
|
266
|
-
|
|
253
|
+
getRealmRuleset(id: number, options?: O): RestResponse<Model.RealmRuleset>;
|
|
267
254
|
/**
|
|
268
|
-
* HTTP PUT /
|
|
269
|
-
* Java method: org.openremote.model.
|
|
255
|
+
* HTTP PUT /rules/realm/{id}
|
|
256
|
+
* Java method: org.openremote.model.rules.RulesResource.updateRealmRuleset
|
|
270
257
|
*/
|
|
271
|
-
|
|
258
|
+
updateRealmRuleset(id: number, ruleset: Model.RealmRuleset, options?: O): RestResponse<void>;
|
|
272
259
|
/**
|
|
273
|
-
* HTTP DELETE /
|
|
274
|
-
* Java method: org.openremote.model.
|
|
260
|
+
* HTTP DELETE /rules/{id}
|
|
261
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteGlobalRuleset
|
|
275
262
|
*/
|
|
276
|
-
|
|
263
|
+
deleteGlobalRuleset(id: number, options?: O): RestResponse<void>;
|
|
277
264
|
/**
|
|
278
|
-
* HTTP GET /
|
|
279
|
-
* Java method: org.openremote.model.
|
|
280
|
-
*/
|
|
281
|
-
getClientRoles(realm: string, clientId: string, options?: O): RestResponse<Model.Role[]>;
|
|
282
|
-
/**
|
|
283
|
-
* HTTP PUT /user/{realm}/{clientId}/roles
|
|
284
|
-
* Java method: org.openremote.model.security.UserResource.updateClientRoles
|
|
265
|
+
* HTTP GET /rules/{id}
|
|
266
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalRuleset
|
|
285
267
|
*/
|
|
286
|
-
|
|
268
|
+
getGlobalRuleset(id: number, options?: O): RestResponse<Model.GlobalRuleset>;
|
|
287
269
|
/**
|
|
288
|
-
* HTTP
|
|
289
|
-
* Java method: org.openremote.model.
|
|
270
|
+
* HTTP PUT /rules/{id}
|
|
271
|
+
* Java method: org.openremote.model.rules.RulesResource.updateGlobalRuleset
|
|
290
272
|
*/
|
|
291
|
-
|
|
273
|
+
updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
|
|
292
274
|
}
|
|
293
|
-
export declare class
|
|
275
|
+
export declare class RealmResourceClient<O> {
|
|
294
276
|
protected httpClient: HttpClient<O>;
|
|
295
277
|
constructor(httpClient: HttpClient<O>);
|
|
296
278
|
/**
|
|
297
|
-
* HTTP
|
|
298
|
-
* Java method: org.openremote.model.
|
|
279
|
+
* HTTP POST /realm
|
|
280
|
+
* Java method: org.openremote.model.security.RealmResource.create
|
|
299
281
|
*/
|
|
300
|
-
|
|
282
|
+
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
301
283
|
/**
|
|
302
|
-
* HTTP
|
|
303
|
-
* Java method: org.openremote.model.
|
|
284
|
+
* HTTP GET /realm
|
|
285
|
+
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
304
286
|
*/
|
|
305
|
-
|
|
287
|
+
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
306
288
|
/**
|
|
307
|
-
* HTTP
|
|
308
|
-
* Java method: org.openremote.model.
|
|
289
|
+
* HTTP GET /realm/accessible
|
|
290
|
+
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
309
291
|
*/
|
|
310
|
-
|
|
292
|
+
getAccessible(options?: O): RestResponse<Model.Realm[]>;
|
|
311
293
|
/**
|
|
312
|
-
* HTTP
|
|
313
|
-
* Java method: org.openremote.model.
|
|
294
|
+
* HTTP DELETE /realm/{name}
|
|
295
|
+
* Java method: org.openremote.model.security.RealmResource.delete
|
|
314
296
|
*/
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
297
|
+
delete(name: string, options?: O): RestResponse<void>;
|
|
298
|
+
/**
|
|
299
|
+
* HTTP GET /realm/{name}
|
|
300
|
+
* Java method: org.openremote.model.security.RealmResource.get
|
|
301
|
+
*/
|
|
302
|
+
get(name: string, options?: O): RestResponse<Model.Realm>;
|
|
303
|
+
/**
|
|
304
|
+
* HTTP PUT /realm/{name}
|
|
305
|
+
* Java method: org.openremote.model.security.RealmResource.update
|
|
306
|
+
*/
|
|
307
|
+
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
324
308
|
}
|
|
325
|
-
export declare class
|
|
309
|
+
export declare class MapResourceClient<O> {
|
|
326
310
|
protected httpClient: HttpClient<O>;
|
|
327
311
|
constructor(httpClient: HttpClient<O>);
|
|
328
312
|
/**
|
|
329
|
-
* HTTP GET /
|
|
330
|
-
* Java method: org.openremote.model.
|
|
313
|
+
* HTTP GET /map
|
|
314
|
+
* Java method: org.openremote.model.map.MapResource.getSettings
|
|
331
315
|
*/
|
|
332
|
-
|
|
333
|
-
[
|
|
316
|
+
getSettings(options?: O): RestResponse<{
|
|
317
|
+
[id: string]: unknown;
|
|
334
318
|
}>;
|
|
335
319
|
/**
|
|
336
|
-
* HTTP
|
|
337
|
-
* Java method: org.openremote.model.
|
|
320
|
+
* HTTP PUT /map
|
|
321
|
+
* Java method: org.openremote.model.map.MapResource.saveSettings
|
|
338
322
|
*/
|
|
339
|
-
|
|
340
|
-
[index: string]:
|
|
323
|
+
saveSettings(mapConfig: {
|
|
324
|
+
[index: string]: Model.MapRealmConfig;
|
|
325
|
+
}, options?: O): RestResponse<any>;
|
|
326
|
+
/**
|
|
327
|
+
* HTTP GET /map/js
|
|
328
|
+
* Java method: org.openremote.model.map.MapResource.getSettingsJs
|
|
329
|
+
*/
|
|
330
|
+
getSettingsJs(options?: O): RestResponse<{
|
|
331
|
+
[id: string]: unknown;
|
|
341
332
|
}>;
|
|
333
|
+
/**
|
|
334
|
+
* HTTP GET /map/tile/{zoom}/{column}/{row}
|
|
335
|
+
* Java method: org.openremote.model.map.MapResource.getTile
|
|
336
|
+
*/
|
|
337
|
+
getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
|
|
342
338
|
}
|
|
343
|
-
export declare class
|
|
339
|
+
export declare class AppResourceClient<O> {
|
|
344
340
|
protected httpClient: HttpClient<O>;
|
|
345
341
|
constructor(httpClient: HttpClient<O>);
|
|
346
342
|
/**
|
|
347
|
-
* HTTP
|
|
348
|
-
* Java method: org.openremote.model.
|
|
343
|
+
* HTTP GET /apps
|
|
344
|
+
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
349
345
|
*/
|
|
350
|
-
|
|
346
|
+
getApps(options?: O): RestResponse<string[]>;
|
|
347
|
+
/**
|
|
348
|
+
* HTTP GET /apps/consoleConfig
|
|
349
|
+
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
350
|
+
*/
|
|
351
|
+
getConsoleConfig(options?: O): RestResponse<any>;
|
|
352
|
+
/**
|
|
353
|
+
* HTTP GET /apps/info
|
|
354
|
+
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
355
|
+
*/
|
|
356
|
+
getAppInfos(options?: O): RestResponse<any>;
|
|
351
357
|
}
|
|
352
|
-
export declare class
|
|
358
|
+
export declare class AssetResourceClient<O> {
|
|
353
359
|
protected httpClient: HttpClient<O>;
|
|
354
360
|
constructor(httpClient: HttpClient<O>);
|
|
355
361
|
/**
|
|
356
|
-
* HTTP
|
|
357
|
-
* Java method: org.openremote.model.
|
|
362
|
+
* HTTP POST /asset
|
|
363
|
+
* Java method: org.openremote.model.asset.AssetResource.create
|
|
358
364
|
*/
|
|
359
|
-
|
|
360
|
-
id?: number;
|
|
361
|
-
type?: string;
|
|
362
|
-
from?: number;
|
|
363
|
-
to?: number;
|
|
364
|
-
realmId?: string;
|
|
365
|
-
userId?: string;
|
|
366
|
-
assetId?: string;
|
|
367
|
-
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
365
|
+
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
368
366
|
/**
|
|
369
|
-
* HTTP DELETE /
|
|
370
|
-
* Java method: org.openremote.model.
|
|
367
|
+
* HTTP DELETE /asset
|
|
368
|
+
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
371
369
|
*/
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
type?: string;
|
|
375
|
-
from?: number;
|
|
376
|
-
to?: number;
|
|
377
|
-
realmId?: string;
|
|
378
|
-
userId?: string;
|
|
379
|
-
assetId?: string;
|
|
370
|
+
delete(queryParams?: {
|
|
371
|
+
assetId?: string[];
|
|
380
372
|
}, options?: O): RestResponse<void>;
|
|
381
373
|
/**
|
|
382
|
-
* HTTP
|
|
383
|
-
* Java method: org.openremote.model.
|
|
374
|
+
* HTTP PUT /asset/attributes
|
|
375
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
384
376
|
*/
|
|
385
|
-
|
|
377
|
+
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
386
378
|
/**
|
|
387
|
-
* HTTP
|
|
388
|
-
* Java method: org.openremote.model.
|
|
379
|
+
* HTTP PUT /asset/attributes/timestamp
|
|
380
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
389
381
|
*/
|
|
390
|
-
|
|
382
|
+
writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
391
383
|
/**
|
|
392
|
-
* HTTP
|
|
393
|
-
* Java method: org.openremote.model.
|
|
384
|
+
* HTTP DELETE /asset/parent
|
|
385
|
+
* Java method: org.openremote.model.asset.AssetResource.updateNoneParent
|
|
394
386
|
*/
|
|
395
|
-
|
|
396
|
-
|
|
387
|
+
updateNoneParent(queryParams?: {
|
|
388
|
+
assetIds?: string[];
|
|
397
389
|
}, options?: O): RestResponse<void>;
|
|
398
390
|
/**
|
|
399
|
-
* HTTP
|
|
400
|
-
* Java method: org.openremote.model.
|
|
391
|
+
* HTTP GET /asset/partial/{assetId}
|
|
392
|
+
* Java method: org.openremote.model.asset.AssetResource.getPartial
|
|
401
393
|
*/
|
|
402
|
-
|
|
403
|
-
targetId?: string;
|
|
404
|
-
}, options?: O): RestResponse<void>;
|
|
405
|
-
}
|
|
406
|
-
export declare class DashboardResourceClient<O> {
|
|
407
|
-
protected httpClient: HttpClient<O>;
|
|
408
|
-
constructor(httpClient: HttpClient<O>);
|
|
394
|
+
getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
409
395
|
/**
|
|
410
|
-
* HTTP POST /
|
|
411
|
-
* Java method: org.openremote.model.
|
|
396
|
+
* HTTP POST /asset/query
|
|
397
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
412
398
|
*/
|
|
413
|
-
|
|
399
|
+
queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
|
|
414
400
|
/**
|
|
415
|
-
* HTTP
|
|
416
|
-
* Java method: org.openremote.model.
|
|
401
|
+
* HTTP GET /asset/user/current
|
|
402
|
+
* Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
|
|
417
403
|
*/
|
|
418
|
-
|
|
404
|
+
getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
|
|
419
405
|
/**
|
|
420
|
-
* HTTP
|
|
421
|
-
* Java method: org.openremote.model.
|
|
406
|
+
* HTTP POST /asset/user/link
|
|
407
|
+
* Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
|
|
422
408
|
*/
|
|
423
|
-
|
|
409
|
+
createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
424
410
|
/**
|
|
425
|
-
* HTTP
|
|
426
|
-
* Java method: org.openremote.model.
|
|
411
|
+
* HTTP GET /asset/user/link
|
|
412
|
+
* Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
|
|
427
413
|
*/
|
|
428
|
-
|
|
414
|
+
getUserAssetLinks(queryParams?: {
|
|
415
|
+
realm?: string;
|
|
416
|
+
userId?: string;
|
|
417
|
+
assetId?: string;
|
|
418
|
+
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
429
419
|
/**
|
|
430
|
-
* HTTP
|
|
431
|
-
* Java method: org.openremote.model.
|
|
420
|
+
* HTTP POST /asset/user/link/delete
|
|
421
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
|
|
432
422
|
*/
|
|
433
|
-
|
|
423
|
+
deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
434
424
|
/**
|
|
435
|
-
* HTTP
|
|
436
|
-
* Java method: org.openremote.model.
|
|
425
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}
|
|
426
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
|
|
437
427
|
*/
|
|
438
|
-
|
|
439
|
-
}
|
|
440
|
-
export declare class RulesResourceClient<O> {
|
|
441
|
-
protected httpClient: HttpClient<O>;
|
|
442
|
-
constructor(httpClient: HttpClient<O>);
|
|
428
|
+
deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
443
429
|
/**
|
|
444
|
-
* HTTP
|
|
445
|
-
* Java method: org.openremote.model.
|
|
430
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
|
|
431
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
|
|
446
432
|
*/
|
|
447
|
-
|
|
433
|
+
deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
|
|
448
434
|
/**
|
|
449
|
-
* HTTP GET /
|
|
450
|
-
* Java method: org.openremote.model.
|
|
435
|
+
* HTTP GET /asset/{assetId}
|
|
436
|
+
* Java method: org.openremote.model.asset.AssetResource.get
|
|
451
437
|
*/
|
|
452
|
-
|
|
453
|
-
language?: Model.RulesetLang[];
|
|
454
|
-
fullyPopulate?: boolean;
|
|
455
|
-
}, options?: O): RestResponse<Model.GlobalRuleset[]>;
|
|
438
|
+
get(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
456
439
|
/**
|
|
457
|
-
* HTTP
|
|
458
|
-
* Java method: org.openremote.model.
|
|
440
|
+
* HTTP PUT /asset/{assetId}
|
|
441
|
+
* Java method: org.openremote.model.asset.AssetResource.update
|
|
459
442
|
*/
|
|
460
|
-
|
|
443
|
+
update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
461
444
|
/**
|
|
462
|
-
* HTTP
|
|
463
|
-
* Java method: org.openremote.model.
|
|
445
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}
|
|
446
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
464
447
|
*/
|
|
465
|
-
|
|
466
|
-
language?: Model.RulesetLang[];
|
|
467
|
-
fullyPopulate?: boolean;
|
|
468
|
-
}, options?: O): RestResponse<Model.AssetRuleset[]>;
|
|
448
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
469
449
|
/**
|
|
470
|
-
* HTTP
|
|
471
|
-
* Java method: org.openremote.model.
|
|
450
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
|
|
451
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
472
452
|
*/
|
|
473
|
-
|
|
453
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
474
454
|
/**
|
|
475
|
-
* HTTP
|
|
476
|
-
* Java method: org.openremote.model.
|
|
455
|
+
* HTTP PUT /asset/{parentAssetId}/child
|
|
456
|
+
* Java method: org.openremote.model.asset.AssetResource.updateParent
|
|
477
457
|
*/
|
|
478
|
-
|
|
458
|
+
updateParent(parentAssetId: string, queryParams?: {
|
|
459
|
+
assetIds?: string[];
|
|
460
|
+
}, options?: O): RestResponse<void>;
|
|
461
|
+
}
|
|
462
|
+
export declare class GatewayServiceResourceClient<O> {
|
|
463
|
+
protected httpClient: HttpClient<O>;
|
|
464
|
+
constructor(httpClient: HttpClient<O>);
|
|
479
465
|
/**
|
|
480
|
-
* HTTP
|
|
481
|
-
* Java method: org.openremote.model.
|
|
466
|
+
* HTTP POST /gateway/tunnel
|
|
467
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
482
468
|
*/
|
|
483
|
-
|
|
469
|
+
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
484
470
|
/**
|
|
485
|
-
* HTTP
|
|
486
|
-
* Java method: org.openremote.model.
|
|
471
|
+
* HTTP DELETE /gateway/tunnel
|
|
472
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
487
473
|
*/
|
|
488
|
-
|
|
474
|
+
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
489
475
|
/**
|
|
490
|
-
* HTTP GET /
|
|
491
|
-
* Java method: org.openremote.model.
|
|
476
|
+
* HTTP GET /gateway/tunnel/{realm}
|
|
477
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
492
478
|
*/
|
|
493
|
-
|
|
479
|
+
getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
494
480
|
/**
|
|
495
|
-
* HTTP GET /
|
|
496
|
-
* Java method: org.openremote.model.
|
|
481
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
482
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
497
483
|
*/
|
|
498
|
-
|
|
484
|
+
getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
499
485
|
/**
|
|
500
|
-
* HTTP GET /
|
|
501
|
-
* Java method: org.openremote.model.
|
|
486
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
487
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
502
488
|
*/
|
|
503
|
-
|
|
489
|
+
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
490
|
+
}
|
|
491
|
+
export declare class AssetModelResourceClient<O> {
|
|
492
|
+
protected httpClient: HttpClient<O>;
|
|
493
|
+
constructor(httpClient: HttpClient<O>);
|
|
504
494
|
/**
|
|
505
|
-
* HTTP
|
|
506
|
-
* Java method: org.openremote.model.
|
|
495
|
+
* HTTP GET /model/assetDescriptors
|
|
496
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
|
|
507
497
|
*/
|
|
508
|
-
|
|
498
|
+
getAssetDescriptors(queryParams?: {
|
|
499
|
+
parentId?: string;
|
|
500
|
+
parentType?: string;
|
|
501
|
+
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
509
502
|
/**
|
|
510
|
-
* HTTP GET /
|
|
511
|
-
* Java method: org.openremote.model.
|
|
503
|
+
* HTTP GET /model/assetInfo/{assetType}
|
|
504
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
512
505
|
*/
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
506
|
+
getAssetInfo(assetType: string, queryParams?: {
|
|
507
|
+
parentId?: string;
|
|
508
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
509
|
+
/**
|
|
510
|
+
* HTTP GET /model/assetInfos
|
|
511
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
|
|
512
|
+
*/
|
|
513
|
+
getAssetInfos(queryParams?: {
|
|
514
|
+
parentId?: string;
|
|
515
|
+
parentType?: string;
|
|
516
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
517
|
+
/**
|
|
518
|
+
* HTTP GET /model/metaItemDescriptors
|
|
519
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
|
|
520
|
+
*/
|
|
521
|
+
getMetaItemDescriptors(queryParams?: {
|
|
522
|
+
parentId?: string;
|
|
523
|
+
}, options?: O): RestResponse<{
|
|
524
|
+
[index: string]: Model.MetaItemDescriptor;
|
|
525
|
+
}>;
|
|
526
|
+
/**
|
|
527
|
+
* HTTP GET /model/valueDescriptors
|
|
528
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
|
|
529
|
+
*/
|
|
530
|
+
getValueDescriptors(queryParams?: {
|
|
531
|
+
parentId?: string;
|
|
532
|
+
}, options?: O): RestResponse<{
|
|
533
|
+
[index: string]: Model.ValueDescriptor;
|
|
534
|
+
}>;
|
|
535
|
+
}
|
|
536
|
+
export declare class AgentResourceClient<O> {
|
|
537
|
+
protected httpClient: HttpClient<O>;
|
|
538
|
+
constructor(httpClient: HttpClient<O>);
|
|
539
|
+
/**
|
|
540
|
+
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
541
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
542
|
+
*/
|
|
543
|
+
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
544
|
+
realm?: string;
|
|
545
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
517
546
|
/**
|
|
518
|
-
* HTTP
|
|
519
|
-
* Java method: org.openremote.model.
|
|
547
|
+
* HTTP POST /agent/assetImport/{agentId}
|
|
548
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
520
549
|
*/
|
|
521
|
-
|
|
550
|
+
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
551
|
+
realm?: string;
|
|
552
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
522
553
|
/**
|
|
523
|
-
* HTTP GET /
|
|
524
|
-
* Java method: org.openremote.model.
|
|
554
|
+
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
555
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
525
556
|
*/
|
|
526
|
-
|
|
557
|
+
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
558
|
+
parentId?: string;
|
|
559
|
+
realm?: string;
|
|
560
|
+
}, options?: O): RestResponse<Model.Agent[]>;
|
|
561
|
+
}
|
|
562
|
+
export declare class SyslogResourceClient<O> {
|
|
563
|
+
protected httpClient: HttpClient<O>;
|
|
564
|
+
constructor(httpClient: HttpClient<O>);
|
|
527
565
|
/**
|
|
528
|
-
* HTTP
|
|
529
|
-
* Java method: org.openremote.model.
|
|
566
|
+
* HTTP GET /syslog/config
|
|
567
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getConfig
|
|
530
568
|
*/
|
|
531
|
-
|
|
569
|
+
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
532
570
|
/**
|
|
533
|
-
* HTTP
|
|
534
|
-
* Java method: org.openremote.model.
|
|
571
|
+
* HTTP PUT /syslog/config
|
|
572
|
+
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
535
573
|
*/
|
|
536
|
-
|
|
574
|
+
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
537
575
|
/**
|
|
538
|
-
* HTTP
|
|
539
|
-
* Java method: org.openremote.model.
|
|
576
|
+
* HTTP DELETE /syslog/event
|
|
577
|
+
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
540
578
|
*/
|
|
541
|
-
|
|
579
|
+
clearEvents(options?: O): RestResponse<void>;
|
|
542
580
|
/**
|
|
543
|
-
* HTTP
|
|
544
|
-
* Java method: org.openremote.model.
|
|
581
|
+
* HTTP GET /syslog/event
|
|
582
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getEvents
|
|
545
583
|
*/
|
|
546
|
-
|
|
584
|
+
getEvents(queryParams?: {
|
|
585
|
+
level?: Model.SyslogLevel;
|
|
586
|
+
per_page?: number;
|
|
587
|
+
page?: number;
|
|
588
|
+
from?: number;
|
|
589
|
+
to?: number;
|
|
590
|
+
category?: Model.SyslogCategory[];
|
|
591
|
+
subCategory?: string[];
|
|
592
|
+
}, options?: O): RestResponse<any>;
|
|
547
593
|
}
|
|
548
594
|
export declare class FlowResourceClient<O> {
|
|
549
595
|
protected httpClient: HttpClient<O>;
|
|
@@ -564,340 +610,294 @@ export declare class FlowResourceClient<O> {
|
|
|
564
610
|
*/
|
|
565
611
|
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
566
612
|
}
|
|
567
|
-
export declare class
|
|
613
|
+
export declare class ProvisioningResourceClient<O> {
|
|
568
614
|
protected httpClient: HttpClient<O>;
|
|
569
615
|
constructor(httpClient: HttpClient<O>);
|
|
570
616
|
/**
|
|
571
|
-
* HTTP
|
|
572
|
-
* Java method: org.openremote.model.
|
|
617
|
+
* HTTP POST /provisioning
|
|
618
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
|
|
573
619
|
*/
|
|
574
|
-
|
|
575
|
-
attributeRefs?: string;
|
|
576
|
-
fromTimestamp?: number;
|
|
577
|
-
toTimestamp?: number;
|
|
578
|
-
}, options?: O): RestResponse<any>;
|
|
620
|
+
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
579
621
|
/**
|
|
580
|
-
* HTTP GET /
|
|
581
|
-
* Java method: org.openremote.model.
|
|
622
|
+
* HTTP GET /provisioning
|
|
623
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
582
624
|
*/
|
|
583
|
-
|
|
584
|
-
assetId?: string;
|
|
585
|
-
attributeName?: string;
|
|
586
|
-
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
625
|
+
getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
|
|
587
626
|
/**
|
|
588
|
-
* HTTP
|
|
589
|
-
* Java method: org.openremote.model.
|
|
627
|
+
* HTTP DELETE /provisioning/{id}
|
|
628
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
590
629
|
*/
|
|
591
|
-
|
|
630
|
+
deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
|
|
631
|
+
/**
|
|
632
|
+
* HTTP PUT /provisioning/{id}
|
|
633
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
|
|
634
|
+
*/
|
|
635
|
+
updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
592
636
|
}
|
|
593
|
-
export declare class
|
|
637
|
+
export declare class ConsoleResourceClient<O> {
|
|
594
638
|
protected httpClient: HttpClient<O>;
|
|
595
639
|
constructor(httpClient: HttpClient<O>);
|
|
596
640
|
/**
|
|
597
|
-
* HTTP POST /
|
|
598
|
-
* Java method: org.openremote.model.
|
|
599
|
-
*/
|
|
600
|
-
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
601
|
-
/**
|
|
602
|
-
* HTTP DELETE /asset
|
|
603
|
-
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
604
|
-
*/
|
|
605
|
-
delete(queryParams?: {
|
|
606
|
-
assetId?: string[];
|
|
607
|
-
}, options?: O): RestResponse<void>;
|
|
608
|
-
/**
|
|
609
|
-
* HTTP PUT /asset/attributes
|
|
610
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
611
|
-
*/
|
|
612
|
-
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
613
|
-
/**
|
|
614
|
-
* HTTP PUT /asset/attributes/timestamp
|
|
615
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
616
|
-
*/
|
|
617
|
-
writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
618
|
-
/**
|
|
619
|
-
* HTTP DELETE /asset/parent
|
|
620
|
-
* Java method: org.openremote.model.asset.AssetResource.updateNoneParent
|
|
621
|
-
*/
|
|
622
|
-
updateNoneParent(queryParams?: {
|
|
623
|
-
assetIds?: string[];
|
|
624
|
-
}, options?: O): RestResponse<void>;
|
|
625
|
-
/**
|
|
626
|
-
* HTTP GET /asset/partial/{assetId}
|
|
627
|
-
* Java method: org.openremote.model.asset.AssetResource.getPartial
|
|
628
|
-
*/
|
|
629
|
-
getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
630
|
-
/**
|
|
631
|
-
* HTTP POST /asset/query
|
|
632
|
-
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
633
|
-
*/
|
|
634
|
-
queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
|
|
635
|
-
/**
|
|
636
|
-
* HTTP GET /asset/user/current
|
|
637
|
-
* Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
|
|
638
|
-
*/
|
|
639
|
-
getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
|
|
640
|
-
/**
|
|
641
|
-
* HTTP POST /asset/user/link
|
|
642
|
-
* Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
|
|
641
|
+
* HTTP POST /console/register
|
|
642
|
+
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
643
643
|
*/
|
|
644
|
-
|
|
644
|
+
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
645
|
+
}
|
|
646
|
+
export declare class NotificationResourceClient<O> {
|
|
647
|
+
protected httpClient: HttpClient<O>;
|
|
648
|
+
constructor(httpClient: HttpClient<O>);
|
|
645
649
|
/**
|
|
646
|
-
* HTTP GET /
|
|
647
|
-
* Java method: org.openremote.model.
|
|
650
|
+
* HTTP GET /notification
|
|
651
|
+
* Java method: org.openremote.model.notification.NotificationResource.getNotifications
|
|
648
652
|
*/
|
|
649
|
-
|
|
650
|
-
|
|
653
|
+
getNotifications(queryParams?: {
|
|
654
|
+
id?: number;
|
|
655
|
+
type?: string;
|
|
656
|
+
from?: number;
|
|
657
|
+
to?: number;
|
|
658
|
+
realmId?: string;
|
|
651
659
|
userId?: string;
|
|
652
660
|
assetId?: string;
|
|
653
|
-
}, options?: O): RestResponse<Model.
|
|
654
|
-
/**
|
|
655
|
-
* HTTP POST /asset/user/link/delete
|
|
656
|
-
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
|
|
657
|
-
*/
|
|
658
|
-
deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
661
|
+
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
659
662
|
/**
|
|
660
|
-
* HTTP DELETE /
|
|
661
|
-
* Java method: org.openremote.model.
|
|
663
|
+
* HTTP DELETE /notification
|
|
664
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
662
665
|
*/
|
|
663
|
-
|
|
666
|
+
removeNotifications(queryParams?: {
|
|
667
|
+
id?: number;
|
|
668
|
+
type?: string;
|
|
669
|
+
from?: number;
|
|
670
|
+
to?: number;
|
|
671
|
+
realmId?: string;
|
|
672
|
+
userId?: string;
|
|
673
|
+
assetId?: string;
|
|
674
|
+
}, options?: O): RestResponse<void>;
|
|
664
675
|
/**
|
|
665
|
-
* HTTP
|
|
666
|
-
* Java method: org.openremote.model.
|
|
676
|
+
* HTTP POST /notification/alert
|
|
677
|
+
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
667
678
|
*/
|
|
668
|
-
|
|
679
|
+
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
669
680
|
/**
|
|
670
|
-
* HTTP
|
|
671
|
-
* Java method: org.openremote.model.
|
|
681
|
+
* HTTP DELETE /notification/{notificationId}
|
|
682
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
672
683
|
*/
|
|
673
|
-
|
|
684
|
+
removeNotification(notificationId: number, options?: O): RestResponse<void>;
|
|
674
685
|
/**
|
|
675
|
-
* HTTP PUT /
|
|
676
|
-
* Java method: org.openremote.model.
|
|
686
|
+
* HTTP PUT /notification/{notificationId}/acknowledged
|
|
687
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
|
|
677
688
|
*/
|
|
678
|
-
|
|
689
|
+
notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
|
|
690
|
+
targetId?: string;
|
|
691
|
+
}, options?: O): RestResponse<void>;
|
|
679
692
|
/**
|
|
680
|
-
* HTTP PUT /
|
|
681
|
-
* Java method: org.openremote.model.
|
|
693
|
+
* HTTP PUT /notification/{notificationId}/delivered
|
|
694
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
|
|
682
695
|
*/
|
|
683
|
-
|
|
696
|
+
notificationDelivered(notificationId: number, queryParams?: {
|
|
697
|
+
targetId?: string;
|
|
698
|
+
}, options?: O): RestResponse<void>;
|
|
699
|
+
}
|
|
700
|
+
export declare class StatusResourceClient<O> {
|
|
701
|
+
protected httpClient: HttpClient<O>;
|
|
702
|
+
constructor(httpClient: HttpClient<O>);
|
|
684
703
|
/**
|
|
685
|
-
* HTTP
|
|
686
|
-
* Java method: org.openremote.model.
|
|
704
|
+
* HTTP GET /health
|
|
705
|
+
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
687
706
|
*/
|
|
688
|
-
|
|
707
|
+
getHealthStatus(options?: O): RestResponse<{
|
|
708
|
+
[index: string]: any;
|
|
709
|
+
}>;
|
|
689
710
|
/**
|
|
690
|
-
* HTTP
|
|
691
|
-
* Java method: org.openremote.model.
|
|
711
|
+
* HTTP GET /info
|
|
712
|
+
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
692
713
|
*/
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
}
|
|
714
|
+
getInfo(options?: O): RestResponse<{
|
|
715
|
+
[index: string]: any;
|
|
716
|
+
}>;
|
|
696
717
|
}
|
|
697
|
-
export declare class
|
|
718
|
+
export declare class UserResourceClient<O> {
|
|
698
719
|
protected httpClient: HttpClient<O>;
|
|
699
720
|
constructor(httpClient: HttpClient<O>);
|
|
700
721
|
/**
|
|
701
|
-
* HTTP
|
|
702
|
-
* Java method: org.openremote.model.
|
|
722
|
+
* HTTP PUT /user/locale
|
|
723
|
+
* Java method: org.openremote.model.security.UserResource.updateCurrentUserLocale
|
|
703
724
|
*/
|
|
704
|
-
|
|
725
|
+
updateCurrentUserLocale(locale: string, options?: O): RestResponse<void>;
|
|
705
726
|
/**
|
|
706
|
-
* HTTP
|
|
707
|
-
* Java method: org.openremote.model.
|
|
727
|
+
* HTTP POST /user/query
|
|
728
|
+
* Java method: org.openremote.model.security.UserResource.query
|
|
708
729
|
*/
|
|
709
|
-
|
|
730
|
+
query(query: Model.UserQuery, options?: O): RestResponse<Model.User[]>;
|
|
710
731
|
/**
|
|
711
|
-
* HTTP GET /
|
|
712
|
-
* Java method: org.openremote.model.
|
|
732
|
+
* HTTP GET /user/user
|
|
733
|
+
* Java method: org.openremote.model.security.UserResource.getCurrent
|
|
713
734
|
*/
|
|
714
|
-
|
|
715
|
-
}
|
|
716
|
-
export declare class ProvisioningResourceClient<O> {
|
|
717
|
-
protected httpClient: HttpClient<O>;
|
|
718
|
-
constructor(httpClient: HttpClient<O>);
|
|
735
|
+
getCurrent(options?: O): RestResponse<Model.User>;
|
|
719
736
|
/**
|
|
720
|
-
* HTTP
|
|
721
|
-
* Java method: org.openremote.model.
|
|
737
|
+
* HTTP GET /user/userRealmRoles
|
|
738
|
+
* Java method: org.openremote.model.security.UserResource.getCurrentUserRealmRoles
|
|
722
739
|
*/
|
|
723
|
-
|
|
740
|
+
getCurrentUserRealmRoles(options?: O): RestResponse<string[]>;
|
|
724
741
|
/**
|
|
725
|
-
* HTTP GET /
|
|
726
|
-
* Java method: org.openremote.model.
|
|
742
|
+
* HTTP GET /user/userRoles/{clientId}
|
|
743
|
+
* Java method: org.openremote.model.security.UserResource.getCurrentUserClientRoles
|
|
727
744
|
*/
|
|
728
|
-
|
|
745
|
+
getCurrentUserClientRoles(clientId: string, options?: O): RestResponse<string[]>;
|
|
729
746
|
/**
|
|
730
|
-
* HTTP
|
|
731
|
-
* Java method: org.openremote.model.
|
|
747
|
+
* HTTP GET /user/{realm}/disconnect/{sessionID}
|
|
748
|
+
* Java method: org.openremote.model.security.UserResource.disconnectUserSession
|
|
732
749
|
*/
|
|
733
|
-
|
|
750
|
+
disconnectUserSession(realm: string, sessionID: string, options?: O): RestResponse<void>;
|
|
734
751
|
/**
|
|
735
|
-
* HTTP PUT /
|
|
736
|
-
* Java method: org.openremote.model.
|
|
752
|
+
* HTTP PUT /user/{realm}/reset-password/{userId}
|
|
753
|
+
* Java method: org.openremote.model.security.UserResource.resetPassword
|
|
737
754
|
*/
|
|
738
|
-
|
|
739
|
-
}
|
|
740
|
-
export declare class GatewayServiceResourceClient<O> {
|
|
741
|
-
protected httpClient: HttpClient<O>;
|
|
742
|
-
constructor(httpClient: HttpClient<O>);
|
|
755
|
+
resetPassword(realm: string, userId: string, credential: Model.Credential, options?: O): RestResponse<void>;
|
|
743
756
|
/**
|
|
744
|
-
* HTTP
|
|
745
|
-
* Java method: org.openremote.model.
|
|
757
|
+
* HTTP GET /user/{realm}/reset-secret/{userId}
|
|
758
|
+
* Java method: org.openremote.model.security.UserResource.resetSecret
|
|
746
759
|
*/
|
|
747
|
-
|
|
760
|
+
resetSecret(realm: string, userId: string, options?: O): RestResponse<string>;
|
|
748
761
|
/**
|
|
749
|
-
* HTTP
|
|
750
|
-
* Java method: org.openremote.model.
|
|
762
|
+
* HTTP PUT /user/{realm}/roles
|
|
763
|
+
* Java method: org.openremote.model.security.UserResource.updateRoles
|
|
751
764
|
*/
|
|
752
|
-
|
|
765
|
+
updateRoles(realm: string, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
753
766
|
/**
|
|
754
|
-
* HTTP GET /
|
|
755
|
-
* Java method: org.openremote.model.
|
|
767
|
+
* HTTP GET /user/{realm}/userRealmRoles/{userId}
|
|
768
|
+
* Java method: org.openremote.model.security.UserResource.getUserRealmRoles
|
|
756
769
|
*/
|
|
757
|
-
|
|
770
|
+
getUserRealmRoles(realm: string, userId: string, options?: O): RestResponse<string[]>;
|
|
758
771
|
/**
|
|
759
|
-
* HTTP
|
|
760
|
-
* Java method: org.openremote.model.
|
|
772
|
+
* HTTP PUT /user/{realm}/userRealmRoles/{userId}
|
|
773
|
+
* Java method: org.openremote.model.security.UserResource.updateUserRealmRoles
|
|
761
774
|
*/
|
|
762
|
-
|
|
775
|
+
updateUserRealmRoles(realm: string, userId: string, roles: string[], options?: O): RestResponse<void>;
|
|
763
776
|
/**
|
|
764
|
-
* HTTP GET /
|
|
765
|
-
* Java method: org.openremote.model.
|
|
777
|
+
* HTTP GET /user/{realm}/userRoles/{userId}/{clientId}
|
|
778
|
+
* Java method: org.openremote.model.security.UserResource.getUserClientRoles
|
|
766
779
|
*/
|
|
767
|
-
|
|
768
|
-
}
|
|
769
|
-
export declare class RealmResourceClient<O> {
|
|
770
|
-
protected httpClient: HttpClient<O>;
|
|
771
|
-
constructor(httpClient: HttpClient<O>);
|
|
780
|
+
getUserClientRoles(realm: string, userId: string, clientId: string, options?: O): RestResponse<string[]>;
|
|
772
781
|
/**
|
|
773
|
-
* HTTP
|
|
774
|
-
* Java method: org.openremote.model.security.
|
|
782
|
+
* HTTP PUT /user/{realm}/userRoles/{userId}/{clientId}
|
|
783
|
+
* Java method: org.openremote.model.security.UserResource.updateUserClientRoles
|
|
775
784
|
*/
|
|
776
|
-
|
|
785
|
+
updateUserClientRoles(realm: string, userId: string, clientId: string, roles: string[], options?: O): RestResponse<void>;
|
|
777
786
|
/**
|
|
778
|
-
* HTTP GET /realm
|
|
779
|
-
* Java method: org.openremote.model.security.
|
|
787
|
+
* HTTP GET /user/{realm}/userSessions/{userId}
|
|
788
|
+
* Java method: org.openremote.model.security.UserResource.getUserSessions
|
|
780
789
|
*/
|
|
781
|
-
|
|
790
|
+
getUserSessions(realm: string, userId: string, options?: O): RestResponse<Model.UserSession[]>;
|
|
782
791
|
/**
|
|
783
|
-
* HTTP
|
|
784
|
-
* Java method: org.openremote.model.security.
|
|
792
|
+
* HTTP POST /user/{realm}/users
|
|
793
|
+
* Java method: org.openremote.model.security.UserResource.create
|
|
785
794
|
*/
|
|
786
|
-
|
|
795
|
+
create(realm: string, user: Model.User, options?: O): RestResponse<Model.User>;
|
|
787
796
|
/**
|
|
788
|
-
* HTTP
|
|
789
|
-
* Java method: org.openremote.model.security.
|
|
797
|
+
* HTTP PUT /user/{realm}/users
|
|
798
|
+
* Java method: org.openremote.model.security.UserResource.update
|
|
790
799
|
*/
|
|
791
|
-
|
|
800
|
+
update(realm: string, user: Model.User, options?: O): RestResponse<Model.User>;
|
|
792
801
|
/**
|
|
793
|
-
* HTTP
|
|
794
|
-
* Java method: org.openremote.model.security.
|
|
802
|
+
* HTTP DELETE /user/{realm}/users/{userId}
|
|
803
|
+
* Java method: org.openremote.model.security.UserResource.delete
|
|
795
804
|
*/
|
|
796
|
-
|
|
805
|
+
delete(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
797
806
|
/**
|
|
798
|
-
* HTTP
|
|
799
|
-
* Java method: org.openremote.model.security.
|
|
807
|
+
* HTTP GET /user/{realm}/{clientId}/roles
|
|
808
|
+
* Java method: org.openremote.model.security.UserResource.getClientRoles
|
|
800
809
|
*/
|
|
801
|
-
|
|
802
|
-
}
|
|
803
|
-
export declare class AlarmResourceClient<O> {
|
|
804
|
-
protected httpClient: HttpClient<O>;
|
|
805
|
-
constructor(httpClient: HttpClient<O>);
|
|
810
|
+
getClientRoles(realm: string, clientId: string, options?: O): RestResponse<Model.Role[]>;
|
|
806
811
|
/**
|
|
807
|
-
* HTTP
|
|
808
|
-
* Java method: org.openremote.model.
|
|
812
|
+
* HTTP PUT /user/{realm}/{clientId}/roles
|
|
813
|
+
* Java method: org.openremote.model.security.UserResource.updateClientRoles
|
|
809
814
|
*/
|
|
810
|
-
|
|
811
|
-
assetIds?: string[];
|
|
812
|
-
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
815
|
+
updateClientRoles(realm: string, clientId: string, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
813
816
|
/**
|
|
814
|
-
* HTTP GET /
|
|
815
|
-
* Java method: org.openremote.model.
|
|
817
|
+
* HTTP GET /user/{realm}/{userId}
|
|
818
|
+
* Java method: org.openremote.model.security.UserResource.get
|
|
816
819
|
*/
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
820
|
+
get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
|
|
821
|
+
}
|
|
822
|
+
export declare class DashboardResourceClient<O> {
|
|
823
|
+
protected httpClient: HttpClient<O>;
|
|
824
|
+
constructor(httpClient: HttpClient<O>);
|
|
823
825
|
/**
|
|
824
|
-
* HTTP
|
|
825
|
-
* Java method: org.openremote.model.
|
|
826
|
+
* HTTP POST /dashboard
|
|
827
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
826
828
|
*/
|
|
827
|
-
|
|
829
|
+
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
828
830
|
/**
|
|
829
|
-
* HTTP PUT /
|
|
830
|
-
* Java method: org.openremote.model.
|
|
831
|
+
* HTTP PUT /dashboard
|
|
832
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
831
833
|
*/
|
|
832
|
-
|
|
834
|
+
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
833
835
|
/**
|
|
834
|
-
* HTTP GET /
|
|
835
|
-
* Java method: org.openremote.model.
|
|
836
|
+
* HTTP GET /dashboard/all/{realm}
|
|
837
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
836
838
|
*/
|
|
837
|
-
|
|
839
|
+
getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
|
|
838
840
|
/**
|
|
839
|
-
* HTTP
|
|
840
|
-
* Java method: org.openremote.model.
|
|
841
|
+
* HTTP POST /dashboard/query
|
|
842
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
841
843
|
*/
|
|
842
|
-
|
|
844
|
+
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
843
845
|
/**
|
|
844
|
-
* HTTP
|
|
845
|
-
* Java method: org.openremote.model.
|
|
846
|
+
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
847
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
846
848
|
*/
|
|
847
|
-
|
|
849
|
+
delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
|
|
848
850
|
/**
|
|
849
|
-
* HTTP GET /
|
|
850
|
-
* Java method: org.openremote.model.
|
|
851
|
+
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
852
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
851
853
|
*/
|
|
852
|
-
|
|
853
|
-
realm?: string;
|
|
854
|
-
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
854
|
+
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
855
855
|
}
|
|
856
856
|
export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
|
|
857
857
|
export declare class ApiClient {
|
|
858
858
|
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
859
|
+
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
859
860
|
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
860
|
-
protected
|
|
861
|
-
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
862
|
-
protected _mapResource: AxiosMapResourceClient;
|
|
861
|
+
protected _alarmResource: AxiosAlarmResourceClient;
|
|
863
862
|
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
864
|
-
protected
|
|
863
|
+
protected _rulesResource: AxiosRulesResourceClient;
|
|
864
|
+
protected _realmResource: AxiosRealmResourceClient;
|
|
865
|
+
protected _mapResource: AxiosMapResourceClient;
|
|
866
|
+
protected _appResource: AxiosAppResourceClient;
|
|
867
|
+
protected _assetResource: AxiosAssetResourceClient;
|
|
868
|
+
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
869
|
+
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
870
|
+
protected _agentResource: AxiosAgentResourceClient;
|
|
865
871
|
protected _syslogResource: AxiosSyslogResourceClient;
|
|
866
|
-
protected
|
|
872
|
+
protected _flowResource: AxiosFlowResourceClient;
|
|
873
|
+
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
867
874
|
protected _consoleResource: AxiosConsoleResourceClient;
|
|
868
875
|
protected _notificationResource: AxiosNotificationResourceClient;
|
|
876
|
+
protected _statusResource: AxiosStatusResourceClient;
|
|
877
|
+
protected _userResource: AxiosUserResourceClient;
|
|
869
878
|
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
870
|
-
protected _rulesResource: AxiosRulesResourceClient;
|
|
871
|
-
protected _flowResource: AxiosFlowResourceClient;
|
|
872
|
-
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
873
|
-
protected _assetResource: AxiosAssetResourceClient;
|
|
874
|
-
protected _appResource: AxiosAppResourceClient;
|
|
875
|
-
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
876
|
-
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
877
|
-
protected _realmResource: AxiosRealmResourceClient;
|
|
878
|
-
protected _alarmResource: AxiosAlarmResourceClient;
|
|
879
879
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
880
880
|
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
881
|
+
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
881
882
|
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
882
|
-
get
|
|
883
|
-
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
884
|
-
get MapResource(): AxiosMapResourceClient;
|
|
883
|
+
get AlarmResource(): AxiosAlarmResourceClient;
|
|
885
884
|
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
886
|
-
get
|
|
885
|
+
get RulesResource(): AxiosRulesResourceClient;
|
|
886
|
+
get RealmResource(): AxiosRealmResourceClient;
|
|
887
|
+
get MapResource(): AxiosMapResourceClient;
|
|
888
|
+
get AppResource(): AxiosAppResourceClient;
|
|
889
|
+
get AssetResource(): AxiosAssetResourceClient;
|
|
890
|
+
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
891
|
+
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
892
|
+
get AgentResource(): AxiosAgentResourceClient;
|
|
887
893
|
get SyslogResource(): AxiosSyslogResourceClient;
|
|
888
|
-
get
|
|
894
|
+
get FlowResource(): AxiosFlowResourceClient;
|
|
895
|
+
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
889
896
|
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
890
897
|
get NotificationResource(): AxiosNotificationResourceClient;
|
|
898
|
+
get StatusResource(): AxiosStatusResourceClient;
|
|
899
|
+
get UserResource(): AxiosUserResourceClient;
|
|
891
900
|
get DashboardResource(): AxiosDashboardResourceClient;
|
|
892
|
-
get RulesResource(): AxiosRulesResourceClient;
|
|
893
|
-
get FlowResource(): AxiosFlowResourceClient;
|
|
894
|
-
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
895
|
-
get AssetResource(): AxiosAssetResourceClient;
|
|
896
|
-
get AppResource(): AxiosAppResourceClient;
|
|
897
|
-
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
898
|
-
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
899
|
-
get RealmResource(): AxiosRealmResourceClient;
|
|
900
|
-
get AlarmResource(): AxiosAlarmResourceClient;
|
|
901
901
|
}
|
|
902
902
|
import * as Axios from "axios";
|
|
903
903
|
declare module "axios" {
|
|
@@ -908,63 +908,63 @@ declare module "axios" {
|
|
|
908
908
|
export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
|
|
909
909
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
910
910
|
}
|
|
911
|
-
export declare class
|
|
911
|
+
export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
912
912
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
913
913
|
}
|
|
914
|
-
export declare class
|
|
914
|
+
export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
|
|
915
915
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
916
916
|
}
|
|
917
|
-
export declare class
|
|
917
|
+
export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
|
|
918
918
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
919
919
|
}
|
|
920
|
-
export declare class
|
|
920
|
+
export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
921
921
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
922
922
|
}
|
|
923
|
-
export declare class
|
|
923
|
+
export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
|
|
924
924
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
925
925
|
}
|
|
926
|
-
export declare class
|
|
926
|
+
export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
|
|
927
927
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
928
928
|
}
|
|
929
|
-
export declare class
|
|
929
|
+
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
930
930
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
931
931
|
}
|
|
932
|
-
export declare class
|
|
932
|
+
export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
|
|
933
933
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
934
934
|
}
|
|
935
|
-
export declare class
|
|
935
|
+
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
936
936
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
937
937
|
}
|
|
938
|
-
export declare class
|
|
938
|
+
export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
939
939
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
940
940
|
}
|
|
941
|
-
export declare class
|
|
941
|
+
export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
|
|
942
942
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
943
943
|
}
|
|
944
|
-
export declare class
|
|
944
|
+
export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
|
|
945
945
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
946
946
|
}
|
|
947
|
-
export declare class
|
|
947
|
+
export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
|
|
948
948
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
949
949
|
}
|
|
950
|
-
export declare class
|
|
950
|
+
export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
951
951
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
952
952
|
}
|
|
953
|
-
export declare class
|
|
953
|
+
export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
|
|
954
954
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
955
955
|
}
|
|
956
|
-
export declare class
|
|
956
|
+
export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
|
|
957
957
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
958
958
|
}
|
|
959
|
-
export declare class
|
|
959
|
+
export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
|
|
960
960
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
961
961
|
}
|
|
962
|
-
export declare class
|
|
962
|
+
export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
|
|
963
963
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
964
964
|
}
|
|
965
|
-
export declare class
|
|
965
|
+
export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
|
|
966
966
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
967
967
|
}
|
|
968
|
-
export declare class
|
|
968
|
+
export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
|
|
969
969
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
970
970
|
}
|