@etainabl/nodejs-sdk 1.2.57 → 1.2.58

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 CHANGED
@@ -91,6 +91,7 @@ interface Account<IDType = ObjectId | string> {
91
91
  meterSerialNumber?: string;
92
92
  meterPointNumber2?: string;
93
93
  meterUnits: 'kwh' | 'm3' | 'ft3';
94
+ registerIds?: string[];
94
95
  automaticMeterRead?: boolean;
95
96
  status?: 'active' | 'inactive';
96
97
  statusHistory?: StatusHistory[];
@@ -126,6 +127,7 @@ interface Account<IDType = ObjectId | string> {
126
127
  };
127
128
  automationIds?: ObjectId[] | string[];
128
129
  customIntegrations?: object;
130
+ tags?: string[];
129
131
  supplierId?: IDType;
130
132
  batchId?: string;
131
133
  assetId: IDType;
@@ -524,6 +526,7 @@ interface Log<IDType = ObjectId | string> {
524
526
  linkedId?: IDType;
525
527
  linkedType?: string;
526
528
  type: string;
529
+ createdAt: Date;
527
530
  userSub?: string;
528
531
  companyId?: IDType;
529
532
  }
package/dist/index.d.ts CHANGED
@@ -91,6 +91,7 @@ interface Account<IDType = ObjectId | string> {
91
91
  meterSerialNumber?: string;
92
92
  meterPointNumber2?: string;
93
93
  meterUnits: 'kwh' | 'm3' | 'ft3';
94
+ registerIds?: string[];
94
95
  automaticMeterRead?: boolean;
95
96
  status?: 'active' | 'inactive';
96
97
  statusHistory?: StatusHistory[];
@@ -126,6 +127,7 @@ interface Account<IDType = ObjectId | string> {
126
127
  };
127
128
  automationIds?: ObjectId[] | string[];
128
129
  customIntegrations?: object;
130
+ tags?: string[];
129
131
  supplierId?: IDType;
130
132
  batchId?: string;
131
133
  assetId: IDType;
@@ -524,6 +526,7 @@ interface Log<IDType = ObjectId | string> {
524
526
  linkedId?: IDType;
525
527
  linkedType?: string;
526
528
  type: string;
529
+ createdAt: Date;
527
530
  userSub?: string;
528
531
  companyId?: IDType;
529
532
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etainabl/nodejs-sdk",
3
- "version": "1.2.57",
3
+ "version": "1.2.58",
4
4
  "type": "module",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.mjs",