@vertikalx/vtx-backend-client 3.0.0-dev-max.150 → 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 +78 -8
- package/src/client/schema.js +9 -2
- package/src/client/schema.js.map +1 -1
- package/src/client/types.d.ts +49 -5
- package/src/client/types.js +421 -301
- package/src/client/types.js.map +1 -1
- package/src/generated/graphql.d.ts +271 -12
- package/src/generated/graphql.js +62 -13
- package/src/generated/graphql.js.map +1 -1
- package/tsconfig.lib.tsbuildinfo +0 -1
|
@@ -267,6 +267,7 @@ export type AiCoachNudgeListResponse = {
|
|
|
267
267
|
export type AiCoachThread = {
|
|
268
268
|
_id: Scalars['ID']['output'];
|
|
269
269
|
athleteId: Scalars['String']['output'];
|
|
270
|
+
contextSnapshot?: Maybe<Scalars['JSON']['output']>;
|
|
270
271
|
createdAt: Scalars['DateTime']['output'];
|
|
271
272
|
messages?: Maybe<Array<AiCoachMessage>>;
|
|
272
273
|
status: Scalars['String']['output'];
|
|
@@ -405,10 +406,8 @@ export type AthleteIntegrationReference = {
|
|
|
405
406
|
hasInstagramIntegration?: Maybe<Scalars['Boolean']['output']>;
|
|
406
407
|
hasStravaIntegration?: Maybe<Scalars['Boolean']['output']>;
|
|
407
408
|
instagramMediaData?: Maybe<InstagramMediaData>;
|
|
408
|
-
instagramTokenExpires?: Maybe<Scalars['DateTime']['output']>;
|
|
409
409
|
instagramUserData?: Maybe<InstagramUserData>;
|
|
410
410
|
stravaAthleteData?: Maybe<StravaAthleteData>;
|
|
411
|
-
stravaTokenExpires?: Maybe<Scalars['DateTime']['output']>;
|
|
412
411
|
};
|
|
413
412
|
export type AthleteInvitationDto = {
|
|
414
413
|
brandId?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -895,7 +894,6 @@ export type CreateEmailCampaignDto = {
|
|
|
895
894
|
htmlContent?: InputMaybe<Scalars['String']['input']>;
|
|
896
895
|
scheduledFor?: InputMaybe<Scalars['DateTime']['input']>;
|
|
897
896
|
segmentId?: InputMaybe<Scalars['String']['input']>;
|
|
898
|
-
status?: InputMaybe<Scalars['String']['input']>;
|
|
899
897
|
subject: Scalars['String']['input'];
|
|
900
898
|
templateId?: InputMaybe<Scalars['String']['input']>;
|
|
901
899
|
templateName?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -905,6 +903,7 @@ export type CreateEmailSegmentDto = {
|
|
|
905
903
|
name: Scalars['String']['input'];
|
|
906
904
|
};
|
|
907
905
|
export type CreateFundingCampaignDto = {
|
|
906
|
+
autoSendThankYou?: InputMaybe<Scalars['Boolean']['input']>;
|
|
908
907
|
budget?: InputMaybe<CreateBudgetDto>;
|
|
909
908
|
budgetMode: Scalars['String']['input'];
|
|
910
909
|
cityId?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -915,11 +914,14 @@ export type CreateFundingCampaignDto = {
|
|
|
915
914
|
fundsRequired: Scalars['Float']['input'];
|
|
916
915
|
initialFundsObtained?: Scalars['Float']['input'];
|
|
917
916
|
motivation: Scalars['String']['input'];
|
|
917
|
+
thankYouMediaUrl?: InputMaybe<Scalars['String']['input']>;
|
|
918
|
+
thankYouMessage?: InputMaybe<Scalars['String']['input']>;
|
|
918
919
|
title: Scalars['String']['input'];
|
|
919
920
|
video?: InputMaybe<CreateVideoDto>;
|
|
920
921
|
website?: InputMaybe<Scalars['String']['input']>;
|
|
921
922
|
};
|
|
922
923
|
export type CreateFundingCampaignForDto = {
|
|
924
|
+
autoSendThankYou?: InputMaybe<Scalars['Boolean']['input']>;
|
|
923
925
|
budget?: InputMaybe<CreateBudgetDto>;
|
|
924
926
|
budgetMode: Scalars['String']['input'];
|
|
925
927
|
cityId?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -931,6 +933,8 @@ export type CreateFundingCampaignForDto = {
|
|
|
931
933
|
initialFundsObtained?: Scalars['Float']['input'];
|
|
932
934
|
loginEmail: Scalars['String']['input'];
|
|
933
935
|
motivation: Scalars['String']['input'];
|
|
936
|
+
thankYouMediaUrl?: InputMaybe<Scalars['String']['input']>;
|
|
937
|
+
thankYouMessage?: InputMaybe<Scalars['String']['input']>;
|
|
934
938
|
title: Scalars['String']['input'];
|
|
935
939
|
video?: InputMaybe<CreateVideoDto>;
|
|
936
940
|
website?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1231,6 +1235,16 @@ export type DonationQueryDto = {
|
|
|
1231
1235
|
sortField?: InputMaybe<Scalars['String']['input']>;
|
|
1232
1236
|
sortOrder?: InputMaybe<Scalars['String']['input']>;
|
|
1233
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
|
+
};
|
|
1234
1248
|
export type Duration = {
|
|
1235
1249
|
length: Scalars['Float']['output'];
|
|
1236
1250
|
unit: Scalars['String']['output'];
|
|
@@ -1431,6 +1445,7 @@ export type FundCampaignFilterDto = {
|
|
|
1431
1445
|
export type FundRaisingCampaign = {
|
|
1432
1446
|
_id: Scalars['String']['output'];
|
|
1433
1447
|
athlete: AthleteReference;
|
|
1448
|
+
autoSendThankYou: Scalars['Boolean']['output'];
|
|
1434
1449
|
budget?: Maybe<Budget>;
|
|
1435
1450
|
budgetMode: Scalars['String']['output'];
|
|
1436
1451
|
competitions?: Maybe<Array<AthleteCompetition>>;
|
|
@@ -1444,6 +1459,8 @@ export type FundRaisingCampaign = {
|
|
|
1444
1459
|
motivation?: Maybe<Scalars['String']['output']>;
|
|
1445
1460
|
slug?: Maybe<Scalars['String']['output']>;
|
|
1446
1461
|
status: Scalars['String']['output'];
|
|
1462
|
+
thankYouMediaUrl?: Maybe<Scalars['String']['output']>;
|
|
1463
|
+
thankYouMessage?: Maybe<Scalars['String']['output']>;
|
|
1447
1464
|
title: Scalars['String']['output'];
|
|
1448
1465
|
video?: Maybe<Video>;
|
|
1449
1466
|
vtxComissionPct: Scalars['Float']['output'];
|
|
@@ -1831,6 +1848,7 @@ export type Mutation = {
|
|
|
1831
1848
|
sendAthleteInvitations: Array<SponsorAthleteInvitation>;
|
|
1832
1849
|
sendBulkEmail: Scalars['Boolean']['output'];
|
|
1833
1850
|
sendTestEmail: Scalars['Boolean']['output'];
|
|
1851
|
+
sendThankYou: DonationThankYou;
|
|
1834
1852
|
setCurrentCampaign: FundRaisingCampaign;
|
|
1835
1853
|
setFundingStatus: FundRaisingCampaign;
|
|
1836
1854
|
setOfferStatus: Offer;
|
|
@@ -1852,6 +1870,7 @@ export type Mutation = {
|
|
|
1852
1870
|
updateSponsor: Sponsor;
|
|
1853
1871
|
updateSport: Sport;
|
|
1854
1872
|
updateSportsEvent: SportsEvent;
|
|
1873
|
+
updateThankYouTemplate: FundRaisingCampaign;
|
|
1855
1874
|
updateUserSuspendedStatus: EditValueResponse;
|
|
1856
1875
|
uploadCouponCodes: UploadResult;
|
|
1857
1876
|
validateToken: ValidatedToken;
|
|
@@ -2125,6 +2144,9 @@ export type MutationSendTestEmailArgs = {
|
|
|
2125
2144
|
adminEmail: Scalars['String']['input'];
|
|
2126
2145
|
campaignId: Scalars['String']['input'];
|
|
2127
2146
|
};
|
|
2147
|
+
export type MutationSendThankYouArgs = {
|
|
2148
|
+
input: SendThankYouDto;
|
|
2149
|
+
};
|
|
2128
2150
|
export type MutationSetCurrentCampaignArgs = {
|
|
2129
2151
|
input: SetCurrentCampaignDto;
|
|
2130
2152
|
};
|
|
@@ -2186,6 +2208,9 @@ export type MutationUpdateSportArgs = {
|
|
|
2186
2208
|
export type MutationUpdateSportsEventArgs = {
|
|
2187
2209
|
input: UpdateSportEventDto;
|
|
2188
2210
|
};
|
|
2211
|
+
export type MutationUpdateThankYouTemplateArgs = {
|
|
2212
|
+
input: UpdateThankYouTemplateDto;
|
|
2213
|
+
};
|
|
2189
2214
|
export type MutationUpdateUserSuspendedStatusArgs = {
|
|
2190
2215
|
input: UpdateUserSuspendedStatusDto;
|
|
2191
2216
|
};
|
|
@@ -2521,7 +2546,9 @@ export type Query = {
|
|
|
2521
2546
|
athleteScoreHistory: Array<ScoreHistoryEntry>;
|
|
2522
2547
|
brands: Array<Brand>;
|
|
2523
2548
|
browseCampaigns: BrowseCampaignsResult;
|
|
2549
|
+
campaignThankYous: Array<DonationThankYou>;
|
|
2524
2550
|
checkScoreRefreshCapabilities: CheckScoreRefreshCapabilityResponse;
|
|
2551
|
+
donationThankYou?: Maybe<DonationThankYou>;
|
|
2525
2552
|
existsValidSponsorForEmail: Sponsor;
|
|
2526
2553
|
findAthleteById: Athlete;
|
|
2527
2554
|
findAthleteForUser: Athlete;
|
|
@@ -2666,9 +2693,15 @@ export type QueryAthleteScoreHistoryArgs = {
|
|
|
2666
2693
|
export type QueryBrowseCampaignsArgs = {
|
|
2667
2694
|
input: BrowseCampaignsDto;
|
|
2668
2695
|
};
|
|
2696
|
+
export type QueryCampaignThankYousArgs = {
|
|
2697
|
+
campaignId: Scalars['String']['input'];
|
|
2698
|
+
};
|
|
2669
2699
|
export type QueryCheckScoreRefreshCapabilitiesArgs = {
|
|
2670
2700
|
input: CheckScoreRefreshCapabilityDto;
|
|
2671
2701
|
};
|
|
2702
|
+
export type QueryDonationThankYouArgs = {
|
|
2703
|
+
donationId: Scalars['String']['input'];
|
|
2704
|
+
};
|
|
2672
2705
|
export type QueryExistsValidSponsorForEmailArgs = {
|
|
2673
2706
|
loginEmail: Scalars['String']['input'];
|
|
2674
2707
|
};
|
|
@@ -3093,6 +3126,11 @@ export type SendGridTemplate = {
|
|
|
3093
3126
|
subject?: Maybe<Scalars['String']['output']>;
|
|
3094
3127
|
updatedAt?: Maybe<Scalars['String']['output']>;
|
|
3095
3128
|
};
|
|
3129
|
+
export type SendThankYouDto = {
|
|
3130
|
+
campaignId: Scalars['String']['input'];
|
|
3131
|
+
customMessage?: InputMaybe<Scalars['String']['input']>;
|
|
3132
|
+
donationId: Scalars['String']['input'];
|
|
3133
|
+
};
|
|
3096
3134
|
export type SetCompetitionResultDto = {
|
|
3097
3135
|
adversary?: InputMaybe<Scalars['String']['input']>;
|
|
3098
3136
|
categoryName?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3368,7 +3406,6 @@ export type StravaAthleteData = {
|
|
|
3368
3406
|
state?: Maybe<Scalars['String']['output']>;
|
|
3369
3407
|
updated_at?: Maybe<Scalars['String']['output']>;
|
|
3370
3408
|
username?: Maybe<Scalars['String']['output']>;
|
|
3371
|
-
weight?: Maybe<Scalars['Float']['output']>;
|
|
3372
3409
|
};
|
|
3373
3410
|
export type StravaTpiRideDto = {
|
|
3374
3411
|
averageCadenceStm: Scalars['Float']['output'];
|
|
@@ -3700,7 +3737,6 @@ export type UpdateEmailCampaignDto = {
|
|
|
3700
3737
|
htmlContent?: InputMaybe<Scalars['String']['input']>;
|
|
3701
3738
|
scheduledFor?: InputMaybe<Scalars['DateTime']['input']>;
|
|
3702
3739
|
segmentId?: InputMaybe<Scalars['String']['input']>;
|
|
3703
|
-
status?: InputMaybe<Scalars['String']['input']>;
|
|
3704
3740
|
subject?: InputMaybe<Scalars['String']['input']>;
|
|
3705
3741
|
templateId?: InputMaybe<Scalars['String']['input']>;
|
|
3706
3742
|
templateName?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3711,6 +3747,7 @@ export type UpdateEmailSegmentDto = {
|
|
|
3711
3747
|
};
|
|
3712
3748
|
export type UpdateFundingCampaignDto = {
|
|
3713
3749
|
_id: Scalars['String']['input'];
|
|
3750
|
+
autoSendThankYou?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3714
3751
|
budget?: InputMaybe<CreateBudgetDto>;
|
|
3715
3752
|
budgetMode: Scalars['String']['input'];
|
|
3716
3753
|
cityId?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3721,6 +3758,8 @@ export type UpdateFundingCampaignDto = {
|
|
|
3721
3758
|
fundsRequired: Scalars['Float']['input'];
|
|
3722
3759
|
initialFundsObtained?: Scalars['Float']['input'];
|
|
3723
3760
|
motivation: Scalars['String']['input'];
|
|
3761
|
+
thankYouMediaUrl?: InputMaybe<Scalars['String']['input']>;
|
|
3762
|
+
thankYouMessage?: InputMaybe<Scalars['String']['input']>;
|
|
3724
3763
|
title: Scalars['String']['input'];
|
|
3725
3764
|
video?: InputMaybe<CreateVideoDto>;
|
|
3726
3765
|
website?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3762,6 +3801,12 @@ export type UpdateTextDatabaseFileDto = {
|
|
|
3762
3801
|
identifier?: InputMaybe<Scalars['String']['input']>;
|
|
3763
3802
|
version?: InputMaybe<Scalars['String']['input']>;
|
|
3764
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
|
+
};
|
|
3765
3810
|
export type UpdateUserSuspendedStatusDto = {
|
|
3766
3811
|
suspended: Scalars['Boolean']['input'];
|
|
3767
3812
|
userId: Scalars['String']['input'];
|
|
@@ -3897,6 +3942,7 @@ export type AiCoachThreadFieldsFragment = {
|
|
|
3897
3942
|
weekStart: string;
|
|
3898
3943
|
status: string;
|
|
3899
3944
|
summary?: string | null;
|
|
3945
|
+
contextSnapshot?: any | null;
|
|
3900
3946
|
createdAt: string;
|
|
3901
3947
|
updatedAt: string;
|
|
3902
3948
|
};
|
|
@@ -3927,6 +3973,7 @@ export type GetAiCoachThreadQuery = {
|
|
|
3927
3973
|
weekStart: string;
|
|
3928
3974
|
status: string;
|
|
3929
3975
|
summary?: string | null;
|
|
3976
|
+
contextSnapshot?: any | null;
|
|
3930
3977
|
createdAt: string;
|
|
3931
3978
|
updatedAt: string;
|
|
3932
3979
|
messages?: Array<{
|
|
@@ -3951,6 +3998,7 @@ export type GetAiCoachThreadHistoryQuery = {
|
|
|
3951
3998
|
weekStart: string;
|
|
3952
3999
|
status: string;
|
|
3953
4000
|
summary?: string | null;
|
|
4001
|
+
contextSnapshot?: any | null;
|
|
3954
4002
|
createdAt: string;
|
|
3955
4003
|
updatedAt: string;
|
|
3956
4004
|
}>;
|
|
@@ -8654,6 +8702,9 @@ export type CampaignFieldsFragment = {
|
|
|
8654
8702
|
vtxComissionPct: number;
|
|
8655
8703
|
createdDate: string;
|
|
8656
8704
|
endingDate: string;
|
|
8705
|
+
thankYouMessage?: string | null;
|
|
8706
|
+
thankYouMediaUrl?: string | null;
|
|
8707
|
+
autoSendThankYou: boolean;
|
|
8657
8708
|
video?: {
|
|
8658
8709
|
_id: string;
|
|
8659
8710
|
source: string;
|
|
@@ -8768,6 +8819,16 @@ export type CampaignFieldsFragment = {
|
|
|
8768
8819
|
useType?: string | null;
|
|
8769
8820
|
} | null;
|
|
8770
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
|
+
};
|
|
8771
8832
|
export type BrowseCampaignFieldsFragment = {
|
|
8772
8833
|
_id: string;
|
|
8773
8834
|
title: string;
|
|
@@ -8942,6 +9003,9 @@ export type GetAthleteCampaignsQuery = {
|
|
|
8942
9003
|
vtxComissionPct: number;
|
|
8943
9004
|
createdDate: string;
|
|
8944
9005
|
endingDate: string;
|
|
9006
|
+
thankYouMessage?: string | null;
|
|
9007
|
+
thankYouMediaUrl?: string | null;
|
|
9008
|
+
autoSendThankYou: boolean;
|
|
8945
9009
|
athlete: {
|
|
8946
9010
|
_id: string;
|
|
8947
9011
|
firstName: string;
|
|
@@ -9386,6 +9450,9 @@ export type CreateFundingCampaignMutation = {
|
|
|
9386
9450
|
vtxComissionPct: number;
|
|
9387
9451
|
createdDate: string;
|
|
9388
9452
|
endingDate: string;
|
|
9453
|
+
thankYouMessage?: string | null;
|
|
9454
|
+
thankYouMediaUrl?: string | null;
|
|
9455
|
+
autoSendThankYou: boolean;
|
|
9389
9456
|
video?: {
|
|
9390
9457
|
_id: string;
|
|
9391
9458
|
source: string;
|
|
@@ -9519,6 +9586,9 @@ export type UpdateFundingCampaignMutation = {
|
|
|
9519
9586
|
vtxComissionPct: number;
|
|
9520
9587
|
createdDate: string;
|
|
9521
9588
|
endingDate: string;
|
|
9589
|
+
thankYouMessage?: string | null;
|
|
9590
|
+
thankYouMediaUrl?: string | null;
|
|
9591
|
+
autoSendThankYou: boolean;
|
|
9522
9592
|
video?: {
|
|
9523
9593
|
_id: string;
|
|
9524
9594
|
source: string;
|
|
@@ -9679,6 +9749,9 @@ export type SetFundingStatusMutation = {
|
|
|
9679
9749
|
vtxComissionPct: number;
|
|
9680
9750
|
createdDate: string;
|
|
9681
9751
|
endingDate: string;
|
|
9752
|
+
thankYouMessage?: string | null;
|
|
9753
|
+
thankYouMediaUrl?: string | null;
|
|
9754
|
+
autoSendThankYou: boolean;
|
|
9682
9755
|
video?: {
|
|
9683
9756
|
_id: string;
|
|
9684
9757
|
source: string;
|
|
@@ -9812,6 +9885,9 @@ export type SetCurrentCampaignMutation = {
|
|
|
9812
9885
|
vtxComissionPct: number;
|
|
9813
9886
|
createdDate: string;
|
|
9814
9887
|
endingDate: string;
|
|
9888
|
+
thankYouMessage?: string | null;
|
|
9889
|
+
thankYouMediaUrl?: string | null;
|
|
9890
|
+
autoSendThankYou: boolean;
|
|
9815
9891
|
video?: {
|
|
9816
9892
|
_id: string;
|
|
9817
9893
|
source: string;
|
|
@@ -10480,6 +10556,187 @@ export type GetTransactionsPaginatedQuery = {
|
|
|
10480
10556
|
};
|
|
10481
10557
|
};
|
|
10482
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
|
+
};
|
|
10483
10740
|
export type GetEmailCampaignsQueryVariables = Exact<{
|
|
10484
10741
|
status?: InputMaybe<Scalars['String']['input']>;
|
|
10485
10742
|
search?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -10721,7 +10978,6 @@ export type GetAthleteIntegrationsByAthleteQuery = {
|
|
|
10721
10978
|
getAthleteInstagramIntegration: {
|
|
10722
10979
|
_id: string;
|
|
10723
10980
|
hasInstagramIntegration?: boolean | null;
|
|
10724
|
-
instagramTokenExpires?: string | null;
|
|
10725
10981
|
athlete: {
|
|
10726
10982
|
_id: string;
|
|
10727
10983
|
};
|
|
@@ -10770,7 +11026,6 @@ export type GetAthleteStravaIntegrationQuery = {
|
|
|
10770
11026
|
getAthleteStravaIntegration: {
|
|
10771
11027
|
_id: string;
|
|
10772
11028
|
hasStravaIntegration?: boolean | null;
|
|
10773
|
-
stravaTokenExpires?: string | null;
|
|
10774
11029
|
athlete: {
|
|
10775
11030
|
_id: string;
|
|
10776
11031
|
};
|
|
@@ -10788,7 +11043,6 @@ export type GetAthleteStravaIntegrationQuery = {
|
|
|
10788
11043
|
profile?: string | null;
|
|
10789
11044
|
created_at?: string | null;
|
|
10790
11045
|
updated_at?: string | null;
|
|
10791
|
-
weight?: number | null;
|
|
10792
11046
|
} | null;
|
|
10793
11047
|
};
|
|
10794
11048
|
};
|
|
@@ -10799,7 +11053,6 @@ export type GetAthleteInstagramIntegrationQuery = {
|
|
|
10799
11053
|
getAthleteInstagramIntegration: {
|
|
10800
11054
|
_id: string;
|
|
10801
11055
|
hasInstagramIntegration?: boolean | null;
|
|
10802
|
-
instagramTokenExpires?: string | null;
|
|
10803
11056
|
athlete: {
|
|
10804
11057
|
_id: string;
|
|
10805
11058
|
};
|
|
@@ -10848,9 +11101,7 @@ export type GetAthleteIntegrationsQuery = {
|
|
|
10848
11101
|
getAthleteIntegrations: {
|
|
10849
11102
|
_id: string;
|
|
10850
11103
|
hasStravaIntegration?: boolean | null;
|
|
10851
|
-
stravaTokenExpires?: string | null;
|
|
10852
11104
|
hasInstagramIntegration?: boolean | null;
|
|
10853
|
-
instagramTokenExpires?: string | null;
|
|
10854
11105
|
athlete: {
|
|
10855
11106
|
_id: string;
|
|
10856
11107
|
};
|
|
@@ -10868,7 +11119,6 @@ export type GetAthleteIntegrationsQuery = {
|
|
|
10868
11119
|
profile?: string | null;
|
|
10869
11120
|
created_at?: string | null;
|
|
10870
11121
|
updated_at?: string | null;
|
|
10871
|
-
weight?: number | null;
|
|
10872
11122
|
} | null;
|
|
10873
11123
|
instagramUserData?: {
|
|
10874
11124
|
user_id: string;
|
|
@@ -13217,6 +13467,7 @@ export declare const CurrentCampaignFieldsFragmentDoc: import("graphql").Documen
|
|
|
13217
13467
|
export declare const HistoricalScoreFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
13218
13468
|
export declare const HistoricalScoresPeriodFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
13219
13469
|
export declare const CampaignFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
13470
|
+
export declare const DonationThankYouFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
13220
13471
|
export declare const BrowseCampaignFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
13221
13472
|
export declare const DonationFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
13222
13473
|
export declare const DonationAthleteRefFragmentDoc: import("graphql").DocumentNode;
|
|
@@ -13343,6 +13594,10 @@ export declare const GetReceiptDocument: import("graphql").DocumentNode;
|
|
|
13343
13594
|
export declare const GetTransactionDetailsDocument: import("graphql").DocumentNode;
|
|
13344
13595
|
export declare const GetAllTransactionsDocument: import("graphql").DocumentNode;
|
|
13345
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;
|
|
13346
13601
|
export declare const GetEmailCampaignsDocument: import("graphql").DocumentNode;
|
|
13347
13602
|
export declare const GetAudiencePreviewDocument: import("graphql").DocumentNode;
|
|
13348
13603
|
export declare const GetSendGridTemplatesDocument: import("graphql").DocumentNode;
|
|
@@ -13572,6 +13827,10 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
13572
13827
|
GetTransactionDetails(variables: GetTransactionDetailsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetTransactionDetailsQuery>;
|
|
13573
13828
|
GetAllTransactions(variables?: GetAllTransactionsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAllTransactionsQuery>;
|
|
13574
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>;
|
|
13575
13834
|
GetEmailCampaigns(variables?: GetEmailCampaignsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetEmailCampaignsQuery>;
|
|
13576
13835
|
GetAudiencePreview(variables: GetAudiencePreviewQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAudiencePreviewQuery>;
|
|
13577
13836
|
GetSendGridTemplates(variables?: GetSendGridTemplatesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetSendGridTemplatesQuery>;
|