@stuartshay/otel-data-types 1.0.66 → 1.0.69
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 +100 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -214,6 +214,30 @@ export type paths = {
|
|
|
214
214
|
patch?: never;
|
|
215
215
|
trace?: never;
|
|
216
216
|
};
|
|
217
|
+
"/api/v1/garmin/activities/{activity_id}/chart-data": {
|
|
218
|
+
parameters: {
|
|
219
|
+
query?: never;
|
|
220
|
+
header?: never;
|
|
221
|
+
path?: never;
|
|
222
|
+
cookie?: never;
|
|
223
|
+
};
|
|
224
|
+
/**
|
|
225
|
+
* Get Chart Data
|
|
226
|
+
* @description Return all track points for chart rendering (no pagination).
|
|
227
|
+
*
|
|
228
|
+
* Provides the complete time-series data (altitude, speed, heart rate, cadence)
|
|
229
|
+
* for an activity, deduplicated by timestamp. Designed for client-side charting
|
|
230
|
+
* without pagination limits.
|
|
231
|
+
*/
|
|
232
|
+
get: operations["get_chart_data_api_v1_garmin_activities__activity_id__chart_data_get"];
|
|
233
|
+
put?: never;
|
|
234
|
+
post?: never;
|
|
235
|
+
delete?: never;
|
|
236
|
+
options?: never;
|
|
237
|
+
head?: never;
|
|
238
|
+
patch?: never;
|
|
239
|
+
trace?: never;
|
|
240
|
+
};
|
|
217
241
|
"/api/v1/gps/unified": {
|
|
218
242
|
parameters: {
|
|
219
243
|
query?: never;
|
|
@@ -547,6 +571,43 @@ export type components = {
|
|
|
547
571
|
/** Track Point Count */
|
|
548
572
|
track_point_count?: number | null;
|
|
549
573
|
};
|
|
574
|
+
/**
|
|
575
|
+
* GarminChartPoint
|
|
576
|
+
* @example {
|
|
577
|
+
* "altitude": 12.4,
|
|
578
|
+
* "cadence": 80,
|
|
579
|
+
* "distance_from_start_km": 0,
|
|
580
|
+
* "heart_rate": 135,
|
|
581
|
+
* "latitude": 40.71501586586237,
|
|
582
|
+
* "longitude": -74.01768794283271,
|
|
583
|
+
* "speed_kmh": 24.5,
|
|
584
|
+
* "temperature_c": 18,
|
|
585
|
+
* "timestamp": "2025-11-08T18:21:13Z"
|
|
586
|
+
* }
|
|
587
|
+
*/
|
|
588
|
+
GarminChartPoint: {
|
|
589
|
+
/**
|
|
590
|
+
* Timestamp
|
|
591
|
+
* Format: date-time
|
|
592
|
+
*/
|
|
593
|
+
timestamp: string;
|
|
594
|
+
/** Altitude */
|
|
595
|
+
altitude?: number | null;
|
|
596
|
+
/** Distance From Start Km */
|
|
597
|
+
distance_from_start_km?: number | null;
|
|
598
|
+
/** Speed Kmh */
|
|
599
|
+
speed_kmh?: number | null;
|
|
600
|
+
/** Heart Rate */
|
|
601
|
+
heart_rate?: number | null;
|
|
602
|
+
/** Cadence */
|
|
603
|
+
cadence?: number | null;
|
|
604
|
+
/** Temperature C */
|
|
605
|
+
temperature_c?: number | null;
|
|
606
|
+
/** Latitude */
|
|
607
|
+
latitude: number;
|
|
608
|
+
/** Longitude */
|
|
609
|
+
longitude: number;
|
|
610
|
+
};
|
|
550
611
|
/**
|
|
551
612
|
* GarminTrackPoint
|
|
552
613
|
* @example {
|
|
@@ -1293,6 +1354,45 @@ export interface operations {
|
|
|
1293
1354
|
};
|
|
1294
1355
|
};
|
|
1295
1356
|
};
|
|
1357
|
+
get_chart_data_api_v1_garmin_activities__activity_id__chart_data_get: {
|
|
1358
|
+
parameters: {
|
|
1359
|
+
query?: never;
|
|
1360
|
+
header?: never;
|
|
1361
|
+
path: {
|
|
1362
|
+
/** @description Garmin activity ID */
|
|
1363
|
+
activity_id: string;
|
|
1364
|
+
};
|
|
1365
|
+
cookie?: never;
|
|
1366
|
+
};
|
|
1367
|
+
requestBody?: never;
|
|
1368
|
+
responses: {
|
|
1369
|
+
/** @description Successful Response */
|
|
1370
|
+
200: {
|
|
1371
|
+
headers: {
|
|
1372
|
+
[name: string]: unknown;
|
|
1373
|
+
};
|
|
1374
|
+
content: {
|
|
1375
|
+
"application/json": components["schemas"]["GarminChartPoint"][];
|
|
1376
|
+
};
|
|
1377
|
+
};
|
|
1378
|
+
/** @description Activity not found */
|
|
1379
|
+
404: {
|
|
1380
|
+
headers: {
|
|
1381
|
+
[name: string]: unknown;
|
|
1382
|
+
};
|
|
1383
|
+
content?: never;
|
|
1384
|
+
};
|
|
1385
|
+
/** @description Validation Error */
|
|
1386
|
+
422: {
|
|
1387
|
+
headers: {
|
|
1388
|
+
[name: string]: unknown;
|
|
1389
|
+
};
|
|
1390
|
+
content: {
|
|
1391
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
1392
|
+
};
|
|
1393
|
+
};
|
|
1394
|
+
};
|
|
1395
|
+
};
|
|
1296
1396
|
list_unified_gps_api_v1_gps_unified_get: {
|
|
1297
1397
|
parameters: {
|
|
1298
1398
|
query?: {
|