@globalscoutme/api-client 1.1.0 → 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 +636 -72
- package/index.ts +82 -0
- package/package.json +1 -1
- package/sdk.gen.ts +329 -68
- package/types.gen.ts +748 -94
package/dist/types.gen.d.ts
CHANGED
|
@@ -400,6 +400,214 @@ export type PlayerByIdDto = {
|
|
|
400
400
|
*/
|
|
401
401
|
phone?: string | null;
|
|
402
402
|
};
|
|
403
|
+
export type BillingProviderProductDto = {
|
|
404
|
+
provider: string;
|
|
405
|
+
environment: string;
|
|
406
|
+
surface: string;
|
|
407
|
+
providerProductType: string;
|
|
408
|
+
productId?: string | null;
|
|
409
|
+
priceId?: string | null;
|
|
410
|
+
basePlanId?: string | null;
|
|
411
|
+
offerId?: string | null;
|
|
412
|
+
lookupKey?: string | null;
|
|
413
|
+
displayName?: string | null;
|
|
414
|
+
};
|
|
415
|
+
export type BillingPlanDto = {
|
|
416
|
+
id: string;
|
|
417
|
+
code: string;
|
|
418
|
+
name: string;
|
|
419
|
+
billingInterval: string;
|
|
420
|
+
price: number;
|
|
421
|
+
currency: string;
|
|
422
|
+
trialDays?: number | null;
|
|
423
|
+
providerProducts: Array<BillingProviderProductDto>;
|
|
424
|
+
};
|
|
425
|
+
export type BillingPlansResponseDto = {
|
|
426
|
+
plans: Array<BillingPlanDto>;
|
|
427
|
+
};
|
|
428
|
+
export type BillingProductDto = {
|
|
429
|
+
id: string;
|
|
430
|
+
code: string;
|
|
431
|
+
name: string;
|
|
432
|
+
productType: string;
|
|
433
|
+
fulfillmentType: string;
|
|
434
|
+
purchasePolicy: string;
|
|
435
|
+
price: number;
|
|
436
|
+
currency: string;
|
|
437
|
+
providerProducts: Array<BillingProviderProductDto>;
|
|
438
|
+
};
|
|
439
|
+
export type BillingProductsResponseDto = {
|
|
440
|
+
products: Array<BillingProductDto>;
|
|
441
|
+
};
|
|
442
|
+
export type BillingManageActionDto = {
|
|
443
|
+
type: {
|
|
444
|
+
[key: string]: unknown;
|
|
445
|
+
};
|
|
446
|
+
url?: string | null;
|
|
447
|
+
};
|
|
448
|
+
export type BillingEntitlementResponseDto = {
|
|
449
|
+
hasAccess: boolean;
|
|
450
|
+
status: string;
|
|
451
|
+
provider?: string | null;
|
|
452
|
+
plan?: BillingPlanDto | null;
|
|
453
|
+
currentPeriodEnd?: string | null;
|
|
454
|
+
gracePeriodUntil?: string | null;
|
|
455
|
+
blockingReason?: string | null;
|
|
456
|
+
manageAction: BillingManageActionDto;
|
|
457
|
+
};
|
|
458
|
+
export type RedeemAccessCodeDto = {
|
|
459
|
+
code: string;
|
|
460
|
+
};
|
|
461
|
+
export type ReportPurchaseDto = {
|
|
462
|
+
id: string;
|
|
463
|
+
paymentStatus: string;
|
|
464
|
+
fulfillmentStatus: string;
|
|
465
|
+
failureReason?: string | null;
|
|
466
|
+
reportReferenceId?: string | null;
|
|
467
|
+
generationStartedAt?: string | null;
|
|
468
|
+
generationFailedAt?: string | null;
|
|
469
|
+
fulfilledAt?: string | null;
|
|
470
|
+
createdAt?: string | null;
|
|
471
|
+
updatedAt?: string | null;
|
|
472
|
+
};
|
|
473
|
+
export type ReportPrerequisiteDto = {
|
|
474
|
+
code: string;
|
|
475
|
+
label: string;
|
|
476
|
+
satisfied: boolean;
|
|
477
|
+
blocking: boolean;
|
|
478
|
+
};
|
|
479
|
+
export type ReportPurchaseStatusResponseDto = {
|
|
480
|
+
purchase?: ReportPurchaseDto | null;
|
|
481
|
+
prerequisites: Array<ReportPrerequisiteDto>;
|
|
482
|
+
};
|
|
483
|
+
export type AiReportViewDto = {
|
|
484
|
+
technicalPillar: string;
|
|
485
|
+
physicalPillar: string;
|
|
486
|
+
tacticalPillar: string;
|
|
487
|
+
mentalPillar: string;
|
|
488
|
+
};
|
|
489
|
+
export type AiReportClipTargetDto = {
|
|
490
|
+
timestampS: number;
|
|
491
|
+
tapXPct: number;
|
|
492
|
+
tapYPct: number;
|
|
493
|
+
};
|
|
494
|
+
export type AiReportClipDto = {
|
|
495
|
+
clipIndex: number;
|
|
496
|
+
storagePath?: string | null;
|
|
497
|
+
target: AiReportClipTargetDto;
|
|
498
|
+
};
|
|
499
|
+
export type AiReportMetaDto = {
|
|
500
|
+
schemaVersion?: string | null;
|
|
501
|
+
promptVersion?: string | null;
|
|
502
|
+
llmProvider?: string | null;
|
|
503
|
+
llmModel?: string | null;
|
|
504
|
+
processingTimeMs?: number | null;
|
|
505
|
+
clips: Array<AiReportClipDto>;
|
|
506
|
+
};
|
|
507
|
+
export type AiReportResultResponseDto = {
|
|
508
|
+
purchaseId: string;
|
|
509
|
+
reportReferenceId: string;
|
|
510
|
+
status: string;
|
|
511
|
+
generatedAt?: string | null;
|
|
512
|
+
playerView: AiReportViewDto;
|
|
513
|
+
scouterView: AiReportViewDto;
|
|
514
|
+
meta: AiReportMetaDto;
|
|
515
|
+
};
|
|
516
|
+
export type ReportPlayerCandidateTargetDto = {
|
|
517
|
+
timestampS: number;
|
|
518
|
+
tapXPct: number;
|
|
519
|
+
tapYPct: number;
|
|
520
|
+
};
|
|
521
|
+
export type StartReportGenerationClipDto = {
|
|
522
|
+
videoId: string;
|
|
523
|
+
target: ReportPlayerCandidateTargetDto;
|
|
524
|
+
};
|
|
525
|
+
export type StartReportGenerationRequestDto = {
|
|
526
|
+
clips: Array<StartReportGenerationClipDto>;
|
|
527
|
+
};
|
|
528
|
+
export type ReportGenerationStartResponseDto = {
|
|
529
|
+
purchaseId: string;
|
|
530
|
+
fulfillmentStatus: string;
|
|
531
|
+
prerequisites: Array<ReportPrerequisiteDto>;
|
|
532
|
+
};
|
|
533
|
+
export type ReportPlayerCandidatesRequestDto = {
|
|
534
|
+
videoIds?: Array<string>;
|
|
535
|
+
jerseyNumberHint?: string;
|
|
536
|
+
};
|
|
537
|
+
export type ReportPlayerCandidateBboxDto = {
|
|
538
|
+
xPct: number;
|
|
539
|
+
yPct: number;
|
|
540
|
+
widthPct: number;
|
|
541
|
+
heightPct: number;
|
|
542
|
+
};
|
|
543
|
+
export type ReportPlayerCandidateDto = {
|
|
544
|
+
candidateId: string;
|
|
545
|
+
rank: number;
|
|
546
|
+
confidence: number;
|
|
547
|
+
target: ReportPlayerCandidateTargetDto;
|
|
548
|
+
bbox: ReportPlayerCandidateBboxDto;
|
|
549
|
+
frameWidthPx?: number | null;
|
|
550
|
+
frameHeightPx?: number | null;
|
|
551
|
+
framePreviewDataUrl?: string | null;
|
|
552
|
+
playerCropDataUrl?: string | null;
|
|
553
|
+
label: string;
|
|
554
|
+
reasonCodes: Array<string>;
|
|
555
|
+
};
|
|
556
|
+
export type ReportVideoCandidatesDto = {
|
|
557
|
+
videoId: string;
|
|
558
|
+
title: string;
|
|
559
|
+
thumbnailUrl?: string | null;
|
|
560
|
+
fallbackRequired: boolean;
|
|
561
|
+
fallbackReason: string;
|
|
562
|
+
candidates: Array<ReportPlayerCandidateDto>;
|
|
563
|
+
};
|
|
564
|
+
export type ReportPlayerCandidatesResponseDto = {
|
|
565
|
+
videos: Array<ReportVideoCandidatesDto>;
|
|
566
|
+
};
|
|
567
|
+
export type ProviderCheckoutRequestDto = {
|
|
568
|
+
productCode?: string;
|
|
569
|
+
returnUrl?: string;
|
|
570
|
+
};
|
|
571
|
+
export type StorePurchaseSyncRequestDto = {
|
|
572
|
+
productId: string;
|
|
573
|
+
basePlanId?: string;
|
|
574
|
+
offerId?: string;
|
|
575
|
+
transactionId?: string;
|
|
576
|
+
purchaseToken?: string;
|
|
577
|
+
signedTransactionInfo?: string;
|
|
578
|
+
packageName?: string;
|
|
579
|
+
};
|
|
580
|
+
export type NotificationPreferencesDto = {
|
|
581
|
+
pushEnabled: boolean;
|
|
582
|
+
offersEnabled: boolean;
|
|
583
|
+
messagesEnabled: boolean;
|
|
584
|
+
};
|
|
585
|
+
export type UpdateNotificationPreferencesDto = {
|
|
586
|
+
pushEnabled?: boolean;
|
|
587
|
+
offersEnabled?: boolean;
|
|
588
|
+
messagesEnabled?: boolean;
|
|
589
|
+
};
|
|
590
|
+
export type RegisterPushDeviceDto = {
|
|
591
|
+
fcmToken: string;
|
|
592
|
+
platform: 'ios' | 'android';
|
|
593
|
+
installId: string;
|
|
594
|
+
appVersion?: string;
|
|
595
|
+
buildNumber?: string;
|
|
596
|
+
locale?: string;
|
|
597
|
+
timezone?: string;
|
|
598
|
+
};
|
|
599
|
+
export type PushDeviceRegistrationResultDto = {
|
|
600
|
+
pushEnabled: boolean;
|
|
601
|
+
offersEnabled: boolean;
|
|
602
|
+
messagesEnabled: boolean;
|
|
603
|
+
id: string;
|
|
604
|
+
};
|
|
605
|
+
export type DeactivatePushDeviceDto = {
|
|
606
|
+
fcmToken: string;
|
|
607
|
+
};
|
|
608
|
+
export type OkDto = {
|
|
609
|
+
ok: boolean;
|
|
610
|
+
};
|
|
403
611
|
export type PreviousClubDto = {
|
|
404
612
|
/**
|
|
405
613
|
* Club name
|
|
@@ -715,14 +923,43 @@ export type UserAchievementResponseDto = {
|
|
|
715
923
|
export type BodyMeasurementResponseDto = {
|
|
716
924
|
id: string;
|
|
717
925
|
userId: string;
|
|
926
|
+
measurementDate?: string | null;
|
|
927
|
+
imageUrl?: string | null;
|
|
718
928
|
imagePath?: string | null;
|
|
719
|
-
processingStatus?: string | null;
|
|
720
929
|
selfReportedHeightCm?: number | null;
|
|
721
930
|
wingspanToSkeletonRatio?: number | null;
|
|
722
931
|
legToTorsoRatio?: number | null;
|
|
723
932
|
femurToTibiaRatio?: number | null;
|
|
724
933
|
shoulderToHipRatio?: number | null;
|
|
725
934
|
qualityStatus?: string | null;
|
|
935
|
+
analysisReliability?: string | null;
|
|
936
|
+
metricStatus?: {
|
|
937
|
+
[key: string]: unknown;
|
|
938
|
+
};
|
|
939
|
+
poseLandmarksContext?: {
|
|
940
|
+
[key: string]: unknown;
|
|
941
|
+
};
|
|
942
|
+
heightCm?: number | null;
|
|
943
|
+
shoulderWidthCm?: number | null;
|
|
944
|
+
hipWidthCm?: number | null;
|
|
945
|
+
reachSpanCm?: number | null;
|
|
946
|
+
apeIndex?: number | null;
|
|
947
|
+
shoulderToHip?: number | null;
|
|
948
|
+
legToTorso?: number | null;
|
|
949
|
+
headCircumferenceCm?: number | null;
|
|
950
|
+
neckCircumferenceCm?: number | null;
|
|
951
|
+
chestCircumferenceCm?: number | null;
|
|
952
|
+
waistCircumferenceCm?: number | null;
|
|
953
|
+
hipCircumferenceCm?: number | null;
|
|
954
|
+
footLengthCm?: number | null;
|
|
955
|
+
footWidthCm?: number | null;
|
|
956
|
+
warnings?: Array<string>;
|
|
957
|
+
isUsable?: boolean;
|
|
958
|
+
needsRetake?: boolean;
|
|
959
|
+
source?: {
|
|
960
|
+
[key: string]: unknown;
|
|
961
|
+
};
|
|
962
|
+
processingStatus?: string | null;
|
|
726
963
|
createdAt?: string | null;
|
|
727
964
|
};
|
|
728
965
|
export type CreateBodyMeasurementDto = {
|
|
@@ -730,10 +967,57 @@ export type CreateBodyMeasurementDto = {
|
|
|
730
967
|
* Storage path of the body image
|
|
731
968
|
*/
|
|
732
969
|
imagePath?: string;
|
|
970
|
+
/**
|
|
971
|
+
* Image URL or path
|
|
972
|
+
*/
|
|
973
|
+
imageUrl?: string;
|
|
733
974
|
/**
|
|
734
975
|
* Self-reported height in centimetres
|
|
735
976
|
*/
|
|
736
977
|
selfReportedHeightCm?: number;
|
|
978
|
+
/**
|
|
979
|
+
* Head circumference in centimetres
|
|
980
|
+
*/
|
|
981
|
+
headCircumferenceCm?: number;
|
|
982
|
+
/**
|
|
983
|
+
* Neck circumference in centimetres
|
|
984
|
+
*/
|
|
985
|
+
neckCircumferenceCm?: number;
|
|
986
|
+
/**
|
|
987
|
+
* Chest circumference in centimetres
|
|
988
|
+
*/
|
|
989
|
+
chestCircumferenceCm?: number;
|
|
990
|
+
/**
|
|
991
|
+
* Waist circumference in centimetres
|
|
992
|
+
*/
|
|
993
|
+
waistCircumferenceCm?: number;
|
|
994
|
+
/**
|
|
995
|
+
* Hip circumference in centimetres
|
|
996
|
+
*/
|
|
997
|
+
hipCircumferenceCm?: number;
|
|
998
|
+
/**
|
|
999
|
+
* Foot length in centimetres
|
|
1000
|
+
*/
|
|
1001
|
+
footLengthCm?: number;
|
|
1002
|
+
/**
|
|
1003
|
+
* Foot width in centimetres
|
|
1004
|
+
*/
|
|
1005
|
+
footWidthCm?: number;
|
|
1006
|
+
};
|
|
1007
|
+
export type CmjMeasurementResponseDto = {
|
|
1008
|
+
id: string;
|
|
1009
|
+
userId: string;
|
|
1010
|
+
measurementDate?: string | null;
|
|
1011
|
+
verticalJumpCm?: number | null;
|
|
1012
|
+
jumpHeightCmBest?: number | null;
|
|
1013
|
+
qualityTier?: string | null;
|
|
1014
|
+
retakeReason?: string | null;
|
|
1015
|
+
captureReliability?: string | null;
|
|
1016
|
+
confidenceLabel?: string | null;
|
|
1017
|
+
isUsable?: boolean;
|
|
1018
|
+
needsRetake?: boolean;
|
|
1019
|
+
source?: string;
|
|
1020
|
+
createdAt?: string | null;
|
|
737
1021
|
};
|
|
738
1022
|
export type ChallengeCatalogDto = {
|
|
739
1023
|
id: string;
|
|
@@ -995,37 +1279,6 @@ export type SendMessageDto = {
|
|
|
995
1279
|
*/
|
|
996
1280
|
body: string;
|
|
997
1281
|
};
|
|
998
|
-
export type NotificationPreferencesDto = {
|
|
999
|
-
pushEnabled: boolean;
|
|
1000
|
-
offersEnabled: boolean;
|
|
1001
|
-
messagesEnabled: boolean;
|
|
1002
|
-
};
|
|
1003
|
-
export type UpdateNotificationPreferencesDto = {
|
|
1004
|
-
pushEnabled?: boolean;
|
|
1005
|
-
offersEnabled?: boolean;
|
|
1006
|
-
messagesEnabled?: boolean;
|
|
1007
|
-
};
|
|
1008
|
-
export type RegisterPushDeviceDto = {
|
|
1009
|
-
fcmToken: string;
|
|
1010
|
-
platform: 'ios' | 'android';
|
|
1011
|
-
installId: string;
|
|
1012
|
-
appVersion?: string;
|
|
1013
|
-
buildNumber?: string;
|
|
1014
|
-
locale?: string;
|
|
1015
|
-
timezone?: string;
|
|
1016
|
-
};
|
|
1017
|
-
export type PushDeviceRegistrationResultDto = {
|
|
1018
|
-
pushEnabled: boolean;
|
|
1019
|
-
offersEnabled: boolean;
|
|
1020
|
-
messagesEnabled: boolean;
|
|
1021
|
-
id: string;
|
|
1022
|
-
};
|
|
1023
|
-
export type DeactivatePushDeviceDto = {
|
|
1024
|
-
fcmToken: string;
|
|
1025
|
-
};
|
|
1026
|
-
export type OkDto = {
|
|
1027
|
-
ok: boolean;
|
|
1028
|
-
};
|
|
1029
1282
|
export type RegisterClubDto = {
|
|
1030
1283
|
/**
|
|
1031
1284
|
* Club name
|
|
@@ -1349,6 +1602,95 @@ export type CancelKycRequestDto = {
|
|
|
1349
1602
|
*/
|
|
1350
1603
|
jobId: string;
|
|
1351
1604
|
};
|
|
1605
|
+
export type BodyMeasurementProfileDto = {
|
|
1606
|
+
id: string;
|
|
1607
|
+
createdAt?: string | null;
|
|
1608
|
+
selfReportedHeightCm?: number | null;
|
|
1609
|
+
wingspanToSkeletonRatio?: number | null;
|
|
1610
|
+
legToTorsoRatio?: number | null;
|
|
1611
|
+
femurToTibiaRatio?: number | null;
|
|
1612
|
+
shoulderToHipRatio?: number | null;
|
|
1613
|
+
headCircumferenceCm?: number | null;
|
|
1614
|
+
neckCircumferenceCm?: number | null;
|
|
1615
|
+
chestCircumferenceCm?: number | null;
|
|
1616
|
+
waistCircumferenceCm?: number | null;
|
|
1617
|
+
hipCircumferenceCm?: number | null;
|
|
1618
|
+
footLengthCm?: number | null;
|
|
1619
|
+
footWidthCm?: number | null;
|
|
1620
|
+
qualityStatus?: string | null;
|
|
1621
|
+
metricStatus?: {
|
|
1622
|
+
[key: string]: unknown;
|
|
1623
|
+
};
|
|
1624
|
+
poseLandmarksContext?: {
|
|
1625
|
+
[key: string]: unknown;
|
|
1626
|
+
};
|
|
1627
|
+
isUsable: boolean;
|
|
1628
|
+
};
|
|
1629
|
+
export type CmjMeasurementProfileDto = {
|
|
1630
|
+
id: string;
|
|
1631
|
+
createdAt?: string | null;
|
|
1632
|
+
verticalJumpCm?: number | null;
|
|
1633
|
+
qualityTier?: string | null;
|
|
1634
|
+
retakeReason?: string | null;
|
|
1635
|
+
isUsable: boolean;
|
|
1636
|
+
};
|
|
1637
|
+
export type MeasurementSessionMetricsDto = {
|
|
1638
|
+
selfReportedHeightCm?: number | null;
|
|
1639
|
+
verticalJumpCm?: number | null;
|
|
1640
|
+
wingspanToSkeletonRatio?: number | null;
|
|
1641
|
+
legToTorsoRatio?: number | null;
|
|
1642
|
+
femurToTibiaRatio?: number | null;
|
|
1643
|
+
shoulderToHipRatio?: number | null;
|
|
1644
|
+
};
|
|
1645
|
+
export type MeasurementTagEvaluationDto = {
|
|
1646
|
+
key?: string;
|
|
1647
|
+
status?: string;
|
|
1648
|
+
label?: string;
|
|
1649
|
+
};
|
|
1650
|
+
export type MeasurementSessionDto = {
|
|
1651
|
+
id: string;
|
|
1652
|
+
bodyMeasurementId: string;
|
|
1653
|
+
jumpMeasurementId: string;
|
|
1654
|
+
contractVersion?: string | null;
|
|
1655
|
+
schemaVersion?: string | null;
|
|
1656
|
+
rulesetId?: string | null;
|
|
1657
|
+
rulesetVersion?: string | null;
|
|
1658
|
+
metrics: MeasurementSessionMetricsDto;
|
|
1659
|
+
declaredPositions?: {
|
|
1660
|
+
[key: string]: unknown;
|
|
1661
|
+
};
|
|
1662
|
+
biomechanicalAlignment?: {
|
|
1663
|
+
[key: string]: unknown;
|
|
1664
|
+
};
|
|
1665
|
+
biomechanicalAlignmentCopyKeys?: Array<string>;
|
|
1666
|
+
checkedTagKeys?: Array<string>;
|
|
1667
|
+
tagEvaluations?: Array<MeasurementTagEvaluationDto>;
|
|
1668
|
+
qualitySummary?: {
|
|
1669
|
+
[key: string]: unknown;
|
|
1670
|
+
};
|
|
1671
|
+
playerDisplay?: {
|
|
1672
|
+
[key: string]: unknown;
|
|
1673
|
+
};
|
|
1674
|
+
scoutDisplay?: {
|
|
1675
|
+
[key: string]: unknown;
|
|
1676
|
+
};
|
|
1677
|
+
metricDefinitions?: {
|
|
1678
|
+
[key: string]: unknown;
|
|
1679
|
+
};
|
|
1680
|
+
createdAt?: string | null;
|
|
1681
|
+
updatedAt?: string | null;
|
|
1682
|
+
};
|
|
1683
|
+
export type MeasurementProfileResponseDto = {
|
|
1684
|
+
status: 'missing' | 'partial' | 'ready' | 'needs_update';
|
|
1685
|
+
body?: BodyMeasurementProfileDto | null;
|
|
1686
|
+
cmj?: CmjMeasurementProfileDto | null;
|
|
1687
|
+
session?: MeasurementSessionDto | null;
|
|
1688
|
+
updatedAt?: string | null;
|
|
1689
|
+
};
|
|
1690
|
+
export type CreateMeasurementPlayerSessionDto = {
|
|
1691
|
+
bodyMeasurementId: string;
|
|
1692
|
+
jumpMeasurementId: string;
|
|
1693
|
+
};
|
|
1352
1694
|
export type TrainingContentListItemDto = {
|
|
1353
1695
|
id: string;
|
|
1354
1696
|
title: string;
|
|
@@ -1513,6 +1855,7 @@ export type SubscriptionPlanDto = {
|
|
|
1513
1855
|
[key: string]: unknown;
|
|
1514
1856
|
};
|
|
1515
1857
|
displayOrder?: number | null;
|
|
1858
|
+
providerProductId?: string | null;
|
|
1516
1859
|
};
|
|
1517
1860
|
export type PlansListDto = {
|
|
1518
1861
|
plans: Array<SubscriptionPlanDto>;
|
|
@@ -1699,6 +2042,194 @@ export type GetApiPlayersByIdResponses = {
|
|
|
1699
2042
|
200: PlayerByIdDto;
|
|
1700
2043
|
};
|
|
1701
2044
|
export type GetApiPlayersByIdResponse = GetApiPlayersByIdResponses[keyof GetApiPlayersByIdResponses];
|
|
2045
|
+
export type GetApiBillingPlansData = {
|
|
2046
|
+
body?: never;
|
|
2047
|
+
path?: never;
|
|
2048
|
+
query?: {
|
|
2049
|
+
surface?: 'web' | 'ios' | 'android';
|
|
2050
|
+
};
|
|
2051
|
+
url: '/api/billing/plans';
|
|
2052
|
+
};
|
|
2053
|
+
export type GetApiBillingPlansResponses = {
|
|
2054
|
+
/**
|
|
2055
|
+
* Player billing plans
|
|
2056
|
+
*/
|
|
2057
|
+
200: BillingPlansResponseDto;
|
|
2058
|
+
};
|
|
2059
|
+
export type GetApiBillingPlansResponse = GetApiBillingPlansResponses[keyof GetApiBillingPlansResponses];
|
|
2060
|
+
export type GetApiBillingProductsData = {
|
|
2061
|
+
body?: never;
|
|
2062
|
+
path?: never;
|
|
2063
|
+
query?: {
|
|
2064
|
+
surface?: 'web' | 'ios' | 'android';
|
|
2065
|
+
};
|
|
2066
|
+
url: '/api/billing/products';
|
|
2067
|
+
};
|
|
2068
|
+
export type GetApiBillingProductsResponses = {
|
|
2069
|
+
/**
|
|
2070
|
+
* Player one-time billing products
|
|
2071
|
+
*/
|
|
2072
|
+
200: BillingProductsResponseDto;
|
|
2073
|
+
};
|
|
2074
|
+
export type GetApiBillingProductsResponse = GetApiBillingProductsResponses[keyof GetApiBillingProductsResponses];
|
|
2075
|
+
export type GetApiBillingMeData = {
|
|
2076
|
+
body?: never;
|
|
2077
|
+
path?: never;
|
|
2078
|
+
query?: never;
|
|
2079
|
+
url: '/api/billing/me';
|
|
2080
|
+
};
|
|
2081
|
+
export type GetApiBillingMeResponses = {
|
|
2082
|
+
/**
|
|
2083
|
+
* Current player billing access
|
|
2084
|
+
*/
|
|
2085
|
+
200: BillingEntitlementResponseDto;
|
|
2086
|
+
};
|
|
2087
|
+
export type GetApiBillingMeResponse = GetApiBillingMeResponses[keyof GetApiBillingMeResponses];
|
|
2088
|
+
export type PostApiBillingAccessCodesRedeemData = {
|
|
2089
|
+
body: RedeemAccessCodeDto;
|
|
2090
|
+
path?: never;
|
|
2091
|
+
query?: never;
|
|
2092
|
+
url: '/api/billing/access-codes/redeem';
|
|
2093
|
+
};
|
|
2094
|
+
export type PostApiBillingAccessCodesRedeemResponses = {
|
|
2095
|
+
/**
|
|
2096
|
+
* Redeemed access entitlement
|
|
2097
|
+
*/
|
|
2098
|
+
201: BillingEntitlementResponseDto;
|
|
2099
|
+
};
|
|
2100
|
+
export type PostApiBillingAccessCodesRedeemResponse = PostApiBillingAccessCodesRedeemResponses[keyof PostApiBillingAccessCodesRedeemResponses];
|
|
2101
|
+
export type GetApiBillingReportPurchasesCurrentData = {
|
|
2102
|
+
body?: never;
|
|
2103
|
+
path?: never;
|
|
2104
|
+
query?: never;
|
|
2105
|
+
url: '/api/billing/report-purchases/current';
|
|
2106
|
+
};
|
|
2107
|
+
export type GetApiBillingReportPurchasesCurrentResponses = {
|
|
2108
|
+
/**
|
|
2109
|
+
* Current open AI report purchase credit and prerequisites
|
|
2110
|
+
*/
|
|
2111
|
+
200: ReportPurchaseStatusResponseDto;
|
|
2112
|
+
};
|
|
2113
|
+
export type GetApiBillingReportPurchasesCurrentResponse = GetApiBillingReportPurchasesCurrentResponses[keyof GetApiBillingReportPurchasesCurrentResponses];
|
|
2114
|
+
export type GetApiBillingReportPurchasesByIdReportData = {
|
|
2115
|
+
body?: never;
|
|
2116
|
+
path: {
|
|
2117
|
+
id: string;
|
|
2118
|
+
};
|
|
2119
|
+
query?: never;
|
|
2120
|
+
url: '/api/billing/report-purchases/{id}/report';
|
|
2121
|
+
};
|
|
2122
|
+
export type GetApiBillingReportPurchasesByIdReportResponses = {
|
|
2123
|
+
/**
|
|
2124
|
+
* Fulfilled AI report result
|
|
2125
|
+
*/
|
|
2126
|
+
200: AiReportResultResponseDto;
|
|
2127
|
+
};
|
|
2128
|
+
export type GetApiBillingReportPurchasesByIdReportResponse = GetApiBillingReportPurchasesByIdReportResponses[keyof GetApiBillingReportPurchasesByIdReportResponses];
|
|
2129
|
+
export type PostApiBillingReportPurchasesByIdStartGenerationData = {
|
|
2130
|
+
body: StartReportGenerationRequestDto;
|
|
2131
|
+
path: {
|
|
2132
|
+
id: string;
|
|
2133
|
+
};
|
|
2134
|
+
query?: never;
|
|
2135
|
+
url: '/api/billing/report-purchases/{id}/start-generation';
|
|
2136
|
+
};
|
|
2137
|
+
export type PostApiBillingReportPurchasesByIdStartGenerationResponses = {
|
|
2138
|
+
/**
|
|
2139
|
+
* Report generation started
|
|
2140
|
+
*/
|
|
2141
|
+
201: ReportGenerationStartResponseDto;
|
|
2142
|
+
};
|
|
2143
|
+
export type PostApiBillingReportPurchasesByIdStartGenerationResponse = PostApiBillingReportPurchasesByIdStartGenerationResponses[keyof PostApiBillingReportPurchasesByIdStartGenerationResponses];
|
|
2144
|
+
export type PostApiBillingReportPurchasesPlayerCandidatesData = {
|
|
2145
|
+
body: ReportPlayerCandidatesRequestDto;
|
|
2146
|
+
path?: never;
|
|
2147
|
+
query?: never;
|
|
2148
|
+
url: '/api/billing/report-purchases/player-candidates';
|
|
2149
|
+
};
|
|
2150
|
+
export type PostApiBillingReportPurchasesPlayerCandidatesResponses = {
|
|
2151
|
+
/**
|
|
2152
|
+
* Candidate player selections grouped by report video
|
|
2153
|
+
*/
|
|
2154
|
+
200: ReportPlayerCandidatesResponseDto;
|
|
2155
|
+
};
|
|
2156
|
+
export type PostApiBillingReportPurchasesPlayerCandidatesResponse = PostApiBillingReportPurchasesPlayerCandidatesResponses[keyof PostApiBillingReportPurchasesPlayerCandidatesResponses];
|
|
2157
|
+
export type PostApiBillingStripeCheckoutSessionData = {
|
|
2158
|
+
body: ProviderCheckoutRequestDto;
|
|
2159
|
+
path?: never;
|
|
2160
|
+
query?: never;
|
|
2161
|
+
url: '/api/billing/stripe/checkout-session';
|
|
2162
|
+
};
|
|
2163
|
+
export type PostApiBillingStripeCheckoutSessionResponses = {
|
|
2164
|
+
201: unknown;
|
|
2165
|
+
};
|
|
2166
|
+
export type PostApiBillingStripePortalSessionData = {
|
|
2167
|
+
body?: never;
|
|
2168
|
+
path?: never;
|
|
2169
|
+
query?: never;
|
|
2170
|
+
url: '/api/billing/stripe/portal-session';
|
|
2171
|
+
};
|
|
2172
|
+
export type PostApiBillingStripePortalSessionResponses = {
|
|
2173
|
+
201: unknown;
|
|
2174
|
+
};
|
|
2175
|
+
export type PostApiBillingAppleSyncPurchaseData = {
|
|
2176
|
+
body: StorePurchaseSyncRequestDto;
|
|
2177
|
+
path?: never;
|
|
2178
|
+
query?: never;
|
|
2179
|
+
url: '/api/billing/apple/sync-purchase';
|
|
2180
|
+
};
|
|
2181
|
+
export type PostApiBillingAppleSyncPurchaseResponses = {
|
|
2182
|
+
201: unknown;
|
|
2183
|
+
};
|
|
2184
|
+
export type PostApiBillingGoogleSyncPurchaseData = {
|
|
2185
|
+
body: StorePurchaseSyncRequestDto;
|
|
2186
|
+
path?: never;
|
|
2187
|
+
query?: never;
|
|
2188
|
+
url: '/api/billing/google/sync-purchase';
|
|
2189
|
+
};
|
|
2190
|
+
export type PostApiBillingGoogleSyncPurchaseResponses = {
|
|
2191
|
+
201: unknown;
|
|
2192
|
+
};
|
|
2193
|
+
export type GetApiNotificationsPreferencesData = {
|
|
2194
|
+
body?: never;
|
|
2195
|
+
path?: never;
|
|
2196
|
+
query?: never;
|
|
2197
|
+
url: '/api/notifications/preferences';
|
|
2198
|
+
};
|
|
2199
|
+
export type GetApiNotificationsPreferencesResponses = {
|
|
2200
|
+
200: NotificationPreferencesDto;
|
|
2201
|
+
};
|
|
2202
|
+
export type GetApiNotificationsPreferencesResponse = GetApiNotificationsPreferencesResponses[keyof GetApiNotificationsPreferencesResponses];
|
|
2203
|
+
export type PatchApiNotificationsPreferencesData = {
|
|
2204
|
+
body: UpdateNotificationPreferencesDto;
|
|
2205
|
+
path?: never;
|
|
2206
|
+
query?: never;
|
|
2207
|
+
url: '/api/notifications/preferences';
|
|
2208
|
+
};
|
|
2209
|
+
export type PatchApiNotificationsPreferencesResponses = {
|
|
2210
|
+
200: NotificationPreferencesDto;
|
|
2211
|
+
};
|
|
2212
|
+
export type PatchApiNotificationsPreferencesResponse = PatchApiNotificationsPreferencesResponses[keyof PatchApiNotificationsPreferencesResponses];
|
|
2213
|
+
export type PostApiNotificationsDevicesData = {
|
|
2214
|
+
body: RegisterPushDeviceDto;
|
|
2215
|
+
path?: never;
|
|
2216
|
+
query?: never;
|
|
2217
|
+
url: '/api/notifications/devices';
|
|
2218
|
+
};
|
|
2219
|
+
export type PostApiNotificationsDevicesResponses = {
|
|
2220
|
+
201: PushDeviceRegistrationResultDto;
|
|
2221
|
+
};
|
|
2222
|
+
export type PostApiNotificationsDevicesResponse = PostApiNotificationsDevicesResponses[keyof PostApiNotificationsDevicesResponses];
|
|
2223
|
+
export type DeleteApiNotificationsDevicesCurrentData = {
|
|
2224
|
+
body: DeactivatePushDeviceDto;
|
|
2225
|
+
path?: never;
|
|
2226
|
+
query?: never;
|
|
2227
|
+
url: '/api/notifications/devices/current';
|
|
2228
|
+
};
|
|
2229
|
+
export type DeleteApiNotificationsDevicesCurrentResponses = {
|
|
2230
|
+
200: OkDto;
|
|
2231
|
+
};
|
|
2232
|
+
export type DeleteApiNotificationsDevicesCurrentResponse = DeleteApiNotificationsDevicesCurrentResponses[keyof DeleteApiNotificationsDevicesCurrentResponses];
|
|
1702
2233
|
export type GetApiProfileMeData = {
|
|
1703
2234
|
body?: never;
|
|
1704
2235
|
path?: never;
|
|
@@ -1809,6 +2340,29 @@ export type PostApiBodyMeasurementsResponses = {
|
|
|
1809
2340
|
201: BodyMeasurementResponseDto;
|
|
1810
2341
|
};
|
|
1811
2342
|
export type PostApiBodyMeasurementsResponse = PostApiBodyMeasurementsResponses[keyof PostApiBodyMeasurementsResponses];
|
|
2343
|
+
export type GetApiCmjMeasurementsMeData = {
|
|
2344
|
+
body?: never;
|
|
2345
|
+
path?: never;
|
|
2346
|
+
query?: never;
|
|
2347
|
+
url: '/api/cmj/measurements/me';
|
|
2348
|
+
};
|
|
2349
|
+
export type GetApiCmjMeasurementsMeErrors = {
|
|
2350
|
+
/**
|
|
2351
|
+
* Unauthorized
|
|
2352
|
+
*/
|
|
2353
|
+
401: unknown;
|
|
2354
|
+
/**
|
|
2355
|
+
* No measurement found
|
|
2356
|
+
*/
|
|
2357
|
+
404: unknown;
|
|
2358
|
+
};
|
|
2359
|
+
export type GetApiCmjMeasurementsMeResponses = {
|
|
2360
|
+
/**
|
|
2361
|
+
* Latest CMJ measurement
|
|
2362
|
+
*/
|
|
2363
|
+
200: CmjMeasurementResponseDto;
|
|
2364
|
+
};
|
|
2365
|
+
export type GetApiCmjMeasurementsMeResponse = GetApiCmjMeasurementsMeResponses[keyof GetApiCmjMeasurementsMeResponses];
|
|
1812
2366
|
export type GetApiChallengesData = {
|
|
1813
2367
|
body?: never;
|
|
1814
2368
|
path?: never;
|
|
@@ -2126,46 +2680,6 @@ export type PatchApiOffersConversationsByIdReadErrors = {
|
|
|
2126
2680
|
export type PatchApiOffersConversationsByIdReadResponses = {
|
|
2127
2681
|
200: unknown;
|
|
2128
2682
|
};
|
|
2129
|
-
export type GetApiNotificationsPreferencesData = {
|
|
2130
|
-
body?: never;
|
|
2131
|
-
path?: never;
|
|
2132
|
-
query?: never;
|
|
2133
|
-
url: '/api/notifications/preferences';
|
|
2134
|
-
};
|
|
2135
|
-
export type GetApiNotificationsPreferencesResponses = {
|
|
2136
|
-
200: NotificationPreferencesDto;
|
|
2137
|
-
};
|
|
2138
|
-
export type GetApiNotificationsPreferencesResponse = GetApiNotificationsPreferencesResponses[keyof GetApiNotificationsPreferencesResponses];
|
|
2139
|
-
export type PatchApiNotificationsPreferencesData = {
|
|
2140
|
-
body: UpdateNotificationPreferencesDto;
|
|
2141
|
-
path?: never;
|
|
2142
|
-
query?: never;
|
|
2143
|
-
url: '/api/notifications/preferences';
|
|
2144
|
-
};
|
|
2145
|
-
export type PatchApiNotificationsPreferencesResponses = {
|
|
2146
|
-
200: NotificationPreferencesDto;
|
|
2147
|
-
};
|
|
2148
|
-
export type PatchApiNotificationsPreferencesResponse = PatchApiNotificationsPreferencesResponses[keyof PatchApiNotificationsPreferencesResponses];
|
|
2149
|
-
export type PostApiNotificationsDevicesData = {
|
|
2150
|
-
body: RegisterPushDeviceDto;
|
|
2151
|
-
path?: never;
|
|
2152
|
-
query?: never;
|
|
2153
|
-
url: '/api/notifications/devices';
|
|
2154
|
-
};
|
|
2155
|
-
export type PostApiNotificationsDevicesResponses = {
|
|
2156
|
-
201: PushDeviceRegistrationResultDto;
|
|
2157
|
-
};
|
|
2158
|
-
export type PostApiNotificationsDevicesResponse = PostApiNotificationsDevicesResponses[keyof PostApiNotificationsDevicesResponses];
|
|
2159
|
-
export type DeleteApiNotificationsDevicesCurrentData = {
|
|
2160
|
-
body: DeactivatePushDeviceDto;
|
|
2161
|
-
path?: never;
|
|
2162
|
-
query?: never;
|
|
2163
|
-
url: '/api/notifications/devices/current';
|
|
2164
|
-
};
|
|
2165
|
-
export type DeleteApiNotificationsDevicesCurrentResponses = {
|
|
2166
|
-
200: OkDto;
|
|
2167
|
-
};
|
|
2168
|
-
export type DeleteApiNotificationsDevicesCurrentResponse = DeleteApiNotificationsDevicesCurrentResponses[keyof DeleteApiNotificationsDevicesCurrentResponses];
|
|
2169
2683
|
export type PostApiOrganizationsRegisterClubData = {
|
|
2170
2684
|
body: RegisterClubDto;
|
|
2171
2685
|
path?: never;
|
|
@@ -2463,6 +2977,56 @@ export type GetApiKycStatusByUserIdResponses = {
|
|
|
2463
2977
|
200: KycStatusDto;
|
|
2464
2978
|
};
|
|
2465
2979
|
export type GetApiKycStatusByUserIdResponse = GetApiKycStatusByUserIdResponses[keyof GetApiKycStatusByUserIdResponses];
|
|
2980
|
+
export type GetApiMeasurementsProfileMeData = {
|
|
2981
|
+
body?: never;
|
|
2982
|
+
path?: never;
|
|
2983
|
+
query?: never;
|
|
2984
|
+
url: '/api/measurements/profile/me';
|
|
2985
|
+
};
|
|
2986
|
+
export type GetApiMeasurementsProfileMeErrors = {
|
|
2987
|
+
/**
|
|
2988
|
+
* Unauthorized
|
|
2989
|
+
*/
|
|
2990
|
+
401: unknown;
|
|
2991
|
+
};
|
|
2992
|
+
export type GetApiMeasurementsProfileMeResponses = {
|
|
2993
|
+
/**
|
|
2994
|
+
* Latest combined measurement profile
|
|
2995
|
+
*/
|
|
2996
|
+
200: MeasurementProfileResponseDto;
|
|
2997
|
+
};
|
|
2998
|
+
export type GetApiMeasurementsProfileMeResponse = GetApiMeasurementsProfileMeResponses[keyof GetApiMeasurementsProfileMeResponses];
|
|
2999
|
+
export type PostApiMeasurementsPlayerSessionMeData = {
|
|
3000
|
+
body: CreateMeasurementPlayerSessionDto;
|
|
3001
|
+
path?: never;
|
|
3002
|
+
query?: never;
|
|
3003
|
+
url: '/api/measurements/player-session/me';
|
|
3004
|
+
};
|
|
3005
|
+
export type PostApiMeasurementsPlayerSessionMeErrors = {
|
|
3006
|
+
/**
|
|
3007
|
+
* Missing measurement ids
|
|
3008
|
+
*/
|
|
3009
|
+
400: unknown;
|
|
3010
|
+
/**
|
|
3011
|
+
* Unauthorized
|
|
3012
|
+
*/
|
|
3013
|
+
401: unknown;
|
|
3014
|
+
/**
|
|
3015
|
+
* Missing body or CMJ measurement
|
|
3016
|
+
*/
|
|
3017
|
+
409: unknown;
|
|
3018
|
+
/**
|
|
3019
|
+
* Interpretation service down
|
|
3020
|
+
*/
|
|
3021
|
+
503: unknown;
|
|
3022
|
+
};
|
|
3023
|
+
export type PostApiMeasurementsPlayerSessionMeResponses = {
|
|
3024
|
+
/**
|
|
3025
|
+
* Combined measurement player session
|
|
3026
|
+
*/
|
|
3027
|
+
201: MeasurementSessionDto;
|
|
3028
|
+
};
|
|
3029
|
+
export type PostApiMeasurementsPlayerSessionMeResponse = PostApiMeasurementsPlayerSessionMeResponses[keyof PostApiMeasurementsPlayerSessionMeResponses];
|
|
2466
3030
|
export type GetApiTrainingGroupedData = {
|
|
2467
3031
|
body?: never;
|
|
2468
3032
|
path?: never;
|