@etainabl/nodejs-sdk 1.3.139 → 1.3.140
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.cts +6 -17
- package/dist/index.d.ts +6 -17
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -581,21 +581,12 @@ interface Asset<IDType = ObjectId | string> {
|
|
|
581
581
|
type AutomationSource = 'ftp' | 'email' | 's3' | 'manual';
|
|
582
582
|
type AutomationService = 'accountStatus' | 'autometer' | 'bacnet' | 'beringar' | 'carlogavazzivmuc' | 'carlogavazziuwp' | 'cxgmulticolumn' | 'cxgmultitimecolumn' | 'cxgsinglecolumn' | 'etnsinglecolumn' | 'etnmulticolumn' | 'etnmultitimecolumn' | 'singlecolumn' | 'multicolumn' | 'multitimecolumn' | 'deepki' | '4dmonitoring' | 'crownamr' | 'elogbooks' | 'elveco' | 'elveco2108' | 'gridfetch' | 'imserv' | 'meteruk' | 'mjchurch' | 'msmsolutions' | 'niagaran4' | 'octanise' | 'orsis' | 'schneider' | 'schneideregx' | 'schneidercomx' | 'sentinel' | 'siemens' | 'siemenstem' | 'smartflow' | 'smartvatten' | 'sms' | 'soclean' | 'solarman' | 'solis' | 'sse' | 'stark' | 'synapsys' | 'trendlogs' | 'trio' | 'dataimport';
|
|
583
583
|
type AutomationServiceCategory = 'system' | 'company' | 'account';
|
|
584
|
-
|
|
584
|
+
type FrequencyType = 'never' | 'trigger' | 'hourly' | 'daily' | 'weekly' | 'monthly';
|
|
585
|
+
interface AccountSchema<IDType = ObjectId | string> {
|
|
585
586
|
_id: IDType;
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
batchId?: string;
|
|
589
|
-
source?: string;
|
|
587
|
+
status: 'success' | 'error';
|
|
588
|
+
lastSync: Date;
|
|
590
589
|
}
|
|
591
|
-
interface LastCollection {
|
|
592
|
-
collectedAt: Date | null;
|
|
593
|
-
data: Record<string, any> | null;
|
|
594
|
-
error: Record<string, any> | null;
|
|
595
|
-
status: 'success' | 'error' | 'pending';
|
|
596
|
-
source: Record<string, any> | null;
|
|
597
|
-
}
|
|
598
|
-
type FrequencyType = 'never' | 'trigger' | 'hourly' | 'daily' | 'weekly' | 'monthly';
|
|
599
590
|
interface Automation<IDType = ObjectId | string> {
|
|
600
591
|
_id: IDType;
|
|
601
592
|
description?: string;
|
|
@@ -603,13 +594,11 @@ interface Automation<IDType = ObjectId | string> {
|
|
|
603
594
|
category: AutomationServiceCategory;
|
|
604
595
|
source: AutomationSource;
|
|
605
596
|
active: boolean;
|
|
606
|
-
status
|
|
607
|
-
lastCollection: LastCollection;
|
|
608
|
-
logs: Log$1[];
|
|
597
|
+
status: 'active' | 'inactive' | 'warning';
|
|
609
598
|
data: Record<string, any>;
|
|
610
599
|
sourceData: Record<string, any>;
|
|
611
600
|
frequency?: FrequencyType;
|
|
612
|
-
|
|
601
|
+
accountItems?: AccountSchema<IDType>[];
|
|
613
602
|
assetIds?: IDType[];
|
|
614
603
|
userSub: string;
|
|
615
604
|
companyId: IDType;
|
package/dist/index.d.ts
CHANGED
|
@@ -581,21 +581,12 @@ interface Asset<IDType = ObjectId | string> {
|
|
|
581
581
|
type AutomationSource = 'ftp' | 'email' | 's3' | 'manual';
|
|
582
582
|
type AutomationService = 'accountStatus' | 'autometer' | 'bacnet' | 'beringar' | 'carlogavazzivmuc' | 'carlogavazziuwp' | 'cxgmulticolumn' | 'cxgmultitimecolumn' | 'cxgsinglecolumn' | 'etnsinglecolumn' | 'etnmulticolumn' | 'etnmultitimecolumn' | 'singlecolumn' | 'multicolumn' | 'multitimecolumn' | 'deepki' | '4dmonitoring' | 'crownamr' | 'elogbooks' | 'elveco' | 'elveco2108' | 'gridfetch' | 'imserv' | 'meteruk' | 'mjchurch' | 'msmsolutions' | 'niagaran4' | 'octanise' | 'orsis' | 'schneider' | 'schneideregx' | 'schneidercomx' | 'sentinel' | 'siemens' | 'siemenstem' | 'smartflow' | 'smartvatten' | 'sms' | 'soclean' | 'solarman' | 'solis' | 'sse' | 'stark' | 'synapsys' | 'trendlogs' | 'trio' | 'dataimport';
|
|
583
583
|
type AutomationServiceCategory = 'system' | 'company' | 'account';
|
|
584
|
-
|
|
584
|
+
type FrequencyType = 'never' | 'trigger' | 'hourly' | 'daily' | 'weekly' | 'monthly';
|
|
585
|
+
interface AccountSchema<IDType = ObjectId | string> {
|
|
585
586
|
_id: IDType;
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
batchId?: string;
|
|
589
|
-
source?: string;
|
|
587
|
+
status: 'success' | 'error';
|
|
588
|
+
lastSync: Date;
|
|
590
589
|
}
|
|
591
|
-
interface LastCollection {
|
|
592
|
-
collectedAt: Date | null;
|
|
593
|
-
data: Record<string, any> | null;
|
|
594
|
-
error: Record<string, any> | null;
|
|
595
|
-
status: 'success' | 'error' | 'pending';
|
|
596
|
-
source: Record<string, any> | null;
|
|
597
|
-
}
|
|
598
|
-
type FrequencyType = 'never' | 'trigger' | 'hourly' | 'daily' | 'weekly' | 'monthly';
|
|
599
590
|
interface Automation<IDType = ObjectId | string> {
|
|
600
591
|
_id: IDType;
|
|
601
592
|
description?: string;
|
|
@@ -603,13 +594,11 @@ interface Automation<IDType = ObjectId | string> {
|
|
|
603
594
|
category: AutomationServiceCategory;
|
|
604
595
|
source: AutomationSource;
|
|
605
596
|
active: boolean;
|
|
606
|
-
status
|
|
607
|
-
lastCollection: LastCollection;
|
|
608
|
-
logs: Log$1[];
|
|
597
|
+
status: 'active' | 'inactive' | 'warning';
|
|
609
598
|
data: Record<string, any>;
|
|
610
599
|
sourceData: Record<string, any>;
|
|
611
600
|
frequency?: FrequencyType;
|
|
612
|
-
|
|
601
|
+
accountItems?: AccountSchema<IDType>[];
|
|
613
602
|
assetIds?: IDType[];
|
|
614
603
|
userSub: string;
|
|
615
604
|
companyId: IDType;
|