@bikefinder/sdk 0.4.0 → 0.6.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 +13 -15
- package/dist/{workflow-schema.d.ts → acquisition-schema.d.ts} +22 -43
- package/dist/{workflow-schema.js → acquisition-schema.js} +43 -91
- package/dist/device-schema.d.ts +1046 -463
- package/dist/device-schema.js +1206 -590
- 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 +1686 -1163
- package/dist/generated/zod.gen.d.ts +3452 -4523
- package/dist/generated/zod.gen.js +2379 -2392
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1 -1
- package/dist/signalr/BikeFinder.Api.Observations.d.ts +1 -0
- package/dist/signalr/BikeFinder.Api.Observations.js +1 -0
- package/dist/signalr/BikeFinder.Api.Settings.d.ts +1 -0
- package/dist/signalr/BikeFinder.Api.Settings.js +1 -0
- package/dist/signalr/TypedSignalR.Client/BikeFinder.Api.Trackers.d.ts +12 -10
- package/openapi/api.json +13720 -10560
- package/package.json +3 -3
- /package/dist/signalr/{BikeFinder.Api.Aws.d.ts → BikeFinder.Api.Commands.d.ts} +0 -0
- /package/dist/signalr/{BikeFinder.Api.Aws.js → BikeFinder.Api.Commands.js} +0 -0
|
@@ -39,44 +39,125 @@ export type AccountProfileDocument = {
|
|
|
39
39
|
data: AccountProfileData;
|
|
40
40
|
[key: string]: unknown;
|
|
41
41
|
};
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
export type ActivityEntriesValue = {
|
|
54
|
-
rrc: number;
|
|
55
|
-
mqtt: number;
|
|
56
|
-
responseWindow: number;
|
|
57
|
-
psm: number;
|
|
58
|
-
esp: number;
|
|
59
|
-
wifiScan: number;
|
|
60
|
-
bleScan: number;
|
|
61
|
-
gnss: number;
|
|
42
|
+
/**
|
|
43
|
+
* acquisition.completed
|
|
44
|
+
*
|
|
45
|
+
* Request-scoped domain evidence emitted before its terminal command result.
|
|
46
|
+
*/
|
|
47
|
+
export type AcquisitionCompletedValue = {
|
|
48
|
+
sampledMask: number;
|
|
49
|
+
unavailableMask: number;
|
|
50
|
+
timedOutMask: number;
|
|
51
|
+
cancelledMask: number;
|
|
52
|
+
failedMask: number;
|
|
62
53
|
[key: string]: unknown;
|
|
63
54
|
};
|
|
55
|
+
export type AcquisitionOptions = {
|
|
56
|
+
gnss?: {
|
|
57
|
+
/**
|
|
58
|
+
* assistance for this behavior request.
|
|
59
|
+
*/
|
|
60
|
+
assistance?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* powerMode for this behavior request.
|
|
63
|
+
*/
|
|
64
|
+
powerMode?: "disabled" | "performance" | "power";
|
|
65
|
+
/**
|
|
66
|
+
* Keep LTE paging available during the normal connected search. GNSS priority can block LTE paging for up to 40 seconds.
|
|
67
|
+
*/
|
|
68
|
+
priorityMode?: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* lowAccuracy for this behavior request.
|
|
71
|
+
*/
|
|
72
|
+
lowAccuracy?: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* targetAccuracyMeters for this behavior request.
|
|
75
|
+
*/
|
|
76
|
+
targetAccuracyMeters?: number;
|
|
77
|
+
/**
|
|
78
|
+
* consecutiveFixes for this behavior request.
|
|
79
|
+
*/
|
|
80
|
+
consecutiveFixes?: number;
|
|
81
|
+
/**
|
|
82
|
+
* visibility.enabled for this behavior request.
|
|
83
|
+
*/
|
|
84
|
+
visibilityEnabled?: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* visibility.executionSeconds for this behavior request.
|
|
87
|
+
*/
|
|
88
|
+
visibilityExecutionSeconds?: number;
|
|
89
|
+
/**
|
|
90
|
+
* visibility.minSatellites for this behavior request.
|
|
91
|
+
*/
|
|
92
|
+
visibilityMinSatellites?: number;
|
|
93
|
+
} | null;
|
|
94
|
+
cell?: {
|
|
95
|
+
/**
|
|
96
|
+
* mode for this behavior request.
|
|
97
|
+
*/
|
|
98
|
+
mode?: "serving" | "gci" | "neighbors";
|
|
99
|
+
/**
|
|
100
|
+
* gciCount for this behavior request.
|
|
101
|
+
*/
|
|
102
|
+
gciCount?: number;
|
|
103
|
+
} | null;
|
|
104
|
+
wifi?: {
|
|
105
|
+
/**
|
|
106
|
+
* scanType for this behavior request.
|
|
107
|
+
*/
|
|
108
|
+
scanType?: "active" | "passive";
|
|
109
|
+
/**
|
|
110
|
+
* activeMinMs for this behavior request.
|
|
111
|
+
*/
|
|
112
|
+
activeMinMs?: number;
|
|
113
|
+
/**
|
|
114
|
+
* activeMaxMs for this behavior request.
|
|
115
|
+
*/
|
|
116
|
+
activeMaxMs?: number;
|
|
117
|
+
/**
|
|
118
|
+
* passiveMs for this behavior request.
|
|
119
|
+
*/
|
|
120
|
+
passiveMs?: number;
|
|
121
|
+
/**
|
|
122
|
+
* channelMask for this behavior request.
|
|
123
|
+
*/
|
|
124
|
+
channelMask?: number;
|
|
125
|
+
/**
|
|
126
|
+
* budgetMs for this behavior request.
|
|
127
|
+
*/
|
|
128
|
+
budgetMs?: number;
|
|
129
|
+
} | null;
|
|
130
|
+
};
|
|
131
|
+
/**
|
|
132
|
+
* Agnss completed
|
|
133
|
+
*
|
|
134
|
+
* A single assistance exchange outcome; later fix latency is new search evidence, not a mutation of this completed record.
|
|
135
|
+
*/
|
|
64
136
|
export type AgnssCompletedValue = {
|
|
65
|
-
outcome:
|
|
66
|
-
error:
|
|
67
|
-
requested:
|
|
68
|
-
supplied:
|
|
69
|
-
serverProcessingMs:
|
|
137
|
+
outcome: DeviceObservationValuesOperationOutcome;
|
|
138
|
+
error: DeviceObservationValuesOperationError | null;
|
|
139
|
+
requested: DeviceObservationValuesAssistanceMasks;
|
|
140
|
+
supplied: DeviceObservationValuesAssistanceMasks;
|
|
141
|
+
serverProcessingMs: number | null;
|
|
70
142
|
replyValidated: boolean;
|
|
71
143
|
acceptedRecords: number;
|
|
72
144
|
timeSkipped: boolean;
|
|
73
145
|
transferDurationMs: number;
|
|
74
146
|
[key: string]: unknown;
|
|
75
147
|
};
|
|
148
|
+
/**
|
|
149
|
+
* Agnss transfer trace
|
|
150
|
+
*
|
|
151
|
+
* No fixed chunk0..4 public observations; distinguish milestones from durations and absent stages from real zero.
|
|
152
|
+
*/
|
|
76
153
|
export type AgnssTransferTraceValue = {
|
|
77
|
-
milestones: Array<
|
|
78
|
-
durations: Array<
|
|
79
|
-
serviceTiming:
|
|
154
|
+
milestones: Array<DeviceObservationValuesTraceMilestone>;
|
|
155
|
+
durations: Array<DeviceObservationValuesTimingDuration>;
|
|
156
|
+
serviceTiming: {
|
|
157
|
+
maximumStepMs: number;
|
|
158
|
+
maximumGapMs: number;
|
|
159
|
+
[key: string]: unknown;
|
|
160
|
+
};
|
|
80
161
|
omitted: number;
|
|
81
162
|
[key: string]: unknown;
|
|
82
163
|
};
|
|
@@ -380,347 +461,115 @@ export type AuditPartialOfAuditQuestionnaireDataAuditQuestionnaireData = {
|
|
|
380
461
|
wouldRecommend?: null | TextOrNumber;
|
|
381
462
|
[key: string]: unknown;
|
|
382
463
|
};
|
|
383
|
-
export type
|
|
464
|
+
export type BatteryArtifact = {
|
|
384
465
|
moduleId: string;
|
|
385
466
|
version: string;
|
|
386
467
|
sha256: string;
|
|
387
468
|
imageBytes: number;
|
|
388
469
|
[key: string]: unknown;
|
|
389
470
|
};
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
requestedAt: string;
|
|
400
|
-
publishedAt: null | string;
|
|
401
|
-
inventoryId: string;
|
|
402
|
-
commandId: number;
|
|
403
|
-
execution?: null | CommandExecution;
|
|
404
|
-
executionVersion?: number;
|
|
405
|
-
batteryUpdate?: null | AwsBatteryArtifact;
|
|
406
|
-
[key: string]: unknown;
|
|
407
|
-
};
|
|
408
|
-
export type AwsCommandAvailability = {
|
|
409
|
-
definition: CommandDefinition;
|
|
410
|
-
available: boolean;
|
|
411
|
-
reason: null | string;
|
|
412
|
-
[key: string]: unknown;
|
|
413
|
-
};
|
|
414
|
-
export type AwsCommandCapabilities = {
|
|
415
|
-
device: AwsDeviceIdentity;
|
|
416
|
-
firmware: null | FirmwareLteCurrent;
|
|
417
|
-
protocolVerified: boolean;
|
|
418
|
-
commands: Array<AwsCommandAvailability>;
|
|
419
|
-
[key: string]: unknown;
|
|
420
|
-
};
|
|
421
|
-
export type AwsCommandPage = {
|
|
422
|
-
items: Array<AwsCommand>;
|
|
423
|
-
nextCursor: null | string;
|
|
424
|
-
readIssues?: null | Array<AwsCommandReadIssue>;
|
|
425
|
-
[key: string]: unknown;
|
|
426
|
-
};
|
|
427
|
-
export type AwsCommandReadIssue = {
|
|
428
|
-
requestId: null | number;
|
|
429
|
-
code: string;
|
|
430
|
-
[key: string]: unknown;
|
|
431
|
-
};
|
|
432
|
-
export type AwsCommandRequest = {
|
|
433
|
-
operationId: string;
|
|
434
|
-
expectedInventoryId: string;
|
|
435
|
-
command: "status";
|
|
436
|
-
arguments: Array<never>;
|
|
437
|
-
metrics?: null;
|
|
438
|
-
enrollmentUrl?: null;
|
|
439
|
-
confirmed?: boolean;
|
|
440
|
-
} | {
|
|
441
|
-
operationId: string;
|
|
442
|
-
expectedInventoryId: string;
|
|
443
|
-
command: "reconcileSettings";
|
|
444
|
-
arguments: Array<never>;
|
|
445
|
-
metrics?: null;
|
|
446
|
-
enrollmentUrl?: null;
|
|
447
|
-
confirmed?: boolean;
|
|
448
|
-
} | {
|
|
449
|
-
operationId: string;
|
|
450
|
-
expectedInventoryId: string;
|
|
451
|
-
command: "disconnect";
|
|
452
|
-
arguments: Array<never>;
|
|
453
|
-
metrics?: null;
|
|
454
|
-
enrollmentUrl?: null;
|
|
455
|
-
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
|
-
} | {
|
|
465
|
-
operationId: string;
|
|
466
|
-
expectedInventoryId: string;
|
|
467
|
-
command: "requestObservations";
|
|
468
|
-
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 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164>;
|
|
470
|
-
enrollmentUrl?: null;
|
|
471
|
-
confirmed?: boolean;
|
|
472
|
-
} | {
|
|
473
|
-
operationId: string;
|
|
474
|
-
expectedInventoryId: string;
|
|
475
|
-
command: "sample";
|
|
476
|
-
arguments: [1 | 2 | 4 | 8 | 16 | 32, number];
|
|
477
|
-
metrics?: null;
|
|
478
|
-
enrollmentUrl?: null;
|
|
479
|
-
confirmed?: boolean;
|
|
480
|
-
} | {
|
|
481
|
-
operationId: string;
|
|
482
|
-
expectedInventoryId: string;
|
|
483
|
-
command: "cancel";
|
|
484
|
-
arguments: [number];
|
|
485
|
-
metrics?: null;
|
|
486
|
-
enrollmentUrl?: null;
|
|
487
|
-
confirmed?: boolean;
|
|
488
|
-
} | {
|
|
489
|
-
operationId: string;
|
|
490
|
-
expectedInventoryId: string;
|
|
491
|
-
command: "reboot";
|
|
492
|
-
arguments: Array<never>;
|
|
493
|
-
metrics?: null;
|
|
494
|
-
enrollmentUrl?: null;
|
|
495
|
-
confirmed: true;
|
|
496
|
-
} | {
|
|
497
|
-
operationId: string;
|
|
498
|
-
expectedInventoryId: string;
|
|
499
|
-
command: "identify";
|
|
500
|
-
arguments: [number];
|
|
501
|
-
metrics?: null;
|
|
502
|
-
enrollmentUrl?: null;
|
|
503
|
-
confirmed?: boolean;
|
|
504
|
-
} | {
|
|
505
|
-
operationId: string;
|
|
506
|
-
expectedInventoryId: string;
|
|
507
|
-
command: "streamObservations";
|
|
508
|
-
arguments: [
|
|
509
|
-
number,
|
|
510
|
-
number,
|
|
511
|
-
number,
|
|
512
|
-
0 | 1 | 2 | 3,
|
|
513
|
-
1 | 2 | 4 | 8 | 16 | 32
|
|
514
|
-
];
|
|
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 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164>;
|
|
516
|
-
enrollmentUrl?: null;
|
|
517
|
-
confirmed?: boolean;
|
|
518
|
-
} | {
|
|
519
|
-
operationId: string;
|
|
520
|
-
expectedInventoryId: string;
|
|
521
|
-
command: "selfTest";
|
|
522
|
-
arguments: [1 | 2 | 4 | 8, number];
|
|
523
|
-
metrics?: null;
|
|
524
|
-
enrollmentUrl?: null;
|
|
525
|
-
confirmed?: boolean;
|
|
526
|
-
} | {
|
|
527
|
-
operationId: string;
|
|
528
|
-
expectedInventoryId: string;
|
|
529
|
-
command: "switchEnvironment";
|
|
530
|
-
arguments: Array<never>;
|
|
531
|
-
metrics?: null;
|
|
532
|
-
enrollmentUrl: string;
|
|
533
|
-
confirmed: true;
|
|
534
|
-
} | {
|
|
535
|
-
operationId: string;
|
|
536
|
-
expectedInventoryId: string;
|
|
537
|
-
command: "clearEnvironment";
|
|
538
|
-
arguments: Array<never>;
|
|
539
|
-
metrics?: null;
|
|
540
|
-
enrollmentUrl: string;
|
|
541
|
-
confirmed: true;
|
|
542
|
-
} | {
|
|
543
|
-
operationId: string;
|
|
544
|
-
expectedInventoryId: string;
|
|
545
|
-
command: "listEnvironments";
|
|
546
|
-
arguments: Array<never>;
|
|
547
|
-
metrics?: null;
|
|
548
|
-
enrollmentUrl?: null;
|
|
549
|
-
confirmed?: boolean;
|
|
550
|
-
} | {
|
|
551
|
-
operationId: string;
|
|
552
|
-
expectedInventoryId: string;
|
|
553
|
-
command: "runBatteryCheck";
|
|
554
|
-
arguments: Array<never>;
|
|
555
|
-
metrics?: null;
|
|
556
|
-
enrollmentUrl?: null;
|
|
557
|
-
confirmed?: boolean;
|
|
558
|
-
} | {
|
|
559
|
-
operationId: string;
|
|
560
|
-
expectedInventoryId: string;
|
|
561
|
-
command: "requestGps";
|
|
562
|
-
arguments: Array<never>;
|
|
563
|
-
metrics?: null;
|
|
564
|
-
enrollmentUrl?: null;
|
|
565
|
-
confirmed?: boolean;
|
|
566
|
-
};
|
|
567
|
-
export type AwsCommandUpdate = {
|
|
568
|
-
requestId: number;
|
|
569
|
-
command: AwsCommand | null;
|
|
570
|
-
readIssue: AwsCommandReadIssue | null;
|
|
571
|
-
[key: string]: unknown;
|
|
572
|
-
};
|
|
573
|
-
export type AwsConnectivity = {
|
|
574
|
-
connected: boolean;
|
|
575
|
-
checkedAt: string;
|
|
576
|
-
[key: string]: unknown;
|
|
577
|
-
};
|
|
578
|
-
export type AwsDeviceIdentity = {
|
|
579
|
-
deviceId: string;
|
|
580
|
-
inventoryId: string;
|
|
581
|
-
hardwareGeneration: number;
|
|
582
|
-
[key: string]: unknown;
|
|
583
|
-
};
|
|
584
|
-
export type AwsFirmwareCancellation = {
|
|
585
|
-
requestId: string;
|
|
586
|
-
expectedExecutionVersion: number;
|
|
587
|
-
};
|
|
588
|
-
export type AwsFirmwareExecution = {
|
|
589
|
-
status: string;
|
|
590
|
-
version: null | number;
|
|
591
|
-
executionNumber: null | number;
|
|
592
|
-
[key: string]: unknown;
|
|
593
|
-
};
|
|
594
|
-
export type AwsFirmwareReceipt = {
|
|
595
|
-
deviceId: string;
|
|
596
|
-
requestId: string;
|
|
597
|
-
releaseId: string;
|
|
598
|
-
chip: string;
|
|
599
|
-
targetVersion: string;
|
|
600
|
-
requestedBy: string;
|
|
601
|
-
requestedAt: string;
|
|
602
|
-
jobAcceptedAt: null | string;
|
|
603
|
-
execution: AwsFirmwareExecution;
|
|
604
|
-
expiresAt?: null | string;
|
|
605
|
-
attemptLimit?: null | number;
|
|
606
|
-
[key: string]: unknown;
|
|
607
|
-
};
|
|
608
|
-
export type AwsFirmwareRelease = {
|
|
609
|
-
id: string;
|
|
610
|
-
chip: string;
|
|
611
|
-
targetVersion: string;
|
|
612
|
-
size: number;
|
|
613
|
-
sha256: string;
|
|
614
|
-
notes?: null | string;
|
|
615
|
-
[key: string]: unknown;
|
|
616
|
-
};
|
|
617
|
-
export type AwsFirmwareRequest = {
|
|
618
|
-
requestId: string;
|
|
619
|
-
expectedInventoryId: string;
|
|
620
|
-
releaseId: string;
|
|
621
|
-
};
|
|
622
|
-
export type AwsObservationPage = {
|
|
623
|
-
items: Array<Observation>;
|
|
624
|
-
nextCursor: null | string;
|
|
625
|
-
[key: string]: unknown;
|
|
626
|
-
};
|
|
627
|
-
export type AwsObservationReading = {
|
|
628
|
-
series: ReadObservationSeries;
|
|
629
|
-
observation: null | CurrentObservation;
|
|
630
|
-
[key: string]: unknown;
|
|
631
|
-
};
|
|
632
|
-
export type AwsObservationSelection = {
|
|
633
|
-
series: Array<ObservationSeries>;
|
|
634
|
-
};
|
|
635
|
-
export type AwsSettingsApplication = {
|
|
636
|
-
settings: null | SettingsApplicationStatus;
|
|
637
|
-
connection: null | ConnectionApplicationStatus;
|
|
638
|
-
[key: string]: unknown;
|
|
639
|
-
};
|
|
640
|
-
export type AwsSettingsCapabilities = {
|
|
641
|
-
modemTrace?: null | boolean;
|
|
642
|
-
gnssVisibilityDetection?: null | boolean;
|
|
643
|
-
lteRai?: null | boolean;
|
|
644
|
-
ltePowerDiagnostics?: null | boolean;
|
|
645
|
-
modemMemoryDiagnostics?: null | boolean;
|
|
646
|
-
trackingDiagnostics?: null | boolean;
|
|
647
|
-
diagnosticCommands?: null | boolean;
|
|
648
|
-
[key: string]: unknown;
|
|
649
|
-
};
|
|
650
|
-
export type AwsSettingsReadIssue = {
|
|
651
|
-
path: string;
|
|
652
|
-
code: string;
|
|
653
|
-
[key: string]: unknown;
|
|
654
|
-
};
|
|
655
|
-
export type AwsSettingsSnapshot = {
|
|
656
|
-
version: number;
|
|
657
|
-
exists: boolean;
|
|
658
|
-
desired: ReadDeviceSettings;
|
|
659
|
-
reported: ReadDeviceSettings;
|
|
660
|
-
application: AwsSettingsApplication;
|
|
661
|
-
capabilities: null | AwsSettingsCapabilities;
|
|
662
|
-
schemaVersion: null | number;
|
|
663
|
-
completeVersion: null | number;
|
|
664
|
-
readIssues: Array<AwsSettingsReadIssue>;
|
|
665
|
-
[key: string]: unknown;
|
|
666
|
-
};
|
|
667
|
-
export type AwsSettingsWrite = {
|
|
668
|
-
expectedVersion: number;
|
|
669
|
-
settings: DeviceSettings;
|
|
670
|
-
};
|
|
671
|
-
export type BatteryChargingAdaptationStatusValue = {
|
|
672
|
-
mode: BatteryChargingAdaptationStatusValueMode;
|
|
673
|
-
input: null | ChargingInputAdaptationValue;
|
|
674
|
-
concurrency: null | ChargingConcurrencyAdaptationValue;
|
|
471
|
+
/**
|
|
472
|
+
* Charging adaptation
|
|
473
|
+
*
|
|
474
|
+
* Actor-owned qualification state for input current and module concurrency, with independent reasons and retained cooldowns. Mode is the adopted input-current setting. Input is null outside adaptive mode; concurrency is null when charging is disabled or the actor uses a single-module configuration. Qualifications are controller limits, not module inventory, charger commands or current flow.
|
|
475
|
+
*/
|
|
476
|
+
export type BatteryChargingAdaptationStatusValue = unknown & {
|
|
477
|
+
mode: "disabled" | "adaptive" | "fixed";
|
|
478
|
+
input: DeviceObservationValuesChargingInputAdaptation | null;
|
|
479
|
+
concurrency: DeviceObservationValuesChargingConcurrencyAdaptation | null;
|
|
675
480
|
[key: string]: unknown;
|
|
676
481
|
};
|
|
677
482
|
export type BatteryChargingAdaptationStatusValueMode = "disabled" | "adaptive" | "fixed";
|
|
483
|
+
/**
|
|
484
|
+
* Charging allocation decisions
|
|
485
|
+
*
|
|
486
|
+
* LTE allocation intent and acknowledged output, not proof of actual current flow. Reports stopped fault gates and physical-identity power reservations, including unreachable modules and lost acknowledgements. Remaining durations freeze at capture; use observation age. A null reservation list is unavailable, not empty. Reads perform no UART I/O and never retire or renew a reservation.
|
|
487
|
+
*/
|
|
678
488
|
export type BatteryChargingAllocationsValue = {
|
|
679
489
|
inventoryConfirmed: boolean;
|
|
680
490
|
held: boolean;
|
|
681
491
|
inputBudgetMa: number;
|
|
682
492
|
maximumChargers: number;
|
|
683
|
-
reason:
|
|
684
|
-
modules: Array<
|
|
685
|
-
reservations:
|
|
493
|
+
reason: "none" | "disabled" | "detached" | "unknownInput" | "notReady" | "communication" | "stale" | "thermal" | "cable" | "full" | "overcurrent" | "maintenance" | "chargerFault" | "allocationBudget";
|
|
494
|
+
modules: Array<DeviceObservationValuesChargingAllocationMember>;
|
|
495
|
+
reservations: Array<DeviceObservationValuesChargingPowerReservation> | null;
|
|
686
496
|
[key: string]: unknown;
|
|
687
497
|
};
|
|
688
498
|
export type BatteryChargingAllocationsValueReason = "none" | "disabled" | "detached" | "unknownInput" | "notReady" | "communication" | "stale" | "thermal" | "cable" | "full" | "overcurrent" | "maintenance" | "chargerFault" | "allocationBudget";
|
|
499
|
+
/**
|
|
500
|
+
* Charging changed
|
|
501
|
+
*
|
|
502
|
+
* One charging transition advances a state view. No second automatic status record is needed for that edge.
|
|
503
|
+
*/
|
|
689
504
|
export type BatteryChargingChangedValue = {
|
|
690
|
-
previous:
|
|
691
|
-
current:
|
|
692
|
-
details:
|
|
505
|
+
previous: DeviceObservationValuesChargingStatus;
|
|
506
|
+
current: DeviceObservationValuesChargingStatus;
|
|
507
|
+
details: DeviceObservationValuesChargingTransitionDetails | null;
|
|
693
508
|
[key: string]: unknown;
|
|
694
509
|
};
|
|
510
|
+
/**
|
|
511
|
+
* Charging maintenance completed
|
|
512
|
+
*
|
|
513
|
+
* Emit once when the resume outcome is known. Full or unsafe deliberate stops are not failures to resume.
|
|
514
|
+
*/
|
|
695
515
|
export type BatteryChargingMaintenanceCompletedValue = {
|
|
696
516
|
holdDurationMs: number;
|
|
697
|
-
resumeOutcome:
|
|
517
|
+
resumeOutcome: "resumed" | "deferred" | "notRequired";
|
|
698
518
|
resumeDelayMs: number;
|
|
699
519
|
startedAgeMs: number;
|
|
700
520
|
[key: string]: unknown;
|
|
701
521
|
};
|
|
702
522
|
export type BatteryChargingMaintenanceCompletedValueResumeOutcome = "resumed" | "deferred" | "notRequired";
|
|
523
|
+
/**
|
|
524
|
+
* Charging maintenance status
|
|
525
|
+
*
|
|
526
|
+
* One high-level maintenance state. Active elapsed time is computed in a view, not re-emitted every second.
|
|
527
|
+
*/
|
|
703
528
|
export type BatteryChargingMaintenanceStatusValue = {
|
|
704
|
-
phase:
|
|
705
|
-
reason:
|
|
706
|
-
startedAgeMs:
|
|
529
|
+
phase: "idle" | "stopping" | "running" | "resuming";
|
|
530
|
+
reason: "none" | "startup" | "attachment" | "audit" | "repair";
|
|
531
|
+
startedAgeMs: number | null;
|
|
707
532
|
[key: string]: unknown;
|
|
708
533
|
};
|
|
709
534
|
export type BatteryChargingMaintenanceStatusValuePhase = "idle" | "stopping" | "running" | "resuming";
|
|
710
535
|
export type BatteryChargingMaintenanceStatusValueReason = "none" | "startup" | "attachment" | "audit" | "repair";
|
|
536
|
+
/**
|
|
537
|
+
* Battery check completed
|
|
538
|
+
*
|
|
539
|
+
* Workflow outcome and inventory commit are separate: setup can fail after membership discovery succeeds. Failed/partial membership discovery preserves accepted inventory. Boot work needs no initiating command. References neither force delivery nor require target retention.
|
|
540
|
+
*/
|
|
711
541
|
export type BatteryCheckCompletedValue = {
|
|
712
|
-
trigger:
|
|
713
|
-
outcome:
|
|
542
|
+
trigger: "boot" | "command";
|
|
543
|
+
outcome: DeviceObservationValuesOperationOutcome;
|
|
714
544
|
durationMs: number;
|
|
715
|
-
inventoryResult:
|
|
716
|
-
error:
|
|
545
|
+
inventoryResult: "committed" | "notCommitted";
|
|
546
|
+
error: DeviceObservationValuesOperationError | null;
|
|
717
547
|
[key: string]: unknown;
|
|
718
548
|
};
|
|
719
549
|
export type BatteryCheckCompletedValueInventoryResult = "committed" | "notCommitted";
|
|
720
550
|
export type BatteryCheckCompletedValueTrigger = "boot" | "command";
|
|
551
|
+
/**
|
|
552
|
+
* battery.checkResult
|
|
553
|
+
*
|
|
554
|
+
* Request-scoped domain evidence emitted before its terminal command result.
|
|
555
|
+
*/
|
|
556
|
+
export type BatteryCheckResultValue = {
|
|
557
|
+
moduleCount: number;
|
|
558
|
+
readyMask: number;
|
|
559
|
+
[key: string]: unknown;
|
|
560
|
+
};
|
|
561
|
+
/**
|
|
562
|
+
* Battery communication timing
|
|
563
|
+
*
|
|
564
|
+
* Successful and failed existing requests; no extra UART traffic or per-success event stream.
|
|
565
|
+
*/
|
|
721
566
|
export type BatteryCommunicationTimingValue = {
|
|
722
|
-
operations: Array<
|
|
723
|
-
interval:
|
|
567
|
+
operations: Array<DeviceObservationValuesModuleTiming>;
|
|
568
|
+
interval: {
|
|
569
|
+
startAgeMs: number;
|
|
570
|
+
endAgeMs: number;
|
|
571
|
+
[key: string]: unknown;
|
|
572
|
+
};
|
|
724
573
|
[key: string]: unknown;
|
|
725
574
|
};
|
|
726
575
|
export type BatteryCommunicationTimingValueInterval = {
|
|
@@ -728,19 +577,34 @@ export type BatteryCommunicationTimingValueInterval = {
|
|
|
728
577
|
endAgeMs: number;
|
|
729
578
|
[key: string]: unknown;
|
|
730
579
|
};
|
|
580
|
+
/**
|
|
581
|
+
* Battery displayed level
|
|
582
|
+
*
|
|
583
|
+
* The display result and its provenance must agree. It is not an average of module percentages.
|
|
584
|
+
*/
|
|
731
585
|
export type BatteryDisplayedLevelValue = {
|
|
732
586
|
percent: number;
|
|
733
|
-
sourceSubject:
|
|
587
|
+
sourceSubject: DeviceObservationValuesModuleSubject;
|
|
734
588
|
safetyCompensated: boolean;
|
|
735
589
|
[key: string]: unknown;
|
|
736
590
|
};
|
|
591
|
+
/**
|
|
592
|
+
* Power external power changed
|
|
593
|
+
*
|
|
594
|
+
* External input can change independently of charging; a tracker becoming full does not imply unplugging.
|
|
595
|
+
*/
|
|
737
596
|
export type BatteryExternalPowerChangedValue = {
|
|
738
|
-
previous:
|
|
739
|
-
current:
|
|
597
|
+
previous: DeviceObservationValuesExternalPower;
|
|
598
|
+
current: DeviceObservationValuesExternalPower;
|
|
740
599
|
[key: string]: unknown;
|
|
741
600
|
};
|
|
601
|
+
/**
|
|
602
|
+
* Battery failure trace
|
|
603
|
+
*
|
|
604
|
+
* Bounded UART failure evidence with original uptime timestamps, raw addressed destination and typed exchange stage. Request and received-response prefixes are truncated engineering evidence, never firmware, identity-transfer or bootloader-secret payloads. Expected cancellation/shutdown does not evict real failures. Reading this cache never performs I/O.
|
|
605
|
+
*/
|
|
742
606
|
export type BatteryFailureTraceValue = {
|
|
743
|
-
entries: Array<
|
|
607
|
+
entries: Array<DeviceObservationValuesBatteryFailure>;
|
|
744
608
|
omitted: number;
|
|
745
609
|
[key: string]: unknown;
|
|
746
610
|
};
|
|
@@ -758,13 +622,23 @@ export type BatteryFailureValue = {
|
|
|
758
622
|
[key: string]: unknown;
|
|
759
623
|
};
|
|
760
624
|
export type BatteryFailureValueStage = "admission" | "prepare" | "rxStart" | "txStart" | "txWait" | "rxWait" | "replyWait" | "validation" | "done";
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
625
|
+
/**
|
|
626
|
+
* Battery inventory
|
|
627
|
+
*
|
|
628
|
+
* Last accepted responsive inventory within the supported chain limit, not proof that no silent physical module exists. Failed/partial discovery cannot commit a smaller inventory. Setup failure is separate from membership discovery.
|
|
629
|
+
*/
|
|
630
|
+
export type BatteryInventoryValue = unknown & {
|
|
631
|
+
status: "unknown" | "confirmed";
|
|
632
|
+
members: Array<DeviceObservationValuesInventoryMember> | null;
|
|
633
|
+
capacityReached: boolean | null;
|
|
765
634
|
[key: string]: unknown;
|
|
766
635
|
};
|
|
767
636
|
export type BatteryInventoryValueStatus = "unknown" | "confirmed";
|
|
637
|
+
/**
|
|
638
|
+
* Battery module charge completed
|
|
639
|
+
*
|
|
640
|
+
* A fault-free hardware charge-done observation accepted by LTE. Values describe this completion, not current shadow settings. Termination current is nominal for a 180 milliohm charger sense resistor. The observation timestamp is the completion detection time.
|
|
641
|
+
*/
|
|
768
642
|
export type BatteryModuleChargeCompletedValue = {
|
|
769
643
|
terminationCurrentMa: number;
|
|
770
644
|
voltageMv: number;
|
|
@@ -773,30 +647,59 @@ export type BatteryModuleChargeCompletedValue = {
|
|
|
773
647
|
rechargeDropMv: number;
|
|
774
648
|
[key: string]: unknown;
|
|
775
649
|
};
|
|
650
|
+
/**
|
|
651
|
+
* Battery module charge rested
|
|
652
|
+
*
|
|
653
|
+
* First existing voltage sample at least 60 seconds and at most 15 minutes after an acknowledged charger disable following completion. This is post-charge voltage under tracker load, not a no-load capacity measurement. No extra hardware polling is scheduled.
|
|
654
|
+
*/
|
|
776
655
|
export type BatteryModuleChargeRestedValue = {
|
|
777
656
|
voltageMv: number;
|
|
778
657
|
afterStopMs: number;
|
|
779
658
|
sinceCompletionMs: number;
|
|
780
659
|
[key: string]: unknown;
|
|
781
660
|
};
|
|
661
|
+
/**
|
|
662
|
+
* Charger module register snapshot
|
|
663
|
+
*
|
|
664
|
+
* Explicit engineering evidence about cached registers. The snapshot time does not make every register fresh. It is not an automatic alternate publication of decoded product state.
|
|
665
|
+
*/
|
|
782
666
|
export type BatteryModuleChargerRegisterSnapshotValue = {
|
|
783
|
-
registers: Array<
|
|
667
|
+
registers: Array<DeviceObservationValuesRegisterReading>;
|
|
784
668
|
omitted: number;
|
|
785
669
|
[key: string]: unknown;
|
|
786
670
|
};
|
|
671
|
+
/**
|
|
672
|
+
* Charger module settings
|
|
673
|
+
*
|
|
674
|
+
* A coherent readback of hardware settings, distinct from acknowledged commands. Emit only a complete validated settings read; do not join unrelated cached registers.
|
|
675
|
+
*/
|
|
787
676
|
export type BatteryModuleChargerSettingsValue = {
|
|
788
|
-
inputLimit:
|
|
677
|
+
inputLimit: "100mA" | "500mA" | "800mA" | "unlimited";
|
|
789
678
|
chargeCurrentSetting: number;
|
|
790
679
|
lowCurrentMode: boolean;
|
|
791
680
|
[key: string]: unknown;
|
|
792
681
|
};
|
|
793
682
|
export type BatteryModuleChargerSettingsValueInputLimit = "100mA" | "500mA" | "800mA" | "unlimited";
|
|
683
|
+
/**
|
|
684
|
+
* Battery module charger status
|
|
685
|
+
*
|
|
686
|
+
* State/fault and optional local MSP charging guard are one coherent hardware snapshot. Guard reports permission, actual output, remaining authorization at capture, local inhibit reasons and safety-policy/boot generations. Null on legacy modules. Supply/guard fields must never borrow older cache entries.
|
|
687
|
+
*/
|
|
794
688
|
export type BatteryModuleChargerStatusValue = {
|
|
795
|
-
state:
|
|
689
|
+
state: "ready" | "charging" | "full" | "fault";
|
|
796
690
|
fault: number;
|
|
797
|
-
inputValidated:
|
|
798
|
-
voltageRegulationActive:
|
|
799
|
-
guard:
|
|
691
|
+
inputValidated: boolean | null;
|
|
692
|
+
voltageRegulationActive: boolean | null;
|
|
693
|
+
guard: {
|
|
694
|
+
authorized: boolean;
|
|
695
|
+
outputEnabled: boolean;
|
|
696
|
+
remainingMs: number;
|
|
697
|
+
inhibitReasons: number;
|
|
698
|
+
policyRevision: number;
|
|
699
|
+
authorizedSample: number;
|
|
700
|
+
bootGeneration: number;
|
|
701
|
+
[key: string]: unknown;
|
|
702
|
+
} | null;
|
|
800
703
|
[key: string]: unknown;
|
|
801
704
|
};
|
|
802
705
|
export type BatteryModuleChargerStatusValueGuard = {
|
|
@@ -810,31 +713,56 @@ export type BatteryModuleChargerStatusValueGuard = {
|
|
|
810
713
|
[key: string]: unknown;
|
|
811
714
|
};
|
|
812
715
|
export type BatteryModuleChargerStatusValueState = "ready" | "charging" | "full" | "fault";
|
|
716
|
+
/**
|
|
717
|
+
* Battery module firmware
|
|
718
|
+
*
|
|
719
|
+
* Version and confidence are inseparable; relay headers do not prove remote firmware identity.
|
|
720
|
+
*/
|
|
813
721
|
export type BatteryModuleFirmwareValue = {
|
|
814
|
-
version:
|
|
815
|
-
evidence:
|
|
722
|
+
version: DeviceObservationValuesVersion;
|
|
723
|
+
evidence: "directResponse" | "targetPayload" | "relayHeader";
|
|
816
724
|
[key: string]: unknown;
|
|
817
725
|
};
|
|
818
726
|
export type BatteryModuleFirmwareValueEvidence = "directResponse" | "targetPayload" | "relayHeader";
|
|
727
|
+
/**
|
|
728
|
+
* Battery module fuel gauge mode
|
|
729
|
+
*
|
|
730
|
+
* Operating mode reported by the identified battery module's fuel gauge.
|
|
731
|
+
*/
|
|
819
732
|
export type BatteryModuleGaugeModeValue = "mixed" | "voltage" | "unknown";
|
|
733
|
+
/**
|
|
734
|
+
* Battery module gauge reset
|
|
735
|
+
*
|
|
736
|
+
* A reset command confirmed executed or a flag transition from a known baseline for this module binding. An initially set or repeatedly read sticky flag is state evidence, not a new reset. A later flag confirmation of the same commanded reset does not emit a second event.
|
|
737
|
+
*/
|
|
820
738
|
export type BatteryModuleGaugeResetValue = {
|
|
821
|
-
origin:
|
|
739
|
+
origin: "confirmedCommand" | "observedFlagTransition";
|
|
822
740
|
[key: string]: unknown;
|
|
823
741
|
};
|
|
824
742
|
export type BatteryModuleGaugeResetValueOrigin = "confirmedCommand" | "observedFlagTransition";
|
|
743
|
+
/**
|
|
744
|
+
* Battery module readiness
|
|
745
|
+
*
|
|
746
|
+
* Readiness concerns verified configuration, not whether a cached physical reading exists.
|
|
747
|
+
*/
|
|
825
748
|
export type BatteryModuleReadinessValue = {
|
|
826
|
-
state:
|
|
827
|
-
reason:
|
|
749
|
+
state: "unknown" | "notReady" | "ready";
|
|
750
|
+
reason: "none" | "configurationPending" | "communication" | "verification";
|
|
828
751
|
[key: string]: unknown;
|
|
829
752
|
};
|
|
830
753
|
export type BatteryModuleReadinessValueReason = "none" | "configurationPending" | "communication" | "verification";
|
|
831
754
|
export type BatteryModuleReadinessValueState = "unknown" | "notReady" | "ready";
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
755
|
+
/**
|
|
756
|
+
* Battery module thermal status
|
|
757
|
+
*
|
|
758
|
+
* Per-module charging temperature decision with hysteresis. The exact fresh reading accepted for the reported decision is thermistorAdc (raw ADC) for batteryModule, lteTemperatureC (degrees Celsius) for lte, or neither for unavailable. Reading and decision share a timestamp and module binding. Temperature drift alone does not produce a new state observation. A limited state does not establish a 130 mA battery-current guarantee.
|
|
759
|
+
*/
|
|
760
|
+
export type BatteryModuleThermalStatusValue = unknown & {
|
|
761
|
+
state: "unknown" | "allowed" | "limited" | "stopped";
|
|
762
|
+
reason: "none" | "invalidThresholds" | "cableThreshold" | "missingEvidence" | "lowTemperature" | "highTemperature";
|
|
763
|
+
temperatureSource: "unavailable" | "batteryModule" | "lte";
|
|
764
|
+
thermistorAdc: number | null;
|
|
765
|
+
lteTemperatureC: number | null;
|
|
838
766
|
[key: string]: unknown;
|
|
839
767
|
};
|
|
840
768
|
export type BatteryModuleThermalStatusValueReason = "none" | "invalidThresholds" | "cableThreshold" | "missingEvidence" | "lowTemperature" | "highTemperature";
|
|
@@ -845,37 +773,57 @@ export type BatteryObservation = {
|
|
|
845
773
|
level: null | number;
|
|
846
774
|
isCharging: boolean;
|
|
847
775
|
};
|
|
776
|
+
/**
|
|
777
|
+
* Battery operation failed
|
|
778
|
+
*
|
|
779
|
+
* One canonical battery-operation failure, including charging stop failures. A route is usable even when discovery cannot identify the target module.
|
|
780
|
+
*/
|
|
848
781
|
export type BatteryOperationFailedValue = {
|
|
849
|
-
operation: number;
|
|
850
|
-
error:
|
|
851
|
-
phase:
|
|
852
|
-
module:
|
|
782
|
+
operation: number;
|
|
783
|
+
error: DeviceObservationValuesOperationError;
|
|
784
|
+
phase: string | null;
|
|
785
|
+
module: DeviceObservationValuesModuleSubject | null;
|
|
853
786
|
[key: string]: unknown;
|
|
854
787
|
};
|
|
788
|
+
/**
|
|
789
|
+
* battery.protocolExchange
|
|
790
|
+
*
|
|
791
|
+
* Last protocol envelope exchange. Transport/framing/correlation errors are distinct from the matched MSP result. No request or response payload bytes are retained. Operation-body validity is checked separately by the typed consumer.
|
|
792
|
+
*/
|
|
855
793
|
export type BatteryProtocolExchangeValue = {
|
|
856
794
|
operation: number;
|
|
857
795
|
elapsedMs: number;
|
|
858
796
|
transportError: number;
|
|
859
|
-
status:
|
|
860
|
-
bootGeneration:
|
|
797
|
+
status: number | null;
|
|
798
|
+
bootGeneration: number | null;
|
|
861
799
|
[key: string]: unknown;
|
|
862
800
|
};
|
|
801
|
+
/**
|
|
802
|
+
* battery.protocolIdentity
|
|
803
|
+
*
|
|
804
|
+
* Accepted HELLO identity and metadata for this raw route. Optional unavailable metadata is null. Relay headers are not module identity evidence.
|
|
805
|
+
*/
|
|
863
806
|
export type BatteryProtocolIdentityValue = {
|
|
864
807
|
moduleId: string;
|
|
865
808
|
bootGeneration: number;
|
|
866
809
|
capabilities: string;
|
|
867
|
-
hardwareRevision:
|
|
868
|
-
resetReason:
|
|
810
|
+
hardwareRevision: number | null;
|
|
811
|
+
resetReason: number | null;
|
|
869
812
|
[key: string]: unknown;
|
|
870
813
|
};
|
|
814
|
+
/**
|
|
815
|
+
* battery.updateHealth
|
|
816
|
+
*
|
|
817
|
+
* Operational verification after a completed MSP installation and LTE restart. Installation completion does not imply operational health. A failed health check never rearms image installation or consumes another flash attempt.
|
|
818
|
+
*/
|
|
871
819
|
export type BatteryUpdateHealthValue = {
|
|
872
820
|
requestId: number;
|
|
873
821
|
slot: number;
|
|
874
|
-
target:
|
|
822
|
+
target: DeviceObservationValuesModuleSubject;
|
|
875
823
|
imageInstalled: boolean;
|
|
876
|
-
state:
|
|
824
|
+
state: "operational" | "failed" | "unsupported";
|
|
877
825
|
error: number;
|
|
878
|
-
bootGeneration:
|
|
826
|
+
bootGeneration: number | null;
|
|
879
827
|
[key: string]: unknown;
|
|
880
828
|
};
|
|
881
829
|
export type BatteryUpdateHealthValueState = "operational" | "failed" | "unsupported";
|
|
@@ -959,6 +907,11 @@ export type CancelLegacyLteUpgrade = {
|
|
|
959
907
|
requestId: string;
|
|
960
908
|
expectedCycleId: string;
|
|
961
909
|
};
|
|
910
|
+
export type CellAcquisitionOptions = {
|
|
911
|
+
mode?: CellMode;
|
|
912
|
+
gciCount?: number;
|
|
913
|
+
[key: string]: unknown;
|
|
914
|
+
};
|
|
962
915
|
export type CellIdentityValue = {
|
|
963
916
|
mcc: null | number;
|
|
964
917
|
mnc: null | number;
|
|
@@ -968,6 +921,7 @@ export type CellIdentityValue = {
|
|
|
968
921
|
earfcn: null | number;
|
|
969
922
|
[key: string]: unknown;
|
|
970
923
|
};
|
|
924
|
+
export type CellMode = "serving" | "gci" | "neighbors";
|
|
971
925
|
export type CellNeighbourValue = {
|
|
972
926
|
pci: number;
|
|
973
927
|
earfcn: number;
|
|
@@ -986,13 +940,12 @@ export type CellReadingValue = {
|
|
|
986
940
|
rsrq: number | "NaN" | "Infinity" | "-Infinity" | null;
|
|
987
941
|
[key: string]: unknown;
|
|
988
942
|
};
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
};
|
|
943
|
+
/**
|
|
944
|
+
* Cellular environment
|
|
945
|
+
*
|
|
946
|
+
* Coherent serving-cell identity, radio technology and signal evidence, with neighbouring or global cells when explicitly requested. Routine tracking reads serving-cell information without an extended cell search.
|
|
947
|
+
*/
|
|
948
|
+
export type CellularEnvironmentValue = DeviceObservationValuesCellularEnvironment;
|
|
996
949
|
export type CellularEnvironmentValueRat = "lteM" | "nbIot";
|
|
997
950
|
export type ChargingAdjustmentReasonValue = "qualifying" | "atCeiling" | "poorSupply" | "inputVoltageRegulation";
|
|
998
951
|
export type ChargingAllocationMemberValue = {
|
|
@@ -1028,11 +981,12 @@ export type ChargingPowerReservationValue = {
|
|
|
1028
981
|
remainingMs: number;
|
|
1029
982
|
[key: string]: unknown;
|
|
1030
983
|
};
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
984
|
+
/**
|
|
985
|
+
* Charging status
|
|
986
|
+
*
|
|
987
|
+
* Conflicting fresh evidence means unknown. Confirmed input absence means notCharging; any fresh charging member means charging. Full requires noncapped accepted nonempty inventory and fresh ready/full evidence for every member. Paused requires known noncharging evidence and an active resumable hold. Otherwise unknown or confirmed idle/disabled. Per-module faults and plan constraints do not overwrite the aggregate reason.
|
|
988
|
+
*/
|
|
989
|
+
export type ChargingStatusValue = DeviceObservationValuesChargingStatus;
|
|
1036
990
|
export type ChargingStatusValueReason = "none" | "externalPowerAbsent" | "externalPowerUnknown" | "noDiscoveredModules" | "inventoryUnknown" | "inventoryCapped" | "inconsistentEvidence" | "notReady" | "communication" | "stale" | "thermal" | "cable" | "allModulesFull" | "overcurrent" | "maintenance" | "chargerFault" | "disabled" | "hardwareIdle";
|
|
1037
991
|
export type ChargingStatusValueState = "unknown" | "notCharging" | "charging" | "full" | "paused";
|
|
1038
992
|
export type ChargingTransitionDetailsValue = {
|
|
@@ -1052,27 +1006,44 @@ export type Com4SimStatus = {
|
|
|
1052
1006
|
checkedAt: string;
|
|
1053
1007
|
[key: string]: unknown;
|
|
1054
1008
|
};
|
|
1009
|
+
export type CommandAvailability = {
|
|
1010
|
+
definition: CommandDefinition;
|
|
1011
|
+
available: boolean;
|
|
1012
|
+
reason: null | string;
|
|
1013
|
+
[key: string]: unknown;
|
|
1014
|
+
};
|
|
1015
|
+
export type CommandCapabilities = {
|
|
1016
|
+
device: DeviceIdentity;
|
|
1017
|
+
firmware: null | FirmwareLteCurrent;
|
|
1018
|
+
commands: Array<CommandAvailability>;
|
|
1019
|
+
[key: string]: unknown;
|
|
1020
|
+
};
|
|
1055
1021
|
export type CommandChoice = {
|
|
1056
1022
|
value: number;
|
|
1057
1023
|
label: string;
|
|
1058
1024
|
[key: string]: unknown;
|
|
1059
1025
|
};
|
|
1060
1026
|
export type CommandDefinition = {
|
|
1061
|
-
name: "status" | "reconcileSettings" | "
|
|
1027
|
+
name: "status" | "reconcileSettings" | "requestObservations" | "sample" | "cancel" | "reboot" | "identify" | "streamObservations" | "selfTest" | "switchEnvironment" | "clearEnvironment" | "listEnvironments" | "updateBattery" | "runBatteryCheck" | "requestPosition" | "enableDiagnostics";
|
|
1062
1028
|
label: string;
|
|
1063
1029
|
description: string;
|
|
1064
1030
|
input: CommandInput;
|
|
1065
1031
|
parameters: Array<CommandParameter>;
|
|
1066
1032
|
confirmationRequired?: boolean;
|
|
1033
|
+
acquisitionOptions?: boolean;
|
|
1067
1034
|
[key: string]: unknown;
|
|
1068
1035
|
};
|
|
1069
1036
|
export type CommandExecution = {
|
|
1070
|
-
accepted?: null | CommandResponseReceipt;
|
|
1071
1037
|
completed?: null | CommandResponseReceipt;
|
|
1072
|
-
phase?: CommandResponseValuePhase;
|
|
1073
1038
|
[key: string]: unknown;
|
|
1074
1039
|
};
|
|
1075
1040
|
export type CommandInput = "arguments" | "batteryFirmware" | "enrollmentUrl" | "metrics";
|
|
1041
|
+
export type CommandPage = {
|
|
1042
|
+
items: Array<TrackerCommand>;
|
|
1043
|
+
nextCursor: null | string;
|
|
1044
|
+
readIssues?: null | Array<CommandReadIssue>;
|
|
1045
|
+
[key: string]: unknown;
|
|
1046
|
+
};
|
|
1076
1047
|
export type CommandParameter = {
|
|
1077
1048
|
name: string;
|
|
1078
1049
|
label: string;
|
|
@@ -1083,96 +1054,58 @@ export type CommandParameter = {
|
|
|
1083
1054
|
choices?: null | Array<CommandChoice>;
|
|
1084
1055
|
[key: string]: unknown;
|
|
1085
1056
|
};
|
|
1057
|
+
export type CommandReadIssue = {
|
|
1058
|
+
requestId: null | number;
|
|
1059
|
+
code: string;
|
|
1060
|
+
[key: string]: unknown;
|
|
1061
|
+
};
|
|
1086
1062
|
export type CommandResponseReceipt = {
|
|
1087
1063
|
id: string;
|
|
1088
1064
|
receivedAt: string;
|
|
1089
1065
|
value: CommandResponseValue;
|
|
1090
1066
|
[key: string]: unknown;
|
|
1091
1067
|
};
|
|
1068
|
+
/**
|
|
1069
|
+
* Command result receipt
|
|
1070
|
+
*/
|
|
1092
1071
|
export type CommandResponseValue = {
|
|
1093
1072
|
protocolVersion: number;
|
|
1094
1073
|
certificateId: string;
|
|
1095
1074
|
requestId: number;
|
|
1096
1075
|
commandId: number;
|
|
1097
|
-
phase: CommandResponseValuePhase;
|
|
1098
1076
|
result: number;
|
|
1099
|
-
remainingOnlineSeconds: number;
|
|
1100
|
-
uptimeSeconds: number;
|
|
1101
|
-
data: null | CommandResponseValueData;
|
|
1102
|
-
[key: string]: unknown;
|
|
1103
|
-
};
|
|
1104
|
-
export type CommandResponseValueData = ({
|
|
1105
|
-
kind: "status";
|
|
1106
|
-
} & CommandResponseValueDataCommandResponseValueDataStatus) | ({
|
|
1107
|
-
kind: "observations";
|
|
1108
|
-
} & CommandResponseValueDataCommandResponseValueDataObservations) | ({
|
|
1109
|
-
kind: "stream";
|
|
1110
|
-
} & CommandResponseValueDataCommandResponseValueDataStream) | ({
|
|
1111
|
-
kind: "environments";
|
|
1112
|
-
} & CommandResponseValueDataCommandResponseValueDataEnvironments) | ({
|
|
1113
|
-
kind: "selfTest";
|
|
1114
|
-
} & CommandResponseValueDataCommandResponseValueDataSelfTest) | ({
|
|
1115
|
-
kind: "sample";
|
|
1116
|
-
} & CommandResponseValueDataCommandResponseValueDataSample) | ({
|
|
1117
|
-
kind: "batteryCheck";
|
|
1118
|
-
} & CommandResponseValueDataCommandResponseValueDataBatteryCheck);
|
|
1119
|
-
export type CommandResponseValueDataCommandResponseValueDataBatteryCheck = {
|
|
1120
|
-
kind?: "batteryCheck";
|
|
1121
|
-
moduleCount: number;
|
|
1122
|
-
readyMask: number;
|
|
1123
|
-
[key: string]: unknown;
|
|
1124
|
-
};
|
|
1125
|
-
export type CommandResponseValueDataCommandResponseValueDataEnvironments = {
|
|
1126
|
-
kind?: "environments";
|
|
1127
|
-
availableCapacity: number;
|
|
1128
|
-
environments: Array<SavedEnvironmentValue>;
|
|
1129
|
-
[key: string]: unknown;
|
|
1130
|
-
};
|
|
1131
|
-
export type CommandResponseValueDataCommandResponseValueDataObservations = {
|
|
1132
|
-
kind?: "observations";
|
|
1133
|
-
publishedObservations: Array<string>;
|
|
1134
1077
|
unavailableObservations: Array<string>;
|
|
1135
1078
|
[key: string]: unknown;
|
|
1136
1079
|
};
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
export type CommandResponseValueDataCommandResponseValueDataSelfTest = {
|
|
1147
|
-
kind?: "selfTest";
|
|
1148
|
-
testedMask: number;
|
|
1149
|
-
passedMask: number;
|
|
1150
|
-
failedMask: number;
|
|
1151
|
-
unavailableMask: number;
|
|
1152
|
-
busyMask: number;
|
|
1080
|
+
/**
|
|
1081
|
+
* Command result
|
|
1082
|
+
*
|
|
1083
|
+
* Terminal command outcome correlated by the enclosing request ID. Domain values are separate observations; unavailable observations name requested readings that were not delivered.
|
|
1084
|
+
*/
|
|
1085
|
+
export type CommandResultValue = {
|
|
1086
|
+
commandId: number;
|
|
1087
|
+
result: number;
|
|
1088
|
+
unavailableObservations: Array<string>;
|
|
1153
1089
|
[key: string]: unknown;
|
|
1154
1090
|
};
|
|
1155
|
-
|
|
1156
|
-
|
|
1091
|
+
/**
|
|
1092
|
+
* command.status
|
|
1093
|
+
*
|
|
1094
|
+
* Request-scoped domain evidence emitted before its terminal command result.
|
|
1095
|
+
*/
|
|
1096
|
+
export type CommandStatusValue = {
|
|
1157
1097
|
connectionId: string;
|
|
1158
1098
|
lastActionRequestId: number;
|
|
1159
|
-
controllerPhase: number;
|
|
1160
1099
|
activeRequestId: number;
|
|
1161
1100
|
activeSourceMask: number;
|
|
1162
1101
|
[key: string]: unknown;
|
|
1163
1102
|
};
|
|
1164
|
-
export type
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
capturedEvents: number;
|
|
1169
|
-
sentEvents: number;
|
|
1170
|
-
droppedEvents: number;
|
|
1171
|
-
bytesSent: number;
|
|
1172
|
-
reason: number;
|
|
1103
|
+
export type CommandUpdate = {
|
|
1104
|
+
requestId: number;
|
|
1105
|
+
command: TrackerCommand | null;
|
|
1106
|
+
readIssue: CommandReadIssue | null;
|
|
1173
1107
|
[key: string]: unknown;
|
|
1174
1108
|
};
|
|
1175
|
-
export type CommandResponseValuePhase = "accepted" | "completed";
|
|
1176
1109
|
export type ConfigurationApplicationState = "applied" | "pending" | "rejected";
|
|
1177
1110
|
export type ConnectionApplicationStatus = {
|
|
1178
1111
|
state: ConfigurationApplicationState;
|
|
@@ -1182,23 +1115,72 @@ export type ConnectionApplicationStatus = {
|
|
|
1182
1115
|
error: number;
|
|
1183
1116
|
[key: string]: unknown;
|
|
1184
1117
|
};
|
|
1185
|
-
|
|
1186
|
-
|
|
1118
|
+
/**
|
|
1119
|
+
* Connection event
|
|
1120
|
+
*
|
|
1121
|
+
* Broker-observed connectivity complements device observations and can report an offline tracker.
|
|
1122
|
+
*/
|
|
1123
|
+
export type ConnectionEventValue = unknown & {
|
|
1124
|
+
state: "connected" | "disconnected";
|
|
1187
1125
|
sessionId: string;
|
|
1188
|
-
reason:
|
|
1126
|
+
reason: string | null;
|
|
1189
1127
|
eventVersion: string;
|
|
1190
|
-
clientInitiatedDisconnect:
|
|
1128
|
+
clientInitiatedDisconnect: boolean | null;
|
|
1191
1129
|
certificateId: string;
|
|
1192
1130
|
[key: string]: unknown;
|
|
1193
1131
|
};
|
|
1194
1132
|
export type ConnectionEventValueState = "connected" | "disconnected";
|
|
1133
|
+
/**
|
|
1134
|
+
* Connection operation failed
|
|
1135
|
+
*
|
|
1136
|
+
* One coherent connection.operationFailed fact.
|
|
1137
|
+
*/
|
|
1195
1138
|
export type ConnectionOperationFailedValue = {
|
|
1196
|
-
operation:
|
|
1197
|
-
error:
|
|
1198
|
-
rawReason:
|
|
1139
|
+
operation: "registration" | "dns" | "tls" | "mqtt" | "subscription" | "receipt";
|
|
1140
|
+
error: DeviceObservationValuesOperationError;
|
|
1141
|
+
rawReason: number | null;
|
|
1199
1142
|
[key: string]: unknown;
|
|
1200
1143
|
};
|
|
1201
1144
|
export type ConnectionOperationFailedValueOperation = "registration" | "dns" | "tls" | "mqtt" | "subscription" | "receipt";
|
|
1145
|
+
/**
|
|
1146
|
+
* Connection runtime status
|
|
1147
|
+
*
|
|
1148
|
+
* Passive snapshot of saturating since-boot activity. MQTT reconnect attempts are admitted opens after a successful MQTT session this boot; LTE attempts are admitted attachment operations. Modem recoveries exclude provisioning and shutdown. Notification failures count failed socket callback registrations; fallback waits count bounded polling waits. Mode describes the current socket, and last error remains until callback registration succeeds. Capturing this observation performs no network operation.
|
|
1149
|
+
*/
|
|
1150
|
+
export type ConnectionRuntimeStatusValue = {
|
|
1151
|
+
mqttReconnectAttempts: number;
|
|
1152
|
+
lteAttachAttempts: number;
|
|
1153
|
+
modemOfflineRecoveries: number;
|
|
1154
|
+
notificationMode: "disconnected" | "callback" | "polling";
|
|
1155
|
+
notificationFailures: number;
|
|
1156
|
+
fallbackWaits: number;
|
|
1157
|
+
lastNotificationError: number;
|
|
1158
|
+
[key: string]: unknown;
|
|
1159
|
+
};
|
|
1160
|
+
export type ConnectionRuntimeStatusValueNotificationMode = "disconnected" | "callback" | "polling";
|
|
1161
|
+
/**
|
|
1162
|
+
* connection.savedEnvironments
|
|
1163
|
+
*
|
|
1164
|
+
* Request-scoped domain evidence emitted before its terminal command result.
|
|
1165
|
+
*/
|
|
1166
|
+
export type ConnectionSavedEnvironmentsValue = {
|
|
1167
|
+
availableCapacity: number;
|
|
1168
|
+
environments: Array<DeviceObservationValuesSavedEnvironment>;
|
|
1169
|
+
[key: string]: unknown;
|
|
1170
|
+
};
|
|
1171
|
+
/**
|
|
1172
|
+
* Controller wake counts
|
|
1173
|
+
*
|
|
1174
|
+
* Saturating since-boot dispatcher activity from waits with a nonzero requested duration. Delivered reasons coalesce and one wait may increment multiple reasons; timeout counts waits that return no reason. Zero-duration probes are excluded. These counts are not physical interrupts, CPU sleep entries or energy measurements. Capturing this observation schedules no activity.
|
|
1175
|
+
*/
|
|
1176
|
+
export type ControllerWakeCountsValue = {
|
|
1177
|
+
event: number;
|
|
1178
|
+
command: number;
|
|
1179
|
+
io: number;
|
|
1180
|
+
sensor: number;
|
|
1181
|
+
timeout: number;
|
|
1182
|
+
[key: string]: unknown;
|
|
1183
|
+
};
|
|
1202
1184
|
export type CoordinatesValue = {
|
|
1203
1185
|
latitude: number | "NaN" | "Infinity" | "-Infinity";
|
|
1204
1186
|
longitude: number | "NaN" | "Infinity" | "-Infinity";
|
|
@@ -1364,8 +1346,8 @@ export type CurrentObservation = ({
|
|
|
1364
1346
|
} & CurrentObservationHealthLastModemFaultCurrent) | ({
|
|
1365
1347
|
type: "health.modemFaultCount";
|
|
1366
1348
|
} & CurrentObservationHealthModemFaultCountCurrent) | ({
|
|
1367
|
-
type: "
|
|
1368
|
-
} &
|
|
1349
|
+
type: "diagnostics.remainingSeconds";
|
|
1350
|
+
} & CurrentObservationDiagnosticsRemainingSecondsCurrent) | ({
|
|
1369
1351
|
type: "health.uptime";
|
|
1370
1352
|
} & CurrentObservationHealthUptimeCurrent) | ({
|
|
1371
1353
|
type: "location.lookupCompleted";
|
|
@@ -1470,14 +1452,8 @@ export type CurrentObservation = ({
|
|
|
1470
1452
|
} & CurrentObservationPowerMqttMsCurrent) | ({
|
|
1471
1453
|
type: "power.psmEntries";
|
|
1472
1454
|
} & CurrentObservationPowerPsmEntriesCurrent) | ({
|
|
1473
|
-
type: "power.psmFallbacks";
|
|
1474
|
-
} & CurrentObservationPowerPsmFallbacksCurrent) | ({
|
|
1475
1455
|
type: "power.psmMs";
|
|
1476
1456
|
} & CurrentObservationPowerPsmMsCurrent) | ({
|
|
1477
|
-
type: "power.responseWindowEntries";
|
|
1478
|
-
} & CurrentObservationPowerResponseWindowEntriesCurrent) | ({
|
|
1479
|
-
type: "power.responseWindowMs";
|
|
1480
|
-
} & CurrentObservationPowerResponseWindowMsCurrent) | ({
|
|
1481
1457
|
type: "power.rrcEntries";
|
|
1482
1458
|
} & CurrentObservationPowerRrcEntriesCurrent) | ({
|
|
1483
1459
|
type: "power.rrcMs";
|
|
@@ -1498,10 +1474,6 @@ export type CurrentObservation = ({
|
|
|
1498
1474
|
} & CurrentObservationSystemBootedCurrent) | ({
|
|
1499
1475
|
type: "wifi.scanCompleted";
|
|
1500
1476
|
} & CurrentObservationWifiScanCompletedCurrent) | ({
|
|
1501
|
-
type: "work.completed";
|
|
1502
|
-
} & CurrentObservationWorkCompletedCurrent) | ({
|
|
1503
|
-
type: "workflow.execution";
|
|
1504
|
-
} & CurrentObservationWorkflowExecutionCurrent) | ({
|
|
1505
1477
|
type: "battery.module.chargeCompleted";
|
|
1506
1478
|
} & CurrentObservationBatteryModuleChargeCompletedCurrent) | ({
|
|
1507
1479
|
type: "battery.module.chargeRested";
|
|
@@ -1513,7 +1485,11 @@ export type CurrentObservation = ({
|
|
|
1513
1485
|
type: "battery.updateHealth";
|
|
1514
1486
|
} & CurrentObservationBatteryUpdateHealthCurrent) | ({
|
|
1515
1487
|
type: "battery.charging.allocations";
|
|
1516
|
-
} & CurrentObservationBatteryChargingAllocationsCurrent)
|
|
1488
|
+
} & CurrentObservationBatteryChargingAllocationsCurrent) | ({
|
|
1489
|
+
type: "connection.runtimeStatus";
|
|
1490
|
+
} & CurrentObservationConnectionRuntimeStatusCurrent) | ({
|
|
1491
|
+
type: "controller.wakeCounts";
|
|
1492
|
+
} & CurrentObservationControllerWakeCountsCurrent);
|
|
1517
1493
|
export type CurrentObservationAgnssCompletedCurrent = {
|
|
1518
1494
|
type: "agnss.completed";
|
|
1519
1495
|
/**
|
|
@@ -2316,6 +2292,29 @@ export type CurrentObservationConnectionReportsCurrent = {
|
|
|
2316
2292
|
receivedAt: string;
|
|
2317
2293
|
[key: string]: unknown;
|
|
2318
2294
|
};
|
|
2295
|
+
export type CurrentObservationConnectionRuntimeStatusCurrent = {
|
|
2296
|
+
type: "connection.runtimeStatus";
|
|
2297
|
+
/**
|
|
2298
|
+
* Connection runtime status
|
|
2299
|
+
*
|
|
2300
|
+
* Passive snapshot of saturating since-boot activity. MQTT reconnect attempts are admitted opens after a successful MQTT session this boot; LTE attempts are admitted attachment operations. Modem recoveries exclude provisioning and shutdown. Notification failures count failed socket callback registrations; fallback waits count bounded polling waits. Mode describes the current socket, and last error remains until callback registration succeeds. Capturing this observation performs no network operation.
|
|
2301
|
+
*/
|
|
2302
|
+
value: {
|
|
2303
|
+
mqttReconnectAttempts: number;
|
|
2304
|
+
lteAttachAttempts: number;
|
|
2305
|
+
modemOfflineRecoveries: number;
|
|
2306
|
+
notificationMode: "disconnected" | "callback" | "polling";
|
|
2307
|
+
notificationFailures: number;
|
|
2308
|
+
fallbackWaits: number;
|
|
2309
|
+
lastNotificationError: number;
|
|
2310
|
+
[key: string]: unknown;
|
|
2311
|
+
};
|
|
2312
|
+
deviceId: string;
|
|
2313
|
+
sourceObservationId: string;
|
|
2314
|
+
measuredAt: string;
|
|
2315
|
+
receivedAt: string;
|
|
2316
|
+
[key: string]: unknown;
|
|
2317
|
+
};
|
|
2319
2318
|
export type CurrentObservationConnectionRxPayloadBytesCurrent = {
|
|
2320
2319
|
type: "connection.rxPayloadBytes";
|
|
2321
2320
|
/**
|
|
@@ -2428,6 +2427,27 @@ export type CurrentObservationConnectionTxPayloadBytesCurrent = {
|
|
|
2428
2427
|
receivedAt: string;
|
|
2429
2428
|
[key: string]: unknown;
|
|
2430
2429
|
};
|
|
2430
|
+
export type CurrentObservationControllerWakeCountsCurrent = {
|
|
2431
|
+
type: "controller.wakeCounts";
|
|
2432
|
+
/**
|
|
2433
|
+
* Controller wake counts
|
|
2434
|
+
*
|
|
2435
|
+
* Saturating since-boot dispatcher activity from waits with a nonzero requested duration. Delivered reasons coalesce and one wait may increment multiple reasons; timeout counts waits that return no reason. Zero-duration probes are excluded. These counts are not physical interrupts, CPU sleep entries or energy measurements. Capturing this observation schedules no activity.
|
|
2436
|
+
*/
|
|
2437
|
+
value: {
|
|
2438
|
+
event: number;
|
|
2439
|
+
command: number;
|
|
2440
|
+
io: number;
|
|
2441
|
+
sensor: number;
|
|
2442
|
+
timeout: number;
|
|
2443
|
+
[key: string]: unknown;
|
|
2444
|
+
};
|
|
2445
|
+
deviceId: string;
|
|
2446
|
+
sourceObservationId: string;
|
|
2447
|
+
measuredAt: string;
|
|
2448
|
+
receivedAt: string;
|
|
2449
|
+
[key: string]: unknown;
|
|
2450
|
+
};
|
|
2431
2451
|
export type CurrentObservationDeviceBuildFingerprintCurrent = {
|
|
2432
2452
|
type: "device.buildFingerprint";
|
|
2433
2453
|
/**
|
|
@@ -2475,6 +2495,20 @@ export type CurrentObservationDeviceHardwareVersionCurrent = {
|
|
|
2475
2495
|
receivedAt: string;
|
|
2476
2496
|
[key: string]: unknown;
|
|
2477
2497
|
};
|
|
2498
|
+
export type CurrentObservationDiagnosticsRemainingSecondsCurrent = {
|
|
2499
|
+
type: "diagnostics.remainingSeconds";
|
|
2500
|
+
/**
|
|
2501
|
+
* Diagnostics remaining
|
|
2502
|
+
*
|
|
2503
|
+
* Remaining time for configured diagnostic logging and instrumentation, in seconds.
|
|
2504
|
+
*/
|
|
2505
|
+
value: number;
|
|
2506
|
+
deviceId: string;
|
|
2507
|
+
sourceObservationId: string;
|
|
2508
|
+
measuredAt: string;
|
|
2509
|
+
receivedAt: string;
|
|
2510
|
+
[key: string]: unknown;
|
|
2511
|
+
};
|
|
2478
2512
|
export type CurrentObservationEventsLostCurrent = {
|
|
2479
2513
|
type: "events.lost";
|
|
2480
2514
|
/**
|
|
@@ -2900,20 +2934,6 @@ export type CurrentObservationHealthModemFaultCountCurrent = {
|
|
|
2900
2934
|
receivedAt: string;
|
|
2901
2935
|
[key: string]: unknown;
|
|
2902
2936
|
};
|
|
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
2937
|
export type CurrentObservationHealthUptimeCurrent = {
|
|
2918
2938
|
type: "health.uptime";
|
|
2919
2939
|
/**
|
|
@@ -3332,7 +3352,6 @@ export type CurrentObservationOutboxOccupancyCurrent = {
|
|
|
3332
3352
|
capacityBytes: number;
|
|
3333
3353
|
count: number;
|
|
3334
3354
|
urgentCount: number;
|
|
3335
|
-
existingOnlyCount: number;
|
|
3336
3355
|
externalOnlyCount: number;
|
|
3337
3356
|
oldestPendingAgeMs: number | null;
|
|
3338
3357
|
[key: string]: unknown;
|
|
@@ -3482,7 +3501,7 @@ export type CurrentObservationPowerActivitiesCurrent = {
|
|
|
3482
3501
|
*
|
|
3483
3502
|
* Readable activity state; elapsed counters remain independent and overlap.
|
|
3484
3503
|
*/
|
|
3485
|
-
value: Array<"rrc" | "mqtt" | "
|
|
3504
|
+
value: Array<"rrc" | "mqtt" | "psm" | "esp" | "wifiScan" | "bleScan" | "gnss">;
|
|
3486
3505
|
deviceId: string;
|
|
3487
3506
|
sourceObservationId: string;
|
|
3488
3507
|
measuredAt: string;
|
|
@@ -3643,20 +3662,6 @@ export type CurrentObservationPowerPsmEntriesCurrent = {
|
|
|
3643
3662
|
receivedAt: string;
|
|
3644
3663
|
[key: string]: unknown;
|
|
3645
3664
|
};
|
|
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
3665
|
export type CurrentObservationPowerPsmMsCurrent = {
|
|
3661
3666
|
type: "power.psmMs";
|
|
3662
3667
|
/**
|
|
@@ -3671,34 +3676,6 @@ export type CurrentObservationPowerPsmMsCurrent = {
|
|
|
3671
3676
|
receivedAt: string;
|
|
3672
3677
|
[key: string]: unknown;
|
|
3673
3678
|
};
|
|
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
3679
|
export type CurrentObservationPowerRrcEntriesCurrent = {
|
|
3703
3680
|
type: "power.rrcEntries";
|
|
3704
3681
|
/**
|
|
@@ -3857,69 +3834,33 @@ export type CurrentObservationWifiScanCompletedCurrent = {
|
|
|
3857
3834
|
receivedAt: string;
|
|
3858
3835
|
[key: string]: unknown;
|
|
3859
3836
|
};
|
|
3860
|
-
export type CurrentObservationWorkCompletedCurrent = {
|
|
3861
|
-
type: "work.completed";
|
|
3862
|
-
/**
|
|
3863
|
-
* Work completed
|
|
3864
|
-
*
|
|
3865
|
-
* One operation outcome and its interval accounting; not a replacement for independently selectable since-boot totals.
|
|
3866
|
-
*/
|
|
3867
|
-
value: {
|
|
3868
|
-
completedCount: number;
|
|
3869
|
-
trigger: "boot" | "timer" | "movement" | "command";
|
|
3870
|
-
outcome: DeviceObservationValuesOperationOutcome;
|
|
3871
|
-
elapsedMs: number;
|
|
3872
|
-
activeMs: number;
|
|
3873
|
-
activityMs: DeviceObservationValuesActivityDurations;
|
|
3874
|
-
activityEntries: DeviceObservationValuesActivityEntries;
|
|
3875
|
-
recoveries: DeviceObservationValuesRecoveryCounts;
|
|
3876
|
-
saturated: boolean;
|
|
3877
|
-
mode: number;
|
|
3878
|
-
[key: string]: unknown;
|
|
3879
|
-
};
|
|
3880
|
-
deviceId: string;
|
|
3881
|
-
sourceObservationId: string;
|
|
3882
|
-
measuredAt: string;
|
|
3883
|
-
receivedAt: string;
|
|
3884
|
-
[key: string]: unknown;
|
|
3885
|
-
};
|
|
3886
|
-
export type CurrentObservationWorkflowExecutionCurrent = {
|
|
3887
|
-
type: "workflow.execution";
|
|
3888
|
-
/**
|
|
3889
|
-
* Workflow execution
|
|
3890
|
-
*
|
|
3891
|
-
* Passive tracking workflow and service execution evidence. Offline traces retain their original timestamps and do not create connection demand.
|
|
3892
|
-
*/
|
|
3893
|
-
value: {
|
|
3894
|
-
workflowVersion: number;
|
|
3895
|
-
mode: number;
|
|
3896
|
-
state: string;
|
|
3897
|
-
owner: "workflow" | "command" | "update" | "recovery" | "shutdown" | "fault" | "settings" | "charging" | "ble" | "network";
|
|
3898
|
-
phase: "entered" | "completed" | "cancelled" | "ownerChanged" | "snapshot";
|
|
3899
|
-
outcome: "done" | "unavailable" | "failed" | "timeout" | "cancelled" | null;
|
|
3900
|
-
durationMs: number | null;
|
|
3901
|
-
error: number | null;
|
|
3902
|
-
waitReason: "resource" | "command" | "update" | "configuration" | "rest" | "network" | null;
|
|
3903
|
-
operation: "capture" | "mqttOpen" | "publish" | "listen" | "modemOnline" | "modemEdrx" | "modemPsm" | "modemOffline" | "disconnectMqtt" | "prepareConnection" | "connect" | null;
|
|
3904
|
-
[key: string]: unknown;
|
|
3905
|
-
};
|
|
3906
|
-
deviceId: string;
|
|
3907
|
-
sourceObservationId: string;
|
|
3908
|
-
measuredAt: string;
|
|
3909
|
-
receivedAt: string;
|
|
3910
|
-
[key: string]: unknown;
|
|
3911
|
-
};
|
|
3912
3837
|
export type CustomerFirmwareReportOutcome = "transferFailed" | "targetVersionObserved";
|
|
3913
3838
|
export type DenylistChange = {
|
|
3914
3839
|
requestId: string;
|
|
3915
3840
|
isBlacklisted: boolean;
|
|
3916
3841
|
};
|
|
3842
|
+
export type DeviceConnectivity = {
|
|
3843
|
+
connected: boolean;
|
|
3844
|
+
checkedAt: string;
|
|
3845
|
+
[key: string]: unknown;
|
|
3846
|
+
};
|
|
3847
|
+
/**
|
|
3848
|
+
* Device diagnostic event
|
|
3849
|
+
*
|
|
3850
|
+
* Requested engineering log evidence, not an automatic second operational publication or an event-sequence subject.
|
|
3851
|
+
*/
|
|
3917
3852
|
export type DeviceDiagnosticEventValue = {
|
|
3918
3853
|
code: number;
|
|
3919
3854
|
arguments: Array<number>;
|
|
3920
3855
|
sequence: number;
|
|
3921
3856
|
[key: string]: unknown;
|
|
3922
3857
|
};
|
|
3858
|
+
export type DeviceIdentity = {
|
|
3859
|
+
deviceId: string;
|
|
3860
|
+
inventoryId: string;
|
|
3861
|
+
hardwareGeneration: number;
|
|
3862
|
+
[key: string]: unknown;
|
|
3863
|
+
};
|
|
3923
3864
|
export type DeviceObservationValues = {
|
|
3924
3865
|
/**
|
|
3925
3866
|
* Agnss completed
|
|
@@ -4543,11 +4484,11 @@ export type DeviceObservationValues = {
|
|
|
4543
4484
|
*/
|
|
4544
4485
|
"health.modemFaultCount"?: number;
|
|
4545
4486
|
/**
|
|
4546
|
-
*
|
|
4487
|
+
* Diagnostics remaining
|
|
4547
4488
|
*
|
|
4548
|
-
* Remaining time
|
|
4489
|
+
* Remaining time for configured diagnostic logging and instrumentation, in seconds.
|
|
4549
4490
|
*/
|
|
4550
|
-
"
|
|
4491
|
+
"diagnostics.remainingSeconds"?: number;
|
|
4551
4492
|
/**
|
|
4552
4493
|
* Device uptime
|
|
4553
4494
|
*
|
|
@@ -4754,7 +4695,6 @@ export type DeviceObservationValues = {
|
|
|
4754
4695
|
capacityBytes: number;
|
|
4755
4696
|
count: number;
|
|
4756
4697
|
urgentCount: number;
|
|
4757
|
-
existingOnlyCount: number;
|
|
4758
4698
|
externalOnlyCount: number;
|
|
4759
4699
|
oldestPendingAgeMs: number | null;
|
|
4760
4700
|
[key: string]: unknown;
|
|
@@ -4824,7 +4764,7 @@ export type DeviceObservationValues = {
|
|
|
4824
4764
|
*
|
|
4825
4765
|
* Readable activity state; elapsed counters remain independent and overlap.
|
|
4826
4766
|
*/
|
|
4827
|
-
"power.activities"?: Array<"rrc" | "mqtt" | "
|
|
4767
|
+
"power.activities"?: Array<"rrc" | "mqtt" | "psm" | "esp" | "wifiScan" | "bleScan" | "gnss">;
|
|
4828
4768
|
/**
|
|
4829
4769
|
* Bluetooth scanning entry count
|
|
4830
4770
|
*
|
|
@@ -4907,30 +4847,12 @@ export type DeviceObservationValues = {
|
|
|
4907
4847
|
* Number of entries into modem power-saving mode recorded in the power-activity snapshot.
|
|
4908
4848
|
*/
|
|
4909
4849
|
"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
4850
|
/**
|
|
4917
4851
|
* Modem power saving total time
|
|
4918
4852
|
*
|
|
4919
4853
|
* Accumulated time attributed to modem power-saving mode, in milliseconds, in the power-activity snapshot.
|
|
4920
4854
|
*/
|
|
4921
4855
|
"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
4856
|
/**
|
|
4935
4857
|
* Cellular radio entry count
|
|
4936
4858
|
*
|
|
@@ -4995,42 +4917,6 @@ export type DeviceObservationValues = {
|
|
|
4995
4917
|
* One coherent wifi.scanCompleted fact.
|
|
4996
4918
|
*/
|
|
4997
4919
|
"wifi.scanCompleted"?: DeviceObservationValuesScanCompleted;
|
|
4998
|
-
/**
|
|
4999
|
-
* Work completed
|
|
5000
|
-
*
|
|
5001
|
-
* One operation outcome and its interval accounting; not a replacement for independently selectable since-boot totals.
|
|
5002
|
-
*/
|
|
5003
|
-
"work.completed"?: {
|
|
5004
|
-
completedCount: number;
|
|
5005
|
-
trigger: "boot" | "timer" | "movement" | "command";
|
|
5006
|
-
outcome: DeviceObservationValuesOperationOutcome;
|
|
5007
|
-
elapsedMs: number;
|
|
5008
|
-
activeMs: number;
|
|
5009
|
-
activityMs: DeviceObservationValuesActivityDurations;
|
|
5010
|
-
activityEntries: DeviceObservationValuesActivityEntries;
|
|
5011
|
-
recoveries: DeviceObservationValuesRecoveryCounts;
|
|
5012
|
-
saturated: boolean;
|
|
5013
|
-
mode: number;
|
|
5014
|
-
[key: string]: unknown;
|
|
5015
|
-
};
|
|
5016
|
-
/**
|
|
5017
|
-
* Workflow execution
|
|
5018
|
-
*
|
|
5019
|
-
* Passive tracking workflow and service execution evidence. Offline traces retain their original timestamps and do not create connection demand.
|
|
5020
|
-
*/
|
|
5021
|
-
"workflow.execution"?: {
|
|
5022
|
-
workflowVersion: number;
|
|
5023
|
-
mode: number;
|
|
5024
|
-
state: string;
|
|
5025
|
-
owner: "workflow" | "command" | "update" | "recovery" | "shutdown" | "fault" | "settings" | "charging" | "ble" | "network";
|
|
5026
|
-
phase: "entered" | "completed" | "cancelled" | "ownerChanged" | "snapshot";
|
|
5027
|
-
outcome: "done" | "unavailable" | "failed" | "timeout" | "cancelled" | null;
|
|
5028
|
-
durationMs: number | null;
|
|
5029
|
-
error: number | null;
|
|
5030
|
-
waitReason: "resource" | "command" | "update" | "configuration" | "rest" | "network" | null;
|
|
5031
|
-
operation: "capture" | "mqttOpen" | "publish" | "listen" | "modemOnline" | "modemEdrx" | "modemPsm" | "modemOffline" | "disconnectMqtt" | "prepareConnection" | "connect" | null;
|
|
5032
|
-
[key: string]: unknown;
|
|
5033
|
-
};
|
|
5034
4920
|
/**
|
|
5035
4921
|
* Battery module charge completed
|
|
5036
4922
|
*
|
|
@@ -5082,33 +4968,145 @@ export type DeviceObservationValues = {
|
|
|
5082
4968
|
[key: string]: unknown;
|
|
5083
4969
|
};
|
|
5084
4970
|
/**
|
|
5085
|
-
* battery.updateHealth
|
|
4971
|
+
* battery.updateHealth
|
|
4972
|
+
*
|
|
4973
|
+
* Operational verification after a completed MSP installation and LTE restart. Installation completion does not imply operational health. A failed health check never rearms image installation or consumes another flash attempt.
|
|
4974
|
+
*/
|
|
4975
|
+
"battery.updateHealth"?: {
|
|
4976
|
+
requestId: number;
|
|
4977
|
+
slot: number;
|
|
4978
|
+
target: DeviceObservationValuesModuleSubject;
|
|
4979
|
+
imageInstalled: boolean;
|
|
4980
|
+
state: "operational" | "failed" | "unsupported";
|
|
4981
|
+
error: number;
|
|
4982
|
+
bootGeneration: number | null;
|
|
4983
|
+
[key: string]: unknown;
|
|
4984
|
+
};
|
|
4985
|
+
/**
|
|
4986
|
+
* Charging allocation decisions
|
|
4987
|
+
*
|
|
4988
|
+
* LTE allocation intent and acknowledged output, not proof of actual current flow. Reports stopped fault gates and physical-identity power reservations, including unreachable modules and lost acknowledgements. Remaining durations freeze at capture; use observation age. A null reservation list is unavailable, not empty. Reads perform no UART I/O and never retire or renew a reservation.
|
|
4989
|
+
*/
|
|
4990
|
+
"battery.charging.allocations"?: {
|
|
4991
|
+
inventoryConfirmed: boolean;
|
|
4992
|
+
held: boolean;
|
|
4993
|
+
inputBudgetMa: number;
|
|
4994
|
+
maximumChargers: number;
|
|
4995
|
+
reason: "none" | "disabled" | "detached" | "unknownInput" | "notReady" | "communication" | "stale" | "thermal" | "cable" | "full" | "overcurrent" | "maintenance" | "chargerFault" | "allocationBudget";
|
|
4996
|
+
modules: Array<DeviceObservationValuesChargingAllocationMember>;
|
|
4997
|
+
reservations: Array<DeviceObservationValuesChargingPowerReservation> | null;
|
|
4998
|
+
[key: string]: unknown;
|
|
4999
|
+
};
|
|
5000
|
+
/**
|
|
5001
|
+
* Connection runtime status
|
|
5002
|
+
*
|
|
5003
|
+
* Passive snapshot of saturating since-boot activity. MQTT reconnect attempts are admitted opens after a successful MQTT session this boot; LTE attempts are admitted attachment operations. Modem recoveries exclude provisioning and shutdown. Notification failures count failed socket callback registrations; fallback waits count bounded polling waits. Mode describes the current socket, and last error remains until callback registration succeeds. Capturing this observation performs no network operation.
|
|
5004
|
+
*/
|
|
5005
|
+
"connection.runtimeStatus"?: {
|
|
5006
|
+
mqttReconnectAttempts: number;
|
|
5007
|
+
lteAttachAttempts: number;
|
|
5008
|
+
modemOfflineRecoveries: number;
|
|
5009
|
+
notificationMode: "disconnected" | "callback" | "polling";
|
|
5010
|
+
notificationFailures: number;
|
|
5011
|
+
fallbackWaits: number;
|
|
5012
|
+
lastNotificationError: number;
|
|
5013
|
+
[key: string]: unknown;
|
|
5014
|
+
};
|
|
5015
|
+
/**
|
|
5016
|
+
* Controller wake counts
|
|
5017
|
+
*
|
|
5018
|
+
* Saturating since-boot dispatcher activity from waits with a nonzero requested duration. Delivered reasons coalesce and one wait may increment multiple reasons; timeout counts waits that return no reason. Zero-duration probes are excluded. These counts are not physical interrupts, CPU sleep entries or energy measurements. Capturing this observation schedules no activity.
|
|
5019
|
+
*/
|
|
5020
|
+
"controller.wakeCounts"?: {
|
|
5021
|
+
event: number;
|
|
5022
|
+
command: number;
|
|
5023
|
+
io: number;
|
|
5024
|
+
sensor: number;
|
|
5025
|
+
timeout: number;
|
|
5026
|
+
[key: string]: unknown;
|
|
5027
|
+
};
|
|
5028
|
+
/**
|
|
5029
|
+
* Command result
|
|
5030
|
+
*
|
|
5031
|
+
* Terminal command outcome correlated by the enclosing request ID. Domain values are separate observations; unavailable observations name requested readings that were not delivered.
|
|
5032
|
+
*/
|
|
5033
|
+
"command.result"?: {
|
|
5034
|
+
commandId: number;
|
|
5035
|
+
result: number;
|
|
5036
|
+
unavailableObservations: Array<string>;
|
|
5037
|
+
[key: string]: unknown;
|
|
5038
|
+
};
|
|
5039
|
+
/**
|
|
5040
|
+
* command.status
|
|
5041
|
+
*
|
|
5042
|
+
* Request-scoped domain evidence emitted before its terminal command result.
|
|
5043
|
+
*/
|
|
5044
|
+
"command.status"?: {
|
|
5045
|
+
connectionId: string;
|
|
5046
|
+
lastActionRequestId: number;
|
|
5047
|
+
activeRequestId: number;
|
|
5048
|
+
activeSourceMask: number;
|
|
5049
|
+
[key: string]: unknown;
|
|
5050
|
+
};
|
|
5051
|
+
/**
|
|
5052
|
+
* connection.savedEnvironments
|
|
5053
|
+
*
|
|
5054
|
+
* Request-scoped domain evidence emitted before its terminal command result.
|
|
5055
|
+
*/
|
|
5056
|
+
"connection.savedEnvironments"?: {
|
|
5057
|
+
availableCapacity: number;
|
|
5058
|
+
environments: Array<DeviceObservationValuesSavedEnvironment>;
|
|
5059
|
+
[key: string]: unknown;
|
|
5060
|
+
};
|
|
5061
|
+
/**
|
|
5062
|
+
* acquisition.completed
|
|
5063
|
+
*
|
|
5064
|
+
* Request-scoped domain evidence emitted before its terminal command result.
|
|
5065
|
+
*/
|
|
5066
|
+
"acquisition.completed"?: {
|
|
5067
|
+
sampledMask: number;
|
|
5068
|
+
unavailableMask: number;
|
|
5069
|
+
timedOutMask: number;
|
|
5070
|
+
cancelledMask: number;
|
|
5071
|
+
failedMask: number;
|
|
5072
|
+
[key: string]: unknown;
|
|
5073
|
+
};
|
|
5074
|
+
/**
|
|
5075
|
+
* device.selfTestCompleted
|
|
5076
|
+
*
|
|
5077
|
+
* Request-scoped domain evidence emitted before its terminal command result.
|
|
5078
|
+
*/
|
|
5079
|
+
"device.selfTestCompleted"?: {
|
|
5080
|
+
testedMask: number;
|
|
5081
|
+
passedMask: number;
|
|
5082
|
+
failedMask: number;
|
|
5083
|
+
unavailableMask: number;
|
|
5084
|
+
busyMask: number;
|
|
5085
|
+
[key: string]: unknown;
|
|
5086
|
+
};
|
|
5087
|
+
/**
|
|
5088
|
+
* battery.checkResult
|
|
5086
5089
|
*
|
|
5087
|
-
*
|
|
5090
|
+
* Request-scoped domain evidence emitted before its terminal command result.
|
|
5088
5091
|
*/
|
|
5089
|
-
"battery.
|
|
5090
|
-
|
|
5091
|
-
|
|
5092
|
-
target: DeviceObservationValuesModuleSubject;
|
|
5093
|
-
imageInstalled: boolean;
|
|
5094
|
-
state: "operational" | "failed" | "unsupported";
|
|
5095
|
-
error: number;
|
|
5096
|
-
bootGeneration: number | null;
|
|
5092
|
+
"battery.checkResult"?: {
|
|
5093
|
+
moduleCount: number;
|
|
5094
|
+
readyMask: number;
|
|
5097
5095
|
[key: string]: unknown;
|
|
5098
5096
|
};
|
|
5099
5097
|
/**
|
|
5100
|
-
*
|
|
5098
|
+
* diagnostics.streamCompleted
|
|
5101
5099
|
*
|
|
5102
|
-
*
|
|
5100
|
+
* Request-scoped domain evidence emitted before its terminal command result.
|
|
5103
5101
|
*/
|
|
5104
|
-
"
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
|
|
5108
|
-
|
|
5109
|
-
|
|
5110
|
-
|
|
5111
|
-
|
|
5102
|
+
"diagnostics.streamCompleted"?: {
|
|
5103
|
+
publishedObservations: Array<string>;
|
|
5104
|
+
unavailableObservations: Array<string>;
|
|
5105
|
+
capturedEvents: number;
|
|
5106
|
+
sentEvents: number;
|
|
5107
|
+
droppedEvents: number;
|
|
5108
|
+
bytesSent: number;
|
|
5109
|
+
reason: number;
|
|
5112
5110
|
[key: string]: unknown;
|
|
5113
5111
|
};
|
|
5114
5112
|
[key: string]: unknown;
|
|
@@ -5116,7 +5114,6 @@ export type DeviceObservationValues = {
|
|
|
5116
5114
|
export type DeviceObservationValuesActivityDurations = {
|
|
5117
5115
|
rrc: number;
|
|
5118
5116
|
mqtt: number;
|
|
5119
|
-
responseWindow: number;
|
|
5120
5117
|
psm: number;
|
|
5121
5118
|
esp: number;
|
|
5122
5119
|
wifiScan: number;
|
|
@@ -5127,7 +5124,6 @@ export type DeviceObservationValuesActivityDurations = {
|
|
|
5127
5124
|
export type DeviceObservationValuesActivityEntries = {
|
|
5128
5125
|
rrc: number;
|
|
5129
5126
|
mqtt: number;
|
|
5130
|
-
responseWindow: number;
|
|
5131
5127
|
psm: number;
|
|
5132
5128
|
esp: number;
|
|
5133
5129
|
wifiScan: number;
|
|
@@ -5348,7 +5344,6 @@ export type DeviceObservationValuesRecoveryCounts = {
|
|
|
5348
5344
|
espRecoveries: number;
|
|
5349
5345
|
wifiTimeouts: number;
|
|
5350
5346
|
bleTimeouts: number;
|
|
5351
|
-
psmFallbacks: number;
|
|
5352
5347
|
[key: string]: unknown;
|
|
5353
5348
|
};
|
|
5354
5349
|
export type DeviceObservationValuesRegisterReading = {
|
|
@@ -5359,7 +5354,6 @@ export type DeviceObservationValuesRegisterReading = {
|
|
|
5359
5354
|
};
|
|
5360
5355
|
export type DeviceObservationValuesResetContext = {
|
|
5361
5356
|
sequence: number;
|
|
5362
|
-
controllerPhase: number;
|
|
5363
5357
|
operation: number;
|
|
5364
5358
|
error: number;
|
|
5365
5359
|
errorOperation: number;
|
|
@@ -5399,6 +5393,19 @@ export type DeviceObservationValuesWifiAccessPoint = {
|
|
|
5399
5393
|
channel: number | null;
|
|
5400
5394
|
[key: string]: unknown;
|
|
5401
5395
|
};
|
|
5396
|
+
/**
|
|
5397
|
+
* device.selfTestCompleted
|
|
5398
|
+
*
|
|
5399
|
+
* Request-scoped domain evidence emitted before its terminal command result.
|
|
5400
|
+
*/
|
|
5401
|
+
export type DeviceSelfTestCompletedValue = {
|
|
5402
|
+
testedMask: number;
|
|
5403
|
+
passedMask: number;
|
|
5404
|
+
failedMask: number;
|
|
5405
|
+
unavailableMask: number;
|
|
5406
|
+
busyMask: number;
|
|
5407
|
+
[key: string]: unknown;
|
|
5408
|
+
};
|
|
5402
5409
|
export type DeviceSettings = {
|
|
5403
5410
|
/**
|
|
5404
5411
|
* Battery measurement interval
|
|
@@ -5556,16 +5563,10 @@ export type DeviceSettings = {
|
|
|
5556
5563
|
* Maximum sum of programmed input-current limits across charging modules, including single-module charging and weak-supply fallback. The per-module ceiling also applies. Unlimited input is capped to a finite limit within this budget.
|
|
5557
5564
|
*/
|
|
5558
5565
|
chargingTotalInputLimitMilliamps?: number;
|
|
5559
|
-
/**
|
|
5560
|
-
* Workflow debug tracing
|
|
5561
|
-
*
|
|
5562
|
-
* Record bounded tracking workflow and service execution traces. Traces use an available connection and do not keep LTE awake.
|
|
5563
|
-
*/
|
|
5564
|
-
workflowDebugEnabled?: boolean;
|
|
5565
5566
|
/**
|
|
5566
5567
|
* I2C idle power saving
|
|
5567
5568
|
*
|
|
5568
|
-
* Suspend the LTE I2C controller between transactions.
|
|
5569
|
+
* Suspend the LTE I2C controller between transactions. Enabled by default. Changes apply at an idle bus boundary without interrupting active operations; motion detection remains enabled.
|
|
5569
5570
|
*/
|
|
5570
5571
|
i2cIdlePowerSavingEnabled?: boolean;
|
|
5571
5572
|
/**
|
|
@@ -5587,65 +5588,17 @@ export type DeviceSettings = {
|
|
|
5587
5588
|
*/
|
|
5588
5589
|
bleAdvertisingIntervalUnits?: number;
|
|
5589
5590
|
/**
|
|
5590
|
-
*
|
|
5591
|
-
*
|
|
5592
|
-
* 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.
|
|
5593
|
-
*/
|
|
5594
|
-
mode?: number;
|
|
5595
|
-
/**
|
|
5596
|
-
* Powered report interval
|
|
5597
|
-
*
|
|
5598
|
-
* Period between tracking reports on confirmed external power.
|
|
5599
|
-
*/
|
|
5600
|
-
poweredReportIntervalSeconds?: number;
|
|
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
|
|
5591
|
+
* Report interval on external power
|
|
5633
5592
|
*
|
|
5634
|
-
*
|
|
5593
|
+
* Interval between periodic status reports while external power is confirmed. Zero disables periodic reports on external power. Does not control report contents, positioning requests, event reports or local battery safety checks.
|
|
5635
5594
|
*/
|
|
5636
|
-
|
|
5595
|
+
reportIntervalOnExternalPowerSeconds?: number;
|
|
5637
5596
|
/**
|
|
5638
|
-
*
|
|
5597
|
+
* Movement cooldown
|
|
5639
5598
|
*
|
|
5640
|
-
*
|
|
5599
|
+
* Time after an accepted movement detection with the accelerometer and its wake interrupt disabled. Positioning, reports and reconnects do not restart the cooldown.
|
|
5641
5600
|
*/
|
|
5642
|
-
|
|
5643
|
-
/**
|
|
5644
|
-
* Tracking command window
|
|
5645
|
-
*
|
|
5646
|
-
* Time to keep an existing connection available after a battery tracking report.
|
|
5647
|
-
*/
|
|
5648
|
-
commandListenSeconds?: number;
|
|
5601
|
+
movementCooldownSeconds?: number;
|
|
5649
5602
|
/**
|
|
5650
5603
|
* GNSS search timeout
|
|
5651
5604
|
*
|
|
@@ -5658,18 +5611,6 @@ export type DeviceSettings = {
|
|
|
5658
5611
|
* Requested paging cycle; zero disables eDRX. Network-granted values can differ.
|
|
5659
5612
|
*/
|
|
5660
5613
|
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
5614
|
/**
|
|
5674
5615
|
* Automatic diagnostic power policy
|
|
5675
5616
|
*
|
|
@@ -5797,14 +5738,29 @@ export type DeviceSettings = {
|
|
|
5797
5738
|
*/
|
|
5798
5739
|
chargingStatusMaxAgeSeconds?: number;
|
|
5799
5740
|
/**
|
|
5800
|
-
*
|
|
5741
|
+
* Report interval on battery
|
|
5801
5742
|
*
|
|
5802
|
-
*
|
|
5743
|
+
* Interval between periodic status reports while battery power is confirmed. Zero disables periodic reports on battery (the default). Does not control report contents, positioning requests, event reports or local battery safety checks.
|
|
5803
5744
|
*/
|
|
5804
|
-
|
|
5745
|
+
reportIntervalOnBatterySeconds?: number;
|
|
5805
5746
|
};
|
|
5806
5747
|
export type DeviceSettingsAutomaticDiagnosticsPower = "any" | "external";
|
|
5807
5748
|
export type DeviceSettingsWifiScanType = "active" | "passive";
|
|
5749
|
+
/**
|
|
5750
|
+
* diagnostics.streamCompleted
|
|
5751
|
+
*
|
|
5752
|
+
* Request-scoped domain evidence emitted before its terminal command result.
|
|
5753
|
+
*/
|
|
5754
|
+
export type DiagnosticsStreamCompletedValue = {
|
|
5755
|
+
publishedObservations: Array<string>;
|
|
5756
|
+
unavailableObservations: Array<string>;
|
|
5757
|
+
capturedEvents: number;
|
|
5758
|
+
sentEvents: number;
|
|
5759
|
+
droppedEvents: number;
|
|
5760
|
+
bytesSent: number;
|
|
5761
|
+
reason: number;
|
|
5762
|
+
[key: string]: unknown;
|
|
5763
|
+
};
|
|
5808
5764
|
export type DirectoryProfile = {
|
|
5809
5765
|
id: string;
|
|
5810
5766
|
email: null | string;
|
|
@@ -5818,17 +5774,22 @@ export type DocumentReadIssue = {
|
|
|
5818
5774
|
code: string;
|
|
5819
5775
|
[key: string]: unknown;
|
|
5820
5776
|
};
|
|
5821
|
-
|
|
5777
|
+
/**
|
|
5778
|
+
* External power
|
|
5779
|
+
*
|
|
5780
|
+
* External power connection state reported by the tracker.
|
|
5781
|
+
*/
|
|
5782
|
+
export type ExternalPowerValue = DeviceObservationValuesExternalPower;
|
|
5822
5783
|
export type FactoryResetReport = {
|
|
5823
5784
|
requestId: string;
|
|
5824
5785
|
trackerCreatedAt: string;
|
|
5825
5786
|
};
|
|
5826
|
-
|
|
5827
|
-
|
|
5828
|
-
|
|
5829
|
-
|
|
5830
|
-
|
|
5831
|
-
|
|
5787
|
+
/**
|
|
5788
|
+
* Health last modem fault
|
|
5789
|
+
*
|
|
5790
|
+
* Health, worker and heap evidence is useful for support; counter reset scope and units must be explicit.
|
|
5791
|
+
*/
|
|
5792
|
+
export type FaultValue = DeviceObservationValuesFault;
|
|
5832
5793
|
export type FavoriteData = {
|
|
5833
5794
|
deviceId?: null | string;
|
|
5834
5795
|
comment?: null | string;
|
|
@@ -5858,6 +5819,16 @@ export type FirmwareAvailability = {
|
|
|
5858
5819
|
[key: string]: unknown;
|
|
5859
5820
|
};
|
|
5860
5821
|
export type FirmwareBlockReason = "subscriptionRequired" | "accountRestricted" | "temporarilyPaused" | "repeatedFailures" | "locationRequired" | "outsideSupportedArea" | "installedVersionUnknown" | "appUpdateRequired";
|
|
5822
|
+
export type FirmwareCancellation = {
|
|
5823
|
+
requestId: string;
|
|
5824
|
+
expectedExecutionVersion: number;
|
|
5825
|
+
};
|
|
5826
|
+
export type FirmwareExecution = {
|
|
5827
|
+
status: string;
|
|
5828
|
+
version: null | number;
|
|
5829
|
+
executionNumber: null | number;
|
|
5830
|
+
[key: string]: unknown;
|
|
5831
|
+
};
|
|
5861
5832
|
export type FirmwareLteCurrent = {
|
|
5862
5833
|
/**
|
|
5863
5834
|
* Cellular firmware version
|
|
@@ -5871,6 +5842,29 @@ export type FirmwareLteCurrent = {
|
|
|
5871
5842
|
receivedAt: string;
|
|
5872
5843
|
[key: string]: unknown;
|
|
5873
5844
|
};
|
|
5845
|
+
export type FirmwareReceipt = {
|
|
5846
|
+
deviceId: string;
|
|
5847
|
+
requestId: string;
|
|
5848
|
+
releaseId: string;
|
|
5849
|
+
chip: string;
|
|
5850
|
+
targetVersion: string;
|
|
5851
|
+
requestedBy: string;
|
|
5852
|
+
requestedAt: string;
|
|
5853
|
+
jobAcceptedAt: null | string;
|
|
5854
|
+
execution: FirmwareExecution;
|
|
5855
|
+
expiresAt?: null | string;
|
|
5856
|
+
attemptLimit?: null | number;
|
|
5857
|
+
[key: string]: unknown;
|
|
5858
|
+
};
|
|
5859
|
+
export type FirmwareRelease = {
|
|
5860
|
+
id: string;
|
|
5861
|
+
chip: string;
|
|
5862
|
+
targetVersion: string;
|
|
5863
|
+
size: number;
|
|
5864
|
+
sha256: string;
|
|
5865
|
+
notes?: null | string;
|
|
5866
|
+
[key: string]: unknown;
|
|
5867
|
+
};
|
|
5874
5868
|
export type FirmwareReleaseState = "available" | "current" | "unsupported" | "blocked";
|
|
5875
5869
|
export type FirmwareTransfer = {
|
|
5876
5870
|
imageUrl: string;
|
|
@@ -5880,10 +5874,15 @@ export type FirmwareTransfer = {
|
|
|
5880
5874
|
rebootTimeoutMs: number;
|
|
5881
5875
|
[key: string]: unknown;
|
|
5882
5876
|
};
|
|
5877
|
+
/**
|
|
5878
|
+
* Firmware update progress
|
|
5879
|
+
*
|
|
5880
|
+
* Progress is useful but never establishes installation success; Jobs remains the terminal-result authority.
|
|
5881
|
+
*/
|
|
5883
5882
|
export type FirmwareUpdateProgressValue = {
|
|
5884
5883
|
jobId: string;
|
|
5885
|
-
chip:
|
|
5886
|
-
phase:
|
|
5884
|
+
chip: "lte" | "battery" | "esp" | "modem";
|
|
5885
|
+
phase: "downloading" | "verifying" | "rebooting";
|
|
5887
5886
|
bytesDownloaded: number;
|
|
5888
5887
|
totalBytes: number;
|
|
5889
5888
|
execution: number;
|
|
@@ -5891,13 +5890,23 @@ export type FirmwareUpdateProgressValue = {
|
|
|
5891
5890
|
};
|
|
5892
5891
|
export type FirmwareUpdateProgressValueChip = "lte" | "battery" | "esp" | "modem";
|
|
5893
5892
|
export type FirmwareUpdateProgressValuePhase = "downloading" | "verifying" | "rebooting";
|
|
5893
|
+
export type FirmwareUpdateRequest = {
|
|
5894
|
+
requestId: string;
|
|
5895
|
+
expectedInventoryId: string;
|
|
5896
|
+
releaseId: string;
|
|
5897
|
+
};
|
|
5898
|
+
/**
|
|
5899
|
+
* Firmware update result
|
|
5900
|
+
*
|
|
5901
|
+
* One coherent firmware.updateResult fact.
|
|
5902
|
+
*/
|
|
5894
5903
|
export type FirmwareUpdateResultValue = {
|
|
5895
5904
|
jobId: string;
|
|
5896
5905
|
execution: number;
|
|
5897
|
-
chip:
|
|
5898
|
-
target:
|
|
5899
|
-
outcome:
|
|
5900
|
-
error:
|
|
5906
|
+
chip: "lte" | "battery" | "esp" | "modem";
|
|
5907
|
+
target: DeviceObservationValuesVersion;
|
|
5908
|
+
outcome: "succeeded" | "failed" | "cancelled";
|
|
5909
|
+
error: DeviceObservationValuesOperationError | null;
|
|
5901
5910
|
[key: string]: unknown;
|
|
5902
5911
|
};
|
|
5903
5912
|
export type FirmwareUpdateResultValueChip = "lte" | "battery" | "esp" | "modem";
|
|
@@ -5920,13 +5929,23 @@ export type GaugeControlValue = {
|
|
|
5920
5929
|
voltageEstimatorActive: boolean;
|
|
5921
5930
|
[key: string]: unknown;
|
|
5922
5931
|
};
|
|
5932
|
+
/**
|
|
5933
|
+
* Gauge module latched faults
|
|
5934
|
+
*
|
|
5935
|
+
* Sticky history since the current module binding, distinct from flags currently present in the control register.
|
|
5936
|
+
*/
|
|
5923
5937
|
export type GaugeModuleLatchedFaultsValue = {
|
|
5924
5938
|
batteryFailureSeen: boolean;
|
|
5925
5939
|
powerOnResetSeen: boolean;
|
|
5926
5940
|
[key: string]: unknown;
|
|
5927
5941
|
};
|
|
5942
|
+
/**
|
|
5943
|
+
* Gauge module status
|
|
5944
|
+
*
|
|
5945
|
+
* Validated gauge health/conversion evidence; the conversion register is not an unbounded boot counter. Configured gaugeMode remains separately selectable.
|
|
5946
|
+
*/
|
|
5928
5947
|
export type GaugeModuleStatusValue = {
|
|
5929
|
-
control:
|
|
5948
|
+
control: DeviceObservationValuesGaugeControl;
|
|
5930
5949
|
conversionCounter: number;
|
|
5931
5950
|
[key: string]: unknown;
|
|
5932
5951
|
};
|
|
@@ -5939,13 +5958,25 @@ export type Gen2FirmwareRelease = {
|
|
|
5939
5958
|
notes: string;
|
|
5940
5959
|
[key: string]: unknown;
|
|
5941
5960
|
};
|
|
5942
|
-
|
|
5943
|
-
|
|
5944
|
-
|
|
5945
|
-
|
|
5946
|
-
|
|
5947
|
-
|
|
5948
|
-
|
|
5961
|
+
/**
|
|
5962
|
+
* Position wifi fix
|
|
5963
|
+
*
|
|
5964
|
+
* Resolved locations and lookup failures are server-produced evidence; distinguish them from raw device scans.
|
|
5965
|
+
*/
|
|
5966
|
+
export type GeolocationFixValue = DeviceObservationValuesGeolocationFix;
|
|
5967
|
+
export type GnssAcquisitionOptions = {
|
|
5968
|
+
assistance?: boolean;
|
|
5969
|
+
powerMode?: GnssPowerMode;
|
|
5970
|
+
priorityMode?: boolean;
|
|
5971
|
+
lowAccuracy?: boolean;
|
|
5972
|
+
targetAccuracyMeters?: number;
|
|
5973
|
+
consecutiveFixes?: number;
|
|
5974
|
+
visibilityEnabled?: boolean;
|
|
5975
|
+
visibilityExecutionSeconds?: number;
|
|
5976
|
+
visibilityMinSatellites?: number;
|
|
5977
|
+
[key: string]: unknown;
|
|
5978
|
+
};
|
|
5979
|
+
export type GnssPowerMode = "disabled" | "performance" | "power";
|
|
5949
5980
|
export type GnssPvtSampleValue = {
|
|
5950
5981
|
ageMs: number;
|
|
5951
5982
|
receiverExecutionMs: number;
|
|
@@ -5955,26 +5986,41 @@ export type GnssPvtSampleValue = {
|
|
|
5955
5986
|
accuracy: number | "NaN" | "Infinity" | "-Infinity" | null;
|
|
5956
5987
|
[key: string]: unknown;
|
|
5957
5988
|
};
|
|
5989
|
+
/**
|
|
5990
|
+
* Gnss search completed
|
|
5991
|
+
*
|
|
5992
|
+
* Logical search result, observed receiver execution across assistance restarts, peaks and same-search references. Unknown receiver execution is null; reads and retries preserve the original evidence.
|
|
5993
|
+
*/
|
|
5958
5994
|
export type GnssSearchCompletedValue = {
|
|
5959
|
-
outcome:
|
|
5960
|
-
error:
|
|
5995
|
+
outcome: DeviceObservationValuesOperationOutcome;
|
|
5996
|
+
error: DeviceObservationValuesOperationError | null;
|
|
5961
5997
|
durationMs: number;
|
|
5962
|
-
receiverExecutionMs:
|
|
5963
|
-
stopReason:
|
|
5964
|
-
peakSatellites:
|
|
5965
|
-
peakSnr: number |
|
|
5998
|
+
receiverExecutionMs: number | null;
|
|
5999
|
+
stopReason: "fix" | "timeout" | "visibility" | "blocked" | "cancelled" | "budgetExhausted" | "error";
|
|
6000
|
+
peakSatellites: number | null;
|
|
6001
|
+
peakSnr: number | null;
|
|
5966
6002
|
blockedCount: number;
|
|
5967
|
-
visibility:
|
|
5968
|
-
assistanceToFixMs:
|
|
6003
|
+
visibility: "unknown" | "visible" | "poor";
|
|
6004
|
+
assistanceToFixMs: number | null;
|
|
5969
6005
|
[key: string]: unknown;
|
|
5970
6006
|
};
|
|
5971
6007
|
export type GnssSearchCompletedValueStopReason = "fix" | "timeout" | "visibility" | "blocked" | "cancelled" | "budgetExhausted" | "error";
|
|
5972
6008
|
export type GnssSearchCompletedValueVisibility = "unknown" | "visible" | "poor";
|
|
6009
|
+
/**
|
|
6010
|
+
* Gnss search trace
|
|
6011
|
+
*
|
|
6012
|
+
* Latest bounded window of distinct PVT readings from one logical search. Original uptime, cumulative observed receiver execution, flags, healthy satellites, mean C/N0 and valid-fix accuracy are captured together; omissions count evicted older samples. Reading never starts GNSS.
|
|
6013
|
+
*/
|
|
5973
6014
|
export type GnssSearchTraceValue = {
|
|
5974
|
-
samples: Array<
|
|
6015
|
+
samples: Array<DeviceObservationValuesGnssPvtSample>;
|
|
5975
6016
|
omitted: number;
|
|
5976
6017
|
[key: string]: unknown;
|
|
5977
6018
|
};
|
|
6019
|
+
/**
|
|
6020
|
+
* Health boot history status
|
|
6021
|
+
*
|
|
6022
|
+
* This is boot/fault checkpoint knowledge, not outbox persistence. Boot/fault totals remain independently selectable and explicitly best-effort.
|
|
6023
|
+
*/
|
|
5978
6024
|
export type HealthBootHistoryStatusValue = {
|
|
5979
6025
|
durable: boolean;
|
|
5980
6026
|
reset: boolean;
|
|
@@ -6068,10 +6114,15 @@ export type LegacyLteUpgradeResult = {
|
|
|
6068
6114
|
targetVersion: string;
|
|
6069
6115
|
[key: string]: unknown;
|
|
6070
6116
|
};
|
|
6117
|
+
/**
|
|
6118
|
+
* Location lookup completed
|
|
6119
|
+
*
|
|
6120
|
+
* One coherent location.lookupCompleted fact.
|
|
6121
|
+
*/
|
|
6071
6122
|
export type LocationLookupCompletedValue = {
|
|
6072
|
-
outcome:
|
|
6073
|
-
error:
|
|
6074
|
-
sourceObservationId:
|
|
6123
|
+
outcome: DeviceObservationValuesOperationOutcome;
|
|
6124
|
+
error: DeviceObservationValuesOperationError | null;
|
|
6125
|
+
sourceObservationId: DeviceObservationValuesObservationId;
|
|
6075
6126
|
[key: string]: unknown;
|
|
6076
6127
|
};
|
|
6077
6128
|
export type LocationObservation = {
|
|
@@ -6090,9 +6141,14 @@ export type LocationSource = "BLE" | "CBT";
|
|
|
6090
6141
|
export type MembershipName = {
|
|
6091
6142
|
displayName: string;
|
|
6092
6143
|
};
|
|
6144
|
+
/**
|
|
6145
|
+
* Modem energy query completed
|
|
6146
|
+
*
|
|
6147
|
+
* The estimate and its context must be one result. It is not a calibrated whole-tracker battery-energy measurement.
|
|
6148
|
+
*/
|
|
6093
6149
|
export type ModemEnergyQueryCompletedValue = {
|
|
6094
6150
|
result: number;
|
|
6095
|
-
energy:
|
|
6151
|
+
energy: DeviceObservationValuesModemEnergy | null;
|
|
6096
6152
|
[key: string]: unknown;
|
|
6097
6153
|
};
|
|
6098
6154
|
export type ModemEnergyValue = {
|
|
@@ -6115,31 +6171,69 @@ export type ModuleTimingValue = {
|
|
|
6115
6171
|
maximumMs: number;
|
|
6116
6172
|
[key: string]: unknown;
|
|
6117
6173
|
};
|
|
6174
|
+
export type MovementAlertPreference = {
|
|
6175
|
+
enabled: boolean;
|
|
6176
|
+
};
|
|
6177
|
+
/**
|
|
6178
|
+
* Movement detected
|
|
6179
|
+
*
|
|
6180
|
+
* An occurrence is different from a current-state snapshot; operational events need useful typed context.
|
|
6181
|
+
*/
|
|
6118
6182
|
export type MovementDetectedValue = {
|
|
6119
6183
|
[key: string]: unknown;
|
|
6120
6184
|
};
|
|
6185
|
+
/**
|
|
6186
|
+
* Network edrx grant
|
|
6187
|
+
*
|
|
6188
|
+
* One coherent network.edrxGrant fact.
|
|
6189
|
+
*/
|
|
6121
6190
|
export type NetworkEdrxGrantValue = {
|
|
6122
|
-
rat:
|
|
6123
|
-
cycleMs:
|
|
6124
|
-
pagingWindowMs:
|
|
6191
|
+
rat: "lteM" | "nbIot";
|
|
6192
|
+
cycleMs: number | null;
|
|
6193
|
+
pagingWindowMs: number | null;
|
|
6125
6194
|
[key: string]: unknown;
|
|
6126
6195
|
};
|
|
6127
6196
|
export type NetworkEdrxGrantValueRat = "lteM" | "nbIot";
|
|
6197
|
+
/**
|
|
6198
|
+
* Network psm grant
|
|
6199
|
+
*
|
|
6200
|
+
* One coherent network.psmGrant fact.
|
|
6201
|
+
*/
|
|
6128
6202
|
export type NetworkPsmGrantValue = {
|
|
6129
|
-
tauSeconds:
|
|
6130
|
-
activeSeconds:
|
|
6203
|
+
tauSeconds: number | null;
|
|
6204
|
+
activeSeconds: number | null;
|
|
6131
6205
|
[key: string]: unknown;
|
|
6132
6206
|
};
|
|
6207
|
+
/**
|
|
6208
|
+
* Cellular access technology
|
|
6209
|
+
*
|
|
6210
|
+
* Last access technology reported by the modem. Repeated identical callbacks and cached reads preserve its original observation time.
|
|
6211
|
+
*/
|
|
6133
6212
|
export type NetworkRatValue = "unknown" | "lteM" | "nbIot";
|
|
6213
|
+
/**
|
|
6214
|
+
* Network registration
|
|
6215
|
+
*
|
|
6216
|
+
* Last registration state observed by the modem owner. The registered boolean is derived from home or roaming; repeated identical callbacks do not renew state evidence.
|
|
6217
|
+
*/
|
|
6134
6218
|
export type NetworkRegistrationValue = "unknown" | "notRegistered" | "home" | "searching" | "denied" | "roaming" | "simFailure" | "noSuitableCell";
|
|
6219
|
+
/**
|
|
6220
|
+
* Network retry status
|
|
6221
|
+
*
|
|
6222
|
+
* Connection delivery backoff owned by the retry controller. retryAt is a boot-uptime deadline in milliseconds, null after success or profile reset; elapsed time and cached reads do not renew the state. consecutiveFailures is bounded retry state, not a lifetime failure count.
|
|
6223
|
+
*/
|
|
6135
6224
|
export type NetworkRetryStatusValue = {
|
|
6136
|
-
retryInMs:
|
|
6225
|
+
retryInMs: number | null;
|
|
6137
6226
|
consecutiveFailures: number;
|
|
6138
6227
|
[key: string]: unknown;
|
|
6139
6228
|
};
|
|
6229
|
+
/**
|
|
6230
|
+
* Network serving cell
|
|
6231
|
+
*
|
|
6232
|
+
* One passive serving-cell identity fact. Identity fields need a consistent cell context; omit unresolved fields instead of filling from an old cell. Independently timed signal measurements and extended scans remain separately selectable.
|
|
6233
|
+
*/
|
|
6140
6234
|
export type NetworkServingCellValue = {
|
|
6141
|
-
rat:
|
|
6142
|
-
identity:
|
|
6235
|
+
rat: "lteM" | "nbIot" | null;
|
|
6236
|
+
identity: DeviceObservationValuesCellIdentity;
|
|
6143
6237
|
[key: string]: unknown;
|
|
6144
6238
|
};
|
|
6145
6239
|
export type NetworkServingCellValueRat = "lteM" | "nbIot";
|
|
@@ -6328,8 +6422,8 @@ export type Observation = ({
|
|
|
6328
6422
|
} & ObservationHealthLastModemFaultObservation) | ({
|
|
6329
6423
|
type: "health.modemFaultCount";
|
|
6330
6424
|
} & ObservationHealthModemFaultCountObservation) | ({
|
|
6331
|
-
type: "
|
|
6332
|
-
} &
|
|
6425
|
+
type: "diagnostics.remainingSeconds";
|
|
6426
|
+
} & ObservationDiagnosticsRemainingSecondsObservation) | ({
|
|
6333
6427
|
type: "health.uptime";
|
|
6334
6428
|
} & ObservationHealthUptimeObservation) | ({
|
|
6335
6429
|
type: "location.lookupCompleted";
|
|
@@ -6434,14 +6528,8 @@ export type Observation = ({
|
|
|
6434
6528
|
} & ObservationPowerMqttMsObservation) | ({
|
|
6435
6529
|
type: "power.psmEntries";
|
|
6436
6530
|
} & ObservationPowerPsmEntriesObservation) | ({
|
|
6437
|
-
type: "power.psmFallbacks";
|
|
6438
|
-
} & ObservationPowerPsmFallbacksObservation) | ({
|
|
6439
6531
|
type: "power.psmMs";
|
|
6440
6532
|
} & ObservationPowerPsmMsObservation) | ({
|
|
6441
|
-
type: "power.responseWindowEntries";
|
|
6442
|
-
} & ObservationPowerResponseWindowEntriesObservation) | ({
|
|
6443
|
-
type: "power.responseWindowMs";
|
|
6444
|
-
} & ObservationPowerResponseWindowMsObservation) | ({
|
|
6445
6533
|
type: "power.rrcEntries";
|
|
6446
6534
|
} & ObservationPowerRrcEntriesObservation) | ({
|
|
6447
6535
|
type: "power.rrcMs";
|
|
@@ -6462,10 +6550,6 @@ export type Observation = ({
|
|
|
6462
6550
|
} & ObservationSystemBootedObservation) | ({
|
|
6463
6551
|
type: "wifi.scanCompleted";
|
|
6464
6552
|
} & ObservationWifiScanCompletedObservation) | ({
|
|
6465
|
-
type: "work.completed";
|
|
6466
|
-
} & ObservationWorkCompletedObservation) | ({
|
|
6467
|
-
type: "workflow.execution";
|
|
6468
|
-
} & ObservationWorkflowExecutionObservation) | ({
|
|
6469
6553
|
type: "battery.module.chargeCompleted";
|
|
6470
6554
|
} & ObservationBatteryModuleChargeCompletedObservation) | ({
|
|
6471
6555
|
type: "battery.module.chargeRested";
|
|
@@ -6477,7 +6561,47 @@ export type Observation = ({
|
|
|
6477
6561
|
type: "battery.updateHealth";
|
|
6478
6562
|
} & ObservationBatteryUpdateHealthObservation) | ({
|
|
6479
6563
|
type: "battery.charging.allocations";
|
|
6480
|
-
} & ObservationBatteryChargingAllocationsObservation)
|
|
6564
|
+
} & ObservationBatteryChargingAllocationsObservation) | ({
|
|
6565
|
+
type: "connection.runtimeStatus";
|
|
6566
|
+
} & ObservationConnectionRuntimeStatusObservation) | ({
|
|
6567
|
+
type: "controller.wakeCounts";
|
|
6568
|
+
} & ObservationControllerWakeCountsObservation) | ({
|
|
6569
|
+
type: "command.result";
|
|
6570
|
+
} & ObservationCommandResultObservation) | ({
|
|
6571
|
+
type: "command.status";
|
|
6572
|
+
} & ObservationCommandStatusObservation) | ({
|
|
6573
|
+
type: "connection.savedEnvironments";
|
|
6574
|
+
} & ObservationConnectionSavedEnvironmentsObservation) | ({
|
|
6575
|
+
type: "acquisition.completed";
|
|
6576
|
+
} & ObservationAcquisitionCompletedObservation) | ({
|
|
6577
|
+
type: "device.selfTestCompleted";
|
|
6578
|
+
} & ObservationDeviceSelfTestCompletedObservation) | ({
|
|
6579
|
+
type: "battery.checkResult";
|
|
6580
|
+
} & ObservationBatteryCheckResultObservation) | ({
|
|
6581
|
+
type: "diagnostics.streamCompleted";
|
|
6582
|
+
} & ObservationDiagnosticsStreamCompletedObservation);
|
|
6583
|
+
export type ObservationAcquisitionCompletedObservation = {
|
|
6584
|
+
type: "acquisition.completed";
|
|
6585
|
+
/**
|
|
6586
|
+
* acquisition.completed
|
|
6587
|
+
*
|
|
6588
|
+
* Request-scoped domain evidence emitted before its terminal command result.
|
|
6589
|
+
*/
|
|
6590
|
+
value: {
|
|
6591
|
+
sampledMask: number;
|
|
6592
|
+
unavailableMask: number;
|
|
6593
|
+
timedOutMask: number;
|
|
6594
|
+
cancelledMask: number;
|
|
6595
|
+
failedMask: number;
|
|
6596
|
+
[key: string]: unknown;
|
|
6597
|
+
};
|
|
6598
|
+
deviceId: string;
|
|
6599
|
+
observationId: string;
|
|
6600
|
+
receivedAt: string;
|
|
6601
|
+
ageMs: number;
|
|
6602
|
+
measuredAt: string;
|
|
6603
|
+
[key: string]: unknown;
|
|
6604
|
+
};
|
|
6481
6605
|
export type ObservationAgnssCompletedObservation = {
|
|
6482
6606
|
type: "agnss.completed";
|
|
6483
6607
|
/**
|
|
@@ -6686,6 +6810,25 @@ export type ObservationBatteryCheckCompletedObservation = {
|
|
|
6686
6810
|
measuredAt: string;
|
|
6687
6811
|
[key: string]: unknown;
|
|
6688
6812
|
};
|
|
6813
|
+
export type ObservationBatteryCheckResultObservation = {
|
|
6814
|
+
type: "battery.checkResult";
|
|
6815
|
+
/**
|
|
6816
|
+
* battery.checkResult
|
|
6817
|
+
*
|
|
6818
|
+
* Request-scoped domain evidence emitted before its terminal command result.
|
|
6819
|
+
*/
|
|
6820
|
+
value: {
|
|
6821
|
+
moduleCount: number;
|
|
6822
|
+
readyMask: number;
|
|
6823
|
+
[key: string]: unknown;
|
|
6824
|
+
};
|
|
6825
|
+
deviceId: string;
|
|
6826
|
+
observationId: string;
|
|
6827
|
+
receivedAt: string;
|
|
6828
|
+
ageMs: number;
|
|
6829
|
+
measuredAt: string;
|
|
6830
|
+
[key: string]: unknown;
|
|
6831
|
+
};
|
|
6689
6832
|
export type ObservationBatteryCommunicationTimingObservation = {
|
|
6690
6833
|
type: "battery.communicationTiming";
|
|
6691
6834
|
subject: DeviceObservationValuesBatteryRouteSubject;
|
|
@@ -7205,6 +7348,47 @@ export type ObservationCellScanCompletedObservation = {
|
|
|
7205
7348
|
measuredAt: string;
|
|
7206
7349
|
[key: string]: unknown;
|
|
7207
7350
|
};
|
|
7351
|
+
export type ObservationCommandResultObservation = {
|
|
7352
|
+
type: "command.result";
|
|
7353
|
+
/**
|
|
7354
|
+
* Command result
|
|
7355
|
+
*
|
|
7356
|
+
* Terminal command outcome correlated by the enclosing request ID. Domain values are separate observations; unavailable observations name requested readings that were not delivered.
|
|
7357
|
+
*/
|
|
7358
|
+
value: {
|
|
7359
|
+
commandId: number;
|
|
7360
|
+
result: number;
|
|
7361
|
+
unavailableObservations: Array<string>;
|
|
7362
|
+
[key: string]: unknown;
|
|
7363
|
+
};
|
|
7364
|
+
deviceId: string;
|
|
7365
|
+
observationId: string;
|
|
7366
|
+
receivedAt: string;
|
|
7367
|
+
ageMs: number;
|
|
7368
|
+
measuredAt: string;
|
|
7369
|
+
[key: string]: unknown;
|
|
7370
|
+
};
|
|
7371
|
+
export type ObservationCommandStatusObservation = {
|
|
7372
|
+
type: "command.status";
|
|
7373
|
+
/**
|
|
7374
|
+
* command.status
|
|
7375
|
+
*
|
|
7376
|
+
* Request-scoped domain evidence emitted before its terminal command result.
|
|
7377
|
+
*/
|
|
7378
|
+
value: {
|
|
7379
|
+
connectionId: string;
|
|
7380
|
+
lastActionRequestId: number;
|
|
7381
|
+
activeRequestId: number;
|
|
7382
|
+
activeSourceMask: number;
|
|
7383
|
+
[key: string]: unknown;
|
|
7384
|
+
};
|
|
7385
|
+
deviceId: string;
|
|
7386
|
+
observationId: string;
|
|
7387
|
+
receivedAt: string;
|
|
7388
|
+
ageMs: number;
|
|
7389
|
+
measuredAt: string;
|
|
7390
|
+
[key: string]: unknown;
|
|
7391
|
+
};
|
|
7208
7392
|
export type ObservationConnectionAttemptsObservation = {
|
|
7209
7393
|
type: "connection.attempts";
|
|
7210
7394
|
/**
|
|
@@ -7323,6 +7507,30 @@ export type ObservationConnectionReportsObservation = {
|
|
|
7323
7507
|
measuredAt: string;
|
|
7324
7508
|
[key: string]: unknown;
|
|
7325
7509
|
};
|
|
7510
|
+
export type ObservationConnectionRuntimeStatusObservation = {
|
|
7511
|
+
type: "connection.runtimeStatus";
|
|
7512
|
+
/**
|
|
7513
|
+
* Connection runtime status
|
|
7514
|
+
*
|
|
7515
|
+
* Passive snapshot of saturating since-boot activity. MQTT reconnect attempts are admitted opens after a successful MQTT session this boot; LTE attempts are admitted attachment operations. Modem recoveries exclude provisioning and shutdown. Notification failures count failed socket callback registrations; fallback waits count bounded polling waits. Mode describes the current socket, and last error remains until callback registration succeeds. Capturing this observation performs no network operation.
|
|
7516
|
+
*/
|
|
7517
|
+
value: {
|
|
7518
|
+
mqttReconnectAttempts: number;
|
|
7519
|
+
lteAttachAttempts: number;
|
|
7520
|
+
modemOfflineRecoveries: number;
|
|
7521
|
+
notificationMode: "disconnected" | "callback" | "polling";
|
|
7522
|
+
notificationFailures: number;
|
|
7523
|
+
fallbackWaits: number;
|
|
7524
|
+
lastNotificationError: number;
|
|
7525
|
+
[key: string]: unknown;
|
|
7526
|
+
};
|
|
7527
|
+
deviceId: string;
|
|
7528
|
+
observationId: string;
|
|
7529
|
+
receivedAt: string;
|
|
7530
|
+
ageMs: number;
|
|
7531
|
+
measuredAt: string;
|
|
7532
|
+
[key: string]: unknown;
|
|
7533
|
+
};
|
|
7326
7534
|
export type ObservationConnectionRxPayloadBytesObservation = {
|
|
7327
7535
|
type: "connection.rxPayloadBytes";
|
|
7328
7536
|
/**
|
|
@@ -7338,6 +7546,25 @@ export type ObservationConnectionRxPayloadBytesObservation = {
|
|
|
7338
7546
|
measuredAt: string;
|
|
7339
7547
|
[key: string]: unknown;
|
|
7340
7548
|
};
|
|
7549
|
+
export type ObservationConnectionSavedEnvironmentsObservation = {
|
|
7550
|
+
type: "connection.savedEnvironments";
|
|
7551
|
+
/**
|
|
7552
|
+
* connection.savedEnvironments
|
|
7553
|
+
*
|
|
7554
|
+
* Request-scoped domain evidence emitted before its terminal command result.
|
|
7555
|
+
*/
|
|
7556
|
+
value: {
|
|
7557
|
+
availableCapacity: number;
|
|
7558
|
+
environments: Array<DeviceObservationValuesSavedEnvironment>;
|
|
7559
|
+
[key: string]: unknown;
|
|
7560
|
+
};
|
|
7561
|
+
deviceId: string;
|
|
7562
|
+
observationId: string;
|
|
7563
|
+
receivedAt: string;
|
|
7564
|
+
ageMs: number;
|
|
7565
|
+
measuredAt: string;
|
|
7566
|
+
[key: string]: unknown;
|
|
7567
|
+
};
|
|
7341
7568
|
export type ObservationConnectionSessionsResumedObservation = {
|
|
7342
7569
|
type: "connection.sessionsResumed";
|
|
7343
7570
|
/**
|
|
@@ -7443,6 +7670,28 @@ export type ObservationConnectionTxPayloadBytesObservation = {
|
|
|
7443
7670
|
measuredAt: string;
|
|
7444
7671
|
[key: string]: unknown;
|
|
7445
7672
|
};
|
|
7673
|
+
export type ObservationControllerWakeCountsObservation = {
|
|
7674
|
+
type: "controller.wakeCounts";
|
|
7675
|
+
/**
|
|
7676
|
+
* Controller wake counts
|
|
7677
|
+
*
|
|
7678
|
+
* Saturating since-boot dispatcher activity from waits with a nonzero requested duration. Delivered reasons coalesce and one wait may increment multiple reasons; timeout counts waits that return no reason. Zero-duration probes are excluded. These counts are not physical interrupts, CPU sleep entries or energy measurements. Capturing this observation schedules no activity.
|
|
7679
|
+
*/
|
|
7680
|
+
value: {
|
|
7681
|
+
event: number;
|
|
7682
|
+
command: number;
|
|
7683
|
+
io: number;
|
|
7684
|
+
sensor: number;
|
|
7685
|
+
timeout: number;
|
|
7686
|
+
[key: string]: unknown;
|
|
7687
|
+
};
|
|
7688
|
+
deviceId: string;
|
|
7689
|
+
observationId: string;
|
|
7690
|
+
receivedAt: string;
|
|
7691
|
+
ageMs: number;
|
|
7692
|
+
measuredAt: string;
|
|
7693
|
+
[key: string]: unknown;
|
|
7694
|
+
};
|
|
7446
7695
|
export type ObservationDeviceBuildFingerprintObservation = {
|
|
7447
7696
|
type: "device.buildFingerprint";
|
|
7448
7697
|
/**
|
|
@@ -7463,14 +7712,66 @@ export type ObservationDeviceDiagnosticEventObservation = {
|
|
|
7463
7712
|
/**
|
|
7464
7713
|
* Device diagnostic event
|
|
7465
7714
|
*
|
|
7466
|
-
* Requested engineering log evidence, not an automatic second operational publication or an event-sequence subject.
|
|
7715
|
+
* Requested engineering log evidence, not an automatic second operational publication or an event-sequence subject.
|
|
7716
|
+
*/
|
|
7717
|
+
value: {
|
|
7718
|
+
code: number;
|
|
7719
|
+
arguments: Array<number>;
|
|
7720
|
+
sequence: number;
|
|
7721
|
+
[key: string]: unknown;
|
|
7722
|
+
};
|
|
7723
|
+
deviceId: string;
|
|
7724
|
+
observationId: string;
|
|
7725
|
+
receivedAt: string;
|
|
7726
|
+
ageMs: number;
|
|
7727
|
+
measuredAt: string;
|
|
7728
|
+
[key: string]: unknown;
|
|
7729
|
+
};
|
|
7730
|
+
export type ObservationDeviceHardwareVersionObservation = {
|
|
7731
|
+
type: "device.hardwareVersion";
|
|
7732
|
+
/**
|
|
7733
|
+
* Hardware version
|
|
7734
|
+
*
|
|
7735
|
+
* Hardware version reported by the tracker.
|
|
7736
|
+
*/
|
|
7737
|
+
value: string;
|
|
7738
|
+
deviceId: string;
|
|
7739
|
+
observationId: string;
|
|
7740
|
+
receivedAt: string;
|
|
7741
|
+
ageMs: number;
|
|
7742
|
+
measuredAt: string;
|
|
7743
|
+
[key: string]: unknown;
|
|
7744
|
+
};
|
|
7745
|
+
export type ObservationDeviceSelfTestCompletedObservation = {
|
|
7746
|
+
type: "device.selfTestCompleted";
|
|
7747
|
+
/**
|
|
7748
|
+
* device.selfTestCompleted
|
|
7749
|
+
*
|
|
7750
|
+
* Request-scoped domain evidence emitted before its terminal command result.
|
|
7751
|
+
*/
|
|
7752
|
+
value: {
|
|
7753
|
+
testedMask: number;
|
|
7754
|
+
passedMask: number;
|
|
7755
|
+
failedMask: number;
|
|
7756
|
+
unavailableMask: number;
|
|
7757
|
+
busyMask: number;
|
|
7758
|
+
[key: string]: unknown;
|
|
7759
|
+
};
|
|
7760
|
+
deviceId: string;
|
|
7761
|
+
observationId: string;
|
|
7762
|
+
receivedAt: string;
|
|
7763
|
+
ageMs: number;
|
|
7764
|
+
measuredAt: string;
|
|
7765
|
+
[key: string]: unknown;
|
|
7766
|
+
};
|
|
7767
|
+
export type ObservationDiagnosticsRemainingSecondsObservation = {
|
|
7768
|
+
type: "diagnostics.remainingSeconds";
|
|
7769
|
+
/**
|
|
7770
|
+
* Diagnostics remaining
|
|
7771
|
+
*
|
|
7772
|
+
* Remaining time for configured diagnostic logging and instrumentation, in seconds.
|
|
7467
7773
|
*/
|
|
7468
|
-
value:
|
|
7469
|
-
code: number;
|
|
7470
|
-
arguments: Array<number>;
|
|
7471
|
-
sequence: number;
|
|
7472
|
-
[key: string]: unknown;
|
|
7473
|
-
};
|
|
7774
|
+
value: number;
|
|
7474
7775
|
deviceId: string;
|
|
7475
7776
|
observationId: string;
|
|
7476
7777
|
receivedAt: string;
|
|
@@ -7478,14 +7779,23 @@ export type ObservationDeviceDiagnosticEventObservation = {
|
|
|
7478
7779
|
measuredAt: string;
|
|
7479
7780
|
[key: string]: unknown;
|
|
7480
7781
|
};
|
|
7481
|
-
export type
|
|
7482
|
-
type: "
|
|
7782
|
+
export type ObservationDiagnosticsStreamCompletedObservation = {
|
|
7783
|
+
type: "diagnostics.streamCompleted";
|
|
7483
7784
|
/**
|
|
7484
|
-
*
|
|
7785
|
+
* diagnostics.streamCompleted
|
|
7485
7786
|
*
|
|
7486
|
-
*
|
|
7787
|
+
* Request-scoped domain evidence emitted before its terminal command result.
|
|
7487
7788
|
*/
|
|
7488
|
-
value:
|
|
7789
|
+
value: {
|
|
7790
|
+
publishedObservations: Array<string>;
|
|
7791
|
+
unavailableObservations: Array<string>;
|
|
7792
|
+
capturedEvents: number;
|
|
7793
|
+
sentEvents: number;
|
|
7794
|
+
droppedEvents: number;
|
|
7795
|
+
bytesSent: number;
|
|
7796
|
+
reason: number;
|
|
7797
|
+
[key: string]: unknown;
|
|
7798
|
+
};
|
|
7489
7799
|
deviceId: string;
|
|
7490
7800
|
observationId: string;
|
|
7491
7801
|
receivedAt: string;
|
|
@@ -7945,21 +8255,6 @@ export type ObservationHealthModemFaultCountObservation = {
|
|
|
7945
8255
|
measuredAt: string;
|
|
7946
8256
|
[key: string]: unknown;
|
|
7947
8257
|
};
|
|
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
8258
|
export type ObservationHealthUptimeObservation = {
|
|
7964
8259
|
type: "health.uptime";
|
|
7965
8260
|
/**
|
|
@@ -8405,7 +8700,6 @@ export type ObservationOutboxOccupancyObservation = {
|
|
|
8405
8700
|
capacityBytes: number;
|
|
8406
8701
|
count: number;
|
|
8407
8702
|
urgentCount: number;
|
|
8408
|
-
existingOnlyCount: number;
|
|
8409
8703
|
externalOnlyCount: number;
|
|
8410
8704
|
oldestPendingAgeMs: number | null;
|
|
8411
8705
|
[key: string]: unknown;
|
|
@@ -8477,6 +8771,11 @@ export type ObservationOutboxUrgentEvictedObservation = {
|
|
|
8477
8771
|
measuredAt: string;
|
|
8478
8772
|
[key: string]: unknown;
|
|
8479
8773
|
};
|
|
8774
|
+
export type ObservationPage = {
|
|
8775
|
+
items: Array<Observation>;
|
|
8776
|
+
nextCursor: null | string;
|
|
8777
|
+
[key: string]: unknown;
|
|
8778
|
+
};
|
|
8480
8779
|
export type ObservationPeripheralAccelerometerStatusObservation = {
|
|
8481
8780
|
type: "peripheral.accelerometer.status";
|
|
8482
8781
|
/**
|
|
@@ -8565,7 +8864,7 @@ export type ObservationPowerActivitiesObservation = {
|
|
|
8565
8864
|
*
|
|
8566
8865
|
* Readable activity state; elapsed counters remain independent and overlap.
|
|
8567
8866
|
*/
|
|
8568
|
-
value: Array<"rrc" | "mqtt" | "
|
|
8867
|
+
value: Array<"rrc" | "mqtt" | "psm" | "esp" | "wifiScan" | "bleScan" | "gnss">;
|
|
8569
8868
|
deviceId: string;
|
|
8570
8869
|
observationId: string;
|
|
8571
8870
|
receivedAt: string;
|
|
@@ -8738,21 +9037,6 @@ export type ObservationPowerPsmEntriesObservation = {
|
|
|
8738
9037
|
measuredAt: string;
|
|
8739
9038
|
[key: string]: unknown;
|
|
8740
9039
|
};
|
|
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
9040
|
export type ObservationPowerPsmMsObservation = {
|
|
8757
9041
|
type: "power.psmMs";
|
|
8758
9042
|
/**
|
|
@@ -8768,36 +9052,6 @@ export type ObservationPowerPsmMsObservation = {
|
|
|
8768
9052
|
measuredAt: string;
|
|
8769
9053
|
[key: string]: unknown;
|
|
8770
9054
|
};
|
|
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
9055
|
export type ObservationPowerRrcEntriesObservation = {
|
|
8802
9056
|
type: "power.rrcEntries";
|
|
8803
9057
|
/**
|
|
@@ -8933,6 +9187,14 @@ export type ObservationRadioWifiAccessPointsObservation = {
|
|
|
8933
9187
|
measuredAt: string;
|
|
8934
9188
|
[key: string]: unknown;
|
|
8935
9189
|
};
|
|
9190
|
+
export type ObservationReading = {
|
|
9191
|
+
series: ReadObservationSeries;
|
|
9192
|
+
observation: null | CurrentObservation;
|
|
9193
|
+
[key: string]: unknown;
|
|
9194
|
+
};
|
|
9195
|
+
export type ObservationSelection = {
|
|
9196
|
+
series: Array<ObservationSeries>;
|
|
9197
|
+
};
|
|
8936
9198
|
export type ObservationSeries = {
|
|
8937
9199
|
definitionId: number;
|
|
8938
9200
|
subject?: null | string;
|
|
@@ -8971,60 +9233,6 @@ export type ObservationWifiScanCompletedObservation = {
|
|
|
8971
9233
|
measuredAt: string;
|
|
8972
9234
|
[key: string]: unknown;
|
|
8973
9235
|
};
|
|
8974
|
-
export type ObservationWorkCompletedObservation = {
|
|
8975
|
-
type: "work.completed";
|
|
8976
|
-
/**
|
|
8977
|
-
* Work completed
|
|
8978
|
-
*
|
|
8979
|
-
* One operation outcome and its interval accounting; not a replacement for independently selectable since-boot totals.
|
|
8980
|
-
*/
|
|
8981
|
-
value: {
|
|
8982
|
-
completedCount: number;
|
|
8983
|
-
trigger: "boot" | "timer" | "movement" | "command";
|
|
8984
|
-
outcome: DeviceObservationValuesOperationOutcome;
|
|
8985
|
-
elapsedMs: number;
|
|
8986
|
-
activeMs: number;
|
|
8987
|
-
activityMs: DeviceObservationValuesActivityDurations;
|
|
8988
|
-
activityEntries: DeviceObservationValuesActivityEntries;
|
|
8989
|
-
recoveries: DeviceObservationValuesRecoveryCounts;
|
|
8990
|
-
saturated: boolean;
|
|
8991
|
-
mode: number;
|
|
8992
|
-
[key: string]: unknown;
|
|
8993
|
-
};
|
|
8994
|
-
deviceId: string;
|
|
8995
|
-
observationId: string;
|
|
8996
|
-
receivedAt: string;
|
|
8997
|
-
ageMs: number;
|
|
8998
|
-
measuredAt: string;
|
|
8999
|
-
[key: string]: unknown;
|
|
9000
|
-
};
|
|
9001
|
-
export type ObservationWorkflowExecutionObservation = {
|
|
9002
|
-
type: "workflow.execution";
|
|
9003
|
-
/**
|
|
9004
|
-
* Workflow execution
|
|
9005
|
-
*
|
|
9006
|
-
* Passive tracking workflow and service execution evidence. Offline traces retain their original timestamps and do not create connection demand.
|
|
9007
|
-
*/
|
|
9008
|
-
value: {
|
|
9009
|
-
workflowVersion: number;
|
|
9010
|
-
mode: number;
|
|
9011
|
-
state: string;
|
|
9012
|
-
owner: "workflow" | "command" | "update" | "recovery" | "shutdown" | "fault" | "settings" | "charging" | "ble" | "network";
|
|
9013
|
-
phase: "entered" | "completed" | "cancelled" | "ownerChanged" | "snapshot";
|
|
9014
|
-
outcome: "done" | "unavailable" | "failed" | "timeout" | "cancelled" | null;
|
|
9015
|
-
durationMs: number | null;
|
|
9016
|
-
error: number | null;
|
|
9017
|
-
waitReason: "resource" | "command" | "update" | "configuration" | "rest" | "network" | null;
|
|
9018
|
-
operation: "capture" | "mqttOpen" | "publish" | "listen" | "modemOnline" | "modemEdrx" | "modemPsm" | "modemOffline" | "disconnectMqtt" | "prepareConnection" | "connect" | null;
|
|
9019
|
-
[key: string]: unknown;
|
|
9020
|
-
};
|
|
9021
|
-
deviceId: string;
|
|
9022
|
-
observationId: string;
|
|
9023
|
-
receivedAt: string;
|
|
9024
|
-
ageMs: number;
|
|
9025
|
-
measuredAt: string;
|
|
9026
|
-
[key: string]: unknown;
|
|
9027
|
-
};
|
|
9028
9236
|
export type OperationAccepted = {
|
|
9029
9237
|
location: string;
|
|
9030
9238
|
[key: string]: unknown;
|
|
@@ -9036,14 +9244,18 @@ export type OperationErrorValue = {
|
|
|
9036
9244
|
};
|
|
9037
9245
|
export type OperationErrorValuePhase = "decode" | "validation" | "registration" | "dns" | "tls" | "mqtt" | "subscription" | "read" | "write" | "verify" | "setup" | "discovery" | "sample" | "publish" | "stop" | "resume" | "download" | "install" | "cancel";
|
|
9038
9246
|
export type OperationOutcomeValue = "success" | "empty" | "partial" | "timeout" | "failed" | "cancelled" | "budgetExhausted" | "skipped";
|
|
9247
|
+
/**
|
|
9248
|
+
* Outbox occupancy
|
|
9249
|
+
*
|
|
9250
|
+
* Stored FIFO occupancy at capture, before admitting this diagnostic. Permission subsets overlap: a record is external-only or existing-connection-only only when every stored permission requires it. Oldest age is null for an empty queue. Reading this immutable snapshot does not sweep or drain the queue.
|
|
9251
|
+
*/
|
|
9039
9252
|
export type OutboxOccupancyValue = {
|
|
9040
9253
|
bytes: number;
|
|
9041
9254
|
capacityBytes: number;
|
|
9042
9255
|
count: number;
|
|
9043
9256
|
urgentCount: number;
|
|
9044
|
-
existingOnlyCount: number;
|
|
9045
9257
|
externalOnlyCount: number;
|
|
9046
|
-
oldestPendingAgeMs:
|
|
9258
|
+
oldestPendingAgeMs: number | null;
|
|
9047
9259
|
[key: string]: unknown;
|
|
9048
9260
|
};
|
|
9049
9261
|
export type PatchFieldOfBikeCurrency = PatchFieldOfBikeCurrencyBikeCurrency | null;
|
|
@@ -9056,11 +9268,12 @@ export type PatchFieldOfPreferenceUnitPreferenceUnit = "metric" | "imperial";
|
|
|
9056
9268
|
export type PatchFieldOfstring = string | null;
|
|
9057
9269
|
export type PatchFieldOfTextOrNumber = PatchFieldOfTextOrNumberTextOrNumber | null;
|
|
9058
9270
|
export type PatchFieldOfTextOrNumberTextOrNumber = string | number;
|
|
9059
|
-
|
|
9060
|
-
|
|
9061
|
-
|
|
9062
|
-
|
|
9063
|
-
|
|
9271
|
+
/**
|
|
9272
|
+
* Peripheral esp status
|
|
9273
|
+
*
|
|
9274
|
+
* Last verified hardware status, independent of work-queue activity. Ready requires successful hardware communication; off requires confirmed disable or power-off. Cached reads preserve the source time. Pending work does not fabricate a busy or starting hardware state.
|
|
9275
|
+
*/
|
|
9276
|
+
export type PeripheralStatusValue = DeviceObservationValuesPeripheralStatus;
|
|
9064
9277
|
export type PeripheralStatusValueState = "unknown" | "off" | "ready" | "failed";
|
|
9065
9278
|
export type PhotoData = {
|
|
9066
9279
|
type?: null | string;
|
|
@@ -9087,14 +9300,37 @@ export type PhotoPage = {
|
|
|
9087
9300
|
nextCursor: null | string;
|
|
9088
9301
|
[key: string]: unknown;
|
|
9089
9302
|
};
|
|
9303
|
+
/**
|
|
9304
|
+
* Position gnss fix
|
|
9305
|
+
*
|
|
9306
|
+
* One PVT solution with its quality/provenance. Do not populate missing fields from another fix.
|
|
9307
|
+
*/
|
|
9090
9308
|
export type PositionGnssFixValue = {
|
|
9091
|
-
coordinates:
|
|
9092
|
-
accuracy: number
|
|
9093
|
-
motion:
|
|
9094
|
-
quality:
|
|
9309
|
+
coordinates: DeviceObservationValuesCoordinates;
|
|
9310
|
+
accuracy: number;
|
|
9311
|
+
motion: DeviceObservationValuesFixMotion | null;
|
|
9312
|
+
quality: DeviceObservationValuesFixQuality | null;
|
|
9313
|
+
[key: string]: unknown;
|
|
9314
|
+
};
|
|
9315
|
+
export type PositioningSchedule = {
|
|
9316
|
+
enabled: boolean;
|
|
9317
|
+
intervalSeconds: number;
|
|
9318
|
+
};
|
|
9319
|
+
export type PositioningView = {
|
|
9320
|
+
deviceId: string;
|
|
9321
|
+
version: number;
|
|
9322
|
+
schedule: ReadPositioningSchedule;
|
|
9323
|
+
nextDueAt: null | string;
|
|
9324
|
+
requestId: null | number;
|
|
9325
|
+
status: string;
|
|
9326
|
+
requestedAt: null | string;
|
|
9327
|
+
expiresAt: null | string;
|
|
9095
9328
|
[key: string]: unknown;
|
|
9096
9329
|
};
|
|
9097
|
-
export type
|
|
9330
|
+
export type PositionRequest = {
|
|
9331
|
+
operationId: string;
|
|
9332
|
+
};
|
|
9333
|
+
export type PowerActivitiesValueItem = "rrc" | "mqtt" | "psm" | "esp" | "wifiScan" | "bleScan" | "gnss";
|
|
9098
9334
|
export type PreferenceMapStyle = "minimal" | "satellite";
|
|
9099
9335
|
export type PreferencePatch = {
|
|
9100
9336
|
alarm?: PatchFieldOfboolean;
|
|
@@ -9112,13 +9348,6 @@ export type PushRegistration = {
|
|
|
9112
9348
|
platform: PushPlatform;
|
|
9113
9349
|
replaceTokens: Array<string>;
|
|
9114
9350
|
};
|
|
9115
|
-
export type RecoveryCountsValue = {
|
|
9116
|
-
espRecoveries: number;
|
|
9117
|
-
wifiTimeouts: number;
|
|
9118
|
-
bleTimeouts: number;
|
|
9119
|
-
psmFallbacks: number;
|
|
9120
|
-
[key: string]: unknown;
|
|
9121
|
-
};
|
|
9122
9351
|
export type RedeemInvitation = {
|
|
9123
9352
|
accessCode: string;
|
|
9124
9353
|
displayName: string;
|
|
@@ -9133,12 +9362,8 @@ export type ReportFirmwareAttempt = {
|
|
|
9133
9362
|
attemptId: string;
|
|
9134
9363
|
outcome: CustomerFirmwareReportOutcome;
|
|
9135
9364
|
};
|
|
9136
|
-
export type RequestedMode = {
|
|
9137
|
-
mode: string;
|
|
9138
|
-
};
|
|
9139
9365
|
export type ResetContextValue = {
|
|
9140
9366
|
sequence: number;
|
|
9141
|
-
controllerPhase: number;
|
|
9142
9367
|
operation: number;
|
|
9143
9368
|
error: number;
|
|
9144
9369
|
errorOperation: number;
|
|
@@ -9158,10 +9383,15 @@ export type SavedEnvironmentValue = {
|
|
|
9158
9383
|
clearing: boolean;
|
|
9159
9384
|
[key: string]: unknown;
|
|
9160
9385
|
};
|
|
9161
|
-
|
|
9162
|
-
|
|
9163
|
-
|
|
9164
|
-
|
|
9386
|
+
/**
|
|
9387
|
+
* Wifi scan completed
|
|
9388
|
+
*
|
|
9389
|
+
* One coherent wifi.scanCompleted fact.
|
|
9390
|
+
*/
|
|
9391
|
+
export type ScanCompletedValue = DeviceObservationValuesScanCompleted;
|
|
9392
|
+
export type SettingsApplication = {
|
|
9393
|
+
settings: null | SettingsApplicationStatus;
|
|
9394
|
+
connection: null | ConnectionApplicationStatus;
|
|
9165
9395
|
[key: string]: unknown;
|
|
9166
9396
|
};
|
|
9167
9397
|
export type SettingsApplicationStatus = {
|
|
@@ -9171,6 +9401,33 @@ export type SettingsApplicationStatus = {
|
|
|
9171
9401
|
error: number;
|
|
9172
9402
|
[key: string]: unknown;
|
|
9173
9403
|
};
|
|
9404
|
+
export type SettingsCapabilities = {
|
|
9405
|
+
modemTrace?: null | boolean;
|
|
9406
|
+
gnssVisibilityDetection?: null | boolean;
|
|
9407
|
+
lteRai?: null | boolean;
|
|
9408
|
+
ltePowerDiagnostics?: null | boolean;
|
|
9409
|
+
modemMemoryDiagnostics?: null | boolean;
|
|
9410
|
+
trackingDiagnostics?: null | boolean;
|
|
9411
|
+
diagnosticCommands?: null | boolean;
|
|
9412
|
+
[key: string]: unknown;
|
|
9413
|
+
};
|
|
9414
|
+
export type SettingsReadIssue = {
|
|
9415
|
+
path: string;
|
|
9416
|
+
code: string;
|
|
9417
|
+
[key: string]: unknown;
|
|
9418
|
+
};
|
|
9419
|
+
export type SettingsSnapshot = {
|
|
9420
|
+
version: number;
|
|
9421
|
+
exists: boolean;
|
|
9422
|
+
desired: ReadDeviceSettings;
|
|
9423
|
+
reported: ReadDeviceSettings;
|
|
9424
|
+
application: SettingsApplication;
|
|
9425
|
+
capabilities: null | SettingsCapabilities;
|
|
9426
|
+
schemaVersion: null | number;
|
|
9427
|
+
completeVersion: null | number;
|
|
9428
|
+
readIssues: Array<SettingsReadIssue>;
|
|
9429
|
+
[key: string]: unknown;
|
|
9430
|
+
};
|
|
9174
9431
|
export type StaffAccount = {
|
|
9175
9432
|
profile: null | DirectoryProfile;
|
|
9176
9433
|
document: null | AccountProfileDocument;
|
|
@@ -9235,6 +9492,142 @@ export type StartFirmwareUpdate = {
|
|
|
9235
9492
|
platform: "ios" | "android";
|
|
9236
9493
|
build: number;
|
|
9237
9494
|
};
|
|
9495
|
+
export type SubmitCommandRequest = {
|
|
9496
|
+
operationId: string;
|
|
9497
|
+
expectedInventoryId: string;
|
|
9498
|
+
command: "status";
|
|
9499
|
+
arguments: Array<never>;
|
|
9500
|
+
metrics?: null;
|
|
9501
|
+
enrollmentUrl?: null;
|
|
9502
|
+
confirmed?: boolean;
|
|
9503
|
+
acquisitionOptions?: null;
|
|
9504
|
+
} | {
|
|
9505
|
+
operationId: string;
|
|
9506
|
+
expectedInventoryId: string;
|
|
9507
|
+
command: "reconcileSettings";
|
|
9508
|
+
arguments: Array<never>;
|
|
9509
|
+
metrics?: null;
|
|
9510
|
+
enrollmentUrl?: null;
|
|
9511
|
+
confirmed?: boolean;
|
|
9512
|
+
acquisitionOptions?: null;
|
|
9513
|
+
} | {
|
|
9514
|
+
operationId: string;
|
|
9515
|
+
expectedInventoryId: string;
|
|
9516
|
+
command: "requestObservations";
|
|
9517
|
+
arguments: [0 | 1, number];
|
|
9518
|
+
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 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166>;
|
|
9519
|
+
enrollmentUrl?: null;
|
|
9520
|
+
confirmed?: boolean;
|
|
9521
|
+
acquisitionOptions?: AcquisitionOptions | null;
|
|
9522
|
+
} | {
|
|
9523
|
+
operationId: string;
|
|
9524
|
+
expectedInventoryId: string;
|
|
9525
|
+
command: "sample";
|
|
9526
|
+
arguments: [number, number];
|
|
9527
|
+
metrics?: null;
|
|
9528
|
+
enrollmentUrl?: null;
|
|
9529
|
+
confirmed?: boolean;
|
|
9530
|
+
acquisitionOptions?: AcquisitionOptions | null;
|
|
9531
|
+
} | {
|
|
9532
|
+
operationId: string;
|
|
9533
|
+
expectedInventoryId: string;
|
|
9534
|
+
command: "cancel";
|
|
9535
|
+
arguments: [number];
|
|
9536
|
+
metrics?: null;
|
|
9537
|
+
enrollmentUrl?: null;
|
|
9538
|
+
confirmed?: boolean;
|
|
9539
|
+
acquisitionOptions?: null;
|
|
9540
|
+
} | {
|
|
9541
|
+
operationId: string;
|
|
9542
|
+
expectedInventoryId: string;
|
|
9543
|
+
command: "reboot";
|
|
9544
|
+
arguments: Array<never>;
|
|
9545
|
+
metrics?: null;
|
|
9546
|
+
enrollmentUrl?: null;
|
|
9547
|
+
confirmed: true;
|
|
9548
|
+
acquisitionOptions?: null;
|
|
9549
|
+
} | {
|
|
9550
|
+
operationId: string;
|
|
9551
|
+
expectedInventoryId: string;
|
|
9552
|
+
command: "identify";
|
|
9553
|
+
arguments: [number];
|
|
9554
|
+
metrics?: null;
|
|
9555
|
+
enrollmentUrl?: null;
|
|
9556
|
+
confirmed?: boolean;
|
|
9557
|
+
acquisitionOptions?: null;
|
|
9558
|
+
} | {
|
|
9559
|
+
operationId: string;
|
|
9560
|
+
expectedInventoryId: string;
|
|
9561
|
+
command: "streamObservations";
|
|
9562
|
+
arguments: [number, number, number, 0 | 1 | 2 | 3, number];
|
|
9563
|
+
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 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166>;
|
|
9564
|
+
enrollmentUrl?: null;
|
|
9565
|
+
confirmed?: boolean;
|
|
9566
|
+
acquisitionOptions?: null;
|
|
9567
|
+
} | {
|
|
9568
|
+
operationId: string;
|
|
9569
|
+
expectedInventoryId: string;
|
|
9570
|
+
command: "selfTest";
|
|
9571
|
+
arguments: [number, number];
|
|
9572
|
+
metrics?: null;
|
|
9573
|
+
enrollmentUrl?: null;
|
|
9574
|
+
confirmed?: boolean;
|
|
9575
|
+
acquisitionOptions?: null;
|
|
9576
|
+
} | {
|
|
9577
|
+
operationId: string;
|
|
9578
|
+
expectedInventoryId: string;
|
|
9579
|
+
command: "switchEnvironment";
|
|
9580
|
+
arguments: Array<never>;
|
|
9581
|
+
metrics?: null;
|
|
9582
|
+
enrollmentUrl: string;
|
|
9583
|
+
confirmed: true;
|
|
9584
|
+
acquisitionOptions?: null;
|
|
9585
|
+
} | {
|
|
9586
|
+
operationId: string;
|
|
9587
|
+
expectedInventoryId: string;
|
|
9588
|
+
command: "clearEnvironment";
|
|
9589
|
+
arguments: Array<never>;
|
|
9590
|
+
metrics?: null;
|
|
9591
|
+
enrollmentUrl: string;
|
|
9592
|
+
confirmed: true;
|
|
9593
|
+
acquisitionOptions?: null;
|
|
9594
|
+
} | {
|
|
9595
|
+
operationId: string;
|
|
9596
|
+
expectedInventoryId: string;
|
|
9597
|
+
command: "listEnvironments";
|
|
9598
|
+
arguments: Array<never>;
|
|
9599
|
+
metrics?: null;
|
|
9600
|
+
enrollmentUrl?: null;
|
|
9601
|
+
confirmed?: boolean;
|
|
9602
|
+
acquisitionOptions?: null;
|
|
9603
|
+
} | {
|
|
9604
|
+
operationId: string;
|
|
9605
|
+
expectedInventoryId: string;
|
|
9606
|
+
command: "runBatteryCheck";
|
|
9607
|
+
arguments: Array<never>;
|
|
9608
|
+
metrics?: null;
|
|
9609
|
+
enrollmentUrl?: null;
|
|
9610
|
+
confirmed?: boolean;
|
|
9611
|
+
acquisitionOptions?: null;
|
|
9612
|
+
} | {
|
|
9613
|
+
operationId: string;
|
|
9614
|
+
expectedInventoryId: string;
|
|
9615
|
+
command: "requestPosition";
|
|
9616
|
+
arguments: [0 | 1, number];
|
|
9617
|
+
metrics?: null;
|
|
9618
|
+
enrollmentUrl?: null;
|
|
9619
|
+
confirmed?: boolean;
|
|
9620
|
+
acquisitionOptions?: null;
|
|
9621
|
+
} | {
|
|
9622
|
+
operationId: string;
|
|
9623
|
+
expectedInventoryId: string;
|
|
9624
|
+
command: "enableDiagnostics";
|
|
9625
|
+
arguments: [number];
|
|
9626
|
+
metrics?: null;
|
|
9627
|
+
enrollmentUrl?: null;
|
|
9628
|
+
confirmed?: boolean;
|
|
9629
|
+
acquisitionOptions?: null;
|
|
9630
|
+
};
|
|
9238
9631
|
export type SubscriptionData = {
|
|
9239
9632
|
uid?: null | string;
|
|
9240
9633
|
name?: null | string;
|
|
@@ -9271,9 +9664,14 @@ export type SubscriptionPage = {
|
|
|
9271
9664
|
nextCursor: null | string;
|
|
9272
9665
|
[key: string]: unknown;
|
|
9273
9666
|
};
|
|
9667
|
+
/**
|
|
9668
|
+
* System booted
|
|
9669
|
+
*
|
|
9670
|
+
* One coherent system.booted fact.
|
|
9671
|
+
*/
|
|
9274
9672
|
export type SystemBootedValue = {
|
|
9275
9673
|
resetCause: number;
|
|
9276
|
-
resetContext:
|
|
9674
|
+
resetContext: DeviceObservationValuesResetContext | null;
|
|
9277
9675
|
[key: string]: unknown;
|
|
9278
9676
|
};
|
|
9279
9677
|
export type TextOrNumber = string | number;
|
|
@@ -9299,6 +9697,25 @@ export type TrackerBatteryObservation = {
|
|
|
9299
9697
|
receivedAt?: null | string;
|
|
9300
9698
|
[key: string]: unknown;
|
|
9301
9699
|
};
|
|
9700
|
+
export type TrackerCommand = {
|
|
9701
|
+
deviceId: string;
|
|
9702
|
+
requestId: number;
|
|
9703
|
+
operationId: string;
|
|
9704
|
+
command: "status" | "reconcileSettings" | "requestObservations" | "sample" | "cancel" | "reboot" | "identify" | "streamObservations" | "selfTest" | "switchEnvironment" | "clearEnvironment" | "listEnvironments" | "updateBattery" | "runBatteryCheck" | "requestPosition" | "enableDiagnostics";
|
|
9705
|
+
arguments: Array<number>;
|
|
9706
|
+
metrics: null | Array<number>;
|
|
9707
|
+
enrollmentUrl: null | string;
|
|
9708
|
+
requestedBy: string;
|
|
9709
|
+
requestedAt: string;
|
|
9710
|
+
publishedAt: null | string;
|
|
9711
|
+
inventoryId: string;
|
|
9712
|
+
commandId: number;
|
|
9713
|
+
execution?: null | CommandExecution;
|
|
9714
|
+
executionVersion?: number;
|
|
9715
|
+
batteryUpdate?: null | BatteryArtifact;
|
|
9716
|
+
acquisitionOptions?: null | ReadAcquisitionOptions;
|
|
9717
|
+
[key: string]: unknown;
|
|
9718
|
+
};
|
|
9302
9719
|
export type TrackerData = {
|
|
9303
9720
|
generation?: null | TextOrNumber;
|
|
9304
9721
|
cloud?: null | string;
|
|
@@ -9352,7 +9769,7 @@ export type TrackerDataBikeInfo = {
|
|
|
9352
9769
|
[key: string]: unknown;
|
|
9353
9770
|
};
|
|
9354
9771
|
export type TrackerDataConfig = {
|
|
9355
|
-
|
|
9772
|
+
movementAlerts?: null | boolean;
|
|
9356
9773
|
isBlacklisted?: null | boolean;
|
|
9357
9774
|
enableBlePinChange?: null | boolean;
|
|
9358
9775
|
[key: string]: unknown;
|
|
@@ -9493,10 +9910,6 @@ export type TrackerLookup = {
|
|
|
9493
9910
|
claimable: boolean;
|
|
9494
9911
|
[key: string]: unknown;
|
|
9495
9912
|
};
|
|
9496
|
-
export type TrackerModesSnapshot = {
|
|
9497
|
-
modes: Array<string>;
|
|
9498
|
-
[key: string]: unknown;
|
|
9499
|
-
};
|
|
9500
9913
|
export type TrackerOperationStatistics = {
|
|
9501
9914
|
count?: null | number;
|
|
9502
9915
|
successCount?: null | number;
|
|
@@ -9596,51 +10009,112 @@ export type TrackerWeightedAverage = {
|
|
|
9596
10009
|
count?: null | number;
|
|
9597
10010
|
[key: string]: unknown;
|
|
9598
10011
|
};
|
|
10012
|
+
export type UpdateSettingsRequest = {
|
|
10013
|
+
expectedVersion: number;
|
|
10014
|
+
settings: DeviceSettings;
|
|
10015
|
+
};
|
|
9599
10016
|
export type WifiAccessPointValue = {
|
|
9600
10017
|
mac: string;
|
|
9601
10018
|
rssi: null | number;
|
|
9602
10019
|
channel: null | number;
|
|
9603
10020
|
[key: string]: unknown;
|
|
9604
10021
|
};
|
|
9605
|
-
export type
|
|
9606
|
-
|
|
9607
|
-
|
|
9608
|
-
|
|
9609
|
-
|
|
9610
|
-
|
|
9611
|
-
|
|
9612
|
-
activityEntries: ActivityEntriesValue;
|
|
9613
|
-
recoveries: RecoveryCountsValue;
|
|
9614
|
-
saturated: boolean;
|
|
9615
|
-
mode: number;
|
|
10022
|
+
export type WifiAcquisitionOptions = {
|
|
10023
|
+
scanType?: WifiScanType;
|
|
10024
|
+
activeMinMs?: number;
|
|
10025
|
+
activeMaxMs?: number;
|
|
10026
|
+
passiveMs?: number;
|
|
10027
|
+
channelMask?: number;
|
|
10028
|
+
budgetMs?: number;
|
|
9616
10029
|
[key: string]: unknown;
|
|
9617
10030
|
};
|
|
9618
|
-
export type
|
|
10031
|
+
export type WifiScanType = "active" | "passive";
|
|
9619
10032
|
export type WorkExecutionData = {
|
|
9620
10033
|
state?: null | string;
|
|
9621
10034
|
attempts?: null | number;
|
|
9622
10035
|
finishedAt?: null | string;
|
|
9623
10036
|
[key: string]: unknown;
|
|
9624
10037
|
};
|
|
9625
|
-
export type
|
|
9626
|
-
|
|
9627
|
-
|
|
9628
|
-
|
|
9629
|
-
|
|
9630
|
-
|
|
9631
|
-
|
|
9632
|
-
|
|
9633
|
-
|
|
9634
|
-
|
|
9635
|
-
|
|
9636
|
-
|
|
9637
|
-
|
|
9638
|
-
|
|
9639
|
-
|
|
9640
|
-
|
|
9641
|
-
|
|
9642
|
-
|
|
9643
|
-
|
|
10038
|
+
export type ReadAcquisitionOptions = {
|
|
10039
|
+
gnss?: {
|
|
10040
|
+
/**
|
|
10041
|
+
* assistance for this behavior request.
|
|
10042
|
+
*/
|
|
10043
|
+
assistance?: boolean;
|
|
10044
|
+
/**
|
|
10045
|
+
* powerMode for this behavior request.
|
|
10046
|
+
*/
|
|
10047
|
+
powerMode?: "disabled" | "performance" | "power";
|
|
10048
|
+
/**
|
|
10049
|
+
* Keep LTE paging available during the normal connected search. GNSS priority can block LTE paging for up to 40 seconds.
|
|
10050
|
+
*/
|
|
10051
|
+
priorityMode?: boolean;
|
|
10052
|
+
/**
|
|
10053
|
+
* lowAccuracy for this behavior request.
|
|
10054
|
+
*/
|
|
10055
|
+
lowAccuracy?: boolean;
|
|
10056
|
+
/**
|
|
10057
|
+
* targetAccuracyMeters for this behavior request.
|
|
10058
|
+
*/
|
|
10059
|
+
targetAccuracyMeters?: number;
|
|
10060
|
+
/**
|
|
10061
|
+
* consecutiveFixes for this behavior request.
|
|
10062
|
+
*/
|
|
10063
|
+
consecutiveFixes?: number;
|
|
10064
|
+
/**
|
|
10065
|
+
* visibility.enabled for this behavior request.
|
|
10066
|
+
*/
|
|
10067
|
+
visibilityEnabled?: boolean;
|
|
10068
|
+
/**
|
|
10069
|
+
* visibility.executionSeconds for this behavior request.
|
|
10070
|
+
*/
|
|
10071
|
+
visibilityExecutionSeconds?: number;
|
|
10072
|
+
/**
|
|
10073
|
+
* visibility.minSatellites for this behavior request.
|
|
10074
|
+
*/
|
|
10075
|
+
visibilityMinSatellites?: number;
|
|
10076
|
+
[key: string]: unknown;
|
|
10077
|
+
} | null;
|
|
10078
|
+
cell?: {
|
|
10079
|
+
/**
|
|
10080
|
+
* mode for this behavior request.
|
|
10081
|
+
*/
|
|
10082
|
+
mode?: "serving" | "gci" | "neighbors";
|
|
10083
|
+
/**
|
|
10084
|
+
* gciCount for this behavior request.
|
|
10085
|
+
*/
|
|
10086
|
+
gciCount?: number;
|
|
10087
|
+
[key: string]: unknown;
|
|
10088
|
+
} | null;
|
|
10089
|
+
wifi?: {
|
|
10090
|
+
/**
|
|
10091
|
+
* scanType for this behavior request.
|
|
10092
|
+
*/
|
|
10093
|
+
scanType?: "active" | "passive";
|
|
10094
|
+
/**
|
|
10095
|
+
* activeMinMs for this behavior request.
|
|
10096
|
+
*/
|
|
10097
|
+
activeMinMs?: number;
|
|
10098
|
+
/**
|
|
10099
|
+
* activeMaxMs for this behavior request.
|
|
10100
|
+
*/
|
|
10101
|
+
activeMaxMs?: number;
|
|
10102
|
+
/**
|
|
10103
|
+
* passiveMs for this behavior request.
|
|
10104
|
+
*/
|
|
10105
|
+
passiveMs?: number;
|
|
10106
|
+
/**
|
|
10107
|
+
* channelMask for this behavior request.
|
|
10108
|
+
*/
|
|
10109
|
+
channelMask?: number;
|
|
10110
|
+
/**
|
|
10111
|
+
* budgetMs for this behavior request.
|
|
10112
|
+
*/
|
|
10113
|
+
budgetMs?: number;
|
|
10114
|
+
[key: string]: unknown;
|
|
10115
|
+
} | null;
|
|
10116
|
+
[key: string]: unknown;
|
|
10117
|
+
};
|
|
9644
10118
|
export type ReadCustomerFirmwareReportOutcome = "transferFailed" | "targetVersionObserved";
|
|
9645
10119
|
export type ReadDeviceSettings = {
|
|
9646
10120
|
/**
|
|
@@ -9799,16 +10273,10 @@ export type ReadDeviceSettings = {
|
|
|
9799
10273
|
* Maximum sum of programmed input-current limits across charging modules, including single-module charging and weak-supply fallback. The per-module ceiling also applies. Unlimited input is capped to a finite limit within this budget.
|
|
9800
10274
|
*/
|
|
9801
10275
|
chargingTotalInputLimitMilliamps?: number;
|
|
9802
|
-
/**
|
|
9803
|
-
* Workflow debug tracing
|
|
9804
|
-
*
|
|
9805
|
-
* Record bounded tracking workflow and service execution traces. Traces use an available connection and do not keep LTE awake.
|
|
9806
|
-
*/
|
|
9807
|
-
workflowDebugEnabled?: boolean;
|
|
9808
10276
|
/**
|
|
9809
10277
|
* I2C idle power saving
|
|
9810
10278
|
*
|
|
9811
|
-
* Suspend the LTE I2C controller between transactions.
|
|
10279
|
+
* Suspend the LTE I2C controller between transactions. Enabled by default. Changes apply at an idle bus boundary without interrupting active operations; motion detection remains enabled.
|
|
9812
10280
|
*/
|
|
9813
10281
|
i2cIdlePowerSavingEnabled?: boolean;
|
|
9814
10282
|
/**
|
|
@@ -9830,65 +10298,17 @@ export type ReadDeviceSettings = {
|
|
|
9830
10298
|
*/
|
|
9831
10299
|
bleAdvertisingIntervalUnits?: number;
|
|
9832
10300
|
/**
|
|
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
|
|
9840
|
-
*
|
|
9841
|
-
* Period between tracking reports on confirmed external power.
|
|
9842
|
-
*/
|
|
9843
|
-
poweredReportIntervalSeconds?: number;
|
|
9844
|
-
/**
|
|
9845
|
-
* Mode 0 idle duration
|
|
9846
|
-
*
|
|
9847
|
-
* Maximum battery idle duration after a mode 0 cycle, measured from the end of work.
|
|
9848
|
-
*/
|
|
9849
|
-
mode0IdleSeconds?: number;
|
|
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
|
|
10301
|
+
* Report interval on external power
|
|
9882
10302
|
*
|
|
9883
|
-
*
|
|
10303
|
+
* Interval between periodic status reports while external power is confirmed. Zero disables periodic reports on external power. Does not control report contents, positioning requests, event reports or local battery safety checks.
|
|
9884
10304
|
*/
|
|
9885
|
-
|
|
10305
|
+
reportIntervalOnExternalPowerSeconds?: number;
|
|
9886
10306
|
/**
|
|
9887
|
-
*
|
|
10307
|
+
* Movement cooldown
|
|
9888
10308
|
*
|
|
9889
|
-
* Time
|
|
10309
|
+
* Time after an accepted movement detection with the accelerometer and its wake interrupt disabled. Positioning, reports and reconnects do not restart the cooldown.
|
|
9890
10310
|
*/
|
|
9891
|
-
|
|
10311
|
+
movementCooldownSeconds?: number;
|
|
9892
10312
|
/**
|
|
9893
10313
|
* GNSS search timeout
|
|
9894
10314
|
*
|
|
@@ -9901,18 +10321,6 @@ export type ReadDeviceSettings = {
|
|
|
9901
10321
|
* Requested paging cycle; zero disables eDRX. Network-granted values can differ.
|
|
9902
10322
|
*/
|
|
9903
10323
|
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
10324
|
/**
|
|
9917
10325
|
* Automatic diagnostic power policy
|
|
9918
10326
|
*
|
|
@@ -10040,11 +10448,11 @@ export type ReadDeviceSettings = {
|
|
|
10040
10448
|
*/
|
|
10041
10449
|
chargingStatusMaxAgeSeconds?: number;
|
|
10042
10450
|
/**
|
|
10043
|
-
*
|
|
10451
|
+
* Report interval on battery
|
|
10044
10452
|
*
|
|
10045
|
-
*
|
|
10453
|
+
* Interval between periodic status reports while battery power is confirmed. Zero disables periodic reports on battery (the default). Does not control report contents, positioning requests, event reports or local battery safety checks.
|
|
10046
10454
|
*/
|
|
10047
|
-
|
|
10455
|
+
reportIntervalOnBatterySeconds?: number;
|
|
10048
10456
|
[key: string]: unknown;
|
|
10049
10457
|
};
|
|
10050
10458
|
export type ReadObservationSeries = {
|
|
@@ -10052,6 +10460,11 @@ export type ReadObservationSeries = {
|
|
|
10052
10460
|
subject?: null | string;
|
|
10053
10461
|
[key: string]: unknown;
|
|
10054
10462
|
};
|
|
10463
|
+
export type ReadPositioningSchedule = {
|
|
10464
|
+
enabled: boolean;
|
|
10465
|
+
intervalSeconds: number;
|
|
10466
|
+
[key: string]: unknown;
|
|
10467
|
+
};
|
|
10055
10468
|
export type SetTrackerSubscriptionData = {
|
|
10056
10469
|
body: AllocationChange;
|
|
10057
10470
|
path: {
|
|
@@ -10115,7 +10528,7 @@ export type LookupStaffTrackerInventoryResponses = {
|
|
|
10115
10528
|
/**
|
|
10116
10529
|
* OK
|
|
10117
10530
|
*/
|
|
10118
|
-
200:
|
|
10531
|
+
200: DeviceIdentity;
|
|
10119
10532
|
};
|
|
10120
10533
|
export type LookupStaffTrackerInventoryResponse = LookupStaffTrackerInventoryResponses[keyof LookupStaffTrackerInventoryResponses];
|
|
10121
10534
|
export type GetStaffTrackerSchemaData = {
|
|
@@ -10186,28 +10599,72 @@ export type LookupTrackerResponses = {
|
|
|
10186
10599
|
200: TrackerLookup;
|
|
10187
10600
|
};
|
|
10188
10601
|
export type LookupTrackerResponse = LookupTrackerResponses[keyof LookupTrackerResponses];
|
|
10189
|
-
export type
|
|
10602
|
+
export type GetTrackerPositioningData = {
|
|
10190
10603
|
body?: never;
|
|
10191
10604
|
path: {
|
|
10192
10605
|
id: string;
|
|
10193
10606
|
};
|
|
10194
10607
|
query?: never;
|
|
10195
|
-
url: "/v1/trackers/{id}/
|
|
10608
|
+
url: "/v1/trackers/{id}/positioning";
|
|
10609
|
+
};
|
|
10610
|
+
export type GetTrackerPositioningErrors = {
|
|
10611
|
+
/**
|
|
10612
|
+
* Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
|
|
10613
|
+
*/
|
|
10614
|
+
default: ApiProblem;
|
|
10615
|
+
};
|
|
10616
|
+
export type GetTrackerPositioningError = GetTrackerPositioningErrors[keyof GetTrackerPositioningErrors];
|
|
10617
|
+
export type GetTrackerPositioningResponses = {
|
|
10618
|
+
/**
|
|
10619
|
+
* OK
|
|
10620
|
+
*/
|
|
10621
|
+
200: PositioningView;
|
|
10622
|
+
};
|
|
10623
|
+
export type GetTrackerPositioningResponse = GetTrackerPositioningResponses[keyof GetTrackerPositioningResponses];
|
|
10624
|
+
export type SetTrackerPositioningScheduleData = {
|
|
10625
|
+
body: PositioningSchedule;
|
|
10626
|
+
path: {
|
|
10627
|
+
id: string;
|
|
10628
|
+
};
|
|
10629
|
+
query?: never;
|
|
10630
|
+
url: "/v1/trackers/{id}/positioning/schedule";
|
|
10196
10631
|
};
|
|
10197
|
-
export type
|
|
10632
|
+
export type SetTrackerPositioningScheduleErrors = {
|
|
10198
10633
|
/**
|
|
10199
10634
|
* Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
|
|
10200
10635
|
*/
|
|
10201
10636
|
default: ApiProblem;
|
|
10202
10637
|
};
|
|
10203
|
-
export type
|
|
10204
|
-
export type
|
|
10638
|
+
export type SetTrackerPositioningScheduleError = SetTrackerPositioningScheduleErrors[keyof SetTrackerPositioningScheduleErrors];
|
|
10639
|
+
export type SetTrackerPositioningScheduleResponses = {
|
|
10205
10640
|
/**
|
|
10206
10641
|
* OK
|
|
10207
10642
|
*/
|
|
10208
|
-
200:
|
|
10643
|
+
200: PositioningView;
|
|
10644
|
+
};
|
|
10645
|
+
export type SetTrackerPositioningScheduleResponse = SetTrackerPositioningScheduleResponses[keyof SetTrackerPositioningScheduleResponses];
|
|
10646
|
+
export type RequestTrackerPositionData = {
|
|
10647
|
+
body: PositionRequest;
|
|
10648
|
+
path: {
|
|
10649
|
+
id: string;
|
|
10650
|
+
};
|
|
10651
|
+
query?: never;
|
|
10652
|
+
url: "/v1/trackers/{id}/positioning/requests";
|
|
10653
|
+
};
|
|
10654
|
+
export type RequestTrackerPositionErrors = {
|
|
10655
|
+
/**
|
|
10656
|
+
* Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
|
|
10657
|
+
*/
|
|
10658
|
+
default: ApiProblem;
|
|
10659
|
+
};
|
|
10660
|
+
export type RequestTrackerPositionError = RequestTrackerPositionErrors[keyof RequestTrackerPositionErrors];
|
|
10661
|
+
export type RequestTrackerPositionResponses = {
|
|
10662
|
+
/**
|
|
10663
|
+
* Accepted
|
|
10664
|
+
*/
|
|
10665
|
+
202: PositioningView;
|
|
10209
10666
|
};
|
|
10210
|
-
export type
|
|
10667
|
+
export type RequestTrackerPositionResponse = RequestTrackerPositionResponses[keyof RequestTrackerPositionResponses];
|
|
10211
10668
|
export type GetTrackerData = {
|
|
10212
10669
|
body?: never;
|
|
10213
10670
|
path: {
|
|
@@ -10390,28 +10847,28 @@ export type RedeemInvitationResponses = {
|
|
|
10390
10847
|
204: void;
|
|
10391
10848
|
};
|
|
10392
10849
|
export type RedeemInvitationResponse = RedeemInvitationResponses[keyof RedeemInvitationResponses];
|
|
10393
|
-
export type
|
|
10394
|
-
body:
|
|
10850
|
+
export type SetMovementAlertsData = {
|
|
10851
|
+
body: MovementAlertPreference;
|
|
10395
10852
|
path: {
|
|
10396
10853
|
id: string;
|
|
10397
10854
|
};
|
|
10398
10855
|
query?: never;
|
|
10399
|
-
url: "/v1/trackers/{id}/
|
|
10856
|
+
url: "/v1/trackers/{id}/movement-alerts";
|
|
10400
10857
|
};
|
|
10401
|
-
export type
|
|
10858
|
+
export type SetMovementAlertsErrors = {
|
|
10402
10859
|
/**
|
|
10403
10860
|
* Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
|
|
10404
10861
|
*/
|
|
10405
10862
|
default: ApiProblem;
|
|
10406
10863
|
};
|
|
10407
|
-
export type
|
|
10408
|
-
export type
|
|
10864
|
+
export type SetMovementAlertsError = SetMovementAlertsErrors[keyof SetMovementAlertsErrors];
|
|
10865
|
+
export type SetMovementAlertsResponses = {
|
|
10409
10866
|
/**
|
|
10410
10867
|
* No Content
|
|
10411
10868
|
*/
|
|
10412
10869
|
204: void;
|
|
10413
10870
|
};
|
|
10414
|
-
export type
|
|
10871
|
+
export type SetMovementAlertsResponse = SetMovementAlertsResponses[keyof SetMovementAlertsResponses];
|
|
10415
10872
|
export type ReportBatteryData = {
|
|
10416
10873
|
body: BatteryObservation;
|
|
10417
10874
|
path: {
|
|
@@ -10522,6 +10979,28 @@ export type ReportTheftResponses = {
|
|
|
10522
10979
|
200: ResourceCreated;
|
|
10523
10980
|
};
|
|
10524
10981
|
export type ReportTheftResponse = ReportTheftResponses[keyof ReportTheftResponses];
|
|
10982
|
+
export type SetStaffMovementAlertsData = {
|
|
10983
|
+
body: MovementAlertPreference;
|
|
10984
|
+
path: {
|
|
10985
|
+
id: string;
|
|
10986
|
+
};
|
|
10987
|
+
query?: never;
|
|
10988
|
+
url: "/v1/admin/trackers/{id}/movement-alerts";
|
|
10989
|
+
};
|
|
10990
|
+
export type SetStaffMovementAlertsErrors = {
|
|
10991
|
+
/**
|
|
10992
|
+
* Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
|
|
10993
|
+
*/
|
|
10994
|
+
default: ApiProblem;
|
|
10995
|
+
};
|
|
10996
|
+
export type SetStaffMovementAlertsError = SetStaffMovementAlertsErrors[keyof SetStaffMovementAlertsErrors];
|
|
10997
|
+
export type SetStaffMovementAlertsResponses = {
|
|
10998
|
+
/**
|
|
10999
|
+
* No Content
|
|
11000
|
+
*/
|
|
11001
|
+
204: void;
|
|
11002
|
+
};
|
|
11003
|
+
export type SetStaffMovementAlertsResponse = SetStaffMovementAlertsResponses[keyof SetStaffMovementAlertsResponses];
|
|
10525
11004
|
export type GetStaffTrackerCom4SimStatusData = {
|
|
10526
11005
|
body?: never;
|
|
10527
11006
|
path: {
|
|
@@ -10707,28 +11186,6 @@ export type ListStaffTrackersResponses = {
|
|
|
10707
11186
|
200: TrackerPage;
|
|
10708
11187
|
};
|
|
10709
11188
|
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
11189
|
export type GetStaffTrackerData = {
|
|
10733
11190
|
body?: never;
|
|
10734
11191
|
path: {
|
|
@@ -11414,6 +11871,55 @@ export type GetSubscriptionResponses = {
|
|
|
11414
11871
|
200: SubscriptionDocument;
|
|
11415
11872
|
};
|
|
11416
11873
|
export type GetSubscriptionResponse = GetSubscriptionResponses[keyof GetSubscriptionResponses];
|
|
11874
|
+
export type ListStaffSubscriptionsData = {
|
|
11875
|
+
body?: never;
|
|
11876
|
+
path?: never;
|
|
11877
|
+
query?: {
|
|
11878
|
+
accountId?: string;
|
|
11879
|
+
wooId?: number;
|
|
11880
|
+
businessEmail?: string;
|
|
11881
|
+
businessOnly?: boolean;
|
|
11882
|
+
limit?: number;
|
|
11883
|
+
cursor?: string;
|
|
11884
|
+
};
|
|
11885
|
+
url: "/v1/admin/subscriptions";
|
|
11886
|
+
};
|
|
11887
|
+
export type ListStaffSubscriptionsErrors = {
|
|
11888
|
+
/**
|
|
11889
|
+
* Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
|
|
11890
|
+
*/
|
|
11891
|
+
default: ApiProblem;
|
|
11892
|
+
};
|
|
11893
|
+
export type ListStaffSubscriptionsError = ListStaffSubscriptionsErrors[keyof ListStaffSubscriptionsErrors];
|
|
11894
|
+
export type ListStaffSubscriptionsResponses = {
|
|
11895
|
+
/**
|
|
11896
|
+
* OK
|
|
11897
|
+
*/
|
|
11898
|
+
200: StaffSubscriptionPage;
|
|
11899
|
+
};
|
|
11900
|
+
export type ListStaffSubscriptionsResponse = ListStaffSubscriptionsResponses[keyof ListStaffSubscriptionsResponses];
|
|
11901
|
+
export type GetStaffSubscriptionData = {
|
|
11902
|
+
body?: never;
|
|
11903
|
+
path: {
|
|
11904
|
+
id: string;
|
|
11905
|
+
};
|
|
11906
|
+
query?: never;
|
|
11907
|
+
url: "/v1/admin/subscriptions/{id}";
|
|
11908
|
+
};
|
|
11909
|
+
export type GetStaffSubscriptionErrors = {
|
|
11910
|
+
/**
|
|
11911
|
+
* Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
|
|
11912
|
+
*/
|
|
11913
|
+
default: ApiProblem;
|
|
11914
|
+
};
|
|
11915
|
+
export type GetStaffSubscriptionError = GetStaffSubscriptionErrors[keyof GetStaffSubscriptionErrors];
|
|
11916
|
+
export type GetStaffSubscriptionResponses = {
|
|
11917
|
+
/**
|
|
11918
|
+
* OK
|
|
11919
|
+
*/
|
|
11920
|
+
200: StaffSubscriptionDocument;
|
|
11921
|
+
};
|
|
11922
|
+
export type GetStaffSubscriptionResponse = GetStaffSubscriptionResponses[keyof GetStaffSubscriptionResponses];
|
|
11417
11923
|
export type GetStaffTrackerConnectivityData = {
|
|
11418
11924
|
body?: never;
|
|
11419
11925
|
path: {
|
|
@@ -11433,7 +11939,7 @@ export type GetStaffTrackerConnectivityResponses = {
|
|
|
11433
11939
|
/**
|
|
11434
11940
|
* OK
|
|
11435
11941
|
*/
|
|
11436
|
-
200:
|
|
11942
|
+
200: DeviceConnectivity;
|
|
11437
11943
|
};
|
|
11438
11944
|
export type GetStaffTrackerConnectivityResponse = GetStaffTrackerConnectivityResponses[keyof GetStaffTrackerConnectivityResponses];
|
|
11439
11945
|
export type GetStaffTrackerCommandCatalogData = {
|
|
@@ -11455,7 +11961,7 @@ export type GetStaffTrackerCommandCatalogResponses = {
|
|
|
11455
11961
|
/**
|
|
11456
11962
|
* OK
|
|
11457
11963
|
*/
|
|
11458
|
-
200:
|
|
11964
|
+
200: CommandCapabilities;
|
|
11459
11965
|
};
|
|
11460
11966
|
export type GetStaffTrackerCommandCatalogResponse = GetStaffTrackerCommandCatalogResponses[keyof GetStaffTrackerCommandCatalogResponses];
|
|
11461
11967
|
export type ListStaffTrackerObservationsData = {
|
|
@@ -11484,7 +11990,7 @@ export type ListStaffTrackerObservationsResponses = {
|
|
|
11484
11990
|
/**
|
|
11485
11991
|
* OK
|
|
11486
11992
|
*/
|
|
11487
|
-
200:
|
|
11993
|
+
200: ObservationPage;
|
|
11488
11994
|
};
|
|
11489
11995
|
export type ListStaffTrackerObservationsResponse = ListStaffTrackerObservationsResponses[keyof ListStaffTrackerObservationsResponses];
|
|
11490
11996
|
export type GetStaffTrackerObservationData = {
|
|
@@ -11531,9 +12037,75 @@ export type ReadStaffTrackerObservationsResponses = {
|
|
|
11531
12037
|
/**
|
|
11532
12038
|
* OK
|
|
11533
12039
|
*/
|
|
11534
|
-
200: Array<
|
|
12040
|
+
200: Array<ObservationReading>;
|
|
11535
12041
|
};
|
|
11536
12042
|
export type ReadStaffTrackerObservationsResponse = ReadStaffTrackerObservationsResponses[keyof ReadStaffTrackerObservationsResponses];
|
|
12043
|
+
export type GetStaffTrackerPositioningData = {
|
|
12044
|
+
body?: never;
|
|
12045
|
+
path: {
|
|
12046
|
+
id: string;
|
|
12047
|
+
};
|
|
12048
|
+
query?: never;
|
|
12049
|
+
url: "/v1/admin/trackers/{id}/positioning";
|
|
12050
|
+
};
|
|
12051
|
+
export type GetStaffTrackerPositioningErrors = {
|
|
12052
|
+
/**
|
|
12053
|
+
* Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
|
|
12054
|
+
*/
|
|
12055
|
+
default: ApiProblem;
|
|
12056
|
+
};
|
|
12057
|
+
export type GetStaffTrackerPositioningError = GetStaffTrackerPositioningErrors[keyof GetStaffTrackerPositioningErrors];
|
|
12058
|
+
export type GetStaffTrackerPositioningResponses = {
|
|
12059
|
+
/**
|
|
12060
|
+
* OK
|
|
12061
|
+
*/
|
|
12062
|
+
200: PositioningView;
|
|
12063
|
+
};
|
|
12064
|
+
export type GetStaffTrackerPositioningResponse = GetStaffTrackerPositioningResponses[keyof GetStaffTrackerPositioningResponses];
|
|
12065
|
+
export type SetStaffTrackerPositioningScheduleData = {
|
|
12066
|
+
body: PositioningSchedule;
|
|
12067
|
+
path: {
|
|
12068
|
+
id: string;
|
|
12069
|
+
};
|
|
12070
|
+
query?: never;
|
|
12071
|
+
url: "/v1/admin/trackers/{id}/positioning/schedule";
|
|
12072
|
+
};
|
|
12073
|
+
export type SetStaffTrackerPositioningScheduleErrors = {
|
|
12074
|
+
/**
|
|
12075
|
+
* Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
|
|
12076
|
+
*/
|
|
12077
|
+
default: ApiProblem;
|
|
12078
|
+
};
|
|
12079
|
+
export type SetStaffTrackerPositioningScheduleError = SetStaffTrackerPositioningScheduleErrors[keyof SetStaffTrackerPositioningScheduleErrors];
|
|
12080
|
+
export type SetStaffTrackerPositioningScheduleResponses = {
|
|
12081
|
+
/**
|
|
12082
|
+
* OK
|
|
12083
|
+
*/
|
|
12084
|
+
200: PositioningView;
|
|
12085
|
+
};
|
|
12086
|
+
export type SetStaffTrackerPositioningScheduleResponse = SetStaffTrackerPositioningScheduleResponses[keyof SetStaffTrackerPositioningScheduleResponses];
|
|
12087
|
+
export type RequestStaffTrackerPositionData = {
|
|
12088
|
+
body: PositionRequest;
|
|
12089
|
+
path: {
|
|
12090
|
+
id: string;
|
|
12091
|
+
};
|
|
12092
|
+
query?: never;
|
|
12093
|
+
url: "/v1/admin/trackers/{id}/positioning/requests";
|
|
12094
|
+
};
|
|
12095
|
+
export type RequestStaffTrackerPositionErrors = {
|
|
12096
|
+
/**
|
|
12097
|
+
* Problem Details. A write with operation_unconfirmed may have committed; reuse its original request ID when retrying.
|
|
12098
|
+
*/
|
|
12099
|
+
default: ApiProblem;
|
|
12100
|
+
};
|
|
12101
|
+
export type RequestStaffTrackerPositionError = RequestStaffTrackerPositionErrors[keyof RequestStaffTrackerPositionErrors];
|
|
12102
|
+
export type RequestStaffTrackerPositionResponses = {
|
|
12103
|
+
/**
|
|
12104
|
+
* Accepted
|
|
12105
|
+
*/
|
|
12106
|
+
202: PositioningView;
|
|
12107
|
+
};
|
|
12108
|
+
export type RequestStaffTrackerPositionResponse = RequestStaffTrackerPositionResponses[keyof RequestStaffTrackerPositionResponses];
|
|
11537
12109
|
export type UploadStaffTrackerBatteryFirmwareData = {
|
|
11538
12110
|
body: Blob | File;
|
|
11539
12111
|
path: {
|
|
@@ -11559,7 +12131,7 @@ export type UploadStaffTrackerBatteryFirmwareResponses = {
|
|
|
11559
12131
|
/**
|
|
11560
12132
|
* Accepted
|
|
11561
12133
|
*/
|
|
11562
|
-
202:
|
|
12134
|
+
202: TrackerCommand;
|
|
11563
12135
|
};
|
|
11564
12136
|
export type UploadStaffTrackerBatteryFirmwareResponse = UploadStaffTrackerBatteryFirmwareResponses[keyof UploadStaffTrackerBatteryFirmwareResponses];
|
|
11565
12137
|
export type ListStaffTrackerCommandsData = {
|
|
@@ -11584,11 +12156,11 @@ export type ListStaffTrackerCommandsResponses = {
|
|
|
11584
12156
|
/**
|
|
11585
12157
|
* OK
|
|
11586
12158
|
*/
|
|
11587
|
-
200:
|
|
12159
|
+
200: CommandPage;
|
|
11588
12160
|
};
|
|
11589
12161
|
export type ListStaffTrackerCommandsResponse = ListStaffTrackerCommandsResponses[keyof ListStaffTrackerCommandsResponses];
|
|
11590
12162
|
export type SendStaffTrackerCommandData = {
|
|
11591
|
-
body:
|
|
12163
|
+
body: SubmitCommandRequest;
|
|
11592
12164
|
path: {
|
|
11593
12165
|
id: string;
|
|
11594
12166
|
};
|
|
@@ -11606,7 +12178,7 @@ export type SendStaffTrackerCommandResponses = {
|
|
|
11606
12178
|
/**
|
|
11607
12179
|
* Accepted
|
|
11608
12180
|
*/
|
|
11609
|
-
202:
|
|
12181
|
+
202: TrackerCommand;
|
|
11610
12182
|
};
|
|
11611
12183
|
export type SendStaffTrackerCommandResponse = SendStaffTrackerCommandResponses[keyof SendStaffTrackerCommandResponses];
|
|
11612
12184
|
export type GetStaffTrackerCommandData = {
|
|
@@ -11629,7 +12201,7 @@ export type GetStaffTrackerCommandResponses = {
|
|
|
11629
12201
|
/**
|
|
11630
12202
|
* OK
|
|
11631
12203
|
*/
|
|
11632
|
-
200:
|
|
12204
|
+
200: TrackerCommand;
|
|
11633
12205
|
};
|
|
11634
12206
|
export type GetStaffTrackerCommandResponse = GetStaffTrackerCommandResponses[keyof GetStaffTrackerCommandResponses];
|
|
11635
12207
|
export type GetStaffTrackerSettingsData = {
|
|
@@ -11651,11 +12223,11 @@ export type GetStaffTrackerSettingsResponses = {
|
|
|
11651
12223
|
/**
|
|
11652
12224
|
* OK
|
|
11653
12225
|
*/
|
|
11654
|
-
200:
|
|
12226
|
+
200: SettingsSnapshot;
|
|
11655
12227
|
};
|
|
11656
12228
|
export type GetStaffTrackerSettingsResponse = GetStaffTrackerSettingsResponses[keyof GetStaffTrackerSettingsResponses];
|
|
11657
12229
|
export type UpdateStaffTrackerSettingsData = {
|
|
11658
|
-
body:
|
|
12230
|
+
body: UpdateSettingsRequest;
|
|
11659
12231
|
path: {
|
|
11660
12232
|
id: string;
|
|
11661
12233
|
};
|
|
@@ -11673,7 +12245,7 @@ export type UpdateStaffTrackerSettingsResponses = {
|
|
|
11673
12245
|
/**
|
|
11674
12246
|
* OK
|
|
11675
12247
|
*/
|
|
11676
|
-
200:
|
|
12248
|
+
200: SettingsSnapshot;
|
|
11677
12249
|
};
|
|
11678
12250
|
export type UpdateStaffTrackerSettingsResponse = UpdateStaffTrackerSettingsResponses[keyof UpdateStaffTrackerSettingsResponses];
|
|
11679
12251
|
export type ListStaffTrackerFirmwareReleasesData = {
|
|
@@ -11695,7 +12267,7 @@ export type ListStaffTrackerFirmwareReleasesResponses = {
|
|
|
11695
12267
|
/**
|
|
11696
12268
|
* OK
|
|
11697
12269
|
*/
|
|
11698
|
-
200: Array<
|
|
12270
|
+
200: Array<FirmwareRelease>;
|
|
11699
12271
|
};
|
|
11700
12272
|
export type ListStaffTrackerFirmwareReleasesResponse = ListStaffTrackerFirmwareReleasesResponses[keyof ListStaffTrackerFirmwareReleasesResponses];
|
|
11701
12273
|
export type ListActiveStaffTrackerFirmwareUpdatesData = {
|
|
@@ -11717,11 +12289,11 @@ export type ListActiveStaffTrackerFirmwareUpdatesResponses = {
|
|
|
11717
12289
|
/**
|
|
11718
12290
|
* OK
|
|
11719
12291
|
*/
|
|
11720
|
-
200: Array<
|
|
12292
|
+
200: Array<FirmwareReceipt>;
|
|
11721
12293
|
};
|
|
11722
12294
|
export type ListActiveStaffTrackerFirmwareUpdatesResponse = ListActiveStaffTrackerFirmwareUpdatesResponses[keyof ListActiveStaffTrackerFirmwareUpdatesResponses];
|
|
11723
12295
|
export type RequestStaffTrackerFirmwareUpdateData = {
|
|
11724
|
-
body:
|
|
12296
|
+
body: FirmwareUpdateRequest;
|
|
11725
12297
|
path: {
|
|
11726
12298
|
id: string;
|
|
11727
12299
|
};
|
|
@@ -11739,7 +12311,7 @@ export type RequestStaffTrackerFirmwareUpdateResponses = {
|
|
|
11739
12311
|
/**
|
|
11740
12312
|
* Accepted
|
|
11741
12313
|
*/
|
|
11742
|
-
202:
|
|
12314
|
+
202: FirmwareReceipt;
|
|
11743
12315
|
};
|
|
11744
12316
|
export type RequestStaffTrackerFirmwareUpdateResponse = RequestStaffTrackerFirmwareUpdateResponses[keyof RequestStaffTrackerFirmwareUpdateResponses];
|
|
11745
12317
|
export type GetStaffTrackerFirmwareUpdateData = {
|
|
@@ -11762,11 +12334,11 @@ export type GetStaffTrackerFirmwareUpdateResponses = {
|
|
|
11762
12334
|
/**
|
|
11763
12335
|
* OK
|
|
11764
12336
|
*/
|
|
11765
|
-
200:
|
|
12337
|
+
200: FirmwareReceipt;
|
|
11766
12338
|
};
|
|
11767
12339
|
export type GetStaffTrackerFirmwareUpdateResponse = GetStaffTrackerFirmwareUpdateResponses[keyof GetStaffTrackerFirmwareUpdateResponses];
|
|
11768
12340
|
export type CancelStaffTrackerFirmwareUpdateData = {
|
|
11769
|
-
body:
|
|
12341
|
+
body: FirmwareCancellation;
|
|
11770
12342
|
path: {
|
|
11771
12343
|
id: string;
|
|
11772
12344
|
updateId: string;
|
|
@@ -11785,55 +12357,6 @@ export type CancelStaffTrackerFirmwareUpdateResponses = {
|
|
|
11785
12357
|
/**
|
|
11786
12358
|
* Accepted
|
|
11787
12359
|
*/
|
|
11788
|
-
202:
|
|
12360
|
+
202: FirmwareReceipt;
|
|
11789
12361
|
};
|
|
11790
12362
|
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];
|