@openremote/model 1.0.2 → 1.2.0-snapshot.20240512143659
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 +15 -9
- package/lib/index.d.ts +2 -0
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -0
- package/lib/model.d.ts +2484 -0
- package/lib/model.js +1 -0
- package/lib/model.js.map +1 -0
- package/lib/util.d.ts +20 -0
- package/lib/util.js +1 -0
- package/lib/util.js.map +1 -0
- package/package.json +22 -11
- package/dist/index.d.ts +0 -1569
- package/dist/index.js +0 -231
- package/dist/index.js.map +0 -1
package/dist/index.d.ts
DELETED
|
@@ -1,1569 +0,0 @@
|
|
|
1
|
-
export interface RequestParams<IN, OUT> {
|
|
2
|
-
authorization?: string;
|
|
3
|
-
entity?: string;
|
|
4
|
-
entityWriter?: any;
|
|
5
|
-
contentType?: string;
|
|
6
|
-
accepts?: string;
|
|
7
|
-
apiURL?: string;
|
|
8
|
-
username?: string;
|
|
9
|
-
password?: string;
|
|
10
|
-
callback?: RequestCallback;
|
|
11
|
-
async?: boolean;
|
|
12
|
-
bearerAuth?: string;
|
|
13
|
-
}
|
|
14
|
-
export interface AbstractValueHolder extends ValueHolder {
|
|
15
|
-
objectValue?: {
|
|
16
|
-
[id: string]: any;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
export interface AbstractValueTimestampHolder extends AbstractValueHolder {
|
|
20
|
-
valueTimestamp?: number;
|
|
21
|
-
}
|
|
22
|
-
export interface Constants {
|
|
23
|
-
}
|
|
24
|
-
export interface HasUniqueResourceName {
|
|
25
|
-
urn?: string;
|
|
26
|
-
}
|
|
27
|
-
export interface IdentifiableEntity {
|
|
28
|
-
id?: string;
|
|
29
|
-
}
|
|
30
|
-
export interface ModelModule extends SimpleModule {
|
|
31
|
-
}
|
|
32
|
-
export interface ModelModulePositionDeserializer extends JsonDeserializer<Position> {
|
|
33
|
-
}
|
|
34
|
-
export interface ModelModulePositionSerializer extends JsonSerializer<Position> {
|
|
35
|
-
}
|
|
36
|
-
export interface ModelModuleValueJsonDeserializer<T> extends StdDeserializer<T> {
|
|
37
|
-
}
|
|
38
|
-
export interface ModelModuleValueJsonSerializer extends JsonSerializer<any> {
|
|
39
|
-
}
|
|
40
|
-
export interface ValidationFailure {
|
|
41
|
-
reason?: ValidationFailureReason;
|
|
42
|
-
parameter?: string;
|
|
43
|
-
}
|
|
44
|
-
export interface ValidationFailureReason {
|
|
45
|
-
name?: string;
|
|
46
|
-
}
|
|
47
|
-
export interface ValidationFailureReasonImpl extends ValidationFailureReason {
|
|
48
|
-
}
|
|
49
|
-
export interface ValueHolder {
|
|
50
|
-
value?: any;
|
|
51
|
-
valueAsObject?: {
|
|
52
|
-
[id: string]: any;
|
|
53
|
-
};
|
|
54
|
-
valueAsInteger?: number;
|
|
55
|
-
valueAsBoolean?: boolean;
|
|
56
|
-
validationFailures?: ValidationFailure[];
|
|
57
|
-
valueAsArray?: Array<any>;
|
|
58
|
-
valueAsString?: string;
|
|
59
|
-
valueAsNumber?: number;
|
|
60
|
-
}
|
|
61
|
-
export interface Asset extends IdentifiableEntity {
|
|
62
|
-
version?: number;
|
|
63
|
-
createdOn?: Date;
|
|
64
|
-
name?: string;
|
|
65
|
-
type?: string;
|
|
66
|
-
accessPublicRead?: boolean;
|
|
67
|
-
parentId?: string;
|
|
68
|
-
parentName?: string;
|
|
69
|
-
parentType?: string;
|
|
70
|
-
realm?: string;
|
|
71
|
-
path?: string[];
|
|
72
|
-
attributes?: {
|
|
73
|
-
[id: string]: any;
|
|
74
|
-
};
|
|
75
|
-
coordinates?: GeoJSONPoint;
|
|
76
|
-
attributesStream?: Stream<AssetAttribute>;
|
|
77
|
-
attributesList?: AssetAttribute[];
|
|
78
|
-
wellKnownType?: AssetType;
|
|
79
|
-
parentWellKnownType?: AssetType;
|
|
80
|
-
reversePath?: string[];
|
|
81
|
-
}
|
|
82
|
-
export interface AssetAttribute extends Attribute {
|
|
83
|
-
assetId?: string;
|
|
84
|
-
readOnly?: boolean;
|
|
85
|
-
state?: AttributeState;
|
|
86
|
-
executable?: boolean;
|
|
87
|
-
description?: string;
|
|
88
|
-
enabled?: boolean;
|
|
89
|
-
referenceOrThrow?: AttributeRef;
|
|
90
|
-
format?: string;
|
|
91
|
-
reference?: AttributeRef;
|
|
92
|
-
label?: string;
|
|
93
|
-
labelOrName?: string;
|
|
94
|
-
protocolConfiguration?: boolean;
|
|
95
|
-
showOnDashboard?: boolean;
|
|
96
|
-
accessRestrictedRead?: boolean;
|
|
97
|
-
accessPublicRead?: boolean;
|
|
98
|
-
accessRestrictedWrite?: boolean;
|
|
99
|
-
storeDatapoints?: boolean;
|
|
100
|
-
ruleState?: boolean;
|
|
101
|
-
ruleEvent?: boolean;
|
|
102
|
-
ruleEventExpires?: string;
|
|
103
|
-
stateEvent?: AttributeEvent;
|
|
104
|
-
}
|
|
105
|
-
export interface AssetDescriptor {
|
|
106
|
-
name?: string;
|
|
107
|
-
type?: string;
|
|
108
|
-
icon?: string;
|
|
109
|
-
attributeDescriptors?: AttributeDescriptor[];
|
|
110
|
-
accessPublicRead?: boolean;
|
|
111
|
-
}
|
|
112
|
-
export interface AssetDescriptorImpl extends AssetDescriptor {
|
|
113
|
-
}
|
|
114
|
-
export interface AssetEvent extends SharedEvent {
|
|
115
|
-
eventType: "asset";
|
|
116
|
-
cause?: AssetEventCause;
|
|
117
|
-
asset?: Asset;
|
|
118
|
-
updatedProperties?: string[];
|
|
119
|
-
}
|
|
120
|
-
export interface AssetEventAssetIdFilter {
|
|
121
|
-
filterType: "asset-id";
|
|
122
|
-
assetIds?: string[];
|
|
123
|
-
}
|
|
124
|
-
export interface AssetModelProvider {
|
|
125
|
-
attributeValueDescriptors?: AttributeValueDescriptor[];
|
|
126
|
-
attributeDescriptors?: AttributeDescriptor[];
|
|
127
|
-
metaItemDescriptors?: MetaItemDescriptor[];
|
|
128
|
-
assetDescriptors?: AssetDescriptor[];
|
|
129
|
-
}
|
|
130
|
-
export interface AssetResourceUtil {
|
|
131
|
-
}
|
|
132
|
-
export interface AssetTreeModifiedEvent extends TenantScopedEvent {
|
|
133
|
-
eventType: "asset-tree-modified";
|
|
134
|
-
assetId?: string;
|
|
135
|
-
newAssetChildren?: boolean;
|
|
136
|
-
}
|
|
137
|
-
export interface CalendarEventConfiguration {
|
|
138
|
-
}
|
|
139
|
-
export interface DefaultAssetModelProvider extends AssetModelProvider {
|
|
140
|
-
}
|
|
141
|
-
export interface ReadAssetAttributesEvent extends ReadAssetEvent {
|
|
142
|
-
eventType: "read-asset-attributes";
|
|
143
|
-
attributeNames?: string[];
|
|
144
|
-
}
|
|
145
|
-
export interface ReadAssetEvent extends SharedEvent {
|
|
146
|
-
eventType: "read-asset" | "read-asset-attributes";
|
|
147
|
-
assetId?: string;
|
|
148
|
-
subscriptionId?: string;
|
|
149
|
-
}
|
|
150
|
-
export interface UserAsset {
|
|
151
|
-
id?: UserAssetId;
|
|
152
|
-
createdOn?: Date;
|
|
153
|
-
assetName?: string;
|
|
154
|
-
parentAssetName?: string;
|
|
155
|
-
userFullName?: string;
|
|
156
|
-
}
|
|
157
|
-
export interface UserAssetId extends Serializable {
|
|
158
|
-
realm?: string;
|
|
159
|
-
userId?: string;
|
|
160
|
-
assetId?: string;
|
|
161
|
-
}
|
|
162
|
-
export interface Agent {
|
|
163
|
-
}
|
|
164
|
-
export interface AgentLink {
|
|
165
|
-
}
|
|
166
|
-
export interface AgentStatusEvent extends TenantScopedEvent {
|
|
167
|
-
eventType: "agent-status";
|
|
168
|
-
protocolConfiguration?: AttributeRef;
|
|
169
|
-
connectionStatus?: ConnectionStatus;
|
|
170
|
-
}
|
|
171
|
-
export interface ProtocolConfiguration {
|
|
172
|
-
}
|
|
173
|
-
export interface ProtocolDescriptor {
|
|
174
|
-
name?: string;
|
|
175
|
-
displayName?: string;
|
|
176
|
-
version?: string;
|
|
177
|
-
configurationDiscovery?: boolean;
|
|
178
|
-
configurationImport?: boolean;
|
|
179
|
-
deviceImport?: boolean;
|
|
180
|
-
configurationTemplate?: AssetAttribute;
|
|
181
|
-
protocolConfigurationMetaItems?: MetaItemDescriptor[];
|
|
182
|
-
linkedAttributeMetaItems?: MetaItemDescriptor[];
|
|
183
|
-
deviceDiscovery?: boolean;
|
|
184
|
-
}
|
|
185
|
-
export interface Attribute extends AbstractValueTimestampHolder {
|
|
186
|
-
name?: string;
|
|
187
|
-
type?: AttributeValueDescriptor;
|
|
188
|
-
metaItemsValidationFailures?: ValidationFailure[];
|
|
189
|
-
}
|
|
190
|
-
export interface AttributeDescriptor {
|
|
191
|
-
initialValue?: any;
|
|
192
|
-
valueDescriptor?: AttributeValueDescriptor;
|
|
193
|
-
metaItemDescriptors?: MetaItemDescriptor[];
|
|
194
|
-
attributeName?: string;
|
|
195
|
-
}
|
|
196
|
-
export interface AttributeDescriptorImpl extends AttributeDescriptor {
|
|
197
|
-
}
|
|
198
|
-
export interface AttributeEvent extends SharedEvent {
|
|
199
|
-
eventType: "attribute";
|
|
200
|
-
attributeState?: AttributeState;
|
|
201
|
-
}
|
|
202
|
-
export interface AttributeLink {
|
|
203
|
-
attributeRef?: AttributeRef;
|
|
204
|
-
converter?: {
|
|
205
|
-
[id: string]: any;
|
|
206
|
-
};
|
|
207
|
-
}
|
|
208
|
-
export interface AttributeRef {
|
|
209
|
-
entityId?: string;
|
|
210
|
-
attributeName?: string;
|
|
211
|
-
}
|
|
212
|
-
export interface AttributeState {
|
|
213
|
-
attributeRef?: AttributeRef;
|
|
214
|
-
value?: any;
|
|
215
|
-
deleted?: boolean;
|
|
216
|
-
}
|
|
217
|
-
export interface AttributeValidationResult {
|
|
218
|
-
attributeName?: string;
|
|
219
|
-
attributeFailures?: ValidationFailure[];
|
|
220
|
-
metaFailures?: {
|
|
221
|
-
[index: string]: ValidationFailure[];
|
|
222
|
-
};
|
|
223
|
-
valid?: boolean;
|
|
224
|
-
}
|
|
225
|
-
export interface AttributeValueDescriptor {
|
|
226
|
-
name?: string;
|
|
227
|
-
icon?: string;
|
|
228
|
-
metaItemDescriptors?: MetaItemDescriptor[];
|
|
229
|
-
valueType?: ValueType;
|
|
230
|
-
}
|
|
231
|
-
export interface AttributeValueDescriptorImpl extends AttributeValueDescriptor {
|
|
232
|
-
}
|
|
233
|
-
export interface ColorRGB {
|
|
234
|
-
red?: number;
|
|
235
|
-
green?: number;
|
|
236
|
-
blue?: number;
|
|
237
|
-
}
|
|
238
|
-
export interface LinkedAttributeDescriptor {
|
|
239
|
-
name?: string;
|
|
240
|
-
displayName?: string;
|
|
241
|
-
attributeValueDescriptor?: AttributeValueDescriptor;
|
|
242
|
-
readOnly?: boolean;
|
|
243
|
-
executable?: boolean;
|
|
244
|
-
metaItems?: MetaItem[];
|
|
245
|
-
}
|
|
246
|
-
export interface MetaItem extends AbstractValueHolder {
|
|
247
|
-
name?: string;
|
|
248
|
-
}
|
|
249
|
-
export interface MetaItemDescriptor extends HasUniqueResourceName {
|
|
250
|
-
pattern?: string;
|
|
251
|
-
initialValue?: any;
|
|
252
|
-
validator?: Function<any, ValidationFailure>;
|
|
253
|
-
access?: MetaItemDescriptorAccess;
|
|
254
|
-
required?: boolean;
|
|
255
|
-
valueType?: ValueType;
|
|
256
|
-
maxPerAttribute?: number;
|
|
257
|
-
valueFixed?: boolean;
|
|
258
|
-
patternFailureMessage?: string;
|
|
259
|
-
}
|
|
260
|
-
export interface MetaItemDescriptorAccess {
|
|
261
|
-
restrictedRead?: boolean;
|
|
262
|
-
restrictedWrite?: boolean;
|
|
263
|
-
publicRead?: boolean;
|
|
264
|
-
}
|
|
265
|
-
export interface MetaItemDescriptorImpl extends MetaItemDescriptor {
|
|
266
|
-
}
|
|
267
|
-
export interface CalendarEvent {
|
|
268
|
-
start?: Date;
|
|
269
|
-
end?: Date;
|
|
270
|
-
recurrence?: RecurrenceRule;
|
|
271
|
-
}
|
|
272
|
-
export interface RecurrenceRule {
|
|
273
|
-
frequency?: RecurrenceRuleFrequency;
|
|
274
|
-
interval?: number;
|
|
275
|
-
count?: number;
|
|
276
|
-
until?: Date;
|
|
277
|
-
}
|
|
278
|
-
export interface ConsoleConfiguration {
|
|
279
|
-
}
|
|
280
|
-
export interface ConsoleProvider {
|
|
281
|
-
version?: string;
|
|
282
|
-
requiresPermission?: boolean;
|
|
283
|
-
hasPermission?: boolean;
|
|
284
|
-
success?: boolean;
|
|
285
|
-
enabled?: boolean;
|
|
286
|
-
disabled?: boolean;
|
|
287
|
-
data?: {
|
|
288
|
-
[id: string]: any;
|
|
289
|
-
};
|
|
290
|
-
}
|
|
291
|
-
export interface ConsoleRegistration {
|
|
292
|
-
id?: string;
|
|
293
|
-
name?: string;
|
|
294
|
-
version?: string;
|
|
295
|
-
platform?: string;
|
|
296
|
-
providers?: {
|
|
297
|
-
[index: string]: ConsoleProvider;
|
|
298
|
-
};
|
|
299
|
-
model?: string;
|
|
300
|
-
apps?: string[];
|
|
301
|
-
}
|
|
302
|
-
export interface AssetDatapoint extends Datapoint {
|
|
303
|
-
}
|
|
304
|
-
export interface Datapoint extends Serializable {
|
|
305
|
-
entityId?: string;
|
|
306
|
-
attributeName?: string;
|
|
307
|
-
timestamp?: number;
|
|
308
|
-
value?: any;
|
|
309
|
-
}
|
|
310
|
-
export interface NumberDatapoint {
|
|
311
|
-
label?: string;
|
|
312
|
-
number?: number;
|
|
313
|
-
}
|
|
314
|
-
export interface Event {
|
|
315
|
-
timestamp?: number;
|
|
316
|
-
eventType?: string;
|
|
317
|
-
}
|
|
318
|
-
export interface TriggeredEventSubscription<E> {
|
|
319
|
-
events?: E[];
|
|
320
|
-
subscriptionId?: string;
|
|
321
|
-
}
|
|
322
|
-
export interface EventBus {
|
|
323
|
-
registrations?: EventRegistration<any>[];
|
|
324
|
-
}
|
|
325
|
-
export interface EventListener<E> {
|
|
326
|
-
}
|
|
327
|
-
export interface EventRegistration<E> {
|
|
328
|
-
prepare?: boolean;
|
|
329
|
-
eventClass?: Class<E>;
|
|
330
|
-
listener?: EventListener<E>;
|
|
331
|
-
eventType?: string;
|
|
332
|
-
}
|
|
333
|
-
export interface VetoEventException extends RuntimeException {
|
|
334
|
-
}
|
|
335
|
-
export interface CancelEventSubscription<E> {
|
|
336
|
-
eventType?: string;
|
|
337
|
-
subscriptionId?: string;
|
|
338
|
-
}
|
|
339
|
-
export interface EventSubscription<E> {
|
|
340
|
-
eventType?: string;
|
|
341
|
-
filter?: any;
|
|
342
|
-
subscriptionId?: string;
|
|
343
|
-
internalConsumer?: Consumer<TriggeredEventSubscription<E>>;
|
|
344
|
-
}
|
|
345
|
-
export interface RenewEventSubscriptions {
|
|
346
|
-
subscriptionIds?: string[];
|
|
347
|
-
}
|
|
348
|
-
export interface SharedEvent extends Event {
|
|
349
|
-
eventType: "asset" | "read-asset" | "read-asset-attributes" | "attribute" | "asset-tree-modified" | "agent-status" | "rules-engine-status" | "ruleset-changed" | "request-simulator-state" | "simulator-state" | "syslog";
|
|
350
|
-
}
|
|
351
|
-
export interface TenantScopedEvent extends SharedEvent {
|
|
352
|
-
eventType: "asset-tree-modified" | "agent-status";
|
|
353
|
-
realm?: string;
|
|
354
|
-
}
|
|
355
|
-
export interface UnauthorizedEventSubscription<E> {
|
|
356
|
-
subscription?: EventSubscription<any>;
|
|
357
|
-
}
|
|
358
|
-
export interface FileInfo {
|
|
359
|
-
name?: string;
|
|
360
|
-
contents?: string;
|
|
361
|
-
binary?: boolean;
|
|
362
|
-
}
|
|
363
|
-
export interface GeoJSON {
|
|
364
|
-
type?: string;
|
|
365
|
-
}
|
|
366
|
-
export interface GeoJSONFeature extends GeoJSON {
|
|
367
|
-
geometry?: GeoJSONGeometryUnion;
|
|
368
|
-
properties?: {
|
|
369
|
-
[index: string]: string;
|
|
370
|
-
};
|
|
371
|
-
}
|
|
372
|
-
export interface GeoJSONFeatureCollection extends GeoJSON {
|
|
373
|
-
features?: GeoJSONFeature[];
|
|
374
|
-
}
|
|
375
|
-
export interface GeoJSONGeometry extends GeoJSON {
|
|
376
|
-
}
|
|
377
|
-
export interface GeoJSONPoint extends GeoJSONGeometry {
|
|
378
|
-
coordinates?: Position;
|
|
379
|
-
}
|
|
380
|
-
export interface Position {
|
|
381
|
-
values?: number[];
|
|
382
|
-
z?: number;
|
|
383
|
-
x?: number;
|
|
384
|
-
y?: number;
|
|
385
|
-
}
|
|
386
|
-
export interface BadRequestError extends RequestError {
|
|
387
|
-
constraintViolationReport?: any;
|
|
388
|
-
}
|
|
389
|
-
export interface ConflictRequestError extends RequestError {
|
|
390
|
-
}
|
|
391
|
-
export interface EntityMarshallingRequestError extends RequestError {
|
|
392
|
-
}
|
|
393
|
-
export interface NoResponseError extends RequestError {
|
|
394
|
-
}
|
|
395
|
-
export interface NotFoundRequestError extends RequestError {
|
|
396
|
-
}
|
|
397
|
-
export interface Request {
|
|
398
|
-
}
|
|
399
|
-
export interface RequestXMLHttpRequest {
|
|
400
|
-
}
|
|
401
|
-
export interface RequestCallback {
|
|
402
|
-
}
|
|
403
|
-
export interface RequestError {
|
|
404
|
-
statusCode?: number;
|
|
405
|
-
message?: string;
|
|
406
|
-
}
|
|
407
|
-
export interface UnauthorizedRequestError extends RequestError {
|
|
408
|
-
}
|
|
409
|
-
export interface UnexpectedStatusRequestError extends RequestError {
|
|
410
|
-
expectedStatusCodes?: number[];
|
|
411
|
-
}
|
|
412
|
-
export interface AbstractNotificationMessage {
|
|
413
|
-
type?: string;
|
|
414
|
-
}
|
|
415
|
-
export interface EmailNotificationMessage extends AbstractNotificationMessage {
|
|
416
|
-
from?: EmailNotificationMessageRecipient;
|
|
417
|
-
replyTo?: EmailNotificationMessageRecipient;
|
|
418
|
-
subject?: string;
|
|
419
|
-
text?: string;
|
|
420
|
-
html?: string;
|
|
421
|
-
to?: EmailNotificationMessageRecipient[];
|
|
422
|
-
cc?: EmailNotificationMessageRecipient[];
|
|
423
|
-
bcc?: EmailNotificationMessageRecipient[];
|
|
424
|
-
}
|
|
425
|
-
export interface EmailNotificationMessageRecipient {
|
|
426
|
-
name?: string;
|
|
427
|
-
address?: string;
|
|
428
|
-
}
|
|
429
|
-
export interface Notification {
|
|
430
|
-
name?: string;
|
|
431
|
-
message?: AbstractNotificationMessageUnion;
|
|
432
|
-
targets?: NotificationTargets;
|
|
433
|
-
repeatFrequency?: RepeatFrequency;
|
|
434
|
-
repeatInterval?: string;
|
|
435
|
-
}
|
|
436
|
-
export interface NotificationTargets {
|
|
437
|
-
type?: NotificationTargetType;
|
|
438
|
-
ids?: string[];
|
|
439
|
-
}
|
|
440
|
-
export interface NotificationSendResult {
|
|
441
|
-
success?: boolean;
|
|
442
|
-
message?: string;
|
|
443
|
-
}
|
|
444
|
-
export interface PushNotificationAction {
|
|
445
|
-
url?: string;
|
|
446
|
-
data?: any;
|
|
447
|
-
silent?: boolean;
|
|
448
|
-
openInBrowser?: boolean;
|
|
449
|
-
httpMethod?: string;
|
|
450
|
-
}
|
|
451
|
-
export interface PushNotificationButton {
|
|
452
|
-
title?: string;
|
|
453
|
-
action?: PushNotificationAction;
|
|
454
|
-
}
|
|
455
|
-
export interface PushNotificationMessage extends AbstractNotificationMessage {
|
|
456
|
-
title?: string;
|
|
457
|
-
body?: string;
|
|
458
|
-
action?: PushNotificationAction;
|
|
459
|
-
buttons?: PushNotificationButton[];
|
|
460
|
-
data?: {
|
|
461
|
-
[id: string]: any;
|
|
462
|
-
};
|
|
463
|
-
priority?: PushNotificationMessageMessagePriority;
|
|
464
|
-
targetType?: PushNotificationMessageTargetType;
|
|
465
|
-
target?: string;
|
|
466
|
-
ttlSeconds?: number;
|
|
467
|
-
}
|
|
468
|
-
export interface SentNotification {
|
|
469
|
-
id?: number;
|
|
470
|
-
name?: string;
|
|
471
|
-
type?: string;
|
|
472
|
-
target?: NotificationTargetType;
|
|
473
|
-
targetId?: string;
|
|
474
|
-
source?: NotificationSource;
|
|
475
|
-
sourceId?: string;
|
|
476
|
-
message?: {
|
|
477
|
-
[id: string]: any;
|
|
478
|
-
};
|
|
479
|
-
error?: string;
|
|
480
|
-
sentOn?: Date;
|
|
481
|
-
deliveredOn?: Date;
|
|
482
|
-
acknowledgedOn?: Date;
|
|
483
|
-
acknowledgement?: string;
|
|
484
|
-
}
|
|
485
|
-
export interface AssetQuery extends BaseAssetQuery<AssetQuery> {
|
|
486
|
-
}
|
|
487
|
-
export interface BaseAssetQuery<CHILD> {
|
|
488
|
-
select?: BaseAssetQuerySelect;
|
|
489
|
-
ids?: string[];
|
|
490
|
-
name?: StringPredicate;
|
|
491
|
-
parent?: ParentPredicate;
|
|
492
|
-
path?: PathPredicate;
|
|
493
|
-
tenant?: TenantPredicate;
|
|
494
|
-
userId?: string;
|
|
495
|
-
type?: StringPredicate;
|
|
496
|
-
attribute?: AttributePredicate[];
|
|
497
|
-
attributeMeta?: AttributeMetaPredicate[];
|
|
498
|
-
calendarEventActive?: CalendarEventActivePredicate;
|
|
499
|
-
orderBy?: BaseAssetQueryOrderBy;
|
|
500
|
-
limit?: number;
|
|
501
|
-
}
|
|
502
|
-
export interface BaseAssetQueryOrderBy {
|
|
503
|
-
property?: BaseAssetQueryOrderBy$Property;
|
|
504
|
-
descending?: boolean;
|
|
505
|
-
}
|
|
506
|
-
export interface BaseAssetQuerySelect {
|
|
507
|
-
include?: BaseAssetQueryInclude;
|
|
508
|
-
recursive?: boolean;
|
|
509
|
-
access?: BaseAssetQueryAccess;
|
|
510
|
-
attributeNames?: string[];
|
|
511
|
-
}
|
|
512
|
-
export interface NewAssetQuery {
|
|
513
|
-
ids?: string[];
|
|
514
|
-
names?: StringPredicate[];
|
|
515
|
-
parents?: ParentPredicate[];
|
|
516
|
-
paths?: PathPredicate[];
|
|
517
|
-
tenant?: TenantPredicate;
|
|
518
|
-
userIds?: string[];
|
|
519
|
-
types?: StringPredicate[];
|
|
520
|
-
attributes?: RuleCondition<AttributePredicate>;
|
|
521
|
-
orderBy?: BaseAssetQueryOrderBy;
|
|
522
|
-
limit?: number;
|
|
523
|
-
}
|
|
524
|
-
export interface UserQuery<CHILD> {
|
|
525
|
-
tenantPredicate?: TenantPredicate;
|
|
526
|
-
assetPredicate?: UserAssetPredicate;
|
|
527
|
-
pathPredicate?: PathPredicate;
|
|
528
|
-
limit?: number;
|
|
529
|
-
}
|
|
530
|
-
export interface AttributeMetaPredicate {
|
|
531
|
-
itemNamePredicate?: StringPredicate;
|
|
532
|
-
itemValuePredicate?: ValuePredicateUnion;
|
|
533
|
-
}
|
|
534
|
-
export interface AttributePredicate {
|
|
535
|
-
name?: StringPredicate;
|
|
536
|
-
value?: ValuePredicateUnion;
|
|
537
|
-
}
|
|
538
|
-
export interface AttributeRefPredicate extends AttributeMetaPredicate {
|
|
539
|
-
}
|
|
540
|
-
export interface BooleanPredicate extends ValuePredicate {
|
|
541
|
-
predicateType: "boolean";
|
|
542
|
-
value?: boolean;
|
|
543
|
-
}
|
|
544
|
-
export interface CalendarEventActivePredicate {
|
|
545
|
-
timestamp?: number;
|
|
546
|
-
}
|
|
547
|
-
export interface DateTimePredicate extends ValuePredicate {
|
|
548
|
-
predicateType: "datetime";
|
|
549
|
-
value?: string;
|
|
550
|
-
rangeValue?: string;
|
|
551
|
-
operator?: BaseAssetQueryOperator;
|
|
552
|
-
dateFormat?: string;
|
|
553
|
-
}
|
|
554
|
-
export interface GeofencePredicate extends ValuePredicate {
|
|
555
|
-
predicateType: "radial" | "rect";
|
|
556
|
-
negated?: boolean;
|
|
557
|
-
centrePoint?: number[];
|
|
558
|
-
}
|
|
559
|
-
export interface LocationAttributePredicate extends AttributePredicate {
|
|
560
|
-
}
|
|
561
|
-
export interface NewAttributePredicate extends AttributePredicate {
|
|
562
|
-
meta?: AttributeMetaPredicate[];
|
|
563
|
-
lastValue?: ValuePredicateUnion;
|
|
564
|
-
valueTimestamp?: DateTimePredicate;
|
|
565
|
-
}
|
|
566
|
-
export interface NumberPredicate extends ValuePredicate {
|
|
567
|
-
predicateType: "number";
|
|
568
|
-
value?: number;
|
|
569
|
-
rangeValue?: number;
|
|
570
|
-
operator?: BaseAssetQueryOperator;
|
|
571
|
-
numberType?: BaseAssetQueryNumberType;
|
|
572
|
-
}
|
|
573
|
-
export interface ObjectValueKeyPredicate extends ValuePredicate {
|
|
574
|
-
predicateType: "ObjectValueKeyPredicate";
|
|
575
|
-
negated?: boolean;
|
|
576
|
-
key?: string;
|
|
577
|
-
}
|
|
578
|
-
export interface ParentPredicate {
|
|
579
|
-
id?: string;
|
|
580
|
-
type?: string;
|
|
581
|
-
name?: string;
|
|
582
|
-
noParent?: boolean;
|
|
583
|
-
}
|
|
584
|
-
export interface PathPredicate {
|
|
585
|
-
path?: string[];
|
|
586
|
-
}
|
|
587
|
-
export interface RadialGeofencePredicate extends GeofencePredicate {
|
|
588
|
-
predicateType: "radial";
|
|
589
|
-
radius?: number;
|
|
590
|
-
lat?: number;
|
|
591
|
-
lng?: number;
|
|
592
|
-
}
|
|
593
|
-
export interface RectangularGeofencePredicate extends GeofencePredicate {
|
|
594
|
-
predicateType: "rect";
|
|
595
|
-
latMin?: number;
|
|
596
|
-
lngMin?: number;
|
|
597
|
-
latMax?: number;
|
|
598
|
-
lngMax?: number;
|
|
599
|
-
}
|
|
600
|
-
export interface StringArrayPredicate extends ValuePredicate {
|
|
601
|
-
predicateType: "string-array";
|
|
602
|
-
predicates?: StringPredicate[];
|
|
603
|
-
}
|
|
604
|
-
export interface StringPredicate extends ValuePredicate {
|
|
605
|
-
predicateType: "string";
|
|
606
|
-
match?: BaseAssetQueryMatch;
|
|
607
|
-
caseSensitive?: boolean;
|
|
608
|
-
value?: string;
|
|
609
|
-
}
|
|
610
|
-
export interface TenantPredicate {
|
|
611
|
-
realm?: string;
|
|
612
|
-
}
|
|
613
|
-
export interface UserAssetPredicate {
|
|
614
|
-
id?: string;
|
|
615
|
-
}
|
|
616
|
-
export interface ValueEmptyPredicate extends ValuePredicate {
|
|
617
|
-
predicateType: "ValueEmptyPredicate";
|
|
618
|
-
}
|
|
619
|
-
export interface ValueNotEmptyPredicate extends ValuePredicate {
|
|
620
|
-
predicateType: "ValueNotEmptyPredicate";
|
|
621
|
-
}
|
|
622
|
-
export interface ValuePredicate {
|
|
623
|
-
predicateType: "boolean" | "datetime" | "radial" | "rect" | "number" | "ObjectValueKeyPredicate" | "string-array" | "string" | "ValueEmptyPredicate" | "ValueNotEmptyPredicate";
|
|
624
|
-
}
|
|
625
|
-
export interface AssetRuleset extends Ruleset {
|
|
626
|
-
type: "asset";
|
|
627
|
-
assetId?: string;
|
|
628
|
-
accessPublicRead?: boolean;
|
|
629
|
-
realm?: string;
|
|
630
|
-
}
|
|
631
|
-
export interface AssetState extends Comparable<AssetState> {
|
|
632
|
-
attributeName?: string;
|
|
633
|
-
attributeValueType?: AttributeValueDescriptor;
|
|
634
|
-
value?: any;
|
|
635
|
-
timestamp?: number;
|
|
636
|
-
source?: AttributeEventSource;
|
|
637
|
-
oldValue?: any;
|
|
638
|
-
oldValueTimestamp?: number;
|
|
639
|
-
id?: string;
|
|
640
|
-
name?: string;
|
|
641
|
-
typeString?: string;
|
|
642
|
-
type?: AssetType;
|
|
643
|
-
createdOn?: Date;
|
|
644
|
-
path?: string[];
|
|
645
|
-
parentId?: string;
|
|
646
|
-
parentName?: string;
|
|
647
|
-
parentTypeString?: string;
|
|
648
|
-
parentType?: AssetType;
|
|
649
|
-
realm?: string;
|
|
650
|
-
meta?: any[];
|
|
651
|
-
valueAsObject?: {
|
|
652
|
-
[id: string]: any;
|
|
653
|
-
};
|
|
654
|
-
valueAsBoolean?: boolean;
|
|
655
|
-
valueAsArray?: Array<any>;
|
|
656
|
-
valueAsString?: string;
|
|
657
|
-
valueAsNumber?: number;
|
|
658
|
-
valueChanged?: boolean;
|
|
659
|
-
valueGreaterThanOldValue?: boolean;
|
|
660
|
-
valueLessThanOldValue?: boolean;
|
|
661
|
-
valueFalse?: boolean;
|
|
662
|
-
valueTrue?: boolean;
|
|
663
|
-
}
|
|
664
|
-
export interface Assets {
|
|
665
|
-
}
|
|
666
|
-
export interface AssetsRestrictedQuery extends BaseAssetQuery<AssetsRestrictedQuery> {
|
|
667
|
-
result?: string;
|
|
668
|
-
}
|
|
669
|
-
export interface GlobalRuleset extends Ruleset {
|
|
670
|
-
type: "global";
|
|
671
|
-
}
|
|
672
|
-
export interface Notifications {
|
|
673
|
-
}
|
|
674
|
-
export interface RulesEngineInfo {
|
|
675
|
-
status?: RulesEngineStatus;
|
|
676
|
-
compilationErrorCount?: number;
|
|
677
|
-
executionErrorCount?: number;
|
|
678
|
-
}
|
|
679
|
-
export interface RulesEngineStatusEvent extends SharedEvent {
|
|
680
|
-
eventType: "rules-engine-status";
|
|
681
|
-
engineId?: string;
|
|
682
|
-
engineInfo?: RulesEngineInfo;
|
|
683
|
-
}
|
|
684
|
-
export interface Ruleset {
|
|
685
|
-
type: "asset" | "global" | "tenant";
|
|
686
|
-
id?: number;
|
|
687
|
-
version?: number;
|
|
688
|
-
createdOn?: Date;
|
|
689
|
-
lastModified?: Date;
|
|
690
|
-
name?: string;
|
|
691
|
-
enabled?: boolean;
|
|
692
|
-
rules?: string;
|
|
693
|
-
lang?: RulesetLang;
|
|
694
|
-
status?: RulesetStatus;
|
|
695
|
-
error?: string;
|
|
696
|
-
}
|
|
697
|
-
export interface RulesetChangedEvent extends SharedEvent {
|
|
698
|
-
eventType: "ruleset-changed";
|
|
699
|
-
engineId?: string;
|
|
700
|
-
ruleset?: RulesetUnion;
|
|
701
|
-
}
|
|
702
|
-
export interface TemporaryFact<T> extends Event {
|
|
703
|
-
expirationMilliseconds?: number;
|
|
704
|
-
fact?: T;
|
|
705
|
-
time?: Date;
|
|
706
|
-
expirationTime?: Date;
|
|
707
|
-
}
|
|
708
|
-
export interface TenantRuleset extends Ruleset {
|
|
709
|
-
type: "tenant";
|
|
710
|
-
realm?: string;
|
|
711
|
-
accessPublicRead?: boolean;
|
|
712
|
-
}
|
|
713
|
-
export interface Users {
|
|
714
|
-
}
|
|
715
|
-
export interface UsersRestrictedQuery extends UserQuery<UsersRestrictedQuery> {
|
|
716
|
-
results?: string[];
|
|
717
|
-
}
|
|
718
|
-
export interface GeofenceDefinition {
|
|
719
|
-
id?: string;
|
|
720
|
-
lat?: number;
|
|
721
|
-
lng?: number;
|
|
722
|
-
radius?: number;
|
|
723
|
-
httpMethod?: string;
|
|
724
|
-
url?: string;
|
|
725
|
-
}
|
|
726
|
-
export interface JsonRulesetDefinition {
|
|
727
|
-
rules?: Rule[];
|
|
728
|
-
}
|
|
729
|
-
export interface Rule {
|
|
730
|
-
name?: string;
|
|
731
|
-
description?: string;
|
|
732
|
-
priority?: number;
|
|
733
|
-
when?: RuleTrigger;
|
|
734
|
-
and?: RuleCondition<NewAssetQuery>;
|
|
735
|
-
then?: RuleActionUnion[];
|
|
736
|
-
reset?: RuleTriggerReset;
|
|
737
|
-
}
|
|
738
|
-
export interface RuleAction {
|
|
739
|
-
action: "wait" | "notification" | "update-attribute" | "write-attribute";
|
|
740
|
-
}
|
|
741
|
-
export interface RuleActionNotification extends RuleActionWithTarget {
|
|
742
|
-
action: "notification";
|
|
743
|
-
notification?: Notification;
|
|
744
|
-
}
|
|
745
|
-
export interface RuleActionUpdateAttribute extends RuleActionWithTarget {
|
|
746
|
-
action: "update-attribute";
|
|
747
|
-
attributeName?: string;
|
|
748
|
-
value?: any;
|
|
749
|
-
key?: string;
|
|
750
|
-
index?: number;
|
|
751
|
-
updateAction?: RuleActionUpdateAttributeUpdateAction;
|
|
752
|
-
}
|
|
753
|
-
export interface RuleActionWait extends RuleAction {
|
|
754
|
-
action: "wait";
|
|
755
|
-
millis?: number;
|
|
756
|
-
}
|
|
757
|
-
export interface RuleActionWithTarget extends RuleAction {
|
|
758
|
-
action: "notification" | "update-attribute" | "write-attribute";
|
|
759
|
-
target?: RuleActionWithTargetTarget;
|
|
760
|
-
}
|
|
761
|
-
export interface RuleActionWithTargetTarget {
|
|
762
|
-
useAssetsFromWhen?: boolean;
|
|
763
|
-
assets?: AssetQuery;
|
|
764
|
-
users?: UserQuery<any>;
|
|
765
|
-
}
|
|
766
|
-
export interface RuleActionWriteAttribute extends RuleActionWithTarget {
|
|
767
|
-
action: "write-attribute";
|
|
768
|
-
attributeName?: string;
|
|
769
|
-
value?: any;
|
|
770
|
-
}
|
|
771
|
-
export interface RuleCondition<T> {
|
|
772
|
-
operator?: RuleOperator;
|
|
773
|
-
predicates?: T[];
|
|
774
|
-
conditions?: RuleCondition<T>[];
|
|
775
|
-
}
|
|
776
|
-
export interface RuleTemplate<T> {
|
|
777
|
-
}
|
|
778
|
-
export interface RuleTrigger {
|
|
779
|
-
asset?: NewAssetQuery;
|
|
780
|
-
timer?: string;
|
|
781
|
-
}
|
|
782
|
-
export interface RuleTriggerReset {
|
|
783
|
-
timer?: string;
|
|
784
|
-
triggerNoLongerMatches?: boolean;
|
|
785
|
-
attributeTimestampChange?: boolean;
|
|
786
|
-
attributeValueChange?: boolean;
|
|
787
|
-
}
|
|
788
|
-
export interface Credential {
|
|
789
|
-
type?: string;
|
|
790
|
-
value?: string;
|
|
791
|
-
temporary?: boolean;
|
|
792
|
-
}
|
|
793
|
-
export interface Role {
|
|
794
|
-
id?: string;
|
|
795
|
-
name?: string;
|
|
796
|
-
composite?: boolean;
|
|
797
|
-
assigned?: boolean;
|
|
798
|
-
}
|
|
799
|
-
export interface Tenant {
|
|
800
|
-
id?: string;
|
|
801
|
-
realm?: string;
|
|
802
|
-
displayName?: string;
|
|
803
|
-
enabled?: boolean;
|
|
804
|
-
notBefore?: number;
|
|
805
|
-
resetPasswordAllowed?: boolean;
|
|
806
|
-
duplicateEmailsAllowed?: boolean;
|
|
807
|
-
rememberMe?: boolean;
|
|
808
|
-
}
|
|
809
|
-
export interface TenantEmailConfig {
|
|
810
|
-
settings?: {
|
|
811
|
-
[index: string]: string;
|
|
812
|
-
};
|
|
813
|
-
}
|
|
814
|
-
export interface User {
|
|
815
|
-
realm?: string;
|
|
816
|
-
realmId?: string;
|
|
817
|
-
id?: string;
|
|
818
|
-
username?: string;
|
|
819
|
-
firstName?: string;
|
|
820
|
-
lastName?: string;
|
|
821
|
-
email?: string;
|
|
822
|
-
enabled?: boolean;
|
|
823
|
-
fullName?: string;
|
|
824
|
-
}
|
|
825
|
-
export interface UserPasswordCredentials {
|
|
826
|
-
username?: string;
|
|
827
|
-
password?: string;
|
|
828
|
-
}
|
|
829
|
-
export interface RequestSimulatorState extends SharedEvent {
|
|
830
|
-
eventType: "request-simulator-state";
|
|
831
|
-
configurations?: AttributeRef[];
|
|
832
|
-
}
|
|
833
|
-
export interface SimulatorElement extends ValueHolder {
|
|
834
|
-
elementType: "color" | "number" | "switch";
|
|
835
|
-
attributeRef?: AttributeRef;
|
|
836
|
-
expectedType?: AttributeValueDescriptor;
|
|
837
|
-
elementValue?: any;
|
|
838
|
-
}
|
|
839
|
-
export interface SimulatorState extends SharedEvent {
|
|
840
|
-
eventType: "simulator-state";
|
|
841
|
-
assetIdAndName?: {
|
|
842
|
-
[index: string]: string;
|
|
843
|
-
};
|
|
844
|
-
protocolConfigurationRef?: AttributeRef;
|
|
845
|
-
elements?: SimulatorElementUnion[];
|
|
846
|
-
}
|
|
847
|
-
export interface SimulatorStateConfigurationFilter {
|
|
848
|
-
filterType: "simulator-state-configuration";
|
|
849
|
-
configurations?: AttributeRef[];
|
|
850
|
-
}
|
|
851
|
-
export interface ColorSimulatorElement extends SimulatorElement {
|
|
852
|
-
elementType: "color";
|
|
853
|
-
}
|
|
854
|
-
export interface NumberSimulatorElement extends SimulatorElement {
|
|
855
|
-
elementType: "number";
|
|
856
|
-
min?: number;
|
|
857
|
-
max?: number;
|
|
858
|
-
}
|
|
859
|
-
export interface SwitchSimulatorElement extends SimulatorElement {
|
|
860
|
-
elementType: "switch";
|
|
861
|
-
}
|
|
862
|
-
export interface SyslogConfig {
|
|
863
|
-
storedLevel?: SyslogLevel;
|
|
864
|
-
storedCategories?: SyslogCategory[];
|
|
865
|
-
storedMaxAgeMinutes?: number;
|
|
866
|
-
}
|
|
867
|
-
export interface SyslogEvent extends SharedEvent {
|
|
868
|
-
eventType: "syslog";
|
|
869
|
-
id?: number;
|
|
870
|
-
level?: SyslogLevel;
|
|
871
|
-
category?: SyslogCategory;
|
|
872
|
-
subCategory?: string;
|
|
873
|
-
message?: string;
|
|
874
|
-
}
|
|
875
|
-
export interface SyslogEventLevelCategoryFilter {
|
|
876
|
-
filterType: "level-category-filter";
|
|
877
|
-
level?: SyslogLevel;
|
|
878
|
-
categories?: SyslogCategory[];
|
|
879
|
-
}
|
|
880
|
-
export interface HealthStatusProvider {
|
|
881
|
-
healthStatus?: any;
|
|
882
|
-
healthStatusVersion?: string;
|
|
883
|
-
healthStatusName?: string;
|
|
884
|
-
}
|
|
885
|
-
export interface ConstraintViolation extends Serializable {
|
|
886
|
-
constraintType?: ConstraintViolationType;
|
|
887
|
-
path?: string;
|
|
888
|
-
message?: string;
|
|
889
|
-
value?: string;
|
|
890
|
-
}
|
|
891
|
-
export interface ConstraintViolationReport extends Serializable {
|
|
892
|
-
exception?: string;
|
|
893
|
-
fieldViolations?: ConstraintViolation[];
|
|
894
|
-
propertyViolations?: ConstraintViolation[];
|
|
895
|
-
classViolations?: ConstraintViolation[];
|
|
896
|
-
parameterViolations?: ConstraintViolation[];
|
|
897
|
-
returnValueViolations?: ConstraintViolation[];
|
|
898
|
-
allViolations?: ConstraintViolation[];
|
|
899
|
-
}
|
|
900
|
-
export interface ValueException extends RuntimeException {
|
|
901
|
-
}
|
|
902
|
-
export interface ValueFactory {
|
|
903
|
-
}
|
|
904
|
-
export interface Values {
|
|
905
|
-
}
|
|
906
|
-
export interface SimpleModule extends Module, Serializable {
|
|
907
|
-
}
|
|
908
|
-
export interface JsonDeserializer<T> extends NullValueProvider {
|
|
909
|
-
cachable?: boolean;
|
|
910
|
-
delegatee?: JsonDeserializer<any>;
|
|
911
|
-
knownPropertyNames?: any[];
|
|
912
|
-
nullValue?: T;
|
|
913
|
-
emptyAccessPattern?: AccessPattern;
|
|
914
|
-
emptyValue?: any;
|
|
915
|
-
objectIdReader?: ObjectIdReader;
|
|
916
|
-
}
|
|
917
|
-
export interface ObjectIdReader extends Serializable {
|
|
918
|
-
propertyName?: PropertyName;
|
|
919
|
-
generator?: ObjectIdGenerator<any>;
|
|
920
|
-
resolver?: ObjectIdResolver;
|
|
921
|
-
idProperty?: SettableBeanProperty;
|
|
922
|
-
idType?: JavaType;
|
|
923
|
-
deserializer?: JsonDeserializer<any>;
|
|
924
|
-
}
|
|
925
|
-
export interface JsonSerializer<T> extends JsonFormatVisitable {
|
|
926
|
-
unwrappingSerializer?: boolean;
|
|
927
|
-
delegatee?: JsonSerializer<any>;
|
|
928
|
-
}
|
|
929
|
-
export interface Class<T> extends Serializable, GenericDeclaration, Type, AnnotatedElement {
|
|
930
|
-
}
|
|
931
|
-
export interface JavaType extends ResolvedType, Serializable, Type {
|
|
932
|
-
interfaces?: JavaType[];
|
|
933
|
-
genericSignature?: string;
|
|
934
|
-
bindings?: TypeBindings;
|
|
935
|
-
contentType?: JavaType;
|
|
936
|
-
superClass?: JavaType;
|
|
937
|
-
javaLangObject?: boolean;
|
|
938
|
-
referencedType?: JavaType;
|
|
939
|
-
valueHandler?: any;
|
|
940
|
-
typeHandler?: any;
|
|
941
|
-
contentValueHandler?: any;
|
|
942
|
-
contentTypeHandler?: any;
|
|
943
|
-
erasedSignature?: string;
|
|
944
|
-
keyType?: JavaType;
|
|
945
|
-
}
|
|
946
|
-
export interface Stream<T> extends BaseStream<T, Stream<T>> {
|
|
947
|
-
}
|
|
948
|
-
export interface Serializable {
|
|
949
|
-
}
|
|
950
|
-
export interface Function<T, R> {
|
|
951
|
-
}
|
|
952
|
-
export interface Throwable extends Serializable {
|
|
953
|
-
cause?: Throwable;
|
|
954
|
-
stackTrace?: StackTraceElement[];
|
|
955
|
-
message?: string;
|
|
956
|
-
localizedMessage?: string;
|
|
957
|
-
suppressed?: Throwable[];
|
|
958
|
-
}
|
|
959
|
-
export interface StackTraceElement extends Serializable {
|
|
960
|
-
methodName?: string;
|
|
961
|
-
fileName?: string;
|
|
962
|
-
lineNumber?: number;
|
|
963
|
-
className?: string;
|
|
964
|
-
nativeMethod?: boolean;
|
|
965
|
-
}
|
|
966
|
-
export interface RuntimeException extends Exception {
|
|
967
|
-
}
|
|
968
|
-
export interface Consumer<T> {
|
|
969
|
-
}
|
|
970
|
-
export interface Module extends Versioned {
|
|
971
|
-
moduleName?: string;
|
|
972
|
-
typeId?: any;
|
|
973
|
-
}
|
|
974
|
-
export interface NullValueProvider {
|
|
975
|
-
nullAccessPattern?: AccessPattern;
|
|
976
|
-
}
|
|
977
|
-
export interface PropertyName extends Serializable {
|
|
978
|
-
empty?: boolean;
|
|
979
|
-
simpleName?: string;
|
|
980
|
-
namespace?: string;
|
|
981
|
-
}
|
|
982
|
-
export interface ObjectIdGenerator<T> extends Serializable {
|
|
983
|
-
scope?: Class<any>;
|
|
984
|
-
}
|
|
985
|
-
export interface ObjectIdResolver {
|
|
986
|
-
}
|
|
987
|
-
export interface SettableBeanProperty extends ConcreteBeanPropertyBase, Serializable {
|
|
988
|
-
valueDeserializer?: JsonDeserializer<any>;
|
|
989
|
-
objectIdInfo?: ObjectIdInfo;
|
|
990
|
-
managedReferenceName?: string;
|
|
991
|
-
ignorable?: boolean;
|
|
992
|
-
valueTypeDeserializer?: TypeDeserializer;
|
|
993
|
-
nullValueProvider?: NullValueProvider;
|
|
994
|
-
propertyIndex?: number;
|
|
995
|
-
creatorIndex?: number;
|
|
996
|
-
injectableValueId?: any;
|
|
997
|
-
}
|
|
998
|
-
export interface JsonFormatVisitable {
|
|
999
|
-
}
|
|
1000
|
-
export interface GenericDeclaration extends AnnotatedElement {
|
|
1001
|
-
typeParameters?: TypeVariable<any>[];
|
|
1002
|
-
}
|
|
1003
|
-
export interface Type {
|
|
1004
|
-
typeName?: string;
|
|
1005
|
-
}
|
|
1006
|
-
export interface AnnotatedElement {
|
|
1007
|
-
annotations?: Annotation[];
|
|
1008
|
-
declaredAnnotations?: Annotation[];
|
|
1009
|
-
}
|
|
1010
|
-
export interface TypeBindings extends Serializable {
|
|
1011
|
-
empty?: boolean;
|
|
1012
|
-
typeParameters?: JavaType[];
|
|
1013
|
-
}
|
|
1014
|
-
export interface ResolvedType {
|
|
1015
|
-
interface?: boolean;
|
|
1016
|
-
primitive?: boolean;
|
|
1017
|
-
abstract?: boolean;
|
|
1018
|
-
final?: boolean;
|
|
1019
|
-
rawClass?: Class<any>;
|
|
1020
|
-
contentType?: ResolvedType;
|
|
1021
|
-
concrete?: boolean;
|
|
1022
|
-
throwable?: boolean;
|
|
1023
|
-
arrayType?: boolean;
|
|
1024
|
-
enumType?: boolean;
|
|
1025
|
-
collectionLikeType?: boolean;
|
|
1026
|
-
referencedType?: ResolvedType;
|
|
1027
|
-
parameterSource?: Class<any>;
|
|
1028
|
-
containerType?: boolean;
|
|
1029
|
-
referenceType?: boolean;
|
|
1030
|
-
mapLikeType?: boolean;
|
|
1031
|
-
keyType?: ResolvedType;
|
|
1032
|
-
}
|
|
1033
|
-
export interface StdDeserializer<T> extends JsonDeserializer<T>, Serializable {
|
|
1034
|
-
valueClass?: Class<any>;
|
|
1035
|
-
valueType?: JavaType;
|
|
1036
|
-
}
|
|
1037
|
-
export interface Exception extends Throwable {
|
|
1038
|
-
}
|
|
1039
|
-
export interface Comparable<T> {
|
|
1040
|
-
}
|
|
1041
|
-
export interface Versioned {
|
|
1042
|
-
}
|
|
1043
|
-
export interface AnnotatedMember extends Annotated, Serializable {
|
|
1044
|
-
declaringClass?: Class<any>;
|
|
1045
|
-
fullName?: string;
|
|
1046
|
-
member?: Member;
|
|
1047
|
-
typeContext?: TypeResolutionContext;
|
|
1048
|
-
allAnnotations?: AnnotationMap;
|
|
1049
|
-
}
|
|
1050
|
-
export interface ObjectIdInfo {
|
|
1051
|
-
scope?: Class<any>;
|
|
1052
|
-
alwaysAsId?: boolean;
|
|
1053
|
-
propertyName?: PropertyName;
|
|
1054
|
-
generatorType?: Class<ObjectIdGenerator<any>>;
|
|
1055
|
-
resolverType?: Class<ObjectIdResolver>;
|
|
1056
|
-
}
|
|
1057
|
-
export interface TypeDeserializer {
|
|
1058
|
-
defaultImpl?: Class<any>;
|
|
1059
|
-
propertyName?: string;
|
|
1060
|
-
typeInclusion?: JsonTypeInfoAs;
|
|
1061
|
-
typeIdResolver?: TypeIdResolver;
|
|
1062
|
-
}
|
|
1063
|
-
export interface PropertyMetadata extends Serializable {
|
|
1064
|
-
defaultValue?: string;
|
|
1065
|
-
description?: string;
|
|
1066
|
-
index?: number;
|
|
1067
|
-
required?: boolean;
|
|
1068
|
-
valueNulls?: Nulls;
|
|
1069
|
-
contentNulls?: Nulls;
|
|
1070
|
-
mergeInfo?: PropertyMetadataMergeInfo;
|
|
1071
|
-
}
|
|
1072
|
-
export interface ConcreteBeanPropertyBase extends BeanProperty, Serializable {
|
|
1073
|
-
}
|
|
1074
|
-
export interface TypeVariable<D> extends Type, AnnotatedElement {
|
|
1075
|
-
name?: string;
|
|
1076
|
-
bounds?: Type[];
|
|
1077
|
-
genericDeclaration?: D;
|
|
1078
|
-
annotatedBounds?: AnnotatedType[];
|
|
1079
|
-
}
|
|
1080
|
-
export interface Annotation {
|
|
1081
|
-
}
|
|
1082
|
-
export interface BaseStream<T, S> extends AutoCloseable {
|
|
1083
|
-
parallel?: boolean;
|
|
1084
|
-
}
|
|
1085
|
-
export interface Member {
|
|
1086
|
-
modifiers?: number;
|
|
1087
|
-
name?: string;
|
|
1088
|
-
synthetic?: boolean;
|
|
1089
|
-
declaringClass?: Class<any>;
|
|
1090
|
-
}
|
|
1091
|
-
export interface TypeResolutionContext {
|
|
1092
|
-
}
|
|
1093
|
-
export interface AnnotationMap extends Annotations {
|
|
1094
|
-
}
|
|
1095
|
-
export interface Annotated {
|
|
1096
|
-
name?: string;
|
|
1097
|
-
type?: JavaType;
|
|
1098
|
-
genericType?: Type;
|
|
1099
|
-
public?: boolean;
|
|
1100
|
-
rawType?: Class<any>;
|
|
1101
|
-
annotated?: AnnotatedElement;
|
|
1102
|
-
}
|
|
1103
|
-
export interface TypeIdResolver {
|
|
1104
|
-
descForKnownTypeIds?: string;
|
|
1105
|
-
mechanism?: JsonTypeInfoId;
|
|
1106
|
-
}
|
|
1107
|
-
export interface PropertyMetadataMergeInfo {
|
|
1108
|
-
getter?: AnnotatedMember;
|
|
1109
|
-
fromDefaults?: boolean;
|
|
1110
|
-
}
|
|
1111
|
-
export interface BeanProperty extends Named {
|
|
1112
|
-
type?: JavaType;
|
|
1113
|
-
fullName?: PropertyName;
|
|
1114
|
-
metadata?: PropertyMetadata;
|
|
1115
|
-
virtual?: boolean;
|
|
1116
|
-
member?: AnnotatedMember;
|
|
1117
|
-
required?: boolean;
|
|
1118
|
-
wrapperName?: PropertyName;
|
|
1119
|
-
}
|
|
1120
|
-
export interface AnnotatedType extends AnnotatedElement {
|
|
1121
|
-
type?: Type;
|
|
1122
|
-
}
|
|
1123
|
-
export interface AutoCloseable {
|
|
1124
|
-
}
|
|
1125
|
-
export interface Annotations {
|
|
1126
|
-
}
|
|
1127
|
-
export interface Named {
|
|
1128
|
-
name?: string;
|
|
1129
|
-
}
|
|
1130
|
-
export declare type SharedEventUnion = SyslogEvent | AttributeEvent | AssetEvent | ReadAssetAttributesEvent | ReadAssetEvent | AssetTreeModifiedEvent | SimulatorState | RequestSimulatorState | AgentStatusEvent | RulesEngineStatusEvent | RulesetChangedEvent;
|
|
1131
|
-
export declare type GeoJSONUnion = GeoJSONFeatureCollection | GeoJSONFeature;
|
|
1132
|
-
export declare type GeoJSONGeometryUnion = GeoJSONPoint;
|
|
1133
|
-
export declare type AbstractNotificationMessageUnion = PushNotificationMessage | EmailNotificationMessage;
|
|
1134
|
-
export declare type ValuePredicateUnion = StringPredicate | BooleanPredicate | StringArrayPredicate | DateTimePredicate | NumberPredicate | RadialGeofencePredicate | RectangularGeofencePredicate;
|
|
1135
|
-
export declare type RulesetUnion = AssetRuleset | TenantRuleset | GlobalRuleset;
|
|
1136
|
-
export declare type RuleActionUnion = RuleActionWait | RuleActionWriteAttribute | RuleActionNotification | RuleActionUpdateAttribute;
|
|
1137
|
-
export declare type SimulatorElementUnion = NumberSimulatorElement | SwitchSimulatorElement | ColorSimulatorElement;
|
|
1138
|
-
export declare const enum AssetEventCause {
|
|
1139
|
-
CREATE = "CREATE",
|
|
1140
|
-
READ = "READ",
|
|
1141
|
-
UPDATE = "UPDATE",
|
|
1142
|
-
DELETE = "DELETE"
|
|
1143
|
-
}
|
|
1144
|
-
export declare const enum ConnectionStatus {
|
|
1145
|
-
UNKNOWN = "UNKNOWN",
|
|
1146
|
-
DISCONNECTED = "DISCONNECTED",
|
|
1147
|
-
CONNECTING = "CONNECTING",
|
|
1148
|
-
DISCONNECTING = "DISCONNECTING",
|
|
1149
|
-
CONNECTED = "CONNECTED",
|
|
1150
|
-
DISABLED = "DISABLED",
|
|
1151
|
-
WAITING = "WAITING",
|
|
1152
|
-
ERROR_AUTHENTICATION = "ERROR_AUTHENTICATION",
|
|
1153
|
-
ERROR_CONFIGURATION = "ERROR_CONFIGURATION",
|
|
1154
|
-
ERROR = "ERROR"
|
|
1155
|
-
}
|
|
1156
|
-
export declare const enum AttributeEventSource {
|
|
1157
|
-
CLIENT = "CLIENT",
|
|
1158
|
-
INTERNAL = "INTERNAL",
|
|
1159
|
-
ATTRIBUTE_LINKING_SERVICE = "ATTRIBUTE_LINKING_SERVICE",
|
|
1160
|
-
SENSOR = "SENSOR"
|
|
1161
|
-
}
|
|
1162
|
-
export declare const enum AttributeExecuteStatus {
|
|
1163
|
-
REQUEST_START = "REQUEST_START",
|
|
1164
|
-
REQUEST_REPEATING = "REQUEST_REPEATING",
|
|
1165
|
-
REQUEST_CANCEL = "REQUEST_CANCEL",
|
|
1166
|
-
READY = "READY",
|
|
1167
|
-
COMPLETED = "COMPLETED",
|
|
1168
|
-
RUNNING = "RUNNING",
|
|
1169
|
-
CANCELLED = "CANCELLED",
|
|
1170
|
-
ERROR = "ERROR",
|
|
1171
|
-
DISABLED = "DISABLED"
|
|
1172
|
-
}
|
|
1173
|
-
export declare const enum AttributeLinkConverterType {
|
|
1174
|
-
IGNORE = "IGNORE",
|
|
1175
|
-
NULL = "NULL",
|
|
1176
|
-
TOGGLE = "TOGGLE",
|
|
1177
|
-
INCREMENT = "INCREMENT",
|
|
1178
|
-
DECREMENT = "DECREMENT"
|
|
1179
|
-
}
|
|
1180
|
-
export declare const enum MetaItemDescriptorPatternFailure {
|
|
1181
|
-
INTEGER = "INTEGER",
|
|
1182
|
-
INTEGER_NON_ZERO = "INTEGER_NON_ZERO",
|
|
1183
|
-
INTEGER_POSITIVE = "INTEGER_POSITIVE",
|
|
1184
|
-
INTEGER_NEGATIVE = "INTEGER_NEGATIVE",
|
|
1185
|
-
INTEGER_POSITIVE_NON_ZERO = "INTEGER_POSITIVE_NON_ZERO",
|
|
1186
|
-
INTEGER_NEGATIVE_NON_ZERO = "INTEGER_NEGATIVE_NON_ZERO",
|
|
1187
|
-
DOUBLE = "DOUBLE",
|
|
1188
|
-
DOUBLE_POSITIVE = "DOUBLE_POSITIVE",
|
|
1189
|
-
DOUBLE_NEGATIVE = "DOUBLE_NEGATIVE",
|
|
1190
|
-
DOUBLE_POSITIVE_NON_ZERO = "DOUBLE_POSITIVE_NON_ZERO",
|
|
1191
|
-
DOUBLE_NEGATIVE_NON_ZERO = "DOUBLE_NEGATIVE_NON_ZERO",
|
|
1192
|
-
CRON_EXPRESSION = "CRON_EXPRESSION",
|
|
1193
|
-
DAYS_HOURS_MINS_SECONDS = "DAYS_HOURS_MINS_SECONDS",
|
|
1194
|
-
STRING_EMPTY = "STRING_EMPTY",
|
|
1195
|
-
STRING_EMPTY_OR_CONTAINS_WHITESPACE = "STRING_EMPTY_OR_CONTAINS_WHITESPACE",
|
|
1196
|
-
HTTP_URL = "HTTP_URL"
|
|
1197
|
-
}
|
|
1198
|
-
export declare const enum RecurrenceRuleFrequency {
|
|
1199
|
-
YEARLY = "YEARLY",
|
|
1200
|
-
MONTHLY = "MONTHLY",
|
|
1201
|
-
WEEKLY = "WEEKLY",
|
|
1202
|
-
DAILY = "DAILY"
|
|
1203
|
-
}
|
|
1204
|
-
export declare const enum DatapointInterval {
|
|
1205
|
-
HOUR = "HOUR",
|
|
1206
|
-
DAY = "DAY",
|
|
1207
|
-
WEEK = "WEEK",
|
|
1208
|
-
MONTH = "MONTH",
|
|
1209
|
-
YEAR = "YEAR"
|
|
1210
|
-
}
|
|
1211
|
-
export declare const enum NotificationSource {
|
|
1212
|
-
INTERNAL = "INTERNAL",
|
|
1213
|
-
CLIENT = "CLIENT",
|
|
1214
|
-
GLOBAL_RULESET = "GLOBAL_RULESET",
|
|
1215
|
-
TENANT_RULESET = "TENANT_RULESET",
|
|
1216
|
-
ASSET_RULESET = "ASSET_RULESET"
|
|
1217
|
-
}
|
|
1218
|
-
export declare const enum NotificationTargetType {
|
|
1219
|
-
TENANT = "TENANT",
|
|
1220
|
-
USER = "USER",
|
|
1221
|
-
ASSET = "ASSET"
|
|
1222
|
-
}
|
|
1223
|
-
export declare const enum PushNotificationMessageMessagePriority {
|
|
1224
|
-
NORMAL = "NORMAL",
|
|
1225
|
-
HIGH = "HIGH"
|
|
1226
|
-
}
|
|
1227
|
-
export declare const enum PushNotificationMessageTargetType {
|
|
1228
|
-
DEVICE = "DEVICE",
|
|
1229
|
-
TOPIC = "TOPIC",
|
|
1230
|
-
CONDITION = "CONDITION"
|
|
1231
|
-
}
|
|
1232
|
-
export declare const enum RepeatFrequency {
|
|
1233
|
-
ALWAYS = "ALWAYS",
|
|
1234
|
-
ONCE = "ONCE",
|
|
1235
|
-
HOURLY = "HOURLY",
|
|
1236
|
-
DAILY = "DAILY",
|
|
1237
|
-
WEEKLY = "WEEKLY",
|
|
1238
|
-
MONTHLY = "MONTHLY",
|
|
1239
|
-
ANNUALLY = "ANNUALLY"
|
|
1240
|
-
}
|
|
1241
|
-
export declare const enum BaseAssetQueryAccess {
|
|
1242
|
-
PRIVATE_READ = "PRIVATE_READ",
|
|
1243
|
-
RESTRICTED_READ = "RESTRICTED_READ",
|
|
1244
|
-
PUBLIC_READ = "PUBLIC_READ"
|
|
1245
|
-
}
|
|
1246
|
-
export declare const enum BaseAssetQueryInclude {
|
|
1247
|
-
ALL_EXCEPT_PATH_AND_ATTRIBUTES = "ALL_EXCEPT_PATH_AND_ATTRIBUTES",
|
|
1248
|
-
ALL_EXCEPT_PATH = "ALL_EXCEPT_PATH",
|
|
1249
|
-
ALL_EXCEPT_ATTRIBUTES = "ALL_EXCEPT_ATTRIBUTES",
|
|
1250
|
-
ONLY_ID_AND_NAME = "ONLY_ID_AND_NAME",
|
|
1251
|
-
ONLY_ID_AND_NAME_AND_ATTRIBUTES = "ONLY_ID_AND_NAME_AND_ATTRIBUTES",
|
|
1252
|
-
ONLY_ID_AND_NAME_AND_ATTRIBUTE_NAMES = "ONLY_ID_AND_NAME_AND_ATTRIBUTE_NAMES",
|
|
1253
|
-
ALL = "ALL"
|
|
1254
|
-
}
|
|
1255
|
-
export declare const enum BaseAssetQueryMatch {
|
|
1256
|
-
EXACT = "EXACT",
|
|
1257
|
-
NOT_EXACT = "NOT_EXACT",
|
|
1258
|
-
BEGIN = "BEGIN",
|
|
1259
|
-
END = "END",
|
|
1260
|
-
CONTAINS = "CONTAINS"
|
|
1261
|
-
}
|
|
1262
|
-
export declare const enum BaseAssetQueryNumberType {
|
|
1263
|
-
DOUBLE = "DOUBLE",
|
|
1264
|
-
INTEGER = "INTEGER"
|
|
1265
|
-
}
|
|
1266
|
-
export declare const enum BaseAssetQueryOperator {
|
|
1267
|
-
EQUALS = "EQUALS",
|
|
1268
|
-
NOT_EQUALS = "NOT_EQUALS",
|
|
1269
|
-
GREATER_THAN = "GREATER_THAN",
|
|
1270
|
-
GREATER_EQUALS = "GREATER_EQUALS",
|
|
1271
|
-
LESS_THAN = "LESS_THAN",
|
|
1272
|
-
LESS_EQUALS = "LESS_EQUALS",
|
|
1273
|
-
BETWEEN = "BETWEEN"
|
|
1274
|
-
}
|
|
1275
|
-
export declare const enum BaseAssetQueryOrderBy$Property {
|
|
1276
|
-
CREATED_ON = "CREATED_ON",
|
|
1277
|
-
NAME = "NAME",
|
|
1278
|
-
ASSET_TYPE = "ASSET_TYPE",
|
|
1279
|
-
PARENT_ID = "PARENT_ID",
|
|
1280
|
-
REALM = "REALM"
|
|
1281
|
-
}
|
|
1282
|
-
export declare const enum RulesEngineStatus {
|
|
1283
|
-
STOPPED = "STOPPED",
|
|
1284
|
-
RUNNING = "RUNNING",
|
|
1285
|
-
ERROR = "ERROR"
|
|
1286
|
-
}
|
|
1287
|
-
export declare const enum RulesetLang {
|
|
1288
|
-
JAVASCRIPT = "JAVASCRIPT",
|
|
1289
|
-
GROOVY = "GROOVY",
|
|
1290
|
-
JSON = "JSON"
|
|
1291
|
-
}
|
|
1292
|
-
export declare const enum RulesetStatus {
|
|
1293
|
-
READY = "READY",
|
|
1294
|
-
DEPLOYED = "DEPLOYED",
|
|
1295
|
-
COMPILATION_ERROR = "COMPILATION_ERROR",
|
|
1296
|
-
EXECUTION_ERROR = "EXECUTION_ERROR",
|
|
1297
|
-
DISABLED = "DISABLED",
|
|
1298
|
-
REMOVED = "REMOVED"
|
|
1299
|
-
}
|
|
1300
|
-
export declare const enum RuleActionUpdateAttributeUpdateAction {
|
|
1301
|
-
ADD = "ADD",
|
|
1302
|
-
ADD_OR_REPLACE = "ADD_OR_REPLACE",
|
|
1303
|
-
REPLACE = "REPLACE",
|
|
1304
|
-
DELETE = "DELETE",
|
|
1305
|
-
CLEAR = "CLEAR"
|
|
1306
|
-
}
|
|
1307
|
-
export declare const enum RuleOperator {
|
|
1308
|
-
AND = "AND",
|
|
1309
|
-
OR = "OR"
|
|
1310
|
-
}
|
|
1311
|
-
export declare const enum ClientRole {
|
|
1312
|
-
READ_ADMIN = "READ_ADMIN",
|
|
1313
|
-
READ_MAP = "READ_MAP",
|
|
1314
|
-
READ_ASSETS = "READ_ASSETS",
|
|
1315
|
-
READ_RULES = "READ_RULES",
|
|
1316
|
-
READ_CONSOLES = "READ_CONSOLES",
|
|
1317
|
-
WRITE_USER = "WRITE_USER",
|
|
1318
|
-
WRITE_ADMIN = "WRITE_ADMIN",
|
|
1319
|
-
WRITE_ASSETS = "WRITE_ASSETS",
|
|
1320
|
-
WRITE_RULES = "WRITE_RULES",
|
|
1321
|
-
READ = "READ",
|
|
1322
|
-
WRITE = "WRITE"
|
|
1323
|
-
}
|
|
1324
|
-
export declare const enum SyslogCategory {
|
|
1325
|
-
ASSET = "ASSET",
|
|
1326
|
-
AGENT = "AGENT",
|
|
1327
|
-
NOTIFICATION = "NOTIFICATION",
|
|
1328
|
-
RULES = "RULES",
|
|
1329
|
-
PROTOCOL = "PROTOCOL"
|
|
1330
|
-
}
|
|
1331
|
-
export declare const enum SyslogLevel {
|
|
1332
|
-
INFO = "INFO",
|
|
1333
|
-
WARN = "WARN",
|
|
1334
|
-
ERROR = "ERROR"
|
|
1335
|
-
}
|
|
1336
|
-
export declare const enum ConstraintViolationType {
|
|
1337
|
-
CLASS = "CLASS",
|
|
1338
|
-
FIELD = "FIELD",
|
|
1339
|
-
PROPERTY = "PROPERTY",
|
|
1340
|
-
PARAMETER = "PARAMETER",
|
|
1341
|
-
RETURN_VALUE = "RETURN_VALUE"
|
|
1342
|
-
}
|
|
1343
|
-
export declare const enum ValueType {
|
|
1344
|
-
OBJECT = "OBJECT",
|
|
1345
|
-
ARRAY = "ARRAY",
|
|
1346
|
-
STRING = "STRING",
|
|
1347
|
-
NUMBER = "NUMBER",
|
|
1348
|
-
BOOLEAN = "BOOLEAN"
|
|
1349
|
-
}
|
|
1350
|
-
export declare const enum AccessPattern {
|
|
1351
|
-
ALWAYS_NULL = "ALWAYS_NULL",
|
|
1352
|
-
CONSTANT = "CONSTANT",
|
|
1353
|
-
DYNAMIC = "DYNAMIC"
|
|
1354
|
-
}
|
|
1355
|
-
export declare const enum JsonTypeInfoAs {
|
|
1356
|
-
PROPERTY = "PROPERTY",
|
|
1357
|
-
WRAPPER_OBJECT = "WRAPPER_OBJECT",
|
|
1358
|
-
WRAPPER_ARRAY = "WRAPPER_ARRAY",
|
|
1359
|
-
EXTERNAL_PROPERTY = "EXTERNAL_PROPERTY",
|
|
1360
|
-
EXISTING_PROPERTY = "EXISTING_PROPERTY"
|
|
1361
|
-
}
|
|
1362
|
-
export declare const enum Nulls {
|
|
1363
|
-
SET = "SET",
|
|
1364
|
-
SKIP = "SKIP",
|
|
1365
|
-
FAIL = "FAIL",
|
|
1366
|
-
AS_EMPTY = "AS_EMPTY",
|
|
1367
|
-
DEFAULT = "DEFAULT"
|
|
1368
|
-
}
|
|
1369
|
-
export declare const enum JsonTypeInfoId {
|
|
1370
|
-
NONE = "NONE",
|
|
1371
|
-
CLASS = "CLASS",
|
|
1372
|
-
MINIMAL_CLASS = "MINIMAL_CLASS",
|
|
1373
|
-
NAME = "NAME",
|
|
1374
|
-
CUSTOM = "CUSTOM"
|
|
1375
|
-
}
|
|
1376
|
-
export declare class ValueHolderValueFailureReason implements ValidationFailureReason {
|
|
1377
|
-
readonly name: string;
|
|
1378
|
-
static readonly VALUE_PERCENTAGE_OUT_OF_RANGE: ValueHolderValueFailureReason;
|
|
1379
|
-
static readonly VALUE_INVALID_COLOR_FORMAT: ValueHolderValueFailureReason;
|
|
1380
|
-
static readonly VALUE_TEMPERATURE_OUT_OF_RANGE: ValueHolderValueFailureReason;
|
|
1381
|
-
static readonly VALUE_NUMBER_OUT_OF_RANGE: ValueHolderValueFailureReason;
|
|
1382
|
-
static readonly VALUE_INVALID_EMAIL_FORMAT: ValueHolderValueFailureReason;
|
|
1383
|
-
static readonly VALUE_INVALID: ValueHolderValueFailureReason;
|
|
1384
|
-
static readonly VALUE_MISMATCH: ValueHolderValueFailureReason;
|
|
1385
|
-
static readonly VALUE_REQUIRED: ValueHolderValueFailureReason;
|
|
1386
|
-
static readonly VALUE_SOUND_OUT_OF_RANGE: ValueHolderValueFailureReason;
|
|
1387
|
-
private constructor();
|
|
1388
|
-
toString(): string;
|
|
1389
|
-
}
|
|
1390
|
-
export declare class AssetAssetTypeFailureReason implements ValidationFailureReason {
|
|
1391
|
-
readonly name: string;
|
|
1392
|
-
static readonly ASSET_TYPE_MISMATCH: AssetAssetTypeFailureReason;
|
|
1393
|
-
static readonly ASSET_TYPE_NOT_SUPPORTED: AssetAssetTypeFailureReason;
|
|
1394
|
-
private constructor();
|
|
1395
|
-
toString(): string;
|
|
1396
|
-
}
|
|
1397
|
-
export declare class ProtocolConfigurationValidationFailureReason implements ValidationFailureReason {
|
|
1398
|
-
readonly name: string;
|
|
1399
|
-
static readonly VALUE_NOT_A_VALID_PROTOCOL_URN: ProtocolConfigurationValidationFailureReason;
|
|
1400
|
-
private constructor();
|
|
1401
|
-
toString(): string;
|
|
1402
|
-
}
|
|
1403
|
-
export declare class AttributeAttributeFailureReason implements ValidationFailureReason {
|
|
1404
|
-
readonly name: string;
|
|
1405
|
-
static readonly ATTRIBUTE_NAME_INVALID: AttributeAttributeFailureReason;
|
|
1406
|
-
static readonly ATTRIBUTE_TYPE_MISSING: AttributeAttributeFailureReason;
|
|
1407
|
-
static readonly ATTRIBUTE_VALUE_TIMESTAMP_MISSING: AttributeAttributeFailureReason;
|
|
1408
|
-
private constructor();
|
|
1409
|
-
toString(): string;
|
|
1410
|
-
}
|
|
1411
|
-
export declare class AttributeValueTypeAttributeValueTypeFailureReason implements ValidationFailureReason {
|
|
1412
|
-
readonly name: string;
|
|
1413
|
-
static readonly ATTRIBUTE_TYPE_VALUE_DOES_NOT_MATCH: AttributeValueTypeAttributeValueTypeFailureReason;
|
|
1414
|
-
private constructor();
|
|
1415
|
-
toString(): string;
|
|
1416
|
-
}
|
|
1417
|
-
export declare class MetaItemMetaItemFailureReason implements ValidationFailureReason {
|
|
1418
|
-
readonly name: string;
|
|
1419
|
-
static readonly META_ITEM_NAME_IS_REQUIRED: MetaItemMetaItemFailureReason;
|
|
1420
|
-
static readonly META_ITEM_VALUE_IS_REQUIRED: MetaItemMetaItemFailureReason;
|
|
1421
|
-
static readonly META_ITEM_MISSING: MetaItemMetaItemFailureReason;
|
|
1422
|
-
static readonly META_ITEM_DUPLICATION: MetaItemMetaItemFailureReason;
|
|
1423
|
-
static readonly META_ITEM_VALUE_MISMATCH: MetaItemMetaItemFailureReason;
|
|
1424
|
-
private constructor();
|
|
1425
|
-
toString(): string;
|
|
1426
|
-
}
|
|
1427
|
-
export declare class MetaItemType implements MetaItemDescriptor {
|
|
1428
|
-
readonly name: string;
|
|
1429
|
-
readonly urn?: string | undefined;
|
|
1430
|
-
readonly access?: MetaItemDescriptorAccess | undefined;
|
|
1431
|
-
readonly valueType?: ValueType | undefined;
|
|
1432
|
-
readonly initialValue?: any;
|
|
1433
|
-
readonly valueFixed?: boolean | undefined;
|
|
1434
|
-
readonly maxPerAttribute?: number | undefined;
|
|
1435
|
-
readonly required?: boolean | undefined;
|
|
1436
|
-
readonly pattern?: string | undefined;
|
|
1437
|
-
readonly patternFailureMessage?: string | undefined;
|
|
1438
|
-
readonly validator?: Function<any, ValidationFailure> | undefined;
|
|
1439
|
-
static readonly PROTOCOL_CONFIGURATION: MetaItemType;
|
|
1440
|
-
static readonly AGENT_LINK: MetaItemType;
|
|
1441
|
-
static readonly ATTRIBUTE_LINK: MetaItemType;
|
|
1442
|
-
static readonly LABEL: MetaItemType;
|
|
1443
|
-
static readonly SHOW_ON_DASHBOARD: MetaItemType;
|
|
1444
|
-
static readonly FORMAT: MetaItemType;
|
|
1445
|
-
static readonly DESCRIPTION: MetaItemType;
|
|
1446
|
-
static readonly ABOUT: MetaItemType;
|
|
1447
|
-
static readonly READ_ONLY: MetaItemType;
|
|
1448
|
-
static readonly ACCESS_RESTRICTED_READ: MetaItemType;
|
|
1449
|
-
static readonly ACCESS_RESTRICTED_WRITE: MetaItemType;
|
|
1450
|
-
static readonly ACCESS_PUBLIC_READ: MetaItemType;
|
|
1451
|
-
static readonly ACCESS_PUBLIC_WRITE: MetaItemType;
|
|
1452
|
-
static readonly RANGE_MIN: MetaItemType;
|
|
1453
|
-
static readonly RANGE_MAX: MetaItemType;
|
|
1454
|
-
static readonly STEP: MetaItemType;
|
|
1455
|
-
static readonly PATTERN: MetaItemType;
|
|
1456
|
-
static readonly STORE_DATA_POINTS: MetaItemType;
|
|
1457
|
-
static readonly DATA_POINTS_MAX_AGE_DAYS: MetaItemType;
|
|
1458
|
-
static readonly RULE_STATE: MetaItemType;
|
|
1459
|
-
static readonly RULE_EVENT: MetaItemType;
|
|
1460
|
-
static readonly RULE_EVENT_EXPIRES: MetaItemType;
|
|
1461
|
-
static readonly DISABLED: MetaItemType;
|
|
1462
|
-
static readonly EXECUTABLE: MetaItemType;
|
|
1463
|
-
private constructor();
|
|
1464
|
-
toString(): string;
|
|
1465
|
-
}
|
|
1466
|
-
export declare class AttributeValueType implements AttributeValueDescriptor {
|
|
1467
|
-
readonly name: string;
|
|
1468
|
-
readonly icon?: string | undefined;
|
|
1469
|
-
readonly valueType?: ValueType | undefined;
|
|
1470
|
-
readonly metaItemDescriptors?: MetaItemDescriptor[] | undefined;
|
|
1471
|
-
static readonly STRING: AttributeValueType;
|
|
1472
|
-
static readonly NUMBER: AttributeValueType;
|
|
1473
|
-
static readonly BOOLEAN: AttributeValueType;
|
|
1474
|
-
static readonly OBJECT: AttributeValueType;
|
|
1475
|
-
static readonly ARRAY: AttributeValueType;
|
|
1476
|
-
static readonly RULES_TEMPLATE_FILTER: AttributeValueType;
|
|
1477
|
-
static readonly PERCENTAGE: AttributeValueType;
|
|
1478
|
-
static readonly TIMESTAMP_MILLIS: AttributeValueType;
|
|
1479
|
-
static readonly TIMESTAMP_SECONDS: AttributeValueType;
|
|
1480
|
-
static readonly TIME_SECONDS: AttributeValueType;
|
|
1481
|
-
static readonly TIME_MINUTES: AttributeValueType;
|
|
1482
|
-
static readonly DATETIME: AttributeValueType;
|
|
1483
|
-
static readonly COLOR_RGB: AttributeValueType;
|
|
1484
|
-
static readonly COLOR_ARGB: AttributeValueType;
|
|
1485
|
-
static readonly COLOR_HEX: AttributeValueType;
|
|
1486
|
-
static readonly SOUND_DB: AttributeValueType;
|
|
1487
|
-
static readonly TEMPERATURE_CELCIUS: AttributeValueType;
|
|
1488
|
-
static readonly TEMPERATURE_KELVIN: AttributeValueType;
|
|
1489
|
-
static readonly TEMPERATURE_FAHRENHEIT: AttributeValueType;
|
|
1490
|
-
static readonly RAINFALL: AttributeValueType;
|
|
1491
|
-
static readonly BRIGHTNESS_LUX: AttributeValueType;
|
|
1492
|
-
static readonly DISTANCE_M: AttributeValueType;
|
|
1493
|
-
static readonly DISTANCE_CM: AttributeValueType;
|
|
1494
|
-
static readonly DISTANCE_MM: AttributeValueType;
|
|
1495
|
-
static readonly DISTANCE_IN: AttributeValueType;
|
|
1496
|
-
static readonly DISTANCE_FT: AttributeValueType;
|
|
1497
|
-
static readonly DISTANCE_YARD: AttributeValueType;
|
|
1498
|
-
static readonly SPEED_MS: AttributeValueType;
|
|
1499
|
-
static readonly SPEED_KPH: AttributeValueType;
|
|
1500
|
-
static readonly SPEED_MPH: AttributeValueType;
|
|
1501
|
-
static readonly CO2_PPM: AttributeValueType;
|
|
1502
|
-
static readonly HUMIDITY_PERCENTAGE: AttributeValueType;
|
|
1503
|
-
static readonly HUMIDITY_GPCM: AttributeValueType;
|
|
1504
|
-
static readonly POWER_WATT: AttributeValueType;
|
|
1505
|
-
static readonly POWER_KILOWATT: AttributeValueType;
|
|
1506
|
-
static readonly POWER_MEGAWATT: AttributeValueType;
|
|
1507
|
-
static readonly POWER_PERCENTAGE: AttributeValueType;
|
|
1508
|
-
static readonly CHARGE_PERCENTAGE: AttributeValueType;
|
|
1509
|
-
static readonly CHARGE_KWH: AttributeValueType;
|
|
1510
|
-
static readonly ENERGY_KWH: AttributeValueType;
|
|
1511
|
-
static readonly ENERGY_JOULE: AttributeValueType;
|
|
1512
|
-
static readonly ENERGY_MEGAJOULE: AttributeValueType;
|
|
1513
|
-
static readonly FLOW_LPM: AttributeValueType;
|
|
1514
|
-
static readonly FLOW_CMPS: AttributeValueType;
|
|
1515
|
-
static readonly FLOW_CCMPS: AttributeValueType;
|
|
1516
|
-
static readonly FLOW_CFPS: AttributeValueType;
|
|
1517
|
-
static readonly FLOW_GPM: AttributeValueType;
|
|
1518
|
-
static readonly DIRECTION_DECIMAL_DEGREES: AttributeValueType;
|
|
1519
|
-
static readonly GEO_JSON_POINT: AttributeValueType;
|
|
1520
|
-
static readonly EMAIL: AttributeValueType;
|
|
1521
|
-
private constructor();
|
|
1522
|
-
toString(): string;
|
|
1523
|
-
}
|
|
1524
|
-
export declare class AttributeType implements AttributeDescriptor {
|
|
1525
|
-
readonly name: string;
|
|
1526
|
-
readonly attributeName?: string | undefined;
|
|
1527
|
-
readonly valueDescriptor?: AttributeValueDescriptor | undefined;
|
|
1528
|
-
readonly initialValue?: any;
|
|
1529
|
-
readonly metaItemDescriptors?: MetaItemDescriptor[] | undefined;
|
|
1530
|
-
static readonly CONSOLE_NAME: AttributeType;
|
|
1531
|
-
static readonly CONSOLE_VERSION: AttributeType;
|
|
1532
|
-
static readonly CONSOLE_PLATFORM: AttributeType;
|
|
1533
|
-
static readonly CONSOLE_PROVIDERS: AttributeType;
|
|
1534
|
-
static readonly EMAIL: AttributeType;
|
|
1535
|
-
static readonly GEO_CITY: AttributeType;
|
|
1536
|
-
static readonly GEO_COUNTRY: AttributeType;
|
|
1537
|
-
static readonly GEO_POSTAL_CODE: AttributeType;
|
|
1538
|
-
static readonly GEO_STREET: AttributeType;
|
|
1539
|
-
static readonly LOCATION: AttributeType;
|
|
1540
|
-
static readonly SURFACE_AREA: AttributeType;
|
|
1541
|
-
private constructor();
|
|
1542
|
-
toString(): string;
|
|
1543
|
-
}
|
|
1544
|
-
export declare class AssetType implements AssetDescriptor {
|
|
1545
|
-
readonly name: string;
|
|
1546
|
-
readonly type?: string | undefined;
|
|
1547
|
-
readonly icon?: string | undefined;
|
|
1548
|
-
readonly accessPublicRead?: boolean | undefined;
|
|
1549
|
-
readonly attributeDescriptors?: AttributeDescriptor[] | undefined;
|
|
1550
|
-
static readonly CUSTOM: AssetType;
|
|
1551
|
-
static readonly BUILDING: AssetType;
|
|
1552
|
-
static readonly FLOOR: AssetType;
|
|
1553
|
-
static readonly RESIDENCE: AssetType;
|
|
1554
|
-
static readonly ROOM: AssetType;
|
|
1555
|
-
static readonly AGENT: AssetType;
|
|
1556
|
-
static readonly CONSOLE: AssetType;
|
|
1557
|
-
static readonly THING: AssetType;
|
|
1558
|
-
private constructor();
|
|
1559
|
-
toString(): string;
|
|
1560
|
-
}
|
|
1561
|
-
export declare class ConsoleConfigurationValidationFailureReason implements ValidationFailureReason {
|
|
1562
|
-
readonly name: string;
|
|
1563
|
-
static readonly NAME_MISSING_OR_INVALID: ConsoleConfigurationValidationFailureReason;
|
|
1564
|
-
static readonly VERSION_MISSING_OR_INVALID: ConsoleConfigurationValidationFailureReason;
|
|
1565
|
-
static readonly PLATFORM_MISSING_OR_INVALID: ConsoleConfigurationValidationFailureReason;
|
|
1566
|
-
static readonly PROVIDERS_INVALID: ConsoleConfigurationValidationFailureReason;
|
|
1567
|
-
private constructor();
|
|
1568
|
-
toString(): string;
|
|
1569
|
-
}
|