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