@vertikalx/vtx-backend-client 1.0.0-dev-daniel.179 → 1.0.0-dev-geo.1
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/vtx-base-api.d.ts +1 -3
- package/src/api/vtx-base-api.js +3 -190
- package/src/api/vtx-base-api.js.map +1 -1
- package/src/client/schema.d.ts +58 -171
- package/src/client/schema.graphql +38 -107
- package/src/client/schema.js +6 -34
- package/src/client/schema.js.map +1 -1
- package/src/client/types.d.ts +38 -111
- package/src/client/types.js +138 -317
- package/src/client/types.js.map +1 -1
- package/tsconfig.lib.tsbuildinfo +1 -1
package/src/client/schema.d.ts
CHANGED
|
@@ -583,12 +583,14 @@ export interface BudgetItem {
|
|
|
583
583
|
quantity: Scalars['Float'];
|
|
584
584
|
concept: Scalars['String'];
|
|
585
585
|
itemCost: Scalars['Float'];
|
|
586
|
+
itemTotal: Scalars['Float'];
|
|
586
587
|
__typename: 'BudgetItem';
|
|
587
588
|
}
|
|
588
589
|
export interface Budget {
|
|
589
590
|
_id: Scalars['String'];
|
|
590
|
-
initialFunds: Scalars['Float'];
|
|
591
591
|
totalRequired: Scalars['Float'];
|
|
592
|
+
initialFunds: Scalars['Float'];
|
|
593
|
+
totalRaised: Scalars['Float'];
|
|
592
594
|
items: (BudgetItem[] | null);
|
|
593
595
|
__typename: 'Budget';
|
|
594
596
|
}
|
|
@@ -598,7 +600,7 @@ export interface AthleteCompetition {
|
|
|
598
600
|
participationDate: (Scalars['DateTime'] | null);
|
|
599
601
|
competitionNumber: (Scalars['String'] | null);
|
|
600
602
|
result: (AthleteCompetitionResult | null);
|
|
601
|
-
|
|
603
|
+
fundRaisingCampaignId: (Scalars['String'] | null);
|
|
602
604
|
budget: (Budget | null);
|
|
603
605
|
__typename: 'AthleteCompetition';
|
|
604
606
|
}
|
|
@@ -665,11 +667,6 @@ export interface Channel {
|
|
|
665
667
|
linked: Scalars['Boolean'];
|
|
666
668
|
__typename: 'Channel';
|
|
667
669
|
}
|
|
668
|
-
export interface AthletePreferences {
|
|
669
|
-
_id: Scalars['String'];
|
|
670
|
-
showProfileHelper: Scalars['Boolean'];
|
|
671
|
-
__typename: 'AthletePreferences';
|
|
672
|
-
}
|
|
673
670
|
export interface AthleteReference {
|
|
674
671
|
_id: Scalars['String'];
|
|
675
672
|
firstName: Scalars['String'];
|
|
@@ -692,7 +689,6 @@ export interface AthleteReference {
|
|
|
692
689
|
profilePicture: (AWSS3File | null);
|
|
693
690
|
cardPicture: (AWSS3File | null);
|
|
694
691
|
aboutMe: (Scalars['String'] | null);
|
|
695
|
-
preferences: AthletePreferences;
|
|
696
692
|
__typename: 'AthleteReference';
|
|
697
693
|
}
|
|
698
694
|
export interface Athlete {
|
|
@@ -717,7 +713,6 @@ export interface Athlete {
|
|
|
717
713
|
profilePicture: (AWSS3File | null);
|
|
718
714
|
cardPicture: (AWSS3File | null);
|
|
719
715
|
aboutMe: (Scalars['String'] | null);
|
|
720
|
-
preferences: AthletePreferences;
|
|
721
716
|
allSports: (Sport[] | null);
|
|
722
717
|
teams: (Team[] | null);
|
|
723
718
|
sponsorBrands: (Brand[] | null);
|
|
@@ -745,22 +740,6 @@ export interface StravaToken {
|
|
|
745
740
|
access_token: Scalars['String'];
|
|
746
741
|
__typename: 'StravaToken';
|
|
747
742
|
}
|
|
748
|
-
export interface FundRaisingCampaign {
|
|
749
|
-
_id: Scalars['String'];
|
|
750
|
-
budgetMode: Scalars['String'];
|
|
751
|
-
status: Scalars['String'];
|
|
752
|
-
title: Scalars['String'];
|
|
753
|
-
motivation: (Scalars['String'] | null);
|
|
754
|
-
website: (Scalars['String'] | null);
|
|
755
|
-
fundsRequired: Scalars['Float'];
|
|
756
|
-
initialFundsObtained: Scalars['Float'];
|
|
757
|
-
fundsObtained: Scalars['Float'];
|
|
758
|
-
location: (WorldLocation | null);
|
|
759
|
-
endingDate: Scalars['DateTime'];
|
|
760
|
-
budget: (Budget | null);
|
|
761
|
-
competitions: (AthleteCompetition[] | null);
|
|
762
|
-
__typename: 'FundRaisingCampaign';
|
|
763
|
-
}
|
|
764
743
|
export interface EditValueResponse {
|
|
765
744
|
field: Scalars['String'];
|
|
766
745
|
oldValue: (Scalars['String'] | null);
|
|
@@ -768,29 +747,26 @@ export interface EditValueResponse {
|
|
|
768
747
|
changed: Scalars['Boolean'];
|
|
769
748
|
__typename: 'EditValueResponse';
|
|
770
749
|
}
|
|
771
|
-
export interface ErrorType {
|
|
772
|
-
code: Scalars['Float'];
|
|
773
|
-
message: Scalars['String'];
|
|
774
|
-
__typename: 'ErrorType';
|
|
775
|
-
}
|
|
776
|
-
export interface DeleteSingleValueResponse {
|
|
777
|
-
idToDelete: Scalars['String'];
|
|
778
|
-
deleted: Scalars['Boolean'];
|
|
779
|
-
failureReason: (ErrorType | null);
|
|
780
|
-
__typename: 'DeleteSingleValueResponse';
|
|
781
|
-
}
|
|
782
750
|
export interface UserImages {
|
|
783
751
|
profilePictureUrl: (Scalars['String'] | null);
|
|
784
752
|
cardPictureUrl: (Scalars['String'] | null);
|
|
785
753
|
bannerPictureUrl: (Scalars['String'] | null);
|
|
786
754
|
__typename: 'UserImages';
|
|
787
755
|
}
|
|
788
|
-
export interface
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
756
|
+
export interface FundRaisingCampaign {
|
|
757
|
+
_id: Scalars['String'];
|
|
758
|
+
title: Scalars['String'];
|
|
759
|
+
motivation: (Scalars['String'] | null);
|
|
760
|
+
website: (Scalars['String'] | null);
|
|
761
|
+
fundsRequired: Scalars['Float'];
|
|
762
|
+
initialFundsObtained: Scalars['Float'];
|
|
763
|
+
fundsObtained: Scalars['Float'];
|
|
764
|
+
location: (WorldLocation | null);
|
|
765
|
+
endingDate: Scalars['DateTime'];
|
|
766
|
+
status: Scalars['String'];
|
|
767
|
+
budget: (Budget | null);
|
|
768
|
+
competitions: (AthleteCompetition[] | null);
|
|
769
|
+
__typename: 'FundRaisingCampaign';
|
|
794
770
|
}
|
|
795
771
|
export interface Query {
|
|
796
772
|
findTenantById: Tenant;
|
|
@@ -853,7 +829,6 @@ export interface Mutation {
|
|
|
853
829
|
registerAthlete: Athlete;
|
|
854
830
|
editProfileValue: EditValueResponse;
|
|
855
831
|
addAthleteCompetition: AthleteCompetition;
|
|
856
|
-
deleteAthleteCompetition: DeleteSingleValueResponse;
|
|
857
832
|
createSport: Sport;
|
|
858
833
|
updateSport: Sport;
|
|
859
834
|
createSportLevel: SportLevel;
|
|
@@ -870,7 +845,6 @@ export interface Mutation {
|
|
|
870
845
|
handleStravaCallback: StravaToken;
|
|
871
846
|
refreshStravaToken: StravaToken;
|
|
872
847
|
createSportsEvent: SportsEvent;
|
|
873
|
-
createFundingCampaaign: FundRaisingCampaign;
|
|
874
848
|
__typename: 'Mutation';
|
|
875
849
|
}
|
|
876
850
|
export interface UserGenqlSelection {
|
|
@@ -1525,13 +1499,15 @@ export interface BudgetItemGenqlSelection {
|
|
|
1525
1499
|
quantity?: boolean | number;
|
|
1526
1500
|
concept?: boolean | number;
|
|
1527
1501
|
itemCost?: boolean | number;
|
|
1502
|
+
itemTotal?: boolean | number;
|
|
1528
1503
|
__typename?: boolean | number;
|
|
1529
1504
|
__scalar?: boolean | number;
|
|
1530
1505
|
}
|
|
1531
1506
|
export interface BudgetGenqlSelection {
|
|
1532
1507
|
_id?: boolean | number;
|
|
1533
|
-
initialFunds?: boolean | number;
|
|
1534
1508
|
totalRequired?: boolean | number;
|
|
1509
|
+
initialFunds?: boolean | number;
|
|
1510
|
+
totalRaised?: boolean | number;
|
|
1535
1511
|
items?: BudgetItemGenqlSelection;
|
|
1536
1512
|
__typename?: boolean | number;
|
|
1537
1513
|
__scalar?: boolean | number;
|
|
@@ -1542,7 +1518,7 @@ export interface AthleteCompetitionGenqlSelection {
|
|
|
1542
1518
|
participationDate?: boolean | number;
|
|
1543
1519
|
competitionNumber?: boolean | number;
|
|
1544
1520
|
result?: AthleteCompetitionResultGenqlSelection;
|
|
1545
|
-
|
|
1521
|
+
fundRaisingCampaignId?: boolean | number;
|
|
1546
1522
|
budget?: BudgetGenqlSelection;
|
|
1547
1523
|
__typename?: boolean | number;
|
|
1548
1524
|
__scalar?: boolean | number;
|
|
@@ -1616,12 +1592,6 @@ export interface ChannelGenqlSelection {
|
|
|
1616
1592
|
__typename?: boolean | number;
|
|
1617
1593
|
__scalar?: boolean | number;
|
|
1618
1594
|
}
|
|
1619
|
-
export interface AthletePreferencesGenqlSelection {
|
|
1620
|
-
_id?: boolean | number;
|
|
1621
|
-
showProfileHelper?: boolean | number;
|
|
1622
|
-
__typename?: boolean | number;
|
|
1623
|
-
__scalar?: boolean | number;
|
|
1624
|
-
}
|
|
1625
1595
|
export interface AthleteReferenceGenqlSelection {
|
|
1626
1596
|
_id?: boolean | number;
|
|
1627
1597
|
firstName?: boolean | number;
|
|
@@ -1644,7 +1614,6 @@ export interface AthleteReferenceGenqlSelection {
|
|
|
1644
1614
|
profilePicture?: AWSS3FileGenqlSelection;
|
|
1645
1615
|
cardPicture?: AWSS3FileGenqlSelection;
|
|
1646
1616
|
aboutMe?: boolean | number;
|
|
1647
|
-
preferences?: AthletePreferencesGenqlSelection;
|
|
1648
1617
|
__typename?: boolean | number;
|
|
1649
1618
|
__scalar?: boolean | number;
|
|
1650
1619
|
}
|
|
@@ -1670,7 +1639,6 @@ export interface AthleteGenqlSelection {
|
|
|
1670
1639
|
profilePicture?: AWSS3FileGenqlSelection;
|
|
1671
1640
|
cardPicture?: AWSS3FileGenqlSelection;
|
|
1672
1641
|
aboutMe?: boolean | number;
|
|
1673
|
-
preferences?: AthletePreferencesGenqlSelection;
|
|
1674
1642
|
allSports?: SportGenqlSelection;
|
|
1675
1643
|
teams?: TeamGenqlSelection;
|
|
1676
1644
|
sponsorBrands?: BrandGenqlSelection;
|
|
@@ -1701,23 +1669,6 @@ export interface StravaTokenGenqlSelection {
|
|
|
1701
1669
|
__typename?: boolean | number;
|
|
1702
1670
|
__scalar?: boolean | number;
|
|
1703
1671
|
}
|
|
1704
|
-
export interface FundRaisingCampaignGenqlSelection {
|
|
1705
|
-
_id?: boolean | number;
|
|
1706
|
-
budgetMode?: boolean | number;
|
|
1707
|
-
status?: boolean | number;
|
|
1708
|
-
title?: boolean | number;
|
|
1709
|
-
motivation?: boolean | number;
|
|
1710
|
-
website?: boolean | number;
|
|
1711
|
-
fundsRequired?: boolean | number;
|
|
1712
|
-
initialFundsObtained?: boolean | number;
|
|
1713
|
-
fundsObtained?: boolean | number;
|
|
1714
|
-
location?: WorldLocationGenqlSelection;
|
|
1715
|
-
endingDate?: boolean | number;
|
|
1716
|
-
budget?: BudgetGenqlSelection;
|
|
1717
|
-
competitions?: AthleteCompetitionGenqlSelection;
|
|
1718
|
-
__typename?: boolean | number;
|
|
1719
|
-
__scalar?: boolean | number;
|
|
1720
|
-
}
|
|
1721
1672
|
export interface EditValueResponseGenqlSelection {
|
|
1722
1673
|
field?: boolean | number;
|
|
1723
1674
|
oldValue?: boolean | number;
|
|
@@ -1726,19 +1677,6 @@ export interface EditValueResponseGenqlSelection {
|
|
|
1726
1677
|
__typename?: boolean | number;
|
|
1727
1678
|
__scalar?: boolean | number;
|
|
1728
1679
|
}
|
|
1729
|
-
export interface ErrorTypeGenqlSelection {
|
|
1730
|
-
code?: boolean | number;
|
|
1731
|
-
message?: boolean | number;
|
|
1732
|
-
__typename?: boolean | number;
|
|
1733
|
-
__scalar?: boolean | number;
|
|
1734
|
-
}
|
|
1735
|
-
export interface DeleteSingleValueResponseGenqlSelection {
|
|
1736
|
-
idToDelete?: boolean | number;
|
|
1737
|
-
deleted?: boolean | number;
|
|
1738
|
-
failureReason?: ErrorTypeGenqlSelection;
|
|
1739
|
-
__typename?: boolean | number;
|
|
1740
|
-
__scalar?: boolean | number;
|
|
1741
|
-
}
|
|
1742
1680
|
export interface UserImagesGenqlSelection {
|
|
1743
1681
|
profilePictureUrl?: boolean | number;
|
|
1744
1682
|
cardPictureUrl?: boolean | number;
|
|
@@ -1746,11 +1684,19 @@ export interface UserImagesGenqlSelection {
|
|
|
1746
1684
|
__typename?: boolean | number;
|
|
1747
1685
|
__scalar?: boolean | number;
|
|
1748
1686
|
}
|
|
1749
|
-
export interface
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1687
|
+
export interface FundRaisingCampaignGenqlSelection {
|
|
1688
|
+
_id?: boolean | number;
|
|
1689
|
+
title?: boolean | number;
|
|
1690
|
+
motivation?: boolean | number;
|
|
1691
|
+
website?: boolean | number;
|
|
1692
|
+
fundsRequired?: boolean | number;
|
|
1693
|
+
initialFundsObtained?: boolean | number;
|
|
1694
|
+
fundsObtained?: boolean | number;
|
|
1695
|
+
location?: WorldLocationGenqlSelection;
|
|
1696
|
+
endingDate?: boolean | number;
|
|
1697
|
+
status?: boolean | number;
|
|
1698
|
+
budget?: BudgetGenqlSelection;
|
|
1699
|
+
competitions?: AthleteCompetitionGenqlSelection;
|
|
1754
1700
|
__typename?: boolean | number;
|
|
1755
1701
|
__scalar?: boolean | number;
|
|
1756
1702
|
}
|
|
@@ -1808,9 +1754,6 @@ export interface CreateAthleteCompetitionForDto {
|
|
|
1808
1754
|
cityId?: (Scalars['String'] | null);
|
|
1809
1755
|
loginEmail: Scalars['String'];
|
|
1810
1756
|
}
|
|
1811
|
-
export interface DeleteSingleValueDto {
|
|
1812
|
-
idToDelete: Scalars['String'];
|
|
1813
|
-
}
|
|
1814
1757
|
export interface QualificationDto {
|
|
1815
1758
|
type: Scalars['String'];
|
|
1816
1759
|
}
|
|
@@ -1864,56 +1807,29 @@ export interface RegisterUserDto {
|
|
|
1864
1807
|
password: Scalars['String'];
|
|
1865
1808
|
inviteCode?: (Scalars['String'] | null);
|
|
1866
1809
|
}
|
|
1867
|
-
export interface
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
export interface BudgetItemDto {
|
|
1872
|
-
quantity: Scalars['Float'];
|
|
1873
|
-
concept: Scalars['String'];
|
|
1874
|
-
itemCost: Scalars['Float'];
|
|
1875
|
-
}
|
|
1876
|
-
export interface CreateBudgetItemDto {
|
|
1877
|
-
quantity: Scalars['Float'];
|
|
1878
|
-
concept: Scalars['String'];
|
|
1879
|
-
itemCost: Scalars['Float'];
|
|
1880
|
-
budgetId: Scalars['String'];
|
|
1881
|
-
}
|
|
1882
|
-
export interface CreateBudgetDto {
|
|
1883
|
-
initialFunds?: (Scalars['Float'] | null);
|
|
1884
|
-
items?: (BudgetItemDto[] | null);
|
|
1885
|
-
}
|
|
1886
|
-
export interface CreateCompetitionBudgetDto {
|
|
1887
|
-
initialFunds?: (Scalars['Float'] | null);
|
|
1888
|
-
items?: (BudgetItemDto[] | null);
|
|
1889
|
-
athleteCompetitionId: Scalars['String'];
|
|
1890
|
-
}
|
|
1891
|
-
export interface CreateFundingCampaignDto {
|
|
1892
|
-
budgetMode: Scalars['String'];
|
|
1893
|
-
title: Scalars['String'];
|
|
1894
|
-
motivation: Scalars['String'];
|
|
1810
|
+
export interface CreateMembershipOrganizationDto {
|
|
1811
|
+
shortName: Scalars['String'];
|
|
1812
|
+
acronym?: (Scalars['String'] | null);
|
|
1813
|
+
fullName: Scalars['String'];
|
|
1895
1814
|
website?: (Scalars['String'] | null);
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
endingDate: Scalars['DateTime'];
|
|
1900
|
-
budget?: (CreateBudgetDto | null);
|
|
1901
|
-
competitionBudgets?: (CreateCompetitionBudgetDto[] | null);
|
|
1902
|
-
competitionIds?: (Scalars['String'][] | null);
|
|
1815
|
+
logo?: (AWSS3UploadedFileDto | null);
|
|
1816
|
+
countryId?: (Scalars['String'] | null);
|
|
1817
|
+
sportId?: (Scalars['String'] | null);
|
|
1903
1818
|
}
|
|
1904
|
-
export interface
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1819
|
+
export interface AWSS3UploadedFileDto {
|
|
1820
|
+
key: Scalars['String'];
|
|
1821
|
+
useType: Scalars['String'];
|
|
1822
|
+
contentType: Scalars['String'];
|
|
1823
|
+
originalFileName?: (Scalars['String'] | null);
|
|
1824
|
+
fileSize?: (Scalars['Float'] | null);
|
|
1825
|
+
}
|
|
1826
|
+
export interface CreateAthleteMembershipDto {
|
|
1827
|
+
organizationId: Scalars['String'];
|
|
1828
|
+
athleteId: Scalars['String'];
|
|
1829
|
+
membershipNumber?: (Scalars['String'] | null);
|
|
1830
|
+
membershipType?: (Scalars['String'] | null);
|
|
1831
|
+
issueDate?: (Scalars['DateTime'] | null);
|
|
1832
|
+
expirationDate?: (Scalars['DateTime'] | null);
|
|
1917
1833
|
}
|
|
1918
1834
|
export interface QueryGenqlSelection {
|
|
1919
1835
|
findTenantById?: (TenantGenqlSelection & {
|
|
@@ -2183,11 +2099,6 @@ export interface MutationGenqlSelection {
|
|
|
2183
2099
|
input: CreateAthleteCompetitionDto;
|
|
2184
2100
|
};
|
|
2185
2101
|
});
|
|
2186
|
-
deleteAthleteCompetition?: (DeleteSingleValueResponseGenqlSelection & {
|
|
2187
|
-
__args: {
|
|
2188
|
-
input: DeleteSingleValueDto;
|
|
2189
|
-
};
|
|
2190
|
-
});
|
|
2191
2102
|
createSport?: (SportGenqlSelection & {
|
|
2192
2103
|
__args: {
|
|
2193
2104
|
input: CreateSportDto;
|
|
@@ -2269,11 +2180,6 @@ export interface MutationGenqlSelection {
|
|
|
2269
2180
|
input: CreateSportEventDto;
|
|
2270
2181
|
};
|
|
2271
2182
|
});
|
|
2272
|
-
createFundingCampaaign?: (FundRaisingCampaignGenqlSelection & {
|
|
2273
|
-
__args: {
|
|
2274
|
-
input: CreateFundingCampaignDto;
|
|
2275
|
-
};
|
|
2276
|
-
});
|
|
2277
2183
|
__typename?: boolean | number;
|
|
2278
2184
|
__scalar?: boolean | number;
|
|
2279
2185
|
}
|
|
@@ -2306,13 +2212,6 @@ export interface AWSS3DeleteBucketFileDto {
|
|
|
2306
2212
|
bucket: Scalars['String'];
|
|
2307
2213
|
credentialsId?: (Scalars['String'] | null);
|
|
2308
2214
|
}
|
|
2309
|
-
export interface AWSS3UploadedFileDto {
|
|
2310
|
-
key: Scalars['String'];
|
|
2311
|
-
useType: Scalars['String'];
|
|
2312
|
-
contentType: Scalars['String'];
|
|
2313
|
-
originalFileName?: (Scalars['String'] | null);
|
|
2314
|
-
fileSize?: (Scalars['Float'] | null);
|
|
2315
|
-
}
|
|
2316
2215
|
export interface CreateIndustryDto {
|
|
2317
2216
|
name: Scalars['String'];
|
|
2318
2217
|
}
|
|
@@ -2718,9 +2617,6 @@ export declare const isNewsLink: (obj?: {
|
|
|
2718
2617
|
export declare const isChannel: (obj?: {
|
|
2719
2618
|
__typename?: any;
|
|
2720
2619
|
} | null) => obj is Channel;
|
|
2721
|
-
export declare const isAthletePreferences: (obj?: {
|
|
2722
|
-
__typename?: any;
|
|
2723
|
-
} | null) => obj is AthletePreferences;
|
|
2724
2620
|
export declare const isAthleteReference: (obj?: {
|
|
2725
2621
|
__typename?: any;
|
|
2726
2622
|
} | null) => obj is AthleteReference;
|
|
@@ -2733,24 +2629,15 @@ export declare const isSponsorAthleteInvitation: (obj?: {
|
|
|
2733
2629
|
export declare const isStravaToken: (obj?: {
|
|
2734
2630
|
__typename?: any;
|
|
2735
2631
|
} | null) => obj is StravaToken;
|
|
2736
|
-
export declare const isFundRaisingCampaign: (obj?: {
|
|
2737
|
-
__typename?: any;
|
|
2738
|
-
} | null) => obj is FundRaisingCampaign;
|
|
2739
2632
|
export declare const isEditValueResponse: (obj?: {
|
|
2740
2633
|
__typename?: any;
|
|
2741
2634
|
} | null) => obj is EditValueResponse;
|
|
2742
|
-
export declare const isErrorType: (obj?: {
|
|
2743
|
-
__typename?: any;
|
|
2744
|
-
} | null) => obj is ErrorType;
|
|
2745
|
-
export declare const isDeleteSingleValueResponse: (obj?: {
|
|
2746
|
-
__typename?: any;
|
|
2747
|
-
} | null) => obj is DeleteSingleValueResponse;
|
|
2748
2635
|
export declare const isUserImages: (obj?: {
|
|
2749
2636
|
__typename?: any;
|
|
2750
2637
|
} | null) => obj is UserImages;
|
|
2751
|
-
export declare const
|
|
2638
|
+
export declare const isFundRaisingCampaign: (obj?: {
|
|
2752
2639
|
__typename?: any;
|
|
2753
|
-
} | null) => obj is
|
|
2640
|
+
} | null) => obj is FundRaisingCampaign;
|
|
2754
2641
|
export declare const isQuery: (obj?: {
|
|
2755
2642
|
__typename?: any;
|
|
2756
2643
|
} | null) => obj is Query;
|
|
@@ -581,12 +581,14 @@ type BudgetItem {
|
|
|
581
581
|
quantity: Float!
|
|
582
582
|
concept: String!
|
|
583
583
|
itemCost: Float!
|
|
584
|
+
itemTotal: Float!
|
|
584
585
|
}
|
|
585
586
|
|
|
586
587
|
type Budget {
|
|
587
588
|
_id: String!
|
|
588
|
-
initialFunds: Float!
|
|
589
589
|
totalRequired: Float!
|
|
590
|
+
initialFunds: Float!
|
|
591
|
+
totalRaised: Float!
|
|
590
592
|
items: [BudgetItem!]
|
|
591
593
|
}
|
|
592
594
|
|
|
@@ -596,7 +598,7 @@ type AthleteCompetition {
|
|
|
596
598
|
participationDate: DateTime
|
|
597
599
|
competitionNumber: String
|
|
598
600
|
result: AthleteCompetitionResult
|
|
599
|
-
|
|
601
|
+
fundRaisingCampaignId: String
|
|
600
602
|
budget: Budget
|
|
601
603
|
}
|
|
602
604
|
|
|
@@ -663,11 +665,6 @@ type Channel {
|
|
|
663
665
|
linked: Boolean!
|
|
664
666
|
}
|
|
665
667
|
|
|
666
|
-
type AthletePreferences {
|
|
667
|
-
_id: String!
|
|
668
|
-
showProfileHelper: Boolean!
|
|
669
|
-
}
|
|
670
|
-
|
|
671
668
|
type AthleteReference {
|
|
672
669
|
_id: String!
|
|
673
670
|
firstName: String!
|
|
@@ -690,7 +687,6 @@ type AthleteReference {
|
|
|
690
687
|
profilePicture: AWSS3File
|
|
691
688
|
cardPicture: AWSS3File
|
|
692
689
|
aboutMe: String
|
|
693
|
-
preferences: AthletePreferences!
|
|
694
690
|
}
|
|
695
691
|
|
|
696
692
|
type Athlete {
|
|
@@ -715,7 +711,6 @@ type Athlete {
|
|
|
715
711
|
profilePicture: AWSS3File
|
|
716
712
|
cardPicture: AWSS3File
|
|
717
713
|
aboutMe: String
|
|
718
|
-
preferences: AthletePreferences!
|
|
719
714
|
allSports: [Sport!]
|
|
720
715
|
teams: [Team!]
|
|
721
716
|
sponsorBrands: [Brand!]
|
|
@@ -743,22 +738,6 @@ type StravaToken {
|
|
|
743
738
|
access_token: String!
|
|
744
739
|
}
|
|
745
740
|
|
|
746
|
-
type FundRaisingCampaign {
|
|
747
|
-
_id: String!
|
|
748
|
-
budgetMode: String!
|
|
749
|
-
status: String!
|
|
750
|
-
title: String!
|
|
751
|
-
motivation: String
|
|
752
|
-
website: String
|
|
753
|
-
fundsRequired: Float!
|
|
754
|
-
initialFundsObtained: Float!
|
|
755
|
-
fundsObtained: Float!
|
|
756
|
-
location: WorldLocation
|
|
757
|
-
endingDate: DateTime!
|
|
758
|
-
budget: Budget
|
|
759
|
-
competitions: [AthleteCompetition!]
|
|
760
|
-
}
|
|
761
|
-
|
|
762
741
|
type EditValueResponse {
|
|
763
742
|
field: String!
|
|
764
743
|
oldValue: String
|
|
@@ -766,28 +745,25 @@ type EditValueResponse {
|
|
|
766
745
|
changed: Boolean!
|
|
767
746
|
}
|
|
768
747
|
|
|
769
|
-
type ErrorType {
|
|
770
|
-
code: Float!
|
|
771
|
-
message: String!
|
|
772
|
-
}
|
|
773
|
-
|
|
774
|
-
type DeleteSingleValueResponse {
|
|
775
|
-
idToDelete: String!
|
|
776
|
-
deleted: Boolean!
|
|
777
|
-
failureReason: ErrorType
|
|
778
|
-
}
|
|
779
|
-
|
|
780
748
|
type UserImages {
|
|
781
749
|
profilePictureUrl: String
|
|
782
750
|
cardPictureUrl: String
|
|
783
751
|
bannerPictureUrl: String
|
|
784
752
|
}
|
|
785
753
|
|
|
786
|
-
type
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
754
|
+
type FundRaisingCampaign {
|
|
755
|
+
_id: String!
|
|
756
|
+
title: String!
|
|
757
|
+
motivation: String
|
|
758
|
+
website: String
|
|
759
|
+
fundsRequired: Float!
|
|
760
|
+
initialFundsObtained: Float!
|
|
761
|
+
fundsObtained: Float!
|
|
762
|
+
location: WorldLocation
|
|
763
|
+
endingDate: DateTime!
|
|
764
|
+
status: String!
|
|
765
|
+
budget: Budget
|
|
766
|
+
competitions: [AthleteCompetition!]
|
|
791
767
|
}
|
|
792
768
|
|
|
793
769
|
input CreateVerificationCodeDto {
|
|
@@ -852,10 +828,6 @@ input CreateAthleteCompetitionForDto {
|
|
|
852
828
|
loginEmail: String!
|
|
853
829
|
}
|
|
854
830
|
|
|
855
|
-
input DeleteSingleValueDto {
|
|
856
|
-
idToDelete: String!
|
|
857
|
-
}
|
|
858
|
-
|
|
859
831
|
input QualificationDto {
|
|
860
832
|
type: String!
|
|
861
833
|
}
|
|
@@ -919,62 +891,31 @@ input RegisterUserDto {
|
|
|
919
891
|
inviteCode: String
|
|
920
892
|
}
|
|
921
893
|
|
|
922
|
-
input
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
itemCost: Float!
|
|
931
|
-
}
|
|
932
|
-
|
|
933
|
-
input CreateBudgetItemDto {
|
|
934
|
-
quantity: Float!
|
|
935
|
-
concept: String!
|
|
936
|
-
itemCost: Float!
|
|
937
|
-
budgetId: String!
|
|
938
|
-
}
|
|
939
|
-
|
|
940
|
-
input CreateBudgetDto {
|
|
941
|
-
initialFunds: Float = 0
|
|
942
|
-
items: [BudgetItemDto!]
|
|
943
|
-
}
|
|
944
|
-
|
|
945
|
-
input CreateCompetitionBudgetDto {
|
|
946
|
-
initialFunds: Float = 0
|
|
947
|
-
items: [BudgetItemDto!]
|
|
948
|
-
athleteCompetitionId: String!
|
|
894
|
+
input CreateMembershipOrganizationDto {
|
|
895
|
+
shortName: String!
|
|
896
|
+
acronym: String
|
|
897
|
+
fullName: String!
|
|
898
|
+
website: String
|
|
899
|
+
logo: AWSS3UploadedFileDto
|
|
900
|
+
countryId: String
|
|
901
|
+
sportId: String
|
|
949
902
|
}
|
|
950
903
|
|
|
951
|
-
input
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
initialFundsObtained: Float! = 0
|
|
958
|
-
cityId: String
|
|
959
|
-
endingDate: DateTime!
|
|
960
|
-
budget: CreateBudgetDto
|
|
961
|
-
competitionBudgets: [CreateCompetitionBudgetDto!]
|
|
962
|
-
competitionIds: [String!]
|
|
904
|
+
input AWSS3UploadedFileDto {
|
|
905
|
+
key: String!
|
|
906
|
+
useType: String!
|
|
907
|
+
contentType: String!
|
|
908
|
+
originalFileName: String
|
|
909
|
+
fileSize: Float
|
|
963
910
|
}
|
|
964
911
|
|
|
965
|
-
input
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
cityId: String
|
|
973
|
-
endingDate: DateTime!
|
|
974
|
-
budget: CreateBudgetDto
|
|
975
|
-
competitionBudgets: [CreateCompetitionBudgetDto!]
|
|
976
|
-
competitionIds: [String!]
|
|
977
|
-
loginEmail: String!
|
|
912
|
+
input CreateAthleteMembershipDto {
|
|
913
|
+
organizationId: String!
|
|
914
|
+
athleteId: String!
|
|
915
|
+
membershipNumber: String
|
|
916
|
+
membershipType: String
|
|
917
|
+
issueDate: DateTime
|
|
918
|
+
expirationDate: DateTime
|
|
978
919
|
}
|
|
979
920
|
|
|
980
921
|
type Query {
|
|
@@ -1062,7 +1003,6 @@ type Mutation {
|
|
|
1062
1003
|
registerAthlete(input: RegisterAthleteDto!): Athlete!
|
|
1063
1004
|
editProfileValue(input: EditValueDto!): EditValueResponse!
|
|
1064
1005
|
addAthleteCompetition(input: CreateAthleteCompetitionDto!): AthleteCompetition!
|
|
1065
|
-
deleteAthleteCompetition(input: DeleteSingleValueDto!): DeleteSingleValueResponse!
|
|
1066
1006
|
createSport(input: CreateSportDto!): Sport!
|
|
1067
1007
|
updateSport(input: UpdateSportDto!): Sport!
|
|
1068
1008
|
createSportLevel(input: CreateSportLevelDto!): SportLevel!
|
|
@@ -1079,7 +1019,6 @@ type Mutation {
|
|
|
1079
1019
|
handleStravaCallback(data: RegisterStravaDto!): StravaToken!
|
|
1080
1020
|
refreshStravaToken(input: String!): StravaToken!
|
|
1081
1021
|
createSportsEvent(input: CreateSportEventDto!): SportsEvent!
|
|
1082
|
-
createFundingCampaaign(input: CreateFundingCampaignDto!): FundRaisingCampaign!
|
|
1083
1022
|
}
|
|
1084
1023
|
|
|
1085
1024
|
input CreateTenantInput {
|
|
@@ -1117,14 +1056,6 @@ input AWSS3DeleteBucketFileDto {
|
|
|
1117
1056
|
credentialsId: String
|
|
1118
1057
|
}
|
|
1119
1058
|
|
|
1120
|
-
input AWSS3UploadedFileDto {
|
|
1121
|
-
key: String!
|
|
1122
|
-
useType: String!
|
|
1123
|
-
contentType: String!
|
|
1124
|
-
originalFileName: String
|
|
1125
|
-
fileSize: Float
|
|
1126
|
-
}
|
|
1127
|
-
|
|
1128
1059
|
input CreateIndustryDto {
|
|
1129
1060
|
name: String!
|
|
1130
1061
|
}
|