@openremote/rest 1.13.0-snapshot.20260111213435 → 1.13.0-snapshot.20260111224219
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 +536 -536
- 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
|
@@ -27,167 +27,6 @@ export declare class StatusResourceClient<O> {
|
|
|
27
27
|
[index: string]: any;
|
|
28
28
|
}>;
|
|
29
29
|
}
|
|
30
|
-
export declare class AssetResourceClient<O> {
|
|
31
|
-
protected httpClient: HttpClient<O>;
|
|
32
|
-
constructor(httpClient: HttpClient<O>);
|
|
33
|
-
/**
|
|
34
|
-
* HTTP POST /asset
|
|
35
|
-
* Java method: org.openremote.model.asset.AssetResource.create
|
|
36
|
-
*/
|
|
37
|
-
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
38
|
-
/**
|
|
39
|
-
* HTTP DELETE /asset
|
|
40
|
-
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
41
|
-
*/
|
|
42
|
-
delete(queryParams?: {
|
|
43
|
-
assetId?: string[];
|
|
44
|
-
}, options?: O): RestResponse<void>;
|
|
45
|
-
/**
|
|
46
|
-
* HTTP PUT /asset/attributes
|
|
47
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
48
|
-
*/
|
|
49
|
-
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
50
|
-
/**
|
|
51
|
-
* HTTP PUT /asset/attributes/timestamp
|
|
52
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
53
|
-
*/
|
|
54
|
-
writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
55
|
-
/**
|
|
56
|
-
* HTTP DELETE /asset/parent
|
|
57
|
-
* Java method: org.openremote.model.asset.AssetResource.updateNoneParent
|
|
58
|
-
*/
|
|
59
|
-
updateNoneParent(queryParams?: {
|
|
60
|
-
assetIds?: string[];
|
|
61
|
-
}, options?: O): RestResponse<void>;
|
|
62
|
-
/**
|
|
63
|
-
* HTTP GET /asset/partial/{assetId}
|
|
64
|
-
* Java method: org.openremote.model.asset.AssetResource.getPartial
|
|
65
|
-
*/
|
|
66
|
-
getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
67
|
-
/**
|
|
68
|
-
* HTTP POST /asset/query
|
|
69
|
-
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
70
|
-
*/
|
|
71
|
-
queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
|
|
72
|
-
/**
|
|
73
|
-
* HTTP POST /asset/tree
|
|
74
|
-
* Java method: org.openremote.model.asset.AssetResource.queryAssetTree
|
|
75
|
-
*/
|
|
76
|
-
queryAssetTree(query: Model.AssetQuery, options?: O): RestResponse<Model.AssetTree>;
|
|
77
|
-
/**
|
|
78
|
-
* HTTP GET /asset/user/current
|
|
79
|
-
* Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
|
|
80
|
-
*/
|
|
81
|
-
getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
|
|
82
|
-
/**
|
|
83
|
-
* HTTP POST /asset/user/link
|
|
84
|
-
* Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
|
|
85
|
-
*/
|
|
86
|
-
createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
87
|
-
/**
|
|
88
|
-
* HTTP GET /asset/user/link
|
|
89
|
-
* Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
|
|
90
|
-
*/
|
|
91
|
-
getUserAssetLinks(queryParams?: {
|
|
92
|
-
realm?: string;
|
|
93
|
-
userId?: string;
|
|
94
|
-
assetId?: string;
|
|
95
|
-
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
96
|
-
/**
|
|
97
|
-
* HTTP POST /asset/user/link/delete
|
|
98
|
-
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
|
|
99
|
-
*/
|
|
100
|
-
deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
101
|
-
/**
|
|
102
|
-
* HTTP DELETE /asset/user/link/{realm}/{userId}
|
|
103
|
-
* Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
|
|
104
|
-
*/
|
|
105
|
-
deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
106
|
-
/**
|
|
107
|
-
* HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
|
|
108
|
-
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
|
|
109
|
-
*/
|
|
110
|
-
deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
|
|
111
|
-
/**
|
|
112
|
-
* HTTP GET /asset/{assetId}
|
|
113
|
-
* Java method: org.openremote.model.asset.AssetResource.get
|
|
114
|
-
*/
|
|
115
|
-
get(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
116
|
-
/**
|
|
117
|
-
* HTTP PUT /asset/{assetId}
|
|
118
|
-
* Java method: org.openremote.model.asset.AssetResource.update
|
|
119
|
-
*/
|
|
120
|
-
update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
121
|
-
/**
|
|
122
|
-
* HTTP PUT /asset/{assetId}/attribute/{attributeName}
|
|
123
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
124
|
-
*/
|
|
125
|
-
writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
126
|
-
/**
|
|
127
|
-
* HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
|
|
128
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
129
|
-
*/
|
|
130
|
-
writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
131
|
-
/**
|
|
132
|
-
* HTTP PUT /asset/{parentAssetId}/child
|
|
133
|
-
* Java method: org.openremote.model.asset.AssetResource.updateParent
|
|
134
|
-
*/
|
|
135
|
-
updateParent(parentAssetId: string, queryParams?: {
|
|
136
|
-
assetIds?: string[];
|
|
137
|
-
}, options?: O): RestResponse<void>;
|
|
138
|
-
}
|
|
139
|
-
export declare class AssetDatapointResourceClient<O> {
|
|
140
|
-
protected httpClient: HttpClient<O>;
|
|
141
|
-
constructor(httpClient: HttpClient<O>);
|
|
142
|
-
/**
|
|
143
|
-
* HTTP GET /asset/datapoint/export
|
|
144
|
-
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
|
|
145
|
-
*/
|
|
146
|
-
getDatapointExport(queryParams?: {
|
|
147
|
-
attributeRefs?: string;
|
|
148
|
-
fromTimestamp?: number;
|
|
149
|
-
toTimestamp?: number;
|
|
150
|
-
}, options?: O): RestResponse<any>;
|
|
151
|
-
/**
|
|
152
|
-
* HTTP GET /asset/datapoint/periods
|
|
153
|
-
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
154
|
-
*/
|
|
155
|
-
getDatapointPeriod(queryParams?: {
|
|
156
|
-
assetId?: string;
|
|
157
|
-
attributeName?: string;
|
|
158
|
-
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
159
|
-
/**
|
|
160
|
-
* HTTP POST /asset/datapoint/{assetId}/{attributeName}
|
|
161
|
-
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
|
|
162
|
-
*/
|
|
163
|
-
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
164
|
-
}
|
|
165
|
-
export declare class AgentResourceClient<O> {
|
|
166
|
-
protected httpClient: HttpClient<O>;
|
|
167
|
-
constructor(httpClient: HttpClient<O>);
|
|
168
|
-
/**
|
|
169
|
-
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
170
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
171
|
-
*/
|
|
172
|
-
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
173
|
-
realm?: string;
|
|
174
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
175
|
-
/**
|
|
176
|
-
* HTTP POST /agent/assetImport/{agentId}
|
|
177
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
178
|
-
*/
|
|
179
|
-
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
180
|
-
realm?: string;
|
|
181
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
182
|
-
/**
|
|
183
|
-
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
184
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
185
|
-
*/
|
|
186
|
-
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
187
|
-
parentId?: string;
|
|
188
|
-
realm?: string;
|
|
189
|
-
}, options?: O): RestResponse<Model.Agent[]>;
|
|
190
|
-
}
|
|
191
30
|
export declare class AlarmResourceClient<O> {
|
|
192
31
|
protected httpClient: HttpClient<O>;
|
|
193
32
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -241,6 +80,61 @@ export declare class AlarmResourceClient<O> {
|
|
|
241
80
|
realm?: string;
|
|
242
81
|
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
243
82
|
}
|
|
83
|
+
export declare class AppResourceClient<O> {
|
|
84
|
+
protected httpClient: HttpClient<O>;
|
|
85
|
+
constructor(httpClient: HttpClient<O>);
|
|
86
|
+
/**
|
|
87
|
+
* HTTP GET /apps
|
|
88
|
+
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
89
|
+
*/
|
|
90
|
+
getApps(options?: O): RestResponse<string[]>;
|
|
91
|
+
/**
|
|
92
|
+
* HTTP GET /apps/consoleConfig
|
|
93
|
+
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
94
|
+
*/
|
|
95
|
+
getConsoleConfig(options?: O): RestResponse<any>;
|
|
96
|
+
/**
|
|
97
|
+
* HTTP GET /apps/info
|
|
98
|
+
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
99
|
+
*/
|
|
100
|
+
getAppInfos(options?: O): RestResponse<any>;
|
|
101
|
+
}
|
|
102
|
+
export declare class GatewayClientResourceClient<O> {
|
|
103
|
+
protected httpClient: HttpClient<O>;
|
|
104
|
+
constructor(httpClient: HttpClient<O>);
|
|
105
|
+
/**
|
|
106
|
+
* HTTP DELETE /gateway/connection
|
|
107
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
108
|
+
*/
|
|
109
|
+
deleteConnections(queryParams?: {
|
|
110
|
+
realm?: string[];
|
|
111
|
+
}, options?: O): RestResponse<void>;
|
|
112
|
+
/**
|
|
113
|
+
* HTTP GET /gateway/connection
|
|
114
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
115
|
+
*/
|
|
116
|
+
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
117
|
+
/**
|
|
118
|
+
* HTTP DELETE /gateway/connection/{realm}
|
|
119
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
120
|
+
*/
|
|
121
|
+
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
122
|
+
/**
|
|
123
|
+
* HTTP GET /gateway/connection/{realm}
|
|
124
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
125
|
+
*/
|
|
126
|
+
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
127
|
+
/**
|
|
128
|
+
* HTTP PUT /gateway/connection/{realm}
|
|
129
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
130
|
+
*/
|
|
131
|
+
setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
132
|
+
/**
|
|
133
|
+
* HTTP GET /gateway/status/{realm}
|
|
134
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
135
|
+
*/
|
|
136
|
+
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
137
|
+
}
|
|
244
138
|
export declare class AssetModelResourceClient<O> {
|
|
245
139
|
protected httpClient: HttpClient<O>;
|
|
246
140
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -294,41 +188,327 @@ export declare class AssetModelResourceClient<O> {
|
|
|
294
188
|
[index: string]: Model.ValueDescriptor;
|
|
295
189
|
}>;
|
|
296
190
|
}
|
|
297
|
-
export declare class
|
|
191
|
+
export declare class ConsoleResourceClient<O> {
|
|
298
192
|
protected httpClient: HttpClient<O>;
|
|
299
193
|
constructor(httpClient: HttpClient<O>);
|
|
300
194
|
/**
|
|
301
|
-
* HTTP
|
|
302
|
-
* Java method: org.openremote.model.
|
|
303
|
-
*/
|
|
304
|
-
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
305
|
-
/**
|
|
306
|
-
* HTTP GET /flow/{name}
|
|
307
|
-
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
308
|
-
*/
|
|
309
|
-
getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
|
|
310
|
-
/**
|
|
311
|
-
* HTTP GET /flow/{type}
|
|
312
|
-
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
195
|
+
* HTTP POST /console/register
|
|
196
|
+
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
313
197
|
*/
|
|
314
|
-
|
|
198
|
+
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
315
199
|
}
|
|
316
|
-
export declare class
|
|
200
|
+
export declare class AgentResourceClient<O> {
|
|
317
201
|
protected httpClient: HttpClient<O>;
|
|
318
202
|
constructor(httpClient: HttpClient<O>);
|
|
319
203
|
/**
|
|
320
|
-
* HTTP
|
|
321
|
-
* Java method: org.openremote.model.
|
|
204
|
+
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
205
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
322
206
|
*/
|
|
323
|
-
|
|
207
|
+
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
208
|
+
realm?: string;
|
|
209
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
324
210
|
/**
|
|
325
|
-
* HTTP
|
|
326
|
-
* Java method: org.openremote.model.
|
|
211
|
+
* HTTP POST /agent/assetImport/{agentId}
|
|
212
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
327
213
|
*/
|
|
328
|
-
|
|
214
|
+
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
215
|
+
realm?: string;
|
|
216
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
329
217
|
/**
|
|
330
|
-
* HTTP GET /
|
|
331
|
-
* Java method: org.openremote.model.
|
|
218
|
+
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
219
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
220
|
+
*/
|
|
221
|
+
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
222
|
+
parentId?: string;
|
|
223
|
+
realm?: string;
|
|
224
|
+
}, options?: O): RestResponse<Model.Agent[]>;
|
|
225
|
+
}
|
|
226
|
+
export declare class NotificationResourceClient<O> {
|
|
227
|
+
protected httpClient: HttpClient<O>;
|
|
228
|
+
constructor(httpClient: HttpClient<O>);
|
|
229
|
+
/**
|
|
230
|
+
* HTTP GET /notification
|
|
231
|
+
* Java method: org.openremote.model.notification.NotificationResource.getNotifications
|
|
232
|
+
*/
|
|
233
|
+
getNotifications(queryParams?: {
|
|
234
|
+
id?: number;
|
|
235
|
+
type?: string;
|
|
236
|
+
from?: number;
|
|
237
|
+
to?: number;
|
|
238
|
+
realmId?: string;
|
|
239
|
+
userId?: string;
|
|
240
|
+
assetId?: string;
|
|
241
|
+
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
242
|
+
/**
|
|
243
|
+
* HTTP DELETE /notification
|
|
244
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
245
|
+
*/
|
|
246
|
+
removeNotifications(queryParams?: {
|
|
247
|
+
id?: number;
|
|
248
|
+
type?: string;
|
|
249
|
+
from?: number;
|
|
250
|
+
to?: number;
|
|
251
|
+
realmId?: string;
|
|
252
|
+
userId?: string;
|
|
253
|
+
assetId?: string;
|
|
254
|
+
}, options?: O): RestResponse<void>;
|
|
255
|
+
/**
|
|
256
|
+
* HTTP POST /notification/alert
|
|
257
|
+
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
258
|
+
*/
|
|
259
|
+
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
260
|
+
/**
|
|
261
|
+
* HTTP DELETE /notification/{notificationId}
|
|
262
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
263
|
+
*/
|
|
264
|
+
removeNotification(notificationId: number, options?: O): RestResponse<void>;
|
|
265
|
+
/**
|
|
266
|
+
* HTTP PUT /notification/{notificationId}/acknowledged
|
|
267
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
|
|
268
|
+
*/
|
|
269
|
+
notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
|
|
270
|
+
targetId?: string;
|
|
271
|
+
}, options?: O): RestResponse<void>;
|
|
272
|
+
/**
|
|
273
|
+
* HTTP PUT /notification/{notificationId}/delivered
|
|
274
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
|
|
275
|
+
*/
|
|
276
|
+
notificationDelivered(notificationId: number, queryParams?: {
|
|
277
|
+
targetId?: string;
|
|
278
|
+
}, options?: O): RestResponse<void>;
|
|
279
|
+
}
|
|
280
|
+
export declare class RulesResourceClient<O> {
|
|
281
|
+
protected httpClient: HttpClient<O>;
|
|
282
|
+
constructor(httpClient: HttpClient<O>);
|
|
283
|
+
/**
|
|
284
|
+
* HTTP POST /rules
|
|
285
|
+
* Java method: org.openremote.model.rules.RulesResource.createGlobalRuleset
|
|
286
|
+
*/
|
|
287
|
+
createGlobalRuleset(ruleset: Model.GlobalRuleset, options?: O): RestResponse<number>;
|
|
288
|
+
/**
|
|
289
|
+
* HTTP GET /rules
|
|
290
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalRulesets
|
|
291
|
+
*/
|
|
292
|
+
getGlobalRulesets(queryParams?: {
|
|
293
|
+
language?: Model.RulesetLang[];
|
|
294
|
+
fullyPopulate?: boolean;
|
|
295
|
+
}, options?: O): RestResponse<Model.GlobalRuleset[]>;
|
|
296
|
+
/**
|
|
297
|
+
* HTTP POST /rules/asset
|
|
298
|
+
* Java method: org.openremote.model.rules.RulesResource.createAssetRuleset
|
|
299
|
+
*/
|
|
300
|
+
createAssetRuleset(ruleset: Model.AssetRuleset, options?: O): RestResponse<number>;
|
|
301
|
+
/**
|
|
302
|
+
* HTTP GET /rules/asset/for/{assetId}
|
|
303
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetRulesets
|
|
304
|
+
*/
|
|
305
|
+
getAssetRulesets(assetId: string, queryParams?: {
|
|
306
|
+
language?: Model.RulesetLang[];
|
|
307
|
+
fullyPopulate?: boolean;
|
|
308
|
+
}, options?: O): RestResponse<Model.AssetRuleset[]>;
|
|
309
|
+
/**
|
|
310
|
+
* HTTP DELETE /rules/asset/{id}
|
|
311
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteAssetRuleset
|
|
312
|
+
*/
|
|
313
|
+
deleteAssetRuleset(id: number, options?: O): RestResponse<void>;
|
|
314
|
+
/**
|
|
315
|
+
* HTTP GET /rules/asset/{id}
|
|
316
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetRuleset
|
|
317
|
+
*/
|
|
318
|
+
getAssetRuleset(id: number, options?: O): RestResponse<Model.AssetRuleset>;
|
|
319
|
+
/**
|
|
320
|
+
* HTTP PUT /rules/asset/{id}
|
|
321
|
+
* Java method: org.openremote.model.rules.RulesResource.updateAssetRuleset
|
|
322
|
+
*/
|
|
323
|
+
updateAssetRuleset(id: number, ruleset: Model.AssetRuleset, options?: O): RestResponse<void>;
|
|
324
|
+
/**
|
|
325
|
+
* HTTP GET /rules/geofences/{assetId}
|
|
326
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetGeofences
|
|
327
|
+
*/
|
|
328
|
+
getAssetGeofences(assetId: string, options?: O): RestResponse<Model.GeofenceDefinition[]>;
|
|
329
|
+
/**
|
|
330
|
+
* HTTP GET /rules/info/asset/{assetId}
|
|
331
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetEngineInfo
|
|
332
|
+
*/
|
|
333
|
+
getAssetEngineInfo(assetId: string, options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
334
|
+
/**
|
|
335
|
+
* HTTP GET /rules/info/global
|
|
336
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalEngineInfo
|
|
337
|
+
*/
|
|
338
|
+
getGlobalEngineInfo(options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
339
|
+
/**
|
|
340
|
+
* HTTP GET /rules/info/realm/{realm}
|
|
341
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmEngineInfo
|
|
342
|
+
*/
|
|
343
|
+
getRealmEngineInfo(realm: string, options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
344
|
+
/**
|
|
345
|
+
* HTTP POST /rules/realm
|
|
346
|
+
* Java method: org.openremote.model.rules.RulesResource.createRealmRuleset
|
|
347
|
+
*/
|
|
348
|
+
createRealmRuleset(ruleset: Model.RealmRuleset, options?: O): RestResponse<number>;
|
|
349
|
+
/**
|
|
350
|
+
* HTTP GET /rules/realm/for/{realm}
|
|
351
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmRulesets
|
|
352
|
+
*/
|
|
353
|
+
getRealmRulesets(realm: string, queryParams?: {
|
|
354
|
+
language?: Model.RulesetLang[];
|
|
355
|
+
fullyPopulate?: boolean;
|
|
356
|
+
}, options?: O): RestResponse<Model.RealmRuleset[]>;
|
|
357
|
+
/**
|
|
358
|
+
* HTTP DELETE /rules/realm/{id}
|
|
359
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteRealmRuleset
|
|
360
|
+
*/
|
|
361
|
+
deleteRealmRuleset(id: number, options?: O): RestResponse<void>;
|
|
362
|
+
/**
|
|
363
|
+
* HTTP GET /rules/realm/{id}
|
|
364
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmRuleset
|
|
365
|
+
*/
|
|
366
|
+
getRealmRuleset(id: number, options?: O): RestResponse<Model.RealmRuleset>;
|
|
367
|
+
/**
|
|
368
|
+
* HTTP PUT /rules/realm/{id}
|
|
369
|
+
* Java method: org.openremote.model.rules.RulesResource.updateRealmRuleset
|
|
370
|
+
*/
|
|
371
|
+
updateRealmRuleset(id: number, ruleset: Model.RealmRuleset, options?: O): RestResponse<void>;
|
|
372
|
+
/**
|
|
373
|
+
* HTTP DELETE /rules/{id}
|
|
374
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteGlobalRuleset
|
|
375
|
+
*/
|
|
376
|
+
deleteGlobalRuleset(id: number, options?: O): RestResponse<void>;
|
|
377
|
+
/**
|
|
378
|
+
* HTTP GET /rules/{id}
|
|
379
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalRuleset
|
|
380
|
+
*/
|
|
381
|
+
getGlobalRuleset(id: number, options?: O): RestResponse<Model.GlobalRuleset>;
|
|
382
|
+
/**
|
|
383
|
+
* HTTP PUT /rules/{id}
|
|
384
|
+
* Java method: org.openremote.model.rules.RulesResource.updateGlobalRuleset
|
|
385
|
+
*/
|
|
386
|
+
updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
|
|
387
|
+
}
|
|
388
|
+
export declare class ProvisioningResourceClient<O> {
|
|
389
|
+
protected httpClient: HttpClient<O>;
|
|
390
|
+
constructor(httpClient: HttpClient<O>);
|
|
391
|
+
/**
|
|
392
|
+
* HTTP POST /provisioning
|
|
393
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
|
|
394
|
+
*/
|
|
395
|
+
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
396
|
+
/**
|
|
397
|
+
* HTTP GET /provisioning
|
|
398
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
399
|
+
*/
|
|
400
|
+
getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
|
|
401
|
+
/**
|
|
402
|
+
* HTTP DELETE /provisioning/{id}
|
|
403
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
404
|
+
*/
|
|
405
|
+
deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
|
|
406
|
+
/**
|
|
407
|
+
* HTTP PUT /provisioning/{id}
|
|
408
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
|
|
409
|
+
*/
|
|
410
|
+
updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
411
|
+
}
|
|
412
|
+
export declare class ConfigurationResourceClient<O> {
|
|
413
|
+
protected httpClient: HttpClient<O>;
|
|
414
|
+
constructor(httpClient: HttpClient<O>);
|
|
415
|
+
/**
|
|
416
|
+
* HTTP GET /configuration/manager
|
|
417
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
418
|
+
*/
|
|
419
|
+
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
420
|
+
/**
|
|
421
|
+
* HTTP PUT /configuration/manager
|
|
422
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
423
|
+
*/
|
|
424
|
+
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
425
|
+
/**
|
|
426
|
+
* HTTP POST /configuration/manager/file
|
|
427
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
428
|
+
*/
|
|
429
|
+
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
430
|
+
path?: string;
|
|
431
|
+
}, options?: O): RestResponse<string>;
|
|
432
|
+
/**
|
|
433
|
+
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
434
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
435
|
+
*/
|
|
436
|
+
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
437
|
+
}
|
|
438
|
+
export declare class AssetDatapointResourceClient<O> {
|
|
439
|
+
protected httpClient: HttpClient<O>;
|
|
440
|
+
constructor(httpClient: HttpClient<O>);
|
|
441
|
+
/**
|
|
442
|
+
* HTTP GET /asset/datapoint/export
|
|
443
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
|
|
444
|
+
*/
|
|
445
|
+
getDatapointExport(queryParams?: {
|
|
446
|
+
attributeRefs?: string;
|
|
447
|
+
fromTimestamp?: number;
|
|
448
|
+
toTimestamp?: number;
|
|
449
|
+
}, options?: O): RestResponse<any>;
|
|
450
|
+
/**
|
|
451
|
+
* HTTP GET /asset/datapoint/periods
|
|
452
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
453
|
+
*/
|
|
454
|
+
getDatapointPeriod(queryParams?: {
|
|
455
|
+
assetId?: string;
|
|
456
|
+
attributeName?: string;
|
|
457
|
+
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
458
|
+
/**
|
|
459
|
+
* HTTP POST /asset/datapoint/{assetId}/{attributeName}
|
|
460
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
|
|
461
|
+
*/
|
|
462
|
+
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
463
|
+
}
|
|
464
|
+
export declare class SyslogResourceClient<O> {
|
|
465
|
+
protected httpClient: HttpClient<O>;
|
|
466
|
+
constructor(httpClient: HttpClient<O>);
|
|
467
|
+
/**
|
|
468
|
+
* HTTP GET /syslog/config
|
|
469
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getConfig
|
|
470
|
+
*/
|
|
471
|
+
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
472
|
+
/**
|
|
473
|
+
* HTTP PUT /syslog/config
|
|
474
|
+
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
475
|
+
*/
|
|
476
|
+
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
477
|
+
/**
|
|
478
|
+
* HTTP DELETE /syslog/event
|
|
479
|
+
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
480
|
+
*/
|
|
481
|
+
clearEvents(options?: O): RestResponse<void>;
|
|
482
|
+
/**
|
|
483
|
+
* HTTP GET /syslog/event
|
|
484
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getEvents
|
|
485
|
+
*/
|
|
486
|
+
getEvents(queryParams?: {
|
|
487
|
+
level?: Model.SyslogLevel;
|
|
488
|
+
per_page?: number;
|
|
489
|
+
page?: number;
|
|
490
|
+
from?: number;
|
|
491
|
+
to?: number;
|
|
492
|
+
category?: Model.SyslogCategory[];
|
|
493
|
+
subCategory?: string[];
|
|
494
|
+
}, options?: O): RestResponse<any>;
|
|
495
|
+
}
|
|
496
|
+
export declare class RealmResourceClient<O> {
|
|
497
|
+
protected httpClient: HttpClient<O>;
|
|
498
|
+
constructor(httpClient: HttpClient<O>);
|
|
499
|
+
/**
|
|
500
|
+
* HTTP POST /realm
|
|
501
|
+
* Java method: org.openremote.model.security.RealmResource.create
|
|
502
|
+
*/
|
|
503
|
+
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
504
|
+
/**
|
|
505
|
+
* HTTP GET /realm
|
|
506
|
+
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
507
|
+
*/
|
|
508
|
+
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
509
|
+
/**
|
|
510
|
+
* HTTP GET /realm/accessible
|
|
511
|
+
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
332
512
|
*/
|
|
333
513
|
getAccessible(options?: O): RestResponse<Model.Realm[]>;
|
|
334
514
|
/**
|
|
@@ -347,31 +527,24 @@ export declare class RealmResourceClient<O> {
|
|
|
347
527
|
*/
|
|
348
528
|
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
349
529
|
}
|
|
350
|
-
export declare class
|
|
530
|
+
export declare class FlowResourceClient<O> {
|
|
351
531
|
protected httpClient: HttpClient<O>;
|
|
352
532
|
constructor(httpClient: HttpClient<O>);
|
|
353
533
|
/**
|
|
354
|
-
* HTTP GET /
|
|
355
|
-
* Java method: org.openremote.model.
|
|
356
|
-
*/
|
|
357
|
-
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
358
|
-
/**
|
|
359
|
-
* HTTP PUT /configuration/manager
|
|
360
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
534
|
+
* HTTP GET /flow
|
|
535
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
361
536
|
*/
|
|
362
|
-
|
|
537
|
+
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
363
538
|
/**
|
|
364
|
-
* HTTP
|
|
365
|
-
* Java method: org.openremote.model.
|
|
539
|
+
* HTTP GET /flow/{name}
|
|
540
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
366
541
|
*/
|
|
367
|
-
|
|
368
|
-
path?: string;
|
|
369
|
-
}, options?: O): RestResponse<string>;
|
|
542
|
+
getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
|
|
370
543
|
/**
|
|
371
|
-
* HTTP GET /
|
|
372
|
-
* Java method: org.openremote.model.
|
|
544
|
+
* HTTP GET /flow/{type}
|
|
545
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
373
546
|
*/
|
|
374
|
-
|
|
547
|
+
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
375
548
|
}
|
|
376
549
|
export declare class ExternalServiceResourceClient<O> {
|
|
377
550
|
protected httpClient: HttpClient<O>;
|
|
@@ -481,155 +654,19 @@ export declare class MapResourceClient<O> {
|
|
|
481
654
|
[id: string]: unknown;
|
|
482
655
|
}>;
|
|
483
656
|
}
|
|
484
|
-
export declare class
|
|
485
|
-
protected httpClient: HttpClient<O>;
|
|
486
|
-
constructor(httpClient: HttpClient<O>);
|
|
487
|
-
/**
|
|
488
|
-
* HTTP DELETE /gateway/connection
|
|
489
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
490
|
-
*/
|
|
491
|
-
deleteConnections(queryParams?: {
|
|
492
|
-
realm?: string[];
|
|
493
|
-
}, options?: O): RestResponse<void>;
|
|
494
|
-
/**
|
|
495
|
-
* HTTP GET /gateway/connection
|
|
496
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
497
|
-
*/
|
|
498
|
-
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
499
|
-
/**
|
|
500
|
-
* HTTP DELETE /gateway/connection/{realm}
|
|
501
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
502
|
-
*/
|
|
503
|
-
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
504
|
-
/**
|
|
505
|
-
* HTTP GET /gateway/connection/{realm}
|
|
506
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
507
|
-
*/
|
|
508
|
-
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
509
|
-
/**
|
|
510
|
-
* HTTP PUT /gateway/connection/{realm}
|
|
511
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
512
|
-
*/
|
|
513
|
-
setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
514
|
-
/**
|
|
515
|
-
* HTTP GET /gateway/status/{realm}
|
|
516
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
517
|
-
*/
|
|
518
|
-
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
519
|
-
}
|
|
520
|
-
export declare class AppResourceClient<O> {
|
|
521
|
-
protected httpClient: HttpClient<O>;
|
|
522
|
-
constructor(httpClient: HttpClient<O>);
|
|
523
|
-
/**
|
|
524
|
-
* HTTP GET /apps
|
|
525
|
-
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
526
|
-
*/
|
|
527
|
-
getApps(options?: O): RestResponse<string[]>;
|
|
528
|
-
/**
|
|
529
|
-
* HTTP GET /apps/consoleConfig
|
|
530
|
-
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
531
|
-
*/
|
|
532
|
-
getConsoleConfig(options?: O): RestResponse<any>;
|
|
533
|
-
/**
|
|
534
|
-
* HTTP GET /apps/info
|
|
535
|
-
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
536
|
-
*/
|
|
537
|
-
getAppInfos(options?: O): RestResponse<any>;
|
|
538
|
-
}
|
|
539
|
-
export declare class GatewayServiceResourceClient<O> {
|
|
540
|
-
protected httpClient: HttpClient<O>;
|
|
541
|
-
constructor(httpClient: HttpClient<O>);
|
|
542
|
-
/**
|
|
543
|
-
* HTTP POST /gateway/tunnel
|
|
544
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
545
|
-
*/
|
|
546
|
-
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
547
|
-
/**
|
|
548
|
-
* HTTP DELETE /gateway/tunnel
|
|
549
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
550
|
-
*/
|
|
551
|
-
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
552
|
-
/**
|
|
553
|
-
* HTTP GET /gateway/tunnel/{realm}
|
|
554
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
555
|
-
*/
|
|
556
|
-
getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
557
|
-
/**
|
|
558
|
-
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
559
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
560
|
-
*/
|
|
561
|
-
getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
562
|
-
/**
|
|
563
|
-
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
564
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
565
|
-
*/
|
|
566
|
-
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
567
|
-
}
|
|
568
|
-
export declare class DashboardResourceClient<O> {
|
|
569
|
-
protected httpClient: HttpClient<O>;
|
|
570
|
-
constructor(httpClient: HttpClient<O>);
|
|
571
|
-
/**
|
|
572
|
-
* HTTP POST /dashboard
|
|
573
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
574
|
-
*/
|
|
575
|
-
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
576
|
-
/**
|
|
577
|
-
* HTTP PUT /dashboard
|
|
578
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
579
|
-
*/
|
|
580
|
-
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
581
|
-
/**
|
|
582
|
-
* HTTP GET /dashboard/all/{realm}
|
|
583
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
584
|
-
*/
|
|
585
|
-
getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
|
|
586
|
-
/**
|
|
587
|
-
* HTTP POST /dashboard/query
|
|
588
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
589
|
-
*/
|
|
590
|
-
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
591
|
-
/**
|
|
592
|
-
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
593
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
594
|
-
*/
|
|
595
|
-
delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
|
|
596
|
-
/**
|
|
597
|
-
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
598
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
599
|
-
*/
|
|
600
|
-
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
601
|
-
}
|
|
602
|
-
export declare class SyslogResourceClient<O> {
|
|
657
|
+
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
603
658
|
protected httpClient: HttpClient<O>;
|
|
604
659
|
constructor(httpClient: HttpClient<O>);
|
|
605
660
|
/**
|
|
606
|
-
* HTTP
|
|
607
|
-
* Java method: org.openremote.model.
|
|
608
|
-
*/
|
|
609
|
-
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
610
|
-
/**
|
|
611
|
-
* HTTP PUT /syslog/config
|
|
612
|
-
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
613
|
-
*/
|
|
614
|
-
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
615
|
-
/**
|
|
616
|
-
* HTTP DELETE /syslog/event
|
|
617
|
-
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
661
|
+
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
662
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
618
663
|
*/
|
|
619
|
-
|
|
664
|
+
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
620
665
|
/**
|
|
621
|
-
* HTTP
|
|
622
|
-
* Java method: org.openremote.model.
|
|
666
|
+
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
667
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
623
668
|
*/
|
|
624
|
-
|
|
625
|
-
level?: Model.SyslogLevel;
|
|
626
|
-
per_page?: number;
|
|
627
|
-
page?: number;
|
|
628
|
-
from?: number;
|
|
629
|
-
to?: number;
|
|
630
|
-
category?: Model.SyslogCategory[];
|
|
631
|
-
subCategory?: string[];
|
|
632
|
-
}, options?: O): RestResponse<any>;
|
|
669
|
+
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
633
670
|
}
|
|
634
671
|
export declare class UserResourceClient<O> {
|
|
635
672
|
protected httpClient: HttpClient<O>;
|
|
@@ -755,262 +792,225 @@ export declare class UserResourceClient<O> {
|
|
|
755
792
|
*/
|
|
756
793
|
get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
|
|
757
794
|
}
|
|
758
|
-
export declare class
|
|
759
|
-
protected httpClient: HttpClient<O>;
|
|
760
|
-
constructor(httpClient: HttpClient<O>);
|
|
761
|
-
/**
|
|
762
|
-
* HTTP POST /console/register
|
|
763
|
-
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
764
|
-
*/
|
|
765
|
-
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
766
|
-
}
|
|
767
|
-
export declare class NotificationResourceClient<O> {
|
|
795
|
+
export declare class GatewayServiceResourceClient<O> {
|
|
768
796
|
protected httpClient: HttpClient<O>;
|
|
769
797
|
constructor(httpClient: HttpClient<O>);
|
|
770
798
|
/**
|
|
771
|
-
* HTTP
|
|
772
|
-
* Java method: org.openremote.model.
|
|
773
|
-
*/
|
|
774
|
-
getNotifications(queryParams?: {
|
|
775
|
-
id?: number;
|
|
776
|
-
type?: string;
|
|
777
|
-
from?: number;
|
|
778
|
-
to?: number;
|
|
779
|
-
realmId?: string;
|
|
780
|
-
userId?: string;
|
|
781
|
-
assetId?: string;
|
|
782
|
-
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
783
|
-
/**
|
|
784
|
-
* HTTP DELETE /notification
|
|
785
|
-
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
799
|
+
* HTTP POST /gateway/tunnel
|
|
800
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
786
801
|
*/
|
|
787
|
-
|
|
788
|
-
id?: number;
|
|
789
|
-
type?: string;
|
|
790
|
-
from?: number;
|
|
791
|
-
to?: number;
|
|
792
|
-
realmId?: string;
|
|
793
|
-
userId?: string;
|
|
794
|
-
assetId?: string;
|
|
795
|
-
}, options?: O): RestResponse<void>;
|
|
802
|
+
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
796
803
|
/**
|
|
797
|
-
* HTTP
|
|
798
|
-
* Java method: org.openremote.model.
|
|
804
|
+
* HTTP DELETE /gateway/tunnel
|
|
805
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
799
806
|
*/
|
|
800
|
-
|
|
807
|
+
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
801
808
|
/**
|
|
802
|
-
* HTTP
|
|
803
|
-
* Java method: org.openremote.model.
|
|
809
|
+
* HTTP GET /gateway/tunnel/{realm}
|
|
810
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
804
811
|
*/
|
|
805
|
-
|
|
812
|
+
getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
806
813
|
/**
|
|
807
|
-
* HTTP
|
|
808
|
-
* Java method: org.openremote.model.
|
|
814
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
815
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
809
816
|
*/
|
|
810
|
-
|
|
811
|
-
targetId?: string;
|
|
812
|
-
}, options?: O): RestResponse<void>;
|
|
817
|
+
getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
813
818
|
/**
|
|
814
|
-
* HTTP
|
|
815
|
-
* Java method: org.openremote.model.
|
|
819
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
820
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
816
821
|
*/
|
|
817
|
-
|
|
818
|
-
targetId?: string;
|
|
819
|
-
}, options?: O): RestResponse<void>;
|
|
822
|
+
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
820
823
|
}
|
|
821
|
-
export declare class
|
|
824
|
+
export declare class AssetResourceClient<O> {
|
|
822
825
|
protected httpClient: HttpClient<O>;
|
|
823
826
|
constructor(httpClient: HttpClient<O>);
|
|
824
827
|
/**
|
|
825
|
-
* HTTP POST /
|
|
826
|
-
* Java method: org.openremote.model.
|
|
828
|
+
* HTTP POST /asset
|
|
829
|
+
* Java method: org.openremote.model.asset.AssetResource.create
|
|
827
830
|
*/
|
|
828
|
-
|
|
831
|
+
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
829
832
|
/**
|
|
830
|
-
* HTTP
|
|
831
|
-
* Java method: org.openremote.model.
|
|
833
|
+
* HTTP DELETE /asset
|
|
834
|
+
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
832
835
|
*/
|
|
833
|
-
|
|
836
|
+
delete(queryParams?: {
|
|
837
|
+
assetId?: string[];
|
|
838
|
+
}, options?: O): RestResponse<void>;
|
|
834
839
|
/**
|
|
835
|
-
* HTTP
|
|
836
|
-
* Java method: org.openremote.model.
|
|
840
|
+
* HTTP PUT /asset/attributes
|
|
841
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
837
842
|
*/
|
|
838
|
-
|
|
843
|
+
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
839
844
|
/**
|
|
840
|
-
* HTTP PUT /
|
|
841
|
-
* Java method: org.openremote.model.
|
|
845
|
+
* HTTP PUT /asset/attributes/timestamp
|
|
846
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
842
847
|
*/
|
|
843
|
-
|
|
844
|
-
}
|
|
845
|
-
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
846
|
-
protected httpClient: HttpClient<O>;
|
|
847
|
-
constructor(httpClient: HttpClient<O>);
|
|
848
|
+
writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
848
849
|
/**
|
|
849
|
-
* HTTP
|
|
850
|
-
* Java method: org.openremote.model.
|
|
850
|
+
* HTTP DELETE /asset/parent
|
|
851
|
+
* Java method: org.openremote.model.asset.AssetResource.updateNoneParent
|
|
851
852
|
*/
|
|
852
|
-
|
|
853
|
+
updateNoneParent(queryParams?: {
|
|
854
|
+
assetIds?: string[];
|
|
855
|
+
}, options?: O): RestResponse<void>;
|
|
853
856
|
/**
|
|
854
|
-
* HTTP
|
|
855
|
-
* Java method: org.openremote.model.
|
|
857
|
+
* HTTP GET /asset/partial/{assetId}
|
|
858
|
+
* Java method: org.openremote.model.asset.AssetResource.getPartial
|
|
856
859
|
*/
|
|
857
|
-
|
|
858
|
-
}
|
|
859
|
-
export declare class RulesResourceClient<O> {
|
|
860
|
-
protected httpClient: HttpClient<O>;
|
|
861
|
-
constructor(httpClient: HttpClient<O>);
|
|
860
|
+
getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
862
861
|
/**
|
|
863
|
-
* HTTP POST /
|
|
864
|
-
* Java method: org.openremote.model.
|
|
862
|
+
* HTTP POST /asset/query
|
|
863
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
865
864
|
*/
|
|
866
|
-
|
|
865
|
+
queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
|
|
867
866
|
/**
|
|
868
|
-
* HTTP
|
|
869
|
-
* Java method: org.openremote.model.
|
|
867
|
+
* HTTP POST /asset/tree
|
|
868
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssetTree
|
|
870
869
|
*/
|
|
871
|
-
|
|
872
|
-
language?: Model.RulesetLang[];
|
|
873
|
-
fullyPopulate?: boolean;
|
|
874
|
-
}, options?: O): RestResponse<Model.GlobalRuleset[]>;
|
|
870
|
+
queryAssetTree(query: Model.AssetQuery, options?: O): RestResponse<Model.AssetTree>;
|
|
875
871
|
/**
|
|
876
|
-
* HTTP
|
|
877
|
-
* Java method: org.openremote.model.
|
|
872
|
+
* HTTP GET /asset/user/current
|
|
873
|
+
* Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
|
|
878
874
|
*/
|
|
879
|
-
|
|
875
|
+
getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
|
|
880
876
|
/**
|
|
881
|
-
* HTTP
|
|
882
|
-
* Java method: org.openremote.model.
|
|
877
|
+
* HTTP POST /asset/user/link
|
|
878
|
+
* Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
|
|
883
879
|
*/
|
|
884
|
-
|
|
885
|
-
language?: Model.RulesetLang[];
|
|
886
|
-
fullyPopulate?: boolean;
|
|
887
|
-
}, options?: O): RestResponse<Model.AssetRuleset[]>;
|
|
880
|
+
createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
888
881
|
/**
|
|
889
|
-
* HTTP
|
|
890
|
-
* Java method: org.openremote.model.
|
|
882
|
+
* HTTP GET /asset/user/link
|
|
883
|
+
* Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
|
|
891
884
|
*/
|
|
892
|
-
|
|
885
|
+
getUserAssetLinks(queryParams?: {
|
|
886
|
+
realm?: string;
|
|
887
|
+
userId?: string;
|
|
888
|
+
assetId?: string;
|
|
889
|
+
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
893
890
|
/**
|
|
894
|
-
* HTTP
|
|
895
|
-
* Java method: org.openremote.model.
|
|
891
|
+
* HTTP POST /asset/user/link/delete
|
|
892
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
|
|
896
893
|
*/
|
|
897
|
-
|
|
894
|
+
deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
898
895
|
/**
|
|
899
|
-
* HTTP
|
|
900
|
-
* Java method: org.openremote.model.
|
|
896
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}
|
|
897
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
|
|
901
898
|
*/
|
|
902
|
-
|
|
899
|
+
deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
903
900
|
/**
|
|
904
|
-
* HTTP
|
|
905
|
-
* Java method: org.openremote.model.
|
|
901
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
|
|
902
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
|
|
906
903
|
*/
|
|
907
|
-
|
|
904
|
+
deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
|
|
908
905
|
/**
|
|
909
|
-
* HTTP GET /
|
|
910
|
-
* Java method: org.openremote.model.
|
|
906
|
+
* HTTP GET /asset/{assetId}
|
|
907
|
+
* Java method: org.openremote.model.asset.AssetResource.get
|
|
911
908
|
*/
|
|
912
|
-
|
|
909
|
+
get(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
913
910
|
/**
|
|
914
|
-
* HTTP
|
|
915
|
-
* Java method: org.openremote.model.
|
|
911
|
+
* HTTP PUT /asset/{assetId}
|
|
912
|
+
* Java method: org.openremote.model.asset.AssetResource.update
|
|
916
913
|
*/
|
|
917
|
-
|
|
914
|
+
update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
918
915
|
/**
|
|
919
|
-
* HTTP
|
|
920
|
-
* Java method: org.openremote.model.
|
|
916
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}
|
|
917
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
921
918
|
*/
|
|
922
|
-
|
|
919
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
923
920
|
/**
|
|
924
|
-
* HTTP
|
|
925
|
-
* Java method: org.openremote.model.
|
|
921
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
|
|
922
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
926
923
|
*/
|
|
927
|
-
|
|
924
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
928
925
|
/**
|
|
929
|
-
* HTTP
|
|
930
|
-
* Java method: org.openremote.model.
|
|
926
|
+
* HTTP PUT /asset/{parentAssetId}/child
|
|
927
|
+
* Java method: org.openremote.model.asset.AssetResource.updateParent
|
|
931
928
|
*/
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
929
|
+
updateParent(parentAssetId: string, queryParams?: {
|
|
930
|
+
assetIds?: string[];
|
|
931
|
+
}, options?: O): RestResponse<void>;
|
|
932
|
+
}
|
|
933
|
+
export declare class DashboardResourceClient<O> {
|
|
934
|
+
protected httpClient: HttpClient<O>;
|
|
935
|
+
constructor(httpClient: HttpClient<O>);
|
|
936
936
|
/**
|
|
937
|
-
* HTTP
|
|
938
|
-
* Java method: org.openremote.model.
|
|
937
|
+
* HTTP POST /dashboard
|
|
938
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
939
939
|
*/
|
|
940
|
-
|
|
940
|
+
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
941
941
|
/**
|
|
942
|
-
* HTTP
|
|
943
|
-
* Java method: org.openremote.model.
|
|
942
|
+
* HTTP PUT /dashboard
|
|
943
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
944
944
|
*/
|
|
945
|
-
|
|
945
|
+
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
946
946
|
/**
|
|
947
|
-
* HTTP
|
|
948
|
-
* Java method: org.openremote.model.
|
|
947
|
+
* HTTP GET /dashboard/all/{realm}
|
|
948
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
949
949
|
*/
|
|
950
|
-
|
|
950
|
+
getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
|
|
951
951
|
/**
|
|
952
|
-
* HTTP
|
|
953
|
-
* Java method: org.openremote.model.
|
|
952
|
+
* HTTP POST /dashboard/query
|
|
953
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
954
954
|
*/
|
|
955
|
-
|
|
955
|
+
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
956
956
|
/**
|
|
957
|
-
* HTTP
|
|
958
|
-
* Java method: org.openremote.model.
|
|
957
|
+
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
958
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
959
959
|
*/
|
|
960
|
-
|
|
960
|
+
delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
|
|
961
961
|
/**
|
|
962
|
-
* HTTP
|
|
963
|
-
* Java method: org.openremote.model.
|
|
962
|
+
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
963
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
964
964
|
*/
|
|
965
|
-
|
|
965
|
+
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
966
966
|
}
|
|
967
967
|
export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
|
|
968
968
|
export declare class ApiClient {
|
|
969
969
|
protected _statusResource: AxiosStatusResourceClient;
|
|
970
|
-
protected _assetResource: AxiosAssetResourceClient;
|
|
971
|
-
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
972
|
-
protected _agentResource: AxiosAgentResourceClient;
|
|
973
970
|
protected _alarmResource: AxiosAlarmResourceClient;
|
|
971
|
+
protected _appResource: AxiosAppResourceClient;
|
|
972
|
+
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
974
973
|
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
975
|
-
protected
|
|
976
|
-
protected
|
|
974
|
+
protected _consoleResource: AxiosConsoleResourceClient;
|
|
975
|
+
protected _agentResource: AxiosAgentResourceClient;
|
|
976
|
+
protected _notificationResource: AxiosNotificationResourceClient;
|
|
977
|
+
protected _rulesResource: AxiosRulesResourceClient;
|
|
978
|
+
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
977
979
|
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
980
|
+
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
981
|
+
protected _syslogResource: AxiosSyslogResourceClient;
|
|
982
|
+
protected _realmResource: AxiosRealmResourceClient;
|
|
983
|
+
protected _flowResource: AxiosFlowResourceClient;
|
|
978
984
|
protected _externalServiceResource: AxiosExternalServiceResourceClient;
|
|
979
985
|
protected _mapResource: AxiosMapResourceClient;
|
|
980
|
-
protected
|
|
981
|
-
protected
|
|
986
|
+
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
987
|
+
protected _userResource: AxiosUserResourceClient;
|
|
982
988
|
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
989
|
+
protected _assetResource: AxiosAssetResourceClient;
|
|
983
990
|
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
984
|
-
protected _syslogResource: AxiosSyslogResourceClient;
|
|
985
|
-
protected _userResource: AxiosUserResourceClient;
|
|
986
|
-
protected _consoleResource: AxiosConsoleResourceClient;
|
|
987
|
-
protected _notificationResource: AxiosNotificationResourceClient;
|
|
988
|
-
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
989
|
-
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
990
|
-
protected _rulesResource: AxiosRulesResourceClient;
|
|
991
991
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
992
992
|
get StatusResource(): AxiosStatusResourceClient;
|
|
993
|
-
get AssetResource(): AxiosAssetResourceClient;
|
|
994
|
-
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
995
|
-
get AgentResource(): AxiosAgentResourceClient;
|
|
996
993
|
get AlarmResource(): AxiosAlarmResourceClient;
|
|
994
|
+
get AppResource(): AxiosAppResourceClient;
|
|
995
|
+
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
997
996
|
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
998
|
-
get
|
|
999
|
-
get
|
|
997
|
+
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
998
|
+
get AgentResource(): AxiosAgentResourceClient;
|
|
999
|
+
get NotificationResource(): AxiosNotificationResourceClient;
|
|
1000
|
+
get RulesResource(): AxiosRulesResourceClient;
|
|
1001
|
+
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
1000
1002
|
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
1003
|
+
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
1004
|
+
get SyslogResource(): AxiosSyslogResourceClient;
|
|
1005
|
+
get RealmResource(): AxiosRealmResourceClient;
|
|
1006
|
+
get FlowResource(): AxiosFlowResourceClient;
|
|
1001
1007
|
get ExternalServiceResource(): AxiosExternalServiceResourceClient;
|
|
1002
1008
|
get MapResource(): AxiosMapResourceClient;
|
|
1003
|
-
get
|
|
1004
|
-
get
|
|
1009
|
+
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
1010
|
+
get UserResource(): AxiosUserResourceClient;
|
|
1005
1011
|
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
1012
|
+
get AssetResource(): AxiosAssetResourceClient;
|
|
1006
1013
|
get DashboardResource(): AxiosDashboardResourceClient;
|
|
1007
|
-
get SyslogResource(): AxiosSyslogResourceClient;
|
|
1008
|
-
get UserResource(): AxiosUserResourceClient;
|
|
1009
|
-
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
1010
|
-
get NotificationResource(): AxiosNotificationResourceClient;
|
|
1011
|
-
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
1012
|
-
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
1013
|
-
get RulesResource(): AxiosRulesResourceClient;
|
|
1014
1014
|
}
|
|
1015
1015
|
import * as Axios from "axios";
|
|
1016
1016
|
declare module "axios" {
|
|
@@ -1021,67 +1021,67 @@ declare module "axios" {
|
|
|
1021
1021
|
export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
|
|
1022
1022
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1023
1023
|
}
|
|
1024
|
-
export declare class
|
|
1024
|
+
export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
|
|
1025
1025
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1026
1026
|
}
|
|
1027
|
-
export declare class
|
|
1027
|
+
export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
|
|
1028
1028
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1029
1029
|
}
|
|
1030
|
-
export declare class
|
|
1030
|
+
export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
|
|
1031
1031
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1032
1032
|
}
|
|
1033
|
-
export declare class
|
|
1033
|
+
export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
|
|
1034
1034
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1035
1035
|
}
|
|
1036
|
-
export declare class
|
|
1036
|
+
export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
|
|
1037
1037
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1038
1038
|
}
|
|
1039
|
-
export declare class
|
|
1039
|
+
export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
|
|
1040
1040
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1041
1041
|
}
|
|
1042
|
-
export declare class
|
|
1042
|
+
export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
|
|
1043
1043
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1044
1044
|
}
|
|
1045
|
-
export declare class
|
|
1045
|
+
export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
|
|
1046
1046
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1047
1047
|
}
|
|
1048
|
-
export declare class
|
|
1048
|
+
export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
|
|
1049
1049
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1050
1050
|
}
|
|
1051
|
-
export declare class
|
|
1051
|
+
export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
|
|
1052
1052
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1053
1053
|
}
|
|
1054
|
-
export declare class
|
|
1054
|
+
export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
1055
1055
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1056
1056
|
}
|
|
1057
|
-
export declare class
|
|
1057
|
+
export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
|
|
1058
1058
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1059
1059
|
}
|
|
1060
|
-
export declare class
|
|
1060
|
+
export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
|
|
1061
1061
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1062
1062
|
}
|
|
1063
|
-
export declare class
|
|
1063
|
+
export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
1064
1064
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1065
1065
|
}
|
|
1066
|
-
export declare class
|
|
1066
|
+
export declare class AxiosExternalServiceResourceClient extends ExternalServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
1067
1067
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1068
1068
|
}
|
|
1069
|
-
export declare class
|
|
1069
|
+
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
1070
1070
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1071
1071
|
}
|
|
1072
|
-
export declare class
|
|
1072
|
+
export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
1073
1073
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1074
1074
|
}
|
|
1075
|
-
export declare class
|
|
1075
|
+
export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
|
|
1076
1076
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1077
1077
|
}
|
|
1078
|
-
export declare class
|
|
1078
|
+
export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
1079
1079
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1080
1080
|
}
|
|
1081
|
-
export declare class
|
|
1081
|
+
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
1082
1082
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1083
1083
|
}
|
|
1084
|
-
export declare class
|
|
1084
|
+
export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
|
|
1085
1085
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1086
1086
|
}
|
|
1087
1087
|
//# sourceMappingURL=restclient.d.ts.map
|