@vertikalx/vtx-backend-client 3.1.1-dev-max.9 → 3.1.2-dev-max.0

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.
Files changed (36) hide show
  1. package/package.json +4 -3
  2. package/src/api/domains/generated/admin.api.d.ts +2 -0
  3. package/src/api/domains/generated/admin.api.js +15 -0
  4. package/src/api/domains/generated/admin.api.js.map +1 -0
  5. package/src/api/domains/generated/athlete.api.js +3 -0
  6. package/src/api/domains/generated/athlete.api.js.map +1 -1
  7. package/src/api/domains/generated/index.d.ts +1 -0
  8. package/src/api/domains/generated/index.js +3 -1
  9. package/src/api/domains/generated/index.js.map +1 -1
  10. package/src/api/domains/generated/misc.api.js +2 -143
  11. package/src/api/domains/generated/misc.api.js.map +1 -1
  12. package/src/api/domains/generated/vtx-base-api.augment.d.ts +6 -49
  13. package/src/api/domains/overrides/auth.overrides.js +1 -1
  14. package/src/api/domains/overrides/auth.overrides.js.map +1 -1
  15. package/src/api/domains/overrides/campaign.overrides.d.ts +2 -0
  16. package/src/api/domains/overrides/campaign.overrides.js +9 -0
  17. package/src/api/domains/overrides/campaign.overrides.js.map +1 -0
  18. package/src/api/domains/overrides/compat.overrides.js +63 -0
  19. package/src/api/domains/overrides/compat.overrides.js.map +1 -1
  20. package/src/api/domains/overrides/competition.overrides.d.ts +2 -0
  21. package/src/api/domains/overrides/competition.overrides.js +9 -0
  22. package/src/api/domains/overrides/competition.overrides.js.map +1 -0
  23. package/src/api/domains/overrides/index.d.ts +2 -0
  24. package/src/api/domains/overrides/index.js +5 -1
  25. package/src/api/domains/overrides/index.js.map +1 -1
  26. package/src/api/vtx-base-api.js +4 -0
  27. package/src/api/vtx-base-api.js.map +1 -1
  28. package/src/client/schema.d.ts +248 -12
  29. package/src/client/schema.js +161 -3
  30. package/src/client/schema.js.map +1 -1
  31. package/src/client/types.d.ts +60 -0
  32. package/src/client/types.js +1033 -889
  33. package/src/client/types.js.map +1 -1
  34. package/src/generated/graphql.d.ts +316 -1208
  35. package/src/generated/graphql.js +237 -1216
  36. package/src/generated/graphql.js.map +1 -1
@@ -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<Scalars['String']['input']>;
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<Scalars['String']['input']>;
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: Scalars['String']['input'];
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: Scalars['String']['input'];
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?: Scalars['String']['input'];
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<Scalars['String']['input']>;
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: Scalars['String']['output'];
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: Scalars['String']['output'];
2665
+ period: PlanPeriod;
2624
2666
  plan?: Maybe<Plan>;
2625
2667
  price: Scalars['Float']['output'];
2626
- taxMode: Scalars['String']['output'];
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: Scalars['String']['output'];
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: Scalars['String']['input'];
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<Scalars['String']['input']>;
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: string;
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: string;
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: string;
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: string;
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: string;
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: string;
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: string;
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: string;
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: string;
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: string;
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: string;
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: string;
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: string;
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: string;
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: string;
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: string;
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: string;
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: string;
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: string;
8686
+ resultType: CompetitionResultType;
8497
8687
  } | null;
8498
8688
  banner?: {
8499
8689
  _id: string;
@@ -11268,1103 +11458,106 @@ export type MyFollowedAthletesQuery = {
11268
11458
  }>;
11269
11459
  };
11270
11460
  };
11271
- export type FindTenantByIdQueryVariables = Exact<{
11272
- _id: Scalars['String']['input'];
11461
+ export type GetRecentDonationsForCampaignQueryVariables = Exact<{
11462
+ campaignIdOrSlug: Scalars['String']['input'];
11463
+ limit?: InputMaybe<Scalars['Float']['input']>;
11464
+ offset?: InputMaybe<Scalars['Float']['input']>;
11273
11465
  }>;
11274
- export type FindTenantByIdQuery = {
11275
- findTenantById: {
11276
- _id: string;
11277
- name: string;
11278
- tenant_uri: string;
11279
- email: string;
11280
- domain: {
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?: {
11281
11482
  _id: string;
11282
- name: string;
11283
- };
11284
- owner?: {
11483
+ } | null;
11484
+ campaignReference?: {
11285
11485
  _id: string;
11286
11486
  } | null;
11287
- };
11487
+ }>;
11288
11488
  };
11289
- export type FindTenantByEmailQueryVariables = Exact<{
11290
- email: Scalars['String']['input'];
11291
- domainId: Scalars['String']['input'];
11489
+ export type GetAthleteIntegrationsByAthleteQueryVariables = Exact<{
11490
+ [key: string]: never;
11292
11491
  }>;
11293
- export type FindTenantByEmailQuery = {
11294
- findTenantByEmail: {
11492
+ export type GetAthleteIntegrationsByAthleteQuery = {
11493
+ getAthleteInstagramIntegration: {
11295
11494
  _id: string;
11296
- name: string;
11297
- tenant_uri: string;
11298
- email: string;
11299
- domain: {
11495
+ hasInstagramIntegration?: boolean | null;
11496
+ athlete: {
11300
11497
  _id: string;
11301
- name: string;
11302
11498
  };
11303
- owner?: {
11304
- _id: string;
11499
+ instagramUserData?: {
11500
+ user_id: string;
11501
+ username: string;
11502
+ name?: string | null;
11503
+ account_type?: string | null;
11504
+ followers_count?: string | null;
11505
+ media_count?: number | null;
11506
+ } | null;
11507
+ instagramMediaData?: {
11508
+ data?: Array<{
11509
+ id: string;
11510
+ caption?: string | null;
11511
+ media_type: string;
11512
+ media_url?: string | null;
11513
+ permalink: string;
11514
+ thumbnail_url?: string | null;
11515
+ timestamp: string;
11516
+ username: string;
11517
+ like_count?: number | null;
11518
+ comments_count?: number | null;
11519
+ insights?: {
11520
+ data?: Array<{
11521
+ name: string;
11522
+ period: string;
11523
+ values: string;
11524
+ }> | null;
11525
+ } | null;
11526
+ }> | null;
11527
+ paging?: {
11528
+ next?: string | null;
11529
+ cursors?: {
11530
+ before?: string | null;
11531
+ after?: string | null;
11532
+ } | null;
11533
+ } | null;
11305
11534
  } | null;
11306
11535
  };
11307
11536
  };
11308
- export type GetTenantsQueryVariables = Exact<{
11537
+ export type GetAthleteStravaIntegrationQueryVariables = Exact<{
11309
11538
  [key: string]: never;
11310
11539
  }>;
11311
- export type GetTenantsQuery = {
11312
- getTenants: Array<{
11540
+ export type GetAthleteStravaIntegrationQuery = {
11541
+ getAthleteStravaIntegration: {
11313
11542
  _id: string;
11314
- name: string;
11315
- tenant_uri: string;
11316
- email: string;
11317
- domain: {
11543
+ hasStravaIntegration?: boolean | null;
11544
+ athlete: {
11318
11545
  _id: string;
11319
- name: string;
11320
11546
  };
11321
- owner?: {
11322
- _id: string;
11323
- } | null;
11324
- }>;
11325
- };
11326
- export type IsTenantUriAvailableQueryVariables = Exact<{
11327
- tenant_uri: Scalars['String']['input'];
11328
- }>;
11329
- export type IsTenantUriAvailableQuery = {
11330
- isTenantUriAvailable: {
11331
- available: boolean;
11332
- valid: boolean;
11333
- };
11334
- };
11335
- export type FindUserByIdQueryVariables = Exact<{
11336
- _id: Scalars['String']['input'];
11337
- }>;
11338
- export type FindUserByIdQuery = {
11339
- findUserById: {
11340
- _id: string;
11341
- loginEmail: string;
11342
- suspended: boolean;
11343
- loginMethods?: Array<string> | null;
11344
- domains?: Array<{
11345
- _id: string;
11346
- name: string;
11347
- }> | null;
11348
- };
11349
- };
11350
- export type ValidateUserCredentialsQueryVariables = Exact<{
11351
- username: Scalars['String']['input'];
11352
- password: Scalars['String']['input'];
11353
- }>;
11354
- export type ValidateUserCredentialsQuery = {
11355
- validateUserCredentials: {
11356
- _id: string;
11357
- loginEmail: string;
11358
- suspended: boolean;
11359
- loginMethods?: Array<string> | null;
11360
- domains?: Array<{
11361
- _id: string;
11362
- name: string;
11363
- }> | null;
11364
- };
11365
- };
11366
- export type GetUploadUrlQueryVariables = Exact<{
11367
- input: Awss3GetUploadDto;
11368
- }>;
11369
- export type GetUploadUrlQuery = {
11370
- getUploadUrl: {
11371
- uploadUrl: string;
11372
- downloadUrl: string;
11373
- bucket: string;
11374
- key: string;
11375
- };
11376
- };
11377
- export type IndustriesQueryVariables = Exact<{
11378
- [key: string]: never;
11379
- }>;
11380
- export type IndustriesQuery = {
11381
- industries: Array<{
11382
- _id: string;
11383
- name: string;
11384
- }>;
11385
- };
11386
- export type FindIndustryByIdQueryVariables = Exact<{
11387
- industryId: Scalars['String']['input'];
11388
- }>;
11389
- export type FindIndustryByIdQuery = {
11390
- findIndustryById: {
11391
- _id: string;
11392
- name: string;
11393
- };
11394
- };
11395
- export type BrandsQueryVariables = Exact<{
11396
- [key: string]: never;
11397
- }>;
11398
- export type BrandsQuery = {
11399
- brands: Array<{
11400
- _id: string;
11401
- name: string;
11402
- slogan?: string | null;
11403
- website?: string | null;
11404
- affiliateLink?: string | null;
11405
- description?: string | null;
11406
- approved: boolean;
11407
- published: boolean;
11408
- operatorIds?: Array<string> | null;
11409
- logo?: {
11410
- _id: string;
11411
- name?: string | null;
11412
- } | null;
11413
- banner?: {
11414
- _id: string;
11415
- name?: string | null;
11416
- } | null;
11417
- translations?: Array<{
11418
- _id: string;
11419
- name?: string | null;
11420
- }> | null;
11421
- sponsors?: Array<{
11422
- _id: string;
11423
- }> | null;
11424
- }>;
11425
- };
11426
- export type GetBrandByNameQueryVariables = Exact<{
11427
- name: Scalars['String']['input'];
11428
- translations: Scalars['Boolean']['input'];
11429
- }>;
11430
- export type GetBrandByNameQuery = {
11431
- getBrandByName: {
11432
- _id: string;
11433
- name: string;
11434
- slogan?: string | null;
11435
- website?: string | null;
11436
- affiliateLink?: string | null;
11437
- description?: string | null;
11438
- approved: boolean;
11439
- published: boolean;
11440
- operatorIds?: Array<string> | null;
11441
- logo?: {
11442
- _id: string;
11443
- name?: string | null;
11444
- } | null;
11445
- banner?: {
11446
- _id: string;
11447
- name?: string | null;
11448
- } | null;
11449
- translations?: Array<{
11450
- _id: string;
11451
- name?: string | null;
11452
- }> | null;
11453
- sponsors?: Array<{
11454
- _id: string;
11455
- }> | null;
11456
- };
11457
- };
11458
- export type GetBrandTranslationQueryVariables = Exact<{
11459
- brandId: Scalars['String']['input'];
11460
- language: Scalars['String']['input'];
11461
- }>;
11462
- export type GetBrandTranslationQuery = {
11463
- getBrandTranslation: {
11464
- _id: string;
11465
- brandId: string;
11466
- language: string;
11467
- name?: string | null;
11468
- slogan?: string | null;
11469
- description?: string | null;
11470
- logo?: {
11471
- _id: string;
11472
- name?: string | null;
11473
- } | null;
11474
- banner?: {
11475
- _id: string;
11476
- name?: string | null;
11477
- } | null;
11478
- };
11479
- };
11480
- export type ExistsValidSponsorForEmailQueryVariables = Exact<{
11481
- loginEmail: Scalars['String']['input'];
11482
- }>;
11483
- export type ExistsValidSponsorForEmailQuery = {
11484
- existsValidSponsorForEmail: {
11485
- _id: string;
11486
- name: string;
11487
- description?: string | null;
11488
- approved: boolean;
11489
- tenant?: {
11490
- _id: string;
11491
- name: string;
11492
- } | null;
11493
- industry?: {
11494
- _id: string;
11495
- name: string;
11496
- } | null;
11497
- brands?: Array<{
11498
- _id: string;
11499
- }> | null;
11500
- sponsorships?: Array<{
11501
- _id: string;
11502
- }> | null;
11503
- };
11504
- };
11505
- export type SponsorsQueryVariables = Exact<{
11506
- [key: string]: never;
11507
- }>;
11508
- export type SponsorsQuery = {
11509
- sponsors: Array<{
11510
- _id: string;
11511
- name: string;
11512
- description?: string | null;
11513
- approved: boolean;
11514
- tenant?: {
11515
- _id: string;
11516
- name: string;
11517
- } | null;
11518
- industry?: {
11519
- _id: string;
11520
- name: string;
11521
- } | null;
11522
- brands?: Array<{
11523
- _id: string;
11524
- }> | null;
11525
- sponsorships?: Array<{
11526
- _id: string;
11527
- }> | null;
11528
- }>;
11529
- };
11530
- export type FindAthleteByIdQueryVariables = Exact<{
11531
- athleteId: Scalars['String']['input'];
11532
- }>;
11533
- export type FindAthleteByIdQuery = {
11534
- findAthleteById: {
11535
- _id: string;
11536
- firstName: string;
11537
- lastName: string;
11538
- screenName?: string | null;
11539
- dob?: string | null;
11540
- lgbt?: boolean | null;
11541
- competitionGender?: string | null;
11542
- trainer?: string | null;
11543
- trainerUrl?: string | null;
11544
- totalUpcomingCompetitions?: number | null;
11545
- totalPastCompetitions?: number | null;
11546
- aboutMe?: string | null;
11547
- biography?: string | null;
11548
- suspended: boolean;
11549
- onboardingComplete?: boolean | null;
11550
- onboardingStep?: number | null;
11551
- country?: {
11552
- _id: string;
11553
- name: string;
11554
- } | null;
11555
- location?: {
11556
- _id: string;
11557
- } | null;
11558
- mainSport: {
11559
- _id: string;
11560
- name: string;
11561
- };
11562
- mainSportLevel: {
11563
- _id: string;
11564
- };
11565
- profilePicture?: {
11566
- _id: string;
11567
- name?: string | null;
11568
- } | null;
11569
- cardPicture?: {
11570
- _id: string;
11571
- name?: string | null;
11572
- } | null;
11573
- bannerPicture?: {
11574
- _id: string;
11575
- name?: string | null;
11576
- } | null;
11577
- preferences: {
11578
- _id: string;
11579
- };
11580
- allSports?: Array<{
11581
- _id: string;
11582
- name: string;
11583
- }> | null;
11584
- teams?: Array<{
11585
- _id: string;
11586
- name: string;
11587
- }> | null;
11588
- sponsorBrands?: Array<{
11589
- _id: string;
11590
- name: string;
11591
- }> | null;
11592
- competitions?: Array<{
11593
- _id: string;
11594
- }> | null;
11595
- affiliations?: Array<{
11596
- _id: string;
11597
- }> | null;
11598
- newsLinks?: Array<{
11599
- _id: string;
11600
- }> | null;
11601
- channels?: Array<{
11602
- _id: string;
11603
- }> | null;
11604
- currentCampaign?: {
11605
- _id: string;
11606
- } | null;
11607
- fundingCampaigns?: Array<{
11608
- _id: string;
11609
- }> | null;
11610
- stripeAccountReference?: {
11611
- _id: string;
11612
- } | null;
11613
- albums?: Array<{
11614
- _id: string;
11615
- }> | null;
11616
- historicalScores?: Array<{
11617
- _id: string;
11618
- }> | null;
11619
- signedAgreements?: Array<{
11620
- _id: string;
11621
- }> | null;
11622
- };
11623
- };
11624
- export type FindAthletebyIdpublicQueryVariables = Exact<{
11625
- athleteId: Scalars['String']['input'];
11626
- }>;
11627
- export type FindAthletebyIdpublicQuery = {
11628
- findAthletebyIdpublic: {
11629
- _id: string;
11630
- firstName: string;
11631
- lastName: string;
11632
- screenName?: string | null;
11633
- dob?: string | null;
11634
- lgbt?: boolean | null;
11635
- competitionGender?: string | null;
11636
- trainer?: string | null;
11637
- trainerUrl?: string | null;
11638
- totalUpcomingCompetitions?: number | null;
11639
- totalPastCompetitions?: number | null;
11640
- aboutMe?: string | null;
11641
- biography?: string | null;
11642
- suspended: boolean;
11643
- onboardingComplete?: boolean | null;
11644
- onboardingStep?: number | null;
11645
- country?: {
11646
- _id: string;
11647
- name: string;
11648
- } | null;
11649
- location?: {
11650
- _id: string;
11651
- } | null;
11652
- mainSport: {
11653
- _id: string;
11654
- name: string;
11655
- };
11656
- mainSportLevel: {
11657
- _id: string;
11658
- };
11659
- profilePicture?: {
11660
- _id: string;
11661
- name?: string | null;
11662
- } | null;
11663
- cardPicture?: {
11664
- _id: string;
11665
- name?: string | null;
11666
- } | null;
11667
- bannerPicture?: {
11668
- _id: string;
11669
- name?: string | null;
11670
- } | null;
11671
- preferences: {
11672
- _id: string;
11673
- };
11674
- allSports?: Array<{
11675
- _id: string;
11676
- name: string;
11677
- }> | null;
11678
- teams?: Array<{
11679
- _id: string;
11680
- name: string;
11681
- }> | null;
11682
- sponsorBrands?: Array<{
11683
- _id: string;
11684
- name: string;
11685
- }> | null;
11686
- competitions?: Array<{
11687
- _id: string;
11688
- }> | null;
11689
- affiliations?: Array<{
11690
- _id: string;
11691
- }> | null;
11692
- newsLinks?: Array<{
11693
- _id: string;
11694
- }> | null;
11695
- channels?: Array<{
11696
- _id: string;
11697
- }> | null;
11698
- currentCampaign?: {
11699
- _id: string;
11700
- } | null;
11701
- fundingCampaigns?: Array<{
11702
- _id: string;
11703
- }> | null;
11704
- stripeAccountReference?: {
11705
- _id: string;
11706
- } | null;
11707
- albums?: Array<{
11708
- _id: string;
11709
- }> | null;
11710
- historicalScores?: Array<{
11711
- _id: string;
11712
- }> | null;
11713
- signedAgreements?: Array<{
11714
- _id: string;
11715
- }> | null;
11716
- };
11717
- };
11718
- export type GetAthleteAlbumIdQueryVariables = Exact<{
11719
- input: Scalars['String']['input'];
11720
- }>;
11721
- export type GetAthleteAlbumIdQuery = {
11722
- getAthleteAlbumId: {
11723
- _id: string;
11724
- label: string;
11725
- description?: string | null;
11726
- displayIndex: number;
11727
- competitionId?: string | null;
11728
- visibility: string;
11729
- photos?: Array<{
11730
- _id: string;
11731
- }> | null;
11732
- };
11733
- };
11734
- export type QueryAthleteWithFilterQueryVariables = Exact<{
11735
- input: AthleteQueryDto;
11736
- }>;
11737
- export type QueryAthleteWithFilterQuery = {
11738
- queryAthleteWithFilter: {
11739
- athletes: Array<{
11740
- _id: string;
11741
- }>;
11742
- };
11743
- };
11744
- export type FindSportByIdQueryVariables = Exact<{
11745
- sportId: Scalars['String']['input'];
11746
- }>;
11747
- export type FindSportByIdQuery = {
11748
- findSportById: {
11749
- _id: string;
11750
- name: string;
11751
- resultType: string;
11752
- verified?: boolean | null;
11753
- priority?: number | null;
11754
- };
11755
- };
11756
- export type GetBudgetItemUnitsQueryVariables = Exact<{
11757
- [key: string]: never;
11758
- }>;
11759
- export type GetBudgetItemUnitsQuery = {
11760
- getBudgetItemUnits: Array<{
11761
- _id: string;
11762
- label: string;
11763
- }>;
11764
- };
11765
- export type OffersQueryVariables = Exact<{
11766
- [key: string]: never;
11767
- }>;
11768
- export type OffersQuery = {
11769
- offers: Array<{
11770
- _id: string;
11771
- name?: string | null;
11772
- label: string;
11773
- decription?: string | null;
11774
- type: string;
11775
- status: string;
11776
- discountType: string;
11777
- discountTypeData: string;
11778
- conditions?: Array<string> | null;
11779
- dateStart?: string | null;
11780
- dateEnd?: string | null;
11781
- dateCreated: string;
11782
- totalCodes: number;
11783
- availableCodes: number;
11784
- disclaimer?: string | null;
11785
- genericCode?: string | null;
11786
- featured: boolean;
11787
- offerImage?: {
11788
- _id: string;
11789
- name?: string | null;
11790
- } | null;
11791
- brand: {
11792
- _id: string;
11793
- name: string;
11794
- };
11795
- sponsor: {
11796
- _id: string;
11797
- name: string;
11798
- };
11799
- criteria?: {
11800
- _id: string;
11801
- } | null;
11802
- availableCountries?: Array<{
11803
- _id: string;
11804
- name: string;
11805
- }> | null;
11806
- }>;
11807
- };
11808
- export type OffersForAthleteQueryVariables = Exact<{
11809
- athleteId?: InputMaybe<Scalars['String']['input']>;
11810
- }>;
11811
- export type OffersForAthleteQuery = {
11812
- offersForAthlete: Array<{
11813
- _id: string;
11814
- name?: string | null;
11815
- label: string;
11816
- decription?: string | null;
11817
- type: string;
11818
- status: string;
11819
- discountType: string;
11820
- discountTypeData: string;
11821
- conditions?: Array<string> | null;
11822
- dateStart?: string | null;
11823
- dateEnd?: string | null;
11824
- dateCreated: string;
11825
- totalCodes: number;
11826
- availableCodes: number;
11827
- disclaimer?: string | null;
11828
- genericCode?: string | null;
11829
- featured: boolean;
11830
- offerImage?: {
11831
- _id: string;
11832
- name?: string | null;
11833
- } | null;
11834
- brand: {
11835
- _id: string;
11836
- name: string;
11837
- };
11838
- sponsor: {
11839
- _id: string;
11840
- name: string;
11841
- };
11842
- criteria?: {
11843
- _id: string;
11844
- } | null;
11845
- availableCountries?: Array<{
11846
- _id: string;
11847
- name: string;
11848
- }> | null;
11849
- }>;
11850
- };
11851
- export type OfferQueryVariables = Exact<{
11852
- id: Scalars['String']['input'];
11853
- }>;
11854
- export type OfferQuery = {
11855
- offer: {
11856
- _id: string;
11857
- name?: string | null;
11858
- label: string;
11859
- decription?: string | null;
11860
- type: string;
11861
- status: string;
11862
- discountType: string;
11863
- discountTypeData: string;
11864
- conditions?: Array<string> | null;
11865
- dateStart?: string | null;
11866
- dateEnd?: string | null;
11867
- dateCreated: string;
11868
- totalCodes: number;
11869
- availableCodes: number;
11870
- disclaimer?: string | null;
11871
- genericCode?: string | null;
11872
- featured: boolean;
11873
- offerImage?: {
11874
- _id: string;
11875
- name?: string | null;
11876
- } | null;
11877
- brand: {
11878
- _id: string;
11879
- name: string;
11880
- };
11881
- sponsor: {
11882
- _id: string;
11883
- name: string;
11884
- };
11885
- criteria?: {
11886
- _id: string;
11887
- } | null;
11888
- availableCountries?: Array<{
11889
- _id: string;
11890
- name: string;
11891
- }> | null;
11892
- };
11893
- };
11894
- export type MyOfferClaimsQueryVariables = Exact<{
11895
- athleteId: Scalars['String']['input'];
11896
- query?: InputMaybe<OfferClaimQueryDto>;
11897
- }>;
11898
- export type MyOfferClaimsQuery = {
11899
- myOfferClaims: Array<{
11900
- _id: string;
11901
- claimedAt: string;
11902
- code?: string | null;
11903
- offer: {
11904
- _id: string;
11905
- name?: string | null;
11906
- };
11907
- athlete: {
11908
- _id: string;
11909
- };
11910
- }>;
11911
- };
11912
- export type OfferAvailabilityQueryVariables = Exact<{
11913
- offerId: Scalars['String']['input'];
11914
- athleteId: Scalars['String']['input'];
11915
- }>;
11916
- export type OfferAvailabilityQuery = {
11917
- offerAvailability: {
11918
- available: boolean;
11919
- reason?: string | null;
11920
- };
11921
- };
11922
- export type AthleteDashboardQueryVariables = Exact<{
11923
- athleteId: Scalars['String']['input'];
11924
- }>;
11925
- export type AthleteDashboardQuery = {
11926
- athleteDashboard: {
11927
- vtxScore: number;
11928
- socialScore: number;
11929
- trainingScore: number;
11930
- competitionScore: number;
11931
- lastUpdated: string;
11932
- };
11933
- };
11934
- export type AthleteScoreHistoryQueryVariables = Exact<{
11935
- input: ScoreHistoryQueryDto;
11936
- }>;
11937
- export type AthleteScoreHistoryQuery = {
11938
- athleteScoreHistory: Array<{
11939
- date: string;
11940
- vtxScore?: number | null;
11941
- socialScore?: number | null;
11942
- trainingScore?: number | null;
11943
- competitionScore?: number | null;
11944
- }>;
11945
- };
11946
- export type AthleteRankHistoryQueryVariables = Exact<{
11947
- input: RankHistoryQueryDto;
11948
- }>;
11949
- export type AthleteRankHistoryQuery = {
11950
- athleteRankHistory: Array<{
11951
- date: string;
11952
- globalRank?: number | null;
11953
- countryRank?: number | null;
11954
- }>;
11955
- };
11956
- export type AthleteRankContextQueryVariables = Exact<{
11957
- input: RankContextQueryDto;
11958
- }>;
11959
- export type AthleteRankContextQuery = {
11960
- athleteRankContext: {
11961
- globalRank?: number | null;
11962
- countryRank?: number | null;
11963
- rankChange?: number | null;
11964
- percentile?: string | null;
11965
- gapToNext?: number | null;
11966
- gapFromPrevious?: number | null;
11967
- totalAthletes?: number | null;
11968
- };
11969
- };
11970
- export type AthleteActivitiesQueryVariables = Exact<{
11971
- input: ActivitiesQueryDto;
11972
- }>;
11973
- export type AthleteActivitiesQuery = {
11974
- athleteActivities: {
11975
- total: number;
11976
- hasMore: boolean;
11977
- };
11978
- };
11979
- export type AthleteActivityDetailQueryVariables = Exact<{
11980
- input: ActivityDetailQueryDto;
11981
- }>;
11982
- export type AthleteActivityDetailQuery = {
11983
- athleteActivityDetail: {
11984
- id: string;
11985
- date: string;
11986
- type: string;
11987
- category: string;
11988
- prMetrics?: Array<string> | null;
11989
- caption?: string | null;
11990
- metrics: Array<{
11991
- name: string;
11992
- }>;
11993
- };
11994
- };
11995
- export type AthleteComponentSummaryQueryVariables = Exact<{
11996
- input: ComponentSummaryQueryDto;
11997
- }>;
11998
- export type AthleteComponentSummaryQuery = {
11999
- athleteComponentSummary: {
12000
- name: string;
12001
- score: number;
12002
- maxScore: number;
12003
- trend?: number | null;
12004
- trendPeriod: string;
12005
- activityCount: number;
12006
- avgScorePerActivity?: number | null;
12007
- newMaxActivityIds?: Array<string> | null;
12008
- metricMaxes?: any | null;
12009
- topMetrics: Array<{
12010
- name: string;
12011
- }>;
12012
- };
12013
- };
12014
- export type AthleteActivityDatesQueryVariables = Exact<{
12015
- input: ActivityDatesQueryDto;
12016
- }>;
12017
- export type AthleteActivityDatesQuery = {
12018
- athleteActivityDates: {
12019
- __typename: 'ActivityDatesResponse';
12020
- };
12021
- };
12022
- export type SocialAggregatesQueryVariables = Exact<{
12023
- athleteId: Scalars['ID']['input'];
12024
- platform: Platform;
12025
- range: DateRangeInput;
12026
- periodType?: InputMaybe<PeriodType>;
12027
- }>;
12028
- export type SocialAggregatesQuery = {
12029
- socialAggregates: Array<{
12030
- _id: string;
12031
- athleteId: string;
12032
- platform: Platform;
12033
- contentType?: ContentType | null;
12034
- periodType: PeriodType;
12035
- periodLabel: string;
12036
- periodStart: string;
12037
- periodEnd: string;
12038
- totalLikes: number;
12039
- totalComments: number;
12040
- totalShares: number;
12041
- totalSaves: number;
12042
- totalReach: number;
12043
- totalViews: number;
12044
- totalImpressions: number;
12045
- postCount: number;
12046
- followerCount: number;
12047
- avgEngagementRate: number;
12048
- avgPostEngagement: number;
12049
- }>;
12050
- };
12051
- export type PostsWithComparisonQueryVariables = Exact<{
12052
- athleteId: Scalars['ID']['input'];
12053
- platform: Platform;
12054
- options?: InputMaybe<PostComparisonInput>;
12055
- }>;
12056
- export type PostsWithComparisonQuery = {
12057
- postsWithComparison: {
12058
- total: number;
12059
- hasMore: boolean;
12060
- };
12061
- };
12062
- export type GetEmailCampaignQueryVariables = Exact<{
12063
- id: Scalars['String']['input'];
12064
- }>;
12065
- export type GetEmailCampaignQuery = {
12066
- getEmailCampaign: {
12067
- _id: string;
12068
- subject: string;
12069
- templateId?: string | null;
12070
- templateName?: string | null;
12071
- htmlContent?: string | null;
12072
- audienceFilters: any;
12073
- segmentId?: string | null;
12074
- status: string;
12075
- scheduledFor?: string | null;
12076
- sentAt?: string | null;
12077
- recipientCount?: number | null;
12078
- createdBy: string;
12079
- createdAt: string;
12080
- updatedAt?: string | null;
12081
- testSentAt?: string | null;
12082
- segment?: {
12083
- _id: string;
12084
- name: string;
12085
- } | null;
12086
- };
12087
- };
12088
- export type LoginUserFromCredentialsMutationVariables = Exact<{
12089
- username: Scalars['String']['input'];
12090
- password: Scalars['String']['input'];
12091
- }>;
12092
- export type LoginUserFromCredentialsMutation = {
12093
- loginUserFromCredentials: {
12094
- _id: string;
12095
- loginEmail: string;
12096
- suspended: boolean;
12097
- loginMethods?: Array<string> | null;
12098
- domains?: Array<{
12099
- _id: string;
12100
- name: string;
12101
- }> | null;
12102
- };
12103
- };
12104
- export type DeleteUploadedUseTypeFileMutationVariables = Exact<{
12105
- input: Awss3DeleteUseTypeFileDto;
12106
- }>;
12107
- export type DeleteUploadedUseTypeFileMutation = {
12108
- deleteUploadedUseTypeFile: {
12109
- httpStatus: number;
12110
- result: string;
12111
- message: string;
12112
- errors?: Array<string> | null;
12113
- };
12114
- };
12115
- export type DeleteUploadedBucketFileMutationVariables = Exact<{
12116
- input: Awss3DeleteBucketFileDto;
12117
- }>;
12118
- export type DeleteUploadedBucketFileMutation = {
12119
- deleteUploadedBucketFile: {
12120
- httpStatus: number;
12121
- result: string;
12122
- message: string;
12123
- errors?: Array<string> | null;
12124
- };
12125
- };
12126
- export type RegisterS3UploadedFileMutationVariables = Exact<{
12127
- input: Awss3UploadedFileDto;
12128
- }>;
12129
- export type RegisterS3UploadedFileMutation = {
12130
- registerS3UploadedFile: {
12131
- _id: string;
12132
- name?: string | null;
12133
- contentType?: string | null;
12134
- size?: number | null;
12135
- useType?: string | null;
12136
- url: string;
12137
- key: string;
12138
- pendingDelete: boolean;
12139
- };
12140
- };
12141
- export type CreateIndustryMutationVariables = Exact<{
12142
- input: CreateIndustryDto;
12143
- }>;
12144
- export type CreateIndustryMutation = {
12145
- createIndustry: {
12146
- _id: string;
12147
- name: string;
12148
- };
12149
- };
12150
- export type RegisterSponsorMutationVariables = Exact<{
12151
- input: RegisterSponsorInput;
12152
- }>;
12153
- export type RegisterSponsorMutation = {
12154
- registerSponsor: {
12155
- _id: string;
12156
- name: string;
12157
- description?: string | null;
12158
- approved: boolean;
12159
- tenant?: {
12160
- _id: string;
12161
- name: string;
12162
- } | null;
12163
- industry?: {
12164
- _id: string;
12165
- name: string;
12166
- } | null;
12167
- brands?: Array<{
12168
- _id: string;
12169
- }> | null;
12170
- sponsorships?: Array<{
12171
- _id: string;
12172
- }> | null;
12173
- };
12174
- };
12175
- export type ReorderAlbumIndexMutationVariables = Exact<{
12176
- input: EditDisplayIndexDto;
12177
- }>;
12178
- export type ReorderAlbumIndexMutation = {
12179
- reorderAlbumIndex: Array<{
12180
- _id: string;
12181
- label: string;
12182
- description?: string | null;
12183
- displayIndex: number;
12184
- competitionId?: string | null;
12185
- visibility: string;
12186
- photos?: Array<{
12187
- _id: string;
12188
- }> | null;
12189
- }>;
12190
- };
12191
- export type EditAlbumMutationVariables = Exact<{
12192
- input: UploadAlbumsPicturesDto;
12193
- }>;
12194
- export type EditAlbumMutation = {
12195
- editAlbum: {
12196
- _id: string;
12197
- label: string;
12198
- description?: string | null;
12199
- displayIndex: number;
12200
- competitionId?: string | null;
12201
- visibility: string;
12202
- photos?: Array<{
12203
- _id: string;
12204
- }> | null;
12205
- };
12206
- };
12207
- export type DeleteAthletePhotosMutationVariables = Exact<{
12208
- input: DeleteValuesDto;
12209
- }>;
12210
- export type DeleteAthletePhotosMutation = {
12211
- deleteAthletePhotos: {
12212
- deleted: Array<string>;
12213
- failedToDelete: Array<string>;
12214
- result: string;
12215
- };
12216
- };
12217
- export type DeleteAthleteMembershipAffilationMutationVariables = Exact<{
12218
- input: DeleteSingleValueDto;
12219
- }>;
12220
- export type DeleteAthleteMembershipAffilationMutation = {
12221
- deleteAthleteMembershipAffilation: {
12222
- idToDelete: string;
12223
- deleted: boolean;
12224
- };
12225
- };
12226
- export type ApproveTeamMutationVariables = Exact<{
12227
- teamId: Scalars['String']['input'];
12228
- approved: Scalars['Boolean']['input'];
12229
- }>;
12230
- export type ApproveTeamMutation = {
12231
- approveTeam: {
12232
- _id: string;
12233
- name: string;
12234
- description?: string | null;
12235
- approved?: boolean | null;
12236
- joinPolicy?: string | null;
12237
- maxRosterSize?: number | null;
12238
- visibility?: string | null;
12239
- stripeAccountId?: string | null;
12240
- vtxScore?: number | null;
12241
- sports?: Array<{
12242
- _id: string;
12243
- name: string;
12244
- }> | null;
12245
- logo?: {
12246
- _id: string;
12247
- name?: string | null;
12248
- } | null;
12249
- banner?: {
12250
- _id: string;
12251
- name?: string | null;
12252
- } | null;
12253
- club?: {
12254
- _id: string;
12255
- name: string;
12256
- } | null;
12257
- athletes?: Array<{
12258
- _id: string;
12259
- }> | null;
12260
- };
12261
- };
12262
- export type ApproveClubMutationVariables = Exact<{
12263
- clubId: Scalars['String']['input'];
12264
- approved: Scalars['Boolean']['input'];
12265
- }>;
12266
- export type ApproveClubMutation = {
12267
- approveClub: {
12268
- _id: string;
12269
- name: string;
12270
- description?: string | null;
12271
- location?: string | null;
12272
- website?: string | null;
12273
- membershipType: string;
12274
- feeStructure?: any | null;
12275
- approved?: boolean | null;
12276
- visibility: string;
12277
- stripeAccountId?: string | null;
12278
- sports?: Array<{
12279
- _id: string;
12280
- name: string;
12281
- }> | null;
12282
- logo?: {
12283
- _id: string;
12284
- name?: string | null;
12285
- } | null;
12286
- banner?: {
12287
- _id: string;
12288
- name?: string | null;
12289
- } | null;
12290
- teams?: Array<{
12291
- _id: string;
12292
- name: string;
12293
- }> | null;
12294
- };
12295
- };
12296
- export type GetAthleteIntegrationsByAthleteQueryVariables = Exact<{
12297
- [key: string]: never;
12298
- }>;
12299
- export type GetAthleteIntegrationsByAthleteQuery = {
12300
- getAthleteInstagramIntegration: {
12301
- _id: string;
12302
- hasInstagramIntegration?: boolean | null;
12303
- athlete: {
12304
- _id: string;
12305
- };
12306
- instagramUserData?: {
12307
- user_id: string;
12308
- username: string;
12309
- name?: string | null;
12310
- account_type?: string | null;
12311
- followers_count?: string | null;
12312
- media_count?: number | null;
12313
- } | null;
12314
- instagramMediaData?: {
12315
- data?: Array<{
12316
- id: string;
12317
- caption?: string | null;
12318
- media_type: string;
12319
- media_url?: string | null;
12320
- permalink: string;
12321
- thumbnail_url?: string | null;
12322
- timestamp: string;
12323
- username: string;
12324
- like_count?: number | null;
12325
- comments_count?: number | null;
12326
- insights?: {
12327
- data?: Array<{
12328
- name: string;
12329
- period: string;
12330
- values: string;
12331
- }> | null;
12332
- } | null;
12333
- }> | null;
12334
- paging?: {
12335
- next?: string | null;
12336
- cursors?: {
12337
- before?: string | null;
12338
- after?: string | null;
12339
- } | null;
12340
- } | null;
12341
- } | null;
12342
- };
12343
- };
12344
- export type GetAthleteStravaIntegrationQueryVariables = Exact<{
12345
- [key: string]: never;
12346
- }>;
12347
- export type GetAthleteStravaIntegrationQuery = {
12348
- getAthleteStravaIntegration: {
12349
- _id: string;
12350
- hasStravaIntegration?: boolean | null;
12351
- athlete: {
12352
- _id: string;
12353
- };
12354
- stravaAthleteData?: {
12355
- id: number;
12356
- username?: string | null;
12357
- firstname: string;
12358
- lastname: string;
12359
- bio?: string | null;
12360
- city?: string | null;
12361
- state?: string | null;
12362
- country?: string | null;
12363
- sex?: string | null;
12364
- premium: boolean;
12365
- profile?: string | null;
12366
- created_at?: string | null;
12367
- updated_at?: string | null;
11547
+ stravaAthleteData?: {
11548
+ id: number;
11549
+ username?: string | null;
11550
+ firstname: string;
11551
+ lastname: string;
11552
+ bio?: string | null;
11553
+ city?: string | null;
11554
+ state?: string | null;
11555
+ country?: string | null;
11556
+ sex?: string | null;
11557
+ premium: boolean;
11558
+ profile?: string | null;
11559
+ created_at?: string | null;
11560
+ updated_at?: string | null;
12368
11561
  } | null;
12369
11562
  };
12370
11563
  };
@@ -12523,6 +11716,7 @@ export type GetLeaderboardQuery = {
12523
11716
  competitionScore?: number | null;
12524
11717
  mainSport?: string | null;
12525
11718
  mainSportLevel?: string | null;
11719
+ scoreHistory?: Array<number> | null;
12526
11720
  }>;
12527
11721
  pagination: {
12528
11722
  page: number;
@@ -14161,7 +13355,7 @@ export type GetSportsPaginatedQuery = {
14161
13355
  name: string;
14162
13356
  priority?: number | null;
14163
13357
  verified?: boolean | null;
14164
- resultType: string;
13358
+ resultType: CompetitionResultType;
14165
13359
  }>;
14166
13360
  pagination: {
14167
13361
  currentPage: number;
@@ -16018,6 +15212,9 @@ export declare const AthleteTeamFieldsFragmentDoc: import("graphql").DocumentNod
16018
15212
  export declare const AthleteClubFieldsFragmentDoc: import("graphql").DocumentNode;
16019
15213
  export declare const TeamAnalyticsFieldsFragmentDoc: import("graphql").DocumentNode;
16020
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;
16021
15218
  export declare const GetAiCoachThreadDocument: import("graphql").DocumentNode;
16022
15219
  export declare const GetAiCoachThreadHistoryDocument: import("graphql").DocumentNode;
16023
15220
  export declare const GetAiCoachThreadMessagesDocument: import("graphql").DocumentNode;
@@ -16040,6 +15237,7 @@ export declare const EditAboutMeDocument: import("graphql").DocumentNode;
16040
15237
  export declare const EditProfileValueDocument: import("graphql").DocumentNode;
16041
15238
  export declare const EditPictureDocument: import("graphql").DocumentNode;
16042
15239
  export declare const AddAthleteCompetitionDocument: import("graphql").DocumentNode;
15240
+ export declare const EditAthleteCompetitionDocument: import("graphql").DocumentNode;
16043
15241
  export declare const GetAthleteCompetitionsDocument: import("graphql").DocumentNode;
16044
15242
  export declare const GetAthleteMembershipsDocument: import("graphql").DocumentNode;
16045
15243
  export declare const DeleteAthleteCompetitionDocument: import("graphql").DocumentNode;
@@ -16154,54 +15352,7 @@ export declare const FollowAthleteDocument: import("graphql").DocumentNode;
16154
15352
  export declare const UnfollowAthleteDocument: import("graphql").DocumentNode;
16155
15353
  export declare const IsFollowingAthleteDocument: import("graphql").DocumentNode;
16156
15354
  export declare const MyFollowedAthletesDocument: import("graphql").DocumentNode;
16157
- export declare const FindTenantByIdDocument: import("graphql").DocumentNode;
16158
- export declare const FindTenantByEmailDocument: import("graphql").DocumentNode;
16159
- export declare const GetTenantsDocument: import("graphql").DocumentNode;
16160
- export declare const IsTenantUriAvailableDocument: import("graphql").DocumentNode;
16161
- export declare const FindUserByIdDocument: import("graphql").DocumentNode;
16162
- export declare const ValidateUserCredentialsDocument: import("graphql").DocumentNode;
16163
- export declare const GetUploadUrlDocument: import("graphql").DocumentNode;
16164
- export declare const IndustriesDocument: import("graphql").DocumentNode;
16165
- export declare const FindIndustryByIdDocument: import("graphql").DocumentNode;
16166
- export declare const BrandsDocument: import("graphql").DocumentNode;
16167
- export declare const GetBrandByNameDocument: import("graphql").DocumentNode;
16168
- export declare const GetBrandTranslationDocument: import("graphql").DocumentNode;
16169
- export declare const ExistsValidSponsorForEmailDocument: import("graphql").DocumentNode;
16170
- export declare const SponsorsDocument: import("graphql").DocumentNode;
16171
- export declare const FindAthleteByIdDocument: import("graphql").DocumentNode;
16172
- export declare const FindAthletebyIdpublicDocument: import("graphql").DocumentNode;
16173
- export declare const GetAthleteAlbumIdDocument: import("graphql").DocumentNode;
16174
- export declare const QueryAthleteWithFilterDocument: import("graphql").DocumentNode;
16175
- export declare const FindSportByIdDocument: import("graphql").DocumentNode;
16176
- export declare const GetBudgetItemUnitsDocument: import("graphql").DocumentNode;
16177
- export declare const OffersDocument: import("graphql").DocumentNode;
16178
- export declare const OffersForAthleteDocument: import("graphql").DocumentNode;
16179
- export declare const OfferDocument: import("graphql").DocumentNode;
16180
- export declare const MyOfferClaimsDocument: import("graphql").DocumentNode;
16181
- export declare const OfferAvailabilityDocument: import("graphql").DocumentNode;
16182
- export declare const AthleteDashboardDocument: import("graphql").DocumentNode;
16183
- export declare const AthleteScoreHistoryDocument: import("graphql").DocumentNode;
16184
- export declare const AthleteRankHistoryDocument: import("graphql").DocumentNode;
16185
- export declare const AthleteRankContextDocument: import("graphql").DocumentNode;
16186
- export declare const AthleteActivitiesDocument: import("graphql").DocumentNode;
16187
- export declare const AthleteActivityDetailDocument: import("graphql").DocumentNode;
16188
- export declare const AthleteComponentSummaryDocument: import("graphql").DocumentNode;
16189
- export declare const AthleteActivityDatesDocument: import("graphql").DocumentNode;
16190
- export declare const SocialAggregatesDocument: import("graphql").DocumentNode;
16191
- export declare const PostsWithComparisonDocument: import("graphql").DocumentNode;
16192
- export declare const GetEmailCampaignDocument: import("graphql").DocumentNode;
16193
- export declare const LoginUserFromCredentialsDocument: import("graphql").DocumentNode;
16194
- export declare const DeleteUploadedUseTypeFileDocument: import("graphql").DocumentNode;
16195
- export declare const DeleteUploadedBucketFileDocument: import("graphql").DocumentNode;
16196
- export declare const RegisterS3UploadedFileDocument: import("graphql").DocumentNode;
16197
- export declare const CreateIndustryDocument: import("graphql").DocumentNode;
16198
- export declare const RegisterSponsorDocument: import("graphql").DocumentNode;
16199
- export declare const ReorderAlbumIndexDocument: import("graphql").DocumentNode;
16200
- export declare const EditAlbumDocument: import("graphql").DocumentNode;
16201
- export declare const DeleteAthletePhotosDocument: import("graphql").DocumentNode;
16202
- export declare const DeleteAthleteMembershipAffilationDocument: import("graphql").DocumentNode;
16203
- export declare const ApproveTeamDocument: import("graphql").DocumentNode;
16204
- export declare const ApproveClubDocument: import("graphql").DocumentNode;
15355
+ export declare const GetRecentDonationsForCampaignDocument: import("graphql").DocumentNode;
16205
15356
  export declare const GetAthleteIntegrationsByAthleteDocument: import("graphql").DocumentNode;
16206
15357
  export declare const GetAthleteStravaIntegrationDocument: import("graphql").DocumentNode;
16207
15358
  export declare const GetAthleteInstagramIntegrationDocument: import("graphql").DocumentNode;
@@ -16331,6 +15482,9 @@ export declare const GetUsersPaginatedDocument: import("graphql").DocumentNode;
16331
15482
  export declare const GetDatabaseTextFileDocument: import("graphql").DocumentNode;
16332
15483
  export type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string, variables?: any) => Promise<T>;
16333
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>;
16334
15488
  GetAiCoachThread(variables?: GetAiCoachThreadQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAiCoachThreadQuery>;
16335
15489
  GetAiCoachThreadHistory(variables?: GetAiCoachThreadHistoryQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAiCoachThreadHistoryQuery>;
16336
15490
  GetAiCoachThreadMessages(variables: GetAiCoachThreadMessagesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAiCoachThreadMessagesQuery>;
@@ -16353,6 +15507,7 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
16353
15507
  EditProfileValue(variables: EditProfileValueMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<EditProfileValueMutation>;
16354
15508
  EditPicture(variables: EditPictureMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<EditPictureMutation>;
16355
15509
  AddAthleteCompetition(variables: AddAthleteCompetitionMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<AddAthleteCompetitionMutation>;
15510
+ EditAthleteCompetition(variables: EditAthleteCompetitionMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<EditAthleteCompetitionMutation>;
16356
15511
  GetAthleteCompetitions(variables: GetAthleteCompetitionsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAthleteCompetitionsQuery>;
16357
15512
  GetAthleteMemberships(variables: GetAthleteMembershipsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAthleteMembershipsQuery>;
16358
15513
  DeleteAthleteCompetition(variables: DeleteAthleteCompetitionMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<DeleteAthleteCompetitionMutation>;
@@ -16467,54 +15622,7 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
16467
15622
  UnfollowAthlete(variables: UnfollowAthleteMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<UnfollowAthleteMutation>;
16468
15623
  IsFollowingAthlete(variables: IsFollowingAthleteQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<IsFollowingAthleteQuery>;
16469
15624
  MyFollowedAthletes(variables?: MyFollowedAthletesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<MyFollowedAthletesQuery>;
16470
- FindTenantById(variables: FindTenantByIdQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindTenantByIdQuery>;
16471
- FindTenantByEmail(variables: FindTenantByEmailQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindTenantByEmailQuery>;
16472
- GetTenants(variables?: GetTenantsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetTenantsQuery>;
16473
- IsTenantUriAvailable(variables: IsTenantUriAvailableQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<IsTenantUriAvailableQuery>;
16474
- FindUserById(variables: FindUserByIdQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindUserByIdQuery>;
16475
- ValidateUserCredentials(variables: ValidateUserCredentialsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ValidateUserCredentialsQuery>;
16476
- GetUploadUrl(variables: GetUploadUrlQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetUploadUrlQuery>;
16477
- Industries(variables?: IndustriesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<IndustriesQuery>;
16478
- FindIndustryById(variables: FindIndustryByIdQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindIndustryByIdQuery>;
16479
- Brands(variables?: BrandsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<BrandsQuery>;
16480
- GetBrandByName(variables: GetBrandByNameQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetBrandByNameQuery>;
16481
- GetBrandTranslation(variables: GetBrandTranslationQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetBrandTranslationQuery>;
16482
- ExistsValidSponsorForEmail(variables: ExistsValidSponsorForEmailQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ExistsValidSponsorForEmailQuery>;
16483
- Sponsors(variables?: SponsorsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<SponsorsQuery>;
16484
- FindAthleteById(variables: FindAthleteByIdQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindAthleteByIdQuery>;
16485
- FindAthletebyIdpublic(variables: FindAthletebyIdpublicQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindAthletebyIdpublicQuery>;
16486
- GetAthleteAlbumId(variables: GetAthleteAlbumIdQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAthleteAlbumIdQuery>;
16487
- QueryAthleteWithFilter(variables: QueryAthleteWithFilterQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<QueryAthleteWithFilterQuery>;
16488
- FindSportById(variables: FindSportByIdQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindSportByIdQuery>;
16489
- GetBudgetItemUnits(variables?: GetBudgetItemUnitsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetBudgetItemUnitsQuery>;
16490
- Offers(variables?: OffersQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<OffersQuery>;
16491
- OffersForAthlete(variables?: OffersForAthleteQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<OffersForAthleteQuery>;
16492
- Offer(variables: OfferQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<OfferQuery>;
16493
- MyOfferClaims(variables: MyOfferClaimsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<MyOfferClaimsQuery>;
16494
- OfferAvailability(variables: OfferAvailabilityQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<OfferAvailabilityQuery>;
16495
- AthleteDashboard(variables: AthleteDashboardQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<AthleteDashboardQuery>;
16496
- AthleteScoreHistory(variables: AthleteScoreHistoryQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<AthleteScoreHistoryQuery>;
16497
- AthleteRankHistory(variables: AthleteRankHistoryQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<AthleteRankHistoryQuery>;
16498
- AthleteRankContext(variables: AthleteRankContextQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<AthleteRankContextQuery>;
16499
- AthleteActivities(variables: AthleteActivitiesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<AthleteActivitiesQuery>;
16500
- AthleteActivityDetail(variables: AthleteActivityDetailQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<AthleteActivityDetailQuery>;
16501
- AthleteComponentSummary(variables: AthleteComponentSummaryQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<AthleteComponentSummaryQuery>;
16502
- AthleteActivityDates(variables: AthleteActivityDatesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<AthleteActivityDatesQuery>;
16503
- SocialAggregates(variables: SocialAggregatesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<SocialAggregatesQuery>;
16504
- PostsWithComparison(variables: PostsWithComparisonQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<PostsWithComparisonQuery>;
16505
- GetEmailCampaign(variables: GetEmailCampaignQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetEmailCampaignQuery>;
16506
- LoginUserFromCredentials(variables: LoginUserFromCredentialsMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<LoginUserFromCredentialsMutation>;
16507
- DeleteUploadedUseTypeFile(variables: DeleteUploadedUseTypeFileMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<DeleteUploadedUseTypeFileMutation>;
16508
- DeleteUploadedBucketFile(variables: DeleteUploadedBucketFileMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<DeleteUploadedBucketFileMutation>;
16509
- RegisterS3UploadedFile(variables: RegisterS3UploadedFileMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<RegisterS3UploadedFileMutation>;
16510
- CreateIndustry(variables: CreateIndustryMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateIndustryMutation>;
16511
- RegisterSponsor(variables: RegisterSponsorMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<RegisterSponsorMutation>;
16512
- ReorderAlbumIndex(variables: ReorderAlbumIndexMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ReorderAlbumIndexMutation>;
16513
- EditAlbum(variables: EditAlbumMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<EditAlbumMutation>;
16514
- DeleteAthletePhotos(variables: DeleteAthletePhotosMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<DeleteAthletePhotosMutation>;
16515
- DeleteAthleteMembershipAffilation(variables: DeleteAthleteMembershipAffilationMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<DeleteAthleteMembershipAffilationMutation>;
16516
- ApproveTeam(variables: ApproveTeamMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ApproveTeamMutation>;
16517
- ApproveClub(variables: ApproveClubMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ApproveClubMutation>;
15625
+ GetRecentDonationsForCampaign(variables: GetRecentDonationsForCampaignQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetRecentDonationsForCampaignQuery>;
16518
15626
  GetAthleteIntegrationsByAthlete(variables?: GetAthleteIntegrationsByAthleteQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAthleteIntegrationsByAthleteQuery>;
16519
15627
  GetAthleteStravaIntegration(variables?: GetAthleteStravaIntegrationQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAthleteStravaIntegrationQuery>;
16520
15628
  GetAthleteInstagramIntegration(variables?: GetAthleteInstagramIntegrationQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAthleteInstagramIntegrationQuery>;