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