@vertikalx/vtx-backend-client 3.1.1-dev.0 → 3.1.2-dev-max.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +4 -3
- package/src/api/domains/generated/admin.api.d.ts +2 -0
- package/src/api/domains/generated/admin.api.js +15 -0
- package/src/api/domains/generated/admin.api.js.map +1 -0
- package/src/api/domains/generated/ai-coach.api.d.ts +2 -0
- package/src/api/domains/generated/ai-coach.api.js +33 -0
- package/src/api/domains/generated/ai-coach.api.js.map +1 -0
- package/src/api/domains/generated/athlete.api.d.ts +2 -0
- package/src/api/domains/generated/athlete.api.js +177 -0
- package/src/api/domains/generated/athlete.api.js.map +1 -0
- package/src/api/domains/generated/auth.api.d.ts +2 -0
- package/src/api/domains/generated/auth.api.js +66 -0
- package/src/api/domains/generated/auth.api.js.map +1 -0
- package/src/api/domains/generated/campaign.api.d.ts +2 -0
- package/src/api/domains/generated/campaign.api.js +99 -0
- package/src/api/domains/generated/campaign.api.js.map +1 -0
- package/src/api/domains/generated/email-campaign.api.d.ts +2 -0
- package/src/api/domains/generated/email-campaign.api.js +54 -0
- package/src/api/domains/generated/email-campaign.api.js.map +1 -0
- package/src/api/domains/generated/followers.api.d.ts +2 -0
- package/src/api/domains/generated/followers.api.js +18 -0
- package/src/api/domains/generated/followers.api.js.map +1 -0
- package/src/api/domains/generated/index.d.ts +18 -0
- package/src/api/domains/generated/index.js +40 -0
- package/src/api/domains/generated/index.js.map +1 -0
- package/src/api/domains/generated/integrations.api.d.ts +2 -0
- package/src/api/domains/generated/integrations.api.js +27 -0
- package/src/api/domains/generated/integrations.api.js.map +1 -0
- package/src/api/domains/generated/leaderboard.api.d.ts +2 -0
- package/src/api/domains/generated/leaderboard.api.js +15 -0
- package/src/api/domains/generated/leaderboard.api.js.map +1 -0
- package/src/api/domains/generated/media.api.d.ts +2 -0
- package/src/api/domains/generated/media.api.js +45 -0
- package/src/api/domains/generated/media.api.js.map +1 -0
- package/src/api/domains/generated/misc.api.d.ts +2 -0
- package/src/api/domains/generated/misc.api.js +9 -0
- package/src/api/domains/generated/misc.api.js.map +1 -0
- package/src/api/domains/generated/notifications.api.d.ts +2 -0
- package/src/api/domains/generated/notifications.api.js +33 -0
- package/src/api/domains/generated/notifications.api.js.map +1 -0
- package/src/api/domains/generated/offers.api.d.ts +2 -0
- package/src/api/domains/generated/offers.api.js +51 -0
- package/src/api/domains/generated/offers.api.js.map +1 -0
- package/src/api/domains/generated/onboarding.api.d.ts +2 -0
- package/src/api/domains/generated/onboarding.api.js +15 -0
- package/src/api/domains/generated/onboarding.api.js.map +1 -0
- package/src/api/domains/generated/sponsor.api.d.ts +2 -0
- package/src/api/domains/generated/sponsor.api.js +54 -0
- package/src/api/domains/generated/sponsor.api.js.map +1 -0
- package/src/api/domains/generated/sport.api.d.ts +2 -0
- package/src/api/domains/generated/sport.api.js +45 -0
- package/src/api/domains/generated/sport.api.js.map +1 -0
- package/src/api/domains/generated/teams-clubs.api.d.ts +2 -0
- package/src/api/domains/generated/teams-clubs.api.js +102 -0
- package/src/api/domains/generated/teams-clubs.api.js.map +1 -0
- package/src/api/domains/generated/user.api.d.ts +2 -0
- package/src/api/domains/generated/user.api.js +54 -0
- package/src/api/domains/generated/user.api.js.map +1 -0
- package/src/api/domains/generated/vtx-base-api.augment.d.ts +274 -0
- package/src/api/domains/generated/vtx-base-api.augment.js +3 -0
- package/src/api/domains/generated/vtx-base-api.augment.js.map +1 -0
- package/src/api/domains/overrides/auth.overrides.d.ts +2 -0
- package/src/api/domains/overrides/auth.overrides.js +30 -0
- package/src/api/domains/overrides/auth.overrides.js.map +1 -0
- package/src/api/domains/overrides/campaign.overrides.d.ts +2 -0
- package/src/api/domains/overrides/campaign.overrides.js +9 -0
- package/src/api/domains/overrides/campaign.overrides.js.map +1 -0
- package/src/api/domains/overrides/compat.overrides.d.ts +2 -0
- package/src/api/domains/overrides/compat.overrides.js +74 -0
- package/src/api/domains/overrides/compat.overrides.js.map +1 -0
- package/src/api/domains/overrides/competition.overrides.d.ts +2 -0
- package/src/api/domains/overrides/competition.overrides.js +9 -0
- package/src/api/domains/overrides/competition.overrides.js.map +1 -0
- package/src/api/domains/overrides/index.d.ts +5 -0
- package/src/api/domains/overrides/index.js +14 -0
- package/src/api/domains/overrides/index.js.map +1 -0
- package/src/api/domains/overrides/sponsor.overrides.d.ts +2 -0
- package/src/api/domains/overrides/sponsor.overrides.js +47 -0
- package/src/api/domains/overrides/sponsor.overrides.js.map +1 -0
- package/src/api/vtx-base-api.d.ts +1 -373
- package/src/api/vtx-base-api.js +27 -870
- package/src/api/vtx-base-api.js.map +1 -1
- package/src/client/schema.d.ts +251 -15
- package/src/client/schema.js +161 -3
- package/src/client/schema.js.map +1 -1
- package/src/client/types.d.ts +63 -3
- package/src/client/types.js +1042 -898
- package/src/client/types.js.map +1 -1
- package/src/generated/graphql.d.ts +261 -32
- package/src/generated/graphql.js +144 -6
- package/src/generated/graphql.js.map +1 -1
- package/src/scripts/generate-api-wrappers.d.ts +2 -0
- package/src/scripts/generate-api-wrappers.js +229 -0
- package/src/scripts/generate-api-wrappers.js.map +1 -0
- package/src/scripts/generate-operations.d.ts +1 -0
- package/src/scripts/generate-operations.js +168 -0
- package/src/scripts/generate-operations.js.map +1 -0
|
@@ -170,6 +170,9 @@ export type AddValuesResponse = {
|
|
|
170
170
|
failureReason?: Maybe<Array<ErrorType>>;
|
|
171
171
|
result: Scalars['String']['output'];
|
|
172
172
|
};
|
|
173
|
+
export type AdminEmailDto = {
|
|
174
|
+
email: Scalars['String']['input'];
|
|
175
|
+
};
|
|
173
176
|
export type AdminTransactionFundingDetails = {
|
|
174
177
|
athleteId: Scalars['String']['output'];
|
|
175
178
|
athleteName: Scalars['String']['output'];
|
|
@@ -194,6 +197,11 @@ export type AdminTransactionView = {
|
|
|
194
197
|
stripeSessionId: Scalars['String']['output'];
|
|
195
198
|
type: Scalars['String']['output'];
|
|
196
199
|
};
|
|
200
|
+
export type AdminUser = {
|
|
201
|
+
_id: Scalars['String']['output'];
|
|
202
|
+
isSuperAdmin: Scalars['Boolean']['output'];
|
|
203
|
+
loginEmail: Scalars['String']['output'];
|
|
204
|
+
};
|
|
197
205
|
export type AdminUserView = {
|
|
198
206
|
_id: Scalars['String']['output'];
|
|
199
207
|
athlete?: Maybe<Athlete>;
|
|
@@ -205,6 +213,7 @@ export type AdminUserView = {
|
|
|
205
213
|
screenName: Scalars['String']['output'];
|
|
206
214
|
suspended: Scalars['Boolean']['output'];
|
|
207
215
|
};
|
|
216
|
+
export type AgeDetermination = 'AGE_ON_EVENT' | 'YEAR_OF_BIRTH';
|
|
208
217
|
export type AgeQualification = {
|
|
209
218
|
operator: Scalars['String']['output'];
|
|
210
219
|
type: Scalars['String']['output'];
|
|
@@ -375,6 +384,7 @@ export type AthleteCompetitionResult = {
|
|
|
375
384
|
resultWebLink?: Maybe<Scalars['String']['output']>;
|
|
376
385
|
score?: Maybe<Scalars['String']['output']>;
|
|
377
386
|
totalParticipants?: Maybe<Scalars['Float']['output']>;
|
|
387
|
+
verificationTier?: Maybe<CompetitionVerificationTier>;
|
|
378
388
|
};
|
|
379
389
|
export type AthleteCriteria = {
|
|
380
390
|
_id: Scalars['String']['output'];
|
|
@@ -394,7 +404,7 @@ export type AthleteFilterDto = {
|
|
|
394
404
|
countries?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
395
405
|
currentCampaign?: InputMaybe<FundCampaignFilterDto>;
|
|
396
406
|
futureEventIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
397
|
-
gender?: InputMaybe<
|
|
407
|
+
gender?: InputMaybe<CompetitionGender>;
|
|
398
408
|
mainSportOnly?: InputMaybe<Scalars['Boolean']['input']>;
|
|
399
409
|
maxAge?: InputMaybe<Scalars['Float']['input']>;
|
|
400
410
|
maxDob?: InputMaybe<Scalars['DateTime']['input']>;
|
|
@@ -488,6 +498,8 @@ export type AthleteReference = {
|
|
|
488
498
|
trainer?: Maybe<Scalars['String']['output']>;
|
|
489
499
|
trainerUrl?: Maybe<Scalars['String']['output']>;
|
|
490
500
|
};
|
|
501
|
+
export type AthleteRequestStatus = 'CLOSED' | 'OPEN';
|
|
502
|
+
export type AthleteSponsorshipStatus = 'ACTIVE' | 'APPROVED' | 'CANCELLED' | 'CLOSED' | 'EXPIRED' | 'PREPARING';
|
|
491
503
|
export type AthleteTeam = {
|
|
492
504
|
_id: Scalars['String']['output'];
|
|
493
505
|
athlete?: Maybe<AthleteTeamMember>;
|
|
@@ -645,7 +657,7 @@ export type BudgetData = {
|
|
|
645
657
|
competitions: Array<CompetitionBudgetData>;
|
|
646
658
|
};
|
|
647
659
|
export type BudgetDto = {
|
|
648
|
-
fundingMode?: InputMaybe<
|
|
660
|
+
fundingMode?: InputMaybe<FundingMode>;
|
|
649
661
|
items: Array<BudgetItemDto>;
|
|
650
662
|
};
|
|
651
663
|
export type BudgetItem = {
|
|
@@ -753,6 +765,10 @@ export type CodeVerificationResponse = {
|
|
|
753
765
|
error?: Maybe<ErrorInfo>;
|
|
754
766
|
result: Scalars['String']['output'];
|
|
755
767
|
};
|
|
768
|
+
export type CommitmentActionType = 'BANNER_AD' | 'LIVE_VIDEO' | 'LONG_VIDEO' | 'MEET_AND_GREET' | 'OTHER' | 'PHOTO_SESSION' | 'PODCAST' | 'PRESS_CONFERENCE' | 'PRINT_AD' | 'RADIO_COMMERCIAL' | 'RADIO_INTERVIEW' | 'SHORT_VIDEO' | 'SOCIAL_POST' | 'SOCIAL_STORY' | 'TV_COMMERCIAL' | 'TV_INTERVIEW' | 'WEB_AD' | 'WEB_INTERVIEW';
|
|
769
|
+
export type CommitmentMedia = 'ANY' | 'APPLE' | 'COURIER_DELIVERY' | 'ELECTRONIC_DELIVERY' | 'FACEBOOK' | 'INSTAGRAM' | 'INTERNET' | 'IN_PERSON_DELIVERY' | 'IN_PERSON_PUBLIC' | 'IN_PERSON_VIP' | 'LINKEDIN' | 'MAIL_DELIVERY' | 'OTHER' | 'RADIO' | 'TIKTOK' | 'TV' | 'TWITTER_X' | 'VIRTUAL_CONFERENCE' | 'YOUTUBE';
|
|
770
|
+
export type CommitmentTypeEnum = 'DATED' | 'RECURRENT' | 'REGULAR';
|
|
771
|
+
export type CompanySize = 'LARGE' | 'MEDIUM' | 'MICRO' | 'SMALL';
|
|
756
772
|
export type CompetitionBudgetData = {
|
|
757
773
|
budget: Scalars['Float']['output'];
|
|
758
774
|
campaign?: Maybe<Scalars['String']['output']>;
|
|
@@ -776,6 +792,7 @@ export type CompetitionDeleteVerificationReason = {
|
|
|
776
792
|
export type CompetitionDeleteVerificationResponse = {
|
|
777
793
|
reasons: Array<CompetitionDeleteVerificationReason>;
|
|
778
794
|
};
|
|
795
|
+
export type CompetitionGender = 'FEMALE' | 'MALE';
|
|
779
796
|
export type CompetitionResultDto = {
|
|
780
797
|
adversary?: InputMaybe<Scalars['String']['input']>;
|
|
781
798
|
categoryName?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -791,6 +808,8 @@ export type CompetitionResultDto = {
|
|
|
791
808
|
score?: InputMaybe<Scalars['String']['input']>;
|
|
792
809
|
totalParticipants?: InputMaybe<Scalars['Float']['input']>;
|
|
793
810
|
};
|
|
811
|
+
export type CompetitionResultType = 'POSITION' | 'SCORE';
|
|
812
|
+
export type CompetitionVerificationTier = 'ATHLINKS_CLAIMED' | 'FEDERATION_VERIFIED' | 'LINK_EXTRACTED_MATCH' | 'LINK_PROVIDED' | 'SELF_REPORTED' | 'STRAVA_CORROBORATED';
|
|
794
813
|
export type ComponentSummary = {
|
|
795
814
|
activityCount: Scalars['Int']['output'];
|
|
796
815
|
avgScorePerActivity?: Maybe<Scalars['Float']['output']>;
|
|
@@ -964,7 +983,7 @@ export type CreateEmailSegmentDto = {
|
|
|
964
983
|
export type CreateFundingCampaignDto = {
|
|
965
984
|
autoSendThankYou?: InputMaybe<Scalars['Boolean']['input']>;
|
|
966
985
|
budget?: InputMaybe<CreateBudgetDto>;
|
|
967
|
-
budgetMode:
|
|
986
|
+
budgetMode: FundingMode;
|
|
968
987
|
cityId?: InputMaybe<Scalars['String']['input']>;
|
|
969
988
|
competitionBudgets?: InputMaybe<Array<CreateCompetitionBudgetDto>>;
|
|
970
989
|
competitionIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
@@ -982,7 +1001,7 @@ export type CreateFundingCampaignDto = {
|
|
|
982
1001
|
export type CreateFundingCampaignForDto = {
|
|
983
1002
|
autoSendThankYou?: InputMaybe<Scalars['Boolean']['input']>;
|
|
984
1003
|
budget?: InputMaybe<CreateBudgetDto>;
|
|
985
|
-
budgetMode:
|
|
1004
|
+
budgetMode: FundingMode;
|
|
986
1005
|
cityId?: InputMaybe<Scalars['String']['input']>;
|
|
987
1006
|
competitionBudgets?: InputMaybe<Array<CreateCompetitionBudgetDto>>;
|
|
988
1007
|
competitionIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
@@ -1281,7 +1300,7 @@ export type DonationCheckoutDto = {
|
|
|
1281
1300
|
fromPhone?: InputMaybe<Scalars['String']['input']>;
|
|
1282
1301
|
fundingCampaignId: Scalars['String']['input'];
|
|
1283
1302
|
message?: InputMaybe<Scalars['String']['input']>;
|
|
1284
|
-
mode?:
|
|
1303
|
+
mode?: DonationMode;
|
|
1285
1304
|
};
|
|
1286
1305
|
export type DonationDates = {
|
|
1287
1306
|
dates: Array<Scalars['String']['output']>;
|
|
@@ -1321,6 +1340,13 @@ export type DurationDto = {
|
|
|
1321
1340
|
length?: Scalars['Float']['input'];
|
|
1322
1341
|
unit?: Scalars['String']['input'];
|
|
1323
1342
|
};
|
|
1343
|
+
export type EditAthleteCompetitionDto = {
|
|
1344
|
+
cityId?: InputMaybe<Scalars['String']['input']>;
|
|
1345
|
+
competitionId: Scalars['String']['input'];
|
|
1346
|
+
competitionNumber?: InputMaybe<Scalars['String']['input']>;
|
|
1347
|
+
eventWebsite?: InputMaybe<Scalars['String']['input']>;
|
|
1348
|
+
participationDate?: InputMaybe<Scalars['DateTime']['input']>;
|
|
1349
|
+
};
|
|
1324
1350
|
export type EditCampaignBudgetDto = {
|
|
1325
1351
|
budget?: InputMaybe<BudgetDto>;
|
|
1326
1352
|
campaignId: Scalars['String']['input'];
|
|
@@ -1508,7 +1534,7 @@ export type FundCampaignFilterDto = {
|
|
|
1508
1534
|
minEndingDate?: InputMaybe<Scalars['DateTime']['input']>;
|
|
1509
1535
|
minFundsRequired?: InputMaybe<Scalars['Float']['input']>;
|
|
1510
1536
|
states?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1511
|
-
status?: InputMaybe<
|
|
1537
|
+
status?: InputMaybe<FundingStatus>;
|
|
1512
1538
|
};
|
|
1513
1539
|
export type FundRaisingCampaign = {
|
|
1514
1540
|
_id: Scalars['String']['output'];
|
|
@@ -1600,7 +1626,7 @@ export type HistoricalScore = {
|
|
|
1600
1626
|
athleteId: Scalars['String']['output'];
|
|
1601
1627
|
date: Scalars['DateTime']['output'];
|
|
1602
1628
|
score: Scalars['Float']['output'];
|
|
1603
|
-
scoreType:
|
|
1629
|
+
scoreType: ScoreType;
|
|
1604
1630
|
};
|
|
1605
1631
|
export type HistoricalScoresPeriod = {
|
|
1606
1632
|
apiScores?: Maybe<Array<HistoricalScore>>;
|
|
@@ -1718,6 +1744,7 @@ export type LeaderboardEntry = {
|
|
|
1718
1744
|
rank: Scalars['Int']['output'];
|
|
1719
1745
|
rankChange?: Maybe<Scalars['Int']['output']>;
|
|
1720
1746
|
score: Scalars['Float']['output'];
|
|
1747
|
+
scoreHistory?: Maybe<Array<Scalars['Float']['output']>>;
|
|
1721
1748
|
screenName?: Maybe<Scalars['String']['output']>;
|
|
1722
1749
|
socialScore?: Maybe<Scalars['Float']['output']>;
|
|
1723
1750
|
sportId?: Maybe<Scalars['String']['output']>;
|
|
@@ -1787,6 +1814,7 @@ export type ManageTeamMemberInput = {
|
|
|
1787
1814
|
export type MarkNotificationReadDto = {
|
|
1788
1815
|
notificationId: Scalars['String']['input'];
|
|
1789
1816
|
};
|
|
1817
|
+
export type MatchMode = 'ONLY_SPECIFIED' | 'SPECIFIED_OR_GREATER' | 'SPECIFIED_OR_LOWER';
|
|
1790
1818
|
export type Member = {
|
|
1791
1819
|
_id: Scalars['String']['output'];
|
|
1792
1820
|
donations: Array<Donation>;
|
|
@@ -1845,6 +1873,7 @@ export type MetricRangeInput = {
|
|
|
1845
1873
|
export type Mutation = {
|
|
1846
1874
|
AddAlbumPictures: AddValuesResponse;
|
|
1847
1875
|
activateOffer: Offer;
|
|
1876
|
+
addAdminUser: AdminUser;
|
|
1848
1877
|
addAthleteCompetition: AthleteCompetition;
|
|
1849
1878
|
addCompetitionBudget: Scalars['Boolean']['output'];
|
|
1850
1879
|
approveClub: Club;
|
|
@@ -1907,6 +1936,7 @@ export type Mutation = {
|
|
|
1907
1936
|
deleteVtxUser: DeleteVtxUserResponse;
|
|
1908
1937
|
dismissNotification: Scalars['Boolean']['output'];
|
|
1909
1938
|
editAlbum: Album;
|
|
1939
|
+
editAthleteCompetition: AthleteCompetition;
|
|
1910
1940
|
editCampaignBudget: Scalars['Boolean']['output'];
|
|
1911
1941
|
editCompetitionBudget: Scalars['Boolean']['output'];
|
|
1912
1942
|
editCompetitionBudgetForCampaign: Scalars['Boolean']['output'];
|
|
@@ -1945,6 +1975,7 @@ export type Mutation = {
|
|
|
1945
1975
|
registerSponsorUser: User;
|
|
1946
1976
|
registerUser: User;
|
|
1947
1977
|
registerUserToDomainFromEmail: User;
|
|
1978
|
+
removeAdminUser: RemoveAdminUserResponse;
|
|
1948
1979
|
removeOfferClaim: Scalars['Boolean']['output'];
|
|
1949
1980
|
reorderAlbumIndex: Array<Album>;
|
|
1950
1981
|
resetUserPassword: EditValueResponse;
|
|
@@ -1989,6 +2020,9 @@ export type MutationAddAlbumPicturesArgs = {
|
|
|
1989
2020
|
export type MutationActivateOfferArgs = {
|
|
1990
2021
|
id: Scalars['String']['input'];
|
|
1991
2022
|
};
|
|
2023
|
+
export type MutationAddAdminUserArgs = {
|
|
2024
|
+
input: AdminEmailDto;
|
|
2025
|
+
};
|
|
1992
2026
|
export type MutationAddAthleteCompetitionArgs = {
|
|
1993
2027
|
input: CreateAthleteCompetitionDto;
|
|
1994
2028
|
};
|
|
@@ -2171,6 +2205,9 @@ export type MutationDismissNotificationArgs = {
|
|
|
2171
2205
|
export type MutationEditAlbumArgs = {
|
|
2172
2206
|
input: UploadAlbumsPicturesDto;
|
|
2173
2207
|
};
|
|
2208
|
+
export type MutationEditAthleteCompetitionArgs = {
|
|
2209
|
+
input: EditAthleteCompetitionDto;
|
|
2210
|
+
};
|
|
2174
2211
|
export type MutationEditCampaignBudgetArgs = {
|
|
2175
2212
|
input: EditCampaignBudgetDto;
|
|
2176
2213
|
};
|
|
@@ -2286,6 +2323,9 @@ export type MutationRegisterUserArgs = {
|
|
|
2286
2323
|
export type MutationRegisterUserToDomainFromEmailArgs = {
|
|
2287
2324
|
input: RegisterUserToDomainFromEmailInput;
|
|
2288
2325
|
};
|
|
2326
|
+
export type MutationRemoveAdminUserArgs = {
|
|
2327
|
+
input: AdminEmailDto;
|
|
2328
|
+
};
|
|
2289
2329
|
export type MutationRemoveOfferClaimArgs = {
|
|
2290
2330
|
athleteId: Scalars['String']['input'];
|
|
2291
2331
|
claimId: Scalars['String']['input'];
|
|
@@ -2453,6 +2493,7 @@ export type NotificationQueryDto = {
|
|
|
2453
2493
|
export type NudgeQueryDto = {
|
|
2454
2494
|
unreadOnly?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2455
2495
|
};
|
|
2496
|
+
export type NumberOfAthletesSponsored = 'ALOT' | 'FEW' | 'MANY' | 'SOME';
|
|
2456
2497
|
export type Offer = {
|
|
2457
2498
|
_id: Scalars['String']['output'];
|
|
2458
2499
|
availableCodes: Scalars['Int']['output'];
|
|
@@ -2616,14 +2657,15 @@ export type Plan = {
|
|
|
2616
2657
|
startOfferingDate?: Maybe<Scalars['DateTime']['output']>;
|
|
2617
2658
|
termsAndConditions?: Maybe<Scalars['String']['output']>;
|
|
2618
2659
|
};
|
|
2660
|
+
export type PlanPeriod = 'CUSTOM_DAYS' | 'DAYLY' | 'MONTHLY' | 'QUATERLY' | 'SEMESTER' | 'WEEKLY' | 'YEARLY';
|
|
2619
2661
|
export type PlanPrice = {
|
|
2620
2662
|
_id: Scalars['String']['output'];
|
|
2621
2663
|
currency: Scalars['String']['output'];
|
|
2622
2664
|
customDays?: Maybe<Scalars['Float']['output']>;
|
|
2623
|
-
period:
|
|
2665
|
+
period: PlanPeriod;
|
|
2624
2666
|
plan?: Maybe<Plan>;
|
|
2625
2667
|
price: Scalars['Float']['output'];
|
|
2626
|
-
taxMode:
|
|
2668
|
+
taxMode: TaxCalculation;
|
|
2627
2669
|
};
|
|
2628
2670
|
export type PlanSubscription = {
|
|
2629
2671
|
_id: Scalars['String']['output'];
|
|
@@ -2748,6 +2790,7 @@ export type Query = {
|
|
|
2748
2790
|
findUserByEmail: User;
|
|
2749
2791
|
findUserById: User;
|
|
2750
2792
|
findVtxUser: User;
|
|
2793
|
+
getAdminUsers: Array<AdminUser>;
|
|
2751
2794
|
getAiCoachConfig: AiCoachConfig;
|
|
2752
2795
|
getAiCoachNudges: AiCoachNudgeListResponse;
|
|
2753
2796
|
getAiCoachThread?: Maybe<AiCoachThread>;
|
|
@@ -2803,6 +2846,7 @@ export type Query = {
|
|
|
2803
2846
|
getPublicSponsorships: Array<Sponsorship>;
|
|
2804
2847
|
getReceipt: Receipt;
|
|
2805
2848
|
getReceiptUrl: ReceiptUrl;
|
|
2849
|
+
getRecentDonationsForCampaign: Array<Donation>;
|
|
2806
2850
|
getRecommendedAthletes: Array<Athlete>;
|
|
2807
2851
|
getResetVerificationCode: VerificationCode;
|
|
2808
2852
|
getS3UploadUrl: Awss3UploadUrl;
|
|
@@ -3055,6 +3099,11 @@ export type QueryGetReceiptArgs = {
|
|
|
3055
3099
|
export type QueryGetReceiptUrlArgs = {
|
|
3056
3100
|
input: GetReceiptDto;
|
|
3057
3101
|
};
|
|
3102
|
+
export type QueryGetRecentDonationsForCampaignArgs = {
|
|
3103
|
+
campaignIdOrSlug: Scalars['String']['input'];
|
|
3104
|
+
limit?: InputMaybe<Scalars['Float']['input']>;
|
|
3105
|
+
offset?: InputMaybe<Scalars['Float']['input']>;
|
|
3106
|
+
};
|
|
3058
3107
|
export type QueryGetRecommendedAthletesArgs = {
|
|
3059
3108
|
loginEmail: Scalars['String']['input'];
|
|
3060
3109
|
};
|
|
@@ -3301,6 +3350,11 @@ export type RegisterUserToDomainFromEmailInput = {
|
|
|
3301
3350
|
email: Scalars['String']['input'];
|
|
3302
3351
|
tenantId?: InputMaybe<Scalars['String']['input']>;
|
|
3303
3352
|
};
|
|
3353
|
+
export type RemoveAdminUserResponse = {
|
|
3354
|
+
message?: Maybe<Scalars['String']['output']>;
|
|
3355
|
+
success: Scalars['Boolean']['output'];
|
|
3356
|
+
};
|
|
3357
|
+
export type RequestItemType = 'CASH' | 'EQUIPMENT' | 'OTHER' | 'PRODUCT' | 'TRAVEL';
|
|
3304
3358
|
export type ScoreHistoryEntry = {
|
|
3305
3359
|
competitionScore?: Maybe<Scalars['Float']['output']>;
|
|
3306
3360
|
date: Scalars['DateTime']['output'];
|
|
@@ -3343,6 +3397,7 @@ export type ScoreRefreshDetail = {
|
|
|
3343
3397
|
message?: Maybe<Scalars['String']['output']>;
|
|
3344
3398
|
status: ForceScoreRefreshStatus;
|
|
3345
3399
|
};
|
|
3400
|
+
export type ScoreType = 'COMPETITION_SCORE' | 'SOCIAL_SCORE' | 'TRANING_SCORE' | 'VTX_SCORE';
|
|
3346
3401
|
export type SendChatMessageDto = {
|
|
3347
3402
|
message: Scalars['String']['input'];
|
|
3348
3403
|
threadId: Scalars['String']['input'];
|
|
@@ -3557,7 +3612,7 @@ export type Sport = {
|
|
|
3557
3612
|
_id: Scalars['String']['output'];
|
|
3558
3613
|
name: Scalars['String']['output'];
|
|
3559
3614
|
priority?: Maybe<Scalars['Float']['output']>;
|
|
3560
|
-
resultType:
|
|
3615
|
+
resultType: CompetitionResultType;
|
|
3561
3616
|
verified?: Maybe<Scalars['Boolean']['output']>;
|
|
3562
3617
|
};
|
|
3563
3618
|
export type SportLevel = {
|
|
@@ -3825,6 +3880,7 @@ export type StripeQueryDto = {
|
|
|
3825
3880
|
operation: Scalars['String']['input'];
|
|
3826
3881
|
params?: InputMaybe<Scalars['String']['input']>;
|
|
3827
3882
|
};
|
|
3883
|
+
export type StripeQueryOperation = 'CheckoutSession';
|
|
3828
3884
|
export type StripeRequirementAlternativeType = {
|
|
3829
3885
|
alternative_fields_due: Array<Scalars['String']['output']>;
|
|
3830
3886
|
original_fields_due: Array<Scalars['String']['output']>;
|
|
@@ -3872,6 +3928,8 @@ export type SubscriptionPayment = {
|
|
|
3872
3928
|
payment: Payment;
|
|
3873
3929
|
subscriber: PlanSubscription;
|
|
3874
3930
|
};
|
|
3931
|
+
export type TaskStatus = 'DONE' | 'EXPIRED' | 'PENDING';
|
|
3932
|
+
export type TaxCalculation = 'NO_TAX' | 'PLUS_TAX' | 'TAX_INCLUDED';
|
|
3875
3933
|
export type Team = {
|
|
3876
3934
|
_id: Scalars['String']['output'];
|
|
3877
3935
|
approved?: Maybe<Scalars['Boolean']['output']>;
|
|
@@ -3955,6 +4013,7 @@ export type TextDatabaseFile = {
|
|
|
3955
4013
|
version: Scalars['String']['output'];
|
|
3956
4014
|
};
|
|
3957
4015
|
export type TimeRange = 'ALL_TIME' | 'NINETY_DAYS' | 'ONE_YEAR' | 'SEVEN_DAYS' | 'THIRTY_DAYS';
|
|
4016
|
+
export type TimeUnit = 'DAYS' | 'HOURS' | 'MINUTES' | 'MONTHS' | 'SECONDS' | 'WEEKS' | 'YEARS';
|
|
3958
4017
|
export type TopMetric = {
|
|
3959
4018
|
name: Scalars['String']['output'];
|
|
3960
4019
|
status: Scalars['String']['output'];
|
|
@@ -4038,7 +4097,7 @@ export type UpdateFundingCampaignDto = {
|
|
|
4038
4097
|
_id: Scalars['String']['input'];
|
|
4039
4098
|
autoSendThankYou?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4040
4099
|
budget?: InputMaybe<CreateBudgetDto>;
|
|
4041
|
-
budgetMode:
|
|
4100
|
+
budgetMode: FundingMode;
|
|
4042
4101
|
cityId?: InputMaybe<Scalars['String']['input']>;
|
|
4043
4102
|
competitionBudgets?: InputMaybe<Array<CreateCompetitionBudgetDto>>;
|
|
4044
4103
|
competitionIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
@@ -4114,7 +4173,7 @@ export type UploadAlbumsPicturesDto = {
|
|
|
4114
4173
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
4115
4174
|
label: Scalars['String']['input'];
|
|
4116
4175
|
pictures?: InputMaybe<Array<Awss3UploadedFileDto>>;
|
|
4117
|
-
visibility?: InputMaybe<
|
|
4176
|
+
visibility?: InputMaybe<VisibilityScope>;
|
|
4118
4177
|
};
|
|
4119
4178
|
export type UploadResult = {
|
|
4120
4179
|
addedCodes: Scalars['Int']['output'];
|
|
@@ -4208,6 +4267,7 @@ export type Video = {
|
|
|
4208
4267
|
sourceData: Scalars['String']['output'];
|
|
4209
4268
|
url: Scalars['String']['output'];
|
|
4210
4269
|
};
|
|
4270
|
+
export type VisibilityScope = 'FRIENDS' | 'PRIVATE' | 'PUBLIC';
|
|
4211
4271
|
export type VtxScores = {
|
|
4212
4272
|
competitionScore: Scalars['Float']['output'];
|
|
4213
4273
|
socialScore: Scalars['Float']['output'];
|
|
@@ -4233,6 +4293,35 @@ export type ResetPasswordDto = {
|
|
|
4233
4293
|
code: VerifyCodeDto;
|
|
4234
4294
|
newPassword?: InputMaybe<Scalars['String']['input']>;
|
|
4235
4295
|
};
|
|
4296
|
+
export type GetAdminUsersQueryVariables = Exact<{
|
|
4297
|
+
[key: string]: never;
|
|
4298
|
+
}>;
|
|
4299
|
+
export type GetAdminUsersQuery = {
|
|
4300
|
+
getAdminUsers: Array<{
|
|
4301
|
+
_id: string;
|
|
4302
|
+
loginEmail: string;
|
|
4303
|
+
isSuperAdmin: boolean;
|
|
4304
|
+
}>;
|
|
4305
|
+
};
|
|
4306
|
+
export type AddAdminUserMutationVariables = Exact<{
|
|
4307
|
+
input: AdminEmailDto;
|
|
4308
|
+
}>;
|
|
4309
|
+
export type AddAdminUserMutation = {
|
|
4310
|
+
addAdminUser: {
|
|
4311
|
+
_id: string;
|
|
4312
|
+
loginEmail: string;
|
|
4313
|
+
isSuperAdmin: boolean;
|
|
4314
|
+
};
|
|
4315
|
+
};
|
|
4316
|
+
export type RemoveAdminUserMutationVariables = Exact<{
|
|
4317
|
+
input: AdminEmailDto;
|
|
4318
|
+
}>;
|
|
4319
|
+
export type RemoveAdminUserMutation = {
|
|
4320
|
+
removeAdminUser: {
|
|
4321
|
+
success: boolean;
|
|
4322
|
+
message?: string | null;
|
|
4323
|
+
};
|
|
4324
|
+
};
|
|
4236
4325
|
export type AiCoachThreadFieldsFragment = {
|
|
4237
4326
|
_id: string;
|
|
4238
4327
|
athleteId: string;
|
|
@@ -4924,7 +5013,7 @@ export type CurrentCampaignFieldsFragment = {
|
|
|
4924
5013
|
};
|
|
4925
5014
|
export type HistoricalScoreFieldsFragment = {
|
|
4926
5015
|
_id: string;
|
|
4927
|
-
scoreType:
|
|
5016
|
+
scoreType: ScoreType;
|
|
4928
5017
|
score: number;
|
|
4929
5018
|
date: string;
|
|
4930
5019
|
athleteId: string;
|
|
@@ -4938,28 +5027,28 @@ export type HistoricalScoresPeriodFieldsFragment = {
|
|
|
4938
5027
|
maxTimestampExclusive: string;
|
|
4939
5028
|
vtxScores?: Array<{
|
|
4940
5029
|
_id: string;
|
|
4941
|
-
scoreType:
|
|
5030
|
+
scoreType: ScoreType;
|
|
4942
5031
|
score: number;
|
|
4943
5032
|
date: string;
|
|
4944
5033
|
athleteId: string;
|
|
4945
5034
|
}> | null;
|
|
4946
5035
|
tpiScores?: Array<{
|
|
4947
5036
|
_id: string;
|
|
4948
|
-
scoreType:
|
|
5037
|
+
scoreType: ScoreType;
|
|
4949
5038
|
score: number;
|
|
4950
5039
|
date: string;
|
|
4951
5040
|
athleteId: string;
|
|
4952
5041
|
}> | null;
|
|
4953
5042
|
spiScores?: Array<{
|
|
4954
5043
|
_id: string;
|
|
4955
|
-
scoreType:
|
|
5044
|
+
scoreType: ScoreType;
|
|
4956
5045
|
score: number;
|
|
4957
5046
|
date: string;
|
|
4958
5047
|
athleteId: string;
|
|
4959
5048
|
}> | null;
|
|
4960
5049
|
apiScores?: Array<{
|
|
4961
5050
|
_id: string;
|
|
4962
|
-
scoreType:
|
|
5051
|
+
scoreType: ScoreType;
|
|
4963
5052
|
score: number;
|
|
4964
5053
|
date: string;
|
|
4965
5054
|
athleteId: string;
|
|
@@ -5401,6 +5490,27 @@ export type FindAthleteForUserQuery = {
|
|
|
5401
5490
|
} | null;
|
|
5402
5491
|
}> | null;
|
|
5403
5492
|
} | null;
|
|
5493
|
+
fundingCampaigns?: Array<{
|
|
5494
|
+
_id: string;
|
|
5495
|
+
slug?: string | null;
|
|
5496
|
+
status: string;
|
|
5497
|
+
title: string;
|
|
5498
|
+
motivation?: string | null;
|
|
5499
|
+
fundsRequired: number;
|
|
5500
|
+
initialFundsObtained: number;
|
|
5501
|
+
fundsObtained: number;
|
|
5502
|
+
createdDate: string;
|
|
5503
|
+
endingDate: string;
|
|
5504
|
+
coverImage?: {
|
|
5505
|
+
_id: string;
|
|
5506
|
+
name?: string | null;
|
|
5507
|
+
contentType?: string | null;
|
|
5508
|
+
size?: number | null;
|
|
5509
|
+
useType?: string | null;
|
|
5510
|
+
url: string;
|
|
5511
|
+
key: string;
|
|
5512
|
+
} | null;
|
|
5513
|
+
}> | null;
|
|
5404
5514
|
stripeAccountReference?: {
|
|
5405
5515
|
_id: string;
|
|
5406
5516
|
stripeAccountId: string;
|
|
@@ -7522,6 +7632,82 @@ export type AddAthleteCompetitionMutation = {
|
|
|
7522
7632
|
score?: string | null;
|
|
7523
7633
|
finishTimeMS?: number | null;
|
|
7524
7634
|
resultWebLink?: string | null;
|
|
7635
|
+
verificationTier?: CompetitionVerificationTier | null;
|
|
7636
|
+
} | null;
|
|
7637
|
+
};
|
|
7638
|
+
};
|
|
7639
|
+
export type EditAthleteCompetitionMutationVariables = Exact<{
|
|
7640
|
+
input: EditAthleteCompetitionDto;
|
|
7641
|
+
}>;
|
|
7642
|
+
export type EditAthleteCompetitionMutation = {
|
|
7643
|
+
editAthleteCompetition: {
|
|
7644
|
+
_id: string;
|
|
7645
|
+
participationDate?: string | null;
|
|
7646
|
+
competitionNumber?: string | null;
|
|
7647
|
+
fundRaisingCampaignIds?: Array<string> | null;
|
|
7648
|
+
event: {
|
|
7649
|
+
_id: string;
|
|
7650
|
+
name: string;
|
|
7651
|
+
eventWebSite?: string | null;
|
|
7652
|
+
startDate: string;
|
|
7653
|
+
endDate?: string | null;
|
|
7654
|
+
verified: boolean;
|
|
7655
|
+
mainSport?: {
|
|
7656
|
+
_id: string;
|
|
7657
|
+
name: string;
|
|
7658
|
+
} | null;
|
|
7659
|
+
banner?: {
|
|
7660
|
+
_id: string;
|
|
7661
|
+
name?: string | null;
|
|
7662
|
+
contentType?: string | null;
|
|
7663
|
+
size?: number | null;
|
|
7664
|
+
useType?: string | null;
|
|
7665
|
+
url: string;
|
|
7666
|
+
key: string;
|
|
7667
|
+
} | null;
|
|
7668
|
+
location?: {
|
|
7669
|
+
_id: string;
|
|
7670
|
+
userProvidedLatitude?: number | null;
|
|
7671
|
+
userProvidedLongitude?: number | null;
|
|
7672
|
+
cityNameGeocode?: string | null;
|
|
7673
|
+
stateNameGeocode?: string | null;
|
|
7674
|
+
countryIso2CodeGeocode?: string | null;
|
|
7675
|
+
timeZoneGeocode?: string | null;
|
|
7676
|
+
latitudeGeocode?: number | null;
|
|
7677
|
+
longitudeGeocode?: number | null;
|
|
7678
|
+
city?: {
|
|
7679
|
+
_id: string;
|
|
7680
|
+
name: string;
|
|
7681
|
+
localizedName: string;
|
|
7682
|
+
latitude?: number | null;
|
|
7683
|
+
longitude?: number | null;
|
|
7684
|
+
timezone?: string | null;
|
|
7685
|
+
state?: {
|
|
7686
|
+
_id: string;
|
|
7687
|
+
name: string;
|
|
7688
|
+
country?: {
|
|
7689
|
+
_id: string;
|
|
7690
|
+
name: string;
|
|
7691
|
+
} | null;
|
|
7692
|
+
} | null;
|
|
7693
|
+
} | null;
|
|
7694
|
+
} | null;
|
|
7695
|
+
};
|
|
7696
|
+
result?: {
|
|
7697
|
+
resultType: string;
|
|
7698
|
+
position?: number | null;
|
|
7699
|
+
score?: string | null;
|
|
7700
|
+
finishTimeMS?: number | null;
|
|
7701
|
+
resultWebLink?: string | null;
|
|
7702
|
+
outcome: string;
|
|
7703
|
+
totalParticipants?: number | null;
|
|
7704
|
+
adversary?: string | null;
|
|
7705
|
+
genderPosition?: number | null;
|
|
7706
|
+
genderParticipants?: number | null;
|
|
7707
|
+
categoryPosition?: number | null;
|
|
7708
|
+
categoryParticipants?: number | null;
|
|
7709
|
+
categoryName?: string | null;
|
|
7710
|
+
verificationTier?: CompetitionVerificationTier | null;
|
|
7525
7711
|
} | null;
|
|
7526
7712
|
};
|
|
7527
7713
|
};
|
|
@@ -7544,7 +7730,7 @@ export type GetAthleteCompetitionsQuery = {
|
|
|
7544
7730
|
mainSport?: {
|
|
7545
7731
|
_id: string;
|
|
7546
7732
|
name: string;
|
|
7547
|
-
resultType:
|
|
7733
|
+
resultType: CompetitionResultType;
|
|
7548
7734
|
} | null;
|
|
7549
7735
|
banner?: {
|
|
7550
7736
|
_id: string;
|
|
@@ -7597,6 +7783,8 @@ export type GetAthleteCompetitionsQuery = {
|
|
|
7597
7783
|
categoryPosition?: number | null;
|
|
7598
7784
|
categoryParticipants?: number | null;
|
|
7599
7785
|
categoryName?: string | null;
|
|
7786
|
+
pointsEarned?: number | null;
|
|
7787
|
+
verificationTier?: CompetitionVerificationTier | null;
|
|
7600
7788
|
} | null;
|
|
7601
7789
|
budget?: {
|
|
7602
7790
|
_id: string;
|
|
@@ -7819,6 +8007,8 @@ export type SaveAthleteCompetitionResultMutation = {
|
|
|
7819
8007
|
categoryPosition?: number | null;
|
|
7820
8008
|
categoryParticipants?: number | null;
|
|
7821
8009
|
categoryName?: string | null;
|
|
8010
|
+
pointsEarned?: number | null;
|
|
8011
|
+
verificationTier?: CompetitionVerificationTier | null;
|
|
7822
8012
|
};
|
|
7823
8013
|
};
|
|
7824
8014
|
export type CreateMembershipOrganizationMutationVariables = Exact<{
|
|
@@ -7971,7 +8161,7 @@ export type GetAthleteHistoricalScoresQueryVariables = Exact<{
|
|
|
7971
8161
|
export type GetAthleteHistoricalScoresQuery = {
|
|
7972
8162
|
getAthleteHistoricalScores: Array<{
|
|
7973
8163
|
_id: string;
|
|
7974
|
-
scoreType:
|
|
8164
|
+
scoreType: ScoreType;
|
|
7975
8165
|
score: number;
|
|
7976
8166
|
date: string;
|
|
7977
8167
|
athleteId: string;
|
|
@@ -7983,7 +8173,7 @@ export type GetMyHistoricalScoresQueryVariables = Exact<{
|
|
|
7983
8173
|
export type GetMyHistoricalScoresQuery = {
|
|
7984
8174
|
getMyHistoricalScores: Array<{
|
|
7985
8175
|
_id: string;
|
|
7986
|
-
scoreType:
|
|
8176
|
+
scoreType: ScoreType;
|
|
7987
8177
|
score: number;
|
|
7988
8178
|
date: string;
|
|
7989
8179
|
athleteId: string;
|
|
@@ -8002,28 +8192,28 @@ export type GetAthleteHistoricalScoresPeriodQuery = {
|
|
|
8002
8192
|
maxTimestampExclusive: string;
|
|
8003
8193
|
vtxScores?: Array<{
|
|
8004
8194
|
_id: string;
|
|
8005
|
-
scoreType:
|
|
8195
|
+
scoreType: ScoreType;
|
|
8006
8196
|
score: number;
|
|
8007
8197
|
date: string;
|
|
8008
8198
|
athleteId: string;
|
|
8009
8199
|
}> | null;
|
|
8010
8200
|
tpiScores?: Array<{
|
|
8011
8201
|
_id: string;
|
|
8012
|
-
scoreType:
|
|
8202
|
+
scoreType: ScoreType;
|
|
8013
8203
|
score: number;
|
|
8014
8204
|
date: string;
|
|
8015
8205
|
athleteId: string;
|
|
8016
8206
|
}> | null;
|
|
8017
8207
|
spiScores?: Array<{
|
|
8018
8208
|
_id: string;
|
|
8019
|
-
scoreType:
|
|
8209
|
+
scoreType: ScoreType;
|
|
8020
8210
|
score: number;
|
|
8021
8211
|
date: string;
|
|
8022
8212
|
athleteId: string;
|
|
8023
8213
|
}> | null;
|
|
8024
8214
|
apiScores?: Array<{
|
|
8025
8215
|
_id: string;
|
|
8026
|
-
scoreType:
|
|
8216
|
+
scoreType: ScoreType;
|
|
8027
8217
|
score: number;
|
|
8028
8218
|
date: string;
|
|
8029
8219
|
athleteId: string;
|
|
@@ -8043,28 +8233,28 @@ export type GetMyHistoricalScoresPeriodQuery = {
|
|
|
8043
8233
|
maxTimestampExclusive: string;
|
|
8044
8234
|
vtxScores?: Array<{
|
|
8045
8235
|
_id: string;
|
|
8046
|
-
scoreType:
|
|
8236
|
+
scoreType: ScoreType;
|
|
8047
8237
|
score: number;
|
|
8048
8238
|
date: string;
|
|
8049
8239
|
athleteId: string;
|
|
8050
8240
|
}> | null;
|
|
8051
8241
|
tpiScores?: Array<{
|
|
8052
8242
|
_id: string;
|
|
8053
|
-
scoreType:
|
|
8243
|
+
scoreType: ScoreType;
|
|
8054
8244
|
score: number;
|
|
8055
8245
|
date: string;
|
|
8056
8246
|
athleteId: string;
|
|
8057
8247
|
}> | null;
|
|
8058
8248
|
spiScores?: Array<{
|
|
8059
8249
|
_id: string;
|
|
8060
|
-
scoreType:
|
|
8250
|
+
scoreType: ScoreType;
|
|
8061
8251
|
score: number;
|
|
8062
8252
|
date: string;
|
|
8063
8253
|
athleteId: string;
|
|
8064
8254
|
}> | null;
|
|
8065
8255
|
apiScores?: Array<{
|
|
8066
8256
|
_id: string;
|
|
8067
|
-
scoreType:
|
|
8257
|
+
scoreType: ScoreType;
|
|
8068
8258
|
score: number;
|
|
8069
8259
|
date: string;
|
|
8070
8260
|
athleteId: string;
|
|
@@ -8283,7 +8473,7 @@ export type GetSportsEventsQuery = {
|
|
|
8283
8473
|
mainSport?: {
|
|
8284
8474
|
_id: string;
|
|
8285
8475
|
name: string;
|
|
8286
|
-
resultType:
|
|
8476
|
+
resultType: CompetitionResultType;
|
|
8287
8477
|
} | null;
|
|
8288
8478
|
banner?: {
|
|
8289
8479
|
_id: string;
|
|
@@ -8440,7 +8630,7 @@ export type UpdateSportsEventMutation = {
|
|
|
8440
8630
|
mainSport?: {
|
|
8441
8631
|
_id: string;
|
|
8442
8632
|
name: string;
|
|
8443
|
-
resultType:
|
|
8633
|
+
resultType: CompetitionResultType;
|
|
8444
8634
|
} | null;
|
|
8445
8635
|
banner?: {
|
|
8446
8636
|
_id: string;
|
|
@@ -8493,7 +8683,7 @@ export type MergeSportsEventsMutation = {
|
|
|
8493
8683
|
mainSport?: {
|
|
8494
8684
|
_id: string;
|
|
8495
8685
|
name: string;
|
|
8496
|
-
resultType:
|
|
8686
|
+
resultType: CompetitionResultType;
|
|
8497
8687
|
} | null;
|
|
8498
8688
|
banner?: {
|
|
8499
8689
|
_id: string;
|
|
@@ -11268,6 +11458,34 @@ export type MyFollowedAthletesQuery = {
|
|
|
11268
11458
|
}>;
|
|
11269
11459
|
};
|
|
11270
11460
|
};
|
|
11461
|
+
export type GetRecentDonationsForCampaignQueryVariables = Exact<{
|
|
11462
|
+
campaignIdOrSlug: Scalars['String']['input'];
|
|
11463
|
+
limit?: InputMaybe<Scalars['Float']['input']>;
|
|
11464
|
+
offset?: InputMaybe<Scalars['Float']['input']>;
|
|
11465
|
+
}>;
|
|
11466
|
+
export type GetRecentDonationsForCampaignQuery = {
|
|
11467
|
+
getRecentDonationsForCampaign: Array<{
|
|
11468
|
+
checkoutSessionId: string;
|
|
11469
|
+
fundingCheckoutSessionDataId: string;
|
|
11470
|
+
donationMode: string;
|
|
11471
|
+
donorName: string;
|
|
11472
|
+
donorEmail?: string | null;
|
|
11473
|
+
completed: boolean;
|
|
11474
|
+
confirmed: boolean;
|
|
11475
|
+
donationAmount: number;
|
|
11476
|
+
completedDate?: string | null;
|
|
11477
|
+
createdDate?: string | null;
|
|
11478
|
+
athleteId: string;
|
|
11479
|
+
athleteName: string;
|
|
11480
|
+
message?: string | null;
|
|
11481
|
+
athleteReference?: {
|
|
11482
|
+
_id: string;
|
|
11483
|
+
} | null;
|
|
11484
|
+
campaignReference?: {
|
|
11485
|
+
_id: string;
|
|
11486
|
+
} | null;
|
|
11487
|
+
}>;
|
|
11488
|
+
};
|
|
11271
11489
|
export type GetAthleteIntegrationsByAthleteQueryVariables = Exact<{
|
|
11272
11490
|
[key: string]: never;
|
|
11273
11491
|
}>;
|
|
@@ -11498,6 +11716,7 @@ export type GetLeaderboardQuery = {
|
|
|
11498
11716
|
competitionScore?: number | null;
|
|
11499
11717
|
mainSport?: string | null;
|
|
11500
11718
|
mainSportLevel?: string | null;
|
|
11719
|
+
scoreHistory?: Array<number> | null;
|
|
11501
11720
|
}>;
|
|
11502
11721
|
pagination: {
|
|
11503
11722
|
page: number;
|
|
@@ -13136,7 +13355,7 @@ export type GetSportsPaginatedQuery = {
|
|
|
13136
13355
|
name: string;
|
|
13137
13356
|
priority?: number | null;
|
|
13138
13357
|
verified?: boolean | null;
|
|
13139
|
-
resultType:
|
|
13358
|
+
resultType: CompetitionResultType;
|
|
13140
13359
|
}>;
|
|
13141
13360
|
pagination: {
|
|
13142
13361
|
currentPage: number;
|
|
@@ -14993,6 +15212,9 @@ export declare const AthleteTeamFieldsFragmentDoc: import("graphql").DocumentNod
|
|
|
14993
15212
|
export declare const AthleteClubFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
14994
15213
|
export declare const TeamAnalyticsFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
14995
15214
|
export declare const TeamLeaderboardEntryFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
15215
|
+
export declare const GetAdminUsersDocument: import("graphql").DocumentNode;
|
|
15216
|
+
export declare const AddAdminUserDocument: import("graphql").DocumentNode;
|
|
15217
|
+
export declare const RemoveAdminUserDocument: import("graphql").DocumentNode;
|
|
14996
15218
|
export declare const GetAiCoachThreadDocument: import("graphql").DocumentNode;
|
|
14997
15219
|
export declare const GetAiCoachThreadHistoryDocument: import("graphql").DocumentNode;
|
|
14998
15220
|
export declare const GetAiCoachThreadMessagesDocument: import("graphql").DocumentNode;
|
|
@@ -15015,6 +15237,7 @@ export declare const EditAboutMeDocument: import("graphql").DocumentNode;
|
|
|
15015
15237
|
export declare const EditProfileValueDocument: import("graphql").DocumentNode;
|
|
15016
15238
|
export declare const EditPictureDocument: import("graphql").DocumentNode;
|
|
15017
15239
|
export declare const AddAthleteCompetitionDocument: import("graphql").DocumentNode;
|
|
15240
|
+
export declare const EditAthleteCompetitionDocument: import("graphql").DocumentNode;
|
|
15018
15241
|
export declare const GetAthleteCompetitionsDocument: import("graphql").DocumentNode;
|
|
15019
15242
|
export declare const GetAthleteMembershipsDocument: import("graphql").DocumentNode;
|
|
15020
15243
|
export declare const DeleteAthleteCompetitionDocument: import("graphql").DocumentNode;
|
|
@@ -15129,6 +15352,7 @@ export declare const FollowAthleteDocument: import("graphql").DocumentNode;
|
|
|
15129
15352
|
export declare const UnfollowAthleteDocument: import("graphql").DocumentNode;
|
|
15130
15353
|
export declare const IsFollowingAthleteDocument: import("graphql").DocumentNode;
|
|
15131
15354
|
export declare const MyFollowedAthletesDocument: import("graphql").DocumentNode;
|
|
15355
|
+
export declare const GetRecentDonationsForCampaignDocument: import("graphql").DocumentNode;
|
|
15132
15356
|
export declare const GetAthleteIntegrationsByAthleteDocument: import("graphql").DocumentNode;
|
|
15133
15357
|
export declare const GetAthleteStravaIntegrationDocument: import("graphql").DocumentNode;
|
|
15134
15358
|
export declare const GetAthleteInstagramIntegrationDocument: import("graphql").DocumentNode;
|
|
@@ -15258,6 +15482,9 @@ export declare const GetUsersPaginatedDocument: import("graphql").DocumentNode;
|
|
|
15258
15482
|
export declare const GetDatabaseTextFileDocument: import("graphql").DocumentNode;
|
|
15259
15483
|
export type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string, variables?: any) => Promise<T>;
|
|
15260
15484
|
export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
|
|
15485
|
+
GetAdminUsers(variables?: GetAdminUsersQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAdminUsersQuery>;
|
|
15486
|
+
AddAdminUser(variables: AddAdminUserMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<AddAdminUserMutation>;
|
|
15487
|
+
RemoveAdminUser(variables: RemoveAdminUserMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<RemoveAdminUserMutation>;
|
|
15261
15488
|
GetAiCoachThread(variables?: GetAiCoachThreadQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAiCoachThreadQuery>;
|
|
15262
15489
|
GetAiCoachThreadHistory(variables?: GetAiCoachThreadHistoryQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAiCoachThreadHistoryQuery>;
|
|
15263
15490
|
GetAiCoachThreadMessages(variables: GetAiCoachThreadMessagesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAiCoachThreadMessagesQuery>;
|
|
@@ -15280,6 +15507,7 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
15280
15507
|
EditProfileValue(variables: EditProfileValueMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<EditProfileValueMutation>;
|
|
15281
15508
|
EditPicture(variables: EditPictureMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<EditPictureMutation>;
|
|
15282
15509
|
AddAthleteCompetition(variables: AddAthleteCompetitionMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<AddAthleteCompetitionMutation>;
|
|
15510
|
+
EditAthleteCompetition(variables: EditAthleteCompetitionMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<EditAthleteCompetitionMutation>;
|
|
15283
15511
|
GetAthleteCompetitions(variables: GetAthleteCompetitionsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAthleteCompetitionsQuery>;
|
|
15284
15512
|
GetAthleteMemberships(variables: GetAthleteMembershipsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAthleteMembershipsQuery>;
|
|
15285
15513
|
DeleteAthleteCompetition(variables: DeleteAthleteCompetitionMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<DeleteAthleteCompetitionMutation>;
|
|
@@ -15394,6 +15622,7 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
15394
15622
|
UnfollowAthlete(variables: UnfollowAthleteMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<UnfollowAthleteMutation>;
|
|
15395
15623
|
IsFollowingAthlete(variables: IsFollowingAthleteQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<IsFollowingAthleteQuery>;
|
|
15396
15624
|
MyFollowedAthletes(variables?: MyFollowedAthletesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<MyFollowedAthletesQuery>;
|
|
15625
|
+
GetRecentDonationsForCampaign(variables: GetRecentDonationsForCampaignQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetRecentDonationsForCampaignQuery>;
|
|
15397
15626
|
GetAthleteIntegrationsByAthlete(variables?: GetAthleteIntegrationsByAthleteQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAthleteIntegrationsByAthleteQuery>;
|
|
15398
15627
|
GetAthleteStravaIntegration(variables?: GetAthleteStravaIntegrationQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAthleteStravaIntegrationQuery>;
|
|
15399
15628
|
GetAthleteInstagramIntegration(variables?: GetAthleteInstagramIntegrationQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAthleteInstagramIntegrationQuery>;
|