@stuartshay/otel-data-types 1.0.292 → 1.0.430
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/index.d.ts +611 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -271,7 +271,11 @@ export type paths = {
|
|
|
271
271
|
delete?: never;
|
|
272
272
|
options?: never;
|
|
273
273
|
head?: never;
|
|
274
|
-
|
|
274
|
+
/**
|
|
275
|
+
* Patch Activity
|
|
276
|
+
* @description Manually patch Garmin activity fields (auth required when OAuth2 is enabled).
|
|
277
|
+
*/
|
|
278
|
+
patch: operations["patch_activity_api_v1_garmin_activities__activity_id__patch"];
|
|
275
279
|
trace?: never;
|
|
276
280
|
};
|
|
277
281
|
"/api/v1/garmin/activities/{activity_id}/tracks": {
|
|
@@ -548,6 +552,11 @@ export type paths = {
|
|
|
548
552
|
/**
|
|
549
553
|
* Geocoding Status
|
|
550
554
|
* @description Get geocoding coverage statistics for both OwnTracks and Garmin sources.
|
|
555
|
+
*
|
|
556
|
+
* The underlying aggregates scan large tables (millions of garmin_track_points)
|
|
557
|
+
* and change slowly, so the response is cached per-process for
|
|
558
|
+
* ``_STATUS_CACHE_TTL_SECONDS`` to avoid repeatedly running the heavy COUNT
|
|
559
|
+
* queries on every dashboard poll.
|
|
551
560
|
*/
|
|
552
561
|
get: operations["geocoding_status_api_v1_geocoding_status_get"];
|
|
553
562
|
put?: never;
|
|
@@ -558,6 +567,31 @@ export type paths = {
|
|
|
558
567
|
patch?: never;
|
|
559
568
|
trace?: never;
|
|
560
569
|
};
|
|
570
|
+
"/api/v1/geocoding/pelias-health": {
|
|
571
|
+
parameters: {
|
|
572
|
+
query?: never;
|
|
573
|
+
header?: never;
|
|
574
|
+
path?: never;
|
|
575
|
+
cookie?: never;
|
|
576
|
+
};
|
|
577
|
+
/**
|
|
578
|
+
* Pelias Health
|
|
579
|
+
* @description Probe the upstream Pelias reverse-geocoder with a known-good coordinate.
|
|
580
|
+
*
|
|
581
|
+
* Returns 200 with ``healthy=false`` rather than failing so that callers
|
|
582
|
+
* (Airflow sensors, dashboards) can branch on the boolean. Used as a
|
|
583
|
+
* pre-flight gate before batched trigger runs to avoid recording large
|
|
584
|
+
* numbers of false-positive errors during a Pelias outage.
|
|
585
|
+
*/
|
|
586
|
+
get: operations["pelias_health_api_v1_geocoding_pelias_health_get"];
|
|
587
|
+
put?: never;
|
|
588
|
+
post?: never;
|
|
589
|
+
delete?: never;
|
|
590
|
+
options?: never;
|
|
591
|
+
head?: never;
|
|
592
|
+
patch?: never;
|
|
593
|
+
trace?: never;
|
|
594
|
+
};
|
|
561
595
|
"/api/v1/geocoding/trigger": {
|
|
562
596
|
parameters: {
|
|
563
597
|
query?: never;
|
|
@@ -598,6 +632,26 @@ export type paths = {
|
|
|
598
632
|
patch?: never;
|
|
599
633
|
trace?: never;
|
|
600
634
|
};
|
|
635
|
+
"/api/v1/geocoding/trigger/garmin-dense": {
|
|
636
|
+
parameters: {
|
|
637
|
+
query?: never;
|
|
638
|
+
header?: never;
|
|
639
|
+
path?: never;
|
|
640
|
+
cookie?: never;
|
|
641
|
+
};
|
|
642
|
+
get?: never;
|
|
643
|
+
put?: never;
|
|
644
|
+
/**
|
|
645
|
+
* Trigger Garmin Dense
|
|
646
|
+
* @description Trigger batch reverse-geocoding of distinct 4dp GPS cells (auth required).
|
|
647
|
+
*/
|
|
648
|
+
post: operations["trigger_garmin_dense_api_v1_geocoding_trigger_garmin_dense_post"];
|
|
649
|
+
delete?: never;
|
|
650
|
+
options?: never;
|
|
651
|
+
head?: never;
|
|
652
|
+
patch?: never;
|
|
653
|
+
trace?: never;
|
|
654
|
+
};
|
|
601
655
|
};
|
|
602
656
|
export type webhooks = Record<string, never>;
|
|
603
657
|
export type components = {
|
|
@@ -761,9 +815,12 @@ export type components = {
|
|
|
761
815
|
* @description Summary of a Garmin Connect activity parsed from a FIT file.
|
|
762
816
|
* @example {
|
|
763
817
|
* "activity_id": "20932993811",
|
|
818
|
+
* "aerobic_training_effect": 2.6,
|
|
819
|
+
* "anaerobic_training_effect": 0,
|
|
764
820
|
* "avg_cadence": 78,
|
|
765
821
|
* "avg_heart_rate": 142,
|
|
766
822
|
* "avg_pace": 3.513345,
|
|
823
|
+
* "avg_respiration_rate": 25,
|
|
767
824
|
* "avg_speed_kmh": 26.3,
|
|
768
825
|
* "avg_temperature_c": 18,
|
|
769
826
|
* "calories": 1689,
|
|
@@ -772,21 +829,32 @@ export type components = {
|
|
|
772
829
|
* "distance_km": 50.6,
|
|
773
830
|
* "duration_seconds": 6932,
|
|
774
831
|
* "end_time": "2025-11-08T20:16:45+00:00",
|
|
832
|
+
* "exercise_load": 48,
|
|
833
|
+
* "hr_available": true,
|
|
775
834
|
* "max_cadence": 112,
|
|
776
835
|
* "max_heart_rate": 178,
|
|
836
|
+
* "max_respiration_rate": 32,
|
|
777
837
|
* "max_speed_kmh": 48.7,
|
|
778
838
|
* "max_temperature_c": 22,
|
|
839
|
+
* "min_heart_rate": 98,
|
|
840
|
+
* "min_respiration_rate": 16,
|
|
779
841
|
* "min_temperature_c": 14,
|
|
842
|
+
* "moderate_intensity_minutes": 88,
|
|
843
|
+
* "paved_distance_km": 21.09,
|
|
780
844
|
* "sport": "cycling",
|
|
781
845
|
* "start_time": "2025-11-08T18:21:13+00:00",
|
|
782
846
|
* "sub_sport": "road",
|
|
847
|
+
* "sweat_loss_ml": 1629,
|
|
783
848
|
* "total_ascent_m": 385,
|
|
784
849
|
* "total_descent_m": 380,
|
|
785
850
|
* "total_distance": 50598.95,
|
|
786
851
|
* "total_elapsed_time": 7200.5,
|
|
852
|
+
* "total_intensity_minutes": 146,
|
|
787
853
|
* "total_timer_time": 6932.1,
|
|
788
854
|
* "track_point_count": 10707,
|
|
789
|
-
* "
|
|
855
|
+
* "unpaved_distance_km": 0.65,
|
|
856
|
+
* "uploaded_at": "2026-02-09T23:56:37+00:00",
|
|
857
|
+
* "vigorous_intensity_minutes": 29
|
|
790
858
|
* }
|
|
791
859
|
*/
|
|
792
860
|
GarminActivity: {
|
|
@@ -835,6 +903,77 @@ export type components = {
|
|
|
835
903
|
* @description Maximum heart rate in beats per minute
|
|
836
904
|
*/
|
|
837
905
|
max_heart_rate?: number | null;
|
|
906
|
+
/**
|
|
907
|
+
* Hr Available
|
|
908
|
+
* @description Whether this activity has usable heart-rate data in summary or track points
|
|
909
|
+
* @default false
|
|
910
|
+
*/
|
|
911
|
+
hr_available: boolean;
|
|
912
|
+
/**
|
|
913
|
+
* Min Heart Rate
|
|
914
|
+
* @description Minimum heart rate in beats per minute
|
|
915
|
+
*/
|
|
916
|
+
min_heart_rate?: number | null;
|
|
917
|
+
/**
|
|
918
|
+
* Aerobic Training Effect
|
|
919
|
+
* @description Aerobic training effect score
|
|
920
|
+
*/
|
|
921
|
+
aerobic_training_effect?: number | null;
|
|
922
|
+
/**
|
|
923
|
+
* Anaerobic Training Effect
|
|
924
|
+
* @description Anaerobic training effect score
|
|
925
|
+
*/
|
|
926
|
+
anaerobic_training_effect?: number | null;
|
|
927
|
+
/**
|
|
928
|
+
* Exercise Load
|
|
929
|
+
* @description Exercise load score
|
|
930
|
+
*/
|
|
931
|
+
exercise_load?: number | null;
|
|
932
|
+
/**
|
|
933
|
+
* Avg Respiration Rate
|
|
934
|
+
* @description Average respiration rate in breaths per minute
|
|
935
|
+
*/
|
|
936
|
+
avg_respiration_rate?: number | null;
|
|
937
|
+
/**
|
|
938
|
+
* Min Respiration Rate
|
|
939
|
+
* @description Minimum respiration rate in breaths per minute
|
|
940
|
+
*/
|
|
941
|
+
min_respiration_rate?: number | null;
|
|
942
|
+
/**
|
|
943
|
+
* Max Respiration Rate
|
|
944
|
+
* @description Maximum respiration rate in breaths per minute
|
|
945
|
+
*/
|
|
946
|
+
max_respiration_rate?: number | null;
|
|
947
|
+
/**
|
|
948
|
+
* Sweat Loss Ml
|
|
949
|
+
* @description Estimated sweat loss in millilitres
|
|
950
|
+
*/
|
|
951
|
+
sweat_loss_ml?: number | null;
|
|
952
|
+
/**
|
|
953
|
+
* Moderate Intensity Minutes
|
|
954
|
+
* @description Moderate intensity minutes
|
|
955
|
+
*/
|
|
956
|
+
moderate_intensity_minutes?: number | null;
|
|
957
|
+
/**
|
|
958
|
+
* Vigorous Intensity Minutes
|
|
959
|
+
* @description Vigorous intensity minutes
|
|
960
|
+
*/
|
|
961
|
+
vigorous_intensity_minutes?: number | null;
|
|
962
|
+
/**
|
|
963
|
+
* Total Intensity Minutes
|
|
964
|
+
* @description Total intensity minutes
|
|
965
|
+
*/
|
|
966
|
+
total_intensity_minutes?: number | null;
|
|
967
|
+
/**
|
|
968
|
+
* Paved Distance Km
|
|
969
|
+
* @description Distance over paved surfaces in kilometres
|
|
970
|
+
*/
|
|
971
|
+
paved_distance_km?: number | null;
|
|
972
|
+
/**
|
|
973
|
+
* Unpaved Distance Km
|
|
974
|
+
* @description Distance over unpaved surfaces in kilometres
|
|
975
|
+
*/
|
|
976
|
+
unpaved_distance_km?: number | null;
|
|
838
977
|
/**
|
|
839
978
|
* Avg Cadence
|
|
840
979
|
* @description Average cadence in RPM
|
|
@@ -1019,6 +1158,204 @@ export type components = {
|
|
|
1019
1158
|
*/
|
|
1020
1159
|
geocoded_at?: string | null;
|
|
1021
1160
|
};
|
|
1161
|
+
/**
|
|
1162
|
+
* GarminActivityManualUpdate
|
|
1163
|
+
* @description Partial manual update payload for Garmin activity records.
|
|
1164
|
+
* @example {
|
|
1165
|
+
* "aerobic_training_effect": 3.2,
|
|
1166
|
+
* "avg_cadence": 82,
|
|
1167
|
+
* "avg_heart_rate": 141,
|
|
1168
|
+
* "device_manufacturer": "polar_electro",
|
|
1169
|
+
* "max_heart_rate": 172
|
|
1170
|
+
* }
|
|
1171
|
+
*/
|
|
1172
|
+
GarminActivityManualUpdate: {
|
|
1173
|
+
/**
|
|
1174
|
+
* Sport
|
|
1175
|
+
* @description Primary sport type (e.g. cycling, running)
|
|
1176
|
+
*/
|
|
1177
|
+
sport?: string | null;
|
|
1178
|
+
/**
|
|
1179
|
+
* Sub Sport
|
|
1180
|
+
* @description Sub-sport classification (e.g. road, trail)
|
|
1181
|
+
*/
|
|
1182
|
+
sub_sport?: string | null;
|
|
1183
|
+
/**
|
|
1184
|
+
* Start Time
|
|
1185
|
+
* @description Activity start time in UTC
|
|
1186
|
+
*/
|
|
1187
|
+
start_time?: string | null;
|
|
1188
|
+
/**
|
|
1189
|
+
* End Time
|
|
1190
|
+
* @description Activity end time in UTC
|
|
1191
|
+
*/
|
|
1192
|
+
end_time?: string | null;
|
|
1193
|
+
/**
|
|
1194
|
+
* Distance Km
|
|
1195
|
+
* @description Total distance in kilometres
|
|
1196
|
+
*/
|
|
1197
|
+
distance_km?: number | null;
|
|
1198
|
+
/**
|
|
1199
|
+
* Duration Seconds
|
|
1200
|
+
* @description Active duration in seconds (excludes pauses)
|
|
1201
|
+
*/
|
|
1202
|
+
duration_seconds?: number | null;
|
|
1203
|
+
/**
|
|
1204
|
+
* Avg Heart Rate
|
|
1205
|
+
* @description Average heart rate in beats per minute
|
|
1206
|
+
*/
|
|
1207
|
+
avg_heart_rate?: number | null;
|
|
1208
|
+
/**
|
|
1209
|
+
* Max Heart Rate
|
|
1210
|
+
* @description Maximum heart rate in beats per minute
|
|
1211
|
+
*/
|
|
1212
|
+
max_heart_rate?: number | null;
|
|
1213
|
+
/**
|
|
1214
|
+
* Min Heart Rate
|
|
1215
|
+
* @description Minimum heart rate in beats per minute
|
|
1216
|
+
*/
|
|
1217
|
+
min_heart_rate?: number | null;
|
|
1218
|
+
/**
|
|
1219
|
+
* Aerobic Training Effect
|
|
1220
|
+
* @description Aerobic training effect score
|
|
1221
|
+
*/
|
|
1222
|
+
aerobic_training_effect?: number | null;
|
|
1223
|
+
/**
|
|
1224
|
+
* Anaerobic Training Effect
|
|
1225
|
+
* @description Anaerobic training effect score
|
|
1226
|
+
*/
|
|
1227
|
+
anaerobic_training_effect?: number | null;
|
|
1228
|
+
/**
|
|
1229
|
+
* Exercise Load
|
|
1230
|
+
* @description Exercise load score
|
|
1231
|
+
*/
|
|
1232
|
+
exercise_load?: number | null;
|
|
1233
|
+
/**
|
|
1234
|
+
* Avg Respiration Rate
|
|
1235
|
+
* @description Average respiration rate in breaths per minute
|
|
1236
|
+
*/
|
|
1237
|
+
avg_respiration_rate?: number | null;
|
|
1238
|
+
/**
|
|
1239
|
+
* Min Respiration Rate
|
|
1240
|
+
* @description Minimum respiration rate in breaths per minute
|
|
1241
|
+
*/
|
|
1242
|
+
min_respiration_rate?: number | null;
|
|
1243
|
+
/**
|
|
1244
|
+
* Max Respiration Rate
|
|
1245
|
+
* @description Maximum respiration rate in breaths per minute
|
|
1246
|
+
*/
|
|
1247
|
+
max_respiration_rate?: number | null;
|
|
1248
|
+
/**
|
|
1249
|
+
* Sweat Loss Ml
|
|
1250
|
+
* @description Estimated sweat loss in millilitres
|
|
1251
|
+
*/
|
|
1252
|
+
sweat_loss_ml?: number | null;
|
|
1253
|
+
/**
|
|
1254
|
+
* Moderate Intensity Minutes
|
|
1255
|
+
* @description Moderate intensity minutes
|
|
1256
|
+
*/
|
|
1257
|
+
moderate_intensity_minutes?: number | null;
|
|
1258
|
+
/**
|
|
1259
|
+
* Vigorous Intensity Minutes
|
|
1260
|
+
* @description Vigorous intensity minutes
|
|
1261
|
+
*/
|
|
1262
|
+
vigorous_intensity_minutes?: number | null;
|
|
1263
|
+
/**
|
|
1264
|
+
* Total Intensity Minutes
|
|
1265
|
+
* @description Total intensity minutes
|
|
1266
|
+
*/
|
|
1267
|
+
total_intensity_minutes?: number | null;
|
|
1268
|
+
/**
|
|
1269
|
+
* Paved Distance Km
|
|
1270
|
+
* @description Distance over paved surfaces in kilometres
|
|
1271
|
+
*/
|
|
1272
|
+
paved_distance_km?: number | null;
|
|
1273
|
+
/**
|
|
1274
|
+
* Unpaved Distance Km
|
|
1275
|
+
* @description Distance over unpaved surfaces in kilometres
|
|
1276
|
+
*/
|
|
1277
|
+
unpaved_distance_km?: number | null;
|
|
1278
|
+
/**
|
|
1279
|
+
* Avg Cadence
|
|
1280
|
+
* @description Average cadence in RPM
|
|
1281
|
+
*/
|
|
1282
|
+
avg_cadence?: number | null;
|
|
1283
|
+
/**
|
|
1284
|
+
* Max Cadence
|
|
1285
|
+
* @description Maximum cadence in RPM
|
|
1286
|
+
*/
|
|
1287
|
+
max_cadence?: number | null;
|
|
1288
|
+
/**
|
|
1289
|
+
* Calories
|
|
1290
|
+
* @description Total calories burned
|
|
1291
|
+
*/
|
|
1292
|
+
calories?: number | null;
|
|
1293
|
+
/**
|
|
1294
|
+
* Avg Speed Kmh
|
|
1295
|
+
* @description Average speed in km/h
|
|
1296
|
+
*/
|
|
1297
|
+
avg_speed_kmh?: number | null;
|
|
1298
|
+
/**
|
|
1299
|
+
* Max Speed Kmh
|
|
1300
|
+
* @description Maximum speed in km/h
|
|
1301
|
+
*/
|
|
1302
|
+
max_speed_kmh?: number | null;
|
|
1303
|
+
/**
|
|
1304
|
+
* Total Ascent M
|
|
1305
|
+
* @description Total elevation gain in meters
|
|
1306
|
+
*/
|
|
1307
|
+
total_ascent_m?: number | null;
|
|
1308
|
+
/**
|
|
1309
|
+
* Total Descent M
|
|
1310
|
+
* @description Total elevation loss in meters
|
|
1311
|
+
*/
|
|
1312
|
+
total_descent_m?: number | null;
|
|
1313
|
+
/**
|
|
1314
|
+
* Total Distance
|
|
1315
|
+
* @description Raw total distance in meters from FIT file
|
|
1316
|
+
*/
|
|
1317
|
+
total_distance?: number | null;
|
|
1318
|
+
/**
|
|
1319
|
+
* Avg Pace
|
|
1320
|
+
* @description Average pace in minutes per kilometre
|
|
1321
|
+
*/
|
|
1322
|
+
avg_pace?: number | null;
|
|
1323
|
+
/**
|
|
1324
|
+
* Device Manufacturer
|
|
1325
|
+
* @description Device manufacturer (e.g. garmin)
|
|
1326
|
+
*/
|
|
1327
|
+
device_manufacturer?: string | null;
|
|
1328
|
+
/**
|
|
1329
|
+
* Avg Temperature C
|
|
1330
|
+
* @description Average ambient temperature in degrees C
|
|
1331
|
+
*/
|
|
1332
|
+
avg_temperature_c?: number | null;
|
|
1333
|
+
/**
|
|
1334
|
+
* Min Temperature C
|
|
1335
|
+
* @description Minimum ambient temperature in degrees C
|
|
1336
|
+
*/
|
|
1337
|
+
min_temperature_c?: number | null;
|
|
1338
|
+
/**
|
|
1339
|
+
* Max Temperature C
|
|
1340
|
+
* @description Maximum ambient temperature in degrees C
|
|
1341
|
+
*/
|
|
1342
|
+
max_temperature_c?: number | null;
|
|
1343
|
+
/**
|
|
1344
|
+
* Total Elapsed Time
|
|
1345
|
+
* @description Total elapsed time in seconds (includes pauses)
|
|
1346
|
+
*/
|
|
1347
|
+
total_elapsed_time?: number | null;
|
|
1348
|
+
/**
|
|
1349
|
+
* Total Timer Time
|
|
1350
|
+
* @description Total timer time in seconds (active recording)
|
|
1351
|
+
*/
|
|
1352
|
+
total_timer_time?: number | null;
|
|
1353
|
+
/**
|
|
1354
|
+
* Uploaded At
|
|
1355
|
+
* @description UTC timestamp when the FIT file was uploaded
|
|
1356
|
+
*/
|
|
1357
|
+
uploaded_at?: string | null;
|
|
1358
|
+
};
|
|
1022
1359
|
/**
|
|
1023
1360
|
* GarminActivityTotal
|
|
1024
1361
|
* @description Aggregated Garmin activity totals for a single time bucket (week/month/year).
|
|
@@ -1071,10 +1408,14 @@ export type components = {
|
|
|
1071
1408
|
* "altitude": 12.4,
|
|
1072
1409
|
* "cadence": 80,
|
|
1073
1410
|
* "distance_from_start_km": 0,
|
|
1411
|
+
* "effort_level": "steady",
|
|
1074
1412
|
* "heart_rate": 135,
|
|
1413
|
+
* "hr_zone": 3,
|
|
1075
1414
|
* "latitude": 40.71501586586237,
|
|
1076
1415
|
* "longitude": -74.01768794283271,
|
|
1416
|
+
* "respiration_rate": 22,
|
|
1077
1417
|
* "speed_kmh": 24.5,
|
|
1418
|
+
* "surface_type": "paved",
|
|
1078
1419
|
* "temperature_c": 18,
|
|
1079
1420
|
* "timestamp": "2025-11-08T18:21:13Z"
|
|
1080
1421
|
* }
|
|
@@ -1106,6 +1447,16 @@ export type components = {
|
|
|
1106
1447
|
* @description Heart rate in beats per minute
|
|
1107
1448
|
*/
|
|
1108
1449
|
heart_rate?: number | null;
|
|
1450
|
+
/**
|
|
1451
|
+
* Hr Zone
|
|
1452
|
+
* @description Heart-rate zone index (1-5)
|
|
1453
|
+
*/
|
|
1454
|
+
hr_zone?: number | null;
|
|
1455
|
+
/**
|
|
1456
|
+
* Respiration Rate
|
|
1457
|
+
* @description Respiration rate in breaths per minute
|
|
1458
|
+
*/
|
|
1459
|
+
respiration_rate?: number | null;
|
|
1109
1460
|
/**
|
|
1110
1461
|
* Cadence
|
|
1111
1462
|
* @description Pedal/step cadence in RPM
|
|
@@ -1116,6 +1467,16 @@ export type components = {
|
|
|
1116
1467
|
* @description Ambient temperature in degrees C
|
|
1117
1468
|
*/
|
|
1118
1469
|
temperature_c?: number | null;
|
|
1470
|
+
/**
|
|
1471
|
+
* Surface Type
|
|
1472
|
+
* @description Road or terrain type
|
|
1473
|
+
*/
|
|
1474
|
+
surface_type?: string | null;
|
|
1475
|
+
/**
|
|
1476
|
+
* Effort Level
|
|
1477
|
+
* @description Effort classification label
|
|
1478
|
+
*/
|
|
1479
|
+
effort_level?: string | null;
|
|
1119
1480
|
/**
|
|
1120
1481
|
* Latitude
|
|
1121
1482
|
* @description GPS latitude in decimal degrees (WGS 84)
|
|
@@ -1213,11 +1574,15 @@ export type components = {
|
|
|
1213
1574
|
* "cadence": 80,
|
|
1214
1575
|
* "created_at": "2026-02-09T23:56:37Z",
|
|
1215
1576
|
* "distance_from_start_km": 0,
|
|
1577
|
+
* "effort_level": "steady",
|
|
1216
1578
|
* "heart_rate": 135,
|
|
1579
|
+
* "hr_zone": 3,
|
|
1217
1580
|
* "id": 7454,
|
|
1218
1581
|
* "latitude": 40.71501586586237,
|
|
1219
1582
|
* "longitude": -74.01768794283271,
|
|
1583
|
+
* "respiration_rate": 22,
|
|
1220
1584
|
* "speed_kmh": 24.5,
|
|
1585
|
+
* "surface_type": "paved",
|
|
1221
1586
|
* "temperature_c": 18,
|
|
1222
1587
|
* "timestamp": "2025-11-08T18:21:13Z"
|
|
1223
1588
|
* }
|
|
@@ -1269,6 +1634,16 @@ export type components = {
|
|
|
1269
1634
|
* @description Heart rate in beats per minute
|
|
1270
1635
|
*/
|
|
1271
1636
|
heart_rate?: number | null;
|
|
1637
|
+
/**
|
|
1638
|
+
* Hr Zone
|
|
1639
|
+
* @description Heart-rate zone index (1-5)
|
|
1640
|
+
*/
|
|
1641
|
+
hr_zone?: number | null;
|
|
1642
|
+
/**
|
|
1643
|
+
* Respiration Rate
|
|
1644
|
+
* @description Respiration rate in breaths per minute
|
|
1645
|
+
*/
|
|
1646
|
+
respiration_rate?: number | null;
|
|
1272
1647
|
/**
|
|
1273
1648
|
* Cadence
|
|
1274
1649
|
* @description Pedal/step cadence in RPM
|
|
@@ -1279,6 +1654,16 @@ export type components = {
|
|
|
1279
1654
|
* @description Ambient temperature in degrees C
|
|
1280
1655
|
*/
|
|
1281
1656
|
temperature_c?: number | null;
|
|
1657
|
+
/**
|
|
1658
|
+
* Surface Type
|
|
1659
|
+
* @description Road or terrain type
|
|
1660
|
+
*/
|
|
1661
|
+
surface_type?: string | null;
|
|
1662
|
+
/**
|
|
1663
|
+
* Effort Level
|
|
1664
|
+
* @description Effort classification label
|
|
1665
|
+
*/
|
|
1666
|
+
effort_level?: string | null;
|
|
1282
1667
|
/**
|
|
1283
1668
|
* Created At
|
|
1284
1669
|
* @description UTC timestamp when the record was inserted
|
|
@@ -1371,6 +1756,21 @@ export type components = {
|
|
|
1371
1756
|
* @description Full formatted address label from Pelias
|
|
1372
1757
|
*/
|
|
1373
1758
|
display_address?: string | null;
|
|
1759
|
+
/**
|
|
1760
|
+
* Street
|
|
1761
|
+
* @description Street name
|
|
1762
|
+
*/
|
|
1763
|
+
street?: string | null;
|
|
1764
|
+
/**
|
|
1765
|
+
* Housenumber
|
|
1766
|
+
* @description House or building number
|
|
1767
|
+
*/
|
|
1768
|
+
housenumber?: string | null;
|
|
1769
|
+
/**
|
|
1770
|
+
* Neighbourhood
|
|
1771
|
+
* @description Neighbourhood name
|
|
1772
|
+
*/
|
|
1773
|
+
neighbourhood?: string | null;
|
|
1374
1774
|
/**
|
|
1375
1775
|
* Locality
|
|
1376
1776
|
* @description City or town
|
|
@@ -1386,6 +1786,16 @@ export type components = {
|
|
|
1386
1786
|
* @description Country name
|
|
1387
1787
|
*/
|
|
1388
1788
|
country?: string | null;
|
|
1789
|
+
/**
|
|
1790
|
+
* Postalcode
|
|
1791
|
+
* @description Postal or ZIP code
|
|
1792
|
+
*/
|
|
1793
|
+
postalcode?: string | null;
|
|
1794
|
+
/**
|
|
1795
|
+
* Confidence
|
|
1796
|
+
* @description Pelias confidence score (0-1)
|
|
1797
|
+
*/
|
|
1798
|
+
confidence?: number | null;
|
|
1389
1799
|
/**
|
|
1390
1800
|
* Waypoint Kind
|
|
1391
1801
|
* @description Role of this waypoint (Garmin only)
|
|
@@ -1396,6 +1806,11 @@ export type components = {
|
|
|
1396
1806
|
* @description Geocoding status: success, no_coverage, error, pending
|
|
1397
1807
|
*/
|
|
1398
1808
|
status: string;
|
|
1809
|
+
/**
|
|
1810
|
+
* Geocoded At
|
|
1811
|
+
* @description UTC timestamp when geocoding was performed
|
|
1812
|
+
*/
|
|
1813
|
+
geocoded_at?: string | null;
|
|
1399
1814
|
};
|
|
1400
1815
|
/**
|
|
1401
1816
|
* GeocodingSourceStatus
|
|
@@ -1480,6 +1895,48 @@ export type components = {
|
|
|
1480
1895
|
coverage_percent: number;
|
|
1481
1896
|
/** @description Per-source breakdown of geocoding coverage (owntracks, garmin) */
|
|
1482
1897
|
by_source: components["schemas"]["GeocodingStatusBySource"];
|
|
1898
|
+
/**
|
|
1899
|
+
* Dense Cells Total
|
|
1900
|
+
* @description Total number of distinct 4dp (~11m) GPS cells observed in garmin_track_points
|
|
1901
|
+
* @default 0
|
|
1902
|
+
*/
|
|
1903
|
+
dense_cells_total: number;
|
|
1904
|
+
/**
|
|
1905
|
+
* Dense Cells Geocoded
|
|
1906
|
+
* @description Number of dense cells with any geocoding row (any status)
|
|
1907
|
+
* @default 0
|
|
1908
|
+
*/
|
|
1909
|
+
dense_cells_geocoded: number;
|
|
1910
|
+
/**
|
|
1911
|
+
* Dense Cells Success
|
|
1912
|
+
* @description Number of dense cells with status='success'
|
|
1913
|
+
* @default 0
|
|
1914
|
+
*/
|
|
1915
|
+
dense_cells_success: number;
|
|
1916
|
+
/**
|
|
1917
|
+
* Dense Cells Pending
|
|
1918
|
+
* @description Number of dense cells awaiting geocoding
|
|
1919
|
+
* @default 0
|
|
1920
|
+
*/
|
|
1921
|
+
dense_cells_pending: number;
|
|
1922
|
+
/**
|
|
1923
|
+
* Dense Cells No Coverage
|
|
1924
|
+
* @description Number of dense cells outside Pelias coverage
|
|
1925
|
+
* @default 0
|
|
1926
|
+
*/
|
|
1927
|
+
dense_cells_no_coverage: number;
|
|
1928
|
+
/**
|
|
1929
|
+
* Dense Cells Errors
|
|
1930
|
+
* @description Number of dense cells that failed geocoding
|
|
1931
|
+
* @default 0
|
|
1932
|
+
*/
|
|
1933
|
+
dense_cells_errors: number;
|
|
1934
|
+
/**
|
|
1935
|
+
* Dense Point Coverage Percent
|
|
1936
|
+
* @description Percentage of garmin_track_points whose 4dp cell has any geocoded row
|
|
1937
|
+
* @default 0
|
|
1938
|
+
*/
|
|
1939
|
+
dense_point_coverage_percent: number;
|
|
1483
1940
|
};
|
|
1484
1941
|
/**
|
|
1485
1942
|
* GeocodingStatusBySource
|
|
@@ -1505,6 +1962,12 @@ export type components = {
|
|
|
1505
1962
|
* @description Percentage of Garmin activities with at least one geocoded address
|
|
1506
1963
|
*/
|
|
1507
1964
|
garmin_coverage_percent: number;
|
|
1965
|
+
/**
|
|
1966
|
+
* Garmin Waypoint Success Percent
|
|
1967
|
+
* @description Percentage of Garmin waypoint rows with status='success' (success / (success + pending + no_coverage + error)).
|
|
1968
|
+
* @default 0
|
|
1969
|
+
*/
|
|
1970
|
+
garmin_waypoint_success_percent: number;
|
|
1508
1971
|
};
|
|
1509
1972
|
/**
|
|
1510
1973
|
* GeocodingTriggerResponse
|
|
@@ -1956,6 +2419,33 @@ export type components = {
|
|
|
1956
2419
|
*/
|
|
1957
2420
|
offset: number;
|
|
1958
2421
|
};
|
|
2422
|
+
/**
|
|
2423
|
+
* PeliasHealth
|
|
2424
|
+
* @description Result of an upstream Pelias reverse-geocoder health probe.
|
|
2425
|
+
*/
|
|
2426
|
+
PeliasHealth: {
|
|
2427
|
+
/**
|
|
2428
|
+
* Healthy
|
|
2429
|
+
* @description True when Pelias returned a usable feature for the probe coordinate.
|
|
2430
|
+
*/
|
|
2431
|
+
healthy: boolean;
|
|
2432
|
+
/**
|
|
2433
|
+
* Latency Ms
|
|
2434
|
+
* @description Round-trip latency for the probe request, in milliseconds.
|
|
2435
|
+
*/
|
|
2436
|
+
latency_ms: number;
|
|
2437
|
+
/**
|
|
2438
|
+
* Sample Features Count
|
|
2439
|
+
* @description Number of features returned by the probe (0 means the probe failed).
|
|
2440
|
+
* @default 0
|
|
2441
|
+
*/
|
|
2442
|
+
sample_features_count: number;
|
|
2443
|
+
/**
|
|
2444
|
+
* Detail
|
|
2445
|
+
* @description Failure detail when not healthy (timeout, transport error, non-2xx status).
|
|
2446
|
+
*/
|
|
2447
|
+
detail?: string | null;
|
|
2448
|
+
};
|
|
1959
2449
|
/**
|
|
1960
2450
|
* ReferenceLocation
|
|
1961
2451
|
* @description Named geographic reference point used for spatial queries (e.g. home, office).
|
|
@@ -2436,6 +2926,12 @@ export interface operations {
|
|
|
2436
2926
|
lookback?: number | null;
|
|
2437
2927
|
/** @description Optional sync window in hours. Positive integer. */
|
|
2438
2928
|
window_hours?: number | null;
|
|
2929
|
+
/** @description Whether to re-sync activities that already exist in the database. */
|
|
2930
|
+
resync_existing?: boolean | null;
|
|
2931
|
+
/** @description Optional Garmin activity_id filter (repeatable). */
|
|
2932
|
+
activity_id?: string[] | null;
|
|
2933
|
+
/** @description Optional Garmin activity_ids filter (repeatable). */
|
|
2934
|
+
activity_ids?: string[] | null;
|
|
2439
2935
|
};
|
|
2440
2936
|
header?: never;
|
|
2441
2937
|
path?: never;
|
|
@@ -2667,6 +3163,63 @@ export interface operations {
|
|
|
2667
3163
|
};
|
|
2668
3164
|
};
|
|
2669
3165
|
};
|
|
3166
|
+
patch_activity_api_v1_garmin_activities__activity_id__patch: {
|
|
3167
|
+
parameters: {
|
|
3168
|
+
query?: never;
|
|
3169
|
+
header?: never;
|
|
3170
|
+
path: {
|
|
3171
|
+
/** @description Garmin activity ID */
|
|
3172
|
+
activity_id: string;
|
|
3173
|
+
};
|
|
3174
|
+
cookie?: never;
|
|
3175
|
+
};
|
|
3176
|
+
requestBody: {
|
|
3177
|
+
content: {
|
|
3178
|
+
"application/json": components["schemas"]["GarminActivityManualUpdate"];
|
|
3179
|
+
};
|
|
3180
|
+
};
|
|
3181
|
+
responses: {
|
|
3182
|
+
/** @description Successful Response */
|
|
3183
|
+
200: {
|
|
3184
|
+
headers: {
|
|
3185
|
+
[name: string]: unknown;
|
|
3186
|
+
};
|
|
3187
|
+
content: {
|
|
3188
|
+
"application/json": components["schemas"]["GarminActivity"];
|
|
3189
|
+
};
|
|
3190
|
+
};
|
|
3191
|
+
/** @description No fields to update */
|
|
3192
|
+
400: {
|
|
3193
|
+
headers: {
|
|
3194
|
+
[name: string]: unknown;
|
|
3195
|
+
};
|
|
3196
|
+
content?: never;
|
|
3197
|
+
};
|
|
3198
|
+
/** @description Authentication required */
|
|
3199
|
+
401: {
|
|
3200
|
+
headers: {
|
|
3201
|
+
[name: string]: unknown;
|
|
3202
|
+
};
|
|
3203
|
+
content?: never;
|
|
3204
|
+
};
|
|
3205
|
+
/** @description Activity not found */
|
|
3206
|
+
404: {
|
|
3207
|
+
headers: {
|
|
3208
|
+
[name: string]: unknown;
|
|
3209
|
+
};
|
|
3210
|
+
content?: never;
|
|
3211
|
+
};
|
|
3212
|
+
/** @description Validation Error */
|
|
3213
|
+
422: {
|
|
3214
|
+
headers: {
|
|
3215
|
+
[name: string]: unknown;
|
|
3216
|
+
};
|
|
3217
|
+
content: {
|
|
3218
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
3219
|
+
};
|
|
3220
|
+
};
|
|
3221
|
+
};
|
|
3222
|
+
};
|
|
2670
3223
|
list_track_points_api_v1_garmin_activities__activity_id__tracks_get: {
|
|
2671
3224
|
parameters: {
|
|
2672
3225
|
query?: {
|
|
@@ -3192,12 +3745,32 @@ export interface operations {
|
|
|
3192
3745
|
};
|
|
3193
3746
|
};
|
|
3194
3747
|
};
|
|
3748
|
+
pelias_health_api_v1_geocoding_pelias_health_get: {
|
|
3749
|
+
parameters: {
|
|
3750
|
+
query?: never;
|
|
3751
|
+
header?: never;
|
|
3752
|
+
path?: never;
|
|
3753
|
+
cookie?: never;
|
|
3754
|
+
};
|
|
3755
|
+
requestBody?: never;
|
|
3756
|
+
responses: {
|
|
3757
|
+
/** @description Successful Response */
|
|
3758
|
+
200: {
|
|
3759
|
+
headers: {
|
|
3760
|
+
[name: string]: unknown;
|
|
3761
|
+
};
|
|
3762
|
+
content: {
|
|
3763
|
+
"application/json": components["schemas"]["PeliasHealth"];
|
|
3764
|
+
};
|
|
3765
|
+
};
|
|
3766
|
+
};
|
|
3767
|
+
};
|
|
3195
3768
|
trigger_geocoding_api_v1_geocoding_trigger_post: {
|
|
3196
3769
|
parameters: {
|
|
3197
3770
|
query?: {
|
|
3198
3771
|
/** @description Number of locations to geocode in this batch */
|
|
3199
3772
|
batch_size?: number;
|
|
3200
|
-
/** @description Re-process records with
|
|
3773
|
+
/** @description Re-process records with statuses no_coverage or error */
|
|
3201
3774
|
retry_failed?: boolean;
|
|
3202
3775
|
};
|
|
3203
3776
|
header?: never;
|
|
@@ -3233,7 +3806,41 @@ export interface operations {
|
|
|
3233
3806
|
batch_size?: number;
|
|
3234
3807
|
/** @description Approximate spacing between mid-route waypoints in kilometres */
|
|
3235
3808
|
waypoint_spacing_km?: number;
|
|
3236
|
-
/** @description Re-process activities with at least one no_coverage
|
|
3809
|
+
/** @description Re-process activities with at least one waypoint in statuses no_coverage or error */
|
|
3810
|
+
retry_failed?: boolean;
|
|
3811
|
+
};
|
|
3812
|
+
header?: never;
|
|
3813
|
+
path?: never;
|
|
3814
|
+
cookie?: never;
|
|
3815
|
+
};
|
|
3816
|
+
requestBody?: never;
|
|
3817
|
+
responses: {
|
|
3818
|
+
/** @description Successful Response */
|
|
3819
|
+
200: {
|
|
3820
|
+
headers: {
|
|
3821
|
+
[name: string]: unknown;
|
|
3822
|
+
};
|
|
3823
|
+
content: {
|
|
3824
|
+
"application/json": components["schemas"]["GeocodingTriggerResponse"];
|
|
3825
|
+
};
|
|
3826
|
+
};
|
|
3827
|
+
/** @description Validation Error */
|
|
3828
|
+
422: {
|
|
3829
|
+
headers: {
|
|
3830
|
+
[name: string]: unknown;
|
|
3831
|
+
};
|
|
3832
|
+
content: {
|
|
3833
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
3834
|
+
};
|
|
3835
|
+
};
|
|
3836
|
+
};
|
|
3837
|
+
};
|
|
3838
|
+
trigger_garmin_dense_api_v1_geocoding_trigger_garmin_dense_post: {
|
|
3839
|
+
parameters: {
|
|
3840
|
+
query?: {
|
|
3841
|
+
/** @description Number of dense cells to process in this batch */
|
|
3842
|
+
batch_size?: number;
|
|
3843
|
+
/** @description Re-process cells whose status is no_coverage, error, or pending */
|
|
3237
3844
|
retry_failed?: boolean;
|
|
3238
3845
|
};
|
|
3239
3846
|
header?: never;
|