@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/types.gen.ts CHANGED
@@ -62,6 +62,25 @@ export type PlayerResponseDto = {
62
62
  updatedAt?: string | null;
63
63
  };
64
64
 
65
+ export type DivisionDto = {
66
+ /**
67
+ * Division tier 1 (highest) to 5 (lowest)
68
+ */
69
+ number: 1 | 2 | 3 | 4 | 5;
70
+ /**
71
+ * Minimum XP of the current tier
72
+ */
73
+ currentTierMin: number;
74
+ /**
75
+ * Minimum XP of the next tier; null at top tier
76
+ */
77
+ nextTierMin: number | null;
78
+ /**
79
+ * Progress through current tier, range [0, 1]
80
+ */
81
+ progressInTier: number;
82
+ };
83
+
65
84
  export type DashboardResponseDto = {
66
85
  /**
67
86
  * First name
@@ -107,6 +126,22 @@ export type DashboardResponseDto = {
107
126
  * Has at least one language set
108
127
  */
109
128
  hasLanguages: boolean;
129
+ /**
130
+ * Cumulative XP from completed challenges
131
+ */
132
+ totalXp: number;
133
+ division: DivisionDto;
134
+ };
135
+
136
+ export type HeartbeatDto = {
137
+ /**
138
+ * IANA timezone from the client device
139
+ */
140
+ timezone: string;
141
+ };
142
+
143
+ export type HeartbeatResponseDto = {
144
+ ok: boolean;
110
145
  };
111
146
 
112
147
  export type UpdatePlayerDto = {
@@ -702,6 +737,102 @@ export type CreateBodyMeasurementDto = {
702
737
  imageUrl?: string;
703
738
  };
704
739
 
740
+ export type ChallengeCatalogDto = {
741
+ id: string;
742
+ code: string;
743
+ name: string;
744
+ description?: string | null;
745
+ categoryCode: string;
746
+ xpReward: number;
747
+ deadlineDays: number;
748
+ resetPeriod?: string | null;
749
+ iconUrl?: string | null;
750
+ displayOrder?: number | null;
751
+ };
752
+
753
+ export type MyChallengeDto = {
754
+ /**
755
+ * user_challenges.id — stable per (user, challenge, period)
756
+ */
757
+ id: string;
758
+ code: string;
759
+ name: string;
760
+ description?: string | null;
761
+ categoryCode: string;
762
+ xpReward: number;
763
+ deadlineDays: number;
764
+ resetPeriod?: string | null;
765
+ iconUrl?: string | null;
766
+ status: 'active' | 'completed' | 'expired';
767
+ /**
768
+ * Current progress, 0..target
769
+ */
770
+ progress: number;
771
+ /**
772
+ * Completion threshold
773
+ */
774
+ target: number;
775
+ /**
776
+ * ISO timestamp when this instance expires
777
+ */
778
+ expiresAt: string;
779
+ /**
780
+ * ISO timestamp — when the user first saw this challenge instance
781
+ */
782
+ startedAt: string;
783
+ /**
784
+ * ISO timestamp; null if not yet completed
785
+ */
786
+ completedAt?: string | null;
787
+ /**
788
+ * ISO date for period start (0001-01-01 sentinel for non-resetting)
789
+ */
790
+ periodStart: string;
791
+ };
792
+
793
+ export type ClubResponseDto = {
794
+ id: string;
795
+ userId: string;
796
+ clubName: string;
797
+ userTypeCode?: string | null;
798
+ isCurrent: boolean;
799
+ joinedAt?: string | null;
800
+ leftAt?: string | null;
801
+ createdAt: string;
802
+ updatedAt: string;
803
+ };
804
+
805
+ export type CreateClubDto = {
806
+ /**
807
+ * Display name of the club (free text).
808
+ */
809
+ clubName: string;
810
+ /**
811
+ * ISO date string — when the player joined.
812
+ */
813
+ joinedAt?: string;
814
+ /**
815
+ * ISO date string — when the player left.
816
+ */
817
+ leftAt?: string;
818
+ /**
819
+ * Whether this is the currently active club.
820
+ */
821
+ isCurrent?: boolean;
822
+ /**
823
+ * Role at the club (e.g. player, coach). Matches index.user_types.code.
824
+ */
825
+ userTypeCode?: string;
826
+ };
827
+
828
+ export type UpdateClubDto = {
829
+ clubName?: string;
830
+ joinedAt?: string;
831
+ leftAt?: string;
832
+ isCurrent?: boolean;
833
+ userTypeCode?: string;
834
+ };
835
+
705
836
  export type DocumentResponseDto = {
706
837
  id: string;
707
838
  userId: string;
@@ -746,6 +877,12 @@ export type IndexItemDto = {
746
877
  displayOrder: number | null;
747
878
  };
748
879
 
880
+ export type ConversationOrganizationDto = {
881
+ id: string;
882
+ name: string;
883
+ logoUrl: string | null;
884
+ };
885
+
749
886
  export type ConversationParticipantDto = {
750
887
  /**
751
888
  * user_data id
@@ -762,6 +899,11 @@ export type ConversationParticipantDto = {
762
899
  * Primary position code
763
900
  */
764
901
  primaryPosition?: string | null;
902
+ /**
903
+ * user_data.user_type code (e.g. club_admin, scouter)
904
+ */
905
+ userType: string | null;
906
+ organization?: ConversationOrganizationDto | null;
765
907
  };
766
908
 
767
909
  export type ConversationItemDto = {
@@ -1041,6 +1183,63 @@ export type UploadUrlResponseDto = {
1041
1183
  expiresIn: number;
1042
1184
  };
1043
1185
 
1186
+ export type SendInvitationRequestDto = {
1187
+ email: string;
1188
+ };
1189
+
1190
+ export type InvitationResponseDto = {
1191
+ id: string;
1192
+ email: string;
1193
+ firstName?: string | null;
1194
+ lastName?: string | null;
1195
+ status: 'confirmed' | 'pending' | 'expired';
1196
+ invitedAt: string;
1197
+ expiresAt: string;
1198
+ acceptedAt?: string | null;
1199
+ };
1200
+
1201
+ export type TrainingContentListItemDto = {
1202
+ id: string;
1203
+ title: string;
1204
+ summary?: string | null;
1205
+ thumbnailUrl?: string | null;
1206
+ durationSeconds?: number | null;
1207
+ categoryCode: string;
1208
+ difficultyLevel: string;
1209
+ xpReward: number;
1210
+ displayOrder?: number | null;
1211
+ };
1212
+
1213
+ export type TrainingCategoryGroupDto = {
1214
+ categoryCode: string;
1215
+ categoryName: string;
1216
+ items: Array<TrainingContentListItemDto>;
1217
+ };
1218
+
1219
+ export type PaginatedTrainingContentDto = {
1220
+ items: Array<TrainingContentListItemDto>;
1221
+ /**
1222
+ * Total matching records
1223
+ */
1224
+ total: number;
1225
+ page: number;
1226
+ pageSize: number;
1227
+ };
1228
+
1229
+ export type TrainingContentDetailDto = {
1230
+ id: string;
1231
+ title: string;
1232
+ subtitle?: string | null;
1233
+ description?: string | null;
1234
+ thumbnailUrl?: string | null;
1235
+ videoUrl?: string | null;
1236
+ durationSeconds?: number | null;
1237
+ categoryCode: string;
1238
+ difficultyLevel: string;
1239
+ xpReward: number;
1240
+ displayOrder?: number | null;
1241
+ };
1242
+
1044
1243
  export type VideoResponseDto = {
1045
1244
  id: string;
1046
1245
  userId: string;
@@ -1099,118 +1298,140 @@ export type PlayUrlResponseDto = {
1099
1298
  expiresIn: number;
1100
1299
  };
1101
1300
 
1102
- export type GetAuthMeData = {
1301
+ export type GetApiAuthMeData = {
1103
1302
  body?: never;
1104
1303
  path?: never;
1105
1304
  query?: never;
1106
- url: '/auth/me';
1305
+ url: '/api/auth/me';
1107
1306
  };
1108
1307
 
1109
- export type GetAuthMeErrors = {
1308
+ export type GetApiAuthMeErrors = {
1110
1309
  /**
1111
1310
  * Unauthorized
1112
1311
  */
1113
1312
  401: unknown;
1114
1313
  };
1115
1314
 
1116
- export type GetAuthMeResponses = {
1315
+ export type GetApiAuthMeResponses = {
1117
1316
  200: AuthMeResponseDto;
1118
1317
  };
1119
1318
 
1120
- export type GetAuthMeResponse = GetAuthMeResponses[keyof GetAuthMeResponses];
1319
+ export type GetApiAuthMeResponse =
1320
+ GetApiAuthMeResponses[keyof GetApiAuthMeResponses];
1121
1321
 
1122
- export type DeletePlayersMeData = {
1322
+ export type DeleteApiPlayersMeData = {
1123
1323
  body?: never;
1124
1324
  path?: never;
1125
1325
  query?: never;
1126
- url: '/players/me';
1326
+ url: '/api/players/me';
1127
1327
  };
1128
1328
 
1129
- export type DeletePlayersMeErrors = {
1329
+ export type DeleteApiPlayersMeErrors = {
1130
1330
  /**
1131
1331
  * Deletion not configured
1132
1332
  */
1133
1333
  503: unknown;
1134
1334
  };
1135
1335
 
1136
- export type DeletePlayersMeResponses = {
1336
+ export type DeleteApiPlayersMeResponses = {
1137
1337
  204: void;
1138
1338
  };
1139
1339
 
1140
- export type DeletePlayersMeResponse =
1141
- DeletePlayersMeResponses[keyof DeletePlayersMeResponses];
1340
+ export type DeleteApiPlayersMeResponse =
1341
+ DeleteApiPlayersMeResponses[keyof DeleteApiPlayersMeResponses];
1142
1342
 
1143
- export type GetPlayersMeData = {
1343
+ export type GetApiPlayersMeData = {
1144
1344
  body?: never;
1145
1345
  path?: never;
1146
1346
  query?: never;
1147
- url: '/players/me';
1347
+ url: '/api/players/me';
1148
1348
  };
1149
1349
 
1150
- export type GetPlayersMeErrors = {
1350
+ export type GetApiPlayersMeErrors = {
1151
1351
  /**
1152
1352
  * Unauthorized
1153
1353
  */
1154
1354
  401: unknown;
1155
1355
  };
1156
1356
 
1157
- export type GetPlayersMeResponses = {
1357
+ export type GetApiPlayersMeResponses = {
1158
1358
  200: PlayerResponseDto;
1159
1359
  };
1160
1360
 
1161
- export type GetPlayersMeResponse =
1162
- GetPlayersMeResponses[keyof GetPlayersMeResponses];
1361
+ export type GetApiPlayersMeResponse =
1362
+ GetApiPlayersMeResponses[keyof GetApiPlayersMeResponses];
1163
1363
 
1164
- export type PatchPlayersMeData = {
1364
+ export type PatchApiPlayersMeData = {
1165
1365
  body: UpdatePlayerDto;
1166
1366
  path?: never;
1167
1367
  query?: never;
1168
- url: '/players/me';
1368
+ url: '/api/players/me';
1169
1369
  };
1170
1370
 
1171
- export type PatchPlayersMeErrors = {
1371
+ export type PatchApiPlayersMeErrors = {
1172
1372
  /**
1173
1373
  * Unauthorized
1174
1374
  */
1175
1375
  401: unknown;
1176
1376
  };
1177
1377
 
1178
- export type PatchPlayersMeResponses = {
1378
+ export type PatchApiPlayersMeResponses = {
1179
1379
  200: PlayerResponseDto;
1180
1380
  };
1181
1381
 
1182
- export type PatchPlayersMeResponse =
1183
- PatchPlayersMeResponses[keyof PatchPlayersMeResponses];
1382
+ export type PatchApiPlayersMeResponse =
1383
+ PatchApiPlayersMeResponses[keyof PatchApiPlayersMeResponses];
1184
1384
 
1185
- export type GetPlayersMeDashboardData = {
1385
+ export type GetApiPlayersMeDashboardData = {
1186
1386
  body?: never;
1187
1387
  path?: never;
1188
1388
  query?: never;
1189
- url: '/players/me/dashboard';
1389
+ url: '/api/players/me/dashboard';
1190
1390
  };
1191
1391
 
1192
- export type GetPlayersMeDashboardErrors = {
1392
+ export type GetApiPlayersMeDashboardErrors = {
1193
1393
  /**
1194
1394
  * Unauthorized
1195
1395
  */
1196
1396
  401: unknown;
1197
1397
  };
1198
1398
 
1199
- export type GetPlayersMeDashboardResponses = {
1399
+ export type GetApiPlayersMeDashboardResponses = {
1200
1400
  200: DashboardResponseDto;
1201
1401
  };
1202
1402
 
1203
- export type GetPlayersMeDashboardResponse =
1204
- GetPlayersMeDashboardResponses[keyof GetPlayersMeDashboardResponses];
1403
+ export type GetApiPlayersMeDashboardResponse =
1404
+ GetApiPlayersMeDashboardResponses[keyof GetApiPlayersMeDashboardResponses];
1405
+
1406
+ export type PostApiPlayersMeHeartbeatData = {
1407
+ body: HeartbeatDto;
1408
+ path?: never;
1409
+ query?: never;
1410
+ url: '/api/players/me/heartbeat';
1411
+ };
1205
1412
 
1206
- export type PostPlayersSearchData = {
1413
+ export type PostApiPlayersMeHeartbeatErrors = {
1414
+ /**
1415
+ * Unauthorized
1416
+ */
1417
+ 401: unknown;
1418
+ };
1419
+
1420
+ export type PostApiPlayersMeHeartbeatResponses = {
1421
+ 200: HeartbeatResponseDto;
1422
+ };
1423
+
1424
+ export type PostApiPlayersMeHeartbeatResponse =
1425
+ PostApiPlayersMeHeartbeatResponses[keyof PostApiPlayersMeHeartbeatResponses];
1426
+
1427
+ export type PostApiPlayersSearchData = {
1207
1428
  body: PlayerSearchRequestDto;
1208
1429
  path?: never;
1209
1430
  query?: never;
1210
- url: '/players/search';
1431
+ url: '/api/players/search';
1211
1432
  };
1212
1433
 
1213
- export type PostPlayersSearchErrors = {
1434
+ export type PostApiPlayersSearchErrors = {
1214
1435
  /**
1215
1436
  * Invalid filter combination
1216
1437
  */
@@ -1221,23 +1442,23 @@ export type PostPlayersSearchErrors = {
1221
1442
  401: unknown;
1222
1443
  };
1223
1444
 
1224
- export type PostPlayersSearchResponses = {
1445
+ export type PostApiPlayersSearchResponses = {
1225
1446
  200: PlayerSearchResultDto;
1226
1447
  };
1227
1448
 
1228
- export type PostPlayersSearchResponse =
1229
- PostPlayersSearchResponses[keyof PostPlayersSearchResponses];
1449
+ export type PostApiPlayersSearchResponse =
1450
+ PostApiPlayersSearchResponses[keyof PostApiPlayersSearchResponses];
1230
1451
 
1231
- export type GetPlayersByIdData = {
1452
+ export type GetApiPlayersByIdData = {
1232
1453
  body?: never;
1233
1454
  path: {
1234
1455
  id: string;
1235
1456
  };
1236
1457
  query?: never;
1237
- url: '/players/{id}';
1458
+ url: '/api/players/{id}';
1238
1459
  };
1239
1460
 
1240
- export type GetPlayersByIdErrors = {
1461
+ export type GetApiPlayersByIdErrors = {
1241
1462
  /**
1242
1463
  * Unauthorized
1243
1464
  */
@@ -1248,21 +1469,21 @@ export type GetPlayersByIdErrors = {
1248
1469
  404: unknown;
1249
1470
  };
1250
1471
 
1251
- export type GetPlayersByIdResponses = {
1472
+ export type GetApiPlayersByIdResponses = {
1252
1473
  200: PlayerByIdDto;
1253
1474
  };
1254
1475
 
1255
- export type GetPlayersByIdResponse =
1256
- GetPlayersByIdResponses[keyof GetPlayersByIdResponses];
1476
+ export type GetApiPlayersByIdResponse =
1477
+ GetApiPlayersByIdResponses[keyof GetApiPlayersByIdResponses];
1257
1478
 
1258
- export type GetProfileMeData = {
1479
+ export type GetApiProfileMeData = {
1259
1480
  body?: never;
1260
1481
  path?: never;
1261
1482
  query?: never;
1262
- url: '/profile/me';
1483
+ url: '/api/profile/me';
1263
1484
  };
1264
1485
 
1265
- export type GetProfileMeErrors = {
1486
+ export type GetApiProfileMeErrors = {
1266
1487
  /**
1267
1488
  * Unauthorized
1268
1489
  */
@@ -1273,83 +1494,83 @@ export type GetProfileMeErrors = {
1273
1494
  404: unknown;
1274
1495
  };
1275
1496
 
1276
- export type GetProfileMeResponses = {
1497
+ export type GetApiProfileMeResponses = {
1277
1498
  /**
1278
1499
  * Current player profile
1279
1500
  */
1280
1501
  200: ProfileResponseDto;
1281
1502
  };
1282
1503
 
1283
- export type GetProfileMeResponse =
1284
- GetProfileMeResponses[keyof GetProfileMeResponses];
1504
+ export type GetApiProfileMeResponse =
1505
+ GetApiProfileMeResponses[keyof GetApiProfileMeResponses];
1285
1506
 
1286
- export type PutProfileMeData = {
1507
+ export type PutApiProfileMeData = {
1287
1508
  body: UpdateProfileDto;
1288
1509
  path?: never;
1289
1510
  query?: never;
1290
- url: '/profile/me';
1511
+ url: '/api/profile/me';
1291
1512
  };
1292
1513
 
1293
- export type PutProfileMeErrors = {
1514
+ export type PutApiProfileMeErrors = {
1294
1515
  /**
1295
1516
  * Unauthorized
1296
1517
  */
1297
1518
  401: unknown;
1298
1519
  };
1299
1520
 
1300
- export type PutProfileMeResponses = {
1521
+ export type PutApiProfileMeResponses = {
1301
1522
  /**
1302
1523
  * Updated profile
1303
1524
  */
1304
1525
  200: ProfileResponseDto;
1305
1526
  };
1306
1527
 
1307
- export type PutProfileMeResponse =
1308
- PutProfileMeResponses[keyof PutProfileMeResponses];
1528
+ export type PutApiProfileMeResponse =
1529
+ PutApiProfileMeResponses[keyof PutApiProfileMeResponses];
1309
1530
 
1310
- export type GetAchievementsData = {
1531
+ export type GetApiAchievementsData = {
1311
1532
  body?: never;
1312
1533
  path?: never;
1313
1534
  query?: never;
1314
- url: '/achievements';
1535
+ url: '/api/achievements';
1315
1536
  };
1316
1537
 
1317
- export type GetAchievementsResponses = {
1538
+ export type GetApiAchievementsResponses = {
1318
1539
  200: Array<AchievementCatalogDto>;
1319
1540
  };
1320
1541
 
1321
- export type GetAchievementsResponse =
1322
- GetAchievementsResponses[keyof GetAchievementsResponses];
1542
+ export type GetApiAchievementsResponse =
1543
+ GetApiAchievementsResponses[keyof GetApiAchievementsResponses];
1323
1544
 
1324
- export type GetAchievementsMeData = {
1545
+ export type GetApiAchievementsMeData = {
1325
1546
  body?: never;
1326
1547
  path?: never;
1327
1548
  query?: never;
1328
- url: '/achievements/me';
1549
+ url: '/api/achievements/me';
1329
1550
  };
1330
1551
 
1331
- export type GetAchievementsMeErrors = {
1552
+ export type GetApiAchievementsMeErrors = {
1332
1553
  /**
1333
1554
  * Unauthorized
1334
1555
  */
1335
1556
  401: unknown;
1336
1557
  };
1337
1558
 
1338
- export type GetAchievementsMeResponses = {
1559
+ export type GetApiAchievementsMeResponses = {
1339
1560
  200: Array<UserAchievementResponseDto>;
1340
1561
  };
1341
1562
 
1342
- export type GetAchievementsMeResponse =
1343
- GetAchievementsMeResponses[keyof GetAchievementsMeResponses];
1563
+ export type GetApiAchievementsMeResponse =
1564
+ GetApiAchievementsMeResponses[keyof GetApiAchievementsMeResponses];
1344
1565
 
1345
- export type GetBodyMeasurementsMeData = {
1566
+ export type GetApiBodyMeasurementsMeData = {
1346
1567
  body?: never;
1347
1568
  path?: never;
1348
1569
  query?: never;
1349
- url: '/body/measurements/me';
1570
+ url: '/api/body/measurements/me';
1350
1571
  };
1351
1572
 
1352
- export type GetBodyMeasurementsMeErrors = {
1573
+ export type GetApiBodyMeasurementsMeErrors = {
1353
1574
  /**
1354
1575
  * Unauthorized
1355
1576
  */
@@ -1360,98 +1581,243 @@ export type GetBodyMeasurementsMeErrors = {
1360
1581
  404: unknown;
1361
1582
  };
1362
1583
 
1363
- export type GetBodyMeasurementsMeResponses = {
1584
+ export type GetApiBodyMeasurementsMeResponses = {
1364
1585
  /**
1365
1586
  * Latest body measurement
1366
1587
  */
1367
1588
  200: BodyMeasurementResponseDto;
1368
1589
  };
1369
1590
 
1370
- export type GetBodyMeasurementsMeResponse =
1371
- GetBodyMeasurementsMeResponses[keyof GetBodyMeasurementsMeResponses];
1591
+ export type GetApiBodyMeasurementsMeResponse =
1592
+ GetApiBodyMeasurementsMeResponses[keyof GetApiBodyMeasurementsMeResponses];
1372
1593
 
1373
- export type PostBodyMeasurementsData = {
1594
+ export type PostApiBodyMeasurementsData = {
1374
1595
  body: CreateBodyMeasurementDto;
1375
1596
  path?: never;
1376
1597
  query?: never;
1377
- url: '/body/measurements';
1598
+ url: '/api/body/measurements';
1378
1599
  };
1379
1600
 
1380
- export type PostBodyMeasurementsErrors = {
1601
+ export type PostApiBodyMeasurementsErrors = {
1381
1602
  /**
1382
1603
  * Unauthorized
1383
1604
  */
1384
1605
  401: unknown;
1385
1606
  };
1386
1607
 
1387
- export type PostBodyMeasurementsResponses = {
1608
+ export type PostApiBodyMeasurementsResponses = {
1388
1609
  /**
1389
1610
  * Body measurement created
1390
1611
  */
1391
1612
  201: BodyMeasurementResponseDto;
1392
1613
  };
1393
1614
 
1394
- export type PostBodyMeasurementsResponse =
1395
- PostBodyMeasurementsResponses[keyof PostBodyMeasurementsResponses];
1615
+ export type PostApiBodyMeasurementsResponse =
1616
+ PostApiBodyMeasurementsResponses[keyof PostApiBodyMeasurementsResponses];
1396
1617
 
1397
- export type GetDocumentsMeData = {
1618
+ export type GetApiChallengesData = {
1398
1619
  body?: never;
1399
1620
  path?: never;
1400
1621
  query?: never;
1401
- url: '/documents/me';
1622
+ url: '/api/challenges';
1402
1623
  };
1403
1624
 
1404
- export type GetDocumentsMeErrors = {
1625
+ export type GetApiChallengesErrors = {
1405
1626
  /**
1406
1627
  * Unauthorized
1407
1628
  */
1408
1629
  401: unknown;
1409
1630
  };
1410
1631
 
1411
- export type GetDocumentsMeResponses = {
1632
+ export type GetApiChallengesResponses = {
1633
+ 200: Array<ChallengeCatalogDto>;
1634
+ };
1635
+
1636
+ export type GetApiChallengesResponse =
1637
+ GetApiChallengesResponses[keyof GetApiChallengesResponses];
1638
+
1639
+ export type GetApiChallengesMeData = {
1640
+ body?: never;
1641
+ path?: never;
1642
+ query?: never;
1643
+ url: '/api/challenges/me';
1644
+ };
1645
+
1646
+ export type GetApiChallengesMeErrors = {
1647
+ /**
1648
+ * Unauthorized
1649
+ */
1650
+ 401: unknown;
1651
+ /**
1652
+ * Player-only endpoint
1653
+ */
1654
+ 403: unknown;
1655
+ };
1656
+
1657
+ export type GetApiChallengesMeResponses = {
1658
+ 200: Array<MyChallengeDto>;
1659
+ };
1660
+
1661
+ export type GetApiChallengesMeResponse =
1662
+ GetApiChallengesMeResponses[keyof GetApiChallengesMeResponses];
1663
+
1664
+ export type GetApiClubsMeData = {
1665
+ body?: never;
1666
+ path?: never;
1667
+ query?: never;
1668
+ url: '/api/clubs/me';
1669
+ };
1670
+
1671
+ export type GetApiClubsMeErrors = {
1672
+ /**
1673
+ * Unauthorized
1674
+ */
1675
+ 401: unknown;
1676
+ };
1677
+
1678
+ export type GetApiClubsMeResponses = {
1679
+ 200: Array<ClubResponseDto>;
1680
+ };
1681
+
1682
+ export type GetApiClubsMeResponse =
1683
+ GetApiClubsMeResponses[keyof GetApiClubsMeResponses];
1684
+
1685
+ export type PostApiClubsMeData = {
1686
+ body: CreateClubDto;
1687
+ path?: never;
1688
+ query?: never;
1689
+ url: '/api/clubs/me';
1690
+ };
1691
+
1692
+ export type PostApiClubsMeErrors = {
1693
+ /**
1694
+ * Unauthorized
1695
+ */
1696
+ 401: unknown;
1697
+ };
1698
+
1699
+ export type PostApiClubsMeResponses = {
1700
+ 201: ClubResponseDto;
1701
+ };
1702
+
1703
+ export type PostApiClubsMeResponse =
1704
+ PostApiClubsMeResponses[keyof PostApiClubsMeResponses];
1705
+
1706
+ export type DeleteApiClubsMeByIdData = {
1707
+ body?: never;
1708
+ path: {
1709
+ id: string;
1710
+ };
1711
+ query?: never;
1712
+ url: '/api/clubs/me/{id}';
1713
+ };
1714
+
1715
+ export type DeleteApiClubsMeByIdErrors = {
1716
+ /**
1717
+ * Unauthorized
1718
+ */
1719
+ 401: unknown;
1720
+ /**
1721
+ * Club not found
1722
+ */
1723
+ 404: unknown;
1724
+ };
1725
+
1726
+ export type DeleteApiClubsMeByIdResponses = {
1727
+ /**
1728
+ * Club deleted
1729
+ */
1730
+ 204: void;
1731
+ };
1732
+
1733
+ export type DeleteApiClubsMeByIdResponse =
1734
+ DeleteApiClubsMeByIdResponses[keyof DeleteApiClubsMeByIdResponses];
1735
+
1736
+ export type PatchApiClubsMeByIdData = {
1737
+ body: UpdateClubDto;
1738
+ path: {
1739
+ id: string;
1740
+ };
1741
+ query?: never;
1742
+ url: '/api/clubs/me/{id}';
1743
+ };
1744
+
1745
+ export type PatchApiClubsMeByIdErrors = {
1746
+ /**
1747
+ * Unauthorized
1748
+ */
1749
+ 401: unknown;
1750
+ /**
1751
+ * Club not found
1752
+ */
1753
+ 404: unknown;
1754
+ };
1755
+
1756
+ export type PatchApiClubsMeByIdResponses = {
1757
+ 200: ClubResponseDto;
1758
+ };
1759
+
1760
+ export type PatchApiClubsMeByIdResponse =
1761
+ PatchApiClubsMeByIdResponses[keyof PatchApiClubsMeByIdResponses];
1762
+
1763
+ export type GetApiDocumentsMeData = {
1764
+ body?: never;
1765
+ path?: never;
1766
+ query?: never;
1767
+ url: '/api/documents/me';
1768
+ };
1769
+
1770
+ export type GetApiDocumentsMeErrors = {
1771
+ /**
1772
+ * Unauthorized
1773
+ */
1774
+ 401: unknown;
1775
+ };
1776
+
1777
+ export type GetApiDocumentsMeResponses = {
1412
1778
  /**
1413
1779
  * List of documents
1414
1780
  */
1415
1781
  200: Array<DocumentResponseDto>;
1416
1782
  };
1417
1783
 
1418
- export type GetDocumentsMeResponse =
1419
- GetDocumentsMeResponses[keyof GetDocumentsMeResponses];
1784
+ export type GetApiDocumentsMeResponse =
1785
+ GetApiDocumentsMeResponses[keyof GetApiDocumentsMeResponses];
1420
1786
 
1421
- export type PostDocumentsData = {
1787
+ export type PostApiDocumentsData = {
1422
1788
  body: CreateDocumentDto;
1423
1789
  path?: never;
1424
1790
  query?: never;
1425
- url: '/documents';
1791
+ url: '/api/documents';
1426
1792
  };
1427
1793
 
1428
- export type PostDocumentsErrors = {
1794
+ export type PostApiDocumentsErrors = {
1429
1795
  /**
1430
1796
  * Unauthorized
1431
1797
  */
1432
1798
  401: unknown;
1433
1799
  };
1434
1800
 
1435
- export type PostDocumentsResponses = {
1801
+ export type PostApiDocumentsResponses = {
1436
1802
  /**
1437
1803
  * Document created
1438
1804
  */
1439
1805
  201: DocumentResponseDto;
1440
1806
  };
1441
1807
 
1442
- export type PostDocumentsResponse =
1443
- PostDocumentsResponses[keyof PostDocumentsResponses];
1808
+ export type PostApiDocumentsResponse =
1809
+ PostApiDocumentsResponses[keyof PostApiDocumentsResponses];
1444
1810
 
1445
- export type GetIndexByTableNameData = {
1811
+ export type GetApiIndexByTableNameData = {
1446
1812
  body?: never;
1447
1813
  path: {
1448
1814
  tableName: string;
1449
1815
  };
1450
1816
  query?: never;
1451
- url: '/index/{tableName}';
1817
+ url: '/api/index/{tableName}';
1452
1818
  };
1453
1819
 
1454
- export type GetIndexByTableNameErrors = {
1820
+ export type GetApiIndexByTableNameErrors = {
1455
1821
  /**
1456
1822
  * Invalid index table
1457
1823
  */
@@ -1462,63 +1828,63 @@ export type GetIndexByTableNameErrors = {
1462
1828
  401: unknown;
1463
1829
  };
1464
1830
 
1465
- export type GetIndexByTableNameResponses = {
1831
+ export type GetApiIndexByTableNameResponses = {
1466
1832
  /**
1467
1833
  * Index table items
1468
1834
  */
1469
1835
  200: Array<IndexItemDto>;
1470
1836
  };
1471
1837
 
1472
- export type GetIndexByTableNameResponse =
1473
- GetIndexByTableNameResponses[keyof GetIndexByTableNameResponses];
1838
+ export type GetApiIndexByTableNameResponse =
1839
+ GetApiIndexByTableNameResponses[keyof GetApiIndexByTableNameResponses];
1474
1840
 
1475
- export type GetOffersConversationsData = {
1841
+ export type GetApiOffersConversationsData = {
1476
1842
  body?: never;
1477
1843
  path?: never;
1478
1844
  query?: {
1479
- filter?: 'all' | 'unread' | 'read';
1845
+ filter?: 'all' | 'unread' | 'read' | 'clubs' | 'agents';
1480
1846
  page?: number;
1481
1847
  pageSize?: number;
1482
1848
  };
1483
- url: '/offers/conversations';
1849
+ url: '/api/offers/conversations';
1484
1850
  };
1485
1851
 
1486
- export type GetOffersConversationsErrors = {
1852
+ export type GetApiOffersConversationsErrors = {
1487
1853
  /**
1488
1854
  * Unauthorized
1489
1855
  */
1490
1856
  401: unknown;
1491
1857
  };
1492
1858
 
1493
- export type GetOffersConversationsResponses = {
1859
+ export type GetApiOffersConversationsResponses = {
1494
1860
  200: ConversationListResultDto;
1495
1861
  };
1496
1862
 
1497
- export type GetOffersConversationsResponse =
1498
- GetOffersConversationsResponses[keyof GetOffersConversationsResponses];
1863
+ export type GetApiOffersConversationsResponse =
1864
+ GetApiOffersConversationsResponses[keyof GetApiOffersConversationsResponses];
1499
1865
 
1500
- export type PostOffersConversationsData = {
1866
+ export type PostApiOffersConversationsData = {
1501
1867
  body: CreateConversationDto;
1502
1868
  path?: never;
1503
1869
  query?: never;
1504
- url: '/offers/conversations';
1870
+ url: '/api/offers/conversations';
1505
1871
  };
1506
1872
 
1507
- export type PostOffersConversationsErrors = {
1873
+ export type PostApiOffersConversationsErrors = {
1508
1874
  /**
1509
1875
  * Unauthorized
1510
1876
  */
1511
1877
  401: unknown;
1512
1878
  };
1513
1879
 
1514
- export type PostOffersConversationsResponses = {
1880
+ export type PostApiOffersConversationsResponses = {
1515
1881
  201: ConversationDetailDto;
1516
1882
  };
1517
1883
 
1518
- export type PostOffersConversationsResponse =
1519
- PostOffersConversationsResponses[keyof PostOffersConversationsResponses];
1884
+ export type PostApiOffersConversationsResponse =
1885
+ PostApiOffersConversationsResponses[keyof PostApiOffersConversationsResponses];
1520
1886
 
1521
- export type GetOffersConversationsByIdMessagesData = {
1887
+ export type GetApiOffersConversationsByIdMessagesData = {
1522
1888
  body?: never;
1523
1889
  path: {
1524
1890
  id: string;
@@ -1527,10 +1893,10 @@ export type GetOffersConversationsByIdMessagesData = {
1527
1893
  page?: number;
1528
1894
  pageSize?: number;
1529
1895
  };
1530
- url: '/offers/conversations/{id}/messages';
1896
+ url: '/api/offers/conversations/{id}/messages';
1531
1897
  };
1532
1898
 
1533
- export type GetOffersConversationsByIdMessagesErrors = {
1899
+ export type GetApiOffersConversationsByIdMessagesErrors = {
1534
1900
  /**
1535
1901
  * Unauthorized
1536
1902
  */
@@ -1545,23 +1911,23 @@ export type GetOffersConversationsByIdMessagesErrors = {
1545
1911
  404: unknown;
1546
1912
  };
1547
1913
 
1548
- export type GetOffersConversationsByIdMessagesResponses = {
1914
+ export type GetApiOffersConversationsByIdMessagesResponses = {
1549
1915
  200: MessageListResultDto;
1550
1916
  };
1551
1917
 
1552
- export type GetOffersConversationsByIdMessagesResponse =
1553
- GetOffersConversationsByIdMessagesResponses[keyof GetOffersConversationsByIdMessagesResponses];
1918
+ export type GetApiOffersConversationsByIdMessagesResponse =
1919
+ GetApiOffersConversationsByIdMessagesResponses[keyof GetApiOffersConversationsByIdMessagesResponses];
1554
1920
 
1555
- export type PostOffersConversationsByIdMessagesData = {
1921
+ export type PostApiOffersConversationsByIdMessagesData = {
1556
1922
  body: SendMessageDto;
1557
1923
  path: {
1558
1924
  id: string;
1559
1925
  };
1560
1926
  query?: never;
1561
- url: '/offers/conversations/{id}/messages';
1927
+ url: '/api/offers/conversations/{id}/messages';
1562
1928
  };
1563
1929
 
1564
- export type PostOffersConversationsByIdMessagesErrors = {
1930
+ export type PostApiOffersConversationsByIdMessagesErrors = {
1565
1931
  /**
1566
1932
  * Unauthorized
1567
1933
  */
@@ -1576,23 +1942,23 @@ export type PostOffersConversationsByIdMessagesErrors = {
1576
1942
  404: unknown;
1577
1943
  };
1578
1944
 
1579
- export type PostOffersConversationsByIdMessagesResponses = {
1945
+ export type PostApiOffersConversationsByIdMessagesResponses = {
1580
1946
  201: MessageItemDto;
1581
1947
  };
1582
1948
 
1583
- export type PostOffersConversationsByIdMessagesResponse =
1584
- PostOffersConversationsByIdMessagesResponses[keyof PostOffersConversationsByIdMessagesResponses];
1949
+ export type PostApiOffersConversationsByIdMessagesResponse =
1950
+ PostApiOffersConversationsByIdMessagesResponses[keyof PostApiOffersConversationsByIdMessagesResponses];
1585
1951
 
1586
- export type PatchOffersConversationsByIdReadData = {
1952
+ export type PatchApiOffersConversationsByIdReadData = {
1587
1953
  body?: never;
1588
1954
  path: {
1589
1955
  id: string;
1590
1956
  };
1591
1957
  query?: never;
1592
- url: '/offers/conversations/{id}/read';
1958
+ url: '/api/offers/conversations/{id}/read';
1593
1959
  };
1594
1960
 
1595
- export type PatchOffersConversationsByIdReadErrors = {
1961
+ export type PatchApiOffersConversationsByIdReadErrors = {
1596
1962
  /**
1597
1963
  * Unauthorized
1598
1964
  */
@@ -1607,18 +1973,18 @@ export type PatchOffersConversationsByIdReadErrors = {
1607
1973
  404: unknown;
1608
1974
  };
1609
1975
 
1610
- export type PatchOffersConversationsByIdReadResponses = {
1976
+ export type PatchApiOffersConversationsByIdReadResponses = {
1611
1977
  200: unknown;
1612
1978
  };
1613
1979
 
1614
- export type PostOrganizationsRegisterClubData = {
1980
+ export type PostApiOrganizationsRegisterClubData = {
1615
1981
  body: RegisterClubDto;
1616
1982
  path?: never;
1617
1983
  query?: never;
1618
- url: '/organizations/register-club';
1984
+ url: '/api/organizations/register-club';
1619
1985
  };
1620
1986
 
1621
- export type PostOrganizationsRegisterClubErrors = {
1987
+ export type PostApiOrganizationsRegisterClubErrors = {
1622
1988
  /**
1623
1989
  * Bad request
1624
1990
  */
@@ -1629,21 +1995,21 @@ export type PostOrganizationsRegisterClubErrors = {
1629
1995
  409: unknown;
1630
1996
  };
1631
1997
 
1632
- export type PostOrganizationsRegisterClubResponses = {
1998
+ export type PostApiOrganizationsRegisterClubResponses = {
1633
1999
  201: RegisterClubResponseDto;
1634
2000
  };
1635
2001
 
1636
- export type PostOrganizationsRegisterClubResponse =
1637
- PostOrganizationsRegisterClubResponses[keyof PostOrganizationsRegisterClubResponses];
2002
+ export type PostApiOrganizationsRegisterClubResponse =
2003
+ PostApiOrganizationsRegisterClubResponses[keyof PostApiOrganizationsRegisterClubResponses];
1638
2004
 
1639
- export type GetOrganizationsMeData = {
2005
+ export type GetApiOrganizationsMeData = {
1640
2006
  body?: never;
1641
2007
  path?: never;
1642
2008
  query?: never;
1643
- url: '/organizations/me';
2009
+ url: '/api/organizations/me';
1644
2010
  };
1645
2011
 
1646
- export type GetOrganizationsMeErrors = {
2012
+ export type GetApiOrganizationsMeErrors = {
1647
2013
  /**
1648
2014
  * Unauthorized
1649
2015
  */
@@ -1654,21 +2020,21 @@ export type GetOrganizationsMeErrors = {
1654
2020
  404: unknown;
1655
2021
  };
1656
2022
 
1657
- export type GetOrganizationsMeResponses = {
2023
+ export type GetApiOrganizationsMeResponses = {
1658
2024
  200: OrganizationResponseDto;
1659
2025
  };
1660
2026
 
1661
- export type GetOrganizationsMeResponse =
1662
- GetOrganizationsMeResponses[keyof GetOrganizationsMeResponses];
2027
+ export type GetApiOrganizationsMeResponse =
2028
+ GetApiOrganizationsMeResponses[keyof GetApiOrganizationsMeResponses];
1663
2029
 
1664
- export type PutOrganizationsMeData = {
2030
+ export type PutApiOrganizationsMeData = {
1665
2031
  body: UpdateOrganizationDto;
1666
2032
  path?: never;
1667
2033
  query?: never;
1668
- url: '/organizations/me';
2034
+ url: '/api/organizations/me';
1669
2035
  };
1670
2036
 
1671
- export type PutOrganizationsMeErrors = {
2037
+ export type PutApiOrganizationsMeErrors = {
1672
2038
  /**
1673
2039
  * Unauthorized
1674
2040
  */
@@ -1679,21 +2045,21 @@ export type PutOrganizationsMeErrors = {
1679
2045
  404: unknown;
1680
2046
  };
1681
2047
 
1682
- export type PutOrganizationsMeResponses = {
2048
+ export type PutApiOrganizationsMeResponses = {
1683
2049
  200: OrganizationResponseDto;
1684
2050
  };
1685
2051
 
1686
- export type PutOrganizationsMeResponse =
1687
- PutOrganizationsMeResponses[keyof PutOrganizationsMeResponses];
2052
+ export type PutApiOrganizationsMeResponse =
2053
+ PutApiOrganizationsMeResponses[keyof PutApiOrganizationsMeResponses];
1688
2054
 
1689
- export type PostStorageUploadUrlData = {
2055
+ export type PostApiStorageUploadUrlData = {
1690
2056
  body: CreateUploadUrlDto;
1691
2057
  path?: never;
1692
2058
  query?: never;
1693
- url: '/storage/upload-url';
2059
+ url: '/api/storage/upload-url';
1694
2060
  };
1695
2061
 
1696
- export type PostStorageUploadUrlErrors = {
2062
+ export type PostApiStorageUploadUrlErrors = {
1697
2063
  /**
1698
2064
  * Unknown bucket or disallowed MIME
1699
2065
  */
@@ -1708,50 +2074,232 @@ export type PostStorageUploadUrlErrors = {
1708
2074
  413: unknown;
1709
2075
  };
1710
2076
 
1711
- export type PostStorageUploadUrlResponses = {
2077
+ export type PostApiStorageUploadUrlResponses = {
1712
2078
  /**
1713
2079
  * Signed upload URL issued
1714
2080
  */
1715
2081
  201: UploadUrlResponseDto;
1716
2082
  };
1717
2083
 
1718
- export type PostStorageUploadUrlResponse =
1719
- PostStorageUploadUrlResponses[keyof PostStorageUploadUrlResponses];
2084
+ export type PostApiStorageUploadUrlResponse =
2085
+ PostApiStorageUploadUrlResponses[keyof PostApiStorageUploadUrlResponses];
2086
+
2087
+ export type GetApiInvitationsData = {
2088
+ body?: never;
2089
+ path?: never;
2090
+ query?: never;
2091
+ url: '/api/invitations';
2092
+ };
2093
+
2094
+ export type GetApiInvitationsResponses = {
2095
+ 200: Array<InvitationResponseDto>;
2096
+ };
2097
+
2098
+ export type GetApiInvitationsResponse =
2099
+ GetApiInvitationsResponses[keyof GetApiInvitationsResponses];
2100
+
2101
+ export type PostApiInvitationsData = {
2102
+ body: SendInvitationRequestDto;
2103
+ path?: never;
2104
+ query?: never;
2105
+ url: '/api/invitations';
2106
+ };
2107
+
2108
+ export type PostApiInvitationsErrors = {
2109
+ /**
2110
+ * Limit reached or duplicate email
2111
+ */
2112
+ 400: unknown;
2113
+ };
2114
+
2115
+ export type PostApiInvitationsResponses = {
2116
+ 201: InvitationResponseDto;
2117
+ };
2118
+
2119
+ export type PostApiInvitationsResponse =
2120
+ PostApiInvitationsResponses[keyof PostApiInvitationsResponses];
2121
+
2122
+ export type PostApiInvitationsByIdResendData = {
2123
+ body?: never;
2124
+ path: {
2125
+ id: string;
2126
+ };
2127
+ query?: never;
2128
+ url: '/api/invitations/{id}/resend';
2129
+ };
2130
+
2131
+ export type PostApiInvitationsByIdResendErrors = {
2132
+ /**
2133
+ * Cannot resend a confirmed invitation
2134
+ */
2135
+ 400: unknown;
2136
+ /**
2137
+ * Invitation not found
2138
+ */
2139
+ 404: unknown;
2140
+ };
2141
+
2142
+ export type PostApiInvitationsByIdResendResponses = {
2143
+ 200: InvitationResponseDto;
2144
+ };
2145
+
2146
+ export type PostApiInvitationsByIdResendResponse =
2147
+ PostApiInvitationsByIdResendResponses[keyof PostApiInvitationsByIdResendResponses];
2148
+
2149
+ export type DeleteApiInvitationsByIdData = {
2150
+ body?: never;
2151
+ path: {
2152
+ id: string;
2153
+ };
2154
+ query?: never;
2155
+ url: '/api/invitations/{id}';
2156
+ };
2157
+
2158
+ export type DeleteApiInvitationsByIdErrors = {
2159
+ /**
2160
+ * Cannot delete a confirmed invitation
2161
+ */
2162
+ 400: unknown;
2163
+ /**
2164
+ * Invitation not found
2165
+ */
2166
+ 404: unknown;
2167
+ };
2168
+
2169
+ export type DeleteApiInvitationsByIdResponses = {
2170
+ /**
2171
+ * Deleted
2172
+ */
2173
+ 204: void;
2174
+ };
2175
+
2176
+ export type DeleteApiInvitationsByIdResponse =
2177
+ DeleteApiInvitationsByIdResponses[keyof DeleteApiInvitationsByIdResponses];
2178
+
2179
+ export type PostApiInvitationsAcceptData = {
2180
+ body?: never;
2181
+ path?: never;
2182
+ query?: never;
2183
+ url: '/api/invitations/accept';
2184
+ };
2185
+
2186
+ export type PostApiInvitationsAcceptResponses = {
2187
+ /**
2188
+ * Accepted (or no pending invitation — idempotent)
2189
+ */
2190
+ 204: void;
2191
+ };
2192
+
2193
+ export type PostApiInvitationsAcceptResponse =
2194
+ PostApiInvitationsAcceptResponses[keyof PostApiInvitationsAcceptResponses];
2195
+
2196
+ export type GetApiTrainingGroupedData = {
2197
+ body?: never;
2198
+ path?: never;
2199
+ query?: never;
2200
+ url: '/api/training/grouped';
2201
+ };
2202
+
2203
+ export type GetApiTrainingGroupedErrors = {
2204
+ /**
2205
+ * Unauthorized
2206
+ */
2207
+ 401: unknown;
2208
+ };
2209
+
2210
+ export type GetApiTrainingGroupedResponses = {
2211
+ 200: Array<TrainingCategoryGroupDto>;
2212
+ };
2213
+
2214
+ export type GetApiTrainingGroupedResponse =
2215
+ GetApiTrainingGroupedResponses[keyof GetApiTrainingGroupedResponses];
2216
+
2217
+ export type GetApiTrainingData = {
2218
+ body?: never;
2219
+ path?: never;
2220
+ query?: {
2221
+ categoryCode?: string;
2222
+ page?: number;
2223
+ pageSize?: number;
2224
+ };
2225
+ url: '/api/training';
2226
+ };
2227
+
2228
+ export type GetApiTrainingErrors = {
2229
+ /**
2230
+ * Unauthorized
2231
+ */
2232
+ 401: unknown;
2233
+ };
2234
+
2235
+ export type GetApiTrainingResponses = {
2236
+ 200: PaginatedTrainingContentDto;
2237
+ };
2238
+
2239
+ export type GetApiTrainingResponse =
2240
+ GetApiTrainingResponses[keyof GetApiTrainingResponses];
2241
+
2242
+ export type GetApiTrainingByIdData = {
2243
+ body?: never;
2244
+ path: {
2245
+ id: string;
2246
+ };
2247
+ query?: never;
2248
+ url: '/api/training/{id}';
2249
+ };
2250
+
2251
+ export type GetApiTrainingByIdErrors = {
2252
+ /**
2253
+ * Unauthorized
2254
+ */
2255
+ 401: unknown;
2256
+ /**
2257
+ * Not found
2258
+ */
2259
+ 404: unknown;
2260
+ };
2261
+
2262
+ export type GetApiTrainingByIdResponses = {
2263
+ 200: TrainingContentDetailDto;
2264
+ };
2265
+
2266
+ export type GetApiTrainingByIdResponse =
2267
+ GetApiTrainingByIdResponses[keyof GetApiTrainingByIdResponses];
1720
2268
 
1721
- export type GetVideosMeData = {
2269
+ export type GetApiVideosMeData = {
1722
2270
  body?: never;
1723
2271
  path?: never;
1724
2272
  query: {
1725
2273
  type: string;
1726
2274
  };
1727
- url: '/videos/me';
2275
+ url: '/api/videos/me';
1728
2276
  };
1729
2277
 
1730
- export type GetVideosMeErrors = {
2278
+ export type GetApiVideosMeErrors = {
1731
2279
  /**
1732
2280
  * Unauthorized
1733
2281
  */
1734
2282
  401: unknown;
1735
2283
  };
1736
2284
 
1737
- export type GetVideosMeResponses = {
2285
+ export type GetApiVideosMeResponses = {
1738
2286
  /**
1739
2287
  * List of videos
1740
2288
  */
1741
2289
  200: Array<VideoResponseDto>;
1742
2290
  };
1743
2291
 
1744
- export type GetVideosMeResponse =
1745
- GetVideosMeResponses[keyof GetVideosMeResponses];
2292
+ export type GetApiVideosMeResponse =
2293
+ GetApiVideosMeResponses[keyof GetApiVideosMeResponses];
1746
2294
 
1747
- export type PostVideosData = {
2295
+ export type PostApiVideosData = {
1748
2296
  body: CreateVideoDto;
1749
2297
  path?: never;
1750
2298
  query?: never;
1751
- url: '/videos';
2299
+ url: '/api/videos';
1752
2300
  };
1753
2301
 
1754
- export type PostVideosErrors = {
2302
+ export type PostApiVideosErrors = {
1755
2303
  /**
1756
2304
  * Invalid input or best_moment limit exceeded
1757
2305
  */
@@ -1762,25 +2310,26 @@ export type PostVideosErrors = {
1762
2310
  401: unknown;
1763
2311
  };
1764
2312
 
1765
- export type PostVideosResponses = {
2313
+ export type PostApiVideosResponses = {
1766
2314
  /**
1767
2315
  * Video created
1768
2316
  */
1769
2317
  201: VideoResponseDto;
1770
2318
  };
1771
2319
 
1772
- export type PostVideosResponse = PostVideosResponses[keyof PostVideosResponses];
2320
+ export type PostApiVideosResponse =
2321
+ PostApiVideosResponses[keyof PostApiVideosResponses];
1773
2322
 
1774
- export type GetVideosByIdPlayUrlData = {
2323
+ export type GetApiVideosByIdPlayUrlData = {
1775
2324
  body?: never;
1776
2325
  path: {
1777
2326
  id: string;
1778
2327
  };
1779
2328
  query?: never;
1780
- url: '/videos/{id}/play-url';
2329
+ url: '/api/videos/{id}/play-url';
1781
2330
  };
1782
2331
 
1783
- export type GetVideosByIdPlayUrlErrors = {
2332
+ export type GetApiVideosByIdPlayUrlErrors = {
1784
2333
  /**
1785
2334
  * Unauthorized
1786
2335
  */
@@ -1791,26 +2340,26 @@ export type GetVideosByIdPlayUrlErrors = {
1791
2340
  404: unknown;
1792
2341
  };
1793
2342
 
1794
- export type GetVideosByIdPlayUrlResponses = {
2343
+ export type GetApiVideosByIdPlayUrlResponses = {
1795
2344
  /**
1796
2345
  * Short-lived signed URL for video playback
1797
2346
  */
1798
2347
  200: PlayUrlResponseDto;
1799
2348
  };
1800
2349
 
1801
- export type GetVideosByIdPlayUrlResponse =
1802
- GetVideosByIdPlayUrlResponses[keyof GetVideosByIdPlayUrlResponses];
2350
+ export type GetApiVideosByIdPlayUrlResponse =
2351
+ GetApiVideosByIdPlayUrlResponses[keyof GetApiVideosByIdPlayUrlResponses];
1803
2352
 
1804
- export type DeleteVideosByIdData = {
2353
+ export type DeleteApiVideosByIdData = {
1805
2354
  body?: never;
1806
2355
  path: {
1807
2356
  id: string;
1808
2357
  };
1809
2358
  query?: never;
1810
- url: '/videos/{id}';
2359
+ url: '/api/videos/{id}';
1811
2360
  };
1812
2361
 
1813
- export type DeleteVideosByIdErrors = {
2362
+ export type DeleteApiVideosByIdErrors = {
1814
2363
  /**
1815
2364
  * Unauthorized
1816
2365
  */
@@ -1821,12 +2370,12 @@ export type DeleteVideosByIdErrors = {
1821
2370
  404: unknown;
1822
2371
  };
1823
2372
 
1824
- export type DeleteVideosByIdResponses = {
2373
+ export type DeleteApiVideosByIdResponses = {
1825
2374
  /**
1826
2375
  * Video deleted
1827
2376
  */
1828
2377
  204: void;
1829
2378
  };
1830
2379
 
1831
- export type DeleteVideosByIdResponse =
1832
- DeleteVideosByIdResponses[keyof DeleteVideosByIdResponses];
2380
+ export type DeleteApiVideosByIdResponse =
2381
+ DeleteApiVideosByIdResponses[keyof DeleteApiVideosByIdResponses];