@vertikalx/vtx-backend-client 3.5.3-dev.0 → 3.5.5-dev-ven.0
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 +9 -0
- package/dist/src/api/domains/generated/athlete.api.js.map +1 -1
- package/dist/src/api/domains/generated/blog.api.js +6 -0
- package/dist/src/api/domains/generated/blog.api.js.map +1 -1
- package/dist/src/api/domains/generated/misc.api.js +0 -6
- package/dist/src/api/domains/generated/misc.api.js.map +1 -1
- package/dist/src/api/domains/generated/vtx-base-api.augment.d.ts +6 -3
- package/dist/src/client/schema.d.ts +134 -2
- package/dist/src/client/schema.js +40 -5
- package/dist/src/client/schema.js.map +1 -1
- package/dist/src/client/types.d.ts +64 -0
- package/dist/src/client/types.js +698 -531
- package/dist/src/client/types.js.map +1 -1
- package/dist/src/generated/graphql.d.ts +341 -56
- package/dist/src/generated/graphql.js +213 -86
- package/dist/src/generated/graphql.js.map +1 -1
- package/package.json +1 -1
|
@@ -814,6 +814,8 @@ export interface SportsEvent {
|
|
|
814
814
|
location: (WorldLocation | null);
|
|
815
815
|
eventLevel: (Scalars['String'] | null);
|
|
816
816
|
registeredAthletesCount: (Scalars['Float'] | null);
|
|
817
|
+
distanceMeters: (Scalars['Int'] | null);
|
|
818
|
+
courseType: (Scalars['String'] | null);
|
|
817
819
|
__typename: 'SportsEvent';
|
|
818
820
|
}
|
|
819
821
|
export interface AthleteCompetitionResult {
|
|
@@ -872,6 +874,12 @@ export interface AthleteCompetition {
|
|
|
872
874
|
claimedBy: (Scalars['String'] | null);
|
|
873
875
|
dismissedAt: (Scalars['DateTime'] | null);
|
|
874
876
|
dismissedBy: (Scalars['String'] | null);
|
|
877
|
+
expectedAirTempC: (Scalars['Float'] | null);
|
|
878
|
+
expectedWaterTempC: (Scalars['Float'] | null);
|
|
879
|
+
expectedWindConditions: (Scalars['String'] | null);
|
|
880
|
+
actualAirTempC: (Scalars['Float'] | null);
|
|
881
|
+
actualWaterTempC: (Scalars['Float'] | null);
|
|
882
|
+
actualWindConditions: (Scalars['String'] | null);
|
|
875
883
|
__typename: 'AthleteCompetition';
|
|
876
884
|
}
|
|
877
885
|
export interface Video {
|
|
@@ -1337,6 +1345,13 @@ export interface AthleteClub {
|
|
|
1337
1345
|
leftAt: (Scalars['DateTime'] | null);
|
|
1338
1346
|
__typename: 'AthleteClub';
|
|
1339
1347
|
}
|
|
1348
|
+
export interface ActivityLoad {
|
|
1349
|
+
value: (Scalars['Float'] | null);
|
|
1350
|
+
metric: Scalars['String'];
|
|
1351
|
+
confidence: (Scalars['String'] | null);
|
|
1352
|
+
absentReason: (Scalars['String'] | null);
|
|
1353
|
+
__typename: 'ActivityLoad';
|
|
1354
|
+
}
|
|
1340
1355
|
export interface ActivityEntry {
|
|
1341
1356
|
id: Scalars['String'];
|
|
1342
1357
|
date: Scalars['DateTime'];
|
|
@@ -1347,6 +1362,7 @@ export interface ActivityEntry {
|
|
|
1347
1362
|
notCountedReason: (Scalars['String'] | null);
|
|
1348
1363
|
prMetrics: (Scalars['String'][] | null);
|
|
1349
1364
|
metricAverages: (Scalars['JSONObject'] | null);
|
|
1365
|
+
load: (ActivityLoad | null);
|
|
1350
1366
|
__typename: 'ActivityEntry';
|
|
1351
1367
|
}
|
|
1352
1368
|
export interface ActivitiesResponse {
|
|
@@ -1411,12 +1427,27 @@ export interface ComponentSummary {
|
|
|
1411
1427
|
metricMaxes: (Scalars['JSONObject'] | null);
|
|
1412
1428
|
__typename: 'ComponentSummary';
|
|
1413
1429
|
}
|
|
1430
|
+
export interface ComponentPresence {
|
|
1431
|
+
status: Scalars['String'];
|
|
1432
|
+
cause: (Scalars['String'] | null);
|
|
1433
|
+
reason: (Scalars['String'] | null);
|
|
1434
|
+
__typename: 'ComponentPresence';
|
|
1435
|
+
}
|
|
1436
|
+
export interface ScorePresence {
|
|
1437
|
+
training: ComponentPresence;
|
|
1438
|
+
social: ComponentPresence;
|
|
1439
|
+
competition: ComponentPresence;
|
|
1440
|
+
__typename: 'ScorePresence';
|
|
1441
|
+
}
|
|
1414
1442
|
export interface DashboardSummary {
|
|
1415
1443
|
vtxScore: Scalars['Float'];
|
|
1416
1444
|
socialScore: Scalars['Float'];
|
|
1417
1445
|
trainingScore: Scalars['Float'];
|
|
1418
1446
|
competitionScore: Scalars['Float'];
|
|
1419
1447
|
lastUpdated: Scalars['DateTime'];
|
|
1448
|
+
presence: (ScorePresence | null);
|
|
1449
|
+
renormalizedSecondary: (Scalars['Float'] | null);
|
|
1450
|
+
renormalizedSecondaryBasis: (Scalars['String'] | null);
|
|
1420
1451
|
__typename: 'DashboardSummary';
|
|
1421
1452
|
}
|
|
1422
1453
|
export interface ScoreHistoryEntry {
|
|
@@ -1678,6 +1709,12 @@ export interface CompetitionDeleteVerificationResponse {
|
|
|
1678
1709
|
reasons: CompetitionDeleteVerificationReason[];
|
|
1679
1710
|
__typename: 'CompetitionDeleteVerificationResponse';
|
|
1680
1711
|
}
|
|
1712
|
+
export interface ConfirmProfileVitalsResponse {
|
|
1713
|
+
confirmedAt: Scalars['DateTime'];
|
|
1714
|
+
dob: (Scalars['DateTime'] | null);
|
|
1715
|
+
competitionGender: (Scalars['String'] | null);
|
|
1716
|
+
__typename: 'ConfirmProfileVitalsResponse';
|
|
1717
|
+
}
|
|
1681
1718
|
export interface DataExportRequest {
|
|
1682
1719
|
id: Scalars['ID'];
|
|
1683
1720
|
status: Scalars['String'];
|
|
@@ -2216,6 +2253,11 @@ export interface PendingSuggestionGroup {
|
|
|
2216
2253
|
candidates: AthleteCompetition[];
|
|
2217
2254
|
__typename: 'PendingSuggestionGroup';
|
|
2218
2255
|
}
|
|
2256
|
+
export interface ProfileVitalsStatus {
|
|
2257
|
+
confirmed: Scalars['Boolean'];
|
|
2258
|
+
confirmedAt: (Scalars['DateTime'] | null);
|
|
2259
|
+
__typename: 'ProfileVitalsStatus';
|
|
2260
|
+
}
|
|
2219
2261
|
export interface ProviderConnectionStatus {
|
|
2220
2262
|
provider: IntegrationProvider;
|
|
2221
2263
|
status: Scalars['String'];
|
|
@@ -2322,8 +2364,8 @@ export interface PostMetricType {
|
|
|
2322
2364
|
postedAt: Scalars['DateTime'];
|
|
2323
2365
|
likes: Scalars['Int'];
|
|
2324
2366
|
comments: Scalars['Int'];
|
|
2325
|
-
shares: Scalars['Int'];
|
|
2326
|
-
saves: Scalars['Int'];
|
|
2367
|
+
shares: (Scalars['Int'] | null);
|
|
2368
|
+
saves: (Scalars['Int'] | null);
|
|
2327
2369
|
reach: (Scalars['Int'] | null);
|
|
2328
2370
|
vsAvgPercent: Scalars['Float'];
|
|
2329
2371
|
__typename: 'PostMetricType';
|
|
@@ -2715,6 +2757,7 @@ export interface Query {
|
|
|
2715
2757
|
findAthleteForUser: Athlete;
|
|
2716
2758
|
getRecommendedAthletes: Athlete[];
|
|
2717
2759
|
getSponsorAthletesForTenant: Athlete[];
|
|
2760
|
+
profileVitalsStatus: ProfileVitalsStatus;
|
|
2718
2761
|
getAthleteCompetitions: AthleteCompetition[];
|
|
2719
2762
|
getPendingSuggestions: PendingSuggestionGroup[];
|
|
2720
2763
|
getAthleteMemberships: AthleteMembership[];
|
|
@@ -2761,6 +2804,7 @@ export interface Query {
|
|
|
2761
2804
|
getStravaLoginUrl: Scalars['String'];
|
|
2762
2805
|
getSportsEvents: SportsEvent[];
|
|
2763
2806
|
getSportsEventsPaginated: PaginatedEvents;
|
|
2807
|
+
getEventsMissingCourseData: PaginatedEvents;
|
|
2764
2808
|
getBudgetsByAthlete: BudgetData;
|
|
2765
2809
|
getDonationsByAthlete: Receipt[];
|
|
2766
2810
|
getDonationsToAthlete: Donation[];
|
|
@@ -2895,6 +2939,7 @@ export interface Mutation {
|
|
|
2895
2939
|
forceDeleteAthleteCompetition: DeleteSingleValueResponse;
|
|
2896
2940
|
registerAthlete: Athlete;
|
|
2897
2941
|
editProfileValue: EditValueResponse;
|
|
2942
|
+
confirmProfileVitals: ConfirmProfileVitalsResponse;
|
|
2898
2943
|
editPicture: EditPictureResponse;
|
|
2899
2944
|
AddAlbumPictures: AddValuesResponse;
|
|
2900
2945
|
addAthleteCompetition: AthleteCompetition;
|
|
@@ -3940,6 +3985,8 @@ export interface SportsEventGenqlSelection {
|
|
|
3940
3985
|
location?: WorldLocationGenqlSelection;
|
|
3941
3986
|
eventLevel?: boolean | number;
|
|
3942
3987
|
registeredAthletesCount?: boolean | number;
|
|
3988
|
+
distanceMeters?: boolean | number;
|
|
3989
|
+
courseType?: boolean | number;
|
|
3943
3990
|
__typename?: boolean | number;
|
|
3944
3991
|
__scalar?: boolean | number;
|
|
3945
3992
|
}
|
|
@@ -4000,6 +4047,12 @@ export interface AthleteCompetitionGenqlSelection {
|
|
|
4000
4047
|
claimedBy?: boolean | number;
|
|
4001
4048
|
dismissedAt?: boolean | number;
|
|
4002
4049
|
dismissedBy?: boolean | number;
|
|
4050
|
+
expectedAirTempC?: boolean | number;
|
|
4051
|
+
expectedWaterTempC?: boolean | number;
|
|
4052
|
+
expectedWindConditions?: boolean | number;
|
|
4053
|
+
actualAirTempC?: boolean | number;
|
|
4054
|
+
actualWaterTempC?: boolean | number;
|
|
4055
|
+
actualWindConditions?: boolean | number;
|
|
4003
4056
|
__typename?: boolean | number;
|
|
4004
4057
|
__scalar?: boolean | number;
|
|
4005
4058
|
}
|
|
@@ -4501,6 +4554,14 @@ export interface AthleteClubGenqlSelection {
|
|
|
4501
4554
|
__typename?: boolean | number;
|
|
4502
4555
|
__scalar?: boolean | number;
|
|
4503
4556
|
}
|
|
4557
|
+
export interface ActivityLoadGenqlSelection {
|
|
4558
|
+
value?: boolean | number;
|
|
4559
|
+
metric?: boolean | number;
|
|
4560
|
+
confidence?: boolean | number;
|
|
4561
|
+
absentReason?: boolean | number;
|
|
4562
|
+
__typename?: boolean | number;
|
|
4563
|
+
__scalar?: boolean | number;
|
|
4564
|
+
}
|
|
4504
4565
|
export interface ActivityEntryGenqlSelection {
|
|
4505
4566
|
id?: boolean | number;
|
|
4506
4567
|
date?: boolean | number;
|
|
@@ -4511,6 +4572,7 @@ export interface ActivityEntryGenqlSelection {
|
|
|
4511
4572
|
notCountedReason?: boolean | number;
|
|
4512
4573
|
prMetrics?: boolean | number;
|
|
4513
4574
|
metricAverages?: boolean | number;
|
|
4575
|
+
load?: ActivityLoadGenqlSelection;
|
|
4514
4576
|
__typename?: boolean | number;
|
|
4515
4577
|
__scalar?: boolean | number;
|
|
4516
4578
|
}
|
|
@@ -4583,12 +4645,29 @@ export interface ComponentSummaryGenqlSelection {
|
|
|
4583
4645
|
__typename?: boolean | number;
|
|
4584
4646
|
__scalar?: boolean | number;
|
|
4585
4647
|
}
|
|
4648
|
+
export interface ComponentPresenceGenqlSelection {
|
|
4649
|
+
status?: boolean | number;
|
|
4650
|
+
cause?: boolean | number;
|
|
4651
|
+
reason?: boolean | number;
|
|
4652
|
+
__typename?: boolean | number;
|
|
4653
|
+
__scalar?: boolean | number;
|
|
4654
|
+
}
|
|
4655
|
+
export interface ScorePresenceGenqlSelection {
|
|
4656
|
+
training?: ComponentPresenceGenqlSelection;
|
|
4657
|
+
social?: ComponentPresenceGenqlSelection;
|
|
4658
|
+
competition?: ComponentPresenceGenqlSelection;
|
|
4659
|
+
__typename?: boolean | number;
|
|
4660
|
+
__scalar?: boolean | number;
|
|
4661
|
+
}
|
|
4586
4662
|
export interface DashboardSummaryGenqlSelection {
|
|
4587
4663
|
vtxScore?: boolean | number;
|
|
4588
4664
|
socialScore?: boolean | number;
|
|
4589
4665
|
trainingScore?: boolean | number;
|
|
4590
4666
|
competitionScore?: boolean | number;
|
|
4591
4667
|
lastUpdated?: boolean | number;
|
|
4668
|
+
presence?: ScorePresenceGenqlSelection;
|
|
4669
|
+
renormalizedSecondary?: boolean | number;
|
|
4670
|
+
renormalizedSecondaryBasis?: boolean | number;
|
|
4592
4671
|
__typename?: boolean | number;
|
|
4593
4672
|
__scalar?: boolean | number;
|
|
4594
4673
|
}
|
|
@@ -4880,6 +4959,13 @@ export interface CompetitionDeleteVerificationResponseGenqlSelection {
|
|
|
4880
4959
|
__typename?: boolean | number;
|
|
4881
4960
|
__scalar?: boolean | number;
|
|
4882
4961
|
}
|
|
4962
|
+
export interface ConfirmProfileVitalsResponseGenqlSelection {
|
|
4963
|
+
confirmedAt?: boolean | number;
|
|
4964
|
+
dob?: boolean | number;
|
|
4965
|
+
competitionGender?: boolean | number;
|
|
4966
|
+
__typename?: boolean | number;
|
|
4967
|
+
__scalar?: boolean | number;
|
|
4968
|
+
}
|
|
4883
4969
|
export interface DataExportRequestGenqlSelection {
|
|
4884
4970
|
id?: boolean | number;
|
|
4885
4971
|
status?: boolean | number;
|
|
@@ -5477,6 +5563,12 @@ export interface PendingSuggestionGroupGenqlSelection {
|
|
|
5477
5563
|
__typename?: boolean | number;
|
|
5478
5564
|
__scalar?: boolean | number;
|
|
5479
5565
|
}
|
|
5566
|
+
export interface ProfileVitalsStatusGenqlSelection {
|
|
5567
|
+
confirmed?: boolean | number;
|
|
5568
|
+
confirmedAt?: boolean | number;
|
|
5569
|
+
__typename?: boolean | number;
|
|
5570
|
+
__scalar?: boolean | number;
|
|
5571
|
+
}
|
|
5480
5572
|
export interface ProviderConnectionStatusGenqlSelection {
|
|
5481
5573
|
provider?: boolean | number;
|
|
5482
5574
|
status?: boolean | number;
|
|
@@ -6366,6 +6458,10 @@ export interface ManageClubMemberInput {
|
|
|
6366
6458
|
action: Scalars['String'];
|
|
6367
6459
|
role?: (Scalars['String'] | null);
|
|
6368
6460
|
}
|
|
6461
|
+
export interface ConfirmProfileVitalsDto {
|
|
6462
|
+
dateOfBirth: Scalars['DateTime'];
|
|
6463
|
+
gender: Scalars['String'];
|
|
6464
|
+
}
|
|
6369
6465
|
export interface CompetitionResultDto {
|
|
6370
6466
|
resultType: Scalars['String'];
|
|
6371
6467
|
position?: (Scalars['Float'] | null);
|
|
@@ -6645,6 +6741,8 @@ export interface CreateSportEventDto {
|
|
|
6645
6741
|
website?: (Scalars['String'] | null);
|
|
6646
6742
|
banner?: (AWSS3UploadedFileDto | null);
|
|
6647
6743
|
eventLevel?: (Scalars['String'] | null);
|
|
6744
|
+
distanceMeters?: (Scalars['Int'] | null);
|
|
6745
|
+
courseType?: (Scalars['String'] | null);
|
|
6648
6746
|
}
|
|
6649
6747
|
export interface CreateSportLevelTranslationDto {
|
|
6650
6748
|
language: Scalars['String'];
|
|
@@ -6705,6 +6803,12 @@ export interface EditAthleteCompetitionDto {
|
|
|
6705
6803
|
competitionNumber?: (Scalars['String'] | null);
|
|
6706
6804
|
eventWebsite?: (Scalars['String'] | null);
|
|
6707
6805
|
cityId?: (Scalars['String'] | null);
|
|
6806
|
+
expectedAirTempC?: (Scalars['Float'] | null);
|
|
6807
|
+
expectedWaterTempC?: (Scalars['Float'] | null);
|
|
6808
|
+
expectedWindConditions?: (Scalars['String'] | null);
|
|
6809
|
+
actualAirTempC?: (Scalars['Float'] | null);
|
|
6810
|
+
actualWaterTempC?: (Scalars['Float'] | null);
|
|
6811
|
+
actualWindConditions?: (Scalars['String'] | null);
|
|
6708
6812
|
}
|
|
6709
6813
|
export interface EditPictureDto {
|
|
6710
6814
|
field: Scalars['String'];
|
|
@@ -7125,6 +7229,8 @@ export interface UpdateSportEventDto {
|
|
|
7125
7229
|
website?: (Scalars['String'] | null);
|
|
7126
7230
|
banner?: (AWSS3UploadedFileDto | null);
|
|
7127
7231
|
eventLevel?: (Scalars['String'] | null);
|
|
7232
|
+
distanceMeters?: (Scalars['Int'] | null);
|
|
7233
|
+
courseType?: (Scalars['String'] | null);
|
|
7128
7234
|
_id: Scalars['String'];
|
|
7129
7235
|
}
|
|
7130
7236
|
export interface UpdateSportDto {
|
|
@@ -7305,6 +7411,7 @@ export interface QueryGenqlSelection {
|
|
|
7305
7411
|
};
|
|
7306
7412
|
});
|
|
7307
7413
|
getSponsorAthletesForTenant?: AthleteGenqlSelection;
|
|
7414
|
+
profileVitalsStatus?: ProfileVitalsStatusGenqlSelection;
|
|
7308
7415
|
getAthleteCompetitions?: (AthleteCompetitionGenqlSelection & {
|
|
7309
7416
|
__args: {
|
|
7310
7417
|
input: GetAthleteCompetitionsDto;
|
|
@@ -7484,6 +7591,11 @@ export interface QueryGenqlSelection {
|
|
|
7484
7591
|
query?: (EventQueryDto | null);
|
|
7485
7592
|
};
|
|
7486
7593
|
});
|
|
7594
|
+
getEventsMissingCourseData?: (PaginatedEventsGenqlSelection & {
|
|
7595
|
+
__args?: {
|
|
7596
|
+
query?: (EventQueryDto | null);
|
|
7597
|
+
};
|
|
7598
|
+
});
|
|
7487
7599
|
getBudgetsByAthlete?: BudgetDataGenqlSelection;
|
|
7488
7600
|
getDonationsByAthlete?: ReceiptGenqlSelection;
|
|
7489
7601
|
getDonationsToAthlete?: (DonationGenqlSelection & {
|
|
@@ -8064,6 +8176,11 @@ export interface MutationGenqlSelection {
|
|
|
8064
8176
|
input: EditValueDto;
|
|
8065
8177
|
};
|
|
8066
8178
|
});
|
|
8179
|
+
confirmProfileVitals?: (ConfirmProfileVitalsResponseGenqlSelection & {
|
|
8180
|
+
__args: {
|
|
8181
|
+
input: ConfirmProfileVitalsDto;
|
|
8182
|
+
};
|
|
8183
|
+
});
|
|
8067
8184
|
editPicture?: (EditPictureResponseGenqlSelection & {
|
|
8068
8185
|
__args: {
|
|
8069
8186
|
input: EditPictureDto;
|
|
@@ -9197,6 +9314,9 @@ export declare const isAthleteClubMember: (obj?: {
|
|
|
9197
9314
|
export declare const isAthleteClub: (obj?: {
|
|
9198
9315
|
__typename?: any;
|
|
9199
9316
|
} | null) => obj is AthleteClub;
|
|
9317
|
+
export declare const isActivityLoad: (obj?: {
|
|
9318
|
+
__typename?: any;
|
|
9319
|
+
} | null) => obj is ActivityLoad;
|
|
9200
9320
|
export declare const isActivityEntry: (obj?: {
|
|
9201
9321
|
__typename?: any;
|
|
9202
9322
|
} | null) => obj is ActivityEntry;
|
|
@@ -9224,6 +9344,12 @@ export declare const isTopMetric: (obj?: {
|
|
|
9224
9344
|
export declare const isComponentSummary: (obj?: {
|
|
9225
9345
|
__typename?: any;
|
|
9226
9346
|
} | null) => obj is ComponentSummary;
|
|
9347
|
+
export declare const isComponentPresence: (obj?: {
|
|
9348
|
+
__typename?: any;
|
|
9349
|
+
} | null) => obj is ComponentPresence;
|
|
9350
|
+
export declare const isScorePresence: (obj?: {
|
|
9351
|
+
__typename?: any;
|
|
9352
|
+
} | null) => obj is ScorePresence;
|
|
9227
9353
|
export declare const isDashboardSummary: (obj?: {
|
|
9228
9354
|
__typename?: any;
|
|
9229
9355
|
} | null) => obj is DashboardSummary;
|
|
@@ -9320,6 +9446,9 @@ export declare const isCompetitionDeleteVerificationReason: (obj?: {
|
|
|
9320
9446
|
export declare const isCompetitionDeleteVerificationResponse: (obj?: {
|
|
9321
9447
|
__typename?: any;
|
|
9322
9448
|
} | null) => obj is CompetitionDeleteVerificationResponse;
|
|
9449
|
+
export declare const isConfirmProfileVitalsResponse: (obj?: {
|
|
9450
|
+
__typename?: any;
|
|
9451
|
+
} | null) => obj is ConfirmProfileVitalsResponse;
|
|
9323
9452
|
export declare const isDataExportRequest: (obj?: {
|
|
9324
9453
|
__typename?: any;
|
|
9325
9454
|
} | null) => obj is DataExportRequest;
|
|
@@ -9503,6 +9632,9 @@ export declare const isPaginatedUsers: (obj?: {
|
|
|
9503
9632
|
export declare const isPendingSuggestionGroup: (obj?: {
|
|
9504
9633
|
__typename?: any;
|
|
9505
9634
|
} | null) => obj is PendingSuggestionGroup;
|
|
9635
|
+
export declare const isProfileVitalsStatus: (obj?: {
|
|
9636
|
+
__typename?: any;
|
|
9637
|
+
} | null) => obj is ProfileVitalsStatus;
|
|
9506
9638
|
export declare const isProviderConnectionStatus: (obj?: {
|
|
9507
9639
|
__typename?: any;
|
|
9508
9640
|
} | null) => obj is ProviderConnectionStatus;
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.isSubscriptionPayment = exports.isPlanSubscription = exports.isSubscriptionInvoice = exports.isInvoice = exports.isPlanPrice = exports.isPlan = exports.isPlaFeature = exports.isPayment = exports.isInvoiceItem = exports.isBillEntity = exports.isSignedAgreement = exports.isAgreement = exports.isAthleteRankings = exports.isRanking = exports.isSportLevel = exports.isSportLevelTranslation = exports.isVtxScores = exports.isSport = exports.isFollowStats = exports.isUriAvailableType = exports.isTenantWithUserLogin = exports.isDecodedRefreshToken = exports.isDecodedToken = exports.isUserToken = exports.isDomainCredential = exports.isDomain = exports.isTenant = exports.isBaseTenant = exports.isUserWithToken = exports.isUser = exports.isCreateDefaultNotificationPreferenceResult = exports.isAdminUserDetail = exports.isAdminAthleteExtras = exports.isAdminAthleteCounts = exports.isAdminLatestCompetition = exports.isAdminHistoricalScoreEntry = exports.isAdminCampaignsSummary = exports.isAdminCampaignRecent = exports.isAdminCampaignCurrent = exports.isAdminWallet = exports.isAdminIntegrations = exports.isAdminInstagramIntegration = exports.isAdminStravaIntegration = exports.isAdminNotificationStatus = exports.isAdminDeviceToken = exports.isAdminTransactionView = exports.isAdminTransactionFundingDetails = exports.isAddValuesResponse = exports.isErrorType = exports.isSortOrder = void 0;
|
|
4
4
|
exports.isTeamClubReference = exports.isFundRaisingCampaign = exports.isClub = exports.isVideo = exports.isAthleteCompetition = exports.isAlbum = exports.isPhotoAlbum = exports.isAthleteCompetitionResult = exports.isSportsEvent = exports.isBudget = exports.isBudgetItem = exports.isWorldLocation = exports.isAthleteTeam = exports.isAthleteTeamMember = exports.isBrand = exports.isBrandTranslation = exports.isBrandStats = exports.isSponsor = exports.isSponsorship = exports.isSponsorshipTranslation = exports.isSponsorshipStats = exports.isDuration = exports.isSponsorshipCommitment = exports.isSponsorshipItem = exports.isQualificationTypeUnion = exports.isAthleteCriteria = exports.isSportsLevelQualification = exports.isSportsQualification = exports.isDistanceQualification = exports.isNationalityQualification = exports.isLocationQualification = exports.isScoreQualification = exports.isGenderQualification = exports.isAgeQualification = exports.isQualification = exports.isCountry = exports.isState = exports.isCity = exports.isSponsorStats = exports.isIndustry = exports.isCodeVerificationResponse = exports.isTextDatabaseFile = exports.isDatabaseFile = exports.isAWSS3CallResult = exports.isAWSS3UploadUrl = exports.isHttpRequestField = exports.isErrorInfo = exports.isVerificationCode = exports.isMagicLink = exports.isAWSS3File = void 0;
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.enumIntegrationProvider = exports.enumPlanPeriod = exports.enumTaxCalculation = exports.enumBrandOperatorType = exports.enumCompetitionDeleteVerificationCase = exports.enumVisibilityScope = exports.enumEventLevel = exports.enumChannelTypeEnum = exports.enumTransactionType = exports.enumVideoSource = exports.enumSponsorAthleteInvitationStatus = exports.enumApplicationStatus = exports.enumOfferType = exports.enumOfferStatus = exports.enumDiscountType = exports.enumCompetitionOutcome = exports.enumPeriodicity = exports.enumQualificationTypeEnum = exports.enumQualificationOperator = exports.enumScoreType = exports.enumStripeQueryOperation = exports.enumTaskStatus = exports.enumAgeDetermination = exports.enumCompetitionResultType = exports.enumCommitmentTypeEnum = exports.enumNumberOfAthletesSponsored = exports.enumCompanySize = exports.enumCommitmentActionType = exports.enumCommitmentMedia = exports.enumRequestItemType = exports.enumAthleteSponsorshipStatus = exports.enumAthleteRequestStatus = exports.enumMatchMode = void 0;
|
|
5
|
+
exports.isInstagramPaging = exports.isInstagramCursors = exports.isStravaAthleteData = exports.isRankContext = exports.isRankHistoryEntry = exports.isScoreHistoryEntry = exports.isDashboardSummary = exports.isScorePresence = exports.isComponentPresence = exports.isComponentSummary = exports.isTopMetric = exports.isActivityDetail = exports.isScoreInfo = exports.isMetricComparison = exports.isActivityDatesResponse = exports.isActivityDateEntry = exports.isActivitiesResponse = exports.isActivityEntry = exports.isActivityLoad = exports.isAthleteClub = exports.isAthleteClubMember = exports.isAiCoachThread = exports.isAiCoachUnreadNudgeCountResponse = exports.isAiCoachNudgeListResponse = exports.isAiCoachNudge = exports.isAiCoachMessage = exports.isAiCoachConfig = exports.isAdminUser = exports.isAdminUserView = exports.isMember = exports.isDonation = exports.isAthlete = exports.isAthleteReference = exports.isVerifiedAthleteStatusType = exports.isHistoricalScore = exports.isStripeAccountReference = exports.isStripeAccount = exports.isStripeFutureRequirementType = exports.isStripeRequirementType = exports.isStripeErrorType = exports.isStripeFutureRequirementAlternativeType = exports.isStripeRequirementAlternativeType = exports.isStripeCapabilityType = exports.isAthletePreferences = exports.isChannel = exports.isNewsLink = exports.isAthleteMembership = exports.isMembershipOrganization = exports.isMembershipOrganizationReference = exports.isTeam = void 0;
|
|
6
|
+
exports.isForceScoreRefreshResponse = exports.isForceScoreRefreshResult = exports.isRefreshDiagnostics = exports.isScoreRefreshDetail = exports.isIsFollowingResponse = exports.isFollowedAthletesListResponse = exports.isFollowedAthleteInfo = exports.isExistValueResponse = exports.isEmailCampaignPage = exports.isEmailCampaign = exports.isEmailSegment = exports.isEmailCampaignDelivery = exports.isEligibilityResult = exports.isEditValueResponse = exports.isEditPictureResponse = exports.isDonationThankYou = exports.isDeviceTokenType = exports.isDeleteVtxUserResponse = exports.isDeleteValuesResponse = exports.isDeleteSingleValueResponse = exports.isDeleteOnboardingAthleteResponse = exports.isDeleteMemberResponse = exports.isDeleteAthleteResponse = exports.isDataExportRequest = exports.isConfirmProfileVitalsResponse = exports.isCompetitionDeleteVerificationResponse = exports.isCompetitionDeleteVerificationReason = exports.isClientCompatibilityType = exports.isCheckoutSession = exports.isBudgetData = exports.isCampaignBudgetData = exports.isCompetitionBudgetData = exports.isBaseBudgetData = exports.isCompetitionBudgetReference = exports.isBudgetReference = exports.isBudgetItemReference = exports.isBudgetItemUnit = exports.isBudgetConcept = exports.isBrowseCampaignsResult = exports.isBlogPost = exports.isAudiencePreview = exports.isAudiencePreviewUser = exports.isAthleteQueryResponse = exports.isCursorPaginationResponse = exports.isAthleteIntegrationReference = exports.isInstagramUserData = exports.isInstagramMediaData = exports.isInstagramMediaItem = exports.isInstagramInsights = exports.isInstagramMetric = void 0;
|
|
7
|
+
exports.isPostMetricType = exports.isSocialAggregateType = exports.isSendGridTemplate = exports.isSeedAdminResult = exports.isCheckScoreRefreshCapabilityResponse = exports.isScoreRefreshCapability = exports.isRemoveAdminUserResponse = exports.isReceipt = exports.isReceiptUrl = exports.isPushCampaignType = exports.isPublicIntegrationStatus = exports.isProviderConnectionStatus = exports.isProfileVitalsStatus = exports.isPendingSuggestionGroup = exports.isPaginatedUsers = exports.isPaginatedTransactions = exports.isPaginatedSports = exports.isPaginatedSponsors = exports.isPaginatedOffers = exports.isPaginatedOfferApplications = exports.isPaginatedEvents = exports.isPaginatedBrands = exports.isSportQueryResults = exports.isOffsetPaginationResponse = exports.isOnboardingProgressResponse = exports.isPaginatedOffersWithEligibility = exports.isOfferWithEligibility = exports.isOfferClaim = exports.isCoupon = exports.isCouponCode = exports.isPromotion = exports.isOffer = exports.isOfferAvailability = exports.isUnreadCountResponse = exports.isNotificationListResponse = exports.isNotification = exports.isNotificationPreference = exports.isMergeEventsResponse = exports.isUserRank = exports.isLeaderboardResponse = exports.isLeaderboardPagination = exports.isLeaderboardFilters = exports.isLeaderboardEntry = exports.isHistoricalScoresPeriod = exports.isHealthKitSubmitResult = exports.isHealthKitRejectedItem = exports.isFundingCheckoutSessionData = exports.isPaginatedDonations = exports.isEnhancedPaginationInfoType = exports.isDonationDates = void 0;
|
|
8
|
+
exports.enumEligibilityReason = exports.enumAdminRole = exports.enumTimeRange = exports.enumPostSortOption = exports.enumStripeTransferStatus = exports.enumPeriodType = exports.enumContentType = exports.enumPlatform = exports.enumForceScoreRefreshStatus = exports.enumEligibilityStatus = exports.enumFundingMode = exports.enumFundingStatus = exports.enumActivityCategory = exports.enumDiscrepancyStatus = exports.enumCompetitionVerificationTier = exports.isMutation = exports.isQuery = exports.isSponsorUserInvitation = exports.isSponsorOrgUser = exports.isStravaTpiSwimDto = exports.isStravaTpiRunDto = exports.isStravaTpiRideDto = exports.isValidatedToken = exports.isUserImages = exports.isUserDomain = exports.isVersionMixRow = exports.isActiveNowSnapshot = exports.isUsageRetentionRow = exports.isUsageFunnelRow = exports.isUsageRollupRow = exports.isTrackResult = exports.isUploadResult = exports.isTransactionDetails = exports.isTeamDashboard = exports.isTeamRosterOverview = exports.isTeamAnalytics = exports.isTeamLeaderboardEntry = exports.isTeamVtxScoreHistoryEntry = exports.isStripeTransfer = exports.isStripeSession = exports.isStripeCheckoutSession = exports.isStripeBalance = exports.isCurrencyAmountType = exports.isStripeAccountStatus = exports.isStripeObject = exports.isSponsorUserPreferences = exports.isSponsorOnboardingData = exports.isSponsorAthleteInvitation = exports.isPostComparisonResultType = exports.isAveragesType = void 0;
|
|
9
|
+
exports.enumIntegrationProvider = exports.enumPlanPeriod = exports.enumTaxCalculation = exports.enumBrandOperatorType = exports.enumCompetitionDeleteVerificationCase = exports.enumVisibilityScope = exports.enumEventLevel = exports.enumChannelTypeEnum = exports.enumTransactionType = exports.enumVideoSource = exports.enumSponsorAthleteInvitationStatus = exports.enumApplicationStatus = exports.enumOfferType = exports.enumOfferStatus = exports.enumDiscountType = exports.enumCompetitionOutcome = exports.enumPeriodicity = exports.enumQualificationTypeEnum = exports.enumQualificationOperator = exports.enumScoreType = exports.enumStripeQueryOperation = exports.enumTaskStatus = exports.enumAgeDetermination = exports.enumCompetitionResultType = exports.enumCommitmentTypeEnum = exports.enumNumberOfAthletesSponsored = exports.enumCompanySize = exports.enumCommitmentActionType = exports.enumCommitmentMedia = exports.enumRequestItemType = exports.enumAthleteSponsorshipStatus = exports.enumAthleteRequestStatus = exports.enumMatchMode = exports.enumTimeUnit = exports.enumCompetitionGender = exports.enumOfferClaimStatus = exports.enumSponsorRole = exports.enumDonationMode = void 0;
|
|
10
10
|
const SortOrder_possibleTypes = ['SortOrder'];
|
|
11
11
|
const isSortOrder = (obj) => {
|
|
12
12
|
if (!obj?.__typename)
|
|
@@ -924,6 +924,13 @@ const isAthleteClub = (obj) => {
|
|
|
924
924
|
return AthleteClub_possibleTypes.includes(obj.__typename);
|
|
925
925
|
};
|
|
926
926
|
exports.isAthleteClub = isAthleteClub;
|
|
927
|
+
const ActivityLoad_possibleTypes = ['ActivityLoad'];
|
|
928
|
+
const isActivityLoad = (obj) => {
|
|
929
|
+
if (!obj?.__typename)
|
|
930
|
+
throw new Error('__typename is missing in "isActivityLoad"');
|
|
931
|
+
return ActivityLoad_possibleTypes.includes(obj.__typename);
|
|
932
|
+
};
|
|
933
|
+
exports.isActivityLoad = isActivityLoad;
|
|
927
934
|
const ActivityEntry_possibleTypes = ['ActivityEntry'];
|
|
928
935
|
const isActivityEntry = (obj) => {
|
|
929
936
|
if (!obj?.__typename)
|
|
@@ -987,6 +994,20 @@ const isComponentSummary = (obj) => {
|
|
|
987
994
|
return ComponentSummary_possibleTypes.includes(obj.__typename);
|
|
988
995
|
};
|
|
989
996
|
exports.isComponentSummary = isComponentSummary;
|
|
997
|
+
const ComponentPresence_possibleTypes = ['ComponentPresence'];
|
|
998
|
+
const isComponentPresence = (obj) => {
|
|
999
|
+
if (!obj?.__typename)
|
|
1000
|
+
throw new Error('__typename is missing in "isComponentPresence"');
|
|
1001
|
+
return ComponentPresence_possibleTypes.includes(obj.__typename);
|
|
1002
|
+
};
|
|
1003
|
+
exports.isComponentPresence = isComponentPresence;
|
|
1004
|
+
const ScorePresence_possibleTypes = ['ScorePresence'];
|
|
1005
|
+
const isScorePresence = (obj) => {
|
|
1006
|
+
if (!obj?.__typename)
|
|
1007
|
+
throw new Error('__typename is missing in "isScorePresence"');
|
|
1008
|
+
return ScorePresence_possibleTypes.includes(obj.__typename);
|
|
1009
|
+
};
|
|
1010
|
+
exports.isScorePresence = isScorePresence;
|
|
990
1011
|
const DashboardSummary_possibleTypes = ['DashboardSummary'];
|
|
991
1012
|
const isDashboardSummary = (obj) => {
|
|
992
1013
|
if (!obj?.__typename)
|
|
@@ -1211,6 +1232,13 @@ const isCompetitionDeleteVerificationResponse = (obj) => {
|
|
|
1211
1232
|
return CompetitionDeleteVerificationResponse_possibleTypes.includes(obj.__typename);
|
|
1212
1233
|
};
|
|
1213
1234
|
exports.isCompetitionDeleteVerificationResponse = isCompetitionDeleteVerificationResponse;
|
|
1235
|
+
const ConfirmProfileVitalsResponse_possibleTypes = ['ConfirmProfileVitalsResponse'];
|
|
1236
|
+
const isConfirmProfileVitalsResponse = (obj) => {
|
|
1237
|
+
if (!obj?.__typename)
|
|
1238
|
+
throw new Error('__typename is missing in "isConfirmProfileVitalsResponse"');
|
|
1239
|
+
return ConfirmProfileVitalsResponse_possibleTypes.includes(obj.__typename);
|
|
1240
|
+
};
|
|
1241
|
+
exports.isConfirmProfileVitalsResponse = isConfirmProfileVitalsResponse;
|
|
1214
1242
|
const DataExportRequest_possibleTypes = ['DataExportRequest'];
|
|
1215
1243
|
const isDataExportRequest = (obj) => {
|
|
1216
1244
|
if (!obj?.__typename)
|
|
@@ -1638,6 +1666,13 @@ const isPendingSuggestionGroup = (obj) => {
|
|
|
1638
1666
|
return PendingSuggestionGroup_possibleTypes.includes(obj.__typename);
|
|
1639
1667
|
};
|
|
1640
1668
|
exports.isPendingSuggestionGroup = isPendingSuggestionGroup;
|
|
1669
|
+
const ProfileVitalsStatus_possibleTypes = ['ProfileVitalsStatus'];
|
|
1670
|
+
const isProfileVitalsStatus = (obj) => {
|
|
1671
|
+
if (!obj?.__typename)
|
|
1672
|
+
throw new Error('__typename is missing in "isProfileVitalsStatus"');
|
|
1673
|
+
return ProfileVitalsStatus_possibleTypes.includes(obj.__typename);
|
|
1674
|
+
};
|
|
1675
|
+
exports.isProfileVitalsStatus = isProfileVitalsStatus;
|
|
1641
1676
|
const ProviderConnectionStatus_possibleTypes = ['ProviderConnectionStatus'];
|
|
1642
1677
|
const isProviderConnectionStatus = (obj) => {
|
|
1643
1678
|
if (!obj?.__typename)
|