@studyportals/domain-client 3.5.2 → 3.6.0-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 (117) hide show
  1. package/index.d.ts +45 -42
  2. package/index.js +27 -25
  3. package/index.js.map +1 -1
  4. package/package.json +1 -1
  5. package/src/domain-client.d.ts +14 -14
  6. package/src/domain-client.js +60 -60
  7. package/src/exceptions/bad-request-exception.d.ts +2 -2
  8. package/src/exceptions/bad-request-exception.js +6 -6
  9. package/src/exceptions/client-exception.d.ts +2 -2
  10. package/src/exceptions/client-exception.js +6 -6
  11. package/src/exceptions/internal-server-exception.d.ts +2 -2
  12. package/src/exceptions/internal-server-exception.js +6 -6
  13. package/src/exceptions/not-found-exception.d.ts +2 -2
  14. package/src/exceptions/not-found-exception.js +6 -6
  15. package/src/exceptions/property-not-available-exception.d.ts +2 -2
  16. package/src/exceptions/property-not-available-exception.js +6 -6
  17. package/src/factories/DateFactory.d.ts +5 -5
  18. package/src/factories/DateFactory.js +9 -9
  19. package/src/factories/InternalLinkFactory.d.ts +9 -9
  20. package/src/factories/InternalLinkFactory.js +19 -19
  21. package/src/i-api-response.d.ts +6 -6
  22. package/src/i-api-response.js +2 -2
  23. package/src/i-class-factory.d.ts +4 -4
  24. package/src/i-class-factory.js +2 -2
  25. package/src/i-model-description.d.ts +7 -7
  26. package/src/i-model-description.js +9 -9
  27. package/src/model-client.d.ts +16 -16
  28. package/src/model-client.js +45 -45
  29. package/src/model-factory.d.ts +11 -11
  30. package/src/model-factory.js +71 -71
  31. package/src/models/bestfit-programme/bestfit-programme-client.d.ts +7 -7
  32. package/src/models/bestfit-programme/bestfit-programme-client.js +16 -16
  33. package/src/models/bestfit-programme/i-best-fit-programme.d.ts +82 -82
  34. package/src/models/bestfit-programme/i-best-fit-programme.js +2 -2
  35. package/src/models/bestfit-programme/i-g-p-a-requirement.d.ts +20 -20
  36. package/src/models/bestfit-programme/i-g-p-a-requirement.js +2 -2
  37. package/src/models/bestfit-programme/i-living-cost.d.ts +20 -20
  38. package/src/models/bestfit-programme/i-living-cost.js +2 -2
  39. package/src/models/{bestfit-programme → common}/i-city.d.ts +14 -14
  40. package/src/models/{bestfit-programme → common}/i-city.js +2 -2
  41. package/src/models/common/i-city.js.map +1 -0
  42. package/src/models/{dotdigital-programme → common}/i-country.d.ts +14 -14
  43. package/src/models/{dotdigital-programme → common}/i-country.js +2 -2
  44. package/src/models/common/i-country.js.map +1 -0
  45. package/src/models/common/i-english-requirements.d.ts +30 -30
  46. package/src/models/common/i-english-requirements.js +2 -2
  47. package/src/models/common/i-internal-link.d.ts +28 -28
  48. package/src/models/common/i-internal-link.js +2 -2
  49. package/src/models/common/i-logo.d.ts +14 -14
  50. package/src/models/common/i-logo.js +2 -2
  51. package/src/models/common/i-tuition-fee.d.ts +50 -50
  52. package/src/models/common/i-tuition-fee.js +2 -2
  53. package/src/models/dotdigital-organisation/dotdigital-organisation-client.d.ts +7 -0
  54. package/src/models/dotdigital-organisation/dotdigital-organisation-client.js +17 -0
  55. package/src/models/dotdigital-organisation/dotdigital-organisation-client.js.map +1 -0
  56. package/src/models/dotdigital-organisation/i-dot-digital-organisation.d.ts +30 -0
  57. package/src/models/dotdigital-organisation/i-dot-digital-organisation.js +3 -0
  58. package/src/models/dotdigital-organisation/i-dot-digital-organisation.js.map +1 -0
  59. package/src/models/dotdigital-organisation/i-review.d.ts +7 -0
  60. package/src/models/dotdigital-organisation/i-review.js +3 -0
  61. package/src/models/dotdigital-organisation/i-review.js.map +1 -0
  62. package/src/models/dotdigital-programme/dotdigital-programme-client.d.ts +7 -7
  63. package/src/models/dotdigital-programme/dotdigital-programme-client.js +16 -16
  64. package/src/models/dotdigital-programme/i-dot-digital-programme.d.ts +89 -89
  65. package/src/models/dotdigital-programme/i-dot-digital-programme.js +2 -2
  66. package/src/models/programme-card/i-click-tracking-data.d.ts +5 -5
  67. package/src/models/programme-card/i-click-tracking-data.js +2 -2
  68. package/src/models/programme-card/i-cover.d.ts +14 -14
  69. package/src/models/programme-card/i-cover.js +2 -2
  70. package/src/models/programme-card/i-deadline.d.ts +20 -20
  71. package/src/models/programme-card/i-deadline.js +2 -2
  72. package/src/models/programme-card/i-duration.d.ts +40 -40
  73. package/src/models/programme-card/i-duration.js +2 -2
  74. package/src/models/programme-card/i-link.d.ts +22 -22
  75. package/src/models/programme-card/i-link.js +2 -2
  76. package/src/models/programme-card/i-location.d.ts +7 -7
  77. package/src/models/programme-card/i-location.js +2 -2
  78. package/src/models/programme-card/i-optional-link.d.ts +23 -23
  79. package/src/models/programme-card/i-optional-link.js +2 -2
  80. package/src/models/programme-card/i-programme-card.d.ts +126 -127
  81. package/src/models/programme-card/i-programme-card.js +2 -2
  82. package/src/models/programme-card/i-start-date.d.ts +33 -33
  83. package/src/models/programme-card/i-start-date.js +2 -2
  84. package/src/models/programme-card/i-timing.d.ts +45 -45
  85. package/src/models/programme-card/i-timing.js +2 -2
  86. package/src/models/programme-card/i-tracked-link.d.ts +29 -29
  87. package/src/models/programme-card/i-tracked-link.js +2 -2
  88. package/src/models/programme-card/i-tracking.d.ts +46 -46
  89. package/src/models/programme-card/i-tracking.js +2 -2
  90. package/src/models/programme-card/programme-card-client.d.ts +7 -7
  91. package/src/models/programme-card/programme-card-client.js +16 -16
  92. package/src/models/search-country-faq/i-search-country-faq.d.ts +18 -18
  93. package/src/models/search-country-faq/i-search-country-faq.js +2 -2
  94. package/src/models/search-country-faq/public-search-country-faq-client.d.ts +7 -7
  95. package/src/models/search-country-faq/public-search-country-faq-client.js +16 -16
  96. package/src/models/search-projection/i-geo-targeting-configuration.d.ts +38 -38
  97. package/src/models/search-projection/i-geo-targeting-configuration.js +2 -2
  98. package/src/models/search-projection/i-geo-targeting-values.d.ts +30 -30
  99. package/src/models/search-projection/i-geo-targeting-values.js +2 -2
  100. package/src/models/search-projection/i-organisation-values.d.ts +40 -40
  101. package/src/models/search-projection/i-organisation-values.js +2 -2
  102. package/src/models/search-projection/i-premium-values.d.ts +35 -35
  103. package/src/models/search-projection/i-premium-values.js +2 -2
  104. package/src/models/search-projection/i-search-projection.d.ts +180 -180
  105. package/src/models/search-projection/i-search-projection.js +2 -2
  106. package/src/models/search-projection/i-tuition-values.d.ts +50 -50
  107. package/src/models/search-projection/i-tuition-values.js +2 -2
  108. package/src/models/search-projection/search-projection-client.d.ts +7 -7
  109. package/src/models/search-projection/search-projection-client.js +16 -16
  110. package/src/types/portal-map.d.ts +2 -2
  111. package/src/types/portal-map.js +2 -2
  112. package/src/types/portal-type.d.ts +7 -7
  113. package/src/types/portal-type.js +11 -11
  114. package/src/types.d.ts +4 -4
  115. package/src/types.js +2 -2
  116. package/src/models/bestfit-programme/i-city.js.map +0 -1
  117. package/src/models/dotdigital-programme/i-country.js.map +0 -1
@@ -1,14 +1,14 @@
1
- export interface ICountry {
2
- /**
3
- * Get country id
4
- *
5
- * @return number
6
- */
7
- getId(): number;
8
- /**
9
- * Get country name
10
- *
11
- * @return string
12
- */
13
- getName(): string;
14
- }
1
+ export interface ICountry {
2
+ /**
3
+ * Get country id
4
+ *
5
+ * @return number
6
+ */
7
+ getId(): number;
8
+ /**
9
+ * Get country name
10
+ *
11
+ * @return string
12
+ */
13
+ getName(): string;
14
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=i-country.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-country.js","sourceRoot":"","sources":["../../../../src/models/common/i-country.ts"],"names":[],"mappings":""}
@@ -1,30 +1,30 @@
1
- export interface IEnglishRequirements {
2
- /**
3
- * Required score for IELTS tests
4
- *
5
- * @return number
6
- */
7
- getIELTS(): number;
8
- canShowIELTS(): boolean;
9
- /**
10
- * Required score for PTE
11
- *
12
- * @return number
13
- */
14
- getPTE(): number;
15
- canShowPTE(): boolean;
16
- /**
17
- * Required score for TOEFL internet
18
- *
19
- * @return number
20
- */
21
- getTOEFLInternet(): number;
22
- canShowTOEFLInternet(): boolean;
23
- /**
24
- * Required score for TOEFL paper
25
- *
26
- * @return number
27
- */
28
- getTOEFLPaper(): number;
29
- canShowTOEFLPaper(): boolean;
30
- }
1
+ export interface IEnglishRequirements {
2
+ /**
3
+ * Required score for IELTS tests
4
+ *
5
+ * @return number
6
+ */
7
+ getIELTS(): number;
8
+ canShowIELTS(): boolean;
9
+ /**
10
+ * Required score for PTE
11
+ *
12
+ * @return number
13
+ */
14
+ getPTE(): number;
15
+ canShowPTE(): boolean;
16
+ /**
17
+ * Required score for TOEFL internet
18
+ *
19
+ * @return number
20
+ */
21
+ getTOEFLInternet(): number;
22
+ canShowTOEFLInternet(): boolean;
23
+ /**
24
+ * Required score for TOEFL paper
25
+ *
26
+ * @return number
27
+ */
28
+ getTOEFLPaper(): number;
29
+ canShowTOEFLPaper(): boolean;
30
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=i-english-requirements.js.map
@@ -1,28 +1,28 @@
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
+ 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,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=i-internal-link.js.map
@@ -1,14 +1,14 @@
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
+ 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,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=i-logo.js.map
@@ -1,50 +1,50 @@
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 original tuition amount before any transformation step.
19
- *
20
- * @return number
21
- */
22
- getOriginalAmount(): number;
23
- /**
24
- * Get the original tuition unit before any transformation step.
25
- *
26
- * @return string
27
- */
28
- getOriginalUnit(): string;
29
- /**
30
- * Get targeted audience (national, international, eea, etc).
31
- *
32
- * @return string
33
- */
34
- getTarget(): string;
35
- /**
36
- * Get the unit the tuition fee applies for.
37
- *
38
- * Note: all transformable units will be converted to 'year'. This means
39
- * this value will be either 'year', 'module' or 'credit'.
40
- *
41
- * @return string
42
- */
43
- getUnit(): string;
44
- /**
45
- * True if the study is free for this target audience.
46
- *
47
- * @return boolean
48
- */
49
- isFree(): boolean;
50
- }
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 original tuition amount before any transformation step.
19
+ *
20
+ * @return number
21
+ */
22
+ getOriginalAmount(): number;
23
+ /**
24
+ * Get the original tuition unit before any transformation step.
25
+ *
26
+ * @return string
27
+ */
28
+ getOriginalUnit(): string;
29
+ /**
30
+ * Get targeted audience (national, international, eea, etc).
31
+ *
32
+ * @return string
33
+ */
34
+ getTarget(): string;
35
+ /**
36
+ * Get the unit the tuition fee applies for.
37
+ *
38
+ * Note: all transformable units will be converted to 'year'. This means
39
+ * this value will be either 'year', 'module' or 'credit'.
40
+ *
41
+ * @return string
42
+ */
43
+ getUnit(): string;
44
+ /**
45
+ * True if the study is free for this target audience.
46
+ *
47
+ * @return boolean
48
+ */
49
+ isFree(): boolean;
50
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=i-tuition-fee.js.map
@@ -0,0 +1,7 @@
1
+ import { IDotDigitalOrganisation } from "../../..";
2
+ import { ModelClient } from "../../model-client";
3
+ export declare class DotdigitalOrganisationClient extends ModelClient<IDotDigitalOrganisation> {
4
+ protected getModelName(): string;
5
+ protected getVersion(): string;
6
+ isPublic(): boolean;
7
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DotdigitalOrganisationClient = void 0;
4
+ const model_client_1 = require("../../model-client");
5
+ class DotdigitalOrganisationClient extends model_client_1.ModelClient {
6
+ getModelName() {
7
+ return 'dotdigital-organisation';
8
+ }
9
+ getVersion() {
10
+ return 'v1';
11
+ }
12
+ isPublic() {
13
+ return false;
14
+ }
15
+ }
16
+ exports.DotdigitalOrganisationClient = DotdigitalOrganisationClient;
17
+ //# sourceMappingURL=dotdigital-organisation-client.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dotdigital-organisation-client.js","sourceRoot":"","sources":["../../../../src/models/dotdigital-organisation/dotdigital-organisation-client.ts"],"names":[],"mappings":";;;AACA,qDAAiD;AAEjD,MAAa,4BAA6B,SAAQ,0BAAoC;IAC3E,YAAY;QACrB,OAAO,yBAAyB,CAAC;IAClC,CAAC;IAES,UAAU;QACnB,OAAO,IAAI,CAAC;IACb,CAAC;IAEM,QAAQ;QACd,OAAO,KAAK,CAAC;IACd,CAAC;CACD;AAZD,oEAYC"}
@@ -0,0 +1,30 @@
1
+ import { ICity, ICountry, IReview } from "../../..";
2
+ export interface IDotDigitalOrganisation {
3
+ getAboutCareer(): string;
4
+ getAboutEducation(): string;
5
+ getAboutHistory(): string;
6
+ getAboutResearch(): string;
7
+ getAcademicStaff(): number;
8
+ getAmountOfProgrammes(): number;
9
+ getCity(): ICity;
10
+ getCountry(): ICountry;
11
+ getCoverUrl(): string;
12
+ getFemaleStudents(): number;
13
+ getId(): number;
14
+ getLogoUrl(): string;
15
+ getName(): string;
16
+ getOrganisationUrl(): string;
17
+ /**
18
+ * @return IReview[]
19
+ */
20
+ getReviews(): IReview[];
21
+ getServicesHousing(): string;
22
+ getServicesICT(): string;
23
+ getServicesLibrary(): string;
24
+ getServicesMedical(): string;
25
+ getServicesStudent(): string;
26
+ getStudentLifeCampus(): string;
27
+ getStudentLifeSport(): string;
28
+ getStudents(): number;
29
+ getStudentsInternational(): number;
30
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=i-dot-digital-organisation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-dot-digital-organisation.js","sourceRoot":"","sources":["../../../../src/models/dotdigital-organisation/i-dot-digital-organisation.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ export interface IReview {
2
+ getEndDate(): Date;
3
+ getRating(): number;
4
+ getReview(): string;
5
+ getStartDate(): Date;
6
+ getTitle(): string;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=i-review.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-review.js","sourceRoot":"","sources":["../../../../src/models/dotdigital-organisation/i-review.ts"],"names":[],"mappings":""}
@@ -1,7 +1,7 @@
1
- import { IDotDigitalProgramme } from "../../..";
2
- import { ModelClient } from "../../model-client";
3
- export declare class DotdigitalProgrammeClient extends ModelClient<IDotDigitalProgramme> {
4
- protected getModelName(): string;
5
- protected getVersion(): string;
6
- isPublic(): boolean;
7
- }
1
+ import { IDotDigitalProgramme } from "../../..";
2
+ import { ModelClient } from "../../model-client";
3
+ export declare class DotdigitalProgrammeClient extends ModelClient<IDotDigitalProgramme> {
4
+ protected getModelName(): string;
5
+ protected getVersion(): string;
6
+ isPublic(): boolean;
7
+ }
@@ -1,17 +1,17 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DotdigitalProgrammeClient = void 0;
4
- const model_client_1 = require("../../model-client");
5
- class DotdigitalProgrammeClient extends model_client_1.ModelClient {
6
- getModelName() {
7
- return 'dotdigital-programme';
8
- }
9
- getVersion() {
10
- return 'v1';
11
- }
12
- isPublic() {
13
- return false;
14
- }
15
- }
16
- exports.DotdigitalProgrammeClient = DotdigitalProgrammeClient;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DotdigitalProgrammeClient = void 0;
4
+ const model_client_1 = require("../../model-client");
5
+ class DotdigitalProgrammeClient extends model_client_1.ModelClient {
6
+ getModelName() {
7
+ return 'dotdigital-programme';
8
+ }
9
+ getVersion() {
10
+ return 'v1';
11
+ }
12
+ isPublic() {
13
+ return false;
14
+ }
15
+ }
16
+ exports.DotdigitalProgrammeClient = DotdigitalProgrammeClient;
17
17
  //# sourceMappingURL=dotdigital-programme-client.js.map
@@ -1,89 +1,89 @@
1
- import { ICountry, IEnglishRequirements, IInternalLink, ILogo, ITuitionFee } from "../../..";
2
- export interface IDotDigitalProgramme {
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
- * Education level
19
- *
20
- * @return string
21
- */
22
- getEducationalLevel(): string;
23
- /**
24
- * English level requirements.
25
- *
26
- * @return IEnglishRequirements
27
- */
28
- getEnglishRequirements(): IEnglishRequirements;
29
- /**
30
- * Id of the programme.
31
- *
32
- * @return number
33
- */
34
- getId(): number;
35
- /**
36
- * The last time the programme has been updated and verified
37
- *
38
- * @return Date
39
- */
40
- getLastUpdated(): Date;
41
- /**
42
- * University logo url
43
- *
44
- * @return ILogo
45
- */
46
- getLogo(): ILogo;
47
- canShowLogo(): boolean;
48
- /**
49
- * Get a link to the programme page.
50
- *
51
- * The link contains the page path as url and the programme name as the
52
- * link description.
53
- *
54
- * @return IInternalLink
55
- */
56
- getProgrammeLink(): IInternalLink;
57
- /**
58
- * The universities review rating
59
- *
60
- * @return number
61
- */
62
- getReviewRating(): number;
63
- canShowReviewRating(): boolean;
64
- /**
65
- * Title of the programme.
66
- *
67
- * @return string
68
- */
69
- getTitle(): string;
70
- /**
71
- * The programmes tuition fees
72
- *
73
- * @return ITuitionFee[]
74
- */
75
- getTuitionFees(): ITuitionFee[];
76
- canShowTuitionFees(): boolean;
77
- /**
78
- * University title
79
- *
80
- * @return string
81
- */
82
- getUniversityTitle(): string;
83
- /**
84
- * Is programme public
85
- *
86
- * @return boolean
87
- */
88
- isPublic(): boolean;
89
- }
1
+ import { ICountry, IEnglishRequirements, IInternalLink, ILogo, ITuitionFee } from "../../..";
2
+ export interface IDotDigitalProgramme {
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
+ * Education level
19
+ *
20
+ * @return string
21
+ */
22
+ getEducationalLevel(): string;
23
+ /**
24
+ * English level requirements.
25
+ *
26
+ * @return IEnglishRequirements
27
+ */
28
+ getEnglishRequirements(): IEnglishRequirements;
29
+ /**
30
+ * Id of the programme.
31
+ *
32
+ * @return number
33
+ */
34
+ getId(): number;
35
+ /**
36
+ * The last time the programme has been updated and verified
37
+ *
38
+ * @return Date
39
+ */
40
+ getLastUpdated(): Date;
41
+ /**
42
+ * University logo url
43
+ *
44
+ * @return ILogo
45
+ */
46
+ getLogo(): ILogo;
47
+ canShowLogo(): boolean;
48
+ /**
49
+ * Get a link to the programme page.
50
+ *
51
+ * The link contains the page path as url and the programme name as the
52
+ * link description.
53
+ *
54
+ * @return IInternalLink
55
+ */
56
+ getProgrammeLink(): IInternalLink;
57
+ /**
58
+ * The universities review rating
59
+ *
60
+ * @return number
61
+ */
62
+ getReviewRating(): number;
63
+ canShowReviewRating(): boolean;
64
+ /**
65
+ * Title of the programme.
66
+ *
67
+ * @return string
68
+ */
69
+ getTitle(): string;
70
+ /**
71
+ * The programmes tuition fees
72
+ *
73
+ * @return ITuitionFee[]
74
+ */
75
+ getTuitionFees(): ITuitionFee[];
76
+ canShowTuitionFees(): boolean;
77
+ /**
78
+ * University title
79
+ *
80
+ * @return string
81
+ */
82
+ getUniversityTitle(): string;
83
+ /**
84
+ * Is programme public
85
+ *
86
+ * @return boolean
87
+ */
88
+ isPublic(): boolean;
89
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=i-dot-digital-programme.js.map
@@ -1,5 +1,5 @@
1
- export interface IClickTrackingData {
2
- getAction(): string;
3
- getCategory(): string;
4
- getLabel(): string;
5
- }
1
+ export interface IClickTrackingData {
2
+ getAction(): string;
3
+ getCategory(): string;
4
+ getLabel(): string;
5
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=i-click-tracking-data.js.map