@stuartshay/otel-data-types 1.0.625 → 1.0.633
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 +170 -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/activities/{activity_id}/weather": {
|
|
393
|
+
parameters: {
|
|
394
|
+
query?: never;
|
|
395
|
+
header?: never;
|
|
396
|
+
path?: never;
|
|
397
|
+
cookie?: never;
|
|
398
|
+
};
|
|
399
|
+
/**
|
|
400
|
+
* Get Activity Weather
|
|
401
|
+
* @description Return Open-Meteo weather conditions for an activity's start location/time.
|
|
402
|
+
*
|
|
403
|
+
* Returns ``null`` (not 404) when the activity exists but hasn't been
|
|
404
|
+
* backfilled with weather yet — garmin-sync's weather backfill job fills
|
|
405
|
+
* this in asynchronously.
|
|
406
|
+
*/
|
|
407
|
+
get: operations["get_activity_weather_api_v1_garmin_activities__activity_id__weather_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/laps": {
|
|
393
417
|
parameters: {
|
|
394
418
|
query?: never;
|
|
@@ -1904,6 +1928,113 @@ export type components = {
|
|
|
1904
1928
|
*/
|
|
1905
1929
|
total_calories?: number | null;
|
|
1906
1930
|
};
|
|
1931
|
+
/**
|
|
1932
|
+
* GarminActivityWeather
|
|
1933
|
+
* @description Open-Meteo weather conditions matched to an activity's start location/time.
|
|
1934
|
+
*/
|
|
1935
|
+
GarminActivityWeather: {
|
|
1936
|
+
/**
|
|
1937
|
+
* Activity Id
|
|
1938
|
+
* @description Parent Garmin activity identifier
|
|
1939
|
+
*/
|
|
1940
|
+
activity_id: string;
|
|
1941
|
+
/**
|
|
1942
|
+
* Observed At
|
|
1943
|
+
* Format: date-time
|
|
1944
|
+
* @description UTC hourly bucket the reading was taken from
|
|
1945
|
+
*/
|
|
1946
|
+
observed_at: string;
|
|
1947
|
+
/**
|
|
1948
|
+
* Latitude
|
|
1949
|
+
* @description Latitude the weather was looked up for
|
|
1950
|
+
*/
|
|
1951
|
+
latitude: number;
|
|
1952
|
+
/**
|
|
1953
|
+
* Longitude
|
|
1954
|
+
* @description Longitude the weather was looked up for
|
|
1955
|
+
*/
|
|
1956
|
+
longitude: number;
|
|
1957
|
+
/**
|
|
1958
|
+
* Temperature C
|
|
1959
|
+
* @description Air temperature in degrees C
|
|
1960
|
+
*/
|
|
1961
|
+
temperature_c?: number | null;
|
|
1962
|
+
/**
|
|
1963
|
+
* Apparent Temperature C
|
|
1964
|
+
* @description Feels-like temperature in degrees C
|
|
1965
|
+
*/
|
|
1966
|
+
apparent_temperature_c?: number | null;
|
|
1967
|
+
/**
|
|
1968
|
+
* Relative Humidity Pct
|
|
1969
|
+
* @description Relative humidity percent
|
|
1970
|
+
*/
|
|
1971
|
+
relative_humidity_pct?: number | null;
|
|
1972
|
+
/**
|
|
1973
|
+
* Precipitation Mm
|
|
1974
|
+
* @description Total precipitation in millimeters
|
|
1975
|
+
*/
|
|
1976
|
+
precipitation_mm?: number | null;
|
|
1977
|
+
/**
|
|
1978
|
+
* Rain Mm
|
|
1979
|
+
* @description Rainfall in millimeters
|
|
1980
|
+
*/
|
|
1981
|
+
rain_mm?: number | null;
|
|
1982
|
+
/**
|
|
1983
|
+
* Snowfall Cm
|
|
1984
|
+
* @description Snowfall in centimeters
|
|
1985
|
+
*/
|
|
1986
|
+
snowfall_cm?: number | null;
|
|
1987
|
+
/**
|
|
1988
|
+
* Cloud Cover Pct
|
|
1989
|
+
* @description Total cloud cover percent
|
|
1990
|
+
*/
|
|
1991
|
+
cloud_cover_pct?: number | null;
|
|
1992
|
+
/**
|
|
1993
|
+
* Wind Speed Kmh
|
|
1994
|
+
* @description Wind speed in km/h
|
|
1995
|
+
*/
|
|
1996
|
+
wind_speed_kmh?: number | null;
|
|
1997
|
+
/**
|
|
1998
|
+
* Wind Gusts Kmh
|
|
1999
|
+
* @description Wind gust speed in km/h
|
|
2000
|
+
*/
|
|
2001
|
+
wind_gusts_kmh?: number | null;
|
|
2002
|
+
/**
|
|
2003
|
+
* Wind Direction Deg
|
|
2004
|
+
* @description Wind direction in degrees
|
|
2005
|
+
*/
|
|
2006
|
+
wind_direction_deg?: number | null;
|
|
2007
|
+
/**
|
|
2008
|
+
* Surface Pressure Hpa
|
|
2009
|
+
* @description Surface pressure in hPa
|
|
2010
|
+
*/
|
|
2011
|
+
surface_pressure_hpa?: number | null;
|
|
2012
|
+
/**
|
|
2013
|
+
* Weather Code
|
|
2014
|
+
* @description WMO weather interpretation code
|
|
2015
|
+
*/
|
|
2016
|
+
weather_code?: number | null;
|
|
2017
|
+
/**
|
|
2018
|
+
* Source
|
|
2019
|
+
* @description Open-Meteo API the row came from: archive or forecast
|
|
2020
|
+
*/
|
|
2021
|
+
source: string;
|
|
2022
|
+
/**
|
|
2023
|
+
* Is Provisional
|
|
2024
|
+
* @description True when sourced from the forecast API pending ERA5 archive settlement
|
|
2025
|
+
*/
|
|
2026
|
+
is_provisional: boolean;
|
|
2027
|
+
/**
|
|
2028
|
+
* Created At
|
|
2029
|
+
* @description UTC timestamp when the row was inserted
|
|
2030
|
+
*/
|
|
2031
|
+
created_at?: string | null;
|
|
2032
|
+
/**
|
|
2033
|
+
* Updated At
|
|
2034
|
+
* @description UTC timestamp when the row was last updated
|
|
2035
|
+
*/
|
|
2036
|
+
updated_at?: string | null;
|
|
2037
|
+
};
|
|
1907
2038
|
/**
|
|
1908
2039
|
* GarminChartPoint
|
|
1909
2040
|
* @description Lightweight track point optimised for time-series chart rendering.
|
|
@@ -4329,6 +4460,45 @@ export interface operations {
|
|
|
4329
4460
|
};
|
|
4330
4461
|
};
|
|
4331
4462
|
};
|
|
4463
|
+
get_activity_weather_api_v1_garmin_activities__activity_id__weather_get: {
|
|
4464
|
+
parameters: {
|
|
4465
|
+
query?: never;
|
|
4466
|
+
header?: never;
|
|
4467
|
+
path: {
|
|
4468
|
+
/** @description Garmin activity ID */
|
|
4469
|
+
activity_id: string;
|
|
4470
|
+
};
|
|
4471
|
+
cookie?: never;
|
|
4472
|
+
};
|
|
4473
|
+
requestBody?: never;
|
|
4474
|
+
responses: {
|
|
4475
|
+
/** @description Successful Response */
|
|
4476
|
+
200: {
|
|
4477
|
+
headers: {
|
|
4478
|
+
[name: string]: unknown;
|
|
4479
|
+
};
|
|
4480
|
+
content: {
|
|
4481
|
+
"application/json": components["schemas"]["GarminActivityWeather"] | null;
|
|
4482
|
+
};
|
|
4483
|
+
};
|
|
4484
|
+
/** @description Activity not found */
|
|
4485
|
+
404: {
|
|
4486
|
+
headers: {
|
|
4487
|
+
[name: string]: unknown;
|
|
4488
|
+
};
|
|
4489
|
+
content?: never;
|
|
4490
|
+
};
|
|
4491
|
+
/** @description Validation Error */
|
|
4492
|
+
422: {
|
|
4493
|
+
headers: {
|
|
4494
|
+
[name: string]: unknown;
|
|
4495
|
+
};
|
|
4496
|
+
content: {
|
|
4497
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
4498
|
+
};
|
|
4499
|
+
};
|
|
4500
|
+
};
|
|
4501
|
+
};
|
|
4332
4502
|
list_laps_api_v1_garmin_laps_get: {
|
|
4333
4503
|
parameters: {
|
|
4334
4504
|
query?: {
|