@e-trias/woonplan 1.3.89 → 1.3.90

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 +22 -22
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.89",
5
+ "version": "1.3.90",
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
@@ -327,7 +327,7 @@ export interface Solarapicall{
327
327
  postcode:string
328
328
  housenumber:number
329
329
  extension:string | null
330
- result:string | ZonatlasResponse | ZonatlasResult
330
+ result:string | SolarApiResponse | SolarApiResult
331
331
  module : number
332
332
  }
333
333
 
@@ -1129,7 +1129,7 @@ export interface IMeasuretype{
1129
1129
 
1130
1130
 
1131
1131
 
1132
- export interface ZonatlasAddress {
1132
+ export interface SolarApiAddress {
1133
1133
  add_on: string
1134
1134
  addition: string
1135
1135
  city: string
@@ -1145,7 +1145,7 @@ export interface ZonatlasAddress {
1145
1145
  spc_key: string
1146
1146
  street: string
1147
1147
  }
1148
- export interface ZonatlasBagdata {
1148
+ export interface SolarApiBagdata {
1149
1149
  building_add_on: string | null,
1150
1150
  building_addition: string | null,
1151
1151
  building_area: number,
@@ -1161,7 +1161,7 @@ export interface ZonatlasBagdata {
1161
1161
  pand_status: string
1162
1162
  }
1163
1163
 
1164
- export interface ZonatlasCalculationParamaters{
1164
+ export interface SolarApiCalculationParamaters{
1165
1165
  harging_station: boolean
1166
1166
  costs_insurance: number
1167
1167
  costs_other: number
@@ -1184,7 +1184,7 @@ export interface ZonatlasCalculationParamaters{
1184
1184
  system_loss: number
1185
1185
  }
1186
1186
 
1187
- export interface ZonatlasData {
1187
+ export interface SolarApiData {
1188
1188
  autarky: number
1189
1189
  building_area: number
1190
1190
  co2_savings: number
@@ -1237,12 +1237,12 @@ export interface ZonatlasData {
1237
1237
  years_until_payed_back: number
1238
1238
  }
1239
1239
 
1240
- export interface ZonatlasMapLayer {
1240
+ export interface SolarApiMapLayer {
1241
1241
  name: string
1242
1242
  url: string
1243
1243
  }
1244
1244
 
1245
- export interface ZonatlasModule {
1245
+ export interface SolarApiModule {
1246
1246
  Wp: number,
1247
1247
  cost_per_kwp: number,
1248
1248
  height: number,
@@ -1252,10 +1252,10 @@ export interface ZonatlasModule {
1252
1252
  width: number
1253
1253
  }
1254
1254
 
1255
- export interface ZonatlasPlantData{
1255
+ export interface SolarApiPlantData{
1256
1256
  estimated_yield:number,
1257
1257
  kwp: number,
1258
- module: ZonatlasModule,
1258
+ module: SolarApiModule,
1259
1259
  number_of_modules: number,
1260
1260
  orientation: number,
1261
1261
  roof_id: number,
@@ -1263,13 +1263,13 @@ export interface ZonatlasPlantData{
1263
1263
  tilt: number
1264
1264
  }
1265
1265
 
1266
- export interface ZonatlasPlant{
1267
- data: ZonatlasPlantData,
1266
+ export interface SolarApiPlant{
1267
+ data: SolarApiPlantData,
1268
1268
  mp: string
1269
1269
  type: string
1270
1270
  }
1271
1271
 
1272
- export interface ZonatlasRequest {
1272
+ export interface SolarApiRequest {
1273
1273
  add_on: string
1274
1274
  addition: string
1275
1275
  api_type: string
@@ -1281,20 +1281,20 @@ export interface ZonatlasRequest {
1281
1281
  }
1282
1282
 
1283
1283
 
1284
- export interface ZonatlasResult{
1285
- address : ZonatlasAddress
1286
- bagdata : ZonatlasBagdata[]
1284
+ export interface SolarApiResult{
1285
+ address : SolarApiAddress
1286
+ bagdata : SolarApiBagdata[]
1287
1287
  buildingwkt : string
1288
- calculation_parameters : ZonatlasCalculationParamaters
1289
- data : ZonatlasData
1288
+ calculation_parameters : SolarApiCalculationParamaters
1289
+ data : SolarApiData
1290
1290
  href : string
1291
1291
  individual_data : any
1292
- map_layers : ZonatlasMapLayer[]
1292
+ map_layers : SolarApiMapLayer[]
1293
1293
  monuments : {
1294
1294
  monument_areas: [],
1295
1295
  national_monuments: []
1296
1296
  }
1297
- plants : ZonatlasPlant[],
1297
+ plants : SolarApiPlant[],
1298
1298
  images : {
1299
1299
  radiation : string,
1300
1300
  radiation_large:string,
@@ -1303,9 +1303,9 @@ export interface ZonatlasResult{
1303
1303
  }
1304
1304
  }
1305
1305
 
1306
- export interface ZonatlasResponse {
1307
- request : ZonatlasRequest
1308
- results : ZonatlasResult[]
1306
+ export interface SolarApiResponse {
1307
+ request : SolarApiRequest
1308
+ results : SolarApiResult[]
1309
1309
  }
1310
1310
 
1311
1311