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