@globalscoutme/api-client 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/sdk.gen.d.ts +36 -9
- package/dist/sdk.gen.js +147 -38
- package/dist/types.gen.d.ts +635 -72
- package/index.ts +82 -0
- package/package.json +1 -1
- package/sdk.gen.ts +329 -68
- package/types.gen.ts +747 -94
package/types.gen.ts
CHANGED
|
@@ -431,6 +431,247 @@ export type PlayerByIdDto = {
|
|
|
431
431
|
phone?: string | null;
|
|
432
432
|
};
|
|
433
433
|
|
|
434
|
+
export type BillingProviderProductDto = {
|
|
435
|
+
provider: string;
|
|
436
|
+
environment: string;
|
|
437
|
+
surface: string;
|
|
438
|
+
providerProductType: string;
|
|
439
|
+
productId?: string | null;
|
|
440
|
+
priceId?: string | null;
|
|
441
|
+
basePlanId?: string | null;
|
|
442
|
+
offerId?: string | null;
|
|
443
|
+
lookupKey?: string | null;
|
|
444
|
+
displayName?: string | null;
|
|
445
|
+
};
|
|
446
|
+
|
|
447
|
+
export type BillingPlanDto = {
|
|
448
|
+
id: string;
|
|
449
|
+
code: string;
|
|
450
|
+
name: string;
|
|
451
|
+
billingInterval: string;
|
|
452
|
+
price: number;
|
|
453
|
+
currency: string;
|
|
454
|
+
trialDays?: number | null;
|
|
455
|
+
providerProducts: Array<BillingProviderProductDto>;
|
|
456
|
+
};
|
|
457
|
+
|
|
458
|
+
export type BillingPlansResponseDto = {
|
|
459
|
+
plans: Array<BillingPlanDto>;
|
|
460
|
+
};
|
|
461
|
+
|
|
462
|
+
export type BillingProductDto = {
|
|
463
|
+
id: string;
|
|
464
|
+
code: string;
|
|
465
|
+
name: string;
|
|
466
|
+
productType: string;
|
|
467
|
+
fulfillmentType: string;
|
|
468
|
+
purchasePolicy: string;
|
|
469
|
+
price: number;
|
|
470
|
+
currency: string;
|
|
471
|
+
providerProducts: Array<BillingProviderProductDto>;
|
|
472
|
+
};
|
|
473
|
+
|
|
474
|
+
export type BillingProductsResponseDto = {
|
|
475
|
+
products: Array<BillingProductDto>;
|
|
476
|
+
};
|
|
477
|
+
|
|
478
|
+
export type BillingManageActionDto = {
|
|
479
|
+
type: {
|
|
480
|
+
[key: string]: unknown;
|
|
481
|
+
};
|
|
482
|
+
url?: string | null;
|
|
483
|
+
};
|
|
484
|
+
|
|
485
|
+
export type BillingEntitlementResponseDto = {
|
|
486
|
+
hasAccess: boolean;
|
|
487
|
+
status: string;
|
|
488
|
+
provider?: string | null;
|
|
489
|
+
plan?: BillingPlanDto | null;
|
|
490
|
+
currentPeriodEnd?: string | null;
|
|
491
|
+
gracePeriodUntil?: string | null;
|
|
492
|
+
blockingReason?: string | null;
|
|
493
|
+
manageAction: BillingManageActionDto;
|
|
494
|
+
};
|
|
495
|
+
|
|
496
|
+
export type RedeemAccessCodeDto = {
|
|
497
|
+
code: string;
|
|
498
|
+
};
|
|
499
|
+
|
|
500
|
+
export type ReportPurchaseDto = {
|
|
501
|
+
id: string;
|
|
502
|
+
paymentStatus: string;
|
|
503
|
+
fulfillmentStatus: string;
|
|
504
|
+
failureReason?: string | null;
|
|
505
|
+
reportReferenceId?: string | null;
|
|
506
|
+
generationStartedAt?: string | null;
|
|
507
|
+
generationFailedAt?: string | null;
|
|
508
|
+
fulfilledAt?: string | null;
|
|
509
|
+
createdAt?: string | null;
|
|
510
|
+
updatedAt?: string | null;
|
|
511
|
+
};
|
|
512
|
+
|
|
513
|
+
export type ReportPrerequisiteDto = {
|
|
514
|
+
code: string;
|
|
515
|
+
label: string;
|
|
516
|
+
satisfied: boolean;
|
|
517
|
+
blocking: boolean;
|
|
518
|
+
};
|
|
519
|
+
|
|
520
|
+
export type ReportPurchaseStatusResponseDto = {
|
|
521
|
+
purchase?: ReportPurchaseDto | null;
|
|
522
|
+
prerequisites: Array<ReportPrerequisiteDto>;
|
|
523
|
+
};
|
|
524
|
+
|
|
525
|
+
export type AiReportViewDto = {
|
|
526
|
+
technicalPillar: string;
|
|
527
|
+
physicalPillar: string;
|
|
528
|
+
tacticalPillar: string;
|
|
529
|
+
mentalPillar: string;
|
|
530
|
+
};
|
|
531
|
+
|
|
532
|
+
export type AiReportClipTargetDto = {
|
|
533
|
+
timestampS: number;
|
|
534
|
+
tapXPct: number;
|
|
535
|
+
tapYPct: number;
|
|
536
|
+
};
|
|
537
|
+
|
|
538
|
+
export type AiReportClipDto = {
|
|
539
|
+
clipIndex: number;
|
|
540
|
+
storagePath?: string | null;
|
|
541
|
+
target: AiReportClipTargetDto;
|
|
542
|
+
};
|
|
543
|
+
|
|
544
|
+
export type AiReportMetaDto = {
|
|
545
|
+
schemaVersion?: string | null;
|
|
546
|
+
promptVersion?: string | null;
|
|
547
|
+
llmProvider?: string | null;
|
|
548
|
+
llmModel?: string | null;
|
|
549
|
+
processingTimeMs?: number | null;
|
|
550
|
+
clips: Array<AiReportClipDto>;
|
|
551
|
+
};
|
|
552
|
+
|
|
553
|
+
export type AiReportResultResponseDto = {
|
|
554
|
+
purchaseId: string;
|
|
555
|
+
reportReferenceId: string;
|
|
556
|
+
status: string;
|
|
557
|
+
generatedAt?: string | null;
|
|
558
|
+
playerView: AiReportViewDto;
|
|
559
|
+
scouterView: AiReportViewDto;
|
|
560
|
+
meta: AiReportMetaDto;
|
|
561
|
+
};
|
|
562
|
+
|
|
563
|
+
export type ReportPlayerCandidateTargetDto = {
|
|
564
|
+
timestampS: number;
|
|
565
|
+
tapXPct: number;
|
|
566
|
+
tapYPct: number;
|
|
567
|
+
};
|
|
568
|
+
|
|
569
|
+
export type StartReportGenerationClipDto = {
|
|
570
|
+
videoId: string;
|
|
571
|
+
target: ReportPlayerCandidateTargetDto;
|
|
572
|
+
};
|
|
573
|
+
|
|
574
|
+
export type StartReportGenerationRequestDto = {
|
|
575
|
+
clips: Array<StartReportGenerationClipDto>;
|
|
576
|
+
};
|
|
577
|
+
|
|
578
|
+
export type ReportGenerationStartResponseDto = {
|
|
579
|
+
purchaseId: string;
|
|
580
|
+
fulfillmentStatus: string;
|
|
581
|
+
prerequisites: Array<ReportPrerequisiteDto>;
|
|
582
|
+
};
|
|
583
|
+
|
|
584
|
+
export type ReportPlayerCandidatesRequestDto = {
|
|
585
|
+
videoIds?: Array<string>;
|
|
586
|
+
jerseyNumberHint?: string;
|
|
587
|
+
};
|
|
588
|
+
|
|
589
|
+
export type ReportPlayerCandidateBboxDto = {
|
|
590
|
+
xPct: number;
|
|
591
|
+
yPct: number;
|
|
592
|
+
widthPct: number;
|
|
593
|
+
heightPct: number;
|
|
594
|
+
};
|
|
595
|
+
|
|
596
|
+
export type ReportPlayerCandidateDto = {
|
|
597
|
+
candidateId: string;
|
|
598
|
+
rank: number;
|
|
599
|
+
confidence: number;
|
|
600
|
+
target: ReportPlayerCandidateTargetDto;
|
|
601
|
+
bbox: ReportPlayerCandidateBboxDto;
|
|
602
|
+
frameWidthPx?: number | null;
|
|
603
|
+
frameHeightPx?: number | null;
|
|
604
|
+
framePreviewDataUrl?: string | null;
|
|
605
|
+
playerCropDataUrl?: string | null;
|
|
606
|
+
label: string;
|
|
607
|
+
reasonCodes: Array<string>;
|
|
608
|
+
};
|
|
609
|
+
|
|
610
|
+
export type ReportVideoCandidatesDto = {
|
|
611
|
+
videoId: string;
|
|
612
|
+
title: string;
|
|
613
|
+
thumbnailUrl?: string | null;
|
|
614
|
+
fallbackRequired: boolean;
|
|
615
|
+
fallbackReason: string;
|
|
616
|
+
candidates: Array<ReportPlayerCandidateDto>;
|
|
617
|
+
};
|
|
618
|
+
|
|
619
|
+
export type ReportPlayerCandidatesResponseDto = {
|
|
620
|
+
videos: Array<ReportVideoCandidatesDto>;
|
|
621
|
+
};
|
|
622
|
+
|
|
623
|
+
export type ProviderCheckoutRequestDto = {
|
|
624
|
+
productCode?: string;
|
|
625
|
+
returnUrl?: string;
|
|
626
|
+
};
|
|
627
|
+
|
|
628
|
+
export type StorePurchaseSyncRequestDto = {
|
|
629
|
+
productId: string;
|
|
630
|
+
basePlanId?: string;
|
|
631
|
+
offerId?: string;
|
|
632
|
+
transactionId?: string;
|
|
633
|
+
purchaseToken?: string;
|
|
634
|
+
signedTransactionInfo?: string;
|
|
635
|
+
packageName?: string;
|
|
636
|
+
};
|
|
637
|
+
|
|
638
|
+
export type NotificationPreferencesDto = {
|
|
639
|
+
pushEnabled: boolean;
|
|
640
|
+
offersEnabled: boolean;
|
|
641
|
+
messagesEnabled: boolean;
|
|
642
|
+
};
|
|
643
|
+
|
|
644
|
+
export type UpdateNotificationPreferencesDto = {
|
|
645
|
+
pushEnabled?: boolean;
|
|
646
|
+
offersEnabled?: boolean;
|
|
647
|
+
messagesEnabled?: boolean;
|
|
648
|
+
};
|
|
649
|
+
|
|
650
|
+
export type RegisterPushDeviceDto = {
|
|
651
|
+
fcmToken: string;
|
|
652
|
+
platform: 'ios' | 'android';
|
|
653
|
+
installId: string;
|
|
654
|
+
appVersion?: string;
|
|
655
|
+
buildNumber?: string;
|
|
656
|
+
locale?: string;
|
|
657
|
+
timezone?: string;
|
|
658
|
+
};
|
|
659
|
+
|
|
660
|
+
export type PushDeviceRegistrationResultDto = {
|
|
661
|
+
pushEnabled: boolean;
|
|
662
|
+
offersEnabled: boolean;
|
|
663
|
+
messagesEnabled: boolean;
|
|
664
|
+
id: string;
|
|
665
|
+
};
|
|
666
|
+
|
|
667
|
+
export type DeactivatePushDeviceDto = {
|
|
668
|
+
fcmToken: string;
|
|
669
|
+
};
|
|
670
|
+
|
|
671
|
+
export type OkDto = {
|
|
672
|
+
ok: boolean;
|
|
673
|
+
};
|
|
674
|
+
|
|
434
675
|
export type PreviousClubDto = {
|
|
435
676
|
/**
|
|
436
677
|
* Club name
|
|
@@ -752,14 +993,43 @@ export type UserAchievementResponseDto = {
|
|
|
752
993
|
export type BodyMeasurementResponseDto = {
|
|
753
994
|
id: string;
|
|
754
995
|
userId: string;
|
|
996
|
+
measurementDate?: string | null;
|
|
997
|
+
imageUrl?: string | null;
|
|
755
998
|
imagePath?: string | null;
|
|
756
|
-
processingStatus?: string | null;
|
|
757
999
|
selfReportedHeightCm?: number | null;
|
|
758
1000
|
wingspanToSkeletonRatio?: number | null;
|
|
759
1001
|
legToTorsoRatio?: number | null;
|
|
760
1002
|
femurToTibiaRatio?: number | null;
|
|
761
1003
|
shoulderToHipRatio?: number | null;
|
|
762
1004
|
qualityStatus?: string | null;
|
|
1005
|
+
analysisReliability?: string | null;
|
|
1006
|
+
metricStatus?: {
|
|
1007
|
+
[key: string]: unknown;
|
|
1008
|
+
};
|
|
1009
|
+
poseLandmarksContext?: {
|
|
1010
|
+
[key: string]: unknown;
|
|
1011
|
+
};
|
|
1012
|
+
heightCm?: number | null;
|
|
1013
|
+
shoulderWidthCm?: number | null;
|
|
1014
|
+
hipWidthCm?: number | null;
|
|
1015
|
+
reachSpanCm?: number | null;
|
|
1016
|
+
apeIndex?: number | null;
|
|
1017
|
+
shoulderToHip?: number | null;
|
|
1018
|
+
legToTorso?: number | null;
|
|
1019
|
+
headCircumferenceCm?: number | null;
|
|
1020
|
+
neckCircumferenceCm?: number | null;
|
|
1021
|
+
chestCircumferenceCm?: number | null;
|
|
1022
|
+
waistCircumferenceCm?: number | null;
|
|
1023
|
+
hipCircumferenceCm?: number | null;
|
|
1024
|
+
footLengthCm?: number | null;
|
|
1025
|
+
footWidthCm?: number | null;
|
|
1026
|
+
warnings?: Array<string>;
|
|
1027
|
+
isUsable?: boolean;
|
|
1028
|
+
needsRetake?: boolean;
|
|
1029
|
+
source?: {
|
|
1030
|
+
[key: string]: unknown;
|
|
1031
|
+
};
|
|
1032
|
+
processingStatus?: string | null;
|
|
763
1033
|
createdAt?: string | null;
|
|
764
1034
|
};
|
|
765
1035
|
|
|
@@ -768,10 +1038,58 @@ export type CreateBodyMeasurementDto = {
|
|
|
768
1038
|
* Storage path of the body image
|
|
769
1039
|
*/
|
|
770
1040
|
imagePath?: string;
|
|
1041
|
+
/**
|
|
1042
|
+
* Image URL or path
|
|
1043
|
+
*/
|
|
1044
|
+
imageUrl?: string;
|
|
771
1045
|
/**
|
|
772
1046
|
* Self-reported height in centimetres
|
|
773
1047
|
*/
|
|
774
1048
|
selfReportedHeightCm?: number;
|
|
1049
|
+
/**
|
|
1050
|
+
* Head circumference in centimetres
|
|
1051
|
+
*/
|
|
1052
|
+
headCircumferenceCm?: number;
|
|
1053
|
+
/**
|
|
1054
|
+
* Neck circumference in centimetres
|
|
1055
|
+
*/
|
|
1056
|
+
neckCircumferenceCm?: number;
|
|
1057
|
+
/**
|
|
1058
|
+
* Chest circumference in centimetres
|
|
1059
|
+
*/
|
|
1060
|
+
chestCircumferenceCm?: number;
|
|
1061
|
+
/**
|
|
1062
|
+
* Waist circumference in centimetres
|
|
1063
|
+
*/
|
|
1064
|
+
waistCircumferenceCm?: number;
|
|
1065
|
+
/**
|
|
1066
|
+
* Hip circumference in centimetres
|
|
1067
|
+
*/
|
|
1068
|
+
hipCircumferenceCm?: number;
|
|
1069
|
+
/**
|
|
1070
|
+
* Foot length in centimetres
|
|
1071
|
+
*/
|
|
1072
|
+
footLengthCm?: number;
|
|
1073
|
+
/**
|
|
1074
|
+
* Foot width in centimetres
|
|
1075
|
+
*/
|
|
1076
|
+
footWidthCm?: number;
|
|
1077
|
+
};
|
|
1078
|
+
|
|
1079
|
+
export type CmjMeasurementResponseDto = {
|
|
1080
|
+
id: string;
|
|
1081
|
+
userId: string;
|
|
1082
|
+
measurementDate?: string | null;
|
|
1083
|
+
verticalJumpCm?: number | null;
|
|
1084
|
+
jumpHeightCmBest?: number | null;
|
|
1085
|
+
qualityTier?: string | null;
|
|
1086
|
+
retakeReason?: string | null;
|
|
1087
|
+
captureReliability?: string | null;
|
|
1088
|
+
confidenceLabel?: string | null;
|
|
1089
|
+
isUsable?: boolean;
|
|
1090
|
+
needsRetake?: boolean;
|
|
1091
|
+
source?: string;
|
|
1092
|
+
createdAt?: string | null;
|
|
775
1093
|
};
|
|
776
1094
|
|
|
777
1095
|
export type ChallengeCatalogDto = {
|
|
@@ -1053,43 +1371,6 @@ export type SendMessageDto = {
|
|
|
1053
1371
|
body: string;
|
|
1054
1372
|
};
|
|
1055
1373
|
|
|
1056
|
-
export type NotificationPreferencesDto = {
|
|
1057
|
-
pushEnabled: boolean;
|
|
1058
|
-
offersEnabled: boolean;
|
|
1059
|
-
messagesEnabled: boolean;
|
|
1060
|
-
};
|
|
1061
|
-
|
|
1062
|
-
export type UpdateNotificationPreferencesDto = {
|
|
1063
|
-
pushEnabled?: boolean;
|
|
1064
|
-
offersEnabled?: boolean;
|
|
1065
|
-
messagesEnabled?: boolean;
|
|
1066
|
-
};
|
|
1067
|
-
|
|
1068
|
-
export type RegisterPushDeviceDto = {
|
|
1069
|
-
fcmToken: string;
|
|
1070
|
-
platform: 'ios' | 'android';
|
|
1071
|
-
installId: string;
|
|
1072
|
-
appVersion?: string;
|
|
1073
|
-
buildNumber?: string;
|
|
1074
|
-
locale?: string;
|
|
1075
|
-
timezone?: string;
|
|
1076
|
-
};
|
|
1077
|
-
|
|
1078
|
-
export type PushDeviceRegistrationResultDto = {
|
|
1079
|
-
pushEnabled: boolean;
|
|
1080
|
-
offersEnabled: boolean;
|
|
1081
|
-
messagesEnabled: boolean;
|
|
1082
|
-
id: string;
|
|
1083
|
-
};
|
|
1084
|
-
|
|
1085
|
-
export type DeactivatePushDeviceDto = {
|
|
1086
|
-
fcmToken: string;
|
|
1087
|
-
};
|
|
1088
|
-
|
|
1089
|
-
export type OkDto = {
|
|
1090
|
-
ok: boolean;
|
|
1091
|
-
};
|
|
1092
|
-
|
|
1093
1374
|
export type RegisterClubDto = {
|
|
1094
1375
|
/**
|
|
1095
1376
|
* Club name
|
|
@@ -1442,6 +1723,102 @@ export type CancelKycRequestDto = {
|
|
|
1442
1723
|
jobId: string;
|
|
1443
1724
|
};
|
|
1444
1725
|
|
|
1726
|
+
export type BodyMeasurementProfileDto = {
|
|
1727
|
+
id: string;
|
|
1728
|
+
createdAt?: string | null;
|
|
1729
|
+
selfReportedHeightCm?: number | null;
|
|
1730
|
+
wingspanToSkeletonRatio?: number | null;
|
|
1731
|
+
legToTorsoRatio?: number | null;
|
|
1732
|
+
femurToTibiaRatio?: number | null;
|
|
1733
|
+
shoulderToHipRatio?: number | null;
|
|
1734
|
+
headCircumferenceCm?: number | null;
|
|
1735
|
+
neckCircumferenceCm?: number | null;
|
|
1736
|
+
chestCircumferenceCm?: number | null;
|
|
1737
|
+
waistCircumferenceCm?: number | null;
|
|
1738
|
+
hipCircumferenceCm?: number | null;
|
|
1739
|
+
footLengthCm?: number | null;
|
|
1740
|
+
footWidthCm?: number | null;
|
|
1741
|
+
qualityStatus?: string | null;
|
|
1742
|
+
metricStatus?: {
|
|
1743
|
+
[key: string]: unknown;
|
|
1744
|
+
};
|
|
1745
|
+
poseLandmarksContext?: {
|
|
1746
|
+
[key: string]: unknown;
|
|
1747
|
+
};
|
|
1748
|
+
isUsable: boolean;
|
|
1749
|
+
};
|
|
1750
|
+
|
|
1751
|
+
export type CmjMeasurementProfileDto = {
|
|
1752
|
+
id: string;
|
|
1753
|
+
createdAt?: string | null;
|
|
1754
|
+
verticalJumpCm?: number | null;
|
|
1755
|
+
qualityTier?: string | null;
|
|
1756
|
+
retakeReason?: string | null;
|
|
1757
|
+
isUsable: boolean;
|
|
1758
|
+
};
|
|
1759
|
+
|
|
1760
|
+
export type MeasurementSessionMetricsDto = {
|
|
1761
|
+
selfReportedHeightCm?: number | null;
|
|
1762
|
+
verticalJumpCm?: number | null;
|
|
1763
|
+
wingspanToSkeletonRatio?: number | null;
|
|
1764
|
+
legToTorsoRatio?: number | null;
|
|
1765
|
+
femurToTibiaRatio?: number | null;
|
|
1766
|
+
shoulderToHipRatio?: number | null;
|
|
1767
|
+
};
|
|
1768
|
+
|
|
1769
|
+
export type MeasurementTagEvaluationDto = {
|
|
1770
|
+
key?: string;
|
|
1771
|
+
status?: string;
|
|
1772
|
+
label?: string;
|
|
1773
|
+
};
|
|
1774
|
+
|
|
1775
|
+
export type MeasurementSessionDto = {
|
|
1776
|
+
id: string;
|
|
1777
|
+
bodyMeasurementId: string;
|
|
1778
|
+
jumpMeasurementId: string;
|
|
1779
|
+
contractVersion?: string | null;
|
|
1780
|
+
schemaVersion?: string | null;
|
|
1781
|
+
rulesetId?: string | null;
|
|
1782
|
+
rulesetVersion?: string | null;
|
|
1783
|
+
metrics: MeasurementSessionMetricsDto;
|
|
1784
|
+
declaredPositions?: {
|
|
1785
|
+
[key: string]: unknown;
|
|
1786
|
+
};
|
|
1787
|
+
biomechanicalAlignment?: {
|
|
1788
|
+
[key: string]: unknown;
|
|
1789
|
+
};
|
|
1790
|
+
biomechanicalAlignmentCopyKeys?: Array<string>;
|
|
1791
|
+
checkedTagKeys?: Array<string>;
|
|
1792
|
+
tagEvaluations?: Array<MeasurementTagEvaluationDto>;
|
|
1793
|
+
qualitySummary?: {
|
|
1794
|
+
[key: string]: unknown;
|
|
1795
|
+
};
|
|
1796
|
+
playerDisplay?: {
|
|
1797
|
+
[key: string]: unknown;
|
|
1798
|
+
};
|
|
1799
|
+
scoutDisplay?: {
|
|
1800
|
+
[key: string]: unknown;
|
|
1801
|
+
};
|
|
1802
|
+
metricDefinitions?: {
|
|
1803
|
+
[key: string]: unknown;
|
|
1804
|
+
};
|
|
1805
|
+
createdAt?: string | null;
|
|
1806
|
+
updatedAt?: string | null;
|
|
1807
|
+
};
|
|
1808
|
+
|
|
1809
|
+
export type MeasurementProfileResponseDto = {
|
|
1810
|
+
status: 'missing' | 'partial' | 'ready' | 'needs_update';
|
|
1811
|
+
body?: BodyMeasurementProfileDto | null;
|
|
1812
|
+
cmj?: CmjMeasurementProfileDto | null;
|
|
1813
|
+
session?: MeasurementSessionDto | null;
|
|
1814
|
+
updatedAt?: string | null;
|
|
1815
|
+
};
|
|
1816
|
+
|
|
1817
|
+
export type CreateMeasurementPlayerSessionDto = {
|
|
1818
|
+
bodyMeasurementId: string;
|
|
1819
|
+
jumpMeasurementId: string;
|
|
1820
|
+
};
|
|
1821
|
+
|
|
1445
1822
|
export type TrainingContentListItemDto = {
|
|
1446
1823
|
id: string;
|
|
1447
1824
|
title: string;
|
|
@@ -1850,6 +2227,250 @@ export type GetApiPlayersByIdResponses = {
|
|
|
1850
2227
|
export type GetApiPlayersByIdResponse =
|
|
1851
2228
|
GetApiPlayersByIdResponses[keyof GetApiPlayersByIdResponses];
|
|
1852
2229
|
|
|
2230
|
+
export type GetApiBillingPlansData = {
|
|
2231
|
+
body?: never;
|
|
2232
|
+
path?: never;
|
|
2233
|
+
query?: {
|
|
2234
|
+
surface?: 'web' | 'ios' | 'android';
|
|
2235
|
+
};
|
|
2236
|
+
url: '/api/billing/plans';
|
|
2237
|
+
};
|
|
2238
|
+
|
|
2239
|
+
export type GetApiBillingPlansResponses = {
|
|
2240
|
+
/**
|
|
2241
|
+
* Player billing plans
|
|
2242
|
+
*/
|
|
2243
|
+
200: BillingPlansResponseDto;
|
|
2244
|
+
};
|
|
2245
|
+
|
|
2246
|
+
export type GetApiBillingPlansResponse =
|
|
2247
|
+
GetApiBillingPlansResponses[keyof GetApiBillingPlansResponses];
|
|
2248
|
+
|
|
2249
|
+
export type GetApiBillingProductsData = {
|
|
2250
|
+
body?: never;
|
|
2251
|
+
path?: never;
|
|
2252
|
+
query?: {
|
|
2253
|
+
surface?: 'web' | 'ios' | 'android';
|
|
2254
|
+
};
|
|
2255
|
+
url: '/api/billing/products';
|
|
2256
|
+
};
|
|
2257
|
+
|
|
2258
|
+
export type GetApiBillingProductsResponses = {
|
|
2259
|
+
/**
|
|
2260
|
+
* Player one-time billing products
|
|
2261
|
+
*/
|
|
2262
|
+
200: BillingProductsResponseDto;
|
|
2263
|
+
};
|
|
2264
|
+
|
|
2265
|
+
export type GetApiBillingProductsResponse =
|
|
2266
|
+
GetApiBillingProductsResponses[keyof GetApiBillingProductsResponses];
|
|
2267
|
+
|
|
2268
|
+
export type GetApiBillingMeData = {
|
|
2269
|
+
body?: never;
|
|
2270
|
+
path?: never;
|
|
2271
|
+
query?: never;
|
|
2272
|
+
url: '/api/billing/me';
|
|
2273
|
+
};
|
|
2274
|
+
|
|
2275
|
+
export type GetApiBillingMeResponses = {
|
|
2276
|
+
/**
|
|
2277
|
+
* Current player billing access
|
|
2278
|
+
*/
|
|
2279
|
+
200: BillingEntitlementResponseDto;
|
|
2280
|
+
};
|
|
2281
|
+
|
|
2282
|
+
export type GetApiBillingMeResponse =
|
|
2283
|
+
GetApiBillingMeResponses[keyof GetApiBillingMeResponses];
|
|
2284
|
+
|
|
2285
|
+
export type PostApiBillingAccessCodesRedeemData = {
|
|
2286
|
+
body: RedeemAccessCodeDto;
|
|
2287
|
+
path?: never;
|
|
2288
|
+
query?: never;
|
|
2289
|
+
url: '/api/billing/access-codes/redeem';
|
|
2290
|
+
};
|
|
2291
|
+
|
|
2292
|
+
export type PostApiBillingAccessCodesRedeemResponses = {
|
|
2293
|
+
/**
|
|
2294
|
+
* Redeemed access entitlement
|
|
2295
|
+
*/
|
|
2296
|
+
201: BillingEntitlementResponseDto;
|
|
2297
|
+
};
|
|
2298
|
+
|
|
2299
|
+
export type PostApiBillingAccessCodesRedeemResponse =
|
|
2300
|
+
PostApiBillingAccessCodesRedeemResponses[keyof PostApiBillingAccessCodesRedeemResponses];
|
|
2301
|
+
|
|
2302
|
+
export type GetApiBillingReportPurchasesCurrentData = {
|
|
2303
|
+
body?: never;
|
|
2304
|
+
path?: never;
|
|
2305
|
+
query?: never;
|
|
2306
|
+
url: '/api/billing/report-purchases/current';
|
|
2307
|
+
};
|
|
2308
|
+
|
|
2309
|
+
export type GetApiBillingReportPurchasesCurrentResponses = {
|
|
2310
|
+
/**
|
|
2311
|
+
* Current open AI report purchase credit and prerequisites
|
|
2312
|
+
*/
|
|
2313
|
+
200: ReportPurchaseStatusResponseDto;
|
|
2314
|
+
};
|
|
2315
|
+
|
|
2316
|
+
export type GetApiBillingReportPurchasesCurrentResponse =
|
|
2317
|
+
GetApiBillingReportPurchasesCurrentResponses[keyof GetApiBillingReportPurchasesCurrentResponses];
|
|
2318
|
+
|
|
2319
|
+
export type GetApiBillingReportPurchasesByIdReportData = {
|
|
2320
|
+
body?: never;
|
|
2321
|
+
path: {
|
|
2322
|
+
id: string;
|
|
2323
|
+
};
|
|
2324
|
+
query?: never;
|
|
2325
|
+
url: '/api/billing/report-purchases/{id}/report';
|
|
2326
|
+
};
|
|
2327
|
+
|
|
2328
|
+
export type GetApiBillingReportPurchasesByIdReportResponses = {
|
|
2329
|
+
/**
|
|
2330
|
+
* Fulfilled AI report result
|
|
2331
|
+
*/
|
|
2332
|
+
200: AiReportResultResponseDto;
|
|
2333
|
+
};
|
|
2334
|
+
|
|
2335
|
+
export type GetApiBillingReportPurchasesByIdReportResponse =
|
|
2336
|
+
GetApiBillingReportPurchasesByIdReportResponses[keyof GetApiBillingReportPurchasesByIdReportResponses];
|
|
2337
|
+
|
|
2338
|
+
export type PostApiBillingReportPurchasesByIdStartGenerationData = {
|
|
2339
|
+
body: StartReportGenerationRequestDto;
|
|
2340
|
+
path: {
|
|
2341
|
+
id: string;
|
|
2342
|
+
};
|
|
2343
|
+
query?: never;
|
|
2344
|
+
url: '/api/billing/report-purchases/{id}/start-generation';
|
|
2345
|
+
};
|
|
2346
|
+
|
|
2347
|
+
export type PostApiBillingReportPurchasesByIdStartGenerationResponses = {
|
|
2348
|
+
/**
|
|
2349
|
+
* Report generation started
|
|
2350
|
+
*/
|
|
2351
|
+
201: ReportGenerationStartResponseDto;
|
|
2352
|
+
};
|
|
2353
|
+
|
|
2354
|
+
export type PostApiBillingReportPurchasesByIdStartGenerationResponse =
|
|
2355
|
+
PostApiBillingReportPurchasesByIdStartGenerationResponses[keyof PostApiBillingReportPurchasesByIdStartGenerationResponses];
|
|
2356
|
+
|
|
2357
|
+
export type PostApiBillingReportPurchasesPlayerCandidatesData = {
|
|
2358
|
+
body: ReportPlayerCandidatesRequestDto;
|
|
2359
|
+
path?: never;
|
|
2360
|
+
query?: never;
|
|
2361
|
+
url: '/api/billing/report-purchases/player-candidates';
|
|
2362
|
+
};
|
|
2363
|
+
|
|
2364
|
+
export type PostApiBillingReportPurchasesPlayerCandidatesResponses = {
|
|
2365
|
+
/**
|
|
2366
|
+
* Candidate player selections grouped by report video
|
|
2367
|
+
*/
|
|
2368
|
+
200: ReportPlayerCandidatesResponseDto;
|
|
2369
|
+
};
|
|
2370
|
+
|
|
2371
|
+
export type PostApiBillingReportPurchasesPlayerCandidatesResponse =
|
|
2372
|
+
PostApiBillingReportPurchasesPlayerCandidatesResponses[keyof PostApiBillingReportPurchasesPlayerCandidatesResponses];
|
|
2373
|
+
|
|
2374
|
+
export type PostApiBillingStripeCheckoutSessionData = {
|
|
2375
|
+
body: ProviderCheckoutRequestDto;
|
|
2376
|
+
path?: never;
|
|
2377
|
+
query?: never;
|
|
2378
|
+
url: '/api/billing/stripe/checkout-session';
|
|
2379
|
+
};
|
|
2380
|
+
|
|
2381
|
+
export type PostApiBillingStripeCheckoutSessionResponses = {
|
|
2382
|
+
201: unknown;
|
|
2383
|
+
};
|
|
2384
|
+
|
|
2385
|
+
export type PostApiBillingStripePortalSessionData = {
|
|
2386
|
+
body?: never;
|
|
2387
|
+
path?: never;
|
|
2388
|
+
query?: never;
|
|
2389
|
+
url: '/api/billing/stripe/portal-session';
|
|
2390
|
+
};
|
|
2391
|
+
|
|
2392
|
+
export type PostApiBillingStripePortalSessionResponses = {
|
|
2393
|
+
201: unknown;
|
|
2394
|
+
};
|
|
2395
|
+
|
|
2396
|
+
export type PostApiBillingAppleSyncPurchaseData = {
|
|
2397
|
+
body: StorePurchaseSyncRequestDto;
|
|
2398
|
+
path?: never;
|
|
2399
|
+
query?: never;
|
|
2400
|
+
url: '/api/billing/apple/sync-purchase';
|
|
2401
|
+
};
|
|
2402
|
+
|
|
2403
|
+
export type PostApiBillingAppleSyncPurchaseResponses = {
|
|
2404
|
+
201: unknown;
|
|
2405
|
+
};
|
|
2406
|
+
|
|
2407
|
+
export type PostApiBillingGoogleSyncPurchaseData = {
|
|
2408
|
+
body: StorePurchaseSyncRequestDto;
|
|
2409
|
+
path?: never;
|
|
2410
|
+
query?: never;
|
|
2411
|
+
url: '/api/billing/google/sync-purchase';
|
|
2412
|
+
};
|
|
2413
|
+
|
|
2414
|
+
export type PostApiBillingGoogleSyncPurchaseResponses = {
|
|
2415
|
+
201: unknown;
|
|
2416
|
+
};
|
|
2417
|
+
|
|
2418
|
+
export type GetApiNotificationsPreferencesData = {
|
|
2419
|
+
body?: never;
|
|
2420
|
+
path?: never;
|
|
2421
|
+
query?: never;
|
|
2422
|
+
url: '/api/notifications/preferences';
|
|
2423
|
+
};
|
|
2424
|
+
|
|
2425
|
+
export type GetApiNotificationsPreferencesResponses = {
|
|
2426
|
+
200: NotificationPreferencesDto;
|
|
2427
|
+
};
|
|
2428
|
+
|
|
2429
|
+
export type GetApiNotificationsPreferencesResponse =
|
|
2430
|
+
GetApiNotificationsPreferencesResponses[keyof GetApiNotificationsPreferencesResponses];
|
|
2431
|
+
|
|
2432
|
+
export type PatchApiNotificationsPreferencesData = {
|
|
2433
|
+
body: UpdateNotificationPreferencesDto;
|
|
2434
|
+
path?: never;
|
|
2435
|
+
query?: never;
|
|
2436
|
+
url: '/api/notifications/preferences';
|
|
2437
|
+
};
|
|
2438
|
+
|
|
2439
|
+
export type PatchApiNotificationsPreferencesResponses = {
|
|
2440
|
+
200: NotificationPreferencesDto;
|
|
2441
|
+
};
|
|
2442
|
+
|
|
2443
|
+
export type PatchApiNotificationsPreferencesResponse =
|
|
2444
|
+
PatchApiNotificationsPreferencesResponses[keyof PatchApiNotificationsPreferencesResponses];
|
|
2445
|
+
|
|
2446
|
+
export type PostApiNotificationsDevicesData = {
|
|
2447
|
+
body: RegisterPushDeviceDto;
|
|
2448
|
+
path?: never;
|
|
2449
|
+
query?: never;
|
|
2450
|
+
url: '/api/notifications/devices';
|
|
2451
|
+
};
|
|
2452
|
+
|
|
2453
|
+
export type PostApiNotificationsDevicesResponses = {
|
|
2454
|
+
201: PushDeviceRegistrationResultDto;
|
|
2455
|
+
};
|
|
2456
|
+
|
|
2457
|
+
export type PostApiNotificationsDevicesResponse =
|
|
2458
|
+
PostApiNotificationsDevicesResponses[keyof PostApiNotificationsDevicesResponses];
|
|
2459
|
+
|
|
2460
|
+
export type DeleteApiNotificationsDevicesCurrentData = {
|
|
2461
|
+
body: DeactivatePushDeviceDto;
|
|
2462
|
+
path?: never;
|
|
2463
|
+
query?: never;
|
|
2464
|
+
url: '/api/notifications/devices/current';
|
|
2465
|
+
};
|
|
2466
|
+
|
|
2467
|
+
export type DeleteApiNotificationsDevicesCurrentResponses = {
|
|
2468
|
+
200: OkDto;
|
|
2469
|
+
};
|
|
2470
|
+
|
|
2471
|
+
export type DeleteApiNotificationsDevicesCurrentResponse =
|
|
2472
|
+
DeleteApiNotificationsDevicesCurrentResponses[keyof DeleteApiNotificationsDevicesCurrentResponses];
|
|
2473
|
+
|
|
1853
2474
|
export type GetApiProfileMeData = {
|
|
1854
2475
|
body?: never;
|
|
1855
2476
|
path?: never;
|
|
@@ -1989,6 +2610,34 @@ export type PostApiBodyMeasurementsResponses = {
|
|
|
1989
2610
|
export type PostApiBodyMeasurementsResponse =
|
|
1990
2611
|
PostApiBodyMeasurementsResponses[keyof PostApiBodyMeasurementsResponses];
|
|
1991
2612
|
|
|
2613
|
+
export type GetApiCmjMeasurementsMeData = {
|
|
2614
|
+
body?: never;
|
|
2615
|
+
path?: never;
|
|
2616
|
+
query?: never;
|
|
2617
|
+
url: '/api/cmj/measurements/me';
|
|
2618
|
+
};
|
|
2619
|
+
|
|
2620
|
+
export type GetApiCmjMeasurementsMeErrors = {
|
|
2621
|
+
/**
|
|
2622
|
+
* Unauthorized
|
|
2623
|
+
*/
|
|
2624
|
+
401: unknown;
|
|
2625
|
+
/**
|
|
2626
|
+
* No measurement found
|
|
2627
|
+
*/
|
|
2628
|
+
404: unknown;
|
|
2629
|
+
};
|
|
2630
|
+
|
|
2631
|
+
export type GetApiCmjMeasurementsMeResponses = {
|
|
2632
|
+
/**
|
|
2633
|
+
* Latest CMJ measurement
|
|
2634
|
+
*/
|
|
2635
|
+
200: CmjMeasurementResponseDto;
|
|
2636
|
+
};
|
|
2637
|
+
|
|
2638
|
+
export type GetApiCmjMeasurementsMeResponse =
|
|
2639
|
+
GetApiCmjMeasurementsMeResponses[keyof GetApiCmjMeasurementsMeResponses];
|
|
2640
|
+
|
|
1992
2641
|
export type GetApiChallengesData = {
|
|
1993
2642
|
body?: never;
|
|
1994
2643
|
path?: never;
|
|
@@ -2379,62 +3028,6 @@ export type PatchApiOffersConversationsByIdReadResponses = {
|
|
|
2379
3028
|
200: unknown;
|
|
2380
3029
|
};
|
|
2381
3030
|
|
|
2382
|
-
export type GetApiNotificationsPreferencesData = {
|
|
2383
|
-
body?: never;
|
|
2384
|
-
path?: never;
|
|
2385
|
-
query?: never;
|
|
2386
|
-
url: '/api/notifications/preferences';
|
|
2387
|
-
};
|
|
2388
|
-
|
|
2389
|
-
export type GetApiNotificationsPreferencesResponses = {
|
|
2390
|
-
200: NotificationPreferencesDto;
|
|
2391
|
-
};
|
|
2392
|
-
|
|
2393
|
-
export type GetApiNotificationsPreferencesResponse =
|
|
2394
|
-
GetApiNotificationsPreferencesResponses[keyof GetApiNotificationsPreferencesResponses];
|
|
2395
|
-
|
|
2396
|
-
export type PatchApiNotificationsPreferencesData = {
|
|
2397
|
-
body: UpdateNotificationPreferencesDto;
|
|
2398
|
-
path?: never;
|
|
2399
|
-
query?: never;
|
|
2400
|
-
url: '/api/notifications/preferences';
|
|
2401
|
-
};
|
|
2402
|
-
|
|
2403
|
-
export type PatchApiNotificationsPreferencesResponses = {
|
|
2404
|
-
200: NotificationPreferencesDto;
|
|
2405
|
-
};
|
|
2406
|
-
|
|
2407
|
-
export type PatchApiNotificationsPreferencesResponse =
|
|
2408
|
-
PatchApiNotificationsPreferencesResponses[keyof PatchApiNotificationsPreferencesResponses];
|
|
2409
|
-
|
|
2410
|
-
export type PostApiNotificationsDevicesData = {
|
|
2411
|
-
body: RegisterPushDeviceDto;
|
|
2412
|
-
path?: never;
|
|
2413
|
-
query?: never;
|
|
2414
|
-
url: '/api/notifications/devices';
|
|
2415
|
-
};
|
|
2416
|
-
|
|
2417
|
-
export type PostApiNotificationsDevicesResponses = {
|
|
2418
|
-
201: PushDeviceRegistrationResultDto;
|
|
2419
|
-
};
|
|
2420
|
-
|
|
2421
|
-
export type PostApiNotificationsDevicesResponse =
|
|
2422
|
-
PostApiNotificationsDevicesResponses[keyof PostApiNotificationsDevicesResponses];
|
|
2423
|
-
|
|
2424
|
-
export type DeleteApiNotificationsDevicesCurrentData = {
|
|
2425
|
-
body: DeactivatePushDeviceDto;
|
|
2426
|
-
path?: never;
|
|
2427
|
-
query?: never;
|
|
2428
|
-
url: '/api/notifications/devices/current';
|
|
2429
|
-
};
|
|
2430
|
-
|
|
2431
|
-
export type DeleteApiNotificationsDevicesCurrentResponses = {
|
|
2432
|
-
200: OkDto;
|
|
2433
|
-
};
|
|
2434
|
-
|
|
2435
|
-
export type DeleteApiNotificationsDevicesCurrentResponse =
|
|
2436
|
-
DeleteApiNotificationsDevicesCurrentResponses[keyof DeleteApiNotificationsDevicesCurrentResponses];
|
|
2437
|
-
|
|
2438
3031
|
export type PostApiOrganizationsRegisterClubData = {
|
|
2439
3032
|
body: RegisterClubDto;
|
|
2440
3033
|
path?: never;
|
|
@@ -2803,6 +3396,66 @@ export type GetApiKycStatusByUserIdResponses = {
|
|
|
2803
3396
|
export type GetApiKycStatusByUserIdResponse =
|
|
2804
3397
|
GetApiKycStatusByUserIdResponses[keyof GetApiKycStatusByUserIdResponses];
|
|
2805
3398
|
|
|
3399
|
+
export type GetApiMeasurementsProfileMeData = {
|
|
3400
|
+
body?: never;
|
|
3401
|
+
path?: never;
|
|
3402
|
+
query?: never;
|
|
3403
|
+
url: '/api/measurements/profile/me';
|
|
3404
|
+
};
|
|
3405
|
+
|
|
3406
|
+
export type GetApiMeasurementsProfileMeErrors = {
|
|
3407
|
+
/**
|
|
3408
|
+
* Unauthorized
|
|
3409
|
+
*/
|
|
3410
|
+
401: unknown;
|
|
3411
|
+
};
|
|
3412
|
+
|
|
3413
|
+
export type GetApiMeasurementsProfileMeResponses = {
|
|
3414
|
+
/**
|
|
3415
|
+
* Latest combined measurement profile
|
|
3416
|
+
*/
|
|
3417
|
+
200: MeasurementProfileResponseDto;
|
|
3418
|
+
};
|
|
3419
|
+
|
|
3420
|
+
export type GetApiMeasurementsProfileMeResponse =
|
|
3421
|
+
GetApiMeasurementsProfileMeResponses[keyof GetApiMeasurementsProfileMeResponses];
|
|
3422
|
+
|
|
3423
|
+
export type PostApiMeasurementsPlayerSessionMeData = {
|
|
3424
|
+
body: CreateMeasurementPlayerSessionDto;
|
|
3425
|
+
path?: never;
|
|
3426
|
+
query?: never;
|
|
3427
|
+
url: '/api/measurements/player-session/me';
|
|
3428
|
+
};
|
|
3429
|
+
|
|
3430
|
+
export type PostApiMeasurementsPlayerSessionMeErrors = {
|
|
3431
|
+
/**
|
|
3432
|
+
* Missing measurement ids
|
|
3433
|
+
*/
|
|
3434
|
+
400: unknown;
|
|
3435
|
+
/**
|
|
3436
|
+
* Unauthorized
|
|
3437
|
+
*/
|
|
3438
|
+
401: unknown;
|
|
3439
|
+
/**
|
|
3440
|
+
* Missing body or CMJ measurement
|
|
3441
|
+
*/
|
|
3442
|
+
409: unknown;
|
|
3443
|
+
/**
|
|
3444
|
+
* Interpretation service down
|
|
3445
|
+
*/
|
|
3446
|
+
503: unknown;
|
|
3447
|
+
};
|
|
3448
|
+
|
|
3449
|
+
export type PostApiMeasurementsPlayerSessionMeResponses = {
|
|
3450
|
+
/**
|
|
3451
|
+
* Combined measurement player session
|
|
3452
|
+
*/
|
|
3453
|
+
201: MeasurementSessionDto;
|
|
3454
|
+
};
|
|
3455
|
+
|
|
3456
|
+
export type PostApiMeasurementsPlayerSessionMeResponse =
|
|
3457
|
+
PostApiMeasurementsPlayerSessionMeResponses[keyof PostApiMeasurementsPlayerSessionMeResponses];
|
|
3458
|
+
|
|
2806
3459
|
export type GetApiTrainingGroupedData = {
|
|
2807
3460
|
body?: never;
|
|
2808
3461
|
path?: never;
|