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