@e-trias/woonplan 1.3.90 → 1.3.92

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types.d.ts +36 -23
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@e-trias/woonplan",
3
3
  "private": false,
4
4
  "types": "types.d.ts",
5
- "version": "1.3.90",
5
+ "version": "1.3.92",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1",
8
8
  "build": "tsc -p tsconfig.json",
package/types.d.ts CHANGED
@@ -315,7 +315,7 @@ export interface IHousetemplate{
315
315
  calculationdata ?: string
316
316
  }
317
317
 
318
- export interface Solarapicall{
318
+ export interface ISolarApicall{
319
319
  id:string
320
320
  deleted:boolean
321
321
  name?:string
@@ -327,7 +327,7 @@ export interface Solarapicall{
327
327
  postcode:string
328
328
  housenumber:number
329
329
  extension:string | null
330
- result:string | SolarApiResponse | SolarApiResult
330
+ result:string | ISolarApiResponse | ISolarApiResult
331
331
  module : number
332
332
  }
333
333
 
@@ -1129,7 +1129,7 @@ export interface IMeasuretype{
1129
1129
 
1130
1130
 
1131
1131
 
1132
- export interface SolarApiAddress {
1132
+ export interface ISolarApiAddress {
1133
1133
  add_on: string
1134
1134
  addition: string
1135
1135
  city: string
@@ -1145,7 +1145,7 @@ export interface SolarApiAddress {
1145
1145
  spc_key: string
1146
1146
  street: string
1147
1147
  }
1148
- export interface SolarApiBagdata {
1148
+ export interface ISolarApiBagdata {
1149
1149
  building_add_on: string | null,
1150
1150
  building_addition: string | null,
1151
1151
  building_area: number,
@@ -1161,7 +1161,7 @@ export interface SolarApiBagdata {
1161
1161
  pand_status: string
1162
1162
  }
1163
1163
 
1164
- export interface SolarApiCalculationParamaters{
1164
+ export interface ISolarApiCalculationParamaters{
1165
1165
  harging_station: boolean
1166
1166
  costs_insurance: number
1167
1167
  costs_other: number
@@ -1184,7 +1184,7 @@ export interface SolarApiCalculationParamaters{
1184
1184
  system_loss: number
1185
1185
  }
1186
1186
 
1187
- export interface SolarApiData {
1187
+ export interface ISolarApiData {
1188
1188
  autarky: number
1189
1189
  building_area: number
1190
1190
  co2_savings: number
@@ -1237,12 +1237,12 @@ export interface SolarApiData {
1237
1237
  years_until_payed_back: number
1238
1238
  }
1239
1239
 
1240
- export interface SolarApiMapLayer {
1240
+ export interface ISolarApiMapLayer {
1241
1241
  name: string
1242
1242
  url: string
1243
1243
  }
1244
1244
 
1245
- export interface SolarApiModule {
1245
+ export interface ISolarApiModule {
1246
1246
  Wp: number,
1247
1247
  cost_per_kwp: number,
1248
1248
  height: number,
@@ -1252,10 +1252,10 @@ export interface SolarApiModule {
1252
1252
  width: number
1253
1253
  }
1254
1254
 
1255
- export interface SolarApiPlantData{
1255
+ export interface ISolarApiPlantData{
1256
1256
  estimated_yield:number,
1257
1257
  kwp: number,
1258
- module: SolarApiModule,
1258
+ module: ISolarApiModule,
1259
1259
  number_of_modules: number,
1260
1260
  orientation: number,
1261
1261
  roof_id: number,
@@ -1263,13 +1263,13 @@ export interface SolarApiPlantData{
1263
1263
  tilt: number
1264
1264
  }
1265
1265
 
1266
- export interface SolarApiPlant{
1267
- data: SolarApiPlantData,
1266
+ export interface ISolarApiPlant{
1267
+ data: ISolarApiPlantData,
1268
1268
  mp: string
1269
1269
  type: string
1270
1270
  }
1271
1271
 
1272
- export interface SolarApiRequest {
1272
+ export interface ISolarApiRequest {
1273
1273
  add_on: string
1274
1274
  addition: string
1275
1275
  api_type: string
@@ -1280,21 +1280,34 @@ export interface SolarApiRequest {
1280
1280
 
1281
1281
  }
1282
1282
 
1283
+ export interface ISolarApiPendingResult{
1284
+ building_area : number
1285
+ building_geom : string
1286
+ building_hid : number
1287
+ building_project : boolean
1288
+ buildings_in_queue : number
1289
+ est_absolute_calculation_time_building : number
1290
+ est_finish_time : string
1291
+ requested_time : string
1292
+ servertime : string
1293
+ status : number
1294
+ status_word : string
1295
+ }
1283
1296
 
1284
- export interface SolarApiResult{
1285
- address : SolarApiAddress
1286
- bagdata : SolarApiBagdata[]
1297
+ export interface ISolarApiResult{
1298
+ address : ISolarApiAddress
1299
+ bagdata : ISolarApiBagdata[]
1287
1300
  buildingwkt : string
1288
- calculation_parameters : SolarApiCalculationParamaters
1289
- data : SolarApiData
1301
+ calculation_parameters : ISolarApiCalculationParamaters
1302
+ data : ISolarApiData
1290
1303
  href : string
1291
1304
  individual_data : any
1292
- map_layers : SolarApiMapLayer[]
1305
+ map_layers : ISolarApiMapLayer[]
1293
1306
  monuments : {
1294
1307
  monument_areas: [],
1295
1308
  national_monuments: []
1296
1309
  }
1297
- plants : SolarApiPlant[],
1310
+ plants : ISolarApiPlant[],
1298
1311
  images : {
1299
1312
  radiation : string,
1300
1313
  radiation_large:string,
@@ -1303,9 +1316,9 @@ export interface SolarApiResult{
1303
1316
  }
1304
1317
  }
1305
1318
 
1306
- export interface SolarApiResponse {
1307
- request : SolarApiRequest
1308
- results : SolarApiResult[]
1319
+ export interface ISolarApiResponse {
1320
+ request : ISolarApiRequest
1321
+ results : ISolarApiResult[]
1309
1322
  }
1310
1323
 
1311
1324