@vertikalx/vtx-backend-client 3.5.5-dev-ven.22 → 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
|
@@ -6,10 +6,10 @@ exports.RefreshTokenDocument = exports.ValidateUserCredentialsVtxDocument = expo
|
|
|
6
6
|
exports.GetTransactionDetailsDocument = exports.GetReceiptDocument = exports.GetReceiptUrlDocument = exports.CreateStripeAccountLinkDocument = exports.CreateStripeLoginLinkDocument = exports.DonationResultDocument = exports.CompleteDonationDocument = exports.ConfirmDonationDocument = exports.QuoteDonationDocument = exports.DonationRecipientPayoutDocument = exports.DonationCheckoutConfigDocument = exports.CreateStripeCheckoutSessionDocument = exports.CreateAthleteStripeSessionDocument = exports.CreateStripeAccountDocument = exports.StripeQueryDocument = exports.GetStripeBalanceDocument = exports.GetDonationsPaginatedDocument = exports.GetDonationDatesForCalendarDocument = exports.GetDonationsByUserDocument = exports.GetDonationsToMeDocument = exports.GetDonationsToAthleteDocument = exports.GetDonationsByMemberDocument = exports.GetDonationsByAthleteDocument = exports.SetCurrentCampaignDocument = exports.SetFundingStatusDocument = exports.DeleteFundingCampaignsDocument = exports.DeleteFundingCampaignDocument = exports.UpdateFundingCampaignDocument = exports.CreateFundingCampaignDocument = exports.BrowseCampaignsDocument = exports.GetAthleteCampaignsDocument = exports.ListBlogPostSlugsDocument = exports.ListBlogPostsAdminDocument = exports.GetBlogPostDocument = exports.ListBlogPostsDocument = exports.ValidateTokenDocument = exports.DeleteVtxUserDocument = exports.DeleteMyAccountDocument = exports.UpdateUserSuspendedStatusDocument = exports.ResetUserPasswordDocument = exports.VerifyCodeDocument = exports.GetResetVerificationCodeDocument = exports.CreateResetPasswordCodeDocument = exports.ConfirmAthleteUserRegistrationDocument = exports.ConfirmAthleteUserRegistrationAndLoginDocument = exports.PreRegisterAthleteUserDocument = exports.RegisterSponsorUserDocument = exports.RegisterAthleteUserDocument = exports.RegisterUserDocument = exports.IsUserSuspendedDocument = void 0;
|
|
7
7
|
exports.OffersForAthleteDocument = exports.OffersDocument = exports.GetBudgetItemUnitsDocument = exports.GetRecentDonationsForCampaignDocument = exports.FindSportByIdDocument = exports.QueryAthleteWithFilterDocument = exports.GetAthleteAlbumIdDocument = exports.FindAthletebyIdpublicDocument = exports.ListSponsorOrgUsersDocument = exports.ListSponsorFavoritesDocument = exports.SponsorsDocument = exports.ExistsValidSponsorForEmailDocument = exports.GetBrandTranslationDocument = exports.GetBrandByNameDocument = exports.BrandsDocument = exports.FindIndustryByIdDocument = exports.IndustriesDocument = exports.GetUploadUrlDocument = exports.ValidateUserCredentialsDocument = exports.FindUserByIdDocument = exports.IsTenantUriAvailableDocument = exports.GetTenantsDocument = exports.FindTenantByEmailDocument = exports.FindTenantByIdDocument = exports.MyFollowedAthletesDocument = exports.IsFollowingAthleteDocument = exports.UnfollowAthleteDocument = exports.FollowAthleteDocument = exports.DeleteEmailSegmentDocument = exports.UpdateEmailSegmentDocument = exports.CreateEmailSegmentDocument = exports.CancelScheduledEmailDocument = exports.ScheduleEmailCampaignDocument = exports.SendBulkEmailDocument = exports.SendTestEmailDocument = exports.CloneEmailCampaignDocument = exports.DeleteEmailCampaignDocument = exports.UpdateEmailCampaignDocument = exports.CreateEmailCampaignDocument = exports.GetEmailSegmentsDocument = exports.GetSendGridTemplatePreviewDocument = exports.GetSendGridTemplatesDocument = exports.GetAudiencePreviewDocument = exports.GetEmailCampaignsDocument = exports.SendThankYouDocument = exports.UpdateThankYouTemplateDocument = exports.DonationThankYouDocument = exports.CampaignThankYousDocument = exports.GetTransactionsPaginatedDocument = exports.GetAllTransactionsDocument = void 0;
|
|
8
8
|
exports.GetAthleteProviderConnectionsDocument = exports.GetStravaLoginUrlDocument = exports.GetAthleteIntegrationsDocument = exports.GetAthleteInstagramIntegrationDocument = exports.GetAthleteStravaIntegrationDocument = exports.GetAthleteIntegrationsByAthleteDocument = exports.RequestMyDataExportDocument = exports.DeleteBlogPostDocument = exports.UpdateBlogPostDocument = exports.CreateBlogPostDocument = exports.SetClubCampaignPermissionDocument = exports.ApproveClubDocument = exports.SetTeamCampaignPermissionDocument = exports.ApproveTeamDocument = exports.SubmitHealthKitActivitiesDocument = exports.DeleteAthleteMembershipAffilationDocument = exports.IngestCompetitionResultDocument = exports.DeleteAthletePhotosDocument = exports.EditAlbumDocument = exports.ReorderAlbumIndexDocument = exports.SetAthleteVerifiedOverrideDocument = exports.TransferSponsorOwnershipDocument = exports.RevokeSponsorUserInvitationDocument = exports.ChangeSponsorUserRoleDocument = exports.RemoveSponsorUserDocument = exports.AcceptSponsorUserInvitationDocument = exports.InviteSponsorUserDocument = exports.RemoveSponsorFavoriteDocument = exports.AddSponsorFavoriteDocument = exports.RejectSponsorDocument = exports.ApproveSponsorDocument = exports.CreateIndustryDocument = exports.DeleteUploadedBucketFileDocument = exports.DeleteUploadedUseTypeFileDocument = exports.RevokeRefreshTokenDocument = exports.LoginUserFromCredentialsDocument = exports.ClientCompatibilityDocument = exports.GetEmailCampaignDocument = exports.PostsWithComparisonDocument = exports.SocialAggregatesDocument = exports.AthleteActivityDatesDocument = exports.AthleteComponentSummaryDocument = exports.AthleteActivityDetailDocument = exports.AthleteActivitiesDocument = exports.AthleteRankContextDocument = exports.AthleteRankHistoryDocument = exports.AthleteScoreHistoryDocument = exports.AthleteDashboardDocument = exports.OfferAvailabilityDocument = exports.OfferDocument = void 0;
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
12
|
-
exports.SetPreferredLocaleDocument = exports.MyPreferredLocaleDocument = exports.GetDatabaseTextFileDocument = exports.GetUsersPaginatedDocument = exports.GetAllUsersDocument = void 0;
|
|
9
|
+
exports.RecordOfferViewDocument = exports.SetOfferSavedDocument = exports.OfferSportOptionsDocument = exports.AthleteOfferDocument = exports.MyOfferWalletDocument = exports.AthleteOffersDocument = exports.WithdrawOfferApplicationDocument = exports.ApplyToOfferDocument = exports.DeleteUnusedOfferDocument = exports.DuplicateOfferDocument = exports.SetOfferFeaturedDocument = exports.SetOfferPublishStateDocument = exports.AdminOfferDocument = exports.AdminOffersDocument = exports.SaveOfferDocument = exports.ResendOfferApplicationEmailDocument = exports.SetOfferApplicationStatusDocument = exports.OfferApplicationDocument = exports.OfferActivityDocument = exports.UpdateNotificationPreferencesDocument = exports.UnregisterDeviceTokenDocument = exports.RegisterDeviceTokenDocument = exports.DismissNotificationDocument = exports.MarkAllNotificationsAsReadDocument = exports.MarkNotificationAsReadDocument = exports.MyNotificationPreferencesDocument = exports.NotificationUnreadCountDocument = exports.MyNotificationsDocument = exports.RegisterS3UploadedFileDocument = exports.DeleteUploadedTypeKeyFileDocument = exports.DeleteAlbumFotosDocument = exports.ReorderAlbumsDocument = exports.DeleteAthleteAlbumDocument = exports.CreateAthleteAlbumDocument = exports.EditAlbumsPicturesDocument = exports.AddAlbumPicturesDocument = exports.GetAndSetAlbumByIdDocument = exports.GetAthleteAlbumsByIdDocument = exports.GetPublicAthleteAlbumsDocument = exports.GetAthleteAlbumsDocument = exports.GetVtxS3UploadUrlDocument = exports.GetS3UploadUrlDocument = exports.RebuildLeaderboardCacheDocument = exports.GetUserRankDocument = exports.GetAthleteRatingDocument = exports.GetLeaderboardDocument = exports.DisconnectProviderDocument = exports.UnlinkInstagramDocument = exports.UpdateAthleteIntegrationDocument = exports.AdminAthleteIntegrationsDocument = void 0;
|
|
10
|
+
exports.GetPublicSponsorshipsDocument = exports.UpdateMyPreferencesDocument = exports.MyPreferencesDocument = exports.MyBrandsDocument = exports.CreateMyBrandDocument = exports.UpdateMyBrandDocument = exports.UpdateMyOrgProfileDocument = exports.RegisterSponsorDocument = exports.DeleteSponsorDocument = exports.UpdateSponsorDocument = exports.CreateSponsorDocument = exports.GetSponsorsPaginatedDocument = exports.GetSponsorsDocument = exports.TransferBrandDocument = exports.DeleteBrandDocument = exports.UpdateBrandDocument = exports.CreateBrandDocument = exports.GetBrandsPaginatedDocument = exports.GetBrandsDocument = exports.FindBrandByNameDocument = exports.SendPushCampaignDocument = exports.GetMySponsorOnboardingDataDocument = exports.GetSponsorOnboardingProgressDocument = exports.UpdateSponsorOnboardingProgressDocument = exports.GetOnboardingProgressDocument = exports.UpdateOnboardingProgressDocument = exports.DeleteOnboardingAthleteDocument = exports.MyOfferClaimsDocument = exports.OfferApplicationsDocument = exports.GetMyOfferClaimsDocument = exports.GetOffersForAthleteDocument = exports.GetOfferByIdDocument = exports.OffersWithEligibilityDocument = exports.GetOffersPaginatedDocument = exports.GetOffersDocument = exports.RemoveOfferClaimDocument = exports.WithdrawSponsorshipApplicationDocument = exports.DecideSponsorshipApplicationDocument = exports.ApplyToSponsorshipDocument = exports.ClaimOfferDocument = exports.UploadCouponCodesDocument = exports.DeactivateOfferDocument = exports.ActivateOfferDocument = exports.SetOfferStatusDocument = exports.DeleteOfferDocument = exports.UpdateOfferDocument = exports.CreateOfferDocument = exports.SaveOfferBrandDocument = exports.OfferBrandAdminDocument = exports.OfferBrandsAdminDocument = void 0;
|
|
11
|
+
exports.CreateMembershipFeeCheckoutDocument = exports.CreateClubDonationCheckoutDocument = exports.CreateClubStripeAccountDocument = exports.ManageClubMemberDocument = exports.InviteToClubDocument = exports.LeaveClubDocument = exports.JoinClubDocument = exports.UpdateClubDocument = exports.CreateClubDocument = exports.GetClubStripeAccountStatusDocument = exports.GetClubMembersDocument = exports.GetMyClubsDocument = exports.FindAllClubsDocument = exports.FindClubsDocument = exports.FindClubByIdDocument = exports.CreateTeamDonationCheckoutDocument = exports.CreateTeamStripeAccountDocument = exports.ManageTeamMemberDocument = exports.InviteToTeamDocument = exports.LeaveTeamDocument = exports.JoinTeamDocument = exports.UpdateTeamDocument = exports.CreateTeamDocument = exports.GetTeamStripeAccountStatusDocument = exports.GetTeamDashboardDocument = exports.GetTeamLeaderboardDocument = exports.GetTeamAnalyticsDocument = exports.GetTeamRosterDocument = exports.GetMyTeamsDocument = exports.FindAllTeamsDocument = exports.FindTeamsDocument = exports.FindTeamByIdDocument = exports.CreateCityDocument = exports.CreateStateDocument = exports.CreateCountryDocument = exports.CreateSportLevelDocument = exports.DeleteSportDocument = exports.GetSportUsageDocument = exports.UpdateSportDocument = exports.CreateSportDocument = exports.GetStateCitiesDocument = exports.GetCountryStatesDocument = exports.GetStatesDocument = exports.GetCountriesDocument = exports.GetSportLevelsDocument = exports.GetSportsPaginatedDocument = exports.GetSportsDocument = exports.CreateSponsorshipDocument = exports.MySponsorAthleteInvitationsDocument = exports.GetTenantSponsorshipsDocument = void 0;
|
|
12
|
+
exports.SetPreferredLocaleDocument = exports.MyPreferredLocaleDocument = exports.GetDatabaseTextFileDocument = exports.GetUsersPaginatedDocument = exports.GetAllUsersDocument = exports.ScreenNameAvailabilityDocument = exports.FindCityByIdDocument = exports.FindCitiesStartingWithDocument = exports.MyAthleteInvitationsDocument = exports.DeclineSponsorAthleteInvitationDocument = exports.AcceptSponsorAthleteInvitationDocument = exports.SendAthleteInvitationsDocument = exports.FindSponsorAthleteInvitationDocument = exports.FindMemberForUserDocument = exports.RegisterMemberDocument = exports.RegisterUserToDomainFromEmailDocument = exports.RegisterNewDomainTenantWithLoginDocument = exports.RegisterNewDomainTenantDocument = exports.GetUserImagesFromEmailDocument = exports.FindVtxUserDocument = exports.FindUserByEmailDocument = exports.GetUsageVersionMixDocument = exports.GetActiveNowDocument = exports.GetRetentionCohortsDocument = exports.GetUsageFunnelDocument = exports.GetUsageRollupDocument = exports.TrackUsageEventsDocument = void 0;
|
|
13
13
|
exports.getSdk = getSdk;
|
|
14
14
|
const graphql_tag_1 = require("graphql-tag");
|
|
15
15
|
exports.CutoverArchiveAthleteFieldsFragmentDoc = (0, graphql_tag_1.default) `
|
|
@@ -7412,6 +7412,903 @@ exports.UpdateNotificationPreferencesDocument = (0, graphql_tag_1.default) `
|
|
|
7412
7412
|
}
|
|
7413
7413
|
}
|
|
7414
7414
|
`;
|
|
7415
|
+
exports.OfferActivityDocument = (0, graphql_tag_1.default) `
|
|
7416
|
+
query OfferActivity($offerId: String!) {
|
|
7417
|
+
offerActivity(offerId: $offerId) {
|
|
7418
|
+
offerId
|
|
7419
|
+
title
|
|
7420
|
+
brandName
|
|
7421
|
+
kind
|
|
7422
|
+
method
|
|
7423
|
+
publishState
|
|
7424
|
+
startDate
|
|
7425
|
+
preferredIndex
|
|
7426
|
+
applicationEmails
|
|
7427
|
+
copyToVtx
|
|
7428
|
+
counters {
|
|
7429
|
+
views
|
|
7430
|
+
saves
|
|
7431
|
+
claims
|
|
7432
|
+
applications
|
|
7433
|
+
ratePercent
|
|
7434
|
+
}
|
|
7435
|
+
applications {
|
|
7436
|
+
claimId
|
|
7437
|
+
athleteName
|
|
7438
|
+
photoUrl
|
|
7439
|
+
sportKeys
|
|
7440
|
+
level
|
|
7441
|
+
countryName
|
|
7442
|
+
verified
|
|
7443
|
+
scores {
|
|
7444
|
+
VTX
|
|
7445
|
+
TPI
|
|
7446
|
+
API
|
|
7447
|
+
SPI
|
|
7448
|
+
}
|
|
7449
|
+
appliedAt
|
|
7450
|
+
status
|
|
7451
|
+
emailStatus
|
|
7452
|
+
emailSentAt
|
|
7453
|
+
athleteNotified
|
|
7454
|
+
}
|
|
7455
|
+
claims {
|
|
7456
|
+
claimId
|
|
7457
|
+
athleteName
|
|
7458
|
+
photoUrl
|
|
7459
|
+
level
|
|
7460
|
+
scores {
|
|
7461
|
+
VTX
|
|
7462
|
+
TPI
|
|
7463
|
+
API
|
|
7464
|
+
SPI
|
|
7465
|
+
}
|
|
7466
|
+
claimedAt
|
|
7467
|
+
}
|
|
7468
|
+
claimsShown
|
|
7469
|
+
claimsTotal
|
|
7470
|
+
}
|
|
7471
|
+
}
|
|
7472
|
+
`;
|
|
7473
|
+
exports.OfferApplicationDocument = (0, graphql_tag_1.default) `
|
|
7474
|
+
query OfferApplication($claimId: String!) {
|
|
7475
|
+
offerApplication(claimId: $claimId) {
|
|
7476
|
+
row {
|
|
7477
|
+
claimId
|
|
7478
|
+
athleteName
|
|
7479
|
+
photoUrl
|
|
7480
|
+
sportKeys
|
|
7481
|
+
level
|
|
7482
|
+
countryName
|
|
7483
|
+
verified
|
|
7484
|
+
scores {
|
|
7485
|
+
VTX
|
|
7486
|
+
TPI
|
|
7487
|
+
API
|
|
7488
|
+
SPI
|
|
7489
|
+
}
|
|
7490
|
+
appliedAt
|
|
7491
|
+
status
|
|
7492
|
+
emailStatus
|
|
7493
|
+
emailSentAt
|
|
7494
|
+
athleteNotified
|
|
7495
|
+
}
|
|
7496
|
+
offerId
|
|
7497
|
+
offerTitle
|
|
7498
|
+
brandName
|
|
7499
|
+
email
|
|
7500
|
+
ageGroup
|
|
7501
|
+
instagramHandle
|
|
7502
|
+
results
|
|
7503
|
+
answers {
|
|
7504
|
+
questionId
|
|
7505
|
+
label
|
|
7506
|
+
answer
|
|
7507
|
+
}
|
|
7508
|
+
consentAt
|
|
7509
|
+
emailLog {
|
|
7510
|
+
kind
|
|
7511
|
+
toEmails
|
|
7512
|
+
bccVtx
|
|
7513
|
+
status
|
|
7514
|
+
createdAt
|
|
7515
|
+
triggeredByAdminEmail
|
|
7516
|
+
}
|
|
7517
|
+
}
|
|
7518
|
+
}
|
|
7519
|
+
`;
|
|
7520
|
+
exports.SetOfferApplicationStatusDocument = (0, graphql_tag_1.default) `
|
|
7521
|
+
mutation SetOfferApplicationStatus($claimId: String!, $status: OfferApplicationDecision!) {
|
|
7522
|
+
setOfferApplicationStatus(claimId: $claimId, status: $status) {
|
|
7523
|
+
row {
|
|
7524
|
+
claimId
|
|
7525
|
+
athleteName
|
|
7526
|
+
photoUrl
|
|
7527
|
+
sportKeys
|
|
7528
|
+
level
|
|
7529
|
+
countryName
|
|
7530
|
+
verified
|
|
7531
|
+
scores {
|
|
7532
|
+
VTX
|
|
7533
|
+
TPI
|
|
7534
|
+
API
|
|
7535
|
+
SPI
|
|
7536
|
+
}
|
|
7537
|
+
appliedAt
|
|
7538
|
+
status
|
|
7539
|
+
emailStatus
|
|
7540
|
+
emailSentAt
|
|
7541
|
+
athleteNotified
|
|
7542
|
+
}
|
|
7543
|
+
offerId
|
|
7544
|
+
offerTitle
|
|
7545
|
+
brandName
|
|
7546
|
+
email
|
|
7547
|
+
ageGroup
|
|
7548
|
+
instagramHandle
|
|
7549
|
+
results
|
|
7550
|
+
answers {
|
|
7551
|
+
questionId
|
|
7552
|
+
label
|
|
7553
|
+
answer
|
|
7554
|
+
}
|
|
7555
|
+
consentAt
|
|
7556
|
+
emailLog {
|
|
7557
|
+
kind
|
|
7558
|
+
toEmails
|
|
7559
|
+
bccVtx
|
|
7560
|
+
status
|
|
7561
|
+
createdAt
|
|
7562
|
+
triggeredByAdminEmail
|
|
7563
|
+
}
|
|
7564
|
+
}
|
|
7565
|
+
}
|
|
7566
|
+
`;
|
|
7567
|
+
exports.ResendOfferApplicationEmailDocument = (0, graphql_tag_1.default) `
|
|
7568
|
+
mutation ResendOfferApplicationEmail($claimId: String!) {
|
|
7569
|
+
resendOfferApplicationEmail(claimId: $claimId) {
|
|
7570
|
+
row {
|
|
7571
|
+
claimId
|
|
7572
|
+
athleteName
|
|
7573
|
+
photoUrl
|
|
7574
|
+
sportKeys
|
|
7575
|
+
level
|
|
7576
|
+
countryName
|
|
7577
|
+
verified
|
|
7578
|
+
scores {
|
|
7579
|
+
VTX
|
|
7580
|
+
TPI
|
|
7581
|
+
API
|
|
7582
|
+
SPI
|
|
7583
|
+
}
|
|
7584
|
+
appliedAt
|
|
7585
|
+
status
|
|
7586
|
+
emailStatus
|
|
7587
|
+
emailSentAt
|
|
7588
|
+
athleteNotified
|
|
7589
|
+
}
|
|
7590
|
+
offerId
|
|
7591
|
+
offerTitle
|
|
7592
|
+
brandName
|
|
7593
|
+
email
|
|
7594
|
+
ageGroup
|
|
7595
|
+
instagramHandle
|
|
7596
|
+
results
|
|
7597
|
+
answers {
|
|
7598
|
+
questionId
|
|
7599
|
+
label
|
|
7600
|
+
answer
|
|
7601
|
+
}
|
|
7602
|
+
consentAt
|
|
7603
|
+
emailLog {
|
|
7604
|
+
kind
|
|
7605
|
+
toEmails
|
|
7606
|
+
bccVtx
|
|
7607
|
+
status
|
|
7608
|
+
createdAt
|
|
7609
|
+
triggeredByAdminEmail
|
|
7610
|
+
}
|
|
7611
|
+
}
|
|
7612
|
+
}
|
|
7613
|
+
`;
|
|
7614
|
+
exports.SaveOfferDocument = (0, graphql_tag_1.default) `
|
|
7615
|
+
mutation SaveOffer($input: SaveOfferInput!, $publish: Boolean!) {
|
|
7616
|
+
saveOffer(input: $input, publish: $publish) {
|
|
7617
|
+
offer {
|
|
7618
|
+
offerId
|
|
7619
|
+
brandId
|
|
7620
|
+
brandName
|
|
7621
|
+
kind
|
|
7622
|
+
method
|
|
7623
|
+
category
|
|
7624
|
+
publishState
|
|
7625
|
+
title
|
|
7626
|
+
summary
|
|
7627
|
+
badge
|
|
7628
|
+
coverKind
|
|
7629
|
+
coverBackground
|
|
7630
|
+
coverColor
|
|
7631
|
+
benefits
|
|
7632
|
+
howItWorks
|
|
7633
|
+
code
|
|
7634
|
+
startDate
|
|
7635
|
+
endDate
|
|
7636
|
+
durationKind
|
|
7637
|
+
durationText
|
|
7638
|
+
terms
|
|
7639
|
+
contactEmail
|
|
7640
|
+
contactPhone
|
|
7641
|
+
officialUrl
|
|
7642
|
+
featured
|
|
7643
|
+
publishedAt
|
|
7644
|
+
editedAt
|
|
7645
|
+
dateCreated
|
|
7646
|
+
coverImageUrl
|
|
7647
|
+
coverImageFileId
|
|
7648
|
+
askChips
|
|
7649
|
+
askNote
|
|
7650
|
+
spots
|
|
7651
|
+
applicationsCloseDate
|
|
7652
|
+
replyWithinDays
|
|
7653
|
+
questions {
|
|
7654
|
+
id
|
|
7655
|
+
label
|
|
7656
|
+
type
|
|
7657
|
+
options
|
|
7658
|
+
required
|
|
7659
|
+
}
|
|
7660
|
+
preferredIndex
|
|
7661
|
+
minScore
|
|
7662
|
+
verifiedOnly
|
|
7663
|
+
sportKeys
|
|
7664
|
+
countries {
|
|
7665
|
+
countryId
|
|
7666
|
+
name
|
|
7667
|
+
}
|
|
7668
|
+
levels
|
|
7669
|
+
minAge
|
|
7670
|
+
maxAge
|
|
7671
|
+
genders
|
|
7672
|
+
brand {
|
|
7673
|
+
brandId
|
|
7674
|
+
name
|
|
7675
|
+
logoUrl
|
|
7676
|
+
brandColor
|
|
7677
|
+
hasLogo
|
|
7678
|
+
applicationEmails
|
|
7679
|
+
copyToVtx
|
|
7680
|
+
contactEmail
|
|
7681
|
+
contactPhone
|
|
7682
|
+
website
|
|
7683
|
+
}
|
|
7684
|
+
claims
|
|
7685
|
+
applications
|
|
7686
|
+
views
|
|
7687
|
+
saves
|
|
7688
|
+
hasClaims
|
|
7689
|
+
isEnded
|
|
7690
|
+
}
|
|
7691
|
+
missing {
|
|
7692
|
+
key
|
|
7693
|
+
fieldId
|
|
7694
|
+
brandName
|
|
7695
|
+
}
|
|
7696
|
+
published
|
|
7697
|
+
}
|
|
7698
|
+
}
|
|
7699
|
+
`;
|
|
7700
|
+
exports.AdminOffersDocument = (0, graphql_tag_1.default) `
|
|
7701
|
+
query AdminOffers($query: AdminOffersQueryInput!) {
|
|
7702
|
+
adminOffers(query: $query) {
|
|
7703
|
+
items {
|
|
7704
|
+
offerId
|
|
7705
|
+
title
|
|
7706
|
+
brandId
|
|
7707
|
+
brandName
|
|
7708
|
+
kind
|
|
7709
|
+
method
|
|
7710
|
+
publishState
|
|
7711
|
+
featured
|
|
7712
|
+
isEnded
|
|
7713
|
+
startDate
|
|
7714
|
+
endDate
|
|
7715
|
+
claims
|
|
7716
|
+
applications
|
|
7717
|
+
views
|
|
7718
|
+
saves
|
|
7719
|
+
}
|
|
7720
|
+
total
|
|
7721
|
+
}
|
|
7722
|
+
}
|
|
7723
|
+
`;
|
|
7724
|
+
exports.AdminOfferDocument = (0, graphql_tag_1.default) `
|
|
7725
|
+
query AdminOffer($offerId: String!) {
|
|
7726
|
+
adminOffer(offerId: $offerId) {
|
|
7727
|
+
offerId
|
|
7728
|
+
brandId
|
|
7729
|
+
brandName
|
|
7730
|
+
kind
|
|
7731
|
+
method
|
|
7732
|
+
category
|
|
7733
|
+
publishState
|
|
7734
|
+
title
|
|
7735
|
+
summary
|
|
7736
|
+
badge
|
|
7737
|
+
coverKind
|
|
7738
|
+
coverBackground
|
|
7739
|
+
coverColor
|
|
7740
|
+
benefits
|
|
7741
|
+
howItWorks
|
|
7742
|
+
code
|
|
7743
|
+
startDate
|
|
7744
|
+
endDate
|
|
7745
|
+
durationKind
|
|
7746
|
+
durationText
|
|
7747
|
+
terms
|
|
7748
|
+
contactEmail
|
|
7749
|
+
contactPhone
|
|
7750
|
+
officialUrl
|
|
7751
|
+
featured
|
|
7752
|
+
publishedAt
|
|
7753
|
+
editedAt
|
|
7754
|
+
dateCreated
|
|
7755
|
+
coverImageUrl
|
|
7756
|
+
coverImageFileId
|
|
7757
|
+
askChips
|
|
7758
|
+
askNote
|
|
7759
|
+
spots
|
|
7760
|
+
applicationsCloseDate
|
|
7761
|
+
replyWithinDays
|
|
7762
|
+
questions {
|
|
7763
|
+
id
|
|
7764
|
+
label
|
|
7765
|
+
type
|
|
7766
|
+
options
|
|
7767
|
+
required
|
|
7768
|
+
}
|
|
7769
|
+
preferredIndex
|
|
7770
|
+
minScore
|
|
7771
|
+
verifiedOnly
|
|
7772
|
+
sportKeys
|
|
7773
|
+
countries {
|
|
7774
|
+
countryId
|
|
7775
|
+
name
|
|
7776
|
+
}
|
|
7777
|
+
levels
|
|
7778
|
+
minAge
|
|
7779
|
+
maxAge
|
|
7780
|
+
genders
|
|
7781
|
+
brand {
|
|
7782
|
+
brandId
|
|
7783
|
+
name
|
|
7784
|
+
logoUrl
|
|
7785
|
+
brandColor
|
|
7786
|
+
hasLogo
|
|
7787
|
+
applicationEmails
|
|
7788
|
+
copyToVtx
|
|
7789
|
+
contactEmail
|
|
7790
|
+
contactPhone
|
|
7791
|
+
website
|
|
7792
|
+
}
|
|
7793
|
+
claims
|
|
7794
|
+
applications
|
|
7795
|
+
views
|
|
7796
|
+
saves
|
|
7797
|
+
hasClaims
|
|
7798
|
+
isEnded
|
|
7799
|
+
}
|
|
7800
|
+
}
|
|
7801
|
+
`;
|
|
7802
|
+
exports.SetOfferPublishStateDocument = (0, graphql_tag_1.default) `
|
|
7803
|
+
mutation SetOfferPublishState($offerId: String!, $state: OfferPublishState!) {
|
|
7804
|
+
setOfferPublishState(offerId: $offerId, state: $state) {
|
|
7805
|
+
offerId
|
|
7806
|
+
brandId
|
|
7807
|
+
brandName
|
|
7808
|
+
kind
|
|
7809
|
+
method
|
|
7810
|
+
category
|
|
7811
|
+
publishState
|
|
7812
|
+
title
|
|
7813
|
+
summary
|
|
7814
|
+
badge
|
|
7815
|
+
coverKind
|
|
7816
|
+
coverBackground
|
|
7817
|
+
coverColor
|
|
7818
|
+
benefits
|
|
7819
|
+
howItWorks
|
|
7820
|
+
code
|
|
7821
|
+
startDate
|
|
7822
|
+
endDate
|
|
7823
|
+
durationKind
|
|
7824
|
+
durationText
|
|
7825
|
+
terms
|
|
7826
|
+
contactEmail
|
|
7827
|
+
contactPhone
|
|
7828
|
+
officialUrl
|
|
7829
|
+
featured
|
|
7830
|
+
publishedAt
|
|
7831
|
+
editedAt
|
|
7832
|
+
dateCreated
|
|
7833
|
+
coverImageUrl
|
|
7834
|
+
coverImageFileId
|
|
7835
|
+
askChips
|
|
7836
|
+
askNote
|
|
7837
|
+
spots
|
|
7838
|
+
applicationsCloseDate
|
|
7839
|
+
replyWithinDays
|
|
7840
|
+
questions {
|
|
7841
|
+
id
|
|
7842
|
+
label
|
|
7843
|
+
type
|
|
7844
|
+
options
|
|
7845
|
+
required
|
|
7846
|
+
}
|
|
7847
|
+
preferredIndex
|
|
7848
|
+
minScore
|
|
7849
|
+
verifiedOnly
|
|
7850
|
+
sportKeys
|
|
7851
|
+
countries {
|
|
7852
|
+
countryId
|
|
7853
|
+
name
|
|
7854
|
+
}
|
|
7855
|
+
levels
|
|
7856
|
+
minAge
|
|
7857
|
+
maxAge
|
|
7858
|
+
genders
|
|
7859
|
+
brand {
|
|
7860
|
+
brandId
|
|
7861
|
+
name
|
|
7862
|
+
logoUrl
|
|
7863
|
+
brandColor
|
|
7864
|
+
hasLogo
|
|
7865
|
+
applicationEmails
|
|
7866
|
+
copyToVtx
|
|
7867
|
+
contactEmail
|
|
7868
|
+
contactPhone
|
|
7869
|
+
website
|
|
7870
|
+
}
|
|
7871
|
+
claims
|
|
7872
|
+
applications
|
|
7873
|
+
views
|
|
7874
|
+
saves
|
|
7875
|
+
hasClaims
|
|
7876
|
+
isEnded
|
|
7877
|
+
}
|
|
7878
|
+
}
|
|
7879
|
+
`;
|
|
7880
|
+
exports.SetOfferFeaturedDocument = (0, graphql_tag_1.default) `
|
|
7881
|
+
mutation SetOfferFeatured($offerId: String!, $featured: Boolean!) {
|
|
7882
|
+
setOfferFeatured(offerId: $offerId, featured: $featured) {
|
|
7883
|
+
offerId
|
|
7884
|
+
brandId
|
|
7885
|
+
brandName
|
|
7886
|
+
kind
|
|
7887
|
+
method
|
|
7888
|
+
category
|
|
7889
|
+
publishState
|
|
7890
|
+
title
|
|
7891
|
+
summary
|
|
7892
|
+
badge
|
|
7893
|
+
coverKind
|
|
7894
|
+
coverBackground
|
|
7895
|
+
coverColor
|
|
7896
|
+
benefits
|
|
7897
|
+
howItWorks
|
|
7898
|
+
code
|
|
7899
|
+
startDate
|
|
7900
|
+
endDate
|
|
7901
|
+
durationKind
|
|
7902
|
+
durationText
|
|
7903
|
+
terms
|
|
7904
|
+
contactEmail
|
|
7905
|
+
contactPhone
|
|
7906
|
+
officialUrl
|
|
7907
|
+
featured
|
|
7908
|
+
publishedAt
|
|
7909
|
+
editedAt
|
|
7910
|
+
dateCreated
|
|
7911
|
+
coverImageUrl
|
|
7912
|
+
coverImageFileId
|
|
7913
|
+
askChips
|
|
7914
|
+
askNote
|
|
7915
|
+
spots
|
|
7916
|
+
applicationsCloseDate
|
|
7917
|
+
replyWithinDays
|
|
7918
|
+
questions {
|
|
7919
|
+
id
|
|
7920
|
+
label
|
|
7921
|
+
type
|
|
7922
|
+
options
|
|
7923
|
+
required
|
|
7924
|
+
}
|
|
7925
|
+
preferredIndex
|
|
7926
|
+
minScore
|
|
7927
|
+
verifiedOnly
|
|
7928
|
+
sportKeys
|
|
7929
|
+
countries {
|
|
7930
|
+
countryId
|
|
7931
|
+
name
|
|
7932
|
+
}
|
|
7933
|
+
levels
|
|
7934
|
+
minAge
|
|
7935
|
+
maxAge
|
|
7936
|
+
genders
|
|
7937
|
+
brand {
|
|
7938
|
+
brandId
|
|
7939
|
+
name
|
|
7940
|
+
logoUrl
|
|
7941
|
+
brandColor
|
|
7942
|
+
hasLogo
|
|
7943
|
+
applicationEmails
|
|
7944
|
+
copyToVtx
|
|
7945
|
+
contactEmail
|
|
7946
|
+
contactPhone
|
|
7947
|
+
website
|
|
7948
|
+
}
|
|
7949
|
+
claims
|
|
7950
|
+
applications
|
|
7951
|
+
views
|
|
7952
|
+
saves
|
|
7953
|
+
hasClaims
|
|
7954
|
+
isEnded
|
|
7955
|
+
}
|
|
7956
|
+
}
|
|
7957
|
+
`;
|
|
7958
|
+
exports.DuplicateOfferDocument = (0, graphql_tag_1.default) `
|
|
7959
|
+
mutation DuplicateOffer($offerId: String!) {
|
|
7960
|
+
duplicateOffer(offerId: $offerId) {
|
|
7961
|
+
offerId
|
|
7962
|
+
brandId
|
|
7963
|
+
brandName
|
|
7964
|
+
kind
|
|
7965
|
+
method
|
|
7966
|
+
category
|
|
7967
|
+
publishState
|
|
7968
|
+
title
|
|
7969
|
+
summary
|
|
7970
|
+
badge
|
|
7971
|
+
coverKind
|
|
7972
|
+
coverBackground
|
|
7973
|
+
coverColor
|
|
7974
|
+
benefits
|
|
7975
|
+
howItWorks
|
|
7976
|
+
code
|
|
7977
|
+
startDate
|
|
7978
|
+
endDate
|
|
7979
|
+
durationKind
|
|
7980
|
+
durationText
|
|
7981
|
+
terms
|
|
7982
|
+
contactEmail
|
|
7983
|
+
contactPhone
|
|
7984
|
+
officialUrl
|
|
7985
|
+
featured
|
|
7986
|
+
publishedAt
|
|
7987
|
+
editedAt
|
|
7988
|
+
dateCreated
|
|
7989
|
+
coverImageUrl
|
|
7990
|
+
coverImageFileId
|
|
7991
|
+
askChips
|
|
7992
|
+
askNote
|
|
7993
|
+
spots
|
|
7994
|
+
applicationsCloseDate
|
|
7995
|
+
replyWithinDays
|
|
7996
|
+
questions {
|
|
7997
|
+
id
|
|
7998
|
+
label
|
|
7999
|
+
type
|
|
8000
|
+
options
|
|
8001
|
+
required
|
|
8002
|
+
}
|
|
8003
|
+
preferredIndex
|
|
8004
|
+
minScore
|
|
8005
|
+
verifiedOnly
|
|
8006
|
+
sportKeys
|
|
8007
|
+
countries {
|
|
8008
|
+
countryId
|
|
8009
|
+
name
|
|
8010
|
+
}
|
|
8011
|
+
levels
|
|
8012
|
+
minAge
|
|
8013
|
+
maxAge
|
|
8014
|
+
genders
|
|
8015
|
+
brand {
|
|
8016
|
+
brandId
|
|
8017
|
+
name
|
|
8018
|
+
logoUrl
|
|
8019
|
+
brandColor
|
|
8020
|
+
hasLogo
|
|
8021
|
+
applicationEmails
|
|
8022
|
+
copyToVtx
|
|
8023
|
+
contactEmail
|
|
8024
|
+
contactPhone
|
|
8025
|
+
website
|
|
8026
|
+
}
|
|
8027
|
+
claims
|
|
8028
|
+
applications
|
|
8029
|
+
views
|
|
8030
|
+
saves
|
|
8031
|
+
hasClaims
|
|
8032
|
+
isEnded
|
|
8033
|
+
}
|
|
8034
|
+
}
|
|
8035
|
+
`;
|
|
8036
|
+
exports.DeleteUnusedOfferDocument = (0, graphql_tag_1.default) `
|
|
8037
|
+
mutation DeleteUnusedOffer($offerId: String!) {
|
|
8038
|
+
deleteUnusedOffer(offerId: $offerId)
|
|
8039
|
+
}
|
|
8040
|
+
`;
|
|
8041
|
+
exports.ApplyToOfferDocument = (0, graphql_tag_1.default) `
|
|
8042
|
+
mutation ApplyToOffer($input: ApplyToOfferInput!) {
|
|
8043
|
+
applyToOffer(input: $input) {
|
|
8044
|
+
claimId
|
|
8045
|
+
offerId
|
|
8046
|
+
status
|
|
8047
|
+
withdrawn
|
|
8048
|
+
appliedAt
|
|
8049
|
+
withdrawnAt
|
|
8050
|
+
}
|
|
8051
|
+
}
|
|
8052
|
+
`;
|
|
8053
|
+
exports.WithdrawOfferApplicationDocument = (0, graphql_tag_1.default) `
|
|
8054
|
+
mutation WithdrawOfferApplication($claimId: String!, $athleteId: String!) {
|
|
8055
|
+
withdrawOfferApplication(claimId: $claimId, athleteId: $athleteId) {
|
|
8056
|
+
claimId
|
|
8057
|
+
offerId
|
|
8058
|
+
status
|
|
8059
|
+
withdrawn
|
|
8060
|
+
appliedAt
|
|
8061
|
+
withdrawnAt
|
|
8062
|
+
}
|
|
8063
|
+
}
|
|
8064
|
+
`;
|
|
8065
|
+
exports.AthleteOffersDocument = (0, graphql_tag_1.default) `
|
|
8066
|
+
query AthleteOffers($athleteId: String!) {
|
|
8067
|
+
athleteOffers(athleteId: $athleteId) {
|
|
8068
|
+
offers {
|
|
8069
|
+
offerId
|
|
8070
|
+
kind
|
|
8071
|
+
method
|
|
8072
|
+
category
|
|
8073
|
+
title
|
|
8074
|
+
summary
|
|
8075
|
+
badge
|
|
8076
|
+
featured
|
|
8077
|
+
coverKind
|
|
8078
|
+
coverBackground
|
|
8079
|
+
coverColor
|
|
8080
|
+
coverImageUrl
|
|
8081
|
+
brand {
|
|
8082
|
+
brandId
|
|
8083
|
+
name
|
|
8084
|
+
logoUrl
|
|
8085
|
+
brandColor
|
|
8086
|
+
slogan
|
|
8087
|
+
website
|
|
8088
|
+
}
|
|
8089
|
+
status
|
|
8090
|
+
endDate
|
|
8091
|
+
eligible
|
|
8092
|
+
requirementsMet
|
|
8093
|
+
requirementsTotal
|
|
8094
|
+
endLabelKind
|
|
8095
|
+
endsInDays
|
|
8096
|
+
isNew
|
|
8097
|
+
saved
|
|
8098
|
+
preferredIndex
|
|
8099
|
+
live
|
|
8100
|
+
}
|
|
8101
|
+
counts {
|
|
8102
|
+
live
|
|
8103
|
+
eligible
|
|
8104
|
+
claimed
|
|
8105
|
+
applied
|
|
8106
|
+
}
|
|
8107
|
+
savedOfferIds
|
|
8108
|
+
categoriesWithLive
|
|
8109
|
+
}
|
|
8110
|
+
}
|
|
8111
|
+
`;
|
|
8112
|
+
exports.MyOfferWalletDocument = (0, graphql_tag_1.default) `
|
|
8113
|
+
query MyOfferWallet($athleteId: String!) {
|
|
8114
|
+
myOfferWallet(athleteId: $athleteId) {
|
|
8115
|
+
claimId
|
|
8116
|
+
offerId
|
|
8117
|
+
kind
|
|
8118
|
+
method
|
|
8119
|
+
title
|
|
8120
|
+
brandName
|
|
8121
|
+
brandLogoUrl
|
|
8122
|
+
status
|
|
8123
|
+
code
|
|
8124
|
+
validUntil
|
|
8125
|
+
officialUrl
|
|
8126
|
+
claimedAt
|
|
8127
|
+
}
|
|
8128
|
+
}
|
|
8129
|
+
`;
|
|
8130
|
+
exports.AthleteOfferDocument = (0, graphql_tag_1.default) `
|
|
8131
|
+
query AthleteOffer($offerId: String!, $athleteId: String!) {
|
|
8132
|
+
athleteOffer(offerId: $offerId, athleteId: $athleteId) {
|
|
8133
|
+
card {
|
|
8134
|
+
offerId
|
|
8135
|
+
kind
|
|
8136
|
+
method
|
|
8137
|
+
category
|
|
8138
|
+
title
|
|
8139
|
+
summary
|
|
8140
|
+
badge
|
|
8141
|
+
featured
|
|
8142
|
+
coverKind
|
|
8143
|
+
coverBackground
|
|
8144
|
+
coverColor
|
|
8145
|
+
coverImageUrl
|
|
8146
|
+
brand {
|
|
8147
|
+
brandId
|
|
8148
|
+
name
|
|
8149
|
+
logoUrl
|
|
8150
|
+
brandColor
|
|
8151
|
+
slogan
|
|
8152
|
+
website
|
|
8153
|
+
}
|
|
8154
|
+
status
|
|
8155
|
+
endDate
|
|
8156
|
+
eligible
|
|
8157
|
+
requirementsMet
|
|
8158
|
+
requirementsTotal
|
|
8159
|
+
endLabelKind
|
|
8160
|
+
endsInDays
|
|
8161
|
+
isNew
|
|
8162
|
+
saved
|
|
8163
|
+
preferredIndex
|
|
8164
|
+
live
|
|
8165
|
+
}
|
|
8166
|
+
cta
|
|
8167
|
+
benefits
|
|
8168
|
+
howItWorks
|
|
8169
|
+
durationKind
|
|
8170
|
+
durationText
|
|
8171
|
+
startDate
|
|
8172
|
+
terms
|
|
8173
|
+
officialUrl
|
|
8174
|
+
contactEmail
|
|
8175
|
+
contactPhone
|
|
8176
|
+
askChips
|
|
8177
|
+
askNote
|
|
8178
|
+
spots
|
|
8179
|
+
applicationsCloseDate
|
|
8180
|
+
replyWithinDays
|
|
8181
|
+
applicationsClosed
|
|
8182
|
+
questions {
|
|
8183
|
+
id
|
|
8184
|
+
label
|
|
8185
|
+
type
|
|
8186
|
+
options
|
|
8187
|
+
required
|
|
8188
|
+
}
|
|
8189
|
+
requirements {
|
|
8190
|
+
kind
|
|
8191
|
+
met
|
|
8192
|
+
index
|
|
8193
|
+
min
|
|
8194
|
+
sportKeys
|
|
8195
|
+
countries {
|
|
8196
|
+
countryId
|
|
8197
|
+
name
|
|
8198
|
+
}
|
|
8199
|
+
levels
|
|
8200
|
+
minAge
|
|
8201
|
+
maxAge
|
|
8202
|
+
genders
|
|
8203
|
+
athleteScore
|
|
8204
|
+
athleteVerified
|
|
8205
|
+
athleteSportKeys
|
|
8206
|
+
athleteCountry {
|
|
8207
|
+
countryId
|
|
8208
|
+
name
|
|
8209
|
+
}
|
|
8210
|
+
athleteLevel
|
|
8211
|
+
athleteAge
|
|
8212
|
+
athleteGender
|
|
8213
|
+
fix
|
|
8214
|
+
}
|
|
8215
|
+
showAdNote
|
|
8216
|
+
myClaim {
|
|
8217
|
+
claimId
|
|
8218
|
+
code
|
|
8219
|
+
validUntil
|
|
8220
|
+
claimedAt
|
|
8221
|
+
}
|
|
8222
|
+
myApplication {
|
|
8223
|
+
claimId
|
|
8224
|
+
status
|
|
8225
|
+
appliedAt
|
|
8226
|
+
}
|
|
8227
|
+
contactAtEmail
|
|
8228
|
+
}
|
|
8229
|
+
}
|
|
8230
|
+
`;
|
|
8231
|
+
exports.OfferSportOptionsDocument = (0, graphql_tag_1.default) `
|
|
8232
|
+
query OfferSportOptions {
|
|
8233
|
+
offerSportOptions {
|
|
8234
|
+
key
|
|
8235
|
+
displayGroup
|
|
8236
|
+
}
|
|
8237
|
+
}
|
|
8238
|
+
`;
|
|
8239
|
+
exports.SetOfferSavedDocument = (0, graphql_tag_1.default) `
|
|
8240
|
+
mutation SetOfferSaved($offerId: String!, $athleteId: String!, $saved: Boolean!) {
|
|
8241
|
+
setOfferSaved(offerId: $offerId, athleteId: $athleteId, saved: $saved)
|
|
8242
|
+
}
|
|
8243
|
+
`;
|
|
8244
|
+
exports.RecordOfferViewDocument = (0, graphql_tag_1.default) `
|
|
8245
|
+
mutation RecordOfferView($offerId: String!, $athleteId: String!) {
|
|
8246
|
+
recordOfferView(offerId: $offerId, athleteId: $athleteId)
|
|
8247
|
+
}
|
|
8248
|
+
`;
|
|
8249
|
+
exports.OfferBrandsAdminDocument = (0, graphql_tag_1.default) `
|
|
8250
|
+
query OfferBrandsAdmin {
|
|
8251
|
+
offerBrandsAdmin {
|
|
8252
|
+
brandId
|
|
8253
|
+
name
|
|
8254
|
+
slogan
|
|
8255
|
+
website
|
|
8256
|
+
contactEmail
|
|
8257
|
+
contactPhone
|
|
8258
|
+
applicationEmails
|
|
8259
|
+
copyToVtx
|
|
8260
|
+
internalNote
|
|
8261
|
+
brandColor
|
|
8262
|
+
logoUrl
|
|
8263
|
+
logoFileId
|
|
8264
|
+
applicationsEmailMissing
|
|
8265
|
+
offerCount
|
|
8266
|
+
hasClaims
|
|
8267
|
+
}
|
|
8268
|
+
}
|
|
8269
|
+
`;
|
|
8270
|
+
exports.OfferBrandAdminDocument = (0, graphql_tag_1.default) `
|
|
8271
|
+
query OfferBrandAdmin($brandId: String!) {
|
|
8272
|
+
offerBrandAdmin(brandId: $brandId) {
|
|
8273
|
+
brandId
|
|
8274
|
+
name
|
|
8275
|
+
slogan
|
|
8276
|
+
website
|
|
8277
|
+
contactEmail
|
|
8278
|
+
contactPhone
|
|
8279
|
+
applicationEmails
|
|
8280
|
+
copyToVtx
|
|
8281
|
+
internalNote
|
|
8282
|
+
brandColor
|
|
8283
|
+
logoUrl
|
|
8284
|
+
logoFileId
|
|
8285
|
+
applicationsEmailMissing
|
|
8286
|
+
offerCount
|
|
8287
|
+
hasClaims
|
|
8288
|
+
}
|
|
8289
|
+
}
|
|
8290
|
+
`;
|
|
8291
|
+
exports.SaveOfferBrandDocument = (0, graphql_tag_1.default) `
|
|
8292
|
+
mutation SaveOfferBrand($input: SaveOfferBrandInput!) {
|
|
8293
|
+
saveOfferBrand(input: $input) {
|
|
8294
|
+
brandId
|
|
8295
|
+
name
|
|
8296
|
+
slogan
|
|
8297
|
+
website
|
|
8298
|
+
contactEmail
|
|
8299
|
+
contactPhone
|
|
8300
|
+
applicationEmails
|
|
8301
|
+
copyToVtx
|
|
8302
|
+
internalNote
|
|
8303
|
+
brandColor
|
|
8304
|
+
logoUrl
|
|
8305
|
+
logoFileId
|
|
8306
|
+
applicationsEmailMissing
|
|
8307
|
+
offerCount
|
|
8308
|
+
hasClaims
|
|
8309
|
+
}
|
|
8310
|
+
}
|
|
8311
|
+
`;
|
|
7415
8312
|
exports.CreateOfferDocument = (0, graphql_tag_1.default) `
|
|
7416
8313
|
mutation CreateOffer($input: CreateOfferDto!, $tenantId: String) {
|
|
7417
8314
|
createOffer(input: $input, tenantId: $tenantId) {
|
|
@@ -10242,6 +11139,72 @@ function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
10242
11139
|
UpdateNotificationPreferences(variables, requestHeaders, signal) {
|
|
10243
11140
|
return withWrapper((wrappedRequestHeaders) => client.request({ document: exports.UpdateNotificationPreferencesDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'UpdateNotificationPreferences', 'mutation', variables);
|
|
10244
11141
|
},
|
|
11142
|
+
OfferActivity(variables, requestHeaders, signal) {
|
|
11143
|
+
return withWrapper((wrappedRequestHeaders) => client.request({ document: exports.OfferActivityDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'OfferActivity', 'query', variables);
|
|
11144
|
+
},
|
|
11145
|
+
OfferApplication(variables, requestHeaders, signal) {
|
|
11146
|
+
return withWrapper((wrappedRequestHeaders) => client.request({ document: exports.OfferApplicationDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'OfferApplication', 'query', variables);
|
|
11147
|
+
},
|
|
11148
|
+
SetOfferApplicationStatus(variables, requestHeaders, signal) {
|
|
11149
|
+
return withWrapper((wrappedRequestHeaders) => client.request({ document: exports.SetOfferApplicationStatusDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'SetOfferApplicationStatus', 'mutation', variables);
|
|
11150
|
+
},
|
|
11151
|
+
ResendOfferApplicationEmail(variables, requestHeaders, signal) {
|
|
11152
|
+
return withWrapper((wrappedRequestHeaders) => client.request({ document: exports.ResendOfferApplicationEmailDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'ResendOfferApplicationEmail', 'mutation', variables);
|
|
11153
|
+
},
|
|
11154
|
+
SaveOffer(variables, requestHeaders, signal) {
|
|
11155
|
+
return withWrapper((wrappedRequestHeaders) => client.request({ document: exports.SaveOfferDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'SaveOffer', 'mutation', variables);
|
|
11156
|
+
},
|
|
11157
|
+
AdminOffers(variables, requestHeaders, signal) {
|
|
11158
|
+
return withWrapper((wrappedRequestHeaders) => client.request({ document: exports.AdminOffersDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'AdminOffers', 'query', variables);
|
|
11159
|
+
},
|
|
11160
|
+
AdminOffer(variables, requestHeaders, signal) {
|
|
11161
|
+
return withWrapper((wrappedRequestHeaders) => client.request({ document: exports.AdminOfferDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'AdminOffer', 'query', variables);
|
|
11162
|
+
},
|
|
11163
|
+
SetOfferPublishState(variables, requestHeaders, signal) {
|
|
11164
|
+
return withWrapper((wrappedRequestHeaders) => client.request({ document: exports.SetOfferPublishStateDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'SetOfferPublishState', 'mutation', variables);
|
|
11165
|
+
},
|
|
11166
|
+
SetOfferFeatured(variables, requestHeaders, signal) {
|
|
11167
|
+
return withWrapper((wrappedRequestHeaders) => client.request({ document: exports.SetOfferFeaturedDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'SetOfferFeatured', 'mutation', variables);
|
|
11168
|
+
},
|
|
11169
|
+
DuplicateOffer(variables, requestHeaders, signal) {
|
|
11170
|
+
return withWrapper((wrappedRequestHeaders) => client.request({ document: exports.DuplicateOfferDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'DuplicateOffer', 'mutation', variables);
|
|
11171
|
+
},
|
|
11172
|
+
DeleteUnusedOffer(variables, requestHeaders, signal) {
|
|
11173
|
+
return withWrapper((wrappedRequestHeaders) => client.request({ document: exports.DeleteUnusedOfferDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'DeleteUnusedOffer', 'mutation', variables);
|
|
11174
|
+
},
|
|
11175
|
+
ApplyToOffer(variables, requestHeaders, signal) {
|
|
11176
|
+
return withWrapper((wrappedRequestHeaders) => client.request({ document: exports.ApplyToOfferDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'ApplyToOffer', 'mutation', variables);
|
|
11177
|
+
},
|
|
11178
|
+
WithdrawOfferApplication(variables, requestHeaders, signal) {
|
|
11179
|
+
return withWrapper((wrappedRequestHeaders) => client.request({ document: exports.WithdrawOfferApplicationDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'WithdrawOfferApplication', 'mutation', variables);
|
|
11180
|
+
},
|
|
11181
|
+
AthleteOffers(variables, requestHeaders, signal) {
|
|
11182
|
+
return withWrapper((wrappedRequestHeaders) => client.request({ document: exports.AthleteOffersDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'AthleteOffers', 'query', variables);
|
|
11183
|
+
},
|
|
11184
|
+
MyOfferWallet(variables, requestHeaders, signal) {
|
|
11185
|
+
return withWrapper((wrappedRequestHeaders) => client.request({ document: exports.MyOfferWalletDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'MyOfferWallet', 'query', variables);
|
|
11186
|
+
},
|
|
11187
|
+
AthleteOffer(variables, requestHeaders, signal) {
|
|
11188
|
+
return withWrapper((wrappedRequestHeaders) => client.request({ document: exports.AthleteOfferDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'AthleteOffer', 'query', variables);
|
|
11189
|
+
},
|
|
11190
|
+
OfferSportOptions(variables, requestHeaders, signal) {
|
|
11191
|
+
return withWrapper((wrappedRequestHeaders) => client.request({ document: exports.OfferSportOptionsDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'OfferSportOptions', 'query', variables);
|
|
11192
|
+
},
|
|
11193
|
+
SetOfferSaved(variables, requestHeaders, signal) {
|
|
11194
|
+
return withWrapper((wrappedRequestHeaders) => client.request({ document: exports.SetOfferSavedDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'SetOfferSaved', 'mutation', variables);
|
|
11195
|
+
},
|
|
11196
|
+
RecordOfferView(variables, requestHeaders, signal) {
|
|
11197
|
+
return withWrapper((wrappedRequestHeaders) => client.request({ document: exports.RecordOfferViewDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'RecordOfferView', 'mutation', variables);
|
|
11198
|
+
},
|
|
11199
|
+
OfferBrandsAdmin(variables, requestHeaders, signal) {
|
|
11200
|
+
return withWrapper((wrappedRequestHeaders) => client.request({ document: exports.OfferBrandsAdminDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'OfferBrandsAdmin', 'query', variables);
|
|
11201
|
+
},
|
|
11202
|
+
OfferBrandAdmin(variables, requestHeaders, signal) {
|
|
11203
|
+
return withWrapper((wrappedRequestHeaders) => client.request({ document: exports.OfferBrandAdminDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'OfferBrandAdmin', 'query', variables);
|
|
11204
|
+
},
|
|
11205
|
+
SaveOfferBrand(variables, requestHeaders, signal) {
|
|
11206
|
+
return withWrapper((wrappedRequestHeaders) => client.request({ document: exports.SaveOfferBrandDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'SaveOfferBrand', 'mutation', variables);
|
|
11207
|
+
},
|
|
10245
11208
|
CreateOffer(variables, requestHeaders, signal) {
|
|
10246
11209
|
return withWrapper((wrappedRequestHeaders) => client.request({ document: exports.CreateOfferDocument, variables, requestHeaders: { ...requestHeaders, ...wrappedRequestHeaders }, signal }), 'CreateOffer', 'mutation', variables);
|
|
10247
11210
|
},
|