energy-flow-control--types-and-enums 1.0.173 → 1.0.175

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "energy-flow-control--types-and-enums",
3
- "version": "1.0.173",
3
+ "version": "1.0.175",
4
4
  "description": "",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -429,14 +429,14 @@ export interface IPvString extends ITimeTravelProps {
429
429
  }
430
430
 
431
431
  export interface ISiteAddress {
432
- street: string
433
- houseNumber: string
434
- city: string
435
- postalCode: string
432
+ street: string | null
433
+ houseNumber: string | null
434
+ city: string | null
435
+ postalCode: string | null
436
436
  description: string | null
437
437
  geolocation: {
438
- longitude: number
439
- latitude: number
438
+ longitude: number | null
439
+ latitude: number | null
440
440
  }
441
441
  }
442
442
 
@@ -518,17 +518,17 @@ export interface ICarToCustomer extends ITimeTravelProps {
518
518
  }
519
519
 
520
520
 
521
- export interface IElectricityContract extends ITimeTravelProps {
521
+ export interface IElectricityProviderContract extends ITimeTravelProps {
522
522
  contractStart: Date
523
523
  contractEnd: Date | null
524
524
  supplierName: string
525
525
  }
526
526
 
527
527
  export type tNewElectricityContractWithPrices =
528
- Omit<IElectricityContract, 'id' | 'recordId' | 'validFrom' | 'validUntil' | 'deletedAt'>
529
- & { prices: Omit<IElectricityContractPricing, 'id' | 'recordId' | 'validFrom' | 'validUntil' | 'deletedAt'>[] }
528
+ Omit<IElectricityProviderContract, 'id' | 'recordId' | 'validFrom' | 'validUntil' | 'deletedAt'>
529
+ & { prices: Omit<IElectricityProviderContractPricing, 'id' | 'recordId' | 'validFrom' | 'validUntil' | 'deletedAt'>[] }
530
530
 
531
- export interface IElectricityContractPricing extends ITimeTravelProps {
531
+ export interface IElectricityProviderContractPricing extends ITimeTravelProps {
532
532
  electricityContractId: number
533
533
  periodStart: Date
534
534
  periodEnd: Date | null
@@ -538,7 +538,7 @@ export interface IElectricityContractPricing extends ITimeTravelProps {
538
538
  unitPriceGuess: number | null
539
539
  }
540
540
 
541
- export type IElectricityContractWithPrices = IElectricityContract & { prices: IElectricityContractPricing[] }
541
+ export type IElectricityProviderContractWithPrices = IElectricityProviderContract & { prices: IElectricityProviderContractPricing[] }
542
542
 
543
543
  export interface IBillingPeriod extends ITimeTravelProps {
544
544
  id: number