@vertikalx/vtx-backend-client 3.1.18-dev.2 → 3.1.18-dev.3

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.
@@ -716,6 +716,7 @@ export type Brand = {
716
716
  translations?: Maybe<Array<BrandTranslation>>;
717
717
  website?: Maybe<Scalars['String']['output']>;
718
718
  };
719
+ export type BrandOperatorType = 'BOTH' | 'NOT_OWNED' | 'OWNED';
719
720
  export type BrandQueryDto = {
720
721
  approved?: InputMaybe<Scalars['String']['input']>;
721
722
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -842,6 +843,7 @@ export type Channel = {
842
843
  type: Scalars['String']['output'];
843
844
  url: Scalars['String']['output'];
844
845
  };
846
+ export type ChannelTypeEnum = 'FACEBOOK' | 'INSTAGRAM' | 'STRAVA' | 'TIKTOK' | 'YOUTUBE';
845
847
  export type CheckScoreRefreshCapabilityDto = {
846
848
  athleteIds: Array<Scalars['String']['input']>;
847
849
  };
@@ -870,6 +872,11 @@ export type City = {
870
872
  state?: Maybe<State>;
871
873
  timezone?: Maybe<Scalars['String']['output']>;
872
874
  };
875
+ export type CityReferenceDto = {
876
+ _id: Scalars['String']['input'];
877
+ name: Scalars['String']['input'];
878
+ state?: InputMaybe<StateReferenceDto>;
879
+ };
873
880
  export type ClaimExternalCompetitionResultDto = {
874
881
  competitionId: Scalars['String']['input'];
875
882
  };
@@ -923,6 +930,7 @@ export type CompetitionBudgetReference = {
923
930
  competitionId: Scalars['String']['output'];
924
931
  eventName: Scalars['String']['output'];
925
932
  };
933
+ export type CompetitionDeleteVerificationCase = 'CAMPAIGN_WILL_LOSE_FUNDS' | 'COMPETITION_HAS_BUDGET' | 'COMPETITION_LINKED_TO_CAMPAIGN' | 'COMPETITION_SAFE_TO_DELETE';
926
934
  export type CompetitionDeleteVerificationReason = {
927
935
  code: Scalars['String']['output'];
928
936
  details?: Maybe<Scalars['String']['output']>;
@@ -932,6 +940,7 @@ export type CompetitionDeleteVerificationResponse = {
932
940
  reasons: Array<CompetitionDeleteVerificationReason>;
933
941
  };
934
942
  export type CompetitionGender = 'FEMALE' | 'MALE';
943
+ export type CompetitionOutcome = 'DNF' | 'DNS' | 'DQ' | 'FINISHED' | 'LOSE' | 'TIE' | 'WIN';
935
944
  export type CompetitionResultDto = {
936
945
  adversary?: InputMaybe<Scalars['String']['input']>;
937
946
  categoryName?: InputMaybe<Scalars['String']['input']>;
@@ -971,6 +980,10 @@ export type Country = {
971
980
  name: Scalars['String']['output'];
972
981
  states?: Maybe<Array<State>>;
973
982
  };
983
+ export type CountryReferenceDto = {
984
+ _id: Scalars['String']['input'];
985
+ name: Scalars['String']['input'];
986
+ };
974
987
  export type Coupon = {
975
988
  _id: Scalars['String']['output'];
976
989
  availableCodes: Scalars['Int']['output'];
@@ -1353,6 +1366,14 @@ export type DecodedToken = {
1353
1366
  export type DeleteAthleteDto = {
1354
1367
  userIdentifier: Scalars['String']['input'];
1355
1368
  };
1369
+ export type DeleteAthleteResponse = {
1370
+ deletedAthlete?: Maybe<AthleteReference>;
1371
+ success: Scalars['Boolean']['output'];
1372
+ };
1373
+ export type DeleteMemberResponse = {
1374
+ deletedMemberId?: Maybe<Scalars['String']['output']>;
1375
+ success: Scalars['Boolean']['output'];
1376
+ };
1356
1377
  export type DeleteOnboardingAthleteResponse = {
1357
1378
  athleteId?: Maybe<Scalars['String']['output']>;
1358
1379
  error?: Maybe<Scalars['String']['output']>;
@@ -1399,6 +1420,7 @@ export type DeviceTokenType = {
1399
1420
  updatedAt: Scalars['DateTime']['output'];
1400
1421
  userId: Scalars['String']['output'];
1401
1422
  };
1423
+ export type DiscountType = 'AMOUNT_DISCOUNT' | 'CASH_BACK' | 'FREE_PRODUCT' | 'MULTIPLIER_DISCOUNT' | 'OTHER' | 'PCT_DISCOUNT' | 'SPECIAL_PRICE';
1402
1424
  export type DiscrepancyStatus = 'FLAGGED' | 'RECONCILED';
1403
1425
  export type DismissNotificationDto = {
1404
1426
  notificationId: Scalars['String']['input'];
@@ -1603,6 +1625,7 @@ export type ErrorType = {
1603
1625
  code: Scalars['Float']['output'];
1604
1626
  message: Scalars['String']['output'];
1605
1627
  };
1628
+ export type EventLevel = 'City' | 'InternationalTier1' | 'InternationalTier2' | 'InternationalTier3' | 'National' | 'Regional' | 'State' | 'Unranked';
1606
1629
  export type EventQueryDto = {
1607
1630
  dateFrom?: InputMaybe<Scalars['String']['input']>;
1608
1631
  dateTo?: InputMaybe<Scalars['String']['input']>;
@@ -2772,6 +2795,8 @@ export type OfferQueryDto = {
2772
2795
  sortField?: InputMaybe<Scalars['String']['input']>;
2773
2796
  sortOrder?: InputMaybe<Scalars['String']['input']>;
2774
2797
  };
2798
+ export type OfferStatus = 'ACTIVE' | 'INACTIVE';
2799
+ export type OfferType = 'COUPON' | 'OFFER' | 'PROMOTION';
2775
2800
  export type OfferWithEligibility = {
2776
2801
  _id: Scalars['String']['output'];
2777
2802
  availableCodes: Scalars['Int']['output'];
@@ -2801,6 +2826,12 @@ export type OffsetPaginationDto = {
2801
2826
  pageSize?: Scalars['Float']['input'];
2802
2827
  sortCriteria?: InputMaybe<SortCriteriaDto>;
2803
2828
  };
2829
+ export type OffsetPaginationResponse = {
2830
+ pageNumber: Scalars['Float']['output'];
2831
+ pageSize: Scalars['Float']['output'];
2832
+ sort?: Maybe<SortOrder>;
2833
+ totalPages: Scalars['Float']['output'];
2834
+ };
2804
2835
  export type OnboardingProgressResponse = {
2805
2836
  athleteId?: Maybe<Scalars['String']['output']>;
2806
2837
  complete?: Maybe<Scalars['Boolean']['output']>;
@@ -2866,6 +2897,7 @@ export type PendingSuggestionGroup = {
2866
2897
  eventName?: Maybe<Scalars['String']['output']>;
2867
2898
  };
2868
2899
  export type PeriodType = 'DAILY' | 'WEEKLY';
2900
+ export type Periodicity = 'OTHER' | 'PER_DAY' | 'PER_MONTH' | 'PER_PERIOD' | 'PER_WEEK' | 'PER_YEAR';
2869
2901
  export type PhotoAlbum = {
2870
2902
  _id: Scalars['String']['output'];
2871
2903
  photo?: Maybe<Awss3File>;
@@ -2992,9 +3024,14 @@ export type PushIosOverridesInput = {
2992
3024
  interruptionLevel?: InputMaybe<Scalars['String']['input']>;
2993
3025
  sound?: InputMaybe<Scalars['String']['input']>;
2994
3026
  };
3027
+ export type Qualification = {
3028
+ type: Scalars['String']['output'];
3029
+ };
2995
3030
  export type QualificationDto = {
2996
3031
  type: Scalars['String']['input'];
2997
3032
  };
3033
+ export type QualificationOperator = 'EQUAL' | 'GREATER_OR_EQUAL' | 'IN' | 'LESSER_OR_EQUAL' | 'NOT_IN';
3034
+ export type QualificationTypeEnum = 'AGE' | 'DISTANCE' | 'GENDER' | 'LOCATION' | 'NATIONALITY' | 'SCORE' | 'SPORTS' | 'SPORTS_LEVEL';
2998
3035
  export type QualificationTypeUnion = AgeQualification | DistanceQualification | GenderQualification | LocationQualification | NationalityQualification | ScoreQualification | SportsLevelQualification | SportsQualification;
2999
3036
  export type QualificationsBagDto = {
3000
3037
  ageQualifications?: InputMaybe<Array<AgeQualificationDto>>;
@@ -3625,6 +3662,10 @@ export type RegisterSponsorInput = {
3625
3662
  operatorType: Scalars['String']['input'];
3626
3663
  phone?: InputMaybe<Scalars['String']['input']>;
3627
3664
  };
3665
+ export type RegisterStravaDto = {
3666
+ code: Scalars['String']['input'];
3667
+ idAthlete: Scalars['String']['input'];
3668
+ };
3628
3669
  export type RegisterUserDto = {
3629
3670
  anonymousId?: InputMaybe<Scalars['String']['input']>;
3630
3671
  email: Scalars['String']['input'];
@@ -3812,6 +3853,7 @@ export type SponsorAthleteInvitation = {
3812
3853
  sponsor: Sponsor;
3813
3854
  status: Scalars['String']['output'];
3814
3855
  };
3856
+ export type SponsorAthleteInvitationStatus = 'DECLINED' | 'EXPIRED' | 'INVITED';
3815
3857
  export type SponsorBrand = {
3816
3858
  _id: Scalars['String']['output'];
3817
3859
  authorizedUse: Scalars['Boolean']['output'];
@@ -3943,6 +3985,10 @@ export type SportQueryDto = {
3943
3985
  sortOrder?: InputMaybe<Scalars['String']['input']>;
3944
3986
  verified?: InputMaybe<Scalars['String']['input']>;
3945
3987
  };
3988
+ export type SportQueryResults = {
3989
+ pageData: OffsetPaginationResponse;
3990
+ results: Array<Sport>;
3991
+ };
3946
3992
  export type SportsEvent = {
3947
3993
  _id: Scalars['String']['output'];
3948
3994
  banner?: Maybe<Awss3File>;
@@ -3982,6 +4028,11 @@ export type State = {
3982
4028
  country?: Maybe<Country>;
3983
4029
  name: Scalars['String']['output'];
3984
4030
  };
4031
+ export type StateReferenceDto = {
4032
+ _id: Scalars['String']['input'];
4033
+ country?: InputMaybe<CountryReferenceDto>;
4034
+ name: Scalars['String']['input'];
4035
+ };
3985
4036
  export type StravaAthleteData = {
3986
4037
  bio?: Maybe<Scalars['String']['output']>;
3987
4038
  city?: Maybe<Scalars['String']['output']>;
@@ -4362,6 +4413,7 @@ export type TransactionQueryDto = {
4362
4413
  sortOrder?: InputMaybe<Scalars['String']['input']>;
4363
4414
  type?: InputMaybe<Scalars['String']['input']>;
4364
4415
  };
4416
+ export type TransactionType = 'DONATION_TO_ATHLETE' | 'UNKNOWN';
4365
4417
  export type UnfollowAthleteInput = {
4366
4418
  athleteId: Scalars['String']['input'];
4367
4419
  };
@@ -4512,8 +4564,6 @@ export type UsageFunnelRow = {
4512
4564
  step: Scalars['String']['output'];
4513
4565
  userCount: Scalars['Int']['output'];
4514
4566
  };
4515
- export type UsageMetric = 'DAU' | 'MAU' | 'WAU';
4516
- export type UsagePlatform = 'ADMIN' | 'MOBILE' | 'WEB';
4517
4567
  export type UsageRetentionRow = {
4518
4568
  cohortSize: Scalars['Int']['output'];
4519
4569
  retainedCount: Scalars['Int']['output'];
@@ -4614,6 +4664,7 @@ export type Video = {
4614
4664
  sourceData: Scalars['String']['output'];
4615
4665
  url: Scalars['String']['output'];
4616
4666
  };
4667
+ export type VideoSource = 'S3_UPLOAD' | 'VIMEO' | 'YOUTUBE';
4617
4668
  export type VisibilityScope = 'FRIENDS' | 'PRIVATE' | 'PUBLIC';
4618
4669
  export type VtxScores = {
4619
4670
  competitionScore: Scalars['Float']['output'];