@stuartshay/otel-data-types 1.0.473 → 1.0.514

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 +627 -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,70 @@ 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
+ };
392
+ "/api/v1/garmin/laps": {
393
+ parameters: {
394
+ query?: never;
395
+ header?: never;
396
+ path?: never;
397
+ cookie?: never;
398
+ };
399
+ /**
400
+ * List Laps
401
+ * @description Batch laps across activities for cross-activity comparison.
402
+ *
403
+ * Returns activities (newest first) that have at least one lap, each with
404
+ * its laps ordered by ``lap_index`` ascending, so lap N can be compared
405
+ * across dates. Pagination applies to activities, not individual laps.
406
+ */
407
+ get: operations["list_laps_api_v1_garmin_laps_get"];
408
+ put?: never;
409
+ post?: never;
410
+ delete?: never;
411
+ options?: never;
412
+ head?: never;
413
+ patch?: never;
414
+ trace?: never;
415
+ };
329
416
  "/api/v1/garmin/activities/{activity_id}/addresses": {
330
417
  parameters: {
331
418
  query?: never;
@@ -1173,6 +1260,301 @@ export type components = {
1173
1260
  */
1174
1261
  geocoded_at?: string | null;
1175
1262
  };
1263
+ /**
1264
+ * GarminActivityClimb
1265
+ * @description Garmin-native ClimbPro typed split for an activity.
1266
+ */
1267
+ GarminActivityClimb: {
1268
+ /**
1269
+ * Id
1270
+ * @description Unique climb row identifier
1271
+ */
1272
+ id: number;
1273
+ /**
1274
+ * Activity Id
1275
+ * @description Parent Garmin activity identifier
1276
+ */
1277
+ activity_id: string;
1278
+ /**
1279
+ * Source Split Index
1280
+ * @description Zero-based Garmin typed split order
1281
+ */
1282
+ source_split_index: number;
1283
+ /**
1284
+ * Message Index
1285
+ * @description Garmin message index
1286
+ */
1287
+ message_index?: number | null;
1288
+ /**
1289
+ * Split Type
1290
+ * @description Garmin split type label when provided
1291
+ */
1292
+ split_type?: string | null;
1293
+ /**
1294
+ * Climb Type
1295
+ * @description Garmin ClimbPro typed split type
1296
+ */
1297
+ climb_type?: string | null;
1298
+ /**
1299
+ * Start Time
1300
+ * @description UTC climb start time
1301
+ */
1302
+ start_time?: string | null;
1303
+ /**
1304
+ * End Time
1305
+ * @description UTC climb end time
1306
+ */
1307
+ end_time?: string | null;
1308
+ /**
1309
+ * Start Time Local
1310
+ * @description Local climb start time from Garmin
1311
+ */
1312
+ start_time_local?: string | null;
1313
+ /**
1314
+ * Duration Seconds
1315
+ * @description Climb duration in seconds
1316
+ */
1317
+ duration_seconds?: number | null;
1318
+ /**
1319
+ * Elapsed Duration Seconds
1320
+ * @description Elapsed climb duration in seconds
1321
+ */
1322
+ elapsed_duration_seconds?: number | null;
1323
+ /**
1324
+ * Moving Duration Seconds
1325
+ * @description Moving climb duration in seconds
1326
+ */
1327
+ moving_duration_seconds?: number | null;
1328
+ /**
1329
+ * Distance Meters
1330
+ * @description Climb distance in meters
1331
+ */
1332
+ distance_meters?: number | null;
1333
+ /**
1334
+ * Elevation Gain Meters
1335
+ * @description Climb elevation gain in meters
1336
+ */
1337
+ elevation_gain_meters?: number | null;
1338
+ /**
1339
+ * Elevation Loss Meters
1340
+ * @description Climb elevation loss in meters
1341
+ */
1342
+ elevation_loss_meters?: number | null;
1343
+ /**
1344
+ * Start Elevation Meters
1345
+ * @description Climb start elevation in meters
1346
+ */
1347
+ start_elevation_meters?: number | null;
1348
+ /**
1349
+ * Average Grade Percent
1350
+ * @description Average climb grade percent
1351
+ */
1352
+ average_grade_percent?: number | null;
1353
+ /**
1354
+ * Max Grade Percent
1355
+ * @description Maximum climb grade percent
1356
+ */
1357
+ max_grade_percent?: number | null;
1358
+ /**
1359
+ * Average Speed Mps
1360
+ * @description Average speed in meters per second
1361
+ */
1362
+ average_speed_mps?: number | null;
1363
+ /**
1364
+ * Average Moving Speed Mps
1365
+ * @description Average moving speed in meters per second
1366
+ */
1367
+ average_moving_speed_mps?: number | null;
1368
+ /**
1369
+ * Max Speed Mps
1370
+ * @description Maximum speed in meters per second
1371
+ */
1372
+ max_speed_mps?: number | null;
1373
+ /**
1374
+ * Average Vertical Speed Mps
1375
+ * @description Average vertical speed in meters per second
1376
+ */
1377
+ average_vertical_speed_mps?: number | null;
1378
+ /**
1379
+ * Average Elapsed Vertical Speed Mps
1380
+ * @description Average elapsed vertical speed in meters per second
1381
+ */
1382
+ average_elapsed_vertical_speed_mps?: number | null;
1383
+ /**
1384
+ * Start Latitude
1385
+ * @description Climb start latitude
1386
+ */
1387
+ start_latitude?: number | null;
1388
+ /**
1389
+ * Start Longitude
1390
+ * @description Climb start longitude
1391
+ */
1392
+ start_longitude?: number | null;
1393
+ /**
1394
+ * End Latitude
1395
+ * @description Climb end latitude
1396
+ */
1397
+ end_latitude?: number | null;
1398
+ /**
1399
+ * End Longitude
1400
+ * @description Climb end longitude
1401
+ */
1402
+ end_longitude?: number | null;
1403
+ /**
1404
+ * Climb Pro Difficulty
1405
+ * @description Garmin ClimbPro difficulty
1406
+ */
1407
+ climb_pro_difficulty?: string | null;
1408
+ /**
1409
+ * Calories
1410
+ * @description Calories recorded for this climb
1411
+ */
1412
+ calories?: number | null;
1413
+ /**
1414
+ * Bmr Calories
1415
+ * @description BMR calories recorded for this climb
1416
+ */
1417
+ bmr_calories?: number | null;
1418
+ /**
1419
+ * Average Temperature C
1420
+ * @description Average temperature in degrees C
1421
+ */
1422
+ average_temperature_c?: number | null;
1423
+ /**
1424
+ * Min Temperature C
1425
+ * @description Minimum temperature in degrees C
1426
+ */
1427
+ min_temperature_c?: number | null;
1428
+ /**
1429
+ * Max Temperature C
1430
+ * @description Maximum temperature in degrees C
1431
+ */
1432
+ max_temperature_c?: number | null;
1433
+ /**
1434
+ * Created At
1435
+ * @description UTC timestamp when the row was inserted
1436
+ */
1437
+ created_at?: string | null;
1438
+ /**
1439
+ * Updated At
1440
+ * @description UTC timestamp when the row was last updated
1441
+ */
1442
+ updated_at?: string | null;
1443
+ };
1444
+ /**
1445
+ * GarminActivityLap
1446
+ * @description Garmin-native or derived activity lap row.
1447
+ */
1448
+ GarminActivityLap: {
1449
+ /**
1450
+ * Id
1451
+ * @description Unique lap row identifier
1452
+ */
1453
+ id: number;
1454
+ /**
1455
+ * Activity Id
1456
+ * @description Parent Garmin activity identifier
1457
+ */
1458
+ activity_id: string;
1459
+ /**
1460
+ * Lap Index
1461
+ * @description One-based lap order within the activity
1462
+ */
1463
+ lap_index: number;
1464
+ /**
1465
+ * Start Time
1466
+ * @description UTC lap start time
1467
+ */
1468
+ start_time?: string | null;
1469
+ /**
1470
+ * End Time
1471
+ * @description UTC lap end time
1472
+ */
1473
+ end_time?: string | null;
1474
+ /**
1475
+ * Duration Seconds
1476
+ * @description Lap timer duration in seconds
1477
+ */
1478
+ duration_seconds?: number | null;
1479
+ /**
1480
+ * Elapsed Duration Seconds
1481
+ * @description Lap elapsed duration in seconds
1482
+ */
1483
+ elapsed_duration_seconds?: number | null;
1484
+ /**
1485
+ * Moving Duration Seconds
1486
+ * @description Lap moving duration in seconds
1487
+ */
1488
+ moving_duration_seconds?: number | null;
1489
+ /**
1490
+ * Distance Meters
1491
+ * @description Lap distance in meters
1492
+ */
1493
+ distance_meters?: number | null;
1494
+ /**
1495
+ * Paved Distance Meters
1496
+ * @description Lap paved distance in meters
1497
+ */
1498
+ paved_distance_meters?: number | null;
1499
+ /**
1500
+ * Unpaved Distance Meters
1501
+ * @description Lap unpaved distance in meters
1502
+ */
1503
+ unpaved_distance_meters?: number | null;
1504
+ /**
1505
+ * Avg Speed Mps
1506
+ * @description Average lap speed in meters per second
1507
+ */
1508
+ avg_speed_mps?: number | null;
1509
+ /**
1510
+ * Avg Heart Rate
1511
+ * @description Average lap heart rate in bpm
1512
+ */
1513
+ avg_heart_rate?: number | null;
1514
+ /**
1515
+ * Max Heart Rate
1516
+ * @description Maximum lap heart rate in bpm
1517
+ */
1518
+ max_heart_rate?: number | null;
1519
+ /**
1520
+ * Total Ascent Meters
1521
+ * @description Lap elevation gain in meters
1522
+ */
1523
+ total_ascent_meters?: number | null;
1524
+ /**
1525
+ * Total Descent Meters
1526
+ * @description Lap elevation loss in meters
1527
+ */
1528
+ total_descent_meters?: number | null;
1529
+ /**
1530
+ * Calories
1531
+ * @description Calories recorded for this lap
1532
+ */
1533
+ calories?: number | null;
1534
+ /**
1535
+ * Created At
1536
+ * @description UTC timestamp when the row was inserted
1537
+ */
1538
+ created_at?: string | null;
1539
+ /**
1540
+ * Updated At
1541
+ * @description UTC timestamp when the row was last updated
1542
+ */
1543
+ updated_at?: string | null;
1544
+ };
1545
+ /**
1546
+ * GarminActivityLapsGroup
1547
+ * @description Laps for a single activity within the batch laps response.
1548
+ */
1549
+ GarminActivityLapsGroup: {
1550
+ /** @description Parent activity summary */
1551
+ activity: components["schemas"]["GarminLapsActivity"];
1552
+ /**
1553
+ * Laps
1554
+ * @description Laps ordered by lap_index ascending
1555
+ */
1556
+ laps: components["schemas"]["GarminActivityLap"][];
1557
+ };
1176
1558
  /**
1177
1559
  * GarminActivityManualUpdate
1178
1560
  * @description Partial manual update payload for Garmin activity records.
@@ -1561,6 +1943,90 @@ export type components = {
1561
1943
  */
1562
1944
  software_version?: string | null;
1563
1945
  };
1946
+ /**
1947
+ * GarminDeviceCount
1948
+ * @description Garmin activity count grouped by recording device model.
1949
+ * @example {
1950
+ * "activity_count": 1237,
1951
+ * "label": "Edge 500"
1952
+ * }
1953
+ * @example {
1954
+ * "activity_count": 194,
1955
+ * "label": "Edge 540 Solar"
1956
+ * }
1957
+ * @example {
1958
+ * "activity_count": 5,
1959
+ * "label": "Manual"
1960
+ * }
1961
+ */
1962
+ GarminDeviceCount: {
1963
+ /**
1964
+ * Label
1965
+ * @description Device model label, or Manual when no recording device is available
1966
+ */
1967
+ label: string;
1968
+ /**
1969
+ * Activity Count
1970
+ * @description Number of activities for this device label
1971
+ */
1972
+ activity_count: number;
1973
+ };
1974
+ /**
1975
+ * GarminLapsActivity
1976
+ * @description Activity summary metadata for a batch laps response item.
1977
+ */
1978
+ GarminLapsActivity: {
1979
+ /**
1980
+ * Activity Id
1981
+ * @description Garmin activity identifier
1982
+ */
1983
+ activity_id: string;
1984
+ /**
1985
+ * Sport
1986
+ * @description Sport type (e.g. cycling)
1987
+ */
1988
+ sport?: string | null;
1989
+ /**
1990
+ * Sub Sport
1991
+ * @description Sub-sport type (e.g. road)
1992
+ */
1993
+ sub_sport?: string | null;
1994
+ /**
1995
+ * Start Time
1996
+ * @description UTC activity start time
1997
+ */
1998
+ start_time?: string | null;
1999
+ /**
2000
+ * Distance Km
2001
+ * @description Total activity distance in kilometers
2002
+ */
2003
+ distance_km?: number | null;
2004
+ /**
2005
+ * Duration Seconds
2006
+ * @description Total activity duration in seconds
2007
+ */
2008
+ duration_seconds?: number | null;
2009
+ /**
2010
+ * Avg Speed Kmh
2011
+ * @description Average activity speed in km/h
2012
+ */
2013
+ avg_speed_kmh?: number | null;
2014
+ /**
2015
+ * Avg Heart Rate
2016
+ * @description Average activity heart rate in bpm
2017
+ */
2018
+ avg_heart_rate?: number | null;
2019
+ /**
2020
+ * Max Heart Rate
2021
+ * @description Maximum activity heart rate in bpm
2022
+ */
2023
+ max_heart_rate?: number | null;
2024
+ /**
2025
+ * Total Ascent M
2026
+ * @description Total activity elevation gain in meters
2027
+ */
2028
+ total_ascent_m?: number | null;
2029
+ };
1564
2030
  /**
1565
2031
  * GarminSyncResponse
1566
2032
  * @description Response payload for Garmin on-demand sync trigger requests.
@@ -2378,6 +2844,29 @@ export type components = {
2378
2844
  */
2379
2845
  offset: number;
2380
2846
  };
2847
+ /** PaginatedResponse[GarminActivityLapsGroup] */
2848
+ PaginatedResponse_GarminActivityLapsGroup_: {
2849
+ /**
2850
+ * Items
2851
+ * @description List of items in the current page
2852
+ */
2853
+ items: components["schemas"]["GarminActivityLapsGroup"][];
2854
+ /**
2855
+ * Total
2856
+ * @description Total number of items matching the query
2857
+ */
2858
+ total: number;
2859
+ /**
2860
+ * Limit
2861
+ * @description Maximum number of items per page
2862
+ */
2863
+ limit: number;
2864
+ /**
2865
+ * Offset
2866
+ * @description Number of items skipped from the start
2867
+ */
2868
+ offset: number;
2869
+ };
2381
2870
  /** PaginatedResponse[GarminActivity] */
2382
2871
  PaginatedResponse_GarminActivity_: {
2383
2872
  /**
@@ -3139,6 +3628,26 @@ export interface operations {
3139
3628
  };
3140
3629
  };
3141
3630
  };
3631
+ list_device_counts_api_v1_garmin_device_counts_get: {
3632
+ parameters: {
3633
+ query?: never;
3634
+ header?: never;
3635
+ path?: never;
3636
+ cookie?: never;
3637
+ };
3638
+ requestBody?: never;
3639
+ responses: {
3640
+ /** @description Successful Response */
3641
+ 200: {
3642
+ headers: {
3643
+ [name: string]: unknown;
3644
+ };
3645
+ content: {
3646
+ "application/json": components["schemas"]["GarminDeviceCount"][];
3647
+ };
3648
+ };
3649
+ };
3650
+ };
3142
3651
  list_activity_totals_api_v1_garmin_activity_totals_get: {
3143
3652
  parameters: {
3144
3653
  query: {
@@ -3360,6 +3869,124 @@ export interface operations {
3360
3869
  };
3361
3870
  };
3362
3871
  };
3872
+ list_activity_climbs_api_v1_garmin_activities__activity_id__climbs_get: {
3873
+ parameters: {
3874
+ query?: never;
3875
+ header?: never;
3876
+ path: {
3877
+ /** @description Garmin activity ID */
3878
+ activity_id: string;
3879
+ };
3880
+ cookie?: never;
3881
+ };
3882
+ requestBody?: never;
3883
+ responses: {
3884
+ /** @description Successful Response */
3885
+ 200: {
3886
+ headers: {
3887
+ [name: string]: unknown;
3888
+ };
3889
+ content: {
3890
+ "application/json": components["schemas"]["GarminActivityClimb"][];
3891
+ };
3892
+ };
3893
+ /** @description Activity not found */
3894
+ 404: {
3895
+ headers: {
3896
+ [name: string]: unknown;
3897
+ };
3898
+ content?: never;
3899
+ };
3900
+ /** @description Validation Error */
3901
+ 422: {
3902
+ headers: {
3903
+ [name: string]: unknown;
3904
+ };
3905
+ content: {
3906
+ "application/json": components["schemas"]["HTTPValidationError"];
3907
+ };
3908
+ };
3909
+ };
3910
+ };
3911
+ list_activity_laps_api_v1_garmin_activities__activity_id__laps_get: {
3912
+ parameters: {
3913
+ query?: never;
3914
+ header?: never;
3915
+ path: {
3916
+ /** @description Garmin activity ID */
3917
+ activity_id: string;
3918
+ };
3919
+ cookie?: never;
3920
+ };
3921
+ requestBody?: never;
3922
+ responses: {
3923
+ /** @description Successful Response */
3924
+ 200: {
3925
+ headers: {
3926
+ [name: string]: unknown;
3927
+ };
3928
+ content: {
3929
+ "application/json": components["schemas"]["GarminActivityLap"][];
3930
+ };
3931
+ };
3932
+ /** @description Activity not found */
3933
+ 404: {
3934
+ headers: {
3935
+ [name: string]: unknown;
3936
+ };
3937
+ content?: never;
3938
+ };
3939
+ /** @description Validation Error */
3940
+ 422: {
3941
+ headers: {
3942
+ [name: string]: unknown;
3943
+ };
3944
+ content: {
3945
+ "application/json": components["schemas"]["HTTPValidationError"];
3946
+ };
3947
+ };
3948
+ };
3949
+ };
3950
+ list_laps_api_v1_garmin_laps_get: {
3951
+ parameters: {
3952
+ query?: {
3953
+ /** @description Filter by sport type */
3954
+ sport?: string | null;
3955
+ /** @description Filter from date (YYYY-MM-DD) */
3956
+ date_from?: string | null;
3957
+ /** @description Filter to date (YYYY-MM-DD) */
3958
+ date_to?: string | null;
3959
+ /** @description Maximum number of activities to return per page */
3960
+ limit?: number;
3961
+ /** @description Number of activities to skip for pagination */
3962
+ offset?: number;
3963
+ };
3964
+ header?: never;
3965
+ path?: never;
3966
+ cookie?: never;
3967
+ };
3968
+ requestBody?: never;
3969
+ responses: {
3970
+ /** @description Successful Response */
3971
+ 200: {
3972
+ headers: {
3973
+ [name: string]: unknown;
3974
+ };
3975
+ content: {
3976
+ "application/json": components["schemas"]["PaginatedResponse_GarminActivityLapsGroup_"];
3977
+ };
3978
+ };
3979
+ /** @description Validation Error */
3980
+ 422: {
3981
+ headers: {
3982
+ [name: string]: unknown;
3983
+ };
3984
+ content: {
3985
+ "application/json": components["schemas"]["HTTPValidationError"];
3986
+ };
3987
+ };
3988
+ };
3989
+ };
3363
3990
  list_activity_addresses_api_v1_garmin_activities__activity_id__addresses_get: {
3364
3991
  parameters: {
3365
3992
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stuartshay/otel-data-types",
3
- "version": "1.0.473",
3
+ "version": "1.0.514",
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": {