energy-flow-control--types-and-enums 1.0.174 → 1.0.176
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 +1 -1
- package/src/types/index.d.ts +6 -6
package/package.json
CHANGED
package/src/types/index.d.ts
CHANGED
|
@@ -518,17 +518,17 @@ export interface ICarToCustomer extends ITimeTravelProps {
|
|
|
518
518
|
}
|
|
519
519
|
|
|
520
520
|
|
|
521
|
-
export interface
|
|
521
|
+
export interface IElectricityProviderContract extends ITimeTravelProps {
|
|
522
522
|
contractStart: Date
|
|
523
523
|
contractEnd: Date | null
|
|
524
524
|
supplierName: string
|
|
525
525
|
}
|
|
526
526
|
|
|
527
|
-
export type
|
|
528
|
-
Omit<
|
|
529
|
-
& { prices: Omit<
|
|
527
|
+
export type tNewElectricityProviderContractWithPrices =
|
|
528
|
+
Omit<IElectricityProviderContract, 'id' | 'recordId' | 'validFrom' | 'validUntil' | 'deletedAt'>
|
|
529
|
+
& { prices: Omit<IElectricityProviderContractPricing, 'id' | 'recordId' | 'validFrom' | 'validUntil' | 'deletedAt'>[] }
|
|
530
530
|
|
|
531
|
-
export interface
|
|
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
|
|
541
|
+
export type IElectricityProviderContractWithPrices = IElectricityProviderContract & { prices: IElectricityProviderContractPricing[] }
|
|
542
542
|
|
|
543
543
|
export interface IBillingPeriod extends ITimeTravelProps {
|
|
544
544
|
id: number
|