@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.
866 lines • 103 kB
TypeScript
import { z } from 'zod';
export declare const ChargingScheduleSchema: z.ZodObject<{
tenantId: z.ZodOptional<z.ZodNumber>;
tenant: z.ZodOptional<z.ZodObject<{
id: z.ZodOptional<z.ZodNumber>;
name: z.ZodString;
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
countryCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
partyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
serverProfileOCPI: z.ZodOptional<z.ZodNullable<z.ZodObject<{
credentialsRole: z.ZodObject<{
role: z.ZodEnum<{
CPO: "CPO";
EMSP: "EMSP";
HUB: "HUB";
NAP: "NAP";
NSP: "NSP";
SCSP: "SCSP";
}>;
businessDetails: z.ZodObject<{
name: z.ZodString;
website: z.ZodOptional<z.ZodString>;
logo: z.ZodOptional<z.ZodObject<{
url: z.ZodString;
type: z.ZodString;
category: z.ZodString;
width: z.ZodOptional<z.ZodNumber>;
height: z.ZodOptional<z.ZodNumber>;
}, z.core.$strip>>;
}, z.core.$strip>;
}, z.core.$strip>;
versionDetails: z.ZodArray<z.ZodObject<{
version: z.ZodEnum<{
"2.2.1": "2.2.1";
}>;
versionDetailsUrl: z.ZodOptional<z.ZodString>;
}, z.core.$strip>>;
versionEndpoints: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
identifier: z.ZodString;
url: z.ZodString;
}, z.core.$strip>>>;
}, z.core.$strip>>>;
isUserTenant: z.ZodDefault<z.ZodBoolean>;
maxChargingStations: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
updatedAt: z.ZodOptional<z.ZodDate>;
createdAt: z.ZodOptional<z.ZodDate>;
}, z.core.$strip>>;
updatedAt: z.ZodOptional<z.ZodDate>;
createdAt: z.ZodOptional<z.ZodDate>;
databaseId: z.ZodNumber;
id: z.ZodNumber;
ocppConnectionName: z.ZodString;
chargingRateUnit: z.ZodEnum<{
W: "W";
A: "A";
}>;
chargingSchedulePeriod: z.ZodTuple<[z.ZodAny], z.ZodAny>;
duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
minChargingRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
startSchedule: z.ZodOptional<z.ZodNullable<z.ZodString>>;
timeBase: z.ZodOptional<z.ZodISODateTime>;
chargingProfileDatabaseId: z.ZodOptional<z.ZodNumber>;
salesTariff: z.ZodOptional<z.ZodObject<{
tenantId: z.ZodOptional<z.ZodNumber>;
tenant: z.ZodOptional<z.ZodObject<{
id: z.ZodOptional<z.ZodNumber>;
name: z.ZodString;
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
countryCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
partyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
serverProfileOCPI: z.ZodOptional<z.ZodNullable<z.ZodObject<{
credentialsRole: z.ZodObject<{
role: z.ZodEnum<{
CPO: "CPO";
EMSP: "EMSP";
HUB: "HUB";
NAP: "NAP";
NSP: "NSP";
SCSP: "SCSP";
}>;
businessDetails: z.ZodObject<{
name: z.ZodString;
website: z.ZodOptional<z.ZodString>;
logo: z.ZodOptional<z.ZodObject<{
url: z.ZodString;
type: z.ZodString;
category: z.ZodString;
width: z.ZodOptional<z.ZodNumber>;
height: z.ZodOptional<z.ZodNumber>;
}, z.core.$strip>>;
}, z.core.$strip>;
}, z.core.$strip>;
versionDetails: z.ZodArray<z.ZodObject<{
version: z.ZodEnum<{
"2.2.1": "2.2.1";
}>;
versionDetailsUrl: z.ZodOptional<z.ZodString>;
}, z.core.$strip>>;
versionEndpoints: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
identifier: z.ZodString;
url: z.ZodString;
}, z.core.$strip>>>;
}, z.core.$strip>>>;
isUserTenant: z.ZodDefault<z.ZodBoolean>;
maxChargingStations: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
updatedAt: z.ZodOptional<z.ZodDate>;
createdAt: z.ZodOptional<z.ZodDate>;
}, z.core.$strip>>;
updatedAt: z.ZodOptional<z.ZodDate>;
createdAt: z.ZodOptional<z.ZodDate>;
databaseId: z.ZodNumber;
id: z.ZodNumber;
numEPriceLevels: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
salesTariffDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
salesTariffEntry: z.ZodTuple<[z.ZodObject<{
relativeTimeInterval: z.ZodObject<{
start: z.ZodNumber;
duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>;
ePriceLevel: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
consumptionCost: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodTuple<[z.ZodObject<{
startValue: z.ZodNumber;
cost: z.ZodUnion<readonly [z.ZodTuple<[z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>, z.ZodTuple<[z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>, z.ZodTuple<[z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>]>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>, z.ZodTuple<[z.ZodObject<{
startValue: z.ZodNumber;
cost: z.ZodUnion<readonly [z.ZodTuple<[z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>, z.ZodTuple<[z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>, z.ZodTuple<[z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>]>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
startValue: z.ZodNumber;
cost: z.ZodUnion<readonly [z.ZodTuple<[z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>, z.ZodTuple<[z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>, z.ZodTuple<[z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>]>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>, z.ZodTuple<[z.ZodObject<{
startValue: z.ZodNumber;
cost: z.ZodUnion<readonly [z.ZodTuple<[z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>, z.ZodTuple<[z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>, z.ZodTuple<[z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>]>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
startValue: z.ZodNumber;
cost: z.ZodUnion<readonly [z.ZodTuple<[z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>, z.ZodTuple<[z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>, z.ZodTuple<[z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>]>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
startValue: z.ZodNumber;
cost: z.ZodUnion<readonly [z.ZodTuple<[z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>, z.ZodTuple<[z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>, z.ZodTuple<[z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>]>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>]>>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], z.ZodObject<{
relativeTimeInterval: z.ZodObject<{
start: z.ZodNumber;
duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>;
ePriceLevel: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
consumptionCost: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodTuple<[z.ZodObject<{
startValue: z.ZodNumber;
cost: z.ZodUnion<readonly [z.ZodTuple<[z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>, z.ZodTuple<[z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>, z.ZodTuple<[z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>]>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>, z.ZodTuple<[z.ZodObject<{
startValue: z.ZodNumber;
cost: z.ZodUnion<readonly [z.ZodTuple<[z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>, z.ZodTuple<[z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>, z.ZodTuple<[z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>]>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
startValue: z.ZodNumber;
cost: z.ZodUnion<readonly [z.ZodTuple<[z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>, z.ZodTuple<[z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>, z.ZodTuple<[z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>]>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>, z.ZodTuple<[z.ZodObject<{
startValue: z.ZodNumber;
cost: z.ZodUnion<readonly [z.ZodTuple<[z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>, z.ZodTuple<[z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>, z.ZodTuple<[z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>]>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
startValue: z.ZodNumber;
cost: z.ZodUnion<readonly [z.ZodTuple<[z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>, z.ZodTuple<[z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>, z.ZodTuple<[z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>]>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
startValue: z.ZodNumber;
cost: z.ZodUnion<readonly [z.ZodTuple<[z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>, z.ZodTuple<[z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>, z.ZodTuple<[z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>, z.ZodObject<{
costKind: z.ZodEnum<{
CarbonDioxideEmission: "CarbonDioxideEmission";
RelativePricePercentage: "RelativePricePercentage";
RenewableGenerationPercentage: "RenewableGenerationPercentage";
}>;
amount: z.ZodNumber;
amountMultiplier: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>]>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>], null>]>>>;
customData: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
}, z.core.$strip>>;
chargingScheduleDatabaseId: z.ZodNumber;
}, z.core.$strip>>;
}, z.core.$strip>;
export declare const ChargingScheduleProps: {
id: "id";
ocppConnectionName: "ocppConnectionName";
tenant: "tenant";
duration: "duration";
chargingRateUnit: "chargingRateUnit";
chargingSchedulePeriod: "chargingSchedulePeriod";
timeBase: "timeBase";
tenantId: "tenantId";
updatedAt: "updatedAt";
createdAt: "createdAt";
databaseId: "databaseId";
minChargingRate: "minChargingRate";
startSchedule: "startSchedule";
chargingProfileDatabaseId: "chargingProfileDatabaseId";
salesTariff: "salesTariff";
};
export type ChargingScheduleDto = z.infer<typeof ChargingScheduleSchema>;
export declare const ChargingScheduleCreateSchema: z.ZodObject<{
id: z.ZodNumber;
ocppConnectionName: z.ZodString;
duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
chargingRateUnit: z.ZodEnum<{
W: "W";
A: "A";
}>;
chargingSchedulePeriod: z.ZodTuple<[z.ZodAny], z.ZodAny>;
timeBase: z.ZodOptional<z.ZodISODateTime>;
tenantId: z.ZodOptional<z.ZodNumber>;
minChargingRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
startSchedule: z.ZodOptional<z.ZodNullable<z.ZodString>>;
chargingProfileDatabaseId: z.ZodOptional<z.ZodNumber>;
}, z.core.$strip>;
export type ChargingScheduleCreate = z.infer<typeof ChargingSchedule