@etainabl/nodejs-sdk 1.3.18 → 1.3.19

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
@@ -268,12 +268,11 @@ interface Asset<IDType = ObjectId | string> {
268
268
  address: Address;
269
269
  assetType: string;
270
270
  floorArea: number;
271
- floorAreaUnit: 'metric' | 'imperial';
271
+ floorAreaUnit?: 'metric' | 'imperial';
272
272
  noOfFloors?: number;
273
- energyRating: string;
274
- gav: string;
275
- gavCurrency: string;
276
- currency: string;
273
+ energyRating?: string;
274
+ gav?: string;
275
+ gavCurrency?: string;
277
276
  occupationStatus: 'occupied' | 'vacant' | 'other' | 'n/a';
278
277
  type: 'new construction' | 'major renovation' | 'standing investment' | 'n/a';
279
278
  vacancyRate?: number;
@@ -290,7 +289,6 @@ interface Asset<IDType = ObjectId | string> {
290
289
  recentCrimes: Crime[];
291
290
  recentAirQuality: AirQuality;
292
291
  documents?: Document<IDType>[];
293
- epbCertificates: any[];
294
292
  status?: string;
295
293
  settings: AssetSettings;
296
294
  recommendations?: AssetRecommendation[];
package/dist/index.d.ts CHANGED
@@ -268,12 +268,11 @@ interface Asset<IDType = ObjectId | string> {
268
268
  address: Address;
269
269
  assetType: string;
270
270
  floorArea: number;
271
- floorAreaUnit: 'metric' | 'imperial';
271
+ floorAreaUnit?: 'metric' | 'imperial';
272
272
  noOfFloors?: number;
273
- energyRating: string;
274
- gav: string;
275
- gavCurrency: string;
276
- currency: string;
273
+ energyRating?: string;
274
+ gav?: string;
275
+ gavCurrency?: string;
277
276
  occupationStatus: 'occupied' | 'vacant' | 'other' | 'n/a';
278
277
  type: 'new construction' | 'major renovation' | 'standing investment' | 'n/a';
279
278
  vacancyRate?: number;
@@ -290,7 +289,6 @@ interface Asset<IDType = ObjectId | string> {
290
289
  recentCrimes: Crime[];
291
290
  recentAirQuality: AirQuality;
292
291
  documents?: Document<IDType>[];
293
- epbCertificates: any[];
294
292
  status?: string;
295
293
  settings: AssetSettings;
296
294
  recommendations?: AssetRecommendation[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etainabl/nodejs-sdk",
3
- "version": "1.3.18",
3
+ "version": "1.3.19",
4
4
  "type": "module",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.mjs",