@vertikalx/vtx-backend-client 3.5.5-dev-ven.19 → 3.5.5-dev-ven.21
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/dist/package.json +1 -1
- package/dist/src/api/domains/generated/athlete.api.js +6 -0
- package/dist/src/api/domains/generated/athlete.api.js.map +1 -1
- package/dist/src/api/domains/generated/campaign.api.js +18 -0
- package/dist/src/api/domains/generated/campaign.api.js.map +1 -1
- package/dist/src/api/domains/generated/sport.api.js +6 -0
- package/dist/src/api/domains/generated/sport.api.js.map +1 -1
- package/dist/src/api/domains/generated/vtx-base-api.augment.d.ts +11 -1
- package/dist/src/client/schema.d.ts +376 -62
- package/dist/src/client/schema.js +83 -27
- package/dist/src/client/schema.js.map +1 -1
- package/dist/src/client/types.d.ts +188 -24
- package/dist/src/client/types.js +1096 -656
- package/dist/src/client/types.js.map +1 -1
- package/dist/src/generated/graphql.d.ts +493 -2
- package/dist/src/generated/graphql.js +337 -7
- package/dist/src/generated/graphql.js.map +1 -1
- package/package.json +1 -1
|
@@ -273,6 +273,7 @@ export interface Sport {
|
|
|
273
273
|
resultType: CompetitionResultType;
|
|
274
274
|
verified: (Scalars['Boolean'] | null);
|
|
275
275
|
priority: (Scalars['Float'] | null);
|
|
276
|
+
active: (Scalars['Boolean'] | null);
|
|
276
277
|
__typename: 'Sport';
|
|
277
278
|
}
|
|
278
279
|
export interface VtxScores {
|
|
@@ -1386,6 +1387,8 @@ export interface ActivityEntry {
|
|
|
1386
1387
|
prMetrics: (Scalars['String'][] | null);
|
|
1387
1388
|
metricAverages: (Scalars['JSONObject'] | null);
|
|
1388
1389
|
load: (ActivityLoad | null);
|
|
1390
|
+
source: (Scalars['String'] | null);
|
|
1391
|
+
sportName: (Scalars['String'] | null);
|
|
1389
1392
|
__typename: 'ActivityEntry';
|
|
1390
1393
|
}
|
|
1391
1394
|
export interface ActivitiesResponse {
|
|
@@ -1432,24 +1435,6 @@ export interface ActivityDetail {
|
|
|
1432
1435
|
caption: (Scalars['String'] | null);
|
|
1433
1436
|
__typename: 'ActivityDetail';
|
|
1434
1437
|
}
|
|
1435
|
-
export interface TopMetric {
|
|
1436
|
-
name: Scalars['String'];
|
|
1437
|
-
status: Scalars['String'];
|
|
1438
|
-
__typename: 'TopMetric';
|
|
1439
|
-
}
|
|
1440
|
-
export interface ComponentSummary {
|
|
1441
|
-
name: Scalars['String'];
|
|
1442
|
-
score: Scalars['Float'];
|
|
1443
|
-
maxScore: Scalars['Float'];
|
|
1444
|
-
trend: (Scalars['Float'] | null);
|
|
1445
|
-
trendPeriod: Scalars['String'];
|
|
1446
|
-
activityCount: Scalars['Int'];
|
|
1447
|
-
avgScorePerActivity: (Scalars['Float'] | null);
|
|
1448
|
-
topMetrics: TopMetric[];
|
|
1449
|
-
newMaxActivityIds: (Scalars['String'][] | null);
|
|
1450
|
-
metricMaxes: (Scalars['JSONObject'] | null);
|
|
1451
|
-
__typename: 'ComponentSummary';
|
|
1452
|
-
}
|
|
1453
1438
|
export interface ComponentPresence {
|
|
1454
1439
|
status: Scalars['String'];
|
|
1455
1440
|
cause: (Scalars['String'] | null);
|
|
@@ -1491,12 +1476,6 @@ export interface ScoreHistoryEntry {
|
|
|
1491
1476
|
trainingDisplayFromDay: (Scalars['Int'] | null);
|
|
1492
1477
|
__typename: 'ScoreHistoryEntry';
|
|
1493
1478
|
}
|
|
1494
|
-
export interface RankHistoryEntry {
|
|
1495
|
-
date: Scalars['DateTime'];
|
|
1496
|
-
globalRank: (Scalars['Int'] | null);
|
|
1497
|
-
countryRank: (Scalars['Int'] | null);
|
|
1498
|
-
__typename: 'RankHistoryEntry';
|
|
1499
|
-
}
|
|
1500
1479
|
export interface RankContext {
|
|
1501
1480
|
globalRank: (Scalars['Int'] | null);
|
|
1502
1481
|
countryRank: (Scalars['Int'] | null);
|
|
@@ -1507,6 +1486,45 @@ export interface RankContext {
|
|
|
1507
1486
|
totalAthletes: (Scalars['Int'] | null);
|
|
1508
1487
|
__typename: 'RankContext';
|
|
1509
1488
|
}
|
|
1489
|
+
export interface TopMetric {
|
|
1490
|
+
name: Scalars['String'];
|
|
1491
|
+
status: Scalars['String'];
|
|
1492
|
+
__typename: 'TopMetric';
|
|
1493
|
+
}
|
|
1494
|
+
export interface ComponentSummary {
|
|
1495
|
+
name: Scalars['String'];
|
|
1496
|
+
score: Scalars['Float'];
|
|
1497
|
+
maxScore: Scalars['Float'];
|
|
1498
|
+
trend: (Scalars['Float'] | null);
|
|
1499
|
+
trendPeriod: Scalars['String'];
|
|
1500
|
+
activityCount: Scalars['Int'];
|
|
1501
|
+
avgScorePerActivity: (Scalars['Float'] | null);
|
|
1502
|
+
topMetrics: TopMetric[];
|
|
1503
|
+
newMaxActivityIds: (Scalars['String'][] | null);
|
|
1504
|
+
metricMaxes: (Scalars['JSONObject'] | null);
|
|
1505
|
+
__typename: 'ComponentSummary';
|
|
1506
|
+
}
|
|
1507
|
+
export interface AdminAthleteScoreBreakdown {
|
|
1508
|
+
athleteId: Scalars['String'];
|
|
1509
|
+
firstName: (Scalars['String'] | null);
|
|
1510
|
+
lastName: (Scalars['String'] | null);
|
|
1511
|
+
screenName: (Scalars['String'] | null);
|
|
1512
|
+
countryName: (Scalars['String'] | null);
|
|
1513
|
+
mainSportName: (Scalars['String'] | null);
|
|
1514
|
+
summary: (DashboardSummary | null);
|
|
1515
|
+
scoreHistory: ScoreHistoryEntry[];
|
|
1516
|
+
rankContext: (RankContext | null);
|
|
1517
|
+
trainingSummary: (ComponentSummary | null);
|
|
1518
|
+
socialSummary: (ComponentSummary | null);
|
|
1519
|
+
sectionErrors: Scalars['String'][];
|
|
1520
|
+
__typename: 'AdminAthleteScoreBreakdown';
|
|
1521
|
+
}
|
|
1522
|
+
export interface RankHistoryEntry {
|
|
1523
|
+
date: Scalars['DateTime'];
|
|
1524
|
+
globalRank: (Scalars['Int'] | null);
|
|
1525
|
+
countryRank: (Scalars['Int'] | null);
|
|
1526
|
+
__typename: 'RankHistoryEntry';
|
|
1527
|
+
}
|
|
1510
1528
|
export interface StravaAthleteData {
|
|
1511
1529
|
id: Scalars['Float'];
|
|
1512
1530
|
username: (Scalars['String'] | null);
|
|
@@ -1940,6 +1958,71 @@ export interface DeviceTokenType {
|
|
|
1940
1958
|
updatedAt: Scalars['DateTime'];
|
|
1941
1959
|
__typename: 'DeviceTokenType';
|
|
1942
1960
|
}
|
|
1961
|
+
export interface DonationBreakdown {
|
|
1962
|
+
donationCents: Scalars['Int'];
|
|
1963
|
+
platformFeeCents: Scalars['Int'];
|
|
1964
|
+
stripeFeeCents: Scalars['Int'];
|
|
1965
|
+
totalCents: Scalars['Int'];
|
|
1966
|
+
addedToDonationCents: Scalars['Int'];
|
|
1967
|
+
recipientCents: Scalars['Int'];
|
|
1968
|
+
crossBorderFeeCents: Scalars['Int'];
|
|
1969
|
+
feePayer: Scalars['String'];
|
|
1970
|
+
cardRegion: Scalars['String'];
|
|
1971
|
+
payoutRegion: Scalars['String'];
|
|
1972
|
+
crossBorderFeePaidBy: (Scalars['String'] | null);
|
|
1973
|
+
isEstimate: Scalars['Boolean'];
|
|
1974
|
+
__typename: 'DonationBreakdown';
|
|
1975
|
+
}
|
|
1976
|
+
export interface DonationQuote {
|
|
1977
|
+
donorPays: DonationBreakdown;
|
|
1978
|
+
recipientPays: DonationBreakdown;
|
|
1979
|
+
cardCountry: (Scalars['String'] | null);
|
|
1980
|
+
cardRegion: Scalars['String'];
|
|
1981
|
+
payoutCountry: (Scalars['String'] | null);
|
|
1982
|
+
billingCountry: (Scalars['String'] | null);
|
|
1983
|
+
billingState: (Scalars['String'] | null);
|
|
1984
|
+
recipientName: Scalars['String'];
|
|
1985
|
+
__typename: 'DonationQuote';
|
|
1986
|
+
}
|
|
1987
|
+
export interface DonationCheckoutConfig {
|
|
1988
|
+
paymentElementEnabled: Scalars['Boolean'];
|
|
1989
|
+
currency: Scalars['String'];
|
|
1990
|
+
minCents: Scalars['Int'];
|
|
1991
|
+
maxCents: Scalars['Int'];
|
|
1992
|
+
presetCents: Scalars['Int'][];
|
|
1993
|
+
defaultFeePayer: Scalars['String'];
|
|
1994
|
+
estimateCardRegion: Scalars['String'];
|
|
1995
|
+
__typename: 'DonationCheckoutConfig';
|
|
1996
|
+
}
|
|
1997
|
+
export interface DonationRecipientPayout {
|
|
1998
|
+
recipientName: Scalars['String'];
|
|
1999
|
+
payoutCountry: (Scalars['String'] | null);
|
|
2000
|
+
payoutRegion: Scalars['String'];
|
|
2001
|
+
__typename: 'DonationRecipientPayout';
|
|
2002
|
+
}
|
|
2003
|
+
export interface DonationConfirmResult {
|
|
2004
|
+
status: Scalars['String'];
|
|
2005
|
+
vtxCheckoutId: (Scalars['String'] | null);
|
|
2006
|
+
clientSecret: (Scalars['String'] | null);
|
|
2007
|
+
breakdown: (DonationBreakdown | null);
|
|
2008
|
+
errorCode: (Scalars['String'] | null);
|
|
2009
|
+
__typename: 'DonationConfirmResult';
|
|
2010
|
+
}
|
|
2011
|
+
export interface DonationResult {
|
|
2012
|
+
vtxCheckoutId: Scalars['String'];
|
|
2013
|
+
donationStatus: (Scalars['String'] | null);
|
|
2014
|
+
clientStatus: Scalars['String'];
|
|
2015
|
+
breakdown: (DonationBreakdown | null);
|
|
2016
|
+
actualStripeFeeCents: (Scalars['Int'] | null);
|
|
2017
|
+
cardCountry: (Scalars['String'] | null);
|
|
2018
|
+
payoutCountry: (Scalars['String'] | null);
|
|
2019
|
+
billingCountry: (Scalars['String'] | null);
|
|
2020
|
+
billingState: (Scalars['String'] | null);
|
|
2021
|
+
recipientType: (Scalars['String'] | null);
|
|
2022
|
+
recipientName: (Scalars['String'] | null);
|
|
2023
|
+
fundingCampaignId: (Scalars['String'] | null);
|
|
2024
|
+
__typename: 'DonationResult';
|
|
2025
|
+
}
|
|
1943
2026
|
export interface DonationThankYou {
|
|
1944
2027
|
_id: Scalars['String'];
|
|
1945
2028
|
message: Scalars['String'];
|
|
@@ -2738,6 +2821,18 @@ export interface SponsorUserPreferences {
|
|
|
2738
2821
|
preferredLocale: (Scalars['String'] | null);
|
|
2739
2822
|
__typename: 'SponsorUserPreferences';
|
|
2740
2823
|
}
|
|
2824
|
+
export interface SportUsage {
|
|
2825
|
+
sportId: Scalars['String'];
|
|
2826
|
+
athletes: Scalars['Int'];
|
|
2827
|
+
events: Scalars['Int'];
|
|
2828
|
+
activities: Scalars['Int'];
|
|
2829
|
+
teams: Scalars['Int'];
|
|
2830
|
+
clubs: Scalars['Int'];
|
|
2831
|
+
other: Scalars['Int'];
|
|
2832
|
+
inUse: Scalars['Boolean'];
|
|
2833
|
+
coreSport: Scalars['Boolean'];
|
|
2834
|
+
__typename: 'SportUsage';
|
|
2835
|
+
}
|
|
2741
2836
|
export interface StripeObject {
|
|
2742
2837
|
type: Scalars['String'];
|
|
2743
2838
|
json: Scalars['JSONObject'];
|
|
@@ -3112,6 +3207,7 @@ export interface Query {
|
|
|
3112
3207
|
getSports: Sport[];
|
|
3113
3208
|
getSportsPaginated: PaginatedSports;
|
|
3114
3209
|
findSportById: Sport;
|
|
3210
|
+
getSportUsage: SportUsage;
|
|
3115
3211
|
getSportLevels: SportLevel[];
|
|
3116
3212
|
getPublicSponsorships: Sponsorship[];
|
|
3117
3213
|
getTenantSponsorships: Sponsorship[];
|
|
@@ -3157,6 +3253,9 @@ export interface Query {
|
|
|
3157
3253
|
getAthleteProviderConnections: ProviderConnectionStatus[];
|
|
3158
3254
|
stripeQuery: StripeObject;
|
|
3159
3255
|
getStripeBalance: StripeBalance;
|
|
3256
|
+
donationCheckoutConfig: DonationCheckoutConfig;
|
|
3257
|
+
donationRecipientPayout: DonationRecipientPayout;
|
|
3258
|
+
donationResult: (DonationResult | null);
|
|
3160
3259
|
getDatabaseTextFile: TextDatabaseFile;
|
|
3161
3260
|
getS3UploadUrl: AWSS3UploadUrl;
|
|
3162
3261
|
getReceipt: Receipt;
|
|
@@ -3186,6 +3285,8 @@ export interface Query {
|
|
|
3186
3285
|
athleteActivityDetail: ActivityDetail;
|
|
3187
3286
|
athleteComponentSummary: ComponentSummary;
|
|
3188
3287
|
athleteActivityDates: ActivityDatesResponse;
|
|
3288
|
+
adminAthleteScoreBreakdown: AdminAthleteScoreBreakdown;
|
|
3289
|
+
adminAthleteActivities: ActivitiesResponse;
|
|
3189
3290
|
socialAggregates: SocialAggregateType[];
|
|
3190
3291
|
postsWithComparison: PostComparisonResultType;
|
|
3191
3292
|
myNotifications: NotificationListResponse;
|
|
@@ -3304,6 +3405,7 @@ export interface Mutation {
|
|
|
3304
3405
|
declineSponsorAthleteInvitation: Scalars['Boolean'];
|
|
3305
3406
|
createSport: Sport;
|
|
3306
3407
|
updateSport: Sport;
|
|
3408
|
+
deleteSport: DeleteSingleValueResponse;
|
|
3307
3409
|
createSportLevel: SportLevel;
|
|
3308
3410
|
createSponsorship: Sponsorship;
|
|
3309
3411
|
createCountry: Country;
|
|
@@ -3361,6 +3463,9 @@ export interface Mutation {
|
|
|
3361
3463
|
createStripeCheckoutSession: StripeCheckoutSession;
|
|
3362
3464
|
createStripeLoginLink: Scalars['String'];
|
|
3363
3465
|
createStripeAccountLink: Scalars['String'];
|
|
3466
|
+
quoteDonation: DonationQuote;
|
|
3467
|
+
confirmDonation: DonationConfirmResult;
|
|
3468
|
+
completeDonation: DonationConfirmResult;
|
|
3364
3469
|
registerMember: Member;
|
|
3365
3470
|
createOffer: Offer;
|
|
3366
3471
|
updateOffer: Offer;
|
|
@@ -3724,6 +3829,7 @@ export interface SportGenqlSelection {
|
|
|
3724
3829
|
resultType?: boolean | number;
|
|
3725
3830
|
verified?: boolean | number;
|
|
3726
3831
|
priority?: boolean | number;
|
|
3832
|
+
active?: boolean | number;
|
|
3727
3833
|
__typename?: boolean | number;
|
|
3728
3834
|
__scalar?: boolean | number;
|
|
3729
3835
|
}
|
|
@@ -4942,6 +5048,8 @@ export interface ActivityEntryGenqlSelection {
|
|
|
4942
5048
|
prMetrics?: boolean | number;
|
|
4943
5049
|
metricAverages?: boolean | number;
|
|
4944
5050
|
load?: ActivityLoadGenqlSelection;
|
|
5051
|
+
source?: boolean | number;
|
|
5052
|
+
sportName?: boolean | number;
|
|
4945
5053
|
__typename?: boolean | number;
|
|
4946
5054
|
__scalar?: boolean | number;
|
|
4947
5055
|
}
|
|
@@ -4994,26 +5102,6 @@ export interface ActivityDetailGenqlSelection {
|
|
|
4994
5102
|
__typename?: boolean | number;
|
|
4995
5103
|
__scalar?: boolean | number;
|
|
4996
5104
|
}
|
|
4997
|
-
export interface TopMetricGenqlSelection {
|
|
4998
|
-
name?: boolean | number;
|
|
4999
|
-
status?: boolean | number;
|
|
5000
|
-
__typename?: boolean | number;
|
|
5001
|
-
__scalar?: boolean | number;
|
|
5002
|
-
}
|
|
5003
|
-
export interface ComponentSummaryGenqlSelection {
|
|
5004
|
-
name?: boolean | number;
|
|
5005
|
-
score?: boolean | number;
|
|
5006
|
-
maxScore?: boolean | number;
|
|
5007
|
-
trend?: boolean | number;
|
|
5008
|
-
trendPeriod?: boolean | number;
|
|
5009
|
-
activityCount?: boolean | number;
|
|
5010
|
-
avgScorePerActivity?: boolean | number;
|
|
5011
|
-
topMetrics?: TopMetricGenqlSelection;
|
|
5012
|
-
newMaxActivityIds?: boolean | number;
|
|
5013
|
-
metricMaxes?: boolean | number;
|
|
5014
|
-
__typename?: boolean | number;
|
|
5015
|
-
__scalar?: boolean | number;
|
|
5016
|
-
}
|
|
5017
5105
|
export interface ComponentPresenceGenqlSelection {
|
|
5018
5106
|
status?: boolean | number;
|
|
5019
5107
|
cause?: boolean | number;
|
|
@@ -5059,13 +5147,6 @@ export interface ScoreHistoryEntryGenqlSelection {
|
|
|
5059
5147
|
__typename?: boolean | number;
|
|
5060
5148
|
__scalar?: boolean | number;
|
|
5061
5149
|
}
|
|
5062
|
-
export interface RankHistoryEntryGenqlSelection {
|
|
5063
|
-
date?: boolean | number;
|
|
5064
|
-
globalRank?: boolean | number;
|
|
5065
|
-
countryRank?: boolean | number;
|
|
5066
|
-
__typename?: boolean | number;
|
|
5067
|
-
__scalar?: boolean | number;
|
|
5068
|
-
}
|
|
5069
5150
|
export interface RankContextGenqlSelection {
|
|
5070
5151
|
globalRank?: boolean | number;
|
|
5071
5152
|
countryRank?: boolean | number;
|
|
@@ -5077,6 +5158,49 @@ export interface RankContextGenqlSelection {
|
|
|
5077
5158
|
__typename?: boolean | number;
|
|
5078
5159
|
__scalar?: boolean | number;
|
|
5079
5160
|
}
|
|
5161
|
+
export interface TopMetricGenqlSelection {
|
|
5162
|
+
name?: boolean | number;
|
|
5163
|
+
status?: boolean | number;
|
|
5164
|
+
__typename?: boolean | number;
|
|
5165
|
+
__scalar?: boolean | number;
|
|
5166
|
+
}
|
|
5167
|
+
export interface ComponentSummaryGenqlSelection {
|
|
5168
|
+
name?: boolean | number;
|
|
5169
|
+
score?: boolean | number;
|
|
5170
|
+
maxScore?: boolean | number;
|
|
5171
|
+
trend?: boolean | number;
|
|
5172
|
+
trendPeriod?: boolean | number;
|
|
5173
|
+
activityCount?: boolean | number;
|
|
5174
|
+
avgScorePerActivity?: boolean | number;
|
|
5175
|
+
topMetrics?: TopMetricGenqlSelection;
|
|
5176
|
+
newMaxActivityIds?: boolean | number;
|
|
5177
|
+
metricMaxes?: boolean | number;
|
|
5178
|
+
__typename?: boolean | number;
|
|
5179
|
+
__scalar?: boolean | number;
|
|
5180
|
+
}
|
|
5181
|
+
export interface AdminAthleteScoreBreakdownGenqlSelection {
|
|
5182
|
+
athleteId?: boolean | number;
|
|
5183
|
+
firstName?: boolean | number;
|
|
5184
|
+
lastName?: boolean | number;
|
|
5185
|
+
screenName?: boolean | number;
|
|
5186
|
+
countryName?: boolean | number;
|
|
5187
|
+
mainSportName?: boolean | number;
|
|
5188
|
+
summary?: DashboardSummaryGenqlSelection;
|
|
5189
|
+
scoreHistory?: ScoreHistoryEntryGenqlSelection;
|
|
5190
|
+
rankContext?: RankContextGenqlSelection;
|
|
5191
|
+
trainingSummary?: ComponentSummaryGenqlSelection;
|
|
5192
|
+
socialSummary?: ComponentSummaryGenqlSelection;
|
|
5193
|
+
sectionErrors?: boolean | number;
|
|
5194
|
+
__typename?: boolean | number;
|
|
5195
|
+
__scalar?: boolean | number;
|
|
5196
|
+
}
|
|
5197
|
+
export interface RankHistoryEntryGenqlSelection {
|
|
5198
|
+
date?: boolean | number;
|
|
5199
|
+
globalRank?: boolean | number;
|
|
5200
|
+
countryRank?: boolean | number;
|
|
5201
|
+
__typename?: boolean | number;
|
|
5202
|
+
__scalar?: boolean | number;
|
|
5203
|
+
}
|
|
5080
5204
|
export interface StravaAthleteDataGenqlSelection {
|
|
5081
5205
|
id?: boolean | number;
|
|
5082
5206
|
username?: boolean | number;
|
|
@@ -5555,6 +5679,77 @@ export interface DeviceTokenTypeGenqlSelection {
|
|
|
5555
5679
|
__typename?: boolean | number;
|
|
5556
5680
|
__scalar?: boolean | number;
|
|
5557
5681
|
}
|
|
5682
|
+
export interface DonationBreakdownGenqlSelection {
|
|
5683
|
+
donationCents?: boolean | number;
|
|
5684
|
+
platformFeeCents?: boolean | number;
|
|
5685
|
+
stripeFeeCents?: boolean | number;
|
|
5686
|
+
totalCents?: boolean | number;
|
|
5687
|
+
addedToDonationCents?: boolean | number;
|
|
5688
|
+
recipientCents?: boolean | number;
|
|
5689
|
+
crossBorderFeeCents?: boolean | number;
|
|
5690
|
+
feePayer?: boolean | number;
|
|
5691
|
+
cardRegion?: boolean | number;
|
|
5692
|
+
payoutRegion?: boolean | number;
|
|
5693
|
+
crossBorderFeePaidBy?: boolean | number;
|
|
5694
|
+
isEstimate?: boolean | number;
|
|
5695
|
+
__typename?: boolean | number;
|
|
5696
|
+
__scalar?: boolean | number;
|
|
5697
|
+
}
|
|
5698
|
+
export interface DonationQuoteGenqlSelection {
|
|
5699
|
+
donorPays?: DonationBreakdownGenqlSelection;
|
|
5700
|
+
recipientPays?: DonationBreakdownGenqlSelection;
|
|
5701
|
+
cardCountry?: boolean | number;
|
|
5702
|
+
cardRegion?: boolean | number;
|
|
5703
|
+
payoutCountry?: boolean | number;
|
|
5704
|
+
billingCountry?: boolean | number;
|
|
5705
|
+
billingState?: boolean | number;
|
|
5706
|
+
recipientName?: boolean | number;
|
|
5707
|
+
__typename?: boolean | number;
|
|
5708
|
+
__scalar?: boolean | number;
|
|
5709
|
+
}
|
|
5710
|
+
export interface DonationCheckoutConfigGenqlSelection {
|
|
5711
|
+
paymentElementEnabled?: boolean | number;
|
|
5712
|
+
currency?: boolean | number;
|
|
5713
|
+
minCents?: boolean | number;
|
|
5714
|
+
maxCents?: boolean | number;
|
|
5715
|
+
presetCents?: boolean | number;
|
|
5716
|
+
defaultFeePayer?: boolean | number;
|
|
5717
|
+
estimateCardRegion?: boolean | number;
|
|
5718
|
+
__typename?: boolean | number;
|
|
5719
|
+
__scalar?: boolean | number;
|
|
5720
|
+
}
|
|
5721
|
+
export interface DonationRecipientPayoutGenqlSelection {
|
|
5722
|
+
recipientName?: boolean | number;
|
|
5723
|
+
payoutCountry?: boolean | number;
|
|
5724
|
+
payoutRegion?: boolean | number;
|
|
5725
|
+
__typename?: boolean | number;
|
|
5726
|
+
__scalar?: boolean | number;
|
|
5727
|
+
}
|
|
5728
|
+
export interface DonationConfirmResultGenqlSelection {
|
|
5729
|
+
status?: boolean | number;
|
|
5730
|
+
vtxCheckoutId?: boolean | number;
|
|
5731
|
+
clientSecret?: boolean | number;
|
|
5732
|
+
breakdown?: DonationBreakdownGenqlSelection;
|
|
5733
|
+
errorCode?: boolean | number;
|
|
5734
|
+
__typename?: boolean | number;
|
|
5735
|
+
__scalar?: boolean | number;
|
|
5736
|
+
}
|
|
5737
|
+
export interface DonationResultGenqlSelection {
|
|
5738
|
+
vtxCheckoutId?: boolean | number;
|
|
5739
|
+
donationStatus?: boolean | number;
|
|
5740
|
+
clientStatus?: boolean | number;
|
|
5741
|
+
breakdown?: DonationBreakdownGenqlSelection;
|
|
5742
|
+
actualStripeFeeCents?: boolean | number;
|
|
5743
|
+
cardCountry?: boolean | number;
|
|
5744
|
+
payoutCountry?: boolean | number;
|
|
5745
|
+
billingCountry?: boolean | number;
|
|
5746
|
+
billingState?: boolean | number;
|
|
5747
|
+
recipientType?: boolean | number;
|
|
5748
|
+
recipientName?: boolean | number;
|
|
5749
|
+
fundingCampaignId?: boolean | number;
|
|
5750
|
+
__typename?: boolean | number;
|
|
5751
|
+
__scalar?: boolean | number;
|
|
5752
|
+
}
|
|
5558
5753
|
export interface DonationThankYouGenqlSelection {
|
|
5559
5754
|
_id?: boolean | number;
|
|
5560
5755
|
message?: boolean | number;
|
|
@@ -6426,6 +6621,19 @@ export interface SponsorUserPreferencesGenqlSelection {
|
|
|
6426
6621
|
__typename?: boolean | number;
|
|
6427
6622
|
__scalar?: boolean | number;
|
|
6428
6623
|
}
|
|
6624
|
+
export interface SportUsageGenqlSelection {
|
|
6625
|
+
sportId?: boolean | number;
|
|
6626
|
+
athletes?: boolean | number;
|
|
6627
|
+
events?: boolean | number;
|
|
6628
|
+
activities?: boolean | number;
|
|
6629
|
+
teams?: boolean | number;
|
|
6630
|
+
clubs?: boolean | number;
|
|
6631
|
+
other?: boolean | number;
|
|
6632
|
+
inUse?: boolean | number;
|
|
6633
|
+
coreSport?: boolean | number;
|
|
6634
|
+
__typename?: boolean | number;
|
|
6635
|
+
__scalar?: boolean | number;
|
|
6636
|
+
}
|
|
6429
6637
|
export interface StripeObjectGenqlSelection {
|
|
6430
6638
|
type?: boolean | number;
|
|
6431
6639
|
json?: boolean | number;
|
|
@@ -7479,7 +7687,7 @@ export interface CreateSportLevelDto {
|
|
|
7479
7687
|
translations?: (CreateSportLevelTranslationDto[] | null);
|
|
7480
7688
|
}
|
|
7481
7689
|
export interface CreateSportDto {
|
|
7482
|
-
_id
|
|
7690
|
+
_id?: (Scalars['String'] | null);
|
|
7483
7691
|
name: Scalars['String'];
|
|
7484
7692
|
priority?: (Scalars['Float'] | null);
|
|
7485
7693
|
resultType?: (Scalars['String'] | null);
|
|
@@ -7536,6 +7744,37 @@ export interface UnregisterDeviceTokenDto {
|
|
|
7536
7744
|
export interface DismissSuggestionDto {
|
|
7537
7745
|
competitionIds: Scalars['String'][];
|
|
7538
7746
|
}
|
|
7747
|
+
export interface DonationRecipientDto {
|
|
7748
|
+
recipientType: Scalars['String'];
|
|
7749
|
+
recipientId: Scalars['String'];
|
|
7750
|
+
fundingCampaignId?: (Scalars['String'] | null);
|
|
7751
|
+
}
|
|
7752
|
+
export interface QuoteDonationDto {
|
|
7753
|
+
recipientType: Scalars['String'];
|
|
7754
|
+
recipientId: Scalars['String'];
|
|
7755
|
+
fundingCampaignId?: (Scalars['String'] | null);
|
|
7756
|
+
confirmationTokenId: Scalars['String'];
|
|
7757
|
+
donationCents: Scalars['Int'];
|
|
7758
|
+
}
|
|
7759
|
+
export interface ConfirmDonationDto {
|
|
7760
|
+
recipientType: Scalars['String'];
|
|
7761
|
+
recipientId: Scalars['String'];
|
|
7762
|
+
fundingCampaignId?: (Scalars['String'] | null);
|
|
7763
|
+
confirmationTokenId: Scalars['String'];
|
|
7764
|
+
donationCents: Scalars['Int'];
|
|
7765
|
+
feePayer: Scalars['String'];
|
|
7766
|
+
expectedTotalCents: Scalars['Int'];
|
|
7767
|
+
fromEmail: Scalars['String'];
|
|
7768
|
+
fromName?: (Scalars['String'] | null);
|
|
7769
|
+
message?: (Scalars['String'] | null);
|
|
7770
|
+
mode?: DonationMode;
|
|
7771
|
+
}
|
|
7772
|
+
export interface CompleteDonationDto {
|
|
7773
|
+
vtxCheckoutId: Scalars['String'];
|
|
7774
|
+
}
|
|
7775
|
+
export interface DonationResultDto {
|
|
7776
|
+
vtxCheckoutId: Scalars['String'];
|
|
7777
|
+
}
|
|
7539
7778
|
export interface EditAthleteCompetitionDto {
|
|
7540
7779
|
competitionId: Scalars['String'];
|
|
7541
7780
|
participationDate?: (Scalars['DateTime'] | null);
|
|
@@ -7905,6 +8144,7 @@ export interface SportQueryDto {
|
|
|
7905
8144
|
search?: (Scalars['String'] | null);
|
|
7906
8145
|
resultType?: (Scalars['String'] | null);
|
|
7907
8146
|
verified?: (Scalars['String'] | null);
|
|
8147
|
+
active?: (Scalars['String'] | null);
|
|
7908
8148
|
sortField?: (Scalars['String'] | null);
|
|
7909
8149
|
sortOrder?: (Scalars['String'] | null);
|
|
7910
8150
|
}
|
|
@@ -8007,7 +8247,10 @@ export interface UpdateSportEventDto {
|
|
|
8007
8247
|
}
|
|
8008
8248
|
export interface UpdateSportDto {
|
|
8009
8249
|
_id: Scalars['String'];
|
|
8010
|
-
name
|
|
8250
|
+
name?: (Scalars['String'] | null);
|
|
8251
|
+
priority?: (Scalars['Int'] | null);
|
|
8252
|
+
resultType?: (Scalars['String'] | null);
|
|
8253
|
+
active?: (Scalars['Boolean'] | null);
|
|
8011
8254
|
}
|
|
8012
8255
|
export interface UpdateUserSuspendedStatusDto {
|
|
8013
8256
|
userId: Scalars['String'];
|
|
@@ -8285,6 +8528,11 @@ export interface QueryGenqlSelection {
|
|
|
8285
8528
|
sportId: Scalars['String'];
|
|
8286
8529
|
};
|
|
8287
8530
|
});
|
|
8531
|
+
getSportUsage?: (SportUsageGenqlSelection & {
|
|
8532
|
+
__args: {
|
|
8533
|
+
sportId: Scalars['String'];
|
|
8534
|
+
};
|
|
8535
|
+
});
|
|
8288
8536
|
getSportLevels?: SportLevelGenqlSelection;
|
|
8289
8537
|
getPublicSponsorships?: SponsorshipGenqlSelection;
|
|
8290
8538
|
getTenantSponsorships?: SponsorshipGenqlSelection;
|
|
@@ -8433,6 +8681,17 @@ export interface QueryGenqlSelection {
|
|
|
8433
8681
|
};
|
|
8434
8682
|
});
|
|
8435
8683
|
getStripeBalance?: StripeBalanceGenqlSelection;
|
|
8684
|
+
donationCheckoutConfig?: DonationCheckoutConfigGenqlSelection;
|
|
8685
|
+
donationRecipientPayout?: (DonationRecipientPayoutGenqlSelection & {
|
|
8686
|
+
__args: {
|
|
8687
|
+
input: DonationRecipientDto;
|
|
8688
|
+
};
|
|
8689
|
+
});
|
|
8690
|
+
donationResult?: (DonationResultGenqlSelection & {
|
|
8691
|
+
__args: {
|
|
8692
|
+
input: DonationResultDto;
|
|
8693
|
+
};
|
|
8694
|
+
});
|
|
8436
8695
|
getDatabaseTextFile?: (TextDatabaseFileGenqlSelection & {
|
|
8437
8696
|
__args: {
|
|
8438
8697
|
input: GetDatabaseFileDto;
|
|
@@ -8569,6 +8828,17 @@ export interface QueryGenqlSelection {
|
|
|
8569
8828
|
input: ActivityDatesQueryDto;
|
|
8570
8829
|
};
|
|
8571
8830
|
});
|
|
8831
|
+
adminAthleteScoreBreakdown?: (AdminAthleteScoreBreakdownGenqlSelection & {
|
|
8832
|
+
__args: {
|
|
8833
|
+
athleteId: Scalars['String'];
|
|
8834
|
+
historyRange?: (TimeRange | null);
|
|
8835
|
+
};
|
|
8836
|
+
});
|
|
8837
|
+
adminAthleteActivities?: (ActivitiesResponseGenqlSelection & {
|
|
8838
|
+
__args: {
|
|
8839
|
+
input: ActivitiesQueryDto;
|
|
8840
|
+
};
|
|
8841
|
+
});
|
|
8572
8842
|
socialAggregates?: (SocialAggregateTypeGenqlSelection & {
|
|
8573
8843
|
__args: {
|
|
8574
8844
|
athleteId: Scalars['ID'];
|
|
@@ -9104,6 +9374,11 @@ export interface MutationGenqlSelection {
|
|
|
9104
9374
|
input: UpdateSportDto;
|
|
9105
9375
|
};
|
|
9106
9376
|
});
|
|
9377
|
+
deleteSport?: (DeleteSingleValueResponseGenqlSelection & {
|
|
9378
|
+
__args: {
|
|
9379
|
+
sportId: Scalars['String'];
|
|
9380
|
+
};
|
|
9381
|
+
});
|
|
9107
9382
|
createSportLevel?: (SportLevelGenqlSelection & {
|
|
9108
9383
|
__args: {
|
|
9109
9384
|
input: CreateSportLevelDto;
|
|
@@ -9370,6 +9645,21 @@ export interface MutationGenqlSelection {
|
|
|
9370
9645
|
});
|
|
9371
9646
|
createStripeLoginLink?: boolean | number;
|
|
9372
9647
|
createStripeAccountLink?: boolean | number;
|
|
9648
|
+
quoteDonation?: (DonationQuoteGenqlSelection & {
|
|
9649
|
+
__args: {
|
|
9650
|
+
input: QuoteDonationDto;
|
|
9651
|
+
};
|
|
9652
|
+
});
|
|
9653
|
+
confirmDonation?: (DonationConfirmResultGenqlSelection & {
|
|
9654
|
+
__args: {
|
|
9655
|
+
input: ConfirmDonationDto;
|
|
9656
|
+
};
|
|
9657
|
+
});
|
|
9658
|
+
completeDonation?: (DonationConfirmResultGenqlSelection & {
|
|
9659
|
+
__args: {
|
|
9660
|
+
input: CompleteDonationDto;
|
|
9661
|
+
};
|
|
9662
|
+
});
|
|
9373
9663
|
registerMember?: (MemberGenqlSelection & {
|
|
9374
9664
|
__args: {
|
|
9375
9665
|
input: RegisterMemberDto;
|
|
@@ -10185,12 +10475,6 @@ export declare const isScoreInfo: (obj?: {
|
|
|
10185
10475
|
export declare const isActivityDetail: (obj?: {
|
|
10186
10476
|
__typename?: any;
|
|
10187
10477
|
} | null) => obj is ActivityDetail;
|
|
10188
|
-
export declare const isTopMetric: (obj?: {
|
|
10189
|
-
__typename?: any;
|
|
10190
|
-
} | null) => obj is TopMetric;
|
|
10191
|
-
export declare const isComponentSummary: (obj?: {
|
|
10192
|
-
__typename?: any;
|
|
10193
|
-
} | null) => obj is ComponentSummary;
|
|
10194
10478
|
export declare const isComponentPresence: (obj?: {
|
|
10195
10479
|
__typename?: any;
|
|
10196
10480
|
} | null) => obj is ComponentPresence;
|
|
@@ -10203,12 +10487,21 @@ export declare const isDashboardSummary: (obj?: {
|
|
|
10203
10487
|
export declare const isScoreHistoryEntry: (obj?: {
|
|
10204
10488
|
__typename?: any;
|
|
10205
10489
|
} | null) => obj is ScoreHistoryEntry;
|
|
10206
|
-
export declare const isRankHistoryEntry: (obj?: {
|
|
10207
|
-
__typename?: any;
|
|
10208
|
-
} | null) => obj is RankHistoryEntry;
|
|
10209
10490
|
export declare const isRankContext: (obj?: {
|
|
10210
10491
|
__typename?: any;
|
|
10211
10492
|
} | null) => obj is RankContext;
|
|
10493
|
+
export declare const isTopMetric: (obj?: {
|
|
10494
|
+
__typename?: any;
|
|
10495
|
+
} | null) => obj is TopMetric;
|
|
10496
|
+
export declare const isComponentSummary: (obj?: {
|
|
10497
|
+
__typename?: any;
|
|
10498
|
+
} | null) => obj is ComponentSummary;
|
|
10499
|
+
export declare const isAdminAthleteScoreBreakdown: (obj?: {
|
|
10500
|
+
__typename?: any;
|
|
10501
|
+
} | null) => obj is AdminAthleteScoreBreakdown;
|
|
10502
|
+
export declare const isRankHistoryEntry: (obj?: {
|
|
10503
|
+
__typename?: any;
|
|
10504
|
+
} | null) => obj is RankHistoryEntry;
|
|
10212
10505
|
export declare const isStravaAthleteData: (obj?: {
|
|
10213
10506
|
__typename?: any;
|
|
10214
10507
|
} | null) => obj is StravaAthleteData;
|
|
@@ -10350,6 +10643,24 @@ export declare const isDeleteVtxUserResponse: (obj?: {
|
|
|
10350
10643
|
export declare const isDeviceTokenType: (obj?: {
|
|
10351
10644
|
__typename?: any;
|
|
10352
10645
|
} | null) => obj is DeviceTokenType;
|
|
10646
|
+
export declare const isDonationBreakdown: (obj?: {
|
|
10647
|
+
__typename?: any;
|
|
10648
|
+
} | null) => obj is DonationBreakdown;
|
|
10649
|
+
export declare const isDonationQuote: (obj?: {
|
|
10650
|
+
__typename?: any;
|
|
10651
|
+
} | null) => obj is DonationQuote;
|
|
10652
|
+
export declare const isDonationCheckoutConfig: (obj?: {
|
|
10653
|
+
__typename?: any;
|
|
10654
|
+
} | null) => obj is DonationCheckoutConfig;
|
|
10655
|
+
export declare const isDonationRecipientPayout: (obj?: {
|
|
10656
|
+
__typename?: any;
|
|
10657
|
+
} | null) => obj is DonationRecipientPayout;
|
|
10658
|
+
export declare const isDonationConfirmResult: (obj?: {
|
|
10659
|
+
__typename?: any;
|
|
10660
|
+
} | null) => obj is DonationConfirmResult;
|
|
10661
|
+
export declare const isDonationResult: (obj?: {
|
|
10662
|
+
__typename?: any;
|
|
10663
|
+
} | null) => obj is DonationResult;
|
|
10353
10664
|
export declare const isDonationThankYou: (obj?: {
|
|
10354
10665
|
__typename?: any;
|
|
10355
10666
|
} | null) => obj is DonationThankYou;
|
|
@@ -10584,6 +10895,9 @@ export declare const isSponsorOnboardingData: (obj?: {
|
|
|
10584
10895
|
export declare const isSponsorUserPreferences: (obj?: {
|
|
10585
10896
|
__typename?: any;
|
|
10586
10897
|
} | null) => obj is SponsorUserPreferences;
|
|
10898
|
+
export declare const isSportUsage: (obj?: {
|
|
10899
|
+
__typename?: any;
|
|
10900
|
+
} | null) => obj is SportUsage;
|
|
10587
10901
|
export declare const isStripeObject: (obj?: {
|
|
10588
10902
|
__typename?: any;
|
|
10589
10903
|
} | null) => obj is StripeObject;
|