ocpi-types
Version:
TypeScript DTOs and enums for OCPI 2.2.1 specification.
21 lines (20 loc) • 632 B
TypeScript
import { EnergyContractDto } from './energy-contract.dto';
import { TokenType } from '../enums/token-type.enum';
import { WhitelistType } from '../enums/whitelist-type.enum';
import { ProfileType } from '../../sessions/enums/profile-type.enum';
export declare class TokenDto {
countryCode: string;
partyId: string;
uid: string;
type: TokenType;
contractId: string;
visualNumber?: string;
issuer: string;
groupId?: string;
valid: boolean;
whitelist: WhitelistType;
language?: string;
defaultProfileType?: ProfileType;
energyContract?: EnergyContractDto;
lastUpdated: string;
}