@vertikalx/vtx-backend-client 3.0.0-dev-max3.1 → 3.0.0-dev-max1.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 +0 -25
- package/src/api/vtx-base-api.js +0 -60
- package/src/api/vtx-base-api.js.map +1 -1
- package/src/client/schema.d.ts +0 -474
- package/src/client/schema.js +2 -65
- package/src/client/schema.js.map +1 -1
- package/src/client/types.d.ts +1 -264
- package/src/client/types.js +311 -1039
- package/src/client/types.js.map +1 -1
- package/src/generated/graphql.d.ts +0 -1140
- package/src/generated/graphql.js +6 -427
- package/src/generated/graphql.js.map +1 -1
package/src/client/schema.d.ts
CHANGED
|
@@ -664,12 +664,6 @@ 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);
|
|
673
667
|
__typename: 'Team';
|
|
674
668
|
}
|
|
675
669
|
export interface WorldLocation {
|
|
@@ -1655,45 +1649,6 @@ export interface PaginatedSports {
|
|
|
1655
1649
|
pagination: EnhancedPaginationInfoType;
|
|
1656
1650
|
__typename: 'PaginatedSports';
|
|
1657
1651
|
}
|
|
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
|
-
}
|
|
1697
1652
|
export interface UserImages {
|
|
1698
1653
|
profilePictureUrl: (Scalars['String'] | null);
|
|
1699
1654
|
cardPictureUrl: (Scalars['String'] | null);
|
|
@@ -2204,52 +2159,6 @@ export interface AiCoachUnreadNudgeCountResponse {
|
|
|
2204
2159
|
count: Scalars['Int'];
|
|
2205
2160
|
__typename: 'AiCoachUnreadNudgeCountResponse';
|
|
2206
2161
|
}
|
|
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
|
-
}
|
|
2253
2162
|
export type TimeRange = 'SEVEN_DAYS' | 'THIRTY_DAYS' | 'NINETY_DAYS' | 'ONE_YEAR' | 'ALL_TIME';
|
|
2254
2163
|
export type DonationMode = 'PUBLIC' | 'PRIVATE' | 'ANONYMOUS';
|
|
2255
2164
|
export type OfferClaimStatus = 'ACTIVE' | 'EXPIRED' | 'ALL';
|
|
@@ -2382,19 +2291,6 @@ export interface Query {
|
|
|
2382
2291
|
getAiCoachConfig: AiCoachConfig;
|
|
2383
2292
|
getAiCoachNudges: AiCoachNudgeListResponse;
|
|
2384
2293
|
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[];
|
|
2398
2294
|
__typename: 'Query';
|
|
2399
2295
|
}
|
|
2400
2296
|
export interface Mutation {
|
|
@@ -2516,25 +2412,6 @@ export interface Mutation {
|
|
|
2516
2412
|
sendAiCoachMessage: AiCoachMessage;
|
|
2517
2413
|
updateAiCoachConfig: AiCoachConfig;
|
|
2518
2414
|
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);
|
|
2538
2415
|
__typename: 'Mutation';
|
|
2539
2416
|
}
|
|
2540
2417
|
export interface UserGenqlSelection {
|
|
@@ -3269,12 +3146,6 @@ export interface TeamGenqlSelection {
|
|
|
3269
3146
|
approved?: boolean | number;
|
|
3270
3147
|
logo?: AWSS3FileGenqlSelection;
|
|
3271
3148
|
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;
|
|
3278
3149
|
__typename?: boolean | number;
|
|
3279
3150
|
__scalar?: boolean | number;
|
|
3280
3151
|
}
|
|
@@ -4351,48 +4222,6 @@ export interface PaginatedSportsGenqlSelection {
|
|
|
4351
4222
|
__typename?: boolean | number;
|
|
4352
4223
|
__scalar?: boolean | number;
|
|
4353
4224
|
}
|
|
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
|
-
}
|
|
4396
4225
|
export interface UserImagesGenqlSelection {
|
|
4397
4226
|
profilePictureUrl?: boolean | number;
|
|
4398
4227
|
cardPictureUrl?: boolean | number;
|
|
@@ -4957,58 +4786,6 @@ export interface AiCoachUnreadNudgeCountResponseGenqlSelection {
|
|
|
4957
4786
|
__typename?: boolean | number;
|
|
4958
4787
|
__scalar?: boolean | number;
|
|
4959
4788
|
}
|
|
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
|
-
}
|
|
5012
4789
|
export interface CreateDatabaseFileDto {
|
|
5013
4790
|
identifier: Scalars['String'];
|
|
5014
4791
|
version?: Scalars['String'];
|
|
@@ -5778,64 +5555,6 @@ export interface UpdateAiCoachConfigDto {
|
|
|
5778
5555
|
export interface NudgeQueryDto {
|
|
5779
5556
|
unreadOnly?: (Scalars['Boolean'] | null);
|
|
5780
5557
|
}
|
|
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
|
-
}
|
|
5839
5558
|
export interface QueryGenqlSelection {
|
|
5840
5559
|
findTenantById?: (TenantGenqlSelection & {
|
|
5841
5560
|
__args: {
|
|
@@ -6343,64 +6062,6 @@ export interface QueryGenqlSelection {
|
|
|
6343
6062
|
};
|
|
6344
6063
|
});
|
|
6345
6064
|
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
|
-
});
|
|
6404
6065
|
__typename?: boolean | number;
|
|
6405
6066
|
__scalar?: boolean | number;
|
|
6406
6067
|
}
|
|
@@ -7003,114 +6664,6 @@ export interface MutationGenqlSelection {
|
|
|
7003
6664
|
nudgeId: Scalars['String'];
|
|
7004
6665
|
};
|
|
7005
6666
|
};
|
|
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
|
-
};
|
|
7114
6667
|
__typename?: boolean | number;
|
|
7115
6668
|
__scalar?: boolean | number;
|
|
7116
6669
|
}
|
|
@@ -7829,15 +7382,6 @@ export declare const isPublicIntegrationStatus: (obj?: {
|
|
|
7829
7382
|
export declare const isPaginatedSports: (obj?: {
|
|
7830
7383
|
__typename?: any;
|
|
7831
7384
|
} | 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;
|
|
7841
7385
|
export declare const isUserImages: (obj?: {
|
|
7842
7386
|
__typename?: any;
|
|
7843
7387
|
} | null) => obj is UserImages;
|
|
@@ -8015,24 +7559,6 @@ export declare const isAiCoachNudgeListResponse: (obj?: {
|
|
|
8015
7559
|
export declare const isAiCoachUnreadNudgeCountResponse: (obj?: {
|
|
8016
7560
|
__typename?: any;
|
|
8017
7561
|
} | 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;
|
|
8036
7562
|
export declare const isQuery: (obj?: {
|
|
8037
7563
|
__typename?: any;
|
|
8038
7564
|
} | null) => obj is Query;
|
package/src/client/schema.js
CHANGED
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.isSponsorshipCommitment = exports.isSponsorshipItem = exports.isQualificationTypeUnion = exports.isAthleteCriteria = exports.isSportsLevelQualification = exports.isSportsQualification = exports.isDistanceQualification = exports.isNationalityQualification = exports.isLocationQualification = exports.isScoreQualification = exports.isGenderQualification = exports.isAgeQualification = exports.isCountry = exports.isState = exports.isCity = exports.isSponsorStats = exports.isIndustry = exports.isCodeVerificationResponse = exports.isTextDatabaseFile = exports.isDatabaseFile = exports.isAWSS3CallResult = exports.isAWSS3UploadUrl = exports.isHttpRequestField = exports.isErrorInfo = exports.isVerificationCode = exports.isMagicLink = exports.isAWSS3File = exports.isSubscriptionPayment = exports.isPlanSubscription = exports.isSubscriptionInvoice = exports.isInvoice = exports.isPlanPrice = exports.isPlan = exports.isPlaFeature = exports.isPayment = exports.isInvoiceItem = exports.isBillEntity = exports.isSignedAgreement = exports.isAgreement = exports.isUriAvailableType = exports.isTenantWithUserLogin = exports.isDecodedRefreshToken = exports.isDecodedToken = exports.isUserToken = exports.isDomainCredential = exports.isDomain = exports.isTenant = exports.isBaseTenant = exports.isUserWithToken = exports.isUser = void 0;
|
|
4
4
|
exports.isSponsorAthleteInvitation = exports.isFundingCheckoutSessionData = exports.isCheckoutSession = exports.isAthlete = exports.isAthleteReference = exports.isHistoricalScore = exports.isStripeAccountReference = exports.isStripeAccount = exports.isStripeFutureRequirementType = exports.isStripeRequirementType = exports.isStripeErrorType = exports.isStripeFutureRequirementAlternativeType = exports.isStripeRequirementAlternativeType = exports.isStripeCapabilityType = exports.isFundRaisingCampaign = exports.isVideo = exports.isAthletePreferences = exports.isChannel = exports.isNewsLink = exports.isAthleteMembership = exports.isMembershipOrganization = exports.isMembershipOrganizationReference = exports.isAthleteCompetition = exports.isAlbum = exports.isPhotoAlbum = exports.isBudget = exports.isBudgetItem = exports.isAthleteCompetitionResult = exports.isSportsEvent = exports.isWorldLocation = exports.isTeam = exports.isAthleteRankings = exports.isRanking = exports.isSportLevel = exports.isSportLevelTranslation = exports.isVtxScores = exports.isSport = exports.isFollowStats = exports.isStravaTpiSwimDto = exports.isStravaTpiRunDto = exports.isStravaTpiRideDto = exports.isBrand = exports.isBrandTranslation = exports.isBrandStats = exports.isSponsorBrand = exports.isSponsor = exports.isSponsorship = exports.isSponsorshipTranslation = exports.isSponsorshipStats = exports.isDuration = void 0;
|
|
5
5
|
exports.isAthleteQueryResponse = exports.isCursorPaginationResponse = exports.isSortOrder = exports.isForceScoreRefreshResponse = exports.isForceScoreRefreshResult = exports.isRefreshDiagnostics = exports.isScoreRefreshDetail = exports.isDeleteSingleValueResponse = exports.isDeleteValuesResponse = exports.isErrorType = exports.isEditValueResponse = exports.isPaginatedSponsors = exports.isPaginatedBrands = exports.isPaginatedOffersWithEligibility = exports.isOfferWithEligibility = exports.isEnhancedPaginationInfoType = exports.isEligibilityResult = exports.isOfferClaim = exports.isCoupon = exports.isCouponCode = exports.isPromotion = exports.isOffer = exports.isAdminTransactionView = exports.isAdminTransactionFundingDetails = exports.isAdminUserView = exports.isMember = exports.isDonation = exports.isBudgetConcept = exports.isBudgetItemUnit = exports.isMergeEventsResponse = exports.isBudgetData = exports.isCampaignBudgetData = exports.isCompetitionBudgetData = exports.isBaseBudgetData = exports.isCompetitionBudgetReference = exports.isBudgetReference = exports.isBudgetItemReference = exports.isReceiptUrl = exports.isReceipt = exports.isAthleteIntegrationReference = exports.isInstagramUserData = exports.isInstagramMediaData = exports.isInstagramMediaItem = exports.isInstagramInsights = exports.isInstagramMetric = exports.isInstagramPaging = exports.isInstagramCursors = exports.isStravaAthleteData = exports.isStripeCheckoutSession = exports.isStripeSession = void 0;
|
|
6
|
-
exports.isActivityDateEntry = exports.isComponentSummary = exports.isTopMetric = exports.isActivityDetail = exports.isScoreInfo = exports.isMetricComparison = exports.isActivitiesResponse = exports.isActivityEntry = exports.isRankContext = exports.isRankHistoryEntry = exports.isScoreHistoryEntry = exports.isDashboardSummary = exports.isUserRank = exports.isLeaderboardResponse = exports.isLeaderboardFilters = exports.isLeaderboardPagination = exports.isLeaderboardEntry = exports.isOfferAvailability = exports.isUploadResult = exports.isPaginatedOffers = exports.isPaginatedTransactions = exports.isUserDomain = exports.isStripeTransfer = exports.isStripeBalance = exports.isCurrencyAmountType = exports.isPaginatedDonations = exports.isDonationDates = exports.isPaginatedEvents = exports.isTransactionDetails = exports.isPaginatedUsers = exports.isDeleteVtxUserResponse = exports.isValidatedToken = exports.isUserImages = exports.
|
|
7
|
-
exports.enumPostSortOption = exports.enumOfferClaimStatus = exports.enumDonationMode = exports.enumTimeRange = exports.enumPeriodType = exports.enumContentType = exports.enumPlatform = exports.enumActivityCategory = exports.enumStripeTransferStatus = exports.enumForceScoreRefreshStatus = exports.enumEligibilityStatus = exports.enumFundingMode = exports.enumFundingStatus = exports.isMutation = exports.isQuery = exports.
|
|
6
|
+
exports.isPostMetricType = exports.isSocialAggregateType = exports.isActivityDatesResponse = exports.isActivityDateEntry = exports.isComponentSummary = exports.isTopMetric = exports.isActivityDetail = exports.isScoreInfo = exports.isMetricComparison = exports.isActivitiesResponse = exports.isActivityEntry = exports.isRankContext = exports.isRankHistoryEntry = exports.isScoreHistoryEntry = exports.isDashboardSummary = exports.isUserRank = exports.isLeaderboardResponse = exports.isLeaderboardFilters = exports.isLeaderboardPagination = exports.isLeaderboardEntry = exports.isOfferAvailability = exports.isUploadResult = exports.isPaginatedOffers = exports.isPaginatedTransactions = exports.isUserDomain = exports.isStripeTransfer = exports.isStripeBalance = exports.isCurrencyAmountType = exports.isPaginatedDonations = exports.isDonationDates = exports.isPaginatedEvents = exports.isTransactionDetails = exports.isPaginatedUsers = exports.isDeleteVtxUserResponse = exports.isValidatedToken = exports.isUserImages = exports.isPaginatedSports = exports.isPublicIntegrationStatus = exports.isOnboardingProgressResponse = exports.isCheckScoreRefreshCapabilityResponse = exports.isScoreRefreshCapability = exports.isBrowseCampaignsResult = exports.isStripeObject = exports.isHistoricalScoresPeriod = exports.isCompetitionDeleteVerificationResponse = exports.isCompetitionDeleteVerificationReason = exports.isDeleteOnboardingAthleteResponse = exports.isExistValueResponse = exports.isAddValuesResponse = exports.isEditPictureResponse = void 0;
|
|
7
|
+
exports.enumPostSortOption = exports.enumOfferClaimStatus = exports.enumDonationMode = exports.enumTimeRange = exports.enumPeriodType = exports.enumContentType = exports.enumPlatform = exports.enumActivityCategory = exports.enumStripeTransferStatus = exports.enumForceScoreRefreshStatus = exports.enumEligibilityStatus = exports.enumFundingMode = exports.enumFundingStatus = exports.isMutation = exports.isQuery = exports.isAiCoachUnreadNudgeCountResponse = exports.isAiCoachNudgeListResponse = exports.isAiCoachNudge = exports.isAiCoachConfig = exports.isAiCoachThread = exports.isAiCoachMessage = exports.isAudiencePreview = exports.isAudiencePreviewUser = exports.isSendGridTemplate = exports.isEmailCampaignPage = exports.isEmailCampaign = exports.isEmailSegment = exports.isEmailCampaignDelivery = exports.isIsFollowingResponse = exports.isFollowedAthletesListResponse = exports.isFollowedAthleteInfo = exports.isDeviceTokenType = exports.isNotificationPreference = exports.isUnreadCountResponse = exports.isNotificationListResponse = exports.isNotification = exports.isPostComparisonResultType = exports.isAveragesType = void 0;
|
|
8
8
|
const User_possibleTypes = ['User'];
|
|
9
9
|
const isUser = (obj) => {
|
|
10
10
|
if (!obj?.__typename)
|
|
@@ -1153,27 +1153,6 @@ const isPaginatedSports = (obj) => {
|
|
|
1153
1153
|
return PaginatedSports_possibleTypes.includes(obj.__typename);
|
|
1154
1154
|
};
|
|
1155
1155
|
exports.isPaginatedSports = isPaginatedSports;
|
|
1156
|
-
const Club_possibleTypes = ['Club'];
|
|
1157
|
-
const isClub = (obj) => {
|
|
1158
|
-
if (!obj?.__typename)
|
|
1159
|
-
throw new Error('__typename is missing in "isClub"');
|
|
1160
|
-
return Club_possibleTypes.includes(obj.__typename);
|
|
1161
|
-
};
|
|
1162
|
-
exports.isClub = isClub;
|
|
1163
|
-
const AthleteClub_possibleTypes = ['AthleteClub'];
|
|
1164
|
-
const isAthleteClub = (obj) => {
|
|
1165
|
-
if (!obj?.__typename)
|
|
1166
|
-
throw new Error('__typename is missing in "isAthleteClub"');
|
|
1167
|
-
return AthleteClub_possibleTypes.includes(obj.__typename);
|
|
1168
|
-
};
|
|
1169
|
-
exports.isAthleteClub = isAthleteClub;
|
|
1170
|
-
const AthleteTeam_possibleTypes = ['AthleteTeam'];
|
|
1171
|
-
const isAthleteTeam = (obj) => {
|
|
1172
|
-
if (!obj?.__typename)
|
|
1173
|
-
throw new Error('__typename is missing in "isAthleteTeam"');
|
|
1174
|
-
return AthleteTeam_possibleTypes.includes(obj.__typename);
|
|
1175
|
-
};
|
|
1176
|
-
exports.isAthleteTeam = isAthleteTeam;
|
|
1177
1156
|
const UserImages_possibleTypes = ['UserImages'];
|
|
1178
1157
|
const isUserImages = (obj) => {
|
|
1179
1158
|
if (!obj?.__typename)
|
|
@@ -1587,48 +1566,6 @@ const isAiCoachUnreadNudgeCountResponse = (obj) => {
|
|
|
1587
1566
|
return AiCoachUnreadNudgeCountResponse_possibleTypes.includes(obj.__typename);
|
|
1588
1567
|
};
|
|
1589
1568
|
exports.isAiCoachUnreadNudgeCountResponse = isAiCoachUnreadNudgeCountResponse;
|
|
1590
|
-
const StripeAccountStatus_possibleTypes = ['StripeAccountStatus'];
|
|
1591
|
-
const isStripeAccountStatus = (obj) => {
|
|
1592
|
-
if (!obj?.__typename)
|
|
1593
|
-
throw new Error('__typename is missing in "isStripeAccountStatus"');
|
|
1594
|
-
return StripeAccountStatus_possibleTypes.includes(obj.__typename);
|
|
1595
|
-
};
|
|
1596
|
-
exports.isStripeAccountStatus = isStripeAccountStatus;
|
|
1597
|
-
const TeamVtxScoreHistoryEntry_possibleTypes = ['TeamVtxScoreHistoryEntry'];
|
|
1598
|
-
const isTeamVtxScoreHistoryEntry = (obj) => {
|
|
1599
|
-
if (!obj?.__typename)
|
|
1600
|
-
throw new Error('__typename is missing in "isTeamVtxScoreHistoryEntry"');
|
|
1601
|
-
return TeamVtxScoreHistoryEntry_possibleTypes.includes(obj.__typename);
|
|
1602
|
-
};
|
|
1603
|
-
exports.isTeamVtxScoreHistoryEntry = isTeamVtxScoreHistoryEntry;
|
|
1604
|
-
const TeamLeaderboardEntry_possibleTypes = ['TeamLeaderboardEntry'];
|
|
1605
|
-
const isTeamLeaderboardEntry = (obj) => {
|
|
1606
|
-
if (!obj?.__typename)
|
|
1607
|
-
throw new Error('__typename is missing in "isTeamLeaderboardEntry"');
|
|
1608
|
-
return TeamLeaderboardEntry_possibleTypes.includes(obj.__typename);
|
|
1609
|
-
};
|
|
1610
|
-
exports.isTeamLeaderboardEntry = isTeamLeaderboardEntry;
|
|
1611
|
-
const TeamAnalytics_possibleTypes = ['TeamAnalytics'];
|
|
1612
|
-
const isTeamAnalytics = (obj) => {
|
|
1613
|
-
if (!obj?.__typename)
|
|
1614
|
-
throw new Error('__typename is missing in "isTeamAnalytics"');
|
|
1615
|
-
return TeamAnalytics_possibleTypes.includes(obj.__typename);
|
|
1616
|
-
};
|
|
1617
|
-
exports.isTeamAnalytics = isTeamAnalytics;
|
|
1618
|
-
const TeamRosterOverview_possibleTypes = ['TeamRosterOverview'];
|
|
1619
|
-
const isTeamRosterOverview = (obj) => {
|
|
1620
|
-
if (!obj?.__typename)
|
|
1621
|
-
throw new Error('__typename is missing in "isTeamRosterOverview"');
|
|
1622
|
-
return TeamRosterOverview_possibleTypes.includes(obj.__typename);
|
|
1623
|
-
};
|
|
1624
|
-
exports.isTeamRosterOverview = isTeamRosterOverview;
|
|
1625
|
-
const TeamDashboard_possibleTypes = ['TeamDashboard'];
|
|
1626
|
-
const isTeamDashboard = (obj) => {
|
|
1627
|
-
if (!obj?.__typename)
|
|
1628
|
-
throw new Error('__typename is missing in "isTeamDashboard"');
|
|
1629
|
-
return TeamDashboard_possibleTypes.includes(obj.__typename);
|
|
1630
|
-
};
|
|
1631
|
-
exports.isTeamDashboard = isTeamDashboard;
|
|
1632
1569
|
const Query_possibleTypes = ['Query'];
|
|
1633
1570
|
const isQuery = (obj) => {
|
|
1634
1571
|
if (!obj?.__typename)
|