@stuartshay/otel-data-types 1.0.661 → 1.0.666
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 +114 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -634,6 +634,26 @@ export type paths = {
|
|
|
634
634
|
patch?: never;
|
|
635
635
|
trace?: never;
|
|
636
636
|
};
|
|
637
|
+
"/api/v1/garmin/segments/{segment_id}/effort-series/batch": {
|
|
638
|
+
parameters: {
|
|
639
|
+
query?: never;
|
|
640
|
+
header?: never;
|
|
641
|
+
path?: never;
|
|
642
|
+
cookie?: never;
|
|
643
|
+
};
|
|
644
|
+
get?: never;
|
|
645
|
+
put?: never;
|
|
646
|
+
/**
|
|
647
|
+
* Get Segment Effort Series Batch
|
|
648
|
+
* @description Return multiple effort series in request order using one database query.
|
|
649
|
+
*/
|
|
650
|
+
post: operations["get_segment_effort_series_batch_api_v1_garmin_segments__segment_id__effort_series_batch_post"];
|
|
651
|
+
delete?: never;
|
|
652
|
+
options?: never;
|
|
653
|
+
head?: never;
|
|
654
|
+
patch?: never;
|
|
655
|
+
trace?: never;
|
|
656
|
+
};
|
|
637
657
|
"/api/v1/gps/unified": {
|
|
638
658
|
parameters: {
|
|
639
659
|
query?: never;
|
|
@@ -3985,6 +4005,57 @@ export type components = {
|
|
|
3985
4005
|
*/
|
|
3986
4006
|
max_heart_rate?: number | null;
|
|
3987
4007
|
};
|
|
4008
|
+
/**
|
|
4009
|
+
* SegmentEffortSeriesBatchItem
|
|
4010
|
+
* @description One effort window requested as part of a batch series lookup.
|
|
4011
|
+
*/
|
|
4012
|
+
SegmentEffortSeriesBatchItem: {
|
|
4013
|
+
/**
|
|
4014
|
+
* Activity Id
|
|
4015
|
+
* @description Garmin activity identifier
|
|
4016
|
+
*/
|
|
4017
|
+
activity_id: string;
|
|
4018
|
+
/**
|
|
4019
|
+
* Effort Start
|
|
4020
|
+
* Format: date-time
|
|
4021
|
+
* @description Effort start timestamp returned by the efforts endpoint
|
|
4022
|
+
*/
|
|
4023
|
+
effort_start: string;
|
|
4024
|
+
/**
|
|
4025
|
+
* Effort End
|
|
4026
|
+
* Format: date-time
|
|
4027
|
+
* @description Effort end timestamp returned by the efforts endpoint
|
|
4028
|
+
*/
|
|
4029
|
+
effort_end: string;
|
|
4030
|
+
};
|
|
4031
|
+
/**
|
|
4032
|
+
* SegmentEffortSeriesBatchRequest
|
|
4033
|
+
* @description Bounded collection of effort windows to bin in one database query.
|
|
4034
|
+
*/
|
|
4035
|
+
SegmentEffortSeriesBatchRequest: {
|
|
4036
|
+
/**
|
|
4037
|
+
* Efforts
|
|
4038
|
+
* @description Effort windows processed and returned in request order
|
|
4039
|
+
*/
|
|
4040
|
+
efforts: components["schemas"]["SegmentEffortSeriesBatchItem"][];
|
|
4041
|
+
/**
|
|
4042
|
+
* Bins
|
|
4043
|
+
* @description Number of distance bins per effort
|
|
4044
|
+
* @default 100
|
|
4045
|
+
*/
|
|
4046
|
+
bins: number;
|
|
4047
|
+
};
|
|
4048
|
+
/**
|
|
4049
|
+
* SegmentEffortSeriesBatchResponse
|
|
4050
|
+
* @description Distance-binned series returned in the same order as the batch request.
|
|
4051
|
+
*/
|
|
4052
|
+
SegmentEffortSeriesBatchResponse: {
|
|
4053
|
+
/**
|
|
4054
|
+
* Items
|
|
4055
|
+
* @description Effort series in request order
|
|
4056
|
+
*/
|
|
4057
|
+
items: components["schemas"]["SegmentEffortSeriesResponse"][];
|
|
4058
|
+
};
|
|
3988
4059
|
/**
|
|
3989
4060
|
* SegmentEffortSeriesBin
|
|
3990
4061
|
* @description One distance bin of an effort's speed/heart-rate series along a segment.
|
|
@@ -5417,6 +5488,49 @@ export interface operations {
|
|
|
5417
5488
|
};
|
|
5418
5489
|
};
|
|
5419
5490
|
};
|
|
5491
|
+
get_segment_effort_series_batch_api_v1_garmin_segments__segment_id__effort_series_batch_post: {
|
|
5492
|
+
parameters: {
|
|
5493
|
+
query?: never;
|
|
5494
|
+
header?: never;
|
|
5495
|
+
path: {
|
|
5496
|
+
/** @description Saved segment ID */
|
|
5497
|
+
segment_id: number;
|
|
5498
|
+
};
|
|
5499
|
+
cookie?: never;
|
|
5500
|
+
};
|
|
5501
|
+
requestBody: {
|
|
5502
|
+
content: {
|
|
5503
|
+
"application/json": components["schemas"]["SegmentEffortSeriesBatchRequest"];
|
|
5504
|
+
};
|
|
5505
|
+
};
|
|
5506
|
+
responses: {
|
|
5507
|
+
/** @description Successful Response */
|
|
5508
|
+
200: {
|
|
5509
|
+
headers: {
|
|
5510
|
+
[name: string]: unknown;
|
|
5511
|
+
};
|
|
5512
|
+
content: {
|
|
5513
|
+
"application/json": components["schemas"]["SegmentEffortSeriesBatchResponse"];
|
|
5514
|
+
};
|
|
5515
|
+
};
|
|
5516
|
+
/** @description Segment not found */
|
|
5517
|
+
404: {
|
|
5518
|
+
headers: {
|
|
5519
|
+
[name: string]: unknown;
|
|
5520
|
+
};
|
|
5521
|
+
content?: never;
|
|
5522
|
+
};
|
|
5523
|
+
/** @description Validation Error */
|
|
5524
|
+
422: {
|
|
5525
|
+
headers: {
|
|
5526
|
+
[name: string]: unknown;
|
|
5527
|
+
};
|
|
5528
|
+
content: {
|
|
5529
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
5530
|
+
};
|
|
5531
|
+
};
|
|
5532
|
+
};
|
|
5533
|
+
};
|
|
5420
5534
|
list_unified_gps_api_v1_gps_unified_get: {
|
|
5421
5535
|
parameters: {
|
|
5422
5536
|
query?: {
|