@globalscoutme/api-client 1.0.13 → 1.0.15
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 +197 -119
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/sdk.gen.d.ts +82 -30
- package/dist/sdk.gen.js +143 -29
- package/dist/types.gen.d.ts +603 -144
- package/index.ts +191 -114
- package/package.json +1 -1
- package/sdk.gen.ts +471 -201
- package/types.gen.ts +719 -170
package/dist/types.gen.d.ts
CHANGED
|
@@ -57,6 +57,24 @@ export type PlayerResponseDto = {
|
|
|
57
57
|
*/
|
|
58
58
|
updatedAt?: string | null;
|
|
59
59
|
};
|
|
60
|
+
export type DivisionDto = {
|
|
61
|
+
/**
|
|
62
|
+
* Division tier 1 (highest) to 5 (lowest)
|
|
63
|
+
*/
|
|
64
|
+
number: 1 | 2 | 3 | 4 | 5;
|
|
65
|
+
/**
|
|
66
|
+
* Minimum XP of the current tier
|
|
67
|
+
*/
|
|
68
|
+
currentTierMin: number;
|
|
69
|
+
/**
|
|
70
|
+
* Minimum XP of the next tier; null at top tier
|
|
71
|
+
*/
|
|
72
|
+
nextTierMin: number | null;
|
|
73
|
+
/**
|
|
74
|
+
* Progress through current tier, range [0, 1]
|
|
75
|
+
*/
|
|
76
|
+
progressInTier: number;
|
|
77
|
+
};
|
|
60
78
|
export type DashboardResponseDto = {
|
|
61
79
|
/**
|
|
62
80
|
* First name
|
|
@@ -102,6 +120,20 @@ export type DashboardResponseDto = {
|
|
|
102
120
|
* Has at least one language set
|
|
103
121
|
*/
|
|
104
122
|
hasLanguages: boolean;
|
|
123
|
+
/**
|
|
124
|
+
* Cumulative XP from completed challenges
|
|
125
|
+
*/
|
|
126
|
+
totalXp: number;
|
|
127
|
+
division: DivisionDto;
|
|
128
|
+
};
|
|
129
|
+
export type HeartbeatDto = {
|
|
130
|
+
/**
|
|
131
|
+
* IANA timezone from the client device
|
|
132
|
+
*/
|
|
133
|
+
timezone: string;
|
|
134
|
+
};
|
|
135
|
+
export type HeartbeatResponseDto = {
|
|
136
|
+
ok: boolean;
|
|
105
137
|
};
|
|
106
138
|
export type UpdatePlayerDto = {
|
|
107
139
|
/**
|
|
@@ -666,6 +698,97 @@ export type CreateBodyMeasurementDto = {
|
|
|
666
698
|
*/
|
|
667
699
|
imageUrl?: string;
|
|
668
700
|
};
|
|
701
|
+
export type ChallengeCatalogDto = {
|
|
702
|
+
id: string;
|
|
703
|
+
code: string;
|
|
704
|
+
name: string;
|
|
705
|
+
description?: string | null;
|
|
706
|
+
categoryCode: string;
|
|
707
|
+
xpReward: number;
|
|
708
|
+
deadlineDays: number;
|
|
709
|
+
resetPeriod?: string | null;
|
|
710
|
+
iconUrl?: string | null;
|
|
711
|
+
displayOrder?: number | null;
|
|
712
|
+
};
|
|
713
|
+
export type MyChallengeDto = {
|
|
714
|
+
/**
|
|
715
|
+
* user_challenges.id — stable per (user, challenge, period)
|
|
716
|
+
*/
|
|
717
|
+
id: string;
|
|
718
|
+
code: string;
|
|
719
|
+
name: string;
|
|
720
|
+
description?: string | null;
|
|
721
|
+
categoryCode: string;
|
|
722
|
+
xpReward: number;
|
|
723
|
+
deadlineDays: number;
|
|
724
|
+
resetPeriod?: string | null;
|
|
725
|
+
iconUrl?: string | null;
|
|
726
|
+
status: 'active' | 'completed' | 'expired';
|
|
727
|
+
/**
|
|
728
|
+
* Current progress, 0..target
|
|
729
|
+
*/
|
|
730
|
+
progress: number;
|
|
731
|
+
/**
|
|
732
|
+
* Completion threshold
|
|
733
|
+
*/
|
|
734
|
+
target: number;
|
|
735
|
+
/**
|
|
736
|
+
* ISO timestamp when this instance expires
|
|
737
|
+
*/
|
|
738
|
+
expiresAt: string;
|
|
739
|
+
/**
|
|
740
|
+
* ISO timestamp — when the user first saw this challenge instance
|
|
741
|
+
*/
|
|
742
|
+
startedAt: string;
|
|
743
|
+
/**
|
|
744
|
+
* ISO timestamp; null if not yet completed
|
|
745
|
+
*/
|
|
746
|
+
completedAt?: string | null;
|
|
747
|
+
/**
|
|
748
|
+
* ISO date for period start (0001-01-01 sentinel for non-resetting)
|
|
749
|
+
*/
|
|
750
|
+
periodStart: string;
|
|
751
|
+
};
|
|
752
|
+
export type ClubResponseDto = {
|
|
753
|
+
id: string;
|
|
754
|
+
userId: string;
|
|
755
|
+
clubName: string;
|
|
756
|
+
userTypeCode?: string | null;
|
|
757
|
+
isCurrent: boolean;
|
|
758
|
+
joinedAt?: string | null;
|
|
759
|
+
leftAt?: string | null;
|
|
760
|
+
createdAt: string;
|
|
761
|
+
updatedAt: string;
|
|
762
|
+
};
|
|
763
|
+
export type CreateClubDto = {
|
|
764
|
+
/**
|
|
765
|
+
* Display name of the club (free text).
|
|
766
|
+
*/
|
|
767
|
+
clubName: string;
|
|
768
|
+
/**
|
|
769
|
+
* ISO date string — when the player joined.
|
|
770
|
+
*/
|
|
771
|
+
joinedAt?: string;
|
|
772
|
+
/**
|
|
773
|
+
* ISO date string — when the player left.
|
|
774
|
+
*/
|
|
775
|
+
leftAt?: string;
|
|
776
|
+
/**
|
|
777
|
+
* Whether this is the currently active club.
|
|
778
|
+
*/
|
|
779
|
+
isCurrent?: boolean;
|
|
780
|
+
/**
|
|
781
|
+
* Role at the club (e.g. player, coach). Matches index.user_types.code.
|
|
782
|
+
*/
|
|
783
|
+
userTypeCode?: string;
|
|
784
|
+
};
|
|
785
|
+
export type UpdateClubDto = {
|
|
786
|
+
clubName?: string;
|
|
787
|
+
joinedAt?: string;
|
|
788
|
+
leftAt?: string;
|
|
789
|
+
isCurrent?: boolean;
|
|
790
|
+
userTypeCode?: string;
|
|
791
|
+
};
|
|
669
792
|
export type DocumentResponseDto = {
|
|
670
793
|
id: string;
|
|
671
794
|
userId: string;
|
|
@@ -707,6 +830,11 @@ export type IndexItemDto = {
|
|
|
707
830
|
*/
|
|
708
831
|
displayOrder: number | null;
|
|
709
832
|
};
|
|
833
|
+
export type ConversationOrganizationDto = {
|
|
834
|
+
id: string;
|
|
835
|
+
name: string;
|
|
836
|
+
logoUrl: string | null;
|
|
837
|
+
};
|
|
710
838
|
export type ConversationParticipantDto = {
|
|
711
839
|
/**
|
|
712
840
|
* user_data id
|
|
@@ -723,6 +851,11 @@ export type ConversationParticipantDto = {
|
|
|
723
851
|
* Primary position code
|
|
724
852
|
*/
|
|
725
853
|
primaryPosition?: string | null;
|
|
854
|
+
/**
|
|
855
|
+
* user_data.user_type code (e.g. club_admin, scouter)
|
|
856
|
+
*/
|
|
857
|
+
userType: string | null;
|
|
858
|
+
organization?: ConversationOrganizationDto | null;
|
|
726
859
|
};
|
|
727
860
|
export type ConversationItemDto = {
|
|
728
861
|
/**
|
|
@@ -987,6 +1120,57 @@ export type UploadUrlResponseDto = {
|
|
|
987
1120
|
*/
|
|
988
1121
|
expiresIn: number;
|
|
989
1122
|
};
|
|
1123
|
+
export type SendInvitationRequestDto = {
|
|
1124
|
+
email: string;
|
|
1125
|
+
};
|
|
1126
|
+
export type InvitationResponseDto = {
|
|
1127
|
+
id: string;
|
|
1128
|
+
email: string;
|
|
1129
|
+
firstName?: string | null;
|
|
1130
|
+
lastName?: string | null;
|
|
1131
|
+
status: 'confirmed' | 'pending' | 'expired';
|
|
1132
|
+
invitedAt: string;
|
|
1133
|
+
expiresAt: string;
|
|
1134
|
+
acceptedAt?: string | null;
|
|
1135
|
+
};
|
|
1136
|
+
export type TrainingContentListItemDto = {
|
|
1137
|
+
id: string;
|
|
1138
|
+
title: string;
|
|
1139
|
+
summary?: string | null;
|
|
1140
|
+
thumbnailUrl?: string | null;
|
|
1141
|
+
durationSeconds?: number | null;
|
|
1142
|
+
categoryCode: string;
|
|
1143
|
+
difficultyLevel: string;
|
|
1144
|
+
xpReward: number;
|
|
1145
|
+
displayOrder?: number | null;
|
|
1146
|
+
};
|
|
1147
|
+
export type TrainingCategoryGroupDto = {
|
|
1148
|
+
categoryCode: string;
|
|
1149
|
+
categoryName: string;
|
|
1150
|
+
items: Array<TrainingContentListItemDto>;
|
|
1151
|
+
};
|
|
1152
|
+
export type PaginatedTrainingContentDto = {
|
|
1153
|
+
items: Array<TrainingContentListItemDto>;
|
|
1154
|
+
/**
|
|
1155
|
+
* Total matching records
|
|
1156
|
+
*/
|
|
1157
|
+
total: number;
|
|
1158
|
+
page: number;
|
|
1159
|
+
pageSize: number;
|
|
1160
|
+
};
|
|
1161
|
+
export type TrainingContentDetailDto = {
|
|
1162
|
+
id: string;
|
|
1163
|
+
title: string;
|
|
1164
|
+
subtitle?: string | null;
|
|
1165
|
+
description?: string | null;
|
|
1166
|
+
thumbnailUrl?: string | null;
|
|
1167
|
+
videoUrl?: string | null;
|
|
1168
|
+
durationSeconds?: number | null;
|
|
1169
|
+
categoryCode: string;
|
|
1170
|
+
difficultyLevel: string;
|
|
1171
|
+
xpReward: number;
|
|
1172
|
+
displayOrder?: number | null;
|
|
1173
|
+
};
|
|
990
1174
|
export type VideoResponseDto = {
|
|
991
1175
|
id: string;
|
|
992
1176
|
userId: string;
|
|
@@ -1042,93 +1226,109 @@ export type PlayUrlResponseDto = {
|
|
|
1042
1226
|
*/
|
|
1043
1227
|
expiresIn: number;
|
|
1044
1228
|
};
|
|
1045
|
-
export type
|
|
1229
|
+
export type GetApiAuthMeData = {
|
|
1046
1230
|
body?: never;
|
|
1047
1231
|
path?: never;
|
|
1048
1232
|
query?: never;
|
|
1049
|
-
url: '/auth/me';
|
|
1233
|
+
url: '/api/auth/me';
|
|
1050
1234
|
};
|
|
1051
|
-
export type
|
|
1235
|
+
export type GetApiAuthMeErrors = {
|
|
1052
1236
|
/**
|
|
1053
1237
|
* Unauthorized
|
|
1054
1238
|
*/
|
|
1055
1239
|
401: unknown;
|
|
1056
1240
|
};
|
|
1057
|
-
export type
|
|
1241
|
+
export type GetApiAuthMeResponses = {
|
|
1058
1242
|
200: AuthMeResponseDto;
|
|
1059
1243
|
};
|
|
1060
|
-
export type
|
|
1061
|
-
export type
|
|
1244
|
+
export type GetApiAuthMeResponse = GetApiAuthMeResponses[keyof GetApiAuthMeResponses];
|
|
1245
|
+
export type DeleteApiPlayersMeData = {
|
|
1062
1246
|
body?: never;
|
|
1063
1247
|
path?: never;
|
|
1064
1248
|
query?: never;
|
|
1065
|
-
url: '/players/me';
|
|
1249
|
+
url: '/api/players/me';
|
|
1066
1250
|
};
|
|
1067
|
-
export type
|
|
1251
|
+
export type DeleteApiPlayersMeErrors = {
|
|
1068
1252
|
/**
|
|
1069
1253
|
* Deletion not configured
|
|
1070
1254
|
*/
|
|
1071
1255
|
503: unknown;
|
|
1072
1256
|
};
|
|
1073
|
-
export type
|
|
1257
|
+
export type DeleteApiPlayersMeResponses = {
|
|
1074
1258
|
204: void;
|
|
1075
1259
|
};
|
|
1076
|
-
export type
|
|
1077
|
-
export type
|
|
1260
|
+
export type DeleteApiPlayersMeResponse = DeleteApiPlayersMeResponses[keyof DeleteApiPlayersMeResponses];
|
|
1261
|
+
export type GetApiPlayersMeData = {
|
|
1078
1262
|
body?: never;
|
|
1079
1263
|
path?: never;
|
|
1080
1264
|
query?: never;
|
|
1081
|
-
url: '/players/me';
|
|
1265
|
+
url: '/api/players/me';
|
|
1082
1266
|
};
|
|
1083
|
-
export type
|
|
1267
|
+
export type GetApiPlayersMeErrors = {
|
|
1084
1268
|
/**
|
|
1085
1269
|
* Unauthorized
|
|
1086
1270
|
*/
|
|
1087
1271
|
401: unknown;
|
|
1088
1272
|
};
|
|
1089
|
-
export type
|
|
1273
|
+
export type GetApiPlayersMeResponses = {
|
|
1090
1274
|
200: PlayerResponseDto;
|
|
1091
1275
|
};
|
|
1092
|
-
export type
|
|
1093
|
-
export type
|
|
1276
|
+
export type GetApiPlayersMeResponse = GetApiPlayersMeResponses[keyof GetApiPlayersMeResponses];
|
|
1277
|
+
export type PatchApiPlayersMeData = {
|
|
1094
1278
|
body: UpdatePlayerDto;
|
|
1095
1279
|
path?: never;
|
|
1096
1280
|
query?: never;
|
|
1097
|
-
url: '/players/me';
|
|
1281
|
+
url: '/api/players/me';
|
|
1098
1282
|
};
|
|
1099
|
-
export type
|
|
1283
|
+
export type PatchApiPlayersMeErrors = {
|
|
1100
1284
|
/**
|
|
1101
1285
|
* Unauthorized
|
|
1102
1286
|
*/
|
|
1103
1287
|
401: unknown;
|
|
1104
1288
|
};
|
|
1105
|
-
export type
|
|
1289
|
+
export type PatchApiPlayersMeResponses = {
|
|
1106
1290
|
200: PlayerResponseDto;
|
|
1107
1291
|
};
|
|
1108
|
-
export type
|
|
1109
|
-
export type
|
|
1292
|
+
export type PatchApiPlayersMeResponse = PatchApiPlayersMeResponses[keyof PatchApiPlayersMeResponses];
|
|
1293
|
+
export type GetApiPlayersMeDashboardData = {
|
|
1110
1294
|
body?: never;
|
|
1111
1295
|
path?: never;
|
|
1112
1296
|
query?: never;
|
|
1113
|
-
url: '/players/me/dashboard';
|
|
1297
|
+
url: '/api/players/me/dashboard';
|
|
1114
1298
|
};
|
|
1115
|
-
export type
|
|
1299
|
+
export type GetApiPlayersMeDashboardErrors = {
|
|
1116
1300
|
/**
|
|
1117
1301
|
* Unauthorized
|
|
1118
1302
|
*/
|
|
1119
1303
|
401: unknown;
|
|
1120
1304
|
};
|
|
1121
|
-
export type
|
|
1305
|
+
export type GetApiPlayersMeDashboardResponses = {
|
|
1122
1306
|
200: DashboardResponseDto;
|
|
1123
1307
|
};
|
|
1124
|
-
export type
|
|
1125
|
-
export type
|
|
1308
|
+
export type GetApiPlayersMeDashboardResponse = GetApiPlayersMeDashboardResponses[keyof GetApiPlayersMeDashboardResponses];
|
|
1309
|
+
export type PostApiPlayersMeHeartbeatData = {
|
|
1310
|
+
body: HeartbeatDto;
|
|
1311
|
+
path?: never;
|
|
1312
|
+
query?: never;
|
|
1313
|
+
url: '/api/players/me/heartbeat';
|
|
1314
|
+
};
|
|
1315
|
+
export type PostApiPlayersMeHeartbeatErrors = {
|
|
1316
|
+
/**
|
|
1317
|
+
* Unauthorized
|
|
1318
|
+
*/
|
|
1319
|
+
401: unknown;
|
|
1320
|
+
};
|
|
1321
|
+
export type PostApiPlayersMeHeartbeatResponses = {
|
|
1322
|
+
200: HeartbeatResponseDto;
|
|
1323
|
+
};
|
|
1324
|
+
export type PostApiPlayersMeHeartbeatResponse = PostApiPlayersMeHeartbeatResponses[keyof PostApiPlayersMeHeartbeatResponses];
|
|
1325
|
+
export type PostApiPlayersSearchData = {
|
|
1126
1326
|
body: PlayerSearchRequestDto;
|
|
1127
1327
|
path?: never;
|
|
1128
1328
|
query?: never;
|
|
1129
|
-
url: '/players/search';
|
|
1329
|
+
url: '/api/players/search';
|
|
1130
1330
|
};
|
|
1131
|
-
export type
|
|
1331
|
+
export type PostApiPlayersSearchErrors = {
|
|
1132
1332
|
/**
|
|
1133
1333
|
* Invalid filter combination
|
|
1134
1334
|
*/
|
|
@@ -1138,19 +1338,19 @@ export type PostPlayersSearchErrors = {
|
|
|
1138
1338
|
*/
|
|
1139
1339
|
401: unknown;
|
|
1140
1340
|
};
|
|
1141
|
-
export type
|
|
1341
|
+
export type PostApiPlayersSearchResponses = {
|
|
1142
1342
|
200: PlayerSearchResultDto;
|
|
1143
1343
|
};
|
|
1144
|
-
export type
|
|
1145
|
-
export type
|
|
1344
|
+
export type PostApiPlayersSearchResponse = PostApiPlayersSearchResponses[keyof PostApiPlayersSearchResponses];
|
|
1345
|
+
export type GetApiPlayersByIdData = {
|
|
1146
1346
|
body?: never;
|
|
1147
1347
|
path: {
|
|
1148
1348
|
id: string;
|
|
1149
1349
|
};
|
|
1150
1350
|
query?: never;
|
|
1151
|
-
url: '/players/{id}';
|
|
1351
|
+
url: '/api/players/{id}';
|
|
1152
1352
|
};
|
|
1153
|
-
export type
|
|
1353
|
+
export type GetApiPlayersByIdErrors = {
|
|
1154
1354
|
/**
|
|
1155
1355
|
* Unauthorized
|
|
1156
1356
|
*/
|
|
@@ -1160,17 +1360,17 @@ export type GetPlayersByIdErrors = {
|
|
|
1160
1360
|
*/
|
|
1161
1361
|
404: unknown;
|
|
1162
1362
|
};
|
|
1163
|
-
export type
|
|
1363
|
+
export type GetApiPlayersByIdResponses = {
|
|
1164
1364
|
200: PlayerByIdDto;
|
|
1165
1365
|
};
|
|
1166
|
-
export type
|
|
1167
|
-
export type
|
|
1366
|
+
export type GetApiPlayersByIdResponse = GetApiPlayersByIdResponses[keyof GetApiPlayersByIdResponses];
|
|
1367
|
+
export type GetApiProfileMeData = {
|
|
1168
1368
|
body?: never;
|
|
1169
1369
|
path?: never;
|
|
1170
1370
|
query?: never;
|
|
1171
|
-
url: '/profile/me';
|
|
1371
|
+
url: '/api/profile/me';
|
|
1172
1372
|
};
|
|
1173
|
-
export type
|
|
1373
|
+
export type GetApiProfileMeErrors = {
|
|
1174
1374
|
/**
|
|
1175
1375
|
* Unauthorized
|
|
1176
1376
|
*/
|
|
@@ -1180,65 +1380,65 @@ export type GetProfileMeErrors = {
|
|
|
1180
1380
|
*/
|
|
1181
1381
|
404: unknown;
|
|
1182
1382
|
};
|
|
1183
|
-
export type
|
|
1383
|
+
export type GetApiProfileMeResponses = {
|
|
1184
1384
|
/**
|
|
1185
1385
|
* Current player profile
|
|
1186
1386
|
*/
|
|
1187
1387
|
200: ProfileResponseDto;
|
|
1188
1388
|
};
|
|
1189
|
-
export type
|
|
1190
|
-
export type
|
|
1389
|
+
export type GetApiProfileMeResponse = GetApiProfileMeResponses[keyof GetApiProfileMeResponses];
|
|
1390
|
+
export type PutApiProfileMeData = {
|
|
1191
1391
|
body: UpdateProfileDto;
|
|
1192
1392
|
path?: never;
|
|
1193
1393
|
query?: never;
|
|
1194
|
-
url: '/profile/me';
|
|
1394
|
+
url: '/api/profile/me';
|
|
1195
1395
|
};
|
|
1196
|
-
export type
|
|
1396
|
+
export type PutApiProfileMeErrors = {
|
|
1197
1397
|
/**
|
|
1198
1398
|
* Unauthorized
|
|
1199
1399
|
*/
|
|
1200
1400
|
401: unknown;
|
|
1201
1401
|
};
|
|
1202
|
-
export type
|
|
1402
|
+
export type PutApiProfileMeResponses = {
|
|
1203
1403
|
/**
|
|
1204
1404
|
* Updated profile
|
|
1205
1405
|
*/
|
|
1206
1406
|
200: ProfileResponseDto;
|
|
1207
1407
|
};
|
|
1208
|
-
export type
|
|
1209
|
-
export type
|
|
1408
|
+
export type PutApiProfileMeResponse = PutApiProfileMeResponses[keyof PutApiProfileMeResponses];
|
|
1409
|
+
export type GetApiAchievementsData = {
|
|
1210
1410
|
body?: never;
|
|
1211
1411
|
path?: never;
|
|
1212
1412
|
query?: never;
|
|
1213
|
-
url: '/achievements';
|
|
1413
|
+
url: '/api/achievements';
|
|
1214
1414
|
};
|
|
1215
|
-
export type
|
|
1415
|
+
export type GetApiAchievementsResponses = {
|
|
1216
1416
|
200: Array<AchievementCatalogDto>;
|
|
1217
1417
|
};
|
|
1218
|
-
export type
|
|
1219
|
-
export type
|
|
1418
|
+
export type GetApiAchievementsResponse = GetApiAchievementsResponses[keyof GetApiAchievementsResponses];
|
|
1419
|
+
export type GetApiAchievementsMeData = {
|
|
1220
1420
|
body?: never;
|
|
1221
1421
|
path?: never;
|
|
1222
1422
|
query?: never;
|
|
1223
|
-
url: '/achievements/me';
|
|
1423
|
+
url: '/api/achievements/me';
|
|
1224
1424
|
};
|
|
1225
|
-
export type
|
|
1425
|
+
export type GetApiAchievementsMeErrors = {
|
|
1226
1426
|
/**
|
|
1227
1427
|
* Unauthorized
|
|
1228
1428
|
*/
|
|
1229
1429
|
401: unknown;
|
|
1230
1430
|
};
|
|
1231
|
-
export type
|
|
1431
|
+
export type GetApiAchievementsMeResponses = {
|
|
1232
1432
|
200: Array<UserAchievementResponseDto>;
|
|
1233
1433
|
};
|
|
1234
|
-
export type
|
|
1235
|
-
export type
|
|
1434
|
+
export type GetApiAchievementsMeResponse = GetApiAchievementsMeResponses[keyof GetApiAchievementsMeResponses];
|
|
1435
|
+
export type GetApiBodyMeasurementsMeData = {
|
|
1236
1436
|
body?: never;
|
|
1237
1437
|
path?: never;
|
|
1238
1438
|
query?: never;
|
|
1239
|
-
url: '/body/measurements/me';
|
|
1439
|
+
url: '/api/body/measurements/me';
|
|
1240
1440
|
};
|
|
1241
|
-
export type
|
|
1441
|
+
export type GetApiBodyMeasurementsMeErrors = {
|
|
1242
1442
|
/**
|
|
1243
1443
|
* Unauthorized
|
|
1244
1444
|
*/
|
|
@@ -1248,79 +1448,194 @@ export type GetBodyMeasurementsMeErrors = {
|
|
|
1248
1448
|
*/
|
|
1249
1449
|
404: unknown;
|
|
1250
1450
|
};
|
|
1251
|
-
export type
|
|
1451
|
+
export type GetApiBodyMeasurementsMeResponses = {
|
|
1252
1452
|
/**
|
|
1253
1453
|
* Latest body measurement
|
|
1254
1454
|
*/
|
|
1255
1455
|
200: BodyMeasurementResponseDto;
|
|
1256
1456
|
};
|
|
1257
|
-
export type
|
|
1258
|
-
export type
|
|
1457
|
+
export type GetApiBodyMeasurementsMeResponse = GetApiBodyMeasurementsMeResponses[keyof GetApiBodyMeasurementsMeResponses];
|
|
1458
|
+
export type PostApiBodyMeasurementsData = {
|
|
1259
1459
|
body: CreateBodyMeasurementDto;
|
|
1260
1460
|
path?: never;
|
|
1261
1461
|
query?: never;
|
|
1262
|
-
url: '/body/measurements';
|
|
1462
|
+
url: '/api/body/measurements';
|
|
1263
1463
|
};
|
|
1264
|
-
export type
|
|
1464
|
+
export type PostApiBodyMeasurementsErrors = {
|
|
1265
1465
|
/**
|
|
1266
1466
|
* Unauthorized
|
|
1267
1467
|
*/
|
|
1268
1468
|
401: unknown;
|
|
1269
1469
|
};
|
|
1270
|
-
export type
|
|
1470
|
+
export type PostApiBodyMeasurementsResponses = {
|
|
1271
1471
|
/**
|
|
1272
1472
|
* Body measurement created
|
|
1273
1473
|
*/
|
|
1274
1474
|
201: BodyMeasurementResponseDto;
|
|
1275
1475
|
};
|
|
1276
|
-
export type
|
|
1277
|
-
export type
|
|
1476
|
+
export type PostApiBodyMeasurementsResponse = PostApiBodyMeasurementsResponses[keyof PostApiBodyMeasurementsResponses];
|
|
1477
|
+
export type GetApiChallengesData = {
|
|
1478
|
+
body?: never;
|
|
1479
|
+
path?: never;
|
|
1480
|
+
query?: never;
|
|
1481
|
+
url: '/api/challenges';
|
|
1482
|
+
};
|
|
1483
|
+
export type GetApiChallengesErrors = {
|
|
1484
|
+
/**
|
|
1485
|
+
* Unauthorized
|
|
1486
|
+
*/
|
|
1487
|
+
401: unknown;
|
|
1488
|
+
};
|
|
1489
|
+
export type GetApiChallengesResponses = {
|
|
1490
|
+
200: Array<ChallengeCatalogDto>;
|
|
1491
|
+
};
|
|
1492
|
+
export type GetApiChallengesResponse = GetApiChallengesResponses[keyof GetApiChallengesResponses];
|
|
1493
|
+
export type GetApiChallengesMeData = {
|
|
1494
|
+
body?: never;
|
|
1495
|
+
path?: never;
|
|
1496
|
+
query?: never;
|
|
1497
|
+
url: '/api/challenges/me';
|
|
1498
|
+
};
|
|
1499
|
+
export type GetApiChallengesMeErrors = {
|
|
1500
|
+
/**
|
|
1501
|
+
* Unauthorized
|
|
1502
|
+
*/
|
|
1503
|
+
401: unknown;
|
|
1504
|
+
/**
|
|
1505
|
+
* Player-only endpoint
|
|
1506
|
+
*/
|
|
1507
|
+
403: unknown;
|
|
1508
|
+
};
|
|
1509
|
+
export type GetApiChallengesMeResponses = {
|
|
1510
|
+
200: Array<MyChallengeDto>;
|
|
1511
|
+
};
|
|
1512
|
+
export type GetApiChallengesMeResponse = GetApiChallengesMeResponses[keyof GetApiChallengesMeResponses];
|
|
1513
|
+
export type GetApiClubsMeData = {
|
|
1514
|
+
body?: never;
|
|
1515
|
+
path?: never;
|
|
1516
|
+
query?: never;
|
|
1517
|
+
url: '/api/clubs/me';
|
|
1518
|
+
};
|
|
1519
|
+
export type GetApiClubsMeErrors = {
|
|
1520
|
+
/**
|
|
1521
|
+
* Unauthorized
|
|
1522
|
+
*/
|
|
1523
|
+
401: unknown;
|
|
1524
|
+
};
|
|
1525
|
+
export type GetApiClubsMeResponses = {
|
|
1526
|
+
200: Array<ClubResponseDto>;
|
|
1527
|
+
};
|
|
1528
|
+
export type GetApiClubsMeResponse = GetApiClubsMeResponses[keyof GetApiClubsMeResponses];
|
|
1529
|
+
export type PostApiClubsMeData = {
|
|
1530
|
+
body: CreateClubDto;
|
|
1531
|
+
path?: never;
|
|
1532
|
+
query?: never;
|
|
1533
|
+
url: '/api/clubs/me';
|
|
1534
|
+
};
|
|
1535
|
+
export type PostApiClubsMeErrors = {
|
|
1536
|
+
/**
|
|
1537
|
+
* Unauthorized
|
|
1538
|
+
*/
|
|
1539
|
+
401: unknown;
|
|
1540
|
+
};
|
|
1541
|
+
export type PostApiClubsMeResponses = {
|
|
1542
|
+
201: ClubResponseDto;
|
|
1543
|
+
};
|
|
1544
|
+
export type PostApiClubsMeResponse = PostApiClubsMeResponses[keyof PostApiClubsMeResponses];
|
|
1545
|
+
export type DeleteApiClubsMeByIdData = {
|
|
1546
|
+
body?: never;
|
|
1547
|
+
path: {
|
|
1548
|
+
id: string;
|
|
1549
|
+
};
|
|
1550
|
+
query?: never;
|
|
1551
|
+
url: '/api/clubs/me/{id}';
|
|
1552
|
+
};
|
|
1553
|
+
export type DeleteApiClubsMeByIdErrors = {
|
|
1554
|
+
/**
|
|
1555
|
+
* Unauthorized
|
|
1556
|
+
*/
|
|
1557
|
+
401: unknown;
|
|
1558
|
+
/**
|
|
1559
|
+
* Club not found
|
|
1560
|
+
*/
|
|
1561
|
+
404: unknown;
|
|
1562
|
+
};
|
|
1563
|
+
export type DeleteApiClubsMeByIdResponses = {
|
|
1564
|
+
/**
|
|
1565
|
+
* Club deleted
|
|
1566
|
+
*/
|
|
1567
|
+
204: void;
|
|
1568
|
+
};
|
|
1569
|
+
export type DeleteApiClubsMeByIdResponse = DeleteApiClubsMeByIdResponses[keyof DeleteApiClubsMeByIdResponses];
|
|
1570
|
+
export type PatchApiClubsMeByIdData = {
|
|
1571
|
+
body: UpdateClubDto;
|
|
1572
|
+
path: {
|
|
1573
|
+
id: string;
|
|
1574
|
+
};
|
|
1575
|
+
query?: never;
|
|
1576
|
+
url: '/api/clubs/me/{id}';
|
|
1577
|
+
};
|
|
1578
|
+
export type PatchApiClubsMeByIdErrors = {
|
|
1579
|
+
/**
|
|
1580
|
+
* Unauthorized
|
|
1581
|
+
*/
|
|
1582
|
+
401: unknown;
|
|
1583
|
+
/**
|
|
1584
|
+
* Club not found
|
|
1585
|
+
*/
|
|
1586
|
+
404: unknown;
|
|
1587
|
+
};
|
|
1588
|
+
export type PatchApiClubsMeByIdResponses = {
|
|
1589
|
+
200: ClubResponseDto;
|
|
1590
|
+
};
|
|
1591
|
+
export type PatchApiClubsMeByIdResponse = PatchApiClubsMeByIdResponses[keyof PatchApiClubsMeByIdResponses];
|
|
1592
|
+
export type GetApiDocumentsMeData = {
|
|
1278
1593
|
body?: never;
|
|
1279
1594
|
path?: never;
|
|
1280
1595
|
query?: never;
|
|
1281
|
-
url: '/documents/me';
|
|
1596
|
+
url: '/api/documents/me';
|
|
1282
1597
|
};
|
|
1283
|
-
export type
|
|
1598
|
+
export type GetApiDocumentsMeErrors = {
|
|
1284
1599
|
/**
|
|
1285
1600
|
* Unauthorized
|
|
1286
1601
|
*/
|
|
1287
1602
|
401: unknown;
|
|
1288
1603
|
};
|
|
1289
|
-
export type
|
|
1604
|
+
export type GetApiDocumentsMeResponses = {
|
|
1290
1605
|
/**
|
|
1291
1606
|
* List of documents
|
|
1292
1607
|
*/
|
|
1293
1608
|
200: Array<DocumentResponseDto>;
|
|
1294
1609
|
};
|
|
1295
|
-
export type
|
|
1296
|
-
export type
|
|
1610
|
+
export type GetApiDocumentsMeResponse = GetApiDocumentsMeResponses[keyof GetApiDocumentsMeResponses];
|
|
1611
|
+
export type PostApiDocumentsData = {
|
|
1297
1612
|
body: CreateDocumentDto;
|
|
1298
1613
|
path?: never;
|
|
1299
1614
|
query?: never;
|
|
1300
|
-
url: '/documents';
|
|
1615
|
+
url: '/api/documents';
|
|
1301
1616
|
};
|
|
1302
|
-
export type
|
|
1617
|
+
export type PostApiDocumentsErrors = {
|
|
1303
1618
|
/**
|
|
1304
1619
|
* Unauthorized
|
|
1305
1620
|
*/
|
|
1306
1621
|
401: unknown;
|
|
1307
1622
|
};
|
|
1308
|
-
export type
|
|
1623
|
+
export type PostApiDocumentsResponses = {
|
|
1309
1624
|
/**
|
|
1310
1625
|
* Document created
|
|
1311
1626
|
*/
|
|
1312
1627
|
201: DocumentResponseDto;
|
|
1313
1628
|
};
|
|
1314
|
-
export type
|
|
1315
|
-
export type
|
|
1629
|
+
export type PostApiDocumentsResponse = PostApiDocumentsResponses[keyof PostApiDocumentsResponses];
|
|
1630
|
+
export type GetApiIndexByTableNameData = {
|
|
1316
1631
|
body?: never;
|
|
1317
1632
|
path: {
|
|
1318
1633
|
tableName: string;
|
|
1319
1634
|
};
|
|
1320
1635
|
query?: never;
|
|
1321
|
-
url: '/index/{tableName}';
|
|
1636
|
+
url: '/api/index/{tableName}';
|
|
1322
1637
|
};
|
|
1323
|
-
export type
|
|
1638
|
+
export type GetApiIndexByTableNameErrors = {
|
|
1324
1639
|
/**
|
|
1325
1640
|
* Invalid index table
|
|
1326
1641
|
*/
|
|
@@ -1330,50 +1645,50 @@ export type GetIndexByTableNameErrors = {
|
|
|
1330
1645
|
*/
|
|
1331
1646
|
401: unknown;
|
|
1332
1647
|
};
|
|
1333
|
-
export type
|
|
1648
|
+
export type GetApiIndexByTableNameResponses = {
|
|
1334
1649
|
/**
|
|
1335
1650
|
* Index table items
|
|
1336
1651
|
*/
|
|
1337
1652
|
200: Array<IndexItemDto>;
|
|
1338
1653
|
};
|
|
1339
|
-
export type
|
|
1340
|
-
export type
|
|
1654
|
+
export type GetApiIndexByTableNameResponse = GetApiIndexByTableNameResponses[keyof GetApiIndexByTableNameResponses];
|
|
1655
|
+
export type GetApiOffersConversationsData = {
|
|
1341
1656
|
body?: never;
|
|
1342
1657
|
path?: never;
|
|
1343
1658
|
query?: {
|
|
1344
|
-
filter?: 'all' | 'unread' | 'read';
|
|
1659
|
+
filter?: 'all' | 'unread' | 'read' | 'clubs' | 'agents';
|
|
1345
1660
|
page?: number;
|
|
1346
1661
|
pageSize?: number;
|
|
1347
1662
|
};
|
|
1348
|
-
url: '/offers/conversations';
|
|
1663
|
+
url: '/api/offers/conversations';
|
|
1349
1664
|
};
|
|
1350
|
-
export type
|
|
1665
|
+
export type GetApiOffersConversationsErrors = {
|
|
1351
1666
|
/**
|
|
1352
1667
|
* Unauthorized
|
|
1353
1668
|
*/
|
|
1354
1669
|
401: unknown;
|
|
1355
1670
|
};
|
|
1356
|
-
export type
|
|
1671
|
+
export type GetApiOffersConversationsResponses = {
|
|
1357
1672
|
200: ConversationListResultDto;
|
|
1358
1673
|
};
|
|
1359
|
-
export type
|
|
1360
|
-
export type
|
|
1674
|
+
export type GetApiOffersConversationsResponse = GetApiOffersConversationsResponses[keyof GetApiOffersConversationsResponses];
|
|
1675
|
+
export type PostApiOffersConversationsData = {
|
|
1361
1676
|
body: CreateConversationDto;
|
|
1362
1677
|
path?: never;
|
|
1363
1678
|
query?: never;
|
|
1364
|
-
url: '/offers/conversations';
|
|
1679
|
+
url: '/api/offers/conversations';
|
|
1365
1680
|
};
|
|
1366
|
-
export type
|
|
1681
|
+
export type PostApiOffersConversationsErrors = {
|
|
1367
1682
|
/**
|
|
1368
1683
|
* Unauthorized
|
|
1369
1684
|
*/
|
|
1370
1685
|
401: unknown;
|
|
1371
1686
|
};
|
|
1372
|
-
export type
|
|
1687
|
+
export type PostApiOffersConversationsResponses = {
|
|
1373
1688
|
201: ConversationDetailDto;
|
|
1374
1689
|
};
|
|
1375
|
-
export type
|
|
1376
|
-
export type
|
|
1690
|
+
export type PostApiOffersConversationsResponse = PostApiOffersConversationsResponses[keyof PostApiOffersConversationsResponses];
|
|
1691
|
+
export type GetApiOffersConversationsByIdMessagesData = {
|
|
1377
1692
|
body?: never;
|
|
1378
1693
|
path: {
|
|
1379
1694
|
id: string;
|
|
@@ -1382,9 +1697,9 @@ export type GetOffersConversationsByIdMessagesData = {
|
|
|
1382
1697
|
page?: number;
|
|
1383
1698
|
pageSize?: number;
|
|
1384
1699
|
};
|
|
1385
|
-
url: '/offers/conversations/{id}/messages';
|
|
1700
|
+
url: '/api/offers/conversations/{id}/messages';
|
|
1386
1701
|
};
|
|
1387
|
-
export type
|
|
1702
|
+
export type GetApiOffersConversationsByIdMessagesErrors = {
|
|
1388
1703
|
/**
|
|
1389
1704
|
* Unauthorized
|
|
1390
1705
|
*/
|
|
@@ -1398,19 +1713,19 @@ export type GetOffersConversationsByIdMessagesErrors = {
|
|
|
1398
1713
|
*/
|
|
1399
1714
|
404: unknown;
|
|
1400
1715
|
};
|
|
1401
|
-
export type
|
|
1716
|
+
export type GetApiOffersConversationsByIdMessagesResponses = {
|
|
1402
1717
|
200: MessageListResultDto;
|
|
1403
1718
|
};
|
|
1404
|
-
export type
|
|
1405
|
-
export type
|
|
1719
|
+
export type GetApiOffersConversationsByIdMessagesResponse = GetApiOffersConversationsByIdMessagesResponses[keyof GetApiOffersConversationsByIdMessagesResponses];
|
|
1720
|
+
export type PostApiOffersConversationsByIdMessagesData = {
|
|
1406
1721
|
body: SendMessageDto;
|
|
1407
1722
|
path: {
|
|
1408
1723
|
id: string;
|
|
1409
1724
|
};
|
|
1410
1725
|
query?: never;
|
|
1411
|
-
url: '/offers/conversations/{id}/messages';
|
|
1726
|
+
url: '/api/offers/conversations/{id}/messages';
|
|
1412
1727
|
};
|
|
1413
|
-
export type
|
|
1728
|
+
export type PostApiOffersConversationsByIdMessagesErrors = {
|
|
1414
1729
|
/**
|
|
1415
1730
|
* Unauthorized
|
|
1416
1731
|
*/
|
|
@@ -1424,19 +1739,19 @@ export type PostOffersConversationsByIdMessagesErrors = {
|
|
|
1424
1739
|
*/
|
|
1425
1740
|
404: unknown;
|
|
1426
1741
|
};
|
|
1427
|
-
export type
|
|
1742
|
+
export type PostApiOffersConversationsByIdMessagesResponses = {
|
|
1428
1743
|
201: MessageItemDto;
|
|
1429
1744
|
};
|
|
1430
|
-
export type
|
|
1431
|
-
export type
|
|
1745
|
+
export type PostApiOffersConversationsByIdMessagesResponse = PostApiOffersConversationsByIdMessagesResponses[keyof PostApiOffersConversationsByIdMessagesResponses];
|
|
1746
|
+
export type PatchApiOffersConversationsByIdReadData = {
|
|
1432
1747
|
body?: never;
|
|
1433
1748
|
path: {
|
|
1434
1749
|
id: string;
|
|
1435
1750
|
};
|
|
1436
1751
|
query?: never;
|
|
1437
|
-
url: '/offers/conversations/{id}/read';
|
|
1752
|
+
url: '/api/offers/conversations/{id}/read';
|
|
1438
1753
|
};
|
|
1439
|
-
export type
|
|
1754
|
+
export type PatchApiOffersConversationsByIdReadErrors = {
|
|
1440
1755
|
/**
|
|
1441
1756
|
* Unauthorized
|
|
1442
1757
|
*/
|
|
@@ -1450,16 +1765,16 @@ export type PatchOffersConversationsByIdReadErrors = {
|
|
|
1450
1765
|
*/
|
|
1451
1766
|
404: unknown;
|
|
1452
1767
|
};
|
|
1453
|
-
export type
|
|
1768
|
+
export type PatchApiOffersConversationsByIdReadResponses = {
|
|
1454
1769
|
200: unknown;
|
|
1455
1770
|
};
|
|
1456
|
-
export type
|
|
1771
|
+
export type PostApiOrganizationsRegisterClubData = {
|
|
1457
1772
|
body: RegisterClubDto;
|
|
1458
1773
|
path?: never;
|
|
1459
1774
|
query?: never;
|
|
1460
|
-
url: '/organizations/register-club';
|
|
1775
|
+
url: '/api/organizations/register-club';
|
|
1461
1776
|
};
|
|
1462
|
-
export type
|
|
1777
|
+
export type PostApiOrganizationsRegisterClubErrors = {
|
|
1463
1778
|
/**
|
|
1464
1779
|
* Bad request
|
|
1465
1780
|
*/
|
|
@@ -1469,17 +1784,17 @@ export type PostOrganizationsRegisterClubErrors = {
|
|
|
1469
1784
|
*/
|
|
1470
1785
|
409: unknown;
|
|
1471
1786
|
};
|
|
1472
|
-
export type
|
|
1787
|
+
export type PostApiOrganizationsRegisterClubResponses = {
|
|
1473
1788
|
201: RegisterClubResponseDto;
|
|
1474
1789
|
};
|
|
1475
|
-
export type
|
|
1476
|
-
export type
|
|
1790
|
+
export type PostApiOrganizationsRegisterClubResponse = PostApiOrganizationsRegisterClubResponses[keyof PostApiOrganizationsRegisterClubResponses];
|
|
1791
|
+
export type GetApiOrganizationsMeData = {
|
|
1477
1792
|
body?: never;
|
|
1478
1793
|
path?: never;
|
|
1479
1794
|
query?: never;
|
|
1480
|
-
url: '/organizations/me';
|
|
1795
|
+
url: '/api/organizations/me';
|
|
1481
1796
|
};
|
|
1482
|
-
export type
|
|
1797
|
+
export type GetApiOrganizationsMeErrors = {
|
|
1483
1798
|
/**
|
|
1484
1799
|
* Unauthorized
|
|
1485
1800
|
*/
|
|
@@ -1489,17 +1804,17 @@ export type GetOrganizationsMeErrors = {
|
|
|
1489
1804
|
*/
|
|
1490
1805
|
404: unknown;
|
|
1491
1806
|
};
|
|
1492
|
-
export type
|
|
1807
|
+
export type GetApiOrganizationsMeResponses = {
|
|
1493
1808
|
200: OrganizationResponseDto;
|
|
1494
1809
|
};
|
|
1495
|
-
export type
|
|
1496
|
-
export type
|
|
1810
|
+
export type GetApiOrganizationsMeResponse = GetApiOrganizationsMeResponses[keyof GetApiOrganizationsMeResponses];
|
|
1811
|
+
export type PutApiOrganizationsMeData = {
|
|
1497
1812
|
body: UpdateOrganizationDto;
|
|
1498
1813
|
path?: never;
|
|
1499
1814
|
query?: never;
|
|
1500
|
-
url: '/organizations/me';
|
|
1815
|
+
url: '/api/organizations/me';
|
|
1501
1816
|
};
|
|
1502
|
-
export type
|
|
1817
|
+
export type PutApiOrganizationsMeErrors = {
|
|
1503
1818
|
/**
|
|
1504
1819
|
* Unauthorized
|
|
1505
1820
|
*/
|
|
@@ -1509,17 +1824,17 @@ export type PutOrganizationsMeErrors = {
|
|
|
1509
1824
|
*/
|
|
1510
1825
|
404: unknown;
|
|
1511
1826
|
};
|
|
1512
|
-
export type
|
|
1827
|
+
export type PutApiOrganizationsMeResponses = {
|
|
1513
1828
|
200: OrganizationResponseDto;
|
|
1514
1829
|
};
|
|
1515
|
-
export type
|
|
1516
|
-
export type
|
|
1830
|
+
export type PutApiOrganizationsMeResponse = PutApiOrganizationsMeResponses[keyof PutApiOrganizationsMeResponses];
|
|
1831
|
+
export type PostApiStorageUploadUrlData = {
|
|
1517
1832
|
body: CreateUploadUrlDto;
|
|
1518
1833
|
path?: never;
|
|
1519
1834
|
query?: never;
|
|
1520
|
-
url: '/storage/upload-url';
|
|
1835
|
+
url: '/api/storage/upload-url';
|
|
1521
1836
|
};
|
|
1522
|
-
export type
|
|
1837
|
+
export type PostApiStorageUploadUrlErrors = {
|
|
1523
1838
|
/**
|
|
1524
1839
|
* Unknown bucket or disallowed MIME
|
|
1525
1840
|
*/
|
|
@@ -1533,41 +1848,185 @@ export type PostStorageUploadUrlErrors = {
|
|
|
1533
1848
|
*/
|
|
1534
1849
|
413: unknown;
|
|
1535
1850
|
};
|
|
1536
|
-
export type
|
|
1851
|
+
export type PostApiStorageUploadUrlResponses = {
|
|
1537
1852
|
/**
|
|
1538
1853
|
* Signed upload URL issued
|
|
1539
1854
|
*/
|
|
1540
1855
|
201: UploadUrlResponseDto;
|
|
1541
1856
|
};
|
|
1542
|
-
export type
|
|
1543
|
-
export type
|
|
1857
|
+
export type PostApiStorageUploadUrlResponse = PostApiStorageUploadUrlResponses[keyof PostApiStorageUploadUrlResponses];
|
|
1858
|
+
export type GetApiInvitationsData = {
|
|
1859
|
+
body?: never;
|
|
1860
|
+
path?: never;
|
|
1861
|
+
query?: never;
|
|
1862
|
+
url: '/api/invitations';
|
|
1863
|
+
};
|
|
1864
|
+
export type GetApiInvitationsResponses = {
|
|
1865
|
+
200: Array<InvitationResponseDto>;
|
|
1866
|
+
};
|
|
1867
|
+
export type GetApiInvitationsResponse = GetApiInvitationsResponses[keyof GetApiInvitationsResponses];
|
|
1868
|
+
export type PostApiInvitationsData = {
|
|
1869
|
+
body: SendInvitationRequestDto;
|
|
1870
|
+
path?: never;
|
|
1871
|
+
query?: never;
|
|
1872
|
+
url: '/api/invitations';
|
|
1873
|
+
};
|
|
1874
|
+
export type PostApiInvitationsErrors = {
|
|
1875
|
+
/**
|
|
1876
|
+
* Limit reached or duplicate email
|
|
1877
|
+
*/
|
|
1878
|
+
400: unknown;
|
|
1879
|
+
};
|
|
1880
|
+
export type PostApiInvitationsResponses = {
|
|
1881
|
+
201: InvitationResponseDto;
|
|
1882
|
+
};
|
|
1883
|
+
export type PostApiInvitationsResponse = PostApiInvitationsResponses[keyof PostApiInvitationsResponses];
|
|
1884
|
+
export type PostApiInvitationsByIdResendData = {
|
|
1885
|
+
body?: never;
|
|
1886
|
+
path: {
|
|
1887
|
+
id: string;
|
|
1888
|
+
};
|
|
1889
|
+
query?: never;
|
|
1890
|
+
url: '/api/invitations/{id}/resend';
|
|
1891
|
+
};
|
|
1892
|
+
export type PostApiInvitationsByIdResendErrors = {
|
|
1893
|
+
/**
|
|
1894
|
+
* Cannot resend a confirmed invitation
|
|
1895
|
+
*/
|
|
1896
|
+
400: unknown;
|
|
1897
|
+
/**
|
|
1898
|
+
* Invitation not found
|
|
1899
|
+
*/
|
|
1900
|
+
404: unknown;
|
|
1901
|
+
};
|
|
1902
|
+
export type PostApiInvitationsByIdResendResponses = {
|
|
1903
|
+
200: InvitationResponseDto;
|
|
1904
|
+
};
|
|
1905
|
+
export type PostApiInvitationsByIdResendResponse = PostApiInvitationsByIdResendResponses[keyof PostApiInvitationsByIdResendResponses];
|
|
1906
|
+
export type DeleteApiInvitationsByIdData = {
|
|
1907
|
+
body?: never;
|
|
1908
|
+
path: {
|
|
1909
|
+
id: string;
|
|
1910
|
+
};
|
|
1911
|
+
query?: never;
|
|
1912
|
+
url: '/api/invitations/{id}';
|
|
1913
|
+
};
|
|
1914
|
+
export type DeleteApiInvitationsByIdErrors = {
|
|
1915
|
+
/**
|
|
1916
|
+
* Cannot delete a confirmed invitation
|
|
1917
|
+
*/
|
|
1918
|
+
400: unknown;
|
|
1919
|
+
/**
|
|
1920
|
+
* Invitation not found
|
|
1921
|
+
*/
|
|
1922
|
+
404: unknown;
|
|
1923
|
+
};
|
|
1924
|
+
export type DeleteApiInvitationsByIdResponses = {
|
|
1925
|
+
/**
|
|
1926
|
+
* Deleted
|
|
1927
|
+
*/
|
|
1928
|
+
204: void;
|
|
1929
|
+
};
|
|
1930
|
+
export type DeleteApiInvitationsByIdResponse = DeleteApiInvitationsByIdResponses[keyof DeleteApiInvitationsByIdResponses];
|
|
1931
|
+
export type PostApiInvitationsAcceptData = {
|
|
1932
|
+
body?: never;
|
|
1933
|
+
path?: never;
|
|
1934
|
+
query?: never;
|
|
1935
|
+
url: '/api/invitations/accept';
|
|
1936
|
+
};
|
|
1937
|
+
export type PostApiInvitationsAcceptResponses = {
|
|
1938
|
+
/**
|
|
1939
|
+
* Accepted (or no pending invitation — idempotent)
|
|
1940
|
+
*/
|
|
1941
|
+
204: void;
|
|
1942
|
+
};
|
|
1943
|
+
export type PostApiInvitationsAcceptResponse = PostApiInvitationsAcceptResponses[keyof PostApiInvitationsAcceptResponses];
|
|
1944
|
+
export type GetApiTrainingGroupedData = {
|
|
1945
|
+
body?: never;
|
|
1946
|
+
path?: never;
|
|
1947
|
+
query?: never;
|
|
1948
|
+
url: '/api/training/grouped';
|
|
1949
|
+
};
|
|
1950
|
+
export type GetApiTrainingGroupedErrors = {
|
|
1951
|
+
/**
|
|
1952
|
+
* Unauthorized
|
|
1953
|
+
*/
|
|
1954
|
+
401: unknown;
|
|
1955
|
+
};
|
|
1956
|
+
export type GetApiTrainingGroupedResponses = {
|
|
1957
|
+
200: Array<TrainingCategoryGroupDto>;
|
|
1958
|
+
};
|
|
1959
|
+
export type GetApiTrainingGroupedResponse = GetApiTrainingGroupedResponses[keyof GetApiTrainingGroupedResponses];
|
|
1960
|
+
export type GetApiTrainingData = {
|
|
1961
|
+
body?: never;
|
|
1962
|
+
path?: never;
|
|
1963
|
+
query?: {
|
|
1964
|
+
categoryCode?: string;
|
|
1965
|
+
page?: number;
|
|
1966
|
+
pageSize?: number;
|
|
1967
|
+
};
|
|
1968
|
+
url: '/api/training';
|
|
1969
|
+
};
|
|
1970
|
+
export type GetApiTrainingErrors = {
|
|
1971
|
+
/**
|
|
1972
|
+
* Unauthorized
|
|
1973
|
+
*/
|
|
1974
|
+
401: unknown;
|
|
1975
|
+
};
|
|
1976
|
+
export type GetApiTrainingResponses = {
|
|
1977
|
+
200: PaginatedTrainingContentDto;
|
|
1978
|
+
};
|
|
1979
|
+
export type GetApiTrainingResponse = GetApiTrainingResponses[keyof GetApiTrainingResponses];
|
|
1980
|
+
export type GetApiTrainingByIdData = {
|
|
1981
|
+
body?: never;
|
|
1982
|
+
path: {
|
|
1983
|
+
id: string;
|
|
1984
|
+
};
|
|
1985
|
+
query?: never;
|
|
1986
|
+
url: '/api/training/{id}';
|
|
1987
|
+
};
|
|
1988
|
+
export type GetApiTrainingByIdErrors = {
|
|
1989
|
+
/**
|
|
1990
|
+
* Unauthorized
|
|
1991
|
+
*/
|
|
1992
|
+
401: unknown;
|
|
1993
|
+
/**
|
|
1994
|
+
* Not found
|
|
1995
|
+
*/
|
|
1996
|
+
404: unknown;
|
|
1997
|
+
};
|
|
1998
|
+
export type GetApiTrainingByIdResponses = {
|
|
1999
|
+
200: TrainingContentDetailDto;
|
|
2000
|
+
};
|
|
2001
|
+
export type GetApiTrainingByIdResponse = GetApiTrainingByIdResponses[keyof GetApiTrainingByIdResponses];
|
|
2002
|
+
export type GetApiVideosMeData = {
|
|
1544
2003
|
body?: never;
|
|
1545
2004
|
path?: never;
|
|
1546
2005
|
query: {
|
|
1547
2006
|
type: string;
|
|
1548
2007
|
};
|
|
1549
|
-
url: '/videos/me';
|
|
2008
|
+
url: '/api/videos/me';
|
|
1550
2009
|
};
|
|
1551
|
-
export type
|
|
2010
|
+
export type GetApiVideosMeErrors = {
|
|
1552
2011
|
/**
|
|
1553
2012
|
* Unauthorized
|
|
1554
2013
|
*/
|
|
1555
2014
|
401: unknown;
|
|
1556
2015
|
};
|
|
1557
|
-
export type
|
|
2016
|
+
export type GetApiVideosMeResponses = {
|
|
1558
2017
|
/**
|
|
1559
2018
|
* List of videos
|
|
1560
2019
|
*/
|
|
1561
2020
|
200: Array<VideoResponseDto>;
|
|
1562
2021
|
};
|
|
1563
|
-
export type
|
|
1564
|
-
export type
|
|
2022
|
+
export type GetApiVideosMeResponse = GetApiVideosMeResponses[keyof GetApiVideosMeResponses];
|
|
2023
|
+
export type PostApiVideosData = {
|
|
1565
2024
|
body: CreateVideoDto;
|
|
1566
2025
|
path?: never;
|
|
1567
2026
|
query?: never;
|
|
1568
|
-
url: '/videos';
|
|
2027
|
+
url: '/api/videos';
|
|
1569
2028
|
};
|
|
1570
|
-
export type
|
|
2029
|
+
export type PostApiVideosErrors = {
|
|
1571
2030
|
/**
|
|
1572
2031
|
* Invalid input or best_moment limit exceeded
|
|
1573
2032
|
*/
|
|
@@ -1577,22 +2036,22 @@ export type PostVideosErrors = {
|
|
|
1577
2036
|
*/
|
|
1578
2037
|
401: unknown;
|
|
1579
2038
|
};
|
|
1580
|
-
export type
|
|
2039
|
+
export type PostApiVideosResponses = {
|
|
1581
2040
|
/**
|
|
1582
2041
|
* Video created
|
|
1583
2042
|
*/
|
|
1584
2043
|
201: VideoResponseDto;
|
|
1585
2044
|
};
|
|
1586
|
-
export type
|
|
1587
|
-
export type
|
|
2045
|
+
export type PostApiVideosResponse = PostApiVideosResponses[keyof PostApiVideosResponses];
|
|
2046
|
+
export type GetApiVideosByIdPlayUrlData = {
|
|
1588
2047
|
body?: never;
|
|
1589
2048
|
path: {
|
|
1590
2049
|
id: string;
|
|
1591
2050
|
};
|
|
1592
2051
|
query?: never;
|
|
1593
|
-
url: '/videos/{id}/play-url';
|
|
2052
|
+
url: '/api/videos/{id}/play-url';
|
|
1594
2053
|
};
|
|
1595
|
-
export type
|
|
2054
|
+
export type GetApiVideosByIdPlayUrlErrors = {
|
|
1596
2055
|
/**
|
|
1597
2056
|
* Unauthorized
|
|
1598
2057
|
*/
|
|
@@ -1602,22 +2061,22 @@ export type GetVideosByIdPlayUrlErrors = {
|
|
|
1602
2061
|
*/
|
|
1603
2062
|
404: unknown;
|
|
1604
2063
|
};
|
|
1605
|
-
export type
|
|
2064
|
+
export type GetApiVideosByIdPlayUrlResponses = {
|
|
1606
2065
|
/**
|
|
1607
2066
|
* Short-lived signed URL for video playback
|
|
1608
2067
|
*/
|
|
1609
2068
|
200: PlayUrlResponseDto;
|
|
1610
2069
|
};
|
|
1611
|
-
export type
|
|
1612
|
-
export type
|
|
2070
|
+
export type GetApiVideosByIdPlayUrlResponse = GetApiVideosByIdPlayUrlResponses[keyof GetApiVideosByIdPlayUrlResponses];
|
|
2071
|
+
export type DeleteApiVideosByIdData = {
|
|
1613
2072
|
body?: never;
|
|
1614
2073
|
path: {
|
|
1615
2074
|
id: string;
|
|
1616
2075
|
};
|
|
1617
2076
|
query?: never;
|
|
1618
|
-
url: '/videos/{id}';
|
|
2077
|
+
url: '/api/videos/{id}';
|
|
1619
2078
|
};
|
|
1620
|
-
export type
|
|
2079
|
+
export type DeleteApiVideosByIdErrors = {
|
|
1621
2080
|
/**
|
|
1622
2081
|
* Unauthorized
|
|
1623
2082
|
*/
|
|
@@ -1627,10 +2086,10 @@ export type DeleteVideosByIdErrors = {
|
|
|
1627
2086
|
*/
|
|
1628
2087
|
404: unknown;
|
|
1629
2088
|
};
|
|
1630
|
-
export type
|
|
2089
|
+
export type DeleteApiVideosByIdResponses = {
|
|
1631
2090
|
/**
|
|
1632
2091
|
* Video deleted
|
|
1633
2092
|
*/
|
|
1634
2093
|
204: void;
|
|
1635
2094
|
};
|
|
1636
|
-
export type
|
|
2095
|
+
export type DeleteApiVideosByIdResponse = DeleteApiVideosByIdResponses[keyof DeleteApiVideosByIdResponses];
|