@bikefinder/staff-sdk 0.13.0 → 0.13.2

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.js CHANGED
@@ -145,7 +145,7 @@ import {
145
145
  trackerLatestReport,
146
146
  trackerStatistics,
147
147
  zDeviceSettings
148
- } from "./chunk-WQGCHZBN.js";
148
+ } from "./chunk-KCGGPV4C.js";
149
149
 
150
150
  // ../../src/client/client.ts
151
151
  import { createORPCClient, DynamicLink } from "@orpc/client";
@@ -3530,7 +3530,7 @@ var observationValueSchema = {
3530
3530
  ],
3531
3531
  "additionalProperties": false,
3532
3532
  "title": "Charging changed",
3533
- "description": "One charging transition advances a state view. No second automatic status record is needed for that edge.",
3533
+ "description": "Legacy charging transition retained for older firmware and stored history. New firmware reports battery.charging.status through diagnostics instead.",
3534
3534
  "x-bf": {
3535
3535
  "definitionId": 25,
3536
3536
  "role": "event",
@@ -3539,7 +3539,7 @@ var observationValueSchema = {
3539
3539
  "requestScoped": false,
3540
3540
  "presentation": {
3541
3541
  "displayName": "Charging changed",
3542
- "description": "One charging transition advances a state view. No second automatic status record is needed for that edge.",
3542
+ "description": "Legacy charging transition retained for older firmware and stored history. New firmware reports battery.charging.status through diagnostics instead.",
3543
3543
  "hiddenByDefault": true,
3544
3544
  "formatter": "transition"
3545
3545
  }
@@ -5446,7 +5446,7 @@ var observationValueSchema = {
5446
5446
  ],
5447
5447
  "additionalProperties": false,
5448
5448
  "title": "Power external power changed",
5449
- "description": "External input can change independently of charging; a tracker becoming full does not imply unplugging.",
5449
+ "description": "Legacy external-power transition retained for older firmware and stored history. New firmware reports battery.externalPower at boot and on confirmed state changes instead.",
5450
5450
  "x-bf": {
5451
5451
  "definitionId": 136,
5452
5452
  "role": "event",
@@ -5455,7 +5455,7 @@ var observationValueSchema = {
5455
5455
  "requestScoped": false,
5456
5456
  "presentation": {
5457
5457
  "displayName": "Power external power changed",
5458
- "description": "External input can change independently of charging; a tracker becoming full does not imply unplugging.",
5458
+ "description": "Legacy external-power transition retained for older firmware and stored history. New firmware reports battery.externalPower at boot and on confirmed state changes instead.",
5459
5459
  "hiddenByDefault": true,
5460
5460
  "formatter": "transition"
5461
5461
  }
@@ -7557,6 +7557,165 @@ var observationValueSchema = {
7557
7557
  "hiddenByDefault": false
7558
7558
  }
7559
7559
  }
7560
+ },
7561
+ "movement.accelerationChanged": {
7562
+ "type": "object",
7563
+ "properties": {
7564
+ "xMg": {
7565
+ "type": "integer",
7566
+ "minimum": -4e3,
7567
+ "maximum": 4e3
7568
+ },
7569
+ "yMg": {
7570
+ "type": "integer",
7571
+ "minimum": -4e3,
7572
+ "maximum": 4e3
7573
+ },
7574
+ "zMg": {
7575
+ "type": "integer",
7576
+ "minimum": -4e3,
7577
+ "maximum": 4e3
7578
+ },
7579
+ "changedAxes": {
7580
+ "type": "integer",
7581
+ "minimum": 1,
7582
+ "maximum": 7
7583
+ }
7584
+ },
7585
+ "required": [
7586
+ "xMg",
7587
+ "yMg",
7588
+ "zMg",
7589
+ "changedAxes"
7590
+ ],
7591
+ "additionalProperties": false,
7592
+ "title": "Acceleration changed",
7593
+ "description": "Three-axis acceleration at the sample time. Bits 0, 1 and 2 identify the X, Y and Z axes that crossed the configured threshold.",
7594
+ "x-bf": {
7595
+ "definitionId": 185,
7596
+ "role": "event",
7597
+ "subject": "device",
7598
+ "producer": "device",
7599
+ "requestScoped": false,
7600
+ "presentation": {
7601
+ "displayName": "Acceleration changed",
7602
+ "description": "Three-axis acceleration at the sample time. Bits 0, 1 and 2 identify the X, Y and Z axes that crossed the configured threshold.",
7603
+ "hiddenByDefault": false,
7604
+ "formatter": "fields",
7605
+ "fields": [
7606
+ {
7607
+ "path": "xMg",
7608
+ "unit": "mg"
7609
+ },
7610
+ {
7611
+ "path": "yMg",
7612
+ "unit": "mg"
7613
+ },
7614
+ {
7615
+ "path": "zMg",
7616
+ "unit": "mg"
7617
+ },
7618
+ {
7619
+ "path": "changedAxes"
7620
+ }
7621
+ ]
7622
+ }
7623
+ }
7624
+ },
7625
+ "battery.module.snapshot": {
7626
+ "type": "object",
7627
+ "properties": {
7628
+ "level": {
7629
+ "type": "integer",
7630
+ "minimum": 0,
7631
+ "maximum": 100
7632
+ },
7633
+ "voltageMv": {
7634
+ "type": "integer",
7635
+ "minimum": 0,
7636
+ "maximum": 65535
7637
+ },
7638
+ "currentMa": {
7639
+ "type": "number",
7640
+ "minimum": -3276.8,
7641
+ "maximum": 3276.7
7642
+ },
7643
+ "gaugeTemperatureC": {
7644
+ "type": "integer",
7645
+ "minimum": -128,
7646
+ "maximum": 127
7647
+ },
7648
+ "chargerState": {
7649
+ "type": "string",
7650
+ "enum": [
7651
+ "ready",
7652
+ "charging",
7653
+ "full",
7654
+ "fault"
7655
+ ]
7656
+ },
7657
+ "chargerFault": {
7658
+ "type": "integer",
7659
+ "minimum": 0,
7660
+ "maximum": 7
7661
+ }
7662
+ },
7663
+ "required": [
7664
+ "level",
7665
+ "voltageMv",
7666
+ "currentMa",
7667
+ "gaugeTemperatureC",
7668
+ "chargerState",
7669
+ "chargerFault"
7670
+ ],
7671
+ "additionalProperties": false,
7672
+ "title": "Battery module snapshot",
7673
+ "description": "Level, voltage, signed current, gauge temperature and charger state/fault from one complete validated module sample. MeasuredAt is the original sample time; gauge temperature is not necessarily cell temperature. The module identity is the observation subject. Raw thermistor ADC, guard internals, settings and registers remain separate diagnostics.",
7674
+ "x-bf": {
7675
+ "definitionId": 186,
7676
+ "role": "measurement",
7677
+ "subject": "batteryModule",
7678
+ "producer": "device",
7679
+ "requestScoped": false,
7680
+ "presentation": {
7681
+ "displayName": "Battery module snapshot",
7682
+ "description": "Level, voltage, signed current, gauge temperature and charger state/fault from one complete validated module sample. MeasuredAt is the original sample time; gauge temperature is not necessarily cell temperature. The module identity is the observation subject. Raw thermistor ADC, guard internals, settings and registers remain separate diagnostics.",
7683
+ "hiddenByDefault": false,
7684
+ "formatter": "fields",
7685
+ "fields": [
7686
+ {
7687
+ "path": "level",
7688
+ "label": "Level",
7689
+ "unit": "%"
7690
+ },
7691
+ {
7692
+ "path": "voltageMv",
7693
+ "label": "Voltage",
7694
+ "unit": "mV"
7695
+ },
7696
+ {
7697
+ "path": "currentMa",
7698
+ "label": "Current",
7699
+ "unit": "mA",
7700
+ "precision": 1
7701
+ },
7702
+ {
7703
+ "path": "gaugeTemperatureC",
7704
+ "label": "Gauge temperature",
7705
+ "unit": "\xB0C"
7706
+ },
7707
+ {
7708
+ "path": "chargerState",
7709
+ "label": "Charger",
7710
+ "format": "label"
7711
+ },
7712
+ {
7713
+ "path": "chargerFault",
7714
+ "label": "Fault"
7715
+ }
7716
+ ]
7717
+ }
7718
+ }
7560
7719
  }
7561
7720
  }
7562
7721
  };
@@ -7609,7 +7768,7 @@ var settingsValueSchema = {
7609
7768
  "minimum": 1,
7610
7769
  "maximum": 255,
7611
7770
  "title": "Movement detection count",
7612
- "description": "Number of qualifying movement detections required by the configured policy."
7771
+ "description": "Consecutive wake-engine periods above the differential threshold. One period allows a brief tap to wake the tracker."
7613
7772
  },
7614
7773
  "chargingInputCurrentLimit": {
7615
7774
  "type": "integer",
@@ -7969,12 +8128,29 @@ var settingsValueSchema = {
7969
8128
  "maximum": 86400,
7970
8129
  "title": "Report interval on battery",
7971
8130
  "description": "Interval between periodic status reports while battery power is confirmed. Zero disables periodic reports on battery (the default). Does not control report contents, positioning requests, event reports or local battery safety checks."
8131
+ },
8132
+ "accelerationSamplingEnabled": {
8133
+ "type": "boolean",
8134
+ "title": "Acceleration sampling",
8135
+ "description": "Read the three acceleration axes every 100 ms while sensor service is active. Enable only on trackers qualified for the extra current."
8136
+ },
8137
+ "accelerationChangePercent": {
8138
+ "type": "integer",
8139
+ "minimum": 1,
8140
+ "maximum": 100,
8141
+ "title": "Acceleration change threshold",
8142
+ "description": "Record a change when an axis changes by more than this percentage of its last recorded magnitude, with a 125 mg minimum denominator."
8143
+ },
8144
+ "automaticBatteryModuleSnapshotsEnabled": {
8145
+ "type": "boolean",
8146
+ "title": "Routine battery module snapshots",
8147
+ "description": "Include battery.module.snapshot in routine status, charging and keepalive reports. Disabling removes queued routine snapshot permissions only; explicit requests, diagnostics, battery sampling and charging safety remain available."
7972
8148
  }
7973
8149
  },
7974
8150
  "x-bf": {
7975
8151
  "domain": "settings",
7976
8152
  "version": 1,
7977
- "settingsSchemaVersion": 38
8153
+ "settingsSchemaVersion": 40
7978
8154
  }
7979
8155
  };
7980
8156
  var observationDefinitions = [
@@ -8429,7 +8605,7 @@ var observationDefinitions = [
8429
8605
  "requestScoped": false,
8430
8606
  "presentation": {
8431
8607
  "displayName": "Charging changed",
8432
- "description": "One charging transition advances a state view. No second automatic status record is needed for that edge.",
8608
+ "description": "Legacy charging transition retained for older firmware and stored history. New firmware reports battery.charging.status through diagnostics instead.",
8433
8609
  "hiddenByDefault": true,
8434
8610
  "formatter": "transition"
8435
8611
  }
@@ -9321,7 +9497,7 @@ var observationDefinitions = [
9321
9497
  "requestScoped": false,
9322
9498
  "presentation": {
9323
9499
  "displayName": "Power external power changed",
9324
- "description": "External input can change independently of charging; a tracker becoming full does not imply unplugging.",
9500
+ "description": "Legacy external-power transition retained for older firmware and stored history. New firmware reports battery.externalPower at boot and on confirmed state changes instead.",
9325
9501
  "hiddenByDefault": true,
9326
9502
  "formatter": "transition"
9327
9503
  }
@@ -10113,6 +10289,83 @@ var observationDefinitions = [
10113
10289
  "description": "Full nRF9160 factory DEVICEID, encoded losslessly as 13 uppercase Crockford Base32 characters. The input bytes are the little-endian DEVICEID[0] word followed by little-endian DEVICEID[1], matching the physical flasher hardware ID. Captured once at startup; distinct from the assigned product serial.",
10114
10290
  "hiddenByDefault": false
10115
10291
  }
10292
+ },
10293
+ {
10294
+ "id": 185,
10295
+ "name": "movement.accelerationChanged",
10296
+ "role": "event",
10297
+ "subject": "device",
10298
+ "producer": "device",
10299
+ "requestScoped": false,
10300
+ "presentation": {
10301
+ "displayName": "Acceleration changed",
10302
+ "description": "Three-axis acceleration at the sample time. Bits 0, 1 and 2 identify the X, Y and Z axes that crossed the configured threshold.",
10303
+ "hiddenByDefault": false,
10304
+ "formatter": "fields",
10305
+ "fields": [
10306
+ {
10307
+ "path": "xMg",
10308
+ "unit": "mg"
10309
+ },
10310
+ {
10311
+ "path": "yMg",
10312
+ "unit": "mg"
10313
+ },
10314
+ {
10315
+ "path": "zMg",
10316
+ "unit": "mg"
10317
+ },
10318
+ {
10319
+ "path": "changedAxes"
10320
+ }
10321
+ ]
10322
+ }
10323
+ },
10324
+ {
10325
+ "id": 186,
10326
+ "name": "battery.module.snapshot",
10327
+ "role": "measurement",
10328
+ "subject": "batteryModule",
10329
+ "producer": "device",
10330
+ "requestScoped": false,
10331
+ "presentation": {
10332
+ "displayName": "Battery module snapshot",
10333
+ "description": "Level, voltage, signed current, gauge temperature and charger state/fault from one complete validated module sample. MeasuredAt is the original sample time; gauge temperature is not necessarily cell temperature. The module identity is the observation subject. Raw thermistor ADC, guard internals, settings and registers remain separate diagnostics.",
10334
+ "hiddenByDefault": false,
10335
+ "formatter": "fields",
10336
+ "fields": [
10337
+ {
10338
+ "path": "level",
10339
+ "label": "Level",
10340
+ "unit": "%"
10341
+ },
10342
+ {
10343
+ "path": "voltageMv",
10344
+ "label": "Voltage",
10345
+ "unit": "mV"
10346
+ },
10347
+ {
10348
+ "path": "currentMa",
10349
+ "label": "Current",
10350
+ "unit": "mA",
10351
+ "precision": 1
10352
+ },
10353
+ {
10354
+ "path": "gaugeTemperatureC",
10355
+ "label": "Gauge temperature",
10356
+ "unit": "\xB0C"
10357
+ },
10358
+ {
10359
+ "path": "chargerState",
10360
+ "label": "Charger",
10361
+ "format": "label"
10362
+ },
10363
+ {
10364
+ "path": "chargerFault",
10365
+ "label": "Fault"
10366
+ }
10367
+ ]
10368
+ }
10116
10369
  }
10117
10370
  ];
10118
10371
 
package/dist/schemas.d.ts CHANGED
@@ -8892,6 +8892,36 @@ export type Observation = {
8892
8892
  type: "device.hardwareId";
8893
8893
  subject: null;
8894
8894
  value: string;
8895
+ } | {
8896
+ id: ObservationId;
8897
+ serialNumber: string;
8898
+ measuredAt: string;
8899
+ receivedAt: string;
8900
+ requestId: number | null;
8901
+ type: "movement.accelerationChanged";
8902
+ subject: null;
8903
+ value: {
8904
+ xMg: number;
8905
+ yMg: number;
8906
+ zMg: number;
8907
+ changedAxes: number;
8908
+ };
8909
+ } | {
8910
+ id: ObservationId;
8911
+ serialNumber: string;
8912
+ measuredAt: string;
8913
+ receivedAt: string;
8914
+ requestId: number | null;
8915
+ type: "battery.module.snapshot";
8916
+ subject: ModuleSubject;
8917
+ value: {
8918
+ level: number;
8919
+ voltageMv: number;
8920
+ currentMa: number;
8921
+ gaugeTemperatureC: number;
8922
+ chargerState: "ready" | "charging" | "full" | "fault";
8923
+ chargerFault: number;
8924
+ };
8895
8925
  };
8896
8926
  export type ObservationSeries = {
8897
8927
  type: "agnss.completed";
@@ -9178,6 +9208,12 @@ export type ObservationSeries = {
9178
9208
  } | {
9179
9209
  type: "device.hardwareId";
9180
9210
  subject: null;
9211
+ } | {
9212
+ type: "movement.accelerationChanged";
9213
+ subject: null;
9214
+ } | {
9215
+ type: "battery.module.snapshot";
9216
+ subject: ModuleSubject;
9181
9217
  };
9182
9218
  export declare const observationSeries: z$1.ZodCustom<ObservationSeries, ObservationSeries>;
9183
9219
  declare const observationResponse: z$1.ZodType<Observation>;
@@ -18471,6 +18507,9 @@ declare const awsContract: {
18471
18507
  wifiScanType?: "active" | "passive" | undefined;
18472
18508
  chargingStatusMaxAgeSeconds?: number | undefined;
18473
18509
  reportIntervalOnBatterySeconds?: number | undefined;
18510
+ accelerationSamplingEnabled?: boolean | undefined;
18511
+ accelerationChangePercent?: number | undefined;
18512
+ automaticBatteryModuleSnapshotsEnabled?: boolean | undefined;
18474
18513
  };
18475
18514
  reported: {
18476
18515
  batteryIntervalSeconds?: number | undefined;
@@ -18529,6 +18568,9 @@ declare const awsContract: {
18529
18568
  wifiScanType?: "active" | "passive" | undefined;
18530
18569
  chargingStatusMaxAgeSeconds?: number | undefined;
18531
18570
  reportIntervalOnBatterySeconds?: number | undefined;
18571
+ accelerationSamplingEnabled?: boolean | undefined;
18572
+ accelerationChangePercent?: number | undefined;
18573
+ automaticBatteryModuleSnapshotsEnabled?: boolean | undefined;
18532
18574
  };
18533
18575
  application: {
18534
18576
  settings: {
@@ -18620,6 +18662,9 @@ declare const awsContract: {
18620
18662
  wifiScanType?: "active" | "passive" | undefined;
18621
18663
  chargingStatusMaxAgeSeconds?: number | undefined;
18622
18664
  reportIntervalOnBatterySeconds?: number | undefined;
18665
+ accelerationSamplingEnabled?: boolean | undefined;
18666
+ accelerationChangePercent?: number | undefined;
18667
+ automaticBatteryModuleSnapshotsEnabled?: boolean | undefined;
18623
18668
  };
18624
18669
  reported: {
18625
18670
  batteryIntervalSeconds?: number | undefined;
@@ -18678,6 +18723,9 @@ declare const awsContract: {
18678
18723
  wifiScanType?: "active" | "passive" | undefined;
18679
18724
  chargingStatusMaxAgeSeconds?: number | undefined;
18680
18725
  reportIntervalOnBatterySeconds?: number | undefined;
18726
+ accelerationSamplingEnabled?: boolean | undefined;
18727
+ accelerationChangePercent?: number | undefined;
18728
+ automaticBatteryModuleSnapshotsEnabled?: boolean | undefined;
18681
18729
  };
18682
18730
  application: {
18683
18731
  settings: {
@@ -19891,6 +19939,9 @@ declare const awsContract: {
19891
19939
  }>>;
19892
19940
  chargingStatusMaxAgeSeconds: import("zod").ZodOptional<import("zod").ZodInt>;
19893
19941
  reportIntervalOnBatterySeconds: import("zod").ZodOptional<import("zod").ZodInt>;
19942
+ accelerationSamplingEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
19943
+ accelerationChangePercent: import("zod").ZodOptional<import("zod").ZodInt>;
19944
+ automaticBatteryModuleSnapshotsEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
19894
19945
  }, import("zod/v4/core").$strip>;
19895
19946
  reported: import("zod").ZodObject<{
19896
19947
  batteryIntervalSeconds: import("zod").ZodOptional<import("zod").ZodInt>;
@@ -19979,6 +20030,9 @@ declare const awsContract: {
19979
20030
  }>>;
19980
20031
  chargingStatusMaxAgeSeconds: import("zod").ZodOptional<import("zod").ZodInt>;
19981
20032
  reportIntervalOnBatterySeconds: import("zod").ZodOptional<import("zod").ZodInt>;
20033
+ accelerationSamplingEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
20034
+ accelerationChangePercent: import("zod").ZodOptional<import("zod").ZodInt>;
20035
+ automaticBatteryModuleSnapshotsEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
19982
20036
  }, import("zod/v4/core").$strip>;
19983
20037
  application: import("zod").ZodObject<{
19984
20038
  settings: import("zod").ZodNullable<import("zod").ZodObject<{
@@ -21201,6 +21255,9 @@ declare const awsContract: {
21201
21255
  }>>;
21202
21256
  chargingStatusMaxAgeSeconds: import("zod").ZodOptional<import("zod").ZodInt>;
21203
21257
  reportIntervalOnBatterySeconds: import("zod").ZodOptional<import("zod").ZodInt>;
21258
+ accelerationSamplingEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
21259
+ accelerationChangePercent: import("zod").ZodOptional<import("zod").ZodInt>;
21260
+ automaticBatteryModuleSnapshotsEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
21204
21261
  }, import("zod/v4/core").$strict>;
21205
21262
  }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
21206
21263
  version: import("zod").ZodInt;
@@ -21292,6 +21349,9 @@ declare const awsContract: {
21292
21349
  }>>;
21293
21350
  chargingStatusMaxAgeSeconds: import("zod").ZodOptional<import("zod").ZodInt>;
21294
21351
  reportIntervalOnBatterySeconds: import("zod").ZodOptional<import("zod").ZodInt>;
21352
+ accelerationSamplingEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
21353
+ accelerationChangePercent: import("zod").ZodOptional<import("zod").ZodInt>;
21354
+ automaticBatteryModuleSnapshotsEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
21295
21355
  }, import("zod/v4/core").$strip>;
21296
21356
  reported: import("zod").ZodObject<{
21297
21357
  batteryIntervalSeconds: import("zod").ZodOptional<import("zod").ZodInt>;
@@ -21380,6 +21440,9 @@ declare const awsContract: {
21380
21440
  }>>;
21381
21441
  chargingStatusMaxAgeSeconds: import("zod").ZodOptional<import("zod").ZodInt>;
21382
21442
  reportIntervalOnBatterySeconds: import("zod").ZodOptional<import("zod").ZodInt>;
21443
+ accelerationSamplingEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
21444
+ accelerationChangePercent: import("zod").ZodOptional<import("zod").ZodInt>;
21445
+ automaticBatteryModuleSnapshotsEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
21383
21446
  }, import("zod/v4/core").$strip>;
21384
21447
  application: import("zod").ZodObject<{
21385
21448
  settings: import("zod").ZodNullable<import("zod").ZodObject<{
@@ -25323,6 +25386,8 @@ declare const awsContract: {
25323
25386
  "outbox.status": "outbox.status";
25324
25387
  "power.statistics": "power.statistics";
25325
25388
  "device.hardwareId": "device.hardwareId";
25389
+ "movement.accelerationChanged": "movement.accelerationChanged";
25390
+ "battery.module.snapshot": "battery.module.snapshot";
25326
25391
  }>;
25327
25392
  subject: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>;
25328
25393
  }, import("zod/v4/core").$strict>>>;
@@ -85218,6 +85283,8 @@ export declare const observationHistoryInput: z$1.ZodObject<{
85218
85283
  "outbox.status": "outbox.status";
85219
85284
  "power.statistics": "power.statistics";
85220
85285
  "device.hardwareId": "device.hardwareId";
85286
+ "movement.accelerationChanged": "movement.accelerationChanged";
85287
+ "battery.module.snapshot": "battery.module.snapshot";
85221
85288
  }>;
85222
85289
  subject: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
85223
85290
  }, z$1.core.$strict>>>;
@@ -88049,6 +88116,8 @@ export declare const staffObservationContract: {
88049
88116
  "outbox.status": "outbox.status";
88050
88117
  "power.statistics": "power.statistics";
88051
88118
  "device.hardwareId": "device.hardwareId";
88119
+ "movement.accelerationChanged": "movement.accelerationChanged";
88120
+ "battery.module.snapshot": "battery.module.snapshot";
88052
88121
  }>;
88053
88122
  subject: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
88054
88123
  }, z$1.core.$strict>>>;
@@ -89971,6 +90040,9 @@ export declare const settingsSnapshot: z$1.ZodObject<{
89971
90040
  }>>;
89972
90041
  chargingStatusMaxAgeSeconds: z$1.ZodOptional<z$1.ZodInt>;
89973
90042
  reportIntervalOnBatterySeconds: z$1.ZodOptional<z$1.ZodInt>;
90043
+ accelerationSamplingEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
90044
+ accelerationChangePercent: z$1.ZodOptional<z$1.ZodInt>;
90045
+ automaticBatteryModuleSnapshotsEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
89974
90046
  }, z$1.core.$strip>;
89975
90047
  reported: z$1.ZodObject<{
89976
90048
  batteryIntervalSeconds: z$1.ZodOptional<z$1.ZodInt>;
@@ -90059,6 +90131,9 @@ export declare const settingsSnapshot: z$1.ZodObject<{
90059
90131
  }>>;
90060
90132
  chargingStatusMaxAgeSeconds: z$1.ZodOptional<z$1.ZodInt>;
90061
90133
  reportIntervalOnBatterySeconds: z$1.ZodOptional<z$1.ZodInt>;
90134
+ accelerationSamplingEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
90135
+ accelerationChangePercent: z$1.ZodOptional<z$1.ZodInt>;
90136
+ automaticBatteryModuleSnapshotsEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
90062
90137
  }, z$1.core.$strip>;
90063
90138
  application: z$1.ZodObject<{
90064
90139
  settings: z$1.ZodNullable<z$1.ZodObject<{
@@ -90195,6 +90270,9 @@ export declare const settingsUpdateInput: z$1.ZodObject<{
90195
90270
  }>>;
90196
90271
  chargingStatusMaxAgeSeconds: z$1.ZodOptional<z$1.ZodInt>;
90197
90272
  reportIntervalOnBatterySeconds: z$1.ZodOptional<z$1.ZodInt>;
90273
+ accelerationSamplingEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
90274
+ accelerationChangePercent: z$1.ZodOptional<z$1.ZodInt>;
90275
+ automaticBatteryModuleSnapshotsEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
90198
90276
  }, z$1.core.$strict>;
90199
90277
  }, z$1.core.$strict>;
90200
90278
  export declare const settingsErrors: {
@@ -91350,6 +91428,9 @@ export declare const staffSettingsContract: {
91350
91428
  wifiScanType?: "active" | "passive" | undefined;
91351
91429
  chargingStatusMaxAgeSeconds?: number | undefined;
91352
91430
  reportIntervalOnBatterySeconds?: number | undefined;
91431
+ accelerationSamplingEnabled?: boolean | undefined;
91432
+ accelerationChangePercent?: number | undefined;
91433
+ automaticBatteryModuleSnapshotsEnabled?: boolean | undefined;
91353
91434
  };
91354
91435
  reported: {
91355
91436
  batteryIntervalSeconds?: number | undefined;
@@ -91408,6 +91489,9 @@ export declare const staffSettingsContract: {
91408
91489
  wifiScanType?: "active" | "passive" | undefined;
91409
91490
  chargingStatusMaxAgeSeconds?: number | undefined;
91410
91491
  reportIntervalOnBatterySeconds?: number | undefined;
91492
+ accelerationSamplingEnabled?: boolean | undefined;
91493
+ accelerationChangePercent?: number | undefined;
91494
+ automaticBatteryModuleSnapshotsEnabled?: boolean | undefined;
91411
91495
  };
91412
91496
  application: {
91413
91497
  settings: {
@@ -91499,6 +91583,9 @@ export declare const staffSettingsContract: {
91499
91583
  wifiScanType?: "active" | "passive" | undefined;
91500
91584
  chargingStatusMaxAgeSeconds?: number | undefined;
91501
91585
  reportIntervalOnBatterySeconds?: number | undefined;
91586
+ accelerationSamplingEnabled?: boolean | undefined;
91587
+ accelerationChangePercent?: number | undefined;
91588
+ automaticBatteryModuleSnapshotsEnabled?: boolean | undefined;
91502
91589
  };
91503
91590
  reported: {
91504
91591
  batteryIntervalSeconds?: number | undefined;
@@ -91557,6 +91644,9 @@ export declare const staffSettingsContract: {
91557
91644
  wifiScanType?: "active" | "passive" | undefined;
91558
91645
  chargingStatusMaxAgeSeconds?: number | undefined;
91559
91646
  reportIntervalOnBatterySeconds?: number | undefined;
91647
+ accelerationSamplingEnabled?: boolean | undefined;
91648
+ accelerationChangePercent?: number | undefined;
91649
+ automaticBatteryModuleSnapshotsEnabled?: boolean | undefined;
91560
91650
  };
91561
91651
  application: {
91562
91652
  settings: {
@@ -92770,6 +92860,9 @@ export declare const staffSettingsContract: {
92770
92860
  }>>;
92771
92861
  chargingStatusMaxAgeSeconds: z$1.ZodOptional<z$1.ZodInt>;
92772
92862
  reportIntervalOnBatterySeconds: z$1.ZodOptional<z$1.ZodInt>;
92863
+ accelerationSamplingEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
92864
+ accelerationChangePercent: z$1.ZodOptional<z$1.ZodInt>;
92865
+ automaticBatteryModuleSnapshotsEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
92773
92866
  }, z$1.core.$strip>;
92774
92867
  reported: z$1.ZodObject<{
92775
92868
  batteryIntervalSeconds: z$1.ZodOptional<z$1.ZodInt>;
@@ -92858,6 +92951,9 @@ export declare const staffSettingsContract: {
92858
92951
  }>>;
92859
92952
  chargingStatusMaxAgeSeconds: z$1.ZodOptional<z$1.ZodInt>;
92860
92953
  reportIntervalOnBatterySeconds: z$1.ZodOptional<z$1.ZodInt>;
92954
+ accelerationSamplingEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
92955
+ accelerationChangePercent: z$1.ZodOptional<z$1.ZodInt>;
92956
+ automaticBatteryModuleSnapshotsEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
92861
92957
  }, z$1.core.$strip>;
92862
92958
  application: z$1.ZodObject<{
92863
92959
  settings: z$1.ZodNullable<z$1.ZodObject<{
@@ -94080,6 +94176,9 @@ export declare const staffSettingsContract: {
94080
94176
  }>>;
94081
94177
  chargingStatusMaxAgeSeconds: z$1.ZodOptional<z$1.ZodInt>;
94082
94178
  reportIntervalOnBatterySeconds: z$1.ZodOptional<z$1.ZodInt>;
94179
+ accelerationSamplingEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
94180
+ accelerationChangePercent: z$1.ZodOptional<z$1.ZodInt>;
94181
+ automaticBatteryModuleSnapshotsEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
94083
94182
  }, z$1.core.$strict>;
94084
94183
  }, z$1.core.$strict>, z$1.ZodObject<{
94085
94184
  version: z$1.ZodInt;
@@ -94171,6 +94270,9 @@ export declare const staffSettingsContract: {
94171
94270
  }>>;
94172
94271
  chargingStatusMaxAgeSeconds: z$1.ZodOptional<z$1.ZodInt>;
94173
94272
  reportIntervalOnBatterySeconds: z$1.ZodOptional<z$1.ZodInt>;
94273
+ accelerationSamplingEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
94274
+ accelerationChangePercent: z$1.ZodOptional<z$1.ZodInt>;
94275
+ automaticBatteryModuleSnapshotsEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
94174
94276
  }, z$1.core.$strip>;
94175
94277
  reported: z$1.ZodObject<{
94176
94278
  batteryIntervalSeconds: z$1.ZodOptional<z$1.ZodInt>;
@@ -94259,6 +94361,9 @@ export declare const staffSettingsContract: {
94259
94361
  }>>;
94260
94362
  chargingStatusMaxAgeSeconds: z$1.ZodOptional<z$1.ZodInt>;
94261
94363
  reportIntervalOnBatterySeconds: z$1.ZodOptional<z$1.ZodInt>;
94364
+ accelerationSamplingEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
94365
+ accelerationChangePercent: z$1.ZodOptional<z$1.ZodInt>;
94366
+ automaticBatteryModuleSnapshotsEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
94262
94367
  }, z$1.core.$strip>;
94263
94368
  application: z$1.ZodObject<{
94264
94369
  settings: z$1.ZodNullable<z$1.ZodObject<{
@@ -165533,6 +165638,9 @@ declare const zDeviceSettings: z.ZodObject<{
165533
165638
  }>>;
165534
165639
  chargingStatusMaxAgeSeconds: z.ZodOptional<z.ZodInt>;
165535
165640
  reportIntervalOnBatterySeconds: z.ZodOptional<z.ZodInt>;
165641
+ accelerationSamplingEnabled: z.ZodOptional<z.ZodBoolean>;
165642
+ accelerationChangePercent: z.ZodOptional<z.ZodInt>;
165643
+ automaticBatteryModuleSnapshotsEnabled: z.ZodOptional<z.ZodBoolean>;
165536
165644
  }, z.core.$strict>;
165537
165645
 
165538
165646
  export {
package/dist/schemas.js CHANGED
@@ -165,7 +165,7 @@ import {
165
165
  trackerSummary,
166
166
  trackerSummaryFields,
167
167
  zDeviceSettings
168
- } from "./chunk-WQGCHZBN.js";
168
+ } from "./chunk-KCGGPV4C.js";
169
169
  export {
170
170
  acquisitionOptions,
171
171
  articleCandidate,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bikefinder/staff-sdk",
3
- "version": "0.13.0",
3
+ "version": "0.13.2",
4
4
  "description": "Typed HTTP and WebSocket client for BikeFinder.",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {