@stuartshay/otel-data-types 1.0.462 → 1.0.506

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.
Files changed (2) hide show
  1. package/index.d.ts +522 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -230,6 +230,29 @@ export type paths = {
230
230
  patch?: never;
231
231
  trace?: never;
232
232
  };
233
+ "/api/v1/garmin/device-counts": {
234
+ parameters: {
235
+ query?: never;
236
+ header?: never;
237
+ path?: never;
238
+ cookie?: never;
239
+ };
240
+ /**
241
+ * List Device Counts
242
+ * @description List Garmin recording device labels with activity counts.
243
+ *
244
+ * Activities without recording-device metadata are grouped under ``Manual``.
245
+ * Firmware/software version is intentionally excluded from this aggregate.
246
+ */
247
+ get: operations["list_device_counts_api_v1_garmin_device_counts_get"];
248
+ put?: never;
249
+ post?: never;
250
+ delete?: never;
251
+ options?: never;
252
+ head?: never;
253
+ patch?: never;
254
+ trace?: never;
255
+ };
233
256
  "/api/v1/garmin/activity-totals": {
234
257
  parameters: {
235
258
  query?: never;
@@ -326,6 +349,46 @@ export type paths = {
326
349
  patch?: never;
327
350
  trace?: never;
328
351
  };
352
+ "/api/v1/garmin/activities/{activity_id}/climbs": {
353
+ parameters: {
354
+ query?: never;
355
+ header?: never;
356
+ path?: never;
357
+ cookie?: never;
358
+ };
359
+ /**
360
+ * List Activity Climbs
361
+ * @description Return Garmin-native ClimbPro typed splits for an activity.
362
+ */
363
+ get: operations["list_activity_climbs_api_v1_garmin_activities__activity_id__climbs_get"];
364
+ put?: never;
365
+ post?: never;
366
+ delete?: never;
367
+ options?: never;
368
+ head?: never;
369
+ patch?: never;
370
+ trace?: never;
371
+ };
372
+ "/api/v1/garmin/activities/{activity_id}/laps": {
373
+ parameters: {
374
+ query?: never;
375
+ header?: never;
376
+ path?: never;
377
+ cookie?: never;
378
+ };
379
+ /**
380
+ * List Activity Laps
381
+ * @description Return Garmin-native or derived laps for an activity.
382
+ */
383
+ get: operations["list_activity_laps_api_v1_garmin_activities__activity_id__laps_get"];
384
+ put?: never;
385
+ post?: never;
386
+ delete?: never;
387
+ options?: never;
388
+ head?: never;
389
+ patch?: never;
390
+ trace?: never;
391
+ };
329
392
  "/api/v1/garmin/activities/{activity_id}/addresses": {
330
393
  parameters: {
331
394
  query?: never;
@@ -825,6 +888,13 @@ export type components = {
825
888
  * "avg_temperature_c": 18,
826
889
  * "calories": 1689,
827
890
  * "created_at": "2026-02-09T23:56:37+00:00",
891
+ * "device": {
892
+ * "device_id": 3444454776,
893
+ * "garmin_product": 4061,
894
+ * "manufacturer": "garmin",
895
+ * "model": "Edge 540 Solar",
896
+ * "software_version": "31.30"
897
+ * },
828
898
  * "device_manufacturer": "garmin",
829
899
  * "distance_km": 50.6,
830
900
  * "duration_seconds": 6932,
@@ -850,6 +920,7 @@ export type components = {
850
920
  * "total_distance": 50598.95,
851
921
  * "total_elapsed_time": 7200.5,
852
922
  * "total_intensity_minutes": 146,
923
+ * "total_strokes": 4250,
853
924
  * "total_timer_time": 6932.1,
854
925
  * "track_point_count": 10707,
855
926
  * "unpaved_distance_km": 0.65,
@@ -984,6 +1055,11 @@ export type components = {
984
1055
  * @description Maximum cadence in RPM
985
1056
  */
986
1057
  max_cadence?: number | null;
1058
+ /**
1059
+ * Total Strokes
1060
+ * @description Total activity strokes
1061
+ */
1062
+ total_strokes?: number | null;
987
1063
  /**
988
1064
  * Calories
989
1065
  * @description Total calories burned
@@ -1064,6 +1140,8 @@ export type components = {
1064
1140
  * @description Number of GPS track points in this activity
1065
1141
  */
1066
1142
  track_point_count?: number | null;
1143
+ /** @description Recording device metadata */
1144
+ device?: components["schemas"]["GarminDevice"] | null;
1067
1145
  };
1068
1146
  /**
1069
1147
  * GarminActivityAddress
@@ -1158,6 +1236,288 @@ export type components = {
1158
1236
  */
1159
1237
  geocoded_at?: string | null;
1160
1238
  };
1239
+ /**
1240
+ * GarminActivityClimb
1241
+ * @description Garmin-native ClimbPro typed split for an activity.
1242
+ */
1243
+ GarminActivityClimb: {
1244
+ /**
1245
+ * Id
1246
+ * @description Unique climb row identifier
1247
+ */
1248
+ id: number;
1249
+ /**
1250
+ * Activity Id
1251
+ * @description Parent Garmin activity identifier
1252
+ */
1253
+ activity_id: string;
1254
+ /**
1255
+ * Source Split Index
1256
+ * @description Zero-based Garmin typed split order
1257
+ */
1258
+ source_split_index: number;
1259
+ /**
1260
+ * Message Index
1261
+ * @description Garmin message index
1262
+ */
1263
+ message_index?: number | null;
1264
+ /**
1265
+ * Split Type
1266
+ * @description Garmin split type label when provided
1267
+ */
1268
+ split_type?: string | null;
1269
+ /**
1270
+ * Climb Type
1271
+ * @description Garmin ClimbPro typed split type
1272
+ */
1273
+ climb_type?: string | null;
1274
+ /**
1275
+ * Start Time
1276
+ * @description UTC climb start time
1277
+ */
1278
+ start_time?: string | null;
1279
+ /**
1280
+ * End Time
1281
+ * @description UTC climb end time
1282
+ */
1283
+ end_time?: string | null;
1284
+ /**
1285
+ * Start Time Local
1286
+ * @description Local climb start time from Garmin
1287
+ */
1288
+ start_time_local?: string | null;
1289
+ /**
1290
+ * Duration Seconds
1291
+ * @description Climb duration in seconds
1292
+ */
1293
+ duration_seconds?: number | null;
1294
+ /**
1295
+ * Elapsed Duration Seconds
1296
+ * @description Elapsed climb duration in seconds
1297
+ */
1298
+ elapsed_duration_seconds?: number | null;
1299
+ /**
1300
+ * Moving Duration Seconds
1301
+ * @description Moving climb duration in seconds
1302
+ */
1303
+ moving_duration_seconds?: number | null;
1304
+ /**
1305
+ * Distance Meters
1306
+ * @description Climb distance in meters
1307
+ */
1308
+ distance_meters?: number | null;
1309
+ /**
1310
+ * Elevation Gain Meters
1311
+ * @description Climb elevation gain in meters
1312
+ */
1313
+ elevation_gain_meters?: number | null;
1314
+ /**
1315
+ * Elevation Loss Meters
1316
+ * @description Climb elevation loss in meters
1317
+ */
1318
+ elevation_loss_meters?: number | null;
1319
+ /**
1320
+ * Start Elevation Meters
1321
+ * @description Climb start elevation in meters
1322
+ */
1323
+ start_elevation_meters?: number | null;
1324
+ /**
1325
+ * Average Grade Percent
1326
+ * @description Average climb grade percent
1327
+ */
1328
+ average_grade_percent?: number | null;
1329
+ /**
1330
+ * Max Grade Percent
1331
+ * @description Maximum climb grade percent
1332
+ */
1333
+ max_grade_percent?: number | null;
1334
+ /**
1335
+ * Average Speed Mps
1336
+ * @description Average speed in meters per second
1337
+ */
1338
+ average_speed_mps?: number | null;
1339
+ /**
1340
+ * Average Moving Speed Mps
1341
+ * @description Average moving speed in meters per second
1342
+ */
1343
+ average_moving_speed_mps?: number | null;
1344
+ /**
1345
+ * Max Speed Mps
1346
+ * @description Maximum speed in meters per second
1347
+ */
1348
+ max_speed_mps?: number | null;
1349
+ /**
1350
+ * Average Vertical Speed Mps
1351
+ * @description Average vertical speed in meters per second
1352
+ */
1353
+ average_vertical_speed_mps?: number | null;
1354
+ /**
1355
+ * Average Elapsed Vertical Speed Mps
1356
+ * @description Average elapsed vertical speed in meters per second
1357
+ */
1358
+ average_elapsed_vertical_speed_mps?: number | null;
1359
+ /**
1360
+ * Start Latitude
1361
+ * @description Climb start latitude
1362
+ */
1363
+ start_latitude?: number | null;
1364
+ /**
1365
+ * Start Longitude
1366
+ * @description Climb start longitude
1367
+ */
1368
+ start_longitude?: number | null;
1369
+ /**
1370
+ * End Latitude
1371
+ * @description Climb end latitude
1372
+ */
1373
+ end_latitude?: number | null;
1374
+ /**
1375
+ * End Longitude
1376
+ * @description Climb end longitude
1377
+ */
1378
+ end_longitude?: number | null;
1379
+ /**
1380
+ * Climb Pro Difficulty
1381
+ * @description Garmin ClimbPro difficulty
1382
+ */
1383
+ climb_pro_difficulty?: string | null;
1384
+ /**
1385
+ * Calories
1386
+ * @description Calories recorded for this climb
1387
+ */
1388
+ calories?: number | null;
1389
+ /**
1390
+ * Bmr Calories
1391
+ * @description BMR calories recorded for this climb
1392
+ */
1393
+ bmr_calories?: number | null;
1394
+ /**
1395
+ * Average Temperature C
1396
+ * @description Average temperature in degrees C
1397
+ */
1398
+ average_temperature_c?: number | null;
1399
+ /**
1400
+ * Min Temperature C
1401
+ * @description Minimum temperature in degrees C
1402
+ */
1403
+ min_temperature_c?: number | null;
1404
+ /**
1405
+ * Max Temperature C
1406
+ * @description Maximum temperature in degrees C
1407
+ */
1408
+ max_temperature_c?: number | null;
1409
+ /**
1410
+ * Created At
1411
+ * @description UTC timestamp when the row was inserted
1412
+ */
1413
+ created_at?: string | null;
1414
+ /**
1415
+ * Updated At
1416
+ * @description UTC timestamp when the row was last updated
1417
+ */
1418
+ updated_at?: string | null;
1419
+ };
1420
+ /**
1421
+ * GarminActivityLap
1422
+ * @description Garmin-native or derived activity lap row.
1423
+ */
1424
+ GarminActivityLap: {
1425
+ /**
1426
+ * Id
1427
+ * @description Unique lap row identifier
1428
+ */
1429
+ id: number;
1430
+ /**
1431
+ * Activity Id
1432
+ * @description Parent Garmin activity identifier
1433
+ */
1434
+ activity_id: string;
1435
+ /**
1436
+ * Lap Index
1437
+ * @description One-based lap order within the activity
1438
+ */
1439
+ lap_index: number;
1440
+ /**
1441
+ * Start Time
1442
+ * @description UTC lap start time
1443
+ */
1444
+ start_time?: string | null;
1445
+ /**
1446
+ * End Time
1447
+ * @description UTC lap end time
1448
+ */
1449
+ end_time?: string | null;
1450
+ /**
1451
+ * Duration Seconds
1452
+ * @description Lap timer duration in seconds
1453
+ */
1454
+ duration_seconds?: number | null;
1455
+ /**
1456
+ * Elapsed Duration Seconds
1457
+ * @description Lap elapsed duration in seconds
1458
+ */
1459
+ elapsed_duration_seconds?: number | null;
1460
+ /**
1461
+ * Moving Duration Seconds
1462
+ * @description Lap moving duration in seconds
1463
+ */
1464
+ moving_duration_seconds?: number | null;
1465
+ /**
1466
+ * Distance Meters
1467
+ * @description Lap distance in meters
1468
+ */
1469
+ distance_meters?: number | null;
1470
+ /**
1471
+ * Paved Distance Meters
1472
+ * @description Lap paved distance in meters
1473
+ */
1474
+ paved_distance_meters?: number | null;
1475
+ /**
1476
+ * Unpaved Distance Meters
1477
+ * @description Lap unpaved distance in meters
1478
+ */
1479
+ unpaved_distance_meters?: number | null;
1480
+ /**
1481
+ * Avg Speed Mps
1482
+ * @description Average lap speed in meters per second
1483
+ */
1484
+ avg_speed_mps?: number | null;
1485
+ /**
1486
+ * Avg Heart Rate
1487
+ * @description Average lap heart rate in bpm
1488
+ */
1489
+ avg_heart_rate?: number | null;
1490
+ /**
1491
+ * Max Heart Rate
1492
+ * @description Maximum lap heart rate in bpm
1493
+ */
1494
+ max_heart_rate?: number | null;
1495
+ /**
1496
+ * Total Ascent Meters
1497
+ * @description Lap elevation gain in meters
1498
+ */
1499
+ total_ascent_meters?: number | null;
1500
+ /**
1501
+ * Total Descent Meters
1502
+ * @description Lap elevation loss in meters
1503
+ */
1504
+ total_descent_meters?: number | null;
1505
+ /**
1506
+ * Calories
1507
+ * @description Calories recorded for this lap
1508
+ */
1509
+ calories?: number | null;
1510
+ /**
1511
+ * Created At
1512
+ * @description UTC timestamp when the row was inserted
1513
+ */
1514
+ created_at?: string | null;
1515
+ /**
1516
+ * Updated At
1517
+ * @description UTC timestamp when the row was last updated
1518
+ */
1519
+ updated_at?: string | null;
1520
+ };
1161
1521
  /**
1162
1522
  * GarminActivityManualUpdate
1163
1523
  * @description Partial manual update payload for Garmin activity records.
@@ -1285,6 +1645,11 @@ export type components = {
1285
1645
  * @description Maximum cadence in RPM
1286
1646
  */
1287
1647
  max_cadence?: number | null;
1648
+ /**
1649
+ * Total Strokes
1650
+ * @description Total activity strokes
1651
+ */
1652
+ total_strokes?: number | null;
1288
1653
  /**
1289
1654
  * Calories
1290
1655
  * @description Total calories burned
@@ -1510,6 +1875,65 @@ export type components = {
1510
1875
  */
1511
1876
  max_date: string;
1512
1877
  };
1878
+ /**
1879
+ * GarminDevice
1880
+ * @description Recording device metadata for a Garmin activity.
1881
+ */
1882
+ GarminDevice: {
1883
+ /**
1884
+ * Device Id
1885
+ * @description Recording device serial number
1886
+ */
1887
+ device_id?: number | null;
1888
+ /**
1889
+ * Manufacturer
1890
+ * @description Device manufacturer (e.g. garmin)
1891
+ */
1892
+ manufacturer?: string | null;
1893
+ /**
1894
+ * Garmin Product
1895
+ * @description Raw Garmin product enum id from the FIT file (e.g. 4061)
1896
+ */
1897
+ garmin_product?: number | null;
1898
+ /**
1899
+ * Model
1900
+ * @description Friendly device model name (e.g. Edge 540 Solar)
1901
+ */
1902
+ model?: string | null;
1903
+ /**
1904
+ * Software Version
1905
+ * @description Device firmware/software version (e.g. 31.30)
1906
+ */
1907
+ software_version?: string | null;
1908
+ };
1909
+ /**
1910
+ * GarminDeviceCount
1911
+ * @description Garmin activity count grouped by recording device model.
1912
+ * @example {
1913
+ * "activity_count": 1237,
1914
+ * "label": "Edge 500"
1915
+ * }
1916
+ * @example {
1917
+ * "activity_count": 194,
1918
+ * "label": "Edge 540 Solar"
1919
+ * }
1920
+ * @example {
1921
+ * "activity_count": 5,
1922
+ * "label": "Manual"
1923
+ * }
1924
+ */
1925
+ GarminDeviceCount: {
1926
+ /**
1927
+ * Label
1928
+ * @description Device model label, or Manual when no recording device is available
1929
+ */
1930
+ label: string;
1931
+ /**
1932
+ * Activity Count
1933
+ * @description Number of activities for this device label
1934
+ */
1935
+ activity_count: number;
1936
+ };
1513
1937
  /**
1514
1938
  * GarminSyncResponse
1515
1939
  * @description Response payload for Garmin on-demand sync trigger requests.
@@ -3088,6 +3512,26 @@ export interface operations {
3088
3512
  };
3089
3513
  };
3090
3514
  };
3515
+ list_device_counts_api_v1_garmin_device_counts_get: {
3516
+ parameters: {
3517
+ query?: never;
3518
+ header?: never;
3519
+ path?: never;
3520
+ cookie?: never;
3521
+ };
3522
+ requestBody?: never;
3523
+ responses: {
3524
+ /** @description Successful Response */
3525
+ 200: {
3526
+ headers: {
3527
+ [name: string]: unknown;
3528
+ };
3529
+ content: {
3530
+ "application/json": components["schemas"]["GarminDeviceCount"][];
3531
+ };
3532
+ };
3533
+ };
3534
+ };
3091
3535
  list_activity_totals_api_v1_garmin_activity_totals_get: {
3092
3536
  parameters: {
3093
3537
  query: {
@@ -3309,6 +3753,84 @@ export interface operations {
3309
3753
  };
3310
3754
  };
3311
3755
  };
3756
+ list_activity_climbs_api_v1_garmin_activities__activity_id__climbs_get: {
3757
+ parameters: {
3758
+ query?: never;
3759
+ header?: never;
3760
+ path: {
3761
+ /** @description Garmin activity ID */
3762
+ activity_id: string;
3763
+ };
3764
+ cookie?: never;
3765
+ };
3766
+ requestBody?: never;
3767
+ responses: {
3768
+ /** @description Successful Response */
3769
+ 200: {
3770
+ headers: {
3771
+ [name: string]: unknown;
3772
+ };
3773
+ content: {
3774
+ "application/json": components["schemas"]["GarminActivityClimb"][];
3775
+ };
3776
+ };
3777
+ /** @description Activity not found */
3778
+ 404: {
3779
+ headers: {
3780
+ [name: string]: unknown;
3781
+ };
3782
+ content?: never;
3783
+ };
3784
+ /** @description Validation Error */
3785
+ 422: {
3786
+ headers: {
3787
+ [name: string]: unknown;
3788
+ };
3789
+ content: {
3790
+ "application/json": components["schemas"]["HTTPValidationError"];
3791
+ };
3792
+ };
3793
+ };
3794
+ };
3795
+ list_activity_laps_api_v1_garmin_activities__activity_id__laps_get: {
3796
+ parameters: {
3797
+ query?: never;
3798
+ header?: never;
3799
+ path: {
3800
+ /** @description Garmin activity ID */
3801
+ activity_id: string;
3802
+ };
3803
+ cookie?: never;
3804
+ };
3805
+ requestBody?: never;
3806
+ responses: {
3807
+ /** @description Successful Response */
3808
+ 200: {
3809
+ headers: {
3810
+ [name: string]: unknown;
3811
+ };
3812
+ content: {
3813
+ "application/json": components["schemas"]["GarminActivityLap"][];
3814
+ };
3815
+ };
3816
+ /** @description Activity not found */
3817
+ 404: {
3818
+ headers: {
3819
+ [name: string]: unknown;
3820
+ };
3821
+ content?: never;
3822
+ };
3823
+ /** @description Validation Error */
3824
+ 422: {
3825
+ headers: {
3826
+ [name: string]: unknown;
3827
+ };
3828
+ content: {
3829
+ "application/json": components["schemas"]["HTTPValidationError"];
3830
+ };
3831
+ };
3832
+ };
3833
+ };
3312
3834
  list_activity_addresses_api_v1_garmin_activities__activity_id__addresses_get: {
3313
3835
  parameters: {
3314
3836
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stuartshay/otel-data-types",
3
- "version": "1.0.462",
3
+ "version": "1.0.506",
4
4
  "description": "TypeScript types for otel-data-api — Auto-generated from OpenAPI 3.1 specification",
5
5
  "types": "index.d.ts",
6
6
  "exports": {