@vertikalx/vtx-backend-client 3.0.0-dev-max3.1 → 3.0.0-dev-max3.2

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.
@@ -335,14 +335,20 @@ export type Athlete = {
335
335
  };
336
336
  export type AthleteClub = {
337
337
  _id: Scalars['String']['output'];
338
- athleteId: Scalars['String']['output'];
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
- athleteId: Scalars['String']['output'];
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
- sportId: Scalars['String']['output'];
497
+ sport?: Maybe<Sport>;
492
498
  status: Scalars['String']['output'];
493
- teamId: Scalars['String']['output'];
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']>;
@@ -3820,8 +3833,9 @@ export type SubscriptionPayment = {
3820
3833
  export type Team = {
3821
3834
  _id: Scalars['String']['output'];
3822
3835
  approved?: Maybe<Scalars['Boolean']['output']>;
3836
+ athletes?: Maybe<Array<AthleteTeam>>;
3823
3837
  banner?: Maybe<Awss3File>;
3824
- clubId?: Maybe<Scalars['String']['output']>;
3838
+ club?: Maybe<TeamClubReference>;
3825
3839
  description?: Maybe<Scalars['String']['output']>;
3826
3840
  joinPolicy?: Maybe<Scalars['String']['output']>;
3827
3841
  logo?: Maybe<Awss3File>;
@@ -3841,6 +3855,11 @@ export type TeamAnalytics = {
3841
3855
  vtxScore?: Maybe<Scalars['Float']['output']>;
3842
3856
  vtxScoreHistory?: Maybe<Array<TeamVtxScoreHistoryEntry>>;
3843
3857
  };
3858
+ export type TeamClubReference = {
3859
+ _id: Scalars['String']['output'];
3860
+ logo?: Maybe<Awss3File>;
3861
+ name: Scalars['String']['output'];
3862
+ };
3844
3863
  export type TeamDashboard = {
3845
3864
  analytics: TeamAnalytics;
3846
3865
  leaderboard: Array<TeamLeaderboardEntry>;
@@ -12999,7 +13018,6 @@ export type TeamFieldsFragment = {
12999
13018
  name: string;
13000
13019
  description?: string | null;
13001
13020
  approved?: boolean | null;
13002
- clubId?: string | null;
13003
13021
  joinPolicy?: string | null;
13004
13022
  maxRosterSize?: number | null;
13005
13023
  visibility?: string | null;
@@ -13019,6 +13037,33 @@ export type TeamFieldsFragment = {
13019
13037
  url: string;
13020
13038
  key: string;
13021
13039
  } | null;
13040
+ club?: {
13041
+ _id: string;
13042
+ name: string;
13043
+ logo?: {
13044
+ _id: string;
13045
+ url: string;
13046
+ key: string;
13047
+ } | null;
13048
+ } | null;
13049
+ athletes?: Array<{
13050
+ _id: string;
13051
+ role: string;
13052
+ status: string;
13053
+ joinedAt?: string | null;
13054
+ leftAt?: string | null;
13055
+ athlete?: {
13056
+ _id: string;
13057
+ firstName?: string | null;
13058
+ lastName?: string | null;
13059
+ screenName?: string | null;
13060
+ vtxScore?: number | null;
13061
+ } | null;
13062
+ sport?: {
13063
+ _id: string;
13064
+ name: string;
13065
+ } | null;
13066
+ }> | null;
13022
13067
  };
13023
13068
  export type ClubFieldsFragment = {
13024
13069
  _id: string;
@@ -13048,13 +13093,6 @@ export type ClubFieldsFragment = {
13048
13093
  teams?: Array<{
13049
13094
  _id: string;
13050
13095
  name: string;
13051
- description?: string | null;
13052
- approved?: boolean | null;
13053
- clubId?: string | null;
13054
- joinPolicy?: string | null;
13055
- maxRosterSize?: number | null;
13056
- visibility?: string | null;
13057
- stripeAccountId?: string | null;
13058
13096
  vtxScore?: number | null;
13059
13097
  sports?: Array<{
13060
13098
  _id: string;
@@ -13065,31 +13103,48 @@ export type ClubFieldsFragment = {
13065
13103
  url: string;
13066
13104
  key: string;
13067
13105
  } | null;
13068
- banner?: {
13069
- _id: string;
13070
- url: string;
13071
- key: string;
13072
- } | null;
13073
13106
  }> | null;
13074
13107
  };
13075
13108
  export type AthleteTeamFieldsFragment = {
13076
13109
  _id: string;
13077
- teamId: string;
13078
- athleteId: string;
13079
- sportId: string;
13080
13110
  role: string;
13081
13111
  status: string;
13082
13112
  joinedAt?: string | null;
13083
13113
  leftAt?: string | null;
13114
+ athlete?: {
13115
+ _id: string;
13116
+ firstName?: string | null;
13117
+ lastName?: string | null;
13118
+ screenName?: string | null;
13119
+ vtxScore?: number | null;
13120
+ profilePicture?: {
13121
+ _id: string;
13122
+ url: string;
13123
+ key: string;
13124
+ } | null;
13125
+ } | null;
13126
+ sport?: {
13127
+ _id: string;
13128
+ name: string;
13129
+ } | null;
13084
13130
  };
13085
13131
  export type AthleteClubFieldsFragment = {
13086
13132
  _id: string;
13087
- clubId: string;
13088
- athleteId: string;
13089
13133
  role: string;
13090
13134
  status: string;
13091
13135
  joinedAt?: string | null;
13092
13136
  leftAt?: string | null;
13137
+ athlete?: {
13138
+ _id: string;
13139
+ firstName?: string | null;
13140
+ lastName?: string | null;
13141
+ screenName?: string | null;
13142
+ profilePicture?: {
13143
+ _id: string;
13144
+ url: string;
13145
+ key: string;
13146
+ } | null;
13147
+ } | null;
13093
13148
  club?: {
13094
13149
  _id: string;
13095
13150
  name: string;
@@ -13137,7 +13192,6 @@ export type FindTeamByIdQuery = {
13137
13192
  name: string;
13138
13193
  description?: string | null;
13139
13194
  approved?: boolean | null;
13140
- clubId?: string | null;
13141
13195
  joinPolicy?: string | null;
13142
13196
  maxRosterSize?: number | null;
13143
13197
  visibility?: string | null;
@@ -13157,6 +13211,33 @@ export type FindTeamByIdQuery = {
13157
13211
  url: string;
13158
13212
  key: string;
13159
13213
  } | null;
13214
+ club?: {
13215
+ _id: string;
13216
+ name: string;
13217
+ logo?: {
13218
+ _id: string;
13219
+ url: string;
13220
+ key: string;
13221
+ } | null;
13222
+ } | null;
13223
+ athletes?: Array<{
13224
+ _id: string;
13225
+ role: string;
13226
+ status: string;
13227
+ joinedAt?: string | null;
13228
+ leftAt?: string | null;
13229
+ athlete?: {
13230
+ _id: string;
13231
+ firstName?: string | null;
13232
+ lastName?: string | null;
13233
+ screenName?: string | null;
13234
+ vtxScore?: number | null;
13235
+ } | null;
13236
+ sport?: {
13237
+ _id: string;
13238
+ name: string;
13239
+ } | null;
13240
+ }> | null;
13160
13241
  };
13161
13242
  };
13162
13243
  export type FindTeamsQueryVariables = Exact<{
@@ -13169,7 +13250,6 @@ export type FindTeamsQuery = {
13169
13250
  name: string;
13170
13251
  description?: string | null;
13171
13252
  approved?: boolean | null;
13172
- clubId?: string | null;
13173
13253
  joinPolicy?: string | null;
13174
13254
  maxRosterSize?: number | null;
13175
13255
  visibility?: string | null;
@@ -13189,6 +13269,90 @@ export type FindTeamsQuery = {
13189
13269
  url: string;
13190
13270
  key: string;
13191
13271
  } | null;
13272
+ club?: {
13273
+ _id: string;
13274
+ name: string;
13275
+ logo?: {
13276
+ _id: string;
13277
+ url: string;
13278
+ key: string;
13279
+ } | null;
13280
+ } | null;
13281
+ athletes?: Array<{
13282
+ _id: string;
13283
+ role: string;
13284
+ status: string;
13285
+ joinedAt?: string | null;
13286
+ leftAt?: string | null;
13287
+ athlete?: {
13288
+ _id: string;
13289
+ firstName?: string | null;
13290
+ lastName?: string | null;
13291
+ screenName?: string | null;
13292
+ vtxScore?: number | null;
13293
+ } | null;
13294
+ sport?: {
13295
+ _id: string;
13296
+ name: string;
13297
+ } | null;
13298
+ }> | null;
13299
+ }>;
13300
+ };
13301
+ export type FindAllTeamsQueryVariables = Exact<{
13302
+ [key: string]: never;
13303
+ }>;
13304
+ export type FindAllTeamsQuery = {
13305
+ findAllTeams: Array<{
13306
+ _id: string;
13307
+ name: string;
13308
+ description?: string | null;
13309
+ approved?: boolean | null;
13310
+ joinPolicy?: string | null;
13311
+ maxRosterSize?: number | null;
13312
+ visibility?: string | null;
13313
+ stripeAccountId?: string | null;
13314
+ vtxScore?: number | null;
13315
+ sports?: Array<{
13316
+ _id: string;
13317
+ name: string;
13318
+ }> | null;
13319
+ logo?: {
13320
+ _id: string;
13321
+ url: string;
13322
+ key: string;
13323
+ } | null;
13324
+ banner?: {
13325
+ _id: string;
13326
+ url: string;
13327
+ key: string;
13328
+ } | null;
13329
+ club?: {
13330
+ _id: string;
13331
+ name: string;
13332
+ logo?: {
13333
+ _id: string;
13334
+ url: string;
13335
+ key: string;
13336
+ } | null;
13337
+ } | null;
13338
+ athletes?: Array<{
13339
+ _id: string;
13340
+ role: string;
13341
+ status: string;
13342
+ joinedAt?: string | null;
13343
+ leftAt?: string | null;
13344
+ athlete?: {
13345
+ _id: string;
13346
+ firstName?: string | null;
13347
+ lastName?: string | null;
13348
+ screenName?: string | null;
13349
+ vtxScore?: number | null;
13350
+ } | null;
13351
+ sport?: {
13352
+ _id: string;
13353
+ name: string;
13354
+ } | null;
13355
+ }> | null;
13192
13356
  }>;
13193
13357
  };
13194
13358
  export type GetTeamRosterQueryVariables = Exact<{
@@ -13197,13 +13361,26 @@ export type GetTeamRosterQueryVariables = Exact<{
13197
13361
  export type GetTeamRosterQuery = {
13198
13362
  getTeamRoster: Array<{
13199
13363
  _id: string;
13200
- teamId: string;
13201
- athleteId: string;
13202
- sportId: string;
13203
13364
  role: string;
13204
13365
  status: string;
13205
13366
  joinedAt?: string | null;
13206
13367
  leftAt?: string | null;
13368
+ athlete?: {
13369
+ _id: string;
13370
+ firstName?: string | null;
13371
+ lastName?: string | null;
13372
+ screenName?: string | null;
13373
+ vtxScore?: number | null;
13374
+ profilePicture?: {
13375
+ _id: string;
13376
+ url: string;
13377
+ key: string;
13378
+ } | null;
13379
+ } | null;
13380
+ sport?: {
13381
+ _id: string;
13382
+ name: string;
13383
+ } | null;
13207
13384
  }>;
13208
13385
  };
13209
13386
  export type GetTeamAnalyticsQueryVariables = Exact<{
@@ -13314,7 +13491,6 @@ export type CreateTeamMutation = {
13314
13491
  name: string;
13315
13492
  description?: string | null;
13316
13493
  approved?: boolean | null;
13317
- clubId?: string | null;
13318
13494
  joinPolicy?: string | null;
13319
13495
  maxRosterSize?: number | null;
13320
13496
  visibility?: string | null;
@@ -13334,6 +13510,33 @@ export type CreateTeamMutation = {
13334
13510
  url: string;
13335
13511
  key: string;
13336
13512
  } | null;
13513
+ club?: {
13514
+ _id: string;
13515
+ name: string;
13516
+ logo?: {
13517
+ _id: string;
13518
+ url: string;
13519
+ key: string;
13520
+ } | null;
13521
+ } | null;
13522
+ athletes?: Array<{
13523
+ _id: string;
13524
+ role: string;
13525
+ status: string;
13526
+ joinedAt?: string | null;
13527
+ leftAt?: string | null;
13528
+ athlete?: {
13529
+ _id: string;
13530
+ firstName?: string | null;
13531
+ lastName?: string | null;
13532
+ screenName?: string | null;
13533
+ vtxScore?: number | null;
13534
+ } | null;
13535
+ sport?: {
13536
+ _id: string;
13537
+ name: string;
13538
+ } | null;
13539
+ }> | null;
13337
13540
  };
13338
13541
  };
13339
13542
  export type UpdateTeamMutationVariables = Exact<{
@@ -13345,7 +13548,6 @@ export type UpdateTeamMutation = {
13345
13548
  name: string;
13346
13549
  description?: string | null;
13347
13550
  approved?: boolean | null;
13348
- clubId?: string | null;
13349
13551
  joinPolicy?: string | null;
13350
13552
  maxRosterSize?: number | null;
13351
13553
  visibility?: string | null;
@@ -13365,6 +13567,33 @@ export type UpdateTeamMutation = {
13365
13567
  url: string;
13366
13568
  key: string;
13367
13569
  } | null;
13570
+ club?: {
13571
+ _id: string;
13572
+ name: string;
13573
+ logo?: {
13574
+ _id: string;
13575
+ url: string;
13576
+ key: string;
13577
+ } | null;
13578
+ } | null;
13579
+ athletes?: Array<{
13580
+ _id: string;
13581
+ role: string;
13582
+ status: string;
13583
+ joinedAt?: string | null;
13584
+ leftAt?: string | null;
13585
+ athlete?: {
13586
+ _id: string;
13587
+ firstName?: string | null;
13588
+ lastName?: string | null;
13589
+ screenName?: string | null;
13590
+ vtxScore?: number | null;
13591
+ } | null;
13592
+ sport?: {
13593
+ _id: string;
13594
+ name: string;
13595
+ } | null;
13596
+ }> | null;
13368
13597
  };
13369
13598
  };
13370
13599
  export type JoinTeamMutationVariables = Exact<{
@@ -13373,13 +13602,26 @@ export type JoinTeamMutationVariables = Exact<{
13373
13602
  export type JoinTeamMutation = {
13374
13603
  joinTeam: {
13375
13604
  _id: string;
13376
- teamId: string;
13377
- athleteId: string;
13378
- sportId: string;
13379
13605
  role: string;
13380
13606
  status: string;
13381
13607
  joinedAt?: string | null;
13382
13608
  leftAt?: string | null;
13609
+ athlete?: {
13610
+ _id: string;
13611
+ firstName?: string | null;
13612
+ lastName?: string | null;
13613
+ screenName?: string | null;
13614
+ vtxScore?: number | null;
13615
+ profilePicture?: {
13616
+ _id: string;
13617
+ url: string;
13618
+ key: string;
13619
+ } | null;
13620
+ } | null;
13621
+ sport?: {
13622
+ _id: string;
13623
+ name: string;
13624
+ } | null;
13383
13625
  };
13384
13626
  };
13385
13627
  export type LeaveTeamMutationVariables = Exact<{
@@ -13388,13 +13630,26 @@ export type LeaveTeamMutationVariables = Exact<{
13388
13630
  export type LeaveTeamMutation = {
13389
13631
  leaveTeam: {
13390
13632
  _id: string;
13391
- teamId: string;
13392
- athleteId: string;
13393
- sportId: string;
13394
13633
  role: string;
13395
13634
  status: string;
13396
13635
  joinedAt?: string | null;
13397
13636
  leftAt?: string | null;
13637
+ athlete?: {
13638
+ _id: string;
13639
+ firstName?: string | null;
13640
+ lastName?: string | null;
13641
+ screenName?: string | null;
13642
+ vtxScore?: number | null;
13643
+ profilePicture?: {
13644
+ _id: string;
13645
+ url: string;
13646
+ key: string;
13647
+ } | null;
13648
+ } | null;
13649
+ sport?: {
13650
+ _id: string;
13651
+ name: string;
13652
+ } | null;
13398
13653
  };
13399
13654
  };
13400
13655
  export type InviteToTeamMutationVariables = Exact<{
@@ -13405,13 +13660,26 @@ export type InviteToTeamMutationVariables = Exact<{
13405
13660
  export type InviteToTeamMutation = {
13406
13661
  inviteToTeam: {
13407
13662
  _id: string;
13408
- teamId: string;
13409
- athleteId: string;
13410
- sportId: string;
13411
13663
  role: string;
13412
13664
  status: string;
13413
13665
  joinedAt?: string | null;
13414
13666
  leftAt?: string | null;
13667
+ athlete?: {
13668
+ _id: string;
13669
+ firstName?: string | null;
13670
+ lastName?: string | null;
13671
+ screenName?: string | null;
13672
+ vtxScore?: number | null;
13673
+ profilePicture?: {
13674
+ _id: string;
13675
+ url: string;
13676
+ key: string;
13677
+ } | null;
13678
+ } | null;
13679
+ sport?: {
13680
+ _id: string;
13681
+ name: string;
13682
+ } | null;
13415
13683
  };
13416
13684
  };
13417
13685
  export type ManageTeamMemberMutationVariables = Exact<{
@@ -13420,13 +13688,26 @@ export type ManageTeamMemberMutationVariables = Exact<{
13420
13688
  export type ManageTeamMemberMutation = {
13421
13689
  manageTeamMember: {
13422
13690
  _id: string;
13423
- teamId: string;
13424
- athleteId: string;
13425
- sportId: string;
13426
13691
  role: string;
13427
13692
  status: string;
13428
13693
  joinedAt?: string | null;
13429
13694
  leftAt?: string | null;
13695
+ athlete?: {
13696
+ _id: string;
13697
+ firstName?: string | null;
13698
+ lastName?: string | null;
13699
+ screenName?: string | null;
13700
+ vtxScore?: number | null;
13701
+ profilePicture?: {
13702
+ _id: string;
13703
+ url: string;
13704
+ key: string;
13705
+ } | null;
13706
+ } | null;
13707
+ sport?: {
13708
+ _id: string;
13709
+ name: string;
13710
+ } | null;
13430
13711
  };
13431
13712
  };
13432
13713
  export type CreateTeamStripeAccountMutationVariables = Exact<{
@@ -13477,13 +13758,6 @@ export type FindClubByIdQuery = {
13477
13758
  teams?: Array<{
13478
13759
  _id: string;
13479
13760
  name: string;
13480
- description?: string | null;
13481
- approved?: boolean | null;
13482
- clubId?: string | null;
13483
- joinPolicy?: string | null;
13484
- maxRosterSize?: number | null;
13485
- visibility?: string | null;
13486
- stripeAccountId?: string | null;
13487
13761
  vtxScore?: number | null;
13488
13762
  sports?: Array<{
13489
13763
  _id: string;
@@ -13494,11 +13768,6 @@ export type FindClubByIdQuery = {
13494
13768
  url: string;
13495
13769
  key: string;
13496
13770
  } | null;
13497
- banner?: {
13498
- _id: string;
13499
- url: string;
13500
- key: string;
13501
- } | null;
13502
13771
  }> | null;
13503
13772
  };
13504
13773
  };
@@ -13534,13 +13803,6 @@ export type FindClubsQuery = {
13534
13803
  teams?: Array<{
13535
13804
  _id: string;
13536
13805
  name: string;
13537
- description?: string | null;
13538
- approved?: boolean | null;
13539
- clubId?: string | null;
13540
- joinPolicy?: string | null;
13541
- maxRosterSize?: number | null;
13542
- visibility?: string | null;
13543
- stripeAccountId?: string | null;
13544
13806
  vtxScore?: number | null;
13545
13807
  sports?: Array<{
13546
13808
  _id: string;
@@ -13551,7 +13813,47 @@ export type FindClubsQuery = {
13551
13813
  url: string;
13552
13814
  key: string;
13553
13815
  } | null;
13554
- banner?: {
13816
+ }> | null;
13817
+ }>;
13818
+ };
13819
+ export type FindAllClubsQueryVariables = Exact<{
13820
+ [key: string]: never;
13821
+ }>;
13822
+ export type FindAllClubsQuery = {
13823
+ findAllClubs: Array<{
13824
+ _id: string;
13825
+ name: string;
13826
+ description?: string | null;
13827
+ location?: string | null;
13828
+ website?: string | null;
13829
+ membershipType: string;
13830
+ feeStructure?: any | null;
13831
+ approved?: boolean | null;
13832
+ visibility: string;
13833
+ stripeAccountId?: string | null;
13834
+ sports?: Array<{
13835
+ _id: string;
13836
+ name: string;
13837
+ }> | null;
13838
+ logo?: {
13839
+ _id: string;
13840
+ url: string;
13841
+ key: string;
13842
+ } | null;
13843
+ banner?: {
13844
+ _id: string;
13845
+ url: string;
13846
+ key: string;
13847
+ } | null;
13848
+ teams?: Array<{
13849
+ _id: string;
13850
+ name: string;
13851
+ vtxScore?: number | null;
13852
+ sports?: Array<{
13853
+ _id: string;
13854
+ name: string;
13855
+ }> | null;
13856
+ logo?: {
13555
13857
  _id: string;
13556
13858
  url: string;
13557
13859
  key: string;
@@ -13565,12 +13867,21 @@ export type GetClubMembersQueryVariables = Exact<{
13565
13867
  export type GetClubMembersQuery = {
13566
13868
  getClubMembers: Array<{
13567
13869
  _id: string;
13568
- clubId: string;
13569
- athleteId: string;
13570
13870
  role: string;
13571
13871
  status: string;
13572
13872
  joinedAt?: string | null;
13573
13873
  leftAt?: string | null;
13874
+ athlete?: {
13875
+ _id: string;
13876
+ firstName?: string | null;
13877
+ lastName?: string | null;
13878
+ screenName?: string | null;
13879
+ profilePicture?: {
13880
+ _id: string;
13881
+ url: string;
13882
+ key: string;
13883
+ } | null;
13884
+ } | null;
13574
13885
  club?: {
13575
13886
  _id: string;
13576
13887
  name: string;
@@ -13619,13 +13930,6 @@ export type CreateClubMutation = {
13619
13930
  teams?: Array<{
13620
13931
  _id: string;
13621
13932
  name: string;
13622
- description?: string | null;
13623
- approved?: boolean | null;
13624
- clubId?: string | null;
13625
- joinPolicy?: string | null;
13626
- maxRosterSize?: number | null;
13627
- visibility?: string | null;
13628
- stripeAccountId?: string | null;
13629
13933
  vtxScore?: number | null;
13630
13934
  sports?: Array<{
13631
13935
  _id: string;
@@ -13636,11 +13940,6 @@ export type CreateClubMutation = {
13636
13940
  url: string;
13637
13941
  key: string;
13638
13942
  } | null;
13639
- banner?: {
13640
- _id: string;
13641
- url: string;
13642
- key: string;
13643
- } | null;
13644
13943
  }> | null;
13645
13944
  };
13646
13945
  };
@@ -13676,13 +13975,6 @@ export type UpdateClubMutation = {
13676
13975
  teams?: Array<{
13677
13976
  _id: string;
13678
13977
  name: string;
13679
- description?: string | null;
13680
- approved?: boolean | null;
13681
- clubId?: string | null;
13682
- joinPolicy?: string | null;
13683
- maxRosterSize?: number | null;
13684
- visibility?: string | null;
13685
- stripeAccountId?: string | null;
13686
13978
  vtxScore?: number | null;
13687
13979
  sports?: Array<{
13688
13980
  _id: string;
@@ -13693,11 +13985,6 @@ export type UpdateClubMutation = {
13693
13985
  url: string;
13694
13986
  key: string;
13695
13987
  } | null;
13696
- banner?: {
13697
- _id: string;
13698
- url: string;
13699
- key: string;
13700
- } | null;
13701
13988
  }> | null;
13702
13989
  };
13703
13990
  };
@@ -13707,12 +13994,21 @@ export type JoinClubMutationVariables = Exact<{
13707
13994
  export type JoinClubMutation = {
13708
13995
  joinClub: {
13709
13996
  _id: string;
13710
- clubId: string;
13711
- athleteId: string;
13712
13997
  role: string;
13713
13998
  status: string;
13714
13999
  joinedAt?: string | null;
13715
14000
  leftAt?: string | null;
14001
+ athlete?: {
14002
+ _id: string;
14003
+ firstName?: string | null;
14004
+ lastName?: string | null;
14005
+ screenName?: string | null;
14006
+ profilePicture?: {
14007
+ _id: string;
14008
+ url: string;
14009
+ key: string;
14010
+ } | null;
14011
+ } | null;
13716
14012
  club?: {
13717
14013
  _id: string;
13718
14014
  name: string;
@@ -13725,12 +14021,21 @@ export type LeaveClubMutationVariables = Exact<{
13725
14021
  export type LeaveClubMutation = {
13726
14022
  leaveClub: {
13727
14023
  _id: string;
13728
- clubId: string;
13729
- athleteId: string;
13730
14024
  role: string;
13731
14025
  status: string;
13732
14026
  joinedAt?: string | null;
13733
14027
  leftAt?: string | null;
14028
+ athlete?: {
14029
+ _id: string;
14030
+ firstName?: string | null;
14031
+ lastName?: string | null;
14032
+ screenName?: string | null;
14033
+ profilePicture?: {
14034
+ _id: string;
14035
+ url: string;
14036
+ key: string;
14037
+ } | null;
14038
+ } | null;
13734
14039
  club?: {
13735
14040
  _id: string;
13736
14041
  name: string;
@@ -13744,12 +14049,21 @@ export type InviteToClubMutationVariables = Exact<{
13744
14049
  export type InviteToClubMutation = {
13745
14050
  inviteToClub: {
13746
14051
  _id: string;
13747
- clubId: string;
13748
- athleteId: string;
13749
14052
  role: string;
13750
14053
  status: string;
13751
14054
  joinedAt?: string | null;
13752
14055
  leftAt?: string | null;
14056
+ athlete?: {
14057
+ _id: string;
14058
+ firstName?: string | null;
14059
+ lastName?: string | null;
14060
+ screenName?: string | null;
14061
+ profilePicture?: {
14062
+ _id: string;
14063
+ url: string;
14064
+ key: string;
14065
+ } | null;
14066
+ } | null;
13753
14067
  club?: {
13754
14068
  _id: string;
13755
14069
  name: string;
@@ -13762,12 +14076,21 @@ export type ManageClubMemberMutationVariables = Exact<{
13762
14076
  export type ManageClubMemberMutation = {
13763
14077
  manageClubMember: {
13764
14078
  _id: string;
13765
- clubId: string;
13766
- athleteId: string;
13767
14079
  role: string;
13768
14080
  status: string;
13769
14081
  joinedAt?: string | null;
13770
14082
  leftAt?: string | null;
14083
+ athlete?: {
14084
+ _id: string;
14085
+ firstName?: string | null;
14086
+ lastName?: string | null;
14087
+ screenName?: string | null;
14088
+ profilePicture?: {
14089
+ _id: string;
14090
+ url: string;
14091
+ key: string;
14092
+ } | null;
14093
+ } | null;
13771
14094
  club?: {
13772
14095
  _id: string;
13773
14096
  name: string;
@@ -14520,6 +14843,7 @@ export declare const CreateStateDocument: import("graphql").DocumentNode;
14520
14843
  export declare const CreateCityDocument: import("graphql").DocumentNode;
14521
14844
  export declare const FindTeamByIdDocument: import("graphql").DocumentNode;
14522
14845
  export declare const FindTeamsDocument: import("graphql").DocumentNode;
14846
+ export declare const FindAllTeamsDocument: import("graphql").DocumentNode;
14523
14847
  export declare const GetTeamRosterDocument: import("graphql").DocumentNode;
14524
14848
  export declare const GetTeamAnalyticsDocument: import("graphql").DocumentNode;
14525
14849
  export declare const GetTeamLeaderboardDocument: import("graphql").DocumentNode;
@@ -14535,6 +14859,7 @@ export declare const CreateTeamStripeAccountDocument: import("graphql").Document
14535
14859
  export declare const CreateTeamDonationCheckoutDocument: import("graphql").DocumentNode;
14536
14860
  export declare const FindClubByIdDocument: import("graphql").DocumentNode;
14537
14861
  export declare const FindClubsDocument: import("graphql").DocumentNode;
14862
+ export declare const FindAllClubsDocument: import("graphql").DocumentNode;
14538
14863
  export declare const GetClubMembersDocument: import("graphql").DocumentNode;
14539
14864
  export declare const GetClubStripeAccountStatusDocument: import("graphql").DocumentNode;
14540
14865
  export declare const CreateClubDocument: import("graphql").DocumentNode;
@@ -14777,6 +15102,7 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
14777
15102
  CreateCity(variables: CreateCityMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateCityMutation>;
14778
15103
  FindTeamById(variables: FindTeamByIdQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindTeamByIdQuery>;
14779
15104
  FindTeams(variables?: FindTeamsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindTeamsQuery>;
15105
+ FindAllTeams(variables?: FindAllTeamsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindAllTeamsQuery>;
14780
15106
  GetTeamRoster(variables: GetTeamRosterQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetTeamRosterQuery>;
14781
15107
  GetTeamAnalytics(variables: GetTeamAnalyticsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetTeamAnalyticsQuery>;
14782
15108
  GetTeamLeaderboard(variables: GetTeamLeaderboardQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetTeamLeaderboardQuery>;
@@ -14792,6 +15118,7 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
14792
15118
  CreateTeamDonationCheckout(variables: CreateTeamDonationCheckoutMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateTeamDonationCheckoutMutation>;
14793
15119
  FindClubById(variables: FindClubByIdQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindClubByIdQuery>;
14794
15120
  FindClubs(variables?: FindClubsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindClubsQuery>;
15121
+ FindAllClubs(variables?: FindAllClubsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindAllClubsQuery>;
14795
15122
  GetClubMembers(variables: GetClubMembersQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetClubMembersQuery>;
14796
15123
  GetClubStripeAccountStatus(variables: GetClubStripeAccountStatusQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetClubStripeAccountStatusQuery>;
14797
15124
  CreateClub(variables: CreateClubMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateClubMutation>;