@vertikalx/vtx-backend-client 1.0.0-dev-daniel.51 → 1.0.0-dev-daniel.53
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/client/schema.d.ts +578 -18
- package/src/client/schema.graphql +289 -5
- package/src/client/schema.js +178 -16
- package/src/client/schema.js.map +1 -1
- package/src/client/types.d.ts +292 -4
- package/src/client/types.js +758 -42
- package/src/client/types.js.map +1 -1
- package/tsconfig.lib.tsbuildinfo +1 -1
package/package.json
CHANGED
package/src/client/schema.d.ts
CHANGED
|
@@ -258,29 +258,217 @@ export interface Brand {
|
|
|
258
258
|
translations: (BrandTranslation[] | null);
|
|
259
259
|
__typename: 'Brand';
|
|
260
260
|
}
|
|
261
|
-
export interface
|
|
261
|
+
export interface CountryReference {
|
|
262
262
|
_id: Scalars['String'];
|
|
263
263
|
name: Scalars['String'];
|
|
264
|
-
|
|
265
|
-
__typename: 'Sponsor';
|
|
264
|
+
__typename: 'CountryReference';
|
|
266
265
|
}
|
|
267
|
-
export interface
|
|
266
|
+
export interface StateReference {
|
|
268
267
|
_id: Scalars['String'];
|
|
269
268
|
name: Scalars['String'];
|
|
270
|
-
|
|
269
|
+
country: (CountryReference | null);
|
|
270
|
+
__typename: 'StateReference';
|
|
271
|
+
}
|
|
272
|
+
export interface CityReference {
|
|
273
|
+
_id: Scalars['String'];
|
|
274
|
+
name: Scalars['String'];
|
|
275
|
+
state: (StateReference | null);
|
|
276
|
+
__typename: 'CityReference';
|
|
277
|
+
}
|
|
278
|
+
export interface Qualification {
|
|
279
|
+
type: Scalars['String'];
|
|
280
|
+
__typename: 'Qualification';
|
|
281
|
+
}
|
|
282
|
+
export interface ScoreQualification {
|
|
283
|
+
type: Scalars['String'];
|
|
284
|
+
scoreType: Scalars['String'];
|
|
285
|
+
operator: Scalars['String'];
|
|
286
|
+
value: Scalars['Float'];
|
|
287
|
+
__typename: 'ScoreQualification';
|
|
288
|
+
}
|
|
289
|
+
export interface LocationQualification {
|
|
290
|
+
type: Scalars['String'];
|
|
291
|
+
operator: Scalars['String'];
|
|
292
|
+
countries: CountryReference[];
|
|
293
|
+
states: StateReference[];
|
|
294
|
+
cities: CityReference[];
|
|
295
|
+
__typename: 'LocationQualification';
|
|
296
|
+
}
|
|
297
|
+
export interface DistanceQualification {
|
|
298
|
+
type: Scalars['String'];
|
|
299
|
+
maxDistance: Scalars['Float'];
|
|
300
|
+
latitude: (Scalars['Float'] | null);
|
|
301
|
+
longitude: (Scalars['Float'] | null);
|
|
302
|
+
cityId: (Scalars['String'] | null);
|
|
303
|
+
__typename: 'DistanceQualification';
|
|
304
|
+
}
|
|
305
|
+
export interface SportsQualification {
|
|
306
|
+
type: Scalars['String'];
|
|
307
|
+
sports: Scalars['String'][];
|
|
308
|
+
operator: Scalars['String'];
|
|
309
|
+
__typename: 'SportsQualification';
|
|
310
|
+
}
|
|
311
|
+
export interface SportsLevelQualification {
|
|
312
|
+
type: Scalars['String'];
|
|
313
|
+
operator: Scalars['String'];
|
|
314
|
+
level: Scalars['String'];
|
|
315
|
+
__typename: 'SportsLevelQualification';
|
|
316
|
+
}
|
|
317
|
+
export interface AthleteCriteria {
|
|
318
|
+
_id: Scalars['String'];
|
|
319
|
+
label: (Scalars['String'] | null);
|
|
320
|
+
qualifications: (Qualification[] | null);
|
|
321
|
+
__typename: 'AthleteCriteria';
|
|
322
|
+
}
|
|
323
|
+
export interface SponsorshipStats {
|
|
324
|
+
totalApplications: (Scalars['Float'] | null);
|
|
325
|
+
newApplications: (Scalars['Float'] | null);
|
|
326
|
+
discardedApplications: (Scalars['Float'] | null);
|
|
327
|
+
selectedApplications: (Scalars['Float'] | null);
|
|
328
|
+
approvedApplications: (Scalars['Float'] | null);
|
|
329
|
+
grantedSponsorships: (Scalars['Float'] | null);
|
|
330
|
+
remainingSponsorships: (Scalars['Float'] | null);
|
|
331
|
+
__typename: 'SponsorshipStats';
|
|
332
|
+
}
|
|
333
|
+
export interface SponsorshipTranslation {
|
|
334
|
+
_id: Scalars['String'];
|
|
335
|
+
sponsorshipId: Scalars['String'];
|
|
336
|
+
language: Scalars['String'];
|
|
337
|
+
title: (Scalars['String'] | null);
|
|
338
|
+
description: (Scalars['String'] | null);
|
|
339
|
+
terms: (Scalars['String'] | null);
|
|
340
|
+
banner: (AWSS3File | null);
|
|
341
|
+
__typename: 'SponsorshipTranslation';
|
|
342
|
+
}
|
|
343
|
+
export interface Sponsorship {
|
|
344
|
+
_id: Scalars['String'];
|
|
345
|
+
title: Scalars['String'];
|
|
346
|
+
description: (Scalars['String'] | null);
|
|
347
|
+
terms: (Scalars['String'] | null);
|
|
348
|
+
banner: (AWSS3File | null);
|
|
349
|
+
stats: (SponsorshipStats | null);
|
|
350
|
+
translations: (SponsorshipTranslation[] | null);
|
|
351
|
+
approved: Scalars['Boolean'];
|
|
352
|
+
published: Scalars['Boolean'];
|
|
353
|
+
criteria: (AthleteCriteria | null);
|
|
354
|
+
__typename: 'Sponsorship';
|
|
355
|
+
}
|
|
356
|
+
export interface FollowStats {
|
|
357
|
+
followers: Scalars['Float'];
|
|
358
|
+
followed: Scalars['Float'];
|
|
359
|
+
raves: Scalars['Float'];
|
|
360
|
+
favorites: Scalars['Float'];
|
|
361
|
+
__typename: 'FollowStats';
|
|
362
|
+
}
|
|
363
|
+
export interface Sport {
|
|
364
|
+
_id: Scalars['String'];
|
|
365
|
+
name: Scalars['String'];
|
|
366
|
+
__typename: 'Sport';
|
|
367
|
+
}
|
|
368
|
+
export interface VtxScores {
|
|
369
|
+
vtxScore: Scalars['Float'];
|
|
370
|
+
socialScore: Scalars['Float'];
|
|
371
|
+
trainingScore: Scalars['Float'];
|
|
372
|
+
competitionScore: Scalars['Float'];
|
|
373
|
+
__typename: 'VtxScores';
|
|
374
|
+
}
|
|
375
|
+
export interface SportLevelTranslation {
|
|
376
|
+
_id: Scalars['String'];
|
|
377
|
+
language: Scalars['String'];
|
|
378
|
+
label: Scalars['String'];
|
|
379
|
+
__typename: 'SportLevelTranslation';
|
|
380
|
+
}
|
|
381
|
+
export interface SportLevel {
|
|
382
|
+
_id: Scalars['String'];
|
|
383
|
+
label: Scalars['String'];
|
|
384
|
+
index: Scalars['Float'];
|
|
385
|
+
translations: (SportLevelTranslation[] | null);
|
|
386
|
+
__typename: 'SportLevel';
|
|
387
|
+
}
|
|
388
|
+
export interface Ranking {
|
|
389
|
+
scope: Scalars['String'];
|
|
390
|
+
scopeId: Scalars['String'];
|
|
391
|
+
scopeName: Scalars['String'];
|
|
392
|
+
position: Scalars['Float'];
|
|
393
|
+
total: Scalars['Float'];
|
|
394
|
+
__typename: 'Ranking';
|
|
395
|
+
}
|
|
396
|
+
export interface AthleteRankings {
|
|
397
|
+
worldRanking: (Ranking | null);
|
|
398
|
+
countryRanking: (Ranking | null);
|
|
399
|
+
stateRanking: (Ranking | null);
|
|
400
|
+
cityRanking: (Ranking | null);
|
|
401
|
+
__typename: 'AthleteRankings';
|
|
402
|
+
}
|
|
403
|
+
export interface Team {
|
|
404
|
+
_id: Scalars['String'];
|
|
405
|
+
name: Scalars['String'];
|
|
406
|
+
description: (Scalars['String'] | null);
|
|
407
|
+
sports: (Sport[] | null);
|
|
408
|
+
approved: (Scalars['Boolean'] | null);
|
|
409
|
+
logo: (AWSS3File | null);
|
|
410
|
+
banner: (AWSS3File | null);
|
|
411
|
+
__typename: 'Team';
|
|
412
|
+
}
|
|
413
|
+
export interface SportsEvent {
|
|
414
|
+
_id: Scalars['String'];
|
|
415
|
+
name: Scalars['String'];
|
|
416
|
+
eventWebSite: (Scalars['String'] | null);
|
|
417
|
+
startDate: Scalars['DateTime'];
|
|
418
|
+
endDate: (Scalars['DateTime'] | null);
|
|
419
|
+
verified: Scalars['Boolean'];
|
|
420
|
+
banner: (AWSS3File | null);
|
|
421
|
+
__typename: 'SportsEvent';
|
|
422
|
+
}
|
|
423
|
+
export interface AthleteCompetitionResult {
|
|
424
|
+
_id: Scalars['String'];
|
|
425
|
+
type: Scalars['String'];
|
|
426
|
+
position: (Scalars['Float'] | null);
|
|
427
|
+
score: (Scalars['String'] | null);
|
|
428
|
+
timems: (Scalars['Float'] | null);
|
|
429
|
+
resultWebLink: (Scalars['String'] | null);
|
|
430
|
+
__typename: 'AthleteCompetitionResult';
|
|
431
|
+
}
|
|
432
|
+
export interface AthleteCompetition {
|
|
433
|
+
_id: Scalars['String'];
|
|
434
|
+
event: SportsEvent;
|
|
435
|
+
eventName: Scalars['String'];
|
|
436
|
+
date: Scalars['DateTime'];
|
|
437
|
+
result: (AthleteCompetitionResult | null);
|
|
438
|
+
__typename: 'AthleteCompetition';
|
|
271
439
|
}
|
|
272
440
|
export interface Athlete {
|
|
273
441
|
_id: Scalars['String'];
|
|
274
442
|
firstName: Scalars['String'];
|
|
275
443
|
lastName: Scalars['String'];
|
|
276
444
|
screenName: (Scalars['String'] | null);
|
|
277
|
-
|
|
445
|
+
countryId: (Scalars['String'] | null);
|
|
446
|
+
countryName: (Scalars['String'] | null);
|
|
447
|
+
trainer: (Scalars['String'] | null);
|
|
448
|
+
trainerUrl: (Scalars['String'] | null);
|
|
449
|
+
followStats: (FollowStats | null);
|
|
450
|
+
mainSport: Sport;
|
|
451
|
+
mainSportLevel: SportLevel;
|
|
452
|
+
scores: VtxScores;
|
|
453
|
+
rankings: (AthleteRankings | null);
|
|
454
|
+
allSports: (Sport[] | null);
|
|
455
|
+
teams: (Team[] | null);
|
|
456
|
+
sponsorBrands: (Brand[] | null);
|
|
457
|
+
competitions: (AthleteCompetition[] | null);
|
|
458
|
+
totalUpcomingCompetitions: (Scalars['Float'] | null);
|
|
459
|
+
totalPastCompetitions: (Scalars['Float'] | null);
|
|
278
460
|
__typename: 'Athlete';
|
|
279
461
|
}
|
|
280
|
-
export interface
|
|
462
|
+
export interface Industry {
|
|
281
463
|
_id: Scalars['String'];
|
|
282
464
|
name: Scalars['String'];
|
|
283
|
-
__typename: '
|
|
465
|
+
__typename: 'Industry';
|
|
466
|
+
}
|
|
467
|
+
export interface Sponsor {
|
|
468
|
+
_id: Scalars['String'];
|
|
469
|
+
name: Scalars['String'];
|
|
470
|
+
description: Scalars['String'];
|
|
471
|
+
__typename: 'Sponsor';
|
|
284
472
|
}
|
|
285
473
|
export interface Query {
|
|
286
474
|
findTenantById: Tenant;
|
|
@@ -301,6 +489,7 @@ export interface Query {
|
|
|
301
489
|
findAthleteById: Athlete;
|
|
302
490
|
sports: Sport[];
|
|
303
491
|
findSportById: Sport;
|
|
492
|
+
getSponsorships: Sponsorship[];
|
|
304
493
|
__typename: 'Query';
|
|
305
494
|
}
|
|
306
495
|
export interface Mutation {
|
|
@@ -320,6 +509,7 @@ export interface Mutation {
|
|
|
320
509
|
registerAthlete: Athlete;
|
|
321
510
|
createSport: Sport;
|
|
322
511
|
updateSport: Sport;
|
|
512
|
+
createSponsorwhip: Sponsorship;
|
|
323
513
|
__typename: 'Mutation';
|
|
324
514
|
}
|
|
325
515
|
export interface UserGenqlSelection {
|
|
@@ -603,34 +793,289 @@ export interface BrandGenqlSelection {
|
|
|
603
793
|
__typename?: boolean | number;
|
|
604
794
|
__scalar?: boolean | number;
|
|
605
795
|
}
|
|
606
|
-
export interface
|
|
796
|
+
export interface CountryReferenceGenqlSelection {
|
|
797
|
+
_id?: boolean | number;
|
|
798
|
+
name?: boolean | number;
|
|
799
|
+
__typename?: boolean | number;
|
|
800
|
+
__scalar?: boolean | number;
|
|
801
|
+
}
|
|
802
|
+
export interface StateReferenceGenqlSelection {
|
|
803
|
+
_id?: boolean | number;
|
|
804
|
+
name?: boolean | number;
|
|
805
|
+
country?: CountryReferenceGenqlSelection;
|
|
806
|
+
__typename?: boolean | number;
|
|
807
|
+
__scalar?: boolean | number;
|
|
808
|
+
}
|
|
809
|
+
export interface CityReferenceGenqlSelection {
|
|
607
810
|
_id?: boolean | number;
|
|
608
811
|
name?: boolean | number;
|
|
812
|
+
state?: StateReferenceGenqlSelection;
|
|
813
|
+
__typename?: boolean | number;
|
|
814
|
+
__scalar?: boolean | number;
|
|
815
|
+
}
|
|
816
|
+
export interface QualificationGenqlSelection {
|
|
817
|
+
type?: boolean | number;
|
|
818
|
+
__typename?: boolean | number;
|
|
819
|
+
__scalar?: boolean | number;
|
|
820
|
+
}
|
|
821
|
+
export interface ScoreQualificationGenqlSelection {
|
|
822
|
+
type?: boolean | number;
|
|
823
|
+
scoreType?: boolean | number;
|
|
824
|
+
operator?: boolean | number;
|
|
825
|
+
value?: boolean | number;
|
|
826
|
+
__typename?: boolean | number;
|
|
827
|
+
__scalar?: boolean | number;
|
|
828
|
+
}
|
|
829
|
+
export interface LocationQualificationGenqlSelection {
|
|
830
|
+
type?: boolean | number;
|
|
831
|
+
operator?: boolean | number;
|
|
832
|
+
countries?: CountryReferenceGenqlSelection;
|
|
833
|
+
states?: StateReferenceGenqlSelection;
|
|
834
|
+
cities?: CityReferenceGenqlSelection;
|
|
835
|
+
__typename?: boolean | number;
|
|
836
|
+
__scalar?: boolean | number;
|
|
837
|
+
}
|
|
838
|
+
export interface DistanceQualificationGenqlSelection {
|
|
839
|
+
type?: boolean | number;
|
|
840
|
+
maxDistance?: boolean | number;
|
|
841
|
+
latitude?: boolean | number;
|
|
842
|
+
longitude?: boolean | number;
|
|
843
|
+
cityId?: boolean | number;
|
|
844
|
+
__typename?: boolean | number;
|
|
845
|
+
__scalar?: boolean | number;
|
|
846
|
+
}
|
|
847
|
+
export interface SportsQualificationGenqlSelection {
|
|
848
|
+
type?: boolean | number;
|
|
849
|
+
sports?: boolean | number;
|
|
850
|
+
operator?: boolean | number;
|
|
851
|
+
__typename?: boolean | number;
|
|
852
|
+
__scalar?: boolean | number;
|
|
853
|
+
}
|
|
854
|
+
export interface SportsLevelQualificationGenqlSelection {
|
|
855
|
+
type?: boolean | number;
|
|
856
|
+
operator?: boolean | number;
|
|
857
|
+
level?: boolean | number;
|
|
858
|
+
__typename?: boolean | number;
|
|
859
|
+
__scalar?: boolean | number;
|
|
860
|
+
}
|
|
861
|
+
export interface AthleteCriteriaGenqlSelection {
|
|
862
|
+
_id?: boolean | number;
|
|
863
|
+
label?: boolean | number;
|
|
864
|
+
qualifications?: QualificationGenqlSelection;
|
|
865
|
+
__typename?: boolean | number;
|
|
866
|
+
__scalar?: boolean | number;
|
|
867
|
+
}
|
|
868
|
+
export interface SponsorshipStatsGenqlSelection {
|
|
869
|
+
totalApplications?: boolean | number;
|
|
870
|
+
newApplications?: boolean | number;
|
|
871
|
+
discardedApplications?: boolean | number;
|
|
872
|
+
selectedApplications?: boolean | number;
|
|
873
|
+
approvedApplications?: boolean | number;
|
|
874
|
+
grantedSponsorships?: boolean | number;
|
|
875
|
+
remainingSponsorships?: boolean | number;
|
|
876
|
+
__typename?: boolean | number;
|
|
877
|
+
__scalar?: boolean | number;
|
|
878
|
+
}
|
|
879
|
+
export interface SponsorshipTranslationGenqlSelection {
|
|
880
|
+
_id?: boolean | number;
|
|
881
|
+
sponsorshipId?: boolean | number;
|
|
882
|
+
language?: boolean | number;
|
|
883
|
+
title?: boolean | number;
|
|
609
884
|
description?: boolean | number;
|
|
885
|
+
terms?: boolean | number;
|
|
886
|
+
banner?: AWSS3FileGenqlSelection;
|
|
610
887
|
__typename?: boolean | number;
|
|
611
888
|
__scalar?: boolean | number;
|
|
612
889
|
}
|
|
613
|
-
export interface
|
|
890
|
+
export interface SponsorshipGenqlSelection {
|
|
891
|
+
_id?: boolean | number;
|
|
892
|
+
title?: boolean | number;
|
|
893
|
+
description?: boolean | number;
|
|
894
|
+
terms?: boolean | number;
|
|
895
|
+
banner?: AWSS3FileGenqlSelection;
|
|
896
|
+
stats?: SponsorshipStatsGenqlSelection;
|
|
897
|
+
translations?: SponsorshipTranslationGenqlSelection;
|
|
898
|
+
approved?: boolean | number;
|
|
899
|
+
published?: boolean | number;
|
|
900
|
+
criteria?: AthleteCriteriaGenqlSelection;
|
|
901
|
+
__typename?: boolean | number;
|
|
902
|
+
__scalar?: boolean | number;
|
|
903
|
+
}
|
|
904
|
+
export interface FollowStatsGenqlSelection {
|
|
905
|
+
followers?: boolean | number;
|
|
906
|
+
followed?: boolean | number;
|
|
907
|
+
raves?: boolean | number;
|
|
908
|
+
favorites?: boolean | number;
|
|
909
|
+
__typename?: boolean | number;
|
|
910
|
+
__scalar?: boolean | number;
|
|
911
|
+
}
|
|
912
|
+
export interface SportGenqlSelection {
|
|
614
913
|
_id?: boolean | number;
|
|
615
914
|
name?: boolean | number;
|
|
616
915
|
__typename?: boolean | number;
|
|
617
916
|
__scalar?: boolean | number;
|
|
618
917
|
}
|
|
918
|
+
export interface VtxScoresGenqlSelection {
|
|
919
|
+
vtxScore?: boolean | number;
|
|
920
|
+
socialScore?: boolean | number;
|
|
921
|
+
trainingScore?: boolean | number;
|
|
922
|
+
competitionScore?: boolean | number;
|
|
923
|
+
__typename?: boolean | number;
|
|
924
|
+
__scalar?: boolean | number;
|
|
925
|
+
}
|
|
926
|
+
export interface SportLevelTranslationGenqlSelection {
|
|
927
|
+
_id?: boolean | number;
|
|
928
|
+
language?: boolean | number;
|
|
929
|
+
label?: boolean | number;
|
|
930
|
+
__typename?: boolean | number;
|
|
931
|
+
__scalar?: boolean | number;
|
|
932
|
+
}
|
|
933
|
+
export interface SportLevelGenqlSelection {
|
|
934
|
+
_id?: boolean | number;
|
|
935
|
+
label?: boolean | number;
|
|
936
|
+
index?: boolean | number;
|
|
937
|
+
translations?: SportLevelTranslationGenqlSelection;
|
|
938
|
+
__typename?: boolean | number;
|
|
939
|
+
__scalar?: boolean | number;
|
|
940
|
+
}
|
|
941
|
+
export interface RankingGenqlSelection {
|
|
942
|
+
scope?: boolean | number;
|
|
943
|
+
scopeId?: boolean | number;
|
|
944
|
+
scopeName?: boolean | number;
|
|
945
|
+
position?: boolean | number;
|
|
946
|
+
total?: boolean | number;
|
|
947
|
+
__typename?: boolean | number;
|
|
948
|
+
__scalar?: boolean | number;
|
|
949
|
+
}
|
|
950
|
+
export interface AthleteRankingsGenqlSelection {
|
|
951
|
+
worldRanking?: RankingGenqlSelection;
|
|
952
|
+
countryRanking?: RankingGenqlSelection;
|
|
953
|
+
stateRanking?: RankingGenqlSelection;
|
|
954
|
+
cityRanking?: RankingGenqlSelection;
|
|
955
|
+
__typename?: boolean | number;
|
|
956
|
+
__scalar?: boolean | number;
|
|
957
|
+
}
|
|
958
|
+
export interface TeamGenqlSelection {
|
|
959
|
+
_id?: boolean | number;
|
|
960
|
+
name?: boolean | number;
|
|
961
|
+
description?: boolean | number;
|
|
962
|
+
sports?: SportGenqlSelection;
|
|
963
|
+
approved?: boolean | number;
|
|
964
|
+
logo?: AWSS3FileGenqlSelection;
|
|
965
|
+
banner?: AWSS3FileGenqlSelection;
|
|
966
|
+
__typename?: boolean | number;
|
|
967
|
+
__scalar?: boolean | number;
|
|
968
|
+
}
|
|
969
|
+
export interface SportsEventGenqlSelection {
|
|
970
|
+
_id?: boolean | number;
|
|
971
|
+
name?: boolean | number;
|
|
972
|
+
eventWebSite?: boolean | number;
|
|
973
|
+
startDate?: boolean | number;
|
|
974
|
+
endDate?: boolean | number;
|
|
975
|
+
verified?: boolean | number;
|
|
976
|
+
banner?: AWSS3FileGenqlSelection;
|
|
977
|
+
__typename?: boolean | number;
|
|
978
|
+
__scalar?: boolean | number;
|
|
979
|
+
}
|
|
980
|
+
export interface AthleteCompetitionResultGenqlSelection {
|
|
981
|
+
_id?: boolean | number;
|
|
982
|
+
type?: boolean | number;
|
|
983
|
+
position?: boolean | number;
|
|
984
|
+
score?: boolean | number;
|
|
985
|
+
timems?: boolean | number;
|
|
986
|
+
resultWebLink?: boolean | number;
|
|
987
|
+
__typename?: boolean | number;
|
|
988
|
+
__scalar?: boolean | number;
|
|
989
|
+
}
|
|
990
|
+
export interface AthleteCompetitionGenqlSelection {
|
|
991
|
+
_id?: boolean | number;
|
|
992
|
+
event?: SportsEventGenqlSelection;
|
|
993
|
+
eventName?: boolean | number;
|
|
994
|
+
date?: boolean | number;
|
|
995
|
+
result?: AthleteCompetitionResultGenqlSelection;
|
|
996
|
+
__typename?: boolean | number;
|
|
997
|
+
__scalar?: boolean | number;
|
|
998
|
+
}
|
|
619
999
|
export interface AthleteGenqlSelection {
|
|
620
1000
|
_id?: boolean | number;
|
|
621
1001
|
firstName?: boolean | number;
|
|
622
1002
|
lastName?: boolean | number;
|
|
623
1003
|
screenName?: boolean | number;
|
|
624
|
-
|
|
1004
|
+
countryId?: boolean | number;
|
|
1005
|
+
countryName?: boolean | number;
|
|
1006
|
+
trainer?: boolean | number;
|
|
1007
|
+
trainerUrl?: boolean | number;
|
|
1008
|
+
followStats?: FollowStatsGenqlSelection;
|
|
1009
|
+
mainSport?: SportGenqlSelection;
|
|
1010
|
+
mainSportLevel?: SportLevelGenqlSelection;
|
|
1011
|
+
scores?: VtxScoresGenqlSelection;
|
|
1012
|
+
rankings?: AthleteRankingsGenqlSelection;
|
|
1013
|
+
allSports?: SportGenqlSelection;
|
|
1014
|
+
teams?: TeamGenqlSelection;
|
|
1015
|
+
sponsorBrands?: BrandGenqlSelection;
|
|
1016
|
+
competitions?: AthleteCompetitionGenqlSelection;
|
|
1017
|
+
totalUpcomingCompetitions?: boolean | number;
|
|
1018
|
+
totalPastCompetitions?: boolean | number;
|
|
625
1019
|
__typename?: boolean | number;
|
|
626
1020
|
__scalar?: boolean | number;
|
|
627
1021
|
}
|
|
628
|
-
export interface
|
|
1022
|
+
export interface IndustryGenqlSelection {
|
|
1023
|
+
_id?: boolean | number;
|
|
1024
|
+
name?: boolean | number;
|
|
1025
|
+
__typename?: boolean | number;
|
|
1026
|
+
__scalar?: boolean | number;
|
|
1027
|
+
}
|
|
1028
|
+
export interface SponsorGenqlSelection {
|
|
629
1029
|
_id?: boolean | number;
|
|
630
1030
|
name?: boolean | number;
|
|
1031
|
+
description?: boolean | number;
|
|
631
1032
|
__typename?: boolean | number;
|
|
632
1033
|
__scalar?: boolean | number;
|
|
633
1034
|
}
|
|
1035
|
+
export interface ScoreQualificationDto {
|
|
1036
|
+
type: Scalars['String'];
|
|
1037
|
+
scoreType: Scalars['String'];
|
|
1038
|
+
operator: Scalars['String'];
|
|
1039
|
+
value: Scalars['Float'];
|
|
1040
|
+
}
|
|
1041
|
+
export interface LocationQualificationDto {
|
|
1042
|
+
type: Scalars['String'];
|
|
1043
|
+
operator: Scalars['String'];
|
|
1044
|
+
countries: CountryReferenceDto[];
|
|
1045
|
+
states: StateReferenceDto[];
|
|
1046
|
+
cities: CityReferenceDto[];
|
|
1047
|
+
}
|
|
1048
|
+
export interface CountryReferenceDto {
|
|
1049
|
+
_id: Scalars['String'];
|
|
1050
|
+
name: Scalars['String'];
|
|
1051
|
+
}
|
|
1052
|
+
export interface StateReferenceDto {
|
|
1053
|
+
_id: Scalars['String'];
|
|
1054
|
+
name: Scalars['String'];
|
|
1055
|
+
country?: (CountryReferenceDto | null);
|
|
1056
|
+
}
|
|
1057
|
+
export interface CityReferenceDto {
|
|
1058
|
+
_id: Scalars['String'];
|
|
1059
|
+
name: Scalars['String'];
|
|
1060
|
+
state?: (StateReferenceDto | null);
|
|
1061
|
+
}
|
|
1062
|
+
export interface DistanceQualificationDto {
|
|
1063
|
+
type: Scalars['String'];
|
|
1064
|
+
maxDistance: Scalars['Float'];
|
|
1065
|
+
latitude?: (Scalars['Float'] | null);
|
|
1066
|
+
longitude?: (Scalars['Float'] | null);
|
|
1067
|
+
cityId?: (Scalars['String'] | null);
|
|
1068
|
+
}
|
|
1069
|
+
export interface SportsQualificationDto {
|
|
1070
|
+
type: Scalars['String'];
|
|
1071
|
+
sports: Scalars['String'][];
|
|
1072
|
+
operator: Scalars['String'];
|
|
1073
|
+
}
|
|
1074
|
+
export interface SportsLevelQualificationDto {
|
|
1075
|
+
type: Scalars['String'];
|
|
1076
|
+
operator: Scalars['String'];
|
|
1077
|
+
level: Scalars['String'];
|
|
1078
|
+
}
|
|
634
1079
|
export interface QueryGenqlSelection {
|
|
635
1080
|
findTenantById?: (TenantGenqlSelection & {
|
|
636
1081
|
__args: {
|
|
@@ -701,6 +1146,11 @@ export interface QueryGenqlSelection {
|
|
|
701
1146
|
sportId: Scalars['String'];
|
|
702
1147
|
};
|
|
703
1148
|
});
|
|
1149
|
+
getSponsorships?: (SponsorshipGenqlSelection & {
|
|
1150
|
+
__args: {
|
|
1151
|
+
sponsorId: Scalars['String'];
|
|
1152
|
+
};
|
|
1153
|
+
});
|
|
704
1154
|
__typename?: boolean | number;
|
|
705
1155
|
__scalar?: boolean | number;
|
|
706
1156
|
}
|
|
@@ -790,6 +1240,11 @@ export interface MutationGenqlSelection {
|
|
|
790
1240
|
input: UpdateSportDto;
|
|
791
1241
|
};
|
|
792
1242
|
});
|
|
1243
|
+
createSponsorwhip?: (SponsorshipGenqlSelection & {
|
|
1244
|
+
__args: {
|
|
1245
|
+
input: CreateSponsorshipDto;
|
|
1246
|
+
};
|
|
1247
|
+
});
|
|
793
1248
|
__typename?: boolean | number;
|
|
794
1249
|
__scalar?: boolean | number;
|
|
795
1250
|
}
|
|
@@ -884,6 +1339,42 @@ export interface CreateSportDto {
|
|
|
884
1339
|
export interface UpdateSportDto {
|
|
885
1340
|
name: Scalars['String'];
|
|
886
1341
|
}
|
|
1342
|
+
export interface CreateSponsorshipDto {
|
|
1343
|
+
title: Scalars['String'];
|
|
1344
|
+
brandId: Scalars['String'];
|
|
1345
|
+
description?: (Scalars['String'] | null);
|
|
1346
|
+
cashValue?: (Scalars['Float'] | null);
|
|
1347
|
+
otherValue?: (Scalars['Float'] | null);
|
|
1348
|
+
banner?: (AWSS3UploadedFileDto | null);
|
|
1349
|
+
criteria?: (AthleteCriteriaDto | null);
|
|
1350
|
+
sponsorshipItems?: (SponsorshipItemDto[] | null);
|
|
1351
|
+
commitments?: (SponsorshipCommitmentDto[] | null);
|
|
1352
|
+
terms?: (Scalars['String'] | null);
|
|
1353
|
+
published?: (Scalars['Boolean'] | null);
|
|
1354
|
+
translations?: (SponsorshipTranslationDto[] | null);
|
|
1355
|
+
}
|
|
1356
|
+
export interface AthleteCriteriaDto {
|
|
1357
|
+
_id: Scalars['String'];
|
|
1358
|
+
label?: (Scalars['String'] | null);
|
|
1359
|
+
qualifications?: (QualificationDto[] | null);
|
|
1360
|
+
}
|
|
1361
|
+
export interface QualificationDto {
|
|
1362
|
+
type: Scalars['String'];
|
|
1363
|
+
}
|
|
1364
|
+
export interface SponsorshipItemDto {
|
|
1365
|
+
_id: Scalars['String'];
|
|
1366
|
+
name: Scalars['String'];
|
|
1367
|
+
}
|
|
1368
|
+
export interface SponsorshipCommitmentDto {
|
|
1369
|
+
_id: Scalars['String'];
|
|
1370
|
+
name: Scalars['String'];
|
|
1371
|
+
}
|
|
1372
|
+
export interface SponsorshipTranslationDto {
|
|
1373
|
+
title?: (Scalars['String'] | null);
|
|
1374
|
+
description?: (Scalars['String'] | null);
|
|
1375
|
+
banner?: (AWSS3UploadedFileDto | null);
|
|
1376
|
+
terms?: (Scalars['String'] | null);
|
|
1377
|
+
}
|
|
887
1378
|
export declare const isUser: (obj?: {
|
|
888
1379
|
__typename?: any;
|
|
889
1380
|
} | null) => obj is User;
|
|
@@ -965,18 +1456,87 @@ export declare const isBrandTranslation: (obj?: {
|
|
|
965
1456
|
export declare const isBrand: (obj?: {
|
|
966
1457
|
__typename?: any;
|
|
967
1458
|
} | null) => obj is Brand;
|
|
968
|
-
export declare const
|
|
1459
|
+
export declare const isCountryReference: (obj?: {
|
|
969
1460
|
__typename?: any;
|
|
970
|
-
} | null) => obj is
|
|
971
|
-
export declare const
|
|
1461
|
+
} | null) => obj is CountryReference;
|
|
1462
|
+
export declare const isStateReference: (obj?: {
|
|
972
1463
|
__typename?: any;
|
|
973
|
-
} | null) => obj is
|
|
974
|
-
export declare const
|
|
1464
|
+
} | null) => obj is StateReference;
|
|
1465
|
+
export declare const isCityReference: (obj?: {
|
|
975
1466
|
__typename?: any;
|
|
976
|
-
} | null) => obj is
|
|
1467
|
+
} | null) => obj is CityReference;
|
|
1468
|
+
export declare const isQualification: (obj?: {
|
|
1469
|
+
__typename?: any;
|
|
1470
|
+
} | null) => obj is Qualification;
|
|
1471
|
+
export declare const isScoreQualification: (obj?: {
|
|
1472
|
+
__typename?: any;
|
|
1473
|
+
} | null) => obj is ScoreQualification;
|
|
1474
|
+
export declare const isLocationQualification: (obj?: {
|
|
1475
|
+
__typename?: any;
|
|
1476
|
+
} | null) => obj is LocationQualification;
|
|
1477
|
+
export declare const isDistanceQualification: (obj?: {
|
|
1478
|
+
__typename?: any;
|
|
1479
|
+
} | null) => obj is DistanceQualification;
|
|
1480
|
+
export declare const isSportsQualification: (obj?: {
|
|
1481
|
+
__typename?: any;
|
|
1482
|
+
} | null) => obj is SportsQualification;
|
|
1483
|
+
export declare const isSportsLevelQualification: (obj?: {
|
|
1484
|
+
__typename?: any;
|
|
1485
|
+
} | null) => obj is SportsLevelQualification;
|
|
1486
|
+
export declare const isAthleteCriteria: (obj?: {
|
|
1487
|
+
__typename?: any;
|
|
1488
|
+
} | null) => obj is AthleteCriteria;
|
|
1489
|
+
export declare const isSponsorshipStats: (obj?: {
|
|
1490
|
+
__typename?: any;
|
|
1491
|
+
} | null) => obj is SponsorshipStats;
|
|
1492
|
+
export declare const isSponsorshipTranslation: (obj?: {
|
|
1493
|
+
__typename?: any;
|
|
1494
|
+
} | null) => obj is SponsorshipTranslation;
|
|
1495
|
+
export declare const isSponsorship: (obj?: {
|
|
1496
|
+
__typename?: any;
|
|
1497
|
+
} | null) => obj is Sponsorship;
|
|
1498
|
+
export declare const isFollowStats: (obj?: {
|
|
1499
|
+
__typename?: any;
|
|
1500
|
+
} | null) => obj is FollowStats;
|
|
977
1501
|
export declare const isSport: (obj?: {
|
|
978
1502
|
__typename?: any;
|
|
979
1503
|
} | null) => obj is Sport;
|
|
1504
|
+
export declare const isVtxScores: (obj?: {
|
|
1505
|
+
__typename?: any;
|
|
1506
|
+
} | null) => obj is VtxScores;
|
|
1507
|
+
export declare const isSportLevelTranslation: (obj?: {
|
|
1508
|
+
__typename?: any;
|
|
1509
|
+
} | null) => obj is SportLevelTranslation;
|
|
1510
|
+
export declare const isSportLevel: (obj?: {
|
|
1511
|
+
__typename?: any;
|
|
1512
|
+
} | null) => obj is SportLevel;
|
|
1513
|
+
export declare const isRanking: (obj?: {
|
|
1514
|
+
__typename?: any;
|
|
1515
|
+
} | null) => obj is Ranking;
|
|
1516
|
+
export declare const isAthleteRankings: (obj?: {
|
|
1517
|
+
__typename?: any;
|
|
1518
|
+
} | null) => obj is AthleteRankings;
|
|
1519
|
+
export declare const isTeam: (obj?: {
|
|
1520
|
+
__typename?: any;
|
|
1521
|
+
} | null) => obj is Team;
|
|
1522
|
+
export declare const isSportsEvent: (obj?: {
|
|
1523
|
+
__typename?: any;
|
|
1524
|
+
} | null) => obj is SportsEvent;
|
|
1525
|
+
export declare const isAthleteCompetitionResult: (obj?: {
|
|
1526
|
+
__typename?: any;
|
|
1527
|
+
} | null) => obj is AthleteCompetitionResult;
|
|
1528
|
+
export declare const isAthleteCompetition: (obj?: {
|
|
1529
|
+
__typename?: any;
|
|
1530
|
+
} | null) => obj is AthleteCompetition;
|
|
1531
|
+
export declare const isAthlete: (obj?: {
|
|
1532
|
+
__typename?: any;
|
|
1533
|
+
} | null) => obj is Athlete;
|
|
1534
|
+
export declare const isIndustry: (obj?: {
|
|
1535
|
+
__typename?: any;
|
|
1536
|
+
} | null) => obj is Industry;
|
|
1537
|
+
export declare const isSponsor: (obj?: {
|
|
1538
|
+
__typename?: any;
|
|
1539
|
+
} | null) => obj is Sponsor;
|
|
980
1540
|
export declare const isQuery: (obj?: {
|
|
981
1541
|
__typename?: any;
|
|
982
1542
|
} | null) => obj is Query;
|