tibber-api
Version:
Node.js module for connecting to Tibber API and extract data from your connected homes, including realtime data from Tibber Pulse.
23 lines (22 loc) • 709 B
TypeScript
import { IPriceInfo } from './IPriceInfo';
import { ILegalEntity } from './ILegalEntity';
import { IPriceRating } from './IPriceRating';
export interface ISubscription {
id: string;
/** The owner of the subscription */
subscriber: ILegalEntity;
/** The time the subscription started */
validFrom: string;
/** The time the subscription ended */
validTo: null;
/** The current status of the subscription */
status: string;
/**
* Price information related to the subscription
* @deprecated
* @see priceRating should be used instead
*/
priceInfo: IPriceInfo;
/** Price information related to the subscription */
priceRating: IPriceRating;
}