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