@vertikalx/vtx-backend-client 3.0.1-dev-max.4 → 3.0.1-dev-max.5
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 +38 -0
- package/src/api/vtx-base-api.js +72 -0
- package/src/api/vtx-base-api.js.map +1 -1
- package/src/client/schema.d.ts +550 -0
- package/src/client/schema.js +72 -2
- package/src/client/schema.js.map +1 -1
- package/src/client/types.d.ts +312 -1
- package/src/client/types.js +1159 -299
- package/src/client/types.js.map +1 -1
- package/src/generated/graphql.d.ts +2239 -832
- package/src/generated/graphql.js +482 -6
- package/src/generated/graphql.js.map +1 -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>>;
|
|
@@ -472,6 +482,16 @@ export type AthleteReference = {
|
|
|
472
482
|
trainer?: Maybe<Scalars['String']['output']>;
|
|
473
483
|
trainerUrl?: Maybe<Scalars['String']['output']>;
|
|
474
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
|
+
};
|
|
475
495
|
export type AudienceFilterDto = {
|
|
476
496
|
campaignStatus?: InputMaybe<Scalars['String']['input']>;
|
|
477
497
|
country?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -699,6 +719,22 @@ export type CloneDatabaseFileDto = {
|
|
|
699
719
|
_id: Scalars['String']['input'];
|
|
700
720
|
version?: InputMaybe<Scalars['String']['input']>;
|
|
701
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
|
+
};
|
|
702
738
|
export type CodeVerificationResponse = {
|
|
703
739
|
code?: Maybe<VerificationCode>;
|
|
704
740
|
error?: Maybe<ErrorInfo>;
|
|
@@ -875,6 +911,16 @@ export type CreateCityDto = {
|
|
|
875
911
|
stateId: Scalars['String']['input'];
|
|
876
912
|
timezone: Scalars['String']['input'];
|
|
877
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
|
+
};
|
|
878
924
|
export type CreateCompetitionBudgetDto = {
|
|
879
925
|
athleteCompetitionId: Scalars['String']['input'];
|
|
880
926
|
initialFunds?: InputMaybe<Scalars['Float']['input']>;
|
|
@@ -903,6 +949,7 @@ export type CreateEmailSegmentDto = {
|
|
|
903
949
|
name: Scalars['String']['input'];
|
|
904
950
|
};
|
|
905
951
|
export type CreateFundingCampaignDto = {
|
|
952
|
+
autoSendThankYou?: InputMaybe<Scalars['Boolean']['input']>;
|
|
906
953
|
budget?: InputMaybe<CreateBudgetDto>;
|
|
907
954
|
budgetMode: Scalars['String']['input'];
|
|
908
955
|
cityId?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -913,11 +960,14 @@ export type CreateFundingCampaignDto = {
|
|
|
913
960
|
fundsRequired: Scalars['Float']['input'];
|
|
914
961
|
initialFundsObtained?: Scalars['Float']['input'];
|
|
915
962
|
motivation: Scalars['String']['input'];
|
|
963
|
+
thankYouMediaUrl?: InputMaybe<Scalars['String']['input']>;
|
|
964
|
+
thankYouMessage?: InputMaybe<Scalars['String']['input']>;
|
|
916
965
|
title: Scalars['String']['input'];
|
|
917
966
|
video?: InputMaybe<CreateVideoDto>;
|
|
918
967
|
website?: InputMaybe<Scalars['String']['input']>;
|
|
919
968
|
};
|
|
920
969
|
export type CreateFundingCampaignForDto = {
|
|
970
|
+
autoSendThankYou?: InputMaybe<Scalars['Boolean']['input']>;
|
|
921
971
|
budget?: InputMaybe<CreateBudgetDto>;
|
|
922
972
|
budgetMode: Scalars['String']['input'];
|
|
923
973
|
cityId?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -929,6 +979,8 @@ export type CreateFundingCampaignForDto = {
|
|
|
929
979
|
initialFundsObtained?: Scalars['Float']['input'];
|
|
930
980
|
loginEmail: Scalars['String']['input'];
|
|
931
981
|
motivation: Scalars['String']['input'];
|
|
982
|
+
thankYouMediaUrl?: InputMaybe<Scalars['String']['input']>;
|
|
983
|
+
thankYouMessage?: InputMaybe<Scalars['String']['input']>;
|
|
932
984
|
title: Scalars['String']['input'];
|
|
933
985
|
video?: InputMaybe<CreateVideoDto>;
|
|
934
986
|
website?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1025,6 +1077,15 @@ export type CreateStripeAccountDto = {
|
|
|
1025
1077
|
acceptedTermsId: Scalars['String']['input'];
|
|
1026
1078
|
countryId: Scalars['String']['input'];
|
|
1027
1079
|
};
|
|
1080
|
+
export type CreateTeamInput = {
|
|
1081
|
+
clubId?: InputMaybe<Scalars['String']['input']>;
|
|
1082
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
1083
|
+
joinPolicy?: InputMaybe<Scalars['String']['input']>;
|
|
1084
|
+
maxRosterSize?: InputMaybe<Scalars['Int']['input']>;
|
|
1085
|
+
name: Scalars['String']['input'];
|
|
1086
|
+
sportIds: Array<Scalars['String']['input']>;
|
|
1087
|
+
visibility?: InputMaybe<Scalars['String']['input']>;
|
|
1088
|
+
};
|
|
1028
1089
|
export type CreateTenantInput = {
|
|
1029
1090
|
domain: Scalars['String']['input'];
|
|
1030
1091
|
email: Scalars['String']['input'];
|
|
@@ -1229,6 +1290,16 @@ export type DonationQueryDto = {
|
|
|
1229
1290
|
sortField?: InputMaybe<Scalars['String']['input']>;
|
|
1230
1291
|
sortOrder?: InputMaybe<Scalars['String']['input']>;
|
|
1231
1292
|
};
|
|
1293
|
+
export type DonationThankYou = {
|
|
1294
|
+
_id: Scalars['String']['output'];
|
|
1295
|
+
autoSent: Scalars['Boolean']['output'];
|
|
1296
|
+
donorEmail?: Maybe<Scalars['String']['output']>;
|
|
1297
|
+
donorName?: Maybe<Scalars['String']['output']>;
|
|
1298
|
+
emailSent: Scalars['Boolean']['output'];
|
|
1299
|
+
mediaUrl?: Maybe<Scalars['String']['output']>;
|
|
1300
|
+
message: Scalars['String']['output'];
|
|
1301
|
+
sentDate: Scalars['DateTime']['output'];
|
|
1302
|
+
};
|
|
1232
1303
|
export type Duration = {
|
|
1233
1304
|
length: Scalars['Float']['output'];
|
|
1234
1305
|
unit: Scalars['String']['output'];
|
|
@@ -1429,6 +1500,7 @@ export type FundCampaignFilterDto = {
|
|
|
1429
1500
|
export type FundRaisingCampaign = {
|
|
1430
1501
|
_id: Scalars['String']['output'];
|
|
1431
1502
|
athlete: AthleteReference;
|
|
1503
|
+
autoSendThankYou: Scalars['Boolean']['output'];
|
|
1432
1504
|
budget?: Maybe<Budget>;
|
|
1433
1505
|
budgetMode: Scalars['String']['output'];
|
|
1434
1506
|
competitions?: Maybe<Array<AthleteCompetition>>;
|
|
@@ -1442,6 +1514,8 @@ export type FundRaisingCampaign = {
|
|
|
1442
1514
|
motivation?: Maybe<Scalars['String']['output']>;
|
|
1443
1515
|
slug?: Maybe<Scalars['String']['output']>;
|
|
1444
1516
|
status: Scalars['String']['output'];
|
|
1517
|
+
thankYouMediaUrl?: Maybe<Scalars['String']['output']>;
|
|
1518
|
+
thankYouMessage?: Maybe<Scalars['String']['output']>;
|
|
1445
1519
|
title: Scalars['String']['output'];
|
|
1446
1520
|
video?: Maybe<Video>;
|
|
1447
1521
|
vtxComissionPct: Scalars['Float']['output'];
|
|
@@ -1607,6 +1681,15 @@ export type IsFollowingAthleteInput = {
|
|
|
1607
1681
|
export type IsFollowingResponse = {
|
|
1608
1682
|
isFollowing: Scalars['Boolean']['output'];
|
|
1609
1683
|
};
|
|
1684
|
+
export type JoinClubInput = {
|
|
1685
|
+
clubId: Scalars['String']['input'];
|
|
1686
|
+
message?: InputMaybe<Scalars['String']['input']>;
|
|
1687
|
+
};
|
|
1688
|
+
export type JoinTeamInput = {
|
|
1689
|
+
message?: InputMaybe<Scalars['String']['input']>;
|
|
1690
|
+
sportId: Scalars['String']['input'];
|
|
1691
|
+
teamId: Scalars['String']['input'];
|
|
1692
|
+
};
|
|
1610
1693
|
export type LeaderboardEntry = {
|
|
1611
1694
|
athleteId: Scalars['String']['output'];
|
|
1612
1695
|
cityName?: Maybe<Scalars['String']['output']>;
|
|
@@ -1676,6 +1759,18 @@ export type MagicLink = {
|
|
|
1676
1759
|
type: Scalars['String']['output'];
|
|
1677
1760
|
url: Scalars['String']['output'];
|
|
1678
1761
|
};
|
|
1762
|
+
export type ManageClubMemberInput = {
|
|
1763
|
+
action: Scalars['String']['input'];
|
|
1764
|
+
athleteId: Scalars['String']['input'];
|
|
1765
|
+
clubId: Scalars['String']['input'];
|
|
1766
|
+
role?: InputMaybe<Scalars['String']['input']>;
|
|
1767
|
+
};
|
|
1768
|
+
export type ManageTeamMemberInput = {
|
|
1769
|
+
action: Scalars['String']['input'];
|
|
1770
|
+
athleteId: Scalars['String']['input'];
|
|
1771
|
+
role?: InputMaybe<Scalars['String']['input']>;
|
|
1772
|
+
teamId: Scalars['String']['input'];
|
|
1773
|
+
};
|
|
1679
1774
|
export type MarkNotificationReadDto = {
|
|
1680
1775
|
notificationId: Scalars['String']['input'];
|
|
1681
1776
|
};
|
|
@@ -1739,6 +1834,8 @@ export type Mutation = {
|
|
|
1739
1834
|
activateOffer: Offer;
|
|
1740
1835
|
addAthleteCompetition: AthleteCompetition;
|
|
1741
1836
|
addCompetitionBudget: Scalars['Boolean']['output'];
|
|
1837
|
+
approveClub: Club;
|
|
1838
|
+
approveTeam: Team;
|
|
1742
1839
|
cancelScheduledEmail: EmailCampaign;
|
|
1743
1840
|
claimOffer: OfferClaim;
|
|
1744
1841
|
cloneEmailCampaign: EmailCampaign;
|
|
@@ -1749,11 +1846,15 @@ export type Mutation = {
|
|
|
1749
1846
|
createAthleteStripeSession: StripeSession;
|
|
1750
1847
|
createBrand: Brand;
|
|
1751
1848
|
createCity: City;
|
|
1849
|
+
createClub: Club;
|
|
1850
|
+
createClubDonationCheckout: Scalars['String']['output'];
|
|
1851
|
+
createClubStripeAccount: Scalars['String']['output'];
|
|
1752
1852
|
createCountry: Country;
|
|
1753
1853
|
createEmailCampaign: EmailCampaign;
|
|
1754
1854
|
createEmailSegment: EmailSegment;
|
|
1755
1855
|
createFundingCampaign: FundRaisingCampaign;
|
|
1756
1856
|
createIndustry: Industry;
|
|
1857
|
+
createMembershipFeeCheckout?: Maybe<Scalars['String']['output']>;
|
|
1757
1858
|
createMembershipOrganization: MembershipOrganizationReference;
|
|
1758
1859
|
createOffer: Offer;
|
|
1759
1860
|
createResetPasswordCode: EditValueResponse;
|
|
@@ -1767,6 +1868,9 @@ export type Mutation = {
|
|
|
1767
1868
|
createStripeAccountLink: Scalars['String']['output'];
|
|
1768
1869
|
createStripeCheckoutSession: StripeCheckoutSession;
|
|
1769
1870
|
createStripeLoginLink: Scalars['String']['output'];
|
|
1871
|
+
createTeam: Team;
|
|
1872
|
+
createTeamDonationCheckout: Scalars['String']['output'];
|
|
1873
|
+
createTeamStripeAccount: Scalars['String']['output'];
|
|
1770
1874
|
createUserAndLogin: UserWithToken;
|
|
1771
1875
|
deactivateOffer: Offer;
|
|
1772
1876
|
deleteAthleteAlbum: DeleteSingleValueResponse;
|
|
@@ -1798,10 +1902,18 @@ export type Mutation = {
|
|
|
1798
1902
|
followAthlete: Scalars['Boolean']['output'];
|
|
1799
1903
|
forceDeleteAthleteCompetition: DeleteSingleValueResponse;
|
|
1800
1904
|
forceRefreshAthleteScores: ForceScoreRefreshResponse;
|
|
1905
|
+
inviteToClub: AthleteClub;
|
|
1906
|
+
inviteToTeam: AthleteTeam;
|
|
1907
|
+
joinClub: AthleteClub;
|
|
1908
|
+
joinTeam: AthleteTeam;
|
|
1909
|
+
leaveClub: AthleteClub;
|
|
1910
|
+
leaveTeam: AthleteTeam;
|
|
1801
1911
|
linkBrandToSponsor: Brand;
|
|
1802
1912
|
loginUserFromCredentials: UserWithToken;
|
|
1803
1913
|
loginUserFromCredentialsVtx: UserWithToken;
|
|
1804
1914
|
loginUserFromEmail: UserToken;
|
|
1915
|
+
manageClubMember: AthleteClub;
|
|
1916
|
+
manageTeamMember: AthleteTeam;
|
|
1805
1917
|
markAiCoachNudgeRead: Scalars['Boolean']['output'];
|
|
1806
1918
|
markAllNotificationsAsRead: Scalars['Int']['output'];
|
|
1807
1919
|
markNotificationAsRead: Notification;
|
|
@@ -1829,6 +1941,7 @@ export type Mutation = {
|
|
|
1829
1941
|
sendAthleteInvitations: Array<SponsorAthleteInvitation>;
|
|
1830
1942
|
sendBulkEmail: Scalars['Boolean']['output'];
|
|
1831
1943
|
sendTestEmail: Scalars['Boolean']['output'];
|
|
1944
|
+
sendThankYou: DonationThankYou;
|
|
1832
1945
|
setCurrentCampaign: FundRaisingCampaign;
|
|
1833
1946
|
setFundingStatus: FundRaisingCampaign;
|
|
1834
1947
|
setOfferStatus: Offer;
|
|
@@ -1841,6 +1954,7 @@ export type Mutation = {
|
|
|
1841
1954
|
updateAthleteIntegration: Scalars['Boolean']['output'];
|
|
1842
1955
|
updateAthleteScores: Athlete;
|
|
1843
1956
|
updateBrand: Brand;
|
|
1957
|
+
updateClub: Club;
|
|
1844
1958
|
updateEmailCampaign: EmailCampaign;
|
|
1845
1959
|
updateEmailSegment: EmailSegment;
|
|
1846
1960
|
updateFundingCampaign: FundRaisingCampaign;
|
|
@@ -1850,6 +1964,8 @@ export type Mutation = {
|
|
|
1850
1964
|
updateSponsor: Sponsor;
|
|
1851
1965
|
updateSport: Sport;
|
|
1852
1966
|
updateSportsEvent: SportsEvent;
|
|
1967
|
+
updateTeam: Team;
|
|
1968
|
+
updateThankYouTemplate: FundRaisingCampaign;
|
|
1853
1969
|
updateUserSuspendedStatus: EditValueResponse;
|
|
1854
1970
|
uploadCouponCodes: UploadResult;
|
|
1855
1971
|
validateToken: ValidatedToken;
|
|
@@ -1866,6 +1982,14 @@ export type MutationAddAthleteCompetitionArgs = {
|
|
|
1866
1982
|
export type MutationAddCompetitionBudgetArgs = {
|
|
1867
1983
|
input: AddCompetitionBudgetDto;
|
|
1868
1984
|
};
|
|
1985
|
+
export type MutationApproveClubArgs = {
|
|
1986
|
+
approved: Scalars['Boolean']['input'];
|
|
1987
|
+
clubId: Scalars['String']['input'];
|
|
1988
|
+
};
|
|
1989
|
+
export type MutationApproveTeamArgs = {
|
|
1990
|
+
approved: Scalars['Boolean']['input'];
|
|
1991
|
+
teamId: Scalars['String']['input'];
|
|
1992
|
+
};
|
|
1869
1993
|
export type MutationCancelScheduledEmailArgs = {
|
|
1870
1994
|
campaignId: Scalars['String']['input'];
|
|
1871
1995
|
};
|
|
@@ -1894,6 +2018,19 @@ export type MutationCreateBrandArgs = {
|
|
|
1894
2018
|
export type MutationCreateCityArgs = {
|
|
1895
2019
|
input: CreateCityDto;
|
|
1896
2020
|
};
|
|
2021
|
+
export type MutationCreateClubArgs = {
|
|
2022
|
+
input: CreateClubInput;
|
|
2023
|
+
};
|
|
2024
|
+
export type MutationCreateClubDonationCheckoutArgs = {
|
|
2025
|
+
amount: Scalars['Float']['input'];
|
|
2026
|
+
clubId: Scalars['String']['input'];
|
|
2027
|
+
currency?: Scalars['String']['input'];
|
|
2028
|
+
donorEmail?: InputMaybe<Scalars['String']['input']>;
|
|
2029
|
+
donorName?: InputMaybe<Scalars['String']['input']>;
|
|
2030
|
+
};
|
|
2031
|
+
export type MutationCreateClubStripeAccountArgs = {
|
|
2032
|
+
clubId: Scalars['String']['input'];
|
|
2033
|
+
};
|
|
1897
2034
|
export type MutationCreateCountryArgs = {
|
|
1898
2035
|
input: CreateCountryDto;
|
|
1899
2036
|
};
|
|
@@ -1909,6 +2046,9 @@ export type MutationCreateFundingCampaignArgs = {
|
|
|
1909
2046
|
export type MutationCreateIndustryArgs = {
|
|
1910
2047
|
input: CreateIndustryDto;
|
|
1911
2048
|
};
|
|
2049
|
+
export type MutationCreateMembershipFeeCheckoutArgs = {
|
|
2050
|
+
clubId: Scalars['String']['input'];
|
|
2051
|
+
};
|
|
1912
2052
|
export type MutationCreateMembershipOrganizationArgs = {
|
|
1913
2053
|
input: CreateMembershipOrganizationDto;
|
|
1914
2054
|
};
|
|
@@ -1942,6 +2082,19 @@ export type MutationCreateStripeAccountArgs = {
|
|
|
1942
2082
|
export type MutationCreateStripeCheckoutSessionArgs = {
|
|
1943
2083
|
input: DonationCheckoutDto;
|
|
1944
2084
|
};
|
|
2085
|
+
export type MutationCreateTeamArgs = {
|
|
2086
|
+
input: CreateTeamInput;
|
|
2087
|
+
};
|
|
2088
|
+
export type MutationCreateTeamDonationCheckoutArgs = {
|
|
2089
|
+
amount: Scalars['Float']['input'];
|
|
2090
|
+
currency?: Scalars['String']['input'];
|
|
2091
|
+
donorEmail?: InputMaybe<Scalars['String']['input']>;
|
|
2092
|
+
donorName?: InputMaybe<Scalars['String']['input']>;
|
|
2093
|
+
teamId: Scalars['String']['input'];
|
|
2094
|
+
};
|
|
2095
|
+
export type MutationCreateTeamStripeAccountArgs = {
|
|
2096
|
+
teamId: Scalars['String']['input'];
|
|
2097
|
+
};
|
|
1945
2098
|
export type MutationCreateUserAndLoginArgs = {
|
|
1946
2099
|
user: CreateActiveUserInput;
|
|
1947
2100
|
};
|
|
@@ -2029,6 +2182,27 @@ export type MutationForceDeleteAthleteCompetitionArgs = {
|
|
|
2029
2182
|
export type MutationForceRefreshAthleteScoresArgs = {
|
|
2030
2183
|
input: ForceScoreRefreshDto;
|
|
2031
2184
|
};
|
|
2185
|
+
export type MutationInviteToClubArgs = {
|
|
2186
|
+
athleteId: Scalars['String']['input'];
|
|
2187
|
+
clubId: Scalars['String']['input'];
|
|
2188
|
+
};
|
|
2189
|
+
export type MutationInviteToTeamArgs = {
|
|
2190
|
+
athleteId: Scalars['String']['input'];
|
|
2191
|
+
sportId: Scalars['String']['input'];
|
|
2192
|
+
teamId: Scalars['String']['input'];
|
|
2193
|
+
};
|
|
2194
|
+
export type MutationJoinClubArgs = {
|
|
2195
|
+
input: JoinClubInput;
|
|
2196
|
+
};
|
|
2197
|
+
export type MutationJoinTeamArgs = {
|
|
2198
|
+
input: JoinTeamInput;
|
|
2199
|
+
};
|
|
2200
|
+
export type MutationLeaveClubArgs = {
|
|
2201
|
+
clubId: Scalars['String']['input'];
|
|
2202
|
+
};
|
|
2203
|
+
export type MutationLeaveTeamArgs = {
|
|
2204
|
+
teamId: Scalars['String']['input'];
|
|
2205
|
+
};
|
|
2032
2206
|
export type MutationLinkBrandToSponsorArgs = {
|
|
2033
2207
|
brandId: Scalars['String']['input'];
|
|
2034
2208
|
sponsorId: Scalars['String']['input'];
|
|
@@ -2045,6 +2219,12 @@ export type MutationLoginUserFromEmailArgs = {
|
|
|
2045
2219
|
email: Scalars['String']['input'];
|
|
2046
2220
|
loginMethod: Scalars['String']['input'];
|
|
2047
2221
|
};
|
|
2222
|
+
export type MutationManageClubMemberArgs = {
|
|
2223
|
+
input: ManageClubMemberInput;
|
|
2224
|
+
};
|
|
2225
|
+
export type MutationManageTeamMemberArgs = {
|
|
2226
|
+
input: ManageTeamMemberInput;
|
|
2227
|
+
};
|
|
2048
2228
|
export type MutationMarkAiCoachNudgeReadArgs = {
|
|
2049
2229
|
nudgeId: Scalars['String']['input'];
|
|
2050
2230
|
};
|
|
@@ -2123,6 +2303,9 @@ export type MutationSendTestEmailArgs = {
|
|
|
2123
2303
|
adminEmail: Scalars['String']['input'];
|
|
2124
2304
|
campaignId: Scalars['String']['input'];
|
|
2125
2305
|
};
|
|
2306
|
+
export type MutationSendThankYouArgs = {
|
|
2307
|
+
input: SendThankYouDto;
|
|
2308
|
+
};
|
|
2126
2309
|
export type MutationSetCurrentCampaignArgs = {
|
|
2127
2310
|
input: SetCurrentCampaignDto;
|
|
2128
2311
|
};
|
|
@@ -2153,6 +2336,9 @@ export type MutationUpdateBrandArgs = {
|
|
|
2153
2336
|
id: Scalars['String']['input'];
|
|
2154
2337
|
input: CreateBrandDto;
|
|
2155
2338
|
};
|
|
2339
|
+
export type MutationUpdateClubArgs = {
|
|
2340
|
+
input: UpdateClubInput;
|
|
2341
|
+
};
|
|
2156
2342
|
export type MutationUpdateEmailCampaignArgs = {
|
|
2157
2343
|
id: Scalars['String']['input'];
|
|
2158
2344
|
input: UpdateEmailCampaignDto;
|
|
@@ -2184,6 +2370,12 @@ export type MutationUpdateSportArgs = {
|
|
|
2184
2370
|
export type MutationUpdateSportsEventArgs = {
|
|
2185
2371
|
input: UpdateSportEventDto;
|
|
2186
2372
|
};
|
|
2373
|
+
export type MutationUpdateTeamArgs = {
|
|
2374
|
+
input: UpdateTeamInput;
|
|
2375
|
+
};
|
|
2376
|
+
export type MutationUpdateThankYouTemplateArgs = {
|
|
2377
|
+
input: UpdateThankYouTemplateDto;
|
|
2378
|
+
};
|
|
2187
2379
|
export type MutationUpdateUserSuspendedStatusArgs = {
|
|
2188
2380
|
input: UpdateUserSuspendedStatusDto;
|
|
2189
2381
|
};
|
|
@@ -2519,17 +2711,25 @@ export type Query = {
|
|
|
2519
2711
|
athleteScoreHistory: Array<ScoreHistoryEntry>;
|
|
2520
2712
|
brands: Array<Brand>;
|
|
2521
2713
|
browseCampaigns: BrowseCampaignsResult;
|
|
2714
|
+
campaignThankYous: Array<DonationThankYou>;
|
|
2522
2715
|
checkScoreRefreshCapabilities: CheckScoreRefreshCapabilityResponse;
|
|
2716
|
+
donationThankYou?: Maybe<DonationThankYou>;
|
|
2523
2717
|
existsValidSponsorForEmail: Sponsor;
|
|
2718
|
+
findAllClubs: Array<Club>;
|
|
2719
|
+
findAllTeams: Array<Team>;
|
|
2524
2720
|
findAthleteById: Athlete;
|
|
2525
2721
|
findAthleteForUser: Athlete;
|
|
2526
2722
|
findAthletebyIdpublic: Athlete;
|
|
2527
2723
|
findCitiesStartingWith: Array<City>;
|
|
2528
2724
|
findCityById: City;
|
|
2725
|
+
findClubById: Club;
|
|
2726
|
+
findClubs: Array<Club>;
|
|
2529
2727
|
findIndustryById: Industry;
|
|
2530
2728
|
findMemberForUser: Member;
|
|
2531
2729
|
findSponsorAthleteInvitation: SponsorAthleteInvitation;
|
|
2532
2730
|
findSportById: Sport;
|
|
2731
|
+
findTeamById: Team;
|
|
2732
|
+
findTeams: Array<Team>;
|
|
2533
2733
|
findTenantByEmail: Tenant;
|
|
2534
2734
|
findTenantById: Tenant;
|
|
2535
2735
|
findUserByEmail: User;
|
|
@@ -2562,6 +2762,8 @@ export type Query = {
|
|
|
2562
2762
|
getBudgetConcepts: Array<BudgetConcept>;
|
|
2563
2763
|
getBudgetItemUnits: Array<BudgetItemUnit>;
|
|
2564
2764
|
getBudgetsByAthlete: BudgetData;
|
|
2765
|
+
getClubMembers: Array<AthleteClub>;
|
|
2766
|
+
getClubStripeAccountStatus?: Maybe<StripeAccountStatus>;
|
|
2565
2767
|
getCountries: Array<Country>;
|
|
2566
2768
|
getCountryStates: Array<State>;
|
|
2567
2769
|
getDatabaseTextFile: TextDatabaseFile;
|
|
@@ -2602,6 +2804,11 @@ export type Query = {
|
|
|
2602
2804
|
getStates: Array<State>;
|
|
2603
2805
|
getStravaLoginUrl: Scalars['String']['output'];
|
|
2604
2806
|
getStripeBalance: StripeBalance;
|
|
2807
|
+
getTeamAnalytics: TeamAnalytics;
|
|
2808
|
+
getTeamDashboard: TeamDashboard;
|
|
2809
|
+
getTeamLeaderboard: Array<TeamLeaderboardEntry>;
|
|
2810
|
+
getTeamRoster: Array<AthleteTeam>;
|
|
2811
|
+
getTeamStripeAccountStatus?: Maybe<StripeAccountStatus>;
|
|
2605
2812
|
getTenantSponsorships: Array<Sponsorship>;
|
|
2606
2813
|
getTenants: Array<Tenant>;
|
|
2607
2814
|
getTransactionDetails: TransactionDetails;
|
|
@@ -2664,9 +2871,15 @@ export type QueryAthleteScoreHistoryArgs = {
|
|
|
2664
2871
|
export type QueryBrowseCampaignsArgs = {
|
|
2665
2872
|
input: BrowseCampaignsDto;
|
|
2666
2873
|
};
|
|
2874
|
+
export type QueryCampaignThankYousArgs = {
|
|
2875
|
+
campaignId: Scalars['String']['input'];
|
|
2876
|
+
};
|
|
2667
2877
|
export type QueryCheckScoreRefreshCapabilitiesArgs = {
|
|
2668
2878
|
input: CheckScoreRefreshCapabilityDto;
|
|
2669
2879
|
};
|
|
2880
|
+
export type QueryDonationThankYouArgs = {
|
|
2881
|
+
donationId: Scalars['String']['input'];
|
|
2882
|
+
};
|
|
2670
2883
|
export type QueryExistsValidSponsorForEmailArgs = {
|
|
2671
2884
|
loginEmail: Scalars['String']['input'];
|
|
2672
2885
|
};
|
|
@@ -2685,6 +2898,12 @@ export type QueryFindCitiesStartingWithArgs = {
|
|
|
2685
2898
|
export type QueryFindCityByIdArgs = {
|
|
2686
2899
|
cityId: Scalars['String']['input'];
|
|
2687
2900
|
};
|
|
2901
|
+
export type QueryFindClubByIdArgs = {
|
|
2902
|
+
clubId: Scalars['String']['input'];
|
|
2903
|
+
};
|
|
2904
|
+
export type QueryFindClubsArgs = {
|
|
2905
|
+
sportId?: InputMaybe<Scalars['String']['input']>;
|
|
2906
|
+
};
|
|
2688
2907
|
export type QueryFindIndustryByIdArgs = {
|
|
2689
2908
|
industryId: Scalars['String']['input'];
|
|
2690
2909
|
};
|
|
@@ -2697,6 +2916,13 @@ export type QueryFindSponsorAthleteInvitationArgs = {
|
|
|
2697
2916
|
export type QueryFindSportByIdArgs = {
|
|
2698
2917
|
sportId: Scalars['String']['input'];
|
|
2699
2918
|
};
|
|
2919
|
+
export type QueryFindTeamByIdArgs = {
|
|
2920
|
+
teamId: Scalars['String']['input'];
|
|
2921
|
+
};
|
|
2922
|
+
export type QueryFindTeamsArgs = {
|
|
2923
|
+
clubId?: InputMaybe<Scalars['String']['input']>;
|
|
2924
|
+
sportId?: InputMaybe<Scalars['String']['input']>;
|
|
2925
|
+
};
|
|
2700
2926
|
export type QueryFindTenantByEmailArgs = {
|
|
2701
2927
|
domainId: Scalars['String']['input'];
|
|
2702
2928
|
email: Scalars['String']['input'];
|
|
@@ -2757,6 +2983,12 @@ export type QueryGetBrandTranslationArgs = {
|
|
|
2757
2983
|
export type QueryGetBrandsPaginatedArgs = {
|
|
2758
2984
|
query?: InputMaybe<BrandQueryDto>;
|
|
2759
2985
|
};
|
|
2986
|
+
export type QueryGetClubMembersArgs = {
|
|
2987
|
+
clubId: Scalars['String']['input'];
|
|
2988
|
+
};
|
|
2989
|
+
export type QueryGetClubStripeAccountStatusArgs = {
|
|
2990
|
+
clubId: Scalars['String']['input'];
|
|
2991
|
+
};
|
|
2760
2992
|
export type QueryGetCountryStatesArgs = {
|
|
2761
2993
|
countryId: Scalars['String']['input'];
|
|
2762
2994
|
};
|
|
@@ -2835,6 +3067,21 @@ export type QueryGetSportsPaginatedArgs = {
|
|
|
2835
3067
|
export type QueryGetStateCitiesArgs = {
|
|
2836
3068
|
stateId: Scalars['String']['input'];
|
|
2837
3069
|
};
|
|
3070
|
+
export type QueryGetTeamAnalyticsArgs = {
|
|
3071
|
+
teamId: Scalars['String']['input'];
|
|
3072
|
+
};
|
|
3073
|
+
export type QueryGetTeamDashboardArgs = {
|
|
3074
|
+
teamId: Scalars['String']['input'];
|
|
3075
|
+
};
|
|
3076
|
+
export type QueryGetTeamLeaderboardArgs = {
|
|
3077
|
+
teamId: Scalars['String']['input'];
|
|
3078
|
+
};
|
|
3079
|
+
export type QueryGetTeamRosterArgs = {
|
|
3080
|
+
teamId: Scalars['String']['input'];
|
|
3081
|
+
};
|
|
3082
|
+
export type QueryGetTeamStripeAccountStatusArgs = {
|
|
3083
|
+
teamId: Scalars['String']['input'];
|
|
3084
|
+
};
|
|
2838
3085
|
export type QueryGetTransactionDetailsArgs = {
|
|
2839
3086
|
input: GetTransactionDetailsDto;
|
|
2840
3087
|
};
|
|
@@ -3091,6 +3338,11 @@ export type SendGridTemplate = {
|
|
|
3091
3338
|
subject?: Maybe<Scalars['String']['output']>;
|
|
3092
3339
|
updatedAt?: Maybe<Scalars['String']['output']>;
|
|
3093
3340
|
};
|
|
3341
|
+
export type SendThankYouDto = {
|
|
3342
|
+
campaignId: Scalars['String']['input'];
|
|
3343
|
+
customMessage?: InputMaybe<Scalars['String']['input']>;
|
|
3344
|
+
donationId: Scalars['String']['input'];
|
|
3345
|
+
};
|
|
3094
3346
|
export type SetCompetitionResultDto = {
|
|
3095
3347
|
adversary?: InputMaybe<Scalars['String']['input']>;
|
|
3096
3348
|
categoryName?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3454,6 +3706,11 @@ export type StripeAccountReference = {
|
|
|
3454
3706
|
account?: Maybe<StripeAccount>;
|
|
3455
3707
|
stripeAccountId: Scalars['String']['output'];
|
|
3456
3708
|
};
|
|
3709
|
+
export type StripeAccountStatus = {
|
|
3710
|
+
chargesEnabled: Scalars['Boolean']['output'];
|
|
3711
|
+
detailsSubmitted: Scalars['Boolean']['output'];
|
|
3712
|
+
payoutsEnabled: Scalars['Boolean']['output'];
|
|
3713
|
+
};
|
|
3457
3714
|
export type StripeBalance = {
|
|
3458
3715
|
availableBalances: Array<CurrencyAmountType>;
|
|
3459
3716
|
availableUSD: Scalars['Float']['output'];
|
|
@@ -3604,10 +3861,51 @@ export type Team = {
|
|
|
3604
3861
|
_id: Scalars['String']['output'];
|
|
3605
3862
|
approved?: Maybe<Scalars['Boolean']['output']>;
|
|
3606
3863
|
banner?: Maybe<Awss3File>;
|
|
3864
|
+
clubId?: Maybe<Scalars['String']['output']>;
|
|
3607
3865
|
description?: Maybe<Scalars['String']['output']>;
|
|
3866
|
+
joinPolicy?: Maybe<Scalars['String']['output']>;
|
|
3608
3867
|
logo?: Maybe<Awss3File>;
|
|
3868
|
+
maxRosterSize?: Maybe<Scalars['Int']['output']>;
|
|
3609
3869
|
name: Scalars['String']['output'];
|
|
3610
3870
|
sports?: Maybe<Array<Sport>>;
|
|
3871
|
+
stripeAccountId?: Maybe<Scalars['String']['output']>;
|
|
3872
|
+
visibility?: Maybe<Scalars['String']['output']>;
|
|
3873
|
+
vtxScore?: Maybe<Scalars['Float']['output']>;
|
|
3874
|
+
};
|
|
3875
|
+
export type TeamAnalytics = {
|
|
3876
|
+
athleteCount: Scalars['Int']['output'];
|
|
3877
|
+
rosterSize?: Maybe<Scalars['Int']['output']>;
|
|
3878
|
+
teamId: Scalars['String']['output'];
|
|
3879
|
+
teamName: Scalars['String']['output'];
|
|
3880
|
+
topPerformers?: Maybe<Array<TeamLeaderboardEntry>>;
|
|
3881
|
+
vtxScore?: Maybe<Scalars['Float']['output']>;
|
|
3882
|
+
vtxScoreHistory?: Maybe<Array<TeamVtxScoreHistoryEntry>>;
|
|
3883
|
+
};
|
|
3884
|
+
export type TeamDashboard = {
|
|
3885
|
+
analytics: TeamAnalytics;
|
|
3886
|
+
leaderboard: Array<TeamLeaderboardEntry>;
|
|
3887
|
+
roster: TeamRosterOverview;
|
|
3888
|
+
};
|
|
3889
|
+
export type TeamLeaderboardEntry = {
|
|
3890
|
+
apiScore?: Maybe<Scalars['Float']['output']>;
|
|
3891
|
+
athleteId: Scalars['String']['output'];
|
|
3892
|
+
athleteName: Scalars['String']['output'];
|
|
3893
|
+
athletePhoto?: Maybe<Scalars['String']['output']>;
|
|
3894
|
+
rank: Scalars['Int']['output'];
|
|
3895
|
+
spiScore?: Maybe<Scalars['Float']['output']>;
|
|
3896
|
+
sport?: Maybe<Scalars['String']['output']>;
|
|
3897
|
+
tpiScore?: Maybe<Scalars['Float']['output']>;
|
|
3898
|
+
vtxScore: Scalars['Float']['output'];
|
|
3899
|
+
};
|
|
3900
|
+
export type TeamRosterOverview = {
|
|
3901
|
+
recentDepartures: Scalars['Int']['output'];
|
|
3902
|
+
recentJoins: Scalars['Int']['output'];
|
|
3903
|
+
totalActive: Scalars['Int']['output'];
|
|
3904
|
+
totalInactive: Scalars['Int']['output'];
|
|
3905
|
+
};
|
|
3906
|
+
export type TeamVtxScoreHistoryEntry = {
|
|
3907
|
+
date: Scalars['DateTime']['output'];
|
|
3908
|
+
score: Scalars['Float']['output'];
|
|
3611
3909
|
};
|
|
3612
3910
|
export type Tenant = {
|
|
3613
3911
|
_id: Scalars['String']['output'];
|
|
@@ -3686,6 +3984,16 @@ export type UpdateAiCoachConfigDto = {
|
|
|
3686
3984
|
nudgesEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3687
3985
|
preferredFocus?: InputMaybe<Scalars['String']['input']>;
|
|
3688
3986
|
};
|
|
3987
|
+
export type UpdateClubInput = {
|
|
3988
|
+
clubId: Scalars['String']['input'];
|
|
3989
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
3990
|
+
feeStructure?: InputMaybe<Scalars['JSON']['input']>;
|
|
3991
|
+
location?: InputMaybe<Scalars['String']['input']>;
|
|
3992
|
+
membershipType?: InputMaybe<Scalars['String']['input']>;
|
|
3993
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
3994
|
+
visibility?: InputMaybe<Scalars['String']['input']>;
|
|
3995
|
+
website?: InputMaybe<Scalars['String']['input']>;
|
|
3996
|
+
};
|
|
3689
3997
|
export type UpdateDatabaseFileDto = {
|
|
3690
3998
|
_id: Scalars['String']['input'];
|
|
3691
3999
|
contentType?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3707,6 +4015,7 @@ export type UpdateEmailSegmentDto = {
|
|
|
3707
4015
|
};
|
|
3708
4016
|
export type UpdateFundingCampaignDto = {
|
|
3709
4017
|
_id: Scalars['String']['input'];
|
|
4018
|
+
autoSendThankYou?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3710
4019
|
budget?: InputMaybe<CreateBudgetDto>;
|
|
3711
4020
|
budgetMode: Scalars['String']['input'];
|
|
3712
4021
|
cityId?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3717,6 +4026,8 @@ export type UpdateFundingCampaignDto = {
|
|
|
3717
4026
|
fundsRequired: Scalars['Float']['input'];
|
|
3718
4027
|
initialFundsObtained?: Scalars['Float']['input'];
|
|
3719
4028
|
motivation: Scalars['String']['input'];
|
|
4029
|
+
thankYouMediaUrl?: InputMaybe<Scalars['String']['input']>;
|
|
4030
|
+
thankYouMessage?: InputMaybe<Scalars['String']['input']>;
|
|
3720
4031
|
title: Scalars['String']['input'];
|
|
3721
4032
|
video?: InputMaybe<CreateVideoDto>;
|
|
3722
4033
|
website?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3751,6 +4062,14 @@ export type UpdateSportEventDto = {
|
|
|
3751
4062
|
startDate?: InputMaybe<Scalars['DateTime']['input']>;
|
|
3752
4063
|
website?: InputMaybe<Scalars['String']['input']>;
|
|
3753
4064
|
};
|
|
4065
|
+
export type UpdateTeamInput = {
|
|
4066
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
4067
|
+
joinPolicy?: InputMaybe<Scalars['String']['input']>;
|
|
4068
|
+
maxRosterSize?: InputMaybe<Scalars['Int']['input']>;
|
|
4069
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
4070
|
+
teamId: Scalars['String']['input'];
|
|
4071
|
+
visibility?: InputMaybe<Scalars['String']['input']>;
|
|
4072
|
+
};
|
|
3754
4073
|
export type UpdateTextDatabaseFileDto = {
|
|
3755
4074
|
_id: Scalars['String']['input'];
|
|
3756
4075
|
content?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3758,6 +4077,12 @@ export type UpdateTextDatabaseFileDto = {
|
|
|
3758
4077
|
identifier?: InputMaybe<Scalars['String']['input']>;
|
|
3759
4078
|
version?: InputMaybe<Scalars['String']['input']>;
|
|
3760
4079
|
};
|
|
4080
|
+
export type UpdateThankYouTemplateDto = {
|
|
4081
|
+
autoSendThankYou?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4082
|
+
campaignId: Scalars['String']['input'];
|
|
4083
|
+
thankYouMediaUrl?: InputMaybe<Scalars['String']['input']>;
|
|
4084
|
+
thankYouMessage?: InputMaybe<Scalars['String']['input']>;
|
|
4085
|
+
};
|
|
3761
4086
|
export type UpdateUserSuspendedStatusDto = {
|
|
3762
4087
|
suspended: Scalars['Boolean']['input'];
|
|
3763
4088
|
userId: Scalars['String']['input'];
|
|
@@ -8653,6 +8978,9 @@ export type CampaignFieldsFragment = {
|
|
|
8653
8978
|
vtxComissionPct: number;
|
|
8654
8979
|
createdDate: string;
|
|
8655
8980
|
endingDate: string;
|
|
8981
|
+
thankYouMessage?: string | null;
|
|
8982
|
+
thankYouMediaUrl?: string | null;
|
|
8983
|
+
autoSendThankYou: boolean;
|
|
8656
8984
|
video?: {
|
|
8657
8985
|
_id: string;
|
|
8658
8986
|
source: string;
|
|
@@ -8767,6 +9095,16 @@ export type CampaignFieldsFragment = {
|
|
|
8767
9095
|
useType?: string | null;
|
|
8768
9096
|
} | null;
|
|
8769
9097
|
};
|
|
9098
|
+
export type DonationThankYouFieldsFragment = {
|
|
9099
|
+
_id: string;
|
|
9100
|
+
message: string;
|
|
9101
|
+
mediaUrl?: string | null;
|
|
9102
|
+
autoSent: boolean;
|
|
9103
|
+
emailSent: boolean;
|
|
9104
|
+
donorEmail?: string | null;
|
|
9105
|
+
donorName?: string | null;
|
|
9106
|
+
sentDate: string;
|
|
9107
|
+
};
|
|
8770
9108
|
export type BrowseCampaignFieldsFragment = {
|
|
8771
9109
|
_id: string;
|
|
8772
9110
|
title: string;
|
|
@@ -8941,6 +9279,9 @@ export type GetAthleteCampaignsQuery = {
|
|
|
8941
9279
|
vtxComissionPct: number;
|
|
8942
9280
|
createdDate: string;
|
|
8943
9281
|
endingDate: string;
|
|
9282
|
+
thankYouMessage?: string | null;
|
|
9283
|
+
thankYouMediaUrl?: string | null;
|
|
9284
|
+
autoSendThankYou: boolean;
|
|
8944
9285
|
athlete: {
|
|
8945
9286
|
_id: string;
|
|
8946
9287
|
firstName: string;
|
|
@@ -9385,6 +9726,9 @@ export type CreateFundingCampaignMutation = {
|
|
|
9385
9726
|
vtxComissionPct: number;
|
|
9386
9727
|
createdDate: string;
|
|
9387
9728
|
endingDate: string;
|
|
9729
|
+
thankYouMessage?: string | null;
|
|
9730
|
+
thankYouMediaUrl?: string | null;
|
|
9731
|
+
autoSendThankYou: boolean;
|
|
9388
9732
|
video?: {
|
|
9389
9733
|
_id: string;
|
|
9390
9734
|
source: string;
|
|
@@ -9518,6 +9862,9 @@ export type UpdateFundingCampaignMutation = {
|
|
|
9518
9862
|
vtxComissionPct: number;
|
|
9519
9863
|
createdDate: string;
|
|
9520
9864
|
endingDate: string;
|
|
9865
|
+
thankYouMessage?: string | null;
|
|
9866
|
+
thankYouMediaUrl?: string | null;
|
|
9867
|
+
autoSendThankYou: boolean;
|
|
9521
9868
|
video?: {
|
|
9522
9869
|
_id: string;
|
|
9523
9870
|
source: string;
|
|
@@ -9678,6 +10025,9 @@ export type SetFundingStatusMutation = {
|
|
|
9678
10025
|
vtxComissionPct: number;
|
|
9679
10026
|
createdDate: string;
|
|
9680
10027
|
endingDate: string;
|
|
10028
|
+
thankYouMessage?: string | null;
|
|
10029
|
+
thankYouMediaUrl?: string | null;
|
|
10030
|
+
autoSendThankYou: boolean;
|
|
9681
10031
|
video?: {
|
|
9682
10032
|
_id: string;
|
|
9683
10033
|
source: string;
|
|
@@ -9811,6 +10161,9 @@ export type SetCurrentCampaignMutation = {
|
|
|
9811
10161
|
vtxComissionPct: number;
|
|
9812
10162
|
createdDate: string;
|
|
9813
10163
|
endingDate: string;
|
|
10164
|
+
thankYouMessage?: string | null;
|
|
10165
|
+
thankYouMediaUrl?: string | null;
|
|
10166
|
+
autoSendThankYou: boolean;
|
|
9814
10167
|
video?: {
|
|
9815
10168
|
_id: string;
|
|
9816
10169
|
source: string;
|
|
@@ -10479,203 +10832,384 @@ export type GetTransactionsPaginatedQuery = {
|
|
|
10479
10832
|
};
|
|
10480
10833
|
};
|
|
10481
10834
|
};
|
|
10482
|
-
export type
|
|
10483
|
-
|
|
10484
|
-
search?: InputMaybe<Scalars['String']['input']>;
|
|
10485
|
-
page?: InputMaybe<Scalars['Int']['input']>;
|
|
10486
|
-
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
10487
|
-
}>;
|
|
10488
|
-
export type GetEmailCampaignsQuery = {
|
|
10489
|
-
getEmailCampaigns: {
|
|
10490
|
-
total: number;
|
|
10491
|
-
campaigns: Array<{
|
|
10492
|
-
_id: string;
|
|
10493
|
-
subject: string;
|
|
10494
|
-
templateId?: string | null;
|
|
10495
|
-
templateName?: string | null;
|
|
10496
|
-
htmlContent?: string | null;
|
|
10497
|
-
audienceFilters: any;
|
|
10498
|
-
segmentId?: string | null;
|
|
10499
|
-
status: string;
|
|
10500
|
-
scheduledFor?: string | null;
|
|
10501
|
-
sentAt?: string | null;
|
|
10502
|
-
recipientCount?: number | null;
|
|
10503
|
-
createdBy: string;
|
|
10504
|
-
createdAt: string;
|
|
10505
|
-
updatedAt?: string | null;
|
|
10506
|
-
testSentAt?: string | null;
|
|
10507
|
-
deliveryStats?: {
|
|
10508
|
-
delivered: number;
|
|
10509
|
-
opens: number;
|
|
10510
|
-
uniqueOpens: number;
|
|
10511
|
-
clicks: number;
|
|
10512
|
-
uniqueClicks: number;
|
|
10513
|
-
bounces: number;
|
|
10514
|
-
spamReports: number;
|
|
10515
|
-
lastUpdated: string;
|
|
10516
|
-
} | null;
|
|
10517
|
-
segment?: {
|
|
10518
|
-
_id: string;
|
|
10519
|
-
name: string;
|
|
10520
|
-
filters: any;
|
|
10521
|
-
createdBy: string;
|
|
10522
|
-
createdAt: string;
|
|
10523
|
-
} | null;
|
|
10524
|
-
}>;
|
|
10525
|
-
};
|
|
10526
|
-
};
|
|
10527
|
-
export type GetAudiencePreviewQueryVariables = Exact<{
|
|
10528
|
-
filters: AudienceFilterDto;
|
|
10529
|
-
}>;
|
|
10530
|
-
export type GetAudiencePreviewQuery = {
|
|
10531
|
-
getAudiencePreview: {
|
|
10532
|
-
total: number;
|
|
10533
|
-
users: Array<{
|
|
10534
|
-
firstName?: string | null;
|
|
10535
|
-
lastName?: string | null;
|
|
10536
|
-
email: string;
|
|
10537
|
-
userType: string;
|
|
10538
|
-
}>;
|
|
10539
|
-
};
|
|
10540
|
-
};
|
|
10541
|
-
export type GetSendGridTemplatesQueryVariables = Exact<{
|
|
10542
|
-
[key: string]: never;
|
|
10543
|
-
}>;
|
|
10544
|
-
export type GetSendGridTemplatesQuery = {
|
|
10545
|
-
getSendGridTemplates: Array<{
|
|
10546
|
-
id: string;
|
|
10547
|
-
name: string;
|
|
10548
|
-
subject?: string | null;
|
|
10549
|
-
updatedAt?: string | null;
|
|
10550
|
-
}>;
|
|
10551
|
-
};
|
|
10552
|
-
export type GetSendGridTemplatePreviewQueryVariables = Exact<{
|
|
10553
|
-
templateId: Scalars['String']['input'];
|
|
10554
|
-
}>;
|
|
10555
|
-
export type GetSendGridTemplatePreviewQuery = {
|
|
10556
|
-
getSendGridTemplatePreview?: string | null;
|
|
10557
|
-
};
|
|
10558
|
-
export type GetEmailSegmentsQueryVariables = Exact<{
|
|
10559
|
-
[key: string]: never;
|
|
10835
|
+
export type CampaignThankYousQueryVariables = Exact<{
|
|
10836
|
+
campaignId: Scalars['String']['input'];
|
|
10560
10837
|
}>;
|
|
10561
|
-
export type
|
|
10562
|
-
|
|
10838
|
+
export type CampaignThankYousQuery = {
|
|
10839
|
+
campaignThankYous: Array<{
|
|
10563
10840
|
_id: string;
|
|
10564
|
-
|
|
10565
|
-
|
|
10566
|
-
|
|
10567
|
-
|
|
10841
|
+
message: string;
|
|
10842
|
+
mediaUrl?: string | null;
|
|
10843
|
+
autoSent: boolean;
|
|
10844
|
+
emailSent: boolean;
|
|
10845
|
+
donorEmail?: string | null;
|
|
10846
|
+
donorName?: string | null;
|
|
10847
|
+
sentDate: string;
|
|
10568
10848
|
}>;
|
|
10569
10849
|
};
|
|
10570
|
-
export type
|
|
10571
|
-
|
|
10572
|
-
}>;
|
|
10573
|
-
export type CreateEmailCampaignMutation = {
|
|
10574
|
-
createEmailCampaign: {
|
|
10575
|
-
_id: string;
|
|
10576
|
-
subject: string;
|
|
10577
|
-
status: string;
|
|
10578
|
-
createdAt: string;
|
|
10579
|
-
updatedAt?: string | null;
|
|
10580
|
-
};
|
|
10581
|
-
};
|
|
10582
|
-
export type UpdateEmailCampaignMutationVariables = Exact<{
|
|
10583
|
-
id: Scalars['String']['input'];
|
|
10584
|
-
input: UpdateEmailCampaignDto;
|
|
10850
|
+
export type DonationThankYouQueryVariables = Exact<{
|
|
10851
|
+
donationId: Scalars['String']['input'];
|
|
10585
10852
|
}>;
|
|
10586
|
-
export type
|
|
10587
|
-
|
|
10853
|
+
export type DonationThankYouQuery = {
|
|
10854
|
+
donationThankYou?: {
|
|
10588
10855
|
_id: string;
|
|
10589
|
-
|
|
10590
|
-
|
|
10591
|
-
|
|
10592
|
-
|
|
10593
|
-
|
|
10594
|
-
|
|
10595
|
-
|
|
10596
|
-
}
|
|
10597
|
-
export type DeleteEmailCampaignMutation = {
|
|
10598
|
-
deleteEmailCampaign: boolean;
|
|
10856
|
+
message: string;
|
|
10857
|
+
mediaUrl?: string | null;
|
|
10858
|
+
autoSent: boolean;
|
|
10859
|
+
emailSent: boolean;
|
|
10860
|
+
donorEmail?: string | null;
|
|
10861
|
+
donorName?: string | null;
|
|
10862
|
+
sentDate: string;
|
|
10863
|
+
} | null;
|
|
10599
10864
|
};
|
|
10600
|
-
export type
|
|
10601
|
-
|
|
10865
|
+
export type UpdateThankYouTemplateMutationVariables = Exact<{
|
|
10866
|
+
input: UpdateThankYouTemplateDto;
|
|
10602
10867
|
}>;
|
|
10603
|
-
export type
|
|
10604
|
-
|
|
10868
|
+
export type UpdateThankYouTemplateMutation = {
|
|
10869
|
+
updateThankYouTemplate: {
|
|
10605
10870
|
_id: string;
|
|
10606
|
-
|
|
10871
|
+
budgetMode: string;
|
|
10607
10872
|
status: string;
|
|
10608
|
-
|
|
10609
|
-
|
|
10610
|
-
|
|
10611
|
-
|
|
10612
|
-
|
|
10613
|
-
|
|
10614
|
-
|
|
10615
|
-
|
|
10616
|
-
|
|
10617
|
-
|
|
10618
|
-
|
|
10619
|
-
|
|
10620
|
-
|
|
10621
|
-
|
|
10622
|
-
|
|
10873
|
+
title: string;
|
|
10874
|
+
slug?: string | null;
|
|
10875
|
+
motivation?: string | null;
|
|
10876
|
+
website?: string | null;
|
|
10877
|
+
fundsRequired: number;
|
|
10878
|
+
initialFundsObtained: number;
|
|
10879
|
+
fundsObtained: number;
|
|
10880
|
+
vtxComissionPct: number;
|
|
10881
|
+
createdDate: string;
|
|
10882
|
+
endingDate: string;
|
|
10883
|
+
thankYouMessage?: string | null;
|
|
10884
|
+
thankYouMediaUrl?: string | null;
|
|
10885
|
+
autoSendThankYou: boolean;
|
|
10886
|
+
video?: {
|
|
10887
|
+
_id: string;
|
|
10888
|
+
source: string;
|
|
10889
|
+
url: string;
|
|
10890
|
+
sourceData: string;
|
|
10891
|
+
} | null;
|
|
10892
|
+
location?: {
|
|
10893
|
+
userProvidedLatitude?: number | null;
|
|
10894
|
+
userProvidedLongitude?: number | null;
|
|
10895
|
+
cityNameGeocode?: string | null;
|
|
10896
|
+
stateNameGeocode?: string | null;
|
|
10897
|
+
countryIso2CodeGeocode?: string | null;
|
|
10898
|
+
timeZoneGeocode?: string | null;
|
|
10899
|
+
latitudeGeocode?: number | null;
|
|
10900
|
+
longitudeGeocode?: number | null;
|
|
10901
|
+
city?: {
|
|
10902
|
+
_id: string;
|
|
10903
|
+
name: string;
|
|
10904
|
+
localizedName: string;
|
|
10905
|
+
latitude?: number | null;
|
|
10906
|
+
longitude?: number | null;
|
|
10907
|
+
timezone?: string | null;
|
|
10908
|
+
state?: {
|
|
10909
|
+
_id: string;
|
|
10910
|
+
name: string;
|
|
10911
|
+
country?: {
|
|
10912
|
+
_id: string;
|
|
10913
|
+
name: string;
|
|
10914
|
+
} | null;
|
|
10915
|
+
} | null;
|
|
10916
|
+
} | null;
|
|
10917
|
+
} | null;
|
|
10918
|
+
budget?: {
|
|
10919
|
+
initialFunds: number;
|
|
10920
|
+
totalRequired: number;
|
|
10921
|
+
items?: Array<{
|
|
10922
|
+
_id: string;
|
|
10923
|
+
quantity: number;
|
|
10924
|
+
concept: string;
|
|
10925
|
+
itemCost: number;
|
|
10926
|
+
unit?: string | null;
|
|
10927
|
+
}> | null;
|
|
10928
|
+
} | null;
|
|
10929
|
+
competitions?: Array<{
|
|
10930
|
+
_id: string;
|
|
10931
|
+
participationDate?: string | null;
|
|
10932
|
+
competitionNumber?: string | null;
|
|
10933
|
+
fundRaisingCampaignIds?: Array<string> | null;
|
|
10934
|
+
event: {
|
|
10935
|
+
_id: string;
|
|
10936
|
+
name: string;
|
|
10937
|
+
eventWebSite?: string | null;
|
|
10938
|
+
startDate: string;
|
|
10939
|
+
endDate?: string | null;
|
|
10940
|
+
verified: boolean;
|
|
10941
|
+
mainSport?: {
|
|
10942
|
+
_id: string;
|
|
10943
|
+
name: string;
|
|
10944
|
+
} | null;
|
|
10945
|
+
banner?: {
|
|
10946
|
+
_id: string;
|
|
10947
|
+
name?: string | null;
|
|
10948
|
+
contentType?: string | null;
|
|
10949
|
+
size?: number | null;
|
|
10950
|
+
useType?: string | null;
|
|
10951
|
+
url: string;
|
|
10952
|
+
key: string;
|
|
10953
|
+
} | null;
|
|
10954
|
+
location?: {
|
|
10955
|
+
_id: string;
|
|
10956
|
+
userProvidedLatitude?: number | null;
|
|
10957
|
+
userProvidedLongitude?: number | null;
|
|
10958
|
+
cityNameGeocode?: string | null;
|
|
10959
|
+
stateNameGeocode?: string | null;
|
|
10960
|
+
countryIso2CodeGeocode?: string | null;
|
|
10961
|
+
timeZoneGeocode?: string | null;
|
|
10962
|
+
latitudeGeocode?: number | null;
|
|
10963
|
+
longitudeGeocode?: number | null;
|
|
10964
|
+
city?: {
|
|
10965
|
+
_id: string;
|
|
10966
|
+
name: string;
|
|
10967
|
+
localizedName: string;
|
|
10968
|
+
latitude?: number | null;
|
|
10969
|
+
longitude?: number | null;
|
|
10970
|
+
timezone?: string | null;
|
|
10971
|
+
state?: {
|
|
10972
|
+
_id: string;
|
|
10973
|
+
name: string;
|
|
10974
|
+
country?: {
|
|
10975
|
+
_id: string;
|
|
10976
|
+
name: string;
|
|
10977
|
+
} | null;
|
|
10978
|
+
} | null;
|
|
10979
|
+
} | null;
|
|
10980
|
+
} | null;
|
|
10981
|
+
};
|
|
10982
|
+
result?: {
|
|
10983
|
+
resultType: string;
|
|
10984
|
+
position?: number | null;
|
|
10985
|
+
score?: string | null;
|
|
10986
|
+
finishTimeMS?: number | null;
|
|
10987
|
+
resultWebLink?: string | null;
|
|
10988
|
+
} | null;
|
|
10989
|
+
}> | null;
|
|
10990
|
+
coverImage?: {
|
|
10991
|
+
_id: string;
|
|
10992
|
+
url: string;
|
|
10993
|
+
key: string;
|
|
10994
|
+
name?: string | null;
|
|
10995
|
+
contentType?: string | null;
|
|
10996
|
+
size?: number | null;
|
|
10997
|
+
useType?: string | null;
|
|
10998
|
+
} | null;
|
|
10999
|
+
};
|
|
10623
11000
|
};
|
|
10624
|
-
export type
|
|
10625
|
-
|
|
10626
|
-
scheduledFor: Scalars['DateTime']['input'];
|
|
11001
|
+
export type SendThankYouMutationVariables = Exact<{
|
|
11002
|
+
input: SendThankYouDto;
|
|
10627
11003
|
}>;
|
|
10628
|
-
export type
|
|
10629
|
-
|
|
11004
|
+
export type SendThankYouMutation = {
|
|
11005
|
+
sendThankYou: {
|
|
10630
11006
|
_id: string;
|
|
10631
|
-
|
|
10632
|
-
|
|
11007
|
+
message: string;
|
|
11008
|
+
mediaUrl?: string | null;
|
|
11009
|
+
autoSent: boolean;
|
|
11010
|
+
emailSent: boolean;
|
|
11011
|
+
donorEmail?: string | null;
|
|
11012
|
+
donorName?: string | null;
|
|
11013
|
+
sentDate: string;
|
|
10633
11014
|
};
|
|
10634
11015
|
};
|
|
10635
|
-
export type
|
|
10636
|
-
|
|
11016
|
+
export type GetEmailCampaignsQueryVariables = Exact<{
|
|
11017
|
+
status?: InputMaybe<Scalars['String']['input']>;
|
|
11018
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
11019
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
11020
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
10637
11021
|
}>;
|
|
10638
|
-
export type
|
|
10639
|
-
|
|
10640
|
-
|
|
10641
|
-
|
|
11022
|
+
export type GetEmailCampaignsQuery = {
|
|
11023
|
+
getEmailCampaigns: {
|
|
11024
|
+
total: number;
|
|
11025
|
+
campaigns: Array<{
|
|
11026
|
+
_id: string;
|
|
11027
|
+
subject: string;
|
|
11028
|
+
templateId?: string | null;
|
|
11029
|
+
templateName?: string | null;
|
|
11030
|
+
htmlContent?: string | null;
|
|
11031
|
+
audienceFilters: any;
|
|
11032
|
+
segmentId?: string | null;
|
|
11033
|
+
status: string;
|
|
11034
|
+
scheduledFor?: string | null;
|
|
11035
|
+
sentAt?: string | null;
|
|
11036
|
+
recipientCount?: number | null;
|
|
11037
|
+
createdBy: string;
|
|
11038
|
+
createdAt: string;
|
|
11039
|
+
updatedAt?: string | null;
|
|
11040
|
+
testSentAt?: string | null;
|
|
11041
|
+
deliveryStats?: {
|
|
11042
|
+
delivered: number;
|
|
11043
|
+
opens: number;
|
|
11044
|
+
uniqueOpens: number;
|
|
11045
|
+
clicks: number;
|
|
11046
|
+
uniqueClicks: number;
|
|
11047
|
+
bounces: number;
|
|
11048
|
+
spamReports: number;
|
|
11049
|
+
lastUpdated: string;
|
|
11050
|
+
} | null;
|
|
11051
|
+
segment?: {
|
|
11052
|
+
_id: string;
|
|
11053
|
+
name: string;
|
|
11054
|
+
filters: any;
|
|
11055
|
+
createdBy: string;
|
|
11056
|
+
createdAt: string;
|
|
11057
|
+
} | null;
|
|
11058
|
+
}>;
|
|
10642
11059
|
};
|
|
10643
11060
|
};
|
|
10644
|
-
export type
|
|
10645
|
-
|
|
11061
|
+
export type GetAudiencePreviewQueryVariables = Exact<{
|
|
11062
|
+
filters: AudienceFilterDto;
|
|
10646
11063
|
}>;
|
|
10647
|
-
export type
|
|
10648
|
-
|
|
11064
|
+
export type GetAudiencePreviewQuery = {
|
|
11065
|
+
getAudiencePreview: {
|
|
11066
|
+
total: number;
|
|
11067
|
+
users: Array<{
|
|
11068
|
+
firstName?: string | null;
|
|
11069
|
+
lastName?: string | null;
|
|
11070
|
+
email: string;
|
|
11071
|
+
userType: string;
|
|
11072
|
+
}>;
|
|
11073
|
+
};
|
|
11074
|
+
};
|
|
11075
|
+
export type GetSendGridTemplatesQueryVariables = Exact<{
|
|
11076
|
+
[key: string]: never;
|
|
11077
|
+
}>;
|
|
11078
|
+
export type GetSendGridTemplatesQuery = {
|
|
11079
|
+
getSendGridTemplates: Array<{
|
|
11080
|
+
id: string;
|
|
11081
|
+
name: string;
|
|
11082
|
+
subject?: string | null;
|
|
11083
|
+
updatedAt?: string | null;
|
|
11084
|
+
}>;
|
|
11085
|
+
};
|
|
11086
|
+
export type GetSendGridTemplatePreviewQueryVariables = Exact<{
|
|
11087
|
+
templateId: Scalars['String']['input'];
|
|
11088
|
+
}>;
|
|
11089
|
+
export type GetSendGridTemplatePreviewQuery = {
|
|
11090
|
+
getSendGridTemplatePreview?: string | null;
|
|
11091
|
+
};
|
|
11092
|
+
export type GetEmailSegmentsQueryVariables = Exact<{
|
|
11093
|
+
[key: string]: never;
|
|
11094
|
+
}>;
|
|
11095
|
+
export type GetEmailSegmentsQuery = {
|
|
11096
|
+
getEmailSegments: Array<{
|
|
10649
11097
|
_id: string;
|
|
10650
11098
|
name: string;
|
|
10651
11099
|
filters: any;
|
|
10652
11100
|
createdBy: string;
|
|
10653
11101
|
createdAt: string;
|
|
10654
|
-
}
|
|
11102
|
+
}>;
|
|
10655
11103
|
};
|
|
10656
|
-
export type
|
|
10657
|
-
|
|
10658
|
-
input: UpdateEmailSegmentDto;
|
|
11104
|
+
export type CreateEmailCampaignMutationVariables = Exact<{
|
|
11105
|
+
input: CreateEmailCampaignDto;
|
|
10659
11106
|
}>;
|
|
10660
|
-
export type
|
|
10661
|
-
|
|
11107
|
+
export type CreateEmailCampaignMutation = {
|
|
11108
|
+
createEmailCampaign: {
|
|
10662
11109
|
_id: string;
|
|
10663
|
-
|
|
10664
|
-
|
|
11110
|
+
subject: string;
|
|
11111
|
+
status: string;
|
|
10665
11112
|
createdAt: string;
|
|
11113
|
+
updatedAt?: string | null;
|
|
10666
11114
|
};
|
|
10667
11115
|
};
|
|
10668
|
-
export type
|
|
11116
|
+
export type UpdateEmailCampaignMutationVariables = Exact<{
|
|
10669
11117
|
id: Scalars['String']['input'];
|
|
11118
|
+
input: UpdateEmailCampaignDto;
|
|
10670
11119
|
}>;
|
|
10671
|
-
export type
|
|
10672
|
-
|
|
11120
|
+
export type UpdateEmailCampaignMutation = {
|
|
11121
|
+
updateEmailCampaign: {
|
|
11122
|
+
_id: string;
|
|
11123
|
+
subject: string;
|
|
11124
|
+
status: string;
|
|
11125
|
+
updatedAt?: string | null;
|
|
11126
|
+
};
|
|
10673
11127
|
};
|
|
10674
|
-
export type
|
|
10675
|
-
|
|
11128
|
+
export type DeleteEmailCampaignMutationVariables = Exact<{
|
|
11129
|
+
id: Scalars['String']['input'];
|
|
10676
11130
|
}>;
|
|
10677
|
-
export type
|
|
10678
|
-
|
|
11131
|
+
export type DeleteEmailCampaignMutation = {
|
|
11132
|
+
deleteEmailCampaign: boolean;
|
|
11133
|
+
};
|
|
11134
|
+
export type CloneEmailCampaignMutationVariables = Exact<{
|
|
11135
|
+
id: Scalars['String']['input'];
|
|
11136
|
+
}>;
|
|
11137
|
+
export type CloneEmailCampaignMutation = {
|
|
11138
|
+
cloneEmailCampaign: {
|
|
11139
|
+
_id: string;
|
|
11140
|
+
subject: string;
|
|
11141
|
+
status: string;
|
|
11142
|
+
createdAt: string;
|
|
11143
|
+
};
|
|
11144
|
+
};
|
|
11145
|
+
export type SendTestEmailMutationVariables = Exact<{
|
|
11146
|
+
campaignId: Scalars['String']['input'];
|
|
11147
|
+
adminEmail: Scalars['String']['input'];
|
|
11148
|
+
}>;
|
|
11149
|
+
export type SendTestEmailMutation = {
|
|
11150
|
+
sendTestEmail: boolean;
|
|
11151
|
+
};
|
|
11152
|
+
export type SendBulkEmailMutationVariables = Exact<{
|
|
11153
|
+
campaignId: Scalars['String']['input'];
|
|
11154
|
+
}>;
|
|
11155
|
+
export type SendBulkEmailMutation = {
|
|
11156
|
+
sendBulkEmail: boolean;
|
|
11157
|
+
};
|
|
11158
|
+
export type ScheduleEmailCampaignMutationVariables = Exact<{
|
|
11159
|
+
campaignId: Scalars['String']['input'];
|
|
11160
|
+
scheduledFor: Scalars['DateTime']['input'];
|
|
11161
|
+
}>;
|
|
11162
|
+
export type ScheduleEmailCampaignMutation = {
|
|
11163
|
+
scheduleEmailCampaign: {
|
|
11164
|
+
_id: string;
|
|
11165
|
+
status: string;
|
|
11166
|
+
scheduledFor?: string | null;
|
|
11167
|
+
};
|
|
11168
|
+
};
|
|
11169
|
+
export type CancelScheduledEmailMutationVariables = Exact<{
|
|
11170
|
+
campaignId: Scalars['String']['input'];
|
|
11171
|
+
}>;
|
|
11172
|
+
export type CancelScheduledEmailMutation = {
|
|
11173
|
+
cancelScheduledEmail: {
|
|
11174
|
+
_id: string;
|
|
11175
|
+
status: string;
|
|
11176
|
+
};
|
|
11177
|
+
};
|
|
11178
|
+
export type CreateEmailSegmentMutationVariables = Exact<{
|
|
11179
|
+
input: CreateEmailSegmentDto;
|
|
11180
|
+
}>;
|
|
11181
|
+
export type CreateEmailSegmentMutation = {
|
|
11182
|
+
createEmailSegment: {
|
|
11183
|
+
_id: string;
|
|
11184
|
+
name: string;
|
|
11185
|
+
filters: any;
|
|
11186
|
+
createdBy: string;
|
|
11187
|
+
createdAt: string;
|
|
11188
|
+
};
|
|
11189
|
+
};
|
|
11190
|
+
export type UpdateEmailSegmentMutationVariables = Exact<{
|
|
11191
|
+
id: Scalars['String']['input'];
|
|
11192
|
+
input: UpdateEmailSegmentDto;
|
|
11193
|
+
}>;
|
|
11194
|
+
export type UpdateEmailSegmentMutation = {
|
|
11195
|
+
updateEmailSegment: {
|
|
11196
|
+
_id: string;
|
|
11197
|
+
name: string;
|
|
11198
|
+
filters: any;
|
|
11199
|
+
createdAt: string;
|
|
11200
|
+
};
|
|
11201
|
+
};
|
|
11202
|
+
export type DeleteEmailSegmentMutationVariables = Exact<{
|
|
11203
|
+
id: Scalars['String']['input'];
|
|
11204
|
+
}>;
|
|
11205
|
+
export type DeleteEmailSegmentMutation = {
|
|
11206
|
+
deleteEmailSegment: boolean;
|
|
11207
|
+
};
|
|
11208
|
+
export type FollowAthleteMutationVariables = Exact<{
|
|
11209
|
+
input: FollowAthleteInput;
|
|
11210
|
+
}>;
|
|
11211
|
+
export type FollowAthleteMutation = {
|
|
11212
|
+
followAthlete: boolean;
|
|
10679
11213
|
};
|
|
10680
11214
|
export type UnfollowAthleteMutationVariables = Exact<{
|
|
10681
11215
|
input: UnfollowAthleteInput;
|
|
@@ -11884,15 +12418,575 @@ export type SponsorshipFullFieldsFragment = {
|
|
|
11884
12418
|
description?: string | null;
|
|
11885
12419
|
approved: boolean;
|
|
11886
12420
|
published: boolean;
|
|
11887
|
-
operatorIds?: Array<string> | null;
|
|
11888
|
-
logo?: {
|
|
12421
|
+
operatorIds?: Array<string> | null;
|
|
12422
|
+
logo?: {
|
|
12423
|
+
_id: string;
|
|
12424
|
+
name?: string | null;
|
|
12425
|
+
contentType?: string | null;
|
|
12426
|
+
size?: number | null;
|
|
12427
|
+
useType?: string | null;
|
|
12428
|
+
url: string;
|
|
12429
|
+
key: string;
|
|
12430
|
+
} | null;
|
|
12431
|
+
banner?: {
|
|
12432
|
+
_id: string;
|
|
12433
|
+
name?: string | null;
|
|
12434
|
+
contentType?: string | null;
|
|
12435
|
+
size?: number | null;
|
|
12436
|
+
useType?: string | null;
|
|
12437
|
+
url: string;
|
|
12438
|
+
key: string;
|
|
12439
|
+
} | null;
|
|
12440
|
+
stats?: {
|
|
12441
|
+
campaigns?: number | null;
|
|
12442
|
+
sponsorships?: number | null;
|
|
12443
|
+
sports?: number | null;
|
|
12444
|
+
athletes?: number | null;
|
|
12445
|
+
} | null;
|
|
12446
|
+
} | null;
|
|
12447
|
+
banner?: {
|
|
12448
|
+
_id: string;
|
|
12449
|
+
name?: string | null;
|
|
12450
|
+
contentType?: string | null;
|
|
12451
|
+
size?: number | null;
|
|
12452
|
+
useType?: string | null;
|
|
12453
|
+
url: string;
|
|
12454
|
+
key: string;
|
|
12455
|
+
} | null;
|
|
12456
|
+
criteria?: {
|
|
12457
|
+
_id: string;
|
|
12458
|
+
label?: string | null;
|
|
12459
|
+
qualifications?: Array<{
|
|
12460
|
+
type: string;
|
|
12461
|
+
value: number;
|
|
12462
|
+
operator: string;
|
|
12463
|
+
} | {
|
|
12464
|
+
type: string;
|
|
12465
|
+
maxDistance: number;
|
|
12466
|
+
latitude?: number | null;
|
|
12467
|
+
longitude?: number | null;
|
|
12468
|
+
} | {
|
|
12469
|
+
type: string;
|
|
12470
|
+
operator: string;
|
|
12471
|
+
values: Array<string>;
|
|
12472
|
+
} | {
|
|
12473
|
+
type: string;
|
|
12474
|
+
operator: string;
|
|
12475
|
+
countries: Array<{
|
|
12476
|
+
_id: string;
|
|
12477
|
+
name: string;
|
|
12478
|
+
}>;
|
|
12479
|
+
states: Array<{
|
|
12480
|
+
_id: string;
|
|
12481
|
+
name: string;
|
|
12482
|
+
country?: {
|
|
12483
|
+
_id: string;
|
|
12484
|
+
name: string;
|
|
12485
|
+
} | null;
|
|
12486
|
+
}>;
|
|
12487
|
+
cities: Array<{
|
|
12488
|
+
_id: string;
|
|
12489
|
+
name: string;
|
|
12490
|
+
localizedName: string;
|
|
12491
|
+
latitude?: number | null;
|
|
12492
|
+
longitude?: number | null;
|
|
12493
|
+
timezone?: string | null;
|
|
12494
|
+
state?: {
|
|
12495
|
+
_id: string;
|
|
12496
|
+
name: string;
|
|
12497
|
+
country?: {
|
|
12498
|
+
_id: string;
|
|
12499
|
+
name: string;
|
|
12500
|
+
} | null;
|
|
12501
|
+
} | null;
|
|
12502
|
+
}>;
|
|
12503
|
+
} | {
|
|
12504
|
+
type: string;
|
|
12505
|
+
operator: string;
|
|
12506
|
+
countries: Array<{
|
|
12507
|
+
_id: string;
|
|
12508
|
+
name: string;
|
|
12509
|
+
}>;
|
|
12510
|
+
} | {
|
|
12511
|
+
type: string;
|
|
12512
|
+
scoreType: string;
|
|
12513
|
+
operator: string;
|
|
12514
|
+
value: number;
|
|
12515
|
+
} | {
|
|
12516
|
+
type: string;
|
|
12517
|
+
operator: string;
|
|
12518
|
+
level: string;
|
|
12519
|
+
} | {
|
|
12520
|
+
type: string;
|
|
12521
|
+
sports: Array<string>;
|
|
12522
|
+
operator: string;
|
|
12523
|
+
}> | null;
|
|
12524
|
+
} | null;
|
|
12525
|
+
sponsorshipItems?: Array<{
|
|
12526
|
+
_id: string;
|
|
12527
|
+
quantity: number;
|
|
12528
|
+
title: string;
|
|
12529
|
+
value: number;
|
|
12530
|
+
type: string;
|
|
12531
|
+
}> | null;
|
|
12532
|
+
duration: {
|
|
12533
|
+
length: number;
|
|
12534
|
+
unit: string;
|
|
12535
|
+
};
|
|
12536
|
+
stats?: {
|
|
12537
|
+
totalApplications?: number | null;
|
|
12538
|
+
newApplications?: number | null;
|
|
12539
|
+
discardedApplications?: number | null;
|
|
12540
|
+
selectedApplications?: number | null;
|
|
12541
|
+
approvedApplications?: number | null;
|
|
12542
|
+
grantedSponsorships?: number | null;
|
|
12543
|
+
remainingSponsorships?: number | null;
|
|
12544
|
+
} | null;
|
|
12545
|
+
};
|
|
12546
|
+
export type PaginationInfoFieldsFragment = {
|
|
12547
|
+
currentPage: number;
|
|
12548
|
+
totalPages: number;
|
|
12549
|
+
totalItems: number;
|
|
12550
|
+
itemsPerPage: number;
|
|
12551
|
+
hasNextPage: boolean;
|
|
12552
|
+
hasPreviousPage: boolean;
|
|
12553
|
+
};
|
|
12554
|
+
export type FindBrandByNameQueryVariables = Exact<{
|
|
12555
|
+
name: Scalars['String']['input'];
|
|
12556
|
+
translations: Scalars['Boolean']['input'];
|
|
12557
|
+
}>;
|
|
12558
|
+
export type FindBrandByNameQuery = {
|
|
12559
|
+
getBrandByName: {
|
|
12560
|
+
_id: string;
|
|
12561
|
+
name: string;
|
|
12562
|
+
slogan?: string | null;
|
|
12563
|
+
website?: string | null;
|
|
12564
|
+
description?: string | null;
|
|
12565
|
+
logo?: {
|
|
12566
|
+
name?: string | null;
|
|
12567
|
+
contentType?: string | null;
|
|
12568
|
+
size?: number | null;
|
|
12569
|
+
useType?: string | null;
|
|
12570
|
+
url: string;
|
|
12571
|
+
key: string;
|
|
12572
|
+
} | null;
|
|
12573
|
+
banner?: {
|
|
12574
|
+
name?: string | null;
|
|
12575
|
+
contentType?: string | null;
|
|
12576
|
+
size?: number | null;
|
|
12577
|
+
useType?: string | null;
|
|
12578
|
+
url: string;
|
|
12579
|
+
key: string;
|
|
12580
|
+
} | null;
|
|
12581
|
+
translations?: Array<{
|
|
12582
|
+
name?: string | null;
|
|
12583
|
+
slogan?: string | null;
|
|
12584
|
+
description?: string | null;
|
|
12585
|
+
language: string;
|
|
12586
|
+
}> | null;
|
|
12587
|
+
};
|
|
12588
|
+
};
|
|
12589
|
+
export type GetBrandsQueryVariables = Exact<{
|
|
12590
|
+
[key: string]: never;
|
|
12591
|
+
}>;
|
|
12592
|
+
export type GetBrandsQuery = {
|
|
12593
|
+
brands: Array<{
|
|
12594
|
+
_id: string;
|
|
12595
|
+
name: string;
|
|
12596
|
+
slogan?: string | null;
|
|
12597
|
+
website?: string | null;
|
|
12598
|
+
affiliateLink?: string | null;
|
|
12599
|
+
description?: string | null;
|
|
12600
|
+
approved: boolean;
|
|
12601
|
+
published: boolean;
|
|
12602
|
+
operatorIds?: Array<string> | null;
|
|
12603
|
+
sponsors?: Array<{
|
|
12604
|
+
_id: string;
|
|
12605
|
+
sponsor?: {
|
|
12606
|
+
_id: string;
|
|
12607
|
+
name: string;
|
|
12608
|
+
description?: string | null;
|
|
12609
|
+
} | null;
|
|
12610
|
+
}> | null;
|
|
12611
|
+
logo?: {
|
|
12612
|
+
_id: string;
|
|
12613
|
+
name?: string | null;
|
|
12614
|
+
contentType?: string | null;
|
|
12615
|
+
size?: number | null;
|
|
12616
|
+
useType?: string | null;
|
|
12617
|
+
url: string;
|
|
12618
|
+
key: string;
|
|
12619
|
+
} | null;
|
|
12620
|
+
banner?: {
|
|
12621
|
+
_id: string;
|
|
12622
|
+
name?: string | null;
|
|
12623
|
+
contentType?: string | null;
|
|
12624
|
+
size?: number | null;
|
|
12625
|
+
useType?: string | null;
|
|
12626
|
+
url: string;
|
|
12627
|
+
key: string;
|
|
12628
|
+
} | null;
|
|
12629
|
+
stats?: {
|
|
12630
|
+
campaigns?: number | null;
|
|
12631
|
+
sponsorships?: number | null;
|
|
12632
|
+
sports?: number | null;
|
|
12633
|
+
athletes?: number | null;
|
|
12634
|
+
} | null;
|
|
12635
|
+
}>;
|
|
12636
|
+
};
|
|
12637
|
+
export type GetBrandsPaginatedQueryVariables = Exact<{
|
|
12638
|
+
query?: InputMaybe<BrandQueryDto>;
|
|
12639
|
+
}>;
|
|
12640
|
+
export type GetBrandsPaginatedQuery = {
|
|
12641
|
+
getBrandsPaginated: {
|
|
12642
|
+
items: Array<{
|
|
12643
|
+
_id: string;
|
|
12644
|
+
name: string;
|
|
12645
|
+
slogan?: string | null;
|
|
12646
|
+
website?: string | null;
|
|
12647
|
+
affiliateLink?: string | null;
|
|
12648
|
+
description?: string | null;
|
|
12649
|
+
approved: boolean;
|
|
12650
|
+
published: boolean;
|
|
12651
|
+
logo?: {
|
|
12652
|
+
_id: string;
|
|
12653
|
+
name?: string | null;
|
|
12654
|
+
contentType?: string | null;
|
|
12655
|
+
size?: number | null;
|
|
12656
|
+
useType?: string | null;
|
|
12657
|
+
url: string;
|
|
12658
|
+
key: string;
|
|
12659
|
+
} | null;
|
|
12660
|
+
banner?: {
|
|
12661
|
+
_id: string;
|
|
12662
|
+
name?: string | null;
|
|
12663
|
+
contentType?: string | null;
|
|
12664
|
+
size?: number | null;
|
|
12665
|
+
useType?: string | null;
|
|
12666
|
+
url: string;
|
|
12667
|
+
key: string;
|
|
12668
|
+
} | null;
|
|
12669
|
+
sponsors?: Array<{
|
|
12670
|
+
_id: string;
|
|
12671
|
+
sponsor?: {
|
|
12672
|
+
_id: string;
|
|
12673
|
+
name: string;
|
|
12674
|
+
description?: string | null;
|
|
12675
|
+
} | null;
|
|
12676
|
+
}> | null;
|
|
12677
|
+
}>;
|
|
12678
|
+
pagination: {
|
|
12679
|
+
currentPage: number;
|
|
12680
|
+
totalPages: number;
|
|
12681
|
+
totalItems: number;
|
|
12682
|
+
itemsPerPage: number;
|
|
12683
|
+
hasNextPage: boolean;
|
|
12684
|
+
hasPreviousPage: boolean;
|
|
12685
|
+
};
|
|
12686
|
+
};
|
|
12687
|
+
};
|
|
12688
|
+
export type CreateBrandMutationVariables = Exact<{
|
|
12689
|
+
input: CreateBrandDto;
|
|
12690
|
+
}>;
|
|
12691
|
+
export type CreateBrandMutation = {
|
|
12692
|
+
createBrand: {
|
|
12693
|
+
_id: string;
|
|
12694
|
+
};
|
|
12695
|
+
};
|
|
12696
|
+
export type UpdateBrandMutationVariables = Exact<{
|
|
12697
|
+
id: Scalars['String']['input'];
|
|
12698
|
+
input: CreateBrandDto;
|
|
12699
|
+
}>;
|
|
12700
|
+
export type UpdateBrandMutation = {
|
|
12701
|
+
updateBrand: {
|
|
12702
|
+
_id: string;
|
|
12703
|
+
};
|
|
12704
|
+
};
|
|
12705
|
+
export type DeleteBrandMutationVariables = Exact<{
|
|
12706
|
+
id: Scalars['String']['input'];
|
|
12707
|
+
}>;
|
|
12708
|
+
export type DeleteBrandMutation = {
|
|
12709
|
+
deleteBrand: boolean;
|
|
12710
|
+
};
|
|
12711
|
+
export type LinkBrandToSponsorMutationVariables = Exact<{
|
|
12712
|
+
brandId: Scalars['String']['input'];
|
|
12713
|
+
sponsorId: Scalars['String']['input'];
|
|
12714
|
+
}>;
|
|
12715
|
+
export type LinkBrandToSponsorMutation = {
|
|
12716
|
+
linkBrandToSponsor: {
|
|
12717
|
+
_id: string;
|
|
12718
|
+
};
|
|
12719
|
+
};
|
|
12720
|
+
export type UnlinkBrandFromSponsorMutationVariables = Exact<{
|
|
12721
|
+
brandId: Scalars['String']['input'];
|
|
12722
|
+
sponsorId: Scalars['String']['input'];
|
|
12723
|
+
}>;
|
|
12724
|
+
export type UnlinkBrandFromSponsorMutation = {
|
|
12725
|
+
unlinkBrandFromSponsor: {
|
|
12726
|
+
_id: string;
|
|
12727
|
+
};
|
|
12728
|
+
};
|
|
12729
|
+
export type GetSponsorsQueryVariables = Exact<{
|
|
12730
|
+
[key: string]: never;
|
|
12731
|
+
}>;
|
|
12732
|
+
export type GetSponsorsQuery = {
|
|
12733
|
+
sponsors: Array<{
|
|
12734
|
+
_id: string;
|
|
12735
|
+
name: string;
|
|
12736
|
+
description?: string | null;
|
|
12737
|
+
tenant?: {
|
|
12738
|
+
_id: string;
|
|
12739
|
+
name: string;
|
|
12740
|
+
} | null;
|
|
12741
|
+
}>;
|
|
12742
|
+
};
|
|
12743
|
+
export type GetSponsorsPaginatedQueryVariables = Exact<{
|
|
12744
|
+
query?: InputMaybe<SponsorQueryDto>;
|
|
12745
|
+
}>;
|
|
12746
|
+
export type GetSponsorsPaginatedQuery = {
|
|
12747
|
+
getSponsorsPaginated: {
|
|
12748
|
+
items: Array<{
|
|
12749
|
+
_id: string;
|
|
12750
|
+
name: string;
|
|
12751
|
+
description?: string | null;
|
|
12752
|
+
approved: boolean;
|
|
12753
|
+
tenant?: {
|
|
12754
|
+
_id: string;
|
|
12755
|
+
name: string;
|
|
12756
|
+
} | null;
|
|
12757
|
+
}>;
|
|
12758
|
+
pagination: {
|
|
12759
|
+
currentPage: number;
|
|
12760
|
+
totalPages: number;
|
|
12761
|
+
totalItems: number;
|
|
12762
|
+
itemsPerPage: number;
|
|
12763
|
+
hasNextPage: boolean;
|
|
12764
|
+
hasPreviousPage: boolean;
|
|
12765
|
+
};
|
|
12766
|
+
};
|
|
12767
|
+
};
|
|
12768
|
+
export type CreateSponsorMutationVariables = Exact<{
|
|
12769
|
+
input: CreateSponsorDto;
|
|
12770
|
+
}>;
|
|
12771
|
+
export type CreateSponsorMutation = {
|
|
12772
|
+
createSponsor: {
|
|
12773
|
+
_id: string;
|
|
12774
|
+
};
|
|
12775
|
+
};
|
|
12776
|
+
export type UpdateSponsorMutationVariables = Exact<{
|
|
12777
|
+
id: Scalars['String']['input'];
|
|
12778
|
+
input: UpdateSponsorDto;
|
|
12779
|
+
}>;
|
|
12780
|
+
export type UpdateSponsorMutation = {
|
|
12781
|
+
updateSponsor: {
|
|
12782
|
+
_id: string;
|
|
12783
|
+
};
|
|
12784
|
+
};
|
|
12785
|
+
export type DeleteSponsorMutationVariables = Exact<{
|
|
12786
|
+
id: Scalars['String']['input'];
|
|
12787
|
+
}>;
|
|
12788
|
+
export type DeleteSponsorMutation = {
|
|
12789
|
+
deleteSponsor: boolean;
|
|
12790
|
+
};
|
|
12791
|
+
export type GetPublicSponsorshipsQueryVariables = Exact<{
|
|
12792
|
+
[key: string]: never;
|
|
12793
|
+
}>;
|
|
12794
|
+
export type GetPublicSponsorshipsQuery = {
|
|
12795
|
+
getPublicSponsorships: Array<{
|
|
12796
|
+
_id: string;
|
|
12797
|
+
title: string;
|
|
12798
|
+
description?: string | null;
|
|
12799
|
+
cashValue: number;
|
|
12800
|
+
otherValue: number;
|
|
12801
|
+
deadline?: string | null;
|
|
12802
|
+
startDate?: string | null;
|
|
12803
|
+
terms?: string | null;
|
|
12804
|
+
isPrivate: boolean;
|
|
12805
|
+
approved: boolean;
|
|
12806
|
+
published: boolean;
|
|
12807
|
+
brand?: {
|
|
12808
|
+
_id: string;
|
|
12809
|
+
name: string;
|
|
12810
|
+
slogan?: string | null;
|
|
12811
|
+
website?: string | null;
|
|
12812
|
+
description?: string | null;
|
|
12813
|
+
approved: boolean;
|
|
12814
|
+
published: boolean;
|
|
12815
|
+
operatorIds?: Array<string> | null;
|
|
12816
|
+
logo?: {
|
|
12817
|
+
_id: string;
|
|
12818
|
+
name?: string | null;
|
|
12819
|
+
contentType?: string | null;
|
|
12820
|
+
size?: number | null;
|
|
12821
|
+
useType?: string | null;
|
|
12822
|
+
url: string;
|
|
12823
|
+
key: string;
|
|
12824
|
+
} | null;
|
|
12825
|
+
banner?: {
|
|
12826
|
+
_id: string;
|
|
12827
|
+
name?: string | null;
|
|
12828
|
+
contentType?: string | null;
|
|
12829
|
+
size?: number | null;
|
|
12830
|
+
useType?: string | null;
|
|
12831
|
+
url: string;
|
|
12832
|
+
key: string;
|
|
12833
|
+
} | null;
|
|
12834
|
+
stats?: {
|
|
12835
|
+
campaigns?: number | null;
|
|
12836
|
+
sponsorships?: number | null;
|
|
12837
|
+
sports?: number | null;
|
|
12838
|
+
athletes?: number | null;
|
|
12839
|
+
} | null;
|
|
12840
|
+
} | null;
|
|
12841
|
+
banner?: {
|
|
12842
|
+
_id: string;
|
|
12843
|
+
name?: string | null;
|
|
12844
|
+
contentType?: string | null;
|
|
12845
|
+
size?: number | null;
|
|
12846
|
+
useType?: string | null;
|
|
12847
|
+
url: string;
|
|
12848
|
+
key: string;
|
|
12849
|
+
} | null;
|
|
12850
|
+
criteria?: {
|
|
12851
|
+
_id: string;
|
|
12852
|
+
label?: string | null;
|
|
12853
|
+
qualifications?: Array<{
|
|
12854
|
+
type: string;
|
|
12855
|
+
value: number;
|
|
12856
|
+
operator: string;
|
|
12857
|
+
} | {
|
|
12858
|
+
type: string;
|
|
12859
|
+
maxDistance: number;
|
|
12860
|
+
latitude?: number | null;
|
|
12861
|
+
longitude?: number | null;
|
|
12862
|
+
} | {
|
|
12863
|
+
type: string;
|
|
12864
|
+
operator: string;
|
|
12865
|
+
values: Array<string>;
|
|
12866
|
+
} | {
|
|
12867
|
+
type: string;
|
|
12868
|
+
operator: string;
|
|
12869
|
+
countries: Array<{
|
|
12870
|
+
_id: string;
|
|
12871
|
+
name: string;
|
|
12872
|
+
}>;
|
|
12873
|
+
states: Array<{
|
|
12874
|
+
_id: string;
|
|
12875
|
+
name: string;
|
|
12876
|
+
country?: {
|
|
12877
|
+
_id: string;
|
|
12878
|
+
name: string;
|
|
12879
|
+
} | null;
|
|
12880
|
+
}>;
|
|
12881
|
+
cities: Array<{
|
|
12882
|
+
_id: string;
|
|
12883
|
+
name: string;
|
|
12884
|
+
localizedName: string;
|
|
12885
|
+
latitude?: number | null;
|
|
12886
|
+
longitude?: number | null;
|
|
12887
|
+
timezone?: string | null;
|
|
12888
|
+
state?: {
|
|
12889
|
+
_id: string;
|
|
12890
|
+
name: string;
|
|
12891
|
+
country?: {
|
|
12892
|
+
_id: string;
|
|
12893
|
+
name: string;
|
|
12894
|
+
} | null;
|
|
12895
|
+
} | null;
|
|
12896
|
+
}>;
|
|
12897
|
+
} | {
|
|
12898
|
+
type: string;
|
|
12899
|
+
operator: string;
|
|
12900
|
+
countries: Array<{
|
|
12901
|
+
_id: string;
|
|
12902
|
+
name: string;
|
|
12903
|
+
}>;
|
|
12904
|
+
} | {
|
|
12905
|
+
type: string;
|
|
12906
|
+
scoreType: string;
|
|
12907
|
+
operator: string;
|
|
12908
|
+
value: number;
|
|
12909
|
+
} | {
|
|
12910
|
+
type: string;
|
|
12911
|
+
operator: string;
|
|
12912
|
+
level: string;
|
|
12913
|
+
} | {
|
|
12914
|
+
type: string;
|
|
12915
|
+
sports: Array<string>;
|
|
12916
|
+
operator: string;
|
|
12917
|
+
}> | null;
|
|
12918
|
+
} | null;
|
|
12919
|
+
sponsorshipItems?: Array<{
|
|
12920
|
+
_id: string;
|
|
12921
|
+
quantity: number;
|
|
12922
|
+
title: string;
|
|
12923
|
+
value: number;
|
|
12924
|
+
type: string;
|
|
12925
|
+
}> | null;
|
|
12926
|
+
duration: {
|
|
12927
|
+
length: number;
|
|
12928
|
+
unit: string;
|
|
12929
|
+
};
|
|
12930
|
+
stats?: {
|
|
12931
|
+
totalApplications?: number | null;
|
|
12932
|
+
newApplications?: number | null;
|
|
12933
|
+
discardedApplications?: number | null;
|
|
12934
|
+
selectedApplications?: number | null;
|
|
12935
|
+
approvedApplications?: number | null;
|
|
12936
|
+
grantedSponsorships?: number | null;
|
|
12937
|
+
remainingSponsorships?: number | null;
|
|
12938
|
+
} | null;
|
|
12939
|
+
}>;
|
|
12940
|
+
};
|
|
12941
|
+
export type GetTenantSponsorshipsQueryVariables = Exact<{
|
|
12942
|
+
[key: string]: never;
|
|
12943
|
+
}>;
|
|
12944
|
+
export type GetTenantSponsorshipsQuery = {
|
|
12945
|
+
getTenantSponsorships: Array<{
|
|
12946
|
+
_id: string;
|
|
12947
|
+
title: string;
|
|
12948
|
+
description?: string | null;
|
|
12949
|
+
cashValue: number;
|
|
12950
|
+
otherValue: number;
|
|
12951
|
+
deadline?: string | null;
|
|
12952
|
+
startDate?: string | null;
|
|
12953
|
+
terms?: string | null;
|
|
12954
|
+
isPrivate: boolean;
|
|
12955
|
+
approved: boolean;
|
|
12956
|
+
published: boolean;
|
|
12957
|
+
brand?: {
|
|
11889
12958
|
_id: string;
|
|
11890
|
-
name
|
|
11891
|
-
|
|
11892
|
-
|
|
11893
|
-
|
|
11894
|
-
|
|
11895
|
-
|
|
12959
|
+
name: string;
|
|
12960
|
+
slogan?: string | null;
|
|
12961
|
+
website?: string | null;
|
|
12962
|
+
description?: string | null;
|
|
12963
|
+
approved: boolean;
|
|
12964
|
+
published: boolean;
|
|
12965
|
+
operatorIds?: Array<string> | null;
|
|
12966
|
+
logo?: {
|
|
12967
|
+
_id: string;
|
|
12968
|
+
name?: string | null;
|
|
12969
|
+
contentType?: string | null;
|
|
12970
|
+
size?: number | null;
|
|
12971
|
+
useType?: string | null;
|
|
12972
|
+
url: string;
|
|
12973
|
+
key: string;
|
|
12974
|
+
} | null;
|
|
12975
|
+
banner?: {
|
|
12976
|
+
_id: string;
|
|
12977
|
+
name?: string | null;
|
|
12978
|
+
contentType?: string | null;
|
|
12979
|
+
size?: number | null;
|
|
12980
|
+
useType?: string | null;
|
|
12981
|
+
url: string;
|
|
12982
|
+
key: string;
|
|
12983
|
+
} | null;
|
|
12984
|
+
stats?: {
|
|
12985
|
+
campaigns?: number | null;
|
|
12986
|
+
sponsorships?: number | null;
|
|
12987
|
+
sports?: number | null;
|
|
12988
|
+
athletes?: number | null;
|
|
12989
|
+
} | null;
|
|
11896
12990
|
} | null;
|
|
11897
12991
|
banner?: {
|
|
11898
12992
|
_id: string;
|
|
@@ -11903,243 +12997,125 @@ export type SponsorshipFullFieldsFragment = {
|
|
|
11903
12997
|
url: string;
|
|
11904
12998
|
key: string;
|
|
11905
12999
|
} | null;
|
|
11906
|
-
|
|
11907
|
-
|
|
11908
|
-
|
|
11909
|
-
|
|
11910
|
-
|
|
11911
|
-
|
|
11912
|
-
|
|
11913
|
-
|
|
11914
|
-
|
|
11915
|
-
|
|
11916
|
-
contentType?: string | null;
|
|
11917
|
-
size?: number | null;
|
|
11918
|
-
useType?: string | null;
|
|
11919
|
-
url: string;
|
|
11920
|
-
key: string;
|
|
11921
|
-
} | null;
|
|
11922
|
-
criteria?: {
|
|
11923
|
-
_id: string;
|
|
11924
|
-
label?: string | null;
|
|
11925
|
-
qualifications?: Array<{
|
|
11926
|
-
type: string;
|
|
11927
|
-
value: number;
|
|
11928
|
-
operator: string;
|
|
11929
|
-
} | {
|
|
11930
|
-
type: string;
|
|
11931
|
-
maxDistance: number;
|
|
11932
|
-
latitude?: number | null;
|
|
11933
|
-
longitude?: number | null;
|
|
11934
|
-
} | {
|
|
11935
|
-
type: string;
|
|
11936
|
-
operator: string;
|
|
11937
|
-
values: Array<string>;
|
|
11938
|
-
} | {
|
|
11939
|
-
type: string;
|
|
11940
|
-
operator: string;
|
|
11941
|
-
countries: Array<{
|
|
11942
|
-
_id: string;
|
|
11943
|
-
name: string;
|
|
11944
|
-
}>;
|
|
11945
|
-
states: Array<{
|
|
11946
|
-
_id: string;
|
|
11947
|
-
name: string;
|
|
11948
|
-
country?: {
|
|
11949
|
-
_id: string;
|
|
11950
|
-
name: string;
|
|
11951
|
-
} | null;
|
|
11952
|
-
}>;
|
|
11953
|
-
cities: Array<{
|
|
11954
|
-
_id: string;
|
|
11955
|
-
name: string;
|
|
11956
|
-
localizedName: string;
|
|
13000
|
+
criteria?: {
|
|
13001
|
+
_id: string;
|
|
13002
|
+
label?: string | null;
|
|
13003
|
+
qualifications?: Array<{
|
|
13004
|
+
type: string;
|
|
13005
|
+
value: number;
|
|
13006
|
+
operator: string;
|
|
13007
|
+
} | {
|
|
13008
|
+
type: string;
|
|
13009
|
+
maxDistance: number;
|
|
11957
13010
|
latitude?: number | null;
|
|
11958
13011
|
longitude?: number | null;
|
|
11959
|
-
|
|
11960
|
-
|
|
13012
|
+
} | {
|
|
13013
|
+
type: string;
|
|
13014
|
+
operator: string;
|
|
13015
|
+
values: Array<string>;
|
|
13016
|
+
} | {
|
|
13017
|
+
type: string;
|
|
13018
|
+
operator: string;
|
|
13019
|
+
countries: Array<{
|
|
13020
|
+
_id: string;
|
|
13021
|
+
name: string;
|
|
13022
|
+
}>;
|
|
13023
|
+
states: Array<{
|
|
11961
13024
|
_id: string;
|
|
11962
13025
|
name: string;
|
|
11963
13026
|
country?: {
|
|
11964
13027
|
_id: string;
|
|
11965
13028
|
name: string;
|
|
11966
13029
|
} | null;
|
|
11967
|
-
}
|
|
11968
|
-
|
|
11969
|
-
|
|
11970
|
-
|
|
11971
|
-
|
|
11972
|
-
|
|
11973
|
-
|
|
11974
|
-
|
|
11975
|
-
|
|
11976
|
-
|
|
11977
|
-
|
|
11978
|
-
|
|
11979
|
-
|
|
13030
|
+
}>;
|
|
13031
|
+
cities: Array<{
|
|
13032
|
+
_id: string;
|
|
13033
|
+
name: string;
|
|
13034
|
+
localizedName: string;
|
|
13035
|
+
latitude?: number | null;
|
|
13036
|
+
longitude?: number | null;
|
|
13037
|
+
timezone?: string | null;
|
|
13038
|
+
state?: {
|
|
13039
|
+
_id: string;
|
|
13040
|
+
name: string;
|
|
13041
|
+
country?: {
|
|
13042
|
+
_id: string;
|
|
13043
|
+
name: string;
|
|
13044
|
+
} | null;
|
|
13045
|
+
} | null;
|
|
13046
|
+
}>;
|
|
13047
|
+
} | {
|
|
13048
|
+
type: string;
|
|
13049
|
+
operator: string;
|
|
13050
|
+
countries: Array<{
|
|
13051
|
+
_id: string;
|
|
13052
|
+
name: string;
|
|
13053
|
+
}>;
|
|
13054
|
+
} | {
|
|
13055
|
+
type: string;
|
|
13056
|
+
scoreType: string;
|
|
13057
|
+
operator: string;
|
|
13058
|
+
value: number;
|
|
13059
|
+
} | {
|
|
13060
|
+
type: string;
|
|
13061
|
+
operator: string;
|
|
13062
|
+
level: string;
|
|
13063
|
+
} | {
|
|
13064
|
+
type: string;
|
|
13065
|
+
sports: Array<string>;
|
|
13066
|
+
operator: string;
|
|
13067
|
+
}> | null;
|
|
13068
|
+
} | null;
|
|
13069
|
+
sponsorshipItems?: Array<{
|
|
13070
|
+
_id: string;
|
|
13071
|
+
quantity: number;
|
|
13072
|
+
title: string;
|
|
11980
13073
|
value: number;
|
|
11981
|
-
} | {
|
|
11982
|
-
type: string;
|
|
11983
|
-
operator: string;
|
|
11984
|
-
level: string;
|
|
11985
|
-
} | {
|
|
11986
13074
|
type: string;
|
|
11987
|
-
sports: Array<string>;
|
|
11988
|
-
operator: string;
|
|
11989
|
-
}> | null;
|
|
11990
|
-
} | null;
|
|
11991
|
-
sponsorshipItems?: Array<{
|
|
11992
|
-
_id: string;
|
|
11993
|
-
quantity: number;
|
|
11994
|
-
title: string;
|
|
11995
|
-
value: number;
|
|
11996
|
-
type: string;
|
|
11997
|
-
}> | null;
|
|
11998
|
-
duration: {
|
|
11999
|
-
length: number;
|
|
12000
|
-
unit: string;
|
|
12001
|
-
};
|
|
12002
|
-
stats?: {
|
|
12003
|
-
totalApplications?: number | null;
|
|
12004
|
-
newApplications?: number | null;
|
|
12005
|
-
discardedApplications?: number | null;
|
|
12006
|
-
selectedApplications?: number | null;
|
|
12007
|
-
approvedApplications?: number | null;
|
|
12008
|
-
grantedSponsorships?: number | null;
|
|
12009
|
-
remainingSponsorships?: number | null;
|
|
12010
|
-
} | null;
|
|
12011
|
-
};
|
|
12012
|
-
export type PaginationInfoFieldsFragment = {
|
|
12013
|
-
currentPage: number;
|
|
12014
|
-
totalPages: number;
|
|
12015
|
-
totalItems: number;
|
|
12016
|
-
itemsPerPage: number;
|
|
12017
|
-
hasNextPage: boolean;
|
|
12018
|
-
hasPreviousPage: boolean;
|
|
12019
|
-
};
|
|
12020
|
-
export type FindBrandByNameQueryVariables = Exact<{
|
|
12021
|
-
name: Scalars['String']['input'];
|
|
12022
|
-
translations: Scalars['Boolean']['input'];
|
|
12023
|
-
}>;
|
|
12024
|
-
export type FindBrandByNameQuery = {
|
|
12025
|
-
getBrandByName: {
|
|
12026
|
-
_id: string;
|
|
12027
|
-
name: string;
|
|
12028
|
-
slogan?: string | null;
|
|
12029
|
-
website?: string | null;
|
|
12030
|
-
description?: string | null;
|
|
12031
|
-
logo?: {
|
|
12032
|
-
name?: string | null;
|
|
12033
|
-
contentType?: string | null;
|
|
12034
|
-
size?: number | null;
|
|
12035
|
-
useType?: string | null;
|
|
12036
|
-
url: string;
|
|
12037
|
-
key: string;
|
|
12038
|
-
} | null;
|
|
12039
|
-
banner?: {
|
|
12040
|
-
name?: string | null;
|
|
12041
|
-
contentType?: string | null;
|
|
12042
|
-
size?: number | null;
|
|
12043
|
-
useType?: string | null;
|
|
12044
|
-
url: string;
|
|
12045
|
-
key: string;
|
|
12046
|
-
} | null;
|
|
12047
|
-
translations?: Array<{
|
|
12048
|
-
name?: string | null;
|
|
12049
|
-
slogan?: string | null;
|
|
12050
|
-
description?: string | null;
|
|
12051
|
-
language: string;
|
|
12052
13075
|
}> | null;
|
|
13076
|
+
duration: {
|
|
13077
|
+
length: number;
|
|
13078
|
+
unit: string;
|
|
13079
|
+
};
|
|
13080
|
+
stats?: {
|
|
13081
|
+
totalApplications?: number | null;
|
|
13082
|
+
newApplications?: number | null;
|
|
13083
|
+
discardedApplications?: number | null;
|
|
13084
|
+
selectedApplications?: number | null;
|
|
13085
|
+
approvedApplications?: number | null;
|
|
13086
|
+
grantedSponsorships?: number | null;
|
|
13087
|
+
remainingSponsorships?: number | null;
|
|
13088
|
+
} | null;
|
|
13089
|
+
}>;
|
|
13090
|
+
};
|
|
13091
|
+
export type CreateSponsorshipMutationVariables = Exact<{
|
|
13092
|
+
input: CreateSponsorshipDto;
|
|
13093
|
+
}>;
|
|
13094
|
+
export type CreateSponsorshipMutation = {
|
|
13095
|
+
createSponsorship: {
|
|
13096
|
+
_id: string;
|
|
12053
13097
|
};
|
|
12054
13098
|
};
|
|
12055
|
-
export type
|
|
13099
|
+
export type GetSportsQueryVariables = Exact<{
|
|
12056
13100
|
[key: string]: never;
|
|
12057
13101
|
}>;
|
|
12058
|
-
export type
|
|
12059
|
-
|
|
13102
|
+
export type GetSportsQuery = {
|
|
13103
|
+
getSports: Array<{
|
|
12060
13104
|
_id: string;
|
|
12061
13105
|
name: string;
|
|
12062
|
-
slogan?: string | null;
|
|
12063
|
-
website?: string | null;
|
|
12064
|
-
affiliateLink?: string | null;
|
|
12065
|
-
description?: string | null;
|
|
12066
|
-
approved: boolean;
|
|
12067
|
-
published: boolean;
|
|
12068
|
-
operatorIds?: Array<string> | null;
|
|
12069
|
-
sponsors?: Array<{
|
|
12070
|
-
_id: string;
|
|
12071
|
-
sponsor?: {
|
|
12072
|
-
_id: string;
|
|
12073
|
-
name: string;
|
|
12074
|
-
description?: string | null;
|
|
12075
|
-
} | null;
|
|
12076
|
-
}> | null;
|
|
12077
|
-
logo?: {
|
|
12078
|
-
_id: string;
|
|
12079
|
-
name?: string | null;
|
|
12080
|
-
contentType?: string | null;
|
|
12081
|
-
size?: number | null;
|
|
12082
|
-
useType?: string | null;
|
|
12083
|
-
url: string;
|
|
12084
|
-
key: string;
|
|
12085
|
-
} | null;
|
|
12086
|
-
banner?: {
|
|
12087
|
-
_id: string;
|
|
12088
|
-
name?: string | null;
|
|
12089
|
-
contentType?: string | null;
|
|
12090
|
-
size?: number | null;
|
|
12091
|
-
useType?: string | null;
|
|
12092
|
-
url: string;
|
|
12093
|
-
key: string;
|
|
12094
|
-
} | null;
|
|
12095
|
-
stats?: {
|
|
12096
|
-
campaigns?: number | null;
|
|
12097
|
-
sponsorships?: number | null;
|
|
12098
|
-
sports?: number | null;
|
|
12099
|
-
athletes?: number | null;
|
|
12100
|
-
} | null;
|
|
12101
13106
|
}>;
|
|
12102
13107
|
};
|
|
12103
|
-
export type
|
|
12104
|
-
query?: InputMaybe<
|
|
13108
|
+
export type GetSportsPaginatedQueryVariables = Exact<{
|
|
13109
|
+
query?: InputMaybe<SportQueryDto>;
|
|
12105
13110
|
}>;
|
|
12106
|
-
export type
|
|
12107
|
-
|
|
13111
|
+
export type GetSportsPaginatedQuery = {
|
|
13112
|
+
getSportsPaginated: {
|
|
12108
13113
|
items: Array<{
|
|
12109
13114
|
_id: string;
|
|
12110
13115
|
name: string;
|
|
12111
|
-
|
|
12112
|
-
|
|
12113
|
-
|
|
12114
|
-
description?: string | null;
|
|
12115
|
-
approved: boolean;
|
|
12116
|
-
published: boolean;
|
|
12117
|
-
logo?: {
|
|
12118
|
-
_id: string;
|
|
12119
|
-
name?: string | null;
|
|
12120
|
-
contentType?: string | null;
|
|
12121
|
-
size?: number | null;
|
|
12122
|
-
useType?: string | null;
|
|
12123
|
-
url: string;
|
|
12124
|
-
key: string;
|
|
12125
|
-
} | null;
|
|
12126
|
-
banner?: {
|
|
12127
|
-
_id: string;
|
|
12128
|
-
name?: string | null;
|
|
12129
|
-
contentType?: string | null;
|
|
12130
|
-
size?: number | null;
|
|
12131
|
-
useType?: string | null;
|
|
12132
|
-
url: string;
|
|
12133
|
-
key: string;
|
|
12134
|
-
} | null;
|
|
12135
|
-
sponsors?: Array<{
|
|
12136
|
-
_id: string;
|
|
12137
|
-
sponsor?: {
|
|
12138
|
-
_id: string;
|
|
12139
|
-
name: string;
|
|
12140
|
-
description?: string | null;
|
|
12141
|
-
} | null;
|
|
12142
|
-
}> | null;
|
|
13116
|
+
priority?: number | null;
|
|
13117
|
+
verified?: boolean | null;
|
|
13118
|
+
resultType: string;
|
|
12143
13119
|
}>;
|
|
12144
13120
|
pagination: {
|
|
12145
13121
|
currentPage: number;
|
|
@@ -12151,572 +13127,932 @@ export type GetBrandsPaginatedQuery = {
|
|
|
12151
13127
|
};
|
|
12152
13128
|
};
|
|
12153
13129
|
};
|
|
12154
|
-
export type
|
|
12155
|
-
|
|
13130
|
+
export type GetSportLevelsQueryVariables = Exact<{
|
|
13131
|
+
[key: string]: never;
|
|
12156
13132
|
}>;
|
|
12157
|
-
export type
|
|
12158
|
-
|
|
13133
|
+
export type GetSportLevelsQuery = {
|
|
13134
|
+
getSportLevels: Array<{
|
|
13135
|
+
_id: string;
|
|
13136
|
+
label: string;
|
|
13137
|
+
index: number;
|
|
13138
|
+
}>;
|
|
13139
|
+
};
|
|
13140
|
+
export type GetCountriesQueryVariables = Exact<{
|
|
13141
|
+
[key: string]: never;
|
|
13142
|
+
}>;
|
|
13143
|
+
export type GetCountriesQuery = {
|
|
13144
|
+
getCountries: Array<{
|
|
13145
|
+
_id: string;
|
|
13146
|
+
name: string;
|
|
13147
|
+
}>;
|
|
13148
|
+
};
|
|
13149
|
+
export type GetStatesQueryVariables = Exact<{
|
|
13150
|
+
[key: string]: never;
|
|
13151
|
+
}>;
|
|
13152
|
+
export type GetStatesQuery = {
|
|
13153
|
+
getStates: Array<{
|
|
13154
|
+
_id: string;
|
|
13155
|
+
name: string;
|
|
13156
|
+
country?: {
|
|
13157
|
+
_id: string;
|
|
13158
|
+
name: string;
|
|
13159
|
+
} | null;
|
|
13160
|
+
}>;
|
|
13161
|
+
};
|
|
13162
|
+
export type GetCountryStatesQueryVariables = Exact<{
|
|
13163
|
+
countryId: Scalars['String']['input'];
|
|
13164
|
+
}>;
|
|
13165
|
+
export type GetCountryStatesQuery = {
|
|
13166
|
+
getCountryStates: Array<{
|
|
13167
|
+
_id: string;
|
|
13168
|
+
name: string;
|
|
13169
|
+
country?: {
|
|
13170
|
+
_id: string;
|
|
13171
|
+
name: string;
|
|
13172
|
+
} | null;
|
|
13173
|
+
}>;
|
|
13174
|
+
};
|
|
13175
|
+
export type GetStateCitiesQueryVariables = Exact<{
|
|
13176
|
+
stateId: Scalars['String']['input'];
|
|
13177
|
+
}>;
|
|
13178
|
+
export type GetStateCitiesQuery = {
|
|
13179
|
+
getStateCities: Array<{
|
|
13180
|
+
_id: string;
|
|
13181
|
+
name: string;
|
|
13182
|
+
localizedName: string;
|
|
13183
|
+
latitude?: number | null;
|
|
13184
|
+
longitude?: number | null;
|
|
13185
|
+
timezone?: string | null;
|
|
13186
|
+
state?: {
|
|
13187
|
+
_id: string;
|
|
13188
|
+
name: string;
|
|
13189
|
+
country?: {
|
|
13190
|
+
_id: string;
|
|
13191
|
+
name: string;
|
|
13192
|
+
} | null;
|
|
13193
|
+
} | null;
|
|
13194
|
+
}>;
|
|
13195
|
+
};
|
|
13196
|
+
export type CreateSportMutationVariables = Exact<{
|
|
13197
|
+
input: CreateSportDto;
|
|
13198
|
+
}>;
|
|
13199
|
+
export type CreateSportMutation = {
|
|
13200
|
+
createSport: {
|
|
12159
13201
|
_id: string;
|
|
13202
|
+
name: string;
|
|
12160
13203
|
};
|
|
12161
13204
|
};
|
|
12162
|
-
export type
|
|
12163
|
-
|
|
12164
|
-
input: CreateBrandDto;
|
|
13205
|
+
export type UpdateSportMutationVariables = Exact<{
|
|
13206
|
+
input: UpdateSportDto;
|
|
12165
13207
|
}>;
|
|
12166
|
-
export type
|
|
12167
|
-
|
|
13208
|
+
export type UpdateSportMutation = {
|
|
13209
|
+
updateSport: {
|
|
12168
13210
|
_id: string;
|
|
13211
|
+
name: string;
|
|
12169
13212
|
};
|
|
12170
13213
|
};
|
|
12171
|
-
export type
|
|
12172
|
-
|
|
13214
|
+
export type CreateSportLevelMutationVariables = Exact<{
|
|
13215
|
+
input: CreateSportLevelDto;
|
|
12173
13216
|
}>;
|
|
12174
|
-
export type
|
|
12175
|
-
|
|
13217
|
+
export type CreateSportLevelMutation = {
|
|
13218
|
+
createSportLevel: {
|
|
13219
|
+
_id: string;
|
|
13220
|
+
label: string;
|
|
13221
|
+
index: number;
|
|
13222
|
+
};
|
|
12176
13223
|
};
|
|
12177
|
-
export type
|
|
12178
|
-
|
|
12179
|
-
sponsorId: Scalars['String']['input'];
|
|
13224
|
+
export type CreateCountryMutationVariables = Exact<{
|
|
13225
|
+
input: CreateCountryDto;
|
|
12180
13226
|
}>;
|
|
12181
|
-
export type
|
|
12182
|
-
|
|
13227
|
+
export type CreateCountryMutation = {
|
|
13228
|
+
createCountry: {
|
|
13229
|
+
_id: string;
|
|
13230
|
+
name: string;
|
|
13231
|
+
};
|
|
13232
|
+
};
|
|
13233
|
+
export type CreateStateMutationVariables = Exact<{
|
|
13234
|
+
input: CreateStateDto;
|
|
13235
|
+
}>;
|
|
13236
|
+
export type CreateStateMutation = {
|
|
13237
|
+
createState: {
|
|
13238
|
+
_id: string;
|
|
13239
|
+
name: string;
|
|
13240
|
+
};
|
|
13241
|
+
};
|
|
13242
|
+
export type CreateCityMutationVariables = Exact<{
|
|
13243
|
+
input: CreateCityDto;
|
|
13244
|
+
}>;
|
|
13245
|
+
export type CreateCityMutation = {
|
|
13246
|
+
createCity: {
|
|
13247
|
+
_id: string;
|
|
13248
|
+
name: string;
|
|
13249
|
+
localizedName: string;
|
|
13250
|
+
latitude?: number | null;
|
|
13251
|
+
longitude?: number | null;
|
|
13252
|
+
timezone?: string | null;
|
|
13253
|
+
};
|
|
13254
|
+
};
|
|
13255
|
+
export type TeamFieldsFragment = {
|
|
13256
|
+
_id: string;
|
|
13257
|
+
name: string;
|
|
13258
|
+
description?: string | null;
|
|
13259
|
+
approved?: boolean | null;
|
|
13260
|
+
clubId?: string | null;
|
|
13261
|
+
joinPolicy?: string | null;
|
|
13262
|
+
maxRosterSize?: number | null;
|
|
13263
|
+
visibility?: string | null;
|
|
13264
|
+
stripeAccountId?: string | null;
|
|
13265
|
+
vtxScore?: number | null;
|
|
13266
|
+
sports?: Array<{
|
|
13267
|
+
_id: string;
|
|
13268
|
+
name: string;
|
|
13269
|
+
}> | null;
|
|
13270
|
+
logo?: {
|
|
13271
|
+
_id: string;
|
|
13272
|
+
url: string;
|
|
13273
|
+
key: string;
|
|
13274
|
+
} | null;
|
|
13275
|
+
banner?: {
|
|
13276
|
+
_id: string;
|
|
13277
|
+
url: string;
|
|
13278
|
+
key: string;
|
|
13279
|
+
} | null;
|
|
13280
|
+
};
|
|
13281
|
+
export type ClubFieldsFragment = {
|
|
13282
|
+
_id: string;
|
|
13283
|
+
name: string;
|
|
13284
|
+
description?: string | null;
|
|
13285
|
+
location?: string | null;
|
|
13286
|
+
website?: string | null;
|
|
13287
|
+
membershipType: string;
|
|
13288
|
+
feeStructure?: any | null;
|
|
13289
|
+
approved?: boolean | null;
|
|
13290
|
+
visibility: string;
|
|
13291
|
+
stripeAccountId?: string | null;
|
|
13292
|
+
sports?: Array<{
|
|
13293
|
+
_id: string;
|
|
13294
|
+
name: string;
|
|
13295
|
+
}> | null;
|
|
13296
|
+
logo?: {
|
|
12183
13297
|
_id: string;
|
|
12184
|
-
|
|
12185
|
-
|
|
12186
|
-
|
|
12187
|
-
|
|
12188
|
-
sponsorId: Scalars['String']['input'];
|
|
12189
|
-
}>;
|
|
12190
|
-
export type UnlinkBrandFromSponsorMutation = {
|
|
12191
|
-
unlinkBrandFromSponsor: {
|
|
13298
|
+
url: string;
|
|
13299
|
+
key: string;
|
|
13300
|
+
} | null;
|
|
13301
|
+
banner?: {
|
|
12192
13302
|
_id: string;
|
|
12193
|
-
|
|
12194
|
-
|
|
12195
|
-
|
|
12196
|
-
|
|
12197
|
-
}>;
|
|
12198
|
-
export type GetSponsorsQuery = {
|
|
12199
|
-
sponsors: Array<{
|
|
13303
|
+
url: string;
|
|
13304
|
+
key: string;
|
|
13305
|
+
} | null;
|
|
13306
|
+
teams?: Array<{
|
|
12200
13307
|
_id: string;
|
|
12201
13308
|
name: string;
|
|
12202
13309
|
description?: string | null;
|
|
12203
|
-
|
|
13310
|
+
approved?: boolean | null;
|
|
13311
|
+
clubId?: string | null;
|
|
13312
|
+
joinPolicy?: string | null;
|
|
13313
|
+
maxRosterSize?: number | null;
|
|
13314
|
+
visibility?: string | null;
|
|
13315
|
+
stripeAccountId?: string | null;
|
|
13316
|
+
vtxScore?: number | null;
|
|
13317
|
+
sports?: Array<{
|
|
12204
13318
|
_id: string;
|
|
12205
13319
|
name: string;
|
|
13320
|
+
}> | null;
|
|
13321
|
+
logo?: {
|
|
13322
|
+
_id: string;
|
|
13323
|
+
url: string;
|
|
13324
|
+
key: string;
|
|
12206
13325
|
} | null;
|
|
12207
|
-
|
|
12208
|
-
};
|
|
12209
|
-
export type GetSponsorsPaginatedQueryVariables = Exact<{
|
|
12210
|
-
query?: InputMaybe<SponsorQueryDto>;
|
|
12211
|
-
}>;
|
|
12212
|
-
export type GetSponsorsPaginatedQuery = {
|
|
12213
|
-
getSponsorsPaginated: {
|
|
12214
|
-
items: Array<{
|
|
13326
|
+
banner?: {
|
|
12215
13327
|
_id: string;
|
|
12216
|
-
|
|
12217
|
-
|
|
12218
|
-
|
|
12219
|
-
|
|
12220
|
-
_id: string;
|
|
12221
|
-
name: string;
|
|
12222
|
-
} | null;
|
|
12223
|
-
}>;
|
|
12224
|
-
pagination: {
|
|
12225
|
-
currentPage: number;
|
|
12226
|
-
totalPages: number;
|
|
12227
|
-
totalItems: number;
|
|
12228
|
-
itemsPerPage: number;
|
|
12229
|
-
hasNextPage: boolean;
|
|
12230
|
-
hasPreviousPage: boolean;
|
|
12231
|
-
};
|
|
12232
|
-
};
|
|
13328
|
+
url: string;
|
|
13329
|
+
key: string;
|
|
13330
|
+
} | null;
|
|
13331
|
+
}> | null;
|
|
12233
13332
|
};
|
|
12234
|
-
export type
|
|
12235
|
-
|
|
12236
|
-
|
|
12237
|
-
|
|
12238
|
-
|
|
12239
|
-
|
|
12240
|
-
|
|
13333
|
+
export type AthleteTeamFieldsFragment = {
|
|
13334
|
+
_id: string;
|
|
13335
|
+
teamId: string;
|
|
13336
|
+
athleteId: string;
|
|
13337
|
+
sportId: string;
|
|
13338
|
+
role: string;
|
|
13339
|
+
status: string;
|
|
13340
|
+
joinedAt?: string | null;
|
|
13341
|
+
leftAt?: string | null;
|
|
12241
13342
|
};
|
|
12242
|
-
export type
|
|
12243
|
-
|
|
12244
|
-
|
|
12245
|
-
|
|
12246
|
-
|
|
12247
|
-
|
|
13343
|
+
export type AthleteClubFieldsFragment = {
|
|
13344
|
+
_id: string;
|
|
13345
|
+
clubId: string;
|
|
13346
|
+
athleteId: string;
|
|
13347
|
+
role: string;
|
|
13348
|
+
status: string;
|
|
13349
|
+
joinedAt?: string | null;
|
|
13350
|
+
leftAt?: string | null;
|
|
13351
|
+
club?: {
|
|
12248
13352
|
_id: string;
|
|
12249
|
-
|
|
13353
|
+
name: string;
|
|
13354
|
+
} | null;
|
|
12250
13355
|
};
|
|
12251
|
-
export type
|
|
12252
|
-
|
|
12253
|
-
|
|
12254
|
-
|
|
12255
|
-
|
|
13356
|
+
export type TeamAnalyticsFieldsFragment = {
|
|
13357
|
+
teamId: string;
|
|
13358
|
+
teamName: string;
|
|
13359
|
+
vtxScore?: number | null;
|
|
13360
|
+
athleteCount: number;
|
|
13361
|
+
rosterSize?: number | null;
|
|
13362
|
+
vtxScoreHistory?: Array<{
|
|
13363
|
+
date: string;
|
|
13364
|
+
score: number;
|
|
13365
|
+
}> | null;
|
|
13366
|
+
topPerformers?: Array<{
|
|
13367
|
+
athleteId: string;
|
|
13368
|
+
athleteName: string;
|
|
13369
|
+
athletePhoto?: string | null;
|
|
13370
|
+
sport?: string | null;
|
|
13371
|
+
vtxScore: number;
|
|
13372
|
+
rank: number;
|
|
13373
|
+
tpiScore?: number | null;
|
|
13374
|
+
spiScore?: number | null;
|
|
13375
|
+
apiScore?: number | null;
|
|
13376
|
+
}> | null;
|
|
12256
13377
|
};
|
|
12257
|
-
export type
|
|
12258
|
-
|
|
13378
|
+
export type TeamLeaderboardEntryFieldsFragment = {
|
|
13379
|
+
athleteId: string;
|
|
13380
|
+
athleteName: string;
|
|
13381
|
+
athletePhoto?: string | null;
|
|
13382
|
+
sport?: string | null;
|
|
13383
|
+
vtxScore: number;
|
|
13384
|
+
rank: number;
|
|
13385
|
+
tpiScore?: number | null;
|
|
13386
|
+
spiScore?: number | null;
|
|
13387
|
+
apiScore?: number | null;
|
|
13388
|
+
};
|
|
13389
|
+
export type FindTeamByIdQueryVariables = Exact<{
|
|
13390
|
+
teamId: Scalars['String']['input'];
|
|
12259
13391
|
}>;
|
|
12260
|
-
export type
|
|
12261
|
-
|
|
13392
|
+
export type FindTeamByIdQuery = {
|
|
13393
|
+
findTeamById: {
|
|
12262
13394
|
_id: string;
|
|
12263
|
-
|
|
13395
|
+
name: string;
|
|
12264
13396
|
description?: string | null;
|
|
12265
|
-
|
|
12266
|
-
|
|
12267
|
-
|
|
12268
|
-
|
|
12269
|
-
|
|
12270
|
-
|
|
12271
|
-
|
|
12272
|
-
|
|
12273
|
-
brand?: {
|
|
13397
|
+
approved?: boolean | null;
|
|
13398
|
+
clubId?: string | null;
|
|
13399
|
+
joinPolicy?: string | null;
|
|
13400
|
+
maxRosterSize?: number | null;
|
|
13401
|
+
visibility?: string | null;
|
|
13402
|
+
stripeAccountId?: string | null;
|
|
13403
|
+
vtxScore?: number | null;
|
|
13404
|
+
sports?: Array<{
|
|
12274
13405
|
_id: string;
|
|
12275
13406
|
name: string;
|
|
12276
|
-
|
|
12277
|
-
|
|
12278
|
-
description?: string | null;
|
|
12279
|
-
approved: boolean;
|
|
12280
|
-
published: boolean;
|
|
12281
|
-
operatorIds?: Array<string> | null;
|
|
12282
|
-
logo?: {
|
|
12283
|
-
_id: string;
|
|
12284
|
-
name?: string | null;
|
|
12285
|
-
contentType?: string | null;
|
|
12286
|
-
size?: number | null;
|
|
12287
|
-
useType?: string | null;
|
|
12288
|
-
url: string;
|
|
12289
|
-
key: string;
|
|
12290
|
-
} | null;
|
|
12291
|
-
banner?: {
|
|
12292
|
-
_id: string;
|
|
12293
|
-
name?: string | null;
|
|
12294
|
-
contentType?: string | null;
|
|
12295
|
-
size?: number | null;
|
|
12296
|
-
useType?: string | null;
|
|
12297
|
-
url: string;
|
|
12298
|
-
key: string;
|
|
12299
|
-
} | null;
|
|
12300
|
-
stats?: {
|
|
12301
|
-
campaigns?: number | null;
|
|
12302
|
-
sponsorships?: number | null;
|
|
12303
|
-
sports?: number | null;
|
|
12304
|
-
athletes?: number | null;
|
|
12305
|
-
} | null;
|
|
12306
|
-
} | null;
|
|
12307
|
-
banner?: {
|
|
13407
|
+
}> | null;
|
|
13408
|
+
logo?: {
|
|
12308
13409
|
_id: string;
|
|
12309
|
-
name?: string | null;
|
|
12310
|
-
contentType?: string | null;
|
|
12311
|
-
size?: number | null;
|
|
12312
|
-
useType?: string | null;
|
|
12313
13410
|
url: string;
|
|
12314
13411
|
key: string;
|
|
12315
13412
|
} | null;
|
|
12316
|
-
|
|
13413
|
+
banner?: {
|
|
12317
13414
|
_id: string;
|
|
12318
|
-
|
|
12319
|
-
|
|
12320
|
-
type: string;
|
|
12321
|
-
value: number;
|
|
12322
|
-
operator: string;
|
|
12323
|
-
} | {
|
|
12324
|
-
type: string;
|
|
12325
|
-
maxDistance: number;
|
|
12326
|
-
latitude?: number | null;
|
|
12327
|
-
longitude?: number | null;
|
|
12328
|
-
} | {
|
|
12329
|
-
type: string;
|
|
12330
|
-
operator: string;
|
|
12331
|
-
values: Array<string>;
|
|
12332
|
-
} | {
|
|
12333
|
-
type: string;
|
|
12334
|
-
operator: string;
|
|
12335
|
-
countries: Array<{
|
|
12336
|
-
_id: string;
|
|
12337
|
-
name: string;
|
|
12338
|
-
}>;
|
|
12339
|
-
states: Array<{
|
|
12340
|
-
_id: string;
|
|
12341
|
-
name: string;
|
|
12342
|
-
country?: {
|
|
12343
|
-
_id: string;
|
|
12344
|
-
name: string;
|
|
12345
|
-
} | null;
|
|
12346
|
-
}>;
|
|
12347
|
-
cities: Array<{
|
|
12348
|
-
_id: string;
|
|
12349
|
-
name: string;
|
|
12350
|
-
localizedName: string;
|
|
12351
|
-
latitude?: number | null;
|
|
12352
|
-
longitude?: number | null;
|
|
12353
|
-
timezone?: string | null;
|
|
12354
|
-
state?: {
|
|
12355
|
-
_id: string;
|
|
12356
|
-
name: string;
|
|
12357
|
-
country?: {
|
|
12358
|
-
_id: string;
|
|
12359
|
-
name: string;
|
|
12360
|
-
} | null;
|
|
12361
|
-
} | null;
|
|
12362
|
-
}>;
|
|
12363
|
-
} | {
|
|
12364
|
-
type: string;
|
|
12365
|
-
operator: string;
|
|
12366
|
-
countries: Array<{
|
|
12367
|
-
_id: string;
|
|
12368
|
-
name: string;
|
|
12369
|
-
}>;
|
|
12370
|
-
} | {
|
|
12371
|
-
type: string;
|
|
12372
|
-
scoreType: string;
|
|
12373
|
-
operator: string;
|
|
12374
|
-
value: number;
|
|
12375
|
-
} | {
|
|
12376
|
-
type: string;
|
|
12377
|
-
operator: string;
|
|
12378
|
-
level: string;
|
|
12379
|
-
} | {
|
|
12380
|
-
type: string;
|
|
12381
|
-
sports: Array<string>;
|
|
12382
|
-
operator: string;
|
|
12383
|
-
}> | null;
|
|
13415
|
+
url: string;
|
|
13416
|
+
key: string;
|
|
12384
13417
|
} | null;
|
|
12385
|
-
|
|
13418
|
+
};
|
|
13419
|
+
};
|
|
13420
|
+
export type FindTeamsQueryVariables = Exact<{
|
|
13421
|
+
sportId?: InputMaybe<Scalars['String']['input']>;
|
|
13422
|
+
clubId?: InputMaybe<Scalars['String']['input']>;
|
|
13423
|
+
}>;
|
|
13424
|
+
export type FindTeamsQuery = {
|
|
13425
|
+
findTeams: Array<{
|
|
13426
|
+
_id: string;
|
|
13427
|
+
name: string;
|
|
13428
|
+
description?: string | null;
|
|
13429
|
+
approved?: boolean | null;
|
|
13430
|
+
clubId?: string | null;
|
|
13431
|
+
joinPolicy?: string | null;
|
|
13432
|
+
maxRosterSize?: number | null;
|
|
13433
|
+
visibility?: string | null;
|
|
13434
|
+
stripeAccountId?: string | null;
|
|
13435
|
+
vtxScore?: number | null;
|
|
13436
|
+
sports?: Array<{
|
|
12386
13437
|
_id: string;
|
|
12387
|
-
|
|
12388
|
-
title: string;
|
|
12389
|
-
value: number;
|
|
12390
|
-
type: string;
|
|
13438
|
+
name: string;
|
|
12391
13439
|
}> | null;
|
|
12392
|
-
|
|
12393
|
-
|
|
12394
|
-
|
|
12395
|
-
|
|
12396
|
-
|
|
12397
|
-
|
|
12398
|
-
|
|
12399
|
-
|
|
12400
|
-
|
|
12401
|
-
approvedApplications?: number | null;
|
|
12402
|
-
grantedSponsorships?: number | null;
|
|
12403
|
-
remainingSponsorships?: number | null;
|
|
13440
|
+
logo?: {
|
|
13441
|
+
_id: string;
|
|
13442
|
+
url: string;
|
|
13443
|
+
key: string;
|
|
13444
|
+
} | null;
|
|
13445
|
+
banner?: {
|
|
13446
|
+
_id: string;
|
|
13447
|
+
url: string;
|
|
13448
|
+
key: string;
|
|
12404
13449
|
} | null;
|
|
12405
13450
|
}>;
|
|
12406
13451
|
};
|
|
12407
|
-
export type
|
|
12408
|
-
|
|
13452
|
+
export type GetTeamRosterQueryVariables = Exact<{
|
|
13453
|
+
teamId: Scalars['String']['input'];
|
|
12409
13454
|
}>;
|
|
12410
|
-
export type
|
|
12411
|
-
|
|
13455
|
+
export type GetTeamRosterQuery = {
|
|
13456
|
+
getTeamRoster: Array<{
|
|
12412
13457
|
_id: string;
|
|
12413
|
-
|
|
13458
|
+
teamId: string;
|
|
13459
|
+
athleteId: string;
|
|
13460
|
+
sportId: string;
|
|
13461
|
+
role: string;
|
|
13462
|
+
status: string;
|
|
13463
|
+
joinedAt?: string | null;
|
|
13464
|
+
leftAt?: string | null;
|
|
13465
|
+
}>;
|
|
13466
|
+
};
|
|
13467
|
+
export type GetTeamAnalyticsQueryVariables = Exact<{
|
|
13468
|
+
teamId: Scalars['String']['input'];
|
|
13469
|
+
}>;
|
|
13470
|
+
export type GetTeamAnalyticsQuery = {
|
|
13471
|
+
getTeamAnalytics: {
|
|
13472
|
+
teamId: string;
|
|
13473
|
+
teamName: string;
|
|
13474
|
+
vtxScore?: number | null;
|
|
13475
|
+
athleteCount: number;
|
|
13476
|
+
rosterSize?: number | null;
|
|
13477
|
+
vtxScoreHistory?: Array<{
|
|
13478
|
+
date: string;
|
|
13479
|
+
score: number;
|
|
13480
|
+
}> | null;
|
|
13481
|
+
topPerformers?: Array<{
|
|
13482
|
+
athleteId: string;
|
|
13483
|
+
athleteName: string;
|
|
13484
|
+
athletePhoto?: string | null;
|
|
13485
|
+
sport?: string | null;
|
|
13486
|
+
vtxScore: number;
|
|
13487
|
+
rank: number;
|
|
13488
|
+
tpiScore?: number | null;
|
|
13489
|
+
spiScore?: number | null;
|
|
13490
|
+
apiScore?: number | null;
|
|
13491
|
+
}> | null;
|
|
13492
|
+
};
|
|
13493
|
+
};
|
|
13494
|
+
export type GetTeamLeaderboardQueryVariables = Exact<{
|
|
13495
|
+
teamId: Scalars['String']['input'];
|
|
13496
|
+
}>;
|
|
13497
|
+
export type GetTeamLeaderboardQuery = {
|
|
13498
|
+
getTeamLeaderboard: Array<{
|
|
13499
|
+
athleteId: string;
|
|
13500
|
+
athleteName: string;
|
|
13501
|
+
athletePhoto?: string | null;
|
|
13502
|
+
sport?: string | null;
|
|
13503
|
+
vtxScore: number;
|
|
13504
|
+
rank: number;
|
|
13505
|
+
tpiScore?: number | null;
|
|
13506
|
+
spiScore?: number | null;
|
|
13507
|
+
apiScore?: number | null;
|
|
13508
|
+
}>;
|
|
13509
|
+
};
|
|
13510
|
+
export type GetTeamDashboardQueryVariables = Exact<{
|
|
13511
|
+
teamId: Scalars['String']['input'];
|
|
13512
|
+
}>;
|
|
13513
|
+
export type GetTeamDashboardQuery = {
|
|
13514
|
+
getTeamDashboard: {
|
|
13515
|
+
analytics: {
|
|
13516
|
+
teamId: string;
|
|
13517
|
+
teamName: string;
|
|
13518
|
+
vtxScore?: number | null;
|
|
13519
|
+
athleteCount: number;
|
|
13520
|
+
rosterSize?: number | null;
|
|
13521
|
+
vtxScoreHistory?: Array<{
|
|
13522
|
+
date: string;
|
|
13523
|
+
score: number;
|
|
13524
|
+
}> | null;
|
|
13525
|
+
topPerformers?: Array<{
|
|
13526
|
+
athleteId: string;
|
|
13527
|
+
athleteName: string;
|
|
13528
|
+
athletePhoto?: string | null;
|
|
13529
|
+
sport?: string | null;
|
|
13530
|
+
vtxScore: number;
|
|
13531
|
+
rank: number;
|
|
13532
|
+
tpiScore?: number | null;
|
|
13533
|
+
spiScore?: number | null;
|
|
13534
|
+
apiScore?: number | null;
|
|
13535
|
+
}> | null;
|
|
13536
|
+
};
|
|
13537
|
+
roster: {
|
|
13538
|
+
totalActive: number;
|
|
13539
|
+
totalInactive: number;
|
|
13540
|
+
recentJoins: number;
|
|
13541
|
+
recentDepartures: number;
|
|
13542
|
+
};
|
|
13543
|
+
leaderboard: Array<{
|
|
13544
|
+
athleteId: string;
|
|
13545
|
+
athleteName: string;
|
|
13546
|
+
athletePhoto?: string | null;
|
|
13547
|
+
sport?: string | null;
|
|
13548
|
+
vtxScore: number;
|
|
13549
|
+
rank: number;
|
|
13550
|
+
tpiScore?: number | null;
|
|
13551
|
+
spiScore?: number | null;
|
|
13552
|
+
apiScore?: number | null;
|
|
13553
|
+
}>;
|
|
13554
|
+
};
|
|
13555
|
+
};
|
|
13556
|
+
export type GetTeamStripeAccountStatusQueryVariables = Exact<{
|
|
13557
|
+
teamId: Scalars['String']['input'];
|
|
13558
|
+
}>;
|
|
13559
|
+
export type GetTeamStripeAccountStatusQuery = {
|
|
13560
|
+
getTeamStripeAccountStatus?: {
|
|
13561
|
+
chargesEnabled: boolean;
|
|
13562
|
+
payoutsEnabled: boolean;
|
|
13563
|
+
detailsSubmitted: boolean;
|
|
13564
|
+
} | null;
|
|
13565
|
+
};
|
|
13566
|
+
export type CreateTeamMutationVariables = Exact<{
|
|
13567
|
+
input: CreateTeamInput;
|
|
13568
|
+
}>;
|
|
13569
|
+
export type CreateTeamMutation = {
|
|
13570
|
+
createTeam: {
|
|
13571
|
+
_id: string;
|
|
13572
|
+
name: string;
|
|
12414
13573
|
description?: string | null;
|
|
12415
|
-
|
|
12416
|
-
|
|
12417
|
-
|
|
12418
|
-
|
|
12419
|
-
|
|
12420
|
-
|
|
12421
|
-
|
|
12422
|
-
|
|
12423
|
-
brand?: {
|
|
13574
|
+
approved?: boolean | null;
|
|
13575
|
+
clubId?: string | null;
|
|
13576
|
+
joinPolicy?: string | null;
|
|
13577
|
+
maxRosterSize?: number | null;
|
|
13578
|
+
visibility?: string | null;
|
|
13579
|
+
stripeAccountId?: string | null;
|
|
13580
|
+
vtxScore?: number | null;
|
|
13581
|
+
sports?: Array<{
|
|
12424
13582
|
_id: string;
|
|
12425
13583
|
name: string;
|
|
12426
|
-
|
|
12427
|
-
|
|
12428
|
-
|
|
12429
|
-
|
|
12430
|
-
|
|
12431
|
-
operatorIds?: Array<string> | null;
|
|
12432
|
-
logo?: {
|
|
12433
|
-
_id: string;
|
|
12434
|
-
name?: string | null;
|
|
12435
|
-
contentType?: string | null;
|
|
12436
|
-
size?: number | null;
|
|
12437
|
-
useType?: string | null;
|
|
12438
|
-
url: string;
|
|
12439
|
-
key: string;
|
|
12440
|
-
} | null;
|
|
12441
|
-
banner?: {
|
|
12442
|
-
_id: string;
|
|
12443
|
-
name?: string | null;
|
|
12444
|
-
contentType?: string | null;
|
|
12445
|
-
size?: number | null;
|
|
12446
|
-
useType?: string | null;
|
|
12447
|
-
url: string;
|
|
12448
|
-
key: string;
|
|
12449
|
-
} | null;
|
|
12450
|
-
stats?: {
|
|
12451
|
-
campaigns?: number | null;
|
|
12452
|
-
sponsorships?: number | null;
|
|
12453
|
-
sports?: number | null;
|
|
12454
|
-
athletes?: number | null;
|
|
12455
|
-
} | null;
|
|
13584
|
+
}> | null;
|
|
13585
|
+
logo?: {
|
|
13586
|
+
_id: string;
|
|
13587
|
+
url: string;
|
|
13588
|
+
key: string;
|
|
12456
13589
|
} | null;
|
|
12457
13590
|
banner?: {
|
|
12458
13591
|
_id: string;
|
|
12459
|
-
name?: string | null;
|
|
12460
|
-
contentType?: string | null;
|
|
12461
|
-
size?: number | null;
|
|
12462
|
-
useType?: string | null;
|
|
12463
13592
|
url: string;
|
|
12464
13593
|
key: string;
|
|
12465
13594
|
} | null;
|
|
12466
|
-
|
|
13595
|
+
};
|
|
13596
|
+
};
|
|
13597
|
+
export type UpdateTeamMutationVariables = Exact<{
|
|
13598
|
+
input: UpdateTeamInput;
|
|
13599
|
+
}>;
|
|
13600
|
+
export type UpdateTeamMutation = {
|
|
13601
|
+
updateTeam: {
|
|
13602
|
+
_id: string;
|
|
13603
|
+
name: string;
|
|
13604
|
+
description?: string | null;
|
|
13605
|
+
approved?: boolean | null;
|
|
13606
|
+
clubId?: string | null;
|
|
13607
|
+
joinPolicy?: string | null;
|
|
13608
|
+
maxRosterSize?: number | null;
|
|
13609
|
+
visibility?: string | null;
|
|
13610
|
+
stripeAccountId?: string | null;
|
|
13611
|
+
vtxScore?: number | null;
|
|
13612
|
+
sports?: Array<{
|
|
12467
13613
|
_id: string;
|
|
12468
|
-
|
|
12469
|
-
|
|
12470
|
-
|
|
12471
|
-
|
|
12472
|
-
|
|
12473
|
-
|
|
12474
|
-
type: string;
|
|
12475
|
-
maxDistance: number;
|
|
12476
|
-
latitude?: number | null;
|
|
12477
|
-
longitude?: number | null;
|
|
12478
|
-
} | {
|
|
12479
|
-
type: string;
|
|
12480
|
-
operator: string;
|
|
12481
|
-
values: Array<string>;
|
|
12482
|
-
} | {
|
|
12483
|
-
type: string;
|
|
12484
|
-
operator: string;
|
|
12485
|
-
countries: Array<{
|
|
12486
|
-
_id: string;
|
|
12487
|
-
name: string;
|
|
12488
|
-
}>;
|
|
12489
|
-
states: Array<{
|
|
12490
|
-
_id: string;
|
|
12491
|
-
name: string;
|
|
12492
|
-
country?: {
|
|
12493
|
-
_id: string;
|
|
12494
|
-
name: string;
|
|
12495
|
-
} | null;
|
|
12496
|
-
}>;
|
|
12497
|
-
cities: Array<{
|
|
12498
|
-
_id: string;
|
|
12499
|
-
name: string;
|
|
12500
|
-
localizedName: string;
|
|
12501
|
-
latitude?: number | null;
|
|
12502
|
-
longitude?: number | null;
|
|
12503
|
-
timezone?: string | null;
|
|
12504
|
-
state?: {
|
|
12505
|
-
_id: string;
|
|
12506
|
-
name: string;
|
|
12507
|
-
country?: {
|
|
12508
|
-
_id: string;
|
|
12509
|
-
name: string;
|
|
12510
|
-
} | null;
|
|
12511
|
-
} | null;
|
|
12512
|
-
}>;
|
|
12513
|
-
} | {
|
|
12514
|
-
type: string;
|
|
12515
|
-
operator: string;
|
|
12516
|
-
countries: Array<{
|
|
12517
|
-
_id: string;
|
|
12518
|
-
name: string;
|
|
12519
|
-
}>;
|
|
12520
|
-
} | {
|
|
12521
|
-
type: string;
|
|
12522
|
-
scoreType: string;
|
|
12523
|
-
operator: string;
|
|
12524
|
-
value: number;
|
|
12525
|
-
} | {
|
|
12526
|
-
type: string;
|
|
12527
|
-
operator: string;
|
|
12528
|
-
level: string;
|
|
12529
|
-
} | {
|
|
12530
|
-
type: string;
|
|
12531
|
-
sports: Array<string>;
|
|
12532
|
-
operator: string;
|
|
12533
|
-
}> | null;
|
|
13614
|
+
name: string;
|
|
13615
|
+
}> | null;
|
|
13616
|
+
logo?: {
|
|
13617
|
+
_id: string;
|
|
13618
|
+
url: string;
|
|
13619
|
+
key: string;
|
|
12534
13620
|
} | null;
|
|
12535
|
-
|
|
13621
|
+
banner?: {
|
|
12536
13622
|
_id: string;
|
|
12537
|
-
|
|
12538
|
-
|
|
12539
|
-
value: number;
|
|
12540
|
-
type: string;
|
|
12541
|
-
}> | null;
|
|
12542
|
-
duration: {
|
|
12543
|
-
length: number;
|
|
12544
|
-
unit: string;
|
|
12545
|
-
};
|
|
12546
|
-
stats?: {
|
|
12547
|
-
totalApplications?: number | null;
|
|
12548
|
-
newApplications?: number | null;
|
|
12549
|
-
discardedApplications?: number | null;
|
|
12550
|
-
selectedApplications?: number | null;
|
|
12551
|
-
approvedApplications?: number | null;
|
|
12552
|
-
grantedSponsorships?: number | null;
|
|
12553
|
-
remainingSponsorships?: number | null;
|
|
13623
|
+
url: string;
|
|
13624
|
+
key: string;
|
|
12554
13625
|
} | null;
|
|
12555
|
-
}
|
|
13626
|
+
};
|
|
12556
13627
|
};
|
|
12557
|
-
export type
|
|
12558
|
-
input:
|
|
13628
|
+
export type JoinTeamMutationVariables = Exact<{
|
|
13629
|
+
input: JoinTeamInput;
|
|
12559
13630
|
}>;
|
|
12560
|
-
export type
|
|
12561
|
-
|
|
13631
|
+
export type JoinTeamMutation = {
|
|
13632
|
+
joinTeam: {
|
|
12562
13633
|
_id: string;
|
|
13634
|
+
teamId: string;
|
|
13635
|
+
athleteId: string;
|
|
13636
|
+
sportId: string;
|
|
13637
|
+
role: string;
|
|
13638
|
+
status: string;
|
|
13639
|
+
joinedAt?: string | null;
|
|
13640
|
+
leftAt?: string | null;
|
|
12563
13641
|
};
|
|
12564
13642
|
};
|
|
12565
|
-
export type
|
|
12566
|
-
|
|
13643
|
+
export type LeaveTeamMutationVariables = Exact<{
|
|
13644
|
+
teamId: Scalars['String']['input'];
|
|
12567
13645
|
}>;
|
|
12568
|
-
export type
|
|
12569
|
-
|
|
13646
|
+
export type LeaveTeamMutation = {
|
|
13647
|
+
leaveTeam: {
|
|
12570
13648
|
_id: string;
|
|
12571
|
-
|
|
12572
|
-
|
|
13649
|
+
teamId: string;
|
|
13650
|
+
athleteId: string;
|
|
13651
|
+
sportId: string;
|
|
13652
|
+
role: string;
|
|
13653
|
+
status: string;
|
|
13654
|
+
joinedAt?: string | null;
|
|
13655
|
+
leftAt?: string | null;
|
|
13656
|
+
};
|
|
12573
13657
|
};
|
|
12574
|
-
export type
|
|
12575
|
-
|
|
13658
|
+
export type InviteToTeamMutationVariables = Exact<{
|
|
13659
|
+
teamId: Scalars['String']['input'];
|
|
13660
|
+
athleteId: Scalars['String']['input'];
|
|
13661
|
+
sportId: Scalars['String']['input'];
|
|
12576
13662
|
}>;
|
|
12577
|
-
export type
|
|
12578
|
-
|
|
12579
|
-
|
|
12580
|
-
|
|
12581
|
-
|
|
12582
|
-
|
|
12583
|
-
|
|
12584
|
-
|
|
12585
|
-
|
|
12586
|
-
|
|
12587
|
-
|
|
12588
|
-
|
|
12589
|
-
|
|
12590
|
-
|
|
12591
|
-
|
|
12592
|
-
|
|
12593
|
-
|
|
13663
|
+
export type InviteToTeamMutation = {
|
|
13664
|
+
inviteToTeam: {
|
|
13665
|
+
_id: string;
|
|
13666
|
+
teamId: string;
|
|
13667
|
+
athleteId: string;
|
|
13668
|
+
sportId: string;
|
|
13669
|
+
role: string;
|
|
13670
|
+
status: string;
|
|
13671
|
+
joinedAt?: string | null;
|
|
13672
|
+
leftAt?: string | null;
|
|
13673
|
+
};
|
|
13674
|
+
};
|
|
13675
|
+
export type ManageTeamMemberMutationVariables = Exact<{
|
|
13676
|
+
input: ManageTeamMemberInput;
|
|
13677
|
+
}>;
|
|
13678
|
+
export type ManageTeamMemberMutation = {
|
|
13679
|
+
manageTeamMember: {
|
|
13680
|
+
_id: string;
|
|
13681
|
+
teamId: string;
|
|
13682
|
+
athleteId: string;
|
|
13683
|
+
sportId: string;
|
|
13684
|
+
role: string;
|
|
13685
|
+
status: string;
|
|
13686
|
+
joinedAt?: string | null;
|
|
13687
|
+
leftAt?: string | null;
|
|
12594
13688
|
};
|
|
12595
13689
|
};
|
|
12596
|
-
export type
|
|
12597
|
-
|
|
13690
|
+
export type CreateTeamStripeAccountMutationVariables = Exact<{
|
|
13691
|
+
teamId: Scalars['String']['input'];
|
|
12598
13692
|
}>;
|
|
12599
|
-
export type
|
|
12600
|
-
|
|
12601
|
-
_id: string;
|
|
12602
|
-
label: string;
|
|
12603
|
-
index: number;
|
|
12604
|
-
}>;
|
|
13693
|
+
export type CreateTeamStripeAccountMutation = {
|
|
13694
|
+
createTeamStripeAccount: string;
|
|
12605
13695
|
};
|
|
12606
|
-
export type
|
|
12607
|
-
|
|
13696
|
+
export type CreateTeamDonationCheckoutMutationVariables = Exact<{
|
|
13697
|
+
teamId: Scalars['String']['input'];
|
|
13698
|
+
amount: Scalars['Float']['input'];
|
|
13699
|
+
currency?: Scalars['String']['input'];
|
|
13700
|
+
donorEmail?: InputMaybe<Scalars['String']['input']>;
|
|
13701
|
+
donorName?: InputMaybe<Scalars['String']['input']>;
|
|
12608
13702
|
}>;
|
|
12609
|
-
export type
|
|
12610
|
-
|
|
13703
|
+
export type CreateTeamDonationCheckoutMutation = {
|
|
13704
|
+
createTeamDonationCheckout: string;
|
|
13705
|
+
};
|
|
13706
|
+
export type FindClubByIdQueryVariables = Exact<{
|
|
13707
|
+
clubId: Scalars['String']['input'];
|
|
13708
|
+
}>;
|
|
13709
|
+
export type FindClubByIdQuery = {
|
|
13710
|
+
findClubById: {
|
|
12611
13711
|
_id: string;
|
|
12612
13712
|
name: string;
|
|
12613
|
-
|
|
13713
|
+
description?: string | null;
|
|
13714
|
+
location?: string | null;
|
|
13715
|
+
website?: string | null;
|
|
13716
|
+
membershipType: string;
|
|
13717
|
+
feeStructure?: any | null;
|
|
13718
|
+
approved?: boolean | null;
|
|
13719
|
+
visibility: string;
|
|
13720
|
+
stripeAccountId?: string | null;
|
|
13721
|
+
sports?: Array<{
|
|
13722
|
+
_id: string;
|
|
13723
|
+
name: string;
|
|
13724
|
+
}> | null;
|
|
13725
|
+
logo?: {
|
|
13726
|
+
_id: string;
|
|
13727
|
+
url: string;
|
|
13728
|
+
key: string;
|
|
13729
|
+
} | null;
|
|
13730
|
+
banner?: {
|
|
13731
|
+
_id: string;
|
|
13732
|
+
url: string;
|
|
13733
|
+
key: string;
|
|
13734
|
+
} | null;
|
|
13735
|
+
teams?: Array<{
|
|
13736
|
+
_id: string;
|
|
13737
|
+
name: string;
|
|
13738
|
+
description?: string | null;
|
|
13739
|
+
approved?: boolean | null;
|
|
13740
|
+
clubId?: string | null;
|
|
13741
|
+
joinPolicy?: string | null;
|
|
13742
|
+
maxRosterSize?: number | null;
|
|
13743
|
+
visibility?: string | null;
|
|
13744
|
+
stripeAccountId?: string | null;
|
|
13745
|
+
vtxScore?: number | null;
|
|
13746
|
+
sports?: Array<{
|
|
13747
|
+
_id: string;
|
|
13748
|
+
name: string;
|
|
13749
|
+
}> | null;
|
|
13750
|
+
logo?: {
|
|
13751
|
+
_id: string;
|
|
13752
|
+
url: string;
|
|
13753
|
+
key: string;
|
|
13754
|
+
} | null;
|
|
13755
|
+
banner?: {
|
|
13756
|
+
_id: string;
|
|
13757
|
+
url: string;
|
|
13758
|
+
key: string;
|
|
13759
|
+
} | null;
|
|
13760
|
+
}> | null;
|
|
13761
|
+
};
|
|
12614
13762
|
};
|
|
12615
|
-
export type
|
|
12616
|
-
[
|
|
13763
|
+
export type FindClubsQueryVariables = Exact<{
|
|
13764
|
+
sportId?: InputMaybe<Scalars['String']['input']>;
|
|
12617
13765
|
}>;
|
|
12618
|
-
export type
|
|
12619
|
-
|
|
13766
|
+
export type FindClubsQuery = {
|
|
13767
|
+
findClubs: Array<{
|
|
12620
13768
|
_id: string;
|
|
12621
13769
|
name: string;
|
|
12622
|
-
|
|
13770
|
+
description?: string | null;
|
|
13771
|
+
location?: string | null;
|
|
13772
|
+
website?: string | null;
|
|
13773
|
+
membershipType: string;
|
|
13774
|
+
feeStructure?: any | null;
|
|
13775
|
+
approved?: boolean | null;
|
|
13776
|
+
visibility: string;
|
|
13777
|
+
stripeAccountId?: string | null;
|
|
13778
|
+
sports?: Array<{
|
|
12623
13779
|
_id: string;
|
|
12624
13780
|
name: string;
|
|
13781
|
+
}> | null;
|
|
13782
|
+
logo?: {
|
|
13783
|
+
_id: string;
|
|
13784
|
+
url: string;
|
|
13785
|
+
key: string;
|
|
12625
13786
|
} | null;
|
|
13787
|
+
banner?: {
|
|
13788
|
+
_id: string;
|
|
13789
|
+
url: string;
|
|
13790
|
+
key: string;
|
|
13791
|
+
} | null;
|
|
13792
|
+
teams?: Array<{
|
|
13793
|
+
_id: string;
|
|
13794
|
+
name: string;
|
|
13795
|
+
description?: string | null;
|
|
13796
|
+
approved?: boolean | null;
|
|
13797
|
+
clubId?: string | null;
|
|
13798
|
+
joinPolicy?: string | null;
|
|
13799
|
+
maxRosterSize?: number | null;
|
|
13800
|
+
visibility?: string | null;
|
|
13801
|
+
stripeAccountId?: string | null;
|
|
13802
|
+
vtxScore?: number | null;
|
|
13803
|
+
sports?: Array<{
|
|
13804
|
+
_id: string;
|
|
13805
|
+
name: string;
|
|
13806
|
+
}> | null;
|
|
13807
|
+
logo?: {
|
|
13808
|
+
_id: string;
|
|
13809
|
+
url: string;
|
|
13810
|
+
key: string;
|
|
13811
|
+
} | null;
|
|
13812
|
+
banner?: {
|
|
13813
|
+
_id: string;
|
|
13814
|
+
url: string;
|
|
13815
|
+
key: string;
|
|
13816
|
+
} | null;
|
|
13817
|
+
}> | null;
|
|
12626
13818
|
}>;
|
|
12627
13819
|
};
|
|
12628
|
-
export type
|
|
12629
|
-
|
|
13820
|
+
export type GetClubMembersQueryVariables = Exact<{
|
|
13821
|
+
clubId: Scalars['String']['input'];
|
|
12630
13822
|
}>;
|
|
12631
|
-
export type
|
|
12632
|
-
|
|
13823
|
+
export type GetClubMembersQuery = {
|
|
13824
|
+
getClubMembers: Array<{
|
|
12633
13825
|
_id: string;
|
|
12634
|
-
|
|
12635
|
-
|
|
13826
|
+
clubId: string;
|
|
13827
|
+
athleteId: string;
|
|
13828
|
+
role: string;
|
|
13829
|
+
status: string;
|
|
13830
|
+
joinedAt?: string | null;
|
|
13831
|
+
leftAt?: string | null;
|
|
13832
|
+
club?: {
|
|
12636
13833
|
_id: string;
|
|
12637
13834
|
name: string;
|
|
12638
13835
|
} | null;
|
|
12639
13836
|
}>;
|
|
12640
13837
|
};
|
|
12641
|
-
export type
|
|
12642
|
-
|
|
13838
|
+
export type GetClubStripeAccountStatusQueryVariables = Exact<{
|
|
13839
|
+
clubId: Scalars['String']['input'];
|
|
12643
13840
|
}>;
|
|
12644
|
-
export type
|
|
12645
|
-
|
|
13841
|
+
export type GetClubStripeAccountStatusQuery = {
|
|
13842
|
+
getClubStripeAccountStatus?: {
|
|
13843
|
+
chargesEnabled: boolean;
|
|
13844
|
+
payoutsEnabled: boolean;
|
|
13845
|
+
detailsSubmitted: boolean;
|
|
13846
|
+
} | null;
|
|
13847
|
+
};
|
|
13848
|
+
export type CreateClubMutationVariables = Exact<{
|
|
13849
|
+
input: CreateClubInput;
|
|
13850
|
+
}>;
|
|
13851
|
+
export type CreateClubMutation = {
|
|
13852
|
+
createClub: {
|
|
12646
13853
|
_id: string;
|
|
12647
13854
|
name: string;
|
|
12648
|
-
|
|
12649
|
-
|
|
12650
|
-
|
|
12651
|
-
|
|
12652
|
-
|
|
13855
|
+
description?: string | null;
|
|
13856
|
+
location?: string | null;
|
|
13857
|
+
website?: string | null;
|
|
13858
|
+
membershipType: string;
|
|
13859
|
+
feeStructure?: any | null;
|
|
13860
|
+
approved?: boolean | null;
|
|
13861
|
+
visibility: string;
|
|
13862
|
+
stripeAccountId?: string | null;
|
|
13863
|
+
sports?: Array<{
|
|
12653
13864
|
_id: string;
|
|
12654
13865
|
name: string;
|
|
12655
|
-
|
|
13866
|
+
}> | null;
|
|
13867
|
+
logo?: {
|
|
13868
|
+
_id: string;
|
|
13869
|
+
url: string;
|
|
13870
|
+
key: string;
|
|
13871
|
+
} | null;
|
|
13872
|
+
banner?: {
|
|
13873
|
+
_id: string;
|
|
13874
|
+
url: string;
|
|
13875
|
+
key: string;
|
|
13876
|
+
} | null;
|
|
13877
|
+
teams?: Array<{
|
|
13878
|
+
_id: string;
|
|
13879
|
+
name: string;
|
|
13880
|
+
description?: string | null;
|
|
13881
|
+
approved?: boolean | null;
|
|
13882
|
+
clubId?: string | null;
|
|
13883
|
+
joinPolicy?: string | null;
|
|
13884
|
+
maxRosterSize?: number | null;
|
|
13885
|
+
visibility?: string | null;
|
|
13886
|
+
stripeAccountId?: string | null;
|
|
13887
|
+
vtxScore?: number | null;
|
|
13888
|
+
sports?: Array<{
|
|
12656
13889
|
_id: string;
|
|
12657
13890
|
name: string;
|
|
13891
|
+
}> | null;
|
|
13892
|
+
logo?: {
|
|
13893
|
+
_id: string;
|
|
13894
|
+
url: string;
|
|
13895
|
+
key: string;
|
|
12658
13896
|
} | null;
|
|
12659
|
-
|
|
12660
|
-
|
|
13897
|
+
banner?: {
|
|
13898
|
+
_id: string;
|
|
13899
|
+
url: string;
|
|
13900
|
+
key: string;
|
|
13901
|
+
} | null;
|
|
13902
|
+
}> | null;
|
|
13903
|
+
};
|
|
12661
13904
|
};
|
|
12662
|
-
export type
|
|
12663
|
-
input:
|
|
13905
|
+
export type UpdateClubMutationVariables = Exact<{
|
|
13906
|
+
input: UpdateClubInput;
|
|
12664
13907
|
}>;
|
|
12665
|
-
export type
|
|
12666
|
-
|
|
13908
|
+
export type UpdateClubMutation = {
|
|
13909
|
+
updateClub: {
|
|
12667
13910
|
_id: string;
|
|
12668
13911
|
name: string;
|
|
13912
|
+
description?: string | null;
|
|
13913
|
+
location?: string | null;
|
|
13914
|
+
website?: string | null;
|
|
13915
|
+
membershipType: string;
|
|
13916
|
+
feeStructure?: any | null;
|
|
13917
|
+
approved?: boolean | null;
|
|
13918
|
+
visibility: string;
|
|
13919
|
+
stripeAccountId?: string | null;
|
|
13920
|
+
sports?: Array<{
|
|
13921
|
+
_id: string;
|
|
13922
|
+
name: string;
|
|
13923
|
+
}> | null;
|
|
13924
|
+
logo?: {
|
|
13925
|
+
_id: string;
|
|
13926
|
+
url: string;
|
|
13927
|
+
key: string;
|
|
13928
|
+
} | null;
|
|
13929
|
+
banner?: {
|
|
13930
|
+
_id: string;
|
|
13931
|
+
url: string;
|
|
13932
|
+
key: string;
|
|
13933
|
+
} | null;
|
|
13934
|
+
teams?: Array<{
|
|
13935
|
+
_id: string;
|
|
13936
|
+
name: string;
|
|
13937
|
+
description?: string | null;
|
|
13938
|
+
approved?: boolean | null;
|
|
13939
|
+
clubId?: string | null;
|
|
13940
|
+
joinPolicy?: string | null;
|
|
13941
|
+
maxRosterSize?: number | null;
|
|
13942
|
+
visibility?: string | null;
|
|
13943
|
+
stripeAccountId?: string | null;
|
|
13944
|
+
vtxScore?: number | null;
|
|
13945
|
+
sports?: Array<{
|
|
13946
|
+
_id: string;
|
|
13947
|
+
name: string;
|
|
13948
|
+
}> | null;
|
|
13949
|
+
logo?: {
|
|
13950
|
+
_id: string;
|
|
13951
|
+
url: string;
|
|
13952
|
+
key: string;
|
|
13953
|
+
} | null;
|
|
13954
|
+
banner?: {
|
|
13955
|
+
_id: string;
|
|
13956
|
+
url: string;
|
|
13957
|
+
key: string;
|
|
13958
|
+
} | null;
|
|
13959
|
+
}> | null;
|
|
12669
13960
|
};
|
|
12670
13961
|
};
|
|
12671
|
-
export type
|
|
12672
|
-
input:
|
|
13962
|
+
export type JoinClubMutationVariables = Exact<{
|
|
13963
|
+
input: JoinClubInput;
|
|
12673
13964
|
}>;
|
|
12674
|
-
export type
|
|
12675
|
-
|
|
13965
|
+
export type JoinClubMutation = {
|
|
13966
|
+
joinClub: {
|
|
12676
13967
|
_id: string;
|
|
12677
|
-
|
|
13968
|
+
clubId: string;
|
|
13969
|
+
athleteId: string;
|
|
13970
|
+
role: string;
|
|
13971
|
+
status: string;
|
|
13972
|
+
joinedAt?: string | null;
|
|
13973
|
+
leftAt?: string | null;
|
|
13974
|
+
club?: {
|
|
13975
|
+
_id: string;
|
|
13976
|
+
name: string;
|
|
13977
|
+
} | null;
|
|
12678
13978
|
};
|
|
12679
13979
|
};
|
|
12680
|
-
export type
|
|
12681
|
-
|
|
13980
|
+
export type LeaveClubMutationVariables = Exact<{
|
|
13981
|
+
clubId: Scalars['String']['input'];
|
|
12682
13982
|
}>;
|
|
12683
|
-
export type
|
|
12684
|
-
|
|
13983
|
+
export type LeaveClubMutation = {
|
|
13984
|
+
leaveClub: {
|
|
12685
13985
|
_id: string;
|
|
12686
|
-
|
|
12687
|
-
|
|
13986
|
+
clubId: string;
|
|
13987
|
+
athleteId: string;
|
|
13988
|
+
role: string;
|
|
13989
|
+
status: string;
|
|
13990
|
+
joinedAt?: string | null;
|
|
13991
|
+
leftAt?: string | null;
|
|
13992
|
+
club?: {
|
|
13993
|
+
_id: string;
|
|
13994
|
+
name: string;
|
|
13995
|
+
} | null;
|
|
12688
13996
|
};
|
|
12689
13997
|
};
|
|
12690
|
-
export type
|
|
12691
|
-
|
|
13998
|
+
export type InviteToClubMutationVariables = Exact<{
|
|
13999
|
+
clubId: Scalars['String']['input'];
|
|
14000
|
+
athleteId: Scalars['String']['input'];
|
|
12692
14001
|
}>;
|
|
12693
|
-
export type
|
|
12694
|
-
|
|
14002
|
+
export type InviteToClubMutation = {
|
|
14003
|
+
inviteToClub: {
|
|
12695
14004
|
_id: string;
|
|
12696
|
-
|
|
14005
|
+
clubId: string;
|
|
14006
|
+
athleteId: string;
|
|
14007
|
+
role: string;
|
|
14008
|
+
status: string;
|
|
14009
|
+
joinedAt?: string | null;
|
|
14010
|
+
leftAt?: string | null;
|
|
14011
|
+
club?: {
|
|
14012
|
+
_id: string;
|
|
14013
|
+
name: string;
|
|
14014
|
+
} | null;
|
|
12697
14015
|
};
|
|
12698
14016
|
};
|
|
12699
|
-
export type
|
|
12700
|
-
input:
|
|
14017
|
+
export type ManageClubMemberMutationVariables = Exact<{
|
|
14018
|
+
input: ManageClubMemberInput;
|
|
12701
14019
|
}>;
|
|
12702
|
-
export type
|
|
12703
|
-
|
|
14020
|
+
export type ManageClubMemberMutation = {
|
|
14021
|
+
manageClubMember: {
|
|
12704
14022
|
_id: string;
|
|
12705
|
-
|
|
14023
|
+
clubId: string;
|
|
14024
|
+
athleteId: string;
|
|
14025
|
+
role: string;
|
|
14026
|
+
status: string;
|
|
14027
|
+
joinedAt?: string | null;
|
|
14028
|
+
leftAt?: string | null;
|
|
14029
|
+
club?: {
|
|
14030
|
+
_id: string;
|
|
14031
|
+
name: string;
|
|
14032
|
+
} | null;
|
|
12706
14033
|
};
|
|
12707
14034
|
};
|
|
12708
|
-
export type
|
|
12709
|
-
|
|
14035
|
+
export type CreateClubStripeAccountMutationVariables = Exact<{
|
|
14036
|
+
clubId: Scalars['String']['input'];
|
|
12710
14037
|
}>;
|
|
12711
|
-
export type
|
|
12712
|
-
|
|
12713
|
-
|
|
12714
|
-
|
|
12715
|
-
|
|
12716
|
-
|
|
12717
|
-
|
|
12718
|
-
|
|
12719
|
-
|
|
14038
|
+
export type CreateClubStripeAccountMutation = {
|
|
14039
|
+
createClubStripeAccount: string;
|
|
14040
|
+
};
|
|
14041
|
+
export type CreateClubDonationCheckoutMutationVariables = Exact<{
|
|
14042
|
+
clubId: Scalars['String']['input'];
|
|
14043
|
+
amount: Scalars['Float']['input'];
|
|
14044
|
+
currency?: Scalars['String']['input'];
|
|
14045
|
+
donorEmail?: InputMaybe<Scalars['String']['input']>;
|
|
14046
|
+
donorName?: InputMaybe<Scalars['String']['input']>;
|
|
14047
|
+
}>;
|
|
14048
|
+
export type CreateClubDonationCheckoutMutation = {
|
|
14049
|
+
createClubDonationCheckout: string;
|
|
14050
|
+
};
|
|
14051
|
+
export type CreateMembershipFeeCheckoutMutationVariables = Exact<{
|
|
14052
|
+
clubId: Scalars['String']['input'];
|
|
14053
|
+
}>;
|
|
14054
|
+
export type CreateMembershipFeeCheckoutMutation = {
|
|
14055
|
+
createMembershipFeeCheckout?: string | null;
|
|
12720
14056
|
};
|
|
12721
14057
|
export type FindUserByEmailQueryVariables = Exact<{
|
|
12722
14058
|
email: Scalars['String']['input'];
|
|
@@ -13209,6 +14545,7 @@ export declare const CurrentCampaignFieldsFragmentDoc: import("graphql").Documen
|
|
|
13209
14545
|
export declare const HistoricalScoreFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
13210
14546
|
export declare const HistoricalScoresPeriodFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
13211
14547
|
export declare const CampaignFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
14548
|
+
export declare const DonationThankYouFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
13212
14549
|
export declare const BrowseCampaignFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
13213
14550
|
export declare const DonationFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
13214
14551
|
export declare const DonationAthleteRefFragmentDoc: import("graphql").DocumentNode;
|
|
@@ -13223,6 +14560,12 @@ export declare const Awss3FileFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
|
13223
14560
|
export declare const BrandFullFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
13224
14561
|
export declare const SponsorshipFullFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
13225
14562
|
export declare const PaginationInfoFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
14563
|
+
export declare const TeamFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
14564
|
+
export declare const ClubFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
14565
|
+
export declare const AthleteTeamFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
14566
|
+
export declare const AthleteClubFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
14567
|
+
export declare const TeamAnalyticsFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
14568
|
+
export declare const TeamLeaderboardEntryFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
13226
14569
|
export declare const GetAiCoachThreadDocument: import("graphql").DocumentNode;
|
|
13227
14570
|
export declare const GetAiCoachThreadHistoryDocument: import("graphql").DocumentNode;
|
|
13228
14571
|
export declare const GetAiCoachThreadMessagesDocument: import("graphql").DocumentNode;
|
|
@@ -13335,6 +14678,10 @@ export declare const GetReceiptDocument: import("graphql").DocumentNode;
|
|
|
13335
14678
|
export declare const GetTransactionDetailsDocument: import("graphql").DocumentNode;
|
|
13336
14679
|
export declare const GetAllTransactionsDocument: import("graphql").DocumentNode;
|
|
13337
14680
|
export declare const GetTransactionsPaginatedDocument: import("graphql").DocumentNode;
|
|
14681
|
+
export declare const CampaignThankYousDocument: import("graphql").DocumentNode;
|
|
14682
|
+
export declare const DonationThankYouDocument: import("graphql").DocumentNode;
|
|
14683
|
+
export declare const UpdateThankYouTemplateDocument: import("graphql").DocumentNode;
|
|
14684
|
+
export declare const SendThankYouDocument: import("graphql").DocumentNode;
|
|
13338
14685
|
export declare const GetEmailCampaignsDocument: import("graphql").DocumentNode;
|
|
13339
14686
|
export declare const GetAudiencePreviewDocument: import("graphql").DocumentNode;
|
|
13340
14687
|
export declare const GetSendGridTemplatesDocument: import("graphql").DocumentNode;
|
|
@@ -13434,6 +14781,34 @@ export declare const CreateSportLevelDocument: import("graphql").DocumentNode;
|
|
|
13434
14781
|
export declare const CreateCountryDocument: import("graphql").DocumentNode;
|
|
13435
14782
|
export declare const CreateStateDocument: import("graphql").DocumentNode;
|
|
13436
14783
|
export declare const CreateCityDocument: import("graphql").DocumentNode;
|
|
14784
|
+
export declare const FindTeamByIdDocument: import("graphql").DocumentNode;
|
|
14785
|
+
export declare const FindTeamsDocument: import("graphql").DocumentNode;
|
|
14786
|
+
export declare const GetTeamRosterDocument: import("graphql").DocumentNode;
|
|
14787
|
+
export declare const GetTeamAnalyticsDocument: import("graphql").DocumentNode;
|
|
14788
|
+
export declare const GetTeamLeaderboardDocument: import("graphql").DocumentNode;
|
|
14789
|
+
export declare const GetTeamDashboardDocument: import("graphql").DocumentNode;
|
|
14790
|
+
export declare const GetTeamStripeAccountStatusDocument: import("graphql").DocumentNode;
|
|
14791
|
+
export declare const CreateTeamDocument: import("graphql").DocumentNode;
|
|
14792
|
+
export declare const UpdateTeamDocument: import("graphql").DocumentNode;
|
|
14793
|
+
export declare const JoinTeamDocument: import("graphql").DocumentNode;
|
|
14794
|
+
export declare const LeaveTeamDocument: import("graphql").DocumentNode;
|
|
14795
|
+
export declare const InviteToTeamDocument: import("graphql").DocumentNode;
|
|
14796
|
+
export declare const ManageTeamMemberDocument: import("graphql").DocumentNode;
|
|
14797
|
+
export declare const CreateTeamStripeAccountDocument: import("graphql").DocumentNode;
|
|
14798
|
+
export declare const CreateTeamDonationCheckoutDocument: import("graphql").DocumentNode;
|
|
14799
|
+
export declare const FindClubByIdDocument: import("graphql").DocumentNode;
|
|
14800
|
+
export declare const FindClubsDocument: import("graphql").DocumentNode;
|
|
14801
|
+
export declare const GetClubMembersDocument: import("graphql").DocumentNode;
|
|
14802
|
+
export declare const GetClubStripeAccountStatusDocument: import("graphql").DocumentNode;
|
|
14803
|
+
export declare const CreateClubDocument: import("graphql").DocumentNode;
|
|
14804
|
+
export declare const UpdateClubDocument: import("graphql").DocumentNode;
|
|
14805
|
+
export declare const JoinClubDocument: import("graphql").DocumentNode;
|
|
14806
|
+
export declare const LeaveClubDocument: import("graphql").DocumentNode;
|
|
14807
|
+
export declare const InviteToClubDocument: import("graphql").DocumentNode;
|
|
14808
|
+
export declare const ManageClubMemberDocument: import("graphql").DocumentNode;
|
|
14809
|
+
export declare const CreateClubStripeAccountDocument: import("graphql").DocumentNode;
|
|
14810
|
+
export declare const CreateClubDonationCheckoutDocument: import("graphql").DocumentNode;
|
|
14811
|
+
export declare const CreateMembershipFeeCheckoutDocument: import("graphql").DocumentNode;
|
|
13437
14812
|
export declare const FindUserByEmailDocument: import("graphql").DocumentNode;
|
|
13438
14813
|
export declare const FindVtxUserDocument: import("graphql").DocumentNode;
|
|
13439
14814
|
export declare const GetUserImagesFromEmailDocument: import("graphql").DocumentNode;
|
|
@@ -13564,6 +14939,10 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
13564
14939
|
GetTransactionDetails(variables: GetTransactionDetailsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetTransactionDetailsQuery>;
|
|
13565
14940
|
GetAllTransactions(variables?: GetAllTransactionsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAllTransactionsQuery>;
|
|
13566
14941
|
GetTransactionsPaginated(variables?: GetTransactionsPaginatedQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetTransactionsPaginatedQuery>;
|
|
14942
|
+
CampaignThankYous(variables: CampaignThankYousQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CampaignThankYousQuery>;
|
|
14943
|
+
DonationThankYou(variables: DonationThankYouQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<DonationThankYouQuery>;
|
|
14944
|
+
UpdateThankYouTemplate(variables: UpdateThankYouTemplateMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<UpdateThankYouTemplateMutation>;
|
|
14945
|
+
SendThankYou(variables: SendThankYouMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<SendThankYouMutation>;
|
|
13567
14946
|
GetEmailCampaigns(variables?: GetEmailCampaignsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetEmailCampaignsQuery>;
|
|
13568
14947
|
GetAudiencePreview(variables: GetAudiencePreviewQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAudiencePreviewQuery>;
|
|
13569
14948
|
GetSendGridTemplates(variables?: GetSendGridTemplatesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetSendGridTemplatesQuery>;
|
|
@@ -13663,6 +15042,34 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
13663
15042
|
CreateCountry(variables: CreateCountryMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateCountryMutation>;
|
|
13664
15043
|
CreateState(variables: CreateStateMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateStateMutation>;
|
|
13665
15044
|
CreateCity(variables: CreateCityMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateCityMutation>;
|
|
15045
|
+
FindTeamById(variables: FindTeamByIdQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindTeamByIdQuery>;
|
|
15046
|
+
FindTeams(variables?: FindTeamsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindTeamsQuery>;
|
|
15047
|
+
GetTeamRoster(variables: GetTeamRosterQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetTeamRosterQuery>;
|
|
15048
|
+
GetTeamAnalytics(variables: GetTeamAnalyticsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetTeamAnalyticsQuery>;
|
|
15049
|
+
GetTeamLeaderboard(variables: GetTeamLeaderboardQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetTeamLeaderboardQuery>;
|
|
15050
|
+
GetTeamDashboard(variables: GetTeamDashboardQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetTeamDashboardQuery>;
|
|
15051
|
+
GetTeamStripeAccountStatus(variables: GetTeamStripeAccountStatusQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetTeamStripeAccountStatusQuery>;
|
|
15052
|
+
CreateTeam(variables: CreateTeamMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateTeamMutation>;
|
|
15053
|
+
UpdateTeam(variables: UpdateTeamMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<UpdateTeamMutation>;
|
|
15054
|
+
JoinTeam(variables: JoinTeamMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<JoinTeamMutation>;
|
|
15055
|
+
LeaveTeam(variables: LeaveTeamMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<LeaveTeamMutation>;
|
|
15056
|
+
InviteToTeam(variables: InviteToTeamMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<InviteToTeamMutation>;
|
|
15057
|
+
ManageTeamMember(variables: ManageTeamMemberMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ManageTeamMemberMutation>;
|
|
15058
|
+
CreateTeamStripeAccount(variables: CreateTeamStripeAccountMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateTeamStripeAccountMutation>;
|
|
15059
|
+
CreateTeamDonationCheckout(variables: CreateTeamDonationCheckoutMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateTeamDonationCheckoutMutation>;
|
|
15060
|
+
FindClubById(variables: FindClubByIdQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindClubByIdQuery>;
|
|
15061
|
+
FindClubs(variables?: FindClubsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindClubsQuery>;
|
|
15062
|
+
GetClubMembers(variables: GetClubMembersQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetClubMembersQuery>;
|
|
15063
|
+
GetClubStripeAccountStatus(variables: GetClubStripeAccountStatusQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetClubStripeAccountStatusQuery>;
|
|
15064
|
+
CreateClub(variables: CreateClubMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateClubMutation>;
|
|
15065
|
+
UpdateClub(variables: UpdateClubMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<UpdateClubMutation>;
|
|
15066
|
+
JoinClub(variables: JoinClubMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<JoinClubMutation>;
|
|
15067
|
+
LeaveClub(variables: LeaveClubMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<LeaveClubMutation>;
|
|
15068
|
+
InviteToClub(variables: InviteToClubMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<InviteToClubMutation>;
|
|
15069
|
+
ManageClubMember(variables: ManageClubMemberMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ManageClubMemberMutation>;
|
|
15070
|
+
CreateClubStripeAccount(variables: CreateClubStripeAccountMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateClubStripeAccountMutation>;
|
|
15071
|
+
CreateClubDonationCheckout(variables: CreateClubDonationCheckoutMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateClubDonationCheckoutMutation>;
|
|
15072
|
+
CreateMembershipFeeCheckout(variables: CreateMembershipFeeCheckoutMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateMembershipFeeCheckoutMutation>;
|
|
13666
15073
|
FindUserByEmail(variables: FindUserByEmailQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindUserByEmailQuery>;
|
|
13667
15074
|
FindVtxUser(variables: FindVtxUserQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindVtxUserQuery>;
|
|
13668
15075
|
GetUserImagesFromEmail(variables: GetUserImagesFromEmailQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetUserImagesFromEmailQuery>;
|