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