@stuartshay/otel-data-types 1.0.633 → 1.0.636
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 +180 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -413,6 +413,31 @@ export type paths = {
|
|
|
413
413
|
patch?: never;
|
|
414
414
|
trace?: never;
|
|
415
415
|
};
|
|
416
|
+
"/api/v1/garmin/activities/{activity_id}/weather-hourly": {
|
|
417
|
+
parameters: {
|
|
418
|
+
query?: never;
|
|
419
|
+
header?: never;
|
|
420
|
+
path?: never;
|
|
421
|
+
cookie?: never;
|
|
422
|
+
};
|
|
423
|
+
/**
|
|
424
|
+
* List Activity Weather Hourly
|
|
425
|
+
* @description Return route-sampled, hour-by-hour Open-Meteo weather for an activity.
|
|
426
|
+
*
|
|
427
|
+
* Unlike ``/weather`` (a single "conditions at the start" snapshot), each
|
|
428
|
+
* row here is sampled at the GPS location the athlete was actually at
|
|
429
|
+
* during that hour. Returns an empty list (not 404) when the activity
|
|
430
|
+
* exists but hasn't been hourly-backfilled yet.
|
|
431
|
+
*/
|
|
432
|
+
get: operations["list_activity_weather_hourly_api_v1_garmin_activities__activity_id__weather_hourly_get"];
|
|
433
|
+
put?: never;
|
|
434
|
+
post?: never;
|
|
435
|
+
delete?: never;
|
|
436
|
+
options?: never;
|
|
437
|
+
head?: never;
|
|
438
|
+
patch?: never;
|
|
439
|
+
trace?: never;
|
|
440
|
+
};
|
|
416
441
|
"/api/v1/garmin/laps": {
|
|
417
442
|
parameters: {
|
|
418
443
|
query?: never;
|
|
@@ -2035,6 +2060,122 @@ export type components = {
|
|
|
2035
2060
|
*/
|
|
2036
2061
|
updated_at?: string | null;
|
|
2037
2062
|
};
|
|
2063
|
+
/**
|
|
2064
|
+
* GarminActivityWeatherHourly
|
|
2065
|
+
* @description Route-sampled, hour-by-hour Open-Meteo weather for an activity.
|
|
2066
|
+
*
|
|
2067
|
+
* Unlike GarminActivityWeather (a single "conditions at the start"
|
|
2068
|
+
* snapshot), this is one row per hour the activity spans, each sampled at
|
|
2069
|
+
* the GPS location the athlete was actually at during that hour.
|
|
2070
|
+
*/
|
|
2071
|
+
GarminActivityWeatherHourly: {
|
|
2072
|
+
/**
|
|
2073
|
+
* Activity Id
|
|
2074
|
+
* @description Parent Garmin activity identifier
|
|
2075
|
+
*/
|
|
2076
|
+
activity_id: string;
|
|
2077
|
+
/**
|
|
2078
|
+
* Hour Index
|
|
2079
|
+
* @description Zero-based hour offset from the activity start
|
|
2080
|
+
*/
|
|
2081
|
+
hour_index: number;
|
|
2082
|
+
/**
|
|
2083
|
+
* Observed At
|
|
2084
|
+
* Format: date-time
|
|
2085
|
+
* @description UTC hourly bucket the reading was taken from
|
|
2086
|
+
*/
|
|
2087
|
+
observed_at: string;
|
|
2088
|
+
/**
|
|
2089
|
+
* Latitude
|
|
2090
|
+
* @description Latitude sampled from the nearest track point for this hour
|
|
2091
|
+
*/
|
|
2092
|
+
latitude: number;
|
|
2093
|
+
/**
|
|
2094
|
+
* Longitude
|
|
2095
|
+
* @description Longitude sampled from the nearest track point for this hour
|
|
2096
|
+
*/
|
|
2097
|
+
longitude: number;
|
|
2098
|
+
/**
|
|
2099
|
+
* Temperature C
|
|
2100
|
+
* @description Air temperature in degrees C
|
|
2101
|
+
*/
|
|
2102
|
+
temperature_c?: number | null;
|
|
2103
|
+
/**
|
|
2104
|
+
* Apparent Temperature C
|
|
2105
|
+
* @description Feels-like temperature in degrees C
|
|
2106
|
+
*/
|
|
2107
|
+
apparent_temperature_c?: number | null;
|
|
2108
|
+
/**
|
|
2109
|
+
* Relative Humidity Pct
|
|
2110
|
+
* @description Relative humidity percent
|
|
2111
|
+
*/
|
|
2112
|
+
relative_humidity_pct?: number | null;
|
|
2113
|
+
/**
|
|
2114
|
+
* Precipitation Mm
|
|
2115
|
+
* @description Total precipitation in millimeters
|
|
2116
|
+
*/
|
|
2117
|
+
precipitation_mm?: number | null;
|
|
2118
|
+
/**
|
|
2119
|
+
* Rain Mm
|
|
2120
|
+
* @description Rainfall in millimeters
|
|
2121
|
+
*/
|
|
2122
|
+
rain_mm?: number | null;
|
|
2123
|
+
/**
|
|
2124
|
+
* Snowfall Cm
|
|
2125
|
+
* @description Snowfall in centimeters
|
|
2126
|
+
*/
|
|
2127
|
+
snowfall_cm?: number | null;
|
|
2128
|
+
/**
|
|
2129
|
+
* Cloud Cover Pct
|
|
2130
|
+
* @description Total cloud cover percent
|
|
2131
|
+
*/
|
|
2132
|
+
cloud_cover_pct?: number | null;
|
|
2133
|
+
/**
|
|
2134
|
+
* Wind Speed Kmh
|
|
2135
|
+
* @description Wind speed in km/h
|
|
2136
|
+
*/
|
|
2137
|
+
wind_speed_kmh?: number | null;
|
|
2138
|
+
/**
|
|
2139
|
+
* Wind Gusts Kmh
|
|
2140
|
+
* @description Wind gust speed in km/h
|
|
2141
|
+
*/
|
|
2142
|
+
wind_gusts_kmh?: number | null;
|
|
2143
|
+
/**
|
|
2144
|
+
* Wind Direction Deg
|
|
2145
|
+
* @description Wind direction in degrees
|
|
2146
|
+
*/
|
|
2147
|
+
wind_direction_deg?: number | null;
|
|
2148
|
+
/**
|
|
2149
|
+
* Surface Pressure Hpa
|
|
2150
|
+
* @description Surface pressure in hPa
|
|
2151
|
+
*/
|
|
2152
|
+
surface_pressure_hpa?: number | null;
|
|
2153
|
+
/**
|
|
2154
|
+
* Weather Code
|
|
2155
|
+
* @description WMO weather interpretation code
|
|
2156
|
+
*/
|
|
2157
|
+
weather_code?: number | null;
|
|
2158
|
+
/**
|
|
2159
|
+
* Source
|
|
2160
|
+
* @description Open-Meteo API the row came from: archive or forecast
|
|
2161
|
+
*/
|
|
2162
|
+
source: string;
|
|
2163
|
+
/**
|
|
2164
|
+
* Is Provisional
|
|
2165
|
+
* @description True when sourced from the forecast API pending ERA5 archive settlement
|
|
2166
|
+
*/
|
|
2167
|
+
is_provisional: boolean;
|
|
2168
|
+
/**
|
|
2169
|
+
* Created At
|
|
2170
|
+
* @description UTC timestamp when the row was inserted
|
|
2171
|
+
*/
|
|
2172
|
+
created_at?: string | null;
|
|
2173
|
+
/**
|
|
2174
|
+
* Updated At
|
|
2175
|
+
* @description UTC timestamp when the row was last updated
|
|
2176
|
+
*/
|
|
2177
|
+
updated_at?: string | null;
|
|
2178
|
+
};
|
|
2038
2179
|
/**
|
|
2039
2180
|
* GarminChartPoint
|
|
2040
2181
|
* @description Lightweight track point optimised for time-series chart rendering.
|
|
@@ -4499,6 +4640,45 @@ export interface operations {
|
|
|
4499
4640
|
};
|
|
4500
4641
|
};
|
|
4501
4642
|
};
|
|
4643
|
+
list_activity_weather_hourly_api_v1_garmin_activities__activity_id__weather_hourly_get: {
|
|
4644
|
+
parameters: {
|
|
4645
|
+
query?: never;
|
|
4646
|
+
header?: never;
|
|
4647
|
+
path: {
|
|
4648
|
+
/** @description Garmin activity ID */
|
|
4649
|
+
activity_id: string;
|
|
4650
|
+
};
|
|
4651
|
+
cookie?: never;
|
|
4652
|
+
};
|
|
4653
|
+
requestBody?: never;
|
|
4654
|
+
responses: {
|
|
4655
|
+
/** @description Successful Response */
|
|
4656
|
+
200: {
|
|
4657
|
+
headers: {
|
|
4658
|
+
[name: string]: unknown;
|
|
4659
|
+
};
|
|
4660
|
+
content: {
|
|
4661
|
+
"application/json": components["schemas"]["GarminActivityWeatherHourly"][];
|
|
4662
|
+
};
|
|
4663
|
+
};
|
|
4664
|
+
/** @description Activity not found */
|
|
4665
|
+
404: {
|
|
4666
|
+
headers: {
|
|
4667
|
+
[name: string]: unknown;
|
|
4668
|
+
};
|
|
4669
|
+
content?: never;
|
|
4670
|
+
};
|
|
4671
|
+
/** @description Validation Error */
|
|
4672
|
+
422: {
|
|
4673
|
+
headers: {
|
|
4674
|
+
[name: string]: unknown;
|
|
4675
|
+
};
|
|
4676
|
+
content: {
|
|
4677
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
4678
|
+
};
|
|
4679
|
+
};
|
|
4680
|
+
};
|
|
4681
|
+
};
|
|
4502
4682
|
list_laps_api_v1_garmin_laps_get: {
|
|
4503
4683
|
parameters: {
|
|
4504
4684
|
query?: {
|