@vertikalx/vtx-backend-client 3.1.1-dev-max.9 → 3.1.2-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -185,12 +185,14 @@ export interface PlanPrice {
185
185
  _id: Scalars['String'];
186
186
  currency: Scalars['String'];
187
187
  price: Scalars['Float'];
188
- taxMode: Scalars['String'];
189
- period: Scalars['String'];
188
+ taxMode: TaxCalculation;
189
+ period: PlanPeriod;
190
190
  customDays: (Scalars['Float'] | null);
191
191
  plan: (Plan | null);
192
192
  __typename: 'PlanPrice';
193
193
  }
194
+ export type TaxCalculation = 'PLUS_TAX' | 'TAX_INCLUDED' | 'NO_TAX';
195
+ export type PlanPeriod = 'DAYLY' | 'WEEKLY' | 'MONTHLY' | 'QUATERLY' | 'SEMESTER' | 'YEARLY' | 'CUSTOM_DAYS';
194
196
  export interface Invoice {
195
197
  _id: Scalars['String'];
196
198
  invoiceDate: Scalars['DateTime'];
@@ -616,7 +618,7 @@ export interface FollowStats {
616
618
  export interface Sport {
617
619
  _id: Scalars['String'];
618
620
  name: Scalars['String'];
619
- resultType: Scalars['String'];
621
+ resultType: CompetitionResultType;
620
622
  verified: (Scalars['Boolean'] | null);
621
623
  priority: (Scalars['Float'] | null);
622
624
  __typename: 'Sport';
@@ -991,12 +993,13 @@ export interface StripeAccountReference {
991
993
  }
992
994
  export interface HistoricalScore {
993
995
  _id: Scalars['String'];
994
- scoreType: Scalars['String'];
996
+ scoreType: ScoreType;
995
997
  score: Scalars['Float'];
996
998
  date: Scalars['DateTime'];
997
999
  athleteId: Scalars['String'];
998
1000
  __typename: 'HistoricalScore';
999
1001
  }
1002
+ export type ScoreType = 'VTX_SCORE' | 'SOCIAL_SCORE' | 'TRANING_SCORE' | 'COMPETITION_SCORE';
1000
1003
  export interface AthleteReference {
1001
1004
  _id: Scalars['String'];
1002
1005
  firstName: Scalars['String'];
@@ -1719,6 +1722,12 @@ export interface AthleteClub {
1719
1722
  leftAt: (Scalars['DateTime'] | null);
1720
1723
  __typename: 'AthleteClub';
1721
1724
  }
1725
+ export interface AdminUser {
1726
+ _id: Scalars['String'];
1727
+ loginEmail: Scalars['String'];
1728
+ isSuperAdmin: Scalars['Boolean'];
1729
+ __typename: 'AdminUser';
1730
+ }
1722
1731
  export interface UserImages {
1723
1732
  profilePictureUrl: (Scalars['String'] | null);
1724
1733
  cardPictureUrl: (Scalars['String'] | null);
@@ -1748,6 +1757,11 @@ export interface PaginatedUsers {
1748
1757
  pagination: EnhancedPaginationInfoType;
1749
1758
  __typename: 'PaginatedUsers';
1750
1759
  }
1760
+ export interface RemoveAdminUserResponse {
1761
+ success: Scalars['Boolean'];
1762
+ message: (Scalars['String'] | null);
1763
+ __typename: 'RemoveAdminUserResponse';
1764
+ }
1751
1765
  export interface TransactionDetails {
1752
1766
  stripeCheckoutSessionId: Scalars['String'];
1753
1767
  vtxCheckoutSessionId: Scalars['String'];
@@ -2286,8 +2300,24 @@ export interface TeamDashboard {
2286
2300
  leaderboard: TeamLeaderboardEntry[];
2287
2301
  __typename: 'TeamDashboard';
2288
2302
  }
2303
+ export type VisibilityScope = 'PUBLIC' | 'FRIENDS' | 'PRIVATE';
2289
2304
  export type TimeRange = 'SEVEN_DAYS' | 'THIRTY_DAYS' | 'NINETY_DAYS' | 'ONE_YEAR' | 'ALL_TIME';
2290
2305
  export type DonationMode = 'PUBLIC' | 'PRIVATE' | 'ANONYMOUS';
2306
+ export type CompetitionGender = 'MALE' | 'FEMALE';
2307
+ export type TimeUnit = 'SECONDS' | 'MINUTES' | 'DAYS' | 'HOURS' | 'WEEKS' | 'MONTHS' | 'YEARS';
2308
+ export type MatchMode = 'SPECIFIED_OR_GREATER' | 'SPECIFIED_OR_LOWER' | 'ONLY_SPECIFIED';
2309
+ export type AthleteRequestStatus = 'OPEN' | 'CLOSED';
2310
+ export type AthleteSponsorshipStatus = 'PREPARING' | 'CANCELLED' | 'APPROVED' | 'ACTIVE' | 'EXPIRED' | 'CLOSED';
2311
+ export type RequestItemType = 'CASH' | 'EQUIPMENT' | 'TRAVEL' | 'PRODUCT' | 'OTHER';
2312
+ export type CommitmentMedia = 'OTHER' | 'ANY' | 'IN_PERSON_PUBLIC' | 'IN_PERSON_VIP' | 'VIRTUAL_CONFERENCE' | 'IN_PERSON_DELIVERY' | 'COURIER_DELIVERY' | 'MAIL_DELIVERY' | 'ELECTRONIC_DELIVERY' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER_X' | 'TIKTOK' | 'APPLE' | 'YOUTUBE' | 'LINKEDIN' | 'TV' | 'RADIO' | 'INTERNET';
2313
+ export type CommitmentActionType = 'OTHER' | 'SOCIAL_STORY' | 'SOCIAL_POST' | 'SHORT_VIDEO' | 'LONG_VIDEO' | 'LIVE_VIDEO' | 'PRESS_CONFERENCE' | 'MEET_AND_GREET' | 'PHOTO_SESSION' | 'BANNER_AD' | 'PRINT_AD' | 'WEB_AD' | 'RADIO_COMMERCIAL' | 'TV_COMMERCIAL' | 'RADIO_INTERVIEW' | 'TV_INTERVIEW' | 'PODCAST' | 'WEB_INTERVIEW';
2314
+ export type CompanySize = 'MICRO' | 'SMALL' | 'MEDIUM' | 'LARGE';
2315
+ export type NumberOfAthletesSponsored = 'FEW' | 'SOME' | 'MANY' | 'ALOT';
2316
+ export type CommitmentTypeEnum = 'REGULAR' | 'DATED' | 'RECURRENT';
2317
+ export type CompetitionResultType = 'POSITION' | 'SCORE';
2318
+ export type AgeDetermination = 'YEAR_OF_BIRTH' | 'AGE_ON_EVENT';
2319
+ export type TaskStatus = 'PENDING' | 'DONE' | 'EXPIRED';
2320
+ export type StripeQueryOperation = 'CheckoutSession';
2291
2321
  export type OfferClaimStatus = 'ACTIVE' | 'EXPIRED' | 'ALL';
2292
2322
  export type PostSortOption = 'RECENT' | 'TOP' | 'UNDERPERFORMING';
2293
2323
  export interface Query {
@@ -2355,6 +2385,7 @@ export interface Query {
2355
2385
  isUserSuspended: Scalars['Boolean'];
2356
2386
  getAllUsers: AdminUserView[];
2357
2387
  getUsersPaginated: PaginatedUsers;
2388
+ getAdminUsers: AdminUser[];
2358
2389
  getStravaLoginUrl: Scalars['String'];
2359
2390
  getSportsEvents: SportsEvent[];
2360
2391
  getSportsEventsPaginated: PaginatedEvents;
@@ -2499,6 +2530,8 @@ export interface Mutation {
2499
2530
  updateUserSuspendedStatus: EditValueResponse;
2500
2531
  deleteMyAccount: DeleteVtxUserResponse;
2501
2532
  deleteVtxUser: DeleteVtxUserResponse;
2533
+ addAdminUser: AdminUser;
2534
+ removeAdminUser: RemoveAdminUserResponse;
2502
2535
  createSportsEvent: SportsEvent;
2503
2536
  updateSportsEvent: SportsEvent;
2504
2537
  deleteSportsEvent: EditValueResponse;
@@ -4463,6 +4496,13 @@ export interface AthleteClubGenqlSelection {
4463
4496
  __typename?: boolean | number;
4464
4497
  __scalar?: boolean | number;
4465
4498
  }
4499
+ export interface AdminUserGenqlSelection {
4500
+ _id?: boolean | number;
4501
+ loginEmail?: boolean | number;
4502
+ isSuperAdmin?: boolean | number;
4503
+ __typename?: boolean | number;
4504
+ __scalar?: boolean | number;
4505
+ }
4466
4506
  export interface UserImagesGenqlSelection {
4467
4507
  profilePictureUrl?: boolean | number;
4468
4508
  cardPictureUrl?: boolean | number;
@@ -4496,6 +4536,12 @@ export interface PaginatedUsersGenqlSelection {
4496
4536
  __typename?: boolean | number;
4497
4537
  __scalar?: boolean | number;
4498
4538
  }
4539
+ export interface RemoveAdminUserResponseGenqlSelection {
4540
+ success?: boolean | number;
4541
+ message?: boolean | number;
4542
+ __typename?: boolean | number;
4543
+ __scalar?: boolean | number;
4544
+ }
4499
4545
  export interface TransactionDetailsGenqlSelection {
4500
4546
  stripeCheckoutSessionId?: boolean | number;
4501
4547
  vtxCheckoutSessionId?: boolean | number;
@@ -5143,7 +5189,7 @@ export interface VerifyCodeDto {
5143
5189
  export interface DonationCheckoutDto {
5144
5190
  fundingCampaignId: Scalars['String'];
5145
5191
  donationAmount: Scalars['Float'];
5146
- mode?: Scalars['String'];
5192
+ mode?: DonationMode;
5147
5193
  fromName?: (Scalars['String'] | null);
5148
5194
  fromEmail?: (Scalars['String'] | null);
5149
5195
  fromPhone?: (Scalars['String'] | null);
@@ -5278,7 +5324,7 @@ export interface DeleteSingleValueDto {
5278
5324
  }
5279
5325
  export interface FundCampaignFilterDto {
5280
5326
  campaignTitle?: (Scalars['String'] | null);
5281
- status?: (Scalars['String'] | null);
5327
+ status?: (FundingStatus | null);
5282
5328
  minCompletion?: (Scalars['Float'] | null);
5283
5329
  maxCompletion?: (Scalars['Float'] | null);
5284
5330
  minFundsRequired?: (Scalars['Float'] | null);
@@ -5301,7 +5347,7 @@ export interface AthleteFilterDto {
5301
5347
  sports?: (Scalars['String'][] | null);
5302
5348
  sportLevels?: (Scalars['String'][] | null);
5303
5349
  mainSportOnly?: (Scalars['Boolean'] | null);
5304
- gender?: (Scalars['String'] | null);
5350
+ gender?: (CompetitionGender | null);
5305
5351
  minAge?: (Scalars['Float'] | null);
5306
5352
  maxAge?: (Scalars['Float'] | null);
5307
5353
  minDob?: (Scalars['DateTime'] | null);
@@ -5330,7 +5376,7 @@ export interface UploadAlbumsPicturesDto {
5330
5376
  description?: (Scalars['String'] | null);
5331
5377
  pictures?: (AWSS3UploadedFileDto[] | null);
5332
5378
  albumId?: (Scalars['String'] | null);
5333
- visibility?: (Scalars['String'] | null);
5379
+ visibility?: (VisibilityScope | null);
5334
5380
  competitionId?: (Scalars['String'] | null);
5335
5381
  }
5336
5382
  export interface DeleteValuesDto {
@@ -5471,6 +5517,9 @@ export interface UserQueryDto {
5471
5517
  export interface DeleteVtxUserDto {
5472
5518
  userIdentifier: Scalars['String'];
5473
5519
  }
5520
+ export interface AdminEmailDto {
5521
+ email: Scalars['String'];
5522
+ }
5474
5523
  export interface GetReceiptDto {
5475
5524
  _id: Scalars['String'];
5476
5525
  }
@@ -5542,7 +5591,7 @@ export interface CreateVideoDto {
5542
5591
  sourceData?: Scalars['String'];
5543
5592
  }
5544
5593
  export interface CreateFundingCampaignDto {
5545
- budgetMode: Scalars['String'];
5594
+ budgetMode: FundingMode;
5546
5595
  title: Scalars['String'];
5547
5596
  motivation: Scalars['String'];
5548
5597
  website?: (Scalars['String'] | null);
@@ -5560,7 +5609,7 @@ export interface CreateFundingCampaignDto {
5560
5609
  autoSendThankYou?: (Scalars['Boolean'] | null);
5561
5610
  }
5562
5611
  export interface CreateFundingCampaignForDto {
5563
- budgetMode: Scalars['String'];
5612
+ budgetMode: FundingMode;
5564
5613
  title: Scalars['String'];
5565
5614
  motivation: Scalars['String'];
5566
5615
  website?: (Scalars['String'] | null);
@@ -5579,7 +5628,7 @@ export interface CreateFundingCampaignForDto {
5579
5628
  loginEmail: Scalars['String'];
5580
5629
  }
5581
5630
  export interface UpdateFundingCampaignDto {
5582
- budgetMode: Scalars['String'];
5631
+ budgetMode: FundingMode;
5583
5632
  title: Scalars['String'];
5584
5633
  motivation: Scalars['String'];
5585
5634
  website?: (Scalars['String'] | null);
@@ -5603,7 +5652,7 @@ export interface SetFundingStatusDto {
5603
5652
  }
5604
5653
  export interface BudgetDto {
5605
5654
  items: BudgetItemDto[];
5606
- fundingMode?: (Scalars['String'] | null);
5655
+ fundingMode?: (FundingMode | null);
5607
5656
  }
5608
5657
  export interface AddCompetitionBudgetDto {
5609
5658
  competitionId: Scalars['String'];
@@ -6193,6 +6242,7 @@ export interface QueryGenqlSelection {
6193
6242
  query?: (UserQueryDto | null);
6194
6243
  };
6195
6244
  });
6245
+ getAdminUsers?: AdminUserGenqlSelection;
6196
6246
  getStravaLoginUrl?: boolean | number;
6197
6247
  getSportsEvents?: (SportsEventGenqlSelection & {
6198
6248
  __args: {
@@ -6836,6 +6886,16 @@ export interface MutationGenqlSelection {
6836
6886
  input: DeleteVtxUserDto;
6837
6887
  };
6838
6888
  });
6889
+ addAdminUser?: (AdminUserGenqlSelection & {
6890
+ __args: {
6891
+ input: AdminEmailDto;
6892
+ };
6893
+ });
6894
+ removeAdminUser?: (RemoveAdminUserResponseGenqlSelection & {
6895
+ __args: {
6896
+ input: AdminEmailDto;
6897
+ };
6898
+ });
6839
6899
  createSportsEvent?: (SportsEventGenqlSelection & {
6840
6900
  __args: {
6841
6901
  input: CreateSportEventDto;
@@ -7971,6 +8031,9 @@ export declare const isAthleteClubMember: (obj?: {
7971
8031
  export declare const isAthleteClub: (obj?: {
7972
8032
  __typename?: any;
7973
8033
  } | null) => obj is AthleteClub;
8034
+ export declare const isAdminUser: (obj?: {
8035
+ __typename?: any;
8036
+ } | null) => obj is AdminUser;
7974
8037
  export declare const isUserImages: (obj?: {
7975
8038
  __typename?: any;
7976
8039
  } | null) => obj is UserImages;
@@ -7983,6 +8046,9 @@ export declare const isDeleteVtxUserResponse: (obj?: {
7983
8046
  export declare const isPaginatedUsers: (obj?: {
7984
8047
  __typename?: any;
7985
8048
  } | null) => obj is PaginatedUsers;
8049
+ export declare const isRemoveAdminUserResponse: (obj?: {
8050
+ __typename?: any;
8051
+ } | null) => obj is RemoveAdminUserResponse;
7986
8052
  export declare const isTransactionDetails: (obj?: {
7987
8053
  __typename?: any;
7988
8054
  } | null) => obj is TransactionDetails;
@@ -8175,6 +8241,26 @@ export declare const isQuery: (obj?: {
8175
8241
  export declare const isMutation: (obj?: {
8176
8242
  __typename?: any;
8177
8243
  } | null) => obj is Mutation;
8244
+ export declare const enumTaxCalculation: {
8245
+ PLUS_TAX: "PLUS_TAX";
8246
+ TAX_INCLUDED: "TAX_INCLUDED";
8247
+ NO_TAX: "NO_TAX";
8248
+ };
8249
+ export declare const enumPlanPeriod: {
8250
+ DAYLY: "DAYLY";
8251
+ WEEKLY: "WEEKLY";
8252
+ MONTHLY: "MONTHLY";
8253
+ QUATERLY: "QUATERLY";
8254
+ SEMESTER: "SEMESTER";
8255
+ YEARLY: "YEARLY";
8256
+ CUSTOM_DAYS: "CUSTOM_DAYS";
8257
+ };
8258
+ export declare const enumScoreType: {
8259
+ VTX_SCORE: "VTX_SCORE";
8260
+ SOCIAL_SCORE: "SOCIAL_SCORE";
8261
+ TRANING_SCORE: "TRANING_SCORE";
8262
+ COMPETITION_SCORE: "COMPETITION_SCORE";
8263
+ };
8178
8264
  export declare const enumFundingStatus: {
8179
8265
  CREATED: "CREATED";
8180
8266
  ACTIVE: "ACTIVE";
@@ -8224,6 +8310,11 @@ export declare const enumPeriodType: {
8224
8310
  DAILY: "DAILY";
8225
8311
  WEEKLY: "WEEKLY";
8226
8312
  };
8313
+ export declare const enumVisibilityScope: {
8314
+ PUBLIC: "PUBLIC";
8315
+ FRIENDS: "FRIENDS";
8316
+ PRIVATE: "PRIVATE";
8317
+ };
8227
8318
  export declare const enumTimeRange: {
8228
8319
  SEVEN_DAYS: "SEVEN_DAYS";
8229
8320
  THIRTY_DAYS: "THIRTY_DAYS";
@@ -8236,6 +8327,117 @@ export declare const enumDonationMode: {
8236
8327
  PRIVATE: "PRIVATE";
8237
8328
  ANONYMOUS: "ANONYMOUS";
8238
8329
  };
8330
+ export declare const enumCompetitionGender: {
8331
+ MALE: "MALE";
8332
+ FEMALE: "FEMALE";
8333
+ };
8334
+ export declare const enumTimeUnit: {
8335
+ SECONDS: "SECONDS";
8336
+ MINUTES: "MINUTES";
8337
+ DAYS: "DAYS";
8338
+ HOURS: "HOURS";
8339
+ WEEKS: "WEEKS";
8340
+ MONTHS: "MONTHS";
8341
+ YEARS: "YEARS";
8342
+ };
8343
+ export declare const enumMatchMode: {
8344
+ SPECIFIED_OR_GREATER: "SPECIFIED_OR_GREATER";
8345
+ SPECIFIED_OR_LOWER: "SPECIFIED_OR_LOWER";
8346
+ ONLY_SPECIFIED: "ONLY_SPECIFIED";
8347
+ };
8348
+ export declare const enumAthleteRequestStatus: {
8349
+ OPEN: "OPEN";
8350
+ CLOSED: "CLOSED";
8351
+ };
8352
+ export declare const enumAthleteSponsorshipStatus: {
8353
+ PREPARING: "PREPARING";
8354
+ CANCELLED: "CANCELLED";
8355
+ APPROVED: "APPROVED";
8356
+ ACTIVE: "ACTIVE";
8357
+ EXPIRED: "EXPIRED";
8358
+ CLOSED: "CLOSED";
8359
+ };
8360
+ export declare const enumRequestItemType: {
8361
+ CASH: "CASH";
8362
+ EQUIPMENT: "EQUIPMENT";
8363
+ TRAVEL: "TRAVEL";
8364
+ PRODUCT: "PRODUCT";
8365
+ OTHER: "OTHER";
8366
+ };
8367
+ export declare const enumCommitmentMedia: {
8368
+ OTHER: "OTHER";
8369
+ ANY: "ANY";
8370
+ IN_PERSON_PUBLIC: "IN_PERSON_PUBLIC";
8371
+ IN_PERSON_VIP: "IN_PERSON_VIP";
8372
+ VIRTUAL_CONFERENCE: "VIRTUAL_CONFERENCE";
8373
+ IN_PERSON_DELIVERY: "IN_PERSON_DELIVERY";
8374
+ COURIER_DELIVERY: "COURIER_DELIVERY";
8375
+ MAIL_DELIVERY: "MAIL_DELIVERY";
8376
+ ELECTRONIC_DELIVERY: "ELECTRONIC_DELIVERY";
8377
+ INSTAGRAM: "INSTAGRAM";
8378
+ FACEBOOK: "FACEBOOK";
8379
+ TWITTER_X: "TWITTER_X";
8380
+ TIKTOK: "TIKTOK";
8381
+ APPLE: "APPLE";
8382
+ YOUTUBE: "YOUTUBE";
8383
+ LINKEDIN: "LINKEDIN";
8384
+ TV: "TV";
8385
+ RADIO: "RADIO";
8386
+ INTERNET: "INTERNET";
8387
+ };
8388
+ export declare const enumCommitmentActionType: {
8389
+ OTHER: "OTHER";
8390
+ SOCIAL_STORY: "SOCIAL_STORY";
8391
+ SOCIAL_POST: "SOCIAL_POST";
8392
+ SHORT_VIDEO: "SHORT_VIDEO";
8393
+ LONG_VIDEO: "LONG_VIDEO";
8394
+ LIVE_VIDEO: "LIVE_VIDEO";
8395
+ PRESS_CONFERENCE: "PRESS_CONFERENCE";
8396
+ MEET_AND_GREET: "MEET_AND_GREET";
8397
+ PHOTO_SESSION: "PHOTO_SESSION";
8398
+ BANNER_AD: "BANNER_AD";
8399
+ PRINT_AD: "PRINT_AD";
8400
+ WEB_AD: "WEB_AD";
8401
+ RADIO_COMMERCIAL: "RADIO_COMMERCIAL";
8402
+ TV_COMMERCIAL: "TV_COMMERCIAL";
8403
+ RADIO_INTERVIEW: "RADIO_INTERVIEW";
8404
+ TV_INTERVIEW: "TV_INTERVIEW";
8405
+ PODCAST: "PODCAST";
8406
+ WEB_INTERVIEW: "WEB_INTERVIEW";
8407
+ };
8408
+ export declare const enumCompanySize: {
8409
+ MICRO: "MICRO";
8410
+ SMALL: "SMALL";
8411
+ MEDIUM: "MEDIUM";
8412
+ LARGE: "LARGE";
8413
+ };
8414
+ export declare const enumNumberOfAthletesSponsored: {
8415
+ FEW: "FEW";
8416
+ SOME: "SOME";
8417
+ MANY: "MANY";
8418
+ ALOT: "ALOT";
8419
+ };
8420
+ export declare const enumCommitmentTypeEnum: {
8421
+ REGULAR: "REGULAR";
8422
+ DATED: "DATED";
8423
+ RECURRENT: "RECURRENT";
8424
+ };
8425
+ export declare const enumCompetitionResultType: {
8426
+ POSITION: "POSITION";
8427
+ SCORE: "SCORE";
8428
+ };
8429
+ export declare const enumAgeDetermination: {
8430
+ YEAR_OF_BIRTH: "YEAR_OF_BIRTH";
8431
+ AGE_ON_EVENT: "AGE_ON_EVENT";
8432
+ };
8433
+ export declare const enumTaskStatus: {
8434
+ PENDING: "PENDING";
8435
+ DONE: "DONE";
8436
+ EXPIRED: "EXPIRED";
8437
+ };
8438
+ export declare const enumStripeQueryOperation: {
8439
+ CheckoutSession: "CheckoutSession";
8440
+ };
8239
8441
  export declare const enumOfferClaimStatus: {
8240
8442
  ACTIVE: "ACTIVE";
8241
8443
  EXPIRED: "EXPIRED";
@@ -3,9 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.isSponsorshipCommitment = exports.isSponsorshipItem = exports.isQualificationTypeUnion = exports.isAthleteCriteria = exports.isSportsLevelQualification = exports.isSportsQualification = exports.isDistanceQualification = exports.isNationalityQualification = exports.isLocationQualification = exports.isScoreQualification = exports.isGenderQualification = exports.isAgeQualification = exports.isCountry = exports.isState = exports.isCity = exports.isSponsorStats = exports.isIndustry = exports.isCodeVerificationResponse = exports.isTextDatabaseFile = exports.isDatabaseFile = exports.isAWSS3CallResult = exports.isAWSS3UploadUrl = exports.isHttpRequestField = exports.isErrorInfo = exports.isVerificationCode = exports.isMagicLink = exports.isAWSS3File = exports.isSubscriptionPayment = exports.isPlanSubscription = exports.isSubscriptionInvoice = exports.isInvoice = exports.isPlanPrice = exports.isPlan = exports.isPlaFeature = exports.isPayment = exports.isInvoiceItem = exports.isBillEntity = exports.isSignedAgreement = exports.isAgreement = exports.isUriAvailableType = exports.isTenantWithUserLogin = exports.isDecodedRefreshToken = exports.isDecodedToken = exports.isUserToken = exports.isDomainCredential = exports.isDomain = exports.isTenant = exports.isBaseTenant = exports.isUserWithToken = exports.isUser = void 0;
4
4
  exports.isAthlete = exports.isAthleteReference = exports.isHistoricalScore = exports.isStripeAccountReference = exports.isStripeAccount = exports.isStripeFutureRequirementType = exports.isStripeRequirementType = exports.isStripeErrorType = exports.isStripeFutureRequirementAlternativeType = exports.isStripeRequirementAlternativeType = exports.isStripeCapabilityType = exports.isFundRaisingCampaign = exports.isVideo = exports.isAthletePreferences = exports.isChannel = exports.isNewsLink = exports.isAthleteMembership = exports.isMembershipOrganization = exports.isMembershipOrganizationReference = exports.isAthleteCompetition = exports.isAlbum = exports.isPhotoAlbum = exports.isBudget = exports.isBudgetItem = exports.isAthleteCompetitionResult = exports.isSportsEvent = exports.isWorldLocation = exports.isTeam = exports.isTeamClubReference = exports.isAthleteTeam = exports.isAthleteTeamMember = exports.isAthleteRankings = exports.isRanking = exports.isSportLevel = exports.isSportLevelTranslation = exports.isVtxScores = exports.isSport = exports.isFollowStats = exports.isStravaTpiSwimDto = exports.isStravaTpiRunDto = exports.isStravaTpiRideDto = exports.isBrand = exports.isBrandTranslation = exports.isBrandStats = exports.isSponsorBrand = exports.isSponsor = exports.isSponsorship = exports.isSponsorshipTranslation = exports.isSponsorshipStats = exports.isDuration = void 0;
5
5
  exports.isForceScoreRefreshResponse = exports.isForceScoreRefreshResult = exports.isRefreshDiagnostics = exports.isScoreRefreshDetail = exports.isDeleteSingleValueResponse = exports.isDeleteValuesResponse = exports.isErrorType = exports.isEditValueResponse = exports.isPaginatedSponsors = exports.isPaginatedBrands = exports.isPaginatedOffersWithEligibility = exports.isOfferWithEligibility = exports.isEnhancedPaginationInfoType = exports.isEligibilityResult = exports.isOfferClaim = exports.isCoupon = exports.isCouponCode = exports.isPromotion = exports.isOffer = exports.isAdminTransactionView = exports.isAdminTransactionFundingDetails = exports.isAdminUserView = exports.isMember = exports.isDonation = exports.isBudgetConcept = exports.isBudgetItemUnit = exports.isMergeEventsResponse = exports.isBudgetData = exports.isCampaignBudgetData = exports.isCompetitionBudgetData = exports.isBaseBudgetData = exports.isCompetitionBudgetReference = exports.isBudgetReference = exports.isBudgetItemReference = exports.isReceiptUrl = exports.isReceipt = exports.isAthleteIntegrationReference = exports.isInstagramUserData = exports.isInstagramMediaData = exports.isInstagramMediaItem = exports.isInstagramInsights = exports.isInstagramMetric = exports.isInstagramPaging = exports.isInstagramCursors = exports.isStravaAthleteData = exports.isStripeCheckoutSession = exports.isStripeSession = exports.isSponsorAthleteInvitation = exports.isFundingCheckoutSessionData = exports.isCheckoutSession = void 0;
6
- exports.isScoreInfo = exports.isMetricComparison = exports.isActivitiesResponse = exports.isActivityEntry = exports.isRankContext = exports.isRankHistoryEntry = exports.isScoreHistoryEntry = exports.isDashboardSummary = exports.isUserRank = exports.isLeaderboardResponse = exports.isLeaderboardFilters = exports.isLeaderboardPagination = exports.isLeaderboardEntry = exports.isOfferAvailability = exports.isUploadResult = exports.isPaginatedOffers = exports.isPaginatedTransactions = exports.isUserDomain = exports.isStripeTransfer = exports.isStripeBalance = exports.isCurrencyAmountType = exports.isDonationThankYou = exports.isPaginatedDonations = exports.isDonationDates = exports.isPaginatedEvents = exports.isTransactionDetails = exports.isPaginatedUsers = exports.isDeleteVtxUserResponse = exports.isValidatedToken = exports.isUserImages = exports.isAthleteClub = exports.isAthleteClubMember = exports.isClub = exports.isPaginatedSports = exports.isPublicIntegrationStatus = exports.isOnboardingProgressResponse = exports.isCheckScoreRefreshCapabilityResponse = exports.isScoreRefreshCapability = exports.isBrowseCampaignsResult = exports.isStripeObject = exports.isHistoricalScoresPeriod = exports.isCompetitionDeleteVerificationResponse = exports.isCompetitionDeleteVerificationReason = exports.isDeleteOnboardingAthleteResponse = exports.isExistValueResponse = exports.isAddValuesResponse = exports.isEditPictureResponse = exports.isAthleteQueryResponse = exports.isCursorPaginationResponse = exports.isSortOrder = void 0;
7
- exports.enumOfferClaimStatus = exports.enumDonationMode = exports.enumTimeRange = exports.enumPeriodType = exports.enumContentType = exports.enumPlatform = exports.enumActivityCategory = exports.enumStripeTransferStatus = exports.enumForceScoreRefreshStatus = exports.enumEligibilityStatus = exports.enumFundingMode = exports.enumFundingStatus = exports.isMutation = exports.isQuery = exports.isTeamDashboard = exports.isTeamRosterOverview = exports.isTeamAnalytics = exports.isTeamLeaderboardEntry = exports.isTeamVtxScoreHistoryEntry = exports.isStripeAccountStatus = exports.isAiCoachUnreadNudgeCountResponse = exports.isAiCoachNudgeListResponse = exports.isAiCoachNudge = exports.isAiCoachConfig = exports.isAiCoachThread = exports.isAiCoachMessage = exports.isAudiencePreview = exports.isAudiencePreviewUser = exports.isSendGridTemplate = exports.isEmailCampaignPage = exports.isEmailCampaign = exports.isEmailSegment = exports.isEmailCampaignDelivery = exports.isIsFollowingResponse = exports.isFollowedAthletesListResponse = exports.isFollowedAthleteInfo = exports.isDeviceTokenType = exports.isNotificationPreference = exports.isUnreadCountResponse = exports.isNotificationListResponse = exports.isNotification = exports.isPostComparisonResultType = exports.isAveragesType = exports.isPostMetricType = exports.isSocialAggregateType = exports.isActivityDatesResponse = exports.isActivityDateEntry = exports.isComponentSummary = exports.isTopMetric = exports.isActivityDetail = void 0;
8
- exports.enumPostSortOption = void 0;
6
+ exports.isActivitiesResponse = exports.isActivityEntry = exports.isRankContext = exports.isRankHistoryEntry = exports.isScoreHistoryEntry = exports.isDashboardSummary = exports.isUserRank = exports.isLeaderboardResponse = exports.isLeaderboardFilters = exports.isLeaderboardPagination = exports.isLeaderboardEntry = exports.isOfferAvailability = exports.isUploadResult = exports.isPaginatedOffers = exports.isPaginatedTransactions = exports.isUserDomain = exports.isStripeTransfer = exports.isStripeBalance = exports.isCurrencyAmountType = exports.isDonationThankYou = exports.isPaginatedDonations = exports.isDonationDates = exports.isPaginatedEvents = exports.isTransactionDetails = exports.isRemoveAdminUserResponse = exports.isPaginatedUsers = exports.isDeleteVtxUserResponse = exports.isValidatedToken = exports.isUserImages = exports.isAdminUser = exports.isAthleteClub = exports.isAthleteClubMember = exports.isClub = exports.isPaginatedSports = exports.isPublicIntegrationStatus = exports.isOnboardingProgressResponse = exports.isCheckScoreRefreshCapabilityResponse = exports.isScoreRefreshCapability = exports.isBrowseCampaignsResult = exports.isStripeObject = exports.isHistoricalScoresPeriod = exports.isCompetitionDeleteVerificationResponse = exports.isCompetitionDeleteVerificationReason = exports.isDeleteOnboardingAthleteResponse = exports.isExistValueResponse = exports.isAddValuesResponse = exports.isEditPictureResponse = exports.isAthleteQueryResponse = exports.isCursorPaginationResponse = exports.isSortOrder = void 0;
7
+ exports.enumPlatform = exports.enumActivityCategory = exports.enumStripeTransferStatus = exports.enumForceScoreRefreshStatus = exports.enumEligibilityStatus = exports.enumFundingMode = exports.enumFundingStatus = exports.enumScoreType = exports.enumPlanPeriod = exports.enumTaxCalculation = exports.isMutation = exports.isQuery = exports.isTeamDashboard = exports.isTeamRosterOverview = exports.isTeamAnalytics = exports.isTeamLeaderboardEntry = exports.isTeamVtxScoreHistoryEntry = exports.isStripeAccountStatus = exports.isAiCoachUnreadNudgeCountResponse = exports.isAiCoachNudgeListResponse = exports.isAiCoachNudge = exports.isAiCoachConfig = exports.isAiCoachThread = exports.isAiCoachMessage = exports.isAudiencePreview = exports.isAudiencePreviewUser = exports.isSendGridTemplate = exports.isEmailCampaignPage = exports.isEmailCampaign = exports.isEmailSegment = exports.isEmailCampaignDelivery = exports.isIsFollowingResponse = exports.isFollowedAthletesListResponse = exports.isFollowedAthleteInfo = exports.isDeviceTokenType = exports.isNotificationPreference = exports.isUnreadCountResponse = exports.isNotificationListResponse = exports.isNotification = exports.isPostComparisonResultType = exports.isAveragesType = exports.isPostMetricType = exports.isSocialAggregateType = exports.isActivityDatesResponse = exports.isActivityDateEntry = exports.isComponentSummary = exports.isTopMetric = exports.isActivityDetail = exports.isScoreInfo = exports.isMetricComparison = void 0;
8
+ exports.enumPostSortOption = exports.enumOfferClaimStatus = exports.enumStripeQueryOperation = exports.enumTaskStatus = exports.enumAgeDetermination = exports.enumCompetitionResultType = exports.enumCommitmentTypeEnum = exports.enumNumberOfAthletesSponsored = exports.enumCompanySize = exports.enumCommitmentActionType = exports.enumCommitmentMedia = exports.enumRequestItemType = exports.enumAthleteSponsorshipStatus = exports.enumAthleteRequestStatus = exports.enumMatchMode = exports.enumTimeUnit = exports.enumCompetitionGender = exports.enumDonationMode = exports.enumTimeRange = exports.enumVisibilityScope = exports.enumPeriodType = exports.enumContentType = void 0;
9
9
  const User_possibleTypes = ['User'];
10
10
  const isUser = (obj) => {
11
11
  if (!obj?.__typename)
@@ -1196,6 +1196,13 @@ const isAthleteClub = (obj) => {
1196
1196
  return AthleteClub_possibleTypes.includes(obj.__typename);
1197
1197
  };
1198
1198
  exports.isAthleteClub = isAthleteClub;
1199
+ const AdminUser_possibleTypes = ['AdminUser'];
1200
+ const isAdminUser = (obj) => {
1201
+ if (!obj?.__typename)
1202
+ throw new Error('__typename is missing in "isAdminUser"');
1203
+ return AdminUser_possibleTypes.includes(obj.__typename);
1204
+ };
1205
+ exports.isAdminUser = isAdminUser;
1199
1206
  const UserImages_possibleTypes = ['UserImages'];
1200
1207
  const isUserImages = (obj) => {
1201
1208
  if (!obj?.__typename)
@@ -1224,6 +1231,13 @@ const isPaginatedUsers = (obj) => {
1224
1231
  return PaginatedUsers_possibleTypes.includes(obj.__typename);
1225
1232
  };
1226
1233
  exports.isPaginatedUsers = isPaginatedUsers;
1234
+ const RemoveAdminUserResponse_possibleTypes = ['RemoveAdminUserResponse'];
1235
+ const isRemoveAdminUserResponse = (obj) => {
1236
+ if (!obj?.__typename)
1237
+ throw new Error('__typename is missing in "isRemoveAdminUserResponse"');
1238
+ return RemoveAdminUserResponse_possibleTypes.includes(obj.__typename);
1239
+ };
1240
+ exports.isRemoveAdminUserResponse = isRemoveAdminUserResponse;
1227
1241
  const TransactionDetails_possibleTypes = ['TransactionDetails'];
1228
1242
  const isTransactionDetails = (obj) => {
1229
1243
  if (!obj?.__typename)
@@ -1672,6 +1686,26 @@ const isMutation = (obj) => {
1672
1686
  return Mutation_possibleTypes.includes(obj.__typename);
1673
1687
  };
1674
1688
  exports.isMutation = isMutation;
1689
+ exports.enumTaxCalculation = {
1690
+ PLUS_TAX: 'PLUS_TAX',
1691
+ TAX_INCLUDED: 'TAX_INCLUDED',
1692
+ NO_TAX: 'NO_TAX'
1693
+ };
1694
+ exports.enumPlanPeriod = {
1695
+ DAYLY: 'DAYLY',
1696
+ WEEKLY: 'WEEKLY',
1697
+ MONTHLY: 'MONTHLY',
1698
+ QUATERLY: 'QUATERLY',
1699
+ SEMESTER: 'SEMESTER',
1700
+ YEARLY: 'YEARLY',
1701
+ CUSTOM_DAYS: 'CUSTOM_DAYS'
1702
+ };
1703
+ exports.enumScoreType = {
1704
+ VTX_SCORE: 'VTX_SCORE',
1705
+ SOCIAL_SCORE: 'SOCIAL_SCORE',
1706
+ TRANING_SCORE: 'TRANING_SCORE',
1707
+ COMPETITION_SCORE: 'COMPETITION_SCORE'
1708
+ };
1675
1709
  exports.enumFundingStatus = {
1676
1710
  CREATED: 'CREATED',
1677
1711
  ACTIVE: 'ACTIVE',
@@ -1721,6 +1755,11 @@ exports.enumPeriodType = {
1721
1755
  DAILY: 'DAILY',
1722
1756
  WEEKLY: 'WEEKLY'
1723
1757
  };
1758
+ exports.enumVisibilityScope = {
1759
+ PUBLIC: 'PUBLIC',
1760
+ FRIENDS: 'FRIENDS',
1761
+ PRIVATE: 'PRIVATE'
1762
+ };
1724
1763
  exports.enumTimeRange = {
1725
1764
  SEVEN_DAYS: 'SEVEN_DAYS',
1726
1765
  THIRTY_DAYS: 'THIRTY_DAYS',
@@ -1733,6 +1772,117 @@ exports.enumDonationMode = {
1733
1772
  PRIVATE: 'PRIVATE',
1734
1773
  ANONYMOUS: 'ANONYMOUS'
1735
1774
  };
1775
+ exports.enumCompetitionGender = {
1776
+ MALE: 'MALE',
1777
+ FEMALE: 'FEMALE'
1778
+ };
1779
+ exports.enumTimeUnit = {
1780
+ SECONDS: 'SECONDS',
1781
+ MINUTES: 'MINUTES',
1782
+ DAYS: 'DAYS',
1783
+ HOURS: 'HOURS',
1784
+ WEEKS: 'WEEKS',
1785
+ MONTHS: 'MONTHS',
1786
+ YEARS: 'YEARS'
1787
+ };
1788
+ exports.enumMatchMode = {
1789
+ SPECIFIED_OR_GREATER: 'SPECIFIED_OR_GREATER',
1790
+ SPECIFIED_OR_LOWER: 'SPECIFIED_OR_LOWER',
1791
+ ONLY_SPECIFIED: 'ONLY_SPECIFIED'
1792
+ };
1793
+ exports.enumAthleteRequestStatus = {
1794
+ OPEN: 'OPEN',
1795
+ CLOSED: 'CLOSED'
1796
+ };
1797
+ exports.enumAthleteSponsorshipStatus = {
1798
+ PREPARING: 'PREPARING',
1799
+ CANCELLED: 'CANCELLED',
1800
+ APPROVED: 'APPROVED',
1801
+ ACTIVE: 'ACTIVE',
1802
+ EXPIRED: 'EXPIRED',
1803
+ CLOSED: 'CLOSED'
1804
+ };
1805
+ exports.enumRequestItemType = {
1806
+ CASH: 'CASH',
1807
+ EQUIPMENT: 'EQUIPMENT',
1808
+ TRAVEL: 'TRAVEL',
1809
+ PRODUCT: 'PRODUCT',
1810
+ OTHER: 'OTHER'
1811
+ };
1812
+ exports.enumCommitmentMedia = {
1813
+ OTHER: 'OTHER',
1814
+ ANY: 'ANY',
1815
+ IN_PERSON_PUBLIC: 'IN_PERSON_PUBLIC',
1816
+ IN_PERSON_VIP: 'IN_PERSON_VIP',
1817
+ VIRTUAL_CONFERENCE: 'VIRTUAL_CONFERENCE',
1818
+ IN_PERSON_DELIVERY: 'IN_PERSON_DELIVERY',
1819
+ COURIER_DELIVERY: 'COURIER_DELIVERY',
1820
+ MAIL_DELIVERY: 'MAIL_DELIVERY',
1821
+ ELECTRONIC_DELIVERY: 'ELECTRONIC_DELIVERY',
1822
+ INSTAGRAM: 'INSTAGRAM',
1823
+ FACEBOOK: 'FACEBOOK',
1824
+ TWITTER_X: 'TWITTER_X',
1825
+ TIKTOK: 'TIKTOK',
1826
+ APPLE: 'APPLE',
1827
+ YOUTUBE: 'YOUTUBE',
1828
+ LINKEDIN: 'LINKEDIN',
1829
+ TV: 'TV',
1830
+ RADIO: 'RADIO',
1831
+ INTERNET: 'INTERNET'
1832
+ };
1833
+ exports.enumCommitmentActionType = {
1834
+ OTHER: 'OTHER',
1835
+ SOCIAL_STORY: 'SOCIAL_STORY',
1836
+ SOCIAL_POST: 'SOCIAL_POST',
1837
+ SHORT_VIDEO: 'SHORT_VIDEO',
1838
+ LONG_VIDEO: 'LONG_VIDEO',
1839
+ LIVE_VIDEO: 'LIVE_VIDEO',
1840
+ PRESS_CONFERENCE: 'PRESS_CONFERENCE',
1841
+ MEET_AND_GREET: 'MEET_AND_GREET',
1842
+ PHOTO_SESSION: 'PHOTO_SESSION',
1843
+ BANNER_AD: 'BANNER_AD',
1844
+ PRINT_AD: 'PRINT_AD',
1845
+ WEB_AD: 'WEB_AD',
1846
+ RADIO_COMMERCIAL: 'RADIO_COMMERCIAL',
1847
+ TV_COMMERCIAL: 'TV_COMMERCIAL',
1848
+ RADIO_INTERVIEW: 'RADIO_INTERVIEW',
1849
+ TV_INTERVIEW: 'TV_INTERVIEW',
1850
+ PODCAST: 'PODCAST',
1851
+ WEB_INTERVIEW: 'WEB_INTERVIEW'
1852
+ };
1853
+ exports.enumCompanySize = {
1854
+ MICRO: 'MICRO',
1855
+ SMALL: 'SMALL',
1856
+ MEDIUM: 'MEDIUM',
1857
+ LARGE: 'LARGE'
1858
+ };
1859
+ exports.enumNumberOfAthletesSponsored = {
1860
+ FEW: 'FEW',
1861
+ SOME: 'SOME',
1862
+ MANY: 'MANY',
1863
+ ALOT: 'ALOT'
1864
+ };
1865
+ exports.enumCommitmentTypeEnum = {
1866
+ REGULAR: 'REGULAR',
1867
+ DATED: 'DATED',
1868
+ RECURRENT: 'RECURRENT'
1869
+ };
1870
+ exports.enumCompetitionResultType = {
1871
+ POSITION: 'POSITION',
1872
+ SCORE: 'SCORE'
1873
+ };
1874
+ exports.enumAgeDetermination = {
1875
+ YEAR_OF_BIRTH: 'YEAR_OF_BIRTH',
1876
+ AGE_ON_EVENT: 'AGE_ON_EVENT'
1877
+ };
1878
+ exports.enumTaskStatus = {
1879
+ PENDING: 'PENDING',
1880
+ DONE: 'DONE',
1881
+ EXPIRED: 'EXPIRED'
1882
+ };
1883
+ exports.enumStripeQueryOperation = {
1884
+ CheckoutSession: 'CheckoutSession'
1885
+ };
1736
1886
  exports.enumOfferClaimStatus = {
1737
1887
  ACTIVE: 'ACTIVE',
1738
1888
  EXPIRED: 'EXPIRED',