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