@vertikalx/vtx-backend-client 3.0.0-dev-max1.1 → 3.0.0-dev-max3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/api/vtx-base-api.d.ts +25 -0
- package/src/api/vtx-base-api.js +60 -0
- package/src/api/vtx-base-api.js.map +1 -1
- package/src/client/schema.d.ts +530 -0
- package/src/client/schema.js +88 -4
- package/src/client/schema.js.map +1 -1
- package/src/client/types.d.ts +286 -1
- package/src/client/types.js +1338 -556
- package/src/client/types.js.map +1 -1
- package/src/generated/graphql.d.ts +1467 -0
- package/src/generated/graphql.js +506 -6
- package/src/generated/graphql.js.map +1 -1
package/src/client/schema.d.ts
CHANGED
|
@@ -656,6 +656,31 @@ export interface AthleteRankings {
|
|
|
656
656
|
cityRanking: (Ranking | null);
|
|
657
657
|
__typename: 'AthleteRankings';
|
|
658
658
|
}
|
|
659
|
+
export interface AthleteTeamMember {
|
|
660
|
+
_id: Scalars['String'];
|
|
661
|
+
firstName: (Scalars['String'] | null);
|
|
662
|
+
lastName: (Scalars['String'] | null);
|
|
663
|
+
screenName: (Scalars['String'] | null);
|
|
664
|
+
vtxScore: (Scalars['Float'] | null);
|
|
665
|
+
profilePicture: (AWSS3File | null);
|
|
666
|
+
__typename: 'AthleteTeamMember';
|
|
667
|
+
}
|
|
668
|
+
export interface AthleteTeam {
|
|
669
|
+
_id: Scalars['String'];
|
|
670
|
+
athlete: (AthleteTeamMember | null);
|
|
671
|
+
sport: (Sport | null);
|
|
672
|
+
role: Scalars['String'];
|
|
673
|
+
status: Scalars['String'];
|
|
674
|
+
joinedAt: (Scalars['DateTime'] | null);
|
|
675
|
+
leftAt: (Scalars['DateTime'] | null);
|
|
676
|
+
__typename: 'AthleteTeam';
|
|
677
|
+
}
|
|
678
|
+
export interface TeamClubReference {
|
|
679
|
+
_id: Scalars['String'];
|
|
680
|
+
name: Scalars['String'];
|
|
681
|
+
logo: (AWSS3File | null);
|
|
682
|
+
__typename: 'TeamClubReference';
|
|
683
|
+
}
|
|
659
684
|
export interface Team {
|
|
660
685
|
_id: Scalars['String'];
|
|
661
686
|
name: Scalars['String'];
|
|
@@ -664,6 +689,13 @@ export interface Team {
|
|
|
664
689
|
approved: (Scalars['Boolean'] | null);
|
|
665
690
|
logo: (AWSS3File | null);
|
|
666
691
|
banner: (AWSS3File | null);
|
|
692
|
+
club: (TeamClubReference | null);
|
|
693
|
+
athletes: (AthleteTeam[] | null);
|
|
694
|
+
joinPolicy: (Scalars['String'] | null);
|
|
695
|
+
maxRosterSize: (Scalars['Int'] | null);
|
|
696
|
+
visibility: (Scalars['String'] | null);
|
|
697
|
+
stripeAccountId: (Scalars['String'] | null);
|
|
698
|
+
vtxScore: (Scalars['Float'] | null);
|
|
667
699
|
__typename: 'Team';
|
|
668
700
|
}
|
|
669
701
|
export interface WorldLocation {
|
|
@@ -1649,6 +1681,41 @@ export interface PaginatedSports {
|
|
|
1649
1681
|
pagination: EnhancedPaginationInfoType;
|
|
1650
1682
|
__typename: 'PaginatedSports';
|
|
1651
1683
|
}
|
|
1684
|
+
export interface Club {
|
|
1685
|
+
_id: Scalars['String'];
|
|
1686
|
+
name: Scalars['String'];
|
|
1687
|
+
description: (Scalars['String'] | null);
|
|
1688
|
+
sports: (Sport[] | null);
|
|
1689
|
+
logo: (AWSS3File | null);
|
|
1690
|
+
banner: (AWSS3File | null);
|
|
1691
|
+
location: (Scalars['String'] | null);
|
|
1692
|
+
website: (Scalars['String'] | null);
|
|
1693
|
+
membershipType: Scalars['String'];
|
|
1694
|
+
feeStructure: (Scalars['JSON'] | null);
|
|
1695
|
+
approved: (Scalars['Boolean'] | null);
|
|
1696
|
+
visibility: Scalars['String'];
|
|
1697
|
+
teams: (Team[] | null);
|
|
1698
|
+
stripeAccountId: (Scalars['String'] | null);
|
|
1699
|
+
__typename: 'Club';
|
|
1700
|
+
}
|
|
1701
|
+
export interface AthleteClubMember {
|
|
1702
|
+
_id: Scalars['String'];
|
|
1703
|
+
firstName: (Scalars['String'] | null);
|
|
1704
|
+
lastName: (Scalars['String'] | null);
|
|
1705
|
+
screenName: (Scalars['String'] | null);
|
|
1706
|
+
profilePicture: (AWSS3File | null);
|
|
1707
|
+
__typename: 'AthleteClubMember';
|
|
1708
|
+
}
|
|
1709
|
+
export interface AthleteClub {
|
|
1710
|
+
_id: Scalars['String'];
|
|
1711
|
+
athlete: (AthleteClubMember | null);
|
|
1712
|
+
club: (Club | null);
|
|
1713
|
+
role: Scalars['String'];
|
|
1714
|
+
status: Scalars['String'];
|
|
1715
|
+
joinedAt: (Scalars['DateTime'] | null);
|
|
1716
|
+
leftAt: (Scalars['DateTime'] | null);
|
|
1717
|
+
__typename: 'AthleteClub';
|
|
1718
|
+
}
|
|
1652
1719
|
export interface UserImages {
|
|
1653
1720
|
profilePictureUrl: (Scalars['String'] | null);
|
|
1654
1721
|
cardPictureUrl: (Scalars['String'] | null);
|
|
@@ -2159,6 +2226,52 @@ export interface AiCoachUnreadNudgeCountResponse {
|
|
|
2159
2226
|
count: Scalars['Int'];
|
|
2160
2227
|
__typename: 'AiCoachUnreadNudgeCountResponse';
|
|
2161
2228
|
}
|
|
2229
|
+
export interface StripeAccountStatus {
|
|
2230
|
+
chargesEnabled: Scalars['Boolean'];
|
|
2231
|
+
payoutsEnabled: Scalars['Boolean'];
|
|
2232
|
+
detailsSubmitted: Scalars['Boolean'];
|
|
2233
|
+
__typename: 'StripeAccountStatus';
|
|
2234
|
+
}
|
|
2235
|
+
export interface TeamVtxScoreHistoryEntry {
|
|
2236
|
+
date: Scalars['DateTime'];
|
|
2237
|
+
score: Scalars['Float'];
|
|
2238
|
+
__typename: 'TeamVtxScoreHistoryEntry';
|
|
2239
|
+
}
|
|
2240
|
+
export interface TeamLeaderboardEntry {
|
|
2241
|
+
athleteId: Scalars['String'];
|
|
2242
|
+
athleteName: Scalars['String'];
|
|
2243
|
+
athletePhoto: (Scalars['String'] | null);
|
|
2244
|
+
sport: (Scalars['String'] | null);
|
|
2245
|
+
vtxScore: Scalars['Float'];
|
|
2246
|
+
rank: Scalars['Int'];
|
|
2247
|
+
tpiScore: (Scalars['Float'] | null);
|
|
2248
|
+
spiScore: (Scalars['Float'] | null);
|
|
2249
|
+
apiScore: (Scalars['Float'] | null);
|
|
2250
|
+
__typename: 'TeamLeaderboardEntry';
|
|
2251
|
+
}
|
|
2252
|
+
export interface TeamAnalytics {
|
|
2253
|
+
teamId: Scalars['String'];
|
|
2254
|
+
teamName: Scalars['String'];
|
|
2255
|
+
vtxScore: (Scalars['Float'] | null);
|
|
2256
|
+
athleteCount: Scalars['Int'];
|
|
2257
|
+
rosterSize: (Scalars['Int'] | null);
|
|
2258
|
+
vtxScoreHistory: (TeamVtxScoreHistoryEntry[] | null);
|
|
2259
|
+
topPerformers: (TeamLeaderboardEntry[] | null);
|
|
2260
|
+
__typename: 'TeamAnalytics';
|
|
2261
|
+
}
|
|
2262
|
+
export interface TeamRosterOverview {
|
|
2263
|
+
totalActive: Scalars['Int'];
|
|
2264
|
+
totalInactive: Scalars['Int'];
|
|
2265
|
+
recentJoins: Scalars['Int'];
|
|
2266
|
+
recentDepartures: Scalars['Int'];
|
|
2267
|
+
__typename: 'TeamRosterOverview';
|
|
2268
|
+
}
|
|
2269
|
+
export interface TeamDashboard {
|
|
2270
|
+
analytics: TeamAnalytics;
|
|
2271
|
+
roster: TeamRosterOverview;
|
|
2272
|
+
leaderboard: TeamLeaderboardEntry[];
|
|
2273
|
+
__typename: 'TeamDashboard';
|
|
2274
|
+
}
|
|
2162
2275
|
export type TimeRange = 'SEVEN_DAYS' | 'THIRTY_DAYS' | 'NINETY_DAYS' | 'ONE_YEAR' | 'ALL_TIME';
|
|
2163
2276
|
export type DonationMode = 'PUBLIC' | 'PRIVATE' | 'ANONYMOUS';
|
|
2164
2277
|
export type OfferClaimStatus = 'ACTIVE' | 'EXPIRED' | 'ALL';
|
|
@@ -2291,6 +2404,19 @@ export interface Query {
|
|
|
2291
2404
|
getAiCoachConfig: AiCoachConfig;
|
|
2292
2405
|
getAiCoachNudges: AiCoachNudgeListResponse;
|
|
2293
2406
|
getAiCoachUnreadNudgeCount: AiCoachUnreadNudgeCountResponse;
|
|
2407
|
+
findAllTeams: Team[];
|
|
2408
|
+
getTeamStripeAccountStatus: (StripeAccountStatus | null);
|
|
2409
|
+
findTeamById: Team;
|
|
2410
|
+
findTeams: Team[];
|
|
2411
|
+
getTeamRoster: AthleteTeam[];
|
|
2412
|
+
getTeamAnalytics: TeamAnalytics;
|
|
2413
|
+
getTeamLeaderboard: TeamLeaderboardEntry[];
|
|
2414
|
+
getTeamDashboard: TeamDashboard;
|
|
2415
|
+
findAllClubs: Club[];
|
|
2416
|
+
getClubStripeAccountStatus: (StripeAccountStatus | null);
|
|
2417
|
+
findClubById: Club;
|
|
2418
|
+
findClubs: Club[];
|
|
2419
|
+
getClubMembers: AthleteClub[];
|
|
2294
2420
|
__typename: 'Query';
|
|
2295
2421
|
}
|
|
2296
2422
|
export interface Mutation {
|
|
@@ -2412,6 +2538,25 @@ export interface Mutation {
|
|
|
2412
2538
|
sendAiCoachMessage: AiCoachMessage;
|
|
2413
2539
|
updateAiCoachConfig: AiCoachConfig;
|
|
2414
2540
|
markAiCoachNudgeRead: Scalars['Boolean'];
|
|
2541
|
+
createTeam: Team;
|
|
2542
|
+
updateTeam: Team;
|
|
2543
|
+
joinTeam: AthleteTeam;
|
|
2544
|
+
leaveTeam: AthleteTeam;
|
|
2545
|
+
inviteToTeam: AthleteTeam;
|
|
2546
|
+
manageTeamMember: AthleteTeam;
|
|
2547
|
+
approveTeam: Team;
|
|
2548
|
+
createTeamStripeAccount: Scalars['String'];
|
|
2549
|
+
createTeamDonationCheckout: Scalars['String'];
|
|
2550
|
+
createClub: Club;
|
|
2551
|
+
updateClub: Club;
|
|
2552
|
+
joinClub: AthleteClub;
|
|
2553
|
+
leaveClub: AthleteClub;
|
|
2554
|
+
inviteToClub: AthleteClub;
|
|
2555
|
+
manageClubMember: AthleteClub;
|
|
2556
|
+
approveClub: Club;
|
|
2557
|
+
createClubStripeAccount: Scalars['String'];
|
|
2558
|
+
createClubDonationCheckout: Scalars['String'];
|
|
2559
|
+
createMembershipFeeCheckout: (Scalars['String'] | null);
|
|
2415
2560
|
__typename: 'Mutation';
|
|
2416
2561
|
}
|
|
2417
2562
|
export interface UserGenqlSelection {
|
|
@@ -3138,6 +3283,34 @@ export interface AthleteRankingsGenqlSelection {
|
|
|
3138
3283
|
__typename?: boolean | number;
|
|
3139
3284
|
__scalar?: boolean | number;
|
|
3140
3285
|
}
|
|
3286
|
+
export interface AthleteTeamMemberGenqlSelection {
|
|
3287
|
+
_id?: boolean | number;
|
|
3288
|
+
firstName?: boolean | number;
|
|
3289
|
+
lastName?: boolean | number;
|
|
3290
|
+
screenName?: boolean | number;
|
|
3291
|
+
vtxScore?: boolean | number;
|
|
3292
|
+
profilePicture?: AWSS3FileGenqlSelection;
|
|
3293
|
+
__typename?: boolean | number;
|
|
3294
|
+
__scalar?: boolean | number;
|
|
3295
|
+
}
|
|
3296
|
+
export interface AthleteTeamGenqlSelection {
|
|
3297
|
+
_id?: boolean | number;
|
|
3298
|
+
athlete?: AthleteTeamMemberGenqlSelection;
|
|
3299
|
+
sport?: SportGenqlSelection;
|
|
3300
|
+
role?: boolean | number;
|
|
3301
|
+
status?: boolean | number;
|
|
3302
|
+
joinedAt?: boolean | number;
|
|
3303
|
+
leftAt?: boolean | number;
|
|
3304
|
+
__typename?: boolean | number;
|
|
3305
|
+
__scalar?: boolean | number;
|
|
3306
|
+
}
|
|
3307
|
+
export interface TeamClubReferenceGenqlSelection {
|
|
3308
|
+
_id?: boolean | number;
|
|
3309
|
+
name?: boolean | number;
|
|
3310
|
+
logo?: AWSS3FileGenqlSelection;
|
|
3311
|
+
__typename?: boolean | number;
|
|
3312
|
+
__scalar?: boolean | number;
|
|
3313
|
+
}
|
|
3141
3314
|
export interface TeamGenqlSelection {
|
|
3142
3315
|
_id?: boolean | number;
|
|
3143
3316
|
name?: boolean | number;
|
|
@@ -3146,6 +3319,13 @@ export interface TeamGenqlSelection {
|
|
|
3146
3319
|
approved?: boolean | number;
|
|
3147
3320
|
logo?: AWSS3FileGenqlSelection;
|
|
3148
3321
|
banner?: AWSS3FileGenqlSelection;
|
|
3322
|
+
club?: TeamClubReferenceGenqlSelection;
|
|
3323
|
+
athletes?: AthleteTeamGenqlSelection;
|
|
3324
|
+
joinPolicy?: boolean | number;
|
|
3325
|
+
maxRosterSize?: boolean | number;
|
|
3326
|
+
visibility?: boolean | number;
|
|
3327
|
+
stripeAccountId?: boolean | number;
|
|
3328
|
+
vtxScore?: boolean | number;
|
|
3149
3329
|
__typename?: boolean | number;
|
|
3150
3330
|
__scalar?: boolean | number;
|
|
3151
3331
|
}
|
|
@@ -4222,6 +4402,44 @@ export interface PaginatedSportsGenqlSelection {
|
|
|
4222
4402
|
__typename?: boolean | number;
|
|
4223
4403
|
__scalar?: boolean | number;
|
|
4224
4404
|
}
|
|
4405
|
+
export interface ClubGenqlSelection {
|
|
4406
|
+
_id?: boolean | number;
|
|
4407
|
+
name?: boolean | number;
|
|
4408
|
+
description?: boolean | number;
|
|
4409
|
+
sports?: SportGenqlSelection;
|
|
4410
|
+
logo?: AWSS3FileGenqlSelection;
|
|
4411
|
+
banner?: AWSS3FileGenqlSelection;
|
|
4412
|
+
location?: boolean | number;
|
|
4413
|
+
website?: boolean | number;
|
|
4414
|
+
membershipType?: boolean | number;
|
|
4415
|
+
feeStructure?: boolean | number;
|
|
4416
|
+
approved?: boolean | number;
|
|
4417
|
+
visibility?: boolean | number;
|
|
4418
|
+
teams?: TeamGenqlSelection;
|
|
4419
|
+
stripeAccountId?: boolean | number;
|
|
4420
|
+
__typename?: boolean | number;
|
|
4421
|
+
__scalar?: boolean | number;
|
|
4422
|
+
}
|
|
4423
|
+
export interface AthleteClubMemberGenqlSelection {
|
|
4424
|
+
_id?: boolean | number;
|
|
4425
|
+
firstName?: boolean | number;
|
|
4426
|
+
lastName?: boolean | number;
|
|
4427
|
+
screenName?: boolean | number;
|
|
4428
|
+
profilePicture?: AWSS3FileGenqlSelection;
|
|
4429
|
+
__typename?: boolean | number;
|
|
4430
|
+
__scalar?: boolean | number;
|
|
4431
|
+
}
|
|
4432
|
+
export interface AthleteClubGenqlSelection {
|
|
4433
|
+
_id?: boolean | number;
|
|
4434
|
+
athlete?: AthleteClubMemberGenqlSelection;
|
|
4435
|
+
club?: ClubGenqlSelection;
|
|
4436
|
+
role?: boolean | number;
|
|
4437
|
+
status?: boolean | number;
|
|
4438
|
+
joinedAt?: boolean | number;
|
|
4439
|
+
leftAt?: boolean | number;
|
|
4440
|
+
__typename?: boolean | number;
|
|
4441
|
+
__scalar?: boolean | number;
|
|
4442
|
+
}
|
|
4225
4443
|
export interface UserImagesGenqlSelection {
|
|
4226
4444
|
profilePictureUrl?: boolean | number;
|
|
4227
4445
|
cardPictureUrl?: boolean | number;
|
|
@@ -4786,6 +5004,58 @@ export interface AiCoachUnreadNudgeCountResponseGenqlSelection {
|
|
|
4786
5004
|
__typename?: boolean | number;
|
|
4787
5005
|
__scalar?: boolean | number;
|
|
4788
5006
|
}
|
|
5007
|
+
export interface StripeAccountStatusGenqlSelection {
|
|
5008
|
+
chargesEnabled?: boolean | number;
|
|
5009
|
+
payoutsEnabled?: boolean | number;
|
|
5010
|
+
detailsSubmitted?: boolean | number;
|
|
5011
|
+
__typename?: boolean | number;
|
|
5012
|
+
__scalar?: boolean | number;
|
|
5013
|
+
}
|
|
5014
|
+
export interface TeamVtxScoreHistoryEntryGenqlSelection {
|
|
5015
|
+
date?: boolean | number;
|
|
5016
|
+
score?: boolean | number;
|
|
5017
|
+
__typename?: boolean | number;
|
|
5018
|
+
__scalar?: boolean | number;
|
|
5019
|
+
}
|
|
5020
|
+
export interface TeamLeaderboardEntryGenqlSelection {
|
|
5021
|
+
athleteId?: boolean | number;
|
|
5022
|
+
athleteName?: boolean | number;
|
|
5023
|
+
athletePhoto?: boolean | number;
|
|
5024
|
+
sport?: boolean | number;
|
|
5025
|
+
vtxScore?: boolean | number;
|
|
5026
|
+
rank?: boolean | number;
|
|
5027
|
+
tpiScore?: boolean | number;
|
|
5028
|
+
spiScore?: boolean | number;
|
|
5029
|
+
apiScore?: boolean | number;
|
|
5030
|
+
__typename?: boolean | number;
|
|
5031
|
+
__scalar?: boolean | number;
|
|
5032
|
+
}
|
|
5033
|
+
export interface TeamAnalyticsGenqlSelection {
|
|
5034
|
+
teamId?: boolean | number;
|
|
5035
|
+
teamName?: boolean | number;
|
|
5036
|
+
vtxScore?: boolean | number;
|
|
5037
|
+
athleteCount?: boolean | number;
|
|
5038
|
+
rosterSize?: boolean | number;
|
|
5039
|
+
vtxScoreHistory?: TeamVtxScoreHistoryEntryGenqlSelection;
|
|
5040
|
+
topPerformers?: TeamLeaderboardEntryGenqlSelection;
|
|
5041
|
+
__typename?: boolean | number;
|
|
5042
|
+
__scalar?: boolean | number;
|
|
5043
|
+
}
|
|
5044
|
+
export interface TeamRosterOverviewGenqlSelection {
|
|
5045
|
+
totalActive?: boolean | number;
|
|
5046
|
+
totalInactive?: boolean | number;
|
|
5047
|
+
recentJoins?: boolean | number;
|
|
5048
|
+
recentDepartures?: boolean | number;
|
|
5049
|
+
__typename?: boolean | number;
|
|
5050
|
+
__scalar?: boolean | number;
|
|
5051
|
+
}
|
|
5052
|
+
export interface TeamDashboardGenqlSelection {
|
|
5053
|
+
analytics?: TeamAnalyticsGenqlSelection;
|
|
5054
|
+
roster?: TeamRosterOverviewGenqlSelection;
|
|
5055
|
+
leaderboard?: TeamLeaderboardEntryGenqlSelection;
|
|
5056
|
+
__typename?: boolean | number;
|
|
5057
|
+
__scalar?: boolean | number;
|
|
5058
|
+
}
|
|
4789
5059
|
export interface CreateDatabaseFileDto {
|
|
4790
5060
|
identifier: Scalars['String'];
|
|
4791
5061
|
version?: Scalars['String'];
|
|
@@ -5555,6 +5825,64 @@ export interface UpdateAiCoachConfigDto {
|
|
|
5555
5825
|
export interface NudgeQueryDto {
|
|
5556
5826
|
unreadOnly?: (Scalars['Boolean'] | null);
|
|
5557
5827
|
}
|
|
5828
|
+
export interface CreateTeamInput {
|
|
5829
|
+
name: Scalars['String'];
|
|
5830
|
+
description?: (Scalars['String'] | null);
|
|
5831
|
+
sportIds: Scalars['String'][];
|
|
5832
|
+
joinPolicy?: (Scalars['String'] | null);
|
|
5833
|
+
maxRosterSize?: (Scalars['Int'] | null);
|
|
5834
|
+
visibility?: (Scalars['String'] | null);
|
|
5835
|
+
clubId?: (Scalars['String'] | null);
|
|
5836
|
+
}
|
|
5837
|
+
export interface UpdateTeamInput {
|
|
5838
|
+
teamId: Scalars['String'];
|
|
5839
|
+
name?: (Scalars['String'] | null);
|
|
5840
|
+
description?: (Scalars['String'] | null);
|
|
5841
|
+
joinPolicy?: (Scalars['String'] | null);
|
|
5842
|
+
maxRosterSize?: (Scalars['Int'] | null);
|
|
5843
|
+
visibility?: (Scalars['String'] | null);
|
|
5844
|
+
}
|
|
5845
|
+
export interface JoinTeamInput {
|
|
5846
|
+
teamId: Scalars['String'];
|
|
5847
|
+
sportId: Scalars['String'];
|
|
5848
|
+
message?: (Scalars['String'] | null);
|
|
5849
|
+
}
|
|
5850
|
+
export interface ManageTeamMemberInput {
|
|
5851
|
+
teamId: Scalars['String'];
|
|
5852
|
+
athleteId: Scalars['String'];
|
|
5853
|
+
action: Scalars['String'];
|
|
5854
|
+
role?: (Scalars['String'] | null);
|
|
5855
|
+
}
|
|
5856
|
+
export interface CreateClubInput {
|
|
5857
|
+
name: Scalars['String'];
|
|
5858
|
+
description?: (Scalars['String'] | null);
|
|
5859
|
+
sportIds: Scalars['String'][];
|
|
5860
|
+
membershipType?: (Scalars['String'] | null);
|
|
5861
|
+
feeStructure?: (Scalars['JSON'] | null);
|
|
5862
|
+
visibility?: (Scalars['String'] | null);
|
|
5863
|
+
location?: (Scalars['String'] | null);
|
|
5864
|
+
website?: (Scalars['String'] | null);
|
|
5865
|
+
}
|
|
5866
|
+
export interface UpdateClubInput {
|
|
5867
|
+
clubId: Scalars['String'];
|
|
5868
|
+
name?: (Scalars['String'] | null);
|
|
5869
|
+
description?: (Scalars['String'] | null);
|
|
5870
|
+
membershipType?: (Scalars['String'] | null);
|
|
5871
|
+
feeStructure?: (Scalars['JSON'] | null);
|
|
5872
|
+
visibility?: (Scalars['String'] | null);
|
|
5873
|
+
location?: (Scalars['String'] | null);
|
|
5874
|
+
website?: (Scalars['String'] | null);
|
|
5875
|
+
}
|
|
5876
|
+
export interface JoinClubInput {
|
|
5877
|
+
clubId: Scalars['String'];
|
|
5878
|
+
message?: (Scalars['String'] | null);
|
|
5879
|
+
}
|
|
5880
|
+
export interface ManageClubMemberInput {
|
|
5881
|
+
clubId: Scalars['String'];
|
|
5882
|
+
athleteId: Scalars['String'];
|
|
5883
|
+
action: Scalars['String'];
|
|
5884
|
+
role?: (Scalars['String'] | null);
|
|
5885
|
+
}
|
|
5558
5886
|
export interface QueryGenqlSelection {
|
|
5559
5887
|
findTenantById?: (TenantGenqlSelection & {
|
|
5560
5888
|
__args: {
|
|
@@ -6062,6 +6390,64 @@ export interface QueryGenqlSelection {
|
|
|
6062
6390
|
};
|
|
6063
6391
|
});
|
|
6064
6392
|
getAiCoachUnreadNudgeCount?: AiCoachUnreadNudgeCountResponseGenqlSelection;
|
|
6393
|
+
findAllTeams?: TeamGenqlSelection;
|
|
6394
|
+
getTeamStripeAccountStatus?: (StripeAccountStatusGenqlSelection & {
|
|
6395
|
+
__args: {
|
|
6396
|
+
teamId: Scalars['String'];
|
|
6397
|
+
};
|
|
6398
|
+
});
|
|
6399
|
+
findTeamById?: (TeamGenqlSelection & {
|
|
6400
|
+
__args: {
|
|
6401
|
+
teamId: Scalars['String'];
|
|
6402
|
+
};
|
|
6403
|
+
});
|
|
6404
|
+
findTeams?: (TeamGenqlSelection & {
|
|
6405
|
+
__args?: {
|
|
6406
|
+
sportId?: (Scalars['String'] | null);
|
|
6407
|
+
clubId?: (Scalars['String'] | null);
|
|
6408
|
+
};
|
|
6409
|
+
});
|
|
6410
|
+
getTeamRoster?: (AthleteTeamGenqlSelection & {
|
|
6411
|
+
__args: {
|
|
6412
|
+
teamId: Scalars['String'];
|
|
6413
|
+
};
|
|
6414
|
+
});
|
|
6415
|
+
getTeamAnalytics?: (TeamAnalyticsGenqlSelection & {
|
|
6416
|
+
__args: {
|
|
6417
|
+
teamId: Scalars['String'];
|
|
6418
|
+
};
|
|
6419
|
+
});
|
|
6420
|
+
getTeamLeaderboard?: (TeamLeaderboardEntryGenqlSelection & {
|
|
6421
|
+
__args: {
|
|
6422
|
+
teamId: Scalars['String'];
|
|
6423
|
+
};
|
|
6424
|
+
});
|
|
6425
|
+
getTeamDashboard?: (TeamDashboardGenqlSelection & {
|
|
6426
|
+
__args: {
|
|
6427
|
+
teamId: Scalars['String'];
|
|
6428
|
+
};
|
|
6429
|
+
});
|
|
6430
|
+
findAllClubs?: ClubGenqlSelection;
|
|
6431
|
+
getClubStripeAccountStatus?: (StripeAccountStatusGenqlSelection & {
|
|
6432
|
+
__args: {
|
|
6433
|
+
clubId: Scalars['String'];
|
|
6434
|
+
};
|
|
6435
|
+
});
|
|
6436
|
+
findClubById?: (ClubGenqlSelection & {
|
|
6437
|
+
__args: {
|
|
6438
|
+
clubId: Scalars['String'];
|
|
6439
|
+
};
|
|
6440
|
+
});
|
|
6441
|
+
findClubs?: (ClubGenqlSelection & {
|
|
6442
|
+
__args?: {
|
|
6443
|
+
sportId?: (Scalars['String'] | null);
|
|
6444
|
+
};
|
|
6445
|
+
});
|
|
6446
|
+
getClubMembers?: (AthleteClubGenqlSelection & {
|
|
6447
|
+
__args: {
|
|
6448
|
+
clubId: Scalars['String'];
|
|
6449
|
+
};
|
|
6450
|
+
});
|
|
6065
6451
|
__typename?: boolean | number;
|
|
6066
6452
|
__scalar?: boolean | number;
|
|
6067
6453
|
}
|
|
@@ -6664,6 +7050,114 @@ export interface MutationGenqlSelection {
|
|
|
6664
7050
|
nudgeId: Scalars['String'];
|
|
6665
7051
|
};
|
|
6666
7052
|
};
|
|
7053
|
+
createTeam?: (TeamGenqlSelection & {
|
|
7054
|
+
__args: {
|
|
7055
|
+
input: CreateTeamInput;
|
|
7056
|
+
};
|
|
7057
|
+
});
|
|
7058
|
+
updateTeam?: (TeamGenqlSelection & {
|
|
7059
|
+
__args: {
|
|
7060
|
+
input: UpdateTeamInput;
|
|
7061
|
+
};
|
|
7062
|
+
});
|
|
7063
|
+
joinTeam?: (AthleteTeamGenqlSelection & {
|
|
7064
|
+
__args: {
|
|
7065
|
+
input: JoinTeamInput;
|
|
7066
|
+
};
|
|
7067
|
+
});
|
|
7068
|
+
leaveTeam?: (AthleteTeamGenqlSelection & {
|
|
7069
|
+
__args: {
|
|
7070
|
+
teamId: Scalars['String'];
|
|
7071
|
+
};
|
|
7072
|
+
});
|
|
7073
|
+
inviteToTeam?: (AthleteTeamGenqlSelection & {
|
|
7074
|
+
__args: {
|
|
7075
|
+
teamId: Scalars['String'];
|
|
7076
|
+
athleteId: Scalars['String'];
|
|
7077
|
+
sportId: Scalars['String'];
|
|
7078
|
+
};
|
|
7079
|
+
});
|
|
7080
|
+
manageTeamMember?: (AthleteTeamGenqlSelection & {
|
|
7081
|
+
__args: {
|
|
7082
|
+
input: ManageTeamMemberInput;
|
|
7083
|
+
};
|
|
7084
|
+
});
|
|
7085
|
+
approveTeam?: (TeamGenqlSelection & {
|
|
7086
|
+
__args: {
|
|
7087
|
+
teamId: Scalars['String'];
|
|
7088
|
+
approved: Scalars['Boolean'];
|
|
7089
|
+
};
|
|
7090
|
+
});
|
|
7091
|
+
createTeamStripeAccount?: {
|
|
7092
|
+
__args: {
|
|
7093
|
+
teamId: Scalars['String'];
|
|
7094
|
+
};
|
|
7095
|
+
};
|
|
7096
|
+
createTeamDonationCheckout?: {
|
|
7097
|
+
__args: {
|
|
7098
|
+
teamId: Scalars['String'];
|
|
7099
|
+
amount: Scalars['Float'];
|
|
7100
|
+
currency?: Scalars['String'];
|
|
7101
|
+
donorEmail?: (Scalars['String'] | null);
|
|
7102
|
+
donorName?: (Scalars['String'] | null);
|
|
7103
|
+
};
|
|
7104
|
+
};
|
|
7105
|
+
createClub?: (ClubGenqlSelection & {
|
|
7106
|
+
__args: {
|
|
7107
|
+
input: CreateClubInput;
|
|
7108
|
+
};
|
|
7109
|
+
});
|
|
7110
|
+
updateClub?: (ClubGenqlSelection & {
|
|
7111
|
+
__args: {
|
|
7112
|
+
input: UpdateClubInput;
|
|
7113
|
+
};
|
|
7114
|
+
});
|
|
7115
|
+
joinClub?: (AthleteClubGenqlSelection & {
|
|
7116
|
+
__args: {
|
|
7117
|
+
input: JoinClubInput;
|
|
7118
|
+
};
|
|
7119
|
+
});
|
|
7120
|
+
leaveClub?: (AthleteClubGenqlSelection & {
|
|
7121
|
+
__args: {
|
|
7122
|
+
clubId: Scalars['String'];
|
|
7123
|
+
};
|
|
7124
|
+
});
|
|
7125
|
+
inviteToClub?: (AthleteClubGenqlSelection & {
|
|
7126
|
+
__args: {
|
|
7127
|
+
clubId: Scalars['String'];
|
|
7128
|
+
athleteId: Scalars['String'];
|
|
7129
|
+
};
|
|
7130
|
+
});
|
|
7131
|
+
manageClubMember?: (AthleteClubGenqlSelection & {
|
|
7132
|
+
__args: {
|
|
7133
|
+
input: ManageClubMemberInput;
|
|
7134
|
+
};
|
|
7135
|
+
});
|
|
7136
|
+
approveClub?: (ClubGenqlSelection & {
|
|
7137
|
+
__args: {
|
|
7138
|
+
clubId: Scalars['String'];
|
|
7139
|
+
approved: Scalars['Boolean'];
|
|
7140
|
+
};
|
|
7141
|
+
});
|
|
7142
|
+
createClubStripeAccount?: {
|
|
7143
|
+
__args: {
|
|
7144
|
+
clubId: Scalars['String'];
|
|
7145
|
+
};
|
|
7146
|
+
};
|
|
7147
|
+
createClubDonationCheckout?: {
|
|
7148
|
+
__args: {
|
|
7149
|
+
clubId: Scalars['String'];
|
|
7150
|
+
amount: Scalars['Float'];
|
|
7151
|
+
currency?: Scalars['String'];
|
|
7152
|
+
donorEmail?: (Scalars['String'] | null);
|
|
7153
|
+
donorName?: (Scalars['String'] | null);
|
|
7154
|
+
};
|
|
7155
|
+
};
|
|
7156
|
+
createMembershipFeeCheckout?: {
|
|
7157
|
+
__args: {
|
|
7158
|
+
clubId: Scalars['String'];
|
|
7159
|
+
};
|
|
7160
|
+
};
|
|
6667
7161
|
__typename?: boolean | number;
|
|
6668
7162
|
__scalar?: boolean | number;
|
|
6669
7163
|
}
|
|
@@ -7097,6 +7591,15 @@ export declare const isRanking: (obj?: {
|
|
|
7097
7591
|
export declare const isAthleteRankings: (obj?: {
|
|
7098
7592
|
__typename?: any;
|
|
7099
7593
|
} | null) => obj is AthleteRankings;
|
|
7594
|
+
export declare const isAthleteTeamMember: (obj?: {
|
|
7595
|
+
__typename?: any;
|
|
7596
|
+
} | null) => obj is AthleteTeamMember;
|
|
7597
|
+
export declare const isAthleteTeam: (obj?: {
|
|
7598
|
+
__typename?: any;
|
|
7599
|
+
} | null) => obj is AthleteTeam;
|
|
7600
|
+
export declare const isTeamClubReference: (obj?: {
|
|
7601
|
+
__typename?: any;
|
|
7602
|
+
} | null) => obj is TeamClubReference;
|
|
7100
7603
|
export declare const isTeam: (obj?: {
|
|
7101
7604
|
__typename?: any;
|
|
7102
7605
|
} | null) => obj is Team;
|
|
@@ -7382,6 +7885,15 @@ export declare const isPublicIntegrationStatus: (obj?: {
|
|
|
7382
7885
|
export declare const isPaginatedSports: (obj?: {
|
|
7383
7886
|
__typename?: any;
|
|
7384
7887
|
} | null) => obj is PaginatedSports;
|
|
7888
|
+
export declare const isClub: (obj?: {
|
|
7889
|
+
__typename?: any;
|
|
7890
|
+
} | null) => obj is Club;
|
|
7891
|
+
export declare const isAthleteClubMember: (obj?: {
|
|
7892
|
+
__typename?: any;
|
|
7893
|
+
} | null) => obj is AthleteClubMember;
|
|
7894
|
+
export declare const isAthleteClub: (obj?: {
|
|
7895
|
+
__typename?: any;
|
|
7896
|
+
} | null) => obj is AthleteClub;
|
|
7385
7897
|
export declare const isUserImages: (obj?: {
|
|
7386
7898
|
__typename?: any;
|
|
7387
7899
|
} | null) => obj is UserImages;
|
|
@@ -7559,6 +8071,24 @@ export declare const isAiCoachNudgeListResponse: (obj?: {
|
|
|
7559
8071
|
export declare const isAiCoachUnreadNudgeCountResponse: (obj?: {
|
|
7560
8072
|
__typename?: any;
|
|
7561
8073
|
} | null) => obj is AiCoachUnreadNudgeCountResponse;
|
|
8074
|
+
export declare const isStripeAccountStatus: (obj?: {
|
|
8075
|
+
__typename?: any;
|
|
8076
|
+
} | null) => obj is StripeAccountStatus;
|
|
8077
|
+
export declare const isTeamVtxScoreHistoryEntry: (obj?: {
|
|
8078
|
+
__typename?: any;
|
|
8079
|
+
} | null) => obj is TeamVtxScoreHistoryEntry;
|
|
8080
|
+
export declare const isTeamLeaderboardEntry: (obj?: {
|
|
8081
|
+
__typename?: any;
|
|
8082
|
+
} | null) => obj is TeamLeaderboardEntry;
|
|
8083
|
+
export declare const isTeamAnalytics: (obj?: {
|
|
8084
|
+
__typename?: any;
|
|
8085
|
+
} | null) => obj is TeamAnalytics;
|
|
8086
|
+
export declare const isTeamRosterOverview: (obj?: {
|
|
8087
|
+
__typename?: any;
|
|
8088
|
+
} | null) => obj is TeamRosterOverview;
|
|
8089
|
+
export declare const isTeamDashboard: (obj?: {
|
|
8090
|
+
__typename?: any;
|
|
8091
|
+
} | null) => obj is TeamDashboard;
|
|
7562
8092
|
export declare const isQuery: (obj?: {
|
|
7563
8093
|
__typename?: any;
|
|
7564
8094
|
} | null) => obj is Query;
|