@vertikalx/vtx-backend-client 3.0.0-dev.27 → 3.0.0-dev.29
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/LICENSE.md +0 -0
- package/package.json +1 -1
- package/src/api/vtx-base-api.d.ts +40 -1
- package/src/api/vtx-base-api.js +384 -0
- package/src/api/vtx-base-api.js.map +1 -1
- package/src/client/schema.d.ts +484 -0
- package/src/client/schema.js +140 -1
- package/src/client/schema.js.map +1 -1
- package/src/client/types.d.ts +230 -0
- package/src/client/types.js +757 -162
- package/src/client/types.js.map +1 -1
- package/tsconfig.lib.tsbuildinfo +1 -1
package/src/client/schema.d.ts
CHANGED
|
@@ -707,6 +707,7 @@ export interface AthleteCompetitionResult {
|
|
|
707
707
|
categoryPosition: (Scalars['Float'] | null);
|
|
708
708
|
categoryParticipants: (Scalars['Float'] | null);
|
|
709
709
|
categoryName: (Scalars['String'] | null);
|
|
710
|
+
pointsEarned: (Scalars['Float'] | null);
|
|
710
711
|
__typename: 'AthleteCompetitionResult';
|
|
711
712
|
}
|
|
712
713
|
export interface BudgetItem {
|
|
@@ -1760,8 +1761,154 @@ export interface UserRank {
|
|
|
1760
1761
|
scoreType: Scalars['String'];
|
|
1761
1762
|
__typename: 'UserRank';
|
|
1762
1763
|
}
|
|
1764
|
+
export interface DashboardSummary {
|
|
1765
|
+
vtxScore: Scalars['Float'];
|
|
1766
|
+
socialScore: Scalars['Float'];
|
|
1767
|
+
trainingScore: Scalars['Float'];
|
|
1768
|
+
competitionScore: Scalars['Float'];
|
|
1769
|
+
lastUpdated: Scalars['DateTime'];
|
|
1770
|
+
__typename: 'DashboardSummary';
|
|
1771
|
+
}
|
|
1772
|
+
export interface ScoreHistoryEntry {
|
|
1773
|
+
date: Scalars['DateTime'];
|
|
1774
|
+
vtxScore: (Scalars['Float'] | null);
|
|
1775
|
+
socialScore: (Scalars['Float'] | null);
|
|
1776
|
+
trainingScore: (Scalars['Float'] | null);
|
|
1777
|
+
competitionScore: (Scalars['Float'] | null);
|
|
1778
|
+
__typename: 'ScoreHistoryEntry';
|
|
1779
|
+
}
|
|
1780
|
+
export interface RankHistoryEntry {
|
|
1781
|
+
date: Scalars['DateTime'];
|
|
1782
|
+
globalRank: (Scalars['Int'] | null);
|
|
1783
|
+
countryRank: (Scalars['Int'] | null);
|
|
1784
|
+
__typename: 'RankHistoryEntry';
|
|
1785
|
+
}
|
|
1786
|
+
export interface RankContext {
|
|
1787
|
+
globalRank: (Scalars['Int'] | null);
|
|
1788
|
+
countryRank: (Scalars['Int'] | null);
|
|
1789
|
+
rankChange: (Scalars['Int'] | null);
|
|
1790
|
+
percentile: (Scalars['String'] | null);
|
|
1791
|
+
gapToNext: (Scalars['Float'] | null);
|
|
1792
|
+
gapFromPrevious: (Scalars['Float'] | null);
|
|
1793
|
+
totalAthletes: (Scalars['Int'] | null);
|
|
1794
|
+
__typename: 'RankContext';
|
|
1795
|
+
}
|
|
1796
|
+
export interface ActivityEntry {
|
|
1797
|
+
id: Scalars['String'];
|
|
1798
|
+
date: Scalars['DateTime'];
|
|
1799
|
+
type: Scalars['String'];
|
|
1800
|
+
metrics: (Scalars['JSONObject'] | null);
|
|
1801
|
+
pointsEarned: Scalars['Float'];
|
|
1802
|
+
counted: Scalars['Boolean'];
|
|
1803
|
+
notCountedReason: (Scalars['String'] | null);
|
|
1804
|
+
__typename: 'ActivityEntry';
|
|
1805
|
+
}
|
|
1806
|
+
export interface ActivitiesResponse {
|
|
1807
|
+
items: ActivityEntry[];
|
|
1808
|
+
total: Scalars['Int'];
|
|
1809
|
+
hasMore: Scalars['Boolean'];
|
|
1810
|
+
__typename: 'ActivitiesResponse';
|
|
1811
|
+
}
|
|
1812
|
+
export interface MetricComparison {
|
|
1813
|
+
name: Scalars['String'];
|
|
1814
|
+
value: (Scalars['Float'] | null);
|
|
1815
|
+
unit: (Scalars['String'] | null);
|
|
1816
|
+
athleteAverage: (Scalars['Float'] | null);
|
|
1817
|
+
comparisonPercent: (Scalars['Float'] | null);
|
|
1818
|
+
__typename: 'MetricComparison';
|
|
1819
|
+
}
|
|
1820
|
+
export interface ScoreInfo {
|
|
1821
|
+
earned: Scalars['Float'];
|
|
1822
|
+
maxPossible: Scalars['Float'];
|
|
1823
|
+
componentAverage: (Scalars['Float'] | null);
|
|
1824
|
+
__typename: 'ScoreInfo';
|
|
1825
|
+
}
|
|
1826
|
+
export interface ActivityDetail {
|
|
1827
|
+
id: Scalars['String'];
|
|
1828
|
+
date: Scalars['DateTime'];
|
|
1829
|
+
type: Scalars['String'];
|
|
1830
|
+
category: Scalars['String'];
|
|
1831
|
+
metrics: MetricComparison[];
|
|
1832
|
+
scoreInfo: ScoreInfo;
|
|
1833
|
+
__typename: 'ActivityDetail';
|
|
1834
|
+
}
|
|
1835
|
+
export interface TopMetric {
|
|
1836
|
+
name: Scalars['String'];
|
|
1837
|
+
status: Scalars['String'];
|
|
1838
|
+
__typename: 'TopMetric';
|
|
1839
|
+
}
|
|
1840
|
+
export interface ComponentSummary {
|
|
1841
|
+
name: Scalars['String'];
|
|
1842
|
+
score: Scalars['Float'];
|
|
1843
|
+
maxScore: Scalars['Float'];
|
|
1844
|
+
trend: (Scalars['Float'] | null);
|
|
1845
|
+
trendPeriod: Scalars['String'];
|
|
1846
|
+
activityCount: Scalars['Int'];
|
|
1847
|
+
avgScorePerActivity: (Scalars['Float'] | null);
|
|
1848
|
+
topMetrics: TopMetric[];
|
|
1849
|
+
newMaxActivityIds: (Scalars['String'][] | null);
|
|
1850
|
+
__typename: 'ComponentSummary';
|
|
1851
|
+
}
|
|
1852
|
+
export interface SocialAggregateType {
|
|
1853
|
+
_id: Scalars['ID'];
|
|
1854
|
+
athleteId: Scalars['String'];
|
|
1855
|
+
platform: Platform;
|
|
1856
|
+
contentType: (ContentType | null);
|
|
1857
|
+
periodType: PeriodType;
|
|
1858
|
+
periodLabel: Scalars['String'];
|
|
1859
|
+
periodStart: Scalars['DateTime'];
|
|
1860
|
+
periodEnd: Scalars['DateTime'];
|
|
1861
|
+
totalLikes: Scalars['Int'];
|
|
1862
|
+
totalComments: Scalars['Int'];
|
|
1863
|
+
totalShares: Scalars['Int'];
|
|
1864
|
+
totalSaves: Scalars['Int'];
|
|
1865
|
+
totalReach: Scalars['Int'];
|
|
1866
|
+
totalViews: Scalars['Int'];
|
|
1867
|
+
totalImpressions: Scalars['Int'];
|
|
1868
|
+
postCount: Scalars['Int'];
|
|
1869
|
+
followerCount: Scalars['Int'];
|
|
1870
|
+
avgEngagementRate: Scalars['Float'];
|
|
1871
|
+
avgPostEngagement: Scalars['Float'];
|
|
1872
|
+
__typename: 'SocialAggregateType';
|
|
1873
|
+
}
|
|
1874
|
+
export type Platform = 'INSTAGRAM' | 'TIKTOK' | 'YOUTUBE';
|
|
1875
|
+
export type ContentType = 'POST' | 'REEL' | 'LIVE' | 'SHORT' | 'VIDEO';
|
|
1876
|
+
export type PeriodType = 'DAILY' | 'WEEKLY';
|
|
1877
|
+
export interface PostMetricType {
|
|
1878
|
+
id: Scalars['ID'];
|
|
1879
|
+
postId: Scalars['String'];
|
|
1880
|
+
permalink: (Scalars['String'] | null);
|
|
1881
|
+
thumbnailUrl: (Scalars['String'] | null);
|
|
1882
|
+
contentType: (ContentType | null);
|
|
1883
|
+
caption: (Scalars['String'] | null);
|
|
1884
|
+
postedAt: Scalars['DateTime'];
|
|
1885
|
+
likes: Scalars['Int'];
|
|
1886
|
+
comments: Scalars['Int'];
|
|
1887
|
+
shares: Scalars['Int'];
|
|
1888
|
+
saves: Scalars['Int'];
|
|
1889
|
+
reach: (Scalars['Int'] | null);
|
|
1890
|
+
vsAvgPercent: Scalars['Float'];
|
|
1891
|
+
__typename: 'PostMetricType';
|
|
1892
|
+
}
|
|
1893
|
+
export interface AveragesType {
|
|
1894
|
+
likes: Scalars['Float'];
|
|
1895
|
+
comments: Scalars['Float'];
|
|
1896
|
+
reach: (Scalars['Float'] | null);
|
|
1897
|
+
engagementRate: Scalars['Float'];
|
|
1898
|
+
__typename: 'AveragesType';
|
|
1899
|
+
}
|
|
1900
|
+
export interface PostComparisonResultType {
|
|
1901
|
+
posts: PostMetricType[];
|
|
1902
|
+
averages: AveragesType;
|
|
1903
|
+
total: Scalars['Int'];
|
|
1904
|
+
hasMore: Scalars['Boolean'];
|
|
1905
|
+
__typename: 'PostComparisonResultType';
|
|
1906
|
+
}
|
|
1907
|
+
export type TimeRange = 'SEVEN_DAYS' | 'THIRTY_DAYS' | 'NINETY_DAYS' | 'ONE_YEAR' | 'ALL_TIME';
|
|
1908
|
+
export type ActivityCategory = 'TRAINING' | 'SOCIAL' | 'COMPETITION';
|
|
1763
1909
|
export type DonationMode = 'PUBLIC' | 'PRIVATE' | 'ANONYMOUS';
|
|
1764
1910
|
export type OfferClaimStatus = 'ACTIVE' | 'EXPIRED' | 'ALL';
|
|
1911
|
+
export type PostSortOption = 'RECENT' | 'TOP' | 'UNDERPERFORMING';
|
|
1765
1912
|
export interface Query {
|
|
1766
1913
|
findTenantById: Tenant;
|
|
1767
1914
|
findTenantByEmail: Tenant;
|
|
@@ -1858,6 +2005,15 @@ export interface Query {
|
|
|
1858
2005
|
offersWithEligibility: PaginatedOffersWithEligibility;
|
|
1859
2006
|
getLeaderboard: LeaderboardResponse;
|
|
1860
2007
|
getUserRank: UserRank;
|
|
2008
|
+
athleteDashboard: DashboardSummary;
|
|
2009
|
+
athleteScoreHistory: ScoreHistoryEntry[];
|
|
2010
|
+
athleteRankHistory: RankHistoryEntry[];
|
|
2011
|
+
athleteRankContext: RankContext;
|
|
2012
|
+
athleteActivities: ActivitiesResponse;
|
|
2013
|
+
athleteActivityDetail: ActivityDetail;
|
|
2014
|
+
athleteComponentSummary: ComponentSummary;
|
|
2015
|
+
socialAggregates: SocialAggregateType[];
|
|
2016
|
+
postsWithComparison: PostComparisonResultType;
|
|
1861
2017
|
__typename: 'Query';
|
|
1862
2018
|
}
|
|
1863
2019
|
export interface Mutation {
|
|
@@ -1938,6 +2094,7 @@ export interface Mutation {
|
|
|
1938
2094
|
createAthleteMembershipAffilation: AthleteMembership;
|
|
1939
2095
|
deleteAthleteMembershipAffilation: DeleteSingleValueResponse;
|
|
1940
2096
|
updateAthleteIntegration: Scalars['Boolean'];
|
|
2097
|
+
unlinkInstagram: Scalars['Boolean'];
|
|
1941
2098
|
createStripeAccount: StripeAccountReference;
|
|
1942
2099
|
createAthleteStripeSession: StripeSession;
|
|
1943
2100
|
createStripeCheckoutSession: StripeCheckoutSession;
|
|
@@ -2735,6 +2892,7 @@ export interface AthleteCompetitionResultGenqlSelection {
|
|
|
2735
2892
|
categoryPosition?: boolean | number;
|
|
2736
2893
|
categoryParticipants?: boolean | number;
|
|
2737
2894
|
categoryName?: boolean | number;
|
|
2895
|
+
pointsEarned?: boolean | number;
|
|
2738
2896
|
__typename?: boolean | number;
|
|
2739
2897
|
__scalar?: boolean | number;
|
|
2740
2898
|
}
|
|
@@ -3889,6 +4047,161 @@ export interface UserRankGenqlSelection {
|
|
|
3889
4047
|
__typename?: boolean | number;
|
|
3890
4048
|
__scalar?: boolean | number;
|
|
3891
4049
|
}
|
|
4050
|
+
export interface DashboardSummaryGenqlSelection {
|
|
4051
|
+
vtxScore?: boolean | number;
|
|
4052
|
+
socialScore?: boolean | number;
|
|
4053
|
+
trainingScore?: boolean | number;
|
|
4054
|
+
competitionScore?: boolean | number;
|
|
4055
|
+
lastUpdated?: boolean | number;
|
|
4056
|
+
__typename?: boolean | number;
|
|
4057
|
+
__scalar?: boolean | number;
|
|
4058
|
+
}
|
|
4059
|
+
export interface ScoreHistoryEntryGenqlSelection {
|
|
4060
|
+
date?: boolean | number;
|
|
4061
|
+
vtxScore?: boolean | number;
|
|
4062
|
+
socialScore?: boolean | number;
|
|
4063
|
+
trainingScore?: boolean | number;
|
|
4064
|
+
competitionScore?: boolean | number;
|
|
4065
|
+
__typename?: boolean | number;
|
|
4066
|
+
__scalar?: boolean | number;
|
|
4067
|
+
}
|
|
4068
|
+
export interface RankHistoryEntryGenqlSelection {
|
|
4069
|
+
date?: boolean | number;
|
|
4070
|
+
globalRank?: boolean | number;
|
|
4071
|
+
countryRank?: boolean | number;
|
|
4072
|
+
__typename?: boolean | number;
|
|
4073
|
+
__scalar?: boolean | number;
|
|
4074
|
+
}
|
|
4075
|
+
export interface RankContextGenqlSelection {
|
|
4076
|
+
globalRank?: boolean | number;
|
|
4077
|
+
countryRank?: boolean | number;
|
|
4078
|
+
rankChange?: boolean | number;
|
|
4079
|
+
percentile?: boolean | number;
|
|
4080
|
+
gapToNext?: boolean | number;
|
|
4081
|
+
gapFromPrevious?: boolean | number;
|
|
4082
|
+
totalAthletes?: boolean | number;
|
|
4083
|
+
__typename?: boolean | number;
|
|
4084
|
+
__scalar?: boolean | number;
|
|
4085
|
+
}
|
|
4086
|
+
export interface ActivityEntryGenqlSelection {
|
|
4087
|
+
id?: boolean | number;
|
|
4088
|
+
date?: boolean | number;
|
|
4089
|
+
type?: boolean | number;
|
|
4090
|
+
metrics?: boolean | number;
|
|
4091
|
+
pointsEarned?: boolean | number;
|
|
4092
|
+
counted?: boolean | number;
|
|
4093
|
+
notCountedReason?: boolean | number;
|
|
4094
|
+
__typename?: boolean | number;
|
|
4095
|
+
__scalar?: boolean | number;
|
|
4096
|
+
}
|
|
4097
|
+
export interface ActivitiesResponseGenqlSelection {
|
|
4098
|
+
items?: ActivityEntryGenqlSelection;
|
|
4099
|
+
total?: boolean | number;
|
|
4100
|
+
hasMore?: boolean | number;
|
|
4101
|
+
__typename?: boolean | number;
|
|
4102
|
+
__scalar?: boolean | number;
|
|
4103
|
+
}
|
|
4104
|
+
export interface MetricComparisonGenqlSelection {
|
|
4105
|
+
name?: boolean | number;
|
|
4106
|
+
value?: boolean | number;
|
|
4107
|
+
unit?: boolean | number;
|
|
4108
|
+
athleteAverage?: boolean | number;
|
|
4109
|
+
comparisonPercent?: boolean | number;
|
|
4110
|
+
__typename?: boolean | number;
|
|
4111
|
+
__scalar?: boolean | number;
|
|
4112
|
+
}
|
|
4113
|
+
export interface ScoreInfoGenqlSelection {
|
|
4114
|
+
earned?: boolean | number;
|
|
4115
|
+
maxPossible?: boolean | number;
|
|
4116
|
+
componentAverage?: boolean | number;
|
|
4117
|
+
__typename?: boolean | number;
|
|
4118
|
+
__scalar?: boolean | number;
|
|
4119
|
+
}
|
|
4120
|
+
export interface ActivityDetailGenqlSelection {
|
|
4121
|
+
id?: boolean | number;
|
|
4122
|
+
date?: boolean | number;
|
|
4123
|
+
type?: boolean | number;
|
|
4124
|
+
category?: boolean | number;
|
|
4125
|
+
metrics?: MetricComparisonGenqlSelection;
|
|
4126
|
+
scoreInfo?: ScoreInfoGenqlSelection;
|
|
4127
|
+
__typename?: boolean | number;
|
|
4128
|
+
__scalar?: boolean | number;
|
|
4129
|
+
}
|
|
4130
|
+
export interface TopMetricGenqlSelection {
|
|
4131
|
+
name?: boolean | number;
|
|
4132
|
+
status?: boolean | number;
|
|
4133
|
+
__typename?: boolean | number;
|
|
4134
|
+
__scalar?: boolean | number;
|
|
4135
|
+
}
|
|
4136
|
+
export interface ComponentSummaryGenqlSelection {
|
|
4137
|
+
name?: boolean | number;
|
|
4138
|
+
score?: boolean | number;
|
|
4139
|
+
maxScore?: boolean | number;
|
|
4140
|
+
trend?: boolean | number;
|
|
4141
|
+
trendPeriod?: boolean | number;
|
|
4142
|
+
activityCount?: boolean | number;
|
|
4143
|
+
avgScorePerActivity?: boolean | number;
|
|
4144
|
+
topMetrics?: TopMetricGenqlSelection;
|
|
4145
|
+
newMaxActivityIds?: boolean | number;
|
|
4146
|
+
__typename?: boolean | number;
|
|
4147
|
+
__scalar?: boolean | number;
|
|
4148
|
+
}
|
|
4149
|
+
export interface SocialAggregateTypeGenqlSelection {
|
|
4150
|
+
_id?: boolean | number;
|
|
4151
|
+
athleteId?: boolean | number;
|
|
4152
|
+
platform?: boolean | number;
|
|
4153
|
+
contentType?: boolean | number;
|
|
4154
|
+
periodType?: boolean | number;
|
|
4155
|
+
periodLabel?: boolean | number;
|
|
4156
|
+
periodStart?: boolean | number;
|
|
4157
|
+
periodEnd?: boolean | number;
|
|
4158
|
+
totalLikes?: boolean | number;
|
|
4159
|
+
totalComments?: boolean | number;
|
|
4160
|
+
totalShares?: boolean | number;
|
|
4161
|
+
totalSaves?: boolean | number;
|
|
4162
|
+
totalReach?: boolean | number;
|
|
4163
|
+
totalViews?: boolean | number;
|
|
4164
|
+
totalImpressions?: boolean | number;
|
|
4165
|
+
postCount?: boolean | number;
|
|
4166
|
+
followerCount?: boolean | number;
|
|
4167
|
+
avgEngagementRate?: boolean | number;
|
|
4168
|
+
avgPostEngagement?: boolean | number;
|
|
4169
|
+
__typename?: boolean | number;
|
|
4170
|
+
__scalar?: boolean | number;
|
|
4171
|
+
}
|
|
4172
|
+
export interface PostMetricTypeGenqlSelection {
|
|
4173
|
+
id?: boolean | number;
|
|
4174
|
+
postId?: boolean | number;
|
|
4175
|
+
permalink?: boolean | number;
|
|
4176
|
+
thumbnailUrl?: boolean | number;
|
|
4177
|
+
contentType?: boolean | number;
|
|
4178
|
+
caption?: boolean | number;
|
|
4179
|
+
postedAt?: boolean | number;
|
|
4180
|
+
likes?: boolean | number;
|
|
4181
|
+
comments?: boolean | number;
|
|
4182
|
+
shares?: boolean | number;
|
|
4183
|
+
saves?: boolean | number;
|
|
4184
|
+
reach?: boolean | number;
|
|
4185
|
+
vsAvgPercent?: boolean | number;
|
|
4186
|
+
__typename?: boolean | number;
|
|
4187
|
+
__scalar?: boolean | number;
|
|
4188
|
+
}
|
|
4189
|
+
export interface AveragesTypeGenqlSelection {
|
|
4190
|
+
likes?: boolean | number;
|
|
4191
|
+
comments?: boolean | number;
|
|
4192
|
+
reach?: boolean | number;
|
|
4193
|
+
engagementRate?: boolean | number;
|
|
4194
|
+
__typename?: boolean | number;
|
|
4195
|
+
__scalar?: boolean | number;
|
|
4196
|
+
}
|
|
4197
|
+
export interface PostComparisonResultTypeGenqlSelection {
|
|
4198
|
+
posts?: PostMetricTypeGenqlSelection;
|
|
4199
|
+
averages?: AveragesTypeGenqlSelection;
|
|
4200
|
+
total?: boolean | number;
|
|
4201
|
+
hasMore?: boolean | number;
|
|
4202
|
+
__typename?: boolean | number;
|
|
4203
|
+
__scalar?: boolean | number;
|
|
4204
|
+
}
|
|
3892
4205
|
export interface CreateDatabaseFileDto {
|
|
3893
4206
|
identifier: Scalars['String'];
|
|
3894
4207
|
version?: Scalars['String'];
|
|
@@ -4508,6 +4821,48 @@ export interface UserRankQueryDto {
|
|
|
4508
4821
|
sportId?: (Scalars['String'] | null);
|
|
4509
4822
|
countryCode?: (Scalars['String'] | null);
|
|
4510
4823
|
}
|
|
4824
|
+
export interface ScoreHistoryQueryDto {
|
|
4825
|
+
athleteId: Scalars['String'];
|
|
4826
|
+
timeRange: TimeRange;
|
|
4827
|
+
}
|
|
4828
|
+
export interface RankHistoryQueryDto {
|
|
4829
|
+
athleteId: Scalars['String'];
|
|
4830
|
+
timeRange: TimeRange;
|
|
4831
|
+
sportId?: (Scalars['String'] | null);
|
|
4832
|
+
countryCode?: (Scalars['String'] | null);
|
|
4833
|
+
}
|
|
4834
|
+
export interface RankContextQueryDto {
|
|
4835
|
+
athleteId: Scalars['String'];
|
|
4836
|
+
sportId?: (Scalars['String'] | null);
|
|
4837
|
+
countryCode?: (Scalars['String'] | null);
|
|
4838
|
+
}
|
|
4839
|
+
export interface ActivitiesQueryDto {
|
|
4840
|
+
athleteId: Scalars['String'];
|
|
4841
|
+
category: ActivityCategory;
|
|
4842
|
+
timeRange: TimeRange;
|
|
4843
|
+
page?: (Scalars['Int'] | null);
|
|
4844
|
+
limit?: (Scalars['Int'] | null);
|
|
4845
|
+
}
|
|
4846
|
+
export interface ActivityDetailQueryDto {
|
|
4847
|
+
athleteId: Scalars['String'];
|
|
4848
|
+
activityId: Scalars['String'];
|
|
4849
|
+
category: Scalars['String'];
|
|
4850
|
+
}
|
|
4851
|
+
export interface ComponentSummaryQueryDto {
|
|
4852
|
+
athleteId: Scalars['String'];
|
|
4853
|
+
component: Scalars['String'];
|
|
4854
|
+
}
|
|
4855
|
+
export interface DateRangeInput {
|
|
4856
|
+
start: Scalars['DateTime'];
|
|
4857
|
+
end: Scalars['DateTime'];
|
|
4858
|
+
}
|
|
4859
|
+
export interface PostComparisonInput {
|
|
4860
|
+
comparisonWindowDays?: (Scalars['Int'] | null);
|
|
4861
|
+
sortBy?: (PostSortOption | null);
|
|
4862
|
+
contentType?: (ContentType | null);
|
|
4863
|
+
limit?: (Scalars['Int'] | null);
|
|
4864
|
+
offset?: (Scalars['Int'] | null);
|
|
4865
|
+
}
|
|
4511
4866
|
export interface QueryGenqlSelection {
|
|
4512
4867
|
findTenantById?: (TenantGenqlSelection & {
|
|
4513
4868
|
__args: {
|
|
@@ -4879,6 +5234,56 @@ export interface QueryGenqlSelection {
|
|
|
4879
5234
|
input: UserRankQueryDto;
|
|
4880
5235
|
};
|
|
4881
5236
|
});
|
|
5237
|
+
athleteDashboard?: (DashboardSummaryGenqlSelection & {
|
|
5238
|
+
__args: {
|
|
5239
|
+
athleteId: Scalars['String'];
|
|
5240
|
+
};
|
|
5241
|
+
});
|
|
5242
|
+
athleteScoreHistory?: (ScoreHistoryEntryGenqlSelection & {
|
|
5243
|
+
__args: {
|
|
5244
|
+
input: ScoreHistoryQueryDto;
|
|
5245
|
+
};
|
|
5246
|
+
});
|
|
5247
|
+
athleteRankHistory?: (RankHistoryEntryGenqlSelection & {
|
|
5248
|
+
__args: {
|
|
5249
|
+
input: RankHistoryQueryDto;
|
|
5250
|
+
};
|
|
5251
|
+
});
|
|
5252
|
+
athleteRankContext?: (RankContextGenqlSelection & {
|
|
5253
|
+
__args: {
|
|
5254
|
+
input: RankContextQueryDto;
|
|
5255
|
+
};
|
|
5256
|
+
});
|
|
5257
|
+
athleteActivities?: (ActivitiesResponseGenqlSelection & {
|
|
5258
|
+
__args: {
|
|
5259
|
+
input: ActivitiesQueryDto;
|
|
5260
|
+
};
|
|
5261
|
+
});
|
|
5262
|
+
athleteActivityDetail?: (ActivityDetailGenqlSelection & {
|
|
5263
|
+
__args: {
|
|
5264
|
+
input: ActivityDetailQueryDto;
|
|
5265
|
+
};
|
|
5266
|
+
});
|
|
5267
|
+
athleteComponentSummary?: (ComponentSummaryGenqlSelection & {
|
|
5268
|
+
__args: {
|
|
5269
|
+
input: ComponentSummaryQueryDto;
|
|
5270
|
+
};
|
|
5271
|
+
});
|
|
5272
|
+
socialAggregates?: (SocialAggregateTypeGenqlSelection & {
|
|
5273
|
+
__args: {
|
|
5274
|
+
athleteId: Scalars['ID'];
|
|
5275
|
+
platform: Platform;
|
|
5276
|
+
range: DateRangeInput;
|
|
5277
|
+
periodType?: (PeriodType | null);
|
|
5278
|
+
};
|
|
5279
|
+
});
|
|
5280
|
+
postsWithComparison?: (PostComparisonResultTypeGenqlSelection & {
|
|
5281
|
+
__args: {
|
|
5282
|
+
athleteId: Scalars['ID'];
|
|
5283
|
+
platform: Platform;
|
|
5284
|
+
options?: (PostComparisonInput | null);
|
|
5285
|
+
};
|
|
5286
|
+
});
|
|
4882
5287
|
__typename?: boolean | number;
|
|
4883
5288
|
__scalar?: boolean | number;
|
|
4884
5289
|
}
|
|
@@ -5282,6 +5687,7 @@ export interface MutationGenqlSelection {
|
|
|
5282
5687
|
type: Scalars['String'];
|
|
5283
5688
|
};
|
|
5284
5689
|
};
|
|
5690
|
+
unlinkInstagram?: boolean | number;
|
|
5285
5691
|
createStripeAccount?: (StripeAccountReferenceGenqlSelection & {
|
|
5286
5692
|
__args: {
|
|
5287
5693
|
input: CreateStripeAccountDto;
|
|
@@ -6085,6 +6491,51 @@ export declare const isLeaderboardResponse: (obj?: {
|
|
|
6085
6491
|
export declare const isUserRank: (obj?: {
|
|
6086
6492
|
__typename?: any;
|
|
6087
6493
|
} | null) => obj is UserRank;
|
|
6494
|
+
export declare const isDashboardSummary: (obj?: {
|
|
6495
|
+
__typename?: any;
|
|
6496
|
+
} | null) => obj is DashboardSummary;
|
|
6497
|
+
export declare const isScoreHistoryEntry: (obj?: {
|
|
6498
|
+
__typename?: any;
|
|
6499
|
+
} | null) => obj is ScoreHistoryEntry;
|
|
6500
|
+
export declare const isRankHistoryEntry: (obj?: {
|
|
6501
|
+
__typename?: any;
|
|
6502
|
+
} | null) => obj is RankHistoryEntry;
|
|
6503
|
+
export declare const isRankContext: (obj?: {
|
|
6504
|
+
__typename?: any;
|
|
6505
|
+
} | null) => obj is RankContext;
|
|
6506
|
+
export declare const isActivityEntry: (obj?: {
|
|
6507
|
+
__typename?: any;
|
|
6508
|
+
} | null) => obj is ActivityEntry;
|
|
6509
|
+
export declare const isActivitiesResponse: (obj?: {
|
|
6510
|
+
__typename?: any;
|
|
6511
|
+
} | null) => obj is ActivitiesResponse;
|
|
6512
|
+
export declare const isMetricComparison: (obj?: {
|
|
6513
|
+
__typename?: any;
|
|
6514
|
+
} | null) => obj is MetricComparison;
|
|
6515
|
+
export declare const isScoreInfo: (obj?: {
|
|
6516
|
+
__typename?: any;
|
|
6517
|
+
} | null) => obj is ScoreInfo;
|
|
6518
|
+
export declare const isActivityDetail: (obj?: {
|
|
6519
|
+
__typename?: any;
|
|
6520
|
+
} | null) => obj is ActivityDetail;
|
|
6521
|
+
export declare const isTopMetric: (obj?: {
|
|
6522
|
+
__typename?: any;
|
|
6523
|
+
} | null) => obj is TopMetric;
|
|
6524
|
+
export declare const isComponentSummary: (obj?: {
|
|
6525
|
+
__typename?: any;
|
|
6526
|
+
} | null) => obj is ComponentSummary;
|
|
6527
|
+
export declare const isSocialAggregateType: (obj?: {
|
|
6528
|
+
__typename?: any;
|
|
6529
|
+
} | null) => obj is SocialAggregateType;
|
|
6530
|
+
export declare const isPostMetricType: (obj?: {
|
|
6531
|
+
__typename?: any;
|
|
6532
|
+
} | null) => obj is PostMetricType;
|
|
6533
|
+
export declare const isAveragesType: (obj?: {
|
|
6534
|
+
__typename?: any;
|
|
6535
|
+
} | null) => obj is AveragesType;
|
|
6536
|
+
export declare const isPostComparisonResultType: (obj?: {
|
|
6537
|
+
__typename?: any;
|
|
6538
|
+
} | null) => obj is PostComparisonResultType;
|
|
6088
6539
|
export declare const isQuery: (obj?: {
|
|
6089
6540
|
__typename?: any;
|
|
6090
6541
|
} | null) => obj is Query;
|
|
@@ -6119,6 +6570,34 @@ export declare const enumStripeTransferStatus: {
|
|
|
6119
6570
|
failed: "failed";
|
|
6120
6571
|
completed: "completed";
|
|
6121
6572
|
};
|
|
6573
|
+
export declare const enumPlatform: {
|
|
6574
|
+
INSTAGRAM: "INSTAGRAM";
|
|
6575
|
+
TIKTOK: "TIKTOK";
|
|
6576
|
+
YOUTUBE: "YOUTUBE";
|
|
6577
|
+
};
|
|
6578
|
+
export declare const enumContentType: {
|
|
6579
|
+
POST: "POST";
|
|
6580
|
+
REEL: "REEL";
|
|
6581
|
+
LIVE: "LIVE";
|
|
6582
|
+
SHORT: "SHORT";
|
|
6583
|
+
VIDEO: "VIDEO";
|
|
6584
|
+
};
|
|
6585
|
+
export declare const enumPeriodType: {
|
|
6586
|
+
DAILY: "DAILY";
|
|
6587
|
+
WEEKLY: "WEEKLY";
|
|
6588
|
+
};
|
|
6589
|
+
export declare const enumTimeRange: {
|
|
6590
|
+
SEVEN_DAYS: "SEVEN_DAYS";
|
|
6591
|
+
THIRTY_DAYS: "THIRTY_DAYS";
|
|
6592
|
+
NINETY_DAYS: "NINETY_DAYS";
|
|
6593
|
+
ONE_YEAR: "ONE_YEAR";
|
|
6594
|
+
ALL_TIME: "ALL_TIME";
|
|
6595
|
+
};
|
|
6596
|
+
export declare const enumActivityCategory: {
|
|
6597
|
+
TRAINING: "TRAINING";
|
|
6598
|
+
SOCIAL: "SOCIAL";
|
|
6599
|
+
COMPETITION: "COMPETITION";
|
|
6600
|
+
};
|
|
6122
6601
|
export declare const enumDonationMode: {
|
|
6123
6602
|
PUBLIC: "PUBLIC";
|
|
6124
6603
|
PRIVATE: "PRIVATE";
|
|
@@ -6129,3 +6608,8 @@ export declare const enumOfferClaimStatus: {
|
|
|
6129
6608
|
EXPIRED: "EXPIRED";
|
|
6130
6609
|
ALL: "ALL";
|
|
6131
6610
|
};
|
|
6611
|
+
export declare const enumPostSortOption: {
|
|
6612
|
+
RECENT: "RECENT";
|
|
6613
|
+
TOP: "TOP";
|
|
6614
|
+
UNDERPERFORMING: "UNDERPERFORMING";
|
|
6615
|
+
};
|