@bikefinder/sdk 0.1.5 → 0.1.6

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.
@@ -8331,11 +8331,11 @@ export type DeviceSettings = {
8331
8331
  */
8332
8332
  bleAdvertisingIntervalUnits?: number;
8333
8333
  /**
8334
- * Firmware mode ID
8334
+ * Tracking mode
8335
8335
  *
8336
- * Stable integer firmware mode ID: 0, 1 or 2. Each mode’s stages are defined in firmware. Public mode names are mapped to these IDs by the assigned tracking mode catalog.
8336
+ * Underlying firmware behavior. Offered tracking modes are cloud-configurable profiles.
8337
8337
  */
8338
- mode?: number;
8338
+ mode?: string;
8339
8339
  /**
8340
8340
  * Powered report interval
8341
8341
  *
@@ -8343,41 +8343,41 @@ export type DeviceSettings = {
8343
8343
  */
8344
8344
  poweredReportIntervalSeconds?: number;
8345
8345
  /**
8346
- * Mode 0 idle duration
8346
+ * Standard idle duration
8347
8347
  *
8348
- * Maximum battery idle duration after a mode 0 cycle, measured from the end of work.
8348
+ * Maximum battery idle duration after a standard cycle.
8349
8349
  */
8350
- mode0IdleSeconds?: number;
8350
+ standardIdleSeconds?: number;
8351
8351
  /**
8352
- * Mode 1 idle duration
8352
+ * Security idle duration
8353
8353
  *
8354
- * Maximum battery idle duration after a mode 1 cycle, measured from the end of work.
8354
+ * Maximum battery idle duration after a security cycle.
8355
8355
  */
8356
- mode1IdleSeconds?: number;
8356
+ securityIdleSeconds?: number;
8357
8357
  /**
8358
- * Mode 2 idle duration
8358
+ * Tracking idle duration
8359
8359
  *
8360
- * Maximum battery idle duration after a mode 2 cycle, measured from the end of work.
8360
+ * Maximum battery idle duration after a tracking cycle.
8361
8361
  */
8362
- mode2IdleSeconds?: number;
8362
+ trackingIdleSeconds?: number;
8363
8363
  /**
8364
- * Mode 0 minimum rest
8364
+ * Standard movement rest
8365
8365
  *
8366
- * Duration after a mode 0 cycle with the accelerometer and its wake interrupt disabled. Firmware re-enables motion detection when this period ends.
8366
+ * Minimum rest before movement starts another standard cycle.
8367
8367
  */
8368
- mode0MinimumRestSeconds?: number;
8368
+ standardMinimumRestSeconds?: number;
8369
8369
  /**
8370
- * Mode 1 minimum rest
8370
+ * Security movement rest
8371
8371
  *
8372
- * Duration after a mode 1 cycle with the accelerometer and its wake interrupt disabled. Firmware re-enables motion detection when this period ends.
8372
+ * Minimum rest before movement starts another security cycle.
8373
8373
  */
8374
- mode1MinimumRestSeconds?: number;
8374
+ securityMinimumRestSeconds?: number;
8375
8375
  /**
8376
- * Mode 2 minimum rest
8376
+ * Tracking movement rest
8377
8377
  *
8378
- * Duration after a mode 2 cycle with the accelerometer and its wake interrupt disabled. Firmware re-enables motion detection when this period ends.
8378
+ * Minimum rest before movement starts another tracking cycle.
8379
8379
  */
8380
- mode2MinimumRestSeconds?: number;
8380
+ trackingMinimumRestSeconds?: number;
8381
8381
  /**
8382
8382
  * PSM residence
8383
8383
  *
@@ -8585,7 +8585,7 @@ export type DeviceWorkCompletedValue = {
8585
8585
  activityEntries: DeviceObservationValuesActivityEntries;
8586
8586
  recoveries: DeviceObservationValuesRecoveryCounts;
8587
8587
  saturated: boolean;
8588
- mode: number;
8588
+ mode: string;
8589
8589
  [key: string]: unknown;
8590
8590
  };
8591
8591
  /**
@@ -8595,8 +8595,11 @@ export type DeviceWorkCompletedValue = {
8595
8595
  */
8596
8596
  export type DeviceWorkflowExecutionValue = {
8597
8597
  workflowVersion: number;
8598
- mode: number;
8599
- state: "idle" | "battery" | "connect" | "cell" | "wifi" | "publish" | "listen" | "gps" | "gpsPublish" | "rest";
8598
+ mode: string;
8599
+ /**
8600
+ * Workflow diagnostic state, including idle and rest. New states may be added; callers must handle unfamiliar values.
8601
+ */
8602
+ state: string;
8600
8603
  owner: "workflow" | "command" | "update" | "recovery" | "shutdown" | "fault" | "settings" | "charging" | "ble" | "network";
8601
8604
  phase: "entered" | "completed" | "cancelled" | "ownerChanged" | "snapshot";
8602
8605
  outcome: "done" | "unavailable" | "failed" | "timeout" | "cancelled" | null;
@@ -9722,11 +9725,11 @@ export type ReadDeviceSettings = {
9722
9725
  */
9723
9726
  bleAdvertisingIntervalUnits?: number;
9724
9727
  /**
9725
- * Firmware mode ID
9728
+ * Tracking mode
9726
9729
  *
9727
- * Stable integer firmware mode ID: 0, 1 or 2. Each mode’s stages are defined in firmware. Public mode names are mapped to these IDs by the assigned tracking mode catalog.
9730
+ * Underlying firmware behavior. Offered tracking modes are cloud-configurable profiles.
9728
9731
  */
9729
- mode?: number;
9732
+ mode?: string;
9730
9733
  /**
9731
9734
  * Powered report interval
9732
9735
  *
@@ -9734,41 +9737,41 @@ export type ReadDeviceSettings = {
9734
9737
  */
9735
9738
  poweredReportIntervalSeconds?: number;
9736
9739
  /**
9737
- * Mode 0 idle duration
9740
+ * Standard idle duration
9738
9741
  *
9739
- * Maximum battery idle duration after a mode 0 cycle, measured from the end of work.
9742
+ * Maximum battery idle duration after a standard cycle.
9740
9743
  */
9741
- mode0IdleSeconds?: number;
9744
+ standardIdleSeconds?: number;
9742
9745
  /**
9743
- * Mode 1 idle duration
9746
+ * Security idle duration
9744
9747
  *
9745
- * Maximum battery idle duration after a mode 1 cycle, measured from the end of work.
9748
+ * Maximum battery idle duration after a security cycle.
9746
9749
  */
9747
- mode1IdleSeconds?: number;
9750
+ securityIdleSeconds?: number;
9748
9751
  /**
9749
- * Mode 2 idle duration
9752
+ * Tracking idle duration
9750
9753
  *
9751
- * Maximum battery idle duration after a mode 2 cycle, measured from the end of work.
9754
+ * Maximum battery idle duration after a tracking cycle.
9752
9755
  */
9753
- mode2IdleSeconds?: number;
9756
+ trackingIdleSeconds?: number;
9754
9757
  /**
9755
- * Mode 0 minimum rest
9758
+ * Standard movement rest
9756
9759
  *
9757
- * Duration after a mode 0 cycle with the accelerometer and its wake interrupt disabled. Firmware re-enables motion detection when this period ends.
9760
+ * Minimum rest before movement starts another standard cycle.
9758
9761
  */
9759
- mode0MinimumRestSeconds?: number;
9762
+ standardMinimumRestSeconds?: number;
9760
9763
  /**
9761
- * Mode 1 minimum rest
9764
+ * Security movement rest
9762
9765
  *
9763
- * Duration after a mode 1 cycle with the accelerometer and its wake interrupt disabled. Firmware re-enables motion detection when this period ends.
9766
+ * Minimum rest before movement starts another security cycle.
9764
9767
  */
9765
- mode1MinimumRestSeconds?: number;
9768
+ securityMinimumRestSeconds?: number;
9766
9769
  /**
9767
- * Mode 2 minimum rest
9770
+ * Tracking movement rest
9768
9771
  *
9769
- * Duration after a mode 2 cycle with the accelerometer and its wake interrupt disabled. Firmware re-enables motion detection when this period ends.
9772
+ * Minimum rest before movement starts another tracking cycle.
9770
9773
  */
9771
- mode2MinimumRestSeconds?: number;
9774
+ trackingMinimumRestSeconds?: number;
9772
9775
  /**
9773
9776
  * PSM residence
9774
9777
  *