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