@bikefinder/staff-sdk 0.13.0 → 0.13.1
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/{chunk-WQGCHZBN.js → chunk-2RDQSYD5.js} +298 -3
- package/dist/index.d.ts +342 -8
- package/dist/index.js +257 -9
- package/dist/schemas.d.ts +86 -0
- package/dist/schemas.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -145,7 +145,7 @@ import {
|
|
|
145
145
|
trackerLatestReport,
|
|
146
146
|
trackerStatistics,
|
|
147
147
|
zDeviceSettings
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-2RDQSYD5.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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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,24 @@ 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."
|
|
7972
8143
|
}
|
|
7973
8144
|
},
|
|
7974
8145
|
"x-bf": {
|
|
7975
8146
|
"domain": "settings",
|
|
7976
8147
|
"version": 1,
|
|
7977
|
-
"settingsSchemaVersion":
|
|
8148
|
+
"settingsSchemaVersion": 39
|
|
7978
8149
|
}
|
|
7979
8150
|
};
|
|
7980
8151
|
var observationDefinitions = [
|
|
@@ -8429,7 +8600,7 @@ var observationDefinitions = [
|
|
|
8429
8600
|
"requestScoped": false,
|
|
8430
8601
|
"presentation": {
|
|
8431
8602
|
"displayName": "Charging changed",
|
|
8432
|
-
"description": "
|
|
8603
|
+
"description": "Legacy charging transition retained for older firmware and stored history. New firmware reports battery.charging.status through diagnostics instead.",
|
|
8433
8604
|
"hiddenByDefault": true,
|
|
8434
8605
|
"formatter": "transition"
|
|
8435
8606
|
}
|
|
@@ -9321,7 +9492,7 @@ var observationDefinitions = [
|
|
|
9321
9492
|
"requestScoped": false,
|
|
9322
9493
|
"presentation": {
|
|
9323
9494
|
"displayName": "Power external power changed",
|
|
9324
|
-
"description": "
|
|
9495
|
+
"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
9496
|
"hiddenByDefault": true,
|
|
9326
9497
|
"formatter": "transition"
|
|
9327
9498
|
}
|
|
@@ -10113,6 +10284,83 @@ var observationDefinitions = [
|
|
|
10113
10284
|
"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
10285
|
"hiddenByDefault": false
|
|
10115
10286
|
}
|
|
10287
|
+
},
|
|
10288
|
+
{
|
|
10289
|
+
"id": 185,
|
|
10290
|
+
"name": "movement.accelerationChanged",
|
|
10291
|
+
"role": "event",
|
|
10292
|
+
"subject": "device",
|
|
10293
|
+
"producer": "device",
|
|
10294
|
+
"requestScoped": false,
|
|
10295
|
+
"presentation": {
|
|
10296
|
+
"displayName": "Acceleration changed",
|
|
10297
|
+
"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.",
|
|
10298
|
+
"hiddenByDefault": false,
|
|
10299
|
+
"formatter": "fields",
|
|
10300
|
+
"fields": [
|
|
10301
|
+
{
|
|
10302
|
+
"path": "xMg",
|
|
10303
|
+
"unit": "mg"
|
|
10304
|
+
},
|
|
10305
|
+
{
|
|
10306
|
+
"path": "yMg",
|
|
10307
|
+
"unit": "mg"
|
|
10308
|
+
},
|
|
10309
|
+
{
|
|
10310
|
+
"path": "zMg",
|
|
10311
|
+
"unit": "mg"
|
|
10312
|
+
},
|
|
10313
|
+
{
|
|
10314
|
+
"path": "changedAxes"
|
|
10315
|
+
}
|
|
10316
|
+
]
|
|
10317
|
+
}
|
|
10318
|
+
},
|
|
10319
|
+
{
|
|
10320
|
+
"id": 186,
|
|
10321
|
+
"name": "battery.module.snapshot",
|
|
10322
|
+
"role": "measurement",
|
|
10323
|
+
"subject": "batteryModule",
|
|
10324
|
+
"producer": "device",
|
|
10325
|
+
"requestScoped": false,
|
|
10326
|
+
"presentation": {
|
|
10327
|
+
"displayName": "Battery module snapshot",
|
|
10328
|
+
"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.",
|
|
10329
|
+
"hiddenByDefault": false,
|
|
10330
|
+
"formatter": "fields",
|
|
10331
|
+
"fields": [
|
|
10332
|
+
{
|
|
10333
|
+
"path": "level",
|
|
10334
|
+
"label": "Level",
|
|
10335
|
+
"unit": "%"
|
|
10336
|
+
},
|
|
10337
|
+
{
|
|
10338
|
+
"path": "voltageMv",
|
|
10339
|
+
"label": "Voltage",
|
|
10340
|
+
"unit": "mV"
|
|
10341
|
+
},
|
|
10342
|
+
{
|
|
10343
|
+
"path": "currentMa",
|
|
10344
|
+
"label": "Current",
|
|
10345
|
+
"unit": "mA",
|
|
10346
|
+
"precision": 1
|
|
10347
|
+
},
|
|
10348
|
+
{
|
|
10349
|
+
"path": "gaugeTemperatureC",
|
|
10350
|
+
"label": "Gauge temperature",
|
|
10351
|
+
"unit": "\xB0C"
|
|
10352
|
+
},
|
|
10353
|
+
{
|
|
10354
|
+
"path": "chargerState",
|
|
10355
|
+
"label": "Charger",
|
|
10356
|
+
"format": "label"
|
|
10357
|
+
},
|
|
10358
|
+
{
|
|
10359
|
+
"path": "chargerFault",
|
|
10360
|
+
"label": "Fault"
|
|
10361
|
+
}
|
|
10362
|
+
]
|
|
10363
|
+
}
|
|
10116
10364
|
}
|
|
10117
10365
|
];
|
|
10118
10366
|
|
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,8 @@ 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;
|
|
18474
18512
|
};
|
|
18475
18513
|
reported: {
|
|
18476
18514
|
batteryIntervalSeconds?: number | undefined;
|
|
@@ -18529,6 +18567,8 @@ declare const awsContract: {
|
|
|
18529
18567
|
wifiScanType?: "active" | "passive" | undefined;
|
|
18530
18568
|
chargingStatusMaxAgeSeconds?: number | undefined;
|
|
18531
18569
|
reportIntervalOnBatterySeconds?: number | undefined;
|
|
18570
|
+
accelerationSamplingEnabled?: boolean | undefined;
|
|
18571
|
+
accelerationChangePercent?: number | undefined;
|
|
18532
18572
|
};
|
|
18533
18573
|
application: {
|
|
18534
18574
|
settings: {
|
|
@@ -18620,6 +18660,8 @@ declare const awsContract: {
|
|
|
18620
18660
|
wifiScanType?: "active" | "passive" | undefined;
|
|
18621
18661
|
chargingStatusMaxAgeSeconds?: number | undefined;
|
|
18622
18662
|
reportIntervalOnBatterySeconds?: number | undefined;
|
|
18663
|
+
accelerationSamplingEnabled?: boolean | undefined;
|
|
18664
|
+
accelerationChangePercent?: number | undefined;
|
|
18623
18665
|
};
|
|
18624
18666
|
reported: {
|
|
18625
18667
|
batteryIntervalSeconds?: number | undefined;
|
|
@@ -18678,6 +18720,8 @@ declare const awsContract: {
|
|
|
18678
18720
|
wifiScanType?: "active" | "passive" | undefined;
|
|
18679
18721
|
chargingStatusMaxAgeSeconds?: number | undefined;
|
|
18680
18722
|
reportIntervalOnBatterySeconds?: number | undefined;
|
|
18723
|
+
accelerationSamplingEnabled?: boolean | undefined;
|
|
18724
|
+
accelerationChangePercent?: number | undefined;
|
|
18681
18725
|
};
|
|
18682
18726
|
application: {
|
|
18683
18727
|
settings: {
|
|
@@ -19891,6 +19935,8 @@ declare const awsContract: {
|
|
|
19891
19935
|
}>>;
|
|
19892
19936
|
chargingStatusMaxAgeSeconds: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
19893
19937
|
reportIntervalOnBatterySeconds: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
19938
|
+
accelerationSamplingEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
19939
|
+
accelerationChangePercent: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
19894
19940
|
}, import("zod/v4/core").$strip>;
|
|
19895
19941
|
reported: import("zod").ZodObject<{
|
|
19896
19942
|
batteryIntervalSeconds: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
@@ -19979,6 +20025,8 @@ declare const awsContract: {
|
|
|
19979
20025
|
}>>;
|
|
19980
20026
|
chargingStatusMaxAgeSeconds: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
19981
20027
|
reportIntervalOnBatterySeconds: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
20028
|
+
accelerationSamplingEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
20029
|
+
accelerationChangePercent: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
19982
20030
|
}, import("zod/v4/core").$strip>;
|
|
19983
20031
|
application: import("zod").ZodObject<{
|
|
19984
20032
|
settings: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
@@ -21201,6 +21249,8 @@ declare const awsContract: {
|
|
|
21201
21249
|
}>>;
|
|
21202
21250
|
chargingStatusMaxAgeSeconds: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
21203
21251
|
reportIntervalOnBatterySeconds: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
21252
|
+
accelerationSamplingEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
21253
|
+
accelerationChangePercent: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
21204
21254
|
}, import("zod/v4/core").$strict>;
|
|
21205
21255
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
21206
21256
|
version: import("zod").ZodInt;
|
|
@@ -21292,6 +21342,8 @@ declare const awsContract: {
|
|
|
21292
21342
|
}>>;
|
|
21293
21343
|
chargingStatusMaxAgeSeconds: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
21294
21344
|
reportIntervalOnBatterySeconds: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
21345
|
+
accelerationSamplingEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
21346
|
+
accelerationChangePercent: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
21295
21347
|
}, import("zod/v4/core").$strip>;
|
|
21296
21348
|
reported: import("zod").ZodObject<{
|
|
21297
21349
|
batteryIntervalSeconds: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
@@ -21380,6 +21432,8 @@ declare const awsContract: {
|
|
|
21380
21432
|
}>>;
|
|
21381
21433
|
chargingStatusMaxAgeSeconds: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
21382
21434
|
reportIntervalOnBatterySeconds: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
21435
|
+
accelerationSamplingEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
21436
|
+
accelerationChangePercent: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
21383
21437
|
}, import("zod/v4/core").$strip>;
|
|
21384
21438
|
application: import("zod").ZodObject<{
|
|
21385
21439
|
settings: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
@@ -25323,6 +25377,8 @@ declare const awsContract: {
|
|
|
25323
25377
|
"outbox.status": "outbox.status";
|
|
25324
25378
|
"power.statistics": "power.statistics";
|
|
25325
25379
|
"device.hardwareId": "device.hardwareId";
|
|
25380
|
+
"movement.accelerationChanged": "movement.accelerationChanged";
|
|
25381
|
+
"battery.module.snapshot": "battery.module.snapshot";
|
|
25326
25382
|
}>;
|
|
25327
25383
|
subject: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
25328
25384
|
}, import("zod/v4/core").$strict>>>;
|
|
@@ -85218,6 +85274,8 @@ export declare const observationHistoryInput: z$1.ZodObject<{
|
|
|
85218
85274
|
"outbox.status": "outbox.status";
|
|
85219
85275
|
"power.statistics": "power.statistics";
|
|
85220
85276
|
"device.hardwareId": "device.hardwareId";
|
|
85277
|
+
"movement.accelerationChanged": "movement.accelerationChanged";
|
|
85278
|
+
"battery.module.snapshot": "battery.module.snapshot";
|
|
85221
85279
|
}>;
|
|
85222
85280
|
subject: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
85223
85281
|
}, z$1.core.$strict>>>;
|
|
@@ -88049,6 +88107,8 @@ export declare const staffObservationContract: {
|
|
|
88049
88107
|
"outbox.status": "outbox.status";
|
|
88050
88108
|
"power.statistics": "power.statistics";
|
|
88051
88109
|
"device.hardwareId": "device.hardwareId";
|
|
88110
|
+
"movement.accelerationChanged": "movement.accelerationChanged";
|
|
88111
|
+
"battery.module.snapshot": "battery.module.snapshot";
|
|
88052
88112
|
}>;
|
|
88053
88113
|
subject: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
88054
88114
|
}, z$1.core.$strict>>>;
|
|
@@ -89971,6 +90031,8 @@ export declare const settingsSnapshot: z$1.ZodObject<{
|
|
|
89971
90031
|
}>>;
|
|
89972
90032
|
chargingStatusMaxAgeSeconds: z$1.ZodOptional<z$1.ZodInt>;
|
|
89973
90033
|
reportIntervalOnBatterySeconds: z$1.ZodOptional<z$1.ZodInt>;
|
|
90034
|
+
accelerationSamplingEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
90035
|
+
accelerationChangePercent: z$1.ZodOptional<z$1.ZodInt>;
|
|
89974
90036
|
}, z$1.core.$strip>;
|
|
89975
90037
|
reported: z$1.ZodObject<{
|
|
89976
90038
|
batteryIntervalSeconds: z$1.ZodOptional<z$1.ZodInt>;
|
|
@@ -90059,6 +90121,8 @@ export declare const settingsSnapshot: z$1.ZodObject<{
|
|
|
90059
90121
|
}>>;
|
|
90060
90122
|
chargingStatusMaxAgeSeconds: z$1.ZodOptional<z$1.ZodInt>;
|
|
90061
90123
|
reportIntervalOnBatterySeconds: z$1.ZodOptional<z$1.ZodInt>;
|
|
90124
|
+
accelerationSamplingEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
90125
|
+
accelerationChangePercent: z$1.ZodOptional<z$1.ZodInt>;
|
|
90062
90126
|
}, z$1.core.$strip>;
|
|
90063
90127
|
application: z$1.ZodObject<{
|
|
90064
90128
|
settings: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -90195,6 +90259,8 @@ export declare const settingsUpdateInput: z$1.ZodObject<{
|
|
|
90195
90259
|
}>>;
|
|
90196
90260
|
chargingStatusMaxAgeSeconds: z$1.ZodOptional<z$1.ZodInt>;
|
|
90197
90261
|
reportIntervalOnBatterySeconds: z$1.ZodOptional<z$1.ZodInt>;
|
|
90262
|
+
accelerationSamplingEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
90263
|
+
accelerationChangePercent: z$1.ZodOptional<z$1.ZodInt>;
|
|
90198
90264
|
}, z$1.core.$strict>;
|
|
90199
90265
|
}, z$1.core.$strict>;
|
|
90200
90266
|
export declare const settingsErrors: {
|
|
@@ -91350,6 +91416,8 @@ export declare const staffSettingsContract: {
|
|
|
91350
91416
|
wifiScanType?: "active" | "passive" | undefined;
|
|
91351
91417
|
chargingStatusMaxAgeSeconds?: number | undefined;
|
|
91352
91418
|
reportIntervalOnBatterySeconds?: number | undefined;
|
|
91419
|
+
accelerationSamplingEnabled?: boolean | undefined;
|
|
91420
|
+
accelerationChangePercent?: number | undefined;
|
|
91353
91421
|
};
|
|
91354
91422
|
reported: {
|
|
91355
91423
|
batteryIntervalSeconds?: number | undefined;
|
|
@@ -91408,6 +91476,8 @@ export declare const staffSettingsContract: {
|
|
|
91408
91476
|
wifiScanType?: "active" | "passive" | undefined;
|
|
91409
91477
|
chargingStatusMaxAgeSeconds?: number | undefined;
|
|
91410
91478
|
reportIntervalOnBatterySeconds?: number | undefined;
|
|
91479
|
+
accelerationSamplingEnabled?: boolean | undefined;
|
|
91480
|
+
accelerationChangePercent?: number | undefined;
|
|
91411
91481
|
};
|
|
91412
91482
|
application: {
|
|
91413
91483
|
settings: {
|
|
@@ -91499,6 +91569,8 @@ export declare const staffSettingsContract: {
|
|
|
91499
91569
|
wifiScanType?: "active" | "passive" | undefined;
|
|
91500
91570
|
chargingStatusMaxAgeSeconds?: number | undefined;
|
|
91501
91571
|
reportIntervalOnBatterySeconds?: number | undefined;
|
|
91572
|
+
accelerationSamplingEnabled?: boolean | undefined;
|
|
91573
|
+
accelerationChangePercent?: number | undefined;
|
|
91502
91574
|
};
|
|
91503
91575
|
reported: {
|
|
91504
91576
|
batteryIntervalSeconds?: number | undefined;
|
|
@@ -91557,6 +91629,8 @@ export declare const staffSettingsContract: {
|
|
|
91557
91629
|
wifiScanType?: "active" | "passive" | undefined;
|
|
91558
91630
|
chargingStatusMaxAgeSeconds?: number | undefined;
|
|
91559
91631
|
reportIntervalOnBatterySeconds?: number | undefined;
|
|
91632
|
+
accelerationSamplingEnabled?: boolean | undefined;
|
|
91633
|
+
accelerationChangePercent?: number | undefined;
|
|
91560
91634
|
};
|
|
91561
91635
|
application: {
|
|
91562
91636
|
settings: {
|
|
@@ -92770,6 +92844,8 @@ export declare const staffSettingsContract: {
|
|
|
92770
92844
|
}>>;
|
|
92771
92845
|
chargingStatusMaxAgeSeconds: z$1.ZodOptional<z$1.ZodInt>;
|
|
92772
92846
|
reportIntervalOnBatterySeconds: z$1.ZodOptional<z$1.ZodInt>;
|
|
92847
|
+
accelerationSamplingEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
92848
|
+
accelerationChangePercent: z$1.ZodOptional<z$1.ZodInt>;
|
|
92773
92849
|
}, z$1.core.$strip>;
|
|
92774
92850
|
reported: z$1.ZodObject<{
|
|
92775
92851
|
batteryIntervalSeconds: z$1.ZodOptional<z$1.ZodInt>;
|
|
@@ -92858,6 +92934,8 @@ export declare const staffSettingsContract: {
|
|
|
92858
92934
|
}>>;
|
|
92859
92935
|
chargingStatusMaxAgeSeconds: z$1.ZodOptional<z$1.ZodInt>;
|
|
92860
92936
|
reportIntervalOnBatterySeconds: z$1.ZodOptional<z$1.ZodInt>;
|
|
92937
|
+
accelerationSamplingEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
92938
|
+
accelerationChangePercent: z$1.ZodOptional<z$1.ZodInt>;
|
|
92861
92939
|
}, z$1.core.$strip>;
|
|
92862
92940
|
application: z$1.ZodObject<{
|
|
92863
92941
|
settings: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -94080,6 +94158,8 @@ export declare const staffSettingsContract: {
|
|
|
94080
94158
|
}>>;
|
|
94081
94159
|
chargingStatusMaxAgeSeconds: z$1.ZodOptional<z$1.ZodInt>;
|
|
94082
94160
|
reportIntervalOnBatterySeconds: z$1.ZodOptional<z$1.ZodInt>;
|
|
94161
|
+
accelerationSamplingEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
94162
|
+
accelerationChangePercent: z$1.ZodOptional<z$1.ZodInt>;
|
|
94083
94163
|
}, z$1.core.$strict>;
|
|
94084
94164
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
94085
94165
|
version: z$1.ZodInt;
|
|
@@ -94171,6 +94251,8 @@ export declare const staffSettingsContract: {
|
|
|
94171
94251
|
}>>;
|
|
94172
94252
|
chargingStatusMaxAgeSeconds: z$1.ZodOptional<z$1.ZodInt>;
|
|
94173
94253
|
reportIntervalOnBatterySeconds: z$1.ZodOptional<z$1.ZodInt>;
|
|
94254
|
+
accelerationSamplingEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
94255
|
+
accelerationChangePercent: z$1.ZodOptional<z$1.ZodInt>;
|
|
94174
94256
|
}, z$1.core.$strip>;
|
|
94175
94257
|
reported: z$1.ZodObject<{
|
|
94176
94258
|
batteryIntervalSeconds: z$1.ZodOptional<z$1.ZodInt>;
|
|
@@ -94259,6 +94341,8 @@ export declare const staffSettingsContract: {
|
|
|
94259
94341
|
}>>;
|
|
94260
94342
|
chargingStatusMaxAgeSeconds: z$1.ZodOptional<z$1.ZodInt>;
|
|
94261
94343
|
reportIntervalOnBatterySeconds: z$1.ZodOptional<z$1.ZodInt>;
|
|
94344
|
+
accelerationSamplingEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
94345
|
+
accelerationChangePercent: z$1.ZodOptional<z$1.ZodInt>;
|
|
94262
94346
|
}, z$1.core.$strip>;
|
|
94263
94347
|
application: z$1.ZodObject<{
|
|
94264
94348
|
settings: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -165533,6 +165617,8 @@ declare const zDeviceSettings: z.ZodObject<{
|
|
|
165533
165617
|
}>>;
|
|
165534
165618
|
chargingStatusMaxAgeSeconds: z.ZodOptional<z.ZodInt>;
|
|
165535
165619
|
reportIntervalOnBatterySeconds: z.ZodOptional<z.ZodInt>;
|
|
165620
|
+
accelerationSamplingEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
165621
|
+
accelerationChangePercent: z.ZodOptional<z.ZodInt>;
|
|
165536
165622
|
}, z.core.$strict>;
|
|
165537
165623
|
|
|
165538
165624
|
export {
|
package/dist/schemas.js
CHANGED