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