@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.
Files changed (30) hide show
  1. package/dist/package.json +1 -1
  2. package/dist/src/api/domains/generated/index.d.ts +5 -0
  3. package/dist/src/api/domains/generated/index.js +11 -1
  4. package/dist/src/api/domains/generated/index.js.map +1 -1
  5. package/dist/src/api/domains/generated/offers-v2-activity.api.d.ts +2 -0
  6. package/dist/src/api/domains/generated/offers-v2-activity.api.js +18 -0
  7. package/dist/src/api/domains/generated/offers-v2-activity.api.js.map +1 -0
  8. package/dist/src/api/domains/generated/offers-v2-admin.api.d.ts +2 -0
  9. package/dist/src/api/domains/generated/offers-v2-admin.api.js +27 -0
  10. package/dist/src/api/domains/generated/offers-v2-admin.api.js.map +1 -0
  11. package/dist/src/api/domains/generated/offers-v2-apply.api.d.ts +2 -0
  12. package/dist/src/api/domains/generated/offers-v2-apply.api.js +12 -0
  13. package/dist/src/api/domains/generated/offers-v2-apply.api.js.map +1 -0
  14. package/dist/src/api/domains/generated/offers-v2-athlete.api.d.ts +2 -0
  15. package/dist/src/api/domains/generated/offers-v2-athlete.api.js +24 -0
  16. package/dist/src/api/domains/generated/offers-v2-athlete.api.js.map +1 -0
  17. package/dist/src/api/domains/generated/offers-v2-brands.api.d.ts +2 -0
  18. package/dist/src/api/domains/generated/offers-v2-brands.api.js +15 -0
  19. package/dist/src/api/domains/generated/offers-v2-brands.api.js.map +1 -0
  20. package/dist/src/api/domains/generated/vtx-base-api.augment.d.ts +23 -1
  21. package/dist/src/client/schema.d.ts +1225 -0
  22. package/dist/src/client/schema.js +358 -3
  23. package/dist/src/client/schema.js.map +1 -1
  24. package/dist/src/client/types.d.ts +539 -0
  25. package/dist/src/client/types.js +2150 -682
  26. package/dist/src/client/types.js.map +1 -1
  27. package/dist/src/generated/graphql.d.ts +1497 -0
  28. package/dist/src/generated/graphql.js +967 -4
  29. package/dist/src/generated/graphql.js.map +1 -1
  30. package/package.json +1 -1
@@ -2677,6 +2677,366 @@ export interface PaginatedOffersWithEligibility {
2677
2677
  pagination: EnhancedPaginationInfoType;
2678
2678
  __typename: 'PaginatedOffersWithEligibility';
2679
2679
  }
2680
+ export interface OfferQuestion {
2681
+ id: Scalars['String'];
2682
+ label: Scalars['String'];
2683
+ type: OfferQuestionType;
2684
+ options: Scalars['String'][];
2685
+ required: Scalars['Boolean'];
2686
+ __typename: 'OfferQuestion';
2687
+ }
2688
+ export interface OfferCountry {
2689
+ countryId: Scalars['String'];
2690
+ name: Scalars['String'];
2691
+ __typename: 'OfferCountry';
2692
+ }
2693
+ export interface OfferBrandSummary {
2694
+ brandId: Scalars['String'];
2695
+ name: Scalars['String'];
2696
+ logoUrl: (Scalars['String'] | null);
2697
+ brandColor: (Scalars['String'] | null);
2698
+ hasLogo: Scalars['Boolean'];
2699
+ applicationEmails: Scalars['String'][];
2700
+ copyToVtx: Scalars['Boolean'];
2701
+ contactEmail: (Scalars['String'] | null);
2702
+ contactPhone: (Scalars['String'] | null);
2703
+ website: (Scalars['String'] | null);
2704
+ __typename: 'OfferBrandSummary';
2705
+ }
2706
+ export interface OfferChecklistItem {
2707
+ key: OfferChecklistKey;
2708
+ fieldId: Scalars['String'];
2709
+ brandName: (Scalars['String'] | null);
2710
+ __typename: 'OfferChecklistItem';
2711
+ }
2712
+ export interface AdminOffer {
2713
+ offerId: Scalars['String'];
2714
+ brandId: Scalars['String'];
2715
+ brandName: Scalars['String'];
2716
+ kind: OfferKind;
2717
+ method: OfferMethod;
2718
+ category: (OfferCategory | null);
2719
+ publishState: OfferPublishState;
2720
+ title: Scalars['String'];
2721
+ summary: Scalars['String'];
2722
+ badge: (Scalars['String'] | null);
2723
+ coverKind: (OfferCoverKind | null);
2724
+ coverBackground: (OfferCoverBackground | null);
2725
+ coverColor: (Scalars['String'] | null);
2726
+ benefits: Scalars['String'][];
2727
+ howItWorks: (Scalars['String'] | null);
2728
+ code: (Scalars['String'] | null);
2729
+ startDate: (Scalars['String'] | null);
2730
+ endDate: (Scalars['String'] | null);
2731
+ durationKind: (OfferDuration | null);
2732
+ durationText: (Scalars['String'] | null);
2733
+ terms: (Scalars['String'] | null);
2734
+ contactEmail: (Scalars['String'] | null);
2735
+ contactPhone: (Scalars['String'] | null);
2736
+ officialUrl: (Scalars['String'] | null);
2737
+ featured: Scalars['Boolean'];
2738
+ publishedAt: (Scalars['DateTime'] | null);
2739
+ editedAt: (Scalars['DateTime'] | null);
2740
+ dateCreated: Scalars['DateTime'];
2741
+ coverImageUrl: (Scalars['String'] | null);
2742
+ coverImageFileId: (Scalars['String'] | null);
2743
+ askChips: OfferAskChip[];
2744
+ askNote: (Scalars['String'] | null);
2745
+ spots: (Scalars['Int'] | null);
2746
+ applicationsCloseDate: (Scalars['String'] | null);
2747
+ replyWithinDays: (Scalars['Int'] | null);
2748
+ questions: OfferQuestion[];
2749
+ preferredIndex: OfferPreferredIndex;
2750
+ minScore: (Scalars['Int'] | null);
2751
+ verifiedOnly: Scalars['Boolean'];
2752
+ sportKeys: Scalars['String'][];
2753
+ countries: OfferCountry[];
2754
+ levels: Scalars['String'][];
2755
+ minAge: (Scalars['Int'] | null);
2756
+ maxAge: (Scalars['Int'] | null);
2757
+ genders: OfferGender[];
2758
+ brand: OfferBrandSummary;
2759
+ claims: Scalars['Int'];
2760
+ applications: Scalars['Int'];
2761
+ views: Scalars['Int'];
2762
+ saves: Scalars['Int'];
2763
+ hasClaims: Scalars['Boolean'];
2764
+ isEnded: Scalars['Boolean'];
2765
+ __typename: 'AdminOffer';
2766
+ }
2767
+ export interface SaveOfferResult {
2768
+ offer: AdminOffer;
2769
+ missing: OfferChecklistItem[];
2770
+ published: Scalars['Boolean'];
2771
+ __typename: 'SaveOfferResult';
2772
+ }
2773
+ export interface AdminOfferRow {
2774
+ offerId: Scalars['String'];
2775
+ title: Scalars['String'];
2776
+ brandId: Scalars['String'];
2777
+ brandName: Scalars['String'];
2778
+ kind: OfferKind;
2779
+ method: OfferMethod;
2780
+ publishState: OfferPublishState;
2781
+ featured: Scalars['Boolean'];
2782
+ isEnded: Scalars['Boolean'];
2783
+ startDate: (Scalars['String'] | null);
2784
+ endDate: (Scalars['String'] | null);
2785
+ claims: Scalars['Int'];
2786
+ applications: Scalars['Int'];
2787
+ views: Scalars['Int'];
2788
+ saves: Scalars['Int'];
2789
+ __typename: 'AdminOfferRow';
2790
+ }
2791
+ export interface AdminOffersPage {
2792
+ items: AdminOfferRow[];
2793
+ total: Scalars['Int'];
2794
+ __typename: 'AdminOffersPage';
2795
+ }
2796
+ export interface AthleteOfferBrand {
2797
+ brandId: Scalars['String'];
2798
+ name: Scalars['String'];
2799
+ logoUrl: (Scalars['String'] | null);
2800
+ brandColor: (Scalars['String'] | null);
2801
+ slogan: (Scalars['String'] | null);
2802
+ website: (Scalars['String'] | null);
2803
+ __typename: 'AthleteOfferBrand';
2804
+ }
2805
+ export interface AthleteOfferCard {
2806
+ offerId: Scalars['String'];
2807
+ kind: OfferKind;
2808
+ method: OfferMethod;
2809
+ category: OfferCategory;
2810
+ title: Scalars['String'];
2811
+ summary: Scalars['String'];
2812
+ badge: (Scalars['String'] | null);
2813
+ featured: Scalars['Boolean'];
2814
+ coverKind: OfferCoverKind;
2815
+ coverBackground: (OfferCoverBackground | null);
2816
+ coverColor: (Scalars['String'] | null);
2817
+ coverImageUrl: (Scalars['String'] | null);
2818
+ brand: AthleteOfferBrand;
2819
+ status: OfferAthleteStatus;
2820
+ endDate: (Scalars['String'] | null);
2821
+ eligible: Scalars['Boolean'];
2822
+ requirementsMet: Scalars['Int'];
2823
+ requirementsTotal: Scalars['Int'];
2824
+ endLabelKind: (OfferEndLabelKind | null);
2825
+ endsInDays: (Scalars['Int'] | null);
2826
+ isNew: Scalars['Boolean'];
2827
+ saved: Scalars['Boolean'];
2828
+ preferredIndex: OfferPreferredIndex;
2829
+ live: Scalars['Boolean'];
2830
+ __typename: 'AthleteOfferCard';
2831
+ }
2832
+ export interface OfferCounts {
2833
+ live: Scalars['Int'];
2834
+ eligible: Scalars['Int'];
2835
+ claimed: Scalars['Int'];
2836
+ applied: Scalars['Int'];
2837
+ __typename: 'OfferCounts';
2838
+ }
2839
+ export interface AthleteOffersResult {
2840
+ offers: AthleteOfferCard[];
2841
+ counts: OfferCounts;
2842
+ savedOfferIds: Scalars['String'][];
2843
+ categoriesWithLive: OfferCategory[];
2844
+ __typename: 'AthleteOffersResult';
2845
+ }
2846
+ export interface OfferWalletItem {
2847
+ claimId: Scalars['String'];
2848
+ offerId: Scalars['String'];
2849
+ kind: OfferKind;
2850
+ method: OfferMethod;
2851
+ title: Scalars['String'];
2852
+ brandName: Scalars['String'];
2853
+ brandLogoUrl: (Scalars['String'] | null);
2854
+ status: OfferAthleteStatus;
2855
+ code: (Scalars['String'] | null);
2856
+ validUntil: (Scalars['String'] | null);
2857
+ officialUrl: (Scalars['String'] | null);
2858
+ claimedAt: Scalars['DateTime'];
2859
+ __typename: 'OfferWalletItem';
2860
+ }
2861
+ export interface OfferRequirementResult {
2862
+ kind: OfferRequirementKind;
2863
+ met: Scalars['Boolean'];
2864
+ index: (OfferPreferredIndex | null);
2865
+ min: (Scalars['Int'] | null);
2866
+ sportKeys: (Scalars['String'][] | null);
2867
+ countries: (OfferCountry[] | null);
2868
+ levels: (Scalars['String'][] | null);
2869
+ minAge: (Scalars['Int'] | null);
2870
+ maxAge: (Scalars['Int'] | null);
2871
+ genders: (OfferGender[] | null);
2872
+ athleteScore: (Scalars['Float'] | null);
2873
+ athleteVerified: (Scalars['Boolean'] | null);
2874
+ athleteSportKeys: (Scalars['String'][] | null);
2875
+ athleteCountry: (OfferCountry | null);
2876
+ athleteLevel: (Scalars['String'] | null);
2877
+ athleteAge: (Scalars['Int'] | null);
2878
+ athleteGender: (OfferGender | null);
2879
+ fix: (OfferFixLink | null);
2880
+ __typename: 'OfferRequirementResult';
2881
+ }
2882
+ export interface OfferMyClaim {
2883
+ claimId: Scalars['String'];
2884
+ code: (Scalars['String'] | null);
2885
+ validUntil: (Scalars['String'] | null);
2886
+ claimedAt: Scalars['DateTime'];
2887
+ __typename: 'OfferMyClaim';
2888
+ }
2889
+ export interface OfferMyApplication {
2890
+ claimId: Scalars['String'];
2891
+ status: OfferApplicationDecision;
2892
+ appliedAt: Scalars['DateTime'];
2893
+ __typename: 'OfferMyApplication';
2894
+ }
2895
+ export interface AthleteOfferPage {
2896
+ card: AthleteOfferCard;
2897
+ cta: OfferPageCta;
2898
+ benefits: Scalars['String'][];
2899
+ howItWorks: (Scalars['String'] | null);
2900
+ durationKind: (OfferDuration | null);
2901
+ durationText: (Scalars['String'] | null);
2902
+ startDate: (Scalars['String'] | null);
2903
+ terms: (Scalars['String'] | null);
2904
+ officialUrl: (Scalars['String'] | null);
2905
+ contactEmail: (Scalars['String'] | null);
2906
+ contactPhone: (Scalars['String'] | null);
2907
+ askChips: OfferAskChip[];
2908
+ askNote: (Scalars['String'] | null);
2909
+ spots: (Scalars['Int'] | null);
2910
+ applicationsCloseDate: (Scalars['String'] | null);
2911
+ replyWithinDays: (Scalars['Int'] | null);
2912
+ applicationsClosed: Scalars['Boolean'];
2913
+ questions: OfferQuestion[];
2914
+ requirements: OfferRequirementResult[];
2915
+ showAdNote: Scalars['Boolean'];
2916
+ myClaim: (OfferMyClaim | null);
2917
+ myApplication: (OfferMyApplication | null);
2918
+ contactAtEmail: Scalars['String'];
2919
+ __typename: 'AthleteOfferPage';
2920
+ }
2921
+ export interface OfferSportOption {
2922
+ key: Scalars['String'];
2923
+ displayGroup: OfferSportDisplayGroup;
2924
+ __typename: 'OfferSportOption';
2925
+ }
2926
+ export interface OfferScores {
2927
+ VTX: (Scalars['Int'] | null);
2928
+ TPI: (Scalars['Int'] | null);
2929
+ API: (Scalars['Int'] | null);
2930
+ SPI: (Scalars['Int'] | null);
2931
+ __typename: 'OfferScores';
2932
+ }
2933
+ export interface OfferActivityCounters {
2934
+ views: Scalars['Int'];
2935
+ saves: Scalars['Int'];
2936
+ claims: Scalars['Int'];
2937
+ applications: Scalars['Int'];
2938
+ ratePercent: (Scalars['Float'] | null);
2939
+ __typename: 'OfferActivityCounters';
2940
+ }
2941
+ export interface OfferApplicationRow {
2942
+ claimId: Scalars['String'];
2943
+ athleteName: Scalars['String'];
2944
+ photoUrl: (Scalars['String'] | null);
2945
+ sportKeys: Scalars['String'][];
2946
+ level: (Scalars['String'] | null);
2947
+ countryName: (Scalars['String'] | null);
2948
+ verified: Scalars['Boolean'];
2949
+ scores: OfferScores;
2950
+ appliedAt: Scalars['DateTime'];
2951
+ status: OfferApplicationDecision;
2952
+ emailStatus: (OfferApplicationEmailStatus | null);
2953
+ emailSentAt: (Scalars['DateTime'] | null);
2954
+ athleteNotified: Scalars['Boolean'];
2955
+ __typename: 'OfferApplicationRow';
2956
+ }
2957
+ export interface OfferClaimRow {
2958
+ claimId: Scalars['String'];
2959
+ athleteName: Scalars['String'];
2960
+ photoUrl: (Scalars['String'] | null);
2961
+ level: (Scalars['String'] | null);
2962
+ scores: OfferScores;
2963
+ claimedAt: Scalars['DateTime'];
2964
+ __typename: 'OfferClaimRow';
2965
+ }
2966
+ export interface OfferActivity {
2967
+ offerId: Scalars['String'];
2968
+ title: Scalars['String'];
2969
+ brandName: Scalars['String'];
2970
+ kind: OfferKind;
2971
+ method: OfferMethod;
2972
+ publishState: OfferPublishState;
2973
+ startDate: (Scalars['String'] | null);
2974
+ preferredIndex: OfferPreferredIndex;
2975
+ applicationEmails: Scalars['String'][];
2976
+ copyToVtx: Scalars['Boolean'];
2977
+ counters: OfferActivityCounters;
2978
+ applications: OfferApplicationRow[];
2979
+ claims: OfferClaimRow[];
2980
+ claimsShown: Scalars['Int'];
2981
+ claimsTotal: Scalars['Int'];
2982
+ __typename: 'OfferActivity';
2983
+ }
2984
+ export interface OfferAnswer {
2985
+ questionId: (Scalars['String'] | null);
2986
+ label: Scalars['String'];
2987
+ answer: (Scalars['String'] | null);
2988
+ __typename: 'OfferAnswer';
2989
+ }
2990
+ export interface OfferApplicationEmailLog {
2991
+ kind: OfferApplicationEmailKind;
2992
+ toEmails: Scalars['String'][];
2993
+ bccVtx: Scalars['Boolean'];
2994
+ status: OfferApplicationEmailStatus;
2995
+ createdAt: Scalars['DateTime'];
2996
+ triggeredByAdminEmail: (Scalars['String'] | null);
2997
+ __typename: 'OfferApplicationEmailLog';
2998
+ }
2999
+ export interface OfferApplicationAdmin {
3000
+ row: OfferApplicationRow;
3001
+ offerId: Scalars['String'];
3002
+ offerTitle: Scalars['String'];
3003
+ brandName: Scalars['String'];
3004
+ email: Scalars['String'];
3005
+ ageGroup: (Scalars['String'] | null);
3006
+ instagramHandle: (Scalars['String'] | null);
3007
+ results: Scalars['String'][];
3008
+ answers: OfferAnswer[];
3009
+ consentAt: (Scalars['DateTime'] | null);
3010
+ emailLog: OfferApplicationEmailLog[];
3011
+ __typename: 'OfferApplicationAdmin';
3012
+ }
3013
+ export interface OfferApplicationResult {
3014
+ claimId: Scalars['String'];
3015
+ offerId: Scalars['String'];
3016
+ status: (OfferApplicationDecision | null);
3017
+ withdrawn: Scalars['Boolean'];
3018
+ appliedAt: Scalars['DateTime'];
3019
+ withdrawnAt: (Scalars['DateTime'] | null);
3020
+ __typename: 'OfferApplicationResult';
3021
+ }
3022
+ export interface OfferBrandAdmin {
3023
+ brandId: Scalars['String'];
3024
+ name: Scalars['String'];
3025
+ slogan: (Scalars['String'] | null);
3026
+ website: (Scalars['String'] | null);
3027
+ contactEmail: (Scalars['String'] | null);
3028
+ contactPhone: (Scalars['String'] | null);
3029
+ applicationEmails: Scalars['String'][];
3030
+ copyToVtx: Scalars['Boolean'];
3031
+ internalNote: (Scalars['String'] | null);
3032
+ brandColor: (Scalars['String'] | null);
3033
+ logoUrl: (Scalars['String'] | null);
3034
+ logoFileId: (Scalars['String'] | null);
3035
+ applicationsEmailMissing: Scalars['Boolean'];
3036
+ offerCount: Scalars['Int'];
3037
+ hasClaims: Scalars['Boolean'];
3038
+ __typename: 'OfferBrandAdmin';
3039
+ }
2680
3040
  export interface OnboardingProgressResponse {
2681
3041
  success: Scalars['Boolean'];
2682
3042
  step: (Scalars['Int'] | null);
@@ -3304,6 +3664,28 @@ export type BrandOperatorType = 'OWNED' | 'NOT_OWNED' | 'BOTH';
3304
3664
  export type TaxCalculation = 'PLUS_TAX' | 'TAX_INCLUDED' | 'NO_TAX';
3305
3665
  export type PlanPeriod = 'DAYLY' | 'WEEKLY' | 'MONTHLY' | 'QUATERLY' | 'SEMESTER' | 'YEARLY' | 'CUSTOM_DAYS';
3306
3666
  export type IntegrationProvider = 'STRAVA' | 'INSTAGRAM' | 'GARMIN' | 'POLAR' | 'HEALTHKIT';
3667
+ export type OfferKind = 'DISCOUNT_CODE' | 'AFFILIATE_PROGRAM' | 'PRODUCT' | 'CUSTOM';
3668
+ export type OfferMethod = 'CLAIM' | 'APPLY';
3669
+ export type OfferCategory = 'APPAREL_GEAR' | 'NUTRITION' | 'RECOVERY' | 'TRAVEL_STAY' | 'TECH_WEARABLES' | 'EVENTS_RACES' | 'OTHER';
3670
+ export type OfferPublishState = 'DRAFT' | 'LIVE' | 'PAUSED' | 'ENDED';
3671
+ export type OfferDuration = 'ONE_MONTH' | 'TWO_MONTHS' | 'THREE_MONTHS' | 'SIX_MONTHS' | 'ONE_YEAR' | 'TWO_YEARS' | 'UNTIL_END' | 'OTHER';
3672
+ export type OfferPreferredIndex = 'ANY' | 'VTX' | 'TPI' | 'API' | 'SPI';
3673
+ export type OfferQuestionType = 'SHORT' | 'LONG' | 'YES_NO' | 'CHOICE';
3674
+ export type OfferCoverKind = 'LOGO' | 'PHOTO';
3675
+ export type OfferCoverBackground = 'BRAND' | 'WHITE' | 'LIGHT_GREY' | 'BLACK' | 'CUSTOM';
3676
+ export type OfferAskChip = 'POST_INSTAGRAM' | 'POST_REEL' | 'SHARE_STORIES' | 'TAG_BRAND' | 'WRITE_REVIEW' | 'WEAR_IN_RACE';
3677
+ export type OfferAthleteStatus = 'ELIGIBLE' | 'NOT_ELIGIBLE_YET' | 'CLAIMED' | 'APPLIED' | 'SELECTED' | 'NOT_SELECTED' | 'CLOSED' | 'ENDED';
3678
+ export type OfferRequirementKind = 'VERIFIED' | 'SCORE' | 'SPORT' | 'COUNTRY' | 'LEVEL' | 'AGE' | 'GENDER';
3679
+ export type OfferFixLink = 'VERIFIED_STEPS' | 'CONNECT_INSTAGRAM' | 'ADD_RACE';
3680
+ export type OfferApplicationEmailStatus = 'PENDING' | 'SENT' | 'FAILED';
3681
+ export type OfferApplicationEmailKind = 'INITIAL' | 'RESEND';
3682
+ export type OfferEndLabelKind = 'VALID_UNTIL' | 'ENDS_ON' | 'ENDS_IN_DAYS' | 'ENDED';
3683
+ export type OfferApplicationDecision = 'APPLIED' | 'SELECTED' | 'NOT_SELECTED';
3684
+ export type OfferAdminTab = 'LIVE' | 'DRAFT' | 'PAUSED' | 'ENDED' | 'ALL';
3685
+ export type OfferSportDisplayGroup = 'RUN_WALK' | 'BIKE' | 'SWIM' | 'MULTISPORT' | 'OTHER';
3686
+ export type OfferGender = 'F' | 'M';
3687
+ export type OfferChecklistKey = 'CHOOSE_BRAND' | 'ADD_TITLE' | 'CHOOSE_CATEGORY' | 'ADD_BRAND_LOGO' | 'ADD_SUMMARY' | 'ADD_BENEFIT' | 'EXPLAIN_HOW' | 'ADD_DISCOUNT_CODE' | 'ADD_CONTACT' | 'ADD_CODE_VALID_UNTIL' | 'ADD_END_DATE' | 'CHOOSE_DURATION' | 'DURATION_OTHER_TEXT' | 'ADD_APPLICATIONS_EMAIL' | 'FINISH_QUESTION';
3688
+ export type OfferPageCta = 'CLAIM_OFFER' | 'APPLY_NOW' | 'MEET_REQUIREMENTS_CLAIM' | 'MEET_REQUIREMENTS_APPLY' | 'APPLICATIONS_CLOSED' | 'CLAIMED' | 'APPLIED' | 'SELECTED' | 'NOT_SELECTED' | 'ENDED';
3307
3689
  export interface Query {
3308
3690
  findTenantById: Tenant;
3309
3691
  findTenantByEmail: Tenant;
@@ -3431,6 +3813,16 @@ export interface Query {
3431
3813
  myOfferClaims: OfferClaim[];
3432
3814
  offerAvailability: OfferAvailability;
3433
3815
  offersWithEligibility: PaginatedOffersWithEligibility;
3816
+ adminOffers: AdminOffersPage;
3817
+ adminOffer: AdminOffer;
3818
+ athleteOffers: AthleteOffersResult;
3819
+ athleteOffer: AthleteOfferPage;
3820
+ offerSportOptions: OfferSportOption[];
3821
+ myOfferWallet: OfferWalletItem[];
3822
+ offerBrandsAdmin: OfferBrandAdmin[];
3823
+ offerBrandAdmin: OfferBrandAdmin;
3824
+ offerActivity: OfferActivity;
3825
+ offerApplication: OfferApplicationAdmin;
3434
3826
  getLeaderboard: LeaderboardResponse;
3435
3827
  getAthleteRating: AthleteRatingResponse;
3436
3828
  getUserRank: UserRank;
@@ -3640,6 +4032,18 @@ export interface Mutation {
3640
4032
  withdrawSponsorshipApplication: OfferClaim;
3641
4033
  removeOfferClaim: Scalars['Boolean'];
3642
4034
  uploadCouponCodes: UploadResult;
4035
+ saveOffer: SaveOfferResult;
4036
+ setOfferPublishState: AdminOffer;
4037
+ setOfferFeatured: AdminOffer;
4038
+ duplicateOffer: AdminOffer;
4039
+ deleteUnusedOffer: Scalars['Boolean'];
4040
+ setOfferSaved: Scalars['Boolean'];
4041
+ recordOfferView: Scalars['Boolean'];
4042
+ saveOfferBrand: OfferBrandAdmin;
4043
+ applyToOffer: OfferApplicationResult;
4044
+ withdrawOfferApplication: OfferApplicationResult;
4045
+ setOfferApplicationStatus: OfferApplicationAdmin;
4046
+ resendOfferApplicationEmail: OfferApplicationAdmin;
3643
4047
  rebuildLeaderboardCache: Scalars['Boolean'];
3644
4048
  markNotificationAsRead: Notification;
3645
4049
  markAllNotificationsAsRead: Scalars['Int'];
@@ -6621,6 +7025,394 @@ export interface PaginatedOffersWithEligibilityGenqlSelection {
6621
7025
  __typename?: boolean | number;
6622
7026
  __scalar?: boolean | number;
6623
7027
  }
7028
+ export interface OfferQuestionGenqlSelection {
7029
+ id?: boolean | number;
7030
+ label?: boolean | number;
7031
+ type?: boolean | number;
7032
+ options?: boolean | number;
7033
+ required?: boolean | number;
7034
+ __typename?: boolean | number;
7035
+ __scalar?: boolean | number;
7036
+ }
7037
+ export interface OfferCountryGenqlSelection {
7038
+ countryId?: boolean | number;
7039
+ name?: boolean | number;
7040
+ __typename?: boolean | number;
7041
+ __scalar?: boolean | number;
7042
+ }
7043
+ export interface OfferBrandSummaryGenqlSelection {
7044
+ brandId?: boolean | number;
7045
+ name?: boolean | number;
7046
+ logoUrl?: boolean | number;
7047
+ brandColor?: boolean | number;
7048
+ hasLogo?: boolean | number;
7049
+ applicationEmails?: boolean | number;
7050
+ copyToVtx?: boolean | number;
7051
+ contactEmail?: boolean | number;
7052
+ contactPhone?: boolean | number;
7053
+ website?: boolean | number;
7054
+ __typename?: boolean | number;
7055
+ __scalar?: boolean | number;
7056
+ }
7057
+ export interface OfferChecklistItemGenqlSelection {
7058
+ key?: boolean | number;
7059
+ fieldId?: boolean | number;
7060
+ brandName?: boolean | number;
7061
+ __typename?: boolean | number;
7062
+ __scalar?: boolean | number;
7063
+ }
7064
+ export interface AdminOfferGenqlSelection {
7065
+ offerId?: boolean | number;
7066
+ brandId?: boolean | number;
7067
+ brandName?: boolean | number;
7068
+ kind?: boolean | number;
7069
+ method?: boolean | number;
7070
+ category?: boolean | number;
7071
+ publishState?: boolean | number;
7072
+ title?: boolean | number;
7073
+ summary?: boolean | number;
7074
+ badge?: boolean | number;
7075
+ coverKind?: boolean | number;
7076
+ coverBackground?: boolean | number;
7077
+ coverColor?: boolean | number;
7078
+ benefits?: boolean | number;
7079
+ howItWorks?: boolean | number;
7080
+ code?: boolean | number;
7081
+ startDate?: boolean | number;
7082
+ endDate?: boolean | number;
7083
+ durationKind?: boolean | number;
7084
+ durationText?: boolean | number;
7085
+ terms?: boolean | number;
7086
+ contactEmail?: boolean | number;
7087
+ contactPhone?: boolean | number;
7088
+ officialUrl?: boolean | number;
7089
+ featured?: boolean | number;
7090
+ publishedAt?: boolean | number;
7091
+ editedAt?: boolean | number;
7092
+ dateCreated?: boolean | number;
7093
+ coverImageUrl?: boolean | number;
7094
+ coverImageFileId?: boolean | number;
7095
+ askChips?: boolean | number;
7096
+ askNote?: boolean | number;
7097
+ spots?: boolean | number;
7098
+ applicationsCloseDate?: boolean | number;
7099
+ replyWithinDays?: boolean | number;
7100
+ questions?: OfferQuestionGenqlSelection;
7101
+ preferredIndex?: boolean | number;
7102
+ minScore?: boolean | number;
7103
+ verifiedOnly?: boolean | number;
7104
+ sportKeys?: boolean | number;
7105
+ countries?: OfferCountryGenqlSelection;
7106
+ levels?: boolean | number;
7107
+ minAge?: boolean | number;
7108
+ maxAge?: boolean | number;
7109
+ genders?: boolean | number;
7110
+ brand?: OfferBrandSummaryGenqlSelection;
7111
+ claims?: boolean | number;
7112
+ applications?: boolean | number;
7113
+ views?: boolean | number;
7114
+ saves?: boolean | number;
7115
+ hasClaims?: boolean | number;
7116
+ isEnded?: boolean | number;
7117
+ __typename?: boolean | number;
7118
+ __scalar?: boolean | number;
7119
+ }
7120
+ export interface SaveOfferResultGenqlSelection {
7121
+ offer?: AdminOfferGenqlSelection;
7122
+ missing?: OfferChecklistItemGenqlSelection;
7123
+ published?: boolean | number;
7124
+ __typename?: boolean | number;
7125
+ __scalar?: boolean | number;
7126
+ }
7127
+ export interface AdminOfferRowGenqlSelection {
7128
+ offerId?: boolean | number;
7129
+ title?: boolean | number;
7130
+ brandId?: boolean | number;
7131
+ brandName?: boolean | number;
7132
+ kind?: boolean | number;
7133
+ method?: boolean | number;
7134
+ publishState?: boolean | number;
7135
+ featured?: boolean | number;
7136
+ isEnded?: boolean | number;
7137
+ startDate?: boolean | number;
7138
+ endDate?: boolean | number;
7139
+ claims?: boolean | number;
7140
+ applications?: boolean | number;
7141
+ views?: boolean | number;
7142
+ saves?: boolean | number;
7143
+ __typename?: boolean | number;
7144
+ __scalar?: boolean | number;
7145
+ }
7146
+ export interface AdminOffersPageGenqlSelection {
7147
+ items?: AdminOfferRowGenqlSelection;
7148
+ total?: boolean | number;
7149
+ __typename?: boolean | number;
7150
+ __scalar?: boolean | number;
7151
+ }
7152
+ export interface AthleteOfferBrandGenqlSelection {
7153
+ brandId?: boolean | number;
7154
+ name?: boolean | number;
7155
+ logoUrl?: boolean | number;
7156
+ brandColor?: boolean | number;
7157
+ slogan?: boolean | number;
7158
+ website?: boolean | number;
7159
+ __typename?: boolean | number;
7160
+ __scalar?: boolean | number;
7161
+ }
7162
+ export interface AthleteOfferCardGenqlSelection {
7163
+ offerId?: boolean | number;
7164
+ kind?: boolean | number;
7165
+ method?: boolean | number;
7166
+ category?: boolean | number;
7167
+ title?: boolean | number;
7168
+ summary?: boolean | number;
7169
+ badge?: boolean | number;
7170
+ featured?: boolean | number;
7171
+ coverKind?: boolean | number;
7172
+ coverBackground?: boolean | number;
7173
+ coverColor?: boolean | number;
7174
+ coverImageUrl?: boolean | number;
7175
+ brand?: AthleteOfferBrandGenqlSelection;
7176
+ status?: boolean | number;
7177
+ endDate?: boolean | number;
7178
+ eligible?: boolean | number;
7179
+ requirementsMet?: boolean | number;
7180
+ requirementsTotal?: boolean | number;
7181
+ endLabelKind?: boolean | number;
7182
+ endsInDays?: boolean | number;
7183
+ isNew?: boolean | number;
7184
+ saved?: boolean | number;
7185
+ preferredIndex?: boolean | number;
7186
+ live?: boolean | number;
7187
+ __typename?: boolean | number;
7188
+ __scalar?: boolean | number;
7189
+ }
7190
+ export interface OfferCountsGenqlSelection {
7191
+ live?: boolean | number;
7192
+ eligible?: boolean | number;
7193
+ claimed?: boolean | number;
7194
+ applied?: boolean | number;
7195
+ __typename?: boolean | number;
7196
+ __scalar?: boolean | number;
7197
+ }
7198
+ export interface AthleteOffersResultGenqlSelection {
7199
+ offers?: AthleteOfferCardGenqlSelection;
7200
+ counts?: OfferCountsGenqlSelection;
7201
+ savedOfferIds?: boolean | number;
7202
+ categoriesWithLive?: boolean | number;
7203
+ __typename?: boolean | number;
7204
+ __scalar?: boolean | number;
7205
+ }
7206
+ export interface OfferWalletItemGenqlSelection {
7207
+ claimId?: boolean | number;
7208
+ offerId?: boolean | number;
7209
+ kind?: boolean | number;
7210
+ method?: boolean | number;
7211
+ title?: boolean | number;
7212
+ brandName?: boolean | number;
7213
+ brandLogoUrl?: boolean | number;
7214
+ status?: boolean | number;
7215
+ code?: boolean | number;
7216
+ validUntil?: boolean | number;
7217
+ officialUrl?: boolean | number;
7218
+ claimedAt?: boolean | number;
7219
+ __typename?: boolean | number;
7220
+ __scalar?: boolean | number;
7221
+ }
7222
+ export interface OfferRequirementResultGenqlSelection {
7223
+ kind?: boolean | number;
7224
+ met?: boolean | number;
7225
+ index?: boolean | number;
7226
+ min?: boolean | number;
7227
+ sportKeys?: boolean | number;
7228
+ countries?: OfferCountryGenqlSelection;
7229
+ levels?: boolean | number;
7230
+ minAge?: boolean | number;
7231
+ maxAge?: boolean | number;
7232
+ genders?: boolean | number;
7233
+ athleteScore?: boolean | number;
7234
+ athleteVerified?: boolean | number;
7235
+ athleteSportKeys?: boolean | number;
7236
+ athleteCountry?: OfferCountryGenqlSelection;
7237
+ athleteLevel?: boolean | number;
7238
+ athleteAge?: boolean | number;
7239
+ athleteGender?: boolean | number;
7240
+ fix?: boolean | number;
7241
+ __typename?: boolean | number;
7242
+ __scalar?: boolean | number;
7243
+ }
7244
+ export interface OfferMyClaimGenqlSelection {
7245
+ claimId?: boolean | number;
7246
+ code?: boolean | number;
7247
+ validUntil?: boolean | number;
7248
+ claimedAt?: boolean | number;
7249
+ __typename?: boolean | number;
7250
+ __scalar?: boolean | number;
7251
+ }
7252
+ export interface OfferMyApplicationGenqlSelection {
7253
+ claimId?: boolean | number;
7254
+ status?: boolean | number;
7255
+ appliedAt?: boolean | number;
7256
+ __typename?: boolean | number;
7257
+ __scalar?: boolean | number;
7258
+ }
7259
+ export interface AthleteOfferPageGenqlSelection {
7260
+ card?: AthleteOfferCardGenqlSelection;
7261
+ cta?: boolean | number;
7262
+ benefits?: boolean | number;
7263
+ howItWorks?: boolean | number;
7264
+ durationKind?: boolean | number;
7265
+ durationText?: boolean | number;
7266
+ startDate?: boolean | number;
7267
+ terms?: boolean | number;
7268
+ officialUrl?: boolean | number;
7269
+ contactEmail?: boolean | number;
7270
+ contactPhone?: boolean | number;
7271
+ askChips?: boolean | number;
7272
+ askNote?: boolean | number;
7273
+ spots?: boolean | number;
7274
+ applicationsCloseDate?: boolean | number;
7275
+ replyWithinDays?: boolean | number;
7276
+ applicationsClosed?: boolean | number;
7277
+ questions?: OfferQuestionGenqlSelection;
7278
+ requirements?: OfferRequirementResultGenqlSelection;
7279
+ showAdNote?: boolean | number;
7280
+ myClaim?: OfferMyClaimGenqlSelection;
7281
+ myApplication?: OfferMyApplicationGenqlSelection;
7282
+ contactAtEmail?: boolean | number;
7283
+ __typename?: boolean | number;
7284
+ __scalar?: boolean | number;
7285
+ }
7286
+ export interface OfferSportOptionGenqlSelection {
7287
+ key?: boolean | number;
7288
+ displayGroup?: boolean | number;
7289
+ __typename?: boolean | number;
7290
+ __scalar?: boolean | number;
7291
+ }
7292
+ export interface OfferScoresGenqlSelection {
7293
+ VTX?: boolean | number;
7294
+ TPI?: boolean | number;
7295
+ API?: boolean | number;
7296
+ SPI?: boolean | number;
7297
+ __typename?: boolean | number;
7298
+ __scalar?: boolean | number;
7299
+ }
7300
+ export interface OfferActivityCountersGenqlSelection {
7301
+ views?: boolean | number;
7302
+ saves?: boolean | number;
7303
+ claims?: boolean | number;
7304
+ applications?: boolean | number;
7305
+ ratePercent?: boolean | number;
7306
+ __typename?: boolean | number;
7307
+ __scalar?: boolean | number;
7308
+ }
7309
+ export interface OfferApplicationRowGenqlSelection {
7310
+ claimId?: boolean | number;
7311
+ athleteName?: boolean | number;
7312
+ photoUrl?: boolean | number;
7313
+ sportKeys?: boolean | number;
7314
+ level?: boolean | number;
7315
+ countryName?: boolean | number;
7316
+ verified?: boolean | number;
7317
+ scores?: OfferScoresGenqlSelection;
7318
+ appliedAt?: boolean | number;
7319
+ status?: boolean | number;
7320
+ emailStatus?: boolean | number;
7321
+ emailSentAt?: boolean | number;
7322
+ athleteNotified?: boolean | number;
7323
+ __typename?: boolean | number;
7324
+ __scalar?: boolean | number;
7325
+ }
7326
+ export interface OfferClaimRowGenqlSelection {
7327
+ claimId?: boolean | number;
7328
+ athleteName?: boolean | number;
7329
+ photoUrl?: boolean | number;
7330
+ level?: boolean | number;
7331
+ scores?: OfferScoresGenqlSelection;
7332
+ claimedAt?: boolean | number;
7333
+ __typename?: boolean | number;
7334
+ __scalar?: boolean | number;
7335
+ }
7336
+ export interface OfferActivityGenqlSelection {
7337
+ offerId?: boolean | number;
7338
+ title?: boolean | number;
7339
+ brandName?: boolean | number;
7340
+ kind?: boolean | number;
7341
+ method?: boolean | number;
7342
+ publishState?: boolean | number;
7343
+ startDate?: boolean | number;
7344
+ preferredIndex?: boolean | number;
7345
+ applicationEmails?: boolean | number;
7346
+ copyToVtx?: boolean | number;
7347
+ counters?: OfferActivityCountersGenqlSelection;
7348
+ applications?: OfferApplicationRowGenqlSelection;
7349
+ claims?: OfferClaimRowGenqlSelection;
7350
+ claimsShown?: boolean | number;
7351
+ claimsTotal?: boolean | number;
7352
+ __typename?: boolean | number;
7353
+ __scalar?: boolean | number;
7354
+ }
7355
+ export interface OfferAnswerGenqlSelection {
7356
+ questionId?: boolean | number;
7357
+ label?: boolean | number;
7358
+ answer?: boolean | number;
7359
+ __typename?: boolean | number;
7360
+ __scalar?: boolean | number;
7361
+ }
7362
+ export interface OfferApplicationEmailLogGenqlSelection {
7363
+ kind?: boolean | number;
7364
+ toEmails?: boolean | number;
7365
+ bccVtx?: boolean | number;
7366
+ status?: boolean | number;
7367
+ createdAt?: boolean | number;
7368
+ triggeredByAdminEmail?: boolean | number;
7369
+ __typename?: boolean | number;
7370
+ __scalar?: boolean | number;
7371
+ }
7372
+ export interface OfferApplicationAdminGenqlSelection {
7373
+ row?: OfferApplicationRowGenqlSelection;
7374
+ offerId?: boolean | number;
7375
+ offerTitle?: boolean | number;
7376
+ brandName?: boolean | number;
7377
+ email?: boolean | number;
7378
+ ageGroup?: boolean | number;
7379
+ instagramHandle?: boolean | number;
7380
+ results?: boolean | number;
7381
+ answers?: OfferAnswerGenqlSelection;
7382
+ consentAt?: boolean | number;
7383
+ emailLog?: OfferApplicationEmailLogGenqlSelection;
7384
+ __typename?: boolean | number;
7385
+ __scalar?: boolean | number;
7386
+ }
7387
+ export interface OfferApplicationResultGenqlSelection {
7388
+ claimId?: boolean | number;
7389
+ offerId?: boolean | number;
7390
+ status?: boolean | number;
7391
+ withdrawn?: boolean | number;
7392
+ appliedAt?: boolean | number;
7393
+ withdrawnAt?: boolean | number;
7394
+ __typename?: boolean | number;
7395
+ __scalar?: boolean | number;
7396
+ }
7397
+ export interface OfferBrandAdminGenqlSelection {
7398
+ brandId?: boolean | number;
7399
+ name?: boolean | number;
7400
+ slogan?: boolean | number;
7401
+ website?: boolean | number;
7402
+ contactEmail?: boolean | number;
7403
+ contactPhone?: boolean | number;
7404
+ applicationEmails?: boolean | number;
7405
+ copyToVtx?: boolean | number;
7406
+ internalNote?: boolean | number;
7407
+ brandColor?: boolean | number;
7408
+ logoUrl?: boolean | number;
7409
+ logoFileId?: boolean | number;
7410
+ applicationsEmailMissing?: boolean | number;
7411
+ offerCount?: boolean | number;
7412
+ hasClaims?: boolean | number;
7413
+ __typename?: boolean | number;
7414
+ __scalar?: boolean | number;
7415
+ }
6624
7416
  export interface OnboardingProgressResponseGenqlSelection {
6625
7417
  success?: boolean | number;
6626
7418
  step?: boolean | number;
@@ -8387,6 +9179,86 @@ export interface OfferQueryDto {
8387
9179
  filterEligibleOnly?: (Scalars['Boolean'] | null);
8388
9180
  athleteId?: (Scalars['String'] | null);
8389
9181
  }
9182
+ export interface AdminOffersQueryInput {
9183
+ tab: OfferAdminTab;
9184
+ search?: (Scalars['String'] | null);
9185
+ brandId?: (Scalars['String'] | null);
9186
+ kind?: (OfferKind | null);
9187
+ page: Scalars['Int'];
9188
+ pageSize: Scalars['Int'];
9189
+ }
9190
+ export interface OfferAnswerInput {
9191
+ questionId: Scalars['String'];
9192
+ value: Scalars['String'];
9193
+ }
9194
+ export interface ApplyToOfferInput {
9195
+ offerId: Scalars['String'];
9196
+ athleteId: Scalars['String'];
9197
+ answers?: (OfferAnswerInput[] | null);
9198
+ consent: Scalars['Boolean'];
9199
+ }
9200
+ export interface SaveOfferBrandInput {
9201
+ brandId?: (Scalars['String'] | null);
9202
+ name: Scalars['String'];
9203
+ slogan?: (Scalars['String'] | null);
9204
+ website?: (Scalars['String'] | null);
9205
+ contactEmail?: (Scalars['String'] | null);
9206
+ contactPhone?: (Scalars['String'] | null);
9207
+ applicationEmails?: (Scalars['String'][] | null);
9208
+ copyToVtx?: (Scalars['Boolean'] | null);
9209
+ internalNote?: (Scalars['String'] | null);
9210
+ brandColor?: (Scalars['String'] | null);
9211
+ logo?: (AWSS3UploadedFileDto | null);
9212
+ }
9213
+ export interface OfferQuestionInput {
9214
+ id?: (Scalars['String'] | null);
9215
+ label: Scalars['String'];
9216
+ type: OfferQuestionType;
9217
+ options?: (Scalars['String'][] | null);
9218
+ required: Scalars['Boolean'];
9219
+ }
9220
+ export interface SaveOfferInput {
9221
+ offerId?: (Scalars['String'] | null);
9222
+ brandId: Scalars['String'];
9223
+ kind: OfferKind;
9224
+ method?: (OfferMethod | null);
9225
+ title: Scalars['String'];
9226
+ category?: (OfferCategory | null);
9227
+ summary?: (Scalars['String'] | null);
9228
+ badge?: (Scalars['String'] | null);
9229
+ coverKind?: (OfferCoverKind | null);
9230
+ coverBackground?: (OfferCoverBackground | null);
9231
+ coverColor?: (Scalars['String'] | null);
9232
+ benefits?: (Scalars['String'][] | null);
9233
+ howItWorks?: (Scalars['String'] | null);
9234
+ code?: (Scalars['String'] | null);
9235
+ startDate?: (Scalars['String'] | null);
9236
+ endDate?: (Scalars['String'] | null);
9237
+ durationKind?: (OfferDuration | null);
9238
+ durationText?: (Scalars['String'] | null);
9239
+ terms?: (Scalars['String'] | null);
9240
+ contactEmail?: (Scalars['String'] | null);
9241
+ contactPhone?: (Scalars['String'] | null);
9242
+ officialUrl?: (Scalars['String'] | null);
9243
+ featured?: (Scalars['Boolean'] | null);
9244
+ offerImage?: (AWSS3UploadedFileDto | null);
9245
+ removeOfferImage?: (Scalars['Boolean'] | null);
9246
+ askChips?: (OfferAskChip[] | null);
9247
+ askNote?: (Scalars['String'] | null);
9248
+ spots?: (Scalars['Int'] | null);
9249
+ applicationsCloseDate?: (Scalars['String'] | null);
9250
+ replyWithinDays?: (Scalars['Int'] | null);
9251
+ questions?: (OfferQuestionInput[] | null);
9252
+ preferredIndex?: (OfferPreferredIndex | null);
9253
+ minScore?: (Scalars['Int'] | null);
9254
+ verifiedOnly?: (Scalars['Boolean'] | null);
9255
+ sportKeys?: (Scalars['String'][] | null);
9256
+ countryIds?: (Scalars['String'][] | null);
9257
+ levels?: (Scalars['String'][] | null);
9258
+ minAge?: (Scalars['Int'] | null);
9259
+ maxAge?: (Scalars['Int'] | null);
9260
+ genders?: (OfferGender[] | null);
9261
+ }
8390
9262
  export interface OffsetPaginationDto {
8391
9263
  pageNumber?: Scalars['Float'];
8392
9264
  pageSize?: Scalars['Float'];
@@ -9128,6 +10000,49 @@ export interface QueryGenqlSelection {
9128
10000
  query?: (OfferQueryDto | null);
9129
10001
  };
9130
10002
  });
10003
+ adminOffers?: (AdminOffersPageGenqlSelection & {
10004
+ __args: {
10005
+ query: AdminOffersQueryInput;
10006
+ };
10007
+ });
10008
+ adminOffer?: (AdminOfferGenqlSelection & {
10009
+ __args: {
10010
+ offerId: Scalars['String'];
10011
+ };
10012
+ });
10013
+ athleteOffers?: (AthleteOffersResultGenqlSelection & {
10014
+ __args: {
10015
+ athleteId: Scalars['String'];
10016
+ };
10017
+ });
10018
+ athleteOffer?: (AthleteOfferPageGenqlSelection & {
10019
+ __args: {
10020
+ offerId: Scalars['String'];
10021
+ athleteId: Scalars['String'];
10022
+ };
10023
+ });
10024
+ offerSportOptions?: OfferSportOptionGenqlSelection;
10025
+ myOfferWallet?: (OfferWalletItemGenqlSelection & {
10026
+ __args: {
10027
+ athleteId: Scalars['String'];
10028
+ };
10029
+ });
10030
+ offerBrandsAdmin?: OfferBrandAdminGenqlSelection;
10031
+ offerBrandAdmin?: (OfferBrandAdminGenqlSelection & {
10032
+ __args: {
10033
+ brandId: Scalars['String'];
10034
+ };
10035
+ });
10036
+ offerActivity?: (OfferActivityGenqlSelection & {
10037
+ __args: {
10038
+ offerId: Scalars['String'];
10039
+ };
10040
+ });
10041
+ offerApplication?: (OfferApplicationAdminGenqlSelection & {
10042
+ __args: {
10043
+ claimId: Scalars['String'];
10044
+ };
10045
+ });
9131
10046
  getLeaderboard?: (LeaderboardResponseGenqlSelection & {
9132
10047
  __args?: {
9133
10048
  input?: (LeaderboardQueryDto | null);
@@ -10107,6 +11022,74 @@ export interface MutationGenqlSelection {
10107
11022
  csvContent: Scalars['String'];
10108
11023
  };
10109
11024
  });
11025
+ saveOffer?: (SaveOfferResultGenqlSelection & {
11026
+ __args: {
11027
+ input: SaveOfferInput;
11028
+ publish: Scalars['Boolean'];
11029
+ };
11030
+ });
11031
+ setOfferPublishState?: (AdminOfferGenqlSelection & {
11032
+ __args: {
11033
+ offerId: Scalars['String'];
11034
+ state: OfferPublishState;
11035
+ };
11036
+ });
11037
+ setOfferFeatured?: (AdminOfferGenqlSelection & {
11038
+ __args: {
11039
+ offerId: Scalars['String'];
11040
+ featured: Scalars['Boolean'];
11041
+ };
11042
+ });
11043
+ duplicateOffer?: (AdminOfferGenqlSelection & {
11044
+ __args: {
11045
+ offerId: Scalars['String'];
11046
+ };
11047
+ });
11048
+ deleteUnusedOffer?: {
11049
+ __args: {
11050
+ offerId: Scalars['String'];
11051
+ };
11052
+ };
11053
+ setOfferSaved?: {
11054
+ __args: {
11055
+ offerId: Scalars['String'];
11056
+ athleteId: Scalars['String'];
11057
+ saved: Scalars['Boolean'];
11058
+ };
11059
+ };
11060
+ recordOfferView?: {
11061
+ __args: {
11062
+ offerId: Scalars['String'];
11063
+ athleteId: Scalars['String'];
11064
+ };
11065
+ };
11066
+ saveOfferBrand?: (OfferBrandAdminGenqlSelection & {
11067
+ __args: {
11068
+ input: SaveOfferBrandInput;
11069
+ };
11070
+ });
11071
+ applyToOffer?: (OfferApplicationResultGenqlSelection & {
11072
+ __args: {
11073
+ input: ApplyToOfferInput;
11074
+ };
11075
+ });
11076
+ withdrawOfferApplication?: (OfferApplicationResultGenqlSelection & {
11077
+ __args: {
11078
+ claimId: Scalars['String'];
11079
+ athleteId: Scalars['String'];
11080
+ };
11081
+ });
11082
+ setOfferApplicationStatus?: (OfferApplicationAdminGenqlSelection & {
11083
+ __args: {
11084
+ claimId: Scalars['String'];
11085
+ status: OfferApplicationDecision;
11086
+ };
11087
+ });
11088
+ resendOfferApplicationEmail?: (OfferApplicationAdminGenqlSelection & {
11089
+ __args: {
11090
+ claimId: Scalars['String'];
11091
+ };
11092
+ });
10110
11093
  rebuildLeaderboardCache?: boolean | number;
10111
11094
  markNotificationAsRead?: (NotificationGenqlSelection & {
10112
11095
  __args: {
@@ -11208,6 +12191,90 @@ export declare const isOfferWithEligibility: (obj?: {
11208
12191
  export declare const isPaginatedOffersWithEligibility: (obj?: {
11209
12192
  __typename?: any;
11210
12193
  } | null) => obj is PaginatedOffersWithEligibility;
12194
+ export declare const isOfferQuestion: (obj?: {
12195
+ __typename?: any;
12196
+ } | null) => obj is OfferQuestion;
12197
+ export declare const isOfferCountry: (obj?: {
12198
+ __typename?: any;
12199
+ } | null) => obj is OfferCountry;
12200
+ export declare const isOfferBrandSummary: (obj?: {
12201
+ __typename?: any;
12202
+ } | null) => obj is OfferBrandSummary;
12203
+ export declare const isOfferChecklistItem: (obj?: {
12204
+ __typename?: any;
12205
+ } | null) => obj is OfferChecklistItem;
12206
+ export declare const isAdminOffer: (obj?: {
12207
+ __typename?: any;
12208
+ } | null) => obj is AdminOffer;
12209
+ export declare const isSaveOfferResult: (obj?: {
12210
+ __typename?: any;
12211
+ } | null) => obj is SaveOfferResult;
12212
+ export declare const isAdminOfferRow: (obj?: {
12213
+ __typename?: any;
12214
+ } | null) => obj is AdminOfferRow;
12215
+ export declare const isAdminOffersPage: (obj?: {
12216
+ __typename?: any;
12217
+ } | null) => obj is AdminOffersPage;
12218
+ export declare const isAthleteOfferBrand: (obj?: {
12219
+ __typename?: any;
12220
+ } | null) => obj is AthleteOfferBrand;
12221
+ export declare const isAthleteOfferCard: (obj?: {
12222
+ __typename?: any;
12223
+ } | null) => obj is AthleteOfferCard;
12224
+ export declare const isOfferCounts: (obj?: {
12225
+ __typename?: any;
12226
+ } | null) => obj is OfferCounts;
12227
+ export declare const isAthleteOffersResult: (obj?: {
12228
+ __typename?: any;
12229
+ } | null) => obj is AthleteOffersResult;
12230
+ export declare const isOfferWalletItem: (obj?: {
12231
+ __typename?: any;
12232
+ } | null) => obj is OfferWalletItem;
12233
+ export declare const isOfferRequirementResult: (obj?: {
12234
+ __typename?: any;
12235
+ } | null) => obj is OfferRequirementResult;
12236
+ export declare const isOfferMyClaim: (obj?: {
12237
+ __typename?: any;
12238
+ } | null) => obj is OfferMyClaim;
12239
+ export declare const isOfferMyApplication: (obj?: {
12240
+ __typename?: any;
12241
+ } | null) => obj is OfferMyApplication;
12242
+ export declare const isAthleteOfferPage: (obj?: {
12243
+ __typename?: any;
12244
+ } | null) => obj is AthleteOfferPage;
12245
+ export declare const isOfferSportOption: (obj?: {
12246
+ __typename?: any;
12247
+ } | null) => obj is OfferSportOption;
12248
+ export declare const isOfferScores: (obj?: {
12249
+ __typename?: any;
12250
+ } | null) => obj is OfferScores;
12251
+ export declare const isOfferActivityCounters: (obj?: {
12252
+ __typename?: any;
12253
+ } | null) => obj is OfferActivityCounters;
12254
+ export declare const isOfferApplicationRow: (obj?: {
12255
+ __typename?: any;
12256
+ } | null) => obj is OfferApplicationRow;
12257
+ export declare const isOfferClaimRow: (obj?: {
12258
+ __typename?: any;
12259
+ } | null) => obj is OfferClaimRow;
12260
+ export declare const isOfferActivity: (obj?: {
12261
+ __typename?: any;
12262
+ } | null) => obj is OfferActivity;
12263
+ export declare const isOfferAnswer: (obj?: {
12264
+ __typename?: any;
12265
+ } | null) => obj is OfferAnswer;
12266
+ export declare const isOfferApplicationEmailLog: (obj?: {
12267
+ __typename?: any;
12268
+ } | null) => obj is OfferApplicationEmailLog;
12269
+ export declare const isOfferApplicationAdmin: (obj?: {
12270
+ __typename?: any;
12271
+ } | null) => obj is OfferApplicationAdmin;
12272
+ export declare const isOfferApplicationResult: (obj?: {
12273
+ __typename?: any;
12274
+ } | null) => obj is OfferApplicationResult;
12275
+ export declare const isOfferBrandAdmin: (obj?: {
12276
+ __typename?: any;
12277
+ } | null) => obj is OfferBrandAdmin;
11211
12278
  export declare const isOnboardingProgressResponse: (obj?: {
11212
12279
  __typename?: any;
11213
12280
  } | null) => obj is OnboardingProgressResponse;
@@ -11750,3 +12817,161 @@ export declare const enumIntegrationProvider: {
11750
12817
  POLAR: "POLAR";
11751
12818
  HEALTHKIT: "HEALTHKIT";
11752
12819
  };
12820
+ export declare const enumOfferKind: {
12821
+ DISCOUNT_CODE: "DISCOUNT_CODE";
12822
+ AFFILIATE_PROGRAM: "AFFILIATE_PROGRAM";
12823
+ PRODUCT: "PRODUCT";
12824
+ CUSTOM: "CUSTOM";
12825
+ };
12826
+ export declare const enumOfferMethod: {
12827
+ CLAIM: "CLAIM";
12828
+ APPLY: "APPLY";
12829
+ };
12830
+ export declare const enumOfferCategory: {
12831
+ APPAREL_GEAR: "APPAREL_GEAR";
12832
+ NUTRITION: "NUTRITION";
12833
+ RECOVERY: "RECOVERY";
12834
+ TRAVEL_STAY: "TRAVEL_STAY";
12835
+ TECH_WEARABLES: "TECH_WEARABLES";
12836
+ EVENTS_RACES: "EVENTS_RACES";
12837
+ OTHER: "OTHER";
12838
+ };
12839
+ export declare const enumOfferPublishState: {
12840
+ DRAFT: "DRAFT";
12841
+ LIVE: "LIVE";
12842
+ PAUSED: "PAUSED";
12843
+ ENDED: "ENDED";
12844
+ };
12845
+ export declare const enumOfferDuration: {
12846
+ ONE_MONTH: "ONE_MONTH";
12847
+ TWO_MONTHS: "TWO_MONTHS";
12848
+ THREE_MONTHS: "THREE_MONTHS";
12849
+ SIX_MONTHS: "SIX_MONTHS";
12850
+ ONE_YEAR: "ONE_YEAR";
12851
+ TWO_YEARS: "TWO_YEARS";
12852
+ UNTIL_END: "UNTIL_END";
12853
+ OTHER: "OTHER";
12854
+ };
12855
+ export declare const enumOfferPreferredIndex: {
12856
+ ANY: "ANY";
12857
+ VTX: "VTX";
12858
+ TPI: "TPI";
12859
+ API: "API";
12860
+ SPI: "SPI";
12861
+ };
12862
+ export declare const enumOfferQuestionType: {
12863
+ SHORT: "SHORT";
12864
+ LONG: "LONG";
12865
+ YES_NO: "YES_NO";
12866
+ CHOICE: "CHOICE";
12867
+ };
12868
+ export declare const enumOfferCoverKind: {
12869
+ LOGO: "LOGO";
12870
+ PHOTO: "PHOTO";
12871
+ };
12872
+ export declare const enumOfferCoverBackground: {
12873
+ BRAND: "BRAND";
12874
+ WHITE: "WHITE";
12875
+ LIGHT_GREY: "LIGHT_GREY";
12876
+ BLACK: "BLACK";
12877
+ CUSTOM: "CUSTOM";
12878
+ };
12879
+ export declare const enumOfferAskChip: {
12880
+ POST_INSTAGRAM: "POST_INSTAGRAM";
12881
+ POST_REEL: "POST_REEL";
12882
+ SHARE_STORIES: "SHARE_STORIES";
12883
+ TAG_BRAND: "TAG_BRAND";
12884
+ WRITE_REVIEW: "WRITE_REVIEW";
12885
+ WEAR_IN_RACE: "WEAR_IN_RACE";
12886
+ };
12887
+ export declare const enumOfferAthleteStatus: {
12888
+ ELIGIBLE: "ELIGIBLE";
12889
+ NOT_ELIGIBLE_YET: "NOT_ELIGIBLE_YET";
12890
+ CLAIMED: "CLAIMED";
12891
+ APPLIED: "APPLIED";
12892
+ SELECTED: "SELECTED";
12893
+ NOT_SELECTED: "NOT_SELECTED";
12894
+ CLOSED: "CLOSED";
12895
+ ENDED: "ENDED";
12896
+ };
12897
+ export declare const enumOfferRequirementKind: {
12898
+ VERIFIED: "VERIFIED";
12899
+ SCORE: "SCORE";
12900
+ SPORT: "SPORT";
12901
+ COUNTRY: "COUNTRY";
12902
+ LEVEL: "LEVEL";
12903
+ AGE: "AGE";
12904
+ GENDER: "GENDER";
12905
+ };
12906
+ export declare const enumOfferFixLink: {
12907
+ VERIFIED_STEPS: "VERIFIED_STEPS";
12908
+ CONNECT_INSTAGRAM: "CONNECT_INSTAGRAM";
12909
+ ADD_RACE: "ADD_RACE";
12910
+ };
12911
+ export declare const enumOfferApplicationEmailStatus: {
12912
+ PENDING: "PENDING";
12913
+ SENT: "SENT";
12914
+ FAILED: "FAILED";
12915
+ };
12916
+ export declare const enumOfferApplicationEmailKind: {
12917
+ INITIAL: "INITIAL";
12918
+ RESEND: "RESEND";
12919
+ };
12920
+ export declare const enumOfferEndLabelKind: {
12921
+ VALID_UNTIL: "VALID_UNTIL";
12922
+ ENDS_ON: "ENDS_ON";
12923
+ ENDS_IN_DAYS: "ENDS_IN_DAYS";
12924
+ ENDED: "ENDED";
12925
+ };
12926
+ export declare const enumOfferApplicationDecision: {
12927
+ APPLIED: "APPLIED";
12928
+ SELECTED: "SELECTED";
12929
+ NOT_SELECTED: "NOT_SELECTED";
12930
+ };
12931
+ export declare const enumOfferAdminTab: {
12932
+ LIVE: "LIVE";
12933
+ DRAFT: "DRAFT";
12934
+ PAUSED: "PAUSED";
12935
+ ENDED: "ENDED";
12936
+ ALL: "ALL";
12937
+ };
12938
+ export declare const enumOfferSportDisplayGroup: {
12939
+ RUN_WALK: "RUN_WALK";
12940
+ BIKE: "BIKE";
12941
+ SWIM: "SWIM";
12942
+ MULTISPORT: "MULTISPORT";
12943
+ OTHER: "OTHER";
12944
+ };
12945
+ export declare const enumOfferGender: {
12946
+ F: "F";
12947
+ M: "M";
12948
+ };
12949
+ export declare const enumOfferChecklistKey: {
12950
+ CHOOSE_BRAND: "CHOOSE_BRAND";
12951
+ ADD_TITLE: "ADD_TITLE";
12952
+ CHOOSE_CATEGORY: "CHOOSE_CATEGORY";
12953
+ ADD_BRAND_LOGO: "ADD_BRAND_LOGO";
12954
+ ADD_SUMMARY: "ADD_SUMMARY";
12955
+ ADD_BENEFIT: "ADD_BENEFIT";
12956
+ EXPLAIN_HOW: "EXPLAIN_HOW";
12957
+ ADD_DISCOUNT_CODE: "ADD_DISCOUNT_CODE";
12958
+ ADD_CONTACT: "ADD_CONTACT";
12959
+ ADD_CODE_VALID_UNTIL: "ADD_CODE_VALID_UNTIL";
12960
+ ADD_END_DATE: "ADD_END_DATE";
12961
+ CHOOSE_DURATION: "CHOOSE_DURATION";
12962
+ DURATION_OTHER_TEXT: "DURATION_OTHER_TEXT";
12963
+ ADD_APPLICATIONS_EMAIL: "ADD_APPLICATIONS_EMAIL";
12964
+ FINISH_QUESTION: "FINISH_QUESTION";
12965
+ };
12966
+ export declare const enumOfferPageCta: {
12967
+ CLAIM_OFFER: "CLAIM_OFFER";
12968
+ APPLY_NOW: "APPLY_NOW";
12969
+ MEET_REQUIREMENTS_CLAIM: "MEET_REQUIREMENTS_CLAIM";
12970
+ MEET_REQUIREMENTS_APPLY: "MEET_REQUIREMENTS_APPLY";
12971
+ APPLICATIONS_CLOSED: "APPLICATIONS_CLOSED";
12972
+ CLAIMED: "CLAIMED";
12973
+ APPLIED: "APPLIED";
12974
+ SELECTED: "SELECTED";
12975
+ NOT_SELECTED: "NOT_SELECTED";
12976
+ ENDED: "ENDED";
12977
+ };