@studyportals/domain-client 8.4.0 → 8.5.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.
Files changed (55) hide show
  1. package/package.json +1 -1
  2. package/protobuf/Organisation/OrganisationCard.d.ts +1 -0
  3. package/protobuf/Organisation/OrganisationCard.js +4 -0
  4. package/src/models/copilot-programme/i-deadline.d.ts +0 -20
  5. package/src/models/copilot-programme/i-deadline.js +0 -1
  6. package/src/models/copilot-programme/i-english-requirements.d.ts +0 -51
  7. package/src/models/copilot-programme/i-english-requirements.js +0 -1
  8. package/src/models/copilot-programme/i-g-p-a-requirement.d.ts +0 -20
  9. package/src/models/copilot-programme/i-g-p-a-requirement.js +0 -1
  10. package/src/models/copilot-programme/i-geo-targeting-configuration.d.ts +0 -38
  11. package/src/models/copilot-programme/i-geo-targeting-configuration.js +0 -1
  12. package/src/models/copilot-programme/i-geo-targeting-values.d.ts +0 -30
  13. package/src/models/copilot-programme/i-geo-targeting-values.js +0 -1
  14. package/src/models/copilot-programme/i-internal-link.d.ts +0 -28
  15. package/src/models/copilot-programme/i-internal-link.js +0 -1
  16. package/src/models/copilot-programme/i-link.d.ts +0 -22
  17. package/src/models/copilot-programme/i-link.js +0 -1
  18. package/src/models/copilot-programme/i-living-cost.d.ts +0 -20
  19. package/src/models/copilot-programme/i-living-cost.js +0 -1
  20. package/src/models/copilot-programme/i-start-date.d.ts +0 -33
  21. package/src/models/copilot-programme/i-start-date.js +0 -1
  22. package/src/models/copilot-programme/i-timing.d.ts +0 -45
  23. package/src/models/copilot-programme/i-timing.js +0 -1
  24. package/src/models/copilot-programme/i-tuition-values.d.ts +0 -50
  25. package/src/models/copilot-programme/i-tuition-values.js +0 -1
  26. package/src/models/customerio-organisation/i-city.d.ts +0 -14
  27. package/src/models/customerio-organisation/i-city.js +0 -1
  28. package/src/models/customerio-organisation/i-country.d.ts +0 -20
  29. package/src/models/customerio-organisation/i-country.js +0 -1
  30. package/src/models/customerio-organisation/i-customer-i-o-organisation.d.ts +0 -35
  31. package/src/models/customerio-organisation/i-customer-i-o-organisation.js +0 -1
  32. package/src/models/customerio-programme/i-country.d.ts +0 -20
  33. package/src/models/customerio-programme/i-country.js +0 -1
  34. package/src/models/customerio-programme/i-customer-i-o-programme.d.ts +0 -107
  35. package/src/models/customerio-programme/i-customer-i-o-programme.js +0 -1
  36. package/src/models/customerio-programme/i-deadline.d.ts +0 -20
  37. package/src/models/customerio-programme/i-deadline.js +0 -1
  38. package/src/models/customerio-programme/i-english-requirements.d.ts +0 -51
  39. package/src/models/customerio-programme/i-english-requirements.js +0 -1
  40. package/src/models/customerio-programme/i-logo.d.ts +0 -14
  41. package/src/models/customerio-programme/i-logo.js +0 -1
  42. package/src/models/customerio-programme/i-start-date.d.ts +0 -33
  43. package/src/models/customerio-programme/i-start-date.js +0 -1
  44. package/src/models/customerio-programme/i-timing.d.ts +0 -45
  45. package/src/models/customerio-programme/i-timing.js +0 -1
  46. package/src/models/customerio-programme/i-tuition-fee.d.ts +0 -64
  47. package/src/models/customerio-programme/i-tuition-fee.js +0 -1
  48. package/src/models/programme-card/i-english-requirements.d.ts +0 -51
  49. package/src/models/programme-card/i-english-requirements.js +0 -1
  50. package/src/models/programme-card/i-g-p-a-requirement.d.ts +0 -20
  51. package/src/models/programme-card/i-g-p-a-requirement.js +0 -1
  52. package/src/models/programme-card/i-living-cost.d.ts +0 -20
  53. package/src/models/programme-card/i-living-cost.js +0 -1
  54. package/src/models/programme-card/i-review-rating-domain.d.ts +0 -6
  55. package/src/models/programme-card/i-review-rating-domain.js +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@studyportals/domain-client",
3
- "version": "8.4.0",
3
+ "version": "8.5.0",
4
4
  "description": "Responsible for fetching data from the Domain API",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -23,6 +23,7 @@ export interface OrganisationCard {
23
23
  isNonProfitFunding: boolean;
24
24
  isForProfitFunding: boolean;
25
25
  reviewRating?: ReviewRating | undefined;
26
+ isPremium: boolean;
26
27
  }
27
28
  export interface OrganisationCard_ProgrammeCountByLevelEntry {
28
29
  key: string;
@@ -47,6 +47,7 @@ export const OrganisationCard = {
47
47
  isNonProfitFunding: isSet(object.isNonProfitFunding) ? globalThis.Boolean(object.isNonProfitFunding) : false,
48
48
  isForProfitFunding: isSet(object.isForProfitFunding) ? globalThis.Boolean(object.isForProfitFunding) : false,
49
49
  reviewRating: isSet(object.reviewRating) ? ReviewRating.fromJSON(object.reviewRating) : undefined,
50
+ isPremium: isSet(object.isPremium) ? globalThis.Boolean(object.isPremium) : false,
50
51
  };
51
52
  },
52
53
  toJSON(message) {
@@ -117,6 +118,9 @@ export const OrganisationCard = {
117
118
  if (message.reviewRating !== undefined) {
118
119
  obj.reviewRating = ReviewRating.toJSON(message.reviewRating);
119
120
  }
121
+ if (message.isPremium !== false) {
122
+ obj.isPremium = message.isPremium;
123
+ }
120
124
  return obj;
121
125
  },
122
126
  };
@@ -1,20 +0,0 @@
1
- export interface IDeadline {
2
- /**
3
- * Get the date this deadline expires on.
4
- *
5
- * @return Date
6
- */
7
- getDate(): Date;
8
- /**
9
- * Get the deadline type (e.g. general, national, eea, etc).
10
- *
11
- * @return string
12
- */
13
- getType(): string;
14
- /**
15
- * True if the deadline has passed (e.g. you can't apply anymore).
16
- *
17
- * @return boolean
18
- */
19
- isPassed(): boolean;
20
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,51 +0,0 @@
1
- export interface IEnglishRequirements {
2
- /**
3
- * Required score for Cambridge english
4
- *
5
- * @return number
6
- */
7
- getCambridgeEnglish(): number;
8
- canShowCambridgeEnglish(): boolean;
9
- /**
10
- * Required score for Duolingo
11
- *
12
- * @return number
13
- */
14
- getDuolingo(): number;
15
- canShowDuolingo(): boolean;
16
- /**
17
- * Required score for IELTS tests
18
- *
19
- * @return number
20
- */
21
- getIELTS(): number;
22
- canShowIELTS(): boolean;
23
- /**
24
- * Required score for OTE
25
- *
26
- * @return number
27
- */
28
- getOte(): number;
29
- canShowOte(): boolean;
30
- /**
31
- * Required score for PTE
32
- *
33
- * @return number
34
- */
35
- getPTE(): number;
36
- canShowPTE(): boolean;
37
- /**
38
- * Required score for TOEFL internet
39
- *
40
- * @return number
41
- */
42
- getTOEFLInternet(): number;
43
- canShowTOEFLInternet(): boolean;
44
- /**
45
- * Required score for TOEFL paper
46
- *
47
- * @return number
48
- */
49
- getTOEFLPaper(): number;
50
- canShowTOEFLPaper(): boolean;
51
- }
@@ -1,20 +0,0 @@
1
- export interface IGPARequirement {
2
- /**
3
- * The used GPA scale for this requirement
4
- *
5
- * @return string
6
- */
7
- getScale(): string;
8
- /**
9
- * Required minimum score.
10
- *
11
- * @return string
12
- */
13
- getScore(): string;
14
- /**
15
- * Is GPA recommended or required.
16
- *
17
- * @return boolean
18
- */
19
- isRequired(): boolean;
20
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,38 +0,0 @@
1
- export interface IGeoTargetingConfiguration {
2
- /**
3
- * Bit set 1 of targeted country ID information.
4
- *
5
- * @return number
6
- */
7
- getBit1(): number;
8
- /**
9
- * Bit set 2 of targeted country ID information.
10
- *
11
- * @return number
12
- */
13
- getBit2(): number;
14
- /**
15
- * Bit set 3 of targeted country ID information.
16
- *
17
- * @return number
18
- */
19
- getBit3(): number;
20
- /**
21
- * Bit set 4 of targeted country ID information.
22
- *
23
- * @return number
24
- */
25
- getBit4(): number;
26
- /**
27
- * Bit set 5 of targeted country ID information.
28
- *
29
- * @return number
30
- */
31
- getBit5(): number;
32
- /**
33
- * List of all configured country IDs.
34
- *
35
- * @return number[]
36
- */
37
- getTargetedCountries(): number[];
38
- }
@@ -1,30 +0,0 @@
1
- import { IGeoTargetingConfiguration } from "../../../index.js";
2
- export interface IGeoTargetingValues {
3
- /**
4
- * Geo-targeting configuration for "light premium" listing.
5
- *
6
- * @return IGeoTargetingConfiguration
7
- */
8
- getLightPremium(): IGeoTargetingConfiguration;
9
- canShowLightPremium(): boolean;
10
- /**
11
- * Geo-targeting configuration for "premium" listing.
12
- *
13
- * @return IGeoTargetingConfiguration
14
- */
15
- getPremium(): IGeoTargetingConfiguration;
16
- canShowPremium(): boolean;
17
- /**
18
- * Geo-targeting configuration for "super premium" listing.
19
- *
20
- * @return IGeoTargetingConfiguration
21
- */
22
- getSuperPremium(): IGeoTargetingConfiguration;
23
- canShowSuperPremium(): boolean;
24
- /**
25
- * Programme has active geo-targeting settings.
26
- *
27
- * @return boolean
28
- */
29
- isGeoTargeted(): boolean;
30
- }
@@ -1,28 +0,0 @@
1
- export interface IInternalLink {
2
- /**
3
- * Get an optional text describing the link (typically <a>-tags contents).
4
- *
5
- * @return string
6
- * @throws PropertyNotAvailableException
7
- */
8
- getDescription(): string;
9
- canShowDescription(): boolean;
10
- /**
11
- * Returns on which portal a this link should link towards.
12
- *
13
- * @return string
14
- */
15
- getPortalType(): string;
16
- /**
17
- * Get the url to refer to.
18
- *
19
- * Note that the url provided is always a relative URL. A base URL is needed
20
- * to make it a full valid path.
21
- * The only exception is when an external link is provided (meaning, outside
22
- * of StudyPortals-maintained domains). In this case a full url will be
23
- * provided.
24
- *
25
- * @return string
26
- */
27
- getUrl(): string;
28
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,22 +0,0 @@
1
- export interface ILink {
2
- /**
3
- * Get an optional text describing the link (typically <a>-tags contents).
4
- *
5
- * @return string
6
- * @throws PropertyNotAvailableException
7
- */
8
- getDescription(): string;
9
- canShowDescription(): boolean;
10
- /**
11
- * Get the url to refer to.
12
- *
13
- * Note that the url provided is always a relative URL. A base URL is needed
14
- * to make it a full valid path.
15
- * The only exception is when an external link is provided (meaning, outside
16
- * of StudyPortals-maintained domains). In this case a full url will be
17
- * provided.
18
- *
19
- * @return string
20
- */
21
- getUrl(): string;
22
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,20 +0,0 @@
1
- export interface ILivingCost {
2
- /**
3
- * Get the applicable currency.
4
- *
5
- * @return string
6
- */
7
- getCurrency(): string;
8
- /**
9
- * Get the maximum living cost in the provided currency.
10
- *
11
- * @return number
12
- */
13
- getMax(): number;
14
- /**
15
- * Get the minimum living cost in the provided currency.
16
- *
17
- * @return number
18
- */
19
- getMin(): number;
20
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,33 +0,0 @@
1
- import { IDeadline } from "../../../index.js";
2
- export interface IStartDate {
3
- /**
4
- * Get the date the programme starts on.
5
- *
6
- * @return Date
7
- */
8
- getDate(): Date;
9
- /**
10
- * Get a list of deadlines that apply to this start date.
11
- *
12
- * Note: In case of extendable start dates, all information in the
13
- * Deadline objects has already been extended to the first available start
14
- * date.
15
- *
16
- * @return IDeadline[]
17
- * @throws PropertyNotAvailableException
18
- */
19
- getDeadlines(): IDeadline[];
20
- canShowDeadlines(): boolean;
21
- /**
22
- * True if you can apply at any time for this programme (rolling admission)
23
- *
24
- * @return boolean
25
- */
26
- isApplyingAnytime(): boolean;
27
- /**
28
- * True if the start date has passed (you can't start at this date anymore).
29
- *
30
- * @return boolean
31
- */
32
- isPassed(): boolean;
33
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,45 +0,0 @@
1
- import { IDeadline, IStartDate } from "../../../index.js";
2
- export interface ITiming {
3
- /**
4
- * Get the IDeadline applicable for this type and programme.
5
- *
6
- * Note: In case of extendable start dates, all information in the
7
- * Deadline object has already been extended to the first available start
8
- * date.
9
- *
10
- * @return IDeadline
11
- * @throws PropertyNotAvailableException
12
- */
13
- getDeadline(): IDeadline;
14
- canShowDeadline(): boolean;
15
- /**
16
- * Get the IStartDate applicable for this type and programme.
17
- *
18
- * Note: In case of extendable start dates, all information in the
19
- * StartDate objects has already been extended to the first available start
20
- * date.
21
- *
22
- * @return IStartDate
23
- * @throws PropertyNotAvailableException
24
- */
25
- getStartDate(): IStartDate;
26
- canShowStartDate(): boolean;
27
- /**
28
- * Type of user the timing is applicable to (e.g. general, eea, national).
29
- *
30
- * @return string
31
- */
32
- getType(): string;
33
- /**
34
- * True if the programme allows to apply at any time (rolling application).
35
- *
36
- * @return boolean
37
- */
38
- isApplyingAnytime(): boolean;
39
- /**
40
- * True if the programme can start at any time (rolling admission).
41
- *
42
- * @return boolean
43
- */
44
- isStartingAnytime(): boolean;
45
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,50 +0,0 @@
1
- export interface ITuitionValues {
2
- /**
3
- * Tuition (converted to per year if possible) for EEA students.
4
- *
5
- * @return number
6
- */
7
- getTuitionEea(): number;
8
- canShowTuitionEea(): boolean;
9
- /**
10
- * Tuition currency.
11
- *
12
- * @return number
13
- */
14
- getTuitionEeaCurrency(): number;
15
- canShowTuitionEeaCurrency(): boolean;
16
- /**
17
- * Tuition (converted to per year if possible) for international students.
18
- *
19
- * @return number
20
- */
21
- getTuitionInternational(): number;
22
- canShowTuitionInternational(): boolean;
23
- /**
24
- * Tuition currency.
25
- *
26
- * @return number
27
- */
28
- getTuitionInternationalCurrency(): number;
29
- canShowTuitionInternationalCurrency(): boolean;
30
- /**
31
- * Tuition (converted to per year if possible) for national students.
32
- *
33
- * @return number
34
- */
35
- getTuitionNational(): number;
36
- canShowTuitionNational(): boolean;
37
- /**
38
- * Tuition currency.
39
- *
40
- * @return number
41
- */
42
- getTuitionNationalCurrency(): number;
43
- canShowTuitionNationalCurrency(): boolean;
44
- /**
45
- * Unit all tuition fees are provided in.
46
- *
47
- * @return number
48
- */
49
- getTuitionUnitType(): number;
50
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,14 +0,0 @@
1
- export interface ICity {
2
- /**
3
- * Get city id
4
- *
5
- * @return number
6
- */
7
- getId(): number;
8
- /**
9
- * Get city name
10
- *
11
- * @return string
12
- */
13
- getName(): string;
14
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,20 +0,0 @@
1
- export interface ICountry {
2
- /**
3
- * Get country iso code
4
- *
5
- * @return string
6
- */
7
- getISOCode(): string;
8
- /**
9
- * Get country id
10
- *
11
- * @return number
12
- */
13
- getId(): number;
14
- /**
15
- * Get country name
16
- *
17
- * @return string
18
- */
19
- getName(): string;
20
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,35 +0,0 @@
1
- import { ICity, ICountry, IReview } from "../../../index.js";
2
- export interface ICustomerIOOrganisation {
3
- getAboutCareer(): string | null;
4
- getAboutEducation(): string | null;
5
- getAboutHistory(): string | null;
6
- getAboutResearch(): string | null;
7
- getAcademicStaff(): number | null;
8
- getAmountOfProgrammes(): number;
9
- getAverageStudentRating(): number | null;
10
- getCity(): ICity;
11
- getCountry(): ICountry;
12
- getCoverUrl(): string | null;
13
- getFemaleStudents(): number | null;
14
- getId(): number;
15
- getLogoUrl(): string | null;
16
- getName(): string | null;
17
- getOrganisationUrl(): string;
18
- /**
19
- * @return string[] | null
20
- */
21
- getReasons(): string[] | null;
22
- /**
23
- * @return IReview[]
24
- */
25
- getReviews(): IReview[];
26
- getServicesHousing(): string | null;
27
- getServicesICT(): string | null;
28
- getServicesLibrary(): string | null;
29
- getServicesMedical(): string | null;
30
- getServicesStudent(): string | null;
31
- getStudentLifeCampus(): string | null;
32
- getStudentLifeSport(): string | null;
33
- getStudents(): number | null;
34
- getStudentsInternational(): number | null;
35
- }
@@ -1,20 +0,0 @@
1
- export interface ICountry {
2
- /**
3
- * Get country iso code
4
- *
5
- * @return string
6
- */
7
- getISOCode(): string;
8
- /**
9
- * Get country id
10
- *
11
- * @return number
12
- */
13
- getId(): number;
14
- /**
15
- * Get country name
16
- *
17
- * @return string
18
- */
19
- getName(): string;
20
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,107 +0,0 @@
1
- import { ICountry, IEnglishRequirements, IInternalLink, ILogo, ITiming, ITuitionFee } from "../../../index.js";
2
- export interface ICustomerIOProgramme {
3
- /**
4
- * Campaign type of the campaign the programme is attached to
5
- *
6
- * @return number
7
- */
8
- getCampaignType(): number;
9
- canShowCampaignType(): boolean;
10
- /**
11
- * Get country the programme is teached in
12
- *
13
- * @return ICountry
14
- */
15
- getCountry(): ICountry;
16
- canShowCountry(): boolean;
17
- /**
18
- * Get discipline ids attached to this programme
19
- *
20
- * @return number[]
21
- */
22
- getDisciplineIds(): number[];
23
- /**
24
- * Education level
25
- *
26
- * @return string
27
- */
28
- getEducationalLevel(): string;
29
- /**
30
- * English level requirements.
31
- *
32
- * @return IEnglishRequirements
33
- */
34
- getEnglishRequirements(): IEnglishRequirements;
35
- /**
36
- * Id of the programme.
37
- *
38
- * @return number
39
- */
40
- getId(): number;
41
- /**
42
- * The last time the programme has been updated and verified
43
- *
44
- * @return Date
45
- */
46
- getLastUpdated(): Date;
47
- /**
48
- * University logo url
49
- *
50
- * @return ILogo
51
- */
52
- getLogo(): ILogo;
53
- canShowLogo(): boolean;
54
- /**
55
- * Get a link to the programme page.
56
- *
57
- * The link contains the page path as url and the programme name as the
58
- * link description.
59
- *
60
- * @return IInternalLink
61
- */
62
- getProgrammeLink(): IInternalLink;
63
- /**
64
- * The universities review rating
65
- *
66
- * @return number
67
- */
68
- getReviewRating(): number;
69
- canShowReviewRating(): boolean;
70
- /**
71
- * Get all start dates
72
- *
73
- * @return ITiming[]
74
- */
75
- getTimings(): ITiming[];
76
- /**
77
- * Title of the programme.
78
- *
79
- * @return string
80
- */
81
- getTitle(): string;
82
- /**
83
- * The programmes tuition fees
84
- *
85
- * @return ITuitionFee[]
86
- */
87
- getTuitionFees(): ITuitionFee[];
88
- canShowTuitionFees(): boolean;
89
- /**
90
- * University id
91
- *
92
- * @return number
93
- */
94
- getUniversityId(): number;
95
- /**
96
- * University title
97
- *
98
- * @return string
99
- */
100
- getUniversityTitle(): string;
101
- /**
102
- * Is programme public
103
- *
104
- * @return boolean
105
- */
106
- isPublic(): boolean;
107
- }
@@ -1,20 +0,0 @@
1
- export interface IDeadline {
2
- /**
3
- * Get the date this deadline expires on.
4
- *
5
- * @return Date
6
- */
7
- getDate(): Date;
8
- /**
9
- * Get the deadline type (e.g. general, national, eea, etc).
10
- *
11
- * @return string
12
- */
13
- getType(): string;
14
- /**
15
- * True if the deadline has passed (e.g. you can't apply anymore).
16
- *
17
- * @return boolean
18
- */
19
- isPassed(): boolean;
20
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,51 +0,0 @@
1
- export interface IEnglishRequirements {
2
- /**
3
- * Required score for Cambridge english
4
- *
5
- * @return number
6
- */
7
- getCambridgeEnglish(): number;
8
- canShowCambridgeEnglish(): boolean;
9
- /**
10
- * Required score for Duolingo
11
- *
12
- * @return number
13
- */
14
- getDuolingo(): number;
15
- canShowDuolingo(): boolean;
16
- /**
17
- * Required score for IELTS tests
18
- *
19
- * @return number
20
- */
21
- getIELTS(): number;
22
- canShowIELTS(): boolean;
23
- /**
24
- * Required score for OTE
25
- *
26
- * @return number
27
- */
28
- getOte(): number;
29
- canShowOte(): boolean;
30
- /**
31
- * Required score for PTE
32
- *
33
- * @return number
34
- */
35
- getPTE(): number;
36
- canShowPTE(): boolean;
37
- /**
38
- * Required score for TOEFL internet
39
- *
40
- * @return number
41
- */
42
- getTOEFLInternet(): number;
43
- canShowTOEFLInternet(): boolean;
44
- /**
45
- * Required score for TOEFL paper
46
- *
47
- * @return number
48
- */
49
- getTOEFLPaper(): number;
50
- canShowTOEFLPaper(): boolean;
51
- }
@@ -1,14 +0,0 @@
1
- export interface ILogo {
2
- /**
3
- * Get the file ID of the logo.
4
- *
5
- * @return number
6
- */
7
- getId(): number;
8
- /**
9
- * Get the imgix URL of the logo.
10
- *
11
- * @return string
12
- */
13
- getSource(): string;
14
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,33 +0,0 @@
1
- import { IDeadline } from "../../../index.js";
2
- export interface IStartDate {
3
- /**
4
- * Get the date the programme starts on.
5
- *
6
- * @return Date
7
- */
8
- getDate(): Date;
9
- /**
10
- * Get a list of deadlines that apply to this start date.
11
- *
12
- * Note: In case of extendable start dates, all information in the
13
- * Deadline objects has already been extended to the first available start
14
- * date.
15
- *
16
- * @return IDeadline[]
17
- * @throws PropertyNotAvailableException
18
- */
19
- getDeadlines(): IDeadline[];
20
- canShowDeadlines(): boolean;
21
- /**
22
- * True if you can apply at any time for this programme (rolling admission)
23
- *
24
- * @return boolean
25
- */
26
- isApplyingAnytime(): boolean;
27
- /**
28
- * True if the start date has passed (you can't start at this date anymore).
29
- *
30
- * @return boolean
31
- */
32
- isPassed(): boolean;
33
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,45 +0,0 @@
1
- import { IDeadline, IStartDate } from "../../../index.js";
2
- export interface ITiming {
3
- /**
4
- * Get the IDeadline applicable for this type and programme.
5
- *
6
- * Note: In case of extendable start dates, all information in the
7
- * Deadline object has already been extended to the first available start
8
- * date.
9
- *
10
- * @return IDeadline
11
- * @throws PropertyNotAvailableException
12
- */
13
- getDeadline(): IDeadline;
14
- canShowDeadline(): boolean;
15
- /**
16
- * Get the IStartDate applicable for this type and programme.
17
- *
18
- * Note: In case of extendable start dates, all information in the
19
- * StartDate objects has already been extended to the first available start
20
- * date.
21
- *
22
- * @return IStartDate
23
- * @throws PropertyNotAvailableException
24
- */
25
- getStartDate(): IStartDate;
26
- canShowStartDate(): boolean;
27
- /**
28
- * Type of user the timing is applicable to (e.g. general, eea, national).
29
- *
30
- * @return string
31
- */
32
- getType(): string;
33
- /**
34
- * True if the programme allows to apply at any time (rolling application).
35
- *
36
- * @return boolean
37
- */
38
- isApplyingAnytime(): boolean;
39
- /**
40
- * True if the programme can start at any time (rolling admission).
41
- *
42
- * @return boolean
43
- */
44
- isStartingAnytime(): boolean;
45
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,64 +0,0 @@
1
- export interface ITuitionFee {
2
- /**
3
- * Get the tuition amount per unit in the provided currency.
4
- *
5
- * Note: all transformable units will be converted to yearly amounts. This
6
- * includes per semester and full programme tuition fees.
7
- *
8
- * @return number
9
- */
10
- getAmount(): number;
11
- /**
12
- * Get the applicable currency.
13
- *
14
- * @return string
15
- */
16
- getCurrency(): string;
17
- /**
18
- * Get the discounted tuition amount per unit in the provided currency.
19
- * Returns null if the discounted amount is the same as the regular amount.
20
- *
21
- * @return number | null
22
- */
23
- getDiscountedAmount(): number | null;
24
- /**
25
- * Get the original tuition amount before any transformation step.
26
- *
27
- * @return number
28
- */
29
- getOriginalAmount(): number;
30
- /**
31
- * Get the original discounted tuition amount before any transformation step.
32
- * Returns null if the original discounted amount is the same as the original amount.
33
- *
34
- * @return number | null
35
- */
36
- getOriginalDiscountedAmount(): number | null;
37
- /**
38
- * Get the original tuition unit before any transformation step.
39
- *
40
- * @return string
41
- */
42
- getOriginalUnit(): string;
43
- /**
44
- * Get targeted audience (national, international, eea, etc).
45
- *
46
- * @return string
47
- */
48
- getTarget(): string;
49
- /**
50
- * Get the unit the tuition fee applies for.
51
- *
52
- * Note: all transformable units will be converted to 'year'. This means
53
- * this value will be either 'year', 'module' or 'credit'.
54
- *
55
- * @return string
56
- */
57
- getUnit(): string;
58
- /**
59
- * True if the study is free for this target audience.
60
- *
61
- * @return boolean
62
- */
63
- isFree(): boolean;
64
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,51 +0,0 @@
1
- export interface IEnglishRequirements {
2
- /**
3
- * Required score for Cambridge english
4
- *
5
- * @return number
6
- */
7
- getCambridgeEnglish(): number;
8
- canShowCambridgeEnglish(): boolean;
9
- /**
10
- * Required score for Duolingo
11
- *
12
- * @return number
13
- */
14
- getDuolingo(): number;
15
- canShowDuolingo(): boolean;
16
- /**
17
- * Required score for IELTS tests
18
- *
19
- * @return number
20
- */
21
- getIELTS(): number;
22
- canShowIELTS(): boolean;
23
- /**
24
- * Required score for OTE
25
- *
26
- * @return number
27
- */
28
- getOte(): number;
29
- canShowOte(): boolean;
30
- /**
31
- * Required score for PTE
32
- *
33
- * @return number
34
- */
35
- getPTE(): number;
36
- canShowPTE(): boolean;
37
- /**
38
- * Required score for TOEFL internet
39
- *
40
- * @return number
41
- */
42
- getTOEFLInternet(): number;
43
- canShowTOEFLInternet(): boolean;
44
- /**
45
- * Required score for TOEFL paper
46
- *
47
- * @return number
48
- */
49
- getTOEFLPaper(): number;
50
- canShowTOEFLPaper(): boolean;
51
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,20 +0,0 @@
1
- export interface IGPARequirement {
2
- /**
3
- * The used GPA scale for this requirement
4
- *
5
- * @return string
6
- */
7
- getScale(): string;
8
- /**
9
- * Required minimum score.
10
- *
11
- * @return string
12
- */
13
- getScore(): string;
14
- /**
15
- * Is GPA recommended or required.
16
- *
17
- * @return boolean
18
- */
19
- isRequired(): boolean;
20
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,20 +0,0 @@
1
- export interface ILivingCost {
2
- /**
3
- * Get the applicable currency.
4
- *
5
- * @return string
6
- */
7
- getCurrency(): string;
8
- /**
9
- * Get the maximum living cost in the provided currency.
10
- *
11
- * @return number
12
- */
13
- getMax(): number;
14
- /**
15
- * Get the minimum living cost in the provided currency.
16
- *
17
- * @return number
18
- */
19
- getMin(): number;
20
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,6 +0,0 @@
1
- export interface IReviewRatingDomain {
2
- getAverage(): number;
3
- getAverageStarRating(): number;
4
- getQuantity(): number;
5
- hasEnoughQuantity(): boolean;
6
- }
@@ -1 +0,0 @@
1
- export {};