@vertikalx/vtx-backend-client 3.0.0-dev.32 → 3.0.0-dev.34

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.
@@ -6,6 +6,7 @@ export type Scalars = {
6
6
  Int: number;
7
7
  ID: string;
8
8
  JSONObject: any;
9
+ JSON: any;
9
10
  };
10
11
  export interface User {
11
12
  _id: Scalars['String'];
@@ -820,6 +821,7 @@ export interface FundRaisingCampaign {
820
821
  budgetMode: Scalars['String'];
821
822
  status: Scalars['String'];
822
823
  title: Scalars['String'];
824
+ slug: (Scalars['String'] | null);
823
825
  motivation: (Scalars['String'] | null);
824
826
  website: (Scalars['String'] | null);
825
827
  fundsRequired: Scalars['Float'];
@@ -832,6 +834,7 @@ export interface FundRaisingCampaign {
832
834
  competitions: (AthleteCompetition[] | null);
833
835
  vtxComissionPct: Scalars['Float'];
834
836
  video: (Video | null);
837
+ coverImage: (AWSS3File | null);
835
838
  __typename: 'FundRaisingCampaign';
836
839
  }
837
840
  export interface StripeCapabilityType {
@@ -985,6 +988,8 @@ export interface AthleteReference {
985
988
  biography: (Scalars['String'] | null);
986
989
  preferences: AthletePreferences;
987
990
  suspended: Scalars['Boolean'];
991
+ onboardingComplete: (Scalars['Boolean'] | null);
992
+ onboardingStep: (Scalars['Float'] | null);
988
993
  __typename: 'AthleteReference';
989
994
  }
990
995
  export interface Athlete {
@@ -1013,6 +1018,8 @@ export interface Athlete {
1013
1018
  biography: (Scalars['String'] | null);
1014
1019
  preferences: AthletePreferences;
1015
1020
  suspended: Scalars['Boolean'];
1021
+ onboardingComplete: (Scalars['Boolean'] | null);
1022
+ onboardingStep: (Scalars['Float'] | null);
1016
1023
  allSports: (Sport[] | null);
1017
1024
  teams: (Team[] | null);
1018
1025
  sponsorBrands: (Brand[] | null);
@@ -1176,18 +1183,6 @@ export interface ReceiptUrl {
1176
1183
  receiptId: Scalars['String'];
1177
1184
  __typename: 'ReceiptUrl';
1178
1185
  }
1179
- export interface ErrorType {
1180
- code: Scalars['Float'];
1181
- message: Scalars['String'];
1182
- __typename: 'ErrorType';
1183
- }
1184
- export interface DeleteValuesResponse {
1185
- deleted: Scalars['String'][];
1186
- failedToDelete: Scalars['String'][];
1187
- failureReason: ErrorType[];
1188
- result: Scalars['String'];
1189
- __typename: 'DeleteValuesResponse';
1190
- }
1191
1186
  export interface BudgetItemReference {
1192
1187
  _id: Scalars['String'];
1193
1188
  concept: Scalars['String'];
@@ -1488,6 +1483,18 @@ export interface EditValueResponse {
1488
1483
  changed: Scalars['Boolean'];
1489
1484
  __typename: 'EditValueResponse';
1490
1485
  }
1486
+ export interface ErrorType {
1487
+ code: Scalars['Float'];
1488
+ message: Scalars['String'];
1489
+ __typename: 'ErrorType';
1490
+ }
1491
+ export interface DeleteValuesResponse {
1492
+ deleted: Scalars['String'][];
1493
+ failedToDelete: Scalars['String'][];
1494
+ failureReason: ErrorType[];
1495
+ result: Scalars['String'];
1496
+ __typename: 'DeleteValuesResponse';
1497
+ }
1491
1498
  export interface DeleteSingleValueResponse {
1492
1499
  idToDelete: Scalars['String'];
1493
1500
  deleted: Scalars['Boolean'];
@@ -1500,6 +1507,15 @@ export interface ScoreRefreshDetail {
1500
1507
  __typename: 'ScoreRefreshDetail';
1501
1508
  }
1502
1509
  export type ForceScoreRefreshStatus = 'success' | 'failed' | 'skipped';
1510
+ export interface RefreshDiagnostics {
1511
+ activitiesDeleted: (Scalars['Int'] | null);
1512
+ activitiesFetched: (Scalars['Int'] | null);
1513
+ activitiesDateRange: (Scalars['String'] | null);
1514
+ activityRefsSaved: (Scalars['Int'] | null);
1515
+ historicalDatesProcessed: (Scalars['Int'] | null);
1516
+ historicalRebuildStatus: (Scalars['String'] | null);
1517
+ __typename: 'RefreshDiagnostics';
1518
+ }
1503
1519
  export interface ForceScoreRefreshResult {
1504
1520
  athleteId: Scalars['String'];
1505
1521
  athleteName: (Scalars['String'] | null);
@@ -1508,6 +1524,7 @@ export interface ForceScoreRefreshResult {
1508
1524
  tpi: (ScoreRefreshDetail | null);
1509
1525
  spi: (ScoreRefreshDetail | null);
1510
1526
  api: (ScoreRefreshDetail | null);
1527
+ diagnostics: (RefreshDiagnostics | null);
1511
1528
  __typename: 'ForceScoreRefreshResult';
1512
1529
  }
1513
1530
  export interface ForceScoreRefreshResponse {
@@ -1556,6 +1573,12 @@ export interface ExistValueResponse {
1556
1573
  exist: Scalars['Boolean'];
1557
1574
  __typename: 'ExistValueResponse';
1558
1575
  }
1576
+ export interface DeleteOnboardingAthleteResponse {
1577
+ success: Scalars['Boolean'];
1578
+ athleteId: (Scalars['String'] | null);
1579
+ error: (Scalars['String'] | null);
1580
+ __typename: 'DeleteOnboardingAthleteResponse';
1581
+ }
1559
1582
  export interface CompetitionDeleteVerificationReason {
1560
1583
  code: Scalars['String'];
1561
1584
  message: Scalars['String'];
@@ -1584,6 +1607,16 @@ export interface StripeObject {
1584
1607
  json: Scalars['JSONObject'];
1585
1608
  __typename: 'StripeObject';
1586
1609
  }
1610
+ export interface BrowseCampaignsResult {
1611
+ campaigns: FundRaisingCampaign[];
1612
+ featuredPopular: FundRaisingCampaign[];
1613
+ featuredEndingSoon: FundRaisingCampaign[];
1614
+ total: Scalars['Int'];
1615
+ page: Scalars['Int'];
1616
+ limit: Scalars['Int'];
1617
+ hasMore: Scalars['Boolean'];
1618
+ __typename: 'BrowseCampaignsResult';
1619
+ }
1587
1620
  export interface ScoreRefreshCapability {
1588
1621
  athleteId: Scalars['String'];
1589
1622
  athleteName: (Scalars['String'] | null);
@@ -1599,6 +1632,21 @@ export interface CheckScoreRefreshCapabilityResponse {
1599
1632
  capabilities: ScoreRefreshCapability[];
1600
1633
  __typename: 'CheckScoreRefreshCapabilityResponse';
1601
1634
  }
1635
+ export interface OnboardingProgressResponse {
1636
+ success: Scalars['Boolean'];
1637
+ step: (Scalars['Int'] | null);
1638
+ complete: (Scalars['Boolean'] | null);
1639
+ athleteId: (Scalars['String'] | null);
1640
+ error: (Scalars['String'] | null);
1641
+ __typename: 'OnboardingProgressResponse';
1642
+ }
1643
+ export interface PublicIntegrationStatus {
1644
+ hasStravaIntegration: Scalars['Boolean'];
1645
+ stravaAthleteId: (Scalars['String'] | null);
1646
+ hasInstagramIntegration: Scalars['Boolean'];
1647
+ instagramUsername: (Scalars['String'] | null);
1648
+ __typename: 'PublicIntegrationStatus';
1649
+ }
1602
1650
  export interface PaginatedSports {
1603
1651
  items: Sport[];
1604
1652
  pagination: EnhancedPaginationInfoType;
@@ -1658,6 +1706,16 @@ export interface PaginatedEvents {
1658
1706
  pagination: EnhancedPaginationInfoType;
1659
1707
  __typename: 'PaginatedEvents';
1660
1708
  }
1709
+ export interface DonationDates {
1710
+ dates: Scalars['String'][];
1711
+ totalDonations: Scalars['Int'];
1712
+ __typename: 'DonationDates';
1713
+ }
1714
+ export interface PaginatedDonations {
1715
+ donations: Donation[];
1716
+ pagination: EnhancedPaginationInfoType;
1717
+ __typename: 'PaginatedDonations';
1718
+ }
1661
1719
  export interface CurrencyAmountType {
1662
1720
  amount: Scalars['Float'];
1663
1721
  currency: Scalars['String'];
@@ -1724,6 +1782,7 @@ export interface LeaderboardEntry {
1724
1782
  profilePicture: (Scalars['String'] | null);
1725
1783
  score: Scalars['Float'];
1726
1784
  countryCode: (Scalars['String'] | null);
1785
+ nationalityCode: (Scalars['String'] | null);
1727
1786
  cityName: (Scalars['String'] | null);
1728
1787
  countryRank: (Scalars['Int'] | null);
1729
1788
  sportId: (Scalars['String'] | null);
@@ -1746,6 +1805,7 @@ export interface LeaderboardFilters {
1746
1805
  scoreType: Scalars['String'];
1747
1806
  sportId: (Scalars['String'] | null);
1748
1807
  countryCode: (Scalars['String'] | null);
1808
+ sportLevelId: (Scalars['String'] | null);
1749
1809
  __typename: 'LeaderboardFilters';
1750
1810
  }
1751
1811
  export interface LeaderboardResponse {
@@ -1851,6 +1911,7 @@ export interface ComponentSummary {
1851
1911
  avgScorePerActivity: (Scalars['Float'] | null);
1852
1912
  topMetrics: TopMetric[];
1853
1913
  newMaxActivityIds: (Scalars['String'][] | null);
1914
+ metricMaxes: (Scalars['JSONObject'] | null);
1854
1915
  __typename: 'ComponentSummary';
1855
1916
  }
1856
1917
  export interface ActivityDateEntry {
@@ -1920,6 +1981,134 @@ export interface PostComparisonResultType {
1920
1981
  hasMore: Scalars['Boolean'];
1921
1982
  __typename: 'PostComparisonResultType';
1922
1983
  }
1984
+ export interface Notification {
1985
+ id: Scalars['ID'];
1986
+ recipientId: Scalars['String'];
1987
+ type: Scalars['String'];
1988
+ title: Scalars['String'];
1989
+ message: Scalars['String'];
1990
+ iconType: (Scalars['String'] | null);
1991
+ iconUrl: (Scalars['String'] | null);
1992
+ actionRoute: (Scalars['String'] | null);
1993
+ actionParams: (Scalars['JSON'] | null);
1994
+ actionLabel: (Scalars['String'] | null);
1995
+ read: Scalars['Boolean'];
1996
+ dismissed: Scalars['Boolean'];
1997
+ createdAt: Scalars['DateTime'];
1998
+ __typename: 'Notification';
1999
+ }
2000
+ export interface NotificationListResponse {
2001
+ notifications: Notification[];
2002
+ total: Scalars['Int'];
2003
+ hasMore: Scalars['Boolean'];
2004
+ __typename: 'NotificationListResponse';
2005
+ }
2006
+ export interface UnreadCountResponse {
2007
+ count: Scalars['Int'];
2008
+ __typename: 'UnreadCountResponse';
2009
+ }
2010
+ export interface NotificationPreference {
2011
+ id: Scalars['ID'];
2012
+ userId: Scalars['String'];
2013
+ emailEnabled: Scalars['Boolean'];
2014
+ inAppEnabled: Scalars['Boolean'];
2015
+ pushEnabled: Scalars['Boolean'];
2016
+ mutedTypes: (Scalars['String'][] | null);
2017
+ __typename: 'NotificationPreference';
2018
+ }
2019
+ export interface DeviceTokenType {
2020
+ id: Scalars['ID'];
2021
+ userId: Scalars['String'];
2022
+ token: Scalars['String'];
2023
+ platform: Scalars['String'];
2024
+ deviceName: (Scalars['String'] | null);
2025
+ active: Scalars['Boolean'];
2026
+ createdAt: Scalars['DateTime'];
2027
+ updatedAt: Scalars['DateTime'];
2028
+ __typename: 'DeviceTokenType';
2029
+ }
2030
+ export interface FollowedAthleteInfo {
2031
+ id: Scalars['String'];
2032
+ firstName: (Scalars['String'] | null);
2033
+ lastName: (Scalars['String'] | null);
2034
+ screenName: (Scalars['String'] | null);
2035
+ profilePicture: (AWSS3File | null);
2036
+ sportName: (Scalars['String'] | null);
2037
+ vtxScore: (Scalars['Float'] | null);
2038
+ __typename: 'FollowedAthleteInfo';
2039
+ }
2040
+ export interface FollowedAthletesListResponse {
2041
+ athletes: FollowedAthleteInfo[];
2042
+ total: Scalars['Int'];
2043
+ hasMore: Scalars['Boolean'];
2044
+ __typename: 'FollowedAthletesListResponse';
2045
+ }
2046
+ export interface IsFollowingResponse {
2047
+ isFollowing: Scalars['Boolean'];
2048
+ __typename: 'IsFollowingResponse';
2049
+ }
2050
+ export interface EmailCampaignDelivery {
2051
+ delivered: Scalars['Int'];
2052
+ opens: Scalars['Int'];
2053
+ uniqueOpens: Scalars['Int'];
2054
+ clicks: Scalars['Int'];
2055
+ uniqueClicks: Scalars['Int'];
2056
+ bounces: Scalars['Int'];
2057
+ spamReports: Scalars['Int'];
2058
+ lastUpdated: Scalars['DateTime'];
2059
+ __typename: 'EmailCampaignDelivery';
2060
+ }
2061
+ export interface EmailSegment {
2062
+ _id: Scalars['String'];
2063
+ name: Scalars['String'];
2064
+ filters: Scalars['JSONObject'];
2065
+ createdBy: Scalars['String'];
2066
+ createdAt: Scalars['DateTime'];
2067
+ __typename: 'EmailSegment';
2068
+ }
2069
+ export interface EmailCampaign {
2070
+ _id: Scalars['String'];
2071
+ subject: Scalars['String'];
2072
+ templateId: (Scalars['String'] | null);
2073
+ templateName: (Scalars['String'] | null);
2074
+ htmlContent: (Scalars['String'] | null);
2075
+ audienceFilters: Scalars['JSONObject'];
2076
+ segmentId: (Scalars['String'] | null);
2077
+ status: Scalars['String'];
2078
+ scheduledFor: (Scalars['DateTime'] | null);
2079
+ sentAt: (Scalars['DateTime'] | null);
2080
+ recipientCount: (Scalars['Int'] | null);
2081
+ createdBy: Scalars['String'];
2082
+ createdAt: Scalars['DateTime'];
2083
+ updatedAt: (Scalars['DateTime'] | null);
2084
+ testSentAt: (Scalars['DateTime'] | null);
2085
+ deliveryStats: (EmailCampaignDelivery | null);
2086
+ segment: (EmailSegment | null);
2087
+ __typename: 'EmailCampaign';
2088
+ }
2089
+ export interface EmailCampaignPage {
2090
+ campaigns: EmailCampaign[];
2091
+ total: Scalars['Int'];
2092
+ __typename: 'EmailCampaignPage';
2093
+ }
2094
+ export interface SendGridTemplate {
2095
+ id: Scalars['String'];
2096
+ name: Scalars['String'];
2097
+ updatedAt: (Scalars['String'] | null);
2098
+ __typename: 'SendGridTemplate';
2099
+ }
2100
+ export interface AudiencePreviewUser {
2101
+ firstName: (Scalars['String'] | null);
2102
+ lastName: (Scalars['String'] | null);
2103
+ email: Scalars['String'];
2104
+ userType: Scalars['String'];
2105
+ __typename: 'AudiencePreviewUser';
2106
+ }
2107
+ export interface AudiencePreview {
2108
+ total: Scalars['Int'];
2109
+ users: AudiencePreviewUser[];
2110
+ __typename: 'AudiencePreview';
2111
+ }
1923
2112
  export type TimeRange = 'SEVEN_DAYS' | 'THIRTY_DAYS' | 'NINETY_DAYS' | 'ONE_YEAR' | 'ALL_TIME';
1924
2113
  export type DonationMode = 'PUBLIC' | 'PRIVATE' | 'ANONYMOUS';
1925
2114
  export type OfferClaimStatus = 'ACTIVE' | 'EXPIRED' | 'ALL';
@@ -1966,6 +2155,9 @@ export interface Query {
1966
2155
  getMyHistoricalScoresPeriod: HistoricalScoresPeriod;
1967
2156
  getMyHistoricalScores: HistoricalScore[];
1968
2157
  getAthleteCampaigns: FundRaisingCampaign[];
2158
+ browseCampaigns: BrowseCampaignsResult;
2159
+ getOnboardingProgress: OnboardingProgressResponse;
2160
+ getPublicAthleteIntegrationStatus: PublicIntegrationStatus;
1969
2161
  getSports: Sport[];
1970
2162
  getSportsPaginated: PaginatedSports;
1971
2163
  findSportById: Sport;
@@ -1995,6 +2187,8 @@ export interface Query {
1995
2187
  getDonationsToMe: Donation[];
1996
2188
  getBudgetConcepts: BudgetConcept[];
1997
2189
  getBudgetItemUnits: BudgetItemUnit[];
2190
+ getDonationDatesForCalendar: DonationDates;
2191
+ getDonationsPaginated: PaginatedDonations;
1998
2192
  getMembershipOrganizations: MembershipOrganizationReference[];
1999
2193
  getAthleteStravaIntegration: AthleteIntegrationReference;
2000
2194
  getAthleteInstagramIntegration: AthleteIntegrationReference;
@@ -2030,6 +2224,16 @@ export interface Query {
2030
2224
  athleteActivityDates: ActivityDatesResponse;
2031
2225
  socialAggregates: SocialAggregateType[];
2032
2226
  postsWithComparison: PostComparisonResultType;
2227
+ myNotifications: NotificationListResponse;
2228
+ notificationUnreadCount: UnreadCountResponse;
2229
+ myNotificationPreferences: NotificationPreference;
2230
+ myFollowedAthletes: FollowedAthletesListResponse;
2231
+ isFollowingAthlete: IsFollowingResponse;
2232
+ getEmailCampaigns: EmailCampaignPage;
2233
+ getEmailCampaign: EmailCampaign;
2234
+ getAudiencePreview: AudiencePreview;
2235
+ getSendGridTemplates: SendGridTemplate[];
2236
+ getEmailSegments: EmailSegment[];
2033
2237
  __typename: 'Query';
2034
2238
  }
2035
2239
  export interface Mutation {
@@ -2072,6 +2276,8 @@ export interface Mutation {
2072
2276
  updateAthleteCompetitionScores: Athlete;
2073
2277
  forceRefreshAthleteScores: ForceScoreRefreshResponse;
2074
2278
  setCurrentCampaign: FundRaisingCampaign;
2279
+ deleteOnboardingAthlete: DeleteOnboardingAthleteResponse;
2280
+ updateOnboardingProgress: OnboardingProgressResponse;
2075
2281
  createSport: Sport;
2076
2282
  updateSport: Sport;
2077
2283
  createSportLevel: SportLevel;
@@ -2127,6 +2333,25 @@ export interface Mutation {
2127
2333
  removeOfferClaim: Scalars['Boolean'];
2128
2334
  uploadCouponCodes: UploadResult;
2129
2335
  rebuildLeaderboardCache: Scalars['Boolean'];
2336
+ markNotificationAsRead: Notification;
2337
+ markAllNotificationsAsRead: Scalars['Int'];
2338
+ dismissNotification: Scalars['Boolean'];
2339
+ updateNotificationPreferences: NotificationPreference;
2340
+ registerDeviceToken: DeviceTokenType;
2341
+ unregisterDeviceToken: Scalars['Boolean'];
2342
+ followAthlete: Scalars['Boolean'];
2343
+ unfollowAthlete: Scalars['Boolean'];
2344
+ createEmailCampaign: EmailCampaign;
2345
+ updateEmailCampaign: EmailCampaign;
2346
+ deleteEmailCampaign: Scalars['Boolean'];
2347
+ cloneEmailCampaign: EmailCampaign;
2348
+ sendTestEmail: Scalars['Boolean'];
2349
+ sendBulkEmail: Scalars['Boolean'];
2350
+ scheduleEmailCampaign: EmailCampaign;
2351
+ cancelScheduledEmail: EmailCampaign;
2352
+ createEmailSegment: EmailSegment;
2353
+ updateEmailSegment: EmailSegment;
2354
+ deleteEmailSegment: Scalars['Boolean'];
2130
2355
  __typename: 'Mutation';
2131
2356
  }
2132
2357
  export interface UserGenqlSelection {
@@ -3034,6 +3259,7 @@ export interface FundRaisingCampaignGenqlSelection {
3034
3259
  budgetMode?: boolean | number;
3035
3260
  status?: boolean | number;
3036
3261
  title?: boolean | number;
3262
+ slug?: boolean | number;
3037
3263
  motivation?: boolean | number;
3038
3264
  website?: boolean | number;
3039
3265
  fundsRequired?: boolean | number;
@@ -3046,6 +3272,7 @@ export interface FundRaisingCampaignGenqlSelection {
3046
3272
  competitions?: AthleteCompetitionGenqlSelection;
3047
3273
  vtxComissionPct?: boolean | number;
3048
3274
  video?: VideoGenqlSelection;
3275
+ coverImage?: AWSS3FileGenqlSelection;
3049
3276
  __typename?: boolean | number;
3050
3277
  __scalar?: boolean | number;
3051
3278
  }
@@ -3209,6 +3436,8 @@ export interface AthleteReferenceGenqlSelection {
3209
3436
  biography?: boolean | number;
3210
3437
  preferences?: AthletePreferencesGenqlSelection;
3211
3438
  suspended?: boolean | number;
3439
+ onboardingComplete?: boolean | number;
3440
+ onboardingStep?: boolean | number;
3212
3441
  __typename?: boolean | number;
3213
3442
  __scalar?: boolean | number;
3214
3443
  }
@@ -3238,6 +3467,8 @@ export interface AthleteGenqlSelection {
3238
3467
  biography?: boolean | number;
3239
3468
  preferences?: AthletePreferencesGenqlSelection;
3240
3469
  suspended?: boolean | number;
3470
+ onboardingComplete?: boolean | number;
3471
+ onboardingStep?: boolean | number;
3241
3472
  allSports?: SportGenqlSelection;
3242
3473
  teams?: TeamGenqlSelection;
3243
3474
  sponsorBrands?: BrandGenqlSelection;
@@ -3418,20 +3649,6 @@ export interface ReceiptUrlGenqlSelection {
3418
3649
  __typename?: boolean | number;
3419
3650
  __scalar?: boolean | number;
3420
3651
  }
3421
- export interface ErrorTypeGenqlSelection {
3422
- code?: boolean | number;
3423
- message?: boolean | number;
3424
- __typename?: boolean | number;
3425
- __scalar?: boolean | number;
3426
- }
3427
- export interface DeleteValuesResponseGenqlSelection {
3428
- deleted?: boolean | number;
3429
- failedToDelete?: boolean | number;
3430
- failureReason?: ErrorTypeGenqlSelection;
3431
- result?: boolean | number;
3432
- __typename?: boolean | number;
3433
- __scalar?: boolean | number;
3434
- }
3435
3652
  export interface BudgetItemReferenceGenqlSelection {
3436
3653
  _id?: boolean | number;
3437
3654
  concept?: boolean | number;
@@ -3756,6 +3973,20 @@ export interface EditValueResponseGenqlSelection {
3756
3973
  __typename?: boolean | number;
3757
3974
  __scalar?: boolean | number;
3758
3975
  }
3976
+ export interface ErrorTypeGenqlSelection {
3977
+ code?: boolean | number;
3978
+ message?: boolean | number;
3979
+ __typename?: boolean | number;
3980
+ __scalar?: boolean | number;
3981
+ }
3982
+ export interface DeleteValuesResponseGenqlSelection {
3983
+ deleted?: boolean | number;
3984
+ failedToDelete?: boolean | number;
3985
+ failureReason?: ErrorTypeGenqlSelection;
3986
+ result?: boolean | number;
3987
+ __typename?: boolean | number;
3988
+ __scalar?: boolean | number;
3989
+ }
3759
3990
  export interface DeleteSingleValueResponseGenqlSelection {
3760
3991
  idToDelete?: boolean | number;
3761
3992
  deleted?: boolean | number;
@@ -3769,6 +4000,16 @@ export interface ScoreRefreshDetailGenqlSelection {
3769
4000
  __typename?: boolean | number;
3770
4001
  __scalar?: boolean | number;
3771
4002
  }
4003
+ export interface RefreshDiagnosticsGenqlSelection {
4004
+ activitiesDeleted?: boolean | number;
4005
+ activitiesFetched?: boolean | number;
4006
+ activitiesDateRange?: boolean | number;
4007
+ activityRefsSaved?: boolean | number;
4008
+ historicalDatesProcessed?: boolean | number;
4009
+ historicalRebuildStatus?: boolean | number;
4010
+ __typename?: boolean | number;
4011
+ __scalar?: boolean | number;
4012
+ }
3772
4013
  export interface ForceScoreRefreshResultGenqlSelection {
3773
4014
  athleteId?: boolean | number;
3774
4015
  athleteName?: boolean | number;
@@ -3777,6 +4018,7 @@ export interface ForceScoreRefreshResultGenqlSelection {
3777
4018
  tpi?: ScoreRefreshDetailGenqlSelection;
3778
4019
  spi?: ScoreRefreshDetailGenqlSelection;
3779
4020
  api?: ScoreRefreshDetailGenqlSelection;
4021
+ diagnostics?: RefreshDiagnosticsGenqlSelection;
3780
4022
  __typename?: boolean | number;
3781
4023
  __scalar?: boolean | number;
3782
4024
  }
@@ -3833,6 +4075,13 @@ export interface ExistValueResponseGenqlSelection {
3833
4075
  __typename?: boolean | number;
3834
4076
  __scalar?: boolean | number;
3835
4077
  }
4078
+ export interface DeleteOnboardingAthleteResponseGenqlSelection {
4079
+ success?: boolean | number;
4080
+ athleteId?: boolean | number;
4081
+ error?: boolean | number;
4082
+ __typename?: boolean | number;
4083
+ __scalar?: boolean | number;
4084
+ }
3836
4085
  export interface CompetitionDeleteVerificationReasonGenqlSelection {
3837
4086
  code?: boolean | number;
3838
4087
  message?: boolean | number;
@@ -3865,6 +4114,17 @@ export interface StripeObjectGenqlSelection {
3865
4114
  __typename?: boolean | number;
3866
4115
  __scalar?: boolean | number;
3867
4116
  }
4117
+ export interface BrowseCampaignsResultGenqlSelection {
4118
+ campaigns?: FundRaisingCampaignGenqlSelection;
4119
+ featuredPopular?: FundRaisingCampaignGenqlSelection;
4120
+ featuredEndingSoon?: FundRaisingCampaignGenqlSelection;
4121
+ total?: boolean | number;
4122
+ page?: boolean | number;
4123
+ limit?: boolean | number;
4124
+ hasMore?: boolean | number;
4125
+ __typename?: boolean | number;
4126
+ __scalar?: boolean | number;
4127
+ }
3868
4128
  export interface ScoreRefreshCapabilityGenqlSelection {
3869
4129
  athleteId?: boolean | number;
3870
4130
  athleteName?: boolean | number;
@@ -3882,6 +4142,23 @@ export interface CheckScoreRefreshCapabilityResponseGenqlSelection {
3882
4142
  __typename?: boolean | number;
3883
4143
  __scalar?: boolean | number;
3884
4144
  }
4145
+ export interface OnboardingProgressResponseGenqlSelection {
4146
+ success?: boolean | number;
4147
+ step?: boolean | number;
4148
+ complete?: boolean | number;
4149
+ athleteId?: boolean | number;
4150
+ error?: boolean | number;
4151
+ __typename?: boolean | number;
4152
+ __scalar?: boolean | number;
4153
+ }
4154
+ export interface PublicIntegrationStatusGenqlSelection {
4155
+ hasStravaIntegration?: boolean | number;
4156
+ stravaAthleteId?: boolean | number;
4157
+ hasInstagramIntegration?: boolean | number;
4158
+ instagramUsername?: boolean | number;
4159
+ __typename?: boolean | number;
4160
+ __scalar?: boolean | number;
4161
+ }
3885
4162
  export interface PaginatedSportsGenqlSelection {
3886
4163
  items?: SportGenqlSelection;
3887
4164
  pagination?: EnhancedPaginationInfoTypeGenqlSelection;
@@ -3948,6 +4225,18 @@ export interface PaginatedEventsGenqlSelection {
3948
4225
  __typename?: boolean | number;
3949
4226
  __scalar?: boolean | number;
3950
4227
  }
4228
+ export interface DonationDatesGenqlSelection {
4229
+ dates?: boolean | number;
4230
+ totalDonations?: boolean | number;
4231
+ __typename?: boolean | number;
4232
+ __scalar?: boolean | number;
4233
+ }
4234
+ export interface PaginatedDonationsGenqlSelection {
4235
+ donations?: DonationGenqlSelection;
4236
+ pagination?: EnhancedPaginationInfoTypeGenqlSelection;
4237
+ __typename?: boolean | number;
4238
+ __scalar?: boolean | number;
4239
+ }
3951
4240
  export interface CurrencyAmountTypeGenqlSelection {
3952
4241
  amount?: boolean | number;
3953
4242
  currency?: boolean | number;
@@ -4021,6 +4310,7 @@ export interface LeaderboardEntryGenqlSelection {
4021
4310
  profilePicture?: boolean | number;
4022
4311
  score?: boolean | number;
4023
4312
  countryCode?: boolean | number;
4313
+ nationalityCode?: boolean | number;
4024
4314
  cityName?: boolean | number;
4025
4315
  countryRank?: boolean | number;
4026
4316
  sportId?: boolean | number;
@@ -4045,6 +4335,7 @@ export interface LeaderboardFiltersGenqlSelection {
4045
4335
  scoreType?: boolean | number;
4046
4336
  sportId?: boolean | number;
4047
4337
  countryCode?: boolean | number;
4338
+ sportLevelId?: boolean | number;
4048
4339
  __typename?: boolean | number;
4049
4340
  __scalar?: boolean | number;
4050
4341
  }
@@ -4163,6 +4454,7 @@ export interface ComponentSummaryGenqlSelection {
4163
4454
  avgScorePerActivity?: boolean | number;
4164
4455
  topMetrics?: TopMetricGenqlSelection;
4165
4456
  newMaxActivityIds?: boolean | number;
4457
+ metricMaxes?: boolean | number;
4166
4458
  __typename?: boolean | number;
4167
4459
  __scalar?: boolean | number;
4168
4460
  }
@@ -4235,6 +4527,149 @@ export interface PostComparisonResultTypeGenqlSelection {
4235
4527
  __typename?: boolean | number;
4236
4528
  __scalar?: boolean | number;
4237
4529
  }
4530
+ export interface NotificationGenqlSelection {
4531
+ id?: boolean | number;
4532
+ recipientId?: boolean | number;
4533
+ type?: boolean | number;
4534
+ title?: boolean | number;
4535
+ message?: boolean | number;
4536
+ iconType?: boolean | number;
4537
+ iconUrl?: boolean | number;
4538
+ actionRoute?: boolean | number;
4539
+ actionParams?: boolean | number;
4540
+ actionLabel?: boolean | number;
4541
+ read?: boolean | number;
4542
+ dismissed?: boolean | number;
4543
+ createdAt?: boolean | number;
4544
+ __typename?: boolean | number;
4545
+ __scalar?: boolean | number;
4546
+ }
4547
+ export interface NotificationListResponseGenqlSelection {
4548
+ notifications?: NotificationGenqlSelection;
4549
+ total?: boolean | number;
4550
+ hasMore?: boolean | number;
4551
+ __typename?: boolean | number;
4552
+ __scalar?: boolean | number;
4553
+ }
4554
+ export interface UnreadCountResponseGenqlSelection {
4555
+ count?: boolean | number;
4556
+ __typename?: boolean | number;
4557
+ __scalar?: boolean | number;
4558
+ }
4559
+ export interface NotificationPreferenceGenqlSelection {
4560
+ id?: boolean | number;
4561
+ userId?: boolean | number;
4562
+ emailEnabled?: boolean | number;
4563
+ inAppEnabled?: boolean | number;
4564
+ pushEnabled?: boolean | number;
4565
+ mutedTypes?: boolean | number;
4566
+ __typename?: boolean | number;
4567
+ __scalar?: boolean | number;
4568
+ }
4569
+ export interface DeviceTokenTypeGenqlSelection {
4570
+ id?: boolean | number;
4571
+ userId?: boolean | number;
4572
+ token?: boolean | number;
4573
+ platform?: boolean | number;
4574
+ deviceName?: boolean | number;
4575
+ active?: boolean | number;
4576
+ createdAt?: boolean | number;
4577
+ updatedAt?: boolean | number;
4578
+ __typename?: boolean | number;
4579
+ __scalar?: boolean | number;
4580
+ }
4581
+ export interface FollowedAthleteInfoGenqlSelection {
4582
+ id?: boolean | number;
4583
+ firstName?: boolean | number;
4584
+ lastName?: boolean | number;
4585
+ screenName?: boolean | number;
4586
+ profilePicture?: AWSS3FileGenqlSelection;
4587
+ sportName?: boolean | number;
4588
+ vtxScore?: boolean | number;
4589
+ __typename?: boolean | number;
4590
+ __scalar?: boolean | number;
4591
+ }
4592
+ export interface FollowedAthletesListResponseGenqlSelection {
4593
+ athletes?: FollowedAthleteInfoGenqlSelection;
4594
+ total?: boolean | number;
4595
+ hasMore?: boolean | number;
4596
+ __typename?: boolean | number;
4597
+ __scalar?: boolean | number;
4598
+ }
4599
+ export interface IsFollowingResponseGenqlSelection {
4600
+ isFollowing?: boolean | number;
4601
+ __typename?: boolean | number;
4602
+ __scalar?: boolean | number;
4603
+ }
4604
+ export interface EmailCampaignDeliveryGenqlSelection {
4605
+ delivered?: boolean | number;
4606
+ opens?: boolean | number;
4607
+ uniqueOpens?: boolean | number;
4608
+ clicks?: boolean | number;
4609
+ uniqueClicks?: boolean | number;
4610
+ bounces?: boolean | number;
4611
+ spamReports?: boolean | number;
4612
+ lastUpdated?: boolean | number;
4613
+ __typename?: boolean | number;
4614
+ __scalar?: boolean | number;
4615
+ }
4616
+ export interface EmailSegmentGenqlSelection {
4617
+ _id?: boolean | number;
4618
+ name?: boolean | number;
4619
+ filters?: boolean | number;
4620
+ createdBy?: boolean | number;
4621
+ createdAt?: boolean | number;
4622
+ __typename?: boolean | number;
4623
+ __scalar?: boolean | number;
4624
+ }
4625
+ export interface EmailCampaignGenqlSelection {
4626
+ _id?: boolean | number;
4627
+ subject?: boolean | number;
4628
+ templateId?: boolean | number;
4629
+ templateName?: boolean | number;
4630
+ htmlContent?: boolean | number;
4631
+ audienceFilters?: boolean | number;
4632
+ segmentId?: boolean | number;
4633
+ status?: boolean | number;
4634
+ scheduledFor?: boolean | number;
4635
+ sentAt?: boolean | number;
4636
+ recipientCount?: boolean | number;
4637
+ createdBy?: boolean | number;
4638
+ createdAt?: boolean | number;
4639
+ updatedAt?: boolean | number;
4640
+ testSentAt?: boolean | number;
4641
+ deliveryStats?: EmailCampaignDeliveryGenqlSelection;
4642
+ segment?: EmailSegmentGenqlSelection;
4643
+ __typename?: boolean | number;
4644
+ __scalar?: boolean | number;
4645
+ }
4646
+ export interface EmailCampaignPageGenqlSelection {
4647
+ campaigns?: EmailCampaignGenqlSelection;
4648
+ total?: boolean | number;
4649
+ __typename?: boolean | number;
4650
+ __scalar?: boolean | number;
4651
+ }
4652
+ export interface SendGridTemplateGenqlSelection {
4653
+ id?: boolean | number;
4654
+ name?: boolean | number;
4655
+ updatedAt?: boolean | number;
4656
+ __typename?: boolean | number;
4657
+ __scalar?: boolean | number;
4658
+ }
4659
+ export interface AudiencePreviewUserGenqlSelection {
4660
+ firstName?: boolean | number;
4661
+ lastName?: boolean | number;
4662
+ email?: boolean | number;
4663
+ userType?: boolean | number;
4664
+ __typename?: boolean | number;
4665
+ __scalar?: boolean | number;
4666
+ }
4667
+ export interface AudiencePreviewGenqlSelection {
4668
+ total?: boolean | number;
4669
+ users?: AudiencePreviewUserGenqlSelection;
4670
+ __typename?: boolean | number;
4671
+ __scalar?: boolean | number;
4672
+ }
4238
4673
  export interface CreateDatabaseFileDto {
4239
4674
  identifier: Scalars['String'];
4240
4675
  version?: Scalars['String'];
@@ -4498,12 +4933,31 @@ export interface GetHistoricalScoresDto {
4498
4933
  export interface GetAthleteCampaignsDto {
4499
4934
  athleteId: Scalars['String'];
4500
4935
  }
4936
+ export interface BrowseCampaignsDto {
4937
+ campaignId?: (Scalars['String'] | null);
4938
+ slug?: (Scalars['String'] | null);
4939
+ searchTerm?: (Scalars['String'] | null);
4940
+ sportId?: (Scalars['String'] | null);
4941
+ sportLevelId?: (Scalars['String'] | null);
4942
+ countryId?: (Scalars['String'] | null);
4943
+ sortBy?: (Scalars['String'] | null);
4944
+ sortOrder?: (Scalars['String'] | null);
4945
+ page?: (Scalars['Int'] | null);
4946
+ limit?: (Scalars['Int'] | null);
4947
+ includeFeatured?: (Scalars['Boolean'] | null);
4948
+ }
4501
4949
  export interface ForceScoreRefreshDto {
4502
4950
  athleteIds: Scalars['String'][];
4951
+ rebuildHistorical?: (Scalars['Boolean'] | null);
4952
+ historicalDays?: (Scalars['Int'] | null);
4503
4953
  }
4504
4954
  export interface CheckScoreRefreshCapabilityDto {
4505
4955
  athleteIds: Scalars['String'][];
4506
4956
  }
4957
+ export interface UpdateOnboardingProgressDto {
4958
+ step: Scalars['Int'];
4959
+ complete?: (Scalars['Boolean'] | null);
4960
+ }
4507
4961
  export interface SportQueryDto {
4508
4962
  page?: (Scalars['Int'] | null);
4509
4963
  limit?: (Scalars['Int'] | null);
@@ -4679,6 +5133,7 @@ export interface CreateFundingCampaignDto {
4679
5133
  competitionBudgets?: (CreateCompetitionBudgetDto[] | null);
4680
5134
  competitionIds?: (Scalars['String'][] | null);
4681
5135
  video?: (CreateVideoDto | null);
5136
+ coverImageId?: (Scalars['String'] | null);
4682
5137
  }
4683
5138
  export interface CreateFundingCampaignForDto {
4684
5139
  budgetMode: Scalars['String'];
@@ -4693,6 +5148,7 @@ export interface CreateFundingCampaignForDto {
4693
5148
  competitionBudgets?: (CreateCompetitionBudgetDto[] | null);
4694
5149
  competitionIds?: (Scalars['String'][] | null);
4695
5150
  video?: (CreateVideoDto | null);
5151
+ coverImageId?: (Scalars['String'] | null);
4696
5152
  loginEmail: Scalars['String'];
4697
5153
  }
4698
5154
  export interface UpdateFundingCampaignDto {
@@ -4708,6 +5164,7 @@ export interface UpdateFundingCampaignDto {
4708
5164
  competitionBudgets?: (CreateCompetitionBudgetDto[] | null);
4709
5165
  competitionIds?: (Scalars['String'][] | null);
4710
5166
  video?: (CreateVideoDto | null);
5167
+ coverImageId?: (Scalars['String'] | null);
4711
5168
  _id: Scalars['String'];
4712
5169
  }
4713
5170
  export interface SetFundingStatusDto {
@@ -4733,6 +5190,21 @@ export interface EditCampaignBudgetDto {
4733
5190
  initialFundsObtained?: (Scalars['Float'] | null);
4734
5191
  budget?: (BudgetDto | null);
4735
5192
  }
5193
+ export interface DonationFiltersInput {
5194
+ dateFrom?: (Scalars['String'] | null);
5195
+ dateTo?: (Scalars['String'] | null);
5196
+ amountMin?: (Scalars['Float'] | null);
5197
+ amountMax?: (Scalars['Float'] | null);
5198
+ campaignId?: (Scalars['String'] | null);
5199
+ }
5200
+ export interface DonationQueryDto {
5201
+ page?: (Scalars['Int'] | null);
5202
+ limit?: (Scalars['Int'] | null);
5203
+ search?: (Scalars['String'] | null);
5204
+ filters?: (DonationFiltersInput | null);
5205
+ sortField?: (Scalars['String'] | null);
5206
+ sortOrder?: (Scalars['String'] | null);
5207
+ }
4736
5208
  export interface CreateMembershipOrganizationDto {
4737
5209
  shortName: Scalars['String'];
4738
5210
  acronym?: (Scalars['String'] | null);
@@ -4844,6 +5316,7 @@ export interface OfferClaimQueryDto {
4844
5316
  export interface LeaderboardQueryDto {
4845
5317
  scoreType?: (Scalars['String'] | null);
4846
5318
  sportId?: (Scalars['String'] | null);
5319
+ sportLevelId?: (Scalars['String'] | null);
4847
5320
  countryCode?: (Scalars['String'] | null);
4848
5321
  page?: (Scalars['Int'] | null);
4849
5322
  limit?: (Scalars['Int'] | null);
@@ -4852,6 +5325,7 @@ export interface UserRankQueryDto {
4852
5325
  athleteId: Scalars['String'];
4853
5326
  scoreType?: (Scalars['String'] | null);
4854
5327
  sportId?: (Scalars['String'] | null);
5328
+ sportLevelId?: (Scalars['String'] | null);
4855
5329
  countryCode?: (Scalars['String'] | null);
4856
5330
  }
4857
5331
  export interface ScoreHistoryQueryDto {
@@ -4867,6 +5341,7 @@ export interface RankHistoryQueryDto {
4867
5341
  export interface RankContextQueryDto {
4868
5342
  athleteId: Scalars['String'];
4869
5343
  sportId?: (Scalars['String'] | null);
5344
+ sportLevelId?: (Scalars['String'] | null);
4870
5345
  countryCode?: (Scalars['String'] | null);
4871
5346
  }
4872
5347
  export interface MetricRangeInput {
@@ -4876,6 +5351,8 @@ export interface MetricRangeInput {
4876
5351
  }
4877
5352
  export interface ActivityFiltersInput {
4878
5353
  dateFilter?: (Scalars['String'] | null);
5354
+ dateFrom?: (Scalars['String'] | null);
5355
+ dateTo?: (Scalars['String'] | null);
4879
5356
  activityTypes?: (Scalars['String'][] | null);
4880
5357
  metricRanges?: (MetricRangeInput[] | null);
4881
5358
  }
@@ -4910,6 +5387,46 @@ export interface PostComparisonInput {
4910
5387
  limit?: (Scalars['Int'] | null);
4911
5388
  offset?: (Scalars['Int'] | null);
4912
5389
  }
5390
+ export interface NotificationQueryDto {
5391
+ limit?: (Scalars['Int'] | null);
5392
+ offset?: (Scalars['Int'] | null);
5393
+ includeRead?: (Scalars['Boolean'] | null);
5394
+ includeDismissed?: (Scalars['Boolean'] | null);
5395
+ types?: (Scalars['String'][] | null);
5396
+ }
5397
+ export interface MarkNotificationReadDto {
5398
+ notificationId: Scalars['String'];
5399
+ }
5400
+ export interface DismissNotificationDto {
5401
+ notificationId: Scalars['String'];
5402
+ }
5403
+ export interface UpdateNotificationPreferenceDto {
5404
+ emailEnabled?: (Scalars['Boolean'] | null);
5405
+ inAppEnabled?: (Scalars['Boolean'] | null);
5406
+ pushEnabled?: (Scalars['Boolean'] | null);
5407
+ mutedTypes?: (Scalars['String'][] | null);
5408
+ }
5409
+ export interface RegisterDeviceTokenDto {
5410
+ token: Scalars['String'];
5411
+ platform: Scalars['String'];
5412
+ deviceName?: (Scalars['String'] | null);
5413
+ }
5414
+ export interface UnregisterDeviceTokenDto {
5415
+ token: Scalars['String'];
5416
+ }
5417
+ export interface FollowAthleteInput {
5418
+ athleteId: Scalars['String'];
5419
+ }
5420
+ export interface UnfollowAthleteInput {
5421
+ athleteId: Scalars['String'];
5422
+ }
5423
+ export interface IsFollowingAthleteInput {
5424
+ athleteId: Scalars['String'];
5425
+ }
5426
+ export interface FollowedAthletesQueryInput {
5427
+ limit?: (Scalars['Int'] | null);
5428
+ offset?: (Scalars['Int'] | null);
5429
+ }
4913
5430
  export interface QueryGenqlSelection {
4914
5431
  findTenantById?: (TenantGenqlSelection & {
4915
5432
  __args: {
@@ -5092,6 +5609,17 @@ export interface QueryGenqlSelection {
5092
5609
  input: GetAthleteCampaignsDto;
5093
5610
  };
5094
5611
  });
5612
+ browseCampaigns?: (BrowseCampaignsResultGenqlSelection & {
5613
+ __args: {
5614
+ input: BrowseCampaignsDto;
5615
+ };
5616
+ });
5617
+ getOnboardingProgress?: OnboardingProgressResponseGenqlSelection;
5618
+ getPublicAthleteIntegrationStatus?: (PublicIntegrationStatusGenqlSelection & {
5619
+ __args: {
5620
+ athleteId: Scalars['String'];
5621
+ };
5622
+ });
5095
5623
  getSports?: SportGenqlSelection;
5096
5624
  getSportsPaginated?: (PaginatedSportsGenqlSelection & {
5097
5625
  __args?: {
@@ -5186,6 +5714,16 @@ export interface QueryGenqlSelection {
5186
5714
  getDonationsToMe?: DonationGenqlSelection;
5187
5715
  getBudgetConcepts?: BudgetConceptGenqlSelection;
5188
5716
  getBudgetItemUnits?: BudgetItemUnitGenqlSelection;
5717
+ getDonationDatesForCalendar?: (DonationDatesGenqlSelection & {
5718
+ __args?: {
5719
+ campaignId?: (Scalars['String'] | null);
5720
+ };
5721
+ });
5722
+ getDonationsPaginated?: (PaginatedDonationsGenqlSelection & {
5723
+ __args?: {
5724
+ query?: (DonationQueryDto | null);
5725
+ };
5726
+ });
5189
5727
  getMembershipOrganizations?: MembershipOrganizationReferenceGenqlSelection;
5190
5728
  getAthleteStravaIntegration?: AthleteIntegrationReferenceGenqlSelection;
5191
5729
  getAthleteInstagramIntegration?: AthleteIntegrationReferenceGenqlSelection;
@@ -5336,6 +5874,43 @@ export interface QueryGenqlSelection {
5336
5874
  options?: (PostComparisonInput | null);
5337
5875
  };
5338
5876
  });
5877
+ myNotifications?: (NotificationListResponseGenqlSelection & {
5878
+ __args?: {
5879
+ input?: (NotificationQueryDto | null);
5880
+ };
5881
+ });
5882
+ notificationUnreadCount?: UnreadCountResponseGenqlSelection;
5883
+ myNotificationPreferences?: NotificationPreferenceGenqlSelection;
5884
+ myFollowedAthletes?: (FollowedAthletesListResponseGenqlSelection & {
5885
+ __args?: {
5886
+ input?: (FollowedAthletesQueryInput | null);
5887
+ };
5888
+ });
5889
+ isFollowingAthlete?: (IsFollowingResponseGenqlSelection & {
5890
+ __args: {
5891
+ input: IsFollowingAthleteInput;
5892
+ };
5893
+ });
5894
+ getEmailCampaigns?: (EmailCampaignPageGenqlSelection & {
5895
+ __args?: {
5896
+ status?: (Scalars['String'] | null);
5897
+ search?: (Scalars['String'] | null);
5898
+ page?: (Scalars['Int'] | null);
5899
+ limit?: (Scalars['Int'] | null);
5900
+ };
5901
+ });
5902
+ getEmailCampaign?: (EmailCampaignGenqlSelection & {
5903
+ __args: {
5904
+ id: Scalars['String'];
5905
+ };
5906
+ });
5907
+ getAudiencePreview?: (AudiencePreviewGenqlSelection & {
5908
+ __args: {
5909
+ filters: AudienceFilterDto;
5910
+ };
5911
+ });
5912
+ getSendGridTemplates?: SendGridTemplateGenqlSelection;
5913
+ getEmailSegments?: EmailSegmentGenqlSelection;
5339
5914
  __typename?: boolean | number;
5340
5915
  __scalar?: boolean | number;
5341
5916
  }
@@ -5358,6 +5933,24 @@ export interface FindVtxUserDto {
5358
5933
  export interface GetSportEventsDto {
5359
5934
  matchString?: (Scalars['String'] | null);
5360
5935
  }
5936
+ export interface AudienceFilterDto {
5937
+ userType?: (Scalars['String'] | null);
5938
+ ageMin?: (Scalars['Int'] | null);
5939
+ ageMax?: (Scalars['Int'] | null);
5940
+ gender?: (Scalars['String'] | null);
5941
+ walletStatus?: (Scalars['String'] | null);
5942
+ campaignStatus?: (Scalars['String'] | null);
5943
+ hasStrava?: (Scalars['Boolean'] | null);
5944
+ hasInstagram?: (Scalars['Boolean'] | null);
5945
+ vtxScoreMin?: (Scalars['Float'] | null);
5946
+ vtxScoreMax?: (Scalars['Float'] | null);
5947
+ tpiScoreMin?: (Scalars['Float'] | null);
5948
+ tpiScoreMax?: (Scalars['Float'] | null);
5949
+ spiScoreMin?: (Scalars['Float'] | null);
5950
+ spiScoreMax?: (Scalars['Float'] | null);
5951
+ apiScoreMin?: (Scalars['Float'] | null);
5952
+ apiScoreMax?: (Scalars['Float'] | null);
5953
+ }
5361
5954
  export interface MutationGenqlSelection {
5362
5955
  registerNewDomainTenant?: (TenantGenqlSelection & {
5363
5956
  __args: {
@@ -5552,6 +6145,12 @@ export interface MutationGenqlSelection {
5552
6145
  input: SetCurrentCampaignDto;
5553
6146
  };
5554
6147
  });
6148
+ deleteOnboardingAthlete?: DeleteOnboardingAthleteResponseGenqlSelection;
6149
+ updateOnboardingProgress?: (OnboardingProgressResponseGenqlSelection & {
6150
+ __args: {
6151
+ input: UpdateOnboardingProgressDto;
6152
+ };
6153
+ });
5555
6154
  createSport?: (SportGenqlSelection & {
5556
6155
  __args: {
5557
6156
  input: CreateSportDto;
@@ -5809,6 +6408,101 @@ export interface MutationGenqlSelection {
5809
6408
  };
5810
6409
  });
5811
6410
  rebuildLeaderboardCache?: boolean | number;
6411
+ markNotificationAsRead?: (NotificationGenqlSelection & {
6412
+ __args: {
6413
+ input: MarkNotificationReadDto;
6414
+ };
6415
+ });
6416
+ markAllNotificationsAsRead?: boolean | number;
6417
+ dismissNotification?: {
6418
+ __args: {
6419
+ input: DismissNotificationDto;
6420
+ };
6421
+ };
6422
+ updateNotificationPreferences?: (NotificationPreferenceGenqlSelection & {
6423
+ __args: {
6424
+ input: UpdateNotificationPreferenceDto;
6425
+ };
6426
+ });
6427
+ registerDeviceToken?: (DeviceTokenTypeGenqlSelection & {
6428
+ __args: {
6429
+ input: RegisterDeviceTokenDto;
6430
+ };
6431
+ });
6432
+ unregisterDeviceToken?: {
6433
+ __args: {
6434
+ input: UnregisterDeviceTokenDto;
6435
+ };
6436
+ };
6437
+ followAthlete?: {
6438
+ __args: {
6439
+ input: FollowAthleteInput;
6440
+ };
6441
+ };
6442
+ unfollowAthlete?: {
6443
+ __args: {
6444
+ input: UnfollowAthleteInput;
6445
+ };
6446
+ };
6447
+ createEmailCampaign?: (EmailCampaignGenqlSelection & {
6448
+ __args: {
6449
+ input: CreateEmailCampaignDto;
6450
+ };
6451
+ });
6452
+ updateEmailCampaign?: (EmailCampaignGenqlSelection & {
6453
+ __args: {
6454
+ id: Scalars['String'];
6455
+ input: UpdateEmailCampaignDto;
6456
+ };
6457
+ });
6458
+ deleteEmailCampaign?: {
6459
+ __args: {
6460
+ id: Scalars['String'];
6461
+ };
6462
+ };
6463
+ cloneEmailCampaign?: (EmailCampaignGenqlSelection & {
6464
+ __args: {
6465
+ id: Scalars['String'];
6466
+ };
6467
+ });
6468
+ sendTestEmail?: {
6469
+ __args: {
6470
+ campaignId: Scalars['String'];
6471
+ adminEmail: Scalars['String'];
6472
+ };
6473
+ };
6474
+ sendBulkEmail?: {
6475
+ __args: {
6476
+ campaignId: Scalars['String'];
6477
+ };
6478
+ };
6479
+ scheduleEmailCampaign?: (EmailCampaignGenqlSelection & {
6480
+ __args: {
6481
+ campaignId: Scalars['String'];
6482
+ scheduledFor: Scalars['DateTime'];
6483
+ };
6484
+ });
6485
+ cancelScheduledEmail?: (EmailCampaignGenqlSelection & {
6486
+ __args: {
6487
+ campaignId: Scalars['String'];
6488
+ };
6489
+ });
6490
+ createEmailSegment?: (EmailSegmentGenqlSelection & {
6491
+ __args: {
6492
+ input: CreateEmailSegmentDto;
6493
+ };
6494
+ });
6495
+ updateEmailSegment?: (EmailSegmentGenqlSelection & {
6496
+ __args: {
6497
+ id: Scalars['String'];
6498
+ input: UpdateEmailSegmentDto;
6499
+ };
6500
+ });
6501
+ deleteEmailSegment?: {
6502
+ __args: {
6503
+ id: Scalars['String'];
6504
+ };
6505
+ };
5812
6506
  __typename?: boolean | number;
5813
6507
  __scalar?: boolean | number;
5814
6508
  }
@@ -6009,6 +6703,34 @@ export interface CreateStripeAccountDto {
6009
6703
  acceptedTermsId: Scalars['String'];
6010
6704
  acceptedPrivacyId: Scalars['String'];
6011
6705
  }
6706
+ export interface CreateEmailCampaignDto {
6707
+ subject: Scalars['String'];
6708
+ templateId?: (Scalars['String'] | null);
6709
+ templateName?: (Scalars['String'] | null);
6710
+ htmlContent?: (Scalars['String'] | null);
6711
+ audienceFilters: AudienceFilterDto;
6712
+ segmentId?: (Scalars['String'] | null);
6713
+ scheduledFor?: (Scalars['DateTime'] | null);
6714
+ status?: (Scalars['String'] | null);
6715
+ }
6716
+ export interface UpdateEmailCampaignDto {
6717
+ subject?: (Scalars['String'] | null);
6718
+ templateId?: (Scalars['String'] | null);
6719
+ templateName?: (Scalars['String'] | null);
6720
+ htmlContent?: (Scalars['String'] | null);
6721
+ audienceFilters?: (AudienceFilterDto | null);
6722
+ segmentId?: (Scalars['String'] | null);
6723
+ scheduledFor?: (Scalars['DateTime'] | null);
6724
+ status?: (Scalars['String'] | null);
6725
+ }
6726
+ export interface CreateEmailSegmentDto {
6727
+ name: Scalars['String'];
6728
+ filters: AudienceFilterDto;
6729
+ }
6730
+ export interface UpdateEmailSegmentDto {
6731
+ name?: (Scalars['String'] | null);
6732
+ filters?: (AudienceFilterDto | null);
6733
+ }
6012
6734
  export declare const isUser: (obj?: {
6013
6735
  __typename?: any;
6014
6736
  } | null) => obj is User;
@@ -6348,12 +7070,6 @@ export declare const isReceipt: (obj?: {
6348
7070
  export declare const isReceiptUrl: (obj?: {
6349
7071
  __typename?: any;
6350
7072
  } | null) => obj is ReceiptUrl;
6351
- export declare const isErrorType: (obj?: {
6352
- __typename?: any;
6353
- } | null) => obj is ErrorType;
6354
- export declare const isDeleteValuesResponse: (obj?: {
6355
- __typename?: any;
6356
- } | null) => obj is DeleteValuesResponse;
6357
7073
  export declare const isBudgetItemReference: (obj?: {
6358
7074
  __typename?: any;
6359
7075
  } | null) => obj is BudgetItemReference;
@@ -6435,12 +7151,21 @@ export declare const isPaginatedSponsors: (obj?: {
6435
7151
  export declare const isEditValueResponse: (obj?: {
6436
7152
  __typename?: any;
6437
7153
  } | null) => obj is EditValueResponse;
7154
+ export declare const isErrorType: (obj?: {
7155
+ __typename?: any;
7156
+ } | null) => obj is ErrorType;
7157
+ export declare const isDeleteValuesResponse: (obj?: {
7158
+ __typename?: any;
7159
+ } | null) => obj is DeleteValuesResponse;
6438
7160
  export declare const isDeleteSingleValueResponse: (obj?: {
6439
7161
  __typename?: any;
6440
7162
  } | null) => obj is DeleteSingleValueResponse;
6441
7163
  export declare const isScoreRefreshDetail: (obj?: {
6442
7164
  __typename?: any;
6443
7165
  } | null) => obj is ScoreRefreshDetail;
7166
+ export declare const isRefreshDiagnostics: (obj?: {
7167
+ __typename?: any;
7168
+ } | null) => obj is RefreshDiagnostics;
6444
7169
  export declare const isForceScoreRefreshResult: (obj?: {
6445
7170
  __typename?: any;
6446
7171
  } | null) => obj is ForceScoreRefreshResult;
@@ -6465,6 +7190,9 @@ export declare const isAddValuesResponse: (obj?: {
6465
7190
  export declare const isExistValueResponse: (obj?: {
6466
7191
  __typename?: any;
6467
7192
  } | null) => obj is ExistValueResponse;
7193
+ export declare const isDeleteOnboardingAthleteResponse: (obj?: {
7194
+ __typename?: any;
7195
+ } | null) => obj is DeleteOnboardingAthleteResponse;
6468
7196
  export declare const isCompetitionDeleteVerificationReason: (obj?: {
6469
7197
  __typename?: any;
6470
7198
  } | null) => obj is CompetitionDeleteVerificationReason;
@@ -6477,12 +7205,21 @@ export declare const isHistoricalScoresPeriod: (obj?: {
6477
7205
  export declare const isStripeObject: (obj?: {
6478
7206
  __typename?: any;
6479
7207
  } | null) => obj is StripeObject;
7208
+ export declare const isBrowseCampaignsResult: (obj?: {
7209
+ __typename?: any;
7210
+ } | null) => obj is BrowseCampaignsResult;
6480
7211
  export declare const isScoreRefreshCapability: (obj?: {
6481
7212
  __typename?: any;
6482
7213
  } | null) => obj is ScoreRefreshCapability;
6483
7214
  export declare const isCheckScoreRefreshCapabilityResponse: (obj?: {
6484
7215
  __typename?: any;
6485
7216
  } | null) => obj is CheckScoreRefreshCapabilityResponse;
7217
+ export declare const isOnboardingProgressResponse: (obj?: {
7218
+ __typename?: any;
7219
+ } | null) => obj is OnboardingProgressResponse;
7220
+ export declare const isPublicIntegrationStatus: (obj?: {
7221
+ __typename?: any;
7222
+ } | null) => obj is PublicIntegrationStatus;
6486
7223
  export declare const isPaginatedSports: (obj?: {
6487
7224
  __typename?: any;
6488
7225
  } | null) => obj is PaginatedSports;
@@ -6504,6 +7241,12 @@ export declare const isTransactionDetails: (obj?: {
6504
7241
  export declare const isPaginatedEvents: (obj?: {
6505
7242
  __typename?: any;
6506
7243
  } | null) => obj is PaginatedEvents;
7244
+ export declare const isDonationDates: (obj?: {
7245
+ __typename?: any;
7246
+ } | null) => obj is DonationDates;
7247
+ export declare const isPaginatedDonations: (obj?: {
7248
+ __typename?: any;
7249
+ } | null) => obj is PaginatedDonations;
6507
7250
  export declare const isCurrencyAmountType: (obj?: {
6508
7251
  __typename?: any;
6509
7252
  } | null) => obj is CurrencyAmountType;
@@ -6594,6 +7337,51 @@ export declare const isAveragesType: (obj?: {
6594
7337
  export declare const isPostComparisonResultType: (obj?: {
6595
7338
  __typename?: any;
6596
7339
  } | null) => obj is PostComparisonResultType;
7340
+ export declare const isNotification: (obj?: {
7341
+ __typename?: any;
7342
+ } | null) => obj is Notification;
7343
+ export declare const isNotificationListResponse: (obj?: {
7344
+ __typename?: any;
7345
+ } | null) => obj is NotificationListResponse;
7346
+ export declare const isUnreadCountResponse: (obj?: {
7347
+ __typename?: any;
7348
+ } | null) => obj is UnreadCountResponse;
7349
+ export declare const isNotificationPreference: (obj?: {
7350
+ __typename?: any;
7351
+ } | null) => obj is NotificationPreference;
7352
+ export declare const isDeviceTokenType: (obj?: {
7353
+ __typename?: any;
7354
+ } | null) => obj is DeviceTokenType;
7355
+ export declare const isFollowedAthleteInfo: (obj?: {
7356
+ __typename?: any;
7357
+ } | null) => obj is FollowedAthleteInfo;
7358
+ export declare const isFollowedAthletesListResponse: (obj?: {
7359
+ __typename?: any;
7360
+ } | null) => obj is FollowedAthletesListResponse;
7361
+ export declare const isIsFollowingResponse: (obj?: {
7362
+ __typename?: any;
7363
+ } | null) => obj is IsFollowingResponse;
7364
+ export declare const isEmailCampaignDelivery: (obj?: {
7365
+ __typename?: any;
7366
+ } | null) => obj is EmailCampaignDelivery;
7367
+ export declare const isEmailSegment: (obj?: {
7368
+ __typename?: any;
7369
+ } | null) => obj is EmailSegment;
7370
+ export declare const isEmailCampaign: (obj?: {
7371
+ __typename?: any;
7372
+ } | null) => obj is EmailCampaign;
7373
+ export declare const isEmailCampaignPage: (obj?: {
7374
+ __typename?: any;
7375
+ } | null) => obj is EmailCampaignPage;
7376
+ export declare const isSendGridTemplate: (obj?: {
7377
+ __typename?: any;
7378
+ } | null) => obj is SendGridTemplate;
7379
+ export declare const isAudiencePreviewUser: (obj?: {
7380
+ __typename?: any;
7381
+ } | null) => obj is AudiencePreviewUser;
7382
+ export declare const isAudiencePreview: (obj?: {
7383
+ __typename?: any;
7384
+ } | null) => obj is AudiencePreview;
6597
7385
  export declare const isQuery: (obj?: {
6598
7386
  __typename?: any;
6599
7387
  } | null) => obj is Query;