@bikefinder/sdk 0.4.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 +8 -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 -6
- package/dist/generated/sdk.gen.js +150 -55
- package/dist/generated/types.gen.d.ts +294 -416
- package/dist/generated/zod.gen.d.ts +362 -654
- package/dist/generated/zod.gen.js +169 -282
- package/dist/index.d.ts +1 -1
- package/dist/workflow-schema.d.ts +2 -10
- package/dist/workflow-schema.js +2 -21
- package/openapi/api.json +895 -1166
- 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;
|
|
@@ -1058,7 +1056,7 @@ export type CommandChoice = {
|
|
|
1058
1056
|
[key: string]: unknown;
|
|
1059
1057
|
};
|
|
1060
1058
|
export type CommandDefinition = {
|
|
1061
|
-
name: "status" | "reconcileSettings" | "disconnect" | "
|
|
1059
|
+
name: "status" | "reconcileSettings" | "disconnect" | "requestObservations" | "sample" | "cancel" | "reboot" | "identify" | "streamObservations" | "selfTest" | "switchEnvironment" | "clearEnvironment" | "listEnvironments" | "updateBattery" | "runBatteryCheck" | "requestPosition" | "enableDiagnostics";
|
|
1062
1060
|
label: string;
|
|
1063
1061
|
description: string;
|
|
1064
1062
|
input: CommandInput;
|
|
@@ -1096,7 +1094,7 @@ export type CommandResponseValue = {
|
|
|
1096
1094
|
commandId: number;
|
|
1097
1095
|
phase: CommandResponseValuePhase;
|
|
1098
1096
|
result: number;
|
|
1099
|
-
|
|
1097
|
+
diagnosticsRemainingSeconds: number;
|
|
1100
1098
|
uptimeSeconds: number;
|
|
1101
1099
|
data: null | CommandResponseValueData;
|
|
1102
1100
|
[key: string]: unknown;
|
|
@@ -1364,8 +1362,8 @@ export type CurrentObservation = ({
|
|
|
1364
1362
|
} & CurrentObservationHealthLastModemFaultCurrent) | ({
|
|
1365
1363
|
type: "health.modemFaultCount";
|
|
1366
1364
|
} & CurrentObservationHealthModemFaultCountCurrent) | ({
|
|
1367
|
-
type: "
|
|
1368
|
-
} &
|
|
1365
|
+
type: "diagnostics.remainingSeconds";
|
|
1366
|
+
} & CurrentObservationDiagnosticsRemainingSecondsCurrent) | ({
|
|
1369
1367
|
type: "health.uptime";
|
|
1370
1368
|
} & CurrentObservationHealthUptimeCurrent) | ({
|
|
1371
1369
|
type: "location.lookupCompleted";
|
|
@@ -1470,14 +1468,8 @@ export type CurrentObservation = ({
|
|
|
1470
1468
|
} & CurrentObservationPowerMqttMsCurrent) | ({
|
|
1471
1469
|
type: "power.psmEntries";
|
|
1472
1470
|
} & CurrentObservationPowerPsmEntriesCurrent) | ({
|
|
1473
|
-
type: "power.psmFallbacks";
|
|
1474
|
-
} & CurrentObservationPowerPsmFallbacksCurrent) | ({
|
|
1475
1471
|
type: "power.psmMs";
|
|
1476
1472
|
} & CurrentObservationPowerPsmMsCurrent) | ({
|
|
1477
|
-
type: "power.responseWindowEntries";
|
|
1478
|
-
} & CurrentObservationPowerResponseWindowEntriesCurrent) | ({
|
|
1479
|
-
type: "power.responseWindowMs";
|
|
1480
|
-
} & CurrentObservationPowerResponseWindowMsCurrent) | ({
|
|
1481
1473
|
type: "power.rrcEntries";
|
|
1482
1474
|
} & CurrentObservationPowerRrcEntriesCurrent) | ({
|
|
1483
1475
|
type: "power.rrcMs";
|
|
@@ -2475,6 +2467,20 @@ export type CurrentObservationDeviceHardwareVersionCurrent = {
|
|
|
2475
2467
|
receivedAt: string;
|
|
2476
2468
|
[key: string]: unknown;
|
|
2477
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
|
+
};
|
|
2478
2484
|
export type CurrentObservationEventsLostCurrent = {
|
|
2479
2485
|
type: "events.lost";
|
|
2480
2486
|
/**
|
|
@@ -2900,20 +2906,6 @@ export type CurrentObservationHealthModemFaultCountCurrent = {
|
|
|
2900
2906
|
receivedAt: string;
|
|
2901
2907
|
[key: string]: unknown;
|
|
2902
2908
|
};
|
|
2903
|
-
export type CurrentObservationHealthRemainingOnlineCurrent = {
|
|
2904
|
-
type: "health.remainingOnline";
|
|
2905
|
-
/**
|
|
2906
|
-
* Remaining online time
|
|
2907
|
-
*
|
|
2908
|
-
* Remaining time in the tracker's online window, in seconds.
|
|
2909
|
-
*/
|
|
2910
|
-
value: number;
|
|
2911
|
-
deviceId: string;
|
|
2912
|
-
sourceObservationId: string;
|
|
2913
|
-
measuredAt: string;
|
|
2914
|
-
receivedAt: string;
|
|
2915
|
-
[key: string]: unknown;
|
|
2916
|
-
};
|
|
2917
2909
|
export type CurrentObservationHealthUptimeCurrent = {
|
|
2918
2910
|
type: "health.uptime";
|
|
2919
2911
|
/**
|
|
@@ -3482,7 +3474,7 @@ export type CurrentObservationPowerActivitiesCurrent = {
|
|
|
3482
3474
|
*
|
|
3483
3475
|
* Readable activity state; elapsed counters remain independent and overlap.
|
|
3484
3476
|
*/
|
|
3485
|
-
value: Array<"rrc" | "mqtt" | "
|
|
3477
|
+
value: Array<"rrc" | "mqtt" | "psm" | "esp" | "wifiScan" | "bleScan" | "gnss">;
|
|
3486
3478
|
deviceId: string;
|
|
3487
3479
|
sourceObservationId: string;
|
|
3488
3480
|
measuredAt: string;
|
|
@@ -3643,20 +3635,6 @@ export type CurrentObservationPowerPsmEntriesCurrent = {
|
|
|
3643
3635
|
receivedAt: string;
|
|
3644
3636
|
[key: string]: unknown;
|
|
3645
3637
|
};
|
|
3646
|
-
export type CurrentObservationPowerPsmFallbacksCurrent = {
|
|
3647
|
-
type: "power.psmFallbacks";
|
|
3648
|
-
/**
|
|
3649
|
-
* Power-saving fallback count
|
|
3650
|
-
*
|
|
3651
|
-
* Number of power-saving-mode fallbacks recorded in the power-activity snapshot.
|
|
3652
|
-
*/
|
|
3653
|
-
value: number;
|
|
3654
|
-
deviceId: string;
|
|
3655
|
-
sourceObservationId: string;
|
|
3656
|
-
measuredAt: string;
|
|
3657
|
-
receivedAt: string;
|
|
3658
|
-
[key: string]: unknown;
|
|
3659
|
-
};
|
|
3660
3638
|
export type CurrentObservationPowerPsmMsCurrent = {
|
|
3661
3639
|
type: "power.psmMs";
|
|
3662
3640
|
/**
|
|
@@ -3671,34 +3649,6 @@ export type CurrentObservationPowerPsmMsCurrent = {
|
|
|
3671
3649
|
receivedAt: string;
|
|
3672
3650
|
[key: string]: unknown;
|
|
3673
3651
|
};
|
|
3674
|
-
export type CurrentObservationPowerResponseWindowEntriesCurrent = {
|
|
3675
|
-
type: "power.responseWindowEntries";
|
|
3676
|
-
/**
|
|
3677
|
-
* Command response window entry count
|
|
3678
|
-
*
|
|
3679
|
-
* Number of entries into the command-response window recorded in the power-activity snapshot.
|
|
3680
|
-
*/
|
|
3681
|
-
value: number;
|
|
3682
|
-
deviceId: string;
|
|
3683
|
-
sourceObservationId: string;
|
|
3684
|
-
measuredAt: string;
|
|
3685
|
-
receivedAt: string;
|
|
3686
|
-
[key: string]: unknown;
|
|
3687
|
-
};
|
|
3688
|
-
export type CurrentObservationPowerResponseWindowMsCurrent = {
|
|
3689
|
-
type: "power.responseWindowMs";
|
|
3690
|
-
/**
|
|
3691
|
-
* Command response window total time
|
|
3692
|
-
*
|
|
3693
|
-
* Accumulated time attributed to the command-response window, in milliseconds, in the power-activity snapshot.
|
|
3694
|
-
*/
|
|
3695
|
-
value: number;
|
|
3696
|
-
deviceId: string;
|
|
3697
|
-
sourceObservationId: string;
|
|
3698
|
-
measuredAt: string;
|
|
3699
|
-
receivedAt: string;
|
|
3700
|
-
[key: string]: unknown;
|
|
3701
|
-
};
|
|
3702
3652
|
export type CurrentObservationPowerRrcEntriesCurrent = {
|
|
3703
3653
|
type: "power.rrcEntries";
|
|
3704
3654
|
/**
|
|
@@ -3874,7 +3824,6 @@ export type CurrentObservationWorkCompletedCurrent = {
|
|
|
3874
3824
|
activityEntries: DeviceObservationValuesActivityEntries;
|
|
3875
3825
|
recoveries: DeviceObservationValuesRecoveryCounts;
|
|
3876
3826
|
saturated: boolean;
|
|
3877
|
-
mode: number;
|
|
3878
3827
|
[key: string]: unknown;
|
|
3879
3828
|
};
|
|
3880
3829
|
deviceId: string;
|
|
@@ -3892,7 +3841,6 @@ export type CurrentObservationWorkflowExecutionCurrent = {
|
|
|
3892
3841
|
*/
|
|
3893
3842
|
value: {
|
|
3894
3843
|
workflowVersion: number;
|
|
3895
|
-
mode: number;
|
|
3896
3844
|
state: string;
|
|
3897
3845
|
owner: "workflow" | "command" | "update" | "recovery" | "shutdown" | "fault" | "settings" | "charging" | "ble" | "network";
|
|
3898
3846
|
phase: "entered" | "completed" | "cancelled" | "ownerChanged" | "snapshot";
|
|
@@ -3900,7 +3848,7 @@ export type CurrentObservationWorkflowExecutionCurrent = {
|
|
|
3900
3848
|
durationMs: number | null;
|
|
3901
3849
|
error: number | null;
|
|
3902
3850
|
waitReason: "resource" | "command" | "update" | "configuration" | "rest" | "network" | null;
|
|
3903
|
-
operation: "capture" | "mqttOpen" | "publish" | "
|
|
3851
|
+
operation: "capture" | "mqttOpen" | "publish" | "modemOnline" | "modemEdrx" | "modemOffline" | "disconnectMqtt" | "prepareConnection" | "connect" | null;
|
|
3904
3852
|
[key: string]: unknown;
|
|
3905
3853
|
};
|
|
3906
3854
|
deviceId: string;
|
|
@@ -4543,11 +4491,11 @@ export type DeviceObservationValues = {
|
|
|
4543
4491
|
*/
|
|
4544
4492
|
"health.modemFaultCount"?: number;
|
|
4545
4493
|
/**
|
|
4546
|
-
*
|
|
4494
|
+
* Diagnostics remaining
|
|
4547
4495
|
*
|
|
4548
|
-
* Remaining time
|
|
4496
|
+
* Remaining time for configured diagnostic logging and instrumentation, in seconds.
|
|
4549
4497
|
*/
|
|
4550
|
-
"
|
|
4498
|
+
"diagnostics.remainingSeconds"?: number;
|
|
4551
4499
|
/**
|
|
4552
4500
|
* Device uptime
|
|
4553
4501
|
*
|
|
@@ -4824,7 +4772,7 @@ export type DeviceObservationValues = {
|
|
|
4824
4772
|
*
|
|
4825
4773
|
* Readable activity state; elapsed counters remain independent and overlap.
|
|
4826
4774
|
*/
|
|
4827
|
-
"power.activities"?: Array<"rrc" | "mqtt" | "
|
|
4775
|
+
"power.activities"?: Array<"rrc" | "mqtt" | "psm" | "esp" | "wifiScan" | "bleScan" | "gnss">;
|
|
4828
4776
|
/**
|
|
4829
4777
|
* Bluetooth scanning entry count
|
|
4830
4778
|
*
|
|
@@ -4907,30 +4855,12 @@ export type DeviceObservationValues = {
|
|
|
4907
4855
|
* Number of entries into modem power-saving mode recorded in the power-activity snapshot.
|
|
4908
4856
|
*/
|
|
4909
4857
|
"power.psmEntries"?: number;
|
|
4910
|
-
/**
|
|
4911
|
-
* Power-saving fallback count
|
|
4912
|
-
*
|
|
4913
|
-
* Number of power-saving-mode fallbacks recorded in the power-activity snapshot.
|
|
4914
|
-
*/
|
|
4915
|
-
"power.psmFallbacks"?: number;
|
|
4916
4858
|
/**
|
|
4917
4859
|
* Modem power saving total time
|
|
4918
4860
|
*
|
|
4919
4861
|
* Accumulated time attributed to modem power-saving mode, in milliseconds, in the power-activity snapshot.
|
|
4920
4862
|
*/
|
|
4921
4863
|
"power.psmMs"?: number;
|
|
4922
|
-
/**
|
|
4923
|
-
* Command response window entry count
|
|
4924
|
-
*
|
|
4925
|
-
* Number of entries into the command-response window recorded in the power-activity snapshot.
|
|
4926
|
-
*/
|
|
4927
|
-
"power.responseWindowEntries"?: number;
|
|
4928
|
-
/**
|
|
4929
|
-
* Command response window total time
|
|
4930
|
-
*
|
|
4931
|
-
* Accumulated time attributed to the command-response window, in milliseconds, in the power-activity snapshot.
|
|
4932
|
-
*/
|
|
4933
|
-
"power.responseWindowMs"?: number;
|
|
4934
4864
|
/**
|
|
4935
4865
|
* Cellular radio entry count
|
|
4936
4866
|
*
|
|
@@ -5010,7 +4940,6 @@ export type DeviceObservationValues = {
|
|
|
5010
4940
|
activityEntries: DeviceObservationValuesActivityEntries;
|
|
5011
4941
|
recoveries: DeviceObservationValuesRecoveryCounts;
|
|
5012
4942
|
saturated: boolean;
|
|
5013
|
-
mode: number;
|
|
5014
4943
|
[key: string]: unknown;
|
|
5015
4944
|
};
|
|
5016
4945
|
/**
|
|
@@ -5020,7 +4949,6 @@ export type DeviceObservationValues = {
|
|
|
5020
4949
|
*/
|
|
5021
4950
|
"workflow.execution"?: {
|
|
5022
4951
|
workflowVersion: number;
|
|
5023
|
-
mode: number;
|
|
5024
4952
|
state: string;
|
|
5025
4953
|
owner: "workflow" | "command" | "update" | "recovery" | "shutdown" | "fault" | "settings" | "charging" | "ble" | "network";
|
|
5026
4954
|
phase: "entered" | "completed" | "cancelled" | "ownerChanged" | "snapshot";
|
|
@@ -5028,7 +4956,7 @@ export type DeviceObservationValues = {
|
|
|
5028
4956
|
durationMs: number | null;
|
|
5029
4957
|
error: number | null;
|
|
5030
4958
|
waitReason: "resource" | "command" | "update" | "configuration" | "rest" | "network" | null;
|
|
5031
|
-
operation: "capture" | "mqttOpen" | "publish" | "
|
|
4959
|
+
operation: "capture" | "mqttOpen" | "publish" | "modemOnline" | "modemEdrx" | "modemOffline" | "disconnectMqtt" | "prepareConnection" | "connect" | null;
|
|
5032
4960
|
[key: string]: unknown;
|
|
5033
4961
|
};
|
|
5034
4962
|
/**
|
|
@@ -5116,7 +5044,6 @@ export type DeviceObservationValues = {
|
|
|
5116
5044
|
export type DeviceObservationValuesActivityDurations = {
|
|
5117
5045
|
rrc: number;
|
|
5118
5046
|
mqtt: number;
|
|
5119
|
-
responseWindow: number;
|
|
5120
5047
|
psm: number;
|
|
5121
5048
|
esp: number;
|
|
5122
5049
|
wifiScan: number;
|
|
@@ -5127,7 +5054,6 @@ export type DeviceObservationValuesActivityDurations = {
|
|
|
5127
5054
|
export type DeviceObservationValuesActivityEntries = {
|
|
5128
5055
|
rrc: number;
|
|
5129
5056
|
mqtt: number;
|
|
5130
|
-
responseWindow: number;
|
|
5131
5057
|
psm: number;
|
|
5132
5058
|
esp: number;
|
|
5133
5059
|
wifiScan: number;
|
|
@@ -5348,7 +5274,6 @@ export type DeviceObservationValuesRecoveryCounts = {
|
|
|
5348
5274
|
espRecoveries: number;
|
|
5349
5275
|
wifiTimeouts: number;
|
|
5350
5276
|
bleTimeouts: number;
|
|
5351
|
-
psmFallbacks: number;
|
|
5352
5277
|
[key: string]: unknown;
|
|
5353
5278
|
};
|
|
5354
5279
|
export type DeviceObservationValuesRegisterReading = {
|
|
@@ -5587,65 +5512,17 @@ export type DeviceSettings = {
|
|
|
5587
5512
|
*/
|
|
5588
5513
|
bleAdvertisingIntervalUnits?: number;
|
|
5589
5514
|
/**
|
|
5590
|
-
*
|
|
5515
|
+
* Connected report interval
|
|
5591
5516
|
*
|
|
5592
|
-
*
|
|
5517
|
+
* Period between battery and status reports while the tracker maintains its connection. These reports do not initiate positioning scans.
|
|
5593
5518
|
*/
|
|
5594
|
-
|
|
5519
|
+
connectedReportIntervalSeconds?: number;
|
|
5595
5520
|
/**
|
|
5596
|
-
*
|
|
5521
|
+
* Movement cooldown
|
|
5597
5522
|
*
|
|
5598
|
-
*
|
|
5523
|
+
* Time after an accepted movement detection with the accelerometer and its wake interrupt disabled. Positioning, reports and reconnects do not restart the cooldown.
|
|
5599
5524
|
*/
|
|
5600
|
-
|
|
5601
|
-
/**
|
|
5602
|
-
* Mode 0 idle duration
|
|
5603
|
-
*
|
|
5604
|
-
* Maximum battery idle duration after a mode 0 cycle, measured from the end of work.
|
|
5605
|
-
*/
|
|
5606
|
-
mode0IdleSeconds?: number;
|
|
5607
|
-
/**
|
|
5608
|
-
* Mode 1 idle duration
|
|
5609
|
-
*
|
|
5610
|
-
* Maximum battery idle duration after a mode 1 cycle, measured from the end of work.
|
|
5611
|
-
*/
|
|
5612
|
-
mode1IdleSeconds?: number;
|
|
5613
|
-
/**
|
|
5614
|
-
* Mode 2 idle duration
|
|
5615
|
-
*
|
|
5616
|
-
* Maximum battery idle duration after a mode 2 cycle, measured from the end of work.
|
|
5617
|
-
*/
|
|
5618
|
-
mode2IdleSeconds?: number;
|
|
5619
|
-
/**
|
|
5620
|
-
* Mode 0 minimum rest
|
|
5621
|
-
*
|
|
5622
|
-
* Duration after a mode 0 cycle with the accelerometer and its wake interrupt disabled. Firmware re-enables motion detection when this period ends.
|
|
5623
|
-
*/
|
|
5624
|
-
mode0MinimumRestSeconds?: number;
|
|
5625
|
-
/**
|
|
5626
|
-
* Mode 1 minimum rest
|
|
5627
|
-
*
|
|
5628
|
-
* Duration after a mode 1 cycle with the accelerometer and its wake interrupt disabled. Firmware re-enables motion detection when this period ends.
|
|
5629
|
-
*/
|
|
5630
|
-
mode1MinimumRestSeconds?: number;
|
|
5631
|
-
/**
|
|
5632
|
-
* Mode 2 minimum rest
|
|
5633
|
-
*
|
|
5634
|
-
* Duration after a mode 2 cycle with the accelerometer and its wake interrupt disabled. Firmware re-enables motion detection when this period ends.
|
|
5635
|
-
*/
|
|
5636
|
-
mode2MinimumRestSeconds?: number;
|
|
5637
|
-
/**
|
|
5638
|
-
* PSM residence
|
|
5639
|
-
*
|
|
5640
|
-
* Maximum idle time in PSM before setting the modem offline; capped by the existing idle deadline.
|
|
5641
|
-
*/
|
|
5642
|
-
psmResidenceSeconds?: number;
|
|
5643
|
-
/**
|
|
5644
|
-
* Tracking command window
|
|
5645
|
-
*
|
|
5646
|
-
* Time to keep an existing connection available after a battery tracking report.
|
|
5647
|
-
*/
|
|
5648
|
-
commandListenSeconds?: number;
|
|
5525
|
+
movementCooldownSeconds?: number;
|
|
5649
5526
|
/**
|
|
5650
5527
|
* GNSS search timeout
|
|
5651
5528
|
*
|
|
@@ -5658,18 +5535,6 @@ export type DeviceSettings = {
|
|
|
5658
5535
|
* Requested paging cycle; zero disables eDRX. Network-granted values can differ.
|
|
5659
5536
|
*/
|
|
5660
5537
|
edrxCycleMilliseconds?: 0 | 20480 | 40960 | 81920 | 163840 | 327680 | 655360 | 1310720 | 2621440;
|
|
5661
|
-
/**
|
|
5662
|
-
* Requested PSM TAU
|
|
5663
|
-
*
|
|
5664
|
-
* Requested periodic registration-update interval.
|
|
5665
|
-
*/
|
|
5666
|
-
psmTauSeconds?: number;
|
|
5667
|
-
/**
|
|
5668
|
-
* Requested PSM active time
|
|
5669
|
-
*
|
|
5670
|
-
* Requested active time before the modem enters PSM.
|
|
5671
|
-
*/
|
|
5672
|
-
psmActiveSeconds?: number;
|
|
5673
5538
|
/**
|
|
5674
5539
|
* Automatic diagnostic power policy
|
|
5675
5540
|
*
|
|
@@ -6115,6 +5980,9 @@ export type ModuleTimingValue = {
|
|
|
6115
5980
|
maximumMs: number;
|
|
6116
5981
|
[key: string]: unknown;
|
|
6117
5982
|
};
|
|
5983
|
+
export type MovementAlertPreference = {
|
|
5984
|
+
enabled: boolean;
|
|
5985
|
+
};
|
|
6118
5986
|
export type MovementDetectedValue = {
|
|
6119
5987
|
[key: string]: unknown;
|
|
6120
5988
|
};
|
|
@@ -6328,8 +6196,8 @@ export type Observation = ({
|
|
|
6328
6196
|
} & ObservationHealthLastModemFaultObservation) | ({
|
|
6329
6197
|
type: "health.modemFaultCount";
|
|
6330
6198
|
} & ObservationHealthModemFaultCountObservation) | ({
|
|
6331
|
-
type: "
|
|
6332
|
-
} &
|
|
6199
|
+
type: "diagnostics.remainingSeconds";
|
|
6200
|
+
} & ObservationDiagnosticsRemainingSecondsObservation) | ({
|
|
6333
6201
|
type: "health.uptime";
|
|
6334
6202
|
} & ObservationHealthUptimeObservation) | ({
|
|
6335
6203
|
type: "location.lookupCompleted";
|
|
@@ -6434,14 +6302,8 @@ export type Observation = ({
|
|
|
6434
6302
|
} & ObservationPowerMqttMsObservation) | ({
|
|
6435
6303
|
type: "power.psmEntries";
|
|
6436
6304
|
} & ObservationPowerPsmEntriesObservation) | ({
|
|
6437
|
-
type: "power.psmFallbacks";
|
|
6438
|
-
} & ObservationPowerPsmFallbacksObservation) | ({
|
|
6439
6305
|
type: "power.psmMs";
|
|
6440
6306
|
} & ObservationPowerPsmMsObservation) | ({
|
|
6441
|
-
type: "power.responseWindowEntries";
|
|
6442
|
-
} & ObservationPowerResponseWindowEntriesObservation) | ({
|
|
6443
|
-
type: "power.responseWindowMs";
|
|
6444
|
-
} & ObservationPowerResponseWindowMsObservation) | ({
|
|
6445
6307
|
type: "power.rrcEntries";
|
|
6446
6308
|
} & ObservationPowerRrcEntriesObservation) | ({
|
|
6447
6309
|
type: "power.rrcMs";
|
|
@@ -7493,6 +7355,21 @@ export type ObservationDeviceHardwareVersionObservation = {
|
|
|
7493
7355
|
measuredAt: string;
|
|
7494
7356
|
[key: string]: unknown;
|
|
7495
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
|
+
};
|
|
7496
7373
|
export type ObservationEventsLostObservation = {
|
|
7497
7374
|
type: "events.lost";
|
|
7498
7375
|
/**
|
|
@@ -7945,21 +7822,6 @@ export type ObservationHealthModemFaultCountObservation = {
|
|
|
7945
7822
|
measuredAt: string;
|
|
7946
7823
|
[key: string]: unknown;
|
|
7947
7824
|
};
|
|
7948
|
-
export type ObservationHealthRemainingOnlineObservation = {
|
|
7949
|
-
type: "health.remainingOnline";
|
|
7950
|
-
/**
|
|
7951
|
-
* Remaining online time
|
|
7952
|
-
*
|
|
7953
|
-
* Remaining time in the tracker's online window, in seconds.
|
|
7954
|
-
*/
|
|
7955
|
-
value: number;
|
|
7956
|
-
deviceId: string;
|
|
7957
|
-
observationId: string;
|
|
7958
|
-
receivedAt: string;
|
|
7959
|
-
ageMs: number;
|
|
7960
|
-
measuredAt: string;
|
|
7961
|
-
[key: string]: unknown;
|
|
7962
|
-
};
|
|
7963
7825
|
export type ObservationHealthUptimeObservation = {
|
|
7964
7826
|
type: "health.uptime";
|
|
7965
7827
|
/**
|
|
@@ -8565,7 +8427,7 @@ export type ObservationPowerActivitiesObservation = {
|
|
|
8565
8427
|
*
|
|
8566
8428
|
* Readable activity state; elapsed counters remain independent and overlap.
|
|
8567
8429
|
*/
|
|
8568
|
-
value: Array<"rrc" | "mqtt" | "
|
|
8430
|
+
value: Array<"rrc" | "mqtt" | "psm" | "esp" | "wifiScan" | "bleScan" | "gnss">;
|
|
8569
8431
|
deviceId: string;
|
|
8570
8432
|
observationId: string;
|
|
8571
8433
|
receivedAt: string;
|
|
@@ -8738,21 +8600,6 @@ export type ObservationPowerPsmEntriesObservation = {
|
|
|
8738
8600
|
measuredAt: string;
|
|
8739
8601
|
[key: string]: unknown;
|
|
8740
8602
|
};
|
|
8741
|
-
export type ObservationPowerPsmFallbacksObservation = {
|
|
8742
|
-
type: "power.psmFallbacks";
|
|
8743
|
-
/**
|
|
8744
|
-
* Power-saving fallback count
|
|
8745
|
-
*
|
|
8746
|
-
* Number of power-saving-mode fallbacks recorded in the power-activity snapshot.
|
|
8747
|
-
*/
|
|
8748
|
-
value: number;
|
|
8749
|
-
deviceId: string;
|
|
8750
|
-
observationId: string;
|
|
8751
|
-
receivedAt: string;
|
|
8752
|
-
ageMs: number;
|
|
8753
|
-
measuredAt: string;
|
|
8754
|
-
[key: string]: unknown;
|
|
8755
|
-
};
|
|
8756
8603
|
export type ObservationPowerPsmMsObservation = {
|
|
8757
8604
|
type: "power.psmMs";
|
|
8758
8605
|
/**
|
|
@@ -8768,36 +8615,6 @@ export type ObservationPowerPsmMsObservation = {
|
|
|
8768
8615
|
measuredAt: string;
|
|
8769
8616
|
[key: string]: unknown;
|
|
8770
8617
|
};
|
|
8771
|
-
export type ObservationPowerResponseWindowEntriesObservation = {
|
|
8772
|
-
type: "power.responseWindowEntries";
|
|
8773
|
-
/**
|
|
8774
|
-
* Command response window entry count
|
|
8775
|
-
*
|
|
8776
|
-
* Number of entries into the command-response window recorded in the power-activity snapshot.
|
|
8777
|
-
*/
|
|
8778
|
-
value: number;
|
|
8779
|
-
deviceId: string;
|
|
8780
|
-
observationId: string;
|
|
8781
|
-
receivedAt: string;
|
|
8782
|
-
ageMs: number;
|
|
8783
|
-
measuredAt: string;
|
|
8784
|
-
[key: string]: unknown;
|
|
8785
|
-
};
|
|
8786
|
-
export type ObservationPowerResponseWindowMsObservation = {
|
|
8787
|
-
type: "power.responseWindowMs";
|
|
8788
|
-
/**
|
|
8789
|
-
* Command response window total time
|
|
8790
|
-
*
|
|
8791
|
-
* Accumulated time attributed to the command-response window, in milliseconds, in the power-activity snapshot.
|
|
8792
|
-
*/
|
|
8793
|
-
value: number;
|
|
8794
|
-
deviceId: string;
|
|
8795
|
-
observationId: string;
|
|
8796
|
-
receivedAt: string;
|
|
8797
|
-
ageMs: number;
|
|
8798
|
-
measuredAt: string;
|
|
8799
|
-
[key: string]: unknown;
|
|
8800
|
-
};
|
|
8801
8618
|
export type ObservationPowerRrcEntriesObservation = {
|
|
8802
8619
|
type: "power.rrcEntries";
|
|
8803
8620
|
/**
|
|
@@ -8988,7 +8805,6 @@ export type ObservationWorkCompletedObservation = {
|
|
|
8988
8805
|
activityEntries: DeviceObservationValuesActivityEntries;
|
|
8989
8806
|
recoveries: DeviceObservationValuesRecoveryCounts;
|
|
8990
8807
|
saturated: boolean;
|
|
8991
|
-
mode: number;
|
|
8992
8808
|
[key: string]: unknown;
|
|
8993
8809
|
};
|
|
8994
8810
|
deviceId: string;
|
|
@@ -9007,7 +8823,6 @@ export type ObservationWorkflowExecutionObservation = {
|
|
|
9007
8823
|
*/
|
|
9008
8824
|
value: {
|
|
9009
8825
|
workflowVersion: number;
|
|
9010
|
-
mode: number;
|
|
9011
8826
|
state: string;
|
|
9012
8827
|
owner: "workflow" | "command" | "update" | "recovery" | "shutdown" | "fault" | "settings" | "charging" | "ble" | "network";
|
|
9013
8828
|
phase: "entered" | "completed" | "cancelled" | "ownerChanged" | "snapshot";
|
|
@@ -9015,7 +8830,7 @@ export type ObservationWorkflowExecutionObservation = {
|
|
|
9015
8830
|
durationMs: number | null;
|
|
9016
8831
|
error: number | null;
|
|
9017
8832
|
waitReason: "resource" | "command" | "update" | "configuration" | "rest" | "network" | null;
|
|
9018
|
-
operation: "capture" | "mqttOpen" | "publish" | "
|
|
8833
|
+
operation: "capture" | "mqttOpen" | "publish" | "modemOnline" | "modemEdrx" | "modemOffline" | "disconnectMqtt" | "prepareConnection" | "connect" | null;
|
|
9019
8834
|
[key: string]: unknown;
|
|
9020
8835
|
};
|
|
9021
8836
|
deviceId: string;
|
|
@@ -9094,7 +8909,25 @@ export type PositionGnssFixValue = {
|
|
|
9094
8909
|
quality: null | FixQualityValue;
|
|
9095
8910
|
[key: string]: unknown;
|
|
9096
8911
|
};
|
|
9097
|
-
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";
|
|
9098
8931
|
export type PreferenceMapStyle = "minimal" | "satellite";
|
|
9099
8932
|
export type PreferencePatch = {
|
|
9100
8933
|
alarm?: PatchFieldOfboolean;
|
|
@@ -9116,7 +8949,6 @@ export type RecoveryCountsValue = {
|
|
|
9116
8949
|
espRecoveries: number;
|
|
9117
8950
|
wifiTimeouts: number;
|
|
9118
8951
|
bleTimeouts: number;
|
|
9119
|
-
psmFallbacks: number;
|
|
9120
8952
|
[key: string]: unknown;
|
|
9121
8953
|
};
|
|
9122
8954
|
export type RedeemInvitation = {
|
|
@@ -9133,9 +8965,6 @@ export type ReportFirmwareAttempt = {
|
|
|
9133
8965
|
attemptId: string;
|
|
9134
8966
|
outcome: CustomerFirmwareReportOutcome;
|
|
9135
8967
|
};
|
|
9136
|
-
export type RequestedMode = {
|
|
9137
|
-
mode: string;
|
|
9138
|
-
};
|
|
9139
8968
|
export type ResetContextValue = {
|
|
9140
8969
|
sequence: number;
|
|
9141
8970
|
controllerPhase: number;
|
|
@@ -9352,7 +9181,7 @@ export type TrackerDataBikeInfo = {
|
|
|
9352
9181
|
[key: string]: unknown;
|
|
9353
9182
|
};
|
|
9354
9183
|
export type TrackerDataConfig = {
|
|
9355
|
-
|
|
9184
|
+
movementAlerts?: null | boolean;
|
|
9356
9185
|
isBlacklisted?: null | boolean;
|
|
9357
9186
|
enableBlePinChange?: null | boolean;
|
|
9358
9187
|
[key: string]: unknown;
|
|
@@ -9493,10 +9322,6 @@ export type TrackerLookup = {
|
|
|
9493
9322
|
claimable: boolean;
|
|
9494
9323
|
[key: string]: unknown;
|
|
9495
9324
|
};
|
|
9496
|
-
export type TrackerModesSnapshot = {
|
|
9497
|
-
modes: Array<string>;
|
|
9498
|
-
[key: string]: unknown;
|
|
9499
|
-
};
|
|
9500
9325
|
export type TrackerOperationStatistics = {
|
|
9501
9326
|
count?: null | number;
|
|
9502
9327
|
successCount?: null | number;
|
|
@@ -9612,7 +9437,6 @@ export type WorkCompletedValue = {
|
|
|
9612
9437
|
activityEntries: ActivityEntriesValue;
|
|
9613
9438
|
recoveries: RecoveryCountsValue;
|
|
9614
9439
|
saturated: boolean;
|
|
9615
|
-
mode: number;
|
|
9616
9440
|
[key: string]: unknown;
|
|
9617
9441
|
};
|
|
9618
9442
|
export type WorkCompletedValueTrigger = "boot" | "timer" | "movement" | "command";
|
|
@@ -9624,7 +9448,6 @@ export type WorkExecutionData = {
|
|
|
9624
9448
|
};
|
|
9625
9449
|
export type WorkflowExecutionValue = {
|
|
9626
9450
|
workflowVersion: number;
|
|
9627
|
-
mode: number;
|
|
9628
9451
|
state: WorkflowExecutionValueState;
|
|
9629
9452
|
owner: WorkflowExecutionValueOwner;
|
|
9630
9453
|
phase: WorkflowExecutionValuePhase;
|
|
@@ -9635,11 +9458,11 @@ export type WorkflowExecutionValue = {
|
|
|
9635
9458
|
operation: null | WorkflowExecutionValueOperation;
|
|
9636
9459
|
[key: string]: unknown;
|
|
9637
9460
|
};
|
|
9638
|
-
export type WorkflowExecutionValueOperation = "capture" | "mqttOpen" | "publish" | "
|
|
9461
|
+
export type WorkflowExecutionValueOperation = "capture" | "mqttOpen" | "publish" | "modemOnline" | "modemEdrx" | "modemOffline" | "disconnectMqtt" | "prepareConnection" | "connect";
|
|
9639
9462
|
export type WorkflowExecutionValueOutcome = "done" | "unavailable" | "failed" | "timeout" | "cancelled";
|
|
9640
9463
|
export type WorkflowExecutionValueOwner = "workflow" | "command" | "update" | "recovery" | "shutdown" | "fault" | "settings" | "charging" | "ble" | "network";
|
|
9641
9464
|
export type WorkflowExecutionValuePhase = "entered" | "completed" | "cancelled" | "ownerChanged" | "snapshot";
|
|
9642
|
-
export type WorkflowExecutionValueState = "idle" | "battery" | "connect" | "
|
|
9465
|
+
export type WorkflowExecutionValueState = "idle" | "battery" | "connect" | "publish";
|
|
9643
9466
|
export type WorkflowExecutionValueWaitReason = "resource" | "command" | "update" | "configuration" | "rest" | "network";
|
|
9644
9467
|
export type ReadCustomerFirmwareReportOutcome = "transferFailed" | "targetVersionObserved";
|
|
9645
9468
|
export type ReadDeviceSettings = {
|
|
@@ -9830,65 +9653,17 @@ export type ReadDeviceSettings = {
|
|
|
9830
9653
|
*/
|
|
9831
9654
|
bleAdvertisingIntervalUnits?: number;
|
|
9832
9655
|
/**
|
|
9833
|
-
*
|
|
9834
|
-
*
|
|
9835
|
-
* 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.
|
|
9836
|
-
*/
|
|
9837
|
-
mode?: number;
|
|
9838
|
-
/**
|
|
9839
|
-
* Powered report interval
|
|
9656
|
+
* Connected report interval
|
|
9840
9657
|
*
|
|
9841
|
-
* Period between
|
|
9658
|
+
* Period between battery and status reports while the tracker maintains its connection. These reports do not initiate positioning scans.
|
|
9842
9659
|
*/
|
|
9843
|
-
|
|
9660
|
+
connectedReportIntervalSeconds?: number;
|
|
9844
9661
|
/**
|
|
9845
|
-
*
|
|
9662
|
+
* Movement cooldown
|
|
9846
9663
|
*
|
|
9847
|
-
*
|
|
9664
|
+
* Time after an accepted movement detection with the accelerometer and its wake interrupt disabled. Positioning, reports and reconnects do not restart the cooldown.
|
|
9848
9665
|
*/
|
|
9849
|
-
|
|
9850
|
-
/**
|
|
9851
|
-
* Mode 1 idle duration
|
|
9852
|
-
*
|
|
9853
|
-
* Maximum battery idle duration after a mode 1 cycle, measured from the end of work.
|
|
9854
|
-
*/
|
|
9855
|
-
mode1IdleSeconds?: number;
|
|
9856
|
-
/**
|
|
9857
|
-
* Mode 2 idle duration
|
|
9858
|
-
*
|
|
9859
|
-
* Maximum battery idle duration after a mode 2 cycle, measured from the end of work.
|
|
9860
|
-
*/
|
|
9861
|
-
mode2IdleSeconds?: number;
|
|
9862
|
-
/**
|
|
9863
|
-
* Mode 0 minimum rest
|
|
9864
|
-
*
|
|
9865
|
-
* Duration after a mode 0 cycle with the accelerometer and its wake interrupt disabled. Firmware re-enables motion detection when this period ends.
|
|
9866
|
-
*/
|
|
9867
|
-
mode0MinimumRestSeconds?: number;
|
|
9868
|
-
/**
|
|
9869
|
-
* Mode 1 minimum rest
|
|
9870
|
-
*
|
|
9871
|
-
* Duration after a mode 1 cycle with the accelerometer and its wake interrupt disabled. Firmware re-enables motion detection when this period ends.
|
|
9872
|
-
*/
|
|
9873
|
-
mode1MinimumRestSeconds?: number;
|
|
9874
|
-
/**
|
|
9875
|
-
* Mode 2 minimum rest
|
|
9876
|
-
*
|
|
9877
|
-
* Duration after a mode 2 cycle with the accelerometer and its wake interrupt disabled. Firmware re-enables motion detection when this period ends.
|
|
9878
|
-
*/
|
|
9879
|
-
mode2MinimumRestSeconds?: number;
|
|
9880
|
-
/**
|
|
9881
|
-
* PSM residence
|
|
9882
|
-
*
|
|
9883
|
-
* Maximum idle time in PSM before setting the modem offline; capped by the existing idle deadline.
|
|
9884
|
-
*/
|
|
9885
|
-
psmResidenceSeconds?: number;
|
|
9886
|
-
/**
|
|
9887
|
-
* Tracking command window
|
|
9888
|
-
*
|
|
9889
|
-
* Time to keep an existing connection available after a battery tracking report.
|
|
9890
|
-
*/
|
|
9891
|
-
commandListenSeconds?: number;
|
|
9666
|
+
movementCooldownSeconds?: number;
|
|
9892
9667
|
/**
|
|
9893
9668
|
* GNSS search timeout
|
|
9894
9669
|
*
|
|
@@ -9901,18 +9676,6 @@ export type ReadDeviceSettings = {
|
|
|
9901
9676
|
* Requested paging cycle; zero disables eDRX. Network-granted values can differ.
|
|
9902
9677
|
*/
|
|
9903
9678
|
edrxCycleMilliseconds?: 0 | 20480 | 40960 | 81920 | 163840 | 327680 | 655360 | 1310720 | 2621440;
|
|
9904
|
-
/**
|
|
9905
|
-
* Requested PSM TAU
|
|
9906
|
-
*
|
|
9907
|
-
* Requested periodic registration-update interval.
|
|
9908
|
-
*/
|
|
9909
|
-
psmTauSeconds?: number;
|
|
9910
|
-
/**
|
|
9911
|
-
* Requested PSM active time
|
|
9912
|
-
*
|
|
9913
|
-
* Requested active time before the modem enters PSM.
|
|
9914
|
-
*/
|
|
9915
|
-
psmActiveSeconds?: number;
|
|
9916
9679
|
/**
|
|
9917
9680
|
* Automatic diagnostic power policy
|
|
9918
9681
|
*
|
|
@@ -10052,6 +9815,11 @@ export type ReadObservationSeries = {
|
|
|
10052
9815
|
subject?: null | string;
|
|
10053
9816
|
[key: string]: unknown;
|
|
10054
9817
|
};
|
|
9818
|
+
export type ReadPositioningSchedule = {
|
|
9819
|
+
enabled: boolean;
|
|
9820
|
+
intervalSeconds: number;
|
|
9821
|
+
[key: string]: unknown;
|
|
9822
|
+
};
|
|
10055
9823
|
export type SetTrackerSubscriptionData = {
|
|
10056
9824
|
body: AllocationChange;
|
|
10057
9825
|
path: {
|
|
@@ -10186,28 +9954,72 @@ export type LookupTrackerResponses = {
|
|
|
10186
9954
|
200: TrackerLookup;
|
|
10187
9955
|
};
|
|
10188
9956
|
export type LookupTrackerResponse = LookupTrackerResponses[keyof LookupTrackerResponses];
|
|
10189
|
-
export type
|
|
9957
|
+
export type GetTrackerPositioningData = {
|
|
10190
9958
|
body?: never;
|
|
10191
9959
|
path: {
|
|
10192
9960
|
id: string;
|
|
10193
9961
|
};
|
|
10194
9962
|
query?: never;
|
|
10195
|
-
url: "/v1/trackers/{id}/
|
|
9963
|
+
url: "/v1/trackers/{id}/positioning";
|
|
9964
|
+
};
|
|
9965
|
+
export type GetTrackerPositioningErrors = {
|
|
9966
|
+
/**
|
|
9967
|
+
* Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
|
|
9968
|
+
*/
|
|
9969
|
+
default: ApiProblem;
|
|
9970
|
+
};
|
|
9971
|
+
export type GetTrackerPositioningError = GetTrackerPositioningErrors[keyof GetTrackerPositioningErrors];
|
|
9972
|
+
export type GetTrackerPositioningResponses = {
|
|
9973
|
+
/**
|
|
9974
|
+
* OK
|
|
9975
|
+
*/
|
|
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";
|
|
10196
9986
|
};
|
|
10197
|
-
export type
|
|
9987
|
+
export type SetTrackerPositioningScheduleErrors = {
|
|
10198
9988
|
/**
|
|
10199
9989
|
* Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
|
|
10200
9990
|
*/
|
|
10201
9991
|
default: ApiProblem;
|
|
10202
9992
|
};
|
|
10203
|
-
export type
|
|
10204
|
-
export type
|
|
9993
|
+
export type SetTrackerPositioningScheduleError = SetTrackerPositioningScheduleErrors[keyof SetTrackerPositioningScheduleErrors];
|
|
9994
|
+
export type SetTrackerPositioningScheduleResponses = {
|
|
10205
9995
|
/**
|
|
10206
9996
|
* OK
|
|
10207
9997
|
*/
|
|
10208
|
-
200:
|
|
9998
|
+
200: PositioningView;
|
|
10209
9999
|
};
|
|
10210
|
-
export type
|
|
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";
|
|
10008
|
+
};
|
|
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];
|
|
10211
10023
|
export type GetTrackerData = {
|
|
10212
10024
|
body?: never;
|
|
10213
10025
|
path: {
|
|
@@ -10390,28 +10202,28 @@ export type RedeemInvitationResponses = {
|
|
|
10390
10202
|
204: void;
|
|
10391
10203
|
};
|
|
10392
10204
|
export type RedeemInvitationResponse = RedeemInvitationResponses[keyof RedeemInvitationResponses];
|
|
10393
|
-
export type
|
|
10394
|
-
body:
|
|
10205
|
+
export type SetMovementAlertsData = {
|
|
10206
|
+
body: MovementAlertPreference;
|
|
10395
10207
|
path: {
|
|
10396
10208
|
id: string;
|
|
10397
10209
|
};
|
|
10398
10210
|
query?: never;
|
|
10399
|
-
url: "/v1/trackers/{id}/
|
|
10211
|
+
url: "/v1/trackers/{id}/movement-alerts";
|
|
10400
10212
|
};
|
|
10401
|
-
export type
|
|
10213
|
+
export type SetMovementAlertsErrors = {
|
|
10402
10214
|
/**
|
|
10403
10215
|
* Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
|
|
10404
10216
|
*/
|
|
10405
10217
|
default: ApiProblem;
|
|
10406
10218
|
};
|
|
10407
|
-
export type
|
|
10408
|
-
export type
|
|
10219
|
+
export type SetMovementAlertsError = SetMovementAlertsErrors[keyof SetMovementAlertsErrors];
|
|
10220
|
+
export type SetMovementAlertsResponses = {
|
|
10409
10221
|
/**
|
|
10410
10222
|
* No Content
|
|
10411
10223
|
*/
|
|
10412
10224
|
204: void;
|
|
10413
10225
|
};
|
|
10414
|
-
export type
|
|
10226
|
+
export type SetMovementAlertsResponse = SetMovementAlertsResponses[keyof SetMovementAlertsResponses];
|
|
10415
10227
|
export type ReportBatteryData = {
|
|
10416
10228
|
body: BatteryObservation;
|
|
10417
10229
|
path: {
|
|
@@ -10522,6 +10334,28 @@ export type ReportTheftResponses = {
|
|
|
10522
10334
|
200: ResourceCreated;
|
|
10523
10335
|
};
|
|
10524
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];
|
|
10525
10359
|
export type GetStaffTrackerCom4SimStatusData = {
|
|
10526
10360
|
body?: never;
|
|
10527
10361
|
path: {
|
|
@@ -10707,28 +10541,6 @@ export type ListStaffTrackersResponses = {
|
|
|
10707
10541
|
200: TrackerPage;
|
|
10708
10542
|
};
|
|
10709
10543
|
export type ListStaffTrackersResponse = ListStaffTrackersResponses[keyof ListStaffTrackersResponses];
|
|
10710
|
-
export type GetStaffTrackerModesData = {
|
|
10711
|
-
body?: never;
|
|
10712
|
-
path: {
|
|
10713
|
-
id: string;
|
|
10714
|
-
};
|
|
10715
|
-
query?: never;
|
|
10716
|
-
url: "/v1/admin/trackers/{id}/modes";
|
|
10717
|
-
};
|
|
10718
|
-
export type GetStaffTrackerModesErrors = {
|
|
10719
|
-
/**
|
|
10720
|
-
* Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
|
|
10721
|
-
*/
|
|
10722
|
-
default: ApiProblem;
|
|
10723
|
-
};
|
|
10724
|
-
export type GetStaffTrackerModesError = GetStaffTrackerModesErrors[keyof GetStaffTrackerModesErrors];
|
|
10725
|
-
export type GetStaffTrackerModesResponses = {
|
|
10726
|
-
/**
|
|
10727
|
-
* OK
|
|
10728
|
-
*/
|
|
10729
|
-
200: TrackerModesSnapshot;
|
|
10730
|
-
};
|
|
10731
|
-
export type GetStaffTrackerModesResponse = GetStaffTrackerModesResponses[keyof GetStaffTrackerModesResponses];
|
|
10732
10544
|
export type GetStaffTrackerData = {
|
|
10733
10545
|
body?: never;
|
|
10734
10546
|
path: {
|
|
@@ -11414,6 +11226,55 @@ export type GetSubscriptionResponses = {
|
|
|
11414
11226
|
200: SubscriptionDocument;
|
|
11415
11227
|
};
|
|
11416
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];
|
|
11417
11278
|
export type GetStaffTrackerConnectivityData = {
|
|
11418
11279
|
body?: never;
|
|
11419
11280
|
path: {
|
|
@@ -11534,6 +11395,72 @@ export type ReadStaffTrackerObservationsResponses = {
|
|
|
11534
11395
|
200: Array<AwsObservationReading>;
|
|
11535
11396
|
};
|
|
11536
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];
|
|
11537
11464
|
export type UploadStaffTrackerBatteryFirmwareData = {
|
|
11538
11465
|
body: Blob | File;
|
|
11539
11466
|
path: {
|
|
@@ -11788,52 +11715,3 @@ export type CancelStaffTrackerFirmwareUpdateResponses = {
|
|
|
11788
11715
|
202: AwsFirmwareReceipt;
|
|
11789
11716
|
};
|
|
11790
11717
|
export type CancelStaffTrackerFirmwareUpdateResponse = CancelStaffTrackerFirmwareUpdateResponses[keyof CancelStaffTrackerFirmwareUpdateResponses];
|
|
11791
|
-
export type ListStaffSubscriptionsData = {
|
|
11792
|
-
body?: never;
|
|
11793
|
-
path?: never;
|
|
11794
|
-
query?: {
|
|
11795
|
-
accountId?: string;
|
|
11796
|
-
wooId?: number;
|
|
11797
|
-
businessEmail?: string;
|
|
11798
|
-
businessOnly?: boolean;
|
|
11799
|
-
limit?: number;
|
|
11800
|
-
cursor?: string;
|
|
11801
|
-
};
|
|
11802
|
-
url: "/v1/admin/subscriptions";
|
|
11803
|
-
};
|
|
11804
|
-
export type ListStaffSubscriptionsErrors = {
|
|
11805
|
-
/**
|
|
11806
|
-
* Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
|
|
11807
|
-
*/
|
|
11808
|
-
default: ApiProblem;
|
|
11809
|
-
};
|
|
11810
|
-
export type ListStaffSubscriptionsError = ListStaffSubscriptionsErrors[keyof ListStaffSubscriptionsErrors];
|
|
11811
|
-
export type ListStaffSubscriptionsResponses = {
|
|
11812
|
-
/**
|
|
11813
|
-
* OK
|
|
11814
|
-
*/
|
|
11815
|
-
200: StaffSubscriptionPage;
|
|
11816
|
-
};
|
|
11817
|
-
export type ListStaffSubscriptionsResponse = ListStaffSubscriptionsResponses[keyof ListStaffSubscriptionsResponses];
|
|
11818
|
-
export type GetStaffSubscriptionData = {
|
|
11819
|
-
body?: never;
|
|
11820
|
-
path: {
|
|
11821
|
-
id: string;
|
|
11822
|
-
};
|
|
11823
|
-
query?: never;
|
|
11824
|
-
url: "/v1/admin/subscriptions/{id}";
|
|
11825
|
-
};
|
|
11826
|
-
export type GetStaffSubscriptionErrors = {
|
|
11827
|
-
/**
|
|
11828
|
-
* Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
|
|
11829
|
-
*/
|
|
11830
|
-
default: ApiProblem;
|
|
11831
|
-
};
|
|
11832
|
-
export type GetStaffSubscriptionError = GetStaffSubscriptionErrors[keyof GetStaffSubscriptionErrors];
|
|
11833
|
-
export type GetStaffSubscriptionResponses = {
|
|
11834
|
-
/**
|
|
11835
|
-
* OK
|
|
11836
|
-
*/
|
|
11837
|
-
200: StaffSubscriptionDocument;
|
|
11838
|
-
};
|
|
11839
|
-
export type GetStaffSubscriptionResponse = GetStaffSubscriptionResponses[keyof GetStaffSubscriptionResponses];
|