@etainabl/nodejs-sdk 1.2.52 → 1.2.54
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 +3 -3
- package/dist/index.d.ts +3 -3
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -546,8 +546,8 @@ interface Reading {
|
|
|
546
546
|
}
|
|
547
547
|
|
|
548
548
|
type ReportSource = 'assetGroup' | 'asset' | 'account' | 'accountsByRegister';
|
|
549
|
-
interface ReportSourceIdItem {
|
|
550
|
-
_id:
|
|
549
|
+
interface ReportSourceIdItem<T> {
|
|
550
|
+
_id: T;
|
|
551
551
|
type: ReportSource;
|
|
552
552
|
}
|
|
553
553
|
interface ReportMetadata {
|
|
@@ -558,7 +558,7 @@ interface ReportMetadata {
|
|
|
558
558
|
endDate?: string;
|
|
559
559
|
subType: string;
|
|
560
560
|
granularity?: string;
|
|
561
|
-
sourceIds?: ReportSourceIdItem[];
|
|
561
|
+
sourceIds?: ReportSourceIdItem<string>[] | ReportSourceIdItem<ObjectId>[];
|
|
562
562
|
schema?: [string];
|
|
563
563
|
rawUnits?: boolean;
|
|
564
564
|
dayNightSplit: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -546,8 +546,8 @@ interface Reading {
|
|
|
546
546
|
}
|
|
547
547
|
|
|
548
548
|
type ReportSource = 'assetGroup' | 'asset' | 'account' | 'accountsByRegister';
|
|
549
|
-
interface ReportSourceIdItem {
|
|
550
|
-
_id:
|
|
549
|
+
interface ReportSourceIdItem<T> {
|
|
550
|
+
_id: T;
|
|
551
551
|
type: ReportSource;
|
|
552
552
|
}
|
|
553
553
|
interface ReportMetadata {
|
|
@@ -558,7 +558,7 @@ interface ReportMetadata {
|
|
|
558
558
|
endDate?: string;
|
|
559
559
|
subType: string;
|
|
560
560
|
granularity?: string;
|
|
561
|
-
sourceIds?: ReportSourceIdItem[];
|
|
561
|
+
sourceIds?: ReportSourceIdItem<string>[] | ReportSourceIdItem<ObjectId>[];
|
|
562
562
|
schema?: [string];
|
|
563
563
|
rawUnits?: boolean;
|
|
564
564
|
dayNightSplit: boolean;
|