@studyportals/domain-client 3.31.0 → 3.32.0-2

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 (289) hide show
  1. package/index.d.ts +83 -79
  2. package/index.js +63 -59
  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/domain-client.js.map +0 -0
  8. package/src/exceptions/bad-request-exception.d.ts +2 -2
  9. package/src/exceptions/bad-request-exception.js +6 -6
  10. package/src/exceptions/bad-request-exception.js.map +0 -0
  11. package/src/exceptions/client-exception.d.ts +2 -2
  12. package/src/exceptions/client-exception.js +6 -6
  13. package/src/exceptions/client-exception.js.map +0 -0
  14. package/src/exceptions/internal-server-exception.d.ts +2 -2
  15. package/src/exceptions/internal-server-exception.js +6 -6
  16. package/src/exceptions/internal-server-exception.js.map +0 -0
  17. package/src/exceptions/not-found-exception.d.ts +2 -2
  18. package/src/exceptions/not-found-exception.js +6 -6
  19. package/src/exceptions/not-found-exception.js.map +0 -0
  20. package/src/exceptions/property-not-available-exception.d.ts +2 -2
  21. package/src/exceptions/property-not-available-exception.js +6 -6
  22. package/src/exceptions/property-not-available-exception.js.map +0 -0
  23. package/src/factories/DateFactory.d.ts +5 -5
  24. package/src/factories/DateFactory.js +9 -9
  25. package/src/factories/DateFactory.js.map +0 -0
  26. package/src/factories/InternalLinkFactory.d.ts +9 -9
  27. package/src/factories/InternalLinkFactory.js +19 -19
  28. package/src/factories/InternalLinkFactory.js.map +0 -0
  29. package/src/i-api-response.d.ts +6 -6
  30. package/src/i-api-response.js +2 -2
  31. package/src/i-api-response.js.map +0 -0
  32. package/src/i-class-factory.d.ts +4 -4
  33. package/src/i-class-factory.js +2 -2
  34. package/src/i-class-factory.js.map +0 -0
  35. package/src/i-model-description.d.ts +7 -7
  36. package/src/i-model-description.js +9 -9
  37. package/src/i-model-description.js.map +0 -0
  38. package/src/model-client.d.ts +16 -16
  39. package/src/model-client.js +45 -45
  40. package/src/model-client.js.map +0 -0
  41. package/src/model-factory.d.ts +11 -11
  42. package/src/model-factory.js +71 -71
  43. package/src/model-factory.js.map +0 -0
  44. package/src/models/bestfit-programme/bestfit-programme-client.d.ts +7 -7
  45. package/src/models/bestfit-programme/bestfit-programme-client.js +16 -16
  46. package/src/models/bestfit-programme/bestfit-programme-client.js.map +0 -0
  47. package/src/models/bestfit-programme/i-best-fit-programme.d.ts +82 -82
  48. package/src/models/bestfit-programme/i-best-fit-programme.js +2 -2
  49. package/src/models/bestfit-programme/i-best-fit-programme.js.map +0 -0
  50. package/src/models/bestfit-programme/i-city.d.ts +14 -14
  51. package/src/models/bestfit-programme/i-city.js +2 -2
  52. package/src/models/bestfit-programme/i-city.js.map +0 -0
  53. package/src/models/bestfit-programme/i-living-cost.d.ts +20 -20
  54. package/src/models/bestfit-programme/i-living-cost.js +2 -2
  55. package/src/models/bestfit-programme/i-living-cost.js.map +0 -0
  56. package/src/models/common/i-city.d.ts +14 -14
  57. package/src/models/common/i-city.js +2 -2
  58. package/src/models/common/i-city.js.map +0 -0
  59. package/src/models/common/i-country.d.ts +20 -20
  60. package/src/models/common/i-country.js +2 -2
  61. package/src/models/common/i-country.js.map +0 -0
  62. package/src/models/common/i-english-requirements.d.ts +44 -44
  63. package/src/models/common/i-english-requirements.js +2 -2
  64. package/src/models/common/i-english-requirements.js.map +0 -0
  65. package/src/models/common/i-g-p-a-requirement.d.ts +20 -20
  66. package/src/models/common/i-g-p-a-requirement.js +2 -2
  67. package/src/models/common/i-g-p-a-requirement.js.map +0 -0
  68. package/src/models/common/i-internal-link.d.ts +28 -28
  69. package/src/models/common/i-internal-link.js +2 -2
  70. package/src/models/common/i-internal-link.js.map +0 -0
  71. package/src/models/common/i-logo.d.ts +14 -14
  72. package/src/models/common/i-logo.js +2 -2
  73. package/src/models/common/i-logo.js.map +0 -0
  74. package/src/models/common/i-tuition-fee.d.ts +50 -50
  75. package/src/models/common/i-tuition-fee.js +2 -2
  76. package/src/models/common/i-tuition-fee.js.map +0 -0
  77. package/src/models/compare-programme/compare-programme-client.d.ts +7 -7
  78. package/src/models/compare-programme/compare-programme-client.js +16 -16
  79. package/src/models/compare-programme/compare-programme-client.js.map +0 -0
  80. package/src/models/compare-programme/i-compare-programme.d.ts +108 -108
  81. package/src/models/compare-programme/i-compare-programme.js +2 -2
  82. package/src/models/compare-programme/i-compare-programme.js.map +0 -0
  83. package/src/models/copilot-country/copilot-country-client.d.ts +7 -0
  84. package/src/models/copilot-country/copilot-country-client.js +17 -0
  85. package/src/models/copilot-country/copilot-country-client.js.map +1 -0
  86. package/src/models/copilot-country/i-copilot-country.d.ts +32 -0
  87. package/src/models/copilot-country/i-copilot-country.js +3 -0
  88. package/src/models/copilot-country/i-copilot-country.js.map +1 -0
  89. package/src/models/copilot-programme/copilot-programme-client.d.ts +7 -0
  90. package/src/models/copilot-programme/copilot-programme-client.js +17 -0
  91. package/src/models/copilot-programme/copilot-programme-client.js.map +1 -0
  92. package/src/models/copilot-programme/i-copilot-programme.d.ts +92 -0
  93. package/src/models/copilot-programme/i-copilot-programme.js +3 -0
  94. package/src/models/copilot-programme/i-copilot-programme.js.map +1 -0
  95. package/src/models/dotdigital-organisation/dotdigital-organisation-client.d.ts +7 -7
  96. package/src/models/dotdigital-organisation/dotdigital-organisation-client.js +16 -16
  97. package/src/models/dotdigital-organisation/dotdigital-organisation-client.js.map +0 -0
  98. package/src/models/dotdigital-organisation/i-dot-digital-organisation.d.ts +35 -35
  99. package/src/models/dotdigital-organisation/i-dot-digital-organisation.js +2 -2
  100. package/src/models/dotdigital-organisation/i-dot-digital-organisation.js.map +0 -0
  101. package/src/models/dotdigital-organisation/i-review.d.ts +7 -7
  102. package/src/models/dotdigital-organisation/i-review.js +2 -2
  103. package/src/models/dotdigital-organisation/i-review.js.map +0 -0
  104. package/src/models/dotdigital-programme/dotdigital-programme-client.d.ts +7 -7
  105. package/src/models/dotdigital-programme/dotdigital-programme-client.js +16 -16
  106. package/src/models/dotdigital-programme/dotdigital-programme-client.js.map +0 -0
  107. package/src/models/dotdigital-programme/i-dot-digital-programme.d.ts +107 -107
  108. package/src/models/dotdigital-programme/i-dot-digital-programme.js +2 -2
  109. package/src/models/dotdigital-programme/i-dot-digital-programme.js.map +0 -0
  110. package/src/models/dotdigital-programme/i-internal-link.d.ts +28 -28
  111. package/src/models/dotdigital-programme/i-internal-link.js +2 -2
  112. package/src/models/dotdigital-programme/i-internal-link.js.map +0 -0
  113. package/src/models/organisation-card/i-organisation-card.d.ts +17 -17
  114. package/src/models/organisation-card/i-organisation-card.js +2 -2
  115. package/src/models/organisation-card/i-organisation-card.js.map +0 -0
  116. package/src/models/organisation-card/organisation-card-client.d.ts +7 -7
  117. package/src/models/organisation-card/organisation-card-client.js +16 -16
  118. package/src/models/organisation-card/organisation-card-client.js.map +0 -0
  119. package/src/models/organisation-for-search/i-organisation-for-search.d.ts +26 -26
  120. package/src/models/organisation-for-search/i-organisation-for-search.js +2 -2
  121. package/src/models/organisation-for-search/i-organisation-for-search.js.map +0 -0
  122. package/src/models/organisation-for-search/public-organisation-for-search-client.d.ts +7 -7
  123. package/src/models/organisation-for-search/public-organisation-for-search-client.js +16 -16
  124. package/src/models/organisation-for-search/public-organisation-for-search-client.js.map +0 -0
  125. package/src/models/organisation-search-document/i-organisation-search-document.d.ts +68 -68
  126. package/src/models/organisation-search-document/i-organisation-search-document.js +2 -2
  127. package/src/models/organisation-search-document/i-organisation-search-document.js.map +0 -0
  128. package/src/models/organisation-search-document/organisation-search-document-client.d.ts +7 -7
  129. package/src/models/organisation-search-document/organisation-search-document-client.js +16 -16
  130. package/src/models/organisation-search-document/organisation-search-document-client.js.map +0 -0
  131. package/src/models/programme-card/i-click-tracking-data.d.ts +5 -5
  132. package/src/models/programme-card/i-click-tracking-data.js +2 -2
  133. package/src/models/programme-card/i-click-tracking-data.js.map +0 -0
  134. package/src/models/programme-card/i-cover.d.ts +14 -14
  135. package/src/models/programme-card/i-cover.js +2 -2
  136. package/src/models/programme-card/i-cover.js.map +0 -0
  137. package/src/models/programme-card/i-deadline.d.ts +20 -20
  138. package/src/models/programme-card/i-deadline.js +2 -2
  139. package/src/models/programme-card/i-deadline.js.map +0 -0
  140. package/src/models/programme-card/i-duration.d.ts +40 -40
  141. package/src/models/programme-card/i-duration.js +2 -2
  142. package/src/models/programme-card/i-duration.js.map +0 -0
  143. package/src/models/programme-card/i-internal-link.d.ts +28 -28
  144. package/src/models/programme-card/i-internal-link.js +2 -2
  145. package/src/models/programme-card/i-internal-link.js.map +0 -0
  146. package/src/models/programme-card/i-link.d.ts +22 -22
  147. package/src/models/programme-card/i-link.js +2 -2
  148. package/src/models/programme-card/i-link.js.map +0 -0
  149. package/src/models/programme-card/i-location.d.ts +12 -12
  150. package/src/models/programme-card/i-location.js +2 -2
  151. package/src/models/programme-card/i-location.js.map +0 -0
  152. package/src/models/programme-card/i-logo.d.ts +14 -14
  153. package/src/models/programme-card/i-logo.js +2 -2
  154. package/src/models/programme-card/i-logo.js.map +0 -0
  155. package/src/models/programme-card/i-optional-link.d.ts +23 -23
  156. package/src/models/programme-card/i-optional-link.js +2 -2
  157. package/src/models/programme-card/i-optional-link.js.map +0 -0
  158. package/src/models/programme-card/i-programme-card.d.ts +205 -205
  159. package/src/models/programme-card/i-programme-card.js +2 -2
  160. package/src/models/programme-card/i-programme-card.js.map +0 -0
  161. package/src/models/programme-card/i-start-date.d.ts +33 -33
  162. package/src/models/programme-card/i-start-date.js +2 -2
  163. package/src/models/programme-card/i-start-date.js.map +0 -0
  164. package/src/models/programme-card/i-timing.d.ts +45 -45
  165. package/src/models/programme-card/i-timing.js +2 -2
  166. package/src/models/programme-card/i-timing.js.map +0 -0
  167. package/src/models/programme-card/i-tracked-link.d.ts +29 -29
  168. package/src/models/programme-card/i-tracked-link.js +2 -2
  169. package/src/models/programme-card/i-tracked-link.js.map +0 -0
  170. package/src/models/programme-card/i-tracking.d.ts +46 -46
  171. package/src/models/programme-card/i-tracking.js +2 -2
  172. package/src/models/programme-card/i-tracking.js.map +0 -0
  173. package/src/models/programme-card/i-tuition-fee.d.ts +50 -50
  174. package/src/models/programme-card/i-tuition-fee.js +2 -2
  175. package/src/models/programme-card/i-tuition-fee.js.map +0 -0
  176. package/src/models/programme-card/programme-card-client.d.ts +7 -7
  177. package/src/models/programme-card/programme-card-client.js +16 -16
  178. package/src/models/programme-card/programme-card-client.js.map +0 -0
  179. package/src/models/ranking-cards/i-ranking-card.d.ts +87 -87
  180. package/src/models/ranking-cards/i-ranking-card.js +2 -2
  181. package/src/models/ranking-cards/i-ranking-card.js.map +0 -0
  182. package/src/models/ranking-cards/i-ranking-cards.d.ts +15 -15
  183. package/src/models/ranking-cards/i-ranking-cards.js +2 -2
  184. package/src/models/ranking-cards/i-ranking-cards.js.map +0 -0
  185. package/src/models/ranking-cards/i-ranking.d.ts +18 -18
  186. package/src/models/ranking-cards/i-ranking.js +2 -2
  187. package/src/models/ranking-cards/i-ranking.js.map +0 -0
  188. package/src/models/ranking-cards/public-ranking-cards-client.d.ts +7 -7
  189. package/src/models/ranking-cards/public-ranking-cards-client.js +16 -16
  190. package/src/models/ranking-cards/public-ranking-cards-client.js.map +0 -0
  191. package/src/models/scholarship-card/i-scholarship-card.d.ts +15 -15
  192. package/src/models/scholarship-card/i-scholarship-card.js +2 -2
  193. package/src/models/scholarship-card/i-scholarship-card.js.map +0 -0
  194. package/src/models/scholarship-card/public-scholarship-card-client.d.ts +7 -7
  195. package/src/models/scholarship-card/public-scholarship-card-client.js +16 -16
  196. package/src/models/scholarship-card/public-scholarship-card-client.js.map +0 -0
  197. package/src/models/search-country-faq/i-search-country-faq.d.ts +18 -18
  198. package/src/models/search-country-faq/i-search-country-faq.js +2 -2
  199. package/src/models/search-country-faq/i-search-country-faq.js.map +0 -0
  200. package/src/models/search-country-faq/public-search-country-faq-client.d.ts +7 -7
  201. package/src/models/search-country-faq/public-search-country-faq-client.js +16 -16
  202. package/src/models/search-country-faq/public-search-country-faq-client.js.map +0 -0
  203. package/src/models/search-discipline/i-search-discipline.d.ts +26 -26
  204. package/src/models/search-discipline/i-search-discipline.js +2 -2
  205. package/src/models/search-discipline/i-search-discipline.js.map +0 -0
  206. package/src/models/search-discipline/public-search-discipline-client.d.ts +7 -7
  207. package/src/models/search-discipline/public-search-discipline-client.js +16 -16
  208. package/src/models/search-discipline/public-search-discipline-client.js.map +0 -0
  209. package/src/models/search-projection/i-geo-targeting-configuration.d.ts +38 -38
  210. package/src/models/search-projection/i-geo-targeting-configuration.js +2 -2
  211. package/src/models/search-projection/i-geo-targeting-configuration.js.map +0 -0
  212. package/src/models/search-projection/i-geo-targeting-values.d.ts +30 -30
  213. package/src/models/search-projection/i-geo-targeting-values.js +2 -2
  214. package/src/models/search-projection/i-geo-targeting-values.js.map +0 -0
  215. package/src/models/search-projection/i-organisation-values.d.ts +40 -40
  216. package/src/models/search-projection/i-organisation-values.js +2 -2
  217. package/src/models/search-projection/i-organisation-values.js.map +0 -0
  218. package/src/models/search-projection/i-premium-values.d.ts +35 -35
  219. package/src/models/search-projection/i-premium-values.js +2 -2
  220. package/src/models/search-projection/i-premium-values.js.map +0 -0
  221. package/src/models/search-projection/i-search-projection.d.ts +180 -180
  222. package/src/models/search-projection/i-search-projection.js +2 -2
  223. package/src/models/search-projection/i-search-projection.js.map +0 -0
  224. package/src/models/search-projection/i-tuition-values.d.ts +50 -50
  225. package/src/models/search-projection/i-tuition-values.js +2 -2
  226. package/src/models/search-projection/i-tuition-values.js.map +0 -0
  227. package/src/models/search-projection/search-projection-client.d.ts +7 -7
  228. package/src/models/search-projection/search-projection-client.js +16 -16
  229. package/src/models/search-projection/search-projection-client.js.map +0 -0
  230. package/src/models/sitemap-articles-info/i-sitemap-article-info.d.ts +14 -14
  231. package/src/models/sitemap-articles-info/i-sitemap-article-info.js +2 -2
  232. package/src/models/sitemap-articles-info/i-sitemap-article-info.js.map +0 -0
  233. package/src/models/sitemap-articles-info/sitemap-articles-info-client.d.ts +7 -7
  234. package/src/models/sitemap-articles-info/sitemap-articles-info-client.js +16 -16
  235. package/src/models/sitemap-articles-info/sitemap-articles-info-client.js.map +0 -0
  236. package/src/models/sitemap-cities-info/i-sitemap-city-info.d.ts +14 -14
  237. package/src/models/sitemap-cities-info/i-sitemap-city-info.js +2 -2
  238. package/src/models/sitemap-cities-info/i-sitemap-city-info.js.map +0 -0
  239. package/src/models/sitemap-cities-info/sitemap-cities-info-client.d.ts +7 -7
  240. package/src/models/sitemap-cities-info/sitemap-cities-info-client.js +16 -16
  241. package/src/models/sitemap-cities-info/sitemap-cities-info-client.js.map +0 -0
  242. package/src/models/sitemap-countries-info/i-sitemap-country-info.d.ts +14 -14
  243. package/src/models/sitemap-countries-info/i-sitemap-country-info.js +2 -2
  244. package/src/models/sitemap-countries-info/i-sitemap-country-info.js.map +0 -0
  245. package/src/models/sitemap-countries-info/sitemap-countries-info-client.d.ts +7 -7
  246. package/src/models/sitemap-countries-info/sitemap-countries-info-client.js +16 -16
  247. package/src/models/sitemap-countries-info/sitemap-countries-info-client.js.map +0 -0
  248. package/src/models/sitemap-country-degree-info/i-degree-info.d.ts +14 -14
  249. package/src/models/sitemap-country-degree-info/i-degree-info.js +2 -2
  250. package/src/models/sitemap-country-degree-info/i-degree-info.js.map +0 -0
  251. package/src/models/sitemap-country-degree-info/i-sitemap-country-degree-info.d.ts +11 -11
  252. package/src/models/sitemap-country-degree-info/i-sitemap-country-degree-info.js +2 -2
  253. package/src/models/sitemap-country-degree-info/i-sitemap-country-degree-info.js.map +0 -0
  254. package/src/models/sitemap-country-degree-info/sitemap-country-degree-info-client.d.ts +7 -7
  255. package/src/models/sitemap-country-degree-info/sitemap-country-degree-info-client.js +16 -16
  256. package/src/models/sitemap-country-degree-info/sitemap-country-degree-info-client.js.map +0 -0
  257. package/src/models/sitemap-disciplines-info/i-sitemap-discipline-info.d.ts +14 -14
  258. package/src/models/sitemap-disciplines-info/i-sitemap-discipline-info.js +2 -2
  259. package/src/models/sitemap-disciplines-info/i-sitemap-discipline-info.js.map +0 -0
  260. package/src/models/sitemap-disciplines-info/sitemap-disciplines-info-client.d.ts +7 -7
  261. package/src/models/sitemap-disciplines-info/sitemap-disciplines-info-client.js +16 -16
  262. package/src/models/sitemap-disciplines-info/sitemap-disciplines-info-client.js.map +0 -0
  263. package/src/models/sitemap-organisations-info/i-sitemap-organisation-info.d.ts +26 -26
  264. package/src/models/sitemap-organisations-info/i-sitemap-organisation-info.js +2 -2
  265. package/src/models/sitemap-organisations-info/i-sitemap-organisation-info.js.map +0 -0
  266. package/src/models/sitemap-organisations-info/sitemap-organisations-info-client.d.ts +7 -7
  267. package/src/models/sitemap-organisations-info/sitemap-organisations-info-client.js +16 -16
  268. package/src/models/sitemap-organisations-info/sitemap-organisations-info-client.js.map +0 -0
  269. package/src/models/sitemap-programme-info/i-sitemap-programme-info.d.ts +26 -26
  270. package/src/models/sitemap-programme-info/i-sitemap-programme-info.js +2 -2
  271. package/src/models/sitemap-programme-info/i-sitemap-programme-info.js.map +0 -0
  272. package/src/models/sitemap-programme-info/sitemap-programme-info-client.d.ts +7 -7
  273. package/src/models/sitemap-programme-info/sitemap-programme-info-client.js +16 -16
  274. package/src/models/sitemap-programme-info/sitemap-programme-info-client.js.map +0 -0
  275. package/src/models/sitemap-rankings-info/i-sitemap-rankings-info.d.ts +14 -14
  276. package/src/models/sitemap-rankings-info/i-sitemap-rankings-info.js +2 -2
  277. package/src/models/sitemap-rankings-info/i-sitemap-rankings-info.js.map +0 -0
  278. package/src/models/sitemap-rankings-info/sitemap-rankings-info-client.d.ts +7 -7
  279. package/src/models/sitemap-rankings-info/sitemap-rankings-info-client.js +16 -16
  280. package/src/models/sitemap-rankings-info/sitemap-rankings-info-client.js.map +0 -0
  281. package/src/types/portal-map.d.ts +2 -2
  282. package/src/types/portal-map.js +2 -2
  283. package/src/types/portal-map.js.map +0 -0
  284. package/src/types/portal-type.d.ts +7 -7
  285. package/src/types/portal-type.js +11 -11
  286. package/src/types/portal-type.js.map +0 -0
  287. package/src/types.d.ts +4 -4
  288. package/src/types.js +2 -2
  289. package/src/types.js.map +0 -0
@@ -1,17 +1,17 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PublicOrganisationForSearchClient = void 0;
4
- const model_client_1 = require("../../model-client");
5
- class PublicOrganisationForSearchClient extends model_client_1.ModelClient {
6
- getModelName() {
7
- return 'organisation-for-search';
8
- }
9
- getVersion() {
10
- return 'v1';
11
- }
12
- isPublic() {
13
- return true;
14
- }
15
- }
16
- exports.PublicOrganisationForSearchClient = PublicOrganisationForSearchClient;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PublicOrganisationForSearchClient = void 0;
4
+ const model_client_1 = require("../../model-client");
5
+ class PublicOrganisationForSearchClient extends model_client_1.ModelClient {
6
+ getModelName() {
7
+ return 'organisation-for-search';
8
+ }
9
+ getVersion() {
10
+ return 'v1';
11
+ }
12
+ isPublic() {
13
+ return true;
14
+ }
15
+ }
16
+ exports.PublicOrganisationForSearchClient = PublicOrganisationForSearchClient;
17
17
  //# sourceMappingURL=public-organisation-for-search-client.js.map
@@ -1,68 +1,68 @@
1
- export interface IOrganisationSearchDocument {
2
- /**
3
- * Gets the ISO codes of all countries where the organisation has venues
4
- *
5
- * @return string[]
6
- */
7
- getCountryIsoCodesOfVenues(): string[];
8
- /**
9
- * Gets the ID of the organisation.
10
- *
11
- * @return number
12
- */
13
- getOrganisationId(): number;
14
- /**
15
- * Gets the premium type of the organisation
16
- *
17
- * @return string | null
18
- */
19
- getPremiumType(): string | null;
20
- /**
21
- * Cheked whether the organisation has studies taught both online and on campus
22
- *
23
- * @return boolean
24
- */
25
- hasDeliveryMethodBlended(): boolean;
26
- /**
27
- * Cheked whether the organisation has studies taught on campus
28
- *
29
- * @return boolean
30
- */
31
- hasDeliveryMethodOnCampus(): boolean;
32
- /**
33
- * Cheked whether the organisation has studies taught online
34
- *
35
- * @return boolean
36
- */
37
- hasDeliveryMethodOnline(): boolean;
38
- /**
39
- * Gets the IDs of all areas where the organisation has venues
40
- *
41
- * @return number[]
42
- */
43
- identifyAreasOfVenues(): number[];
44
- /**
45
- * Gets the disciplines of Bachelors programmes taught at the organisation
46
- *
47
- * @return number[]
48
- */
49
- identifyDisciplinesForBachelors(): number[];
50
- /**
51
- * Gets the disciplines of Masters programmes taught at the organisation
52
- *
53
- * @return number[]
54
- */
55
- identifyDisciplinesForMasters(): number[];
56
- /**
57
- * Gets the disciplines of PhD programmes taught at the organisation
58
- *
59
- * @return number[]
60
- */
61
- identifyDisciplinesForPhd(): number[];
62
- /**
63
- * Gets the disciplines of short courses programmes taught at the organisation
64
- *
65
- * @return number[]
66
- */
67
- identifyDisciplinesForShortCourses(): number[];
68
- }
1
+ export interface IOrganisationSearchDocument {
2
+ /**
3
+ * Gets the ISO codes of all countries where the organisation has venues
4
+ *
5
+ * @return string[]
6
+ */
7
+ getCountryIsoCodesOfVenues(): string[];
8
+ /**
9
+ * Gets the ID of the organisation.
10
+ *
11
+ * @return number
12
+ */
13
+ getOrganisationId(): number;
14
+ /**
15
+ * Gets the premium type of the organisation
16
+ *
17
+ * @return string | null
18
+ */
19
+ getPremiumType(): string | null;
20
+ /**
21
+ * Cheked whether the organisation has studies taught both online and on campus
22
+ *
23
+ * @return boolean
24
+ */
25
+ hasDeliveryMethodBlended(): boolean;
26
+ /**
27
+ * Cheked whether the organisation has studies taught on campus
28
+ *
29
+ * @return boolean
30
+ */
31
+ hasDeliveryMethodOnCampus(): boolean;
32
+ /**
33
+ * Cheked whether the organisation has studies taught online
34
+ *
35
+ * @return boolean
36
+ */
37
+ hasDeliveryMethodOnline(): boolean;
38
+ /**
39
+ * Gets the IDs of all areas where the organisation has venues
40
+ *
41
+ * @return number[]
42
+ */
43
+ identifyAreasOfVenues(): number[];
44
+ /**
45
+ * Gets the disciplines of Bachelors programmes taught at the organisation
46
+ *
47
+ * @return number[]
48
+ */
49
+ identifyDisciplinesForBachelors(): number[];
50
+ /**
51
+ * Gets the disciplines of Masters programmes taught at the organisation
52
+ *
53
+ * @return number[]
54
+ */
55
+ identifyDisciplinesForMasters(): number[];
56
+ /**
57
+ * Gets the disciplines of PhD programmes taught at the organisation
58
+ *
59
+ * @return number[]
60
+ */
61
+ identifyDisciplinesForPhd(): number[];
62
+ /**
63
+ * Gets the disciplines of short courses programmes taught at the organisation
64
+ *
65
+ * @return number[]
66
+ */
67
+ identifyDisciplinesForShortCourses(): number[];
68
+ }
@@ -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-organisation-search-document.js.map
@@ -1,7 +1,7 @@
1
- import { IOrganisationSearchDocument } from "../../..";
2
- import { ModelClient } from "../../model-client";
3
- export declare class OrganisationSearchDocumentClient extends ModelClient<IOrganisationSearchDocument> {
4
- protected getModelName(): string;
5
- protected getVersion(): string;
6
- isPublic(): boolean;
7
- }
1
+ import { IOrganisationSearchDocument } from "../../..";
2
+ import { ModelClient } from "../../model-client";
3
+ export declare class OrganisationSearchDocumentClient extends ModelClient<IOrganisationSearchDocument> {
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.OrganisationSearchDocumentClient = void 0;
4
- const model_client_1 = require("../../model-client");
5
- class OrganisationSearchDocumentClient extends model_client_1.ModelClient {
6
- getModelName() {
7
- return 'organisation-search-document';
8
- }
9
- getVersion() {
10
- return 'v1';
11
- }
12
- isPublic() {
13
- return false;
14
- }
15
- }
16
- exports.OrganisationSearchDocumentClient = OrganisationSearchDocumentClient;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OrganisationSearchDocumentClient = void 0;
4
+ const model_client_1 = require("../../model-client");
5
+ class OrganisationSearchDocumentClient extends model_client_1.ModelClient {
6
+ getModelName() {
7
+ return 'organisation-search-document';
8
+ }
9
+ getVersion() {
10
+ return 'v1';
11
+ }
12
+ isPublic() {
13
+ return false;
14
+ }
15
+ }
16
+ exports.OrganisationSearchDocumentClient = OrganisationSearchDocumentClient;
17
17
  //# sourceMappingURL=organisation-search-document-client.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
@@ -1,14 +1,14 @@
1
- export interface ICover {
2
- /**
3
- * Get the file ID of the cover (as known in the system)
4
- *
5
- * @return number
6
- */
7
- getId(): number;
8
- /**
9
- * Get the source URL for the cover.
10
- *
11
- * @return string
12
- */
13
- getSource(): string;
14
- }
1
+ export interface ICover {
2
+ /**
3
+ * Get the file ID of the cover (as known in the system)
4
+ *
5
+ * @return number
6
+ */
7
+ getId(): number;
8
+ /**
9
+ * Get the source URL for the cover.
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-cover.js.map
File without changes
@@ -1,20 +1,20 @@
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
+ 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,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-deadline.js.map
File without changes
@@ -1,40 +1,40 @@
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
+ 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,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-duration.js.map
File without changes
@@ -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
File without changes
@@ -1,22 +1,22 @@
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
+ 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,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-link.js.map
File without changes
@@ -1,12 +1,12 @@
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
+ 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,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-location.js.map
File without changes
@@ -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
File without changes