@stuartshay/otel-data-types 1.0.696 → 1.0.700

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 +10 -5
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -334,11 +334,13 @@ export type paths = {
334
334
  };
335
335
  /**
336
336
  * Get Chart Data
337
- * @description Return all track points for chart rendering (no pagination).
337
+ * @description Return track points for chart rendering, in full or time-bucketed.
338
338
  *
339
- * Provides the complete time-series data (altitude, speed, heart rate, cadence)
340
- * for an activity, ordered by timestamp. Uniqueness is guaranteed by the
341
- * UNIQUE(activity_id, timestamp) database constraint.
339
+ * Provides time-series data (altitude, speed, heart rate, cadence) for an
340
+ * activity, ordered by timestamp. Uniqueness of the raw (unbinned) series is
341
+ * guaranteed by the UNIQUE(activity_id, timestamp) database constraint. Use
342
+ * `bins` to downsample large activities instead of paying to fetch and
343
+ * serialize every raw point.
342
344
  */
343
345
  get: operations["get_chart_data_api_v1_garmin_activities__activity_id__chart_data_get"];
344
346
  put?: never;
@@ -5025,7 +5027,10 @@ export interface operations {
5025
5027
  };
5026
5028
  get_chart_data_api_v1_garmin_activities__activity_id__chart_data_get: {
5027
5029
  parameters: {
5028
- query?: never;
5030
+ query?: {
5031
+ /** @description When set, downsamples to at most this many time-bucketed points (numeric columns averaged, categorical columns use the per-bucket mode) instead of every raw row -- large activities can have tens of thousands of points. Omit for the full, unbinned series. */
5032
+ bins?: number | null;
5033
+ };
5029
5034
  header?: never;
5030
5035
  path: {
5031
5036
  /** @description Garmin activity ID */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stuartshay/otel-data-types",
3
- "version": "1.0.696",
3
+ "version": "1.0.700",
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": {