@vertikalx/vtx-backend-client 3.5.5-dev-ven.21 → 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.
- package/dist/package.json +1 -1
- package/dist/src/api/domains/generated/admin.api.js +15 -0
- package/dist/src/api/domains/generated/admin.api.js.map +1 -1
- package/dist/src/api/domains/generated/vtx-base-api.augment.d.ts +6 -1
- package/dist/src/client/schema.d.ts +416 -1
- package/dist/src/client/schema.js +95 -4
- package/dist/src/client/schema.js.map +1 -1
- package/dist/src/client/types.d.ts +197 -0
- package/dist/src/client/types.js +1105 -583
- package/dist/src/client/types.js.map +1 -1
- package/dist/src/generated/graphql.d.ts +422 -1
- package/dist/src/generated/graphql.js +204 -9
- package/dist/src/generated/graphql.js.map +1 -1
- package/package.json +1 -1
|
@@ -226,6 +226,14 @@ export type AdminAthleteExtras = {
|
|
|
226
226
|
vtxScore?: Maybe<Scalars['Float']['output']>;
|
|
227
227
|
vtxScoreTimestamp?: Maybe<Scalars['DateTime']['output']>;
|
|
228
228
|
};
|
|
229
|
+
export type AdminAthleteIndexV1DaysDto = {
|
|
230
|
+
athleteId: Scalars['String']['input'];
|
|
231
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
232
|
+
};
|
|
233
|
+
export type AdminAthleteIndexV1RecordDto = {
|
|
234
|
+
athleteId: Scalars['String']['input'];
|
|
235
|
+
day?: InputMaybe<Scalars['String']['input']>;
|
|
236
|
+
};
|
|
229
237
|
export type AdminAthleteScoreBreakdown = {
|
|
230
238
|
athleteId: Scalars['String']['output'];
|
|
231
239
|
countryName?: Maybe<Scalars['String']['output']>;
|
|
@@ -621,6 +629,7 @@ export type AthleteCriteriaDto = {
|
|
|
621
629
|
qualificationsBag?: InputMaybe<QualificationsBagDto>;
|
|
622
630
|
};
|
|
623
631
|
export type AthleteFilterDto = {
|
|
632
|
+
athleteStatuses?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
624
633
|
cities?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
625
634
|
countries?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
626
635
|
currentCampaign?: InputMaybe<FundCampaignFilterDto>;
|
|
@@ -1054,9 +1063,11 @@ export type Club = {
|
|
|
1054
1063
|
allowMemberCampaigns: Scalars['Boolean']['output'];
|
|
1055
1064
|
approved?: Maybe<Scalars['Boolean']['output']>;
|
|
1056
1065
|
banner?: Maybe<Awss3File>;
|
|
1066
|
+
country?: Maybe<Country>;
|
|
1057
1067
|
description?: Maybe<Scalars['String']['output']>;
|
|
1058
1068
|
feeStructure?: Maybe<Scalars['JSON']['output']>;
|
|
1059
1069
|
fundingCampaigns?: Maybe<Array<FundRaisingCampaign>>;
|
|
1070
|
+
level?: Maybe<Scalars['String']['output']>;
|
|
1060
1071
|
location?: Maybe<Scalars['String']['output']>;
|
|
1061
1072
|
logo?: Maybe<Awss3File>;
|
|
1062
1073
|
membershipType: Scalars['String']['output'];
|
|
@@ -1347,8 +1358,10 @@ export type CreateCityDto = {
|
|
|
1347
1358
|
export type CreateClubInput = {
|
|
1348
1359
|
accentColor?: InputMaybe<Scalars['String']['input']>;
|
|
1349
1360
|
allowMemberCampaigns?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1361
|
+
countryId?: InputMaybe<Scalars['String']['input']>;
|
|
1350
1362
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
1351
1363
|
feeStructure?: InputMaybe<Scalars['JSON']['input']>;
|
|
1364
|
+
level?: InputMaybe<Scalars['String']['input']>;
|
|
1352
1365
|
location?: InputMaybe<Scalars['String']['input']>;
|
|
1353
1366
|
membershipType?: InputMaybe<Scalars['String']['input']>;
|
|
1354
1367
|
name: Scalars['String']['input'];
|
|
@@ -1677,6 +1690,7 @@ export type DashboardSummary = {
|
|
|
1677
1690
|
presence?: Maybe<ScorePresence>;
|
|
1678
1691
|
renormalizedSecondary?: Maybe<Scalars['Float']['output']>;
|
|
1679
1692
|
renormalizedSecondaryBasis?: Maybe<Scalars['String']['output']>;
|
|
1693
|
+
socialCollectingData?: Maybe<Scalars['Boolean']['output']>;
|
|
1680
1694
|
socialScore: Scalars['Float']['output'];
|
|
1681
1695
|
trainingCollectingData?: Maybe<Scalars['Boolean']['output']>;
|
|
1682
1696
|
trainingDisplayFromDay?: Maybe<Scalars['Int']['output']>;
|
|
@@ -1684,6 +1698,7 @@ export type DashboardSummary = {
|
|
|
1684
1698
|
trainingHistoryDays?: Maybe<Scalars['Int']['output']>;
|
|
1685
1699
|
trainingInactive?: Maybe<Scalars['Boolean']['output']>;
|
|
1686
1700
|
trainingLowConfidence?: Maybe<Scalars['Boolean']['output']>;
|
|
1701
|
+
trainingMultisportBasis?: Maybe<Scalars['String']['output']>;
|
|
1687
1702
|
trainingScore: Scalars['Float']['output'];
|
|
1688
1703
|
vtxScore: Scalars['Float']['output'];
|
|
1689
1704
|
};
|
|
@@ -2300,6 +2315,152 @@ export type HttpRequestField = {
|
|
|
2300
2315
|
key: Scalars['String']['output'];
|
|
2301
2316
|
value: Scalars['String']['output'];
|
|
2302
2317
|
};
|
|
2318
|
+
export type IndexV1ApiBreakdown = {
|
|
2319
|
+
api: Scalars['Float']['output'];
|
|
2320
|
+
baseScore?: Maybe<Scalars['Float']['output']>;
|
|
2321
|
+
competitionCount: Scalars['Float']['output'];
|
|
2322
|
+
competitions: Array<IndexV1ApiCompetition>;
|
|
2323
|
+
confidenceBase: Scalars['Float']['output'];
|
|
2324
|
+
confidenceMultiplier?: Maybe<Scalars['Float']['output']>;
|
|
2325
|
+
confidenceStep: Scalars['Float']['output'];
|
|
2326
|
+
countedCount: Scalars['Float']['output'];
|
|
2327
|
+
eligibleCount: Scalars['Float']['output'];
|
|
2328
|
+
method: Scalars['String']['output'];
|
|
2329
|
+
topN: Scalars['Float']['output'];
|
|
2330
|
+
};
|
|
2331
|
+
export type IndexV1ApiCompetition = {
|
|
2332
|
+
competitionId?: Maybe<Scalars['String']['output']>;
|
|
2333
|
+
counted: Scalars['Boolean']['output'];
|
|
2334
|
+
eligible: Scalars['Boolean']['output'];
|
|
2335
|
+
eventDate?: Maybe<Scalars['String']['output']>;
|
|
2336
|
+
eventLevel?: Maybe<Scalars['String']['output']>;
|
|
2337
|
+
eventRating?: Maybe<Scalars['Float']['output']>;
|
|
2338
|
+
percentile?: Maybe<Scalars['Float']['output']>;
|
|
2339
|
+
placementScore?: Maybe<Scalars['Float']['output']>;
|
|
2340
|
+
points: Scalars['Float']['output'];
|
|
2341
|
+
position?: Maybe<Scalars['Float']['output']>;
|
|
2342
|
+
reason: Scalars['String']['output'];
|
|
2343
|
+
resultType?: Maybe<Scalars['String']['output']>;
|
|
2344
|
+
timeRating?: Maybe<Scalars['Float']['output']>;
|
|
2345
|
+
totalParticipants?: Maybe<Scalars['Float']['output']>;
|
|
2346
|
+
};
|
|
2347
|
+
export type IndexV1Background = {
|
|
2348
|
+
athleteCount: Scalars['Int']['output'];
|
|
2349
|
+
changedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
2350
|
+
changedBy?: Maybe<Scalars['String']['output']>;
|
|
2351
|
+
enabled: Scalars['Boolean']['output'];
|
|
2352
|
+
firstDay?: Maybe<Scalars['String']['output']>;
|
|
2353
|
+
lastDay?: Maybe<Scalars['String']['output']>;
|
|
2354
|
+
reason?: Maybe<Scalars['String']['output']>;
|
|
2355
|
+
recordCount: Scalars['Int']['output'];
|
|
2356
|
+
};
|
|
2357
|
+
export type IndexV1Breakdown = {
|
|
2358
|
+
api: IndexV1ApiBreakdown;
|
|
2359
|
+
asOf: Scalars['String']['output'];
|
|
2360
|
+
breakdownVersion: Scalars['Int']['output'];
|
|
2361
|
+
composite: IndexV1CompositeBreakdown;
|
|
2362
|
+
spi: IndexV1SpiBreakdown;
|
|
2363
|
+
tpi: IndexV1TpiBreakdown;
|
|
2364
|
+
};
|
|
2365
|
+
export type IndexV1CompositeBreakdown = {
|
|
2366
|
+
api: Scalars['Float']['output'];
|
|
2367
|
+
apiWeight: Scalars['Float']['output'];
|
|
2368
|
+
composite: Scalars['Float']['output'];
|
|
2369
|
+
method: Scalars['String']['output'];
|
|
2370
|
+
rawComposite: Scalars['Float']['output'];
|
|
2371
|
+
spi: Scalars['Float']['output'];
|
|
2372
|
+
spiWeight: Scalars['Float']['output'];
|
|
2373
|
+
tpi: Scalars['Float']['output'];
|
|
2374
|
+
tpiWeight: Scalars['Float']['output'];
|
|
2375
|
+
};
|
|
2376
|
+
export type IndexV1Export = {
|
|
2377
|
+
csv: Scalars['String']['output'];
|
|
2378
|
+
filename: Scalars['String']['output'];
|
|
2379
|
+
rowCount: Scalars['Int']['output'];
|
|
2380
|
+
truncated: Scalars['Boolean']['output'];
|
|
2381
|
+
};
|
|
2382
|
+
export type IndexV1ExportInputDto = {
|
|
2383
|
+
athleteId?: InputMaybe<Scalars['String']['input']>;
|
|
2384
|
+
fromDay?: InputMaybe<Scalars['String']['input']>;
|
|
2385
|
+
includeLiveHistory?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2386
|
+
toDay?: InputMaybe<Scalars['String']['input']>;
|
|
2387
|
+
};
|
|
2388
|
+
export type IndexV1Record = {
|
|
2389
|
+
api: Scalars['Float']['output'];
|
|
2390
|
+
asOf: Scalars['DateTime']['output'];
|
|
2391
|
+
athleteId: Scalars['String']['output'];
|
|
2392
|
+
breakdown?: Maybe<IndexV1Breakdown>;
|
|
2393
|
+
composite: Scalars['Float']['output'];
|
|
2394
|
+
consistent?: Maybe<Scalars['Boolean']['output']>;
|
|
2395
|
+
day: Scalars['String']['output'];
|
|
2396
|
+
formulaVersion: Scalars['String']['output'];
|
|
2397
|
+
recordedAt: Scalars['DateTime']['output'];
|
|
2398
|
+
runId: Scalars['String']['output'];
|
|
2399
|
+
source: Scalars['String']['output'];
|
|
2400
|
+
spi: Scalars['Float']['output'];
|
|
2401
|
+
tpi: Scalars['Float']['output'];
|
|
2402
|
+
};
|
|
2403
|
+
export type IndexV1RecordDay = {
|
|
2404
|
+
api: Scalars['Float']['output'];
|
|
2405
|
+
composite: Scalars['Float']['output'];
|
|
2406
|
+
day: Scalars['String']['output'];
|
|
2407
|
+
hasBreakdown: Scalars['Boolean']['output'];
|
|
2408
|
+
runId: Scalars['String']['output'];
|
|
2409
|
+
spi: Scalars['Float']['output'];
|
|
2410
|
+
tpi: Scalars['Float']['output'];
|
|
2411
|
+
};
|
|
2412
|
+
export type IndexV1SpiBreakdown = {
|
|
2413
|
+
activityMultiplier?: Maybe<Scalars['Float']['output']>;
|
|
2414
|
+
averageSentiment?: Maybe<Scalars['Float']['output']>;
|
|
2415
|
+
baseReachScore?: Maybe<Scalars['Float']['output']>;
|
|
2416
|
+
consistencyMultiplier?: Maybe<Scalars['Float']['output']>;
|
|
2417
|
+
decayLambda: Scalars['Float']['output'];
|
|
2418
|
+
decayedAverageReach?: Maybe<Scalars['Float']['output']>;
|
|
2419
|
+
engagementMultiplier?: Maybe<Scalars['Float']['output']>;
|
|
2420
|
+
followerCount?: Maybe<Scalars['Float']['output']>;
|
|
2421
|
+
method: Scalars['String']['output'];
|
|
2422
|
+
nonFiniteGuardApplied: Scalars['Boolean']['output'];
|
|
2423
|
+
postCount: Scalars['Float']['output'];
|
|
2424
|
+
posts: Array<IndexV1SpiPost>;
|
|
2425
|
+
postsWithReachCount: Scalars['Float']['output'];
|
|
2426
|
+
reachCoverage?: Maybe<Scalars['Float']['output']>;
|
|
2427
|
+
reachPenalty?: Maybe<Scalars['Float']['output']>;
|
|
2428
|
+
sentimentMultiplier?: Maybe<Scalars['Float']['output']>;
|
|
2429
|
+
spi: Scalars['Float']['output'];
|
|
2430
|
+
unclampedScore?: Maybe<Scalars['Float']['output']>;
|
|
2431
|
+
};
|
|
2432
|
+
export type IndexV1SpiPost = {
|
|
2433
|
+
commentCount: Scalars['Float']['output'];
|
|
2434
|
+
decayWeight: Scalars['Float']['output'];
|
|
2435
|
+
hasReach: Scalars['Boolean']['output'];
|
|
2436
|
+
likeCount: Scalars['Float']['output'];
|
|
2437
|
+
reach?: Maybe<Scalars['Float']['output']>;
|
|
2438
|
+
sentimentScore?: Maybe<Scalars['Float']['output']>;
|
|
2439
|
+
timestamp?: Maybe<Scalars['String']['output']>;
|
|
2440
|
+
};
|
|
2441
|
+
export type IndexV1TpiBreakdown = {
|
|
2442
|
+
method: Scalars['String']['output'];
|
|
2443
|
+
rawTpi: Scalars['Float']['output'];
|
|
2444
|
+
sports: Array<IndexV1TpiSport>;
|
|
2445
|
+
totalActivityCount: Scalars['Float']['output'];
|
|
2446
|
+
tpi: Scalars['Float']['output'];
|
|
2447
|
+
};
|
|
2448
|
+
export type IndexV1TpiMetric = {
|
|
2449
|
+
average?: Maybe<Scalars['Float']['output']>;
|
|
2450
|
+
count?: Maybe<Scalars['Float']['output']>;
|
|
2451
|
+
max?: Maybe<Scalars['Float']['output']>;
|
|
2452
|
+
name: Scalars['String']['output'];
|
|
2453
|
+
sum?: Maybe<Scalars['Float']['output']>;
|
|
2454
|
+
};
|
|
2455
|
+
export type IndexV1TpiSport = {
|
|
2456
|
+
activityCount: Scalars['Float']['output'];
|
|
2457
|
+
contribution: Scalars['Float']['output'];
|
|
2458
|
+
lastActivityDate?: Maybe<Scalars['String']['output']>;
|
|
2459
|
+
metrics: Array<IndexV1TpiMetric>;
|
|
2460
|
+
sport: Scalars['String']['output'];
|
|
2461
|
+
tpi: Scalars['Float']['output'];
|
|
2462
|
+
weight: Scalars['Float']['output'];
|
|
2463
|
+
};
|
|
2303
2464
|
export type Industry = {
|
|
2304
2465
|
_id: Scalars['String']['output'];
|
|
2305
2466
|
name: Scalars['String']['output'];
|
|
@@ -2721,6 +2882,7 @@ export type Mutation = {
|
|
|
2721
2882
|
setClubCampaignPermission: Club;
|
|
2722
2883
|
setCurrentCampaign: FundRaisingCampaign;
|
|
2723
2884
|
setFundingStatus: FundRaisingCampaign;
|
|
2885
|
+
setIndexV1Background: IndexV1Background;
|
|
2724
2886
|
setOfferStatus: Offer;
|
|
2725
2887
|
setPreferredLocale?: Maybe<Scalars['String']['output']>;
|
|
2726
2888
|
setSportsEventTier: SportsEvent;
|
|
@@ -3235,6 +3397,9 @@ export type MutationSetCurrentCampaignArgs = {
|
|
|
3235
3397
|
export type MutationSetFundingStatusArgs = {
|
|
3236
3398
|
input: SetFundingStatusDto;
|
|
3237
3399
|
};
|
|
3400
|
+
export type MutationSetIndexV1BackgroundArgs = {
|
|
3401
|
+
input: SetIndexV1BackgroundDto;
|
|
3402
|
+
};
|
|
3238
3403
|
export type MutationSetOfferStatusArgs = {
|
|
3239
3404
|
id: Scalars['String']['input'];
|
|
3240
3405
|
status: Scalars['String']['input'];
|
|
@@ -3752,8 +3917,12 @@ export type QualificationsBagDto = {
|
|
|
3752
3917
|
};
|
|
3753
3918
|
export type Query = {
|
|
3754
3919
|
adminAthleteActivities: ActivitiesResponse;
|
|
3920
|
+
adminAthleteIndexV1Days: Array<IndexV1RecordDay>;
|
|
3921
|
+
adminAthleteIndexV1Record?: Maybe<IndexV1Record>;
|
|
3755
3922
|
adminAthleteIntegrations: Array<ProviderConnectionStatus>;
|
|
3756
3923
|
adminAthleteScoreBreakdown: AdminAthleteScoreBreakdown;
|
|
3924
|
+
adminIndexV1Background: IndexV1Background;
|
|
3925
|
+
adminIndexV1RecordExport: IndexV1Export;
|
|
3757
3926
|
athleteActivities: ActivitiesResponse;
|
|
3758
3927
|
athleteActivityDates: ActivityDatesResponse;
|
|
3759
3928
|
athleteActivityDetail: ActivityDetail;
|
|
@@ -3942,6 +4111,12 @@ export type Query = {
|
|
|
3942
4111
|
export type QueryAdminAthleteActivitiesArgs = {
|
|
3943
4112
|
input: ActivitiesQueryDto;
|
|
3944
4113
|
};
|
|
4114
|
+
export type QueryAdminAthleteIndexV1DaysArgs = {
|
|
4115
|
+
input: AdminAthleteIndexV1DaysDto;
|
|
4116
|
+
};
|
|
4117
|
+
export type QueryAdminAthleteIndexV1RecordArgs = {
|
|
4118
|
+
input: AdminAthleteIndexV1RecordDto;
|
|
4119
|
+
};
|
|
3945
4120
|
export type QueryAdminAthleteIntegrationsArgs = {
|
|
3946
4121
|
athleteId: Scalars['String']['input'];
|
|
3947
4122
|
};
|
|
@@ -3949,6 +4124,9 @@ export type QueryAdminAthleteScoreBreakdownArgs = {
|
|
|
3949
4124
|
athleteId: Scalars['String']['input'];
|
|
3950
4125
|
historyRange?: InputMaybe<TimeRange>;
|
|
3951
4126
|
};
|
|
4127
|
+
export type QueryAdminIndexV1RecordExportArgs = {
|
|
4128
|
+
input?: InputMaybe<IndexV1ExportInputDto>;
|
|
4129
|
+
};
|
|
3952
4130
|
export type QueryAthleteActivitiesArgs = {
|
|
3953
4131
|
input: ActivitiesQueryDto;
|
|
3954
4132
|
};
|
|
@@ -4427,7 +4605,7 @@ export type RegisterAthleteDto = {
|
|
|
4427
4605
|
locLatitude?: InputMaybe<Scalars['Float']['input']>;
|
|
4428
4606
|
locLongitude?: InputMaybe<Scalars['Float']['input']>;
|
|
4429
4607
|
mainSport: Scalars['String']['input'];
|
|
4430
|
-
mainSportLevel
|
|
4608
|
+
mainSportLevel?: InputMaybe<Scalars['String']['input']>;
|
|
4431
4609
|
nationality: Scalars['String']['input'];
|
|
4432
4610
|
profilePicture?: InputMaybe<Awss3UploadedFileDto>;
|
|
4433
4611
|
screenName?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -4677,6 +4855,10 @@ export type SetFundingStatusDto = {
|
|
|
4677
4855
|
fundingCampaignId: Scalars['String']['input'];
|
|
4678
4856
|
newStatus: Scalars['String']['input'];
|
|
4679
4857
|
};
|
|
4858
|
+
export type SetIndexV1BackgroundDto = {
|
|
4859
|
+
enabled: Scalars['Boolean']['input'];
|
|
4860
|
+
reason: Scalars['String']['input'];
|
|
4861
|
+
};
|
|
4680
4862
|
export type SetSportsEventTierDto = {
|
|
4681
4863
|
eventId: Scalars['String']['input'];
|
|
4682
4864
|
tier: Scalars['Int']['input'];
|
|
@@ -5394,8 +5576,10 @@ export type UpdateClubInput = {
|
|
|
5394
5576
|
allowMemberCampaigns?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5395
5577
|
banner?: InputMaybe<Awss3UploadedFileDto>;
|
|
5396
5578
|
clubId: Scalars['String']['input'];
|
|
5579
|
+
countryId?: InputMaybe<Scalars['String']['input']>;
|
|
5397
5580
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
5398
5581
|
feeStructure?: InputMaybe<Scalars['JSON']['input']>;
|
|
5582
|
+
level?: InputMaybe<Scalars['String']['input']>;
|
|
5399
5583
|
location?: InputMaybe<Scalars['String']['input']>;
|
|
5400
5584
|
membershipType?: InputMaybe<Scalars['String']['input']>;
|
|
5401
5585
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -6149,6 +6333,182 @@ export type AnonymiseCutoverArchiveAthleteMutation = {
|
|
|
6149
6333
|
anonymisedReason?: string | null;
|
|
6150
6334
|
};
|
|
6151
6335
|
};
|
|
6336
|
+
export type IndexV1BackgroundFieldsFragment = {
|
|
6337
|
+
enabled: boolean;
|
|
6338
|
+
changedAt?: string | null;
|
|
6339
|
+
changedBy?: string | null;
|
|
6340
|
+
reason?: string | null;
|
|
6341
|
+
recordCount: number;
|
|
6342
|
+
athleteCount: number;
|
|
6343
|
+
firstDay?: string | null;
|
|
6344
|
+
lastDay?: string | null;
|
|
6345
|
+
};
|
|
6346
|
+
export type AdminIndexV1BackgroundQueryVariables = Exact<{
|
|
6347
|
+
[key: string]: never;
|
|
6348
|
+
}>;
|
|
6349
|
+
export type AdminIndexV1BackgroundQuery = {
|
|
6350
|
+
adminIndexV1Background: {
|
|
6351
|
+
enabled: boolean;
|
|
6352
|
+
changedAt?: string | null;
|
|
6353
|
+
changedBy?: string | null;
|
|
6354
|
+
reason?: string | null;
|
|
6355
|
+
recordCount: number;
|
|
6356
|
+
athleteCount: number;
|
|
6357
|
+
firstDay?: string | null;
|
|
6358
|
+
lastDay?: string | null;
|
|
6359
|
+
};
|
|
6360
|
+
};
|
|
6361
|
+
export type SetIndexV1BackgroundMutationVariables = Exact<{
|
|
6362
|
+
input: SetIndexV1BackgroundDto;
|
|
6363
|
+
}>;
|
|
6364
|
+
export type SetIndexV1BackgroundMutation = {
|
|
6365
|
+
setIndexV1Background: {
|
|
6366
|
+
enabled: boolean;
|
|
6367
|
+
changedAt?: string | null;
|
|
6368
|
+
changedBy?: string | null;
|
|
6369
|
+
reason?: string | null;
|
|
6370
|
+
recordCount: number;
|
|
6371
|
+
athleteCount: number;
|
|
6372
|
+
firstDay?: string | null;
|
|
6373
|
+
lastDay?: string | null;
|
|
6374
|
+
};
|
|
6375
|
+
};
|
|
6376
|
+
export type AdminAthleteIndexV1DaysQueryVariables = Exact<{
|
|
6377
|
+
input: AdminAthleteIndexV1DaysDto;
|
|
6378
|
+
}>;
|
|
6379
|
+
export type AdminAthleteIndexV1DaysQuery = {
|
|
6380
|
+
adminAthleteIndexV1Days: Array<{
|
|
6381
|
+
day: string;
|
|
6382
|
+
runId: string;
|
|
6383
|
+
tpi: number;
|
|
6384
|
+
spi: number;
|
|
6385
|
+
api: number;
|
|
6386
|
+
composite: number;
|
|
6387
|
+
hasBreakdown: boolean;
|
|
6388
|
+
}>;
|
|
6389
|
+
};
|
|
6390
|
+
export type AdminAthleteIndexV1RecordQueryVariables = Exact<{
|
|
6391
|
+
input: AdminAthleteIndexV1RecordDto;
|
|
6392
|
+
}>;
|
|
6393
|
+
export type AdminAthleteIndexV1RecordQuery = {
|
|
6394
|
+
adminAthleteIndexV1Record?: {
|
|
6395
|
+
athleteId: string;
|
|
6396
|
+
day: string;
|
|
6397
|
+
runId: string;
|
|
6398
|
+
asOf: string;
|
|
6399
|
+
recordedAt: string;
|
|
6400
|
+
formulaVersion: string;
|
|
6401
|
+
source: string;
|
|
6402
|
+
tpi: number;
|
|
6403
|
+
spi: number;
|
|
6404
|
+
api: number;
|
|
6405
|
+
composite: number;
|
|
6406
|
+
consistent?: boolean | null;
|
|
6407
|
+
breakdown?: {
|
|
6408
|
+
breakdownVersion: number;
|
|
6409
|
+
asOf: string;
|
|
6410
|
+
tpi: {
|
|
6411
|
+
method: string;
|
|
6412
|
+
totalActivityCount: number;
|
|
6413
|
+
rawTpi: number;
|
|
6414
|
+
tpi: number;
|
|
6415
|
+
sports: Array<{
|
|
6416
|
+
sport: string;
|
|
6417
|
+
tpi: number;
|
|
6418
|
+
activityCount: number;
|
|
6419
|
+
weight: number;
|
|
6420
|
+
contribution: number;
|
|
6421
|
+
lastActivityDate?: string | null;
|
|
6422
|
+
metrics: Array<{
|
|
6423
|
+
name: string;
|
|
6424
|
+
sum?: number | null;
|
|
6425
|
+
count?: number | null;
|
|
6426
|
+
average?: number | null;
|
|
6427
|
+
max?: number | null;
|
|
6428
|
+
}>;
|
|
6429
|
+
}>;
|
|
6430
|
+
};
|
|
6431
|
+
spi: {
|
|
6432
|
+
method: string;
|
|
6433
|
+
decayLambda: number;
|
|
6434
|
+
postCount: number;
|
|
6435
|
+
postsWithReachCount: number;
|
|
6436
|
+
reachCoverage?: number | null;
|
|
6437
|
+
followerCount?: number | null;
|
|
6438
|
+
averageSentiment?: number | null;
|
|
6439
|
+
decayedAverageReach?: number | null;
|
|
6440
|
+
baseReachScore?: number | null;
|
|
6441
|
+
activityMultiplier?: number | null;
|
|
6442
|
+
consistencyMultiplier?: number | null;
|
|
6443
|
+
engagementMultiplier?: number | null;
|
|
6444
|
+
sentimentMultiplier?: number | null;
|
|
6445
|
+
reachPenalty?: number | null;
|
|
6446
|
+
unclampedScore?: number | null;
|
|
6447
|
+
nonFiniteGuardApplied: boolean;
|
|
6448
|
+
spi: number;
|
|
6449
|
+
posts: Array<{
|
|
6450
|
+
timestamp?: string | null;
|
|
6451
|
+
reach?: number | null;
|
|
6452
|
+
likeCount: number;
|
|
6453
|
+
commentCount: number;
|
|
6454
|
+
sentimentScore?: number | null;
|
|
6455
|
+
decayWeight: number;
|
|
6456
|
+
hasReach: boolean;
|
|
6457
|
+
}>;
|
|
6458
|
+
};
|
|
6459
|
+
api: {
|
|
6460
|
+
method: string;
|
|
6461
|
+
topN: number;
|
|
6462
|
+
confidenceBase: number;
|
|
6463
|
+
confidenceStep: number;
|
|
6464
|
+
competitionCount: number;
|
|
6465
|
+
eligibleCount: number;
|
|
6466
|
+
countedCount: number;
|
|
6467
|
+
baseScore?: number | null;
|
|
6468
|
+
confidenceMultiplier?: number | null;
|
|
6469
|
+
api: number;
|
|
6470
|
+
competitions: Array<{
|
|
6471
|
+
competitionId?: string | null;
|
|
6472
|
+
eventDate?: string | null;
|
|
6473
|
+
eventLevel?: string | null;
|
|
6474
|
+
resultType?: string | null;
|
|
6475
|
+
position?: number | null;
|
|
6476
|
+
totalParticipants?: number | null;
|
|
6477
|
+
eligible: boolean;
|
|
6478
|
+
reason: string;
|
|
6479
|
+
percentile?: number | null;
|
|
6480
|
+
placementScore?: number | null;
|
|
6481
|
+
eventRating?: number | null;
|
|
6482
|
+
timeRating?: number | null;
|
|
6483
|
+
points: number;
|
|
6484
|
+
counted: boolean;
|
|
6485
|
+
}>;
|
|
6486
|
+
};
|
|
6487
|
+
composite: {
|
|
6488
|
+
method: string;
|
|
6489
|
+
tpi: number;
|
|
6490
|
+
spi: number;
|
|
6491
|
+
api: number;
|
|
6492
|
+
tpiWeight: number;
|
|
6493
|
+
spiWeight: number;
|
|
6494
|
+
apiWeight: number;
|
|
6495
|
+
rawComposite: number;
|
|
6496
|
+
composite: number;
|
|
6497
|
+
};
|
|
6498
|
+
} | null;
|
|
6499
|
+
} | null;
|
|
6500
|
+
};
|
|
6501
|
+
export type AdminIndexV1RecordExportQueryVariables = Exact<{
|
|
6502
|
+
input?: InputMaybe<IndexV1ExportInputDto>;
|
|
6503
|
+
}>;
|
|
6504
|
+
export type AdminIndexV1RecordExportQuery = {
|
|
6505
|
+
adminIndexV1RecordExport: {
|
|
6506
|
+
filename: string;
|
|
6507
|
+
csv: string;
|
|
6508
|
+
rowCount: number;
|
|
6509
|
+
truncated: boolean;
|
|
6510
|
+
};
|
|
6511
|
+
};
|
|
6152
6512
|
export type AiCoachThreadFieldsFragment = {
|
|
6153
6513
|
_id: string;
|
|
6154
6514
|
athleteId: string;
|
|
@@ -11074,9 +11434,11 @@ export type GetAthleteDashboardQuery = {
|
|
|
11074
11434
|
renormalizedSecondary?: number | null;
|
|
11075
11435
|
renormalizedSecondaryBasis?: string | null;
|
|
11076
11436
|
indexStatus?: string | null;
|
|
11437
|
+
socialCollectingData?: boolean | null;
|
|
11077
11438
|
trainingLowConfidence?: boolean | null;
|
|
11078
11439
|
trainingInactive?: boolean | null;
|
|
11079
11440
|
trainingCollectingData?: boolean | null;
|
|
11441
|
+
trainingMultisportBasis?: string | null;
|
|
11080
11442
|
trainingHidden?: boolean | null;
|
|
11081
11443
|
trainingHistoryDays?: number | null;
|
|
11082
11444
|
trainingDisplayFromDay?: number | null;
|
|
@@ -11248,6 +11610,7 @@ export type AdminAthleteScoreBreakdownQuery = {
|
|
|
11248
11610
|
renormalizedSecondary?: number | null;
|
|
11249
11611
|
renormalizedSecondaryBasis?: string | null;
|
|
11250
11612
|
indexStatus?: string | null;
|
|
11613
|
+
socialCollectingData?: boolean | null;
|
|
11251
11614
|
trainingLowConfidence?: boolean | null;
|
|
11252
11615
|
trainingInactive?: boolean | null;
|
|
11253
11616
|
trainingCollectingData?: boolean | null;
|
|
@@ -16098,9 +16461,11 @@ export type AthleteDashboardQuery = {
|
|
|
16098
16461
|
renormalizedSecondary?: number | null;
|
|
16099
16462
|
renormalizedSecondaryBasis?: string | null;
|
|
16100
16463
|
indexStatus?: string | null;
|
|
16464
|
+
socialCollectingData?: boolean | null;
|
|
16101
16465
|
trainingLowConfidence?: boolean | null;
|
|
16102
16466
|
trainingInactive?: boolean | null;
|
|
16103
16467
|
trainingCollectingData?: boolean | null;
|
|
16468
|
+
trainingMultisportBasis?: string | null;
|
|
16104
16469
|
trainingHidden?: boolean | null;
|
|
16105
16470
|
trainingHistoryDays?: number | null;
|
|
16106
16471
|
trainingDisplayFromDay?: number | null;
|
|
@@ -16741,6 +17106,7 @@ export type ApproveClubMutation = {
|
|
|
16741
17106
|
description?: string | null;
|
|
16742
17107
|
location?: string | null;
|
|
16743
17108
|
website?: string | null;
|
|
17109
|
+
level?: string | null;
|
|
16744
17110
|
membershipType: string;
|
|
16745
17111
|
feeStructure?: any | null;
|
|
16746
17112
|
approved?: boolean | null;
|
|
@@ -16760,6 +17126,10 @@ export type ApproveClubMutation = {
|
|
|
16760
17126
|
_id: string;
|
|
16761
17127
|
name?: string | null;
|
|
16762
17128
|
} | null;
|
|
17129
|
+
country?: {
|
|
17130
|
+
_id: string;
|
|
17131
|
+
name: string;
|
|
17132
|
+
} | null;
|
|
16763
17133
|
teams?: Array<{
|
|
16764
17134
|
_id: string;
|
|
16765
17135
|
name: string;
|
|
@@ -16780,6 +17150,7 @@ export type SetClubCampaignPermissionMutation = {
|
|
|
16780
17150
|
description?: string | null;
|
|
16781
17151
|
location?: string | null;
|
|
16782
17152
|
website?: string | null;
|
|
17153
|
+
level?: string | null;
|
|
16783
17154
|
membershipType: string;
|
|
16784
17155
|
feeStructure?: any | null;
|
|
16785
17156
|
approved?: boolean | null;
|
|
@@ -16799,6 +17170,10 @@ export type SetClubCampaignPermissionMutation = {
|
|
|
16799
17170
|
_id: string;
|
|
16800
17171
|
name?: string | null;
|
|
16801
17172
|
} | null;
|
|
17173
|
+
country?: {
|
|
17174
|
+
_id: string;
|
|
17175
|
+
name: string;
|
|
17176
|
+
} | null;
|
|
16802
17177
|
teams?: Array<{
|
|
16803
17178
|
_id: string;
|
|
16804
17179
|
name: string;
|
|
@@ -19553,6 +19928,7 @@ export type ClubFieldsFragment = {
|
|
|
19553
19928
|
description?: string | null;
|
|
19554
19929
|
location?: string | null;
|
|
19555
19930
|
website?: string | null;
|
|
19931
|
+
level?: string | null;
|
|
19556
19932
|
membershipType: string;
|
|
19557
19933
|
feeStructure?: any | null;
|
|
19558
19934
|
approved?: boolean | null;
|
|
@@ -19574,6 +19950,10 @@ export type ClubFieldsFragment = {
|
|
|
19574
19950
|
url: string;
|
|
19575
19951
|
key: string;
|
|
19576
19952
|
} | null;
|
|
19953
|
+
country?: {
|
|
19954
|
+
_id: string;
|
|
19955
|
+
name: string;
|
|
19956
|
+
} | null;
|
|
19577
19957
|
teams?: Array<{
|
|
19578
19958
|
_id: string;
|
|
19579
19959
|
name: string;
|
|
@@ -20379,6 +20759,7 @@ export type FindClubByIdQuery = {
|
|
|
20379
20759
|
description?: string | null;
|
|
20380
20760
|
location?: string | null;
|
|
20381
20761
|
website?: string | null;
|
|
20762
|
+
level?: string | null;
|
|
20382
20763
|
membershipType: string;
|
|
20383
20764
|
feeStructure?: any | null;
|
|
20384
20765
|
approved?: boolean | null;
|
|
@@ -20400,6 +20781,10 @@ export type FindClubByIdQuery = {
|
|
|
20400
20781
|
url: string;
|
|
20401
20782
|
key: string;
|
|
20402
20783
|
} | null;
|
|
20784
|
+
country?: {
|
|
20785
|
+
_id: string;
|
|
20786
|
+
name: string;
|
|
20787
|
+
} | null;
|
|
20403
20788
|
teams?: Array<{
|
|
20404
20789
|
_id: string;
|
|
20405
20790
|
name: string;
|
|
@@ -20436,6 +20821,7 @@ export type FindClubsQuery = {
|
|
|
20436
20821
|
description?: string | null;
|
|
20437
20822
|
location?: string | null;
|
|
20438
20823
|
website?: string | null;
|
|
20824
|
+
level?: string | null;
|
|
20439
20825
|
membershipType: string;
|
|
20440
20826
|
feeStructure?: any | null;
|
|
20441
20827
|
approved?: boolean | null;
|
|
@@ -20457,6 +20843,10 @@ export type FindClubsQuery = {
|
|
|
20457
20843
|
url: string;
|
|
20458
20844
|
key: string;
|
|
20459
20845
|
} | null;
|
|
20846
|
+
country?: {
|
|
20847
|
+
_id: string;
|
|
20848
|
+
name: string;
|
|
20849
|
+
} | null;
|
|
20460
20850
|
teams?: Array<{
|
|
20461
20851
|
_id: string;
|
|
20462
20852
|
name: string;
|
|
@@ -20493,6 +20883,7 @@ export type FindAllClubsQuery = {
|
|
|
20493
20883
|
description?: string | null;
|
|
20494
20884
|
location?: string | null;
|
|
20495
20885
|
website?: string | null;
|
|
20886
|
+
level?: string | null;
|
|
20496
20887
|
membershipType: string;
|
|
20497
20888
|
feeStructure?: any | null;
|
|
20498
20889
|
approved?: boolean | null;
|
|
@@ -20514,6 +20905,10 @@ export type FindAllClubsQuery = {
|
|
|
20514
20905
|
url: string;
|
|
20515
20906
|
key: string;
|
|
20516
20907
|
} | null;
|
|
20908
|
+
country?: {
|
|
20909
|
+
_id: string;
|
|
20910
|
+
name: string;
|
|
20911
|
+
} | null;
|
|
20517
20912
|
teams?: Array<{
|
|
20518
20913
|
_id: string;
|
|
20519
20914
|
name: string;
|
|
@@ -20550,6 +20945,7 @@ export type GetMyClubsQuery = {
|
|
|
20550
20945
|
description?: string | null;
|
|
20551
20946
|
location?: string | null;
|
|
20552
20947
|
website?: string | null;
|
|
20948
|
+
level?: string | null;
|
|
20553
20949
|
membershipType: string;
|
|
20554
20950
|
feeStructure?: any | null;
|
|
20555
20951
|
approved?: boolean | null;
|
|
@@ -20571,6 +20967,10 @@ export type GetMyClubsQuery = {
|
|
|
20571
20967
|
url: string;
|
|
20572
20968
|
key: string;
|
|
20573
20969
|
} | null;
|
|
20970
|
+
country?: {
|
|
20971
|
+
_id: string;
|
|
20972
|
+
name: string;
|
|
20973
|
+
} | null;
|
|
20574
20974
|
teams?: Array<{
|
|
20575
20975
|
_id: string;
|
|
20576
20976
|
name: string;
|
|
@@ -20644,6 +21044,7 @@ export type CreateClubMutation = {
|
|
|
20644
21044
|
description?: string | null;
|
|
20645
21045
|
location?: string | null;
|
|
20646
21046
|
website?: string | null;
|
|
21047
|
+
level?: string | null;
|
|
20647
21048
|
membershipType: string;
|
|
20648
21049
|
feeStructure?: any | null;
|
|
20649
21050
|
approved?: boolean | null;
|
|
@@ -20665,6 +21066,10 @@ export type CreateClubMutation = {
|
|
|
20665
21066
|
url: string;
|
|
20666
21067
|
key: string;
|
|
20667
21068
|
} | null;
|
|
21069
|
+
country?: {
|
|
21070
|
+
_id: string;
|
|
21071
|
+
name: string;
|
|
21072
|
+
} | null;
|
|
20668
21073
|
teams?: Array<{
|
|
20669
21074
|
_id: string;
|
|
20670
21075
|
name: string;
|
|
@@ -20701,6 +21106,7 @@ export type UpdateClubMutation = {
|
|
|
20701
21106
|
description?: string | null;
|
|
20702
21107
|
location?: string | null;
|
|
20703
21108
|
website?: string | null;
|
|
21109
|
+
level?: string | null;
|
|
20704
21110
|
membershipType: string;
|
|
20705
21111
|
feeStructure?: any | null;
|
|
20706
21112
|
approved?: boolean | null;
|
|
@@ -20722,6 +21128,10 @@ export type UpdateClubMutation = {
|
|
|
20722
21128
|
url: string;
|
|
20723
21129
|
key: string;
|
|
20724
21130
|
} | null;
|
|
21131
|
+
country?: {
|
|
21132
|
+
_id: string;
|
|
21133
|
+
name: string;
|
|
21134
|
+
} | null;
|
|
20725
21135
|
teams?: Array<{
|
|
20726
21136
|
_id: string;
|
|
20727
21137
|
name: string;
|
|
@@ -21504,6 +21914,7 @@ export type SetPreferredLocaleMutation = {
|
|
|
21504
21914
|
setPreferredLocale?: string | null;
|
|
21505
21915
|
};
|
|
21506
21916
|
export declare const CutoverArchiveAthleteFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
21917
|
+
export declare const IndexV1BackgroundFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
21507
21918
|
export declare const AiCoachThreadFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
21508
21919
|
export declare const AiCoachMessageFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
21509
21920
|
export declare const AiCoachConfigFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
@@ -21557,6 +21968,11 @@ export declare const GetCutoverArchiveCapturesDocument: import("graphql").Docume
|
|
|
21557
21968
|
export declare const GetCutoverArchiveAthletesDocument: import("graphql").DocumentNode;
|
|
21558
21969
|
export declare const GetCutoverArchiveAthleteDocument: import("graphql").DocumentNode;
|
|
21559
21970
|
export declare const AnonymiseCutoverArchiveAthleteDocument: import("graphql").DocumentNode;
|
|
21971
|
+
export declare const AdminIndexV1BackgroundDocument: import("graphql").DocumentNode;
|
|
21972
|
+
export declare const SetIndexV1BackgroundDocument: import("graphql").DocumentNode;
|
|
21973
|
+
export declare const AdminAthleteIndexV1DaysDocument: import("graphql").DocumentNode;
|
|
21974
|
+
export declare const AdminAthleteIndexV1RecordDocument: import("graphql").DocumentNode;
|
|
21975
|
+
export declare const AdminIndexV1RecordExportDocument: import("graphql").DocumentNode;
|
|
21560
21976
|
export declare const GetAiCoachThreadDocument: import("graphql").DocumentNode;
|
|
21561
21977
|
export declare const GetAiCoachThreadHistoryDocument: import("graphql").DocumentNode;
|
|
21562
21978
|
export declare const GetAiCoachThreadMessagesDocument: import("graphql").DocumentNode;
|
|
@@ -21967,6 +22383,11 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
21967
22383
|
GetCutoverArchiveAthletes(variables: GetCutoverArchiveAthletesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetCutoverArchiveAthletesQuery>;
|
|
21968
22384
|
GetCutoverArchiveAthlete(variables: GetCutoverArchiveAthleteQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetCutoverArchiveAthleteQuery>;
|
|
21969
22385
|
AnonymiseCutoverArchiveAthlete(variables: AnonymiseCutoverArchiveAthleteMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<AnonymiseCutoverArchiveAthleteMutation>;
|
|
22386
|
+
AdminIndexV1Background(variables?: AdminIndexV1BackgroundQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<AdminIndexV1BackgroundQuery>;
|
|
22387
|
+
SetIndexV1Background(variables: SetIndexV1BackgroundMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<SetIndexV1BackgroundMutation>;
|
|
22388
|
+
AdminAthleteIndexV1Days(variables: AdminAthleteIndexV1DaysQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<AdminAthleteIndexV1DaysQuery>;
|
|
22389
|
+
AdminAthleteIndexV1Record(variables: AdminAthleteIndexV1RecordQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<AdminAthleteIndexV1RecordQuery>;
|
|
22390
|
+
AdminIndexV1RecordExport(variables?: AdminIndexV1RecordExportQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<AdminIndexV1RecordExportQuery>;
|
|
21970
22391
|
GetAiCoachThread(variables?: GetAiCoachThreadQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAiCoachThreadQuery>;
|
|
21971
22392
|
GetAiCoachThreadHistory(variables?: GetAiCoachThreadHistoryQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAiCoachThreadHistoryQuery>;
|
|
21972
22393
|
GetAiCoachThreadMessages(variables: GetAiCoachThreadMessagesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAiCoachThreadMessagesQuery>;
|