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