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