@vertikalx/vtx-backend-client 3.0.0-dev-max.151 → 3.0.0-dev-max3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/api/vtx-base-api.d.ts +28 -1
- package/src/api/vtx-base-api.js +62 -1
- package/src/api/vtx-base-api.js.map +1 -1
- package/src/api/vtx-mobile-api.d.ts +3 -1
- package/src/api/vtx-mobile-api.js +2 -2
- package/src/api/vtx-mobile-api.js.map +1 -1
- package/src/client/schema.d.ts +474 -8
- package/src/client/schema.js +65 -2
- package/src/client/schema.js.map +1 -1
- package/src/client/types.d.ts +264 -6
- package/src/client/types.js +1040 -327
- package/src/client/types.js.map +1 -1
- package/src/generated/graphql.d.ts +1140 -12
- package/src/generated/graphql.js +427 -13
- package/src/generated/graphql.js.map +1 -1
- package/tsconfig.lib.tsbuildinfo +0 -1
package/src/client/schema.d.ts
CHANGED
|
@@ -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 {
|
|
@@ -1104,7 +1110,6 @@ export interface StravaAthleteData {
|
|
|
1104
1110
|
profile: (Scalars['String'] | null);
|
|
1105
1111
|
created_at: (Scalars['String'] | null);
|
|
1106
1112
|
updated_at: (Scalars['String'] | null);
|
|
1107
|
-
weight: (Scalars['Float'] | null);
|
|
1108
1113
|
__typename: 'StravaAthleteData';
|
|
1109
1114
|
}
|
|
1110
1115
|
export interface InstagramCursors {
|
|
@@ -1159,10 +1164,8 @@ export interface AthleteIntegrationReference {
|
|
|
1159
1164
|
_id: Scalars['String'];
|
|
1160
1165
|
athlete: AthleteReference;
|
|
1161
1166
|
hasStravaIntegration: (Scalars['Boolean'] | null);
|
|
1162
|
-
stravaTokenExpires: (Scalars['DateTime'] | null);
|
|
1163
1167
|
stravaAthleteData: (StravaAthleteData | null);
|
|
1164
1168
|
hasInstagramIntegration: (Scalars['Boolean'] | null);
|
|
1165
|
-
instagramTokenExpires: (Scalars['DateTime'] | null);
|
|
1166
1169
|
instagramUserData: (InstagramUserData | null);
|
|
1167
1170
|
instagramMediaData: (InstagramMediaData | null);
|
|
1168
1171
|
__typename: 'AthleteIntegrationReference';
|
|
@@ -1652,6 +1655,45 @@ export interface PaginatedSports {
|
|
|
1652
1655
|
pagination: EnhancedPaginationInfoType;
|
|
1653
1656
|
__typename: 'PaginatedSports';
|
|
1654
1657
|
}
|
|
1658
|
+
export interface Club {
|
|
1659
|
+
_id: Scalars['String'];
|
|
1660
|
+
name: Scalars['String'];
|
|
1661
|
+
description: (Scalars['String'] | null);
|
|
1662
|
+
sports: (Sport[] | null);
|
|
1663
|
+
logo: (AWSS3File | null);
|
|
1664
|
+
banner: (AWSS3File | null);
|
|
1665
|
+
location: (Scalars['String'] | null);
|
|
1666
|
+
website: (Scalars['String'] | null);
|
|
1667
|
+
membershipType: Scalars['String'];
|
|
1668
|
+
feeStructure: (Scalars['JSON'] | null);
|
|
1669
|
+
approved: (Scalars['Boolean'] | null);
|
|
1670
|
+
visibility: Scalars['String'];
|
|
1671
|
+
teams: (Team[] | null);
|
|
1672
|
+
stripeAccountId: (Scalars['String'] | null);
|
|
1673
|
+
__typename: 'Club';
|
|
1674
|
+
}
|
|
1675
|
+
export interface AthleteClub {
|
|
1676
|
+
_id: Scalars['String'];
|
|
1677
|
+
clubId: Scalars['String'];
|
|
1678
|
+
athleteId: Scalars['String'];
|
|
1679
|
+
role: Scalars['String'];
|
|
1680
|
+
status: Scalars['String'];
|
|
1681
|
+
joinedAt: (Scalars['DateTime'] | null);
|
|
1682
|
+
leftAt: (Scalars['DateTime'] | null);
|
|
1683
|
+
club: (Club | null);
|
|
1684
|
+
__typename: 'AthleteClub';
|
|
1685
|
+
}
|
|
1686
|
+
export interface AthleteTeam {
|
|
1687
|
+
_id: Scalars['String'];
|
|
1688
|
+
teamId: Scalars['String'];
|
|
1689
|
+
athleteId: Scalars['String'];
|
|
1690
|
+
sportId: Scalars['String'];
|
|
1691
|
+
role: Scalars['String'];
|
|
1692
|
+
status: Scalars['String'];
|
|
1693
|
+
joinedAt: (Scalars['DateTime'] | null);
|
|
1694
|
+
leftAt: (Scalars['DateTime'] | null);
|
|
1695
|
+
__typename: 'AthleteTeam';
|
|
1696
|
+
}
|
|
1655
1697
|
export interface UserImages {
|
|
1656
1698
|
profilePictureUrl: (Scalars['String'] | null);
|
|
1657
1699
|
cardPictureUrl: (Scalars['String'] | null);
|
|
@@ -2162,6 +2204,52 @@ export interface AiCoachUnreadNudgeCountResponse {
|
|
|
2162
2204
|
count: Scalars['Int'];
|
|
2163
2205
|
__typename: 'AiCoachUnreadNudgeCountResponse';
|
|
2164
2206
|
}
|
|
2207
|
+
export interface StripeAccountStatus {
|
|
2208
|
+
chargesEnabled: Scalars['Boolean'];
|
|
2209
|
+
payoutsEnabled: Scalars['Boolean'];
|
|
2210
|
+
detailsSubmitted: Scalars['Boolean'];
|
|
2211
|
+
__typename: 'StripeAccountStatus';
|
|
2212
|
+
}
|
|
2213
|
+
export interface TeamVtxScoreHistoryEntry {
|
|
2214
|
+
date: Scalars['DateTime'];
|
|
2215
|
+
score: Scalars['Float'];
|
|
2216
|
+
__typename: 'TeamVtxScoreHistoryEntry';
|
|
2217
|
+
}
|
|
2218
|
+
export interface TeamLeaderboardEntry {
|
|
2219
|
+
athleteId: Scalars['String'];
|
|
2220
|
+
athleteName: Scalars['String'];
|
|
2221
|
+
athletePhoto: (Scalars['String'] | null);
|
|
2222
|
+
sport: (Scalars['String'] | null);
|
|
2223
|
+
vtxScore: Scalars['Float'];
|
|
2224
|
+
rank: Scalars['Int'];
|
|
2225
|
+
tpiScore: (Scalars['Float'] | null);
|
|
2226
|
+
spiScore: (Scalars['Float'] | null);
|
|
2227
|
+
apiScore: (Scalars['Float'] | null);
|
|
2228
|
+
__typename: 'TeamLeaderboardEntry';
|
|
2229
|
+
}
|
|
2230
|
+
export interface TeamAnalytics {
|
|
2231
|
+
teamId: Scalars['String'];
|
|
2232
|
+
teamName: Scalars['String'];
|
|
2233
|
+
vtxScore: (Scalars['Float'] | null);
|
|
2234
|
+
athleteCount: Scalars['Int'];
|
|
2235
|
+
rosterSize: (Scalars['Int'] | null);
|
|
2236
|
+
vtxScoreHistory: (TeamVtxScoreHistoryEntry[] | null);
|
|
2237
|
+
topPerformers: (TeamLeaderboardEntry[] | null);
|
|
2238
|
+
__typename: 'TeamAnalytics';
|
|
2239
|
+
}
|
|
2240
|
+
export interface TeamRosterOverview {
|
|
2241
|
+
totalActive: Scalars['Int'];
|
|
2242
|
+
totalInactive: Scalars['Int'];
|
|
2243
|
+
recentJoins: Scalars['Int'];
|
|
2244
|
+
recentDepartures: Scalars['Int'];
|
|
2245
|
+
__typename: 'TeamRosterOverview';
|
|
2246
|
+
}
|
|
2247
|
+
export interface TeamDashboard {
|
|
2248
|
+
analytics: TeamAnalytics;
|
|
2249
|
+
roster: TeamRosterOverview;
|
|
2250
|
+
leaderboard: TeamLeaderboardEntry[];
|
|
2251
|
+
__typename: 'TeamDashboard';
|
|
2252
|
+
}
|
|
2165
2253
|
export type TimeRange = 'SEVEN_DAYS' | 'THIRTY_DAYS' | 'NINETY_DAYS' | 'ONE_YEAR' | 'ALL_TIME';
|
|
2166
2254
|
export type DonationMode = 'PUBLIC' | 'PRIVATE' | 'ANONYMOUS';
|
|
2167
2255
|
export type OfferClaimStatus = 'ACTIVE' | 'EXPIRED' | 'ALL';
|
|
@@ -2294,6 +2382,19 @@ export interface Query {
|
|
|
2294
2382
|
getAiCoachConfig: AiCoachConfig;
|
|
2295
2383
|
getAiCoachNudges: AiCoachNudgeListResponse;
|
|
2296
2384
|
getAiCoachUnreadNudgeCount: AiCoachUnreadNudgeCountResponse;
|
|
2385
|
+
findAllTeams: Team[];
|
|
2386
|
+
getTeamStripeAccountStatus: (StripeAccountStatus | null);
|
|
2387
|
+
findTeamById: Team;
|
|
2388
|
+
findTeams: Team[];
|
|
2389
|
+
getTeamRoster: AthleteTeam[];
|
|
2390
|
+
getTeamAnalytics: TeamAnalytics;
|
|
2391
|
+
getTeamLeaderboard: TeamLeaderboardEntry[];
|
|
2392
|
+
getTeamDashboard: TeamDashboard;
|
|
2393
|
+
findAllClubs: Club[];
|
|
2394
|
+
getClubStripeAccountStatus: (StripeAccountStatus | null);
|
|
2395
|
+
findClubById: Club;
|
|
2396
|
+
findClubs: Club[];
|
|
2397
|
+
getClubMembers: AthleteClub[];
|
|
2297
2398
|
__typename: 'Query';
|
|
2298
2399
|
}
|
|
2299
2400
|
export interface Mutation {
|
|
@@ -2415,6 +2516,25 @@ export interface Mutation {
|
|
|
2415
2516
|
sendAiCoachMessage: AiCoachMessage;
|
|
2416
2517
|
updateAiCoachConfig: AiCoachConfig;
|
|
2417
2518
|
markAiCoachNudgeRead: Scalars['Boolean'];
|
|
2519
|
+
createTeam: Team;
|
|
2520
|
+
updateTeam: Team;
|
|
2521
|
+
joinTeam: AthleteTeam;
|
|
2522
|
+
leaveTeam: AthleteTeam;
|
|
2523
|
+
inviteToTeam: AthleteTeam;
|
|
2524
|
+
manageTeamMember: AthleteTeam;
|
|
2525
|
+
approveTeam: Team;
|
|
2526
|
+
createTeamStripeAccount: Scalars['String'];
|
|
2527
|
+
createTeamDonationCheckout: Scalars['String'];
|
|
2528
|
+
createClub: Club;
|
|
2529
|
+
updateClub: Club;
|
|
2530
|
+
joinClub: AthleteClub;
|
|
2531
|
+
leaveClub: AthleteClub;
|
|
2532
|
+
inviteToClub: AthleteClub;
|
|
2533
|
+
manageClubMember: AthleteClub;
|
|
2534
|
+
approveClub: Club;
|
|
2535
|
+
createClubStripeAccount: Scalars['String'];
|
|
2536
|
+
createClubDonationCheckout: Scalars['String'];
|
|
2537
|
+
createMembershipFeeCheckout: (Scalars['String'] | null);
|
|
2418
2538
|
__typename: 'Mutation';
|
|
2419
2539
|
}
|
|
2420
2540
|
export interface UserGenqlSelection {
|
|
@@ -3149,6 +3269,12 @@ export interface TeamGenqlSelection {
|
|
|
3149
3269
|
approved?: boolean | number;
|
|
3150
3270
|
logo?: AWSS3FileGenqlSelection;
|
|
3151
3271
|
banner?: AWSS3FileGenqlSelection;
|
|
3272
|
+
clubId?: boolean | number;
|
|
3273
|
+
joinPolicy?: boolean | number;
|
|
3274
|
+
maxRosterSize?: boolean | number;
|
|
3275
|
+
visibility?: boolean | number;
|
|
3276
|
+
stripeAccountId?: boolean | number;
|
|
3277
|
+
vtxScore?: boolean | number;
|
|
3152
3278
|
__typename?: boolean | number;
|
|
3153
3279
|
__scalar?: boolean | number;
|
|
3154
3280
|
}
|
|
@@ -3622,7 +3748,6 @@ export interface StravaAthleteDataGenqlSelection {
|
|
|
3622
3748
|
profile?: boolean | number;
|
|
3623
3749
|
created_at?: boolean | number;
|
|
3624
3750
|
updated_at?: boolean | number;
|
|
3625
|
-
weight?: boolean | number;
|
|
3626
3751
|
__typename?: boolean | number;
|
|
3627
3752
|
__scalar?: boolean | number;
|
|
3628
3753
|
}
|
|
@@ -3685,10 +3810,8 @@ export interface AthleteIntegrationReferenceGenqlSelection {
|
|
|
3685
3810
|
_id?: boolean | number;
|
|
3686
3811
|
athlete?: AthleteReferenceGenqlSelection;
|
|
3687
3812
|
hasStravaIntegration?: boolean | number;
|
|
3688
|
-
stravaTokenExpires?: boolean | number;
|
|
3689
3813
|
stravaAthleteData?: StravaAthleteDataGenqlSelection;
|
|
3690
3814
|
hasInstagramIntegration?: boolean | number;
|
|
3691
|
-
instagramTokenExpires?: boolean | number;
|
|
3692
3815
|
instagramUserData?: InstagramUserDataGenqlSelection;
|
|
3693
3816
|
instagramMediaData?: InstagramMediaDataGenqlSelection;
|
|
3694
3817
|
__typename?: boolean | number;
|
|
@@ -4228,6 +4351,48 @@ export interface PaginatedSportsGenqlSelection {
|
|
|
4228
4351
|
__typename?: boolean | number;
|
|
4229
4352
|
__scalar?: boolean | number;
|
|
4230
4353
|
}
|
|
4354
|
+
export interface ClubGenqlSelection {
|
|
4355
|
+
_id?: boolean | number;
|
|
4356
|
+
name?: boolean | number;
|
|
4357
|
+
description?: boolean | number;
|
|
4358
|
+
sports?: SportGenqlSelection;
|
|
4359
|
+
logo?: AWSS3FileGenqlSelection;
|
|
4360
|
+
banner?: AWSS3FileGenqlSelection;
|
|
4361
|
+
location?: boolean | number;
|
|
4362
|
+
website?: boolean | number;
|
|
4363
|
+
membershipType?: boolean | number;
|
|
4364
|
+
feeStructure?: boolean | number;
|
|
4365
|
+
approved?: boolean | number;
|
|
4366
|
+
visibility?: boolean | number;
|
|
4367
|
+
teams?: TeamGenqlSelection;
|
|
4368
|
+
stripeAccountId?: boolean | number;
|
|
4369
|
+
__typename?: boolean | number;
|
|
4370
|
+
__scalar?: boolean | number;
|
|
4371
|
+
}
|
|
4372
|
+
export interface AthleteClubGenqlSelection {
|
|
4373
|
+
_id?: boolean | number;
|
|
4374
|
+
clubId?: boolean | number;
|
|
4375
|
+
athleteId?: boolean | number;
|
|
4376
|
+
role?: boolean | number;
|
|
4377
|
+
status?: boolean | number;
|
|
4378
|
+
joinedAt?: boolean | number;
|
|
4379
|
+
leftAt?: boolean | number;
|
|
4380
|
+
club?: ClubGenqlSelection;
|
|
4381
|
+
__typename?: boolean | number;
|
|
4382
|
+
__scalar?: boolean | number;
|
|
4383
|
+
}
|
|
4384
|
+
export interface AthleteTeamGenqlSelection {
|
|
4385
|
+
_id?: boolean | number;
|
|
4386
|
+
teamId?: boolean | number;
|
|
4387
|
+
athleteId?: boolean | number;
|
|
4388
|
+
sportId?: boolean | number;
|
|
4389
|
+
role?: boolean | number;
|
|
4390
|
+
status?: boolean | number;
|
|
4391
|
+
joinedAt?: boolean | number;
|
|
4392
|
+
leftAt?: boolean | number;
|
|
4393
|
+
__typename?: boolean | number;
|
|
4394
|
+
__scalar?: boolean | number;
|
|
4395
|
+
}
|
|
4231
4396
|
export interface UserImagesGenqlSelection {
|
|
4232
4397
|
profilePictureUrl?: boolean | number;
|
|
4233
4398
|
cardPictureUrl?: boolean | number;
|
|
@@ -4792,6 +4957,58 @@ export interface AiCoachUnreadNudgeCountResponseGenqlSelection {
|
|
|
4792
4957
|
__typename?: boolean | number;
|
|
4793
4958
|
__scalar?: boolean | number;
|
|
4794
4959
|
}
|
|
4960
|
+
export interface StripeAccountStatusGenqlSelection {
|
|
4961
|
+
chargesEnabled?: boolean | number;
|
|
4962
|
+
payoutsEnabled?: boolean | number;
|
|
4963
|
+
detailsSubmitted?: boolean | number;
|
|
4964
|
+
__typename?: boolean | number;
|
|
4965
|
+
__scalar?: boolean | number;
|
|
4966
|
+
}
|
|
4967
|
+
export interface TeamVtxScoreHistoryEntryGenqlSelection {
|
|
4968
|
+
date?: boolean | number;
|
|
4969
|
+
score?: boolean | number;
|
|
4970
|
+
__typename?: boolean | number;
|
|
4971
|
+
__scalar?: boolean | number;
|
|
4972
|
+
}
|
|
4973
|
+
export interface TeamLeaderboardEntryGenqlSelection {
|
|
4974
|
+
athleteId?: boolean | number;
|
|
4975
|
+
athleteName?: boolean | number;
|
|
4976
|
+
athletePhoto?: boolean | number;
|
|
4977
|
+
sport?: boolean | number;
|
|
4978
|
+
vtxScore?: boolean | number;
|
|
4979
|
+
rank?: boolean | number;
|
|
4980
|
+
tpiScore?: boolean | number;
|
|
4981
|
+
spiScore?: boolean | number;
|
|
4982
|
+
apiScore?: boolean | number;
|
|
4983
|
+
__typename?: boolean | number;
|
|
4984
|
+
__scalar?: boolean | number;
|
|
4985
|
+
}
|
|
4986
|
+
export interface TeamAnalyticsGenqlSelection {
|
|
4987
|
+
teamId?: boolean | number;
|
|
4988
|
+
teamName?: boolean | number;
|
|
4989
|
+
vtxScore?: boolean | number;
|
|
4990
|
+
athleteCount?: boolean | number;
|
|
4991
|
+
rosterSize?: boolean | number;
|
|
4992
|
+
vtxScoreHistory?: TeamVtxScoreHistoryEntryGenqlSelection;
|
|
4993
|
+
topPerformers?: TeamLeaderboardEntryGenqlSelection;
|
|
4994
|
+
__typename?: boolean | number;
|
|
4995
|
+
__scalar?: boolean | number;
|
|
4996
|
+
}
|
|
4997
|
+
export interface TeamRosterOverviewGenqlSelection {
|
|
4998
|
+
totalActive?: boolean | number;
|
|
4999
|
+
totalInactive?: boolean | number;
|
|
5000
|
+
recentJoins?: boolean | number;
|
|
5001
|
+
recentDepartures?: boolean | number;
|
|
5002
|
+
__typename?: boolean | number;
|
|
5003
|
+
__scalar?: boolean | number;
|
|
5004
|
+
}
|
|
5005
|
+
export interface TeamDashboardGenqlSelection {
|
|
5006
|
+
analytics?: TeamAnalyticsGenqlSelection;
|
|
5007
|
+
roster?: TeamRosterOverviewGenqlSelection;
|
|
5008
|
+
leaderboard?: TeamLeaderboardEntryGenqlSelection;
|
|
5009
|
+
__typename?: boolean | number;
|
|
5010
|
+
__scalar?: boolean | number;
|
|
5011
|
+
}
|
|
4795
5012
|
export interface CreateDatabaseFileDto {
|
|
4796
5013
|
identifier: Scalars['String'];
|
|
4797
5014
|
version?: Scalars['String'];
|
|
@@ -5561,6 +5778,64 @@ export interface UpdateAiCoachConfigDto {
|
|
|
5561
5778
|
export interface NudgeQueryDto {
|
|
5562
5779
|
unreadOnly?: (Scalars['Boolean'] | null);
|
|
5563
5780
|
}
|
|
5781
|
+
export interface CreateTeamInput {
|
|
5782
|
+
name: Scalars['String'];
|
|
5783
|
+
description?: (Scalars['String'] | null);
|
|
5784
|
+
sportIds: Scalars['String'][];
|
|
5785
|
+
joinPolicy?: (Scalars['String'] | null);
|
|
5786
|
+
maxRosterSize?: (Scalars['Int'] | null);
|
|
5787
|
+
visibility?: (Scalars['String'] | null);
|
|
5788
|
+
clubId?: (Scalars['String'] | null);
|
|
5789
|
+
}
|
|
5790
|
+
export interface UpdateTeamInput {
|
|
5791
|
+
teamId: Scalars['String'];
|
|
5792
|
+
name?: (Scalars['String'] | null);
|
|
5793
|
+
description?: (Scalars['String'] | null);
|
|
5794
|
+
joinPolicy?: (Scalars['String'] | null);
|
|
5795
|
+
maxRosterSize?: (Scalars['Int'] | null);
|
|
5796
|
+
visibility?: (Scalars['String'] | null);
|
|
5797
|
+
}
|
|
5798
|
+
export interface JoinTeamInput {
|
|
5799
|
+
teamId: Scalars['String'];
|
|
5800
|
+
sportId: Scalars['String'];
|
|
5801
|
+
message?: (Scalars['String'] | null);
|
|
5802
|
+
}
|
|
5803
|
+
export interface ManageTeamMemberInput {
|
|
5804
|
+
teamId: Scalars['String'];
|
|
5805
|
+
athleteId: Scalars['String'];
|
|
5806
|
+
action: Scalars['String'];
|
|
5807
|
+
role?: (Scalars['String'] | null);
|
|
5808
|
+
}
|
|
5809
|
+
export interface CreateClubInput {
|
|
5810
|
+
name: Scalars['String'];
|
|
5811
|
+
description?: (Scalars['String'] | null);
|
|
5812
|
+
sportIds: Scalars['String'][];
|
|
5813
|
+
membershipType?: (Scalars['String'] | null);
|
|
5814
|
+
feeStructure?: (Scalars['JSON'] | null);
|
|
5815
|
+
visibility?: (Scalars['String'] | null);
|
|
5816
|
+
location?: (Scalars['String'] | null);
|
|
5817
|
+
website?: (Scalars['String'] | null);
|
|
5818
|
+
}
|
|
5819
|
+
export interface UpdateClubInput {
|
|
5820
|
+
clubId: Scalars['String'];
|
|
5821
|
+
name?: (Scalars['String'] | null);
|
|
5822
|
+
description?: (Scalars['String'] | null);
|
|
5823
|
+
membershipType?: (Scalars['String'] | null);
|
|
5824
|
+
feeStructure?: (Scalars['JSON'] | null);
|
|
5825
|
+
visibility?: (Scalars['String'] | null);
|
|
5826
|
+
location?: (Scalars['String'] | null);
|
|
5827
|
+
website?: (Scalars['String'] | null);
|
|
5828
|
+
}
|
|
5829
|
+
export interface JoinClubInput {
|
|
5830
|
+
clubId: Scalars['String'];
|
|
5831
|
+
message?: (Scalars['String'] | null);
|
|
5832
|
+
}
|
|
5833
|
+
export interface ManageClubMemberInput {
|
|
5834
|
+
clubId: Scalars['String'];
|
|
5835
|
+
athleteId: Scalars['String'];
|
|
5836
|
+
action: Scalars['String'];
|
|
5837
|
+
role?: (Scalars['String'] | null);
|
|
5838
|
+
}
|
|
5564
5839
|
export interface QueryGenqlSelection {
|
|
5565
5840
|
findTenantById?: (TenantGenqlSelection & {
|
|
5566
5841
|
__args: {
|
|
@@ -6068,6 +6343,64 @@ export interface QueryGenqlSelection {
|
|
|
6068
6343
|
};
|
|
6069
6344
|
});
|
|
6070
6345
|
getAiCoachUnreadNudgeCount?: AiCoachUnreadNudgeCountResponseGenqlSelection;
|
|
6346
|
+
findAllTeams?: TeamGenqlSelection;
|
|
6347
|
+
getTeamStripeAccountStatus?: (StripeAccountStatusGenqlSelection & {
|
|
6348
|
+
__args: {
|
|
6349
|
+
teamId: Scalars['String'];
|
|
6350
|
+
};
|
|
6351
|
+
});
|
|
6352
|
+
findTeamById?: (TeamGenqlSelection & {
|
|
6353
|
+
__args: {
|
|
6354
|
+
teamId: Scalars['String'];
|
|
6355
|
+
};
|
|
6356
|
+
});
|
|
6357
|
+
findTeams?: (TeamGenqlSelection & {
|
|
6358
|
+
__args?: {
|
|
6359
|
+
sportId?: (Scalars['String'] | null);
|
|
6360
|
+
clubId?: (Scalars['String'] | null);
|
|
6361
|
+
};
|
|
6362
|
+
});
|
|
6363
|
+
getTeamRoster?: (AthleteTeamGenqlSelection & {
|
|
6364
|
+
__args: {
|
|
6365
|
+
teamId: Scalars['String'];
|
|
6366
|
+
};
|
|
6367
|
+
});
|
|
6368
|
+
getTeamAnalytics?: (TeamAnalyticsGenqlSelection & {
|
|
6369
|
+
__args: {
|
|
6370
|
+
teamId: Scalars['String'];
|
|
6371
|
+
};
|
|
6372
|
+
});
|
|
6373
|
+
getTeamLeaderboard?: (TeamLeaderboardEntryGenqlSelection & {
|
|
6374
|
+
__args: {
|
|
6375
|
+
teamId: Scalars['String'];
|
|
6376
|
+
};
|
|
6377
|
+
});
|
|
6378
|
+
getTeamDashboard?: (TeamDashboardGenqlSelection & {
|
|
6379
|
+
__args: {
|
|
6380
|
+
teamId: Scalars['String'];
|
|
6381
|
+
};
|
|
6382
|
+
});
|
|
6383
|
+
findAllClubs?: ClubGenqlSelection;
|
|
6384
|
+
getClubStripeAccountStatus?: (StripeAccountStatusGenqlSelection & {
|
|
6385
|
+
__args: {
|
|
6386
|
+
clubId: Scalars['String'];
|
|
6387
|
+
};
|
|
6388
|
+
});
|
|
6389
|
+
findClubById?: (ClubGenqlSelection & {
|
|
6390
|
+
__args: {
|
|
6391
|
+
clubId: Scalars['String'];
|
|
6392
|
+
};
|
|
6393
|
+
});
|
|
6394
|
+
findClubs?: (ClubGenqlSelection & {
|
|
6395
|
+
__args?: {
|
|
6396
|
+
sportId?: (Scalars['String'] | null);
|
|
6397
|
+
};
|
|
6398
|
+
});
|
|
6399
|
+
getClubMembers?: (AthleteClubGenqlSelection & {
|
|
6400
|
+
__args: {
|
|
6401
|
+
clubId: Scalars['String'];
|
|
6402
|
+
};
|
|
6403
|
+
});
|
|
6071
6404
|
__typename?: boolean | number;
|
|
6072
6405
|
__scalar?: boolean | number;
|
|
6073
6406
|
}
|
|
@@ -6670,6 +7003,114 @@ export interface MutationGenqlSelection {
|
|
|
6670
7003
|
nudgeId: Scalars['String'];
|
|
6671
7004
|
};
|
|
6672
7005
|
};
|
|
7006
|
+
createTeam?: (TeamGenqlSelection & {
|
|
7007
|
+
__args: {
|
|
7008
|
+
input: CreateTeamInput;
|
|
7009
|
+
};
|
|
7010
|
+
});
|
|
7011
|
+
updateTeam?: (TeamGenqlSelection & {
|
|
7012
|
+
__args: {
|
|
7013
|
+
input: UpdateTeamInput;
|
|
7014
|
+
};
|
|
7015
|
+
});
|
|
7016
|
+
joinTeam?: (AthleteTeamGenqlSelection & {
|
|
7017
|
+
__args: {
|
|
7018
|
+
input: JoinTeamInput;
|
|
7019
|
+
};
|
|
7020
|
+
});
|
|
7021
|
+
leaveTeam?: (AthleteTeamGenqlSelection & {
|
|
7022
|
+
__args: {
|
|
7023
|
+
teamId: Scalars['String'];
|
|
7024
|
+
};
|
|
7025
|
+
});
|
|
7026
|
+
inviteToTeam?: (AthleteTeamGenqlSelection & {
|
|
7027
|
+
__args: {
|
|
7028
|
+
teamId: Scalars['String'];
|
|
7029
|
+
athleteId: Scalars['String'];
|
|
7030
|
+
sportId: Scalars['String'];
|
|
7031
|
+
};
|
|
7032
|
+
});
|
|
7033
|
+
manageTeamMember?: (AthleteTeamGenqlSelection & {
|
|
7034
|
+
__args: {
|
|
7035
|
+
input: ManageTeamMemberInput;
|
|
7036
|
+
};
|
|
7037
|
+
});
|
|
7038
|
+
approveTeam?: (TeamGenqlSelection & {
|
|
7039
|
+
__args: {
|
|
7040
|
+
teamId: Scalars['String'];
|
|
7041
|
+
approved: Scalars['Boolean'];
|
|
7042
|
+
};
|
|
7043
|
+
});
|
|
7044
|
+
createTeamStripeAccount?: {
|
|
7045
|
+
__args: {
|
|
7046
|
+
teamId: Scalars['String'];
|
|
7047
|
+
};
|
|
7048
|
+
};
|
|
7049
|
+
createTeamDonationCheckout?: {
|
|
7050
|
+
__args: {
|
|
7051
|
+
teamId: Scalars['String'];
|
|
7052
|
+
amount: Scalars['Float'];
|
|
7053
|
+
currency?: Scalars['String'];
|
|
7054
|
+
donorEmail?: (Scalars['String'] | null);
|
|
7055
|
+
donorName?: (Scalars['String'] | null);
|
|
7056
|
+
};
|
|
7057
|
+
};
|
|
7058
|
+
createClub?: (ClubGenqlSelection & {
|
|
7059
|
+
__args: {
|
|
7060
|
+
input: CreateClubInput;
|
|
7061
|
+
};
|
|
7062
|
+
});
|
|
7063
|
+
updateClub?: (ClubGenqlSelection & {
|
|
7064
|
+
__args: {
|
|
7065
|
+
input: UpdateClubInput;
|
|
7066
|
+
};
|
|
7067
|
+
});
|
|
7068
|
+
joinClub?: (AthleteClubGenqlSelection & {
|
|
7069
|
+
__args: {
|
|
7070
|
+
input: JoinClubInput;
|
|
7071
|
+
};
|
|
7072
|
+
});
|
|
7073
|
+
leaveClub?: (AthleteClubGenqlSelection & {
|
|
7074
|
+
__args: {
|
|
7075
|
+
clubId: Scalars['String'];
|
|
7076
|
+
};
|
|
7077
|
+
});
|
|
7078
|
+
inviteToClub?: (AthleteClubGenqlSelection & {
|
|
7079
|
+
__args: {
|
|
7080
|
+
clubId: Scalars['String'];
|
|
7081
|
+
athleteId: Scalars['String'];
|
|
7082
|
+
};
|
|
7083
|
+
});
|
|
7084
|
+
manageClubMember?: (AthleteClubGenqlSelection & {
|
|
7085
|
+
__args: {
|
|
7086
|
+
input: ManageClubMemberInput;
|
|
7087
|
+
};
|
|
7088
|
+
});
|
|
7089
|
+
approveClub?: (ClubGenqlSelection & {
|
|
7090
|
+
__args: {
|
|
7091
|
+
clubId: Scalars['String'];
|
|
7092
|
+
approved: Scalars['Boolean'];
|
|
7093
|
+
};
|
|
7094
|
+
});
|
|
7095
|
+
createClubStripeAccount?: {
|
|
7096
|
+
__args: {
|
|
7097
|
+
clubId: Scalars['String'];
|
|
7098
|
+
};
|
|
7099
|
+
};
|
|
7100
|
+
createClubDonationCheckout?: {
|
|
7101
|
+
__args: {
|
|
7102
|
+
clubId: Scalars['String'];
|
|
7103
|
+
amount: Scalars['Float'];
|
|
7104
|
+
currency?: Scalars['String'];
|
|
7105
|
+
donorEmail?: (Scalars['String'] | null);
|
|
7106
|
+
donorName?: (Scalars['String'] | null);
|
|
7107
|
+
};
|
|
7108
|
+
};
|
|
7109
|
+
createMembershipFeeCheckout?: {
|
|
7110
|
+
__args: {
|
|
7111
|
+
clubId: Scalars['String'];
|
|
7112
|
+
};
|
|
7113
|
+
};
|
|
6673
7114
|
__typename?: boolean | number;
|
|
6674
7115
|
__scalar?: boolean | number;
|
|
6675
7116
|
}
|
|
@@ -6878,7 +7319,6 @@ export interface CreateEmailCampaignDto {
|
|
|
6878
7319
|
audienceFilters: AudienceFilterDto;
|
|
6879
7320
|
segmentId?: (Scalars['String'] | null);
|
|
6880
7321
|
scheduledFor?: (Scalars['DateTime'] | null);
|
|
6881
|
-
status?: (Scalars['String'] | null);
|
|
6882
7322
|
}
|
|
6883
7323
|
export interface UpdateEmailCampaignDto {
|
|
6884
7324
|
subject?: (Scalars['String'] | null);
|
|
@@ -6888,7 +7328,6 @@ export interface UpdateEmailCampaignDto {
|
|
|
6888
7328
|
audienceFilters?: (AudienceFilterDto | null);
|
|
6889
7329
|
segmentId?: (Scalars['String'] | null);
|
|
6890
7330
|
scheduledFor?: (Scalars['DateTime'] | null);
|
|
6891
|
-
status?: (Scalars['String'] | null);
|
|
6892
7331
|
}
|
|
6893
7332
|
export interface CreateEmailSegmentDto {
|
|
6894
7333
|
name: Scalars['String'];
|
|
@@ -7390,6 +7829,15 @@ export declare const isPublicIntegrationStatus: (obj?: {
|
|
|
7390
7829
|
export declare const isPaginatedSports: (obj?: {
|
|
7391
7830
|
__typename?: any;
|
|
7392
7831
|
} | null) => obj is PaginatedSports;
|
|
7832
|
+
export declare const isClub: (obj?: {
|
|
7833
|
+
__typename?: any;
|
|
7834
|
+
} | null) => obj is Club;
|
|
7835
|
+
export declare const isAthleteClub: (obj?: {
|
|
7836
|
+
__typename?: any;
|
|
7837
|
+
} | null) => obj is AthleteClub;
|
|
7838
|
+
export declare const isAthleteTeam: (obj?: {
|
|
7839
|
+
__typename?: any;
|
|
7840
|
+
} | null) => obj is AthleteTeam;
|
|
7393
7841
|
export declare const isUserImages: (obj?: {
|
|
7394
7842
|
__typename?: any;
|
|
7395
7843
|
} | null) => obj is UserImages;
|
|
@@ -7567,6 +8015,24 @@ export declare const isAiCoachNudgeListResponse: (obj?: {
|
|
|
7567
8015
|
export declare const isAiCoachUnreadNudgeCountResponse: (obj?: {
|
|
7568
8016
|
__typename?: any;
|
|
7569
8017
|
} | null) => obj is AiCoachUnreadNudgeCountResponse;
|
|
8018
|
+
export declare const isStripeAccountStatus: (obj?: {
|
|
8019
|
+
__typename?: any;
|
|
8020
|
+
} | null) => obj is StripeAccountStatus;
|
|
8021
|
+
export declare const isTeamVtxScoreHistoryEntry: (obj?: {
|
|
8022
|
+
__typename?: any;
|
|
8023
|
+
} | null) => obj is TeamVtxScoreHistoryEntry;
|
|
8024
|
+
export declare const isTeamLeaderboardEntry: (obj?: {
|
|
8025
|
+
__typename?: any;
|
|
8026
|
+
} | null) => obj is TeamLeaderboardEntry;
|
|
8027
|
+
export declare const isTeamAnalytics: (obj?: {
|
|
8028
|
+
__typename?: any;
|
|
8029
|
+
} | null) => obj is TeamAnalytics;
|
|
8030
|
+
export declare const isTeamRosterOverview: (obj?: {
|
|
8031
|
+
__typename?: any;
|
|
8032
|
+
} | null) => obj is TeamRosterOverview;
|
|
8033
|
+
export declare const isTeamDashboard: (obj?: {
|
|
8034
|
+
__typename?: any;
|
|
8035
|
+
} | null) => obj is TeamDashboard;
|
|
7570
8036
|
export declare const isQuery: (obj?: {
|
|
7571
8037
|
__typename?: any;
|
|
7572
8038
|
} | null) => obj is Query;
|