@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.
Files changed (97) 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/ai-coach.api.d.ts +2 -0
  6. package/src/api/domains/generated/ai-coach.api.js +33 -0
  7. package/src/api/domains/generated/ai-coach.api.js.map +1 -0
  8. package/src/api/domains/generated/athlete.api.d.ts +2 -0
  9. package/src/api/domains/generated/athlete.api.js +177 -0
  10. package/src/api/domains/generated/athlete.api.js.map +1 -0
  11. package/src/api/domains/generated/auth.api.d.ts +2 -0
  12. package/src/api/domains/generated/auth.api.js +66 -0
  13. package/src/api/domains/generated/auth.api.js.map +1 -0
  14. package/src/api/domains/generated/campaign.api.d.ts +2 -0
  15. package/src/api/domains/generated/campaign.api.js +99 -0
  16. package/src/api/domains/generated/campaign.api.js.map +1 -0
  17. package/src/api/domains/generated/email-campaign.api.d.ts +2 -0
  18. package/src/api/domains/generated/email-campaign.api.js +54 -0
  19. package/src/api/domains/generated/email-campaign.api.js.map +1 -0
  20. package/src/api/domains/generated/followers.api.d.ts +2 -0
  21. package/src/api/domains/generated/followers.api.js +18 -0
  22. package/src/api/domains/generated/followers.api.js.map +1 -0
  23. package/src/api/domains/generated/index.d.ts +18 -0
  24. package/src/api/domains/generated/index.js +40 -0
  25. package/src/api/domains/generated/index.js.map +1 -0
  26. package/src/api/domains/generated/integrations.api.d.ts +2 -0
  27. package/src/api/domains/generated/integrations.api.js +27 -0
  28. package/src/api/domains/generated/integrations.api.js.map +1 -0
  29. package/src/api/domains/generated/leaderboard.api.d.ts +2 -0
  30. package/src/api/domains/generated/leaderboard.api.js +15 -0
  31. package/src/api/domains/generated/leaderboard.api.js.map +1 -0
  32. package/src/api/domains/generated/media.api.d.ts +2 -0
  33. package/src/api/domains/generated/media.api.js +45 -0
  34. package/src/api/domains/generated/media.api.js.map +1 -0
  35. package/src/api/domains/generated/misc.api.d.ts +2 -0
  36. package/src/api/domains/generated/misc.api.js +9 -0
  37. package/src/api/domains/generated/misc.api.js.map +1 -0
  38. package/src/api/domains/generated/notifications.api.d.ts +2 -0
  39. package/src/api/domains/generated/notifications.api.js +33 -0
  40. package/src/api/domains/generated/notifications.api.js.map +1 -0
  41. package/src/api/domains/generated/offers.api.d.ts +2 -0
  42. package/src/api/domains/generated/offers.api.js +51 -0
  43. package/src/api/domains/generated/offers.api.js.map +1 -0
  44. package/src/api/domains/generated/onboarding.api.d.ts +2 -0
  45. package/src/api/domains/generated/onboarding.api.js +15 -0
  46. package/src/api/domains/generated/onboarding.api.js.map +1 -0
  47. package/src/api/domains/generated/sponsor.api.d.ts +2 -0
  48. package/src/api/domains/generated/sponsor.api.js +54 -0
  49. package/src/api/domains/generated/sponsor.api.js.map +1 -0
  50. package/src/api/domains/generated/sport.api.d.ts +2 -0
  51. package/src/api/domains/generated/sport.api.js +45 -0
  52. package/src/api/domains/generated/sport.api.js.map +1 -0
  53. package/src/api/domains/generated/teams-clubs.api.d.ts +2 -0
  54. package/src/api/domains/generated/teams-clubs.api.js +102 -0
  55. package/src/api/domains/generated/teams-clubs.api.js.map +1 -0
  56. package/src/api/domains/generated/user.api.d.ts +2 -0
  57. package/src/api/domains/generated/user.api.js +54 -0
  58. package/src/api/domains/generated/user.api.js.map +1 -0
  59. package/src/api/domains/generated/vtx-base-api.augment.d.ts +274 -0
  60. package/src/api/domains/generated/vtx-base-api.augment.js +3 -0
  61. package/src/api/domains/generated/vtx-base-api.augment.js.map +1 -0
  62. package/src/api/domains/overrides/auth.overrides.d.ts +2 -0
  63. package/src/api/domains/overrides/auth.overrides.js +30 -0
  64. package/src/api/domains/overrides/auth.overrides.js.map +1 -0
  65. package/src/api/domains/overrides/campaign.overrides.d.ts +2 -0
  66. package/src/api/domains/overrides/campaign.overrides.js +9 -0
  67. package/src/api/domains/overrides/campaign.overrides.js.map +1 -0
  68. package/src/api/domains/overrides/compat.overrides.d.ts +2 -0
  69. package/src/api/domains/overrides/compat.overrides.js +74 -0
  70. package/src/api/domains/overrides/compat.overrides.js.map +1 -0
  71. package/src/api/domains/overrides/competition.overrides.d.ts +2 -0
  72. package/src/api/domains/overrides/competition.overrides.js +9 -0
  73. package/src/api/domains/overrides/competition.overrides.js.map +1 -0
  74. package/src/api/domains/overrides/index.d.ts +5 -0
  75. package/src/api/domains/overrides/index.js +14 -0
  76. package/src/api/domains/overrides/index.js.map +1 -0
  77. package/src/api/domains/overrides/sponsor.overrides.d.ts +2 -0
  78. package/src/api/domains/overrides/sponsor.overrides.js +47 -0
  79. package/src/api/domains/overrides/sponsor.overrides.js.map +1 -0
  80. package/src/api/vtx-base-api.d.ts +1 -373
  81. package/src/api/vtx-base-api.js +27 -870
  82. package/src/api/vtx-base-api.js.map +1 -1
  83. package/src/client/schema.d.ts +251 -15
  84. package/src/client/schema.js +161 -3
  85. package/src/client/schema.js.map +1 -1
  86. package/src/client/types.d.ts +63 -3
  87. package/src/client/types.js +1042 -898
  88. package/src/client/types.js.map +1 -1
  89. package/src/generated/graphql.d.ts +261 -32
  90. package/src/generated/graphql.js +144 -6
  91. package/src/generated/graphql.js.map +1 -1
  92. package/src/scripts/generate-api-wrappers.d.ts +2 -0
  93. package/src/scripts/generate-api-wrappers.js +229 -0
  94. package/src/scripts/generate-api-wrappers.js.map +1 -0
  95. package/src/scripts/generate-operations.d.ts +1 -0
  96. package/src/scripts/generate-operations.js +168 -0
  97. package/src/scripts/generate-operations.js.map +1 -0
@@ -185,12 +185,14 @@ export interface PlanPrice {
185
185
  _id: Scalars['String'];
186
186
  currency: Scalars['String'];
187
187
  price: Scalars['Float'];
188
- taxMode: Scalars['String'];
189
- period: Scalars['String'];
188
+ taxMode: TaxCalculation;
189
+ period: PlanPeriod;
190
190
  customDays: (Scalars['Float'] | null);
191
191
  plan: (Plan | null);
192
192
  __typename: 'PlanPrice';
193
193
  }
194
+ export type TaxCalculation = 'PLUS_TAX' | 'TAX_INCLUDED' | 'NO_TAX';
195
+ export type PlanPeriod = 'DAYLY' | 'WEEKLY' | 'MONTHLY' | 'QUATERLY' | 'SEMESTER' | 'YEARLY' | 'CUSTOM_DAYS';
194
196
  export interface Invoice {
195
197
  _id: Scalars['String'];
196
198
  invoiceDate: Scalars['DateTime'];
@@ -616,7 +618,7 @@ export interface FollowStats {
616
618
  export interface Sport {
617
619
  _id: Scalars['String'];
618
620
  name: Scalars['String'];
619
- resultType: Scalars['String'];
621
+ resultType: CompetitionResultType;
620
622
  verified: (Scalars['Boolean'] | null);
621
623
  priority: (Scalars['Float'] | null);
622
624
  __typename: 'Sport';
@@ -741,8 +743,10 @@ export interface AthleteCompetitionResult {
741
743
  categoryParticipants: (Scalars['Float'] | null);
742
744
  categoryName: (Scalars['String'] | null);
743
745
  pointsEarned: (Scalars['Float'] | null);
746
+ verificationTier: (CompetitionVerificationTier | null);
744
747
  __typename: 'AthleteCompetitionResult';
745
748
  }
749
+ export type CompetitionVerificationTier = 'SELF_REPORTED' | 'LINK_PROVIDED' | 'LINK_EXTRACTED_MATCH' | 'STRAVA_CORROBORATED' | 'ATHLINKS_CLAIMED' | 'FEDERATION_VERIFIED';
746
750
  export interface BudgetItem {
747
751
  _id: Scalars['String'];
748
752
  quantity: Scalars['Float'];
@@ -991,12 +995,13 @@ export interface StripeAccountReference {
991
995
  }
992
996
  export interface HistoricalScore {
993
997
  _id: Scalars['String'];
994
- scoreType: Scalars['String'];
998
+ scoreType: ScoreType;
995
999
  score: Scalars['Float'];
996
1000
  date: Scalars['DateTime'];
997
1001
  athleteId: Scalars['String'];
998
1002
  __typename: 'HistoricalScore';
999
1003
  }
1004
+ export type ScoreType = 'VTX_SCORE' | 'SOCIAL_SCORE' | 'TRANING_SCORE' | 'COMPETITION_SCORE';
1000
1005
  export interface AthleteReference {
1001
1006
  _id: Scalars['String'];
1002
1007
  firstName: Scalars['String'];
@@ -1719,6 +1724,12 @@ export interface AthleteClub {
1719
1724
  leftAt: (Scalars['DateTime'] | null);
1720
1725
  __typename: 'AthleteClub';
1721
1726
  }
1727
+ export interface AdminUser {
1728
+ _id: Scalars['String'];
1729
+ loginEmail: Scalars['String'];
1730
+ isSuperAdmin: Scalars['Boolean'];
1731
+ __typename: 'AdminUser';
1732
+ }
1722
1733
  export interface UserImages {
1723
1734
  profilePictureUrl: (Scalars['String'] | null);
1724
1735
  cardPictureUrl: (Scalars['String'] | null);
@@ -1748,6 +1759,11 @@ export interface PaginatedUsers {
1748
1759
  pagination: EnhancedPaginationInfoType;
1749
1760
  __typename: 'PaginatedUsers';
1750
1761
  }
1762
+ export interface RemoveAdminUserResponse {
1763
+ success: Scalars['Boolean'];
1764
+ message: (Scalars['String'] | null);
1765
+ __typename: 'RemoveAdminUserResponse';
1766
+ }
1751
1767
  export interface TransactionDetails {
1752
1768
  stripeCheckoutSessionId: Scalars['String'];
1753
1769
  vtxCheckoutSessionId: Scalars['String'];
@@ -1870,6 +1886,7 @@ export interface LeaderboardEntry {
1870
1886
  competitionScore: (Scalars['Float'] | null);
1871
1887
  mainSport: (Scalars['String'] | null);
1872
1888
  mainSportLevel: (Scalars['String'] | null);
1889
+ scoreHistory: (Scalars['Float'][] | null);
1873
1890
  __typename: 'LeaderboardEntry';
1874
1891
  }
1875
1892
  export interface LeaderboardPagination {
@@ -2286,8 +2303,24 @@ export interface TeamDashboard {
2286
2303
  leaderboard: TeamLeaderboardEntry[];
2287
2304
  __typename: 'TeamDashboard';
2288
2305
  }
2306
+ export type VisibilityScope = 'PUBLIC' | 'FRIENDS' | 'PRIVATE';
2289
2307
  export type TimeRange = 'SEVEN_DAYS' | 'THIRTY_DAYS' | 'NINETY_DAYS' | 'ONE_YEAR' | 'ALL_TIME';
2290
2308
  export type DonationMode = 'PUBLIC' | 'PRIVATE' | 'ANONYMOUS';
2309
+ export type CompetitionGender = 'MALE' | 'FEMALE';
2310
+ export type TimeUnit = 'SECONDS' | 'MINUTES' | 'DAYS' | 'HOURS' | 'WEEKS' | 'MONTHS' | 'YEARS';
2311
+ export type MatchMode = 'SPECIFIED_OR_GREATER' | 'SPECIFIED_OR_LOWER' | 'ONLY_SPECIFIED';
2312
+ export type AthleteRequestStatus = 'OPEN' | 'CLOSED';
2313
+ export type AthleteSponsorshipStatus = 'PREPARING' | 'CANCELLED' | 'APPROVED' | 'ACTIVE' | 'EXPIRED' | 'CLOSED';
2314
+ export type RequestItemType = 'CASH' | 'EQUIPMENT' | 'TRAVEL' | 'PRODUCT' | 'OTHER';
2315
+ export type CommitmentMedia = 'OTHER' | 'ANY' | 'IN_PERSON_PUBLIC' | 'IN_PERSON_VIP' | 'VIRTUAL_CONFERENCE' | 'IN_PERSON_DELIVERY' | 'COURIER_DELIVERY' | 'MAIL_DELIVERY' | 'ELECTRONIC_DELIVERY' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER_X' | 'TIKTOK' | 'APPLE' | 'YOUTUBE' | 'LINKEDIN' | 'TV' | 'RADIO' | 'INTERNET';
2316
+ export type CommitmentActionType = 'OTHER' | 'SOCIAL_STORY' | 'SOCIAL_POST' | 'SHORT_VIDEO' | 'LONG_VIDEO' | 'LIVE_VIDEO' | 'PRESS_CONFERENCE' | 'MEET_AND_GREET' | 'PHOTO_SESSION' | 'BANNER_AD' | 'PRINT_AD' | 'WEB_AD' | 'RADIO_COMMERCIAL' | 'TV_COMMERCIAL' | 'RADIO_INTERVIEW' | 'TV_INTERVIEW' | 'PODCAST' | 'WEB_INTERVIEW';
2317
+ export type CompanySize = 'MICRO' | 'SMALL' | 'MEDIUM' | 'LARGE';
2318
+ export type NumberOfAthletesSponsored = 'FEW' | 'SOME' | 'MANY' | 'ALOT';
2319
+ export type CommitmentTypeEnum = 'REGULAR' | 'DATED' | 'RECURRENT';
2320
+ export type CompetitionResultType = 'POSITION' | 'SCORE';
2321
+ export type AgeDetermination = 'YEAR_OF_BIRTH' | 'AGE_ON_EVENT';
2322
+ export type TaskStatus = 'PENDING' | 'DONE' | 'EXPIRED';
2323
+ export type StripeQueryOperation = 'CheckoutSession';
2291
2324
  export type OfferClaimStatus = 'ACTIVE' | 'EXPIRED' | 'ALL';
2292
2325
  export type PostSortOption = 'RECENT' | 'TOP' | 'UNDERPERFORMING';
2293
2326
  export interface Query {
@@ -2355,12 +2388,14 @@ export interface Query {
2355
2388
  isUserSuspended: Scalars['Boolean'];
2356
2389
  getAllUsers: AdminUserView[];
2357
2390
  getUsersPaginated: PaginatedUsers;
2391
+ getAdminUsers: AdminUser[];
2358
2392
  getStravaLoginUrl: Scalars['String'];
2359
2393
  getSportsEvents: SportsEvent[];
2360
2394
  getSportsEventsPaginated: PaginatedEvents;
2361
2395
  getBudgetsByAthlete: BudgetData;
2362
2396
  getDonationsByAthlete: Receipt[];
2363
2397
  getDonationsToAthlete: Donation[];
2398
+ getRecentDonationsForCampaign: Donation[];
2364
2399
  getDonationsToMe: Donation[];
2365
2400
  getBudgetConcepts: BudgetConcept[];
2366
2401
  getBudgetItemUnits: BudgetItemUnit[];
@@ -2466,6 +2501,7 @@ export interface Mutation {
2466
2501
  editPicture: EditPictureResponse;
2467
2502
  AddAlbumPictures: AddValuesResponse;
2468
2503
  addAthleteCompetition: AthleteCompetition;
2504
+ editAthleteCompetition: AthleteCompetition;
2469
2505
  deleteAthleteCompetition: DeleteSingleValueResponse;
2470
2506
  createAthleteAlbum: Album;
2471
2507
  reorderAlbumIndex: Album[];
@@ -2499,6 +2535,8 @@ export interface Mutation {
2499
2535
  updateUserSuspendedStatus: EditValueResponse;
2500
2536
  deleteMyAccount: DeleteVtxUserResponse;
2501
2537
  deleteVtxUser: DeleteVtxUserResponse;
2538
+ addAdminUser: AdminUser;
2539
+ removeAdminUser: RemoveAdminUserResponse;
2502
2540
  createSportsEvent: SportsEvent;
2503
2541
  updateSportsEvent: SportsEvent;
2504
2542
  deleteSportsEvent: EditValueResponse;
@@ -3394,6 +3432,7 @@ export interface AthleteCompetitionResultGenqlSelection {
3394
3432
  categoryParticipants?: boolean | number;
3395
3433
  categoryName?: boolean | number;
3396
3434
  pointsEarned?: boolean | number;
3435
+ verificationTier?: boolean | number;
3397
3436
  __typename?: boolean | number;
3398
3437
  __scalar?: boolean | number;
3399
3438
  }
@@ -4463,6 +4502,13 @@ export interface AthleteClubGenqlSelection {
4463
4502
  __typename?: boolean | number;
4464
4503
  __scalar?: boolean | number;
4465
4504
  }
4505
+ export interface AdminUserGenqlSelection {
4506
+ _id?: boolean | number;
4507
+ loginEmail?: boolean | number;
4508
+ isSuperAdmin?: boolean | number;
4509
+ __typename?: boolean | number;
4510
+ __scalar?: boolean | number;
4511
+ }
4466
4512
  export interface UserImagesGenqlSelection {
4467
4513
  profilePictureUrl?: boolean | number;
4468
4514
  cardPictureUrl?: boolean | number;
@@ -4496,6 +4542,12 @@ export interface PaginatedUsersGenqlSelection {
4496
4542
  __typename?: boolean | number;
4497
4543
  __scalar?: boolean | number;
4498
4544
  }
4545
+ export interface RemoveAdminUserResponseGenqlSelection {
4546
+ success?: boolean | number;
4547
+ message?: boolean | number;
4548
+ __typename?: boolean | number;
4549
+ __scalar?: boolean | number;
4550
+ }
4499
4551
  export interface TransactionDetailsGenqlSelection {
4500
4552
  stripeCheckoutSessionId?: boolean | number;
4501
4553
  vtxCheckoutSessionId?: boolean | number;
@@ -4630,6 +4682,7 @@ export interface LeaderboardEntryGenqlSelection {
4630
4682
  competitionScore?: boolean | number;
4631
4683
  mainSport?: boolean | number;
4632
4684
  mainSportLevel?: boolean | number;
4685
+ scoreHistory?: boolean | number;
4633
4686
  __typename?: boolean | number;
4634
4687
  __scalar?: boolean | number;
4635
4688
  }
@@ -5143,7 +5196,7 @@ export interface VerifyCodeDto {
5143
5196
  export interface DonationCheckoutDto {
5144
5197
  fundingCampaignId: Scalars['String'];
5145
5198
  donationAmount: Scalars['Float'];
5146
- mode?: Scalars['String'];
5199
+ mode?: DonationMode;
5147
5200
  fromName?: (Scalars['String'] | null);
5148
5201
  fromEmail?: (Scalars['String'] | null);
5149
5202
  fromPhone?: (Scalars['String'] | null);
@@ -5273,12 +5326,19 @@ export interface CursorPaginationDto {
5273
5326
  limit?: (Scalars['Float'] | null);
5274
5327
  cursorPosition?: (CursorPositionDto | null);
5275
5328
  }
5329
+ export interface EditAthleteCompetitionDto {
5330
+ competitionId: Scalars['String'];
5331
+ participationDate?: (Scalars['DateTime'] | null);
5332
+ competitionNumber?: (Scalars['String'] | null);
5333
+ eventWebsite?: (Scalars['String'] | null);
5334
+ cityId?: (Scalars['String'] | null);
5335
+ }
5276
5336
  export interface DeleteSingleValueDto {
5277
5337
  idToDelete: Scalars['String'];
5278
5338
  }
5279
5339
  export interface FundCampaignFilterDto {
5280
5340
  campaignTitle?: (Scalars['String'] | null);
5281
- status?: (Scalars['String'] | null);
5341
+ status?: (FundingStatus | null);
5282
5342
  minCompletion?: (Scalars['Float'] | null);
5283
5343
  maxCompletion?: (Scalars['Float'] | null);
5284
5344
  minFundsRequired?: (Scalars['Float'] | null);
@@ -5301,7 +5361,7 @@ export interface AthleteFilterDto {
5301
5361
  sports?: (Scalars['String'][] | null);
5302
5362
  sportLevels?: (Scalars['String'][] | null);
5303
5363
  mainSportOnly?: (Scalars['Boolean'] | null);
5304
- gender?: (Scalars['String'] | null);
5364
+ gender?: (CompetitionGender | null);
5305
5365
  minAge?: (Scalars['Float'] | null);
5306
5366
  maxAge?: (Scalars['Float'] | null);
5307
5367
  minDob?: (Scalars['DateTime'] | null);
@@ -5330,7 +5390,7 @@ export interface UploadAlbumsPicturesDto {
5330
5390
  description?: (Scalars['String'] | null);
5331
5391
  pictures?: (AWSS3UploadedFileDto[] | null);
5332
5392
  albumId?: (Scalars['String'] | null);
5333
- visibility?: (Scalars['String'] | null);
5393
+ visibility?: (VisibilityScope | null);
5334
5394
  competitionId?: (Scalars['String'] | null);
5335
5395
  }
5336
5396
  export interface DeleteValuesDto {
@@ -5471,6 +5531,9 @@ export interface UserQueryDto {
5471
5531
  export interface DeleteVtxUserDto {
5472
5532
  userIdentifier: Scalars['String'];
5473
5533
  }
5534
+ export interface AdminEmailDto {
5535
+ email: Scalars['String'];
5536
+ }
5474
5537
  export interface GetReceiptDto {
5475
5538
  _id: Scalars['String'];
5476
5539
  }
@@ -5484,7 +5547,6 @@ export interface GetTransactionDetailsDto {
5484
5547
  stripeSessionId?: (Scalars['String'] | null);
5485
5548
  }
5486
5549
  export interface UpdateSportEventDto {
5487
- _id: Scalars['String'];
5488
5550
  name?: (Scalars['String'] | null);
5489
5551
  cityId?: (Scalars['String'] | null);
5490
5552
  sportId?: (Scalars['String'] | null);
@@ -5493,6 +5555,7 @@ export interface UpdateSportEventDto {
5493
5555
  website?: (Scalars['String'] | null);
5494
5556
  banner?: (AWSS3UploadedFileDto | null);
5495
5557
  eventLevel?: (Scalars['String'] | null);
5558
+ _id: Scalars['String'];
5496
5559
  }
5497
5560
  export interface MergeSportsEventsDto {
5498
5561
  mergeTo: Scalars['String'];
@@ -5542,7 +5605,7 @@ export interface CreateVideoDto {
5542
5605
  sourceData?: Scalars['String'];
5543
5606
  }
5544
5607
  export interface CreateFundingCampaignDto {
5545
- budgetMode: Scalars['String'];
5608
+ budgetMode: FundingMode;
5546
5609
  title: Scalars['String'];
5547
5610
  motivation: Scalars['String'];
5548
5611
  website?: (Scalars['String'] | null);
@@ -5560,7 +5623,7 @@ export interface CreateFundingCampaignDto {
5560
5623
  autoSendThankYou?: (Scalars['Boolean'] | null);
5561
5624
  }
5562
5625
  export interface CreateFundingCampaignForDto {
5563
- budgetMode: Scalars['String'];
5626
+ budgetMode: FundingMode;
5564
5627
  title: Scalars['String'];
5565
5628
  motivation: Scalars['String'];
5566
5629
  website?: (Scalars['String'] | null);
@@ -5579,7 +5642,7 @@ export interface CreateFundingCampaignForDto {
5579
5642
  loginEmail: Scalars['String'];
5580
5643
  }
5581
5644
  export interface UpdateFundingCampaignDto {
5582
- budgetMode: Scalars['String'];
5645
+ budgetMode: FundingMode;
5583
5646
  title: Scalars['String'];
5584
5647
  motivation: Scalars['String'];
5585
5648
  website?: (Scalars['String'] | null);
@@ -5603,7 +5666,7 @@ export interface SetFundingStatusDto {
5603
5666
  }
5604
5667
  export interface BudgetDto {
5605
5668
  items: BudgetItemDto[];
5606
- fundingMode?: (Scalars['String'] | null);
5669
+ fundingMode?: (FundingMode | null);
5607
5670
  }
5608
5671
  export interface AddCompetitionBudgetDto {
5609
5672
  competitionId: Scalars['String'];
@@ -5879,12 +5942,12 @@ export interface CreateTeamInput {
5879
5942
  clubId?: (Scalars['String'] | null);
5880
5943
  }
5881
5944
  export interface UpdateTeamInput {
5882
- teamId: Scalars['String'];
5883
5945
  name?: (Scalars['String'] | null);
5884
5946
  description?: (Scalars['String'] | null);
5885
5947
  joinPolicy?: (Scalars['String'] | null);
5886
5948
  maxRosterSize?: (Scalars['Int'] | null);
5887
5949
  visibility?: (Scalars['String'] | null);
5950
+ teamId: Scalars['String'];
5888
5951
  }
5889
5952
  export interface JoinTeamInput {
5890
5953
  teamId: Scalars['String'];
@@ -5908,7 +5971,6 @@ export interface CreateClubInput {
5908
5971
  website?: (Scalars['String'] | null);
5909
5972
  }
5910
5973
  export interface UpdateClubInput {
5911
- clubId: Scalars['String'];
5912
5974
  name?: (Scalars['String'] | null);
5913
5975
  description?: (Scalars['String'] | null);
5914
5976
  membershipType?: (Scalars['String'] | null);
@@ -5916,6 +5978,7 @@ export interface UpdateClubInput {
5916
5978
  visibility?: (Scalars['String'] | null);
5917
5979
  location?: (Scalars['String'] | null);
5918
5980
  website?: (Scalars['String'] | null);
5981
+ clubId: Scalars['String'];
5919
5982
  }
5920
5983
  export interface JoinClubInput {
5921
5984
  clubId: Scalars['String'];
@@ -6193,6 +6256,7 @@ export interface QueryGenqlSelection {
6193
6256
  query?: (UserQueryDto | null);
6194
6257
  };
6195
6258
  });
6259
+ getAdminUsers?: AdminUserGenqlSelection;
6196
6260
  getStravaLoginUrl?: boolean | number;
6197
6261
  getSportsEvents?: (SportsEventGenqlSelection & {
6198
6262
  __args: {
@@ -6211,6 +6275,13 @@ export interface QueryGenqlSelection {
6211
6275
  athleteId: Scalars['String'];
6212
6276
  };
6213
6277
  });
6278
+ getRecentDonationsForCampaign?: (DonationGenqlSelection & {
6279
+ __args: {
6280
+ campaignIdOrSlug: Scalars['String'];
6281
+ limit?: (Scalars['Float'] | null);
6282
+ offset?: (Scalars['Float'] | null);
6283
+ };
6284
+ });
6214
6285
  getDonationsToMe?: DonationGenqlSelection;
6215
6286
  getBudgetConcepts?: BudgetConceptGenqlSelection;
6216
6287
  getBudgetItemUnits?: BudgetItemUnitGenqlSelection;
@@ -6686,6 +6757,11 @@ export interface MutationGenqlSelection {
6686
6757
  input: CreateAthleteCompetitionDto;
6687
6758
  };
6688
6759
  });
6760
+ editAthleteCompetition?: (AthleteCompetitionGenqlSelection & {
6761
+ __args: {
6762
+ input: EditAthleteCompetitionDto;
6763
+ };
6764
+ });
6689
6765
  deleteAthleteCompetition?: (DeleteSingleValueResponseGenqlSelection & {
6690
6766
  __args: {
6691
6767
  input: DeleteSingleValueDto;
@@ -6836,6 +6912,16 @@ export interface MutationGenqlSelection {
6836
6912
  input: DeleteVtxUserDto;
6837
6913
  };
6838
6914
  });
6915
+ addAdminUser?: (AdminUserGenqlSelection & {
6916
+ __args: {
6917
+ input: AdminEmailDto;
6918
+ };
6919
+ });
6920
+ removeAdminUser?: (RemoveAdminUserResponseGenqlSelection & {
6921
+ __args: {
6922
+ input: AdminEmailDto;
6923
+ };
6924
+ });
6839
6925
  createSportsEvent?: (SportsEventGenqlSelection & {
6840
6926
  __args: {
6841
6927
  input: CreateSportEventDto;
@@ -7971,6 +8057,9 @@ export declare const isAthleteClubMember: (obj?: {
7971
8057
  export declare const isAthleteClub: (obj?: {
7972
8058
  __typename?: any;
7973
8059
  } | null) => obj is AthleteClub;
8060
+ export declare const isAdminUser: (obj?: {
8061
+ __typename?: any;
8062
+ } | null) => obj is AdminUser;
7974
8063
  export declare const isUserImages: (obj?: {
7975
8064
  __typename?: any;
7976
8065
  } | null) => obj is UserImages;
@@ -7983,6 +8072,9 @@ export declare const isDeleteVtxUserResponse: (obj?: {
7983
8072
  export declare const isPaginatedUsers: (obj?: {
7984
8073
  __typename?: any;
7985
8074
  } | null) => obj is PaginatedUsers;
8075
+ export declare const isRemoveAdminUserResponse: (obj?: {
8076
+ __typename?: any;
8077
+ } | null) => obj is RemoveAdminUserResponse;
7986
8078
  export declare const isTransactionDetails: (obj?: {
7987
8079
  __typename?: any;
7988
8080
  } | null) => obj is TransactionDetails;
@@ -8175,6 +8267,34 @@ export declare const isQuery: (obj?: {
8175
8267
  export declare const isMutation: (obj?: {
8176
8268
  __typename?: any;
8177
8269
  } | null) => obj is Mutation;
8270
+ export declare const enumTaxCalculation: {
8271
+ PLUS_TAX: "PLUS_TAX";
8272
+ TAX_INCLUDED: "TAX_INCLUDED";
8273
+ NO_TAX: "NO_TAX";
8274
+ };
8275
+ export declare const enumPlanPeriod: {
8276
+ DAYLY: "DAYLY";
8277
+ WEEKLY: "WEEKLY";
8278
+ MONTHLY: "MONTHLY";
8279
+ QUATERLY: "QUATERLY";
8280
+ SEMESTER: "SEMESTER";
8281
+ YEARLY: "YEARLY";
8282
+ CUSTOM_DAYS: "CUSTOM_DAYS";
8283
+ };
8284
+ export declare const enumCompetitionVerificationTier: {
8285
+ SELF_REPORTED: "SELF_REPORTED";
8286
+ LINK_PROVIDED: "LINK_PROVIDED";
8287
+ LINK_EXTRACTED_MATCH: "LINK_EXTRACTED_MATCH";
8288
+ STRAVA_CORROBORATED: "STRAVA_CORROBORATED";
8289
+ ATHLINKS_CLAIMED: "ATHLINKS_CLAIMED";
8290
+ FEDERATION_VERIFIED: "FEDERATION_VERIFIED";
8291
+ };
8292
+ export declare const enumScoreType: {
8293
+ VTX_SCORE: "VTX_SCORE";
8294
+ SOCIAL_SCORE: "SOCIAL_SCORE";
8295
+ TRANING_SCORE: "TRANING_SCORE";
8296
+ COMPETITION_SCORE: "COMPETITION_SCORE";
8297
+ };
8178
8298
  export declare const enumFundingStatus: {
8179
8299
  CREATED: "CREATED";
8180
8300
  ACTIVE: "ACTIVE";
@@ -8224,6 +8344,11 @@ export declare const enumPeriodType: {
8224
8344
  DAILY: "DAILY";
8225
8345
  WEEKLY: "WEEKLY";
8226
8346
  };
8347
+ export declare const enumVisibilityScope: {
8348
+ PUBLIC: "PUBLIC";
8349
+ FRIENDS: "FRIENDS";
8350
+ PRIVATE: "PRIVATE";
8351
+ };
8227
8352
  export declare const enumTimeRange: {
8228
8353
  SEVEN_DAYS: "SEVEN_DAYS";
8229
8354
  THIRTY_DAYS: "THIRTY_DAYS";
@@ -8236,6 +8361,117 @@ export declare const enumDonationMode: {
8236
8361
  PRIVATE: "PRIVATE";
8237
8362
  ANONYMOUS: "ANONYMOUS";
8238
8363
  };
8364
+ export declare const enumCompetitionGender: {
8365
+ MALE: "MALE";
8366
+ FEMALE: "FEMALE";
8367
+ };
8368
+ export declare const enumTimeUnit: {
8369
+ SECONDS: "SECONDS";
8370
+ MINUTES: "MINUTES";
8371
+ DAYS: "DAYS";
8372
+ HOURS: "HOURS";
8373
+ WEEKS: "WEEKS";
8374
+ MONTHS: "MONTHS";
8375
+ YEARS: "YEARS";
8376
+ };
8377
+ export declare const enumMatchMode: {
8378
+ SPECIFIED_OR_GREATER: "SPECIFIED_OR_GREATER";
8379
+ SPECIFIED_OR_LOWER: "SPECIFIED_OR_LOWER";
8380
+ ONLY_SPECIFIED: "ONLY_SPECIFIED";
8381
+ };
8382
+ export declare const enumAthleteRequestStatus: {
8383
+ OPEN: "OPEN";
8384
+ CLOSED: "CLOSED";
8385
+ };
8386
+ export declare const enumAthleteSponsorshipStatus: {
8387
+ PREPARING: "PREPARING";
8388
+ CANCELLED: "CANCELLED";
8389
+ APPROVED: "APPROVED";
8390
+ ACTIVE: "ACTIVE";
8391
+ EXPIRED: "EXPIRED";
8392
+ CLOSED: "CLOSED";
8393
+ };
8394
+ export declare const enumRequestItemType: {
8395
+ CASH: "CASH";
8396
+ EQUIPMENT: "EQUIPMENT";
8397
+ TRAVEL: "TRAVEL";
8398
+ PRODUCT: "PRODUCT";
8399
+ OTHER: "OTHER";
8400
+ };
8401
+ export declare const enumCommitmentMedia: {
8402
+ OTHER: "OTHER";
8403
+ ANY: "ANY";
8404
+ IN_PERSON_PUBLIC: "IN_PERSON_PUBLIC";
8405
+ IN_PERSON_VIP: "IN_PERSON_VIP";
8406
+ VIRTUAL_CONFERENCE: "VIRTUAL_CONFERENCE";
8407
+ IN_PERSON_DELIVERY: "IN_PERSON_DELIVERY";
8408
+ COURIER_DELIVERY: "COURIER_DELIVERY";
8409
+ MAIL_DELIVERY: "MAIL_DELIVERY";
8410
+ ELECTRONIC_DELIVERY: "ELECTRONIC_DELIVERY";
8411
+ INSTAGRAM: "INSTAGRAM";
8412
+ FACEBOOK: "FACEBOOK";
8413
+ TWITTER_X: "TWITTER_X";
8414
+ TIKTOK: "TIKTOK";
8415
+ APPLE: "APPLE";
8416
+ YOUTUBE: "YOUTUBE";
8417
+ LINKEDIN: "LINKEDIN";
8418
+ TV: "TV";
8419
+ RADIO: "RADIO";
8420
+ INTERNET: "INTERNET";
8421
+ };
8422
+ export declare const enumCommitmentActionType: {
8423
+ OTHER: "OTHER";
8424
+ SOCIAL_STORY: "SOCIAL_STORY";
8425
+ SOCIAL_POST: "SOCIAL_POST";
8426
+ SHORT_VIDEO: "SHORT_VIDEO";
8427
+ LONG_VIDEO: "LONG_VIDEO";
8428
+ LIVE_VIDEO: "LIVE_VIDEO";
8429
+ PRESS_CONFERENCE: "PRESS_CONFERENCE";
8430
+ MEET_AND_GREET: "MEET_AND_GREET";
8431
+ PHOTO_SESSION: "PHOTO_SESSION";
8432
+ BANNER_AD: "BANNER_AD";
8433
+ PRINT_AD: "PRINT_AD";
8434
+ WEB_AD: "WEB_AD";
8435
+ RADIO_COMMERCIAL: "RADIO_COMMERCIAL";
8436
+ TV_COMMERCIAL: "TV_COMMERCIAL";
8437
+ RADIO_INTERVIEW: "RADIO_INTERVIEW";
8438
+ TV_INTERVIEW: "TV_INTERVIEW";
8439
+ PODCAST: "PODCAST";
8440
+ WEB_INTERVIEW: "WEB_INTERVIEW";
8441
+ };
8442
+ export declare const enumCompanySize: {
8443
+ MICRO: "MICRO";
8444
+ SMALL: "SMALL";
8445
+ MEDIUM: "MEDIUM";
8446
+ LARGE: "LARGE";
8447
+ };
8448
+ export declare const enumNumberOfAthletesSponsored: {
8449
+ FEW: "FEW";
8450
+ SOME: "SOME";
8451
+ MANY: "MANY";
8452
+ ALOT: "ALOT";
8453
+ };
8454
+ export declare const enumCommitmentTypeEnum: {
8455
+ REGULAR: "REGULAR";
8456
+ DATED: "DATED";
8457
+ RECURRENT: "RECURRENT";
8458
+ };
8459
+ export declare const enumCompetitionResultType: {
8460
+ POSITION: "POSITION";
8461
+ SCORE: "SCORE";
8462
+ };
8463
+ export declare const enumAgeDetermination: {
8464
+ YEAR_OF_BIRTH: "YEAR_OF_BIRTH";
8465
+ AGE_ON_EVENT: "AGE_ON_EVENT";
8466
+ };
8467
+ export declare const enumTaskStatus: {
8468
+ PENDING: "PENDING";
8469
+ DONE: "DONE";
8470
+ EXPIRED: "EXPIRED";
8471
+ };
8472
+ export declare const enumStripeQueryOperation: {
8473
+ CheckoutSession: "CheckoutSession";
8474
+ };
8239
8475
  export declare const enumOfferClaimStatus: {
8240
8476
  ACTIVE: "ACTIVE";
8241
8477
  EXPIRED: "EXPIRED";