@taimos/radball-digital-api 0.0.40 → 0.0.41

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.
Files changed (48) hide show
  1. package/docs/assets/navigation.js +1 -1
  2. package/docs/assets/search.js +1 -1
  3. package/docs/enums/RegistrationPermission.html +4 -0
  4. package/docs/modules.html +1 -1
  5. package/docs/types/Association.html +3 -2
  6. package/docs/types/Competition.html +18 -0
  7. package/docs/types/CompetitionGroup.html +11 -0
  8. package/docs/types/CompetitionGroupStatistics.html +6 -0
  9. package/docs/types/CompetitionGroupView.html +7 -0
  10. package/docs/types/CompetitionRegistrationError.html +6 -0
  11. package/docs/types/CompetitionRegistrationResult.html +5 -0
  12. package/docs/types/CompetitionTeam.html +12 -0
  13. package/docs/types/ModifyCompetitionGroupInput.html +7 -0
  14. package/docs/types/ModifyCompetitionInput.html +15 -0
  15. package/docs/types/ModifyCompetitionTeamInput.html +9 -0
  16. package/docs/types/Mutation.html +13 -2
  17. package/docs/types/MutationAddCompetitionArgs.html +2 -0
  18. package/docs/types/MutationAddCompetitionGroupArgs.html +2 -0
  19. package/docs/types/MutationAddCompetitionTeamArgs.html +2 -0
  20. package/docs/types/MutationModifyCompetitionArgs.html +2 -0
  21. package/docs/types/MutationModifyCompetitionGroupArgs.html +2 -0
  22. package/docs/types/MutationModifyCompetitionTeamArgs.html +2 -0
  23. package/docs/types/MutationRegisterCompetitionTeamsArgs.html +2 -0
  24. package/docs/types/MutationRemoveCompetitionArgs.html +2 -0
  25. package/docs/types/MutationRemoveCompetitionGroupArgs.html +2 -0
  26. package/docs/types/MutationRemoveCompetitionTeamArgs.html +2 -0
  27. package/docs/types/MutationUpdateCompetitionTeamGroupArgs.html +3 -0
  28. package/docs/types/Query.html +11 -2
  29. package/docs/types/QueryCanClubRegisterForCompetitionArgs.html +3 -0
  30. package/docs/types/QueryGetCompetitionByIdArgs.html +2 -0
  31. package/docs/types/QueryGetCompetitionGroupByIdArgs.html +2 -0
  32. package/docs/types/QueryGetCompetitionGroupViewArgs.html +2 -0
  33. package/docs/types/QueryGetCompetitionTeamByIdArgs.html +2 -0
  34. package/docs/types/QueryGetListOfCompetitionsArgs.html +2 -0
  35. package/docs/types/QueryGetListOfGroupsInCompetitionArgs.html +2 -0
  36. package/docs/types/QueryGetListOfTeamsInCompetitionArgs.html +2 -0
  37. package/docs/types/QueryGetListOfTeamsInCompetitionGroupArgs.html +2 -0
  38. package/docs/types/RegisterCompetitionTeamInput.html +9 -0
  39. package/docs/types/RegisterCompetitionTeamsInput.html +5 -0
  40. package/docs/types/RegistrationEligibility.html +6 -0
  41. package/docs/types/SaveCompetitionGroupInput.html +7 -0
  42. package/docs/types/SaveCompetitionInput.html +15 -0
  43. package/docs/types/SaveCompetitionTeamInput.html +10 -0
  44. package/lib/generated/graphql.model.generated.d.ts +252 -0
  45. package/lib/generated/graphql.model.generated.js +8 -2
  46. package/llm.md +1055 -440
  47. package/package.json +1 -1
  48. package/schema.graphql +235 -0
@@ -107,6 +107,7 @@ export type AddressInput = {
107
107
  export type Association = {
108
108
  __typename?: 'Association';
109
109
  address: Address;
110
+ competitions?: Maybe<Array<Maybe<Competition>>>;
110
111
  contactEmail: Scalars['AWSEmail']['output'];
111
112
  contactName: Scalars['String']['output'];
112
113
  coordinators: Array<Maybe<Person>>;
@@ -151,6 +152,78 @@ export type ClubConnection = {
151
152
  items: Array<Maybe<Club>>;
152
153
  nextToken?: Maybe<Scalars['String']['output']>;
153
154
  };
155
+ export type Competition = {
156
+ __typename?: 'Competition';
157
+ allowedRegistrars?: Maybe<Array<Maybe<Scalars['ID']['output']>>>;
158
+ association: Association;
159
+ coordinators?: Maybe<Array<Maybe<Person>>>;
160
+ description?: Maybe<Scalars['String']['output']>;
161
+ endDate: Scalars['AWSDate']['output'];
162
+ groups?: Maybe<Array<Maybe<CompetitionGroup>>>;
163
+ id: Scalars['ID']['output'];
164
+ maxAge?: Maybe<Scalars['Int']['output']>;
165
+ minAge?: Maybe<Scalars['Int']['output']>;
166
+ name: Scalars['String']['output'];
167
+ registrationEnd: Scalars['AWSDate']['output'];
168
+ registrationPermission: RegistrationPermission;
169
+ registrationStart: Scalars['AWSDate']['output'];
170
+ regulationFileUrl?: Maybe<Scalars['AWSURL']['output']>;
171
+ shortName: Scalars['String']['output'];
172
+ startDate: Scalars['AWSDate']['output'];
173
+ };
174
+ export type CompetitionGroup = {
175
+ __typename?: 'CompetitionGroup';
176
+ association: Association;
177
+ competition: Competition;
178
+ id: Scalars['ID']['output'];
179
+ leader?: Maybe<Person>;
180
+ name: Scalars['String']['output'];
181
+ number: Scalars['Int']['output'];
182
+ regulation: Scalars['String']['output'];
183
+ shortName: Scalars['String']['output'];
184
+ teams?: Maybe<Array<Maybe<CompetitionTeam>>>;
185
+ };
186
+ export type CompetitionGroupStatistics = {
187
+ __typename?: 'CompetitionGroupStatistics';
188
+ totalClubs: Scalars['Int']['output'];
189
+ totalGyms: Scalars['Int']['output'];
190
+ totalPlayers: Scalars['Int']['output'];
191
+ totalTeams: Scalars['Int']['output'];
192
+ };
193
+ export type CompetitionGroupView = {
194
+ __typename?: 'CompetitionGroupView';
195
+ clubs: Array<Maybe<Club>>;
196
+ competitionGroup: CompetitionGroup;
197
+ gyms: Array<Maybe<Gym>>;
198
+ statistics?: Maybe<CompetitionGroupStatistics>;
199
+ teams: Array<Maybe<TeamDetail>>;
200
+ };
201
+ export type CompetitionRegistrationError = {
202
+ __typename?: 'CompetitionRegistrationError';
203
+ clubId?: Maybe<Scalars['ID']['output']>;
204
+ errorCode: Scalars['String']['output'];
205
+ message: Scalars['String']['output'];
206
+ teamName: Scalars['String']['output'];
207
+ };
208
+ export type CompetitionRegistrationResult = {
209
+ __typename?: 'CompetitionRegistrationResult';
210
+ errors: Array<Maybe<CompetitionRegistrationError>>;
211
+ registeredTeams: Array<Maybe<CompetitionTeam>>;
212
+ success: Scalars['Boolean']['output'];
213
+ };
214
+ export type CompetitionTeam = {
215
+ __typename?: 'CompetitionTeam';
216
+ club: Club;
217
+ competition: Competition;
218
+ competitionGroup?: Maybe<CompetitionGroup>;
219
+ exemptionRequest?: Maybe<Scalars['String']['output']>;
220
+ id: Scalars['ID']['output'];
221
+ name: Scalars['String']['output'];
222
+ players: Array<Maybe<Person>>;
223
+ secondRightToPlay?: Maybe<Scalars['Boolean']['output']>;
224
+ sgClub?: Maybe<Club>;
225
+ withoutCompetition?: Maybe<Scalars['Boolean']['output']>;
226
+ };
154
227
  export type Game = {
155
228
  __typename?: 'Game';
156
229
  bothLost?: Maybe<Scalars['Boolean']['output']>;
@@ -269,6 +342,40 @@ export type ModifyClubInput = {
269
342
  shortName?: InputMaybe<Scalars['String']['input']>;
270
343
  website?: InputMaybe<Scalars['AWSURL']['input']>;
271
344
  };
345
+ export type ModifyCompetitionGroupInput = {
346
+ id: Scalars['ID']['input'];
347
+ leaderId?: InputMaybe<Scalars['ID']['input']>;
348
+ name?: InputMaybe<Scalars['String']['input']>;
349
+ number?: InputMaybe<Scalars['Int']['input']>;
350
+ regulation?: InputMaybe<Scalars['String']['input']>;
351
+ shortName?: InputMaybe<Scalars['String']['input']>;
352
+ };
353
+ export type ModifyCompetitionInput = {
354
+ allowedRegistrars?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
355
+ coordinatorIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
356
+ description?: InputMaybe<Scalars['String']['input']>;
357
+ endDate?: InputMaybe<Scalars['AWSDate']['input']>;
358
+ id: Scalars['ID']['input'];
359
+ maxAge?: InputMaybe<Scalars['Int']['input']>;
360
+ minAge?: InputMaybe<Scalars['Int']['input']>;
361
+ name?: InputMaybe<Scalars['String']['input']>;
362
+ registrationEnd?: InputMaybe<Scalars['AWSDate']['input']>;
363
+ registrationPermission?: InputMaybe<RegistrationPermission>;
364
+ registrationStart?: InputMaybe<Scalars['AWSDate']['input']>;
365
+ regulationFileUrl?: InputMaybe<Scalars['AWSURL']['input']>;
366
+ shortName?: InputMaybe<Scalars['String']['input']>;
367
+ startDate?: InputMaybe<Scalars['AWSDate']['input']>;
368
+ };
369
+ export type ModifyCompetitionTeamInput = {
370
+ competitionGroupId?: InputMaybe<Scalars['ID']['input']>;
371
+ exemptionRequest?: InputMaybe<Scalars['String']['input']>;
372
+ id: Scalars['ID']['input'];
373
+ name?: InputMaybe<Scalars['String']['input']>;
374
+ playerIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
375
+ secondRightToPlay?: InputMaybe<Scalars['Boolean']['input']>;
376
+ sgClubId?: InputMaybe<Scalars['ID']['input']>;
377
+ withoutCompetition?: InputMaybe<Scalars['Boolean']['input']>;
378
+ };
272
379
  export type ModifyGameInput = {
273
380
  bothLost?: InputMaybe<Scalars['Boolean']['input']>;
274
381
  finalGoalsTeam1?: InputMaybe<Scalars['Int']['input']>;
@@ -366,6 +473,9 @@ export type Mutation = {
366
473
  __typename?: 'Mutation';
367
474
  addAssociation?: Maybe<Association>;
368
475
  addClub?: Maybe<Club>;
476
+ addCompetition?: Maybe<Competition>;
477
+ addCompetitionGroup?: Maybe<CompetitionGroup>;
478
+ addCompetitionTeam?: Maybe<CompetitionTeam>;
369
479
  addGameToMatchDay?: Maybe<Game>;
370
480
  addGym?: Maybe<Gym>;
371
481
  addLeague?: Maybe<League>;
@@ -381,6 +491,9 @@ export type Mutation = {
381
491
  importMatchdayFromRBT?: Maybe<MatchDay>;
382
492
  modifyAssociation?: Maybe<Association>;
383
493
  modifyClub?: Maybe<Club>;
494
+ modifyCompetition?: Maybe<Competition>;
495
+ modifyCompetitionGroup?: Maybe<CompetitionGroup>;
496
+ modifyCompetitionTeam?: Maybe<CompetitionTeam>;
384
497
  modifyGameInMatchDay?: Maybe<Game>;
385
498
  modifyGym?: Maybe<Gym>;
386
499
  modifyLeague?: Maybe<League>;
@@ -391,9 +504,13 @@ export type Mutation = {
391
504
  modifyPreferredDateForLeague?: Maybe<PreferredMatchdayDate>;
392
505
  modifySeason?: Maybe<Season>;
393
506
  modifyTeam?: Maybe<Team>;
507
+ registerCompetitionTeams?: Maybe<CompetitionRegistrationResult>;
394
508
  registerTeamsForSeason?: Maybe<Array<Maybe<Team>>>;
395
509
  removeAssociation?: Maybe<Scalars['Boolean']['output']>;
396
510
  removeClub?: Maybe<Scalars['Boolean']['output']>;
511
+ removeCompetition?: Maybe<Scalars['Boolean']['output']>;
512
+ removeCompetitionGroup?: Maybe<Scalars['Boolean']['output']>;
513
+ removeCompetitionTeam?: Maybe<Scalars['Boolean']['output']>;
397
514
  removeGameFromMatchDay?: Maybe<Scalars['Boolean']['output']>;
398
515
  removeGym?: Maybe<Scalars['Boolean']['output']>;
399
516
  removeLeague?: Maybe<Scalars['Boolean']['output']>;
@@ -404,6 +521,7 @@ export type Mutation = {
404
521
  removePreferredDateForLeague?: Maybe<Scalars['Boolean']['output']>;
405
522
  removeSeason?: Maybe<Scalars['Boolean']['output']>;
406
523
  removeTeam?: Maybe<Scalars['Boolean']['output']>;
524
+ updateCompetitionTeamGroup?: Maybe<CompetitionTeam>;
407
525
  updateTeamGroup?: Maybe<Team>;
408
526
  };
409
527
  export type MutationAddAssociationArgs = {
@@ -412,6 +530,15 @@ export type MutationAddAssociationArgs = {
412
530
  export type MutationAddClubArgs = {
413
531
  club: SaveClubInput;
414
532
  };
533
+ export type MutationAddCompetitionArgs = {
534
+ competition: SaveCompetitionInput;
535
+ };
536
+ export type MutationAddCompetitionGroupArgs = {
537
+ group: SaveCompetitionGroupInput;
538
+ };
539
+ export type MutationAddCompetitionTeamArgs = {
540
+ team: SaveCompetitionTeamInput;
541
+ };
415
542
  export type MutationAddGameToMatchDayArgs = {
416
543
  game: AddGameInput;
417
544
  matchDayId: Scalars['ID']['input'];
@@ -462,6 +589,15 @@ export type MutationModifyAssociationArgs = {
462
589
  export type MutationModifyClubArgs = {
463
590
  club: ModifyClubInput;
464
591
  };
592
+ export type MutationModifyCompetitionArgs = {
593
+ competition: ModifyCompetitionInput;
594
+ };
595
+ export type MutationModifyCompetitionGroupArgs = {
596
+ group: ModifyCompetitionGroupInput;
597
+ };
598
+ export type MutationModifyCompetitionTeamArgs = {
599
+ team: ModifyCompetitionTeamInput;
600
+ };
465
601
  export type MutationModifyGameInMatchDayArgs = {
466
602
  game: ModifyGameInput;
467
603
  matchDayId: Scalars['ID']['input'];
@@ -495,6 +631,9 @@ export type MutationModifySeasonArgs = {
495
631
  export type MutationModifyTeamArgs = {
496
632
  team: ModifyTeamInput;
497
633
  };
634
+ export type MutationRegisterCompetitionTeamsArgs = {
635
+ registration: RegisterCompetitionTeamsInput;
636
+ };
498
637
  export type MutationRegisterTeamsForSeasonArgs = {
499
638
  registration: RegisterTeamsForSeasonInput;
500
639
  };
@@ -504,6 +643,15 @@ export type MutationRemoveAssociationArgs = {
504
643
  export type MutationRemoveClubArgs = {
505
644
  clubId: Scalars['ID']['input'];
506
645
  };
646
+ export type MutationRemoveCompetitionArgs = {
647
+ competitionId: Scalars['ID']['input'];
648
+ };
649
+ export type MutationRemoveCompetitionGroupArgs = {
650
+ groupId: Scalars['ID']['input'];
651
+ };
652
+ export type MutationRemoveCompetitionTeamArgs = {
653
+ teamId: Scalars['ID']['input'];
654
+ };
507
655
  export type MutationRemoveGameFromMatchDayArgs = {
508
656
  gameId: Scalars['ID']['input'];
509
657
  matchDayId: Scalars['ID']['input'];
@@ -538,6 +686,10 @@ export type MutationRemoveSeasonArgs = {
538
686
  export type MutationRemoveTeamArgs = {
539
687
  teamId: Scalars['ID']['input'];
540
688
  };
689
+ export type MutationUpdateCompetitionTeamGroupArgs = {
690
+ groupId: Scalars['ID']['input'];
691
+ teamId: Scalars['ID']['input'];
692
+ };
541
693
  export type MutationUpdateTeamGroupArgs = {
542
694
  data: UpdateTeamGroupInput;
543
695
  };
@@ -584,6 +736,7 @@ export type PreferredMatchdayDate = {
584
736
  };
585
737
  export type Query = {
586
738
  __typename?: 'Query';
739
+ canClubRegisterForCompetition?: Maybe<RegistrationEligibility>;
587
740
  getAllGamesOfTeamInSeason?: Maybe<Array<Maybe<Game>>>;
588
741
  getAllMatchdaysInSeason: Array<MatchDay>;
589
742
  getAllMatchdaysOfTeamInSeason?: Maybe<Array<Maybe<MatchDay>>>;
@@ -594,6 +747,10 @@ export type Query = {
594
747
  getAuditLogEntriesForResource?: Maybe<Array<Maybe<AuditLogEntry>>>;
595
748
  getAvailableDatesForSeason?: Maybe<Array<Maybe<PreferredMatchdayDate>>>;
596
749
  getClubById?: Maybe<Club>;
750
+ getCompetitionById?: Maybe<Competition>;
751
+ getCompetitionGroupById?: Maybe<CompetitionGroup>;
752
+ getCompetitionGroupView?: Maybe<CompetitionGroupView>;
753
+ getCompetitionTeamById?: Maybe<CompetitionTeam>;
597
754
  getGameById?: Maybe<Game>;
598
755
  getGymById?: Maybe<Gym>;
599
756
  getLeagueById?: Maybe<League>;
@@ -605,6 +762,8 @@ export type Query = {
605
762
  getListOfClubsByAssociation?: Maybe<Array<Maybe<Club>>>;
606
763
  getListOfClubsByLeague?: Maybe<Array<Maybe<Club>>>;
607
764
  getListOfClubsByLeagueGroup?: Maybe<Array<Maybe<Club>>>;
765
+ getListOfCompetitions?: Maybe<Array<Maybe<Competition>>>;
766
+ getListOfGroupsInCompetition?: Maybe<Array<Maybe<CompetitionGroup>>>;
608
767
  getListOfGroupsInLeague?: Maybe<Array<Maybe<LeagueGroup>>>;
609
768
  getListOfGyms?: Maybe<GymConnection>;
610
769
  getListOfLeagueInSeason?: Maybe<Array<Maybe<League>>>;
@@ -614,6 +773,8 @@ export type Query = {
614
773
  getListOfSeasons?: Maybe<Array<Maybe<Season>>>;
615
774
  getListOfTeamsForLeague?: Maybe<Array<Maybe<Team>>>;
616
775
  getListOfTeamsForLeagueGroup?: Maybe<Array<Maybe<Team>>>;
776
+ getListOfTeamsInCompetition?: Maybe<Array<Maybe<CompetitionTeam>>>;
777
+ getListOfTeamsInCompetitionGroup?: Maybe<Array<Maybe<CompetitionTeam>>>;
617
778
  getMatchdayById?: Maybe<MatchDay>;
618
779
  getPersonById?: Maybe<Person>;
619
780
  getPersonByUciCode?: Maybe<Person>;
@@ -624,6 +785,10 @@ export type Query = {
624
785
  getTeamById?: Maybe<Team>;
625
786
  getUpcomingMatchdays: Array<CalendarDate>;
626
787
  };
788
+ export type QueryCanClubRegisterForCompetitionArgs = {
789
+ clubId: Scalars['ID']['input'];
790
+ competitionId: Scalars['ID']['input'];
791
+ };
627
792
  export type QueryGetAllGamesOfTeamInSeasonArgs = {
628
793
  seasonId: Scalars['ID']['input'];
629
794
  teamId: Scalars['ID']['input'];
@@ -664,6 +829,18 @@ export type QueryGetAvailableDatesForSeasonArgs = {
664
829
  export type QueryGetClubByIdArgs = {
665
830
  id: Scalars['ID']['input'];
666
831
  };
832
+ export type QueryGetCompetitionByIdArgs = {
833
+ id: Scalars['ID']['input'];
834
+ };
835
+ export type QueryGetCompetitionGroupByIdArgs = {
836
+ groupId: Scalars['ID']['input'];
837
+ };
838
+ export type QueryGetCompetitionGroupViewArgs = {
839
+ groupId: Scalars['ID']['input'];
840
+ };
841
+ export type QueryGetCompetitionTeamByIdArgs = {
842
+ id: Scalars['ID']['input'];
843
+ };
667
844
  export type QueryGetGameByIdArgs = {
668
845
  gameId: Scalars['ID']['input'];
669
846
  matchDayId: Scalars['ID']['input'];
@@ -697,6 +874,12 @@ export type QueryGetListOfClubsByLeagueArgs = {
697
874
  export type QueryGetListOfClubsByLeagueGroupArgs = {
698
875
  groupId: Scalars['ID']['input'];
699
876
  };
877
+ export type QueryGetListOfCompetitionsArgs = {
878
+ associationId: Scalars['ID']['input'];
879
+ };
880
+ export type QueryGetListOfGroupsInCompetitionArgs = {
881
+ competitionId: Scalars['ID']['input'];
882
+ };
700
883
  export type QueryGetListOfGroupsInLeagueArgs = {
701
884
  leagueId: Scalars['ID']['input'];
702
885
  };
@@ -731,6 +914,12 @@ export type QueryGetListOfTeamsForLeagueGroupArgs = {
731
914
  groupId: Scalars['ID']['input'];
732
915
  leagueId: Scalars['ID']['input'];
733
916
  };
917
+ export type QueryGetListOfTeamsInCompetitionArgs = {
918
+ competitionId: Scalars['ID']['input'];
919
+ };
920
+ export type QueryGetListOfTeamsInCompetitionGroupArgs = {
921
+ groupId: Scalars['ID']['input'];
922
+ };
734
923
  export type QueryGetMatchdayByIdArgs = {
735
924
  id: Scalars['ID']['input'];
736
925
  };
@@ -780,6 +969,22 @@ export type RefereeInfoInput = {
780
969
  additionalRefereeIds: Array<InputMaybe<Scalars['ID']['input']>>;
781
970
  chiefRefereeId?: InputMaybe<Scalars['ID']['input']>;
782
971
  };
972
+ export type RegisterCompetitionTeamInput = {
973
+ clubId: Scalars['ID']['input'];
974
+ competitionGroupId?: InputMaybe<Scalars['ID']['input']>;
975
+ exemptionRequest?: InputMaybe<Scalars['String']['input']>;
976
+ name: Scalars['String']['input'];
977
+ playerIds: Array<Scalars['ID']['input']>;
978
+ secondRightToPlay?: InputMaybe<Scalars['Boolean']['input']>;
979
+ sgClubId?: InputMaybe<Scalars['ID']['input']>;
980
+ withoutCompetition?: InputMaybe<Scalars['Boolean']['input']>;
981
+ };
982
+ export type RegisterCompetitionTeamsInput = {
983
+ competitionId: Scalars['ID']['input'];
984
+ registrarClubId: Scalars['ID']['input'];
985
+ registrarPersonId: Scalars['ID']['input'];
986
+ teams: Array<RegisterCompetitionTeamInput>;
987
+ };
783
988
  export type RegisterTeamInput = {
784
989
  exemptionRequest?: InputMaybe<Scalars['String']['input']>;
785
990
  leagueId: Scalars['ID']['input'];
@@ -795,6 +1000,18 @@ export type RegisterTeamsForSeasonInput = {
795
1000
  seasonId: Scalars['ID']['input'];
796
1001
  teams: Array<RegisterTeamInput>;
797
1002
  };
1003
+ export type RegistrationEligibility = {
1004
+ __typename?: 'RegistrationEligibility';
1005
+ canRegister: Scalars['Boolean']['output'];
1006
+ reason?: Maybe<Scalars['String']['output']>;
1007
+ registrationEnds?: Maybe<Scalars['AWSDate']['output']>;
1008
+ registrationOpen: Scalars['Boolean']['output'];
1009
+ };
1010
+ export declare enum RegistrationPermission {
1011
+ AllClubs = "ALL_CLUBS",
1012
+ AssociationsOnly = "ASSOCIATIONS_ONLY",
1013
+ InviteOnly = "INVITE_ONLY"
1014
+ }
798
1015
  export type SaveAssociationInput = {
799
1016
  address: AddressInput;
800
1017
  contactEmail: Scalars['AWSEmail']['input'];
@@ -816,6 +1033,41 @@ export type SaveClubInput = {
816
1033
  shortName?: InputMaybe<Scalars['String']['input']>;
817
1034
  website?: InputMaybe<Scalars['AWSURL']['input']>;
818
1035
  };
1036
+ export type SaveCompetitionGroupInput = {
1037
+ competitionId: Scalars['ID']['input'];
1038
+ leaderId?: InputMaybe<Scalars['ID']['input']>;
1039
+ name: Scalars['String']['input'];
1040
+ number: Scalars['Int']['input'];
1041
+ regulation: Scalars['String']['input'];
1042
+ shortName: Scalars['String']['input'];
1043
+ };
1044
+ export type SaveCompetitionInput = {
1045
+ allowedRegistrars?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
1046
+ associationId: Scalars['ID']['input'];
1047
+ coordinatorIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
1048
+ description?: InputMaybe<Scalars['String']['input']>;
1049
+ endDate: Scalars['AWSDate']['input'];
1050
+ maxAge?: InputMaybe<Scalars['Int']['input']>;
1051
+ minAge?: InputMaybe<Scalars['Int']['input']>;
1052
+ name: Scalars['String']['input'];
1053
+ registrationEnd: Scalars['AWSDate']['input'];
1054
+ registrationPermission?: InputMaybe<RegistrationPermission>;
1055
+ registrationStart: Scalars['AWSDate']['input'];
1056
+ regulationFileUrl?: InputMaybe<Scalars['AWSURL']['input']>;
1057
+ shortName: Scalars['String']['input'];
1058
+ startDate: Scalars['AWSDate']['input'];
1059
+ };
1060
+ export type SaveCompetitionTeamInput = {
1061
+ clubId: Scalars['ID']['input'];
1062
+ competitionGroupId?: InputMaybe<Scalars['ID']['input']>;
1063
+ competitionId: Scalars['ID']['input'];
1064
+ exemptionRequest?: InputMaybe<Scalars['String']['input']>;
1065
+ name: Scalars['String']['input'];
1066
+ playerIds: Array<Scalars['ID']['input']>;
1067
+ secondRightToPlay?: InputMaybe<Scalars['Boolean']['input']>;
1068
+ sgClubId?: InputMaybe<Scalars['ID']['input']>;
1069
+ withoutCompetition?: InputMaybe<Scalars['Boolean']['input']>;
1070
+ };
819
1071
  export type SaveGymInput = {
820
1072
  address: AddressInput;
821
1073
  availableFields: Scalars['String']['input'];