@likewatt/models-front 1.84.0 → 1.86.0
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.
|
@@ -57,7 +57,6 @@ export declare class ConfigSite {
|
|
|
57
57
|
demandMultiplier?: number;
|
|
58
58
|
demandMultiplierSlots?: DemandMultiplierSlot[];
|
|
59
59
|
demandMultiplierUnit?: string;
|
|
60
|
-
distributionKey?: DistributionKey[];
|
|
61
60
|
priorityStage?: number;
|
|
62
61
|
rateOfGrowth?: RateOfGrowth[];
|
|
63
62
|
settings: Record<string, unknown>;
|
|
@@ -11,6 +11,7 @@ import { OffPeakHour } from '../site/OffPeakHour.types';
|
|
|
11
11
|
import { PeakHour } from '../site/PeakHour.types';
|
|
12
12
|
import { RestOfTheYearTarifs } from '../site/RestOfTheYearTarifs.types';
|
|
13
13
|
import { Rates } from '../site/Rates.types';
|
|
14
|
+
import { InvoiceOcrResult } from '../site/Invoice.types';
|
|
14
15
|
export interface Site {
|
|
15
16
|
_id: string;
|
|
16
17
|
country: string;
|
|
@@ -130,4 +131,5 @@ export interface Site {
|
|
|
130
131
|
hasAnalysis: boolean;
|
|
131
132
|
hasContractData: boolean;
|
|
132
133
|
scenarioOption?: string;
|
|
134
|
+
invoiceData?: InvoiceOcrResult;
|
|
133
135
|
}
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -71,5 +71,6 @@ __exportStar(require("./site/SolarPotential.types"), exports);
|
|
|
71
71
|
__exportStar(require("./site/Rates.types"), exports);
|
|
72
72
|
__exportStar(require("./site/LeadsForm.types"), exports);
|
|
73
73
|
__exportStar(require("./core/SiteConstants"), exports);
|
|
74
|
+
__exportStar(require("./site/Invoice.types"), exports);
|
|
74
75
|
// Common exports
|
|
75
76
|
__exportStar(require("./common/Comments.types"), exports);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EnergyPrice } from './EnergyPrice.types';
|
|
2
|
+
import { EnergyPriceTempo } from './EnergyPriceTempo.types';
|
|
3
|
+
export type InvoiceRatesOption = 'BASE' | 'HP/HC' | 'TEMPO' | 'WE';
|
|
4
|
+
export interface InvoiceOcrResult {
|
|
5
|
+
documentId?: number;
|
|
6
|
+
enedisNumber?: string;
|
|
7
|
+
ratesOption?: InvoiceRatesOption;
|
|
8
|
+
energyPrices?: EnergyPrice[];
|
|
9
|
+
energyPricesTempo?: EnergyPriceTempo[];
|
|
10
|
+
energyPricesWe?: EnergyPrice[];
|
|
11
|
+
subscriptionRates?: number;
|
|
12
|
+
}
|