@vertikalx/vtx-backend-client 3.5.5-dev-ven.2 → 3.5.5-dev-ven.4

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.
@@ -1814,6 +1814,13 @@ export type ForceScoreRefreshResult = {
1814
1814
  tpi?: Maybe<ScoreRefreshDetail>;
1815
1815
  };
1816
1816
  export type ForceScoreRefreshStatus = 'failed' | 'skipped' | 'success';
1817
+ export type FormulaBoundary = {
1818
+ _id: Scalars['String']['output'];
1819
+ effectiveDate: Scalars['String']['output'];
1820
+ fromVersion: Scalars['String']['output'];
1821
+ methodologyUrl?: Maybe<Scalars['String']['output']>;
1822
+ toVersion: Scalars['String']['output'];
1823
+ };
1817
1824
  export type FundCampaignFilterDto = {
1818
1825
  campaignTitle?: InputMaybe<Scalars['String']['input']>;
1819
1826
  cities?: InputMaybe<Array<Scalars['String']['input']>>;
@@ -3417,6 +3424,7 @@ export type Query = {
3417
3424
  getEmailCampaigns: EmailCampaignPage;
3418
3425
  getEmailSegments: Array<EmailSegment>;
3419
3426
  getEventsMissingCourseData: PaginatedEvents;
3427
+ getFormulaBoundaries: Array<FormulaBoundary>;
3420
3428
  getLeaderboard: LeaderboardResponse;
3421
3429
  getMembershipOrganizations: Array<MembershipOrganizationReference>;
3422
3430
  getMyClubs: Array<Club>;
@@ -5044,10 +5052,10 @@ export type VerificationCode = {
5044
5052
  type?: Maybe<Scalars['String']['output']>;
5045
5053
  };
5046
5054
  export type VerifiedAthleteStatusType = {
5047
- hasInstagramConnected: Scalars['Boolean']['output'];
5048
- hasStripeVerified: Scalars['Boolean']['output'];
5049
- hasTrainingConnected: Scalars['Boolean']['output'];
5050
- hasVerifiedRaceResult: Scalars['Boolean']['output'];
5055
+ hasInstagramConnected?: Maybe<Scalars['Boolean']['output']>;
5056
+ hasStripeVerified?: Maybe<Scalars['Boolean']['output']>;
5057
+ hasTrainingConnected?: Maybe<Scalars['Boolean']['output']>;
5058
+ hasVerifiedRaceResult?: Maybe<Scalars['Boolean']['output']>;
5051
5059
  isVerified: Scalars['Boolean']['output'];
5052
5060
  };
5053
5061
  export type VerifyCodeDto = {
@@ -5790,12 +5798,249 @@ export type StandardAthleteFieldsFragment = {
5790
5798
  };
5791
5799
  verifiedStatus?: {
5792
5800
  isVerified: boolean;
5793
- hasTrainingConnected: boolean;
5794
- hasInstagramConnected: boolean;
5795
- hasVerifiedRaceResult: boolean;
5796
- hasStripeVerified: boolean;
5797
5801
  } | null;
5798
5802
  };
5803
+ export type OwnerAthleteFieldsFragment = {
5804
+ _id: string;
5805
+ firstName: string;
5806
+ lastName: string;
5807
+ screenName?: string | null;
5808
+ dob?: string | null;
5809
+ lgbt?: boolean | null;
5810
+ competitionGender?: string | null;
5811
+ trainer?: string | null;
5812
+ trainerUrl?: string | null;
5813
+ aboutMe?: string | null;
5814
+ totalUpcomingCompetitions?: number | null;
5815
+ totalPastCompetitions?: number | null;
5816
+ isVerifiedOverride?: boolean | null;
5817
+ verifiedStatus?: {
5818
+ isVerified: boolean;
5819
+ hasTrainingConnected?: boolean | null;
5820
+ hasInstagramConnected?: boolean | null;
5821
+ hasVerifiedRaceResult?: boolean | null;
5822
+ hasStripeVerified?: boolean | null;
5823
+ } | null;
5824
+ country?: {
5825
+ _id: string;
5826
+ name: string;
5827
+ } | null;
5828
+ location?: {
5829
+ userProvidedLatitude?: number | null;
5830
+ userProvidedLongitude?: number | null;
5831
+ cityNameGeocode?: string | null;
5832
+ stateNameGeocode?: string | null;
5833
+ countryIso2CodeGeocode?: string | null;
5834
+ timeZoneGeocode?: string | null;
5835
+ latitudeGeocode?: number | null;
5836
+ longitudeGeocode?: number | null;
5837
+ city?: {
5838
+ _id: string;
5839
+ name: string;
5840
+ localizedName: string;
5841
+ latitude?: number | null;
5842
+ longitude?: number | null;
5843
+ timezone?: string | null;
5844
+ state?: {
5845
+ _id: string;
5846
+ name: string;
5847
+ country?: {
5848
+ _id: string;
5849
+ name: string;
5850
+ } | null;
5851
+ } | null;
5852
+ } | null;
5853
+ } | null;
5854
+ followStats?: {
5855
+ followers: number;
5856
+ followed: number;
5857
+ raves: number;
5858
+ favorites: number;
5859
+ } | null;
5860
+ mainSport: {
5861
+ _id: string;
5862
+ name: string;
5863
+ };
5864
+ mainSportLevel: {
5865
+ _id: string;
5866
+ label: string;
5867
+ index: number;
5868
+ };
5869
+ scores: {
5870
+ vtxScore: number;
5871
+ socialScore: number;
5872
+ trainingScore: number;
5873
+ competitionScore: number;
5874
+ };
5875
+ rankings?: {
5876
+ worldRanking?: {
5877
+ scope: string;
5878
+ scopeId: string;
5879
+ scopeName: string;
5880
+ position: number;
5881
+ total: number;
5882
+ } | null;
5883
+ countryRanking?: {
5884
+ scope: string;
5885
+ scopeId: string;
5886
+ scopeName: string;
5887
+ position: number;
5888
+ total: number;
5889
+ } | null;
5890
+ stateRanking?: {
5891
+ scope: string;
5892
+ scopeId: string;
5893
+ scopeName: string;
5894
+ position: number;
5895
+ total: number;
5896
+ } | null;
5897
+ cityRanking?: {
5898
+ scope: string;
5899
+ scopeId: string;
5900
+ scopeName: string;
5901
+ position: number;
5902
+ total: number;
5903
+ } | null;
5904
+ } | null;
5905
+ allSports?: Array<{
5906
+ _id: string;
5907
+ name: string;
5908
+ }> | null;
5909
+ teams?: Array<{
5910
+ _id: string;
5911
+ name: string;
5912
+ description?: string | null;
5913
+ approved?: boolean | null;
5914
+ logo?: {
5915
+ _id: string;
5916
+ name?: string | null;
5917
+ contentType?: string | null;
5918
+ size?: number | null;
5919
+ useType?: string | null;
5920
+ url: string;
5921
+ key: string;
5922
+ } | null;
5923
+ banner?: {
5924
+ _id: string;
5925
+ name?: string | null;
5926
+ contentType?: string | null;
5927
+ size?: number | null;
5928
+ useType?: string | null;
5929
+ url: string;
5930
+ key: string;
5931
+ } | null;
5932
+ }> | null;
5933
+ sponsorBrands?: Array<{
5934
+ _id: string;
5935
+ name: string;
5936
+ slogan?: string | null;
5937
+ website?: string | null;
5938
+ description?: string | null;
5939
+ approved: boolean;
5940
+ published: boolean;
5941
+ operatorIds?: Array<string> | null;
5942
+ logo?: {
5943
+ _id: string;
5944
+ name?: string | null;
5945
+ contentType?: string | null;
5946
+ size?: number | null;
5947
+ useType?: string | null;
5948
+ url: string;
5949
+ key: string;
5950
+ } | null;
5951
+ stats?: {
5952
+ campaigns?: number | null;
5953
+ sponsorships?: number | null;
5954
+ sports?: number | null;
5955
+ athletes?: number | null;
5956
+ } | null;
5957
+ }> | null;
5958
+ competitions?: Array<{
5959
+ _id: string;
5960
+ participationDate?: string | null;
5961
+ event: {
5962
+ _id: string;
5963
+ name: string;
5964
+ eventWebSite?: string | null;
5965
+ startDate: string;
5966
+ endDate?: string | null;
5967
+ verified: boolean;
5968
+ distanceMeters?: number | null;
5969
+ courseType?: string | null;
5970
+ eventLevel?: string | null;
5971
+ mainSport?: {
5972
+ _id: string;
5973
+ name: string;
5974
+ } | null;
5975
+ banner?: {
5976
+ _id: string;
5977
+ name?: string | null;
5978
+ contentType?: string | null;
5979
+ size?: number | null;
5980
+ useType?: string | null;
5981
+ url: string;
5982
+ key: string;
5983
+ } | null;
5984
+ location?: {
5985
+ _id: string;
5986
+ userProvidedLatitude?: number | null;
5987
+ userProvidedLongitude?: number | null;
5988
+ cityNameGeocode?: string | null;
5989
+ stateNameGeocode?: string | null;
5990
+ countryIso2CodeGeocode?: string | null;
5991
+ timeZoneGeocode?: string | null;
5992
+ latitudeGeocode?: number | null;
5993
+ longitudeGeocode?: number | null;
5994
+ city?: {
5995
+ _id: string;
5996
+ name: string;
5997
+ localizedName: string;
5998
+ latitude?: number | null;
5999
+ longitude?: number | null;
6000
+ timezone?: string | null;
6001
+ state?: {
6002
+ _id: string;
6003
+ name: string;
6004
+ country?: {
6005
+ _id: string;
6006
+ name: string;
6007
+ } | null;
6008
+ } | null;
6009
+ } | null;
6010
+ } | null;
6011
+ };
6012
+ result?: {
6013
+ _id: string;
6014
+ resultType: string;
6015
+ position?: number | null;
6016
+ score?: string | null;
6017
+ finishTimeMS?: number | null;
6018
+ resultWebLink?: string | null;
6019
+ } | null;
6020
+ }> | null;
6021
+ profilePicture?: {
6022
+ _id: string;
6023
+ name?: string | null;
6024
+ contentType?: string | null;
6025
+ size?: number | null;
6026
+ useType?: string | null;
6027
+ url: string;
6028
+ key: string;
6029
+ } | null;
6030
+ cardPicture?: {
6031
+ _id: string;
6032
+ name?: string | null;
6033
+ contentType?: string | null;
6034
+ size?: number | null;
6035
+ useType?: string | null;
6036
+ url: string;
6037
+ key: string;
6038
+ } | null;
6039
+ preferences: {
6040
+ _id: string;
6041
+ showProfileHelper: boolean;
6042
+ };
6043
+ };
5799
6044
  export type CampaignLocationFieldsFragment = {
5800
6045
  _id: string;
5801
6046
  userProvidedLatitude?: number | null;
@@ -5970,6 +6215,13 @@ export type HistoricalScoreFieldsFragment = {
5970
6215
  date: string;
5971
6216
  athleteId: string;
5972
6217
  };
6218
+ export type FormulaBoundaryFieldsFragment = {
6219
+ _id: string;
6220
+ effectiveDate: string;
6221
+ fromVersion: string;
6222
+ toVersion: string;
6223
+ methodologyUrl?: string | null;
6224
+ };
5973
6225
  export type HistoricalScoresPeriodFieldsFragment = {
5974
6226
  athleteId: string;
5975
6227
  athleteFirstName: string;
@@ -6245,10 +6497,6 @@ export type RegisterAthleteMutation = {
6245
6497
  };
6246
6498
  verifiedStatus?: {
6247
6499
  isVerified: boolean;
6248
- hasTrainingConnected: boolean;
6249
- hasInstagramConnected: boolean;
6250
- hasVerifiedRaceResult: boolean;
6251
- hasStripeVerified: boolean;
6252
6500
  } | null;
6253
6501
  };
6254
6502
  };
@@ -6581,6 +6829,13 @@ export type FindAthleteForUserQuery = {
6581
6829
  } | null;
6582
6830
  } | null;
6583
6831
  } | null;
6832
+ verifiedStatus?: {
6833
+ isVerified: boolean;
6834
+ hasTrainingConnected?: boolean | null;
6835
+ hasInstagramConnected?: boolean | null;
6836
+ hasVerifiedRaceResult?: boolean | null;
6837
+ hasStripeVerified?: boolean | null;
6838
+ } | null;
6584
6839
  country?: {
6585
6840
  _id: string;
6586
6841
  name: string;
@@ -6796,13 +7051,6 @@ export type FindAthleteForUserQuery = {
6796
7051
  url: string;
6797
7052
  key: string;
6798
7053
  } | null;
6799
- verifiedStatus?: {
6800
- isVerified: boolean;
6801
- hasTrainingConnected: boolean;
6802
- hasInstagramConnected: boolean;
6803
- hasVerifiedRaceResult: boolean;
6804
- hasStripeVerified: boolean;
6805
- } | null;
6806
7054
  };
6807
7055
  };
6808
7056
  export type FindAthleteByIdQueryVariables = Exact<{
@@ -7045,10 +7293,6 @@ export type FindAthleteByIdQuery = {
7045
7293
  };
7046
7294
  verifiedStatus?: {
7047
7295
  isVerified: boolean;
7048
- hasTrainingConnected: boolean;
7049
- hasInstagramConnected: boolean;
7050
- hasVerifiedRaceResult: boolean;
7051
- hasStripeVerified: boolean;
7052
7296
  } | null;
7053
7297
  };
7054
7298
  };
@@ -7492,10 +7736,6 @@ export type FindAthleteForIdPublicQuery = {
7492
7736
  } | null;
7493
7737
  verifiedStatus?: {
7494
7738
  isVerified: boolean;
7495
- hasTrainingConnected: boolean;
7496
- hasInstagramConnected: boolean;
7497
- hasVerifiedRaceResult: boolean;
7498
- hasStripeVerified: boolean;
7499
7739
  } | null;
7500
7740
  };
7501
7741
  };
@@ -7738,10 +7978,6 @@ export type GetAthletesQuery = {
7738
7978
  };
7739
7979
  verifiedStatus?: {
7740
7980
  isVerified: boolean;
7741
- hasTrainingConnected: boolean;
7742
- hasInstagramConnected: boolean;
7743
- hasVerifiedRaceResult: boolean;
7744
- hasStripeVerified: boolean;
7745
7981
  } | null;
7746
7982
  }>;
7747
7983
  };
@@ -7984,10 +8220,6 @@ export type SearchAthletesQuery = {
7984
8220
  };
7985
8221
  verifiedStatus?: {
7986
8222
  isVerified: boolean;
7987
- hasTrainingConnected: boolean;
7988
- hasInstagramConnected: boolean;
7989
- hasVerifiedRaceResult: boolean;
7990
- hasStripeVerified: boolean;
7991
8223
  } | null;
7992
8224
  }>;
7993
8225
  };
@@ -8230,10 +8462,6 @@ export type GetRecommendedAthletesQuery = {
8230
8462
  };
8231
8463
  verifiedStatus?: {
8232
8464
  isVerified: boolean;
8233
- hasTrainingConnected: boolean;
8234
- hasInstagramConnected: boolean;
8235
- hasVerifiedRaceResult: boolean;
8236
- hasStripeVerified: boolean;
8237
8465
  } | null;
8238
8466
  }>;
8239
8467
  };
@@ -8476,10 +8704,6 @@ export type GetSponsorAthletesForTenantQuery = {
8476
8704
  };
8477
8705
  verifiedStatus?: {
8478
8706
  isVerified: boolean;
8479
- hasTrainingConnected: boolean;
8480
- hasInstagramConnected: boolean;
8481
- hasVerifiedRaceResult: boolean;
8482
- hasStripeVerified: boolean;
8483
8707
  } | null;
8484
8708
  }>;
8485
8709
  };
@@ -9728,6 +9952,18 @@ export type GetMyHistoricalScoresPeriodQuery = {
9728
9952
  }> | null;
9729
9953
  };
9730
9954
  };
9955
+ export type GetFormulaBoundariesQueryVariables = Exact<{
9956
+ [key: string]: never;
9957
+ }>;
9958
+ export type GetFormulaBoundariesQuery = {
9959
+ getFormulaBoundaries: Array<{
9960
+ _id: string;
9961
+ effectiveDate: string;
9962
+ fromVersion: string;
9963
+ toVersion: string;
9964
+ methodologyUrl?: string | null;
9965
+ }>;
9966
+ };
9731
9967
  export type GetAthleteDashboardQueryVariables = Exact<{
9732
9968
  athleteId: Scalars['String']['input'];
9733
9969
  }>;
@@ -10859,6 +11095,16 @@ export type ListBlogPostsAdminQuery = {
10859
11095
  } | null;
10860
11096
  }>;
10861
11097
  };
11098
+ export type ListBlogPostSlugsQueryVariables = Exact<{
11099
+ [key: string]: never;
11100
+ }>;
11101
+ export type ListBlogPostSlugsQuery = {
11102
+ listBlogPosts: Array<{
11103
+ slug: string;
11104
+ publishedAt?: string | null;
11105
+ createdAt: string;
11106
+ }>;
11107
+ };
10862
11108
  export type CampaignFieldsFragment = {
10863
11109
  _id: string;
10864
11110
  budgetMode: string;
@@ -19368,8 +19614,10 @@ export declare const RankingFieldsFragmentDoc: import("graphql").DocumentNode;
19368
19614
  export declare const FileFieldsFragmentDoc: import("graphql").DocumentNode;
19369
19615
  export declare const CompetitionEventFieldsFragmentDoc: import("graphql").DocumentNode;
19370
19616
  export declare const StandardAthleteFieldsFragmentDoc: import("graphql").DocumentNode;
19617
+ export declare const OwnerAthleteFieldsFragmentDoc: import("graphql").DocumentNode;
19371
19618
  export declare const CampaignLocationFieldsFragmentDoc: import("graphql").DocumentNode;
19372
19619
  export declare const CurrentCampaignFieldsFragmentDoc: import("graphql").DocumentNode;
19620
+ export declare const FormulaBoundaryFieldsFragmentDoc: import("graphql").DocumentNode;
19373
19621
  export declare const HistoricalScoreFieldsFragmentDoc: import("graphql").DocumentNode;
19374
19622
  export declare const HistoricalScoresPeriodFieldsFragmentDoc: import("graphql").DocumentNode;
19375
19623
  export declare const BlogPostFieldsFragmentDoc: import("graphql").DocumentNode;
@@ -19450,6 +19698,7 @@ export declare const GetAthleteHistoricalScoresDocument: import("graphql").Docum
19450
19698
  export declare const GetMyHistoricalScoresDocument: import("graphql").DocumentNode;
19451
19699
  export declare const GetAthleteHistoricalScoresPeriodDocument: import("graphql").DocumentNode;
19452
19700
  export declare const GetMyHistoricalScoresPeriodDocument: import("graphql").DocumentNode;
19701
+ export declare const GetFormulaBoundariesDocument: import("graphql").DocumentNode;
19453
19702
  export declare const GetAthleteDashboardDocument: import("graphql").DocumentNode;
19454
19703
  export declare const GetAthleteScoreHistoryDocument: import("graphql").DocumentNode;
19455
19704
  export declare const GetAthleteRankHistoryDocument: import("graphql").DocumentNode;
@@ -19499,6 +19748,7 @@ export declare const ValidateTokenDocument: import("graphql").DocumentNode;
19499
19748
  export declare const ListBlogPostsDocument: import("graphql").DocumentNode;
19500
19749
  export declare const GetBlogPostDocument: import("graphql").DocumentNode;
19501
19750
  export declare const ListBlogPostsAdminDocument: import("graphql").DocumentNode;
19751
+ export declare const ListBlogPostSlugsDocument: import("graphql").DocumentNode;
19502
19752
  export declare const GetAthleteCampaignsDocument: import("graphql").DocumentNode;
19503
19753
  export declare const BrowseCampaignsDocument: import("graphql").DocumentNode;
19504
19754
  export declare const CreateFundingCampaignDocument: import("graphql").DocumentNode;
@@ -19832,6 +20082,7 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
19832
20082
  GetMyHistoricalScores(variables: GetMyHistoricalScoresQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetMyHistoricalScoresQuery>;
19833
20083
  GetAthleteHistoricalScoresPeriod(variables: GetAthleteHistoricalScoresPeriodQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAthleteHistoricalScoresPeriodQuery>;
19834
20084
  GetMyHistoricalScoresPeriod(variables: GetMyHistoricalScoresPeriodQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetMyHistoricalScoresPeriodQuery>;
20085
+ GetFormulaBoundaries(variables?: GetFormulaBoundariesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetFormulaBoundariesQuery>;
19835
20086
  GetAthleteDashboard(variables: GetAthleteDashboardQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAthleteDashboardQuery>;
19836
20087
  GetAthleteScoreHistory(variables: GetAthleteScoreHistoryQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAthleteScoreHistoryQuery>;
19837
20088
  GetAthleteRankHistory(variables: GetAthleteRankHistoryQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAthleteRankHistoryQuery>;
@@ -19881,6 +20132,7 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
19881
20132
  ListBlogPosts(variables?: ListBlogPostsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ListBlogPostsQuery>;
19882
20133
  GetBlogPost(variables: GetBlogPostQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetBlogPostQuery>;
19883
20134
  ListBlogPostsAdmin(variables?: ListBlogPostsAdminQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ListBlogPostsAdminQuery>;
20135
+ ListBlogPostSlugs(variables?: ListBlogPostSlugsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ListBlogPostSlugsQuery>;
19884
20136
  GetAthleteCampaigns(variables: GetAthleteCampaignsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAthleteCampaignsQuery>;
19885
20137
  BrowseCampaigns(variables: BrowseCampaignsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<BrowseCampaignsQuery>;
19886
20138
  CreateFundingCampaign(variables: CreateFundingCampaignMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateFundingCampaignMutation>;