@globalscoutme/api-client 1.0.14 → 1.0.17
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 +2 -0
- package/dist/index.d.ts +1 -1
- package/dist/sdk.gen.d.ts +46 -45
- package/dist/sdk.gen.js +47 -44
- package/dist/types.gen.d.ts +253 -216
- package/index.ts +177 -172
- package/package.json +1 -1
- package/sdk.gen.ts +315 -302
- package/types.gen.ts +302 -256
package/dist/types.gen.d.ts
CHANGED
|
@@ -816,6 +816,24 @@ export type CreateDocumentDto = {
|
|
|
816
816
|
*/
|
|
817
817
|
kycVerificationId?: string;
|
|
818
818
|
};
|
|
819
|
+
export type CountryDto = {
|
|
820
|
+
/**
|
|
821
|
+
* ISO 3166-1 alpha-2 country code
|
|
822
|
+
*/
|
|
823
|
+
code: string;
|
|
824
|
+
/**
|
|
825
|
+
* Country name
|
|
826
|
+
*/
|
|
827
|
+
name: string;
|
|
828
|
+
/**
|
|
829
|
+
* Nationality adjective (e.g. Brazilian)
|
|
830
|
+
*/
|
|
831
|
+
nationalityName?: string | null;
|
|
832
|
+
/**
|
|
833
|
+
* Flag emoji
|
|
834
|
+
*/
|
|
835
|
+
flagEmoji?: string | null;
|
|
836
|
+
};
|
|
819
837
|
export type IndexItemDto = {
|
|
820
838
|
/**
|
|
821
839
|
* Stable machine-readable code
|
|
@@ -1226,109 +1244,109 @@ export type PlayUrlResponseDto = {
|
|
|
1226
1244
|
*/
|
|
1227
1245
|
expiresIn: number;
|
|
1228
1246
|
};
|
|
1229
|
-
export type
|
|
1247
|
+
export type GetApiAuthMeData = {
|
|
1230
1248
|
body?: never;
|
|
1231
1249
|
path?: never;
|
|
1232
1250
|
query?: never;
|
|
1233
|
-
url: '/auth/me';
|
|
1251
|
+
url: '/api/auth/me';
|
|
1234
1252
|
};
|
|
1235
|
-
export type
|
|
1253
|
+
export type GetApiAuthMeErrors = {
|
|
1236
1254
|
/**
|
|
1237
1255
|
* Unauthorized
|
|
1238
1256
|
*/
|
|
1239
1257
|
401: unknown;
|
|
1240
1258
|
};
|
|
1241
|
-
export type
|
|
1259
|
+
export type GetApiAuthMeResponses = {
|
|
1242
1260
|
200: AuthMeResponseDto;
|
|
1243
1261
|
};
|
|
1244
|
-
export type
|
|
1245
|
-
export type
|
|
1262
|
+
export type GetApiAuthMeResponse = GetApiAuthMeResponses[keyof GetApiAuthMeResponses];
|
|
1263
|
+
export type DeleteApiPlayersMeData = {
|
|
1246
1264
|
body?: never;
|
|
1247
1265
|
path?: never;
|
|
1248
1266
|
query?: never;
|
|
1249
|
-
url: '/players/me';
|
|
1267
|
+
url: '/api/players/me';
|
|
1250
1268
|
};
|
|
1251
|
-
export type
|
|
1269
|
+
export type DeleteApiPlayersMeErrors = {
|
|
1252
1270
|
/**
|
|
1253
1271
|
* Deletion not configured
|
|
1254
1272
|
*/
|
|
1255
1273
|
503: unknown;
|
|
1256
1274
|
};
|
|
1257
|
-
export type
|
|
1275
|
+
export type DeleteApiPlayersMeResponses = {
|
|
1258
1276
|
204: void;
|
|
1259
1277
|
};
|
|
1260
|
-
export type
|
|
1261
|
-
export type
|
|
1278
|
+
export type DeleteApiPlayersMeResponse = DeleteApiPlayersMeResponses[keyof DeleteApiPlayersMeResponses];
|
|
1279
|
+
export type GetApiPlayersMeData = {
|
|
1262
1280
|
body?: never;
|
|
1263
1281
|
path?: never;
|
|
1264
1282
|
query?: never;
|
|
1265
|
-
url: '/players/me';
|
|
1283
|
+
url: '/api/players/me';
|
|
1266
1284
|
};
|
|
1267
|
-
export type
|
|
1285
|
+
export type GetApiPlayersMeErrors = {
|
|
1268
1286
|
/**
|
|
1269
1287
|
* Unauthorized
|
|
1270
1288
|
*/
|
|
1271
1289
|
401: unknown;
|
|
1272
1290
|
};
|
|
1273
|
-
export type
|
|
1291
|
+
export type GetApiPlayersMeResponses = {
|
|
1274
1292
|
200: PlayerResponseDto;
|
|
1275
1293
|
};
|
|
1276
|
-
export type
|
|
1277
|
-
export type
|
|
1294
|
+
export type GetApiPlayersMeResponse = GetApiPlayersMeResponses[keyof GetApiPlayersMeResponses];
|
|
1295
|
+
export type PatchApiPlayersMeData = {
|
|
1278
1296
|
body: UpdatePlayerDto;
|
|
1279
1297
|
path?: never;
|
|
1280
1298
|
query?: never;
|
|
1281
|
-
url: '/players/me';
|
|
1299
|
+
url: '/api/players/me';
|
|
1282
1300
|
};
|
|
1283
|
-
export type
|
|
1301
|
+
export type PatchApiPlayersMeErrors = {
|
|
1284
1302
|
/**
|
|
1285
1303
|
* Unauthorized
|
|
1286
1304
|
*/
|
|
1287
1305
|
401: unknown;
|
|
1288
1306
|
};
|
|
1289
|
-
export type
|
|
1307
|
+
export type PatchApiPlayersMeResponses = {
|
|
1290
1308
|
200: PlayerResponseDto;
|
|
1291
1309
|
};
|
|
1292
|
-
export type
|
|
1293
|
-
export type
|
|
1310
|
+
export type PatchApiPlayersMeResponse = PatchApiPlayersMeResponses[keyof PatchApiPlayersMeResponses];
|
|
1311
|
+
export type GetApiPlayersMeDashboardData = {
|
|
1294
1312
|
body?: never;
|
|
1295
1313
|
path?: never;
|
|
1296
1314
|
query?: never;
|
|
1297
|
-
url: '/players/me/dashboard';
|
|
1315
|
+
url: '/api/players/me/dashboard';
|
|
1298
1316
|
};
|
|
1299
|
-
export type
|
|
1317
|
+
export type GetApiPlayersMeDashboardErrors = {
|
|
1300
1318
|
/**
|
|
1301
1319
|
* Unauthorized
|
|
1302
1320
|
*/
|
|
1303
1321
|
401: unknown;
|
|
1304
1322
|
};
|
|
1305
|
-
export type
|
|
1323
|
+
export type GetApiPlayersMeDashboardResponses = {
|
|
1306
1324
|
200: DashboardResponseDto;
|
|
1307
1325
|
};
|
|
1308
|
-
export type
|
|
1309
|
-
export type
|
|
1326
|
+
export type GetApiPlayersMeDashboardResponse = GetApiPlayersMeDashboardResponses[keyof GetApiPlayersMeDashboardResponses];
|
|
1327
|
+
export type PostApiPlayersMeHeartbeatData = {
|
|
1310
1328
|
body: HeartbeatDto;
|
|
1311
1329
|
path?: never;
|
|
1312
1330
|
query?: never;
|
|
1313
|
-
url: '/players/me/heartbeat';
|
|
1331
|
+
url: '/api/players/me/heartbeat';
|
|
1314
1332
|
};
|
|
1315
|
-
export type
|
|
1333
|
+
export type PostApiPlayersMeHeartbeatErrors = {
|
|
1316
1334
|
/**
|
|
1317
1335
|
* Unauthorized
|
|
1318
1336
|
*/
|
|
1319
1337
|
401: unknown;
|
|
1320
1338
|
};
|
|
1321
|
-
export type
|
|
1339
|
+
export type PostApiPlayersMeHeartbeatResponses = {
|
|
1322
1340
|
200: HeartbeatResponseDto;
|
|
1323
1341
|
};
|
|
1324
|
-
export type
|
|
1325
|
-
export type
|
|
1342
|
+
export type PostApiPlayersMeHeartbeatResponse = PostApiPlayersMeHeartbeatResponses[keyof PostApiPlayersMeHeartbeatResponses];
|
|
1343
|
+
export type PostApiPlayersSearchData = {
|
|
1326
1344
|
body: PlayerSearchRequestDto;
|
|
1327
1345
|
path?: never;
|
|
1328
1346
|
query?: never;
|
|
1329
|
-
url: '/players/search';
|
|
1347
|
+
url: '/api/players/search';
|
|
1330
1348
|
};
|
|
1331
|
-
export type
|
|
1349
|
+
export type PostApiPlayersSearchErrors = {
|
|
1332
1350
|
/**
|
|
1333
1351
|
* Invalid filter combination
|
|
1334
1352
|
*/
|
|
@@ -1338,19 +1356,19 @@ export type PostPlayersSearchErrors = {
|
|
|
1338
1356
|
*/
|
|
1339
1357
|
401: unknown;
|
|
1340
1358
|
};
|
|
1341
|
-
export type
|
|
1359
|
+
export type PostApiPlayersSearchResponses = {
|
|
1342
1360
|
200: PlayerSearchResultDto;
|
|
1343
1361
|
};
|
|
1344
|
-
export type
|
|
1345
|
-
export type
|
|
1362
|
+
export type PostApiPlayersSearchResponse = PostApiPlayersSearchResponses[keyof PostApiPlayersSearchResponses];
|
|
1363
|
+
export type GetApiPlayersByIdData = {
|
|
1346
1364
|
body?: never;
|
|
1347
1365
|
path: {
|
|
1348
1366
|
id: string;
|
|
1349
1367
|
};
|
|
1350
1368
|
query?: never;
|
|
1351
|
-
url: '/players/{id}';
|
|
1369
|
+
url: '/api/players/{id}';
|
|
1352
1370
|
};
|
|
1353
|
-
export type
|
|
1371
|
+
export type GetApiPlayersByIdErrors = {
|
|
1354
1372
|
/**
|
|
1355
1373
|
* Unauthorized
|
|
1356
1374
|
*/
|
|
@@ -1360,17 +1378,17 @@ export type GetPlayersByIdErrors = {
|
|
|
1360
1378
|
*/
|
|
1361
1379
|
404: unknown;
|
|
1362
1380
|
};
|
|
1363
|
-
export type
|
|
1381
|
+
export type GetApiPlayersByIdResponses = {
|
|
1364
1382
|
200: PlayerByIdDto;
|
|
1365
1383
|
};
|
|
1366
|
-
export type
|
|
1367
|
-
export type
|
|
1384
|
+
export type GetApiPlayersByIdResponse = GetApiPlayersByIdResponses[keyof GetApiPlayersByIdResponses];
|
|
1385
|
+
export type GetApiProfileMeData = {
|
|
1368
1386
|
body?: never;
|
|
1369
1387
|
path?: never;
|
|
1370
1388
|
query?: never;
|
|
1371
|
-
url: '/profile/me';
|
|
1389
|
+
url: '/api/profile/me';
|
|
1372
1390
|
};
|
|
1373
|
-
export type
|
|
1391
|
+
export type GetApiProfileMeErrors = {
|
|
1374
1392
|
/**
|
|
1375
1393
|
* Unauthorized
|
|
1376
1394
|
*/
|
|
@@ -1380,65 +1398,65 @@ export type GetProfileMeErrors = {
|
|
|
1380
1398
|
*/
|
|
1381
1399
|
404: unknown;
|
|
1382
1400
|
};
|
|
1383
|
-
export type
|
|
1401
|
+
export type GetApiProfileMeResponses = {
|
|
1384
1402
|
/**
|
|
1385
1403
|
* Current player profile
|
|
1386
1404
|
*/
|
|
1387
1405
|
200: ProfileResponseDto;
|
|
1388
1406
|
};
|
|
1389
|
-
export type
|
|
1390
|
-
export type
|
|
1407
|
+
export type GetApiProfileMeResponse = GetApiProfileMeResponses[keyof GetApiProfileMeResponses];
|
|
1408
|
+
export type PutApiProfileMeData = {
|
|
1391
1409
|
body: UpdateProfileDto;
|
|
1392
1410
|
path?: never;
|
|
1393
1411
|
query?: never;
|
|
1394
|
-
url: '/profile/me';
|
|
1412
|
+
url: '/api/profile/me';
|
|
1395
1413
|
};
|
|
1396
|
-
export type
|
|
1414
|
+
export type PutApiProfileMeErrors = {
|
|
1397
1415
|
/**
|
|
1398
1416
|
* Unauthorized
|
|
1399
1417
|
*/
|
|
1400
1418
|
401: unknown;
|
|
1401
1419
|
};
|
|
1402
|
-
export type
|
|
1420
|
+
export type PutApiProfileMeResponses = {
|
|
1403
1421
|
/**
|
|
1404
1422
|
* Updated profile
|
|
1405
1423
|
*/
|
|
1406
1424
|
200: ProfileResponseDto;
|
|
1407
1425
|
};
|
|
1408
|
-
export type
|
|
1409
|
-
export type
|
|
1426
|
+
export type PutApiProfileMeResponse = PutApiProfileMeResponses[keyof PutApiProfileMeResponses];
|
|
1427
|
+
export type GetApiAchievementsData = {
|
|
1410
1428
|
body?: never;
|
|
1411
1429
|
path?: never;
|
|
1412
1430
|
query?: never;
|
|
1413
|
-
url: '/achievements';
|
|
1431
|
+
url: '/api/achievements';
|
|
1414
1432
|
};
|
|
1415
|
-
export type
|
|
1433
|
+
export type GetApiAchievementsResponses = {
|
|
1416
1434
|
200: Array<AchievementCatalogDto>;
|
|
1417
1435
|
};
|
|
1418
|
-
export type
|
|
1419
|
-
export type
|
|
1436
|
+
export type GetApiAchievementsResponse = GetApiAchievementsResponses[keyof GetApiAchievementsResponses];
|
|
1437
|
+
export type GetApiAchievementsMeData = {
|
|
1420
1438
|
body?: never;
|
|
1421
1439
|
path?: never;
|
|
1422
1440
|
query?: never;
|
|
1423
|
-
url: '/achievements/me';
|
|
1441
|
+
url: '/api/achievements/me';
|
|
1424
1442
|
};
|
|
1425
|
-
export type
|
|
1443
|
+
export type GetApiAchievementsMeErrors = {
|
|
1426
1444
|
/**
|
|
1427
1445
|
* Unauthorized
|
|
1428
1446
|
*/
|
|
1429
1447
|
401: unknown;
|
|
1430
1448
|
};
|
|
1431
|
-
export type
|
|
1449
|
+
export type GetApiAchievementsMeResponses = {
|
|
1432
1450
|
200: Array<UserAchievementResponseDto>;
|
|
1433
1451
|
};
|
|
1434
|
-
export type
|
|
1435
|
-
export type
|
|
1452
|
+
export type GetApiAchievementsMeResponse = GetApiAchievementsMeResponses[keyof GetApiAchievementsMeResponses];
|
|
1453
|
+
export type GetApiBodyMeasurementsMeData = {
|
|
1436
1454
|
body?: never;
|
|
1437
1455
|
path?: never;
|
|
1438
1456
|
query?: never;
|
|
1439
|
-
url: '/body/measurements/me';
|
|
1457
|
+
url: '/api/body/measurements/me';
|
|
1440
1458
|
};
|
|
1441
|
-
export type
|
|
1459
|
+
export type GetApiBodyMeasurementsMeErrors = {
|
|
1442
1460
|
/**
|
|
1443
1461
|
* Unauthorized
|
|
1444
1462
|
*/
|
|
@@ -1448,55 +1466,55 @@ export type GetBodyMeasurementsMeErrors = {
|
|
|
1448
1466
|
*/
|
|
1449
1467
|
404: unknown;
|
|
1450
1468
|
};
|
|
1451
|
-
export type
|
|
1469
|
+
export type GetApiBodyMeasurementsMeResponses = {
|
|
1452
1470
|
/**
|
|
1453
1471
|
* Latest body measurement
|
|
1454
1472
|
*/
|
|
1455
1473
|
200: BodyMeasurementResponseDto;
|
|
1456
1474
|
};
|
|
1457
|
-
export type
|
|
1458
|
-
export type
|
|
1475
|
+
export type GetApiBodyMeasurementsMeResponse = GetApiBodyMeasurementsMeResponses[keyof GetApiBodyMeasurementsMeResponses];
|
|
1476
|
+
export type PostApiBodyMeasurementsData = {
|
|
1459
1477
|
body: CreateBodyMeasurementDto;
|
|
1460
1478
|
path?: never;
|
|
1461
1479
|
query?: never;
|
|
1462
|
-
url: '/body/measurements';
|
|
1480
|
+
url: '/api/body/measurements';
|
|
1463
1481
|
};
|
|
1464
|
-
export type
|
|
1482
|
+
export type PostApiBodyMeasurementsErrors = {
|
|
1465
1483
|
/**
|
|
1466
1484
|
* Unauthorized
|
|
1467
1485
|
*/
|
|
1468
1486
|
401: unknown;
|
|
1469
1487
|
};
|
|
1470
|
-
export type
|
|
1488
|
+
export type PostApiBodyMeasurementsResponses = {
|
|
1471
1489
|
/**
|
|
1472
1490
|
* Body measurement created
|
|
1473
1491
|
*/
|
|
1474
1492
|
201: BodyMeasurementResponseDto;
|
|
1475
1493
|
};
|
|
1476
|
-
export type
|
|
1477
|
-
export type
|
|
1494
|
+
export type PostApiBodyMeasurementsResponse = PostApiBodyMeasurementsResponses[keyof PostApiBodyMeasurementsResponses];
|
|
1495
|
+
export type GetApiChallengesData = {
|
|
1478
1496
|
body?: never;
|
|
1479
1497
|
path?: never;
|
|
1480
1498
|
query?: never;
|
|
1481
|
-
url: '/challenges';
|
|
1499
|
+
url: '/api/challenges';
|
|
1482
1500
|
};
|
|
1483
|
-
export type
|
|
1501
|
+
export type GetApiChallengesErrors = {
|
|
1484
1502
|
/**
|
|
1485
1503
|
* Unauthorized
|
|
1486
1504
|
*/
|
|
1487
1505
|
401: unknown;
|
|
1488
1506
|
};
|
|
1489
|
-
export type
|
|
1507
|
+
export type GetApiChallengesResponses = {
|
|
1490
1508
|
200: Array<ChallengeCatalogDto>;
|
|
1491
1509
|
};
|
|
1492
|
-
export type
|
|
1493
|
-
export type
|
|
1510
|
+
export type GetApiChallengesResponse = GetApiChallengesResponses[keyof GetApiChallengesResponses];
|
|
1511
|
+
export type GetApiChallengesMeData = {
|
|
1494
1512
|
body?: never;
|
|
1495
1513
|
path?: never;
|
|
1496
1514
|
query?: never;
|
|
1497
|
-
url: '/challenges/me';
|
|
1515
|
+
url: '/api/challenges/me';
|
|
1498
1516
|
};
|
|
1499
|
-
export type
|
|
1517
|
+
export type GetApiChallengesMeErrors = {
|
|
1500
1518
|
/**
|
|
1501
1519
|
* Unauthorized
|
|
1502
1520
|
*/
|
|
@@ -1506,51 +1524,51 @@ export type GetChallengesMeErrors = {
|
|
|
1506
1524
|
*/
|
|
1507
1525
|
403: unknown;
|
|
1508
1526
|
};
|
|
1509
|
-
export type
|
|
1527
|
+
export type GetApiChallengesMeResponses = {
|
|
1510
1528
|
200: Array<MyChallengeDto>;
|
|
1511
1529
|
};
|
|
1512
|
-
export type
|
|
1513
|
-
export type
|
|
1530
|
+
export type GetApiChallengesMeResponse = GetApiChallengesMeResponses[keyof GetApiChallengesMeResponses];
|
|
1531
|
+
export type GetApiClubsMeData = {
|
|
1514
1532
|
body?: never;
|
|
1515
1533
|
path?: never;
|
|
1516
1534
|
query?: never;
|
|
1517
|
-
url: '/clubs/me';
|
|
1535
|
+
url: '/api/clubs/me';
|
|
1518
1536
|
};
|
|
1519
|
-
export type
|
|
1537
|
+
export type GetApiClubsMeErrors = {
|
|
1520
1538
|
/**
|
|
1521
1539
|
* Unauthorized
|
|
1522
1540
|
*/
|
|
1523
1541
|
401: unknown;
|
|
1524
1542
|
};
|
|
1525
|
-
export type
|
|
1543
|
+
export type GetApiClubsMeResponses = {
|
|
1526
1544
|
200: Array<ClubResponseDto>;
|
|
1527
1545
|
};
|
|
1528
|
-
export type
|
|
1529
|
-
export type
|
|
1546
|
+
export type GetApiClubsMeResponse = GetApiClubsMeResponses[keyof GetApiClubsMeResponses];
|
|
1547
|
+
export type PostApiClubsMeData = {
|
|
1530
1548
|
body: CreateClubDto;
|
|
1531
1549
|
path?: never;
|
|
1532
1550
|
query?: never;
|
|
1533
|
-
url: '/clubs/me';
|
|
1551
|
+
url: '/api/clubs/me';
|
|
1534
1552
|
};
|
|
1535
|
-
export type
|
|
1553
|
+
export type PostApiClubsMeErrors = {
|
|
1536
1554
|
/**
|
|
1537
1555
|
* Unauthorized
|
|
1538
1556
|
*/
|
|
1539
1557
|
401: unknown;
|
|
1540
1558
|
};
|
|
1541
|
-
export type
|
|
1559
|
+
export type PostApiClubsMeResponses = {
|
|
1542
1560
|
201: ClubResponseDto;
|
|
1543
1561
|
};
|
|
1544
|
-
export type
|
|
1545
|
-
export type
|
|
1562
|
+
export type PostApiClubsMeResponse = PostApiClubsMeResponses[keyof PostApiClubsMeResponses];
|
|
1563
|
+
export type DeleteApiClubsMeByIdData = {
|
|
1546
1564
|
body?: never;
|
|
1547
1565
|
path: {
|
|
1548
1566
|
id: string;
|
|
1549
1567
|
};
|
|
1550
1568
|
query?: never;
|
|
1551
|
-
url: '/clubs/me/{id}';
|
|
1569
|
+
url: '/api/clubs/me/{id}';
|
|
1552
1570
|
};
|
|
1553
|
-
export type
|
|
1571
|
+
export type DeleteApiClubsMeByIdErrors = {
|
|
1554
1572
|
/**
|
|
1555
1573
|
* Unauthorized
|
|
1556
1574
|
*/
|
|
@@ -1560,22 +1578,22 @@ export type DeleteClubsMeByIdErrors = {
|
|
|
1560
1578
|
*/
|
|
1561
1579
|
404: unknown;
|
|
1562
1580
|
};
|
|
1563
|
-
export type
|
|
1581
|
+
export type DeleteApiClubsMeByIdResponses = {
|
|
1564
1582
|
/**
|
|
1565
1583
|
* Club deleted
|
|
1566
1584
|
*/
|
|
1567
1585
|
204: void;
|
|
1568
1586
|
};
|
|
1569
|
-
export type
|
|
1570
|
-
export type
|
|
1587
|
+
export type DeleteApiClubsMeByIdResponse = DeleteApiClubsMeByIdResponses[keyof DeleteApiClubsMeByIdResponses];
|
|
1588
|
+
export type PatchApiClubsMeByIdData = {
|
|
1571
1589
|
body: UpdateClubDto;
|
|
1572
1590
|
path: {
|
|
1573
1591
|
id: string;
|
|
1574
1592
|
};
|
|
1575
1593
|
query?: never;
|
|
1576
|
-
url: '/clubs/me/{id}';
|
|
1594
|
+
url: '/api/clubs/me/{id}';
|
|
1577
1595
|
};
|
|
1578
|
-
export type
|
|
1596
|
+
export type PatchApiClubsMeByIdErrors = {
|
|
1579
1597
|
/**
|
|
1580
1598
|
* Unauthorized
|
|
1581
1599
|
*/
|
|
@@ -1585,57 +1603,76 @@ export type PatchClubsMeByIdErrors = {
|
|
|
1585
1603
|
*/
|
|
1586
1604
|
404: unknown;
|
|
1587
1605
|
};
|
|
1588
|
-
export type
|
|
1606
|
+
export type PatchApiClubsMeByIdResponses = {
|
|
1589
1607
|
200: ClubResponseDto;
|
|
1590
1608
|
};
|
|
1591
|
-
export type
|
|
1592
|
-
export type
|
|
1609
|
+
export type PatchApiClubsMeByIdResponse = PatchApiClubsMeByIdResponses[keyof PatchApiClubsMeByIdResponses];
|
|
1610
|
+
export type GetApiDocumentsMeData = {
|
|
1593
1611
|
body?: never;
|
|
1594
1612
|
path?: never;
|
|
1595
1613
|
query?: never;
|
|
1596
|
-
url: '/documents/me';
|
|
1614
|
+
url: '/api/documents/me';
|
|
1597
1615
|
};
|
|
1598
|
-
export type
|
|
1616
|
+
export type GetApiDocumentsMeErrors = {
|
|
1599
1617
|
/**
|
|
1600
1618
|
* Unauthorized
|
|
1601
1619
|
*/
|
|
1602
1620
|
401: unknown;
|
|
1603
1621
|
};
|
|
1604
|
-
export type
|
|
1622
|
+
export type GetApiDocumentsMeResponses = {
|
|
1605
1623
|
/**
|
|
1606
1624
|
* List of documents
|
|
1607
1625
|
*/
|
|
1608
1626
|
200: Array<DocumentResponseDto>;
|
|
1609
1627
|
};
|
|
1610
|
-
export type
|
|
1611
|
-
export type
|
|
1628
|
+
export type GetApiDocumentsMeResponse = GetApiDocumentsMeResponses[keyof GetApiDocumentsMeResponses];
|
|
1629
|
+
export type PostApiDocumentsData = {
|
|
1612
1630
|
body: CreateDocumentDto;
|
|
1613
1631
|
path?: never;
|
|
1614
1632
|
query?: never;
|
|
1615
|
-
url: '/documents';
|
|
1633
|
+
url: '/api/documents';
|
|
1616
1634
|
};
|
|
1617
|
-
export type
|
|
1635
|
+
export type PostApiDocumentsErrors = {
|
|
1618
1636
|
/**
|
|
1619
1637
|
* Unauthorized
|
|
1620
1638
|
*/
|
|
1621
1639
|
401: unknown;
|
|
1622
1640
|
};
|
|
1623
|
-
export type
|
|
1641
|
+
export type PostApiDocumentsResponses = {
|
|
1624
1642
|
/**
|
|
1625
1643
|
* Document created
|
|
1626
1644
|
*/
|
|
1627
1645
|
201: DocumentResponseDto;
|
|
1628
1646
|
};
|
|
1629
|
-
export type
|
|
1630
|
-
export type
|
|
1647
|
+
export type PostApiDocumentsResponse = PostApiDocumentsResponses[keyof PostApiDocumentsResponses];
|
|
1648
|
+
export type GetApiIndexCountriesData = {
|
|
1649
|
+
body?: never;
|
|
1650
|
+
path?: never;
|
|
1651
|
+
query?: never;
|
|
1652
|
+
url: '/api/index/countries';
|
|
1653
|
+
};
|
|
1654
|
+
export type GetApiIndexCountriesErrors = {
|
|
1655
|
+
/**
|
|
1656
|
+
* Unauthorized
|
|
1657
|
+
*/
|
|
1658
|
+
401: unknown;
|
|
1659
|
+
};
|
|
1660
|
+
export type GetApiIndexCountriesResponses = {
|
|
1661
|
+
/**
|
|
1662
|
+
* List of countries
|
|
1663
|
+
*/
|
|
1664
|
+
200: Array<CountryDto>;
|
|
1665
|
+
};
|
|
1666
|
+
export type GetApiIndexCountriesResponse = GetApiIndexCountriesResponses[keyof GetApiIndexCountriesResponses];
|
|
1667
|
+
export type GetApiIndexByTableNameData = {
|
|
1631
1668
|
body?: never;
|
|
1632
1669
|
path: {
|
|
1633
1670
|
tableName: string;
|
|
1634
1671
|
};
|
|
1635
1672
|
query?: never;
|
|
1636
|
-
url: '/index/{tableName}';
|
|
1673
|
+
url: '/api/index/{tableName}';
|
|
1637
1674
|
};
|
|
1638
|
-
export type
|
|
1675
|
+
export type GetApiIndexByTableNameErrors = {
|
|
1639
1676
|
/**
|
|
1640
1677
|
* Invalid index table
|
|
1641
1678
|
*/
|
|
@@ -1645,14 +1682,14 @@ export type GetIndexByTableNameErrors = {
|
|
|
1645
1682
|
*/
|
|
1646
1683
|
401: unknown;
|
|
1647
1684
|
};
|
|
1648
|
-
export type
|
|
1685
|
+
export type GetApiIndexByTableNameResponses = {
|
|
1649
1686
|
/**
|
|
1650
1687
|
* Index table items
|
|
1651
1688
|
*/
|
|
1652
1689
|
200: Array<IndexItemDto>;
|
|
1653
1690
|
};
|
|
1654
|
-
export type
|
|
1655
|
-
export type
|
|
1691
|
+
export type GetApiIndexByTableNameResponse = GetApiIndexByTableNameResponses[keyof GetApiIndexByTableNameResponses];
|
|
1692
|
+
export type GetApiOffersConversationsData = {
|
|
1656
1693
|
body?: never;
|
|
1657
1694
|
path?: never;
|
|
1658
1695
|
query?: {
|
|
@@ -1660,35 +1697,35 @@ export type GetOffersConversationsData = {
|
|
|
1660
1697
|
page?: number;
|
|
1661
1698
|
pageSize?: number;
|
|
1662
1699
|
};
|
|
1663
|
-
url: '/offers/conversations';
|
|
1700
|
+
url: '/api/offers/conversations';
|
|
1664
1701
|
};
|
|
1665
|
-
export type
|
|
1702
|
+
export type GetApiOffersConversationsErrors = {
|
|
1666
1703
|
/**
|
|
1667
1704
|
* Unauthorized
|
|
1668
1705
|
*/
|
|
1669
1706
|
401: unknown;
|
|
1670
1707
|
};
|
|
1671
|
-
export type
|
|
1708
|
+
export type GetApiOffersConversationsResponses = {
|
|
1672
1709
|
200: ConversationListResultDto;
|
|
1673
1710
|
};
|
|
1674
|
-
export type
|
|
1675
|
-
export type
|
|
1711
|
+
export type GetApiOffersConversationsResponse = GetApiOffersConversationsResponses[keyof GetApiOffersConversationsResponses];
|
|
1712
|
+
export type PostApiOffersConversationsData = {
|
|
1676
1713
|
body: CreateConversationDto;
|
|
1677
1714
|
path?: never;
|
|
1678
1715
|
query?: never;
|
|
1679
|
-
url: '/offers/conversations';
|
|
1716
|
+
url: '/api/offers/conversations';
|
|
1680
1717
|
};
|
|
1681
|
-
export type
|
|
1718
|
+
export type PostApiOffersConversationsErrors = {
|
|
1682
1719
|
/**
|
|
1683
1720
|
* Unauthorized
|
|
1684
1721
|
*/
|
|
1685
1722
|
401: unknown;
|
|
1686
1723
|
};
|
|
1687
|
-
export type
|
|
1724
|
+
export type PostApiOffersConversationsResponses = {
|
|
1688
1725
|
201: ConversationDetailDto;
|
|
1689
1726
|
};
|
|
1690
|
-
export type
|
|
1691
|
-
export type
|
|
1727
|
+
export type PostApiOffersConversationsResponse = PostApiOffersConversationsResponses[keyof PostApiOffersConversationsResponses];
|
|
1728
|
+
export type GetApiOffersConversationsByIdMessagesData = {
|
|
1692
1729
|
body?: never;
|
|
1693
1730
|
path: {
|
|
1694
1731
|
id: string;
|
|
@@ -1697,9 +1734,9 @@ export type GetOffersConversationsByIdMessagesData = {
|
|
|
1697
1734
|
page?: number;
|
|
1698
1735
|
pageSize?: number;
|
|
1699
1736
|
};
|
|
1700
|
-
url: '/offers/conversations/{id}/messages';
|
|
1737
|
+
url: '/api/offers/conversations/{id}/messages';
|
|
1701
1738
|
};
|
|
1702
|
-
export type
|
|
1739
|
+
export type GetApiOffersConversationsByIdMessagesErrors = {
|
|
1703
1740
|
/**
|
|
1704
1741
|
* Unauthorized
|
|
1705
1742
|
*/
|
|
@@ -1713,19 +1750,19 @@ export type GetOffersConversationsByIdMessagesErrors = {
|
|
|
1713
1750
|
*/
|
|
1714
1751
|
404: unknown;
|
|
1715
1752
|
};
|
|
1716
|
-
export type
|
|
1753
|
+
export type GetApiOffersConversationsByIdMessagesResponses = {
|
|
1717
1754
|
200: MessageListResultDto;
|
|
1718
1755
|
};
|
|
1719
|
-
export type
|
|
1720
|
-
export type
|
|
1756
|
+
export type GetApiOffersConversationsByIdMessagesResponse = GetApiOffersConversationsByIdMessagesResponses[keyof GetApiOffersConversationsByIdMessagesResponses];
|
|
1757
|
+
export type PostApiOffersConversationsByIdMessagesData = {
|
|
1721
1758
|
body: SendMessageDto;
|
|
1722
1759
|
path: {
|
|
1723
1760
|
id: string;
|
|
1724
1761
|
};
|
|
1725
1762
|
query?: never;
|
|
1726
|
-
url: '/offers/conversations/{id}/messages';
|
|
1763
|
+
url: '/api/offers/conversations/{id}/messages';
|
|
1727
1764
|
};
|
|
1728
|
-
export type
|
|
1765
|
+
export type PostApiOffersConversationsByIdMessagesErrors = {
|
|
1729
1766
|
/**
|
|
1730
1767
|
* Unauthorized
|
|
1731
1768
|
*/
|
|
@@ -1739,19 +1776,19 @@ export type PostOffersConversationsByIdMessagesErrors = {
|
|
|
1739
1776
|
*/
|
|
1740
1777
|
404: unknown;
|
|
1741
1778
|
};
|
|
1742
|
-
export type
|
|
1779
|
+
export type PostApiOffersConversationsByIdMessagesResponses = {
|
|
1743
1780
|
201: MessageItemDto;
|
|
1744
1781
|
};
|
|
1745
|
-
export type
|
|
1746
|
-
export type
|
|
1782
|
+
export type PostApiOffersConversationsByIdMessagesResponse = PostApiOffersConversationsByIdMessagesResponses[keyof PostApiOffersConversationsByIdMessagesResponses];
|
|
1783
|
+
export type PatchApiOffersConversationsByIdReadData = {
|
|
1747
1784
|
body?: never;
|
|
1748
1785
|
path: {
|
|
1749
1786
|
id: string;
|
|
1750
1787
|
};
|
|
1751
1788
|
query?: never;
|
|
1752
|
-
url: '/offers/conversations/{id}/read';
|
|
1789
|
+
url: '/api/offers/conversations/{id}/read';
|
|
1753
1790
|
};
|
|
1754
|
-
export type
|
|
1791
|
+
export type PatchApiOffersConversationsByIdReadErrors = {
|
|
1755
1792
|
/**
|
|
1756
1793
|
* Unauthorized
|
|
1757
1794
|
*/
|
|
@@ -1765,16 +1802,16 @@ export type PatchOffersConversationsByIdReadErrors = {
|
|
|
1765
1802
|
*/
|
|
1766
1803
|
404: unknown;
|
|
1767
1804
|
};
|
|
1768
|
-
export type
|
|
1805
|
+
export type PatchApiOffersConversationsByIdReadResponses = {
|
|
1769
1806
|
200: unknown;
|
|
1770
1807
|
};
|
|
1771
|
-
export type
|
|
1808
|
+
export type PostApiOrganizationsRegisterClubData = {
|
|
1772
1809
|
body: RegisterClubDto;
|
|
1773
1810
|
path?: never;
|
|
1774
1811
|
query?: never;
|
|
1775
|
-
url: '/organizations/register-club';
|
|
1812
|
+
url: '/api/organizations/register-club';
|
|
1776
1813
|
};
|
|
1777
|
-
export type
|
|
1814
|
+
export type PostApiOrganizationsRegisterClubErrors = {
|
|
1778
1815
|
/**
|
|
1779
1816
|
* Bad request
|
|
1780
1817
|
*/
|
|
@@ -1784,17 +1821,17 @@ export type PostOrganizationsRegisterClubErrors = {
|
|
|
1784
1821
|
*/
|
|
1785
1822
|
409: unknown;
|
|
1786
1823
|
};
|
|
1787
|
-
export type
|
|
1824
|
+
export type PostApiOrganizationsRegisterClubResponses = {
|
|
1788
1825
|
201: RegisterClubResponseDto;
|
|
1789
1826
|
};
|
|
1790
|
-
export type
|
|
1791
|
-
export type
|
|
1827
|
+
export type PostApiOrganizationsRegisterClubResponse = PostApiOrganizationsRegisterClubResponses[keyof PostApiOrganizationsRegisterClubResponses];
|
|
1828
|
+
export type GetApiOrganizationsMeData = {
|
|
1792
1829
|
body?: never;
|
|
1793
1830
|
path?: never;
|
|
1794
1831
|
query?: never;
|
|
1795
|
-
url: '/organizations/me';
|
|
1832
|
+
url: '/api/organizations/me';
|
|
1796
1833
|
};
|
|
1797
|
-
export type
|
|
1834
|
+
export type GetApiOrganizationsMeErrors = {
|
|
1798
1835
|
/**
|
|
1799
1836
|
* Unauthorized
|
|
1800
1837
|
*/
|
|
@@ -1804,17 +1841,17 @@ export type GetOrganizationsMeErrors = {
|
|
|
1804
1841
|
*/
|
|
1805
1842
|
404: unknown;
|
|
1806
1843
|
};
|
|
1807
|
-
export type
|
|
1844
|
+
export type GetApiOrganizationsMeResponses = {
|
|
1808
1845
|
200: OrganizationResponseDto;
|
|
1809
1846
|
};
|
|
1810
|
-
export type
|
|
1811
|
-
export type
|
|
1847
|
+
export type GetApiOrganizationsMeResponse = GetApiOrganizationsMeResponses[keyof GetApiOrganizationsMeResponses];
|
|
1848
|
+
export type PutApiOrganizationsMeData = {
|
|
1812
1849
|
body: UpdateOrganizationDto;
|
|
1813
1850
|
path?: never;
|
|
1814
1851
|
query?: never;
|
|
1815
|
-
url: '/organizations/me';
|
|
1852
|
+
url: '/api/organizations/me';
|
|
1816
1853
|
};
|
|
1817
|
-
export type
|
|
1854
|
+
export type PutApiOrganizationsMeErrors = {
|
|
1818
1855
|
/**
|
|
1819
1856
|
* Unauthorized
|
|
1820
1857
|
*/
|
|
@@ -1824,17 +1861,17 @@ export type PutOrganizationsMeErrors = {
|
|
|
1824
1861
|
*/
|
|
1825
1862
|
404: unknown;
|
|
1826
1863
|
};
|
|
1827
|
-
export type
|
|
1864
|
+
export type PutApiOrganizationsMeResponses = {
|
|
1828
1865
|
200: OrganizationResponseDto;
|
|
1829
1866
|
};
|
|
1830
|
-
export type
|
|
1831
|
-
export type
|
|
1867
|
+
export type PutApiOrganizationsMeResponse = PutApiOrganizationsMeResponses[keyof PutApiOrganizationsMeResponses];
|
|
1868
|
+
export type PostApiStorageUploadUrlData = {
|
|
1832
1869
|
body: CreateUploadUrlDto;
|
|
1833
1870
|
path?: never;
|
|
1834
1871
|
query?: never;
|
|
1835
|
-
url: '/storage/upload-url';
|
|
1872
|
+
url: '/api/storage/upload-url';
|
|
1836
1873
|
};
|
|
1837
|
-
export type
|
|
1874
|
+
export type PostApiStorageUploadUrlErrors = {
|
|
1838
1875
|
/**
|
|
1839
1876
|
* Unknown bucket or disallowed MIME
|
|
1840
1877
|
*/
|
|
@@ -1848,48 +1885,48 @@ export type PostStorageUploadUrlErrors = {
|
|
|
1848
1885
|
*/
|
|
1849
1886
|
413: unknown;
|
|
1850
1887
|
};
|
|
1851
|
-
export type
|
|
1888
|
+
export type PostApiStorageUploadUrlResponses = {
|
|
1852
1889
|
/**
|
|
1853
1890
|
* Signed upload URL issued
|
|
1854
1891
|
*/
|
|
1855
1892
|
201: UploadUrlResponseDto;
|
|
1856
1893
|
};
|
|
1857
|
-
export type
|
|
1858
|
-
export type
|
|
1894
|
+
export type PostApiStorageUploadUrlResponse = PostApiStorageUploadUrlResponses[keyof PostApiStorageUploadUrlResponses];
|
|
1895
|
+
export type GetApiInvitationsData = {
|
|
1859
1896
|
body?: never;
|
|
1860
1897
|
path?: never;
|
|
1861
1898
|
query?: never;
|
|
1862
|
-
url: '/invitations';
|
|
1899
|
+
url: '/api/invitations';
|
|
1863
1900
|
};
|
|
1864
|
-
export type
|
|
1901
|
+
export type GetApiInvitationsResponses = {
|
|
1865
1902
|
200: Array<InvitationResponseDto>;
|
|
1866
1903
|
};
|
|
1867
|
-
export type
|
|
1868
|
-
export type
|
|
1904
|
+
export type GetApiInvitationsResponse = GetApiInvitationsResponses[keyof GetApiInvitationsResponses];
|
|
1905
|
+
export type PostApiInvitationsData = {
|
|
1869
1906
|
body: SendInvitationRequestDto;
|
|
1870
1907
|
path?: never;
|
|
1871
1908
|
query?: never;
|
|
1872
|
-
url: '/invitations';
|
|
1909
|
+
url: '/api/invitations';
|
|
1873
1910
|
};
|
|
1874
|
-
export type
|
|
1911
|
+
export type PostApiInvitationsErrors = {
|
|
1875
1912
|
/**
|
|
1876
1913
|
* Limit reached or duplicate email
|
|
1877
1914
|
*/
|
|
1878
1915
|
400: unknown;
|
|
1879
1916
|
};
|
|
1880
|
-
export type
|
|
1917
|
+
export type PostApiInvitationsResponses = {
|
|
1881
1918
|
201: InvitationResponseDto;
|
|
1882
1919
|
};
|
|
1883
|
-
export type
|
|
1884
|
-
export type
|
|
1920
|
+
export type PostApiInvitationsResponse = PostApiInvitationsResponses[keyof PostApiInvitationsResponses];
|
|
1921
|
+
export type PostApiInvitationsByIdResendData = {
|
|
1885
1922
|
body?: never;
|
|
1886
1923
|
path: {
|
|
1887
1924
|
id: string;
|
|
1888
1925
|
};
|
|
1889
1926
|
query?: never;
|
|
1890
|
-
url: '/invitations/{id}/resend';
|
|
1927
|
+
url: '/api/invitations/{id}/resend';
|
|
1891
1928
|
};
|
|
1892
|
-
export type
|
|
1929
|
+
export type PostApiInvitationsByIdResendErrors = {
|
|
1893
1930
|
/**
|
|
1894
1931
|
* Cannot resend a confirmed invitation
|
|
1895
1932
|
*/
|
|
@@ -1899,19 +1936,19 @@ export type PostInvitationsByIdResendErrors = {
|
|
|
1899
1936
|
*/
|
|
1900
1937
|
404: unknown;
|
|
1901
1938
|
};
|
|
1902
|
-
export type
|
|
1939
|
+
export type PostApiInvitationsByIdResendResponses = {
|
|
1903
1940
|
200: InvitationResponseDto;
|
|
1904
1941
|
};
|
|
1905
|
-
export type
|
|
1906
|
-
export type
|
|
1942
|
+
export type PostApiInvitationsByIdResendResponse = PostApiInvitationsByIdResendResponses[keyof PostApiInvitationsByIdResendResponses];
|
|
1943
|
+
export type DeleteApiInvitationsByIdData = {
|
|
1907
1944
|
body?: never;
|
|
1908
1945
|
path: {
|
|
1909
1946
|
id: string;
|
|
1910
1947
|
};
|
|
1911
1948
|
query?: never;
|
|
1912
|
-
url: '/invitations/{id}';
|
|
1949
|
+
url: '/api/invitations/{id}';
|
|
1913
1950
|
};
|
|
1914
|
-
export type
|
|
1951
|
+
export type DeleteApiInvitationsByIdErrors = {
|
|
1915
1952
|
/**
|
|
1916
1953
|
* Cannot delete a confirmed invitation
|
|
1917
1954
|
*/
|
|
@@ -1921,43 +1958,43 @@ export type DeleteInvitationsByIdErrors = {
|
|
|
1921
1958
|
*/
|
|
1922
1959
|
404: unknown;
|
|
1923
1960
|
};
|
|
1924
|
-
export type
|
|
1961
|
+
export type DeleteApiInvitationsByIdResponses = {
|
|
1925
1962
|
/**
|
|
1926
1963
|
* Deleted
|
|
1927
1964
|
*/
|
|
1928
1965
|
204: void;
|
|
1929
1966
|
};
|
|
1930
|
-
export type
|
|
1931
|
-
export type
|
|
1967
|
+
export type DeleteApiInvitationsByIdResponse = DeleteApiInvitationsByIdResponses[keyof DeleteApiInvitationsByIdResponses];
|
|
1968
|
+
export type PostApiInvitationsAcceptData = {
|
|
1932
1969
|
body?: never;
|
|
1933
1970
|
path?: never;
|
|
1934
1971
|
query?: never;
|
|
1935
|
-
url: '/invitations/accept';
|
|
1972
|
+
url: '/api/invitations/accept';
|
|
1936
1973
|
};
|
|
1937
|
-
export type
|
|
1974
|
+
export type PostApiInvitationsAcceptResponses = {
|
|
1938
1975
|
/**
|
|
1939
1976
|
* Accepted (or no pending invitation — idempotent)
|
|
1940
1977
|
*/
|
|
1941
1978
|
204: void;
|
|
1942
1979
|
};
|
|
1943
|
-
export type
|
|
1944
|
-
export type
|
|
1980
|
+
export type PostApiInvitationsAcceptResponse = PostApiInvitationsAcceptResponses[keyof PostApiInvitationsAcceptResponses];
|
|
1981
|
+
export type GetApiTrainingGroupedData = {
|
|
1945
1982
|
body?: never;
|
|
1946
1983
|
path?: never;
|
|
1947
1984
|
query?: never;
|
|
1948
|
-
url: '/training/grouped';
|
|
1985
|
+
url: '/api/training/grouped';
|
|
1949
1986
|
};
|
|
1950
|
-
export type
|
|
1987
|
+
export type GetApiTrainingGroupedErrors = {
|
|
1951
1988
|
/**
|
|
1952
1989
|
* Unauthorized
|
|
1953
1990
|
*/
|
|
1954
1991
|
401: unknown;
|
|
1955
1992
|
};
|
|
1956
|
-
export type
|
|
1993
|
+
export type GetApiTrainingGroupedResponses = {
|
|
1957
1994
|
200: Array<TrainingCategoryGroupDto>;
|
|
1958
1995
|
};
|
|
1959
|
-
export type
|
|
1960
|
-
export type
|
|
1996
|
+
export type GetApiTrainingGroupedResponse = GetApiTrainingGroupedResponses[keyof GetApiTrainingGroupedResponses];
|
|
1997
|
+
export type GetApiTrainingData = {
|
|
1961
1998
|
body?: never;
|
|
1962
1999
|
path?: never;
|
|
1963
2000
|
query?: {
|
|
@@ -1965,27 +2002,27 @@ export type GetTrainingData = {
|
|
|
1965
2002
|
page?: number;
|
|
1966
2003
|
pageSize?: number;
|
|
1967
2004
|
};
|
|
1968
|
-
url: '/training';
|
|
2005
|
+
url: '/api/training';
|
|
1969
2006
|
};
|
|
1970
|
-
export type
|
|
2007
|
+
export type GetApiTrainingErrors = {
|
|
1971
2008
|
/**
|
|
1972
2009
|
* Unauthorized
|
|
1973
2010
|
*/
|
|
1974
2011
|
401: unknown;
|
|
1975
2012
|
};
|
|
1976
|
-
export type
|
|
2013
|
+
export type GetApiTrainingResponses = {
|
|
1977
2014
|
200: PaginatedTrainingContentDto;
|
|
1978
2015
|
};
|
|
1979
|
-
export type
|
|
1980
|
-
export type
|
|
2016
|
+
export type GetApiTrainingResponse = GetApiTrainingResponses[keyof GetApiTrainingResponses];
|
|
2017
|
+
export type GetApiTrainingByIdData = {
|
|
1981
2018
|
body?: never;
|
|
1982
2019
|
path: {
|
|
1983
2020
|
id: string;
|
|
1984
2021
|
};
|
|
1985
2022
|
query?: never;
|
|
1986
|
-
url: '/training/{id}';
|
|
2023
|
+
url: '/api/training/{id}';
|
|
1987
2024
|
};
|
|
1988
|
-
export type
|
|
2025
|
+
export type GetApiTrainingByIdErrors = {
|
|
1989
2026
|
/**
|
|
1990
2027
|
* Unauthorized
|
|
1991
2028
|
*/
|
|
@@ -1995,38 +2032,38 @@ export type GetTrainingByIdErrors = {
|
|
|
1995
2032
|
*/
|
|
1996
2033
|
404: unknown;
|
|
1997
2034
|
};
|
|
1998
|
-
export type
|
|
2035
|
+
export type GetApiTrainingByIdResponses = {
|
|
1999
2036
|
200: TrainingContentDetailDto;
|
|
2000
2037
|
};
|
|
2001
|
-
export type
|
|
2002
|
-
export type
|
|
2038
|
+
export type GetApiTrainingByIdResponse = GetApiTrainingByIdResponses[keyof GetApiTrainingByIdResponses];
|
|
2039
|
+
export type GetApiVideosMeData = {
|
|
2003
2040
|
body?: never;
|
|
2004
2041
|
path?: never;
|
|
2005
2042
|
query: {
|
|
2006
2043
|
type: string;
|
|
2007
2044
|
};
|
|
2008
|
-
url: '/videos/me';
|
|
2045
|
+
url: '/api/videos/me';
|
|
2009
2046
|
};
|
|
2010
|
-
export type
|
|
2047
|
+
export type GetApiVideosMeErrors = {
|
|
2011
2048
|
/**
|
|
2012
2049
|
* Unauthorized
|
|
2013
2050
|
*/
|
|
2014
2051
|
401: unknown;
|
|
2015
2052
|
};
|
|
2016
|
-
export type
|
|
2053
|
+
export type GetApiVideosMeResponses = {
|
|
2017
2054
|
/**
|
|
2018
2055
|
* List of videos
|
|
2019
2056
|
*/
|
|
2020
2057
|
200: Array<VideoResponseDto>;
|
|
2021
2058
|
};
|
|
2022
|
-
export type
|
|
2023
|
-
export type
|
|
2059
|
+
export type GetApiVideosMeResponse = GetApiVideosMeResponses[keyof GetApiVideosMeResponses];
|
|
2060
|
+
export type PostApiVideosData = {
|
|
2024
2061
|
body: CreateVideoDto;
|
|
2025
2062
|
path?: never;
|
|
2026
2063
|
query?: never;
|
|
2027
|
-
url: '/videos';
|
|
2064
|
+
url: '/api/videos';
|
|
2028
2065
|
};
|
|
2029
|
-
export type
|
|
2066
|
+
export type PostApiVideosErrors = {
|
|
2030
2067
|
/**
|
|
2031
2068
|
* Invalid input or best_moment limit exceeded
|
|
2032
2069
|
*/
|
|
@@ -2036,22 +2073,22 @@ export type PostVideosErrors = {
|
|
|
2036
2073
|
*/
|
|
2037
2074
|
401: unknown;
|
|
2038
2075
|
};
|
|
2039
|
-
export type
|
|
2076
|
+
export type PostApiVideosResponses = {
|
|
2040
2077
|
/**
|
|
2041
2078
|
* Video created
|
|
2042
2079
|
*/
|
|
2043
2080
|
201: VideoResponseDto;
|
|
2044
2081
|
};
|
|
2045
|
-
export type
|
|
2046
|
-
export type
|
|
2082
|
+
export type PostApiVideosResponse = PostApiVideosResponses[keyof PostApiVideosResponses];
|
|
2083
|
+
export type GetApiVideosByIdPlayUrlData = {
|
|
2047
2084
|
body?: never;
|
|
2048
2085
|
path: {
|
|
2049
2086
|
id: string;
|
|
2050
2087
|
};
|
|
2051
2088
|
query?: never;
|
|
2052
|
-
url: '/videos/{id}/play-url';
|
|
2089
|
+
url: '/api/videos/{id}/play-url';
|
|
2053
2090
|
};
|
|
2054
|
-
export type
|
|
2091
|
+
export type GetApiVideosByIdPlayUrlErrors = {
|
|
2055
2092
|
/**
|
|
2056
2093
|
* Unauthorized
|
|
2057
2094
|
*/
|
|
@@ -2061,22 +2098,22 @@ export type GetVideosByIdPlayUrlErrors = {
|
|
|
2061
2098
|
*/
|
|
2062
2099
|
404: unknown;
|
|
2063
2100
|
};
|
|
2064
|
-
export type
|
|
2101
|
+
export type GetApiVideosByIdPlayUrlResponses = {
|
|
2065
2102
|
/**
|
|
2066
2103
|
* Short-lived signed URL for video playback
|
|
2067
2104
|
*/
|
|
2068
2105
|
200: PlayUrlResponseDto;
|
|
2069
2106
|
};
|
|
2070
|
-
export type
|
|
2071
|
-
export type
|
|
2107
|
+
export type GetApiVideosByIdPlayUrlResponse = GetApiVideosByIdPlayUrlResponses[keyof GetApiVideosByIdPlayUrlResponses];
|
|
2108
|
+
export type DeleteApiVideosByIdData = {
|
|
2072
2109
|
body?: never;
|
|
2073
2110
|
path: {
|
|
2074
2111
|
id: string;
|
|
2075
2112
|
};
|
|
2076
2113
|
query?: never;
|
|
2077
|
-
url: '/videos/{id}';
|
|
2114
|
+
url: '/api/videos/{id}';
|
|
2078
2115
|
};
|
|
2079
|
-
export type
|
|
2116
|
+
export type DeleteApiVideosByIdErrors = {
|
|
2080
2117
|
/**
|
|
2081
2118
|
* Unauthorized
|
|
2082
2119
|
*/
|
|
@@ -2086,10 +2123,10 @@ export type DeleteVideosByIdErrors = {
|
|
|
2086
2123
|
*/
|
|
2087
2124
|
404: unknown;
|
|
2088
2125
|
};
|
|
2089
|
-
export type
|
|
2126
|
+
export type DeleteApiVideosByIdResponses = {
|
|
2090
2127
|
/**
|
|
2091
2128
|
* Video deleted
|
|
2092
2129
|
*/
|
|
2093
2130
|
204: void;
|
|
2094
2131
|
};
|
|
2095
|
-
export type
|
|
2132
|
+
export type DeleteApiVideosByIdResponse = DeleteApiVideosByIdResponses[keyof DeleteApiVideosByIdResponses];
|