@vertikalx/vtx-backend-client 3.0.1-dev-max.4 → 3.0.1-dev-max.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -664,6 +664,12 @@ export interface Team {
664
664
  approved: (Scalars['Boolean'] | null);
665
665
  logo: (AWSS3File | null);
666
666
  banner: (AWSS3File | null);
667
+ clubId: (Scalars['String'] | null);
668
+ joinPolicy: (Scalars['String'] | null);
669
+ maxRosterSize: (Scalars['Int'] | null);
670
+ visibility: (Scalars['String'] | null);
671
+ stripeAccountId: (Scalars['String'] | null);
672
+ vtxScore: (Scalars['Float'] | null);
667
673
  __typename: 'Team';
668
674
  }
669
675
  export interface WorldLocation {
@@ -835,6 +841,9 @@ export interface FundRaisingCampaign {
835
841
  vtxComissionPct: Scalars['Float'];
836
842
  video: (Video | null);
837
843
  coverImage: (AWSS3File | null);
844
+ thankYouMessage: (Scalars['String'] | null);
845
+ thankYouMediaUrl: (Scalars['String'] | null);
846
+ autoSendThankYou: Scalars['Boolean'];
838
847
  __typename: 'FundRaisingCampaign';
839
848
  }
840
849
  export interface StripeCapabilityType {
@@ -1649,6 +1658,45 @@ export interface PaginatedSports {
1649
1658
  pagination: EnhancedPaginationInfoType;
1650
1659
  __typename: 'PaginatedSports';
1651
1660
  }
1661
+ export interface Club {
1662
+ _id: Scalars['String'];
1663
+ name: Scalars['String'];
1664
+ description: (Scalars['String'] | null);
1665
+ sports: (Sport[] | null);
1666
+ logo: (AWSS3File | null);
1667
+ banner: (AWSS3File | null);
1668
+ location: (Scalars['String'] | null);
1669
+ website: (Scalars['String'] | null);
1670
+ membershipType: Scalars['String'];
1671
+ feeStructure: (Scalars['JSON'] | null);
1672
+ approved: (Scalars['Boolean'] | null);
1673
+ visibility: Scalars['String'];
1674
+ teams: (Team[] | null);
1675
+ stripeAccountId: (Scalars['String'] | null);
1676
+ __typename: 'Club';
1677
+ }
1678
+ export interface AthleteClub {
1679
+ _id: Scalars['String'];
1680
+ clubId: Scalars['String'];
1681
+ athleteId: Scalars['String'];
1682
+ role: Scalars['String'];
1683
+ status: Scalars['String'];
1684
+ joinedAt: (Scalars['DateTime'] | null);
1685
+ leftAt: (Scalars['DateTime'] | null);
1686
+ club: (Club | null);
1687
+ __typename: 'AthleteClub';
1688
+ }
1689
+ export interface AthleteTeam {
1690
+ _id: Scalars['String'];
1691
+ teamId: Scalars['String'];
1692
+ athleteId: Scalars['String'];
1693
+ sportId: Scalars['String'];
1694
+ role: Scalars['String'];
1695
+ status: Scalars['String'];
1696
+ joinedAt: (Scalars['DateTime'] | null);
1697
+ leftAt: (Scalars['DateTime'] | null);
1698
+ __typename: 'AthleteTeam';
1699
+ }
1652
1700
  export interface UserImages {
1653
1701
  profilePictureUrl: (Scalars['String'] | null);
1654
1702
  cardPictureUrl: (Scalars['String'] | null);
@@ -1713,6 +1761,17 @@ export interface PaginatedDonations {
1713
1761
  pagination: EnhancedPaginationInfoType;
1714
1762
  __typename: 'PaginatedDonations';
1715
1763
  }
1764
+ export interface DonationThankYou {
1765
+ _id: Scalars['String'];
1766
+ message: Scalars['String'];
1767
+ mediaUrl: (Scalars['String'] | null);
1768
+ autoSent: Scalars['Boolean'];
1769
+ emailSent: Scalars['Boolean'];
1770
+ donorEmail: (Scalars['String'] | null);
1771
+ donorName: (Scalars['String'] | null);
1772
+ sentDate: Scalars['DateTime'];
1773
+ __typename: 'DonationThankYou';
1774
+ }
1716
1775
  export interface CurrencyAmountType {
1717
1776
  amount: Scalars['Float'];
1718
1777
  currency: Scalars['String'];
@@ -2159,6 +2218,52 @@ export interface AiCoachUnreadNudgeCountResponse {
2159
2218
  count: Scalars['Int'];
2160
2219
  __typename: 'AiCoachUnreadNudgeCountResponse';
2161
2220
  }
2221
+ export interface StripeAccountStatus {
2222
+ chargesEnabled: Scalars['Boolean'];
2223
+ payoutsEnabled: Scalars['Boolean'];
2224
+ detailsSubmitted: Scalars['Boolean'];
2225
+ __typename: 'StripeAccountStatus';
2226
+ }
2227
+ export interface TeamVtxScoreHistoryEntry {
2228
+ date: Scalars['DateTime'];
2229
+ score: Scalars['Float'];
2230
+ __typename: 'TeamVtxScoreHistoryEntry';
2231
+ }
2232
+ export interface TeamLeaderboardEntry {
2233
+ athleteId: Scalars['String'];
2234
+ athleteName: Scalars['String'];
2235
+ athletePhoto: (Scalars['String'] | null);
2236
+ sport: (Scalars['String'] | null);
2237
+ vtxScore: Scalars['Float'];
2238
+ rank: Scalars['Int'];
2239
+ tpiScore: (Scalars['Float'] | null);
2240
+ spiScore: (Scalars['Float'] | null);
2241
+ apiScore: (Scalars['Float'] | null);
2242
+ __typename: 'TeamLeaderboardEntry';
2243
+ }
2244
+ export interface TeamAnalytics {
2245
+ teamId: Scalars['String'];
2246
+ teamName: Scalars['String'];
2247
+ vtxScore: (Scalars['Float'] | null);
2248
+ athleteCount: Scalars['Int'];
2249
+ rosterSize: (Scalars['Int'] | null);
2250
+ vtxScoreHistory: (TeamVtxScoreHistoryEntry[] | null);
2251
+ topPerformers: (TeamLeaderboardEntry[] | null);
2252
+ __typename: 'TeamAnalytics';
2253
+ }
2254
+ export interface TeamRosterOverview {
2255
+ totalActive: Scalars['Int'];
2256
+ totalInactive: Scalars['Int'];
2257
+ recentJoins: Scalars['Int'];
2258
+ recentDepartures: Scalars['Int'];
2259
+ __typename: 'TeamRosterOverview';
2260
+ }
2261
+ export interface TeamDashboard {
2262
+ analytics: TeamAnalytics;
2263
+ roster: TeamRosterOverview;
2264
+ leaderboard: TeamLeaderboardEntry[];
2265
+ __typename: 'TeamDashboard';
2266
+ }
2162
2267
  export type TimeRange = 'SEVEN_DAYS' | 'THIRTY_DAYS' | 'NINETY_DAYS' | 'ONE_YEAR' | 'ALL_TIME';
2163
2268
  export type DonationMode = 'PUBLIC' | 'PRIVATE' | 'ANONYMOUS';
2164
2269
  export type OfferClaimStatus = 'ACTIVE' | 'EXPIRED' | 'ALL';
@@ -2239,6 +2344,8 @@ export interface Query {
2239
2344
  getBudgetItemUnits: BudgetItemUnit[];
2240
2345
  getDonationDatesForCalendar: DonationDates;
2241
2346
  getDonationsPaginated: PaginatedDonations;
2347
+ campaignThankYous: DonationThankYou[];
2348
+ donationThankYou: (DonationThankYou | null);
2242
2349
  getMembershipOrganizations: MembershipOrganizationReference[];
2243
2350
  getAthleteStravaIntegration: AthleteIntegrationReference;
2244
2351
  getAthleteInstagramIntegration: AthleteIntegrationReference;
@@ -2291,6 +2398,19 @@ export interface Query {
2291
2398
  getAiCoachConfig: AiCoachConfig;
2292
2399
  getAiCoachNudges: AiCoachNudgeListResponse;
2293
2400
  getAiCoachUnreadNudgeCount: AiCoachUnreadNudgeCountResponse;
2401
+ findAllTeams: Team[];
2402
+ getTeamStripeAccountStatus: (StripeAccountStatus | null);
2403
+ findTeamById: Team;
2404
+ findTeams: Team[];
2405
+ getTeamRoster: AthleteTeam[];
2406
+ getTeamAnalytics: TeamAnalytics;
2407
+ getTeamLeaderboard: TeamLeaderboardEntry[];
2408
+ getTeamDashboard: TeamDashboard;
2409
+ findAllClubs: Club[];
2410
+ getClubStripeAccountStatus: (StripeAccountStatus | null);
2411
+ findClubById: Club;
2412
+ findClubs: Club[];
2413
+ getClubMembers: AthleteClub[];
2294
2414
  __typename: 'Query';
2295
2415
  }
2296
2416
  export interface Mutation {
@@ -2369,6 +2489,8 @@ export interface Mutation {
2369
2489
  editCompetitionBudget: Scalars['Boolean'];
2370
2490
  editCampaignBudget: Scalars['Boolean'];
2371
2491
  editCompetitionBudgetForCampaign: Scalars['Boolean'];
2492
+ sendThankYou: DonationThankYou;
2493
+ updateThankYouTemplate: FundRaisingCampaign;
2372
2494
  createMembershipOrganization: MembershipOrganizationReference;
2373
2495
  createAthleteMembershipAffilation: AthleteMembership;
2374
2496
  deleteAthleteMembershipAffilation: DeleteSingleValueResponse;
@@ -2412,6 +2534,25 @@ export interface Mutation {
2412
2534
  sendAiCoachMessage: AiCoachMessage;
2413
2535
  updateAiCoachConfig: AiCoachConfig;
2414
2536
  markAiCoachNudgeRead: Scalars['Boolean'];
2537
+ createTeam: Team;
2538
+ updateTeam: Team;
2539
+ joinTeam: AthleteTeam;
2540
+ leaveTeam: AthleteTeam;
2541
+ inviteToTeam: AthleteTeam;
2542
+ manageTeamMember: AthleteTeam;
2543
+ approveTeam: Team;
2544
+ createTeamStripeAccount: Scalars['String'];
2545
+ createTeamDonationCheckout: Scalars['String'];
2546
+ createClub: Club;
2547
+ updateClub: Club;
2548
+ joinClub: AthleteClub;
2549
+ leaveClub: AthleteClub;
2550
+ inviteToClub: AthleteClub;
2551
+ manageClubMember: AthleteClub;
2552
+ approveClub: Club;
2553
+ createClubStripeAccount: Scalars['String'];
2554
+ createClubDonationCheckout: Scalars['String'];
2555
+ createMembershipFeeCheckout: (Scalars['String'] | null);
2415
2556
  __typename: 'Mutation';
2416
2557
  }
2417
2558
  export interface UserGenqlSelection {
@@ -3146,6 +3287,12 @@ export interface TeamGenqlSelection {
3146
3287
  approved?: boolean | number;
3147
3288
  logo?: AWSS3FileGenqlSelection;
3148
3289
  banner?: AWSS3FileGenqlSelection;
3290
+ clubId?: boolean | number;
3291
+ joinPolicy?: boolean | number;
3292
+ maxRosterSize?: boolean | number;
3293
+ visibility?: boolean | number;
3294
+ stripeAccountId?: boolean | number;
3295
+ vtxScore?: boolean | number;
3149
3296
  __typename?: boolean | number;
3150
3297
  __scalar?: boolean | number;
3151
3298
  }
@@ -3333,6 +3480,9 @@ export interface FundRaisingCampaignGenqlSelection {
3333
3480
  vtxComissionPct?: boolean | number;
3334
3481
  video?: VideoGenqlSelection;
3335
3482
  coverImage?: AWSS3FileGenqlSelection;
3483
+ thankYouMessage?: boolean | number;
3484
+ thankYouMediaUrl?: boolean | number;
3485
+ autoSendThankYou?: boolean | number;
3336
3486
  __typename?: boolean | number;
3337
3487
  __scalar?: boolean | number;
3338
3488
  }
@@ -4222,6 +4372,48 @@ export interface PaginatedSportsGenqlSelection {
4222
4372
  __typename?: boolean | number;
4223
4373
  __scalar?: boolean | number;
4224
4374
  }
4375
+ export interface ClubGenqlSelection {
4376
+ _id?: boolean | number;
4377
+ name?: boolean | number;
4378
+ description?: boolean | number;
4379
+ sports?: SportGenqlSelection;
4380
+ logo?: AWSS3FileGenqlSelection;
4381
+ banner?: AWSS3FileGenqlSelection;
4382
+ location?: boolean | number;
4383
+ website?: boolean | number;
4384
+ membershipType?: boolean | number;
4385
+ feeStructure?: boolean | number;
4386
+ approved?: boolean | number;
4387
+ visibility?: boolean | number;
4388
+ teams?: TeamGenqlSelection;
4389
+ stripeAccountId?: boolean | number;
4390
+ __typename?: boolean | number;
4391
+ __scalar?: boolean | number;
4392
+ }
4393
+ export interface AthleteClubGenqlSelection {
4394
+ _id?: boolean | number;
4395
+ clubId?: boolean | number;
4396
+ athleteId?: boolean | number;
4397
+ role?: boolean | number;
4398
+ status?: boolean | number;
4399
+ joinedAt?: boolean | number;
4400
+ leftAt?: boolean | number;
4401
+ club?: ClubGenqlSelection;
4402
+ __typename?: boolean | number;
4403
+ __scalar?: boolean | number;
4404
+ }
4405
+ export interface AthleteTeamGenqlSelection {
4406
+ _id?: boolean | number;
4407
+ teamId?: boolean | number;
4408
+ athleteId?: boolean | number;
4409
+ sportId?: boolean | number;
4410
+ role?: boolean | number;
4411
+ status?: boolean | number;
4412
+ joinedAt?: boolean | number;
4413
+ leftAt?: boolean | number;
4414
+ __typename?: boolean | number;
4415
+ __scalar?: boolean | number;
4416
+ }
4225
4417
  export interface UserImagesGenqlSelection {
4226
4418
  profilePictureUrl?: boolean | number;
4227
4419
  cardPictureUrl?: boolean | number;
@@ -4294,6 +4486,18 @@ export interface PaginatedDonationsGenqlSelection {
4294
4486
  __typename?: boolean | number;
4295
4487
  __scalar?: boolean | number;
4296
4488
  }
4489
+ export interface DonationThankYouGenqlSelection {
4490
+ _id?: boolean | number;
4491
+ message?: boolean | number;
4492
+ mediaUrl?: boolean | number;
4493
+ autoSent?: boolean | number;
4494
+ emailSent?: boolean | number;
4495
+ donorEmail?: boolean | number;
4496
+ donorName?: boolean | number;
4497
+ sentDate?: boolean | number;
4498
+ __typename?: boolean | number;
4499
+ __scalar?: boolean | number;
4500
+ }
4297
4501
  export interface CurrencyAmountTypeGenqlSelection {
4298
4502
  amount?: boolean | number;
4299
4503
  currency?: boolean | number;
@@ -4786,6 +4990,58 @@ export interface AiCoachUnreadNudgeCountResponseGenqlSelection {
4786
4990
  __typename?: boolean | number;
4787
4991
  __scalar?: boolean | number;
4788
4992
  }
4993
+ export interface StripeAccountStatusGenqlSelection {
4994
+ chargesEnabled?: boolean | number;
4995
+ payoutsEnabled?: boolean | number;
4996
+ detailsSubmitted?: boolean | number;
4997
+ __typename?: boolean | number;
4998
+ __scalar?: boolean | number;
4999
+ }
5000
+ export interface TeamVtxScoreHistoryEntryGenqlSelection {
5001
+ date?: boolean | number;
5002
+ score?: boolean | number;
5003
+ __typename?: boolean | number;
5004
+ __scalar?: boolean | number;
5005
+ }
5006
+ export interface TeamLeaderboardEntryGenqlSelection {
5007
+ athleteId?: boolean | number;
5008
+ athleteName?: boolean | number;
5009
+ athletePhoto?: boolean | number;
5010
+ sport?: boolean | number;
5011
+ vtxScore?: boolean | number;
5012
+ rank?: boolean | number;
5013
+ tpiScore?: boolean | number;
5014
+ spiScore?: boolean | number;
5015
+ apiScore?: boolean | number;
5016
+ __typename?: boolean | number;
5017
+ __scalar?: boolean | number;
5018
+ }
5019
+ export interface TeamAnalyticsGenqlSelection {
5020
+ teamId?: boolean | number;
5021
+ teamName?: boolean | number;
5022
+ vtxScore?: boolean | number;
5023
+ athleteCount?: boolean | number;
5024
+ rosterSize?: boolean | number;
5025
+ vtxScoreHistory?: TeamVtxScoreHistoryEntryGenqlSelection;
5026
+ topPerformers?: TeamLeaderboardEntryGenqlSelection;
5027
+ __typename?: boolean | number;
5028
+ __scalar?: boolean | number;
5029
+ }
5030
+ export interface TeamRosterOverviewGenqlSelection {
5031
+ totalActive?: boolean | number;
5032
+ totalInactive?: boolean | number;
5033
+ recentJoins?: boolean | number;
5034
+ recentDepartures?: boolean | number;
5035
+ __typename?: boolean | number;
5036
+ __scalar?: boolean | number;
5037
+ }
5038
+ export interface TeamDashboardGenqlSelection {
5039
+ analytics?: TeamAnalyticsGenqlSelection;
5040
+ roster?: TeamRosterOverviewGenqlSelection;
5041
+ leaderboard?: TeamLeaderboardEntryGenqlSelection;
5042
+ __typename?: boolean | number;
5043
+ __scalar?: boolean | number;
5044
+ }
4789
5045
  export interface CreateDatabaseFileDto {
4790
5046
  identifier: Scalars['String'];
4791
5047
  version?: Scalars['String'];
@@ -5250,6 +5506,9 @@ export interface CreateFundingCampaignDto {
5250
5506
  competitionIds?: (Scalars['String'][] | null);
5251
5507
  video?: (CreateVideoDto | null);
5252
5508
  coverImageId?: (Scalars['String'] | null);
5509
+ thankYouMessage?: (Scalars['String'] | null);
5510
+ thankYouMediaUrl?: (Scalars['String'] | null);
5511
+ autoSendThankYou?: (Scalars['Boolean'] | null);
5253
5512
  }
5254
5513
  export interface CreateFundingCampaignForDto {
5255
5514
  budgetMode: Scalars['String'];
@@ -5265,6 +5524,9 @@ export interface CreateFundingCampaignForDto {
5265
5524
  competitionIds?: (Scalars['String'][] | null);
5266
5525
  video?: (CreateVideoDto | null);
5267
5526
  coverImageId?: (Scalars['String'] | null);
5527
+ thankYouMessage?: (Scalars['String'] | null);
5528
+ thankYouMediaUrl?: (Scalars['String'] | null);
5529
+ autoSendThankYou?: (Scalars['Boolean'] | null);
5268
5530
  loginEmail: Scalars['String'];
5269
5531
  }
5270
5532
  export interface UpdateFundingCampaignDto {
@@ -5281,6 +5543,9 @@ export interface UpdateFundingCampaignDto {
5281
5543
  competitionIds?: (Scalars['String'][] | null);
5282
5544
  video?: (CreateVideoDto | null);
5283
5545
  coverImageId?: (Scalars['String'] | null);
5546
+ thankYouMessage?: (Scalars['String'] | null);
5547
+ thankYouMediaUrl?: (Scalars['String'] | null);
5548
+ autoSendThankYou?: (Scalars['Boolean'] | null);
5284
5549
  _id: Scalars['String'];
5285
5550
  }
5286
5551
  export interface SetFundingStatusDto {
@@ -5555,6 +5820,64 @@ export interface UpdateAiCoachConfigDto {
5555
5820
  export interface NudgeQueryDto {
5556
5821
  unreadOnly?: (Scalars['Boolean'] | null);
5557
5822
  }
5823
+ export interface CreateTeamInput {
5824
+ name: Scalars['String'];
5825
+ description?: (Scalars['String'] | null);
5826
+ sportIds: Scalars['String'][];
5827
+ joinPolicy?: (Scalars['String'] | null);
5828
+ maxRosterSize?: (Scalars['Int'] | null);
5829
+ visibility?: (Scalars['String'] | null);
5830
+ clubId?: (Scalars['String'] | null);
5831
+ }
5832
+ export interface UpdateTeamInput {
5833
+ teamId: Scalars['String'];
5834
+ name?: (Scalars['String'] | null);
5835
+ description?: (Scalars['String'] | null);
5836
+ joinPolicy?: (Scalars['String'] | null);
5837
+ maxRosterSize?: (Scalars['Int'] | null);
5838
+ visibility?: (Scalars['String'] | null);
5839
+ }
5840
+ export interface JoinTeamInput {
5841
+ teamId: Scalars['String'];
5842
+ sportId: Scalars['String'];
5843
+ message?: (Scalars['String'] | null);
5844
+ }
5845
+ export interface ManageTeamMemberInput {
5846
+ teamId: Scalars['String'];
5847
+ athleteId: Scalars['String'];
5848
+ action: Scalars['String'];
5849
+ role?: (Scalars['String'] | null);
5850
+ }
5851
+ export interface CreateClubInput {
5852
+ name: Scalars['String'];
5853
+ description?: (Scalars['String'] | null);
5854
+ sportIds: Scalars['String'][];
5855
+ membershipType?: (Scalars['String'] | null);
5856
+ feeStructure?: (Scalars['JSON'] | null);
5857
+ visibility?: (Scalars['String'] | null);
5858
+ location?: (Scalars['String'] | null);
5859
+ website?: (Scalars['String'] | null);
5860
+ }
5861
+ export interface UpdateClubInput {
5862
+ clubId: Scalars['String'];
5863
+ name?: (Scalars['String'] | null);
5864
+ description?: (Scalars['String'] | null);
5865
+ membershipType?: (Scalars['String'] | null);
5866
+ feeStructure?: (Scalars['JSON'] | null);
5867
+ visibility?: (Scalars['String'] | null);
5868
+ location?: (Scalars['String'] | null);
5869
+ website?: (Scalars['String'] | null);
5870
+ }
5871
+ export interface JoinClubInput {
5872
+ clubId: Scalars['String'];
5873
+ message?: (Scalars['String'] | null);
5874
+ }
5875
+ export interface ManageClubMemberInput {
5876
+ clubId: Scalars['String'];
5877
+ athleteId: Scalars['String'];
5878
+ action: Scalars['String'];
5879
+ role?: (Scalars['String'] | null);
5880
+ }
5558
5881
  export interface QueryGenqlSelection {
5559
5882
  findTenantById?: (TenantGenqlSelection & {
5560
5883
  __args: {
@@ -5852,6 +6175,16 @@ export interface QueryGenqlSelection {
5852
6175
  query?: (DonationQueryDto | null);
5853
6176
  };
5854
6177
  });
6178
+ campaignThankYous?: (DonationThankYouGenqlSelection & {
6179
+ __args: {
6180
+ campaignId: Scalars['String'];
6181
+ };
6182
+ });
6183
+ donationThankYou?: (DonationThankYouGenqlSelection & {
6184
+ __args: {
6185
+ donationId: Scalars['String'];
6186
+ };
6187
+ });
5855
6188
  getMembershipOrganizations?: MembershipOrganizationReferenceGenqlSelection;
5856
6189
  getAthleteStravaIntegration?: AthleteIntegrationReferenceGenqlSelection;
5857
6190
  getAthleteInstagramIntegration?: AthleteIntegrationReferenceGenqlSelection;
@@ -6062,6 +6395,64 @@ export interface QueryGenqlSelection {
6062
6395
  };
6063
6396
  });
6064
6397
  getAiCoachUnreadNudgeCount?: AiCoachUnreadNudgeCountResponseGenqlSelection;
6398
+ findAllTeams?: TeamGenqlSelection;
6399
+ getTeamStripeAccountStatus?: (StripeAccountStatusGenqlSelection & {
6400
+ __args: {
6401
+ teamId: Scalars['String'];
6402
+ };
6403
+ });
6404
+ findTeamById?: (TeamGenqlSelection & {
6405
+ __args: {
6406
+ teamId: Scalars['String'];
6407
+ };
6408
+ });
6409
+ findTeams?: (TeamGenqlSelection & {
6410
+ __args?: {
6411
+ sportId?: (Scalars['String'] | null);
6412
+ clubId?: (Scalars['String'] | null);
6413
+ };
6414
+ });
6415
+ getTeamRoster?: (AthleteTeamGenqlSelection & {
6416
+ __args: {
6417
+ teamId: Scalars['String'];
6418
+ };
6419
+ });
6420
+ getTeamAnalytics?: (TeamAnalyticsGenqlSelection & {
6421
+ __args: {
6422
+ teamId: Scalars['String'];
6423
+ };
6424
+ });
6425
+ getTeamLeaderboard?: (TeamLeaderboardEntryGenqlSelection & {
6426
+ __args: {
6427
+ teamId: Scalars['String'];
6428
+ };
6429
+ });
6430
+ getTeamDashboard?: (TeamDashboardGenqlSelection & {
6431
+ __args: {
6432
+ teamId: Scalars['String'];
6433
+ };
6434
+ });
6435
+ findAllClubs?: ClubGenqlSelection;
6436
+ getClubStripeAccountStatus?: (StripeAccountStatusGenqlSelection & {
6437
+ __args: {
6438
+ clubId: Scalars['String'];
6439
+ };
6440
+ });
6441
+ findClubById?: (ClubGenqlSelection & {
6442
+ __args: {
6443
+ clubId: Scalars['String'];
6444
+ };
6445
+ });
6446
+ findClubs?: (ClubGenqlSelection & {
6447
+ __args?: {
6448
+ sportId?: (Scalars['String'] | null);
6449
+ };
6450
+ });
6451
+ getClubMembers?: (AthleteClubGenqlSelection & {
6452
+ __args: {
6453
+ clubId: Scalars['String'];
6454
+ };
6455
+ });
6065
6456
  __typename?: boolean | number;
6066
6457
  __scalar?: boolean | number;
6067
6458
  }
@@ -6464,6 +6855,16 @@ export interface MutationGenqlSelection {
6464
6855
  input: EditCampaignBudgetDto;
6465
6856
  };
6466
6857
  };
6858
+ sendThankYou?: (DonationThankYouGenqlSelection & {
6859
+ __args: {
6860
+ input: SendThankYouDto;
6861
+ };
6862
+ });
6863
+ updateThankYouTemplate?: (FundRaisingCampaignGenqlSelection & {
6864
+ __args: {
6865
+ input: UpdateThankYouTemplateDto;
6866
+ };
6867
+ });
6467
6868
  createMembershipOrganization?: (MembershipOrganizationReferenceGenqlSelection & {
6468
6869
  __args: {
6469
6870
  input: CreateMembershipOrganizationDto;
@@ -6664,6 +7065,114 @@ export interface MutationGenqlSelection {
6664
7065
  nudgeId: Scalars['String'];
6665
7066
  };
6666
7067
  };
7068
+ createTeam?: (TeamGenqlSelection & {
7069
+ __args: {
7070
+ input: CreateTeamInput;
7071
+ };
7072
+ });
7073
+ updateTeam?: (TeamGenqlSelection & {
7074
+ __args: {
7075
+ input: UpdateTeamInput;
7076
+ };
7077
+ });
7078
+ joinTeam?: (AthleteTeamGenqlSelection & {
7079
+ __args: {
7080
+ input: JoinTeamInput;
7081
+ };
7082
+ });
7083
+ leaveTeam?: (AthleteTeamGenqlSelection & {
7084
+ __args: {
7085
+ teamId: Scalars['String'];
7086
+ };
7087
+ });
7088
+ inviteToTeam?: (AthleteTeamGenqlSelection & {
7089
+ __args: {
7090
+ teamId: Scalars['String'];
7091
+ athleteId: Scalars['String'];
7092
+ sportId: Scalars['String'];
7093
+ };
7094
+ });
7095
+ manageTeamMember?: (AthleteTeamGenqlSelection & {
7096
+ __args: {
7097
+ input: ManageTeamMemberInput;
7098
+ };
7099
+ });
7100
+ approveTeam?: (TeamGenqlSelection & {
7101
+ __args: {
7102
+ teamId: Scalars['String'];
7103
+ approved: Scalars['Boolean'];
7104
+ };
7105
+ });
7106
+ createTeamStripeAccount?: {
7107
+ __args: {
7108
+ teamId: Scalars['String'];
7109
+ };
7110
+ };
7111
+ createTeamDonationCheckout?: {
7112
+ __args: {
7113
+ teamId: Scalars['String'];
7114
+ amount: Scalars['Float'];
7115
+ currency?: Scalars['String'];
7116
+ donorEmail?: (Scalars['String'] | null);
7117
+ donorName?: (Scalars['String'] | null);
7118
+ };
7119
+ };
7120
+ createClub?: (ClubGenqlSelection & {
7121
+ __args: {
7122
+ input: CreateClubInput;
7123
+ };
7124
+ });
7125
+ updateClub?: (ClubGenqlSelection & {
7126
+ __args: {
7127
+ input: UpdateClubInput;
7128
+ };
7129
+ });
7130
+ joinClub?: (AthleteClubGenqlSelection & {
7131
+ __args: {
7132
+ input: JoinClubInput;
7133
+ };
7134
+ });
7135
+ leaveClub?: (AthleteClubGenqlSelection & {
7136
+ __args: {
7137
+ clubId: Scalars['String'];
7138
+ };
7139
+ });
7140
+ inviteToClub?: (AthleteClubGenqlSelection & {
7141
+ __args: {
7142
+ clubId: Scalars['String'];
7143
+ athleteId: Scalars['String'];
7144
+ };
7145
+ });
7146
+ manageClubMember?: (AthleteClubGenqlSelection & {
7147
+ __args: {
7148
+ input: ManageClubMemberInput;
7149
+ };
7150
+ });
7151
+ approveClub?: (ClubGenqlSelection & {
7152
+ __args: {
7153
+ clubId: Scalars['String'];
7154
+ approved: Scalars['Boolean'];
7155
+ };
7156
+ });
7157
+ createClubStripeAccount?: {
7158
+ __args: {
7159
+ clubId: Scalars['String'];
7160
+ };
7161
+ };
7162
+ createClubDonationCheckout?: {
7163
+ __args: {
7164
+ clubId: Scalars['String'];
7165
+ amount: Scalars['Float'];
7166
+ currency?: Scalars['String'];
7167
+ donorEmail?: (Scalars['String'] | null);
7168
+ donorName?: (Scalars['String'] | null);
7169
+ };
7170
+ };
7171
+ createMembershipFeeCheckout?: {
7172
+ __args: {
7173
+ clubId: Scalars['String'];
7174
+ };
7175
+ };
6667
7176
  __typename?: boolean | number;
6668
7177
  __scalar?: boolean | number;
6669
7178
  }
@@ -6859,6 +7368,17 @@ export interface CreateSportEventDto {
6859
7368
  banner?: (AWSS3UploadedFileDto | null);
6860
7369
  eventLevel?: (Scalars['String'] | null);
6861
7370
  }
7371
+ export interface SendThankYouDto {
7372
+ campaignId: Scalars['String'];
7373
+ donationId: Scalars['String'];
7374
+ customMessage?: (Scalars['String'] | null);
7375
+ }
7376
+ export interface UpdateThankYouTemplateDto {
7377
+ campaignId: Scalars['String'];
7378
+ thankYouMessage?: (Scalars['String'] | null);
7379
+ thankYouMediaUrl?: (Scalars['String'] | null);
7380
+ autoSendThankYou?: (Scalars['Boolean'] | null);
7381
+ }
6862
7382
  export interface CreateStripeAccountDto {
6863
7383
  countryId: Scalars['String'];
6864
7384
  acceptedTermsId: Scalars['String'];
@@ -7382,6 +7902,15 @@ export declare const isPublicIntegrationStatus: (obj?: {
7382
7902
  export declare const isPaginatedSports: (obj?: {
7383
7903
  __typename?: any;
7384
7904
  } | null) => obj is PaginatedSports;
7905
+ export declare const isClub: (obj?: {
7906
+ __typename?: any;
7907
+ } | null) => obj is Club;
7908
+ export declare const isAthleteClub: (obj?: {
7909
+ __typename?: any;
7910
+ } | null) => obj is AthleteClub;
7911
+ export declare const isAthleteTeam: (obj?: {
7912
+ __typename?: any;
7913
+ } | null) => obj is AthleteTeam;
7385
7914
  export declare const isUserImages: (obj?: {
7386
7915
  __typename?: any;
7387
7916
  } | null) => obj is UserImages;
@@ -7406,6 +7935,9 @@ export declare const isDonationDates: (obj?: {
7406
7935
  export declare const isPaginatedDonations: (obj?: {
7407
7936
  __typename?: any;
7408
7937
  } | null) => obj is PaginatedDonations;
7938
+ export declare const isDonationThankYou: (obj?: {
7939
+ __typename?: any;
7940
+ } | null) => obj is DonationThankYou;
7409
7941
  export declare const isCurrencyAmountType: (obj?: {
7410
7942
  __typename?: any;
7411
7943
  } | null) => obj is CurrencyAmountType;
@@ -7559,6 +8091,24 @@ export declare const isAiCoachNudgeListResponse: (obj?: {
7559
8091
  export declare const isAiCoachUnreadNudgeCountResponse: (obj?: {
7560
8092
  __typename?: any;
7561
8093
  } | null) => obj is AiCoachUnreadNudgeCountResponse;
8094
+ export declare const isStripeAccountStatus: (obj?: {
8095
+ __typename?: any;
8096
+ } | null) => obj is StripeAccountStatus;
8097
+ export declare const isTeamVtxScoreHistoryEntry: (obj?: {
8098
+ __typename?: any;
8099
+ } | null) => obj is TeamVtxScoreHistoryEntry;
8100
+ export declare const isTeamLeaderboardEntry: (obj?: {
8101
+ __typename?: any;
8102
+ } | null) => obj is TeamLeaderboardEntry;
8103
+ export declare const isTeamAnalytics: (obj?: {
8104
+ __typename?: any;
8105
+ } | null) => obj is TeamAnalytics;
8106
+ export declare const isTeamRosterOverview: (obj?: {
8107
+ __typename?: any;
8108
+ } | null) => obj is TeamRosterOverview;
8109
+ export declare const isTeamDashboard: (obj?: {
8110
+ __typename?: any;
8111
+ } | null) => obj is TeamDashboard;
7562
8112
  export declare const isQuery: (obj?: {
7563
8113
  __typename?: any;
7564
8114
  } | null) => obj is Query;