@etainabl/nodejs-sdk 1.3.87 → 1.3.88

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
@@ -7,7 +7,7 @@ import moment from 'moment';
7
7
  import { ZodObject } from 'zod';
8
8
  import OpenAI from 'openai';
9
9
 
10
- type UtilityType = 'electricity' | 'gas' | 'water' | 'waste' | 'solar' | 'heating' | 'flow' | 'cooling' | 'temperature' | 'oil' | 'other';
10
+ type UtilityType = 'electricity' | 'gas' | 'water' | 'waste' | 'solar' | 'heating' | 'flow' | 'cooling' | 'temperature' | 'oil' | 'co2' | 'humid' | 'lux' | 'noise' | 'occupancy' | 'pressure' | 'voc' | 'other';
11
11
 
12
12
  interface Item {
13
13
  units?: string | null;
@@ -364,7 +364,7 @@ interface Consumption<IDType = ObjectId | string> {
364
364
  s3Key?: string;
365
365
  source?: string;
366
366
  category?: string;
367
- type?: 'electricity' | 'gas' | 'water' | 'waste' | 'solar' | 'heating' | 'flow' | 'cooling' | 'temperature' | 'other';
367
+ type?: UtilityType;
368
368
  unit: ETNUnit;
369
369
  readType: string;
370
370
  isGridData?: boolean;
package/dist/index.d.ts CHANGED
@@ -7,7 +7,7 @@ import moment from 'moment';
7
7
  import { ZodObject } from 'zod';
8
8
  import OpenAI from 'openai';
9
9
 
10
- type UtilityType = 'electricity' | 'gas' | 'water' | 'waste' | 'solar' | 'heating' | 'flow' | 'cooling' | 'temperature' | 'oil' | 'other';
10
+ type UtilityType = 'electricity' | 'gas' | 'water' | 'waste' | 'solar' | 'heating' | 'flow' | 'cooling' | 'temperature' | 'oil' | 'co2' | 'humid' | 'lux' | 'noise' | 'occupancy' | 'pressure' | 'voc' | 'other';
11
11
 
12
12
  interface Item {
13
13
  units?: string | null;
@@ -364,7 +364,7 @@ interface Consumption<IDType = ObjectId | string> {
364
364
  s3Key?: string;
365
365
  source?: string;
366
366
  category?: string;
367
- type?: 'electricity' | 'gas' | 'water' | 'waste' | 'solar' | 'heating' | 'flow' | 'cooling' | 'temperature' | 'other';
367
+ type?: UtilityType;
368
368
  unit: ETNUnit;
369
369
  readType: string;
370
370
  isGridData?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etainabl/nodejs-sdk",
3
- "version": "1.3.87",
3
+ "version": "1.3.88",
4
4
  "type": "module",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.mjs",