@studyportals/domain-client 7.0.1-beta.3 → 7.0.1-beta.5

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 (302) hide show
  1. package/package.json +5 -1
  2. package/index.d.ts +0 -91
  3. package/protobuf/Area.d.ts +0 -11
  4. package/protobuf/Area.js +0 -30
  5. package/protobuf/Article.d.ts +0 -60
  6. package/protobuf/Article.js +0 -226
  7. package/protobuf/Body.d.ts +0 -11
  8. package/protobuf/Body.js +0 -30
  9. package/protobuf/CampaignInformation.d.ts +0 -11
  10. package/protobuf/CampaignInformation.js +0 -30
  11. package/protobuf/ClickTracking.d.ts +0 -11
  12. package/protobuf/ClickTracking.js +0 -30
  13. package/protobuf/CommercialEntity.d.ts +0 -14
  14. package/protobuf/CommercialEntity.js +0 -48
  15. package/protobuf/Cover.d.ts +0 -10
  16. package/protobuf/Cover.js +0 -26
  17. package/protobuf/Deadline.d.ts +0 -11
  18. package/protobuf/Deadline.js +0 -30
  19. package/protobuf/Degree.d.ts +0 -16
  20. package/protobuf/Degree.js +0 -50
  21. package/protobuf/Description.d.ts +0 -16
  22. package/protobuf/Description.js +0 -45
  23. package/protobuf/Discipline.d.ts +0 -26
  24. package/protobuf/Discipline.js +0 -84
  25. package/protobuf/Duration.d.ts +0 -11
  26. package/protobuf/Duration.js +0 -30
  27. package/protobuf/EnglishRequirement.d.ts +0 -11
  28. package/protobuf/EnglishRequirement.js +0 -30
  29. package/protobuf/EssentialInformation.d.ts +0 -17
  30. package/protobuf/EssentialInformation.js +0 -54
  31. package/protobuf/File.d.ts +0 -22
  32. package/protobuf/File.js +0 -74
  33. package/protobuf/GPARequirement.d.ts +0 -11
  34. package/protobuf/GPARequirement.js +0 -30
  35. package/protobuf/InternalLink.d.ts +0 -12
  36. package/protobuf/InternalLink.js +0 -30
  37. package/protobuf/Link.d.ts +0 -11
  38. package/protobuf/Link.js +0 -30
  39. package/protobuf/LivingCost.d.ts +0 -11
  40. package/protobuf/LivingCost.js +0 -30
  41. package/protobuf/Location.d.ts +0 -18
  42. package/protobuf/Location.js +0 -56
  43. package/protobuf/Logo.d.ts +0 -10
  44. package/protobuf/Logo.js +0 -26
  45. package/protobuf/MiniProgrammeCard.d.ts +0 -18
  46. package/protobuf/MiniProgrammeCard.js +0 -50
  47. package/protobuf/OptionalLink.d.ts +0 -12
  48. package/protobuf/OptionalLink.js +0 -34
  49. package/protobuf/Organisation.d.ts +0 -211
  50. package/protobuf/Organisation.js +0 -853
  51. package/protobuf/OrganisationInformation.d.ts +0 -9
  52. package/protobuf/OrganisationInformation.js +0 -20
  53. package/protobuf/OrganisationRanking.d.ts +0 -15
  54. package/protobuf/OrganisationRanking.js +0 -41
  55. package/protobuf/Person.d.ts +0 -14
  56. package/protobuf/Person.js +0 -40
  57. package/protobuf/ProgrammeCard.d.ts +0 -60
  58. package/protobuf/ProgrammeCard.js +0 -197
  59. package/protobuf/ProgrammeGrid.d.ts +0 -14
  60. package/protobuf/ProgrammeGrid.js +0 -37
  61. package/protobuf/Ranking.d.ts +0 -22
  62. package/protobuf/Ranking.js +0 -76
  63. package/protobuf/RankingInstitute.d.ts +0 -15
  64. package/protobuf/RankingInstitute.js +0 -44
  65. package/protobuf/Review.d.ts +0 -17
  66. package/protobuf/Review.js +0 -52
  67. package/protobuf/ReviewRating.d.ts +0 -12
  68. package/protobuf/ReviewRating.js +0 -34
  69. package/protobuf/RichText.d.ts +0 -10
  70. package/protobuf/RichText.js +0 -28
  71. package/protobuf/SocialLink.d.ts +0 -21
  72. package/protobuf/SocialLink.js +0 -70
  73. package/protobuf/StartDate.d.ts +0 -13
  74. package/protobuf/StartDate.js +0 -38
  75. package/protobuf/Timing.d.ts +0 -17
  76. package/protobuf/Timing.js +0 -49
  77. package/protobuf/Topic.d.ts +0 -10
  78. package/protobuf/Topic.js +0 -26
  79. package/protobuf/TrackedLink.d.ts +0 -13
  80. package/protobuf/TrackedLink.js +0 -36
  81. package/protobuf/Tracking.d.ts +0 -18
  82. package/protobuf/Tracking.js +0 -58
  83. package/protobuf/TuitionFee.d.ts +0 -13
  84. package/protobuf/TuitionFee.js +0 -38
  85. package/protobuf/Unibuddy.d.ts +0 -10
  86. package/protobuf/Unibuddy.js +0 -26
  87. package/protobuf/index.d.ts +0 -45
  88. package/protobuf/index.js +0 -45
  89. package/src/clients/article-detail-page-client.d.ts +0 -8
  90. package/src/clients/article-detail-page-client.js +0 -16
  91. package/src/clients/index.d.ts +0 -7
  92. package/src/clients/index.js +0 -7
  93. package/src/clients/organisation-page-client.d.ts +0 -8
  94. package/src/clients/organisation-page-client.js +0 -16
  95. package/src/clients/protobuf-client.d.ts +0 -14
  96. package/src/clients/protobuf-client.js +0 -26
  97. package/src/clients/public-mini-programme-card-client.d.ts +0 -8
  98. package/src/clients/public-mini-programme-card-client.js +0 -16
  99. package/src/domain-client.d.ts +0 -14
  100. package/src/domain-client.js +0 -91
  101. package/src/exceptions/bad-request-exception.d.ts +0 -2
  102. package/src/exceptions/bad-request-exception.js +0 -2
  103. package/src/exceptions/client-exception.d.ts +0 -2
  104. package/src/exceptions/client-exception.js +0 -2
  105. package/src/exceptions/internal-server-exception.d.ts +0 -2
  106. package/src/exceptions/internal-server-exception.js +0 -2
  107. package/src/exceptions/not-found-exception.d.ts +0 -2
  108. package/src/exceptions/not-found-exception.js +0 -2
  109. package/src/exceptions/property-not-available-exception.d.ts +0 -2
  110. package/src/exceptions/property-not-available-exception.js +0 -2
  111. package/src/factories/DateFactory.d.ts +0 -5
  112. package/src/factories/DateFactory.js +0 -5
  113. package/src/factories/InternalLinkFactory.d.ts +0 -9
  114. package/src/factories/InternalLinkFactory.js +0 -22
  115. package/src/i-api-response.d.ts +0 -6
  116. package/src/i-api-response.js +0 -1
  117. package/src/i-class-factory.d.ts +0 -4
  118. package/src/i-class-factory.js +0 -1
  119. package/src/i-model-description.d.ts +0 -7
  120. package/src/i-model-description.js +0 -5
  121. package/src/model-client.d.ts +0 -16
  122. package/src/model-client.js +0 -43
  123. package/src/model-factory.d.ts +0 -11
  124. package/src/model-factory.js +0 -68
  125. package/src/models/bestfit-programme/bestfit-programme-client.d.ts +0 -7
  126. package/src/models/bestfit-programme/bestfit-programme-client.js +0 -12
  127. package/src/models/bestfit-programme/i-best-fit-programme.d.ts +0 -82
  128. package/src/models/bestfit-programme/i-best-fit-programme.js +0 -1
  129. package/src/models/bestfit-programme/i-city.d.ts +0 -14
  130. package/src/models/bestfit-programme/i-city.js +0 -1
  131. package/src/models/bestfit-programme/i-living-cost.d.ts +0 -20
  132. package/src/models/bestfit-programme/i-living-cost.js +0 -1
  133. package/src/models/city-search-document/city-search-document-client.d.ts +0 -7
  134. package/src/models/city-search-document/city-search-document-client.js +0 -12
  135. package/src/models/city-search-document/i-city-search-document.d.ts +0 -7
  136. package/src/models/city-search-document/i-city-search-document.js +0 -1
  137. package/src/models/common/i-city.d.ts +0 -14
  138. package/src/models/common/i-city.js +0 -1
  139. package/src/models/common/i-country.d.ts +0 -20
  140. package/src/models/common/i-country.js +0 -1
  141. package/src/models/common/i-english-requirements.d.ts +0 -51
  142. package/src/models/common/i-english-requirements.js +0 -1
  143. package/src/models/common/i-g-p-a-requirement.d.ts +0 -20
  144. package/src/models/common/i-g-p-a-requirement.js +0 -1
  145. package/src/models/common/i-internal-link.d.ts +0 -28
  146. package/src/models/common/i-internal-link.js +0 -1
  147. package/src/models/common/i-logo.d.ts +0 -14
  148. package/src/models/common/i-logo.js +0 -1
  149. package/src/models/common/i-review-rating.d.ts +0 -26
  150. package/src/models/common/i-review-rating.js +0 -1
  151. package/src/models/common/i-tuition-fee.d.ts +0 -50
  152. package/src/models/common/i-tuition-fee.js +0 -1
  153. package/src/models/copilot-country/copilot-country-client.d.ts +0 -7
  154. package/src/models/copilot-country/copilot-country-client.js +0 -12
  155. package/src/models/copilot-country/i-copilot-country.d.ts +0 -39
  156. package/src/models/copilot-country/i-copilot-country.js +0 -1
  157. package/src/models/copilot-country/i-copilot-ranking-card.d.ts +0 -38
  158. package/src/models/copilot-country/i-copilot-ranking-card.js +0 -1
  159. package/src/models/copilot-programme/copilot-programme-client.d.ts +0 -7
  160. package/src/models/copilot-programme/copilot-programme-client.js +0 -12
  161. package/src/models/copilot-programme/i-copilot-programme.d.ts +0 -125
  162. package/src/models/copilot-programme/i-copilot-programme.js +0 -1
  163. package/src/models/customerio-organisation/customerio-organisation-client.d.ts +0 -7
  164. package/src/models/customerio-organisation/customerio-organisation-client.js +0 -12
  165. package/src/models/customerio-organisation/i-customer-io-organisation.d.ts +0 -35
  166. package/src/models/customerio-organisation/i-customer-io-organisation.js +0 -1
  167. package/src/models/customerio-organisation/i-review.d.ts +0 -7
  168. package/src/models/customerio-organisation/i-review.js +0 -1
  169. package/src/models/customerio-programme/customerio-programme-client.d.ts +0 -7
  170. package/src/models/customerio-programme/customerio-programme-client.js +0 -12
  171. package/src/models/customerio-programme/i-customer-io-programme.d.ts +0 -107
  172. package/src/models/customerio-programme/i-customer-io-programme.js +0 -1
  173. package/src/models/customerio-programme/i-internal-link.d.ts +0 -28
  174. package/src/models/customerio-programme/i-internal-link.js +0 -1
  175. package/src/models/faq-static-content/i-faq-static-content.d.ts +0 -10
  176. package/src/models/faq-static-content/i-faq-static-content.js +0 -1
  177. package/src/models/faq-static-content/i-faq.d.ts +0 -4
  178. package/src/models/faq-static-content/i-faq.js +0 -1
  179. package/src/models/faq-static-content/i-static-content-url.d.ts +0 -4
  180. package/src/models/faq-static-content/i-static-content-url.js +0 -1
  181. package/src/models/faq-static-content/i-static-content.d.ts +0 -5
  182. package/src/models/faq-static-content/i-static-content.js +0 -1
  183. package/src/models/faq-static-content/public-faq-static-content-client.d.ts +0 -7
  184. package/src/models/faq-static-content/public-faq-static-content-client.js +0 -12
  185. package/src/models/organisation-card/i-organisation-card.d.ts +0 -39
  186. package/src/models/organisation-card/i-organisation-card.js +0 -1
  187. package/src/models/organisation-card/i-ranking-discipline.d.ts +0 -4
  188. package/src/models/organisation-card/i-ranking-discipline.js +0 -1
  189. package/src/models/organisation-card/organisation-card-client.d.ts +0 -7
  190. package/src/models/organisation-card/organisation-card-client.js +0 -12
  191. package/src/models/organisation-for-search/i-organisation-for-search.d.ts +0 -32
  192. package/src/models/organisation-for-search/i-organisation-for-search.js +0 -1
  193. package/src/models/organisation-for-search/public-organisation-for-search-client.d.ts +0 -7
  194. package/src/models/organisation-for-search/public-organisation-for-search-client.js +0 -12
  195. package/src/models/organisation-search-document/i-organisation-search-document.d.ts +0 -158
  196. package/src/models/organisation-search-document/i-organisation-search-document.js +0 -1
  197. package/src/models/organisation-search-document/organisation-search-document-client.d.ts +0 -7
  198. package/src/models/organisation-search-document/organisation-search-document-client.js +0 -12
  199. package/src/models/programme-card/i-click-tracking-data.d.ts +0 -5
  200. package/src/models/programme-card/i-click-tracking-data.js +0 -1
  201. package/src/models/programme-card/i-cover.d.ts +0 -14
  202. package/src/models/programme-card/i-cover.js +0 -1
  203. package/src/models/programme-card/i-deadline.d.ts +0 -20
  204. package/src/models/programme-card/i-deadline.js +0 -1
  205. package/src/models/programme-card/i-duration.d.ts +0 -40
  206. package/src/models/programme-card/i-duration.js +0 -1
  207. package/src/models/programme-card/i-internal-link.d.ts +0 -28
  208. package/src/models/programme-card/i-internal-link.js +0 -1
  209. package/src/models/programme-card/i-link.d.ts +0 -22
  210. package/src/models/programme-card/i-link.js +0 -1
  211. package/src/models/programme-card/i-location.d.ts +0 -12
  212. package/src/models/programme-card/i-location.js +0 -1
  213. package/src/models/programme-card/i-logo.d.ts +0 -14
  214. package/src/models/programme-card/i-logo.js +0 -1
  215. package/src/models/programme-card/i-optional-link.d.ts +0 -23
  216. package/src/models/programme-card/i-optional-link.js +0 -1
  217. package/src/models/programme-card/i-programme-card.d.ts +0 -212
  218. package/src/models/programme-card/i-programme-card.js +0 -1
  219. package/src/models/programme-card/i-start-date.d.ts +0 -33
  220. package/src/models/programme-card/i-start-date.js +0 -1
  221. package/src/models/programme-card/i-timing.d.ts +0 -45
  222. package/src/models/programme-card/i-timing.js +0 -1
  223. package/src/models/programme-card/i-tracked-link.d.ts +0 -29
  224. package/src/models/programme-card/i-tracked-link.js +0 -1
  225. package/src/models/programme-card/i-tracking.d.ts +0 -46
  226. package/src/models/programme-card/i-tracking.js +0 -1
  227. package/src/models/programme-card/i-tuition-fee.d.ts +0 -50
  228. package/src/models/programme-card/i-tuition-fee.js +0 -1
  229. package/src/models/programme-card/programme-card-client.d.ts +0 -7
  230. package/src/models/programme-card/programme-card-client.js +0 -12
  231. package/src/models/ranking-cards/i-ranking.d.ts +0 -18
  232. package/src/models/ranking-cards/i-ranking.js +0 -1
  233. package/src/models/scholarship-card/i-scholarship-card-v2.d.ts +0 -20
  234. package/src/models/scholarship-card/i-scholarship-card-v2.js +0 -1
  235. package/src/models/scholarship-card/i-scholarship-card.d.ts +0 -15
  236. package/src/models/scholarship-card/i-scholarship-card.js +0 -1
  237. package/src/models/scholarship-card/public-scholarship-card-client.d.ts +0 -7
  238. package/src/models/scholarship-card/public-scholarship-card-client.js +0 -12
  239. package/src/models/scholarship-card/scholarship-card-v2-client.d.ts +0 -7
  240. package/src/models/scholarship-card/scholarship-card-v2-client.js +0 -12
  241. package/src/models/scholarship-search-document/i-scholarship-search-document.d.ts +0 -38
  242. package/src/models/scholarship-search-document/i-scholarship-search-document.js +0 -1
  243. package/src/models/scholarship-search-document/scholarship-search-document-client.d.ts +0 -7
  244. package/src/models/scholarship-search-document/scholarship-search-document-client.js +0 -12
  245. package/src/models/search-discipline/i-search-discipline.d.ts +0 -26
  246. package/src/models/search-discipline/i-search-discipline.js +0 -1
  247. package/src/models/search-discipline/public-search-discipline-client.d.ts +0 -7
  248. package/src/models/search-discipline/public-search-discipline-client.js +0 -12
  249. package/src/models/search-projection/i-geo-targeting-configuration.d.ts +0 -38
  250. package/src/models/search-projection/i-geo-targeting-configuration.js +0 -1
  251. package/src/models/search-projection/i-geo-targeting-values.d.ts +0 -30
  252. package/src/models/search-projection/i-geo-targeting-values.js +0 -1
  253. package/src/models/search-projection/i-organisation-values.d.ts +0 -46
  254. package/src/models/search-projection/i-organisation-values.js +0 -1
  255. package/src/models/search-projection/i-premium-values.d.ts +0 -35
  256. package/src/models/search-projection/i-premium-values.js +0 -1
  257. package/src/models/search-projection/i-search-projection.d.ts +0 -186
  258. package/src/models/search-projection/i-search-projection.js +0 -1
  259. package/src/models/search-projection/i-tuition-values.d.ts +0 -50
  260. package/src/models/search-projection/i-tuition-values.js +0 -1
  261. package/src/models/search-projection/search-projection-client.d.ts +0 -7
  262. package/src/models/search-projection/search-projection-client.js +0 -12
  263. package/src/models/sitemap-articles-info/i-sitemap-article-info.d.ts +0 -26
  264. package/src/models/sitemap-articles-info/i-sitemap-article-info.js +0 -1
  265. package/src/models/sitemap-articles-info/sitemap-articles-info-client.d.ts +0 -7
  266. package/src/models/sitemap-articles-info/sitemap-articles-info-client.js +0 -12
  267. package/src/models/sitemap-cities-info/i-sitemap-city-info.d.ts +0 -14
  268. package/src/models/sitemap-cities-info/i-sitemap-city-info.js +0 -1
  269. package/src/models/sitemap-cities-info/sitemap-cities-info-client.d.ts +0 -7
  270. package/src/models/sitemap-cities-info/sitemap-cities-info-client.js +0 -12
  271. package/src/models/sitemap-countries-info/i-sitemap-country-info.d.ts +0 -14
  272. package/src/models/sitemap-countries-info/i-sitemap-country-info.js +0 -1
  273. package/src/models/sitemap-countries-info/sitemap-countries-info-client.d.ts +0 -7
  274. package/src/models/sitemap-countries-info/sitemap-countries-info-client.js +0 -12
  275. package/src/models/sitemap-country-degree-info/i-degree-info.d.ts +0 -14
  276. package/src/models/sitemap-country-degree-info/i-degree-info.js +0 -1
  277. package/src/models/sitemap-country-degree-info/i-sitemap-country-degree-info.d.ts +0 -11
  278. package/src/models/sitemap-country-degree-info/i-sitemap-country-degree-info.js +0 -1
  279. package/src/models/sitemap-country-degree-info/sitemap-country-degree-info-client.d.ts +0 -7
  280. package/src/models/sitemap-country-degree-info/sitemap-country-degree-info-client.js +0 -12
  281. package/src/models/sitemap-disciplines-info/i-sitemap-discipline-info.d.ts +0 -14
  282. package/src/models/sitemap-disciplines-info/i-sitemap-discipline-info.js +0 -1
  283. package/src/models/sitemap-disciplines-info/sitemap-disciplines-info-client.d.ts +0 -7
  284. package/src/models/sitemap-disciplines-info/sitemap-disciplines-info-client.js +0 -12
  285. package/src/models/sitemap-organisations-info/i-sitemap-organisation-info.d.ts +0 -26
  286. package/src/models/sitemap-organisations-info/i-sitemap-organisation-info.js +0 -1
  287. package/src/models/sitemap-organisations-info/sitemap-organisations-info-client.d.ts +0 -7
  288. package/src/models/sitemap-organisations-info/sitemap-organisations-info-client.js +0 -12
  289. package/src/models/sitemap-programme-info/i-sitemap-programme-info.d.ts +0 -26
  290. package/src/models/sitemap-programme-info/i-sitemap-programme-info.js +0 -1
  291. package/src/models/sitemap-programme-info/sitemap-programme-info-client.d.ts +0 -7
  292. package/src/models/sitemap-programme-info/sitemap-programme-info-client.js +0 -12
  293. package/src/models/sitemap-rankings-info/i-sitemap-rankings-info.d.ts +0 -14
  294. package/src/models/sitemap-rankings-info/i-sitemap-rankings-info.js +0 -1
  295. package/src/models/sitemap-rankings-info/sitemap-rankings-info-client.d.ts +0 -7
  296. package/src/models/sitemap-rankings-info/sitemap-rankings-info-client.js +0 -12
  297. package/src/types/portal-map.d.ts +0 -2
  298. package/src/types/portal-map.js +0 -1
  299. package/src/types/portal-type.d.ts +0 -7
  300. package/src/types/portal-type.js +0 -8
  301. package/src/types.d.ts +0 -4
  302. package/src/types.js +0 -1
@@ -1 +0,0 @@
1
- export {};
@@ -1,40 +0,0 @@
1
- export interface IDuration {
2
- /**
3
- * Get the amount of periods the programme takes to complete.
4
- *
5
- * Note: Durations of more than 70 days (with period === 'days') are
6
- * automatically calculated back to an amount of months.
7
- *
8
- * @return number
9
- */
10
- getAmount(): number;
11
- /**
12
- * Get an optional textual description of the duration.
13
- *
14
- * @return string
15
- * @throws PropertyNotAvailableException
16
- */
17
- getDescription(): string;
18
- canShowDescription(): boolean;
19
- /**
20
- * Get the original duration amount before any calculations.
21
- *
22
- * @return number
23
- */
24
- getOriginalDuration(): number;
25
- /**
26
- * Get the original duration period before any calculations.
27
- *
28
- * @return string
29
- */
30
- getOriginalPeriod(): string;
31
- /**
32
- * Get the period this duration is provided in (days or months).
33
- *
34
- * Note: Durations of more than 70 days (with period === 'days') are
35
- * automatically calculated back to an amount of months.
36
- *
37
- * @return string
38
- */
39
- getPeriod(): string;
40
- }
@@ -1 +0,0 @@
1
- export {};
@@ -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,12 +0,0 @@
1
- import { IOptionalLink } from "../../..";
2
- export interface ILocation {
3
- getArea(): IOptionalLink;
4
- canShowArea(): boolean;
5
- getAreaId(): number;
6
- getCity(): IOptionalLink;
7
- getCityId(): number;
8
- getCountry(): IOptionalLink;
9
- getCountryId(): number;
10
- getCountryIso(): string;
11
- hasAreaId(): boolean;
12
- }
@@ -1 +0,0 @@
1
- export {};
@@ -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,23 +0,0 @@
1
- export interface IOptionalLink {
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
- canShowUrl(): boolean;
23
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,212 +0,0 @@
1
- import { ICover, IDuration, IEnglishRequirements, IGPARequirement, IInternalLink, ILink, ILivingCost, ILocation, ILogo, ITiming, ITrackedLink, ITracking, ITuitionFee } from "../../..";
2
- import { IReviewRating } from "../common/i-review-rating";
3
- export interface IProgrammeCard {
4
- /**
5
- * ISO code of the country the programme is taught.
6
- * Formatted in UPPERCASE
7
- *
8
- * @return string | null
9
- */
10
- getCountryIsoCode(): string | null;
11
- /**
12
- * Get the Cover of the programme if available.
13
- *
14
- * @return ICover
15
- */
16
- getCover(): ICover;
17
- canShowCover(): boolean;
18
- /**
19
- * Get the degree name of the programme.
20
- *
21
- * @return string
22
- */
23
- getDegree(): string;
24
- /**
25
- * @return number[] | null
26
- */
27
- getDisciplineIds(): number[] | null;
28
- /**
29
- * Get duration of the programme.
30
- *
31
- * @return IDuration
32
- */
33
- getDuration(): IDuration;
34
- canShowDuration(): boolean;
35
- getEnglishRequirements(): IEnglishRequirements | null;
36
- getGPA(): IGPARequirement | null;
37
- /**
38
- * Get the programme id.
39
- *
40
- * @return number
41
- */
42
- getId(): number;
43
- /**
44
- * Get the programme level.
45
- *
46
- * @return string
47
- */
48
- getLevel(): string;
49
- getLivingCost(): ILivingCost | null;
50
- /**
51
- * Get the locaiton the programme is located in.
52
- *
53
- * Uses the country based on the programmes venues.
54
- *
55
- * @return ILocation
56
- */
57
- getLocation(): ILocation;
58
- canShowLocation(): boolean;
59
- /**
60
- * Get the location text the programme is located in
61
- *
62
- * Uses the country based on the programmes venues and isFullyOnline state
63
- *
64
- * @return string | null
65
- */
66
- getLocationText(): string | null;
67
- /**
68
- * Get the Logo of the programme if available.
69
- *
70
- * @return ILogo
71
- */
72
- getLogo(): ILogo;
73
- canShowLogo(): boolean;
74
- /**
75
- * Returns premium type
76
- * Such as Super premium, premium, light, etc..
77
- *
78
- * @return string
79
- */
80
- getPremiumType(): string;
81
- /**
82
- * Get a link to the programme page.
83
- *
84
- * The link contains the page path as url and the programme name as the
85
- * link description.
86
- *
87
- * @return IInternalLink
88
- */
89
- getProgrammeLink(): IInternalLink;
90
- /**
91
- * Get programme's referral link
92
- *
93
- * @return ITrackedLink
94
- */
95
- getReferralLink(): ITrackedLink;
96
- canShowReferralLink(): boolean;
97
- /**
98
- * Get the summary of the programme.
99
- *
100
- * @return string
101
- */
102
- getSummary(): string;
103
- /**
104
- * Get all start dates
105
- *
106
- * @return ITiming[]
107
- */
108
- getTimings(): ITiming[];
109
- canShowTimings(): boolean;
110
- /**
111
- * Get the programme title.
112
- *
113
- * @return string
114
- */
115
- getTitle(): string;
116
- /**
117
- * Get the tracking information needed to track the impression on the card.
118
- *
119
- * @return ITracking
120
- */
121
- getTracking(): ITracking;
122
- /**
123
- * Get all tuition fees of the programme.
124
- *
125
- * @return ITuitionFee[]
126
- */
127
- getTuitionFees(): ITuitionFee[];
128
- canShowTuitionFees(): boolean;
129
- /**
130
- * Get the programme's university global position percentage in Meta Ranking
131
- *
132
- * @return string | null
133
- */
134
- getUniversityGlobalPositionPercentage(): string | null;
135
- /**
136
- * Get the programme's university id
137
- *
138
- * @return number
139
- */
140
- getUniversityId(): number;
141
- /**
142
- * Get a link to the programme's university page.
143
- *
144
- * The link contains the page path as url and the university name as the
145
- * link description.
146
- *
147
- * @return ILink
148
- */
149
- getUniversityLink(): ILink;
150
- getWorkExperienceYears(): number | null;
151
- getEcts(): number | null;
152
- /**
153
- * If a program is both on campus and online
154
- *
155
- * @return boolean
156
- */
157
- isBlended(): boolean;
158
- /**
159
- * If a program is given in fulltime
160
- *
161
- * @return boolean
162
- */
163
- isFullTime(): boolean;
164
- /**
165
- * If a program can only be taught online or not
166
- *
167
- * @return boolean
168
- */
169
- isFullyOnline(): boolean;
170
- /**
171
- * If a program is taught on campus
172
- *
173
- * @return boolean
174
- */
175
- isOnCampus(): boolean;
176
- /**
177
- * If a program can be taught online
178
- *
179
- * @return boolean
180
- */
181
- isOnline(): boolean;
182
- /**
183
- * If a program is given in parttime
184
- *
185
- * @return boolean
186
- */
187
- isPartTime(): boolean;
188
- /**
189
- * Public status of the programme.
190
- *
191
- * @return boolean
192
- */
193
- isPublic(): boolean;
194
- /**
195
- * The last time the programme has been updated and verified
196
- *
197
- * @return Date
198
- */
199
- getLastUpdated(): Date;
200
- /**
201
- * Get the programme's campaign type
202
- *
203
- * @return number
204
- */
205
- getCampaignType(): number | null;
206
- /**
207
- * Get the review rating of the programme.
208
- *
209
- * @return IReviewRating | null
210
- */
211
- getReviewRating(): IReviewRating | null;
212
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,33 +0,0 @@
1
- import { IDeadline } from "../../..";
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 "../../..";
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,29 +0,0 @@
1
- import { ITracking } from "../../..";
2
- export interface ITrackedLink {
3
- /**
4
- * Get an optional text describing the link (typically <a>-tags contents).
5
- *
6
- * @return string
7
- * @throws PropertyNotAvailableException
8
- */
9
- getDescription(): string;
10
- canShowDescription(): boolean;
11
- /**
12
- * Get an object containing all information needed to properly track a link.
13
- *
14
- * @return ITracking
15
- */
16
- getTracking(): ITracking;
17
- /**
18
- * Get the url to refer to.
19
- *
20
- * Note that the url provided is always a relative URL. A base URL is needed
21
- * to make it a full valid path.
22
- * The only exception is when an external link is provided (meaning, outside
23
- * of StudyPortals-maintained domains). In this case a full url will be
24
- * provided.
25
- *
26
- * @return string
27
- */
28
- getUrl(): string;
29
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,46 +0,0 @@
1
- import { IClickTrackingData } from "../../..";
2
- export interface ITracking {
3
- /**
4
- * Get the value of the data-action attribute.
5
- *
6
- * @return string
7
- */
8
- getAction(): string;
9
- /**
10
- * Get all the data that is need to make click tracking possible
11
- *
12
- * @return IClickTrackingData
13
- */
14
- getClickTrackingData(): IClickTrackingData;
15
- canShowClickTrackingData(): boolean;
16
- /**
17
- * Get the value of the data-description attribute.
18
- *
19
- * @return string
20
- */
21
- getDescription(): string;
22
- /**
23
- * Get the extra information value.
24
- *
25
- * @return string
26
- */
27
- getExtra(): string;
28
- /**
29
- * Get the value of the data-id attribute.
30
- *
31
- * @return number
32
- */
33
- getId(): number;
34
- /**
35
- * Get the value of the data-label attribute.
36
- *
37
- * @return string
38
- */
39
- getLabel(): string;
40
- /**
41
- * Get the value of the data-type attribute.
42
- *
43
- * @return string
44
- */
45
- getType(): string;
46
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,50 +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 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 +0,0 @@
1
- export {};
@@ -1,7 +0,0 @@
1
- import { IProgrammeCard } from "../../..";
2
- import { ModelClient } from "../../model-client";
3
- export declare class ProgrammeCardClient extends ModelClient<IProgrammeCard> {
4
- protected getModelName(): string;
5
- protected getVersion(): string;
6
- isPublic(): boolean;
7
- }
@@ -1,12 +0,0 @@
1
- import { ModelClient } from "../../model-client";
2
- export class ProgrammeCardClient extends ModelClient {
3
- getModelName() {
4
- return 'programme-card';
5
- }
6
- getVersion() {
7
- return 'v1';
8
- }
9
- isPublic() {
10
- return false;
11
- }
12
- }
@@ -1,18 +0,0 @@
1
- export interface IRanking {
2
- /**
3
- * @return number
4
- */
5
- getId(): number;
6
- /**
7
- * @return number | null
8
- */
9
- getRankingId(): number | null;
10
- /**
11
- * @return number
12
- */
13
- getPosition(): number;
14
- /**
15
- * @return string
16
- */
17
- getRankingYear(): string;
18
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,20 +0,0 @@
1
- export interface IScholarshipCardV2 {
2
- getDescriptionOfApplicationBasis(): string | null;
3
- getDescriptionOfBenefits(): string | null;
4
- getDescriptionOfDeadline(): string;
5
- getDescriptionOfDestinationCountryRestrictions(): string;
6
- getDescriptionOfProviderLocation(): string | null;
7
- getIsNotSpecifiedDeadline(): boolean;
8
- getProviderId(): string | null;
9
- getProviderIsUniversity(): boolean;
10
- getProviderLogoSquareCdn(): string | null;
11
- getProviderName(): string;
12
- getScholarshipId(): string;
13
- getScholarshipTitle(): string;
14
- getScholarshipVirtualName(): string;
15
- getDisciplineIds(): number[] | null;
16
- getOriginCountryIds(): string[] | null;
17
- getGrantCurrencyIso(): string | null;
18
- getGrantAmount(): number | null;
19
- getGrantDescription(): string | null;
20
- }
@@ -1 +0,0 @@
1
- export {};