@vertikalx/vtx-backend-client 1.0.0-dev.42 → 1.0.0-dev.44

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.
@@ -9,6 +9,7 @@ export interface User {
9
9
  loginEmail: Scalars['String'];
10
10
  suspended: Scalars['Boolean'];
11
11
  domains: (DomainCredential[] | null);
12
+ loginMethods: (Scalars['String'][] | null);
12
13
  __typename: 'User';
13
14
  }
14
15
  export interface UserWithToken {
@@ -16,6 +17,7 @@ export interface UserWithToken {
16
17
  loginEmail: Scalars['String'];
17
18
  suspended: Scalars['Boolean'];
18
19
  domains: (DomainCredential[] | null);
20
+ loginMethods: (Scalars['String'][] | null);
19
21
  token: UserToken;
20
22
  __typename: 'UserWithToken';
21
23
  }
@@ -220,6 +222,31 @@ export interface AWSS3File {
220
222
  pendingDelete: Scalars['Boolean'];
221
223
  __typename: 'AWSS3File';
222
224
  }
225
+ export interface MagicLink {
226
+ _id: Scalars['String'];
227
+ code: Scalars['String'];
228
+ type: Scalars['String'];
229
+ url: Scalars['String'];
230
+ expires: (Scalars['DateTime'] | null);
231
+ data: (Scalars['String'] | null);
232
+ isExpired: Scalars['Boolean'];
233
+ __typename: 'MagicLink';
234
+ }
235
+ export interface VerificationCode {
236
+ _id: Scalars['String'];
237
+ type: (Scalars['String'] | null);
238
+ recipient: (Scalars['String'] | null);
239
+ expires: (Scalars['DateTime'] | null);
240
+ data: (Scalars['String'] | null);
241
+ isExpired: Scalars['Boolean'];
242
+ createdDate: Scalars['DateTime'];
243
+ __typename: 'VerificationCode';
244
+ }
245
+ export interface ErrorInfo {
246
+ errorCode: Scalars['Float'];
247
+ errorMessage: Scalars['String'];
248
+ __typename: 'ErrorInfo';
249
+ }
223
250
  export interface HttpRequestField {
224
251
  key: Scalars['String'];
225
252
  value: Scalars['String'];
@@ -240,6 +267,12 @@ export interface AWSS3CallResult {
240
267
  errors: (Scalars['String'][] | null);
241
268
  __typename: 'AWSS3CallResult';
242
269
  }
270
+ export interface CodeVerificationResponse {
271
+ result: Scalars['String'];
272
+ code: (VerificationCode | null);
273
+ error: (ErrorInfo | null);
274
+ __typename: 'CodeVerificationResponse';
275
+ }
243
276
  export interface BrandStats {
244
277
  campaigns: (Scalars['Float'] | null);
245
278
  sponsorships: (Scalars['Float'] | null);
@@ -296,9 +329,17 @@ export interface Country {
296
329
  states: (State[] | null);
297
330
  __typename: 'Country';
298
331
  }
299
- export interface Qualification {
332
+ export interface AgeQualification {
300
333
  type: Scalars['String'];
301
- __typename: 'Qualification';
334
+ value: Scalars['Float'];
335
+ operator: Scalars['String'];
336
+ __typename: 'AgeQualification';
337
+ }
338
+ export interface GenderQualification {
339
+ type: Scalars['String'];
340
+ operator: Scalars['String'];
341
+ values: Scalars['String'][];
342
+ __typename: 'GenderQualification';
302
343
  }
303
344
  export interface ScoreQualification {
304
345
  type: Scalars['String'];
@@ -315,6 +356,12 @@ export interface LocationQualification {
315
356
  cities: City[];
316
357
  __typename: 'LocationQualification';
317
358
  }
359
+ export interface NationalityQualification {
360
+ type: Scalars['String'];
361
+ operator: Scalars['String'];
362
+ countries: Country[];
363
+ __typename: 'NationalityQualification';
364
+ }
318
365
  export interface DistanceQualification {
319
366
  type: Scalars['String'];
320
367
  maxDistance: Scalars['Float'];
@@ -338,9 +385,12 @@ export interface SportsLevelQualification {
338
385
  export interface AthleteCriteria {
339
386
  _id: Scalars['String'];
340
387
  label: (Scalars['String'] | null);
341
- qualifications: (Qualification[] | null);
388
+ qualifications: (QualificationTypeUnion[] | null);
342
389
  __typename: 'AthleteCriteria';
343
390
  }
391
+ export type QualificationTypeUnion = (AgeQualification | GenderQualification | ScoreQualification | LocationQualification | NationalityQualification | DistanceQualification | SportsQualification | SportsLevelQualification) & {
392
+ __isUnion?: true;
393
+ };
344
394
  export interface Industry {
345
395
  _id: Scalars['String'];
346
396
  name: Scalars['String'];
@@ -572,8 +622,21 @@ export interface Athlete {
572
622
  competitions: (AthleteCompetition[] | null);
573
623
  totalUpcomingCompetitions: (Scalars['Float'] | null);
574
624
  totalPastCompetitions: (Scalars['Float'] | null);
625
+ profilePicture: (AWSS3File | null);
626
+ cardPicture: (AWSS3File | null);
575
627
  __typename: 'Athlete';
576
628
  }
629
+ export interface SponsorAthleteInvitation {
630
+ _id: Scalars['String'];
631
+ name: (Scalars['String'] | null);
632
+ email: Scalars['String'];
633
+ dateSent: Scalars['DateTime'];
634
+ sponsor: Sponsor;
635
+ magicLink: MagicLink;
636
+ brand: (Brand | null);
637
+ status: Scalars['String'];
638
+ __typename: 'SponsorAthleteInvitation';
639
+ }
577
640
  export interface Query {
578
641
  findTenantById: Tenant;
579
642
  findTenantByEmail: Tenant;
@@ -581,6 +644,7 @@ export interface Query {
581
644
  isTenantUriAvailable: UriAvailableType;
582
645
  findUserById: User;
583
646
  findUserByEmail: User;
647
+ validateUserCredentials: User;
584
648
  getUploadUrl: AWSS3UploadUrl;
585
649
  industries: Industry[];
586
650
  findIndustryById: Industry;
@@ -589,8 +653,11 @@ export interface Query {
589
653
  getBrandTranslation: BrandTranslation;
590
654
  existsValidSponsorForEmail: Sponsor;
591
655
  sponsors: Sponsor[];
656
+ findSponsorAthleteInvitation: SponsorAthleteInvitation;
592
657
  getAthletes: Athlete[];
593
658
  findAthleteById: Athlete;
659
+ findAthleteForUser: Athlete;
660
+ getRecommendedAthletes: Athlete[];
594
661
  getSports: Sport[];
595
662
  findSportById: Sport;
596
663
  getSportLevels: SportLevel[];
@@ -600,6 +667,9 @@ export interface Query {
600
667
  getCountryStates: State[];
601
668
  getStateCities: City[];
602
669
  findCitiesStartingWith: City[];
670
+ findCityById: City;
671
+ findVtxUser: User;
672
+ validateUserCredentialsVtx: User;
603
673
  __typename: 'Query';
604
674
  }
605
675
  export interface Mutation {
@@ -607,6 +677,7 @@ export interface Mutation {
607
677
  registerNewDomainTenantWithLogin: TenantWithUserLogin;
608
678
  createUserAndLogin: UserWithToken;
609
679
  loginUserFromEmail: UserToken;
680
+ loginUserFromCredentials: UserWithToken;
610
681
  registerUserToDomainFromEmail: User;
611
682
  refreshToken: UserToken;
612
683
  deleteUploadedUseTypeFile: AWSS3CallResult;
@@ -616,14 +687,20 @@ export interface Mutation {
616
687
  createBrand: Brand;
617
688
  registerSponsor: Sponsor;
618
689
  createSponsor: Sponsor;
690
+ sendAthleteInvitations: SponsorAthleteInvitation[];
619
691
  registerAthlete: Athlete;
620
692
  createSport: Sport;
621
693
  updateSport: Sport;
622
694
  createSportLevel: SportLevel;
623
- createSponsorwhip: Sponsorship;
695
+ createSponsorship: Sponsorship;
624
696
  createCountry: Country;
625
697
  createState: State;
626
698
  createCity: City;
699
+ preRegisterAthleteUser: VerificationCode;
700
+ confirmAthleteUserRegistrationAndLogin: UserWithToken;
701
+ confirmAthleteUserRegistration: User;
702
+ registerAthleteUser: User;
703
+ loginUserFromCredentialsVtx: UserWithToken;
627
704
  __typename: 'Mutation';
628
705
  }
629
706
  export interface UserGenqlSelection {
@@ -631,6 +708,7 @@ export interface UserGenqlSelection {
631
708
  loginEmail?: boolean | number;
632
709
  suspended?: boolean | number;
633
710
  domains?: DomainCredentialGenqlSelection;
711
+ loginMethods?: boolean | number;
634
712
  __typename?: boolean | number;
635
713
  __scalar?: boolean | number;
636
714
  }
@@ -639,6 +717,7 @@ export interface UserWithTokenGenqlSelection {
639
717
  loginEmail?: boolean | number;
640
718
  suspended?: boolean | number;
641
719
  domains?: DomainCredentialGenqlSelection;
720
+ loginMethods?: boolean | number;
642
721
  token?: UserTokenGenqlSelection;
643
722
  __typename?: boolean | number;
644
723
  __scalar?: boolean | number;
@@ -865,6 +944,34 @@ export interface AWSS3FileGenqlSelection {
865
944
  __typename?: boolean | number;
866
945
  __scalar?: boolean | number;
867
946
  }
947
+ export interface MagicLinkGenqlSelection {
948
+ _id?: boolean | number;
949
+ code?: boolean | number;
950
+ type?: boolean | number;
951
+ url?: boolean | number;
952
+ expires?: boolean | number;
953
+ data?: boolean | number;
954
+ isExpired?: boolean | number;
955
+ __typename?: boolean | number;
956
+ __scalar?: boolean | number;
957
+ }
958
+ export interface VerificationCodeGenqlSelection {
959
+ _id?: boolean | number;
960
+ type?: boolean | number;
961
+ recipient?: boolean | number;
962
+ expires?: boolean | number;
963
+ data?: boolean | number;
964
+ isExpired?: boolean | number;
965
+ createdDate?: boolean | number;
966
+ __typename?: boolean | number;
967
+ __scalar?: boolean | number;
968
+ }
969
+ export interface ErrorInfoGenqlSelection {
970
+ errorCode?: boolean | number;
971
+ errorMessage?: boolean | number;
972
+ __typename?: boolean | number;
973
+ __scalar?: boolean | number;
974
+ }
868
975
  export interface HttpRequestFieldGenqlSelection {
869
976
  key?: boolean | number;
870
977
  value?: boolean | number;
@@ -888,6 +995,13 @@ export interface AWSS3CallResultGenqlSelection {
888
995
  __typename?: boolean | number;
889
996
  __scalar?: boolean | number;
890
997
  }
998
+ export interface CodeVerificationResponseGenqlSelection {
999
+ result?: boolean | number;
1000
+ code?: VerificationCodeGenqlSelection;
1001
+ error?: ErrorInfoGenqlSelection;
1002
+ __typename?: boolean | number;
1003
+ __scalar?: boolean | number;
1004
+ }
891
1005
  export interface BrandStatsGenqlSelection {
892
1006
  campaigns?: boolean | number;
893
1007
  sponsorships?: boolean | number;
@@ -950,8 +1064,17 @@ export interface CountryGenqlSelection {
950
1064
  __typename?: boolean | number;
951
1065
  __scalar?: boolean | number;
952
1066
  }
953
- export interface QualificationGenqlSelection {
1067
+ export interface AgeQualificationGenqlSelection {
1068
+ type?: boolean | number;
1069
+ value?: boolean | number;
1070
+ operator?: boolean | number;
1071
+ __typename?: boolean | number;
1072
+ __scalar?: boolean | number;
1073
+ }
1074
+ export interface GenderQualificationGenqlSelection {
954
1075
  type?: boolean | number;
1076
+ operator?: boolean | number;
1077
+ values?: boolean | number;
955
1078
  __typename?: boolean | number;
956
1079
  __scalar?: boolean | number;
957
1080
  }
@@ -972,6 +1095,13 @@ export interface LocationQualificationGenqlSelection {
972
1095
  __typename?: boolean | number;
973
1096
  __scalar?: boolean | number;
974
1097
  }
1098
+ export interface NationalityQualificationGenqlSelection {
1099
+ type?: boolean | number;
1100
+ operator?: boolean | number;
1101
+ countries?: CountryGenqlSelection;
1102
+ __typename?: boolean | number;
1103
+ __scalar?: boolean | number;
1104
+ }
975
1105
  export interface DistanceQualificationGenqlSelection {
976
1106
  type?: boolean | number;
977
1107
  maxDistance?: boolean | number;
@@ -998,10 +1128,21 @@ export interface SportsLevelQualificationGenqlSelection {
998
1128
  export interface AthleteCriteriaGenqlSelection {
999
1129
  _id?: boolean | number;
1000
1130
  label?: boolean | number;
1001
- qualifications?: QualificationGenqlSelection;
1131
+ qualifications?: QualificationTypeUnionGenqlSelection;
1002
1132
  __typename?: boolean | number;
1003
1133
  __scalar?: boolean | number;
1004
1134
  }
1135
+ export interface QualificationTypeUnionGenqlSelection {
1136
+ on_AgeQualification?: AgeQualificationGenqlSelection;
1137
+ on_GenderQualification?: GenderQualificationGenqlSelection;
1138
+ on_ScoreQualification?: ScoreQualificationGenqlSelection;
1139
+ on_LocationQualification?: LocationQualificationGenqlSelection;
1140
+ on_NationalityQualification?: NationalityQualificationGenqlSelection;
1141
+ on_DistanceQualification?: DistanceQualificationGenqlSelection;
1142
+ on_SportsQualification?: SportsQualificationGenqlSelection;
1143
+ on_SportsLevelQualification?: SportsLevelQualificationGenqlSelection;
1144
+ __typename?: boolean | number;
1145
+ }
1005
1146
  export interface IndustryGenqlSelection {
1006
1147
  _id?: boolean | number;
1007
1148
  name?: boolean | number;
@@ -1255,9 +1396,63 @@ export interface AthleteGenqlSelection {
1255
1396
  competitions?: AthleteCompetitionGenqlSelection;
1256
1397
  totalUpcomingCompetitions?: boolean | number;
1257
1398
  totalPastCompetitions?: boolean | number;
1399
+ profilePicture?: AWSS3FileGenqlSelection;
1400
+ cardPicture?: AWSS3FileGenqlSelection;
1258
1401
  __typename?: boolean | number;
1259
1402
  __scalar?: boolean | number;
1260
1403
  }
1404
+ export interface SponsorAthleteInvitationGenqlSelection {
1405
+ _id?: boolean | number;
1406
+ name?: boolean | number;
1407
+ email?: boolean | number;
1408
+ dateSent?: boolean | number;
1409
+ sponsor?: SponsorGenqlSelection;
1410
+ magicLink?: MagicLinkGenqlSelection;
1411
+ brand?: BrandGenqlSelection;
1412
+ status?: boolean | number;
1413
+ __typename?: boolean | number;
1414
+ __scalar?: boolean | number;
1415
+ }
1416
+ export interface CreateVerificationCodeDto {
1417
+ type?: (Scalars['String'] | null);
1418
+ recipient?: (Scalars['String'] | null);
1419
+ expiresTime?: (Scalars['Float'] | null);
1420
+ expiresUnit?: (Scalars['String'] | null);
1421
+ data?: (Scalars['String'] | null);
1422
+ }
1423
+ export interface VerifyCodeDto {
1424
+ codeId: Scalars['String'];
1425
+ enteredCodeValue: Scalars['String'];
1426
+ type?: (Scalars['String'] | null);
1427
+ }
1428
+ export interface AthleteInvitationDto {
1429
+ email: Scalars['String'];
1430
+ name?: (Scalars['String'] | null);
1431
+ sender?: (Scalars['String'] | null);
1432
+ brandId?: (Scalars['String'] | null);
1433
+ }
1434
+ export interface InviteAthletesDto {
1435
+ language?: (Scalars['String'] | null);
1436
+ invitations: AthleteInvitationDto[];
1437
+ }
1438
+ export interface QualificationDto {
1439
+ type: Scalars['String'];
1440
+ }
1441
+ export interface AgeQualificationDto {
1442
+ type: Scalars['String'];
1443
+ value: Scalars['Float'];
1444
+ operator: Scalars['String'];
1445
+ }
1446
+ export interface GenderQualificationDto {
1447
+ type: Scalars['String'];
1448
+ operator: Scalars['String'];
1449
+ values: Scalars['String'][];
1450
+ }
1451
+ export interface NationalityQualificationDto {
1452
+ type: Scalars['String'];
1453
+ operator: Scalars['String'];
1454
+ countries: Scalars['String'][];
1455
+ }
1261
1456
  export interface ScoreQualificationDto {
1262
1457
  type: Scalars['String'];
1263
1458
  scoreType: Scalars['String'];
@@ -1267,23 +1462,9 @@ export interface ScoreQualificationDto {
1267
1462
  export interface LocationQualificationDto {
1268
1463
  type: Scalars['String'];
1269
1464
  operator: Scalars['String'];
1270
- countries: CountryReferenceDto[];
1271
- states: StateReferenceDto[];
1272
- cities: CityReferenceDto[];
1273
- }
1274
- export interface CountryReferenceDto {
1275
- _id: Scalars['String'];
1276
- name: Scalars['String'];
1277
- }
1278
- export interface StateReferenceDto {
1279
- _id: Scalars['String'];
1280
- name: Scalars['String'];
1281
- country?: (CountryReferenceDto | null);
1282
- }
1283
- export interface CityReferenceDto {
1284
- _id: Scalars['String'];
1285
- name: Scalars['String'];
1286
- state?: (StateReferenceDto | null);
1465
+ countries: Scalars['String'][];
1466
+ states: Scalars['String'][];
1467
+ cities: Scalars['String'][];
1287
1468
  }
1288
1469
  export interface DistanceQualificationDto {
1289
1470
  type: Scalars['String'];
@@ -1302,6 +1483,11 @@ export interface SportsLevelQualificationDto {
1302
1483
  operator: Scalars['String'];
1303
1484
  level: Scalars['String'];
1304
1485
  }
1486
+ export interface RegisterUserDto {
1487
+ email: Scalars['String'];
1488
+ password: Scalars['String'];
1489
+ inviteCode?: (Scalars['String'] | null);
1490
+ }
1305
1491
  export interface QueryGenqlSelection {
1306
1492
  findTenantById?: (TenantGenqlSelection & {
1307
1493
  __args: {
@@ -1330,6 +1516,12 @@ export interface QueryGenqlSelection {
1330
1516
  email: Scalars['String'];
1331
1517
  };
1332
1518
  });
1519
+ validateUserCredentials?: (UserGenqlSelection & {
1520
+ __args: {
1521
+ username: Scalars['String'];
1522
+ password: Scalars['String'];
1523
+ };
1524
+ });
1333
1525
  getUploadUrl?: (AWSS3UploadUrlGenqlSelection & {
1334
1526
  __args: {
1335
1527
  input: AWSS3GetUploadDto;
@@ -1360,12 +1552,27 @@ export interface QueryGenqlSelection {
1360
1552
  };
1361
1553
  });
1362
1554
  sponsors?: SponsorGenqlSelection;
1555
+ findSponsorAthleteInvitation?: (SponsorAthleteInvitationGenqlSelection & {
1556
+ __args: {
1557
+ input: FindSponsorAthleteInvitationDto;
1558
+ };
1559
+ });
1363
1560
  getAthletes?: AthleteGenqlSelection;
1364
1561
  findAthleteById?: (AthleteGenqlSelection & {
1365
1562
  __args: {
1366
1563
  athleteId: Scalars['String'];
1367
1564
  };
1368
1565
  });
1566
+ findAthleteForUser?: (AthleteGenqlSelection & {
1567
+ __args: {
1568
+ loginEmail: Scalars['String'];
1569
+ };
1570
+ });
1571
+ getRecommendedAthletes?: (AthleteGenqlSelection & {
1572
+ __args: {
1573
+ loginEmail: Scalars['String'];
1574
+ };
1575
+ });
1369
1576
  getSports?: SportGenqlSelection;
1370
1577
  findSportById?: (SportGenqlSelection & {
1371
1578
  __args: {
@@ -1391,6 +1598,22 @@ export interface QueryGenqlSelection {
1391
1598
  text: Scalars['String'];
1392
1599
  };
1393
1600
  });
1601
+ findCityById?: (CityGenqlSelection & {
1602
+ __args: {
1603
+ cityId: Scalars['String'];
1604
+ };
1605
+ });
1606
+ findVtxUser?: (UserGenqlSelection & {
1607
+ __args: {
1608
+ input: FindVtxUserDto;
1609
+ };
1610
+ });
1611
+ validateUserCredentialsVtx?: (UserGenqlSelection & {
1612
+ __args: {
1613
+ username: Scalars['String'];
1614
+ password: Scalars['String'];
1615
+ };
1616
+ });
1394
1617
  __typename?: boolean | number;
1395
1618
  __scalar?: boolean | number;
1396
1619
  }
@@ -1398,6 +1621,13 @@ export interface AWSS3GetUploadDto {
1398
1621
  useType: Scalars['String'];
1399
1622
  name?: (Scalars['String'] | null);
1400
1623
  }
1624
+ export interface FindSponsorAthleteInvitationDto {
1625
+ code: Scalars['String'];
1626
+ type?: (Scalars['String'] | null);
1627
+ }
1628
+ export interface FindVtxUserDto {
1629
+ loginEmail: Scalars['String'];
1630
+ }
1401
1631
  export interface MutationGenqlSelection {
1402
1632
  registerNewDomainTenant?: (TenantGenqlSelection & {
1403
1633
  __args: {
@@ -1417,6 +1647,13 @@ export interface MutationGenqlSelection {
1417
1647
  loginUserFromEmail?: (UserTokenGenqlSelection & {
1418
1648
  __args: {
1419
1649
  email: Scalars['String'];
1650
+ loginMethod: Scalars['String'];
1651
+ };
1652
+ });
1653
+ loginUserFromCredentials?: (UserWithTokenGenqlSelection & {
1654
+ __args: {
1655
+ username: Scalars['String'];
1656
+ password: Scalars['String'];
1420
1657
  };
1421
1658
  });
1422
1659
  registerUserToDomainFromEmail?: (UserGenqlSelection & {
@@ -1464,6 +1701,11 @@ export interface MutationGenqlSelection {
1464
1701
  input: CreateSponsorDto;
1465
1702
  };
1466
1703
  });
1704
+ sendAthleteInvitations?: (SponsorAthleteInvitationGenqlSelection & {
1705
+ __args: {
1706
+ input: InviteAthletesDto;
1707
+ };
1708
+ });
1467
1709
  registerAthlete?: (AthleteGenqlSelection & {
1468
1710
  __args: {
1469
1711
  input: RegisterAthleteDto;
@@ -1484,7 +1726,7 @@ export interface MutationGenqlSelection {
1484
1726
  input: CreateSportLevelDto;
1485
1727
  };
1486
1728
  });
1487
- createSponsorwhip?: (SponsorshipGenqlSelection & {
1729
+ createSponsorship?: (SponsorshipGenqlSelection & {
1488
1730
  __args: {
1489
1731
  input: CreateSponsorshipDto;
1490
1732
  };
@@ -1504,6 +1746,32 @@ export interface MutationGenqlSelection {
1504
1746
  input: CreateCityDto;
1505
1747
  };
1506
1748
  });
1749
+ preRegisterAthleteUser?: (VerificationCodeGenqlSelection & {
1750
+ __args: {
1751
+ input: RegisterUserDto;
1752
+ };
1753
+ });
1754
+ confirmAthleteUserRegistrationAndLogin?: (UserWithTokenGenqlSelection & {
1755
+ __args: {
1756
+ input: VerifyCodeDto;
1757
+ };
1758
+ });
1759
+ confirmAthleteUserRegistration?: (UserGenqlSelection & {
1760
+ __args: {
1761
+ input: VerifyCodeDto;
1762
+ };
1763
+ });
1764
+ registerAthleteUser?: (UserGenqlSelection & {
1765
+ __args: {
1766
+ input: RegisterUserDto;
1767
+ };
1768
+ });
1769
+ loginUserFromCredentialsVtx?: (UserWithTokenGenqlSelection & {
1770
+ __args: {
1771
+ username: Scalars['String'];
1772
+ password: Scalars['String'];
1773
+ };
1774
+ });
1507
1775
  __typename?: boolean | number;
1508
1776
  __scalar?: boolean | number;
1509
1777
  }
@@ -1516,6 +1784,7 @@ export interface CreateTenantInput {
1516
1784
  export interface CreateActiveUserInput {
1517
1785
  loginEmail: Scalars['String'];
1518
1786
  password?: (Scalars['String'] | null);
1787
+ loginMethod?: (Scalars['String'] | null);
1519
1788
  }
1520
1789
  export interface RegisterUserToDomainFromEmailInput {
1521
1790
  email: Scalars['String'];
@@ -1589,10 +1858,15 @@ export interface RegisterAthleteDto {
1589
1858
  locLatitude?: (Scalars['Float'] | null);
1590
1859
  locLongitude?: (Scalars['Float'] | null);
1591
1860
  dateOfBirth: Scalars['DateTime'];
1861
+ lgbt?: (Scalars['Boolean'] | null);
1862
+ trainer?: (Scalars['String'] | null);
1863
+ trainerUrl?: (Scalars['String'] | null);
1592
1864
  team?: (Scalars['String'] | null);
1593
1865
  gender: Scalars['String'];
1594
1866
  mainSport: Scalars['String'];
1595
1867
  mainSportLevel: Scalars['String'];
1868
+ profilePicture?: (AWSS3UploadedFileDto | null);
1869
+ cardPicture?: (AWSS3UploadedFileDto | null);
1596
1870
  }
1597
1871
  export interface CreateSportDto {
1598
1872
  name: Scalars['String'];
@@ -1632,10 +1906,17 @@ export interface CreateSponsorshipDto {
1632
1906
  export interface AthleteCriteriaDto {
1633
1907
  _id: Scalars['String'];
1634
1908
  label?: (Scalars['String'] | null);
1635
- qualifications?: (QualificationDto[] | null);
1636
- }
1637
- export interface QualificationDto {
1638
- type: Scalars['String'];
1909
+ qualificationsBag?: (QualificationsBagDto | null);
1910
+ }
1911
+ export interface QualificationsBagDto {
1912
+ ageQualifications?: (AgeQualificationDto[] | null);
1913
+ genderQualifications?: (GenderQualificationDto[] | null);
1914
+ scoreQualifications?: (ScoreQualificationDto[] | null);
1915
+ locationQualifications?: (LocationQualificationDto[] | null);
1916
+ nationalityQualifications?: (NationalityQualificationDto[] | null);
1917
+ distanceQualifications?: (DistanceQualificationDto[] | null);
1918
+ sportsQualifications?: (SportsQualificationDto[] | null);
1919
+ levelQualifications?: (SportsLevelQualificationDto[] | null);
1639
1920
  }
1640
1921
  export interface DurationDto {
1641
1922
  length?: Scalars['Float'];
@@ -1658,6 +1939,8 @@ export interface SponsorshipCommitmentDto {
1658
1939
  periodicity: Scalars['String'];
1659
1940
  }
1660
1941
  export interface SponsorshipTranslationDto {
1942
+ sponsorshipId: Scalars['String'];
1943
+ language: Scalars['String'];
1661
1944
  title?: (Scalars['String'] | null);
1662
1945
  description?: (Scalars['String'] | null);
1663
1946
  banner?: (AWSS3UploadedFileDto | null);
@@ -1759,6 +2042,15 @@ export declare const isSubscriptionPayment: (obj?: {
1759
2042
  export declare const isAWSS3File: (obj?: {
1760
2043
  __typename?: any;
1761
2044
  } | null) => obj is AWSS3File;
2045
+ export declare const isMagicLink: (obj?: {
2046
+ __typename?: any;
2047
+ } | null) => obj is MagicLink;
2048
+ export declare const isVerificationCode: (obj?: {
2049
+ __typename?: any;
2050
+ } | null) => obj is VerificationCode;
2051
+ export declare const isErrorInfo: (obj?: {
2052
+ __typename?: any;
2053
+ } | null) => obj is ErrorInfo;
1762
2054
  export declare const isHttpRequestField: (obj?: {
1763
2055
  __typename?: any;
1764
2056
  } | null) => obj is HttpRequestField;
@@ -1768,6 +2060,9 @@ export declare const isAWSS3UploadUrl: (obj?: {
1768
2060
  export declare const isAWSS3CallResult: (obj?: {
1769
2061
  __typename?: any;
1770
2062
  } | null) => obj is AWSS3CallResult;
2063
+ export declare const isCodeVerificationResponse: (obj?: {
2064
+ __typename?: any;
2065
+ } | null) => obj is CodeVerificationResponse;
1771
2066
  export declare const isBrandStats: (obj?: {
1772
2067
  __typename?: any;
1773
2068
  } | null) => obj is BrandStats;
@@ -1786,15 +2081,21 @@ export declare const isState: (obj?: {
1786
2081
  export declare const isCountry: (obj?: {
1787
2082
  __typename?: any;
1788
2083
  } | null) => obj is Country;
1789
- export declare const isQualification: (obj?: {
2084
+ export declare const isAgeQualification: (obj?: {
1790
2085
  __typename?: any;
1791
- } | null) => obj is Qualification;
2086
+ } | null) => obj is AgeQualification;
2087
+ export declare const isGenderQualification: (obj?: {
2088
+ __typename?: any;
2089
+ } | null) => obj is GenderQualification;
1792
2090
  export declare const isScoreQualification: (obj?: {
1793
2091
  __typename?: any;
1794
2092
  } | null) => obj is ScoreQualification;
1795
2093
  export declare const isLocationQualification: (obj?: {
1796
2094
  __typename?: any;
1797
2095
  } | null) => obj is LocationQualification;
2096
+ export declare const isNationalityQualification: (obj?: {
2097
+ __typename?: any;
2098
+ } | null) => obj is NationalityQualification;
1798
2099
  export declare const isDistanceQualification: (obj?: {
1799
2100
  __typename?: any;
1800
2101
  } | null) => obj is DistanceQualification;
@@ -1807,6 +2108,9 @@ export declare const isSportsLevelQualification: (obj?: {
1807
2108
  export declare const isAthleteCriteria: (obj?: {
1808
2109
  __typename?: any;
1809
2110
  } | null) => obj is AthleteCriteria;
2111
+ export declare const isQualificationTypeUnion: (obj?: {
2112
+ __typename?: any;
2113
+ } | null) => obj is QualificationTypeUnion;
1810
2114
  export declare const isIndustry: (obj?: {
1811
2115
  __typename?: any;
1812
2116
  } | null) => obj is Industry;
@@ -1876,6 +2180,9 @@ export declare const isWorldLocation: (obj?: {
1876
2180
  export declare const isAthlete: (obj?: {
1877
2181
  __typename?: any;
1878
2182
  } | null) => obj is Athlete;
2183
+ export declare const isSponsorAthleteInvitation: (obj?: {
2184
+ __typename?: any;
2185
+ } | null) => obj is SponsorAthleteInvitation;
1879
2186
  export declare const isQuery: (obj?: {
1880
2187
  __typename?: any;
1881
2188
  } | null) => obj is Query;