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