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