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