@bikefinder/sdk 0.3.0 → 0.5.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 +12 -1
- package/dist/device-schema.d.ts +27 -219
- package/dist/device-schema.js +20 -231
- package/dist/generated/index.d.ts +1 -1
- package/dist/generated/sdk.gen.d.ts +11 -9
- package/dist/generated/sdk.gen.js +150 -100
- package/dist/generated/types.gen.d.ts +330 -630
- package/dist/generated/zod.gen.d.ts +641 -1415
- package/dist/generated/zod.gen.js +198 -460
- package/dist/index.d.ts +2 -2
- package/dist/workflow-schema.d.ts +2 -10
- package/dist/workflow-schema.js +2 -21
- package/openapi/api.json +907 -1849
- package/package.json +1 -1
|
@@ -42,7 +42,6 @@ export type AccountProfileDocument = {
|
|
|
42
42
|
export type ActivityDurationsValue = {
|
|
43
43
|
rrc: number;
|
|
44
44
|
mqtt: number;
|
|
45
|
-
responseWindow: number;
|
|
46
45
|
psm: number;
|
|
47
46
|
esp: number;
|
|
48
47
|
wifiScan: number;
|
|
@@ -53,7 +52,6 @@ export type ActivityDurationsValue = {
|
|
|
53
52
|
export type ActivityEntriesValue = {
|
|
54
53
|
rrc: number;
|
|
55
54
|
mqtt: number;
|
|
56
|
-
responseWindow: number;
|
|
57
55
|
psm: number;
|
|
58
56
|
esp: number;
|
|
59
57
|
wifiScan: number;
|
|
@@ -391,7 +389,7 @@ export type AwsCommand = {
|
|
|
391
389
|
deviceId: string;
|
|
392
390
|
requestId: number;
|
|
393
391
|
operationId: string;
|
|
394
|
-
command: "status" | "reconcileSettings" | "disconnect" | "
|
|
392
|
+
command: "status" | "reconcileSettings" | "disconnect" | "requestObservations" | "sample" | "cancel" | "reboot" | "identify" | "streamObservations" | "selfTest" | "switchEnvironment" | "clearEnvironment" | "listEnvironments" | "updateBattery" | "runBatteryCheck" | "requestPosition" | "enableDiagnostics";
|
|
395
393
|
arguments: Array<number>;
|
|
396
394
|
metrics: null | Array<number>;
|
|
397
395
|
enrollmentUrl: null | string;
|
|
@@ -453,20 +451,12 @@ export type AwsCommandRequest = {
|
|
|
453
451
|
metrics?: null;
|
|
454
452
|
enrollmentUrl?: null;
|
|
455
453
|
confirmed: true;
|
|
456
|
-
} | {
|
|
457
|
-
operationId: string;
|
|
458
|
-
expectedInventoryId: string;
|
|
459
|
-
command: "stayOnline";
|
|
460
|
-
arguments: [number];
|
|
461
|
-
metrics?: null;
|
|
462
|
-
enrollmentUrl?: null;
|
|
463
|
-
confirmed?: boolean;
|
|
464
454
|
} | {
|
|
465
455
|
operationId: string;
|
|
466
456
|
expectedInventoryId: string;
|
|
467
457
|
command: "requestObservations";
|
|
468
458
|
arguments: [0 | 1, number];
|
|
469
|
-
metrics: Array<1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 32 | 33 | 34 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 48 | 49 | 50 | 52 | 53 | 54 | 55 | 56 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 107 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 121 | 123 | 124 | 126 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 |
|
|
459
|
+
metrics: Array<1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 32 | 33 | 34 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 48 | 49 | 50 | 52 | 53 | 54 | 55 | 56 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 107 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 121 | 123 | 124 | 126 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 143 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164>;
|
|
470
460
|
enrollmentUrl?: null;
|
|
471
461
|
confirmed?: boolean;
|
|
472
462
|
} | {
|
|
@@ -512,7 +502,7 @@ export type AwsCommandRequest = {
|
|
|
512
502
|
0 | 1 | 2 | 3,
|
|
513
503
|
1 | 2 | 4 | 8 | 16 | 32
|
|
514
504
|
];
|
|
515
|
-
metrics: Array<1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 32 | 33 | 34 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 48 | 49 | 50 | 52 | 53 | 54 | 55 | 56 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 107 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 121 | 123 | 124 | 126 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 |
|
|
505
|
+
metrics: Array<1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 32 | 33 | 34 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 48 | 49 | 50 | 52 | 53 | 54 | 55 | 56 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 107 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 121 | 123 | 124 | 126 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 143 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164>;
|
|
516
506
|
enrollmentUrl?: null;
|
|
517
507
|
confirmed?: boolean;
|
|
518
508
|
} | {
|
|
@@ -558,8 +548,16 @@ export type AwsCommandRequest = {
|
|
|
558
548
|
} | {
|
|
559
549
|
operationId: string;
|
|
560
550
|
expectedInventoryId: string;
|
|
561
|
-
command: "
|
|
562
|
-
arguments:
|
|
551
|
+
command: "requestPosition";
|
|
552
|
+
arguments: [0 | 1, number];
|
|
553
|
+
metrics?: null;
|
|
554
|
+
enrollmentUrl?: null;
|
|
555
|
+
confirmed?: boolean;
|
|
556
|
+
} | {
|
|
557
|
+
operationId: string;
|
|
558
|
+
expectedInventoryId: string;
|
|
559
|
+
command: "enableDiagnostics";
|
|
560
|
+
arguments: [number];
|
|
563
561
|
metrics?: null;
|
|
564
562
|
enrollmentUrl?: null;
|
|
565
563
|
confirmed?: boolean;
|
|
@@ -625,16 +623,12 @@ export type AwsObservationPage = {
|
|
|
625
623
|
[key: string]: unknown;
|
|
626
624
|
};
|
|
627
625
|
export type AwsObservationReading = {
|
|
628
|
-
series:
|
|
626
|
+
series: ReadObservationSeries;
|
|
629
627
|
observation: null | CurrentObservation;
|
|
630
628
|
[key: string]: unknown;
|
|
631
629
|
};
|
|
632
630
|
export type AwsObservationSelection = {
|
|
633
|
-
series: Array<
|
|
634
|
-
};
|
|
635
|
-
export type AwsObservationSeries = {
|
|
636
|
-
definitionId: number;
|
|
637
|
-
subject?: null | string;
|
|
631
|
+
series: Array<ObservationSeries>;
|
|
638
632
|
};
|
|
639
633
|
export type AwsSettingsApplication = {
|
|
640
634
|
settings: null | SettingsApplicationStatus;
|
|
@@ -1062,7 +1056,7 @@ export type CommandChoice = {
|
|
|
1062
1056
|
[key: string]: unknown;
|
|
1063
1057
|
};
|
|
1064
1058
|
export type CommandDefinition = {
|
|
1065
|
-
name: "status" | "reconcileSettings" | "disconnect" | "
|
|
1059
|
+
name: "status" | "reconcileSettings" | "disconnect" | "requestObservations" | "sample" | "cancel" | "reboot" | "identify" | "streamObservations" | "selfTest" | "switchEnvironment" | "clearEnvironment" | "listEnvironments" | "updateBattery" | "runBatteryCheck" | "requestPosition" | "enableDiagnostics";
|
|
1066
1060
|
label: string;
|
|
1067
1061
|
description: string;
|
|
1068
1062
|
input: CommandInput;
|
|
@@ -1100,7 +1094,7 @@ export type CommandResponseValue = {
|
|
|
1100
1094
|
commandId: number;
|
|
1101
1095
|
phase: CommandResponseValuePhase;
|
|
1102
1096
|
result: number;
|
|
1103
|
-
|
|
1097
|
+
diagnosticsRemainingSeconds: number;
|
|
1104
1098
|
uptimeSeconds: number;
|
|
1105
1099
|
data: null | CommandResponseValueData;
|
|
1106
1100
|
[key: string]: unknown;
|
|
@@ -1368,8 +1362,8 @@ export type CurrentObservation = ({
|
|
|
1368
1362
|
} & CurrentObservationHealthLastModemFaultCurrent) | ({
|
|
1369
1363
|
type: "health.modemFaultCount";
|
|
1370
1364
|
} & CurrentObservationHealthModemFaultCountCurrent) | ({
|
|
1371
|
-
type: "
|
|
1372
|
-
} &
|
|
1365
|
+
type: "diagnostics.remainingSeconds";
|
|
1366
|
+
} & CurrentObservationDiagnosticsRemainingSecondsCurrent) | ({
|
|
1373
1367
|
type: "health.uptime";
|
|
1374
1368
|
} & CurrentObservationHealthUptimeCurrent) | ({
|
|
1375
1369
|
type: "location.lookupCompleted";
|
|
@@ -1474,14 +1468,8 @@ export type CurrentObservation = ({
|
|
|
1474
1468
|
} & CurrentObservationPowerMqttMsCurrent) | ({
|
|
1475
1469
|
type: "power.psmEntries";
|
|
1476
1470
|
} & CurrentObservationPowerPsmEntriesCurrent) | ({
|
|
1477
|
-
type: "power.psmFallbacks";
|
|
1478
|
-
} & CurrentObservationPowerPsmFallbacksCurrent) | ({
|
|
1479
1471
|
type: "power.psmMs";
|
|
1480
1472
|
} & CurrentObservationPowerPsmMsCurrent) | ({
|
|
1481
|
-
type: "power.responseWindowEntries";
|
|
1482
|
-
} & CurrentObservationPowerResponseWindowEntriesCurrent) | ({
|
|
1483
|
-
type: "power.responseWindowMs";
|
|
1484
|
-
} & CurrentObservationPowerResponseWindowMsCurrent) | ({
|
|
1485
1473
|
type: "power.rrcEntries";
|
|
1486
1474
|
} & CurrentObservationPowerRrcEntriesCurrent) | ({
|
|
1487
1475
|
type: "power.rrcMs";
|
|
@@ -2479,6 +2467,20 @@ export type CurrentObservationDeviceHardwareVersionCurrent = {
|
|
|
2479
2467
|
receivedAt: string;
|
|
2480
2468
|
[key: string]: unknown;
|
|
2481
2469
|
};
|
|
2470
|
+
export type CurrentObservationDiagnosticsRemainingSecondsCurrent = {
|
|
2471
|
+
type: "diagnostics.remainingSeconds";
|
|
2472
|
+
/**
|
|
2473
|
+
* Diagnostics remaining
|
|
2474
|
+
*
|
|
2475
|
+
* Remaining time for configured diagnostic logging and instrumentation, in seconds.
|
|
2476
|
+
*/
|
|
2477
|
+
value: number;
|
|
2478
|
+
deviceId: string;
|
|
2479
|
+
sourceObservationId: string;
|
|
2480
|
+
measuredAt: string;
|
|
2481
|
+
receivedAt: string;
|
|
2482
|
+
[key: string]: unknown;
|
|
2483
|
+
};
|
|
2482
2484
|
export type CurrentObservationEventsLostCurrent = {
|
|
2483
2485
|
type: "events.lost";
|
|
2484
2486
|
/**
|
|
@@ -2904,20 +2906,6 @@ export type CurrentObservationHealthModemFaultCountCurrent = {
|
|
|
2904
2906
|
receivedAt: string;
|
|
2905
2907
|
[key: string]: unknown;
|
|
2906
2908
|
};
|
|
2907
|
-
export type CurrentObservationHealthRemainingOnlineCurrent = {
|
|
2908
|
-
type: "health.remainingOnline";
|
|
2909
|
-
/**
|
|
2910
|
-
* Remaining online time
|
|
2911
|
-
*
|
|
2912
|
-
* Remaining time in the tracker's online window, in seconds.
|
|
2913
|
-
*/
|
|
2914
|
-
value: number;
|
|
2915
|
-
deviceId: string;
|
|
2916
|
-
sourceObservationId: string;
|
|
2917
|
-
measuredAt: string;
|
|
2918
|
-
receivedAt: string;
|
|
2919
|
-
[key: string]: unknown;
|
|
2920
|
-
};
|
|
2921
2909
|
export type CurrentObservationHealthUptimeCurrent = {
|
|
2922
2910
|
type: "health.uptime";
|
|
2923
2911
|
/**
|
|
@@ -3486,7 +3474,7 @@ export type CurrentObservationPowerActivitiesCurrent = {
|
|
|
3486
3474
|
*
|
|
3487
3475
|
* Readable activity state; elapsed counters remain independent and overlap.
|
|
3488
3476
|
*/
|
|
3489
|
-
value: Array<"rrc" | "mqtt" | "
|
|
3477
|
+
value: Array<"rrc" | "mqtt" | "psm" | "esp" | "wifiScan" | "bleScan" | "gnss">;
|
|
3490
3478
|
deviceId: string;
|
|
3491
3479
|
sourceObservationId: string;
|
|
3492
3480
|
measuredAt: string;
|
|
@@ -3647,20 +3635,6 @@ export type CurrentObservationPowerPsmEntriesCurrent = {
|
|
|
3647
3635
|
receivedAt: string;
|
|
3648
3636
|
[key: string]: unknown;
|
|
3649
3637
|
};
|
|
3650
|
-
export type CurrentObservationPowerPsmFallbacksCurrent = {
|
|
3651
|
-
type: "power.psmFallbacks";
|
|
3652
|
-
/**
|
|
3653
|
-
* Power-saving fallback count
|
|
3654
|
-
*
|
|
3655
|
-
* Number of power-saving-mode fallbacks recorded in the power-activity snapshot.
|
|
3656
|
-
*/
|
|
3657
|
-
value: number;
|
|
3658
|
-
deviceId: string;
|
|
3659
|
-
sourceObservationId: string;
|
|
3660
|
-
measuredAt: string;
|
|
3661
|
-
receivedAt: string;
|
|
3662
|
-
[key: string]: unknown;
|
|
3663
|
-
};
|
|
3664
3638
|
export type CurrentObservationPowerPsmMsCurrent = {
|
|
3665
3639
|
type: "power.psmMs";
|
|
3666
3640
|
/**
|
|
@@ -3675,34 +3649,6 @@ export type CurrentObservationPowerPsmMsCurrent = {
|
|
|
3675
3649
|
receivedAt: string;
|
|
3676
3650
|
[key: string]: unknown;
|
|
3677
3651
|
};
|
|
3678
|
-
export type CurrentObservationPowerResponseWindowEntriesCurrent = {
|
|
3679
|
-
type: "power.responseWindowEntries";
|
|
3680
|
-
/**
|
|
3681
|
-
* Command response window entry count
|
|
3682
|
-
*
|
|
3683
|
-
* Number of entries into the command-response window recorded in the power-activity snapshot.
|
|
3684
|
-
*/
|
|
3685
|
-
value: number;
|
|
3686
|
-
deviceId: string;
|
|
3687
|
-
sourceObservationId: string;
|
|
3688
|
-
measuredAt: string;
|
|
3689
|
-
receivedAt: string;
|
|
3690
|
-
[key: string]: unknown;
|
|
3691
|
-
};
|
|
3692
|
-
export type CurrentObservationPowerResponseWindowMsCurrent = {
|
|
3693
|
-
type: "power.responseWindowMs";
|
|
3694
|
-
/**
|
|
3695
|
-
* Command response window total time
|
|
3696
|
-
*
|
|
3697
|
-
* Accumulated time attributed to the command-response window, in milliseconds, in the power-activity snapshot.
|
|
3698
|
-
*/
|
|
3699
|
-
value: number;
|
|
3700
|
-
deviceId: string;
|
|
3701
|
-
sourceObservationId: string;
|
|
3702
|
-
measuredAt: string;
|
|
3703
|
-
receivedAt: string;
|
|
3704
|
-
[key: string]: unknown;
|
|
3705
|
-
};
|
|
3706
3652
|
export type CurrentObservationPowerRrcEntriesCurrent = {
|
|
3707
3653
|
type: "power.rrcEntries";
|
|
3708
3654
|
/**
|
|
@@ -3878,7 +3824,6 @@ export type CurrentObservationWorkCompletedCurrent = {
|
|
|
3878
3824
|
activityEntries: DeviceObservationValuesActivityEntries;
|
|
3879
3825
|
recoveries: DeviceObservationValuesRecoveryCounts;
|
|
3880
3826
|
saturated: boolean;
|
|
3881
|
-
mode: number;
|
|
3882
3827
|
[key: string]: unknown;
|
|
3883
3828
|
};
|
|
3884
3829
|
deviceId: string;
|
|
@@ -3896,7 +3841,6 @@ export type CurrentObservationWorkflowExecutionCurrent = {
|
|
|
3896
3841
|
*/
|
|
3897
3842
|
value: {
|
|
3898
3843
|
workflowVersion: number;
|
|
3899
|
-
mode: number;
|
|
3900
3844
|
state: string;
|
|
3901
3845
|
owner: "workflow" | "command" | "update" | "recovery" | "shutdown" | "fault" | "settings" | "charging" | "ble" | "network";
|
|
3902
3846
|
phase: "entered" | "completed" | "cancelled" | "ownerChanged" | "snapshot";
|
|
@@ -3904,7 +3848,7 @@ export type CurrentObservationWorkflowExecutionCurrent = {
|
|
|
3904
3848
|
durationMs: number | null;
|
|
3905
3849
|
error: number | null;
|
|
3906
3850
|
waitReason: "resource" | "command" | "update" | "configuration" | "rest" | "network" | null;
|
|
3907
|
-
operation: "capture" | "mqttOpen" | "publish" | "
|
|
3851
|
+
operation: "capture" | "mqttOpen" | "publish" | "modemOnline" | "modemEdrx" | "modemOffline" | "disconnectMqtt" | "prepareConnection" | "connect" | null;
|
|
3908
3852
|
[key: string]: unknown;
|
|
3909
3853
|
};
|
|
3910
3854
|
deviceId: string;
|
|
@@ -4547,11 +4491,11 @@ export type DeviceObservationValues = {
|
|
|
4547
4491
|
*/
|
|
4548
4492
|
"health.modemFaultCount"?: number;
|
|
4549
4493
|
/**
|
|
4550
|
-
*
|
|
4494
|
+
* Diagnostics remaining
|
|
4551
4495
|
*
|
|
4552
|
-
* Remaining time
|
|
4496
|
+
* Remaining time for configured diagnostic logging and instrumentation, in seconds.
|
|
4553
4497
|
*/
|
|
4554
|
-
"
|
|
4498
|
+
"diagnostics.remainingSeconds"?: number;
|
|
4555
4499
|
/**
|
|
4556
4500
|
* Device uptime
|
|
4557
4501
|
*
|
|
@@ -4828,7 +4772,7 @@ export type DeviceObservationValues = {
|
|
|
4828
4772
|
*
|
|
4829
4773
|
* Readable activity state; elapsed counters remain independent and overlap.
|
|
4830
4774
|
*/
|
|
4831
|
-
"power.activities"?: Array<"rrc" | "mqtt" | "
|
|
4775
|
+
"power.activities"?: Array<"rrc" | "mqtt" | "psm" | "esp" | "wifiScan" | "bleScan" | "gnss">;
|
|
4832
4776
|
/**
|
|
4833
4777
|
* Bluetooth scanning entry count
|
|
4834
4778
|
*
|
|
@@ -4911,30 +4855,12 @@ export type DeviceObservationValues = {
|
|
|
4911
4855
|
* Number of entries into modem power-saving mode recorded in the power-activity snapshot.
|
|
4912
4856
|
*/
|
|
4913
4857
|
"power.psmEntries"?: number;
|
|
4914
|
-
/**
|
|
4915
|
-
* Power-saving fallback count
|
|
4916
|
-
*
|
|
4917
|
-
* Number of power-saving-mode fallbacks recorded in the power-activity snapshot.
|
|
4918
|
-
*/
|
|
4919
|
-
"power.psmFallbacks"?: number;
|
|
4920
4858
|
/**
|
|
4921
4859
|
* Modem power saving total time
|
|
4922
4860
|
*
|
|
4923
4861
|
* Accumulated time attributed to modem power-saving mode, in milliseconds, in the power-activity snapshot.
|
|
4924
4862
|
*/
|
|
4925
4863
|
"power.psmMs"?: number;
|
|
4926
|
-
/**
|
|
4927
|
-
* Command response window entry count
|
|
4928
|
-
*
|
|
4929
|
-
* Number of entries into the command-response window recorded in the power-activity snapshot.
|
|
4930
|
-
*/
|
|
4931
|
-
"power.responseWindowEntries"?: number;
|
|
4932
|
-
/**
|
|
4933
|
-
* Command response window total time
|
|
4934
|
-
*
|
|
4935
|
-
* Accumulated time attributed to the command-response window, in milliseconds, in the power-activity snapshot.
|
|
4936
|
-
*/
|
|
4937
|
-
"power.responseWindowMs"?: number;
|
|
4938
4864
|
/**
|
|
4939
4865
|
* Cellular radio entry count
|
|
4940
4866
|
*
|
|
@@ -5014,7 +4940,6 @@ export type DeviceObservationValues = {
|
|
|
5014
4940
|
activityEntries: DeviceObservationValuesActivityEntries;
|
|
5015
4941
|
recoveries: DeviceObservationValuesRecoveryCounts;
|
|
5016
4942
|
saturated: boolean;
|
|
5017
|
-
mode: number;
|
|
5018
4943
|
[key: string]: unknown;
|
|
5019
4944
|
};
|
|
5020
4945
|
/**
|
|
@@ -5024,7 +4949,6 @@ export type DeviceObservationValues = {
|
|
|
5024
4949
|
*/
|
|
5025
4950
|
"workflow.execution"?: {
|
|
5026
4951
|
workflowVersion: number;
|
|
5027
|
-
mode: number;
|
|
5028
4952
|
state: string;
|
|
5029
4953
|
owner: "workflow" | "command" | "update" | "recovery" | "shutdown" | "fault" | "settings" | "charging" | "ble" | "network";
|
|
5030
4954
|
phase: "entered" | "completed" | "cancelled" | "ownerChanged" | "snapshot";
|
|
@@ -5032,7 +4956,7 @@ export type DeviceObservationValues = {
|
|
|
5032
4956
|
durationMs: number | null;
|
|
5033
4957
|
error: number | null;
|
|
5034
4958
|
waitReason: "resource" | "command" | "update" | "configuration" | "rest" | "network" | null;
|
|
5035
|
-
operation: "capture" | "mqttOpen" | "publish" | "
|
|
4959
|
+
operation: "capture" | "mqttOpen" | "publish" | "modemOnline" | "modemEdrx" | "modemOffline" | "disconnectMqtt" | "prepareConnection" | "connect" | null;
|
|
5036
4960
|
[key: string]: unknown;
|
|
5037
4961
|
};
|
|
5038
4962
|
/**
|
|
@@ -5120,7 +5044,6 @@ export type DeviceObservationValues = {
|
|
|
5120
5044
|
export type DeviceObservationValuesActivityDurations = {
|
|
5121
5045
|
rrc: number;
|
|
5122
5046
|
mqtt: number;
|
|
5123
|
-
responseWindow: number;
|
|
5124
5047
|
psm: number;
|
|
5125
5048
|
esp: number;
|
|
5126
5049
|
wifiScan: number;
|
|
@@ -5131,7 +5054,6 @@ export type DeviceObservationValuesActivityDurations = {
|
|
|
5131
5054
|
export type DeviceObservationValuesActivityEntries = {
|
|
5132
5055
|
rrc: number;
|
|
5133
5056
|
mqtt: number;
|
|
5134
|
-
responseWindow: number;
|
|
5135
5057
|
psm: number;
|
|
5136
5058
|
esp: number;
|
|
5137
5059
|
wifiScan: number;
|
|
@@ -5352,7 +5274,6 @@ export type DeviceObservationValuesRecoveryCounts = {
|
|
|
5352
5274
|
espRecoveries: number;
|
|
5353
5275
|
wifiTimeouts: number;
|
|
5354
5276
|
bleTimeouts: number;
|
|
5355
|
-
psmFallbacks: number;
|
|
5356
5277
|
[key: string]: unknown;
|
|
5357
5278
|
};
|
|
5358
5279
|
export type DeviceObservationValuesRegisterReading = {
|
|
@@ -5591,65 +5512,17 @@ export type DeviceSettings = {
|
|
|
5591
5512
|
*/
|
|
5592
5513
|
bleAdvertisingIntervalUnits?: number;
|
|
5593
5514
|
/**
|
|
5594
|
-
*
|
|
5595
|
-
*
|
|
5596
|
-
* 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.
|
|
5597
|
-
*/
|
|
5598
|
-
mode?: number;
|
|
5599
|
-
/**
|
|
5600
|
-
* Powered report interval
|
|
5601
|
-
*
|
|
5602
|
-
* Period between tracking reports on confirmed external power.
|
|
5603
|
-
*/
|
|
5604
|
-
poweredReportIntervalSeconds?: number;
|
|
5605
|
-
/**
|
|
5606
|
-
* Mode 0 idle duration
|
|
5607
|
-
*
|
|
5608
|
-
* Maximum battery idle duration after a mode 0 cycle, measured from the end of work.
|
|
5609
|
-
*/
|
|
5610
|
-
mode0IdleSeconds?: number;
|
|
5611
|
-
/**
|
|
5612
|
-
* Mode 1 idle duration
|
|
5613
|
-
*
|
|
5614
|
-
* Maximum battery idle duration after a mode 1 cycle, measured from the end of work.
|
|
5615
|
-
*/
|
|
5616
|
-
mode1IdleSeconds?: number;
|
|
5617
|
-
/**
|
|
5618
|
-
* Mode 2 idle duration
|
|
5619
|
-
*
|
|
5620
|
-
* Maximum battery idle duration after a mode 2 cycle, measured from the end of work.
|
|
5621
|
-
*/
|
|
5622
|
-
mode2IdleSeconds?: number;
|
|
5623
|
-
/**
|
|
5624
|
-
* Mode 0 minimum rest
|
|
5625
|
-
*
|
|
5626
|
-
* Duration after a mode 0 cycle with the accelerometer and its wake interrupt disabled. Firmware re-enables motion detection when this period ends.
|
|
5627
|
-
*/
|
|
5628
|
-
mode0MinimumRestSeconds?: number;
|
|
5629
|
-
/**
|
|
5630
|
-
* Mode 1 minimum rest
|
|
5515
|
+
* Connected report interval
|
|
5631
5516
|
*
|
|
5632
|
-
*
|
|
5517
|
+
* Period between battery and status reports while the tracker maintains its connection. These reports do not initiate positioning scans.
|
|
5633
5518
|
*/
|
|
5634
|
-
|
|
5519
|
+
connectedReportIntervalSeconds?: number;
|
|
5635
5520
|
/**
|
|
5636
|
-
*
|
|
5521
|
+
* Movement cooldown
|
|
5637
5522
|
*
|
|
5638
|
-
*
|
|
5523
|
+
* Time after an accepted movement detection with the accelerometer and its wake interrupt disabled. Positioning, reports and reconnects do not restart the cooldown.
|
|
5639
5524
|
*/
|
|
5640
|
-
|
|
5641
|
-
/**
|
|
5642
|
-
* PSM residence
|
|
5643
|
-
*
|
|
5644
|
-
* Maximum idle time in PSM before setting the modem offline; capped by the existing idle deadline.
|
|
5645
|
-
*/
|
|
5646
|
-
psmResidenceSeconds?: number;
|
|
5647
|
-
/**
|
|
5648
|
-
* Tracking command window
|
|
5649
|
-
*
|
|
5650
|
-
* Time to keep an existing connection available after a battery tracking report.
|
|
5651
|
-
*/
|
|
5652
|
-
commandListenSeconds?: number;
|
|
5525
|
+
movementCooldownSeconds?: number;
|
|
5653
5526
|
/**
|
|
5654
5527
|
* GNSS search timeout
|
|
5655
5528
|
*
|
|
@@ -5662,18 +5535,6 @@ export type DeviceSettings = {
|
|
|
5662
5535
|
* Requested paging cycle; zero disables eDRX. Network-granted values can differ.
|
|
5663
5536
|
*/
|
|
5664
5537
|
edrxCycleMilliseconds?: 0 | 20480 | 40960 | 81920 | 163840 | 327680 | 655360 | 1310720 | 2621440;
|
|
5665
|
-
/**
|
|
5666
|
-
* Requested PSM TAU
|
|
5667
|
-
*
|
|
5668
|
-
* Requested periodic registration-update interval.
|
|
5669
|
-
*/
|
|
5670
|
-
psmTauSeconds?: number;
|
|
5671
|
-
/**
|
|
5672
|
-
* Requested PSM active time
|
|
5673
|
-
*
|
|
5674
|
-
* Requested active time before the modem enters PSM.
|
|
5675
|
-
*/
|
|
5676
|
-
psmActiveSeconds?: number;
|
|
5677
5538
|
/**
|
|
5678
5539
|
* Automatic diagnostic power policy
|
|
5679
5540
|
*
|
|
@@ -6018,104 +5879,6 @@ export type HistoryPage = {
|
|
|
6018
5879
|
nextCursor: null | string;
|
|
6019
5880
|
[key: string]: unknown;
|
|
6020
5881
|
};
|
|
6021
|
-
export type InsuranceAddress = {
|
|
6022
|
-
line1: string;
|
|
6023
|
-
line2: string;
|
|
6024
|
-
town: string;
|
|
6025
|
-
postcode: string;
|
|
6026
|
-
[key: string]: unknown;
|
|
6027
|
-
};
|
|
6028
|
-
export type InsuranceAttemptData = {
|
|
6029
|
-
attemptId?: null | string;
|
|
6030
|
-
referenceNo?: null | string;
|
|
6031
|
-
contractId?: null | string;
|
|
6032
|
-
country?: null | string;
|
|
6033
|
-
iterator?: null | number;
|
|
6034
|
-
state?: null | string;
|
|
6035
|
-
resolved?: null | boolean;
|
|
6036
|
-
timestamp?: null | string;
|
|
6037
|
-
request?: null | InsurancePolicyRequest;
|
|
6038
|
-
tier?: null | InsuranceTier;
|
|
6039
|
-
maxBikeValue?: null | number;
|
|
6040
|
-
result?: null | InsuranceResult;
|
|
6041
|
-
[key: string]: unknown;
|
|
6042
|
-
};
|
|
6043
|
-
export type InsuranceAttemptDocument = {
|
|
6044
|
-
id: string;
|
|
6045
|
-
revision: string;
|
|
6046
|
-
createdAt: string;
|
|
6047
|
-
updatedAt: string;
|
|
6048
|
-
data: InsuranceAttemptData;
|
|
6049
|
-
[key: string]: unknown;
|
|
6050
|
-
};
|
|
6051
|
-
export type InsuranceAttemptPage = {
|
|
6052
|
-
items: Array<InsuranceAttemptDocument>;
|
|
6053
|
-
nextCursor: null | string;
|
|
6054
|
-
[key: string]: unknown;
|
|
6055
|
-
};
|
|
6056
|
-
export type InsuranceContractData = {
|
|
6057
|
-
id?: null | string;
|
|
6058
|
-
country?: null | string;
|
|
6059
|
-
iterator?: null | number;
|
|
6060
|
-
referenceNo?: null | string;
|
|
6061
|
-
timestamp?: null | string;
|
|
6062
|
-
cancelled?: null | boolean;
|
|
6063
|
-
policyCode?: null | PolicyCode;
|
|
6064
|
-
tier?: null | InsuranceTier;
|
|
6065
|
-
delivery?: null | InsuranceDelivery;
|
|
6066
|
-
[key: string]: unknown;
|
|
6067
|
-
};
|
|
6068
|
-
export type InsuranceContractDocument = {
|
|
6069
|
-
id: string;
|
|
6070
|
-
revision: string;
|
|
6071
|
-
createdAt: string;
|
|
6072
|
-
updatedAt: string;
|
|
6073
|
-
data: InsuranceContractData;
|
|
6074
|
-
[key: string]: unknown;
|
|
6075
|
-
};
|
|
6076
|
-
export type InsuranceContractPage = {
|
|
6077
|
-
items: Array<InsuranceContractDocument>;
|
|
6078
|
-
nextCursor: null | string;
|
|
6079
|
-
[key: string]: unknown;
|
|
6080
|
-
};
|
|
6081
|
-
export type InsuranceCustomer = {
|
|
6082
|
-
title: string;
|
|
6083
|
-
firstname: string;
|
|
6084
|
-
lastname: string;
|
|
6085
|
-
email: string;
|
|
6086
|
-
dob: string;
|
|
6087
|
-
phone: string;
|
|
6088
|
-
address: InsuranceAddress;
|
|
6089
|
-
[key: string]: unknown;
|
|
6090
|
-
};
|
|
6091
|
-
export type InsuranceCycle = {
|
|
6092
|
-
value: number;
|
|
6093
|
-
[key: string]: unknown;
|
|
6094
|
-
};
|
|
6095
|
-
export type InsuranceDelivery = {
|
|
6096
|
-
status: string;
|
|
6097
|
-
schedule: string;
|
|
6098
|
-
customer: InsuranceCustomer;
|
|
6099
|
-
[key: string]: unknown;
|
|
6100
|
-
};
|
|
6101
|
-
export type InsurancePolicy = {
|
|
6102
|
-
cycles: Array<InsuranceCycle>;
|
|
6103
|
-
startDate: string;
|
|
6104
|
-
bfSubscriptionId: string;
|
|
6105
|
-
bfReference: string;
|
|
6106
|
-
[key: string]: unknown;
|
|
6107
|
-
};
|
|
6108
|
-
export type InsurancePolicyRequest = {
|
|
6109
|
-
customer: InsuranceCustomer;
|
|
6110
|
-
policy: InsurancePolicy;
|
|
6111
|
-
[key: string]: unknown;
|
|
6112
|
-
};
|
|
6113
|
-
export type InsuranceResult = {
|
|
6114
|
-
policyCode: PolicyCode;
|
|
6115
|
-
schedule: string;
|
|
6116
|
-
[key: string]: unknown;
|
|
6117
|
-
};
|
|
6118
|
-
export type InsuranceTier = string | number;
|
|
6119
5882
|
export type InventoryMemberValue = {
|
|
6120
5883
|
slot: number;
|
|
6121
5884
|
hardwareId: null | string;
|
|
@@ -6217,6 +5980,9 @@ export type ModuleTimingValue = {
|
|
|
6217
5980
|
maximumMs: number;
|
|
6218
5981
|
[key: string]: unknown;
|
|
6219
5982
|
};
|
|
5983
|
+
export type MovementAlertPreference = {
|
|
5984
|
+
enabled: boolean;
|
|
5985
|
+
};
|
|
6220
5986
|
export type MovementDetectedValue = {
|
|
6221
5987
|
[key: string]: unknown;
|
|
6222
5988
|
};
|
|
@@ -6430,8 +6196,8 @@ export type Observation = ({
|
|
|
6430
6196
|
} & ObservationHealthLastModemFaultObservation) | ({
|
|
6431
6197
|
type: "health.modemFaultCount";
|
|
6432
6198
|
} & ObservationHealthModemFaultCountObservation) | ({
|
|
6433
|
-
type: "
|
|
6434
|
-
} &
|
|
6199
|
+
type: "diagnostics.remainingSeconds";
|
|
6200
|
+
} & ObservationDiagnosticsRemainingSecondsObservation) | ({
|
|
6435
6201
|
type: "health.uptime";
|
|
6436
6202
|
} & ObservationHealthUptimeObservation) | ({
|
|
6437
6203
|
type: "location.lookupCompleted";
|
|
@@ -6536,14 +6302,8 @@ export type Observation = ({
|
|
|
6536
6302
|
} & ObservationPowerMqttMsObservation) | ({
|
|
6537
6303
|
type: "power.psmEntries";
|
|
6538
6304
|
} & ObservationPowerPsmEntriesObservation) | ({
|
|
6539
|
-
type: "power.psmFallbacks";
|
|
6540
|
-
} & ObservationPowerPsmFallbacksObservation) | ({
|
|
6541
6305
|
type: "power.psmMs";
|
|
6542
6306
|
} & ObservationPowerPsmMsObservation) | ({
|
|
6543
|
-
type: "power.responseWindowEntries";
|
|
6544
|
-
} & ObservationPowerResponseWindowEntriesObservation) | ({
|
|
6545
|
-
type: "power.responseWindowMs";
|
|
6546
|
-
} & ObservationPowerResponseWindowMsObservation) | ({
|
|
6547
6307
|
type: "power.rrcEntries";
|
|
6548
6308
|
} & ObservationPowerRrcEntriesObservation) | ({
|
|
6549
6309
|
type: "power.rrcMs";
|
|
@@ -7595,6 +7355,21 @@ export type ObservationDeviceHardwareVersionObservation = {
|
|
|
7595
7355
|
measuredAt: string;
|
|
7596
7356
|
[key: string]: unknown;
|
|
7597
7357
|
};
|
|
7358
|
+
export type ObservationDiagnosticsRemainingSecondsObservation = {
|
|
7359
|
+
type: "diagnostics.remainingSeconds";
|
|
7360
|
+
/**
|
|
7361
|
+
* Diagnostics remaining
|
|
7362
|
+
*
|
|
7363
|
+
* Remaining time for configured diagnostic logging and instrumentation, in seconds.
|
|
7364
|
+
*/
|
|
7365
|
+
value: number;
|
|
7366
|
+
deviceId: string;
|
|
7367
|
+
observationId: string;
|
|
7368
|
+
receivedAt: string;
|
|
7369
|
+
ageMs: number;
|
|
7370
|
+
measuredAt: string;
|
|
7371
|
+
[key: string]: unknown;
|
|
7372
|
+
};
|
|
7598
7373
|
export type ObservationEventsLostObservation = {
|
|
7599
7374
|
type: "events.lost";
|
|
7600
7375
|
/**
|
|
@@ -8047,21 +7822,6 @@ export type ObservationHealthModemFaultCountObservation = {
|
|
|
8047
7822
|
measuredAt: string;
|
|
8048
7823
|
[key: string]: unknown;
|
|
8049
7824
|
};
|
|
8050
|
-
export type ObservationHealthRemainingOnlineObservation = {
|
|
8051
|
-
type: "health.remainingOnline";
|
|
8052
|
-
/**
|
|
8053
|
-
* Remaining online time
|
|
8054
|
-
*
|
|
8055
|
-
* Remaining time in the tracker's online window, in seconds.
|
|
8056
|
-
*/
|
|
8057
|
-
value: number;
|
|
8058
|
-
deviceId: string;
|
|
8059
|
-
observationId: string;
|
|
8060
|
-
receivedAt: string;
|
|
8061
|
-
ageMs: number;
|
|
8062
|
-
measuredAt: string;
|
|
8063
|
-
[key: string]: unknown;
|
|
8064
|
-
};
|
|
8065
7825
|
export type ObservationHealthUptimeObservation = {
|
|
8066
7826
|
type: "health.uptime";
|
|
8067
7827
|
/**
|
|
@@ -8667,7 +8427,7 @@ export type ObservationPowerActivitiesObservation = {
|
|
|
8667
8427
|
*
|
|
8668
8428
|
* Readable activity state; elapsed counters remain independent and overlap.
|
|
8669
8429
|
*/
|
|
8670
|
-
value: Array<"rrc" | "mqtt" | "
|
|
8430
|
+
value: Array<"rrc" | "mqtt" | "psm" | "esp" | "wifiScan" | "bleScan" | "gnss">;
|
|
8671
8431
|
deviceId: string;
|
|
8672
8432
|
observationId: string;
|
|
8673
8433
|
receivedAt: string;
|
|
@@ -8840,21 +8600,6 @@ export type ObservationPowerPsmEntriesObservation = {
|
|
|
8840
8600
|
measuredAt: string;
|
|
8841
8601
|
[key: string]: unknown;
|
|
8842
8602
|
};
|
|
8843
|
-
export type ObservationPowerPsmFallbacksObservation = {
|
|
8844
|
-
type: "power.psmFallbacks";
|
|
8845
|
-
/**
|
|
8846
|
-
* Power-saving fallback count
|
|
8847
|
-
*
|
|
8848
|
-
* Number of power-saving-mode fallbacks recorded in the power-activity snapshot.
|
|
8849
|
-
*/
|
|
8850
|
-
value: number;
|
|
8851
|
-
deviceId: string;
|
|
8852
|
-
observationId: string;
|
|
8853
|
-
receivedAt: string;
|
|
8854
|
-
ageMs: number;
|
|
8855
|
-
measuredAt: string;
|
|
8856
|
-
[key: string]: unknown;
|
|
8857
|
-
};
|
|
8858
8603
|
export type ObservationPowerPsmMsObservation = {
|
|
8859
8604
|
type: "power.psmMs";
|
|
8860
8605
|
/**
|
|
@@ -8870,36 +8615,6 @@ export type ObservationPowerPsmMsObservation = {
|
|
|
8870
8615
|
measuredAt: string;
|
|
8871
8616
|
[key: string]: unknown;
|
|
8872
8617
|
};
|
|
8873
|
-
export type ObservationPowerResponseWindowEntriesObservation = {
|
|
8874
|
-
type: "power.responseWindowEntries";
|
|
8875
|
-
/**
|
|
8876
|
-
* Command response window entry count
|
|
8877
|
-
*
|
|
8878
|
-
* Number of entries into the command-response window recorded in the power-activity snapshot.
|
|
8879
|
-
*/
|
|
8880
|
-
value: number;
|
|
8881
|
-
deviceId: string;
|
|
8882
|
-
observationId: string;
|
|
8883
|
-
receivedAt: string;
|
|
8884
|
-
ageMs: number;
|
|
8885
|
-
measuredAt: string;
|
|
8886
|
-
[key: string]: unknown;
|
|
8887
|
-
};
|
|
8888
|
-
export type ObservationPowerResponseWindowMsObservation = {
|
|
8889
|
-
type: "power.responseWindowMs";
|
|
8890
|
-
/**
|
|
8891
|
-
* Command response window total time
|
|
8892
|
-
*
|
|
8893
|
-
* Accumulated time attributed to the command-response window, in milliseconds, in the power-activity snapshot.
|
|
8894
|
-
*/
|
|
8895
|
-
value: number;
|
|
8896
|
-
deviceId: string;
|
|
8897
|
-
observationId: string;
|
|
8898
|
-
receivedAt: string;
|
|
8899
|
-
ageMs: number;
|
|
8900
|
-
measuredAt: string;
|
|
8901
|
-
[key: string]: unknown;
|
|
8902
|
-
};
|
|
8903
8618
|
export type ObservationPowerRrcEntriesObservation = {
|
|
8904
8619
|
type: "power.rrcEntries";
|
|
8905
8620
|
/**
|
|
@@ -9035,6 +8750,10 @@ export type ObservationRadioWifiAccessPointsObservation = {
|
|
|
9035
8750
|
measuredAt: string;
|
|
9036
8751
|
[key: string]: unknown;
|
|
9037
8752
|
};
|
|
8753
|
+
export type ObservationSeries = {
|
|
8754
|
+
definitionId: number;
|
|
8755
|
+
subject?: null | string;
|
|
8756
|
+
};
|
|
9038
8757
|
export type ObservationSystemBootedObservation = {
|
|
9039
8758
|
type: "system.booted";
|
|
9040
8759
|
/**
|
|
@@ -9086,7 +8805,6 @@ export type ObservationWorkCompletedObservation = {
|
|
|
9086
8805
|
activityEntries: DeviceObservationValuesActivityEntries;
|
|
9087
8806
|
recoveries: DeviceObservationValuesRecoveryCounts;
|
|
9088
8807
|
saturated: boolean;
|
|
9089
|
-
mode: number;
|
|
9090
8808
|
[key: string]: unknown;
|
|
9091
8809
|
};
|
|
9092
8810
|
deviceId: string;
|
|
@@ -9105,7 +8823,6 @@ export type ObservationWorkflowExecutionObservation = {
|
|
|
9105
8823
|
*/
|
|
9106
8824
|
value: {
|
|
9107
8825
|
workflowVersion: number;
|
|
9108
|
-
mode: number;
|
|
9109
8826
|
state: string;
|
|
9110
8827
|
owner: "workflow" | "command" | "update" | "recovery" | "shutdown" | "fault" | "settings" | "charging" | "ble" | "network";
|
|
9111
8828
|
phase: "entered" | "completed" | "cancelled" | "ownerChanged" | "snapshot";
|
|
@@ -9113,7 +8830,7 @@ export type ObservationWorkflowExecutionObservation = {
|
|
|
9113
8830
|
durationMs: number | null;
|
|
9114
8831
|
error: number | null;
|
|
9115
8832
|
waitReason: "resource" | "command" | "update" | "configuration" | "rest" | "network" | null;
|
|
9116
|
-
operation: "capture" | "mqttOpen" | "publish" | "
|
|
8833
|
+
operation: "capture" | "mqttOpen" | "publish" | "modemOnline" | "modemEdrx" | "modemOffline" | "disconnectMqtt" | "prepareConnection" | "connect" | null;
|
|
9117
8834
|
[key: string]: unknown;
|
|
9118
8835
|
};
|
|
9119
8836
|
deviceId: string;
|
|
@@ -9185,7 +8902,6 @@ export type PhotoPage = {
|
|
|
9185
8902
|
nextCursor: null | string;
|
|
9186
8903
|
[key: string]: unknown;
|
|
9187
8904
|
};
|
|
9188
|
-
export type PolicyCode = string | number;
|
|
9189
8905
|
export type PositionGnssFixValue = {
|
|
9190
8906
|
coordinates: CoordinatesValue;
|
|
9191
8907
|
accuracy: number | "NaN" | "Infinity" | "-Infinity";
|
|
@@ -9193,7 +8909,25 @@ export type PositionGnssFixValue = {
|
|
|
9193
8909
|
quality: null | FixQualityValue;
|
|
9194
8910
|
[key: string]: unknown;
|
|
9195
8911
|
};
|
|
9196
|
-
export type
|
|
8912
|
+
export type PositioningSchedule = {
|
|
8913
|
+
enabled: boolean;
|
|
8914
|
+
intervalSeconds: number;
|
|
8915
|
+
};
|
|
8916
|
+
export type PositioningView = {
|
|
8917
|
+
deviceId: string;
|
|
8918
|
+
version: number;
|
|
8919
|
+
schedule: ReadPositioningSchedule;
|
|
8920
|
+
nextDueAt: null | string;
|
|
8921
|
+
requestId: null | number;
|
|
8922
|
+
status: string;
|
|
8923
|
+
requestedAt: null | string;
|
|
8924
|
+
expiresAt: null | string;
|
|
8925
|
+
[key: string]: unknown;
|
|
8926
|
+
};
|
|
8927
|
+
export type PositionRequest = {
|
|
8928
|
+
operationId: string;
|
|
8929
|
+
};
|
|
8930
|
+
export type PowerActivitiesValueItem = "rrc" | "mqtt" | "psm" | "esp" | "wifiScan" | "bleScan" | "gnss";
|
|
9197
8931
|
export type PreferenceMapStyle = "minimal" | "satellite";
|
|
9198
8932
|
export type PreferencePatch = {
|
|
9199
8933
|
alarm?: PatchFieldOfboolean;
|
|
@@ -9215,7 +8949,6 @@ export type RecoveryCountsValue = {
|
|
|
9215
8949
|
espRecoveries: number;
|
|
9216
8950
|
wifiTimeouts: number;
|
|
9217
8951
|
bleTimeouts: number;
|
|
9218
|
-
psmFallbacks: number;
|
|
9219
8952
|
[key: string]: unknown;
|
|
9220
8953
|
};
|
|
9221
8954
|
export type RedeemInvitation = {
|
|
@@ -9232,9 +8965,6 @@ export type ReportFirmwareAttempt = {
|
|
|
9232
8965
|
attemptId: string;
|
|
9233
8966
|
outcome: CustomerFirmwareReportOutcome;
|
|
9234
8967
|
};
|
|
9235
|
-
export type RequestedMode = {
|
|
9236
|
-
mode: string;
|
|
9237
|
-
};
|
|
9238
8968
|
export type ResetContextValue = {
|
|
9239
8969
|
sequence: number;
|
|
9240
8970
|
controllerPhase: number;
|
|
@@ -9311,7 +9041,6 @@ export type StaffSubscriptionData = {
|
|
|
9311
9041
|
managementUrl?: null | string;
|
|
9312
9042
|
country?: null | string;
|
|
9313
9043
|
isDemo?: null | boolean;
|
|
9314
|
-
tier?: null | InsuranceTier;
|
|
9315
9044
|
type?: null | string;
|
|
9316
9045
|
deleted?: null | boolean;
|
|
9317
9046
|
[key: string]: unknown;
|
|
@@ -9350,7 +9079,6 @@ export type SubscriptionData = {
|
|
|
9350
9079
|
managementUrl?: null | string;
|
|
9351
9080
|
country?: null | string;
|
|
9352
9081
|
isDemo?: null | boolean;
|
|
9353
|
-
tier?: null | InsuranceTier;
|
|
9354
9082
|
type?: null | string;
|
|
9355
9083
|
deleted?: null | boolean;
|
|
9356
9084
|
[key: string]: unknown;
|
|
@@ -9453,7 +9181,7 @@ export type TrackerDataBikeInfo = {
|
|
|
9453
9181
|
[key: string]: unknown;
|
|
9454
9182
|
};
|
|
9455
9183
|
export type TrackerDataConfig = {
|
|
9456
|
-
|
|
9184
|
+
movementAlerts?: null | boolean;
|
|
9457
9185
|
isBlacklisted?: null | boolean;
|
|
9458
9186
|
enableBlePinChange?: null | boolean;
|
|
9459
9187
|
[key: string]: unknown;
|
|
@@ -9483,7 +9211,6 @@ export type TrackerDataSubscription = {
|
|
|
9483
9211
|
isActive?: null | boolean;
|
|
9484
9212
|
isDemo?: null | boolean;
|
|
9485
9213
|
status?: null | string;
|
|
9486
|
-
tier?: null | TextOrNumber;
|
|
9487
9214
|
country?: null | string;
|
|
9488
9215
|
endTime?: null | string;
|
|
9489
9216
|
timestamp?: null | string;
|
|
@@ -9595,10 +9322,6 @@ export type TrackerLookup = {
|
|
|
9595
9322
|
claimable: boolean;
|
|
9596
9323
|
[key: string]: unknown;
|
|
9597
9324
|
};
|
|
9598
|
-
export type TrackerModesSnapshot = {
|
|
9599
|
-
modes: Array<string>;
|
|
9600
|
-
[key: string]: unknown;
|
|
9601
|
-
};
|
|
9602
9325
|
export type TrackerOperationStatistics = {
|
|
9603
9326
|
count?: null | number;
|
|
9604
9327
|
successCount?: null | number;
|
|
@@ -9714,7 +9437,6 @@ export type WorkCompletedValue = {
|
|
|
9714
9437
|
activityEntries: ActivityEntriesValue;
|
|
9715
9438
|
recoveries: RecoveryCountsValue;
|
|
9716
9439
|
saturated: boolean;
|
|
9717
|
-
mode: number;
|
|
9718
9440
|
[key: string]: unknown;
|
|
9719
9441
|
};
|
|
9720
9442
|
export type WorkCompletedValueTrigger = "boot" | "timer" | "movement" | "command";
|
|
@@ -9726,7 +9448,6 @@ export type WorkExecutionData = {
|
|
|
9726
9448
|
};
|
|
9727
9449
|
export type WorkflowExecutionValue = {
|
|
9728
9450
|
workflowVersion: number;
|
|
9729
|
-
mode: number;
|
|
9730
9451
|
state: WorkflowExecutionValueState;
|
|
9731
9452
|
owner: WorkflowExecutionValueOwner;
|
|
9732
9453
|
phase: WorkflowExecutionValuePhase;
|
|
@@ -9737,17 +9458,12 @@ export type WorkflowExecutionValue = {
|
|
|
9737
9458
|
operation: null | WorkflowExecutionValueOperation;
|
|
9738
9459
|
[key: string]: unknown;
|
|
9739
9460
|
};
|
|
9740
|
-
export type WorkflowExecutionValueOperation = "capture" | "mqttOpen" | "publish" | "
|
|
9461
|
+
export type WorkflowExecutionValueOperation = "capture" | "mqttOpen" | "publish" | "modemOnline" | "modemEdrx" | "modemOffline" | "disconnectMqtt" | "prepareConnection" | "connect";
|
|
9741
9462
|
export type WorkflowExecutionValueOutcome = "done" | "unavailable" | "failed" | "timeout" | "cancelled";
|
|
9742
9463
|
export type WorkflowExecutionValueOwner = "workflow" | "command" | "update" | "recovery" | "shutdown" | "fault" | "settings" | "charging" | "ble" | "network";
|
|
9743
9464
|
export type WorkflowExecutionValuePhase = "entered" | "completed" | "cancelled" | "ownerChanged" | "snapshot";
|
|
9744
|
-
export type WorkflowExecutionValueState = "idle" | "battery" | "connect" | "
|
|
9465
|
+
export type WorkflowExecutionValueState = "idle" | "battery" | "connect" | "publish";
|
|
9745
9466
|
export type WorkflowExecutionValueWaitReason = "resource" | "command" | "update" | "configuration" | "rest" | "network";
|
|
9746
|
-
export type ReadAwsObservationSeries = {
|
|
9747
|
-
definitionId: number;
|
|
9748
|
-
subject?: null | string;
|
|
9749
|
-
[key: string]: unknown;
|
|
9750
|
-
};
|
|
9751
9467
|
export type ReadCustomerFirmwareReportOutcome = "transferFailed" | "targetVersionObserved";
|
|
9752
9468
|
export type ReadDeviceSettings = {
|
|
9753
9469
|
/**
|
|
@@ -9937,127 +9653,67 @@ export type ReadDeviceSettings = {
|
|
|
9937
9653
|
*/
|
|
9938
9654
|
bleAdvertisingIntervalUnits?: number;
|
|
9939
9655
|
/**
|
|
9940
|
-
*
|
|
9656
|
+
* Connected report interval
|
|
9941
9657
|
*
|
|
9942
|
-
*
|
|
9658
|
+
* Period between battery and status reports while the tracker maintains its connection. These reports do not initiate positioning scans.
|
|
9943
9659
|
*/
|
|
9944
|
-
|
|
9660
|
+
connectedReportIntervalSeconds?: number;
|
|
9945
9661
|
/**
|
|
9946
|
-
*
|
|
9662
|
+
* Movement cooldown
|
|
9947
9663
|
*
|
|
9948
|
-
*
|
|
9664
|
+
* Time after an accepted movement detection with the accelerometer and its wake interrupt disabled. Positioning, reports and reconnects do not restart the cooldown.
|
|
9949
9665
|
*/
|
|
9950
|
-
|
|
9666
|
+
movementCooldownSeconds?: number;
|
|
9951
9667
|
/**
|
|
9952
|
-
*
|
|
9668
|
+
* GNSS search timeout
|
|
9953
9669
|
*
|
|
9954
|
-
* Maximum
|
|
9670
|
+
* Maximum time for an admitted GNSS acquisition.
|
|
9955
9671
|
*/
|
|
9956
|
-
|
|
9672
|
+
gnssSearchTimeoutSeconds?: number;
|
|
9957
9673
|
/**
|
|
9958
|
-
*
|
|
9674
|
+
* Requested eDRX cycle
|
|
9959
9675
|
*
|
|
9960
|
-
*
|
|
9676
|
+
* Requested paging cycle; zero disables eDRX. Network-granted values can differ.
|
|
9961
9677
|
*/
|
|
9962
|
-
|
|
9678
|
+
edrxCycleMilliseconds?: 0 | 20480 | 40960 | 81920 | 163840 | 327680 | 655360 | 1310720 | 2621440;
|
|
9963
9679
|
/**
|
|
9964
|
-
*
|
|
9680
|
+
* Automatic diagnostic power policy
|
|
9965
9681
|
*
|
|
9966
|
-
*
|
|
9682
|
+
* Power eligibility for automatic diagnostics.
|
|
9967
9683
|
*/
|
|
9968
|
-
|
|
9684
|
+
automaticDiagnosticsPower?: "any" | "external";
|
|
9969
9685
|
/**
|
|
9970
|
-
*
|
|
9686
|
+
* Charge termination current
|
|
9971
9687
|
*
|
|
9972
|
-
*
|
|
9688
|
+
* Nominal FAN54005 termination current with a 180 milliohm sense resistor. Options are 18, 37 and 55 mA. Default 18 mA is the lowest chip setting and closest to the PL12400-650mAh A1 specification (0.02C = 13 mA); it is not an exact match. A change requires stopped setup and readback before restart.
|
|
9973
9689
|
*/
|
|
9974
|
-
|
|
9690
|
+
chargingTerminationCurrentMa?: 18 | 37 | 55;
|
|
9975
9691
|
/**
|
|
9976
|
-
*
|
|
9692
|
+
* Recharge voltage drop
|
|
9977
9693
|
*
|
|
9978
|
-
*
|
|
9694
|
+
* Voltage drop below the configured charger regulation target that makes a previously completed module eligible to recharge. It does not declare a module fully charged or alter the charge voltage.
|
|
9979
9695
|
*/
|
|
9980
|
-
|
|
9696
|
+
chargingRechargeDropMv?: number;
|
|
9981
9697
|
/**
|
|
9982
|
-
*
|
|
9698
|
+
* Charge regulation voltage
|
|
9983
9699
|
*
|
|
9984
|
-
*
|
|
9700
|
+
* Requested FAN54005 constant-voltage target in millivolts. Default 4350 mV follows the PL12400-650mAh high-voltage A1 specification; the chip rounds this down to 4340 mV at its 20 mV resolution. Hardware safety ceilings still apply. The allowed 3500-4440 mV range describes chip capability, not cell-approved targets. A change requires stopped setup and readback before restart.
|
|
9985
9701
|
*/
|
|
9986
|
-
|
|
9702
|
+
chargingRegulationVoltageMv?: number;
|
|
9987
9703
|
/**
|
|
9988
|
-
*
|
|
9704
|
+
* Cold shutdown temperature
|
|
9989
9705
|
*
|
|
9990
|
-
*
|
|
9706
|
+
* Stop charging below this temperature. Both temperature sources use this Celsius profile. Order: cold stop < cold stop recovery <= cold limit < cold limit recovery <= warm limit recovery < warm limit <= hot stop recovery < hot stop.
|
|
9991
9707
|
*/
|
|
9992
|
-
|
|
9708
|
+
chargingTemperatureColdStopC?: number;
|
|
9993
9709
|
/**
|
|
9994
|
-
*
|
|
9710
|
+
* Cold current-limiting temperature
|
|
9995
9711
|
*
|
|
9996
|
-
*
|
|
9712
|
+
* Reduce charging current below this temperature. Default 10 C is an experimental hardware-team choice; the cell specifies reduced current through 15 C. Order: cold stop < cold stop recovery <= cold limit < cold limit recovery <= warm limit recovery < warm limit <= hot stop recovery < hot stop.
|
|
9997
9713
|
*/
|
|
9998
|
-
|
|
9714
|
+
chargingTemperatureColdLimitC?: number;
|
|
9999
9715
|
/**
|
|
10000
|
-
*
|
|
10001
|
-
*
|
|
10002
|
-
* Maximum time for an admitted GNSS acquisition.
|
|
10003
|
-
*/
|
|
10004
|
-
gnssSearchTimeoutSeconds?: number;
|
|
10005
|
-
/**
|
|
10006
|
-
* Requested eDRX cycle
|
|
10007
|
-
*
|
|
10008
|
-
* Requested paging cycle; zero disables eDRX. Network-granted values can differ.
|
|
10009
|
-
*/
|
|
10010
|
-
edrxCycleMilliseconds?: 0 | 20480 | 40960 | 81920 | 163840 | 327680 | 655360 | 1310720 | 2621440;
|
|
10011
|
-
/**
|
|
10012
|
-
* Requested PSM TAU
|
|
10013
|
-
*
|
|
10014
|
-
* Requested periodic registration-update interval.
|
|
10015
|
-
*/
|
|
10016
|
-
psmTauSeconds?: number;
|
|
10017
|
-
/**
|
|
10018
|
-
* Requested PSM active time
|
|
10019
|
-
*
|
|
10020
|
-
* Requested active time before the modem enters PSM.
|
|
10021
|
-
*/
|
|
10022
|
-
psmActiveSeconds?: number;
|
|
10023
|
-
/**
|
|
10024
|
-
* Automatic diagnostic power policy
|
|
10025
|
-
*
|
|
10026
|
-
* Power eligibility for automatic diagnostics.
|
|
10027
|
-
*/
|
|
10028
|
-
automaticDiagnosticsPower?: "any" | "external";
|
|
10029
|
-
/**
|
|
10030
|
-
* Charge termination current
|
|
10031
|
-
*
|
|
10032
|
-
* Nominal FAN54005 termination current with a 180 milliohm sense resistor. Options are 18, 37 and 55 mA. Default 18 mA is the lowest chip setting and closest to the PL12400-650mAh A1 specification (0.02C = 13 mA); it is not an exact match. A change requires stopped setup and readback before restart.
|
|
10033
|
-
*/
|
|
10034
|
-
chargingTerminationCurrentMa?: 18 | 37 | 55;
|
|
10035
|
-
/**
|
|
10036
|
-
* Recharge voltage drop
|
|
10037
|
-
*
|
|
10038
|
-
* Voltage drop below the configured charger regulation target that makes a previously completed module eligible to recharge. It does not declare a module fully charged or alter the charge voltage.
|
|
10039
|
-
*/
|
|
10040
|
-
chargingRechargeDropMv?: number;
|
|
10041
|
-
/**
|
|
10042
|
-
* Charge regulation voltage
|
|
10043
|
-
*
|
|
10044
|
-
* Requested FAN54005 constant-voltage target in millivolts. Default 4350 mV follows the PL12400-650mAh high-voltage A1 specification; the chip rounds this down to 4340 mV at its 20 mV resolution. Hardware safety ceilings still apply. The allowed 3500-4440 mV range describes chip capability, not cell-approved targets. A change requires stopped setup and readback before restart.
|
|
10045
|
-
*/
|
|
10046
|
-
chargingRegulationVoltageMv?: number;
|
|
10047
|
-
/**
|
|
10048
|
-
* Cold shutdown temperature
|
|
10049
|
-
*
|
|
10050
|
-
* Stop charging below this temperature. Both temperature sources use this Celsius profile. Order: cold stop < cold stop recovery <= cold limit < cold limit recovery <= warm limit recovery < warm limit <= hot stop recovery < hot stop.
|
|
10051
|
-
*/
|
|
10052
|
-
chargingTemperatureColdStopC?: number;
|
|
10053
|
-
/**
|
|
10054
|
-
* Cold current-limiting temperature
|
|
10055
|
-
*
|
|
10056
|
-
* Reduce charging current below this temperature. Default 10 C is an experimental hardware-team choice; the cell specifies reduced current through 15 C. Order: cold stop < cold stop recovery <= cold limit < cold limit recovery <= warm limit recovery < warm limit <= hot stop recovery < hot stop.
|
|
10057
|
-
*/
|
|
10058
|
-
chargingTemperatureColdLimitC?: number;
|
|
10059
|
-
/**
|
|
10060
|
-
* Cold current-limiting recovery temperature
|
|
9716
|
+
* Cold current-limiting recovery temperature
|
|
10061
9717
|
*
|
|
10062
9718
|
* Leave cold charging at or above this temperature; must exceed the cold threshold. Order: cold stop < cold stop recovery <= cold limit < cold limit recovery <= warm limit recovery < warm limit <= hot stop recovery < hot stop.
|
|
10063
9719
|
*/
|
|
@@ -10154,6 +9810,16 @@ export type ReadDeviceSettings = {
|
|
|
10154
9810
|
workReportingEnabled?: boolean;
|
|
10155
9811
|
[key: string]: unknown;
|
|
10156
9812
|
};
|
|
9813
|
+
export type ReadObservationSeries = {
|
|
9814
|
+
definitionId: number;
|
|
9815
|
+
subject?: null | string;
|
|
9816
|
+
[key: string]: unknown;
|
|
9817
|
+
};
|
|
9818
|
+
export type ReadPositioningSchedule = {
|
|
9819
|
+
enabled: boolean;
|
|
9820
|
+
intervalSeconds: number;
|
|
9821
|
+
[key: string]: unknown;
|
|
9822
|
+
};
|
|
10157
9823
|
export type SetTrackerSubscriptionData = {
|
|
10158
9824
|
body: AllocationChange;
|
|
10159
9825
|
path: {
|
|
@@ -10288,28 +9954,72 @@ export type LookupTrackerResponses = {
|
|
|
10288
9954
|
200: TrackerLookup;
|
|
10289
9955
|
};
|
|
10290
9956
|
export type LookupTrackerResponse = LookupTrackerResponses[keyof LookupTrackerResponses];
|
|
10291
|
-
export type
|
|
9957
|
+
export type GetTrackerPositioningData = {
|
|
10292
9958
|
body?: never;
|
|
10293
9959
|
path: {
|
|
10294
9960
|
id: string;
|
|
10295
9961
|
};
|
|
10296
9962
|
query?: never;
|
|
10297
|
-
url: "/v1/trackers/{id}/
|
|
9963
|
+
url: "/v1/trackers/{id}/positioning";
|
|
10298
9964
|
};
|
|
10299
|
-
export type
|
|
9965
|
+
export type GetTrackerPositioningErrors = {
|
|
10300
9966
|
/**
|
|
10301
9967
|
* Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
|
|
10302
9968
|
*/
|
|
10303
9969
|
default: ApiProblem;
|
|
10304
9970
|
};
|
|
10305
|
-
export type
|
|
10306
|
-
export type
|
|
9971
|
+
export type GetTrackerPositioningError = GetTrackerPositioningErrors[keyof GetTrackerPositioningErrors];
|
|
9972
|
+
export type GetTrackerPositioningResponses = {
|
|
10307
9973
|
/**
|
|
10308
9974
|
* OK
|
|
10309
9975
|
*/
|
|
10310
|
-
200:
|
|
9976
|
+
200: PositioningView;
|
|
9977
|
+
};
|
|
9978
|
+
export type GetTrackerPositioningResponse = GetTrackerPositioningResponses[keyof GetTrackerPositioningResponses];
|
|
9979
|
+
export type SetTrackerPositioningScheduleData = {
|
|
9980
|
+
body: PositioningSchedule;
|
|
9981
|
+
path: {
|
|
9982
|
+
id: string;
|
|
9983
|
+
};
|
|
9984
|
+
query?: never;
|
|
9985
|
+
url: "/v1/trackers/{id}/positioning/schedule";
|
|
9986
|
+
};
|
|
9987
|
+
export type SetTrackerPositioningScheduleErrors = {
|
|
9988
|
+
/**
|
|
9989
|
+
* Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
|
|
9990
|
+
*/
|
|
9991
|
+
default: ApiProblem;
|
|
9992
|
+
};
|
|
9993
|
+
export type SetTrackerPositioningScheduleError = SetTrackerPositioningScheduleErrors[keyof SetTrackerPositioningScheduleErrors];
|
|
9994
|
+
export type SetTrackerPositioningScheduleResponses = {
|
|
9995
|
+
/**
|
|
9996
|
+
* OK
|
|
9997
|
+
*/
|
|
9998
|
+
200: PositioningView;
|
|
9999
|
+
};
|
|
10000
|
+
export type SetTrackerPositioningScheduleResponse = SetTrackerPositioningScheduleResponses[keyof SetTrackerPositioningScheduleResponses];
|
|
10001
|
+
export type RequestTrackerPositionData = {
|
|
10002
|
+
body: PositionRequest;
|
|
10003
|
+
path: {
|
|
10004
|
+
id: string;
|
|
10005
|
+
};
|
|
10006
|
+
query?: never;
|
|
10007
|
+
url: "/v1/trackers/{id}/positioning/requests";
|
|
10311
10008
|
};
|
|
10312
|
-
export type
|
|
10009
|
+
export type RequestTrackerPositionErrors = {
|
|
10010
|
+
/**
|
|
10011
|
+
* Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
|
|
10012
|
+
*/
|
|
10013
|
+
default: ApiProblem;
|
|
10014
|
+
};
|
|
10015
|
+
export type RequestTrackerPositionError = RequestTrackerPositionErrors[keyof RequestTrackerPositionErrors];
|
|
10016
|
+
export type RequestTrackerPositionResponses = {
|
|
10017
|
+
/**
|
|
10018
|
+
* Accepted
|
|
10019
|
+
*/
|
|
10020
|
+
202: PositioningView;
|
|
10021
|
+
};
|
|
10022
|
+
export type RequestTrackerPositionResponse = RequestTrackerPositionResponses[keyof RequestTrackerPositionResponses];
|
|
10313
10023
|
export type GetTrackerData = {
|
|
10314
10024
|
body?: never;
|
|
10315
10025
|
path: {
|
|
@@ -10492,28 +10202,28 @@ export type RedeemInvitationResponses = {
|
|
|
10492
10202
|
204: void;
|
|
10493
10203
|
};
|
|
10494
10204
|
export type RedeemInvitationResponse = RedeemInvitationResponses[keyof RedeemInvitationResponses];
|
|
10495
|
-
export type
|
|
10496
|
-
body:
|
|
10205
|
+
export type SetMovementAlertsData = {
|
|
10206
|
+
body: MovementAlertPreference;
|
|
10497
10207
|
path: {
|
|
10498
10208
|
id: string;
|
|
10499
10209
|
};
|
|
10500
10210
|
query?: never;
|
|
10501
|
-
url: "/v1/trackers/{id}/
|
|
10211
|
+
url: "/v1/trackers/{id}/movement-alerts";
|
|
10502
10212
|
};
|
|
10503
|
-
export type
|
|
10213
|
+
export type SetMovementAlertsErrors = {
|
|
10504
10214
|
/**
|
|
10505
10215
|
* Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
|
|
10506
10216
|
*/
|
|
10507
10217
|
default: ApiProblem;
|
|
10508
10218
|
};
|
|
10509
|
-
export type
|
|
10510
|
-
export type
|
|
10219
|
+
export type SetMovementAlertsError = SetMovementAlertsErrors[keyof SetMovementAlertsErrors];
|
|
10220
|
+
export type SetMovementAlertsResponses = {
|
|
10511
10221
|
/**
|
|
10512
10222
|
* No Content
|
|
10513
10223
|
*/
|
|
10514
10224
|
204: void;
|
|
10515
10225
|
};
|
|
10516
|
-
export type
|
|
10226
|
+
export type SetMovementAlertsResponse = SetMovementAlertsResponses[keyof SetMovementAlertsResponses];
|
|
10517
10227
|
export type ReportBatteryData = {
|
|
10518
10228
|
body: BatteryObservation;
|
|
10519
10229
|
path: {
|
|
@@ -10624,6 +10334,28 @@ export type ReportTheftResponses = {
|
|
|
10624
10334
|
200: ResourceCreated;
|
|
10625
10335
|
};
|
|
10626
10336
|
export type ReportTheftResponse = ReportTheftResponses[keyof ReportTheftResponses];
|
|
10337
|
+
export type SetStaffMovementAlertsData = {
|
|
10338
|
+
body: MovementAlertPreference;
|
|
10339
|
+
path: {
|
|
10340
|
+
id: string;
|
|
10341
|
+
};
|
|
10342
|
+
query?: never;
|
|
10343
|
+
url: "/v1/admin/trackers/{id}/movement-alerts";
|
|
10344
|
+
};
|
|
10345
|
+
export type SetStaffMovementAlertsErrors = {
|
|
10346
|
+
/**
|
|
10347
|
+
* Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
|
|
10348
|
+
*/
|
|
10349
|
+
default: ApiProblem;
|
|
10350
|
+
};
|
|
10351
|
+
export type SetStaffMovementAlertsError = SetStaffMovementAlertsErrors[keyof SetStaffMovementAlertsErrors];
|
|
10352
|
+
export type SetStaffMovementAlertsResponses = {
|
|
10353
|
+
/**
|
|
10354
|
+
* No Content
|
|
10355
|
+
*/
|
|
10356
|
+
204: void;
|
|
10357
|
+
};
|
|
10358
|
+
export type SetStaffMovementAlertsResponse = SetStaffMovementAlertsResponses[keyof SetStaffMovementAlertsResponses];
|
|
10627
10359
|
export type GetStaffTrackerCom4SimStatusData = {
|
|
10628
10360
|
body?: never;
|
|
10629
10361
|
path: {
|
|
@@ -10809,28 +10541,6 @@ export type ListStaffTrackersResponses = {
|
|
|
10809
10541
|
200: TrackerPage;
|
|
10810
10542
|
};
|
|
10811
10543
|
export type ListStaffTrackersResponse = ListStaffTrackersResponses[keyof ListStaffTrackersResponses];
|
|
10812
|
-
export type GetStaffTrackerModesData = {
|
|
10813
|
-
body?: never;
|
|
10814
|
-
path: {
|
|
10815
|
-
id: string;
|
|
10816
|
-
};
|
|
10817
|
-
query?: never;
|
|
10818
|
-
url: "/v1/admin/trackers/{id}/modes";
|
|
10819
|
-
};
|
|
10820
|
-
export type GetStaffTrackerModesErrors = {
|
|
10821
|
-
/**
|
|
10822
|
-
* Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
|
|
10823
|
-
*/
|
|
10824
|
-
default: ApiProblem;
|
|
10825
|
-
};
|
|
10826
|
-
export type GetStaffTrackerModesError = GetStaffTrackerModesErrors[keyof GetStaffTrackerModesErrors];
|
|
10827
|
-
export type GetStaffTrackerModesResponses = {
|
|
10828
|
-
/**
|
|
10829
|
-
* OK
|
|
10830
|
-
*/
|
|
10831
|
-
200: TrackerModesSnapshot;
|
|
10832
|
-
};
|
|
10833
|
-
export type GetStaffTrackerModesResponse = GetStaffTrackerModesResponses[keyof GetStaffTrackerModesResponses];
|
|
10834
10544
|
export type GetStaffTrackerData = {
|
|
10835
10545
|
body?: never;
|
|
10836
10546
|
path: {
|
|
@@ -11516,6 +11226,55 @@ export type GetSubscriptionResponses = {
|
|
|
11516
11226
|
200: SubscriptionDocument;
|
|
11517
11227
|
};
|
|
11518
11228
|
export type GetSubscriptionResponse = GetSubscriptionResponses[keyof GetSubscriptionResponses];
|
|
11229
|
+
export type ListStaffSubscriptionsData = {
|
|
11230
|
+
body?: never;
|
|
11231
|
+
path?: never;
|
|
11232
|
+
query?: {
|
|
11233
|
+
accountId?: string;
|
|
11234
|
+
wooId?: number;
|
|
11235
|
+
businessEmail?: string;
|
|
11236
|
+
businessOnly?: boolean;
|
|
11237
|
+
limit?: number;
|
|
11238
|
+
cursor?: string;
|
|
11239
|
+
};
|
|
11240
|
+
url: "/v1/admin/subscriptions";
|
|
11241
|
+
};
|
|
11242
|
+
export type ListStaffSubscriptionsErrors = {
|
|
11243
|
+
/**
|
|
11244
|
+
* Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
|
|
11245
|
+
*/
|
|
11246
|
+
default: ApiProblem;
|
|
11247
|
+
};
|
|
11248
|
+
export type ListStaffSubscriptionsError = ListStaffSubscriptionsErrors[keyof ListStaffSubscriptionsErrors];
|
|
11249
|
+
export type ListStaffSubscriptionsResponses = {
|
|
11250
|
+
/**
|
|
11251
|
+
* OK
|
|
11252
|
+
*/
|
|
11253
|
+
200: StaffSubscriptionPage;
|
|
11254
|
+
};
|
|
11255
|
+
export type ListStaffSubscriptionsResponse = ListStaffSubscriptionsResponses[keyof ListStaffSubscriptionsResponses];
|
|
11256
|
+
export type GetStaffSubscriptionData = {
|
|
11257
|
+
body?: never;
|
|
11258
|
+
path: {
|
|
11259
|
+
id: string;
|
|
11260
|
+
};
|
|
11261
|
+
query?: never;
|
|
11262
|
+
url: "/v1/admin/subscriptions/{id}";
|
|
11263
|
+
};
|
|
11264
|
+
export type GetStaffSubscriptionErrors = {
|
|
11265
|
+
/**
|
|
11266
|
+
* Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
|
|
11267
|
+
*/
|
|
11268
|
+
default: ApiProblem;
|
|
11269
|
+
};
|
|
11270
|
+
export type GetStaffSubscriptionError = GetStaffSubscriptionErrors[keyof GetStaffSubscriptionErrors];
|
|
11271
|
+
export type GetStaffSubscriptionResponses = {
|
|
11272
|
+
/**
|
|
11273
|
+
* OK
|
|
11274
|
+
*/
|
|
11275
|
+
200: StaffSubscriptionDocument;
|
|
11276
|
+
};
|
|
11277
|
+
export type GetStaffSubscriptionResponse = GetStaffSubscriptionResponses[keyof GetStaffSubscriptionResponses];
|
|
11519
11278
|
export type GetStaffTrackerConnectivityData = {
|
|
11520
11279
|
body?: never;
|
|
11521
11280
|
path: {
|
|
@@ -11636,6 +11395,72 @@ export type ReadStaffTrackerObservationsResponses = {
|
|
|
11636
11395
|
200: Array<AwsObservationReading>;
|
|
11637
11396
|
};
|
|
11638
11397
|
export type ReadStaffTrackerObservationsResponse = ReadStaffTrackerObservationsResponses[keyof ReadStaffTrackerObservationsResponses];
|
|
11398
|
+
export type GetStaffTrackerPositioningData = {
|
|
11399
|
+
body?: never;
|
|
11400
|
+
path: {
|
|
11401
|
+
id: string;
|
|
11402
|
+
};
|
|
11403
|
+
query?: never;
|
|
11404
|
+
url: "/v1/admin/trackers/{id}/positioning";
|
|
11405
|
+
};
|
|
11406
|
+
export type GetStaffTrackerPositioningErrors = {
|
|
11407
|
+
/**
|
|
11408
|
+
* Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
|
|
11409
|
+
*/
|
|
11410
|
+
default: ApiProblem;
|
|
11411
|
+
};
|
|
11412
|
+
export type GetStaffTrackerPositioningError = GetStaffTrackerPositioningErrors[keyof GetStaffTrackerPositioningErrors];
|
|
11413
|
+
export type GetStaffTrackerPositioningResponses = {
|
|
11414
|
+
/**
|
|
11415
|
+
* OK
|
|
11416
|
+
*/
|
|
11417
|
+
200: PositioningView;
|
|
11418
|
+
};
|
|
11419
|
+
export type GetStaffTrackerPositioningResponse = GetStaffTrackerPositioningResponses[keyof GetStaffTrackerPositioningResponses];
|
|
11420
|
+
export type SetStaffTrackerPositioningScheduleData = {
|
|
11421
|
+
body: PositioningSchedule;
|
|
11422
|
+
path: {
|
|
11423
|
+
id: string;
|
|
11424
|
+
};
|
|
11425
|
+
query?: never;
|
|
11426
|
+
url: "/v1/admin/trackers/{id}/positioning/schedule";
|
|
11427
|
+
};
|
|
11428
|
+
export type SetStaffTrackerPositioningScheduleErrors = {
|
|
11429
|
+
/**
|
|
11430
|
+
* Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
|
|
11431
|
+
*/
|
|
11432
|
+
default: ApiProblem;
|
|
11433
|
+
};
|
|
11434
|
+
export type SetStaffTrackerPositioningScheduleError = SetStaffTrackerPositioningScheduleErrors[keyof SetStaffTrackerPositioningScheduleErrors];
|
|
11435
|
+
export type SetStaffTrackerPositioningScheduleResponses = {
|
|
11436
|
+
/**
|
|
11437
|
+
* OK
|
|
11438
|
+
*/
|
|
11439
|
+
200: PositioningView;
|
|
11440
|
+
};
|
|
11441
|
+
export type SetStaffTrackerPositioningScheduleResponse = SetStaffTrackerPositioningScheduleResponses[keyof SetStaffTrackerPositioningScheduleResponses];
|
|
11442
|
+
export type RequestStaffTrackerPositionData = {
|
|
11443
|
+
body: PositionRequest;
|
|
11444
|
+
path: {
|
|
11445
|
+
id: string;
|
|
11446
|
+
};
|
|
11447
|
+
query?: never;
|
|
11448
|
+
url: "/v1/admin/trackers/{id}/positioning/requests";
|
|
11449
|
+
};
|
|
11450
|
+
export type RequestStaffTrackerPositionErrors = {
|
|
11451
|
+
/**
|
|
11452
|
+
* Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
|
|
11453
|
+
*/
|
|
11454
|
+
default: ApiProblem;
|
|
11455
|
+
};
|
|
11456
|
+
export type RequestStaffTrackerPositionError = RequestStaffTrackerPositionErrors[keyof RequestStaffTrackerPositionErrors];
|
|
11457
|
+
export type RequestStaffTrackerPositionResponses = {
|
|
11458
|
+
/**
|
|
11459
|
+
* Accepted
|
|
11460
|
+
*/
|
|
11461
|
+
202: PositioningView;
|
|
11462
|
+
};
|
|
11463
|
+
export type RequestStaffTrackerPositionResponse = RequestStaffTrackerPositionResponses[keyof RequestStaffTrackerPositionResponses];
|
|
11639
11464
|
export type UploadStaffTrackerBatteryFirmwareData = {
|
|
11640
11465
|
body: Blob | File;
|
|
11641
11466
|
path: {
|
|
@@ -11890,128 +11715,3 @@ export type CancelStaffTrackerFirmwareUpdateResponses = {
|
|
|
11890
11715
|
202: AwsFirmwareReceipt;
|
|
11891
11716
|
};
|
|
11892
11717
|
export type CancelStaffTrackerFirmwareUpdateResponse = CancelStaffTrackerFirmwareUpdateResponses[keyof CancelStaffTrackerFirmwareUpdateResponses];
|
|
11893
|
-
export type ListStaffSubscriptionsData = {
|
|
11894
|
-
body?: never;
|
|
11895
|
-
path?: never;
|
|
11896
|
-
query?: {
|
|
11897
|
-
accountId?: string;
|
|
11898
|
-
wooId?: number;
|
|
11899
|
-
businessEmail?: string;
|
|
11900
|
-
businessOnly?: boolean;
|
|
11901
|
-
limit?: number;
|
|
11902
|
-
cursor?: string;
|
|
11903
|
-
};
|
|
11904
|
-
url: "/v1/admin/subscriptions";
|
|
11905
|
-
};
|
|
11906
|
-
export type ListStaffSubscriptionsErrors = {
|
|
11907
|
-
/**
|
|
11908
|
-
* Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
|
|
11909
|
-
*/
|
|
11910
|
-
default: ApiProblem;
|
|
11911
|
-
};
|
|
11912
|
-
export type ListStaffSubscriptionsError = ListStaffSubscriptionsErrors[keyof ListStaffSubscriptionsErrors];
|
|
11913
|
-
export type ListStaffSubscriptionsResponses = {
|
|
11914
|
-
/**
|
|
11915
|
-
* OK
|
|
11916
|
-
*/
|
|
11917
|
-
200: StaffSubscriptionPage;
|
|
11918
|
-
};
|
|
11919
|
-
export type ListStaffSubscriptionsResponse = ListStaffSubscriptionsResponses[keyof ListStaffSubscriptionsResponses];
|
|
11920
|
-
export type GetStaffSubscriptionData = {
|
|
11921
|
-
body?: never;
|
|
11922
|
-
path: {
|
|
11923
|
-
id: string;
|
|
11924
|
-
};
|
|
11925
|
-
query?: never;
|
|
11926
|
-
url: "/v1/admin/subscriptions/{id}";
|
|
11927
|
-
};
|
|
11928
|
-
export type GetStaffSubscriptionErrors = {
|
|
11929
|
-
/**
|
|
11930
|
-
* Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
|
|
11931
|
-
*/
|
|
11932
|
-
default: ApiProblem;
|
|
11933
|
-
};
|
|
11934
|
-
export type GetStaffSubscriptionError = GetStaffSubscriptionErrors[keyof GetStaffSubscriptionErrors];
|
|
11935
|
-
export type GetStaffSubscriptionResponses = {
|
|
11936
|
-
/**
|
|
11937
|
-
* OK
|
|
11938
|
-
*/
|
|
11939
|
-
200: StaffSubscriptionDocument;
|
|
11940
|
-
};
|
|
11941
|
-
export type GetStaffSubscriptionResponse = GetStaffSubscriptionResponses[keyof GetStaffSubscriptionResponses];
|
|
11942
|
-
export type ListInsuranceContractsData = {
|
|
11943
|
-
body?: never;
|
|
11944
|
-
path: {
|
|
11945
|
-
id: string;
|
|
11946
|
-
};
|
|
11947
|
-
query?: {
|
|
11948
|
-
provider?: string;
|
|
11949
|
-
limit?: number;
|
|
11950
|
-
cursor?: string;
|
|
11951
|
-
};
|
|
11952
|
-
url: "/v1/admin/subscriptions/{id}/insurance/contracts";
|
|
11953
|
-
};
|
|
11954
|
-
export type ListInsuranceContractsErrors = {
|
|
11955
|
-
/**
|
|
11956
|
-
* Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
|
|
11957
|
-
*/
|
|
11958
|
-
default: ApiProblem;
|
|
11959
|
-
};
|
|
11960
|
-
export type ListInsuranceContractsError = ListInsuranceContractsErrors[keyof ListInsuranceContractsErrors];
|
|
11961
|
-
export type ListInsuranceContractsResponses = {
|
|
11962
|
-
/**
|
|
11963
|
-
* OK
|
|
11964
|
-
*/
|
|
11965
|
-
200: InsuranceContractPage;
|
|
11966
|
-
};
|
|
11967
|
-
export type ListInsuranceContractsResponse = ListInsuranceContractsResponses[keyof ListInsuranceContractsResponses];
|
|
11968
|
-
export type GetInsuranceContractData = {
|
|
11969
|
-
body?: never;
|
|
11970
|
-
path: {
|
|
11971
|
-
id: string;
|
|
11972
|
-
contractId: string;
|
|
11973
|
-
};
|
|
11974
|
-
query?: {
|
|
11975
|
-
provider?: string;
|
|
11976
|
-
};
|
|
11977
|
-
url: "/v1/admin/subscriptions/{id}/insurance/contracts/{contractId}";
|
|
11978
|
-
};
|
|
11979
|
-
export type GetInsuranceContractErrors = {
|
|
11980
|
-
/**
|
|
11981
|
-
* Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
|
|
11982
|
-
*/
|
|
11983
|
-
default: ApiProblem;
|
|
11984
|
-
};
|
|
11985
|
-
export type GetInsuranceContractError = GetInsuranceContractErrors[keyof GetInsuranceContractErrors];
|
|
11986
|
-
export type GetInsuranceContractResponses = {
|
|
11987
|
-
/**
|
|
11988
|
-
* OK
|
|
11989
|
-
*/
|
|
11990
|
-
200: InsuranceContractDocument;
|
|
11991
|
-
};
|
|
11992
|
-
export type GetInsuranceContractResponse = GetInsuranceContractResponses[keyof GetInsuranceContractResponses];
|
|
11993
|
-
export type ListInsuranceAttemptsData = {
|
|
11994
|
-
body?: never;
|
|
11995
|
-
path: {
|
|
11996
|
-
id: string;
|
|
11997
|
-
};
|
|
11998
|
-
query?: {
|
|
11999
|
-
limit?: number;
|
|
12000
|
-
cursor?: string;
|
|
12001
|
-
};
|
|
12002
|
-
url: "/v1/admin/subscriptions/{id}/insurance/attempts";
|
|
12003
|
-
};
|
|
12004
|
-
export type ListInsuranceAttemptsErrors = {
|
|
12005
|
-
/**
|
|
12006
|
-
* Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
|
|
12007
|
-
*/
|
|
12008
|
-
default: ApiProblem;
|
|
12009
|
-
};
|
|
12010
|
-
export type ListInsuranceAttemptsError = ListInsuranceAttemptsErrors[keyof ListInsuranceAttemptsErrors];
|
|
12011
|
-
export type ListInsuranceAttemptsResponses = {
|
|
12012
|
-
/**
|
|
12013
|
-
* OK
|
|
12014
|
-
*/
|
|
12015
|
-
200: InsuranceAttemptPage;
|
|
12016
|
-
};
|
|
12017
|
-
export type ListInsuranceAttemptsResponse = ListInsuranceAttemptsResponses[keyof ListInsuranceAttemptsResponses];
|