@vertikalx/vtx-backend-client 3.0.0-dev-max.151 → 3.0.0-dev-max3.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 +28 -1
- package/src/api/vtx-base-api.js +62 -1
- package/src/api/vtx-base-api.js.map +1 -1
- package/src/api/vtx-mobile-api.d.ts +3 -1
- package/src/api/vtx-mobile-api.js +2 -2
- package/src/api/vtx-mobile-api.js.map +1 -1
- package/src/client/schema.d.ts +474 -8
- package/src/client/schema.js +65 -2
- package/src/client/schema.js.map +1 -1
- package/src/client/types.d.ts +264 -6
- package/src/client/types.js +1040 -327
- package/src/client/types.js.map +1 -1
- package/src/generated/graphql.d.ts +1140 -12
- package/src/generated/graphql.js +427 -13
- package/src/generated/graphql.js.map +1 -1
- package/tsconfig.lib.tsbuildinfo +0 -1
|
@@ -333,6 +333,16 @@ export type Athlete = {
|
|
|
333
333
|
trainer?: Maybe<Scalars['String']['output']>;
|
|
334
334
|
trainerUrl?: Maybe<Scalars['String']['output']>;
|
|
335
335
|
};
|
|
336
|
+
export type AthleteClub = {
|
|
337
|
+
_id: Scalars['String']['output'];
|
|
338
|
+
athleteId: Scalars['String']['output'];
|
|
339
|
+
club?: Maybe<Club>;
|
|
340
|
+
clubId: Scalars['String']['output'];
|
|
341
|
+
joinedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
342
|
+
leftAt?: Maybe<Scalars['DateTime']['output']>;
|
|
343
|
+
role: Scalars['String']['output'];
|
|
344
|
+
status: Scalars['String']['output'];
|
|
345
|
+
};
|
|
336
346
|
export type AthleteCompetition = {
|
|
337
347
|
_id: Scalars['String']['output'];
|
|
338
348
|
albums?: Maybe<Array<Album>>;
|
|
@@ -406,10 +416,8 @@ export type AthleteIntegrationReference = {
|
|
|
406
416
|
hasInstagramIntegration?: Maybe<Scalars['Boolean']['output']>;
|
|
407
417
|
hasStravaIntegration?: Maybe<Scalars['Boolean']['output']>;
|
|
408
418
|
instagramMediaData?: Maybe<InstagramMediaData>;
|
|
409
|
-
instagramTokenExpires?: Maybe<Scalars['DateTime']['output']>;
|
|
410
419
|
instagramUserData?: Maybe<InstagramUserData>;
|
|
411
420
|
stravaAthleteData?: Maybe<StravaAthleteData>;
|
|
412
|
-
stravaTokenExpires?: Maybe<Scalars['DateTime']['output']>;
|
|
413
421
|
};
|
|
414
422
|
export type AthleteInvitationDto = {
|
|
415
423
|
brandId?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -474,6 +482,16 @@ export type AthleteReference = {
|
|
|
474
482
|
trainer?: Maybe<Scalars['String']['output']>;
|
|
475
483
|
trainerUrl?: Maybe<Scalars['String']['output']>;
|
|
476
484
|
};
|
|
485
|
+
export type AthleteTeam = {
|
|
486
|
+
_id: Scalars['String']['output'];
|
|
487
|
+
athleteId: Scalars['String']['output'];
|
|
488
|
+
joinedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
489
|
+
leftAt?: Maybe<Scalars['DateTime']['output']>;
|
|
490
|
+
role: Scalars['String']['output'];
|
|
491
|
+
sportId: Scalars['String']['output'];
|
|
492
|
+
status: Scalars['String']['output'];
|
|
493
|
+
teamId: Scalars['String']['output'];
|
|
494
|
+
};
|
|
477
495
|
export type AudienceFilterDto = {
|
|
478
496
|
campaignStatus?: InputMaybe<Scalars['String']['input']>;
|
|
479
497
|
country?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -701,6 +719,22 @@ export type CloneDatabaseFileDto = {
|
|
|
701
719
|
_id: Scalars['String']['input'];
|
|
702
720
|
version?: InputMaybe<Scalars['String']['input']>;
|
|
703
721
|
};
|
|
722
|
+
export type Club = {
|
|
723
|
+
_id: Scalars['String']['output'];
|
|
724
|
+
approved?: Maybe<Scalars['Boolean']['output']>;
|
|
725
|
+
banner?: Maybe<Awss3File>;
|
|
726
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
727
|
+
feeStructure?: Maybe<Scalars['JSON']['output']>;
|
|
728
|
+
location?: Maybe<Scalars['String']['output']>;
|
|
729
|
+
logo?: Maybe<Awss3File>;
|
|
730
|
+
membershipType: Scalars['String']['output'];
|
|
731
|
+
name: Scalars['String']['output'];
|
|
732
|
+
sports?: Maybe<Array<Sport>>;
|
|
733
|
+
stripeAccountId?: Maybe<Scalars['String']['output']>;
|
|
734
|
+
teams?: Maybe<Array<Team>>;
|
|
735
|
+
visibility: Scalars['String']['output'];
|
|
736
|
+
website?: Maybe<Scalars['String']['output']>;
|
|
737
|
+
};
|
|
704
738
|
export type CodeVerificationResponse = {
|
|
705
739
|
code?: Maybe<VerificationCode>;
|
|
706
740
|
error?: Maybe<ErrorInfo>;
|
|
@@ -877,6 +911,16 @@ export type CreateCityDto = {
|
|
|
877
911
|
stateId: Scalars['String']['input'];
|
|
878
912
|
timezone: Scalars['String']['input'];
|
|
879
913
|
};
|
|
914
|
+
export type CreateClubInput = {
|
|
915
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
916
|
+
feeStructure?: InputMaybe<Scalars['JSON']['input']>;
|
|
917
|
+
location?: InputMaybe<Scalars['String']['input']>;
|
|
918
|
+
membershipType?: InputMaybe<Scalars['String']['input']>;
|
|
919
|
+
name: Scalars['String']['input'];
|
|
920
|
+
sportIds: Array<Scalars['String']['input']>;
|
|
921
|
+
visibility?: InputMaybe<Scalars['String']['input']>;
|
|
922
|
+
website?: InputMaybe<Scalars['String']['input']>;
|
|
923
|
+
};
|
|
880
924
|
export type CreateCompetitionBudgetDto = {
|
|
881
925
|
athleteCompetitionId: Scalars['String']['input'];
|
|
882
926
|
initialFunds?: InputMaybe<Scalars['Float']['input']>;
|
|
@@ -896,7 +940,6 @@ export type CreateEmailCampaignDto = {
|
|
|
896
940
|
htmlContent?: InputMaybe<Scalars['String']['input']>;
|
|
897
941
|
scheduledFor?: InputMaybe<Scalars['DateTime']['input']>;
|
|
898
942
|
segmentId?: InputMaybe<Scalars['String']['input']>;
|
|
899
|
-
status?: InputMaybe<Scalars['String']['input']>;
|
|
900
943
|
subject: Scalars['String']['input'];
|
|
901
944
|
templateId?: InputMaybe<Scalars['String']['input']>;
|
|
902
945
|
templateName?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1028,6 +1071,15 @@ export type CreateStripeAccountDto = {
|
|
|
1028
1071
|
acceptedTermsId: Scalars['String']['input'];
|
|
1029
1072
|
countryId: Scalars['String']['input'];
|
|
1030
1073
|
};
|
|
1074
|
+
export type CreateTeamInput = {
|
|
1075
|
+
clubId?: InputMaybe<Scalars['String']['input']>;
|
|
1076
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
1077
|
+
joinPolicy?: InputMaybe<Scalars['String']['input']>;
|
|
1078
|
+
maxRosterSize?: InputMaybe<Scalars['Int']['input']>;
|
|
1079
|
+
name: Scalars['String']['input'];
|
|
1080
|
+
sportIds: Array<Scalars['String']['input']>;
|
|
1081
|
+
visibility?: InputMaybe<Scalars['String']['input']>;
|
|
1082
|
+
};
|
|
1031
1083
|
export type CreateTenantInput = {
|
|
1032
1084
|
domain: Scalars['String']['input'];
|
|
1033
1085
|
email: Scalars['String']['input'];
|
|
@@ -1610,6 +1662,15 @@ export type IsFollowingAthleteInput = {
|
|
|
1610
1662
|
export type IsFollowingResponse = {
|
|
1611
1663
|
isFollowing: Scalars['Boolean']['output'];
|
|
1612
1664
|
};
|
|
1665
|
+
export type JoinClubInput = {
|
|
1666
|
+
clubId: Scalars['String']['input'];
|
|
1667
|
+
message?: InputMaybe<Scalars['String']['input']>;
|
|
1668
|
+
};
|
|
1669
|
+
export type JoinTeamInput = {
|
|
1670
|
+
message?: InputMaybe<Scalars['String']['input']>;
|
|
1671
|
+
sportId: Scalars['String']['input'];
|
|
1672
|
+
teamId: Scalars['String']['input'];
|
|
1673
|
+
};
|
|
1613
1674
|
export type LeaderboardEntry = {
|
|
1614
1675
|
athleteId: Scalars['String']['output'];
|
|
1615
1676
|
cityName?: Maybe<Scalars['String']['output']>;
|
|
@@ -1679,6 +1740,18 @@ export type MagicLink = {
|
|
|
1679
1740
|
type: Scalars['String']['output'];
|
|
1680
1741
|
url: Scalars['String']['output'];
|
|
1681
1742
|
};
|
|
1743
|
+
export type ManageClubMemberInput = {
|
|
1744
|
+
action: Scalars['String']['input'];
|
|
1745
|
+
athleteId: Scalars['String']['input'];
|
|
1746
|
+
clubId: Scalars['String']['input'];
|
|
1747
|
+
role?: InputMaybe<Scalars['String']['input']>;
|
|
1748
|
+
};
|
|
1749
|
+
export type ManageTeamMemberInput = {
|
|
1750
|
+
action: Scalars['String']['input'];
|
|
1751
|
+
athleteId: Scalars['String']['input'];
|
|
1752
|
+
role?: InputMaybe<Scalars['String']['input']>;
|
|
1753
|
+
teamId: Scalars['String']['input'];
|
|
1754
|
+
};
|
|
1682
1755
|
export type MarkNotificationReadDto = {
|
|
1683
1756
|
notificationId: Scalars['String']['input'];
|
|
1684
1757
|
};
|
|
@@ -1742,6 +1815,8 @@ export type Mutation = {
|
|
|
1742
1815
|
activateOffer: Offer;
|
|
1743
1816
|
addAthleteCompetition: AthleteCompetition;
|
|
1744
1817
|
addCompetitionBudget: Scalars['Boolean']['output'];
|
|
1818
|
+
approveClub: Club;
|
|
1819
|
+
approveTeam: Team;
|
|
1745
1820
|
cancelScheduledEmail: EmailCampaign;
|
|
1746
1821
|
claimOffer: OfferClaim;
|
|
1747
1822
|
cloneEmailCampaign: EmailCampaign;
|
|
@@ -1752,11 +1827,15 @@ export type Mutation = {
|
|
|
1752
1827
|
createAthleteStripeSession: StripeSession;
|
|
1753
1828
|
createBrand: Brand;
|
|
1754
1829
|
createCity: City;
|
|
1830
|
+
createClub: Club;
|
|
1831
|
+
createClubDonationCheckout: Scalars['String']['output'];
|
|
1832
|
+
createClubStripeAccount: Scalars['String']['output'];
|
|
1755
1833
|
createCountry: Country;
|
|
1756
1834
|
createEmailCampaign: EmailCampaign;
|
|
1757
1835
|
createEmailSegment: EmailSegment;
|
|
1758
1836
|
createFundingCampaign: FundRaisingCampaign;
|
|
1759
1837
|
createIndustry: Industry;
|
|
1838
|
+
createMembershipFeeCheckout?: Maybe<Scalars['String']['output']>;
|
|
1760
1839
|
createMembershipOrganization: MembershipOrganizationReference;
|
|
1761
1840
|
createOffer: Offer;
|
|
1762
1841
|
createResetPasswordCode: EditValueResponse;
|
|
@@ -1770,6 +1849,9 @@ export type Mutation = {
|
|
|
1770
1849
|
createStripeAccountLink: Scalars['String']['output'];
|
|
1771
1850
|
createStripeCheckoutSession: StripeCheckoutSession;
|
|
1772
1851
|
createStripeLoginLink: Scalars['String']['output'];
|
|
1852
|
+
createTeam: Team;
|
|
1853
|
+
createTeamDonationCheckout: Scalars['String']['output'];
|
|
1854
|
+
createTeamStripeAccount: Scalars['String']['output'];
|
|
1773
1855
|
createUserAndLogin: UserWithToken;
|
|
1774
1856
|
deactivateOffer: Offer;
|
|
1775
1857
|
deleteAthleteAlbum: DeleteSingleValueResponse;
|
|
@@ -1801,10 +1883,18 @@ export type Mutation = {
|
|
|
1801
1883
|
followAthlete: Scalars['Boolean']['output'];
|
|
1802
1884
|
forceDeleteAthleteCompetition: DeleteSingleValueResponse;
|
|
1803
1885
|
forceRefreshAthleteScores: ForceScoreRefreshResponse;
|
|
1886
|
+
inviteToClub: AthleteClub;
|
|
1887
|
+
inviteToTeam: AthleteTeam;
|
|
1888
|
+
joinClub: AthleteClub;
|
|
1889
|
+
joinTeam: AthleteTeam;
|
|
1890
|
+
leaveClub: AthleteClub;
|
|
1891
|
+
leaveTeam: AthleteTeam;
|
|
1804
1892
|
linkBrandToSponsor: Brand;
|
|
1805
1893
|
loginUserFromCredentials: UserWithToken;
|
|
1806
1894
|
loginUserFromCredentialsVtx: UserWithToken;
|
|
1807
1895
|
loginUserFromEmail: UserToken;
|
|
1896
|
+
manageClubMember: AthleteClub;
|
|
1897
|
+
manageTeamMember: AthleteTeam;
|
|
1808
1898
|
markAiCoachNudgeRead: Scalars['Boolean']['output'];
|
|
1809
1899
|
markAllNotificationsAsRead: Scalars['Int']['output'];
|
|
1810
1900
|
markNotificationAsRead: Notification;
|
|
@@ -1844,6 +1934,7 @@ export type Mutation = {
|
|
|
1844
1934
|
updateAthleteIntegration: Scalars['Boolean']['output'];
|
|
1845
1935
|
updateAthleteScores: Athlete;
|
|
1846
1936
|
updateBrand: Brand;
|
|
1937
|
+
updateClub: Club;
|
|
1847
1938
|
updateEmailCampaign: EmailCampaign;
|
|
1848
1939
|
updateEmailSegment: EmailSegment;
|
|
1849
1940
|
updateFundingCampaign: FundRaisingCampaign;
|
|
@@ -1853,6 +1944,7 @@ export type Mutation = {
|
|
|
1853
1944
|
updateSponsor: Sponsor;
|
|
1854
1945
|
updateSport: Sport;
|
|
1855
1946
|
updateSportsEvent: SportsEvent;
|
|
1947
|
+
updateTeam: Team;
|
|
1856
1948
|
updateUserSuspendedStatus: EditValueResponse;
|
|
1857
1949
|
uploadCouponCodes: UploadResult;
|
|
1858
1950
|
validateToken: ValidatedToken;
|
|
@@ -1869,6 +1961,14 @@ export type MutationAddAthleteCompetitionArgs = {
|
|
|
1869
1961
|
export type MutationAddCompetitionBudgetArgs = {
|
|
1870
1962
|
input: AddCompetitionBudgetDto;
|
|
1871
1963
|
};
|
|
1964
|
+
export type MutationApproveClubArgs = {
|
|
1965
|
+
approved: Scalars['Boolean']['input'];
|
|
1966
|
+
clubId: Scalars['String']['input'];
|
|
1967
|
+
};
|
|
1968
|
+
export type MutationApproveTeamArgs = {
|
|
1969
|
+
approved: Scalars['Boolean']['input'];
|
|
1970
|
+
teamId: Scalars['String']['input'];
|
|
1971
|
+
};
|
|
1872
1972
|
export type MutationCancelScheduledEmailArgs = {
|
|
1873
1973
|
campaignId: Scalars['String']['input'];
|
|
1874
1974
|
};
|
|
@@ -1897,6 +1997,19 @@ export type MutationCreateBrandArgs = {
|
|
|
1897
1997
|
export type MutationCreateCityArgs = {
|
|
1898
1998
|
input: CreateCityDto;
|
|
1899
1999
|
};
|
|
2000
|
+
export type MutationCreateClubArgs = {
|
|
2001
|
+
input: CreateClubInput;
|
|
2002
|
+
};
|
|
2003
|
+
export type MutationCreateClubDonationCheckoutArgs = {
|
|
2004
|
+
amount: Scalars['Float']['input'];
|
|
2005
|
+
clubId: Scalars['String']['input'];
|
|
2006
|
+
currency?: Scalars['String']['input'];
|
|
2007
|
+
donorEmail?: InputMaybe<Scalars['String']['input']>;
|
|
2008
|
+
donorName?: InputMaybe<Scalars['String']['input']>;
|
|
2009
|
+
};
|
|
2010
|
+
export type MutationCreateClubStripeAccountArgs = {
|
|
2011
|
+
clubId: Scalars['String']['input'];
|
|
2012
|
+
};
|
|
1900
2013
|
export type MutationCreateCountryArgs = {
|
|
1901
2014
|
input: CreateCountryDto;
|
|
1902
2015
|
};
|
|
@@ -1912,6 +2025,9 @@ export type MutationCreateFundingCampaignArgs = {
|
|
|
1912
2025
|
export type MutationCreateIndustryArgs = {
|
|
1913
2026
|
input: CreateIndustryDto;
|
|
1914
2027
|
};
|
|
2028
|
+
export type MutationCreateMembershipFeeCheckoutArgs = {
|
|
2029
|
+
clubId: Scalars['String']['input'];
|
|
2030
|
+
};
|
|
1915
2031
|
export type MutationCreateMembershipOrganizationArgs = {
|
|
1916
2032
|
input: CreateMembershipOrganizationDto;
|
|
1917
2033
|
};
|
|
@@ -1945,6 +2061,19 @@ export type MutationCreateStripeAccountArgs = {
|
|
|
1945
2061
|
export type MutationCreateStripeCheckoutSessionArgs = {
|
|
1946
2062
|
input: DonationCheckoutDto;
|
|
1947
2063
|
};
|
|
2064
|
+
export type MutationCreateTeamArgs = {
|
|
2065
|
+
input: CreateTeamInput;
|
|
2066
|
+
};
|
|
2067
|
+
export type MutationCreateTeamDonationCheckoutArgs = {
|
|
2068
|
+
amount: Scalars['Float']['input'];
|
|
2069
|
+
currency?: Scalars['String']['input'];
|
|
2070
|
+
donorEmail?: InputMaybe<Scalars['String']['input']>;
|
|
2071
|
+
donorName?: InputMaybe<Scalars['String']['input']>;
|
|
2072
|
+
teamId: Scalars['String']['input'];
|
|
2073
|
+
};
|
|
2074
|
+
export type MutationCreateTeamStripeAccountArgs = {
|
|
2075
|
+
teamId: Scalars['String']['input'];
|
|
2076
|
+
};
|
|
1948
2077
|
export type MutationCreateUserAndLoginArgs = {
|
|
1949
2078
|
user: CreateActiveUserInput;
|
|
1950
2079
|
};
|
|
@@ -2032,6 +2161,27 @@ export type MutationForceDeleteAthleteCompetitionArgs = {
|
|
|
2032
2161
|
export type MutationForceRefreshAthleteScoresArgs = {
|
|
2033
2162
|
input: ForceScoreRefreshDto;
|
|
2034
2163
|
};
|
|
2164
|
+
export type MutationInviteToClubArgs = {
|
|
2165
|
+
athleteId: Scalars['String']['input'];
|
|
2166
|
+
clubId: Scalars['String']['input'];
|
|
2167
|
+
};
|
|
2168
|
+
export type MutationInviteToTeamArgs = {
|
|
2169
|
+
athleteId: Scalars['String']['input'];
|
|
2170
|
+
sportId: Scalars['String']['input'];
|
|
2171
|
+
teamId: Scalars['String']['input'];
|
|
2172
|
+
};
|
|
2173
|
+
export type MutationJoinClubArgs = {
|
|
2174
|
+
input: JoinClubInput;
|
|
2175
|
+
};
|
|
2176
|
+
export type MutationJoinTeamArgs = {
|
|
2177
|
+
input: JoinTeamInput;
|
|
2178
|
+
};
|
|
2179
|
+
export type MutationLeaveClubArgs = {
|
|
2180
|
+
clubId: Scalars['String']['input'];
|
|
2181
|
+
};
|
|
2182
|
+
export type MutationLeaveTeamArgs = {
|
|
2183
|
+
teamId: Scalars['String']['input'];
|
|
2184
|
+
};
|
|
2035
2185
|
export type MutationLinkBrandToSponsorArgs = {
|
|
2036
2186
|
brandId: Scalars['String']['input'];
|
|
2037
2187
|
sponsorId: Scalars['String']['input'];
|
|
@@ -2048,6 +2198,12 @@ export type MutationLoginUserFromEmailArgs = {
|
|
|
2048
2198
|
email: Scalars['String']['input'];
|
|
2049
2199
|
loginMethod: Scalars['String']['input'];
|
|
2050
2200
|
};
|
|
2201
|
+
export type MutationManageClubMemberArgs = {
|
|
2202
|
+
input: ManageClubMemberInput;
|
|
2203
|
+
};
|
|
2204
|
+
export type MutationManageTeamMemberArgs = {
|
|
2205
|
+
input: ManageTeamMemberInput;
|
|
2206
|
+
};
|
|
2051
2207
|
export type MutationMarkAiCoachNudgeReadArgs = {
|
|
2052
2208
|
nudgeId: Scalars['String']['input'];
|
|
2053
2209
|
};
|
|
@@ -2156,6 +2312,9 @@ export type MutationUpdateBrandArgs = {
|
|
|
2156
2312
|
id: Scalars['String']['input'];
|
|
2157
2313
|
input: CreateBrandDto;
|
|
2158
2314
|
};
|
|
2315
|
+
export type MutationUpdateClubArgs = {
|
|
2316
|
+
input: UpdateClubInput;
|
|
2317
|
+
};
|
|
2159
2318
|
export type MutationUpdateEmailCampaignArgs = {
|
|
2160
2319
|
id: Scalars['String']['input'];
|
|
2161
2320
|
input: UpdateEmailCampaignDto;
|
|
@@ -2187,6 +2346,9 @@ export type MutationUpdateSportArgs = {
|
|
|
2187
2346
|
export type MutationUpdateSportsEventArgs = {
|
|
2188
2347
|
input: UpdateSportEventDto;
|
|
2189
2348
|
};
|
|
2349
|
+
export type MutationUpdateTeamArgs = {
|
|
2350
|
+
input: UpdateTeamInput;
|
|
2351
|
+
};
|
|
2190
2352
|
export type MutationUpdateUserSuspendedStatusArgs = {
|
|
2191
2353
|
input: UpdateUserSuspendedStatusDto;
|
|
2192
2354
|
};
|
|
@@ -2524,15 +2686,21 @@ export type Query = {
|
|
|
2524
2686
|
browseCampaigns: BrowseCampaignsResult;
|
|
2525
2687
|
checkScoreRefreshCapabilities: CheckScoreRefreshCapabilityResponse;
|
|
2526
2688
|
existsValidSponsorForEmail: Sponsor;
|
|
2689
|
+
findAllClubs: Array<Club>;
|
|
2690
|
+
findAllTeams: Array<Team>;
|
|
2527
2691
|
findAthleteById: Athlete;
|
|
2528
2692
|
findAthleteForUser: Athlete;
|
|
2529
2693
|
findAthletebyIdpublic: Athlete;
|
|
2530
2694
|
findCitiesStartingWith: Array<City>;
|
|
2531
2695
|
findCityById: City;
|
|
2696
|
+
findClubById: Club;
|
|
2697
|
+
findClubs: Array<Club>;
|
|
2532
2698
|
findIndustryById: Industry;
|
|
2533
2699
|
findMemberForUser: Member;
|
|
2534
2700
|
findSponsorAthleteInvitation: SponsorAthleteInvitation;
|
|
2535
2701
|
findSportById: Sport;
|
|
2702
|
+
findTeamById: Team;
|
|
2703
|
+
findTeams: Array<Team>;
|
|
2536
2704
|
findTenantByEmail: Tenant;
|
|
2537
2705
|
findTenantById: Tenant;
|
|
2538
2706
|
findUserByEmail: User;
|
|
@@ -2565,6 +2733,8 @@ export type Query = {
|
|
|
2565
2733
|
getBudgetConcepts: Array<BudgetConcept>;
|
|
2566
2734
|
getBudgetItemUnits: Array<BudgetItemUnit>;
|
|
2567
2735
|
getBudgetsByAthlete: BudgetData;
|
|
2736
|
+
getClubMembers: Array<AthleteClub>;
|
|
2737
|
+
getClubStripeAccountStatus?: Maybe<StripeAccountStatus>;
|
|
2568
2738
|
getCountries: Array<Country>;
|
|
2569
2739
|
getCountryStates: Array<State>;
|
|
2570
2740
|
getDatabaseTextFile: TextDatabaseFile;
|
|
@@ -2605,6 +2775,11 @@ export type Query = {
|
|
|
2605
2775
|
getStates: Array<State>;
|
|
2606
2776
|
getStravaLoginUrl: Scalars['String']['output'];
|
|
2607
2777
|
getStripeBalance: StripeBalance;
|
|
2778
|
+
getTeamAnalytics: TeamAnalytics;
|
|
2779
|
+
getTeamDashboard: TeamDashboard;
|
|
2780
|
+
getTeamLeaderboard: Array<TeamLeaderboardEntry>;
|
|
2781
|
+
getTeamRoster: Array<AthleteTeam>;
|
|
2782
|
+
getTeamStripeAccountStatus?: Maybe<StripeAccountStatus>;
|
|
2608
2783
|
getTenantSponsorships: Array<Sponsorship>;
|
|
2609
2784
|
getTenants: Array<Tenant>;
|
|
2610
2785
|
getTransactionDetails: TransactionDetails;
|
|
@@ -2688,6 +2863,12 @@ export type QueryFindCitiesStartingWithArgs = {
|
|
|
2688
2863
|
export type QueryFindCityByIdArgs = {
|
|
2689
2864
|
cityId: Scalars['String']['input'];
|
|
2690
2865
|
};
|
|
2866
|
+
export type QueryFindClubByIdArgs = {
|
|
2867
|
+
clubId: Scalars['String']['input'];
|
|
2868
|
+
};
|
|
2869
|
+
export type QueryFindClubsArgs = {
|
|
2870
|
+
sportId?: InputMaybe<Scalars['String']['input']>;
|
|
2871
|
+
};
|
|
2691
2872
|
export type QueryFindIndustryByIdArgs = {
|
|
2692
2873
|
industryId: Scalars['String']['input'];
|
|
2693
2874
|
};
|
|
@@ -2700,6 +2881,13 @@ export type QueryFindSponsorAthleteInvitationArgs = {
|
|
|
2700
2881
|
export type QueryFindSportByIdArgs = {
|
|
2701
2882
|
sportId: Scalars['String']['input'];
|
|
2702
2883
|
};
|
|
2884
|
+
export type QueryFindTeamByIdArgs = {
|
|
2885
|
+
teamId: Scalars['String']['input'];
|
|
2886
|
+
};
|
|
2887
|
+
export type QueryFindTeamsArgs = {
|
|
2888
|
+
clubId?: InputMaybe<Scalars['String']['input']>;
|
|
2889
|
+
sportId?: InputMaybe<Scalars['String']['input']>;
|
|
2890
|
+
};
|
|
2703
2891
|
export type QueryFindTenantByEmailArgs = {
|
|
2704
2892
|
domainId: Scalars['String']['input'];
|
|
2705
2893
|
email: Scalars['String']['input'];
|
|
@@ -2760,6 +2948,12 @@ export type QueryGetBrandTranslationArgs = {
|
|
|
2760
2948
|
export type QueryGetBrandsPaginatedArgs = {
|
|
2761
2949
|
query?: InputMaybe<BrandQueryDto>;
|
|
2762
2950
|
};
|
|
2951
|
+
export type QueryGetClubMembersArgs = {
|
|
2952
|
+
clubId: Scalars['String']['input'];
|
|
2953
|
+
};
|
|
2954
|
+
export type QueryGetClubStripeAccountStatusArgs = {
|
|
2955
|
+
clubId: Scalars['String']['input'];
|
|
2956
|
+
};
|
|
2763
2957
|
export type QueryGetCountryStatesArgs = {
|
|
2764
2958
|
countryId: Scalars['String']['input'];
|
|
2765
2959
|
};
|
|
@@ -2838,6 +3032,21 @@ export type QueryGetSportsPaginatedArgs = {
|
|
|
2838
3032
|
export type QueryGetStateCitiesArgs = {
|
|
2839
3033
|
stateId: Scalars['String']['input'];
|
|
2840
3034
|
};
|
|
3035
|
+
export type QueryGetTeamAnalyticsArgs = {
|
|
3036
|
+
teamId: Scalars['String']['input'];
|
|
3037
|
+
};
|
|
3038
|
+
export type QueryGetTeamDashboardArgs = {
|
|
3039
|
+
teamId: Scalars['String']['input'];
|
|
3040
|
+
};
|
|
3041
|
+
export type QueryGetTeamLeaderboardArgs = {
|
|
3042
|
+
teamId: Scalars['String']['input'];
|
|
3043
|
+
};
|
|
3044
|
+
export type QueryGetTeamRosterArgs = {
|
|
3045
|
+
teamId: Scalars['String']['input'];
|
|
3046
|
+
};
|
|
3047
|
+
export type QueryGetTeamStripeAccountStatusArgs = {
|
|
3048
|
+
teamId: Scalars['String']['input'];
|
|
3049
|
+
};
|
|
2841
3050
|
export type QueryGetTransactionDetailsArgs = {
|
|
2842
3051
|
input: GetTransactionDetailsDto;
|
|
2843
3052
|
};
|
|
@@ -3369,7 +3578,6 @@ export type StravaAthleteData = {
|
|
|
3369
3578
|
state?: Maybe<Scalars['String']['output']>;
|
|
3370
3579
|
updated_at?: Maybe<Scalars['String']['output']>;
|
|
3371
3580
|
username?: Maybe<Scalars['String']['output']>;
|
|
3372
|
-
weight?: Maybe<Scalars['Float']['output']>;
|
|
3373
3581
|
};
|
|
3374
3582
|
export type StravaTpiRideDto = {
|
|
3375
3583
|
averageCadenceStm: Scalars['Float']['output'];
|
|
@@ -3458,6 +3666,11 @@ export type StripeAccountReference = {
|
|
|
3458
3666
|
account?: Maybe<StripeAccount>;
|
|
3459
3667
|
stripeAccountId: Scalars['String']['output'];
|
|
3460
3668
|
};
|
|
3669
|
+
export type StripeAccountStatus = {
|
|
3670
|
+
chargesEnabled: Scalars['Boolean']['output'];
|
|
3671
|
+
detailsSubmitted: Scalars['Boolean']['output'];
|
|
3672
|
+
payoutsEnabled: Scalars['Boolean']['output'];
|
|
3673
|
+
};
|
|
3461
3674
|
export type StripeBalance = {
|
|
3462
3675
|
availableBalances: Array<CurrencyAmountType>;
|
|
3463
3676
|
availableUSD: Scalars['Float']['output'];
|
|
@@ -3608,10 +3821,51 @@ export type Team = {
|
|
|
3608
3821
|
_id: Scalars['String']['output'];
|
|
3609
3822
|
approved?: Maybe<Scalars['Boolean']['output']>;
|
|
3610
3823
|
banner?: Maybe<Awss3File>;
|
|
3824
|
+
clubId?: Maybe<Scalars['String']['output']>;
|
|
3611
3825
|
description?: Maybe<Scalars['String']['output']>;
|
|
3826
|
+
joinPolicy?: Maybe<Scalars['String']['output']>;
|
|
3612
3827
|
logo?: Maybe<Awss3File>;
|
|
3828
|
+
maxRosterSize?: Maybe<Scalars['Int']['output']>;
|
|
3613
3829
|
name: Scalars['String']['output'];
|
|
3614
3830
|
sports?: Maybe<Array<Sport>>;
|
|
3831
|
+
stripeAccountId?: Maybe<Scalars['String']['output']>;
|
|
3832
|
+
visibility?: Maybe<Scalars['String']['output']>;
|
|
3833
|
+
vtxScore?: Maybe<Scalars['Float']['output']>;
|
|
3834
|
+
};
|
|
3835
|
+
export type TeamAnalytics = {
|
|
3836
|
+
athleteCount: Scalars['Int']['output'];
|
|
3837
|
+
rosterSize?: Maybe<Scalars['Int']['output']>;
|
|
3838
|
+
teamId: Scalars['String']['output'];
|
|
3839
|
+
teamName: Scalars['String']['output'];
|
|
3840
|
+
topPerformers?: Maybe<Array<TeamLeaderboardEntry>>;
|
|
3841
|
+
vtxScore?: Maybe<Scalars['Float']['output']>;
|
|
3842
|
+
vtxScoreHistory?: Maybe<Array<TeamVtxScoreHistoryEntry>>;
|
|
3843
|
+
};
|
|
3844
|
+
export type TeamDashboard = {
|
|
3845
|
+
analytics: TeamAnalytics;
|
|
3846
|
+
leaderboard: Array<TeamLeaderboardEntry>;
|
|
3847
|
+
roster: TeamRosterOverview;
|
|
3848
|
+
};
|
|
3849
|
+
export type TeamLeaderboardEntry = {
|
|
3850
|
+
apiScore?: Maybe<Scalars['Float']['output']>;
|
|
3851
|
+
athleteId: Scalars['String']['output'];
|
|
3852
|
+
athleteName: Scalars['String']['output'];
|
|
3853
|
+
athletePhoto?: Maybe<Scalars['String']['output']>;
|
|
3854
|
+
rank: Scalars['Int']['output'];
|
|
3855
|
+
spiScore?: Maybe<Scalars['Float']['output']>;
|
|
3856
|
+
sport?: Maybe<Scalars['String']['output']>;
|
|
3857
|
+
tpiScore?: Maybe<Scalars['Float']['output']>;
|
|
3858
|
+
vtxScore: Scalars['Float']['output'];
|
|
3859
|
+
};
|
|
3860
|
+
export type TeamRosterOverview = {
|
|
3861
|
+
recentDepartures: Scalars['Int']['output'];
|
|
3862
|
+
recentJoins: Scalars['Int']['output'];
|
|
3863
|
+
totalActive: Scalars['Int']['output'];
|
|
3864
|
+
totalInactive: Scalars['Int']['output'];
|
|
3865
|
+
};
|
|
3866
|
+
export type TeamVtxScoreHistoryEntry = {
|
|
3867
|
+
date: Scalars['DateTime']['output'];
|
|
3868
|
+
score: Scalars['Float']['output'];
|
|
3615
3869
|
};
|
|
3616
3870
|
export type Tenant = {
|
|
3617
3871
|
_id: Scalars['String']['output'];
|
|
@@ -3690,6 +3944,16 @@ export type UpdateAiCoachConfigDto = {
|
|
|
3690
3944
|
nudgesEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3691
3945
|
preferredFocus?: InputMaybe<Scalars['String']['input']>;
|
|
3692
3946
|
};
|
|
3947
|
+
export type UpdateClubInput = {
|
|
3948
|
+
clubId: Scalars['String']['input'];
|
|
3949
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
3950
|
+
feeStructure?: InputMaybe<Scalars['JSON']['input']>;
|
|
3951
|
+
location?: InputMaybe<Scalars['String']['input']>;
|
|
3952
|
+
membershipType?: InputMaybe<Scalars['String']['input']>;
|
|
3953
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
3954
|
+
visibility?: InputMaybe<Scalars['String']['input']>;
|
|
3955
|
+
website?: InputMaybe<Scalars['String']['input']>;
|
|
3956
|
+
};
|
|
3693
3957
|
export type UpdateDatabaseFileDto = {
|
|
3694
3958
|
_id: Scalars['String']['input'];
|
|
3695
3959
|
contentType?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3701,7 +3965,6 @@ export type UpdateEmailCampaignDto = {
|
|
|
3701
3965
|
htmlContent?: InputMaybe<Scalars['String']['input']>;
|
|
3702
3966
|
scheduledFor?: InputMaybe<Scalars['DateTime']['input']>;
|
|
3703
3967
|
segmentId?: InputMaybe<Scalars['String']['input']>;
|
|
3704
|
-
status?: InputMaybe<Scalars['String']['input']>;
|
|
3705
3968
|
subject?: InputMaybe<Scalars['String']['input']>;
|
|
3706
3969
|
templateId?: InputMaybe<Scalars['String']['input']>;
|
|
3707
3970
|
templateName?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3756,6 +4019,14 @@ export type UpdateSportEventDto = {
|
|
|
3756
4019
|
startDate?: InputMaybe<Scalars['DateTime']['input']>;
|
|
3757
4020
|
website?: InputMaybe<Scalars['String']['input']>;
|
|
3758
4021
|
};
|
|
4022
|
+
export type UpdateTeamInput = {
|
|
4023
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
4024
|
+
joinPolicy?: InputMaybe<Scalars['String']['input']>;
|
|
4025
|
+
maxRosterSize?: InputMaybe<Scalars['Int']['input']>;
|
|
4026
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
4027
|
+
teamId: Scalars['String']['input'];
|
|
4028
|
+
visibility?: InputMaybe<Scalars['String']['input']>;
|
|
4029
|
+
};
|
|
3759
4030
|
export type UpdateTextDatabaseFileDto = {
|
|
3760
4031
|
_id: Scalars['String']['input'];
|
|
3761
4032
|
content?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -10725,7 +10996,6 @@ export type GetAthleteIntegrationsByAthleteQuery = {
|
|
|
10725
10996
|
getAthleteInstagramIntegration: {
|
|
10726
10997
|
_id: string;
|
|
10727
10998
|
hasInstagramIntegration?: boolean | null;
|
|
10728
|
-
instagramTokenExpires?: string | null;
|
|
10729
10999
|
athlete: {
|
|
10730
11000
|
_id: string;
|
|
10731
11001
|
};
|
|
@@ -10774,7 +11044,6 @@ export type GetAthleteStravaIntegrationQuery = {
|
|
|
10774
11044
|
getAthleteStravaIntegration: {
|
|
10775
11045
|
_id: string;
|
|
10776
11046
|
hasStravaIntegration?: boolean | null;
|
|
10777
|
-
stravaTokenExpires?: string | null;
|
|
10778
11047
|
athlete: {
|
|
10779
11048
|
_id: string;
|
|
10780
11049
|
};
|
|
@@ -10792,7 +11061,6 @@ export type GetAthleteStravaIntegrationQuery = {
|
|
|
10792
11061
|
profile?: string | null;
|
|
10793
11062
|
created_at?: string | null;
|
|
10794
11063
|
updated_at?: string | null;
|
|
10795
|
-
weight?: number | null;
|
|
10796
11064
|
} | null;
|
|
10797
11065
|
};
|
|
10798
11066
|
};
|
|
@@ -10803,7 +11071,6 @@ export type GetAthleteInstagramIntegrationQuery = {
|
|
|
10803
11071
|
getAthleteInstagramIntegration: {
|
|
10804
11072
|
_id: string;
|
|
10805
11073
|
hasInstagramIntegration?: boolean | null;
|
|
10806
|
-
instagramTokenExpires?: string | null;
|
|
10807
11074
|
athlete: {
|
|
10808
11075
|
_id: string;
|
|
10809
11076
|
};
|
|
@@ -10852,9 +11119,7 @@ export type GetAthleteIntegrationsQuery = {
|
|
|
10852
11119
|
getAthleteIntegrations: {
|
|
10853
11120
|
_id: string;
|
|
10854
11121
|
hasStravaIntegration?: boolean | null;
|
|
10855
|
-
stravaTokenExpires?: string | null;
|
|
10856
11122
|
hasInstagramIntegration?: boolean | null;
|
|
10857
|
-
instagramTokenExpires?: string | null;
|
|
10858
11123
|
athlete: {
|
|
10859
11124
|
_id: string;
|
|
10860
11125
|
};
|
|
@@ -10872,7 +11137,6 @@ export type GetAthleteIntegrationsQuery = {
|
|
|
10872
11137
|
profile?: string | null;
|
|
10873
11138
|
created_at?: string | null;
|
|
10874
11139
|
updated_at?: string | null;
|
|
10875
|
-
weight?: number | null;
|
|
10876
11140
|
} | null;
|
|
10877
11141
|
instagramUserData?: {
|
|
10878
11142
|
user_id: string;
|
|
@@ -12730,6 +12994,808 @@ export type CreateCityMutation = {
|
|
|
12730
12994
|
timezone?: string | null;
|
|
12731
12995
|
};
|
|
12732
12996
|
};
|
|
12997
|
+
export type TeamFieldsFragment = {
|
|
12998
|
+
_id: string;
|
|
12999
|
+
name: string;
|
|
13000
|
+
description?: string | null;
|
|
13001
|
+
approved?: boolean | null;
|
|
13002
|
+
clubId?: string | null;
|
|
13003
|
+
joinPolicy?: string | null;
|
|
13004
|
+
maxRosterSize?: number | null;
|
|
13005
|
+
visibility?: string | null;
|
|
13006
|
+
stripeAccountId?: string | null;
|
|
13007
|
+
vtxScore?: number | null;
|
|
13008
|
+
sports?: Array<{
|
|
13009
|
+
_id: string;
|
|
13010
|
+
name: string;
|
|
13011
|
+
}> | null;
|
|
13012
|
+
logo?: {
|
|
13013
|
+
_id: string;
|
|
13014
|
+
url: string;
|
|
13015
|
+
key: string;
|
|
13016
|
+
} | null;
|
|
13017
|
+
banner?: {
|
|
13018
|
+
_id: string;
|
|
13019
|
+
url: string;
|
|
13020
|
+
key: string;
|
|
13021
|
+
} | null;
|
|
13022
|
+
};
|
|
13023
|
+
export type ClubFieldsFragment = {
|
|
13024
|
+
_id: string;
|
|
13025
|
+
name: string;
|
|
13026
|
+
description?: string | null;
|
|
13027
|
+
location?: string | null;
|
|
13028
|
+
website?: string | null;
|
|
13029
|
+
membershipType: string;
|
|
13030
|
+
feeStructure?: any | null;
|
|
13031
|
+
approved?: boolean | null;
|
|
13032
|
+
visibility: string;
|
|
13033
|
+
stripeAccountId?: string | null;
|
|
13034
|
+
sports?: Array<{
|
|
13035
|
+
_id: string;
|
|
13036
|
+
name: string;
|
|
13037
|
+
}> | null;
|
|
13038
|
+
logo?: {
|
|
13039
|
+
_id: string;
|
|
13040
|
+
url: string;
|
|
13041
|
+
key: string;
|
|
13042
|
+
} | null;
|
|
13043
|
+
banner?: {
|
|
13044
|
+
_id: string;
|
|
13045
|
+
url: string;
|
|
13046
|
+
key: string;
|
|
13047
|
+
} | null;
|
|
13048
|
+
teams?: Array<{
|
|
13049
|
+
_id: string;
|
|
13050
|
+
name: string;
|
|
13051
|
+
description?: string | null;
|
|
13052
|
+
approved?: boolean | null;
|
|
13053
|
+
clubId?: string | null;
|
|
13054
|
+
joinPolicy?: string | null;
|
|
13055
|
+
maxRosterSize?: number | null;
|
|
13056
|
+
visibility?: string | null;
|
|
13057
|
+
stripeAccountId?: string | null;
|
|
13058
|
+
vtxScore?: number | null;
|
|
13059
|
+
sports?: Array<{
|
|
13060
|
+
_id: string;
|
|
13061
|
+
name: string;
|
|
13062
|
+
}> | null;
|
|
13063
|
+
logo?: {
|
|
13064
|
+
_id: string;
|
|
13065
|
+
url: string;
|
|
13066
|
+
key: string;
|
|
13067
|
+
} | null;
|
|
13068
|
+
banner?: {
|
|
13069
|
+
_id: string;
|
|
13070
|
+
url: string;
|
|
13071
|
+
key: string;
|
|
13072
|
+
} | null;
|
|
13073
|
+
}> | null;
|
|
13074
|
+
};
|
|
13075
|
+
export type AthleteTeamFieldsFragment = {
|
|
13076
|
+
_id: string;
|
|
13077
|
+
teamId: string;
|
|
13078
|
+
athleteId: string;
|
|
13079
|
+
sportId: string;
|
|
13080
|
+
role: string;
|
|
13081
|
+
status: string;
|
|
13082
|
+
joinedAt?: string | null;
|
|
13083
|
+
leftAt?: string | null;
|
|
13084
|
+
};
|
|
13085
|
+
export type AthleteClubFieldsFragment = {
|
|
13086
|
+
_id: string;
|
|
13087
|
+
clubId: string;
|
|
13088
|
+
athleteId: string;
|
|
13089
|
+
role: string;
|
|
13090
|
+
status: string;
|
|
13091
|
+
joinedAt?: string | null;
|
|
13092
|
+
leftAt?: string | null;
|
|
13093
|
+
club?: {
|
|
13094
|
+
_id: string;
|
|
13095
|
+
name: string;
|
|
13096
|
+
} | null;
|
|
13097
|
+
};
|
|
13098
|
+
export type TeamAnalyticsFieldsFragment = {
|
|
13099
|
+
teamId: string;
|
|
13100
|
+
teamName: string;
|
|
13101
|
+
vtxScore?: number | null;
|
|
13102
|
+
athleteCount: number;
|
|
13103
|
+
rosterSize?: number | null;
|
|
13104
|
+
vtxScoreHistory?: Array<{
|
|
13105
|
+
date: string;
|
|
13106
|
+
score: number;
|
|
13107
|
+
}> | null;
|
|
13108
|
+
topPerformers?: Array<{
|
|
13109
|
+
athleteId: string;
|
|
13110
|
+
athleteName: string;
|
|
13111
|
+
athletePhoto?: string | null;
|
|
13112
|
+
sport?: string | null;
|
|
13113
|
+
vtxScore: number;
|
|
13114
|
+
rank: number;
|
|
13115
|
+
tpiScore?: number | null;
|
|
13116
|
+
spiScore?: number | null;
|
|
13117
|
+
apiScore?: number | null;
|
|
13118
|
+
}> | null;
|
|
13119
|
+
};
|
|
13120
|
+
export type TeamLeaderboardEntryFieldsFragment = {
|
|
13121
|
+
athleteId: string;
|
|
13122
|
+
athleteName: string;
|
|
13123
|
+
athletePhoto?: string | null;
|
|
13124
|
+
sport?: string | null;
|
|
13125
|
+
vtxScore: number;
|
|
13126
|
+
rank: number;
|
|
13127
|
+
tpiScore?: number | null;
|
|
13128
|
+
spiScore?: number | null;
|
|
13129
|
+
apiScore?: number | null;
|
|
13130
|
+
};
|
|
13131
|
+
export type FindTeamByIdQueryVariables = Exact<{
|
|
13132
|
+
teamId: Scalars['String']['input'];
|
|
13133
|
+
}>;
|
|
13134
|
+
export type FindTeamByIdQuery = {
|
|
13135
|
+
findTeamById: {
|
|
13136
|
+
_id: string;
|
|
13137
|
+
name: string;
|
|
13138
|
+
description?: string | null;
|
|
13139
|
+
approved?: boolean | null;
|
|
13140
|
+
clubId?: string | null;
|
|
13141
|
+
joinPolicy?: string | null;
|
|
13142
|
+
maxRosterSize?: number | null;
|
|
13143
|
+
visibility?: string | null;
|
|
13144
|
+
stripeAccountId?: string | null;
|
|
13145
|
+
vtxScore?: number | null;
|
|
13146
|
+
sports?: Array<{
|
|
13147
|
+
_id: string;
|
|
13148
|
+
name: string;
|
|
13149
|
+
}> | null;
|
|
13150
|
+
logo?: {
|
|
13151
|
+
_id: string;
|
|
13152
|
+
url: string;
|
|
13153
|
+
key: string;
|
|
13154
|
+
} | null;
|
|
13155
|
+
banner?: {
|
|
13156
|
+
_id: string;
|
|
13157
|
+
url: string;
|
|
13158
|
+
key: string;
|
|
13159
|
+
} | null;
|
|
13160
|
+
};
|
|
13161
|
+
};
|
|
13162
|
+
export type FindTeamsQueryVariables = Exact<{
|
|
13163
|
+
sportId?: InputMaybe<Scalars['String']['input']>;
|
|
13164
|
+
clubId?: InputMaybe<Scalars['String']['input']>;
|
|
13165
|
+
}>;
|
|
13166
|
+
export type FindTeamsQuery = {
|
|
13167
|
+
findTeams: Array<{
|
|
13168
|
+
_id: string;
|
|
13169
|
+
name: string;
|
|
13170
|
+
description?: string | null;
|
|
13171
|
+
approved?: boolean | null;
|
|
13172
|
+
clubId?: string | null;
|
|
13173
|
+
joinPolicy?: string | null;
|
|
13174
|
+
maxRosterSize?: number | null;
|
|
13175
|
+
visibility?: string | null;
|
|
13176
|
+
stripeAccountId?: string | null;
|
|
13177
|
+
vtxScore?: number | null;
|
|
13178
|
+
sports?: Array<{
|
|
13179
|
+
_id: string;
|
|
13180
|
+
name: string;
|
|
13181
|
+
}> | null;
|
|
13182
|
+
logo?: {
|
|
13183
|
+
_id: string;
|
|
13184
|
+
url: string;
|
|
13185
|
+
key: string;
|
|
13186
|
+
} | null;
|
|
13187
|
+
banner?: {
|
|
13188
|
+
_id: string;
|
|
13189
|
+
url: string;
|
|
13190
|
+
key: string;
|
|
13191
|
+
} | null;
|
|
13192
|
+
}>;
|
|
13193
|
+
};
|
|
13194
|
+
export type GetTeamRosterQueryVariables = Exact<{
|
|
13195
|
+
teamId: Scalars['String']['input'];
|
|
13196
|
+
}>;
|
|
13197
|
+
export type GetTeamRosterQuery = {
|
|
13198
|
+
getTeamRoster: Array<{
|
|
13199
|
+
_id: string;
|
|
13200
|
+
teamId: string;
|
|
13201
|
+
athleteId: string;
|
|
13202
|
+
sportId: string;
|
|
13203
|
+
role: string;
|
|
13204
|
+
status: string;
|
|
13205
|
+
joinedAt?: string | null;
|
|
13206
|
+
leftAt?: string | null;
|
|
13207
|
+
}>;
|
|
13208
|
+
};
|
|
13209
|
+
export type GetTeamAnalyticsQueryVariables = Exact<{
|
|
13210
|
+
teamId: Scalars['String']['input'];
|
|
13211
|
+
}>;
|
|
13212
|
+
export type GetTeamAnalyticsQuery = {
|
|
13213
|
+
getTeamAnalytics: {
|
|
13214
|
+
teamId: string;
|
|
13215
|
+
teamName: string;
|
|
13216
|
+
vtxScore?: number | null;
|
|
13217
|
+
athleteCount: number;
|
|
13218
|
+
rosterSize?: number | null;
|
|
13219
|
+
vtxScoreHistory?: Array<{
|
|
13220
|
+
date: string;
|
|
13221
|
+
score: number;
|
|
13222
|
+
}> | null;
|
|
13223
|
+
topPerformers?: Array<{
|
|
13224
|
+
athleteId: string;
|
|
13225
|
+
athleteName: string;
|
|
13226
|
+
athletePhoto?: string | null;
|
|
13227
|
+
sport?: string | null;
|
|
13228
|
+
vtxScore: number;
|
|
13229
|
+
rank: number;
|
|
13230
|
+
tpiScore?: number | null;
|
|
13231
|
+
spiScore?: number | null;
|
|
13232
|
+
apiScore?: number | null;
|
|
13233
|
+
}> | null;
|
|
13234
|
+
};
|
|
13235
|
+
};
|
|
13236
|
+
export type GetTeamLeaderboardQueryVariables = Exact<{
|
|
13237
|
+
teamId: Scalars['String']['input'];
|
|
13238
|
+
}>;
|
|
13239
|
+
export type GetTeamLeaderboardQuery = {
|
|
13240
|
+
getTeamLeaderboard: Array<{
|
|
13241
|
+
athleteId: string;
|
|
13242
|
+
athleteName: string;
|
|
13243
|
+
athletePhoto?: string | null;
|
|
13244
|
+
sport?: string | null;
|
|
13245
|
+
vtxScore: number;
|
|
13246
|
+
rank: number;
|
|
13247
|
+
tpiScore?: number | null;
|
|
13248
|
+
spiScore?: number | null;
|
|
13249
|
+
apiScore?: number | null;
|
|
13250
|
+
}>;
|
|
13251
|
+
};
|
|
13252
|
+
export type GetTeamDashboardQueryVariables = Exact<{
|
|
13253
|
+
teamId: Scalars['String']['input'];
|
|
13254
|
+
}>;
|
|
13255
|
+
export type GetTeamDashboardQuery = {
|
|
13256
|
+
getTeamDashboard: {
|
|
13257
|
+
analytics: {
|
|
13258
|
+
teamId: string;
|
|
13259
|
+
teamName: string;
|
|
13260
|
+
vtxScore?: number | null;
|
|
13261
|
+
athleteCount: number;
|
|
13262
|
+
rosterSize?: number | null;
|
|
13263
|
+
vtxScoreHistory?: Array<{
|
|
13264
|
+
date: string;
|
|
13265
|
+
score: number;
|
|
13266
|
+
}> | null;
|
|
13267
|
+
topPerformers?: Array<{
|
|
13268
|
+
athleteId: string;
|
|
13269
|
+
athleteName: string;
|
|
13270
|
+
athletePhoto?: string | null;
|
|
13271
|
+
sport?: string | null;
|
|
13272
|
+
vtxScore: number;
|
|
13273
|
+
rank: number;
|
|
13274
|
+
tpiScore?: number | null;
|
|
13275
|
+
spiScore?: number | null;
|
|
13276
|
+
apiScore?: number | null;
|
|
13277
|
+
}> | null;
|
|
13278
|
+
};
|
|
13279
|
+
roster: {
|
|
13280
|
+
totalActive: number;
|
|
13281
|
+
totalInactive: number;
|
|
13282
|
+
recentJoins: number;
|
|
13283
|
+
recentDepartures: number;
|
|
13284
|
+
};
|
|
13285
|
+
leaderboard: Array<{
|
|
13286
|
+
athleteId: string;
|
|
13287
|
+
athleteName: string;
|
|
13288
|
+
athletePhoto?: string | null;
|
|
13289
|
+
sport?: string | null;
|
|
13290
|
+
vtxScore: number;
|
|
13291
|
+
rank: number;
|
|
13292
|
+
tpiScore?: number | null;
|
|
13293
|
+
spiScore?: number | null;
|
|
13294
|
+
apiScore?: number | null;
|
|
13295
|
+
}>;
|
|
13296
|
+
};
|
|
13297
|
+
};
|
|
13298
|
+
export type GetTeamStripeAccountStatusQueryVariables = Exact<{
|
|
13299
|
+
teamId: Scalars['String']['input'];
|
|
13300
|
+
}>;
|
|
13301
|
+
export type GetTeamStripeAccountStatusQuery = {
|
|
13302
|
+
getTeamStripeAccountStatus?: {
|
|
13303
|
+
chargesEnabled: boolean;
|
|
13304
|
+
payoutsEnabled: boolean;
|
|
13305
|
+
detailsSubmitted: boolean;
|
|
13306
|
+
} | null;
|
|
13307
|
+
};
|
|
13308
|
+
export type CreateTeamMutationVariables = Exact<{
|
|
13309
|
+
input: CreateTeamInput;
|
|
13310
|
+
}>;
|
|
13311
|
+
export type CreateTeamMutation = {
|
|
13312
|
+
createTeam: {
|
|
13313
|
+
_id: string;
|
|
13314
|
+
name: string;
|
|
13315
|
+
description?: string | null;
|
|
13316
|
+
approved?: boolean | null;
|
|
13317
|
+
clubId?: string | null;
|
|
13318
|
+
joinPolicy?: string | null;
|
|
13319
|
+
maxRosterSize?: number | null;
|
|
13320
|
+
visibility?: string | null;
|
|
13321
|
+
stripeAccountId?: string | null;
|
|
13322
|
+
vtxScore?: number | null;
|
|
13323
|
+
sports?: Array<{
|
|
13324
|
+
_id: string;
|
|
13325
|
+
name: string;
|
|
13326
|
+
}> | null;
|
|
13327
|
+
logo?: {
|
|
13328
|
+
_id: string;
|
|
13329
|
+
url: string;
|
|
13330
|
+
key: string;
|
|
13331
|
+
} | null;
|
|
13332
|
+
banner?: {
|
|
13333
|
+
_id: string;
|
|
13334
|
+
url: string;
|
|
13335
|
+
key: string;
|
|
13336
|
+
} | null;
|
|
13337
|
+
};
|
|
13338
|
+
};
|
|
13339
|
+
export type UpdateTeamMutationVariables = Exact<{
|
|
13340
|
+
input: UpdateTeamInput;
|
|
13341
|
+
}>;
|
|
13342
|
+
export type UpdateTeamMutation = {
|
|
13343
|
+
updateTeam: {
|
|
13344
|
+
_id: string;
|
|
13345
|
+
name: string;
|
|
13346
|
+
description?: string | null;
|
|
13347
|
+
approved?: boolean | null;
|
|
13348
|
+
clubId?: string | null;
|
|
13349
|
+
joinPolicy?: string | null;
|
|
13350
|
+
maxRosterSize?: number | null;
|
|
13351
|
+
visibility?: string | null;
|
|
13352
|
+
stripeAccountId?: string | null;
|
|
13353
|
+
vtxScore?: number | null;
|
|
13354
|
+
sports?: Array<{
|
|
13355
|
+
_id: string;
|
|
13356
|
+
name: string;
|
|
13357
|
+
}> | null;
|
|
13358
|
+
logo?: {
|
|
13359
|
+
_id: string;
|
|
13360
|
+
url: string;
|
|
13361
|
+
key: string;
|
|
13362
|
+
} | null;
|
|
13363
|
+
banner?: {
|
|
13364
|
+
_id: string;
|
|
13365
|
+
url: string;
|
|
13366
|
+
key: string;
|
|
13367
|
+
} | null;
|
|
13368
|
+
};
|
|
13369
|
+
};
|
|
13370
|
+
export type JoinTeamMutationVariables = Exact<{
|
|
13371
|
+
input: JoinTeamInput;
|
|
13372
|
+
}>;
|
|
13373
|
+
export type JoinTeamMutation = {
|
|
13374
|
+
joinTeam: {
|
|
13375
|
+
_id: string;
|
|
13376
|
+
teamId: string;
|
|
13377
|
+
athleteId: string;
|
|
13378
|
+
sportId: string;
|
|
13379
|
+
role: string;
|
|
13380
|
+
status: string;
|
|
13381
|
+
joinedAt?: string | null;
|
|
13382
|
+
leftAt?: string | null;
|
|
13383
|
+
};
|
|
13384
|
+
};
|
|
13385
|
+
export type LeaveTeamMutationVariables = Exact<{
|
|
13386
|
+
teamId: Scalars['String']['input'];
|
|
13387
|
+
}>;
|
|
13388
|
+
export type LeaveTeamMutation = {
|
|
13389
|
+
leaveTeam: {
|
|
13390
|
+
_id: string;
|
|
13391
|
+
teamId: string;
|
|
13392
|
+
athleteId: string;
|
|
13393
|
+
sportId: string;
|
|
13394
|
+
role: string;
|
|
13395
|
+
status: string;
|
|
13396
|
+
joinedAt?: string | null;
|
|
13397
|
+
leftAt?: string | null;
|
|
13398
|
+
};
|
|
13399
|
+
};
|
|
13400
|
+
export type InviteToTeamMutationVariables = Exact<{
|
|
13401
|
+
teamId: Scalars['String']['input'];
|
|
13402
|
+
athleteId: Scalars['String']['input'];
|
|
13403
|
+
sportId: Scalars['String']['input'];
|
|
13404
|
+
}>;
|
|
13405
|
+
export type InviteToTeamMutation = {
|
|
13406
|
+
inviteToTeam: {
|
|
13407
|
+
_id: string;
|
|
13408
|
+
teamId: string;
|
|
13409
|
+
athleteId: string;
|
|
13410
|
+
sportId: string;
|
|
13411
|
+
role: string;
|
|
13412
|
+
status: string;
|
|
13413
|
+
joinedAt?: string | null;
|
|
13414
|
+
leftAt?: string | null;
|
|
13415
|
+
};
|
|
13416
|
+
};
|
|
13417
|
+
export type ManageTeamMemberMutationVariables = Exact<{
|
|
13418
|
+
input: ManageTeamMemberInput;
|
|
13419
|
+
}>;
|
|
13420
|
+
export type ManageTeamMemberMutation = {
|
|
13421
|
+
manageTeamMember: {
|
|
13422
|
+
_id: string;
|
|
13423
|
+
teamId: string;
|
|
13424
|
+
athleteId: string;
|
|
13425
|
+
sportId: string;
|
|
13426
|
+
role: string;
|
|
13427
|
+
status: string;
|
|
13428
|
+
joinedAt?: string | null;
|
|
13429
|
+
leftAt?: string | null;
|
|
13430
|
+
};
|
|
13431
|
+
};
|
|
13432
|
+
export type CreateTeamStripeAccountMutationVariables = Exact<{
|
|
13433
|
+
teamId: Scalars['String']['input'];
|
|
13434
|
+
}>;
|
|
13435
|
+
export type CreateTeamStripeAccountMutation = {
|
|
13436
|
+
createTeamStripeAccount: string;
|
|
13437
|
+
};
|
|
13438
|
+
export type CreateTeamDonationCheckoutMutationVariables = Exact<{
|
|
13439
|
+
teamId: Scalars['String']['input'];
|
|
13440
|
+
amount: Scalars['Float']['input'];
|
|
13441
|
+
currency?: Scalars['String']['input'];
|
|
13442
|
+
donorEmail?: InputMaybe<Scalars['String']['input']>;
|
|
13443
|
+
donorName?: InputMaybe<Scalars['String']['input']>;
|
|
13444
|
+
}>;
|
|
13445
|
+
export type CreateTeamDonationCheckoutMutation = {
|
|
13446
|
+
createTeamDonationCheckout: string;
|
|
13447
|
+
};
|
|
13448
|
+
export type FindClubByIdQueryVariables = Exact<{
|
|
13449
|
+
clubId: Scalars['String']['input'];
|
|
13450
|
+
}>;
|
|
13451
|
+
export type FindClubByIdQuery = {
|
|
13452
|
+
findClubById: {
|
|
13453
|
+
_id: string;
|
|
13454
|
+
name: string;
|
|
13455
|
+
description?: string | null;
|
|
13456
|
+
location?: string | null;
|
|
13457
|
+
website?: string | null;
|
|
13458
|
+
membershipType: string;
|
|
13459
|
+
feeStructure?: any | null;
|
|
13460
|
+
approved?: boolean | null;
|
|
13461
|
+
visibility: string;
|
|
13462
|
+
stripeAccountId?: string | null;
|
|
13463
|
+
sports?: Array<{
|
|
13464
|
+
_id: string;
|
|
13465
|
+
name: string;
|
|
13466
|
+
}> | null;
|
|
13467
|
+
logo?: {
|
|
13468
|
+
_id: string;
|
|
13469
|
+
url: string;
|
|
13470
|
+
key: string;
|
|
13471
|
+
} | null;
|
|
13472
|
+
banner?: {
|
|
13473
|
+
_id: string;
|
|
13474
|
+
url: string;
|
|
13475
|
+
key: string;
|
|
13476
|
+
} | null;
|
|
13477
|
+
teams?: Array<{
|
|
13478
|
+
_id: string;
|
|
13479
|
+
name: string;
|
|
13480
|
+
description?: string | null;
|
|
13481
|
+
approved?: boolean | null;
|
|
13482
|
+
clubId?: string | null;
|
|
13483
|
+
joinPolicy?: string | null;
|
|
13484
|
+
maxRosterSize?: number | null;
|
|
13485
|
+
visibility?: string | null;
|
|
13486
|
+
stripeAccountId?: string | null;
|
|
13487
|
+
vtxScore?: number | null;
|
|
13488
|
+
sports?: Array<{
|
|
13489
|
+
_id: string;
|
|
13490
|
+
name: string;
|
|
13491
|
+
}> | null;
|
|
13492
|
+
logo?: {
|
|
13493
|
+
_id: string;
|
|
13494
|
+
url: string;
|
|
13495
|
+
key: string;
|
|
13496
|
+
} | null;
|
|
13497
|
+
banner?: {
|
|
13498
|
+
_id: string;
|
|
13499
|
+
url: string;
|
|
13500
|
+
key: string;
|
|
13501
|
+
} | null;
|
|
13502
|
+
}> | null;
|
|
13503
|
+
};
|
|
13504
|
+
};
|
|
13505
|
+
export type FindClubsQueryVariables = Exact<{
|
|
13506
|
+
sportId?: InputMaybe<Scalars['String']['input']>;
|
|
13507
|
+
}>;
|
|
13508
|
+
export type FindClubsQuery = {
|
|
13509
|
+
findClubs: Array<{
|
|
13510
|
+
_id: string;
|
|
13511
|
+
name: string;
|
|
13512
|
+
description?: string | null;
|
|
13513
|
+
location?: string | null;
|
|
13514
|
+
website?: string | null;
|
|
13515
|
+
membershipType: string;
|
|
13516
|
+
feeStructure?: any | null;
|
|
13517
|
+
approved?: boolean | null;
|
|
13518
|
+
visibility: string;
|
|
13519
|
+
stripeAccountId?: string | null;
|
|
13520
|
+
sports?: Array<{
|
|
13521
|
+
_id: string;
|
|
13522
|
+
name: string;
|
|
13523
|
+
}> | null;
|
|
13524
|
+
logo?: {
|
|
13525
|
+
_id: string;
|
|
13526
|
+
url: string;
|
|
13527
|
+
key: string;
|
|
13528
|
+
} | null;
|
|
13529
|
+
banner?: {
|
|
13530
|
+
_id: string;
|
|
13531
|
+
url: string;
|
|
13532
|
+
key: string;
|
|
13533
|
+
} | null;
|
|
13534
|
+
teams?: Array<{
|
|
13535
|
+
_id: string;
|
|
13536
|
+
name: string;
|
|
13537
|
+
description?: string | null;
|
|
13538
|
+
approved?: boolean | null;
|
|
13539
|
+
clubId?: string | null;
|
|
13540
|
+
joinPolicy?: string | null;
|
|
13541
|
+
maxRosterSize?: number | null;
|
|
13542
|
+
visibility?: string | null;
|
|
13543
|
+
stripeAccountId?: string | null;
|
|
13544
|
+
vtxScore?: number | null;
|
|
13545
|
+
sports?: Array<{
|
|
13546
|
+
_id: string;
|
|
13547
|
+
name: string;
|
|
13548
|
+
}> | null;
|
|
13549
|
+
logo?: {
|
|
13550
|
+
_id: string;
|
|
13551
|
+
url: string;
|
|
13552
|
+
key: string;
|
|
13553
|
+
} | null;
|
|
13554
|
+
banner?: {
|
|
13555
|
+
_id: string;
|
|
13556
|
+
url: string;
|
|
13557
|
+
key: string;
|
|
13558
|
+
} | null;
|
|
13559
|
+
}> | null;
|
|
13560
|
+
}>;
|
|
13561
|
+
};
|
|
13562
|
+
export type GetClubMembersQueryVariables = Exact<{
|
|
13563
|
+
clubId: Scalars['String']['input'];
|
|
13564
|
+
}>;
|
|
13565
|
+
export type GetClubMembersQuery = {
|
|
13566
|
+
getClubMembers: Array<{
|
|
13567
|
+
_id: string;
|
|
13568
|
+
clubId: string;
|
|
13569
|
+
athleteId: string;
|
|
13570
|
+
role: string;
|
|
13571
|
+
status: string;
|
|
13572
|
+
joinedAt?: string | null;
|
|
13573
|
+
leftAt?: string | null;
|
|
13574
|
+
club?: {
|
|
13575
|
+
_id: string;
|
|
13576
|
+
name: string;
|
|
13577
|
+
} | null;
|
|
13578
|
+
}>;
|
|
13579
|
+
};
|
|
13580
|
+
export type GetClubStripeAccountStatusQueryVariables = Exact<{
|
|
13581
|
+
clubId: Scalars['String']['input'];
|
|
13582
|
+
}>;
|
|
13583
|
+
export type GetClubStripeAccountStatusQuery = {
|
|
13584
|
+
getClubStripeAccountStatus?: {
|
|
13585
|
+
chargesEnabled: boolean;
|
|
13586
|
+
payoutsEnabled: boolean;
|
|
13587
|
+
detailsSubmitted: boolean;
|
|
13588
|
+
} | null;
|
|
13589
|
+
};
|
|
13590
|
+
export type CreateClubMutationVariables = Exact<{
|
|
13591
|
+
input: CreateClubInput;
|
|
13592
|
+
}>;
|
|
13593
|
+
export type CreateClubMutation = {
|
|
13594
|
+
createClub: {
|
|
13595
|
+
_id: string;
|
|
13596
|
+
name: string;
|
|
13597
|
+
description?: string | null;
|
|
13598
|
+
location?: string | null;
|
|
13599
|
+
website?: string | null;
|
|
13600
|
+
membershipType: string;
|
|
13601
|
+
feeStructure?: any | null;
|
|
13602
|
+
approved?: boolean | null;
|
|
13603
|
+
visibility: string;
|
|
13604
|
+
stripeAccountId?: string | null;
|
|
13605
|
+
sports?: Array<{
|
|
13606
|
+
_id: string;
|
|
13607
|
+
name: string;
|
|
13608
|
+
}> | null;
|
|
13609
|
+
logo?: {
|
|
13610
|
+
_id: string;
|
|
13611
|
+
url: string;
|
|
13612
|
+
key: string;
|
|
13613
|
+
} | null;
|
|
13614
|
+
banner?: {
|
|
13615
|
+
_id: string;
|
|
13616
|
+
url: string;
|
|
13617
|
+
key: string;
|
|
13618
|
+
} | null;
|
|
13619
|
+
teams?: Array<{
|
|
13620
|
+
_id: string;
|
|
13621
|
+
name: string;
|
|
13622
|
+
description?: string | null;
|
|
13623
|
+
approved?: boolean | null;
|
|
13624
|
+
clubId?: string | null;
|
|
13625
|
+
joinPolicy?: string | null;
|
|
13626
|
+
maxRosterSize?: number | null;
|
|
13627
|
+
visibility?: string | null;
|
|
13628
|
+
stripeAccountId?: string | null;
|
|
13629
|
+
vtxScore?: number | null;
|
|
13630
|
+
sports?: Array<{
|
|
13631
|
+
_id: string;
|
|
13632
|
+
name: string;
|
|
13633
|
+
}> | null;
|
|
13634
|
+
logo?: {
|
|
13635
|
+
_id: string;
|
|
13636
|
+
url: string;
|
|
13637
|
+
key: string;
|
|
13638
|
+
} | null;
|
|
13639
|
+
banner?: {
|
|
13640
|
+
_id: string;
|
|
13641
|
+
url: string;
|
|
13642
|
+
key: string;
|
|
13643
|
+
} | null;
|
|
13644
|
+
}> | null;
|
|
13645
|
+
};
|
|
13646
|
+
};
|
|
13647
|
+
export type UpdateClubMutationVariables = Exact<{
|
|
13648
|
+
input: UpdateClubInput;
|
|
13649
|
+
}>;
|
|
13650
|
+
export type UpdateClubMutation = {
|
|
13651
|
+
updateClub: {
|
|
13652
|
+
_id: string;
|
|
13653
|
+
name: string;
|
|
13654
|
+
description?: string | null;
|
|
13655
|
+
location?: string | null;
|
|
13656
|
+
website?: string | null;
|
|
13657
|
+
membershipType: string;
|
|
13658
|
+
feeStructure?: any | null;
|
|
13659
|
+
approved?: boolean | null;
|
|
13660
|
+
visibility: string;
|
|
13661
|
+
stripeAccountId?: string | null;
|
|
13662
|
+
sports?: Array<{
|
|
13663
|
+
_id: string;
|
|
13664
|
+
name: string;
|
|
13665
|
+
}> | null;
|
|
13666
|
+
logo?: {
|
|
13667
|
+
_id: string;
|
|
13668
|
+
url: string;
|
|
13669
|
+
key: string;
|
|
13670
|
+
} | null;
|
|
13671
|
+
banner?: {
|
|
13672
|
+
_id: string;
|
|
13673
|
+
url: string;
|
|
13674
|
+
key: string;
|
|
13675
|
+
} | null;
|
|
13676
|
+
teams?: Array<{
|
|
13677
|
+
_id: string;
|
|
13678
|
+
name: string;
|
|
13679
|
+
description?: string | null;
|
|
13680
|
+
approved?: boolean | null;
|
|
13681
|
+
clubId?: string | null;
|
|
13682
|
+
joinPolicy?: string | null;
|
|
13683
|
+
maxRosterSize?: number | null;
|
|
13684
|
+
visibility?: string | null;
|
|
13685
|
+
stripeAccountId?: string | null;
|
|
13686
|
+
vtxScore?: number | null;
|
|
13687
|
+
sports?: Array<{
|
|
13688
|
+
_id: string;
|
|
13689
|
+
name: string;
|
|
13690
|
+
}> | null;
|
|
13691
|
+
logo?: {
|
|
13692
|
+
_id: string;
|
|
13693
|
+
url: string;
|
|
13694
|
+
key: string;
|
|
13695
|
+
} | null;
|
|
13696
|
+
banner?: {
|
|
13697
|
+
_id: string;
|
|
13698
|
+
url: string;
|
|
13699
|
+
key: string;
|
|
13700
|
+
} | null;
|
|
13701
|
+
}> | null;
|
|
13702
|
+
};
|
|
13703
|
+
};
|
|
13704
|
+
export type JoinClubMutationVariables = Exact<{
|
|
13705
|
+
input: JoinClubInput;
|
|
13706
|
+
}>;
|
|
13707
|
+
export type JoinClubMutation = {
|
|
13708
|
+
joinClub: {
|
|
13709
|
+
_id: string;
|
|
13710
|
+
clubId: string;
|
|
13711
|
+
athleteId: string;
|
|
13712
|
+
role: string;
|
|
13713
|
+
status: string;
|
|
13714
|
+
joinedAt?: string | null;
|
|
13715
|
+
leftAt?: string | null;
|
|
13716
|
+
club?: {
|
|
13717
|
+
_id: string;
|
|
13718
|
+
name: string;
|
|
13719
|
+
} | null;
|
|
13720
|
+
};
|
|
13721
|
+
};
|
|
13722
|
+
export type LeaveClubMutationVariables = Exact<{
|
|
13723
|
+
clubId: Scalars['String']['input'];
|
|
13724
|
+
}>;
|
|
13725
|
+
export type LeaveClubMutation = {
|
|
13726
|
+
leaveClub: {
|
|
13727
|
+
_id: string;
|
|
13728
|
+
clubId: string;
|
|
13729
|
+
athleteId: string;
|
|
13730
|
+
role: string;
|
|
13731
|
+
status: string;
|
|
13732
|
+
joinedAt?: string | null;
|
|
13733
|
+
leftAt?: string | null;
|
|
13734
|
+
club?: {
|
|
13735
|
+
_id: string;
|
|
13736
|
+
name: string;
|
|
13737
|
+
} | null;
|
|
13738
|
+
};
|
|
13739
|
+
};
|
|
13740
|
+
export type InviteToClubMutationVariables = Exact<{
|
|
13741
|
+
clubId: Scalars['String']['input'];
|
|
13742
|
+
athleteId: Scalars['String']['input'];
|
|
13743
|
+
}>;
|
|
13744
|
+
export type InviteToClubMutation = {
|
|
13745
|
+
inviteToClub: {
|
|
13746
|
+
_id: string;
|
|
13747
|
+
clubId: string;
|
|
13748
|
+
athleteId: string;
|
|
13749
|
+
role: string;
|
|
13750
|
+
status: string;
|
|
13751
|
+
joinedAt?: string | null;
|
|
13752
|
+
leftAt?: string | null;
|
|
13753
|
+
club?: {
|
|
13754
|
+
_id: string;
|
|
13755
|
+
name: string;
|
|
13756
|
+
} | null;
|
|
13757
|
+
};
|
|
13758
|
+
};
|
|
13759
|
+
export type ManageClubMemberMutationVariables = Exact<{
|
|
13760
|
+
input: ManageClubMemberInput;
|
|
13761
|
+
}>;
|
|
13762
|
+
export type ManageClubMemberMutation = {
|
|
13763
|
+
manageClubMember: {
|
|
13764
|
+
_id: string;
|
|
13765
|
+
clubId: string;
|
|
13766
|
+
athleteId: string;
|
|
13767
|
+
role: string;
|
|
13768
|
+
status: string;
|
|
13769
|
+
joinedAt?: string | null;
|
|
13770
|
+
leftAt?: string | null;
|
|
13771
|
+
club?: {
|
|
13772
|
+
_id: string;
|
|
13773
|
+
name: string;
|
|
13774
|
+
} | null;
|
|
13775
|
+
};
|
|
13776
|
+
};
|
|
13777
|
+
export type CreateClubStripeAccountMutationVariables = Exact<{
|
|
13778
|
+
clubId: Scalars['String']['input'];
|
|
13779
|
+
}>;
|
|
13780
|
+
export type CreateClubStripeAccountMutation = {
|
|
13781
|
+
createClubStripeAccount: string;
|
|
13782
|
+
};
|
|
13783
|
+
export type CreateClubDonationCheckoutMutationVariables = Exact<{
|
|
13784
|
+
clubId: Scalars['String']['input'];
|
|
13785
|
+
amount: Scalars['Float']['input'];
|
|
13786
|
+
currency?: Scalars['String']['input'];
|
|
13787
|
+
donorEmail?: InputMaybe<Scalars['String']['input']>;
|
|
13788
|
+
donorName?: InputMaybe<Scalars['String']['input']>;
|
|
13789
|
+
}>;
|
|
13790
|
+
export type CreateClubDonationCheckoutMutation = {
|
|
13791
|
+
createClubDonationCheckout: string;
|
|
13792
|
+
};
|
|
13793
|
+
export type CreateMembershipFeeCheckoutMutationVariables = Exact<{
|
|
13794
|
+
clubId: Scalars['String']['input'];
|
|
13795
|
+
}>;
|
|
13796
|
+
export type CreateMembershipFeeCheckoutMutation = {
|
|
13797
|
+
createMembershipFeeCheckout?: string | null;
|
|
13798
|
+
};
|
|
12733
13799
|
export type FindUserByEmailQueryVariables = Exact<{
|
|
12734
13800
|
email: Scalars['String']['input'];
|
|
12735
13801
|
}>;
|
|
@@ -13235,6 +14301,12 @@ export declare const Awss3FileFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
|
13235
14301
|
export declare const BrandFullFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
13236
14302
|
export declare const SponsorshipFullFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
13237
14303
|
export declare const PaginationInfoFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
14304
|
+
export declare const TeamFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
14305
|
+
export declare const ClubFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
14306
|
+
export declare const AthleteTeamFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
14307
|
+
export declare const AthleteClubFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
14308
|
+
export declare const TeamAnalyticsFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
14309
|
+
export declare const TeamLeaderboardEntryFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
13238
14310
|
export declare const GetAiCoachThreadDocument: import("graphql").DocumentNode;
|
|
13239
14311
|
export declare const GetAiCoachThreadHistoryDocument: import("graphql").DocumentNode;
|
|
13240
14312
|
export declare const GetAiCoachThreadMessagesDocument: import("graphql").DocumentNode;
|
|
@@ -13446,6 +14518,34 @@ export declare const CreateSportLevelDocument: import("graphql").DocumentNode;
|
|
|
13446
14518
|
export declare const CreateCountryDocument: import("graphql").DocumentNode;
|
|
13447
14519
|
export declare const CreateStateDocument: import("graphql").DocumentNode;
|
|
13448
14520
|
export declare const CreateCityDocument: import("graphql").DocumentNode;
|
|
14521
|
+
export declare const FindTeamByIdDocument: import("graphql").DocumentNode;
|
|
14522
|
+
export declare const FindTeamsDocument: import("graphql").DocumentNode;
|
|
14523
|
+
export declare const GetTeamRosterDocument: import("graphql").DocumentNode;
|
|
14524
|
+
export declare const GetTeamAnalyticsDocument: import("graphql").DocumentNode;
|
|
14525
|
+
export declare const GetTeamLeaderboardDocument: import("graphql").DocumentNode;
|
|
14526
|
+
export declare const GetTeamDashboardDocument: import("graphql").DocumentNode;
|
|
14527
|
+
export declare const GetTeamStripeAccountStatusDocument: import("graphql").DocumentNode;
|
|
14528
|
+
export declare const CreateTeamDocument: import("graphql").DocumentNode;
|
|
14529
|
+
export declare const UpdateTeamDocument: import("graphql").DocumentNode;
|
|
14530
|
+
export declare const JoinTeamDocument: import("graphql").DocumentNode;
|
|
14531
|
+
export declare const LeaveTeamDocument: import("graphql").DocumentNode;
|
|
14532
|
+
export declare const InviteToTeamDocument: import("graphql").DocumentNode;
|
|
14533
|
+
export declare const ManageTeamMemberDocument: import("graphql").DocumentNode;
|
|
14534
|
+
export declare const CreateTeamStripeAccountDocument: import("graphql").DocumentNode;
|
|
14535
|
+
export declare const CreateTeamDonationCheckoutDocument: import("graphql").DocumentNode;
|
|
14536
|
+
export declare const FindClubByIdDocument: import("graphql").DocumentNode;
|
|
14537
|
+
export declare const FindClubsDocument: import("graphql").DocumentNode;
|
|
14538
|
+
export declare const GetClubMembersDocument: import("graphql").DocumentNode;
|
|
14539
|
+
export declare const GetClubStripeAccountStatusDocument: import("graphql").DocumentNode;
|
|
14540
|
+
export declare const CreateClubDocument: import("graphql").DocumentNode;
|
|
14541
|
+
export declare const UpdateClubDocument: import("graphql").DocumentNode;
|
|
14542
|
+
export declare const JoinClubDocument: import("graphql").DocumentNode;
|
|
14543
|
+
export declare const LeaveClubDocument: import("graphql").DocumentNode;
|
|
14544
|
+
export declare const InviteToClubDocument: import("graphql").DocumentNode;
|
|
14545
|
+
export declare const ManageClubMemberDocument: import("graphql").DocumentNode;
|
|
14546
|
+
export declare const CreateClubStripeAccountDocument: import("graphql").DocumentNode;
|
|
14547
|
+
export declare const CreateClubDonationCheckoutDocument: import("graphql").DocumentNode;
|
|
14548
|
+
export declare const CreateMembershipFeeCheckoutDocument: import("graphql").DocumentNode;
|
|
13449
14549
|
export declare const FindUserByEmailDocument: import("graphql").DocumentNode;
|
|
13450
14550
|
export declare const FindVtxUserDocument: import("graphql").DocumentNode;
|
|
13451
14551
|
export declare const GetUserImagesFromEmailDocument: import("graphql").DocumentNode;
|
|
@@ -13675,6 +14775,34 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
13675
14775
|
CreateCountry(variables: CreateCountryMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateCountryMutation>;
|
|
13676
14776
|
CreateState(variables: CreateStateMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateStateMutation>;
|
|
13677
14777
|
CreateCity(variables: CreateCityMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateCityMutation>;
|
|
14778
|
+
FindTeamById(variables: FindTeamByIdQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindTeamByIdQuery>;
|
|
14779
|
+
FindTeams(variables?: FindTeamsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindTeamsQuery>;
|
|
14780
|
+
GetTeamRoster(variables: GetTeamRosterQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetTeamRosterQuery>;
|
|
14781
|
+
GetTeamAnalytics(variables: GetTeamAnalyticsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetTeamAnalyticsQuery>;
|
|
14782
|
+
GetTeamLeaderboard(variables: GetTeamLeaderboardQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetTeamLeaderboardQuery>;
|
|
14783
|
+
GetTeamDashboard(variables: GetTeamDashboardQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetTeamDashboardQuery>;
|
|
14784
|
+
GetTeamStripeAccountStatus(variables: GetTeamStripeAccountStatusQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetTeamStripeAccountStatusQuery>;
|
|
14785
|
+
CreateTeam(variables: CreateTeamMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateTeamMutation>;
|
|
14786
|
+
UpdateTeam(variables: UpdateTeamMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<UpdateTeamMutation>;
|
|
14787
|
+
JoinTeam(variables: JoinTeamMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<JoinTeamMutation>;
|
|
14788
|
+
LeaveTeam(variables: LeaveTeamMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<LeaveTeamMutation>;
|
|
14789
|
+
InviteToTeam(variables: InviteToTeamMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<InviteToTeamMutation>;
|
|
14790
|
+
ManageTeamMember(variables: ManageTeamMemberMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ManageTeamMemberMutation>;
|
|
14791
|
+
CreateTeamStripeAccount(variables: CreateTeamStripeAccountMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateTeamStripeAccountMutation>;
|
|
14792
|
+
CreateTeamDonationCheckout(variables: CreateTeamDonationCheckoutMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateTeamDonationCheckoutMutation>;
|
|
14793
|
+
FindClubById(variables: FindClubByIdQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindClubByIdQuery>;
|
|
14794
|
+
FindClubs(variables?: FindClubsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindClubsQuery>;
|
|
14795
|
+
GetClubMembers(variables: GetClubMembersQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetClubMembersQuery>;
|
|
14796
|
+
GetClubStripeAccountStatus(variables: GetClubStripeAccountStatusQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetClubStripeAccountStatusQuery>;
|
|
14797
|
+
CreateClub(variables: CreateClubMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateClubMutation>;
|
|
14798
|
+
UpdateClub(variables: UpdateClubMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<UpdateClubMutation>;
|
|
14799
|
+
JoinClub(variables: JoinClubMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<JoinClubMutation>;
|
|
14800
|
+
LeaveClub(variables: LeaveClubMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<LeaveClubMutation>;
|
|
14801
|
+
InviteToClub(variables: InviteToClubMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<InviteToClubMutation>;
|
|
14802
|
+
ManageClubMember(variables: ManageClubMemberMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ManageClubMemberMutation>;
|
|
14803
|
+
CreateClubStripeAccount(variables: CreateClubStripeAccountMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateClubStripeAccountMutation>;
|
|
14804
|
+
CreateClubDonationCheckout(variables: CreateClubDonationCheckoutMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateClubDonationCheckoutMutation>;
|
|
14805
|
+
CreateMembershipFeeCheckout(variables: CreateMembershipFeeCheckoutMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateMembershipFeeCheckoutMutation>;
|
|
13678
14806
|
FindUserByEmail(variables: FindUserByEmailQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindUserByEmailQuery>;
|
|
13679
14807
|
FindVtxUser(variables: FindVtxUserQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindVtxUserQuery>;
|
|
13680
14808
|
GetUserImagesFromEmail(variables: GetUserImagesFromEmailQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetUserImagesFromEmailQuery>;
|