@teslemetry/api 0.6.8 → 0.6.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +22 -22
- package/dist/index.d.mts +22 -22
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -1117,14 +1117,14 @@ type GetApiConfigByVinResponses = {
|
|
|
1117
1117
|
resend_interval_seconds?: number;
|
|
1118
1118
|
};
|
|
1119
1119
|
/**
|
|
1120
|
-
* If the vehicle is located at the active driver profile
|
|
1120
|
+
* If the vehicle is located at the active driver profile's saved home location. (Requires 2024.44.32)
|
|
1121
1121
|
*/
|
|
1122
1122
|
LocatedAtHome?: {
|
|
1123
1123
|
interval_seconds: number;
|
|
1124
1124
|
resend_interval_seconds?: number;
|
|
1125
1125
|
};
|
|
1126
1126
|
/**
|
|
1127
|
-
* If the vehicle is located at the active driver profile
|
|
1127
|
+
* If the vehicle is located at the active driver profile's saved work location. (Requires 2024.44.32)
|
|
1128
1128
|
*/
|
|
1129
1129
|
LocatedAtWork?: {
|
|
1130
1130
|
interval_seconds: number;
|
|
@@ -2936,14 +2936,14 @@ type PatchApiConfigByVinData = {
|
|
|
2936
2936
|
resend_interval_seconds?: number;
|
|
2937
2937
|
} | null;
|
|
2938
2938
|
/**
|
|
2939
|
-
* If the vehicle is located at the active driver profile
|
|
2939
|
+
* If the vehicle is located at the active driver profile's saved home location. (Requires 2024.44.32)
|
|
2940
2940
|
*/
|
|
2941
2941
|
LocatedAtHome?: {
|
|
2942
2942
|
interval_seconds: number;
|
|
2943
2943
|
resend_interval_seconds?: number;
|
|
2944
2944
|
} | null;
|
|
2945
2945
|
/**
|
|
2946
|
-
* If the vehicle is located at the active driver profile
|
|
2946
|
+
* If the vehicle is located at the active driver profile's saved work location. (Requires 2024.44.32)
|
|
2947
2947
|
*/
|
|
2948
2948
|
LocatedAtWork?: {
|
|
2949
2949
|
interval_seconds: number;
|
|
@@ -4760,14 +4760,14 @@ type PostApiConfigByVinData = {
|
|
|
4760
4760
|
resend_interval_seconds?: number;
|
|
4761
4761
|
} | null;
|
|
4762
4762
|
/**
|
|
4763
|
-
* If the vehicle is located at the active driver profile
|
|
4763
|
+
* If the vehicle is located at the active driver profile's saved home location. (Requires 2024.44.32)
|
|
4764
4764
|
*/
|
|
4765
4765
|
LocatedAtHome?: {
|
|
4766
4766
|
interval_seconds: number;
|
|
4767
4767
|
resend_interval_seconds?: number;
|
|
4768
4768
|
} | null;
|
|
4769
4769
|
/**
|
|
4770
|
-
* If the vehicle is located at the active driver profile
|
|
4770
|
+
* If the vehicle is located at the active driver profile's saved work location. (Requires 2024.44.32)
|
|
4771
4771
|
*/
|
|
4772
4772
|
LocatedAtWork?: {
|
|
4773
4773
|
interval_seconds: number;
|
|
@@ -6675,14 +6675,14 @@ type GetApi1VehiclesByVinFleetTelemetryConfigResponses = {
|
|
|
6675
6675
|
resend_interval_seconds?: number;
|
|
6676
6676
|
};
|
|
6677
6677
|
/**
|
|
6678
|
-
* If the vehicle is located at the active driver profile
|
|
6678
|
+
* If the vehicle is located at the active driver profile's saved home location. (Requires 2024.44.32)
|
|
6679
6679
|
*/
|
|
6680
6680
|
LocatedAtHome?: {
|
|
6681
6681
|
interval_seconds: number;
|
|
6682
6682
|
resend_interval_seconds?: number;
|
|
6683
6683
|
};
|
|
6684
6684
|
/**
|
|
6685
|
-
* If the vehicle is located at the active driver profile
|
|
6685
|
+
* If the vehicle is located at the active driver profile's saved work location. (Requires 2024.44.32)
|
|
6686
6686
|
*/
|
|
6687
6687
|
LocatedAtWork?: {
|
|
6688
6688
|
interval_seconds: number;
|
|
@@ -8422,8 +8422,8 @@ type GetSseByVin_Responses = {
|
|
|
8422
8422
|
ChargeAmps?: number | null;
|
|
8423
8423
|
ChargeCurrentRequest?: number | null;
|
|
8424
8424
|
ChargeCurrentRequestMax?: number | null;
|
|
8425
|
-
ChargeEnableRequest?:
|
|
8426
|
-
ChargeLimitSoc?:
|
|
8425
|
+
ChargeEnableRequest?: boolean | null;
|
|
8426
|
+
ChargeLimitSoc?: number | null;
|
|
8427
8427
|
ChargePort?: 'ChargePortUnknown' | 'ChargePortUS' | 'ChargePortEU' | 'ChargePortGB' | 'ChargePortCCS' | null;
|
|
8428
8428
|
ChargePortColdWeatherMode?: boolean | null;
|
|
8429
8429
|
ChargePortDoorOpen?: boolean | null;
|
|
@@ -8442,7 +8442,7 @@ type GetSseByVin_Responses = {
|
|
|
8442
8442
|
DCChargingEnergyIn?: number | null;
|
|
8443
8443
|
DCChargingPower?: number | null;
|
|
8444
8444
|
DCDCEnable?: boolean | null;
|
|
8445
|
-
DefrostForPreconditioning?:
|
|
8445
|
+
DefrostForPreconditioning?: boolean | null;
|
|
8446
8446
|
DefrostMode?: 'DefrostModeStateUnknown' | 'DefrostModeStateOff' | 'DefrostModeStateNormal' | 'DefrostModeStateMax' | 'DefrostModeStateAutoDefog' | null;
|
|
8447
8447
|
DestinationLocation?: {
|
|
8448
8448
|
latitude: number;
|
|
@@ -8492,15 +8492,15 @@ type GetSseByVin_Responses = {
|
|
|
8492
8492
|
TrunkFront: boolean;
|
|
8493
8493
|
TrunkRear: boolean;
|
|
8494
8494
|
} | null;
|
|
8495
|
-
DriveRail?:
|
|
8495
|
+
DriveRail?: boolean | null;
|
|
8496
8496
|
DriverSeatBelt?: 'BuckleStatusUnknown' | 'BuckleStatusUnlatched' | 'BuckleStatusLatched' | 'BuckleStatusFaulted' | null;
|
|
8497
8497
|
DriverSeatOccupied?: boolean | null;
|
|
8498
|
-
EfficiencyPackage?:
|
|
8499
|
-
EmergencyLaneDepartureAvoidance?:
|
|
8498
|
+
EfficiencyPackage?: string | null;
|
|
8499
|
+
EmergencyLaneDepartureAvoidance?: boolean | null;
|
|
8500
8500
|
EnergyRemaining?: number | null;
|
|
8501
8501
|
EstBatteryRange?: number | null;
|
|
8502
8502
|
EstimatedHoursToChargeTermination?: number | null;
|
|
8503
|
-
EuropeVehicle?:
|
|
8503
|
+
EuropeVehicle?: boolean | null;
|
|
8504
8504
|
ExpectedEnergyPercentAtTripArrival?: number | null;
|
|
8505
8505
|
ExteriorColor?: string | null;
|
|
8506
8506
|
FastChargerPresent?: boolean | null;
|
|
@@ -8522,7 +8522,7 @@ type GetSseByVin_Responses = {
|
|
|
8522
8522
|
HvacLeftTemperatureRequest?: number | null;
|
|
8523
8523
|
HvacPower?: 'HvacPowerStateUnknown' | 'HvacPowerStateOff' | 'HvacPowerStateOn' | 'HvacPowerStatePrecondition' | 'HvacPowerStateOverheatProtect' | null;
|
|
8524
8524
|
HvacRightTemperatureRequest?: number | null;
|
|
8525
|
-
HvacSteeringWheelHeatAuto?:
|
|
8525
|
+
HvacSteeringWheelHeatAuto?: boolean | null;
|
|
8526
8526
|
HvacSteeringWheelHeatLevel?: number | null;
|
|
8527
8527
|
Hvil?: 'HvilStatusUnknown' | 'HvilStatusFault' | 'HvilStatusOK' | null;
|
|
8528
8528
|
IdealBatteryRange?: number | null;
|
|
@@ -8536,9 +8536,9 @@ type GetSseByVin_Responses = {
|
|
|
8536
8536
|
LightsHazardsActive?: boolean | null;
|
|
8537
8537
|
LightsHighBeams?: boolean | null;
|
|
8538
8538
|
LightsTurnSignal?: 'TurnSignalStateUnknown' | 'TurnSignalStateOff' | 'TurnSignalStateLeft' | 'TurnSignalStateRight' | 'TurnSignalStateBoth' | null;
|
|
8539
|
-
LocatedAtFavorite?:
|
|
8540
|
-
LocatedAtHome?:
|
|
8541
|
-
LocatedAtWork?:
|
|
8539
|
+
LocatedAtFavorite?: boolean | null;
|
|
8540
|
+
LocatedAtHome?: boolean | null;
|
|
8541
|
+
LocatedAtWork?: boolean | null;
|
|
8542
8542
|
Location?: {
|
|
8543
8543
|
latitude: number;
|
|
8544
8544
|
longitude: number;
|
|
@@ -8561,7 +8561,7 @@ type GetSseByVin_Responses = {
|
|
|
8561
8561
|
MinutesToArrival?: number | null;
|
|
8562
8562
|
ModuleTempMax?: number | null;
|
|
8563
8563
|
ModuleTempMin?: number | null;
|
|
8564
|
-
NotEnoughPowerToHeat?:
|
|
8564
|
+
NotEnoughPowerToHeat?: boolean | null;
|
|
8565
8565
|
NumBrickVoltageMax?: number | null;
|
|
8566
8566
|
NumBrickVoltageMin?: number | null;
|
|
8567
8567
|
NumModuleTempMax?: number | null;
|
|
@@ -8589,7 +8589,7 @@ type GetSseByVin_Responses = {
|
|
|
8589
8589
|
RdWindow?: 'WindowStateUnknown' | 'WindowStateClosed' | 'WindowStatePartiallyOpen' | 'WindowStateOpened' | null;
|
|
8590
8590
|
RearDefrostEnabled?: boolean | null;
|
|
8591
8591
|
RearDisplayHvacEnabled?: boolean | null;
|
|
8592
|
-
RearSeatHeaters?:
|
|
8592
|
+
RearSeatHeaters?: string | null;
|
|
8593
8593
|
RemoteStartEnabled?: boolean | null;
|
|
8594
8594
|
RightHandDrive?: boolean | null;
|
|
8595
8595
|
RoofColor?: string | null;
|
|
@@ -8598,7 +8598,7 @@ type GetSseByVin_Responses = {
|
|
|
8598
8598
|
RouteTrafficMinutesDelay?: number | null;
|
|
8599
8599
|
RpWindow?: 'WindowStateUnknown' | 'WindowStateClosed' | 'WindowStatePartiallyOpen' | 'WindowStateOpened' | null;
|
|
8600
8600
|
ScheduledChargingMode?: 'ScheduledChargingModeUnknown' | 'ScheduledChargingModeOff' | 'ScheduledChargingModeStartAt' | 'ScheduledChargingModeDepartBy' | null;
|
|
8601
|
-
ScheduledChargingPending?:
|
|
8601
|
+
ScheduledChargingPending?: boolean | null;
|
|
8602
8602
|
ScheduledChargingStartTime?: number | null;
|
|
8603
8603
|
ScheduledDepartureTime?: number | null;
|
|
8604
8604
|
SeatHeaterLeft?: number | null;
|
package/dist/index.d.mts
CHANGED
|
@@ -1117,14 +1117,14 @@ type GetApiConfigByVinResponses = {
|
|
|
1117
1117
|
resend_interval_seconds?: number;
|
|
1118
1118
|
};
|
|
1119
1119
|
/**
|
|
1120
|
-
* If the vehicle is located at the active driver profile
|
|
1120
|
+
* If the vehicle is located at the active driver profile's saved home location. (Requires 2024.44.32)
|
|
1121
1121
|
*/
|
|
1122
1122
|
LocatedAtHome?: {
|
|
1123
1123
|
interval_seconds: number;
|
|
1124
1124
|
resend_interval_seconds?: number;
|
|
1125
1125
|
};
|
|
1126
1126
|
/**
|
|
1127
|
-
* If the vehicle is located at the active driver profile
|
|
1127
|
+
* If the vehicle is located at the active driver profile's saved work location. (Requires 2024.44.32)
|
|
1128
1128
|
*/
|
|
1129
1129
|
LocatedAtWork?: {
|
|
1130
1130
|
interval_seconds: number;
|
|
@@ -2936,14 +2936,14 @@ type PatchApiConfigByVinData = {
|
|
|
2936
2936
|
resend_interval_seconds?: number;
|
|
2937
2937
|
} | null;
|
|
2938
2938
|
/**
|
|
2939
|
-
* If the vehicle is located at the active driver profile
|
|
2939
|
+
* If the vehicle is located at the active driver profile's saved home location. (Requires 2024.44.32)
|
|
2940
2940
|
*/
|
|
2941
2941
|
LocatedAtHome?: {
|
|
2942
2942
|
interval_seconds: number;
|
|
2943
2943
|
resend_interval_seconds?: number;
|
|
2944
2944
|
} | null;
|
|
2945
2945
|
/**
|
|
2946
|
-
* If the vehicle is located at the active driver profile
|
|
2946
|
+
* If the vehicle is located at the active driver profile's saved work location. (Requires 2024.44.32)
|
|
2947
2947
|
*/
|
|
2948
2948
|
LocatedAtWork?: {
|
|
2949
2949
|
interval_seconds: number;
|
|
@@ -4760,14 +4760,14 @@ type PostApiConfigByVinData = {
|
|
|
4760
4760
|
resend_interval_seconds?: number;
|
|
4761
4761
|
} | null;
|
|
4762
4762
|
/**
|
|
4763
|
-
* If the vehicle is located at the active driver profile
|
|
4763
|
+
* If the vehicle is located at the active driver profile's saved home location. (Requires 2024.44.32)
|
|
4764
4764
|
*/
|
|
4765
4765
|
LocatedAtHome?: {
|
|
4766
4766
|
interval_seconds: number;
|
|
4767
4767
|
resend_interval_seconds?: number;
|
|
4768
4768
|
} | null;
|
|
4769
4769
|
/**
|
|
4770
|
-
* If the vehicle is located at the active driver profile
|
|
4770
|
+
* If the vehicle is located at the active driver profile's saved work location. (Requires 2024.44.32)
|
|
4771
4771
|
*/
|
|
4772
4772
|
LocatedAtWork?: {
|
|
4773
4773
|
interval_seconds: number;
|
|
@@ -6675,14 +6675,14 @@ type GetApi1VehiclesByVinFleetTelemetryConfigResponses = {
|
|
|
6675
6675
|
resend_interval_seconds?: number;
|
|
6676
6676
|
};
|
|
6677
6677
|
/**
|
|
6678
|
-
* If the vehicle is located at the active driver profile
|
|
6678
|
+
* If the vehicle is located at the active driver profile's saved home location. (Requires 2024.44.32)
|
|
6679
6679
|
*/
|
|
6680
6680
|
LocatedAtHome?: {
|
|
6681
6681
|
interval_seconds: number;
|
|
6682
6682
|
resend_interval_seconds?: number;
|
|
6683
6683
|
};
|
|
6684
6684
|
/**
|
|
6685
|
-
* If the vehicle is located at the active driver profile
|
|
6685
|
+
* If the vehicle is located at the active driver profile's saved work location. (Requires 2024.44.32)
|
|
6686
6686
|
*/
|
|
6687
6687
|
LocatedAtWork?: {
|
|
6688
6688
|
interval_seconds: number;
|
|
@@ -8422,8 +8422,8 @@ type GetSseByVin_Responses = {
|
|
|
8422
8422
|
ChargeAmps?: number | null;
|
|
8423
8423
|
ChargeCurrentRequest?: number | null;
|
|
8424
8424
|
ChargeCurrentRequestMax?: number | null;
|
|
8425
|
-
ChargeEnableRequest?:
|
|
8426
|
-
ChargeLimitSoc?:
|
|
8425
|
+
ChargeEnableRequest?: boolean | null;
|
|
8426
|
+
ChargeLimitSoc?: number | null;
|
|
8427
8427
|
ChargePort?: 'ChargePortUnknown' | 'ChargePortUS' | 'ChargePortEU' | 'ChargePortGB' | 'ChargePortCCS' | null;
|
|
8428
8428
|
ChargePortColdWeatherMode?: boolean | null;
|
|
8429
8429
|
ChargePortDoorOpen?: boolean | null;
|
|
@@ -8442,7 +8442,7 @@ type GetSseByVin_Responses = {
|
|
|
8442
8442
|
DCChargingEnergyIn?: number | null;
|
|
8443
8443
|
DCChargingPower?: number | null;
|
|
8444
8444
|
DCDCEnable?: boolean | null;
|
|
8445
|
-
DefrostForPreconditioning?:
|
|
8445
|
+
DefrostForPreconditioning?: boolean | null;
|
|
8446
8446
|
DefrostMode?: 'DefrostModeStateUnknown' | 'DefrostModeStateOff' | 'DefrostModeStateNormal' | 'DefrostModeStateMax' | 'DefrostModeStateAutoDefog' | null;
|
|
8447
8447
|
DestinationLocation?: {
|
|
8448
8448
|
latitude: number;
|
|
@@ -8492,15 +8492,15 @@ type GetSseByVin_Responses = {
|
|
|
8492
8492
|
TrunkFront: boolean;
|
|
8493
8493
|
TrunkRear: boolean;
|
|
8494
8494
|
} | null;
|
|
8495
|
-
DriveRail?:
|
|
8495
|
+
DriveRail?: boolean | null;
|
|
8496
8496
|
DriverSeatBelt?: 'BuckleStatusUnknown' | 'BuckleStatusUnlatched' | 'BuckleStatusLatched' | 'BuckleStatusFaulted' | null;
|
|
8497
8497
|
DriverSeatOccupied?: boolean | null;
|
|
8498
|
-
EfficiencyPackage?:
|
|
8499
|
-
EmergencyLaneDepartureAvoidance?:
|
|
8498
|
+
EfficiencyPackage?: string | null;
|
|
8499
|
+
EmergencyLaneDepartureAvoidance?: boolean | null;
|
|
8500
8500
|
EnergyRemaining?: number | null;
|
|
8501
8501
|
EstBatteryRange?: number | null;
|
|
8502
8502
|
EstimatedHoursToChargeTermination?: number | null;
|
|
8503
|
-
EuropeVehicle?:
|
|
8503
|
+
EuropeVehicle?: boolean | null;
|
|
8504
8504
|
ExpectedEnergyPercentAtTripArrival?: number | null;
|
|
8505
8505
|
ExteriorColor?: string | null;
|
|
8506
8506
|
FastChargerPresent?: boolean | null;
|
|
@@ -8522,7 +8522,7 @@ type GetSseByVin_Responses = {
|
|
|
8522
8522
|
HvacLeftTemperatureRequest?: number | null;
|
|
8523
8523
|
HvacPower?: 'HvacPowerStateUnknown' | 'HvacPowerStateOff' | 'HvacPowerStateOn' | 'HvacPowerStatePrecondition' | 'HvacPowerStateOverheatProtect' | null;
|
|
8524
8524
|
HvacRightTemperatureRequest?: number | null;
|
|
8525
|
-
HvacSteeringWheelHeatAuto?:
|
|
8525
|
+
HvacSteeringWheelHeatAuto?: boolean | null;
|
|
8526
8526
|
HvacSteeringWheelHeatLevel?: number | null;
|
|
8527
8527
|
Hvil?: 'HvilStatusUnknown' | 'HvilStatusFault' | 'HvilStatusOK' | null;
|
|
8528
8528
|
IdealBatteryRange?: number | null;
|
|
@@ -8536,9 +8536,9 @@ type GetSseByVin_Responses = {
|
|
|
8536
8536
|
LightsHazardsActive?: boolean | null;
|
|
8537
8537
|
LightsHighBeams?: boolean | null;
|
|
8538
8538
|
LightsTurnSignal?: 'TurnSignalStateUnknown' | 'TurnSignalStateOff' | 'TurnSignalStateLeft' | 'TurnSignalStateRight' | 'TurnSignalStateBoth' | null;
|
|
8539
|
-
LocatedAtFavorite?:
|
|
8540
|
-
LocatedAtHome?:
|
|
8541
|
-
LocatedAtWork?:
|
|
8539
|
+
LocatedAtFavorite?: boolean | null;
|
|
8540
|
+
LocatedAtHome?: boolean | null;
|
|
8541
|
+
LocatedAtWork?: boolean | null;
|
|
8542
8542
|
Location?: {
|
|
8543
8543
|
latitude: number;
|
|
8544
8544
|
longitude: number;
|
|
@@ -8561,7 +8561,7 @@ type GetSseByVin_Responses = {
|
|
|
8561
8561
|
MinutesToArrival?: number | null;
|
|
8562
8562
|
ModuleTempMax?: number | null;
|
|
8563
8563
|
ModuleTempMin?: number | null;
|
|
8564
|
-
NotEnoughPowerToHeat?:
|
|
8564
|
+
NotEnoughPowerToHeat?: boolean | null;
|
|
8565
8565
|
NumBrickVoltageMax?: number | null;
|
|
8566
8566
|
NumBrickVoltageMin?: number | null;
|
|
8567
8567
|
NumModuleTempMax?: number | null;
|
|
@@ -8589,7 +8589,7 @@ type GetSseByVin_Responses = {
|
|
|
8589
8589
|
RdWindow?: 'WindowStateUnknown' | 'WindowStateClosed' | 'WindowStatePartiallyOpen' | 'WindowStateOpened' | null;
|
|
8590
8590
|
RearDefrostEnabled?: boolean | null;
|
|
8591
8591
|
RearDisplayHvacEnabled?: boolean | null;
|
|
8592
|
-
RearSeatHeaters?:
|
|
8592
|
+
RearSeatHeaters?: string | null;
|
|
8593
8593
|
RemoteStartEnabled?: boolean | null;
|
|
8594
8594
|
RightHandDrive?: boolean | null;
|
|
8595
8595
|
RoofColor?: string | null;
|
|
@@ -8598,7 +8598,7 @@ type GetSseByVin_Responses = {
|
|
|
8598
8598
|
RouteTrafficMinutesDelay?: number | null;
|
|
8599
8599
|
RpWindow?: 'WindowStateUnknown' | 'WindowStateClosed' | 'WindowStatePartiallyOpen' | 'WindowStateOpened' | null;
|
|
8600
8600
|
ScheduledChargingMode?: 'ScheduledChargingModeUnknown' | 'ScheduledChargingModeOff' | 'ScheduledChargingModeStartAt' | 'ScheduledChargingModeDepartBy' | null;
|
|
8601
|
-
ScheduledChargingPending?:
|
|
8601
|
+
ScheduledChargingPending?: boolean | null;
|
|
8602
8602
|
ScheduledChargingStartTime?: number | null;
|
|
8603
8603
|
ScheduledDepartureTime?: number | null;
|
|
8604
8604
|
SeatHeaterLeft?: number | null;
|
package/dist/index.mjs
CHANGED