@stuartshay/otel-data-types 1.0.506 → 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.
- package/index.d.ts +156 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -389,6 +389,30 @@ export type paths = {
|
|
|
389
389
|
patch?: never;
|
|
390
390
|
trace?: never;
|
|
391
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
|
+
};
|
|
392
416
|
"/api/v1/garmin/activities/{activity_id}/addresses": {
|
|
393
417
|
parameters: {
|
|
394
418
|
query?: never;
|
|
@@ -1518,6 +1542,19 @@ export type components = {
|
|
|
1518
1542
|
*/
|
|
1519
1543
|
updated_at?: string | null;
|
|
1520
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
|
+
};
|
|
1521
1558
|
/**
|
|
1522
1559
|
* GarminActivityManualUpdate
|
|
1523
1560
|
* @description Partial manual update payload for Garmin activity records.
|
|
@@ -1934,6 +1971,62 @@ export type components = {
|
|
|
1934
1971
|
*/
|
|
1935
1972
|
activity_count: number;
|
|
1936
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
|
+
};
|
|
1937
2030
|
/**
|
|
1938
2031
|
* GarminSyncResponse
|
|
1939
2032
|
* @description Response payload for Garmin on-demand sync trigger requests.
|
|
@@ -2751,6 +2844,29 @@ export type components = {
|
|
|
2751
2844
|
*/
|
|
2752
2845
|
offset: number;
|
|
2753
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
|
+
};
|
|
2754
2870
|
/** PaginatedResponse[GarminActivity] */
|
|
2755
2871
|
PaginatedResponse_GarminActivity_: {
|
|
2756
2872
|
/**
|
|
@@ -3831,6 +3947,46 @@ export interface operations {
|
|
|
3831
3947
|
};
|
|
3832
3948
|
};
|
|
3833
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
|
+
};
|
|
3834
3990
|
list_activity_addresses_api_v1_garmin_activities__activity_id__addresses_get: {
|
|
3835
3991
|
parameters: {
|
|
3836
3992
|
query?: never;
|