@openremote/rest 1.12.3 → 1.13.0-snapshot.20251216145940
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 +524 -524
- package/lib/restclient.d.ts.map +1 -1
- package/lib/restclient.js +1 -1
- package/lib/restclient.js.map +1 -1
- package/package.json +1 -1
package/lib/restclient.d.ts
CHANGED
|
@@ -9,25 +9,6 @@ export interface HttpClient<O> {
|
|
|
9
9
|
options?: O;
|
|
10
10
|
}): RestResponse<R>;
|
|
11
11
|
}
|
|
12
|
-
export declare class FlowResourceClient<O> {
|
|
13
|
-
protected httpClient: HttpClient<O>;
|
|
14
|
-
constructor(httpClient: HttpClient<O>);
|
|
15
|
-
/**
|
|
16
|
-
* HTTP GET /flow
|
|
17
|
-
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
18
|
-
*/
|
|
19
|
-
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
20
|
-
/**
|
|
21
|
-
* HTTP GET /flow/{name}
|
|
22
|
-
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
23
|
-
*/
|
|
24
|
-
getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
|
|
25
|
-
/**
|
|
26
|
-
* HTTP GET /flow/{type}
|
|
27
|
-
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
28
|
-
*/
|
|
29
|
-
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
30
|
-
}
|
|
31
12
|
export declare class GatewayServiceResourceClient<O> {
|
|
32
13
|
protected httpClient: HttpClient<O>;
|
|
33
14
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -57,78 +38,6 @@ export declare class GatewayServiceResourceClient<O> {
|
|
|
57
38
|
*/
|
|
58
39
|
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
59
40
|
}
|
|
60
|
-
export declare class NotificationResourceClient<O> {
|
|
61
|
-
protected httpClient: HttpClient<O>;
|
|
62
|
-
constructor(httpClient: HttpClient<O>);
|
|
63
|
-
/**
|
|
64
|
-
* HTTP GET /notification
|
|
65
|
-
* Java method: org.openremote.model.notification.NotificationResource.getNotifications
|
|
66
|
-
*/
|
|
67
|
-
getNotifications(queryParams?: {
|
|
68
|
-
id?: number;
|
|
69
|
-
type?: string;
|
|
70
|
-
from?: number;
|
|
71
|
-
to?: number;
|
|
72
|
-
realmId?: string;
|
|
73
|
-
userId?: string;
|
|
74
|
-
assetId?: string;
|
|
75
|
-
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
76
|
-
/**
|
|
77
|
-
* HTTP DELETE /notification
|
|
78
|
-
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
79
|
-
*/
|
|
80
|
-
removeNotifications(queryParams?: {
|
|
81
|
-
id?: number;
|
|
82
|
-
type?: string;
|
|
83
|
-
from?: number;
|
|
84
|
-
to?: number;
|
|
85
|
-
realmId?: string;
|
|
86
|
-
userId?: string;
|
|
87
|
-
assetId?: string;
|
|
88
|
-
}, options?: O): RestResponse<void>;
|
|
89
|
-
/**
|
|
90
|
-
* HTTP POST /notification/alert
|
|
91
|
-
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
92
|
-
*/
|
|
93
|
-
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
94
|
-
/**
|
|
95
|
-
* HTTP DELETE /notification/{notificationId}
|
|
96
|
-
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
97
|
-
*/
|
|
98
|
-
removeNotification(notificationId: number, options?: O): RestResponse<void>;
|
|
99
|
-
/**
|
|
100
|
-
* HTTP PUT /notification/{notificationId}/acknowledged
|
|
101
|
-
* Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
|
|
102
|
-
*/
|
|
103
|
-
notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
|
|
104
|
-
targetId?: string;
|
|
105
|
-
}, options?: O): RestResponse<void>;
|
|
106
|
-
/**
|
|
107
|
-
* HTTP PUT /notification/{notificationId}/delivered
|
|
108
|
-
* Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
|
|
109
|
-
*/
|
|
110
|
-
notificationDelivered(notificationId: number, queryParams?: {
|
|
111
|
-
targetId?: string;
|
|
112
|
-
}, options?: O): RestResponse<void>;
|
|
113
|
-
}
|
|
114
|
-
export declare class StatusResourceClient<O> {
|
|
115
|
-
protected httpClient: HttpClient<O>;
|
|
116
|
-
constructor(httpClient: HttpClient<O>);
|
|
117
|
-
/**
|
|
118
|
-
* HTTP GET /health
|
|
119
|
-
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
120
|
-
*/
|
|
121
|
-
getHealthStatus(options?: O): RestResponse<{
|
|
122
|
-
[index: string]: any;
|
|
123
|
-
}>;
|
|
124
|
-
/**
|
|
125
|
-
* HTTP GET /info
|
|
126
|
-
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
127
|
-
*/
|
|
128
|
-
getInfo(options?: O): RestResponse<{
|
|
129
|
-
[index: string]: any;
|
|
130
|
-
}>;
|
|
131
|
-
}
|
|
132
41
|
export declare class SyslogResourceClient<O> {
|
|
133
42
|
protected httpClient: HttpClient<O>;
|
|
134
43
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -161,246 +70,185 @@ export declare class SyslogResourceClient<O> {
|
|
|
161
70
|
subCategory?: string[];
|
|
162
71
|
}, options?: O): RestResponse<any>;
|
|
163
72
|
}
|
|
164
|
-
export declare class
|
|
73
|
+
export declare class ConfigurationResourceClient<O> {
|
|
165
74
|
protected httpClient: HttpClient<O>;
|
|
166
75
|
constructor(httpClient: HttpClient<O>);
|
|
167
76
|
/**
|
|
168
|
-
* HTTP GET /
|
|
169
|
-
* Java method: org.openremote.model.
|
|
77
|
+
* HTTP GET /configuration/manager
|
|
78
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
170
79
|
*/
|
|
171
|
-
|
|
172
|
-
[id: string]: unknown;
|
|
173
|
-
}>;
|
|
80
|
+
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
174
81
|
/**
|
|
175
|
-
* HTTP PUT /
|
|
176
|
-
* Java method: org.openremote.model.
|
|
82
|
+
* HTTP PUT /configuration/manager
|
|
83
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
177
84
|
*/
|
|
178
|
-
|
|
179
|
-
[id: string]: unknown;
|
|
180
|
-
}>;
|
|
85
|
+
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
181
86
|
/**
|
|
182
|
-
* HTTP
|
|
183
|
-
* Java method: org.openremote.model.
|
|
87
|
+
* HTTP POST /configuration/manager/file
|
|
88
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
184
89
|
*/
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
}>;
|
|
90
|
+
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
91
|
+
path?: string;
|
|
92
|
+
}, options?: O): RestResponse<string>;
|
|
188
93
|
/**
|
|
189
|
-
* HTTP GET /
|
|
190
|
-
* Java method: org.openremote.model.
|
|
94
|
+
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
95
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
191
96
|
*/
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
97
|
+
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
98
|
+
}
|
|
99
|
+
export declare class AssetResourceClient<O> {
|
|
100
|
+
protected httpClient: HttpClient<O>;
|
|
101
|
+
constructor(httpClient: HttpClient<O>);
|
|
195
102
|
/**
|
|
196
|
-
* HTTP
|
|
197
|
-
* Java method: org.openremote.model.
|
|
103
|
+
* HTTP POST /asset
|
|
104
|
+
* Java method: org.openremote.model.asset.AssetResource.create
|
|
198
105
|
*/
|
|
199
|
-
|
|
200
|
-
[id: string]: unknown;
|
|
201
|
-
}>;
|
|
106
|
+
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
202
107
|
/**
|
|
203
|
-
* HTTP
|
|
204
|
-
* Java method: org.openremote.model.
|
|
108
|
+
* HTTP DELETE /asset
|
|
109
|
+
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
205
110
|
*/
|
|
206
|
-
|
|
111
|
+
delete(queryParams?: {
|
|
112
|
+
assetId?: string[];
|
|
113
|
+
}, options?: O): RestResponse<void>;
|
|
207
114
|
/**
|
|
208
|
-
* HTTP
|
|
209
|
-
* Java method: org.openremote.model.
|
|
115
|
+
* HTTP PUT /asset/attributes
|
|
116
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
210
117
|
*/
|
|
211
|
-
|
|
212
|
-
filename?: string;
|
|
213
|
-
}, options?: O): RestResponse<{
|
|
214
|
-
[id: string]: unknown;
|
|
215
|
-
}>;
|
|
216
|
-
}
|
|
217
|
-
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
218
|
-
protected httpClient: HttpClient<O>;
|
|
219
|
-
constructor(httpClient: HttpClient<O>);
|
|
118
|
+
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
220
119
|
/**
|
|
221
|
-
* HTTP
|
|
222
|
-
* Java method: org.openremote.model.
|
|
120
|
+
* HTTP PUT /asset/attributes/timestamp
|
|
121
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
223
122
|
*/
|
|
224
|
-
|
|
123
|
+
writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
225
124
|
/**
|
|
226
|
-
* HTTP
|
|
227
|
-
* Java method: org.openremote.model.
|
|
125
|
+
* HTTP DELETE /asset/parent
|
|
126
|
+
* Java method: org.openremote.model.asset.AssetResource.updateNoneParent
|
|
228
127
|
*/
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
protected httpClient: HttpClient<O>;
|
|
233
|
-
constructor(httpClient: HttpClient<O>);
|
|
128
|
+
updateNoneParent(queryParams?: {
|
|
129
|
+
assetIds?: string[];
|
|
130
|
+
}, options?: O): RestResponse<void>;
|
|
234
131
|
/**
|
|
235
|
-
* HTTP
|
|
236
|
-
* Java method: org.openremote.model.
|
|
132
|
+
* HTTP GET /asset/partial/{assetId}
|
|
133
|
+
* Java method: org.openremote.model.asset.AssetResource.getPartial
|
|
237
134
|
*/
|
|
238
|
-
|
|
135
|
+
getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
239
136
|
/**
|
|
240
|
-
* HTTP
|
|
241
|
-
* Java method: org.openremote.model.
|
|
137
|
+
* HTTP POST /asset/query
|
|
138
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
242
139
|
*/
|
|
243
|
-
|
|
140
|
+
queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
|
|
244
141
|
/**
|
|
245
|
-
* HTTP
|
|
246
|
-
* Java method: org.openremote.model.
|
|
142
|
+
* HTTP POST /asset/tree
|
|
143
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssetTree
|
|
247
144
|
*/
|
|
248
|
-
|
|
145
|
+
queryAssetTree(query: Model.AssetQuery, options?: O): RestResponse<Model.AssetTree>;
|
|
249
146
|
/**
|
|
250
|
-
* HTTP
|
|
251
|
-
* Java method: org.openremote.model.
|
|
147
|
+
* HTTP GET /asset/user/current
|
|
148
|
+
* Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
|
|
252
149
|
*/
|
|
253
|
-
|
|
254
|
-
}
|
|
255
|
-
export declare class AgentResourceClient<O> {
|
|
256
|
-
protected httpClient: HttpClient<O>;
|
|
257
|
-
constructor(httpClient: HttpClient<O>);
|
|
150
|
+
getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
|
|
258
151
|
/**
|
|
259
|
-
* HTTP
|
|
260
|
-
* Java method: org.openremote.model.asset.
|
|
152
|
+
* HTTP POST /asset/user/link
|
|
153
|
+
* Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
|
|
261
154
|
*/
|
|
262
|
-
|
|
263
|
-
realm?: string;
|
|
264
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
155
|
+
createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
265
156
|
/**
|
|
266
|
-
* HTTP
|
|
267
|
-
* Java method: org.openremote.model.asset.
|
|
157
|
+
* HTTP GET /asset/user/link
|
|
158
|
+
* Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
|
|
268
159
|
*/
|
|
269
|
-
|
|
160
|
+
getUserAssetLinks(queryParams?: {
|
|
270
161
|
realm?: string;
|
|
271
|
-
|
|
162
|
+
userId?: string;
|
|
163
|
+
assetId?: string;
|
|
164
|
+
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
272
165
|
/**
|
|
273
|
-
* HTTP
|
|
274
|
-
* Java method: org.openremote.model.asset.
|
|
166
|
+
* HTTP POST /asset/user/link/delete
|
|
167
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
|
|
275
168
|
*/
|
|
276
|
-
|
|
277
|
-
parentId?: string;
|
|
278
|
-
realm?: string;
|
|
279
|
-
}, options?: O): RestResponse<Model.Agent[]>;
|
|
280
|
-
}
|
|
281
|
-
export declare class UserResourceClient<O> {
|
|
282
|
-
protected httpClient: HttpClient<O>;
|
|
283
|
-
constructor(httpClient: HttpClient<O>);
|
|
169
|
+
deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
284
170
|
/**
|
|
285
|
-
* HTTP
|
|
286
|
-
* Java method: org.openremote.model.
|
|
171
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}
|
|
172
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
|
|
287
173
|
*/
|
|
288
|
-
|
|
174
|
+
deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
289
175
|
/**
|
|
290
|
-
* HTTP
|
|
291
|
-
* Java method: org.openremote.model.
|
|
176
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
|
|
177
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
|
|
292
178
|
*/
|
|
293
|
-
|
|
179
|
+
deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
|
|
294
180
|
/**
|
|
295
|
-
* HTTP
|
|
296
|
-
* Java method: org.openremote.model.
|
|
181
|
+
* HTTP GET /asset/{assetId}
|
|
182
|
+
* Java method: org.openremote.model.asset.AssetResource.get
|
|
297
183
|
*/
|
|
298
|
-
|
|
184
|
+
get(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
299
185
|
/**
|
|
300
|
-
* HTTP PUT /
|
|
301
|
-
* Java method: org.openremote.model.
|
|
302
|
-
*/
|
|
303
|
-
updatePasswordCurrent(credential: Model.Credential, options?: O): RestResponse<void>;
|
|
304
|
-
/**
|
|
305
|
-
* HTTP PUT /user/update
|
|
306
|
-
* Java method: org.openremote.model.security.UserResource.updateCurrent
|
|
307
|
-
*/
|
|
308
|
-
updateCurrent(user: Model.User, options?: O): RestResponse<Model.User>;
|
|
309
|
-
/**
|
|
310
|
-
* HTTP GET /user/user
|
|
311
|
-
* Java method: org.openremote.model.security.UserResource.getCurrent
|
|
312
|
-
*/
|
|
313
|
-
getCurrent(options?: O): RestResponse<Model.User>;
|
|
314
|
-
/**
|
|
315
|
-
* HTTP GET /user/userRealmRoles
|
|
316
|
-
* Java method: org.openremote.model.security.UserResource.getCurrentUserRealmRoles
|
|
317
|
-
*/
|
|
318
|
-
getCurrentUserRealmRoles(options?: O): RestResponse<string[]>;
|
|
319
|
-
/**
|
|
320
|
-
* HTTP GET /user/userRoles/{clientId}
|
|
321
|
-
* Java method: org.openremote.model.security.UserResource.getCurrentUserClientRoles
|
|
322
|
-
*/
|
|
323
|
-
getCurrentUserClientRoles(clientId: string, options?: O): RestResponse<string[]>;
|
|
324
|
-
/**
|
|
325
|
-
* HTTP GET /user/{realm}/disconnect/{sessionID}
|
|
326
|
-
* Java method: org.openremote.model.security.UserResource.disconnectUserSession
|
|
327
|
-
*/
|
|
328
|
-
disconnectUserSession(realm: string, sessionID: string, options?: O): RestResponse<void>;
|
|
329
|
-
/**
|
|
330
|
-
* HTTP PUT /user/{realm}/request-password-reset/{userId}
|
|
331
|
-
* Java method: org.openremote.model.security.UserResource.requestPasswordReset
|
|
332
|
-
*/
|
|
333
|
-
requestPasswordReset(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
334
|
-
/**
|
|
335
|
-
* HTTP PUT /user/{realm}/reset-password/{userId}
|
|
336
|
-
* Java method: org.openremote.model.security.UserResource.updatePassword
|
|
337
|
-
*/
|
|
338
|
-
updatePassword(realm: string, userId: string, credential: Model.Credential, options?: O): RestResponse<void>;
|
|
339
|
-
/**
|
|
340
|
-
* HTTP GET /user/{realm}/reset-secret/{userId}
|
|
341
|
-
* Java method: org.openremote.model.security.UserResource.resetSecret
|
|
342
|
-
*/
|
|
343
|
-
resetSecret(realm: string, userId: string, options?: O): RestResponse<string>;
|
|
344
|
-
/**
|
|
345
|
-
* HTTP PUT /user/{realm}/roles
|
|
346
|
-
* Java method: org.openremote.model.security.UserResource.updateRoles
|
|
347
|
-
*/
|
|
348
|
-
updateRoles(realm: string, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
349
|
-
/**
|
|
350
|
-
* HTTP GET /user/{realm}/userRealmRoles/{userId}
|
|
351
|
-
* Java method: org.openremote.model.security.UserResource.getUserRealmRoles
|
|
352
|
-
*/
|
|
353
|
-
getUserRealmRoles(realm: string, userId: string, options?: O): RestResponse<string[]>;
|
|
354
|
-
/**
|
|
355
|
-
* HTTP PUT /user/{realm}/userRealmRoles/{userId}
|
|
356
|
-
* Java method: org.openremote.model.security.UserResource.updateUserRealmRoles
|
|
186
|
+
* HTTP PUT /asset/{assetId}
|
|
187
|
+
* Java method: org.openremote.model.asset.AssetResource.update
|
|
357
188
|
*/
|
|
358
|
-
|
|
189
|
+
update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
359
190
|
/**
|
|
360
|
-
* HTTP
|
|
361
|
-
* Java method: org.openremote.model.
|
|
191
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}
|
|
192
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
362
193
|
*/
|
|
363
|
-
|
|
194
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
364
195
|
/**
|
|
365
|
-
* HTTP PUT /
|
|
366
|
-
* Java method: org.openremote.model.
|
|
196
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
|
|
197
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
367
198
|
*/
|
|
368
|
-
|
|
199
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
369
200
|
/**
|
|
370
|
-
* HTTP
|
|
371
|
-
* Java method: org.openremote.model.
|
|
201
|
+
* HTTP PUT /asset/{parentAssetId}/child
|
|
202
|
+
* Java method: org.openremote.model.asset.AssetResource.updateParent
|
|
372
203
|
*/
|
|
373
|
-
|
|
204
|
+
updateParent(parentAssetId: string, queryParams?: {
|
|
205
|
+
assetIds?: string[];
|
|
206
|
+
}, options?: O): RestResponse<void>;
|
|
207
|
+
}
|
|
208
|
+
export declare class AssetDatapointResourceClient<O> {
|
|
209
|
+
protected httpClient: HttpClient<O>;
|
|
210
|
+
constructor(httpClient: HttpClient<O>);
|
|
374
211
|
/**
|
|
375
|
-
* HTTP
|
|
376
|
-
* Java method: org.openremote.model.
|
|
212
|
+
* HTTP GET /asset/datapoint/export
|
|
213
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
|
|
377
214
|
*/
|
|
378
|
-
|
|
215
|
+
getDatapointExport(queryParams?: {
|
|
216
|
+
attributeRefs?: string;
|
|
217
|
+
fromTimestamp?: number;
|
|
218
|
+
toTimestamp?: number;
|
|
219
|
+
}, options?: O): RestResponse<any>;
|
|
379
220
|
/**
|
|
380
|
-
* HTTP
|
|
381
|
-
* Java method: org.openremote.model.
|
|
221
|
+
* HTTP GET /asset/datapoint/periods
|
|
222
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
382
223
|
*/
|
|
383
|
-
|
|
224
|
+
getDatapointPeriod(queryParams?: {
|
|
225
|
+
assetId?: string;
|
|
226
|
+
attributeName?: string;
|
|
227
|
+
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
384
228
|
/**
|
|
385
|
-
* HTTP
|
|
386
|
-
* Java method: org.openremote.model.
|
|
229
|
+
* HTTP POST /asset/datapoint/{assetId}/{attributeName}
|
|
230
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
|
|
387
231
|
*/
|
|
388
|
-
|
|
232
|
+
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
233
|
+
}
|
|
234
|
+
export declare class FlowResourceClient<O> {
|
|
235
|
+
protected httpClient: HttpClient<O>;
|
|
236
|
+
constructor(httpClient: HttpClient<O>);
|
|
389
237
|
/**
|
|
390
|
-
* HTTP GET /
|
|
391
|
-
* Java method: org.openremote.model.
|
|
238
|
+
* HTTP GET /flow
|
|
239
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
392
240
|
*/
|
|
393
|
-
|
|
241
|
+
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
394
242
|
/**
|
|
395
|
-
* HTTP
|
|
396
|
-
* Java method: org.openremote.model.
|
|
243
|
+
* HTTP GET /flow/{name}
|
|
244
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
397
245
|
*/
|
|
398
|
-
|
|
246
|
+
getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
|
|
399
247
|
/**
|
|
400
|
-
* HTTP GET /
|
|
401
|
-
* Java method: org.openremote.model.
|
|
248
|
+
* HTTP GET /flow/{type}
|
|
249
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
402
250
|
*/
|
|
403
|
-
|
|
251
|
+
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
404
252
|
}
|
|
405
253
|
export declare class RulesResourceClient<O> {
|
|
406
254
|
protected httpClient: HttpClient<O>;
|
|
@@ -510,123 +358,190 @@ export declare class RulesResourceClient<O> {
|
|
|
510
358
|
*/
|
|
511
359
|
updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
|
|
512
360
|
}
|
|
513
|
-
export declare class
|
|
361
|
+
export declare class UserResourceClient<O> {
|
|
514
362
|
protected httpClient: HttpClient<O>;
|
|
515
363
|
constructor(httpClient: HttpClient<O>);
|
|
516
364
|
/**
|
|
517
|
-
* HTTP
|
|
518
|
-
* Java method: org.openremote.model.
|
|
365
|
+
* HTTP PUT /user/locale
|
|
366
|
+
* Java method: org.openremote.model.security.UserResource.updateCurrentUserLocale
|
|
519
367
|
*/
|
|
520
|
-
|
|
521
|
-
}
|
|
522
|
-
export declare class AssetResourceClient<O> {
|
|
523
|
-
protected httpClient: HttpClient<O>;
|
|
524
|
-
constructor(httpClient: HttpClient<O>);
|
|
368
|
+
updateCurrentUserLocale(locale: string, options?: O): RestResponse<void>;
|
|
525
369
|
/**
|
|
526
|
-
* HTTP POST /
|
|
527
|
-
* Java method: org.openremote.model.
|
|
370
|
+
* HTTP POST /user/query
|
|
371
|
+
* Java method: org.openremote.model.security.UserResource.query
|
|
528
372
|
*/
|
|
529
|
-
|
|
373
|
+
query(query: Model.UserQuery, options?: O): RestResponse<Model.User[]>;
|
|
530
374
|
/**
|
|
531
|
-
* HTTP
|
|
532
|
-
* Java method: org.openremote.model.
|
|
375
|
+
* HTTP PUT /user/request-password-reset
|
|
376
|
+
* Java method: org.openremote.model.security.UserResource.requestPasswordResetCurrent
|
|
533
377
|
*/
|
|
534
|
-
|
|
535
|
-
assetId?: string[];
|
|
536
|
-
}, options?: O): RestResponse<void>;
|
|
378
|
+
requestPasswordResetCurrent(options?: O): RestResponse<void>;
|
|
537
379
|
/**
|
|
538
|
-
* HTTP PUT /
|
|
539
|
-
* Java method: org.openremote.model.
|
|
380
|
+
* HTTP PUT /user/reset-password
|
|
381
|
+
* Java method: org.openremote.model.security.UserResource.updatePasswordCurrent
|
|
540
382
|
*/
|
|
541
|
-
|
|
383
|
+
updatePasswordCurrent(credential: Model.Credential, options?: O): RestResponse<void>;
|
|
542
384
|
/**
|
|
543
|
-
* HTTP PUT /
|
|
544
|
-
* Java method: org.openremote.model.
|
|
385
|
+
* HTTP PUT /user/update
|
|
386
|
+
* Java method: org.openremote.model.security.UserResource.updateCurrent
|
|
545
387
|
*/
|
|
546
|
-
|
|
388
|
+
updateCurrent(user: Model.User, options?: O): RestResponse<Model.User>;
|
|
547
389
|
/**
|
|
548
|
-
* HTTP
|
|
549
|
-
* Java method: org.openremote.model.
|
|
390
|
+
* HTTP GET /user/user
|
|
391
|
+
* Java method: org.openremote.model.security.UserResource.getCurrent
|
|
550
392
|
*/
|
|
551
|
-
|
|
552
|
-
assetIds?: string[];
|
|
553
|
-
}, options?: O): RestResponse<void>;
|
|
393
|
+
getCurrent(options?: O): RestResponse<Model.User>;
|
|
554
394
|
/**
|
|
555
|
-
* HTTP GET /
|
|
556
|
-
* Java method: org.openremote.model.
|
|
395
|
+
* HTTP GET /user/userRealmRoles
|
|
396
|
+
* Java method: org.openremote.model.security.UserResource.getCurrentUserRealmRoles
|
|
557
397
|
*/
|
|
558
|
-
|
|
398
|
+
getCurrentUserRealmRoles(options?: O): RestResponse<string[]>;
|
|
559
399
|
/**
|
|
560
|
-
* HTTP
|
|
561
|
-
* Java method: org.openremote.model.
|
|
400
|
+
* HTTP GET /user/userRoles/{clientId}
|
|
401
|
+
* Java method: org.openremote.model.security.UserResource.getCurrentUserClientRoles
|
|
562
402
|
*/
|
|
563
|
-
|
|
403
|
+
getCurrentUserClientRoles(clientId: string, options?: O): RestResponse<string[]>;
|
|
564
404
|
/**
|
|
565
|
-
* HTTP
|
|
566
|
-
* Java method: org.openremote.model.
|
|
405
|
+
* HTTP GET /user/{realm}/disconnect/{sessionID}
|
|
406
|
+
* Java method: org.openremote.model.security.UserResource.disconnectUserSession
|
|
567
407
|
*/
|
|
568
|
-
|
|
408
|
+
disconnectUserSession(realm: string, sessionID: string, options?: O): RestResponse<void>;
|
|
569
409
|
/**
|
|
570
|
-
* HTTP
|
|
571
|
-
* Java method: org.openremote.model.
|
|
410
|
+
* HTTP PUT /user/{realm}/request-password-reset/{userId}
|
|
411
|
+
* Java method: org.openremote.model.security.UserResource.requestPasswordReset
|
|
572
412
|
*/
|
|
573
|
-
|
|
413
|
+
requestPasswordReset(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
574
414
|
/**
|
|
575
|
-
* HTTP
|
|
576
|
-
* Java method: org.openremote.model.
|
|
415
|
+
* HTTP PUT /user/{realm}/reset-password/{userId}
|
|
416
|
+
* Java method: org.openremote.model.security.UserResource.updatePassword
|
|
577
417
|
*/
|
|
578
|
-
|
|
418
|
+
updatePassword(realm: string, userId: string, credential: Model.Credential, options?: O): RestResponse<void>;
|
|
579
419
|
/**
|
|
580
|
-
* HTTP GET /
|
|
581
|
-
* Java method: org.openremote.model.
|
|
420
|
+
* HTTP GET /user/{realm}/reset-secret/{userId}
|
|
421
|
+
* Java method: org.openremote.model.security.UserResource.resetSecret
|
|
582
422
|
*/
|
|
583
|
-
|
|
584
|
-
realm?: string;
|
|
585
|
-
userId?: string;
|
|
586
|
-
assetId?: string;
|
|
587
|
-
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
423
|
+
resetSecret(realm: string, userId: string, options?: O): RestResponse<string>;
|
|
588
424
|
/**
|
|
589
|
-
* HTTP
|
|
590
|
-
* Java method: org.openremote.model.
|
|
425
|
+
* HTTP PUT /user/{realm}/roles
|
|
426
|
+
* Java method: org.openremote.model.security.UserResource.updateRoles
|
|
591
427
|
*/
|
|
592
|
-
|
|
428
|
+
updateRoles(realm: string, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
593
429
|
/**
|
|
594
|
-
* HTTP
|
|
595
|
-
* Java method: org.openremote.model.
|
|
430
|
+
* HTTP GET /user/{realm}/userRealmRoles/{userId}
|
|
431
|
+
* Java method: org.openremote.model.security.UserResource.getUserRealmRoles
|
|
596
432
|
*/
|
|
597
|
-
|
|
433
|
+
getUserRealmRoles(realm: string, userId: string, options?: O): RestResponse<string[]>;
|
|
598
434
|
/**
|
|
599
|
-
* HTTP
|
|
600
|
-
* Java method: org.openremote.model.
|
|
435
|
+
* HTTP PUT /user/{realm}/userRealmRoles/{userId}
|
|
436
|
+
* Java method: org.openremote.model.security.UserResource.updateUserRealmRoles
|
|
601
437
|
*/
|
|
602
|
-
|
|
438
|
+
updateUserRealmRoles(realm: string, userId: string, roles: string[], options?: O): RestResponse<void>;
|
|
603
439
|
/**
|
|
604
|
-
* HTTP GET /
|
|
605
|
-
* Java method: org.openremote.model.
|
|
440
|
+
* HTTP GET /user/{realm}/userRoles/{userId}/{clientId}
|
|
441
|
+
* Java method: org.openremote.model.security.UserResource.getUserClientRoles
|
|
606
442
|
*/
|
|
607
|
-
|
|
443
|
+
getUserClientRoles(realm: string, userId: string, clientId: string, options?: O): RestResponse<string[]>;
|
|
608
444
|
/**
|
|
609
|
-
* HTTP PUT /
|
|
610
|
-
* Java method: org.openremote.model.
|
|
445
|
+
* HTTP PUT /user/{realm}/userRoles/{userId}/{clientId}
|
|
446
|
+
* Java method: org.openremote.model.security.UserResource.updateUserClientRoles
|
|
611
447
|
*/
|
|
612
|
-
|
|
448
|
+
updateUserClientRoles(realm: string, userId: string, clientId: string, roles: string[], options?: O): RestResponse<void>;
|
|
613
449
|
/**
|
|
614
|
-
* HTTP
|
|
615
|
-
* Java method: org.openremote.model.
|
|
450
|
+
* HTTP GET /user/{realm}/userSessions/{userId}
|
|
451
|
+
* Java method: org.openremote.model.security.UserResource.getUserSessions
|
|
616
452
|
*/
|
|
617
|
-
|
|
453
|
+
getUserSessions(realm: string, userId: string, options?: O): RestResponse<Model.UserSession[]>;
|
|
618
454
|
/**
|
|
619
|
-
* HTTP
|
|
620
|
-
* Java method: org.openremote.model.
|
|
455
|
+
* HTTP POST /user/{realm}/users
|
|
456
|
+
* Java method: org.openremote.model.security.UserResource.create
|
|
621
457
|
*/
|
|
622
|
-
|
|
458
|
+
create(realm: string, user: Model.User, options?: O): RestResponse<Model.User>;
|
|
623
459
|
/**
|
|
624
|
-
* HTTP PUT /
|
|
625
|
-
* Java method: org.openremote.model.
|
|
460
|
+
* HTTP PUT /user/{realm}/users
|
|
461
|
+
* Java method: org.openremote.model.security.UserResource.update
|
|
626
462
|
*/
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
463
|
+
update(realm: string, user: Model.User, options?: O): RestResponse<Model.User>;
|
|
464
|
+
/**
|
|
465
|
+
* HTTP DELETE /user/{realm}/users/{userId}
|
|
466
|
+
* Java method: org.openremote.model.security.UserResource.delete
|
|
467
|
+
*/
|
|
468
|
+
delete(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
469
|
+
/**
|
|
470
|
+
* HTTP GET /user/{realm}/{clientId}/roles
|
|
471
|
+
* Java method: org.openremote.model.security.UserResource.getClientRoles
|
|
472
|
+
*/
|
|
473
|
+
getClientRoles(realm: string, clientId: string, options?: O): RestResponse<Model.Role[]>;
|
|
474
|
+
/**
|
|
475
|
+
* HTTP PUT /user/{realm}/{clientId}/roles
|
|
476
|
+
* Java method: org.openremote.model.security.UserResource.updateClientRoles
|
|
477
|
+
*/
|
|
478
|
+
updateClientRoles(realm: string, clientId: string, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
479
|
+
/**
|
|
480
|
+
* HTTP GET /user/{realm}/{userId}
|
|
481
|
+
* Java method: org.openremote.model.security.UserResource.get
|
|
482
|
+
*/
|
|
483
|
+
get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
|
|
484
|
+
}
|
|
485
|
+
export declare class ConsoleResourceClient<O> {
|
|
486
|
+
protected httpClient: HttpClient<O>;
|
|
487
|
+
constructor(httpClient: HttpClient<O>);
|
|
488
|
+
/**
|
|
489
|
+
* HTTP POST /console/register
|
|
490
|
+
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
491
|
+
*/
|
|
492
|
+
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
493
|
+
}
|
|
494
|
+
export declare class DashboardResourceClient<O> {
|
|
495
|
+
protected httpClient: HttpClient<O>;
|
|
496
|
+
constructor(httpClient: HttpClient<O>);
|
|
497
|
+
/**
|
|
498
|
+
* HTTP POST /dashboard
|
|
499
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
500
|
+
*/
|
|
501
|
+
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
502
|
+
/**
|
|
503
|
+
* HTTP PUT /dashboard
|
|
504
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
505
|
+
*/
|
|
506
|
+
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
507
|
+
/**
|
|
508
|
+
* HTTP GET /dashboard/all/{realm}
|
|
509
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
510
|
+
*/
|
|
511
|
+
getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
|
|
512
|
+
/**
|
|
513
|
+
* HTTP POST /dashboard/query
|
|
514
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
515
|
+
*/
|
|
516
|
+
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
517
|
+
/**
|
|
518
|
+
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
519
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
520
|
+
*/
|
|
521
|
+
delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
|
|
522
|
+
/**
|
|
523
|
+
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
524
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
525
|
+
*/
|
|
526
|
+
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
527
|
+
}
|
|
528
|
+
export declare class StatusResourceClient<O> {
|
|
529
|
+
protected httpClient: HttpClient<O>;
|
|
530
|
+
constructor(httpClient: HttpClient<O>);
|
|
531
|
+
/**
|
|
532
|
+
* HTTP GET /health
|
|
533
|
+
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
534
|
+
*/
|
|
535
|
+
getHealthStatus(options?: O): RestResponse<{
|
|
536
|
+
[index: string]: any;
|
|
537
|
+
}>;
|
|
538
|
+
/**
|
|
539
|
+
* HTTP GET /info
|
|
540
|
+
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
541
|
+
*/
|
|
542
|
+
getInfo(options?: O): RestResponse<{
|
|
543
|
+
[index: string]: any;
|
|
544
|
+
}>;
|
|
630
545
|
}
|
|
631
546
|
export declare class RealmResourceClient<O> {
|
|
632
547
|
protected httpClient: HttpClient<O>;
|
|
@@ -662,120 +577,232 @@ export declare class RealmResourceClient<O> {
|
|
|
662
577
|
*/
|
|
663
578
|
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
664
579
|
}
|
|
665
|
-
export declare class
|
|
580
|
+
export declare class GatewayClientResourceClient<O> {
|
|
666
581
|
protected httpClient: HttpClient<O>;
|
|
667
582
|
constructor(httpClient: HttpClient<O>);
|
|
668
583
|
/**
|
|
669
|
-
* HTTP
|
|
670
|
-
* Java method: org.openremote.model.
|
|
584
|
+
* HTTP DELETE /gateway/connection
|
|
585
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
671
586
|
*/
|
|
672
|
-
|
|
587
|
+
deleteConnections(queryParams?: {
|
|
588
|
+
realm?: string[];
|
|
589
|
+
}, options?: O): RestResponse<void>;
|
|
673
590
|
/**
|
|
674
|
-
* HTTP GET /
|
|
675
|
-
* Java method: org.openremote.model.
|
|
591
|
+
* HTTP GET /gateway/connection
|
|
592
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
676
593
|
*/
|
|
677
|
-
|
|
594
|
+
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
678
595
|
/**
|
|
679
|
-
* HTTP
|
|
680
|
-
* Java method: org.openremote.model.
|
|
596
|
+
* HTTP DELETE /gateway/connection/{realm}
|
|
597
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
681
598
|
*/
|
|
682
|
-
|
|
599
|
+
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
600
|
+
/**
|
|
601
|
+
* HTTP GET /gateway/connection/{realm}
|
|
602
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
603
|
+
*/
|
|
604
|
+
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
605
|
+
/**
|
|
606
|
+
* HTTP PUT /gateway/connection/{realm}
|
|
607
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
608
|
+
*/
|
|
609
|
+
setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
610
|
+
/**
|
|
611
|
+
* HTTP GET /gateway/status/{realm}
|
|
612
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
613
|
+
*/
|
|
614
|
+
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
683
615
|
}
|
|
684
|
-
export declare class
|
|
616
|
+
export declare class ExternalServiceResourceClient<O> {
|
|
685
617
|
protected httpClient: HttpClient<O>;
|
|
686
618
|
constructor(httpClient: HttpClient<O>);
|
|
687
619
|
/**
|
|
688
|
-
*
|
|
689
|
-
*
|
|
620
|
+
* Response code 200 - List of registered external services
|
|
621
|
+
* HTTP GET /service
|
|
622
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.getServices
|
|
690
623
|
*/
|
|
691
|
-
|
|
624
|
+
getServices(queryParams?: {
|
|
625
|
+
realm?: string;
|
|
626
|
+
}, options?: O): RestResponse<Model.ExternalService[]>;
|
|
692
627
|
/**
|
|
693
|
-
*
|
|
694
|
-
*
|
|
628
|
+
* Response code 200 - Service registered successfully
|
|
629
|
+
* Response code 400 - Invalid external service object
|
|
630
|
+
* Response code 409 - ExternalService instance already registered
|
|
631
|
+
* HTTP POST /service
|
|
632
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.registerService
|
|
695
633
|
*/
|
|
696
|
-
|
|
634
|
+
registerService(service: Model.ExternalService, options?: O): RestResponse<Model.ExternalService>;
|
|
697
635
|
/**
|
|
698
|
-
*
|
|
699
|
-
*
|
|
636
|
+
* Response code 200 - List of registered external services
|
|
637
|
+
* HTTP GET /service/global
|
|
638
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.getGlobalServices
|
|
700
639
|
*/
|
|
701
|
-
|
|
702
|
-
path?: string;
|
|
703
|
-
}, options?: O): RestResponse<string>;
|
|
640
|
+
getGlobalServices(options?: O): RestResponse<Model.ExternalService[]>;
|
|
704
641
|
/**
|
|
705
|
-
*
|
|
706
|
-
*
|
|
642
|
+
* Response code 200 - Service registered successfully
|
|
643
|
+
* Response code 400 - Invalid external service object
|
|
644
|
+
* Response code 409 - ExternalService instance already registered
|
|
645
|
+
* HTTP POST /service/global
|
|
646
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.registerGlobalService
|
|
707
647
|
*/
|
|
708
|
-
|
|
648
|
+
registerGlobalService(service: Model.ExternalService, options?: O): RestResponse<Model.ExternalService>;
|
|
649
|
+
/**
|
|
650
|
+
* Response code 204 - Service deregistered successfully
|
|
651
|
+
* Response code 404 - Service instance not found
|
|
652
|
+
* HTTP DELETE /service/{serviceId}/{instanceId}
|
|
653
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.deregisterService
|
|
654
|
+
*/
|
|
655
|
+
deregisterService(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
|
|
656
|
+
/**
|
|
657
|
+
* Response code 200 - ExternalService retrieved successfully
|
|
658
|
+
* Response code 404 - ExternalService not found
|
|
659
|
+
* HTTP GET /service/{serviceId}/{instanceId}
|
|
660
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.getService
|
|
661
|
+
*/
|
|
662
|
+
getService(serviceId: string, instanceId: number, options?: O): RestResponse<Model.ExternalService>;
|
|
663
|
+
/**
|
|
664
|
+
* Response code 204 - Heartbeat sent successfully
|
|
665
|
+
* Response code 404 - Service instance not found
|
|
666
|
+
* HTTP PUT /service/{serviceId}/{instanceId}
|
|
667
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.heartbeat
|
|
668
|
+
*/
|
|
669
|
+
heartbeat(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
|
|
709
670
|
}
|
|
710
|
-
export declare class
|
|
671
|
+
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
711
672
|
protected httpClient: HttpClient<O>;
|
|
712
673
|
constructor(httpClient: HttpClient<O>);
|
|
713
674
|
/**
|
|
714
|
-
* HTTP POST /
|
|
715
|
-
* Java method: org.openremote.model.
|
|
675
|
+
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
676
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
716
677
|
*/
|
|
717
|
-
|
|
678
|
+
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
718
679
|
/**
|
|
719
|
-
* HTTP PUT /
|
|
720
|
-
* Java method: org.openremote.model.
|
|
680
|
+
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
681
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
721
682
|
*/
|
|
722
|
-
|
|
683
|
+
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
684
|
+
}
|
|
685
|
+
export declare class ProvisioningResourceClient<O> {
|
|
686
|
+
protected httpClient: HttpClient<O>;
|
|
687
|
+
constructor(httpClient: HttpClient<O>);
|
|
723
688
|
/**
|
|
724
|
-
* HTTP
|
|
725
|
-
* Java method: org.openremote.model.
|
|
689
|
+
* HTTP POST /provisioning
|
|
690
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
|
|
726
691
|
*/
|
|
727
|
-
|
|
692
|
+
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
728
693
|
/**
|
|
729
|
-
* HTTP
|
|
730
|
-
* Java method: org.openremote.model.
|
|
694
|
+
* HTTP GET /provisioning
|
|
695
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
731
696
|
*/
|
|
732
|
-
|
|
697
|
+
getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
|
|
733
698
|
/**
|
|
734
|
-
* HTTP DELETE /
|
|
735
|
-
* Java method: org.openremote.model.
|
|
699
|
+
* HTTP DELETE /provisioning/{id}
|
|
700
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
736
701
|
*/
|
|
737
|
-
|
|
702
|
+
deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
|
|
738
703
|
/**
|
|
739
|
-
* HTTP
|
|
740
|
-
* Java method: org.openremote.model.
|
|
704
|
+
* HTTP PUT /provisioning/{id}
|
|
705
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
|
|
741
706
|
*/
|
|
742
|
-
|
|
707
|
+
updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
743
708
|
}
|
|
744
|
-
export declare class
|
|
709
|
+
export declare class AppResourceClient<O> {
|
|
710
|
+
protected httpClient: HttpClient<O>;
|
|
711
|
+
constructor(httpClient: HttpClient<O>);
|
|
712
|
+
/**
|
|
713
|
+
* HTTP GET /apps
|
|
714
|
+
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
715
|
+
*/
|
|
716
|
+
getApps(options?: O): RestResponse<string[]>;
|
|
717
|
+
/**
|
|
718
|
+
* HTTP GET /apps/consoleConfig
|
|
719
|
+
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
720
|
+
*/
|
|
721
|
+
getConsoleConfig(options?: O): RestResponse<any>;
|
|
722
|
+
/**
|
|
723
|
+
* HTTP GET /apps/info
|
|
724
|
+
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
725
|
+
*/
|
|
726
|
+
getAppInfos(options?: O): RestResponse<any>;
|
|
727
|
+
}
|
|
728
|
+
export declare class AgentResourceClient<O> {
|
|
745
729
|
protected httpClient: HttpClient<O>;
|
|
746
730
|
constructor(httpClient: HttpClient<O>);
|
|
747
731
|
/**
|
|
748
|
-
* HTTP
|
|
749
|
-
* Java method: org.openremote.model.
|
|
732
|
+
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
733
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
734
|
+
*/
|
|
735
|
+
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
736
|
+
realm?: string;
|
|
737
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
738
|
+
/**
|
|
739
|
+
* HTTP POST /agent/assetImport/{agentId}
|
|
740
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
741
|
+
*/
|
|
742
|
+
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
743
|
+
realm?: string;
|
|
744
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
745
|
+
/**
|
|
746
|
+
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
747
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
748
|
+
*/
|
|
749
|
+
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
750
|
+
parentId?: string;
|
|
751
|
+
realm?: string;
|
|
752
|
+
}, options?: O): RestResponse<Model.Agent[]>;
|
|
753
|
+
}
|
|
754
|
+
export declare class MapResourceClient<O> {
|
|
755
|
+
protected httpClient: HttpClient<O>;
|
|
756
|
+
constructor(httpClient: HttpClient<O>);
|
|
757
|
+
/**
|
|
758
|
+
* HTTP GET /map
|
|
759
|
+
* Java method: org.openremote.model.map.MapResource.getSettings
|
|
760
|
+
*/
|
|
761
|
+
getSettings(options?: O): RestResponse<{
|
|
762
|
+
[id: string]: unknown;
|
|
763
|
+
}>;
|
|
764
|
+
/**
|
|
765
|
+
* HTTP PUT /map
|
|
766
|
+
* Java method: org.openremote.model.map.MapResource.saveSettings
|
|
750
767
|
*/
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
}
|
|
768
|
+
saveSettings(mapConfig: Model.MapConfig, options?: O): RestResponse<{
|
|
769
|
+
[id: string]: unknown;
|
|
770
|
+
}>;
|
|
754
771
|
/**
|
|
755
|
-
* HTTP
|
|
756
|
-
* Java method: org.openremote.model.
|
|
772
|
+
* HTTP DELETE /map/deleteMap
|
|
773
|
+
* Java method: org.openremote.model.map.MapResource.deleteMap
|
|
757
774
|
*/
|
|
758
|
-
|
|
775
|
+
deleteMap(options?: O): RestResponse<{
|
|
776
|
+
[id: string]: unknown;
|
|
777
|
+
}>;
|
|
759
778
|
/**
|
|
760
|
-
* HTTP
|
|
761
|
-
* Java method: org.openremote.model.
|
|
779
|
+
* HTTP GET /map/getCustomMapInfo
|
|
780
|
+
* Java method: org.openremote.model.map.MapResource.getCustomMapInfo
|
|
762
781
|
*/
|
|
763
|
-
|
|
782
|
+
getCustomMapInfo(options?: O): RestResponse<{
|
|
783
|
+
[id: string]: unknown;
|
|
784
|
+
}>;
|
|
764
785
|
/**
|
|
765
|
-
* HTTP GET /
|
|
766
|
-
* Java method: org.openremote.model.
|
|
786
|
+
* HTTP GET /map/js
|
|
787
|
+
* Java method: org.openremote.model.map.MapResource.getSettingsJs
|
|
767
788
|
*/
|
|
768
|
-
|
|
789
|
+
getSettingsJs(options?: O): RestResponse<{
|
|
790
|
+
[id: string]: unknown;
|
|
791
|
+
}>;
|
|
769
792
|
/**
|
|
770
|
-
* HTTP
|
|
771
|
-
* Java method: org.openremote.model.
|
|
793
|
+
* HTTP GET /map/tile/{zoom}/{column}/{row}
|
|
794
|
+
* Java method: org.openremote.model.map.MapResource.getTile
|
|
772
795
|
*/
|
|
773
|
-
|
|
796
|
+
getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
|
|
774
797
|
/**
|
|
775
|
-
* HTTP
|
|
776
|
-
* Java method: org.openremote.model.
|
|
798
|
+
* HTTP POST /map/upload
|
|
799
|
+
* Java method: org.openremote.model.map.MapResource.uploadMap
|
|
777
800
|
*/
|
|
778
|
-
|
|
801
|
+
uploadMap(queryParams?: {
|
|
802
|
+
filename?: string;
|
|
803
|
+
}, options?: O): RestResponse<{
|
|
804
|
+
[id: string]: unknown;
|
|
805
|
+
}>;
|
|
779
806
|
}
|
|
780
807
|
export declare class AssetModelResourceClient<O> {
|
|
781
808
|
protected httpClient: HttpClient<O>;
|
|
@@ -830,86 +857,59 @@ export declare class AssetModelResourceClient<O> {
|
|
|
830
857
|
[index: string]: Model.ValueDescriptor;
|
|
831
858
|
}>;
|
|
832
859
|
}
|
|
833
|
-
export declare class
|
|
860
|
+
export declare class NotificationResourceClient<O> {
|
|
834
861
|
protected httpClient: HttpClient<O>;
|
|
835
862
|
constructor(httpClient: HttpClient<O>);
|
|
836
863
|
/**
|
|
837
|
-
* HTTP GET /
|
|
838
|
-
* Java method: org.openremote.model.
|
|
839
|
-
*/
|
|
840
|
-
getDatapointExport(queryParams?: {
|
|
841
|
-
attributeRefs?: string;
|
|
842
|
-
fromTimestamp?: number;
|
|
843
|
-
toTimestamp?: number;
|
|
844
|
-
}, options?: O): RestResponse<any>;
|
|
845
|
-
/**
|
|
846
|
-
* HTTP GET /asset/datapoint/periods
|
|
847
|
-
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
864
|
+
* HTTP GET /notification
|
|
865
|
+
* Java method: org.openremote.model.notification.NotificationResource.getNotifications
|
|
848
866
|
*/
|
|
849
|
-
|
|
867
|
+
getNotifications(queryParams?: {
|
|
868
|
+
id?: number;
|
|
869
|
+
type?: string;
|
|
870
|
+
from?: number;
|
|
871
|
+
to?: number;
|
|
872
|
+
realmId?: string;
|
|
873
|
+
userId?: string;
|
|
850
874
|
assetId?: string;
|
|
851
|
-
|
|
852
|
-
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
853
|
-
/**
|
|
854
|
-
* HTTP POST /asset/datapoint/{assetId}/{attributeName}
|
|
855
|
-
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
|
|
856
|
-
*/
|
|
857
|
-
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
858
|
-
}
|
|
859
|
-
export declare class ExternalServiceResourceClient<O> {
|
|
860
|
-
protected httpClient: HttpClient<O>;
|
|
861
|
-
constructor(httpClient: HttpClient<O>);
|
|
862
|
-
/**
|
|
863
|
-
* Response code 200 - List of registered external services
|
|
864
|
-
* HTTP GET /service
|
|
865
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.getServices
|
|
866
|
-
*/
|
|
867
|
-
getServices(queryParams?: {
|
|
868
|
-
realm?: string;
|
|
869
|
-
}, options?: O): RestResponse<Model.ExternalService[]>;
|
|
870
|
-
/**
|
|
871
|
-
* Response code 200 - Service registered successfully
|
|
872
|
-
* Response code 400 - Invalid external service object
|
|
873
|
-
* Response code 409 - ExternalService instance already registered
|
|
874
|
-
* HTTP POST /service
|
|
875
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.registerService
|
|
876
|
-
*/
|
|
877
|
-
registerService(service: Model.ExternalService, options?: O): RestResponse<Model.ExternalService>;
|
|
875
|
+
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
878
876
|
/**
|
|
879
|
-
*
|
|
880
|
-
*
|
|
881
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.getGlobalServices
|
|
877
|
+
* HTTP DELETE /notification
|
|
878
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
882
879
|
*/
|
|
883
|
-
|
|
880
|
+
removeNotifications(queryParams?: {
|
|
881
|
+
id?: number;
|
|
882
|
+
type?: string;
|
|
883
|
+
from?: number;
|
|
884
|
+
to?: number;
|
|
885
|
+
realmId?: string;
|
|
886
|
+
userId?: string;
|
|
887
|
+
assetId?: string;
|
|
888
|
+
}, options?: O): RestResponse<void>;
|
|
884
889
|
/**
|
|
885
|
-
*
|
|
886
|
-
*
|
|
887
|
-
* Response code 409 - ExternalService instance already registered
|
|
888
|
-
* HTTP POST /service/global
|
|
889
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.registerGlobalService
|
|
890
|
+
* HTTP POST /notification/alert
|
|
891
|
+
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
890
892
|
*/
|
|
891
|
-
|
|
893
|
+
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
892
894
|
/**
|
|
893
|
-
*
|
|
894
|
-
*
|
|
895
|
-
* HTTP DELETE /service/{serviceId}/{instanceId}
|
|
896
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.deregisterService
|
|
895
|
+
* HTTP DELETE /notification/{notificationId}
|
|
896
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
897
897
|
*/
|
|
898
|
-
|
|
898
|
+
removeNotification(notificationId: number, options?: O): RestResponse<void>;
|
|
899
899
|
/**
|
|
900
|
-
*
|
|
901
|
-
*
|
|
902
|
-
* HTTP GET /service/{serviceId}/{instanceId}
|
|
903
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.getService
|
|
900
|
+
* HTTP PUT /notification/{notificationId}/acknowledged
|
|
901
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
|
|
904
902
|
*/
|
|
905
|
-
|
|
903
|
+
notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
|
|
904
|
+
targetId?: string;
|
|
905
|
+
}, options?: O): RestResponse<void>;
|
|
906
906
|
/**
|
|
907
|
-
*
|
|
908
|
-
*
|
|
909
|
-
* HTTP PUT /service/{serviceId}/{instanceId}
|
|
910
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.heartbeat
|
|
907
|
+
* HTTP PUT /notification/{notificationId}/delivered
|
|
908
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
|
|
911
909
|
*/
|
|
912
|
-
|
|
910
|
+
notificationDelivered(notificationId: number, queryParams?: {
|
|
911
|
+
targetId?: string;
|
|
912
|
+
}, options?: O): RestResponse<void>;
|
|
913
913
|
}
|
|
914
914
|
export declare class AlarmResourceClient<O> {
|
|
915
915
|
protected httpClient: HttpClient<O>;
|
|
@@ -966,50 +966,50 @@ export declare class AlarmResourceClient<O> {
|
|
|
966
966
|
}
|
|
967
967
|
export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
|
|
968
968
|
export declare class ApiClient {
|
|
969
|
-
protected _flowResource: AxiosFlowResourceClient;
|
|
970
969
|
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
971
|
-
protected _notificationResource: AxiosNotificationResourceClient;
|
|
972
|
-
protected _statusResource: AxiosStatusResourceClient;
|
|
973
970
|
protected _syslogResource: AxiosSyslogResourceClient;
|
|
974
|
-
protected
|
|
975
|
-
protected
|
|
976
|
-
protected
|
|
977
|
-
protected
|
|
978
|
-
protected _userResource: AxiosUserResourceClient;
|
|
971
|
+
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
972
|
+
protected _assetResource: AxiosAssetResourceClient;
|
|
973
|
+
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
974
|
+
protected _flowResource: AxiosFlowResourceClient;
|
|
979
975
|
protected _rulesResource: AxiosRulesResourceClient;
|
|
976
|
+
protected _userResource: AxiosUserResourceClient;
|
|
980
977
|
protected _consoleResource: AxiosConsoleResourceClient;
|
|
981
|
-
protected _assetResource: AxiosAssetResourceClient;
|
|
982
|
-
protected _realmResource: AxiosRealmResourceClient;
|
|
983
|
-
protected _appResource: AxiosAppResourceClient;
|
|
984
|
-
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
985
978
|
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
979
|
+
protected _statusResource: AxiosStatusResourceClient;
|
|
980
|
+
protected _realmResource: AxiosRealmResourceClient;
|
|
986
981
|
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
987
|
-
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
988
|
-
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
989
982
|
protected _externalServiceResource: AxiosExternalServiceResourceClient;
|
|
983
|
+
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
984
|
+
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
985
|
+
protected _appResource: AxiosAppResourceClient;
|
|
986
|
+
protected _agentResource: AxiosAgentResourceClient;
|
|
987
|
+
protected _mapResource: AxiosMapResourceClient;
|
|
988
|
+
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
989
|
+
protected _notificationResource: AxiosNotificationResourceClient;
|
|
990
990
|
protected _alarmResource: AxiosAlarmResourceClient;
|
|
991
991
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
992
|
-
get FlowResource(): AxiosFlowResourceClient;
|
|
993
992
|
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
994
|
-
get NotificationResource(): AxiosNotificationResourceClient;
|
|
995
|
-
get StatusResource(): AxiosStatusResourceClient;
|
|
996
993
|
get SyslogResource(): AxiosSyslogResourceClient;
|
|
997
|
-
get
|
|
998
|
-
get
|
|
999
|
-
get
|
|
1000
|
-
get
|
|
1001
|
-
get UserResource(): AxiosUserResourceClient;
|
|
994
|
+
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
995
|
+
get AssetResource(): AxiosAssetResourceClient;
|
|
996
|
+
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
997
|
+
get FlowResource(): AxiosFlowResourceClient;
|
|
1002
998
|
get RulesResource(): AxiosRulesResourceClient;
|
|
999
|
+
get UserResource(): AxiosUserResourceClient;
|
|
1003
1000
|
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
1004
|
-
get AssetResource(): AxiosAssetResourceClient;
|
|
1005
|
-
get RealmResource(): AxiosRealmResourceClient;
|
|
1006
|
-
get AppResource(): AxiosAppResourceClient;
|
|
1007
|
-
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
1008
1001
|
get DashboardResource(): AxiosDashboardResourceClient;
|
|
1002
|
+
get StatusResource(): AxiosStatusResourceClient;
|
|
1003
|
+
get RealmResource(): AxiosRealmResourceClient;
|
|
1009
1004
|
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
1010
|
-
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
1011
|
-
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
1012
1005
|
get ExternalServiceResource(): AxiosExternalServiceResourceClient;
|
|
1006
|
+
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
1007
|
+
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
1008
|
+
get AppResource(): AxiosAppResourceClient;
|
|
1009
|
+
get AgentResource(): AxiosAgentResourceClient;
|
|
1010
|
+
get MapResource(): AxiosMapResourceClient;
|
|
1011
|
+
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
1012
|
+
get NotificationResource(): AxiosNotificationResourceClient;
|
|
1013
1013
|
get AlarmResource(): AxiosAlarmResourceClient;
|
|
1014
1014
|
}
|
|
1015
1015
|
import * as Axios from "axios";
|
|
@@ -1018,67 +1018,67 @@ declare module "axios" {
|
|
|
1018
1018
|
data: R;
|
|
1019
1019
|
}
|
|
1020
1020
|
}
|
|
1021
|
-
export declare class
|
|
1021
|
+
export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
1022
1022
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1023
1023
|
}
|
|
1024
|
-
export declare class
|
|
1024
|
+
export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
|
|
1025
1025
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1026
1026
|
}
|
|
1027
|
-
export declare class
|
|
1027
|
+
export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
|
|
1028
1028
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1029
1029
|
}
|
|
1030
|
-
export declare class
|
|
1030
|
+
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
1031
1031
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1032
1032
|
}
|
|
1033
|
-
export declare class
|
|
1033
|
+
export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
1034
1034
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1035
1035
|
}
|
|
1036
|
-
export declare class
|
|
1036
|
+
export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
1037
1037
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1038
1038
|
}
|
|
1039
|
-
export declare class
|
|
1039
|
+
export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
|
|
1040
1040
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1041
1041
|
}
|
|
1042
|
-
export declare class
|
|
1042
|
+
export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
|
|
1043
1043
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1044
1044
|
}
|
|
1045
|
-
export declare class
|
|
1045
|
+
export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
|
|
1046
1046
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1047
1047
|
}
|
|
1048
|
-
export declare class
|
|
1048
|
+
export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
|
|
1049
1049
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1050
1050
|
}
|
|
1051
|
-
export declare class
|
|
1051
|
+
export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
|
|
1052
1052
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1053
1053
|
}
|
|
1054
|
-
export declare class
|
|
1054
|
+
export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
|
|
1055
1055
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1056
1056
|
}
|
|
1057
|
-
export declare class
|
|
1057
|
+
export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
|
|
1058
1058
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1059
1059
|
}
|
|
1060
|
-
export declare class
|
|
1060
|
+
export declare class AxiosExternalServiceResourceClient extends ExternalServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
1061
1061
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1062
1062
|
}
|
|
1063
|
-
export declare class
|
|
1063
|
+
export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
1064
1064
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1065
1065
|
}
|
|
1066
|
-
export declare class
|
|
1066
|
+
export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
|
|
1067
1067
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1068
1068
|
}
|
|
1069
|
-
export declare class
|
|
1069
|
+
export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
|
|
1070
1070
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1071
1071
|
}
|
|
1072
|
-
export declare class
|
|
1072
|
+
export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
|
|
1073
1073
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1074
1074
|
}
|
|
1075
|
-
export declare class
|
|
1075
|
+
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
1076
1076
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1077
1077
|
}
|
|
1078
|
-
export declare class
|
|
1078
|
+
export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
|
|
1079
1079
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1080
1080
|
}
|
|
1081
|
-
export declare class
|
|
1081
|
+
export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
|
|
1082
1082
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1083
1083
|
}
|
|
1084
1084
|
export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
|