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