@vertikalx/vtx-backend-client 3.5.5-dev-ven.18 → 3.5.5-dev-ven.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/package.json +1 -1
- package/dist/src/api/domains/generated/athlete.api.js +3 -0
- package/dist/src/api/domains/generated/athlete.api.js.map +1 -1
- package/dist/src/api/domains/generated/campaign.api.js +18 -0
- package/dist/src/api/domains/generated/campaign.api.js.map +1 -1
- package/dist/src/api/domains/generated/vtx-base-api.augment.d.ts +8 -1
- package/dist/src/client/schema.d.ts +233 -0
- package/dist/src/client/schema.js +47 -5
- package/dist/src/client/schema.js.map +1 -1
- package/dist/src/client/types.d.ts +128 -0
- package/dist/src/client/types.js +820 -484
- package/dist/src/client/types.js.map +1 -1
- package/dist/src/generated/graphql.d.ts +316 -0
- package/dist/src/generated/graphql.js +201 -7
- package/dist/src/generated/graphql.js.map +1 -1
- package/package.json +1 -1
|
@@ -1097,12 +1097,15 @@ export type CompetitionEvidenceQueueItem = {
|
|
|
1097
1097
|
eventName?: Maybe<Scalars['String']['output']>;
|
|
1098
1098
|
eventTier?: Maybe<Scalars['Int']['output']>;
|
|
1099
1099
|
evidenceGpx?: Maybe<Awss3File>;
|
|
1100
|
+
evidenceGpxViewUrl?: Maybe<Scalars['String']['output']>;
|
|
1100
1101
|
evidenceProtocol?: Maybe<Awss3File>;
|
|
1102
|
+
evidenceProtocolViewUrl?: Maybe<Scalars['String']['output']>;
|
|
1101
1103
|
evidenceReviewNote?: Maybe<Scalars['String']['output']>;
|
|
1102
1104
|
evidenceReviewState: Scalars['String']['output'];
|
|
1103
1105
|
evidenceReviewStatus?: Maybe<Scalars['String']['output']>;
|
|
1104
1106
|
evidenceReviewedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
1105
1107
|
finishTimeMS?: Maybe<Scalars['Float']['output']>;
|
|
1108
|
+
hasEvidence: Scalars['Boolean']['output'];
|
|
1106
1109
|
outcome?: Maybe<Scalars['String']['output']>;
|
|
1107
1110
|
position?: Maybe<Scalars['Int']['output']>;
|
|
1108
1111
|
resultId: Scalars['String']['output'];
|
|
@@ -1137,6 +1140,9 @@ export type CompetitionResultDto = {
|
|
|
1137
1140
|
};
|
|
1138
1141
|
export type CompetitionResultType = 'POSITION' | 'SCORE';
|
|
1139
1142
|
export type CompetitionVerificationTier = 'ATHLINKS_CLAIMED' | 'FEDERATION_VERIFIED' | 'LINK_EXTRACTED_MATCH' | 'LINK_PROVIDED' | 'SELF_REPORTED' | 'STRAVA_CORROBORATED';
|
|
1143
|
+
export type CompleteDonationDto = {
|
|
1144
|
+
vtxCheckoutId: Scalars['String']['input'];
|
|
1145
|
+
};
|
|
1140
1146
|
export type ComponentPresence = {
|
|
1141
1147
|
cause?: Maybe<Scalars['String']['output']>;
|
|
1142
1148
|
reason?: Maybe<Scalars['String']['output']>;
|
|
@@ -1161,6 +1167,19 @@ export type ComponentSummaryQueryDto = {
|
|
|
1161
1167
|
export type ConfirmAthleteStatusDto = {
|
|
1162
1168
|
status: Scalars['String']['input'];
|
|
1163
1169
|
};
|
|
1170
|
+
export type ConfirmDonationDto = {
|
|
1171
|
+
confirmationTokenId: Scalars['String']['input'];
|
|
1172
|
+
donationCents: Scalars['Int']['input'];
|
|
1173
|
+
expectedTotalCents: Scalars['Int']['input'];
|
|
1174
|
+
feePayer: Scalars['String']['input'];
|
|
1175
|
+
fromEmail: Scalars['String']['input'];
|
|
1176
|
+
fromName?: InputMaybe<Scalars['String']['input']>;
|
|
1177
|
+
fundingCampaignId?: InputMaybe<Scalars['String']['input']>;
|
|
1178
|
+
message?: InputMaybe<Scalars['String']['input']>;
|
|
1179
|
+
mode?: DonationMode;
|
|
1180
|
+
recipientId: Scalars['String']['input'];
|
|
1181
|
+
recipientType: Scalars['String']['input'];
|
|
1182
|
+
};
|
|
1164
1183
|
export type ConfirmProfileVitalsDto = {
|
|
1165
1184
|
dateOfBirth: Scalars['DateTime']['input'];
|
|
1166
1185
|
gender: Scalars['String']['input'];
|
|
@@ -1791,6 +1810,29 @@ export type Donation = {
|
|
|
1791
1810
|
fundingCheckoutSessionDataId: Scalars['String']['output'];
|
|
1792
1811
|
message?: Maybe<Scalars['String']['output']>;
|
|
1793
1812
|
};
|
|
1813
|
+
export type DonationBreakdown = {
|
|
1814
|
+
addedToDonationCents: Scalars['Int']['output'];
|
|
1815
|
+
cardRegion: Scalars['String']['output'];
|
|
1816
|
+
crossBorderFeeCents: Scalars['Int']['output'];
|
|
1817
|
+
crossBorderFeePaidBy?: Maybe<Scalars['String']['output']>;
|
|
1818
|
+
donationCents: Scalars['Int']['output'];
|
|
1819
|
+
feePayer: Scalars['String']['output'];
|
|
1820
|
+
isEstimate: Scalars['Boolean']['output'];
|
|
1821
|
+
payoutRegion: Scalars['String']['output'];
|
|
1822
|
+
platformFeeCents: Scalars['Int']['output'];
|
|
1823
|
+
recipientCents: Scalars['Int']['output'];
|
|
1824
|
+
stripeFeeCents: Scalars['Int']['output'];
|
|
1825
|
+
totalCents: Scalars['Int']['output'];
|
|
1826
|
+
};
|
|
1827
|
+
export type DonationCheckoutConfig = {
|
|
1828
|
+
currency: Scalars['String']['output'];
|
|
1829
|
+
defaultFeePayer: Scalars['String']['output'];
|
|
1830
|
+
estimateCardRegion: Scalars['String']['output'];
|
|
1831
|
+
maxCents: Scalars['Int']['output'];
|
|
1832
|
+
minCents: Scalars['Int']['output'];
|
|
1833
|
+
paymentElementEnabled: Scalars['Boolean']['output'];
|
|
1834
|
+
presetCents: Array<Scalars['Int']['output']>;
|
|
1835
|
+
};
|
|
1794
1836
|
export type DonationCheckoutDto = {
|
|
1795
1837
|
clientType?: InputMaybe<Scalars['String']['input']>;
|
|
1796
1838
|
donationAmount: Scalars['Float']['input'];
|
|
@@ -1801,6 +1843,13 @@ export type DonationCheckoutDto = {
|
|
|
1801
1843
|
message?: InputMaybe<Scalars['String']['input']>;
|
|
1802
1844
|
mode?: DonationMode;
|
|
1803
1845
|
};
|
|
1846
|
+
export type DonationConfirmResult = {
|
|
1847
|
+
breakdown?: Maybe<DonationBreakdown>;
|
|
1848
|
+
clientSecret?: Maybe<Scalars['String']['output']>;
|
|
1849
|
+
errorCode?: Maybe<Scalars['String']['output']>;
|
|
1850
|
+
status: Scalars['String']['output'];
|
|
1851
|
+
vtxCheckoutId?: Maybe<Scalars['String']['output']>;
|
|
1852
|
+
};
|
|
1804
1853
|
export type DonationDates = {
|
|
1805
1854
|
dates: Array<Scalars['String']['output']>;
|
|
1806
1855
|
totalDonations: Scalars['Int']['output'];
|
|
@@ -1821,6 +1870,43 @@ export type DonationQueryDto = {
|
|
|
1821
1870
|
sortField?: InputMaybe<Scalars['String']['input']>;
|
|
1822
1871
|
sortOrder?: InputMaybe<Scalars['String']['input']>;
|
|
1823
1872
|
};
|
|
1873
|
+
export type DonationQuote = {
|
|
1874
|
+
billingCountry?: Maybe<Scalars['String']['output']>;
|
|
1875
|
+
billingState?: Maybe<Scalars['String']['output']>;
|
|
1876
|
+
cardCountry?: Maybe<Scalars['String']['output']>;
|
|
1877
|
+
cardRegion: Scalars['String']['output'];
|
|
1878
|
+
donorPays: DonationBreakdown;
|
|
1879
|
+
payoutCountry?: Maybe<Scalars['String']['output']>;
|
|
1880
|
+
recipientName: Scalars['String']['output'];
|
|
1881
|
+
recipientPays: DonationBreakdown;
|
|
1882
|
+
};
|
|
1883
|
+
export type DonationRecipientDto = {
|
|
1884
|
+
fundingCampaignId?: InputMaybe<Scalars['String']['input']>;
|
|
1885
|
+
recipientId: Scalars['String']['input'];
|
|
1886
|
+
recipientType: Scalars['String']['input'];
|
|
1887
|
+
};
|
|
1888
|
+
export type DonationRecipientPayout = {
|
|
1889
|
+
payoutCountry?: Maybe<Scalars['String']['output']>;
|
|
1890
|
+
payoutRegion: Scalars['String']['output'];
|
|
1891
|
+
recipientName: Scalars['String']['output'];
|
|
1892
|
+
};
|
|
1893
|
+
export type DonationResult = {
|
|
1894
|
+
actualStripeFeeCents?: Maybe<Scalars['Int']['output']>;
|
|
1895
|
+
billingCountry?: Maybe<Scalars['String']['output']>;
|
|
1896
|
+
billingState?: Maybe<Scalars['String']['output']>;
|
|
1897
|
+
breakdown?: Maybe<DonationBreakdown>;
|
|
1898
|
+
cardCountry?: Maybe<Scalars['String']['output']>;
|
|
1899
|
+
clientStatus: Scalars['String']['output'];
|
|
1900
|
+
donationStatus?: Maybe<Scalars['String']['output']>;
|
|
1901
|
+
fundingCampaignId?: Maybe<Scalars['String']['output']>;
|
|
1902
|
+
payoutCountry?: Maybe<Scalars['String']['output']>;
|
|
1903
|
+
recipientName?: Maybe<Scalars['String']['output']>;
|
|
1904
|
+
recipientType?: Maybe<Scalars['String']['output']>;
|
|
1905
|
+
vtxCheckoutId: Scalars['String']['output'];
|
|
1906
|
+
};
|
|
1907
|
+
export type DonationResultDto = {
|
|
1908
|
+
vtxCheckoutId: Scalars['String']['input'];
|
|
1909
|
+
};
|
|
1824
1910
|
export type DonationThankYou = {
|
|
1825
1911
|
_id: Scalars['String']['output'];
|
|
1826
1912
|
autoSent: Scalars['Boolean']['output'];
|
|
@@ -2483,9 +2569,11 @@ export type Mutation = {
|
|
|
2483
2569
|
claimExternalCompetitionResult: AthleteCompetition;
|
|
2484
2570
|
claimOffer: OfferClaim;
|
|
2485
2571
|
cloneEmailCampaign: EmailCampaign;
|
|
2572
|
+
completeDonation: DonationConfirmResult;
|
|
2486
2573
|
confirmAthleteStatus: AthleteStatusInfo;
|
|
2487
2574
|
confirmAthleteUserRegistration: User;
|
|
2488
2575
|
confirmAthleteUserRegistrationAndLogin: UserWithToken;
|
|
2576
|
+
confirmDonation: DonationConfirmResult;
|
|
2489
2577
|
confirmProfileVitals: ConfirmProfileVitalsResponse;
|
|
2490
2578
|
confirmSuggestedSportsEventTier: SportsEvent;
|
|
2491
2579
|
createAthleteAlbum: Album;
|
|
@@ -2576,6 +2664,7 @@ export type Mutation = {
|
|
|
2576
2664
|
markNotificationAsRead: Notification;
|
|
2577
2665
|
mergeSportsEvents: MergeEventsResponse;
|
|
2578
2666
|
preRegisterAthleteUser: VerificationCode;
|
|
2667
|
+
quoteDonation: DonationQuote;
|
|
2579
2668
|
rebuildLeaderboardCache: Scalars['Boolean']['output'];
|
|
2580
2669
|
refreshToken: UserToken;
|
|
2581
2670
|
registerAthlete: Athlete;
|
|
@@ -2596,6 +2685,7 @@ export type Mutation = {
|
|
|
2596
2685
|
removeSponsorFavorite: Scalars['Boolean']['output'];
|
|
2597
2686
|
removeSponsorUser: Scalars['Boolean']['output'];
|
|
2598
2687
|
reorderAlbumIndex: Array<Album>;
|
|
2688
|
+
requestCompetitionEvidence: AthleteCompetitionResult;
|
|
2599
2689
|
requestMyDataExport: DataExportRequest;
|
|
2600
2690
|
resetUserPassword: EditValueResponse;
|
|
2601
2691
|
revokeRefreshToken: Scalars['Boolean']['output'];
|
|
@@ -2714,6 +2804,9 @@ export type MutationClaimOfferArgs = {
|
|
|
2714
2804
|
export type MutationCloneEmailCampaignArgs = {
|
|
2715
2805
|
id: Scalars['String']['input'];
|
|
2716
2806
|
};
|
|
2807
|
+
export type MutationCompleteDonationArgs = {
|
|
2808
|
+
input: CompleteDonationDto;
|
|
2809
|
+
};
|
|
2717
2810
|
export type MutationConfirmAthleteStatusArgs = {
|
|
2718
2811
|
input: ConfirmAthleteStatusDto;
|
|
2719
2812
|
};
|
|
@@ -2723,6 +2816,9 @@ export type MutationConfirmAthleteUserRegistrationArgs = {
|
|
|
2723
2816
|
export type MutationConfirmAthleteUserRegistrationAndLoginArgs = {
|
|
2724
2817
|
input: VerifyCodeDto;
|
|
2725
2818
|
};
|
|
2819
|
+
export type MutationConfirmDonationArgs = {
|
|
2820
|
+
input: ConfirmDonationDto;
|
|
2821
|
+
};
|
|
2726
2822
|
export type MutationConfirmProfileVitalsArgs = {
|
|
2727
2823
|
input: ConfirmProfileVitalsDto;
|
|
2728
2824
|
};
|
|
@@ -2996,6 +3092,9 @@ export type MutationMergeSportsEventsArgs = {
|
|
|
2996
3092
|
export type MutationPreRegisterAthleteUserArgs = {
|
|
2997
3093
|
input: RegisterUserDto;
|
|
2998
3094
|
};
|
|
3095
|
+
export type MutationQuoteDonationArgs = {
|
|
3096
|
+
input: QuoteDonationDto;
|
|
3097
|
+
};
|
|
2999
3098
|
export type MutationRefreshTokenArgs = {
|
|
3000
3099
|
dto: RefreshTokenInput;
|
|
3001
3100
|
};
|
|
@@ -3055,6 +3154,9 @@ export type MutationRemoveSponsorUserArgs = {
|
|
|
3055
3154
|
export type MutationReorderAlbumIndexArgs = {
|
|
3056
3155
|
input: EditDisplayIndexDto;
|
|
3057
3156
|
};
|
|
3157
|
+
export type MutationRequestCompetitionEvidenceArgs = {
|
|
3158
|
+
input: RequestCompetitionEvidenceDto;
|
|
3159
|
+
};
|
|
3058
3160
|
export type MutationRequestMyDataExportArgs = {
|
|
3059
3161
|
input?: InputMaybe<RequestDataExportDto>;
|
|
3060
3162
|
};
|
|
@@ -3643,6 +3745,9 @@ export type Query = {
|
|
|
3643
3745
|
campaignThankYous: Array<DonationThankYou>;
|
|
3644
3746
|
checkScoreRefreshCapabilities: CheckScoreRefreshCapabilityResponse;
|
|
3645
3747
|
clientCompatibility: ClientCompatibilityType;
|
|
3748
|
+
donationCheckoutConfig: DonationCheckoutConfig;
|
|
3749
|
+
donationRecipientPayout: DonationRecipientPayout;
|
|
3750
|
+
donationResult?: Maybe<DonationResult>;
|
|
3646
3751
|
donationThankYou?: Maybe<DonationThankYou>;
|
|
3647
3752
|
existsValidSponsorForEmail: Scalars['Boolean']['output'];
|
|
3648
3753
|
findAllClubs: Array<Club>;
|
|
@@ -3847,6 +3952,12 @@ export type QueryCampaignThankYousArgs = {
|
|
|
3847
3952
|
export type QueryCheckScoreRefreshCapabilitiesArgs = {
|
|
3848
3953
|
input: CheckScoreRefreshCapabilityDto;
|
|
3849
3954
|
};
|
|
3955
|
+
export type QueryDonationRecipientPayoutArgs = {
|
|
3956
|
+
input: DonationRecipientDto;
|
|
3957
|
+
};
|
|
3958
|
+
export type QueryDonationResultArgs = {
|
|
3959
|
+
input: DonationResultDto;
|
|
3960
|
+
};
|
|
3850
3961
|
export type QueryDonationThankYouArgs = {
|
|
3851
3962
|
donationId: Scalars['String']['input'];
|
|
3852
3963
|
};
|
|
@@ -4205,6 +4316,13 @@ export type QueryVerifyAthleteCompetitionLinkedForDeleteArgs = {
|
|
|
4205
4316
|
export type QueryVerifyCodeArgs = {
|
|
4206
4317
|
input: VerifyCodeDto;
|
|
4207
4318
|
};
|
|
4319
|
+
export type QuoteDonationDto = {
|
|
4320
|
+
confirmationTokenId: Scalars['String']['input'];
|
|
4321
|
+
donationCents: Scalars['Int']['input'];
|
|
4322
|
+
fundingCampaignId?: InputMaybe<Scalars['String']['input']>;
|
|
4323
|
+
recipientId: Scalars['String']['input'];
|
|
4324
|
+
recipientType: Scalars['String']['input'];
|
|
4325
|
+
};
|
|
4208
4326
|
export type RankContext = {
|
|
4209
4327
|
countryRank?: Maybe<Scalars['Int']['output']>;
|
|
4210
4328
|
gapFromPrevious?: Maybe<Scalars['Float']['output']>;
|
|
@@ -4332,6 +4450,10 @@ export type RemoveAdminUserResponse = {
|
|
|
4332
4450
|
message?: Maybe<Scalars['String']['output']>;
|
|
4333
4451
|
success: Scalars['Boolean']['output'];
|
|
4334
4452
|
};
|
|
4453
|
+
export type RequestCompetitionEvidenceDto = {
|
|
4454
|
+
note?: InputMaybe<Scalars['String']['input']>;
|
|
4455
|
+
resultId: Scalars['String']['input'];
|
|
4456
|
+
};
|
|
4335
4457
|
export type RequestDataExportDto = {
|
|
4336
4458
|
note?: InputMaybe<Scalars['String']['input']>;
|
|
4337
4459
|
};
|
|
@@ -11696,6 +11818,36 @@ export type RejectCompetitionEvidenceMutation = {
|
|
|
11696
11818
|
evidenceReviewState?: string | null;
|
|
11697
11819
|
};
|
|
11698
11820
|
};
|
|
11821
|
+
export type RequestCompetitionEvidenceMutationVariables = Exact<{
|
|
11822
|
+
input: RequestCompetitionEvidenceDto;
|
|
11823
|
+
}>;
|
|
11824
|
+
export type RequestCompetitionEvidenceMutation = {
|
|
11825
|
+
requestCompetitionEvidence: {
|
|
11826
|
+
_id: string;
|
|
11827
|
+
resultType: string;
|
|
11828
|
+
position?: number | null;
|
|
11829
|
+
score?: string | null;
|
|
11830
|
+
finishTimeMS?: number | null;
|
|
11831
|
+
resultWebLink?: string | null;
|
|
11832
|
+
totalParticipants?: number | null;
|
|
11833
|
+
outcome: string;
|
|
11834
|
+
adversary?: string | null;
|
|
11835
|
+
genderPosition?: number | null;
|
|
11836
|
+
genderParticipants?: number | null;
|
|
11837
|
+
categoryPosition?: number | null;
|
|
11838
|
+
categoryParticipants?: number | null;
|
|
11839
|
+
categoryName?: string | null;
|
|
11840
|
+
pointsEarned?: number | null;
|
|
11841
|
+
verificationTier?: CompetitionVerificationTier | null;
|
|
11842
|
+
categoryKind?: string | null;
|
|
11843
|
+
winnerTimeMS?: number | null;
|
|
11844
|
+
evidenceReviewStatus?: string | null;
|
|
11845
|
+
evidenceReviewedAt?: string | null;
|
|
11846
|
+
evidenceReviewNote?: string | null;
|
|
11847
|
+
verifiedBySource?: string | null;
|
|
11848
|
+
evidenceReviewState?: string | null;
|
|
11849
|
+
};
|
|
11850
|
+
};
|
|
11699
11851
|
export type GetCompetitionEvidenceQueueQueryVariables = Exact<{
|
|
11700
11852
|
query?: InputMaybe<CompetitionEvidenceQueueQueryDto>;
|
|
11701
11853
|
}>;
|
|
@@ -11720,6 +11872,9 @@ export type GetCompetitionEvidenceQueueQuery = {
|
|
|
11720
11872
|
categoryName?: string | null;
|
|
11721
11873
|
outcome?: string | null;
|
|
11722
11874
|
resultWebLink?: string | null;
|
|
11875
|
+
evidenceProtocolViewUrl?: string | null;
|
|
11876
|
+
evidenceGpxViewUrl?: string | null;
|
|
11877
|
+
hasEvidence: boolean;
|
|
11723
11878
|
verificationTier?: string | null;
|
|
11724
11879
|
verifiedBySource?: string | null;
|
|
11725
11880
|
evidenceReviewState: string;
|
|
@@ -14350,6 +14505,153 @@ export type CreateStripeCheckoutSessionMutation = {
|
|
|
14350
14505
|
url: string;
|
|
14351
14506
|
};
|
|
14352
14507
|
};
|
|
14508
|
+
export type DonationCheckoutConfigQueryVariables = Exact<{
|
|
14509
|
+
[key: string]: never;
|
|
14510
|
+
}>;
|
|
14511
|
+
export type DonationCheckoutConfigQuery = {
|
|
14512
|
+
donationCheckoutConfig: {
|
|
14513
|
+
paymentElementEnabled: boolean;
|
|
14514
|
+
currency: string;
|
|
14515
|
+
minCents: number;
|
|
14516
|
+
maxCents: number;
|
|
14517
|
+
presetCents: Array<number>;
|
|
14518
|
+
defaultFeePayer: string;
|
|
14519
|
+
estimateCardRegion: string;
|
|
14520
|
+
};
|
|
14521
|
+
};
|
|
14522
|
+
export type DonationRecipientPayoutQueryVariables = Exact<{
|
|
14523
|
+
input: DonationRecipientDto;
|
|
14524
|
+
}>;
|
|
14525
|
+
export type DonationRecipientPayoutQuery = {
|
|
14526
|
+
donationRecipientPayout: {
|
|
14527
|
+
recipientName: string;
|
|
14528
|
+
payoutCountry?: string | null;
|
|
14529
|
+
payoutRegion: string;
|
|
14530
|
+
};
|
|
14531
|
+
};
|
|
14532
|
+
export type QuoteDonationMutationVariables = Exact<{
|
|
14533
|
+
input: QuoteDonationDto;
|
|
14534
|
+
}>;
|
|
14535
|
+
export type QuoteDonationMutation = {
|
|
14536
|
+
quoteDonation: {
|
|
14537
|
+
cardCountry?: string | null;
|
|
14538
|
+
cardRegion: string;
|
|
14539
|
+
payoutCountry?: string | null;
|
|
14540
|
+
billingCountry?: string | null;
|
|
14541
|
+
billingState?: string | null;
|
|
14542
|
+
recipientName: string;
|
|
14543
|
+
donorPays: {
|
|
14544
|
+
donationCents: number;
|
|
14545
|
+
platformFeeCents: number;
|
|
14546
|
+
stripeFeeCents: number;
|
|
14547
|
+
totalCents: number;
|
|
14548
|
+
addedToDonationCents: number;
|
|
14549
|
+
recipientCents: number;
|
|
14550
|
+
crossBorderFeeCents: number;
|
|
14551
|
+
feePayer: string;
|
|
14552
|
+
cardRegion: string;
|
|
14553
|
+
payoutRegion: string;
|
|
14554
|
+
crossBorderFeePaidBy?: string | null;
|
|
14555
|
+
isEstimate: boolean;
|
|
14556
|
+
};
|
|
14557
|
+
recipientPays: {
|
|
14558
|
+
donationCents: number;
|
|
14559
|
+
platformFeeCents: number;
|
|
14560
|
+
stripeFeeCents: number;
|
|
14561
|
+
totalCents: number;
|
|
14562
|
+
addedToDonationCents: number;
|
|
14563
|
+
recipientCents: number;
|
|
14564
|
+
crossBorderFeeCents: number;
|
|
14565
|
+
feePayer: string;
|
|
14566
|
+
cardRegion: string;
|
|
14567
|
+
payoutRegion: string;
|
|
14568
|
+
crossBorderFeePaidBy?: string | null;
|
|
14569
|
+
isEstimate: boolean;
|
|
14570
|
+
};
|
|
14571
|
+
};
|
|
14572
|
+
};
|
|
14573
|
+
export type ConfirmDonationMutationVariables = Exact<{
|
|
14574
|
+
input: ConfirmDonationDto;
|
|
14575
|
+
}>;
|
|
14576
|
+
export type ConfirmDonationMutation = {
|
|
14577
|
+
confirmDonation: {
|
|
14578
|
+
status: string;
|
|
14579
|
+
vtxCheckoutId?: string | null;
|
|
14580
|
+
clientSecret?: string | null;
|
|
14581
|
+
errorCode?: string | null;
|
|
14582
|
+
breakdown?: {
|
|
14583
|
+
donationCents: number;
|
|
14584
|
+
platformFeeCents: number;
|
|
14585
|
+
stripeFeeCents: number;
|
|
14586
|
+
totalCents: number;
|
|
14587
|
+
addedToDonationCents: number;
|
|
14588
|
+
recipientCents: number;
|
|
14589
|
+
crossBorderFeeCents: number;
|
|
14590
|
+
feePayer: string;
|
|
14591
|
+
cardRegion: string;
|
|
14592
|
+
payoutRegion: string;
|
|
14593
|
+
crossBorderFeePaidBy?: string | null;
|
|
14594
|
+
isEstimate: boolean;
|
|
14595
|
+
} | null;
|
|
14596
|
+
};
|
|
14597
|
+
};
|
|
14598
|
+
export type CompleteDonationMutationVariables = Exact<{
|
|
14599
|
+
input: CompleteDonationDto;
|
|
14600
|
+
}>;
|
|
14601
|
+
export type CompleteDonationMutation = {
|
|
14602
|
+
completeDonation: {
|
|
14603
|
+
status: string;
|
|
14604
|
+
vtxCheckoutId?: string | null;
|
|
14605
|
+
clientSecret?: string | null;
|
|
14606
|
+
errorCode?: string | null;
|
|
14607
|
+
breakdown?: {
|
|
14608
|
+
donationCents: number;
|
|
14609
|
+
platformFeeCents: number;
|
|
14610
|
+
stripeFeeCents: number;
|
|
14611
|
+
totalCents: number;
|
|
14612
|
+
addedToDonationCents: number;
|
|
14613
|
+
recipientCents: number;
|
|
14614
|
+
crossBorderFeeCents: number;
|
|
14615
|
+
feePayer: string;
|
|
14616
|
+
cardRegion: string;
|
|
14617
|
+
payoutRegion: string;
|
|
14618
|
+
crossBorderFeePaidBy?: string | null;
|
|
14619
|
+
isEstimate: boolean;
|
|
14620
|
+
} | null;
|
|
14621
|
+
};
|
|
14622
|
+
};
|
|
14623
|
+
export type DonationResultQueryVariables = Exact<{
|
|
14624
|
+
input: DonationResultDto;
|
|
14625
|
+
}>;
|
|
14626
|
+
export type DonationResultQuery = {
|
|
14627
|
+
donationResult?: {
|
|
14628
|
+
vtxCheckoutId: string;
|
|
14629
|
+
donationStatus?: string | null;
|
|
14630
|
+
clientStatus: string;
|
|
14631
|
+
actualStripeFeeCents?: number | null;
|
|
14632
|
+
cardCountry?: string | null;
|
|
14633
|
+
payoutCountry?: string | null;
|
|
14634
|
+
billingCountry?: string | null;
|
|
14635
|
+
billingState?: string | null;
|
|
14636
|
+
recipientType?: string | null;
|
|
14637
|
+
recipientName?: string | null;
|
|
14638
|
+
fundingCampaignId?: string | null;
|
|
14639
|
+
breakdown?: {
|
|
14640
|
+
donationCents: number;
|
|
14641
|
+
platformFeeCents: number;
|
|
14642
|
+
stripeFeeCents: number;
|
|
14643
|
+
totalCents: number;
|
|
14644
|
+
addedToDonationCents: number;
|
|
14645
|
+
recipientCents: number;
|
|
14646
|
+
crossBorderFeeCents: number;
|
|
14647
|
+
feePayer: string;
|
|
14648
|
+
cardRegion: string;
|
|
14649
|
+
payoutRegion: string;
|
|
14650
|
+
crossBorderFeePaidBy?: string | null;
|
|
14651
|
+
isEstimate: boolean;
|
|
14652
|
+
} | null;
|
|
14653
|
+
} | null;
|
|
14654
|
+
};
|
|
14353
14655
|
export type CreateStripeLoginLinkMutationVariables = Exact<{
|
|
14354
14656
|
[key: string]: never;
|
|
14355
14657
|
}>;
|
|
@@ -21115,6 +21417,7 @@ export declare const ConfirmSuggestedSportsEventTierDocument: import("graphql").
|
|
|
21115
21417
|
export declare const GetEventTierQueueDocument: import("graphql").DocumentNode;
|
|
21116
21418
|
export declare const ApproveCompetitionEvidenceDocument: import("graphql").DocumentNode;
|
|
21117
21419
|
export declare const RejectCompetitionEvidenceDocument: import("graphql").DocumentNode;
|
|
21420
|
+
export declare const RequestCompetitionEvidenceDocument: import("graphql").DocumentNode;
|
|
21118
21421
|
export declare const GetCompetitionEvidenceQueueDocument: import("graphql").DocumentNode;
|
|
21119
21422
|
export declare const GetBudgetsByAthleteDocument: import("graphql").DocumentNode;
|
|
21120
21423
|
export declare const DeleteCompetitionBudgetDocument: import("graphql").DocumentNode;
|
|
@@ -21168,6 +21471,12 @@ export declare const StripeQueryDocument: import("graphql").DocumentNode;
|
|
|
21168
21471
|
export declare const CreateStripeAccountDocument: import("graphql").DocumentNode;
|
|
21169
21472
|
export declare const CreateAthleteStripeSessionDocument: import("graphql").DocumentNode;
|
|
21170
21473
|
export declare const CreateStripeCheckoutSessionDocument: import("graphql").DocumentNode;
|
|
21474
|
+
export declare const DonationCheckoutConfigDocument: import("graphql").DocumentNode;
|
|
21475
|
+
export declare const DonationRecipientPayoutDocument: import("graphql").DocumentNode;
|
|
21476
|
+
export declare const QuoteDonationDocument: import("graphql").DocumentNode;
|
|
21477
|
+
export declare const ConfirmDonationDocument: import("graphql").DocumentNode;
|
|
21478
|
+
export declare const CompleteDonationDocument: import("graphql").DocumentNode;
|
|
21479
|
+
export declare const DonationResultDocument: import("graphql").DocumentNode;
|
|
21171
21480
|
export declare const CreateStripeLoginLinkDocument: import("graphql").DocumentNode;
|
|
21172
21481
|
export declare const CreateStripeAccountLinkDocument: import("graphql").DocumentNode;
|
|
21173
21482
|
export declare const GetReceiptUrlDocument: import("graphql").DocumentNode;
|
|
@@ -21514,6 +21823,7 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
21514
21823
|
GetEventTierQueue(variables?: GetEventTierQueueQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetEventTierQueueQuery>;
|
|
21515
21824
|
ApproveCompetitionEvidence(variables: ApproveCompetitionEvidenceMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ApproveCompetitionEvidenceMutation>;
|
|
21516
21825
|
RejectCompetitionEvidence(variables: RejectCompetitionEvidenceMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<RejectCompetitionEvidenceMutation>;
|
|
21826
|
+
RequestCompetitionEvidence(variables: RequestCompetitionEvidenceMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<RequestCompetitionEvidenceMutation>;
|
|
21517
21827
|
GetCompetitionEvidenceQueue(variables?: GetCompetitionEvidenceQueueQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetCompetitionEvidenceQueueQuery>;
|
|
21518
21828
|
GetBudgetsByAthlete(variables?: GetBudgetsByAthleteQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetBudgetsByAthleteQuery>;
|
|
21519
21829
|
DeleteCompetitionBudget(variables: DeleteCompetitionBudgetMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<DeleteCompetitionBudgetMutation>;
|
|
@@ -21567,6 +21877,12 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
21567
21877
|
CreateStripeAccount(variables: CreateStripeAccountMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateStripeAccountMutation>;
|
|
21568
21878
|
CreateAthleteStripeSession(variables?: CreateAthleteStripeSessionMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateAthleteStripeSessionMutation>;
|
|
21569
21879
|
CreateStripeCheckoutSession(variables: CreateStripeCheckoutSessionMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateStripeCheckoutSessionMutation>;
|
|
21880
|
+
DonationCheckoutConfig(variables?: DonationCheckoutConfigQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<DonationCheckoutConfigQuery>;
|
|
21881
|
+
DonationRecipientPayout(variables: DonationRecipientPayoutQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<DonationRecipientPayoutQuery>;
|
|
21882
|
+
QuoteDonation(variables: QuoteDonationMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<QuoteDonationMutation>;
|
|
21883
|
+
ConfirmDonation(variables: ConfirmDonationMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ConfirmDonationMutation>;
|
|
21884
|
+
CompleteDonation(variables: CompleteDonationMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CompleteDonationMutation>;
|
|
21885
|
+
DonationResult(variables: DonationResultQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<DonationResultQuery>;
|
|
21570
21886
|
CreateStripeLoginLink(variables?: CreateStripeLoginLinkMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateStripeLoginLinkMutation>;
|
|
21571
21887
|
CreateStripeAccountLink(variables?: CreateStripeAccountLinkMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateStripeAccountLinkMutation>;
|
|
21572
21888
|
GetReceiptUrl(variables: GetReceiptUrlQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetReceiptUrlQuery>;
|