tods-competition-factory 2.0.49 → 2.0.51

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.
@@ -2504,6 +2504,8 @@ type DrawMaticArgs = {
2504
2504
  eventType?: EventTypeUnion;
2505
2505
  salted?: number | boolean;
2506
2506
  participantIds?: string[];
2507
+ dynamicRatings?: boolean;
2508
+ refreshDynamic?: boolean;
2507
2509
  encounterValue?: number;
2508
2510
  sameTeamValue?: number;
2509
2511
  scaleAccessor?: string;
@@ -3616,6 +3618,7 @@ type GenerateDrawMaticRoundArgs = {
3616
3618
  salted?: number | boolean;
3617
3619
  participantIds?: string[];
3618
3620
  dynamicRatings?: boolean;
3621
+ refreshDynamic?: boolean;
3619
3622
  encounterValue?: number;
3620
3623
  sameTeamValue?: number;
3621
3624
  maxIterations?: number;
@@ -3643,7 +3646,7 @@ type DrawMaticRoundResult = {
3643
3646
  maxDelta?: number;
3644
3647
  maxDiff?: number;
3645
3648
  };
3646
- declare function generateDrawMaticRound({ encounterValue, sameTeamValue, maxIterations, updateParticipantRatings, generateMatchUps, ignoreLastRoundNumber, iterationMatchUps, tournamentRecord, dynamicRatings, participantIds, drawDefinition, adHocRatings, salted, roundNumber, structureId, matchUpIds, eventType, structure, scaleName, idPrefix, isMock, event, }: GenerateDrawMaticRoundArgs): ResultType & DrawMaticRoundResult;
3649
+ declare function generateDrawMaticRound({ encounterValue, sameTeamValue, maxIterations, updateParticipantRatings, generateMatchUps, ignoreLastRoundNumber, iterationMatchUps, tournamentRecord, dynamicRatings, refreshDynamic, participantIds, drawDefinition, adHocRatings, salted, roundNumber, structureId, matchUpIds, eventType, structure, scaleName, idPrefix, isMock, event, }: GenerateDrawMaticRoundArgs): ResultType & DrawMaticRoundResult;
3647
3650
 
3648
3651
  type GenerateVoluntaryConsolationArgs = {
3649
3652
  playoffAttributes?: PlayoffAttributes;
@@ -4420,6 +4423,7 @@ declare function addDrawDefinition(params: AddDrawDefinitionArgs): ResultType &
4420
4423
  type DeleteDrawDefinitionArgs = {
4421
4424
  policyDefinitions?: PolicyDefinitions;
4422
4425
  tournamentRecord: Tournament;
4426
+ eventDataParams?: any;
4423
4427
  autoPublish?: boolean;
4424
4428
  drawIds?: string[];
4425
4429
  auditData?: any;
@@ -6380,11 +6384,7 @@ declare function publicFindParticipant(params: PublicFindParticipantArgs): {
6380
6384
  stack?: any;
6381
6385
  };
6382
6386
 
6383
- declare function addDynamicRatings({ tournamentRecord, modifiedScaleValues, removePriorValues }: {
6384
- tournamentRecord: any;
6385
- modifiedScaleValues: any;
6386
- removePriorValues: any;
6387
- }): any;
6387
+ declare function addDynamicRatings(params: any): any;
6388
6388
 
6389
6389
  type CreateGroupParticipantType = {
6390
6390
  participantRoleResponsibilities?: string[];
@@ -6479,6 +6479,15 @@ declare function scaledTeamAssignment({ clearExistingAssignments, individualPart
6479
6479
  scaledParticipant?: undefined;
6480
6480
  };
6481
6481
 
6482
+ declare function removeRatings(params: {
6483
+ tournamentRecord: Tournament;
6484
+ eventType: EventTypeUnion;
6485
+ asDynamic?: boolean;
6486
+ ratingType: string;
6487
+ }): ResultType & {
6488
+ valid?: boolean | undefined;
6489
+ };
6490
+
6482
6491
  declare function removePenalty(params: any): {
6483
6492
  error?: ErrorType | undefined;
6484
6493
  success?: boolean | undefined;
@@ -6616,11 +6625,12 @@ declare const mutate$7_removeIndividualParticipantIds: typeof removeIndividualPa
6616
6625
  declare const mutate$7_removeParticipantIdsFromAllTeams: typeof removeParticipantIdsFromAllTeams;
6617
6626
  declare const mutate$7_removePenalty: typeof removePenalty;
6618
6627
  declare const mutate$7_removePersonRequests: typeof removePersonRequests;
6628
+ declare const mutate$7_removeRatings: typeof removeRatings;
6619
6629
  declare const mutate$7_scaledTeamAssignment: typeof scaledTeamAssignment;
6620
6630
  declare const mutate$7_setParticipantScaleItem: typeof setParticipantScaleItem;
6621
6631
  declare const mutate$7_setParticipantScaleItems: typeof setParticipantScaleItems;
6622
6632
  declare namespace mutate$7 {
6623
- export { mutate$7_addDynamicRatings as addDynamicRatings, mutate$7_addIndividualParticipantIds as addIndividualParticipantIds, mutate$7_addParticipant as addParticipant, mutate$7_addParticipants as addParticipants, mutate$7_addPenalty as addPenalty, mutate$7_addPersonRequests as addPersonRequests, mutate$7_addPersons as addPersons, mutate$7_createGroupParticipant as createGroupParticipant, mutate$7_createTeamsFromParticipantAttributes as createTeamsFromParticipantAttributes, mutate$7_deleteParticipants as deleteParticipants, publicFindParticipant as findParticipant, mutate$7_mergeParticipants as mergeParticipants, mutate$7_modifyIndividualParticipantIds as modifyIndividualParticipantIds, mutate$7_modifyParticipant as modifyParticipant, mutate$7_modifyParticipantName as modifyParticipantName, mutate$7_modifyParticipantOtherName as modifyParticipantOtherName, mutate$7_modifyParticipantsSignInStatus as modifyParticipantsSignInStatus, mutate$7_modifyPenalty as modifyPenalty, mutate$7_modifyPersonRequests as modifyPersonRequests, mutate$7_regenerateParticipantNames as regenerateParticipantNames, mutate$7_removeIndividualParticipantIds as removeIndividualParticipantIds, mutate$7_removeParticipantIdsFromAllTeams as removeParticipantIdsFromAllTeams, mutate$7_removePenalty as removePenalty, mutate$7_removePersonRequests as removePersonRequests, mutate$7_scaledTeamAssignment as scaledTeamAssignment, mutate$7_setParticipantScaleItem as setParticipantScaleItem, mutate$7_setParticipantScaleItems as setParticipantScaleItems };
6633
+ export { mutate$7_addDynamicRatings as addDynamicRatings, mutate$7_addIndividualParticipantIds as addIndividualParticipantIds, mutate$7_addParticipant as addParticipant, mutate$7_addParticipants as addParticipants, mutate$7_addPenalty as addPenalty, mutate$7_addPersonRequests as addPersonRequests, mutate$7_addPersons as addPersons, mutate$7_createGroupParticipant as createGroupParticipant, mutate$7_createTeamsFromParticipantAttributes as createTeamsFromParticipantAttributes, mutate$7_deleteParticipants as deleteParticipants, publicFindParticipant as findParticipant, mutate$7_mergeParticipants as mergeParticipants, mutate$7_modifyIndividualParticipantIds as modifyIndividualParticipantIds, mutate$7_modifyParticipant as modifyParticipant, mutate$7_modifyParticipantName as modifyParticipantName, mutate$7_modifyParticipantOtherName as modifyParticipantOtherName, mutate$7_modifyParticipantsSignInStatus as modifyParticipantsSignInStatus, mutate$7_modifyPenalty as modifyPenalty, mutate$7_modifyPersonRequests as modifyPersonRequests, mutate$7_regenerateParticipantNames as regenerateParticipantNames, mutate$7_removeIndividualParticipantIds as removeIndividualParticipantIds, mutate$7_removeParticipantIdsFromAllTeams as removeParticipantIdsFromAllTeams, mutate$7_removePenalty as removePenalty, mutate$7_removePersonRequests as removePersonRequests, mutate$7_removeRatings as removeRatings, mutate$7_scaledTeamAssignment as scaledTeamAssignment, mutate$7_setParticipantScaleItem as setParticipantScaleItem, mutate$7_setParticipantScaleItems as setParticipantScaleItems };
6624
6634
  }
6625
6635
 
6626
6636
  declare function getCompetitionParticipants(params: any): ResultType & {
@@ -6853,12 +6863,13 @@ declare const index$c_removeIndividualParticipantIds: typeof removeIndividualPar
6853
6863
  declare const index$c_removeParticipantIdsFromAllTeams: typeof removeParticipantIdsFromAllTeams;
6854
6864
  declare const index$c_removePenalty: typeof removePenalty;
6855
6865
  declare const index$c_removePersonRequests: typeof removePersonRequests;
6866
+ declare const index$c_removeRatings: typeof removeRatings;
6856
6867
  declare const index$c_scaledTeamAssignment: typeof scaledTeamAssignment;
6857
6868
  declare const index$c_setParticipantScaleItem: typeof setParticipantScaleItem;
6858
6869
  declare const index$c_setParticipantScaleItems: typeof setParticipantScaleItems;
6859
6870
  declare const index$c_validateLineUp: typeof validateLineUp;
6860
6871
  declare namespace index$c {
6861
- export { index$c_addDynamicRatings as addDynamicRatings, index$c_addIndividualParticipantIds as addIndividualParticipantIds, index$c_addParticipant as addParticipant, index$c_addParticipants as addParticipants, index$c_addPenalty as addPenalty, index$c_addPersonRequests as addPersonRequests, index$c_addPersons as addPersons, index$c_createGroupParticipant as createGroupParticipant, index$c_createTeamsFromParticipantAttributes as createTeamsFromParticipantAttributes, index$c_deleteParticipants as deleteParticipants, index$c_filterParticipants as filterParticipants, publicFindParticipant as findParticipant, index$c_getCompetitionParticipants as getCompetitionParticipants, index$c_getPairedParticipant as getPairedParticipant, index$c_getParticipantEventDetails as getParticipantEventDetails, index$c_getParticipantMembership as getParticipantMembership, index$c_getParticipantScaleItem as getParticipantScaleItem, index$c_getParticipantSchedules as getParticipantSchedules, index$c_getParticipantSignInStatus as getParticipantSignInStatus, index$c_getParticipantTimeItem as getParticipantTimeItem, index$c_getParticipants as getParticipants, index$c_getScaleValues as getScaleValues, index$c_mergeParticipants as mergeParticipants, index$c_modifyIndividualParticipantIds as modifyIndividualParticipantIds, index$c_modifyParticipant as modifyParticipant, index$c_modifyParticipantName as modifyParticipantName, index$c_modifyParticipantOtherName as modifyParticipantOtherName, index$c_modifyParticipantsSignInStatus as modifyParticipantsSignInStatus, index$c_modifyPenalty as modifyPenalty, index$c_modifyPersonRequests as modifyPersonRequests, mutate$7 as mutate, index$c_participantScaleItem as participantScaleItem, query$7 as query, index$c_regenerateParticipantNames as regenerateParticipantNames, index$c_removeIndividualParticipantIds as removeIndividualParticipantIds, index$c_removeParticipantIdsFromAllTeams as removeParticipantIdsFromAllTeams, index$c_removePenalty as removePenalty, index$c_removePersonRequests as removePersonRequests, index$c_scaledTeamAssignment as scaledTeamAssignment, index$c_setParticipantScaleItem as setParticipantScaleItem, index$c_setParticipantScaleItems as setParticipantScaleItems, index$c_validateLineUp as validateLineUp };
6872
+ export { index$c_addDynamicRatings as addDynamicRatings, index$c_addIndividualParticipantIds as addIndividualParticipantIds, index$c_addParticipant as addParticipant, index$c_addParticipants as addParticipants, index$c_addPenalty as addPenalty, index$c_addPersonRequests as addPersonRequests, index$c_addPersons as addPersons, index$c_createGroupParticipant as createGroupParticipant, index$c_createTeamsFromParticipantAttributes as createTeamsFromParticipantAttributes, index$c_deleteParticipants as deleteParticipants, index$c_filterParticipants as filterParticipants, publicFindParticipant as findParticipant, index$c_getCompetitionParticipants as getCompetitionParticipants, index$c_getPairedParticipant as getPairedParticipant, index$c_getParticipantEventDetails as getParticipantEventDetails, index$c_getParticipantMembership as getParticipantMembership, index$c_getParticipantScaleItem as getParticipantScaleItem, index$c_getParticipantSchedules as getParticipantSchedules, index$c_getParticipantSignInStatus as getParticipantSignInStatus, index$c_getParticipantTimeItem as getParticipantTimeItem, index$c_getParticipants as getParticipants, index$c_getScaleValues as getScaleValues, index$c_mergeParticipants as mergeParticipants, index$c_modifyIndividualParticipantIds as modifyIndividualParticipantIds, index$c_modifyParticipant as modifyParticipant, index$c_modifyParticipantName as modifyParticipantName, index$c_modifyParticipantOtherName as modifyParticipantOtherName, index$c_modifyParticipantsSignInStatus as modifyParticipantsSignInStatus, index$c_modifyPenalty as modifyPenalty, index$c_modifyPersonRequests as modifyPersonRequests, mutate$7 as mutate, index$c_participantScaleItem as participantScaleItem, query$7 as query, index$c_regenerateParticipantNames as regenerateParticipantNames, index$c_removeIndividualParticipantIds as removeIndividualParticipantIds, index$c_removeParticipantIdsFromAllTeams as removeParticipantIdsFromAllTeams, index$c_removePenalty as removePenalty, index$c_removePersonRequests as removePersonRequests, index$c_removeRatings as removeRatings, index$c_scaledTeamAssignment as scaledTeamAssignment, index$c_setParticipantScaleItem as setParticipantScaleItem, index$c_setParticipantScaleItems as setParticipantScaleItems, index$c_validateLineUp as validateLineUp };
6862
6873
  }
6863
6874
 
6864
6875
  type AttachPoliciesArgs = {
@@ -7049,6 +7060,7 @@ type PublishEventType = {
7049
7060
  tournamentRecord: Tournament;
7050
7061
  removePriorValues?: boolean;
7051
7062
  returnEventData?: boolean;
7063
+ eventDataParams?: any;
7052
7064
  drawIds?: string[];
7053
7065
  status?: string;
7054
7066
  event?: Event$1;
@@ -7058,15 +7070,8 @@ type PublishEventType = {
7058
7070
  drawIdsToRemove?: string[];
7059
7071
  drawIdsToAdd?: string[];
7060
7072
  };
7061
- declare function publishEvent(params: PublishEventType): ResultType | {
7062
- error: {
7063
- message: string;
7064
- code: string;
7065
- };
7066
- } | {
7067
- eventData: any;
7068
- success: boolean;
7069
- error?: undefined;
7073
+ declare function publishEvent(params: PublishEventType): ResultType & {
7074
+ eventData?: any;
7070
7075
  };
7071
7076
 
7072
7077
  declare const mutate$5_publishEvent: typeof publishEvent;
@@ -10898,6 +10903,7 @@ declare const extensionConstants: {
10898
10903
  PERSON_REQUESTS: string;
10899
10904
  POSITION_ACTIONS: string;
10900
10905
  RANKING_POINTS: string;
10906
+ REGISTRATION: string;
10901
10907
  ROUND_TARGET: string;
10902
10908
  SCHEDULE_LIMITS: string;
10903
10909
  SCHEDULE_TIMING: string;