@openremote/rest 1.26.0-snapshot.20260630093114 → 1.26.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/umd/index.bundle.js +1 -1
- package/dist/umd/index.bundle.js.map +1 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/index.js.map +1 -1
- package/lib/restclient.d.ts +554 -554
- package/lib/restclient.d.ts.map +1 -1
- package/lib/restclient.js +1 -1
- package/lib/restclient.js.map +1 -1
- package/package.json +2 -2
package/lib/restclient.d.ts
CHANGED
|
@@ -9,353 +9,327 @@ 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 GatewayServiceResourceClient<O> {
|
|
31
39
|
protected httpClient: HttpClient<O>;
|
|
32
40
|
constructor(httpClient: HttpClient<O>);
|
|
33
41
|
/**
|
|
34
|
-
* HTTP POST /
|
|
35
|
-
* Java method: org.openremote.model.
|
|
36
|
-
*/
|
|
37
|
-
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
38
|
-
/**
|
|
39
|
-
* HTTP PUT /dashboard
|
|
40
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
42
|
+
* HTTP POST /gateway/tunnel
|
|
43
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
41
44
|
*/
|
|
42
|
-
|
|
45
|
+
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
43
46
|
/**
|
|
44
|
-
* HTTP
|
|
45
|
-
* Java method: org.openremote.model.
|
|
47
|
+
* HTTP DELETE /gateway/tunnel
|
|
48
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
46
49
|
*/
|
|
47
|
-
|
|
50
|
+
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
48
51
|
/**
|
|
49
|
-
* HTTP
|
|
50
|
-
* Java method: org.openremote.model.
|
|
52
|
+
* HTTP GET /gateway/tunnel/{realm}
|
|
53
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
51
54
|
*/
|
|
52
|
-
|
|
55
|
+
getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
53
56
|
/**
|
|
54
|
-
* HTTP
|
|
55
|
-
* Java method: org.openremote.model.
|
|
57
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
58
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
56
59
|
*/
|
|
57
|
-
|
|
60
|
+
getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
58
61
|
/**
|
|
59
|
-
* HTTP GET /
|
|
60
|
-
* Java method: org.openremote.model.
|
|
62
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
63
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
61
64
|
*/
|
|
62
|
-
|
|
65
|
+
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
63
66
|
}
|
|
64
|
-
export declare class
|
|
67
|
+
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
65
68
|
protected httpClient: HttpClient<O>;
|
|
66
69
|
constructor(httpClient: HttpClient<O>);
|
|
67
70
|
/**
|
|
68
|
-
* HTTP
|
|
69
|
-
* Java method: org.openremote.model.
|
|
71
|
+
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
72
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
70
73
|
*/
|
|
71
|
-
|
|
72
|
-
realm?: string;
|
|
73
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
74
|
+
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
74
75
|
/**
|
|
75
|
-
* HTTP
|
|
76
|
-
* Java method: org.openremote.model.
|
|
76
|
+
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
77
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
77
78
|
*/
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
80
|
+
}
|
|
81
|
+
export declare class ConsoleResourceClient<O> {
|
|
82
|
+
protected httpClient: HttpClient<O>;
|
|
83
|
+
constructor(httpClient: HttpClient<O>);
|
|
81
84
|
/**
|
|
82
|
-
* HTTP
|
|
83
|
-
* Java method: org.openremote.model.
|
|
85
|
+
* HTTP POST /console/register
|
|
86
|
+
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
84
87
|
*/
|
|
85
|
-
|
|
86
|
-
parentId?: string;
|
|
87
|
-
realm?: string;
|
|
88
|
-
}, options?: O): RestResponse<Model.Agent[]>;
|
|
88
|
+
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
89
89
|
}
|
|
90
|
-
export declare class
|
|
90
|
+
export declare class AlarmResourceClient<O> {
|
|
91
91
|
protected httpClient: HttpClient<O>;
|
|
92
92
|
constructor(httpClient: HttpClient<O>);
|
|
93
93
|
/**
|
|
94
|
-
* HTTP
|
|
95
|
-
* Java method: org.openremote.model.
|
|
94
|
+
* HTTP POST /alarm
|
|
95
|
+
* Java method: org.openremote.model.alarm.AlarmResource.createAlarm
|
|
96
96
|
*/
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
from?: number;
|
|
101
|
-
to?: number;
|
|
102
|
-
realmId?: string;
|
|
103
|
-
userId?: string;
|
|
104
|
-
assetId?: string;
|
|
105
|
-
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
97
|
+
createAlarm(alarm: Model.Alarm, queryParams?: {
|
|
98
|
+
assetIds?: string[];
|
|
99
|
+
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
106
100
|
/**
|
|
107
|
-
* HTTP
|
|
108
|
-
* Java method: org.openremote.model.
|
|
101
|
+
* HTTP GET /alarm
|
|
102
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarms
|
|
109
103
|
*/
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
from?: number;
|
|
114
|
-
to?: number;
|
|
115
|
-
realmId?: string;
|
|
116
|
-
userId?: string;
|
|
104
|
+
getAlarms(queryParams?: {
|
|
105
|
+
realm?: string;
|
|
106
|
+
status?: Model.AlarmStatus;
|
|
117
107
|
assetId?: string;
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
* HTTP POST /notification/alert
|
|
121
|
-
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
122
|
-
*/
|
|
123
|
-
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
108
|
+
assigneeId?: string;
|
|
109
|
+
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
124
110
|
/**
|
|
125
|
-
* HTTP DELETE /
|
|
126
|
-
* Java method: org.openremote.model.
|
|
111
|
+
* HTTP DELETE /alarm
|
|
112
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
|
|
127
113
|
*/
|
|
128
|
-
|
|
114
|
+
removeAlarms(ids: number[], options?: O): RestResponse<void>;
|
|
129
115
|
/**
|
|
130
|
-
* HTTP PUT /
|
|
131
|
-
* Java method: org.openremote.model.
|
|
116
|
+
* HTTP PUT /alarm/assets
|
|
117
|
+
* Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
|
|
132
118
|
*/
|
|
133
|
-
|
|
134
|
-
targetId?: string;
|
|
135
|
-
}, options?: O): RestResponse<void>;
|
|
119
|
+
setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
|
|
136
120
|
/**
|
|
137
|
-
* HTTP
|
|
138
|
-
* Java method: org.openremote.model.
|
|
121
|
+
* HTTP GET /alarm/{alarmId}
|
|
122
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarm
|
|
139
123
|
*/
|
|
140
|
-
|
|
141
|
-
targetId?: string;
|
|
142
|
-
}, options?: O): RestResponse<void>;
|
|
143
|
-
}
|
|
144
|
-
export declare class AssetResourceClient<O> {
|
|
145
|
-
protected httpClient: HttpClient<O>;
|
|
146
|
-
constructor(httpClient: HttpClient<O>);
|
|
124
|
+
getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
|
|
147
125
|
/**
|
|
148
|
-
* HTTP
|
|
149
|
-
* Java method: org.openremote.model.
|
|
126
|
+
* HTTP DELETE /alarm/{alarmId}
|
|
127
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
|
|
150
128
|
*/
|
|
151
|
-
|
|
129
|
+
removeAlarm(alarmId: number, options?: O): RestResponse<void>;
|
|
152
130
|
/**
|
|
153
|
-
* HTTP
|
|
154
|
-
* Java method: org.openremote.model.
|
|
131
|
+
* HTTP PUT /alarm/{alarmId}
|
|
132
|
+
* Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
|
|
155
133
|
*/
|
|
156
|
-
|
|
157
|
-
assetId?: string[];
|
|
158
|
-
}, options?: O): RestResponse<void>;
|
|
134
|
+
updateAlarm(alarmId: number, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
|
|
159
135
|
/**
|
|
160
|
-
* HTTP
|
|
161
|
-
* Java method: org.openremote.model.
|
|
136
|
+
* HTTP GET /alarm/{alarmId}/assets
|
|
137
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
|
|
162
138
|
*/
|
|
163
|
-
|
|
139
|
+
getAssetLinks(alarmId: number, queryParams?: {
|
|
140
|
+
realm?: string;
|
|
141
|
+
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
142
|
+
}
|
|
143
|
+
export declare class StatusResourceClient<O> {
|
|
144
|
+
protected httpClient: HttpClient<O>;
|
|
145
|
+
constructor(httpClient: HttpClient<O>);
|
|
164
146
|
/**
|
|
165
|
-
* HTTP
|
|
166
|
-
* Java method: org.openremote.model.
|
|
147
|
+
* HTTP GET /health
|
|
148
|
+
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
167
149
|
*/
|
|
168
|
-
|
|
150
|
+
getHealthStatus(options?: O): RestResponse<{
|
|
151
|
+
[index: string]: any;
|
|
152
|
+
}>;
|
|
169
153
|
/**
|
|
170
|
-
* HTTP
|
|
171
|
-
* Java method: org.openremote.model.
|
|
154
|
+
* HTTP GET /info
|
|
155
|
+
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
172
156
|
*/
|
|
173
|
-
|
|
157
|
+
getInfo(options?: O): RestResponse<{
|
|
158
|
+
[index: string]: any;
|
|
159
|
+
}>;
|
|
160
|
+
}
|
|
161
|
+
export declare class RulesResourceClient<O> {
|
|
162
|
+
protected httpClient: HttpClient<O>;
|
|
163
|
+
constructor(httpClient: HttpClient<O>);
|
|
174
164
|
/**
|
|
175
|
-
* HTTP
|
|
176
|
-
* Java method: org.openremote.model.
|
|
165
|
+
* HTTP POST /rules
|
|
166
|
+
* Java method: org.openremote.model.rules.RulesResource.createGlobalRuleset
|
|
177
167
|
*/
|
|
178
|
-
|
|
179
|
-
assetIds?: string[];
|
|
180
|
-
}, options?: O): RestResponse<void>;
|
|
168
|
+
createGlobalRuleset(ruleset: Model.GlobalRuleset, options?: O): RestResponse<number>;
|
|
181
169
|
/**
|
|
182
|
-
* HTTP GET /
|
|
183
|
-
* Java method: org.openremote.model.
|
|
170
|
+
* HTTP GET /rules
|
|
171
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalRulesets
|
|
184
172
|
*/
|
|
185
|
-
|
|
173
|
+
getGlobalRulesets(queryParams?: {
|
|
174
|
+
language?: Model.RulesetLang[];
|
|
175
|
+
fullyPopulate?: boolean;
|
|
176
|
+
}, options?: O): RestResponse<Model.GlobalRuleset[]>;
|
|
186
177
|
/**
|
|
187
|
-
* HTTP POST /asset
|
|
188
|
-
* Java method: org.openremote.model.
|
|
178
|
+
* HTTP POST /rules/asset
|
|
179
|
+
* Java method: org.openremote.model.rules.RulesResource.createAssetRuleset
|
|
189
180
|
*/
|
|
190
|
-
|
|
181
|
+
createAssetRuleset(ruleset: Model.AssetRuleset, options?: O): RestResponse<number>;
|
|
191
182
|
/**
|
|
192
|
-
* HTTP
|
|
193
|
-
* Java method: org.openremote.model.
|
|
183
|
+
* HTTP GET /rules/asset/for/{assetId}
|
|
184
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetRulesets
|
|
194
185
|
*/
|
|
195
|
-
|
|
186
|
+
getAssetRulesets(assetId: string, queryParams?: {
|
|
187
|
+
language?: Model.RulesetLang[];
|
|
188
|
+
fullyPopulate?: boolean;
|
|
189
|
+
}, options?: O): RestResponse<Model.AssetRuleset[]>;
|
|
196
190
|
/**
|
|
197
|
-
* HTTP
|
|
198
|
-
* Java method: org.openremote.model.
|
|
191
|
+
* HTTP DELETE /rules/asset/{id}
|
|
192
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteAssetRuleset
|
|
199
193
|
*/
|
|
200
|
-
|
|
194
|
+
deleteAssetRuleset(id: number, options?: O): RestResponse<void>;
|
|
201
195
|
/**
|
|
202
|
-
* HTTP
|
|
203
|
-
* Java method: org.openremote.model.
|
|
196
|
+
* HTTP GET /rules/asset/{id}
|
|
197
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetRuleset
|
|
204
198
|
*/
|
|
205
|
-
|
|
199
|
+
getAssetRuleset(id: number, options?: O): RestResponse<Model.AssetRuleset>;
|
|
206
200
|
/**
|
|
207
|
-
* HTTP
|
|
208
|
-
* Java method: org.openremote.model.
|
|
201
|
+
* HTTP PUT /rules/asset/{id}
|
|
202
|
+
* Java method: org.openremote.model.rules.RulesResource.updateAssetRuleset
|
|
209
203
|
*/
|
|
210
|
-
|
|
211
|
-
realm?: string;
|
|
212
|
-
userId?: string;
|
|
213
|
-
assetId?: string;
|
|
214
|
-
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
204
|
+
updateAssetRuleset(id: number, ruleset: Model.AssetRuleset, options?: O): RestResponse<void>;
|
|
215
205
|
/**
|
|
216
|
-
* HTTP
|
|
217
|
-
* Java method: org.openremote.model.
|
|
206
|
+
* HTTP GET /rules/geofences/{assetId}
|
|
207
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetGeofences
|
|
218
208
|
*/
|
|
219
|
-
|
|
209
|
+
getAssetGeofences(assetId: string, options?: O): RestResponse<Model.GeofenceDefinition[]>;
|
|
220
210
|
/**
|
|
221
|
-
* HTTP
|
|
222
|
-
* Java method: org.openremote.model.
|
|
211
|
+
* HTTP GET /rules/info/asset/{assetId}
|
|
212
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetEngineInfo
|
|
223
213
|
*/
|
|
224
|
-
|
|
214
|
+
getAssetEngineInfo(assetId: string, options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
225
215
|
/**
|
|
226
|
-
* HTTP
|
|
227
|
-
* Java method: org.openremote.model.
|
|
216
|
+
* HTTP GET /rules/info/global
|
|
217
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalEngineInfo
|
|
228
218
|
*/
|
|
229
|
-
|
|
219
|
+
getGlobalEngineInfo(options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
230
220
|
/**
|
|
231
|
-
* HTTP GET /
|
|
232
|
-
* Java method: org.openremote.model.
|
|
221
|
+
* HTTP GET /rules/info/realm/{realm}
|
|
222
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmEngineInfo
|
|
233
223
|
*/
|
|
234
|
-
|
|
224
|
+
getRealmEngineInfo(realm: string, options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
235
225
|
/**
|
|
236
|
-
* HTTP
|
|
237
|
-
* Java method: org.openremote.model.
|
|
226
|
+
* HTTP POST /rules/realm
|
|
227
|
+
* Java method: org.openremote.model.rules.RulesResource.createRealmRuleset
|
|
238
228
|
*/
|
|
239
|
-
|
|
229
|
+
createRealmRuleset(ruleset: Model.RealmRuleset, options?: O): RestResponse<number>;
|
|
240
230
|
/**
|
|
241
|
-
* HTTP
|
|
242
|
-
* Java method: org.openremote.model.
|
|
231
|
+
* HTTP GET /rules/realm/for/{realm}
|
|
232
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmRulesets
|
|
243
233
|
*/
|
|
244
|
-
|
|
234
|
+
getRealmRulesets(realm: string, queryParams?: {
|
|
235
|
+
language?: Model.RulesetLang[];
|
|
236
|
+
fullyPopulate?: boolean;
|
|
237
|
+
}, options?: O): RestResponse<Model.RealmRuleset[]>;
|
|
245
238
|
/**
|
|
246
|
-
* HTTP
|
|
247
|
-
* Java method: org.openremote.model.
|
|
239
|
+
* HTTP DELETE /rules/realm/{id}
|
|
240
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteRealmRuleset
|
|
248
241
|
*/
|
|
249
|
-
|
|
242
|
+
deleteRealmRuleset(id: number, options?: O): RestResponse<void>;
|
|
250
243
|
/**
|
|
251
|
-
* HTTP
|
|
252
|
-
* Java method: org.openremote.model.
|
|
244
|
+
* HTTP GET /rules/realm/{id}
|
|
245
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmRuleset
|
|
253
246
|
*/
|
|
254
|
-
|
|
255
|
-
assetIds?: string[];
|
|
256
|
-
}, options?: O): RestResponse<void>;
|
|
257
|
-
}
|
|
258
|
-
export declare class ConfigurationResourceClient<O> {
|
|
259
|
-
protected httpClient: HttpClient<O>;
|
|
260
|
-
constructor(httpClient: HttpClient<O>);
|
|
247
|
+
getRealmRuleset(id: number, options?: O): RestResponse<Model.RealmRuleset>;
|
|
261
248
|
/**
|
|
262
|
-
* HTTP
|
|
263
|
-
* Java method: org.openremote.model.
|
|
249
|
+
* HTTP PUT /rules/realm/{id}
|
|
250
|
+
* Java method: org.openremote.model.rules.RulesResource.updateRealmRuleset
|
|
264
251
|
*/
|
|
265
|
-
|
|
252
|
+
updateRealmRuleset(id: number, ruleset: Model.RealmRuleset, options?: O): RestResponse<void>;
|
|
266
253
|
/**
|
|
267
|
-
* HTTP
|
|
268
|
-
* Java method: org.openremote.model.
|
|
254
|
+
* HTTP DELETE /rules/{id}
|
|
255
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteGlobalRuleset
|
|
269
256
|
*/
|
|
270
|
-
|
|
257
|
+
deleteGlobalRuleset(id: number, options?: O): RestResponse<void>;
|
|
271
258
|
/**
|
|
272
|
-
* HTTP
|
|
273
|
-
* Java method: org.openremote.model.
|
|
274
|
-
*/
|
|
275
|
-
|
|
276
|
-
path?: string;
|
|
277
|
-
}, options?: O): RestResponse<string>;
|
|
259
|
+
* HTTP GET /rules/{id}
|
|
260
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalRuleset
|
|
261
|
+
*/
|
|
262
|
+
getGlobalRuleset(id: number, options?: O): RestResponse<Model.GlobalRuleset>;
|
|
278
263
|
/**
|
|
279
|
-
* HTTP
|
|
280
|
-
* Java method: org.openremote.model.
|
|
264
|
+
* HTTP PUT /rules/{id}
|
|
265
|
+
* Java method: org.openremote.model.rules.RulesResource.updateGlobalRuleset
|
|
281
266
|
*/
|
|
282
|
-
|
|
267
|
+
updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
|
|
283
268
|
}
|
|
284
|
-
export declare class
|
|
269
|
+
export declare class FlowResourceClient<O> {
|
|
285
270
|
protected httpClient: HttpClient<O>;
|
|
286
271
|
constructor(httpClient: HttpClient<O>);
|
|
287
272
|
/**
|
|
288
|
-
* HTTP GET /
|
|
289
|
-
* Java method: org.openremote.model.
|
|
290
|
-
*/
|
|
291
|
-
getAssetDescriptors(queryParams?: {
|
|
292
|
-
parentId?: string;
|
|
293
|
-
parentType?: string;
|
|
294
|
-
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
295
|
-
/**
|
|
296
|
-
* HTTP GET /model/assetInfo/{assetType}
|
|
297
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
273
|
+
* HTTP GET /flow
|
|
274
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
298
275
|
*/
|
|
299
|
-
|
|
300
|
-
parentId?: string;
|
|
301
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
276
|
+
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
302
277
|
/**
|
|
303
|
-
* HTTP GET /
|
|
304
|
-
* Java method: org.openremote.model.
|
|
278
|
+
* HTTP GET /flow/{name}
|
|
279
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
305
280
|
*/
|
|
306
|
-
|
|
307
|
-
parentId?: string;
|
|
308
|
-
parentType?: string;
|
|
309
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
281
|
+
getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
|
|
310
282
|
/**
|
|
311
|
-
* HTTP GET /
|
|
312
|
-
* Java method: org.openremote.model.
|
|
283
|
+
* HTTP GET /flow/{type}
|
|
284
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
313
285
|
*/
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
286
|
+
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
287
|
+
}
|
|
288
|
+
export declare class MapResourceClient<O> {
|
|
289
|
+
protected httpClient: HttpClient<O>;
|
|
290
|
+
constructor(httpClient: HttpClient<O>);
|
|
317
291
|
/**
|
|
318
|
-
* HTTP GET /
|
|
319
|
-
* Java method: org.openremote.model.
|
|
292
|
+
* HTTP GET /map
|
|
293
|
+
* Java method: org.openremote.model.map.MapResource.getSettings
|
|
320
294
|
*/
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
}, options?: O): RestResponse<{
|
|
324
|
-
[index: string]: Model.MetaItemDescriptor;
|
|
295
|
+
getSettings(options?: O): RestResponse<{
|
|
296
|
+
[id: string]: unknown;
|
|
325
297
|
}>;
|
|
326
298
|
/**
|
|
327
|
-
* HTTP
|
|
328
|
-
* Java method: org.openremote.model.
|
|
299
|
+
* HTTP PUT /map
|
|
300
|
+
* Java method: org.openremote.model.map.MapResource.saveSettings
|
|
329
301
|
*/
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
}, options?: O): RestResponse<{
|
|
333
|
-
[index: string]: Model.ValueDescriptor;
|
|
302
|
+
saveSettings(mapConfig: Model.MapConfig, options?: O): RestResponse<{
|
|
303
|
+
[id: string]: unknown;
|
|
334
304
|
}>;
|
|
335
|
-
}
|
|
336
|
-
export declare class ProvisioningResourceClient<O> {
|
|
337
|
-
protected httpClient: HttpClient<O>;
|
|
338
|
-
constructor(httpClient: HttpClient<O>);
|
|
339
305
|
/**
|
|
340
|
-
* HTTP
|
|
341
|
-
* Java method: org.openremote.model.
|
|
306
|
+
* HTTP DELETE /map/deleteMap
|
|
307
|
+
* Java method: org.openremote.model.map.MapResource.deleteMap
|
|
342
308
|
*/
|
|
343
|
-
|
|
309
|
+
deleteMap(options?: O): RestResponse<{
|
|
310
|
+
[id: string]: unknown;
|
|
311
|
+
}>;
|
|
344
312
|
/**
|
|
345
|
-
* HTTP GET /
|
|
346
|
-
* Java method: org.openremote.model.
|
|
313
|
+
* HTTP GET /map/getCustomMapInfo
|
|
314
|
+
* Java method: org.openremote.model.map.MapResource.getCustomMapInfo
|
|
347
315
|
*/
|
|
348
|
-
|
|
316
|
+
getCustomMapInfo(options?: O): RestResponse<{
|
|
317
|
+
[id: string]: unknown;
|
|
318
|
+
}>;
|
|
349
319
|
/**
|
|
350
|
-
* HTTP
|
|
351
|
-
* Java method: org.openremote.model.
|
|
320
|
+
* HTTP GET /map/tile/{zoom}/{column}/{row}
|
|
321
|
+
* Java method: org.openremote.model.map.MapResource.getTile
|
|
352
322
|
*/
|
|
353
|
-
|
|
323
|
+
getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
|
|
354
324
|
/**
|
|
355
|
-
* HTTP
|
|
356
|
-
* Java method: org.openremote.model.
|
|
325
|
+
* HTTP POST /map/upload
|
|
326
|
+
* Java method: org.openremote.model.map.MapResource.uploadMap
|
|
357
327
|
*/
|
|
358
|
-
|
|
328
|
+
uploadMap(queryParams?: {
|
|
329
|
+
filename?: string;
|
|
330
|
+
}, options?: O): RestResponse<{
|
|
331
|
+
[id: string]: unknown;
|
|
332
|
+
}>;
|
|
359
333
|
}
|
|
360
334
|
export declare class AssetDatapointResourceClient<O> {
|
|
361
335
|
protected httpClient: HttpClient<O>;
|
|
@@ -384,37 +358,60 @@ export declare class AssetDatapointResourceClient<O> {
|
|
|
384
358
|
*/
|
|
385
359
|
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
386
360
|
}
|
|
387
|
-
export declare class
|
|
361
|
+
export declare class DashboardResourceClient<O> {
|
|
388
362
|
protected httpClient: HttpClient<O>;
|
|
389
363
|
constructor(httpClient: HttpClient<O>);
|
|
390
364
|
/**
|
|
391
|
-
* HTTP
|
|
392
|
-
* Java method: org.openremote.model.
|
|
365
|
+
* HTTP POST /dashboard
|
|
366
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
393
367
|
*/
|
|
394
|
-
|
|
368
|
+
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
395
369
|
/**
|
|
396
|
-
* HTTP PUT /
|
|
397
|
-
* Java method: org.openremote.model.
|
|
370
|
+
* HTTP PUT /dashboard
|
|
371
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
398
372
|
*/
|
|
399
|
-
|
|
373
|
+
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
400
374
|
/**
|
|
401
|
-
* HTTP
|
|
402
|
-
* Java method: org.openremote.model.
|
|
375
|
+
* HTTP GET /dashboard/all/{realm}
|
|
376
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
403
377
|
*/
|
|
404
|
-
|
|
378
|
+
getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
|
|
405
379
|
/**
|
|
406
|
-
* HTTP
|
|
407
|
-
* Java method: org.openremote.model.
|
|
380
|
+
* HTTP POST /dashboard/query
|
|
381
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
408
382
|
*/
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
383
|
+
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
384
|
+
/**
|
|
385
|
+
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
386
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
387
|
+
*/
|
|
388
|
+
delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
|
|
389
|
+
/**
|
|
390
|
+
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
391
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
392
|
+
*/
|
|
393
|
+
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
394
|
+
}
|
|
395
|
+
export declare class AppResourceClient<O> {
|
|
396
|
+
protected httpClient: HttpClient<O>;
|
|
397
|
+
constructor(httpClient: HttpClient<O>);
|
|
398
|
+
/**
|
|
399
|
+
* HTTP GET /apps
|
|
400
|
+
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
401
|
+
*/
|
|
402
|
+
getApps(options?: O): RestResponse<string[]>;
|
|
403
|
+
/**
|
|
404
|
+
* HTTP GET /apps/consoleConfig
|
|
405
|
+
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
406
|
+
*/
|
|
407
|
+
getConsoleConfig(options?: O): RestResponse<any>;
|
|
408
|
+
/**
|
|
409
|
+
* HTTP GET /apps/info
|
|
410
|
+
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
411
|
+
*/
|
|
412
|
+
getAppInfos(options?: O): RestResponse<{
|
|
413
|
+
[index: string]: any;
|
|
414
|
+
}>;
|
|
418
415
|
}
|
|
419
416
|
export declare class UserResourceClient<O> {
|
|
420
417
|
protected httpClient: HttpClient<O>;
|
|
@@ -540,88 +537,93 @@ export declare class UserResourceClient<O> {
|
|
|
540
537
|
*/
|
|
541
538
|
get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
|
|
542
539
|
}
|
|
543
|
-
export declare class
|
|
540
|
+
export declare class RealmResourceClient<O> {
|
|
544
541
|
protected httpClient: HttpClient<O>;
|
|
545
542
|
constructor(httpClient: HttpClient<O>);
|
|
546
543
|
/**
|
|
547
|
-
* HTTP POST /
|
|
548
|
-
* Java method: org.openremote.model.
|
|
544
|
+
* HTTP POST /realm
|
|
545
|
+
* Java method: org.openremote.model.security.RealmResource.create
|
|
549
546
|
*/
|
|
550
|
-
|
|
551
|
-
assetIds?: string[];
|
|
552
|
-
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
547
|
+
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
553
548
|
/**
|
|
554
|
-
* HTTP GET /
|
|
555
|
-
* Java method: org.openremote.model.
|
|
549
|
+
* HTTP GET /realm
|
|
550
|
+
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
556
551
|
*/
|
|
557
|
-
|
|
558
|
-
realm?: string;
|
|
559
|
-
status?: Model.AlarmStatus;
|
|
560
|
-
assetId?: string;
|
|
561
|
-
assigneeId?: string;
|
|
562
|
-
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
552
|
+
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
563
553
|
/**
|
|
564
|
-
* HTTP
|
|
565
|
-
* Java method: org.openremote.model.
|
|
554
|
+
* HTTP GET /realm/accessible
|
|
555
|
+
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
566
556
|
*/
|
|
567
|
-
|
|
557
|
+
getAccessible(options?: O): RestResponse<Model.Realm[]>;
|
|
568
558
|
/**
|
|
569
|
-
* HTTP
|
|
570
|
-
* Java method: org.openremote.model.
|
|
559
|
+
* HTTP DELETE /realm/{name}
|
|
560
|
+
* Java method: org.openremote.model.security.RealmResource.delete
|
|
571
561
|
*/
|
|
572
|
-
|
|
562
|
+
delete(name: string, options?: O): RestResponse<void>;
|
|
573
563
|
/**
|
|
574
|
-
* HTTP GET /
|
|
575
|
-
* Java method: org.openremote.model.
|
|
564
|
+
* HTTP GET /realm/{name}
|
|
565
|
+
* Java method: org.openremote.model.security.RealmResource.get
|
|
576
566
|
*/
|
|
577
|
-
|
|
567
|
+
get(name: string, options?: O): RestResponse<Model.Realm>;
|
|
578
568
|
/**
|
|
579
|
-
* HTTP
|
|
580
|
-
* Java method: org.openremote.model.
|
|
569
|
+
* HTTP PUT /realm/{name}
|
|
570
|
+
* Java method: org.openremote.model.security.RealmResource.update
|
|
581
571
|
*/
|
|
582
|
-
|
|
572
|
+
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
573
|
+
}
|
|
574
|
+
export declare class NotificationResourceClient<O> {
|
|
575
|
+
protected httpClient: HttpClient<O>;
|
|
576
|
+
constructor(httpClient: HttpClient<O>);
|
|
583
577
|
/**
|
|
584
|
-
* HTTP
|
|
585
|
-
* Java method: org.openremote.model.
|
|
578
|
+
* HTTP GET /notification
|
|
579
|
+
* Java method: org.openremote.model.notification.NotificationResource.getNotifications
|
|
586
580
|
*/
|
|
587
|
-
|
|
581
|
+
getNotifications(queryParams?: {
|
|
582
|
+
id?: number;
|
|
583
|
+
type?: string;
|
|
584
|
+
from?: number;
|
|
585
|
+
to?: number;
|
|
586
|
+
realmId?: string;
|
|
587
|
+
userId?: string;
|
|
588
|
+
assetId?: string;
|
|
589
|
+
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
588
590
|
/**
|
|
589
|
-
* HTTP
|
|
590
|
-
* Java method: org.openremote.model.
|
|
591
|
+
* HTTP DELETE /notification
|
|
592
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
591
593
|
*/
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
594
|
+
removeNotifications(queryParams?: {
|
|
595
|
+
id?: number;
|
|
596
|
+
type?: string;
|
|
597
|
+
from?: number;
|
|
598
|
+
to?: number;
|
|
599
|
+
realmId?: string;
|
|
600
|
+
userId?: string;
|
|
601
|
+
assetId?: string;
|
|
602
|
+
}, options?: O): RestResponse<void>;
|
|
599
603
|
/**
|
|
600
|
-
* HTTP
|
|
601
|
-
* Java method: org.openremote.model.
|
|
604
|
+
* HTTP POST /notification/alert
|
|
605
|
+
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
602
606
|
*/
|
|
603
|
-
|
|
607
|
+
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
604
608
|
/**
|
|
605
|
-
* HTTP
|
|
606
|
-
* Java method: org.openremote.model.
|
|
609
|
+
* HTTP DELETE /notification/{notificationId}
|
|
610
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
607
611
|
*/
|
|
608
|
-
|
|
612
|
+
removeNotification(notificationId: number, options?: O): RestResponse<void>;
|
|
609
613
|
/**
|
|
610
|
-
* HTTP
|
|
611
|
-
* Java method: org.openremote.model.
|
|
614
|
+
* HTTP PUT /notification/{notificationId}/acknowledged
|
|
615
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
|
|
612
616
|
*/
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
}>;
|
|
616
|
-
}
|
|
617
|
-
export declare class ConsoleResourceClient<O> {
|
|
618
|
-
protected httpClient: HttpClient<O>;
|
|
619
|
-
constructor(httpClient: HttpClient<O>);
|
|
617
|
+
notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
|
|
618
|
+
targetId?: string;
|
|
619
|
+
}, options?: O): RestResponse<void>;
|
|
620
620
|
/**
|
|
621
|
-
* HTTP
|
|
622
|
-
* Java method: org.openremote.model.
|
|
621
|
+
* HTTP PUT /notification/{notificationId}/delivered
|
|
622
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
|
|
623
623
|
*/
|
|
624
|
-
|
|
624
|
+
notificationDelivered(notificationId: number, queryParams?: {
|
|
625
|
+
targetId?: string;
|
|
626
|
+
}, options?: O): RestResponse<void>;
|
|
625
627
|
}
|
|
626
628
|
export declare class ExternalServiceResourceClient<O> {
|
|
627
629
|
protected httpClient: HttpClient<O>;
|
|
@@ -678,6 +680,62 @@ export declare class ExternalServiceResourceClient<O> {
|
|
|
678
680
|
*/
|
|
679
681
|
heartbeat(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
|
|
680
682
|
}
|
|
683
|
+
export declare class SyslogResourceClient<O> {
|
|
684
|
+
protected httpClient: HttpClient<O>;
|
|
685
|
+
constructor(httpClient: HttpClient<O>);
|
|
686
|
+
/**
|
|
687
|
+
* HTTP GET /syslog/config
|
|
688
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getConfig
|
|
689
|
+
*/
|
|
690
|
+
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
691
|
+
/**
|
|
692
|
+
* HTTP PUT /syslog/config
|
|
693
|
+
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
694
|
+
*/
|
|
695
|
+
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
696
|
+
/**
|
|
697
|
+
* HTTP DELETE /syslog/event
|
|
698
|
+
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
699
|
+
*/
|
|
700
|
+
clearEvents(options?: O): RestResponse<void>;
|
|
701
|
+
/**
|
|
702
|
+
* HTTP GET /syslog/event
|
|
703
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getEvents
|
|
704
|
+
*/
|
|
705
|
+
getEvents(queryParams?: {
|
|
706
|
+
level?: Model.SyslogLevel;
|
|
707
|
+
per_page?: number;
|
|
708
|
+
page?: number;
|
|
709
|
+
from?: number;
|
|
710
|
+
to?: number;
|
|
711
|
+
category?: Model.SyslogCategory[];
|
|
712
|
+
subCategory?: string[];
|
|
713
|
+
}, options?: O): RestResponse<any>;
|
|
714
|
+
}
|
|
715
|
+
export declare class ProvisioningResourceClient<O> {
|
|
716
|
+
protected httpClient: HttpClient<O>;
|
|
717
|
+
constructor(httpClient: HttpClient<O>);
|
|
718
|
+
/**
|
|
719
|
+
* HTTP POST /provisioning
|
|
720
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
|
|
721
|
+
*/
|
|
722
|
+
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
723
|
+
/**
|
|
724
|
+
* HTTP GET /provisioning
|
|
725
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
726
|
+
*/
|
|
727
|
+
getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
|
|
728
|
+
/**
|
|
729
|
+
* HTTP DELETE /provisioning/{id}
|
|
730
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
731
|
+
*/
|
|
732
|
+
deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
|
|
733
|
+
/**
|
|
734
|
+
* HTTP PUT /provisioning/{id}
|
|
735
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
|
|
736
|
+
*/
|
|
737
|
+
updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
738
|
+
}
|
|
681
739
|
export declare class GatewayClientResourceClient<O> {
|
|
682
740
|
protected httpClient: HttpClient<O>;
|
|
683
741
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -714,303 +772,245 @@ export declare class GatewayClientResourceClient<O> {
|
|
|
714
772
|
*/
|
|
715
773
|
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
716
774
|
}
|
|
717
|
-
export declare class
|
|
775
|
+
export declare class AgentResourceClient<O> {
|
|
718
776
|
protected httpClient: HttpClient<O>;
|
|
719
777
|
constructor(httpClient: HttpClient<O>);
|
|
720
778
|
/**
|
|
721
|
-
* HTTP
|
|
722
|
-
* Java method: org.openremote.model.
|
|
723
|
-
*/
|
|
724
|
-
createGlobalRuleset(ruleset: Model.GlobalRuleset, options?: O): RestResponse<number>;
|
|
725
|
-
/**
|
|
726
|
-
* HTTP GET /rules
|
|
727
|
-
* Java method: org.openremote.model.rules.RulesResource.getGlobalRulesets
|
|
728
|
-
*/
|
|
729
|
-
getGlobalRulesets(queryParams?: {
|
|
730
|
-
language?: Model.RulesetLang[];
|
|
731
|
-
fullyPopulate?: boolean;
|
|
732
|
-
}, options?: O): RestResponse<Model.GlobalRuleset[]>;
|
|
733
|
-
/**
|
|
734
|
-
* HTTP POST /rules/asset
|
|
735
|
-
* Java method: org.openremote.model.rules.RulesResource.createAssetRuleset
|
|
736
|
-
*/
|
|
737
|
-
createAssetRuleset(ruleset: Model.AssetRuleset, options?: O): RestResponse<number>;
|
|
738
|
-
/**
|
|
739
|
-
* HTTP GET /rules/asset/for/{assetId}
|
|
740
|
-
* Java method: org.openremote.model.rules.RulesResource.getAssetRulesets
|
|
741
|
-
*/
|
|
742
|
-
getAssetRulesets(assetId: string, queryParams?: {
|
|
743
|
-
language?: Model.RulesetLang[];
|
|
744
|
-
fullyPopulate?: boolean;
|
|
745
|
-
}, options?: O): RestResponse<Model.AssetRuleset[]>;
|
|
746
|
-
/**
|
|
747
|
-
* HTTP DELETE /rules/asset/{id}
|
|
748
|
-
* Java method: org.openremote.model.rules.RulesResource.deleteAssetRuleset
|
|
749
|
-
*/
|
|
750
|
-
deleteAssetRuleset(id: number, options?: O): RestResponse<void>;
|
|
751
|
-
/**
|
|
752
|
-
* HTTP GET /rules/asset/{id}
|
|
753
|
-
* Java method: org.openremote.model.rules.RulesResource.getAssetRuleset
|
|
754
|
-
*/
|
|
755
|
-
getAssetRuleset(id: number, options?: O): RestResponse<Model.AssetRuleset>;
|
|
756
|
-
/**
|
|
757
|
-
* HTTP PUT /rules/asset/{id}
|
|
758
|
-
* Java method: org.openremote.model.rules.RulesResource.updateAssetRuleset
|
|
759
|
-
*/
|
|
760
|
-
updateAssetRuleset(id: number, ruleset: Model.AssetRuleset, options?: O): RestResponse<void>;
|
|
761
|
-
/**
|
|
762
|
-
* HTTP GET /rules/geofences/{assetId}
|
|
763
|
-
* Java method: org.openremote.model.rules.RulesResource.getAssetGeofences
|
|
764
|
-
*/
|
|
765
|
-
getAssetGeofences(assetId: string, options?: O): RestResponse<Model.GeofenceDefinition[]>;
|
|
766
|
-
/**
|
|
767
|
-
* HTTP GET /rules/info/asset/{assetId}
|
|
768
|
-
* Java method: org.openremote.model.rules.RulesResource.getAssetEngineInfo
|
|
769
|
-
*/
|
|
770
|
-
getAssetEngineInfo(assetId: string, options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
771
|
-
/**
|
|
772
|
-
* HTTP GET /rules/info/global
|
|
773
|
-
* Java method: org.openremote.model.rules.RulesResource.getGlobalEngineInfo
|
|
774
|
-
*/
|
|
775
|
-
getGlobalEngineInfo(options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
776
|
-
/**
|
|
777
|
-
* HTTP GET /rules/info/realm/{realm}
|
|
778
|
-
* Java method: org.openremote.model.rules.RulesResource.getRealmEngineInfo
|
|
779
|
+
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
780
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
779
781
|
*/
|
|
780
|
-
|
|
782
|
+
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
783
|
+
realm?: string;
|
|
784
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
781
785
|
/**
|
|
782
|
-
* HTTP POST /
|
|
783
|
-
* Java method: org.openremote.model.
|
|
786
|
+
* HTTP POST /agent/assetImport/{agentId}
|
|
787
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
784
788
|
*/
|
|
785
|
-
|
|
789
|
+
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
790
|
+
realm?: string;
|
|
791
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
786
792
|
/**
|
|
787
|
-
* HTTP GET /
|
|
788
|
-
* Java method: org.openremote.model.
|
|
793
|
+
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
794
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
789
795
|
*/
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
}, options?: O): RestResponse<Model.
|
|
796
|
+
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
797
|
+
parentId?: string;
|
|
798
|
+
realm?: string;
|
|
799
|
+
}, options?: O): RestResponse<Model.Agent[]>;
|
|
800
|
+
}
|
|
801
|
+
export declare class AssetModelResourceClient<O> {
|
|
802
|
+
protected httpClient: HttpClient<O>;
|
|
803
|
+
constructor(httpClient: HttpClient<O>);
|
|
794
804
|
/**
|
|
795
|
-
* HTTP
|
|
796
|
-
* Java method: org.openremote.model.
|
|
805
|
+
* HTTP GET /model/assetDescriptors
|
|
806
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
|
|
797
807
|
*/
|
|
798
|
-
|
|
808
|
+
getAssetDescriptors(queryParams?: {
|
|
809
|
+
parentId?: string;
|
|
810
|
+
parentType?: string;
|
|
811
|
+
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
799
812
|
/**
|
|
800
|
-
* HTTP GET /
|
|
801
|
-
* Java method: org.openremote.model.
|
|
813
|
+
* HTTP GET /model/assetInfo/{assetType}
|
|
814
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
802
815
|
*/
|
|
803
|
-
|
|
816
|
+
getAssetInfo(assetType: string, queryParams?: {
|
|
817
|
+
parentId?: string;
|
|
818
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
804
819
|
/**
|
|
805
|
-
* HTTP
|
|
806
|
-
* Java method: org.openremote.model.
|
|
820
|
+
* HTTP GET /model/assetInfos
|
|
821
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
|
|
807
822
|
*/
|
|
808
|
-
|
|
823
|
+
getAssetInfos(queryParams?: {
|
|
824
|
+
parentId?: string;
|
|
825
|
+
parentType?: string;
|
|
826
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
809
827
|
/**
|
|
810
|
-
* HTTP
|
|
811
|
-
* Java method: org.openremote.model.
|
|
828
|
+
* HTTP GET /model/getValueDescriptorSchema
|
|
829
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptorSchema
|
|
812
830
|
*/
|
|
813
|
-
|
|
831
|
+
getValueDescriptorSchema(queryParams?: {
|
|
832
|
+
name?: string;
|
|
833
|
+
}, options?: O): RestResponse<any>;
|
|
814
834
|
/**
|
|
815
|
-
* HTTP GET /
|
|
816
|
-
* Java method: org.openremote.model.
|
|
835
|
+
* HTTP GET /model/metaItemDescriptors
|
|
836
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
|
|
817
837
|
*/
|
|
818
|
-
|
|
838
|
+
getMetaItemDescriptors(queryParams?: {
|
|
839
|
+
parentId?: string;
|
|
840
|
+
}, options?: O): RestResponse<{
|
|
841
|
+
[index: string]: Model.MetaItemDescriptor;
|
|
842
|
+
}>;
|
|
819
843
|
/**
|
|
820
|
-
* HTTP
|
|
821
|
-
* Java method: org.openremote.model.
|
|
844
|
+
* HTTP GET /model/valueDescriptors
|
|
845
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
|
|
822
846
|
*/
|
|
823
|
-
|
|
847
|
+
getValueDescriptors(queryParams?: {
|
|
848
|
+
parentId?: string;
|
|
849
|
+
}, options?: O): RestResponse<{
|
|
850
|
+
[index: string]: Model.ValueDescriptor;
|
|
851
|
+
}>;
|
|
824
852
|
}
|
|
825
|
-
export declare class
|
|
853
|
+
export declare class AssetResourceClient<O> {
|
|
826
854
|
protected httpClient: HttpClient<O>;
|
|
827
855
|
constructor(httpClient: HttpClient<O>);
|
|
828
856
|
/**
|
|
829
|
-
* HTTP POST /
|
|
830
|
-
* Java method: org.openremote.model.
|
|
831
|
-
*/
|
|
832
|
-
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
833
|
-
/**
|
|
834
|
-
* HTTP GET /realm
|
|
835
|
-
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
836
|
-
*/
|
|
837
|
-
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
838
|
-
/**
|
|
839
|
-
* HTTP GET /realm/accessible
|
|
840
|
-
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
857
|
+
* HTTP POST /asset
|
|
858
|
+
* Java method: org.openremote.model.asset.AssetResource.create
|
|
841
859
|
*/
|
|
842
|
-
|
|
860
|
+
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
843
861
|
/**
|
|
844
|
-
* HTTP DELETE /
|
|
845
|
-
* Java method: org.openremote.model.
|
|
862
|
+
* HTTP DELETE /asset
|
|
863
|
+
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
846
864
|
*/
|
|
847
|
-
delete(
|
|
865
|
+
delete(queryParams?: {
|
|
866
|
+
assetId?: string[];
|
|
867
|
+
}, options?: O): RestResponse<void>;
|
|
848
868
|
/**
|
|
849
|
-
* HTTP
|
|
850
|
-
* Java method: org.openremote.model.
|
|
869
|
+
* HTTP PUT /asset/attributes
|
|
870
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
851
871
|
*/
|
|
852
|
-
|
|
872
|
+
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
853
873
|
/**
|
|
854
|
-
* HTTP PUT /
|
|
855
|
-
* Java method: org.openremote.model.
|
|
874
|
+
* HTTP PUT /asset/attributes/timestamp
|
|
875
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
856
876
|
*/
|
|
857
|
-
|
|
858
|
-
}
|
|
859
|
-
export declare class GatewayServiceResourceClient<O> {
|
|
860
|
-
protected httpClient: HttpClient<O>;
|
|
861
|
-
constructor(httpClient: HttpClient<O>);
|
|
877
|
+
writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
862
878
|
/**
|
|
863
|
-
* HTTP POST /
|
|
864
|
-
* Java method: org.openremote.model.
|
|
879
|
+
* HTTP POST /asset/count
|
|
880
|
+
* Java method: org.openremote.model.asset.AssetResource.queryCount
|
|
865
881
|
*/
|
|
866
|
-
|
|
882
|
+
queryCount(query: Model.AssetQuery, options?: O): RestResponse<number>;
|
|
867
883
|
/**
|
|
868
|
-
* HTTP DELETE /
|
|
869
|
-
* Java method: org.openremote.model.
|
|
884
|
+
* HTTP DELETE /asset/parent
|
|
885
|
+
* Java method: org.openremote.model.asset.AssetResource.updateNoneParent
|
|
870
886
|
*/
|
|
871
|
-
|
|
887
|
+
updateNoneParent(queryParams?: {
|
|
888
|
+
assetIds?: string[];
|
|
889
|
+
}, options?: O): RestResponse<void>;
|
|
872
890
|
/**
|
|
873
|
-
* HTTP GET /
|
|
874
|
-
* Java method: org.openremote.model.
|
|
891
|
+
* HTTP GET /asset/partial/{assetId}
|
|
892
|
+
* Java method: org.openremote.model.asset.AssetResource.getPartial
|
|
875
893
|
*/
|
|
876
|
-
|
|
894
|
+
getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
877
895
|
/**
|
|
878
|
-
* HTTP
|
|
879
|
-
* Java method: org.openremote.model.
|
|
896
|
+
* HTTP POST /asset/query
|
|
897
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
880
898
|
*/
|
|
881
|
-
|
|
899
|
+
queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
|
|
882
900
|
/**
|
|
883
|
-
* HTTP
|
|
884
|
-
* Java method: org.openremote.model.
|
|
901
|
+
* HTTP POST /asset/tree
|
|
902
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssetTree
|
|
885
903
|
*/
|
|
886
|
-
|
|
887
|
-
}
|
|
888
|
-
export declare class MapResourceClient<O> {
|
|
889
|
-
protected httpClient: HttpClient<O>;
|
|
890
|
-
constructor(httpClient: HttpClient<O>);
|
|
904
|
+
queryAssetTree(query: Model.AssetQuery, options?: O): RestResponse<Model.AssetTree>;
|
|
891
905
|
/**
|
|
892
|
-
* HTTP GET /
|
|
893
|
-
* Java method: org.openremote.model.
|
|
906
|
+
* HTTP GET /asset/user/current
|
|
907
|
+
* Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
|
|
894
908
|
*/
|
|
895
|
-
|
|
896
|
-
[id: string]: unknown;
|
|
897
|
-
}>;
|
|
909
|
+
getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
|
|
898
910
|
/**
|
|
899
|
-
* HTTP
|
|
900
|
-
* Java method: org.openremote.model.
|
|
911
|
+
* HTTP POST /asset/user/link
|
|
912
|
+
* Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
|
|
901
913
|
*/
|
|
902
|
-
|
|
903
|
-
[id: string]: unknown;
|
|
904
|
-
}>;
|
|
914
|
+
createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
905
915
|
/**
|
|
906
|
-
* HTTP
|
|
907
|
-
* Java method: org.openremote.model.
|
|
916
|
+
* HTTP GET /asset/user/link
|
|
917
|
+
* Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
|
|
908
918
|
*/
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
919
|
+
getUserAssetLinks(queryParams?: {
|
|
920
|
+
realm?: string;
|
|
921
|
+
userId?: string;
|
|
922
|
+
assetId?: string;
|
|
923
|
+
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
912
924
|
/**
|
|
913
|
-
* HTTP
|
|
914
|
-
* Java method: org.openremote.model.
|
|
925
|
+
* HTTP POST /asset/user/link/delete
|
|
926
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
|
|
915
927
|
*/
|
|
916
|
-
|
|
917
|
-
[id: string]: unknown;
|
|
918
|
-
}>;
|
|
928
|
+
deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
919
929
|
/**
|
|
920
|
-
* HTTP
|
|
921
|
-
* Java method: org.openremote.model.
|
|
930
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}
|
|
931
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
|
|
922
932
|
*/
|
|
923
|
-
|
|
933
|
+
deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
924
934
|
/**
|
|
925
|
-
* HTTP
|
|
926
|
-
* Java method: org.openremote.model.
|
|
935
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
|
|
936
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
|
|
927
937
|
*/
|
|
928
|
-
|
|
929
|
-
filename?: string;
|
|
930
|
-
}, options?: O): RestResponse<{
|
|
931
|
-
[id: string]: unknown;
|
|
932
|
-
}>;
|
|
933
|
-
}
|
|
934
|
-
export declare class FlowResourceClient<O> {
|
|
935
|
-
protected httpClient: HttpClient<O>;
|
|
936
|
-
constructor(httpClient: HttpClient<O>);
|
|
938
|
+
deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
|
|
937
939
|
/**
|
|
938
|
-
* HTTP GET /
|
|
939
|
-
* Java method: org.openremote.model.
|
|
940
|
+
* HTTP GET /asset/{assetId}
|
|
941
|
+
* Java method: org.openremote.model.asset.AssetResource.get
|
|
940
942
|
*/
|
|
941
|
-
|
|
943
|
+
get(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
942
944
|
/**
|
|
943
|
-
* HTTP
|
|
944
|
-
* Java method: org.openremote.model.
|
|
945
|
+
* HTTP PUT /asset/{assetId}
|
|
946
|
+
* Java method: org.openremote.model.asset.AssetResource.update
|
|
945
947
|
*/
|
|
946
|
-
|
|
948
|
+
update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
947
949
|
/**
|
|
948
|
-
* HTTP
|
|
949
|
-
* Java method: org.openremote.model.
|
|
950
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}
|
|
951
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
950
952
|
*/
|
|
951
|
-
|
|
952
|
-
}
|
|
953
|
-
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
954
|
-
protected httpClient: HttpClient<O>;
|
|
955
|
-
constructor(httpClient: HttpClient<O>);
|
|
953
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
956
954
|
/**
|
|
957
|
-
* HTTP
|
|
958
|
-
* Java method: org.openremote.model.
|
|
955
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
|
|
956
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
959
957
|
*/
|
|
960
|
-
|
|
958
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
961
959
|
/**
|
|
962
|
-
* HTTP PUT /asset/
|
|
963
|
-
* Java method: org.openremote.model.
|
|
960
|
+
* HTTP PUT /asset/{parentAssetId}/child
|
|
961
|
+
* Java method: org.openremote.model.asset.AssetResource.updateParent
|
|
964
962
|
*/
|
|
965
|
-
|
|
963
|
+
updateParent(parentAssetId: string, queryParams?: {
|
|
964
|
+
assetIds?: string[];
|
|
965
|
+
}, options?: O): RestResponse<void>;
|
|
966
966
|
}
|
|
967
967
|
export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
|
|
968
968
|
export declare class ApiClient {
|
|
969
|
-
protected _statusResource: AxiosStatusResourceClient;
|
|
970
|
-
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
971
|
-
protected _agentResource: AxiosAgentResourceClient;
|
|
972
|
-
protected _notificationResource: AxiosNotificationResourceClient;
|
|
973
|
-
protected _assetResource: AxiosAssetResourceClient;
|
|
974
969
|
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
975
|
-
protected
|
|
976
|
-
protected
|
|
977
|
-
protected
|
|
978
|
-
protected _syslogResource: AxiosSyslogResourceClient;
|
|
979
|
-
protected _userResource: AxiosUserResourceClient;
|
|
970
|
+
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
971
|
+
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
972
|
+
protected _consoleResource: AxiosConsoleResourceClient;
|
|
980
973
|
protected _alarmResource: AxiosAlarmResourceClient;
|
|
974
|
+
protected _statusResource: AxiosStatusResourceClient;
|
|
975
|
+
protected _rulesResource: AxiosRulesResourceClient;
|
|
976
|
+
protected _flowResource: AxiosFlowResourceClient;
|
|
977
|
+
protected _mapResource: AxiosMapResourceClient;
|
|
978
|
+
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
979
|
+
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
981
980
|
protected _appResource: AxiosAppResourceClient;
|
|
982
|
-
protected
|
|
981
|
+
protected _userResource: AxiosUserResourceClient;
|
|
982
|
+
protected _realmResource: AxiosRealmResourceClient;
|
|
983
|
+
protected _notificationResource: AxiosNotificationResourceClient;
|
|
983
984
|
protected _externalServiceResource: AxiosExternalServiceResourceClient;
|
|
985
|
+
protected _syslogResource: AxiosSyslogResourceClient;
|
|
986
|
+
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
984
987
|
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
985
|
-
protected
|
|
986
|
-
protected
|
|
987
|
-
protected
|
|
988
|
-
protected _mapResource: AxiosMapResourceClient;
|
|
989
|
-
protected _flowResource: AxiosFlowResourceClient;
|
|
990
|
-
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
988
|
+
protected _agentResource: AxiosAgentResourceClient;
|
|
989
|
+
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
990
|
+
protected _assetResource: AxiosAssetResourceClient;
|
|
991
991
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
992
|
-
get StatusResource(): AxiosStatusResourceClient;
|
|
993
|
-
get DashboardResource(): AxiosDashboardResourceClient;
|
|
994
|
-
get AgentResource(): AxiosAgentResourceClient;
|
|
995
|
-
get NotificationResource(): AxiosNotificationResourceClient;
|
|
996
|
-
get AssetResource(): AxiosAssetResourceClient;
|
|
997
992
|
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
998
|
-
get
|
|
999
|
-
get
|
|
1000
|
-
get
|
|
1001
|
-
get SyslogResource(): AxiosSyslogResourceClient;
|
|
1002
|
-
get UserResource(): AxiosUserResourceClient;
|
|
993
|
+
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
994
|
+
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
995
|
+
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
1003
996
|
get AlarmResource(): AxiosAlarmResourceClient;
|
|
997
|
+
get StatusResource(): AxiosStatusResourceClient;
|
|
998
|
+
get RulesResource(): AxiosRulesResourceClient;
|
|
999
|
+
get FlowResource(): AxiosFlowResourceClient;
|
|
1000
|
+
get MapResource(): AxiosMapResourceClient;
|
|
1001
|
+
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
1002
|
+
get DashboardResource(): AxiosDashboardResourceClient;
|
|
1004
1003
|
get AppResource(): AxiosAppResourceClient;
|
|
1005
|
-
get
|
|
1004
|
+
get UserResource(): AxiosUserResourceClient;
|
|
1005
|
+
get RealmResource(): AxiosRealmResourceClient;
|
|
1006
|
+
get NotificationResource(): AxiosNotificationResourceClient;
|
|
1006
1007
|
get ExternalServiceResource(): AxiosExternalServiceResourceClient;
|
|
1008
|
+
get SyslogResource(): AxiosSyslogResourceClient;
|
|
1009
|
+
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
1007
1010
|
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
1008
|
-
get
|
|
1009
|
-
get
|
|
1010
|
-
get
|
|
1011
|
-
get MapResource(): AxiosMapResourceClient;
|
|
1012
|
-
get FlowResource(): AxiosFlowResourceClient;
|
|
1013
|
-
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
1011
|
+
get AgentResource(): AxiosAgentResourceClient;
|
|
1012
|
+
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
1013
|
+
get AssetResource(): AxiosAssetResourceClient;
|
|
1014
1014
|
}
|
|
1015
1015
|
import * as Axios from "axios";
|
|
1016
1016
|
declare module "axios" {
|
|
@@ -1018,70 +1018,70 @@ declare module "axios" {
|
|
|
1018
1018
|
data: R;
|
|
1019
1019
|
}
|
|
1020
1020
|
}
|
|
1021
|
-
export declare class
|
|
1021
|
+
export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
|
|
1022
1022
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1023
1023
|
}
|
|
1024
|
-
export declare class
|
|
1024
|
+
export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
1025
1025
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1026
1026
|
}
|
|
1027
|
-
export declare class
|
|
1027
|
+
export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
1028
1028
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1029
1029
|
}
|
|
1030
|
-
export declare class
|
|
1030
|
+
export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
|
|
1031
1031
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1032
1032
|
}
|
|
1033
|
-
export declare class
|
|
1033
|
+
export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
|
|
1034
1034
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1035
1035
|
}
|
|
1036
|
-
export declare class
|
|
1036
|
+
export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
|
|
1037
1037
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1038
1038
|
}
|
|
1039
|
-
export declare class
|
|
1039
|
+
export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
|
|
1040
1040
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1041
1041
|
}
|
|
1042
|
-
export declare class
|
|
1042
|
+
export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
1043
1043
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1044
1044
|
}
|
|
1045
|
-
export declare class
|
|
1045
|
+
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
1046
1046
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1047
1047
|
}
|
|
1048
|
-
export declare class
|
|
1048
|
+
export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
1049
1049
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1050
1050
|
}
|
|
1051
|
-
export declare class
|
|
1051
|
+
export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
|
|
1052
1052
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1053
1053
|
}
|
|
1054
|
-
export declare class
|
|
1054
|
+
export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
|
|
1055
1055
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1056
1056
|
}
|
|
1057
|
-
export declare class
|
|
1057
|
+
export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
|
|
1058
1058
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1059
1059
|
}
|
|
1060
|
-
export declare class
|
|
1060
|
+
export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
|
|
1061
1061
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1062
1062
|
}
|
|
1063
|
-
export declare class
|
|
1063
|
+
export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
|
|
1064
1064
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1065
1065
|
}
|
|
1066
|
-
export declare class
|
|
1066
|
+
export declare class AxiosExternalServiceResourceClient extends ExternalServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
1067
1067
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1068
1068
|
}
|
|
1069
|
-
export declare class
|
|
1069
|
+
export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
|
|
1070
1070
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1071
1071
|
}
|
|
1072
|
-
export declare class
|
|
1072
|
+
export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
|
|
1073
1073
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1074
1074
|
}
|
|
1075
|
-
export declare class
|
|
1075
|
+
export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
|
|
1076
1076
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1077
1077
|
}
|
|
1078
|
-
export declare class
|
|
1078
|
+
export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
|
|
1079
1079
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1080
1080
|
}
|
|
1081
|
-
export declare class
|
|
1081
|
+
export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
|
|
1082
1082
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1083
1083
|
}
|
|
1084
|
-
export declare class
|
|
1084
|
+
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
1085
1085
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1086
1086
|
}
|
|
1087
1087
|
//# sourceMappingURL=restclient.d.ts.map
|