@vertikalx/vtx-backend-client 3.0.0-dev-max.52 → 3.0.0-dev-max.54
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.
- package/package.json +1 -1
- package/src/api/vtx-base-api.d.ts +2 -0
- package/src/api/vtx-base-api.js +72 -0
- package/src/api/vtx-base-api.js.map +1 -1
- package/src/client/schema.d.ts +445 -364
- package/src/client/schema.js +98 -77
- package/src/client/schema.js.map +1 -1
- package/src/client/types.d.ts +203 -151
- package/src/client/types.js +865 -734
- package/src/client/types.js.map +1 -1
- package/tsconfig.lib.tsbuildinfo +1 -1
package/src/client/schema.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ export type Scalars = {
|
|
|
4
4
|
DateTime: any;
|
|
5
5
|
Float: number;
|
|
6
6
|
ID: string;
|
|
7
|
-
JSONObject: any;
|
|
8
7
|
Int: number;
|
|
8
|
+
JSONObject: any;
|
|
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
|
|
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
|
-
|
|
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
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
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'];
|
|
@@ -500,48 +409,6 @@ export interface AthleteCriteria {
|
|
|
500
409
|
export type QualificationTypeUnion = (AgeQualification | GenderQualification | ScoreQualification | LocationQualification | NationalityQualification | DistanceQualification | SportsQualification | SportsLevelQualification) & {
|
|
501
410
|
__isUnion?: true;
|
|
502
411
|
};
|
|
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
412
|
export interface SponsorshipItem {
|
|
546
413
|
_id: Scalars['String'];
|
|
547
414
|
quantity: Scalars['Float'];
|
|
@@ -611,6 +478,129 @@ export interface Sponsorship {
|
|
|
611
478
|
translations: (SponsorshipTranslation[] | null);
|
|
612
479
|
__typename: 'Sponsorship';
|
|
613
480
|
}
|
|
481
|
+
export interface Sponsor {
|
|
482
|
+
_id: Scalars['String'];
|
|
483
|
+
name: Scalars['String'];
|
|
484
|
+
description: Scalars['String'];
|
|
485
|
+
tenant: Tenant;
|
|
486
|
+
industry: (Industry | null);
|
|
487
|
+
stats: (SponsorStats | null);
|
|
488
|
+
brands: (SponsorBrand[] | null);
|
|
489
|
+
sponsorships: (Sponsorship[] | null);
|
|
490
|
+
approved: Scalars['Boolean'];
|
|
491
|
+
__typename: 'Sponsor';
|
|
492
|
+
}
|
|
493
|
+
export interface SponsorBrand {
|
|
494
|
+
_id: Scalars['String'];
|
|
495
|
+
sponsor: (Sponsor | null);
|
|
496
|
+
authorizedUse: Scalars['Boolean'];
|
|
497
|
+
isAuthorizer: Scalars['Boolean'];
|
|
498
|
+
__typename: 'SponsorBrand';
|
|
499
|
+
}
|
|
500
|
+
export interface BrandStats {
|
|
501
|
+
campaigns: (Scalars['Float'] | null);
|
|
502
|
+
sponsorships: (Scalars['Float'] | null);
|
|
503
|
+
sports: (Scalars['Float'] | null);
|
|
504
|
+
athletes: (Scalars['Float'] | null);
|
|
505
|
+
__typename: 'BrandStats';
|
|
506
|
+
}
|
|
507
|
+
export interface BrandTranslation {
|
|
508
|
+
_id: Scalars['String'];
|
|
509
|
+
brandId: Scalars['String'];
|
|
510
|
+
language: Scalars['String'];
|
|
511
|
+
name: (Scalars['String'] | null);
|
|
512
|
+
slogan: (Scalars['String'] | null);
|
|
513
|
+
description: (Scalars['String'] | null);
|
|
514
|
+
logo: (AWSS3File | null);
|
|
515
|
+
banner: (AWSS3File | null);
|
|
516
|
+
__typename: 'BrandTranslation';
|
|
517
|
+
}
|
|
518
|
+
export interface Brand {
|
|
519
|
+
_id: Scalars['String'];
|
|
520
|
+
name: Scalars['String'];
|
|
521
|
+
slogan: (Scalars['String'] | null);
|
|
522
|
+
website: (Scalars['String'] | null);
|
|
523
|
+
description: (Scalars['String'] | null);
|
|
524
|
+
approved: Scalars['Boolean'];
|
|
525
|
+
published: Scalars['Boolean'];
|
|
526
|
+
logo: (AWSS3File | null);
|
|
527
|
+
banner: (AWSS3File | null);
|
|
528
|
+
stats: (BrandStats | null);
|
|
529
|
+
operatorIds: (Scalars['String'][] | null);
|
|
530
|
+
translations: (BrandTranslation[] | null);
|
|
531
|
+
sponsors: (SponsorBrand[] | null);
|
|
532
|
+
__typename: 'Brand';
|
|
533
|
+
}
|
|
534
|
+
export interface StravaTpiRideDto {
|
|
535
|
+
distanceKm: Scalars['Float'];
|
|
536
|
+
distanceKmLast: Scalars['Float'];
|
|
537
|
+
elapsedTimeMin: Scalars['Float'];
|
|
538
|
+
elapsedTimeMinLast: Scalars['Float'];
|
|
539
|
+
averageSpeedKmh: Scalars['Float'];
|
|
540
|
+
averageSpeedKmhLast: Scalars['Float'];
|
|
541
|
+
maxSpeedKmh: Scalars['Float'];
|
|
542
|
+
maxSpeedKmhLast: Scalars['Float'];
|
|
543
|
+
averageHeartRateBpm: Scalars['Float'];
|
|
544
|
+
averageHeartRateBpmLast: Scalars['Float'];
|
|
545
|
+
maxHeartRateBpm: Scalars['Float'];
|
|
546
|
+
maxHeartRateBpmLast: Scalars['Float'];
|
|
547
|
+
averageCadenceStm: Scalars['Float'];
|
|
548
|
+
averageCadenceStmLast: Scalars['Float'];
|
|
549
|
+
lastDate: (Scalars['DateTime'] | null);
|
|
550
|
+
country: (Scalars['String'] | null);
|
|
551
|
+
state: (Scalars['String'] | null);
|
|
552
|
+
city: (Scalars['String'] | null);
|
|
553
|
+
tpi: Scalars['Float'];
|
|
554
|
+
__typename: 'StravaTpiRideDto';
|
|
555
|
+
}
|
|
556
|
+
export interface StravaTpiRunDto {
|
|
557
|
+
distanceKm: Scalars['Float'];
|
|
558
|
+
distanceKmLast: Scalars['Float'];
|
|
559
|
+
elapsedTimeMin: Scalars['Float'];
|
|
560
|
+
elapsedTimeMinLast: Scalars['Float'];
|
|
561
|
+
averageSpeedKmh: Scalars['Float'];
|
|
562
|
+
averageSpeedKmhLast: Scalars['Float'];
|
|
563
|
+
maxSpeedKmh: Scalars['Float'];
|
|
564
|
+
maxSpeedKmhLast: Scalars['Float'];
|
|
565
|
+
averageHeartRateBpm: Scalars['Float'];
|
|
566
|
+
averageHeartRateBpmLast: Scalars['Float'];
|
|
567
|
+
maxHeartRateBpm: Scalars['Float'];
|
|
568
|
+
maxHeartRateBpmLast: Scalars['Float'];
|
|
569
|
+
averageCadenceStm: Scalars['Float'];
|
|
570
|
+
averageCadenceStmLast: Scalars['Float'];
|
|
571
|
+
elevHigh: Scalars['Float'];
|
|
572
|
+
elevHighLast: Scalars['Float'];
|
|
573
|
+
elevLow: Scalars['Float'];
|
|
574
|
+
elevLowLast: Scalars['Float'];
|
|
575
|
+
lastDate: (Scalars['DateTime'] | null);
|
|
576
|
+
country: (Scalars['String'] | null);
|
|
577
|
+
state: (Scalars['String'] | null);
|
|
578
|
+
city: (Scalars['String'] | null);
|
|
579
|
+
tpi: Scalars['Float'];
|
|
580
|
+
__typename: 'StravaTpiRunDto';
|
|
581
|
+
}
|
|
582
|
+
export interface StravaTpiSwimDto {
|
|
583
|
+
distanceKm: Scalars['Float'];
|
|
584
|
+
distanceKmLast: Scalars['Float'];
|
|
585
|
+
elapsedTimeMin: Scalars['Float'];
|
|
586
|
+
elapsedTimeMinLast: Scalars['Float'];
|
|
587
|
+
averageSpeedKmh: Scalars['Float'];
|
|
588
|
+
averageSpeedKmhLast: Scalars['Float'];
|
|
589
|
+
maxSpeedKmh: Scalars['Float'];
|
|
590
|
+
maxSpeedKmhLast: Scalars['Float'];
|
|
591
|
+
averageHeartRateBpm: Scalars['Float'];
|
|
592
|
+
averageHeartRateBpmLast: Scalars['Float'];
|
|
593
|
+
maxHeartRateBpm: Scalars['Float'];
|
|
594
|
+
maxHeartRateBpmLast: Scalars['Float'];
|
|
595
|
+
averageCadenceStm: Scalars['Float'];
|
|
596
|
+
averageCadenceStmLast: Scalars['Float'];
|
|
597
|
+
lastDate: (Scalars['DateTime'] | null);
|
|
598
|
+
country: (Scalars['String'] | null);
|
|
599
|
+
state: (Scalars['String'] | null);
|
|
600
|
+
city: (Scalars['String'] | null);
|
|
601
|
+
tpi: Scalars['Float'];
|
|
602
|
+
__typename: 'StravaTpiSwimDto';
|
|
603
|
+
}
|
|
614
604
|
export interface FollowStats {
|
|
615
605
|
followers: Scalars['Float'];
|
|
616
606
|
followed: Scalars['Float'];
|
|
@@ -1408,6 +1398,27 @@ export interface Coupon {
|
|
|
1408
1398
|
couponCodes: (CouponCode[] | null);
|
|
1409
1399
|
__typename: 'Coupon';
|
|
1410
1400
|
}
|
|
1401
|
+
export interface EnhancedPaginationInfoType {
|
|
1402
|
+
currentPage: Scalars['Int'];
|
|
1403
|
+
totalPages: Scalars['Int'];
|
|
1404
|
+
totalItems: Scalars['Int'];
|
|
1405
|
+
itemsPerPage: Scalars['Int'];
|
|
1406
|
+
hasNextPage: Scalars['Boolean'];
|
|
1407
|
+
hasPreviousPage: Scalars['Boolean'];
|
|
1408
|
+
startIndex: Scalars['Int'];
|
|
1409
|
+
endIndex: Scalars['Int'];
|
|
1410
|
+
__typename: 'EnhancedPaginationInfoType';
|
|
1411
|
+
}
|
|
1412
|
+
export interface PaginatedBrandsType {
|
|
1413
|
+
items: Brand[];
|
|
1414
|
+
pagination: EnhancedPaginationInfoType;
|
|
1415
|
+
__typename: 'PaginatedBrandsType';
|
|
1416
|
+
}
|
|
1417
|
+
export interface PaginatedSponsorsType {
|
|
1418
|
+
items: Sponsor[];
|
|
1419
|
+
pagination: EnhancedPaginationInfoType;
|
|
1420
|
+
__typename: 'PaginatedSponsorsType';
|
|
1421
|
+
}
|
|
1411
1422
|
export interface EditValueResponse {
|
|
1412
1423
|
field: Scalars['String'];
|
|
1413
1424
|
oldValue: (Scalars['String'] | null);
|
|
@@ -1526,17 +1537,6 @@ export interface CheckScoreRefreshCapabilityResponse {
|
|
|
1526
1537
|
capabilities: ScoreRefreshCapability[];
|
|
1527
1538
|
__typename: 'CheckScoreRefreshCapabilityResponse';
|
|
1528
1539
|
}
|
|
1529
|
-
export interface EnhancedPaginationInfoType {
|
|
1530
|
-
currentPage: Scalars['Int'];
|
|
1531
|
-
totalPages: Scalars['Int'];
|
|
1532
|
-
totalItems: Scalars['Int'];
|
|
1533
|
-
itemsPerPage: Scalars['Int'];
|
|
1534
|
-
hasNextPage: Scalars['Boolean'];
|
|
1535
|
-
hasPreviousPage: Scalars['Boolean'];
|
|
1536
|
-
startIndex: Scalars['Int'];
|
|
1537
|
-
endIndex: Scalars['Int'];
|
|
1538
|
-
__typename: 'EnhancedPaginationInfoType';
|
|
1539
|
-
}
|
|
1540
1540
|
export interface PaginatedSportsType {
|
|
1541
1541
|
items: Sport[];
|
|
1542
1542
|
pagination: EnhancedPaginationInfoType;
|
|
@@ -1636,6 +1636,11 @@ export interface PaginatedTransactionsType {
|
|
|
1636
1636
|
pagination: EnhancedPaginationInfoType;
|
|
1637
1637
|
__typename: 'PaginatedTransactionsType';
|
|
1638
1638
|
}
|
|
1639
|
+
export interface PaginatedOffersType {
|
|
1640
|
+
items: Offer[];
|
|
1641
|
+
pagination: EnhancedPaginationInfoType;
|
|
1642
|
+
__typename: 'PaginatedOffersType';
|
|
1643
|
+
}
|
|
1639
1644
|
export type DonationMode = 'PUBLIC' | 'PRIVATE' | 'ANONYMOUS';
|
|
1640
1645
|
export interface Query {
|
|
1641
1646
|
findTenantById: Tenant;
|
|
@@ -1649,10 +1654,12 @@ export interface Query {
|
|
|
1649
1654
|
industries: Industry[];
|
|
1650
1655
|
findIndustryById: Industry;
|
|
1651
1656
|
brands: Brand[];
|
|
1657
|
+
getBrandsPaginated: PaginatedBrandsType;
|
|
1652
1658
|
getBrandByName: Brand;
|
|
1653
1659
|
getBrandTranslation: BrandTranslation;
|
|
1654
1660
|
existsValidSponsorForEmail: Sponsor;
|
|
1655
1661
|
sponsors: Sponsor[];
|
|
1662
|
+
getSponsorsPaginated: PaginatedSponsorsType;
|
|
1656
1663
|
findSponsorAthleteInvitation: SponsorAthleteInvitation;
|
|
1657
1664
|
verifyAthleteCompetitionLinkedForDelete: CompetitionDeleteVerificationResponse;
|
|
1658
1665
|
getAthletes: Athlete[];
|
|
@@ -1723,6 +1730,7 @@ export interface Query {
|
|
|
1723
1730
|
getAllTransactions: AdminTransactionView[];
|
|
1724
1731
|
getTransactionsPaginated: PaginatedTransactionsType;
|
|
1725
1732
|
offers: Offer[];
|
|
1733
|
+
getOffersPaginated: PaginatedOffersType;
|
|
1726
1734
|
offersForAthlete: Offer[];
|
|
1727
1735
|
offer: Offer;
|
|
1728
1736
|
__typename: 'Query';
|
|
@@ -1743,6 +1751,8 @@ export interface Mutation {
|
|
|
1743
1751
|
createBrand: Brand;
|
|
1744
1752
|
updateBrand: Brand;
|
|
1745
1753
|
deleteBrand: Scalars['Boolean'];
|
|
1754
|
+
linkBrandToSponsor: Brand;
|
|
1755
|
+
unlinkBrandFromSponsor: Brand;
|
|
1746
1756
|
registerSponsor: Sponsor;
|
|
1747
1757
|
createSponsor: Sponsor;
|
|
1748
1758
|
sendAthleteInvitations: SponsorAthleteInvitation[];
|
|
@@ -2156,112 +2166,17 @@ export interface CodeVerificationResponseGenqlSelection {
|
|
|
2156
2166
|
__typename?: boolean | number;
|
|
2157
2167
|
__scalar?: boolean | number;
|
|
2158
2168
|
}
|
|
2159
|
-
export interface
|
|
2160
|
-
campaigns?: boolean | number;
|
|
2161
|
-
sponsorships?: boolean | number;
|
|
2162
|
-
sports?: boolean | number;
|
|
2163
|
-
athletes?: boolean | number;
|
|
2164
|
-
__typename?: boolean | number;
|
|
2165
|
-
__scalar?: boolean | number;
|
|
2166
|
-
}
|
|
2167
|
-
export interface BrandTranslationGenqlSelection {
|
|
2168
|
-
_id?: boolean | number;
|
|
2169
|
-
brandId?: boolean | number;
|
|
2170
|
-
language?: boolean | number;
|
|
2171
|
-
name?: boolean | number;
|
|
2172
|
-
slogan?: boolean | number;
|
|
2173
|
-
description?: boolean | number;
|
|
2174
|
-
logo?: AWSS3FileGenqlSelection;
|
|
2175
|
-
banner?: AWSS3FileGenqlSelection;
|
|
2176
|
-
__typename?: boolean | number;
|
|
2177
|
-
__scalar?: boolean | number;
|
|
2178
|
-
}
|
|
2179
|
-
export interface BrandGenqlSelection {
|
|
2169
|
+
export interface IndustryGenqlSelection {
|
|
2180
2170
|
_id?: boolean | number;
|
|
2181
2171
|
name?: boolean | number;
|
|
2182
|
-
slogan?: boolean | number;
|
|
2183
|
-
website?: boolean | number;
|
|
2184
|
-
description?: boolean | number;
|
|
2185
|
-
approved?: boolean | number;
|
|
2186
|
-
published?: boolean | number;
|
|
2187
|
-
logo?: AWSS3FileGenqlSelection;
|
|
2188
|
-
banner?: AWSS3FileGenqlSelection;
|
|
2189
|
-
stats?: BrandStatsGenqlSelection;
|
|
2190
|
-
operatorIds?: boolean | number;
|
|
2191
|
-
translations?: BrandTranslationGenqlSelection;
|
|
2192
|
-
__typename?: boolean | number;
|
|
2193
|
-
__scalar?: boolean | number;
|
|
2194
|
-
}
|
|
2195
|
-
export interface StravaTpiRideDtoGenqlSelection {
|
|
2196
|
-
distanceKm?: boolean | number;
|
|
2197
|
-
distanceKmLast?: boolean | number;
|
|
2198
|
-
elapsedTimeMin?: boolean | number;
|
|
2199
|
-
elapsedTimeMinLast?: boolean | number;
|
|
2200
|
-
averageSpeedKmh?: boolean | number;
|
|
2201
|
-
averageSpeedKmhLast?: boolean | number;
|
|
2202
|
-
maxSpeedKmh?: boolean | number;
|
|
2203
|
-
maxSpeedKmhLast?: boolean | number;
|
|
2204
|
-
averageHeartRateBpm?: boolean | number;
|
|
2205
|
-
averageHeartRateBpmLast?: boolean | number;
|
|
2206
|
-
maxHeartRateBpm?: boolean | number;
|
|
2207
|
-
maxHeartRateBpmLast?: boolean | number;
|
|
2208
|
-
averageCadenceStm?: boolean | number;
|
|
2209
|
-
averageCadenceStmLast?: boolean | number;
|
|
2210
|
-
lastDate?: boolean | number;
|
|
2211
|
-
country?: boolean | number;
|
|
2212
|
-
state?: boolean | number;
|
|
2213
|
-
city?: boolean | number;
|
|
2214
|
-
tpi?: boolean | number;
|
|
2215
|
-
__typename?: boolean | number;
|
|
2216
|
-
__scalar?: boolean | number;
|
|
2217
|
-
}
|
|
2218
|
-
export interface StravaTpiRunDtoGenqlSelection {
|
|
2219
|
-
distanceKm?: boolean | number;
|
|
2220
|
-
distanceKmLast?: boolean | number;
|
|
2221
|
-
elapsedTimeMin?: boolean | number;
|
|
2222
|
-
elapsedTimeMinLast?: boolean | number;
|
|
2223
|
-
averageSpeedKmh?: boolean | number;
|
|
2224
|
-
averageSpeedKmhLast?: boolean | number;
|
|
2225
|
-
maxSpeedKmh?: boolean | number;
|
|
2226
|
-
maxSpeedKmhLast?: boolean | number;
|
|
2227
|
-
averageHeartRateBpm?: boolean | number;
|
|
2228
|
-
averageHeartRateBpmLast?: boolean | number;
|
|
2229
|
-
maxHeartRateBpm?: boolean | number;
|
|
2230
|
-
maxHeartRateBpmLast?: boolean | number;
|
|
2231
|
-
averageCadenceStm?: boolean | number;
|
|
2232
|
-
averageCadenceStmLast?: boolean | number;
|
|
2233
|
-
elevHigh?: boolean | number;
|
|
2234
|
-
elevHighLast?: boolean | number;
|
|
2235
|
-
elevLow?: boolean | number;
|
|
2236
|
-
elevLowLast?: boolean | number;
|
|
2237
|
-
lastDate?: boolean | number;
|
|
2238
|
-
country?: boolean | number;
|
|
2239
|
-
state?: boolean | number;
|
|
2240
|
-
city?: boolean | number;
|
|
2241
|
-
tpi?: boolean | number;
|
|
2242
2172
|
__typename?: boolean | number;
|
|
2243
2173
|
__scalar?: boolean | number;
|
|
2244
2174
|
}
|
|
2245
|
-
export interface
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
averageSpeedKmh?: boolean | number;
|
|
2251
|
-
averageSpeedKmhLast?: boolean | number;
|
|
2252
|
-
maxSpeedKmh?: boolean | number;
|
|
2253
|
-
maxSpeedKmhLast?: boolean | number;
|
|
2254
|
-
averageHeartRateBpm?: boolean | number;
|
|
2255
|
-
averageHeartRateBpmLast?: boolean | number;
|
|
2256
|
-
maxHeartRateBpm?: boolean | number;
|
|
2257
|
-
maxHeartRateBpmLast?: boolean | number;
|
|
2258
|
-
averageCadenceStm?: boolean | number;
|
|
2259
|
-
averageCadenceStmLast?: boolean | number;
|
|
2260
|
-
lastDate?: boolean | number;
|
|
2261
|
-
country?: boolean | number;
|
|
2262
|
-
state?: boolean | number;
|
|
2263
|
-
city?: boolean | number;
|
|
2264
|
-
tpi?: boolean | number;
|
|
2175
|
+
export interface SponsorStatsGenqlSelection {
|
|
2176
|
+
sponsoredAthletes?: boolean | number;
|
|
2177
|
+
totalBrands?: boolean | number;
|
|
2178
|
+
activeCampaigns?: boolean | number;
|
|
2179
|
+
activeSponsorships?: boolean | number;
|
|
2265
2180
|
__typename?: boolean | number;
|
|
2266
2181
|
__scalar?: boolean | number;
|
|
2267
2182
|
}
|
|
@@ -2370,52 +2285,6 @@ export interface QualificationTypeUnionGenqlSelection {
|
|
|
2370
2285
|
on_SportsLevelQualification?: SportsLevelQualificationGenqlSelection;
|
|
2371
2286
|
__typename?: boolean | number;
|
|
2372
2287
|
}
|
|
2373
|
-
export interface IndustryGenqlSelection {
|
|
2374
|
-
_id?: boolean | number;
|
|
2375
|
-
name?: boolean | number;
|
|
2376
|
-
__typename?: boolean | number;
|
|
2377
|
-
__scalar?: boolean | number;
|
|
2378
|
-
}
|
|
2379
|
-
export interface SponsorStatsGenqlSelection {
|
|
2380
|
-
sponsoredAthletes?: boolean | number;
|
|
2381
|
-
totalBrands?: boolean | number;
|
|
2382
|
-
activeCampaigns?: boolean | number;
|
|
2383
|
-
activeSponsorships?: boolean | number;
|
|
2384
|
-
__typename?: boolean | number;
|
|
2385
|
-
__scalar?: boolean | number;
|
|
2386
|
-
}
|
|
2387
|
-
export interface SponsorBrandGenqlSelection {
|
|
2388
|
-
_id?: boolean | number;
|
|
2389
|
-
name?: boolean | number;
|
|
2390
|
-
slogan?: boolean | number;
|
|
2391
|
-
website?: boolean | number;
|
|
2392
|
-
description?: boolean | number;
|
|
2393
|
-
approved?: boolean | number;
|
|
2394
|
-
published?: boolean | number;
|
|
2395
|
-
logo?: AWSS3FileGenqlSelection;
|
|
2396
|
-
banner?: AWSS3FileGenqlSelection;
|
|
2397
|
-
stats?: BrandStatsGenqlSelection;
|
|
2398
|
-
operatorIds?: boolean | number;
|
|
2399
|
-
translations?: BrandTranslationGenqlSelection;
|
|
2400
|
-
sponsorBrandId?: boolean | number;
|
|
2401
|
-
authorizedUse?: boolean | number;
|
|
2402
|
-
isAuthorizer?: boolean | number;
|
|
2403
|
-
__typename?: boolean | number;
|
|
2404
|
-
__scalar?: boolean | number;
|
|
2405
|
-
}
|
|
2406
|
-
export interface SponsorGenqlSelection {
|
|
2407
|
-
_id?: boolean | number;
|
|
2408
|
-
name?: boolean | number;
|
|
2409
|
-
description?: boolean | number;
|
|
2410
|
-
tenant?: TenantGenqlSelection;
|
|
2411
|
-
industry?: IndustryGenqlSelection;
|
|
2412
|
-
stats?: SponsorStatsGenqlSelection;
|
|
2413
|
-
brands?: SponsorBrandGenqlSelection;
|
|
2414
|
-
sponsorships?: SponsorshipGenqlSelection;
|
|
2415
|
-
approved?: boolean | number;
|
|
2416
|
-
__typename?: boolean | number;
|
|
2417
|
-
__scalar?: boolean | number;
|
|
2418
|
-
}
|
|
2419
2288
|
export interface SponsorshipItemGenqlSelection {
|
|
2420
2289
|
_id?: boolean | number;
|
|
2421
2290
|
quantity?: boolean | number;
|
|
@@ -2456,38 +2325,169 @@ export interface SponsorshipStatsGenqlSelection {
|
|
|
2456
2325
|
__typename?: boolean | number;
|
|
2457
2326
|
__scalar?: boolean | number;
|
|
2458
2327
|
}
|
|
2459
|
-
export interface SponsorshipTranslationGenqlSelection {
|
|
2328
|
+
export interface SponsorshipTranslationGenqlSelection {
|
|
2329
|
+
_id?: boolean | number;
|
|
2330
|
+
sponsorshipId?: boolean | number;
|
|
2331
|
+
language?: boolean | number;
|
|
2332
|
+
title?: boolean | number;
|
|
2333
|
+
description?: boolean | number;
|
|
2334
|
+
terms?: boolean | number;
|
|
2335
|
+
banner?: AWSS3FileGenqlSelection;
|
|
2336
|
+
__typename?: boolean | number;
|
|
2337
|
+
__scalar?: boolean | number;
|
|
2338
|
+
}
|
|
2339
|
+
export interface SponsorshipGenqlSelection {
|
|
2340
|
+
_id?: boolean | number;
|
|
2341
|
+
title?: boolean | number;
|
|
2342
|
+
description?: boolean | number;
|
|
2343
|
+
cashValue?: boolean | number;
|
|
2344
|
+
otherValue?: boolean | number;
|
|
2345
|
+
brand?: BrandGenqlSelection;
|
|
2346
|
+
banner?: AWSS3FileGenqlSelection;
|
|
2347
|
+
criteria?: AthleteCriteriaGenqlSelection;
|
|
2348
|
+
deadline?: boolean | number;
|
|
2349
|
+
startDate?: boolean | number;
|
|
2350
|
+
duration?: DurationGenqlSelection;
|
|
2351
|
+
sponsor?: SponsorGenqlSelection;
|
|
2352
|
+
sponsorshipItems?: SponsorshipItemGenqlSelection;
|
|
2353
|
+
commitments?: SponsorshipCommitmentGenqlSelection;
|
|
2354
|
+
terms?: boolean | number;
|
|
2355
|
+
stats?: SponsorshipStatsGenqlSelection;
|
|
2356
|
+
isPrivate?: boolean | number;
|
|
2357
|
+
approved?: boolean | number;
|
|
2358
|
+
published?: boolean | number;
|
|
2359
|
+
translations?: SponsorshipTranslationGenqlSelection;
|
|
2360
|
+
__typename?: boolean | number;
|
|
2361
|
+
__scalar?: boolean | number;
|
|
2362
|
+
}
|
|
2363
|
+
export interface SponsorGenqlSelection {
|
|
2364
|
+
_id?: boolean | number;
|
|
2365
|
+
name?: boolean | number;
|
|
2366
|
+
description?: boolean | number;
|
|
2367
|
+
tenant?: TenantGenqlSelection;
|
|
2368
|
+
industry?: IndustryGenqlSelection;
|
|
2369
|
+
stats?: SponsorStatsGenqlSelection;
|
|
2370
|
+
brands?: SponsorBrandGenqlSelection;
|
|
2371
|
+
sponsorships?: SponsorshipGenqlSelection;
|
|
2372
|
+
approved?: boolean | number;
|
|
2373
|
+
__typename?: boolean | number;
|
|
2374
|
+
__scalar?: boolean | number;
|
|
2375
|
+
}
|
|
2376
|
+
export interface SponsorBrandGenqlSelection {
|
|
2377
|
+
_id?: boolean | number;
|
|
2378
|
+
sponsor?: SponsorGenqlSelection;
|
|
2379
|
+
authorizedUse?: boolean | number;
|
|
2380
|
+
isAuthorizer?: boolean | number;
|
|
2381
|
+
__typename?: boolean | number;
|
|
2382
|
+
__scalar?: boolean | number;
|
|
2383
|
+
}
|
|
2384
|
+
export interface BrandStatsGenqlSelection {
|
|
2385
|
+
campaigns?: boolean | number;
|
|
2386
|
+
sponsorships?: boolean | number;
|
|
2387
|
+
sports?: boolean | number;
|
|
2388
|
+
athletes?: boolean | number;
|
|
2389
|
+
__typename?: boolean | number;
|
|
2390
|
+
__scalar?: boolean | number;
|
|
2391
|
+
}
|
|
2392
|
+
export interface BrandTranslationGenqlSelection {
|
|
2460
2393
|
_id?: boolean | number;
|
|
2461
|
-
|
|
2394
|
+
brandId?: boolean | number;
|
|
2462
2395
|
language?: boolean | number;
|
|
2463
|
-
|
|
2396
|
+
name?: boolean | number;
|
|
2397
|
+
slogan?: boolean | number;
|
|
2464
2398
|
description?: boolean | number;
|
|
2465
|
-
|
|
2399
|
+
logo?: AWSS3FileGenqlSelection;
|
|
2466
2400
|
banner?: AWSS3FileGenqlSelection;
|
|
2467
2401
|
__typename?: boolean | number;
|
|
2468
2402
|
__scalar?: boolean | number;
|
|
2469
2403
|
}
|
|
2470
|
-
export interface
|
|
2404
|
+
export interface BrandGenqlSelection {
|
|
2471
2405
|
_id?: boolean | number;
|
|
2472
|
-
|
|
2406
|
+
name?: boolean | number;
|
|
2407
|
+
slogan?: boolean | number;
|
|
2408
|
+
website?: boolean | number;
|
|
2473
2409
|
description?: boolean | number;
|
|
2474
|
-
cashValue?: boolean | number;
|
|
2475
|
-
otherValue?: boolean | number;
|
|
2476
|
-
brand?: BrandGenqlSelection;
|
|
2477
|
-
banner?: AWSS3FileGenqlSelection;
|
|
2478
|
-
criteria?: AthleteCriteriaGenqlSelection;
|
|
2479
|
-
deadline?: boolean | number;
|
|
2480
|
-
startDate?: boolean | number;
|
|
2481
|
-
duration?: DurationGenqlSelection;
|
|
2482
|
-
sponsor?: SponsorGenqlSelection;
|
|
2483
|
-
sponsorshipItems?: SponsorshipItemGenqlSelection;
|
|
2484
|
-
commitments?: SponsorshipCommitmentGenqlSelection;
|
|
2485
|
-
terms?: boolean | number;
|
|
2486
|
-
stats?: SponsorshipStatsGenqlSelection;
|
|
2487
|
-
isPrivate?: boolean | number;
|
|
2488
2410
|
approved?: boolean | number;
|
|
2489
2411
|
published?: boolean | number;
|
|
2490
|
-
|
|
2412
|
+
logo?: AWSS3FileGenqlSelection;
|
|
2413
|
+
banner?: AWSS3FileGenqlSelection;
|
|
2414
|
+
stats?: BrandStatsGenqlSelection;
|
|
2415
|
+
operatorIds?: boolean | number;
|
|
2416
|
+
translations?: BrandTranslationGenqlSelection;
|
|
2417
|
+
sponsors?: SponsorBrandGenqlSelection;
|
|
2418
|
+
__typename?: boolean | number;
|
|
2419
|
+
__scalar?: boolean | number;
|
|
2420
|
+
}
|
|
2421
|
+
export interface StravaTpiRideDtoGenqlSelection {
|
|
2422
|
+
distanceKm?: boolean | number;
|
|
2423
|
+
distanceKmLast?: boolean | number;
|
|
2424
|
+
elapsedTimeMin?: boolean | number;
|
|
2425
|
+
elapsedTimeMinLast?: boolean | number;
|
|
2426
|
+
averageSpeedKmh?: boolean | number;
|
|
2427
|
+
averageSpeedKmhLast?: boolean | number;
|
|
2428
|
+
maxSpeedKmh?: boolean | number;
|
|
2429
|
+
maxSpeedKmhLast?: boolean | number;
|
|
2430
|
+
averageHeartRateBpm?: boolean | number;
|
|
2431
|
+
averageHeartRateBpmLast?: boolean | number;
|
|
2432
|
+
maxHeartRateBpm?: boolean | number;
|
|
2433
|
+
maxHeartRateBpmLast?: boolean | number;
|
|
2434
|
+
averageCadenceStm?: boolean | number;
|
|
2435
|
+
averageCadenceStmLast?: boolean | number;
|
|
2436
|
+
lastDate?: boolean | number;
|
|
2437
|
+
country?: boolean | number;
|
|
2438
|
+
state?: boolean | number;
|
|
2439
|
+
city?: boolean | number;
|
|
2440
|
+
tpi?: boolean | number;
|
|
2441
|
+
__typename?: boolean | number;
|
|
2442
|
+
__scalar?: boolean | number;
|
|
2443
|
+
}
|
|
2444
|
+
export interface StravaTpiRunDtoGenqlSelection {
|
|
2445
|
+
distanceKm?: boolean | number;
|
|
2446
|
+
distanceKmLast?: boolean | number;
|
|
2447
|
+
elapsedTimeMin?: boolean | number;
|
|
2448
|
+
elapsedTimeMinLast?: boolean | number;
|
|
2449
|
+
averageSpeedKmh?: boolean | number;
|
|
2450
|
+
averageSpeedKmhLast?: boolean | number;
|
|
2451
|
+
maxSpeedKmh?: boolean | number;
|
|
2452
|
+
maxSpeedKmhLast?: boolean | number;
|
|
2453
|
+
averageHeartRateBpm?: boolean | number;
|
|
2454
|
+
averageHeartRateBpmLast?: boolean | number;
|
|
2455
|
+
maxHeartRateBpm?: boolean | number;
|
|
2456
|
+
maxHeartRateBpmLast?: boolean | number;
|
|
2457
|
+
averageCadenceStm?: boolean | number;
|
|
2458
|
+
averageCadenceStmLast?: boolean | number;
|
|
2459
|
+
elevHigh?: boolean | number;
|
|
2460
|
+
elevHighLast?: boolean | number;
|
|
2461
|
+
elevLow?: boolean | number;
|
|
2462
|
+
elevLowLast?: boolean | number;
|
|
2463
|
+
lastDate?: boolean | number;
|
|
2464
|
+
country?: boolean | number;
|
|
2465
|
+
state?: boolean | number;
|
|
2466
|
+
city?: boolean | number;
|
|
2467
|
+
tpi?: boolean | number;
|
|
2468
|
+
__typename?: boolean | number;
|
|
2469
|
+
__scalar?: boolean | number;
|
|
2470
|
+
}
|
|
2471
|
+
export interface StravaTpiSwimDtoGenqlSelection {
|
|
2472
|
+
distanceKm?: boolean | number;
|
|
2473
|
+
distanceKmLast?: boolean | number;
|
|
2474
|
+
elapsedTimeMin?: boolean | number;
|
|
2475
|
+
elapsedTimeMinLast?: boolean | number;
|
|
2476
|
+
averageSpeedKmh?: boolean | number;
|
|
2477
|
+
averageSpeedKmhLast?: boolean | number;
|
|
2478
|
+
maxSpeedKmh?: boolean | number;
|
|
2479
|
+
maxSpeedKmhLast?: boolean | number;
|
|
2480
|
+
averageHeartRateBpm?: boolean | number;
|
|
2481
|
+
averageHeartRateBpmLast?: boolean | number;
|
|
2482
|
+
maxHeartRateBpm?: boolean | number;
|
|
2483
|
+
maxHeartRateBpmLast?: boolean | number;
|
|
2484
|
+
averageCadenceStm?: boolean | number;
|
|
2485
|
+
averageCadenceStmLast?: boolean | number;
|
|
2486
|
+
lastDate?: boolean | number;
|
|
2487
|
+
country?: boolean | number;
|
|
2488
|
+
state?: boolean | number;
|
|
2489
|
+
city?: boolean | number;
|
|
2490
|
+
tpi?: boolean | number;
|
|
2491
2491
|
__typename?: boolean | number;
|
|
2492
2492
|
__scalar?: boolean | number;
|
|
2493
2493
|
}
|
|
@@ -3359,6 +3359,30 @@ export interface CouponGenqlSelection {
|
|
|
3359
3359
|
__typename?: boolean | number;
|
|
3360
3360
|
__scalar?: boolean | number;
|
|
3361
3361
|
}
|
|
3362
|
+
export interface EnhancedPaginationInfoTypeGenqlSelection {
|
|
3363
|
+
currentPage?: boolean | number;
|
|
3364
|
+
totalPages?: boolean | number;
|
|
3365
|
+
totalItems?: boolean | number;
|
|
3366
|
+
itemsPerPage?: boolean | number;
|
|
3367
|
+
hasNextPage?: boolean | number;
|
|
3368
|
+
hasPreviousPage?: boolean | number;
|
|
3369
|
+
startIndex?: boolean | number;
|
|
3370
|
+
endIndex?: boolean | number;
|
|
3371
|
+
__typename?: boolean | number;
|
|
3372
|
+
__scalar?: boolean | number;
|
|
3373
|
+
}
|
|
3374
|
+
export interface PaginatedBrandsTypeGenqlSelection {
|
|
3375
|
+
items?: BrandGenqlSelection;
|
|
3376
|
+
pagination?: EnhancedPaginationInfoTypeGenqlSelection;
|
|
3377
|
+
__typename?: boolean | number;
|
|
3378
|
+
__scalar?: boolean | number;
|
|
3379
|
+
}
|
|
3380
|
+
export interface PaginatedSponsorsTypeGenqlSelection {
|
|
3381
|
+
items?: SponsorGenqlSelection;
|
|
3382
|
+
pagination?: EnhancedPaginationInfoTypeGenqlSelection;
|
|
3383
|
+
__typename?: boolean | number;
|
|
3384
|
+
__scalar?: boolean | number;
|
|
3385
|
+
}
|
|
3362
3386
|
export interface EditValueResponseGenqlSelection {
|
|
3363
3387
|
field?: boolean | number;
|
|
3364
3388
|
oldValue?: boolean | number;
|
|
@@ -3493,18 +3517,6 @@ export interface CheckScoreRefreshCapabilityResponseGenqlSelection {
|
|
|
3493
3517
|
__typename?: boolean | number;
|
|
3494
3518
|
__scalar?: boolean | number;
|
|
3495
3519
|
}
|
|
3496
|
-
export interface EnhancedPaginationInfoTypeGenqlSelection {
|
|
3497
|
-
currentPage?: boolean | number;
|
|
3498
|
-
totalPages?: boolean | number;
|
|
3499
|
-
totalItems?: boolean | number;
|
|
3500
|
-
itemsPerPage?: boolean | number;
|
|
3501
|
-
hasNextPage?: boolean | number;
|
|
3502
|
-
hasPreviousPage?: boolean | number;
|
|
3503
|
-
startIndex?: boolean | number;
|
|
3504
|
-
endIndex?: boolean | number;
|
|
3505
|
-
__typename?: boolean | number;
|
|
3506
|
-
__scalar?: boolean | number;
|
|
3507
|
-
}
|
|
3508
3520
|
export interface PaginatedSportsTypeGenqlSelection {
|
|
3509
3521
|
items?: SportGenqlSelection;
|
|
3510
3522
|
pagination?: EnhancedPaginationInfoTypeGenqlSelection;
|
|
@@ -3615,6 +3627,12 @@ export interface PaginatedTransactionsTypeGenqlSelection {
|
|
|
3615
3627
|
__typename?: boolean | number;
|
|
3616
3628
|
__scalar?: boolean | number;
|
|
3617
3629
|
}
|
|
3630
|
+
export interface PaginatedOffersTypeGenqlSelection {
|
|
3631
|
+
items?: OfferGenqlSelection;
|
|
3632
|
+
pagination?: EnhancedPaginationInfoTypeGenqlSelection;
|
|
3633
|
+
__typename?: boolean | number;
|
|
3634
|
+
__scalar?: boolean | number;
|
|
3635
|
+
}
|
|
3618
3636
|
export interface CreateDatabaseFileDto {
|
|
3619
3637
|
identifier: Scalars['String'];
|
|
3620
3638
|
version?: Scalars['String'];
|
|
@@ -3700,6 +3718,15 @@ export interface BrandTranslationDto {
|
|
|
3700
3718
|
logo?: (AWSS3UploadedFileDto | null);
|
|
3701
3719
|
banner?: (AWSS3UploadedFileDto | null);
|
|
3702
3720
|
}
|
|
3721
|
+
export interface BrandQueryDto {
|
|
3722
|
+
page?: (Scalars['Int'] | null);
|
|
3723
|
+
limit?: (Scalars['Int'] | null);
|
|
3724
|
+
search?: (Scalars['String'] | null);
|
|
3725
|
+
approved?: (Scalars['String'] | null);
|
|
3726
|
+
published?: (Scalars['String'] | null);
|
|
3727
|
+
sortField?: (Scalars['String'] | null);
|
|
3728
|
+
sortOrder?: (Scalars['String'] | null);
|
|
3729
|
+
}
|
|
3703
3730
|
export interface CreateSponsorDto {
|
|
3704
3731
|
name: Scalars['String'];
|
|
3705
3732
|
description?: (Scalars['String'] | null);
|
|
@@ -3715,6 +3742,15 @@ export interface InviteAthletesDto {
|
|
|
3715
3742
|
language?: (Scalars['String'] | null);
|
|
3716
3743
|
invitations: AthleteInvitationDto[];
|
|
3717
3744
|
}
|
|
3745
|
+
export interface SponsorQueryDto {
|
|
3746
|
+
page?: (Scalars['Int'] | null);
|
|
3747
|
+
limit?: (Scalars['Int'] | null);
|
|
3748
|
+
search?: (Scalars['String'] | null);
|
|
3749
|
+
approved?: (Scalars['String'] | null);
|
|
3750
|
+
published?: (Scalars['String'] | null);
|
|
3751
|
+
sortField?: (Scalars['String'] | null);
|
|
3752
|
+
sortOrder?: (Scalars['String'] | null);
|
|
3753
|
+
}
|
|
3718
3754
|
export interface CompetitionResultDto {
|
|
3719
3755
|
resultType: Scalars['String'];
|
|
3720
3756
|
position?: (Scalars['Float'] | null);
|
|
@@ -4179,6 +4215,15 @@ export interface QualificationsBagDto {
|
|
|
4179
4215
|
sportsQualifications?: (SportsQualificationDto[] | null);
|
|
4180
4216
|
levelQualifications?: (SportsLevelQualificationDto[] | null);
|
|
4181
4217
|
}
|
|
4218
|
+
export interface OfferQueryDto {
|
|
4219
|
+
page?: (Scalars['Int'] | null);
|
|
4220
|
+
limit?: (Scalars['Int'] | null);
|
|
4221
|
+
search?: (Scalars['String'] | null);
|
|
4222
|
+
active?: (Scalars['String'] | null);
|
|
4223
|
+
offerType?: (Scalars['String'] | null);
|
|
4224
|
+
sortField?: (Scalars['String'] | null);
|
|
4225
|
+
sortOrder?: (Scalars['String'] | null);
|
|
4226
|
+
}
|
|
4182
4227
|
export interface QueryGenqlSelection {
|
|
4183
4228
|
findTenantById?: (TenantGenqlSelection & {
|
|
4184
4229
|
__args: {
|
|
@@ -4225,6 +4270,11 @@ export interface QueryGenqlSelection {
|
|
|
4225
4270
|
};
|
|
4226
4271
|
});
|
|
4227
4272
|
brands?: BrandGenqlSelection;
|
|
4273
|
+
getBrandsPaginated?: (PaginatedBrandsTypeGenqlSelection & {
|
|
4274
|
+
__args?: {
|
|
4275
|
+
query?: (BrandQueryDto | null);
|
|
4276
|
+
};
|
|
4277
|
+
});
|
|
4228
4278
|
getBrandByName?: (BrandGenqlSelection & {
|
|
4229
4279
|
__args: {
|
|
4230
4280
|
name: Scalars['String'];
|
|
@@ -4243,6 +4293,11 @@ export interface QueryGenqlSelection {
|
|
|
4243
4293
|
};
|
|
4244
4294
|
});
|
|
4245
4295
|
sponsors?: SponsorGenqlSelection;
|
|
4296
|
+
getSponsorsPaginated?: (PaginatedSponsorsTypeGenqlSelection & {
|
|
4297
|
+
__args?: {
|
|
4298
|
+
query?: (SponsorQueryDto | null);
|
|
4299
|
+
};
|
|
4300
|
+
});
|
|
4246
4301
|
findSponsorAthleteInvitation?: (SponsorAthleteInvitationGenqlSelection & {
|
|
4247
4302
|
__args: {
|
|
4248
4303
|
input: FindSponsorAthleteInvitationDto;
|
|
@@ -4498,6 +4553,11 @@ export interface QueryGenqlSelection {
|
|
|
4498
4553
|
};
|
|
4499
4554
|
});
|
|
4500
4555
|
offers?: OfferGenqlSelection;
|
|
4556
|
+
getOffersPaginated?: (PaginatedOffersTypeGenqlSelection & {
|
|
4557
|
+
__args?: {
|
|
4558
|
+
query?: (OfferQueryDto | null);
|
|
4559
|
+
};
|
|
4560
|
+
});
|
|
4501
4561
|
offersForAthlete?: (OfferGenqlSelection & {
|
|
4502
4562
|
__args?: {
|
|
4503
4563
|
athleteId?: (Scalars['String'] | null);
|
|
@@ -4609,6 +4669,18 @@ export interface MutationGenqlSelection {
|
|
|
4609
4669
|
id: Scalars['String'];
|
|
4610
4670
|
};
|
|
4611
4671
|
};
|
|
4672
|
+
linkBrandToSponsor?: (BrandGenqlSelection & {
|
|
4673
|
+
__args: {
|
|
4674
|
+
brandId: Scalars['String'];
|
|
4675
|
+
sponsorId: Scalars['String'];
|
|
4676
|
+
};
|
|
4677
|
+
});
|
|
4678
|
+
unlinkBrandFromSponsor?: (BrandGenqlSelection & {
|
|
4679
|
+
__args: {
|
|
4680
|
+
brandId: Scalars['String'];
|
|
4681
|
+
sponsorId: Scalars['String'];
|
|
4682
|
+
};
|
|
4683
|
+
});
|
|
4612
4684
|
registerSponsor?: (SponsorGenqlSelection & {
|
|
4613
4685
|
__args: {
|
|
4614
4686
|
input: RegisterSponsorInput;
|
|
@@ -5251,24 +5323,12 @@ export declare const isTextDatabaseFile: (obj?: {
|
|
|
5251
5323
|
export declare const isCodeVerificationResponse: (obj?: {
|
|
5252
5324
|
__typename?: any;
|
|
5253
5325
|
} | null) => obj is CodeVerificationResponse;
|
|
5254
|
-
export declare const
|
|
5255
|
-
__typename?: any;
|
|
5256
|
-
} | null) => obj is BrandStats;
|
|
5257
|
-
export declare const isBrandTranslation: (obj?: {
|
|
5258
|
-
__typename?: any;
|
|
5259
|
-
} | null) => obj is BrandTranslation;
|
|
5260
|
-
export declare const isBrand: (obj?: {
|
|
5261
|
-
__typename?: any;
|
|
5262
|
-
} | null) => obj is Brand;
|
|
5263
|
-
export declare const isStravaTpiRideDto: (obj?: {
|
|
5264
|
-
__typename?: any;
|
|
5265
|
-
} | null) => obj is StravaTpiRideDto;
|
|
5266
|
-
export declare const isStravaTpiRunDto: (obj?: {
|
|
5326
|
+
export declare const isIndustry: (obj?: {
|
|
5267
5327
|
__typename?: any;
|
|
5268
|
-
} | null) => obj is
|
|
5269
|
-
export declare const
|
|
5328
|
+
} | null) => obj is Industry;
|
|
5329
|
+
export declare const isSponsorStats: (obj?: {
|
|
5270
5330
|
__typename?: any;
|
|
5271
|
-
} | null) => obj is
|
|
5331
|
+
} | null) => obj is SponsorStats;
|
|
5272
5332
|
export declare const isCity: (obj?: {
|
|
5273
5333
|
__typename?: any;
|
|
5274
5334
|
} | null) => obj is City;
|
|
@@ -5308,18 +5368,6 @@ export declare const isAthleteCriteria: (obj?: {
|
|
|
5308
5368
|
export declare const isQualificationTypeUnion: (obj?: {
|
|
5309
5369
|
__typename?: any;
|
|
5310
5370
|
} | null) => obj is QualificationTypeUnion;
|
|
5311
|
-
export declare const isIndustry: (obj?: {
|
|
5312
|
-
__typename?: any;
|
|
5313
|
-
} | null) => obj is Industry;
|
|
5314
|
-
export declare const isSponsorStats: (obj?: {
|
|
5315
|
-
__typename?: any;
|
|
5316
|
-
} | null) => obj is SponsorStats;
|
|
5317
|
-
export declare const isSponsorBrand: (obj?: {
|
|
5318
|
-
__typename?: any;
|
|
5319
|
-
} | null) => obj is SponsorBrand;
|
|
5320
|
-
export declare const isSponsor: (obj?: {
|
|
5321
|
-
__typename?: any;
|
|
5322
|
-
} | null) => obj is Sponsor;
|
|
5323
5371
|
export declare const isSponsorshipItem: (obj?: {
|
|
5324
5372
|
__typename?: any;
|
|
5325
5373
|
} | null) => obj is SponsorshipItem;
|
|
@@ -5338,6 +5386,30 @@ export declare const isSponsorshipTranslation: (obj?: {
|
|
|
5338
5386
|
export declare const isSponsorship: (obj?: {
|
|
5339
5387
|
__typename?: any;
|
|
5340
5388
|
} | null) => obj is Sponsorship;
|
|
5389
|
+
export declare const isSponsor: (obj?: {
|
|
5390
|
+
__typename?: any;
|
|
5391
|
+
} | null) => obj is Sponsor;
|
|
5392
|
+
export declare const isSponsorBrand: (obj?: {
|
|
5393
|
+
__typename?: any;
|
|
5394
|
+
} | null) => obj is SponsorBrand;
|
|
5395
|
+
export declare const isBrandStats: (obj?: {
|
|
5396
|
+
__typename?: any;
|
|
5397
|
+
} | null) => obj is BrandStats;
|
|
5398
|
+
export declare const isBrandTranslation: (obj?: {
|
|
5399
|
+
__typename?: any;
|
|
5400
|
+
} | null) => obj is BrandTranslation;
|
|
5401
|
+
export declare const isBrand: (obj?: {
|
|
5402
|
+
__typename?: any;
|
|
5403
|
+
} | null) => obj is Brand;
|
|
5404
|
+
export declare const isStravaTpiRideDto: (obj?: {
|
|
5405
|
+
__typename?: any;
|
|
5406
|
+
} | null) => obj is StravaTpiRideDto;
|
|
5407
|
+
export declare const isStravaTpiRunDto: (obj?: {
|
|
5408
|
+
__typename?: any;
|
|
5409
|
+
} | null) => obj is StravaTpiRunDto;
|
|
5410
|
+
export declare const isStravaTpiSwimDto: (obj?: {
|
|
5411
|
+
__typename?: any;
|
|
5412
|
+
} | null) => obj is StravaTpiSwimDto;
|
|
5341
5413
|
export declare const isFollowStats: (obj?: {
|
|
5342
5414
|
__typename?: any;
|
|
5343
5415
|
} | null) => obj is FollowStats;
|
|
@@ -5557,6 +5629,15 @@ export declare const isCouponCode: (obj?: {
|
|
|
5557
5629
|
export declare const isCoupon: (obj?: {
|
|
5558
5630
|
__typename?: any;
|
|
5559
5631
|
} | null) => obj is Coupon;
|
|
5632
|
+
export declare const isEnhancedPaginationInfoType: (obj?: {
|
|
5633
|
+
__typename?: any;
|
|
5634
|
+
} | null) => obj is EnhancedPaginationInfoType;
|
|
5635
|
+
export declare const isPaginatedBrandsType: (obj?: {
|
|
5636
|
+
__typename?: any;
|
|
5637
|
+
} | null) => obj is PaginatedBrandsType;
|
|
5638
|
+
export declare const isPaginatedSponsorsType: (obj?: {
|
|
5639
|
+
__typename?: any;
|
|
5640
|
+
} | null) => obj is PaginatedSponsorsType;
|
|
5560
5641
|
export declare const isEditValueResponse: (obj?: {
|
|
5561
5642
|
__typename?: any;
|
|
5562
5643
|
} | null) => obj is EditValueResponse;
|
|
@@ -5608,9 +5689,6 @@ export declare const isScoreRefreshCapability: (obj?: {
|
|
|
5608
5689
|
export declare const isCheckScoreRefreshCapabilityResponse: (obj?: {
|
|
5609
5690
|
__typename?: any;
|
|
5610
5691
|
} | null) => obj is CheckScoreRefreshCapabilityResponse;
|
|
5611
|
-
export declare const isEnhancedPaginationInfoType: (obj?: {
|
|
5612
|
-
__typename?: any;
|
|
5613
|
-
} | null) => obj is EnhancedPaginationInfoType;
|
|
5614
5692
|
export declare const isPaginatedSportsType: (obj?: {
|
|
5615
5693
|
__typename?: any;
|
|
5616
5694
|
} | null) => obj is PaginatedSportsType;
|
|
@@ -5647,6 +5725,9 @@ export declare const isUserDomain: (obj?: {
|
|
|
5647
5725
|
export declare const isPaginatedTransactionsType: (obj?: {
|
|
5648
5726
|
__typename?: any;
|
|
5649
5727
|
} | null) => obj is PaginatedTransactionsType;
|
|
5728
|
+
export declare const isPaginatedOffersType: (obj?: {
|
|
5729
|
+
__typename?: any;
|
|
5730
|
+
} | null) => obj is PaginatedOffersType;
|
|
5650
5731
|
export declare const isQuery: (obj?: {
|
|
5651
5732
|
__typename?: any;
|
|
5652
5733
|
} | null) => obj is Query;
|