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