@remscodes/renault-api
Version:
Resources url and models to use the Renault API
1,605 lines (1,578 loc) • 49.7 kB
TypeScript
type Prefix<T extends string, prefix extends string> = `${prefix}${T}`;
type DateType = Date | string;
type Day = 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday' | 'sunday';
/**
* Common response model of Gigya API.
*/
interface GigyaResponse {
callId?: string;
errorCode?: number;
apiVersion?: number;
statusCode?: number;
statusReason?: string;
time?: DateType;
}
/**
* Common error response model of Gigya API.
*/
interface GigyaErrorResponse extends GigyaResponse {
errorDetails?: string;
errorMessage?: string;
}
/**
* Common response model of Gigya Login and Account API.
*/
interface GigyaAuthResponse extends GigyaResponse {
registeredTimestamp?: number;
UID?: string;
UIDSignature?: string;
signatureTimestamp?: number;
created?: DateType;
createdTimestamp?: number;
isActive?: boolean;
isRegistered?: boolean;
isVerified?: boolean;
lastLogin?: DateType;
lastLoginTimestamp?: number;
lastUpdated?: DateType;
lastUpdatedTimestamp?: number;
loginProvider?: string;
oldestDataUpdated?: DateType;
oldestDataUpdatedTimestamp?: number;
profile?: Profile;
registered?: DateType;
socialProviders?: string;
verified?: DateType;
verifiedTimestamp?: number;
}
interface Profile {
firstName?: string;
lastName?: string;
country?: string;
email?: string;
}
/**
* Response model of Gigya Account API.
*/
interface AccountInfo extends GigyaAuthResponse {
data?: AccountData;
preferences?: AccountPreferences;
emails?: AccountEmails;
password?: AccountPassword;
}
interface AccountData {
migrationCode?: string;
gigyaImportJobID?: string;
personId?: string;
gigyaDataCenter?: string;
migrationExternalId?: string;
}
interface AccountEmails {
verified?: string[];
unverified?: any[];
}
interface AccountPassword {
created?: DateType;
}
interface AccountPreferences {
}
/**
* Response model of Gigya Login API.
*/
interface LoginInfo extends GigyaAuthResponse {
newUser?: boolean;
sessionInfo?: SessionInfo;
}
interface SessionInfo {
cookieName?: string;
cookieValue?: string;
}
/**
* Response model of Gigya Logout API.
*/
interface LogoutInfo extends GigyaResponse {
connectedProviders?: string;
UID?: string;
logoutActiveSession?: boolean;
samlContext?: string;
connectedSamlSessions?: string;
}
/**
* Response model of Gigya Token API.
*/
interface TokenInfo extends GigyaResponse {
id_token?: string;
}
interface TokenPublicInfo extends GigyaResponse {
alg?: string;
kid?: string;
kty?: string;
n?: string;
e?: string;
use?: string;
}
/**
* Gigya API for authentication
*/
declare const GigyaApi: {
/**
* Gigya API KEY.
*
* For every request, put it as value for the param "apikey".
*/
KEY: "3_4LKbCcMMcvjDm3X89LU4z4mNKYKdl_W0oD9w-Jvih21WqgJKtFZAnb9YdUgWT9_a";
/**
* __Description__ : Login to Gigya service. Required to retrieve **login_token**.
*
* __Method__ : POST
*
* __Params__ :
* - **apikey** : GigyaApi.KEY
* - **loginID** : (user login)
* - **password** : (user password)
*
* __Response Model__ : LoginInfo
* (**login_token** stored in LoginInfo.SessionInfo.cookieValue)
*/
LOGIN_URL: "https://accounts.eu1.gigya.com/accounts.login";
/**
* __Description__ : Get account info. Required to retrieve **personId**.
*
* __Method__ : POST
*
* __Params__ :
* - **apikey** : GigyaApi.KEY
* - **login_token** : (Gigya token retrieved with login API)
*
* __Response Model__ : AccountInfo
* (**personId** stored in AccountInfo.AccountData.personId)
*/
GET_ACCOUNT_INFO_URL: "https://accounts.eu1.gigya.com/accounts.getAccountInfo";
/**
* __Description__ : Get JWT. Required to retrieve **id_token** to use Kamereon API.
*
* __Method__ : POST
*
* __Params__ :
* - **apikey** : GigyaApi.KEY
* - **login_token** : (Gigya token retrieved with login API)
* - **fields** : "data.personId,data.gigyaDataCenter"
* - **expiration** : (expiration of JWT in millisecond)
*
* __Response Model__ : TokenInfo
* (**id_token** stored in TokenInfo.id_token)
*/
GET_JWT_URL: "https://accounts.eu1.gigya.com/accounts.getJWT";
/**
* __Description__ : Get public info about JWT key.
*
* __Method__ : POST
*
* __Params__ :
* - **apikey** : GigyaApi.KEY
* - **login_token** : (Gigya token retrieved with login API)
*
* __Response Model__ : TokenPublicInfo
*/
GET_JWT_PUBLIC_KEY_URL: "https://accounts.eu1.gigya.com/accounts.getJWTPublicKey";
/**
* __Description__ : Logout from Gigya service.
*
* __Method__ : POST
*
* __Params__ :
* - **apikey** : GigyaApi.KEY
* - **login_token** : (Gigya token retrieved with login API)
*
* __Response Model__ : LogoutInfo
*/
LOGOUT_URL: "https://accounts.eu1.gigya.com/accounts.logout";
};
type KcaEndpoint = '' | 'battery-status' | 'battery-inhibition-status' | 'charge-history' | 'charge-mode' | 'charge-schedule' | 'charges' | 'charging-settings' | 'cockpit' | 'hvac-history' | 'hvac-sessions' | 'hvac-settings' | 'hvac-status' | 'location' | 'lock-status' | 'notification-settings' | 'res-state';
type ReadEndpoint = KcaEndpoint;
type KcaAction = 'charge-mode' | 'charge-schedule' | 'charging-start' | 'hvac-schedule' | 'hvac-start' | 'refresh-battery-status' | 'refresh-hvac-status' | 'refresh-location' | 'send-navigation';
type KcaActionEndpoint = Prefix<KcaAction, 'actions/'>;
type KcmAction = 'pause-resume';
type KcmActionEndpoint = Prefix<KcmAction, 'charge/'>;
interface DataResponse<A, T = 'Car'> {
data: Data<A, T>;
}
interface Data<A, T> {
type?: T;
id?: Vin | AccountId | string;
attributes?: A;
}
type ActionEndpoint = KcaActionEndpoint | KcmActionEndpoint;
interface Action extends Version {
type: ActionType;
}
type ActionType = KcaActionType | KcmActionType;
type KcaActionType = 'ChargeMode' | 'ChargeSchedule' | 'ChargingStart' | 'HvacSchedule' | 'HvacStart' | 'RefreshBatteryStatus' | 'RefreshHvacStatus' | 'RefreshLocation' | 'SendNavigation';
type KcmActionType = 'ChargePauseResume';
interface Version {
version: 1 | 2;
}
type Vin = string;
type AccountId = string;
type ImageOrientation = 'iso' | 'profile';
type AdapterType = 'kca' | 'kcm';
/**
* Response model for Kamereon Adapter API.
*/
type AdapterInfoData = DataResponse<Omit<AdapterInfo, 'uuid'>>;
/**
* Response model for Kamereon Adapter API when request header "accept"="application/json".
*/
interface AdapterInfo {
uuid?: string;
vin?: string;
vehicleId?: null;
batteryCode?: string;
bin?: null;
brand?: string;
canGeneration?: string;
carGateway?: string;
color?: null;
dealerId?: null;
deliveryCountry?: string;
deliveryDate?: null;
deviceSerialNumber?: null;
electricityUnitCost?: null;
energy?: string;
engineType?: string;
familyCode?: string;
firstRegistrationDate?: null;
fuelUnitCost?: null;
gearbox?: string;
modelCode?: string;
modelCodeDetail?: string;
modelName?: null;
modelYear?: null;
navigAssistCode?: null;
nickname?: null;
pictureUrl?: null;
radioType?: string;
region?: string;
registrationCountry?: string;
registrationNumber?: null;
sourceReferenceId?: null;
tcuCode?: string;
upholstery?: null;
vehicleSourceReference?: string;
versionCode?: string;
versionName?: null;
privacyMode?: string;
privacyModeUpdateDate?: DateType;
svtFlag?: boolean;
svtLastUpdateTime?: null;
svtBlockFlag?: boolean;
svtBlockLastUpdateTime?: null;
packId?: null;
packManufacturingDate?: null;
packNominalCapacity?: null;
packType?: null;
temperatureUnit?: null;
vehicleSourceType?: null;
vehicleType?: null;
}
declare enum ChargingStatus {
CHARGE_NOT_BLOCKED = -1,
CHARGE_BLOCKED = 0,
NEXT_CHARGE_BLOCKED = 1
}
declare enum PlugStatus {
NOT_PLUGGED = 0,
PLUGGED = 1
}
/**
* Response model for Kamereon Battery API.
*/
type BatteryStatusData = DataResponse<Omit<BatteryStatus, 'id'>>;
/**
* Response model for Kamereon Battery API when request header "accept"="application/json".
*/
interface BatteryStatus {
id?: Vin;
timestamp: DateType;
batteryLevel: number;
batteryAutonomy: number;
batteryTemperature: number;
batteryCapacity: number;
batteryAvailableEnergy: number;
plugStatus: PlugStatus;
chargingStatus: number;
chargingRemainingTime: number;
chargingInstantaneousPower: number;
}
type ActionRefreshBatteryStatusData = DataResponse<undefined, 'RefreshBatteryStatus'>;
interface ActionRefreshBatteryStatus {
id?: string;
}
interface Schedules<DaySchedule, Extra extends object = {}> {
schedules?: Schedule<DaySchedule>[] & Extra;
}
interface Schedule<DaySchedule> {
id?: number;
activated?: boolean;
monday?: DaySchedule;
tuesday?: DaySchedule;
wednesday?: DaySchedule;
thursday?: DaySchedule;
friday?: DaySchedule;
saturday?: DaySchedule;
sunday?: DaySchedule;
}
interface ChargeModeInputs {
action: ChargeModeAction;
}
type ChargeModeAction = 'always_charging' | 'schedule_mode';
type ChargeScheduleInputs = Schedules<ChargeDaySchedule>;
interface ChargeDaySchedule {
startTime?: string;
duration?: number;
}
/**
* Response model for Kamereon Charge API.
*/
type ChargeHistoryData = DataResponse<Omit<ChargeHistory, 'id'>>;
/**
* Response model for Kamereon Charge API when request header "accept"="application/json".
*/
interface ChargeHistory {
id?: Vin;
chargeSummaries?: ChargeSummary[];
}
interface ChargeSummary {
day?: string;
month?: string;
totalChargesNumber?: number;
totalChargesDuration?: number;
totalChargesErrors?: number;
}
/**
* Response model for Kamereon Charge API.
*/
type ChargeModeData = DataResponse<Omit<ChargeMode, 'id'>>;
/**
* Response model for Kamereon Charge API when request header "accept"="application/json".
*/
interface ChargeMode {
id?: Vin;
chargeMode?: ChargeModeStatus;
}
type ChargeModeStatus = 'always' | 'delayed' | 'scheduled';
/**
* Response model for Kamereon Charge API.
*/
type ChargeScheduleData = DataResponse<ChargeSchedule>;
/**
* Response model for Kamereon Charge API when request header "accept"="application/json".
*/
interface ChargeSchedule {
id?: Vin;
calendar?: Calendar;
}
type Calendar = Record<Day, Sched[]>;
interface Sched {
startTime?: string;
duration?: number;
activationState?: boolean;
}
/**
* Response model for Kamereon Charge API.
*/
type ChargesData = DataResponse<Omit<Charges, 'id'>>;
/**
* Response model for Kamereon Charge API when request header "accept"="application/json".
*/
interface Charges {
id?: Vin;
charges?: ChargeDetails[];
}
interface ChargeDetails {
chargeStartDate?: DateType;
chargeEndDate?: DateType;
chargeDuration?: number;
chargeStartBatteryLevel?: number;
chargeEndBatteryLevel?: number;
chargeEnergyRecovered?: number;
chargeEndStatus?: ChargeEndStatus;
chargeBatteryLevelRecovered?: number;
chargePower?: ChargePowerStatus;
chargeStartInstantaneousPower?: number;
}
type ChargeEndStatus = 'ok';
type ChargePowerStatus = 'slow';
/**
* Response model for Kamereon Charge API.
*/
type ChargingSettingsData = DataResponse<Omit<ChargingSettings, 'id'>>;
/**
* Response model for Kamereon Charge API when request header "accept"="application/json".
*/
interface ChargingSettings extends Schedules<ChargeDaySchedule> {
id?: Vin;
dateTime?: DateType;
mode?: ChargeModeStatus;
}
interface ActionChargeMode {
id?: string;
action?: ChargeModeAction;
}
type ActionChargeScheduleData = DataResponse<Omit<ActionChargeSchedule, 'id'>>;
interface ActionChargeSchedule {
id?: string;
}
type ActionChargingStartData = DataResponse<Omit<ActionChargeMode, 'id'>>;
interface ActionChargingStart {
id?: string;
}
type ActionPauseResumeData = DataResponse<Omit<ActionPauseResume, 'id'>>;
interface ActionPauseResume {
id?: string;
}
/**
* Response model for Kamereon Cockpit API.
*/
type CockpitData = DataResponse<Omit<Cockpit, 'id'>>;
/**
* Response model for Kamereon Cockpit API when request header "accept"="application/json".
*/
interface Cockpit {
id?: Vin;
fuelQuantity?: number;
fuelAutonomy?: number;
totalMileage?: number;
}
interface DateFilter {
period: Period;
start: DateType;
end: DateType;
}
type Period = 'day' | 'month';
interface HvacStartInputs {
targetTemperature: number;
startDateTime?: DateType;
}
type HvacScheduleInputs = Schedules<HvacDaySchedule>;
interface HvacDaySchedule {
readyAtTime: DateType;
}
type HvacHistoryData = DataResponse<HvacHistory>;
interface HvacHistory {
}
/**
* Response model for Kamereon HVAC API.
*/
type HvacSessionsData = DataResponse<HvacSessions>;
/**
* Response model for Kamereon HVAC API when request header "accept"="application/json".
*/
interface HvacSessions {
}
/**
* Response model for Kamereon HVAC API.
*/
type HvacStatusData = DataResponse<HvacStatus>;
/**
* Response model for Kamereon HVAC API when request header "accept"="application/json".
*/
interface HvacStatus {
id?: Vin;
socThreshold?: number;
hvacStatus?: HvacStatusType;
lastUpdateTime?: DateType;
}
type HvacStatusType = 'on' | 'off';
/**
* Response model for Kamereon HVAC API.
*/
type HvacSettingsData = DataResponse<Omit<HvacSettings, 'id'>>;
/**
* Response model for Kamereon HVAC API when request header "accept"="application/json".
*/
interface HvacSettings extends Schedules<HvacDaySchedule, {
targetTemperature?: number;
}> {
id?: Vin;
dateTime?: DateType;
mode?: HvacMode;
globalTargetTemperature?: number;
}
type HvacMode = 'instant';
type ActionRefreshHvacStatusData = DataResponse<undefined, 'RefreshHvacStatus'>;
interface ActionRefreshHvacStatus {
id?: string;
}
type ActionHvacScheduleData = DataResponse<Omit<ActionHvacSchedule, 'id'>>;
interface ActionHvacSchedule {
id?: string;
}
type ActionHvacStartData = DataResponse<Omit<ActionHvacStart, 'id'>>;
interface ActionHvacStart {
id?: string;
}
/**
* Response model for Kamereon Location API.
*/
type VehicleLocationData = DataResponse<Omit<VehicleLocation, 'id'>>;
/**
* Response model for Kamereon Location API when request header "accept"="application/json".
*/
interface VehicleLocation {
id?: Vin;
gpsDirection?: null;
gpsLatitude?: number;
gpsLongitude?: number;
lastUpdateTime?: DateType;
}
type ActionRefreshLocationData = DataResponse<undefined, 'RefreshLocation'>;
interface ActionRefreshLocation {
id?: string;
}
/**
* Response model for Kamereon Lock API.
*/
type LockStatusData = DataResponse<Omit<LockStatus, 'id'>>;
/**
* Response model for Kamereon Lock API when request header "accept"="application/json".
*/
interface LockStatus {
id?: Vin;
doorStatusFrontLeft?: LockType;
doorStatusFrontRight?: LockType;
doorStatusRearLeft?: LockType;
doorStatusRearRight?: LockType;
hatchStatus?: LockType;
lastUpdateTime?: DateType;
lockStatus?: LockType;
}
type LockType = 'locked' | 'unlocked';
interface SendNavigationInputs {
downloadTrafficInfo: boolean;
destinations: Destination[];
}
interface Destination {
id: number;
latitude: number;
longitude: number;
calculationCondition: NavigationCondition;
}
type NavigationCondition = 0 | 1 | 2 | 3;
/**
* Response model for Kamereon Notification API.
*/
type NotificationSettingsData = DataResponse<NotificationSettings>;
/**
* Response model for Kamereon Notification API when request header "accept"="application/json".
*/
interface NotificationSettings {
}
/**
* Response model for Kamereon Person API.
*/
interface Person {
personId?: string;
type?: string;
context?: string;
country?: string;
civility?: string;
firstName?: string;
firstName2?: string;
lastName?: string;
lastName2?: string;
dateOfBirth?: DateType;
idp?: Idp;
preferredDealers?: PreferredDealer[];
addresses?: Address[];
emails?: Email[];
phones?: Phone[];
stopCommunications?: StopCommunication[];
myrRequest?: boolean;
accounts?: Account[];
purposes?: Purpose[];
partyId?: string;
mdmId?: string;
migrationCode?: string;
createdDate?: DateType;
lastModifiedDate?: DateType;
functionalCreationDate?: DateType;
functionalModificationDate?: DateType;
locale?: string;
agreements?: Agreement[];
parentPersonsLinks?: unknown[];
childPersonsLinks?: unknown[];
trackingId?: string;
}
interface Idp {
idpId?: string;
idpType?: string;
idpStatus?: string;
login?: string;
loginType?: string;
lastLoginDate?: DateType;
termsConditionAcceptance?: boolean;
termsConditionLastAcceptanceDate?: DateType;
termsConditionLastModificationDate?: DateType;
}
interface PreferredDealer {
brand?: string;
dealerId?: string;
dealerName?: string;
createdDate?: DateType;
lastModifiedDate?: DateType;
functionalCreationDate?: DateType;
functionalModificationDate?: DateType;
}
interface Account {
accountId?: string;
accountType?: string;
accountStatus?: string;
country?: string;
personId?: string;
relationType?: string;
externalId?: string;
}
interface Address {
addressType?: string;
addressLine1?: string;
addressLine2?: string;
addressLine3?: string;
addressLine4?: string;
city?: string;
postalCode?: string;
country?: string;
qualityCode?: string;
createdDate?: DateType;
lastModifiedDate?: DateType;
functionalCreationDate?: DateType;
functionalModificationDate?: DateType;
}
interface Agreement {
agreementType?: string;
agreementValue?: boolean;
createdDate?: null;
lastModifiedDate?: null;
functionalModificationDate?: DateType;
}
interface Email {
emailType?: string;
emailValue?: string;
validityFlag?: boolean;
createdDate?: DateType;
lastModifiedDate?: DateType;
functionalCreationDate?: DateType;
functionalModificationDate?: DateType;
}
interface Phone {
phoneType?: string;
phoneValue?: string;
areaCode?: string;
createdDate?: DateType;
lastModifiedDate?: DateType;
functionalCreationDate?: DateType;
functionalModificationDate?: DateType;
}
interface Purpose {
purposeId?: string;
country?: string;
purposeType?: string;
purposeStartDate?: DateType;
purposeEndDate?: DateType;
forceEndDate?: boolean;
consents?: Consent[];
createdDate?: DateType;
lastModifiedDate?: DateType;
}
interface Consent {
consentId?: string;
scopeType?: string;
agreements?: ConsentAgreement[];
createdDate?: DateType;
lastModifiedDate?: DateType;
}
interface ConsentAgreement {
type?: string;
value?: string;
displayValue?: string;
lastUpdateSourceType?: string;
lastUpdateSubSourceType?: string;
proof?: string;
createdDate?: DateType;
lastModifiedDate?: DateType;
functionalModificationDate?: DateType;
}
interface StopCommunication {
stopCommunicationType?: string;
stopCommunicationValue?: boolean;
createdDate?: DateType;
lastModifiedDate?: DateType;
functionalCreationDate?: DateType;
functionalModificationDate?: DateType;
}
/**
* Response model for Kamereon ResState API.
*/
type ResStateData = DataResponse<ResState>;
/**
* Response model for Kamereon ResState API when request header "accept"="application/json".
*/
interface ResState {
id?: Vin;
details?: string;
code?: string;
}
/**
* Response model for Kamereon Account API.
*/
interface Vehicles {
accountId?: string;
country?: string;
vehicleLinks?: VehicleLink[];
}
interface VehicleLink {
brand?: string;
vin?: string;
status?: string;
linkType?: string;
garageBrand?: string;
startDate?: DateType;
createdDate?: DateType;
lastModifiedDate?: DateType;
ownershipStartDate?: DateType;
cancellationReason?: unknown;
preferredDealer?: PreferredDealer;
connectedDriver?: ConnectedDriver;
vehicleDetails?: VehicleDetails;
}
interface ConnectedDriver {
role?: string;
createdDate?: DateType;
lastModifiedDate?: DateType;
}
interface VehicleDetails {
vin?: string;
registrationDate?: DateType;
firstRegistrationDate?: DateType;
engineType?: string;
engineRatio?: string;
modelSCR?: string;
deliveryCountry?: DeliveryCountry;
family?: Tag;
tcu?: Tag;
navigationAssistanceLevel?: Tag;
battery?: Tag;
radioType?: Tag;
registrationCountry?: RegistrationCountry;
brand?: Brand;
model?: Tag;
gearbox?: Tag;
version?: RegistrationCountry;
energy?: Tag;
registrationNumber?: string;
vcd?: string;
manufacturingDate?: string;
assets?: Asset[];
yearsOfMaintenance?: number;
connectivityTechnology?: string;
easyConnectStore?: boolean;
electrical?: boolean;
rlinkStore?: boolean;
deliveryDate?: DateType;
retrievedFromDhs?: boolean;
engineEnergyType?: string;
radioCode?: string;
}
interface Asset {
assetType?: string;
viewpoint?: ImageViewpointType;
renditions?: Rendition[];
}
type ImageViewpointType = 'mybrand_2' | 'mybrand_5';
interface Rendition {
resolutionType?: ImageResolutionType;
url?: string;
}
type ImageResolutionType = 'ONE_MYRENAULT_LARGE' | 'ONE_MYRENAULT_SMALL';
interface Tag {
code?: string;
label?: string;
group?: string;
}
interface Brand {
label?: string;
}
interface DeliveryCountry {
code?: string;
label?: string;
}
interface RegistrationCountry {
code?: string;
}
/**
* Response model for Kamereon VehicleContract API.
*/
interface VehicleContract {
type?: string;
contractId?: string;
code?: string;
group?: string;
durationMonths?: number;
startDate?: DateType;
endDate?: DateType;
status?: string;
statusLabel?: string;
description?: string;
conditions?: Condition[];
}
interface Condition {
startDate?: DateType;
endDate?: DateType;
unlimitedMileage?: boolean;
maximumMileage?: number;
mileageUnit?: 'km';
}
declare const KCA_READ_ENDPOINTS: {
readonly '': {
readonly version: 2;
};
readonly 'battery-inhibition-status': {
readonly version: 1;
};
readonly 'battery-status': {
readonly version: 2;
};
readonly 'charge-history': {
readonly version: 1;
};
readonly 'charge-mode': {
readonly version: 1;
};
readonly 'charge-schedule': {
readonly version: 1;
};
readonly charges: {
readonly version: 1;
};
readonly 'charging-settings': {
readonly version: 1;
};
readonly cockpit: {
readonly version: 2;
};
readonly 'hvac-history': {
readonly version: 1;
};
readonly 'hvac-sessions': {
readonly version: 1;
};
readonly 'hvac-settings': {
readonly version: 1;
};
readonly 'hvac-status': {
readonly version: 1;
};
readonly location: {
readonly version: 1;
};
readonly 'lock-status': {
readonly version: 1;
};
readonly 'notification-settings': {
readonly version: 1;
};
readonly 'res-state': {
readonly version: 1;
};
};
declare const KCA_ACTION_ENDPOINTS: {
readonly 'actions/charge-mode': {
readonly version: 1;
readonly type: "ChargeMode";
};
readonly 'actions/charge-schedule': {
readonly version: 2;
readonly type: "ChargeSchedule";
};
readonly 'actions/charging-start': {
readonly version: 1;
readonly type: "ChargingStart";
};
readonly 'actions/hvac-schedule': {
readonly version: 2;
readonly type: "HvacSchedule";
};
readonly 'actions/hvac-start': {
readonly version: 1;
readonly type: "HvacStart";
};
readonly 'actions/refresh-battery-status': {
readonly version: 1;
readonly type: "RefreshBatteryStatus";
};
readonly 'actions/refresh-hvac-status': {
readonly version: 1;
readonly type: "RefreshHvacStatus";
};
readonly 'actions/refresh-location': {
readonly version: 1;
readonly type: "RefreshLocation";
};
readonly 'actions/send-navigation': {
readonly version: 1;
readonly type: "SendNavigation";
};
};
declare const KCM_ACTION_ENDPOINTS: {
readonly 'charge/pause-resume': {
readonly version: 1;
readonly type: "ChargePauseResume";
};
};
declare const PERIOD_FORMATS: {
readonly day: "YYYYMMDD";
readonly month: "YYYYMM";
};
declare const PERIOD_TZ_FORMAT: "YYYY-MM-DDTHH:mm:ssZ";
declare const IMAGE_ORIENTATION_KEY: {
readonly iso: "mybrand_2";
readonly profile: "mybrand_5";
};
/**
* Kamereon API to interact with the vehicle
*/
declare const KamereonApi: {
/**
* Kamereon API KEY.
*
* For every request, put it as value for the header "apikey".
*/
KEY: "YjkKtHmGfaceeuExUDKGxrLZGGvtVS0J";
/**
* __Description__ : Get info of authenticated person. Required to retrieve **accountId**.
*
* __Method__ : GET
*
* __Headers__ :
* - **apikey** : KamereonApi.KEY
* - **x-gigya-id_token** : (token retrieved with Gigya getJWT API)
* - **accept** : "application/json"
*
* __Params__ :
* - **country** : "FR"
*
* __Response Model__ : Person
* (**accountId** stored in Person.Accounts[i].accountId)
*/
PERSON_URL: (personId: string) => `https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/persons/${string}`;
/**
* __Description__ : Get vehicles by accountId.
*
* __Method__ : GET
*
* __Headers__ :
* - **apikey** : KamereonApi.KEY
* - **x-gigya-id_token** : (token retrieved with Gigya getJWT API)
* - **accept** : "application/json"
*
* __Params__ :
* - **country** : "FR"
*
* __Response Model__ : Vehicles
*/
ACCOUNT_VEHICLES_URL: (accountId: string) => `https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/${string}/vehicles`;
/**
* __Description__ : Get vehicle contracts by vin.
*
* __Method__ : GET
*
* __Headers__ :
* - **apikey** : KamereonApi.KEY
* - **x-gigya-id_token** : (token retrieved with Gigya getJWT API)
* - **accept** : "application/json"
*
* __Params__ :
* - **country** : "FR"
* - **local** : "fr_FR"
* - **brand** : "RENAULT"
* - **connectedServicesContracts** : "true"
* - **warranty** : "true"
* - **warrantyMaintenanceContracts** : "true"
*
* __Response Model__ : VehicleContract[]
*/
VEHICLE_CONTRACTS_URL: (accountId: string, vin: string) => `https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/${string}/vehicles/${string}/contracts`;
/**
* __Description__ : Get vehicle details info by vin.
*
* __Method__ : GET
*
* __Headers__ :
* - **apikey** : KamereonApi.KEY
* - **x-gigya-id_token** : (token retrieved with Gigya getJWT API)
* - **accept** : "application/json"
*
* __Params__ :
* - **country** : "FR"
*
* __Response Model__ : VehicleDetails
*/
VEHICLE_DETAILS_URL: (accountId: string, vin: string) => `https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/${string}/vehicles/${string}/details`;
/**
* __Description__ : Get vehicle adapter info.
*
* __Method__ : GET
*
* __Headers__ :
* - **apikey** : KamereonApi.KEY
* - **x-gigya-id_token** : (token retrieved with Gigya getJWT API)
* - **accept** : "application/json"
*
* __Params__ :
* - **country** : "FR"
*
* __Response Model__ : AdapterInfo
*/
READ_ADAPTER_URL: (accountId: string, vin: string) => `https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/${string}/kamereon/kca/car-adapter/v2/cars/${string}/`;
/**
* __Description__ : Get vehicle battery status.
*
* __Method__ : GET
*
* __Headers__ :
* - **apikey** : KamereonApi.KEY
* - **x-gigya-id_token** : (token retrieved with Gigya getJWT API)
* - **accept** : "application/json"
*
* __Params__ :
* - **country** : "FR"
*
* __Response Model__ : BatteryStatus
*/
READ_BATTERY_INHIBITION_STATUS_URL: (accountId: string, vin: string) => `https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/${string}/kamereon/kca/car-adapter/v1/cars/${string}/battery-inhibition-status`;
/**
* __Description__ : Get vehicle battery status.
*
* __Method__ : GET
*
* __Headers__ :
* - **apikey** : KamereonApi.KEY
* - **x-gigya-id_token** : (token retrieved with Gigya getJWT API)
* - **accept** : "application/json"
*
* __Params__ :
* - **country** : "FR"
*
* __Response Model__ : BatteryStatus
*/
READ_BATTERY_STATUS_URL: (accountId: string, vin: string) => `https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/${string}/kamereon/kca/car-adapter/v2/cars/${string}/battery-status`;
/**
* __Description__ : Get vehicle charge history.
*
* __Method__ : GET
*
* __Headers__ :
* - **apikey** : KamereonApi.KEY
* - **x-gigya-id_token** : (token retrieved with Gigya getJWT API)
* - **accept** : "application/json"
*
* __Params__ :
* - **country** : "FR"
* - **type** : "day" | "month"
* - **start**: (start date format YYYYMMDD)
* - **end**: (end date format YYYYMMDD)
*
* __Response Model__ : ChargeHistory
*/
READ_CHARGE_HISTORY_URL: (accountId: string, vin: string) => `https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/${string}/kamereon/kca/car-adapter/v1/cars/${string}/charge-history`;
/**
* __Description__ : Get vehicle current charge mode.
*
* __Method__ : GET
*
* __Headers__ :
* - **apikey** : KamereonApi.KEY
* - **x-gigya-id_token** : (token retrieved with Gigya getJWT API)
* - **accept** : "application/json"
*
* __Params__ :
* - **country** : "FR"
*
* __Response Model__ : ChargeMode
*/
READ_CHARGE_MODE_URL: (accountId: string, vin: string) => `https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/${string}/kamereon/kca/car-adapter/v1/cars/${string}/charge-mode`;
/**
* __Description__ : Get vehicle charge schedule.
*
* __Method__ : GET
*
* __Headers__ :
* - **apikey** : KamereonApi.KEY
* - **x-gigya-id_token** : (token retrieved with Gigya getJWT API)
* - **accept** : "application/json"
*
* __Params__ :
* - **country** : "FR"
*
* __Response Model__ : ChargeSchedule
*/
READ_CHARGE_SCHEDULE_URL: (accountId: string, vin: string) => `https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/${string}/kamereon/kca/car-adapter/v1/cars/${string}/charge-schedule`;
/**
* __Description__ : Get vehicle charges.
*
* __Method__ : GET
*
* __Headers__ :
* - **apikey** : KamereonApi.KEY
* - **x-gigya-id_token** : (token retrieved with Gigya getJWT API)
* - **accept** : "application/json"
*
* __Params__ :
* - **country** : "FR"
* - **start**: (start date format YYYYMMDD)
* - **end**: (end date format YYYYMMDD)
*
* __Response Model__ : Charges
*/
READ_CHARGES_URL: (accountId: string, vin: string) => `https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/${string}/kamereon/kca/car-adapter/v1/cars/${string}/charges`;
/**
* __Description__ : Get vehicle current charging settings.
*
* __Method__ : GET
*
* __Headers__ :
* - **apikey** : KamereonApi.KEY
* - **x-gigya-id_token** : (token retrieved with Gigya getJWT API)
* - **accept** : "application/json"
*
* __Params__ :
* - **country** : "FR"
*
* __Response Model__ : ChargingSettings
*/
READ_CHARGING_SETTINGS_URL: (accountId: string, vin: string) => `https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/${string}/kamereon/kca/car-adapter/v1/cars/${string}/charging-settings`;
/**
* __Description__ : Get vehicle cockpit info.
*
* __Method__ : GET
*
* __Headers__ :
* - **apikey** : KamereonApi.KEY
* - **x-gigya-id_token** : (token retrieved with Gigya getJWT API)
* - **accept** : "application/json"
*
* __Params__ :
* - **country** : "FR"
*
* __Response Model__ : Cockpit
*/
READ_COCKPIT_URL: (accountId: string, vin: string) => `https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/${string}/kamereon/kca/car-adapter/v2/cars/${string}/cockpit`;
/**
* __Description__ : Get vehicle hvac history.
*
* __Method__ : GET
*
* __Headers__ :
* - **apikey** : KamereonApi.KEY
* - **x-gigya-id_token** : (token retrieved with Gigya getJWT API)
* - **accept** : "application/json"
*
* __Params__ :
* - **country** : "FR"
* - **type** : "day" | "month"
* - **start**: (start date format YYYYMMDD)
* - **end**: (end date format YYYYMMDD)
*
* __Response Model__ : HvacHistory
*/
READ_HVAC_HISTORY_URL: (accountId: string, vin: string) => `https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/${string}/kamereon/kca/car-adapter/v1/cars/${string}/hvac-history`;
/**
* __Description__ : Get vehicle hvac sessions.
*
* __Method__ : GET
*
* __Headers__ :
* - **apikey** : KamereonApi.KEY
* - **x-gigya-id_token** : (token retrieved with Gigya getJWT API)
* - **accept** : "application/json"
*
* __Params__ :
* - **country** : "FR"
* - **start**: (start date format YYYYMMDD)
* - **end**: (end date format YYYYMMDD)
*
* __Response Model__ : HvacSessions
*/
READ_HVAC_SESSIONS_URL: (accountId: string, vin: string) => `https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/${string}/kamereon/kca/car-adapter/v1/cars/${string}/hvac-sessions`;
/**
* __Description__ : Get vehicle current hvac status.
*
* __Method__ : GET
*
* __Headers__ :
* - **apikey** : KamereonApi.KEY
* - **x-gigya-id_token** : (token retrieved with Gigya getJWT API)
* - **accept** : "application/json"
*
* __Params__ :
* - **country** : "FR"
*
* __Response Model__ : HvacStatus
*/
READ_HVAC_STATUS_URL: (accountId: string, vin: string) => `https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/${string}/kamereon/kca/car-adapter/v1/cars/${string}/hvac-status`;
/**
* __Description__ : Get vehicle hvac settings.
*
* __Method__ : GET
*
* __Headers__ :
* - **apikey** : KamereonApi.KEY
* - **x-gigya-id_token** : (token retrieved with Gigya getJWT API)
* - **accept** : "application/json"
*
* __Params__ :
* - **country** : "FR"
*
* __Response Model__ : HvacSettings
*/
READ_HVAC_SETTINGS_URL: (accountId: string, vin: string) => `https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/${string}/kamereon/kca/car-adapter/v1/cars/${string}/hvac-settings`;
/**
* __Description__ : Get vehicle current location.
*
* __Method__ : GET
*
* __Headers__ :
* - **apikey** : KamereonApi.KEY
* - **x-gigya-id_token** : (token retrieved with Gigya getJWT API)
* - **accept** : "application/json"
*
* __Params__ :
* - **country** : "FR"
*
* __Response Model__ : VehicleLocation
*/
READ_LOCATION_URL: (accountId: string, vin: string) => `https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/${string}/kamereon/kca/car-adapter/v1/cars/${string}/location`;
/**
* __Description__ : Get vehicle current lock status.
*
* __Method__ : GET
*
* __Headers__ :
* - **apikey** : KamereonApi.KEY
* - **x-gigya-id_token** : (token retrieved with Gigya getJWT API)
* - **accept** : "application/json"
*
* __Params__ :
* - **country** : "FR"
*
* __Response Model__ : LockStatus
*
* __\/!\\__ Does not work for Megane E-Tech __\/!\\__
*/
READ_LOCK_STATUS_URL: (accountId: string, vin: string) => `https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/${string}/kamereon/kca/car-adapter/v1/cars/${string}/lock-status`;
/**
* __Description__ : Get vehicle notification settings.
*
* __Method__ : GET
*
* __Headers__ :
* - **apikey** : KamereonApi.KEY
* - **x-gigya-id_token** : (token retrieved with Gigya getJWT API)
* - **accept** : "application/json"
*
* __Params__ :
* - **country** : "FR"
*
* __Response Model__ : NotificationSettings
*/
READ_NOTIFICATION_SETTINGS_URL: (accountId: string, vin: string) => `https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/${string}/kamereon/kca/car-adapter/v1/cars/${string}/notification-settings`;
/**
* __Description__ : Get vehicle res state.
*
* __Method__ : GET
*
* __Headers__ :
* - **apikey** : KamereonApi.KEY
* - **x-gigya-id_token** : (token retrieved with Gigya getJWT API)
* - **accept** : "application/json"
*
* __Params__ :
* - **country** : "FR"
*
* __Response Model__ : ResState
*/
READ_RES_STATE_URL: (accountId: string, vin: string) => `https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/${string}/kamereon/kca/car-adapter/v1/cars/${string}/res-state`;
/**
* __Description__ : Change vehicle charge mode.
*
* __Method__ : POST
*
* __Headers__ :
* - **apikey** : KamereonApi.KEY
* - **x-gigya-id_token** : (token retrieved with Gigya getJWT API)
* - **accept** : "application/json"
* - **content-type** : "application/vnd.api+json"
*
* __Params__ :
* - **country** : "FR"
*
* __Body__ :
* {
* data: {
* "type": "ChargeMode",
* "attributes": {
* "action": **("always_charging" | "schedule_mode")**
* }
* }
* }
*
* __Response Model__ : ActionChargeMode
*/
PERFORM_CHARGE_MODE_URL: (accountId: string, vin: string) => `https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/${string}/kamereon/kca/car-adapter/v1/cars/${string}/actions/charge-mode`;
/**
* __Description__ : Schedule vehicle charge.
*
* __Method__ : POST
*
* __Headers__ :
* - **apikey** : KamereonApi.KEY
* - **x-gigya-id_token** : (token retrieved with Gigya getJWT API)
* - **accept** : "application/json"
* - **content-type** : "application/vnd.api+json"
*
* __Params__ :
* - **country** : "FR"
*
* __Body__ :
* {
* data: {
* "type": "ChargeSchedule",
* "attributes": {
* "schedules": {
* "activated": **(boolean)**;
* "monday": DaySchedule,
* "tuesday": DaySchedule,
* "wednesday": DaySchedule,
* "thursday": DaySchedule,
* "friday": DaySchedule,
* "saturday": DaySchedule,
* "sunday": DaySchedule
* }
* }
* }
* }
*
* DaySchedule = {
* "startTime": **(time format THH:MMZ)**,
* "duration": **(minutes as number)**
* }
*
* __Response Model__ : ActionChargeSchedule
*/
PERFORM_CHARGE_SCHEDULE_URL: (accountId: string, vin: string) => `https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/${string}/kamereon/kca/car-adapter/v2/cars/${string}/actions/charge-schedule`;
/**
* __Description__ : Start or stop vehicle charge.
*
* __Method__ : POST
*
* __Headers__ :
* - **apikey** : KamereonApi.KEY
* - **x-gigya-id_token** : (token retrieved with Gigya getJWT API)
* - **accept** : "application/json"
* - **content-type** : "application/vnd.api+json"
*
* __Params__ :
* - **country** : "FR"
*
* __Body__ :
* {
* data: {
* "type": "ChargingStart",
* "attributes": {
* "action": **("start" | "stop")**
* }
* }
* }
*
* __Response Model__ : ActionChargingStart
*/
PERFORM_CHARGING_START_URL: (accountId: string, vin: string) => `https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/${string}/kamereon/kca/car-adapter/v1/cars/${string}/actions/charging-start`;
/**
* __Description__ : Schedule vehicle hvac.
*
* __Method__ : POST
*
* __Headers__ :
* - **apikey** : KamereonApi.KEY
* - **x-gigya-id_token** : (token retrieved with Gigya getJWT API)
* - **accept** : "application/json"
* - **content-type** : "application/vnd.api+json"
*
* __Params__ :
* - **country** : "FR"
*
* __Body__ :
* {
* data: {
* "type": "HvacSchedule",
* "attributes": {
* "schedules": {
* "activated": **(boolean)**;
* "monday": HvacDaySchedule,
* "tuesday": HvacDaySchedule,
* "wednesday": HvacDaySchedule,
* "thursday": HvacDaySchedule,
* "friday": HvacDaySchedule,
* "saturday": HvacDaySchedule,
* "sunday": HvacDaySchedule
* }
* }
* }
* }
*
* HvacDaySchedule : { "readyAtTime": **(date)** }
*
* __Response Model__ : ActionHvacSchedule
*/
PERFORM_HVAC_SCHEDULE_URL: (accountId: string, vin: string) => `https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/${string}/kamereon/kca/car-adapter/v2/cars/${string}/actions/hvac-schedule`;
/**
* __Description__ : Start or stop vehicle hvac.
*
* __Method__ : POST
*
* __Headers__ :
* - **apikey** : KamereonApi.KEY
* - **x-gigya-id_token** : (token retrieved with Gigya getJWT API)
* - **accept** : "application/json"
* - **content-type** : "application/vnd.api+json"
*
* __Params__ :
* - **country** : "FR"
*
* __Body__ :
* {
* data: {
* "type": "HvacStart",
* "attributes": {
* "action": "start",
* "targetTemperature": **(temperature as number)**,
* "startDateTime"?: **(date format YYYY-MM-DDTHH:mm:ssZ)**
* }
* }
* }
*
* OR
*
* {
* data: {
* "type": "HvacStart",
* "attributes": {
* "action": "cancel"
* }
* }
* }
*
* __Response Model__ : ActionHvacStart
*/
PERFORM_HVAC_START_URL: (accountId: string, vin: string) => `https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/${string}/kamereon/kca/car-adapter/v1/cars/${string}/actions/hvac-start`;
/**
* __Description__ : Start or stop vehicle charge (Dacia Spring ONLY).
*
* __Method__ : POST
*
* __Headers__ :
* - **apikey** : KamereonApi.KEY
* - **x-gigya-id_token** : (token retrieved with Gigya getJWT API)
* - **accept** : "application/json"
* - **content-type** : "application/vnd.api+json"
*
* __Params__ :
* - **country** : "FR"
*
* __Body__ :
* {
* data: {
* "type": "ChargePauseResume",
* "attributes": {
* "action": **("resume" | "pause")**
* }
* }
* }
*
* __Response Model__ : ActionPauseResume
*/
PERFORM_PAUSE_RESUME_URL: (accountId: string, vin: string) => `https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/${string}/kamereon/kcm/v1/vehicles/${string}/charge/pause-resume`;
/**
* __Description__ : Refresh vehicle battery status.
*
* __Method__ : POST
*
* __Headers__ :
* - **apikey** : KamereonApi.KEY
* - **x-gigya-id_token** : (token retrieved with Gigya getJWT API)
* - **accept** : "application/json"
* - **content-type** : "application/vnd.api+json"
*
* __Params__ :
* - **country** : "FR"
*
* __Body__ :
* {
* data: {
* "type": "RefreshBatteryStatus"
* }
* }
*
* __Response Model__ : ActionRefreshBatteryStatus
*/
PERFORM_REFRESH_BATTERY_STATUS: (accountId: string, vin: string) => `https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/${string}/kamereon/kca/car-adapter/v1/cars/${string}/actions/refresh-battery-status`;
/**
* __Description__ : Refresh vehicle hvac status.
*
* __Method__ : POST
*
* __Headers__ :
* - **apikey** : KamereonApi.KEY
* - **x-gigya-id_token** : (token retrieved with Gigya getJWT API)
* - **accept** : "application/json"
* - **content-type** : "application/vnd.api+json"
*
* __Params__ :
* - **country** : "FR"
*
* __Body__ :
* {
* data: {
* "type": "RefreshHvacStatus"
* }
* }
*
* __Response Model__ : ActionRefreshHvacStatus
*/
PERFORM_REFRESH_HVAC_STATUS: (accountId: string, vin: string) => `https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/${string}/kamereon/kca/car-adapter/v1/cars/${string}/actions/refresh-hvac-status`;
/**
* __Description__ : Refresh vehicle location.
*
* __Method__ : POST
*
* __Headers__ :
* - **apikey** : KamereonApi.KEY
* - **x-gigya-id_token** : (token retrieved with Gigya getJWT API)
* - **accept** : "application/json"
* - **content-type** : "application/vnd.api+json"
*
* __Params__ :
* - **country** : "FR"
*
* __Body__ :
* {
* data: {
* "type": "RefreshLocation"
* }
* }
*
* __Response Model__ : ActionRefreshLocation
*/
PERFORM_REFRESH_LOCATION: (accountId: string, vin: string) => `https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/${string}/kamereon/kca/car-adapter/v1/cars/${string}/actions/refresh-location`;
};
export { type Account, type AccountData, type AccountEmails, type AccountId, type AccountInfo, type AccountPassword, type AccountPreferences, type Action, type ActionChargeMode, type ActionChargeSchedule, type ActionChargeScheduleData, type ActionChargingStart, type ActionChargingStartData, type ActionEndpoint, type ActionHvacSchedule, type ActionHvacScheduleData, type ActionHvacStart, type ActionHvacStartData, type ActionPauseResume, type ActionPauseResumeData, type ActionRefreshBatteryStatus, type ActionRefreshBatteryStatusData, type ActionRefreshHvacStatus, type ActionRefreshHvacStatusData, type ActionRefreshLocation, type ActionRefreshLocationData, type AdapterInfo, type AdapterInfoData, type AdapterType, type Address, type Agreement, type Asset, type BatteryStatus, type BatteryStatusData, type Brand, type Calendar, type ChargeDaySchedule, type ChargeDetails, type ChargeHistory, type ChargeHistoryData, type ChargeMode, type ChargeModeAction, type ChargeModeData, type ChargeModeInputs, type ChargeModeStatus, type ChargeSchedule, type ChargeScheduleData, type ChargeScheduleInputs, type ChargeSummary, type Charges, type ChargesData, type ChargingSettings, type ChargingSettingsData, ChargingStatus, type Cockpit, type CockpitData, type Condition, type ConnectedDriver, type Consent, type ConsentAgreement, type DataResponse, type DateFilter, type DateType, type Day, type DeliveryCountry, type Destination, type Email, GigyaApi, type GigyaAuthResponse, type GigyaErrorResponse, type GigyaResponse, type HvacDaySchedule, type HvacHistory, type HvacHistoryData, type HvacMode, type HvacScheduleInputs, type HvacSessions, type HvacSessionsData, type HvacSettings, type HvacSettingsData, type HvacStartInputs, type HvacStatus, type HvacStatusData, type HvacStatusType, IMAGE_ORIENTATION_KEY, type Idp, type ImageOrientation, type ImageResolutionType, type ImageViewpointType, KCA_ACTION_ENDPOINTS, KCA_READ_ENDPOINTS, KCM_ACTION_ENDPOINTS, KamereonApi, type KcaActionEndpoint, type KcmActionEndpoint, type LockStatus, type LockStatusData, type LockType, type LoginInfo, type LogoutInfo, type NavigationCondition, type NotificationSettings, type NotificationSettingsData, PERIOD_FORMATS, PERIOD_TZ_FORMAT, type Period, type Person, type Phone, PlugStatus, type PreferredDealer, type Profile, type Purpose, type ReadEndpoint, type RegistrationCountry, type Rendition, type ResState, type ResStateData, type Schedule, type Schedules, type SendNavigationInputs, type StopCommunication, type Tag, type TokenInfo, type TokenPublicInfo, type VehicleContract, type VehicleDetails, type VehicleLink, type VehicleLocation, type VehicleLocationData, type Vehicles, type Version, type Vin };