@vertikalx/vtx-backend-client 1.0.0-dev.43 → 1.0.0-dev.45
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/backend-response.d.ts +7 -1
- package/src/api/response-builder.js +80 -10
- package/src/api/response-builder.js.map +1 -1
- package/src/api/types.d.ts +2 -0
- package/src/api/types.js +3 -0
- package/src/api/types.js.map +1 -0
- package/src/api/vtx-base-api.d.ts +20 -2
- package/src/api/vtx-base-api.js +1932 -329
- package/src/api/vtx-base-api.js.map +1 -1
- package/src/client/schema.d.ts +276 -18
- package/src/client/schema.graphql +128 -11
- package/src/client/schema.js +44 -9
- package/src/client/schema.js.map +1 -1
- package/src/client/types.d.ts +168 -9
- package/src/client/types.js +556 -126
- package/src/client/types.js.map +1 -1
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -0
- package/src/index.js.map +1 -1
- package/tsconfig.lib.tsbuildinfo +1 -1
package/src/client/schema.d.ts
CHANGED
|
@@ -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,10 +329,6 @@ export interface Country {
|
|
|
296
329
|
states: (State[] | null);
|
|
297
330
|
__typename: 'Country';
|
|
298
331
|
}
|
|
299
|
-
export interface Qualification {
|
|
300
|
-
type: Scalars['String'];
|
|
301
|
-
__typename: 'Qualification';
|
|
302
|
-
}
|
|
303
332
|
export interface AgeQualification {
|
|
304
333
|
type: Scalars['String'];
|
|
305
334
|
value: Scalars['Float'];
|
|
@@ -356,9 +385,12 @@ export interface SportsLevelQualification {
|
|
|
356
385
|
export interface AthleteCriteria {
|
|
357
386
|
_id: Scalars['String'];
|
|
358
387
|
label: (Scalars['String'] | null);
|
|
359
|
-
qualifications: (
|
|
388
|
+
qualifications: (QualificationTypeUnion[] | null);
|
|
360
389
|
__typename: 'AthleteCriteria';
|
|
361
390
|
}
|
|
391
|
+
export type QualificationTypeUnion = (AgeQualification | GenderQualification | ScoreQualification | LocationQualification | NationalityQualification | DistanceQualification | SportsQualification | SportsLevelQualification) & {
|
|
392
|
+
__isUnion?: true;
|
|
393
|
+
};
|
|
362
394
|
export interface Industry {
|
|
363
395
|
_id: Scalars['String'];
|
|
364
396
|
name: Scalars['String'];
|
|
@@ -590,8 +622,21 @@ export interface Athlete {
|
|
|
590
622
|
competitions: (AthleteCompetition[] | null);
|
|
591
623
|
totalUpcomingCompetitions: (Scalars['Float'] | null);
|
|
592
624
|
totalPastCompetitions: (Scalars['Float'] | null);
|
|
625
|
+
profilePicture: (AWSS3File | null);
|
|
626
|
+
cardPicture: (AWSS3File | null);
|
|
593
627
|
__typename: 'Athlete';
|
|
594
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
|
+
}
|
|
595
640
|
export interface Query {
|
|
596
641
|
findTenantById: Tenant;
|
|
597
642
|
findTenantByEmail: Tenant;
|
|
@@ -599,6 +644,7 @@ export interface Query {
|
|
|
599
644
|
isTenantUriAvailable: UriAvailableType;
|
|
600
645
|
findUserById: User;
|
|
601
646
|
findUserByEmail: User;
|
|
647
|
+
validateUserCredentials: User;
|
|
602
648
|
getUploadUrl: AWSS3UploadUrl;
|
|
603
649
|
industries: Industry[];
|
|
604
650
|
findIndustryById: Industry;
|
|
@@ -607,8 +653,12 @@ export interface Query {
|
|
|
607
653
|
getBrandTranslation: BrandTranslation;
|
|
608
654
|
existsValidSponsorForEmail: Sponsor;
|
|
609
655
|
sponsors: Sponsor[];
|
|
656
|
+
findSponsorAthleteInvitation: SponsorAthleteInvitation;
|
|
610
657
|
getAthletes: Athlete[];
|
|
611
658
|
findAthleteById: Athlete;
|
|
659
|
+
findAthleteForUser: Athlete;
|
|
660
|
+
getRecommendedAthletes: Athlete[];
|
|
661
|
+
getSponsorAthletesForTenant: Athlete[];
|
|
612
662
|
getSports: Sport[];
|
|
613
663
|
findSportById: Sport;
|
|
614
664
|
getSportLevels: SportLevel[];
|
|
@@ -618,6 +668,9 @@ export interface Query {
|
|
|
618
668
|
getCountryStates: State[];
|
|
619
669
|
getStateCities: City[];
|
|
620
670
|
findCitiesStartingWith: City[];
|
|
671
|
+
findCityById: City;
|
|
672
|
+
findVtxUser: User;
|
|
673
|
+
validateUserCredentialsVtx: User;
|
|
621
674
|
__typename: 'Query';
|
|
622
675
|
}
|
|
623
676
|
export interface Mutation {
|
|
@@ -625,6 +678,7 @@ export interface Mutation {
|
|
|
625
678
|
registerNewDomainTenantWithLogin: TenantWithUserLogin;
|
|
626
679
|
createUserAndLogin: UserWithToken;
|
|
627
680
|
loginUserFromEmail: UserToken;
|
|
681
|
+
loginUserFromCredentials: UserWithToken;
|
|
628
682
|
registerUserToDomainFromEmail: User;
|
|
629
683
|
refreshToken: UserToken;
|
|
630
684
|
deleteUploadedUseTypeFile: AWSS3CallResult;
|
|
@@ -634,6 +688,7 @@ export interface Mutation {
|
|
|
634
688
|
createBrand: Brand;
|
|
635
689
|
registerSponsor: Sponsor;
|
|
636
690
|
createSponsor: Sponsor;
|
|
691
|
+
sendAthleteInvitations: SponsorAthleteInvitation[];
|
|
637
692
|
registerAthlete: Athlete;
|
|
638
693
|
createSport: Sport;
|
|
639
694
|
updateSport: Sport;
|
|
@@ -642,6 +697,11 @@ export interface Mutation {
|
|
|
642
697
|
createCountry: Country;
|
|
643
698
|
createState: State;
|
|
644
699
|
createCity: City;
|
|
700
|
+
preRegisterAthleteUser: VerificationCode;
|
|
701
|
+
confirmAthleteUserRegistrationAndLogin: UserWithToken;
|
|
702
|
+
confirmAthleteUserRegistration: User;
|
|
703
|
+
registerAthleteUser: User;
|
|
704
|
+
loginUserFromCredentialsVtx: UserWithToken;
|
|
645
705
|
__typename: 'Mutation';
|
|
646
706
|
}
|
|
647
707
|
export interface UserGenqlSelection {
|
|
@@ -649,6 +709,7 @@ export interface UserGenqlSelection {
|
|
|
649
709
|
loginEmail?: boolean | number;
|
|
650
710
|
suspended?: boolean | number;
|
|
651
711
|
domains?: DomainCredentialGenqlSelection;
|
|
712
|
+
loginMethods?: boolean | number;
|
|
652
713
|
__typename?: boolean | number;
|
|
653
714
|
__scalar?: boolean | number;
|
|
654
715
|
}
|
|
@@ -657,6 +718,7 @@ export interface UserWithTokenGenqlSelection {
|
|
|
657
718
|
loginEmail?: boolean | number;
|
|
658
719
|
suspended?: boolean | number;
|
|
659
720
|
domains?: DomainCredentialGenqlSelection;
|
|
721
|
+
loginMethods?: boolean | number;
|
|
660
722
|
token?: UserTokenGenqlSelection;
|
|
661
723
|
__typename?: boolean | number;
|
|
662
724
|
__scalar?: boolean | number;
|
|
@@ -883,6 +945,34 @@ export interface AWSS3FileGenqlSelection {
|
|
|
883
945
|
__typename?: boolean | number;
|
|
884
946
|
__scalar?: boolean | number;
|
|
885
947
|
}
|
|
948
|
+
export interface MagicLinkGenqlSelection {
|
|
949
|
+
_id?: boolean | number;
|
|
950
|
+
code?: boolean | number;
|
|
951
|
+
type?: boolean | number;
|
|
952
|
+
url?: boolean | number;
|
|
953
|
+
expires?: boolean | number;
|
|
954
|
+
data?: boolean | number;
|
|
955
|
+
isExpired?: boolean | number;
|
|
956
|
+
__typename?: boolean | number;
|
|
957
|
+
__scalar?: boolean | number;
|
|
958
|
+
}
|
|
959
|
+
export interface VerificationCodeGenqlSelection {
|
|
960
|
+
_id?: boolean | number;
|
|
961
|
+
type?: boolean | number;
|
|
962
|
+
recipient?: boolean | number;
|
|
963
|
+
expires?: boolean | number;
|
|
964
|
+
data?: boolean | number;
|
|
965
|
+
isExpired?: boolean | number;
|
|
966
|
+
createdDate?: boolean | number;
|
|
967
|
+
__typename?: boolean | number;
|
|
968
|
+
__scalar?: boolean | number;
|
|
969
|
+
}
|
|
970
|
+
export interface ErrorInfoGenqlSelection {
|
|
971
|
+
errorCode?: boolean | number;
|
|
972
|
+
errorMessage?: boolean | number;
|
|
973
|
+
__typename?: boolean | number;
|
|
974
|
+
__scalar?: boolean | number;
|
|
975
|
+
}
|
|
886
976
|
export interface HttpRequestFieldGenqlSelection {
|
|
887
977
|
key?: boolean | number;
|
|
888
978
|
value?: boolean | number;
|
|
@@ -906,6 +996,13 @@ export interface AWSS3CallResultGenqlSelection {
|
|
|
906
996
|
__typename?: boolean | number;
|
|
907
997
|
__scalar?: boolean | number;
|
|
908
998
|
}
|
|
999
|
+
export interface CodeVerificationResponseGenqlSelection {
|
|
1000
|
+
result?: boolean | number;
|
|
1001
|
+
code?: VerificationCodeGenqlSelection;
|
|
1002
|
+
error?: ErrorInfoGenqlSelection;
|
|
1003
|
+
__typename?: boolean | number;
|
|
1004
|
+
__scalar?: boolean | number;
|
|
1005
|
+
}
|
|
909
1006
|
export interface BrandStatsGenqlSelection {
|
|
910
1007
|
campaigns?: boolean | number;
|
|
911
1008
|
sponsorships?: boolean | number;
|
|
@@ -968,11 +1065,6 @@ export interface CountryGenqlSelection {
|
|
|
968
1065
|
__typename?: boolean | number;
|
|
969
1066
|
__scalar?: boolean | number;
|
|
970
1067
|
}
|
|
971
|
-
export interface QualificationGenqlSelection {
|
|
972
|
-
type?: boolean | number;
|
|
973
|
-
__typename?: boolean | number;
|
|
974
|
-
__scalar?: boolean | number;
|
|
975
|
-
}
|
|
976
1068
|
export interface AgeQualificationGenqlSelection {
|
|
977
1069
|
type?: boolean | number;
|
|
978
1070
|
value?: boolean | number;
|
|
@@ -1037,10 +1129,21 @@ export interface SportsLevelQualificationGenqlSelection {
|
|
|
1037
1129
|
export interface AthleteCriteriaGenqlSelection {
|
|
1038
1130
|
_id?: boolean | number;
|
|
1039
1131
|
label?: boolean | number;
|
|
1040
|
-
qualifications?:
|
|
1132
|
+
qualifications?: QualificationTypeUnionGenqlSelection;
|
|
1041
1133
|
__typename?: boolean | number;
|
|
1042
1134
|
__scalar?: boolean | number;
|
|
1043
1135
|
}
|
|
1136
|
+
export interface QualificationTypeUnionGenqlSelection {
|
|
1137
|
+
on_AgeQualification?: AgeQualificationGenqlSelection;
|
|
1138
|
+
on_GenderQualification?: GenderQualificationGenqlSelection;
|
|
1139
|
+
on_ScoreQualification?: ScoreQualificationGenqlSelection;
|
|
1140
|
+
on_LocationQualification?: LocationQualificationGenqlSelection;
|
|
1141
|
+
on_NationalityQualification?: NationalityQualificationGenqlSelection;
|
|
1142
|
+
on_DistanceQualification?: DistanceQualificationGenqlSelection;
|
|
1143
|
+
on_SportsQualification?: SportsQualificationGenqlSelection;
|
|
1144
|
+
on_SportsLevelQualification?: SportsLevelQualificationGenqlSelection;
|
|
1145
|
+
__typename?: boolean | number;
|
|
1146
|
+
}
|
|
1044
1147
|
export interface IndustryGenqlSelection {
|
|
1045
1148
|
_id?: boolean | number;
|
|
1046
1149
|
name?: boolean | number;
|
|
@@ -1294,9 +1397,48 @@ export interface AthleteGenqlSelection {
|
|
|
1294
1397
|
competitions?: AthleteCompetitionGenqlSelection;
|
|
1295
1398
|
totalUpcomingCompetitions?: boolean | number;
|
|
1296
1399
|
totalPastCompetitions?: boolean | number;
|
|
1400
|
+
profilePicture?: AWSS3FileGenqlSelection;
|
|
1401
|
+
cardPicture?: AWSS3FileGenqlSelection;
|
|
1402
|
+
__typename?: boolean | number;
|
|
1403
|
+
__scalar?: boolean | number;
|
|
1404
|
+
}
|
|
1405
|
+
export interface SponsorAthleteInvitationGenqlSelection {
|
|
1406
|
+
_id?: boolean | number;
|
|
1407
|
+
name?: boolean | number;
|
|
1408
|
+
email?: boolean | number;
|
|
1409
|
+
dateSent?: boolean | number;
|
|
1410
|
+
sponsor?: SponsorGenqlSelection;
|
|
1411
|
+
magicLink?: MagicLinkGenqlSelection;
|
|
1412
|
+
brand?: BrandGenqlSelection;
|
|
1413
|
+
status?: boolean | number;
|
|
1297
1414
|
__typename?: boolean | number;
|
|
1298
1415
|
__scalar?: boolean | number;
|
|
1299
1416
|
}
|
|
1417
|
+
export interface CreateVerificationCodeDto {
|
|
1418
|
+
type?: (Scalars['String'] | null);
|
|
1419
|
+
recipient?: (Scalars['String'] | null);
|
|
1420
|
+
expiresTime?: (Scalars['Float'] | null);
|
|
1421
|
+
expiresUnit?: (Scalars['String'] | null);
|
|
1422
|
+
data?: (Scalars['String'] | null);
|
|
1423
|
+
}
|
|
1424
|
+
export interface VerifyCodeDto {
|
|
1425
|
+
codeId: Scalars['String'];
|
|
1426
|
+
enteredCodeValue: Scalars['String'];
|
|
1427
|
+
type?: (Scalars['String'] | null);
|
|
1428
|
+
}
|
|
1429
|
+
export interface AthleteInvitationDto {
|
|
1430
|
+
email: Scalars['String'];
|
|
1431
|
+
name?: (Scalars['String'] | null);
|
|
1432
|
+
sender?: (Scalars['String'] | null);
|
|
1433
|
+
brandId?: (Scalars['String'] | null);
|
|
1434
|
+
}
|
|
1435
|
+
export interface InviteAthletesDto {
|
|
1436
|
+
language?: (Scalars['String'] | null);
|
|
1437
|
+
invitations: AthleteInvitationDto[];
|
|
1438
|
+
}
|
|
1439
|
+
export interface QualificationDto {
|
|
1440
|
+
type: Scalars['String'];
|
|
1441
|
+
}
|
|
1300
1442
|
export interface AgeQualificationDto {
|
|
1301
1443
|
type: Scalars['String'];
|
|
1302
1444
|
value: Scalars['Float'];
|
|
@@ -1342,6 +1484,11 @@ export interface SportsLevelQualificationDto {
|
|
|
1342
1484
|
operator: Scalars['String'];
|
|
1343
1485
|
level: Scalars['String'];
|
|
1344
1486
|
}
|
|
1487
|
+
export interface RegisterUserDto {
|
|
1488
|
+
email: Scalars['String'];
|
|
1489
|
+
password: Scalars['String'];
|
|
1490
|
+
inviteCode?: (Scalars['String'] | null);
|
|
1491
|
+
}
|
|
1345
1492
|
export interface QueryGenqlSelection {
|
|
1346
1493
|
findTenantById?: (TenantGenqlSelection & {
|
|
1347
1494
|
__args: {
|
|
@@ -1370,6 +1517,12 @@ export interface QueryGenqlSelection {
|
|
|
1370
1517
|
email: Scalars['String'];
|
|
1371
1518
|
};
|
|
1372
1519
|
});
|
|
1520
|
+
validateUserCredentials?: (UserGenqlSelection & {
|
|
1521
|
+
__args: {
|
|
1522
|
+
username: Scalars['String'];
|
|
1523
|
+
password: Scalars['String'];
|
|
1524
|
+
};
|
|
1525
|
+
});
|
|
1373
1526
|
getUploadUrl?: (AWSS3UploadUrlGenqlSelection & {
|
|
1374
1527
|
__args: {
|
|
1375
1528
|
input: AWSS3GetUploadDto;
|
|
@@ -1400,12 +1553,28 @@ export interface QueryGenqlSelection {
|
|
|
1400
1553
|
};
|
|
1401
1554
|
});
|
|
1402
1555
|
sponsors?: SponsorGenqlSelection;
|
|
1556
|
+
findSponsorAthleteInvitation?: (SponsorAthleteInvitationGenqlSelection & {
|
|
1557
|
+
__args: {
|
|
1558
|
+
input: FindSponsorAthleteInvitationDto;
|
|
1559
|
+
};
|
|
1560
|
+
});
|
|
1403
1561
|
getAthletes?: AthleteGenqlSelection;
|
|
1404
1562
|
findAthleteById?: (AthleteGenqlSelection & {
|
|
1405
1563
|
__args: {
|
|
1406
1564
|
athleteId: Scalars['String'];
|
|
1407
1565
|
};
|
|
1408
1566
|
});
|
|
1567
|
+
findAthleteForUser?: (AthleteGenqlSelection & {
|
|
1568
|
+
__args: {
|
|
1569
|
+
loginEmail: Scalars['String'];
|
|
1570
|
+
};
|
|
1571
|
+
});
|
|
1572
|
+
getRecommendedAthletes?: (AthleteGenqlSelection & {
|
|
1573
|
+
__args: {
|
|
1574
|
+
loginEmail: Scalars['String'];
|
|
1575
|
+
};
|
|
1576
|
+
});
|
|
1577
|
+
getSponsorAthletesForTenant?: AthleteGenqlSelection;
|
|
1409
1578
|
getSports?: SportGenqlSelection;
|
|
1410
1579
|
findSportById?: (SportGenqlSelection & {
|
|
1411
1580
|
__args: {
|
|
@@ -1431,6 +1600,22 @@ export interface QueryGenqlSelection {
|
|
|
1431
1600
|
text: Scalars['String'];
|
|
1432
1601
|
};
|
|
1433
1602
|
});
|
|
1603
|
+
findCityById?: (CityGenqlSelection & {
|
|
1604
|
+
__args: {
|
|
1605
|
+
cityId: Scalars['String'];
|
|
1606
|
+
};
|
|
1607
|
+
});
|
|
1608
|
+
findVtxUser?: (UserGenqlSelection & {
|
|
1609
|
+
__args: {
|
|
1610
|
+
input: FindVtxUserDto;
|
|
1611
|
+
};
|
|
1612
|
+
});
|
|
1613
|
+
validateUserCredentialsVtx?: (UserGenqlSelection & {
|
|
1614
|
+
__args: {
|
|
1615
|
+
username: Scalars['String'];
|
|
1616
|
+
password: Scalars['String'];
|
|
1617
|
+
};
|
|
1618
|
+
});
|
|
1434
1619
|
__typename?: boolean | number;
|
|
1435
1620
|
__scalar?: boolean | number;
|
|
1436
1621
|
}
|
|
@@ -1438,6 +1623,13 @@ export interface AWSS3GetUploadDto {
|
|
|
1438
1623
|
useType: Scalars['String'];
|
|
1439
1624
|
name?: (Scalars['String'] | null);
|
|
1440
1625
|
}
|
|
1626
|
+
export interface FindSponsorAthleteInvitationDto {
|
|
1627
|
+
code: Scalars['String'];
|
|
1628
|
+
type?: (Scalars['String'] | null);
|
|
1629
|
+
}
|
|
1630
|
+
export interface FindVtxUserDto {
|
|
1631
|
+
loginEmail: Scalars['String'];
|
|
1632
|
+
}
|
|
1441
1633
|
export interface MutationGenqlSelection {
|
|
1442
1634
|
registerNewDomainTenant?: (TenantGenqlSelection & {
|
|
1443
1635
|
__args: {
|
|
@@ -1457,6 +1649,13 @@ export interface MutationGenqlSelection {
|
|
|
1457
1649
|
loginUserFromEmail?: (UserTokenGenqlSelection & {
|
|
1458
1650
|
__args: {
|
|
1459
1651
|
email: Scalars['String'];
|
|
1652
|
+
loginMethod: Scalars['String'];
|
|
1653
|
+
};
|
|
1654
|
+
});
|
|
1655
|
+
loginUserFromCredentials?: (UserWithTokenGenqlSelection & {
|
|
1656
|
+
__args: {
|
|
1657
|
+
username: Scalars['String'];
|
|
1658
|
+
password: Scalars['String'];
|
|
1460
1659
|
};
|
|
1461
1660
|
});
|
|
1462
1661
|
registerUserToDomainFromEmail?: (UserGenqlSelection & {
|
|
@@ -1504,6 +1703,11 @@ export interface MutationGenqlSelection {
|
|
|
1504
1703
|
input: CreateSponsorDto;
|
|
1505
1704
|
};
|
|
1506
1705
|
});
|
|
1706
|
+
sendAthleteInvitations?: (SponsorAthleteInvitationGenqlSelection & {
|
|
1707
|
+
__args: {
|
|
1708
|
+
input: InviteAthletesDto;
|
|
1709
|
+
};
|
|
1710
|
+
});
|
|
1507
1711
|
registerAthlete?: (AthleteGenqlSelection & {
|
|
1508
1712
|
__args: {
|
|
1509
1713
|
input: RegisterAthleteDto;
|
|
@@ -1544,6 +1748,32 @@ export interface MutationGenqlSelection {
|
|
|
1544
1748
|
input: CreateCityDto;
|
|
1545
1749
|
};
|
|
1546
1750
|
});
|
|
1751
|
+
preRegisterAthleteUser?: (VerificationCodeGenqlSelection & {
|
|
1752
|
+
__args: {
|
|
1753
|
+
input: RegisterUserDto;
|
|
1754
|
+
};
|
|
1755
|
+
});
|
|
1756
|
+
confirmAthleteUserRegistrationAndLogin?: (UserWithTokenGenqlSelection & {
|
|
1757
|
+
__args: {
|
|
1758
|
+
input: VerifyCodeDto;
|
|
1759
|
+
};
|
|
1760
|
+
});
|
|
1761
|
+
confirmAthleteUserRegistration?: (UserGenqlSelection & {
|
|
1762
|
+
__args: {
|
|
1763
|
+
input: VerifyCodeDto;
|
|
1764
|
+
};
|
|
1765
|
+
});
|
|
1766
|
+
registerAthleteUser?: (UserGenqlSelection & {
|
|
1767
|
+
__args: {
|
|
1768
|
+
input: RegisterUserDto;
|
|
1769
|
+
};
|
|
1770
|
+
});
|
|
1771
|
+
loginUserFromCredentialsVtx?: (UserWithTokenGenqlSelection & {
|
|
1772
|
+
__args: {
|
|
1773
|
+
username: Scalars['String'];
|
|
1774
|
+
password: Scalars['String'];
|
|
1775
|
+
};
|
|
1776
|
+
});
|
|
1547
1777
|
__typename?: boolean | number;
|
|
1548
1778
|
__scalar?: boolean | number;
|
|
1549
1779
|
}
|
|
@@ -1556,6 +1786,7 @@ export interface CreateTenantInput {
|
|
|
1556
1786
|
export interface CreateActiveUserInput {
|
|
1557
1787
|
loginEmail: Scalars['String'];
|
|
1558
1788
|
password?: (Scalars['String'] | null);
|
|
1789
|
+
loginMethod?: (Scalars['String'] | null);
|
|
1559
1790
|
}
|
|
1560
1791
|
export interface RegisterUserToDomainFromEmailInput {
|
|
1561
1792
|
email: Scalars['String'];
|
|
@@ -1629,10 +1860,15 @@ export interface RegisterAthleteDto {
|
|
|
1629
1860
|
locLatitude?: (Scalars['Float'] | null);
|
|
1630
1861
|
locLongitude?: (Scalars['Float'] | null);
|
|
1631
1862
|
dateOfBirth: Scalars['DateTime'];
|
|
1863
|
+
lgbt?: (Scalars['Boolean'] | null);
|
|
1864
|
+
trainer?: (Scalars['String'] | null);
|
|
1865
|
+
trainerUrl?: (Scalars['String'] | null);
|
|
1632
1866
|
team?: (Scalars['String'] | null);
|
|
1633
1867
|
gender: Scalars['String'];
|
|
1634
1868
|
mainSport: Scalars['String'];
|
|
1635
1869
|
mainSportLevel: Scalars['String'];
|
|
1870
|
+
profilePicture?: (AWSS3UploadedFileDto | null);
|
|
1871
|
+
cardPicture?: (AWSS3UploadedFileDto | null);
|
|
1636
1872
|
}
|
|
1637
1873
|
export interface CreateSportDto {
|
|
1638
1874
|
name: Scalars['String'];
|
|
@@ -1672,10 +1908,17 @@ export interface CreateSponsorshipDto {
|
|
|
1672
1908
|
export interface AthleteCriteriaDto {
|
|
1673
1909
|
_id: Scalars['String'];
|
|
1674
1910
|
label?: (Scalars['String'] | null);
|
|
1675
|
-
|
|
1676
|
-
}
|
|
1677
|
-
export interface
|
|
1678
|
-
|
|
1911
|
+
qualificationsBag?: (QualificationsBagDto | null);
|
|
1912
|
+
}
|
|
1913
|
+
export interface QualificationsBagDto {
|
|
1914
|
+
ageQualifications?: (AgeQualificationDto[] | null);
|
|
1915
|
+
genderQualifications?: (GenderQualificationDto[] | null);
|
|
1916
|
+
scoreQualifications?: (ScoreQualificationDto[] | null);
|
|
1917
|
+
locationQualifications?: (LocationQualificationDto[] | null);
|
|
1918
|
+
nationalityQualifications?: (NationalityQualificationDto[] | null);
|
|
1919
|
+
distanceQualifications?: (DistanceQualificationDto[] | null);
|
|
1920
|
+
sportsQualifications?: (SportsQualificationDto[] | null);
|
|
1921
|
+
levelQualifications?: (SportsLevelQualificationDto[] | null);
|
|
1679
1922
|
}
|
|
1680
1923
|
export interface DurationDto {
|
|
1681
1924
|
length?: Scalars['Float'];
|
|
@@ -1801,6 +2044,15 @@ export declare const isSubscriptionPayment: (obj?: {
|
|
|
1801
2044
|
export declare const isAWSS3File: (obj?: {
|
|
1802
2045
|
__typename?: any;
|
|
1803
2046
|
} | null) => obj is AWSS3File;
|
|
2047
|
+
export declare const isMagicLink: (obj?: {
|
|
2048
|
+
__typename?: any;
|
|
2049
|
+
} | null) => obj is MagicLink;
|
|
2050
|
+
export declare const isVerificationCode: (obj?: {
|
|
2051
|
+
__typename?: any;
|
|
2052
|
+
} | null) => obj is VerificationCode;
|
|
2053
|
+
export declare const isErrorInfo: (obj?: {
|
|
2054
|
+
__typename?: any;
|
|
2055
|
+
} | null) => obj is ErrorInfo;
|
|
1804
2056
|
export declare const isHttpRequestField: (obj?: {
|
|
1805
2057
|
__typename?: any;
|
|
1806
2058
|
} | null) => obj is HttpRequestField;
|
|
@@ -1810,6 +2062,9 @@ export declare const isAWSS3UploadUrl: (obj?: {
|
|
|
1810
2062
|
export declare const isAWSS3CallResult: (obj?: {
|
|
1811
2063
|
__typename?: any;
|
|
1812
2064
|
} | null) => obj is AWSS3CallResult;
|
|
2065
|
+
export declare const isCodeVerificationResponse: (obj?: {
|
|
2066
|
+
__typename?: any;
|
|
2067
|
+
} | null) => obj is CodeVerificationResponse;
|
|
1813
2068
|
export declare const isBrandStats: (obj?: {
|
|
1814
2069
|
__typename?: any;
|
|
1815
2070
|
} | null) => obj is BrandStats;
|
|
@@ -1828,9 +2083,6 @@ export declare const isState: (obj?: {
|
|
|
1828
2083
|
export declare const isCountry: (obj?: {
|
|
1829
2084
|
__typename?: any;
|
|
1830
2085
|
} | null) => obj is Country;
|
|
1831
|
-
export declare const isQualification: (obj?: {
|
|
1832
|
-
__typename?: any;
|
|
1833
|
-
} | null) => obj is Qualification;
|
|
1834
2086
|
export declare const isAgeQualification: (obj?: {
|
|
1835
2087
|
__typename?: any;
|
|
1836
2088
|
} | null) => obj is AgeQualification;
|
|
@@ -1858,6 +2110,9 @@ export declare const isSportsLevelQualification: (obj?: {
|
|
|
1858
2110
|
export declare const isAthleteCriteria: (obj?: {
|
|
1859
2111
|
__typename?: any;
|
|
1860
2112
|
} | null) => obj is AthleteCriteria;
|
|
2113
|
+
export declare const isQualificationTypeUnion: (obj?: {
|
|
2114
|
+
__typename?: any;
|
|
2115
|
+
} | null) => obj is QualificationTypeUnion;
|
|
1861
2116
|
export declare const isIndustry: (obj?: {
|
|
1862
2117
|
__typename?: any;
|
|
1863
2118
|
} | null) => obj is Industry;
|
|
@@ -1927,6 +2182,9 @@ export declare const isWorldLocation: (obj?: {
|
|
|
1927
2182
|
export declare const isAthlete: (obj?: {
|
|
1928
2183
|
__typename?: any;
|
|
1929
2184
|
} | null) => obj is Athlete;
|
|
2185
|
+
export declare const isSponsorAthleteInvitation: (obj?: {
|
|
2186
|
+
__typename?: any;
|
|
2187
|
+
} | null) => obj is SponsorAthleteInvitation;
|
|
1930
2188
|
export declare const isQuery: (obj?: {
|
|
1931
2189
|
__typename?: any;
|
|
1932
2190
|
} | null) => obj is Query;
|