fansunited-sdk-esm 1.69.2 → 1.69.4

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.
@@ -0,0 +1,3 @@
1
+ export default class AssetsModel {
2
+ logo: string;
3
+ }
@@ -1,9 +1,10 @@
1
+ import AssetsModel from "../AssetsModel";
1
2
  import FootballCountryModel from "../Country/FootballCountryModel";
2
3
  export default class CompetitionBasicModel {
3
4
  id: string;
4
5
  country: FootballCountryModel;
5
6
  gender: string;
6
- assets: {};
7
+ assets: AssetsModel;
7
8
  type: string;
8
9
  name: string;
9
10
  }
@@ -1,10 +1,11 @@
1
+ import AssetsModel from "../AssetsModel";
1
2
  import FootballCountryModel from "../Country/FootballCountryModel";
2
3
  import TeamBasicModel from "../Team/TeamBasicModel";
3
4
  export default class CompetitionFullModel {
4
5
  id: string;
5
6
  country: FootballCountryModel;
6
7
  gender: string;
7
- assets: {};
8
+ assets: AssetsModel;
8
9
  type: string;
9
10
  name: string;
10
11
  participants: TeamBasicModel[];
@@ -0,0 +1,3 @@
1
+ export default class PlayerAssetsModel {
2
+ headshot: string;
3
+ }
@@ -8,7 +8,7 @@ export default class PlayerBasicModel {
8
8
  lastName: string;
9
9
  name: string;
10
10
  position: string;
11
- assets: {};
11
+ assets: PlayerBasicModel;
12
12
  isDeleted: boolean;
13
13
  teams: TeamBasicModel[];
14
14
  }
@@ -1,6 +1,7 @@
1
1
  import FootballCountryModel from "../Country/FootballCountryModel";
2
2
  import CompetitionBasicModel from "../Competition/CompetitionBasicModel";
3
3
  import TeamBasicModel from "../Team/TeamBasicModel";
4
+ import PlayerBasicModel from "./PlayerBasicModel";
4
5
  export default class PlayerFullModel {
5
6
  id: string;
6
7
  country: FootballCountryModel;
@@ -9,7 +10,7 @@ export default class PlayerFullModel {
9
10
  lastName: string;
10
11
  name: string;
11
12
  position: string;
12
- assets: {};
13
+ assets: PlayerBasicModel;
13
14
  isDeleted: boolean;
14
15
  competitions: CompetitionBasicModel[];
15
16
  teams: TeamBasicModel[];
@@ -1,8 +1,9 @@
1
+ import PlayerAssetsModel from "./PlayerAssetsModel";
1
2
  export default class PlayerShortModel {
2
3
  id: string;
3
4
  name: string;
4
5
  position: string;
5
6
  shirtNumber: number;
6
- assets: {};
7
+ assets: PlayerAssetsModel;
7
8
  type: string;
8
9
  }
@@ -1,4 +1,5 @@
1
1
  import FootballCountryModel from "../Country/FootballCountryModel";
2
+ import PlayerAssetsModel from "./PlayerAssetsModel";
2
3
  export default class PlayerSquadModel {
3
4
  id: string;
4
5
  startDate: string;
@@ -8,6 +9,6 @@ export default class PlayerSquadModel {
8
9
  position: string;
9
10
  country: FootballCountryModel;
10
11
  name: string;
11
- assets: {};
12
+ assets: PlayerAssetsModel;
12
13
  birthDate: string;
13
14
  }
@@ -1,9 +1,10 @@
1
+ import AssetsModel from "../AssetsModel";
1
2
  import FootballCountryModel from "../Country/FootballCountryModel";
2
3
  export default class TeamBasicModel {
3
4
  id: string;
4
5
  country: FootballCountryModel;
5
6
  gender: string;
6
- assets: {};
7
+ assets: AssetsModel;
7
8
  name: string;
8
9
  code: string;
9
10
  national: boolean;
@@ -2,11 +2,12 @@ import FootballCountryModel from "../Country/FootballCountryModel";
2
2
  import CompetitionBasicModel from "../Competition/CompetitionBasicModel";
3
3
  import PlayerSquadModel from "../Player/PlayerSquadModel";
4
4
  import TeamColors from "./TeamColors";
5
+ import AssetsModel from "../AssetsModel";
5
6
  export default class TeamFullModel {
6
7
  id: string;
7
8
  country: FootballCountryModel;
8
9
  gender: string;
9
- assets: {};
10
+ assets: AssetsModel;
10
11
  name: string;
11
12
  competitions: CompetitionBasicModel[];
12
13
  code: string;
@@ -1,6 +1,6 @@
1
1
  import { FiltersInterface } from "../../../../Global/Interfaces/GlobalInterfaces";
2
2
  export default class TemplateFilters implements FiltersInterface {
3
- flags?: string;
3
+ flags?: string[];
4
4
  status?: string;
5
5
  type?: string;
6
6
  activeFrom?: string;
@@ -0,0 +1,3 @@
1
+ export default class ProfileCountryAssetsModel {
2
+ flag: string;
3
+ }
@@ -1,5 +1,6 @@
1
+ import ProfileCountryAssetsModel from "./ProfileCountryAssetsModel";
1
2
  export default class ProfileCountryModel {
2
3
  id: string;
3
4
  name: string;
4
- assets: {};
5
+ assets: ProfileCountryAssetsModel;
5
6
  }