@vertikalx/vtx-backend-client 3.5.5-dev-ven.23 → 3.5.5-dev-ven.24
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/index.d.ts +5 -0
- package/dist/src/api/domains/generated/index.js +11 -1
- package/dist/src/api/domains/generated/index.js.map +1 -1
- package/dist/src/api/domains/generated/offers-v2-activity.api.d.ts +2 -0
- package/dist/src/api/domains/generated/offers-v2-activity.api.js +18 -0
- package/dist/src/api/domains/generated/offers-v2-activity.api.js.map +1 -0
- package/dist/src/api/domains/generated/offers-v2-admin.api.d.ts +2 -0
- package/dist/src/api/domains/generated/offers-v2-admin.api.js +27 -0
- package/dist/src/api/domains/generated/offers-v2-admin.api.js.map +1 -0
- package/dist/src/api/domains/generated/offers-v2-apply.api.d.ts +2 -0
- package/dist/src/api/domains/generated/offers-v2-apply.api.js +12 -0
- package/dist/src/api/domains/generated/offers-v2-apply.api.js.map +1 -0
- package/dist/src/api/domains/generated/offers-v2-athlete.api.d.ts +2 -0
- package/dist/src/api/domains/generated/offers-v2-athlete.api.js +24 -0
- package/dist/src/api/domains/generated/offers-v2-athlete.api.js.map +1 -0
- package/dist/src/api/domains/generated/offers-v2-brands.api.d.ts +2 -0
- package/dist/src/api/domains/generated/offers-v2-brands.api.js +15 -0
- package/dist/src/api/domains/generated/offers-v2-brands.api.js.map +1 -0
- package/dist/src/api/domains/generated/vtx-base-api.augment.d.ts +23 -1
- package/dist/src/client/schema.d.ts +1225 -0
- package/dist/src/client/schema.js +358 -3
- package/dist/src/client/schema.js.map +1 -1
- package/dist/src/client/types.d.ts +539 -0
- package/dist/src/client/types.js +2150 -682
- package/dist/src/client/types.js.map +1 -1
- package/dist/src/generated/graphql.d.ts +1497 -0
- package/dist/src/generated/graphql.js +967 -4
- package/dist/src/generated/graphql.js.map +1 -1
- package/package.json +1 -1
|
@@ -309,6 +309,89 @@ export type AdminNotificationStatus = {
|
|
|
309
309
|
pushEnabled: Scalars['Boolean']['output'];
|
|
310
310
|
updatedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
311
311
|
};
|
|
312
|
+
export type AdminOffer = {
|
|
313
|
+
applications: Scalars['Int']['output'];
|
|
314
|
+
applicationsCloseDate?: Maybe<Scalars['String']['output']>;
|
|
315
|
+
askChips: Array<OfferAskChip>;
|
|
316
|
+
askNote?: Maybe<Scalars['String']['output']>;
|
|
317
|
+
badge?: Maybe<Scalars['String']['output']>;
|
|
318
|
+
benefits: Array<Scalars['String']['output']>;
|
|
319
|
+
brand: OfferBrandSummary;
|
|
320
|
+
brandId: Scalars['String']['output'];
|
|
321
|
+
brandName: Scalars['String']['output'];
|
|
322
|
+
category?: Maybe<OfferCategory>;
|
|
323
|
+
claims: Scalars['Int']['output'];
|
|
324
|
+
code?: Maybe<Scalars['String']['output']>;
|
|
325
|
+
contactEmail?: Maybe<Scalars['String']['output']>;
|
|
326
|
+
contactPhone?: Maybe<Scalars['String']['output']>;
|
|
327
|
+
countries: Array<OfferCountry>;
|
|
328
|
+
coverBackground?: Maybe<OfferCoverBackground>;
|
|
329
|
+
coverColor?: Maybe<Scalars['String']['output']>;
|
|
330
|
+
coverImageFileId?: Maybe<Scalars['String']['output']>;
|
|
331
|
+
coverImageUrl?: Maybe<Scalars['String']['output']>;
|
|
332
|
+
coverKind?: Maybe<OfferCoverKind>;
|
|
333
|
+
dateCreated: Scalars['DateTime']['output'];
|
|
334
|
+
durationKind?: Maybe<OfferDuration>;
|
|
335
|
+
durationText?: Maybe<Scalars['String']['output']>;
|
|
336
|
+
editedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
337
|
+
endDate?: Maybe<Scalars['String']['output']>;
|
|
338
|
+
featured: Scalars['Boolean']['output'];
|
|
339
|
+
genders: Array<OfferGender>;
|
|
340
|
+
hasClaims: Scalars['Boolean']['output'];
|
|
341
|
+
howItWorks?: Maybe<Scalars['String']['output']>;
|
|
342
|
+
isEnded: Scalars['Boolean']['output'];
|
|
343
|
+
kind: OfferKind;
|
|
344
|
+
levels: Array<Scalars['String']['output']>;
|
|
345
|
+
maxAge?: Maybe<Scalars['Int']['output']>;
|
|
346
|
+
method: OfferMethod;
|
|
347
|
+
minAge?: Maybe<Scalars['Int']['output']>;
|
|
348
|
+
minScore?: Maybe<Scalars['Int']['output']>;
|
|
349
|
+
offerId: Scalars['String']['output'];
|
|
350
|
+
officialUrl?: Maybe<Scalars['String']['output']>;
|
|
351
|
+
preferredIndex: OfferPreferredIndex;
|
|
352
|
+
publishState: OfferPublishState;
|
|
353
|
+
publishedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
354
|
+
questions: Array<OfferQuestion>;
|
|
355
|
+
replyWithinDays?: Maybe<Scalars['Int']['output']>;
|
|
356
|
+
saves: Scalars['Int']['output'];
|
|
357
|
+
sportKeys: Array<Scalars['String']['output']>;
|
|
358
|
+
spots?: Maybe<Scalars['Int']['output']>;
|
|
359
|
+
startDate?: Maybe<Scalars['String']['output']>;
|
|
360
|
+
summary: Scalars['String']['output'];
|
|
361
|
+
terms?: Maybe<Scalars['String']['output']>;
|
|
362
|
+
title: Scalars['String']['output'];
|
|
363
|
+
verifiedOnly: Scalars['Boolean']['output'];
|
|
364
|
+
views: Scalars['Int']['output'];
|
|
365
|
+
};
|
|
366
|
+
export type AdminOfferRow = {
|
|
367
|
+
applications: Scalars['Int']['output'];
|
|
368
|
+
brandId: Scalars['String']['output'];
|
|
369
|
+
brandName: Scalars['String']['output'];
|
|
370
|
+
claims: Scalars['Int']['output'];
|
|
371
|
+
endDate?: Maybe<Scalars['String']['output']>;
|
|
372
|
+
featured: Scalars['Boolean']['output'];
|
|
373
|
+
isEnded: Scalars['Boolean']['output'];
|
|
374
|
+
kind: OfferKind;
|
|
375
|
+
method: OfferMethod;
|
|
376
|
+
offerId: Scalars['String']['output'];
|
|
377
|
+
publishState: OfferPublishState;
|
|
378
|
+
saves: Scalars['Int']['output'];
|
|
379
|
+
startDate?: Maybe<Scalars['String']['output']>;
|
|
380
|
+
title: Scalars['String']['output'];
|
|
381
|
+
views: Scalars['Int']['output'];
|
|
382
|
+
};
|
|
383
|
+
export type AdminOffersPage = {
|
|
384
|
+
items: Array<AdminOfferRow>;
|
|
385
|
+
total: Scalars['Int']['output'];
|
|
386
|
+
};
|
|
387
|
+
export type AdminOffersQueryInput = {
|
|
388
|
+
brandId?: InputMaybe<Scalars['String']['input']>;
|
|
389
|
+
kind?: InputMaybe<OfferKind>;
|
|
390
|
+
page: Scalars['Int']['input'];
|
|
391
|
+
pageSize: Scalars['Int']['input'];
|
|
392
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
393
|
+
tab: OfferAdminTab;
|
|
394
|
+
};
|
|
312
395
|
export type AdminRole = 'ops' | 'read_only' | 'super_admin' | 'support';
|
|
313
396
|
export type AdminStravaIntegration = {
|
|
314
397
|
connected: Scalars['Boolean']['output'];
|
|
@@ -490,6 +573,12 @@ export type AnonymiseCutoverArchiveAthleteDto = {
|
|
|
490
573
|
reason: Scalars['String']['input'];
|
|
491
574
|
};
|
|
492
575
|
export type ApplicationStatus = 'APPROVED' | 'DECLINED' | 'UNDER_REVIEW' | 'WITHDRAWN';
|
|
576
|
+
export type ApplyToOfferInput = {
|
|
577
|
+
answers?: InputMaybe<Array<OfferAnswerInput>>;
|
|
578
|
+
athleteId: Scalars['String']['input'];
|
|
579
|
+
consent: Scalars['Boolean']['input'];
|
|
580
|
+
offerId: Scalars['String']['input'];
|
|
581
|
+
};
|
|
493
582
|
export type ApproveCompetitionEvidenceDto = {
|
|
494
583
|
note?: InputMaybe<Scalars['String']['input']>;
|
|
495
584
|
resultId: Scalars['String']['input'];
|
|
@@ -684,6 +773,71 @@ export type AthleteMembership = {
|
|
|
684
773
|
membershipType?: Maybe<Scalars['String']['output']>;
|
|
685
774
|
organization: MembershipOrganizationReference;
|
|
686
775
|
};
|
|
776
|
+
export type AthleteOfferBrand = {
|
|
777
|
+
brandColor?: Maybe<Scalars['String']['output']>;
|
|
778
|
+
brandId: Scalars['String']['output'];
|
|
779
|
+
logoUrl?: Maybe<Scalars['String']['output']>;
|
|
780
|
+
name: Scalars['String']['output'];
|
|
781
|
+
slogan?: Maybe<Scalars['String']['output']>;
|
|
782
|
+
website?: Maybe<Scalars['String']['output']>;
|
|
783
|
+
};
|
|
784
|
+
export type AthleteOfferCard = {
|
|
785
|
+
badge?: Maybe<Scalars['String']['output']>;
|
|
786
|
+
brand: AthleteOfferBrand;
|
|
787
|
+
category: OfferCategory;
|
|
788
|
+
coverBackground?: Maybe<OfferCoverBackground>;
|
|
789
|
+
coverColor?: Maybe<Scalars['String']['output']>;
|
|
790
|
+
coverImageUrl?: Maybe<Scalars['String']['output']>;
|
|
791
|
+
coverKind: OfferCoverKind;
|
|
792
|
+
eligible: Scalars['Boolean']['output'];
|
|
793
|
+
endDate?: Maybe<Scalars['String']['output']>;
|
|
794
|
+
endLabelKind?: Maybe<OfferEndLabelKind>;
|
|
795
|
+
endsInDays?: Maybe<Scalars['Int']['output']>;
|
|
796
|
+
featured: Scalars['Boolean']['output'];
|
|
797
|
+
isNew: Scalars['Boolean']['output'];
|
|
798
|
+
kind: OfferKind;
|
|
799
|
+
live: Scalars['Boolean']['output'];
|
|
800
|
+
method: OfferMethod;
|
|
801
|
+
offerId: Scalars['String']['output'];
|
|
802
|
+
preferredIndex: OfferPreferredIndex;
|
|
803
|
+
requirementsMet: Scalars['Int']['output'];
|
|
804
|
+
requirementsTotal: Scalars['Int']['output'];
|
|
805
|
+
saved: Scalars['Boolean']['output'];
|
|
806
|
+
status: OfferAthleteStatus;
|
|
807
|
+
summary: Scalars['String']['output'];
|
|
808
|
+
title: Scalars['String']['output'];
|
|
809
|
+
};
|
|
810
|
+
export type AthleteOfferPage = {
|
|
811
|
+
applicationsCloseDate?: Maybe<Scalars['String']['output']>;
|
|
812
|
+
applicationsClosed: Scalars['Boolean']['output'];
|
|
813
|
+
askChips: Array<OfferAskChip>;
|
|
814
|
+
askNote?: Maybe<Scalars['String']['output']>;
|
|
815
|
+
benefits: Array<Scalars['String']['output']>;
|
|
816
|
+
card: AthleteOfferCard;
|
|
817
|
+
contactAtEmail: Scalars['String']['output'];
|
|
818
|
+
contactEmail?: Maybe<Scalars['String']['output']>;
|
|
819
|
+
contactPhone?: Maybe<Scalars['String']['output']>;
|
|
820
|
+
cta: OfferPageCta;
|
|
821
|
+
durationKind?: Maybe<OfferDuration>;
|
|
822
|
+
durationText?: Maybe<Scalars['String']['output']>;
|
|
823
|
+
howItWorks?: Maybe<Scalars['String']['output']>;
|
|
824
|
+
myApplication?: Maybe<OfferMyApplication>;
|
|
825
|
+
myClaim?: Maybe<OfferMyClaim>;
|
|
826
|
+
officialUrl?: Maybe<Scalars['String']['output']>;
|
|
827
|
+
questions: Array<OfferQuestion>;
|
|
828
|
+
replyWithinDays?: Maybe<Scalars['Int']['output']>;
|
|
829
|
+
requirements: Array<OfferRequirementResult>;
|
|
830
|
+
showAdNote: Scalars['Boolean']['output'];
|
|
831
|
+
spots?: Maybe<Scalars['Int']['output']>;
|
|
832
|
+
startDate?: Maybe<Scalars['String']['output']>;
|
|
833
|
+
terms?: Maybe<Scalars['String']['output']>;
|
|
834
|
+
};
|
|
835
|
+
export type AthleteOffersResult = {
|
|
836
|
+
categoriesWithLive: Array<OfferCategory>;
|
|
837
|
+
counts: OfferCounts;
|
|
838
|
+
offers: Array<AthleteOfferCard>;
|
|
839
|
+
savedOfferIds: Array<Scalars['String']['output']>;
|
|
840
|
+
};
|
|
687
841
|
export type AthletePreferences = {
|
|
688
842
|
_id: Scalars['String']['output'];
|
|
689
843
|
defaultAlbum?: Maybe<Album>;
|
|
@@ -2736,6 +2890,7 @@ export type Mutation = {
|
|
|
2736
2890
|
addCompetitionBudget: Scalars['Boolean']['output'];
|
|
2737
2891
|
addSponsorFavorite: Scalars['Boolean']['output'];
|
|
2738
2892
|
anonymiseCutoverArchiveAthlete: CutoverArchiveAthleteType;
|
|
2893
|
+
applyToOffer: OfferApplicationResult;
|
|
2739
2894
|
applyToSponsorship: OfferClaim;
|
|
2740
2895
|
approveClub: Club;
|
|
2741
2896
|
approveCompetitionEvidence: AthleteCompetitionResult;
|
|
@@ -2807,6 +2962,7 @@ export type Mutation = {
|
|
|
2807
2962
|
deleteSponsor: Scalars['Boolean']['output'];
|
|
2808
2963
|
deleteSport: DeleteSingleValueResponse;
|
|
2809
2964
|
deleteSportsEvent: EditValueResponse;
|
|
2965
|
+
deleteUnusedOffer: Scalars['Boolean']['output'];
|
|
2810
2966
|
deleteUploadedBucketFile: Awss3CallResult;
|
|
2811
2967
|
deleteUploadedTypeKeyFile: Awss3CallResult;
|
|
2812
2968
|
deleteUploadedUseTypeFile: Awss3CallResult;
|
|
@@ -2814,6 +2970,7 @@ export type Mutation = {
|
|
|
2814
2970
|
disconnectProvider: Scalars['Boolean']['output'];
|
|
2815
2971
|
dismissExternalCompetitionResult: Scalars['Boolean']['output'];
|
|
2816
2972
|
dismissNotification: Scalars['Boolean']['output'];
|
|
2973
|
+
duplicateOffer: AdminOffer;
|
|
2817
2974
|
editAlbum: Album;
|
|
2818
2975
|
editAthleteCompetition: AthleteCompetition;
|
|
2819
2976
|
editCampaignBudget: Scalars['Boolean']['output'];
|
|
@@ -2844,6 +3001,7 @@ export type Mutation = {
|
|
|
2844
3001
|
preRegisterAthleteUser: VerificationCode;
|
|
2845
3002
|
quoteDonation: DonationQuote;
|
|
2846
3003
|
rebuildLeaderboardCache: Scalars['Boolean']['output'];
|
|
3004
|
+
recordOfferView: Scalars['Boolean']['output'];
|
|
2847
3005
|
refreshToken: UserToken;
|
|
2848
3006
|
registerAthlete: Athlete;
|
|
2849
3007
|
registerAthleteUser: User;
|
|
@@ -2865,10 +3023,13 @@ export type Mutation = {
|
|
|
2865
3023
|
reorderAlbumIndex: Array<Album>;
|
|
2866
3024
|
requestCompetitionEvidence: AthleteCompetitionResult;
|
|
2867
3025
|
requestMyDataExport: DataExportRequest;
|
|
3026
|
+
resendOfferApplicationEmail: OfferApplicationAdmin;
|
|
2868
3027
|
resetUserPassword: EditValueResponse;
|
|
2869
3028
|
revokeRefreshToken: Scalars['Boolean']['output'];
|
|
2870
3029
|
revokeSponsorUserInvitation: Scalars['Boolean']['output'];
|
|
2871
3030
|
saveAthleteCompetitionResult: AthleteCompetitionResult;
|
|
3031
|
+
saveOffer: SaveOfferResult;
|
|
3032
|
+
saveOfferBrand: OfferBrandAdmin;
|
|
2872
3033
|
scheduleEmailCampaign: EmailCampaign;
|
|
2873
3034
|
seedAdminIfAuthorized: SeedAdminResult;
|
|
2874
3035
|
sendAiCoachMessage: AiCoachMessage;
|
|
@@ -2883,6 +3044,10 @@ export type Mutation = {
|
|
|
2883
3044
|
setCurrentCampaign: FundRaisingCampaign;
|
|
2884
3045
|
setFundingStatus: FundRaisingCampaign;
|
|
2885
3046
|
setIndexV1Background: IndexV1Background;
|
|
3047
|
+
setOfferApplicationStatus: OfferApplicationAdmin;
|
|
3048
|
+
setOfferFeatured: AdminOffer;
|
|
3049
|
+
setOfferPublishState: AdminOffer;
|
|
3050
|
+
setOfferSaved: Scalars['Boolean']['output'];
|
|
2886
3051
|
setOfferStatus: Offer;
|
|
2887
3052
|
setPreferredLocale?: Maybe<Scalars['String']['output']>;
|
|
2888
3053
|
setSportsEventTier: SportsEvent;
|
|
@@ -2919,6 +3084,7 @@ export type Mutation = {
|
|
|
2919
3084
|
updateUserSuspendedStatus: EditValueResponse;
|
|
2920
3085
|
uploadCouponCodes: UploadResult;
|
|
2921
3086
|
validateToken: ValidatedToken;
|
|
3087
|
+
withdrawOfferApplication: OfferApplicationResult;
|
|
2922
3088
|
withdrawSponsorshipApplication: OfferClaim;
|
|
2923
3089
|
};
|
|
2924
3090
|
export type MutationAddAlbumPicturesArgs = {
|
|
@@ -2948,6 +3114,9 @@ export type MutationAddSponsorFavoriteArgs = {
|
|
|
2948
3114
|
export type MutationAnonymiseCutoverArchiveAthleteArgs = {
|
|
2949
3115
|
input: AnonymiseCutoverArchiveAthleteDto;
|
|
2950
3116
|
};
|
|
3117
|
+
export type MutationApplyToOfferArgs = {
|
|
3118
|
+
input: ApplyToOfferInput;
|
|
3119
|
+
};
|
|
2951
3120
|
export type MutationApplyToSponsorshipArgs = {
|
|
2952
3121
|
athleteId: Scalars['String']['input'];
|
|
2953
3122
|
offerId: Scalars['String']['input'];
|
|
@@ -3166,6 +3335,9 @@ export type MutationDeleteSportArgs = {
|
|
|
3166
3335
|
export type MutationDeleteSportsEventArgs = {
|
|
3167
3336
|
eventId: Scalars['String']['input'];
|
|
3168
3337
|
};
|
|
3338
|
+
export type MutationDeleteUnusedOfferArgs = {
|
|
3339
|
+
offerId: Scalars['String']['input'];
|
|
3340
|
+
};
|
|
3169
3341
|
export type MutationDeleteUploadedBucketFileArgs = {
|
|
3170
3342
|
input: Awss3DeleteBucketFileDto;
|
|
3171
3343
|
};
|
|
@@ -3187,6 +3359,9 @@ export type MutationDismissExternalCompetitionResultArgs = {
|
|
|
3187
3359
|
export type MutationDismissNotificationArgs = {
|
|
3188
3360
|
input: DismissNotificationDto;
|
|
3189
3361
|
};
|
|
3362
|
+
export type MutationDuplicateOfferArgs = {
|
|
3363
|
+
offerId: Scalars['String']['input'];
|
|
3364
|
+
};
|
|
3190
3365
|
export type MutationEditAlbumArgs = {
|
|
3191
3366
|
input: UploadAlbumsPicturesDto;
|
|
3192
3367
|
};
|
|
@@ -3277,6 +3452,10 @@ export type MutationPreRegisterAthleteUserArgs = {
|
|
|
3277
3452
|
export type MutationQuoteDonationArgs = {
|
|
3278
3453
|
input: QuoteDonationDto;
|
|
3279
3454
|
};
|
|
3455
|
+
export type MutationRecordOfferViewArgs = {
|
|
3456
|
+
athleteId: Scalars['String']['input'];
|
|
3457
|
+
offerId: Scalars['String']['input'];
|
|
3458
|
+
};
|
|
3280
3459
|
export type MutationRefreshTokenArgs = {
|
|
3281
3460
|
dto: RefreshTokenInput;
|
|
3282
3461
|
};
|
|
@@ -3342,6 +3521,9 @@ export type MutationRequestCompetitionEvidenceArgs = {
|
|
|
3342
3521
|
export type MutationRequestMyDataExportArgs = {
|
|
3343
3522
|
input?: InputMaybe<RequestDataExportDto>;
|
|
3344
3523
|
};
|
|
3524
|
+
export type MutationResendOfferApplicationEmailArgs = {
|
|
3525
|
+
claimId: Scalars['String']['input'];
|
|
3526
|
+
};
|
|
3345
3527
|
export type MutationResetUserPasswordArgs = {
|
|
3346
3528
|
input: ResetPasswordDto;
|
|
3347
3529
|
};
|
|
@@ -3354,6 +3536,13 @@ export type MutationRevokeSponsorUserInvitationArgs = {
|
|
|
3354
3536
|
export type MutationSaveAthleteCompetitionResultArgs = {
|
|
3355
3537
|
input: SetCompetitionResultDto;
|
|
3356
3538
|
};
|
|
3539
|
+
export type MutationSaveOfferArgs = {
|
|
3540
|
+
input: SaveOfferInput;
|
|
3541
|
+
publish: Scalars['Boolean']['input'];
|
|
3542
|
+
};
|
|
3543
|
+
export type MutationSaveOfferBrandArgs = {
|
|
3544
|
+
input: SaveOfferBrandInput;
|
|
3545
|
+
};
|
|
3357
3546
|
export type MutationScheduleEmailCampaignArgs = {
|
|
3358
3547
|
campaignId: Scalars['String']['input'];
|
|
3359
3548
|
scheduledFor: Scalars['DateTime']['input'];
|
|
@@ -3400,6 +3589,23 @@ export type MutationSetFundingStatusArgs = {
|
|
|
3400
3589
|
export type MutationSetIndexV1BackgroundArgs = {
|
|
3401
3590
|
input: SetIndexV1BackgroundDto;
|
|
3402
3591
|
};
|
|
3592
|
+
export type MutationSetOfferApplicationStatusArgs = {
|
|
3593
|
+
claimId: Scalars['String']['input'];
|
|
3594
|
+
status: OfferApplicationDecision;
|
|
3595
|
+
};
|
|
3596
|
+
export type MutationSetOfferFeaturedArgs = {
|
|
3597
|
+
featured: Scalars['Boolean']['input'];
|
|
3598
|
+
offerId: Scalars['String']['input'];
|
|
3599
|
+
};
|
|
3600
|
+
export type MutationSetOfferPublishStateArgs = {
|
|
3601
|
+
offerId: Scalars['String']['input'];
|
|
3602
|
+
state: OfferPublishState;
|
|
3603
|
+
};
|
|
3604
|
+
export type MutationSetOfferSavedArgs = {
|
|
3605
|
+
athleteId: Scalars['String']['input'];
|
|
3606
|
+
offerId: Scalars['String']['input'];
|
|
3607
|
+
saved: Scalars['Boolean']['input'];
|
|
3608
|
+
};
|
|
3403
3609
|
export type MutationSetOfferStatusArgs = {
|
|
3404
3610
|
id: Scalars['String']['input'];
|
|
3405
3611
|
status: Scalars['String']['input'];
|
|
@@ -3510,6 +3716,10 @@ export type MutationUploadCouponCodesArgs = {
|
|
|
3510
3716
|
export type MutationValidateTokenArgs = {
|
|
3511
3717
|
input: Scalars['String']['input'];
|
|
3512
3718
|
};
|
|
3719
|
+
export type MutationWithdrawOfferApplicationArgs = {
|
|
3720
|
+
athleteId: Scalars['String']['input'];
|
|
3721
|
+
claimId: Scalars['String']['input'];
|
|
3722
|
+
};
|
|
3513
3723
|
export type MutationWithdrawSponsorshipApplicationArgs = {
|
|
3514
3724
|
athleteId: Scalars['String']['input'];
|
|
3515
3725
|
claimId: Scalars['String']['input'];
|
|
@@ -3596,15 +3806,134 @@ export type Offer = {
|
|
|
3596
3806
|
trackingLinkTemplate?: Maybe<Scalars['String']['output']>;
|
|
3597
3807
|
type: Scalars['String']['output'];
|
|
3598
3808
|
};
|
|
3809
|
+
export type OfferActivity = {
|
|
3810
|
+
applicationEmails: Array<Scalars['String']['output']>;
|
|
3811
|
+
applications: Array<OfferApplicationRow>;
|
|
3812
|
+
brandName: Scalars['String']['output'];
|
|
3813
|
+
claims: Array<OfferClaimRow>;
|
|
3814
|
+
claimsShown: Scalars['Int']['output'];
|
|
3815
|
+
claimsTotal: Scalars['Int']['output'];
|
|
3816
|
+
copyToVtx: Scalars['Boolean']['output'];
|
|
3817
|
+
counters: OfferActivityCounters;
|
|
3818
|
+
kind: OfferKind;
|
|
3819
|
+
method: OfferMethod;
|
|
3820
|
+
offerId: Scalars['String']['output'];
|
|
3821
|
+
preferredIndex: OfferPreferredIndex;
|
|
3822
|
+
publishState: OfferPublishState;
|
|
3823
|
+
startDate?: Maybe<Scalars['String']['output']>;
|
|
3824
|
+
title: Scalars['String']['output'];
|
|
3825
|
+
};
|
|
3826
|
+
export type OfferActivityCounters = {
|
|
3827
|
+
applications: Scalars['Int']['output'];
|
|
3828
|
+
claims: Scalars['Int']['output'];
|
|
3829
|
+
ratePercent?: Maybe<Scalars['Float']['output']>;
|
|
3830
|
+
saves: Scalars['Int']['output'];
|
|
3831
|
+
views: Scalars['Int']['output'];
|
|
3832
|
+
};
|
|
3833
|
+
export type OfferAdminTab = 'ALL' | 'DRAFT' | 'ENDED' | 'LIVE' | 'PAUSED';
|
|
3834
|
+
export type OfferAnswer = {
|
|
3835
|
+
answer?: Maybe<Scalars['String']['output']>;
|
|
3836
|
+
label: Scalars['String']['output'];
|
|
3837
|
+
questionId?: Maybe<Scalars['String']['output']>;
|
|
3838
|
+
};
|
|
3839
|
+
export type OfferAnswerInput = {
|
|
3840
|
+
questionId: Scalars['String']['input'];
|
|
3841
|
+
value: Scalars['String']['input'];
|
|
3842
|
+
};
|
|
3843
|
+
export type OfferApplicationAdmin = {
|
|
3844
|
+
ageGroup?: Maybe<Scalars['String']['output']>;
|
|
3845
|
+
answers: Array<OfferAnswer>;
|
|
3846
|
+
brandName: Scalars['String']['output'];
|
|
3847
|
+
consentAt?: Maybe<Scalars['DateTime']['output']>;
|
|
3848
|
+
email: Scalars['String']['output'];
|
|
3849
|
+
emailLog: Array<OfferApplicationEmailLog>;
|
|
3850
|
+
instagramHandle?: Maybe<Scalars['String']['output']>;
|
|
3851
|
+
offerId: Scalars['String']['output'];
|
|
3852
|
+
offerTitle: Scalars['String']['output'];
|
|
3853
|
+
results: Array<Scalars['String']['output']>;
|
|
3854
|
+
row: OfferApplicationRow;
|
|
3855
|
+
};
|
|
3856
|
+
export type OfferApplicationDecision = 'APPLIED' | 'NOT_SELECTED' | 'SELECTED';
|
|
3857
|
+
export type OfferApplicationEmailKind = 'INITIAL' | 'RESEND';
|
|
3858
|
+
export type OfferApplicationEmailLog = {
|
|
3859
|
+
bccVtx: Scalars['Boolean']['output'];
|
|
3860
|
+
createdAt: Scalars['DateTime']['output'];
|
|
3861
|
+
kind: OfferApplicationEmailKind;
|
|
3862
|
+
status: OfferApplicationEmailStatus;
|
|
3863
|
+
toEmails: Array<Scalars['String']['output']>;
|
|
3864
|
+
triggeredByAdminEmail?: Maybe<Scalars['String']['output']>;
|
|
3865
|
+
};
|
|
3866
|
+
export type OfferApplicationEmailStatus = 'FAILED' | 'PENDING' | 'SENT';
|
|
3867
|
+
export type OfferApplicationResult = {
|
|
3868
|
+
appliedAt: Scalars['DateTime']['output'];
|
|
3869
|
+
claimId: Scalars['String']['output'];
|
|
3870
|
+
offerId: Scalars['String']['output'];
|
|
3871
|
+
status?: Maybe<OfferApplicationDecision>;
|
|
3872
|
+
withdrawn: Scalars['Boolean']['output'];
|
|
3873
|
+
withdrawnAt?: Maybe<Scalars['DateTime']['output']>;
|
|
3874
|
+
};
|
|
3875
|
+
export type OfferApplicationRow = {
|
|
3876
|
+
appliedAt: Scalars['DateTime']['output'];
|
|
3877
|
+
athleteName: Scalars['String']['output'];
|
|
3878
|
+
athleteNotified: Scalars['Boolean']['output'];
|
|
3879
|
+
claimId: Scalars['String']['output'];
|
|
3880
|
+
countryName?: Maybe<Scalars['String']['output']>;
|
|
3881
|
+
emailSentAt?: Maybe<Scalars['DateTime']['output']>;
|
|
3882
|
+
emailStatus?: Maybe<OfferApplicationEmailStatus>;
|
|
3883
|
+
level?: Maybe<Scalars['String']['output']>;
|
|
3884
|
+
photoUrl?: Maybe<Scalars['String']['output']>;
|
|
3885
|
+
scores: OfferScores;
|
|
3886
|
+
sportKeys: Array<Scalars['String']['output']>;
|
|
3887
|
+
status: OfferApplicationDecision;
|
|
3888
|
+
verified: Scalars['Boolean']['output'];
|
|
3889
|
+
};
|
|
3599
3890
|
export type OfferApplicationsQueryDto = {
|
|
3600
3891
|
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
3601
3892
|
page?: InputMaybe<Scalars['Int']['input']>;
|
|
3602
3893
|
status?: InputMaybe<ApplicationStatus>;
|
|
3603
3894
|
};
|
|
3895
|
+
export type OfferAskChip = 'POST_INSTAGRAM' | 'POST_REEL' | 'SHARE_STORIES' | 'TAG_BRAND' | 'WEAR_IN_RACE' | 'WRITE_REVIEW';
|
|
3896
|
+
export type OfferAthleteStatus = 'APPLIED' | 'CLAIMED' | 'CLOSED' | 'ELIGIBLE' | 'ENDED' | 'NOT_ELIGIBLE_YET' | 'NOT_SELECTED' | 'SELECTED';
|
|
3604
3897
|
export type OfferAvailability = {
|
|
3605
3898
|
available: Scalars['Boolean']['output'];
|
|
3606
3899
|
reason?: Maybe<Scalars['String']['output']>;
|
|
3607
3900
|
};
|
|
3901
|
+
export type OfferBrandAdmin = {
|
|
3902
|
+
applicationEmails: Array<Scalars['String']['output']>;
|
|
3903
|
+
applicationsEmailMissing: Scalars['Boolean']['output'];
|
|
3904
|
+
brandColor?: Maybe<Scalars['String']['output']>;
|
|
3905
|
+
brandId: Scalars['String']['output'];
|
|
3906
|
+
contactEmail?: Maybe<Scalars['String']['output']>;
|
|
3907
|
+
contactPhone?: Maybe<Scalars['String']['output']>;
|
|
3908
|
+
copyToVtx: Scalars['Boolean']['output'];
|
|
3909
|
+
hasClaims: Scalars['Boolean']['output'];
|
|
3910
|
+
internalNote?: Maybe<Scalars['String']['output']>;
|
|
3911
|
+
logoFileId?: Maybe<Scalars['String']['output']>;
|
|
3912
|
+
logoUrl?: Maybe<Scalars['String']['output']>;
|
|
3913
|
+
name: Scalars['String']['output'];
|
|
3914
|
+
offerCount: Scalars['Int']['output'];
|
|
3915
|
+
slogan?: Maybe<Scalars['String']['output']>;
|
|
3916
|
+
website?: Maybe<Scalars['String']['output']>;
|
|
3917
|
+
};
|
|
3918
|
+
export type OfferBrandSummary = {
|
|
3919
|
+
applicationEmails: Array<Scalars['String']['output']>;
|
|
3920
|
+
brandColor?: Maybe<Scalars['String']['output']>;
|
|
3921
|
+
brandId: Scalars['String']['output'];
|
|
3922
|
+
contactEmail?: Maybe<Scalars['String']['output']>;
|
|
3923
|
+
contactPhone?: Maybe<Scalars['String']['output']>;
|
|
3924
|
+
copyToVtx: Scalars['Boolean']['output'];
|
|
3925
|
+
hasLogo: Scalars['Boolean']['output'];
|
|
3926
|
+
logoUrl?: Maybe<Scalars['String']['output']>;
|
|
3927
|
+
name: Scalars['String']['output'];
|
|
3928
|
+
website?: Maybe<Scalars['String']['output']>;
|
|
3929
|
+
};
|
|
3930
|
+
export type OfferCategory = 'APPAREL_GEAR' | 'EVENTS_RACES' | 'NUTRITION' | 'OTHER' | 'RECOVERY' | 'TECH_WEARABLES' | 'TRAVEL_STAY';
|
|
3931
|
+
export type OfferChecklistItem = {
|
|
3932
|
+
brandName?: Maybe<Scalars['String']['output']>;
|
|
3933
|
+
fieldId: Scalars['String']['output'];
|
|
3934
|
+
key: OfferChecklistKey;
|
|
3935
|
+
};
|
|
3936
|
+
export type OfferChecklistKey = 'ADD_APPLICATIONS_EMAIL' | 'ADD_BENEFIT' | 'ADD_BRAND_LOGO' | 'ADD_CODE_VALID_UNTIL' | 'ADD_CONTACT' | 'ADD_DISCOUNT_CODE' | 'ADD_END_DATE' | 'ADD_SUMMARY' | 'ADD_TITLE' | 'CHOOSE_BRAND' | 'CHOOSE_CATEGORY' | 'CHOOSE_DURATION' | 'DURATION_OTHER_TEXT' | 'EXPLAIN_HOW' | 'FINISH_QUESTION';
|
|
3608
3937
|
export type OfferClaim = {
|
|
3609
3938
|
_id: Scalars['String']['output'];
|
|
3610
3939
|
applicantEmail?: Maybe<Scalars['String']['output']>;
|
|
@@ -3620,7 +3949,47 @@ export type OfferClaim = {
|
|
|
3620
3949
|
export type OfferClaimQueryDto = {
|
|
3621
3950
|
status?: InputMaybe<OfferClaimStatus>;
|
|
3622
3951
|
};
|
|
3952
|
+
export type OfferClaimRow = {
|
|
3953
|
+
athleteName: Scalars['String']['output'];
|
|
3954
|
+
claimId: Scalars['String']['output'];
|
|
3955
|
+
claimedAt: Scalars['DateTime']['output'];
|
|
3956
|
+
level?: Maybe<Scalars['String']['output']>;
|
|
3957
|
+
photoUrl?: Maybe<Scalars['String']['output']>;
|
|
3958
|
+
scores: OfferScores;
|
|
3959
|
+
};
|
|
3623
3960
|
export type OfferClaimStatus = 'ACTIVE' | 'ALL' | 'EXPIRED';
|
|
3961
|
+
export type OfferCountry = {
|
|
3962
|
+
countryId: Scalars['String']['output'];
|
|
3963
|
+
name: Scalars['String']['output'];
|
|
3964
|
+
};
|
|
3965
|
+
export type OfferCounts = {
|
|
3966
|
+
applied: Scalars['Int']['output'];
|
|
3967
|
+
claimed: Scalars['Int']['output'];
|
|
3968
|
+
eligible: Scalars['Int']['output'];
|
|
3969
|
+
live: Scalars['Int']['output'];
|
|
3970
|
+
};
|
|
3971
|
+
export type OfferCoverBackground = 'BLACK' | 'BRAND' | 'CUSTOM' | 'LIGHT_GREY' | 'WHITE';
|
|
3972
|
+
export type OfferCoverKind = 'LOGO' | 'PHOTO';
|
|
3973
|
+
export type OfferDuration = 'ONE_MONTH' | 'ONE_YEAR' | 'OTHER' | 'SIX_MONTHS' | 'THREE_MONTHS' | 'TWO_MONTHS' | 'TWO_YEARS' | 'UNTIL_END';
|
|
3974
|
+
export type OfferEndLabelKind = 'ENDED' | 'ENDS_IN_DAYS' | 'ENDS_ON' | 'VALID_UNTIL';
|
|
3975
|
+
export type OfferFixLink = 'ADD_RACE' | 'CONNECT_INSTAGRAM' | 'VERIFIED_STEPS';
|
|
3976
|
+
export type OfferGender = 'F' | 'M';
|
|
3977
|
+
export type OfferKind = 'AFFILIATE_PROGRAM' | 'CUSTOM' | 'DISCOUNT_CODE' | 'PRODUCT';
|
|
3978
|
+
export type OfferMethod = 'APPLY' | 'CLAIM';
|
|
3979
|
+
export type OfferMyApplication = {
|
|
3980
|
+
appliedAt: Scalars['DateTime']['output'];
|
|
3981
|
+
claimId: Scalars['String']['output'];
|
|
3982
|
+
status: OfferApplicationDecision;
|
|
3983
|
+
};
|
|
3984
|
+
export type OfferMyClaim = {
|
|
3985
|
+
claimId: Scalars['String']['output'];
|
|
3986
|
+
claimedAt: Scalars['DateTime']['output'];
|
|
3987
|
+
code?: Maybe<Scalars['String']['output']>;
|
|
3988
|
+
validUntil?: Maybe<Scalars['String']['output']>;
|
|
3989
|
+
};
|
|
3990
|
+
export type OfferPageCta = 'APPLICATIONS_CLOSED' | 'APPLIED' | 'APPLY_NOW' | 'CLAIMED' | 'CLAIM_OFFER' | 'ENDED' | 'MEET_REQUIREMENTS_APPLY' | 'MEET_REQUIREMENTS_CLAIM' | 'NOT_SELECTED' | 'SELECTED';
|
|
3991
|
+
export type OfferPreferredIndex = 'ANY' | 'API' | 'SPI' | 'TPI' | 'VTX';
|
|
3992
|
+
export type OfferPublishState = 'DRAFT' | 'ENDED' | 'LIVE' | 'PAUSED';
|
|
3624
3993
|
export type OfferQueryDto = {
|
|
3625
3994
|
active?: InputMaybe<Scalars['String']['input']>;
|
|
3626
3995
|
athleteId?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3634,8 +4003,69 @@ export type OfferQueryDto = {
|
|
|
3634
4003
|
sortField?: InputMaybe<Scalars['String']['input']>;
|
|
3635
4004
|
sortOrder?: InputMaybe<Scalars['String']['input']>;
|
|
3636
4005
|
};
|
|
4006
|
+
export type OfferQuestion = {
|
|
4007
|
+
id: Scalars['String']['output'];
|
|
4008
|
+
label: Scalars['String']['output'];
|
|
4009
|
+
options: Array<Scalars['String']['output']>;
|
|
4010
|
+
required: Scalars['Boolean']['output'];
|
|
4011
|
+
type: OfferQuestionType;
|
|
4012
|
+
};
|
|
4013
|
+
export type OfferQuestionInput = {
|
|
4014
|
+
id?: InputMaybe<Scalars['String']['input']>;
|
|
4015
|
+
label: Scalars['String']['input'];
|
|
4016
|
+
options?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
4017
|
+
required: Scalars['Boolean']['input'];
|
|
4018
|
+
type: OfferQuestionType;
|
|
4019
|
+
};
|
|
4020
|
+
export type OfferQuestionType = 'CHOICE' | 'LONG' | 'SHORT' | 'YES_NO';
|
|
4021
|
+
export type OfferRequirementKind = 'AGE' | 'COUNTRY' | 'GENDER' | 'LEVEL' | 'SCORE' | 'SPORT' | 'VERIFIED';
|
|
4022
|
+
export type OfferRequirementResult = {
|
|
4023
|
+
athleteAge?: Maybe<Scalars['Int']['output']>;
|
|
4024
|
+
athleteCountry?: Maybe<OfferCountry>;
|
|
4025
|
+
athleteGender?: Maybe<OfferGender>;
|
|
4026
|
+
athleteLevel?: Maybe<Scalars['String']['output']>;
|
|
4027
|
+
athleteScore?: Maybe<Scalars['Float']['output']>;
|
|
4028
|
+
athleteSportKeys?: Maybe<Array<Scalars['String']['output']>>;
|
|
4029
|
+
athleteVerified?: Maybe<Scalars['Boolean']['output']>;
|
|
4030
|
+
countries?: Maybe<Array<OfferCountry>>;
|
|
4031
|
+
fix?: Maybe<OfferFixLink>;
|
|
4032
|
+
genders?: Maybe<Array<OfferGender>>;
|
|
4033
|
+
index?: Maybe<OfferPreferredIndex>;
|
|
4034
|
+
kind: OfferRequirementKind;
|
|
4035
|
+
levels?: Maybe<Array<Scalars['String']['output']>>;
|
|
4036
|
+
maxAge?: Maybe<Scalars['Int']['output']>;
|
|
4037
|
+
met: Scalars['Boolean']['output'];
|
|
4038
|
+
min?: Maybe<Scalars['Int']['output']>;
|
|
4039
|
+
minAge?: Maybe<Scalars['Int']['output']>;
|
|
4040
|
+
sportKeys?: Maybe<Array<Scalars['String']['output']>>;
|
|
4041
|
+
};
|
|
4042
|
+
export type OfferScores = {
|
|
4043
|
+
API?: Maybe<Scalars['Int']['output']>;
|
|
4044
|
+
SPI?: Maybe<Scalars['Int']['output']>;
|
|
4045
|
+
TPI?: Maybe<Scalars['Int']['output']>;
|
|
4046
|
+
VTX?: Maybe<Scalars['Int']['output']>;
|
|
4047
|
+
};
|
|
4048
|
+
export type OfferSportDisplayGroup = 'BIKE' | 'MULTISPORT' | 'OTHER' | 'RUN_WALK' | 'SWIM';
|
|
4049
|
+
export type OfferSportOption = {
|
|
4050
|
+
displayGroup: OfferSportDisplayGroup;
|
|
4051
|
+
key: Scalars['String']['output'];
|
|
4052
|
+
};
|
|
3637
4053
|
export type OfferStatus = 'ACTIVE' | 'INACTIVE';
|
|
3638
4054
|
export type OfferType = 'AFFILIATE' | 'COUPON' | 'OFFER' | 'PROMOTION' | 'SPONSORSHIP';
|
|
4055
|
+
export type OfferWalletItem = {
|
|
4056
|
+
brandLogoUrl?: Maybe<Scalars['String']['output']>;
|
|
4057
|
+
brandName: Scalars['String']['output'];
|
|
4058
|
+
claimId: Scalars['String']['output'];
|
|
4059
|
+
claimedAt: Scalars['DateTime']['output'];
|
|
4060
|
+
code?: Maybe<Scalars['String']['output']>;
|
|
4061
|
+
kind: OfferKind;
|
|
4062
|
+
method: OfferMethod;
|
|
4063
|
+
offerId: Scalars['String']['output'];
|
|
4064
|
+
officialUrl?: Maybe<Scalars['String']['output']>;
|
|
4065
|
+
status: OfferAthleteStatus;
|
|
4066
|
+
title: Scalars['String']['output'];
|
|
4067
|
+
validUntil?: Maybe<Scalars['String']['output']>;
|
|
4068
|
+
};
|
|
3639
4069
|
export type OfferWithEligibility = {
|
|
3640
4070
|
_id: Scalars['String']['output'];
|
|
3641
4071
|
availableCodes: Scalars['Int']['output'];
|
|
@@ -3923,11 +4353,15 @@ export type Query = {
|
|
|
3923
4353
|
adminAthleteScoreBreakdown: AdminAthleteScoreBreakdown;
|
|
3924
4354
|
adminIndexV1Background: IndexV1Background;
|
|
3925
4355
|
adminIndexV1RecordExport: IndexV1Export;
|
|
4356
|
+
adminOffer: AdminOffer;
|
|
4357
|
+
adminOffers: AdminOffersPage;
|
|
3926
4358
|
athleteActivities: ActivitiesResponse;
|
|
3927
4359
|
athleteActivityDates: ActivityDatesResponse;
|
|
3928
4360
|
athleteActivityDetail: ActivityDetail;
|
|
3929
4361
|
athleteComponentSummary: ComponentSummary;
|
|
3930
4362
|
athleteDashboard: DashboardSummary;
|
|
4363
|
+
athleteOffer: AthleteOfferPage;
|
|
4364
|
+
athleteOffers: AthleteOffersResult;
|
|
3931
4365
|
athleteRankContext: RankContext;
|
|
3932
4366
|
athleteRankHistory: Array<RankHistoryEntry>;
|
|
3933
4367
|
athleteScoreHistory: Array<ScoreHistoryEntry>;
|
|
@@ -4084,13 +4518,19 @@ export type Query = {
|
|
|
4084
4518
|
myNotificationPreferences: NotificationPreference;
|
|
4085
4519
|
myNotifications: NotificationListResponse;
|
|
4086
4520
|
myOfferClaims: Array<OfferClaim>;
|
|
4521
|
+
myOfferWallet: Array<OfferWalletItem>;
|
|
4087
4522
|
myPreferences: SponsorUserPreferences;
|
|
4088
4523
|
myPreferredLocale?: Maybe<Scalars['String']['output']>;
|
|
4089
4524
|
mySponsorAthleteInvitations: Array<SponsorAthleteInvitation>;
|
|
4090
4525
|
notificationUnreadCount: UnreadCountResponse;
|
|
4091
4526
|
offer: Offer;
|
|
4527
|
+
offerActivity: OfferActivity;
|
|
4528
|
+
offerApplication: OfferApplicationAdmin;
|
|
4092
4529
|
offerApplications: PaginatedOfferApplications;
|
|
4093
4530
|
offerAvailability: OfferAvailability;
|
|
4531
|
+
offerBrandAdmin: OfferBrandAdmin;
|
|
4532
|
+
offerBrandsAdmin: Array<OfferBrandAdmin>;
|
|
4533
|
+
offerSportOptions: Array<OfferSportOption>;
|
|
4094
4534
|
offers: Array<Offer>;
|
|
4095
4535
|
offersForAthlete: Array<Offer>;
|
|
4096
4536
|
offersWithEligibility: PaginatedOffersWithEligibility;
|
|
@@ -4127,6 +4567,12 @@ export type QueryAdminAthleteScoreBreakdownArgs = {
|
|
|
4127
4567
|
export type QueryAdminIndexV1RecordExportArgs = {
|
|
4128
4568
|
input?: InputMaybe<IndexV1ExportInputDto>;
|
|
4129
4569
|
};
|
|
4570
|
+
export type QueryAdminOfferArgs = {
|
|
4571
|
+
offerId: Scalars['String']['input'];
|
|
4572
|
+
};
|
|
4573
|
+
export type QueryAdminOffersArgs = {
|
|
4574
|
+
query: AdminOffersQueryInput;
|
|
4575
|
+
};
|
|
4130
4576
|
export type QueryAthleteActivitiesArgs = {
|
|
4131
4577
|
input: ActivitiesQueryDto;
|
|
4132
4578
|
};
|
|
@@ -4142,6 +4588,13 @@ export type QueryAthleteComponentSummaryArgs = {
|
|
|
4142
4588
|
export type QueryAthleteDashboardArgs = {
|
|
4143
4589
|
athleteId: Scalars['String']['input'];
|
|
4144
4590
|
};
|
|
4591
|
+
export type QueryAthleteOfferArgs = {
|
|
4592
|
+
athleteId: Scalars['String']['input'];
|
|
4593
|
+
offerId: Scalars['String']['input'];
|
|
4594
|
+
};
|
|
4595
|
+
export type QueryAthleteOffersArgs = {
|
|
4596
|
+
athleteId: Scalars['String']['input'];
|
|
4597
|
+
};
|
|
4145
4598
|
export type QueryAthleteRankContextArgs = {
|
|
4146
4599
|
input: RankContextQueryDto;
|
|
4147
4600
|
};
|
|
@@ -4470,9 +4923,18 @@ export type QueryMyOfferClaimsArgs = {
|
|
|
4470
4923
|
athleteId: Scalars['String']['input'];
|
|
4471
4924
|
query?: InputMaybe<OfferClaimQueryDto>;
|
|
4472
4925
|
};
|
|
4926
|
+
export type QueryMyOfferWalletArgs = {
|
|
4927
|
+
athleteId: Scalars['String']['input'];
|
|
4928
|
+
};
|
|
4473
4929
|
export type QueryOfferArgs = {
|
|
4474
4930
|
id: Scalars['String']['input'];
|
|
4475
4931
|
};
|
|
4932
|
+
export type QueryOfferActivityArgs = {
|
|
4933
|
+
offerId: Scalars['String']['input'];
|
|
4934
|
+
};
|
|
4935
|
+
export type QueryOfferApplicationArgs = {
|
|
4936
|
+
claimId: Scalars['String']['input'];
|
|
4937
|
+
};
|
|
4476
4938
|
export type QueryOfferApplicationsArgs = {
|
|
4477
4939
|
offerId: Scalars['String']['input'];
|
|
4478
4940
|
query?: InputMaybe<OfferApplicationsQueryDto>;
|
|
@@ -4481,6 +4943,9 @@ export type QueryOfferAvailabilityArgs = {
|
|
|
4481
4943
|
athleteId: Scalars['String']['input'];
|
|
4482
4944
|
offerId: Scalars['String']['input'];
|
|
4483
4945
|
};
|
|
4946
|
+
export type QueryOfferBrandAdminArgs = {
|
|
4947
|
+
brandId: Scalars['String']['input'];
|
|
4948
|
+
};
|
|
4484
4949
|
export type QueryOffersForAthleteArgs = {
|
|
4485
4950
|
athleteId?: InputMaybe<Scalars['String']['input']>;
|
|
4486
4951
|
};
|
|
@@ -4669,6 +5134,66 @@ export type RequestDataExportDto = {
|
|
|
4669
5134
|
note?: InputMaybe<Scalars['String']['input']>;
|
|
4670
5135
|
};
|
|
4671
5136
|
export type RequestItemType = 'CASH' | 'EQUIPMENT' | 'OTHER' | 'PRODUCT' | 'TRAVEL';
|
|
5137
|
+
export type SaveOfferBrandInput = {
|
|
5138
|
+
applicationEmails?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
5139
|
+
brandColor?: InputMaybe<Scalars['String']['input']>;
|
|
5140
|
+
brandId?: InputMaybe<Scalars['String']['input']>;
|
|
5141
|
+
contactEmail?: InputMaybe<Scalars['String']['input']>;
|
|
5142
|
+
contactPhone?: InputMaybe<Scalars['String']['input']>;
|
|
5143
|
+
copyToVtx?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5144
|
+
internalNote?: InputMaybe<Scalars['String']['input']>;
|
|
5145
|
+
logo?: InputMaybe<Awss3UploadedFileDto>;
|
|
5146
|
+
name: Scalars['String']['input'];
|
|
5147
|
+
slogan?: InputMaybe<Scalars['String']['input']>;
|
|
5148
|
+
website?: InputMaybe<Scalars['String']['input']>;
|
|
5149
|
+
};
|
|
5150
|
+
export type SaveOfferInput = {
|
|
5151
|
+
applicationsCloseDate?: InputMaybe<Scalars['String']['input']>;
|
|
5152
|
+
askChips?: InputMaybe<Array<OfferAskChip>>;
|
|
5153
|
+
askNote?: InputMaybe<Scalars['String']['input']>;
|
|
5154
|
+
badge?: InputMaybe<Scalars['String']['input']>;
|
|
5155
|
+
benefits?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
5156
|
+
brandId: Scalars['String']['input'];
|
|
5157
|
+
category?: InputMaybe<OfferCategory>;
|
|
5158
|
+
code?: InputMaybe<Scalars['String']['input']>;
|
|
5159
|
+
contactEmail?: InputMaybe<Scalars['String']['input']>;
|
|
5160
|
+
contactPhone?: InputMaybe<Scalars['String']['input']>;
|
|
5161
|
+
countryIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
5162
|
+
coverBackground?: InputMaybe<OfferCoverBackground>;
|
|
5163
|
+
coverColor?: InputMaybe<Scalars['String']['input']>;
|
|
5164
|
+
coverKind?: InputMaybe<OfferCoverKind>;
|
|
5165
|
+
durationKind?: InputMaybe<OfferDuration>;
|
|
5166
|
+
durationText?: InputMaybe<Scalars['String']['input']>;
|
|
5167
|
+
endDate?: InputMaybe<Scalars['String']['input']>;
|
|
5168
|
+
featured?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5169
|
+
genders?: InputMaybe<Array<OfferGender>>;
|
|
5170
|
+
howItWorks?: InputMaybe<Scalars['String']['input']>;
|
|
5171
|
+
kind: OfferKind;
|
|
5172
|
+
levels?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
5173
|
+
maxAge?: InputMaybe<Scalars['Int']['input']>;
|
|
5174
|
+
method?: InputMaybe<OfferMethod>;
|
|
5175
|
+
minAge?: InputMaybe<Scalars['Int']['input']>;
|
|
5176
|
+
minScore?: InputMaybe<Scalars['Int']['input']>;
|
|
5177
|
+
offerId?: InputMaybe<Scalars['String']['input']>;
|
|
5178
|
+
offerImage?: InputMaybe<Awss3UploadedFileDto>;
|
|
5179
|
+
officialUrl?: InputMaybe<Scalars['String']['input']>;
|
|
5180
|
+
preferredIndex?: InputMaybe<OfferPreferredIndex>;
|
|
5181
|
+
questions?: InputMaybe<Array<OfferQuestionInput>>;
|
|
5182
|
+
removeOfferImage?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5183
|
+
replyWithinDays?: InputMaybe<Scalars['Int']['input']>;
|
|
5184
|
+
sportKeys?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
5185
|
+
spots?: InputMaybe<Scalars['Int']['input']>;
|
|
5186
|
+
startDate?: InputMaybe<Scalars['String']['input']>;
|
|
5187
|
+
summary?: InputMaybe<Scalars['String']['input']>;
|
|
5188
|
+
terms?: InputMaybe<Scalars['String']['input']>;
|
|
5189
|
+
title: Scalars['String']['input'];
|
|
5190
|
+
verifiedOnly?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5191
|
+
};
|
|
5192
|
+
export type SaveOfferResult = {
|
|
5193
|
+
missing: Array<OfferChecklistItem>;
|
|
5194
|
+
offer: AdminOffer;
|
|
5195
|
+
published: Scalars['Boolean']['output'];
|
|
5196
|
+
};
|
|
4672
5197
|
export type ScoreDivergencePage = {
|
|
4673
5198
|
pagination: EnhancedPaginationInfoType;
|
|
4674
5199
|
rows: Array<ScoreDivergenceRow>;
|
|
@@ -18010,6 +18535,934 @@ export type UpdateNotificationPreferencesMutation = {
|
|
|
18010
18535
|
mutedTypes?: Array<string> | null;
|
|
18011
18536
|
};
|
|
18012
18537
|
};
|
|
18538
|
+
export type OfferActivityQueryVariables = Exact<{
|
|
18539
|
+
offerId: Scalars['String']['input'];
|
|
18540
|
+
}>;
|
|
18541
|
+
export type OfferActivityQuery = {
|
|
18542
|
+
offerActivity: {
|
|
18543
|
+
offerId: string;
|
|
18544
|
+
title: string;
|
|
18545
|
+
brandName: string;
|
|
18546
|
+
kind: OfferKind;
|
|
18547
|
+
method: OfferMethod;
|
|
18548
|
+
publishState: OfferPublishState;
|
|
18549
|
+
startDate?: string | null;
|
|
18550
|
+
preferredIndex: OfferPreferredIndex;
|
|
18551
|
+
applicationEmails: Array<string>;
|
|
18552
|
+
copyToVtx: boolean;
|
|
18553
|
+
claimsShown: number;
|
|
18554
|
+
claimsTotal: number;
|
|
18555
|
+
counters: {
|
|
18556
|
+
views: number;
|
|
18557
|
+
saves: number;
|
|
18558
|
+
claims: number;
|
|
18559
|
+
applications: number;
|
|
18560
|
+
ratePercent?: number | null;
|
|
18561
|
+
};
|
|
18562
|
+
applications: Array<{
|
|
18563
|
+
claimId: string;
|
|
18564
|
+
athleteName: string;
|
|
18565
|
+
photoUrl?: string | null;
|
|
18566
|
+
sportKeys: Array<string>;
|
|
18567
|
+
level?: string | null;
|
|
18568
|
+
countryName?: string | null;
|
|
18569
|
+
verified: boolean;
|
|
18570
|
+
appliedAt: string;
|
|
18571
|
+
status: OfferApplicationDecision;
|
|
18572
|
+
emailStatus?: OfferApplicationEmailStatus | null;
|
|
18573
|
+
emailSentAt?: string | null;
|
|
18574
|
+
athleteNotified: boolean;
|
|
18575
|
+
scores: {
|
|
18576
|
+
VTX?: number | null;
|
|
18577
|
+
TPI?: number | null;
|
|
18578
|
+
API?: number | null;
|
|
18579
|
+
SPI?: number | null;
|
|
18580
|
+
};
|
|
18581
|
+
}>;
|
|
18582
|
+
claims: Array<{
|
|
18583
|
+
claimId: string;
|
|
18584
|
+
athleteName: string;
|
|
18585
|
+
photoUrl?: string | null;
|
|
18586
|
+
level?: string | null;
|
|
18587
|
+
claimedAt: string;
|
|
18588
|
+
scores: {
|
|
18589
|
+
VTX?: number | null;
|
|
18590
|
+
TPI?: number | null;
|
|
18591
|
+
API?: number | null;
|
|
18592
|
+
SPI?: number | null;
|
|
18593
|
+
};
|
|
18594
|
+
}>;
|
|
18595
|
+
};
|
|
18596
|
+
};
|
|
18597
|
+
export type OfferApplicationQueryVariables = Exact<{
|
|
18598
|
+
claimId: Scalars['String']['input'];
|
|
18599
|
+
}>;
|
|
18600
|
+
export type OfferApplicationQuery = {
|
|
18601
|
+
offerApplication: {
|
|
18602
|
+
offerId: string;
|
|
18603
|
+
offerTitle: string;
|
|
18604
|
+
brandName: string;
|
|
18605
|
+
email: string;
|
|
18606
|
+
ageGroup?: string | null;
|
|
18607
|
+
instagramHandle?: string | null;
|
|
18608
|
+
results: Array<string>;
|
|
18609
|
+
consentAt?: string | null;
|
|
18610
|
+
row: {
|
|
18611
|
+
claimId: string;
|
|
18612
|
+
athleteName: string;
|
|
18613
|
+
photoUrl?: string | null;
|
|
18614
|
+
sportKeys: Array<string>;
|
|
18615
|
+
level?: string | null;
|
|
18616
|
+
countryName?: string | null;
|
|
18617
|
+
verified: boolean;
|
|
18618
|
+
appliedAt: string;
|
|
18619
|
+
status: OfferApplicationDecision;
|
|
18620
|
+
emailStatus?: OfferApplicationEmailStatus | null;
|
|
18621
|
+
emailSentAt?: string | null;
|
|
18622
|
+
athleteNotified: boolean;
|
|
18623
|
+
scores: {
|
|
18624
|
+
VTX?: number | null;
|
|
18625
|
+
TPI?: number | null;
|
|
18626
|
+
API?: number | null;
|
|
18627
|
+
SPI?: number | null;
|
|
18628
|
+
};
|
|
18629
|
+
};
|
|
18630
|
+
answers: Array<{
|
|
18631
|
+
questionId?: string | null;
|
|
18632
|
+
label: string;
|
|
18633
|
+
answer?: string | null;
|
|
18634
|
+
}>;
|
|
18635
|
+
emailLog: Array<{
|
|
18636
|
+
kind: OfferApplicationEmailKind;
|
|
18637
|
+
toEmails: Array<string>;
|
|
18638
|
+
bccVtx: boolean;
|
|
18639
|
+
status: OfferApplicationEmailStatus;
|
|
18640
|
+
createdAt: string;
|
|
18641
|
+
triggeredByAdminEmail?: string | null;
|
|
18642
|
+
}>;
|
|
18643
|
+
};
|
|
18644
|
+
};
|
|
18645
|
+
export type SetOfferApplicationStatusMutationVariables = Exact<{
|
|
18646
|
+
claimId: Scalars['String']['input'];
|
|
18647
|
+
status: OfferApplicationDecision;
|
|
18648
|
+
}>;
|
|
18649
|
+
export type SetOfferApplicationStatusMutation = {
|
|
18650
|
+
setOfferApplicationStatus: {
|
|
18651
|
+
offerId: string;
|
|
18652
|
+
offerTitle: string;
|
|
18653
|
+
brandName: string;
|
|
18654
|
+
email: string;
|
|
18655
|
+
ageGroup?: string | null;
|
|
18656
|
+
instagramHandle?: string | null;
|
|
18657
|
+
results: Array<string>;
|
|
18658
|
+
consentAt?: string | null;
|
|
18659
|
+
row: {
|
|
18660
|
+
claimId: string;
|
|
18661
|
+
athleteName: string;
|
|
18662
|
+
photoUrl?: string | null;
|
|
18663
|
+
sportKeys: Array<string>;
|
|
18664
|
+
level?: string | null;
|
|
18665
|
+
countryName?: string | null;
|
|
18666
|
+
verified: boolean;
|
|
18667
|
+
appliedAt: string;
|
|
18668
|
+
status: OfferApplicationDecision;
|
|
18669
|
+
emailStatus?: OfferApplicationEmailStatus | null;
|
|
18670
|
+
emailSentAt?: string | null;
|
|
18671
|
+
athleteNotified: boolean;
|
|
18672
|
+
scores: {
|
|
18673
|
+
VTX?: number | null;
|
|
18674
|
+
TPI?: number | null;
|
|
18675
|
+
API?: number | null;
|
|
18676
|
+
SPI?: number | null;
|
|
18677
|
+
};
|
|
18678
|
+
};
|
|
18679
|
+
answers: Array<{
|
|
18680
|
+
questionId?: string | null;
|
|
18681
|
+
label: string;
|
|
18682
|
+
answer?: string | null;
|
|
18683
|
+
}>;
|
|
18684
|
+
emailLog: Array<{
|
|
18685
|
+
kind: OfferApplicationEmailKind;
|
|
18686
|
+
toEmails: Array<string>;
|
|
18687
|
+
bccVtx: boolean;
|
|
18688
|
+
status: OfferApplicationEmailStatus;
|
|
18689
|
+
createdAt: string;
|
|
18690
|
+
triggeredByAdminEmail?: string | null;
|
|
18691
|
+
}>;
|
|
18692
|
+
};
|
|
18693
|
+
};
|
|
18694
|
+
export type ResendOfferApplicationEmailMutationVariables = Exact<{
|
|
18695
|
+
claimId: Scalars['String']['input'];
|
|
18696
|
+
}>;
|
|
18697
|
+
export type ResendOfferApplicationEmailMutation = {
|
|
18698
|
+
resendOfferApplicationEmail: {
|
|
18699
|
+
offerId: string;
|
|
18700
|
+
offerTitle: string;
|
|
18701
|
+
brandName: string;
|
|
18702
|
+
email: string;
|
|
18703
|
+
ageGroup?: string | null;
|
|
18704
|
+
instagramHandle?: string | null;
|
|
18705
|
+
results: Array<string>;
|
|
18706
|
+
consentAt?: string | null;
|
|
18707
|
+
row: {
|
|
18708
|
+
claimId: string;
|
|
18709
|
+
athleteName: string;
|
|
18710
|
+
photoUrl?: string | null;
|
|
18711
|
+
sportKeys: Array<string>;
|
|
18712
|
+
level?: string | null;
|
|
18713
|
+
countryName?: string | null;
|
|
18714
|
+
verified: boolean;
|
|
18715
|
+
appliedAt: string;
|
|
18716
|
+
status: OfferApplicationDecision;
|
|
18717
|
+
emailStatus?: OfferApplicationEmailStatus | null;
|
|
18718
|
+
emailSentAt?: string | null;
|
|
18719
|
+
athleteNotified: boolean;
|
|
18720
|
+
scores: {
|
|
18721
|
+
VTX?: number | null;
|
|
18722
|
+
TPI?: number | null;
|
|
18723
|
+
API?: number | null;
|
|
18724
|
+
SPI?: number | null;
|
|
18725
|
+
};
|
|
18726
|
+
};
|
|
18727
|
+
answers: Array<{
|
|
18728
|
+
questionId?: string | null;
|
|
18729
|
+
label: string;
|
|
18730
|
+
answer?: string | null;
|
|
18731
|
+
}>;
|
|
18732
|
+
emailLog: Array<{
|
|
18733
|
+
kind: OfferApplicationEmailKind;
|
|
18734
|
+
toEmails: Array<string>;
|
|
18735
|
+
bccVtx: boolean;
|
|
18736
|
+
status: OfferApplicationEmailStatus;
|
|
18737
|
+
createdAt: string;
|
|
18738
|
+
triggeredByAdminEmail?: string | null;
|
|
18739
|
+
}>;
|
|
18740
|
+
};
|
|
18741
|
+
};
|
|
18742
|
+
export type SaveOfferMutationVariables = Exact<{
|
|
18743
|
+
input: SaveOfferInput;
|
|
18744
|
+
publish: Scalars['Boolean']['input'];
|
|
18745
|
+
}>;
|
|
18746
|
+
export type SaveOfferMutation = {
|
|
18747
|
+
saveOffer: {
|
|
18748
|
+
published: boolean;
|
|
18749
|
+
offer: {
|
|
18750
|
+
offerId: string;
|
|
18751
|
+
brandId: string;
|
|
18752
|
+
brandName: string;
|
|
18753
|
+
kind: OfferKind;
|
|
18754
|
+
method: OfferMethod;
|
|
18755
|
+
category?: OfferCategory | null;
|
|
18756
|
+
publishState: OfferPublishState;
|
|
18757
|
+
title: string;
|
|
18758
|
+
summary: string;
|
|
18759
|
+
badge?: string | null;
|
|
18760
|
+
coverKind?: OfferCoverKind | null;
|
|
18761
|
+
coverBackground?: OfferCoverBackground | null;
|
|
18762
|
+
coverColor?: string | null;
|
|
18763
|
+
benefits: Array<string>;
|
|
18764
|
+
howItWorks?: string | null;
|
|
18765
|
+
code?: string | null;
|
|
18766
|
+
startDate?: string | null;
|
|
18767
|
+
endDate?: string | null;
|
|
18768
|
+
durationKind?: OfferDuration | null;
|
|
18769
|
+
durationText?: string | null;
|
|
18770
|
+
terms?: string | null;
|
|
18771
|
+
contactEmail?: string | null;
|
|
18772
|
+
contactPhone?: string | null;
|
|
18773
|
+
officialUrl?: string | null;
|
|
18774
|
+
featured: boolean;
|
|
18775
|
+
publishedAt?: string | null;
|
|
18776
|
+
editedAt?: string | null;
|
|
18777
|
+
dateCreated: string;
|
|
18778
|
+
coverImageUrl?: string | null;
|
|
18779
|
+
coverImageFileId?: string | null;
|
|
18780
|
+
askChips: Array<OfferAskChip>;
|
|
18781
|
+
askNote?: string | null;
|
|
18782
|
+
spots?: number | null;
|
|
18783
|
+
applicationsCloseDate?: string | null;
|
|
18784
|
+
replyWithinDays?: number | null;
|
|
18785
|
+
preferredIndex: OfferPreferredIndex;
|
|
18786
|
+
minScore?: number | null;
|
|
18787
|
+
verifiedOnly: boolean;
|
|
18788
|
+
sportKeys: Array<string>;
|
|
18789
|
+
levels: Array<string>;
|
|
18790
|
+
minAge?: number | null;
|
|
18791
|
+
maxAge?: number | null;
|
|
18792
|
+
genders: Array<OfferGender>;
|
|
18793
|
+
claims: number;
|
|
18794
|
+
applications: number;
|
|
18795
|
+
views: number;
|
|
18796
|
+
saves: number;
|
|
18797
|
+
hasClaims: boolean;
|
|
18798
|
+
isEnded: boolean;
|
|
18799
|
+
questions: Array<{
|
|
18800
|
+
id: string;
|
|
18801
|
+
label: string;
|
|
18802
|
+
type: OfferQuestionType;
|
|
18803
|
+
options: Array<string>;
|
|
18804
|
+
required: boolean;
|
|
18805
|
+
}>;
|
|
18806
|
+
countries: Array<{
|
|
18807
|
+
countryId: string;
|
|
18808
|
+
name: string;
|
|
18809
|
+
}>;
|
|
18810
|
+
brand: {
|
|
18811
|
+
brandId: string;
|
|
18812
|
+
name: string;
|
|
18813
|
+
logoUrl?: string | null;
|
|
18814
|
+
brandColor?: string | null;
|
|
18815
|
+
hasLogo: boolean;
|
|
18816
|
+
applicationEmails: Array<string>;
|
|
18817
|
+
copyToVtx: boolean;
|
|
18818
|
+
contactEmail?: string | null;
|
|
18819
|
+
contactPhone?: string | null;
|
|
18820
|
+
website?: string | null;
|
|
18821
|
+
};
|
|
18822
|
+
};
|
|
18823
|
+
missing: Array<{
|
|
18824
|
+
key: OfferChecklistKey;
|
|
18825
|
+
fieldId: string;
|
|
18826
|
+
brandName?: string | null;
|
|
18827
|
+
}>;
|
|
18828
|
+
};
|
|
18829
|
+
};
|
|
18830
|
+
export type AdminOffersQueryVariables = Exact<{
|
|
18831
|
+
query: AdminOffersQueryInput;
|
|
18832
|
+
}>;
|
|
18833
|
+
export type AdminOffersQuery = {
|
|
18834
|
+
adminOffers: {
|
|
18835
|
+
total: number;
|
|
18836
|
+
items: Array<{
|
|
18837
|
+
offerId: string;
|
|
18838
|
+
title: string;
|
|
18839
|
+
brandId: string;
|
|
18840
|
+
brandName: string;
|
|
18841
|
+
kind: OfferKind;
|
|
18842
|
+
method: OfferMethod;
|
|
18843
|
+
publishState: OfferPublishState;
|
|
18844
|
+
featured: boolean;
|
|
18845
|
+
isEnded: boolean;
|
|
18846
|
+
startDate?: string | null;
|
|
18847
|
+
endDate?: string | null;
|
|
18848
|
+
claims: number;
|
|
18849
|
+
applications: number;
|
|
18850
|
+
views: number;
|
|
18851
|
+
saves: number;
|
|
18852
|
+
}>;
|
|
18853
|
+
};
|
|
18854
|
+
};
|
|
18855
|
+
export type AdminOfferQueryVariables = Exact<{
|
|
18856
|
+
offerId: Scalars['String']['input'];
|
|
18857
|
+
}>;
|
|
18858
|
+
export type AdminOfferQuery = {
|
|
18859
|
+
adminOffer: {
|
|
18860
|
+
offerId: string;
|
|
18861
|
+
brandId: string;
|
|
18862
|
+
brandName: string;
|
|
18863
|
+
kind: OfferKind;
|
|
18864
|
+
method: OfferMethod;
|
|
18865
|
+
category?: OfferCategory | null;
|
|
18866
|
+
publishState: OfferPublishState;
|
|
18867
|
+
title: string;
|
|
18868
|
+
summary: string;
|
|
18869
|
+
badge?: string | null;
|
|
18870
|
+
coverKind?: OfferCoverKind | null;
|
|
18871
|
+
coverBackground?: OfferCoverBackground | null;
|
|
18872
|
+
coverColor?: string | null;
|
|
18873
|
+
benefits: Array<string>;
|
|
18874
|
+
howItWorks?: string | null;
|
|
18875
|
+
code?: string | null;
|
|
18876
|
+
startDate?: string | null;
|
|
18877
|
+
endDate?: string | null;
|
|
18878
|
+
durationKind?: OfferDuration | null;
|
|
18879
|
+
durationText?: string | null;
|
|
18880
|
+
terms?: string | null;
|
|
18881
|
+
contactEmail?: string | null;
|
|
18882
|
+
contactPhone?: string | null;
|
|
18883
|
+
officialUrl?: string | null;
|
|
18884
|
+
featured: boolean;
|
|
18885
|
+
publishedAt?: string | null;
|
|
18886
|
+
editedAt?: string | null;
|
|
18887
|
+
dateCreated: string;
|
|
18888
|
+
coverImageUrl?: string | null;
|
|
18889
|
+
coverImageFileId?: string | null;
|
|
18890
|
+
askChips: Array<OfferAskChip>;
|
|
18891
|
+
askNote?: string | null;
|
|
18892
|
+
spots?: number | null;
|
|
18893
|
+
applicationsCloseDate?: string | null;
|
|
18894
|
+
replyWithinDays?: number | null;
|
|
18895
|
+
preferredIndex: OfferPreferredIndex;
|
|
18896
|
+
minScore?: number | null;
|
|
18897
|
+
verifiedOnly: boolean;
|
|
18898
|
+
sportKeys: Array<string>;
|
|
18899
|
+
levels: Array<string>;
|
|
18900
|
+
minAge?: number | null;
|
|
18901
|
+
maxAge?: number | null;
|
|
18902
|
+
genders: Array<OfferGender>;
|
|
18903
|
+
claims: number;
|
|
18904
|
+
applications: number;
|
|
18905
|
+
views: number;
|
|
18906
|
+
saves: number;
|
|
18907
|
+
hasClaims: boolean;
|
|
18908
|
+
isEnded: boolean;
|
|
18909
|
+
questions: Array<{
|
|
18910
|
+
id: string;
|
|
18911
|
+
label: string;
|
|
18912
|
+
type: OfferQuestionType;
|
|
18913
|
+
options: Array<string>;
|
|
18914
|
+
required: boolean;
|
|
18915
|
+
}>;
|
|
18916
|
+
countries: Array<{
|
|
18917
|
+
countryId: string;
|
|
18918
|
+
name: string;
|
|
18919
|
+
}>;
|
|
18920
|
+
brand: {
|
|
18921
|
+
brandId: string;
|
|
18922
|
+
name: string;
|
|
18923
|
+
logoUrl?: string | null;
|
|
18924
|
+
brandColor?: string | null;
|
|
18925
|
+
hasLogo: boolean;
|
|
18926
|
+
applicationEmails: Array<string>;
|
|
18927
|
+
copyToVtx: boolean;
|
|
18928
|
+
contactEmail?: string | null;
|
|
18929
|
+
contactPhone?: string | null;
|
|
18930
|
+
website?: string | null;
|
|
18931
|
+
};
|
|
18932
|
+
};
|
|
18933
|
+
};
|
|
18934
|
+
export type SetOfferPublishStateMutationVariables = Exact<{
|
|
18935
|
+
offerId: Scalars['String']['input'];
|
|
18936
|
+
state: OfferPublishState;
|
|
18937
|
+
}>;
|
|
18938
|
+
export type SetOfferPublishStateMutation = {
|
|
18939
|
+
setOfferPublishState: {
|
|
18940
|
+
offerId: string;
|
|
18941
|
+
brandId: string;
|
|
18942
|
+
brandName: string;
|
|
18943
|
+
kind: OfferKind;
|
|
18944
|
+
method: OfferMethod;
|
|
18945
|
+
category?: OfferCategory | null;
|
|
18946
|
+
publishState: OfferPublishState;
|
|
18947
|
+
title: string;
|
|
18948
|
+
summary: string;
|
|
18949
|
+
badge?: string | null;
|
|
18950
|
+
coverKind?: OfferCoverKind | null;
|
|
18951
|
+
coverBackground?: OfferCoverBackground | null;
|
|
18952
|
+
coverColor?: string | null;
|
|
18953
|
+
benefits: Array<string>;
|
|
18954
|
+
howItWorks?: string | null;
|
|
18955
|
+
code?: string | null;
|
|
18956
|
+
startDate?: string | null;
|
|
18957
|
+
endDate?: string | null;
|
|
18958
|
+
durationKind?: OfferDuration | null;
|
|
18959
|
+
durationText?: string | null;
|
|
18960
|
+
terms?: string | null;
|
|
18961
|
+
contactEmail?: string | null;
|
|
18962
|
+
contactPhone?: string | null;
|
|
18963
|
+
officialUrl?: string | null;
|
|
18964
|
+
featured: boolean;
|
|
18965
|
+
publishedAt?: string | null;
|
|
18966
|
+
editedAt?: string | null;
|
|
18967
|
+
dateCreated: string;
|
|
18968
|
+
coverImageUrl?: string | null;
|
|
18969
|
+
coverImageFileId?: string | null;
|
|
18970
|
+
askChips: Array<OfferAskChip>;
|
|
18971
|
+
askNote?: string | null;
|
|
18972
|
+
spots?: number | null;
|
|
18973
|
+
applicationsCloseDate?: string | null;
|
|
18974
|
+
replyWithinDays?: number | null;
|
|
18975
|
+
preferredIndex: OfferPreferredIndex;
|
|
18976
|
+
minScore?: number | null;
|
|
18977
|
+
verifiedOnly: boolean;
|
|
18978
|
+
sportKeys: Array<string>;
|
|
18979
|
+
levels: Array<string>;
|
|
18980
|
+
minAge?: number | null;
|
|
18981
|
+
maxAge?: number | null;
|
|
18982
|
+
genders: Array<OfferGender>;
|
|
18983
|
+
claims: number;
|
|
18984
|
+
applications: number;
|
|
18985
|
+
views: number;
|
|
18986
|
+
saves: number;
|
|
18987
|
+
hasClaims: boolean;
|
|
18988
|
+
isEnded: boolean;
|
|
18989
|
+
questions: Array<{
|
|
18990
|
+
id: string;
|
|
18991
|
+
label: string;
|
|
18992
|
+
type: OfferQuestionType;
|
|
18993
|
+
options: Array<string>;
|
|
18994
|
+
required: boolean;
|
|
18995
|
+
}>;
|
|
18996
|
+
countries: Array<{
|
|
18997
|
+
countryId: string;
|
|
18998
|
+
name: string;
|
|
18999
|
+
}>;
|
|
19000
|
+
brand: {
|
|
19001
|
+
brandId: string;
|
|
19002
|
+
name: string;
|
|
19003
|
+
logoUrl?: string | null;
|
|
19004
|
+
brandColor?: string | null;
|
|
19005
|
+
hasLogo: boolean;
|
|
19006
|
+
applicationEmails: Array<string>;
|
|
19007
|
+
copyToVtx: boolean;
|
|
19008
|
+
contactEmail?: string | null;
|
|
19009
|
+
contactPhone?: string | null;
|
|
19010
|
+
website?: string | null;
|
|
19011
|
+
};
|
|
19012
|
+
};
|
|
19013
|
+
};
|
|
19014
|
+
export type SetOfferFeaturedMutationVariables = Exact<{
|
|
19015
|
+
offerId: Scalars['String']['input'];
|
|
19016
|
+
featured: Scalars['Boolean']['input'];
|
|
19017
|
+
}>;
|
|
19018
|
+
export type SetOfferFeaturedMutation = {
|
|
19019
|
+
setOfferFeatured: {
|
|
19020
|
+
offerId: string;
|
|
19021
|
+
brandId: string;
|
|
19022
|
+
brandName: string;
|
|
19023
|
+
kind: OfferKind;
|
|
19024
|
+
method: OfferMethod;
|
|
19025
|
+
category?: OfferCategory | null;
|
|
19026
|
+
publishState: OfferPublishState;
|
|
19027
|
+
title: string;
|
|
19028
|
+
summary: string;
|
|
19029
|
+
badge?: string | null;
|
|
19030
|
+
coverKind?: OfferCoverKind | null;
|
|
19031
|
+
coverBackground?: OfferCoverBackground | null;
|
|
19032
|
+
coverColor?: string | null;
|
|
19033
|
+
benefits: Array<string>;
|
|
19034
|
+
howItWorks?: string | null;
|
|
19035
|
+
code?: string | null;
|
|
19036
|
+
startDate?: string | null;
|
|
19037
|
+
endDate?: string | null;
|
|
19038
|
+
durationKind?: OfferDuration | null;
|
|
19039
|
+
durationText?: string | null;
|
|
19040
|
+
terms?: string | null;
|
|
19041
|
+
contactEmail?: string | null;
|
|
19042
|
+
contactPhone?: string | null;
|
|
19043
|
+
officialUrl?: string | null;
|
|
19044
|
+
featured: boolean;
|
|
19045
|
+
publishedAt?: string | null;
|
|
19046
|
+
editedAt?: string | null;
|
|
19047
|
+
dateCreated: string;
|
|
19048
|
+
coverImageUrl?: string | null;
|
|
19049
|
+
coverImageFileId?: string | null;
|
|
19050
|
+
askChips: Array<OfferAskChip>;
|
|
19051
|
+
askNote?: string | null;
|
|
19052
|
+
spots?: number | null;
|
|
19053
|
+
applicationsCloseDate?: string | null;
|
|
19054
|
+
replyWithinDays?: number | null;
|
|
19055
|
+
preferredIndex: OfferPreferredIndex;
|
|
19056
|
+
minScore?: number | null;
|
|
19057
|
+
verifiedOnly: boolean;
|
|
19058
|
+
sportKeys: Array<string>;
|
|
19059
|
+
levels: Array<string>;
|
|
19060
|
+
minAge?: number | null;
|
|
19061
|
+
maxAge?: number | null;
|
|
19062
|
+
genders: Array<OfferGender>;
|
|
19063
|
+
claims: number;
|
|
19064
|
+
applications: number;
|
|
19065
|
+
views: number;
|
|
19066
|
+
saves: number;
|
|
19067
|
+
hasClaims: boolean;
|
|
19068
|
+
isEnded: boolean;
|
|
19069
|
+
questions: Array<{
|
|
19070
|
+
id: string;
|
|
19071
|
+
label: string;
|
|
19072
|
+
type: OfferQuestionType;
|
|
19073
|
+
options: Array<string>;
|
|
19074
|
+
required: boolean;
|
|
19075
|
+
}>;
|
|
19076
|
+
countries: Array<{
|
|
19077
|
+
countryId: string;
|
|
19078
|
+
name: string;
|
|
19079
|
+
}>;
|
|
19080
|
+
brand: {
|
|
19081
|
+
brandId: string;
|
|
19082
|
+
name: string;
|
|
19083
|
+
logoUrl?: string | null;
|
|
19084
|
+
brandColor?: string | null;
|
|
19085
|
+
hasLogo: boolean;
|
|
19086
|
+
applicationEmails: Array<string>;
|
|
19087
|
+
copyToVtx: boolean;
|
|
19088
|
+
contactEmail?: string | null;
|
|
19089
|
+
contactPhone?: string | null;
|
|
19090
|
+
website?: string | null;
|
|
19091
|
+
};
|
|
19092
|
+
};
|
|
19093
|
+
};
|
|
19094
|
+
export type DuplicateOfferMutationVariables = Exact<{
|
|
19095
|
+
offerId: Scalars['String']['input'];
|
|
19096
|
+
}>;
|
|
19097
|
+
export type DuplicateOfferMutation = {
|
|
19098
|
+
duplicateOffer: {
|
|
19099
|
+
offerId: string;
|
|
19100
|
+
brandId: string;
|
|
19101
|
+
brandName: string;
|
|
19102
|
+
kind: OfferKind;
|
|
19103
|
+
method: OfferMethod;
|
|
19104
|
+
category?: OfferCategory | null;
|
|
19105
|
+
publishState: OfferPublishState;
|
|
19106
|
+
title: string;
|
|
19107
|
+
summary: string;
|
|
19108
|
+
badge?: string | null;
|
|
19109
|
+
coverKind?: OfferCoverKind | null;
|
|
19110
|
+
coverBackground?: OfferCoverBackground | null;
|
|
19111
|
+
coverColor?: string | null;
|
|
19112
|
+
benefits: Array<string>;
|
|
19113
|
+
howItWorks?: string | null;
|
|
19114
|
+
code?: string | null;
|
|
19115
|
+
startDate?: string | null;
|
|
19116
|
+
endDate?: string | null;
|
|
19117
|
+
durationKind?: OfferDuration | null;
|
|
19118
|
+
durationText?: string | null;
|
|
19119
|
+
terms?: string | null;
|
|
19120
|
+
contactEmail?: string | null;
|
|
19121
|
+
contactPhone?: string | null;
|
|
19122
|
+
officialUrl?: string | null;
|
|
19123
|
+
featured: boolean;
|
|
19124
|
+
publishedAt?: string | null;
|
|
19125
|
+
editedAt?: string | null;
|
|
19126
|
+
dateCreated: string;
|
|
19127
|
+
coverImageUrl?: string | null;
|
|
19128
|
+
coverImageFileId?: string | null;
|
|
19129
|
+
askChips: Array<OfferAskChip>;
|
|
19130
|
+
askNote?: string | null;
|
|
19131
|
+
spots?: number | null;
|
|
19132
|
+
applicationsCloseDate?: string | null;
|
|
19133
|
+
replyWithinDays?: number | null;
|
|
19134
|
+
preferredIndex: OfferPreferredIndex;
|
|
19135
|
+
minScore?: number | null;
|
|
19136
|
+
verifiedOnly: boolean;
|
|
19137
|
+
sportKeys: Array<string>;
|
|
19138
|
+
levels: Array<string>;
|
|
19139
|
+
minAge?: number | null;
|
|
19140
|
+
maxAge?: number | null;
|
|
19141
|
+
genders: Array<OfferGender>;
|
|
19142
|
+
claims: number;
|
|
19143
|
+
applications: number;
|
|
19144
|
+
views: number;
|
|
19145
|
+
saves: number;
|
|
19146
|
+
hasClaims: boolean;
|
|
19147
|
+
isEnded: boolean;
|
|
19148
|
+
questions: Array<{
|
|
19149
|
+
id: string;
|
|
19150
|
+
label: string;
|
|
19151
|
+
type: OfferQuestionType;
|
|
19152
|
+
options: Array<string>;
|
|
19153
|
+
required: boolean;
|
|
19154
|
+
}>;
|
|
19155
|
+
countries: Array<{
|
|
19156
|
+
countryId: string;
|
|
19157
|
+
name: string;
|
|
19158
|
+
}>;
|
|
19159
|
+
brand: {
|
|
19160
|
+
brandId: string;
|
|
19161
|
+
name: string;
|
|
19162
|
+
logoUrl?: string | null;
|
|
19163
|
+
brandColor?: string | null;
|
|
19164
|
+
hasLogo: boolean;
|
|
19165
|
+
applicationEmails: Array<string>;
|
|
19166
|
+
copyToVtx: boolean;
|
|
19167
|
+
contactEmail?: string | null;
|
|
19168
|
+
contactPhone?: string | null;
|
|
19169
|
+
website?: string | null;
|
|
19170
|
+
};
|
|
19171
|
+
};
|
|
19172
|
+
};
|
|
19173
|
+
export type DeleteUnusedOfferMutationVariables = Exact<{
|
|
19174
|
+
offerId: Scalars['String']['input'];
|
|
19175
|
+
}>;
|
|
19176
|
+
export type DeleteUnusedOfferMutation = {
|
|
19177
|
+
deleteUnusedOffer: boolean;
|
|
19178
|
+
};
|
|
19179
|
+
export type ApplyToOfferMutationVariables = Exact<{
|
|
19180
|
+
input: ApplyToOfferInput;
|
|
19181
|
+
}>;
|
|
19182
|
+
export type ApplyToOfferMutation = {
|
|
19183
|
+
applyToOffer: {
|
|
19184
|
+
claimId: string;
|
|
19185
|
+
offerId: string;
|
|
19186
|
+
status?: OfferApplicationDecision | null;
|
|
19187
|
+
withdrawn: boolean;
|
|
19188
|
+
appliedAt: string;
|
|
19189
|
+
withdrawnAt?: string | null;
|
|
19190
|
+
};
|
|
19191
|
+
};
|
|
19192
|
+
export type WithdrawOfferApplicationMutationVariables = Exact<{
|
|
19193
|
+
claimId: Scalars['String']['input'];
|
|
19194
|
+
athleteId: Scalars['String']['input'];
|
|
19195
|
+
}>;
|
|
19196
|
+
export type WithdrawOfferApplicationMutation = {
|
|
19197
|
+
withdrawOfferApplication: {
|
|
19198
|
+
claimId: string;
|
|
19199
|
+
offerId: string;
|
|
19200
|
+
status?: OfferApplicationDecision | null;
|
|
19201
|
+
withdrawn: boolean;
|
|
19202
|
+
appliedAt: string;
|
|
19203
|
+
withdrawnAt?: string | null;
|
|
19204
|
+
};
|
|
19205
|
+
};
|
|
19206
|
+
export type AthleteOffersQueryVariables = Exact<{
|
|
19207
|
+
athleteId: Scalars['String']['input'];
|
|
19208
|
+
}>;
|
|
19209
|
+
export type AthleteOffersQuery = {
|
|
19210
|
+
athleteOffers: {
|
|
19211
|
+
savedOfferIds: Array<string>;
|
|
19212
|
+
categoriesWithLive: Array<OfferCategory>;
|
|
19213
|
+
offers: Array<{
|
|
19214
|
+
offerId: string;
|
|
19215
|
+
kind: OfferKind;
|
|
19216
|
+
method: OfferMethod;
|
|
19217
|
+
category: OfferCategory;
|
|
19218
|
+
title: string;
|
|
19219
|
+
summary: string;
|
|
19220
|
+
badge?: string | null;
|
|
19221
|
+
featured: boolean;
|
|
19222
|
+
coverKind: OfferCoverKind;
|
|
19223
|
+
coverBackground?: OfferCoverBackground | null;
|
|
19224
|
+
coverColor?: string | null;
|
|
19225
|
+
coverImageUrl?: string | null;
|
|
19226
|
+
status: OfferAthleteStatus;
|
|
19227
|
+
endDate?: string | null;
|
|
19228
|
+
eligible: boolean;
|
|
19229
|
+
requirementsMet: number;
|
|
19230
|
+
requirementsTotal: number;
|
|
19231
|
+
endLabelKind?: OfferEndLabelKind | null;
|
|
19232
|
+
endsInDays?: number | null;
|
|
19233
|
+
isNew: boolean;
|
|
19234
|
+
saved: boolean;
|
|
19235
|
+
preferredIndex: OfferPreferredIndex;
|
|
19236
|
+
live: boolean;
|
|
19237
|
+
brand: {
|
|
19238
|
+
brandId: string;
|
|
19239
|
+
name: string;
|
|
19240
|
+
logoUrl?: string | null;
|
|
19241
|
+
brandColor?: string | null;
|
|
19242
|
+
slogan?: string | null;
|
|
19243
|
+
website?: string | null;
|
|
19244
|
+
};
|
|
19245
|
+
}>;
|
|
19246
|
+
counts: {
|
|
19247
|
+
live: number;
|
|
19248
|
+
eligible: number;
|
|
19249
|
+
claimed: number;
|
|
19250
|
+
applied: number;
|
|
19251
|
+
};
|
|
19252
|
+
};
|
|
19253
|
+
};
|
|
19254
|
+
export type MyOfferWalletQueryVariables = Exact<{
|
|
19255
|
+
athleteId: Scalars['String']['input'];
|
|
19256
|
+
}>;
|
|
19257
|
+
export type MyOfferWalletQuery = {
|
|
19258
|
+
myOfferWallet: Array<{
|
|
19259
|
+
claimId: string;
|
|
19260
|
+
offerId: string;
|
|
19261
|
+
kind: OfferKind;
|
|
19262
|
+
method: OfferMethod;
|
|
19263
|
+
title: string;
|
|
19264
|
+
brandName: string;
|
|
19265
|
+
brandLogoUrl?: string | null;
|
|
19266
|
+
status: OfferAthleteStatus;
|
|
19267
|
+
code?: string | null;
|
|
19268
|
+
validUntil?: string | null;
|
|
19269
|
+
officialUrl?: string | null;
|
|
19270
|
+
claimedAt: string;
|
|
19271
|
+
}>;
|
|
19272
|
+
};
|
|
19273
|
+
export type AthleteOfferQueryVariables = Exact<{
|
|
19274
|
+
offerId: Scalars['String']['input'];
|
|
19275
|
+
athleteId: Scalars['String']['input'];
|
|
19276
|
+
}>;
|
|
19277
|
+
export type AthleteOfferQuery = {
|
|
19278
|
+
athleteOffer: {
|
|
19279
|
+
cta: OfferPageCta;
|
|
19280
|
+
benefits: Array<string>;
|
|
19281
|
+
howItWorks?: string | null;
|
|
19282
|
+
durationKind?: OfferDuration | null;
|
|
19283
|
+
durationText?: string | null;
|
|
19284
|
+
startDate?: string | null;
|
|
19285
|
+
terms?: string | null;
|
|
19286
|
+
officialUrl?: string | null;
|
|
19287
|
+
contactEmail?: string | null;
|
|
19288
|
+
contactPhone?: string | null;
|
|
19289
|
+
askChips: Array<OfferAskChip>;
|
|
19290
|
+
askNote?: string | null;
|
|
19291
|
+
spots?: number | null;
|
|
19292
|
+
applicationsCloseDate?: string | null;
|
|
19293
|
+
replyWithinDays?: number | null;
|
|
19294
|
+
applicationsClosed: boolean;
|
|
19295
|
+
showAdNote: boolean;
|
|
19296
|
+
contactAtEmail: string;
|
|
19297
|
+
card: {
|
|
19298
|
+
offerId: string;
|
|
19299
|
+
kind: OfferKind;
|
|
19300
|
+
method: OfferMethod;
|
|
19301
|
+
category: OfferCategory;
|
|
19302
|
+
title: string;
|
|
19303
|
+
summary: string;
|
|
19304
|
+
badge?: string | null;
|
|
19305
|
+
featured: boolean;
|
|
19306
|
+
coverKind: OfferCoverKind;
|
|
19307
|
+
coverBackground?: OfferCoverBackground | null;
|
|
19308
|
+
coverColor?: string | null;
|
|
19309
|
+
coverImageUrl?: string | null;
|
|
19310
|
+
status: OfferAthleteStatus;
|
|
19311
|
+
endDate?: string | null;
|
|
19312
|
+
eligible: boolean;
|
|
19313
|
+
requirementsMet: number;
|
|
19314
|
+
requirementsTotal: number;
|
|
19315
|
+
endLabelKind?: OfferEndLabelKind | null;
|
|
19316
|
+
endsInDays?: number | null;
|
|
19317
|
+
isNew: boolean;
|
|
19318
|
+
saved: boolean;
|
|
19319
|
+
preferredIndex: OfferPreferredIndex;
|
|
19320
|
+
live: boolean;
|
|
19321
|
+
brand: {
|
|
19322
|
+
brandId: string;
|
|
19323
|
+
name: string;
|
|
19324
|
+
logoUrl?: string | null;
|
|
19325
|
+
brandColor?: string | null;
|
|
19326
|
+
slogan?: string | null;
|
|
19327
|
+
website?: string | null;
|
|
19328
|
+
};
|
|
19329
|
+
};
|
|
19330
|
+
questions: Array<{
|
|
19331
|
+
id: string;
|
|
19332
|
+
label: string;
|
|
19333
|
+
type: OfferQuestionType;
|
|
19334
|
+
options: Array<string>;
|
|
19335
|
+
required: boolean;
|
|
19336
|
+
}>;
|
|
19337
|
+
requirements: Array<{
|
|
19338
|
+
kind: OfferRequirementKind;
|
|
19339
|
+
met: boolean;
|
|
19340
|
+
index?: OfferPreferredIndex | null;
|
|
19341
|
+
min?: number | null;
|
|
19342
|
+
sportKeys?: Array<string> | null;
|
|
19343
|
+
levels?: Array<string> | null;
|
|
19344
|
+
minAge?: number | null;
|
|
19345
|
+
maxAge?: number | null;
|
|
19346
|
+
genders?: Array<OfferGender> | null;
|
|
19347
|
+
athleteScore?: number | null;
|
|
19348
|
+
athleteVerified?: boolean | null;
|
|
19349
|
+
athleteSportKeys?: Array<string> | null;
|
|
19350
|
+
athleteLevel?: string | null;
|
|
19351
|
+
athleteAge?: number | null;
|
|
19352
|
+
athleteGender?: OfferGender | null;
|
|
19353
|
+
fix?: OfferFixLink | null;
|
|
19354
|
+
countries?: Array<{
|
|
19355
|
+
countryId: string;
|
|
19356
|
+
name: string;
|
|
19357
|
+
}> | null;
|
|
19358
|
+
athleteCountry?: {
|
|
19359
|
+
countryId: string;
|
|
19360
|
+
name: string;
|
|
19361
|
+
} | null;
|
|
19362
|
+
}>;
|
|
19363
|
+
myClaim?: {
|
|
19364
|
+
claimId: string;
|
|
19365
|
+
code?: string | null;
|
|
19366
|
+
validUntil?: string | null;
|
|
19367
|
+
claimedAt: string;
|
|
19368
|
+
} | null;
|
|
19369
|
+
myApplication?: {
|
|
19370
|
+
claimId: string;
|
|
19371
|
+
status: OfferApplicationDecision;
|
|
19372
|
+
appliedAt: string;
|
|
19373
|
+
} | null;
|
|
19374
|
+
};
|
|
19375
|
+
};
|
|
19376
|
+
export type OfferSportOptionsQueryVariables = Exact<{
|
|
19377
|
+
[key: string]: never;
|
|
19378
|
+
}>;
|
|
19379
|
+
export type OfferSportOptionsQuery = {
|
|
19380
|
+
offerSportOptions: Array<{
|
|
19381
|
+
key: string;
|
|
19382
|
+
displayGroup: OfferSportDisplayGroup;
|
|
19383
|
+
}>;
|
|
19384
|
+
};
|
|
19385
|
+
export type SetOfferSavedMutationVariables = Exact<{
|
|
19386
|
+
offerId: Scalars['String']['input'];
|
|
19387
|
+
athleteId: Scalars['String']['input'];
|
|
19388
|
+
saved: Scalars['Boolean']['input'];
|
|
19389
|
+
}>;
|
|
19390
|
+
export type SetOfferSavedMutation = {
|
|
19391
|
+
setOfferSaved: boolean;
|
|
19392
|
+
};
|
|
19393
|
+
export type RecordOfferViewMutationVariables = Exact<{
|
|
19394
|
+
offerId: Scalars['String']['input'];
|
|
19395
|
+
athleteId: Scalars['String']['input'];
|
|
19396
|
+
}>;
|
|
19397
|
+
export type RecordOfferViewMutation = {
|
|
19398
|
+
recordOfferView: boolean;
|
|
19399
|
+
};
|
|
19400
|
+
export type OfferBrandsAdminQueryVariables = Exact<{
|
|
19401
|
+
[key: string]: never;
|
|
19402
|
+
}>;
|
|
19403
|
+
export type OfferBrandsAdminQuery = {
|
|
19404
|
+
offerBrandsAdmin: Array<{
|
|
19405
|
+
brandId: string;
|
|
19406
|
+
name: string;
|
|
19407
|
+
slogan?: string | null;
|
|
19408
|
+
website?: string | null;
|
|
19409
|
+
contactEmail?: string | null;
|
|
19410
|
+
contactPhone?: string | null;
|
|
19411
|
+
applicationEmails: Array<string>;
|
|
19412
|
+
copyToVtx: boolean;
|
|
19413
|
+
internalNote?: string | null;
|
|
19414
|
+
brandColor?: string | null;
|
|
19415
|
+
logoUrl?: string | null;
|
|
19416
|
+
logoFileId?: string | null;
|
|
19417
|
+
applicationsEmailMissing: boolean;
|
|
19418
|
+
offerCount: number;
|
|
19419
|
+
hasClaims: boolean;
|
|
19420
|
+
}>;
|
|
19421
|
+
};
|
|
19422
|
+
export type OfferBrandAdminQueryVariables = Exact<{
|
|
19423
|
+
brandId: Scalars['String']['input'];
|
|
19424
|
+
}>;
|
|
19425
|
+
export type OfferBrandAdminQuery = {
|
|
19426
|
+
offerBrandAdmin: {
|
|
19427
|
+
brandId: string;
|
|
19428
|
+
name: string;
|
|
19429
|
+
slogan?: string | null;
|
|
19430
|
+
website?: string | null;
|
|
19431
|
+
contactEmail?: string | null;
|
|
19432
|
+
contactPhone?: string | null;
|
|
19433
|
+
applicationEmails: Array<string>;
|
|
19434
|
+
copyToVtx: boolean;
|
|
19435
|
+
internalNote?: string | null;
|
|
19436
|
+
brandColor?: string | null;
|
|
19437
|
+
logoUrl?: string | null;
|
|
19438
|
+
logoFileId?: string | null;
|
|
19439
|
+
applicationsEmailMissing: boolean;
|
|
19440
|
+
offerCount: number;
|
|
19441
|
+
hasClaims: boolean;
|
|
19442
|
+
};
|
|
19443
|
+
};
|
|
19444
|
+
export type SaveOfferBrandMutationVariables = Exact<{
|
|
19445
|
+
input: SaveOfferBrandInput;
|
|
19446
|
+
}>;
|
|
19447
|
+
export type SaveOfferBrandMutation = {
|
|
19448
|
+
saveOfferBrand: {
|
|
19449
|
+
brandId: string;
|
|
19450
|
+
name: string;
|
|
19451
|
+
slogan?: string | null;
|
|
19452
|
+
website?: string | null;
|
|
19453
|
+
contactEmail?: string | null;
|
|
19454
|
+
contactPhone?: string | null;
|
|
19455
|
+
applicationEmails: Array<string>;
|
|
19456
|
+
copyToVtx: boolean;
|
|
19457
|
+
internalNote?: string | null;
|
|
19458
|
+
brandColor?: string | null;
|
|
19459
|
+
logoUrl?: string | null;
|
|
19460
|
+
logoFileId?: string | null;
|
|
19461
|
+
applicationsEmailMissing: boolean;
|
|
19462
|
+
offerCount: number;
|
|
19463
|
+
hasClaims: boolean;
|
|
19464
|
+
};
|
|
19465
|
+
};
|
|
18013
19466
|
export type OfferBasicFieldsFragment = {
|
|
18014
19467
|
_id: string;
|
|
18015
19468
|
name?: string | null;
|
|
@@ -22244,6 +23697,28 @@ export declare const DismissNotificationDocument: import("graphql").DocumentNode
|
|
|
22244
23697
|
export declare const RegisterDeviceTokenDocument: import("graphql").DocumentNode;
|
|
22245
23698
|
export declare const UnregisterDeviceTokenDocument: import("graphql").DocumentNode;
|
|
22246
23699
|
export declare const UpdateNotificationPreferencesDocument: import("graphql").DocumentNode;
|
|
23700
|
+
export declare const OfferActivityDocument: import("graphql").DocumentNode;
|
|
23701
|
+
export declare const OfferApplicationDocument: import("graphql").DocumentNode;
|
|
23702
|
+
export declare const SetOfferApplicationStatusDocument: import("graphql").DocumentNode;
|
|
23703
|
+
export declare const ResendOfferApplicationEmailDocument: import("graphql").DocumentNode;
|
|
23704
|
+
export declare const SaveOfferDocument: import("graphql").DocumentNode;
|
|
23705
|
+
export declare const AdminOffersDocument: import("graphql").DocumentNode;
|
|
23706
|
+
export declare const AdminOfferDocument: import("graphql").DocumentNode;
|
|
23707
|
+
export declare const SetOfferPublishStateDocument: import("graphql").DocumentNode;
|
|
23708
|
+
export declare const SetOfferFeaturedDocument: import("graphql").DocumentNode;
|
|
23709
|
+
export declare const DuplicateOfferDocument: import("graphql").DocumentNode;
|
|
23710
|
+
export declare const DeleteUnusedOfferDocument: import("graphql").DocumentNode;
|
|
23711
|
+
export declare const ApplyToOfferDocument: import("graphql").DocumentNode;
|
|
23712
|
+
export declare const WithdrawOfferApplicationDocument: import("graphql").DocumentNode;
|
|
23713
|
+
export declare const AthleteOffersDocument: import("graphql").DocumentNode;
|
|
23714
|
+
export declare const MyOfferWalletDocument: import("graphql").DocumentNode;
|
|
23715
|
+
export declare const AthleteOfferDocument: import("graphql").DocumentNode;
|
|
23716
|
+
export declare const OfferSportOptionsDocument: import("graphql").DocumentNode;
|
|
23717
|
+
export declare const SetOfferSavedDocument: import("graphql").DocumentNode;
|
|
23718
|
+
export declare const RecordOfferViewDocument: import("graphql").DocumentNode;
|
|
23719
|
+
export declare const OfferBrandsAdminDocument: import("graphql").DocumentNode;
|
|
23720
|
+
export declare const OfferBrandAdminDocument: import("graphql").DocumentNode;
|
|
23721
|
+
export declare const SaveOfferBrandDocument: import("graphql").DocumentNode;
|
|
22247
23722
|
export declare const CreateOfferDocument: import("graphql").DocumentNode;
|
|
22248
23723
|
export declare const UpdateOfferDocument: import("graphql").DocumentNode;
|
|
22249
23724
|
export declare const DeleteOfferDocument: import("graphql").DocumentNode;
|
|
@@ -22659,6 +24134,28 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
22659
24134
|
RegisterDeviceToken(variables: RegisterDeviceTokenMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<RegisterDeviceTokenMutation>;
|
|
22660
24135
|
UnregisterDeviceToken(variables: UnregisterDeviceTokenMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<UnregisterDeviceTokenMutation>;
|
|
22661
24136
|
UpdateNotificationPreferences(variables: UpdateNotificationPreferencesMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<UpdateNotificationPreferencesMutation>;
|
|
24137
|
+
OfferActivity(variables: OfferActivityQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<OfferActivityQuery>;
|
|
24138
|
+
OfferApplication(variables: OfferApplicationQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<OfferApplicationQuery>;
|
|
24139
|
+
SetOfferApplicationStatus(variables: SetOfferApplicationStatusMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<SetOfferApplicationStatusMutation>;
|
|
24140
|
+
ResendOfferApplicationEmail(variables: ResendOfferApplicationEmailMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ResendOfferApplicationEmailMutation>;
|
|
24141
|
+
SaveOffer(variables: SaveOfferMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<SaveOfferMutation>;
|
|
24142
|
+
AdminOffers(variables: AdminOffersQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<AdminOffersQuery>;
|
|
24143
|
+
AdminOffer(variables: AdminOfferQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<AdminOfferQuery>;
|
|
24144
|
+
SetOfferPublishState(variables: SetOfferPublishStateMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<SetOfferPublishStateMutation>;
|
|
24145
|
+
SetOfferFeatured(variables: SetOfferFeaturedMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<SetOfferFeaturedMutation>;
|
|
24146
|
+
DuplicateOffer(variables: DuplicateOfferMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<DuplicateOfferMutation>;
|
|
24147
|
+
DeleteUnusedOffer(variables: DeleteUnusedOfferMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<DeleteUnusedOfferMutation>;
|
|
24148
|
+
ApplyToOffer(variables: ApplyToOfferMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ApplyToOfferMutation>;
|
|
24149
|
+
WithdrawOfferApplication(variables: WithdrawOfferApplicationMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<WithdrawOfferApplicationMutation>;
|
|
24150
|
+
AthleteOffers(variables: AthleteOffersQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<AthleteOffersQuery>;
|
|
24151
|
+
MyOfferWallet(variables: MyOfferWalletQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<MyOfferWalletQuery>;
|
|
24152
|
+
AthleteOffer(variables: AthleteOfferQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<AthleteOfferQuery>;
|
|
24153
|
+
OfferSportOptions(variables?: OfferSportOptionsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<OfferSportOptionsQuery>;
|
|
24154
|
+
SetOfferSaved(variables: SetOfferSavedMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<SetOfferSavedMutation>;
|
|
24155
|
+
RecordOfferView(variables: RecordOfferViewMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<RecordOfferViewMutation>;
|
|
24156
|
+
OfferBrandsAdmin(variables?: OfferBrandsAdminQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<OfferBrandsAdminQuery>;
|
|
24157
|
+
OfferBrandAdmin(variables: OfferBrandAdminQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<OfferBrandAdminQuery>;
|
|
24158
|
+
SaveOfferBrand(variables: SaveOfferBrandMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<SaveOfferBrandMutation>;
|
|
22662
24159
|
CreateOffer(variables: CreateOfferMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateOfferMutation>;
|
|
22663
24160
|
UpdateOffer(variables: UpdateOfferMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<UpdateOfferMutation>;
|
|
22664
24161
|
DeleteOffer(variables: DeleteOfferMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<DeleteOfferMutation>;
|