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