@vertikalx/vtx-backend-client 1.0.0-dev.43 → 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.
- 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 +19 -2
- package/src/api/vtx-base-api.js +1709 -329
- package/src/api/vtx-base-api.js.map +1 -1
- package/src/client/schema.d.ts +274 -18
- package/src/client/schema.graphql +127 -11
- package/src/client/schema.js +44 -9
- package/src/client/schema.js.map +1 -1
- package/src/client/types.d.ts +167 -9
- package/src/client/types.js +553 -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,11 @@ 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[];
|
|
612
661
|
getSports: Sport[];
|
|
613
662
|
findSportById: Sport;
|
|
614
663
|
getSportLevels: SportLevel[];
|
|
@@ -618,6 +667,9 @@ export interface Query {
|
|
|
618
667
|
getCountryStates: State[];
|
|
619
668
|
getStateCities: City[];
|
|
620
669
|
findCitiesStartingWith: City[];
|
|
670
|
+
findCityById: City;
|
|
671
|
+
findVtxUser: User;
|
|
672
|
+
validateUserCredentialsVtx: User;
|
|
621
673
|
__typename: 'Query';
|
|
622
674
|
}
|
|
623
675
|
export interface Mutation {
|
|
@@ -625,6 +677,7 @@ export interface Mutation {
|
|
|
625
677
|
registerNewDomainTenantWithLogin: TenantWithUserLogin;
|
|
626
678
|
createUserAndLogin: UserWithToken;
|
|
627
679
|
loginUserFromEmail: UserToken;
|
|
680
|
+
loginUserFromCredentials: UserWithToken;
|
|
628
681
|
registerUserToDomainFromEmail: User;
|
|
629
682
|
refreshToken: UserToken;
|
|
630
683
|
deleteUploadedUseTypeFile: AWSS3CallResult;
|
|
@@ -634,6 +687,7 @@ export interface Mutation {
|
|
|
634
687
|
createBrand: Brand;
|
|
635
688
|
registerSponsor: Sponsor;
|
|
636
689
|
createSponsor: Sponsor;
|
|
690
|
+
sendAthleteInvitations: SponsorAthleteInvitation[];
|
|
637
691
|
registerAthlete: Athlete;
|
|
638
692
|
createSport: Sport;
|
|
639
693
|
updateSport: Sport;
|
|
@@ -642,6 +696,11 @@ export interface Mutation {
|
|
|
642
696
|
createCountry: Country;
|
|
643
697
|
createState: State;
|
|
644
698
|
createCity: City;
|
|
699
|
+
preRegisterAthleteUser: VerificationCode;
|
|
700
|
+
confirmAthleteUserRegistrationAndLogin: UserWithToken;
|
|
701
|
+
confirmAthleteUserRegistration: User;
|
|
702
|
+
registerAthleteUser: User;
|
|
703
|
+
loginUserFromCredentialsVtx: UserWithToken;
|
|
645
704
|
__typename: 'Mutation';
|
|
646
705
|
}
|
|
647
706
|
export interface UserGenqlSelection {
|
|
@@ -649,6 +708,7 @@ export interface UserGenqlSelection {
|
|
|
649
708
|
loginEmail?: boolean | number;
|
|
650
709
|
suspended?: boolean | number;
|
|
651
710
|
domains?: DomainCredentialGenqlSelection;
|
|
711
|
+
loginMethods?: boolean | number;
|
|
652
712
|
__typename?: boolean | number;
|
|
653
713
|
__scalar?: boolean | number;
|
|
654
714
|
}
|
|
@@ -657,6 +717,7 @@ export interface UserWithTokenGenqlSelection {
|
|
|
657
717
|
loginEmail?: boolean | number;
|
|
658
718
|
suspended?: boolean | number;
|
|
659
719
|
domains?: DomainCredentialGenqlSelection;
|
|
720
|
+
loginMethods?: boolean | number;
|
|
660
721
|
token?: UserTokenGenqlSelection;
|
|
661
722
|
__typename?: boolean | number;
|
|
662
723
|
__scalar?: boolean | number;
|
|
@@ -883,6 +944,34 @@ export interface AWSS3FileGenqlSelection {
|
|
|
883
944
|
__typename?: boolean | number;
|
|
884
945
|
__scalar?: boolean | number;
|
|
885
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
|
+
}
|
|
886
975
|
export interface HttpRequestFieldGenqlSelection {
|
|
887
976
|
key?: boolean | number;
|
|
888
977
|
value?: boolean | number;
|
|
@@ -906,6 +995,13 @@ export interface AWSS3CallResultGenqlSelection {
|
|
|
906
995
|
__typename?: boolean | number;
|
|
907
996
|
__scalar?: boolean | number;
|
|
908
997
|
}
|
|
998
|
+
export interface CodeVerificationResponseGenqlSelection {
|
|
999
|
+
result?: boolean | number;
|
|
1000
|
+
code?: VerificationCodeGenqlSelection;
|
|
1001
|
+
error?: ErrorInfoGenqlSelection;
|
|
1002
|
+
__typename?: boolean | number;
|
|
1003
|
+
__scalar?: boolean | number;
|
|
1004
|
+
}
|
|
909
1005
|
export interface BrandStatsGenqlSelection {
|
|
910
1006
|
campaigns?: boolean | number;
|
|
911
1007
|
sponsorships?: boolean | number;
|
|
@@ -968,11 +1064,6 @@ export interface CountryGenqlSelection {
|
|
|
968
1064
|
__typename?: boolean | number;
|
|
969
1065
|
__scalar?: boolean | number;
|
|
970
1066
|
}
|
|
971
|
-
export interface QualificationGenqlSelection {
|
|
972
|
-
type?: boolean | number;
|
|
973
|
-
__typename?: boolean | number;
|
|
974
|
-
__scalar?: boolean | number;
|
|
975
|
-
}
|
|
976
1067
|
export interface AgeQualificationGenqlSelection {
|
|
977
1068
|
type?: boolean | number;
|
|
978
1069
|
value?: boolean | number;
|
|
@@ -1037,10 +1128,21 @@ export interface SportsLevelQualificationGenqlSelection {
|
|
|
1037
1128
|
export interface AthleteCriteriaGenqlSelection {
|
|
1038
1129
|
_id?: boolean | number;
|
|
1039
1130
|
label?: boolean | number;
|
|
1040
|
-
qualifications?:
|
|
1131
|
+
qualifications?: QualificationTypeUnionGenqlSelection;
|
|
1041
1132
|
__typename?: boolean | number;
|
|
1042
1133
|
__scalar?: boolean | number;
|
|
1043
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
|
+
}
|
|
1044
1146
|
export interface IndustryGenqlSelection {
|
|
1045
1147
|
_id?: boolean | number;
|
|
1046
1148
|
name?: boolean | number;
|
|
@@ -1294,9 +1396,48 @@ export interface AthleteGenqlSelection {
|
|
|
1294
1396
|
competitions?: AthleteCompetitionGenqlSelection;
|
|
1295
1397
|
totalUpcomingCompetitions?: boolean | number;
|
|
1296
1398
|
totalPastCompetitions?: boolean | number;
|
|
1399
|
+
profilePicture?: AWSS3FileGenqlSelection;
|
|
1400
|
+
cardPicture?: AWSS3FileGenqlSelection;
|
|
1401
|
+
__typename?: boolean | number;
|
|
1402
|
+
__scalar?: boolean | number;
|
|
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;
|
|
1297
1413
|
__typename?: boolean | number;
|
|
1298
1414
|
__scalar?: boolean | number;
|
|
1299
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
|
+
}
|
|
1300
1441
|
export interface AgeQualificationDto {
|
|
1301
1442
|
type: Scalars['String'];
|
|
1302
1443
|
value: Scalars['Float'];
|
|
@@ -1342,6 +1483,11 @@ export interface SportsLevelQualificationDto {
|
|
|
1342
1483
|
operator: Scalars['String'];
|
|
1343
1484
|
level: Scalars['String'];
|
|
1344
1485
|
}
|
|
1486
|
+
export interface RegisterUserDto {
|
|
1487
|
+
email: Scalars['String'];
|
|
1488
|
+
password: Scalars['String'];
|
|
1489
|
+
inviteCode?: (Scalars['String'] | null);
|
|
1490
|
+
}
|
|
1345
1491
|
export interface QueryGenqlSelection {
|
|
1346
1492
|
findTenantById?: (TenantGenqlSelection & {
|
|
1347
1493
|
__args: {
|
|
@@ -1370,6 +1516,12 @@ export interface QueryGenqlSelection {
|
|
|
1370
1516
|
email: Scalars['String'];
|
|
1371
1517
|
};
|
|
1372
1518
|
});
|
|
1519
|
+
validateUserCredentials?: (UserGenqlSelection & {
|
|
1520
|
+
__args: {
|
|
1521
|
+
username: Scalars['String'];
|
|
1522
|
+
password: Scalars['String'];
|
|
1523
|
+
};
|
|
1524
|
+
});
|
|
1373
1525
|
getUploadUrl?: (AWSS3UploadUrlGenqlSelection & {
|
|
1374
1526
|
__args: {
|
|
1375
1527
|
input: AWSS3GetUploadDto;
|
|
@@ -1400,12 +1552,27 @@ export interface QueryGenqlSelection {
|
|
|
1400
1552
|
};
|
|
1401
1553
|
});
|
|
1402
1554
|
sponsors?: SponsorGenqlSelection;
|
|
1555
|
+
findSponsorAthleteInvitation?: (SponsorAthleteInvitationGenqlSelection & {
|
|
1556
|
+
__args: {
|
|
1557
|
+
input: FindSponsorAthleteInvitationDto;
|
|
1558
|
+
};
|
|
1559
|
+
});
|
|
1403
1560
|
getAthletes?: AthleteGenqlSelection;
|
|
1404
1561
|
findAthleteById?: (AthleteGenqlSelection & {
|
|
1405
1562
|
__args: {
|
|
1406
1563
|
athleteId: Scalars['String'];
|
|
1407
1564
|
};
|
|
1408
1565
|
});
|
|
1566
|
+
findAthleteForUser?: (AthleteGenqlSelection & {
|
|
1567
|
+
__args: {
|
|
1568
|
+
loginEmail: Scalars['String'];
|
|
1569
|
+
};
|
|
1570
|
+
});
|
|
1571
|
+
getRecommendedAthletes?: (AthleteGenqlSelection & {
|
|
1572
|
+
__args: {
|
|
1573
|
+
loginEmail: Scalars['String'];
|
|
1574
|
+
};
|
|
1575
|
+
});
|
|
1409
1576
|
getSports?: SportGenqlSelection;
|
|
1410
1577
|
findSportById?: (SportGenqlSelection & {
|
|
1411
1578
|
__args: {
|
|
@@ -1431,6 +1598,22 @@ export interface QueryGenqlSelection {
|
|
|
1431
1598
|
text: Scalars['String'];
|
|
1432
1599
|
};
|
|
1433
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
|
+
});
|
|
1434
1617
|
__typename?: boolean | number;
|
|
1435
1618
|
__scalar?: boolean | number;
|
|
1436
1619
|
}
|
|
@@ -1438,6 +1621,13 @@ export interface AWSS3GetUploadDto {
|
|
|
1438
1621
|
useType: Scalars['String'];
|
|
1439
1622
|
name?: (Scalars['String'] | null);
|
|
1440
1623
|
}
|
|
1624
|
+
export interface FindSponsorAthleteInvitationDto {
|
|
1625
|
+
code: Scalars['String'];
|
|
1626
|
+
type?: (Scalars['String'] | null);
|
|
1627
|
+
}
|
|
1628
|
+
export interface FindVtxUserDto {
|
|
1629
|
+
loginEmail: Scalars['String'];
|
|
1630
|
+
}
|
|
1441
1631
|
export interface MutationGenqlSelection {
|
|
1442
1632
|
registerNewDomainTenant?: (TenantGenqlSelection & {
|
|
1443
1633
|
__args: {
|
|
@@ -1457,6 +1647,13 @@ export interface MutationGenqlSelection {
|
|
|
1457
1647
|
loginUserFromEmail?: (UserTokenGenqlSelection & {
|
|
1458
1648
|
__args: {
|
|
1459
1649
|
email: Scalars['String'];
|
|
1650
|
+
loginMethod: Scalars['String'];
|
|
1651
|
+
};
|
|
1652
|
+
});
|
|
1653
|
+
loginUserFromCredentials?: (UserWithTokenGenqlSelection & {
|
|
1654
|
+
__args: {
|
|
1655
|
+
username: Scalars['String'];
|
|
1656
|
+
password: Scalars['String'];
|
|
1460
1657
|
};
|
|
1461
1658
|
});
|
|
1462
1659
|
registerUserToDomainFromEmail?: (UserGenqlSelection & {
|
|
@@ -1504,6 +1701,11 @@ export interface MutationGenqlSelection {
|
|
|
1504
1701
|
input: CreateSponsorDto;
|
|
1505
1702
|
};
|
|
1506
1703
|
});
|
|
1704
|
+
sendAthleteInvitations?: (SponsorAthleteInvitationGenqlSelection & {
|
|
1705
|
+
__args: {
|
|
1706
|
+
input: InviteAthletesDto;
|
|
1707
|
+
};
|
|
1708
|
+
});
|
|
1507
1709
|
registerAthlete?: (AthleteGenqlSelection & {
|
|
1508
1710
|
__args: {
|
|
1509
1711
|
input: RegisterAthleteDto;
|
|
@@ -1544,6 +1746,32 @@ export interface MutationGenqlSelection {
|
|
|
1544
1746
|
input: CreateCityDto;
|
|
1545
1747
|
};
|
|
1546
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
|
+
});
|
|
1547
1775
|
__typename?: boolean | number;
|
|
1548
1776
|
__scalar?: boolean | number;
|
|
1549
1777
|
}
|
|
@@ -1556,6 +1784,7 @@ export interface CreateTenantInput {
|
|
|
1556
1784
|
export interface CreateActiveUserInput {
|
|
1557
1785
|
loginEmail: Scalars['String'];
|
|
1558
1786
|
password?: (Scalars['String'] | null);
|
|
1787
|
+
loginMethod?: (Scalars['String'] | null);
|
|
1559
1788
|
}
|
|
1560
1789
|
export interface RegisterUserToDomainFromEmailInput {
|
|
1561
1790
|
email: Scalars['String'];
|
|
@@ -1629,10 +1858,15 @@ export interface RegisterAthleteDto {
|
|
|
1629
1858
|
locLatitude?: (Scalars['Float'] | null);
|
|
1630
1859
|
locLongitude?: (Scalars['Float'] | null);
|
|
1631
1860
|
dateOfBirth: Scalars['DateTime'];
|
|
1861
|
+
lgbt?: (Scalars['Boolean'] | null);
|
|
1862
|
+
trainer?: (Scalars['String'] | null);
|
|
1863
|
+
trainerUrl?: (Scalars['String'] | null);
|
|
1632
1864
|
team?: (Scalars['String'] | null);
|
|
1633
1865
|
gender: Scalars['String'];
|
|
1634
1866
|
mainSport: Scalars['String'];
|
|
1635
1867
|
mainSportLevel: Scalars['String'];
|
|
1868
|
+
profilePicture?: (AWSS3UploadedFileDto | null);
|
|
1869
|
+
cardPicture?: (AWSS3UploadedFileDto | null);
|
|
1636
1870
|
}
|
|
1637
1871
|
export interface CreateSportDto {
|
|
1638
1872
|
name: Scalars['String'];
|
|
@@ -1672,10 +1906,17 @@ export interface CreateSponsorshipDto {
|
|
|
1672
1906
|
export interface AthleteCriteriaDto {
|
|
1673
1907
|
_id: Scalars['String'];
|
|
1674
1908
|
label?: (Scalars['String'] | null);
|
|
1675
|
-
|
|
1676
|
-
}
|
|
1677
|
-
export interface
|
|
1678
|
-
|
|
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);
|
|
1679
1920
|
}
|
|
1680
1921
|
export interface DurationDto {
|
|
1681
1922
|
length?: Scalars['Float'];
|
|
@@ -1801,6 +2042,15 @@ export declare const isSubscriptionPayment: (obj?: {
|
|
|
1801
2042
|
export declare const isAWSS3File: (obj?: {
|
|
1802
2043
|
__typename?: any;
|
|
1803
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;
|
|
1804
2054
|
export declare const isHttpRequestField: (obj?: {
|
|
1805
2055
|
__typename?: any;
|
|
1806
2056
|
} | null) => obj is HttpRequestField;
|
|
@@ -1810,6 +2060,9 @@ export declare const isAWSS3UploadUrl: (obj?: {
|
|
|
1810
2060
|
export declare const isAWSS3CallResult: (obj?: {
|
|
1811
2061
|
__typename?: any;
|
|
1812
2062
|
} | null) => obj is AWSS3CallResult;
|
|
2063
|
+
export declare const isCodeVerificationResponse: (obj?: {
|
|
2064
|
+
__typename?: any;
|
|
2065
|
+
} | null) => obj is CodeVerificationResponse;
|
|
1813
2066
|
export declare const isBrandStats: (obj?: {
|
|
1814
2067
|
__typename?: any;
|
|
1815
2068
|
} | null) => obj is BrandStats;
|
|
@@ -1828,9 +2081,6 @@ export declare const isState: (obj?: {
|
|
|
1828
2081
|
export declare const isCountry: (obj?: {
|
|
1829
2082
|
__typename?: any;
|
|
1830
2083
|
} | null) => obj is Country;
|
|
1831
|
-
export declare const isQualification: (obj?: {
|
|
1832
|
-
__typename?: any;
|
|
1833
|
-
} | null) => obj is Qualification;
|
|
1834
2084
|
export declare const isAgeQualification: (obj?: {
|
|
1835
2085
|
__typename?: any;
|
|
1836
2086
|
} | null) => obj is AgeQualification;
|
|
@@ -1858,6 +2108,9 @@ export declare const isSportsLevelQualification: (obj?: {
|
|
|
1858
2108
|
export declare const isAthleteCriteria: (obj?: {
|
|
1859
2109
|
__typename?: any;
|
|
1860
2110
|
} | null) => obj is AthleteCriteria;
|
|
2111
|
+
export declare const isQualificationTypeUnion: (obj?: {
|
|
2112
|
+
__typename?: any;
|
|
2113
|
+
} | null) => obj is QualificationTypeUnion;
|
|
1861
2114
|
export declare const isIndustry: (obj?: {
|
|
1862
2115
|
__typename?: any;
|
|
1863
2116
|
} | null) => obj is Industry;
|
|
@@ -1927,6 +2180,9 @@ export declare const isWorldLocation: (obj?: {
|
|
|
1927
2180
|
export declare const isAthlete: (obj?: {
|
|
1928
2181
|
__typename?: any;
|
|
1929
2182
|
} | null) => obj is Athlete;
|
|
2183
|
+
export declare const isSponsorAthleteInvitation: (obj?: {
|
|
2184
|
+
__typename?: any;
|
|
2185
|
+
} | null) => obj is SponsorAthleteInvitation;
|
|
1930
2186
|
export declare const isQuery: (obj?: {
|
|
1931
2187
|
__typename?: any;
|
|
1932
2188
|
} | null) => obj is Query;
|