@vertikalx/vtx-backend-client 1.0.0-dev-tmpint.9 → 1.0.0-dev-daniel.194

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.
@@ -689,6 +689,18 @@ export interface FundRaisingCampaign {
689
689
  competitions: (AthleteCompetition[] | null);
690
690
  __typename: 'FundRaisingCampaign';
691
691
  }
692
+ export interface StripeAccount {
693
+ _id: Scalars['String'];
694
+ stripeAccountId: Scalars['String'];
695
+ email: Scalars['String'];
696
+ initialized: Scalars['Boolean'];
697
+ needsUpdate: Scalars['Boolean'];
698
+ countryId: (Scalars['String'] | null);
699
+ defaultCurrency: Scalars['String'];
700
+ created: Scalars['Float'];
701
+ accountData: Scalars['String'];
702
+ __typename: 'StripeAccount';
703
+ }
692
704
  export interface AthleteReference {
693
705
  _id: Scalars['String'];
694
706
  firstName: Scalars['String'];
@@ -746,6 +758,7 @@ export interface Athlete {
746
758
  channels: (Channel[] | null);
747
759
  currentCampaign: (FundRaisingCampaign | null);
748
760
  fundingCampaigns: (FundRaisingCampaign[] | null);
761
+ stripeAccount: (StripeAccount | null);
749
762
  __typename: 'Athlete';
750
763
  }
751
764
  export interface SponsorAthleteInvitation {
@@ -784,6 +797,27 @@ export interface DeleteSingleValueResponse {
784
797
  failureReason: (ErrorType | null);
785
798
  __typename: 'DeleteSingleValueResponse';
786
799
  }
800
+ export interface SortOrder {
801
+ sortField: Scalars['String'];
802
+ order: Scalars['String'];
803
+ __typename: 'SortOrder';
804
+ }
805
+ export interface CursorPaginationResponse {
806
+ sort: (SortOrder | null);
807
+ initialCursorId: (Scalars['String'] | null);
808
+ nextCursorId: (Scalars['String'] | null);
809
+ initialCursorValue: (Scalars['String'] | null);
810
+ nextCursorValue: (Scalars['String'] | null);
811
+ limit: Scalars['Float'];
812
+ retrieved: Scalars['Float'];
813
+ isLastPage: Scalars['Boolean'];
814
+ __typename: 'CursorPaginationResponse';
815
+ }
816
+ export interface AthleteQueryResponse {
817
+ athletes: Athlete[];
818
+ cursor: CursorPaginationResponse;
819
+ __typename: 'AthleteQueryResponse';
820
+ }
787
821
  export interface UserImages {
788
822
  profilePictureUrl: (Scalars['String'] | null);
789
823
  cardPictureUrl: (Scalars['String'] | null);
@@ -797,17 +831,6 @@ export interface DeleteValuesResponse {
797
831
  result: Scalars['String'];
798
832
  __typename: 'DeleteValuesResponse';
799
833
  }
800
- export interface CursorPaginationResponse {
801
- sortField: Scalars['String'];
802
- order: Scalars['String'];
803
- initialCursorId: Scalars['String'];
804
- nextCursorId: Scalars['String'];
805
- initialCursorValue: Scalars['String'];
806
- nextCursorValue: Scalars['String'];
807
- limit: Scalars['Float'];
808
- retrieved: Scalars['Float'];
809
- __typename: 'CursorPaginationResponse';
810
- }
811
834
  export interface Query {
812
835
  findTenantById: Tenant;
813
836
  findTenantByEmail: Tenant;
@@ -826,6 +849,7 @@ export interface Query {
826
849
  sponsors: Sponsor[];
827
850
  findSponsorAthleteInvitation: SponsorAthleteInvitation;
828
851
  getAthletes: Athlete[];
852
+ queryAthleteFundingCampaigns: AthleteQueryResponse;
829
853
  searchAthletes: Athlete[];
830
854
  findAthleteById: Athlete;
831
855
  findAthleteForUser: Athlete;
@@ -1662,6 +1686,19 @@ export interface FundRaisingCampaignGenqlSelection {
1662
1686
  __typename?: boolean | number;
1663
1687
  __scalar?: boolean | number;
1664
1688
  }
1689
+ export interface StripeAccountGenqlSelection {
1690
+ _id?: boolean | number;
1691
+ stripeAccountId?: boolean | number;
1692
+ email?: boolean | number;
1693
+ initialized?: boolean | number;
1694
+ needsUpdate?: boolean | number;
1695
+ countryId?: boolean | number;
1696
+ defaultCurrency?: boolean | number;
1697
+ created?: boolean | number;
1698
+ accountData?: boolean | number;
1699
+ __typename?: boolean | number;
1700
+ __scalar?: boolean | number;
1701
+ }
1665
1702
  export interface AthleteReferenceGenqlSelection {
1666
1703
  _id?: boolean | number;
1667
1704
  firstName?: boolean | number;
@@ -1720,6 +1757,7 @@ export interface AthleteGenqlSelection {
1720
1757
  channels?: ChannelGenqlSelection;
1721
1758
  currentCampaign?: FundRaisingCampaignGenqlSelection;
1722
1759
  fundingCampaigns?: FundRaisingCampaignGenqlSelection;
1760
+ stripeAccount?: StripeAccountGenqlSelection;
1723
1761
  __typename?: boolean | number;
1724
1762
  __scalar?: boolean | number;
1725
1763
  }
@@ -1764,6 +1802,30 @@ export interface DeleteSingleValueResponseGenqlSelection {
1764
1802
  __typename?: boolean | number;
1765
1803
  __scalar?: boolean | number;
1766
1804
  }
1805
+ export interface SortOrderGenqlSelection {
1806
+ sortField?: boolean | number;
1807
+ order?: boolean | number;
1808
+ __typename?: boolean | number;
1809
+ __scalar?: boolean | number;
1810
+ }
1811
+ export interface CursorPaginationResponseGenqlSelection {
1812
+ sort?: SortOrderGenqlSelection;
1813
+ initialCursorId?: boolean | number;
1814
+ nextCursorId?: boolean | number;
1815
+ initialCursorValue?: boolean | number;
1816
+ nextCursorValue?: boolean | number;
1817
+ limit?: boolean | number;
1818
+ retrieved?: boolean | number;
1819
+ isLastPage?: boolean | number;
1820
+ __typename?: boolean | number;
1821
+ __scalar?: boolean | number;
1822
+ }
1823
+ export interface AthleteQueryResponseGenqlSelection {
1824
+ athletes?: AthleteGenqlSelection;
1825
+ cursor?: CursorPaginationResponseGenqlSelection;
1826
+ __typename?: boolean | number;
1827
+ __scalar?: boolean | number;
1828
+ }
1767
1829
  export interface UserImagesGenqlSelection {
1768
1830
  profilePictureUrl?: boolean | number;
1769
1831
  cardPictureUrl?: boolean | number;
@@ -1779,18 +1841,6 @@ export interface DeleteValuesResponseGenqlSelection {
1779
1841
  __typename?: boolean | number;
1780
1842
  __scalar?: boolean | number;
1781
1843
  }
1782
- export interface CursorPaginationResponseGenqlSelection {
1783
- sortField?: boolean | number;
1784
- order?: boolean | number;
1785
- initialCursorId?: boolean | number;
1786
- nextCursorId?: boolean | number;
1787
- initialCursorValue?: boolean | number;
1788
- nextCursorValue?: boolean | number;
1789
- limit?: boolean | number;
1790
- retrieved?: boolean | number;
1791
- __typename?: boolean | number;
1792
- __scalar?: boolean | number;
1793
- }
1794
1844
  export interface CreateVerificationCodeDto {
1795
1845
  type?: (Scalars['String'] | null);
1796
1846
  recipient?: (Scalars['String'] | null);
@@ -1845,9 +1895,63 @@ export interface CreateAthleteCompetitionForDto {
1845
1895
  cityId?: (Scalars['String'] | null);
1846
1896
  loginEmail: Scalars['String'];
1847
1897
  }
1898
+ export interface CursorPositionDto {
1899
+ cursorId: Scalars['String'];
1900
+ cursorFieldValue: Scalars['String'];
1901
+ }
1902
+ export interface SortCriteriaDto {
1903
+ sortField: Scalars['String'];
1904
+ order?: Scalars['String'];
1905
+ }
1906
+ export interface CursorPaginationDto {
1907
+ sortCriteria?: (SortCriteriaDto | null);
1908
+ limit?: (Scalars['Float'] | null);
1909
+ cursorPosition?: (CursorPositionDto | null);
1910
+ }
1848
1911
  export interface DeleteSingleValueDto {
1849
1912
  idToDelete: Scalars['String'];
1850
1913
  }
1914
+ export interface FundCampaignFilterDto {
1915
+ campaignTitle?: (Scalars['String'] | null);
1916
+ status?: (Scalars['String'] | null);
1917
+ minCompletion?: (Scalars['Float'] | null);
1918
+ maxCompletion?: (Scalars['Float'] | null);
1919
+ minFundsRequired?: (Scalars['Float'] | null);
1920
+ maxFundsRequired?: (Scalars['Float'] | null);
1921
+ minEndingDate?: (Scalars['DateTime'] | null);
1922
+ maxEndingDate?: (Scalars['DateTime'] | null);
1923
+ competitions?: (Scalars['String'][] | null);
1924
+ cities?: (Scalars['String'][] | null);
1925
+ states?: (Scalars['String'][] | null);
1926
+ countries?: (Scalars['String'][] | null);
1927
+ }
1928
+ export interface AthleteFilterDto {
1929
+ name?: (Scalars['String'] | null);
1930
+ cities?: (Scalars['String'][] | null);
1931
+ states?: (Scalars['String'][] | null);
1932
+ countries?: (Scalars['String'][] | null);
1933
+ teams?: (Scalars['String'][] | null);
1934
+ currentCampaign?: (FundCampaignFilterDto | null);
1935
+ sports?: (Scalars['String'][] | null);
1936
+ mainSportOnly?: (Scalars['Boolean'] | null);
1937
+ gender?: (Scalars['String'] | null);
1938
+ minAge?: (Scalars['Float'] | null);
1939
+ maxAge?: (Scalars['Float'] | null);
1940
+ minDob?: (Scalars['DateTime'] | null);
1941
+ maxDob?: (Scalars['DateTime'] | null);
1942
+ minVTXScore?: (Scalars['Float'] | null);
1943
+ maxVTXScore?: (Scalars['Float'] | null);
1944
+ minSocialScore?: (Scalars['Float'] | null);
1945
+ maxSocialScore?: (Scalars['Float'] | null);
1946
+ minTrainingScore?: (Scalars['Float'] | null);
1947
+ maxTrainingScore?: (Scalars['Float'] | null);
1948
+ minPerformanceScore?: (Scalars['Float'] | null);
1949
+ maxPerformanceScore?: (Scalars['Float'] | null);
1950
+ }
1951
+ export interface AthleteQueryDto {
1952
+ cursor?: (CursorPaginationDto | null);
1953
+ filters?: (AthleteFilterDto | null);
1954
+ }
1851
1955
  export interface QualificationDto {
1852
1956
  type: Scalars['String'];
1853
1957
  }
@@ -1952,55 +2056,6 @@ export interface CreateFundingCampaignForDto {
1952
2056
  competitionIds?: (Scalars['String'][] | null);
1953
2057
  loginEmail: Scalars['String'];
1954
2058
  }
1955
- export interface CursorPaginationDto {
1956
- sortField: Scalars['String'];
1957
- order?: (Scalars['String'] | null);
1958
- direction?: (Scalars['String'] | null);
1959
- limit?: (Scalars['Float'] | null);
1960
- cursorId?: (Scalars['String'] | null);
1961
- cursorFieldValue?: (Scalars['String'] | null);
1962
- }
1963
- export interface FundCampaignFilterDto {
1964
- campaignTitle?: (Scalars['String'] | null);
1965
- status?: (Scalars['String'] | null);
1966
- minCompletion?: (Scalars['Float'] | null);
1967
- maxCompletion?: (Scalars['Float'] | null);
1968
- minFundsRequired?: (Scalars['Float'] | null);
1969
- maxFundsRequired?: (Scalars['Float'] | null);
1970
- minEndingDate?: (Scalars['DateTime'] | null);
1971
- maxEndingDate?: (Scalars['DateTime'] | null);
1972
- competitions?: (Scalars['String'][] | null);
1973
- cities?: (Scalars['String'][] | null);
1974
- states?: (Scalars['String'][] | null);
1975
- countries?: (Scalars['String'][] | null);
1976
- }
1977
- export interface AthleteFilterDto {
1978
- name?: (Scalars['String'] | null);
1979
- cities?: (Scalars['String'][] | null);
1980
- states?: (Scalars['String'][] | null);
1981
- countries?: (Scalars['String'][] | null);
1982
- teams?: (Scalars['String'][] | null);
1983
- currentCampaign?: (FundCampaignFilterDto | null);
1984
- sports?: (Scalars['String'][] | null);
1985
- mainSportOnly?: (Scalars['Boolean'] | null);
1986
- gender?: (Scalars['String'] | null);
1987
- minAge?: (Scalars['Float'] | null);
1988
- maxAge?: (Scalars['Float'] | null);
1989
- minDob?: (Scalars['DateTime'] | null);
1990
- maxDob?: (Scalars['DateTime'] | null);
1991
- minVTXScore?: (Scalars['Float'] | null);
1992
- maxVTXScore?: (Scalars['Float'] | null);
1993
- minSocialScore?: (Scalars['Float'] | null);
1994
- maxSocialScore?: (Scalars['Float'] | null);
1995
- minTrainingScore?: (Scalars['Float'] | null);
1996
- maxTrainingScore?: (Scalars['Float'] | null);
1997
- minPerformanceScore?: (Scalars['Float'] | null);
1998
- maxPerformanceScore?: (Scalars['Float'] | null);
1999
- }
2000
- export interface AthleteQueryDto {
2001
- cursor?: (CursorPaginationDto | null);
2002
- filters?: (AthleteFilterDto | null);
2003
- }
2004
2059
  export interface CreateMembershipOrganizationDto {
2005
2060
  shortName: Scalars['String'];
2006
2061
  acronym?: (Scalars['String'] | null);
@@ -2095,6 +2150,11 @@ export interface QueryGenqlSelection {
2095
2150
  };
2096
2151
  });
2097
2152
  getAthletes?: AthleteGenqlSelection;
2153
+ queryAthleteFundingCampaigns?: (AthleteQueryResponseGenqlSelection & {
2154
+ __args: {
2155
+ input: AthleteQueryDto;
2156
+ };
2157
+ });
2098
2158
  searchAthletes?: (AthleteGenqlSelection & {
2099
2159
  __args: {
2100
2160
  searchString: Scalars['String'];
@@ -2844,6 +2904,9 @@ export declare const isAthletePreferences: (obj?: {
2844
2904
  export declare const isFundRaisingCampaign: (obj?: {
2845
2905
  __typename?: any;
2846
2906
  } | null) => obj is FundRaisingCampaign;
2907
+ export declare const isStripeAccount: (obj?: {
2908
+ __typename?: any;
2909
+ } | null) => obj is StripeAccount;
2847
2910
  export declare const isAthleteReference: (obj?: {
2848
2911
  __typename?: any;
2849
2912
  } | null) => obj is AthleteReference;
@@ -2865,15 +2928,21 @@ export declare const isErrorType: (obj?: {
2865
2928
  export declare const isDeleteSingleValueResponse: (obj?: {
2866
2929
  __typename?: any;
2867
2930
  } | null) => obj is DeleteSingleValueResponse;
2931
+ export declare const isSortOrder: (obj?: {
2932
+ __typename?: any;
2933
+ } | null) => obj is SortOrder;
2934
+ export declare const isCursorPaginationResponse: (obj?: {
2935
+ __typename?: any;
2936
+ } | null) => obj is CursorPaginationResponse;
2937
+ export declare const isAthleteQueryResponse: (obj?: {
2938
+ __typename?: any;
2939
+ } | null) => obj is AthleteQueryResponse;
2868
2940
  export declare const isUserImages: (obj?: {
2869
2941
  __typename?: any;
2870
2942
  } | null) => obj is UserImages;
2871
2943
  export declare const isDeleteValuesResponse: (obj?: {
2872
2944
  __typename?: any;
2873
2945
  } | null) => obj is DeleteValuesResponse;
2874
- export declare const isCursorPaginationResponse: (obj?: {
2875
- __typename?: any;
2876
- } | null) => obj is CursorPaginationResponse;
2877
2946
  export declare const isQuery: (obj?: {
2878
2947
  __typename?: any;
2879
2948
  } | null) => obj is Query;
@@ -687,6 +687,18 @@ type FundRaisingCampaign {
687
687
  competitions: [AthleteCompetition!]
688
688
  }
689
689
 
690
+ type StripeAccount {
691
+ _id: String!
692
+ stripeAccountId: String!
693
+ email: String!
694
+ initialized: Boolean!
695
+ needsUpdate: Boolean!
696
+ countryId: String
697
+ defaultCurrency: String!
698
+ created: Float!
699
+ accountData: String!
700
+ }
701
+
690
702
  type AthleteReference {
691
703
  _id: String!
692
704
  firstName: String!
@@ -744,6 +756,7 @@ type Athlete {
744
756
  channels: [Channel!]
745
757
  currentCampaign: FundRaisingCampaign
746
758
  fundingCampaigns: [FundRaisingCampaign!]
759
+ stripeAccount: StripeAccount
747
760
  }
748
761
 
749
762
  type SponsorAthleteInvitation {
@@ -782,6 +795,27 @@ type DeleteSingleValueResponse {
782
795
  failureReason: ErrorType
783
796
  }
784
797
 
798
+ type SortOrder {
799
+ sortField: String!
800
+ order: String!
801
+ }
802
+
803
+ type CursorPaginationResponse {
804
+ sort: SortOrder
805
+ initialCursorId: String
806
+ nextCursorId: String
807
+ initialCursorValue: String
808
+ nextCursorValue: String
809
+ limit: Float!
810
+ retrieved: Float!
811
+ isLastPage: Boolean!
812
+ }
813
+
814
+ type AthleteQueryResponse {
815
+ athletes: [Athlete!]!
816
+ cursor: CursorPaginationResponse!
817
+ }
818
+
785
819
  type UserImages {
786
820
  profilePictureUrl: String
787
821
  cardPictureUrl: String
@@ -795,17 +829,6 @@ type DeleteValuesResponse {
795
829
  result: String!
796
830
  }
797
831
 
798
- type CursorPaginationResponse {
799
- sortField: String!
800
- order: String!
801
- initialCursorId: String!
802
- nextCursorId: String!
803
- initialCursorValue: String!
804
- nextCursorValue: String!
805
- limit: Float!
806
- retrieved: Float!
807
- }
808
-
809
832
  input CreateVerificationCodeDto {
810
833
  type: String
811
834
  recipient: String
@@ -868,10 +891,70 @@ input CreateAthleteCompetitionForDto {
868
891
  loginEmail: String!
869
892
  }
870
893
 
894
+ input CursorPositionDto {
895
+ cursorId: String!
896
+ cursorFieldValue: String!
897
+ }
898
+
899
+ input SortCriteriaDto {
900
+ sortField: String!
901
+ order: String! = "ASC"
902
+ }
903
+
904
+ input CursorPaginationDto {
905
+ sortCriteria: SortCriteriaDto
906
+ limit: Float = 25
907
+ cursorPosition: CursorPositionDto
908
+ }
909
+
871
910
  input DeleteSingleValueDto {
872
911
  idToDelete: String!
873
912
  }
874
913
 
914
+ input FundCampaignFilterDto {
915
+ campaignTitle: String
916
+ status: String
917
+ minCompletion: Float
918
+ maxCompletion: Float
919
+ minFundsRequired: Float
920
+ maxFundsRequired: Float
921
+ minEndingDate: DateTime
922
+ maxEndingDate: DateTime
923
+ competitions: [String!]
924
+ cities: [String!]
925
+ states: [String!]
926
+ countries: [String!]
927
+ }
928
+
929
+ input AthleteFilterDto {
930
+ name: String
931
+ cities: [String!]
932
+ states: [String!]
933
+ countries: [String!]
934
+ teams: [String!]
935
+ currentCampaign: FundCampaignFilterDto
936
+ sports: [String!]
937
+ mainSportOnly: Boolean = true
938
+ gender: String
939
+ minAge: Float
940
+ maxAge: Float
941
+ minDob: DateTime
942
+ maxDob: DateTime
943
+ minVTXScore: Float
944
+ maxVTXScore: Float
945
+ minSocialScore: Float
946
+ maxSocialScore: Float
947
+ minTrainingScore: Float
948
+ maxTrainingScore: Float
949
+ minPerformanceScore: Float
950
+ maxPerformanceScore: Float
951
+ }
952
+
953
+ input AthleteQueryDto {
954
+ cursor: CursorPaginationDto
955
+ filters: AthleteFilterDto
956
+ }
957
+
875
958
  input QualificationDto {
876
959
  type: String!
877
960
  }
@@ -993,59 +1076,6 @@ input CreateFundingCampaignForDto {
993
1076
  loginEmail: String!
994
1077
  }
995
1078
 
996
- input CursorPaginationDto {
997
- sortField: String!
998
- order: String = "ASC"
999
- direction: String = "NEXT"
1000
- limit: Float = 25
1001
- cursorId: String
1002
- cursorFieldValue: String
1003
- }
1004
-
1005
- input FundCampaignFilterDto {
1006
- campaignTitle: String
1007
- status: String
1008
- minCompletion: Float
1009
- maxCompletion: Float
1010
- minFundsRequired: Float
1011
- maxFundsRequired: Float
1012
- minEndingDate: DateTime
1013
- maxEndingDate: DateTime
1014
- competitions: [String!]
1015
- cities: [String!]
1016
- states: [String!]
1017
- countries: [String!]
1018
- }
1019
-
1020
- input AthleteFilterDto {
1021
- name: String
1022
- cities: [String!]
1023
- states: [String!]
1024
- countries: [String!]
1025
- teams: [String!]
1026
- currentCampaign: FundCampaignFilterDto
1027
- sports: [String!]
1028
- mainSportOnly: Boolean = true
1029
- gender: String
1030
- minAge: Float
1031
- maxAge: Float
1032
- minDob: DateTime
1033
- maxDob: DateTime
1034
- minVTXScore: Float
1035
- maxVTXScore: Float
1036
- minSocialScore: Float
1037
- maxSocialScore: Float
1038
- minTrainingScore: Float
1039
- maxTrainingScore: Float
1040
- minPerformanceScore: Float
1041
- maxPerformanceScore: Float
1042
- }
1043
-
1044
- input AthleteQueryDto {
1045
- cursor: CursorPaginationDto
1046
- filters: AthleteFilterDto
1047
- }
1048
-
1049
1079
  input CreateMembershipOrganizationDto {
1050
1080
  shortName: String!
1051
1081
  acronym: String
@@ -1091,6 +1121,7 @@ type Query {
1091
1121
  sponsors: [Sponsor!]!
1092
1122
  findSponsorAthleteInvitation(input: FindSponsorAthleteInvitationDto!): SponsorAthleteInvitation!
1093
1123
  getAthletes: [Athlete!]!
1124
+ queryAthleteFundingCampaigns(input: AthleteQueryDto!): AthleteQueryResponse!
1094
1125
  searchAthletes(searchString: String!): [Athlete!]!
1095
1126
  findAthleteById(athleteId: String!): Athlete!
1096
1127
  findAthleteForUser(loginEmail: String!): Athlete!
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.isSponsor = exports.isSponsorBrand = exports.isSponsorStats = exports.isIndustry = exports.isQualificationTypeUnion = exports.isAthleteCriteria = exports.isSportsLevelQualification = exports.isSportsQualification = exports.isDistanceQualification = exports.isNationalityQualification = exports.isLocationQualification = exports.isScoreQualification = exports.isGenderQualification = exports.isAgeQualification = exports.isCountry = exports.isState = exports.isCity = exports.isBrand = exports.isBrandTranslation = exports.isBrandStats = exports.isCodeVerificationResponse = exports.isAWSS3CallResult = exports.isAWSS3UploadUrl = exports.isHttpRequestField = exports.isErrorInfo = exports.isVerificationCode = exports.isMagicLink = exports.isAWSS3File = exports.isSubscriptionPayment = exports.isPlanSubscription = exports.isSubscriptionInvoice = exports.isInvoice = exports.isPlanPrice = exports.isPlan = exports.isPlaFeature = exports.isPayment = exports.isInvoiceItem = exports.isBillEntity = exports.isAgreement = exports.isUriAvailableType = exports.isTenantWithUserLogin = exports.isDecodedRefreshToken = exports.isDecodedToken = exports.isUserToken = exports.isDomainCredential = exports.isDomain = exports.isTenant = exports.isBaseTenant = exports.isUserWithToken = exports.isUser = void 0;
4
- exports.isMutation = exports.isQuery = exports.isCursorPaginationResponse = exports.isDeleteValuesResponse = exports.isUserImages = exports.isDeleteSingleValueResponse = exports.isErrorType = exports.isEditValueResponse = exports.isStravaToken = exports.isSponsorAthleteInvitation = exports.isAthlete = exports.isAthleteReference = exports.isFundRaisingCampaign = exports.isAthletePreferences = exports.isChannel = exports.isNewsLink = exports.isAthleteMembership = exports.isMembershipOrganization = exports.isMembershipOrganizationReference = exports.isAthleteCompetition = exports.isBudget = exports.isBudgetItem = exports.isAthleteCompetitionResult = exports.isSportsEvent = exports.isWorldLocation = exports.isTeam = exports.isAthleteRankings = exports.isRanking = exports.isSportLevel = exports.isSportLevelTranslation = exports.isVtxScores = exports.isSport = exports.isFollowStats = exports.isSponsorship = exports.isSponsorshipTranslation = exports.isSponsorshipStats = exports.isDuration = exports.isSponsorshipCommitment = exports.isSponsorshipItem = void 0;
4
+ exports.isMutation = exports.isQuery = exports.isDeleteValuesResponse = exports.isUserImages = exports.isAthleteQueryResponse = exports.isCursorPaginationResponse = exports.isSortOrder = exports.isDeleteSingleValueResponse = exports.isErrorType = exports.isEditValueResponse = exports.isStravaToken = exports.isSponsorAthleteInvitation = exports.isAthlete = exports.isAthleteReference = exports.isStripeAccount = exports.isFundRaisingCampaign = exports.isAthletePreferences = exports.isChannel = exports.isNewsLink = exports.isAthleteMembership = exports.isMembershipOrganization = exports.isMembershipOrganizationReference = exports.isAthleteCompetition = exports.isBudget = exports.isBudgetItem = exports.isAthleteCompetitionResult = exports.isSportsEvent = exports.isWorldLocation = exports.isTeam = exports.isAthleteRankings = exports.isRanking = exports.isSportLevel = exports.isSportLevelTranslation = exports.isVtxScores = exports.isSport = exports.isFollowStats = exports.isSponsorship = exports.isSponsorshipTranslation = exports.isSponsorshipStats = exports.isDuration = exports.isSponsorshipCommitment = exports.isSponsorshipItem = void 0;
5
5
  const User_possibleTypes = ['User'];
6
6
  const isUser = (obj) => {
7
7
  if (!obj?.__typename)
@@ -541,6 +541,13 @@ const isFundRaisingCampaign = (obj) => {
541
541
  return FundRaisingCampaign_possibleTypes.includes(obj.__typename);
542
542
  };
543
543
  exports.isFundRaisingCampaign = isFundRaisingCampaign;
544
+ const StripeAccount_possibleTypes = ['StripeAccount'];
545
+ const isStripeAccount = (obj) => {
546
+ if (!obj?.__typename)
547
+ throw new Error('__typename is missing in "isStripeAccount"');
548
+ return StripeAccount_possibleTypes.includes(obj.__typename);
549
+ };
550
+ exports.isStripeAccount = isStripeAccount;
544
551
  const AthleteReference_possibleTypes = ['AthleteReference'];
545
552
  const isAthleteReference = (obj) => {
546
553
  if (!obj?.__typename)
@@ -590,6 +597,27 @@ const isDeleteSingleValueResponse = (obj) => {
590
597
  return DeleteSingleValueResponse_possibleTypes.includes(obj.__typename);
591
598
  };
592
599
  exports.isDeleteSingleValueResponse = isDeleteSingleValueResponse;
600
+ const SortOrder_possibleTypes = ['SortOrder'];
601
+ const isSortOrder = (obj) => {
602
+ if (!obj?.__typename)
603
+ throw new Error('__typename is missing in "isSortOrder"');
604
+ return SortOrder_possibleTypes.includes(obj.__typename);
605
+ };
606
+ exports.isSortOrder = isSortOrder;
607
+ const CursorPaginationResponse_possibleTypes = ['CursorPaginationResponse'];
608
+ const isCursorPaginationResponse = (obj) => {
609
+ if (!obj?.__typename)
610
+ throw new Error('__typename is missing in "isCursorPaginationResponse"');
611
+ return CursorPaginationResponse_possibleTypes.includes(obj.__typename);
612
+ };
613
+ exports.isCursorPaginationResponse = isCursorPaginationResponse;
614
+ const AthleteQueryResponse_possibleTypes = ['AthleteQueryResponse'];
615
+ const isAthleteQueryResponse = (obj) => {
616
+ if (!obj?.__typename)
617
+ throw new Error('__typename is missing in "isAthleteQueryResponse"');
618
+ return AthleteQueryResponse_possibleTypes.includes(obj.__typename);
619
+ };
620
+ exports.isAthleteQueryResponse = isAthleteQueryResponse;
593
621
  const UserImages_possibleTypes = ['UserImages'];
594
622
  const isUserImages = (obj) => {
595
623
  if (!obj?.__typename)
@@ -604,13 +632,6 @@ const isDeleteValuesResponse = (obj) => {
604
632
  return DeleteValuesResponse_possibleTypes.includes(obj.__typename);
605
633
  };
606
634
  exports.isDeleteValuesResponse = isDeleteValuesResponse;
607
- const CursorPaginationResponse_possibleTypes = ['CursorPaginationResponse'];
608
- const isCursorPaginationResponse = (obj) => {
609
- if (!obj?.__typename)
610
- throw new Error('__typename is missing in "isCursorPaginationResponse"');
611
- return CursorPaginationResponse_possibleTypes.includes(obj.__typename);
612
- };
613
- exports.isCursorPaginationResponse = isCursorPaginationResponse;
614
635
  const Query_possibleTypes = ['Query'];
615
636
  const isQuery = (obj) => {
616
637
  if (!obj?.__typename)