@globalscoutme/api-client 1.1.5 → 1.1.6
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/dist/types.gen.d.ts +42 -13
- package/package.json +1 -1
- package/types.gen.ts +42 -13
package/dist/types.gen.d.ts
CHANGED
|
@@ -100,6 +100,14 @@ export type DashboardResponseDto = {
|
|
|
100
100
|
* Total videos count
|
|
101
101
|
*/
|
|
102
102
|
videosCount: number;
|
|
103
|
+
/**
|
|
104
|
+
* Total times this profile was viewed
|
|
105
|
+
*/
|
|
106
|
+
profileViewCount: number;
|
|
107
|
+
/**
|
|
108
|
+
* Total offer conversations for the player
|
|
109
|
+
*/
|
|
110
|
+
offersCount: number;
|
|
103
111
|
/**
|
|
104
112
|
* Has at least one body measurement
|
|
105
113
|
*/
|
|
@@ -783,9 +791,17 @@ export type PreviousClubDto = {
|
|
|
783
791
|
};
|
|
784
792
|
export type CareerAchievementDto = {
|
|
785
793
|
/**
|
|
786
|
-
*
|
|
794
|
+
* Stored career achievement row id
|
|
787
795
|
*/
|
|
788
|
-
|
|
796
|
+
id?: string;
|
|
797
|
+
/**
|
|
798
|
+
* Career achievement catalog code (e.g. "league_winner")
|
|
799
|
+
*/
|
|
800
|
+
code?: string;
|
|
801
|
+
/**
|
|
802
|
+
* Career achievement title. Localized for catalog-backed rows on response.
|
|
803
|
+
*/
|
|
804
|
+
title?: string;
|
|
789
805
|
/**
|
|
790
806
|
* Year (e.g. 2021)
|
|
791
807
|
*/
|
|
@@ -901,7 +917,7 @@ export type ProfileResponseDto = {
|
|
|
901
917
|
*/
|
|
902
918
|
additionalPositions?: Array<string>;
|
|
903
919
|
/**
|
|
904
|
-
* Career achievements (coach)
|
|
920
|
+
* Career achievements (player/coach)
|
|
905
921
|
*/
|
|
906
922
|
careerAchievements?: Array<CareerAchievementDto>;
|
|
907
923
|
/**
|
|
@@ -1031,7 +1047,7 @@ export type UpdateProfileDto = {
|
|
|
1031
1047
|
*/
|
|
1032
1048
|
additionalPositions?: Array<string>;
|
|
1033
1049
|
/**
|
|
1034
|
-
* Career achievements (coach, replaces all existing)
|
|
1050
|
+
* Career achievements (player/coach, replaces all existing)
|
|
1035
1051
|
*/
|
|
1036
1052
|
careerAchievements?: Array<CareerAchievementDto>;
|
|
1037
1053
|
/**
|
|
@@ -1115,9 +1131,7 @@ export type BodyMeasurementResponseDto = {
|
|
|
1115
1131
|
warnings?: Array<string>;
|
|
1116
1132
|
isUsable?: boolean;
|
|
1117
1133
|
needsRetake?: boolean;
|
|
1118
|
-
source?:
|
|
1119
|
-
[key: string]: unknown;
|
|
1120
|
-
};
|
|
1134
|
+
source?: 'ai_body_measurement' | 'manual_body_measurement';
|
|
1121
1135
|
processingStatus?: string | null;
|
|
1122
1136
|
createdAt?: string | null;
|
|
1123
1137
|
};
|
|
@@ -1175,7 +1189,7 @@ export type CmjMeasurementResponseDto = {
|
|
|
1175
1189
|
confidenceLabel?: string | null;
|
|
1176
1190
|
isUsable?: boolean;
|
|
1177
1191
|
needsRetake?: boolean;
|
|
1178
|
-
source?:
|
|
1192
|
+
source?: 'ai_cmj_measurement';
|
|
1179
1193
|
createdAt?: string | null;
|
|
1180
1194
|
};
|
|
1181
1195
|
export type ChallengeCatalogDto = {
|
|
@@ -2429,7 +2443,12 @@ export type PostApiMeasurementsPlayerSessionMeResponse = PostApiMeasurementsPlay
|
|
|
2429
2443
|
export type GetApiProfileMeData = {
|
|
2430
2444
|
body?: never;
|
|
2431
2445
|
path?: never;
|
|
2432
|
-
query?:
|
|
2446
|
+
query?: {
|
|
2447
|
+
/**
|
|
2448
|
+
* Optional language code for localized profile fields.
|
|
2449
|
+
*/
|
|
2450
|
+
lang?: string;
|
|
2451
|
+
};
|
|
2433
2452
|
url: '/api/profile/me';
|
|
2434
2453
|
};
|
|
2435
2454
|
export type GetApiProfileMeErrors = {
|
|
@@ -2444,7 +2463,7 @@ export type GetApiProfileMeErrors = {
|
|
|
2444
2463
|
};
|
|
2445
2464
|
export type GetApiProfileMeResponses = {
|
|
2446
2465
|
/**
|
|
2447
|
-
* Current player profile
|
|
2466
|
+
* Current player or coach profile
|
|
2448
2467
|
*/
|
|
2449
2468
|
200: ProfileResponseDto;
|
|
2450
2469
|
};
|
|
@@ -2452,7 +2471,12 @@ export type GetApiProfileMeResponse = GetApiProfileMeResponses[keyof GetApiProfi
|
|
|
2452
2471
|
export type PutApiProfileMeData = {
|
|
2453
2472
|
body: UpdateProfileDto;
|
|
2454
2473
|
path?: never;
|
|
2455
|
-
query?:
|
|
2474
|
+
query?: {
|
|
2475
|
+
/**
|
|
2476
|
+
* Optional language code for localized profile fields.
|
|
2477
|
+
*/
|
|
2478
|
+
lang?: string;
|
|
2479
|
+
};
|
|
2456
2480
|
url: '/api/profile/me';
|
|
2457
2481
|
};
|
|
2458
2482
|
export type PutApiProfileMeErrors = {
|
|
@@ -2463,7 +2487,7 @@ export type PutApiProfileMeErrors = {
|
|
|
2463
2487
|
};
|
|
2464
2488
|
export type PutApiProfileMeResponses = {
|
|
2465
2489
|
/**
|
|
2466
|
-
* Updated profile
|
|
2490
|
+
* Updated player or coach profile
|
|
2467
2491
|
*/
|
|
2468
2492
|
200: ProfileResponseDto;
|
|
2469
2493
|
};
|
|
@@ -2736,7 +2760,12 @@ export type GetApiIndexByTableNameData = {
|
|
|
2736
2760
|
path: {
|
|
2737
2761
|
tableName: string;
|
|
2738
2762
|
};
|
|
2739
|
-
query?:
|
|
2763
|
+
query?: {
|
|
2764
|
+
/**
|
|
2765
|
+
* Optional language code for localized index items.
|
|
2766
|
+
*/
|
|
2767
|
+
lang?: string;
|
|
2768
|
+
};
|
|
2740
2769
|
url: '/api/index/{tableName}';
|
|
2741
2770
|
};
|
|
2742
2771
|
export type GetApiIndexByTableNameErrors = {
|
package/package.json
CHANGED
package/types.gen.ts
CHANGED
|
@@ -106,6 +106,14 @@ export type DashboardResponseDto = {
|
|
|
106
106
|
* Total videos count
|
|
107
107
|
*/
|
|
108
108
|
videosCount: number;
|
|
109
|
+
/**
|
|
110
|
+
* Total times this profile was viewed
|
|
111
|
+
*/
|
|
112
|
+
profileViewCount: number;
|
|
113
|
+
/**
|
|
114
|
+
* Total offer conversations for the player
|
|
115
|
+
*/
|
|
116
|
+
offersCount: number;
|
|
109
117
|
/**
|
|
110
118
|
* Has at least one body measurement
|
|
111
119
|
*/
|
|
@@ -862,9 +870,17 @@ export type PreviousClubDto = {
|
|
|
862
870
|
|
|
863
871
|
export type CareerAchievementDto = {
|
|
864
872
|
/**
|
|
865
|
-
*
|
|
873
|
+
* Stored career achievement row id
|
|
866
874
|
*/
|
|
867
|
-
|
|
875
|
+
id?: string;
|
|
876
|
+
/**
|
|
877
|
+
* Career achievement catalog code (e.g. "league_winner")
|
|
878
|
+
*/
|
|
879
|
+
code?: string;
|
|
880
|
+
/**
|
|
881
|
+
* Career achievement title. Localized for catalog-backed rows on response.
|
|
882
|
+
*/
|
|
883
|
+
title?: string;
|
|
868
884
|
/**
|
|
869
885
|
* Year (e.g. 2021)
|
|
870
886
|
*/
|
|
@@ -981,7 +997,7 @@ export type ProfileResponseDto = {
|
|
|
981
997
|
*/
|
|
982
998
|
additionalPositions?: Array<string>;
|
|
983
999
|
/**
|
|
984
|
-
* Career achievements (coach)
|
|
1000
|
+
* Career achievements (player/coach)
|
|
985
1001
|
*/
|
|
986
1002
|
careerAchievements?: Array<CareerAchievementDto>;
|
|
987
1003
|
/**
|
|
@@ -1112,7 +1128,7 @@ export type UpdateProfileDto = {
|
|
|
1112
1128
|
*/
|
|
1113
1129
|
additionalPositions?: Array<string>;
|
|
1114
1130
|
/**
|
|
1115
|
-
* Career achievements (coach, replaces all existing)
|
|
1131
|
+
* Career achievements (player/coach, replaces all existing)
|
|
1116
1132
|
*/
|
|
1117
1133
|
careerAchievements?: Array<CareerAchievementDto>;
|
|
1118
1134
|
/**
|
|
@@ -1199,9 +1215,7 @@ export type BodyMeasurementResponseDto = {
|
|
|
1199
1215
|
warnings?: Array<string>;
|
|
1200
1216
|
isUsable?: boolean;
|
|
1201
1217
|
needsRetake?: boolean;
|
|
1202
|
-
source?:
|
|
1203
|
-
[key: string]: unknown;
|
|
1204
|
-
};
|
|
1218
|
+
source?: 'ai_body_measurement' | 'manual_body_measurement';
|
|
1205
1219
|
processingStatus?: string | null;
|
|
1206
1220
|
createdAt?: string | null;
|
|
1207
1221
|
};
|
|
@@ -1261,7 +1275,7 @@ export type CmjMeasurementResponseDto = {
|
|
|
1261
1275
|
confidenceLabel?: string | null;
|
|
1262
1276
|
isUsable?: boolean;
|
|
1263
1277
|
needsRetake?: boolean;
|
|
1264
|
-
source?:
|
|
1278
|
+
source?: 'ai_cmj_measurement';
|
|
1265
1279
|
createdAt?: string | null;
|
|
1266
1280
|
};
|
|
1267
1281
|
|
|
@@ -2708,7 +2722,12 @@ export type PostApiMeasurementsPlayerSessionMeResponse =
|
|
|
2708
2722
|
export type GetApiProfileMeData = {
|
|
2709
2723
|
body?: never;
|
|
2710
2724
|
path?: never;
|
|
2711
|
-
query?:
|
|
2725
|
+
query?: {
|
|
2726
|
+
/**
|
|
2727
|
+
* Optional language code for localized profile fields.
|
|
2728
|
+
*/
|
|
2729
|
+
lang?: string;
|
|
2730
|
+
};
|
|
2712
2731
|
url: '/api/profile/me';
|
|
2713
2732
|
};
|
|
2714
2733
|
|
|
@@ -2725,7 +2744,7 @@ export type GetApiProfileMeErrors = {
|
|
|
2725
2744
|
|
|
2726
2745
|
export type GetApiProfileMeResponses = {
|
|
2727
2746
|
/**
|
|
2728
|
-
* Current player profile
|
|
2747
|
+
* Current player or coach profile
|
|
2729
2748
|
*/
|
|
2730
2749
|
200: ProfileResponseDto;
|
|
2731
2750
|
};
|
|
@@ -2736,7 +2755,12 @@ export type GetApiProfileMeResponse =
|
|
|
2736
2755
|
export type PutApiProfileMeData = {
|
|
2737
2756
|
body: UpdateProfileDto;
|
|
2738
2757
|
path?: never;
|
|
2739
|
-
query?:
|
|
2758
|
+
query?: {
|
|
2759
|
+
/**
|
|
2760
|
+
* Optional language code for localized profile fields.
|
|
2761
|
+
*/
|
|
2762
|
+
lang?: string;
|
|
2763
|
+
};
|
|
2740
2764
|
url: '/api/profile/me';
|
|
2741
2765
|
};
|
|
2742
2766
|
|
|
@@ -2749,7 +2773,7 @@ export type PutApiProfileMeErrors = {
|
|
|
2749
2773
|
|
|
2750
2774
|
export type PutApiProfileMeResponses = {
|
|
2751
2775
|
/**
|
|
2752
|
-
* Updated profile
|
|
2776
|
+
* Updated player or coach profile
|
|
2753
2777
|
*/
|
|
2754
2778
|
200: ProfileResponseDto;
|
|
2755
2779
|
};
|
|
@@ -3094,7 +3118,12 @@ export type GetApiIndexByTableNameData = {
|
|
|
3094
3118
|
path: {
|
|
3095
3119
|
tableName: string;
|
|
3096
3120
|
};
|
|
3097
|
-
query?:
|
|
3121
|
+
query?: {
|
|
3122
|
+
/**
|
|
3123
|
+
* Optional language code for localized index items.
|
|
3124
|
+
*/
|
|
3125
|
+
lang?: string;
|
|
3126
|
+
};
|
|
3098
3127
|
url: '/api/index/{tableName}';
|
|
3099
3128
|
};
|
|
3100
3129
|
|