@vertikalx/vtx-backend-client 3.0.0-dev.23 → 3.0.0-dev.25

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,9 +3,9 @@ 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
- Int: number;
9
9
  };
10
10
  export interface User {
11
11
  _id: Scalars['String'];
@@ -312,108 +312,17 @@ export interface CodeVerificationResponse {
312
312
  error: (ErrorInfo | null);
313
313
  __typename: 'CodeVerificationResponse';
314
314
  }
315
- export interface BrandStats {
316
- campaigns: (Scalars['Float'] | null);
317
- sponsorships: (Scalars['Float'] | null);
318
- sports: (Scalars['Float'] | null);
319
- athletes: (Scalars['Float'] | null);
320
- __typename: 'BrandStats';
321
- }
322
- export interface BrandTranslation {
323
- _id: Scalars['String'];
324
- brandId: Scalars['String'];
325
- language: Scalars['String'];
326
- name: (Scalars['String'] | null);
327
- slogan: (Scalars['String'] | null);
328
- description: (Scalars['String'] | null);
329
- logo: (AWSS3File | null);
330
- banner: (AWSS3File | null);
331
- __typename: 'BrandTranslation';
332
- }
333
- export interface Brand {
315
+ export interface Industry {
334
316
  _id: Scalars['String'];
335
317
  name: Scalars['String'];
336
- slogan: (Scalars['String'] | null);
337
- website: (Scalars['String'] | null);
338
- description: (Scalars['String'] | null);
339
- approved: Scalars['Boolean'];
340
- published: Scalars['Boolean'];
341
- logo: (AWSS3File | null);
342
- banner: (AWSS3File | null);
343
- stats: (BrandStats | null);
344
- operatorIds: (Scalars['String'][] | null);
345
- translations: (BrandTranslation[] | null);
346
- __typename: 'Brand';
347
- }
348
- export interface StravaTpiRideDto {
349
- distanceKm: Scalars['Float'];
350
- distanceKmLast: Scalars['Float'];
351
- elapsedTimeMin: Scalars['Float'];
352
- elapsedTimeMinLast: Scalars['Float'];
353
- averageSpeedKmh: Scalars['Float'];
354
- averageSpeedKmhLast: Scalars['Float'];
355
- maxSpeedKmh: Scalars['Float'];
356
- maxSpeedKmhLast: Scalars['Float'];
357
- averageHeartRateBpm: Scalars['Float'];
358
- averageHeartRateBpmLast: Scalars['Float'];
359
- maxHeartRateBpm: Scalars['Float'];
360
- maxHeartRateBpmLast: Scalars['Float'];
361
- averageCadenceStm: Scalars['Float'];
362
- averageCadenceStmLast: Scalars['Float'];
363
- lastDate: (Scalars['DateTime'] | null);
364
- country: (Scalars['String'] | null);
365
- state: (Scalars['String'] | null);
366
- city: (Scalars['String'] | null);
367
- tpi: Scalars['Float'];
368
- __typename: 'StravaTpiRideDto';
369
- }
370
- export interface StravaTpiRunDto {
371
- distanceKm: Scalars['Float'];
372
- distanceKmLast: Scalars['Float'];
373
- elapsedTimeMin: Scalars['Float'];
374
- elapsedTimeMinLast: Scalars['Float'];
375
- averageSpeedKmh: Scalars['Float'];
376
- averageSpeedKmhLast: Scalars['Float'];
377
- maxSpeedKmh: Scalars['Float'];
378
- maxSpeedKmhLast: Scalars['Float'];
379
- averageHeartRateBpm: Scalars['Float'];
380
- averageHeartRateBpmLast: Scalars['Float'];
381
- maxHeartRateBpm: Scalars['Float'];
382
- maxHeartRateBpmLast: Scalars['Float'];
383
- averageCadenceStm: Scalars['Float'];
384
- averageCadenceStmLast: Scalars['Float'];
385
- elevHigh: Scalars['Float'];
386
- elevHighLast: Scalars['Float'];
387
- elevLow: Scalars['Float'];
388
- elevLowLast: Scalars['Float'];
389
- lastDate: (Scalars['DateTime'] | null);
390
- country: (Scalars['String'] | null);
391
- state: (Scalars['String'] | null);
392
- city: (Scalars['String'] | null);
393
- tpi: Scalars['Float'];
394
- __typename: 'StravaTpiRunDto';
318
+ __typename: 'Industry';
395
319
  }
396
- export interface StravaTpiSwimDto {
397
- distanceKm: Scalars['Float'];
398
- distanceKmLast: Scalars['Float'];
399
- elapsedTimeMin: Scalars['Float'];
400
- elapsedTimeMinLast: Scalars['Float'];
401
- averageSpeedKmh: Scalars['Float'];
402
- averageSpeedKmhLast: Scalars['Float'];
403
- maxSpeedKmh: Scalars['Float'];
404
- maxSpeedKmhLast: Scalars['Float'];
405
- averageHeartRateBpm: Scalars['Float'];
406
- averageHeartRateBpmLast: Scalars['Float'];
407
- maxHeartRateBpm: Scalars['Float'];
408
- maxHeartRateBpmLast: Scalars['Float'];
409
- averageCadenceStm: Scalars['Float'];
410
- averageCadenceStmLast: Scalars['Float'];
411
- lastDate: (Scalars['DateTime'] | null);
412
- country: (Scalars['String'] | null);
413
- state: (Scalars['String'] | null);
414
- city: (Scalars['String'] | null);
415
- tpi: Scalars['Float'];
416
- __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';
417
326
  }
418
327
  export interface City {
419
328
  _id: Scalars['String'];
@@ -495,53 +404,14 @@ export interface AthleteCriteria {
495
404
  _id: Scalars['String'];
496
405
  label: (Scalars['String'] | null);
497
406
  qualifications: (QualificationTypeUnion[] | null);
407
+ minAge: (Scalars['Int'] | null);
408
+ maxAge: (Scalars['Int'] | null);
409
+ allowedGenders: (Scalars['String'][] | null);
498
410
  __typename: 'AthleteCriteria';
499
411
  }
500
412
  export type QualificationTypeUnion = (AgeQualification | GenderQualification | ScoreQualification | LocationQualification | NationalityQualification | DistanceQualification | SportsQualification | SportsLevelQualification) & {
501
413
  __isUnion?: true;
502
414
  };
503
- export interface Industry {
504
- _id: Scalars['String'];
505
- name: Scalars['String'];
506
- __typename: 'Industry';
507
- }
508
- export interface SponsorStats {
509
- sponsoredAthletes: Scalars['Float'];
510
- totalBrands: Scalars['Float'];
511
- activeCampaigns: Scalars['Float'];
512
- activeSponsorships: Scalars['Float'];
513
- __typename: 'SponsorStats';
514
- }
515
- export interface SponsorBrand {
516
- _id: Scalars['String'];
517
- name: Scalars['String'];
518
- slogan: (Scalars['String'] | null);
519
- website: (Scalars['String'] | null);
520
- description: (Scalars['String'] | null);
521
- approved: Scalars['Boolean'];
522
- published: Scalars['Boolean'];
523
- logo: (AWSS3File | null);
524
- banner: (AWSS3File | null);
525
- stats: (BrandStats | null);
526
- operatorIds: (Scalars['String'][] | null);
527
- translations: (BrandTranslation[] | null);
528
- sponsorBrandId: Scalars['String'];
529
- authorizedUse: Scalars['Boolean'];
530
- isAuthorizer: Scalars['Boolean'];
531
- __typename: 'SponsorBrand';
532
- }
533
- export interface Sponsor {
534
- _id: Scalars['String'];
535
- name: Scalars['String'];
536
- description: Scalars['String'];
537
- tenant: Tenant;
538
- industry: (Industry | null);
539
- stats: (SponsorStats | null);
540
- brands: (SponsorBrand[] | null);
541
- sponsorships: (Sponsorship[] | null);
542
- approved: Scalars['Boolean'];
543
- __typename: 'Sponsor';
544
- }
545
415
  export interface SponsorshipItem {
546
416
  _id: Scalars['String'];
547
417
  quantity: Scalars['Float'];
@@ -611,6 +481,130 @@ export interface Sponsorship {
611
481
  translations: (SponsorshipTranslation[] | null);
612
482
  __typename: 'Sponsorship';
613
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
+ }
614
608
  export interface FollowStats {
615
609
  followers: Scalars['Float'];
616
610
  followed: Scalars['Float'];
@@ -1342,6 +1336,157 @@ export interface AdminTransactionView {
1342
1336
  fundingDetails: (AdminTransactionFundingDetails | null);
1343
1337
  __typename: 'AdminTransactionView';
1344
1338
  }
1339
+ export interface Offer {
1340
+ _id: Scalars['String'];
1341
+ name: (Scalars['String'] | null);
1342
+ label: Scalars['String'];
1343
+ decription: (Scalars['String'] | null);
1344
+ offerImage: (AWSS3File | null);
1345
+ type: Scalars['String'];
1346
+ status: Scalars['String'];
1347
+ discountType: Scalars['String'];
1348
+ discountTypeData: Scalars['String'];
1349
+ conditions: (Scalars['String'][] | null);
1350
+ brand: Brand;
1351
+ sponsor: Sponsor;
1352
+ criteria: (AthleteCriteria | null);
1353
+ dateStart: (Scalars['DateTime'] | null);
1354
+ dateEnd: (Scalars['DateTime'] | null);
1355
+ dateCreated: Scalars['DateTime'];
1356
+ totalCodes: Scalars['Int'];
1357
+ availableCodes: Scalars['Int'];
1358
+ availableCountries: (Country[] | null);
1359
+ disclaimer: (Scalars['String'] | null);
1360
+ genericCode: (Scalars['String'] | null);
1361
+ featured: Scalars['Boolean'];
1362
+ __typename: 'Offer';
1363
+ }
1364
+ export interface Promotion {
1365
+ _id: Scalars['String'];
1366
+ name: (Scalars['String'] | null);
1367
+ label: Scalars['String'];
1368
+ decription: (Scalars['String'] | null);
1369
+ offerImage: (AWSS3File | null);
1370
+ type: Scalars['String'];
1371
+ status: Scalars['String'];
1372
+ discountType: Scalars['String'];
1373
+ discountTypeData: Scalars['String'];
1374
+ conditions: (Scalars['String'][] | null);
1375
+ brand: Brand;
1376
+ sponsor: Sponsor;
1377
+ criteria: (AthleteCriteria | null);
1378
+ dateStart: (Scalars['DateTime'] | null);
1379
+ dateEnd: (Scalars['DateTime'] | null);
1380
+ dateCreated: Scalars['DateTime'];
1381
+ totalCodes: Scalars['Int'];
1382
+ availableCodes: Scalars['Int'];
1383
+ availableCountries: (Country[] | null);
1384
+ disclaimer: (Scalars['String'] | null);
1385
+ genericCode: Scalars['String'];
1386
+ featured: Scalars['Boolean'];
1387
+ __typename: 'Promotion';
1388
+ }
1389
+ export interface CouponCode {
1390
+ _id: Scalars['String'];
1391
+ couponId: Scalars['String'];
1392
+ code: Scalars['String'];
1393
+ expires: (Scalars['DateTime'] | null);
1394
+ dateCreated: Scalars['DateTime'];
1395
+ __typename: 'CouponCode';
1396
+ }
1397
+ export interface Coupon {
1398
+ _id: Scalars['String'];
1399
+ name: (Scalars['String'] | null);
1400
+ label: Scalars['String'];
1401
+ decription: (Scalars['String'] | null);
1402
+ offerImage: (AWSS3File | null);
1403
+ type: Scalars['String'];
1404
+ status: Scalars['String'];
1405
+ discountType: Scalars['String'];
1406
+ discountTypeData: Scalars['String'];
1407
+ conditions: (Scalars['String'][] | null);
1408
+ brand: Brand;
1409
+ sponsor: Sponsor;
1410
+ criteria: (AthleteCriteria | null);
1411
+ dateStart: (Scalars['DateTime'] | null);
1412
+ dateEnd: (Scalars['DateTime'] | null);
1413
+ dateCreated: Scalars['DateTime'];
1414
+ totalCodes: Scalars['Int'];
1415
+ availableCodes: Scalars['Int'];
1416
+ availableCountries: (Country[] | null);
1417
+ disclaimer: (Scalars['String'] | null);
1418
+ genericCode: (Scalars['String'] | null);
1419
+ featured: Scalars['Boolean'];
1420
+ couponCodes: (CouponCode[] | null);
1421
+ __typename: 'Coupon';
1422
+ }
1423
+ export interface OfferClaim {
1424
+ _id: Scalars['String'];
1425
+ offer: Offer;
1426
+ athlete: Athlete;
1427
+ claimedAt: Scalars['DateTime'];
1428
+ code: (Scalars['String'] | null);
1429
+ __typename: 'OfferClaim';
1430
+ }
1431
+ export interface EligibilityResult {
1432
+ status: EligibilityStatus;
1433
+ failedCriteria: Scalars['String'][];
1434
+ missingFields: Scalars['String'][];
1435
+ messages: Scalars['String'][];
1436
+ __typename: 'EligibilityResult';
1437
+ }
1438
+ export type EligibilityStatus = 'ELIGIBLE' | 'NOT_ELIGIBLE' | 'UNKNOWN';
1439
+ export interface EnhancedPaginationInfoType {
1440
+ currentPage: Scalars['Int'];
1441
+ totalPages: Scalars['Int'];
1442
+ totalItems: Scalars['Int'];
1443
+ itemsPerPage: Scalars['Int'];
1444
+ hasNextPage: Scalars['Boolean'];
1445
+ hasPreviousPage: Scalars['Boolean'];
1446
+ startIndex: Scalars['Int'];
1447
+ endIndex: Scalars['Int'];
1448
+ __typename: 'EnhancedPaginationInfoType';
1449
+ }
1450
+ export interface OfferWithEligibility {
1451
+ _id: Scalars['String'];
1452
+ name: (Scalars['String'] | null);
1453
+ label: Scalars['String'];
1454
+ decription: (Scalars['String'] | null);
1455
+ offerImage: (AWSS3File | null);
1456
+ type: Scalars['String'];
1457
+ status: Scalars['String'];
1458
+ discountType: Scalars['String'];
1459
+ discountTypeData: Scalars['String'];
1460
+ conditions: (Scalars['String'][] | null);
1461
+ brand: Brand;
1462
+ sponsor: Sponsor;
1463
+ criteria: (AthleteCriteria | null);
1464
+ dateStart: (Scalars['DateTime'] | null);
1465
+ dateEnd: (Scalars['DateTime'] | null);
1466
+ dateCreated: Scalars['DateTime'];
1467
+ totalCodes: Scalars['Int'];
1468
+ availableCodes: Scalars['Int'];
1469
+ availableCountries: (Country[] | null);
1470
+ disclaimer: (Scalars['String'] | null);
1471
+ featured: Scalars['Boolean'];
1472
+ eligibility: EligibilityResult;
1473
+ __typename: 'OfferWithEligibility';
1474
+ }
1475
+ export interface PaginatedOffersWithEligibility {
1476
+ items: OfferWithEligibility[];
1477
+ pagination: EnhancedPaginationInfoType;
1478
+ __typename: 'PaginatedOffersWithEligibility';
1479
+ }
1480
+ export interface PaginatedBrands {
1481
+ items: Brand[];
1482
+ pagination: EnhancedPaginationInfoType;
1483
+ __typename: 'PaginatedBrands';
1484
+ }
1485
+ export interface PaginatedSponsors {
1486
+ items: Sponsor[];
1487
+ pagination: EnhancedPaginationInfoType;
1488
+ __typename: 'PaginatedSponsors';
1489
+ }
1345
1490
  export interface EditValueResponse {
1346
1491
  field: Scalars['String'];
1347
1492
  oldValue: (Scalars['String'] | null);
@@ -1355,20 +1500,28 @@ export interface DeleteSingleValueResponse {
1355
1500
  failureReason: (ErrorType | null);
1356
1501
  __typename: 'DeleteSingleValueResponse';
1357
1502
  }
1358
- export interface ForceScoreRefreshResultType {
1503
+ export interface ScoreRefreshDetail {
1504
+ status: ForceScoreRefreshStatus;
1505
+ message: (Scalars['String'] | null);
1506
+ __typename: 'ScoreRefreshDetail';
1507
+ }
1508
+ export type ForceScoreRefreshStatus = 'success' | 'failed' | 'skipped';
1509
+ export interface ForceScoreRefreshResult {
1359
1510
  athleteId: Scalars['String'];
1360
1511
  athleteName: (Scalars['String'] | null);
1361
1512
  status: ForceScoreRefreshStatus;
1362
1513
  message: (Scalars['String'] | null);
1363
- __typename: 'ForceScoreRefreshResultType';
1514
+ tpi: (ScoreRefreshDetail | null);
1515
+ spi: (ScoreRefreshDetail | null);
1516
+ api: (ScoreRefreshDetail | null);
1517
+ __typename: 'ForceScoreRefreshResult';
1364
1518
  }
1365
- export type ForceScoreRefreshStatus = 'success' | 'failed' | 'skipped';
1366
- export interface ForceScoreRefreshResponseType {
1367
- results: ForceScoreRefreshResultType[];
1519
+ export interface ForceScoreRefreshResponse {
1520
+ results: ForceScoreRefreshResult[];
1368
1521
  successCount: Scalars['Float'];
1369
1522
  failureCount: Scalars['Float'];
1370
1523
  skippedCount: Scalars['Float'];
1371
- __typename: 'ForceScoreRefreshResponseType';
1524
+ __typename: 'ForceScoreRefreshResponse';
1372
1525
  }
1373
1526
  export interface SortOrder {
1374
1527
  sortField: Scalars['String'];
@@ -1432,26 +1585,30 @@ export interface HistoricalScoresPeriod {
1432
1585
  apiScores: (HistoricalScore[] | null);
1433
1586
  __typename: 'HistoricalScoresPeriod';
1434
1587
  }
1435
- export interface StripeObject {
1436
- type: Scalars['String'];
1437
- json: Scalars['JSONObject'];
1438
- __typename: 'StripeObject';
1439
- }
1440
- export interface EnhancedPaginationInfoType {
1441
- currentPage: Scalars['Int'];
1442
- totalPages: Scalars['Int'];
1443
- totalItems: Scalars['Int'];
1444
- itemsPerPage: Scalars['Int'];
1445
- hasNextPage: Scalars['Boolean'];
1446
- hasPreviousPage: Scalars['Boolean'];
1447
- startIndex: Scalars['Int'];
1448
- endIndex: Scalars['Int'];
1449
- __typename: 'EnhancedPaginationInfoType';
1588
+ export interface StripeObject {
1589
+ type: Scalars['String'];
1590
+ json: Scalars['JSONObject'];
1591
+ __typename: 'StripeObject';
1450
1592
  }
1451
- export interface PaginatedSportsType {
1593
+ export interface ScoreRefreshCapability {
1594
+ athleteId: Scalars['String'];
1595
+ athleteName: (Scalars['String'] | null);
1596
+ canRefreshTpi: Scalars['Boolean'];
1597
+ canRefreshSpi: Scalars['Boolean'];
1598
+ canRefreshApi: Scalars['Boolean'];
1599
+ tpiReason: (Scalars['String'] | null);
1600
+ spiReason: (Scalars['String'] | null);
1601
+ apiReason: (Scalars['String'] | null);
1602
+ __typename: 'ScoreRefreshCapability';
1603
+ }
1604
+ export interface CheckScoreRefreshCapabilityResponse {
1605
+ capabilities: ScoreRefreshCapability[];
1606
+ __typename: 'CheckScoreRefreshCapabilityResponse';
1607
+ }
1608
+ export interface PaginatedSports {
1452
1609
  items: Sport[];
1453
1610
  pagination: EnhancedPaginationInfoType;
1454
- __typename: 'PaginatedSportsType';
1611
+ __typename: 'PaginatedSports';
1455
1612
  }
1456
1613
  export interface UserImages {
1457
1614
  profilePictureUrl: (Scalars['String'] | null);
@@ -1477,10 +1634,10 @@ export interface DeleteVtxUserResponse {
1477
1634
  errorMessage: (Scalars['String'] | null);
1478
1635
  __typename: 'DeleteVtxUserResponse';
1479
1636
  }
1480
- export interface PaginatedUsersType {
1637
+ export interface PaginatedUsers {
1481
1638
  items: AdminUserView[];
1482
1639
  pagination: EnhancedPaginationInfoType;
1483
- __typename: 'PaginatedUsersType';
1640
+ __typename: 'PaginatedUsers';
1484
1641
  }
1485
1642
  export interface TransactionDetails {
1486
1643
  stripeCheckoutSessionId: Scalars['String'];
@@ -1502,23 +1659,23 @@ export interface TransactionDetails {
1502
1659
  athleteDonationReceipt: (Receipt | null);
1503
1660
  __typename: 'TransactionDetails';
1504
1661
  }
1505
- export interface PaginatedEventsType {
1662
+ export interface PaginatedEvents {
1506
1663
  items: SportsEvent[];
1507
1664
  pagination: EnhancedPaginationInfoType;
1508
- __typename: 'PaginatedEventsType';
1665
+ __typename: 'PaginatedEvents';
1509
1666
  }
1510
1667
  export interface CurrencyAmountType {
1511
1668
  amount: Scalars['Float'];
1512
1669
  currency: Scalars['String'];
1513
1670
  __typename: 'CurrencyAmountType';
1514
1671
  }
1515
- export interface StripeBalanceType {
1672
+ export interface StripeBalance {
1516
1673
  availableUSD: Scalars['Float'];
1517
1674
  pendingUSD: Scalars['Float'];
1518
1675
  currency: Scalars['String'];
1519
1676
  availableBalances: CurrencyAmountType[];
1520
1677
  pendingBalances: CurrencyAmountType[];
1521
- __typename: 'StripeBalanceType';
1678
+ __typename: 'StripeBalance';
1522
1679
  }
1523
1680
  export interface StripeTransfer {
1524
1681
  _id: Scalars['ID'];
@@ -1542,12 +1699,29 @@ export interface UserDomain {
1542
1699
  user: (User | null);
1543
1700
  __typename: 'UserDomain';
1544
1701
  }
1545
- export interface PaginatedTransactionsType {
1702
+ export interface PaginatedTransactions {
1546
1703
  items: AdminTransactionView[];
1547
1704
  pagination: EnhancedPaginationInfoType;
1548
- __typename: 'PaginatedTransactionsType';
1705
+ __typename: 'PaginatedTransactions';
1706
+ }
1707
+ export interface PaginatedOffers {
1708
+ items: Offer[];
1709
+ pagination: EnhancedPaginationInfoType;
1710
+ __typename: 'PaginatedOffers';
1711
+ }
1712
+ export interface UploadResult {
1713
+ addedCodes: Scalars['Int'];
1714
+ duplicateCodes: Scalars['Int'];
1715
+ invalidRows: Scalars['String'][];
1716
+ __typename: 'UploadResult';
1717
+ }
1718
+ export interface OfferAvailability {
1719
+ available: Scalars['Boolean'];
1720
+ reason: (Scalars['String'] | null);
1721
+ __typename: 'OfferAvailability';
1549
1722
  }
1550
1723
  export type DonationMode = 'PUBLIC' | 'PRIVATE' | 'ANONYMOUS';
1724
+ export type OfferClaimStatus = 'ACTIVE' | 'EXPIRED' | 'ALL';
1551
1725
  export interface Query {
1552
1726
  findTenantById: Tenant;
1553
1727
  findTenantByEmail: Tenant;
@@ -1560,10 +1734,12 @@ export interface Query {
1560
1734
  industries: Industry[];
1561
1735
  findIndustryById: Industry;
1562
1736
  brands: Brand[];
1737
+ getBrandsPaginated: PaginatedBrands;
1563
1738
  getBrandByName: Brand;
1564
1739
  getBrandTranslation: BrandTranslation;
1565
1740
  existsValidSponsorForEmail: Sponsor;
1566
1741
  sponsors: Sponsor[];
1742
+ getSponsorsPaginated: PaginatedSponsors;
1567
1743
  findSponsorAthleteInvitation: SponsorAthleteInvitation;
1568
1744
  verifyAthleteCompetitionLinkedForDelete: CompetitionDeleteVerificationResponse;
1569
1745
  getAthletes: Athlete[];
@@ -1582,13 +1758,14 @@ export interface Query {
1582
1758
  queryAthleteWithFilter: AthleteQueryResponse;
1583
1759
  getPublicAthleteAlbums: Album[];
1584
1760
  screenNameAvailability: ExistValueResponse;
1761
+ checkScoreRefreshCapabilities: CheckScoreRefreshCapabilityResponse;
1585
1762
  getAthleteHistoricalScoresPeriod: HistoricalScoresPeriod;
1586
1763
  getAthleteHistoricalScores: HistoricalScore[];
1587
1764
  getMyHistoricalScoresPeriod: HistoricalScoresPeriod;
1588
1765
  getMyHistoricalScores: HistoricalScore[];
1589
1766
  getAthleteCampaigns: FundRaisingCampaign[];
1590
1767
  getSports: Sport[];
1591
- getSportsPaginated: PaginatedSportsType;
1768
+ getSportsPaginated: PaginatedSports;
1592
1769
  findSportById: Sport;
1593
1770
  getSportLevels: SportLevel[];
1594
1771
  getPublicSponsorships: Sponsorship[];
@@ -1606,10 +1783,10 @@ export interface Query {
1606
1783
  verifyCode: CodeVerificationResponse;
1607
1784
  isUserSuspended: Scalars['Boolean'];
1608
1785
  getAllUsers: AdminUserView[];
1609
- getUsersPaginated: PaginatedUsersType;
1786
+ getUsersPaginated: PaginatedUsers;
1610
1787
  getStravaLoginUrl: Scalars['String'];
1611
1788
  getSportsEvents: SportsEvent[];
1612
- getSportsEventsPaginated: PaginatedEventsType;
1789
+ getSportsEventsPaginated: PaginatedEvents;
1613
1790
  getBudgetsByAthlete: BudgetData;
1614
1791
  getDonationsByAthlete: Receipt[];
1615
1792
  getDonationsToAthlete: Donation[];
@@ -1621,8 +1798,9 @@ export interface Query {
1621
1798
  getAthleteInstagramIntegration: AthleteIntegrationReference;
1622
1799
  getAthleteIntegrations: AthleteIntegrationReference;
1623
1800
  stripeQuery: StripeObject;
1624
- getStripeBalance: StripeBalanceType;
1801
+ getStripeBalance: StripeBalance;
1625
1802
  getDatabaseTextFile: TextDatabaseFile;
1803
+ getS3UploadUrl: AWSS3UploadUrl;
1626
1804
  getReceipt: Receipt;
1627
1805
  getReceiptUrl: ReceiptUrl;
1628
1806
  getTransactionDetails: TransactionDetails;
@@ -1630,7 +1808,14 @@ export interface Query {
1630
1808
  getDonationsByMember: Donation[];
1631
1809
  getDonationsByUser: Donation[];
1632
1810
  getAllTransactions: AdminTransactionView[];
1633
- getTransactionsPaginated: PaginatedTransactionsType;
1811
+ getTransactionsPaginated: PaginatedTransactions;
1812
+ offers: Offer[];
1813
+ getOffersPaginated: PaginatedOffers;
1814
+ offersForAthlete: Offer[];
1815
+ offer: Offer;
1816
+ myOfferClaims: OfferClaim[];
1817
+ offerAvailability: OfferAvailability;
1818
+ offersWithEligibility: PaginatedOffersWithEligibility;
1634
1819
  __typename: 'Query';
1635
1820
  }
1636
1821
  export interface Mutation {
@@ -1647,9 +1832,15 @@ export interface Mutation {
1647
1832
  registerS3UploadedFile: AWSS3File;
1648
1833
  createIndustry: Industry;
1649
1834
  createBrand: Brand;
1835
+ updateBrand: Brand;
1836
+ deleteBrand: Scalars['Boolean'];
1837
+ linkBrandToSponsor: Brand;
1838
+ unlinkBrandFromSponsor: Brand;
1650
1839
  registerSponsor: Sponsor;
1651
1840
  createSponsor: Sponsor;
1652
1841
  sendAthleteInvitations: SponsorAthleteInvitation[];
1842
+ updateSponsor: Sponsor;
1843
+ deleteSponsor: Scalars['Boolean'];
1653
1844
  forceDeleteAthleteCompetition: DeleteSingleValueResponse;
1654
1845
  registerAthlete: Athlete;
1655
1846
  editProfileValue: EditValueResponse;
@@ -1665,7 +1856,7 @@ export interface Mutation {
1665
1856
  saveAthleteCompetitionResult: AthleteCompetitionResult;
1666
1857
  updateAthleteScores: Athlete;
1667
1858
  updateAthleteCompetitionScores: Athlete;
1668
- forceRefreshAthleteScores: ForceScoreRefreshResponseType;
1859
+ forceRefreshAthleteScores: ForceScoreRefreshResponse;
1669
1860
  setCurrentCampaign: FundRaisingCampaign;
1670
1861
  createSport: Sport;
1671
1862
  updateSport: Sport;
@@ -1713,6 +1904,15 @@ export interface Mutation {
1713
1904
  createStripeLoginLink: Scalars['String'];
1714
1905
  createStripeAccountLink: Scalars['String'];
1715
1906
  registerMember: Member;
1907
+ createOffer: Offer;
1908
+ updateOffer: Offer;
1909
+ deleteOffer: Scalars['Boolean'];
1910
+ setOfferStatus: Offer;
1911
+ activateOffer: Offer;
1912
+ deactivateOffer: Offer;
1913
+ claimOffer: OfferClaim;
1914
+ removeOfferClaim: Scalars['Boolean'];
1915
+ uploadCouponCodes: UploadResult;
1716
1916
  __typename: 'Mutation';
1717
1917
  }
1718
1918
  export interface UserGenqlSelection {
@@ -2053,112 +2253,17 @@ export interface CodeVerificationResponseGenqlSelection {
2053
2253
  __typename?: boolean | number;
2054
2254
  __scalar?: boolean | number;
2055
2255
  }
2056
- export interface BrandStatsGenqlSelection {
2057
- campaigns?: boolean | number;
2058
- sponsorships?: boolean | number;
2059
- sports?: boolean | number;
2060
- athletes?: boolean | number;
2061
- __typename?: boolean | number;
2062
- __scalar?: boolean | number;
2063
- }
2064
- export interface BrandTranslationGenqlSelection {
2065
- _id?: boolean | number;
2066
- brandId?: boolean | number;
2067
- language?: boolean | number;
2068
- name?: boolean | number;
2069
- slogan?: boolean | number;
2070
- description?: boolean | number;
2071
- logo?: AWSS3FileGenqlSelection;
2072
- banner?: AWSS3FileGenqlSelection;
2073
- __typename?: boolean | number;
2074
- __scalar?: boolean | number;
2075
- }
2076
- export interface BrandGenqlSelection {
2256
+ export interface IndustryGenqlSelection {
2077
2257
  _id?: boolean | number;
2078
2258
  name?: boolean | number;
2079
- slogan?: boolean | number;
2080
- website?: boolean | number;
2081
- description?: boolean | number;
2082
- approved?: boolean | number;
2083
- published?: boolean | number;
2084
- logo?: AWSS3FileGenqlSelection;
2085
- banner?: AWSS3FileGenqlSelection;
2086
- stats?: BrandStatsGenqlSelection;
2087
- operatorIds?: boolean | number;
2088
- translations?: BrandTranslationGenqlSelection;
2089
- __typename?: boolean | number;
2090
- __scalar?: boolean | number;
2091
- }
2092
- export interface StravaTpiRideDtoGenqlSelection {
2093
- distanceKm?: boolean | number;
2094
- distanceKmLast?: boolean | number;
2095
- elapsedTimeMin?: boolean | number;
2096
- elapsedTimeMinLast?: boolean | number;
2097
- averageSpeedKmh?: boolean | number;
2098
- averageSpeedKmhLast?: boolean | number;
2099
- maxSpeedKmh?: boolean | number;
2100
- maxSpeedKmhLast?: boolean | number;
2101
- averageHeartRateBpm?: boolean | number;
2102
- averageHeartRateBpmLast?: boolean | number;
2103
- maxHeartRateBpm?: boolean | number;
2104
- maxHeartRateBpmLast?: boolean | number;
2105
- averageCadenceStm?: boolean | number;
2106
- averageCadenceStmLast?: boolean | number;
2107
- lastDate?: boolean | number;
2108
- country?: boolean | number;
2109
- state?: boolean | number;
2110
- city?: boolean | number;
2111
- tpi?: boolean | number;
2112
- __typename?: boolean | number;
2113
- __scalar?: boolean | number;
2114
- }
2115
- export interface StravaTpiRunDtoGenqlSelection {
2116
- distanceKm?: boolean | number;
2117
- distanceKmLast?: boolean | number;
2118
- elapsedTimeMin?: boolean | number;
2119
- elapsedTimeMinLast?: boolean | number;
2120
- averageSpeedKmh?: boolean | number;
2121
- averageSpeedKmhLast?: boolean | number;
2122
- maxSpeedKmh?: boolean | number;
2123
- maxSpeedKmhLast?: boolean | number;
2124
- averageHeartRateBpm?: boolean | number;
2125
- averageHeartRateBpmLast?: boolean | number;
2126
- maxHeartRateBpm?: boolean | number;
2127
- maxHeartRateBpmLast?: boolean | number;
2128
- averageCadenceStm?: boolean | number;
2129
- averageCadenceStmLast?: boolean | number;
2130
- elevHigh?: boolean | number;
2131
- elevHighLast?: boolean | number;
2132
- elevLow?: boolean | number;
2133
- elevLowLast?: boolean | number;
2134
- lastDate?: boolean | number;
2135
- country?: boolean | number;
2136
- state?: boolean | number;
2137
- city?: boolean | number;
2138
- tpi?: boolean | number;
2139
2259
  __typename?: boolean | number;
2140
2260
  __scalar?: boolean | number;
2141
2261
  }
2142
- export interface StravaTpiSwimDtoGenqlSelection {
2143
- distanceKm?: boolean | number;
2144
- distanceKmLast?: boolean | number;
2145
- elapsedTimeMin?: boolean | number;
2146
- elapsedTimeMinLast?: boolean | number;
2147
- averageSpeedKmh?: boolean | number;
2148
- averageSpeedKmhLast?: boolean | number;
2149
- maxSpeedKmh?: boolean | number;
2150
- maxSpeedKmhLast?: boolean | number;
2151
- averageHeartRateBpm?: boolean | number;
2152
- averageHeartRateBpmLast?: boolean | number;
2153
- maxHeartRateBpm?: boolean | number;
2154
- maxHeartRateBpmLast?: boolean | number;
2155
- averageCadenceStm?: boolean | number;
2156
- averageCadenceStmLast?: boolean | number;
2157
- lastDate?: boolean | number;
2158
- country?: boolean | number;
2159
- state?: boolean | number;
2160
- city?: boolean | number;
2161
- tpi?: boolean | number;
2262
+ export interface SponsorStatsGenqlSelection {
2263
+ sponsoredAthletes?: boolean | number;
2264
+ totalBrands?: boolean | number;
2265
+ activeCampaigns?: boolean | number;
2266
+ activeSponsorships?: boolean | number;
2162
2267
  __typename?: boolean | number;
2163
2268
  __scalar?: boolean | number;
2164
2269
  }
@@ -2253,6 +2358,9 @@ export interface AthleteCriteriaGenqlSelection {
2253
2358
  _id?: boolean | number;
2254
2359
  label?: boolean | number;
2255
2360
  qualifications?: QualificationTypeUnionGenqlSelection;
2361
+ minAge?: boolean | number;
2362
+ maxAge?: boolean | number;
2363
+ allowedGenders?: boolean | number;
2256
2364
  __typename?: boolean | number;
2257
2365
  __scalar?: boolean | number;
2258
2366
  }
@@ -2267,52 +2375,6 @@ export interface QualificationTypeUnionGenqlSelection {
2267
2375
  on_SportsLevelQualification?: SportsLevelQualificationGenqlSelection;
2268
2376
  __typename?: boolean | number;
2269
2377
  }
2270
- export interface IndustryGenqlSelection {
2271
- _id?: boolean | number;
2272
- name?: boolean | number;
2273
- __typename?: boolean | number;
2274
- __scalar?: boolean | number;
2275
- }
2276
- export interface SponsorStatsGenqlSelection {
2277
- sponsoredAthletes?: boolean | number;
2278
- totalBrands?: boolean | number;
2279
- activeCampaigns?: boolean | number;
2280
- activeSponsorships?: boolean | number;
2281
- __typename?: boolean | number;
2282
- __scalar?: boolean | number;
2283
- }
2284
- export interface SponsorBrandGenqlSelection {
2285
- _id?: boolean | number;
2286
- name?: boolean | number;
2287
- slogan?: boolean | number;
2288
- website?: boolean | number;
2289
- description?: boolean | number;
2290
- approved?: boolean | number;
2291
- published?: boolean | number;
2292
- logo?: AWSS3FileGenqlSelection;
2293
- banner?: AWSS3FileGenqlSelection;
2294
- stats?: BrandStatsGenqlSelection;
2295
- operatorIds?: boolean | number;
2296
- translations?: BrandTranslationGenqlSelection;
2297
- sponsorBrandId?: boolean | number;
2298
- authorizedUse?: boolean | number;
2299
- isAuthorizer?: boolean | number;
2300
- __typename?: boolean | number;
2301
- __scalar?: boolean | number;
2302
- }
2303
- export interface SponsorGenqlSelection {
2304
- _id?: boolean | number;
2305
- name?: boolean | number;
2306
- description?: boolean | number;
2307
- tenant?: TenantGenqlSelection;
2308
- industry?: IndustryGenqlSelection;
2309
- stats?: SponsorStatsGenqlSelection;
2310
- brands?: SponsorBrandGenqlSelection;
2311
- sponsorships?: SponsorshipGenqlSelection;
2312
- approved?: boolean | number;
2313
- __typename?: boolean | number;
2314
- __scalar?: boolean | number;
2315
- }
2316
2378
  export interface SponsorshipItemGenqlSelection {
2317
2379
  _id?: boolean | number;
2318
2380
  quantity?: boolean | number;
@@ -2353,38 +2415,170 @@ export interface SponsorshipStatsGenqlSelection {
2353
2415
  __typename?: boolean | number;
2354
2416
  __scalar?: boolean | number;
2355
2417
  }
2356
- export interface SponsorshipTranslationGenqlSelection {
2357
- _id?: boolean | number;
2358
- sponsorshipId?: boolean | number;
2359
- language?: boolean | number;
2360
- title?: boolean | number;
2361
- description?: boolean | number;
2362
- terms?: boolean | number;
2363
- banner?: AWSS3FileGenqlSelection;
2418
+ export interface SponsorshipTranslationGenqlSelection {
2419
+ _id?: boolean | number;
2420
+ sponsorshipId?: boolean | number;
2421
+ language?: boolean | number;
2422
+ title?: boolean | number;
2423
+ description?: boolean | number;
2424
+ terms?: boolean | number;
2425
+ banner?: AWSS3FileGenqlSelection;
2426
+ __typename?: boolean | number;
2427
+ __scalar?: boolean | number;
2428
+ }
2429
+ export interface SponsorshipGenqlSelection {
2430
+ _id?: boolean | number;
2431
+ title?: boolean | number;
2432
+ description?: boolean | number;
2433
+ cashValue?: boolean | number;
2434
+ otherValue?: boolean | number;
2435
+ brand?: BrandGenqlSelection;
2436
+ banner?: AWSS3FileGenqlSelection;
2437
+ criteria?: AthleteCriteriaGenqlSelection;
2438
+ deadline?: boolean | number;
2439
+ startDate?: boolean | number;
2440
+ duration?: DurationGenqlSelection;
2441
+ sponsor?: SponsorGenqlSelection;
2442
+ sponsorshipItems?: SponsorshipItemGenqlSelection;
2443
+ commitments?: SponsorshipCommitmentGenqlSelection;
2444
+ terms?: boolean | number;
2445
+ stats?: SponsorshipStatsGenqlSelection;
2446
+ isPrivate?: boolean | number;
2447
+ approved?: boolean | number;
2448
+ published?: boolean | number;
2449
+ translations?: SponsorshipTranslationGenqlSelection;
2450
+ __typename?: boolean | number;
2451
+ __scalar?: boolean | number;
2452
+ }
2453
+ export interface SponsorGenqlSelection {
2454
+ _id?: boolean | number;
2455
+ name?: boolean | number;
2456
+ description?: boolean | number;
2457
+ tenant?: TenantGenqlSelection;
2458
+ industry?: IndustryGenqlSelection;
2459
+ stats?: SponsorStatsGenqlSelection;
2460
+ brands?: SponsorBrandGenqlSelection;
2461
+ sponsorships?: SponsorshipGenqlSelection;
2462
+ approved?: boolean | number;
2463
+ __typename?: boolean | number;
2464
+ __scalar?: boolean | number;
2465
+ }
2466
+ export interface SponsorBrandGenqlSelection {
2467
+ _id?: boolean | number;
2468
+ sponsor?: SponsorGenqlSelection;
2469
+ authorizedUse?: boolean | number;
2470
+ isAuthorizer?: boolean | number;
2471
+ __typename?: boolean | number;
2472
+ __scalar?: boolean | number;
2473
+ }
2474
+ export interface BrandStatsGenqlSelection {
2475
+ campaigns?: boolean | number;
2476
+ sponsorships?: boolean | number;
2477
+ sports?: boolean | number;
2478
+ athletes?: boolean | number;
2479
+ __typename?: boolean | number;
2480
+ __scalar?: boolean | number;
2481
+ }
2482
+ export interface BrandTranslationGenqlSelection {
2483
+ _id?: boolean | number;
2484
+ brandId?: boolean | number;
2485
+ language?: boolean | number;
2486
+ name?: boolean | number;
2487
+ slogan?: boolean | number;
2488
+ description?: boolean | number;
2489
+ logo?: AWSS3FileGenqlSelection;
2490
+ banner?: AWSS3FileGenqlSelection;
2491
+ __typename?: boolean | number;
2492
+ __scalar?: boolean | number;
2493
+ }
2494
+ export interface BrandGenqlSelection {
2495
+ _id?: boolean | number;
2496
+ name?: boolean | number;
2497
+ slogan?: boolean | number;
2498
+ website?: boolean | number;
2499
+ affiliateLink?: boolean | number;
2500
+ description?: boolean | number;
2501
+ approved?: boolean | number;
2502
+ published?: boolean | number;
2503
+ logo?: AWSS3FileGenqlSelection;
2504
+ banner?: AWSS3FileGenqlSelection;
2505
+ stats?: BrandStatsGenqlSelection;
2506
+ operatorIds?: boolean | number;
2507
+ translations?: BrandTranslationGenqlSelection;
2508
+ sponsors?: SponsorBrandGenqlSelection;
2509
+ __typename?: boolean | number;
2510
+ __scalar?: boolean | number;
2511
+ }
2512
+ export interface StravaTpiRideDtoGenqlSelection {
2513
+ distanceKm?: boolean | number;
2514
+ distanceKmLast?: boolean | number;
2515
+ elapsedTimeMin?: boolean | number;
2516
+ elapsedTimeMinLast?: boolean | number;
2517
+ averageSpeedKmh?: boolean | number;
2518
+ averageSpeedKmhLast?: boolean | number;
2519
+ maxSpeedKmh?: boolean | number;
2520
+ maxSpeedKmhLast?: boolean | number;
2521
+ averageHeartRateBpm?: boolean | number;
2522
+ averageHeartRateBpmLast?: boolean | number;
2523
+ maxHeartRateBpm?: boolean | number;
2524
+ maxHeartRateBpmLast?: boolean | number;
2525
+ averageCadenceStm?: boolean | number;
2526
+ averageCadenceStmLast?: boolean | number;
2527
+ lastDate?: boolean | number;
2528
+ country?: boolean | number;
2529
+ state?: boolean | number;
2530
+ city?: boolean | number;
2531
+ tpi?: boolean | number;
2532
+ __typename?: boolean | number;
2533
+ __scalar?: boolean | number;
2534
+ }
2535
+ export interface StravaTpiRunDtoGenqlSelection {
2536
+ distanceKm?: boolean | number;
2537
+ distanceKmLast?: boolean | number;
2538
+ elapsedTimeMin?: boolean | number;
2539
+ elapsedTimeMinLast?: boolean | number;
2540
+ averageSpeedKmh?: boolean | number;
2541
+ averageSpeedKmhLast?: boolean | number;
2542
+ maxSpeedKmh?: boolean | number;
2543
+ maxSpeedKmhLast?: boolean | number;
2544
+ averageHeartRateBpm?: boolean | number;
2545
+ averageHeartRateBpmLast?: boolean | number;
2546
+ maxHeartRateBpm?: boolean | number;
2547
+ maxHeartRateBpmLast?: boolean | number;
2548
+ averageCadenceStm?: boolean | number;
2549
+ averageCadenceStmLast?: boolean | number;
2550
+ elevHigh?: boolean | number;
2551
+ elevHighLast?: boolean | number;
2552
+ elevLow?: boolean | number;
2553
+ elevLowLast?: boolean | number;
2554
+ lastDate?: boolean | number;
2555
+ country?: boolean | number;
2556
+ state?: boolean | number;
2557
+ city?: boolean | number;
2558
+ tpi?: boolean | number;
2364
2559
  __typename?: boolean | number;
2365
2560
  __scalar?: boolean | number;
2366
2561
  }
2367
- export interface SponsorshipGenqlSelection {
2368
- _id?: boolean | number;
2369
- title?: boolean | number;
2370
- description?: boolean | number;
2371
- cashValue?: boolean | number;
2372
- otherValue?: boolean | number;
2373
- brand?: BrandGenqlSelection;
2374
- banner?: AWSS3FileGenqlSelection;
2375
- criteria?: AthleteCriteriaGenqlSelection;
2376
- deadline?: boolean | number;
2377
- startDate?: boolean | number;
2378
- duration?: DurationGenqlSelection;
2379
- sponsor?: SponsorGenqlSelection;
2380
- sponsorshipItems?: SponsorshipItemGenqlSelection;
2381
- commitments?: SponsorshipCommitmentGenqlSelection;
2382
- terms?: boolean | number;
2383
- stats?: SponsorshipStatsGenqlSelection;
2384
- isPrivate?: boolean | number;
2385
- approved?: boolean | number;
2386
- published?: boolean | number;
2387
- translations?: SponsorshipTranslationGenqlSelection;
2562
+ export interface StravaTpiSwimDtoGenqlSelection {
2563
+ distanceKm?: boolean | number;
2564
+ distanceKmLast?: boolean | number;
2565
+ elapsedTimeMin?: boolean | number;
2566
+ elapsedTimeMinLast?: boolean | number;
2567
+ averageSpeedKmh?: boolean | number;
2568
+ averageSpeedKmhLast?: boolean | number;
2569
+ maxSpeedKmh?: boolean | number;
2570
+ maxSpeedKmhLast?: boolean | number;
2571
+ averageHeartRateBpm?: boolean | number;
2572
+ averageHeartRateBpmLast?: boolean | number;
2573
+ maxHeartRateBpm?: boolean | number;
2574
+ maxHeartRateBpmLast?: boolean | number;
2575
+ averageCadenceStm?: boolean | number;
2576
+ averageCadenceStmLast?: boolean | number;
2577
+ lastDate?: boolean | number;
2578
+ country?: boolean | number;
2579
+ state?: boolean | number;
2580
+ city?: boolean | number;
2581
+ tpi?: boolean | number;
2388
2582
  __typename?: boolean | number;
2389
2583
  __scalar?: boolean | number;
2390
2584
  }
@@ -3186,6 +3380,167 @@ export interface AdminTransactionViewGenqlSelection {
3186
3380
  __typename?: boolean | number;
3187
3381
  __scalar?: boolean | number;
3188
3382
  }
3383
+ export interface OfferGenqlSelection {
3384
+ _id?: boolean | number;
3385
+ name?: boolean | number;
3386
+ label?: boolean | number;
3387
+ decription?: boolean | number;
3388
+ offerImage?: AWSS3FileGenqlSelection;
3389
+ type?: boolean | number;
3390
+ status?: boolean | number;
3391
+ discountType?: boolean | number;
3392
+ discountTypeData?: boolean | number;
3393
+ conditions?: boolean | number;
3394
+ brand?: BrandGenqlSelection;
3395
+ sponsor?: SponsorGenqlSelection;
3396
+ criteria?: AthleteCriteriaGenqlSelection;
3397
+ dateStart?: boolean | number;
3398
+ dateEnd?: boolean | number;
3399
+ dateCreated?: boolean | number;
3400
+ totalCodes?: boolean | number;
3401
+ availableCodes?: boolean | number;
3402
+ availableCountries?: CountryGenqlSelection;
3403
+ disclaimer?: boolean | number;
3404
+ genericCode?: boolean | number;
3405
+ featured?: boolean | number;
3406
+ __typename?: boolean | number;
3407
+ __scalar?: boolean | number;
3408
+ }
3409
+ export interface PromotionGenqlSelection {
3410
+ _id?: boolean | number;
3411
+ name?: boolean | number;
3412
+ label?: boolean | number;
3413
+ decription?: boolean | number;
3414
+ offerImage?: AWSS3FileGenqlSelection;
3415
+ type?: boolean | number;
3416
+ status?: boolean | number;
3417
+ discountType?: boolean | number;
3418
+ discountTypeData?: boolean | number;
3419
+ conditions?: boolean | number;
3420
+ brand?: BrandGenqlSelection;
3421
+ sponsor?: SponsorGenqlSelection;
3422
+ criteria?: AthleteCriteriaGenqlSelection;
3423
+ dateStart?: boolean | number;
3424
+ dateEnd?: boolean | number;
3425
+ dateCreated?: boolean | number;
3426
+ totalCodes?: boolean | number;
3427
+ availableCodes?: boolean | number;
3428
+ availableCountries?: CountryGenqlSelection;
3429
+ disclaimer?: boolean | number;
3430
+ genericCode?: boolean | number;
3431
+ featured?: boolean | number;
3432
+ __typename?: boolean | number;
3433
+ __scalar?: boolean | number;
3434
+ }
3435
+ export interface CouponCodeGenqlSelection {
3436
+ _id?: boolean | number;
3437
+ couponId?: boolean | number;
3438
+ code?: boolean | number;
3439
+ expires?: boolean | number;
3440
+ dateCreated?: boolean | number;
3441
+ __typename?: boolean | number;
3442
+ __scalar?: boolean | number;
3443
+ }
3444
+ export interface CouponGenqlSelection {
3445
+ _id?: boolean | number;
3446
+ name?: boolean | number;
3447
+ label?: boolean | number;
3448
+ decription?: boolean | number;
3449
+ offerImage?: AWSS3FileGenqlSelection;
3450
+ type?: boolean | number;
3451
+ status?: boolean | number;
3452
+ discountType?: boolean | number;
3453
+ discountTypeData?: boolean | number;
3454
+ conditions?: boolean | number;
3455
+ brand?: BrandGenqlSelection;
3456
+ sponsor?: SponsorGenqlSelection;
3457
+ criteria?: AthleteCriteriaGenqlSelection;
3458
+ dateStart?: boolean | number;
3459
+ dateEnd?: boolean | number;
3460
+ dateCreated?: boolean | number;
3461
+ totalCodes?: boolean | number;
3462
+ availableCodes?: boolean | number;
3463
+ availableCountries?: CountryGenqlSelection;
3464
+ disclaimer?: boolean | number;
3465
+ genericCode?: boolean | number;
3466
+ featured?: boolean | number;
3467
+ couponCodes?: CouponCodeGenqlSelection;
3468
+ __typename?: boolean | number;
3469
+ __scalar?: boolean | number;
3470
+ }
3471
+ export interface OfferClaimGenqlSelection {
3472
+ _id?: boolean | number;
3473
+ offer?: OfferGenqlSelection;
3474
+ athlete?: AthleteGenqlSelection;
3475
+ claimedAt?: boolean | number;
3476
+ code?: boolean | number;
3477
+ __typename?: boolean | number;
3478
+ __scalar?: boolean | number;
3479
+ }
3480
+ export interface EligibilityResultGenqlSelection {
3481
+ status?: boolean | number;
3482
+ failedCriteria?: boolean | number;
3483
+ missingFields?: boolean | number;
3484
+ messages?: boolean | number;
3485
+ __typename?: boolean | number;
3486
+ __scalar?: boolean | number;
3487
+ }
3488
+ export interface EnhancedPaginationInfoTypeGenqlSelection {
3489
+ currentPage?: boolean | number;
3490
+ totalPages?: boolean | number;
3491
+ totalItems?: boolean | number;
3492
+ itemsPerPage?: boolean | number;
3493
+ hasNextPage?: boolean | number;
3494
+ hasPreviousPage?: boolean | number;
3495
+ startIndex?: boolean | number;
3496
+ endIndex?: boolean | number;
3497
+ __typename?: boolean | number;
3498
+ __scalar?: boolean | number;
3499
+ }
3500
+ export interface OfferWithEligibilityGenqlSelection {
3501
+ _id?: boolean | number;
3502
+ name?: boolean | number;
3503
+ label?: boolean | number;
3504
+ decription?: boolean | number;
3505
+ offerImage?: AWSS3FileGenqlSelection;
3506
+ type?: boolean | number;
3507
+ status?: boolean | number;
3508
+ discountType?: boolean | number;
3509
+ discountTypeData?: boolean | number;
3510
+ conditions?: boolean | number;
3511
+ brand?: BrandGenqlSelection;
3512
+ sponsor?: SponsorGenqlSelection;
3513
+ criteria?: AthleteCriteriaGenqlSelection;
3514
+ dateStart?: boolean | number;
3515
+ dateEnd?: boolean | number;
3516
+ dateCreated?: boolean | number;
3517
+ totalCodes?: boolean | number;
3518
+ availableCodes?: boolean | number;
3519
+ availableCountries?: CountryGenqlSelection;
3520
+ disclaimer?: boolean | number;
3521
+ featured?: boolean | number;
3522
+ eligibility?: EligibilityResultGenqlSelection;
3523
+ __typename?: boolean | number;
3524
+ __scalar?: boolean | number;
3525
+ }
3526
+ export interface PaginatedOffersWithEligibilityGenqlSelection {
3527
+ items?: OfferWithEligibilityGenqlSelection;
3528
+ pagination?: EnhancedPaginationInfoTypeGenqlSelection;
3529
+ __typename?: boolean | number;
3530
+ __scalar?: boolean | number;
3531
+ }
3532
+ export interface PaginatedBrandsGenqlSelection {
3533
+ items?: BrandGenqlSelection;
3534
+ pagination?: EnhancedPaginationInfoTypeGenqlSelection;
3535
+ __typename?: boolean | number;
3536
+ __scalar?: boolean | number;
3537
+ }
3538
+ export interface PaginatedSponsorsGenqlSelection {
3539
+ items?: SponsorGenqlSelection;
3540
+ pagination?: EnhancedPaginationInfoTypeGenqlSelection;
3541
+ __typename?: boolean | number;
3542
+ __scalar?: boolean | number;
3543
+ }
3189
3544
  export interface EditValueResponseGenqlSelection {
3190
3545
  field?: boolean | number;
3191
3546
  oldValue?: boolean | number;
@@ -3201,16 +3556,25 @@ export interface DeleteSingleValueResponseGenqlSelection {
3201
3556
  __typename?: boolean | number;
3202
3557
  __scalar?: boolean | number;
3203
3558
  }
3204
- export interface ForceScoreRefreshResultTypeGenqlSelection {
3559
+ export interface ScoreRefreshDetailGenqlSelection {
3560
+ status?: boolean | number;
3561
+ message?: boolean | number;
3562
+ __typename?: boolean | number;
3563
+ __scalar?: boolean | number;
3564
+ }
3565
+ export interface ForceScoreRefreshResultGenqlSelection {
3205
3566
  athleteId?: boolean | number;
3206
3567
  athleteName?: boolean | number;
3207
3568
  status?: boolean | number;
3208
3569
  message?: boolean | number;
3570
+ tpi?: ScoreRefreshDetailGenqlSelection;
3571
+ spi?: ScoreRefreshDetailGenqlSelection;
3572
+ api?: ScoreRefreshDetailGenqlSelection;
3209
3573
  __typename?: boolean | number;
3210
3574
  __scalar?: boolean | number;
3211
3575
  }
3212
- export interface ForceScoreRefreshResponseTypeGenqlSelection {
3213
- results?: ForceScoreRefreshResultTypeGenqlSelection;
3576
+ export interface ForceScoreRefreshResponseGenqlSelection {
3577
+ results?: ForceScoreRefreshResultGenqlSelection;
3214
3578
  successCount?: boolean | number;
3215
3579
  failureCount?: boolean | number;
3216
3580
  skippedCount?: boolean | number;
@@ -3294,19 +3658,24 @@ export interface StripeObjectGenqlSelection {
3294
3658
  __typename?: boolean | number;
3295
3659
  __scalar?: boolean | number;
3296
3660
  }
3297
- export interface EnhancedPaginationInfoTypeGenqlSelection {
3298
- currentPage?: boolean | number;
3299
- totalPages?: boolean | number;
3300
- totalItems?: boolean | number;
3301
- itemsPerPage?: boolean | number;
3302
- hasNextPage?: boolean | number;
3303
- hasPreviousPage?: boolean | number;
3304
- startIndex?: boolean | number;
3305
- endIndex?: boolean | number;
3661
+ export interface ScoreRefreshCapabilityGenqlSelection {
3662
+ athleteId?: boolean | number;
3663
+ athleteName?: boolean | number;
3664
+ canRefreshTpi?: boolean | number;
3665
+ canRefreshSpi?: boolean | number;
3666
+ canRefreshApi?: boolean | number;
3667
+ tpiReason?: boolean | number;
3668
+ spiReason?: boolean | number;
3669
+ apiReason?: boolean | number;
3306
3670
  __typename?: boolean | number;
3307
3671
  __scalar?: boolean | number;
3308
3672
  }
3309
- export interface PaginatedSportsTypeGenqlSelection {
3673
+ export interface CheckScoreRefreshCapabilityResponseGenqlSelection {
3674
+ capabilities?: ScoreRefreshCapabilityGenqlSelection;
3675
+ __typename?: boolean | number;
3676
+ __scalar?: boolean | number;
3677
+ }
3678
+ export interface PaginatedSportsGenqlSelection {
3310
3679
  items?: SportGenqlSelection;
3311
3680
  pagination?: EnhancedPaginationInfoTypeGenqlSelection;
3312
3681
  __typename?: boolean | number;
@@ -3339,7 +3708,7 @@ export interface DeleteVtxUserResponseGenqlSelection {
3339
3708
  __typename?: boolean | number;
3340
3709
  __scalar?: boolean | number;
3341
3710
  }
3342
- export interface PaginatedUsersTypeGenqlSelection {
3711
+ export interface PaginatedUsersGenqlSelection {
3343
3712
  items?: AdminUserViewGenqlSelection;
3344
3713
  pagination?: EnhancedPaginationInfoTypeGenqlSelection;
3345
3714
  __typename?: boolean | number;
@@ -3366,7 +3735,7 @@ export interface TransactionDetailsGenqlSelection {
3366
3735
  __typename?: boolean | number;
3367
3736
  __scalar?: boolean | number;
3368
3737
  }
3369
- export interface PaginatedEventsTypeGenqlSelection {
3738
+ export interface PaginatedEventsGenqlSelection {
3370
3739
  items?: SportsEventGenqlSelection;
3371
3740
  pagination?: EnhancedPaginationInfoTypeGenqlSelection;
3372
3741
  __typename?: boolean | number;
@@ -3378,7 +3747,7 @@ export interface CurrencyAmountTypeGenqlSelection {
3378
3747
  __typename?: boolean | number;
3379
3748
  __scalar?: boolean | number;
3380
3749
  }
3381
- export interface StripeBalanceTypeGenqlSelection {
3750
+ export interface StripeBalanceGenqlSelection {
3382
3751
  availableUSD?: boolean | number;
3383
3752
  pendingUSD?: boolean | number;
3384
3753
  currency?: boolean | number;
@@ -3410,12 +3779,31 @@ export interface UserDomainGenqlSelection {
3410
3779
  __typename?: boolean | number;
3411
3780
  __scalar?: boolean | number;
3412
3781
  }
3413
- export interface PaginatedTransactionsTypeGenqlSelection {
3782
+ export interface PaginatedTransactionsGenqlSelection {
3414
3783
  items?: AdminTransactionViewGenqlSelection;
3415
3784
  pagination?: EnhancedPaginationInfoTypeGenqlSelection;
3416
3785
  __typename?: boolean | number;
3417
3786
  __scalar?: boolean | number;
3418
3787
  }
3788
+ export interface PaginatedOffersGenqlSelection {
3789
+ items?: OfferGenqlSelection;
3790
+ pagination?: EnhancedPaginationInfoTypeGenqlSelection;
3791
+ __typename?: boolean | number;
3792
+ __scalar?: boolean | number;
3793
+ }
3794
+ export interface UploadResultGenqlSelection {
3795
+ addedCodes?: boolean | number;
3796
+ duplicateCodes?: boolean | number;
3797
+ invalidRows?: boolean | number;
3798
+ __typename?: boolean | number;
3799
+ __scalar?: boolean | number;
3800
+ }
3801
+ export interface OfferAvailabilityGenqlSelection {
3802
+ available?: boolean | number;
3803
+ reason?: boolean | number;
3804
+ __typename?: boolean | number;
3805
+ __scalar?: boolean | number;
3806
+ }
3419
3807
  export interface CreateDatabaseFileDto {
3420
3808
  identifier: Scalars['String'];
3421
3809
  version?: Scalars['String'];
@@ -3465,15 +3853,56 @@ export interface VerifyCodeDto {
3465
3853
  enteredCodeValue: Scalars['String'];
3466
3854
  type?: (Scalars['String'] | null);
3467
3855
  }
3468
- export interface DonationCheckoutDto {
3469
- fundingCampaignId: Scalars['String'];
3470
- donationAmount: Scalars['Float'];
3471
- mode?: Scalars['String'];
3472
- fromName?: (Scalars['String'] | null);
3473
- fromEmail?: (Scalars['String'] | null);
3474
- fromPhone?: (Scalars['String'] | null);
3475
- message?: (Scalars['String'] | null);
3476
- clientType?: (Scalars['String'] | null);
3856
+ export interface DonationCheckoutDto {
3857
+ fundingCampaignId: Scalars['String'];
3858
+ donationAmount: Scalars['Float'];
3859
+ mode?: Scalars['String'];
3860
+ fromName?: (Scalars['String'] | null);
3861
+ fromEmail?: (Scalars['String'] | null);
3862
+ fromPhone?: (Scalars['String'] | null);
3863
+ message?: (Scalars['String'] | null);
3864
+ clientType?: (Scalars['String'] | null);
3865
+ }
3866
+ export interface CreateBrandDto {
3867
+ name: Scalars['String'];
3868
+ description?: (Scalars['String'] | null);
3869
+ slogan?: (Scalars['String'] | null);
3870
+ website?: (Scalars['String'] | null);
3871
+ affiliateLink?: (Scalars['String'] | null);
3872
+ logo?: (AWSS3UploadedFileDto | null);
3873
+ banner?: (AWSS3UploadedFileDto | null);
3874
+ translations?: (BrandTranslationDto[] | null);
3875
+ sponsorId?: (Scalars['String'] | null);
3876
+ }
3877
+ export interface AWSS3UploadedFileDto {
3878
+ key: Scalars['String'];
3879
+ useType: Scalars['String'];
3880
+ contentType: Scalars['String'];
3881
+ originalFileName?: (Scalars['String'] | null);
3882
+ fileSize?: (Scalars['Float'] | null);
3883
+ }
3884
+ export interface BrandTranslationDto {
3885
+ brandId: Scalars['String'];
3886
+ language: Scalars['String'];
3887
+ name?: (Scalars['String'] | null);
3888
+ description?: (Scalars['String'] | null);
3889
+ slogan?: (Scalars['String'] | null);
3890
+ logo?: (AWSS3UploadedFileDto | null);
3891
+ banner?: (AWSS3UploadedFileDto | null);
3892
+ }
3893
+ export interface BrandQueryDto {
3894
+ page?: (Scalars['Int'] | null);
3895
+ limit?: (Scalars['Int'] | null);
3896
+ search?: (Scalars['String'] | null);
3897
+ approved?: (Scalars['String'] | null);
3898
+ published?: (Scalars['String'] | null);
3899
+ sortField?: (Scalars['String'] | null);
3900
+ sortOrder?: (Scalars['String'] | null);
3901
+ }
3902
+ export interface CreateSponsorDto {
3903
+ name: Scalars['String'];
3904
+ description?: (Scalars['String'] | null);
3905
+ email: Scalars['String'];
3477
3906
  }
3478
3907
  export interface AthleteInvitationDto {
3479
3908
  email: Scalars['String'];
@@ -3485,6 +3914,15 @@ export interface InviteAthletesDto {
3485
3914
  language?: (Scalars['String'] | null);
3486
3915
  invitations: AthleteInvitationDto[];
3487
3916
  }
3917
+ export interface SponsorQueryDto {
3918
+ page?: (Scalars['Int'] | null);
3919
+ limit?: (Scalars['Int'] | null);
3920
+ search?: (Scalars['String'] | null);
3921
+ approved?: (Scalars['String'] | null);
3922
+ published?: (Scalars['String'] | null);
3923
+ sortField?: (Scalars['String'] | null);
3924
+ sortOrder?: (Scalars['String'] | null);
3925
+ }
3488
3926
  export interface CompetitionResultDto {
3489
3927
  resultType: Scalars['String'];
3490
3928
  position?: (Scalars['Float'] | null);
@@ -3598,13 +4036,6 @@ export interface EditPictureDto {
3598
4036
  field: Scalars['String'];
3599
4037
  newPicture?: (AWSS3UploadedFileDto | null);
3600
4038
  }
3601
- export interface AWSS3UploadedFileDto {
3602
- key: Scalars['String'];
3603
- useType: Scalars['String'];
3604
- contentType: Scalars['String'];
3605
- originalFileName?: (Scalars['String'] | null);
3606
- fileSize?: (Scalars['Float'] | null);
3607
- }
3608
4039
  export interface UploadAlbumsPicturesDto {
3609
4040
  label: Scalars['String'];
3610
4041
  description?: (Scalars['String'] | null);
@@ -3637,6 +4068,9 @@ export interface GetAthleteCampaignsDto {
3637
4068
  export interface ForceScoreRefreshDto {
3638
4069
  athleteIds: Scalars['String'][];
3639
4070
  }
4071
+ export interface CheckScoreRefreshCapabilityDto {
4072
+ athleteIds: Scalars['String'][];
4073
+ }
3640
4074
  export interface SportQueryDto {
3641
4075
  page?: (Scalars['Int'] | null);
3642
4076
  limit?: (Scalars['Int'] | null);
@@ -3922,6 +4356,58 @@ export interface OffsetPaginationDto {
3922
4356
  pageSize?: Scalars['Float'];
3923
4357
  sortCriteria?: (SortCriteriaDto | null);
3924
4358
  }
4359
+ export interface CreateOfferDto {
4360
+ name?: (Scalars['String'] | null);
4361
+ label: Scalars['String'];
4362
+ decription?: (Scalars['String'] | null);
4363
+ offerImage?: (AWSS3UploadedFileDto | null);
4364
+ type: Scalars['String'];
4365
+ status?: Scalars['String'];
4366
+ discountType?: Scalars['String'];
4367
+ discountTypeData?: (Scalars['String'] | null);
4368
+ conditions?: (Scalars['String'][] | null);
4369
+ brandId: Scalars['String'];
4370
+ sponsorId: Scalars['String'];
4371
+ criteria?: (AthleteCriteriaDto | null);
4372
+ dateStart?: (Scalars['DateTime'] | null);
4373
+ dateEnd?: (Scalars['DateTime'] | null);
4374
+ totalCodes?: (Scalars['Int'] | null);
4375
+ disclaimer?: (Scalars['String'] | null);
4376
+ availableCountryIds?: (Scalars['String'][] | null);
4377
+ genericCode?: (Scalars['String'] | null);
4378
+ featured?: (Scalars['Boolean'] | null);
4379
+ }
4380
+ export interface AthleteCriteriaDto {
4381
+ _id: Scalars['String'];
4382
+ label?: (Scalars['String'] | null);
4383
+ qualificationsBag?: (QualificationsBagDto | null);
4384
+ }
4385
+ export interface QualificationsBagDto {
4386
+ ageQualifications?: (AgeQualificationDto[] | null);
4387
+ genderQualifications?: (GenderQualificationDto[] | null);
4388
+ scoreQualifications?: (ScoreQualificationDto[] | null);
4389
+ locationQualifications?: (LocationQualificationDto[] | null);
4390
+ nationalityQualifications?: (NationalityQualificationDto[] | null);
4391
+ distanceQualifications?: (DistanceQualificationDto[] | null);
4392
+ sportsQualifications?: (SportsQualificationDto[] | null);
4393
+ levelQualifications?: (SportsLevelQualificationDto[] | null);
4394
+ }
4395
+ export interface OfferQueryDto {
4396
+ page?: (Scalars['Int'] | null);
4397
+ limit?: (Scalars['Int'] | null);
4398
+ search?: (Scalars['String'] | null);
4399
+ active?: (Scalars['String'] | null);
4400
+ offerType?: (Scalars['String'] | null);
4401
+ featured?: (Scalars['String'] | null);
4402
+ brandId?: (Scalars['String'] | null);
4403
+ sortField?: (Scalars['String'] | null);
4404
+ sortOrder?: (Scalars['String'] | null);
4405
+ filterEligibleOnly?: (Scalars['Boolean'] | null);
4406
+ athleteId?: (Scalars['String'] | null);
4407
+ }
4408
+ export interface OfferClaimQueryDto {
4409
+ status?: (OfferClaimStatus | null);
4410
+ }
3925
4411
  export interface QueryGenqlSelection {
3926
4412
  findTenantById?: (TenantGenqlSelection & {
3927
4413
  __args: {
@@ -3968,6 +4454,11 @@ export interface QueryGenqlSelection {
3968
4454
  };
3969
4455
  });
3970
4456
  brands?: BrandGenqlSelection;
4457
+ getBrandsPaginated?: (PaginatedBrandsGenqlSelection & {
4458
+ __args?: {
4459
+ query?: (BrandQueryDto | null);
4460
+ };
4461
+ });
3971
4462
  getBrandByName?: (BrandGenqlSelection & {
3972
4463
  __args: {
3973
4464
  name: Scalars['String'];
@@ -3986,6 +4477,11 @@ export interface QueryGenqlSelection {
3986
4477
  };
3987
4478
  });
3988
4479
  sponsors?: SponsorGenqlSelection;
4480
+ getSponsorsPaginated?: (PaginatedSponsorsGenqlSelection & {
4481
+ __args?: {
4482
+ query?: (SponsorQueryDto | null);
4483
+ };
4484
+ });
3989
4485
  findSponsorAthleteInvitation?: (SponsorAthleteInvitationGenqlSelection & {
3990
4486
  __args: {
3991
4487
  input: FindSponsorAthleteInvitationDto;
@@ -4064,6 +4560,11 @@ export interface QueryGenqlSelection {
4064
4560
  input: existValueDto;
4065
4561
  };
4066
4562
  });
4563
+ checkScoreRefreshCapabilities?: (CheckScoreRefreshCapabilityResponseGenqlSelection & {
4564
+ __args: {
4565
+ input: CheckScoreRefreshCapabilityDto;
4566
+ };
4567
+ });
4067
4568
  getAthleteHistoricalScoresPeriod?: (HistoricalScoresPeriodGenqlSelection & {
4068
4569
  __args: {
4069
4570
  input: GetHistoricalScoresDto;
@@ -4090,7 +4591,7 @@ export interface QueryGenqlSelection {
4090
4591
  };
4091
4592
  });
4092
4593
  getSports?: SportGenqlSelection;
4093
- getSportsPaginated?: (PaginatedSportsTypeGenqlSelection & {
4594
+ getSportsPaginated?: (PaginatedSportsGenqlSelection & {
4094
4595
  __args?: {
4095
4596
  query?: (SportQueryDto | null);
4096
4597
  };
@@ -4157,7 +4658,7 @@ export interface QueryGenqlSelection {
4157
4658
  };
4158
4659
  };
4159
4660
  getAllUsers?: AdminUserViewGenqlSelection;
4160
- getUsersPaginated?: (PaginatedUsersTypeGenqlSelection & {
4661
+ getUsersPaginated?: (PaginatedUsersGenqlSelection & {
4161
4662
  __args?: {
4162
4663
  query?: (UserQueryDto | null);
4163
4664
  };
@@ -4168,7 +4669,7 @@ export interface QueryGenqlSelection {
4168
4669
  input: GetSportEventsDto;
4169
4670
  };
4170
4671
  });
4171
- getSportsEventsPaginated?: (PaginatedEventsTypeGenqlSelection & {
4672
+ getSportsEventsPaginated?: (PaginatedEventsGenqlSelection & {
4172
4673
  __args?: {
4173
4674
  query?: (EventQueryDto | null);
4174
4675
  };
@@ -4192,12 +4693,17 @@ export interface QueryGenqlSelection {
4192
4693
  input: StripeQueryDto;
4193
4694
  };
4194
4695
  });
4195
- getStripeBalance?: StripeBalanceTypeGenqlSelection;
4696
+ getStripeBalance?: StripeBalanceGenqlSelection;
4196
4697
  getDatabaseTextFile?: (TextDatabaseFileGenqlSelection & {
4197
4698
  __args: {
4198
4699
  input: GetDatabaseFileDto;
4199
4700
  };
4200
4701
  });
4702
+ getS3UploadUrl?: (AWSS3UploadUrlGenqlSelection & {
4703
+ __args: {
4704
+ input: AWSS3GetUploadDto;
4705
+ };
4706
+ });
4201
4707
  getReceipt?: (ReceiptGenqlSelection & {
4202
4708
  __args: {
4203
4709
  input: GetReceiptDto;
@@ -4225,11 +4731,44 @@ export interface QueryGenqlSelection {
4225
4731
  };
4226
4732
  });
4227
4733
  getAllTransactions?: AdminTransactionViewGenqlSelection;
4228
- getTransactionsPaginated?: (PaginatedTransactionsTypeGenqlSelection & {
4734
+ getTransactionsPaginated?: (PaginatedTransactionsGenqlSelection & {
4229
4735
  __args?: {
4230
4736
  query?: (TransactionQueryDto | null);
4231
4737
  };
4232
4738
  });
4739
+ offers?: OfferGenqlSelection;
4740
+ getOffersPaginated?: (PaginatedOffersGenqlSelection & {
4741
+ __args?: {
4742
+ query?: (OfferQueryDto | null);
4743
+ };
4744
+ });
4745
+ offersForAthlete?: (OfferGenqlSelection & {
4746
+ __args?: {
4747
+ athleteId?: (Scalars['String'] | null);
4748
+ };
4749
+ });
4750
+ offer?: (OfferGenqlSelection & {
4751
+ __args: {
4752
+ id: Scalars['String'];
4753
+ };
4754
+ });
4755
+ myOfferClaims?: (OfferClaimGenqlSelection & {
4756
+ __args: {
4757
+ athleteId: Scalars['String'];
4758
+ query?: (OfferClaimQueryDto | null);
4759
+ };
4760
+ });
4761
+ offerAvailability?: (OfferAvailabilityGenqlSelection & {
4762
+ __args: {
4763
+ offerId: Scalars['String'];
4764
+ athleteId: Scalars['String'];
4765
+ };
4766
+ });
4767
+ offersWithEligibility?: (PaginatedOffersWithEligibilityGenqlSelection & {
4768
+ __args?: {
4769
+ query?: (OfferQueryDto | null);
4770
+ };
4771
+ });
4233
4772
  __typename?: boolean | number;
4234
4773
  __scalar?: boolean | number;
4235
4774
  }
@@ -4320,6 +4859,29 @@ export interface MutationGenqlSelection {
4320
4859
  input: CreateBrandDto;
4321
4860
  };
4322
4861
  });
4862
+ updateBrand?: (BrandGenqlSelection & {
4863
+ __args: {
4864
+ id: Scalars['String'];
4865
+ input: CreateBrandDto;
4866
+ };
4867
+ });
4868
+ deleteBrand?: {
4869
+ __args: {
4870
+ id: Scalars['String'];
4871
+ };
4872
+ };
4873
+ linkBrandToSponsor?: (BrandGenqlSelection & {
4874
+ __args: {
4875
+ brandId: Scalars['String'];
4876
+ sponsorId: Scalars['String'];
4877
+ };
4878
+ });
4879
+ unlinkBrandFromSponsor?: (BrandGenqlSelection & {
4880
+ __args: {
4881
+ brandId: Scalars['String'];
4882
+ sponsorId: Scalars['String'];
4883
+ };
4884
+ });
4323
4885
  registerSponsor?: (SponsorGenqlSelection & {
4324
4886
  __args: {
4325
4887
  input: RegisterSponsorInput;
@@ -4335,6 +4897,17 @@ export interface MutationGenqlSelection {
4335
4897
  input: InviteAthletesDto;
4336
4898
  };
4337
4899
  });
4900
+ updateSponsor?: (SponsorGenqlSelection & {
4901
+ __args: {
4902
+ id: Scalars['String'];
4903
+ input: UpdateSponsorDto;
4904
+ };
4905
+ });
4906
+ deleteSponsor?: {
4907
+ __args: {
4908
+ id: Scalars['String'];
4909
+ };
4910
+ };
4338
4911
  forceDeleteAthleteCompetition?: (DeleteSingleValueResponseGenqlSelection & {
4339
4912
  __args: {
4340
4913
  input: DeleteSingleValueDto;
@@ -4402,7 +4975,7 @@ export interface MutationGenqlSelection {
4402
4975
  });
4403
4976
  updateAthleteScores?: AthleteGenqlSelection;
4404
4977
  updateAthleteCompetitionScores?: AthleteGenqlSelection;
4405
- forceRefreshAthleteScores?: (ForceScoreRefreshResponseTypeGenqlSelection & {
4978
+ forceRefreshAthleteScores?: (ForceScoreRefreshResponseGenqlSelection & {
4406
4979
  __args: {
4407
4980
  input: ForceScoreRefreshDto;
4408
4981
  };
@@ -4627,6 +5200,56 @@ export interface MutationGenqlSelection {
4627
5200
  input: RegisterMemberDto;
4628
5201
  };
4629
5202
  });
5203
+ createOffer?: (OfferGenqlSelection & {
5204
+ __args: {
5205
+ input: CreateOfferDto;
5206
+ };
5207
+ });
5208
+ updateOffer?: (OfferGenqlSelection & {
5209
+ __args: {
5210
+ id: Scalars['String'];
5211
+ input: CreateOfferDto;
5212
+ };
5213
+ });
5214
+ deleteOffer?: {
5215
+ __args: {
5216
+ id: Scalars['String'];
5217
+ };
5218
+ };
5219
+ setOfferStatus?: (OfferGenqlSelection & {
5220
+ __args: {
5221
+ id: Scalars['String'];
5222
+ status: Scalars['String'];
5223
+ };
5224
+ });
5225
+ activateOffer?: (OfferGenqlSelection & {
5226
+ __args: {
5227
+ id: Scalars['String'];
5228
+ };
5229
+ });
5230
+ deactivateOffer?: (OfferGenqlSelection & {
5231
+ __args: {
5232
+ id: Scalars['String'];
5233
+ };
5234
+ });
5235
+ claimOffer?: (OfferClaimGenqlSelection & {
5236
+ __args: {
5237
+ offerId: Scalars['String'];
5238
+ athleteId: Scalars['String'];
5239
+ };
5240
+ });
5241
+ removeOfferClaim?: {
5242
+ __args: {
5243
+ claimId: Scalars['String'];
5244
+ athleteId: Scalars['String'];
5245
+ };
5246
+ };
5247
+ uploadCouponCodes?: (UploadResultGenqlSelection & {
5248
+ __args: {
5249
+ offerId: Scalars['String'];
5250
+ csvContent: Scalars['String'];
5251
+ };
5252
+ });
4630
5253
  __typename?: boolean | number;
4631
5254
  __scalar?: boolean | number;
4632
5255
  }
@@ -4667,24 +5290,6 @@ export interface AWSS3DeleteUseTypeKeyDto {
4667
5290
  export interface CreateIndustryDto {
4668
5291
  name: Scalars['String'];
4669
5292
  }
4670
- export interface CreateBrandDto {
4671
- name: Scalars['String'];
4672
- description?: (Scalars['String'] | null);
4673
- slogan?: (Scalars['String'] | null);
4674
- website?: (Scalars['String'] | null);
4675
- logo?: (AWSS3UploadedFileDto | null);
4676
- banner?: (AWSS3UploadedFileDto | null);
4677
- translations?: (BrandTranslationDto[] | null);
4678
- }
4679
- export interface BrandTranslationDto {
4680
- brandId: Scalars['String'];
4681
- language: Scalars['String'];
4682
- name?: (Scalars['String'] | null);
4683
- description?: (Scalars['String'] | null);
4684
- slogan?: (Scalars['String'] | null);
4685
- logo?: (AWSS3UploadedFileDto | null);
4686
- banner?: (AWSS3UploadedFileDto | null);
4687
- }
4688
5293
  export interface RegisterSponsorInput {
4689
5294
  name: Scalars['String'];
4690
5295
  phone?: (Scalars['String'] | null);
@@ -4697,9 +5302,10 @@ export interface RegisterSponsorInput {
4697
5302
  numberOfAthletes: Scalars['String'];
4698
5303
  brands: Scalars['String'][];
4699
5304
  }
4700
- export interface CreateSponsorDto {
4701
- name: Scalars['String'];
5305
+ export interface UpdateSponsorDto {
5306
+ name?: (Scalars['String'] | null);
4702
5307
  description?: (Scalars['String'] | null);
5308
+ email?: (Scalars['String'] | null);
4703
5309
  }
4704
5310
  export interface RegisterAthleteDto {
4705
5311
  email: Scalars['String'];
@@ -4774,21 +5380,6 @@ export interface CreateSponsorshipDto {
4774
5380
  isPrivate?: (Scalars['Boolean'] | null);
4775
5381
  translations?: (SponsorshipTranslationDto[] | null);
4776
5382
  }
4777
- export interface AthleteCriteriaDto {
4778
- _id: Scalars['String'];
4779
- label?: (Scalars['String'] | null);
4780
- qualificationsBag?: (QualificationsBagDto | null);
4781
- }
4782
- export interface QualificationsBagDto {
4783
- ageQualifications?: (AgeQualificationDto[] | null);
4784
- genderQualifications?: (GenderQualificationDto[] | null);
4785
- scoreQualifications?: (ScoreQualificationDto[] | null);
4786
- locationQualifications?: (LocationQualificationDto[] | null);
4787
- nationalityQualifications?: (NationalityQualificationDto[] | null);
4788
- distanceQualifications?: (DistanceQualificationDto[] | null);
4789
- sportsQualifications?: (SportsQualificationDto[] | null);
4790
- levelQualifications?: (SportsLevelQualificationDto[] | null);
4791
- }
4792
5383
  export interface DurationDto {
4793
5384
  length?: Scalars['Float'];
4794
5385
  unit?: Scalars['String'];
@@ -4962,24 +5553,12 @@ export declare const isTextDatabaseFile: (obj?: {
4962
5553
  export declare const isCodeVerificationResponse: (obj?: {
4963
5554
  __typename?: any;
4964
5555
  } | null) => obj is CodeVerificationResponse;
4965
- export declare const isBrandStats: (obj?: {
4966
- __typename?: any;
4967
- } | null) => obj is BrandStats;
4968
- export declare const isBrandTranslation: (obj?: {
4969
- __typename?: any;
4970
- } | null) => obj is BrandTranslation;
4971
- export declare const isBrand: (obj?: {
4972
- __typename?: any;
4973
- } | null) => obj is Brand;
4974
- export declare const isStravaTpiRideDto: (obj?: {
4975
- __typename?: any;
4976
- } | null) => obj is StravaTpiRideDto;
4977
- export declare const isStravaTpiRunDto: (obj?: {
5556
+ export declare const isIndustry: (obj?: {
4978
5557
  __typename?: any;
4979
- } | null) => obj is StravaTpiRunDto;
4980
- export declare const isStravaTpiSwimDto: (obj?: {
5558
+ } | null) => obj is Industry;
5559
+ export declare const isSponsorStats: (obj?: {
4981
5560
  __typename?: any;
4982
- } | null) => obj is StravaTpiSwimDto;
5561
+ } | null) => obj is SponsorStats;
4983
5562
  export declare const isCity: (obj?: {
4984
5563
  __typename?: any;
4985
5564
  } | null) => obj is City;
@@ -5019,18 +5598,6 @@ export declare const isAthleteCriteria: (obj?: {
5019
5598
  export declare const isQualificationTypeUnion: (obj?: {
5020
5599
  __typename?: any;
5021
5600
  } | null) => obj is QualificationTypeUnion;
5022
- export declare const isIndustry: (obj?: {
5023
- __typename?: any;
5024
- } | null) => obj is Industry;
5025
- export declare const isSponsorStats: (obj?: {
5026
- __typename?: any;
5027
- } | null) => obj is SponsorStats;
5028
- export declare const isSponsorBrand: (obj?: {
5029
- __typename?: any;
5030
- } | null) => obj is SponsorBrand;
5031
- export declare const isSponsor: (obj?: {
5032
- __typename?: any;
5033
- } | null) => obj is Sponsor;
5034
5601
  export declare const isSponsorshipItem: (obj?: {
5035
5602
  __typename?: any;
5036
5603
  } | null) => obj is SponsorshipItem;
@@ -5049,6 +5616,30 @@ export declare const isSponsorshipTranslation: (obj?: {
5049
5616
  export declare const isSponsorship: (obj?: {
5050
5617
  __typename?: any;
5051
5618
  } | null) => obj is Sponsorship;
5619
+ export declare const isSponsor: (obj?: {
5620
+ __typename?: any;
5621
+ } | null) => obj is Sponsor;
5622
+ export declare const isSponsorBrand: (obj?: {
5623
+ __typename?: any;
5624
+ } | null) => obj is SponsorBrand;
5625
+ export declare const isBrandStats: (obj?: {
5626
+ __typename?: any;
5627
+ } | null) => obj is BrandStats;
5628
+ export declare const isBrandTranslation: (obj?: {
5629
+ __typename?: any;
5630
+ } | null) => obj is BrandTranslation;
5631
+ export declare const isBrand: (obj?: {
5632
+ __typename?: any;
5633
+ } | null) => obj is Brand;
5634
+ export declare const isStravaTpiRideDto: (obj?: {
5635
+ __typename?: any;
5636
+ } | null) => obj is StravaTpiRideDto;
5637
+ export declare const isStravaTpiRunDto: (obj?: {
5638
+ __typename?: any;
5639
+ } | null) => obj is StravaTpiRunDto;
5640
+ export declare const isStravaTpiSwimDto: (obj?: {
5641
+ __typename?: any;
5642
+ } | null) => obj is StravaTpiSwimDto;
5052
5643
  export declare const isFollowStats: (obj?: {
5053
5644
  __typename?: any;
5054
5645
  } | null) => obj is FollowStats;
@@ -5256,18 +5847,54 @@ export declare const isAdminTransactionFundingDetails: (obj?: {
5256
5847
  export declare const isAdminTransactionView: (obj?: {
5257
5848
  __typename?: any;
5258
5849
  } | null) => obj is AdminTransactionView;
5850
+ export declare const isOffer: (obj?: {
5851
+ __typename?: any;
5852
+ } | null) => obj is Offer;
5853
+ export declare const isPromotion: (obj?: {
5854
+ __typename?: any;
5855
+ } | null) => obj is Promotion;
5856
+ export declare const isCouponCode: (obj?: {
5857
+ __typename?: any;
5858
+ } | null) => obj is CouponCode;
5859
+ export declare const isCoupon: (obj?: {
5860
+ __typename?: any;
5861
+ } | null) => obj is Coupon;
5862
+ export declare const isOfferClaim: (obj?: {
5863
+ __typename?: any;
5864
+ } | null) => obj is OfferClaim;
5865
+ export declare const isEligibilityResult: (obj?: {
5866
+ __typename?: any;
5867
+ } | null) => obj is EligibilityResult;
5868
+ export declare const isEnhancedPaginationInfoType: (obj?: {
5869
+ __typename?: any;
5870
+ } | null) => obj is EnhancedPaginationInfoType;
5871
+ export declare const isOfferWithEligibility: (obj?: {
5872
+ __typename?: any;
5873
+ } | null) => obj is OfferWithEligibility;
5874
+ export declare const isPaginatedOffersWithEligibility: (obj?: {
5875
+ __typename?: any;
5876
+ } | null) => obj is PaginatedOffersWithEligibility;
5877
+ export declare const isPaginatedBrands: (obj?: {
5878
+ __typename?: any;
5879
+ } | null) => obj is PaginatedBrands;
5880
+ export declare const isPaginatedSponsors: (obj?: {
5881
+ __typename?: any;
5882
+ } | null) => obj is PaginatedSponsors;
5259
5883
  export declare const isEditValueResponse: (obj?: {
5260
5884
  __typename?: any;
5261
5885
  } | null) => obj is EditValueResponse;
5262
5886
  export declare const isDeleteSingleValueResponse: (obj?: {
5263
5887
  __typename?: any;
5264
5888
  } | null) => obj is DeleteSingleValueResponse;
5265
- export declare const isForceScoreRefreshResultType: (obj?: {
5889
+ export declare const isScoreRefreshDetail: (obj?: {
5266
5890
  __typename?: any;
5267
- } | null) => obj is ForceScoreRefreshResultType;
5268
- export declare const isForceScoreRefreshResponseType: (obj?: {
5891
+ } | null) => obj is ScoreRefreshDetail;
5892
+ export declare const isForceScoreRefreshResult: (obj?: {
5269
5893
  __typename?: any;
5270
- } | null) => obj is ForceScoreRefreshResponseType;
5894
+ } | null) => obj is ForceScoreRefreshResult;
5895
+ export declare const isForceScoreRefreshResponse: (obj?: {
5896
+ __typename?: any;
5897
+ } | null) => obj is ForceScoreRefreshResponse;
5271
5898
  export declare const isSortOrder: (obj?: {
5272
5899
  __typename?: any;
5273
5900
  } | null) => obj is SortOrder;
@@ -5298,12 +5925,15 @@ export declare const isHistoricalScoresPeriod: (obj?: {
5298
5925
  export declare const isStripeObject: (obj?: {
5299
5926
  __typename?: any;
5300
5927
  } | null) => obj is StripeObject;
5301
- export declare const isEnhancedPaginationInfoType: (obj?: {
5928
+ export declare const isScoreRefreshCapability: (obj?: {
5302
5929
  __typename?: any;
5303
- } | null) => obj is EnhancedPaginationInfoType;
5304
- export declare const isPaginatedSportsType: (obj?: {
5930
+ } | null) => obj is ScoreRefreshCapability;
5931
+ export declare const isCheckScoreRefreshCapabilityResponse: (obj?: {
5932
+ __typename?: any;
5933
+ } | null) => obj is CheckScoreRefreshCapabilityResponse;
5934
+ export declare const isPaginatedSports: (obj?: {
5305
5935
  __typename?: any;
5306
- } | null) => obj is PaginatedSportsType;
5936
+ } | null) => obj is PaginatedSports;
5307
5937
  export declare const isUserImages: (obj?: {
5308
5938
  __typename?: any;
5309
5939
  } | null) => obj is UserImages;
@@ -5313,30 +5943,39 @@ export declare const isValidatedToken: (obj?: {
5313
5943
  export declare const isDeleteVtxUserResponse: (obj?: {
5314
5944
  __typename?: any;
5315
5945
  } | null) => obj is DeleteVtxUserResponse;
5316
- export declare const isPaginatedUsersType: (obj?: {
5946
+ export declare const isPaginatedUsers: (obj?: {
5317
5947
  __typename?: any;
5318
- } | null) => obj is PaginatedUsersType;
5948
+ } | null) => obj is PaginatedUsers;
5319
5949
  export declare const isTransactionDetails: (obj?: {
5320
5950
  __typename?: any;
5321
5951
  } | null) => obj is TransactionDetails;
5322
- export declare const isPaginatedEventsType: (obj?: {
5952
+ export declare const isPaginatedEvents: (obj?: {
5323
5953
  __typename?: any;
5324
- } | null) => obj is PaginatedEventsType;
5954
+ } | null) => obj is PaginatedEvents;
5325
5955
  export declare const isCurrencyAmountType: (obj?: {
5326
5956
  __typename?: any;
5327
5957
  } | null) => obj is CurrencyAmountType;
5328
- export declare const isStripeBalanceType: (obj?: {
5958
+ export declare const isStripeBalance: (obj?: {
5329
5959
  __typename?: any;
5330
- } | null) => obj is StripeBalanceType;
5960
+ } | null) => obj is StripeBalance;
5331
5961
  export declare const isStripeTransfer: (obj?: {
5332
5962
  __typename?: any;
5333
5963
  } | null) => obj is StripeTransfer;
5334
5964
  export declare const isUserDomain: (obj?: {
5335
5965
  __typename?: any;
5336
5966
  } | null) => obj is UserDomain;
5337
- export declare const isPaginatedTransactionsType: (obj?: {
5967
+ export declare const isPaginatedTransactions: (obj?: {
5968
+ __typename?: any;
5969
+ } | null) => obj is PaginatedTransactions;
5970
+ export declare const isPaginatedOffers: (obj?: {
5971
+ __typename?: any;
5972
+ } | null) => obj is PaginatedOffers;
5973
+ export declare const isUploadResult: (obj?: {
5338
5974
  __typename?: any;
5339
- } | null) => obj is PaginatedTransactionsType;
5975
+ } | null) => obj is UploadResult;
5976
+ export declare const isOfferAvailability: (obj?: {
5977
+ __typename?: any;
5978
+ } | null) => obj is OfferAvailability;
5340
5979
  export declare const isQuery: (obj?: {
5341
5980
  __typename?: any;
5342
5981
  } | null) => obj is Query;
@@ -5355,6 +5994,11 @@ export declare const enumFundingMode: {
5355
5994
  SINGLE_BUDGET: "SINGLE_BUDGET";
5356
5995
  COMPETITION_BUDGETS: "COMPETITION_BUDGETS";
5357
5996
  };
5997
+ export declare const enumEligibilityStatus: {
5998
+ ELIGIBLE: "ELIGIBLE";
5999
+ NOT_ELIGIBLE: "NOT_ELIGIBLE";
6000
+ UNKNOWN: "UNKNOWN";
6001
+ };
5358
6002
  export declare const enumForceScoreRefreshStatus: {
5359
6003
  success: "success";
5360
6004
  failed: "failed";
@@ -5371,3 +6015,8 @@ export declare const enumDonationMode: {
5371
6015
  PRIVATE: "PRIVATE";
5372
6016
  ANONYMOUS: "ANONYMOUS";
5373
6017
  };
6018
+ export declare const enumOfferClaimStatus: {
6019
+ ACTIVE: "ACTIVE";
6020
+ EXPIRED: "EXPIRED";
6021
+ ALL: "ALL";
6022
+ };