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