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