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