tods-competition-factory 2.0.31 → 2.0.33
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 +6 -6
- package/dist/tods-competition-factory.d.ts +103 -357
- package/dist/tods-competition-factory.development.cjs.js +497 -301
- 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 +11 -11
|
@@ -994,6 +994,7 @@ interface Participant {
|
|
|
994
994
|
contacts?: Contact[];
|
|
995
995
|
createdAt?: Date | string;
|
|
996
996
|
extensions?: Extension[];
|
|
997
|
+
homeVenueIds?: string[];
|
|
997
998
|
individualParticipantIds?: string[];
|
|
998
999
|
isMock?: boolean;
|
|
999
1000
|
notes?: string;
|
|
@@ -3357,11 +3358,15 @@ type TimeItemResult = {
|
|
|
3357
3358
|
};
|
|
3358
3359
|
type TimeItemArgs = {
|
|
3359
3360
|
returnPreviousValues?: boolean;
|
|
3361
|
+
tournamentRecord?: Tournament;
|
|
3362
|
+
drawDefinition?: DrawDefinition;
|
|
3360
3363
|
itemSubTypes?: string[];
|
|
3364
|
+
participantId?: string;
|
|
3361
3365
|
itemType: string;
|
|
3366
|
+
event?: Event$1;
|
|
3362
3367
|
element: any;
|
|
3363
3368
|
};
|
|
3364
|
-
declare function getTimeItem(
|
|
3369
|
+
declare function getTimeItem(params: TimeItemArgs): TimeItemResult & ResultType;
|
|
3365
3370
|
declare function getDrawDefinitionTimeItem({ returnPreviousValues, drawDefinition, itemSubTypes, itemType }: {
|
|
3366
3371
|
returnPreviousValues: any;
|
|
3367
3372
|
drawDefinition: any;
|
|
@@ -4229,10 +4234,7 @@ declare function deleteFlightProfileAndFlightDraws({ autoPublish, tournamentReco
|
|
|
4229
4234
|
error?: ErrorType | undefined;
|
|
4230
4235
|
info?: any;
|
|
4231
4236
|
} | {
|
|
4232
|
-
error:
|
|
4233
|
-
message: string;
|
|
4234
|
-
code: string;
|
|
4235
|
-
};
|
|
4237
|
+
error: any;
|
|
4236
4238
|
};
|
|
4237
4239
|
|
|
4238
4240
|
type ModifyEventMatchUpFormatTimingArgs = {
|
|
@@ -4327,10 +4329,7 @@ declare function deleteFlightAndFlightDraw({ autoPublish, tournamentRecord, audi
|
|
|
4327
4329
|
event: any;
|
|
4328
4330
|
force: any;
|
|
4329
4331
|
}): ResultType | {
|
|
4330
|
-
error:
|
|
4331
|
-
message: string;
|
|
4332
|
-
code: string;
|
|
4333
|
-
};
|
|
4332
|
+
error: any;
|
|
4334
4333
|
} | {
|
|
4335
4334
|
success: boolean;
|
|
4336
4335
|
error?: undefined;
|
|
@@ -4418,10 +4417,7 @@ type DeleteDrawDefinitionArgs = {
|
|
|
4418
4417
|
event?: Event$1;
|
|
4419
4418
|
};
|
|
4420
4419
|
declare function deleteDrawDefinitions(params: DeleteDrawDefinitionArgs): ResultType | {
|
|
4421
|
-
error:
|
|
4422
|
-
message: string;
|
|
4423
|
-
code: string;
|
|
4424
|
-
};
|
|
4420
|
+
error: any;
|
|
4425
4421
|
};
|
|
4426
4422
|
|
|
4427
4423
|
type AssignSeedPositionsArgs = {
|
|
@@ -4563,12 +4559,14 @@ type ModifyEventArgs = {
|
|
|
4563
4559
|
eventUpdates: {
|
|
4564
4560
|
eventType?: EventTypeUnion;
|
|
4565
4561
|
gender?: GenderUnion;
|
|
4562
|
+
startDate?: string;
|
|
4563
|
+
endDate?: string;
|
|
4566
4564
|
eventName?: string;
|
|
4567
4565
|
};
|
|
4568
4566
|
eventId: string;
|
|
4569
4567
|
event: Event$1;
|
|
4570
4568
|
};
|
|
4571
|
-
declare function modifyEvent(
|
|
4569
|
+
declare function modifyEvent(params: ModifyEventArgs): ResultType;
|
|
4572
4570
|
|
|
4573
4571
|
type AddFlightArgs = {
|
|
4574
4572
|
qualifyingPositions?: number;
|
|
@@ -6088,15 +6086,23 @@ declare namespace index$e {
|
|
|
6088
6086
|
declare function generateOutcomeFromScoreString(params: any): any;
|
|
6089
6087
|
|
|
6090
6088
|
type GenerateTournamentRecordArgs = {
|
|
6089
|
+
participantsProfile?: ParticipantsProfile;
|
|
6091
6090
|
scheduleCompletedMatchUps?: boolean;
|
|
6092
6091
|
tournamentExtensions?: Extension[];
|
|
6092
|
+
policyDefinitions: PolicyDefinitions;
|
|
6093
6093
|
completeAllMatchUps?: boolean;
|
|
6094
|
+
tournamentAttributes?: any;
|
|
6095
|
+
ratingsParameters?: any;
|
|
6094
6096
|
tournamentName?: string;
|
|
6097
|
+
schedulingProfile?: any;
|
|
6095
6098
|
autoSchedule?: boolean;
|
|
6099
|
+
leagueProfiles?: any[];
|
|
6100
|
+
eventProfiles?: any[];
|
|
6101
|
+
venueProfiles?: any[];
|
|
6102
|
+
drawProfiles?: any[];
|
|
6096
6103
|
startDate?: string;
|
|
6097
6104
|
endDate?: string;
|
|
6098
6105
|
uuids?: string[];
|
|
6099
|
-
[key: string]: any;
|
|
6100
6106
|
};
|
|
6101
6107
|
declare function generateTournamentRecord(params: GenerateTournamentRecordArgs): any;
|
|
6102
6108
|
|
|
@@ -6295,44 +6301,7 @@ declare function modifyParticipantsSignInStatus({ tournamentRecord, participantI
|
|
|
6295
6301
|
tournamentRecord: any;
|
|
6296
6302
|
participantIds: any;
|
|
6297
6303
|
signInState: any;
|
|
6298
|
-
}):
|
|
6299
|
-
participant?: Participant | undefined;
|
|
6300
|
-
tournamentId?: string | undefined;
|
|
6301
|
-
error?: ErrorType | undefined;
|
|
6302
|
-
} | {
|
|
6303
|
-
error: {
|
|
6304
|
-
message: string;
|
|
6305
|
-
code: string;
|
|
6306
|
-
};
|
|
6307
|
-
info?: undefined;
|
|
6308
|
-
} | {
|
|
6309
|
-
error: {
|
|
6310
|
-
message: string;
|
|
6311
|
-
code: string;
|
|
6312
|
-
};
|
|
6313
|
-
info: string;
|
|
6314
|
-
} | {
|
|
6315
|
-
error: {
|
|
6316
|
-
message: string;
|
|
6317
|
-
code: string;
|
|
6318
|
-
};
|
|
6319
|
-
signInState: any;
|
|
6320
|
-
context?: undefined;
|
|
6321
|
-
} | {
|
|
6322
|
-
error: {
|
|
6323
|
-
message: string;
|
|
6324
|
-
code: string;
|
|
6325
|
-
};
|
|
6326
|
-
context: {
|
|
6327
|
-
invalidParticipantIds: any[];
|
|
6328
|
-
};
|
|
6329
|
-
signInState?: undefined;
|
|
6330
|
-
} | {
|
|
6331
|
-
success: boolean;
|
|
6332
|
-
error?: undefined;
|
|
6333
|
-
signInState?: undefined;
|
|
6334
|
-
context?: undefined;
|
|
6335
|
-
};
|
|
6304
|
+
}): any;
|
|
6336
6305
|
|
|
6337
6306
|
type AddIndividualParticipantIdsType = {
|
|
6338
6307
|
individualParticipantIds: string[];
|
|
@@ -7854,6 +7823,10 @@ declare namespace index$8 {
|
|
|
7854
7823
|
export { index$8_getEntryStatusReports as getEntryStatusReports, index$8_getParticipantStats as getParticipantStats, index$8_getStructureReports as getStructureReports, index$8_getVenuesReport as getVenuesReport };
|
|
7855
7824
|
}
|
|
7856
7825
|
|
|
7826
|
+
declare function setMatchUpHomeParticipantId(params: AddScheduleAttributeArgs & {
|
|
7827
|
+
homeParticipantId?: string;
|
|
7828
|
+
}): ResultType;
|
|
7829
|
+
|
|
7857
7830
|
type CalculateScheduleTimesArgs = {
|
|
7858
7831
|
tournamentRecords: {
|
|
7859
7832
|
[key: string]: Tournament;
|
|
@@ -7878,6 +7851,10 @@ declare function calculateScheduleTimes({ calculateStartTimeFromCourts, defaultR
|
|
|
7878
7851
|
venueId?: string;
|
|
7879
7852
|
};
|
|
7880
7853
|
|
|
7854
|
+
declare function addMatchUpScheduledDate({ scheduledDate: dateToSchedule, removePriorValues, tournamentRecord, drawDefinition, disableNotice, matchUpId, }: AddScheduleAttributeArgs & {
|
|
7855
|
+
scheduledDate?: string;
|
|
7856
|
+
}): ResultType;
|
|
7857
|
+
|
|
7881
7858
|
type BulkScheduleMachUpsArgs = {
|
|
7882
7859
|
tournamentRecords?: {
|
|
7883
7860
|
[key: string]: Tournament;
|
|
@@ -7899,49 +7876,7 @@ declare function bulkScheduleTournamentMatchUps({ scheduleCompletedMatchUps, sch
|
|
|
7899
7876
|
warnings?: any[];
|
|
7900
7877
|
};
|
|
7901
7878
|
|
|
7902
|
-
declare function
|
|
7903
|
-
error: {
|
|
7904
|
-
message: string;
|
|
7905
|
-
code: string;
|
|
7906
|
-
};
|
|
7907
|
-
courts: any;
|
|
7908
|
-
virtualCourts?: undefined;
|
|
7909
|
-
assignedBookings?: undefined;
|
|
7910
|
-
} | {
|
|
7911
|
-
error: {
|
|
7912
|
-
message: string;
|
|
7913
|
-
code: string;
|
|
7914
|
-
};
|
|
7915
|
-
courts?: undefined;
|
|
7916
|
-
virtualCourts?: undefined;
|
|
7917
|
-
assignedBookings?: undefined;
|
|
7918
|
-
} | {
|
|
7919
|
-
virtualCourts: any[];
|
|
7920
|
-
assignedBookings: any[];
|
|
7921
|
-
error?: undefined;
|
|
7922
|
-
courts?: undefined;
|
|
7923
|
-
};
|
|
7924
|
-
|
|
7925
|
-
declare function removeMatchUpCourtAssignment(params: any): {
|
|
7926
|
-
error: {
|
|
7927
|
-
message: string;
|
|
7928
|
-
code: string;
|
|
7929
|
-
};
|
|
7930
|
-
info?: undefined;
|
|
7931
|
-
} | {
|
|
7932
|
-
error: {
|
|
7933
|
-
message: string;
|
|
7934
|
-
code: string;
|
|
7935
|
-
};
|
|
7936
|
-
info: string;
|
|
7937
|
-
} | {
|
|
7938
|
-
matchUp?: HydratedMatchUp | undefined;
|
|
7939
|
-
structure?: Structure | undefined;
|
|
7940
|
-
error?: ErrorType | undefined;
|
|
7941
|
-
} | {
|
|
7942
|
-
error?: ErrorType | undefined;
|
|
7943
|
-
success?: boolean | undefined;
|
|
7944
|
-
};
|
|
7879
|
+
declare function removeMatchUpCourtAssignment(params: any): any;
|
|
7945
7880
|
|
|
7946
7881
|
type ProAutoScheduleArgs = {
|
|
7947
7882
|
tournamentRecords: {
|
|
@@ -8013,38 +7948,7 @@ type AllocateTeamMatchUpCourtsArgs = {
|
|
|
8013
7948
|
matchUpId: string;
|
|
8014
7949
|
courtIds: any;
|
|
8015
7950
|
};
|
|
8016
|
-
declare function allocateTeamMatchUpCourts({ removePriorValues, tournamentRecords, tournamentRecord, drawDefinition, disableNotice, courtDayDate, matchUpId, courtIds, }: AllocateTeamMatchUpCourtsArgs):
|
|
8017
|
-
error: {
|
|
8018
|
-
message: string;
|
|
8019
|
-
code: string;
|
|
8020
|
-
};
|
|
8021
|
-
info?: undefined;
|
|
8022
|
-
} | {
|
|
8023
|
-
error: {
|
|
8024
|
-
message: string;
|
|
8025
|
-
code: string;
|
|
8026
|
-
};
|
|
8027
|
-
info: string;
|
|
8028
|
-
} | {
|
|
8029
|
-
success: boolean;
|
|
8030
|
-
error?: undefined;
|
|
8031
|
-
info?: undefined;
|
|
8032
|
-
} | {
|
|
8033
|
-
matchUp?: HydratedMatchUp | undefined;
|
|
8034
|
-
structure?: Structure | undefined;
|
|
8035
|
-
error?: ErrorType | undefined;
|
|
8036
|
-
} | (ResultType & {
|
|
8037
|
-
venues?: HydratedVenue[] | undefined;
|
|
8038
|
-
courts?: HydratedCourt[] | undefined;
|
|
8039
|
-
}) | {
|
|
8040
|
-
error: {
|
|
8041
|
-
message: string;
|
|
8042
|
-
code: string;
|
|
8043
|
-
};
|
|
8044
|
-
context: {
|
|
8045
|
-
courtIds: any;
|
|
8046
|
-
};
|
|
8047
|
-
};
|
|
7951
|
+
declare function allocateTeamMatchUpCourts({ removePriorValues, tournamentRecords, tournamentRecord, drawDefinition, disableNotice, courtDayDate, matchUpId, courtIds, }: AllocateTeamMatchUpCourtsArgs): any;
|
|
8048
7952
|
|
|
8049
7953
|
declare function scheduleMatchUps(params: any): (ResultType & {
|
|
8050
7954
|
valid?: boolean | undefined;
|
|
@@ -8063,41 +7967,6 @@ declare function scheduleMatchUps(params: any): (ResultType & {
|
|
|
8063
7967
|
success: boolean;
|
|
8064
7968
|
};
|
|
8065
7969
|
|
|
8066
|
-
type GenerateBookingsArgs = {
|
|
8067
|
-
tournamentRecords: {
|
|
8068
|
-
[key: string]: Tournament;
|
|
8069
|
-
};
|
|
8070
|
-
dateScheduledMatchUps?: HydratedMatchUp[];
|
|
8071
|
-
defaultRecoveryMinutes?: number;
|
|
8072
|
-
averageMatchUpMinutes?: number;
|
|
8073
|
-
matchUps?: HydratedMatchUp[];
|
|
8074
|
-
periodLength?: number;
|
|
8075
|
-
scheduleDate?: string;
|
|
8076
|
-
venueIds?: string[];
|
|
8077
|
-
};
|
|
8078
|
-
declare function generateBookings({ defaultRecoveryMinutes, averageMatchUpMinutes, dateScheduledMatchUps, tournamentRecords, venueIds, periodLength, scheduleDate, matchUps, }: GenerateBookingsArgs): {
|
|
8079
|
-
error: {
|
|
8080
|
-
message: string;
|
|
8081
|
-
code: string;
|
|
8082
|
-
};
|
|
8083
|
-
bookings?: undefined;
|
|
8084
|
-
relevantMatchUps?: undefined;
|
|
8085
|
-
dateScheduledMatchUps?: undefined;
|
|
8086
|
-
} | {
|
|
8087
|
-
bookings: {
|
|
8088
|
-
recoveryMinutes: number | undefined;
|
|
8089
|
-
averageMinutes: number | undefined;
|
|
8090
|
-
periodLength: number | undefined;
|
|
8091
|
-
startTime: any;
|
|
8092
|
-
courtId: any;
|
|
8093
|
-
endTime: any;
|
|
8094
|
-
venueId: any;
|
|
8095
|
-
}[] | undefined;
|
|
8096
|
-
relevantMatchUps: HydratedMatchUp[] | undefined;
|
|
8097
|
-
dateScheduledMatchUps: HydratedMatchUp[] | undefined;
|
|
8098
|
-
error?: undefined;
|
|
8099
|
-
};
|
|
8100
|
-
|
|
8101
7970
|
declare function addSchedulingProfileRound({ tournamentRecords, scheduleDate, venueId, round }: {
|
|
8102
7971
|
tournamentRecords: any;
|
|
8103
7972
|
scheduleDate: any;
|
|
@@ -8127,6 +7996,29 @@ declare function reorderUpcomingMatchUps(params: any): {
|
|
|
8127
7996
|
success: boolean;
|
|
8128
7997
|
} | ResultType;
|
|
8129
7998
|
|
|
7999
|
+
declare function generateVirtualCourts(params: any): {
|
|
8000
|
+
error: {
|
|
8001
|
+
message: string;
|
|
8002
|
+
code: string;
|
|
8003
|
+
};
|
|
8004
|
+
courts: any;
|
|
8005
|
+
virtualCourts?: undefined;
|
|
8006
|
+
assignedBookings?: undefined;
|
|
8007
|
+
} | {
|
|
8008
|
+
error: {
|
|
8009
|
+
message: string;
|
|
8010
|
+
code: string;
|
|
8011
|
+
};
|
|
8012
|
+
courts?: undefined;
|
|
8013
|
+
virtualCourts?: undefined;
|
|
8014
|
+
assignedBookings?: undefined;
|
|
8015
|
+
} | {
|
|
8016
|
+
virtualCourts: any[];
|
|
8017
|
+
assignedBookings: any[];
|
|
8018
|
+
error?: undefined;
|
|
8019
|
+
courts?: undefined;
|
|
8020
|
+
};
|
|
8021
|
+
|
|
8130
8022
|
type BulkRescheduleMatchUpsArgs = {
|
|
8131
8023
|
tournamentRecords: TournamentRecords;
|
|
8132
8024
|
tournamentRecord: Tournament;
|
|
@@ -8305,26 +8197,41 @@ type AssignMatchUpVenueArgs = {
|
|
|
8305
8197
|
matchUpId: string;
|
|
8306
8198
|
venueId?: string;
|
|
8307
8199
|
};
|
|
8308
|
-
declare function assignMatchUpVenue({ removePriorValues, tournamentRecords, tournamentRecord, drawDefinition, disableNotice, matchUpId, venueId, }: AssignMatchUpVenueArgs):
|
|
8309
|
-
|
|
8310
|
-
|
|
8311
|
-
|
|
8312
|
-
|
|
8313
|
-
error: {
|
|
8314
|
-
message: string;
|
|
8315
|
-
code: string;
|
|
8200
|
+
declare function assignMatchUpVenue({ removePriorValues, tournamentRecords, tournamentRecord, drawDefinition, disableNotice, matchUpId, venueId, }: AssignMatchUpVenueArgs): any;
|
|
8201
|
+
|
|
8202
|
+
type GenerateBookingsArgs = {
|
|
8203
|
+
tournamentRecords: {
|
|
8204
|
+
[key: string]: Tournament;
|
|
8316
8205
|
};
|
|
8317
|
-
|
|
8318
|
-
|
|
8206
|
+
dateScheduledMatchUps?: HydratedMatchUp[];
|
|
8207
|
+
defaultRecoveryMinutes?: number;
|
|
8208
|
+
averageMatchUpMinutes?: number;
|
|
8209
|
+
matchUps?: HydratedMatchUp[];
|
|
8210
|
+
periodLength?: number;
|
|
8211
|
+
scheduleDate?: string;
|
|
8212
|
+
venueIds?: string[];
|
|
8213
|
+
};
|
|
8214
|
+
declare function generateBookings({ defaultRecoveryMinutes, averageMatchUpMinutes, dateScheduledMatchUps, tournamentRecords, venueIds, periodLength, scheduleDate, matchUps, }: GenerateBookingsArgs): {
|
|
8319
8215
|
error: {
|
|
8320
8216
|
message: string;
|
|
8321
8217
|
code: string;
|
|
8322
8218
|
};
|
|
8323
|
-
|
|
8219
|
+
bookings?: undefined;
|
|
8220
|
+
relevantMatchUps?: undefined;
|
|
8221
|
+
dateScheduledMatchUps?: undefined;
|
|
8324
8222
|
} | {
|
|
8325
|
-
|
|
8223
|
+
bookings: {
|
|
8224
|
+
recoveryMinutes: number | undefined;
|
|
8225
|
+
averageMinutes: number | undefined;
|
|
8226
|
+
periodLength: number | undefined;
|
|
8227
|
+
startTime: any;
|
|
8228
|
+
courtId: any;
|
|
8229
|
+
endTime: any;
|
|
8230
|
+
venueId: any;
|
|
8231
|
+
}[] | undefined;
|
|
8232
|
+
relevantMatchUps: HydratedMatchUp[] | undefined;
|
|
8233
|
+
dateScheduledMatchUps: HydratedMatchUp[] | undefined;
|
|
8326
8234
|
error?: undefined;
|
|
8327
|
-
info?: undefined;
|
|
8328
8235
|
};
|
|
8329
8236
|
|
|
8330
8237
|
declare function validateSchedulingProfile({ tournamentRecords, schedulingProfile }: {
|
|
@@ -8394,131 +8301,32 @@ type AddMatchUpScheduleItemsArgs = {
|
|
|
8394
8301
|
schedule: any;
|
|
8395
8302
|
event?: Event$1;
|
|
8396
8303
|
};
|
|
8397
|
-
declare function addMatchUpScheduleItems(
|
|
8304
|
+
declare function addMatchUpScheduleItems(params: AddMatchUpScheduleItemsArgs): {
|
|
8398
8305
|
error?: ErrorType;
|
|
8399
8306
|
success?: boolean;
|
|
8400
8307
|
warnings?: any[];
|
|
8401
8308
|
info?: any;
|
|
8402
8309
|
};
|
|
8403
|
-
declare function addMatchUpScheduledDate({ scheduledDate: dateToSchedule, removePriorValues, tournamentRecord, drawDefinition, disableNotice, matchUpId, }: AddScheduleAttributeArgs & {
|
|
8404
|
-
scheduledDate?: string;
|
|
8405
|
-
}): ResultType;
|
|
8406
8310
|
declare function addMatchUpCourtOrder({ removePriorValues, tournamentRecord, drawDefinition, disableNotice, courtOrder, matchUpId, }: AddScheduleAttributeArgs & {
|
|
8407
8311
|
courtOrder?: number;
|
|
8408
|
-
}):
|
|
8409
|
-
error: {
|
|
8410
|
-
message: string;
|
|
8411
|
-
code: string;
|
|
8412
|
-
};
|
|
8413
|
-
info?: undefined;
|
|
8414
|
-
} | {
|
|
8415
|
-
error: {
|
|
8416
|
-
message: string;
|
|
8417
|
-
code: string;
|
|
8418
|
-
};
|
|
8419
|
-
info: string;
|
|
8420
|
-
} | {
|
|
8421
|
-
success: boolean;
|
|
8422
|
-
error?: undefined;
|
|
8423
|
-
info?: undefined;
|
|
8424
|
-
};
|
|
8312
|
+
}): any;
|
|
8425
8313
|
declare function addMatchUpOfficial({ removePriorValues, tournamentRecord, drawDefinition, disableNotice, participantId, officialType, matchUpId, }: AddScheduleAttributeArgs & {
|
|
8426
8314
|
participantId?: string;
|
|
8427
8315
|
officialType?: string;
|
|
8428
|
-
}):
|
|
8429
|
-
error: {
|
|
8430
|
-
message: string;
|
|
8431
|
-
code: string;
|
|
8432
|
-
};
|
|
8433
|
-
info?: undefined;
|
|
8434
|
-
} | {
|
|
8435
|
-
error: {
|
|
8436
|
-
message: string;
|
|
8437
|
-
code: string;
|
|
8438
|
-
};
|
|
8439
|
-
info: string;
|
|
8440
|
-
} | {
|
|
8441
|
-
success: boolean;
|
|
8442
|
-
error?: undefined;
|
|
8443
|
-
info?: undefined;
|
|
8444
|
-
};
|
|
8316
|
+
}): any;
|
|
8445
8317
|
declare function addMatchUpStartTime({ removePriorValues, tournamentRecord, drawDefinition, disableNotice, matchUpId, startTime, event, }: AddScheduleAttributeArgs & {
|
|
8446
8318
|
startTime?: string;
|
|
8447
|
-
}):
|
|
8448
|
-
error: {
|
|
8449
|
-
message: string;
|
|
8450
|
-
code: string;
|
|
8451
|
-
};
|
|
8452
|
-
info?: undefined;
|
|
8453
|
-
} | {
|
|
8454
|
-
error: {
|
|
8455
|
-
message: string;
|
|
8456
|
-
code: string;
|
|
8457
|
-
};
|
|
8458
|
-
info: string;
|
|
8459
|
-
} | {
|
|
8460
|
-
success: boolean;
|
|
8461
|
-
error?: undefined;
|
|
8462
|
-
info?: undefined;
|
|
8463
|
-
};
|
|
8319
|
+
}): any;
|
|
8464
8320
|
declare function addMatchUpEndTime({ validateTimeSeries, removePriorValues, tournamentRecord, drawDefinition, disableNotice, matchUpId, endTime, event, }: AddScheduleAttributeArgs & {
|
|
8465
8321
|
validateTimeSeries?: boolean;
|
|
8466
8322
|
endTime?: string;
|
|
8467
|
-
}):
|
|
8468
|
-
error: {
|
|
8469
|
-
message: string;
|
|
8470
|
-
code: string;
|
|
8471
|
-
};
|
|
8472
|
-
info?: undefined;
|
|
8473
|
-
} | {
|
|
8474
|
-
error: {
|
|
8475
|
-
message: string;
|
|
8476
|
-
code: string;
|
|
8477
|
-
};
|
|
8478
|
-
info: string;
|
|
8479
|
-
} | {
|
|
8480
|
-
success: boolean;
|
|
8481
|
-
error?: undefined;
|
|
8482
|
-
info?: undefined;
|
|
8483
|
-
};
|
|
8323
|
+
}): any;
|
|
8484
8324
|
declare function addMatchUpStopTime({ removePriorValues, tournamentRecord, drawDefinition, disableNotice, matchUpId, stopTime, event, }: AddScheduleAttributeArgs & {
|
|
8485
8325
|
stopTime?: string;
|
|
8486
|
-
}):
|
|
8487
|
-
error: {
|
|
8488
|
-
message: string;
|
|
8489
|
-
code: string;
|
|
8490
|
-
};
|
|
8491
|
-
info?: undefined;
|
|
8492
|
-
} | {
|
|
8493
|
-
error: {
|
|
8494
|
-
message: string;
|
|
8495
|
-
code: string;
|
|
8496
|
-
};
|
|
8497
|
-
info: string;
|
|
8498
|
-
} | {
|
|
8499
|
-
success: boolean;
|
|
8500
|
-
error?: undefined;
|
|
8501
|
-
info?: undefined;
|
|
8502
|
-
};
|
|
8326
|
+
}): any;
|
|
8503
8327
|
declare function addMatchUpResumeTime({ removePriorValues, tournamentRecord, drawDefinition, disableNotice, resumeTime, matchUpId, event, }: AddScheduleAttributeArgs & {
|
|
8504
8328
|
resumeTime?: string;
|
|
8505
|
-
}):
|
|
8506
|
-
error: {
|
|
8507
|
-
message: string;
|
|
8508
|
-
code: string;
|
|
8509
|
-
};
|
|
8510
|
-
info?: undefined;
|
|
8511
|
-
} | {
|
|
8512
|
-
error: {
|
|
8513
|
-
message: string;
|
|
8514
|
-
code: string;
|
|
8515
|
-
};
|
|
8516
|
-
info: string;
|
|
8517
|
-
} | {
|
|
8518
|
-
success: boolean;
|
|
8519
|
-
error?: undefined;
|
|
8520
|
-
info?: undefined;
|
|
8521
|
-
};
|
|
8329
|
+
}): any;
|
|
8522
8330
|
|
|
8523
8331
|
declare const mutate$4_addMatchUpCourtOrder: typeof addMatchUpCourtOrder;
|
|
8524
8332
|
declare const mutate$4_addMatchUpEndTime: typeof addMatchUpEndTime;
|
|
@@ -8556,11 +8364,12 @@ declare const mutate$4_reorderUpcomingMatchUps: typeof reorderUpcomingMatchUps;
|
|
|
8556
8364
|
declare const mutate$4_scheduleMatchUps: typeof scheduleMatchUps;
|
|
8557
8365
|
declare const mutate$4_scheduleProfileRounds: typeof scheduleProfileRounds;
|
|
8558
8366
|
declare const mutate$4_setMatchUpDailyLimits: typeof setMatchUpDailyLimits;
|
|
8367
|
+
declare const mutate$4_setMatchUpHomeParticipantId: typeof setMatchUpHomeParticipantId;
|
|
8559
8368
|
declare const mutate$4_setSchedulingProfile: typeof setSchedulingProfile;
|
|
8560
8369
|
declare const mutate$4_toggleParticipantCheckInState: typeof toggleParticipantCheckInState;
|
|
8561
8370
|
declare const mutate$4_validateSchedulingProfile: typeof validateSchedulingProfile;
|
|
8562
8371
|
declare namespace mutate$4 {
|
|
8563
|
-
export { mutate$4_addMatchUpCourtOrder as addMatchUpCourtOrder, mutate$4_addMatchUpEndTime as addMatchUpEndTime, mutate$4_addMatchUpOfficial as addMatchUpOfficial, mutate$4_addMatchUpResumeTime as addMatchUpResumeTime, mutate$4_addMatchUpScheduleItems as addMatchUpScheduleItems, mutate$4_addMatchUpScheduledDate as addMatchUpScheduledDate, mutate$4_addMatchUpScheduledTime as addMatchUpScheduledTime, mutate$4_addMatchUpStartTime as addMatchUpStartTime, mutate$4_addMatchUpStopTime as addMatchUpStopTime, mutate$4_addSchedulingProfileRound as addSchedulingProfileRound, mutate$4_allocateTeamMatchUpCourts as allocateTeamMatchUpCourts, mutate$4_assignMatchUpCourt as assignMatchUpCourt, mutate$4_assignMatchUpVenue as assignMatchUpVenue, mutate$4_bulkRescheduleMatchUps as bulkRescheduleMatchUps, mutate$4_bulkScheduleMatchUps as bulkScheduleMatchUps, mutate$4_bulkScheduleTournamentMatchUps as bulkScheduleTournamentMatchUps, mutate$4_bulkUpdateCourtAssignments as bulkUpdateCourtAssignments, mutate$4_calculateScheduleTimes as calculateScheduleTimes, mutate$4_clearMatchUpSchedule as clearMatchUpSchedule, mutate$4_clearScheduledMatchUps as clearScheduledMatchUps, mutate$4_courtGridRows as courtGridRows, mutate$4_findMatchUpFormatTiming as findMatchUpFormatTiming, mutate$4_findVenue as findVenue, mutate$4_generateBookings as generateBookings, mutate$4_generateVirtualCourts as generateVirtualCourts, mutate$4_matchUpScheduleChange as matchUpScheduleChange, mutate$4_modifyMatchUpFormatTiming as modifyMatchUpFormatTiming, mutate$4_proAutoSchedule as proAutoSchedule, mutate$4_proConflicts as proConflicts, mutate$4_publicFindCourt as publicFindCourt, mutate$4_removeEventMatchUpFormatTiming as removeEventMatchUpFormatTiming, mutate$4_removeMatchUpCourtAssignment as removeMatchUpCourtAssignment, mutate$4_reorderUpcomingMatchUps as reorderUpcomingMatchUps, mutate$4_scheduleMatchUps as scheduleMatchUps, mutate$4_scheduleProfileRounds as scheduleProfileRounds, mutate$4_setMatchUpDailyLimits as setMatchUpDailyLimits, mutate$4_setSchedulingProfile as setSchedulingProfile, mutate$4_toggleParticipantCheckInState as toggleParticipantCheckInState, mutate$4_validateSchedulingProfile as validateSchedulingProfile };
|
|
8372
|
+
export { mutate$4_addMatchUpCourtOrder as addMatchUpCourtOrder, mutate$4_addMatchUpEndTime as addMatchUpEndTime, mutate$4_addMatchUpOfficial as addMatchUpOfficial, mutate$4_addMatchUpResumeTime as addMatchUpResumeTime, mutate$4_addMatchUpScheduleItems as addMatchUpScheduleItems, mutate$4_addMatchUpScheduledDate as addMatchUpScheduledDate, mutate$4_addMatchUpScheduledTime as addMatchUpScheduledTime, mutate$4_addMatchUpStartTime as addMatchUpStartTime, mutate$4_addMatchUpStopTime as addMatchUpStopTime, mutate$4_addSchedulingProfileRound as addSchedulingProfileRound, mutate$4_allocateTeamMatchUpCourts as allocateTeamMatchUpCourts, mutate$4_assignMatchUpCourt as assignMatchUpCourt, mutate$4_assignMatchUpVenue as assignMatchUpVenue, mutate$4_bulkRescheduleMatchUps as bulkRescheduleMatchUps, mutate$4_bulkScheduleMatchUps as bulkScheduleMatchUps, mutate$4_bulkScheduleTournamentMatchUps as bulkScheduleTournamentMatchUps, mutate$4_bulkUpdateCourtAssignments as bulkUpdateCourtAssignments, mutate$4_calculateScheduleTimes as calculateScheduleTimes, mutate$4_clearMatchUpSchedule as clearMatchUpSchedule, mutate$4_clearScheduledMatchUps as clearScheduledMatchUps, mutate$4_courtGridRows as courtGridRows, mutate$4_findMatchUpFormatTiming as findMatchUpFormatTiming, mutate$4_findVenue as findVenue, mutate$4_generateBookings as generateBookings, mutate$4_generateVirtualCourts as generateVirtualCourts, mutate$4_matchUpScheduleChange as matchUpScheduleChange, mutate$4_modifyMatchUpFormatTiming as modifyMatchUpFormatTiming, mutate$4_proAutoSchedule as proAutoSchedule, mutate$4_proConflicts as proConflicts, mutate$4_publicFindCourt as publicFindCourt, mutate$4_removeEventMatchUpFormatTiming as removeEventMatchUpFormatTiming, mutate$4_removeMatchUpCourtAssignment as removeMatchUpCourtAssignment, mutate$4_reorderUpcomingMatchUps as reorderUpcomingMatchUps, mutate$4_scheduleMatchUps as scheduleMatchUps, mutate$4_scheduleProfileRounds as scheduleProfileRounds, mutate$4_setMatchUpDailyLimits as setMatchUpDailyLimits, mutate$4_setMatchUpHomeParticipantId as setMatchUpHomeParticipantId, mutate$4_setSchedulingProfile as setSchedulingProfile, mutate$4_toggleParticipantCheckInState as toggleParticipantCheckInState, mutate$4_validateSchedulingProfile as validateSchedulingProfile };
|
|
8564
8373
|
}
|
|
8565
8374
|
|
|
8566
8375
|
declare const index$7_addMatchUpCourtOrder: typeof addMatchUpCourtOrder;
|
|
@@ -8604,11 +8413,12 @@ declare const index$7_reorderUpcomingMatchUps: typeof reorderUpcomingMatchUps;
|
|
|
8604
8413
|
declare const index$7_scheduleMatchUps: typeof scheduleMatchUps;
|
|
8605
8414
|
declare const index$7_scheduleProfileRounds: typeof scheduleProfileRounds;
|
|
8606
8415
|
declare const index$7_setMatchUpDailyLimits: typeof setMatchUpDailyLimits;
|
|
8416
|
+
declare const index$7_setMatchUpHomeParticipantId: typeof setMatchUpHomeParticipantId;
|
|
8607
8417
|
declare const index$7_setSchedulingProfile: typeof setSchedulingProfile;
|
|
8608
8418
|
declare const index$7_toggleParticipantCheckInState: typeof toggleParticipantCheckInState;
|
|
8609
8419
|
declare const index$7_validateSchedulingProfile: typeof validateSchedulingProfile;
|
|
8610
8420
|
declare namespace index$7 {
|
|
8611
|
-
export { index$7_addMatchUpCourtOrder as addMatchUpCourtOrder, index$7_addMatchUpEndTime as addMatchUpEndTime, index$7_addMatchUpOfficial as addMatchUpOfficial, index$7_addMatchUpResumeTime as addMatchUpResumeTime, index$7_addMatchUpScheduleItems as addMatchUpScheduleItems, index$7_addMatchUpScheduledDate as addMatchUpScheduledDate, index$7_addMatchUpScheduledTime as addMatchUpScheduledTime, index$7_addMatchUpStartTime as addMatchUpStartTime, index$7_addMatchUpStopTime as addMatchUpStopTime, index$7_addSchedulingProfileRound as addSchedulingProfileRound, index$7_allocateTeamMatchUpCourts as allocateTeamMatchUpCourts, index$7_assignMatchUpCourt as assignMatchUpCourt, index$7_assignMatchUpVenue as assignMatchUpVenue, index$7_bulkRescheduleMatchUps as bulkRescheduleMatchUps, index$7_bulkScheduleMatchUps as bulkScheduleMatchUps, index$7_bulkScheduleTournamentMatchUps as bulkScheduleTournamentMatchUps, index$7_bulkUpdateCourtAssignments as bulkUpdateCourtAssignments, index$7_calculateScheduleTimes as calculateScheduleTimes, index$7_clearMatchUpSchedule as clearMatchUpSchedule, index$7_clearScheduledMatchUps as clearScheduledMatchUps, index$7_courtGridRows as courtGridRows, index$7_findMatchUpFormatTiming as findMatchUpFormatTiming, index$7_findVenue as findVenue, index$7_generateBookings as generateBookings, index$7_generateVirtualCourts as generateVirtualCourts, index$7_getPersonRequests as getPersonRequests, index$7_getProfileRounds as getProfileRounds, index$7_getScheduledRoundsDetails as getScheduledRoundsDetails, index$7_getSchedulingProfile as getSchedulingProfile, index$7_getSchedulingProfileIssues as getSchedulingProfileIssues, index$7_matchUpScheduleChange as matchUpScheduleChange, index$7_modifyMatchUpFormatTiming as modifyMatchUpFormatTiming, mutate$4 as mutate, index$7_proAutoSchedule as proAutoSchedule, index$7_proConflicts as proConflicts, index$7_publicFindCourt as publicFindCourt, query$2 as query, index$7_removeEventMatchUpFormatTiming as removeEventMatchUpFormatTiming, index$7_removeMatchUpCourtAssignment as removeMatchUpCourtAssignment, index$7_reorderUpcomingMatchUps as reorderUpcomingMatchUps, index$7_scheduleMatchUps as scheduleMatchUps, index$7_scheduleProfileRounds as scheduleProfileRounds, index$7_setMatchUpDailyLimits as setMatchUpDailyLimits, index$7_setSchedulingProfile as setSchedulingProfile, index$7_toggleParticipantCheckInState as toggleParticipantCheckInState, index$7_validateSchedulingProfile as validateSchedulingProfile };
|
|
8421
|
+
export { index$7_addMatchUpCourtOrder as addMatchUpCourtOrder, index$7_addMatchUpEndTime as addMatchUpEndTime, index$7_addMatchUpOfficial as addMatchUpOfficial, index$7_addMatchUpResumeTime as addMatchUpResumeTime, index$7_addMatchUpScheduleItems as addMatchUpScheduleItems, index$7_addMatchUpScheduledDate as addMatchUpScheduledDate, index$7_addMatchUpScheduledTime as addMatchUpScheduledTime, index$7_addMatchUpStartTime as addMatchUpStartTime, index$7_addMatchUpStopTime as addMatchUpStopTime, index$7_addSchedulingProfileRound as addSchedulingProfileRound, index$7_allocateTeamMatchUpCourts as allocateTeamMatchUpCourts, index$7_assignMatchUpCourt as assignMatchUpCourt, index$7_assignMatchUpVenue as assignMatchUpVenue, index$7_bulkRescheduleMatchUps as bulkRescheduleMatchUps, index$7_bulkScheduleMatchUps as bulkScheduleMatchUps, index$7_bulkScheduleTournamentMatchUps as bulkScheduleTournamentMatchUps, index$7_bulkUpdateCourtAssignments as bulkUpdateCourtAssignments, index$7_calculateScheduleTimes as calculateScheduleTimes, index$7_clearMatchUpSchedule as clearMatchUpSchedule, index$7_clearScheduledMatchUps as clearScheduledMatchUps, index$7_courtGridRows as courtGridRows, index$7_findMatchUpFormatTiming as findMatchUpFormatTiming, index$7_findVenue as findVenue, index$7_generateBookings as generateBookings, index$7_generateVirtualCourts as generateVirtualCourts, index$7_getPersonRequests as getPersonRequests, index$7_getProfileRounds as getProfileRounds, index$7_getScheduledRoundsDetails as getScheduledRoundsDetails, index$7_getSchedulingProfile as getSchedulingProfile, index$7_getSchedulingProfileIssues as getSchedulingProfileIssues, index$7_matchUpScheduleChange as matchUpScheduleChange, index$7_modifyMatchUpFormatTiming as modifyMatchUpFormatTiming, mutate$4 as mutate, index$7_proAutoSchedule as proAutoSchedule, index$7_proConflicts as proConflicts, index$7_publicFindCourt as publicFindCourt, query$2 as query, index$7_removeEventMatchUpFormatTiming as removeEventMatchUpFormatTiming, index$7_removeMatchUpCourtAssignment as removeMatchUpCourtAssignment, index$7_reorderUpcomingMatchUps as reorderUpcomingMatchUps, index$7_scheduleMatchUps as scheduleMatchUps, index$7_scheduleProfileRounds as scheduleProfileRounds, index$7_setMatchUpDailyLimits as setMatchUpDailyLimits, index$7_setMatchUpHomeParticipantId as setMatchUpHomeParticipantId, index$7_setSchedulingProfile as setSchedulingProfile, index$7_toggleParticipantCheckInState as toggleParticipantCheckInState, index$7_validateSchedulingProfile as validateSchedulingProfile };
|
|
8612
8422
|
}
|
|
8613
8423
|
|
|
8614
8424
|
type TieMatchUpScore = {
|
|
@@ -9281,29 +9091,17 @@ declare function setTournamentEndDate({ tournamentRecord, endDate }: {
|
|
|
9281
9091
|
};
|
|
9282
9092
|
|
|
9283
9093
|
type AddTimeItemArgs = {
|
|
9094
|
+
tournamentRecord?: Tournament;
|
|
9095
|
+
drawDefinition?: DrawDefinition;
|
|
9284
9096
|
removePriorValues?: boolean;
|
|
9285
9097
|
duplicateValues?: boolean;
|
|
9098
|
+
participantId?: string;
|
|
9286
9099
|
creationTime?: boolean;
|
|
9287
9100
|
timeItem: TimeItem;
|
|
9101
|
+
event?: Event$1;
|
|
9288
9102
|
element: any;
|
|
9289
9103
|
};
|
|
9290
|
-
declare function addTimeItem(params: AddTimeItemArgs):
|
|
9291
|
-
error: {
|
|
9292
|
-
message: string;
|
|
9293
|
-
code: string;
|
|
9294
|
-
};
|
|
9295
|
-
info?: undefined;
|
|
9296
|
-
} | {
|
|
9297
|
-
error: {
|
|
9298
|
-
message: string;
|
|
9299
|
-
code: string;
|
|
9300
|
-
};
|
|
9301
|
-
info: string;
|
|
9302
|
-
} | {
|
|
9303
|
-
success: boolean;
|
|
9304
|
-
error?: undefined;
|
|
9305
|
-
info?: undefined;
|
|
9306
|
-
};
|
|
9104
|
+
declare function addTimeItem(params: AddTimeItemArgs): any;
|
|
9307
9105
|
type AddParticipantTimeItemArgs = {
|
|
9308
9106
|
tournamentRecord: Tournament;
|
|
9309
9107
|
removePriorValues?: boolean;
|
|
@@ -9312,61 +9110,9 @@ type AddParticipantTimeItemArgs = {
|
|
|
9312
9110
|
participantId: string;
|
|
9313
9111
|
timeItem: TimeItem;
|
|
9314
9112
|
};
|
|
9315
|
-
declare function addParticipantTimeItem({ creationTime, removePriorValues, tournamentRecord, duplicateValues, participantId, timeItem, }: AddParticipantTimeItemArgs):
|
|
9316
|
-
|
|
9317
|
-
|
|
9318
|
-
error?: ErrorType | undefined;
|
|
9319
|
-
} | {
|
|
9320
|
-
error: {
|
|
9321
|
-
message: string;
|
|
9322
|
-
code: string;
|
|
9323
|
-
};
|
|
9324
|
-
info?: undefined;
|
|
9325
|
-
} | {
|
|
9326
|
-
error: {
|
|
9327
|
-
message: string;
|
|
9328
|
-
code: string;
|
|
9329
|
-
};
|
|
9330
|
-
info: string;
|
|
9331
|
-
} | {
|
|
9332
|
-
success: boolean;
|
|
9333
|
-
error?: undefined;
|
|
9334
|
-
info?: undefined;
|
|
9335
|
-
};
|
|
9336
|
-
declare function addTournamentTimeItem(params: any): {
|
|
9337
|
-
error: {
|
|
9338
|
-
message: string;
|
|
9339
|
-
code: string;
|
|
9340
|
-
};
|
|
9341
|
-
info?: undefined;
|
|
9342
|
-
} | {
|
|
9343
|
-
error: {
|
|
9344
|
-
message: string;
|
|
9345
|
-
code: string;
|
|
9346
|
-
};
|
|
9347
|
-
info: string;
|
|
9348
|
-
} | {
|
|
9349
|
-
success: boolean;
|
|
9350
|
-
error?: undefined;
|
|
9351
|
-
info?: undefined;
|
|
9352
|
-
};
|
|
9353
|
-
declare function addEventTimeItem(params: any): {
|
|
9354
|
-
error: {
|
|
9355
|
-
message: string;
|
|
9356
|
-
code: string;
|
|
9357
|
-
};
|
|
9358
|
-
info?: undefined;
|
|
9359
|
-
} | {
|
|
9360
|
-
error: {
|
|
9361
|
-
message: string;
|
|
9362
|
-
code: string;
|
|
9363
|
-
};
|
|
9364
|
-
info: string;
|
|
9365
|
-
} | {
|
|
9366
|
-
success: boolean;
|
|
9367
|
-
error?: undefined;
|
|
9368
|
-
info?: undefined;
|
|
9369
|
-
};
|
|
9113
|
+
declare function addParticipantTimeItem({ creationTime, removePriorValues, tournamentRecord, duplicateValues, participantId, timeItem, }: AddParticipantTimeItemArgs): any;
|
|
9114
|
+
declare function addTournamentTimeItem(params: any): any;
|
|
9115
|
+
declare function addEventTimeItem(params: any): any;
|
|
9370
9116
|
|
|
9371
9117
|
type AddExtensionArgs = {
|
|
9372
9118
|
tournamentRecord?: Tournament;
|
|
@@ -11054,7 +10800,6 @@ declare const entryStatusConstants: any;
|
|
|
11054
10800
|
declare const extensionConstants: {
|
|
11055
10801
|
ACTIVE_SUSPENSION: string;
|
|
11056
10802
|
APPLIED_POLICIES: string;
|
|
11057
|
-
AUDIT_POSITION_ACTIONS: string;
|
|
11058
10803
|
CONTEXT: string;
|
|
11059
10804
|
DELEGATED_OUTCOME: string;
|
|
11060
10805
|
DISABLED: string;
|
|
@@ -11072,6 +10817,7 @@ declare const extensionConstants: {
|
|
|
11072
10817
|
MATCHUP_HISTORY: string;
|
|
11073
10818
|
PARTICIPANT_REPRESENTATIVES: string;
|
|
11074
10819
|
PERSON_REQUESTS: string;
|
|
10820
|
+
POSITION_ACTIONS: string;
|
|
11075
10821
|
RANKING_POINTS: string;
|
|
11076
10822
|
ROUND_TARGET: string;
|
|
11077
10823
|
SCHEDULE_LIMITS: string;
|