@vertikalx/vtx-backend-client 1.0.0-dev-daniel.161 → 1.0.0-dev-daniel.162
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/package.json +1 -1
- package/src/api/api-call-headers.d.ts +3 -3
- package/src/api/api-call-headers.js +3 -3
- package/src/api/api-call-headers.js.map +1 -1
- package/src/api/response-builder.js +8 -9
- package/src/api/response-builder.js.map +1 -1
- package/src/api/vtx-base-api.d.ts +7 -1
- package/src/api/vtx-base-api.js +320 -24
- package/src/api/vtx-base-api.js.map +1 -1
- package/src/api/vtx-web-browser-api.js +2 -2
- package/src/api/vtx-web-browser-api.js.map +1 -1
- package/src/client/schema.d.ts +370 -16
- package/src/client/schema.graphql +191 -8
- package/src/client/schema.js +64 -1
- package/src/client/schema.js.map +1 -1
- package/src/client/types.d.ts +205 -8
- package/src/client/types.js +598 -79
- package/src/client/types.js.map +1 -1
- package/tsconfig.lib.tsbuildinfo +1 -1
package/src/client/schema.d.ts
CHANGED
|
@@ -571,19 +571,37 @@ export interface SportsEvent {
|
|
|
571
571
|
}
|
|
572
572
|
export interface AthleteCompetitionResult {
|
|
573
573
|
_id: Scalars['String'];
|
|
574
|
-
|
|
574
|
+
resultType: Scalars['String'];
|
|
575
575
|
position: (Scalars['Float'] | null);
|
|
576
576
|
score: (Scalars['String'] | null);
|
|
577
|
-
|
|
577
|
+
finishTimeMS: (Scalars['Float'] | null);
|
|
578
578
|
resultWebLink: (Scalars['String'] | null);
|
|
579
579
|
__typename: 'AthleteCompetitionResult';
|
|
580
580
|
}
|
|
581
|
+
export interface BudgetItem {
|
|
582
|
+
_id: Scalars['String'];
|
|
583
|
+
quantity: Scalars['Float'];
|
|
584
|
+
concept: Scalars['String'];
|
|
585
|
+
itemCost: Scalars['Float'];
|
|
586
|
+
itemTotal: Scalars['Float'];
|
|
587
|
+
__typename: 'BudgetItem';
|
|
588
|
+
}
|
|
589
|
+
export interface Budget {
|
|
590
|
+
_id: Scalars['String'];
|
|
591
|
+
totalRequired: Scalars['Float'];
|
|
592
|
+
initialFunds: Scalars['Float'];
|
|
593
|
+
totalRaised: Scalars['Float'];
|
|
594
|
+
items: (BudgetItem[] | null);
|
|
595
|
+
__typename: 'Budget';
|
|
596
|
+
}
|
|
581
597
|
export interface AthleteCompetition {
|
|
582
598
|
_id: Scalars['String'];
|
|
583
599
|
event: SportsEvent;
|
|
584
|
-
|
|
585
|
-
|
|
600
|
+
participationDate: (Scalars['DateTime'] | null);
|
|
601
|
+
competitionNumber: (Scalars['String'] | null);
|
|
586
602
|
result: (AthleteCompetitionResult | null);
|
|
603
|
+
fundRaisingCampaignId: (Scalars['String'] | null);
|
|
604
|
+
budget: (Budget | null);
|
|
587
605
|
__typename: 'AthleteCompetition';
|
|
588
606
|
}
|
|
589
607
|
export interface WorldLocation {
|
|
@@ -599,6 +617,65 @@ export interface WorldLocation {
|
|
|
599
617
|
city: (City | null);
|
|
600
618
|
__typename: 'WorldLocation';
|
|
601
619
|
}
|
|
620
|
+
export interface MembershipOrganizationReference {
|
|
621
|
+
_id: Scalars['String'];
|
|
622
|
+
shortName: (Scalars['String'] | null);
|
|
623
|
+
acronym: (Scalars['String'] | null);
|
|
624
|
+
fullName: Scalars['String'];
|
|
625
|
+
website: (Scalars['String'] | null);
|
|
626
|
+
verified: Scalars['Boolean'];
|
|
627
|
+
logo: (AWSS3File | null);
|
|
628
|
+
country: (Country | null);
|
|
629
|
+
sport: (Sport | null);
|
|
630
|
+
__typename: 'MembershipOrganizationReference';
|
|
631
|
+
}
|
|
632
|
+
export interface MembershipOrganization {
|
|
633
|
+
_id: Scalars['String'];
|
|
634
|
+
shortName: (Scalars['String'] | null);
|
|
635
|
+
acronym: (Scalars['String'] | null);
|
|
636
|
+
fullName: Scalars['String'];
|
|
637
|
+
website: (Scalars['String'] | null);
|
|
638
|
+
verified: Scalars['Boolean'];
|
|
639
|
+
logo: (AWSS3File | null);
|
|
640
|
+
country: (Country | null);
|
|
641
|
+
sport: (Sport | null);
|
|
642
|
+
memberships: (AthleteMembership[] | null);
|
|
643
|
+
__typename: 'MembershipOrganization';
|
|
644
|
+
}
|
|
645
|
+
export interface AthleteMembership {
|
|
646
|
+
_id: Scalars['String'];
|
|
647
|
+
organization: MembershipOrganizationReference;
|
|
648
|
+
athlete: AthleteReference;
|
|
649
|
+
membershipNumber: (Scalars['String'] | null);
|
|
650
|
+
membershipType: (Scalars['String'] | null);
|
|
651
|
+
issueDate: (Scalars['DateTime'] | null);
|
|
652
|
+
expirationDate: (Scalars['DateTime'] | null);
|
|
653
|
+
__typename: 'AthleteMembership';
|
|
654
|
+
}
|
|
655
|
+
export interface AthleteReference {
|
|
656
|
+
_id: Scalars['String'];
|
|
657
|
+
firstName: Scalars['String'];
|
|
658
|
+
lastName: Scalars['String'];
|
|
659
|
+
screenName: (Scalars['String'] | null);
|
|
660
|
+
dob: (Scalars['DateTime'] | null);
|
|
661
|
+
lgbt: (Scalars['Boolean'] | null);
|
|
662
|
+
competitionGender: (Scalars['String'] | null);
|
|
663
|
+
country: (Country | null);
|
|
664
|
+
location: (WorldLocation | null);
|
|
665
|
+
trainer: (Scalars['String'] | null);
|
|
666
|
+
trainerUrl: (Scalars['String'] | null);
|
|
667
|
+
followStats: (FollowStats | null);
|
|
668
|
+
mainSport: Sport;
|
|
669
|
+
mainSportLevel: SportLevel;
|
|
670
|
+
scores: VtxScores;
|
|
671
|
+
rankings: (AthleteRankings | null);
|
|
672
|
+
totalUpcomingCompetitions: (Scalars['Float'] | null);
|
|
673
|
+
totalPastCompetitions: (Scalars['Float'] | null);
|
|
674
|
+
profilePicture: (AWSS3File | null);
|
|
675
|
+
cardPicture: (AWSS3File | null);
|
|
676
|
+
aboutMe: (Scalars['String'] | null);
|
|
677
|
+
__typename: 'AthleteReference';
|
|
678
|
+
}
|
|
602
679
|
export interface Athlete {
|
|
603
680
|
_id: Scalars['String'];
|
|
604
681
|
firstName: Scalars['String'];
|
|
@@ -616,14 +693,16 @@ export interface Athlete {
|
|
|
616
693
|
mainSportLevel: SportLevel;
|
|
617
694
|
scores: VtxScores;
|
|
618
695
|
rankings: (AthleteRankings | null);
|
|
619
|
-
allSports: (Sport[] | null);
|
|
620
|
-
teams: (Team[] | null);
|
|
621
|
-
sponsorBrands: (Brand[] | null);
|
|
622
|
-
competitions: (AthleteCompetition[] | null);
|
|
623
696
|
totalUpcomingCompetitions: (Scalars['Float'] | null);
|
|
624
697
|
totalPastCompetitions: (Scalars['Float'] | null);
|
|
625
698
|
profilePicture: (AWSS3File | null);
|
|
626
699
|
cardPicture: (AWSS3File | null);
|
|
700
|
+
aboutMe: (Scalars['String'] | null);
|
|
701
|
+
allSports: (Sport[] | null);
|
|
702
|
+
teams: (Team[] | null);
|
|
703
|
+
sponsorBrands: (Brand[] | null);
|
|
704
|
+
competitions: (AthleteCompetition[] | null);
|
|
705
|
+
affiliations: (AthleteMembership[] | null);
|
|
627
706
|
__typename: 'Athlete';
|
|
628
707
|
}
|
|
629
708
|
export interface SponsorAthleteInvitation {
|
|
@@ -637,12 +716,41 @@ export interface SponsorAthleteInvitation {
|
|
|
637
716
|
status: Scalars['String'];
|
|
638
717
|
__typename: 'SponsorAthleteInvitation';
|
|
639
718
|
}
|
|
719
|
+
export interface StravaToken {
|
|
720
|
+
token_type: Scalars['String'];
|
|
721
|
+
expires_at: Scalars['String'];
|
|
722
|
+
refresh_token: Scalars['String'];
|
|
723
|
+
access_token: Scalars['String'];
|
|
724
|
+
__typename: 'StravaToken';
|
|
725
|
+
}
|
|
726
|
+
export interface EditValueResponse {
|
|
727
|
+
field: Scalars['String'];
|
|
728
|
+
oldValue: (Scalars['String'] | null);
|
|
729
|
+
newValue: (Scalars['String'] | null);
|
|
730
|
+
changed: Scalars['Boolean'];
|
|
731
|
+
__typename: 'EditValueResponse';
|
|
732
|
+
}
|
|
640
733
|
export interface UserImages {
|
|
641
734
|
profilePictureUrl: (Scalars['String'] | null);
|
|
642
735
|
cardPictureUrl: (Scalars['String'] | null);
|
|
643
736
|
bannerPictureUrl: (Scalars['String'] | null);
|
|
644
737
|
__typename: 'UserImages';
|
|
645
738
|
}
|
|
739
|
+
export interface FundRaisingCampaign {
|
|
740
|
+
_id: Scalars['String'];
|
|
741
|
+
title: Scalars['String'];
|
|
742
|
+
motivation: (Scalars['String'] | null);
|
|
743
|
+
website: (Scalars['String'] | null);
|
|
744
|
+
fundsRequired: Scalars['Float'];
|
|
745
|
+
initialFundsObtained: Scalars['Float'];
|
|
746
|
+
fundsObtained: Scalars['Float'];
|
|
747
|
+
location: (WorldLocation | null);
|
|
748
|
+
endingDate: Scalars['DateTime'];
|
|
749
|
+
status: Scalars['String'];
|
|
750
|
+
budget: (Budget | null);
|
|
751
|
+
competitions: (AthleteCompetition[] | null);
|
|
752
|
+
__typename: 'FundRaisingCampaign';
|
|
753
|
+
}
|
|
646
754
|
export interface Query {
|
|
647
755
|
findTenantById: Tenant;
|
|
648
756
|
findTenantByEmail: Tenant;
|
|
@@ -666,6 +774,7 @@ export interface Query {
|
|
|
666
774
|
findAthleteForUser: Athlete;
|
|
667
775
|
getRecommendedAthletes: Athlete[];
|
|
668
776
|
getSponsorAthletesForTenant: Athlete[];
|
|
777
|
+
getAthleteCompetitions: AthleteCompetition[];
|
|
669
778
|
getSports: Sport[];
|
|
670
779
|
findSportById: Sport;
|
|
671
780
|
getSportLevels: SportLevel[];
|
|
@@ -679,6 +788,8 @@ export interface Query {
|
|
|
679
788
|
findVtxUser: User;
|
|
680
789
|
validateUserCredentialsVtx: User;
|
|
681
790
|
getUserImagesFromEmail: UserImages;
|
|
791
|
+
getStravaLoginUrl: Scalars['String'];
|
|
792
|
+
getSportsEvents: SportsEvent[];
|
|
682
793
|
__typename: 'Query';
|
|
683
794
|
}
|
|
684
795
|
export interface Mutation {
|
|
@@ -698,6 +809,8 @@ export interface Mutation {
|
|
|
698
809
|
createSponsor: Sponsor;
|
|
699
810
|
sendAthleteInvitations: SponsorAthleteInvitation[];
|
|
700
811
|
registerAthlete: Athlete;
|
|
812
|
+
editProfileValue: EditValueResponse;
|
|
813
|
+
addAthleteCompetition: AthleteCompetition;
|
|
701
814
|
createSport: Sport;
|
|
702
815
|
updateSport: Sport;
|
|
703
816
|
createSportLevel: SportLevel;
|
|
@@ -711,6 +824,9 @@ export interface Mutation {
|
|
|
711
824
|
registerAthleteUser: User;
|
|
712
825
|
registerSponsorUser: User;
|
|
713
826
|
loginUserFromCredentialsVtx: UserWithToken;
|
|
827
|
+
handleStravaCallback: StravaToken;
|
|
828
|
+
refreshStravaToken: StravaToken;
|
|
829
|
+
createSportsEvent: SportsEvent;
|
|
714
830
|
__typename: 'Mutation';
|
|
715
831
|
}
|
|
716
832
|
export interface UserGenqlSelection {
|
|
@@ -1352,20 +1468,40 @@ export interface SportsEventGenqlSelection {
|
|
|
1352
1468
|
}
|
|
1353
1469
|
export interface AthleteCompetitionResultGenqlSelection {
|
|
1354
1470
|
_id?: boolean | number;
|
|
1355
|
-
|
|
1471
|
+
resultType?: boolean | number;
|
|
1356
1472
|
position?: boolean | number;
|
|
1357
1473
|
score?: boolean | number;
|
|
1358
|
-
|
|
1474
|
+
finishTimeMS?: boolean | number;
|
|
1359
1475
|
resultWebLink?: boolean | number;
|
|
1360
1476
|
__typename?: boolean | number;
|
|
1361
1477
|
__scalar?: boolean | number;
|
|
1362
1478
|
}
|
|
1479
|
+
export interface BudgetItemGenqlSelection {
|
|
1480
|
+
_id?: boolean | number;
|
|
1481
|
+
quantity?: boolean | number;
|
|
1482
|
+
concept?: boolean | number;
|
|
1483
|
+
itemCost?: boolean | number;
|
|
1484
|
+
itemTotal?: boolean | number;
|
|
1485
|
+
__typename?: boolean | number;
|
|
1486
|
+
__scalar?: boolean | number;
|
|
1487
|
+
}
|
|
1488
|
+
export interface BudgetGenqlSelection {
|
|
1489
|
+
_id?: boolean | number;
|
|
1490
|
+
totalRequired?: boolean | number;
|
|
1491
|
+
initialFunds?: boolean | number;
|
|
1492
|
+
totalRaised?: boolean | number;
|
|
1493
|
+
items?: BudgetItemGenqlSelection;
|
|
1494
|
+
__typename?: boolean | number;
|
|
1495
|
+
__scalar?: boolean | number;
|
|
1496
|
+
}
|
|
1363
1497
|
export interface AthleteCompetitionGenqlSelection {
|
|
1364
1498
|
_id?: boolean | number;
|
|
1365
1499
|
event?: SportsEventGenqlSelection;
|
|
1366
|
-
|
|
1367
|
-
|
|
1500
|
+
participationDate?: boolean | number;
|
|
1501
|
+
competitionNumber?: boolean | number;
|
|
1368
1502
|
result?: AthleteCompetitionResultGenqlSelection;
|
|
1503
|
+
fundRaisingCampaignId?: boolean | number;
|
|
1504
|
+
budget?: BudgetGenqlSelection;
|
|
1369
1505
|
__typename?: boolean | number;
|
|
1370
1506
|
__scalar?: boolean | number;
|
|
1371
1507
|
}
|
|
@@ -1383,6 +1519,69 @@ export interface WorldLocationGenqlSelection {
|
|
|
1383
1519
|
__typename?: boolean | number;
|
|
1384
1520
|
__scalar?: boolean | number;
|
|
1385
1521
|
}
|
|
1522
|
+
export interface MembershipOrganizationReferenceGenqlSelection {
|
|
1523
|
+
_id?: boolean | number;
|
|
1524
|
+
shortName?: boolean | number;
|
|
1525
|
+
acronym?: boolean | number;
|
|
1526
|
+
fullName?: boolean | number;
|
|
1527
|
+
website?: boolean | number;
|
|
1528
|
+
verified?: boolean | number;
|
|
1529
|
+
logo?: AWSS3FileGenqlSelection;
|
|
1530
|
+
country?: CountryGenqlSelection;
|
|
1531
|
+
sport?: SportGenqlSelection;
|
|
1532
|
+
__typename?: boolean | number;
|
|
1533
|
+
__scalar?: boolean | number;
|
|
1534
|
+
}
|
|
1535
|
+
export interface MembershipOrganizationGenqlSelection {
|
|
1536
|
+
_id?: boolean | number;
|
|
1537
|
+
shortName?: boolean | number;
|
|
1538
|
+
acronym?: boolean | number;
|
|
1539
|
+
fullName?: boolean | number;
|
|
1540
|
+
website?: boolean | number;
|
|
1541
|
+
verified?: boolean | number;
|
|
1542
|
+
logo?: AWSS3FileGenqlSelection;
|
|
1543
|
+
country?: CountryGenqlSelection;
|
|
1544
|
+
sport?: SportGenqlSelection;
|
|
1545
|
+
memberships?: AthleteMembershipGenqlSelection;
|
|
1546
|
+
__typename?: boolean | number;
|
|
1547
|
+
__scalar?: boolean | number;
|
|
1548
|
+
}
|
|
1549
|
+
export interface AthleteMembershipGenqlSelection {
|
|
1550
|
+
_id?: boolean | number;
|
|
1551
|
+
organization?: MembershipOrganizationReferenceGenqlSelection;
|
|
1552
|
+
athlete?: AthleteReferenceGenqlSelection;
|
|
1553
|
+
membershipNumber?: boolean | number;
|
|
1554
|
+
membershipType?: boolean | number;
|
|
1555
|
+
issueDate?: boolean | number;
|
|
1556
|
+
expirationDate?: boolean | number;
|
|
1557
|
+
__typename?: boolean | number;
|
|
1558
|
+
__scalar?: boolean | number;
|
|
1559
|
+
}
|
|
1560
|
+
export interface AthleteReferenceGenqlSelection {
|
|
1561
|
+
_id?: boolean | number;
|
|
1562
|
+
firstName?: boolean | number;
|
|
1563
|
+
lastName?: boolean | number;
|
|
1564
|
+
screenName?: boolean | number;
|
|
1565
|
+
dob?: boolean | number;
|
|
1566
|
+
lgbt?: boolean | number;
|
|
1567
|
+
competitionGender?: boolean | number;
|
|
1568
|
+
country?: CountryGenqlSelection;
|
|
1569
|
+
location?: WorldLocationGenqlSelection;
|
|
1570
|
+
trainer?: boolean | number;
|
|
1571
|
+
trainerUrl?: boolean | number;
|
|
1572
|
+
followStats?: FollowStatsGenqlSelection;
|
|
1573
|
+
mainSport?: SportGenqlSelection;
|
|
1574
|
+
mainSportLevel?: SportLevelGenqlSelection;
|
|
1575
|
+
scores?: VtxScoresGenqlSelection;
|
|
1576
|
+
rankings?: AthleteRankingsGenqlSelection;
|
|
1577
|
+
totalUpcomingCompetitions?: boolean | number;
|
|
1578
|
+
totalPastCompetitions?: boolean | number;
|
|
1579
|
+
profilePicture?: AWSS3FileGenqlSelection;
|
|
1580
|
+
cardPicture?: AWSS3FileGenqlSelection;
|
|
1581
|
+
aboutMe?: boolean | number;
|
|
1582
|
+
__typename?: boolean | number;
|
|
1583
|
+
__scalar?: boolean | number;
|
|
1584
|
+
}
|
|
1386
1585
|
export interface AthleteGenqlSelection {
|
|
1387
1586
|
_id?: boolean | number;
|
|
1388
1587
|
firstName?: boolean | number;
|
|
@@ -1400,14 +1599,16 @@ export interface AthleteGenqlSelection {
|
|
|
1400
1599
|
mainSportLevel?: SportLevelGenqlSelection;
|
|
1401
1600
|
scores?: VtxScoresGenqlSelection;
|
|
1402
1601
|
rankings?: AthleteRankingsGenqlSelection;
|
|
1403
|
-
allSports?: SportGenqlSelection;
|
|
1404
|
-
teams?: TeamGenqlSelection;
|
|
1405
|
-
sponsorBrands?: BrandGenqlSelection;
|
|
1406
|
-
competitions?: AthleteCompetitionGenqlSelection;
|
|
1407
1602
|
totalUpcomingCompetitions?: boolean | number;
|
|
1408
1603
|
totalPastCompetitions?: boolean | number;
|
|
1409
1604
|
profilePicture?: AWSS3FileGenqlSelection;
|
|
1410
1605
|
cardPicture?: AWSS3FileGenqlSelection;
|
|
1606
|
+
aboutMe?: boolean | number;
|
|
1607
|
+
allSports?: SportGenqlSelection;
|
|
1608
|
+
teams?: TeamGenqlSelection;
|
|
1609
|
+
sponsorBrands?: BrandGenqlSelection;
|
|
1610
|
+
competitions?: AthleteCompetitionGenqlSelection;
|
|
1611
|
+
affiliations?: AthleteMembershipGenqlSelection;
|
|
1411
1612
|
__typename?: boolean | number;
|
|
1412
1613
|
__scalar?: boolean | number;
|
|
1413
1614
|
}
|
|
@@ -1423,6 +1624,22 @@ export interface SponsorAthleteInvitationGenqlSelection {
|
|
|
1423
1624
|
__typename?: boolean | number;
|
|
1424
1625
|
__scalar?: boolean | number;
|
|
1425
1626
|
}
|
|
1627
|
+
export interface StravaTokenGenqlSelection {
|
|
1628
|
+
token_type?: boolean | number;
|
|
1629
|
+
expires_at?: boolean | number;
|
|
1630
|
+
refresh_token?: boolean | number;
|
|
1631
|
+
access_token?: boolean | number;
|
|
1632
|
+
__typename?: boolean | number;
|
|
1633
|
+
__scalar?: boolean | number;
|
|
1634
|
+
}
|
|
1635
|
+
export interface EditValueResponseGenqlSelection {
|
|
1636
|
+
field?: boolean | number;
|
|
1637
|
+
oldValue?: boolean | number;
|
|
1638
|
+
newValue?: boolean | number;
|
|
1639
|
+
changed?: boolean | number;
|
|
1640
|
+
__typename?: boolean | number;
|
|
1641
|
+
__scalar?: boolean | number;
|
|
1642
|
+
}
|
|
1426
1643
|
export interface UserImagesGenqlSelection {
|
|
1427
1644
|
profilePictureUrl?: boolean | number;
|
|
1428
1645
|
cardPictureUrl?: boolean | number;
|
|
@@ -1430,6 +1647,22 @@ export interface UserImagesGenqlSelection {
|
|
|
1430
1647
|
__typename?: boolean | number;
|
|
1431
1648
|
__scalar?: boolean | number;
|
|
1432
1649
|
}
|
|
1650
|
+
export interface FundRaisingCampaignGenqlSelection {
|
|
1651
|
+
_id?: boolean | number;
|
|
1652
|
+
title?: boolean | number;
|
|
1653
|
+
motivation?: boolean | number;
|
|
1654
|
+
website?: boolean | number;
|
|
1655
|
+
fundsRequired?: boolean | number;
|
|
1656
|
+
initialFundsObtained?: boolean | number;
|
|
1657
|
+
fundsObtained?: boolean | number;
|
|
1658
|
+
location?: WorldLocationGenqlSelection;
|
|
1659
|
+
endingDate?: boolean | number;
|
|
1660
|
+
status?: boolean | number;
|
|
1661
|
+
budget?: BudgetGenqlSelection;
|
|
1662
|
+
competitions?: AthleteCompetitionGenqlSelection;
|
|
1663
|
+
__typename?: boolean | number;
|
|
1664
|
+
__scalar?: boolean | number;
|
|
1665
|
+
}
|
|
1433
1666
|
export interface CreateVerificationCodeDto {
|
|
1434
1667
|
type?: (Scalars['String'] | null);
|
|
1435
1668
|
recipient?: (Scalars['String'] | null);
|
|
@@ -1452,6 +1685,38 @@ export interface InviteAthletesDto {
|
|
|
1452
1685
|
language?: (Scalars['String'] | null);
|
|
1453
1686
|
invitations: AthleteInvitationDto[];
|
|
1454
1687
|
}
|
|
1688
|
+
export interface CompetitionResultDto {
|
|
1689
|
+
resultType: Scalars['String'];
|
|
1690
|
+
position?: (Scalars['Float'] | null);
|
|
1691
|
+
score?: (Scalars['String'] | null);
|
|
1692
|
+
finishTimeMS?: (Scalars['Float'] | null);
|
|
1693
|
+
resultWebLink?: (Scalars['String'] | null);
|
|
1694
|
+
}
|
|
1695
|
+
export interface SetCompetitionResultDto {
|
|
1696
|
+
resultType: Scalars['String'];
|
|
1697
|
+
position?: (Scalars['Float'] | null);
|
|
1698
|
+
score?: (Scalars['String'] | null);
|
|
1699
|
+
finishTimeMS?: (Scalars['Float'] | null);
|
|
1700
|
+
resultWebLink?: (Scalars['String'] | null);
|
|
1701
|
+
competitionId: Scalars['String'];
|
|
1702
|
+
}
|
|
1703
|
+
export interface CreateAthleteCompetitionDto {
|
|
1704
|
+
event: Scalars['String'];
|
|
1705
|
+
date: Scalars['DateTime'];
|
|
1706
|
+
eventWebsite?: (Scalars['String'] | null);
|
|
1707
|
+
competitionNumber?: (Scalars['String'] | null);
|
|
1708
|
+
result?: (CompetitionResultDto | null);
|
|
1709
|
+
cityId?: (Scalars['String'] | null);
|
|
1710
|
+
}
|
|
1711
|
+
export interface CreateAthleteCompetitionForDto {
|
|
1712
|
+
event: Scalars['String'];
|
|
1713
|
+
date: Scalars['DateTime'];
|
|
1714
|
+
eventWebsite?: (Scalars['String'] | null);
|
|
1715
|
+
competitionNumber?: (Scalars['String'] | null);
|
|
1716
|
+
result?: (CompetitionResultDto | null);
|
|
1717
|
+
cityId?: (Scalars['String'] | null);
|
|
1718
|
+
loginEmail: Scalars['String'];
|
|
1719
|
+
}
|
|
1455
1720
|
export interface QualificationDto {
|
|
1456
1721
|
type: Scalars['String'];
|
|
1457
1722
|
}
|
|
@@ -1596,6 +1861,11 @@ export interface QueryGenqlSelection {
|
|
|
1596
1861
|
};
|
|
1597
1862
|
});
|
|
1598
1863
|
getSponsorAthletesForTenant?: AthleteGenqlSelection;
|
|
1864
|
+
getAthleteCompetitions?: (AthleteCompetitionGenqlSelection & {
|
|
1865
|
+
__args: {
|
|
1866
|
+
input: GetAthleteCompetitionsDto;
|
|
1867
|
+
};
|
|
1868
|
+
});
|
|
1599
1869
|
getSports?: SportGenqlSelection;
|
|
1600
1870
|
findSportById?: (SportGenqlSelection & {
|
|
1601
1871
|
__args: {
|
|
@@ -1642,6 +1912,12 @@ export interface QueryGenqlSelection {
|
|
|
1642
1912
|
loginEmail: Scalars['String'];
|
|
1643
1913
|
};
|
|
1644
1914
|
});
|
|
1915
|
+
getStravaLoginUrl?: boolean | number;
|
|
1916
|
+
getSportsEvents?: (SportsEventGenqlSelection & {
|
|
1917
|
+
__args: {
|
|
1918
|
+
input: GetSportEventsDto;
|
|
1919
|
+
};
|
|
1920
|
+
});
|
|
1645
1921
|
__typename?: boolean | number;
|
|
1646
1922
|
__scalar?: boolean | number;
|
|
1647
1923
|
}
|
|
@@ -1653,9 +1929,17 @@ export interface FindSponsorAthleteInvitationDto {
|
|
|
1653
1929
|
code: Scalars['String'];
|
|
1654
1930
|
type?: (Scalars['String'] | null);
|
|
1655
1931
|
}
|
|
1932
|
+
export interface GetAthleteCompetitionsDto {
|
|
1933
|
+
athleteId: Scalars['String'];
|
|
1934
|
+
fromInclusive?: (Scalars['DateTime'] | null);
|
|
1935
|
+
toExclusive?: (Scalars['DateTime'] | null);
|
|
1936
|
+
}
|
|
1656
1937
|
export interface FindVtxUserDto {
|
|
1657
1938
|
loginEmail: Scalars['String'];
|
|
1658
1939
|
}
|
|
1940
|
+
export interface GetSportEventsDto {
|
|
1941
|
+
matchString?: (Scalars['String'] | null);
|
|
1942
|
+
}
|
|
1659
1943
|
export interface MutationGenqlSelection {
|
|
1660
1944
|
registerNewDomainTenant?: (TenantGenqlSelection & {
|
|
1661
1945
|
__args: {
|
|
@@ -1739,6 +2023,16 @@ export interface MutationGenqlSelection {
|
|
|
1739
2023
|
input: RegisterAthleteDto;
|
|
1740
2024
|
};
|
|
1741
2025
|
});
|
|
2026
|
+
editProfileValue?: (EditValueResponseGenqlSelection & {
|
|
2027
|
+
__args: {
|
|
2028
|
+
input: EditValueDto;
|
|
2029
|
+
};
|
|
2030
|
+
});
|
|
2031
|
+
addAthleteCompetition?: (AthleteCompetitionGenqlSelection & {
|
|
2032
|
+
__args: {
|
|
2033
|
+
input: CreateAthleteCompetitionDto;
|
|
2034
|
+
};
|
|
2035
|
+
});
|
|
1742
2036
|
createSport?: (SportGenqlSelection & {
|
|
1743
2037
|
__args: {
|
|
1744
2038
|
input: CreateSportDto;
|
|
@@ -1805,6 +2099,21 @@ export interface MutationGenqlSelection {
|
|
|
1805
2099
|
password: Scalars['String'];
|
|
1806
2100
|
};
|
|
1807
2101
|
});
|
|
2102
|
+
handleStravaCallback?: (StravaTokenGenqlSelection & {
|
|
2103
|
+
__args: {
|
|
2104
|
+
data: RegisterStravaDto;
|
|
2105
|
+
};
|
|
2106
|
+
});
|
|
2107
|
+
refreshStravaToken?: (StravaTokenGenqlSelection & {
|
|
2108
|
+
__args: {
|
|
2109
|
+
input: Scalars['String'];
|
|
2110
|
+
};
|
|
2111
|
+
});
|
|
2112
|
+
createSportsEvent?: (SportsEventGenqlSelection & {
|
|
2113
|
+
__args: {
|
|
2114
|
+
input: CreateSportEventDto;
|
|
2115
|
+
};
|
|
2116
|
+
});
|
|
1808
2117
|
__typename?: boolean | number;
|
|
1809
2118
|
__scalar?: boolean | number;
|
|
1810
2119
|
}
|
|
@@ -1894,6 +2203,7 @@ export interface RegisterAthleteDto {
|
|
|
1894
2203
|
lgbt?: (Scalars['Boolean'] | null);
|
|
1895
2204
|
trainer?: (Scalars['String'] | null);
|
|
1896
2205
|
trainerUrl?: (Scalars['String'] | null);
|
|
2206
|
+
aboutMe?: (Scalars['String'] | null);
|
|
1897
2207
|
team?: (Scalars['String'] | null);
|
|
1898
2208
|
gender: Scalars['String'];
|
|
1899
2209
|
mainSport: Scalars['String'];
|
|
@@ -1901,8 +2211,13 @@ export interface RegisterAthleteDto {
|
|
|
1901
2211
|
profilePicture?: (AWSS3UploadedFileDto | null);
|
|
1902
2212
|
cardPicture?: (AWSS3UploadedFileDto | null);
|
|
1903
2213
|
}
|
|
2214
|
+
export interface EditValueDto {
|
|
2215
|
+
field: Scalars['String'];
|
|
2216
|
+
newValue?: (Scalars['String'] | null);
|
|
2217
|
+
}
|
|
1904
2218
|
export interface CreateSportDto {
|
|
1905
2219
|
name: Scalars['String'];
|
|
2220
|
+
resultType?: (Scalars['String'] | null);
|
|
1906
2221
|
}
|
|
1907
2222
|
export interface UpdateSportDto {
|
|
1908
2223
|
_id: Scalars['String'];
|
|
@@ -2006,6 +2321,18 @@ export interface CreateCityDto {
|
|
|
2006
2321
|
ranking?: (Scalars['Float'] | null);
|
|
2007
2322
|
same_name?: (Scalars['String'] | null);
|
|
2008
2323
|
}
|
|
2324
|
+
export interface RegisterStravaDto {
|
|
2325
|
+
idAthlete: Scalars['String'];
|
|
2326
|
+
code: Scalars['String'];
|
|
2327
|
+
}
|
|
2328
|
+
export interface CreateSportEventDto {
|
|
2329
|
+
name: Scalars['String'];
|
|
2330
|
+
cityId?: (Scalars['String'] | null);
|
|
2331
|
+
startDate: Scalars['DateTime'];
|
|
2332
|
+
endDate?: (Scalars['DateTime'] | null);
|
|
2333
|
+
website?: (Scalars['String'] | null);
|
|
2334
|
+
banner?: (AWSS3UploadedFileDto | null);
|
|
2335
|
+
}
|
|
2009
2336
|
export declare const isUser: (obj?: {
|
|
2010
2337
|
__typename?: any;
|
|
2011
2338
|
} | null) => obj is User;
|
|
@@ -2204,21 +2531,48 @@ export declare const isSportsEvent: (obj?: {
|
|
|
2204
2531
|
export declare const isAthleteCompetitionResult: (obj?: {
|
|
2205
2532
|
__typename?: any;
|
|
2206
2533
|
} | null) => obj is AthleteCompetitionResult;
|
|
2534
|
+
export declare const isBudgetItem: (obj?: {
|
|
2535
|
+
__typename?: any;
|
|
2536
|
+
} | null) => obj is BudgetItem;
|
|
2537
|
+
export declare const isBudget: (obj?: {
|
|
2538
|
+
__typename?: any;
|
|
2539
|
+
} | null) => obj is Budget;
|
|
2207
2540
|
export declare const isAthleteCompetition: (obj?: {
|
|
2208
2541
|
__typename?: any;
|
|
2209
2542
|
} | null) => obj is AthleteCompetition;
|
|
2210
2543
|
export declare const isWorldLocation: (obj?: {
|
|
2211
2544
|
__typename?: any;
|
|
2212
2545
|
} | null) => obj is WorldLocation;
|
|
2546
|
+
export declare const isMembershipOrganizationReference: (obj?: {
|
|
2547
|
+
__typename?: any;
|
|
2548
|
+
} | null) => obj is MembershipOrganizationReference;
|
|
2549
|
+
export declare const isMembershipOrganization: (obj?: {
|
|
2550
|
+
__typename?: any;
|
|
2551
|
+
} | null) => obj is MembershipOrganization;
|
|
2552
|
+
export declare const isAthleteMembership: (obj?: {
|
|
2553
|
+
__typename?: any;
|
|
2554
|
+
} | null) => obj is AthleteMembership;
|
|
2555
|
+
export declare const isAthleteReference: (obj?: {
|
|
2556
|
+
__typename?: any;
|
|
2557
|
+
} | null) => obj is AthleteReference;
|
|
2213
2558
|
export declare const isAthlete: (obj?: {
|
|
2214
2559
|
__typename?: any;
|
|
2215
2560
|
} | null) => obj is Athlete;
|
|
2216
2561
|
export declare const isSponsorAthleteInvitation: (obj?: {
|
|
2217
2562
|
__typename?: any;
|
|
2218
2563
|
} | null) => obj is SponsorAthleteInvitation;
|
|
2564
|
+
export declare const isStravaToken: (obj?: {
|
|
2565
|
+
__typename?: any;
|
|
2566
|
+
} | null) => obj is StravaToken;
|
|
2567
|
+
export declare const isEditValueResponse: (obj?: {
|
|
2568
|
+
__typename?: any;
|
|
2569
|
+
} | null) => obj is EditValueResponse;
|
|
2219
2570
|
export declare const isUserImages: (obj?: {
|
|
2220
2571
|
__typename?: any;
|
|
2221
2572
|
} | null) => obj is UserImages;
|
|
2573
|
+
export declare const isFundRaisingCampaign: (obj?: {
|
|
2574
|
+
__typename?: any;
|
|
2575
|
+
} | null) => obj is FundRaisingCampaign;
|
|
2222
2576
|
export declare const isQuery: (obj?: {
|
|
2223
2577
|
__typename?: any;
|
|
2224
2578
|
} | null) => obj is Query;
|