@bikefinder/sdk 0.1.2 → 0.1.4

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.
@@ -465,6 +465,41 @@ export type AwsBatteryChargingAdaptationStatusReading = {
465
465
  definitionId: 29;
466
466
  [key: string]: unknown;
467
467
  };
468
+ export type AwsBatteryChargingAllocationsObservation = {
469
+ id: string;
470
+ definitionId: 164;
471
+ subject: null;
472
+ value: DeviceBatteryChargingAllocationsValue;
473
+ measuredAt: string;
474
+ receivedAt: string;
475
+ ageMs: number;
476
+ [key: string]: unknown;
477
+ };
478
+ export type AwsBatteryChargingAllocationsReading = {
479
+ series: {
480
+ definitionId: 164;
481
+ subject?: null;
482
+ [key: string]: unknown;
483
+ };
484
+ observationId: string;
485
+ value: DeviceBatteryChargingAllocationsValue;
486
+ measuredAt: string;
487
+ receivedAt: string;
488
+ definitionId: 164;
489
+ [key: string]: unknown;
490
+ } | {
491
+ series: {
492
+ definitionId: 164;
493
+ subject?: null;
494
+ [key: string]: unknown;
495
+ };
496
+ observationId: null;
497
+ value: null;
498
+ measuredAt: null;
499
+ receivedAt: null;
500
+ definitionId: 164;
501
+ [key: string]: unknown;
502
+ };
468
503
  export type AwsBatteryChargingChangedObservation = {
469
504
  id: string;
470
505
  definitionId: 25;
@@ -1445,6 +1480,111 @@ export type AwsBatteryOperationFailedReading = {
1445
1480
  definitionId: 19;
1446
1481
  [key: string]: unknown;
1447
1482
  };
1483
+ export type AwsBatteryProtocolExchangeObservation = {
1484
+ id: string;
1485
+ definitionId: 162;
1486
+ subject: ReadDeviceObservationValuesBatteryRouteSubject;
1487
+ value: DeviceBatteryProtocolExchangeValue;
1488
+ measuredAt: string;
1489
+ receivedAt: string;
1490
+ ageMs: number;
1491
+ [key: string]: unknown;
1492
+ };
1493
+ export type AwsBatteryProtocolExchangeReading = {
1494
+ series: {
1495
+ definitionId: 162;
1496
+ subject: ReadDeviceObservationValuesBatteryRouteSubject;
1497
+ [key: string]: unknown;
1498
+ };
1499
+ observationId: string;
1500
+ value: DeviceBatteryProtocolExchangeValue;
1501
+ measuredAt: string;
1502
+ receivedAt: string;
1503
+ definitionId: 162;
1504
+ [key: string]: unknown;
1505
+ } | {
1506
+ series: {
1507
+ definitionId: 162;
1508
+ subject: ReadDeviceObservationValuesBatteryRouteSubject;
1509
+ [key: string]: unknown;
1510
+ };
1511
+ observationId: null;
1512
+ value: null;
1513
+ measuredAt: null;
1514
+ receivedAt: null;
1515
+ definitionId: 162;
1516
+ [key: string]: unknown;
1517
+ };
1518
+ export type AwsBatteryProtocolIdentityObservation = {
1519
+ id: string;
1520
+ definitionId: 161;
1521
+ subject: ReadDeviceObservationValuesBatteryRouteSubject;
1522
+ value: DeviceBatteryProtocolIdentityValue;
1523
+ measuredAt: string;
1524
+ receivedAt: string;
1525
+ ageMs: number;
1526
+ [key: string]: unknown;
1527
+ };
1528
+ export type AwsBatteryProtocolIdentityReading = {
1529
+ series: {
1530
+ definitionId: 161;
1531
+ subject: ReadDeviceObservationValuesBatteryRouteSubject;
1532
+ [key: string]: unknown;
1533
+ };
1534
+ observationId: string;
1535
+ value: DeviceBatteryProtocolIdentityValue;
1536
+ measuredAt: string;
1537
+ receivedAt: string;
1538
+ definitionId: 161;
1539
+ [key: string]: unknown;
1540
+ } | {
1541
+ series: {
1542
+ definitionId: 161;
1543
+ subject: ReadDeviceObservationValuesBatteryRouteSubject;
1544
+ [key: string]: unknown;
1545
+ };
1546
+ observationId: null;
1547
+ value: null;
1548
+ measuredAt: null;
1549
+ receivedAt: null;
1550
+ definitionId: 161;
1551
+ [key: string]: unknown;
1552
+ };
1553
+ export type AwsBatteryUpdateHealthObservation = {
1554
+ id: string;
1555
+ definitionId: 163;
1556
+ subject: null;
1557
+ value: DeviceBatteryUpdateHealthValue;
1558
+ measuredAt: string;
1559
+ receivedAt: string;
1560
+ ageMs: number;
1561
+ [key: string]: unknown;
1562
+ };
1563
+ export type AwsBatteryUpdateHealthReading = {
1564
+ series: {
1565
+ definitionId: 163;
1566
+ subject?: null;
1567
+ [key: string]: unknown;
1568
+ };
1569
+ observationId: string;
1570
+ value: DeviceBatteryUpdateHealthValue;
1571
+ measuredAt: string;
1572
+ receivedAt: string;
1573
+ definitionId: 163;
1574
+ [key: string]: unknown;
1575
+ } | {
1576
+ series: {
1577
+ definitionId: 163;
1578
+ subject?: null;
1579
+ [key: string]: unknown;
1580
+ };
1581
+ observationId: null;
1582
+ value: null;
1583
+ measuredAt: null;
1584
+ receivedAt: null;
1585
+ definitionId: 163;
1586
+ [key: string]: unknown;
1587
+ };
1448
1588
  export type AwsCellScanCompletedObservation = {
1449
1589
  id: string;
1450
1590
  definitionId: 22;
@@ -1559,7 +1699,7 @@ export type AwsCommandRequest = {
1559
1699
  expectedInventoryId: string;
1560
1700
  command: "requestObservations";
1561
1701
  arguments: [0 | 1, number];
1562
- metrics: Array<1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 32 | 33 | 34 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 48 | 49 | 50 | 52 | 53 | 54 | 55 | 56 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 107 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 121 | 123 | 124 | 126 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 155 | 156 | 157 | 158 | 159 | 160>;
1702
+ metrics: Array<1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 32 | 33 | 34 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 48 | 49 | 50 | 52 | 53 | 54 | 55 | 56 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 107 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 121 | 123 | 124 | 126 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164>;
1563
1703
  enrollmentUrl?: null;
1564
1704
  confirmed?: boolean;
1565
1705
  } | {
@@ -1605,7 +1745,7 @@ export type AwsCommandRequest = {
1605
1745
  0 | 1 | 2 | 3,
1606
1746
  1 | 2 | 4 | 8 | 16 | 32
1607
1747
  ];
1608
- metrics: Array<1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 32 | 33 | 34 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 48 | 49 | 50 | 52 | 53 | 54 | 55 | 56 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 107 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 121 | 123 | 124 | 126 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 155 | 156 | 157 | 158 | 159 | 160>;
1748
+ metrics: Array<1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 32 | 33 | 34 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 48 | 49 | 50 | 52 | 53 | 54 | 55 | 56 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 107 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 121 | 123 | 124 | 126 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164>;
1609
1749
  enrollmentUrl?: null;
1610
1750
  confirmed?: boolean;
1611
1751
  } | {
@@ -4127,13 +4267,13 @@ export type AwsNetworkServingCellReading = {
4127
4267
  definitionId: 105;
4128
4268
  [key: string]: unknown;
4129
4269
  };
4130
- export type AwsObservation = AwsAgnssCompletedObservation | AwsAgnssTransferTraceObservation | AwsBatteryCheckCompletedObservation | AwsBatteryCommunicationTimingObservation | AwsBatteryDisplayedLevelObservation | AwsBatteryFailureTraceObservation | AwsBatteryInventoryObservation | AwsBatteryModuleChargerStatusObservation | AwsBatteryModuleCurrentObservation | AwsBatteryModuleFirmwareObservation | AwsBatteryModuleGaugeModeObservation | AwsBatteryModuleGaugeResetObservation | AwsBatteryModuleGaugeTemperatureObservation | AwsBatteryModuleLevelObservation | AwsBatteryModuleReadinessObservation | AwsBatteryModuleThermalStatusObservation | AwsBatteryModuleThermistorAdcObservation | AwsBatteryModuleVoltageObservation | AwsBatteryOperationFailedObservation | AwsCellScanCompletedObservation | AwsBatteryModuleChargerRegisterSnapshotObservation | AwsBatteryModuleChargerSettingsObservation | AwsBatteryChargingChangedObservation | AwsBatteryChargingMaintenanceCompletedObservation | AwsBatteryChargingMaintenanceCountObservation | AwsBatteryChargingMaintenanceStatusObservation | AwsBatteryChargingAdaptationStatusObservation | AwsBatteryChargingStatusObservation | AwsConnectionAttemptsObservation | AwsConnectionClientStartsObservation | AwsConnectionConnectionsObservation | AwsConnectionEventObservation | AwsConnectionFailedExchangesObservation | AwsConnectionOperationFailedObservation | AwsConnectionReportsObservation | AwsConnectionRxPayloadBytesObservation | AwsConnectionSessionsResumedObservation | AwsConnectionSubscribesObservation | AwsConnectionTotalConnackMsObservation | AwsConnectionTotalConnectMsObservation | AwsConnectionTotalDnsMsObservation | AwsConnectionTotalReportMsObservation | AwsConnectionTxPayloadBytesObservation | AwsDeviceBuildFingerprintObservation | AwsDeviceDiagnosticEventObservation | AwsDeviceHardwareVersionObservation | AwsEventsLostObservation | AwsFirmwareEspObservation | AwsFirmwareLteObservation | AwsFirmwareModemObservation | AwsFirmwareUpdateProgressObservation | AwsFirmwareUpdateResultObservation | AwsFlashBytesWrittenObservation | AwsFlashConnectionJournalBytesWrittenObservation | AwsFlashConnectionJournalPagesErasedObservation | AwsFlashEraseCallsObservation | AwsFlashEraseErrorsObservation | AwsFlashOtherBytesWrittenObservation | AwsFlashOtherPagesErasedObservation | AwsFlashPagesErasedObservation | AwsFlashSaturatedObservation | AwsFlashSettingsJournalBytesWrittenObservation | AwsFlashSettingsJournalPagesErasedObservation | AwsFlashWriteCallsObservation | AwsFlashWriteErrorsObservation | AwsGaugeModuleLatchedFaultsObservation | AwsGaugeModuleStatusObservation | AwsGnssSearchCompletedObservation | AwsGnssSearchTraceObservation | AwsHealthBootCountObservation | AwsHealthBootHistoryStatusObservation | AwsHealthLastModemFaultObservation | AwsHealthModemFaultCountObservation | AwsHealthRemainingOnlineObservation | AwsHealthUptimeObservation | AwsLocationLookupCompletedObservation | AwsModemEnergyQueryCompletedObservation | AwsModemHeapLibAllocatedObservation | AwsModemHeapLibFailedAllocsObservation | AwsModemHeapLibFreeObservation | AwsModemHeapLibPeakObservation | AwsModemHeapTxAllocatedObservation | AwsModemHeapTxFailedAllocsObservation | AwsModemHeapTxFreeObservation | AwsModemHeapTxPeakObservation | AwsModemSupplyVoltageObservation | AwsModemTemperatureObservation | AwsMovementDetectedObservation | AwsNetworkEdrxGrantObservation | AwsNetworkPsmGrantObservation | AwsNetworkRatObservation | AwsNetworkRegistrationObservation | AwsNetworkRegistrationDurationObservation | AwsNetworkRetryStatusObservation | AwsNetworkRsrpObservation | AwsNetworkRsrqObservation | AwsNetworkServingCellObservation | AwsOutboxAcknowledgedObservation | AwsOutboxEnqueuedObservation | AwsOutboxEvictedObservation | AwsOutboxExpiredObservation | AwsPowerTransitionHandoffLostObservation | AwsOutboxOccupancyObservation | AwsOutboxOversizedObservation | AwsOutboxPolicyCancelledObservation | AwsOutboxUnacknowledgedAttemptsObservation | AwsOutboxUrgentEvictedObservation | AwsPeripheralAccelerometerStatusObservation | AwsPeripheralEspStatusObservation | AwsPositionCellFixObservation | AwsPositionGnssFixObservation | AwsPositionWifiFixObservation | AwsPowerActivitiesObservation | AwsPowerBleScanEntriesObservation | AwsPowerBleScanMsObservation | AwsPowerBleTimeoutsObservation | AwsPowerEspEntriesObservation | AwsPowerEspMsObservation | AwsPowerEspRecoveriesObservation | AwsBatteryExternalPowerObservation | AwsBatteryExternalPowerChangedObservation | AwsPowerGnssEntriesObservation | AwsPowerGnssMsObservation | AwsPowerMqttEntriesObservation | AwsPowerMqttMsObservation | AwsPowerPsmEntriesObservation | AwsPowerPsmFallbacksObservation | AwsPowerPsmMsObservation | AwsPowerResponseWindowEntriesObservation | AwsPowerResponseWindowMsObservation | AwsPowerRrcEntriesObservation | AwsPowerRrcMsObservation | AwsPowerWifiScanEntriesObservation | AwsPowerWifiScanMsObservation | AwsPowerWifiTimeoutsObservation | AwsRadioBleScanObservation | AwsRadioCellScanObservation | AwsRadioWifiScanObservation | AwsSystemBootedObservation | AwsWifiScanCompletedObservation | AwsWorkCompletedObservation | AwsWorkflowExecutionObservation | AwsBatteryModuleChargeCompletedObservation | AwsBatteryModuleChargeRestedObservation;
4270
+ export type AwsObservation = AwsAgnssCompletedObservation | AwsAgnssTransferTraceObservation | AwsBatteryCheckCompletedObservation | AwsBatteryCommunicationTimingObservation | AwsBatteryDisplayedLevelObservation | AwsBatteryFailureTraceObservation | AwsBatteryInventoryObservation | AwsBatteryModuleChargerStatusObservation | AwsBatteryModuleCurrentObservation | AwsBatteryModuleFirmwareObservation | AwsBatteryModuleGaugeModeObservation | AwsBatteryModuleGaugeResetObservation | AwsBatteryModuleGaugeTemperatureObservation | AwsBatteryModuleLevelObservation | AwsBatteryModuleReadinessObservation | AwsBatteryModuleThermalStatusObservation | AwsBatteryModuleThermistorAdcObservation | AwsBatteryModuleVoltageObservation | AwsBatteryOperationFailedObservation | AwsCellScanCompletedObservation | AwsBatteryModuleChargerRegisterSnapshotObservation | AwsBatteryModuleChargerSettingsObservation | AwsBatteryChargingChangedObservation | AwsBatteryChargingMaintenanceCompletedObservation | AwsBatteryChargingMaintenanceCountObservation | AwsBatteryChargingMaintenanceStatusObservation | AwsBatteryChargingAdaptationStatusObservation | AwsBatteryChargingStatusObservation | AwsConnectionAttemptsObservation | AwsConnectionClientStartsObservation | AwsConnectionConnectionsObservation | AwsConnectionEventObservation | AwsConnectionFailedExchangesObservation | AwsConnectionOperationFailedObservation | AwsConnectionReportsObservation | AwsConnectionRxPayloadBytesObservation | AwsConnectionSessionsResumedObservation | AwsConnectionSubscribesObservation | AwsConnectionTotalConnackMsObservation | AwsConnectionTotalConnectMsObservation | AwsConnectionTotalDnsMsObservation | AwsConnectionTotalReportMsObservation | AwsConnectionTxPayloadBytesObservation | AwsDeviceBuildFingerprintObservation | AwsDeviceDiagnosticEventObservation | AwsDeviceHardwareVersionObservation | AwsEventsLostObservation | AwsFirmwareEspObservation | AwsFirmwareLteObservation | AwsFirmwareModemObservation | AwsFirmwareUpdateProgressObservation | AwsFirmwareUpdateResultObservation | AwsFlashBytesWrittenObservation | AwsFlashConnectionJournalBytesWrittenObservation | AwsFlashConnectionJournalPagesErasedObservation | AwsFlashEraseCallsObservation | AwsFlashEraseErrorsObservation | AwsFlashOtherBytesWrittenObservation | AwsFlashOtherPagesErasedObservation | AwsFlashPagesErasedObservation | AwsFlashSaturatedObservation | AwsFlashSettingsJournalBytesWrittenObservation | AwsFlashSettingsJournalPagesErasedObservation | AwsFlashWriteCallsObservation | AwsFlashWriteErrorsObservation | AwsGaugeModuleLatchedFaultsObservation | AwsGaugeModuleStatusObservation | AwsGnssSearchCompletedObservation | AwsGnssSearchTraceObservation | AwsHealthBootCountObservation | AwsHealthBootHistoryStatusObservation | AwsHealthLastModemFaultObservation | AwsHealthModemFaultCountObservation | AwsHealthRemainingOnlineObservation | AwsHealthUptimeObservation | AwsLocationLookupCompletedObservation | AwsModemEnergyQueryCompletedObservation | AwsModemHeapLibAllocatedObservation | AwsModemHeapLibFailedAllocsObservation | AwsModemHeapLibFreeObservation | AwsModemHeapLibPeakObservation | AwsModemHeapTxAllocatedObservation | AwsModemHeapTxFailedAllocsObservation | AwsModemHeapTxFreeObservation | AwsModemHeapTxPeakObservation | AwsModemSupplyVoltageObservation | AwsModemTemperatureObservation | AwsMovementDetectedObservation | AwsNetworkEdrxGrantObservation | AwsNetworkPsmGrantObservation | AwsNetworkRatObservation | AwsNetworkRegistrationObservation | AwsNetworkRegistrationDurationObservation | AwsNetworkRetryStatusObservation | AwsNetworkRsrpObservation | AwsNetworkRsrqObservation | AwsNetworkServingCellObservation | AwsOutboxAcknowledgedObservation | AwsOutboxEnqueuedObservation | AwsOutboxEvictedObservation | AwsOutboxExpiredObservation | AwsPowerTransitionHandoffLostObservation | AwsOutboxOccupancyObservation | AwsOutboxOversizedObservation | AwsOutboxPolicyCancelledObservation | AwsOutboxUnacknowledgedAttemptsObservation | AwsOutboxUrgentEvictedObservation | AwsPeripheralAccelerometerStatusObservation | AwsPeripheralEspStatusObservation | AwsPositionCellFixObservation | AwsPositionGnssFixObservation | AwsPositionWifiFixObservation | AwsPowerActivitiesObservation | AwsPowerBleScanEntriesObservation | AwsPowerBleScanMsObservation | AwsPowerBleTimeoutsObservation | AwsPowerEspEntriesObservation | AwsPowerEspMsObservation | AwsPowerEspRecoveriesObservation | AwsBatteryExternalPowerObservation | AwsBatteryExternalPowerChangedObservation | AwsPowerGnssEntriesObservation | AwsPowerGnssMsObservation | AwsPowerMqttEntriesObservation | AwsPowerMqttMsObservation | AwsPowerPsmEntriesObservation | AwsPowerPsmFallbacksObservation | AwsPowerPsmMsObservation | AwsPowerResponseWindowEntriesObservation | AwsPowerResponseWindowMsObservation | AwsPowerRrcEntriesObservation | AwsPowerRrcMsObservation | AwsPowerWifiScanEntriesObservation | AwsPowerWifiScanMsObservation | AwsPowerWifiTimeoutsObservation | AwsRadioBleScanObservation | AwsRadioCellScanObservation | AwsRadioWifiScanObservation | AwsSystemBootedObservation | AwsWifiScanCompletedObservation | AwsWorkCompletedObservation | AwsWorkflowExecutionObservation | AwsBatteryModuleChargeCompletedObservation | AwsBatteryModuleChargeRestedObservation | AwsBatteryProtocolIdentityObservation | AwsBatteryProtocolExchangeObservation | AwsBatteryUpdateHealthObservation | AwsBatteryChargingAllocationsObservation;
4131
4271
  export type AwsObservationPage = {
4132
4272
  items: Array<AwsObservation>;
4133
4273
  nextCursor: null | string;
4134
4274
  [key: string]: unknown;
4135
4275
  };
4136
- export type AwsObservationReading = AwsAgnssCompletedReading | AwsAgnssTransferTraceReading | AwsBatteryCheckCompletedReading | AwsBatteryCommunicationTimingReading | AwsBatteryDisplayedLevelReading | AwsBatteryFailureTraceReading | AwsBatteryInventoryReading | AwsBatteryModuleChargerStatusReading | AwsBatteryModuleCurrentReading | AwsBatteryModuleFirmwareReading | AwsBatteryModuleGaugeModeReading | AwsBatteryModuleGaugeResetReading | AwsBatteryModuleGaugeTemperatureReading | AwsBatteryModuleLevelReading | AwsBatteryModuleReadinessReading | AwsBatteryModuleThermalStatusReading | AwsBatteryModuleThermistorAdcReading | AwsBatteryModuleVoltageReading | AwsBatteryOperationFailedReading | AwsCellScanCompletedReading | AwsBatteryModuleChargerRegisterSnapshotReading | AwsBatteryModuleChargerSettingsReading | AwsBatteryChargingChangedReading | AwsBatteryChargingMaintenanceCompletedReading | AwsBatteryChargingMaintenanceCountReading | AwsBatteryChargingMaintenanceStatusReading | AwsBatteryChargingAdaptationStatusReading | AwsBatteryChargingStatusReading | AwsConnectionAttemptsReading | AwsConnectionClientStartsReading | AwsConnectionConnectionsReading | AwsConnectionEventReading | AwsConnectionFailedExchangesReading | AwsConnectionOperationFailedReading | AwsConnectionReportsReading | AwsConnectionRxPayloadBytesReading | AwsConnectionSessionsResumedReading | AwsConnectionSubscribesReading | AwsConnectionTotalConnackMsReading | AwsConnectionTotalConnectMsReading | AwsConnectionTotalDnsMsReading | AwsConnectionTotalReportMsReading | AwsConnectionTxPayloadBytesReading | AwsDeviceBuildFingerprintReading | AwsDeviceDiagnosticEventReading | AwsDeviceHardwareVersionReading | AwsEventsLostReading | AwsFirmwareEspReading | AwsFirmwareLteReading | AwsFirmwareModemReading | AwsFirmwareUpdateProgressReading | AwsFirmwareUpdateResultReading | AwsFlashBytesWrittenReading | AwsFlashConnectionJournalBytesWrittenReading | AwsFlashConnectionJournalPagesErasedReading | AwsFlashEraseCallsReading | AwsFlashEraseErrorsReading | AwsFlashOtherBytesWrittenReading | AwsFlashOtherPagesErasedReading | AwsFlashPagesErasedReading | AwsFlashSaturatedReading | AwsFlashSettingsJournalBytesWrittenReading | AwsFlashSettingsJournalPagesErasedReading | AwsFlashWriteCallsReading | AwsFlashWriteErrorsReading | AwsGaugeModuleLatchedFaultsReading | AwsGaugeModuleStatusReading | AwsGnssSearchCompletedReading | AwsGnssSearchTraceReading | AwsHealthBootCountReading | AwsHealthBootHistoryStatusReading | AwsHealthLastModemFaultReading | AwsHealthModemFaultCountReading | AwsHealthRemainingOnlineReading | AwsHealthUptimeReading | AwsLocationLookupCompletedReading | AwsModemEnergyQueryCompletedReading | AwsModemHeapLibAllocatedReading | AwsModemHeapLibFailedAllocsReading | AwsModemHeapLibFreeReading | AwsModemHeapLibPeakReading | AwsModemHeapTxAllocatedReading | AwsModemHeapTxFailedAllocsReading | AwsModemHeapTxFreeReading | AwsModemHeapTxPeakReading | AwsModemSupplyVoltageReading | AwsModemTemperatureReading | AwsMovementDetectedReading | AwsNetworkEdrxGrantReading | AwsNetworkPsmGrantReading | AwsNetworkRatReading | AwsNetworkRegistrationReading | AwsNetworkRegistrationDurationReading | AwsNetworkRetryStatusReading | AwsNetworkRsrpReading | AwsNetworkRsrqReading | AwsNetworkServingCellReading | AwsOutboxAcknowledgedReading | AwsOutboxEnqueuedReading | AwsOutboxEvictedReading | AwsOutboxExpiredReading | AwsPowerTransitionHandoffLostReading | AwsOutboxOccupancyReading | AwsOutboxOversizedReading | AwsOutboxPolicyCancelledReading | AwsOutboxUnacknowledgedAttemptsReading | AwsOutboxUrgentEvictedReading | AwsPeripheralAccelerometerStatusReading | AwsPeripheralEspStatusReading | AwsPositionCellFixReading | AwsPositionGnssFixReading | AwsPositionWifiFixReading | AwsPowerActivitiesReading | AwsPowerBleScanEntriesReading | AwsPowerBleScanMsReading | AwsPowerBleTimeoutsReading | AwsPowerEspEntriesReading | AwsPowerEspMsReading | AwsPowerEspRecoveriesReading | AwsBatteryExternalPowerReading | AwsBatteryExternalPowerChangedReading | AwsPowerGnssEntriesReading | AwsPowerGnssMsReading | AwsPowerMqttEntriesReading | AwsPowerMqttMsReading | AwsPowerPsmEntriesReading | AwsPowerPsmFallbacksReading | AwsPowerPsmMsReading | AwsPowerResponseWindowEntriesReading | AwsPowerResponseWindowMsReading | AwsPowerRrcEntriesReading | AwsPowerRrcMsReading | AwsPowerWifiScanEntriesReading | AwsPowerWifiScanMsReading | AwsPowerWifiTimeoutsReading | AwsRadioBleScanReading | AwsRadioCellScanReading | AwsRadioWifiScanReading | AwsSystemBootedReading | AwsWifiScanCompletedReading | AwsWorkCompletedReading | AwsWorkflowExecutionReading | AwsBatteryModuleChargeCompletedReading | AwsBatteryModuleChargeRestedReading;
4276
+ export type AwsObservationReading = AwsAgnssCompletedReading | AwsAgnssTransferTraceReading | AwsBatteryCheckCompletedReading | AwsBatteryCommunicationTimingReading | AwsBatteryDisplayedLevelReading | AwsBatteryFailureTraceReading | AwsBatteryInventoryReading | AwsBatteryModuleChargerStatusReading | AwsBatteryModuleCurrentReading | AwsBatteryModuleFirmwareReading | AwsBatteryModuleGaugeModeReading | AwsBatteryModuleGaugeResetReading | AwsBatteryModuleGaugeTemperatureReading | AwsBatteryModuleLevelReading | AwsBatteryModuleReadinessReading | AwsBatteryModuleThermalStatusReading | AwsBatteryModuleThermistorAdcReading | AwsBatteryModuleVoltageReading | AwsBatteryOperationFailedReading | AwsCellScanCompletedReading | AwsBatteryModuleChargerRegisterSnapshotReading | AwsBatteryModuleChargerSettingsReading | AwsBatteryChargingChangedReading | AwsBatteryChargingMaintenanceCompletedReading | AwsBatteryChargingMaintenanceCountReading | AwsBatteryChargingMaintenanceStatusReading | AwsBatteryChargingAdaptationStatusReading | AwsBatteryChargingStatusReading | AwsConnectionAttemptsReading | AwsConnectionClientStartsReading | AwsConnectionConnectionsReading | AwsConnectionEventReading | AwsConnectionFailedExchangesReading | AwsConnectionOperationFailedReading | AwsConnectionReportsReading | AwsConnectionRxPayloadBytesReading | AwsConnectionSessionsResumedReading | AwsConnectionSubscribesReading | AwsConnectionTotalConnackMsReading | AwsConnectionTotalConnectMsReading | AwsConnectionTotalDnsMsReading | AwsConnectionTotalReportMsReading | AwsConnectionTxPayloadBytesReading | AwsDeviceBuildFingerprintReading | AwsDeviceDiagnosticEventReading | AwsDeviceHardwareVersionReading | AwsEventsLostReading | AwsFirmwareEspReading | AwsFirmwareLteReading | AwsFirmwareModemReading | AwsFirmwareUpdateProgressReading | AwsFirmwareUpdateResultReading | AwsFlashBytesWrittenReading | AwsFlashConnectionJournalBytesWrittenReading | AwsFlashConnectionJournalPagesErasedReading | AwsFlashEraseCallsReading | AwsFlashEraseErrorsReading | AwsFlashOtherBytesWrittenReading | AwsFlashOtherPagesErasedReading | AwsFlashPagesErasedReading | AwsFlashSaturatedReading | AwsFlashSettingsJournalBytesWrittenReading | AwsFlashSettingsJournalPagesErasedReading | AwsFlashWriteCallsReading | AwsFlashWriteErrorsReading | AwsGaugeModuleLatchedFaultsReading | AwsGaugeModuleStatusReading | AwsGnssSearchCompletedReading | AwsGnssSearchTraceReading | AwsHealthBootCountReading | AwsHealthBootHistoryStatusReading | AwsHealthLastModemFaultReading | AwsHealthModemFaultCountReading | AwsHealthRemainingOnlineReading | AwsHealthUptimeReading | AwsLocationLookupCompletedReading | AwsModemEnergyQueryCompletedReading | AwsModemHeapLibAllocatedReading | AwsModemHeapLibFailedAllocsReading | AwsModemHeapLibFreeReading | AwsModemHeapLibPeakReading | AwsModemHeapTxAllocatedReading | AwsModemHeapTxFailedAllocsReading | AwsModemHeapTxFreeReading | AwsModemHeapTxPeakReading | AwsModemSupplyVoltageReading | AwsModemTemperatureReading | AwsMovementDetectedReading | AwsNetworkEdrxGrantReading | AwsNetworkPsmGrantReading | AwsNetworkRatReading | AwsNetworkRegistrationReading | AwsNetworkRegistrationDurationReading | AwsNetworkRetryStatusReading | AwsNetworkRsrpReading | AwsNetworkRsrqReading | AwsNetworkServingCellReading | AwsOutboxAcknowledgedReading | AwsOutboxEnqueuedReading | AwsOutboxEvictedReading | AwsOutboxExpiredReading | AwsPowerTransitionHandoffLostReading | AwsOutboxOccupancyReading | AwsOutboxOversizedReading | AwsOutboxPolicyCancelledReading | AwsOutboxUnacknowledgedAttemptsReading | AwsOutboxUrgentEvictedReading | AwsPeripheralAccelerometerStatusReading | AwsPeripheralEspStatusReading | AwsPositionCellFixReading | AwsPositionGnssFixReading | AwsPositionWifiFixReading | AwsPowerActivitiesReading | AwsPowerBleScanEntriesReading | AwsPowerBleScanMsReading | AwsPowerBleTimeoutsReading | AwsPowerEspEntriesReading | AwsPowerEspMsReading | AwsPowerEspRecoveriesReading | AwsBatteryExternalPowerReading | AwsBatteryExternalPowerChangedReading | AwsPowerGnssEntriesReading | AwsPowerGnssMsReading | AwsPowerMqttEntriesReading | AwsPowerMqttMsReading | AwsPowerPsmEntriesReading | AwsPowerPsmFallbacksReading | AwsPowerPsmMsReading | AwsPowerResponseWindowEntriesReading | AwsPowerResponseWindowMsReading | AwsPowerRrcEntriesReading | AwsPowerRrcMsReading | AwsPowerWifiScanEntriesReading | AwsPowerWifiScanMsReading | AwsPowerWifiTimeoutsReading | AwsRadioBleScanReading | AwsRadioCellScanReading | AwsRadioWifiScanReading | AwsSystemBootedReading | AwsWifiScanCompletedReading | AwsWorkCompletedReading | AwsWorkflowExecutionReading | AwsBatteryModuleChargeCompletedReading | AwsBatteryModuleChargeRestedReading | AwsBatteryProtocolIdentityReading | AwsBatteryProtocolExchangeReading | AwsBatteryUpdateHealthReading | AwsBatteryChargingAllocationsReading;
4137
4277
  export type AwsObservationSelection = {
4138
4278
  series: Array<AwsObservationSeries>;
4139
4279
  };
@@ -4569,6 +4709,18 @@ export type AwsObservationSeries = {
4569
4709
  } | {
4570
4710
  definitionId: 160;
4571
4711
  subject: DeviceObservationValuesModuleSubject;
4712
+ } | {
4713
+ definitionId: 161;
4714
+ subject: DeviceObservationValuesBatteryRouteSubject;
4715
+ } | {
4716
+ definitionId: 162;
4717
+ subject: DeviceObservationValuesBatteryRouteSubject;
4718
+ } | {
4719
+ definitionId: 163;
4720
+ subject?: null;
4721
+ } | {
4722
+ definitionId: 164;
4723
+ subject?: null;
4572
4724
  };
4573
4725
  export type AwsOutboxAcknowledgedObservation = {
4574
4726
  id: string;
@@ -6420,6 +6572,21 @@ export type DeviceBatteryChargingAdaptationStatusValue = unknown & {
6420
6572
  concurrency: DeviceObservationValuesChargingConcurrencyAdaptation | null;
6421
6573
  [key: string]: unknown;
6422
6574
  };
6575
+ /**
6576
+ * Charging allocation decisions
6577
+ *
6578
+ * LTE allocation intent and acknowledged output, not proof of actual current flow. Reports stopped fault gates and physical-identity power reservations, including unreachable modules and lost acknowledgements. Remaining durations freeze at capture; use observation age. A null reservation list is unavailable, not empty. Reads perform no UART I/O and never retire or renew a reservation.
6579
+ */
6580
+ export type DeviceBatteryChargingAllocationsValue = {
6581
+ inventoryConfirmed: boolean;
6582
+ held: boolean;
6583
+ inputBudgetMa: number;
6584
+ maximumChargers: number;
6585
+ reason: "none" | "disabled" | "detached" | "unknownInput" | "notReady" | "communication" | "stale" | "thermal" | "cable" | "full" | "overcurrent" | "maintenance" | "chargerFault" | "allocationBudget";
6586
+ modules: Array<DeviceObservationValuesChargingAllocationMember>;
6587
+ reservations: Array<DeviceObservationValuesChargingPowerReservation> | null;
6588
+ [key: string]: unknown;
6589
+ };
6423
6590
  /**
6424
6591
  * Charging changed
6425
6592
  *
@@ -6593,13 +6760,23 @@ export type DeviceBatteryModuleChargerSettingsValue = {
6593
6760
  /**
6594
6761
  * Battery module charger status
6595
6762
  *
6596
- * State/fault are one hardware status. Optional supply fields require evidence from the same validated transaction; never fill them from older cache entries.
6763
+ * State/fault and optional local MSP charging guard are one coherent hardware snapshot. Guard reports permission, actual output, remaining authorization at capture, local inhibit reasons and safety-policy/boot generations. Null on legacy modules. Supply/guard fields must never borrow older cache entries.
6597
6764
  */
6598
6765
  export type DeviceBatteryModuleChargerStatusValue = {
6599
6766
  state: "ready" | "charging" | "full" | "fault";
6600
6767
  fault: number;
6601
6768
  inputValidated: boolean | null;
6602
6769
  voltageRegulationActive: boolean | null;
6770
+ guard: {
6771
+ authorized: boolean;
6772
+ outputEnabled: boolean;
6773
+ remainingMs: number;
6774
+ inhibitReasons: number;
6775
+ policyRevision: number;
6776
+ authorizedSample: number;
6777
+ bootGeneration: number;
6778
+ [key: string]: unknown;
6779
+ } | null;
6603
6780
  [key: string]: unknown;
6604
6781
  };
6605
6782
  /**
@@ -6692,6 +6869,47 @@ export type DeviceBatteryOperationFailedValue = {
6692
6869
  module: ReadDeviceObservationValuesModuleSubject | null;
6693
6870
  [key: string]: unknown;
6694
6871
  };
6872
+ /**
6873
+ * battery.protocolExchange
6874
+ *
6875
+ * Last protocol envelope exchange. Transport/framing/correlation errors are distinct from the matched MSP result. No request or response payload bytes are retained. Operation-body validity is checked separately by the typed consumer.
6876
+ */
6877
+ export type DeviceBatteryProtocolExchangeValue = {
6878
+ operation: number;
6879
+ elapsedMs: number;
6880
+ transportError: number;
6881
+ status: number | null;
6882
+ bootGeneration: number | null;
6883
+ [key: string]: unknown;
6884
+ };
6885
+ /**
6886
+ * battery.protocolIdentity
6887
+ *
6888
+ * Accepted HELLO identity and metadata for this raw route. Optional unavailable metadata is null. Relay headers are not module identity evidence.
6889
+ */
6890
+ export type DeviceBatteryProtocolIdentityValue = {
6891
+ moduleId: string;
6892
+ bootGeneration: number;
6893
+ capabilities: string;
6894
+ hardwareRevision: number | null;
6895
+ resetReason: number | null;
6896
+ [key: string]: unknown;
6897
+ };
6898
+ /**
6899
+ * battery.updateHealth
6900
+ *
6901
+ * Operational verification after a completed MSP installation and LTE restart. Installation completion does not imply operational health. A failed health check never rearms image installation or consumes another flash attempt.
6902
+ */
6903
+ export type DeviceBatteryUpdateHealthValue = {
6904
+ requestId: number;
6905
+ slot: number;
6906
+ target: ReadDeviceObservationValuesModuleSubject;
6907
+ imageInstalled: boolean;
6908
+ state: "operational" | "failed" | "unsupported";
6909
+ error: number;
6910
+ bootGeneration: number | null;
6911
+ [key: string]: unknown;
6912
+ };
6695
6913
  /**
6696
6914
  * Cell scan completed
6697
6915
  *
@@ -7358,6 +7576,10 @@ export type DeviceObservationValues = {
7358
7576
  "workflow.execution"?: DeviceWorkflowExecutionValue;
7359
7577
  "battery.module.chargeCompleted"?: DeviceBatteryModuleChargeCompletedValue;
7360
7578
  "battery.module.chargeRested"?: DeviceBatteryModuleChargeRestedValue;
7579
+ "battery.protocolIdentity"?: DeviceBatteryProtocolIdentityValue;
7580
+ "battery.protocolExchange"?: DeviceBatteryProtocolExchangeValue;
7581
+ "battery.updateHealth"?: DeviceBatteryUpdateHealthValue;
7582
+ "battery.charging.allocations"?: DeviceBatteryChargingAllocationsValue;
7361
7583
  [key: string]: unknown;
7362
7584
  };
7363
7585
  export type DeviceObservationValuesActivityDurations = {
@@ -7443,6 +7665,19 @@ export type DeviceObservationValuesCellScan = {
7443
7665
  [key: string]: unknown;
7444
7666
  };
7445
7667
  export type DeviceObservationValuesChargingAdjustmentReason = "qualifying" | "atCeiling" | "poorSupply" | "inputVoltageRegulation";
7668
+ export type DeviceObservationValuesChargingAllocationMember = {
7669
+ slot: number;
7670
+ target: ReadDeviceObservationValuesModuleSubject | null;
7671
+ requestedInputMa: number | null;
7672
+ configuredInputMa: number | null;
7673
+ outputAcknowledged: boolean;
7674
+ stopUncertain: boolean;
7675
+ faultCode: number;
7676
+ faultAttempts: number;
7677
+ faultGate: "clear" | "cooldown" | "latched" | "recheck";
7678
+ cooldownRemainingMs: number | null;
7679
+ [key: string]: unknown;
7680
+ };
7446
7681
  export type DeviceObservationValuesChargingConcurrencyAdaptation = {
7447
7682
  qualifiedModules: number;
7448
7683
  reason: DeviceObservationValuesChargingAdjustmentReason;
@@ -7455,6 +7690,12 @@ export type DeviceObservationValuesChargingInputAdaptation = {
7455
7690
  cooldownRemainingMs: number | null;
7456
7691
  [key: string]: unknown;
7457
7692
  };
7693
+ export type DeviceObservationValuesChargingPowerReservation = {
7694
+ moduleId: string;
7695
+ inputMa: number | null;
7696
+ remainingMs: number;
7697
+ [key: string]: unknown;
7698
+ };
7458
7699
  export type DeviceObservationValuesChargingStatus = unknown & {
7459
7700
  state: "unknown" | "notCharging" | "charging" | "full" | "paused";
7460
7701
  reason: "none" | "externalPowerAbsent" | "externalPowerUnknown" | "noDiscoveredModules" | "inventoryUnknown" | "inventoryCapped" | "inconsistentEvidence" | "notReady" | "communication" | "stale" | "thermal" | "cable" | "allModulesFull" | "overcurrent" | "maintenance" | "chargerFault" | "disabled" | "hardwareIdle";
@@ -8078,11 +8319,11 @@ export type DeviceSettings = {
8078
8319
  */
8079
8320
  bleAdvertisingEnabled?: boolean;
8080
8321
  /**
8081
- * BLE advertising power
8322
+ * BLE advertising requires external power
8082
8323
  *
8083
- * 0 allows advertising on any power source. 1 requires confirmed external power, including a full battery that remains plugged in.
8324
+ * When true, advertise only with confirmed external power, including a full battery that remains plugged in. When false, allow advertising on battery too.
8084
8325
  */
8085
- bleAdvertisingPower?: 0 | 1;
8326
+ bleAdvertisingRequiresExternalPower?: boolean;
8086
8327
  /**
8087
8328
  * BLE advertising interval
8088
8329
  *
@@ -8245,8 +8486,63 @@ export type DeviceSettings = {
8245
8486
  * After a high-temperature shutdown, resume only at or below this temperature. Order: cold stop < cold stop recovery <= cold limit < cold limit recovery <= warm limit recovery < warm limit <= hot stop recovery < hot stop.
8246
8487
  */
8247
8488
  chargingTemperatureHotStopRecoveryC?: number;
8489
+ /**
8490
+ * MSP charging allocation lease
8491
+ *
8492
+ * Maximum charging allocation duration for an MSP with autonomous local safety and charger watchdog service. LTE retains shared power reservations through communication loss until verified stopped or expired. Installed MSPs retain their existing supervision.
8493
+ */
8494
+ chargingLeaseSeconds?: number;
8495
+ /**
8496
+ * Wi-Fi acquisition timeout
8497
+ *
8498
+ * Maximum time for one admitted Wi-Fi acquisition, including ESP startup and result delivery. The requesting operation deadline can end it sooner. Applies to installed and configurable ESP scan protocols.
8499
+ */
8500
+ wifiTimeoutSeconds?: number;
8501
+ /**
8502
+ * Wi-Fi active scan minimum dwell
8503
+ *
8504
+ * Minimum active scan dwell per channel. Must not exceed wifiScanActiveMaxMs. Requires ESP 10.2.1 or later; older or unknown ESP versions retain their native scan.
8505
+ */
8506
+ wifiScanActiveMinMs?: number;
8507
+ /**
8508
+ * Wi-Fi active scan maximum dwell
8509
+ *
8510
+ * Maximum active scan dwell per channel. Must be at least wifiScanActiveMinMs. Requires ESP 10.2.1 or later; older or unknown ESP versions retain their native scan.
8511
+ */
8512
+ wifiScanActiveMaxMs?: number;
8513
+ /**
8514
+ * Wi-Fi passive scan dwell
8515
+ *
8516
+ * Passive scan dwell per channel. Used only for passive scans. Requires ESP 10.2.1 or later; older or unknown ESP versions retain their native scan.
8517
+ */
8518
+ wifiScanPassiveMs?: number;
8519
+ /**
8520
+ * Wi-Fi scan channels
8521
+ *
8522
+ * Channel bitmask: bit 0 is channel 1, bit 13 is channel 14. Zero selects all permitted channels. Intersected with ESP regulatory channels. Requires ESP 10.2.1 or later.
8523
+ */
8524
+ wifiScanChannelMask?: number;
8525
+ /**
8526
+ * Wi-Fi scan budget
8527
+ *
8528
+ * ESP initialization and scan budget, excluding result delivery. Limited by the remaining LTE acquisition deadline. Requires ESP 10.2.1 or later; older or unknown ESP versions retain their native scan.
8529
+ */
8530
+ wifiScanBudgetMs?: number;
8531
+ /**
8532
+ * Wi-Fi scan type
8533
+ *
8534
+ * Choose active probing or passive listening. Requires ESP 10.2.1 or later; older or unknown ESP versions retain their native scan.
8535
+ */
8536
+ wifiScanType?: "active" | "passive";
8537
+ /**
8538
+ * Charging status maximum age
8539
+ *
8540
+ * Maximum age of charger readback used for the reported charging status. Independent of charging-control safety deadlines; does not authorize charging or schedule extra hardware reads. Confirmed input loss still reports not charging immediately.
8541
+ */
8542
+ chargingStatusMaxAgeSeconds?: number;
8248
8543
  };
8249
8544
  export type DeviceSettingsAutomaticDiagnosticsPower = "any" | "external";
8545
+ export type DeviceSettingsWifiScanType = "active" | "passive";
8250
8546
  /**
8251
8547
  * System booted
8252
8548
  *
@@ -8916,7 +9212,6 @@ export type TrackerData = {
8916
9212
  generation?: null | TextOrNumber;
8917
9213
  cloud?: null | string;
8918
9214
  ids?: null | TrackerDataIds;
8919
- platform?: null | TrackerDataPlatform;
8920
9215
  bikeInfo?: null | TrackerDataBikeInfo;
8921
9216
  battery?: null | TrackerDataBattery;
8922
9217
  versions?: null | TrackerDataVersions;
@@ -8989,11 +9284,6 @@ export type TrackerDataLastValidLocation = {
8989
9284
  timestamp?: null | string;
8990
9285
  [key: string]: unknown;
8991
9286
  };
8992
- export type TrackerDataPlatform = {
8993
- active?: null | string;
8994
- epoch?: null | string;
8995
- [key: string]: unknown;
8996
- };
8997
9287
  export type TrackerDataSubscription = {
8998
9288
  id?: null | string;
8999
9289
  isActive?: null | boolean;
@@ -9414,11 +9704,11 @@ export type ReadDeviceSettings = {
9414
9704
  */
9415
9705
  bleAdvertisingEnabled?: boolean;
9416
9706
  /**
9417
- * BLE advertising power
9707
+ * BLE advertising requires external power
9418
9708
  *
9419
- * 0 allows advertising on any power source. 1 requires confirmed external power, including a full battery that remains plugged in.
9709
+ * When true, advertise only with confirmed external power, including a full battery that remains plugged in. When false, allow advertising on battery too.
9420
9710
  */
9421
- bleAdvertisingPower?: 0 | 1;
9711
+ bleAdvertisingRequiresExternalPower?: boolean;
9422
9712
  /**
9423
9713
  * BLE advertising interval
9424
9714
  *
@@ -9581,8 +9871,178 @@ export type ReadDeviceSettings = {
9581
9871
  * After a high-temperature shutdown, resume only at or below this temperature. Order: cold stop < cold stop recovery <= cold limit < cold limit recovery <= warm limit recovery < warm limit <= hot stop recovery < hot stop.
9582
9872
  */
9583
9873
  chargingTemperatureHotStopRecoveryC?: number;
9874
+ /**
9875
+ * MSP charging allocation lease
9876
+ *
9877
+ * Maximum charging allocation duration for an MSP with autonomous local safety and charger watchdog service. LTE retains shared power reservations through communication loss until verified stopped or expired. Installed MSPs retain their existing supervision.
9878
+ */
9879
+ chargingLeaseSeconds?: number;
9880
+ /**
9881
+ * Wi-Fi acquisition timeout
9882
+ *
9883
+ * Maximum time for one admitted Wi-Fi acquisition, including ESP startup and result delivery. The requesting operation deadline can end it sooner. Applies to installed and configurable ESP scan protocols.
9884
+ */
9885
+ wifiTimeoutSeconds?: number;
9886
+ /**
9887
+ * Wi-Fi active scan minimum dwell
9888
+ *
9889
+ * Minimum active scan dwell per channel. Must not exceed wifiScanActiveMaxMs. Requires ESP 10.2.1 or later; older or unknown ESP versions retain their native scan.
9890
+ */
9891
+ wifiScanActiveMinMs?: number;
9892
+ /**
9893
+ * Wi-Fi active scan maximum dwell
9894
+ *
9895
+ * Maximum active scan dwell per channel. Must be at least wifiScanActiveMinMs. Requires ESP 10.2.1 or later; older or unknown ESP versions retain their native scan.
9896
+ */
9897
+ wifiScanActiveMaxMs?: number;
9898
+ /**
9899
+ * Wi-Fi passive scan dwell
9900
+ *
9901
+ * Passive scan dwell per channel. Used only for passive scans. Requires ESP 10.2.1 or later; older or unknown ESP versions retain their native scan.
9902
+ */
9903
+ wifiScanPassiveMs?: number;
9904
+ /**
9905
+ * Wi-Fi scan channels
9906
+ *
9907
+ * Channel bitmask: bit 0 is channel 1, bit 13 is channel 14. Zero selects all permitted channels. Intersected with ESP regulatory channels. Requires ESP 10.2.1 or later.
9908
+ */
9909
+ wifiScanChannelMask?: number;
9910
+ /**
9911
+ * Wi-Fi scan budget
9912
+ *
9913
+ * ESP initialization and scan budget, excluding result delivery. Limited by the remaining LTE acquisition deadline. Requires ESP 10.2.1 or later; older or unknown ESP versions retain their native scan.
9914
+ */
9915
+ wifiScanBudgetMs?: number;
9916
+ /**
9917
+ * Wi-Fi scan type
9918
+ *
9919
+ * Choose active probing or passive listening. Requires ESP 10.2.1 or later; older or unknown ESP versions retain their native scan.
9920
+ */
9921
+ wifiScanType?: "active" | "passive";
9922
+ /**
9923
+ * Charging status maximum age
9924
+ *
9925
+ * Maximum age of charger readback used for the reported charging status. Independent of charging-control safety deadlines; does not authorize charging or schedule extra hardware reads. Confirmed input loss still reports not charging immediately.
9926
+ */
9927
+ chargingStatusMaxAgeSeconds?: number;
9584
9928
  [key: string]: unknown;
9585
9929
  };
9930
+ export type SetTrackerSubscriptionData = {
9931
+ body: AllocationChange;
9932
+ path: {
9933
+ id: string;
9934
+ };
9935
+ query?: never;
9936
+ url: "/v1/trackers/{id}/subscription";
9937
+ };
9938
+ export type SetTrackerSubscriptionErrors = {
9939
+ /**
9940
+ * Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
9941
+ */
9942
+ default: ApiProblem;
9943
+ };
9944
+ export type SetTrackerSubscriptionError = SetTrackerSubscriptionErrors[keyof SetTrackerSubscriptionErrors];
9945
+ export type SetTrackerSubscriptionResponses = {
9946
+ /**
9947
+ * No Content
9948
+ */
9949
+ 204: void;
9950
+ };
9951
+ export type SetTrackerSubscriptionResponse = SetTrackerSubscriptionResponses[keyof SetTrackerSubscriptionResponses];
9952
+ export type SetStaffTrackerSubscriptionData = {
9953
+ body: AllocationChange;
9954
+ path: {
9955
+ id: string;
9956
+ };
9957
+ query?: never;
9958
+ url: "/v1/admin/trackers/{id}/subscription";
9959
+ };
9960
+ export type SetStaffTrackerSubscriptionErrors = {
9961
+ /**
9962
+ * Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
9963
+ */
9964
+ default: ApiProblem;
9965
+ };
9966
+ export type SetStaffTrackerSubscriptionError = SetStaffTrackerSubscriptionErrors[keyof SetStaffTrackerSubscriptionErrors];
9967
+ export type SetStaffTrackerSubscriptionResponses = {
9968
+ /**
9969
+ * No Content
9970
+ */
9971
+ 204: void;
9972
+ };
9973
+ export type SetStaffTrackerSubscriptionResponse = SetStaffTrackerSubscriptionResponses[keyof SetStaffTrackerSubscriptionResponses];
9974
+ export type ResolveTrackerAwsDeviceData = {
9975
+ body?: never;
9976
+ path: {
9977
+ id: string;
9978
+ };
9979
+ query?: never;
9980
+ url: "/v1/admin/trackers/{id}/aws-device";
9981
+ };
9982
+ export type ResolveTrackerAwsDeviceErrors = {
9983
+ /**
9984
+ * Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
9985
+ */
9986
+ default: ApiProblem;
9987
+ };
9988
+ export type ResolveTrackerAwsDeviceError = ResolveTrackerAwsDeviceErrors[keyof ResolveTrackerAwsDeviceErrors];
9989
+ export type ResolveTrackerAwsDeviceResponses = {
9990
+ /**
9991
+ * OK
9992
+ */
9993
+ 200: AwsDeviceIdentity;
9994
+ };
9995
+ export type ResolveTrackerAwsDeviceResponse = ResolveTrackerAwsDeviceResponses[keyof ResolveTrackerAwsDeviceResponses];
9996
+ export type UploadBatteryFirmwareData = {
9997
+ body: Blob | File;
9998
+ path: {
9999
+ id: string;
10000
+ };
10001
+ query: {
10002
+ operationId: string;
10003
+ expectedInventoryId: string;
10004
+ moduleId: string;
10005
+ version: string;
10006
+ expectedBatteryInventoryObservationId: string;
10007
+ };
10008
+ url: "/v1/admin/aws/devices/{id}/battery-firmware";
10009
+ };
10010
+ export type UploadBatteryFirmwareErrors = {
10011
+ /**
10012
+ * Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
10013
+ */
10014
+ default: ApiProblem;
10015
+ };
10016
+ export type UploadBatteryFirmwareError = UploadBatteryFirmwareErrors[keyof UploadBatteryFirmwareErrors];
10017
+ export type UploadBatteryFirmwareResponses = {
10018
+ /**
10019
+ * OK
10020
+ */
10021
+ 200: AwsCommand;
10022
+ };
10023
+ export type UploadBatteryFirmwareResponse = UploadBatteryFirmwareResponses[keyof UploadBatteryFirmwareResponses];
10024
+ export type GetAwsSchemaData = {
10025
+ body?: never;
10026
+ path: {
10027
+ name: string;
10028
+ };
10029
+ query?: never;
10030
+ url: "/v1/admin/aws/schemas/{name}";
10031
+ };
10032
+ export type GetAwsSchemaErrors = {
10033
+ /**
10034
+ * Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
10035
+ */
10036
+ default: ApiProblem;
10037
+ };
10038
+ export type GetAwsSchemaError = GetAwsSchemaErrors[keyof GetAwsSchemaErrors];
10039
+ export type GetAwsSchemaResponses = {
10040
+ /**
10041
+ * OK
10042
+ */
10043
+ 200: JsonObject;
10044
+ };
10045
+ export type GetAwsSchemaResponse = GetAwsSchemaResponses[keyof GetAwsSchemaResponses];
9586
10046
  export type ListTrackersData = {
9587
10047
  body?: never;
9588
10048
  path?: never;
@@ -10832,122 +11292,6 @@ export type GetSubscriptionResponses = {
10832
11292
  200: SubscriptionDocument;
10833
11293
  };
10834
11294
  export type GetSubscriptionResponse = GetSubscriptionResponses[keyof GetSubscriptionResponses];
10835
- export type SetTrackerSubscriptionData = {
10836
- body: AllocationChange;
10837
- path: {
10838
- id: string;
10839
- };
10840
- query?: never;
10841
- url: "/v1/trackers/{id}/subscription";
10842
- };
10843
- export type SetTrackerSubscriptionErrors = {
10844
- /**
10845
- * Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
10846
- */
10847
- default: ApiProblem;
10848
- };
10849
- export type SetTrackerSubscriptionError = SetTrackerSubscriptionErrors[keyof SetTrackerSubscriptionErrors];
10850
- export type SetTrackerSubscriptionResponses = {
10851
- /**
10852
- * No Content
10853
- */
10854
- 204: void;
10855
- };
10856
- export type SetTrackerSubscriptionResponse = SetTrackerSubscriptionResponses[keyof SetTrackerSubscriptionResponses];
10857
- export type SetStaffTrackerSubscriptionData = {
10858
- body: AllocationChange;
10859
- path: {
10860
- id: string;
10861
- };
10862
- query?: never;
10863
- url: "/v1/admin/trackers/{id}/subscription";
10864
- };
10865
- export type SetStaffTrackerSubscriptionErrors = {
10866
- /**
10867
- * Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
10868
- */
10869
- default: ApiProblem;
10870
- };
10871
- export type SetStaffTrackerSubscriptionError = SetStaffTrackerSubscriptionErrors[keyof SetStaffTrackerSubscriptionErrors];
10872
- export type SetStaffTrackerSubscriptionResponses = {
10873
- /**
10874
- * No Content
10875
- */
10876
- 204: void;
10877
- };
10878
- export type SetStaffTrackerSubscriptionResponse = SetStaffTrackerSubscriptionResponses[keyof SetStaffTrackerSubscriptionResponses];
10879
- export type ResolveTrackerAwsDeviceData = {
10880
- body?: never;
10881
- path: {
10882
- id: string;
10883
- };
10884
- query?: never;
10885
- url: "/v1/admin/trackers/{id}/aws-device";
10886
- };
10887
- export type ResolveTrackerAwsDeviceErrors = {
10888
- /**
10889
- * Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
10890
- */
10891
- default: ApiProblem;
10892
- };
10893
- export type ResolveTrackerAwsDeviceError = ResolveTrackerAwsDeviceErrors[keyof ResolveTrackerAwsDeviceErrors];
10894
- export type ResolveTrackerAwsDeviceResponses = {
10895
- /**
10896
- * OK
10897
- */
10898
- 200: AwsDeviceIdentity;
10899
- };
10900
- export type ResolveTrackerAwsDeviceResponse = ResolveTrackerAwsDeviceResponses[keyof ResolveTrackerAwsDeviceResponses];
10901
- export type UploadBatteryFirmwareData = {
10902
- body: Blob | File;
10903
- path: {
10904
- id: string;
10905
- };
10906
- query: {
10907
- operationId: string;
10908
- expectedInventoryId: string;
10909
- moduleId: string;
10910
- version: string;
10911
- expectedBatteryInventoryObservationId: string;
10912
- };
10913
- url: "/v1/admin/aws/devices/{id}/battery-firmware";
10914
- };
10915
- export type UploadBatteryFirmwareErrors = {
10916
- /**
10917
- * Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
10918
- */
10919
- default: ApiProblem;
10920
- };
10921
- export type UploadBatteryFirmwareError = UploadBatteryFirmwareErrors[keyof UploadBatteryFirmwareErrors];
10922
- export type UploadBatteryFirmwareResponses = {
10923
- /**
10924
- * OK
10925
- */
10926
- 200: AwsCommand;
10927
- };
10928
- export type UploadBatteryFirmwareResponse = UploadBatteryFirmwareResponses[keyof UploadBatteryFirmwareResponses];
10929
- export type GetAwsSchemaData = {
10930
- body?: never;
10931
- path: {
10932
- name: string;
10933
- };
10934
- query?: never;
10935
- url: "/v1/admin/aws/schemas/{name}";
10936
- };
10937
- export type GetAwsSchemaErrors = {
10938
- /**
10939
- * Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
10940
- */
10941
- default: ApiProblem;
10942
- };
10943
- export type GetAwsSchemaError = GetAwsSchemaErrors[keyof GetAwsSchemaErrors];
10944
- export type GetAwsSchemaResponses = {
10945
- /**
10946
- * OK
10947
- */
10948
- 200: JsonObject;
10949
- };
10950
- export type GetAwsSchemaResponse = GetAwsSchemaResponses[keyof GetAwsSchemaResponses];
10951
11295
  export type GetAwsCommandCatalogData = {
10952
11296
  body?: never;
10953
11297
  path?: never;