tods-competition-factory 2.2.0 → 2.2.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.
@@ -2629,8 +2629,8 @@ declare function setDrawParticipantRepresentativeIds({ representativeParticipant
2629
2629
  representativeParticipantIds: any;
2630
2630
  drawDefinition: any;
2631
2631
  }): {
2632
- success?: boolean | undefined;
2633
- error?: ErrorType | undefined;
2632
+ success?: boolean;
2633
+ error?: ErrorType;
2634
2634
  } | {
2635
2635
  error: {
2636
2636
  message: string;
@@ -2654,7 +2654,7 @@ declare function resetVoluntaryConsolationStructure({ tournamentRecord, drawDefi
2654
2654
  };
2655
2655
 
2656
2656
  declare function withdrawParticipantAtDrawPosition(params: any): ResultType & {
2657
- participantId?: string | undefined;
2657
+ participantId?: string;
2658
2658
  };
2659
2659
 
2660
2660
  type AddVoluntaryConsolationStructureArgs = {
@@ -2824,7 +2824,7 @@ type RemoveStructureArgs = {
2824
2824
  event: Event$1;
2825
2825
  };
2826
2826
  declare function removeStructure(params: RemoveStructureArgs): (ResultType & {
2827
- valid?: boolean | undefined;
2827
+ valid?: boolean;
2828
2828
  }) | {
2829
2829
  error: {
2830
2830
  message: string;
@@ -2877,12 +2877,12 @@ type AddQualifyingstructureArgs = {
2877
2877
  event: Event$1;
2878
2878
  };
2879
2879
  declare function addQualifyingStructure(params: AddQualifyingstructureArgs): ResultType | {
2880
- qualifyingDrawPositionsCount?: number | undefined;
2881
- qualifiersCount?: number | undefined;
2882
- structure?: Structure | undefined;
2883
- error?: ErrorType | undefined;
2884
- success?: boolean | undefined;
2885
- link?: DrawLink | undefined;
2880
+ qualifyingDrawPositionsCount?: number;
2881
+ qualifiersCount?: number;
2882
+ structure?: Structure;
2883
+ error?: ErrorType;
2884
+ success?: boolean;
2885
+ link?: DrawLink;
2886
2886
  } | {
2887
2887
  error: {
2888
2888
  message: string;
@@ -2901,7 +2901,7 @@ type AdHocPositionSwapArgs = {
2901
2901
  declare function adHocPositionSwap(params: AdHocPositionSwapArgs): ResultType;
2902
2902
 
2903
2903
  declare function addPlayoffStructures(params: any): ResultType & {
2904
- addedStructureIds?: string[] | undefined;
2904
+ addedStructureIds?: string[];
2905
2905
  };
2906
2906
 
2907
2907
  type AutomatedPositioningArgs = {
@@ -3059,10 +3059,10 @@ type SetSubOrderArgs = {
3059
3059
  declare function setSubOrder({ tournamentRecord, drawDefinition, drawPosition, structureId, subOrder, event, }: SetSubOrderArgs): ResultType;
3060
3060
 
3061
3061
  declare function attachConsolationStructures(params: any): ResultType & {
3062
- addedStructureIds?: string[] | undefined;
3062
+ addedStructureIds?: string[];
3063
3063
  };
3064
3064
  declare function attachPlayoffStructures(params: any): ResultType & {
3065
- addedStructureIds?: string[] | undefined;
3065
+ addedStructureIds?: string[];
3066
3066
  };
3067
3067
  type AttachStructuresArgs = {
3068
3068
  tournamentRecord?: Tournament;
@@ -3156,7 +3156,7 @@ declare function getAvailableMatchUpsCount(params: GetAvailableMatchUpsCountArgs
3156
3156
  declare function getDrawParticipantRepresentativeIds({ drawDefinition }: {
3157
3157
  drawDefinition: any;
3158
3158
  }): (ResultType & {
3159
- extension?: Extension | undefined;
3159
+ extension?: Extension;
3160
3160
  }) | {
3161
3161
  representativeParticipantIds: any;
3162
3162
  };
@@ -3498,9 +3498,9 @@ declare function getParticipantTimeItem({ returnPreviousValues, tournamentRecord
3498
3498
  itemSubTypes: any;
3499
3499
  itemType: any;
3500
3500
  }): {
3501
- participant?: Participant | undefined;
3502
- tournamentId?: string | undefined;
3503
- error?: ErrorType | undefined;
3501
+ participant?: Participant;
3502
+ tournamentId?: string;
3503
+ error?: ErrorType;
3504
3504
  } | {
3505
3505
  error: {
3506
3506
  message: string;
@@ -3868,10 +3868,10 @@ type AutoSeedingParams = {
3868
3868
  event: any;
3869
3869
  };
3870
3870
  declare function autoSeeding({ tournamentRecord, drawDefinition, policyDefinitions, scaleAttributes, scaleName, drawSize, drawId, event, stage, sortDescending, scaleSortMethod, }: AutoSeedingParams): {
3871
- stageEntries?: Entry[] | undefined;
3872
- seedsCount?: number | undefined;
3873
- entries?: Entry[] | undefined;
3874
- error?: ErrorType | undefined;
3871
+ stageEntries?: Entry[];
3872
+ seedsCount?: number;
3873
+ entries?: Entry[];
3874
+ error?: ErrorType;
3875
3875
  } | {
3876
3876
  error: {
3877
3877
  message: string;
@@ -3974,9 +3974,9 @@ type DestroyPairEntryArgs = {
3974
3974
  event: Event$1;
3975
3975
  };
3976
3976
  declare function destroyPairEntry({ removeGroupParticipant, tournamentRecord, drawDefinition, participantId, drawId, event, }: DestroyPairEntryArgs): {
3977
- success?: boolean | undefined;
3978
- error?: ErrorType | undefined;
3979
- participantRemoved?: boolean | undefined;
3977
+ success?: boolean;
3978
+ error?: ErrorType;
3979
+ participantRemoved?: boolean;
3980
3980
  };
3981
3981
  declare function destroyPairEntries(params: any): {
3982
3982
  error: {
@@ -4314,9 +4314,9 @@ type GenerateEventsFromTieFormatArgs = {
4314
4314
  declare function generateEventsFromTieFormat(params: GenerateEventsFromTieFormatArgs): ResultType | {
4315
4315
  context?: {
4316
4316
  [key: string]: any;
4317
- } | undefined;
4318
- error?: ErrorType | undefined;
4319
- event?: Event$1 | undefined;
4317
+ };
4318
+ error?: ErrorType;
4319
+ event?: Event$1;
4320
4320
  info?: any;
4321
4321
  } | {
4322
4322
  events: Event$1[];
@@ -4335,8 +4335,8 @@ declare function deleteFlightProfileAndFlightDraws({ autoPublish, tournamentReco
4335
4335
  event: any;
4336
4336
  force: any;
4337
4337
  }): {
4338
- success?: boolean | undefined;
4339
- error?: ErrorType | undefined;
4338
+ success?: boolean;
4339
+ error?: ErrorType;
4340
4340
  info?: any;
4341
4341
  } | {
4342
4342
  error: any;
@@ -4369,8 +4369,8 @@ type RemoveEventMatchUpFormatTimingArgs = {
4369
4369
  event?: Event$1;
4370
4370
  };
4371
4371
  declare function removeEventMatchUpFormatTiming(params: RemoveEventMatchUpFormatTimingArgs): {
4372
- success?: boolean | undefined;
4373
- error?: ErrorType | undefined;
4372
+ success?: boolean;
4373
+ error?: ErrorType;
4374
4374
  info?: any;
4375
4375
  } | {
4376
4376
  error: {
@@ -4384,8 +4384,8 @@ declare function setEventStartDate({ tournamentRecord, event, startDate }: {
4384
4384
  event: any;
4385
4385
  startDate: any;
4386
4386
  }): (ResultType & {
4387
- tournamentStartDate?: number | undefined;
4388
- tournamentEndDate?: number | undefined;
4387
+ tournamentStartDate?: number;
4388
+ tournamentEndDate?: number;
4389
4389
  }) | {
4390
4390
  error: {
4391
4391
  message: string;
@@ -4393,8 +4393,8 @@ declare function setEventStartDate({ tournamentRecord, event, startDate }: {
4393
4393
  };
4394
4394
  };
4395
4395
  declare function setEventEndDate(params: any): (ResultType & {
4396
- tournamentStartDate?: number | undefined;
4397
- tournamentEndDate?: number | undefined;
4396
+ tournamentStartDate?: number;
4397
+ tournamentEndDate?: number;
4398
4398
  }) | {
4399
4399
  error: {
4400
4400
  message: string;
@@ -4410,7 +4410,7 @@ type SetEventDatesArgs = {
4410
4410
  event: Event$1;
4411
4411
  };
4412
4412
  declare function setEventDates(params: SetEventDatesArgs): (ResultType & {
4413
- valid?: boolean | undefined;
4413
+ valid?: boolean;
4414
4414
  }) | {
4415
4415
  error: {
4416
4416
  message: string;
@@ -4623,7 +4623,7 @@ declare function removeSeeding({ tournamentRecord, drawDefinition, entryStatuses
4623
4623
  };
4624
4624
 
4625
4625
  declare function deleteEvents(params: any): ResultType & {
4626
- valid?: boolean | undefined;
4626
+ valid?: boolean;
4627
4627
  };
4628
4628
 
4629
4629
  type ModifyEventArgs = {
@@ -4650,8 +4650,8 @@ type AddFlightArgs = {
4650
4650
  event: Event$1;
4651
4651
  };
4652
4652
  declare function addFlight({ qualifyingPositions, drawEntries, drawName, drawId, event, stage, }: AddFlightArgs): {
4653
- success?: boolean | undefined;
4654
- error?: ErrorType | undefined;
4653
+ success?: boolean;
4654
+ error?: ErrorType;
4655
4655
  } | {
4656
4656
  error: {
4657
4657
  message: string;
@@ -4980,7 +4980,7 @@ declare function generateFlightProfile(params: GenerateFlightProfileArgs): {
4980
4980
  };
4981
4981
 
4982
4982
  declare function generateStatCrew(params: any): (ResultType & {
4983
- valid?: boolean | undefined;
4983
+ valid?: boolean;
4984
4984
  }) | {
4985
4985
  success: boolean;
4986
4986
  json: any[];
@@ -5190,7 +5190,7 @@ type RemoveMatchUpSideParticipantArgs = {
5190
5190
  event?: Event$1;
5191
5191
  };
5192
5192
  declare function removeMatchUpSideParticipant(params: RemoveMatchUpSideParticipantArgs): (ResultType & {
5193
- valid?: boolean | undefined;
5193
+ valid?: boolean;
5194
5194
  }) | {
5195
5195
  error: {
5196
5196
  message: string;
@@ -5217,8 +5217,8 @@ declare function removeDelegatedOutcome({ drawDefinition, event, matchUpId }: {
5217
5217
  event: any;
5218
5218
  matchUpId: any;
5219
5219
  }): {
5220
- success?: boolean | undefined;
5221
- error?: ErrorType | undefined;
5220
+ success?: boolean;
5221
+ error?: ErrorType;
5222
5222
  info?: any;
5223
5223
  } | {
5224
5224
  error: {
@@ -5263,8 +5263,8 @@ declare function disableTieAutoCalc({ drawDefinition, matchUpId, event }: {
5263
5263
  matchUpId: any;
5264
5264
  event: any;
5265
5265
  }): {
5266
- success?: boolean | undefined;
5267
- error?: ErrorType | undefined;
5266
+ success?: boolean;
5267
+ error?: ErrorType;
5268
5268
  } | {
5269
5269
  error: {
5270
5270
  message: string;
@@ -5291,9 +5291,9 @@ type SetMatchUpStatusArgs$1 = {
5291
5291
  event?: Event$1;
5292
5292
  };
5293
5293
  declare function setMatchUpFormat(params: SetMatchUpStatusArgs$1): ResultType | {
5294
- success?: boolean | undefined;
5295
- error?: ErrorType | undefined;
5296
- info?: string | undefined;
5294
+ success?: boolean;
5295
+ error?: ErrorType;
5296
+ info?: string;
5297
5297
  } | {
5298
5298
  modificationsCount: number;
5299
5299
  success: boolean;
@@ -5345,12 +5345,12 @@ declare function setMatchUpStatus(params: SetMatchUpStatusArgs): any;
5345
5345
  declare function bulkMatchUpStatusUpdate(params: any): any;
5346
5346
 
5347
5347
  declare function setDelegatedOutcome(params: any): {
5348
- success?: boolean | undefined;
5349
- error?: ErrorType | undefined;
5348
+ success?: boolean;
5349
+ error?: ErrorType;
5350
5350
  } | {
5351
- matchUp?: HydratedMatchUp | undefined;
5352
- structure?: Structure | undefined;
5353
- error?: ErrorType | undefined;
5351
+ matchUp?: HydratedMatchUp;
5352
+ structure?: Structure;
5353
+ error?: ErrorType;
5354
5354
  } | {
5355
5355
  error: {
5356
5356
  message: string;
@@ -5467,7 +5467,7 @@ declare namespace mutate$9 {
5467
5467
  declare function getMatchUpFormatTimingUpdate({ tournamentRecords }: {
5468
5468
  tournamentRecords: any;
5469
5469
  }): {
5470
- error?: ErrorType | undefined;
5470
+ error?: ErrorType;
5471
5471
  } | {
5472
5472
  methods: QueueMethod[];
5473
5473
  };
@@ -5506,9 +5506,9 @@ type GetMatchUpFormatTimingArgs = {
5506
5506
  event?: Event$1;
5507
5507
  };
5508
5508
  declare function getMatchUpFormatTiming({ defaultAverageMinutes, defaultRecoveryMinutes, tournamentRecord, matchUpFormat, categoryName, categoryType, eventType, event, }: GetMatchUpFormatTimingArgs): (ResultType & {
5509
- typeChangeRecoveryMinutes?: number | undefined;
5510
- recoveryMinutes?: number | undefined;
5511
- averageMinutes?: number | undefined;
5509
+ typeChangeRecoveryMinutes?: number;
5510
+ recoveryMinutes?: number;
5511
+ averageMinutes?: number;
5512
5512
  }) | {
5513
5513
  error: {
5514
5514
  message: string;
@@ -5550,7 +5550,7 @@ declare function getParticipantResults({ participantIds, pressureRating, matchUp
5550
5550
  declare function getMatchUpDailyLimitsUpdate({ tournamentRecords }: {
5551
5551
  tournamentRecords: any;
5552
5552
  }): {
5553
- error?: ErrorType | undefined;
5553
+ error?: ErrorType;
5554
5554
  } | {
5555
5555
  methods: QueueMethod[];
5556
5556
  };
@@ -5689,6 +5689,7 @@ declare function allCompetitionMatchUps({ scheduleVisibilityFilters, afterRecove
5689
5689
  type GetAllStructureMatchUps = {
5690
5690
  scheduleVisibilityFilters?: ScheduleVisibilityFilters;
5691
5691
  tournamentAppliedPolicies?: PolicyDefinitions;
5692
+ participantsProfile?: ParticipantsProfile;
5692
5693
  tournamentParticipants?: Participant[];
5693
5694
  policyDefinitions?: PolicyDefinitions;
5694
5695
  seedAssignments?: SeedAssignment[];
@@ -5706,6 +5707,7 @@ type GetAllStructureMatchUps = {
5706
5707
  contextProfile?: ContextProfile;
5707
5708
  tournamentRecord?: Tournament;
5708
5709
  afterRecoveryTimes?: boolean;
5710
+ useParticipantMap?: boolean;
5709
5711
  usePublishState?: boolean;
5710
5712
  exitProfiles?: ExitProfiles;
5711
5713
  matchUpsMap?: MatchUpsMap;
@@ -5938,15 +5940,15 @@ declare function allDrawMatchUps(params: GetMatchUpsArgs): {
5938
5940
  groupInfo: any;
5939
5941
  context?: {
5940
5942
  [key: string]: any;
5941
- } | undefined;
5942
- stack?: string | string[] | undefined;
5943
- errors?: string[] | undefined;
5944
- error?: ErrorType | undefined;
5945
- success?: boolean | undefined;
5946
- valid?: boolean | undefined;
5943
+ };
5944
+ stack?: string | string[];
5945
+ errors?: string[];
5946
+ error?: ErrorType;
5947
+ success?: boolean;
5948
+ valid?: boolean;
5947
5949
  info?: any;
5948
- matchUps?: HydratedMatchUp[] | undefined;
5949
- matchUpsMap?: MatchUpsMap | undefined;
5950
+ matchUps?: HydratedMatchUp[];
5951
+ matchUpsMap?: MatchUpsMap;
5950
5952
  };
5951
5953
 
5952
5954
  declare function getMatchUpsStats({ profileBands, tournamentRecord, matchUps }: {
@@ -6064,16 +6066,16 @@ declare function analyzeMatchUp(params?: any): ResultType & {
6064
6066
 
6065
6067
  declare function drawMatchUps({ participants: tournamentParticipants, tournamentAppliedPolicies, scheduleVisibilityFilters, participantsProfile, afterRecoveryTimes, policyDefinitions, useParticipantMap, tournamentRecord, usePublishState, contextFilters, contextContent, matchUpFilters, participantMap, publishStatus, contextProfile, drawDefinition, nextMatchUps, tournamentId, inContext, context, event, }: GetMatchUpsArgs): {
6066
6068
  groupInfo: any;
6067
- abandonedMatchUps?: HydratedMatchUp[] | undefined;
6068
- completedMatchUps?: HydratedMatchUp[] | undefined;
6069
- upcomingMatchUps?: HydratedMatchUp[] | undefined;
6070
- participants?: HydratedParticipant[] | undefined;
6071
- pendingMatchUps?: HydratedMatchUp[] | undefined;
6072
- byeMatchUps?: HydratedMatchUp[] | undefined;
6073
- matchUpsMap?: MatchUpsMap | undefined;
6074
- matchUpsCount?: number | undefined;
6075
- success?: boolean | undefined;
6076
- error?: ErrorType | undefined;
6069
+ abandonedMatchUps?: HydratedMatchUp[];
6070
+ completedMatchUps?: HydratedMatchUp[];
6071
+ upcomingMatchUps?: HydratedMatchUp[];
6072
+ participants?: HydratedParticipant[];
6073
+ pendingMatchUps?: HydratedMatchUp[];
6074
+ byeMatchUps?: HydratedMatchUp[];
6075
+ matchUpsMap?: MatchUpsMap;
6076
+ matchUpsCount?: number;
6077
+ success?: boolean;
6078
+ error?: ErrorType;
6077
6079
  };
6078
6080
 
6079
6081
  type FilterMatchUpsArgs = MatchUpFilters & {
@@ -6267,12 +6269,12 @@ declare function generateOutcome(params: any): {
6267
6269
  score: {
6268
6270
  sets: any;
6269
6271
  scoreStringSide1: string | {
6270
- error?: ErrorType | undefined;
6271
- info?: string | ErrorType | undefined;
6272
+ error?: ErrorType;
6273
+ info?: ErrorType | string;
6272
6274
  };
6273
6275
  scoreStringSide2: string | {
6274
- error?: ErrorType | undefined;
6275
- info?: string | ErrorType | undefined;
6276
+ error?: ErrorType;
6277
+ info?: ErrorType | string;
6276
6278
  };
6277
6279
  } | undefined;
6278
6280
  };
@@ -6326,7 +6328,7 @@ declare namespace index$d {
6326
6328
  }
6327
6329
 
6328
6330
  declare function modifyPersonRequests(params: any): ResultType & {
6329
- valid?: boolean | undefined;
6331
+ valid?: boolean;
6330
6332
  };
6331
6333
 
6332
6334
  type RemovePersonRequests = {
@@ -6337,8 +6339,8 @@ type RemovePersonRequests = {
6337
6339
  date?: string;
6338
6340
  };
6339
6341
  declare function removePersonRequests(params: RemovePersonRequests): {
6340
- success?: boolean | undefined;
6341
- error?: ErrorType | undefined;
6342
+ success?: boolean;
6343
+ error?: ErrorType;
6342
6344
  info?: any;
6343
6345
  };
6344
6346
 
@@ -6348,7 +6350,7 @@ type AddPersonRequestsArgs = {
6348
6350
  personId: string;
6349
6351
  };
6350
6352
  declare function addPersonRequests(params: AddPersonRequestsArgs): (ResultType & {
6351
- valid?: boolean | undefined;
6353
+ valid?: boolean;
6352
6354
  }) | {
6353
6355
  error: {
6354
6356
  message: string;
@@ -6573,13 +6575,13 @@ declare function removeRatings(params: {
6573
6575
  asDynamic?: boolean;
6574
6576
  ratingType: string;
6575
6577
  }): ResultType & {
6576
- valid?: boolean | undefined;
6578
+ valid?: boolean;
6577
6579
  };
6578
6580
 
6579
6581
  declare function removePenalty(params: any): {
6580
- error?: ErrorType | undefined;
6581
- success?: boolean | undefined;
6582
- penalty?: Penalty | undefined;
6582
+ error?: ErrorType;
6583
+ success?: boolean;
6584
+ penalty?: Penalty;
6583
6585
  } | {
6584
6586
  error: {
6585
6587
  message: string;
@@ -6589,9 +6591,9 @@ declare function removePenalty(params: any): {
6589
6591
 
6590
6592
  declare function modifyPenalty(params: any): {
6591
6593
  modifications?: any;
6592
- error?: ErrorType | undefined;
6593
- success?: boolean | undefined;
6594
- penalty?: Penalty | undefined;
6594
+ error?: ErrorType;
6595
+ success?: boolean;
6596
+ penalty?: Penalty;
6595
6597
  } | {
6596
6598
  error: {
6597
6599
  message: string;
@@ -6990,7 +6992,7 @@ type RemovePolicyArgs = {
6990
6992
  event?: Event$1;
6991
6993
  };
6992
6994
  declare function removePolicy(params: RemovePolicyArgs): (ResultType & {
6993
- valid?: boolean | undefined;
6995
+ valid?: boolean;
6994
6996
  }) | {
6995
6997
  success: boolean;
6996
6998
  error?: undefined;
@@ -7306,6 +7308,7 @@ type GetEventDataArgs = {
7306
7308
  usePublishState?: boolean;
7307
7309
  refreshResults?: boolean;
7308
7310
  pressureRating?: boolean;
7311
+ contextProfile?: any;
7309
7312
  eventId?: string;
7310
7313
  status?: string;
7311
7314
  event?: Event$1;
@@ -7430,7 +7433,7 @@ type GetAggregateTeamResultsArgs = {
7430
7433
  tournamentRecord: Tournament;
7431
7434
  };
7432
7435
  declare function getAggregateTeamResults(params: GetAggregateTeamResultsArgs): (ResultType & {
7433
- valid?: boolean | undefined;
7436
+ valid?: boolean;
7434
7437
  }) | {
7435
7438
  individualResults: {};
7436
7439
  teamResults: {};
@@ -8030,8 +8033,8 @@ type GetVenueReportArgs = {
8030
8033
  dates?: string[];
8031
8034
  };
8032
8035
  declare function getVenuesReport({ ignoreDisabled, tournamentRecords, tournamentId, venueIds, dates, }: GetVenueReportArgs): (ResultType & {
8033
- venues?: HydratedVenue[] | undefined;
8034
- courts?: HydratedCourt[] | undefined;
8036
+ venues?: HydratedVenue[];
8037
+ courts?: HydratedCourt[];
8035
8038
  }) | {
8036
8039
  error: {
8037
8040
  message: string;
@@ -8141,14 +8144,14 @@ type ProAutoScheduleArgs = {
8141
8144
  declare function proAutoSchedule({ scheduleCompletedMatchUps, tournamentRecords, scheduledDate, matchUps, }: ProAutoScheduleArgs): {
8142
8145
  mappedParticipants?: {
8143
8146
  [key: string]: HydratedParticipant;
8144
- } | undefined;
8145
- completedMatchUps?: HydratedMatchUp[] | undefined;
8146
- dateMatchUps?: HydratedMatchUp[] | undefined;
8147
- courtPrefix?: string | undefined;
8148
- error?: ErrorType | undefined;
8149
- venues?: Venue[] | undefined;
8147
+ };
8148
+ completedMatchUps?: HydratedMatchUp[];
8149
+ dateMatchUps?: HydratedMatchUp[];
8150
+ courtPrefix?: string;
8151
+ error?: ErrorType;
8152
+ venues?: Venue[];
8150
8153
  courtsData?: any;
8151
- rows?: any[] | undefined;
8154
+ rows?: any[];
8152
8155
  } | {
8153
8156
  error: {
8154
8157
  message: string;
@@ -8166,14 +8169,14 @@ declare function proAutoSchedule({ scheduleCompletedMatchUps, tournamentRecords,
8166
8169
  notScheduled: HydratedMatchUp[];
8167
8170
  mappedParticipants?: {
8168
8171
  [key: string]: HydratedParticipant;
8169
- } | undefined;
8170
- completedMatchUps?: HydratedMatchUp[] | undefined;
8171
- dateMatchUps?: HydratedMatchUp[] | undefined;
8172
- courtPrefix?: string | undefined;
8173
- error?: ErrorType | undefined;
8174
- venues?: Venue[] | undefined;
8172
+ };
8173
+ completedMatchUps?: HydratedMatchUp[];
8174
+ dateMatchUps?: HydratedMatchUp[];
8175
+ courtPrefix?: string;
8176
+ error?: ErrorType;
8177
+ venues?: Venue[];
8175
8178
  courtsData?: any;
8176
- rows?: any[] | undefined;
8179
+ rows?: any[];
8177
8180
  info?: undefined;
8178
8181
  };
8179
8182
 
@@ -8209,7 +8212,7 @@ type AllocateTeamMatchUpCourtsArgs = {
8209
8212
  declare function allocateTeamMatchUpCourts({ removePriorValues, tournamentRecords, tournamentRecord, drawDefinition, disableNotice, courtDayDate, matchUpId, courtIds, }: AllocateTeamMatchUpCourtsArgs): any;
8210
8213
 
8211
8214
  declare function scheduleMatchUps(params: any): (ResultType & {
8212
- valid?: boolean | undefined;
8215
+ valid?: boolean;
8213
8216
  }) | {
8214
8217
  requestConflicts: unknown[];
8215
8218
  remainingScheduleTimes: any[] | undefined;
@@ -8327,11 +8330,11 @@ type BulkScheduleMatchUpsArgs = {
8327
8330
  schedule?: any;
8328
8331
  };
8329
8332
  declare function bulkScheduleMatchUps(params: BulkScheduleMatchUpsArgs): (ResultType & {
8330
- valid?: boolean | undefined;
8333
+ valid?: boolean;
8331
8334
  }) | {
8332
- error?: ErrorType | undefined;
8333
- scheduled?: number | undefined;
8334
- warnings?: any[] | undefined;
8335
+ error?: ErrorType;
8336
+ scheduled?: number;
8337
+ warnings?: any[];
8335
8338
  } | {
8336
8339
  error: {
8337
8340
  message: string;
@@ -8352,12 +8355,12 @@ type ScheduleProfileRoundsArgs = {
8352
8355
  pro?: boolean;
8353
8356
  };
8354
8357
  declare function scheduleProfileRounds(params: ScheduleProfileRoundsArgs): (ResultType & {
8355
- valid?: boolean | undefined;
8358
+ valid?: boolean;
8356
8359
  }) | {
8357
8360
  schedulingProfile?: any;
8358
- modifications?: number | undefined;
8359
- error?: ErrorType | undefined;
8360
- issues?: string[] | undefined;
8361
+ modifications?: number;
8362
+ error?: ErrorType;
8363
+ issues?: string[];
8361
8364
  } | {
8362
8365
  schedulingProfileModifications: any;
8363
8366
  schedulingProfileIssues: any;
@@ -8728,8 +8731,8 @@ declare function setServingSide({ matchUp, sideNumber }: {
8728
8731
  matchUp: any;
8729
8732
  sideNumber: any;
8730
8733
  }): {
8731
- success?: boolean | undefined;
8732
- error?: ErrorType | undefined;
8734
+ success?: boolean;
8735
+ error?: ErrorType;
8733
8736
  } | {
8734
8737
  error: {
8735
8738
  message: string;
@@ -8740,16 +8743,16 @@ declare function setServingSide({ matchUp, sideNumber }: {
8740
8743
  declare function clearHistory({ matchUp }: {
8741
8744
  matchUp: any;
8742
8745
  }): {
8743
- success?: boolean | undefined;
8744
- error?: ErrorType | undefined;
8746
+ success?: boolean;
8747
+ error?: ErrorType;
8745
8748
  };
8746
8749
 
8747
8750
  declare function addPoint({ matchUp, point }: {
8748
8751
  matchUp: any;
8749
8752
  point: any;
8750
8753
  }): {
8751
- success?: boolean | undefined;
8752
- error?: ErrorType | undefined;
8754
+ success?: boolean;
8755
+ error?: ErrorType;
8753
8756
  } | {
8754
8757
  error: {
8755
8758
  message: string;
@@ -8770,8 +8773,8 @@ declare function addGame({ matchUp, game }: {
8770
8773
  matchUp: any;
8771
8774
  game: any;
8772
8775
  }): {
8773
- success?: boolean | undefined;
8774
- error?: ErrorType | undefined;
8776
+ success?: boolean;
8777
+ error?: ErrorType;
8775
8778
  } | {
8776
8779
  error: {
8777
8780
  message: string;
@@ -8786,8 +8789,8 @@ declare function addShot({ matchUp, shot }: {
8786
8789
  matchUp: any;
8787
8790
  shot: any;
8788
8791
  }): {
8789
- success?: boolean | undefined;
8790
- error?: ErrorType | undefined;
8792
+ success?: boolean;
8793
+ error?: ErrorType;
8791
8794
  } | {
8792
8795
  error: {
8793
8796
  message: string;
@@ -8799,8 +8802,8 @@ declare function addSet({ matchUp, set }: {
8799
8802
  matchUp: any;
8800
8803
  set: any;
8801
8804
  }): {
8802
- success?: boolean | undefined;
8803
- error?: ErrorType | undefined;
8805
+ success?: boolean;
8806
+ error?: ErrorType;
8804
8807
  } | {
8805
8808
  error: {
8806
8809
  message: string;
@@ -8811,15 +8814,15 @@ declare function addSet({ matchUp, set }: {
8811
8814
  declare function redo({ matchUp }: {
8812
8815
  matchUp: any;
8813
8816
  }): {
8814
- success?: boolean | undefined;
8815
- error?: ErrorType | undefined;
8817
+ success?: boolean;
8818
+ error?: ErrorType;
8816
8819
  };
8817
8820
 
8818
8821
  declare function undo({ matchUp }: {
8819
8822
  matchUp: any;
8820
8823
  }): {
8821
- success?: boolean | undefined;
8822
- error?: ErrorType | undefined;
8824
+ success?: boolean;
8825
+ error?: ErrorType;
8823
8826
  };
8824
8827
 
8825
8828
  declare const umo: {};
@@ -9067,9 +9070,9 @@ type OrderCollectionDefinitionsArgs = {
9067
9070
  event?: Event$1;
9068
9071
  };
9069
9072
  declare function orderCollectionDefinitions({ tournamentRecord, drawDefinition, structureId, matchUpId, orderMap, eventId, matchUp, event, }: OrderCollectionDefinitionsArgs): ResultType | {
9070
- matchUp?: HydratedMatchUp | undefined;
9071
- structure?: Structure | undefined;
9072
- error?: ErrorType | undefined;
9073
+ matchUp?: HydratedMatchUp;
9074
+ structure?: Structure;
9075
+ error?: ErrorType;
9073
9076
  } | {
9074
9077
  error: {
9075
9078
  message: string;
@@ -9210,7 +9213,7 @@ type CopyTournamentRecordArgs = {
9210
9213
  endDate?: string;
9211
9214
  };
9212
9215
  declare function copyTournamentRecord(params: CopyTournamentRecordArgs): (ResultType & {
9213
- valid?: boolean | undefined;
9216
+ valid?: boolean;
9214
9217
  }) | {
9215
9218
  tournamentRecord: {
9216
9219
  participants: any[];
@@ -9382,9 +9385,9 @@ declare function setTournamentStartDate({ tournamentRecord, startDate }: {
9382
9385
  tournamentRecord: any;
9383
9386
  startDate: any;
9384
9387
  }): (ResultType & {
9385
- unscheduledMatchUpIds?: string[] | undefined;
9386
- datesRemoved?: string[] | undefined;
9387
- datesAdded?: string[] | undefined;
9388
+ unscheduledMatchUpIds?: string[];
9389
+ datesRemoved?: string[];
9390
+ datesAdded?: string[];
9388
9391
  }) | {
9389
9392
  error: {
9390
9393
  message: string;
@@ -9395,9 +9398,9 @@ declare function setTournamentEndDate({ tournamentRecord, endDate }: {
9395
9398
  tournamentRecord: any;
9396
9399
  endDate: any;
9397
9400
  }): (ResultType & {
9398
- unscheduledMatchUpIds?: string[] | undefined;
9399
- datesRemoved?: string[] | undefined;
9400
- datesAdded?: string[] | undefined;
9401
+ unscheduledMatchUpIds?: string[];
9402
+ datesRemoved?: string[];
9403
+ datesAdded?: string[];
9401
9404
  }) | {
9402
9405
  error: {
9403
9406
  message: string;
@@ -9442,8 +9445,8 @@ declare function addTournamentExtension(params: AddExtensionArgs): {
9442
9445
  error?: ErrorType;
9443
9446
  };
9444
9447
  declare function addDrawDefinitionExtension(params: AddExtensionArgs): {
9445
- success?: boolean | undefined;
9446
- error?: ErrorType | undefined;
9448
+ success?: boolean;
9449
+ error?: ErrorType;
9447
9450
  } | {
9448
9451
  error: {
9449
9452
  message: string;
@@ -9451,8 +9454,8 @@ declare function addDrawDefinitionExtension(params: AddExtensionArgs): {
9451
9454
  };
9452
9455
  };
9453
9456
  declare function addEventExtension(params: AddExtensionArgs): {
9454
- success?: boolean | undefined;
9455
- error?: ErrorType | undefined;
9457
+ success?: boolean;
9458
+ error?: ErrorType;
9456
9459
  } | {
9457
9460
  error: {
9458
9461
  message: string;
@@ -9460,8 +9463,8 @@ declare function addEventExtension(params: AddExtensionArgs): {
9460
9463
  };
9461
9464
  };
9462
9465
  declare function addParticipantExtension(params?: any): {
9463
- success?: boolean | undefined;
9464
- error?: ErrorType | undefined;
9466
+ success?: boolean;
9467
+ error?: ErrorType;
9465
9468
  } | {
9466
9469
  error: {
9467
9470
  message: string;
@@ -9474,8 +9477,8 @@ declare function removeTournamentExtension(params: any): {
9474
9477
  info?: any;
9475
9478
  };
9476
9479
  declare function removeDrawDefinitionExtension(params: any): {
9477
- success?: boolean | undefined;
9478
- error?: ErrorType | undefined;
9480
+ success?: boolean;
9481
+ error?: ErrorType;
9479
9482
  info?: any;
9480
9483
  } | {
9481
9484
  error: {
@@ -9484,8 +9487,8 @@ declare function removeDrawDefinitionExtension(params: any): {
9484
9487
  };
9485
9488
  };
9486
9489
  declare function removeEventExtension(params: any): {
9487
- success?: boolean | undefined;
9488
- error?: ErrorType | undefined;
9490
+ success?: boolean;
9491
+ error?: ErrorType;
9489
9492
  info?: any;
9490
9493
  } | {
9491
9494
  error: {
@@ -9494,8 +9497,8 @@ declare function removeEventExtension(params: any): {
9494
9497
  };
9495
9498
  };
9496
9499
  declare function removeParticipantExtension(params?: any): {
9497
- success?: boolean | undefined;
9498
- error?: ErrorType | undefined;
9500
+ success?: boolean;
9501
+ error?: ErrorType;
9499
9502
  info?: any;
9500
9503
  } | {
9501
9504
  error: {
@@ -9613,8 +9616,8 @@ declare function deleteVenues({ tournamentRecord, venueIds, force }: {
9613
9616
  venueIds: any;
9614
9617
  force: any;
9615
9618
  }): {
9616
- success?: boolean | undefined;
9617
- error?: ErrorType | undefined;
9619
+ success?: boolean;
9620
+ error?: ErrorType;
9618
9621
  } | {
9619
9622
  error: {
9620
9623
  message: string;
@@ -9727,7 +9730,7 @@ type ACArgs = AddCourtsArgs & {
9727
9730
  venueId: string;
9728
9731
  };
9729
9732
  declare function addCourts(params: ACArgs): (ResultType & {
9730
- courts?: Court[] | undefined;
9733
+ courts?: Court[];
9731
9734
  }) | {
9732
9735
  error: {
9733
9736
  message: string;
@@ -9761,7 +9764,7 @@ type DisableCourtsArgs = {
9761
9764
  dates?: string[];
9762
9765
  };
9763
9766
  declare function disableCourts(params: DisableCourtsArgs): ResultType & {
9764
- valid?: boolean | undefined;
9767
+ valid?: boolean;
9765
9768
  };
9766
9769
 
9767
9770
  type DisableVenuesArgs = {
@@ -9770,11 +9773,11 @@ type DisableVenuesArgs = {
9770
9773
  venueIds: string[];
9771
9774
  };
9772
9775
  declare function disableVenues(params: DisableVenuesArgs): ResultType & {
9773
- valid?: boolean | undefined;
9776
+ valid?: boolean;
9774
9777
  };
9775
9778
 
9776
9779
  declare function enableCourts(params: any): ResultType & {
9777
- valid?: boolean | undefined;
9780
+ valid?: boolean;
9778
9781
  };
9779
9782
 
9780
9783
  type EnableVenuesArgs = {
@@ -9783,7 +9786,7 @@ type EnableVenuesArgs = {
9783
9786
  venueIds: string[];
9784
9787
  };
9785
9788
  declare function enableVenues(params: EnableVenuesArgs): ResultType & {
9786
- valid?: boolean | undefined;
9789
+ valid?: boolean;
9787
9790
  };
9788
9791
 
9789
9792
  type DeleteCourtArgs = {
@@ -9814,9 +9817,9 @@ type ModifyVenueArgs = {
9814
9817
  force?: boolean;
9815
9818
  };
9816
9819
  declare function modifyVenue(params: ModifyVenueArgs): {
9817
- error?: ErrorType | undefined;
9818
- success?: boolean | undefined;
9819
- venue?: Venue | undefined;
9820
+ error?: ErrorType;
9821
+ success?: boolean;
9822
+ venue?: Venue;
9820
9823
  } | {
9821
9824
  error: any;
9822
9825
  };
@@ -10092,7 +10095,7 @@ type DeepCopyAttributes = {
10092
10095
  };
10093
10096
  declare function setDeepCopy(value: boolean, attributes: DeepCopyAttributes): void;
10094
10097
  declare function deepCopyEnabled(): {
10095
- threshold?: number | undefined;
10098
+ threshold?: number;
10096
10099
  modulate?: any;
10097
10100
  stringify: string[];
10098
10101
  ignore: any;