@stuartshay/otel-graphql-types 1.0.95 → 1.0.445

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 (3) hide show
  1. package/index.d.ts +141 -0
  2. package/package.json +1 -1
  3. package/schema.graphql +267 -0
package/index.d.ts CHANGED
@@ -214,6 +214,81 @@ export interface GarminActivityAddress {
214
214
  waypoint_kind: Scalars['String']['output'];
215
215
  }
216
216
 
217
+ /** Garmin-native ClimbPro typed split for an activity. */
218
+ export interface GarminActivityClimb {
219
+ __typename?: 'GarminActivityClimb';
220
+ /** Parent Garmin activity identifier */
221
+ activity_id: Scalars['String']['output'];
222
+ /** Average elapsed vertical speed in meters per second */
223
+ average_elapsed_vertical_speed_mps?: Maybe<Scalars['Float']['output']>;
224
+ /** Average climb grade percent */
225
+ average_grade_percent?: Maybe<Scalars['Float']['output']>;
226
+ /** Average moving speed in meters per second */
227
+ average_moving_speed_mps?: Maybe<Scalars['Float']['output']>;
228
+ /** Average speed in meters per second */
229
+ average_speed_mps?: Maybe<Scalars['Float']['output']>;
230
+ /** Average temperature in degrees C */
231
+ average_temperature_c?: Maybe<Scalars['Float']['output']>;
232
+ /** Average vertical speed in meters per second */
233
+ average_vertical_speed_mps?: Maybe<Scalars['Float']['output']>;
234
+ /** BMR calories recorded for this climb */
235
+ bmr_calories?: Maybe<Scalars['Float']['output']>;
236
+ /** Calories recorded for this climb */
237
+ calories?: Maybe<Scalars['Float']['output']>;
238
+ /** Garmin ClimbPro difficulty */
239
+ climb_pro_difficulty?: Maybe<Scalars['String']['output']>;
240
+ /** Garmin ClimbPro typed split type */
241
+ climb_type?: Maybe<Scalars['String']['output']>;
242
+ /** UTC timestamp when the row was inserted */
243
+ created_at?: Maybe<Scalars['String']['output']>;
244
+ /** Climb distance in meters */
245
+ distance_meters?: Maybe<Scalars['Float']['output']>;
246
+ /** Climb duration in seconds */
247
+ duration_seconds?: Maybe<Scalars['Float']['output']>;
248
+ /** Elapsed climb duration in seconds */
249
+ elapsed_duration_seconds?: Maybe<Scalars['Float']['output']>;
250
+ /** Climb elevation gain in meters */
251
+ elevation_gain_meters?: Maybe<Scalars['Float']['output']>;
252
+ /** Climb elevation loss in meters */
253
+ elevation_loss_meters?: Maybe<Scalars['Float']['output']>;
254
+ /** Climb end latitude */
255
+ end_latitude?: Maybe<Scalars['Float']['output']>;
256
+ /** Climb end longitude */
257
+ end_longitude?: Maybe<Scalars['Float']['output']>;
258
+ /** UTC climb end time */
259
+ end_time?: Maybe<Scalars['String']['output']>;
260
+ /** Unique climb row identifier */
261
+ id: Scalars['Float']['output'];
262
+ /** Maximum climb grade percent */
263
+ max_grade_percent?: Maybe<Scalars['Float']['output']>;
264
+ /** Maximum speed in meters per second */
265
+ max_speed_mps?: Maybe<Scalars['Float']['output']>;
266
+ /** Maximum temperature in degrees C */
267
+ max_temperature_c?: Maybe<Scalars['Float']['output']>;
268
+ /** Garmin message index */
269
+ message_index?: Maybe<Scalars['Int']['output']>;
270
+ /** Minimum temperature in degrees C */
271
+ min_temperature_c?: Maybe<Scalars['Float']['output']>;
272
+ /** Moving climb duration in seconds */
273
+ moving_duration_seconds?: Maybe<Scalars['Float']['output']>;
274
+ /** Zero-based Garmin typed split order */
275
+ source_split_index: Scalars['Int']['output'];
276
+ /** Garmin split type label when provided */
277
+ split_type?: Maybe<Scalars['String']['output']>;
278
+ /** Climb start elevation in meters */
279
+ start_elevation_meters?: Maybe<Scalars['Float']['output']>;
280
+ /** Climb start latitude */
281
+ start_latitude?: Maybe<Scalars['Float']['output']>;
282
+ /** Climb start longitude */
283
+ start_longitude?: Maybe<Scalars['Float']['output']>;
284
+ /** UTC climb start time */
285
+ start_time?: Maybe<Scalars['String']['output']>;
286
+ /** Local climb start time from Garmin */
287
+ start_time_local?: Maybe<Scalars['String']['output']>;
288
+ /** UTC timestamp when the row was last updated */
289
+ updated_at?: Maybe<Scalars['String']['output']>;
290
+ }
291
+
217
292
  /** Paginated list of Garmin activities. */
218
293
  export interface GarminActivityConnection {
219
294
  __typename?: 'GarminActivityConnection';
@@ -227,6 +302,49 @@ export interface GarminActivityConnection {
227
302
  total: Scalars['Int']['output'];
228
303
  }
229
304
 
305
+ /** Garmin-native or derived activity lap row. */
306
+ export interface GarminActivityLap {
307
+ __typename?: 'GarminActivityLap';
308
+ /** Parent Garmin activity identifier */
309
+ activity_id: Scalars['String']['output'];
310
+ /** Average lap heart rate in bpm */
311
+ avg_heart_rate?: Maybe<Scalars['Int']['output']>;
312
+ /** Average lap speed in meters per second */
313
+ avg_speed_mps?: Maybe<Scalars['Float']['output']>;
314
+ /** Calories recorded for this lap */
315
+ calories?: Maybe<Scalars['Float']['output']>;
316
+ /** UTC timestamp when the row was inserted */
317
+ created_at?: Maybe<Scalars['String']['output']>;
318
+ /** Lap distance in meters */
319
+ distance_meters?: Maybe<Scalars['Float']['output']>;
320
+ /** Lap timer duration in seconds */
321
+ duration_seconds?: Maybe<Scalars['Float']['output']>;
322
+ /** Lap elapsed duration in seconds */
323
+ elapsed_duration_seconds?: Maybe<Scalars['Float']['output']>;
324
+ /** UTC lap end time */
325
+ end_time?: Maybe<Scalars['String']['output']>;
326
+ /** Unique lap row identifier */
327
+ id: Scalars['Float']['output'];
328
+ /** One-based lap order within the activity */
329
+ lap_index: Scalars['Int']['output'];
330
+ /** Maximum lap heart rate in bpm */
331
+ max_heart_rate?: Maybe<Scalars['Int']['output']>;
332
+ /** Lap moving duration in seconds */
333
+ moving_duration_seconds?: Maybe<Scalars['Float']['output']>;
334
+ /** Lap paved distance in meters */
335
+ paved_distance_meters?: Maybe<Scalars['Float']['output']>;
336
+ /** UTC lap start time */
337
+ start_time?: Maybe<Scalars['String']['output']>;
338
+ /** Lap elevation gain in meters */
339
+ total_ascent_meters?: Maybe<Scalars['Float']['output']>;
340
+ /** Lap elevation loss in meters */
341
+ total_descent_meters?: Maybe<Scalars['Float']['output']>;
342
+ /** Lap unpaved distance in meters */
343
+ unpaved_distance_meters?: Maybe<Scalars['Float']['output']>;
344
+ /** UTC timestamp when the row was last updated */
345
+ updated_at?: Maybe<Scalars['String']['output']>;
346
+ }
347
+
230
348
  /** Aggregated Garmin activity totals for a single time bucket (week, month, or year). */
231
349
  export interface GarminActivityTotal {
232
350
  __typename?: 'GarminActivityTotal';
@@ -295,6 +413,15 @@ export interface GarminDevice {
295
413
  software_version?: Maybe<Scalars['String']['output']>;
296
414
  }
297
415
 
416
+ /** Garmin activity count grouped by recording device model. */
417
+ export interface GarminDeviceCount {
418
+ __typename?: 'GarminDeviceCount';
419
+ /** Number of activities for this device label. */
420
+ activity_count: Scalars['Int']['output'];
421
+ /** Device model label, or Manual when an activity has no recording device. */
422
+ label: Scalars['String']['output'];
423
+ }
424
+
298
425
  /** Result payload returned when triggering an on-demand Garmin sync. */
299
426
  export interface GarminSyncTriggerResult {
300
427
  __typename?: 'GarminSyncTriggerResult';
@@ -662,12 +789,18 @@ export interface Query {
662
789
  garminActivity?: Maybe<GarminActivity>;
663
790
  /** Retrieve all reverse-geocoded addresses for a Garmin activity (start, mid-route waypoints, and end). */
664
791
  garminActivityAddresses: Array<GarminActivityAddress>;
792
+ /** Retrieve Garmin-native ClimbPro typed splits for a Garmin activity. */
793
+ garminActivityClimbs: Array<GarminActivityClimb>;
794
+ /** Retrieve Garmin-native or derived laps for a Garmin activity. */
795
+ garminActivityLaps: Array<GarminActivityLap>;
665
796
  /** Aggregate Garmin activity totals grouped by week, month, or year. */
666
797
  garminActivityTotals: Array<GarminActivityTotal>;
667
798
  /** Retrieve chart-optimised track points for a Garmin activity. */
668
799
  garminChartData: Array<GarminChartPoint>;
669
800
  /** Get the earliest and latest Garmin activity timestamps. */
670
801
  garminDateRange: GarminDateRange;
802
+ /** List Garmin recording device labels with activity counts. */
803
+ garminDeviceCounts: Array<GarminDeviceCount>;
671
804
  /** List all distinct sport types with activity counts. */
672
805
  garminSports: Array<SportInfo>;
673
806
  /** Retrieve paginated GPS track points for a Garmin activity. */
@@ -730,6 +863,14 @@ export interface QueryGarminActivityAddressesArgs {
730
863
  activity_id: Scalars['String']['input'];
731
864
  }
732
865
 
866
+ export interface QueryGarminActivityClimbsArgs {
867
+ activity_id: Scalars['String']['input'];
868
+ }
869
+
870
+ export interface QueryGarminActivityLapsArgs {
871
+ activity_id: Scalars['String']['input'];
872
+ }
873
+
733
874
  export interface QueryGarminActivityTotalsArgs {
734
875
  date_from?: InputMaybe<Scalars['String']['input']>;
735
876
  date_to?: InputMaybe<Scalars['String']['input']>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stuartshay/otel-graphql-types",
3
- "version": "1.0.95",
3
+ "version": "1.0.445",
4
4
  "description": "TypeScript types for otel-data-gateway — Auto-generated from GraphQL schema",
5
5
  "types": "index.d.ts",
6
6
  "exports": {
package/schema.graphql CHANGED
@@ -668,6 +668,234 @@ type GarminDateRange {
668
668
  max_date: DateTime!
669
669
  }
670
670
 
671
+ """
672
+ Garmin-native ClimbPro typed split for an activity.
673
+ """
674
+ type GarminActivityClimb {
675
+ """
676
+ Unique climb row identifier
677
+ """
678
+ id: Float!
679
+ """
680
+ Parent Garmin activity identifier
681
+ """
682
+ activity_id: String!
683
+ """
684
+ Zero-based Garmin typed split order
685
+ """
686
+ source_split_index: Int!
687
+ """
688
+ Garmin message index
689
+ """
690
+ message_index: Int
691
+ """
692
+ Garmin split type label when provided
693
+ """
694
+ split_type: String
695
+ """
696
+ Garmin ClimbPro typed split type
697
+ """
698
+ climb_type: String
699
+ """
700
+ UTC climb start time
701
+ """
702
+ start_time: String
703
+ """
704
+ UTC climb end time
705
+ """
706
+ end_time: String
707
+ """
708
+ Local climb start time from Garmin
709
+ """
710
+ start_time_local: String
711
+ """
712
+ Climb duration in seconds
713
+ """
714
+ duration_seconds: Float
715
+ """
716
+ Elapsed climb duration in seconds
717
+ """
718
+ elapsed_duration_seconds: Float
719
+ """
720
+ Moving climb duration in seconds
721
+ """
722
+ moving_duration_seconds: Float
723
+ """
724
+ Climb distance in meters
725
+ """
726
+ distance_meters: Float
727
+ """
728
+ Climb elevation gain in meters
729
+ """
730
+ elevation_gain_meters: Float
731
+ """
732
+ Climb elevation loss in meters
733
+ """
734
+ elevation_loss_meters: Float
735
+ """
736
+ Climb start elevation in meters
737
+ """
738
+ start_elevation_meters: Float
739
+ """
740
+ Average climb grade percent
741
+ """
742
+ average_grade_percent: Float
743
+ """
744
+ Maximum climb grade percent
745
+ """
746
+ max_grade_percent: Float
747
+ """
748
+ Average speed in meters per second
749
+ """
750
+ average_speed_mps: Float
751
+ """
752
+ Average moving speed in meters per second
753
+ """
754
+ average_moving_speed_mps: Float
755
+ """
756
+ Maximum speed in meters per second
757
+ """
758
+ max_speed_mps: Float
759
+ """
760
+ Average vertical speed in meters per second
761
+ """
762
+ average_vertical_speed_mps: Float
763
+ """
764
+ Average elapsed vertical speed in meters per second
765
+ """
766
+ average_elapsed_vertical_speed_mps: Float
767
+ """
768
+ Climb start latitude
769
+ """
770
+ start_latitude: Float
771
+ """
772
+ Climb start longitude
773
+ """
774
+ start_longitude: Float
775
+ """
776
+ Climb end latitude
777
+ """
778
+ end_latitude: Float
779
+ """
780
+ Climb end longitude
781
+ """
782
+ end_longitude: Float
783
+ """
784
+ Garmin ClimbPro difficulty
785
+ """
786
+ climb_pro_difficulty: String
787
+ """
788
+ Calories recorded for this climb
789
+ """
790
+ calories: Float
791
+ """
792
+ BMR calories recorded for this climb
793
+ """
794
+ bmr_calories: Float
795
+ """
796
+ Average temperature in degrees C
797
+ """
798
+ average_temperature_c: Float
799
+ """
800
+ Minimum temperature in degrees C
801
+ """
802
+ min_temperature_c: Float
803
+ """
804
+ Maximum temperature in degrees C
805
+ """
806
+ max_temperature_c: Float
807
+ """
808
+ UTC timestamp when the row was inserted
809
+ """
810
+ created_at: String
811
+ """
812
+ UTC timestamp when the row was last updated
813
+ """
814
+ updated_at: String
815
+ }
816
+
817
+ """
818
+ Garmin-native or derived activity lap row.
819
+ """
820
+ type GarminActivityLap {
821
+ """
822
+ Unique lap row identifier
823
+ """
824
+ id: Float!
825
+ """
826
+ Parent Garmin activity identifier
827
+ """
828
+ activity_id: String!
829
+ """
830
+ One-based lap order within the activity
831
+ """
832
+ lap_index: Int!
833
+ """
834
+ UTC lap start time
835
+ """
836
+ start_time: String
837
+ """
838
+ UTC lap end time
839
+ """
840
+ end_time: String
841
+ """
842
+ Lap timer duration in seconds
843
+ """
844
+ duration_seconds: Float
845
+ """
846
+ Lap elapsed duration in seconds
847
+ """
848
+ elapsed_duration_seconds: Float
849
+ """
850
+ Lap moving duration in seconds
851
+ """
852
+ moving_duration_seconds: Float
853
+ """
854
+ Lap distance in meters
855
+ """
856
+ distance_meters: Float
857
+ """
858
+ Lap paved distance in meters
859
+ """
860
+ paved_distance_meters: Float
861
+ """
862
+ Lap unpaved distance in meters
863
+ """
864
+ unpaved_distance_meters: Float
865
+ """
866
+ Average lap speed in meters per second
867
+ """
868
+ avg_speed_mps: Float
869
+ """
870
+ Average lap heart rate in bpm
871
+ """
872
+ avg_heart_rate: Int
873
+ """
874
+ Maximum lap heart rate in bpm
875
+ """
876
+ max_heart_rate: Int
877
+ """
878
+ Lap elevation gain in meters
879
+ """
880
+ total_ascent_meters: Float
881
+ """
882
+ Lap elevation loss in meters
883
+ """
884
+ total_descent_meters: Float
885
+ """
886
+ Calories recorded for this lap
887
+ """
888
+ calories: Float
889
+ """
890
+ UTC timestamp when the row was inserted
891
+ """
892
+ created_at: String
893
+ """
894
+ UTC timestamp when the row was last updated
895
+ """
896
+ updated_at: String
897
+ }
898
+
671
899
  """
672
900
  Individual GPS track point within a Garmin activity.
673
901
  """
@@ -906,6 +1134,20 @@ type SportInfo {
906
1134
  activity_count: Int!
907
1135
  }
908
1136
 
1137
+ """
1138
+ Garmin activity count grouped by recording device model.
1139
+ """
1140
+ type GarminDeviceCount {
1141
+ """
1142
+ Device model label, or Manual when an activity has no recording device.
1143
+ """
1144
+ label: String!
1145
+ """
1146
+ Number of activities for this device label.
1147
+ """
1148
+ activity_count: Int!
1149
+ }
1150
+
909
1151
  """
910
1152
  Lightweight track point optimised for time-series chart rendering.
911
1153
  """
@@ -1492,6 +1734,11 @@ type Query {
1492
1734
  """
1493
1735
  garminSports: [SportInfo!]!
1494
1736
 
1737
+ """
1738
+ List Garmin recording device labels with activity counts.
1739
+ """
1740
+ garminDeviceCounts: [GarminDeviceCount!]!
1741
+
1495
1742
  """
1496
1743
  Retrieve chart-optimised track points for a Garmin activity.
1497
1744
  """
@@ -1502,6 +1749,26 @@ type Query {
1502
1749
  activity_id: String!
1503
1750
  ): [GarminChartPoint!]!
1504
1751
 
1752
+ """
1753
+ Retrieve Garmin-native ClimbPro typed splits for a Garmin activity.
1754
+ """
1755
+ garminActivityClimbs(
1756
+ """
1757
+ Garmin Connect activity identifier
1758
+ """
1759
+ activity_id: String!
1760
+ ): [GarminActivityClimb!]!
1761
+
1762
+ """
1763
+ Retrieve Garmin-native or derived laps for a Garmin activity.
1764
+ """
1765
+ garminActivityLaps(
1766
+ """
1767
+ Garmin Connect activity identifier
1768
+ """
1769
+ activity_id: String!
1770
+ ): [GarminActivityLap!]!
1771
+
1505
1772
  """
1506
1773
  Retrieve all reverse-geocoded addresses for a Garmin activity (start, mid-route waypoints, and end).
1507
1774
  """