@routebot/constants 0.3.63 → 0.3.65

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.
@@ -27,6 +27,14 @@ const TELEMETRY_EVENT_TYPES = {
27
27
  SERVICELESS_USE: "SERVICELESS_USE",
28
28
  };
29
29
 
30
+ // GetVehicleAlarmStatusV2 yanıtındaki "Alarm Türü" (Language=0 → Türkçe) kontak metinleri.
31
+ // Anlık kontak durumu bu üç tipin EN YENİSİNDEN türetilir (See: arvento-telemetry.md §20.1).
32
+ const ARVENTO_ALARM_TYPES = {
33
+ IGNITION_ON: "Kontak Açıldı",
34
+ IGNITION_OFF: "Kontak Kapandı",
35
+ IGNITION_STATUS: "Kontak Durumu", // Değer: 1=açık, 0=kapalı
36
+ };
37
+
30
38
  const TELEMETRY_VEHICLE_STATUS = {
31
39
  OFFLINE: "OFFLINE", // Son snapshot yok veya çok eski
32
40
  IDLE: "IDLE", // Kontak açık veya kapalı ama hareketsiz
@@ -62,4 +70,5 @@ module.exports = {
62
70
  TELEMETRY_EVENT_TYPES,
63
71
  TELEMETRY_VEHICLE_STATUS,
64
72
  TELEMETRY_THRESHOLDS,
73
+ ARVENTO_ALARM_TYPES,
65
74
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@routebot/constants",
3
- "version": "0.3.63",
3
+ "version": "0.3.65",
4
4
  "description": "Shared constants for RouteBot FE/BE",
5
5
  "main": "index.js",
6
6
  "files": [