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