tods-competition-factory 2.2.1 → 2.2.3
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/dist/index.mjs +5 -5
- package/dist/tods-competition-factory.d.ts +167 -167
- package/dist/tods-competition-factory.development.cjs.js +10 -5
- package/dist/tods-competition-factory.development.cjs.js.map +1 -1
- package/dist/tods-competition-factory.production.cjs.min.js +1 -1
- package/dist/tods-competition-factory.production.cjs.min.js.map +1 -1
- package/package.json +33 -33
|
@@ -2629,8 +2629,8 @@ declare function setDrawParticipantRepresentativeIds({ representativeParticipant
|
|
|
2629
2629
|
representativeParticipantIds: any;
|
|
2630
2630
|
drawDefinition: any;
|
|
2631
2631
|
}): {
|
|
2632
|
-
success?: boolean
|
|
2633
|
-
error?: ErrorType
|
|
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
|
|
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
|
|
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
|
|
2881
|
-
qualifiersCount?: number
|
|
2882
|
-
structure?: Structure
|
|
2883
|
-
error?: ErrorType
|
|
2884
|
-
success?: boolean
|
|
2885
|
-
link?: DrawLink
|
|
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[]
|
|
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[]
|
|
3062
|
+
addedStructureIds?: string[];
|
|
3063
3063
|
};
|
|
3064
3064
|
declare function attachPlayoffStructures(params: any): ResultType & {
|
|
3065
|
-
addedStructureIds?: string[]
|
|
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
|
|
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
|
|
3502
|
-
tournamentId?: string
|
|
3503
|
-
error?: ErrorType
|
|
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[]
|
|
3872
|
-
seedsCount?: number
|
|
3873
|
-
entries?: Entry[]
|
|
3874
|
-
error?: ErrorType
|
|
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
|
|
3978
|
-
error?: ErrorType
|
|
3979
|
-
participantRemoved?: boolean
|
|
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
|
-
}
|
|
4318
|
-
error?: ErrorType
|
|
4319
|
-
event?: Event$1
|
|
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
|
|
4339
|
-
error?: ErrorType
|
|
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
|
|
4373
|
-
error?: ErrorType
|
|
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
|
|
4388
|
-
tournamentEndDate?: number
|
|
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
|
|
4397
|
-
tournamentEndDate?: number
|
|
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
|
|
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
|
|
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
|
|
4654
|
-
error?: ErrorType
|
|
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
|
|
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
|
|
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
|
|
5221
|
-
error?: ErrorType
|
|
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
|
|
5267
|
-
error?: ErrorType
|
|
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
|
|
5295
|
-
error?: ErrorType
|
|
5296
|
-
info?: string
|
|
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
|
|
5349
|
-
error?: ErrorType
|
|
5348
|
+
success?: boolean;
|
|
5349
|
+
error?: ErrorType;
|
|
5350
5350
|
} | {
|
|
5351
|
-
matchUp?: HydratedMatchUp
|
|
5352
|
-
structure?: Structure
|
|
5353
|
-
error?: ErrorType
|
|
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
|
|
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
|
|
5510
|
-
recoveryMinutes?: number
|
|
5511
|
-
averageMinutes?: number
|
|
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
|
|
5553
|
+
error?: ErrorType;
|
|
5554
5554
|
} | {
|
|
5555
5555
|
methods: QueueMethod[];
|
|
5556
5556
|
};
|
|
@@ -5940,15 +5940,15 @@ declare function allDrawMatchUps(params: GetMatchUpsArgs): {
|
|
|
5940
5940
|
groupInfo: any;
|
|
5941
5941
|
context?: {
|
|
5942
5942
|
[key: string]: any;
|
|
5943
|
-
}
|
|
5944
|
-
stack?: string | string[]
|
|
5945
|
-
errors?: string[]
|
|
5946
|
-
error?: ErrorType
|
|
5947
|
-
success?: boolean
|
|
5948
|
-
valid?: boolean
|
|
5943
|
+
};
|
|
5944
|
+
stack?: string | string[];
|
|
5945
|
+
errors?: string[];
|
|
5946
|
+
error?: ErrorType;
|
|
5947
|
+
success?: boolean;
|
|
5948
|
+
valid?: boolean;
|
|
5949
5949
|
info?: any;
|
|
5950
|
-
matchUps?: HydratedMatchUp[]
|
|
5951
|
-
matchUpsMap?: MatchUpsMap
|
|
5950
|
+
matchUps?: HydratedMatchUp[];
|
|
5951
|
+
matchUpsMap?: MatchUpsMap;
|
|
5952
5952
|
};
|
|
5953
5953
|
|
|
5954
5954
|
declare function getMatchUpsStats({ profileBands, tournamentRecord, matchUps }: {
|
|
@@ -6066,16 +6066,16 @@ declare function analyzeMatchUp(params?: any): ResultType & {
|
|
|
6066
6066
|
|
|
6067
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): {
|
|
6068
6068
|
groupInfo: any;
|
|
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
|
|
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;
|
|
6079
6079
|
};
|
|
6080
6080
|
|
|
6081
6081
|
type FilterMatchUpsArgs = MatchUpFilters & {
|
|
@@ -6269,12 +6269,12 @@ declare function generateOutcome(params: any): {
|
|
|
6269
6269
|
score: {
|
|
6270
6270
|
sets: any;
|
|
6271
6271
|
scoreStringSide1: string | {
|
|
6272
|
-
error?: ErrorType
|
|
6273
|
-
info?:
|
|
6272
|
+
error?: ErrorType;
|
|
6273
|
+
info?: ErrorType | string;
|
|
6274
6274
|
};
|
|
6275
6275
|
scoreStringSide2: string | {
|
|
6276
|
-
error?: ErrorType
|
|
6277
|
-
info?:
|
|
6276
|
+
error?: ErrorType;
|
|
6277
|
+
info?: ErrorType | string;
|
|
6278
6278
|
};
|
|
6279
6279
|
} | undefined;
|
|
6280
6280
|
};
|
|
@@ -6328,7 +6328,7 @@ declare namespace index$d {
|
|
|
6328
6328
|
}
|
|
6329
6329
|
|
|
6330
6330
|
declare function modifyPersonRequests(params: any): ResultType & {
|
|
6331
|
-
valid?: boolean
|
|
6331
|
+
valid?: boolean;
|
|
6332
6332
|
};
|
|
6333
6333
|
|
|
6334
6334
|
type RemovePersonRequests = {
|
|
@@ -6339,8 +6339,8 @@ type RemovePersonRequests = {
|
|
|
6339
6339
|
date?: string;
|
|
6340
6340
|
};
|
|
6341
6341
|
declare function removePersonRequests(params: RemovePersonRequests): {
|
|
6342
|
-
success?: boolean
|
|
6343
|
-
error?: ErrorType
|
|
6342
|
+
success?: boolean;
|
|
6343
|
+
error?: ErrorType;
|
|
6344
6344
|
info?: any;
|
|
6345
6345
|
};
|
|
6346
6346
|
|
|
@@ -6350,7 +6350,7 @@ type AddPersonRequestsArgs = {
|
|
|
6350
6350
|
personId: string;
|
|
6351
6351
|
};
|
|
6352
6352
|
declare function addPersonRequests(params: AddPersonRequestsArgs): (ResultType & {
|
|
6353
|
-
valid?: boolean
|
|
6353
|
+
valid?: boolean;
|
|
6354
6354
|
}) | {
|
|
6355
6355
|
error: {
|
|
6356
6356
|
message: string;
|
|
@@ -6575,13 +6575,13 @@ declare function removeRatings(params: {
|
|
|
6575
6575
|
asDynamic?: boolean;
|
|
6576
6576
|
ratingType: string;
|
|
6577
6577
|
}): ResultType & {
|
|
6578
|
-
valid?: boolean
|
|
6578
|
+
valid?: boolean;
|
|
6579
6579
|
};
|
|
6580
6580
|
|
|
6581
6581
|
declare function removePenalty(params: any): {
|
|
6582
|
-
error?: ErrorType
|
|
6583
|
-
success?: boolean
|
|
6584
|
-
penalty?: Penalty
|
|
6582
|
+
error?: ErrorType;
|
|
6583
|
+
success?: boolean;
|
|
6584
|
+
penalty?: Penalty;
|
|
6585
6585
|
} | {
|
|
6586
6586
|
error: {
|
|
6587
6587
|
message: string;
|
|
@@ -6591,9 +6591,9 @@ declare function removePenalty(params: any): {
|
|
|
6591
6591
|
|
|
6592
6592
|
declare function modifyPenalty(params: any): {
|
|
6593
6593
|
modifications?: any;
|
|
6594
|
-
error?: ErrorType
|
|
6595
|
-
success?: boolean
|
|
6596
|
-
penalty?: Penalty
|
|
6594
|
+
error?: ErrorType;
|
|
6595
|
+
success?: boolean;
|
|
6596
|
+
penalty?: Penalty;
|
|
6597
6597
|
} | {
|
|
6598
6598
|
error: {
|
|
6599
6599
|
message: string;
|
|
@@ -6992,7 +6992,7 @@ type RemovePolicyArgs = {
|
|
|
6992
6992
|
event?: Event$1;
|
|
6993
6993
|
};
|
|
6994
6994
|
declare function removePolicy(params: RemovePolicyArgs): (ResultType & {
|
|
6995
|
-
valid?: boolean
|
|
6995
|
+
valid?: boolean;
|
|
6996
6996
|
}) | {
|
|
6997
6997
|
success: boolean;
|
|
6998
6998
|
error?: undefined;
|
|
@@ -7433,7 +7433,7 @@ type GetAggregateTeamResultsArgs = {
|
|
|
7433
7433
|
tournamentRecord: Tournament;
|
|
7434
7434
|
};
|
|
7435
7435
|
declare function getAggregateTeamResults(params: GetAggregateTeamResultsArgs): (ResultType & {
|
|
7436
|
-
valid?: boolean
|
|
7436
|
+
valid?: boolean;
|
|
7437
7437
|
}) | {
|
|
7438
7438
|
individualResults: {};
|
|
7439
7439
|
teamResults: {};
|
|
@@ -8033,8 +8033,8 @@ type GetVenueReportArgs = {
|
|
|
8033
8033
|
dates?: string[];
|
|
8034
8034
|
};
|
|
8035
8035
|
declare function getVenuesReport({ ignoreDisabled, tournamentRecords, tournamentId, venueIds, dates, }: GetVenueReportArgs): (ResultType & {
|
|
8036
|
-
venues?: HydratedVenue[]
|
|
8037
|
-
courts?: HydratedCourt[]
|
|
8036
|
+
venues?: HydratedVenue[];
|
|
8037
|
+
courts?: HydratedCourt[];
|
|
8038
8038
|
}) | {
|
|
8039
8039
|
error: {
|
|
8040
8040
|
message: string;
|
|
@@ -8144,14 +8144,14 @@ type ProAutoScheduleArgs = {
|
|
|
8144
8144
|
declare function proAutoSchedule({ scheduleCompletedMatchUps, tournamentRecords, scheduledDate, matchUps, }: ProAutoScheduleArgs): {
|
|
8145
8145
|
mappedParticipants?: {
|
|
8146
8146
|
[key: string]: HydratedParticipant;
|
|
8147
|
-
}
|
|
8148
|
-
completedMatchUps?: HydratedMatchUp[]
|
|
8149
|
-
dateMatchUps?: HydratedMatchUp[]
|
|
8150
|
-
courtPrefix?: string
|
|
8151
|
-
error?: ErrorType
|
|
8152
|
-
venues?: Venue[]
|
|
8147
|
+
};
|
|
8148
|
+
completedMatchUps?: HydratedMatchUp[];
|
|
8149
|
+
dateMatchUps?: HydratedMatchUp[];
|
|
8150
|
+
courtPrefix?: string;
|
|
8151
|
+
error?: ErrorType;
|
|
8152
|
+
venues?: Venue[];
|
|
8153
8153
|
courtsData?: any;
|
|
8154
|
-
rows?: any[]
|
|
8154
|
+
rows?: any[];
|
|
8155
8155
|
} | {
|
|
8156
8156
|
error: {
|
|
8157
8157
|
message: string;
|
|
@@ -8169,14 +8169,14 @@ declare function proAutoSchedule({ scheduleCompletedMatchUps, tournamentRecords,
|
|
|
8169
8169
|
notScheduled: HydratedMatchUp[];
|
|
8170
8170
|
mappedParticipants?: {
|
|
8171
8171
|
[key: string]: HydratedParticipant;
|
|
8172
|
-
}
|
|
8173
|
-
completedMatchUps?: HydratedMatchUp[]
|
|
8174
|
-
dateMatchUps?: HydratedMatchUp[]
|
|
8175
|
-
courtPrefix?: string
|
|
8176
|
-
error?: ErrorType
|
|
8177
|
-
venues?: Venue[]
|
|
8172
|
+
};
|
|
8173
|
+
completedMatchUps?: HydratedMatchUp[];
|
|
8174
|
+
dateMatchUps?: HydratedMatchUp[];
|
|
8175
|
+
courtPrefix?: string;
|
|
8176
|
+
error?: ErrorType;
|
|
8177
|
+
venues?: Venue[];
|
|
8178
8178
|
courtsData?: any;
|
|
8179
|
-
rows?: any[]
|
|
8179
|
+
rows?: any[];
|
|
8180
8180
|
info?: undefined;
|
|
8181
8181
|
};
|
|
8182
8182
|
|
|
@@ -8212,7 +8212,7 @@ type AllocateTeamMatchUpCourtsArgs = {
|
|
|
8212
8212
|
declare function allocateTeamMatchUpCourts({ removePriorValues, tournamentRecords, tournamentRecord, drawDefinition, disableNotice, courtDayDate, matchUpId, courtIds, }: AllocateTeamMatchUpCourtsArgs): any;
|
|
8213
8213
|
|
|
8214
8214
|
declare function scheduleMatchUps(params: any): (ResultType & {
|
|
8215
|
-
valid?: boolean
|
|
8215
|
+
valid?: boolean;
|
|
8216
8216
|
}) | {
|
|
8217
8217
|
requestConflicts: unknown[];
|
|
8218
8218
|
remainingScheduleTimes: any[] | undefined;
|
|
@@ -8330,11 +8330,11 @@ type BulkScheduleMatchUpsArgs = {
|
|
|
8330
8330
|
schedule?: any;
|
|
8331
8331
|
};
|
|
8332
8332
|
declare function bulkScheduleMatchUps(params: BulkScheduleMatchUpsArgs): (ResultType & {
|
|
8333
|
-
valid?: boolean
|
|
8333
|
+
valid?: boolean;
|
|
8334
8334
|
}) | {
|
|
8335
|
-
error?: ErrorType
|
|
8336
|
-
scheduled?: number
|
|
8337
|
-
warnings?: any[]
|
|
8335
|
+
error?: ErrorType;
|
|
8336
|
+
scheduled?: number;
|
|
8337
|
+
warnings?: any[];
|
|
8338
8338
|
} | {
|
|
8339
8339
|
error: {
|
|
8340
8340
|
message: string;
|
|
@@ -8355,12 +8355,12 @@ type ScheduleProfileRoundsArgs = {
|
|
|
8355
8355
|
pro?: boolean;
|
|
8356
8356
|
};
|
|
8357
8357
|
declare function scheduleProfileRounds(params: ScheduleProfileRoundsArgs): (ResultType & {
|
|
8358
|
-
valid?: boolean
|
|
8358
|
+
valid?: boolean;
|
|
8359
8359
|
}) | {
|
|
8360
8360
|
schedulingProfile?: any;
|
|
8361
|
-
modifications?: number
|
|
8362
|
-
error?: ErrorType
|
|
8363
|
-
issues?: string[]
|
|
8361
|
+
modifications?: number;
|
|
8362
|
+
error?: ErrorType;
|
|
8363
|
+
issues?: string[];
|
|
8364
8364
|
} | {
|
|
8365
8365
|
schedulingProfileModifications: any;
|
|
8366
8366
|
schedulingProfileIssues: any;
|
|
@@ -8731,8 +8731,8 @@ declare function setServingSide({ matchUp, sideNumber }: {
|
|
|
8731
8731
|
matchUp: any;
|
|
8732
8732
|
sideNumber: any;
|
|
8733
8733
|
}): {
|
|
8734
|
-
success?: boolean
|
|
8735
|
-
error?: ErrorType
|
|
8734
|
+
success?: boolean;
|
|
8735
|
+
error?: ErrorType;
|
|
8736
8736
|
} | {
|
|
8737
8737
|
error: {
|
|
8738
8738
|
message: string;
|
|
@@ -8743,16 +8743,16 @@ declare function setServingSide({ matchUp, sideNumber }: {
|
|
|
8743
8743
|
declare function clearHistory({ matchUp }: {
|
|
8744
8744
|
matchUp: any;
|
|
8745
8745
|
}): {
|
|
8746
|
-
success?: boolean
|
|
8747
|
-
error?: ErrorType
|
|
8746
|
+
success?: boolean;
|
|
8747
|
+
error?: ErrorType;
|
|
8748
8748
|
};
|
|
8749
8749
|
|
|
8750
8750
|
declare function addPoint({ matchUp, point }: {
|
|
8751
8751
|
matchUp: any;
|
|
8752
8752
|
point: any;
|
|
8753
8753
|
}): {
|
|
8754
|
-
success?: boolean
|
|
8755
|
-
error?: ErrorType
|
|
8754
|
+
success?: boolean;
|
|
8755
|
+
error?: ErrorType;
|
|
8756
8756
|
} | {
|
|
8757
8757
|
error: {
|
|
8758
8758
|
message: string;
|
|
@@ -8773,8 +8773,8 @@ declare function addGame({ matchUp, game }: {
|
|
|
8773
8773
|
matchUp: any;
|
|
8774
8774
|
game: any;
|
|
8775
8775
|
}): {
|
|
8776
|
-
success?: boolean
|
|
8777
|
-
error?: ErrorType
|
|
8776
|
+
success?: boolean;
|
|
8777
|
+
error?: ErrorType;
|
|
8778
8778
|
} | {
|
|
8779
8779
|
error: {
|
|
8780
8780
|
message: string;
|
|
@@ -8789,8 +8789,8 @@ declare function addShot({ matchUp, shot }: {
|
|
|
8789
8789
|
matchUp: any;
|
|
8790
8790
|
shot: any;
|
|
8791
8791
|
}): {
|
|
8792
|
-
success?: boolean
|
|
8793
|
-
error?: ErrorType
|
|
8792
|
+
success?: boolean;
|
|
8793
|
+
error?: ErrorType;
|
|
8794
8794
|
} | {
|
|
8795
8795
|
error: {
|
|
8796
8796
|
message: string;
|
|
@@ -8802,8 +8802,8 @@ declare function addSet({ matchUp, set }: {
|
|
|
8802
8802
|
matchUp: any;
|
|
8803
8803
|
set: any;
|
|
8804
8804
|
}): {
|
|
8805
|
-
success?: boolean
|
|
8806
|
-
error?: ErrorType
|
|
8805
|
+
success?: boolean;
|
|
8806
|
+
error?: ErrorType;
|
|
8807
8807
|
} | {
|
|
8808
8808
|
error: {
|
|
8809
8809
|
message: string;
|
|
@@ -8814,15 +8814,15 @@ declare function addSet({ matchUp, set }: {
|
|
|
8814
8814
|
declare function redo({ matchUp }: {
|
|
8815
8815
|
matchUp: any;
|
|
8816
8816
|
}): {
|
|
8817
|
-
success?: boolean
|
|
8818
|
-
error?: ErrorType
|
|
8817
|
+
success?: boolean;
|
|
8818
|
+
error?: ErrorType;
|
|
8819
8819
|
};
|
|
8820
8820
|
|
|
8821
8821
|
declare function undo({ matchUp }: {
|
|
8822
8822
|
matchUp: any;
|
|
8823
8823
|
}): {
|
|
8824
|
-
success?: boolean
|
|
8825
|
-
error?: ErrorType
|
|
8824
|
+
success?: boolean;
|
|
8825
|
+
error?: ErrorType;
|
|
8826
8826
|
};
|
|
8827
8827
|
|
|
8828
8828
|
declare const umo: {};
|
|
@@ -9070,9 +9070,9 @@ type OrderCollectionDefinitionsArgs = {
|
|
|
9070
9070
|
event?: Event$1;
|
|
9071
9071
|
};
|
|
9072
9072
|
declare function orderCollectionDefinitions({ tournamentRecord, drawDefinition, structureId, matchUpId, orderMap, eventId, matchUp, event, }: OrderCollectionDefinitionsArgs): ResultType | {
|
|
9073
|
-
matchUp?: HydratedMatchUp
|
|
9074
|
-
structure?: Structure
|
|
9075
|
-
error?: ErrorType
|
|
9073
|
+
matchUp?: HydratedMatchUp;
|
|
9074
|
+
structure?: Structure;
|
|
9075
|
+
error?: ErrorType;
|
|
9076
9076
|
} | {
|
|
9077
9077
|
error: {
|
|
9078
9078
|
message: string;
|
|
@@ -9213,7 +9213,7 @@ type CopyTournamentRecordArgs = {
|
|
|
9213
9213
|
endDate?: string;
|
|
9214
9214
|
};
|
|
9215
9215
|
declare function copyTournamentRecord(params: CopyTournamentRecordArgs): (ResultType & {
|
|
9216
|
-
valid?: boolean
|
|
9216
|
+
valid?: boolean;
|
|
9217
9217
|
}) | {
|
|
9218
9218
|
tournamentRecord: {
|
|
9219
9219
|
participants: any[];
|
|
@@ -9385,9 +9385,9 @@ declare function setTournamentStartDate({ tournamentRecord, startDate }: {
|
|
|
9385
9385
|
tournamentRecord: any;
|
|
9386
9386
|
startDate: any;
|
|
9387
9387
|
}): (ResultType & {
|
|
9388
|
-
unscheduledMatchUpIds?: string[]
|
|
9389
|
-
datesRemoved?: string[]
|
|
9390
|
-
datesAdded?: string[]
|
|
9388
|
+
unscheduledMatchUpIds?: string[];
|
|
9389
|
+
datesRemoved?: string[];
|
|
9390
|
+
datesAdded?: string[];
|
|
9391
9391
|
}) | {
|
|
9392
9392
|
error: {
|
|
9393
9393
|
message: string;
|
|
@@ -9398,9 +9398,9 @@ declare function setTournamentEndDate({ tournamentRecord, endDate }: {
|
|
|
9398
9398
|
tournamentRecord: any;
|
|
9399
9399
|
endDate: any;
|
|
9400
9400
|
}): (ResultType & {
|
|
9401
|
-
unscheduledMatchUpIds?: string[]
|
|
9402
|
-
datesRemoved?: string[]
|
|
9403
|
-
datesAdded?: string[]
|
|
9401
|
+
unscheduledMatchUpIds?: string[];
|
|
9402
|
+
datesRemoved?: string[];
|
|
9403
|
+
datesAdded?: string[];
|
|
9404
9404
|
}) | {
|
|
9405
9405
|
error: {
|
|
9406
9406
|
message: string;
|
|
@@ -9445,8 +9445,8 @@ declare function addTournamentExtension(params: AddExtensionArgs): {
|
|
|
9445
9445
|
error?: ErrorType;
|
|
9446
9446
|
};
|
|
9447
9447
|
declare function addDrawDefinitionExtension(params: AddExtensionArgs): {
|
|
9448
|
-
success?: boolean
|
|
9449
|
-
error?: ErrorType
|
|
9448
|
+
success?: boolean;
|
|
9449
|
+
error?: ErrorType;
|
|
9450
9450
|
} | {
|
|
9451
9451
|
error: {
|
|
9452
9452
|
message: string;
|
|
@@ -9454,8 +9454,8 @@ declare function addDrawDefinitionExtension(params: AddExtensionArgs): {
|
|
|
9454
9454
|
};
|
|
9455
9455
|
};
|
|
9456
9456
|
declare function addEventExtension(params: AddExtensionArgs): {
|
|
9457
|
-
success?: boolean
|
|
9458
|
-
error?: ErrorType
|
|
9457
|
+
success?: boolean;
|
|
9458
|
+
error?: ErrorType;
|
|
9459
9459
|
} | {
|
|
9460
9460
|
error: {
|
|
9461
9461
|
message: string;
|
|
@@ -9463,8 +9463,8 @@ declare function addEventExtension(params: AddExtensionArgs): {
|
|
|
9463
9463
|
};
|
|
9464
9464
|
};
|
|
9465
9465
|
declare function addParticipantExtension(params?: any): {
|
|
9466
|
-
success?: boolean
|
|
9467
|
-
error?: ErrorType
|
|
9466
|
+
success?: boolean;
|
|
9467
|
+
error?: ErrorType;
|
|
9468
9468
|
} | {
|
|
9469
9469
|
error: {
|
|
9470
9470
|
message: string;
|
|
@@ -9477,8 +9477,8 @@ declare function removeTournamentExtension(params: any): {
|
|
|
9477
9477
|
info?: any;
|
|
9478
9478
|
};
|
|
9479
9479
|
declare function removeDrawDefinitionExtension(params: any): {
|
|
9480
|
-
success?: boolean
|
|
9481
|
-
error?: ErrorType
|
|
9480
|
+
success?: boolean;
|
|
9481
|
+
error?: ErrorType;
|
|
9482
9482
|
info?: any;
|
|
9483
9483
|
} | {
|
|
9484
9484
|
error: {
|
|
@@ -9487,8 +9487,8 @@ declare function removeDrawDefinitionExtension(params: any): {
|
|
|
9487
9487
|
};
|
|
9488
9488
|
};
|
|
9489
9489
|
declare function removeEventExtension(params: any): {
|
|
9490
|
-
success?: boolean
|
|
9491
|
-
error?: ErrorType
|
|
9490
|
+
success?: boolean;
|
|
9491
|
+
error?: ErrorType;
|
|
9492
9492
|
info?: any;
|
|
9493
9493
|
} | {
|
|
9494
9494
|
error: {
|
|
@@ -9497,8 +9497,8 @@ declare function removeEventExtension(params: any): {
|
|
|
9497
9497
|
};
|
|
9498
9498
|
};
|
|
9499
9499
|
declare function removeParticipantExtension(params?: any): {
|
|
9500
|
-
success?: boolean
|
|
9501
|
-
error?: ErrorType
|
|
9500
|
+
success?: boolean;
|
|
9501
|
+
error?: ErrorType;
|
|
9502
9502
|
info?: any;
|
|
9503
9503
|
} | {
|
|
9504
9504
|
error: {
|
|
@@ -9616,8 +9616,8 @@ declare function deleteVenues({ tournamentRecord, venueIds, force }: {
|
|
|
9616
9616
|
venueIds: any;
|
|
9617
9617
|
force: any;
|
|
9618
9618
|
}): {
|
|
9619
|
-
success?: boolean
|
|
9620
|
-
error?: ErrorType
|
|
9619
|
+
success?: boolean;
|
|
9620
|
+
error?: ErrorType;
|
|
9621
9621
|
} | {
|
|
9622
9622
|
error: {
|
|
9623
9623
|
message: string;
|
|
@@ -9730,7 +9730,7 @@ type ACArgs = AddCourtsArgs & {
|
|
|
9730
9730
|
venueId: string;
|
|
9731
9731
|
};
|
|
9732
9732
|
declare function addCourts(params: ACArgs): (ResultType & {
|
|
9733
|
-
courts?: Court[]
|
|
9733
|
+
courts?: Court[];
|
|
9734
9734
|
}) | {
|
|
9735
9735
|
error: {
|
|
9736
9736
|
message: string;
|
|
@@ -9764,7 +9764,7 @@ type DisableCourtsArgs = {
|
|
|
9764
9764
|
dates?: string[];
|
|
9765
9765
|
};
|
|
9766
9766
|
declare function disableCourts(params: DisableCourtsArgs): ResultType & {
|
|
9767
|
-
valid?: boolean
|
|
9767
|
+
valid?: boolean;
|
|
9768
9768
|
};
|
|
9769
9769
|
|
|
9770
9770
|
type DisableVenuesArgs = {
|
|
@@ -9773,11 +9773,11 @@ type DisableVenuesArgs = {
|
|
|
9773
9773
|
venueIds: string[];
|
|
9774
9774
|
};
|
|
9775
9775
|
declare function disableVenues(params: DisableVenuesArgs): ResultType & {
|
|
9776
|
-
valid?: boolean
|
|
9776
|
+
valid?: boolean;
|
|
9777
9777
|
};
|
|
9778
9778
|
|
|
9779
9779
|
declare function enableCourts(params: any): ResultType & {
|
|
9780
|
-
valid?: boolean
|
|
9780
|
+
valid?: boolean;
|
|
9781
9781
|
};
|
|
9782
9782
|
|
|
9783
9783
|
type EnableVenuesArgs = {
|
|
@@ -9786,7 +9786,7 @@ type EnableVenuesArgs = {
|
|
|
9786
9786
|
venueIds: string[];
|
|
9787
9787
|
};
|
|
9788
9788
|
declare function enableVenues(params: EnableVenuesArgs): ResultType & {
|
|
9789
|
-
valid?: boolean
|
|
9789
|
+
valid?: boolean;
|
|
9790
9790
|
};
|
|
9791
9791
|
|
|
9792
9792
|
type DeleteCourtArgs = {
|
|
@@ -9817,9 +9817,9 @@ type ModifyVenueArgs = {
|
|
|
9817
9817
|
force?: boolean;
|
|
9818
9818
|
};
|
|
9819
9819
|
declare function modifyVenue(params: ModifyVenueArgs): {
|
|
9820
|
-
error?: ErrorType
|
|
9821
|
-
success?: boolean
|
|
9822
|
-
venue?: Venue
|
|
9820
|
+
error?: ErrorType;
|
|
9821
|
+
success?: boolean;
|
|
9822
|
+
venue?: Venue;
|
|
9823
9823
|
} | {
|
|
9824
9824
|
error: any;
|
|
9825
9825
|
};
|
|
@@ -10095,7 +10095,7 @@ type DeepCopyAttributes = {
|
|
|
10095
10095
|
};
|
|
10096
10096
|
declare function setDeepCopy(value: boolean, attributes: DeepCopyAttributes): void;
|
|
10097
10097
|
declare function deepCopyEnabled(): {
|
|
10098
|
-
threshold?: number
|
|
10098
|
+
threshold?: number;
|
|
10099
10099
|
modulate?: any;
|
|
10100
10100
|
stringify: string[];
|
|
10101
10101
|
ignore: any;
|