@vertikalx/vtx-backend-client 3.0.0-dev-max2.0 → 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 +25 -13
- package/src/api/vtx-base-api.js +56 -8
- package/src/api/vtx-base-api.js.map +1 -1
- package/src/client/schema.d.ts +474 -76
- package/src/client/schema.js +65 -9
- package/src/client/schema.js.map +1 -1
- package/src/client/types.d.ts +264 -49
- package/src/client/types.js +1034 -438
- package/src/client/types.js.map +1 -1
- package/src/generated/graphql.d.ts +1238 -365
- package/src/generated/graphql.js +427 -61
- package/src/generated/graphql.js.map +1 -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 {
|
|
@@ -835,9 +841,6 @@ export interface FundRaisingCampaign {
|
|
|
835
841
|
vtxComissionPct: Scalars['Float'];
|
|
836
842
|
video: (Video | null);
|
|
837
843
|
coverImage: (AWSS3File | null);
|
|
838
|
-
thankYouMessage: (Scalars['String'] | null);
|
|
839
|
-
thankYouMediaUrl: (Scalars['String'] | null);
|
|
840
|
-
autoSendThankYou: Scalars['Boolean'];
|
|
841
844
|
__typename: 'FundRaisingCampaign';
|
|
842
845
|
}
|
|
843
846
|
export interface StripeCapabilityType {
|
|
@@ -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);
|
|
@@ -1716,17 +1758,6 @@ export interface PaginatedDonations {
|
|
|
1716
1758
|
pagination: EnhancedPaginationInfoType;
|
|
1717
1759
|
__typename: 'PaginatedDonations';
|
|
1718
1760
|
}
|
|
1719
|
-
export interface DonationThankYou {
|
|
1720
|
-
_id: Scalars['String'];
|
|
1721
|
-
message: Scalars['String'];
|
|
1722
|
-
mediaUrl: (Scalars['String'] | null);
|
|
1723
|
-
autoSent: Scalars['Boolean'];
|
|
1724
|
-
emailSent: Scalars['Boolean'];
|
|
1725
|
-
donorEmail: (Scalars['String'] | null);
|
|
1726
|
-
donorName: (Scalars['String'] | null);
|
|
1727
|
-
sentDate: Scalars['DateTime'];
|
|
1728
|
-
__typename: 'DonationThankYou';
|
|
1729
|
-
}
|
|
1730
1761
|
export interface CurrencyAmountType {
|
|
1731
1762
|
amount: Scalars['Float'];
|
|
1732
1763
|
currency: Scalars['String'];
|
|
@@ -2173,6 +2204,52 @@ export interface AiCoachUnreadNudgeCountResponse {
|
|
|
2173
2204
|
count: Scalars['Int'];
|
|
2174
2205
|
__typename: 'AiCoachUnreadNudgeCountResponse';
|
|
2175
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
|
+
}
|
|
2176
2253
|
export type TimeRange = 'SEVEN_DAYS' | 'THIRTY_DAYS' | 'NINETY_DAYS' | 'ONE_YEAR' | 'ALL_TIME';
|
|
2177
2254
|
export type DonationMode = 'PUBLIC' | 'PRIVATE' | 'ANONYMOUS';
|
|
2178
2255
|
export type OfferClaimStatus = 'ACTIVE' | 'EXPIRED' | 'ALL';
|
|
@@ -2253,8 +2330,6 @@ export interface Query {
|
|
|
2253
2330
|
getBudgetItemUnits: BudgetItemUnit[];
|
|
2254
2331
|
getDonationDatesForCalendar: DonationDates;
|
|
2255
2332
|
getDonationsPaginated: PaginatedDonations;
|
|
2256
|
-
campaignThankYous: DonationThankYou[];
|
|
2257
|
-
donationThankYou: (DonationThankYou | null);
|
|
2258
2333
|
getMembershipOrganizations: MembershipOrganizationReference[];
|
|
2259
2334
|
getAthleteStravaIntegration: AthleteIntegrationReference;
|
|
2260
2335
|
getAthleteInstagramIntegration: AthleteIntegrationReference;
|
|
@@ -2307,6 +2382,19 @@ export interface Query {
|
|
|
2307
2382
|
getAiCoachConfig: AiCoachConfig;
|
|
2308
2383
|
getAiCoachNudges: AiCoachNudgeListResponse;
|
|
2309
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[];
|
|
2310
2398
|
__typename: 'Query';
|
|
2311
2399
|
}
|
|
2312
2400
|
export interface Mutation {
|
|
@@ -2385,8 +2473,6 @@ export interface Mutation {
|
|
|
2385
2473
|
editCompetitionBudget: Scalars['Boolean'];
|
|
2386
2474
|
editCampaignBudget: Scalars['Boolean'];
|
|
2387
2475
|
editCompetitionBudgetForCampaign: Scalars['Boolean'];
|
|
2388
|
-
sendThankYou: DonationThankYou;
|
|
2389
|
-
updateThankYouTemplate: FundRaisingCampaign;
|
|
2390
2476
|
createMembershipOrganization: MembershipOrganizationReference;
|
|
2391
2477
|
createAthleteMembershipAffilation: AthleteMembership;
|
|
2392
2478
|
deleteAthleteMembershipAffilation: DeleteSingleValueResponse;
|
|
@@ -2430,6 +2516,25 @@ export interface Mutation {
|
|
|
2430
2516
|
sendAiCoachMessage: AiCoachMessage;
|
|
2431
2517
|
updateAiCoachConfig: AiCoachConfig;
|
|
2432
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);
|
|
2433
2538
|
__typename: 'Mutation';
|
|
2434
2539
|
}
|
|
2435
2540
|
export interface UserGenqlSelection {
|
|
@@ -3164,6 +3269,12 @@ export interface TeamGenqlSelection {
|
|
|
3164
3269
|
approved?: boolean | number;
|
|
3165
3270
|
logo?: AWSS3FileGenqlSelection;
|
|
3166
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;
|
|
3167
3278
|
__typename?: boolean | number;
|
|
3168
3279
|
__scalar?: boolean | number;
|
|
3169
3280
|
}
|
|
@@ -3351,9 +3462,6 @@ export interface FundRaisingCampaignGenqlSelection {
|
|
|
3351
3462
|
vtxComissionPct?: boolean | number;
|
|
3352
3463
|
video?: VideoGenqlSelection;
|
|
3353
3464
|
coverImage?: AWSS3FileGenqlSelection;
|
|
3354
|
-
thankYouMessage?: boolean | number;
|
|
3355
|
-
thankYouMediaUrl?: boolean | number;
|
|
3356
|
-
autoSendThankYou?: boolean | number;
|
|
3357
3465
|
__typename?: boolean | number;
|
|
3358
3466
|
__scalar?: boolean | number;
|
|
3359
3467
|
}
|
|
@@ -4243,6 +4351,48 @@ export interface PaginatedSportsGenqlSelection {
|
|
|
4243
4351
|
__typename?: boolean | number;
|
|
4244
4352
|
__scalar?: boolean | number;
|
|
4245
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
|
+
}
|
|
4246
4396
|
export interface UserImagesGenqlSelection {
|
|
4247
4397
|
profilePictureUrl?: boolean | number;
|
|
4248
4398
|
cardPictureUrl?: boolean | number;
|
|
@@ -4315,18 +4465,6 @@ export interface PaginatedDonationsGenqlSelection {
|
|
|
4315
4465
|
__typename?: boolean | number;
|
|
4316
4466
|
__scalar?: boolean | number;
|
|
4317
4467
|
}
|
|
4318
|
-
export interface DonationThankYouGenqlSelection {
|
|
4319
|
-
_id?: boolean | number;
|
|
4320
|
-
message?: boolean | number;
|
|
4321
|
-
mediaUrl?: boolean | number;
|
|
4322
|
-
autoSent?: boolean | number;
|
|
4323
|
-
emailSent?: boolean | number;
|
|
4324
|
-
donorEmail?: boolean | number;
|
|
4325
|
-
donorName?: boolean | number;
|
|
4326
|
-
sentDate?: boolean | number;
|
|
4327
|
-
__typename?: boolean | number;
|
|
4328
|
-
__scalar?: boolean | number;
|
|
4329
|
-
}
|
|
4330
4468
|
export interface CurrencyAmountTypeGenqlSelection {
|
|
4331
4469
|
amount?: boolean | number;
|
|
4332
4470
|
currency?: boolean | number;
|
|
@@ -4819,6 +4957,58 @@ export interface AiCoachUnreadNudgeCountResponseGenqlSelection {
|
|
|
4819
4957
|
__typename?: boolean | number;
|
|
4820
4958
|
__scalar?: boolean | number;
|
|
4821
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
|
+
}
|
|
4822
5012
|
export interface CreateDatabaseFileDto {
|
|
4823
5013
|
identifier: Scalars['String'];
|
|
4824
5014
|
version?: Scalars['String'];
|
|
@@ -5283,9 +5473,6 @@ export interface CreateFundingCampaignDto {
|
|
|
5283
5473
|
competitionIds?: (Scalars['String'][] | null);
|
|
5284
5474
|
video?: (CreateVideoDto | null);
|
|
5285
5475
|
coverImageId?: (Scalars['String'] | null);
|
|
5286
|
-
thankYouMessage?: (Scalars['String'] | null);
|
|
5287
|
-
thankYouMediaUrl?: (Scalars['String'] | null);
|
|
5288
|
-
autoSendThankYou?: (Scalars['Boolean'] | null);
|
|
5289
5476
|
}
|
|
5290
5477
|
export interface CreateFundingCampaignForDto {
|
|
5291
5478
|
budgetMode: Scalars['String'];
|
|
@@ -5301,9 +5488,6 @@ export interface CreateFundingCampaignForDto {
|
|
|
5301
5488
|
competitionIds?: (Scalars['String'][] | null);
|
|
5302
5489
|
video?: (CreateVideoDto | null);
|
|
5303
5490
|
coverImageId?: (Scalars['String'] | null);
|
|
5304
|
-
thankYouMessage?: (Scalars['String'] | null);
|
|
5305
|
-
thankYouMediaUrl?: (Scalars['String'] | null);
|
|
5306
|
-
autoSendThankYou?: (Scalars['Boolean'] | null);
|
|
5307
5491
|
loginEmail: Scalars['String'];
|
|
5308
5492
|
}
|
|
5309
5493
|
export interface UpdateFundingCampaignDto {
|
|
@@ -5320,9 +5504,6 @@ export interface UpdateFundingCampaignDto {
|
|
|
5320
5504
|
competitionIds?: (Scalars['String'][] | null);
|
|
5321
5505
|
video?: (CreateVideoDto | null);
|
|
5322
5506
|
coverImageId?: (Scalars['String'] | null);
|
|
5323
|
-
thankYouMessage?: (Scalars['String'] | null);
|
|
5324
|
-
thankYouMediaUrl?: (Scalars['String'] | null);
|
|
5325
|
-
autoSendThankYou?: (Scalars['Boolean'] | null);
|
|
5326
5507
|
_id: Scalars['String'];
|
|
5327
5508
|
}
|
|
5328
5509
|
export interface SetFundingStatusDto {
|
|
@@ -5597,6 +5778,64 @@ export interface UpdateAiCoachConfigDto {
|
|
|
5597
5778
|
export interface NudgeQueryDto {
|
|
5598
5779
|
unreadOnly?: (Scalars['Boolean'] | null);
|
|
5599
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
|
+
}
|
|
5600
5839
|
export interface QueryGenqlSelection {
|
|
5601
5840
|
findTenantById?: (TenantGenqlSelection & {
|
|
5602
5841
|
__args: {
|
|
@@ -5894,16 +6133,6 @@ export interface QueryGenqlSelection {
|
|
|
5894
6133
|
query?: (DonationQueryDto | null);
|
|
5895
6134
|
};
|
|
5896
6135
|
});
|
|
5897
|
-
campaignThankYous?: (DonationThankYouGenqlSelection & {
|
|
5898
|
-
__args: {
|
|
5899
|
-
campaignId: Scalars['String'];
|
|
5900
|
-
};
|
|
5901
|
-
});
|
|
5902
|
-
donationThankYou?: (DonationThankYouGenqlSelection & {
|
|
5903
|
-
__args: {
|
|
5904
|
-
donationId: Scalars['String'];
|
|
5905
|
-
};
|
|
5906
|
-
});
|
|
5907
6136
|
getMembershipOrganizations?: MembershipOrganizationReferenceGenqlSelection;
|
|
5908
6137
|
getAthleteStravaIntegration?: AthleteIntegrationReferenceGenqlSelection;
|
|
5909
6138
|
getAthleteInstagramIntegration?: AthleteIntegrationReferenceGenqlSelection;
|
|
@@ -6114,6 +6343,64 @@ export interface QueryGenqlSelection {
|
|
|
6114
6343
|
};
|
|
6115
6344
|
});
|
|
6116
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
|
+
});
|
|
6117
6404
|
__typename?: boolean | number;
|
|
6118
6405
|
__scalar?: boolean | number;
|
|
6119
6406
|
}
|
|
@@ -6516,16 +6803,6 @@ export interface MutationGenqlSelection {
|
|
|
6516
6803
|
input: EditCampaignBudgetDto;
|
|
6517
6804
|
};
|
|
6518
6805
|
};
|
|
6519
|
-
sendThankYou?: (DonationThankYouGenqlSelection & {
|
|
6520
|
-
__args: {
|
|
6521
|
-
input: SendThankYouDto;
|
|
6522
|
-
};
|
|
6523
|
-
});
|
|
6524
|
-
updateThankYouTemplate?: (FundRaisingCampaignGenqlSelection & {
|
|
6525
|
-
__args: {
|
|
6526
|
-
input: UpdateThankYouTemplateDto;
|
|
6527
|
-
};
|
|
6528
|
-
});
|
|
6529
6806
|
createMembershipOrganization?: (MembershipOrganizationReferenceGenqlSelection & {
|
|
6530
6807
|
__args: {
|
|
6531
6808
|
input: CreateMembershipOrganizationDto;
|
|
@@ -6726,6 +7003,114 @@ export interface MutationGenqlSelection {
|
|
|
6726
7003
|
nudgeId: Scalars['String'];
|
|
6727
7004
|
};
|
|
6728
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
|
+
};
|
|
6729
7114
|
__typename?: boolean | number;
|
|
6730
7115
|
__scalar?: boolean | number;
|
|
6731
7116
|
}
|
|
@@ -6921,17 +7306,6 @@ export interface CreateSportEventDto {
|
|
|
6921
7306
|
banner?: (AWSS3UploadedFileDto | null);
|
|
6922
7307
|
eventLevel?: (Scalars['String'] | null);
|
|
6923
7308
|
}
|
|
6924
|
-
export interface SendThankYouDto {
|
|
6925
|
-
campaignId: Scalars['String'];
|
|
6926
|
-
donationId: Scalars['String'];
|
|
6927
|
-
customMessage?: (Scalars['String'] | null);
|
|
6928
|
-
}
|
|
6929
|
-
export interface UpdateThankYouTemplateDto {
|
|
6930
|
-
campaignId: Scalars['String'];
|
|
6931
|
-
thankYouMessage?: (Scalars['String'] | null);
|
|
6932
|
-
thankYouMediaUrl?: (Scalars['String'] | null);
|
|
6933
|
-
autoSendThankYou?: (Scalars['Boolean'] | null);
|
|
6934
|
-
}
|
|
6935
7309
|
export interface CreateStripeAccountDto {
|
|
6936
7310
|
countryId: Scalars['String'];
|
|
6937
7311
|
acceptedTermsId: Scalars['String'];
|
|
@@ -7455,6 +7829,15 @@ export declare const isPublicIntegrationStatus: (obj?: {
|
|
|
7455
7829
|
export declare const isPaginatedSports: (obj?: {
|
|
7456
7830
|
__typename?: any;
|
|
7457
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;
|
|
7458
7841
|
export declare const isUserImages: (obj?: {
|
|
7459
7842
|
__typename?: any;
|
|
7460
7843
|
} | null) => obj is UserImages;
|
|
@@ -7479,9 +7862,6 @@ export declare const isDonationDates: (obj?: {
|
|
|
7479
7862
|
export declare const isPaginatedDonations: (obj?: {
|
|
7480
7863
|
__typename?: any;
|
|
7481
7864
|
} | null) => obj is PaginatedDonations;
|
|
7482
|
-
export declare const isDonationThankYou: (obj?: {
|
|
7483
|
-
__typename?: any;
|
|
7484
|
-
} | null) => obj is DonationThankYou;
|
|
7485
7865
|
export declare const isCurrencyAmountType: (obj?: {
|
|
7486
7866
|
__typename?: any;
|
|
7487
7867
|
} | null) => obj is CurrencyAmountType;
|
|
@@ -7635,6 +8015,24 @@ export declare const isAiCoachNudgeListResponse: (obj?: {
|
|
|
7635
8015
|
export declare const isAiCoachUnreadNudgeCountResponse: (obj?: {
|
|
7636
8016
|
__typename?: any;
|
|
7637
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;
|
|
7638
8036
|
export declare const isQuery: (obj?: {
|
|
7639
8037
|
__typename?: any;
|
|
7640
8038
|
} | null) => obj is Query;
|