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