@vertikalx/vtx-backend-client 3.5.5-dev-ven.20 → 3.5.5-dev-ven.22

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.
@@ -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 {
@@ -919,6 +920,8 @@ export interface Club {
919
920
  banner: (AWSS3File | null);
920
921
  location: (Scalars['String'] | null);
921
922
  website: (Scalars['String'] | null);
923
+ level: (Scalars['String'] | null);
924
+ country: (Country | null);
922
925
  membershipType: Scalars['String'];
923
926
  feeStructure: (Scalars['JSON'] | null);
924
927
  approved: (Scalars['Boolean'] | null);
@@ -1386,6 +1389,8 @@ export interface ActivityEntry {
1386
1389
  prMetrics: (Scalars['String'][] | null);
1387
1390
  metricAverages: (Scalars['JSONObject'] | null);
1388
1391
  load: (ActivityLoad | null);
1392
+ source: (Scalars['String'] | null);
1393
+ sportName: (Scalars['String'] | null);
1389
1394
  __typename: 'ActivityEntry';
1390
1395
  }
1391
1396
  export interface ActivitiesResponse {
@@ -1432,24 +1437,6 @@ export interface ActivityDetail {
1432
1437
  caption: (Scalars['String'] | null);
1433
1438
  __typename: 'ActivityDetail';
1434
1439
  }
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
1440
  export interface ComponentPresence {
1454
1441
  status: Scalars['String'];
1455
1442
  cause: (Scalars['String'] | null);
@@ -1472,9 +1459,11 @@ export interface DashboardSummary {
1472
1459
  renormalizedSecondary: (Scalars['Float'] | null);
1473
1460
  renormalizedSecondaryBasis: (Scalars['String'] | null);
1474
1461
  indexStatus: (Scalars['String'] | null);
1462
+ socialCollectingData: (Scalars['Boolean'] | null);
1475
1463
  trainingLowConfidence: (Scalars['Boolean'] | null);
1476
1464
  trainingInactive: (Scalars['Boolean'] | null);
1477
1465
  trainingCollectingData: (Scalars['Boolean'] | null);
1466
+ trainingMultisportBasis: (Scalars['String'] | null);
1478
1467
  trainingHidden: (Scalars['Boolean'] | null);
1479
1468
  trainingHistoryDays: (Scalars['Int'] | null);
1480
1469
  trainingDisplayFromDay: (Scalars['Int'] | null);
@@ -1491,12 +1480,6 @@ export interface ScoreHistoryEntry {
1491
1480
  trainingDisplayFromDay: (Scalars['Int'] | null);
1492
1481
  __typename: 'ScoreHistoryEntry';
1493
1482
  }
1494
- export interface RankHistoryEntry {
1495
- date: Scalars['DateTime'];
1496
- globalRank: (Scalars['Int'] | null);
1497
- countryRank: (Scalars['Int'] | null);
1498
- __typename: 'RankHistoryEntry';
1499
- }
1500
1483
  export interface RankContext {
1501
1484
  globalRank: (Scalars['Int'] | null);
1502
1485
  countryRank: (Scalars['Int'] | null);
@@ -1507,6 +1490,45 @@ export interface RankContext {
1507
1490
  totalAthletes: (Scalars['Int'] | null);
1508
1491
  __typename: 'RankContext';
1509
1492
  }
1493
+ export interface TopMetric {
1494
+ name: Scalars['String'];
1495
+ status: Scalars['String'];
1496
+ __typename: 'TopMetric';
1497
+ }
1498
+ export interface ComponentSummary {
1499
+ name: Scalars['String'];
1500
+ score: Scalars['Float'];
1501
+ maxScore: Scalars['Float'];
1502
+ trend: (Scalars['Float'] | null);
1503
+ trendPeriod: Scalars['String'];
1504
+ activityCount: Scalars['Int'];
1505
+ avgScorePerActivity: (Scalars['Float'] | null);
1506
+ topMetrics: TopMetric[];
1507
+ newMaxActivityIds: (Scalars['String'][] | null);
1508
+ metricMaxes: (Scalars['JSONObject'] | null);
1509
+ __typename: 'ComponentSummary';
1510
+ }
1511
+ export interface AdminAthleteScoreBreakdown {
1512
+ athleteId: Scalars['String'];
1513
+ firstName: (Scalars['String'] | null);
1514
+ lastName: (Scalars['String'] | null);
1515
+ screenName: (Scalars['String'] | null);
1516
+ countryName: (Scalars['String'] | null);
1517
+ mainSportName: (Scalars['String'] | null);
1518
+ summary: (DashboardSummary | null);
1519
+ scoreHistory: ScoreHistoryEntry[];
1520
+ rankContext: (RankContext | null);
1521
+ trainingSummary: (ComponentSummary | null);
1522
+ socialSummary: (ComponentSummary | null);
1523
+ sectionErrors: Scalars['String'][];
1524
+ __typename: 'AdminAthleteScoreBreakdown';
1525
+ }
1526
+ export interface RankHistoryEntry {
1527
+ date: Scalars['DateTime'];
1528
+ globalRank: (Scalars['Int'] | null);
1529
+ countryRank: (Scalars['Int'] | null);
1530
+ __typename: 'RankHistoryEntry';
1531
+ }
1510
1532
  export interface StravaAthleteData {
1511
1533
  id: Scalars['Float'];
1512
1534
  username: (Scalars['String'] | null);
@@ -2194,6 +2216,159 @@ export interface HistoricalScoresPeriod {
2194
2216
  apiScores: (HistoricalScore[] | null);
2195
2217
  __typename: 'HistoricalScoresPeriod';
2196
2218
  }
2219
+ export interface IndexV1Background {
2220
+ enabled: Scalars['Boolean'];
2221
+ changedAt: (Scalars['DateTime'] | null);
2222
+ changedBy: (Scalars['String'] | null);
2223
+ reason: (Scalars['String'] | null);
2224
+ recordCount: Scalars['Int'];
2225
+ athleteCount: Scalars['Int'];
2226
+ firstDay: (Scalars['String'] | null);
2227
+ lastDay: (Scalars['String'] | null);
2228
+ __typename: 'IndexV1Background';
2229
+ }
2230
+ export interface IndexV1RecordDay {
2231
+ day: Scalars['String'];
2232
+ runId: Scalars['String'];
2233
+ tpi: Scalars['Float'];
2234
+ spi: Scalars['Float'];
2235
+ api: Scalars['Float'];
2236
+ composite: Scalars['Float'];
2237
+ hasBreakdown: Scalars['Boolean'];
2238
+ __typename: 'IndexV1RecordDay';
2239
+ }
2240
+ export interface IndexV1TpiMetric {
2241
+ name: Scalars['String'];
2242
+ sum: (Scalars['Float'] | null);
2243
+ count: (Scalars['Float'] | null);
2244
+ average: (Scalars['Float'] | null);
2245
+ max: (Scalars['Float'] | null);
2246
+ __typename: 'IndexV1TpiMetric';
2247
+ }
2248
+ export interface IndexV1TpiSport {
2249
+ sport: Scalars['String'];
2250
+ tpi: Scalars['Float'];
2251
+ activityCount: Scalars['Float'];
2252
+ weight: Scalars['Float'];
2253
+ contribution: Scalars['Float'];
2254
+ lastActivityDate: (Scalars['String'] | null);
2255
+ metrics: IndexV1TpiMetric[];
2256
+ __typename: 'IndexV1TpiSport';
2257
+ }
2258
+ export interface IndexV1TpiBreakdown {
2259
+ method: Scalars['String'];
2260
+ sports: IndexV1TpiSport[];
2261
+ totalActivityCount: Scalars['Float'];
2262
+ rawTpi: Scalars['Float'];
2263
+ tpi: Scalars['Float'];
2264
+ __typename: 'IndexV1TpiBreakdown';
2265
+ }
2266
+ export interface IndexV1SpiPost {
2267
+ timestamp: (Scalars['String'] | null);
2268
+ reach: (Scalars['Float'] | null);
2269
+ likeCount: Scalars['Float'];
2270
+ commentCount: Scalars['Float'];
2271
+ sentimentScore: (Scalars['Float'] | null);
2272
+ decayWeight: Scalars['Float'];
2273
+ hasReach: Scalars['Boolean'];
2274
+ __typename: 'IndexV1SpiPost';
2275
+ }
2276
+ export interface IndexV1SpiBreakdown {
2277
+ method: Scalars['String'];
2278
+ decayLambda: Scalars['Float'];
2279
+ postCount: Scalars['Float'];
2280
+ postsWithReachCount: Scalars['Float'];
2281
+ reachCoverage: (Scalars['Float'] | null);
2282
+ followerCount: (Scalars['Float'] | null);
2283
+ averageSentiment: (Scalars['Float'] | null);
2284
+ decayedAverageReach: (Scalars['Float'] | null);
2285
+ baseReachScore: (Scalars['Float'] | null);
2286
+ activityMultiplier: (Scalars['Float'] | null);
2287
+ consistencyMultiplier: (Scalars['Float'] | null);
2288
+ engagementMultiplier: (Scalars['Float'] | null);
2289
+ sentimentMultiplier: (Scalars['Float'] | null);
2290
+ reachPenalty: (Scalars['Float'] | null);
2291
+ unclampedScore: (Scalars['Float'] | null);
2292
+ nonFiniteGuardApplied: Scalars['Boolean'];
2293
+ spi: Scalars['Float'];
2294
+ posts: IndexV1SpiPost[];
2295
+ __typename: 'IndexV1SpiBreakdown';
2296
+ }
2297
+ export interface IndexV1ApiCompetition {
2298
+ competitionId: (Scalars['String'] | null);
2299
+ eventDate: (Scalars['String'] | null);
2300
+ eventLevel: (Scalars['String'] | null);
2301
+ resultType: (Scalars['String'] | null);
2302
+ position: (Scalars['Float'] | null);
2303
+ totalParticipants: (Scalars['Float'] | null);
2304
+ eligible: Scalars['Boolean'];
2305
+ reason: Scalars['String'];
2306
+ percentile: (Scalars['Float'] | null);
2307
+ placementScore: (Scalars['Float'] | null);
2308
+ eventRating: (Scalars['Float'] | null);
2309
+ timeRating: (Scalars['Float'] | null);
2310
+ points: Scalars['Float'];
2311
+ counted: Scalars['Boolean'];
2312
+ __typename: 'IndexV1ApiCompetition';
2313
+ }
2314
+ export interface IndexV1ApiBreakdown {
2315
+ method: Scalars['String'];
2316
+ topN: Scalars['Float'];
2317
+ confidenceBase: Scalars['Float'];
2318
+ confidenceStep: Scalars['Float'];
2319
+ competitionCount: Scalars['Float'];
2320
+ eligibleCount: Scalars['Float'];
2321
+ countedCount: Scalars['Float'];
2322
+ baseScore: (Scalars['Float'] | null);
2323
+ confidenceMultiplier: (Scalars['Float'] | null);
2324
+ api: Scalars['Float'];
2325
+ competitions: IndexV1ApiCompetition[];
2326
+ __typename: 'IndexV1ApiBreakdown';
2327
+ }
2328
+ export interface IndexV1CompositeBreakdown {
2329
+ method: Scalars['String'];
2330
+ tpi: Scalars['Float'];
2331
+ spi: Scalars['Float'];
2332
+ api: Scalars['Float'];
2333
+ tpiWeight: Scalars['Float'];
2334
+ spiWeight: Scalars['Float'];
2335
+ apiWeight: Scalars['Float'];
2336
+ rawComposite: Scalars['Float'];
2337
+ composite: Scalars['Float'];
2338
+ __typename: 'IndexV1CompositeBreakdown';
2339
+ }
2340
+ export interface IndexV1Breakdown {
2341
+ breakdownVersion: Scalars['Int'];
2342
+ asOf: Scalars['String'];
2343
+ tpi: IndexV1TpiBreakdown;
2344
+ spi: IndexV1SpiBreakdown;
2345
+ api: IndexV1ApiBreakdown;
2346
+ composite: IndexV1CompositeBreakdown;
2347
+ __typename: 'IndexV1Breakdown';
2348
+ }
2349
+ export interface IndexV1Record {
2350
+ athleteId: Scalars['String'];
2351
+ day: Scalars['String'];
2352
+ runId: Scalars['String'];
2353
+ asOf: Scalars['DateTime'];
2354
+ recordedAt: Scalars['DateTime'];
2355
+ formulaVersion: Scalars['String'];
2356
+ source: Scalars['String'];
2357
+ tpi: Scalars['Float'];
2358
+ spi: Scalars['Float'];
2359
+ api: Scalars['Float'];
2360
+ composite: Scalars['Float'];
2361
+ consistent: (Scalars['Boolean'] | null);
2362
+ breakdown: (IndexV1Breakdown | null);
2363
+ __typename: 'IndexV1Record';
2364
+ }
2365
+ export interface IndexV1Export {
2366
+ filename: Scalars['String'];
2367
+ csv: Scalars['String'];
2368
+ rowCount: Scalars['Int'];
2369
+ truncated: Scalars['Boolean'];
2370
+ __typename: 'IndexV1Export';
2371
+ }
2197
2372
  export interface AthleteRatingEntry {
2198
2373
  position: Scalars['Int'];
2199
2374
  athleteId: Scalars['String'];
@@ -2803,6 +2978,18 @@ export interface SponsorUserPreferences {
2803
2978
  preferredLocale: (Scalars['String'] | null);
2804
2979
  __typename: 'SponsorUserPreferences';
2805
2980
  }
2981
+ export interface SportUsage {
2982
+ sportId: Scalars['String'];
2983
+ athletes: Scalars['Int'];
2984
+ events: Scalars['Int'];
2985
+ activities: Scalars['Int'];
2986
+ teams: Scalars['Int'];
2987
+ clubs: Scalars['Int'];
2988
+ other: Scalars['Int'];
2989
+ inUse: Scalars['Boolean'];
2990
+ coreSport: Scalars['Boolean'];
2991
+ __typename: 'SportUsage';
2992
+ }
2806
2993
  export interface StripeObject {
2807
2994
  type: Scalars['String'];
2808
2995
  json: Scalars['JSONObject'];
@@ -3177,6 +3364,7 @@ export interface Query {
3177
3364
  getSports: Sport[];
3178
3365
  getSportsPaginated: PaginatedSports;
3179
3366
  findSportById: Sport;
3367
+ getSportUsage: SportUsage;
3180
3368
  getSportLevels: SportLevel[];
3181
3369
  getPublicSponsorships: Sponsorship[];
3182
3370
  getTenantSponsorships: Sponsorship[];
@@ -3254,6 +3442,8 @@ export interface Query {
3254
3442
  athleteActivityDetail: ActivityDetail;
3255
3443
  athleteComponentSummary: ComponentSummary;
3256
3444
  athleteActivityDates: ActivityDatesResponse;
3445
+ adminAthleteScoreBreakdown: AdminAthleteScoreBreakdown;
3446
+ adminAthleteActivities: ActivitiesResponse;
3257
3447
  socialAggregates: SocialAggregateType[];
3258
3448
  postsWithComparison: PostComparisonResultType;
3259
3449
  myNotifications: NotificationListResponse;
@@ -3302,6 +3492,10 @@ export interface Query {
3302
3492
  getCutoverArchiveCaptures: CutoverArchiveCaptureType[];
3303
3493
  getCutoverArchiveAthletes: PaginatedCutoverArchiveAthletesType;
3304
3494
  getCutoverArchiveAthlete: CutoverArchiveAthleteDetailType;
3495
+ adminIndexV1Background: IndexV1Background;
3496
+ adminAthleteIndexV1Days: IndexV1RecordDay[];
3497
+ adminAthleteIndexV1Record: (IndexV1Record | null);
3498
+ adminIndexV1RecordExport: IndexV1Export;
3305
3499
  __typename: 'Query';
3306
3500
  }
3307
3501
  export interface Mutation {
@@ -3372,6 +3566,7 @@ export interface Mutation {
3372
3566
  declineSponsorAthleteInvitation: Scalars['Boolean'];
3373
3567
  createSport: Sport;
3374
3568
  updateSport: Sport;
3569
+ deleteSport: DeleteSingleValueResponse;
3375
3570
  createSportLevel: SportLevel;
3376
3571
  createSponsorship: Sponsorship;
3377
3572
  createCountry: Country;
@@ -3496,6 +3691,7 @@ export interface Mutation {
3496
3691
  trackUsageEvents: TrackResult;
3497
3692
  requestMyDataExport: DataExportRequest;
3498
3693
  anonymiseCutoverArchiveAthlete: CutoverArchiveAthleteType;
3694
+ setIndexV1Background: IndexV1Background;
3499
3695
  __typename: 'Mutation';
3500
3696
  }
3501
3697
  export interface SortOrderGenqlSelection {
@@ -3795,6 +3991,7 @@ export interface SportGenqlSelection {
3795
3991
  resultType?: boolean | number;
3796
3992
  verified?: boolean | number;
3797
3993
  priority?: boolean | number;
3994
+ active?: boolean | number;
3798
3995
  __typename?: boolean | number;
3799
3996
  __scalar?: boolean | number;
3800
3997
  }
@@ -4511,6 +4708,8 @@ export interface ClubGenqlSelection {
4511
4708
  banner?: AWSS3FileGenqlSelection;
4512
4709
  location?: boolean | number;
4513
4710
  website?: boolean | number;
4711
+ level?: boolean | number;
4712
+ country?: CountryGenqlSelection;
4514
4713
  membershipType?: boolean | number;
4515
4714
  feeStructure?: boolean | number;
4516
4715
  approved?: boolean | number;
@@ -5013,6 +5212,8 @@ export interface ActivityEntryGenqlSelection {
5013
5212
  prMetrics?: boolean | number;
5014
5213
  metricAverages?: boolean | number;
5015
5214
  load?: ActivityLoadGenqlSelection;
5215
+ source?: boolean | number;
5216
+ sportName?: boolean | number;
5016
5217
  __typename?: boolean | number;
5017
5218
  __scalar?: boolean | number;
5018
5219
  }
@@ -5065,26 +5266,6 @@ export interface ActivityDetailGenqlSelection {
5065
5266
  __typename?: boolean | number;
5066
5267
  __scalar?: boolean | number;
5067
5268
  }
5068
- export interface TopMetricGenqlSelection {
5069
- name?: boolean | number;
5070
- status?: boolean | number;
5071
- __typename?: boolean | number;
5072
- __scalar?: boolean | number;
5073
- }
5074
- export interface ComponentSummaryGenqlSelection {
5075
- name?: boolean | number;
5076
- score?: boolean | number;
5077
- maxScore?: boolean | number;
5078
- trend?: boolean | number;
5079
- trendPeriod?: boolean | number;
5080
- activityCount?: boolean | number;
5081
- avgScorePerActivity?: boolean | number;
5082
- topMetrics?: TopMetricGenqlSelection;
5083
- newMaxActivityIds?: boolean | number;
5084
- metricMaxes?: boolean | number;
5085
- __typename?: boolean | number;
5086
- __scalar?: boolean | number;
5087
- }
5088
5269
  export interface ComponentPresenceGenqlSelection {
5089
5270
  status?: boolean | number;
5090
5271
  cause?: boolean | number;
@@ -5109,9 +5290,11 @@ export interface DashboardSummaryGenqlSelection {
5109
5290
  renormalizedSecondary?: boolean | number;
5110
5291
  renormalizedSecondaryBasis?: boolean | number;
5111
5292
  indexStatus?: boolean | number;
5293
+ socialCollectingData?: boolean | number;
5112
5294
  trainingLowConfidence?: boolean | number;
5113
5295
  trainingInactive?: boolean | number;
5114
5296
  trainingCollectingData?: boolean | number;
5297
+ trainingMultisportBasis?: boolean | number;
5115
5298
  trainingHidden?: boolean | number;
5116
5299
  trainingHistoryDays?: boolean | number;
5117
5300
  trainingDisplayFromDay?: boolean | number;
@@ -5130,13 +5313,6 @@ export interface ScoreHistoryEntryGenqlSelection {
5130
5313
  __typename?: boolean | number;
5131
5314
  __scalar?: boolean | number;
5132
5315
  }
5133
- export interface RankHistoryEntryGenqlSelection {
5134
- date?: boolean | number;
5135
- globalRank?: boolean | number;
5136
- countryRank?: boolean | number;
5137
- __typename?: boolean | number;
5138
- __scalar?: boolean | number;
5139
- }
5140
5316
  export interface RankContextGenqlSelection {
5141
5317
  globalRank?: boolean | number;
5142
5318
  countryRank?: boolean | number;
@@ -5148,6 +5324,49 @@ export interface RankContextGenqlSelection {
5148
5324
  __typename?: boolean | number;
5149
5325
  __scalar?: boolean | number;
5150
5326
  }
5327
+ export interface TopMetricGenqlSelection {
5328
+ name?: boolean | number;
5329
+ status?: boolean | number;
5330
+ __typename?: boolean | number;
5331
+ __scalar?: boolean | number;
5332
+ }
5333
+ export interface ComponentSummaryGenqlSelection {
5334
+ name?: boolean | number;
5335
+ score?: boolean | number;
5336
+ maxScore?: boolean | number;
5337
+ trend?: boolean | number;
5338
+ trendPeriod?: boolean | number;
5339
+ activityCount?: boolean | number;
5340
+ avgScorePerActivity?: boolean | number;
5341
+ topMetrics?: TopMetricGenqlSelection;
5342
+ newMaxActivityIds?: boolean | number;
5343
+ metricMaxes?: boolean | number;
5344
+ __typename?: boolean | number;
5345
+ __scalar?: boolean | number;
5346
+ }
5347
+ export interface AdminAthleteScoreBreakdownGenqlSelection {
5348
+ athleteId?: boolean | number;
5349
+ firstName?: boolean | number;
5350
+ lastName?: boolean | number;
5351
+ screenName?: boolean | number;
5352
+ countryName?: boolean | number;
5353
+ mainSportName?: boolean | number;
5354
+ summary?: DashboardSummaryGenqlSelection;
5355
+ scoreHistory?: ScoreHistoryEntryGenqlSelection;
5356
+ rankContext?: RankContextGenqlSelection;
5357
+ trainingSummary?: ComponentSummaryGenqlSelection;
5358
+ socialSummary?: ComponentSummaryGenqlSelection;
5359
+ sectionErrors?: boolean | number;
5360
+ __typename?: boolean | number;
5361
+ __scalar?: boolean | number;
5362
+ }
5363
+ export interface RankHistoryEntryGenqlSelection {
5364
+ date?: boolean | number;
5365
+ globalRank?: boolean | number;
5366
+ countryRank?: boolean | number;
5367
+ __typename?: boolean | number;
5368
+ __scalar?: boolean | number;
5369
+ }
5151
5370
  export interface StravaAthleteDataGenqlSelection {
5152
5371
  id?: boolean | number;
5153
5372
  username?: boolean | number;
@@ -5907,6 +6126,172 @@ export interface HistoricalScoresPeriodGenqlSelection {
5907
6126
  __typename?: boolean | number;
5908
6127
  __scalar?: boolean | number;
5909
6128
  }
6129
+ export interface IndexV1BackgroundGenqlSelection {
6130
+ enabled?: boolean | number;
6131
+ changedAt?: boolean | number;
6132
+ changedBy?: boolean | number;
6133
+ reason?: boolean | number;
6134
+ recordCount?: boolean | number;
6135
+ athleteCount?: boolean | number;
6136
+ firstDay?: boolean | number;
6137
+ lastDay?: boolean | number;
6138
+ __typename?: boolean | number;
6139
+ __scalar?: boolean | number;
6140
+ }
6141
+ export interface IndexV1RecordDayGenqlSelection {
6142
+ day?: boolean | number;
6143
+ runId?: boolean | number;
6144
+ tpi?: boolean | number;
6145
+ spi?: boolean | number;
6146
+ api?: boolean | number;
6147
+ composite?: boolean | number;
6148
+ hasBreakdown?: boolean | number;
6149
+ __typename?: boolean | number;
6150
+ __scalar?: boolean | number;
6151
+ }
6152
+ export interface IndexV1TpiMetricGenqlSelection {
6153
+ name?: boolean | number;
6154
+ sum?: boolean | number;
6155
+ count?: boolean | number;
6156
+ average?: boolean | number;
6157
+ max?: boolean | number;
6158
+ __typename?: boolean | number;
6159
+ __scalar?: boolean | number;
6160
+ }
6161
+ export interface IndexV1TpiSportGenqlSelection {
6162
+ sport?: boolean | number;
6163
+ tpi?: boolean | number;
6164
+ activityCount?: boolean | number;
6165
+ weight?: boolean | number;
6166
+ contribution?: boolean | number;
6167
+ lastActivityDate?: boolean | number;
6168
+ metrics?: IndexV1TpiMetricGenqlSelection;
6169
+ __typename?: boolean | number;
6170
+ __scalar?: boolean | number;
6171
+ }
6172
+ export interface IndexV1TpiBreakdownGenqlSelection {
6173
+ method?: boolean | number;
6174
+ sports?: IndexV1TpiSportGenqlSelection;
6175
+ totalActivityCount?: boolean | number;
6176
+ rawTpi?: boolean | number;
6177
+ tpi?: boolean | number;
6178
+ __typename?: boolean | number;
6179
+ __scalar?: boolean | number;
6180
+ }
6181
+ export interface IndexV1SpiPostGenqlSelection {
6182
+ timestamp?: boolean | number;
6183
+ reach?: boolean | number;
6184
+ likeCount?: boolean | number;
6185
+ commentCount?: boolean | number;
6186
+ sentimentScore?: boolean | number;
6187
+ decayWeight?: boolean | number;
6188
+ hasReach?: boolean | number;
6189
+ __typename?: boolean | number;
6190
+ __scalar?: boolean | number;
6191
+ }
6192
+ export interface IndexV1SpiBreakdownGenqlSelection {
6193
+ method?: boolean | number;
6194
+ decayLambda?: boolean | number;
6195
+ postCount?: boolean | number;
6196
+ postsWithReachCount?: boolean | number;
6197
+ reachCoverage?: boolean | number;
6198
+ followerCount?: boolean | number;
6199
+ averageSentiment?: boolean | number;
6200
+ decayedAverageReach?: boolean | number;
6201
+ baseReachScore?: boolean | number;
6202
+ activityMultiplier?: boolean | number;
6203
+ consistencyMultiplier?: boolean | number;
6204
+ engagementMultiplier?: boolean | number;
6205
+ sentimentMultiplier?: boolean | number;
6206
+ reachPenalty?: boolean | number;
6207
+ unclampedScore?: boolean | number;
6208
+ nonFiniteGuardApplied?: boolean | number;
6209
+ spi?: boolean | number;
6210
+ posts?: IndexV1SpiPostGenqlSelection;
6211
+ __typename?: boolean | number;
6212
+ __scalar?: boolean | number;
6213
+ }
6214
+ export interface IndexV1ApiCompetitionGenqlSelection {
6215
+ competitionId?: boolean | number;
6216
+ eventDate?: boolean | number;
6217
+ eventLevel?: boolean | number;
6218
+ resultType?: boolean | number;
6219
+ position?: boolean | number;
6220
+ totalParticipants?: boolean | number;
6221
+ eligible?: boolean | number;
6222
+ reason?: boolean | number;
6223
+ percentile?: boolean | number;
6224
+ placementScore?: boolean | number;
6225
+ eventRating?: boolean | number;
6226
+ timeRating?: boolean | number;
6227
+ points?: boolean | number;
6228
+ counted?: boolean | number;
6229
+ __typename?: boolean | number;
6230
+ __scalar?: boolean | number;
6231
+ }
6232
+ export interface IndexV1ApiBreakdownGenqlSelection {
6233
+ method?: boolean | number;
6234
+ topN?: boolean | number;
6235
+ confidenceBase?: boolean | number;
6236
+ confidenceStep?: boolean | number;
6237
+ competitionCount?: boolean | number;
6238
+ eligibleCount?: boolean | number;
6239
+ countedCount?: boolean | number;
6240
+ baseScore?: boolean | number;
6241
+ confidenceMultiplier?: boolean | number;
6242
+ api?: boolean | number;
6243
+ competitions?: IndexV1ApiCompetitionGenqlSelection;
6244
+ __typename?: boolean | number;
6245
+ __scalar?: boolean | number;
6246
+ }
6247
+ export interface IndexV1CompositeBreakdownGenqlSelection {
6248
+ method?: boolean | number;
6249
+ tpi?: boolean | number;
6250
+ spi?: boolean | number;
6251
+ api?: boolean | number;
6252
+ tpiWeight?: boolean | number;
6253
+ spiWeight?: boolean | number;
6254
+ apiWeight?: boolean | number;
6255
+ rawComposite?: boolean | number;
6256
+ composite?: boolean | number;
6257
+ __typename?: boolean | number;
6258
+ __scalar?: boolean | number;
6259
+ }
6260
+ export interface IndexV1BreakdownGenqlSelection {
6261
+ breakdownVersion?: boolean | number;
6262
+ asOf?: boolean | number;
6263
+ tpi?: IndexV1TpiBreakdownGenqlSelection;
6264
+ spi?: IndexV1SpiBreakdownGenqlSelection;
6265
+ api?: IndexV1ApiBreakdownGenqlSelection;
6266
+ composite?: IndexV1CompositeBreakdownGenqlSelection;
6267
+ __typename?: boolean | number;
6268
+ __scalar?: boolean | number;
6269
+ }
6270
+ export interface IndexV1RecordGenqlSelection {
6271
+ athleteId?: boolean | number;
6272
+ day?: boolean | number;
6273
+ runId?: boolean | number;
6274
+ asOf?: boolean | number;
6275
+ recordedAt?: boolean | number;
6276
+ formulaVersion?: boolean | number;
6277
+ source?: boolean | number;
6278
+ tpi?: boolean | number;
6279
+ spi?: boolean | number;
6280
+ api?: boolean | number;
6281
+ composite?: boolean | number;
6282
+ consistent?: boolean | number;
6283
+ breakdown?: IndexV1BreakdownGenqlSelection;
6284
+ __typename?: boolean | number;
6285
+ __scalar?: boolean | number;
6286
+ }
6287
+ export interface IndexV1ExportGenqlSelection {
6288
+ filename?: boolean | number;
6289
+ csv?: boolean | number;
6290
+ rowCount?: boolean | number;
6291
+ truncated?: boolean | number;
6292
+ __typename?: boolean | number;
6293
+ __scalar?: boolean | number;
6294
+ }
5910
6295
  export interface AthleteRatingEntryGenqlSelection {
5911
6296
  position?: boolean | number;
5912
6297
  athleteId?: boolean | number;
@@ -6568,6 +6953,19 @@ export interface SponsorUserPreferencesGenqlSelection {
6568
6953
  __typename?: boolean | number;
6569
6954
  __scalar?: boolean | number;
6570
6955
  }
6956
+ export interface SportUsageGenqlSelection {
6957
+ sportId?: boolean | number;
6958
+ athletes?: boolean | number;
6959
+ events?: boolean | number;
6960
+ activities?: boolean | number;
6961
+ teams?: boolean | number;
6962
+ clubs?: boolean | number;
6963
+ other?: boolean | number;
6964
+ inUse?: boolean | number;
6965
+ coreSport?: boolean | number;
6966
+ __typename?: boolean | number;
6967
+ __scalar?: boolean | number;
6968
+ }
6571
6969
  export interface StripeObjectGenqlSelection {
6572
6970
  type?: boolean | number;
6573
6971
  json?: boolean | number;
@@ -7113,6 +7511,7 @@ export interface AthleteFilterDto {
7113
7511
  currentCampaign?: (FundCampaignFilterDto | null);
7114
7512
  sports?: (Scalars['String'][] | null);
7115
7513
  sportLevels?: (Scalars['String'][] | null);
7514
+ athleteStatuses?: (Scalars['String'][] | null);
7116
7515
  mainSportOnly?: (Scalars['Boolean'] | null);
7117
7516
  gender?: (CompetitionGender | null);
7118
7517
  minAge?: (Scalars['Float'] | null);
@@ -7266,6 +7665,8 @@ export interface CreateClubInput {
7266
7665
  visibility?: (Scalars['String'] | null);
7267
7666
  location?: (Scalars['String'] | null);
7268
7667
  website?: (Scalars['String'] | null);
7668
+ level?: (Scalars['String'] | null);
7669
+ countryId?: (Scalars['String'] | null);
7269
7670
  allowMemberCampaigns?: (Scalars['Boolean'] | null);
7270
7671
  accentColor?: (Scalars['String'] | null);
7271
7672
  }
@@ -7277,6 +7678,8 @@ export interface UpdateClubInput {
7277
7678
  visibility?: (Scalars['String'] | null);
7278
7679
  location?: (Scalars['String'] | null);
7279
7680
  website?: (Scalars['String'] | null);
7681
+ level?: (Scalars['String'] | null);
7682
+ countryId?: (Scalars['String'] | null);
7280
7683
  allowMemberCampaigns?: (Scalars['Boolean'] | null);
7281
7684
  accentColor?: (Scalars['String'] | null);
7282
7685
  clubId: Scalars['String'];
@@ -7621,7 +8024,7 @@ export interface CreateSportLevelDto {
7621
8024
  translations?: (CreateSportLevelTranslationDto[] | null);
7622
8025
  }
7623
8026
  export interface CreateSportDto {
7624
- _id: Scalars['String'];
8027
+ _id?: (Scalars['String'] | null);
7625
8028
  name: Scalars['String'];
7626
8029
  priority?: (Scalars['Float'] | null);
7627
8030
  resultType?: (Scalars['String'] | null);
@@ -7864,6 +8267,24 @@ export interface GetTransactionDetailsDto {
7864
8267
  vtxSessionId?: (Scalars['String'] | null);
7865
8268
  stripeSessionId?: (Scalars['String'] | null);
7866
8269
  }
8270
+ export interface SetIndexV1BackgroundDto {
8271
+ enabled: Scalars['Boolean'];
8272
+ reason: Scalars['String'];
8273
+ }
8274
+ export interface IndexV1ExportInputDto {
8275
+ fromDay?: (Scalars['String'] | null);
8276
+ toDay?: (Scalars['String'] | null);
8277
+ athleteId?: (Scalars['String'] | null);
8278
+ includeLiveHistory?: (Scalars['Boolean'] | null);
8279
+ }
8280
+ export interface AdminAthleteIndexV1DaysDto {
8281
+ athleteId: Scalars['String'];
8282
+ limit?: (Scalars['Int'] | null);
8283
+ }
8284
+ export interface AdminAthleteIndexV1RecordDto {
8285
+ athleteId: Scalars['String'];
8286
+ day?: (Scalars['String'] | null);
8287
+ }
7867
8288
  export interface IngestEventDto {
7868
8289
  name: Scalars['String'];
7869
8290
  date: Scalars['DateTime'];
@@ -7987,7 +8408,7 @@ export interface RegisterAthleteDto {
7987
8408
  team?: (Scalars['String'] | null);
7988
8409
  gender: Scalars['String'];
7989
8410
  mainSport: Scalars['String'];
7990
- mainSportLevel: Scalars['String'];
8411
+ mainSportLevel?: (Scalars['String'] | null);
7991
8412
  athleteStatus?: (Scalars['String'] | null);
7992
8413
  profilePicture?: (AWSS3UploadedFileDto | null);
7993
8414
  cardPicture?: (AWSS3UploadedFileDto | null);
@@ -8078,6 +8499,7 @@ export interface SportQueryDto {
8078
8499
  search?: (Scalars['String'] | null);
8079
8500
  resultType?: (Scalars['String'] | null);
8080
8501
  verified?: (Scalars['String'] | null);
8502
+ active?: (Scalars['String'] | null);
8081
8503
  sortField?: (Scalars['String'] | null);
8082
8504
  sortOrder?: (Scalars['String'] | null);
8083
8505
  }
@@ -8180,7 +8602,10 @@ export interface UpdateSportEventDto {
8180
8602
  }
8181
8603
  export interface UpdateSportDto {
8182
8604
  _id: Scalars['String'];
8183
- name: Scalars['String'];
8605
+ name?: (Scalars['String'] | null);
8606
+ priority?: (Scalars['Int'] | null);
8607
+ resultType?: (Scalars['String'] | null);
8608
+ active?: (Scalars['Boolean'] | null);
8184
8609
  }
8185
8610
  export interface UpdateUserSuspendedStatusDto {
8186
8611
  userId: Scalars['String'];
@@ -8458,6 +8883,11 @@ export interface QueryGenqlSelection {
8458
8883
  sportId: Scalars['String'];
8459
8884
  };
8460
8885
  });
8886
+ getSportUsage?: (SportUsageGenqlSelection & {
8887
+ __args: {
8888
+ sportId: Scalars['String'];
8889
+ };
8890
+ });
8461
8891
  getSportLevels?: SportLevelGenqlSelection;
8462
8892
  getPublicSponsorships?: SponsorshipGenqlSelection;
8463
8893
  getTenantSponsorships?: SponsorshipGenqlSelection;
@@ -8753,6 +9183,17 @@ export interface QueryGenqlSelection {
8753
9183
  input: ActivityDatesQueryDto;
8754
9184
  };
8755
9185
  });
9186
+ adminAthleteScoreBreakdown?: (AdminAthleteScoreBreakdownGenqlSelection & {
9187
+ __args: {
9188
+ athleteId: Scalars['String'];
9189
+ historyRange?: (TimeRange | null);
9190
+ };
9191
+ });
9192
+ adminAthleteActivities?: (ActivitiesResponseGenqlSelection & {
9193
+ __args: {
9194
+ input: ActivitiesQueryDto;
9195
+ };
9196
+ });
8756
9197
  socialAggregates?: (SocialAggregateTypeGenqlSelection & {
8757
9198
  __args: {
8758
9199
  athleteId: Scalars['ID'];
@@ -8948,6 +9389,22 @@ export interface QueryGenqlSelection {
8948
9389
  input: CutoverArchiveAthleteRefDto;
8949
9390
  };
8950
9391
  });
9392
+ adminIndexV1Background?: IndexV1BackgroundGenqlSelection;
9393
+ adminAthleteIndexV1Days?: (IndexV1RecordDayGenqlSelection & {
9394
+ __args: {
9395
+ input: AdminAthleteIndexV1DaysDto;
9396
+ };
9397
+ });
9398
+ adminAthleteIndexV1Record?: (IndexV1RecordGenqlSelection & {
9399
+ __args: {
9400
+ input: AdminAthleteIndexV1RecordDto;
9401
+ };
9402
+ });
9403
+ adminIndexV1RecordExport?: (IndexV1ExportGenqlSelection & {
9404
+ __args?: {
9405
+ input?: (IndexV1ExportInputDto | null);
9406
+ };
9407
+ });
8951
9408
  __typename?: boolean | number;
8952
9409
  __scalar?: boolean | number;
8953
9410
  }
@@ -9288,6 +9745,11 @@ export interface MutationGenqlSelection {
9288
9745
  input: UpdateSportDto;
9289
9746
  };
9290
9747
  });
9748
+ deleteSport?: (DeleteSingleValueResponseGenqlSelection & {
9749
+ __args: {
9750
+ sportId: Scalars['String'];
9751
+ };
9752
+ });
9291
9753
  createSportLevel?: (SportLevelGenqlSelection & {
9292
9754
  __args: {
9293
9755
  input: CreateSportLevelDto;
@@ -9915,6 +10377,11 @@ export interface MutationGenqlSelection {
9915
10377
  input: AnonymiseCutoverArchiveAthleteDto;
9916
10378
  };
9917
10379
  });
10380
+ setIndexV1Background?: (IndexV1BackgroundGenqlSelection & {
10381
+ __args: {
10382
+ input: SetIndexV1BackgroundDto;
10383
+ };
10384
+ });
9918
10385
  __typename?: boolean | number;
9919
10386
  __scalar?: boolean | number;
9920
10387
  }
@@ -10384,12 +10851,6 @@ export declare const isScoreInfo: (obj?: {
10384
10851
  export declare const isActivityDetail: (obj?: {
10385
10852
  __typename?: any;
10386
10853
  } | null) => obj is ActivityDetail;
10387
- export declare const isTopMetric: (obj?: {
10388
- __typename?: any;
10389
- } | null) => obj is TopMetric;
10390
- export declare const isComponentSummary: (obj?: {
10391
- __typename?: any;
10392
- } | null) => obj is ComponentSummary;
10393
10854
  export declare const isComponentPresence: (obj?: {
10394
10855
  __typename?: any;
10395
10856
  } | null) => obj is ComponentPresence;
@@ -10402,12 +10863,21 @@ export declare const isDashboardSummary: (obj?: {
10402
10863
  export declare const isScoreHistoryEntry: (obj?: {
10403
10864
  __typename?: any;
10404
10865
  } | null) => obj is ScoreHistoryEntry;
10405
- export declare const isRankHistoryEntry: (obj?: {
10406
- __typename?: any;
10407
- } | null) => obj is RankHistoryEntry;
10408
10866
  export declare const isRankContext: (obj?: {
10409
10867
  __typename?: any;
10410
10868
  } | null) => obj is RankContext;
10869
+ export declare const isTopMetric: (obj?: {
10870
+ __typename?: any;
10871
+ } | null) => obj is TopMetric;
10872
+ export declare const isComponentSummary: (obj?: {
10873
+ __typename?: any;
10874
+ } | null) => obj is ComponentSummary;
10875
+ export declare const isAdminAthleteScoreBreakdown: (obj?: {
10876
+ __typename?: any;
10877
+ } | null) => obj is AdminAthleteScoreBreakdown;
10878
+ export declare const isRankHistoryEntry: (obj?: {
10879
+ __typename?: any;
10880
+ } | null) => obj is RankHistoryEntry;
10411
10881
  export declare const isStravaAthleteData: (obj?: {
10412
10882
  __typename?: any;
10413
10883
  } | null) => obj is StravaAthleteData;
@@ -10636,6 +11106,45 @@ export declare const isHealthKitSubmitResult: (obj?: {
10636
11106
  export declare const isHistoricalScoresPeriod: (obj?: {
10637
11107
  __typename?: any;
10638
11108
  } | null) => obj is HistoricalScoresPeriod;
11109
+ export declare const isIndexV1Background: (obj?: {
11110
+ __typename?: any;
11111
+ } | null) => obj is IndexV1Background;
11112
+ export declare const isIndexV1RecordDay: (obj?: {
11113
+ __typename?: any;
11114
+ } | null) => obj is IndexV1RecordDay;
11115
+ export declare const isIndexV1TpiMetric: (obj?: {
11116
+ __typename?: any;
11117
+ } | null) => obj is IndexV1TpiMetric;
11118
+ export declare const isIndexV1TpiSport: (obj?: {
11119
+ __typename?: any;
11120
+ } | null) => obj is IndexV1TpiSport;
11121
+ export declare const isIndexV1TpiBreakdown: (obj?: {
11122
+ __typename?: any;
11123
+ } | null) => obj is IndexV1TpiBreakdown;
11124
+ export declare const isIndexV1SpiPost: (obj?: {
11125
+ __typename?: any;
11126
+ } | null) => obj is IndexV1SpiPost;
11127
+ export declare const isIndexV1SpiBreakdown: (obj?: {
11128
+ __typename?: any;
11129
+ } | null) => obj is IndexV1SpiBreakdown;
11130
+ export declare const isIndexV1ApiCompetition: (obj?: {
11131
+ __typename?: any;
11132
+ } | null) => obj is IndexV1ApiCompetition;
11133
+ export declare const isIndexV1ApiBreakdown: (obj?: {
11134
+ __typename?: any;
11135
+ } | null) => obj is IndexV1ApiBreakdown;
11136
+ export declare const isIndexV1CompositeBreakdown: (obj?: {
11137
+ __typename?: any;
11138
+ } | null) => obj is IndexV1CompositeBreakdown;
11139
+ export declare const isIndexV1Breakdown: (obj?: {
11140
+ __typename?: any;
11141
+ } | null) => obj is IndexV1Breakdown;
11142
+ export declare const isIndexV1Record: (obj?: {
11143
+ __typename?: any;
11144
+ } | null) => obj is IndexV1Record;
11145
+ export declare const isIndexV1Export: (obj?: {
11146
+ __typename?: any;
11147
+ } | null) => obj is IndexV1Export;
10639
11148
  export declare const isAthleteRatingEntry: (obj?: {
10640
11149
  __typename?: any;
10641
11150
  } | null) => obj is AthleteRatingEntry;
@@ -10801,6 +11310,9 @@ export declare const isSponsorOnboardingData: (obj?: {
10801
11310
  export declare const isSponsorUserPreferences: (obj?: {
10802
11311
  __typename?: any;
10803
11312
  } | null) => obj is SponsorUserPreferences;
11313
+ export declare const isSportUsage: (obj?: {
11314
+ __typename?: any;
11315
+ } | null) => obj is SportUsage;
10804
11316
  export declare const isStripeObject: (obj?: {
10805
11317
  __typename?: any;
10806
11318
  } | null) => obj is StripeObject;