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