@studyportals/domain-client 5.4.4 → 5.5.1

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 (202) hide show
  1. package/index.d.ts +85 -81
  2. package/index.js +63 -61
  3. package/index.js.map +1 -1
  4. package/package.json +55 -55
  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-city.d.ts +14 -14
  36. package/src/models/bestfit-programme/i-city.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/common/i-city.d.ts +14 -14
  40. package/src/models/common/i-city.js +2 -2
  41. package/src/models/common/i-country.d.ts +20 -20
  42. package/src/models/common/i-country.js +2 -2
  43. package/src/models/common/i-english-requirements.d.ts +51 -51
  44. package/src/models/common/i-english-requirements.js +2 -2
  45. package/src/models/common/i-g-p-a-requirement.d.ts +20 -20
  46. package/src/models/common/i-g-p-a-requirement.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/copilot-country/copilot-country-client.d.ts +7 -7
  54. package/src/models/copilot-country/copilot-country-client.js +16 -16
  55. package/src/models/copilot-country/i-copilot-country.d.ts +39 -39
  56. package/src/models/copilot-country/i-copilot-country.js +2 -2
  57. package/src/models/copilot-country/i-copilot-ranking-card.d.ts +38 -38
  58. package/src/models/copilot-country/i-copilot-ranking-card.js +2 -2
  59. package/src/models/copilot-programme/copilot-programme-client.d.ts +7 -7
  60. package/src/models/copilot-programme/copilot-programme-client.js +16 -16
  61. package/src/models/copilot-programme/i-copilot-programme.d.ts +125 -125
  62. package/src/models/copilot-programme/i-copilot-programme.js +2 -2
  63. package/src/models/customerio-organisation/customerio-organisation-client.d.ts +7 -7
  64. package/src/models/customerio-organisation/customerio-organisation-client.js +16 -16
  65. package/src/models/customerio-organisation/i-customer-io-organisation.d.ts +35 -35
  66. package/src/models/customerio-organisation/i-customer-io-organisation.js +2 -2
  67. package/src/models/customerio-organisation/i-review.d.ts +7 -7
  68. package/src/models/customerio-organisation/i-review.js +2 -2
  69. package/src/models/customerio-programme/customerio-programme-client.d.ts +7 -7
  70. package/src/models/customerio-programme/customerio-programme-client.js +16 -16
  71. package/src/models/customerio-programme/i-customer-io-programme.d.ts +107 -107
  72. package/src/models/customerio-programme/i-customer-io-programme.js +2 -2
  73. package/src/models/customerio-programme/i-internal-link.d.ts +28 -28
  74. package/src/models/customerio-programme/i-internal-link.js +2 -2
  75. package/src/models/faq-static-content/i-faq-static-content.d.ts +9 -0
  76. package/src/models/faq-static-content/i-faq-static-content.js +3 -0
  77. package/src/models/faq-static-content/i-faq-static-content.js.map +1 -0
  78. package/src/models/faq-static-content/i-faq.d.ts +4 -0
  79. package/src/models/faq-static-content/i-faq.js +3 -0
  80. package/src/models/faq-static-content/i-faq.js.map +1 -0
  81. package/src/models/faq-static-content/i-static-content-url.d.ts +4 -0
  82. package/src/models/faq-static-content/i-static-content-url.js +3 -0
  83. package/src/models/faq-static-content/i-static-content-url.js.map +1 -0
  84. package/src/models/faq-static-content/public-faq-static-content-client.d.ts +7 -0
  85. package/src/models/faq-static-content/public-faq-static-content-client.js +17 -0
  86. package/src/models/faq-static-content/public-faq-static-content-client.js.map +1 -0
  87. package/src/models/organisation-card/i-organisation-card.d.ts +36 -36
  88. package/src/models/organisation-card/i-organisation-card.js +2 -2
  89. package/src/models/organisation-card/i-ranking-discipline.d.ts +4 -4
  90. package/src/models/organisation-card/i-ranking-discipline.js +2 -2
  91. package/src/models/organisation-card/organisation-card-client.d.ts +7 -7
  92. package/src/models/organisation-card/organisation-card-client.js +16 -16
  93. package/src/models/organisation-for-search/i-organisation-for-search.d.ts +32 -32
  94. package/src/models/organisation-for-search/i-organisation-for-search.js +2 -2
  95. package/src/models/organisation-for-search/public-organisation-for-search-client.d.ts +7 -7
  96. package/src/models/organisation-for-search/public-organisation-for-search-client.js +16 -16
  97. package/src/models/organisation-search-document/i-organisation-search-document.d.ts +122 -122
  98. package/src/models/organisation-search-document/i-organisation-search-document.js +2 -2
  99. package/src/models/organisation-search-document/organisation-search-document-client.d.ts +7 -7
  100. package/src/models/organisation-search-document/organisation-search-document-client.js +16 -16
  101. package/src/models/programme-card/i-click-tracking-data.d.ts +5 -5
  102. package/src/models/programme-card/i-click-tracking-data.js +2 -2
  103. package/src/models/programme-card/i-cover.d.ts +14 -14
  104. package/src/models/programme-card/i-cover.js +2 -2
  105. package/src/models/programme-card/i-deadline.d.ts +20 -20
  106. package/src/models/programme-card/i-deadline.js +2 -2
  107. package/src/models/programme-card/i-duration.d.ts +40 -40
  108. package/src/models/programme-card/i-duration.js +2 -2
  109. package/src/models/programme-card/i-internal-link.d.ts +28 -28
  110. package/src/models/programme-card/i-internal-link.js +2 -2
  111. package/src/models/programme-card/i-link.d.ts +22 -22
  112. package/src/models/programme-card/i-link.js +2 -2
  113. package/src/models/programme-card/i-location.d.ts +12 -12
  114. package/src/models/programme-card/i-location.js +2 -2
  115. package/src/models/programme-card/i-logo.d.ts +14 -14
  116. package/src/models/programme-card/i-logo.js +2 -2
  117. package/src/models/programme-card/i-optional-link.d.ts +23 -23
  118. package/src/models/programme-card/i-optional-link.js +2 -2
  119. package/src/models/programme-card/i-programme-card.d.ts +205 -205
  120. package/src/models/programme-card/i-programme-card.js +2 -2
  121. package/src/models/programme-card/i-start-date.d.ts +33 -33
  122. package/src/models/programme-card/i-start-date.js +2 -2
  123. package/src/models/programme-card/i-timing.d.ts +45 -45
  124. package/src/models/programme-card/i-timing.js +2 -2
  125. package/src/models/programme-card/i-tracked-link.d.ts +29 -29
  126. package/src/models/programme-card/i-tracked-link.js +2 -2
  127. package/src/models/programme-card/i-tracking.d.ts +46 -46
  128. package/src/models/programme-card/i-tracking.js +2 -2
  129. package/src/models/programme-card/i-tuition-fee.d.ts +50 -50
  130. package/src/models/programme-card/i-tuition-fee.js +2 -2
  131. package/src/models/programme-card/programme-card-client.d.ts +7 -7
  132. package/src/models/programme-card/programme-card-client.js +16 -16
  133. package/src/models/ranking-cards/i-ranking.d.ts +18 -18
  134. package/src/models/ranking-cards/i-ranking.js +2 -2
  135. package/src/models/scholarship-card/i-scholarship-card.d.ts +15 -15
  136. package/src/models/scholarship-card/i-scholarship-card.js +2 -2
  137. package/src/models/scholarship-card/public-scholarship-card-client.d.ts +7 -7
  138. package/src/models/scholarship-card/public-scholarship-card-client.js +16 -16
  139. package/src/models/scholarship-card/scholarship-card-v2-client.d.ts +7 -7
  140. package/src/models/scholarship-card/scholarship-card-v2-client.js +16 -16
  141. package/src/models/scholarship-search-document/i-scholarship-search-document.d.ts +38 -38
  142. package/src/models/scholarship-search-document/i-scholarship-search-document.js +2 -2
  143. package/src/models/scholarship-search-document/scholarship-search-document-client.d.ts +7 -7
  144. package/src/models/scholarship-search-document/scholarship-search-document-client.js +16 -16
  145. package/src/models/search-discipline/i-search-discipline.d.ts +26 -26
  146. package/src/models/search-discipline/i-search-discipline.js +2 -2
  147. package/src/models/search-discipline/public-search-discipline-client.d.ts +7 -7
  148. package/src/models/search-discipline/public-search-discipline-client.js +16 -16
  149. package/src/models/search-projection/i-geo-targeting-configuration.d.ts +38 -38
  150. package/src/models/search-projection/i-geo-targeting-configuration.js +2 -2
  151. package/src/models/search-projection/i-geo-targeting-values.d.ts +30 -30
  152. package/src/models/search-projection/i-geo-targeting-values.js +2 -2
  153. package/src/models/search-projection/i-organisation-values.d.ts +46 -46
  154. package/src/models/search-projection/i-organisation-values.js +2 -2
  155. package/src/models/search-projection/i-premium-values.d.ts +35 -35
  156. package/src/models/search-projection/i-premium-values.js +2 -2
  157. package/src/models/search-projection/i-search-projection.d.ts +186 -186
  158. package/src/models/search-projection/i-search-projection.js +2 -2
  159. package/src/models/search-projection/i-tuition-values.d.ts +50 -50
  160. package/src/models/search-projection/i-tuition-values.js +2 -2
  161. package/src/models/search-projection/search-projection-client.d.ts +7 -7
  162. package/src/models/search-projection/search-projection-client.js +16 -16
  163. package/src/models/sitemap-articles-info/i-sitemap-article-info.d.ts +26 -26
  164. package/src/models/sitemap-articles-info/i-sitemap-article-info.js +2 -2
  165. package/src/models/sitemap-articles-info/sitemap-articles-info-client.d.ts +7 -7
  166. package/src/models/sitemap-articles-info/sitemap-articles-info-client.js +16 -16
  167. package/src/models/sitemap-cities-info/i-sitemap-city-info.d.ts +14 -14
  168. package/src/models/sitemap-cities-info/i-sitemap-city-info.js +2 -2
  169. package/src/models/sitemap-cities-info/sitemap-cities-info-client.d.ts +7 -7
  170. package/src/models/sitemap-cities-info/sitemap-cities-info-client.js +16 -16
  171. package/src/models/sitemap-countries-info/i-sitemap-country-info.d.ts +14 -14
  172. package/src/models/sitemap-countries-info/i-sitemap-country-info.js +2 -2
  173. package/src/models/sitemap-countries-info/sitemap-countries-info-client.d.ts +7 -7
  174. package/src/models/sitemap-countries-info/sitemap-countries-info-client.js +16 -16
  175. package/src/models/sitemap-country-degree-info/i-degree-info.d.ts +14 -14
  176. package/src/models/sitemap-country-degree-info/i-degree-info.js +2 -2
  177. package/src/models/sitemap-country-degree-info/i-sitemap-country-degree-info.d.ts +11 -11
  178. package/src/models/sitemap-country-degree-info/i-sitemap-country-degree-info.js +2 -2
  179. package/src/models/sitemap-country-degree-info/sitemap-country-degree-info-client.d.ts +7 -7
  180. package/src/models/sitemap-country-degree-info/sitemap-country-degree-info-client.js +16 -16
  181. package/src/models/sitemap-disciplines-info/i-sitemap-discipline-info.d.ts +14 -14
  182. package/src/models/sitemap-disciplines-info/i-sitemap-discipline-info.js +2 -2
  183. package/src/models/sitemap-disciplines-info/sitemap-disciplines-info-client.d.ts +7 -7
  184. package/src/models/sitemap-disciplines-info/sitemap-disciplines-info-client.js +16 -16
  185. package/src/models/sitemap-organisations-info/i-sitemap-organisation-info.d.ts +26 -26
  186. package/src/models/sitemap-organisations-info/i-sitemap-organisation-info.js +2 -2
  187. package/src/models/sitemap-organisations-info/sitemap-organisations-info-client.d.ts +7 -7
  188. package/src/models/sitemap-organisations-info/sitemap-organisations-info-client.js +16 -16
  189. package/src/models/sitemap-programme-info/i-sitemap-programme-info.d.ts +26 -26
  190. package/src/models/sitemap-programme-info/i-sitemap-programme-info.js +2 -2
  191. package/src/models/sitemap-programme-info/sitemap-programme-info-client.d.ts +7 -7
  192. package/src/models/sitemap-programme-info/sitemap-programme-info-client.js +16 -16
  193. package/src/models/sitemap-rankings-info/i-sitemap-rankings-info.d.ts +14 -14
  194. package/src/models/sitemap-rankings-info/i-sitemap-rankings-info.js +2 -2
  195. package/src/models/sitemap-rankings-info/sitemap-rankings-info-client.d.ts +7 -7
  196. package/src/models/sitemap-rankings-info/sitemap-rankings-info-client.js +16 -16
  197. package/src/types/portal-map.d.ts +2 -2
  198. package/src/types/portal-map.js +2 -2
  199. package/src/types/portal-type.d.ts +7 -7
  200. package/src/types/portal-type.js +11 -11
  201. package/src/types.d.ts +4 -4
  202. package/src/types.js +2 -2
@@ -1,20 +1,20 @@
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
+ 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,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-g-p-a-requirement.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
@@ -1,7 +1,7 @@
1
- import { ICopilotCountry } from "../../..";
2
- import { ModelClient } from "../../model-client";
3
- export declare class CopilotCountryClient extends ModelClient<ICopilotCountry> {
4
- protected getModelName(): string;
5
- protected getVersion(): string;
6
- isPublic(): boolean;
7
- }
1
+ import { ICopilotCountry } from "../../..";
2
+ import { ModelClient } from "../../model-client";
3
+ export declare class CopilotCountryClient extends ModelClient<ICopilotCountry> {
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.CopilotCountryClient = void 0;
4
- const model_client_1 = require("../../model-client");
5
- class CopilotCountryClient extends model_client_1.ModelClient {
6
- getModelName() {
7
- return 'copilot-country';
8
- }
9
- getVersion() {
10
- return 'v1';
11
- }
12
- isPublic() {
13
- return false;
14
- }
15
- }
16
- exports.CopilotCountryClient = CopilotCountryClient;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CopilotCountryClient = void 0;
4
+ const model_client_1 = require("../../model-client");
5
+ class CopilotCountryClient extends model_client_1.ModelClient {
6
+ getModelName() {
7
+ return 'copilot-country';
8
+ }
9
+ getVersion() {
10
+ return 'v1';
11
+ }
12
+ isPublic() {
13
+ return false;
14
+ }
15
+ }
16
+ exports.CopilotCountryClient = CopilotCountryClient;
17
17
  //# sourceMappingURL=copilot-country-client.js.map
@@ -1,39 +1,39 @@
1
- import { ICopilotRankingCard } from "./i-copilot-ranking-card";
2
- export interface ICopilotCountry {
3
- /**
4
- * How to apply in country x text
5
- *
6
- * @return string | null
7
- */
8
- getHowToApplyText(): string | null;
9
- /**
10
- * Id of the country.
11
- *
12
- * @return number
13
- */
14
- getId(): number;
15
- /**
16
- * ISO code ALPHA-2
17
- *
18
- * @return string
19
- */
20
- getIsoCode(): string;
21
- /**
22
- * Country title
23
- *
24
- * @return string
25
- */
26
- getTitle(): string;
27
- /**
28
- * Why study in country x text
29
- *
30
- * @return string | null
31
- */
32
- getWhyText(): string | null;
33
- /**
34
- * Top universities of the country
35
- *
36
- * @return ICopilotRankingCard[] | null
37
- */
38
- getTopUniversities(): ICopilotRankingCard[] | null;
39
- }
1
+ import { ICopilotRankingCard } from "./i-copilot-ranking-card";
2
+ export interface ICopilotCountry {
3
+ /**
4
+ * How to apply in country x text
5
+ *
6
+ * @return string | null
7
+ */
8
+ getHowToApplyText(): string | null;
9
+ /**
10
+ * Id of the country.
11
+ *
12
+ * @return number
13
+ */
14
+ getId(): number;
15
+ /**
16
+ * ISO code ALPHA-2
17
+ *
18
+ * @return string
19
+ */
20
+ getIsoCode(): string;
21
+ /**
22
+ * Country title
23
+ *
24
+ * @return string
25
+ */
26
+ getTitle(): string;
27
+ /**
28
+ * Why study in country x text
29
+ *
30
+ * @return string | null
31
+ */
32
+ getWhyText(): string | null;
33
+ /**
34
+ * Top universities of the country
35
+ *
36
+ * @return ICopilotRankingCard[] | null
37
+ */
38
+ getTopUniversities(): ICopilotRankingCard[] | null;
39
+ }
@@ -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-copilot-country.js.map
@@ -1,38 +1,38 @@
1
- export interface ICopilotRankingCard {
2
- /**
3
- * Get the organisation id.
4
- *
5
- * @return number
6
- */
7
- getOrganisationId(): number;
8
- /**
9
- * Get the organisation name.
10
- *
11
- * @return string | null
12
- */
13
- getOrganisationName(): string | null;
14
- /**
15
- * Get the organisation homepage link.
16
- *
17
- * @return string | null
18
- */
19
- getOrganisationPageUrl(): string | null;
20
- /**
21
- * Get the organisation logo url.
22
- *
23
- * @return string | null
24
- */
25
- getOrganisationLogoUrl(): string | null;
26
- /**
27
- * Verifies if the organisation's logo can be displayed.
28
- *
29
- * @return boolean
30
- */
31
- hasOrganisationLogo(): boolean;
32
- /**
33
- * Retrieves the ranking position for the organisation in the Studyportals ranking in the country of the university.
34
- *
35
- * @return number | null
36
- */
37
- getPositionInCountry(): number | null;
38
- }
1
+ export interface ICopilotRankingCard {
2
+ /**
3
+ * Get the organisation id.
4
+ *
5
+ * @return number
6
+ */
7
+ getOrganisationId(): number;
8
+ /**
9
+ * Get the organisation name.
10
+ *
11
+ * @return string | null
12
+ */
13
+ getOrganisationName(): string | null;
14
+ /**
15
+ * Get the organisation homepage link.
16
+ *
17
+ * @return string | null
18
+ */
19
+ getOrganisationPageUrl(): string | null;
20
+ /**
21
+ * Get the organisation logo url.
22
+ *
23
+ * @return string | null
24
+ */
25
+ getOrganisationLogoUrl(): string | null;
26
+ /**
27
+ * Verifies if the organisation's logo can be displayed.
28
+ *
29
+ * @return boolean
30
+ */
31
+ hasOrganisationLogo(): boolean;
32
+ /**
33
+ * Retrieves the ranking position for the organisation in the Studyportals ranking in the country of the university.
34
+ *
35
+ * @return number | null
36
+ */
37
+ getPositionInCountry(): number | null;
38
+ }
@@ -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-copilot-ranking-card.js.map
@@ -1,7 +1,7 @@
1
- import { ICopilotProgramme } from "../../..";
2
- import { ModelClient } from "../../model-client";
3
- export declare class CopilotProgrammeClient extends ModelClient<ICopilotProgramme> {
4
- protected getModelName(): string;
5
- protected getVersion(): string;
6
- isPublic(): boolean;
7
- }
1
+ import { ICopilotProgramme } from "../../..";
2
+ import { ModelClient } from "../../model-client";
3
+ export declare class CopilotProgrammeClient extends ModelClient<ICopilotProgramme> {
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.CopilotProgrammeClient = void 0;
4
- const model_client_1 = require("../../model-client");
5
- class CopilotProgrammeClient extends model_client_1.ModelClient {
6
- getModelName() {
7
- return 'copilot-programme';
8
- }
9
- getVersion() {
10
- return 'v1';
11
- }
12
- isPublic() {
13
- return false;
14
- }
15
- }
16
- exports.CopilotProgrammeClient = CopilotProgrammeClient;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CopilotProgrammeClient = void 0;
4
+ const model_client_1 = require("../../model-client");
5
+ class CopilotProgrammeClient extends model_client_1.ModelClient {
6
+ getModelName() {
7
+ return 'copilot-programme';
8
+ }
9
+ getVersion() {
10
+ return 'v1';
11
+ }
12
+ isPublic() {
13
+ return false;
14
+ }
15
+ }
16
+ exports.CopilotProgrammeClient = CopilotProgrammeClient;
17
17
  //# sourceMappingURL=copilot-programme-client.js.map