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