@vertikalx/vtx-backend-client 3.0.0-dev-max.151 → 3.0.0-dev-max2.0
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/package.json +1 -1
- package/src/api/vtx-base-api.d.ts +16 -1
- package/src/api/vtx-base-api.js +14 -1
- package/src/api/vtx-base-api.js.map +1 -1
- package/src/api/vtx-mobile-api.d.ts +3 -1
- package/src/api/vtx-mobile-api.js +2 -2
- package/src/api/vtx-mobile-api.js.map +1 -1
- package/src/client/schema.d.ts +76 -8
- package/src/client/schema.js +9 -2
- package/src/client/schema.js.map +1 -1
- package/src/client/types.d.ts +48 -5
- package/src/client/types.js +419 -302
- package/src/client/types.js.map +1 -1
- package/src/generated/graphql.d.ts +267 -12
- package/src/generated/graphql.js +61 -13
- package/src/generated/graphql.js.map +1 -1
- package/tsconfig.lib.tsbuildinfo +0 -1
|
@@ -406,10 +406,8 @@ export type AthleteIntegrationReference = {
|
|
|
406
406
|
hasInstagramIntegration?: Maybe<Scalars['Boolean']['output']>;
|
|
407
407
|
hasStravaIntegration?: Maybe<Scalars['Boolean']['output']>;
|
|
408
408
|
instagramMediaData?: Maybe<InstagramMediaData>;
|
|
409
|
-
instagramTokenExpires?: Maybe<Scalars['DateTime']['output']>;
|
|
410
409
|
instagramUserData?: Maybe<InstagramUserData>;
|
|
411
410
|
stravaAthleteData?: Maybe<StravaAthleteData>;
|
|
412
|
-
stravaTokenExpires?: Maybe<Scalars['DateTime']['output']>;
|
|
413
411
|
};
|
|
414
412
|
export type AthleteInvitationDto = {
|
|
415
413
|
brandId?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -896,7 +894,6 @@ export type CreateEmailCampaignDto = {
|
|
|
896
894
|
htmlContent?: InputMaybe<Scalars['String']['input']>;
|
|
897
895
|
scheduledFor?: InputMaybe<Scalars['DateTime']['input']>;
|
|
898
896
|
segmentId?: InputMaybe<Scalars['String']['input']>;
|
|
899
|
-
status?: InputMaybe<Scalars['String']['input']>;
|
|
900
897
|
subject: Scalars['String']['input'];
|
|
901
898
|
templateId?: InputMaybe<Scalars['String']['input']>;
|
|
902
899
|
templateName?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -906,6 +903,7 @@ export type CreateEmailSegmentDto = {
|
|
|
906
903
|
name: Scalars['String']['input'];
|
|
907
904
|
};
|
|
908
905
|
export type CreateFundingCampaignDto = {
|
|
906
|
+
autoSendThankYou?: InputMaybe<Scalars['Boolean']['input']>;
|
|
909
907
|
budget?: InputMaybe<CreateBudgetDto>;
|
|
910
908
|
budgetMode: Scalars['String']['input'];
|
|
911
909
|
cityId?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -916,11 +914,14 @@ export type CreateFundingCampaignDto = {
|
|
|
916
914
|
fundsRequired: Scalars['Float']['input'];
|
|
917
915
|
initialFundsObtained?: Scalars['Float']['input'];
|
|
918
916
|
motivation: Scalars['String']['input'];
|
|
917
|
+
thankYouMediaUrl?: InputMaybe<Scalars['String']['input']>;
|
|
918
|
+
thankYouMessage?: InputMaybe<Scalars['String']['input']>;
|
|
919
919
|
title: Scalars['String']['input'];
|
|
920
920
|
video?: InputMaybe<CreateVideoDto>;
|
|
921
921
|
website?: InputMaybe<Scalars['String']['input']>;
|
|
922
922
|
};
|
|
923
923
|
export type CreateFundingCampaignForDto = {
|
|
924
|
+
autoSendThankYou?: InputMaybe<Scalars['Boolean']['input']>;
|
|
924
925
|
budget?: InputMaybe<CreateBudgetDto>;
|
|
925
926
|
budgetMode: Scalars['String']['input'];
|
|
926
927
|
cityId?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -932,6 +933,8 @@ export type CreateFundingCampaignForDto = {
|
|
|
932
933
|
initialFundsObtained?: Scalars['Float']['input'];
|
|
933
934
|
loginEmail: Scalars['String']['input'];
|
|
934
935
|
motivation: Scalars['String']['input'];
|
|
936
|
+
thankYouMediaUrl?: InputMaybe<Scalars['String']['input']>;
|
|
937
|
+
thankYouMessage?: InputMaybe<Scalars['String']['input']>;
|
|
935
938
|
title: Scalars['String']['input'];
|
|
936
939
|
video?: InputMaybe<CreateVideoDto>;
|
|
937
940
|
website?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1232,6 +1235,16 @@ export type DonationQueryDto = {
|
|
|
1232
1235
|
sortField?: InputMaybe<Scalars['String']['input']>;
|
|
1233
1236
|
sortOrder?: InputMaybe<Scalars['String']['input']>;
|
|
1234
1237
|
};
|
|
1238
|
+
export type DonationThankYou = {
|
|
1239
|
+
_id: Scalars['String']['output'];
|
|
1240
|
+
autoSent: Scalars['Boolean']['output'];
|
|
1241
|
+
donorEmail?: Maybe<Scalars['String']['output']>;
|
|
1242
|
+
donorName?: Maybe<Scalars['String']['output']>;
|
|
1243
|
+
emailSent: Scalars['Boolean']['output'];
|
|
1244
|
+
mediaUrl?: Maybe<Scalars['String']['output']>;
|
|
1245
|
+
message: Scalars['String']['output'];
|
|
1246
|
+
sentDate: Scalars['DateTime']['output'];
|
|
1247
|
+
};
|
|
1235
1248
|
export type Duration = {
|
|
1236
1249
|
length: Scalars['Float']['output'];
|
|
1237
1250
|
unit: Scalars['String']['output'];
|
|
@@ -1432,6 +1445,7 @@ export type FundCampaignFilterDto = {
|
|
|
1432
1445
|
export type FundRaisingCampaign = {
|
|
1433
1446
|
_id: Scalars['String']['output'];
|
|
1434
1447
|
athlete: AthleteReference;
|
|
1448
|
+
autoSendThankYou: Scalars['Boolean']['output'];
|
|
1435
1449
|
budget?: Maybe<Budget>;
|
|
1436
1450
|
budgetMode: Scalars['String']['output'];
|
|
1437
1451
|
competitions?: Maybe<Array<AthleteCompetition>>;
|
|
@@ -1445,6 +1459,8 @@ export type FundRaisingCampaign = {
|
|
|
1445
1459
|
motivation?: Maybe<Scalars['String']['output']>;
|
|
1446
1460
|
slug?: Maybe<Scalars['String']['output']>;
|
|
1447
1461
|
status: Scalars['String']['output'];
|
|
1462
|
+
thankYouMediaUrl?: Maybe<Scalars['String']['output']>;
|
|
1463
|
+
thankYouMessage?: Maybe<Scalars['String']['output']>;
|
|
1448
1464
|
title: Scalars['String']['output'];
|
|
1449
1465
|
video?: Maybe<Video>;
|
|
1450
1466
|
vtxComissionPct: Scalars['Float']['output'];
|
|
@@ -1832,6 +1848,7 @@ export type Mutation = {
|
|
|
1832
1848
|
sendAthleteInvitations: Array<SponsorAthleteInvitation>;
|
|
1833
1849
|
sendBulkEmail: Scalars['Boolean']['output'];
|
|
1834
1850
|
sendTestEmail: Scalars['Boolean']['output'];
|
|
1851
|
+
sendThankYou: DonationThankYou;
|
|
1835
1852
|
setCurrentCampaign: FundRaisingCampaign;
|
|
1836
1853
|
setFundingStatus: FundRaisingCampaign;
|
|
1837
1854
|
setOfferStatus: Offer;
|
|
@@ -1853,6 +1870,7 @@ export type Mutation = {
|
|
|
1853
1870
|
updateSponsor: Sponsor;
|
|
1854
1871
|
updateSport: Sport;
|
|
1855
1872
|
updateSportsEvent: SportsEvent;
|
|
1873
|
+
updateThankYouTemplate: FundRaisingCampaign;
|
|
1856
1874
|
updateUserSuspendedStatus: EditValueResponse;
|
|
1857
1875
|
uploadCouponCodes: UploadResult;
|
|
1858
1876
|
validateToken: ValidatedToken;
|
|
@@ -2126,6 +2144,9 @@ export type MutationSendTestEmailArgs = {
|
|
|
2126
2144
|
adminEmail: Scalars['String']['input'];
|
|
2127
2145
|
campaignId: Scalars['String']['input'];
|
|
2128
2146
|
};
|
|
2147
|
+
export type MutationSendThankYouArgs = {
|
|
2148
|
+
input: SendThankYouDto;
|
|
2149
|
+
};
|
|
2129
2150
|
export type MutationSetCurrentCampaignArgs = {
|
|
2130
2151
|
input: SetCurrentCampaignDto;
|
|
2131
2152
|
};
|
|
@@ -2187,6 +2208,9 @@ export type MutationUpdateSportArgs = {
|
|
|
2187
2208
|
export type MutationUpdateSportsEventArgs = {
|
|
2188
2209
|
input: UpdateSportEventDto;
|
|
2189
2210
|
};
|
|
2211
|
+
export type MutationUpdateThankYouTemplateArgs = {
|
|
2212
|
+
input: UpdateThankYouTemplateDto;
|
|
2213
|
+
};
|
|
2190
2214
|
export type MutationUpdateUserSuspendedStatusArgs = {
|
|
2191
2215
|
input: UpdateUserSuspendedStatusDto;
|
|
2192
2216
|
};
|
|
@@ -2522,7 +2546,9 @@ export type Query = {
|
|
|
2522
2546
|
athleteScoreHistory: Array<ScoreHistoryEntry>;
|
|
2523
2547
|
brands: Array<Brand>;
|
|
2524
2548
|
browseCampaigns: BrowseCampaignsResult;
|
|
2549
|
+
campaignThankYous: Array<DonationThankYou>;
|
|
2525
2550
|
checkScoreRefreshCapabilities: CheckScoreRefreshCapabilityResponse;
|
|
2551
|
+
donationThankYou?: Maybe<DonationThankYou>;
|
|
2526
2552
|
existsValidSponsorForEmail: Sponsor;
|
|
2527
2553
|
findAthleteById: Athlete;
|
|
2528
2554
|
findAthleteForUser: Athlete;
|
|
@@ -2667,9 +2693,15 @@ export type QueryAthleteScoreHistoryArgs = {
|
|
|
2667
2693
|
export type QueryBrowseCampaignsArgs = {
|
|
2668
2694
|
input: BrowseCampaignsDto;
|
|
2669
2695
|
};
|
|
2696
|
+
export type QueryCampaignThankYousArgs = {
|
|
2697
|
+
campaignId: Scalars['String']['input'];
|
|
2698
|
+
};
|
|
2670
2699
|
export type QueryCheckScoreRefreshCapabilitiesArgs = {
|
|
2671
2700
|
input: CheckScoreRefreshCapabilityDto;
|
|
2672
2701
|
};
|
|
2702
|
+
export type QueryDonationThankYouArgs = {
|
|
2703
|
+
donationId: Scalars['String']['input'];
|
|
2704
|
+
};
|
|
2673
2705
|
export type QueryExistsValidSponsorForEmailArgs = {
|
|
2674
2706
|
loginEmail: Scalars['String']['input'];
|
|
2675
2707
|
};
|
|
@@ -3094,6 +3126,11 @@ export type SendGridTemplate = {
|
|
|
3094
3126
|
subject?: Maybe<Scalars['String']['output']>;
|
|
3095
3127
|
updatedAt?: Maybe<Scalars['String']['output']>;
|
|
3096
3128
|
};
|
|
3129
|
+
export type SendThankYouDto = {
|
|
3130
|
+
campaignId: Scalars['String']['input'];
|
|
3131
|
+
customMessage?: InputMaybe<Scalars['String']['input']>;
|
|
3132
|
+
donationId: Scalars['String']['input'];
|
|
3133
|
+
};
|
|
3097
3134
|
export type SetCompetitionResultDto = {
|
|
3098
3135
|
adversary?: InputMaybe<Scalars['String']['input']>;
|
|
3099
3136
|
categoryName?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3369,7 +3406,6 @@ export type StravaAthleteData = {
|
|
|
3369
3406
|
state?: Maybe<Scalars['String']['output']>;
|
|
3370
3407
|
updated_at?: Maybe<Scalars['String']['output']>;
|
|
3371
3408
|
username?: Maybe<Scalars['String']['output']>;
|
|
3372
|
-
weight?: Maybe<Scalars['Float']['output']>;
|
|
3373
3409
|
};
|
|
3374
3410
|
export type StravaTpiRideDto = {
|
|
3375
3411
|
averageCadenceStm: Scalars['Float']['output'];
|
|
@@ -3701,7 +3737,6 @@ export type UpdateEmailCampaignDto = {
|
|
|
3701
3737
|
htmlContent?: InputMaybe<Scalars['String']['input']>;
|
|
3702
3738
|
scheduledFor?: InputMaybe<Scalars['DateTime']['input']>;
|
|
3703
3739
|
segmentId?: InputMaybe<Scalars['String']['input']>;
|
|
3704
|
-
status?: InputMaybe<Scalars['String']['input']>;
|
|
3705
3740
|
subject?: InputMaybe<Scalars['String']['input']>;
|
|
3706
3741
|
templateId?: InputMaybe<Scalars['String']['input']>;
|
|
3707
3742
|
templateName?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3712,6 +3747,7 @@ export type UpdateEmailSegmentDto = {
|
|
|
3712
3747
|
};
|
|
3713
3748
|
export type UpdateFundingCampaignDto = {
|
|
3714
3749
|
_id: Scalars['String']['input'];
|
|
3750
|
+
autoSendThankYou?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3715
3751
|
budget?: InputMaybe<CreateBudgetDto>;
|
|
3716
3752
|
budgetMode: Scalars['String']['input'];
|
|
3717
3753
|
cityId?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3722,6 +3758,8 @@ export type UpdateFundingCampaignDto = {
|
|
|
3722
3758
|
fundsRequired: Scalars['Float']['input'];
|
|
3723
3759
|
initialFundsObtained?: Scalars['Float']['input'];
|
|
3724
3760
|
motivation: Scalars['String']['input'];
|
|
3761
|
+
thankYouMediaUrl?: InputMaybe<Scalars['String']['input']>;
|
|
3762
|
+
thankYouMessage?: InputMaybe<Scalars['String']['input']>;
|
|
3725
3763
|
title: Scalars['String']['input'];
|
|
3726
3764
|
video?: InputMaybe<CreateVideoDto>;
|
|
3727
3765
|
website?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3763,6 +3801,12 @@ export type UpdateTextDatabaseFileDto = {
|
|
|
3763
3801
|
identifier?: InputMaybe<Scalars['String']['input']>;
|
|
3764
3802
|
version?: InputMaybe<Scalars['String']['input']>;
|
|
3765
3803
|
};
|
|
3804
|
+
export type UpdateThankYouTemplateDto = {
|
|
3805
|
+
autoSendThankYou?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3806
|
+
campaignId: Scalars['String']['input'];
|
|
3807
|
+
thankYouMediaUrl?: InputMaybe<Scalars['String']['input']>;
|
|
3808
|
+
thankYouMessage?: InputMaybe<Scalars['String']['input']>;
|
|
3809
|
+
};
|
|
3766
3810
|
export type UpdateUserSuspendedStatusDto = {
|
|
3767
3811
|
suspended: Scalars['Boolean']['input'];
|
|
3768
3812
|
userId: Scalars['String']['input'];
|
|
@@ -8658,6 +8702,9 @@ export type CampaignFieldsFragment = {
|
|
|
8658
8702
|
vtxComissionPct: number;
|
|
8659
8703
|
createdDate: string;
|
|
8660
8704
|
endingDate: string;
|
|
8705
|
+
thankYouMessage?: string | null;
|
|
8706
|
+
thankYouMediaUrl?: string | null;
|
|
8707
|
+
autoSendThankYou: boolean;
|
|
8661
8708
|
video?: {
|
|
8662
8709
|
_id: string;
|
|
8663
8710
|
source: string;
|
|
@@ -8772,6 +8819,16 @@ export type CampaignFieldsFragment = {
|
|
|
8772
8819
|
useType?: string | null;
|
|
8773
8820
|
} | null;
|
|
8774
8821
|
};
|
|
8822
|
+
export type DonationThankYouFieldsFragment = {
|
|
8823
|
+
_id: string;
|
|
8824
|
+
message: string;
|
|
8825
|
+
mediaUrl?: string | null;
|
|
8826
|
+
autoSent: boolean;
|
|
8827
|
+
emailSent: boolean;
|
|
8828
|
+
donorEmail?: string | null;
|
|
8829
|
+
donorName?: string | null;
|
|
8830
|
+
sentDate: string;
|
|
8831
|
+
};
|
|
8775
8832
|
export type BrowseCampaignFieldsFragment = {
|
|
8776
8833
|
_id: string;
|
|
8777
8834
|
title: string;
|
|
@@ -8946,6 +9003,9 @@ export type GetAthleteCampaignsQuery = {
|
|
|
8946
9003
|
vtxComissionPct: number;
|
|
8947
9004
|
createdDate: string;
|
|
8948
9005
|
endingDate: string;
|
|
9006
|
+
thankYouMessage?: string | null;
|
|
9007
|
+
thankYouMediaUrl?: string | null;
|
|
9008
|
+
autoSendThankYou: boolean;
|
|
8949
9009
|
athlete: {
|
|
8950
9010
|
_id: string;
|
|
8951
9011
|
firstName: string;
|
|
@@ -9390,6 +9450,9 @@ export type CreateFundingCampaignMutation = {
|
|
|
9390
9450
|
vtxComissionPct: number;
|
|
9391
9451
|
createdDate: string;
|
|
9392
9452
|
endingDate: string;
|
|
9453
|
+
thankYouMessage?: string | null;
|
|
9454
|
+
thankYouMediaUrl?: string | null;
|
|
9455
|
+
autoSendThankYou: boolean;
|
|
9393
9456
|
video?: {
|
|
9394
9457
|
_id: string;
|
|
9395
9458
|
source: string;
|
|
@@ -9523,6 +9586,9 @@ export type UpdateFundingCampaignMutation = {
|
|
|
9523
9586
|
vtxComissionPct: number;
|
|
9524
9587
|
createdDate: string;
|
|
9525
9588
|
endingDate: string;
|
|
9589
|
+
thankYouMessage?: string | null;
|
|
9590
|
+
thankYouMediaUrl?: string | null;
|
|
9591
|
+
autoSendThankYou: boolean;
|
|
9526
9592
|
video?: {
|
|
9527
9593
|
_id: string;
|
|
9528
9594
|
source: string;
|
|
@@ -9683,6 +9749,9 @@ export type SetFundingStatusMutation = {
|
|
|
9683
9749
|
vtxComissionPct: number;
|
|
9684
9750
|
createdDate: string;
|
|
9685
9751
|
endingDate: string;
|
|
9752
|
+
thankYouMessage?: string | null;
|
|
9753
|
+
thankYouMediaUrl?: string | null;
|
|
9754
|
+
autoSendThankYou: boolean;
|
|
9686
9755
|
video?: {
|
|
9687
9756
|
_id: string;
|
|
9688
9757
|
source: string;
|
|
@@ -9816,6 +9885,9 @@ export type SetCurrentCampaignMutation = {
|
|
|
9816
9885
|
vtxComissionPct: number;
|
|
9817
9886
|
createdDate: string;
|
|
9818
9887
|
endingDate: string;
|
|
9888
|
+
thankYouMessage?: string | null;
|
|
9889
|
+
thankYouMediaUrl?: string | null;
|
|
9890
|
+
autoSendThankYou: boolean;
|
|
9819
9891
|
video?: {
|
|
9820
9892
|
_id: string;
|
|
9821
9893
|
source: string;
|
|
@@ -10484,6 +10556,187 @@ export type GetTransactionsPaginatedQuery = {
|
|
|
10484
10556
|
};
|
|
10485
10557
|
};
|
|
10486
10558
|
};
|
|
10559
|
+
export type CampaignThankYousQueryVariables = Exact<{
|
|
10560
|
+
campaignId: Scalars['String']['input'];
|
|
10561
|
+
}>;
|
|
10562
|
+
export type CampaignThankYousQuery = {
|
|
10563
|
+
campaignThankYous: Array<{
|
|
10564
|
+
_id: string;
|
|
10565
|
+
message: string;
|
|
10566
|
+
mediaUrl?: string | null;
|
|
10567
|
+
autoSent: boolean;
|
|
10568
|
+
emailSent: boolean;
|
|
10569
|
+
donorEmail?: string | null;
|
|
10570
|
+
donorName?: string | null;
|
|
10571
|
+
sentDate: string;
|
|
10572
|
+
}>;
|
|
10573
|
+
};
|
|
10574
|
+
export type DonationThankYouQueryVariables = Exact<{
|
|
10575
|
+
donationId: Scalars['String']['input'];
|
|
10576
|
+
}>;
|
|
10577
|
+
export type DonationThankYouQuery = {
|
|
10578
|
+
donationThankYou?: {
|
|
10579
|
+
_id: string;
|
|
10580
|
+
message: string;
|
|
10581
|
+
mediaUrl?: string | null;
|
|
10582
|
+
autoSent: boolean;
|
|
10583
|
+
emailSent: boolean;
|
|
10584
|
+
donorEmail?: string | null;
|
|
10585
|
+
donorName?: string | null;
|
|
10586
|
+
sentDate: string;
|
|
10587
|
+
} | null;
|
|
10588
|
+
};
|
|
10589
|
+
export type UpdateThankYouTemplateMutationVariables = Exact<{
|
|
10590
|
+
input: UpdateThankYouTemplateDto;
|
|
10591
|
+
}>;
|
|
10592
|
+
export type UpdateThankYouTemplateMutation = {
|
|
10593
|
+
updateThankYouTemplate: {
|
|
10594
|
+
_id: string;
|
|
10595
|
+
budgetMode: string;
|
|
10596
|
+
status: string;
|
|
10597
|
+
title: string;
|
|
10598
|
+
slug?: string | null;
|
|
10599
|
+
motivation?: string | null;
|
|
10600
|
+
website?: string | null;
|
|
10601
|
+
fundsRequired: number;
|
|
10602
|
+
initialFundsObtained: number;
|
|
10603
|
+
fundsObtained: number;
|
|
10604
|
+
vtxComissionPct: number;
|
|
10605
|
+
createdDate: string;
|
|
10606
|
+
endingDate: string;
|
|
10607
|
+
thankYouMessage?: string | null;
|
|
10608
|
+
thankYouMediaUrl?: string | null;
|
|
10609
|
+
autoSendThankYou: boolean;
|
|
10610
|
+
video?: {
|
|
10611
|
+
_id: string;
|
|
10612
|
+
source: string;
|
|
10613
|
+
url: string;
|
|
10614
|
+
sourceData: string;
|
|
10615
|
+
} | null;
|
|
10616
|
+
location?: {
|
|
10617
|
+
userProvidedLatitude?: number | null;
|
|
10618
|
+
userProvidedLongitude?: number | null;
|
|
10619
|
+
cityNameGeocode?: string | null;
|
|
10620
|
+
stateNameGeocode?: string | null;
|
|
10621
|
+
countryIso2CodeGeocode?: string | null;
|
|
10622
|
+
timeZoneGeocode?: string | null;
|
|
10623
|
+
latitudeGeocode?: number | null;
|
|
10624
|
+
longitudeGeocode?: number | null;
|
|
10625
|
+
city?: {
|
|
10626
|
+
_id: string;
|
|
10627
|
+
name: string;
|
|
10628
|
+
localizedName: string;
|
|
10629
|
+
latitude?: number | null;
|
|
10630
|
+
longitude?: number | null;
|
|
10631
|
+
timezone?: string | null;
|
|
10632
|
+
state?: {
|
|
10633
|
+
_id: string;
|
|
10634
|
+
name: string;
|
|
10635
|
+
country?: {
|
|
10636
|
+
_id: string;
|
|
10637
|
+
name: string;
|
|
10638
|
+
} | null;
|
|
10639
|
+
} | null;
|
|
10640
|
+
} | null;
|
|
10641
|
+
} | null;
|
|
10642
|
+
budget?: {
|
|
10643
|
+
initialFunds: number;
|
|
10644
|
+
totalRequired: number;
|
|
10645
|
+
items?: Array<{
|
|
10646
|
+
_id: string;
|
|
10647
|
+
quantity: number;
|
|
10648
|
+
concept: string;
|
|
10649
|
+
itemCost: number;
|
|
10650
|
+
unit?: string | null;
|
|
10651
|
+
}> | null;
|
|
10652
|
+
} | null;
|
|
10653
|
+
competitions?: Array<{
|
|
10654
|
+
_id: string;
|
|
10655
|
+
participationDate?: string | null;
|
|
10656
|
+
competitionNumber?: string | null;
|
|
10657
|
+
fundRaisingCampaignIds?: Array<string> | null;
|
|
10658
|
+
event: {
|
|
10659
|
+
_id: string;
|
|
10660
|
+
name: string;
|
|
10661
|
+
eventWebSite?: string | null;
|
|
10662
|
+
startDate: string;
|
|
10663
|
+
endDate?: string | null;
|
|
10664
|
+
verified: boolean;
|
|
10665
|
+
mainSport?: {
|
|
10666
|
+
_id: string;
|
|
10667
|
+
name: string;
|
|
10668
|
+
} | null;
|
|
10669
|
+
banner?: {
|
|
10670
|
+
_id: string;
|
|
10671
|
+
name?: string | null;
|
|
10672
|
+
contentType?: string | null;
|
|
10673
|
+
size?: number | null;
|
|
10674
|
+
useType?: string | null;
|
|
10675
|
+
url: string;
|
|
10676
|
+
key: string;
|
|
10677
|
+
} | null;
|
|
10678
|
+
location?: {
|
|
10679
|
+
_id: string;
|
|
10680
|
+
userProvidedLatitude?: number | null;
|
|
10681
|
+
userProvidedLongitude?: number | null;
|
|
10682
|
+
cityNameGeocode?: string | null;
|
|
10683
|
+
stateNameGeocode?: string | null;
|
|
10684
|
+
countryIso2CodeGeocode?: string | null;
|
|
10685
|
+
timeZoneGeocode?: string | null;
|
|
10686
|
+
latitudeGeocode?: number | null;
|
|
10687
|
+
longitudeGeocode?: number | null;
|
|
10688
|
+
city?: {
|
|
10689
|
+
_id: string;
|
|
10690
|
+
name: string;
|
|
10691
|
+
localizedName: string;
|
|
10692
|
+
latitude?: number | null;
|
|
10693
|
+
longitude?: number | null;
|
|
10694
|
+
timezone?: string | null;
|
|
10695
|
+
state?: {
|
|
10696
|
+
_id: string;
|
|
10697
|
+
name: string;
|
|
10698
|
+
country?: {
|
|
10699
|
+
_id: string;
|
|
10700
|
+
name: string;
|
|
10701
|
+
} | null;
|
|
10702
|
+
} | null;
|
|
10703
|
+
} | null;
|
|
10704
|
+
} | null;
|
|
10705
|
+
};
|
|
10706
|
+
result?: {
|
|
10707
|
+
resultType: string;
|
|
10708
|
+
position?: number | null;
|
|
10709
|
+
score?: string | null;
|
|
10710
|
+
finishTimeMS?: number | null;
|
|
10711
|
+
resultWebLink?: string | null;
|
|
10712
|
+
} | null;
|
|
10713
|
+
}> | null;
|
|
10714
|
+
coverImage?: {
|
|
10715
|
+
_id: string;
|
|
10716
|
+
url: string;
|
|
10717
|
+
key: string;
|
|
10718
|
+
name?: string | null;
|
|
10719
|
+
contentType?: string | null;
|
|
10720
|
+
size?: number | null;
|
|
10721
|
+
useType?: string | null;
|
|
10722
|
+
} | null;
|
|
10723
|
+
};
|
|
10724
|
+
};
|
|
10725
|
+
export type SendThankYouMutationVariables = Exact<{
|
|
10726
|
+
input: SendThankYouDto;
|
|
10727
|
+
}>;
|
|
10728
|
+
export type SendThankYouMutation = {
|
|
10729
|
+
sendThankYou: {
|
|
10730
|
+
_id: string;
|
|
10731
|
+
message: string;
|
|
10732
|
+
mediaUrl?: string | null;
|
|
10733
|
+
autoSent: boolean;
|
|
10734
|
+
emailSent: boolean;
|
|
10735
|
+
donorEmail?: string | null;
|
|
10736
|
+
donorName?: string | null;
|
|
10737
|
+
sentDate: string;
|
|
10738
|
+
};
|
|
10739
|
+
};
|
|
10487
10740
|
export type GetEmailCampaignsQueryVariables = Exact<{
|
|
10488
10741
|
status?: InputMaybe<Scalars['String']['input']>;
|
|
10489
10742
|
search?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -10725,7 +10978,6 @@ export type GetAthleteIntegrationsByAthleteQuery = {
|
|
|
10725
10978
|
getAthleteInstagramIntegration: {
|
|
10726
10979
|
_id: string;
|
|
10727
10980
|
hasInstagramIntegration?: boolean | null;
|
|
10728
|
-
instagramTokenExpires?: string | null;
|
|
10729
10981
|
athlete: {
|
|
10730
10982
|
_id: string;
|
|
10731
10983
|
};
|
|
@@ -10774,7 +11026,6 @@ export type GetAthleteStravaIntegrationQuery = {
|
|
|
10774
11026
|
getAthleteStravaIntegration: {
|
|
10775
11027
|
_id: string;
|
|
10776
11028
|
hasStravaIntegration?: boolean | null;
|
|
10777
|
-
stravaTokenExpires?: string | null;
|
|
10778
11029
|
athlete: {
|
|
10779
11030
|
_id: string;
|
|
10780
11031
|
};
|
|
@@ -10792,7 +11043,6 @@ export type GetAthleteStravaIntegrationQuery = {
|
|
|
10792
11043
|
profile?: string | null;
|
|
10793
11044
|
created_at?: string | null;
|
|
10794
11045
|
updated_at?: string | null;
|
|
10795
|
-
weight?: number | null;
|
|
10796
11046
|
} | null;
|
|
10797
11047
|
};
|
|
10798
11048
|
};
|
|
@@ -10803,7 +11053,6 @@ export type GetAthleteInstagramIntegrationQuery = {
|
|
|
10803
11053
|
getAthleteInstagramIntegration: {
|
|
10804
11054
|
_id: string;
|
|
10805
11055
|
hasInstagramIntegration?: boolean | null;
|
|
10806
|
-
instagramTokenExpires?: string | null;
|
|
10807
11056
|
athlete: {
|
|
10808
11057
|
_id: string;
|
|
10809
11058
|
};
|
|
@@ -10852,9 +11101,7 @@ export type GetAthleteIntegrationsQuery = {
|
|
|
10852
11101
|
getAthleteIntegrations: {
|
|
10853
11102
|
_id: string;
|
|
10854
11103
|
hasStravaIntegration?: boolean | null;
|
|
10855
|
-
stravaTokenExpires?: string | null;
|
|
10856
11104
|
hasInstagramIntegration?: boolean | null;
|
|
10857
|
-
instagramTokenExpires?: string | null;
|
|
10858
11105
|
athlete: {
|
|
10859
11106
|
_id: string;
|
|
10860
11107
|
};
|
|
@@ -10872,7 +11119,6 @@ export type GetAthleteIntegrationsQuery = {
|
|
|
10872
11119
|
profile?: string | null;
|
|
10873
11120
|
created_at?: string | null;
|
|
10874
11121
|
updated_at?: string | null;
|
|
10875
|
-
weight?: number | null;
|
|
10876
11122
|
} | null;
|
|
10877
11123
|
instagramUserData?: {
|
|
10878
11124
|
user_id: string;
|
|
@@ -13221,6 +13467,7 @@ export declare const CurrentCampaignFieldsFragmentDoc: import("graphql").Documen
|
|
|
13221
13467
|
export declare const HistoricalScoreFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
13222
13468
|
export declare const HistoricalScoresPeriodFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
13223
13469
|
export declare const CampaignFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
13470
|
+
export declare const DonationThankYouFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
13224
13471
|
export declare const BrowseCampaignFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
13225
13472
|
export declare const DonationFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
13226
13473
|
export declare const DonationAthleteRefFragmentDoc: import("graphql").DocumentNode;
|
|
@@ -13347,6 +13594,10 @@ export declare const GetReceiptDocument: import("graphql").DocumentNode;
|
|
|
13347
13594
|
export declare const GetTransactionDetailsDocument: import("graphql").DocumentNode;
|
|
13348
13595
|
export declare const GetAllTransactionsDocument: import("graphql").DocumentNode;
|
|
13349
13596
|
export declare const GetTransactionsPaginatedDocument: import("graphql").DocumentNode;
|
|
13597
|
+
export declare const CampaignThankYousDocument: import("graphql").DocumentNode;
|
|
13598
|
+
export declare const DonationThankYouDocument: import("graphql").DocumentNode;
|
|
13599
|
+
export declare const UpdateThankYouTemplateDocument: import("graphql").DocumentNode;
|
|
13600
|
+
export declare const SendThankYouDocument: import("graphql").DocumentNode;
|
|
13350
13601
|
export declare const GetEmailCampaignsDocument: import("graphql").DocumentNode;
|
|
13351
13602
|
export declare const GetAudiencePreviewDocument: import("graphql").DocumentNode;
|
|
13352
13603
|
export declare const GetSendGridTemplatesDocument: import("graphql").DocumentNode;
|
|
@@ -13576,6 +13827,10 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
13576
13827
|
GetTransactionDetails(variables: GetTransactionDetailsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetTransactionDetailsQuery>;
|
|
13577
13828
|
GetAllTransactions(variables?: GetAllTransactionsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAllTransactionsQuery>;
|
|
13578
13829
|
GetTransactionsPaginated(variables?: GetTransactionsPaginatedQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetTransactionsPaginatedQuery>;
|
|
13830
|
+
CampaignThankYous(variables: CampaignThankYousQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CampaignThankYousQuery>;
|
|
13831
|
+
DonationThankYou(variables: DonationThankYouQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<DonationThankYouQuery>;
|
|
13832
|
+
UpdateThankYouTemplate(variables: UpdateThankYouTemplateMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<UpdateThankYouTemplateMutation>;
|
|
13833
|
+
SendThankYou(variables: SendThankYouMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<SendThankYouMutation>;
|
|
13579
13834
|
GetEmailCampaigns(variables?: GetEmailCampaignsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetEmailCampaignsQuery>;
|
|
13580
13835
|
GetAudiencePreview(variables: GetAudiencePreviewQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAudiencePreviewQuery>;
|
|
13581
13836
|
GetSendGridTemplates(variables?: GetSendGridTemplatesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetSendGridTemplatesQuery>;
|