@vertikalx/vtx-backend-client 3.0.1-dev-max.5 → 3.0.1-dev-max.6
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 +87 -31
- package/src/client/schema.js +33 -11
- package/src/client/schema.js.map +1 -1
- package/src/client/types.d.ts +35 -13
- package/src/client/types.js +659 -605
- package/src/client/types.js.map +1 -1
- package/src/generated/graphql.d.ts +424 -97
- package/src/generated/graphql.js +92 -13
- package/src/generated/graphql.js.map +1 -1
|
@@ -335,14 +335,20 @@ export type Athlete = {
|
|
|
335
335
|
};
|
|
336
336
|
export type AthleteClub = {
|
|
337
337
|
_id: Scalars['String']['output'];
|
|
338
|
-
|
|
338
|
+
athlete?: Maybe<AthleteClubMember>;
|
|
339
339
|
club?: Maybe<Club>;
|
|
340
|
-
clubId: Scalars['String']['output'];
|
|
341
340
|
joinedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
342
341
|
leftAt?: Maybe<Scalars['DateTime']['output']>;
|
|
343
342
|
role: Scalars['String']['output'];
|
|
344
343
|
status: Scalars['String']['output'];
|
|
345
344
|
};
|
|
345
|
+
export type AthleteClubMember = {
|
|
346
|
+
_id: Scalars['String']['output'];
|
|
347
|
+
firstName?: Maybe<Scalars['String']['output']>;
|
|
348
|
+
lastName?: Maybe<Scalars['String']['output']>;
|
|
349
|
+
profilePicture?: Maybe<Awss3File>;
|
|
350
|
+
screenName?: Maybe<Scalars['String']['output']>;
|
|
351
|
+
};
|
|
346
352
|
export type AthleteCompetition = {
|
|
347
353
|
_id: Scalars['String']['output'];
|
|
348
354
|
albums?: Maybe<Array<Album>>;
|
|
@@ -484,13 +490,20 @@ export type AthleteReference = {
|
|
|
484
490
|
};
|
|
485
491
|
export type AthleteTeam = {
|
|
486
492
|
_id: Scalars['String']['output'];
|
|
487
|
-
|
|
493
|
+
athlete?: Maybe<AthleteTeamMember>;
|
|
488
494
|
joinedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
489
495
|
leftAt?: Maybe<Scalars['DateTime']['output']>;
|
|
490
496
|
role: Scalars['String']['output'];
|
|
491
|
-
|
|
497
|
+
sport?: Maybe<Sport>;
|
|
492
498
|
status: Scalars['String']['output'];
|
|
493
|
-
|
|
499
|
+
};
|
|
500
|
+
export type AthleteTeamMember = {
|
|
501
|
+
_id: Scalars['String']['output'];
|
|
502
|
+
firstName?: Maybe<Scalars['String']['output']>;
|
|
503
|
+
lastName?: Maybe<Scalars['String']['output']>;
|
|
504
|
+
profilePicture?: Maybe<Awss3File>;
|
|
505
|
+
screenName?: Maybe<Scalars['String']['output']>;
|
|
506
|
+
vtxScore?: Maybe<Scalars['Float']['output']>;
|
|
494
507
|
};
|
|
495
508
|
export type AudienceFilterDto = {
|
|
496
509
|
campaignStatus?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3860,8 +3873,9 @@ export type SubscriptionPayment = {
|
|
|
3860
3873
|
export type Team = {
|
|
3861
3874
|
_id: Scalars['String']['output'];
|
|
3862
3875
|
approved?: Maybe<Scalars['Boolean']['output']>;
|
|
3876
|
+
athletes?: Maybe<Array<AthleteTeam>>;
|
|
3863
3877
|
banner?: Maybe<Awss3File>;
|
|
3864
|
-
|
|
3878
|
+
club?: Maybe<TeamClubReference>;
|
|
3865
3879
|
description?: Maybe<Scalars['String']['output']>;
|
|
3866
3880
|
joinPolicy?: Maybe<Scalars['String']['output']>;
|
|
3867
3881
|
logo?: Maybe<Awss3File>;
|
|
@@ -3881,6 +3895,11 @@ export type TeamAnalytics = {
|
|
|
3881
3895
|
vtxScore?: Maybe<Scalars['Float']['output']>;
|
|
3882
3896
|
vtxScoreHistory?: Maybe<Array<TeamVtxScoreHistoryEntry>>;
|
|
3883
3897
|
};
|
|
3898
|
+
export type TeamClubReference = {
|
|
3899
|
+
_id: Scalars['String']['output'];
|
|
3900
|
+
logo?: Maybe<Awss3File>;
|
|
3901
|
+
name: Scalars['String']['output'];
|
|
3902
|
+
};
|
|
3884
3903
|
export type TeamDashboard = {
|
|
3885
3904
|
analytics: TeamAnalytics;
|
|
3886
3905
|
leaderboard: Array<TeamLeaderboardEntry>;
|
|
@@ -13257,7 +13276,6 @@ export type TeamFieldsFragment = {
|
|
|
13257
13276
|
name: string;
|
|
13258
13277
|
description?: string | null;
|
|
13259
13278
|
approved?: boolean | null;
|
|
13260
|
-
clubId?: string | null;
|
|
13261
13279
|
joinPolicy?: string | null;
|
|
13262
13280
|
maxRosterSize?: number | null;
|
|
13263
13281
|
visibility?: string | null;
|
|
@@ -13277,6 +13295,33 @@ export type TeamFieldsFragment = {
|
|
|
13277
13295
|
url: string;
|
|
13278
13296
|
key: string;
|
|
13279
13297
|
} | null;
|
|
13298
|
+
club?: {
|
|
13299
|
+
_id: string;
|
|
13300
|
+
name: string;
|
|
13301
|
+
logo?: {
|
|
13302
|
+
_id: string;
|
|
13303
|
+
url: string;
|
|
13304
|
+
key: string;
|
|
13305
|
+
} | null;
|
|
13306
|
+
} | null;
|
|
13307
|
+
athletes?: Array<{
|
|
13308
|
+
_id: string;
|
|
13309
|
+
role: string;
|
|
13310
|
+
status: string;
|
|
13311
|
+
joinedAt?: string | null;
|
|
13312
|
+
leftAt?: string | null;
|
|
13313
|
+
athlete?: {
|
|
13314
|
+
_id: string;
|
|
13315
|
+
firstName?: string | null;
|
|
13316
|
+
lastName?: string | null;
|
|
13317
|
+
screenName?: string | null;
|
|
13318
|
+
vtxScore?: number | null;
|
|
13319
|
+
} | null;
|
|
13320
|
+
sport?: {
|
|
13321
|
+
_id: string;
|
|
13322
|
+
name: string;
|
|
13323
|
+
} | null;
|
|
13324
|
+
}> | null;
|
|
13280
13325
|
};
|
|
13281
13326
|
export type ClubFieldsFragment = {
|
|
13282
13327
|
_id: string;
|
|
@@ -13306,13 +13351,6 @@ export type ClubFieldsFragment = {
|
|
|
13306
13351
|
teams?: Array<{
|
|
13307
13352
|
_id: string;
|
|
13308
13353
|
name: string;
|
|
13309
|
-
description?: string | null;
|
|
13310
|
-
approved?: boolean | null;
|
|
13311
|
-
clubId?: string | null;
|
|
13312
|
-
joinPolicy?: string | null;
|
|
13313
|
-
maxRosterSize?: number | null;
|
|
13314
|
-
visibility?: string | null;
|
|
13315
|
-
stripeAccountId?: string | null;
|
|
13316
13354
|
vtxScore?: number | null;
|
|
13317
13355
|
sports?: Array<{
|
|
13318
13356
|
_id: string;
|
|
@@ -13323,31 +13361,48 @@ export type ClubFieldsFragment = {
|
|
|
13323
13361
|
url: string;
|
|
13324
13362
|
key: string;
|
|
13325
13363
|
} | null;
|
|
13326
|
-
banner?: {
|
|
13327
|
-
_id: string;
|
|
13328
|
-
url: string;
|
|
13329
|
-
key: string;
|
|
13330
|
-
} | null;
|
|
13331
13364
|
}> | null;
|
|
13332
13365
|
};
|
|
13333
13366
|
export type AthleteTeamFieldsFragment = {
|
|
13334
13367
|
_id: string;
|
|
13335
|
-
teamId: string;
|
|
13336
|
-
athleteId: string;
|
|
13337
|
-
sportId: string;
|
|
13338
13368
|
role: string;
|
|
13339
13369
|
status: string;
|
|
13340
13370
|
joinedAt?: string | null;
|
|
13341
13371
|
leftAt?: string | null;
|
|
13372
|
+
athlete?: {
|
|
13373
|
+
_id: string;
|
|
13374
|
+
firstName?: string | null;
|
|
13375
|
+
lastName?: string | null;
|
|
13376
|
+
screenName?: string | null;
|
|
13377
|
+
vtxScore?: number | null;
|
|
13378
|
+
profilePicture?: {
|
|
13379
|
+
_id: string;
|
|
13380
|
+
url: string;
|
|
13381
|
+
key: string;
|
|
13382
|
+
} | null;
|
|
13383
|
+
} | null;
|
|
13384
|
+
sport?: {
|
|
13385
|
+
_id: string;
|
|
13386
|
+
name: string;
|
|
13387
|
+
} | null;
|
|
13342
13388
|
};
|
|
13343
13389
|
export type AthleteClubFieldsFragment = {
|
|
13344
13390
|
_id: string;
|
|
13345
|
-
clubId: string;
|
|
13346
|
-
athleteId: string;
|
|
13347
13391
|
role: string;
|
|
13348
13392
|
status: string;
|
|
13349
13393
|
joinedAt?: string | null;
|
|
13350
13394
|
leftAt?: string | null;
|
|
13395
|
+
athlete?: {
|
|
13396
|
+
_id: string;
|
|
13397
|
+
firstName?: string | null;
|
|
13398
|
+
lastName?: string | null;
|
|
13399
|
+
screenName?: string | null;
|
|
13400
|
+
profilePicture?: {
|
|
13401
|
+
_id: string;
|
|
13402
|
+
url: string;
|
|
13403
|
+
key: string;
|
|
13404
|
+
} | null;
|
|
13405
|
+
} | null;
|
|
13351
13406
|
club?: {
|
|
13352
13407
|
_id: string;
|
|
13353
13408
|
name: string;
|
|
@@ -13395,7 +13450,6 @@ export type FindTeamByIdQuery = {
|
|
|
13395
13450
|
name: string;
|
|
13396
13451
|
description?: string | null;
|
|
13397
13452
|
approved?: boolean | null;
|
|
13398
|
-
clubId?: string | null;
|
|
13399
13453
|
joinPolicy?: string | null;
|
|
13400
13454
|
maxRosterSize?: number | null;
|
|
13401
13455
|
visibility?: string | null;
|
|
@@ -13415,6 +13469,33 @@ export type FindTeamByIdQuery = {
|
|
|
13415
13469
|
url: string;
|
|
13416
13470
|
key: string;
|
|
13417
13471
|
} | null;
|
|
13472
|
+
club?: {
|
|
13473
|
+
_id: string;
|
|
13474
|
+
name: string;
|
|
13475
|
+
logo?: {
|
|
13476
|
+
_id: string;
|
|
13477
|
+
url: string;
|
|
13478
|
+
key: string;
|
|
13479
|
+
} | null;
|
|
13480
|
+
} | null;
|
|
13481
|
+
athletes?: Array<{
|
|
13482
|
+
_id: string;
|
|
13483
|
+
role: string;
|
|
13484
|
+
status: string;
|
|
13485
|
+
joinedAt?: string | null;
|
|
13486
|
+
leftAt?: string | null;
|
|
13487
|
+
athlete?: {
|
|
13488
|
+
_id: string;
|
|
13489
|
+
firstName?: string | null;
|
|
13490
|
+
lastName?: string | null;
|
|
13491
|
+
screenName?: string | null;
|
|
13492
|
+
vtxScore?: number | null;
|
|
13493
|
+
} | null;
|
|
13494
|
+
sport?: {
|
|
13495
|
+
_id: string;
|
|
13496
|
+
name: string;
|
|
13497
|
+
} | null;
|
|
13498
|
+
}> | null;
|
|
13418
13499
|
};
|
|
13419
13500
|
};
|
|
13420
13501
|
export type FindTeamsQueryVariables = Exact<{
|
|
@@ -13427,7 +13508,6 @@ export type FindTeamsQuery = {
|
|
|
13427
13508
|
name: string;
|
|
13428
13509
|
description?: string | null;
|
|
13429
13510
|
approved?: boolean | null;
|
|
13430
|
-
clubId?: string | null;
|
|
13431
13511
|
joinPolicy?: string | null;
|
|
13432
13512
|
maxRosterSize?: number | null;
|
|
13433
13513
|
visibility?: string | null;
|
|
@@ -13447,6 +13527,90 @@ export type FindTeamsQuery = {
|
|
|
13447
13527
|
url: string;
|
|
13448
13528
|
key: string;
|
|
13449
13529
|
} | null;
|
|
13530
|
+
club?: {
|
|
13531
|
+
_id: string;
|
|
13532
|
+
name: string;
|
|
13533
|
+
logo?: {
|
|
13534
|
+
_id: string;
|
|
13535
|
+
url: string;
|
|
13536
|
+
key: string;
|
|
13537
|
+
} | null;
|
|
13538
|
+
} | null;
|
|
13539
|
+
athletes?: Array<{
|
|
13540
|
+
_id: string;
|
|
13541
|
+
role: string;
|
|
13542
|
+
status: string;
|
|
13543
|
+
joinedAt?: string | null;
|
|
13544
|
+
leftAt?: string | null;
|
|
13545
|
+
athlete?: {
|
|
13546
|
+
_id: string;
|
|
13547
|
+
firstName?: string | null;
|
|
13548
|
+
lastName?: string | null;
|
|
13549
|
+
screenName?: string | null;
|
|
13550
|
+
vtxScore?: number | null;
|
|
13551
|
+
} | null;
|
|
13552
|
+
sport?: {
|
|
13553
|
+
_id: string;
|
|
13554
|
+
name: string;
|
|
13555
|
+
} | null;
|
|
13556
|
+
}> | null;
|
|
13557
|
+
}>;
|
|
13558
|
+
};
|
|
13559
|
+
export type FindAllTeamsQueryVariables = Exact<{
|
|
13560
|
+
[key: string]: never;
|
|
13561
|
+
}>;
|
|
13562
|
+
export type FindAllTeamsQuery = {
|
|
13563
|
+
findAllTeams: Array<{
|
|
13564
|
+
_id: string;
|
|
13565
|
+
name: string;
|
|
13566
|
+
description?: string | null;
|
|
13567
|
+
approved?: boolean | null;
|
|
13568
|
+
joinPolicy?: string | null;
|
|
13569
|
+
maxRosterSize?: number | null;
|
|
13570
|
+
visibility?: string | null;
|
|
13571
|
+
stripeAccountId?: string | null;
|
|
13572
|
+
vtxScore?: number | null;
|
|
13573
|
+
sports?: Array<{
|
|
13574
|
+
_id: string;
|
|
13575
|
+
name: string;
|
|
13576
|
+
}> | null;
|
|
13577
|
+
logo?: {
|
|
13578
|
+
_id: string;
|
|
13579
|
+
url: string;
|
|
13580
|
+
key: string;
|
|
13581
|
+
} | null;
|
|
13582
|
+
banner?: {
|
|
13583
|
+
_id: string;
|
|
13584
|
+
url: string;
|
|
13585
|
+
key: string;
|
|
13586
|
+
} | null;
|
|
13587
|
+
club?: {
|
|
13588
|
+
_id: string;
|
|
13589
|
+
name: string;
|
|
13590
|
+
logo?: {
|
|
13591
|
+
_id: string;
|
|
13592
|
+
url: string;
|
|
13593
|
+
key: string;
|
|
13594
|
+
} | null;
|
|
13595
|
+
} | null;
|
|
13596
|
+
athletes?: Array<{
|
|
13597
|
+
_id: string;
|
|
13598
|
+
role: string;
|
|
13599
|
+
status: string;
|
|
13600
|
+
joinedAt?: string | null;
|
|
13601
|
+
leftAt?: string | null;
|
|
13602
|
+
athlete?: {
|
|
13603
|
+
_id: string;
|
|
13604
|
+
firstName?: string | null;
|
|
13605
|
+
lastName?: string | null;
|
|
13606
|
+
screenName?: string | null;
|
|
13607
|
+
vtxScore?: number | null;
|
|
13608
|
+
} | null;
|
|
13609
|
+
sport?: {
|
|
13610
|
+
_id: string;
|
|
13611
|
+
name: string;
|
|
13612
|
+
} | null;
|
|
13613
|
+
}> | null;
|
|
13450
13614
|
}>;
|
|
13451
13615
|
};
|
|
13452
13616
|
export type GetTeamRosterQueryVariables = Exact<{
|
|
@@ -13455,13 +13619,26 @@ export type GetTeamRosterQueryVariables = Exact<{
|
|
|
13455
13619
|
export type GetTeamRosterQuery = {
|
|
13456
13620
|
getTeamRoster: Array<{
|
|
13457
13621
|
_id: string;
|
|
13458
|
-
teamId: string;
|
|
13459
|
-
athleteId: string;
|
|
13460
|
-
sportId: string;
|
|
13461
13622
|
role: string;
|
|
13462
13623
|
status: string;
|
|
13463
13624
|
joinedAt?: string | null;
|
|
13464
13625
|
leftAt?: string | null;
|
|
13626
|
+
athlete?: {
|
|
13627
|
+
_id: string;
|
|
13628
|
+
firstName?: string | null;
|
|
13629
|
+
lastName?: string | null;
|
|
13630
|
+
screenName?: string | null;
|
|
13631
|
+
vtxScore?: number | null;
|
|
13632
|
+
profilePicture?: {
|
|
13633
|
+
_id: string;
|
|
13634
|
+
url: string;
|
|
13635
|
+
key: string;
|
|
13636
|
+
} | null;
|
|
13637
|
+
} | null;
|
|
13638
|
+
sport?: {
|
|
13639
|
+
_id: string;
|
|
13640
|
+
name: string;
|
|
13641
|
+
} | null;
|
|
13465
13642
|
}>;
|
|
13466
13643
|
};
|
|
13467
13644
|
export type GetTeamAnalyticsQueryVariables = Exact<{
|
|
@@ -13572,7 +13749,6 @@ export type CreateTeamMutation = {
|
|
|
13572
13749
|
name: string;
|
|
13573
13750
|
description?: string | null;
|
|
13574
13751
|
approved?: boolean | null;
|
|
13575
|
-
clubId?: string | null;
|
|
13576
13752
|
joinPolicy?: string | null;
|
|
13577
13753
|
maxRosterSize?: number | null;
|
|
13578
13754
|
visibility?: string | null;
|
|
@@ -13592,6 +13768,33 @@ export type CreateTeamMutation = {
|
|
|
13592
13768
|
url: string;
|
|
13593
13769
|
key: string;
|
|
13594
13770
|
} | null;
|
|
13771
|
+
club?: {
|
|
13772
|
+
_id: string;
|
|
13773
|
+
name: string;
|
|
13774
|
+
logo?: {
|
|
13775
|
+
_id: string;
|
|
13776
|
+
url: string;
|
|
13777
|
+
key: string;
|
|
13778
|
+
} | null;
|
|
13779
|
+
} | null;
|
|
13780
|
+
athletes?: Array<{
|
|
13781
|
+
_id: string;
|
|
13782
|
+
role: string;
|
|
13783
|
+
status: string;
|
|
13784
|
+
joinedAt?: string | null;
|
|
13785
|
+
leftAt?: string | null;
|
|
13786
|
+
athlete?: {
|
|
13787
|
+
_id: string;
|
|
13788
|
+
firstName?: string | null;
|
|
13789
|
+
lastName?: string | null;
|
|
13790
|
+
screenName?: string | null;
|
|
13791
|
+
vtxScore?: number | null;
|
|
13792
|
+
} | null;
|
|
13793
|
+
sport?: {
|
|
13794
|
+
_id: string;
|
|
13795
|
+
name: string;
|
|
13796
|
+
} | null;
|
|
13797
|
+
}> | null;
|
|
13595
13798
|
};
|
|
13596
13799
|
};
|
|
13597
13800
|
export type UpdateTeamMutationVariables = Exact<{
|
|
@@ -13603,7 +13806,6 @@ export type UpdateTeamMutation = {
|
|
|
13603
13806
|
name: string;
|
|
13604
13807
|
description?: string | null;
|
|
13605
13808
|
approved?: boolean | null;
|
|
13606
|
-
clubId?: string | null;
|
|
13607
13809
|
joinPolicy?: string | null;
|
|
13608
13810
|
maxRosterSize?: number | null;
|
|
13609
13811
|
visibility?: string | null;
|
|
@@ -13623,6 +13825,33 @@ export type UpdateTeamMutation = {
|
|
|
13623
13825
|
url: string;
|
|
13624
13826
|
key: string;
|
|
13625
13827
|
} | null;
|
|
13828
|
+
club?: {
|
|
13829
|
+
_id: string;
|
|
13830
|
+
name: string;
|
|
13831
|
+
logo?: {
|
|
13832
|
+
_id: string;
|
|
13833
|
+
url: string;
|
|
13834
|
+
key: string;
|
|
13835
|
+
} | null;
|
|
13836
|
+
} | null;
|
|
13837
|
+
athletes?: Array<{
|
|
13838
|
+
_id: string;
|
|
13839
|
+
role: string;
|
|
13840
|
+
status: string;
|
|
13841
|
+
joinedAt?: string | null;
|
|
13842
|
+
leftAt?: string | null;
|
|
13843
|
+
athlete?: {
|
|
13844
|
+
_id: string;
|
|
13845
|
+
firstName?: string | null;
|
|
13846
|
+
lastName?: string | null;
|
|
13847
|
+
screenName?: string | null;
|
|
13848
|
+
vtxScore?: number | null;
|
|
13849
|
+
} | null;
|
|
13850
|
+
sport?: {
|
|
13851
|
+
_id: string;
|
|
13852
|
+
name: string;
|
|
13853
|
+
} | null;
|
|
13854
|
+
}> | null;
|
|
13626
13855
|
};
|
|
13627
13856
|
};
|
|
13628
13857
|
export type JoinTeamMutationVariables = Exact<{
|
|
@@ -13631,13 +13860,26 @@ export type JoinTeamMutationVariables = Exact<{
|
|
|
13631
13860
|
export type JoinTeamMutation = {
|
|
13632
13861
|
joinTeam: {
|
|
13633
13862
|
_id: string;
|
|
13634
|
-
teamId: string;
|
|
13635
|
-
athleteId: string;
|
|
13636
|
-
sportId: string;
|
|
13637
13863
|
role: string;
|
|
13638
13864
|
status: string;
|
|
13639
13865
|
joinedAt?: string | null;
|
|
13640
13866
|
leftAt?: string | null;
|
|
13867
|
+
athlete?: {
|
|
13868
|
+
_id: string;
|
|
13869
|
+
firstName?: string | null;
|
|
13870
|
+
lastName?: string | null;
|
|
13871
|
+
screenName?: string | null;
|
|
13872
|
+
vtxScore?: number | null;
|
|
13873
|
+
profilePicture?: {
|
|
13874
|
+
_id: string;
|
|
13875
|
+
url: string;
|
|
13876
|
+
key: string;
|
|
13877
|
+
} | null;
|
|
13878
|
+
} | null;
|
|
13879
|
+
sport?: {
|
|
13880
|
+
_id: string;
|
|
13881
|
+
name: string;
|
|
13882
|
+
} | null;
|
|
13641
13883
|
};
|
|
13642
13884
|
};
|
|
13643
13885
|
export type LeaveTeamMutationVariables = Exact<{
|
|
@@ -13646,13 +13888,26 @@ export type LeaveTeamMutationVariables = Exact<{
|
|
|
13646
13888
|
export type LeaveTeamMutation = {
|
|
13647
13889
|
leaveTeam: {
|
|
13648
13890
|
_id: string;
|
|
13649
|
-
teamId: string;
|
|
13650
|
-
athleteId: string;
|
|
13651
|
-
sportId: string;
|
|
13652
13891
|
role: string;
|
|
13653
13892
|
status: string;
|
|
13654
13893
|
joinedAt?: string | null;
|
|
13655
13894
|
leftAt?: string | null;
|
|
13895
|
+
athlete?: {
|
|
13896
|
+
_id: string;
|
|
13897
|
+
firstName?: string | null;
|
|
13898
|
+
lastName?: string | null;
|
|
13899
|
+
screenName?: string | null;
|
|
13900
|
+
vtxScore?: number | null;
|
|
13901
|
+
profilePicture?: {
|
|
13902
|
+
_id: string;
|
|
13903
|
+
url: string;
|
|
13904
|
+
key: string;
|
|
13905
|
+
} | null;
|
|
13906
|
+
} | null;
|
|
13907
|
+
sport?: {
|
|
13908
|
+
_id: string;
|
|
13909
|
+
name: string;
|
|
13910
|
+
} | null;
|
|
13656
13911
|
};
|
|
13657
13912
|
};
|
|
13658
13913
|
export type InviteToTeamMutationVariables = Exact<{
|
|
@@ -13663,13 +13918,26 @@ export type InviteToTeamMutationVariables = Exact<{
|
|
|
13663
13918
|
export type InviteToTeamMutation = {
|
|
13664
13919
|
inviteToTeam: {
|
|
13665
13920
|
_id: string;
|
|
13666
|
-
teamId: string;
|
|
13667
|
-
athleteId: string;
|
|
13668
|
-
sportId: string;
|
|
13669
13921
|
role: string;
|
|
13670
13922
|
status: string;
|
|
13671
13923
|
joinedAt?: string | null;
|
|
13672
13924
|
leftAt?: string | null;
|
|
13925
|
+
athlete?: {
|
|
13926
|
+
_id: string;
|
|
13927
|
+
firstName?: string | null;
|
|
13928
|
+
lastName?: string | null;
|
|
13929
|
+
screenName?: string | null;
|
|
13930
|
+
vtxScore?: number | null;
|
|
13931
|
+
profilePicture?: {
|
|
13932
|
+
_id: string;
|
|
13933
|
+
url: string;
|
|
13934
|
+
key: string;
|
|
13935
|
+
} | null;
|
|
13936
|
+
} | null;
|
|
13937
|
+
sport?: {
|
|
13938
|
+
_id: string;
|
|
13939
|
+
name: string;
|
|
13940
|
+
} | null;
|
|
13673
13941
|
};
|
|
13674
13942
|
};
|
|
13675
13943
|
export type ManageTeamMemberMutationVariables = Exact<{
|
|
@@ -13678,13 +13946,26 @@ export type ManageTeamMemberMutationVariables = Exact<{
|
|
|
13678
13946
|
export type ManageTeamMemberMutation = {
|
|
13679
13947
|
manageTeamMember: {
|
|
13680
13948
|
_id: string;
|
|
13681
|
-
teamId: string;
|
|
13682
|
-
athleteId: string;
|
|
13683
|
-
sportId: string;
|
|
13684
13949
|
role: string;
|
|
13685
13950
|
status: string;
|
|
13686
13951
|
joinedAt?: string | null;
|
|
13687
13952
|
leftAt?: string | null;
|
|
13953
|
+
athlete?: {
|
|
13954
|
+
_id: string;
|
|
13955
|
+
firstName?: string | null;
|
|
13956
|
+
lastName?: string | null;
|
|
13957
|
+
screenName?: string | null;
|
|
13958
|
+
vtxScore?: number | null;
|
|
13959
|
+
profilePicture?: {
|
|
13960
|
+
_id: string;
|
|
13961
|
+
url: string;
|
|
13962
|
+
key: string;
|
|
13963
|
+
} | null;
|
|
13964
|
+
} | null;
|
|
13965
|
+
sport?: {
|
|
13966
|
+
_id: string;
|
|
13967
|
+
name: string;
|
|
13968
|
+
} | null;
|
|
13688
13969
|
};
|
|
13689
13970
|
};
|
|
13690
13971
|
export type CreateTeamStripeAccountMutationVariables = Exact<{
|
|
@@ -13735,13 +14016,6 @@ export type FindClubByIdQuery = {
|
|
|
13735
14016
|
teams?: Array<{
|
|
13736
14017
|
_id: string;
|
|
13737
14018
|
name: string;
|
|
13738
|
-
description?: string | null;
|
|
13739
|
-
approved?: boolean | null;
|
|
13740
|
-
clubId?: string | null;
|
|
13741
|
-
joinPolicy?: string | null;
|
|
13742
|
-
maxRosterSize?: number | null;
|
|
13743
|
-
visibility?: string | null;
|
|
13744
|
-
stripeAccountId?: string | null;
|
|
13745
14019
|
vtxScore?: number | null;
|
|
13746
14020
|
sports?: Array<{
|
|
13747
14021
|
_id: string;
|
|
@@ -13752,11 +14026,6 @@ export type FindClubByIdQuery = {
|
|
|
13752
14026
|
url: string;
|
|
13753
14027
|
key: string;
|
|
13754
14028
|
} | null;
|
|
13755
|
-
banner?: {
|
|
13756
|
-
_id: string;
|
|
13757
|
-
url: string;
|
|
13758
|
-
key: string;
|
|
13759
|
-
} | null;
|
|
13760
14029
|
}> | null;
|
|
13761
14030
|
};
|
|
13762
14031
|
};
|
|
@@ -13792,13 +14061,6 @@ export type FindClubsQuery = {
|
|
|
13792
14061
|
teams?: Array<{
|
|
13793
14062
|
_id: string;
|
|
13794
14063
|
name: string;
|
|
13795
|
-
description?: string | null;
|
|
13796
|
-
approved?: boolean | null;
|
|
13797
|
-
clubId?: string | null;
|
|
13798
|
-
joinPolicy?: string | null;
|
|
13799
|
-
maxRosterSize?: number | null;
|
|
13800
|
-
visibility?: string | null;
|
|
13801
|
-
stripeAccountId?: string | null;
|
|
13802
14064
|
vtxScore?: number | null;
|
|
13803
14065
|
sports?: Array<{
|
|
13804
14066
|
_id: string;
|
|
@@ -13809,7 +14071,47 @@ export type FindClubsQuery = {
|
|
|
13809
14071
|
url: string;
|
|
13810
14072
|
key: string;
|
|
13811
14073
|
} | null;
|
|
13812
|
-
|
|
14074
|
+
}> | null;
|
|
14075
|
+
}>;
|
|
14076
|
+
};
|
|
14077
|
+
export type FindAllClubsQueryVariables = Exact<{
|
|
14078
|
+
[key: string]: never;
|
|
14079
|
+
}>;
|
|
14080
|
+
export type FindAllClubsQuery = {
|
|
14081
|
+
findAllClubs: Array<{
|
|
14082
|
+
_id: string;
|
|
14083
|
+
name: string;
|
|
14084
|
+
description?: string | null;
|
|
14085
|
+
location?: string | null;
|
|
14086
|
+
website?: string | null;
|
|
14087
|
+
membershipType: string;
|
|
14088
|
+
feeStructure?: any | null;
|
|
14089
|
+
approved?: boolean | null;
|
|
14090
|
+
visibility: string;
|
|
14091
|
+
stripeAccountId?: string | null;
|
|
14092
|
+
sports?: Array<{
|
|
14093
|
+
_id: string;
|
|
14094
|
+
name: string;
|
|
14095
|
+
}> | null;
|
|
14096
|
+
logo?: {
|
|
14097
|
+
_id: string;
|
|
14098
|
+
url: string;
|
|
14099
|
+
key: string;
|
|
14100
|
+
} | null;
|
|
14101
|
+
banner?: {
|
|
14102
|
+
_id: string;
|
|
14103
|
+
url: string;
|
|
14104
|
+
key: string;
|
|
14105
|
+
} | null;
|
|
14106
|
+
teams?: Array<{
|
|
14107
|
+
_id: string;
|
|
14108
|
+
name: string;
|
|
14109
|
+
vtxScore?: number | null;
|
|
14110
|
+
sports?: Array<{
|
|
14111
|
+
_id: string;
|
|
14112
|
+
name: string;
|
|
14113
|
+
}> | null;
|
|
14114
|
+
logo?: {
|
|
13813
14115
|
_id: string;
|
|
13814
14116
|
url: string;
|
|
13815
14117
|
key: string;
|
|
@@ -13823,12 +14125,21 @@ export type GetClubMembersQueryVariables = Exact<{
|
|
|
13823
14125
|
export type GetClubMembersQuery = {
|
|
13824
14126
|
getClubMembers: Array<{
|
|
13825
14127
|
_id: string;
|
|
13826
|
-
clubId: string;
|
|
13827
|
-
athleteId: string;
|
|
13828
14128
|
role: string;
|
|
13829
14129
|
status: string;
|
|
13830
14130
|
joinedAt?: string | null;
|
|
13831
14131
|
leftAt?: string | null;
|
|
14132
|
+
athlete?: {
|
|
14133
|
+
_id: string;
|
|
14134
|
+
firstName?: string | null;
|
|
14135
|
+
lastName?: string | null;
|
|
14136
|
+
screenName?: string | null;
|
|
14137
|
+
profilePicture?: {
|
|
14138
|
+
_id: string;
|
|
14139
|
+
url: string;
|
|
14140
|
+
key: string;
|
|
14141
|
+
} | null;
|
|
14142
|
+
} | null;
|
|
13832
14143
|
club?: {
|
|
13833
14144
|
_id: string;
|
|
13834
14145
|
name: string;
|
|
@@ -13877,13 +14188,6 @@ export type CreateClubMutation = {
|
|
|
13877
14188
|
teams?: Array<{
|
|
13878
14189
|
_id: string;
|
|
13879
14190
|
name: string;
|
|
13880
|
-
description?: string | null;
|
|
13881
|
-
approved?: boolean | null;
|
|
13882
|
-
clubId?: string | null;
|
|
13883
|
-
joinPolicy?: string | null;
|
|
13884
|
-
maxRosterSize?: number | null;
|
|
13885
|
-
visibility?: string | null;
|
|
13886
|
-
stripeAccountId?: string | null;
|
|
13887
14191
|
vtxScore?: number | null;
|
|
13888
14192
|
sports?: Array<{
|
|
13889
14193
|
_id: string;
|
|
@@ -13894,11 +14198,6 @@ export type CreateClubMutation = {
|
|
|
13894
14198
|
url: string;
|
|
13895
14199
|
key: string;
|
|
13896
14200
|
} | null;
|
|
13897
|
-
banner?: {
|
|
13898
|
-
_id: string;
|
|
13899
|
-
url: string;
|
|
13900
|
-
key: string;
|
|
13901
|
-
} | null;
|
|
13902
14201
|
}> | null;
|
|
13903
14202
|
};
|
|
13904
14203
|
};
|
|
@@ -13934,13 +14233,6 @@ export type UpdateClubMutation = {
|
|
|
13934
14233
|
teams?: Array<{
|
|
13935
14234
|
_id: string;
|
|
13936
14235
|
name: string;
|
|
13937
|
-
description?: string | null;
|
|
13938
|
-
approved?: boolean | null;
|
|
13939
|
-
clubId?: string | null;
|
|
13940
|
-
joinPolicy?: string | null;
|
|
13941
|
-
maxRosterSize?: number | null;
|
|
13942
|
-
visibility?: string | null;
|
|
13943
|
-
stripeAccountId?: string | null;
|
|
13944
14236
|
vtxScore?: number | null;
|
|
13945
14237
|
sports?: Array<{
|
|
13946
14238
|
_id: string;
|
|
@@ -13951,11 +14243,6 @@ export type UpdateClubMutation = {
|
|
|
13951
14243
|
url: string;
|
|
13952
14244
|
key: string;
|
|
13953
14245
|
} | null;
|
|
13954
|
-
banner?: {
|
|
13955
|
-
_id: string;
|
|
13956
|
-
url: string;
|
|
13957
|
-
key: string;
|
|
13958
|
-
} | null;
|
|
13959
14246
|
}> | null;
|
|
13960
14247
|
};
|
|
13961
14248
|
};
|
|
@@ -13965,12 +14252,21 @@ export type JoinClubMutationVariables = Exact<{
|
|
|
13965
14252
|
export type JoinClubMutation = {
|
|
13966
14253
|
joinClub: {
|
|
13967
14254
|
_id: string;
|
|
13968
|
-
clubId: string;
|
|
13969
|
-
athleteId: string;
|
|
13970
14255
|
role: string;
|
|
13971
14256
|
status: string;
|
|
13972
14257
|
joinedAt?: string | null;
|
|
13973
14258
|
leftAt?: string | null;
|
|
14259
|
+
athlete?: {
|
|
14260
|
+
_id: string;
|
|
14261
|
+
firstName?: string | null;
|
|
14262
|
+
lastName?: string | null;
|
|
14263
|
+
screenName?: string | null;
|
|
14264
|
+
profilePicture?: {
|
|
14265
|
+
_id: string;
|
|
14266
|
+
url: string;
|
|
14267
|
+
key: string;
|
|
14268
|
+
} | null;
|
|
14269
|
+
} | null;
|
|
13974
14270
|
club?: {
|
|
13975
14271
|
_id: string;
|
|
13976
14272
|
name: string;
|
|
@@ -13983,12 +14279,21 @@ export type LeaveClubMutationVariables = Exact<{
|
|
|
13983
14279
|
export type LeaveClubMutation = {
|
|
13984
14280
|
leaveClub: {
|
|
13985
14281
|
_id: string;
|
|
13986
|
-
clubId: string;
|
|
13987
|
-
athleteId: string;
|
|
13988
14282
|
role: string;
|
|
13989
14283
|
status: string;
|
|
13990
14284
|
joinedAt?: string | null;
|
|
13991
14285
|
leftAt?: string | null;
|
|
14286
|
+
athlete?: {
|
|
14287
|
+
_id: string;
|
|
14288
|
+
firstName?: string | null;
|
|
14289
|
+
lastName?: string | null;
|
|
14290
|
+
screenName?: string | null;
|
|
14291
|
+
profilePicture?: {
|
|
14292
|
+
_id: string;
|
|
14293
|
+
url: string;
|
|
14294
|
+
key: string;
|
|
14295
|
+
} | null;
|
|
14296
|
+
} | null;
|
|
13992
14297
|
club?: {
|
|
13993
14298
|
_id: string;
|
|
13994
14299
|
name: string;
|
|
@@ -14002,12 +14307,21 @@ export type InviteToClubMutationVariables = Exact<{
|
|
|
14002
14307
|
export type InviteToClubMutation = {
|
|
14003
14308
|
inviteToClub: {
|
|
14004
14309
|
_id: string;
|
|
14005
|
-
clubId: string;
|
|
14006
|
-
athleteId: string;
|
|
14007
14310
|
role: string;
|
|
14008
14311
|
status: string;
|
|
14009
14312
|
joinedAt?: string | null;
|
|
14010
14313
|
leftAt?: string | null;
|
|
14314
|
+
athlete?: {
|
|
14315
|
+
_id: string;
|
|
14316
|
+
firstName?: string | null;
|
|
14317
|
+
lastName?: string | null;
|
|
14318
|
+
screenName?: string | null;
|
|
14319
|
+
profilePicture?: {
|
|
14320
|
+
_id: string;
|
|
14321
|
+
url: string;
|
|
14322
|
+
key: string;
|
|
14323
|
+
} | null;
|
|
14324
|
+
} | null;
|
|
14011
14325
|
club?: {
|
|
14012
14326
|
_id: string;
|
|
14013
14327
|
name: string;
|
|
@@ -14020,12 +14334,21 @@ export type ManageClubMemberMutationVariables = Exact<{
|
|
|
14020
14334
|
export type ManageClubMemberMutation = {
|
|
14021
14335
|
manageClubMember: {
|
|
14022
14336
|
_id: string;
|
|
14023
|
-
clubId: string;
|
|
14024
|
-
athleteId: string;
|
|
14025
14337
|
role: string;
|
|
14026
14338
|
status: string;
|
|
14027
14339
|
joinedAt?: string | null;
|
|
14028
14340
|
leftAt?: string | null;
|
|
14341
|
+
athlete?: {
|
|
14342
|
+
_id: string;
|
|
14343
|
+
firstName?: string | null;
|
|
14344
|
+
lastName?: string | null;
|
|
14345
|
+
screenName?: string | null;
|
|
14346
|
+
profilePicture?: {
|
|
14347
|
+
_id: string;
|
|
14348
|
+
url: string;
|
|
14349
|
+
key: string;
|
|
14350
|
+
} | null;
|
|
14351
|
+
} | null;
|
|
14029
14352
|
club?: {
|
|
14030
14353
|
_id: string;
|
|
14031
14354
|
name: string;
|
|
@@ -14783,6 +15106,7 @@ export declare const CreateStateDocument: import("graphql").DocumentNode;
|
|
|
14783
15106
|
export declare const CreateCityDocument: import("graphql").DocumentNode;
|
|
14784
15107
|
export declare const FindTeamByIdDocument: import("graphql").DocumentNode;
|
|
14785
15108
|
export declare const FindTeamsDocument: import("graphql").DocumentNode;
|
|
15109
|
+
export declare const FindAllTeamsDocument: import("graphql").DocumentNode;
|
|
14786
15110
|
export declare const GetTeamRosterDocument: import("graphql").DocumentNode;
|
|
14787
15111
|
export declare const GetTeamAnalyticsDocument: import("graphql").DocumentNode;
|
|
14788
15112
|
export declare const GetTeamLeaderboardDocument: import("graphql").DocumentNode;
|
|
@@ -14798,6 +15122,7 @@ export declare const CreateTeamStripeAccountDocument: import("graphql").Document
|
|
|
14798
15122
|
export declare const CreateTeamDonationCheckoutDocument: import("graphql").DocumentNode;
|
|
14799
15123
|
export declare const FindClubByIdDocument: import("graphql").DocumentNode;
|
|
14800
15124
|
export declare const FindClubsDocument: import("graphql").DocumentNode;
|
|
15125
|
+
export declare const FindAllClubsDocument: import("graphql").DocumentNode;
|
|
14801
15126
|
export declare const GetClubMembersDocument: import("graphql").DocumentNode;
|
|
14802
15127
|
export declare const GetClubStripeAccountStatusDocument: import("graphql").DocumentNode;
|
|
14803
15128
|
export declare const CreateClubDocument: import("graphql").DocumentNode;
|
|
@@ -15044,6 +15369,7 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
15044
15369
|
CreateCity(variables: CreateCityMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateCityMutation>;
|
|
15045
15370
|
FindTeamById(variables: FindTeamByIdQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindTeamByIdQuery>;
|
|
15046
15371
|
FindTeams(variables?: FindTeamsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindTeamsQuery>;
|
|
15372
|
+
FindAllTeams(variables?: FindAllTeamsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindAllTeamsQuery>;
|
|
15047
15373
|
GetTeamRoster(variables: GetTeamRosterQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetTeamRosterQuery>;
|
|
15048
15374
|
GetTeamAnalytics(variables: GetTeamAnalyticsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetTeamAnalyticsQuery>;
|
|
15049
15375
|
GetTeamLeaderboard(variables: GetTeamLeaderboardQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetTeamLeaderboardQuery>;
|
|
@@ -15059,6 +15385,7 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
15059
15385
|
CreateTeamDonationCheckout(variables: CreateTeamDonationCheckoutMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateTeamDonationCheckoutMutation>;
|
|
15060
15386
|
FindClubById(variables: FindClubByIdQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindClubByIdQuery>;
|
|
15061
15387
|
FindClubs(variables?: FindClubsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindClubsQuery>;
|
|
15388
|
+
FindAllClubs(variables?: FindAllClubsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindAllClubsQuery>;
|
|
15062
15389
|
GetClubMembers(variables: GetClubMembersQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetClubMembersQuery>;
|
|
15063
15390
|
GetClubStripeAccountStatus(variables: GetClubStripeAccountStatusQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetClubStripeAccountStatusQuery>;
|
|
15064
15391
|
CreateClub(variables: CreateClubMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateClubMutation>;
|