@citrineos/base
Version:
The base module for OCPP v2.0.1 including all interfaces. This module is not intended to be used directly, but rather as a dependency for other modules.
17 lines (16 loc) • 1.13 kB
TypeScript
export { OCPP2_0_1_Namespace, OCPP1_6_Namespace, Namespace } from './namespace';
export { default as AuthorizationDataSchema } from './schemas/AuthorizationDataSchema.json';
export { default as BootConfigSchema } from './schemas/BootConfigSchema.json';
export { default as ChargingStationTypeSchema } from './schemas/ChargingStationTypeSchema.json';
export { default as ReportDataTypeSchema } from './schemas/ReportDataTypeSchema.json';
export { default as SetVariableResultTypeSchema } from './schemas/SetVariableResultTypeSchema.json';
export { default as UpdateChargingStationPasswordSchema } from './schemas/UpdateChargingStationPasswordRequestSchema.json';
/**
* Utility function for creating querystring schemas for fastify route definitions
* @param name - The name of the schema
* @param properties An array of key-type pairs. Types ending in '[]' will be treated as arrays of that type.
* @param required An array of required keys.
* @returns
*/
export declare function QuerySchema(name: string, properties: [string, string][], required?: string[]): object;
export declare const MessageConfirmationSchema: object;