@bikefinder/sdk 0.7.0 → 0.9.0
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/README.md +6 -1
- package/dist/device-schema.d.ts +48 -199
- package/dist/device-schema.js +56 -237
- package/dist/generated/index.d.ts +1 -1
- package/dist/generated/sdk.gen.d.ts +1 -7
- package/dist/generated/sdk.gen.js +1 -107
- package/dist/generated/types.gen.d.ts +65 -370
- package/dist/generated/zod.gen.d.ts +224 -820
- package/dist/generated/zod.gen.js +58 -361
- package/openapi/api.json +441 -1529
- package/package.json +1 -1
|
@@ -922,31 +922,13 @@ export type CellIdentityValue = {
|
|
|
922
922
|
[key: string]: unknown;
|
|
923
923
|
};
|
|
924
924
|
export type CellMode = "serving" | "gci" | "neighbors";
|
|
925
|
-
export type CellNeighbourValue = {
|
|
926
|
-
pci: number;
|
|
927
|
-
earfcn: number;
|
|
928
|
-
rsrp: number | "NaN" | "Infinity" | "-Infinity" | null;
|
|
929
|
-
rsrq: number | "NaN" | "Infinity" | "-Infinity" | null;
|
|
930
|
-
[key: string]: unknown;
|
|
931
|
-
};
|
|
932
|
-
export type CellReadingValue = {
|
|
933
|
-
mcc: number;
|
|
934
|
-
mnc: number;
|
|
935
|
-
tac: number;
|
|
936
|
-
cellId: number;
|
|
937
|
-
pci: null | number;
|
|
938
|
-
earfcn: null | number;
|
|
939
|
-
rsrp: number | "NaN" | "Infinity" | "-Infinity" | null;
|
|
940
|
-
rsrq: number | "NaN" | "Infinity" | "-Infinity" | null;
|
|
941
|
-
[key: string]: unknown;
|
|
942
|
-
};
|
|
943
925
|
/**
|
|
944
|
-
*
|
|
926
|
+
* Serving cell
|
|
945
927
|
*
|
|
946
|
-
*
|
|
928
|
+
* One serving-cell reading from readily available modem data, without a neighbor or GCI measurement. Includes available radio technology, identity and signal values; unresolved fields are null.
|
|
947
929
|
*/
|
|
948
|
-
export type
|
|
949
|
-
export type
|
|
930
|
+
export type CellReadingValue = DeviceObservationValuesCellReading;
|
|
931
|
+
export type CellReadingValueRat = "lteM" | "nbIot";
|
|
950
932
|
export type ChargingAdjustmentReasonValue = "qualifying" | "atCeiling" | "poorSupply" | "inputVoltageRegulation";
|
|
951
933
|
export type ChargingAllocationMemberValue = {
|
|
952
934
|
slot: number;
|
|
@@ -1024,7 +1006,7 @@ export type CommandChoice = {
|
|
|
1024
1006
|
[key: string]: unknown;
|
|
1025
1007
|
};
|
|
1026
1008
|
export type CommandDefinition = {
|
|
1027
|
-
name: "status" | "reconcileSettings" | "requestObservations" | "sample" | "cancel" | "reboot" | "identify" | "streamObservations" | "selfTest" | "switchEnvironment" | "clearEnvironment" | "listEnvironments" | "updateBattery" | "runBatteryCheck" | "
|
|
1009
|
+
name: "status" | "reconcileSettings" | "requestObservations" | "sample" | "cancel" | "reboot" | "identify" | "streamObservations" | "selfTest" | "switchEnvironment" | "clearEnvironment" | "listEnvironments" | "updateBattery" | "runBatteryCheck" | "enableDiagnostics";
|
|
1028
1010
|
label: string;
|
|
1029
1011
|
description: string;
|
|
1030
1012
|
input: CommandInput;
|
|
@@ -1388,12 +1370,8 @@ export type CurrentObservation = ({
|
|
|
1388
1370
|
} & CurrentObservationNetworkRegistrationDurationCurrent) | ({
|
|
1389
1371
|
type: "network.retryStatus";
|
|
1390
1372
|
} & CurrentObservationNetworkRetryStatusCurrent) | ({
|
|
1391
|
-
type: "
|
|
1392
|
-
} &
|
|
1393
|
-
type: "network.rsrq";
|
|
1394
|
-
} & CurrentObservationNetworkRsrqCurrent) | ({
|
|
1395
|
-
type: "network.servingCell";
|
|
1396
|
-
} & CurrentObservationNetworkServingCellCurrent) | ({
|
|
1373
|
+
type: "radio.servingCell";
|
|
1374
|
+
} & CurrentObservationRadioServingCellCurrent) | ({
|
|
1397
1375
|
type: "outbox.acknowledged";
|
|
1398
1376
|
} & CurrentObservationOutboxAcknowledgedCurrent) | ({
|
|
1399
1377
|
type: "outbox.enqueued";
|
|
@@ -1466,8 +1444,8 @@ export type CurrentObservation = ({
|
|
|
1466
1444
|
} & CurrentObservationPowerWifiTimeoutsCurrent) | ({
|
|
1467
1445
|
type: "radio.bleDevices";
|
|
1468
1446
|
} & CurrentObservationRadioBleDevicesCurrent) | ({
|
|
1469
|
-
type: "radio.
|
|
1470
|
-
} &
|
|
1447
|
+
type: "radio.cells";
|
|
1448
|
+
} & CurrentObservationRadioCellsCurrent) | ({
|
|
1471
1449
|
type: "radio.wifiAccessPoints";
|
|
1472
1450
|
} & CurrentObservationRadioWifiAccessPointsCurrent) | ({
|
|
1473
1451
|
type: "system.booted";
|
|
@@ -3503,55 +3481,6 @@ export type CurrentObservationNetworkRetryStatusCurrent = {
|
|
|
3503
3481
|
requestId?: null | number;
|
|
3504
3482
|
[key: string]: unknown;
|
|
3505
3483
|
};
|
|
3506
|
-
export type CurrentObservationNetworkRsrpCurrent = {
|
|
3507
|
-
type: "network.rsrp";
|
|
3508
|
-
/**
|
|
3509
|
-
* Serving cell signal power (RSRP)
|
|
3510
|
-
*
|
|
3511
|
-
* Reference signal received power of the last known serving cell, in dBm.
|
|
3512
|
-
*/
|
|
3513
|
-
value: number;
|
|
3514
|
-
deviceId: string;
|
|
3515
|
-
sourceObservationId: string;
|
|
3516
|
-
measuredAt: string;
|
|
3517
|
-
receivedAt: string;
|
|
3518
|
-
requestId?: null | number;
|
|
3519
|
-
[key: string]: unknown;
|
|
3520
|
-
};
|
|
3521
|
-
export type CurrentObservationNetworkRsrqCurrent = {
|
|
3522
|
-
type: "network.rsrq";
|
|
3523
|
-
/**
|
|
3524
|
-
* Serving cell signal quality (RSRQ)
|
|
3525
|
-
*
|
|
3526
|
-
* Reference signal received quality of the last known serving cell, in dB.
|
|
3527
|
-
*/
|
|
3528
|
-
value: number;
|
|
3529
|
-
deviceId: string;
|
|
3530
|
-
sourceObservationId: string;
|
|
3531
|
-
measuredAt: string;
|
|
3532
|
-
receivedAt: string;
|
|
3533
|
-
requestId?: null | number;
|
|
3534
|
-
[key: string]: unknown;
|
|
3535
|
-
};
|
|
3536
|
-
export type CurrentObservationNetworkServingCellCurrent = {
|
|
3537
|
-
type: "network.servingCell";
|
|
3538
|
-
/**
|
|
3539
|
-
* Network serving cell
|
|
3540
|
-
*
|
|
3541
|
-
* One passive serving-cell identity fact. Identity fields need a consistent cell context; omit unresolved fields instead of filling from an old cell. Independently timed signal measurements and extended scans remain separately selectable.
|
|
3542
|
-
*/
|
|
3543
|
-
value: {
|
|
3544
|
-
rat: "lteM" | "nbIot" | null;
|
|
3545
|
-
identity: DeviceObservationValuesCellIdentity;
|
|
3546
|
-
[key: string]: unknown;
|
|
3547
|
-
};
|
|
3548
|
-
deviceId: string;
|
|
3549
|
-
sourceObservationId: string;
|
|
3550
|
-
measuredAt: string;
|
|
3551
|
-
receivedAt: string;
|
|
3552
|
-
requestId?: null | number;
|
|
3553
|
-
[key: string]: unknown;
|
|
3554
|
-
};
|
|
3555
3484
|
export type CurrentObservationOutboxAcknowledgedCurrent = {
|
|
3556
3485
|
type: "outbox.acknowledged";
|
|
3557
3486
|
/**
|
|
@@ -4076,14 +4005,29 @@ export type CurrentObservationRadioBleDevicesCurrent = {
|
|
|
4076
4005
|
requestId?: null | number;
|
|
4077
4006
|
[key: string]: unknown;
|
|
4078
4007
|
};
|
|
4079
|
-
export type
|
|
4080
|
-
type: "radio.
|
|
4008
|
+
export type CurrentObservationRadioCellsCurrent = {
|
|
4009
|
+
type: "radio.cells";
|
|
4010
|
+
/**
|
|
4011
|
+
* Measured cells
|
|
4012
|
+
*
|
|
4013
|
+
* Cells returned by an explicitly requested neighbor or GCI measurement, including the serving cell when available. Partial neighbors retain only their known identity fields. A one-cell result means the broader measurement found only one cell; an empty array is a successful measurement with no cells. A serving-only request does not produce this observation.
|
|
4014
|
+
*/
|
|
4015
|
+
value: Array<DeviceObservationValuesCellReading>;
|
|
4016
|
+
deviceId: string;
|
|
4017
|
+
sourceObservationId: string;
|
|
4018
|
+
measuredAt: string;
|
|
4019
|
+
receivedAt: string;
|
|
4020
|
+
requestId?: null | number;
|
|
4021
|
+
[key: string]: unknown;
|
|
4022
|
+
};
|
|
4023
|
+
export type CurrentObservationRadioServingCellCurrent = {
|
|
4024
|
+
type: "radio.servingCell";
|
|
4081
4025
|
/**
|
|
4082
|
-
*
|
|
4026
|
+
* Serving cell
|
|
4083
4027
|
*
|
|
4084
|
-
*
|
|
4028
|
+
* One serving-cell reading from readily available modem data, without a neighbor or GCI measurement. Includes available radio technology, identity and signal values; unresolved fields are null.
|
|
4085
4029
|
*/
|
|
4086
|
-
value:
|
|
4030
|
+
value: DeviceObservationValuesCellReading;
|
|
4087
4031
|
deviceId: string;
|
|
4088
4032
|
sourceObservationId: string;
|
|
4089
4033
|
measuredAt: string;
|
|
@@ -4940,27 +4884,11 @@ export type DeviceObservationValues = {
|
|
|
4940
4884
|
[key: string]: unknown;
|
|
4941
4885
|
};
|
|
4942
4886
|
/**
|
|
4943
|
-
* Serving cell
|
|
4944
|
-
*
|
|
4945
|
-
* Reference signal received power of the last known serving cell, in dBm.
|
|
4946
|
-
*/
|
|
4947
|
-
"network.rsrp"?: number;
|
|
4948
|
-
/**
|
|
4949
|
-
* Serving cell signal quality (RSRQ)
|
|
4950
|
-
*
|
|
4951
|
-
* Reference signal received quality of the last known serving cell, in dB.
|
|
4952
|
-
*/
|
|
4953
|
-
"network.rsrq"?: number;
|
|
4954
|
-
/**
|
|
4955
|
-
* Network serving cell
|
|
4887
|
+
* Serving cell
|
|
4956
4888
|
*
|
|
4957
|
-
* One
|
|
4889
|
+
* One serving-cell reading from readily available modem data, without a neighbor or GCI measurement. Includes available radio technology, identity and signal values; unresolved fields are null.
|
|
4958
4890
|
*/
|
|
4959
|
-
"
|
|
4960
|
-
rat: "lteM" | "nbIot" | null;
|
|
4961
|
-
identity: DeviceObservationValuesCellIdentity;
|
|
4962
|
-
[key: string]: unknown;
|
|
4963
|
-
};
|
|
4891
|
+
"radio.servingCell"?: DeviceObservationValuesCellReading;
|
|
4964
4892
|
/**
|
|
4965
4893
|
* Outbox acknowledged observations
|
|
4966
4894
|
*
|
|
@@ -5196,11 +5124,11 @@ export type DeviceObservationValues = {
|
|
|
5196
5124
|
*/
|
|
5197
5125
|
"radio.bleDevices"?: Array<DeviceObservationValuesBleDevice>;
|
|
5198
5126
|
/**
|
|
5199
|
-
*
|
|
5127
|
+
* Measured cells
|
|
5200
5128
|
*
|
|
5201
|
-
*
|
|
5129
|
+
* Cells returned by an explicitly requested neighbor or GCI measurement, including the serving cell when available. Partial neighbors retain only their known identity fields. A one-cell result means the broader measurement found only one cell; an empty array is a successful measurement with no cells. A serving-only request does not produce this observation.
|
|
5202
5130
|
*/
|
|
5203
|
-
"radio.
|
|
5131
|
+
"radio.cells"?: Array<DeviceObservationValuesCellReading>;
|
|
5204
5132
|
/**
|
|
5205
5133
|
* Wi-Fi access points
|
|
5206
5134
|
*
|
|
@@ -5472,31 +5400,13 @@ export type DeviceObservationValuesCellIdentity = {
|
|
|
5472
5400
|
earfcn: number | null;
|
|
5473
5401
|
[key: string]: unknown;
|
|
5474
5402
|
};
|
|
5475
|
-
export type DeviceObservationValuesCellNeighbour = {
|
|
5476
|
-
pci: number;
|
|
5477
|
-
earfcn: number;
|
|
5478
|
-
rsrp: number | null;
|
|
5479
|
-
rsrq: number | null;
|
|
5480
|
-
[key: string]: unknown;
|
|
5481
|
-
};
|
|
5482
5403
|
export type DeviceObservationValuesCellReading = {
|
|
5483
|
-
|
|
5484
|
-
|
|
5485
|
-
tac: number;
|
|
5486
|
-
cellId: number;
|
|
5487
|
-
pci: number | null;
|
|
5488
|
-
earfcn: number | null;
|
|
5404
|
+
rat: "lteM" | "nbIot" | null;
|
|
5405
|
+
identity: DeviceObservationValuesCellIdentity;
|
|
5489
5406
|
rsrp: number | null;
|
|
5490
5407
|
rsrq: number | null;
|
|
5491
5408
|
[key: string]: unknown;
|
|
5492
5409
|
};
|
|
5493
|
-
export type DeviceObservationValuesCellularEnvironment = {
|
|
5494
|
-
serving: DeviceObservationValuesCellReading;
|
|
5495
|
-
rat: "lteM" | "nbIot";
|
|
5496
|
-
globalCells: Array<DeviceObservationValuesCellReading>;
|
|
5497
|
-
neighbours: Array<DeviceObservationValuesCellNeighbour>;
|
|
5498
|
-
[key: string]: unknown;
|
|
5499
|
-
};
|
|
5500
5410
|
export type DeviceObservationValuesChargingAdjustmentReason = "qualifying" | "atCeiling" | "poorSupply" | "inputVoltageRegulation";
|
|
5501
5411
|
export type DeviceObservationValuesChargingAllocationMember = {
|
|
5502
5412
|
slot: number;
|
|
@@ -6533,17 +6443,6 @@ export type NetworkRetryStatusValue = {
|
|
|
6533
6443
|
consecutiveFailures: number;
|
|
6534
6444
|
[key: string]: unknown;
|
|
6535
6445
|
};
|
|
6536
|
-
/**
|
|
6537
|
-
* Network serving cell
|
|
6538
|
-
*
|
|
6539
|
-
* One passive serving-cell identity fact. Identity fields need a consistent cell context; omit unresolved fields instead of filling from an old cell. Independently timed signal measurements and extended scans remain separately selectable.
|
|
6540
|
-
*/
|
|
6541
|
-
export type NetworkServingCellValue = {
|
|
6542
|
-
rat: "lteM" | "nbIot" | null;
|
|
6543
|
-
identity: DeviceObservationValuesCellIdentity;
|
|
6544
|
-
[key: string]: unknown;
|
|
6545
|
-
};
|
|
6546
|
-
export type NetworkServingCellValueRat = "lteM" | "nbIot";
|
|
6547
6446
|
export type NotificationContentData = {
|
|
6548
6447
|
title?: null | string;
|
|
6549
6448
|
body?: null | string;
|
|
@@ -6771,12 +6670,8 @@ export type Observation = ({
|
|
|
6771
6670
|
} & ObservationNetworkRegistrationDurationObservation) | ({
|
|
6772
6671
|
type: "network.retryStatus";
|
|
6773
6672
|
} & ObservationNetworkRetryStatusObservation) | ({
|
|
6774
|
-
type: "
|
|
6775
|
-
} &
|
|
6776
|
-
type: "network.rsrq";
|
|
6777
|
-
} & ObservationNetworkRsrqObservation) | ({
|
|
6778
|
-
type: "network.servingCell";
|
|
6779
|
-
} & ObservationNetworkServingCellObservation) | ({
|
|
6673
|
+
type: "radio.servingCell";
|
|
6674
|
+
} & ObservationRadioServingCellObservation) | ({
|
|
6780
6675
|
type: "outbox.acknowledged";
|
|
6781
6676
|
} & ObservationOutboxAcknowledgedObservation) | ({
|
|
6782
6677
|
type: "outbox.enqueued";
|
|
@@ -6849,8 +6744,8 @@ export type Observation = ({
|
|
|
6849
6744
|
} & ObservationPowerWifiTimeoutsObservation) | ({
|
|
6850
6745
|
type: "radio.bleDevices";
|
|
6851
6746
|
} & ObservationRadioBleDevicesObservation) | ({
|
|
6852
|
-
type: "radio.
|
|
6853
|
-
} &
|
|
6747
|
+
type: "radio.cells";
|
|
6748
|
+
} & ObservationRadioCellsObservation) | ({
|
|
6854
6749
|
type: "radio.wifiAccessPoints";
|
|
6855
6750
|
} & ObservationRadioWifiAccessPointsObservation) | ({
|
|
6856
6751
|
type: "system.booted";
|
|
@@ -8997,58 +8892,6 @@ export type ObservationNetworkRetryStatusObservation = {
|
|
|
8997
8892
|
requestId?: null | number;
|
|
8998
8893
|
[key: string]: unknown;
|
|
8999
8894
|
};
|
|
9000
|
-
export type ObservationNetworkRsrpObservation = {
|
|
9001
|
-
type: "network.rsrp";
|
|
9002
|
-
/**
|
|
9003
|
-
* Serving cell signal power (RSRP)
|
|
9004
|
-
*
|
|
9005
|
-
* Reference signal received power of the last known serving cell, in dBm.
|
|
9006
|
-
*/
|
|
9007
|
-
value: number;
|
|
9008
|
-
deviceId: string;
|
|
9009
|
-
observationId: string;
|
|
9010
|
-
receivedAt: string;
|
|
9011
|
-
ageMs: number;
|
|
9012
|
-
measuredAt: string;
|
|
9013
|
-
requestId?: null | number;
|
|
9014
|
-
[key: string]: unknown;
|
|
9015
|
-
};
|
|
9016
|
-
export type ObservationNetworkRsrqObservation = {
|
|
9017
|
-
type: "network.rsrq";
|
|
9018
|
-
/**
|
|
9019
|
-
* Serving cell signal quality (RSRQ)
|
|
9020
|
-
*
|
|
9021
|
-
* Reference signal received quality of the last known serving cell, in dB.
|
|
9022
|
-
*/
|
|
9023
|
-
value: number;
|
|
9024
|
-
deviceId: string;
|
|
9025
|
-
observationId: string;
|
|
9026
|
-
receivedAt: string;
|
|
9027
|
-
ageMs: number;
|
|
9028
|
-
measuredAt: string;
|
|
9029
|
-
requestId?: null | number;
|
|
9030
|
-
[key: string]: unknown;
|
|
9031
|
-
};
|
|
9032
|
-
export type ObservationNetworkServingCellObservation = {
|
|
9033
|
-
type: "network.servingCell";
|
|
9034
|
-
/**
|
|
9035
|
-
* Network serving cell
|
|
9036
|
-
*
|
|
9037
|
-
* One passive serving-cell identity fact. Identity fields need a consistent cell context; omit unresolved fields instead of filling from an old cell. Independently timed signal measurements and extended scans remain separately selectable.
|
|
9038
|
-
*/
|
|
9039
|
-
value: {
|
|
9040
|
-
rat: "lteM" | "nbIot" | null;
|
|
9041
|
-
identity: DeviceObservationValuesCellIdentity;
|
|
9042
|
-
[key: string]: unknown;
|
|
9043
|
-
};
|
|
9044
|
-
deviceId: string;
|
|
9045
|
-
observationId: string;
|
|
9046
|
-
receivedAt: string;
|
|
9047
|
-
ageMs: number;
|
|
9048
|
-
measuredAt: string;
|
|
9049
|
-
requestId?: null | number;
|
|
9050
|
-
[key: string]: unknown;
|
|
9051
|
-
};
|
|
9052
8895
|
export type ObservationOutboxAcknowledgedObservation = {
|
|
9053
8896
|
type: "outbox.acknowledged";
|
|
9054
8897
|
/**
|
|
@@ -9612,14 +9455,30 @@ export type ObservationRadioBleDevicesObservation = {
|
|
|
9612
9455
|
requestId?: null | number;
|
|
9613
9456
|
[key: string]: unknown;
|
|
9614
9457
|
};
|
|
9615
|
-
export type
|
|
9616
|
-
type: "radio.
|
|
9458
|
+
export type ObservationRadioCellsObservation = {
|
|
9459
|
+
type: "radio.cells";
|
|
9617
9460
|
/**
|
|
9618
|
-
*
|
|
9461
|
+
* Measured cells
|
|
9619
9462
|
*
|
|
9620
|
-
*
|
|
9463
|
+
* Cells returned by an explicitly requested neighbor or GCI measurement, including the serving cell when available. Partial neighbors retain only their known identity fields. A one-cell result means the broader measurement found only one cell; an empty array is a successful measurement with no cells. A serving-only request does not produce this observation.
|
|
9621
9464
|
*/
|
|
9622
|
-
value:
|
|
9465
|
+
value: Array<DeviceObservationValuesCellReading>;
|
|
9466
|
+
deviceId: string;
|
|
9467
|
+
observationId: string;
|
|
9468
|
+
receivedAt: string;
|
|
9469
|
+
ageMs: number;
|
|
9470
|
+
measuredAt: string;
|
|
9471
|
+
requestId?: null | number;
|
|
9472
|
+
[key: string]: unknown;
|
|
9473
|
+
};
|
|
9474
|
+
export type ObservationRadioServingCellObservation = {
|
|
9475
|
+
type: "radio.servingCell";
|
|
9476
|
+
/**
|
|
9477
|
+
* Serving cell
|
|
9478
|
+
*
|
|
9479
|
+
* One serving-cell reading from readily available modem data, without a neighbor or GCI measurement. Includes available radio technology, identity and signal values; unresolved fields are null.
|
|
9480
|
+
*/
|
|
9481
|
+
value: DeviceObservationValuesCellReading;
|
|
9623
9482
|
deviceId: string;
|
|
9624
9483
|
observationId: string;
|
|
9625
9484
|
receivedAt: string;
|
|
@@ -9771,24 +9630,6 @@ export type PositionGnssFixValue = {
|
|
|
9771
9630
|
quality: DeviceObservationValuesFixQuality | null;
|
|
9772
9631
|
[key: string]: unknown;
|
|
9773
9632
|
};
|
|
9774
|
-
export type PositioningSchedule = {
|
|
9775
|
-
enabled: boolean;
|
|
9776
|
-
intervalSeconds: number;
|
|
9777
|
-
};
|
|
9778
|
-
export type PositioningView = {
|
|
9779
|
-
deviceId: string;
|
|
9780
|
-
version: number;
|
|
9781
|
-
schedule: ReadPositioningSchedule;
|
|
9782
|
-
nextDueAt: null | string;
|
|
9783
|
-
requestId: null | number;
|
|
9784
|
-
status: string;
|
|
9785
|
-
requestedAt: null | string;
|
|
9786
|
-
expiresAt: null | string;
|
|
9787
|
-
[key: string]: unknown;
|
|
9788
|
-
};
|
|
9789
|
-
export type PositionRequest = {
|
|
9790
|
-
operationId: string;
|
|
9791
|
-
};
|
|
9792
9633
|
export type PowerActivitiesValueItem = "rrc" | "mqtt" | "psm" | "esp" | "wifiScan" | "bleScan" | "gnss";
|
|
9793
9634
|
export type PreferenceMapStyle = "minimal" | "satellite";
|
|
9794
9635
|
export type PreferencePatch = {
|
|
@@ -9974,7 +9815,7 @@ export type SubmitCommandRequest = {
|
|
|
9974
9815
|
expectedInventoryId: string;
|
|
9975
9816
|
command: "requestObservations";
|
|
9976
9817
|
arguments: [0 | 1, number];
|
|
9977
|
-
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 |
|
|
9818
|
+
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 | 174 | 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 | 143 | 146 | 147 | 148 | 149 | 150 | 151 | 175 | 153 | 155 | 156 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166>;
|
|
9978
9819
|
enrollmentUrl?: null;
|
|
9979
9820
|
confirmed?: boolean;
|
|
9980
9821
|
acquisitionOptions?: AcquisitionOptions | null;
|
|
@@ -10019,7 +9860,7 @@ export type SubmitCommandRequest = {
|
|
|
10019
9860
|
expectedInventoryId: string;
|
|
10020
9861
|
command: "streamObservations";
|
|
10021
9862
|
arguments: [number, number, number, 0 | 1 | 2 | 3, number];
|
|
10022
|
-
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 |
|
|
9863
|
+
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 | 174 | 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 | 143 | 146 | 147 | 148 | 149 | 150 | 151 | 175 | 153 | 155 | 156 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166>;
|
|
10023
9864
|
enrollmentUrl?: null;
|
|
10024
9865
|
confirmed?: boolean;
|
|
10025
9866
|
acquisitionOptions?: null;
|
|
@@ -10068,15 +9909,6 @@ export type SubmitCommandRequest = {
|
|
|
10068
9909
|
enrollmentUrl?: null;
|
|
10069
9910
|
confirmed?: boolean;
|
|
10070
9911
|
acquisitionOptions?: null;
|
|
10071
|
-
} | {
|
|
10072
|
-
operationId: string;
|
|
10073
|
-
expectedInventoryId: string;
|
|
10074
|
-
command: "requestPosition";
|
|
10075
|
-
arguments: [0 | 1, number];
|
|
10076
|
-
metrics?: null;
|
|
10077
|
-
enrollmentUrl?: null;
|
|
10078
|
-
confirmed?: boolean;
|
|
10079
|
-
acquisitionOptions?: null;
|
|
10080
9912
|
} | {
|
|
10081
9913
|
operationId: string;
|
|
10082
9914
|
expectedInventoryId: string;
|
|
@@ -10160,7 +9992,7 @@ export type TrackerCommand = {
|
|
|
10160
9992
|
deviceId: string;
|
|
10161
9993
|
requestId: number;
|
|
10162
9994
|
operationId: string;
|
|
10163
|
-
command: "status" | "reconcileSettings" | "requestObservations" | "sample" | "cancel" | "reboot" | "identify" | "streamObservations" | "selfTest" | "switchEnvironment" | "clearEnvironment" | "listEnvironments" | "updateBattery" | "runBatteryCheck" | "
|
|
9995
|
+
command: "status" | "reconcileSettings" | "requestObservations" | "sample" | "cancel" | "reboot" | "identify" | "streamObservations" | "selfTest" | "switchEnvironment" | "clearEnvironment" | "listEnvironments" | "updateBattery" | "runBatteryCheck" | "enableDiagnostics";
|
|
10164
9996
|
arguments: Array<number>;
|
|
10165
9997
|
metrics: null | Array<number>;
|
|
10166
9998
|
enrollmentUrl: null | string;
|
|
@@ -10919,11 +10751,6 @@ export type ReadObservationSeries = {
|
|
|
10919
10751
|
subject?: null | string;
|
|
10920
10752
|
[key: string]: unknown;
|
|
10921
10753
|
};
|
|
10922
|
-
export type ReadPositioningSchedule = {
|
|
10923
|
-
enabled: boolean;
|
|
10924
|
-
intervalSeconds: number;
|
|
10925
|
-
[key: string]: unknown;
|
|
10926
|
-
};
|
|
10927
10754
|
export type SetTrackerSubscriptionData = {
|
|
10928
10755
|
body: AllocationChange;
|
|
10929
10756
|
path: {
|
|
@@ -11058,72 +10885,6 @@ export type LookupTrackerResponses = {
|
|
|
11058
10885
|
200: TrackerLookup;
|
|
11059
10886
|
};
|
|
11060
10887
|
export type LookupTrackerResponse = LookupTrackerResponses[keyof LookupTrackerResponses];
|
|
11061
|
-
export type GetTrackerPositioningData = {
|
|
11062
|
-
body?: never;
|
|
11063
|
-
path: {
|
|
11064
|
-
id: string;
|
|
11065
|
-
};
|
|
11066
|
-
query?: never;
|
|
11067
|
-
url: "/v1/trackers/{id}/positioning";
|
|
11068
|
-
};
|
|
11069
|
-
export type GetTrackerPositioningErrors = {
|
|
11070
|
-
/**
|
|
11071
|
-
* Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
|
|
11072
|
-
*/
|
|
11073
|
-
default: ApiProblem;
|
|
11074
|
-
};
|
|
11075
|
-
export type GetTrackerPositioningError = GetTrackerPositioningErrors[keyof GetTrackerPositioningErrors];
|
|
11076
|
-
export type GetTrackerPositioningResponses = {
|
|
11077
|
-
/**
|
|
11078
|
-
* OK
|
|
11079
|
-
*/
|
|
11080
|
-
200: PositioningView;
|
|
11081
|
-
};
|
|
11082
|
-
export type GetTrackerPositioningResponse = GetTrackerPositioningResponses[keyof GetTrackerPositioningResponses];
|
|
11083
|
-
export type SetTrackerPositioningScheduleData = {
|
|
11084
|
-
body: PositioningSchedule;
|
|
11085
|
-
path: {
|
|
11086
|
-
id: string;
|
|
11087
|
-
};
|
|
11088
|
-
query?: never;
|
|
11089
|
-
url: "/v1/trackers/{id}/positioning/schedule";
|
|
11090
|
-
};
|
|
11091
|
-
export type SetTrackerPositioningScheduleErrors = {
|
|
11092
|
-
/**
|
|
11093
|
-
* Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
|
|
11094
|
-
*/
|
|
11095
|
-
default: ApiProblem;
|
|
11096
|
-
};
|
|
11097
|
-
export type SetTrackerPositioningScheduleError = SetTrackerPositioningScheduleErrors[keyof SetTrackerPositioningScheduleErrors];
|
|
11098
|
-
export type SetTrackerPositioningScheduleResponses = {
|
|
11099
|
-
/**
|
|
11100
|
-
* OK
|
|
11101
|
-
*/
|
|
11102
|
-
200: PositioningView;
|
|
11103
|
-
};
|
|
11104
|
-
export type SetTrackerPositioningScheduleResponse = SetTrackerPositioningScheduleResponses[keyof SetTrackerPositioningScheduleResponses];
|
|
11105
|
-
export type RequestTrackerPositionData = {
|
|
11106
|
-
body: PositionRequest;
|
|
11107
|
-
path: {
|
|
11108
|
-
id: string;
|
|
11109
|
-
};
|
|
11110
|
-
query?: never;
|
|
11111
|
-
url: "/v1/trackers/{id}/positioning/requests";
|
|
11112
|
-
};
|
|
11113
|
-
export type RequestTrackerPositionErrors = {
|
|
11114
|
-
/**
|
|
11115
|
-
* Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
|
|
11116
|
-
*/
|
|
11117
|
-
default: ApiProblem;
|
|
11118
|
-
};
|
|
11119
|
-
export type RequestTrackerPositionError = RequestTrackerPositionErrors[keyof RequestTrackerPositionErrors];
|
|
11120
|
-
export type RequestTrackerPositionResponses = {
|
|
11121
|
-
/**
|
|
11122
|
-
* Accepted
|
|
11123
|
-
*/
|
|
11124
|
-
202: PositioningView;
|
|
11125
|
-
};
|
|
11126
|
-
export type RequestTrackerPositionResponse = RequestTrackerPositionResponses[keyof RequestTrackerPositionResponses];
|
|
11127
10888
|
export type GetTrackerData = {
|
|
11128
10889
|
body?: never;
|
|
11129
10890
|
path: {
|
|
@@ -12497,72 +12258,6 @@ export type ReadStaffTrackerObservationsResponses = {
|
|
|
12497
12258
|
200: Array<ObservationReading>;
|
|
12498
12259
|
};
|
|
12499
12260
|
export type ReadStaffTrackerObservationsResponse = ReadStaffTrackerObservationsResponses[keyof ReadStaffTrackerObservationsResponses];
|
|
12500
|
-
export type GetStaffTrackerPositioningData = {
|
|
12501
|
-
body?: never;
|
|
12502
|
-
path: {
|
|
12503
|
-
id: string;
|
|
12504
|
-
};
|
|
12505
|
-
query?: never;
|
|
12506
|
-
url: "/v1/admin/trackers/{id}/positioning";
|
|
12507
|
-
};
|
|
12508
|
-
export type GetStaffTrackerPositioningErrors = {
|
|
12509
|
-
/**
|
|
12510
|
-
* Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
|
|
12511
|
-
*/
|
|
12512
|
-
default: ApiProblem;
|
|
12513
|
-
};
|
|
12514
|
-
export type GetStaffTrackerPositioningError = GetStaffTrackerPositioningErrors[keyof GetStaffTrackerPositioningErrors];
|
|
12515
|
-
export type GetStaffTrackerPositioningResponses = {
|
|
12516
|
-
/**
|
|
12517
|
-
* OK
|
|
12518
|
-
*/
|
|
12519
|
-
200: PositioningView;
|
|
12520
|
-
};
|
|
12521
|
-
export type GetStaffTrackerPositioningResponse = GetStaffTrackerPositioningResponses[keyof GetStaffTrackerPositioningResponses];
|
|
12522
|
-
export type SetStaffTrackerPositioningScheduleData = {
|
|
12523
|
-
body: PositioningSchedule;
|
|
12524
|
-
path: {
|
|
12525
|
-
id: string;
|
|
12526
|
-
};
|
|
12527
|
-
query?: never;
|
|
12528
|
-
url: "/v1/admin/trackers/{id}/positioning/schedule";
|
|
12529
|
-
};
|
|
12530
|
-
export type SetStaffTrackerPositioningScheduleErrors = {
|
|
12531
|
-
/**
|
|
12532
|
-
* Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
|
|
12533
|
-
*/
|
|
12534
|
-
default: ApiProblem;
|
|
12535
|
-
};
|
|
12536
|
-
export type SetStaffTrackerPositioningScheduleError = SetStaffTrackerPositioningScheduleErrors[keyof SetStaffTrackerPositioningScheduleErrors];
|
|
12537
|
-
export type SetStaffTrackerPositioningScheduleResponses = {
|
|
12538
|
-
/**
|
|
12539
|
-
* OK
|
|
12540
|
-
*/
|
|
12541
|
-
200: PositioningView;
|
|
12542
|
-
};
|
|
12543
|
-
export type SetStaffTrackerPositioningScheduleResponse = SetStaffTrackerPositioningScheduleResponses[keyof SetStaffTrackerPositioningScheduleResponses];
|
|
12544
|
-
export type RequestStaffTrackerPositionData = {
|
|
12545
|
-
body: PositionRequest;
|
|
12546
|
-
path: {
|
|
12547
|
-
id: string;
|
|
12548
|
-
};
|
|
12549
|
-
query?: never;
|
|
12550
|
-
url: "/v1/admin/trackers/{id}/positioning/requests";
|
|
12551
|
-
};
|
|
12552
|
-
export type RequestStaffTrackerPositionErrors = {
|
|
12553
|
-
/**
|
|
12554
|
-
* Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
|
|
12555
|
-
*/
|
|
12556
|
-
default: ApiProblem;
|
|
12557
|
-
};
|
|
12558
|
-
export type RequestStaffTrackerPositionError = RequestStaffTrackerPositionErrors[keyof RequestStaffTrackerPositionErrors];
|
|
12559
|
-
export type RequestStaffTrackerPositionResponses = {
|
|
12560
|
-
/**
|
|
12561
|
-
* Accepted
|
|
12562
|
-
*/
|
|
12563
|
-
202: PositioningView;
|
|
12564
|
-
};
|
|
12565
|
-
export type RequestStaffTrackerPositionResponse = RequestStaffTrackerPositionResponses[keyof RequestStaffTrackerPositionResponses];
|
|
12566
12261
|
export type UploadStaffTrackerBatteryFirmwareData = {
|
|
12567
12262
|
body: Blob | File;
|
|
12568
12263
|
path: {
|