@globalscoutme/api-client 1.1.9 → 1.1.11
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/README.md +297 -0
- package/client/client.gen.ts +25 -48
- package/client/types.gen.ts +12 -41
- package/client/utils.gen.ts +12 -33
- package/client.gen.ts +2 -7
- package/core/auth.gen.ts +2 -3
- package/core/bodySerializer.gen.ts +6 -22
- package/core/params.gen.ts +3 -10
- package/core/pathSerializer.gen.ts +6 -15
- package/core/queryKeySerializer.gen.ts +6 -25
- package/core/serverSentEvents.gen.ts +8 -31
- package/core/types.gen.ts +3 -13
- package/core/utils.gen.ts +4 -7
- package/dist/client/client.gen.js +1 -2
- package/dist/client/utils.gen.js +2 -5
- package/dist/client.gen.js +1 -1
- package/dist/core/bodySerializer.gen.js +1 -1
- package/dist/core/pathSerializer.gen.js +3 -11
- package/dist/core/queryKeySerializer.gen.js +4 -11
- package/dist/core/serverSentEvents.gen.js +3 -7
- package/dist/index.d.ts +1 -1
- package/dist/sdk.gen.js +8 -2
- package/dist/types.gen.d.ts +71 -18
- package/index.ts +6 -1
- package/package.json +2 -2
- package/sdk.gen.ts +104 -122
- package/tsconfig.json +1 -2
- package/types.gen.ts +104 -68
package/dist/types.gen.d.ts
CHANGED
|
@@ -133,17 +133,21 @@ export type DashboardResponseDto = {
|
|
|
133
133
|
*/
|
|
134
134
|
gsiVideoScore?: number | null;
|
|
135
135
|
/**
|
|
136
|
-
* GSI
|
|
136
|
+
* GSI measurements subscore, 0-10
|
|
137
137
|
*/
|
|
138
|
-
|
|
138
|
+
gsiMeasurementsScore?: number | null;
|
|
139
139
|
/**
|
|
140
|
-
* GSI
|
|
140
|
+
* GSI speed subscore, 0-10
|
|
141
141
|
*/
|
|
142
|
-
|
|
142
|
+
gsiSpeedScore?: number | null;
|
|
143
143
|
/**
|
|
144
144
|
* Number of score components included in the current GSI
|
|
145
145
|
*/
|
|
146
146
|
gsiDataCompleteness?: number | null;
|
|
147
|
+
/**
|
|
148
|
+
* Current GSI scoring revision
|
|
149
|
+
*/
|
|
150
|
+
gsiScoringRevision?: string | null;
|
|
147
151
|
/**
|
|
148
152
|
* When the GSI profile score was last computed
|
|
149
153
|
*/
|
|
@@ -684,13 +688,30 @@ export type ReportPurchaseStatusResponseDto = {
|
|
|
684
688
|
latestFulfilledPurchase?: ReportPurchaseDto | null;
|
|
685
689
|
prerequisites: Array<ReportPrerequisiteDto>;
|
|
686
690
|
};
|
|
691
|
+
export type AiReportGsiSubcomponentDto = {
|
|
692
|
+
key: 'body_fit' | 'jump';
|
|
693
|
+
label: string;
|
|
694
|
+
score: number | null;
|
|
695
|
+
baseWeight: number;
|
|
696
|
+
effectiveWeight: number;
|
|
697
|
+
weight: number;
|
|
698
|
+
included: boolean;
|
|
699
|
+
status: 'included' | 'missing';
|
|
700
|
+
missingReason?: 'no_body_measurements' | 'not_enough_body_fields' | 'no_cmj' | 'no_speed' | 'invalid_source';
|
|
701
|
+
summary: string;
|
|
702
|
+
};
|
|
687
703
|
export type AiReportGsiComponentDto = {
|
|
688
|
-
key: 'video' | '
|
|
704
|
+
key: 'video' | 'measurements' | 'speed';
|
|
689
705
|
label: string;
|
|
690
706
|
score: number | null;
|
|
707
|
+
baseWeight: number;
|
|
708
|
+
effectiveWeight: number;
|
|
691
709
|
weight: number;
|
|
692
710
|
included: boolean;
|
|
711
|
+
status: 'included' | 'missing';
|
|
712
|
+
missingReason?: 'no_body_measurements' | 'not_enough_body_fields' | 'no_cmj' | 'no_speed' | 'invalid_source';
|
|
693
713
|
summary: string;
|
|
714
|
+
subcomponents?: Array<AiReportGsiSubcomponentDto>;
|
|
694
715
|
};
|
|
695
716
|
export type AiReportVideoAttributeScoresDto = {
|
|
696
717
|
technical: number;
|
|
@@ -703,39 +724,68 @@ export type AiReportGsiVideoSourceInputDto = {
|
|
|
703
724
|
analysisId: string;
|
|
704
725
|
createdAt: string;
|
|
705
726
|
};
|
|
706
|
-
export type AiReportGsiAthleticSourceInputDto = {
|
|
707
|
-
cmjSessionId: string | null;
|
|
708
|
-
cmjCreatedAt: string | null;
|
|
709
|
-
sprintResultId: string | null;
|
|
710
|
-
sprintCreatedAt: string | null;
|
|
711
|
-
verticalJumpCm: number | null;
|
|
712
|
-
maxSpeedKmh: number | null;
|
|
713
|
-
};
|
|
714
727
|
export type AiReportGsiBodySourceInputDto = {
|
|
715
|
-
|
|
728
|
+
bodyMeasurementId: string;
|
|
729
|
+
sessionId: string | null;
|
|
730
|
+
sessionCreatedAt: string | null;
|
|
716
731
|
createdAt: string;
|
|
717
|
-
|
|
732
|
+
validFieldCount: number;
|
|
733
|
+
measurementCompletenessScore: number;
|
|
734
|
+
positionFitScore: number | null;
|
|
735
|
+
positionFitContributionScore: number;
|
|
736
|
+
positionFitStatus: 'available' | 'missing' | 'suppressed';
|
|
737
|
+
bodyFitScore: number;
|
|
738
|
+
};
|
|
739
|
+
export type AiReportGsiJumpSourceInputDto = {
|
|
740
|
+
jumpMeasurementId: string;
|
|
741
|
+
cmjSessionId: string;
|
|
742
|
+
cmjCreatedAt: string;
|
|
743
|
+
verticalJumpCm: number;
|
|
744
|
+
jumpScore: number;
|
|
745
|
+
};
|
|
746
|
+
export type AiReportGsiMeasurementsSourceInputsDto = {
|
|
747
|
+
body: AiReportGsiBodySourceInputDto | null;
|
|
748
|
+
jump: AiReportGsiJumpSourceInputDto | null;
|
|
749
|
+
};
|
|
750
|
+
export type AiReportGsiSpeedSourceInputDto = {
|
|
751
|
+
sprintResultId: string;
|
|
752
|
+
sprintCreatedAt: string;
|
|
753
|
+
maxSpeedKmh: number;
|
|
754
|
+
speedScore: number;
|
|
718
755
|
};
|
|
719
756
|
export type AiReportGsiSourceInputsDto = {
|
|
720
757
|
video: AiReportGsiVideoSourceInputDto;
|
|
721
|
-
|
|
722
|
-
|
|
758
|
+
measurements: AiReportGsiMeasurementsSourceInputsDto;
|
|
759
|
+
speed: AiReportGsiSpeedSourceInputDto | null;
|
|
723
760
|
};
|
|
724
761
|
export type AiReportGsiReasonDto = {
|
|
725
762
|
title: string;
|
|
726
763
|
detail: string;
|
|
727
|
-
source: 'video' | '
|
|
764
|
+
source: 'video' | 'measurements' | 'body_fit' | 'jump' | 'speed' | 'report';
|
|
765
|
+
};
|
|
766
|
+
export type AiReportGsiRepairMetadataDto = {
|
|
767
|
+
version: string | null;
|
|
768
|
+
scoringRevision: string | null;
|
|
769
|
+
score: number | null;
|
|
770
|
+
computedAt: string | null;
|
|
771
|
+
repairedAt: string;
|
|
772
|
+
reason: 'missing_revision' | 'old_revision' | 'malformed_snapshot';
|
|
728
773
|
};
|
|
729
774
|
export type AiReportGsiSnapshotDto = {
|
|
730
775
|
version: 'gsi-v1';
|
|
776
|
+
scoringRevision: 'gsi-v1.1-flow-components';
|
|
731
777
|
score: number;
|
|
732
778
|
computedAt: string;
|
|
733
779
|
reportReferenceId: string;
|
|
780
|
+
reportCutoffAt: string;
|
|
734
781
|
dataCompleteness: number;
|
|
782
|
+
dataCompletenessTotal: number;
|
|
783
|
+
inputCoverage: number;
|
|
735
784
|
components: Array<AiReportGsiComponentDto>;
|
|
736
785
|
videoAttributes: AiReportVideoAttributeScoresDto | null;
|
|
737
786
|
sourceInputs: AiReportGsiSourceInputsDto;
|
|
738
787
|
improvementReasons: Array<AiReportGsiReasonDto>;
|
|
788
|
+
repairedFrom?: AiReportGsiRepairMetadataDto;
|
|
739
789
|
};
|
|
740
790
|
export type ReportPurchaseHistoryItemDto = {
|
|
741
791
|
id: string;
|
|
@@ -1952,11 +2002,13 @@ export type CancelKycRequestDto = {
|
|
|
1952
2002
|
*/
|
|
1953
2003
|
jobId: string;
|
|
1954
2004
|
};
|
|
2005
|
+
export type TrainingMediaTypeDto = 'video' | 'image' | 'text';
|
|
1955
2006
|
export type TrainingContentListItemDto = {
|
|
1956
2007
|
id: string;
|
|
1957
2008
|
title: string;
|
|
1958
2009
|
summary?: string | null;
|
|
1959
2010
|
thumbnailUrl?: string | null;
|
|
2011
|
+
mediaType: TrainingMediaTypeDto;
|
|
1960
2012
|
durationSeconds?: number | null;
|
|
1961
2013
|
categoryCode: string;
|
|
1962
2014
|
difficultyLevel: string;
|
|
@@ -1984,6 +2036,7 @@ export type TrainingContentDetailDto = {
|
|
|
1984
2036
|
description?: string | null;
|
|
1985
2037
|
thumbnailUrl?: string | null;
|
|
1986
2038
|
videoUrl?: string | null;
|
|
2039
|
+
mediaType: TrainingMediaTypeDto;
|
|
1987
2040
|
durationSeconds?: number | null;
|
|
1988
2041
|
categoryCode: string;
|
|
1989
2042
|
difficultyLevel: string;
|
package/index.ts
CHANGED
|
@@ -32,12 +32,16 @@ export type {
|
|
|
32
32
|
AchievementCatalogDto,
|
|
33
33
|
AiReportClipDto,
|
|
34
34
|
AiReportClipTargetDto,
|
|
35
|
-
AiReportGsiAthleticSourceInputDto,
|
|
36
35
|
AiReportGsiBodySourceInputDto,
|
|
37
36
|
AiReportGsiComponentDto,
|
|
37
|
+
AiReportGsiJumpSourceInputDto,
|
|
38
|
+
AiReportGsiMeasurementsSourceInputsDto,
|
|
38
39
|
AiReportGsiReasonDto,
|
|
40
|
+
AiReportGsiRepairMetadataDto,
|
|
39
41
|
AiReportGsiSnapshotDto,
|
|
40
42
|
AiReportGsiSourceInputsDto,
|
|
43
|
+
AiReportGsiSpeedSourceInputDto,
|
|
44
|
+
AiReportGsiSubcomponentDto,
|
|
41
45
|
AiReportGsiVideoSourceInputDto,
|
|
42
46
|
AiReportImprovementAreaDto,
|
|
43
47
|
AiReportMetaDto,
|
|
@@ -474,6 +478,7 @@ export type {
|
|
|
474
478
|
TrainingCategoryGroupDto,
|
|
475
479
|
TrainingContentDetailDto,
|
|
476
480
|
TrainingContentListItemDto,
|
|
481
|
+
TrainingMediaTypeDto,
|
|
477
482
|
UpdateClubDto,
|
|
478
483
|
UpdateNotificationPreferencesDto,
|
|
479
484
|
UpdateOrganizationDto,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@globalscoutme/api-client",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.11",
|
|
4
4
|
"description": "GlobalScoutMe API client (generated)",
|
|
5
5
|
"author": "GlobalScoutMe",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"default": "./dist/index.js"
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
|
-
"keywords": ["api-client",
|
|
18
|
+
"keywords": ["api-client","typescript"],
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@hey-api/client-axios": "^0.2.5",
|
|
21
21
|
"axios": "^1.6.1"
|