@studyportals/domain-client 3.15.0 → 3.16.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@studyportals/domain-client",
3
- "version": "3.15.0",
3
+ "version": "3.16.0",
4
4
  "description": "Responsible for fetching data from the Domain API",
5
5
  "main": "bin/index.js",
6
6
  "author": "StudyPortals B.V.",
@@ -1,4 +1,10 @@
1
1
  export interface ICountry {
2
+ /**
3
+ * Get country iso code
4
+ *
5
+ * @return string
6
+ */
7
+ getISOCode(): string;
2
8
  /**
3
9
  * Get country id
4
10
  *
@@ -14,6 +14,12 @@ export interface IDotDigitalProgramme {
14
14
  */
15
15
  getCountry(): ICountry;
16
16
  canShowCountry(): boolean;
17
+ /**
18
+ * Get discipline ids attached to this programme
19
+ *
20
+ * @return number[]
21
+ */
22
+ getDisciplineIds(): number[];
17
23
  /**
18
24
  * Education level
19
25
  *
@@ -74,6 +80,12 @@ export interface IDotDigitalProgramme {
74
80
  */
75
81
  getTuitionFees(): ITuitionFee[];
76
82
  canShowTuitionFees(): boolean;
83
+ /**
84
+ * University id
85
+ *
86
+ * @return number
87
+ */
88
+ getUniversityId(): number;
77
89
  /**
78
90
  * University title
79
91
  *
@@ -7,5 +7,6 @@ export interface ILocation {
7
7
  getCityId(): number;
8
8
  getCountry(): IOptionalLink;
9
9
  getCountryId(): number;
10
+ getCountryIso(): string;
10
11
  hasAreaId(): boolean;
11
12
  }