tods-competition-factory 2.2.31 → 2.2.32-beta.0

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.
@@ -604,10 +604,15 @@ interface CollectionValueProfile {
604
604
  notes?: string;
605
605
  }
606
606
  declare enum GenderEnum {
607
- ANY = "ANY",
607
+ FEMALE_ABBR = "F",
608
+ MIXED_ABBR = "X",
609
+ MALE_ABBR = "M",
610
+ ANY_ABBR = "A",
608
611
  FEMALE = "FEMALE",
612
+ OTHER = "OTHER",
613
+ MIXED = "MIXED",
609
614
  MALE = "MALE",
610
- MIXED = "MIXED"
615
+ ANY = "ANY"
611
616
  }
612
617
  type GenderUnion = keyof typeof GenderEnum;
613
618
  interface WinCriteria {
@@ -2862,9 +2867,10 @@ type AssignDrawPositionByeArgs = {
2862
2867
  structure?: Structure;
2863
2868
  drawPosition: number;
2864
2869
  structureId?: string;
2870
+ loserMatchUp?: MatchUp;
2865
2871
  event?: Event$1;
2866
2872
  };
2867
- declare function assignDrawPositionBye({ provisionalPositioning, isPositionAction, tournamentRecord, drawDefinition, drawPosition, matchUpsMap, structureId, structure, event, }: AssignDrawPositionByeArgs): any;
2873
+ declare function assignDrawPositionBye({ provisionalPositioning, isPositionAction, tournamentRecord, drawDefinition, drawPosition, loserMatchUp, matchUpsMap, structureId, structure, event, }: AssignDrawPositionByeArgs): any;
2868
2874
 
2869
2875
  declare function addDrawDefinitionTimeItem({ drawDefinition, timeItem }: {
2870
2876
  drawDefinition: any;
@@ -5696,9 +5702,9 @@ type SetMatchUpStatusArgs = {
5696
5702
  policyDefinitions?: PolicyDefinitions;
5697
5703
  disableScoreValidation?: boolean;
5698
5704
  allowChangePropagation?: boolean;
5699
- drawDefinition: DrawDefinition;
5700
5705
  propagateExitStatus?: boolean;
5701
5706
  tournamentRecord: Tournament;
5707
+ drawDefinition: DrawDefinition;
5702
5708
  disableAutoCalc?: boolean;
5703
5709
  enableAutoCalc?: boolean;
5704
5710
  matchUpFormat?: string;
@@ -5712,14 +5718,26 @@ type SetMatchUpStatusArgs = {
5712
5718
  event?: Event$1;
5713
5719
  outcome?: any;
5714
5720
  };
5715
- declare function setMatchUpStatus(params: SetMatchUpStatusArgs): ResultType;
5721
+ declare function setMatchUpStatus(params: SetMatchUpStatusArgs): ResultType | {
5722
+ success?: boolean;
5723
+ error?: ErrorType;
5724
+ info?: string;
5725
+ } | {
5726
+ error: {
5727
+ message: string;
5728
+ code: string;
5729
+ };
5730
+ };
5716
5731
 
5717
5732
  declare function bulkMatchUpStatusUpdate(params: any): ResultType | {
5733
+ success?: boolean;
5734
+ error?: ErrorType;
5735
+ info?: string;
5736
+ } | {
5718
5737
  error: {
5719
5738
  message: string;
5720
5739
  code: string;
5721
5740
  };
5722
- info?: undefined;
5723
5741
  } | {
5724
5742
  error: {
5725
5743
  message: string;
@@ -12419,11 +12437,16 @@ declare const flightConstants: {
12419
12437
  };
12420
12438
 
12421
12439
  declare const genderConstants: {
12422
- ANY: any;
12423
- MALE: any;
12424
- FEMALE: any;
12425
- MIXED: any;
12426
- OTHER: any;
12440
+ FEMALE_ABBR: string;
12441
+ OTHER_ABBR: string;
12442
+ MIXED_ABBR: string;
12443
+ MALE_ABBR: string;
12444
+ ANY_ABBR: string;
12445
+ FEMALE: string;
12446
+ MIXED: string;
12447
+ OTHER: string;
12448
+ MALE: string;
12449
+ ANY: string;
12427
12450
  };
12428
12451
 
12429
12452
  declare const keyValueConstants: {