@vertikalx/vtx-backend-client 3.0.0-dev.3 → 3.0.0-dev.30

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.
@@ -3,6 +3,7 @@ export type Scalars = {
3
3
  Boolean: boolean;
4
4
  DateTime: any;
5
5
  Float: number;
6
+ Int: number;
6
7
  ID: string;
7
8
  JSONObject: any;
8
9
  };
@@ -311,108 +312,17 @@ export interface CodeVerificationResponse {
311
312
  error: (ErrorInfo | null);
312
313
  __typename: 'CodeVerificationResponse';
313
314
  }
314
- export interface BrandStats {
315
- campaigns: (Scalars['Float'] | null);
316
- sponsorships: (Scalars['Float'] | null);
317
- sports: (Scalars['Float'] | null);
318
- athletes: (Scalars['Float'] | null);
319
- __typename: 'BrandStats';
320
- }
321
- export interface BrandTranslation {
322
- _id: Scalars['String'];
323
- brandId: Scalars['String'];
324
- language: Scalars['String'];
325
- name: (Scalars['String'] | null);
326
- slogan: (Scalars['String'] | null);
327
- description: (Scalars['String'] | null);
328
- logo: (AWSS3File | null);
329
- banner: (AWSS3File | null);
330
- __typename: 'BrandTranslation';
331
- }
332
- export interface Brand {
315
+ export interface Industry {
333
316
  _id: Scalars['String'];
334
317
  name: Scalars['String'];
335
- slogan: (Scalars['String'] | null);
336
- website: (Scalars['String'] | null);
337
- description: (Scalars['String'] | null);
338
- approved: Scalars['Boolean'];
339
- published: Scalars['Boolean'];
340
- logo: (AWSS3File | null);
341
- banner: (AWSS3File | null);
342
- stats: (BrandStats | null);
343
- operatorIds: (Scalars['String'][] | null);
344
- translations: (BrandTranslation[] | null);
345
- __typename: 'Brand';
346
- }
347
- export interface StravaTpiRideDto {
348
- distanceKm: Scalars['Float'];
349
- distanceKmLast: Scalars['Float'];
350
- elapsedTimeMin: Scalars['Float'];
351
- elapsedTimeMinLast: Scalars['Float'];
352
- averageSpeedKmh: Scalars['Float'];
353
- averageSpeedKmhLast: Scalars['Float'];
354
- maxSpeedKmh: Scalars['Float'];
355
- maxSpeedKmhLast: Scalars['Float'];
356
- averageHeartRateBpm: Scalars['Float'];
357
- averageHeartRateBpmLast: Scalars['Float'];
358
- maxHeartRateBpm: Scalars['Float'];
359
- maxHeartRateBpmLast: Scalars['Float'];
360
- averageCadenceStm: Scalars['Float'];
361
- averageCadenceStmLast: Scalars['Float'];
362
- lastDate: (Scalars['DateTime'] | null);
363
- country: (Scalars['String'] | null);
364
- state: (Scalars['String'] | null);
365
- city: (Scalars['String'] | null);
366
- tpi: Scalars['Float'];
367
- __typename: 'StravaTpiRideDto';
368
- }
369
- export interface StravaTpiRunDto {
370
- distanceKm: Scalars['Float'];
371
- distanceKmLast: Scalars['Float'];
372
- elapsedTimeMin: Scalars['Float'];
373
- elapsedTimeMinLast: Scalars['Float'];
374
- averageSpeedKmh: Scalars['Float'];
375
- averageSpeedKmhLast: Scalars['Float'];
376
- maxSpeedKmh: Scalars['Float'];
377
- maxSpeedKmhLast: Scalars['Float'];
378
- averageHeartRateBpm: Scalars['Float'];
379
- averageHeartRateBpmLast: Scalars['Float'];
380
- maxHeartRateBpm: Scalars['Float'];
381
- maxHeartRateBpmLast: Scalars['Float'];
382
- averageCadenceStm: Scalars['Float'];
383
- averageCadenceStmLast: Scalars['Float'];
384
- elevHigh: Scalars['Float'];
385
- elevHighLast: Scalars['Float'];
386
- elevLow: Scalars['Float'];
387
- elevLowLast: Scalars['Float'];
388
- lastDate: (Scalars['DateTime'] | null);
389
- country: (Scalars['String'] | null);
390
- state: (Scalars['String'] | null);
391
- city: (Scalars['String'] | null);
392
- tpi: Scalars['Float'];
393
- __typename: 'StravaTpiRunDto';
318
+ __typename: 'Industry';
394
319
  }
395
- export interface StravaTpiSwimDto {
396
- distanceKm: Scalars['Float'];
397
- distanceKmLast: Scalars['Float'];
398
- elapsedTimeMin: Scalars['Float'];
399
- elapsedTimeMinLast: Scalars['Float'];
400
- averageSpeedKmh: Scalars['Float'];
401
- averageSpeedKmhLast: Scalars['Float'];
402
- maxSpeedKmh: Scalars['Float'];
403
- maxSpeedKmhLast: Scalars['Float'];
404
- averageHeartRateBpm: Scalars['Float'];
405
- averageHeartRateBpmLast: Scalars['Float'];
406
- maxHeartRateBpm: Scalars['Float'];
407
- maxHeartRateBpmLast: Scalars['Float'];
408
- averageCadenceStm: Scalars['Float'];
409
- averageCadenceStmLast: Scalars['Float'];
410
- lastDate: (Scalars['DateTime'] | null);
411
- country: (Scalars['String'] | null);
412
- state: (Scalars['String'] | null);
413
- city: (Scalars['String'] | null);
414
- tpi: Scalars['Float'];
415
- __typename: 'StravaTpiSwimDto';
320
+ export interface SponsorStats {
321
+ sponsoredAthletes: Scalars['Float'];
322
+ totalBrands: Scalars['Float'];
323
+ activeCampaigns: Scalars['Float'];
324
+ activeSponsorships: Scalars['Float'];
325
+ __typename: 'SponsorStats';
416
326
  }
417
327
  export interface City {
418
328
  _id: Scalars['String'];
@@ -494,53 +404,14 @@ export interface AthleteCriteria {
494
404
  _id: Scalars['String'];
495
405
  label: (Scalars['String'] | null);
496
406
  qualifications: (QualificationTypeUnion[] | null);
407
+ minAge: (Scalars['Int'] | null);
408
+ maxAge: (Scalars['Int'] | null);
409
+ allowedGenders: (Scalars['String'][] | null);
497
410
  __typename: 'AthleteCriteria';
498
411
  }
499
412
  export type QualificationTypeUnion = (AgeQualification | GenderQualification | ScoreQualification | LocationQualification | NationalityQualification | DistanceQualification | SportsQualification | SportsLevelQualification) & {
500
413
  __isUnion?: true;
501
414
  };
502
- export interface Industry {
503
- _id: Scalars['String'];
504
- name: Scalars['String'];
505
- __typename: 'Industry';
506
- }
507
- export interface SponsorStats {
508
- sponsoredAthletes: Scalars['Float'];
509
- totalBrands: Scalars['Float'];
510
- activeCampaigns: Scalars['Float'];
511
- activeSponsorships: Scalars['Float'];
512
- __typename: 'SponsorStats';
513
- }
514
- export interface SponsorBrand {
515
- _id: Scalars['String'];
516
- name: Scalars['String'];
517
- slogan: (Scalars['String'] | null);
518
- website: (Scalars['String'] | null);
519
- description: (Scalars['String'] | null);
520
- approved: Scalars['Boolean'];
521
- published: Scalars['Boolean'];
522
- logo: (AWSS3File | null);
523
- banner: (AWSS3File | null);
524
- stats: (BrandStats | null);
525
- operatorIds: (Scalars['String'][] | null);
526
- translations: (BrandTranslation[] | null);
527
- sponsorBrandId: Scalars['String'];
528
- authorizedUse: Scalars['Boolean'];
529
- isAuthorizer: Scalars['Boolean'];
530
- __typename: 'SponsorBrand';
531
- }
532
- export interface Sponsor {
533
- _id: Scalars['String'];
534
- name: Scalars['String'];
535
- description: Scalars['String'];
536
- tenant: Tenant;
537
- industry: (Industry | null);
538
- stats: (SponsorStats | null);
539
- brands: (SponsorBrand[] | null);
540
- sponsorships: (Sponsorship[] | null);
541
- approved: Scalars['Boolean'];
542
- __typename: 'Sponsor';
543
- }
544
415
  export interface SponsorshipItem {
545
416
  _id: Scalars['String'];
546
417
  quantity: Scalars['Float'];
@@ -610,6 +481,130 @@ export interface Sponsorship {
610
481
  translations: (SponsorshipTranslation[] | null);
611
482
  __typename: 'Sponsorship';
612
483
  }
484
+ export interface Sponsor {
485
+ _id: Scalars['String'];
486
+ name: Scalars['String'];
487
+ description: (Scalars['String'] | null);
488
+ tenant: (Tenant | null);
489
+ industry: (Industry | null);
490
+ stats: (SponsorStats | null);
491
+ brands: (SponsorBrand[] | null);
492
+ sponsorships: (Sponsorship[] | null);
493
+ approved: Scalars['Boolean'];
494
+ __typename: 'Sponsor';
495
+ }
496
+ export interface SponsorBrand {
497
+ _id: Scalars['String'];
498
+ sponsor: (Sponsor | null);
499
+ authorizedUse: Scalars['Boolean'];
500
+ isAuthorizer: Scalars['Boolean'];
501
+ __typename: 'SponsorBrand';
502
+ }
503
+ export interface BrandStats {
504
+ campaigns: (Scalars['Float'] | null);
505
+ sponsorships: (Scalars['Float'] | null);
506
+ sports: (Scalars['Float'] | null);
507
+ athletes: (Scalars['Float'] | null);
508
+ __typename: 'BrandStats';
509
+ }
510
+ export interface BrandTranslation {
511
+ _id: Scalars['String'];
512
+ brandId: Scalars['String'];
513
+ language: Scalars['String'];
514
+ name: (Scalars['String'] | null);
515
+ slogan: (Scalars['String'] | null);
516
+ description: (Scalars['String'] | null);
517
+ logo: (AWSS3File | null);
518
+ banner: (AWSS3File | null);
519
+ __typename: 'BrandTranslation';
520
+ }
521
+ export interface Brand {
522
+ _id: Scalars['String'];
523
+ name: Scalars['String'];
524
+ slogan: (Scalars['String'] | null);
525
+ website: (Scalars['String'] | null);
526
+ affiliateLink: (Scalars['String'] | null);
527
+ description: (Scalars['String'] | null);
528
+ approved: Scalars['Boolean'];
529
+ published: Scalars['Boolean'];
530
+ logo: (AWSS3File | null);
531
+ banner: (AWSS3File | null);
532
+ stats: (BrandStats | null);
533
+ operatorIds: (Scalars['String'][] | null);
534
+ translations: (BrandTranslation[] | null);
535
+ sponsors: (SponsorBrand[] | null);
536
+ __typename: 'Brand';
537
+ }
538
+ export interface StravaTpiRideDto {
539
+ distanceKm: Scalars['Float'];
540
+ distanceKmLast: Scalars['Float'];
541
+ elapsedTimeMin: Scalars['Float'];
542
+ elapsedTimeMinLast: Scalars['Float'];
543
+ averageSpeedKmh: Scalars['Float'];
544
+ averageSpeedKmhLast: Scalars['Float'];
545
+ maxSpeedKmh: Scalars['Float'];
546
+ maxSpeedKmhLast: Scalars['Float'];
547
+ averageHeartRateBpm: Scalars['Float'];
548
+ averageHeartRateBpmLast: Scalars['Float'];
549
+ maxHeartRateBpm: Scalars['Float'];
550
+ maxHeartRateBpmLast: Scalars['Float'];
551
+ averageCadenceStm: Scalars['Float'];
552
+ averageCadenceStmLast: Scalars['Float'];
553
+ lastDate: (Scalars['DateTime'] | null);
554
+ country: (Scalars['String'] | null);
555
+ state: (Scalars['String'] | null);
556
+ city: (Scalars['String'] | null);
557
+ tpi: Scalars['Float'];
558
+ __typename: 'StravaTpiRideDto';
559
+ }
560
+ export interface StravaTpiRunDto {
561
+ distanceKm: Scalars['Float'];
562
+ distanceKmLast: Scalars['Float'];
563
+ elapsedTimeMin: Scalars['Float'];
564
+ elapsedTimeMinLast: Scalars['Float'];
565
+ averageSpeedKmh: Scalars['Float'];
566
+ averageSpeedKmhLast: Scalars['Float'];
567
+ maxSpeedKmh: Scalars['Float'];
568
+ maxSpeedKmhLast: Scalars['Float'];
569
+ averageHeartRateBpm: Scalars['Float'];
570
+ averageHeartRateBpmLast: Scalars['Float'];
571
+ maxHeartRateBpm: Scalars['Float'];
572
+ maxHeartRateBpmLast: Scalars['Float'];
573
+ averageCadenceStm: Scalars['Float'];
574
+ averageCadenceStmLast: Scalars['Float'];
575
+ elevHigh: Scalars['Float'];
576
+ elevHighLast: Scalars['Float'];
577
+ elevLow: Scalars['Float'];
578
+ elevLowLast: Scalars['Float'];
579
+ lastDate: (Scalars['DateTime'] | null);
580
+ country: (Scalars['String'] | null);
581
+ state: (Scalars['String'] | null);
582
+ city: (Scalars['String'] | null);
583
+ tpi: Scalars['Float'];
584
+ __typename: 'StravaTpiRunDto';
585
+ }
586
+ export interface StravaTpiSwimDto {
587
+ distanceKm: Scalars['Float'];
588
+ distanceKmLast: Scalars['Float'];
589
+ elapsedTimeMin: Scalars['Float'];
590
+ elapsedTimeMinLast: Scalars['Float'];
591
+ averageSpeedKmh: Scalars['Float'];
592
+ averageSpeedKmhLast: Scalars['Float'];
593
+ maxSpeedKmh: Scalars['Float'];
594
+ maxSpeedKmhLast: Scalars['Float'];
595
+ averageHeartRateBpm: Scalars['Float'];
596
+ averageHeartRateBpmLast: Scalars['Float'];
597
+ maxHeartRateBpm: Scalars['Float'];
598
+ maxHeartRateBpmLast: Scalars['Float'];
599
+ averageCadenceStm: Scalars['Float'];
600
+ averageCadenceStmLast: Scalars['Float'];
601
+ lastDate: (Scalars['DateTime'] | null);
602
+ country: (Scalars['String'] | null);
603
+ state: (Scalars['String'] | null);
604
+ city: (Scalars['String'] | null);
605
+ tpi: Scalars['Float'];
606
+ __typename: 'StravaTpiSwimDto';
607
+ }
613
608
  export interface FollowStats {
614
609
  followers: Scalars['Float'];
615
610
  followed: Scalars['Float'];
@@ -621,6 +616,8 @@ export interface Sport {
621
616
  _id: Scalars['String'];
622
617
  name: Scalars['String'];
623
618
  resultType: Scalars['String'];
619
+ verified: (Scalars['Boolean'] | null);
620
+ priority: (Scalars['Float'] | null);
624
621
  __typename: 'Sport';
625
622
  }
626
623
  export interface VtxScores {
@@ -710,6 +707,7 @@ export interface AthleteCompetitionResult {
710
707
  categoryPosition: (Scalars['Float'] | null);
711
708
  categoryParticipants: (Scalars['Float'] | null);
712
709
  categoryName: (Scalars['String'] | null);
710
+ pointsEarned: (Scalars['Float'] | null);
713
711
  __typename: 'AthleteCompetitionResult';
714
712
  }
715
713
  export interface BudgetItem {
@@ -953,13 +951,13 @@ export interface StripeAccountReference {
953
951
  account: (StripeAccount | null);
954
952
  __typename: 'StripeAccountReference';
955
953
  }
956
- export interface HistoricalScoreType {
954
+ export interface HistoricalScore {
957
955
  _id: Scalars['String'];
958
956
  scoreType: Scalars['String'];
959
957
  score: Scalars['Float'];
960
958
  date: Scalars['DateTime'];
961
959
  athleteId: Scalars['String'];
962
- __typename: 'HistoricalScoreType';
960
+ __typename: 'HistoricalScore';
963
961
  }
964
962
  export interface AthleteReference {
965
963
  _id: Scalars['String'];
@@ -986,6 +984,7 @@ export interface AthleteReference {
986
984
  aboutMe: (Scalars['String'] | null);
987
985
  biography: (Scalars['String'] | null);
988
986
  preferences: AthletePreferences;
987
+ suspended: Scalars['Boolean'];
989
988
  __typename: 'AthleteReference';
990
989
  }
991
990
  export interface Athlete {
@@ -1013,6 +1012,7 @@ export interface Athlete {
1013
1012
  aboutMe: (Scalars['String'] | null);
1014
1013
  biography: (Scalars['String'] | null);
1015
1014
  preferences: AthletePreferences;
1015
+ suspended: Scalars['Boolean'];
1016
1016
  allSports: (Sport[] | null);
1017
1017
  teams: (Team[] | null);
1018
1018
  sponsorBrands: (Brand[] | null);
@@ -1024,7 +1024,7 @@ export interface Athlete {
1024
1024
  fundingCampaigns: (FundRaisingCampaign[] | null);
1025
1025
  stripeAccountReference: (StripeAccountReference | null);
1026
1026
  albums: (Album[] | null);
1027
- historicalScores: (HistoricalScoreType[] | null);
1027
+ historicalScores: (HistoricalScore[] | null);
1028
1028
  signedAgreements: (SignedAgreement[] | null);
1029
1029
  __typename: 'Athlete';
1030
1030
  }
@@ -1067,13 +1067,6 @@ export interface SponsorAthleteInvitation {
1067
1067
  status: Scalars['String'];
1068
1068
  __typename: 'SponsorAthleteInvitation';
1069
1069
  }
1070
- export interface StravaToken {
1071
- token_type: Scalars['String'];
1072
- expires_at: Scalars['String'];
1073
- refresh_token: Scalars['String'];
1074
- access_token: Scalars['String'];
1075
- __typename: 'StravaToken';
1076
- }
1077
1070
  export interface StripeSession {
1078
1071
  account: Scalars['String'];
1079
1072
  client_secret: Scalars['String'];
@@ -1082,6 +1075,8 @@ export interface StripeSession {
1082
1075
  __typename: 'StripeSession';
1083
1076
  }
1084
1077
  export interface StripeCheckoutSession {
1078
+ id: Scalars['String'];
1079
+ vtxCheckoutSessionId: Scalars['String'];
1085
1080
  client_secret: Scalars['String'];
1086
1081
  expires_at: Scalars['Float'];
1087
1082
  livemode: Scalars['Boolean'];
@@ -1275,11 +1270,13 @@ export interface Donation {
1275
1270
  checkoutSessionId: Scalars['String'];
1276
1271
  fundingCheckoutSessionDataId: Scalars['String'];
1277
1272
  donationMode: Scalars['String'];
1273
+ donorName: Scalars['String'];
1274
+ donorEmail: (Scalars['String'] | null);
1278
1275
  completed: Scalars['Boolean'];
1279
1276
  confirmed: Scalars['Boolean'];
1280
1277
  donationAmount: Scalars['Float'];
1281
1278
  completedDate: (Scalars['DateTime'] | null);
1282
- createdDate: Scalars['DateTime'];
1279
+ createdDate: (Scalars['DateTime'] | null);
1283
1280
  athleteId: Scalars['String'];
1284
1281
  athleteName: Scalars['String'];
1285
1282
  message: (Scalars['String'] | null);
@@ -1295,6 +1292,195 @@ export interface Member {
1295
1292
  donations: Donation[];
1296
1293
  __typename: 'Member';
1297
1294
  }
1295
+ export interface AdminUserView {
1296
+ _id: Scalars['String'];
1297
+ loginEmail: Scalars['String'];
1298
+ firstName: Scalars['String'];
1299
+ lastName: Scalars['String'];
1300
+ screenName: Scalars['String'];
1301
+ domains: (DomainCredential[] | null);
1302
+ athlete: (Athlete | null);
1303
+ member: (Member | null);
1304
+ suspended: Scalars['Boolean'];
1305
+ __typename: 'AdminUserView';
1306
+ }
1307
+ export interface AdminTransactionFundingDetails {
1308
+ paidToVtx: (Scalars['Float'] | null);
1309
+ paidToAthlete: (Scalars['Float'] | null);
1310
+ athleteId: Scalars['String'];
1311
+ athleteName: Scalars['String'];
1312
+ fromName: (Scalars['String'] | null);
1313
+ fromPhone: (Scalars['String'] | null);
1314
+ message: (Scalars['String'] | null);
1315
+ mode: (Scalars['String'] | null);
1316
+ __typename: 'AdminTransactionFundingDetails';
1317
+ }
1318
+ export interface AdminTransactionView {
1319
+ _id: Scalars['ID'];
1320
+ createdDate: Scalars['DateTime'];
1321
+ stripeSessionId: Scalars['String'];
1322
+ concept: (Scalars['String'] | null);
1323
+ donationAmount: Scalars['Float'];
1324
+ fromEmail: (Scalars['String'] | null);
1325
+ type: Scalars['String'];
1326
+ confirmed: Scalars['Boolean'];
1327
+ completed: Scalars['Boolean'];
1328
+ completedDate: (Scalars['DateTime'] | null);
1329
+ stripeAccountId: Scalars['String'];
1330
+ fundingDetails: (AdminTransactionFundingDetails | null);
1331
+ __typename: 'AdminTransactionView';
1332
+ }
1333
+ export interface Offer {
1334
+ _id: Scalars['String'];
1335
+ name: (Scalars['String'] | null);
1336
+ label: Scalars['String'];
1337
+ decription: (Scalars['String'] | null);
1338
+ offerImage: (AWSS3File | null);
1339
+ type: Scalars['String'];
1340
+ status: Scalars['String'];
1341
+ discountType: Scalars['String'];
1342
+ discountTypeData: Scalars['String'];
1343
+ conditions: (Scalars['String'][] | null);
1344
+ brand: Brand;
1345
+ sponsor: Sponsor;
1346
+ criteria: (AthleteCriteria | null);
1347
+ dateStart: (Scalars['DateTime'] | null);
1348
+ dateEnd: (Scalars['DateTime'] | null);
1349
+ dateCreated: Scalars['DateTime'];
1350
+ totalCodes: Scalars['Int'];
1351
+ availableCodes: Scalars['Int'];
1352
+ availableCountries: (Country[] | null);
1353
+ disclaimer: (Scalars['String'] | null);
1354
+ genericCode: (Scalars['String'] | null);
1355
+ featured: Scalars['Boolean'];
1356
+ __typename: 'Offer';
1357
+ }
1358
+ export interface Promotion {
1359
+ _id: Scalars['String'];
1360
+ name: (Scalars['String'] | null);
1361
+ label: Scalars['String'];
1362
+ decription: (Scalars['String'] | null);
1363
+ offerImage: (AWSS3File | null);
1364
+ type: Scalars['String'];
1365
+ status: Scalars['String'];
1366
+ discountType: Scalars['String'];
1367
+ discountTypeData: Scalars['String'];
1368
+ conditions: (Scalars['String'][] | null);
1369
+ brand: Brand;
1370
+ sponsor: Sponsor;
1371
+ criteria: (AthleteCriteria | null);
1372
+ dateStart: (Scalars['DateTime'] | null);
1373
+ dateEnd: (Scalars['DateTime'] | null);
1374
+ dateCreated: Scalars['DateTime'];
1375
+ totalCodes: Scalars['Int'];
1376
+ availableCodes: Scalars['Int'];
1377
+ availableCountries: (Country[] | null);
1378
+ disclaimer: (Scalars['String'] | null);
1379
+ genericCode: Scalars['String'];
1380
+ featured: Scalars['Boolean'];
1381
+ __typename: 'Promotion';
1382
+ }
1383
+ export interface CouponCode {
1384
+ _id: Scalars['String'];
1385
+ couponId: Scalars['String'];
1386
+ code: Scalars['String'];
1387
+ expires: (Scalars['DateTime'] | null);
1388
+ dateCreated: Scalars['DateTime'];
1389
+ __typename: 'CouponCode';
1390
+ }
1391
+ export interface Coupon {
1392
+ _id: Scalars['String'];
1393
+ name: (Scalars['String'] | null);
1394
+ label: Scalars['String'];
1395
+ decription: (Scalars['String'] | null);
1396
+ offerImage: (AWSS3File | null);
1397
+ type: Scalars['String'];
1398
+ status: Scalars['String'];
1399
+ discountType: Scalars['String'];
1400
+ discountTypeData: Scalars['String'];
1401
+ conditions: (Scalars['String'][] | null);
1402
+ brand: Brand;
1403
+ sponsor: Sponsor;
1404
+ criteria: (AthleteCriteria | null);
1405
+ dateStart: (Scalars['DateTime'] | null);
1406
+ dateEnd: (Scalars['DateTime'] | null);
1407
+ dateCreated: Scalars['DateTime'];
1408
+ totalCodes: Scalars['Int'];
1409
+ availableCodes: Scalars['Int'];
1410
+ availableCountries: (Country[] | null);
1411
+ disclaimer: (Scalars['String'] | null);
1412
+ genericCode: (Scalars['String'] | null);
1413
+ featured: Scalars['Boolean'];
1414
+ couponCodes: (CouponCode[] | null);
1415
+ __typename: 'Coupon';
1416
+ }
1417
+ export interface OfferClaim {
1418
+ _id: Scalars['String'];
1419
+ offer: Offer;
1420
+ athlete: Athlete;
1421
+ claimedAt: Scalars['DateTime'];
1422
+ code: (Scalars['String'] | null);
1423
+ __typename: 'OfferClaim';
1424
+ }
1425
+ export interface EligibilityResult {
1426
+ status: EligibilityStatus;
1427
+ failedCriteria: Scalars['String'][];
1428
+ missingFields: Scalars['String'][];
1429
+ messages: Scalars['String'][];
1430
+ __typename: 'EligibilityResult';
1431
+ }
1432
+ export type EligibilityStatus = 'ELIGIBLE' | 'NOT_ELIGIBLE' | 'UNKNOWN';
1433
+ export interface EnhancedPaginationInfoType {
1434
+ currentPage: Scalars['Int'];
1435
+ totalPages: Scalars['Int'];
1436
+ totalItems: Scalars['Int'];
1437
+ itemsPerPage: Scalars['Int'];
1438
+ hasNextPage: Scalars['Boolean'];
1439
+ hasPreviousPage: Scalars['Boolean'];
1440
+ startIndex: Scalars['Int'];
1441
+ endIndex: Scalars['Int'];
1442
+ __typename: 'EnhancedPaginationInfoType';
1443
+ }
1444
+ export interface OfferWithEligibility {
1445
+ _id: Scalars['String'];
1446
+ name: (Scalars['String'] | null);
1447
+ label: Scalars['String'];
1448
+ decription: (Scalars['String'] | null);
1449
+ offerImage: (AWSS3File | null);
1450
+ type: Scalars['String'];
1451
+ status: Scalars['String'];
1452
+ discountType: Scalars['String'];
1453
+ discountTypeData: Scalars['String'];
1454
+ conditions: (Scalars['String'][] | null);
1455
+ brand: Brand;
1456
+ sponsor: Sponsor;
1457
+ criteria: (AthleteCriteria | null);
1458
+ dateStart: (Scalars['DateTime'] | null);
1459
+ dateEnd: (Scalars['DateTime'] | null);
1460
+ dateCreated: Scalars['DateTime'];
1461
+ totalCodes: Scalars['Int'];
1462
+ availableCodes: Scalars['Int'];
1463
+ availableCountries: (Country[] | null);
1464
+ disclaimer: (Scalars['String'] | null);
1465
+ featured: Scalars['Boolean'];
1466
+ eligibility: EligibilityResult;
1467
+ __typename: 'OfferWithEligibility';
1468
+ }
1469
+ export interface PaginatedOffersWithEligibility {
1470
+ items: OfferWithEligibility[];
1471
+ pagination: EnhancedPaginationInfoType;
1472
+ __typename: 'PaginatedOffersWithEligibility';
1473
+ }
1474
+ export interface PaginatedBrands {
1475
+ items: Brand[];
1476
+ pagination: EnhancedPaginationInfoType;
1477
+ __typename: 'PaginatedBrands';
1478
+ }
1479
+ export interface PaginatedSponsors {
1480
+ items: Sponsor[];
1481
+ pagination: EnhancedPaginationInfoType;
1482
+ __typename: 'PaginatedSponsors';
1483
+ }
1298
1484
  export interface EditValueResponse {
1299
1485
  field: Scalars['String'];
1300
1486
  oldValue: (Scalars['String'] | null);
@@ -1308,6 +1494,29 @@ export interface DeleteSingleValueResponse {
1308
1494
  failureReason: (ErrorType | null);
1309
1495
  __typename: 'DeleteSingleValueResponse';
1310
1496
  }
1497
+ export interface ScoreRefreshDetail {
1498
+ status: ForceScoreRefreshStatus;
1499
+ message: (Scalars['String'] | null);
1500
+ __typename: 'ScoreRefreshDetail';
1501
+ }
1502
+ export type ForceScoreRefreshStatus = 'success' | 'failed' | 'skipped';
1503
+ export interface ForceScoreRefreshResult {
1504
+ athleteId: Scalars['String'];
1505
+ athleteName: (Scalars['String'] | null);
1506
+ status: ForceScoreRefreshStatus;
1507
+ message: (Scalars['String'] | null);
1508
+ tpi: (ScoreRefreshDetail | null);
1509
+ spi: (ScoreRefreshDetail | null);
1510
+ api: (ScoreRefreshDetail | null);
1511
+ __typename: 'ForceScoreRefreshResult';
1512
+ }
1513
+ export interface ForceScoreRefreshResponse {
1514
+ results: ForceScoreRefreshResult[];
1515
+ successCount: Scalars['Float'];
1516
+ failureCount: Scalars['Float'];
1517
+ skippedCount: Scalars['Float'];
1518
+ __typename: 'ForceScoreRefreshResponse';
1519
+ }
1311
1520
  export interface SortOrder {
1312
1521
  sortField: Scalars['String'];
1313
1522
  order: Scalars['String'];
@@ -1357,23 +1566,110 @@ export interface CompetitionDeleteVerificationResponse {
1357
1566
  reasons: CompetitionDeleteVerificationReason[];
1358
1567
  __typename: 'CompetitionDeleteVerificationResponse';
1359
1568
  }
1569
+ export interface HistoricalScoresPeriod {
1570
+ athleteId: Scalars['String'];
1571
+ athleteFirstName: Scalars['String'];
1572
+ athleteLastName: Scalars['String'];
1573
+ screenName: Scalars['String'];
1574
+ minTimestampInclusive: Scalars['DateTime'];
1575
+ maxTimestampExclusive: Scalars['DateTime'];
1576
+ vtxScores: (HistoricalScore[] | null);
1577
+ tpiScores: (HistoricalScore[] | null);
1578
+ spiScores: (HistoricalScore[] | null);
1579
+ apiScores: (HistoricalScore[] | null);
1580
+ __typename: 'HistoricalScoresPeriod';
1581
+ }
1360
1582
  export interface StripeObject {
1361
1583
  type: Scalars['String'];
1362
1584
  json: Scalars['JSONObject'];
1363
1585
  __typename: 'StripeObject';
1364
1586
  }
1587
+ export interface ScoreRefreshCapability {
1588
+ athleteId: Scalars['String'];
1589
+ athleteName: (Scalars['String'] | null);
1590
+ canRefreshTpi: Scalars['Boolean'];
1591
+ canRefreshSpi: Scalars['Boolean'];
1592
+ canRefreshApi: Scalars['Boolean'];
1593
+ tpiReason: (Scalars['String'] | null);
1594
+ spiReason: (Scalars['String'] | null);
1595
+ apiReason: (Scalars['String'] | null);
1596
+ __typename: 'ScoreRefreshCapability';
1597
+ }
1598
+ export interface CheckScoreRefreshCapabilityResponse {
1599
+ capabilities: ScoreRefreshCapability[];
1600
+ __typename: 'CheckScoreRefreshCapabilityResponse';
1601
+ }
1602
+ export interface PaginatedSports {
1603
+ items: Sport[];
1604
+ pagination: EnhancedPaginationInfoType;
1605
+ __typename: 'PaginatedSports';
1606
+ }
1365
1607
  export interface UserImages {
1366
1608
  profilePictureUrl: (Scalars['String'] | null);
1367
1609
  cardPictureUrl: (Scalars['String'] | null);
1368
1610
  bannerPictureUrl: (Scalars['String'] | null);
1369
1611
  __typename: 'UserImages';
1370
1612
  }
1371
- export interface ValidatedToken {
1372
- accessToken: Scalars['String'];
1373
- refreshToken: Scalars['String'];
1374
- expiresAt: Scalars['Float'];
1375
- refreshExpiresAt: Scalars['Float'];
1376
- __typename: 'ValidatedToken';
1613
+ export interface ValidatedToken {
1614
+ accessToken: Scalars['String'];
1615
+ refreshToken: Scalars['String'];
1616
+ expiresAt: Scalars['Float'];
1617
+ refreshExpiresAt: Scalars['Float'];
1618
+ __typename: 'ValidatedToken';
1619
+ }
1620
+ export interface DeleteVtxUserResponse {
1621
+ success: Scalars['Boolean'];
1622
+ deletedUserId: (Scalars['String'] | null);
1623
+ deletedUserEmail: (Scalars['String'] | null);
1624
+ deletedUserType: (Scalars['String'] | null);
1625
+ servicesDeleted: (Scalars['String'][] | null);
1626
+ cognitoDeleted: (Scalars['Boolean'] | null);
1627
+ dbDeleted: (Scalars['Boolean'] | null);
1628
+ errorMessage: (Scalars['String'] | null);
1629
+ __typename: 'DeleteVtxUserResponse';
1630
+ }
1631
+ export interface PaginatedUsers {
1632
+ items: AdminUserView[];
1633
+ pagination: EnhancedPaginationInfoType;
1634
+ __typename: 'PaginatedUsers';
1635
+ }
1636
+ export interface TransactionDetails {
1637
+ stripeCheckoutSessionId: Scalars['String'];
1638
+ vtxCheckoutSessionId: Scalars['String'];
1639
+ checkoutSessionType: Scalars['String'];
1640
+ transactionType: Scalars['String'];
1641
+ confirmed: Scalars['Boolean'];
1642
+ completed: Scalars['Boolean'];
1643
+ currency: Scalars['String'];
1644
+ createdDate: Scalars['DateTime'];
1645
+ email: (Scalars['String'] | null);
1646
+ name: (Scalars['String'] | null);
1647
+ phone: (Scalars['String'] | null);
1648
+ payment_status: (Scalars['String'] | null);
1649
+ status: (Scalars['String'] | null);
1650
+ amount_subtotal: (Scalars['Float'] | null);
1651
+ amount_total: (Scalars['Float'] | null);
1652
+ completedDate: (Scalars['DateTime'] | null);
1653
+ athleteDonationReceipt: (Receipt | null);
1654
+ __typename: 'TransactionDetails';
1655
+ }
1656
+ export interface PaginatedEvents {
1657
+ items: SportsEvent[];
1658
+ pagination: EnhancedPaginationInfoType;
1659
+ __typename: 'PaginatedEvents';
1660
+ }
1661
+ export interface CurrencyAmountType {
1662
+ amount: Scalars['Float'];
1663
+ currency: Scalars['String'];
1664
+ __typename: 'CurrencyAmountType';
1665
+ }
1666
+ export interface StripeBalance {
1667
+ availableUSD: Scalars['Float'];
1668
+ pendingUSD: Scalars['Float'];
1669
+ currency: Scalars['String'];
1670
+ availableBalances: CurrencyAmountType[];
1671
+ pendingBalances: CurrencyAmountType[];
1672
+ __typename: 'StripeBalance';
1377
1673
  }
1378
1674
  export interface StripeTransfer {
1379
1675
  _id: Scalars['ID'];
@@ -1397,7 +1693,234 @@ export interface UserDomain {
1397
1693
  user: (User | null);
1398
1694
  __typename: 'UserDomain';
1399
1695
  }
1696
+ export interface PaginatedTransactions {
1697
+ items: AdminTransactionView[];
1698
+ pagination: EnhancedPaginationInfoType;
1699
+ __typename: 'PaginatedTransactions';
1700
+ }
1701
+ export interface PaginatedOffers {
1702
+ items: Offer[];
1703
+ pagination: EnhancedPaginationInfoType;
1704
+ __typename: 'PaginatedOffers';
1705
+ }
1706
+ export interface UploadResult {
1707
+ addedCodes: Scalars['Int'];
1708
+ duplicateCodes: Scalars['Int'];
1709
+ invalidRows: Scalars['String'][];
1710
+ __typename: 'UploadResult';
1711
+ }
1712
+ export interface OfferAvailability {
1713
+ available: Scalars['Boolean'];
1714
+ reason: (Scalars['String'] | null);
1715
+ __typename: 'OfferAvailability';
1716
+ }
1717
+ export interface LeaderboardEntry {
1718
+ rank: Scalars['Int'];
1719
+ rankChange: (Scalars['Int'] | null);
1720
+ athleteId: Scalars['String'];
1721
+ screenName: (Scalars['String'] | null);
1722
+ firstName: (Scalars['String'] | null);
1723
+ lastName: (Scalars['String'] | null);
1724
+ profilePicture: (Scalars['String'] | null);
1725
+ score: Scalars['Float'];
1726
+ countryCode: (Scalars['String'] | null);
1727
+ cityName: (Scalars['String'] | null);
1728
+ countryRank: (Scalars['Int'] | null);
1729
+ sportId: (Scalars['String'] | null);
1730
+ vtxScore: (Scalars['Float'] | null);
1731
+ trainingScore: (Scalars['Float'] | null);
1732
+ socialScore: (Scalars['Float'] | null);
1733
+ competitionScore: (Scalars['Float'] | null);
1734
+ mainSport: (Scalars['String'] | null);
1735
+ mainSportLevel: (Scalars['String'] | null);
1736
+ __typename: 'LeaderboardEntry';
1737
+ }
1738
+ export interface LeaderboardPagination {
1739
+ page: Scalars['Int'];
1740
+ limit: Scalars['Int'];
1741
+ total: Scalars['Int'];
1742
+ totalPages: Scalars['Int'];
1743
+ __typename: 'LeaderboardPagination';
1744
+ }
1745
+ export interface LeaderboardFilters {
1746
+ scoreType: Scalars['String'];
1747
+ sportId: (Scalars['String'] | null);
1748
+ countryCode: (Scalars['String'] | null);
1749
+ __typename: 'LeaderboardFilters';
1750
+ }
1751
+ export interface LeaderboardResponse {
1752
+ entries: LeaderboardEntry[];
1753
+ pagination: LeaderboardPagination;
1754
+ filters: LeaderboardFilters;
1755
+ __typename: 'LeaderboardResponse';
1756
+ }
1757
+ export interface UserRank {
1758
+ globalRank: Scalars['Int'];
1759
+ countryRank: (Scalars['Int'] | null);
1760
+ score: Scalars['Float'];
1761
+ scoreType: Scalars['String'];
1762
+ __typename: 'UserRank';
1763
+ }
1764
+ export interface DashboardSummary {
1765
+ vtxScore: Scalars['Float'];
1766
+ socialScore: Scalars['Float'];
1767
+ trainingScore: Scalars['Float'];
1768
+ competitionScore: Scalars['Float'];
1769
+ lastUpdated: Scalars['DateTime'];
1770
+ __typename: 'DashboardSummary';
1771
+ }
1772
+ export interface ScoreHistoryEntry {
1773
+ date: Scalars['DateTime'];
1774
+ vtxScore: (Scalars['Float'] | null);
1775
+ socialScore: (Scalars['Float'] | null);
1776
+ trainingScore: (Scalars['Float'] | null);
1777
+ competitionScore: (Scalars['Float'] | null);
1778
+ __typename: 'ScoreHistoryEntry';
1779
+ }
1780
+ export interface RankHistoryEntry {
1781
+ date: Scalars['DateTime'];
1782
+ globalRank: (Scalars['Int'] | null);
1783
+ countryRank: (Scalars['Int'] | null);
1784
+ __typename: 'RankHistoryEntry';
1785
+ }
1786
+ export interface RankContext {
1787
+ globalRank: (Scalars['Int'] | null);
1788
+ countryRank: (Scalars['Int'] | null);
1789
+ rankChange: (Scalars['Int'] | null);
1790
+ percentile: (Scalars['String'] | null);
1791
+ gapToNext: (Scalars['Float'] | null);
1792
+ gapFromPrevious: (Scalars['Float'] | null);
1793
+ totalAthletes: (Scalars['Int'] | null);
1794
+ __typename: 'RankContext';
1795
+ }
1796
+ export interface ActivityEntry {
1797
+ id: Scalars['String'];
1798
+ date: Scalars['DateTime'];
1799
+ type: Scalars['String'];
1800
+ metrics: (Scalars['JSONObject'] | null);
1801
+ pointsEarned: Scalars['Float'];
1802
+ counted: Scalars['Boolean'];
1803
+ notCountedReason: (Scalars['String'] | null);
1804
+ __typename: 'ActivityEntry';
1805
+ }
1806
+ export interface ActivitiesResponse {
1807
+ items: ActivityEntry[];
1808
+ total: Scalars['Int'];
1809
+ hasMore: Scalars['Boolean'];
1810
+ __typename: 'ActivitiesResponse';
1811
+ }
1812
+ export interface MetricComparison {
1813
+ name: Scalars['String'];
1814
+ value: (Scalars['Float'] | null);
1815
+ unit: (Scalars['String'] | null);
1816
+ athleteAverage: (Scalars['Float'] | null);
1817
+ athleteMax: (Scalars['Float'] | null);
1818
+ comparisonPercent: (Scalars['Float'] | null);
1819
+ __typename: 'MetricComparison';
1820
+ }
1821
+ export interface ScoreInfo {
1822
+ earned: Scalars['Float'];
1823
+ maxPossible: Scalars['Float'];
1824
+ componentAverage: (Scalars['Float'] | null);
1825
+ __typename: 'ScoreInfo';
1826
+ }
1827
+ export interface ActivityDetail {
1828
+ id: Scalars['String'];
1829
+ date: Scalars['DateTime'];
1830
+ type: Scalars['String'];
1831
+ category: Scalars['String'];
1832
+ metrics: MetricComparison[];
1833
+ scoreInfo: ScoreInfo;
1834
+ __typename: 'ActivityDetail';
1835
+ }
1836
+ export interface TopMetric {
1837
+ name: Scalars['String'];
1838
+ status: Scalars['String'];
1839
+ __typename: 'TopMetric';
1840
+ }
1841
+ export interface ComponentSummary {
1842
+ name: Scalars['String'];
1843
+ score: Scalars['Float'];
1844
+ maxScore: Scalars['Float'];
1845
+ trend: (Scalars['Float'] | null);
1846
+ trendPeriod: Scalars['String'];
1847
+ activityCount: Scalars['Int'];
1848
+ avgScorePerActivity: (Scalars['Float'] | null);
1849
+ topMetrics: TopMetric[];
1850
+ newMaxActivityIds: (Scalars['String'][] | null);
1851
+ __typename: 'ComponentSummary';
1852
+ }
1853
+ export interface ActivityDateEntry {
1854
+ date: Scalars['DateTime'];
1855
+ category: ActivityCategory;
1856
+ count: Scalars['Int'];
1857
+ types: Scalars['String'][];
1858
+ __typename: 'ActivityDateEntry';
1859
+ }
1860
+ export type ActivityCategory = 'TRAINING' | 'SOCIAL' | 'COMPETITION';
1861
+ export interface ActivityDatesResponse {
1862
+ dates: ActivityDateEntry[];
1863
+ __typename: 'ActivityDatesResponse';
1864
+ }
1865
+ export interface SocialAggregateType {
1866
+ _id: Scalars['ID'];
1867
+ athleteId: Scalars['String'];
1868
+ platform: Platform;
1869
+ contentType: (ContentType | null);
1870
+ periodType: PeriodType;
1871
+ periodLabel: Scalars['String'];
1872
+ periodStart: Scalars['DateTime'];
1873
+ periodEnd: Scalars['DateTime'];
1874
+ totalLikes: Scalars['Int'];
1875
+ totalComments: Scalars['Int'];
1876
+ totalShares: Scalars['Int'];
1877
+ totalSaves: Scalars['Int'];
1878
+ totalReach: Scalars['Int'];
1879
+ totalViews: Scalars['Int'];
1880
+ totalImpressions: Scalars['Int'];
1881
+ postCount: Scalars['Int'];
1882
+ followerCount: Scalars['Int'];
1883
+ avgEngagementRate: Scalars['Float'];
1884
+ avgPostEngagement: Scalars['Float'];
1885
+ __typename: 'SocialAggregateType';
1886
+ }
1887
+ export type Platform = 'INSTAGRAM' | 'TIKTOK' | 'YOUTUBE';
1888
+ export type ContentType = 'POST' | 'REEL' | 'LIVE' | 'SHORT' | 'VIDEO';
1889
+ export type PeriodType = 'DAILY' | 'WEEKLY';
1890
+ export interface PostMetricType {
1891
+ id: Scalars['ID'];
1892
+ postId: Scalars['String'];
1893
+ permalink: (Scalars['String'] | null);
1894
+ thumbnailUrl: (Scalars['String'] | null);
1895
+ contentType: (ContentType | null);
1896
+ caption: (Scalars['String'] | null);
1897
+ postedAt: Scalars['DateTime'];
1898
+ likes: Scalars['Int'];
1899
+ comments: Scalars['Int'];
1900
+ shares: Scalars['Int'];
1901
+ saves: Scalars['Int'];
1902
+ reach: (Scalars['Int'] | null);
1903
+ vsAvgPercent: Scalars['Float'];
1904
+ __typename: 'PostMetricType';
1905
+ }
1906
+ export interface AveragesType {
1907
+ likes: Scalars['Float'];
1908
+ comments: Scalars['Float'];
1909
+ reach: (Scalars['Float'] | null);
1910
+ engagementRate: Scalars['Float'];
1911
+ __typename: 'AveragesType';
1912
+ }
1913
+ export interface PostComparisonResultType {
1914
+ posts: PostMetricType[];
1915
+ averages: AveragesType;
1916
+ total: Scalars['Int'];
1917
+ hasMore: Scalars['Boolean'];
1918
+ __typename: 'PostComparisonResultType';
1919
+ }
1920
+ export type TimeRange = 'SEVEN_DAYS' | 'THIRTY_DAYS' | 'NINETY_DAYS' | 'ONE_YEAR' | 'ALL_TIME';
1400
1921
  export type DonationMode = 'PUBLIC' | 'PRIVATE' | 'ANONYMOUS';
1922
+ export type OfferClaimStatus = 'ACTIVE' | 'EXPIRED' | 'ALL';
1923
+ export type PostSortOption = 'RECENT' | 'TOP' | 'UNDERPERFORMING';
1401
1924
  export interface Query {
1402
1925
  findTenantById: Tenant;
1403
1926
  findTenantByEmail: Tenant;
@@ -1410,10 +1933,12 @@ export interface Query {
1410
1933
  industries: Industry[];
1411
1934
  findIndustryById: Industry;
1412
1935
  brands: Brand[];
1936
+ getBrandsPaginated: PaginatedBrands;
1413
1937
  getBrandByName: Brand;
1414
1938
  getBrandTranslation: BrandTranslation;
1415
1939
  existsValidSponsorForEmail: Sponsor;
1416
1940
  sponsors: Sponsor[];
1941
+ getSponsorsPaginated: PaginatedSponsors;
1417
1942
  findSponsorAthleteInvitation: SponsorAthleteInvitation;
1418
1943
  verifyAthleteCompetitionLinkedForDelete: CompetitionDeleteVerificationResponse;
1419
1944
  getAthletes: Athlete[];
@@ -1432,10 +1957,14 @@ export interface Query {
1432
1957
  queryAthleteWithFilter: AthleteQueryResponse;
1433
1958
  getPublicAthleteAlbums: Album[];
1434
1959
  screenNameAvailability: ExistValueResponse;
1435
- getAthleteHistoricalScores: HistoricalScoreType[];
1436
- getMyHistoricalScores: HistoricalScoreType[];
1960
+ checkScoreRefreshCapabilities: CheckScoreRefreshCapabilityResponse;
1961
+ getAthleteHistoricalScoresPeriod: HistoricalScoresPeriod;
1962
+ getAthleteHistoricalScores: HistoricalScore[];
1963
+ getMyHistoricalScoresPeriod: HistoricalScoresPeriod;
1964
+ getMyHistoricalScores: HistoricalScore[];
1437
1965
  getAthleteCampaigns: FundRaisingCampaign[];
1438
1966
  getSports: Sport[];
1967
+ getSportsPaginated: PaginatedSports;
1439
1968
  findSportById: Sport;
1440
1969
  getSportLevels: SportLevel[];
1441
1970
  getPublicSponsorships: Sponsorship[];
@@ -1451,10 +1980,16 @@ export interface Query {
1451
1980
  getUserImagesFromEmail: UserImages;
1452
1981
  getResetVerificationCode: VerificationCode;
1453
1982
  verifyCode: CodeVerificationResponse;
1983
+ isUserSuspended: Scalars['Boolean'];
1984
+ getAllUsers: AdminUserView[];
1985
+ getUsersPaginated: PaginatedUsers;
1454
1986
  getStravaLoginUrl: Scalars['String'];
1455
1987
  getSportsEvents: SportsEvent[];
1988
+ getSportsEventsPaginated: PaginatedEvents;
1456
1989
  getBudgetsByAthlete: BudgetData;
1457
- getDonationsByAthlete: Receipt;
1990
+ getDonationsByAthlete: Receipt[];
1991
+ getDonationsToAthlete: Donation[];
1992
+ getDonationsToMe: Donation[];
1458
1993
  getBudgetConcepts: BudgetConcept[];
1459
1994
  getBudgetItemUnits: BudgetItemUnit[];
1460
1995
  getMembershipOrganizations: MembershipOrganizationReference[];
@@ -1462,11 +1997,36 @@ export interface Query {
1462
1997
  getAthleteInstagramIntegration: AthleteIntegrationReference;
1463
1998
  getAthleteIntegrations: AthleteIntegrationReference;
1464
1999
  stripeQuery: StripeObject;
2000
+ getStripeBalance: StripeBalance;
1465
2001
  getDatabaseTextFile: TextDatabaseFile;
2002
+ getS3UploadUrl: AWSS3UploadUrl;
1466
2003
  getReceipt: Receipt;
1467
2004
  getReceiptUrl: ReceiptUrl;
2005
+ getTransactionDetails: TransactionDetails;
1468
2006
  findMemberForUser: Member;
1469
2007
  getDonationsByMember: Donation[];
2008
+ getDonationsByUser: Donation[];
2009
+ getAllTransactions: AdminTransactionView[];
2010
+ getTransactionsPaginated: PaginatedTransactions;
2011
+ offers: Offer[];
2012
+ getOffersPaginated: PaginatedOffers;
2013
+ offersForAthlete: Offer[];
2014
+ offer: Offer;
2015
+ myOfferClaims: OfferClaim[];
2016
+ offerAvailability: OfferAvailability;
2017
+ offersWithEligibility: PaginatedOffersWithEligibility;
2018
+ getLeaderboard: LeaderboardResponse;
2019
+ getUserRank: UserRank;
2020
+ athleteDashboard: DashboardSummary;
2021
+ athleteScoreHistory: ScoreHistoryEntry[];
2022
+ athleteRankHistory: RankHistoryEntry[];
2023
+ athleteRankContext: RankContext;
2024
+ athleteActivities: ActivitiesResponse;
2025
+ athleteActivityDetail: ActivityDetail;
2026
+ athleteComponentSummary: ComponentSummary;
2027
+ athleteActivityDates: ActivityDatesResponse;
2028
+ socialAggregates: SocialAggregateType[];
2029
+ postsWithComparison: PostComparisonResultType;
1470
2030
  __typename: 'Query';
1471
2031
  }
1472
2032
  export interface Mutation {
@@ -1483,9 +2043,15 @@ export interface Mutation {
1483
2043
  registerS3UploadedFile: AWSS3File;
1484
2044
  createIndustry: Industry;
1485
2045
  createBrand: Brand;
2046
+ updateBrand: Brand;
2047
+ deleteBrand: Scalars['Boolean'];
2048
+ linkBrandToSponsor: Brand;
2049
+ unlinkBrandFromSponsor: Brand;
1486
2050
  registerSponsor: Sponsor;
1487
2051
  createSponsor: Sponsor;
1488
2052
  sendAthleteInvitations: SponsorAthleteInvitation[];
2053
+ updateSponsor: Sponsor;
2054
+ deleteSponsor: Scalars['Boolean'];
1489
2055
  forceDeleteAthleteCompetition: DeleteSingleValueResponse;
1490
2056
  registerAthlete: Athlete;
1491
2057
  editProfileValue: EditValueResponse;
@@ -1500,6 +2066,8 @@ export interface Mutation {
1500
2066
  deleteAthletePhotos: DeleteValuesResponse;
1501
2067
  saveAthleteCompetitionResult: AthleteCompetitionResult;
1502
2068
  updateAthleteScores: Athlete;
2069
+ updateAthleteCompetitionScores: Athlete;
2070
+ forceRefreshAthleteScores: ForceScoreRefreshResponse;
1503
2071
  setCurrentCampaign: FundRaisingCampaign;
1504
2072
  createSport: Sport;
1505
2073
  updateSport: Sport;
@@ -1518,9 +2086,12 @@ export interface Mutation {
1518
2086
  createResetPasswordCode: EditValueResponse;
1519
2087
  resetUserPassword: EditValueResponse;
1520
2088
  validateToken: ValidatedToken;
1521
- handleStravaCallback: StravaToken;
1522
- refreshStravaToken: StravaToken;
2089
+ updateUserSuspendedStatus: EditValueResponse;
2090
+ deleteMyAccount: DeleteVtxUserResponse;
2091
+ deleteVtxUser: DeleteVtxUserResponse;
1523
2092
  createSportsEvent: SportsEvent;
2093
+ updateSportsEvent: SportsEvent;
2094
+ deleteSportsEvent: EditValueResponse;
1524
2095
  mergeSportsEvents: MergeEventsResponse;
1525
2096
  setFundingStatus: FundRaisingCampaign;
1526
2097
  createFundingCampaign: FundRaisingCampaign;
@@ -1536,12 +2107,23 @@ export interface Mutation {
1536
2107
  createAthleteMembershipAffilation: AthleteMembership;
1537
2108
  deleteAthleteMembershipAffilation: DeleteSingleValueResponse;
1538
2109
  updateAthleteIntegration: Scalars['Boolean'];
2110
+ unlinkInstagram: Scalars['Boolean'];
1539
2111
  createStripeAccount: StripeAccountReference;
1540
2112
  createAthleteStripeSession: StripeSession;
1541
2113
  createStripeCheckoutSession: StripeCheckoutSession;
1542
2114
  createStripeLoginLink: Scalars['String'];
1543
2115
  createStripeAccountLink: Scalars['String'];
1544
2116
  registerMember: Member;
2117
+ createOffer: Offer;
2118
+ updateOffer: Offer;
2119
+ deleteOffer: Scalars['Boolean'];
2120
+ setOfferStatus: Offer;
2121
+ activateOffer: Offer;
2122
+ deactivateOffer: Offer;
2123
+ claimOffer: OfferClaim;
2124
+ removeOfferClaim: Scalars['Boolean'];
2125
+ uploadCouponCodes: UploadResult;
2126
+ rebuildLeaderboardCache: Scalars['Boolean'];
1545
2127
  __typename: 'Mutation';
1546
2128
  }
1547
2129
  export interface UserGenqlSelection {
@@ -1882,112 +2464,17 @@ export interface CodeVerificationResponseGenqlSelection {
1882
2464
  __typename?: boolean | number;
1883
2465
  __scalar?: boolean | number;
1884
2466
  }
1885
- export interface BrandStatsGenqlSelection {
1886
- campaigns?: boolean | number;
1887
- sponsorships?: boolean | number;
1888
- sports?: boolean | number;
1889
- athletes?: boolean | number;
1890
- __typename?: boolean | number;
1891
- __scalar?: boolean | number;
1892
- }
1893
- export interface BrandTranslationGenqlSelection {
1894
- _id?: boolean | number;
1895
- brandId?: boolean | number;
1896
- language?: boolean | number;
1897
- name?: boolean | number;
1898
- slogan?: boolean | number;
1899
- description?: boolean | number;
1900
- logo?: AWSS3FileGenqlSelection;
1901
- banner?: AWSS3FileGenqlSelection;
1902
- __typename?: boolean | number;
1903
- __scalar?: boolean | number;
1904
- }
1905
- export interface BrandGenqlSelection {
2467
+ export interface IndustryGenqlSelection {
1906
2468
  _id?: boolean | number;
1907
2469
  name?: boolean | number;
1908
- slogan?: boolean | number;
1909
- website?: boolean | number;
1910
- description?: boolean | number;
1911
- approved?: boolean | number;
1912
- published?: boolean | number;
1913
- logo?: AWSS3FileGenqlSelection;
1914
- banner?: AWSS3FileGenqlSelection;
1915
- stats?: BrandStatsGenqlSelection;
1916
- operatorIds?: boolean | number;
1917
- translations?: BrandTranslationGenqlSelection;
1918
- __typename?: boolean | number;
1919
- __scalar?: boolean | number;
1920
- }
1921
- export interface StravaTpiRideDtoGenqlSelection {
1922
- distanceKm?: boolean | number;
1923
- distanceKmLast?: boolean | number;
1924
- elapsedTimeMin?: boolean | number;
1925
- elapsedTimeMinLast?: boolean | number;
1926
- averageSpeedKmh?: boolean | number;
1927
- averageSpeedKmhLast?: boolean | number;
1928
- maxSpeedKmh?: boolean | number;
1929
- maxSpeedKmhLast?: boolean | number;
1930
- averageHeartRateBpm?: boolean | number;
1931
- averageHeartRateBpmLast?: boolean | number;
1932
- maxHeartRateBpm?: boolean | number;
1933
- maxHeartRateBpmLast?: boolean | number;
1934
- averageCadenceStm?: boolean | number;
1935
- averageCadenceStmLast?: boolean | number;
1936
- lastDate?: boolean | number;
1937
- country?: boolean | number;
1938
- state?: boolean | number;
1939
- city?: boolean | number;
1940
- tpi?: boolean | number;
1941
- __typename?: boolean | number;
1942
- __scalar?: boolean | number;
1943
- }
1944
- export interface StravaTpiRunDtoGenqlSelection {
1945
- distanceKm?: boolean | number;
1946
- distanceKmLast?: boolean | number;
1947
- elapsedTimeMin?: boolean | number;
1948
- elapsedTimeMinLast?: boolean | number;
1949
- averageSpeedKmh?: boolean | number;
1950
- averageSpeedKmhLast?: boolean | number;
1951
- maxSpeedKmh?: boolean | number;
1952
- maxSpeedKmhLast?: boolean | number;
1953
- averageHeartRateBpm?: boolean | number;
1954
- averageHeartRateBpmLast?: boolean | number;
1955
- maxHeartRateBpm?: boolean | number;
1956
- maxHeartRateBpmLast?: boolean | number;
1957
- averageCadenceStm?: boolean | number;
1958
- averageCadenceStmLast?: boolean | number;
1959
- elevHigh?: boolean | number;
1960
- elevHighLast?: boolean | number;
1961
- elevLow?: boolean | number;
1962
- elevLowLast?: boolean | number;
1963
- lastDate?: boolean | number;
1964
- country?: boolean | number;
1965
- state?: boolean | number;
1966
- city?: boolean | number;
1967
- tpi?: boolean | number;
1968
2470
  __typename?: boolean | number;
1969
2471
  __scalar?: boolean | number;
1970
2472
  }
1971
- export interface StravaTpiSwimDtoGenqlSelection {
1972
- distanceKm?: boolean | number;
1973
- distanceKmLast?: boolean | number;
1974
- elapsedTimeMin?: boolean | number;
1975
- elapsedTimeMinLast?: boolean | number;
1976
- averageSpeedKmh?: boolean | number;
1977
- averageSpeedKmhLast?: boolean | number;
1978
- maxSpeedKmh?: boolean | number;
1979
- maxSpeedKmhLast?: boolean | number;
1980
- averageHeartRateBpm?: boolean | number;
1981
- averageHeartRateBpmLast?: boolean | number;
1982
- maxHeartRateBpm?: boolean | number;
1983
- maxHeartRateBpmLast?: boolean | number;
1984
- averageCadenceStm?: boolean | number;
1985
- averageCadenceStmLast?: boolean | number;
1986
- lastDate?: boolean | number;
1987
- country?: boolean | number;
1988
- state?: boolean | number;
1989
- city?: boolean | number;
1990
- tpi?: boolean | number;
2473
+ export interface SponsorStatsGenqlSelection {
2474
+ sponsoredAthletes?: boolean | number;
2475
+ totalBrands?: boolean | number;
2476
+ activeCampaigns?: boolean | number;
2477
+ activeSponsorships?: boolean | number;
1991
2478
  __typename?: boolean | number;
1992
2479
  __scalar?: boolean | number;
1993
2480
  }
@@ -2082,6 +2569,9 @@ export interface AthleteCriteriaGenqlSelection {
2082
2569
  _id?: boolean | number;
2083
2570
  label?: boolean | number;
2084
2571
  qualifications?: QualificationTypeUnionGenqlSelection;
2572
+ minAge?: boolean | number;
2573
+ maxAge?: boolean | number;
2574
+ allowedGenders?: boolean | number;
2085
2575
  __typename?: boolean | number;
2086
2576
  __scalar?: boolean | number;
2087
2577
  }
@@ -2096,52 +2586,6 @@ export interface QualificationTypeUnionGenqlSelection {
2096
2586
  on_SportsLevelQualification?: SportsLevelQualificationGenqlSelection;
2097
2587
  __typename?: boolean | number;
2098
2588
  }
2099
- export interface IndustryGenqlSelection {
2100
- _id?: boolean | number;
2101
- name?: boolean | number;
2102
- __typename?: boolean | number;
2103
- __scalar?: boolean | number;
2104
- }
2105
- export interface SponsorStatsGenqlSelection {
2106
- sponsoredAthletes?: boolean | number;
2107
- totalBrands?: boolean | number;
2108
- activeCampaigns?: boolean | number;
2109
- activeSponsorships?: boolean | number;
2110
- __typename?: boolean | number;
2111
- __scalar?: boolean | number;
2112
- }
2113
- export interface SponsorBrandGenqlSelection {
2114
- _id?: boolean | number;
2115
- name?: boolean | number;
2116
- slogan?: boolean | number;
2117
- website?: boolean | number;
2118
- description?: boolean | number;
2119
- approved?: boolean | number;
2120
- published?: boolean | number;
2121
- logo?: AWSS3FileGenqlSelection;
2122
- banner?: AWSS3FileGenqlSelection;
2123
- stats?: BrandStatsGenqlSelection;
2124
- operatorIds?: boolean | number;
2125
- translations?: BrandTranslationGenqlSelection;
2126
- sponsorBrandId?: boolean | number;
2127
- authorizedUse?: boolean | number;
2128
- isAuthorizer?: boolean | number;
2129
- __typename?: boolean | number;
2130
- __scalar?: boolean | number;
2131
- }
2132
- export interface SponsorGenqlSelection {
2133
- _id?: boolean | number;
2134
- name?: boolean | number;
2135
- description?: boolean | number;
2136
- tenant?: TenantGenqlSelection;
2137
- industry?: IndustryGenqlSelection;
2138
- stats?: SponsorStatsGenqlSelection;
2139
- brands?: SponsorBrandGenqlSelection;
2140
- sponsorships?: SponsorshipGenqlSelection;
2141
- approved?: boolean | number;
2142
- __typename?: boolean | number;
2143
- __scalar?: boolean | number;
2144
- }
2145
2589
  export interface SponsorshipItemGenqlSelection {
2146
2590
  _id?: boolean | number;
2147
2591
  quantity?: boolean | number;
@@ -2182,38 +2626,170 @@ export interface SponsorshipStatsGenqlSelection {
2182
2626
  __typename?: boolean | number;
2183
2627
  __scalar?: boolean | number;
2184
2628
  }
2185
- export interface SponsorshipTranslationGenqlSelection {
2629
+ export interface SponsorshipTranslationGenqlSelection {
2630
+ _id?: boolean | number;
2631
+ sponsorshipId?: boolean | number;
2632
+ language?: boolean | number;
2633
+ title?: boolean | number;
2634
+ description?: boolean | number;
2635
+ terms?: boolean | number;
2636
+ banner?: AWSS3FileGenqlSelection;
2637
+ __typename?: boolean | number;
2638
+ __scalar?: boolean | number;
2639
+ }
2640
+ export interface SponsorshipGenqlSelection {
2641
+ _id?: boolean | number;
2642
+ title?: boolean | number;
2643
+ description?: boolean | number;
2644
+ cashValue?: boolean | number;
2645
+ otherValue?: boolean | number;
2646
+ brand?: BrandGenqlSelection;
2647
+ banner?: AWSS3FileGenqlSelection;
2648
+ criteria?: AthleteCriteriaGenqlSelection;
2649
+ deadline?: boolean | number;
2650
+ startDate?: boolean | number;
2651
+ duration?: DurationGenqlSelection;
2652
+ sponsor?: SponsorGenqlSelection;
2653
+ sponsorshipItems?: SponsorshipItemGenqlSelection;
2654
+ commitments?: SponsorshipCommitmentGenqlSelection;
2655
+ terms?: boolean | number;
2656
+ stats?: SponsorshipStatsGenqlSelection;
2657
+ isPrivate?: boolean | number;
2658
+ approved?: boolean | number;
2659
+ published?: boolean | number;
2660
+ translations?: SponsorshipTranslationGenqlSelection;
2661
+ __typename?: boolean | number;
2662
+ __scalar?: boolean | number;
2663
+ }
2664
+ export interface SponsorGenqlSelection {
2665
+ _id?: boolean | number;
2666
+ name?: boolean | number;
2667
+ description?: boolean | number;
2668
+ tenant?: TenantGenqlSelection;
2669
+ industry?: IndustryGenqlSelection;
2670
+ stats?: SponsorStatsGenqlSelection;
2671
+ brands?: SponsorBrandGenqlSelection;
2672
+ sponsorships?: SponsorshipGenqlSelection;
2673
+ approved?: boolean | number;
2674
+ __typename?: boolean | number;
2675
+ __scalar?: boolean | number;
2676
+ }
2677
+ export interface SponsorBrandGenqlSelection {
2678
+ _id?: boolean | number;
2679
+ sponsor?: SponsorGenqlSelection;
2680
+ authorizedUse?: boolean | number;
2681
+ isAuthorizer?: boolean | number;
2682
+ __typename?: boolean | number;
2683
+ __scalar?: boolean | number;
2684
+ }
2685
+ export interface BrandStatsGenqlSelection {
2686
+ campaigns?: boolean | number;
2687
+ sponsorships?: boolean | number;
2688
+ sports?: boolean | number;
2689
+ athletes?: boolean | number;
2690
+ __typename?: boolean | number;
2691
+ __scalar?: boolean | number;
2692
+ }
2693
+ export interface BrandTranslationGenqlSelection {
2186
2694
  _id?: boolean | number;
2187
- sponsorshipId?: boolean | number;
2695
+ brandId?: boolean | number;
2188
2696
  language?: boolean | number;
2189
- title?: boolean | number;
2697
+ name?: boolean | number;
2698
+ slogan?: boolean | number;
2190
2699
  description?: boolean | number;
2191
- terms?: boolean | number;
2700
+ logo?: AWSS3FileGenqlSelection;
2192
2701
  banner?: AWSS3FileGenqlSelection;
2193
2702
  __typename?: boolean | number;
2194
2703
  __scalar?: boolean | number;
2195
2704
  }
2196
- export interface SponsorshipGenqlSelection {
2705
+ export interface BrandGenqlSelection {
2197
2706
  _id?: boolean | number;
2198
- title?: boolean | number;
2707
+ name?: boolean | number;
2708
+ slogan?: boolean | number;
2709
+ website?: boolean | number;
2710
+ affiliateLink?: boolean | number;
2199
2711
  description?: boolean | number;
2200
- cashValue?: boolean | number;
2201
- otherValue?: boolean | number;
2202
- brand?: BrandGenqlSelection;
2203
- banner?: AWSS3FileGenqlSelection;
2204
- criteria?: AthleteCriteriaGenqlSelection;
2205
- deadline?: boolean | number;
2206
- startDate?: boolean | number;
2207
- duration?: DurationGenqlSelection;
2208
- sponsor?: SponsorGenqlSelection;
2209
- sponsorshipItems?: SponsorshipItemGenqlSelection;
2210
- commitments?: SponsorshipCommitmentGenqlSelection;
2211
- terms?: boolean | number;
2212
- stats?: SponsorshipStatsGenqlSelection;
2213
- isPrivate?: boolean | number;
2214
2712
  approved?: boolean | number;
2215
2713
  published?: boolean | number;
2216
- translations?: SponsorshipTranslationGenqlSelection;
2714
+ logo?: AWSS3FileGenqlSelection;
2715
+ banner?: AWSS3FileGenqlSelection;
2716
+ stats?: BrandStatsGenqlSelection;
2717
+ operatorIds?: boolean | number;
2718
+ translations?: BrandTranslationGenqlSelection;
2719
+ sponsors?: SponsorBrandGenqlSelection;
2720
+ __typename?: boolean | number;
2721
+ __scalar?: boolean | number;
2722
+ }
2723
+ export interface StravaTpiRideDtoGenqlSelection {
2724
+ distanceKm?: boolean | number;
2725
+ distanceKmLast?: boolean | number;
2726
+ elapsedTimeMin?: boolean | number;
2727
+ elapsedTimeMinLast?: boolean | number;
2728
+ averageSpeedKmh?: boolean | number;
2729
+ averageSpeedKmhLast?: boolean | number;
2730
+ maxSpeedKmh?: boolean | number;
2731
+ maxSpeedKmhLast?: boolean | number;
2732
+ averageHeartRateBpm?: boolean | number;
2733
+ averageHeartRateBpmLast?: boolean | number;
2734
+ maxHeartRateBpm?: boolean | number;
2735
+ maxHeartRateBpmLast?: boolean | number;
2736
+ averageCadenceStm?: boolean | number;
2737
+ averageCadenceStmLast?: boolean | number;
2738
+ lastDate?: boolean | number;
2739
+ country?: boolean | number;
2740
+ state?: boolean | number;
2741
+ city?: boolean | number;
2742
+ tpi?: boolean | number;
2743
+ __typename?: boolean | number;
2744
+ __scalar?: boolean | number;
2745
+ }
2746
+ export interface StravaTpiRunDtoGenqlSelection {
2747
+ distanceKm?: boolean | number;
2748
+ distanceKmLast?: boolean | number;
2749
+ elapsedTimeMin?: boolean | number;
2750
+ elapsedTimeMinLast?: boolean | number;
2751
+ averageSpeedKmh?: boolean | number;
2752
+ averageSpeedKmhLast?: boolean | number;
2753
+ maxSpeedKmh?: boolean | number;
2754
+ maxSpeedKmhLast?: boolean | number;
2755
+ averageHeartRateBpm?: boolean | number;
2756
+ averageHeartRateBpmLast?: boolean | number;
2757
+ maxHeartRateBpm?: boolean | number;
2758
+ maxHeartRateBpmLast?: boolean | number;
2759
+ averageCadenceStm?: boolean | number;
2760
+ averageCadenceStmLast?: boolean | number;
2761
+ elevHigh?: boolean | number;
2762
+ elevHighLast?: boolean | number;
2763
+ elevLow?: boolean | number;
2764
+ elevLowLast?: boolean | number;
2765
+ lastDate?: boolean | number;
2766
+ country?: boolean | number;
2767
+ state?: boolean | number;
2768
+ city?: boolean | number;
2769
+ tpi?: boolean | number;
2770
+ __typename?: boolean | number;
2771
+ __scalar?: boolean | number;
2772
+ }
2773
+ export interface StravaTpiSwimDtoGenqlSelection {
2774
+ distanceKm?: boolean | number;
2775
+ distanceKmLast?: boolean | number;
2776
+ elapsedTimeMin?: boolean | number;
2777
+ elapsedTimeMinLast?: boolean | number;
2778
+ averageSpeedKmh?: boolean | number;
2779
+ averageSpeedKmhLast?: boolean | number;
2780
+ maxSpeedKmh?: boolean | number;
2781
+ maxSpeedKmhLast?: boolean | number;
2782
+ averageHeartRateBpm?: boolean | number;
2783
+ averageHeartRateBpmLast?: boolean | number;
2784
+ maxHeartRateBpm?: boolean | number;
2785
+ maxHeartRateBpmLast?: boolean | number;
2786
+ averageCadenceStm?: boolean | number;
2787
+ averageCadenceStmLast?: boolean | number;
2788
+ lastDate?: boolean | number;
2789
+ country?: boolean | number;
2790
+ state?: boolean | number;
2791
+ city?: boolean | number;
2792
+ tpi?: boolean | number;
2217
2793
  __typename?: boolean | number;
2218
2794
  __scalar?: boolean | number;
2219
2795
  }
@@ -2229,6 +2805,8 @@ export interface SportGenqlSelection {
2229
2805
  _id?: boolean | number;
2230
2806
  name?: boolean | number;
2231
2807
  resultType?: boolean | number;
2808
+ verified?: boolean | number;
2809
+ priority?: boolean | number;
2232
2810
  __typename?: boolean | number;
2233
2811
  __scalar?: boolean | number;
2234
2812
  }
@@ -2327,6 +2905,7 @@ export interface AthleteCompetitionResultGenqlSelection {
2327
2905
  categoryPosition?: boolean | number;
2328
2906
  categoryParticipants?: boolean | number;
2329
2907
  categoryName?: boolean | number;
2908
+ pointsEarned?: boolean | number;
2330
2909
  __typename?: boolean | number;
2331
2910
  __scalar?: boolean | number;
2332
2911
  }
@@ -2592,7 +3171,7 @@ export interface StripeAccountReferenceGenqlSelection {
2592
3171
  __typename?: boolean | number;
2593
3172
  __scalar?: boolean | number;
2594
3173
  }
2595
- export interface HistoricalScoreTypeGenqlSelection {
3174
+ export interface HistoricalScoreGenqlSelection {
2596
3175
  _id?: boolean | number;
2597
3176
  scoreType?: boolean | number;
2598
3177
  score?: boolean | number;
@@ -2626,6 +3205,7 @@ export interface AthleteReferenceGenqlSelection {
2626
3205
  aboutMe?: boolean | number;
2627
3206
  biography?: boolean | number;
2628
3207
  preferences?: AthletePreferencesGenqlSelection;
3208
+ suspended?: boolean | number;
2629
3209
  __typename?: boolean | number;
2630
3210
  __scalar?: boolean | number;
2631
3211
  }
@@ -2654,6 +3234,7 @@ export interface AthleteGenqlSelection {
2654
3234
  aboutMe?: boolean | number;
2655
3235
  biography?: boolean | number;
2656
3236
  preferences?: AthletePreferencesGenqlSelection;
3237
+ suspended?: boolean | number;
2657
3238
  allSports?: SportGenqlSelection;
2658
3239
  teams?: TeamGenqlSelection;
2659
3240
  sponsorBrands?: BrandGenqlSelection;
@@ -2665,7 +3246,7 @@ export interface AthleteGenqlSelection {
2665
3246
  fundingCampaigns?: FundRaisingCampaignGenqlSelection;
2666
3247
  stripeAccountReference?: StripeAccountReferenceGenqlSelection;
2667
3248
  albums?: AlbumGenqlSelection;
2668
- historicalScores?: HistoricalScoreTypeGenqlSelection;
3249
+ historicalScores?: HistoricalScoreGenqlSelection;
2669
3250
  signedAgreements?: SignedAgreementGenqlSelection;
2670
3251
  __typename?: boolean | number;
2671
3252
  __scalar?: boolean | number;
@@ -2712,14 +3293,6 @@ export interface SponsorAthleteInvitationGenqlSelection {
2712
3293
  __typename?: boolean | number;
2713
3294
  __scalar?: boolean | number;
2714
3295
  }
2715
- export interface StravaTokenGenqlSelection {
2716
- token_type?: boolean | number;
2717
- expires_at?: boolean | number;
2718
- refresh_token?: boolean | number;
2719
- access_token?: boolean | number;
2720
- __typename?: boolean | number;
2721
- __scalar?: boolean | number;
2722
- }
2723
3296
  export interface StripeSessionGenqlSelection {
2724
3297
  account?: boolean | number;
2725
3298
  client_secret?: boolean | number;
@@ -2729,6 +3302,8 @@ export interface StripeSessionGenqlSelection {
2729
3302
  __scalar?: boolean | number;
2730
3303
  }
2731
3304
  export interface StripeCheckoutSessionGenqlSelection {
3305
+ id?: boolean | number;
3306
+ vtxCheckoutSessionId?: boolean | number;
2732
3307
  client_secret?: boolean | number;
2733
3308
  expires_at?: boolean | number;
2734
3309
  livemode?: boolean | number;
@@ -2928,41 +3503,245 @@ export interface MergeEventsResponseGenqlSelection {
2928
3503
  __typename?: boolean | number;
2929
3504
  __scalar?: boolean | number;
2930
3505
  }
2931
- export interface BudgetItemUnitGenqlSelection {
3506
+ export interface BudgetItemUnitGenqlSelection {
3507
+ _id?: boolean | number;
3508
+ label?: boolean | number;
3509
+ __typename?: boolean | number;
3510
+ __scalar?: boolean | number;
3511
+ }
3512
+ export interface BudgetConceptGenqlSelection {
3513
+ _id?: boolean | number;
3514
+ label?: boolean | number;
3515
+ __typename?: boolean | number;
3516
+ __scalar?: boolean | number;
3517
+ }
3518
+ export interface DonationGenqlSelection {
3519
+ checkoutSessionId?: boolean | number;
3520
+ fundingCheckoutSessionDataId?: boolean | number;
3521
+ donationMode?: boolean | number;
3522
+ donorName?: boolean | number;
3523
+ donorEmail?: boolean | number;
3524
+ completed?: boolean | number;
3525
+ confirmed?: boolean | number;
3526
+ donationAmount?: boolean | number;
3527
+ completedDate?: boolean | number;
3528
+ createdDate?: boolean | number;
3529
+ athleteId?: boolean | number;
3530
+ athleteName?: boolean | number;
3531
+ message?: boolean | number;
3532
+ athleteReference?: AthleteReferenceGenqlSelection;
3533
+ campaignReference?: FundRaisingCampaignGenqlSelection;
3534
+ __typename?: boolean | number;
3535
+ __scalar?: boolean | number;
3536
+ }
3537
+ export interface MemberGenqlSelection {
3538
+ _id?: boolean | number;
3539
+ fullName?: boolean | number;
3540
+ screenName?: boolean | number;
3541
+ memberPicture?: AWSS3FileGenqlSelection;
3542
+ donations?: DonationGenqlSelection;
3543
+ __typename?: boolean | number;
3544
+ __scalar?: boolean | number;
3545
+ }
3546
+ export interface AdminUserViewGenqlSelection {
3547
+ _id?: boolean | number;
3548
+ loginEmail?: boolean | number;
3549
+ firstName?: boolean | number;
3550
+ lastName?: boolean | number;
3551
+ screenName?: boolean | number;
3552
+ domains?: DomainCredentialGenqlSelection;
3553
+ athlete?: AthleteGenqlSelection;
3554
+ member?: MemberGenqlSelection;
3555
+ suspended?: boolean | number;
3556
+ __typename?: boolean | number;
3557
+ __scalar?: boolean | number;
3558
+ }
3559
+ export interface AdminTransactionFundingDetailsGenqlSelection {
3560
+ paidToVtx?: boolean | number;
3561
+ paidToAthlete?: boolean | number;
3562
+ athleteId?: boolean | number;
3563
+ athleteName?: boolean | number;
3564
+ fromName?: boolean | number;
3565
+ fromPhone?: boolean | number;
3566
+ message?: boolean | number;
3567
+ mode?: boolean | number;
3568
+ __typename?: boolean | number;
3569
+ __scalar?: boolean | number;
3570
+ }
3571
+ export interface AdminTransactionViewGenqlSelection {
3572
+ _id?: boolean | number;
3573
+ createdDate?: boolean | number;
3574
+ stripeSessionId?: boolean | number;
3575
+ concept?: boolean | number;
3576
+ donationAmount?: boolean | number;
3577
+ fromEmail?: boolean | number;
3578
+ type?: boolean | number;
3579
+ confirmed?: boolean | number;
3580
+ completed?: boolean | number;
3581
+ completedDate?: boolean | number;
3582
+ stripeAccountId?: boolean | number;
3583
+ fundingDetails?: AdminTransactionFundingDetailsGenqlSelection;
3584
+ __typename?: boolean | number;
3585
+ __scalar?: boolean | number;
3586
+ }
3587
+ export interface OfferGenqlSelection {
3588
+ _id?: boolean | number;
3589
+ name?: boolean | number;
3590
+ label?: boolean | number;
3591
+ decription?: boolean | number;
3592
+ offerImage?: AWSS3FileGenqlSelection;
3593
+ type?: boolean | number;
3594
+ status?: boolean | number;
3595
+ discountType?: boolean | number;
3596
+ discountTypeData?: boolean | number;
3597
+ conditions?: boolean | number;
3598
+ brand?: BrandGenqlSelection;
3599
+ sponsor?: SponsorGenqlSelection;
3600
+ criteria?: AthleteCriteriaGenqlSelection;
3601
+ dateStart?: boolean | number;
3602
+ dateEnd?: boolean | number;
3603
+ dateCreated?: boolean | number;
3604
+ totalCodes?: boolean | number;
3605
+ availableCodes?: boolean | number;
3606
+ availableCountries?: CountryGenqlSelection;
3607
+ disclaimer?: boolean | number;
3608
+ genericCode?: boolean | number;
3609
+ featured?: boolean | number;
3610
+ __typename?: boolean | number;
3611
+ __scalar?: boolean | number;
3612
+ }
3613
+ export interface PromotionGenqlSelection {
3614
+ _id?: boolean | number;
3615
+ name?: boolean | number;
3616
+ label?: boolean | number;
3617
+ decription?: boolean | number;
3618
+ offerImage?: AWSS3FileGenqlSelection;
3619
+ type?: boolean | number;
3620
+ status?: boolean | number;
3621
+ discountType?: boolean | number;
3622
+ discountTypeData?: boolean | number;
3623
+ conditions?: boolean | number;
3624
+ brand?: BrandGenqlSelection;
3625
+ sponsor?: SponsorGenqlSelection;
3626
+ criteria?: AthleteCriteriaGenqlSelection;
3627
+ dateStart?: boolean | number;
3628
+ dateEnd?: boolean | number;
3629
+ dateCreated?: boolean | number;
3630
+ totalCodes?: boolean | number;
3631
+ availableCodes?: boolean | number;
3632
+ availableCountries?: CountryGenqlSelection;
3633
+ disclaimer?: boolean | number;
3634
+ genericCode?: boolean | number;
3635
+ featured?: boolean | number;
3636
+ __typename?: boolean | number;
3637
+ __scalar?: boolean | number;
3638
+ }
3639
+ export interface CouponCodeGenqlSelection {
3640
+ _id?: boolean | number;
3641
+ couponId?: boolean | number;
3642
+ code?: boolean | number;
3643
+ expires?: boolean | number;
3644
+ dateCreated?: boolean | number;
3645
+ __typename?: boolean | number;
3646
+ __scalar?: boolean | number;
3647
+ }
3648
+ export interface CouponGenqlSelection {
3649
+ _id?: boolean | number;
3650
+ name?: boolean | number;
3651
+ label?: boolean | number;
3652
+ decription?: boolean | number;
3653
+ offerImage?: AWSS3FileGenqlSelection;
3654
+ type?: boolean | number;
3655
+ status?: boolean | number;
3656
+ discountType?: boolean | number;
3657
+ discountTypeData?: boolean | number;
3658
+ conditions?: boolean | number;
3659
+ brand?: BrandGenqlSelection;
3660
+ sponsor?: SponsorGenqlSelection;
3661
+ criteria?: AthleteCriteriaGenqlSelection;
3662
+ dateStart?: boolean | number;
3663
+ dateEnd?: boolean | number;
3664
+ dateCreated?: boolean | number;
3665
+ totalCodes?: boolean | number;
3666
+ availableCodes?: boolean | number;
3667
+ availableCountries?: CountryGenqlSelection;
3668
+ disclaimer?: boolean | number;
3669
+ genericCode?: boolean | number;
3670
+ featured?: boolean | number;
3671
+ couponCodes?: CouponCodeGenqlSelection;
3672
+ __typename?: boolean | number;
3673
+ __scalar?: boolean | number;
3674
+ }
3675
+ export interface OfferClaimGenqlSelection {
3676
+ _id?: boolean | number;
3677
+ offer?: OfferGenqlSelection;
3678
+ athlete?: AthleteGenqlSelection;
3679
+ claimedAt?: boolean | number;
3680
+ code?: boolean | number;
3681
+ __typename?: boolean | number;
3682
+ __scalar?: boolean | number;
3683
+ }
3684
+ export interface EligibilityResultGenqlSelection {
3685
+ status?: boolean | number;
3686
+ failedCriteria?: boolean | number;
3687
+ missingFields?: boolean | number;
3688
+ messages?: boolean | number;
3689
+ __typename?: boolean | number;
3690
+ __scalar?: boolean | number;
3691
+ }
3692
+ export interface EnhancedPaginationInfoTypeGenqlSelection {
3693
+ currentPage?: boolean | number;
3694
+ totalPages?: boolean | number;
3695
+ totalItems?: boolean | number;
3696
+ itemsPerPage?: boolean | number;
3697
+ hasNextPage?: boolean | number;
3698
+ hasPreviousPage?: boolean | number;
3699
+ startIndex?: boolean | number;
3700
+ endIndex?: boolean | number;
3701
+ __typename?: boolean | number;
3702
+ __scalar?: boolean | number;
3703
+ }
3704
+ export interface OfferWithEligibilityGenqlSelection {
2932
3705
  _id?: boolean | number;
3706
+ name?: boolean | number;
2933
3707
  label?: boolean | number;
3708
+ decription?: boolean | number;
3709
+ offerImage?: AWSS3FileGenqlSelection;
3710
+ type?: boolean | number;
3711
+ status?: boolean | number;
3712
+ discountType?: boolean | number;
3713
+ discountTypeData?: boolean | number;
3714
+ conditions?: boolean | number;
3715
+ brand?: BrandGenqlSelection;
3716
+ sponsor?: SponsorGenqlSelection;
3717
+ criteria?: AthleteCriteriaGenqlSelection;
3718
+ dateStart?: boolean | number;
3719
+ dateEnd?: boolean | number;
3720
+ dateCreated?: boolean | number;
3721
+ totalCodes?: boolean | number;
3722
+ availableCodes?: boolean | number;
3723
+ availableCountries?: CountryGenqlSelection;
3724
+ disclaimer?: boolean | number;
3725
+ featured?: boolean | number;
3726
+ eligibility?: EligibilityResultGenqlSelection;
2934
3727
  __typename?: boolean | number;
2935
3728
  __scalar?: boolean | number;
2936
3729
  }
2937
- export interface BudgetConceptGenqlSelection {
2938
- _id?: boolean | number;
2939
- label?: boolean | number;
3730
+ export interface PaginatedOffersWithEligibilityGenqlSelection {
3731
+ items?: OfferWithEligibilityGenqlSelection;
3732
+ pagination?: EnhancedPaginationInfoTypeGenqlSelection;
2940
3733
  __typename?: boolean | number;
2941
3734
  __scalar?: boolean | number;
2942
3735
  }
2943
- export interface DonationGenqlSelection {
2944
- checkoutSessionId?: boolean | number;
2945
- fundingCheckoutSessionDataId?: boolean | number;
2946
- donationMode?: boolean | number;
2947
- completed?: boolean | number;
2948
- confirmed?: boolean | number;
2949
- donationAmount?: boolean | number;
2950
- completedDate?: boolean | number;
2951
- createdDate?: boolean | number;
2952
- athleteId?: boolean | number;
2953
- athleteName?: boolean | number;
2954
- message?: boolean | number;
2955
- athleteReference?: AthleteReferenceGenqlSelection;
2956
- campaignReference?: FundRaisingCampaignGenqlSelection;
3736
+ export interface PaginatedBrandsGenqlSelection {
3737
+ items?: BrandGenqlSelection;
3738
+ pagination?: EnhancedPaginationInfoTypeGenqlSelection;
2957
3739
  __typename?: boolean | number;
2958
3740
  __scalar?: boolean | number;
2959
3741
  }
2960
- export interface MemberGenqlSelection {
2961
- _id?: boolean | number;
2962
- fullName?: boolean | number;
2963
- screenName?: boolean | number;
2964
- memberPicture?: AWSS3FileGenqlSelection;
2965
- donations?: DonationGenqlSelection;
3742
+ export interface PaginatedSponsorsGenqlSelection {
3743
+ items?: SponsorGenqlSelection;
3744
+ pagination?: EnhancedPaginationInfoTypeGenqlSelection;
2966
3745
  __typename?: boolean | number;
2967
3746
  __scalar?: boolean | number;
2968
3747
  }
@@ -2981,6 +3760,31 @@ export interface DeleteSingleValueResponseGenqlSelection {
2981
3760
  __typename?: boolean | number;
2982
3761
  __scalar?: boolean | number;
2983
3762
  }
3763
+ export interface ScoreRefreshDetailGenqlSelection {
3764
+ status?: boolean | number;
3765
+ message?: boolean | number;
3766
+ __typename?: boolean | number;
3767
+ __scalar?: boolean | number;
3768
+ }
3769
+ export interface ForceScoreRefreshResultGenqlSelection {
3770
+ athleteId?: boolean | number;
3771
+ athleteName?: boolean | number;
3772
+ status?: boolean | number;
3773
+ message?: boolean | number;
3774
+ tpi?: ScoreRefreshDetailGenqlSelection;
3775
+ spi?: ScoreRefreshDetailGenqlSelection;
3776
+ api?: ScoreRefreshDetailGenqlSelection;
3777
+ __typename?: boolean | number;
3778
+ __scalar?: boolean | number;
3779
+ }
3780
+ export interface ForceScoreRefreshResponseGenqlSelection {
3781
+ results?: ForceScoreRefreshResultGenqlSelection;
3782
+ successCount?: boolean | number;
3783
+ failureCount?: boolean | number;
3784
+ skippedCount?: boolean | number;
3785
+ __typename?: boolean | number;
3786
+ __scalar?: boolean | number;
3787
+ }
2984
3788
  export interface SortOrderGenqlSelection {
2985
3789
  sortField?: boolean | number;
2986
3790
  order?: boolean | number;
@@ -3038,12 +3842,49 @@ export interface CompetitionDeleteVerificationResponseGenqlSelection {
3038
3842
  __typename?: boolean | number;
3039
3843
  __scalar?: boolean | number;
3040
3844
  }
3845
+ export interface HistoricalScoresPeriodGenqlSelection {
3846
+ athleteId?: boolean | number;
3847
+ athleteFirstName?: boolean | number;
3848
+ athleteLastName?: boolean | number;
3849
+ screenName?: boolean | number;
3850
+ minTimestampInclusive?: boolean | number;
3851
+ maxTimestampExclusive?: boolean | number;
3852
+ vtxScores?: HistoricalScoreGenqlSelection;
3853
+ tpiScores?: HistoricalScoreGenqlSelection;
3854
+ spiScores?: HistoricalScoreGenqlSelection;
3855
+ apiScores?: HistoricalScoreGenqlSelection;
3856
+ __typename?: boolean | number;
3857
+ __scalar?: boolean | number;
3858
+ }
3041
3859
  export interface StripeObjectGenqlSelection {
3042
3860
  type?: boolean | number;
3043
3861
  json?: boolean | number;
3044
3862
  __typename?: boolean | number;
3045
3863
  __scalar?: boolean | number;
3046
3864
  }
3865
+ export interface ScoreRefreshCapabilityGenqlSelection {
3866
+ athleteId?: boolean | number;
3867
+ athleteName?: boolean | number;
3868
+ canRefreshTpi?: boolean | number;
3869
+ canRefreshSpi?: boolean | number;
3870
+ canRefreshApi?: boolean | number;
3871
+ tpiReason?: boolean | number;
3872
+ spiReason?: boolean | number;
3873
+ apiReason?: boolean | number;
3874
+ __typename?: boolean | number;
3875
+ __scalar?: boolean | number;
3876
+ }
3877
+ export interface CheckScoreRefreshCapabilityResponseGenqlSelection {
3878
+ capabilities?: ScoreRefreshCapabilityGenqlSelection;
3879
+ __typename?: boolean | number;
3880
+ __scalar?: boolean | number;
3881
+ }
3882
+ export interface PaginatedSportsGenqlSelection {
3883
+ items?: SportGenqlSelection;
3884
+ pagination?: EnhancedPaginationInfoTypeGenqlSelection;
3885
+ __typename?: boolean | number;
3886
+ __scalar?: boolean | number;
3887
+ }
3047
3888
  export interface UserImagesGenqlSelection {
3048
3889
  profilePictureUrl?: boolean | number;
3049
3890
  cardPictureUrl?: boolean | number;
@@ -3059,6 +3900,66 @@ export interface ValidatedTokenGenqlSelection {
3059
3900
  __typename?: boolean | number;
3060
3901
  __scalar?: boolean | number;
3061
3902
  }
3903
+ export interface DeleteVtxUserResponseGenqlSelection {
3904
+ success?: boolean | number;
3905
+ deletedUserId?: boolean | number;
3906
+ deletedUserEmail?: boolean | number;
3907
+ deletedUserType?: boolean | number;
3908
+ servicesDeleted?: boolean | number;
3909
+ cognitoDeleted?: boolean | number;
3910
+ dbDeleted?: boolean | number;
3911
+ errorMessage?: boolean | number;
3912
+ __typename?: boolean | number;
3913
+ __scalar?: boolean | number;
3914
+ }
3915
+ export interface PaginatedUsersGenqlSelection {
3916
+ items?: AdminUserViewGenqlSelection;
3917
+ pagination?: EnhancedPaginationInfoTypeGenqlSelection;
3918
+ __typename?: boolean | number;
3919
+ __scalar?: boolean | number;
3920
+ }
3921
+ export interface TransactionDetailsGenqlSelection {
3922
+ stripeCheckoutSessionId?: boolean | number;
3923
+ vtxCheckoutSessionId?: boolean | number;
3924
+ checkoutSessionType?: boolean | number;
3925
+ transactionType?: boolean | number;
3926
+ confirmed?: boolean | number;
3927
+ completed?: boolean | number;
3928
+ currency?: boolean | number;
3929
+ createdDate?: boolean | number;
3930
+ email?: boolean | number;
3931
+ name?: boolean | number;
3932
+ phone?: boolean | number;
3933
+ payment_status?: boolean | number;
3934
+ status?: boolean | number;
3935
+ amount_subtotal?: boolean | number;
3936
+ amount_total?: boolean | number;
3937
+ completedDate?: boolean | number;
3938
+ athleteDonationReceipt?: ReceiptGenqlSelection;
3939
+ __typename?: boolean | number;
3940
+ __scalar?: boolean | number;
3941
+ }
3942
+ export interface PaginatedEventsGenqlSelection {
3943
+ items?: SportsEventGenqlSelection;
3944
+ pagination?: EnhancedPaginationInfoTypeGenqlSelection;
3945
+ __typename?: boolean | number;
3946
+ __scalar?: boolean | number;
3947
+ }
3948
+ export interface CurrencyAmountTypeGenqlSelection {
3949
+ amount?: boolean | number;
3950
+ currency?: boolean | number;
3951
+ __typename?: boolean | number;
3952
+ __scalar?: boolean | number;
3953
+ }
3954
+ export interface StripeBalanceGenqlSelection {
3955
+ availableUSD?: boolean | number;
3956
+ pendingUSD?: boolean | number;
3957
+ currency?: boolean | number;
3958
+ availableBalances?: CurrencyAmountTypeGenqlSelection;
3959
+ pendingBalances?: CurrencyAmountTypeGenqlSelection;
3960
+ __typename?: boolean | number;
3961
+ __scalar?: boolean | number;
3962
+ }
3062
3963
  export interface StripeTransferGenqlSelection {
3063
3964
  _id?: boolean | number;
3064
3965
  stripeId?: boolean | number;
@@ -3082,6 +3983,252 @@ export interface UserDomainGenqlSelection {
3082
3983
  __typename?: boolean | number;
3083
3984
  __scalar?: boolean | number;
3084
3985
  }
3986
+ export interface PaginatedTransactionsGenqlSelection {
3987
+ items?: AdminTransactionViewGenqlSelection;
3988
+ pagination?: EnhancedPaginationInfoTypeGenqlSelection;
3989
+ __typename?: boolean | number;
3990
+ __scalar?: boolean | number;
3991
+ }
3992
+ export interface PaginatedOffersGenqlSelection {
3993
+ items?: OfferGenqlSelection;
3994
+ pagination?: EnhancedPaginationInfoTypeGenqlSelection;
3995
+ __typename?: boolean | number;
3996
+ __scalar?: boolean | number;
3997
+ }
3998
+ export interface UploadResultGenqlSelection {
3999
+ addedCodes?: boolean | number;
4000
+ duplicateCodes?: boolean | number;
4001
+ invalidRows?: boolean | number;
4002
+ __typename?: boolean | number;
4003
+ __scalar?: boolean | number;
4004
+ }
4005
+ export interface OfferAvailabilityGenqlSelection {
4006
+ available?: boolean | number;
4007
+ reason?: boolean | number;
4008
+ __typename?: boolean | number;
4009
+ __scalar?: boolean | number;
4010
+ }
4011
+ export interface LeaderboardEntryGenqlSelection {
4012
+ rank?: boolean | number;
4013
+ rankChange?: boolean | number;
4014
+ athleteId?: boolean | number;
4015
+ screenName?: boolean | number;
4016
+ firstName?: boolean | number;
4017
+ lastName?: boolean | number;
4018
+ profilePicture?: boolean | number;
4019
+ score?: boolean | number;
4020
+ countryCode?: boolean | number;
4021
+ cityName?: boolean | number;
4022
+ countryRank?: boolean | number;
4023
+ sportId?: boolean | number;
4024
+ vtxScore?: boolean | number;
4025
+ trainingScore?: boolean | number;
4026
+ socialScore?: boolean | number;
4027
+ competitionScore?: boolean | number;
4028
+ mainSport?: boolean | number;
4029
+ mainSportLevel?: boolean | number;
4030
+ __typename?: boolean | number;
4031
+ __scalar?: boolean | number;
4032
+ }
4033
+ export interface LeaderboardPaginationGenqlSelection {
4034
+ page?: boolean | number;
4035
+ limit?: boolean | number;
4036
+ total?: boolean | number;
4037
+ totalPages?: boolean | number;
4038
+ __typename?: boolean | number;
4039
+ __scalar?: boolean | number;
4040
+ }
4041
+ export interface LeaderboardFiltersGenqlSelection {
4042
+ scoreType?: boolean | number;
4043
+ sportId?: boolean | number;
4044
+ countryCode?: boolean | number;
4045
+ __typename?: boolean | number;
4046
+ __scalar?: boolean | number;
4047
+ }
4048
+ export interface LeaderboardResponseGenqlSelection {
4049
+ entries?: LeaderboardEntryGenqlSelection;
4050
+ pagination?: LeaderboardPaginationGenqlSelection;
4051
+ filters?: LeaderboardFiltersGenqlSelection;
4052
+ __typename?: boolean | number;
4053
+ __scalar?: boolean | number;
4054
+ }
4055
+ export interface UserRankGenqlSelection {
4056
+ globalRank?: boolean | number;
4057
+ countryRank?: boolean | number;
4058
+ score?: boolean | number;
4059
+ scoreType?: boolean | number;
4060
+ __typename?: boolean | number;
4061
+ __scalar?: boolean | number;
4062
+ }
4063
+ export interface DashboardSummaryGenqlSelection {
4064
+ vtxScore?: boolean | number;
4065
+ socialScore?: boolean | number;
4066
+ trainingScore?: boolean | number;
4067
+ competitionScore?: boolean | number;
4068
+ lastUpdated?: boolean | number;
4069
+ __typename?: boolean | number;
4070
+ __scalar?: boolean | number;
4071
+ }
4072
+ export interface ScoreHistoryEntryGenqlSelection {
4073
+ date?: boolean | number;
4074
+ vtxScore?: boolean | number;
4075
+ socialScore?: boolean | number;
4076
+ trainingScore?: boolean | number;
4077
+ competitionScore?: boolean | number;
4078
+ __typename?: boolean | number;
4079
+ __scalar?: boolean | number;
4080
+ }
4081
+ export interface RankHistoryEntryGenqlSelection {
4082
+ date?: boolean | number;
4083
+ globalRank?: boolean | number;
4084
+ countryRank?: boolean | number;
4085
+ __typename?: boolean | number;
4086
+ __scalar?: boolean | number;
4087
+ }
4088
+ export interface RankContextGenqlSelection {
4089
+ globalRank?: boolean | number;
4090
+ countryRank?: boolean | number;
4091
+ rankChange?: boolean | number;
4092
+ percentile?: boolean | number;
4093
+ gapToNext?: boolean | number;
4094
+ gapFromPrevious?: boolean | number;
4095
+ totalAthletes?: boolean | number;
4096
+ __typename?: boolean | number;
4097
+ __scalar?: boolean | number;
4098
+ }
4099
+ export interface ActivityEntryGenqlSelection {
4100
+ id?: boolean | number;
4101
+ date?: boolean | number;
4102
+ type?: boolean | number;
4103
+ metrics?: boolean | number;
4104
+ pointsEarned?: boolean | number;
4105
+ counted?: boolean | number;
4106
+ notCountedReason?: boolean | number;
4107
+ __typename?: boolean | number;
4108
+ __scalar?: boolean | number;
4109
+ }
4110
+ export interface ActivitiesResponseGenqlSelection {
4111
+ items?: ActivityEntryGenqlSelection;
4112
+ total?: boolean | number;
4113
+ hasMore?: boolean | number;
4114
+ __typename?: boolean | number;
4115
+ __scalar?: boolean | number;
4116
+ }
4117
+ export interface MetricComparisonGenqlSelection {
4118
+ name?: boolean | number;
4119
+ value?: boolean | number;
4120
+ unit?: boolean | number;
4121
+ athleteAverage?: boolean | number;
4122
+ athleteMax?: boolean | number;
4123
+ comparisonPercent?: boolean | number;
4124
+ __typename?: boolean | number;
4125
+ __scalar?: boolean | number;
4126
+ }
4127
+ export interface ScoreInfoGenqlSelection {
4128
+ earned?: boolean | number;
4129
+ maxPossible?: boolean | number;
4130
+ componentAverage?: boolean | number;
4131
+ __typename?: boolean | number;
4132
+ __scalar?: boolean | number;
4133
+ }
4134
+ export interface ActivityDetailGenqlSelection {
4135
+ id?: boolean | number;
4136
+ date?: boolean | number;
4137
+ type?: boolean | number;
4138
+ category?: boolean | number;
4139
+ metrics?: MetricComparisonGenqlSelection;
4140
+ scoreInfo?: ScoreInfoGenqlSelection;
4141
+ __typename?: boolean | number;
4142
+ __scalar?: boolean | number;
4143
+ }
4144
+ export interface TopMetricGenqlSelection {
4145
+ name?: boolean | number;
4146
+ status?: boolean | number;
4147
+ __typename?: boolean | number;
4148
+ __scalar?: boolean | number;
4149
+ }
4150
+ export interface ComponentSummaryGenqlSelection {
4151
+ name?: boolean | number;
4152
+ score?: boolean | number;
4153
+ maxScore?: boolean | number;
4154
+ trend?: boolean | number;
4155
+ trendPeriod?: boolean | number;
4156
+ activityCount?: boolean | number;
4157
+ avgScorePerActivity?: boolean | number;
4158
+ topMetrics?: TopMetricGenqlSelection;
4159
+ newMaxActivityIds?: boolean | number;
4160
+ __typename?: boolean | number;
4161
+ __scalar?: boolean | number;
4162
+ }
4163
+ export interface ActivityDateEntryGenqlSelection {
4164
+ date?: boolean | number;
4165
+ category?: boolean | number;
4166
+ count?: boolean | number;
4167
+ types?: boolean | number;
4168
+ __typename?: boolean | number;
4169
+ __scalar?: boolean | number;
4170
+ }
4171
+ export interface ActivityDatesResponseGenqlSelection {
4172
+ dates?: ActivityDateEntryGenqlSelection;
4173
+ __typename?: boolean | number;
4174
+ __scalar?: boolean | number;
4175
+ }
4176
+ export interface SocialAggregateTypeGenqlSelection {
4177
+ _id?: boolean | number;
4178
+ athleteId?: boolean | number;
4179
+ platform?: boolean | number;
4180
+ contentType?: boolean | number;
4181
+ periodType?: boolean | number;
4182
+ periodLabel?: boolean | number;
4183
+ periodStart?: boolean | number;
4184
+ periodEnd?: boolean | number;
4185
+ totalLikes?: boolean | number;
4186
+ totalComments?: boolean | number;
4187
+ totalShares?: boolean | number;
4188
+ totalSaves?: boolean | number;
4189
+ totalReach?: boolean | number;
4190
+ totalViews?: boolean | number;
4191
+ totalImpressions?: boolean | number;
4192
+ postCount?: boolean | number;
4193
+ followerCount?: boolean | number;
4194
+ avgEngagementRate?: boolean | number;
4195
+ avgPostEngagement?: boolean | number;
4196
+ __typename?: boolean | number;
4197
+ __scalar?: boolean | number;
4198
+ }
4199
+ export interface PostMetricTypeGenqlSelection {
4200
+ id?: boolean | number;
4201
+ postId?: boolean | number;
4202
+ permalink?: boolean | number;
4203
+ thumbnailUrl?: boolean | number;
4204
+ contentType?: boolean | number;
4205
+ caption?: boolean | number;
4206
+ postedAt?: boolean | number;
4207
+ likes?: boolean | number;
4208
+ comments?: boolean | number;
4209
+ shares?: boolean | number;
4210
+ saves?: boolean | number;
4211
+ reach?: boolean | number;
4212
+ vsAvgPercent?: boolean | number;
4213
+ __typename?: boolean | number;
4214
+ __scalar?: boolean | number;
4215
+ }
4216
+ export interface AveragesTypeGenqlSelection {
4217
+ likes?: boolean | number;
4218
+ comments?: boolean | number;
4219
+ reach?: boolean | number;
4220
+ engagementRate?: boolean | number;
4221
+ __typename?: boolean | number;
4222
+ __scalar?: boolean | number;
4223
+ }
4224
+ export interface PostComparisonResultTypeGenqlSelection {
4225
+ posts?: PostMetricTypeGenqlSelection;
4226
+ averages?: AveragesTypeGenqlSelection;
4227
+ total?: boolean | number;
4228
+ hasMore?: boolean | number;
4229
+ __typename?: boolean | number;
4230
+ __scalar?: boolean | number;
4231
+ }
3085
4232
  export interface CreateDatabaseFileDto {
3086
4233
  identifier: Scalars['String'];
3087
4234
  version?: Scalars['String'];
@@ -3126,10 +4273,63 @@ export interface CreateVerificationCodeDto {
3126
4273
  expiresUnit?: (Scalars['String'] | null);
3127
4274
  data?: (Scalars['String'] | null);
3128
4275
  }
3129
- export interface VerifyCodeDto {
3130
- codeId: Scalars['String'];
3131
- enteredCodeValue: Scalars['String'];
3132
- type?: (Scalars['String'] | null);
4276
+ export interface VerifyCodeDto {
4277
+ codeId: Scalars['String'];
4278
+ enteredCodeValue: Scalars['String'];
4279
+ type?: (Scalars['String'] | null);
4280
+ }
4281
+ export interface DonationCheckoutDto {
4282
+ fundingCampaignId: Scalars['String'];
4283
+ donationAmount: Scalars['Float'];
4284
+ mode?: Scalars['String'];
4285
+ fromName?: (Scalars['String'] | null);
4286
+ fromEmail?: (Scalars['String'] | null);
4287
+ fromPhone?: (Scalars['String'] | null);
4288
+ message?: (Scalars['String'] | null);
4289
+ clientType?: (Scalars['String'] | null);
4290
+ }
4291
+ export interface CreateBrandDto {
4292
+ name: Scalars['String'];
4293
+ description?: (Scalars['String'] | null);
4294
+ slogan?: (Scalars['String'] | null);
4295
+ website?: (Scalars['String'] | null);
4296
+ affiliateLink?: (Scalars['String'] | null);
4297
+ logo?: (AWSS3UploadedFileDto | null);
4298
+ banner?: (AWSS3UploadedFileDto | null);
4299
+ translations?: (BrandTranslationDto[] | null);
4300
+ sponsorId?: (Scalars['String'] | null);
4301
+ approved?: (Scalars['Boolean'] | null);
4302
+ published?: (Scalars['Boolean'] | null);
4303
+ }
4304
+ export interface AWSS3UploadedFileDto {
4305
+ key: Scalars['String'];
4306
+ useType: Scalars['String'];
4307
+ contentType: Scalars['String'];
4308
+ originalFileName?: (Scalars['String'] | null);
4309
+ fileSize?: (Scalars['Float'] | null);
4310
+ }
4311
+ export interface BrandTranslationDto {
4312
+ brandId: Scalars['String'];
4313
+ language: Scalars['String'];
4314
+ name?: (Scalars['String'] | null);
4315
+ description?: (Scalars['String'] | null);
4316
+ slogan?: (Scalars['String'] | null);
4317
+ logo?: (AWSS3UploadedFileDto | null);
4318
+ banner?: (AWSS3UploadedFileDto | null);
4319
+ }
4320
+ export interface BrandQueryDto {
4321
+ page?: (Scalars['Int'] | null);
4322
+ limit?: (Scalars['Int'] | null);
4323
+ search?: (Scalars['String'] | null);
4324
+ approved?: (Scalars['String'] | null);
4325
+ published?: (Scalars['String'] | null);
4326
+ sortField?: (Scalars['String'] | null);
4327
+ sortOrder?: (Scalars['String'] | null);
4328
+ }
4329
+ export interface CreateSponsorDto {
4330
+ name: Scalars['String'];
4331
+ description?: (Scalars['String'] | null);
4332
+ email: Scalars['String'];
3133
4333
  }
3134
4334
  export interface AthleteInvitationDto {
3135
4335
  email: Scalars['String'];
@@ -3141,6 +4341,15 @@ export interface InviteAthletesDto {
3141
4341
  language?: (Scalars['String'] | null);
3142
4342
  invitations: AthleteInvitationDto[];
3143
4343
  }
4344
+ export interface SponsorQueryDto {
4345
+ page?: (Scalars['Int'] | null);
4346
+ limit?: (Scalars['Int'] | null);
4347
+ search?: (Scalars['String'] | null);
4348
+ approved?: (Scalars['String'] | null);
4349
+ published?: (Scalars['String'] | null);
4350
+ sortField?: (Scalars['String'] | null);
4351
+ sortOrder?: (Scalars['String'] | null);
4352
+ }
3144
4353
  export interface CompetitionResultDto {
3145
4354
  resultType: Scalars['String'];
3146
4355
  position?: (Scalars['Float'] | null);
@@ -3189,14 +4398,14 @@ export interface CreateAthleteCompetitionForDto {
3189
4398
  cityId?: (Scalars['String'] | null);
3190
4399
  loginEmail: Scalars['String'];
3191
4400
  }
3192
- export interface CursorPositionDto {
3193
- cursorId: Scalars['String'];
3194
- cursorFieldValue: Scalars['String'];
3195
- }
3196
4401
  export interface SortCriteriaDto {
3197
4402
  sortField: Scalars['String'];
3198
4403
  order?: Scalars['String'];
3199
4404
  }
4405
+ export interface CursorPositionDto {
4406
+ cursorId: Scalars['String'];
4407
+ cursorFieldValue: Scalars['String'];
4408
+ }
3200
4409
  export interface CursorPaginationDto {
3201
4410
  sortCriteria?: (SortCriteriaDto | null);
3202
4411
  limit?: (Scalars['Float'] | null);
@@ -3254,13 +4463,6 @@ export interface EditPictureDto {
3254
4463
  field: Scalars['String'];
3255
4464
  newPicture?: (AWSS3UploadedFileDto | null);
3256
4465
  }
3257
- export interface AWSS3UploadedFileDto {
3258
- key: Scalars['String'];
3259
- useType: Scalars['String'];
3260
- contentType: Scalars['String'];
3261
- originalFileName?: (Scalars['String'] | null);
3262
- fileSize?: (Scalars['Float'] | null);
3263
- }
3264
4466
  export interface UploadAlbumsPicturesDto {
3265
4467
  label: Scalars['String'];
3266
4468
  description?: (Scalars['String'] | null);
@@ -3290,6 +4492,21 @@ export interface GetHistoricalScoresDto {
3290
4492
  export interface GetAthleteCampaignsDto {
3291
4493
  athleteId: Scalars['String'];
3292
4494
  }
4495
+ export interface ForceScoreRefreshDto {
4496
+ athleteIds: Scalars['String'][];
4497
+ }
4498
+ export interface CheckScoreRefreshCapabilityDto {
4499
+ athleteIds: Scalars['String'][];
4500
+ }
4501
+ export interface SportQueryDto {
4502
+ page?: (Scalars['Int'] | null);
4503
+ limit?: (Scalars['Int'] | null);
4504
+ search?: (Scalars['String'] | null);
4505
+ resultType?: (Scalars['String'] | null);
4506
+ verified?: (Scalars['String'] | null);
4507
+ sortField?: (Scalars['String'] | null);
4508
+ sortOrder?: (Scalars['String'] | null);
4509
+ }
3293
4510
  export interface QualificationDto {
3294
4511
  type: Scalars['String'];
3295
4512
  }
@@ -3343,13 +4560,59 @@ export interface RegisterUserDto {
3343
4560
  password: Scalars['String'];
3344
4561
  inviteCode?: (Scalars['String'] | null);
3345
4562
  }
4563
+ export interface DeleteAthleteDto {
4564
+ userIdentifier: Scalars['String'];
4565
+ }
3346
4566
  export interface resetPasswordDto {
3347
4567
  code: VerifyCodeDto;
3348
4568
  newPassword?: (Scalars['String'] | null);
3349
4569
  }
4570
+ export interface UpdateUserSuspendedStatusDto {
4571
+ userId: Scalars['String'];
4572
+ suspended: Scalars['Boolean'];
4573
+ }
4574
+ export interface UserQueryDto {
4575
+ page?: (Scalars['Int'] | null);
4576
+ limit?: (Scalars['Int'] | null);
4577
+ search?: (Scalars['String'] | null);
4578
+ userType?: (Scalars['String'] | null);
4579
+ suspended?: (Scalars['String'] | null);
4580
+ sport?: (Scalars['String'] | null);
4581
+ sportLevel?: (Scalars['String'] | null);
4582
+ gender?: (Scalars['String'] | null);
4583
+ location?: (Scalars['String'] | null);
4584
+ nationality?: (Scalars['String'] | null);
4585
+ ageMin?: (Scalars['String'] | null);
4586
+ ageMax?: (Scalars['String'] | null);
4587
+ sortField?: (Scalars['String'] | null);
4588
+ sortOrder?: (Scalars['String'] | null);
4589
+ }
4590
+ export interface DeleteVtxUserDto {
4591
+ userIdentifier: Scalars['String'];
4592
+ }
3350
4593
  export interface GetReceiptDto {
3351
4594
  _id: Scalars['String'];
3352
4595
  }
4596
+ export interface StripeQueryDto {
4597
+ operation: Scalars['String'];
4598
+ id: Scalars['String'];
4599
+ params?: (Scalars['String'] | null);
4600
+ }
4601
+ export interface GetTransactionDetailsDto {
4602
+ vtxSessionId?: (Scalars['String'] | null);
4603
+ stripeSessionId?: (Scalars['String'] | null);
4604
+ }
4605
+ export interface UpdateSportEventDto {
4606
+ _id: Scalars['String'];
4607
+ name?: (Scalars['String'] | null);
4608
+ cityId?: (Scalars['String'] | null);
4609
+ sportId?: (Scalars['String'] | null);
4610
+ startDate?: (Scalars['DateTime'] | null);
4611
+ endDate?: (Scalars['DateTime'] | null);
4612
+ website?: (Scalars['String'] | null);
4613
+ banner?: (AWSS3UploadedFileDto | null);
4614
+ eventLevel?: (Scalars['String'] | null);
4615
+ }
3353
4616
  export interface MergeSportsEventsDto {
3354
4617
  mergeTo: Scalars['String'];
3355
4618
  mergeName?: (Scalars['String'] | null);
@@ -3358,6 +4621,18 @@ export interface MergeSportsEventsDto {
3358
4621
  mergeWebsite?: (Scalars['String'] | null);
3359
4622
  mergeIds: Scalars['String'][];
3360
4623
  }
4624
+ export interface EventQueryDto {
4625
+ page?: (Scalars['Int'] | null);
4626
+ limit?: (Scalars['Int'] | null);
4627
+ search?: (Scalars['String'] | null);
4628
+ verified?: (Scalars['String'] | null);
4629
+ sport?: (Scalars['String'] | null);
4630
+ location?: (Scalars['String'] | null);
4631
+ dateFrom?: (Scalars['String'] | null);
4632
+ dateTo?: (Scalars['String'] | null);
4633
+ sortField?: (Scalars['String'] | null);
4634
+ sortOrder?: (Scalars['String'] | null);
4635
+ }
3361
4636
  export interface BudgetItemDto {
3362
4637
  quantity: Scalars['Float'];
3363
4638
  concept: Scalars['String'];
@@ -3468,20 +4743,6 @@ export interface CreateAthleteMembershipDto {
3468
4743
  issueDate?: (Scalars['DateTime'] | null);
3469
4744
  expirationDate?: (Scalars['DateTime'] | null);
3470
4745
  }
3471
- export interface DonationCheckoutDto {
3472
- fundingCampaignId: Scalars['String'];
3473
- donationAmount: Scalars['Float'];
3474
- mode?: Scalars['String'];
3475
- fromName?: (Scalars['String'] | null);
3476
- fromEmail?: (Scalars['String'] | null);
3477
- fromPhone?: (Scalars['String'] | null);
3478
- message?: (Scalars['String'] | null);
3479
- }
3480
- export interface StripeQueryDto {
3481
- operation: Scalars['String'];
3482
- id: Scalars['String'];
3483
- params?: (Scalars['String'] | null);
3484
- }
3485
4746
  export interface CreateAthleteIntegrationDto {
3486
4747
  athleteId: Scalars['String'];
3487
4748
  accessToken: Scalars['String'];
@@ -3492,9 +4753,6 @@ export interface CreateAthleteIntegrationDto {
3492
4753
  export interface GetFundingCheckoutSessionDataDto {
3493
4754
  _id: Scalars['String'];
3494
4755
  }
3495
- export interface DeleteAthleteDto {
3496
- userIdentifier: Scalars['String'];
3497
- }
3498
4756
  export interface SocialState {
3499
4757
  systemId: Scalars['String'];
3500
4758
  loginEmail: Scalars['String'];
@@ -3507,6 +4765,134 @@ export interface RegisterMemberDto {
3507
4765
  screenName?: (Scalars['String'] | null);
3508
4766
  profilePicture?: (AWSS3UploadedFileDto | null);
3509
4767
  }
4768
+ export interface TransactionQueryDto {
4769
+ page?: (Scalars['Int'] | null);
4770
+ limit?: (Scalars['Int'] | null);
4771
+ search?: (Scalars['String'] | null);
4772
+ type?: (Scalars['String'] | null);
4773
+ completed?: (Scalars['String'] | null);
4774
+ athleteStripeAccount?: (Scalars['String'] | null);
4775
+ athleteId?: (Scalars['String'] | null);
4776
+ dateFrom?: (Scalars['String'] | null);
4777
+ dateTo?: (Scalars['String'] | null);
4778
+ sortField?: (Scalars['String'] | null);
4779
+ sortOrder?: (Scalars['String'] | null);
4780
+ }
4781
+ export interface OffsetPaginationDto {
4782
+ pageNumber?: Scalars['Float'];
4783
+ pageSize?: Scalars['Float'];
4784
+ sortCriteria?: (SortCriteriaDto | null);
4785
+ }
4786
+ export interface CreateOfferDto {
4787
+ name?: (Scalars['String'] | null);
4788
+ label: Scalars['String'];
4789
+ decription?: (Scalars['String'] | null);
4790
+ offerImage?: (AWSS3UploadedFileDto | null);
4791
+ type: Scalars['String'];
4792
+ status?: Scalars['String'];
4793
+ discountType?: Scalars['String'];
4794
+ discountTypeData?: (Scalars['String'] | null);
4795
+ conditions?: (Scalars['String'][] | null);
4796
+ brandId: Scalars['String'];
4797
+ sponsorId: Scalars['String'];
4798
+ criteria?: (AthleteCriteriaDto | null);
4799
+ dateStart?: (Scalars['DateTime'] | null);
4800
+ dateEnd?: (Scalars['DateTime'] | null);
4801
+ totalCodes?: (Scalars['Int'] | null);
4802
+ disclaimer?: (Scalars['String'] | null);
4803
+ availableCountryIds?: (Scalars['String'][] | null);
4804
+ genericCode?: (Scalars['String'] | null);
4805
+ featured?: (Scalars['Boolean'] | null);
4806
+ }
4807
+ export interface AthleteCriteriaDto {
4808
+ _id: Scalars['String'];
4809
+ label?: (Scalars['String'] | null);
4810
+ qualificationsBag?: (QualificationsBagDto | null);
4811
+ }
4812
+ export interface QualificationsBagDto {
4813
+ ageQualifications?: (AgeQualificationDto[] | null);
4814
+ genderQualifications?: (GenderQualificationDto[] | null);
4815
+ scoreQualifications?: (ScoreQualificationDto[] | null);
4816
+ locationQualifications?: (LocationQualificationDto[] | null);
4817
+ nationalityQualifications?: (NationalityQualificationDto[] | null);
4818
+ distanceQualifications?: (DistanceQualificationDto[] | null);
4819
+ sportsQualifications?: (SportsQualificationDto[] | null);
4820
+ levelQualifications?: (SportsLevelQualificationDto[] | null);
4821
+ }
4822
+ export interface OfferQueryDto {
4823
+ page?: (Scalars['Int'] | null);
4824
+ limit?: (Scalars['Int'] | null);
4825
+ search?: (Scalars['String'] | null);
4826
+ active?: (Scalars['String'] | null);
4827
+ offerType?: (Scalars['String'] | null);
4828
+ featured?: (Scalars['String'] | null);
4829
+ brandId?: (Scalars['String'] | null);
4830
+ sortField?: (Scalars['String'] | null);
4831
+ sortOrder?: (Scalars['String'] | null);
4832
+ filterEligibleOnly?: (Scalars['Boolean'] | null);
4833
+ athleteId?: (Scalars['String'] | null);
4834
+ }
4835
+ export interface OfferClaimQueryDto {
4836
+ status?: (OfferClaimStatus | null);
4837
+ }
4838
+ export interface LeaderboardQueryDto {
4839
+ scoreType?: (Scalars['String'] | null);
4840
+ sportId?: (Scalars['String'] | null);
4841
+ countryCode?: (Scalars['String'] | null);
4842
+ page?: (Scalars['Int'] | null);
4843
+ limit?: (Scalars['Int'] | null);
4844
+ }
4845
+ export interface UserRankQueryDto {
4846
+ athleteId: Scalars['String'];
4847
+ scoreType?: (Scalars['String'] | null);
4848
+ sportId?: (Scalars['String'] | null);
4849
+ countryCode?: (Scalars['String'] | null);
4850
+ }
4851
+ export interface ScoreHistoryQueryDto {
4852
+ athleteId: Scalars['String'];
4853
+ timeRange: TimeRange;
4854
+ }
4855
+ export interface RankHistoryQueryDto {
4856
+ athleteId: Scalars['String'];
4857
+ timeRange: TimeRange;
4858
+ sportId?: (Scalars['String'] | null);
4859
+ countryCode?: (Scalars['String'] | null);
4860
+ }
4861
+ export interface RankContextQueryDto {
4862
+ athleteId: Scalars['String'];
4863
+ sportId?: (Scalars['String'] | null);
4864
+ countryCode?: (Scalars['String'] | null);
4865
+ }
4866
+ export interface ActivitiesQueryDto {
4867
+ athleteId: Scalars['String'];
4868
+ category: ActivityCategory;
4869
+ timeRange: TimeRange;
4870
+ page?: (Scalars['Int'] | null);
4871
+ limit?: (Scalars['Int'] | null);
4872
+ }
4873
+ export interface ActivityDetailQueryDto {
4874
+ athleteId: Scalars['String'];
4875
+ activityId: Scalars['String'];
4876
+ category: Scalars['String'];
4877
+ }
4878
+ export interface ComponentSummaryQueryDto {
4879
+ athleteId: Scalars['String'];
4880
+ component: Scalars['String'];
4881
+ }
4882
+ export interface ActivityDatesQueryDto {
4883
+ athleteId: Scalars['String'];
4884
+ }
4885
+ export interface DateRangeInput {
4886
+ start: Scalars['DateTime'];
4887
+ end: Scalars['DateTime'];
4888
+ }
4889
+ export interface PostComparisonInput {
4890
+ comparisonWindowDays?: (Scalars['Int'] | null);
4891
+ sortBy?: (PostSortOption | null);
4892
+ contentType?: (ContentType | null);
4893
+ limit?: (Scalars['Int'] | null);
4894
+ offset?: (Scalars['Int'] | null);
4895
+ }
3510
4896
  export interface QueryGenqlSelection {
3511
4897
  findTenantById?: (TenantGenqlSelection & {
3512
4898
  __args: {
@@ -3553,6 +4939,11 @@ export interface QueryGenqlSelection {
3553
4939
  };
3554
4940
  });
3555
4941
  brands?: BrandGenqlSelection;
4942
+ getBrandsPaginated?: (PaginatedBrandsGenqlSelection & {
4943
+ __args?: {
4944
+ query?: (BrandQueryDto | null);
4945
+ };
4946
+ });
3556
4947
  getBrandByName?: (BrandGenqlSelection & {
3557
4948
  __args: {
3558
4949
  name: Scalars['String'];
@@ -3571,6 +4962,11 @@ export interface QueryGenqlSelection {
3571
4962
  };
3572
4963
  });
3573
4964
  sponsors?: SponsorGenqlSelection;
4965
+ getSponsorsPaginated?: (PaginatedSponsorsGenqlSelection & {
4966
+ __args?: {
4967
+ query?: (SponsorQueryDto | null);
4968
+ };
4969
+ });
3574
4970
  findSponsorAthleteInvitation?: (SponsorAthleteInvitationGenqlSelection & {
3575
4971
  __args: {
3576
4972
  input: FindSponsorAthleteInvitationDto;
@@ -3649,12 +5045,27 @@ export interface QueryGenqlSelection {
3649
5045
  input: existValueDto;
3650
5046
  };
3651
5047
  });
3652
- getAthleteHistoricalScores?: (HistoricalScoreTypeGenqlSelection & {
5048
+ checkScoreRefreshCapabilities?: (CheckScoreRefreshCapabilityResponseGenqlSelection & {
5049
+ __args: {
5050
+ input: CheckScoreRefreshCapabilityDto;
5051
+ };
5052
+ });
5053
+ getAthleteHistoricalScoresPeriod?: (HistoricalScoresPeriodGenqlSelection & {
5054
+ __args: {
5055
+ input: GetHistoricalScoresDto;
5056
+ };
5057
+ });
5058
+ getAthleteHistoricalScores?: (HistoricalScoreGenqlSelection & {
3653
5059
  __args: {
3654
5060
  input: GetHistoricalScoresDto;
3655
5061
  };
3656
5062
  });
3657
- getMyHistoricalScores?: (HistoricalScoreTypeGenqlSelection & {
5063
+ getMyHistoricalScoresPeriod?: (HistoricalScoresPeriodGenqlSelection & {
5064
+ __args: {
5065
+ input: GetMyHistoricalScoresDto;
5066
+ };
5067
+ });
5068
+ getMyHistoricalScores?: (HistoricalScoreGenqlSelection & {
3658
5069
  __args: {
3659
5070
  input: GetMyHistoricalScoresDto;
3660
5071
  };
@@ -3665,6 +5076,11 @@ export interface QueryGenqlSelection {
3665
5076
  };
3666
5077
  });
3667
5078
  getSports?: SportGenqlSelection;
5079
+ getSportsPaginated?: (PaginatedSportsGenqlSelection & {
5080
+ __args?: {
5081
+ query?: (SportQueryDto | null);
5082
+ };
5083
+ });
3668
5084
  findSportById?: (SportGenqlSelection & {
3669
5085
  __args: {
3670
5086
  sportId: Scalars['String'];
@@ -3690,77 +5106,219 @@ export interface QueryGenqlSelection {
3690
5106
  text: Scalars['String'];
3691
5107
  };
3692
5108
  });
3693
- findCityById?: (CityGenqlSelection & {
3694
- __args: {
3695
- cityId: Scalars['String'];
5109
+ findCityById?: (CityGenqlSelection & {
5110
+ __args: {
5111
+ cityId: Scalars['String'];
5112
+ };
5113
+ });
5114
+ findVtxUser?: (UserGenqlSelection & {
5115
+ __args: {
5116
+ input: FindVtxUserDto;
5117
+ };
5118
+ });
5119
+ validateUserCredentialsVtx?: (UserGenqlSelection & {
5120
+ __args: {
5121
+ username: Scalars['String'];
5122
+ password: Scalars['String'];
5123
+ };
5124
+ });
5125
+ getUserImagesFromEmail?: (UserImagesGenqlSelection & {
5126
+ __args: {
5127
+ loginEmail: Scalars['String'];
5128
+ };
5129
+ });
5130
+ getResetVerificationCode?: (VerificationCodeGenqlSelection & {
5131
+ __args: {
5132
+ input: Scalars['String'];
5133
+ };
5134
+ });
5135
+ verifyCode?: (CodeVerificationResponseGenqlSelection & {
5136
+ __args: {
5137
+ input: VerifyCodeDto;
5138
+ };
5139
+ });
5140
+ isUserSuspended?: {
5141
+ __args: {
5142
+ loginEmail: Scalars['String'];
5143
+ };
5144
+ };
5145
+ getAllUsers?: AdminUserViewGenqlSelection;
5146
+ getUsersPaginated?: (PaginatedUsersGenqlSelection & {
5147
+ __args?: {
5148
+ query?: (UserQueryDto | null);
5149
+ };
5150
+ });
5151
+ getStravaLoginUrl?: boolean | number;
5152
+ getSportsEvents?: (SportsEventGenqlSelection & {
5153
+ __args: {
5154
+ input: GetSportEventsDto;
5155
+ };
5156
+ });
5157
+ getSportsEventsPaginated?: (PaginatedEventsGenqlSelection & {
5158
+ __args?: {
5159
+ query?: (EventQueryDto | null);
5160
+ };
5161
+ });
5162
+ getBudgetsByAthlete?: BudgetDataGenqlSelection;
5163
+ getDonationsByAthlete?: ReceiptGenqlSelection;
5164
+ getDonationsToAthlete?: (DonationGenqlSelection & {
5165
+ __args: {
5166
+ athleteId: Scalars['String'];
5167
+ };
5168
+ });
5169
+ getDonationsToMe?: DonationGenqlSelection;
5170
+ getBudgetConcepts?: BudgetConceptGenqlSelection;
5171
+ getBudgetItemUnits?: BudgetItemUnitGenqlSelection;
5172
+ getMembershipOrganizations?: MembershipOrganizationReferenceGenqlSelection;
5173
+ getAthleteStravaIntegration?: AthleteIntegrationReferenceGenqlSelection;
5174
+ getAthleteInstagramIntegration?: AthleteIntegrationReferenceGenqlSelection;
5175
+ getAthleteIntegrations?: AthleteIntegrationReferenceGenqlSelection;
5176
+ stripeQuery?: (StripeObjectGenqlSelection & {
5177
+ __args: {
5178
+ input: StripeQueryDto;
5179
+ };
5180
+ });
5181
+ getStripeBalance?: StripeBalanceGenqlSelection;
5182
+ getDatabaseTextFile?: (TextDatabaseFileGenqlSelection & {
5183
+ __args: {
5184
+ input: GetDatabaseFileDto;
5185
+ };
5186
+ });
5187
+ getS3UploadUrl?: (AWSS3UploadUrlGenqlSelection & {
5188
+ __args: {
5189
+ input: AWSS3GetUploadDto;
5190
+ };
5191
+ });
5192
+ getReceipt?: (ReceiptGenqlSelection & {
5193
+ __args: {
5194
+ input: GetReceiptDto;
5195
+ };
5196
+ });
5197
+ getReceiptUrl?: (ReceiptUrlGenqlSelection & {
5198
+ __args: {
5199
+ input: GetReceiptDto;
5200
+ };
5201
+ });
5202
+ getTransactionDetails?: (TransactionDetailsGenqlSelection & {
5203
+ __args: {
5204
+ input: GetTransactionDetailsDto;
5205
+ };
5206
+ });
5207
+ findMemberForUser?: (MemberGenqlSelection & {
5208
+ __args: {
5209
+ loginEmail: Scalars['String'];
5210
+ };
5211
+ });
5212
+ getDonationsByMember?: DonationGenqlSelection;
5213
+ getDonationsByUser?: (DonationGenqlSelection & {
5214
+ __args: {
5215
+ email: Scalars['String'];
5216
+ };
5217
+ });
5218
+ getAllTransactions?: AdminTransactionViewGenqlSelection;
5219
+ getTransactionsPaginated?: (PaginatedTransactionsGenqlSelection & {
5220
+ __args?: {
5221
+ query?: (TransactionQueryDto | null);
5222
+ };
5223
+ });
5224
+ offers?: OfferGenqlSelection;
5225
+ getOffersPaginated?: (PaginatedOffersGenqlSelection & {
5226
+ __args?: {
5227
+ query?: (OfferQueryDto | null);
5228
+ };
5229
+ });
5230
+ offersForAthlete?: (OfferGenqlSelection & {
5231
+ __args?: {
5232
+ athleteId?: (Scalars['String'] | null);
5233
+ };
5234
+ });
5235
+ offer?: (OfferGenqlSelection & {
5236
+ __args: {
5237
+ id: Scalars['String'];
5238
+ };
5239
+ });
5240
+ myOfferClaims?: (OfferClaimGenqlSelection & {
5241
+ __args: {
5242
+ athleteId: Scalars['String'];
5243
+ query?: (OfferClaimQueryDto | null);
5244
+ };
5245
+ });
5246
+ offerAvailability?: (OfferAvailabilityGenqlSelection & {
5247
+ __args: {
5248
+ offerId: Scalars['String'];
5249
+ athleteId: Scalars['String'];
5250
+ };
5251
+ });
5252
+ offersWithEligibility?: (PaginatedOffersWithEligibilityGenqlSelection & {
5253
+ __args?: {
5254
+ query?: (OfferQueryDto | null);
5255
+ };
5256
+ });
5257
+ getLeaderboard?: (LeaderboardResponseGenqlSelection & {
5258
+ __args?: {
5259
+ input?: (LeaderboardQueryDto | null);
3696
5260
  };
3697
5261
  });
3698
- findVtxUser?: (UserGenqlSelection & {
5262
+ getUserRank?: (UserRankGenqlSelection & {
3699
5263
  __args: {
3700
- input: FindVtxUserDto;
5264
+ input: UserRankQueryDto;
3701
5265
  };
3702
5266
  });
3703
- validateUserCredentialsVtx?: (UserGenqlSelection & {
5267
+ athleteDashboard?: (DashboardSummaryGenqlSelection & {
3704
5268
  __args: {
3705
- username: Scalars['String'];
3706
- password: Scalars['String'];
5269
+ athleteId: Scalars['String'];
3707
5270
  };
3708
5271
  });
3709
- getUserImagesFromEmail?: (UserImagesGenqlSelection & {
5272
+ athleteScoreHistory?: (ScoreHistoryEntryGenqlSelection & {
3710
5273
  __args: {
3711
- loginEmail: Scalars['String'];
5274
+ input: ScoreHistoryQueryDto;
3712
5275
  };
3713
5276
  });
3714
- getResetVerificationCode?: (VerificationCodeGenqlSelection & {
5277
+ athleteRankHistory?: (RankHistoryEntryGenqlSelection & {
3715
5278
  __args: {
3716
- input: Scalars['String'];
5279
+ input: RankHistoryQueryDto;
3717
5280
  };
3718
5281
  });
3719
- verifyCode?: (CodeVerificationResponseGenqlSelection & {
5282
+ athleteRankContext?: (RankContextGenqlSelection & {
3720
5283
  __args: {
3721
- input: VerifyCodeDto;
5284
+ input: RankContextQueryDto;
3722
5285
  };
3723
5286
  });
3724
- getStravaLoginUrl?: boolean | number;
3725
- getSportsEvents?: (SportsEventGenqlSelection & {
5287
+ athleteActivities?: (ActivitiesResponseGenqlSelection & {
3726
5288
  __args: {
3727
- input: GetSportEventsDto;
5289
+ input: ActivitiesQueryDto;
3728
5290
  };
3729
5291
  });
3730
- getBudgetsByAthlete?: BudgetDataGenqlSelection;
3731
- getDonationsByAthlete?: ReceiptGenqlSelection;
3732
- getBudgetConcepts?: BudgetConceptGenqlSelection;
3733
- getBudgetItemUnits?: BudgetItemUnitGenqlSelection;
3734
- getMembershipOrganizations?: MembershipOrganizationReferenceGenqlSelection;
3735
- getAthleteStravaIntegration?: AthleteIntegrationReferenceGenqlSelection;
3736
- getAthleteInstagramIntegration?: AthleteIntegrationReferenceGenqlSelection;
3737
- getAthleteIntegrations?: AthleteIntegrationReferenceGenqlSelection;
3738
- stripeQuery?: (StripeObjectGenqlSelection & {
5292
+ athleteActivityDetail?: (ActivityDetailGenqlSelection & {
3739
5293
  __args: {
3740
- input: StripeQueryDto;
5294
+ input: ActivityDetailQueryDto;
3741
5295
  };
3742
5296
  });
3743
- getDatabaseTextFile?: (TextDatabaseFileGenqlSelection & {
5297
+ athleteComponentSummary?: (ComponentSummaryGenqlSelection & {
3744
5298
  __args: {
3745
- input: GetDatabaseFileDto;
5299
+ input: ComponentSummaryQueryDto;
3746
5300
  };
3747
5301
  });
3748
- getReceipt?: (ReceiptGenqlSelection & {
5302
+ athleteActivityDates?: (ActivityDatesResponseGenqlSelection & {
3749
5303
  __args: {
3750
- input: GetReceiptDto;
5304
+ input: ActivityDatesQueryDto;
3751
5305
  };
3752
5306
  });
3753
- getReceiptUrl?: (ReceiptUrlGenqlSelection & {
5307
+ socialAggregates?: (SocialAggregateTypeGenqlSelection & {
3754
5308
  __args: {
3755
- input: GetReceiptDto;
5309
+ athleteId: Scalars['ID'];
5310
+ platform: Platform;
5311
+ range: DateRangeInput;
5312
+ periodType?: (PeriodType | null);
3756
5313
  };
3757
5314
  });
3758
- findMemberForUser?: (MemberGenqlSelection & {
5315
+ postsWithComparison?: (PostComparisonResultTypeGenqlSelection & {
3759
5316
  __args: {
3760
- loginEmail: Scalars['String'];
5317
+ athleteId: Scalars['ID'];
5318
+ platform: Platform;
5319
+ options?: (PostComparisonInput | null);
3761
5320
  };
3762
5321
  });
3763
- getDonationsByMember?: DonationGenqlSelection;
3764
5322
  __typename?: boolean | number;
3765
5323
  __scalar?: boolean | number;
3766
5324
  }
@@ -3851,6 +5409,29 @@ export interface MutationGenqlSelection {
3851
5409
  input: CreateBrandDto;
3852
5410
  };
3853
5411
  });
5412
+ updateBrand?: (BrandGenqlSelection & {
5413
+ __args: {
5414
+ id: Scalars['String'];
5415
+ input: CreateBrandDto;
5416
+ };
5417
+ });
5418
+ deleteBrand?: {
5419
+ __args: {
5420
+ id: Scalars['String'];
5421
+ };
5422
+ };
5423
+ linkBrandToSponsor?: (BrandGenqlSelection & {
5424
+ __args: {
5425
+ brandId: Scalars['String'];
5426
+ sponsorId: Scalars['String'];
5427
+ };
5428
+ });
5429
+ unlinkBrandFromSponsor?: (BrandGenqlSelection & {
5430
+ __args: {
5431
+ brandId: Scalars['String'];
5432
+ sponsorId: Scalars['String'];
5433
+ };
5434
+ });
3854
5435
  registerSponsor?: (SponsorGenqlSelection & {
3855
5436
  __args: {
3856
5437
  input: RegisterSponsorInput;
@@ -3866,6 +5447,17 @@ export interface MutationGenqlSelection {
3866
5447
  input: InviteAthletesDto;
3867
5448
  };
3868
5449
  });
5450
+ updateSponsor?: (SponsorGenqlSelection & {
5451
+ __args: {
5452
+ id: Scalars['String'];
5453
+ input: UpdateSponsorDto;
5454
+ };
5455
+ });
5456
+ deleteSponsor?: {
5457
+ __args: {
5458
+ id: Scalars['String'];
5459
+ };
5460
+ };
3869
5461
  forceDeleteAthleteCompetition?: (DeleteSingleValueResponseGenqlSelection & {
3870
5462
  __args: {
3871
5463
  input: DeleteSingleValueDto;
@@ -3932,6 +5524,12 @@ export interface MutationGenqlSelection {
3932
5524
  };
3933
5525
  });
3934
5526
  updateAthleteScores?: AthleteGenqlSelection;
5527
+ updateAthleteCompetitionScores?: AthleteGenqlSelection;
5528
+ forceRefreshAthleteScores?: (ForceScoreRefreshResponseGenqlSelection & {
5529
+ __args: {
5530
+ input: ForceScoreRefreshDto;
5531
+ };
5532
+ });
3935
5533
  setCurrentCampaign?: (FundRaisingCampaignGenqlSelection & {
3936
5534
  __args: {
3937
5535
  input: SetCurrentCampaignDto;
@@ -4023,14 +5621,15 @@ export interface MutationGenqlSelection {
4023
5621
  input: Scalars['String'];
4024
5622
  };
4025
5623
  });
4026
- handleStravaCallback?: (StravaTokenGenqlSelection & {
5624
+ updateUserSuspendedStatus?: (EditValueResponseGenqlSelection & {
4027
5625
  __args: {
4028
- data: RegisterStravaDto;
5626
+ input: UpdateUserSuspendedStatusDto;
4029
5627
  };
4030
5628
  });
4031
- refreshStravaToken?: (StravaTokenGenqlSelection & {
5629
+ deleteMyAccount?: DeleteVtxUserResponseGenqlSelection;
5630
+ deleteVtxUser?: (DeleteVtxUserResponseGenqlSelection & {
4032
5631
  __args: {
4033
- input: Scalars['String'];
5632
+ input: DeleteVtxUserDto;
4034
5633
  };
4035
5634
  });
4036
5635
  createSportsEvent?: (SportsEventGenqlSelection & {
@@ -4038,6 +5637,16 @@ export interface MutationGenqlSelection {
4038
5637
  input: CreateSportEventDto;
4039
5638
  };
4040
5639
  });
5640
+ updateSportsEvent?: (SportsEventGenqlSelection & {
5641
+ __args: {
5642
+ input: UpdateSportEventDto;
5643
+ };
5644
+ });
5645
+ deleteSportsEvent?: (EditValueResponseGenqlSelection & {
5646
+ __args: {
5647
+ eventId: Scalars['String'];
5648
+ };
5649
+ });
4041
5650
  mergeSportsEvents?: (MergeEventsResponseGenqlSelection & {
4042
5651
  __args: {
4043
5652
  input: MergeSportsEventsDto;
@@ -4113,6 +5722,7 @@ export interface MutationGenqlSelection {
4113
5722
  type: Scalars['String'];
4114
5723
  };
4115
5724
  };
5725
+ unlinkInstagram?: boolean | number;
4116
5726
  createStripeAccount?: (StripeAccountReferenceGenqlSelection & {
4117
5727
  __args: {
4118
5728
  input: CreateStripeAccountDto;
@@ -4131,6 +5741,57 @@ export interface MutationGenqlSelection {
4131
5741
  input: RegisterMemberDto;
4132
5742
  };
4133
5743
  });
5744
+ createOffer?: (OfferGenqlSelection & {
5745
+ __args: {
5746
+ input: CreateOfferDto;
5747
+ };
5748
+ });
5749
+ updateOffer?: (OfferGenqlSelection & {
5750
+ __args: {
5751
+ id: Scalars['String'];
5752
+ input: CreateOfferDto;
5753
+ };
5754
+ });
5755
+ deleteOffer?: {
5756
+ __args: {
5757
+ id: Scalars['String'];
5758
+ };
5759
+ };
5760
+ setOfferStatus?: (OfferGenqlSelection & {
5761
+ __args: {
5762
+ id: Scalars['String'];
5763
+ status: Scalars['String'];
5764
+ };
5765
+ });
5766
+ activateOffer?: (OfferGenqlSelection & {
5767
+ __args: {
5768
+ id: Scalars['String'];
5769
+ };
5770
+ });
5771
+ deactivateOffer?: (OfferGenqlSelection & {
5772
+ __args: {
5773
+ id: Scalars['String'];
5774
+ };
5775
+ });
5776
+ claimOffer?: (OfferClaimGenqlSelection & {
5777
+ __args: {
5778
+ offerId: Scalars['String'];
5779
+ athleteId: Scalars['String'];
5780
+ };
5781
+ });
5782
+ removeOfferClaim?: {
5783
+ __args: {
5784
+ claimId: Scalars['String'];
5785
+ athleteId: Scalars['String'];
5786
+ };
5787
+ };
5788
+ uploadCouponCodes?: (UploadResultGenqlSelection & {
5789
+ __args: {
5790
+ offerId: Scalars['String'];
5791
+ csvContent: Scalars['String'];
5792
+ };
5793
+ });
5794
+ rebuildLeaderboardCache?: boolean | number;
4134
5795
  __typename?: boolean | number;
4135
5796
  __scalar?: boolean | number;
4136
5797
  }
@@ -4171,24 +5832,6 @@ export interface AWSS3DeleteUseTypeKeyDto {
4171
5832
  export interface CreateIndustryDto {
4172
5833
  name: Scalars['String'];
4173
5834
  }
4174
- export interface CreateBrandDto {
4175
- name: Scalars['String'];
4176
- description?: (Scalars['String'] | null);
4177
- slogan?: (Scalars['String'] | null);
4178
- website?: (Scalars['String'] | null);
4179
- logo?: (AWSS3UploadedFileDto | null);
4180
- banner?: (AWSS3UploadedFileDto | null);
4181
- translations?: (BrandTranslationDto[] | null);
4182
- }
4183
- export interface BrandTranslationDto {
4184
- brandId: Scalars['String'];
4185
- language: Scalars['String'];
4186
- name?: (Scalars['String'] | null);
4187
- description?: (Scalars['String'] | null);
4188
- slogan?: (Scalars['String'] | null);
4189
- logo?: (AWSS3UploadedFileDto | null);
4190
- banner?: (AWSS3UploadedFileDto | null);
4191
- }
4192
5835
  export interface RegisterSponsorInput {
4193
5836
  name: Scalars['String'];
4194
5837
  phone?: (Scalars['String'] | null);
@@ -4201,9 +5844,10 @@ export interface RegisterSponsorInput {
4201
5844
  numberOfAthletes: Scalars['String'];
4202
5845
  brands: Scalars['String'][];
4203
5846
  }
4204
- export interface CreateSponsorDto {
4205
- name: Scalars['String'];
5847
+ export interface UpdateSponsorDto {
5848
+ name?: (Scalars['String'] | null);
4206
5849
  description?: (Scalars['String'] | null);
5850
+ email?: (Scalars['String'] | null);
4207
5851
  }
4208
5852
  export interface RegisterAthleteDto {
4209
5853
  email: Scalars['String'];
@@ -4278,21 +5922,6 @@ export interface CreateSponsorshipDto {
4278
5922
  isPrivate?: (Scalars['Boolean'] | null);
4279
5923
  translations?: (SponsorshipTranslationDto[] | null);
4280
5924
  }
4281
- export interface AthleteCriteriaDto {
4282
- _id: Scalars['String'];
4283
- label?: (Scalars['String'] | null);
4284
- qualificationsBag?: (QualificationsBagDto | null);
4285
- }
4286
- export interface QualificationsBagDto {
4287
- ageQualifications?: (AgeQualificationDto[] | null);
4288
- genderQualifications?: (GenderQualificationDto[] | null);
4289
- scoreQualifications?: (ScoreQualificationDto[] | null);
4290
- locationQualifications?: (LocationQualificationDto[] | null);
4291
- nationalityQualifications?: (NationalityQualificationDto[] | null);
4292
- distanceQualifications?: (DistanceQualificationDto[] | null);
4293
- sportsQualifications?: (SportsQualificationDto[] | null);
4294
- levelQualifications?: (SportsLevelQualificationDto[] | null);
4295
- }
4296
5925
  export interface DurationDto {
4297
5926
  length?: Scalars['Float'];
4298
5927
  unit?: Scalars['String'];
@@ -4348,10 +5977,6 @@ export interface CreateCityDto {
4348
5977
  ranking?: (Scalars['Float'] | null);
4349
5978
  same_name?: (Scalars['String'] | null);
4350
5979
  }
4351
- export interface RegisterStravaDto {
4352
- idAthlete: Scalars['String'];
4353
- code: Scalars['String'];
4354
- }
4355
5980
  export interface CreateSportEventDto {
4356
5981
  name: Scalars['String'];
4357
5982
  cityId?: (Scalars['String'] | null);
@@ -4466,24 +6091,12 @@ export declare const isTextDatabaseFile: (obj?: {
4466
6091
  export declare const isCodeVerificationResponse: (obj?: {
4467
6092
  __typename?: any;
4468
6093
  } | null) => obj is CodeVerificationResponse;
4469
- export declare const isBrandStats: (obj?: {
4470
- __typename?: any;
4471
- } | null) => obj is BrandStats;
4472
- export declare const isBrandTranslation: (obj?: {
4473
- __typename?: any;
4474
- } | null) => obj is BrandTranslation;
4475
- export declare const isBrand: (obj?: {
4476
- __typename?: any;
4477
- } | null) => obj is Brand;
4478
- export declare const isStravaTpiRideDto: (obj?: {
4479
- __typename?: any;
4480
- } | null) => obj is StravaTpiRideDto;
4481
- export declare const isStravaTpiRunDto: (obj?: {
6094
+ export declare const isIndustry: (obj?: {
4482
6095
  __typename?: any;
4483
- } | null) => obj is StravaTpiRunDto;
4484
- export declare const isStravaTpiSwimDto: (obj?: {
6096
+ } | null) => obj is Industry;
6097
+ export declare const isSponsorStats: (obj?: {
4485
6098
  __typename?: any;
4486
- } | null) => obj is StravaTpiSwimDto;
6099
+ } | null) => obj is SponsorStats;
4487
6100
  export declare const isCity: (obj?: {
4488
6101
  __typename?: any;
4489
6102
  } | null) => obj is City;
@@ -4523,18 +6136,6 @@ export declare const isAthleteCriteria: (obj?: {
4523
6136
  export declare const isQualificationTypeUnion: (obj?: {
4524
6137
  __typename?: any;
4525
6138
  } | null) => obj is QualificationTypeUnion;
4526
- export declare const isIndustry: (obj?: {
4527
- __typename?: any;
4528
- } | null) => obj is Industry;
4529
- export declare const isSponsorStats: (obj?: {
4530
- __typename?: any;
4531
- } | null) => obj is SponsorStats;
4532
- export declare const isSponsorBrand: (obj?: {
4533
- __typename?: any;
4534
- } | null) => obj is SponsorBrand;
4535
- export declare const isSponsor: (obj?: {
4536
- __typename?: any;
4537
- } | null) => obj is Sponsor;
4538
6139
  export declare const isSponsorshipItem: (obj?: {
4539
6140
  __typename?: any;
4540
6141
  } | null) => obj is SponsorshipItem;
@@ -4553,6 +6154,30 @@ export declare const isSponsorshipTranslation: (obj?: {
4553
6154
  export declare const isSponsorship: (obj?: {
4554
6155
  __typename?: any;
4555
6156
  } | null) => obj is Sponsorship;
6157
+ export declare const isSponsor: (obj?: {
6158
+ __typename?: any;
6159
+ } | null) => obj is Sponsor;
6160
+ export declare const isSponsorBrand: (obj?: {
6161
+ __typename?: any;
6162
+ } | null) => obj is SponsorBrand;
6163
+ export declare const isBrandStats: (obj?: {
6164
+ __typename?: any;
6165
+ } | null) => obj is BrandStats;
6166
+ export declare const isBrandTranslation: (obj?: {
6167
+ __typename?: any;
6168
+ } | null) => obj is BrandTranslation;
6169
+ export declare const isBrand: (obj?: {
6170
+ __typename?: any;
6171
+ } | null) => obj is Brand;
6172
+ export declare const isStravaTpiRideDto: (obj?: {
6173
+ __typename?: any;
6174
+ } | null) => obj is StravaTpiRideDto;
6175
+ export declare const isStravaTpiRunDto: (obj?: {
6176
+ __typename?: any;
6177
+ } | null) => obj is StravaTpiRunDto;
6178
+ export declare const isStravaTpiSwimDto: (obj?: {
6179
+ __typename?: any;
6180
+ } | null) => obj is StravaTpiSwimDto;
4556
6181
  export declare const isFollowStats: (obj?: {
4557
6182
  __typename?: any;
4558
6183
  } | null) => obj is FollowStats;
@@ -4649,9 +6274,9 @@ export declare const isStripeAccount: (obj?: {
4649
6274
  export declare const isStripeAccountReference: (obj?: {
4650
6275
  __typename?: any;
4651
6276
  } | null) => obj is StripeAccountReference;
4652
- export declare const isHistoricalScoreType: (obj?: {
6277
+ export declare const isHistoricalScore: (obj?: {
4653
6278
  __typename?: any;
4654
- } | null) => obj is HistoricalScoreType;
6279
+ } | null) => obj is HistoricalScore;
4655
6280
  export declare const isAthleteReference: (obj?: {
4656
6281
  __typename?: any;
4657
6282
  } | null) => obj is AthleteReference;
@@ -4667,9 +6292,6 @@ export declare const isFundingCheckoutSessionData: (obj?: {
4667
6292
  export declare const isSponsorAthleteInvitation: (obj?: {
4668
6293
  __typename?: any;
4669
6294
  } | null) => obj is SponsorAthleteInvitation;
4670
- export declare const isStravaToken: (obj?: {
4671
- __typename?: any;
4672
- } | null) => obj is StravaToken;
4673
6295
  export declare const isStripeSession: (obj?: {
4674
6296
  __typename?: any;
4675
6297
  } | null) => obj is StripeSession;
@@ -4751,12 +6373,63 @@ export declare const isDonation: (obj?: {
4751
6373
  export declare const isMember: (obj?: {
4752
6374
  __typename?: any;
4753
6375
  } | null) => obj is Member;
6376
+ export declare const isAdminUserView: (obj?: {
6377
+ __typename?: any;
6378
+ } | null) => obj is AdminUserView;
6379
+ export declare const isAdminTransactionFundingDetails: (obj?: {
6380
+ __typename?: any;
6381
+ } | null) => obj is AdminTransactionFundingDetails;
6382
+ export declare const isAdminTransactionView: (obj?: {
6383
+ __typename?: any;
6384
+ } | null) => obj is AdminTransactionView;
6385
+ export declare const isOffer: (obj?: {
6386
+ __typename?: any;
6387
+ } | null) => obj is Offer;
6388
+ export declare const isPromotion: (obj?: {
6389
+ __typename?: any;
6390
+ } | null) => obj is Promotion;
6391
+ export declare const isCouponCode: (obj?: {
6392
+ __typename?: any;
6393
+ } | null) => obj is CouponCode;
6394
+ export declare const isCoupon: (obj?: {
6395
+ __typename?: any;
6396
+ } | null) => obj is Coupon;
6397
+ export declare const isOfferClaim: (obj?: {
6398
+ __typename?: any;
6399
+ } | null) => obj is OfferClaim;
6400
+ export declare const isEligibilityResult: (obj?: {
6401
+ __typename?: any;
6402
+ } | null) => obj is EligibilityResult;
6403
+ export declare const isEnhancedPaginationInfoType: (obj?: {
6404
+ __typename?: any;
6405
+ } | null) => obj is EnhancedPaginationInfoType;
6406
+ export declare const isOfferWithEligibility: (obj?: {
6407
+ __typename?: any;
6408
+ } | null) => obj is OfferWithEligibility;
6409
+ export declare const isPaginatedOffersWithEligibility: (obj?: {
6410
+ __typename?: any;
6411
+ } | null) => obj is PaginatedOffersWithEligibility;
6412
+ export declare const isPaginatedBrands: (obj?: {
6413
+ __typename?: any;
6414
+ } | null) => obj is PaginatedBrands;
6415
+ export declare const isPaginatedSponsors: (obj?: {
6416
+ __typename?: any;
6417
+ } | null) => obj is PaginatedSponsors;
4754
6418
  export declare const isEditValueResponse: (obj?: {
4755
6419
  __typename?: any;
4756
6420
  } | null) => obj is EditValueResponse;
4757
6421
  export declare const isDeleteSingleValueResponse: (obj?: {
4758
6422
  __typename?: any;
4759
6423
  } | null) => obj is DeleteSingleValueResponse;
6424
+ export declare const isScoreRefreshDetail: (obj?: {
6425
+ __typename?: any;
6426
+ } | null) => obj is ScoreRefreshDetail;
6427
+ export declare const isForceScoreRefreshResult: (obj?: {
6428
+ __typename?: any;
6429
+ } | null) => obj is ForceScoreRefreshResult;
6430
+ export declare const isForceScoreRefreshResponse: (obj?: {
6431
+ __typename?: any;
6432
+ } | null) => obj is ForceScoreRefreshResponse;
4760
6433
  export declare const isSortOrder: (obj?: {
4761
6434
  __typename?: any;
4762
6435
  } | null) => obj is SortOrder;
@@ -4781,21 +6454,129 @@ export declare const isCompetitionDeleteVerificationReason: (obj?: {
4781
6454
  export declare const isCompetitionDeleteVerificationResponse: (obj?: {
4782
6455
  __typename?: any;
4783
6456
  } | null) => obj is CompetitionDeleteVerificationResponse;
6457
+ export declare const isHistoricalScoresPeriod: (obj?: {
6458
+ __typename?: any;
6459
+ } | null) => obj is HistoricalScoresPeriod;
4784
6460
  export declare const isStripeObject: (obj?: {
4785
6461
  __typename?: any;
4786
6462
  } | null) => obj is StripeObject;
6463
+ export declare const isScoreRefreshCapability: (obj?: {
6464
+ __typename?: any;
6465
+ } | null) => obj is ScoreRefreshCapability;
6466
+ export declare const isCheckScoreRefreshCapabilityResponse: (obj?: {
6467
+ __typename?: any;
6468
+ } | null) => obj is CheckScoreRefreshCapabilityResponse;
6469
+ export declare const isPaginatedSports: (obj?: {
6470
+ __typename?: any;
6471
+ } | null) => obj is PaginatedSports;
4787
6472
  export declare const isUserImages: (obj?: {
4788
6473
  __typename?: any;
4789
6474
  } | null) => obj is UserImages;
4790
6475
  export declare const isValidatedToken: (obj?: {
4791
6476
  __typename?: any;
4792
6477
  } | null) => obj is ValidatedToken;
6478
+ export declare const isDeleteVtxUserResponse: (obj?: {
6479
+ __typename?: any;
6480
+ } | null) => obj is DeleteVtxUserResponse;
6481
+ export declare const isPaginatedUsers: (obj?: {
6482
+ __typename?: any;
6483
+ } | null) => obj is PaginatedUsers;
6484
+ export declare const isTransactionDetails: (obj?: {
6485
+ __typename?: any;
6486
+ } | null) => obj is TransactionDetails;
6487
+ export declare const isPaginatedEvents: (obj?: {
6488
+ __typename?: any;
6489
+ } | null) => obj is PaginatedEvents;
6490
+ export declare const isCurrencyAmountType: (obj?: {
6491
+ __typename?: any;
6492
+ } | null) => obj is CurrencyAmountType;
6493
+ export declare const isStripeBalance: (obj?: {
6494
+ __typename?: any;
6495
+ } | null) => obj is StripeBalance;
4793
6496
  export declare const isStripeTransfer: (obj?: {
4794
6497
  __typename?: any;
4795
6498
  } | null) => obj is StripeTransfer;
4796
6499
  export declare const isUserDomain: (obj?: {
4797
6500
  __typename?: any;
4798
6501
  } | null) => obj is UserDomain;
6502
+ export declare const isPaginatedTransactions: (obj?: {
6503
+ __typename?: any;
6504
+ } | null) => obj is PaginatedTransactions;
6505
+ export declare const isPaginatedOffers: (obj?: {
6506
+ __typename?: any;
6507
+ } | null) => obj is PaginatedOffers;
6508
+ export declare const isUploadResult: (obj?: {
6509
+ __typename?: any;
6510
+ } | null) => obj is UploadResult;
6511
+ export declare const isOfferAvailability: (obj?: {
6512
+ __typename?: any;
6513
+ } | null) => obj is OfferAvailability;
6514
+ export declare const isLeaderboardEntry: (obj?: {
6515
+ __typename?: any;
6516
+ } | null) => obj is LeaderboardEntry;
6517
+ export declare const isLeaderboardPagination: (obj?: {
6518
+ __typename?: any;
6519
+ } | null) => obj is LeaderboardPagination;
6520
+ export declare const isLeaderboardFilters: (obj?: {
6521
+ __typename?: any;
6522
+ } | null) => obj is LeaderboardFilters;
6523
+ export declare const isLeaderboardResponse: (obj?: {
6524
+ __typename?: any;
6525
+ } | null) => obj is LeaderboardResponse;
6526
+ export declare const isUserRank: (obj?: {
6527
+ __typename?: any;
6528
+ } | null) => obj is UserRank;
6529
+ export declare const isDashboardSummary: (obj?: {
6530
+ __typename?: any;
6531
+ } | null) => obj is DashboardSummary;
6532
+ export declare const isScoreHistoryEntry: (obj?: {
6533
+ __typename?: any;
6534
+ } | null) => obj is ScoreHistoryEntry;
6535
+ export declare const isRankHistoryEntry: (obj?: {
6536
+ __typename?: any;
6537
+ } | null) => obj is RankHistoryEntry;
6538
+ export declare const isRankContext: (obj?: {
6539
+ __typename?: any;
6540
+ } | null) => obj is RankContext;
6541
+ export declare const isActivityEntry: (obj?: {
6542
+ __typename?: any;
6543
+ } | null) => obj is ActivityEntry;
6544
+ export declare const isActivitiesResponse: (obj?: {
6545
+ __typename?: any;
6546
+ } | null) => obj is ActivitiesResponse;
6547
+ export declare const isMetricComparison: (obj?: {
6548
+ __typename?: any;
6549
+ } | null) => obj is MetricComparison;
6550
+ export declare const isScoreInfo: (obj?: {
6551
+ __typename?: any;
6552
+ } | null) => obj is ScoreInfo;
6553
+ export declare const isActivityDetail: (obj?: {
6554
+ __typename?: any;
6555
+ } | null) => obj is ActivityDetail;
6556
+ export declare const isTopMetric: (obj?: {
6557
+ __typename?: any;
6558
+ } | null) => obj is TopMetric;
6559
+ export declare const isComponentSummary: (obj?: {
6560
+ __typename?: any;
6561
+ } | null) => obj is ComponentSummary;
6562
+ export declare const isActivityDateEntry: (obj?: {
6563
+ __typename?: any;
6564
+ } | null) => obj is ActivityDateEntry;
6565
+ export declare const isActivityDatesResponse: (obj?: {
6566
+ __typename?: any;
6567
+ } | null) => obj is ActivityDatesResponse;
6568
+ export declare const isSocialAggregateType: (obj?: {
6569
+ __typename?: any;
6570
+ } | null) => obj is SocialAggregateType;
6571
+ export declare const isPostMetricType: (obj?: {
6572
+ __typename?: any;
6573
+ } | null) => obj is PostMetricType;
6574
+ export declare const isAveragesType: (obj?: {
6575
+ __typename?: any;
6576
+ } | null) => obj is AveragesType;
6577
+ export declare const isPostComparisonResultType: (obj?: {
6578
+ __typename?: any;
6579
+ } | null) => obj is PostComparisonResultType;
4799
6580
  export declare const isQuery: (obj?: {
4800
6581
  __typename?: any;
4801
6582
  } | null) => obj is Query;
@@ -4814,14 +6595,62 @@ export declare const enumFundingMode: {
4814
6595
  SINGLE_BUDGET: "SINGLE_BUDGET";
4815
6596
  COMPETITION_BUDGETS: "COMPETITION_BUDGETS";
4816
6597
  };
6598
+ export declare const enumEligibilityStatus: {
6599
+ ELIGIBLE: "ELIGIBLE";
6600
+ NOT_ELIGIBLE: "NOT_ELIGIBLE";
6601
+ UNKNOWN: "UNKNOWN";
6602
+ };
6603
+ export declare const enumForceScoreRefreshStatus: {
6604
+ success: "success";
6605
+ failed: "failed";
6606
+ skipped: "skipped";
6607
+ };
4817
6608
  export declare const enumStripeTransferStatus: {
4818
6609
  not_applicable: "not_applicable";
4819
6610
  pending: "pending";
4820
6611
  failed: "failed";
4821
6612
  completed: "completed";
4822
6613
  };
6614
+ export declare const enumActivityCategory: {
6615
+ TRAINING: "TRAINING";
6616
+ SOCIAL: "SOCIAL";
6617
+ COMPETITION: "COMPETITION";
6618
+ };
6619
+ export declare const enumPlatform: {
6620
+ INSTAGRAM: "INSTAGRAM";
6621
+ TIKTOK: "TIKTOK";
6622
+ YOUTUBE: "YOUTUBE";
6623
+ };
6624
+ export declare const enumContentType: {
6625
+ POST: "POST";
6626
+ REEL: "REEL";
6627
+ LIVE: "LIVE";
6628
+ SHORT: "SHORT";
6629
+ VIDEO: "VIDEO";
6630
+ };
6631
+ export declare const enumPeriodType: {
6632
+ DAILY: "DAILY";
6633
+ WEEKLY: "WEEKLY";
6634
+ };
6635
+ export declare const enumTimeRange: {
6636
+ SEVEN_DAYS: "SEVEN_DAYS";
6637
+ THIRTY_DAYS: "THIRTY_DAYS";
6638
+ NINETY_DAYS: "NINETY_DAYS";
6639
+ ONE_YEAR: "ONE_YEAR";
6640
+ ALL_TIME: "ALL_TIME";
6641
+ };
4823
6642
  export declare const enumDonationMode: {
4824
6643
  PUBLIC: "PUBLIC";
4825
6644
  PRIVATE: "PRIVATE";
4826
6645
  ANONYMOUS: "ANONYMOUS";
4827
6646
  };
6647
+ export declare const enumOfferClaimStatus: {
6648
+ ACTIVE: "ACTIVE";
6649
+ EXPIRED: "EXPIRED";
6650
+ ALL: "ALL";
6651
+ };
6652
+ export declare const enumPostSortOption: {
6653
+ RECENT: "RECENT";
6654
+ TOP: "TOP";
6655
+ UNDERPERFORMING: "UNDERPERFORMING";
6656
+ };