@likewatt/models-front 1.97.0 → 1.99.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.
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
import { EnergyPrice } from './EnergyPrice.types';
|
|
2
2
|
import { EnergyPriceTempo } from './EnergyPriceTempo.types';
|
|
3
3
|
export type InvoiceRatesOption = 'BASE' | 'HP/HC' | 'TEMPO' | 'WE';
|
|
4
|
+
/**
|
|
5
|
+
* Postes tarifaires de fourniture extraits par l'OCR Koncile. Liste fermée :
|
|
6
|
+
* les suffixes marquent la saison — HS = haute saison (hiver), BS = basse
|
|
7
|
+
* saison (été).
|
|
8
|
+
*/
|
|
9
|
+
export type InvoicePricingPeriod = 'BASE' | 'HP' | 'HC' | 'HPHS' | 'HCHS' | 'HPBS' | 'HCBS';
|
|
10
|
+
/** Saison tarifaire d'une facture saisonnière. */
|
|
11
|
+
export type InvoiceSeason = 'HIGH' | 'LOW';
|
|
4
12
|
export interface InvoiceOcrResult {
|
|
5
13
|
documentId?: number;
|
|
6
14
|
enedisNumber?: string;
|
|
@@ -9,4 +17,15 @@ export interface InvoiceOcrResult {
|
|
|
9
17
|
energyPricesTempo?: EnergyPriceTempo[];
|
|
10
18
|
energyPricesWe?: EnergyPrice[];
|
|
11
19
|
subscriptionRates?: number;
|
|
20
|
+
/** Postes effectivement lus sur la facture. */
|
|
21
|
+
pricingPeriods?: InvoicePricingPeriod[];
|
|
22
|
+
/** Vrai lorsque la facture porte au moins un poste saisonnier. */
|
|
23
|
+
seasonal?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Saison absente d'une facture saisonnière. Seul cas où l'import d'une
|
|
26
|
+
* seconde facture est autorisé.
|
|
27
|
+
*/
|
|
28
|
+
missingSeason?: InvoiceSeason;
|
|
29
|
+
/** Vrai lorsque tous les postes de la structure tarifaire sont couverts. */
|
|
30
|
+
complete?: boolean;
|
|
12
31
|
}
|