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