@openremote/model 1.0.3 → 1.2.0-snapshot.20240512153846

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/lib/model.d.ts ADDED
@@ -0,0 +1,2484 @@
1
+ export interface PersistenceEvent<T> {
2
+ cause?: PersistenceEventCause;
3
+ entity?: T;
4
+ propertyNames?: any[];
5
+ currentState?: any[];
6
+ previousState?: any[];
7
+ }
8
+ export interface ConsoleAppConfig {
9
+ id?: any;
10
+ realm?: any;
11
+ initialUrl?: any;
12
+ url?: any;
13
+ menuEnabled?: any;
14
+ menuPosition?: ConsoleAppConfigMenuPosition;
15
+ primaryColor?: any;
16
+ secondaryColor?: any;
17
+ links?: ConsoleAppConfigAppLink[];
18
+ }
19
+ export interface ConsoleAppConfigAppLink {
20
+ displayText?: any;
21
+ pageLink?: any;
22
+ }
23
+ export interface Asset extends AssetInfo {
24
+ id?: any;
25
+ version?: number;
26
+ createdOn?: DateAsNumber;
27
+ name?: any;
28
+ accessPublicRead?: boolean;
29
+ parentId?: any;
30
+ realm?: any;
31
+ type?: any;
32
+ path?: any[];
33
+ attributes?: {
34
+ [index: string]: Attribute<any>;
35
+ };
36
+ }
37
+ export interface AssetDescriptor extends NameHolder {
38
+ descriptorType: "asset" | "agent";
39
+ icon?: any;
40
+ colour?: any;
41
+ dynamic?: any;
42
+ }
43
+ export interface AssetEvent extends SharedEvent, AssetInfo {
44
+ eventType: "asset";
45
+ cause?: AssetEventCause;
46
+ asset?: Asset;
47
+ updatedProperties?: any[];
48
+ }
49
+ export interface AssetFilter {
50
+ filterType: "asset";
51
+ assetIds?: any[];
52
+ assetTypes?: any[];
53
+ assetClasses?: any[];
54
+ realm?: any;
55
+ parentIds?: any[];
56
+ path?: any[];
57
+ attributeNames?: any[];
58
+ publicEvents?: boolean;
59
+ restrictedEvents?: boolean;
60
+ internal?: boolean;
61
+ }
62
+ export interface AssetInfo {
63
+ }
64
+ export interface AssetTreeNode {
65
+ asset?: Asset;
66
+ children?: AssetTreeNode[];
67
+ }
68
+ export interface AssetTypeInfo {
69
+ assetDescriptor?: AssetDescriptor;
70
+ attributeDescriptors?: AttributeDescriptor[];
71
+ metaItemDescriptors: string[];
72
+ valueDescriptors: string[];
73
+ }
74
+ export interface AssetsEvent extends SharedEvent {
75
+ eventType: "assets";
76
+ assets?: Asset[];
77
+ }
78
+ export interface DeleteAssetsRequestEvent extends SharedEvent {
79
+ eventType: "delete-assets-request";
80
+ assetIds?: any[];
81
+ }
82
+ export interface DeleteAssetsResponseEvent extends SharedEvent {
83
+ eventType: "delete-assets-response";
84
+ deleted?: boolean;
85
+ assetIds?: any[];
86
+ }
87
+ export interface HasAssetQuery {
88
+ }
89
+ export interface ReadAssetEvent extends SharedEvent, HasAssetQuery {
90
+ eventType: "read-asset";
91
+ assetId?: any;
92
+ assetQuery?: AssetQuery;
93
+ }
94
+ export interface ReadAssetsEvent extends SharedEvent, HasAssetQuery {
95
+ eventType: "read-assets";
96
+ assetQuery?: AssetQuery;
97
+ }
98
+ export interface ReadAttributeEvent extends SharedEvent, HasAssetQuery {
99
+ eventType: "read-asset-attribute";
100
+ ref?: AttributeRef;
101
+ assetQuery?: AssetQuery;
102
+ }
103
+ export interface UserAssetLink {
104
+ id?: UserAssetLinkId;
105
+ createdOn?: DateAsNumber;
106
+ assetName?: any;
107
+ parentAssetName?: any;
108
+ userFullName?: any;
109
+ }
110
+ export interface UserAssetLinkId {
111
+ realm?: any;
112
+ userId?: any;
113
+ assetId?: any;
114
+ }
115
+ export interface Agent extends Asset {
116
+ id?: any;
117
+ version?: number;
118
+ createdOn?: DateAsNumber;
119
+ name?: any;
120
+ accessPublicRead?: boolean;
121
+ parentId?: any;
122
+ realm?: any;
123
+ type?: any;
124
+ path?: any[];
125
+ attributes?: {
126
+ [index: string]: Attribute<any>;
127
+ };
128
+ }
129
+ export interface AgentDescriptor extends AssetDescriptor {
130
+ descriptorType: "agent";
131
+ name?: any;
132
+ icon?: any;
133
+ colour?: any;
134
+ instanceDiscoveryProvider?: any;
135
+ assetDiscovery?: boolean;
136
+ assetImport?: boolean;
137
+ agentLinkType?: any;
138
+ dynamic?: any;
139
+ }
140
+ export interface AgentLink {
141
+ type: string;
142
+ id?: any;
143
+ /**
144
+ * Defines ValueFilters to apply to an incoming value before it is written to a protocol linked attribute; this is particularly useful for generic protocols. The message should pass through the filters in array order
145
+ */
146
+ valueFilters?: ValueFilterUnion[];
147
+ /**
148
+ * Defines a value converter map to allow for basic value type conversion; the incoming value will be converted to JSON and if this string matches a key in the converter then the value of that key will be pushed through to the attribute. An example use case is an API that returns 'ACTIVE'/'DISABLED' strings but you want to connect this to a Boolean attribute
149
+ */
150
+ valueConverter?: {
151
+ [index: string]: any;
152
+ };
153
+ /**
154
+ * Similar to valueConverter but will be applied to outgoing values allowing for the opposite conversion
155
+ */
156
+ writeValueConverter?: {
157
+ [index: string]: any;
158
+ };
159
+ /**
160
+ * String to be used for attribute writes and can contain '{$value}' placeholders to allow the written value to be injected into the string or to even hardcode the value written to the protocol (particularly useful for executable attributes)
161
+ */
162
+ writeValue?: any;
163
+ /**
164
+ * The predicate to apply to incoming messages to determine if the message is intended for the linked attribute; the value used in the predicate can be filtered using the message match filters. This must be defined to enable attributes to be updated by the linked agent.
165
+ */
166
+ messageMatchPredicate?: ValuePredicateUnion;
167
+ /**
168
+ * ValueFilters to apply to incoming messages prior to comparison with the messageMatchPredicate
169
+ */
170
+ messageMatchFilters?: ValueFilterUnion[];
171
+ /**
172
+ * Don't expect a response from the protocol just update the attribute immediately on write
173
+ */
174
+ updateOnWrite?: any;
175
+ }
176
+ export interface Protocol {
177
+ }
178
+ export interface BuildingAsset extends CityAsset {
179
+ }
180
+ export interface CityAsset extends Asset {
181
+ id?: any;
182
+ version?: number;
183
+ createdOn?: DateAsNumber;
184
+ name?: any;
185
+ accessPublicRead?: boolean;
186
+ parentId?: any;
187
+ realm?: any;
188
+ type?: any;
189
+ path?: any[];
190
+ attributes?: {
191
+ [index: string]: Attribute<any>;
192
+ };
193
+ }
194
+ export interface ConsoleAsset extends Asset {
195
+ id?: any;
196
+ version?: number;
197
+ createdOn?: DateAsNumber;
198
+ name?: any;
199
+ accessPublicRead?: boolean;
200
+ parentId?: any;
201
+ realm?: any;
202
+ type?: any;
203
+ path?: any[];
204
+ attributes?: {
205
+ [index: string]: Attribute<any>;
206
+ };
207
+ }
208
+ export interface DoorAsset extends Asset {
209
+ id?: any;
210
+ version?: number;
211
+ createdOn?: DateAsNumber;
212
+ name?: any;
213
+ accessPublicRead?: boolean;
214
+ parentId?: any;
215
+ realm?: any;
216
+ type?: any;
217
+ path?: any[];
218
+ attributes?: {
219
+ [index: string]: Attribute<any>;
220
+ };
221
+ }
222
+ export interface ElectricVehicleAsset extends ElectricityBatteryAsset {
223
+ }
224
+ export interface ElectricVehicleFleetGroupAsset extends GroupAsset {
225
+ }
226
+ export interface ElectricityAsset<T> extends Asset {
227
+ id?: any;
228
+ version?: number;
229
+ createdOn?: DateAsNumber;
230
+ name?: any;
231
+ accessPublicRead?: boolean;
232
+ parentId?: any;
233
+ realm?: any;
234
+ type?: any;
235
+ path?: any[];
236
+ attributes?: {
237
+ [index: string]: Attribute<any>;
238
+ };
239
+ }
240
+ export interface ElectricityBatteryAsset extends ElectricityStorageAsset {
241
+ }
242
+ export interface ElectricityChargerAsset extends ElectricityStorageAsset {
243
+ }
244
+ export interface ElectricityConsumerAsset extends ElectricityAsset<ElectricityConsumerAsset> {
245
+ }
246
+ export interface ElectricityProducerAsset extends ElectricityAsset<ElectricityProducerAsset> {
247
+ }
248
+ export interface ElectricityProducerSolarAsset extends ElectricityProducerAsset {
249
+ }
250
+ export interface ElectricityProducerWindAsset extends ElectricityProducerAsset {
251
+ }
252
+ export interface ElectricityStorageAsset extends ElectricityAsset<ElectricityStorageAsset> {
253
+ }
254
+ export interface ElectricitySupplierAsset extends ElectricityAsset<ElectricitySupplierAsset> {
255
+ }
256
+ export interface EnergyOptimisationAsset extends Asset {
257
+ id?: any;
258
+ version?: number;
259
+ createdOn?: DateAsNumber;
260
+ name?: any;
261
+ accessPublicRead?: boolean;
262
+ parentId?: any;
263
+ realm?: any;
264
+ type?: any;
265
+ path?: any[];
266
+ attributes?: {
267
+ [index: string]: Attribute<any>;
268
+ };
269
+ }
270
+ export interface EnvironmentSensorAsset extends Asset {
271
+ id?: any;
272
+ version?: number;
273
+ createdOn?: DateAsNumber;
274
+ name?: any;
275
+ accessPublicRead?: boolean;
276
+ parentId?: any;
277
+ realm?: any;
278
+ type?: any;
279
+ path?: any[];
280
+ attributes?: {
281
+ [index: string]: Attribute<any>;
282
+ };
283
+ }
284
+ export interface GatewayAsset extends Asset {
285
+ id?: any;
286
+ version?: number;
287
+ createdOn?: DateAsNumber;
288
+ name?: any;
289
+ accessPublicRead?: boolean;
290
+ parentId?: any;
291
+ realm?: any;
292
+ type?: any;
293
+ path?: any[];
294
+ attributes?: {
295
+ [index: string]: Attribute<any>;
296
+ };
297
+ }
298
+ export interface GroundwaterSensorAsset extends Asset {
299
+ id?: any;
300
+ version?: number;
301
+ createdOn?: DateAsNumber;
302
+ name?: any;
303
+ accessPublicRead?: boolean;
304
+ parentId?: any;
305
+ realm?: any;
306
+ type?: any;
307
+ path?: any[];
308
+ attributes?: {
309
+ [index: string]: Attribute<any>;
310
+ };
311
+ }
312
+ export interface GroupAsset extends Asset {
313
+ id?: any;
314
+ version?: number;
315
+ createdOn?: DateAsNumber;
316
+ name?: any;
317
+ accessPublicRead?: boolean;
318
+ parentId?: any;
319
+ realm?: any;
320
+ type?: any;
321
+ path?: any[];
322
+ attributes?: {
323
+ [index: string]: Attribute<any>;
324
+ };
325
+ }
326
+ export interface LightAsset extends Asset {
327
+ id?: any;
328
+ version?: number;
329
+ createdOn?: DateAsNumber;
330
+ name?: any;
331
+ accessPublicRead?: boolean;
332
+ parentId?: any;
333
+ realm?: any;
334
+ type?: any;
335
+ path?: any[];
336
+ attributes?: {
337
+ [index: string]: Attribute<any>;
338
+ };
339
+ }
340
+ export interface MicrophoneAsset extends Asset {
341
+ id?: any;
342
+ version?: number;
343
+ createdOn?: DateAsNumber;
344
+ name?: any;
345
+ accessPublicRead?: boolean;
346
+ parentId?: any;
347
+ realm?: any;
348
+ type?: any;
349
+ path?: any[];
350
+ attributes?: {
351
+ [index: string]: Attribute<any>;
352
+ };
353
+ }
354
+ export interface ParkingAsset extends Asset {
355
+ id?: any;
356
+ version?: number;
357
+ createdOn?: DateAsNumber;
358
+ name?: any;
359
+ accessPublicRead?: boolean;
360
+ parentId?: any;
361
+ realm?: any;
362
+ type?: any;
363
+ path?: any[];
364
+ attributes?: {
365
+ [index: string]: Attribute<any>;
366
+ };
367
+ }
368
+ export interface PeopleCounterAsset extends Asset {
369
+ id?: any;
370
+ version?: number;
371
+ createdOn?: DateAsNumber;
372
+ name?: any;
373
+ accessPublicRead?: boolean;
374
+ parentId?: any;
375
+ realm?: any;
376
+ type?: any;
377
+ path?: any[];
378
+ attributes?: {
379
+ [index: string]: Attribute<any>;
380
+ };
381
+ }
382
+ export interface PlugAsset extends Asset {
383
+ id?: any;
384
+ version?: number;
385
+ createdOn?: DateAsNumber;
386
+ name?: any;
387
+ accessPublicRead?: boolean;
388
+ parentId?: any;
389
+ realm?: any;
390
+ type?: any;
391
+ path?: any[];
392
+ attributes?: {
393
+ [index: string]: Attribute<any>;
394
+ };
395
+ }
396
+ export interface PresenceSensorAsset extends Asset {
397
+ id?: any;
398
+ version?: number;
399
+ createdOn?: DateAsNumber;
400
+ name?: any;
401
+ accessPublicRead?: boolean;
402
+ parentId?: any;
403
+ realm?: any;
404
+ type?: any;
405
+ path?: any[];
406
+ attributes?: {
407
+ [index: string]: Attribute<any>;
408
+ };
409
+ }
410
+ export interface RoomAsset extends Asset {
411
+ id?: any;
412
+ version?: number;
413
+ createdOn?: DateAsNumber;
414
+ name?: any;
415
+ accessPublicRead?: boolean;
416
+ parentId?: any;
417
+ realm?: any;
418
+ type?: any;
419
+ path?: any[];
420
+ attributes?: {
421
+ [index: string]: Attribute<any>;
422
+ };
423
+ }
424
+ export interface ShipAsset extends Asset {
425
+ id?: any;
426
+ version?: number;
427
+ createdOn?: DateAsNumber;
428
+ name?: any;
429
+ accessPublicRead?: boolean;
430
+ parentId?: any;
431
+ realm?: any;
432
+ type?: any;
433
+ path?: any[];
434
+ attributes?: {
435
+ [index: string]: Attribute<any>;
436
+ };
437
+ }
438
+ export interface ThermostatAsset extends Asset {
439
+ id?: any;
440
+ version?: number;
441
+ createdOn?: DateAsNumber;
442
+ name?: any;
443
+ accessPublicRead?: boolean;
444
+ parentId?: any;
445
+ realm?: any;
446
+ type?: any;
447
+ path?: any[];
448
+ attributes?: {
449
+ [index: string]: Attribute<any>;
450
+ };
451
+ }
452
+ export interface ThingAsset extends Asset {
453
+ id?: any;
454
+ version?: number;
455
+ createdOn?: DateAsNumber;
456
+ name?: any;
457
+ accessPublicRead?: boolean;
458
+ parentId?: any;
459
+ realm?: any;
460
+ type?: any;
461
+ path?: any[];
462
+ attributes?: {
463
+ [index: string]: Attribute<any>;
464
+ };
465
+ }
466
+ export interface UnknownAsset extends Asset {
467
+ id?: any;
468
+ version?: number;
469
+ createdOn?: DateAsNumber;
470
+ name?: any;
471
+ accessPublicRead?: boolean;
472
+ parentId?: any;
473
+ realm?: any;
474
+ type?: any;
475
+ path?: any[];
476
+ attributes?: {
477
+ [index: string]: Attribute<any>;
478
+ };
479
+ }
480
+ export interface VentilationAsset extends Asset {
481
+ id?: any;
482
+ version?: number;
483
+ createdOn?: DateAsNumber;
484
+ name?: any;
485
+ accessPublicRead?: boolean;
486
+ parentId?: any;
487
+ realm?: any;
488
+ type?: any;
489
+ path?: any[];
490
+ attributes?: {
491
+ [index: string]: Attribute<any>;
492
+ };
493
+ }
494
+ export interface WeatherAsset extends Asset {
495
+ id?: any;
496
+ version?: number;
497
+ createdOn?: DateAsNumber;
498
+ name?: any;
499
+ accessPublicRead?: boolean;
500
+ parentId?: any;
501
+ realm?: any;
502
+ type?: any;
503
+ path?: any[];
504
+ attributes?: {
505
+ [index: string]: Attribute<any>;
506
+ };
507
+ }
508
+ export interface Attribute<T> extends AbstractNameValueHolder<T>, MetaHolder {
509
+ timestamp?: number;
510
+ }
511
+ export interface AttributeEvent extends SharedEvent, AttributeInfo {
512
+ eventType: "attribute";
513
+ deleted?: boolean;
514
+ realm?: any;
515
+ parentId?: any;
516
+ path?: any[];
517
+ assetName?: any;
518
+ assetType?: any;
519
+ createdOn?: DateAsNumber;
520
+ }
521
+ export interface AttributeInfo extends AssetInfo, NameValueHolder<any>, MetaHolder {
522
+ oldValueTimestamp?: number;
523
+ oldValue?: any;
524
+ value?: any;
525
+ ref?: AttributeRef;
526
+ timestamp?: number;
527
+ }
528
+ export interface AttributeLink {
529
+ ref?: AttributeRef;
530
+ converter?: {
531
+ [index: string]: any;
532
+ };
533
+ filters?: ValueFilterUnion[];
534
+ }
535
+ export interface AttributeRef {
536
+ id?: any;
537
+ name?: any;
538
+ }
539
+ export interface AttributeState {
540
+ ref?: AttributeRef;
541
+ value?: any;
542
+ }
543
+ export interface AttributeWriteResult {
544
+ ref?: AttributeRef;
545
+ failure?: AttributeWriteFailure;
546
+ }
547
+ export interface OAuthClientCredentialsGrant extends OAuthGrant {
548
+ grant_type: "client_credentials" | "password" | "refresh_token";
549
+ }
550
+ export interface OAuthGrant {
551
+ grant_type: "client_credentials" | "password" | "refresh_token";
552
+ tokenEndpointUri?: any;
553
+ basicAuthHeader?: boolean;
554
+ additionalValueMap?: {
555
+ [index: string]: any[];
556
+ };
557
+ client_id?: any;
558
+ client_secret?: any;
559
+ scope?: any;
560
+ }
561
+ export interface OAuthPasswordGrant extends OAuthClientCredentialsGrant {
562
+ grant_type: "password";
563
+ username?: any;
564
+ password?: any;
565
+ }
566
+ export interface OAuthRefreshTokenGrant extends OAuthClientCredentialsGrant {
567
+ grant_type: "refresh_token";
568
+ refresh_token?: any;
569
+ }
570
+ export interface UsernamePassword {
571
+ username?: any;
572
+ password?: any;
573
+ }
574
+ export interface CalendarEvent {
575
+ start?: DateAsNumber;
576
+ end?: DateAsNumber;
577
+ recurrence?: any;
578
+ }
579
+ export interface ConsoleProvider {
580
+ version?: any;
581
+ requiresPermission?: boolean;
582
+ hasPermission?: boolean;
583
+ success?: boolean;
584
+ enabled?: boolean;
585
+ disabled?: boolean;
586
+ data?: {
587
+ [index: string]: any;
588
+ };
589
+ }
590
+ export interface ConsoleRegistration {
591
+ id?: any;
592
+ name?: any;
593
+ version?: any;
594
+ platform?: any;
595
+ providers?: {
596
+ [index: string]: ConsoleProvider;
597
+ };
598
+ model?: any;
599
+ apps?: any[];
600
+ }
601
+ export interface Dashboard {
602
+ id?: any;
603
+ createdOn?: DateAsNumber;
604
+ realm?: any;
605
+ version?: number;
606
+ ownerId?: any;
607
+ viewAccess?: DashboardAccess;
608
+ editAccess?: DashboardAccess;
609
+ displayName?: any;
610
+ template?: DashboardTemplate;
611
+ }
612
+ export interface DashboardGridItem {
613
+ id?: any;
614
+ x?: number;
615
+ y?: number;
616
+ w?: number;
617
+ h?: number;
618
+ minH?: number;
619
+ minW?: number;
620
+ minPixelH?: number;
621
+ minPixelW?: number;
622
+ noResize?: boolean;
623
+ noMove?: boolean;
624
+ locked?: boolean;
625
+ }
626
+ export interface DashboardScreenPreset {
627
+ id?: any;
628
+ displayName?: any;
629
+ breakpoint?: number;
630
+ scalingPreset?: DashboardScalingPreset;
631
+ redirectDashboardId?: any;
632
+ }
633
+ export interface DashboardTemplate {
634
+ id?: any;
635
+ columns?: number;
636
+ maxScreenWidth?: number;
637
+ refreshInterval?: DashboardRefreshInterval;
638
+ screenPresets?: DashboardScreenPreset[];
639
+ widgets?: DashboardWidget[];
640
+ }
641
+ export interface DashboardWidget {
642
+ id?: any;
643
+ displayName?: any;
644
+ gridItem?: DashboardGridItem;
645
+ widgetTypeId?: any;
646
+ widgetConfig?: any;
647
+ }
648
+ export interface AssetDatapoint extends Datapoint {
649
+ }
650
+ export interface AssetPredictedDatapoint extends Datapoint {
651
+ }
652
+ export interface Datapoint {
653
+ assetId?: any;
654
+ attributeName?: any;
655
+ timestamp?: DateAsNumber;
656
+ value?: any;
657
+ }
658
+ export interface DatapointID {
659
+ assetId?: any;
660
+ attributeName?: any;
661
+ timestamp?: DateAsNumber;
662
+ }
663
+ export interface DatapointPeriod {
664
+ assetId?: any;
665
+ attributeName?: any;
666
+ oldestTimestamp?: any;
667
+ latestTimestamp?: any;
668
+ }
669
+ export interface ValueDatapoint<T> {
670
+ x?: number;
671
+ y?: T;
672
+ }
673
+ export interface AssetDatapointAllQuery extends AssetDatapointQuery {
674
+ type: "all";
675
+ }
676
+ export interface AssetDatapointIntervalQuery extends AssetDatapointQuery {
677
+ type: "interval";
678
+ interval?: any;
679
+ gapFill?: boolean;
680
+ formula?: AssetDatapointIntervalQueryFormula;
681
+ }
682
+ export interface AssetDatapointLTTBQuery extends AssetDatapointQuery {
683
+ type: "lttb";
684
+ amountOfPoints?: number;
685
+ }
686
+ export interface AssetDatapointQuery {
687
+ type: "all" | "interval" | "lttb";
688
+ fromTimestamp?: number;
689
+ toTimestamp?: number;
690
+ fromTime?: DateAsNumber;
691
+ toTime?: DateAsNumber;
692
+ }
693
+ export interface Event {
694
+ timestamp?: number;
695
+ }
696
+ export interface TriggeredEventSubscription<T> {
697
+ events?: T[];
698
+ subscriptionId?: any;
699
+ }
700
+ export interface EventBus {
701
+ registrations?: EventRegistration<any>[];
702
+ }
703
+ export interface EventListener<E> {
704
+ }
705
+ export interface EventRegistration<E> {
706
+ prepare?: boolean;
707
+ eventClass?: any;
708
+ listener?: EventListener<E>;
709
+ }
710
+ export interface VetoEventException {
711
+ detailMessage?: any;
712
+ cause?: any;
713
+ stackTrace?: any[];
714
+ suppressedExceptions?: any[];
715
+ }
716
+ export interface CancelEventSubscription {
717
+ eventType?: any;
718
+ subscriptionId?: any;
719
+ }
720
+ export interface EventRequestResponseWrapper<T> {
721
+ messageId?: any;
722
+ event?: T;
723
+ }
724
+ export interface EventSubscription<E> {
725
+ eventType?: any;
726
+ filter?: any;
727
+ subscriptionId?: any;
728
+ }
729
+ export interface RealmScopedEvent extends SharedEvent {
730
+ eventType: "gateway-connection-status" | "ProtocolDiscoveryImportRequestEvent" | "ProtocolDiscoveryStartRequestEvent";
731
+ realm?: any;
732
+ }
733
+ export interface SharedEvent extends Event {
734
+ eventType: "asset" | "assets" | "delete-assets-request" | "delete-assets-response" | "read-asset" | "read-assets" | "read-asset-attribute" | "attribute" | "gateway-connection-status" | "ProtocolDiscoveryImportRequestEvent" | "ProtocolDiscoveryStartRequestEvent" | "gateway-disconnect" | "ProtocolDiscoveryAssetFoundEvent" | "ProtocolDiscoveryInstanceFoundEvent" | "ProtocolDiscoveryStartStopResponseEvent" | "ProtocolDiscoveryStopRequestEvent" | "rules-engine-status" | "ruleset-changed" | "request-simulator-state" | "simulator-state" | "syslog";
735
+ }
736
+ export interface UnauthorizedEventSubscription<E> {
737
+ subscription?: EventSubscription<E>;
738
+ }
739
+ export interface FileInfo {
740
+ name?: any;
741
+ contents?: any;
742
+ binary?: boolean;
743
+ }
744
+ export interface GatewayConnection {
745
+ localRealm?: any;
746
+ host?: any;
747
+ port?: any;
748
+ realm?: any;
749
+ clientId?: any;
750
+ clientSecret?: any;
751
+ secured?: any;
752
+ disabled?: boolean;
753
+ }
754
+ export interface GatewayConnectionStatusEvent extends RealmScopedEvent {
755
+ eventType: "gateway-connection-status";
756
+ connectionStatus?: ConnectionStatus;
757
+ }
758
+ export interface GatewayDisconnectEvent extends SharedEvent {
759
+ eventType: "gateway-disconnect";
760
+ reason?: GatewayDisconnectEventReason;
761
+ }
762
+ export interface GeoJSON {
763
+ type: "Feature" | "FeatureCollection" | "Point";
764
+ }
765
+ export interface GeoJSONFeature extends GeoJSON {
766
+ type: "Feature";
767
+ geometry?: GeoJSONGeometryUnion;
768
+ properties?: {
769
+ [index: string]: any;
770
+ };
771
+ }
772
+ export interface GeoJSONFeatureCollection extends GeoJSON {
773
+ type: "FeatureCollection";
774
+ features?: GeoJSONFeature[];
775
+ }
776
+ export interface GeoJSONGeometry extends GeoJSON {
777
+ type: "Point";
778
+ }
779
+ export interface GeoJSONPoint extends GeoJSONGeometry {
780
+ type: "Point";
781
+ coordinates?: number[];
782
+ }
783
+ export interface RequestParams {
784
+ headers?: any;
785
+ authorization?: any;
786
+ forwardedProtoHeader?: any;
787
+ forwardedHostHeader?: any;
788
+ uriInfo?: any;
789
+ }
790
+ export interface MailMessage {
791
+ content?: any;
792
+ contentType?: any;
793
+ headers?: {
794
+ [index: string]: any[];
795
+ };
796
+ subject?: any;
797
+ sentDate?: DateAsNumber;
798
+ from?: any[];
799
+ }
800
+ export interface ManagerAppConfig {
801
+ loadLocales?: boolean;
802
+ languages?: {
803
+ [index: string]: any;
804
+ };
805
+ realms?: {
806
+ [index: string]: ManagerAppRealmConfig;
807
+ };
808
+ pages?: {
809
+ [index: string]: any;
810
+ };
811
+ manager?: ManagerConfig;
812
+ }
813
+ export interface ManagerAppRealmConfig {
814
+ appTitle?: any;
815
+ styles?: any;
816
+ logo?: any;
817
+ logoMobile?: any;
818
+ favicon?: any;
819
+ language?: any;
820
+ headers?: any[];
821
+ }
822
+ export interface ManagerConfig {
823
+ managerUrl?: any;
824
+ keycloakUrl?: any;
825
+ appVersion?: any;
826
+ realm?: any;
827
+ clientId?: any;
828
+ autoLogin?: boolean;
829
+ consoleAutoEnable?: boolean;
830
+ loadIcons?: boolean;
831
+ pollingIntervalMillis?: number;
832
+ loadTranslations?: any[];
833
+ loadDescriptors?: boolean;
834
+ translationsLoadPath?: any;
835
+ skipFallbackToBasicAuth?: boolean;
836
+ auth?: Auth;
837
+ credentials?: UsernamePassword;
838
+ eventProviderType?: EventProviderType;
839
+ mapType?: MapType;
840
+ configureTranslationsOptions?: any;
841
+ basicLoginProvider?: any;
842
+ }
843
+ export interface MapConfig {
844
+ options?: {
845
+ [index: string]: MapRealmConfig;
846
+ };
847
+ }
848
+ export interface MapRealmConfig {
849
+ center?: number[];
850
+ bounds?: number[];
851
+ zoom?: number;
852
+ minZoom?: number;
853
+ maxZoom?: number;
854
+ boxZoom?: boolean;
855
+ geocodeUrl?: any;
856
+ geoJson?: GeoJsonConfig;
857
+ }
858
+ export interface GeoJsonConfig {
859
+ source?: any;
860
+ layers?: any[];
861
+ }
862
+ export interface AbstractNotificationMessage {
863
+ type: "email" | "push";
864
+ }
865
+ export interface EmailNotificationMessage extends AbstractNotificationMessage {
866
+ type: "email";
867
+ from?: EmailNotificationMessageRecipient;
868
+ replyTo?: EmailNotificationMessageRecipient;
869
+ subject?: any;
870
+ text?: any;
871
+ html?: any;
872
+ to?: EmailNotificationMessageRecipient[];
873
+ cc?: EmailNotificationMessageRecipient[];
874
+ bcc?: EmailNotificationMessageRecipient[];
875
+ }
876
+ export interface EmailNotificationMessageRecipient {
877
+ name?: any;
878
+ address?: any;
879
+ }
880
+ export interface Notification {
881
+ name?: any;
882
+ message?: AbstractNotificationMessageUnion;
883
+ targets?: NotificationTarget[];
884
+ repeatFrequency?: RepeatFrequency;
885
+ repeatInterval?: any;
886
+ }
887
+ export interface NotificationTarget {
888
+ type?: NotificationTargetType;
889
+ id?: any;
890
+ data?: any;
891
+ }
892
+ export interface NotificationSendResult {
893
+ success?: boolean;
894
+ message?: any;
895
+ }
896
+ export interface PushNotificationAction {
897
+ url?: any;
898
+ data?: any;
899
+ silent?: boolean;
900
+ openInBrowser?: boolean;
901
+ httpMethod?: any;
902
+ }
903
+ export interface PushNotificationButton {
904
+ title?: any;
905
+ action?: PushNotificationAction;
906
+ }
907
+ export interface PushNotificationMessage extends AbstractNotificationMessage {
908
+ type: "push";
909
+ title?: any;
910
+ body?: any;
911
+ action?: PushNotificationAction;
912
+ buttons?: PushNotificationButton[];
913
+ data?: {
914
+ [index: string]: any;
915
+ };
916
+ priority?: PushNotificationMessageMessagePriority;
917
+ targetType?: PushNotificationMessageTargetType;
918
+ target?: any;
919
+ expiration?: any;
920
+ }
921
+ export interface SentNotification {
922
+ id?: any;
923
+ name?: any;
924
+ type?: any;
925
+ target?: NotificationTargetType;
926
+ targetId?: any;
927
+ source?: NotificationSource;
928
+ sourceId?: any;
929
+ message?: AbstractNotificationMessageUnion;
930
+ error?: any;
931
+ sentOn?: DateAsNumber;
932
+ deliveredOn?: DateAsNumber;
933
+ acknowledgedOn?: DateAsNumber;
934
+ acknowledgement?: any;
935
+ }
936
+ export interface InstantEpochConverter {
937
+ }
938
+ export interface LTreeType {
939
+ }
940
+ export interface ProtocolAssetService {
941
+ }
942
+ export interface ProtocolDiscoveryAssetFoundEvent extends SharedEvent {
943
+ eventType: "ProtocolDiscoveryAssetFoundEvent";
944
+ agentDescriptor?: any;
945
+ assets?: AssetTreeNode[];
946
+ }
947
+ export interface ProtocolDiscoveryImportRequestEvent extends RealmScopedEvent {
948
+ eventType: "ProtocolDiscoveryImportRequestEvent";
949
+ agentDescriptor?: any;
950
+ assetId?: any;
951
+ assetDiscovery?: boolean;
952
+ }
953
+ export interface ProtocolDiscoveryInstanceFoundEvent extends SharedEvent {
954
+ eventType: "ProtocolDiscoveryInstanceFoundEvent";
955
+ agentDescriptor?: any;
956
+ instanceName?: any;
957
+ attributes?: Attribute<any>[];
958
+ }
959
+ export interface ProtocolDiscoveryStartRequestEvent extends RealmScopedEvent {
960
+ eventType: "ProtocolDiscoveryStartRequestEvent";
961
+ agentDescriptor?: any;
962
+ assetId?: any;
963
+ assetDiscovery?: boolean;
964
+ }
965
+ export interface ProtocolDiscoveryStartStopResponseEvent extends SharedEvent {
966
+ eventType: "ProtocolDiscoveryStartStopResponseEvent";
967
+ agentDescriptor?: any;
968
+ stopped?: boolean;
969
+ }
970
+ export interface ProtocolDiscoveryStopRequestEvent extends SharedEvent {
971
+ eventType: "ProtocolDiscoveryStopRequestEvent";
972
+ }
973
+ export interface ErrorResponseMessage extends ProvisioningMessage {
974
+ type: "error";
975
+ error?: ErrorResponseMessageError;
976
+ }
977
+ export interface ProvisioningConfig<T, U> {
978
+ type: "x509";
979
+ id?: any;
980
+ createdOn?: DateAsNumber;
981
+ lastModified?: DateAsNumber;
982
+ name?: any;
983
+ realm?: any;
984
+ assetTemplate?: any;
985
+ restrictedUser?: boolean;
986
+ userRoles?: ClientRole[];
987
+ disabled?: boolean;
988
+ data?: T;
989
+ }
990
+ export interface ProvisioningMessage {
991
+ type: "error" | "success" | "x509";
992
+ }
993
+ export interface SuccessResponseMessage extends ProvisioningMessage {
994
+ type: "success";
995
+ realm?: any;
996
+ asset?: Asset;
997
+ }
998
+ export interface X509ProvisioningConfig extends ProvisioningConfig<X509ProvisioningData, X509ProvisioningConfig> {
999
+ type: "x509";
1000
+ data?: X509ProvisioningData;
1001
+ }
1002
+ export interface X509ProvisioningData {
1003
+ CACertPEM?: any;
1004
+ ignoreExpiryDate?: boolean;
1005
+ }
1006
+ export interface X509ProvisioningMessage extends ProvisioningMessage {
1007
+ type: "x509";
1008
+ cert?: any;
1009
+ }
1010
+ export interface AssetQuery {
1011
+ recursive?: boolean;
1012
+ select?: AssetQuerySelect;
1013
+ access?: AssetQueryAccess;
1014
+ ids?: any[];
1015
+ names?: StringPredicate[];
1016
+ parents?: ParentPredicate[];
1017
+ paths?: PathPredicate[];
1018
+ realm?: RealmPredicate;
1019
+ userIds?: any[];
1020
+ types?: any[];
1021
+ attributes?: LogicGroup<AttributePredicate>;
1022
+ orderBy?: AssetQueryOrderBy;
1023
+ limit?: number;
1024
+ }
1025
+ export interface AssetQueryOrderBy {
1026
+ property?: AssetQueryOrderBy$Property;
1027
+ descending?: boolean;
1028
+ }
1029
+ export interface AssetQuerySelect {
1030
+ attributes?: any[];
1031
+ }
1032
+ export interface LogicGroup<T> {
1033
+ operator?: LogicGroupOperator;
1034
+ items?: T[];
1035
+ groups?: LogicGroup<T>[];
1036
+ }
1037
+ export interface RulesetQuery {
1038
+ ids?: number[];
1039
+ meta?: NameValuePredicate[];
1040
+ limit?: number;
1041
+ languages?: RulesetLang[];
1042
+ fullyPopulate?: boolean;
1043
+ publicOnly?: boolean;
1044
+ enabledOnly?: boolean;
1045
+ realm?: any;
1046
+ assetIds?: any[];
1047
+ }
1048
+ export interface UserQuery {
1049
+ realmPredicate?: RealmPredicate;
1050
+ assets?: any[];
1051
+ pathPredicate?: PathPredicate;
1052
+ ids?: any[];
1053
+ select?: UserQuerySelect;
1054
+ usernames?: StringPredicate[];
1055
+ attributes?: UserQueryAttributeValuePredicate[];
1056
+ realmRoles?: StringPredicate[];
1057
+ serviceUsers?: any;
1058
+ limit?: any;
1059
+ offset?: any;
1060
+ orderBy?: UserQueryOrderBy;
1061
+ }
1062
+ export interface UserQueryAttributeValuePredicate {
1063
+ negated?: boolean;
1064
+ name?: StringPredicate;
1065
+ value?: StringPredicate;
1066
+ }
1067
+ export interface UserQueryOrderBy {
1068
+ property?: UserQueryOrderBy$Property;
1069
+ descending?: boolean;
1070
+ }
1071
+ export interface UserQuerySelect {
1072
+ basic?: boolean;
1073
+ }
1074
+ export interface ArrayPredicate extends ValuePredicate {
1075
+ predicateType: "array";
1076
+ value?: any;
1077
+ index?: any;
1078
+ lengthEquals?: any;
1079
+ lengthGreaterThan?: any;
1080
+ lengthLessThan?: any;
1081
+ negated?: boolean;
1082
+ }
1083
+ export interface AttributePredicate extends NameValuePredicate {
1084
+ meta?: NameValuePredicate[];
1085
+ previousValue?: ValuePredicateUnion;
1086
+ }
1087
+ export interface BooleanPredicate extends ValuePredicate {
1088
+ predicateType: "boolean";
1089
+ value?: boolean;
1090
+ }
1091
+ export interface CalendarEventPredicate extends ValuePredicate {
1092
+ predicateType: "calendar-event";
1093
+ timestamp?: DateAsNumber;
1094
+ }
1095
+ export interface DateTimePredicate extends ValuePredicate {
1096
+ predicateType: "datetime";
1097
+ value?: any;
1098
+ rangeValue?: any;
1099
+ operator?: AssetQueryOperator;
1100
+ negate?: boolean;
1101
+ }
1102
+ export interface GeofencePredicate extends ValuePredicate {
1103
+ predicateType: "radial" | "rect";
1104
+ negated?: boolean;
1105
+ }
1106
+ export interface LocationAttributePredicate extends AttributePredicate {
1107
+ }
1108
+ export interface NameValuePredicate {
1109
+ name?: StringPredicate;
1110
+ negated?: boolean;
1111
+ path?: NameValuePredicatePath;
1112
+ value?: ValuePredicateUnion;
1113
+ }
1114
+ export interface NameValuePredicatePath {
1115
+ paths?: any[];
1116
+ }
1117
+ export interface NumberPredicate extends ValuePredicate {
1118
+ predicateType: "number";
1119
+ value?: any;
1120
+ rangeValue?: any;
1121
+ operator?: AssetQueryOperator;
1122
+ negate?: boolean;
1123
+ }
1124
+ export interface ParentPredicate {
1125
+ id?: any;
1126
+ }
1127
+ export interface PathPredicate {
1128
+ path?: any[];
1129
+ }
1130
+ export interface RadialGeofencePredicate extends GeofencePredicate {
1131
+ predicateType: "radial";
1132
+ radius?: number;
1133
+ lat?: number;
1134
+ lng?: number;
1135
+ }
1136
+ export interface RealmPredicate {
1137
+ name?: any;
1138
+ }
1139
+ export interface RectangularGeofencePredicate extends GeofencePredicate {
1140
+ predicateType: "rect";
1141
+ latMin?: number;
1142
+ lngMin?: number;
1143
+ latMax?: number;
1144
+ lngMax?: number;
1145
+ }
1146
+ export interface StringPredicate extends ValuePredicate {
1147
+ predicateType: "string";
1148
+ match?: AssetQueryMatch;
1149
+ caseSensitive?: boolean;
1150
+ value?: any;
1151
+ negate?: boolean;
1152
+ }
1153
+ export interface ValueAnyPredicate extends ValuePredicate {
1154
+ predicateType: "value-any";
1155
+ }
1156
+ export interface ValueEmptyPredicate extends ValuePredicate {
1157
+ predicateType: "value-empty";
1158
+ negate?: boolean;
1159
+ }
1160
+ export interface ValuePredicate {
1161
+ predicateType: "array" | "boolean" | "calendar-event" | "datetime" | "radial" | "rect" | "number" | "string" | "value-any" | "value-empty";
1162
+ }
1163
+ export interface AssetRuleset extends Ruleset {
1164
+ type: "asset";
1165
+ assetId?: any;
1166
+ accessPublicRead?: boolean;
1167
+ realm?: any;
1168
+ }
1169
+ export interface GlobalRuleset extends Ruleset {
1170
+ type: "global";
1171
+ }
1172
+ export interface RealmRuleset extends Ruleset {
1173
+ type: "realm";
1174
+ realm?: any;
1175
+ accessPublicRead?: boolean;
1176
+ }
1177
+ export interface RulesClock {
1178
+ }
1179
+ export interface RulesEngineInfo {
1180
+ status?: RulesEngineStatus;
1181
+ compilationErrorCount?: number;
1182
+ executionErrorCount?: number;
1183
+ }
1184
+ export interface RulesEngineStatusEvent extends SharedEvent {
1185
+ eventType: "rules-engine-status";
1186
+ engineId?: any;
1187
+ engineInfo?: RulesEngineInfo;
1188
+ }
1189
+ export interface Ruleset {
1190
+ type: "asset" | "global" | "realm";
1191
+ id?: any;
1192
+ version?: number;
1193
+ createdOn?: DateAsNumber;
1194
+ lastModified?: DateAsNumber;
1195
+ name?: any;
1196
+ enabled?: boolean;
1197
+ rules?: any;
1198
+ lang?: RulesetLang;
1199
+ meta?: {
1200
+ [index: string]: any;
1201
+ };
1202
+ status?: RulesetStatus;
1203
+ error?: any;
1204
+ }
1205
+ export interface RulesetChangedEvent extends SharedEvent {
1206
+ eventType: "ruleset-changed";
1207
+ engineId?: any;
1208
+ ruleset?: RulesetUnion;
1209
+ }
1210
+ export interface SunPositionTrigger {
1211
+ position?: SunPositionTriggerPosition;
1212
+ location?: GeoJSONPoint;
1213
+ offsetMins?: any;
1214
+ }
1215
+ export interface AttributeInternalValue {
1216
+ assetId?: any;
1217
+ attributeName?: any;
1218
+ }
1219
+ export interface Node {
1220
+ id?: any;
1221
+ type?: NodeType;
1222
+ name?: any;
1223
+ position?: NodePosition;
1224
+ size?: NodePosition;
1225
+ internals?: NodeInternal[];
1226
+ inputs?: NodeSocket[];
1227
+ outputs?: NodeSocket[];
1228
+ displayCharacter?: any;
1229
+ }
1230
+ export interface NodeCollection {
1231
+ name?: any;
1232
+ description?: any;
1233
+ nodes?: Node[];
1234
+ connections?: NodeConnection[];
1235
+ }
1236
+ export interface NodeConnection {
1237
+ from?: any;
1238
+ to?: any;
1239
+ }
1240
+ export interface NodeInternal {
1241
+ name?: any;
1242
+ picker?: Picker;
1243
+ value?: any;
1244
+ }
1245
+ export interface NodePosition {
1246
+ x?: number;
1247
+ y?: number;
1248
+ }
1249
+ export interface NodeSocket {
1250
+ id?: any;
1251
+ name?: any;
1252
+ type?: NodeDataType;
1253
+ nodeId?: any;
1254
+ index?: number;
1255
+ }
1256
+ export interface Option {
1257
+ name?: any;
1258
+ value?: any;
1259
+ }
1260
+ export interface Picker {
1261
+ type?: PickerType;
1262
+ options?: Option[];
1263
+ }
1264
+ export interface GeofenceDefinition {
1265
+ id?: any;
1266
+ lat?: number;
1267
+ lng?: number;
1268
+ radius?: number;
1269
+ httpMethod?: any;
1270
+ url?: any;
1271
+ }
1272
+ export interface JsonRule {
1273
+ name?: any;
1274
+ description?: any;
1275
+ priority?: number;
1276
+ when?: LogicGroup<RuleCondition>;
1277
+ then?: RuleActionUnion[];
1278
+ otherwise?: RuleActionUnion[];
1279
+ recurrence?: RuleRecurrence;
1280
+ onStart?: RuleActionUnion[];
1281
+ onStop?: RuleActionUnion[];
1282
+ }
1283
+ export interface JsonRulesetDefinition {
1284
+ rules?: JsonRule[];
1285
+ meta?: {
1286
+ [id: string]: any;
1287
+ };
1288
+ }
1289
+ export interface RuleAction {
1290
+ action: "notification" | "update-attribute" | "wait" | "webhook" | "write-attribute";
1291
+ target?: RuleActionTarget;
1292
+ }
1293
+ export interface RuleActionNotification extends RuleAction {
1294
+ action: "notification";
1295
+ notification?: Notification;
1296
+ }
1297
+ export interface RuleActionTarget {
1298
+ conditionAssets?: any;
1299
+ matchedAssets?: AssetQuery;
1300
+ assets?: AssetQuery;
1301
+ users?: UserQuery;
1302
+ linkedUsers?: any;
1303
+ custom?: any;
1304
+ }
1305
+ export interface RuleActionUpdateAttribute extends RuleAction {
1306
+ action: "update-attribute";
1307
+ attributeName?: any;
1308
+ value?: any;
1309
+ key?: any;
1310
+ index?: any;
1311
+ updateAction?: RuleActionUpdateAttributeUpdateAction;
1312
+ }
1313
+ export interface RuleActionWait extends RuleAction {
1314
+ action: "wait";
1315
+ millis?: number;
1316
+ }
1317
+ export interface RuleActionWebhook extends RuleAction {
1318
+ action: "webhook";
1319
+ target?: any;
1320
+ webhook?: Webhook;
1321
+ mediaType?: any;
1322
+ }
1323
+ export interface RuleActionWriteAttribute extends RuleAction {
1324
+ action: "write-attribute";
1325
+ attributeName?: any;
1326
+ value?: any;
1327
+ }
1328
+ export interface RuleCondition {
1329
+ duration?: any;
1330
+ cron?: any;
1331
+ sun?: SunPositionTrigger;
1332
+ assets?: AssetQuery;
1333
+ tag?: any;
1334
+ }
1335
+ export interface RuleRecurrence {
1336
+ scope?: RuleRecurrenceScope;
1337
+ mins?: any;
1338
+ }
1339
+ export interface RuleTemplate<T> {
1340
+ name?: any;
1341
+ value?: T;
1342
+ }
1343
+ export interface Credential {
1344
+ type?: any;
1345
+ value?: any;
1346
+ temporary?: any;
1347
+ }
1348
+ export interface Realm {
1349
+ id?: any;
1350
+ name?: any;
1351
+ displayName?: any;
1352
+ enabled?: any;
1353
+ notBefore?: any;
1354
+ resetPasswordAllowed?: any;
1355
+ duplicateEmailsAllowed?: any;
1356
+ rememberMe?: any;
1357
+ registrationAllowed?: any;
1358
+ registrationEmailAsUsername?: any;
1359
+ verifyEmail?: any;
1360
+ loginWithEmail?: any;
1361
+ loginTheme?: any;
1362
+ accountTheme?: any;
1363
+ adminTheme?: any;
1364
+ emailTheme?: any;
1365
+ accessTokenLifespan?: any;
1366
+ realmRoles?: RealmRole[];
1367
+ }
1368
+ export interface RealmRole {
1369
+ name?: any;
1370
+ description?: any;
1371
+ }
1372
+ export interface Role {
1373
+ id?: any;
1374
+ name?: any;
1375
+ description?: any;
1376
+ composite?: boolean;
1377
+ assigned?: any;
1378
+ compositeRoleIds?: any[];
1379
+ }
1380
+ export interface User {
1381
+ realm?: any;
1382
+ realmId?: any;
1383
+ id?: any;
1384
+ firstName?: any;
1385
+ lastName?: any;
1386
+ email?: any;
1387
+ enabled?: any;
1388
+ createdOn?: DateAsNumber;
1389
+ secret?: any;
1390
+ attributes?: {
1391
+ [index: string]: any[];
1392
+ };
1393
+ serviceAccount?: boolean;
1394
+ username?: any;
1395
+ }
1396
+ export interface UserAttribute {
1397
+ name?: any;
1398
+ value?: any;
1399
+ id?: any;
1400
+ }
1401
+ export interface UserPasswordCredentials {
1402
+ username?: any;
1403
+ password?: any;
1404
+ }
1405
+ export interface UserSession {
1406
+ ID?: any;
1407
+ username?: any;
1408
+ startTimeMillis?: number;
1409
+ remoteAddress?: any;
1410
+ }
1411
+ export interface Setup {
1412
+ }
1413
+ export interface SetupTasks {
1414
+ }
1415
+ export interface RequestSimulatorState extends SharedEvent {
1416
+ eventType: "request-simulator-state";
1417
+ agentId?: any;
1418
+ }
1419
+ export interface SimulatorAttributeInfo {
1420
+ assetName?: any;
1421
+ assetId?: any;
1422
+ replay?: boolean;
1423
+ attribute?: Attribute<any>;
1424
+ }
1425
+ export interface SimulatorReplayDatapoint {
1426
+ timestamp?: number;
1427
+ value?: any;
1428
+ }
1429
+ export interface SimulatorState extends SharedEvent {
1430
+ eventType: "simulator-state";
1431
+ agentId?: any;
1432
+ attributes?: SimulatorAttributeInfo[];
1433
+ }
1434
+ export interface SyslogConfig {
1435
+ storedLevel?: SyslogLevel;
1436
+ storedCategories?: SyslogCategory[];
1437
+ storedMaxAgeMinutes?: number;
1438
+ }
1439
+ export interface SyslogEvent extends SharedEvent {
1440
+ eventType: "syslog";
1441
+ id?: any;
1442
+ level?: SyslogLevel;
1443
+ category?: SyslogCategory;
1444
+ subCategory?: any;
1445
+ message?: any;
1446
+ }
1447
+ export interface SyslogEventLevelCategoryFilter {
1448
+ filterType: "level-category-filter";
1449
+ level?: SyslogLevel;
1450
+ categories?: SyslogCategory[];
1451
+ }
1452
+ export interface HealthStatusProvider {
1453
+ }
1454
+ export interface AbstractNameValueDescriptorHolder extends ValueDescriptorHolder, NameHolder {
1455
+ type?: any;
1456
+ constraints?: ValueConstraintUnion[];
1457
+ format?: ValueFormat;
1458
+ units?: any[];
1459
+ }
1460
+ export interface AbstractNameValueHolder<T> extends NameValueHolder<T> {
1461
+ }
1462
+ export interface AttributeDescriptor extends AbstractNameValueDescriptorHolder, MetaHolder {
1463
+ name?: any;
1464
+ type?: any;
1465
+ constraints?: ValueConstraintUnion[];
1466
+ format?: ValueFormat;
1467
+ units?: any[];
1468
+ optional?: any;
1469
+ }
1470
+ export interface ForecastConfiguration {
1471
+ type: "wea";
1472
+ }
1473
+ export interface ForecastConfigurationWeightedExponentialAverage extends ForecastConfiguration {
1474
+ type: "wea";
1475
+ pastPeriod?: ForecastConfigurationWeightedExponentialAverageExtendedPeriodAndDuration;
1476
+ pastCount?: any;
1477
+ forecastPeriod?: ForecastConfigurationWeightedExponentialAverageExtendedPeriodAndDuration;
1478
+ forecastCount?: any;
1479
+ }
1480
+ export interface ForecastConfigurationWeightedExponentialAverageExtendedPeriodAndDuration extends PeriodAndDuration {
1481
+ }
1482
+ export interface JsonPathFilter extends ValueFilter {
1483
+ type: "jsonPath";
1484
+ path?: any;
1485
+ returnFirst?: boolean;
1486
+ returnLast?: boolean;
1487
+ }
1488
+ export interface MetaHolder {
1489
+ meta?: {
1490
+ [index: string]: any;
1491
+ };
1492
+ }
1493
+ export interface MetaItemDescriptor extends AbstractNameValueDescriptorHolder {
1494
+ name?: any;
1495
+ type?: any;
1496
+ constraints?: ValueConstraintUnion[];
1497
+ format?: ValueFormat;
1498
+ units?: any[];
1499
+ }
1500
+ export interface NameHolder {
1501
+ name?: any;
1502
+ }
1503
+ export interface NameValueHolder<T> extends ValueHolder<T>, NameHolder {
1504
+ }
1505
+ export interface RegexValueFilter extends ValueFilter {
1506
+ type: "regex";
1507
+ pattern?: Pattern;
1508
+ matchGroup?: any;
1509
+ matchIndex?: any;
1510
+ dotAll?: any;
1511
+ multiline?: any;
1512
+ }
1513
+ /**
1514
+ * Returns the substring beginning at the specified index (inclusive) and ending at the optional endIndex (exclusive); if endIndex is not supplied then the remainder of the string is returned; negative values can be used to indicate a backwards count from the length of the string e.g. -1 means length-1
1515
+ */
1516
+ export interface SubStringValueFilter extends ValueFilter {
1517
+ type: "substring";
1518
+ beginIndex?: number;
1519
+ endIndex?: any;
1520
+ }
1521
+ export interface ValueConstraint {
1522
+ type: "allowedValues" | "future" | "futureOrPresent" | "max" | "min" | "notBlank" | "notEmpty" | "notNull" | "past" | "pastOrPresent" | "pattern" | "size";
1523
+ message?: any;
1524
+ }
1525
+ export interface ValueConstraintAllowedValues extends ValueConstraint {
1526
+ type: "allowedValues";
1527
+ allowedValueNames?: any[];
1528
+ allowedValues?: any[];
1529
+ }
1530
+ export interface ValueConstraintFuture extends ValueConstraint {
1531
+ type: "future";
1532
+ }
1533
+ export interface ValueConstraintFutureOrPresent extends ValueConstraint {
1534
+ type: "futureOrPresent";
1535
+ }
1536
+ export interface ValueConstraintMax extends ValueConstraint {
1537
+ type: "max";
1538
+ max?: any;
1539
+ }
1540
+ export interface ValueConstraintMin extends ValueConstraint {
1541
+ type: "min";
1542
+ min?: any;
1543
+ }
1544
+ export interface ValueConstraintNotBlank extends ValueConstraint {
1545
+ type: "notBlank";
1546
+ }
1547
+ export interface ValueConstraintNotEmpty extends ValueConstraint {
1548
+ type: "notEmpty";
1549
+ }
1550
+ export interface ValueConstraintNotNull extends ValueConstraint {
1551
+ type: "notNull";
1552
+ }
1553
+ export interface ValueConstraintPast extends ValueConstraint {
1554
+ type: "past";
1555
+ }
1556
+ export interface ValueConstraintPastOrPresent extends ValueConstraint {
1557
+ type: "pastOrPresent";
1558
+ }
1559
+ export interface ValueConstraintPattern extends ValueConstraint {
1560
+ type: "pattern";
1561
+ regexp?: any;
1562
+ flags?: any[];
1563
+ }
1564
+ export interface ValueConstraintSize extends ValueConstraint {
1565
+ type: "size";
1566
+ min?: any;
1567
+ max?: any;
1568
+ }
1569
+ export interface ValueDescriptor extends NameHolder {
1570
+ type?: any;
1571
+ constraints?: ValueConstraintUnion[];
1572
+ format?: ValueFormat;
1573
+ units?: any[];
1574
+ arrayDimensions?: any;
1575
+ metaUseOnly?: any;
1576
+ jsonType?: any;
1577
+ }
1578
+ export interface ValueDescriptorHolder {
1579
+ constraints?: ValueConstraintUnion[];
1580
+ type?: any;
1581
+ units?: any[];
1582
+ format?: ValueFormat;
1583
+ }
1584
+ export interface ValueFilter {
1585
+ type: "jsonPath" | "regex" | "substring";
1586
+ }
1587
+ export interface ValueFormat {
1588
+ useGrouping?: any;
1589
+ minimumIntegerDigits?: any;
1590
+ minimumFractionDigits?: any;
1591
+ maximumFractionDigits?: any;
1592
+ minimumSignificantDigits?: any;
1593
+ maximumSignificantDigits?: any;
1594
+ asBoolean?: any;
1595
+ asDate?: any;
1596
+ asSlider?: any;
1597
+ resolution?: any;
1598
+ dateStyle?: ValueFormatStyleRepresentation;
1599
+ timeStyle?: ValueFormatStyleRepresentation;
1600
+ dayPeriod?: ValueFormatStyleRepresentation;
1601
+ hour12?: any;
1602
+ iso8601?: any;
1603
+ weekday?: ValueFormatStyleRepresentation;
1604
+ era?: ValueFormatStyleRepresentation;
1605
+ year?: ValueFormatStyleRepresentation;
1606
+ month?: ValueFormatStyleRepresentation;
1607
+ week?: ValueFormatStyleRepresentation;
1608
+ day?: ValueFormatStyleRepresentation;
1609
+ hour?: ValueFormatStyleRepresentation;
1610
+ minute?: ValueFormatStyleRepresentation;
1611
+ second?: ValueFormatStyleRepresentation;
1612
+ fractionalSecondDigits?: any;
1613
+ timeZoneName?: ValueFormatStyleRepresentation;
1614
+ momentJsFormat?: any;
1615
+ asNumber?: any;
1616
+ asOnOff?: any;
1617
+ asPressedReleased?: any;
1618
+ asOpenClosed?: any;
1619
+ asMomentary?: any;
1620
+ multiline?: any;
1621
+ }
1622
+ export interface ValueHolder<T> {
1623
+ value?: T;
1624
+ type?: any;
1625
+ }
1626
+ export interface ColourRGB {
1627
+ r?: number;
1628
+ g?: number;
1629
+ b?: number;
1630
+ }
1631
+ export interface PeriodAndDuration {
1632
+ }
1633
+ export interface Webhook {
1634
+ name?: any;
1635
+ url?: any;
1636
+ headers?: {
1637
+ [index: string]: any[];
1638
+ };
1639
+ httpMethod?: HTTPMethod;
1640
+ usernamePassword?: UsernamePassword;
1641
+ oAuthGrant?: OAuthGrantUnion;
1642
+ payload?: any;
1643
+ }
1644
+ export interface Recur {
1645
+ frequency?: RecurFrequency;
1646
+ skip?: RecurSkip;
1647
+ until?: DateAsNumber;
1648
+ rscale?: RecurRScale;
1649
+ count?: any;
1650
+ interval?: any;
1651
+ secondList?: any[];
1652
+ minuteList?: any[];
1653
+ hourList?: any[];
1654
+ dayList?: WeekDay[];
1655
+ monthDayList?: any[];
1656
+ yearDayList?: any[];
1657
+ weekNoList?: any[];
1658
+ monthList?: Month[];
1659
+ setPosList?: any[];
1660
+ transformers?: {
1661
+ [index: string]: Transformer<DateAsNumber[]>;
1662
+ };
1663
+ weekStartDay?: WeekDayDay;
1664
+ calendarWeekStartDay?: number;
1665
+ experimentalValues?: {
1666
+ [index: string]: any;
1667
+ };
1668
+ calIncField?: number;
1669
+ }
1670
+ export interface Coordinate {
1671
+ x?: number;
1672
+ y?: number;
1673
+ z?: number;
1674
+ }
1675
+ export interface Pattern {
1676
+ }
1677
+ export interface WeekDay {
1678
+ day?: WeekDayDay;
1679
+ offset?: number;
1680
+ }
1681
+ export interface Month {
1682
+ monthOfYear?: number;
1683
+ leapMonth?: boolean;
1684
+ }
1685
+ export interface Transformer<T> {
1686
+ }
1687
+ export type DateAsNumber = number;
1688
+ export type OAuthGrantUnion = OAuthPasswordGrant | OAuthClientCredentialsGrant | OAuthRefreshTokenGrant;
1689
+ export type AssetDatapointQueryUnion = AssetDatapointAllQuery | AssetDatapointLTTBQuery | AssetDatapointIntervalQuery;
1690
+ export type SharedEventUnion = SyslogEvent | AttributeEvent | AssetEvent | AssetsEvent | ReadAttributeEvent | ReadAssetEvent | ReadAssetsEvent | SimulatorState | RequestSimulatorState | RulesEngineStatusEvent | RulesetChangedEvent | GatewayDisconnectEvent | GatewayConnectionStatusEvent | DeleteAssetsRequestEvent | DeleteAssetsResponseEvent;
1691
+ export type GeoJSONUnion = GeoJSONFeatureCollection | GeoJSONFeature | GeoJSONGeometry;
1692
+ export type GeoJSONGeometryUnion = GeoJSONPoint;
1693
+ export type AbstractNotificationMessageUnion = PushNotificationMessage | EmailNotificationMessage;
1694
+ export type ProvisioningConfigUnion<T, U> = X509ProvisioningConfig;
1695
+ export type ProvisioningMessageUnion = ErrorResponseMessage | SuccessResponseMessage | X509ProvisioningMessage;
1696
+ export type ValuePredicateUnion = StringPredicate | BooleanPredicate | DateTimePredicate | NumberPredicate | RadialGeofencePredicate | RectangularGeofencePredicate | ArrayPredicate | ValueAnyPredicate | ValueEmptyPredicate | CalendarEventPredicate;
1697
+ export type RulesetUnion = AssetRuleset | RealmRuleset | GlobalRuleset;
1698
+ export type RuleActionUnion = RuleActionWait | RuleActionWriteAttribute | RuleActionNotification | RuleActionUpdateAttribute | RuleActionWebhook;
1699
+ export type ForecastConfigurationUnion = ForecastConfigurationWeightedExponentialAverage;
1700
+ export type ValueConstraintUnion = ValueConstraintSize | ValueConstraintPattern | ValueConstraintMin | ValueConstraintMax | ValueConstraintAllowedValues | ValueConstraintPast | ValueConstraintPastOrPresent | ValueConstraintFuture | ValueConstraintFutureOrPresent | ValueConstraintNotEmpty | ValueConstraintNotBlank | ValueConstraintNotNull;
1701
+ export type ValueFilterUnion = RegexValueFilter | SubStringValueFilter | JsonPathFilter;
1702
+ export declare const enum PersistenceEventCause {
1703
+ CREATE = "CREATE",
1704
+ UPDATE = "UPDATE",
1705
+ DELETE = "DELETE"
1706
+ }
1707
+ export declare const enum ConsoleAppConfigMenuPosition {
1708
+ BOTTOM_LEFT = "BOTTOM_LEFT",
1709
+ BOTTOM_RIGHT = "BOTTOM_RIGHT",
1710
+ TOP_LEFT = "TOP_LEFT",
1711
+ TOP_RIGHT = "TOP_RIGHT"
1712
+ }
1713
+ export declare const enum AssetEventCause {
1714
+ CREATE = "CREATE",
1715
+ READ = "READ",
1716
+ UPDATE = "UPDATE",
1717
+ DELETE = "DELETE"
1718
+ }
1719
+ export declare const enum ElectricityConsumerDemandResponseType {
1720
+ NONE = "NONE",
1721
+ FORECAST = "FORECAST",
1722
+ SETPOINT = "SETPOINT"
1723
+ }
1724
+ export declare const enum ConnectionStatus {
1725
+ DISCONNECTED = "DISCONNECTED",
1726
+ CONNECTING = "CONNECTING",
1727
+ DISCONNECTING = "DISCONNECTING",
1728
+ CONNECTED = "CONNECTED",
1729
+ DISABLED = "DISABLED",
1730
+ WAITING = "WAITING",
1731
+ ERROR = "ERROR",
1732
+ STOPPED = "STOPPED"
1733
+ }
1734
+ export declare const enum ElectricVehicleAssetEnergyType {
1735
+ EV = "EV",
1736
+ PHEV = "PHEV"
1737
+ }
1738
+ export declare const enum ElectricityChargerAssetConnectorType {
1739
+ YAZAKI = "YAZAKI",
1740
+ MENNEKES = "MENNEKES",
1741
+ LE_GRAND = "LE_GRAND",
1742
+ CHADEMO = "CHADEMO",
1743
+ COMBO = "COMBO",
1744
+ SCHUKO = "SCHUKO",
1745
+ ENERGYLOCK = "ENERGYLOCK"
1746
+ }
1747
+ export declare const enum ElectricityProducerSolarAssetPanelOrientation {
1748
+ SOUTH = "SOUTH",
1749
+ EAST_WEST = "EAST_WEST"
1750
+ }
1751
+ export declare const enum AttributeExecuteStatus {
1752
+ REQUEST_START = "REQUEST_START",
1753
+ REQUEST_REPEATING = "REQUEST_REPEATING",
1754
+ REQUEST_CANCEL = "REQUEST_CANCEL",
1755
+ READY = "READY",
1756
+ COMPLETED = "COMPLETED",
1757
+ RUNNING = "RUNNING",
1758
+ CANCELLED = "CANCELLED"
1759
+ }
1760
+ export declare const enum AttributeLinkConverterType {
1761
+ TOGGLE = "TOGGLE",
1762
+ INCREMENT = "INCREMENT",
1763
+ DECREMENT = "DECREMENT",
1764
+ NEGATE = "NEGATE"
1765
+ }
1766
+ export declare const enum AttributeWriteFailure {
1767
+ ASSET_NOT_FOUND = "ASSET_NOT_FOUND",
1768
+ ATTRIBUTE_NOT_FOUND = "ATTRIBUTE_NOT_FOUND",
1769
+ INSUFFICIENT_ACCESS = "INSUFFICIENT_ACCESS",
1770
+ INVALID_VALUE = "INVALID_VALUE",
1771
+ INTERCEPTOR_FAILURE = "INTERCEPTOR_FAILURE",
1772
+ STATE_STORAGE_FAILED = "STATE_STORAGE_FAILED",
1773
+ CANNOT_PROCESS = "CANNOT_PROCESS",
1774
+ QUEUE_FULL = "QUEUE_FULL",
1775
+ UNKNOWN = "UNKNOWN"
1776
+ }
1777
+ export declare const enum DashboardAccess {
1778
+ PUBLIC = "PUBLIC",
1779
+ SHARED = "SHARED",
1780
+ PRIVATE = "PRIVATE"
1781
+ }
1782
+ export declare const enum DashboardRefreshInterval {
1783
+ OFF = "OFF",
1784
+ ONE_MIN = "ONE_MIN",
1785
+ FIVE_MIN = "FIVE_MIN",
1786
+ QUARTER = "QUARTER",
1787
+ ONE_HOUR = "ONE_HOUR"
1788
+ }
1789
+ export declare const enum DashboardScalingPreset {
1790
+ WRAP_TO_SINGLE_COLUMN = "WRAP_TO_SINGLE_COLUMN",
1791
+ KEEP_LAYOUT = "KEEP_LAYOUT",
1792
+ REDIRECT = "REDIRECT",
1793
+ BLOCK_DEVICE = "BLOCK_DEVICE"
1794
+ }
1795
+ export declare const enum DatapointInterval {
1796
+ MINUTE = "MINUTE",
1797
+ HOUR = "HOUR",
1798
+ DAY = "DAY",
1799
+ WEEK = "WEEK",
1800
+ MONTH = "MONTH",
1801
+ YEAR = "YEAR"
1802
+ }
1803
+ export declare const enum AssetDatapointIntervalQueryFormula {
1804
+ MIN = "MIN",
1805
+ AVG = "AVG",
1806
+ MAX = "MAX"
1807
+ }
1808
+ export declare const enum GatewayDisconnectEventReason {
1809
+ TERMINATING = "TERMINATING",
1810
+ DISABLED = "DISABLED",
1811
+ ALREADY_CONNECTED = "ALREADY_CONNECTED",
1812
+ UNRECOGNISED = "UNRECOGNISED",
1813
+ PERMANENT_ERROR = "PERMANENT_ERROR"
1814
+ }
1815
+ export declare const enum HTTPMethod {
1816
+ GET = "GET",
1817
+ POST = "POST",
1818
+ PUT = "PUT",
1819
+ DELETE = "DELETE",
1820
+ OPTIONS = "OPTIONS",
1821
+ PATCH = "PATCH"
1822
+ }
1823
+ export declare const enum Auth {
1824
+ KEYCLOAK = "KEYCLOAK",
1825
+ BASIC = "BASIC",
1826
+ NONE = "NONE"
1827
+ }
1828
+ export declare const enum EventProviderType {
1829
+ WEBSOCKET = "WEBSOCKET",
1830
+ POLLING = "POLLING"
1831
+ }
1832
+ export declare const enum MapType {
1833
+ VECTOR = "VECTOR",
1834
+ RASTER = "RASTER"
1835
+ }
1836
+ export declare const enum NotificationSource {
1837
+ INTERNAL = "INTERNAL",
1838
+ CLIENT = "CLIENT",
1839
+ GLOBAL_RULESET = "GLOBAL_RULESET",
1840
+ REALM_RULESET = "REALM_RULESET",
1841
+ ASSET_RULESET = "ASSET_RULESET"
1842
+ }
1843
+ export declare const enum NotificationTargetType {
1844
+ REALM = "REALM",
1845
+ USER = "USER",
1846
+ ASSET = "ASSET",
1847
+ CUSTOM = "CUSTOM"
1848
+ }
1849
+ export declare const enum PushNotificationMessageMessagePriority {
1850
+ NORMAL = "NORMAL",
1851
+ HIGH = "HIGH"
1852
+ }
1853
+ export declare const enum PushNotificationMessageTargetType {
1854
+ DEVICE = "DEVICE",
1855
+ TOPIC = "TOPIC",
1856
+ CONDITION = "CONDITION"
1857
+ }
1858
+ export declare const enum RepeatFrequency {
1859
+ ALWAYS = "ALWAYS",
1860
+ ONCE = "ONCE",
1861
+ HOURLY = "HOURLY",
1862
+ DAILY = "DAILY",
1863
+ WEEKLY = "WEEKLY",
1864
+ MONTHLY = "MONTHLY",
1865
+ ANNUALLY = "ANNUALLY"
1866
+ }
1867
+ export declare const enum ErrorResponseMessageError {
1868
+ MESSAGE_INVALID = "MESSAGE_INVALID",
1869
+ CERTIFICATE_INVALID = "CERTIFICATE_INVALID",
1870
+ UNAUTHORIZED = "UNAUTHORIZED",
1871
+ FORBIDDEN = "FORBIDDEN",
1872
+ UNIQUE_ID_MISMATCH = "UNIQUE_ID_MISMATCH",
1873
+ CONFIG_DISABLED = "CONFIG_DISABLED",
1874
+ USER_DISABLED = "USER_DISABLED",
1875
+ SERVER_ERROR = "SERVER_ERROR",
1876
+ ASSET_ERROR = "ASSET_ERROR"
1877
+ }
1878
+ export declare const enum AssetQueryAccess {
1879
+ PRIVATE = "PRIVATE",
1880
+ PROTECTED = "PROTECTED",
1881
+ PUBLIC = "PUBLIC"
1882
+ }
1883
+ export declare const enum AssetQueryMatch {
1884
+ EXACT = "EXACT",
1885
+ BEGIN = "BEGIN",
1886
+ END = "END",
1887
+ CONTAINS = "CONTAINS"
1888
+ }
1889
+ export declare const enum AssetQueryOperator {
1890
+ EQUALS = "EQUALS",
1891
+ GREATER_THAN = "GREATER_THAN",
1892
+ GREATER_EQUALS = "GREATER_EQUALS",
1893
+ LESS_THAN = "LESS_THAN",
1894
+ LESS_EQUALS = "LESS_EQUALS",
1895
+ BETWEEN = "BETWEEN"
1896
+ }
1897
+ export declare const enum AssetQueryOrderBy$Property {
1898
+ CREATED_ON = "CREATED_ON",
1899
+ NAME = "NAME",
1900
+ ASSET_TYPE = "ASSET_TYPE",
1901
+ PARENT_ID = "PARENT_ID",
1902
+ REALM = "REALM"
1903
+ }
1904
+ export declare const enum LogicGroupOperator {
1905
+ AND = "AND",
1906
+ OR = "OR"
1907
+ }
1908
+ export declare const enum UserQueryOrderBy$Property {
1909
+ CREATED_ON = "CREATED_ON",
1910
+ FIRST_NAME = "FIRST_NAME",
1911
+ LAST_NAME = "LAST_NAME",
1912
+ USERNAME = "USERNAME",
1913
+ EMAIL = "EMAIL"
1914
+ }
1915
+ export declare const enum RulesEngineStatus {
1916
+ STOPPED = "STOPPED",
1917
+ RUNNING = "RUNNING",
1918
+ ERROR = "ERROR"
1919
+ }
1920
+ export declare const enum RulesetLang {
1921
+ JAVASCRIPT = "JAVASCRIPT",
1922
+ GROOVY = "GROOVY",
1923
+ JSON = "JSON",
1924
+ FLOW = "FLOW"
1925
+ }
1926
+ export declare const enum RulesetStatus {
1927
+ READY = "READY",
1928
+ DEPLOYED = "DEPLOYED",
1929
+ COMPILATION_ERROR = "COMPILATION_ERROR",
1930
+ VALIDITY_PERIOD_ERROR = "VALIDITY_PERIOD_ERROR",
1931
+ EXECUTION_ERROR = "EXECUTION_ERROR",
1932
+ LOOP_ERROR = "LOOP_ERROR",
1933
+ DISABLED = "DISABLED",
1934
+ PAUSED = "PAUSED",
1935
+ EXPIRED = "EXPIRED",
1936
+ REMOVED = "REMOVED",
1937
+ EMPTY = "EMPTY"
1938
+ }
1939
+ export declare const enum SunPositionTriggerPosition {
1940
+ SUNRISE = "SUNRISE",
1941
+ SUNSET = "SUNSET",
1942
+ TWILIGHT_MORNING_VISUAL = "TWILIGHT_MORNING_VISUAL",
1943
+ TWILIGHT_MORNING_VISUAL_LOWER = "TWILIGHT_MORNING_VISUAL_LOWER",
1944
+ TWILIGHT_MORNING_HORIZON = "TWILIGHT_MORNING_HORIZON",
1945
+ TWILIGHT_MORNING_CIVIL = "TWILIGHT_MORNING_CIVIL",
1946
+ TWILIGHT_MORNING_NAUTICAL = "TWILIGHT_MORNING_NAUTICAL",
1947
+ TWILIGHT_MORNING_ASTRONOMICAL = "TWILIGHT_MORNING_ASTRONOMICAL",
1948
+ TWILIGHT_MORNING_GOLDEN_HOUR = "TWILIGHT_MORNING_GOLDEN_HOUR",
1949
+ TWILIGHT_MORNING_BLUE_HOUR = "TWILIGHT_MORNING_BLUE_HOUR",
1950
+ TWILIGHT_MORNING_NIGHT_HOUR = "TWILIGHT_MORNING_NIGHT_HOUR",
1951
+ TWILIGHT_EVENING_VISUAL = "TWILIGHT_EVENING_VISUAL",
1952
+ TWILIGHT_EVENING_VISUAL_LOWER = "TWILIGHT_EVENING_VISUAL_LOWER",
1953
+ TWILIGHT_EVENING_HORIZON = "TWILIGHT_EVENING_HORIZON",
1954
+ TWILIGHT_EVENING_CIVIL = "TWILIGHT_EVENING_CIVIL",
1955
+ TWILIGHT_EVENING_NAUTICAL = "TWILIGHT_EVENING_NAUTICAL",
1956
+ TWILIGHT_EVENING_ASTRONOMICAL = "TWILIGHT_EVENING_ASTRONOMICAL",
1957
+ TWILIGHT_EVENING_GOLDEN_HOUR = "TWILIGHT_EVENING_GOLDEN_HOUR",
1958
+ TWILIGHT_EVENING_BLUE_HOUR = "TWILIGHT_EVENING_BLUE_HOUR",
1959
+ TWILIGHT_EVENING_NIGHT_HOUR = "TWILIGHT_EVENING_NIGHT_HOUR"
1960
+ }
1961
+ /**
1962
+ * Values:
1963
+ * - `NUMBER`
1964
+ * - `STRING`
1965
+ * - `BOOLEAN`
1966
+ * - `TRIGGER` - @deprecated
1967
+ * - `COLOR`
1968
+ * - `ANY`
1969
+ */
1970
+ export declare const enum NodeDataType {
1971
+ NUMBER = "NUMBER",
1972
+ STRING = "STRING",
1973
+ BOOLEAN = "BOOLEAN",
1974
+ /**
1975
+ * @deprecated
1976
+ */
1977
+ TRIGGER = "TRIGGER",
1978
+ COLOR = "COLOR",
1979
+ ANY = "ANY"
1980
+ }
1981
+ /**
1982
+ * Values:
1983
+ * - `INPUT`
1984
+ * - `PROCESSOR`
1985
+ * - `OUTPUT`
1986
+ * - `THEN` - @deprecated
1987
+ */
1988
+ export declare const enum NodeType {
1989
+ INPUT = "INPUT",
1990
+ PROCESSOR = "PROCESSOR",
1991
+ OUTPUT = "OUTPUT",
1992
+ /**
1993
+ * @deprecated
1994
+ */
1995
+ THEN = "THEN"
1996
+ }
1997
+ export declare const enum PickerType {
1998
+ TEXT = "TEXT",
1999
+ MULTILINE = "MULTILINE",
2000
+ NUMBER = "NUMBER",
2001
+ DROPDOWN = "DROPDOWN",
2002
+ DOUBLE_DROPDOWN = "DOUBLE_DROPDOWN",
2003
+ CHECKBOX = "CHECKBOX",
2004
+ ASSET_ATTRIBUTE = "ASSET_ATTRIBUTE",
2005
+ COLOR = "COLOR"
2006
+ }
2007
+ export declare const enum RuleActionUpdateAttributeUpdateAction {
2008
+ ADD = "ADD",
2009
+ ADD_OR_REPLACE = "ADD_OR_REPLACE",
2010
+ REPLACE = "REPLACE",
2011
+ DELETE = "DELETE",
2012
+ CLEAR = "CLEAR"
2013
+ }
2014
+ export declare const enum RuleRecurrenceScope {
2015
+ PER_ASSET = "PER_ASSET",
2016
+ GLOBAL = "GLOBAL"
2017
+ }
2018
+ export declare const enum ClientRole {
2019
+ READ_ADMIN = "read:admin",
2020
+ READ_LOGS = "read:logs",
2021
+ READ_USERS = "read:users",
2022
+ READ_MAP = "read:map",
2023
+ READ_ASSETS = "read:assets",
2024
+ READ_RULES = "read:rules",
2025
+ READ_INSIGHTS = "read:insights",
2026
+ WRITE_USER = "write:user",
2027
+ WRITE_ADMIN = "write:admin",
2028
+ WRITE_LOGS = "write:logs",
2029
+ WRITE_ASSETS = "write:assets",
2030
+ WRITE_ATTRIBUTES = "write:attributes",
2031
+ WRITE_RULES = "write:rules",
2032
+ WRITE_INSIGHTS = "write:insights",
2033
+ READ = "read",
2034
+ WRITE = "write"
2035
+ }
2036
+ export declare const enum SyslogCategory {
2037
+ ASSET = "ASSET",
2038
+ AGENT = "AGENT",
2039
+ NOTIFICATION = "NOTIFICATION",
2040
+ RULES = "RULES",
2041
+ PROTOCOL = "PROTOCOL",
2042
+ GATEWAY = "GATEWAY",
2043
+ MODEL_AND_VALUES = "MODEL_AND_VALUES",
2044
+ API = "API",
2045
+ DATA = "DATA"
2046
+ }
2047
+ export declare const enum SyslogLevel {
2048
+ INFO = "INFO",
2049
+ WARN = "WARN",
2050
+ ERROR = "ERROR"
2051
+ }
2052
+ export declare const enum ValueFormatStyleRepresentation {
2053
+ NUMERIC = "numeric",
2054
+ DIGIT_2 = "2-digit",
2055
+ FULL = "full",
2056
+ LONG = "long",
2057
+ MEDIUM = "medium",
2058
+ SHORT = "short",
2059
+ NARROW = "narrow"
2060
+ }
2061
+ export declare const enum RecurFrequency {
2062
+ SECONDLY = "SECONDLY",
2063
+ MINUTELY = "MINUTELY",
2064
+ HOURLY = "HOURLY",
2065
+ DAILY = "DAILY",
2066
+ WEEKLY = "WEEKLY",
2067
+ MONTHLY = "MONTHLY",
2068
+ YEARLY = "YEARLY"
2069
+ }
2070
+ export declare const enum RecurSkip {
2071
+ OMIT = "OMIT",
2072
+ BACKWARD = "BACKWARD",
2073
+ FORWARD = "FORWARD"
2074
+ }
2075
+ export declare const enum RecurRScale {
2076
+ JAPANESE = "JAPANESE",
2077
+ BUDDHIST = "BUDDHIST",
2078
+ ROC = "ROC",
2079
+ ISLAMIC = "ISLAMIC",
2080
+ ISO8601 = "ISO8601",
2081
+ CHINESE = "CHINESE",
2082
+ ETHIOPIC = "ETHIOPIC",
2083
+ HEBREW = "HEBREW",
2084
+ GREGORIAN = "GREGORIAN"
2085
+ }
2086
+ export declare const enum WeekDayDay {
2087
+ SU = "SU",
2088
+ MO = "MO",
2089
+ TU = "TU",
2090
+ WE = "WE",
2091
+ TH = "TH",
2092
+ FR = "FR",
2093
+ SA = "SA"
2094
+ }
2095
+ export declare const enum WellknownAssets {
2096
+ PEOPLECOUNTERASSET = "PeopleCounterAsset",
2097
+ MAILAGENT = "MailAgent",
2098
+ UDPAGENT = "UDPAgent",
2099
+ STORAGESIMULATORAGENT = "StorageSimulatorAgent",
2100
+ ROOMASSET = "RoomAsset",
2101
+ CITYASSET = "CityAsset",
2102
+ ELECTRICITYCONSUMERASSET = "ElectricityConsumerAsset",
2103
+ ELECTRICVEHICLEASSET = "ElectricVehicleAsset",
2104
+ VENTILATIONASSET = "VentilationAsset",
2105
+ TRADFRILIGHTASSET = "TradfriLightAsset",
2106
+ CONSOLEASSET = "ConsoleAsset",
2107
+ PRESENCESENSORASSET = "PresenceSensorAsset",
2108
+ LIGHTASSET = "LightAsset",
2109
+ KNXAGENT = "KNXAgent",
2110
+ PLUGASSET = "PlugAsset",
2111
+ ELECTRICITYCHARGERASSET = "ElectricityChargerAsset",
2112
+ WEATHERASSET = "WeatherAsset",
2113
+ ELECTRICITYBATTERYASSET = "ElectricityBatteryAsset",
2114
+ ELECTRICITYSUPPLIERASSET = "ElectricitySupplierAsset",
2115
+ THINGASSET = "ThingAsset",
2116
+ WEBSOCKETAGENT = "WebsocketAgent",
2117
+ TCPAGENT = "TCPAgent",
2118
+ GATEWAYASSET = "GatewayAsset",
2119
+ SERIALAGENT = "SerialAgent",
2120
+ BLUETOOTHMESHAGENT = "BluetoothMeshAgent",
2121
+ PARKINGASSET = "ParkingAsset",
2122
+ TRADFRIPLUGASSET = "TradfriPlugAsset",
2123
+ SIMULATORAGENT = "SimulatorAgent",
2124
+ SNMPAGENT = "SNMPAgent",
2125
+ GROUPASSET = "GroupAsset",
2126
+ BUILDINGASSET = "BuildingAsset",
2127
+ ELECTRICITYPRODUCERWINDASSET = "ElectricityProducerWindAsset",
2128
+ ENVIRONMENTSENSORASSET = "EnvironmentSensorAsset",
2129
+ MQTTAGENT = "MQTTAgent",
2130
+ ELECTRICVEHICLEFLEETGROUPASSET = "ElectricVehicleFleetGroupAsset",
2131
+ VELBUSTCPAGENT = "VelbusTCPAgent",
2132
+ ARTNETLIGHTASSET = "ArtnetLightAsset",
2133
+ VELBUSSERIALAGENT = "VelbusSerialAgent",
2134
+ GROUNDWATERSENSORASSET = "GroundwaterSensorAsset",
2135
+ ELECTRICITYPRODUCERSOLARASSET = "ElectricityProducerSolarAsset",
2136
+ MICROPHONEASSET = "MicrophoneAsset",
2137
+ ZWAVEAGENT = "ZWaveAgent",
2138
+ ENERGYOPTIMISATIONASSET = "EnergyOptimisationAsset",
2139
+ HTTPAGENT = "HTTPAgent",
2140
+ DOORASSET = "DoorAsset",
2141
+ THERMOSTATASSET = "ThermostatAsset",
2142
+ ELECTRICITYPRODUCERASSET = "ElectricityProducerAsset",
2143
+ SHIPASSET = "ShipAsset"
2144
+ }
2145
+ export declare const enum WellknownAttributes {
2146
+ MILEAGEMINIMUM = "mileageMinimum",
2147
+ COLOURRGB = "colourRGB",
2148
+ CARBONIMPORT = "carbonImport",
2149
+ SUPPORTSEXPORT = "supportsExport",
2150
+ PRICEHOURLY = "priceHourly",
2151
+ WINDSPEEDMAX = "windSpeedMax",
2152
+ ENERGYSELFCONSUMPTION = "energySelfConsumption",
2153
+ FLOW = "flow",
2154
+ CHILDASSETTYPE = "childAssetType",
2155
+ LASTACCESS = "lastAccess",
2156
+ CHARGERID = "chargerID",
2157
+ POSITION = "position",
2158
+ NETWORKKEY = "networkKey",
2159
+ CARBONSAVING = "carbonSaving",
2160
+ UNIVERSE = "universe",
2161
+ ROUTINGMODE = "routingMode",
2162
+ MSSINUMBER = "MSSINumber",
2163
+ LASTWILLRETAIN = "lastWillRetain",
2164
+ LASTWILLTOPIC = "lastWillTopic",
2165
+ SERIALBAUDRATE = "serialBaudrate",
2166
+ LEDCOUNT = "lEDCount",
2167
+ LOCKED = "locked",
2168
+ BASEURL = "baseURL",
2169
+ PROTOCOL = "protocol",
2170
+ TARIFFIMPORT = "tariffImport",
2171
+ ENERGYRENEWABLESHARE = "energyRenewableShare",
2172
+ REQUIREDVALUES = "requiredValues",
2173
+ REGION = "region",
2174
+ FINANCIALSAVING = "financialSaving",
2175
+ FLEETCATEGORY = "fleetCategory",
2176
+ CONSOLEPLATFORM = "consolePlatform",
2177
+ POWEREXPORTMIN = "powerExportMin",
2178
+ GATEWAYSTATUS = "gatewayStatus",
2179
+ NO2LEVEL = "NO2Level",
2180
+ EFFICIENCYEXPORT = "efficiencyExport",
2181
+ CHARGECYCLES = "chargeCycles",
2182
+ SERIALPORT = "serialPort",
2183
+ TAGS = "tags",
2184
+ MILEAGEMIN = "mileageMin",
2185
+ UNLOCK = "unlock",
2186
+ CHECKINTERVALSECONDS = "checkIntervalSeconds",
2187
+ PANELORIENTATION = "panelOrientation",
2188
+ LOCATION = "location",
2189
+ CLIENTSECRET = "clientSecret",
2190
+ WINDDIRECTION = "windDirection",
2191
+ WINDSPEED = "windSpeed",
2192
+ PARTICLESPM10 = "particlesPM10",
2193
+ APPLICATIONKEY = "applicationKey",
2194
+ POWEREXPORTMAX = "powerExportMax",
2195
+ LENGTH = "length",
2196
+ USERNAMEPASSWORD = "usernamePassword",
2197
+ SETWINDACTUALVALUEWITHFORECAST = "setWindActualValueWithForecast",
2198
+ POWERFORECAST = "powerForecast",
2199
+ SETACTUALSOLARVALUEWITHFORECAST = "setActualSolarValueWithForecast",
2200
+ WATERLEVEL = "waterLevel",
2201
+ CONNECTHEADERS = "connectHeaders",
2202
+ CONSOLENAME = "consoleName",
2203
+ WEBSOCKETQUERY = "websocketQuery",
2204
+ PREFERHTML = "preferHTML",
2205
+ COOLING = "cooling",
2206
+ POLLINGMILLIS = "pollingMillis",
2207
+ SOILTEMPERATURE = "soilTemperature",
2208
+ SUNIRRADIANCE = "sunIrradiance",
2209
+ ODOMETER = "odometer",
2210
+ SUPPORTSIMPORT = "supportsImport",
2211
+ MESSAGEMAXLENGTH = "messageMaxLength",
2212
+ ENERGYLEVELPERCENTAGEMIN = "energyLevelPercentageMin",
2213
+ LIGHTID = "lightId",
2214
+ PROXYADDRESS = "proxyAddress",
2215
+ REQUESTQUERYPARAMETERS = "requestQueryParameters",
2216
+ ENERGYLOCAL = "energyLocal",
2217
+ POWER = "power",
2218
+ ENERGYAUTARKY = "energyAutarky",
2219
+ MODEL = "model",
2220
+ STREET = "street",
2221
+ MANUFACTURER = "manufacturer",
2222
+ DELETEPROCESSEDMAIL = "deleteProcessedMail",
2223
+ ONOFF = "onOff",
2224
+ RESUMESESSION = "resumeSession",
2225
+ TARIFFEXPORT = "tariffExport",
2226
+ WINDSPEEDMIN = "windSpeedMin",
2227
+ CITY = "city",
2228
+ POWERSETPOINT = "powerSetpoint",
2229
+ PRESENCE = "presence",
2230
+ CONNECTORTYPE = "connectorType",
2231
+ ENERGYEXPORTTOTAL = "energyExportTotal",
2232
+ CARBONEXPORT = "carbonExport",
2233
+ SPACESOCCUPIED = "spacesOccupied",
2234
+ REQUESTTIMEOUTMILLIS = "requestTimeoutMillis",
2235
+ ENERGYLEVEL = "energyLevel",
2236
+ OPTIMISATIONDISABLED = "optimisationDisabled",
2237
+ AGENTSTATUS = "agentStatus",
2238
+ WEBSOCKETPATH = "websocketPath",
2239
+ WINDSPEEDREFERENCE = "windSpeedReference",
2240
+ PRICEDAILY = "priceDaily",
2241
+ COUNTGROWTHMINUTE = "countGrowthMinute",
2242
+ IMONUMBER = "IMONumber",
2243
+ INCLUDEFORECASTSOLARSERVICE = "includeForecastSolarService",
2244
+ REQUESTHEADERS = "requestHeaders",
2245
+ COUNTOUTMINUTE = "countOutMinute",
2246
+ HOST = "host",
2247
+ ENERGYTYPE = "energyType",
2248
+ MESSAGECHARSET = "messageCharset",
2249
+ PANELPITCH = "panelPitch",
2250
+ EMAIL = "email",
2251
+ BINDPORT = "bindPort",
2252
+ CONSOLEVERSION = "consoleVersion",
2253
+ PARTICLESPM1 = "particlesPM1",
2254
+ MTU = "mtu",
2255
+ SPEED = "speed",
2256
+ ENERGYLEVELPERCENTAGEMAX = "energyLevelPercentageMax",
2257
+ MESSAGESTRIPDELIMITER = "messageStripDelimiter",
2258
+ AREA = "area",
2259
+ COUNTRY = "country",
2260
+ SHIPTYPE = "shipType",
2261
+ CONNECTSUBSCRIPTIONS = "connectSubscriptions",
2262
+ RELATIVEHUMIDITY = "relativeHumidity",
2263
+ SOURCEADDRESS = "sourceAddress",
2264
+ INCLUDEFORECASTWINDSERVICE = "includeForecastWindService",
2265
+ PANELAZIMUTH = "panelAzimuth",
2266
+ RAINFALL = "rainfall",
2267
+ ENERGYIMPORTTOTAL = "energyImportTotal",
2268
+ OAUTHGRANT = "oAuthGrant",
2269
+ OZONELEVEL = "ozoneLevel",
2270
+ SEQUENCENUMBER = "sequenceNumber",
2271
+ COUNTINMINUTE = "countInMinute",
2272
+ PORT = "port",
2273
+ SUNALTITUDE = "sunAltitude",
2274
+ COUNTOUT = "countOut",
2275
+ CHARGERCONNECTED = "chargerConnected",
2276
+ ROOMNUMBER = "roomNumber",
2277
+ ENINUMBER = "ENINumber",
2278
+ PARTICLESPM2_5 = "particlesPM2_5",
2279
+ AGENTDISABLED = "agentDisabled",
2280
+ DISABLED = "disabled",
2281
+ COUNTIN = "countIn",
2282
+ MESSAGESOURCEADDRESS = "messageSourceAddress",
2283
+ MILEAGECHARGED = "mileageCharged",
2284
+ FORCECHARGE = "forceCharge",
2285
+ TIMEINJECTIONINTERVAL = "timeInjectionInterval",
2286
+ TEMPERATURESETPOINT = "temperatureSetpoint",
2287
+ FINANCIALWEIGHTING = "financialWeighting",
2288
+ CONSOLEPROVIDERS = "consoleProviders",
2289
+ ENERGYLEVELPERCENTAGE = "energyLevelPercentage",
2290
+ POWERIMPORTMAX = "powerImportMax",
2291
+ COUNTTOTAL = "countTotal",
2292
+ SPACESBUFFER = "spacesBuffer",
2293
+ SPACESTOTAL = "spacesTotal",
2294
+ BINDHOST = "bindHost",
2295
+ VEHICLECATEGORY = "vehicleCategory",
2296
+ FANSPEED = "fanSpeed",
2297
+ MESSAGECONVERTBINARY = "messageConvertBinary",
2298
+ FINANCIALCOST = "financialCost",
2299
+ NOTES = "notes",
2300
+ MAILFOLDERNAME = "mailFolderName",
2301
+ MESSAGEDELIMITERS = "messageDelimiters",
2302
+ EFFICIENCYIMPORT = "efficiencyImport",
2303
+ TEMPERATURE = "temperature",
2304
+ AVAILABLECHARGINGSPACES = "availableChargingSpaces",
2305
+ ENERGYCAPACITY = "energyCapacity",
2306
+ SUNZENITH = "sunZenith",
2307
+ POWERIMPORTMIN = "powerImportMin",
2308
+ INTERVALSIZE = "intervalSize",
2309
+ SNMPVERSIONVALUE = "SNMPVersionValue",
2310
+ BRIGHTNESS = "brightness",
2311
+ POSTALCODE = "postalCode",
2312
+ SPACESOPEN = "spacesOpen",
2313
+ HUMIDITY = "humidity",
2314
+ SOUNDLEVEL = "soundLevel",
2315
+ MILEAGECAPACITY = "mileageCapacity",
2316
+ SECUREMODE = "secureMode",
2317
+ DIRECTION = "direction",
2318
+ ENERGYLEVELSCHEDULE = "energyLevelSchedule",
2319
+ UVINDEX = "uVIndex",
2320
+ CONNECTURL = "connectURL",
2321
+ CLIENTID = "clientId",
2322
+ NATMODE = "NATMode",
2323
+ UPDATEONWRITE = "updateOnWrite",
2324
+ GROUPID = "groupId",
2325
+ LASTWILLPAYLOAD = "lastWillPayload",
2326
+ VEHICLEID = "vehicleID",
2327
+ FOLLOWREDIRECTS = "followRedirects",
2328
+ CARBONCOST = "carbonCost",
2329
+ SUNAZIMUTH = "sunAzimuth",
2330
+ MESSAGECONVERTHEX = "messageConvertHex",
2331
+ AVAILABLEDISCHARGINGSPACES = "availableDischargingSpaces",
2332
+ WEBSOCKETMODE = "websocketMode",
2333
+ COLOURTEMPERATURE = "colourTemperature",
2334
+ VEHICLECONNECTED = "vehicleConnected"
2335
+ }
2336
+ export declare const enum WellknownMetaItems {
2337
+ FORMAT = "format",
2338
+ DATAPOINTSMAXAGEDAYS = "dataPointsMaxAgeDays",
2339
+ ACCESSRESTRICTEDWRITE = "accessRestrictedWrite",
2340
+ SECRET = "secret",
2341
+ RULEEVENT = "ruleEvent",
2342
+ ATTRIBUTELINKS = "attributeLinks",
2343
+ RULERESETIMMEDIATE = "ruleResetImmediate",
2344
+ RULESTATE = "ruleState",
2345
+ HASPREDICTEDDATAPOINTS = "hasPredictedDataPoints",
2346
+ FORECAST = "forecast",
2347
+ STOREDATAPOINTS = "storeDataPoints",
2348
+ LABEL = "label",
2349
+ CONSTRAINTS = "constraints",
2350
+ UNITS = "units",
2351
+ USERCONNECTED = "userConnected",
2352
+ SHOWONDASHBOARD = "showOnDashboard",
2353
+ READONLY = "readOnly",
2354
+ MULTILINE = "multiline",
2355
+ ACCESSPUBLICWRITE = "accessPublicWrite",
2356
+ MOMENTARY = "momentary",
2357
+ AGENTLINK = "agentLink",
2358
+ RULEEVENTEXPIRES = "ruleEventExpires",
2359
+ ACCESSRESTRICTEDREAD = "accessRestrictedRead",
2360
+ ACCESSPUBLICREAD = "accessPublicRead"
2361
+ }
2362
+ export declare const enum WellknownValueTypes {
2363
+ ASSETQUERY = "assetQuery",
2364
+ WSURL = "WS_URL",
2365
+ COLOURRGB = "colourRGB",
2366
+ VALUEFORMAT = "valueFormat",
2367
+ TEXT = "text",
2368
+ BYTE = "byte",
2369
+ USERNAMEANDPASSWORD = "usernameAndPassword",
2370
+ HTTPURL = "HTTP_URL",
2371
+ ATTRIBUTELINK = "attributeLink",
2372
+ ASSETID = "assetID",
2373
+ NUMBERMAP = "numberMap",
2374
+ HTTPMETHOD = "HTTPMethod",
2375
+ PANELORIENTATION = "panelOrientation",
2376
+ ATTRIBUTESTATE = "attributeState",
2377
+ POSITIVENUMBER = "positiveNumber",
2378
+ POSITIVEINTEGER = "positiveInteger",
2379
+ EXECUTIONSTATUS = "executionStatus",
2380
+ BIGINTEGER = "bigInteger",
2381
+ VALUEDESCRIPTOR = "valueDescriptor",
2382
+ PERIODDURATIONISO8601 = "periodDurationISO8601",
2383
+ LONG = "long",
2384
+ DATEANDTIME = "dateAndTime",
2385
+ BOOLEANMAP = "booleanMap",
2386
+ CONNECTORTYPE = "connectorType",
2387
+ NEGATIVEINTEGER = "negativeInteger",
2388
+ TCPIPPORTNUMBER = "TCP_IPPortNumber",
2389
+ GEOJSONPOINT = "GEO_JSONPoint",
2390
+ SNMPVERSION = "SNMPVersion",
2391
+ ASSETTYPE = "assetType",
2392
+ JSONOBJECT = "JSONObject",
2393
+ INTEGERMAP = "integerMap",
2394
+ BIGNUMBER = "bigNumber",
2395
+ ENERGYTYPE = "energyType",
2396
+ IPADDRESS = "IPAddress",
2397
+ EMAIL = "email",
2398
+ TIMESTAMP = "timestamp",
2399
+ KNXMESSAGESOURCEADDRESS = "kNXMessageSourceAddress",
2400
+ ATTRIBUTEREFERENCE = "attributeReference",
2401
+ UUID = "UUID",
2402
+ INTEGER = "integer",
2403
+ OAUTHGRANT = "oAuthGrant",
2404
+ NUMBER = "number",
2405
+ TEXTMAP = "textMap",
2406
+ WEBSOCKETSUBSCRIPTION = "websocketSubscription",
2407
+ BOOLEAN = "boolean",
2408
+ TIMEANDPERIODDURATIONISO8601 = "timeAndPeriodDurationISO8601",
2409
+ FORECASTCONFIGURATION = "forecastConfiguration",
2410
+ TIMEDURATIONISO8601 = "timeDurationISO8601",
2411
+ TIMESTAMPISO8601 = "timestampISO8601",
2412
+ CONSOLEPROVIDERS = "consoleProviders",
2413
+ MULTIVALUEDTEXTMAP = "multivaluedTextMap",
2414
+ NEGATIVENUMBER = "negativeNumber",
2415
+ JSON = "JSON",
2416
+ CRONEXPRESSION = "CRONExpression",
2417
+ INTEGERBYTE = "integerByte",
2418
+ AGENTLINK = "agentLink",
2419
+ DIRECTION = "direction",
2420
+ HOSTORIPADDRESS = "hostOrIPAddress",
2421
+ CALENDAREVENT = "calendarEvent",
2422
+ CONNECTIONSTATUS = "connectionStatus",
2423
+ VALUECONSTRAINT = "valueConstraint"
2424
+ }
2425
+ export declare const enum WellknownUnitTypes {
2426
+ MONTH = "month",
2427
+ MILE_SCANDINAVIAN = "mile_scandinavian",
2428
+ OUNCE = "ounce",
2429
+ HECTARE = "hectare",
2430
+ YARD = "yard",
2431
+ YEAR = "year",
2432
+ JOULE = "joule",
2433
+ VOLT = "volt",
2434
+ HERTZ = "hertz",
2435
+ MILE = "mile",
2436
+ DEGREE = "degree",
2437
+ KILO = "kilo",
2438
+ BTU = "btu",
2439
+ FOOT = "foot",
2440
+ MEGA = "mega",
2441
+ KELVIN = "kelvin",
2442
+ CARBON = "carbon",
2443
+ DECIBEL_ATTENUATED = "decibel_attenuated",
2444
+ INCH = "inch",
2445
+ SQUARED = "squared",
2446
+ PERCENTAGE = "percentage",
2447
+ IN_HG = "inch_mercury",
2448
+ CENTI = "centi",
2449
+ GRAM = "gram",
2450
+ CUBED = "cubed",
2451
+ DAY = "day",
2452
+ RADIAN = "radian",
2453
+ OHM = "ohm",
2454
+ MINUTE = "minute",
2455
+ PART_PER_MILLION = "ppm",
2456
+ AMP = "amp",
2457
+ MASS_POUND = "pound",
2458
+ KNOT = "knot",
2459
+ METRE = "metre",
2460
+ LITRE = "litre",
2461
+ FLUID_OUNCE = "fluid_ounce",
2462
+ HOUR = "hour",
2463
+ ACRE = "acre",
2464
+ CELSIUS = "celsius",
2465
+ RPM = "rpm",
2466
+ PASCAL = "pascal",
2467
+ DECIBEL = "decibel",
2468
+ LUMEN = "lumen",
2469
+ WEEK = "week",
2470
+ FAHRENHEIT = "fahrenheit",
2471
+ WATT = "watt",
2472
+ GALLON = "gallon",
2473
+ LUX = "lux",
2474
+ MILLI = "milli",
2475
+ BAR = "bar",
2476
+ HECTO = "hecto",
2477
+ PEAK = "peak",
2478
+ SECOND = "second",
2479
+ MICRO = "micro",
2480
+ PER = "per",
2481
+ STONE = "stone"
2482
+ }
2483
+ export declare const enum WellknownRulesetMetaItems {
2484
+ }