@studyportals/domain-client 6.0.0 → 6.1.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (909) hide show
  1. package/.eslintignore +4 -0
  2. package/.eslintrc.js +13 -0
  3. package/.github/dependabot.yml +17 -0
  4. package/.github/stale.yml +10 -0
  5. package/.nycrc +15 -0
  6. package/README.md +117 -0
  7. package/bin/index.d.ts +81 -0
  8. package/bin/index.js +62 -0
  9. package/bin/index.js.map +1 -0
  10. package/bin/package.json +55 -0
  11. package/bin/src/domain-client.d.ts +14 -0
  12. package/bin/src/domain-client.js +61 -0
  13. package/bin/src/domain-client.js.map +1 -0
  14. package/bin/src/exceptions/bad-request-exception.js +7 -0
  15. package/bin/src/exceptions/bad-request-exception.js.map +1 -0
  16. package/bin/src/exceptions/client-exception.js +7 -0
  17. package/bin/src/exceptions/client-exception.js.map +1 -0
  18. package/bin/src/exceptions/internal-server-exception.js +7 -0
  19. package/bin/src/exceptions/internal-server-exception.js.map +1 -0
  20. package/bin/src/exceptions/not-found-exception.js +7 -0
  21. package/bin/src/exceptions/not-found-exception.js.map +1 -0
  22. package/bin/src/exceptions/property-not-available-exception.js +7 -0
  23. package/bin/src/exceptions/property-not-available-exception.js.map +1 -0
  24. package/bin/src/factories/DateFactory.js +10 -0
  25. package/bin/src/factories/DateFactory.js.map +1 -0
  26. package/bin/src/factories/InternalLinkFactory.d.ts +9 -0
  27. package/bin/src/factories/InternalLinkFactory.js +20 -0
  28. package/bin/src/factories/InternalLinkFactory.js.map +1 -0
  29. package/bin/src/i-api-response.d.ts +6 -0
  30. package/bin/src/i-api-response.js +3 -0
  31. package/bin/src/i-api-response.js.map +1 -0
  32. package/bin/src/i-class-factory.js +3 -0
  33. package/bin/src/i-class-factory.js.map +1 -0
  34. package/bin/src/i-model-description.js +10 -0
  35. package/bin/src/i-model-description.js.map +1 -0
  36. package/bin/src/model-client.js +46 -0
  37. package/bin/src/model-client.js.map +1 -0
  38. package/bin/src/model-factory.js +72 -0
  39. package/bin/src/model-factory.js.map +1 -0
  40. package/bin/src/models/bestfit-programme/bestfit-programme-client.js +17 -0
  41. package/bin/src/models/bestfit-programme/bestfit-programme-client.js.map +1 -0
  42. package/bin/src/models/bestfit-programme/i-best-fit-programme.js +3 -0
  43. package/bin/src/models/bestfit-programme/i-best-fit-programme.js.map +1 -0
  44. package/bin/src/models/bestfit-programme/i-city.js +3 -0
  45. package/bin/src/models/bestfit-programme/i-city.js.map +1 -0
  46. package/bin/src/models/bestfit-programme/i-living-cost.js +3 -0
  47. package/bin/src/models/bestfit-programme/i-living-cost.js.map +1 -0
  48. package/bin/src/models/common/i-city.js +3 -0
  49. package/bin/src/models/common/i-city.js.map +1 -0
  50. package/bin/src/models/common/i-country.js +3 -0
  51. package/bin/src/models/common/i-country.js.map +1 -0
  52. package/bin/src/models/common/i-english-requirements.js +3 -0
  53. package/bin/src/models/common/i-english-requirements.js.map +1 -0
  54. package/bin/src/models/common/i-g-p-a-requirement.js +3 -0
  55. package/bin/src/models/common/i-g-p-a-requirement.js.map +1 -0
  56. package/bin/src/models/common/i-internal-link.js +3 -0
  57. package/bin/src/models/common/i-internal-link.js.map +1 -0
  58. package/bin/src/models/common/i-logo.js +3 -0
  59. package/bin/src/models/common/i-logo.js.map +1 -0
  60. package/bin/src/models/common/i-tuition-fee.js +3 -0
  61. package/bin/src/models/common/i-tuition-fee.js.map +1 -0
  62. package/bin/src/models/copilot-country/copilot-country-client.js +17 -0
  63. package/bin/src/models/copilot-country/copilot-country-client.js.map +1 -0
  64. package/bin/src/models/copilot-country/i-copilot-country.js +3 -0
  65. package/bin/src/models/copilot-country/i-copilot-country.js.map +1 -0
  66. package/bin/src/models/copilot-country/i-copilot-ranking-card.js +3 -0
  67. package/bin/src/models/copilot-country/i-copilot-ranking-card.js.map +1 -0
  68. package/bin/src/models/copilot-programme/copilot-programme-client.js +17 -0
  69. package/bin/src/models/copilot-programme/copilot-programme-client.js.map +1 -0
  70. package/bin/src/models/copilot-programme/i-copilot-programme.js +3 -0
  71. package/bin/src/models/copilot-programme/i-copilot-programme.js.map +1 -0
  72. package/bin/src/models/customerio-organisation/customerio-organisation-client.js +17 -0
  73. package/bin/src/models/customerio-organisation/customerio-organisation-client.js.map +1 -0
  74. package/bin/src/models/customerio-organisation/i-customer-io-organisation.js +3 -0
  75. package/bin/src/models/customerio-organisation/i-customer-io-organisation.js.map +1 -0
  76. package/bin/src/models/customerio-organisation/i-review.js +3 -0
  77. package/bin/src/models/customerio-organisation/i-review.js.map +1 -0
  78. package/bin/src/models/customerio-programme/customerio-programme-client.js +17 -0
  79. package/bin/src/models/customerio-programme/customerio-programme-client.js.map +1 -0
  80. package/bin/src/models/customerio-programme/i-customer-io-programme.js +3 -0
  81. package/bin/src/models/customerio-programme/i-customer-io-programme.js.map +1 -0
  82. package/bin/src/models/customerio-programme/i-internal-link.js +3 -0
  83. package/bin/src/models/customerio-programme/i-internal-link.js.map +1 -0
  84. package/bin/src/models/organisation-card/i-organisation-card.d.ts +36 -0
  85. package/bin/src/models/organisation-card/i-organisation-card.js +3 -0
  86. package/bin/src/models/organisation-card/i-organisation-card.js.map +1 -0
  87. package/bin/src/models/organisation-card/i-ranking-discipline.js +3 -0
  88. package/bin/src/models/organisation-card/i-ranking-discipline.js.map +1 -0
  89. package/bin/src/models/organisation-card/organisation-card-client.js +17 -0
  90. package/bin/src/models/organisation-card/organisation-card-client.js.map +1 -0
  91. package/bin/src/models/organisation-for-search/i-organisation-for-search.js +3 -0
  92. package/bin/src/models/organisation-for-search/i-organisation-for-search.js.map +1 -0
  93. package/bin/src/models/organisation-for-search/public-organisation-for-search-client.js +17 -0
  94. package/bin/src/models/organisation-for-search/public-organisation-for-search-client.js.map +1 -0
  95. package/bin/src/models/organisation-search-document/i-organisation-search-document.js +3 -0
  96. package/bin/src/models/organisation-search-document/i-organisation-search-document.js.map +1 -0
  97. package/bin/src/models/organisation-search-document/organisation-search-document-client.js +17 -0
  98. package/bin/src/models/organisation-search-document/organisation-search-document-client.js.map +1 -0
  99. package/bin/src/models/programme-card/i-click-tracking-data.js +3 -0
  100. package/bin/src/models/programme-card/i-click-tracking-data.js.map +1 -0
  101. package/bin/src/models/programme-card/i-cover.js +3 -0
  102. package/bin/src/models/programme-card/i-cover.js.map +1 -0
  103. package/bin/src/models/programme-card/i-deadline.js +3 -0
  104. package/bin/src/models/programme-card/i-deadline.js.map +1 -0
  105. package/bin/src/models/programme-card/i-duration.js +3 -0
  106. package/bin/src/models/programme-card/i-duration.js.map +1 -0
  107. package/bin/src/models/programme-card/i-internal-link.js +3 -0
  108. package/bin/src/models/programme-card/i-internal-link.js.map +1 -0
  109. package/bin/src/models/programme-card/i-link.js +3 -0
  110. package/bin/src/models/programme-card/i-link.js.map +1 -0
  111. package/bin/src/models/programme-card/i-location.js +3 -0
  112. package/bin/src/models/programme-card/i-location.js.map +1 -0
  113. package/bin/src/models/programme-card/i-logo.js +3 -0
  114. package/bin/src/models/programme-card/i-logo.js.map +1 -0
  115. package/bin/src/models/programme-card/i-optional-link.js +3 -0
  116. package/bin/src/models/programme-card/i-optional-link.js.map +1 -0
  117. package/bin/src/models/programme-card/i-programme-card.d.ts +205 -0
  118. package/bin/src/models/programme-card/i-programme-card.js +3 -0
  119. package/bin/src/models/programme-card/i-programme-card.js.map +1 -0
  120. package/bin/src/models/programme-card/i-start-date.js +3 -0
  121. package/bin/src/models/programme-card/i-start-date.js.map +1 -0
  122. package/bin/src/models/programme-card/i-timing.js +3 -0
  123. package/bin/src/models/programme-card/i-timing.js.map +1 -0
  124. package/bin/src/models/programme-card/i-tracked-link.js +3 -0
  125. package/bin/src/models/programme-card/i-tracked-link.js.map +1 -0
  126. package/bin/src/models/programme-card/i-tracking.js +3 -0
  127. package/bin/src/models/programme-card/i-tracking.js.map +1 -0
  128. package/bin/src/models/programme-card/i-tuition-fee.js +3 -0
  129. package/bin/src/models/programme-card/i-tuition-fee.js.map +1 -0
  130. package/bin/src/models/programme-card/programme-card-client.js +17 -0
  131. package/bin/src/models/programme-card/programme-card-client.js.map +1 -0
  132. package/bin/src/models/ranking-cards/i-ranking.js +3 -0
  133. package/bin/src/models/ranking-cards/i-ranking.js.map +1 -0
  134. package/bin/src/models/scholarship-card/i-scholarship-card.js +3 -0
  135. package/bin/src/models/scholarship-card/i-scholarship-card.js.map +1 -0
  136. package/bin/src/models/scholarship-card/public-scholarship-card-client.js +17 -0
  137. package/bin/src/models/scholarship-card/public-scholarship-card-client.js.map +1 -0
  138. package/bin/src/models/scholarship-card/scholarship-card-v2-client.js +17 -0
  139. package/bin/src/models/scholarship-card/scholarship-card-v2-client.js.map +1 -0
  140. package/bin/src/models/scholarship-search-document/i-scholarship-search-document.js +3 -0
  141. package/bin/src/models/scholarship-search-document/i-scholarship-search-document.js.map +1 -0
  142. package/bin/src/models/scholarship-search-document/scholarship-search-document-client.js +17 -0
  143. package/bin/src/models/scholarship-search-document/scholarship-search-document-client.js.map +1 -0
  144. package/bin/src/models/search-discipline/i-search-discipline.js +3 -0
  145. package/bin/src/models/search-discipline/i-search-discipline.js.map +1 -0
  146. package/bin/src/models/search-discipline/public-search-discipline-client.js +17 -0
  147. package/bin/src/models/search-discipline/public-search-discipline-client.js.map +1 -0
  148. package/bin/src/models/search-projection/i-geo-targeting-configuration.js +3 -0
  149. package/bin/src/models/search-projection/i-geo-targeting-configuration.js.map +1 -0
  150. package/bin/src/models/search-projection/i-geo-targeting-values.js +3 -0
  151. package/bin/src/models/search-projection/i-geo-targeting-values.js.map +1 -0
  152. package/bin/src/models/search-projection/i-organisation-values.js +3 -0
  153. package/bin/src/models/search-projection/i-organisation-values.js.map +1 -0
  154. package/bin/src/models/search-projection/i-premium-values.js +3 -0
  155. package/bin/src/models/search-projection/i-premium-values.js.map +1 -0
  156. package/bin/src/models/search-projection/i-search-projection.js +3 -0
  157. package/bin/src/models/search-projection/i-search-projection.js.map +1 -0
  158. package/bin/src/models/search-projection/i-tuition-values.js +3 -0
  159. package/bin/src/models/search-projection/i-tuition-values.js.map +1 -0
  160. package/bin/src/models/search-projection/search-projection-client.js +17 -0
  161. package/bin/src/models/search-projection/search-projection-client.js.map +1 -0
  162. package/bin/src/models/sitemap-articles-info/i-sitemap-article-info.js +3 -0
  163. package/bin/src/models/sitemap-articles-info/i-sitemap-article-info.js.map +1 -0
  164. package/bin/src/models/sitemap-articles-info/sitemap-articles-info-client.js +17 -0
  165. package/bin/src/models/sitemap-articles-info/sitemap-articles-info-client.js.map +1 -0
  166. package/bin/src/models/sitemap-cities-info/i-sitemap-city-info.js +3 -0
  167. package/bin/src/models/sitemap-cities-info/i-sitemap-city-info.js.map +1 -0
  168. package/bin/src/models/sitemap-cities-info/sitemap-cities-info-client.js +17 -0
  169. package/bin/src/models/sitemap-cities-info/sitemap-cities-info-client.js.map +1 -0
  170. package/bin/src/models/sitemap-countries-info/i-sitemap-country-info.js +3 -0
  171. package/bin/src/models/sitemap-countries-info/i-sitemap-country-info.js.map +1 -0
  172. package/bin/src/models/sitemap-countries-info/sitemap-countries-info-client.js +17 -0
  173. package/bin/src/models/sitemap-countries-info/sitemap-countries-info-client.js.map +1 -0
  174. package/bin/src/models/sitemap-country-degree-info/i-degree-info.js +3 -0
  175. package/bin/src/models/sitemap-country-degree-info/i-degree-info.js.map +1 -0
  176. package/bin/src/models/sitemap-country-degree-info/i-sitemap-country-degree-info.js +3 -0
  177. package/bin/src/models/sitemap-country-degree-info/i-sitemap-country-degree-info.js.map +1 -0
  178. package/bin/src/models/sitemap-country-degree-info/sitemap-country-degree-info-client.js +17 -0
  179. package/bin/src/models/sitemap-country-degree-info/sitemap-country-degree-info-client.js.map +1 -0
  180. package/bin/src/models/sitemap-disciplines-info/i-sitemap-discipline-info.js +3 -0
  181. package/bin/src/models/sitemap-disciplines-info/i-sitemap-discipline-info.js.map +1 -0
  182. package/bin/src/models/sitemap-disciplines-info/sitemap-disciplines-info-client.js +17 -0
  183. package/bin/src/models/sitemap-disciplines-info/sitemap-disciplines-info-client.js.map +1 -0
  184. package/bin/src/models/sitemap-organisations-info/i-sitemap-organisation-info.js +3 -0
  185. package/bin/src/models/sitemap-organisations-info/i-sitemap-organisation-info.js.map +1 -0
  186. package/bin/src/models/sitemap-organisations-info/sitemap-organisations-info-client.js +17 -0
  187. package/bin/src/models/sitemap-organisations-info/sitemap-organisations-info-client.js.map +1 -0
  188. package/bin/src/models/sitemap-programme-info/i-sitemap-programme-info.js +3 -0
  189. package/bin/src/models/sitemap-programme-info/i-sitemap-programme-info.js.map +1 -0
  190. package/bin/src/models/sitemap-programme-info/sitemap-programme-info-client.js +17 -0
  191. package/bin/src/models/sitemap-programme-info/sitemap-programme-info-client.js.map +1 -0
  192. package/bin/src/models/sitemap-rankings-info/i-sitemap-rankings-info.js +3 -0
  193. package/bin/src/models/sitemap-rankings-info/i-sitemap-rankings-info.js.map +1 -0
  194. package/bin/src/models/sitemap-rankings-info/sitemap-rankings-info-client.js +17 -0
  195. package/bin/src/models/sitemap-rankings-info/sitemap-rankings-info-client.js.map +1 -0
  196. package/bin/src/types/portal-map.js +3 -0
  197. package/bin/src/types/portal-map.js.map +1 -0
  198. package/bin/src/types/portal-type.js +12 -0
  199. package/bin/src/types/portal-type.js.map +1 -0
  200. package/bin/src/types.js +3 -0
  201. package/bin/src/types.js.map +1 -0
  202. package/coverage/base.css +224 -0
  203. package/coverage/block-navigation.js +87 -0
  204. package/coverage/clover.xml +3940 -0
  205. package/coverage/coverage-final.json +149 -0
  206. package/coverage/domain-client/index.html +116 -0
  207. package/coverage/domain-client/index.ts.html +616 -0
  208. package/coverage/domain-client/protobuf/Area.ts.html +223 -0
  209. package/coverage/domain-client/protobuf/Article.ts.html +952 -0
  210. package/coverage/domain-client/protobuf/Body.ts.html +223 -0
  211. package/coverage/domain-client/protobuf/CampaignInformation.ts.html +223 -0
  212. package/coverage/domain-client/protobuf/ClickTracking.ts.html +223 -0
  213. package/coverage/domain-client/protobuf/CommercialEntity.ts.html +286 -0
  214. package/coverage/domain-client/protobuf/Cover.ts.html +208 -0
  215. package/coverage/domain-client/protobuf/Deadline.ts.html +223 -0
  216. package/coverage/domain-client/protobuf/Degree.ts.html +298 -0
  217. package/coverage/domain-client/protobuf/Description.ts.html +274 -0
  218. package/coverage/domain-client/protobuf/Discipline.ts.html +418 -0
  219. package/coverage/domain-client/protobuf/Duration.ts.html +223 -0
  220. package/coverage/domain-client/protobuf/EnglishRequirement.ts.html +223 -0
  221. package/coverage/domain-client/protobuf/EssentialInformation.ts.html +313 -0
  222. package/coverage/domain-client/protobuf/File.ts.html +388 -0
  223. package/coverage/domain-client/protobuf/GPARequirement.ts.html +223 -0
  224. package/coverage/domain-client/protobuf/InternalLink.ts.html +244 -0
  225. package/coverage/domain-client/protobuf/Link.ts.html +223 -0
  226. package/coverage/domain-client/protobuf/LivingCost.ts.html +223 -0
  227. package/coverage/domain-client/protobuf/Location.ts.html +316 -0
  228. package/coverage/domain-client/protobuf/Logo.ts.html +208 -0
  229. package/coverage/domain-client/protobuf/MiniProgrammeCard.ts.html +292 -0
  230. package/coverage/domain-client/protobuf/OptionalLink.ts.html +238 -0
  231. package/coverage/domain-client/protobuf/Organisation.ts.html +3280 -0
  232. package/coverage/domain-client/protobuf/OrganisationInformation.ts.html +187 -0
  233. package/coverage/domain-client/protobuf/OrganisationRanking.ts.html +259 -0
  234. package/coverage/domain-client/protobuf/Person.ts.html +256 -0
  235. package/coverage/domain-client/protobuf/ProgrammeCard.ts.html +826 -0
  236. package/coverage/domain-client/protobuf/ProgrammeGrid.ts.html +244 -0
  237. package/coverage/domain-client/protobuf/Ranking.ts.html +388 -0
  238. package/coverage/domain-client/protobuf/RankingInstitute.ts.html +271 -0
  239. package/coverage/domain-client/protobuf/Review.ts.html +301 -0
  240. package/coverage/domain-client/protobuf/ReviewRating.ts.html +238 -0
  241. package/coverage/domain-client/protobuf/RichText.ts.html +214 -0
  242. package/coverage/domain-client/protobuf/SocialLink.ts.html +373 -0
  243. package/coverage/domain-client/protobuf/StartDate.ts.html +247 -0
  244. package/coverage/domain-client/protobuf/Timing.ts.html +289 -0
  245. package/coverage/domain-client/protobuf/Topic.ts.html +208 -0
  246. package/coverage/domain-client/protobuf/TrackedLink.ts.html +241 -0
  247. package/coverage/domain-client/protobuf/Tracking.ts.html +322 -0
  248. package/coverage/domain-client/protobuf/TuitionFee.ts.html +253 -0
  249. package/coverage/domain-client/protobuf/Unibuddy.ts.html +208 -0
  250. package/coverage/domain-client/protobuf/index.html +746 -0
  251. package/coverage/domain-client/protobuf/index.ts.html +223 -0
  252. package/coverage/domain-client/src/clients/article-detail-page-client.ts.html +145 -0
  253. package/coverage/domain-client/src/clients/index.html +176 -0
  254. package/coverage/domain-client/src/clients/index.ts.html +109 -0
  255. package/coverage/domain-client/src/clients/organisation-page-client.ts.html +145 -0
  256. package/coverage/domain-client/src/clients/protobuf-client.ts.html +256 -0
  257. package/coverage/domain-client/src/clients/public-mini-programme-card-client.ts.html +145 -0
  258. package/coverage/domain-client/src/domain-client.ts.html +415 -0
  259. package/coverage/domain-client/src/exceptions/bad-request-exception.ts.html +91 -0
  260. package/coverage/domain-client/src/exceptions/client-exception.ts.html +91 -0
  261. package/coverage/domain-client/src/exceptions/index.html +176 -0
  262. package/coverage/domain-client/src/exceptions/internal-server-exception.ts.html +91 -0
  263. package/coverage/domain-client/src/exceptions/not-found-exception.ts.html +91 -0
  264. package/coverage/domain-client/src/exceptions/property-not-available-exception.ts.html +91 -0
  265. package/coverage/domain-client/src/factories/DateFactory.ts.html +109 -0
  266. package/coverage/domain-client/src/factories/InternalLinkFactory.ts.html +181 -0
  267. package/coverage/domain-client/src/factories/index.html +131 -0
  268. package/coverage/domain-client/src/i-api-response.ts.html +106 -0
  269. package/coverage/domain-client/src/i-class-factory.ts.html +100 -0
  270. package/coverage/domain-client/src/i-model-description.ts.html +124 -0
  271. package/coverage/domain-client/src/index.html +206 -0
  272. package/coverage/domain-client/src/model-client.ts.html +316 -0
  273. package/coverage/domain-client/src/model-factory.ts.html +367 -0
  274. package/coverage/domain-client/src/models/bestfit-programme/bestfit-programme-client.ts.html +133 -0
  275. package/coverage/domain-client/src/models/bestfit-programme/i-best-fit-programme.ts.html +391 -0
  276. package/coverage/domain-client/src/models/bestfit-programme/i-city.ts.html +133 -0
  277. package/coverage/domain-client/src/models/bestfit-programme/i-living-cost.ts.html +154 -0
  278. package/coverage/domain-client/src/models/bestfit-programme/index.html +161 -0
  279. package/coverage/domain-client/src/models/common/i-city.ts.html +133 -0
  280. package/coverage/domain-client/src/models/common/i-country.ts.html +154 -0
  281. package/coverage/domain-client/src/models/common/i-english-requirements.ts.html +283 -0
  282. package/coverage/domain-client/src/models/common/i-g-p-a-requirement.ts.html +154 -0
  283. package/coverage/domain-client/src/models/common/i-internal-link.ts.html +181 -0
  284. package/coverage/domain-client/src/models/common/i-logo.ts.html +133 -0
  285. package/coverage/domain-client/src/models/common/i-review-rating.ts.html +172 -0
  286. package/coverage/domain-client/src/models/common/i-tuition-fee.ts.html +256 -0
  287. package/coverage/domain-client/src/models/common/index.html +221 -0
  288. package/coverage/domain-client/src/models/copilot-country/copilot-country-client.ts.html +133 -0
  289. package/coverage/domain-client/src/models/copilot-country/i-copilot-country.ts.html +223 -0
  290. package/coverage/domain-client/src/models/copilot-country/i-copilot-ranking-card.ts.html +199 -0
  291. package/coverage/domain-client/src/models/copilot-country/index.html +146 -0
  292. package/coverage/domain-client/src/models/copilot-programme/copilot-programme-client.ts.html +133 -0
  293. package/coverage/domain-client/src/models/copilot-programme/i-copilot-programme.ts.html +526 -0
  294. package/coverage/domain-client/src/models/copilot-programme/index.html +131 -0
  295. package/coverage/domain-client/src/models/customerio-organisation/customerio-organisation-client.ts.html +133 -0
  296. package/coverage/domain-client/src/models/customerio-organisation/i-customer-io-organisation.ts.html +271 -0
  297. package/coverage/domain-client/src/models/customerio-organisation/i-review.ts.html +121 -0
  298. package/coverage/domain-client/src/models/customerio-organisation/index.html +146 -0
  299. package/coverage/domain-client/src/models/customerio-programme/customerio-programme-client.ts.html +133 -0
  300. package/coverage/domain-client/src/models/customerio-programme/i-customer-io-programme.ts.html +472 -0
  301. package/coverage/domain-client/src/models/customerio-programme/i-internal-link.ts.html +181 -0
  302. package/coverage/domain-client/src/models/customerio-programme/index.html +146 -0
  303. package/coverage/domain-client/src/models/faq-static-content/i-faq-static-content.ts.html +130 -0
  304. package/coverage/domain-client/src/models/faq-static-content/i-faq.ts.html +100 -0
  305. package/coverage/domain-client/src/models/faq-static-content/i-static-content-url.ts.html +100 -0
  306. package/coverage/domain-client/src/models/faq-static-content/index.html +161 -0
  307. package/coverage/domain-client/src/models/faq-static-content/public-faq-static-content-client.ts.html +133 -0
  308. package/coverage/domain-client/src/models/organisation-card/i-organisation-card.ts.html +304 -0
  309. package/coverage/domain-client/src/models/organisation-card/i-ranking-discipline.ts.html +103 -0
  310. package/coverage/domain-client/src/models/organisation-card/index.html +146 -0
  311. package/coverage/domain-client/src/models/organisation-card/organisation-card-client.ts.html +133 -0
  312. package/coverage/domain-client/src/models/organisation-for-search/i-organisation-for-search.ts.html +196 -0
  313. package/coverage/domain-client/src/models/organisation-for-search/index.html +131 -0
  314. package/coverage/domain-client/src/models/organisation-for-search/public-organisation-for-search-client.ts.html +133 -0
  315. package/coverage/domain-client/src/models/organisation-search-document/i-organisation-search-document.ts.html +616 -0
  316. package/coverage/domain-client/src/models/organisation-search-document/index.html +131 -0
  317. package/coverage/domain-client/src/models/organisation-search-document/organisation-search-document-client.ts.html +133 -0
  318. package/coverage/domain-client/src/models/programme-card/i-click-tracking-data.ts.html +109 -0
  319. package/coverage/domain-client/src/models/programme-card/i-cover.ts.html +133 -0
  320. package/coverage/domain-client/src/models/programme-card/i-deadline.ts.html +154 -0
  321. package/coverage/domain-client/src/models/programme-card/i-duration.ts.html +223 -0
  322. package/coverage/domain-client/src/models/programme-card/i-internal-link.ts.html +181 -0
  323. package/coverage/domain-client/src/models/programme-card/i-link.ts.html +160 -0
  324. package/coverage/domain-client/src/models/programme-card/i-location.ts.html +151 -0
  325. package/coverage/domain-client/src/models/programme-card/i-logo.ts.html +133 -0
  326. package/coverage/domain-client/src/models/programme-card/i-optional-link.ts.html +166 -0
  327. package/coverage/domain-client/src/models/programme-card/i-programme-card.ts.html +856 -0
  328. package/coverage/domain-client/src/models/programme-card/i-start-date.ts.html +202 -0
  329. package/coverage/domain-client/src/models/programme-card/i-timing.ts.html +244 -0
  330. package/coverage/domain-client/src/models/programme-card/i-tracked-link.ts.html +187 -0
  331. package/coverage/domain-client/src/models/programme-card/i-tracking.ts.html +250 -0
  332. package/coverage/domain-client/src/models/programme-card/i-tuition-fee.ts.html +256 -0
  333. package/coverage/domain-client/src/models/programme-card/index.html +341 -0
  334. package/coverage/domain-client/src/models/programme-card/programme-card-client.ts.html +133 -0
  335. package/coverage/domain-client/src/models/ranking-cards/i-ranking.ts.html +151 -0
  336. package/coverage/domain-client/src/models/ranking-cards/index.html +116 -0
  337. package/coverage/domain-client/src/models/scholarship-card/i-scholarship-card-v2.ts.html +199 -0
  338. package/coverage/domain-client/src/models/scholarship-card/i-scholarship-card.ts.html +169 -0
  339. package/coverage/domain-client/src/models/scholarship-card/index.html +161 -0
  340. package/coverage/domain-client/src/models/scholarship-card/public-scholarship-card-client.ts.html +133 -0
  341. package/coverage/domain-client/src/models/scholarship-card/scholarship-card-v2-client.ts.html +133 -0
  342. package/coverage/domain-client/src/models/scholarship-search-document/i-scholarship-search-document.ts.html +244 -0
  343. package/coverage/domain-client/src/models/scholarship-search-document/index.html +131 -0
  344. package/coverage/domain-client/src/models/scholarship-search-document/scholarship-search-document-client.ts.html +133 -0
  345. package/coverage/domain-client/src/models/search-discipline/i-search-discipline.ts.html +181 -0
  346. package/coverage/domain-client/src/models/search-discipline/index.html +131 -0
  347. package/coverage/domain-client/src/models/search-discipline/public-search-discipline-client.ts.html +133 -0
  348. package/coverage/domain-client/src/models/search-projection/i-geo-targeting-configuration.ts.html +217 -0
  349. package/coverage/domain-client/src/models/search-projection/i-geo-targeting-values.ts.html +199 -0
  350. package/coverage/domain-client/src/models/search-projection/i-organisation-values.ts.html +244 -0
  351. package/coverage/domain-client/src/models/search-projection/i-premium-values.ts.html +214 -0
  352. package/coverage/domain-client/src/models/search-projection/i-search-projection.ts.html +754 -0
  353. package/coverage/domain-client/src/models/search-projection/i-tuition-values.ts.html +274 -0
  354. package/coverage/domain-client/src/models/search-projection/index.html +206 -0
  355. package/coverage/domain-client/src/models/search-projection/search-projection-client.ts.html +133 -0
  356. package/coverage/domain-client/src/models/sitemap-articles-info/i-sitemap-article-info.ts.html +184 -0
  357. package/coverage/domain-client/src/models/sitemap-articles-info/index.html +131 -0
  358. package/coverage/domain-client/src/models/sitemap-articles-info/sitemap-articles-info-client.ts.html +133 -0
  359. package/coverage/domain-client/src/models/sitemap-cities-info/i-sitemap-city-info.ts.html +136 -0
  360. package/coverage/domain-client/src/models/sitemap-cities-info/index.html +131 -0
  361. package/coverage/domain-client/src/models/sitemap-cities-info/sitemap-cities-info-client.ts.html +133 -0
  362. package/coverage/domain-client/src/models/sitemap-countries-info/i-sitemap-country-info.ts.html +136 -0
  363. package/coverage/domain-client/src/models/sitemap-countries-info/index.html +131 -0
  364. package/coverage/domain-client/src/models/sitemap-countries-info/sitemap-countries-info-client.ts.html +133 -0
  365. package/coverage/domain-client/src/models/sitemap-country-degree-info/i-degree-info.ts.html +136 -0
  366. package/coverage/domain-client/src/models/sitemap-country-degree-info/i-sitemap-country-degree-info.ts.html +127 -0
  367. package/coverage/domain-client/src/models/sitemap-country-degree-info/index.html +146 -0
  368. package/coverage/domain-client/src/models/sitemap-country-degree-info/sitemap-country-degree-info-client.ts.html +133 -0
  369. package/coverage/domain-client/src/models/sitemap-disciplines-info/i-sitemap-discipline-info.ts.html +136 -0
  370. package/coverage/domain-client/src/models/sitemap-disciplines-info/index.html +131 -0
  371. package/coverage/domain-client/src/models/sitemap-disciplines-info/sitemap-disciplines-info-client.ts.html +133 -0
  372. package/coverage/domain-client/src/models/sitemap-organisations-info/i-sitemap-organisation-info.ts.html +181 -0
  373. package/coverage/domain-client/src/models/sitemap-organisations-info/index.html +131 -0
  374. package/coverage/domain-client/src/models/sitemap-organisations-info/sitemap-organisations-info-client.ts.html +133 -0
  375. package/coverage/domain-client/src/models/sitemap-programme-info/i-sitemap-programme-info.ts.html +181 -0
  376. package/coverage/domain-client/src/models/sitemap-programme-info/index.html +131 -0
  377. package/coverage/domain-client/src/models/sitemap-programme-info/sitemap-programme-info-client.ts.html +133 -0
  378. package/coverage/domain-client/src/models/sitemap-rankings-info/i-sitemap-rankings-info.ts.html +136 -0
  379. package/coverage/domain-client/src/models/sitemap-rankings-info/index.html +131 -0
  380. package/coverage/domain-client/src/models/sitemap-rankings-info/sitemap-rankings-info-client.ts.html +133 -0
  381. package/coverage/domain-client/src/types/index.html +131 -0
  382. package/coverage/domain-client/src/types/portal-map.ts.html +94 -0
  383. package/coverage/domain-client/src/types/portal-type.ts.html +106 -0
  384. package/coverage/domain-client/src/types.ts.html +97 -0
  385. package/coverage/favicon.png +0 -0
  386. package/coverage/index.html +566 -0
  387. package/coverage/prettify.css +1 -0
  388. package/coverage/prettify.js +2 -0
  389. package/coverage/sort-arrow-sprite.png +0 -0
  390. package/coverage/sorter.js +196 -0
  391. package/index.ts +177 -0
  392. package/package.json +50 -52
  393. package/protobuf/Area.ts +46 -0
  394. package/protobuf/Article.ts +289 -0
  395. package/protobuf/Body.ts +46 -0
  396. package/protobuf/CampaignInformation.ts +46 -0
  397. package/protobuf/ClickTracking.ts +46 -0
  398. package/protobuf/CommercialEntity.ts +67 -0
  399. package/protobuf/Cover.ts +41 -0
  400. package/protobuf/Deadline.ts +46 -0
  401. package/protobuf/Degree.ts +71 -0
  402. package/protobuf/Description.ts +63 -0
  403. package/protobuf/Discipline.ts +111 -0
  404. package/protobuf/Duration.ts +46 -0
  405. package/protobuf/EnglishRequirement.ts +46 -0
  406. package/protobuf/EssentialInformation.ts +76 -0
  407. package/protobuf/File.ts +101 -0
  408. package/protobuf/GPARequirement.ts +46 -0
  409. package/protobuf/InternalLink.ts +53 -0
  410. package/protobuf/Link.ts +46 -0
  411. package/protobuf/LivingCost.ts +46 -0
  412. package/protobuf/Location.ts +77 -0
  413. package/protobuf/Logo.ts +41 -0
  414. package/protobuf/MiniProgrammeCard.ts +69 -0
  415. package/protobuf/OptionalLink.ts +51 -0
  416. package/protobuf/Organisation.ts +1065 -0
  417. package/protobuf/OrganisationInformation.ts +34 -0
  418. package/protobuf/OrganisationRanking.ts +58 -0
  419. package/protobuf/Person.ts +57 -0
  420. package/protobuf/ProgrammeCard.ts +247 -0
  421. package/protobuf/ProgrammeGrid.ts +53 -0
  422. package/protobuf/Ranking.ts +101 -0
  423. package/protobuf/RankingInstitute.ts +62 -0
  424. package/protobuf/Review.ts +72 -0
  425. package/protobuf/ReviewRating.ts +51 -0
  426. package/protobuf/RichText.ts +43 -0
  427. package/protobuf/SocialLink.ts +96 -0
  428. package/protobuf/StartDate.ts +54 -0
  429. package/protobuf/Timing.ts +68 -0
  430. package/protobuf/Topic.ts +41 -0
  431. package/protobuf/TrackedLink.ts +52 -0
  432. package/protobuf/Tracking.ts +79 -0
  433. package/protobuf/TuitionFee.ts +56 -0
  434. package/protobuf/Unibuddy.ts +41 -0
  435. package/protobuf/index.ts +46 -0
  436. package/src/clients/article-detail-page-client.ts +20 -0
  437. package/src/clients/index.ts +8 -0
  438. package/src/clients/organisation-page-client.ts +20 -0
  439. package/src/clients/protobuf-client.ts +57 -0
  440. package/src/clients/public-mini-programme-card-client.ts +20 -0
  441. package/src/domain-client.ts +110 -0
  442. package/src/factories/DateFactory.ts +8 -0
  443. package/src/factories/InternalLinkFactory.ts +32 -0
  444. package/src/i-api-response.ts +7 -0
  445. package/src/i-class-factory.ts +5 -0
  446. package/src/i-model-description.ts +13 -0
  447. package/src/model-client.ts +77 -0
  448. package/src/model-factory.ts +94 -0
  449. package/src/models/bestfit-programme/bestfit-programme-client.ts +16 -0
  450. package/src/models/bestfit-programme/i-best-fit-programme.ts +102 -0
  451. package/src/models/bestfit-programme/i-city.ts +16 -0
  452. package/src/models/bestfit-programme/i-living-cost.ts +23 -0
  453. package/src/models/common/i-city.ts +16 -0
  454. package/src/models/common/i-country.ts +23 -0
  455. package/src/models/common/i-english-requirements.ts +66 -0
  456. package/src/models/common/i-g-p-a-requirement.ts +23 -0
  457. package/src/models/common/i-internal-link.ts +32 -0
  458. package/src/models/common/i-logo.ts +16 -0
  459. package/src/models/common/i-review-rating.ts +30 -0
  460. package/src/models/common/i-tuition-fee.ts +57 -0
  461. package/src/models/copilot-country/copilot-country-client.ts +16 -0
  462. package/src/models/copilot-country/i-copilot-country.ts +46 -0
  463. package/src/models/copilot-country/i-copilot-ranking-card.ts +39 -0
  464. package/src/models/copilot-programme/copilot-programme-client.ts +16 -0
  465. package/src/models/copilot-programme/i-copilot-programme.ts +147 -0
  466. package/src/models/customerio-organisation/customerio-organisation-client.ts +16 -0
  467. package/src/models/customerio-organisation/i-customer-io-organisation.ts +62 -0
  468. package/src/models/customerio-organisation/i-review.ts +12 -0
  469. package/src/models/customerio-programme/customerio-programme-client.ts +16 -0
  470. package/src/models/customerio-programme/i-customer-io-programme.ts +129 -0
  471. package/src/models/customerio-programme/i-internal-link.ts +32 -0
  472. package/src/models/faq-static-content/i-faq-static-content.ts +15 -0
  473. package/src/models/faq-static-content/i-faq.ts +6 -0
  474. package/src/models/faq-static-content/i-static-content-url.ts +6 -0
  475. package/src/models/faq-static-content/public-faq-static-content-client.ts +16 -0
  476. package/src/models/organisation-card/i-organisation-card.ts +73 -0
  477. package/src/models/organisation-card/i-ranking-discipline.ts +6 -0
  478. package/src/models/organisation-card/organisation-card-client.ts +16 -0
  479. package/src/models/organisation-for-search/i-organisation-for-search.ts +37 -0
  480. package/src/models/organisation-for-search/public-organisation-for-search-client.ts +16 -0
  481. package/src/models/organisation-search-document/i-organisation-search-document.ts +177 -0
  482. package/src/models/organisation-search-document/organisation-search-document-client.ts +16 -0
  483. package/src/models/programme-card/i-click-tracking-data.ts +8 -0
  484. package/src/models/programme-card/i-cover.ts +16 -0
  485. package/src/models/programme-card/i-deadline.ts +23 -0
  486. package/src/models/programme-card/i-duration.ts +46 -0
  487. package/src/models/programme-card/i-internal-link.ts +32 -0
  488. package/src/models/programme-card/i-link.ts +25 -0
  489. package/src/models/programme-card/i-location.ts +22 -0
  490. package/src/models/programme-card/i-logo.ts +16 -0
  491. package/src/models/programme-card/i-optional-link.ts +27 -0
  492. package/src/models/programme-card/i-programme-card.ts +257 -0
  493. package/src/models/programme-card/i-start-date.ts +39 -0
  494. package/src/models/programme-card/i-timing.ts +53 -0
  495. package/src/models/programme-card/i-tracked-link.ts +34 -0
  496. package/src/models/programme-card/i-tracking.ts +55 -0
  497. package/src/models/programme-card/i-tuition-fee.ts +57 -0
  498. package/src/models/programme-card/programme-card-client.ts +16 -0
  499. package/src/models/ranking-cards/i-ranking.ts +22 -0
  500. package/src/models/scholarship-card/i-scholarship-card-v2.ts +38 -0
  501. package/src/models/scholarship-card/i-scholarship-card.ts +28 -0
  502. package/src/models/scholarship-card/public-scholarship-card-client.ts +16 -0
  503. package/src/models/scholarship-card/scholarship-card-v2-client.ts +16 -0
  504. package/src/models/scholarship-search-document/i-scholarship-search-document.ts +53 -0
  505. package/src/models/scholarship-search-document/scholarship-search-document-client.ts +16 -0
  506. package/src/models/search-discipline/i-search-discipline.ts +32 -0
  507. package/src/models/search-discipline/public-search-discipline-client.ts +16 -0
  508. package/src/models/search-projection/i-geo-targeting-configuration.ts +44 -0
  509. package/src/models/search-projection/i-geo-targeting-values.ts +38 -0
  510. package/src/models/search-projection/i-organisation-values.ts +53 -0
  511. package/src/models/search-projection/i-premium-values.ts +43 -0
  512. package/src/models/search-projection/i-search-projection.ts +223 -0
  513. package/src/models/search-projection/i-tuition-values.ts +63 -0
  514. package/src/models/search-projection/search-projection-client.ts +16 -0
  515. package/src/models/sitemap-articles-info/i-sitemap-article-info.ts +33 -0
  516. package/src/models/sitemap-articles-info/sitemap-articles-info-client.ts +16 -0
  517. package/src/models/sitemap-cities-info/i-sitemap-city-info.ts +17 -0
  518. package/src/models/sitemap-cities-info/sitemap-cities-info-client.ts +16 -0
  519. package/src/models/sitemap-countries-info/i-sitemap-country-info.ts +17 -0
  520. package/src/models/sitemap-countries-info/sitemap-countries-info-client.ts +16 -0
  521. package/src/models/sitemap-country-degree-info/i-degree-info.ts +17 -0
  522. package/src/models/sitemap-country-degree-info/i-sitemap-country-degree-info.ts +14 -0
  523. package/src/models/sitemap-country-degree-info/sitemap-country-degree-info-client.ts +16 -0
  524. package/src/models/sitemap-disciplines-info/i-sitemap-discipline-info.ts +17 -0
  525. package/src/models/sitemap-disciplines-info/sitemap-disciplines-info-client.ts +16 -0
  526. package/src/models/sitemap-organisations-info/i-sitemap-organisation-info.ts +32 -0
  527. package/src/models/sitemap-organisations-info/sitemap-organisations-info-client.ts +16 -0
  528. package/src/models/sitemap-programme-info/i-sitemap-programme-info.ts +32 -0
  529. package/src/models/sitemap-programme-info/sitemap-programme-info-client.ts +16 -0
  530. package/src/models/sitemap-rankings-info/i-sitemap-rankings-info.ts +17 -0
  531. package/src/models/sitemap-rankings-info/sitemap-rankings-info-client.ts +16 -0
  532. package/src/types/portal-map.ts +3 -0
  533. package/src/types/portal-type.ts +7 -0
  534. package/src/types.ts +4 -0
  535. package/tsconfig.json +40 -0
  536. package/vitest.config.ts +10 -0
  537. package/vitest.setup.ts +6 -0
  538. package/index.d.ts +0 -88
  539. package/index.js +0 -33
  540. package/protobuf/Area.d.ts +0 -11
  541. package/protobuf/Area.js +0 -30
  542. package/protobuf/Article.d.ts +0 -60
  543. package/protobuf/Article.js +0 -226
  544. package/protobuf/Body.d.ts +0 -11
  545. package/protobuf/Body.js +0 -30
  546. package/protobuf/CampaignInformation.d.ts +0 -11
  547. package/protobuf/CampaignInformation.js +0 -30
  548. package/protobuf/ClickTracking.d.ts +0 -11
  549. package/protobuf/ClickTracking.js +0 -30
  550. package/protobuf/CommercialEntity.d.ts +0 -14
  551. package/protobuf/CommercialEntity.js +0 -48
  552. package/protobuf/Cover.d.ts +0 -10
  553. package/protobuf/Cover.js +0 -26
  554. package/protobuf/Deadline.d.ts +0 -11
  555. package/protobuf/Deadline.js +0 -30
  556. package/protobuf/Degree.d.ts +0 -16
  557. package/protobuf/Degree.js +0 -50
  558. package/protobuf/Description.d.ts +0 -16
  559. package/protobuf/Description.js +0 -45
  560. package/protobuf/Discipline.d.ts +0 -26
  561. package/protobuf/Discipline.js +0 -84
  562. package/protobuf/Duration.d.ts +0 -11
  563. package/protobuf/Duration.js +0 -30
  564. package/protobuf/EnglishRequirement.d.ts +0 -11
  565. package/protobuf/EnglishRequirement.js +0 -30
  566. package/protobuf/EssentialInformation.d.ts +0 -17
  567. package/protobuf/EssentialInformation.js +0 -54
  568. package/protobuf/File.d.ts +0 -22
  569. package/protobuf/File.js +0 -74
  570. package/protobuf/GPARequirement.d.ts +0 -11
  571. package/protobuf/GPARequirement.js +0 -30
  572. package/protobuf/InternalLink.d.ts +0 -12
  573. package/protobuf/InternalLink.js +0 -30
  574. package/protobuf/Link.d.ts +0 -11
  575. package/protobuf/Link.js +0 -30
  576. package/protobuf/LivingCost.d.ts +0 -11
  577. package/protobuf/LivingCost.js +0 -30
  578. package/protobuf/Location.d.ts +0 -18
  579. package/protobuf/Location.js +0 -56
  580. package/protobuf/Logo.d.ts +0 -10
  581. package/protobuf/Logo.js +0 -26
  582. package/protobuf/MiniProgrammeCard.d.ts +0 -18
  583. package/protobuf/MiniProgrammeCard.js +0 -50
  584. package/protobuf/OptionalLink.d.ts +0 -12
  585. package/protobuf/OptionalLink.js +0 -34
  586. package/protobuf/Organisation.d.ts +0 -211
  587. package/protobuf/Organisation.js +0 -853
  588. package/protobuf/OrganisationInformation.d.ts +0 -9
  589. package/protobuf/OrganisationInformation.js +0 -20
  590. package/protobuf/OrganisationRanking.d.ts +0 -15
  591. package/protobuf/OrganisationRanking.js +0 -41
  592. package/protobuf/Person.d.ts +0 -14
  593. package/protobuf/Person.js +0 -40
  594. package/protobuf/ProgrammeCard.d.ts +0 -60
  595. package/protobuf/ProgrammeCard.js +0 -197
  596. package/protobuf/ProgrammeGrid.d.ts +0 -14
  597. package/protobuf/ProgrammeGrid.js +0 -37
  598. package/protobuf/Ranking.d.ts +0 -22
  599. package/protobuf/Ranking.js +0 -76
  600. package/protobuf/RankingInstitute.d.ts +0 -15
  601. package/protobuf/RankingInstitute.js +0 -44
  602. package/protobuf/Review.d.ts +0 -17
  603. package/protobuf/Review.js +0 -52
  604. package/protobuf/ReviewRating.d.ts +0 -12
  605. package/protobuf/ReviewRating.js +0 -34
  606. package/protobuf/RichText.d.ts +0 -10
  607. package/protobuf/RichText.js +0 -28
  608. package/protobuf/SocialLink.d.ts +0 -21
  609. package/protobuf/SocialLink.js +0 -70
  610. package/protobuf/StartDate.d.ts +0 -13
  611. package/protobuf/StartDate.js +0 -38
  612. package/protobuf/Timing.d.ts +0 -17
  613. package/protobuf/Timing.js +0 -49
  614. package/protobuf/Topic.d.ts +0 -10
  615. package/protobuf/Topic.js +0 -26
  616. package/protobuf/TrackedLink.d.ts +0 -13
  617. package/protobuf/TrackedLink.js +0 -36
  618. package/protobuf/Tracking.d.ts +0 -18
  619. package/protobuf/Tracking.js +0 -58
  620. package/protobuf/TuitionFee.d.ts +0 -13
  621. package/protobuf/TuitionFee.js +0 -38
  622. package/protobuf/Unibuddy.d.ts +0 -10
  623. package/protobuf/Unibuddy.js +0 -26
  624. package/protobuf/index.d.ts +0 -45
  625. package/protobuf/index.js +0 -45
  626. package/src/clients/article-detail-page-client.d.ts +0 -8
  627. package/src/clients/article-detail-page-client.js +0 -16
  628. package/src/clients/index.d.ts +0 -7
  629. package/src/clients/index.js +0 -7
  630. package/src/clients/organisation-page-client.d.ts +0 -8
  631. package/src/clients/organisation-page-client.js +0 -16
  632. package/src/clients/protobuf-client.d.ts +0 -14
  633. package/src/clients/protobuf-client.js +0 -26
  634. package/src/clients/public-mini-programme-card-client.d.ts +0 -8
  635. package/src/clients/public-mini-programme-card-client.js +0 -16
  636. package/src/domain-client.d.ts +0 -14
  637. package/src/domain-client.js +0 -91
  638. package/src/factories/DateFactory.js +0 -5
  639. package/src/factories/InternalLinkFactory.d.ts +0 -9
  640. package/src/factories/InternalLinkFactory.js +0 -22
  641. package/src/i-api-response.d.ts +0 -6
  642. package/src/i-api-response.js +0 -1
  643. package/src/i-class-factory.js +0 -1
  644. package/src/i-model-description.js +0 -5
  645. package/src/model-client.js +0 -43
  646. package/src/model-factory.js +0 -68
  647. package/src/models/bestfit-programme/bestfit-programme-client.js +0 -12
  648. package/src/models/bestfit-programme/i-best-fit-programme.js +0 -1
  649. package/src/models/bestfit-programme/i-city.js +0 -1
  650. package/src/models/bestfit-programme/i-english-requirements.d.ts +0 -51
  651. package/src/models/bestfit-programme/i-english-requirements.js +0 -1
  652. package/src/models/bestfit-programme/i-g-p-a-requirement.js +0 -1
  653. package/src/models/bestfit-programme/i-living-cost.js +0 -1
  654. package/src/models/bestfit-programme/i-tuition-fee.js +0 -1
  655. package/src/models/common/i-city.js +0 -1
  656. package/src/models/common/i-country.js +0 -1
  657. package/src/models/common/i-english-requirements.js +0 -1
  658. package/src/models/common/i-g-p-a-requirement.d.ts +0 -20
  659. package/src/models/common/i-g-p-a-requirement.js +0 -1
  660. package/src/models/common/i-internal-link.js +0 -1
  661. package/src/models/common/i-logo.js +0 -1
  662. package/src/models/common/i-review-rating.d.ts +0 -26
  663. package/src/models/common/i-review-rating.js +0 -1
  664. package/src/models/common/i-tuition-fee.js +0 -1
  665. package/src/models/compare-programme/i-english-requirements.d.ts +0 -51
  666. package/src/models/compare-programme/i-english-requirements.js +0 -1
  667. package/src/models/compare-programme/i-g-p-a-requirement.d.ts +0 -20
  668. package/src/models/compare-programme/i-g-p-a-requirement.js +0 -1
  669. package/src/models/compare-programme/i-living-cost.d.ts +0 -20
  670. package/src/models/compare-programme/i-living-cost.js +0 -1
  671. package/src/models/copilot-country/copilot-country-client.js +0 -12
  672. package/src/models/copilot-country/i-copilot-country.js +0 -1
  673. package/src/models/copilot-country/i-copilot-ranking-card.js +0 -1
  674. package/src/models/copilot-programme/copilot-programme-client.js +0 -12
  675. package/src/models/copilot-programme/i-copilot-programme.js +0 -1
  676. package/src/models/copilot-programme/i-deadline.js +0 -1
  677. package/src/models/copilot-programme/i-english-requirements.d.ts +0 -51
  678. package/src/models/copilot-programme/i-english-requirements.js +0 -1
  679. package/src/models/copilot-programme/i-g-p-a-requirement.d.ts +0 -20
  680. package/src/models/copilot-programme/i-g-p-a-requirement.js +0 -1
  681. package/src/models/copilot-programme/i-geo-targeting-configuration.js +0 -1
  682. package/src/models/copilot-programme/i-geo-targeting-values.js +0 -1
  683. package/src/models/copilot-programme/i-internal-link.js +0 -1
  684. package/src/models/copilot-programme/i-link.js +0 -1
  685. package/src/models/copilot-programme/i-living-cost.d.ts +0 -20
  686. package/src/models/copilot-programme/i-living-cost.js +0 -1
  687. package/src/models/copilot-programme/i-start-date.js +0 -1
  688. package/src/models/copilot-programme/i-timing.js +0 -1
  689. package/src/models/copilot-programme/i-tuition-values.js +0 -1
  690. package/src/models/customerio-organisation/customerio-organisation-client.js +0 -12
  691. package/src/models/customerio-organisation/i-city.d.ts +0 -14
  692. package/src/models/customerio-organisation/i-city.js +0 -1
  693. package/src/models/customerio-organisation/i-country.d.ts +0 -20
  694. package/src/models/customerio-organisation/i-country.js +0 -1
  695. package/src/models/customerio-organisation/i-customer-i-o-organisation.d.ts +0 -35
  696. package/src/models/customerio-organisation/i-customer-i-o-organisation.js +0 -1
  697. package/src/models/customerio-organisation/i-customer-io-organisation.js +0 -1
  698. package/src/models/customerio-organisation/i-review.js +0 -1
  699. package/src/models/customerio-programme/customerio-programme-client.js +0 -12
  700. package/src/models/customerio-programme/i-country.d.ts +0 -20
  701. package/src/models/customerio-programme/i-country.js +0 -1
  702. package/src/models/customerio-programme/i-customer-i-o-programme.d.ts +0 -107
  703. package/src/models/customerio-programme/i-customer-i-o-programme.js +0 -1
  704. package/src/models/customerio-programme/i-customer-io-programme.js +0 -1
  705. package/src/models/customerio-programme/i-deadline.d.ts +0 -20
  706. package/src/models/customerio-programme/i-deadline.js +0 -1
  707. package/src/models/customerio-programme/i-english-requirements.d.ts +0 -51
  708. package/src/models/customerio-programme/i-english-requirements.js +0 -1
  709. package/src/models/customerio-programme/i-internal-link.js +0 -1
  710. package/src/models/customerio-programme/i-logo.js +0 -1
  711. package/src/models/customerio-programme/i-start-date.d.ts +0 -33
  712. package/src/models/customerio-programme/i-start-date.js +0 -1
  713. package/src/models/customerio-programme/i-timing.d.ts +0 -45
  714. package/src/models/customerio-programme/i-timing.js +0 -1
  715. package/src/models/customerio-programme/i-tuition-fee.d.ts +0 -50
  716. package/src/models/customerio-programme/i-tuition-fee.js +0 -1
  717. package/src/models/faq-static-content/i-faq-static-content.d.ts +0 -9
  718. package/src/models/faq-static-content/i-faq-static-content.js +0 -1
  719. package/src/models/faq-static-content/i-faq.d.ts +0 -4
  720. package/src/models/faq-static-content/i-faq.js +0 -1
  721. package/src/models/faq-static-content/i-static-content-url.d.ts +0 -4
  722. package/src/models/faq-static-content/i-static-content-url.js +0 -1
  723. package/src/models/faq-static-content/public-faq-static-content-client.d.ts +0 -7
  724. package/src/models/faq-static-content/public-faq-static-content-client.js +0 -12
  725. package/src/models/organisation-card/i-organisation-card.d.ts +0 -38
  726. package/src/models/organisation-card/i-organisation-card.js +0 -1
  727. package/src/models/organisation-card/i-ranking-discipline.js +0 -1
  728. package/src/models/organisation-card/i-review-rating-domain.d.ts +0 -6
  729. package/src/models/organisation-card/i-review-rating-domain.js +0 -1
  730. package/src/models/organisation-card/organisation-card-client.js +0 -12
  731. package/src/models/organisation-for-search/i-organisation-for-search.js +0 -1
  732. package/src/models/organisation-for-search/public-organisation-for-search-client.js +0 -12
  733. package/src/models/organisation-search-document/i-organisation-search-document.js +0 -1
  734. package/src/models/organisation-search-document/organisation-search-document-client.js +0 -12
  735. package/src/models/programme-card/i-click-tracking-data.js +0 -1
  736. package/src/models/programme-card/i-cover.js +0 -1
  737. package/src/models/programme-card/i-deadline.d.ts +0 -20
  738. package/src/models/programme-card/i-deadline.js +0 -1
  739. package/src/models/programme-card/i-duration.js +0 -1
  740. package/src/models/programme-card/i-english-requirements.d.ts +0 -51
  741. package/src/models/programme-card/i-english-requirements.js +0 -1
  742. package/src/models/programme-card/i-g-p-a-requirement.d.ts +0 -20
  743. package/src/models/programme-card/i-g-p-a-requirement.js +0 -1
  744. package/src/models/programme-card/i-internal-link.d.ts +0 -28
  745. package/src/models/programme-card/i-internal-link.js +0 -1
  746. package/src/models/programme-card/i-link.d.ts +0 -22
  747. package/src/models/programme-card/i-link.js +0 -1
  748. package/src/models/programme-card/i-living-cost.d.ts +0 -20
  749. package/src/models/programme-card/i-living-cost.js +0 -1
  750. package/src/models/programme-card/i-location.js +0 -1
  751. package/src/models/programme-card/i-logo.d.ts +0 -14
  752. package/src/models/programme-card/i-logo.js +0 -1
  753. package/src/models/programme-card/i-optional-link.js +0 -1
  754. package/src/models/programme-card/i-programme-card.d.ts +0 -212
  755. package/src/models/programme-card/i-programme-card.js +0 -1
  756. package/src/models/programme-card/i-review-rating-domain.d.ts +0 -6
  757. package/src/models/programme-card/i-review-rating-domain.js +0 -1
  758. package/src/models/programme-card/i-start-date.d.ts +0 -33
  759. package/src/models/programme-card/i-start-date.js +0 -1
  760. package/src/models/programme-card/i-timing.d.ts +0 -45
  761. package/src/models/programme-card/i-timing.js +0 -1
  762. package/src/models/programme-card/i-tracked-link.js +0 -1
  763. package/src/models/programme-card/i-tracking.js +0 -1
  764. package/src/models/programme-card/i-tuition-fee.d.ts +0 -50
  765. package/src/models/programme-card/i-tuition-fee.js +0 -1
  766. package/src/models/programme-card/programme-card-client.js +0 -12
  767. package/src/models/ranking-cards/i-ranking.js +0 -1
  768. package/src/models/scholarship-card/i-scholarship-card-v2.d.ts +0 -20
  769. package/src/models/scholarship-card/i-scholarship-card-v2.js +0 -1
  770. package/src/models/scholarship-card/i-scholarship-card.d.ts +0 -15
  771. package/src/models/scholarship-card/i-scholarship-card.js +0 -1
  772. package/src/models/scholarship-card/public-scholarship-card-client.js +0 -12
  773. package/src/models/scholarship-card/scholarship-card-v2-client.d.ts +0 -7
  774. package/src/models/scholarship-card/scholarship-card-v2-client.js +0 -12
  775. package/src/models/scholarship-card-v2/i-scholarship-card.js +0 -1
  776. package/src/models/scholarship-card-v2/scholarship-card-v2-client.js +0 -12
  777. package/src/models/scholarship-search-document/i-scholarship-search-document.js +0 -1
  778. package/src/models/scholarship-search-document/scholarship-search-document-client.js +0 -12
  779. package/src/models/search-discipline/i-search-discipline.js +0 -1
  780. package/src/models/search-discipline/public-search-discipline-client.js +0 -12
  781. package/src/models/search-projection/i-geo-targeting-configuration.d.ts +0 -38
  782. package/src/models/search-projection/i-geo-targeting-configuration.js +0 -1
  783. package/src/models/search-projection/i-geo-targeting-values.d.ts +0 -30
  784. package/src/models/search-projection/i-geo-targeting-values.js +0 -1
  785. package/src/models/search-projection/i-organisation-values.js +0 -1
  786. package/src/models/search-projection/i-premium-values.js +0 -1
  787. package/src/models/search-projection/i-search-projection.js +0 -1
  788. package/src/models/search-projection/i-tuition-values.d.ts +0 -50
  789. package/src/models/search-projection/i-tuition-values.js +0 -1
  790. package/src/models/search-projection/search-projection-client.js +0 -12
  791. package/src/models/sitemap-articles-info/i-sitemap-article-info.js +0 -1
  792. package/src/models/sitemap-articles-info/sitemap-articles-info-client.js +0 -12
  793. package/src/models/sitemap-cities-info/i-sitemap-city-info.js +0 -1
  794. package/src/models/sitemap-cities-info/sitemap-cities-info-client.js +0 -12
  795. package/src/models/sitemap-countries-info/i-sitemap-country-info.js +0 -1
  796. package/src/models/sitemap-countries-info/sitemap-countries-info-client.js +0 -12
  797. package/src/models/sitemap-country-degree-info/i-degree-info.js +0 -1
  798. package/src/models/sitemap-country-degree-info/i-sitemap-country-degree-info.js +0 -1
  799. package/src/models/sitemap-country-degree-info/sitemap-country-degree-info-client.js +0 -12
  800. package/src/models/sitemap-disciplines-info/i-sitemap-discipline-info.js +0 -1
  801. package/src/models/sitemap-disciplines-info/sitemap-disciplines-info-client.js +0 -12
  802. package/src/models/sitemap-organisations-info/i-sitemap-organisation-info.js +0 -1
  803. package/src/models/sitemap-organisations-info/sitemap-organisations-info-client.js +0 -12
  804. package/src/models/sitemap-programme-info/i-sitemap-programme-info.js +0 -1
  805. package/src/models/sitemap-programme-info/sitemap-programme-info-client.js +0 -12
  806. package/src/models/sitemap-rankings-info/i-sitemap-rankings-info.js +0 -1
  807. package/src/models/sitemap-rankings-info/sitemap-rankings-info-client.js +0 -12
  808. package/src/types/portal-map.js +0 -1
  809. package/src/types/portal-type.js +0 -8
  810. package/src/types.js +0 -1
  811. package/test.d.ts +0 -1
  812. package/test.js +0 -7
  813. package/vitest.config.d.ts +0 -2
  814. package/vitest.config.js +0 -9
  815. package/vitest.setup.d.ts +0 -1
  816. package/vitest.setup.js +0 -4
  817. /package/{src → bin/src}/exceptions/bad-request-exception.d.ts +0 -0
  818. /package/{src → bin/src}/exceptions/client-exception.d.ts +0 -0
  819. /package/{src → bin/src}/exceptions/internal-server-exception.d.ts +0 -0
  820. /package/{src → bin/src}/exceptions/not-found-exception.d.ts +0 -0
  821. /package/{src → bin/src}/exceptions/property-not-available-exception.d.ts +0 -0
  822. /package/{src → bin/src}/factories/DateFactory.d.ts +0 -0
  823. /package/{src → bin/src}/i-class-factory.d.ts +0 -0
  824. /package/{src → bin/src}/i-model-description.d.ts +0 -0
  825. /package/{src → bin/src}/model-client.d.ts +0 -0
  826. /package/{src → bin/src}/model-factory.d.ts +0 -0
  827. /package/{src → bin/src}/models/bestfit-programme/bestfit-programme-client.d.ts +0 -0
  828. /package/{src → bin/src}/models/bestfit-programme/i-best-fit-programme.d.ts +0 -0
  829. /package/{src → bin/src}/models/bestfit-programme/i-city.d.ts +0 -0
  830. /package/{src → bin/src}/models/bestfit-programme/i-living-cost.d.ts +0 -0
  831. /package/{src → bin/src}/models/common/i-city.d.ts +0 -0
  832. /package/{src → bin/src}/models/common/i-country.d.ts +0 -0
  833. /package/{src → bin/src}/models/common/i-english-requirements.d.ts +0 -0
  834. /package/{src/models/bestfit-programme → bin/src/models/common}/i-g-p-a-requirement.d.ts +0 -0
  835. /package/{src → bin/src}/models/common/i-internal-link.d.ts +0 -0
  836. /package/{src → bin/src}/models/common/i-logo.d.ts +0 -0
  837. /package/{src/models/bestfit-programme → bin/src/models/common}/i-tuition-fee.d.ts +0 -0
  838. /package/{src → bin/src}/models/copilot-country/copilot-country-client.d.ts +0 -0
  839. /package/{src → bin/src}/models/copilot-country/i-copilot-country.d.ts +0 -0
  840. /package/{src → bin/src}/models/copilot-country/i-copilot-ranking-card.d.ts +0 -0
  841. /package/{src → bin/src}/models/copilot-programme/copilot-programme-client.d.ts +0 -0
  842. /package/{src → bin/src}/models/copilot-programme/i-copilot-programme.d.ts +0 -0
  843. /package/{src → bin/src}/models/customerio-organisation/customerio-organisation-client.d.ts +0 -0
  844. /package/{src → bin/src}/models/customerio-organisation/i-customer-io-organisation.d.ts +0 -0
  845. /package/{src → bin/src}/models/customerio-organisation/i-review.d.ts +0 -0
  846. /package/{src → bin/src}/models/customerio-programme/customerio-programme-client.d.ts +0 -0
  847. /package/{src → bin/src}/models/customerio-programme/i-customer-io-programme.d.ts +0 -0
  848. /package/{src/models/copilot-programme → bin/src/models/customerio-programme}/i-internal-link.d.ts +0 -0
  849. /package/{src → bin/src}/models/organisation-card/i-ranking-discipline.d.ts +0 -0
  850. /package/{src → bin/src}/models/organisation-card/organisation-card-client.d.ts +0 -0
  851. /package/{src → bin/src}/models/organisation-for-search/i-organisation-for-search.d.ts +0 -0
  852. /package/{src → bin/src}/models/organisation-for-search/public-organisation-for-search-client.d.ts +0 -0
  853. /package/{src → bin/src}/models/organisation-search-document/i-organisation-search-document.d.ts +0 -0
  854. /package/{src → bin/src}/models/organisation-search-document/organisation-search-document-client.d.ts +0 -0
  855. /package/{src → bin/src}/models/programme-card/i-click-tracking-data.d.ts +0 -0
  856. /package/{src → bin/src}/models/programme-card/i-cover.d.ts +0 -0
  857. /package/{src/models/copilot-programme → bin/src/models/programme-card}/i-deadline.d.ts +0 -0
  858. /package/{src → bin/src}/models/programme-card/i-duration.d.ts +0 -0
  859. /package/{src/models/customerio-programme → bin/src/models/programme-card}/i-internal-link.d.ts +0 -0
  860. /package/{src/models/copilot-programme → bin/src/models/programme-card}/i-link.d.ts +0 -0
  861. /package/{src → bin/src}/models/programme-card/i-location.d.ts +0 -0
  862. /package/{src/models/customerio-programme → bin/src/models/programme-card}/i-logo.d.ts +0 -0
  863. /package/{src → bin/src}/models/programme-card/i-optional-link.d.ts +0 -0
  864. /package/{src/models/copilot-programme → bin/src/models/programme-card}/i-start-date.d.ts +0 -0
  865. /package/{src/models/copilot-programme → bin/src/models/programme-card}/i-timing.d.ts +0 -0
  866. /package/{src → bin/src}/models/programme-card/i-tracked-link.d.ts +0 -0
  867. /package/{src → bin/src}/models/programme-card/i-tracking.d.ts +0 -0
  868. /package/{src/models/common → bin/src/models/programme-card}/i-tuition-fee.d.ts +0 -0
  869. /package/{src → bin/src}/models/programme-card/programme-card-client.d.ts +0 -0
  870. /package/{src → bin/src}/models/ranking-cards/i-ranking.d.ts +0 -0
  871. /package/{src/models/scholarship-card-v2 → bin/src/models/scholarship-card}/i-scholarship-card.d.ts +0 -0
  872. /package/{src → bin/src}/models/scholarship-card/public-scholarship-card-client.d.ts +0 -0
  873. /package/{src/models/scholarship-card-v2 → bin/src/models/scholarship-card}/scholarship-card-v2-client.d.ts +0 -0
  874. /package/{src → bin/src}/models/scholarship-search-document/i-scholarship-search-document.d.ts +0 -0
  875. /package/{src → bin/src}/models/scholarship-search-document/scholarship-search-document-client.d.ts +0 -0
  876. /package/{src → bin/src}/models/search-discipline/i-search-discipline.d.ts +0 -0
  877. /package/{src → bin/src}/models/search-discipline/public-search-discipline-client.d.ts +0 -0
  878. /package/{src/models/copilot-programme → bin/src/models/search-projection}/i-geo-targeting-configuration.d.ts +0 -0
  879. /package/{src/models/copilot-programme → bin/src/models/search-projection}/i-geo-targeting-values.d.ts +0 -0
  880. /package/{src → bin/src}/models/search-projection/i-organisation-values.d.ts +0 -0
  881. /package/{src → bin/src}/models/search-projection/i-premium-values.d.ts +0 -0
  882. /package/{src → bin/src}/models/search-projection/i-search-projection.d.ts +0 -0
  883. /package/{src/models/copilot-programme → bin/src/models/search-projection}/i-tuition-values.d.ts +0 -0
  884. /package/{src → bin/src}/models/search-projection/search-projection-client.d.ts +0 -0
  885. /package/{src → bin/src}/models/sitemap-articles-info/i-sitemap-article-info.d.ts +0 -0
  886. /package/{src → bin/src}/models/sitemap-articles-info/sitemap-articles-info-client.d.ts +0 -0
  887. /package/{src → bin/src}/models/sitemap-cities-info/i-sitemap-city-info.d.ts +0 -0
  888. /package/{src → bin/src}/models/sitemap-cities-info/sitemap-cities-info-client.d.ts +0 -0
  889. /package/{src → bin/src}/models/sitemap-countries-info/i-sitemap-country-info.d.ts +0 -0
  890. /package/{src → bin/src}/models/sitemap-countries-info/sitemap-countries-info-client.d.ts +0 -0
  891. /package/{src → bin/src}/models/sitemap-country-degree-info/i-degree-info.d.ts +0 -0
  892. /package/{src → bin/src}/models/sitemap-country-degree-info/i-sitemap-country-degree-info.d.ts +0 -0
  893. /package/{src → bin/src}/models/sitemap-country-degree-info/sitemap-country-degree-info-client.d.ts +0 -0
  894. /package/{src → bin/src}/models/sitemap-disciplines-info/i-sitemap-discipline-info.d.ts +0 -0
  895. /package/{src → bin/src}/models/sitemap-disciplines-info/sitemap-disciplines-info-client.d.ts +0 -0
  896. /package/{src → bin/src}/models/sitemap-organisations-info/i-sitemap-organisation-info.d.ts +0 -0
  897. /package/{src → bin/src}/models/sitemap-organisations-info/sitemap-organisations-info-client.d.ts +0 -0
  898. /package/{src → bin/src}/models/sitemap-programme-info/i-sitemap-programme-info.d.ts +0 -0
  899. /package/{src → bin/src}/models/sitemap-programme-info/sitemap-programme-info-client.d.ts +0 -0
  900. /package/{src → bin/src}/models/sitemap-rankings-info/i-sitemap-rankings-info.d.ts +0 -0
  901. /package/{src → bin/src}/models/sitemap-rankings-info/sitemap-rankings-info-client.d.ts +0 -0
  902. /package/{src → bin/src}/types/portal-map.d.ts +0 -0
  903. /package/{src → bin/src}/types/portal-type.d.ts +0 -0
  904. /package/{src → bin/src}/types.d.ts +0 -0
  905. /package/src/exceptions/{bad-request-exception.js → bad-request-exception.ts} +0 -0
  906. /package/src/exceptions/{client-exception.js → client-exception.ts} +0 -0
  907. /package/src/exceptions/{internal-server-exception.js → internal-server-exception.ts} +0 -0
  908. /package/src/exceptions/{not-found-exception.js → not-found-exception.ts} +0 -0
  909. /package/src/exceptions/{property-not-available-exception.js → property-not-available-exception.ts} +0 -0
@@ -0,0 +1,1065 @@
1
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
+ // versions:
3
+ // protoc-gen-ts_proto v2.7.5
4
+ // protoc v3.12.4
5
+ // source: Organisation.proto
6
+
7
+ /* eslint-disable */
8
+ import { Area } from "./Area";
9
+ import { CommercialEntity } from "./CommercialEntity";
10
+ import { Degree } from "./Degree";
11
+ import { Discipline } from "./Discipline";
12
+ import { File } from "./File";
13
+ import { Link } from "./Link";
14
+ import { OrganisationRanking } from "./OrganisationRanking";
15
+ import { Ranking } from "./Ranking";
16
+ import { Review } from "./Review";
17
+ import { ReviewRating } from "./ReviewRating";
18
+ import { SocialLink } from "./SocialLink";
19
+ import { Unibuddy } from "./Unibuddy";
20
+
21
+ export interface Organisation {
22
+ id: number;
23
+ topOrganisationId: number;
24
+ name?: string | undefined;
25
+ amountOfProgrammes: number;
26
+ logo: File | undefined;
27
+ hasLogo: boolean;
28
+ squareLogo: File | undefined;
29
+ hasSquareLogo: boolean;
30
+ organisationLink: Link | undefined;
31
+ summary?: string | undefined;
32
+ isPublished: boolean;
33
+ longDescription?: string | undefined;
34
+ shortDescription?: string | undefined;
35
+ description?: string | undefined;
36
+ trafficSourceForwardingMethod?: string | undefined;
37
+ links: SocialLink[];
38
+ promo?: string | undefined;
39
+ canonical?: string | undefined;
40
+ aboutHistory?: string | undefined;
41
+ aboutEducation?: string | undefined;
42
+ aboutResearch?: string | undefined;
43
+ aboutCareer?: string | undefined;
44
+ servicesHousing?: string | undefined;
45
+ servicesStudent?: string | undefined;
46
+ servicesICT?: string | undefined;
47
+ servicesMedical?: string | undefined;
48
+ studentLifeCampus?: string | undefined;
49
+ cover: File | undefined;
50
+ longitude?: string | undefined;
51
+ latitude?: string | undefined;
52
+ reasons: string[];
53
+ city: City | undefined;
54
+ mediaFiles: File[];
55
+ students?: number | undefined;
56
+ studentsInternational?: number | undefined;
57
+ academicStaff?: number | undefined;
58
+ femaleStudents?: number | undefined;
59
+ fundingType?: string | undefined;
60
+ servicesLibrary?: string | undefined;
61
+ studentLifeSports?: string | undefined;
62
+ studentLifeAssociations?: string | undefined;
63
+ hasFiles: boolean;
64
+ studyCountPerPortal: StudyCountPerPortal[];
65
+ rankings: { [key: number]: Ranking };
66
+ services?: string | undefined;
67
+ accreditation?: string | undefined;
68
+ topOrganisation: Organisation | undefined;
69
+ venues: Venue[];
70
+ linksHomepage: SocialLink[];
71
+ studentLife?: string | undefined;
72
+ isOnlineOnly: boolean;
73
+ research: string;
74
+ reviews: ReviewRating | undefined;
75
+ mostFavorableRanking: OrganisationRanking | undefined;
76
+ universityReviews: Review[];
77
+ isGSSAWinner: boolean;
78
+ isPublicFunding: boolean;
79
+ isNonProfitFunding: boolean;
80
+ isForProfitFunding: boolean;
81
+ mostPositiveUniversityReview: Review | undefined;
82
+ country: Country | undefined;
83
+ mostCriticalUniversityReview: Review | undefined;
84
+ unibuddy: Unibuddy | undefined;
85
+ canBeIndexed: boolean;
86
+ isTopOrganisation: boolean;
87
+ persistGlParamRefLink: boolean;
88
+ canShowReferralRegistrationLock: boolean;
89
+ virtualPath: string;
90
+ virtualName: string;
91
+ commercialEntity: CommercialEntity | undefined;
92
+ canShowAon: boolean;
93
+ reviewCount: number;
94
+ globalMetaRankingPosition?: number | undefined;
95
+ countryMetaRankingPosition?: number | undefined;
96
+ globalMetaRankingPositionPercentage?: string | undefined;
97
+ countryMetaRankingPositionPercentage?: string | undefined;
98
+ }
99
+
100
+ export interface Organisation_RankingsEntry {
101
+ key: number;
102
+ value: Ranking | undefined;
103
+ }
104
+
105
+ export interface StudyCountPerPortal {
106
+ portal: string;
107
+ studyCount: number;
108
+ }
109
+
110
+ export interface Venue {
111
+ id: number;
112
+ cities: City[];
113
+ }
114
+
115
+ export interface City {
116
+ id: number;
117
+ name?: string | undefined;
118
+ amountOfProgrammes: number;
119
+ cityLink: Link | undefined;
120
+ organisations: Organisation[];
121
+ liveIn?: string | undefined;
122
+ atmosphere?: string | undefined;
123
+ climate?: string | undefined;
124
+ accommodationCosts?: string | undefined;
125
+ livingCostsDescription?: string | undefined;
126
+ students?: number | undefined;
127
+ population?: number | undefined;
128
+ livingCostsMin?: number | undefined;
129
+ livingCostsMax?: number | undefined;
130
+ currency?: string | undefined;
131
+ studyIn?: string | undefined;
132
+ country: Country | undefined;
133
+ opportunities?: string | undefined;
134
+ longitude?: string | undefined;
135
+ latitude?: string | undefined;
136
+ organisationCount: number;
137
+ hasOrganisations: boolean;
138
+ summary?: string | undefined;
139
+ area: Area | undefined;
140
+ hasCover: boolean;
141
+ cover: File | undefined;
142
+ canBeIndexed: boolean;
143
+ }
144
+
145
+ export interface Country {
146
+ id: number;
147
+ name: string;
148
+ isPremium: boolean;
149
+ homepageLink: string;
150
+ countryLink: Link | undefined;
151
+ whyStudyHere?: string | undefined;
152
+ practicalInfo?: string | undefined;
153
+ mayShowGallery: boolean;
154
+ photosAndVideos: File[];
155
+ researchCareer?: string | undefined;
156
+ career?: string | undefined;
157
+ studentLife?: string | undefined;
158
+ regulations?: string | undefined;
159
+ description?: string | undefined;
160
+ longDescription?: string | undefined;
161
+ whyStudyIn?: string | undefined;
162
+ culture?: string | undefined;
163
+ chooseUniversity?: string | undefined;
164
+ tuitionFees?: string | undefined;
165
+ studyForFree?: string | undefined;
166
+ scholarships?: string | undefined;
167
+ applyForUniversity?: string | undefined;
168
+ languageRequirements?: string | undefined;
169
+ studentHousing?: string | undefined;
170
+ livingCost?: string | undefined;
171
+ workAndStudy?: string | undefined;
172
+ isSafe?: string | undefined;
173
+ studentInsurance?: string | undefined;
174
+ studentSupport?: string | undefined;
175
+ studentOrganisations?: string | undefined;
176
+ onBudget?: string | undefined;
177
+ learningLanguage?: string | undefined;
178
+ expatLiving?: string | undefined;
179
+ immigrationRules?: string | undefined;
180
+ jobOpportunities?: string | undefined;
181
+ continueStudies?: string | undefined;
182
+ faqs?: string | undefined;
183
+ hasInstitutes: boolean;
184
+ cities: City[];
185
+ numberOfStudents?: number | undefined;
186
+ studyIn?: string | undefined;
187
+ research?: string | undefined;
188
+ inhabitants?: number | undefined;
189
+ officialLanguages: string[];
190
+ internationalStudents?: number | undefined;
191
+ academicStartDateTime?: number | undefined;
192
+ academicEndDateTime?: number | undefined;
193
+ disciplineCards: Discipline[];
194
+ rankedInstitutesCount: number;
195
+ isoCode: string;
196
+ programmeCount: number;
197
+ demonym?: string | undefined;
198
+ canShowDemonym: boolean;
199
+ hasDegrees: boolean;
200
+ degrees: Degree[];
201
+ allDegrees: Degree[];
202
+ isCountryUnitedStates: boolean;
203
+ title: string;
204
+ image: File | undefined;
205
+ virtualPath: string;
206
+ hasFiles: boolean;
207
+ mayShowIELTS: boolean;
208
+ summary?: string | undefined;
209
+ canBeIndexed: boolean;
210
+ areaPresent: boolean;
211
+ }
212
+
213
+ export const Organisation: MessageFns<Organisation> = {
214
+ fromJSON(object: any): Organisation {
215
+ return {
216
+ id: isSet(object.id) ? globalThis.Number(object.id) : 0,
217
+ topOrganisationId: isSet(object.topOrganisationId) ? globalThis.Number(object.topOrganisationId) : 0,
218
+ name: isSet(object.name) ? globalThis.String(object.name) : undefined,
219
+ amountOfProgrammes: isSet(object.amountOfProgrammes) ? globalThis.Number(object.amountOfProgrammes) : 0,
220
+ logo: isSet(object.logo) ? File.fromJSON(object.logo) : undefined,
221
+ hasLogo: isSet(object.hasLogo) ? globalThis.Boolean(object.hasLogo) : false,
222
+ squareLogo: isSet(object.squareLogo) ? File.fromJSON(object.squareLogo) : undefined,
223
+ hasSquareLogo: isSet(object.hasSquareLogo) ? globalThis.Boolean(object.hasSquareLogo) : false,
224
+ organisationLink: isSet(object.organisationLink) ? Link.fromJSON(object.organisationLink) : undefined,
225
+ summary: isSet(object.summary) ? globalThis.String(object.summary) : undefined,
226
+ isPublished: isSet(object.isPublished) ? globalThis.Boolean(object.isPublished) : false,
227
+ longDescription: isSet(object.longDescription) ? globalThis.String(object.longDescription) : undefined,
228
+ shortDescription: isSet(object.shortDescription) ? globalThis.String(object.shortDescription) : undefined,
229
+ description: isSet(object.description) ? globalThis.String(object.description) : undefined,
230
+ trafficSourceForwardingMethod: isSet(object.trafficSourceForwardingMethod)
231
+ ? globalThis.String(object.trafficSourceForwardingMethod)
232
+ : undefined,
233
+ links: globalThis.Array.isArray(object?.links)
234
+ ? object.links.map((e: any) => SocialLink.fromJSON(e))
235
+ : [],
236
+ promo: isSet(object.promo) ? globalThis.String(object.promo) : undefined,
237
+ canonical: isSet(object.canonical) ? globalThis.String(object.canonical) : undefined,
238
+ aboutHistory: isSet(object.aboutHistory) ? globalThis.String(object.aboutHistory) : undefined,
239
+ aboutEducation: isSet(object.aboutEducation) ? globalThis.String(object.aboutEducation) : undefined,
240
+ aboutResearch: isSet(object.aboutResearch) ? globalThis.String(object.aboutResearch) : undefined,
241
+ aboutCareer: isSet(object.aboutCareer) ? globalThis.String(object.aboutCareer) : undefined,
242
+ servicesHousing: isSet(object.servicesHousing) ? globalThis.String(object.servicesHousing) : undefined,
243
+ servicesStudent: isSet(object.servicesStudent) ? globalThis.String(object.servicesStudent) : undefined,
244
+ servicesICT: isSet(object.servicesICT) ? globalThis.String(object.servicesICT) : undefined,
245
+ servicesMedical: isSet(object.servicesMedical) ? globalThis.String(object.servicesMedical) : undefined,
246
+ studentLifeCampus: isSet(object.studentLifeCampus) ? globalThis.String(object.studentLifeCampus) : undefined,
247
+ cover: isSet(object.cover) ? File.fromJSON(object.cover) : undefined,
248
+ longitude: isSet(object.longitude) ? globalThis.String(object.longitude) : undefined,
249
+ latitude: isSet(object.latitude) ? globalThis.String(object.latitude) : undefined,
250
+ reasons: globalThis.Array.isArray(object?.reasons) ? object.reasons.map((e: any) => globalThis.String(e)) : [],
251
+ city: isSet(object.city) ? City.fromJSON(object.city) : undefined,
252
+ mediaFiles: globalThis.Array.isArray(object?.mediaFiles)
253
+ ? object.mediaFiles.map((e: any) => File.fromJSON(e))
254
+ : [],
255
+ students: isSet(object.students) ? globalThis.Number(object.students) : undefined,
256
+ studentsInternational: isSet(object.studentsInternational)
257
+ ? globalThis.Number(object.studentsInternational)
258
+ : undefined,
259
+ academicStaff: isSet(object.academicStaff) ? globalThis.Number(object.academicStaff) : undefined,
260
+ femaleStudents: isSet(object.femaleStudents) ? globalThis.Number(object.femaleStudents) : undefined,
261
+ fundingType: isSet(object.fundingType) ? globalThis.String(object.fundingType) : undefined,
262
+ servicesLibrary: isSet(object.servicesLibrary) ? globalThis.String(object.servicesLibrary) : undefined,
263
+ studentLifeSports: isSet(object.studentLifeSports) ? globalThis.String(object.studentLifeSports) : undefined,
264
+ studentLifeAssociations: isSet(object.studentLifeAssociations)
265
+ ? globalThis.String(object.studentLifeAssociations)
266
+ : undefined,
267
+ hasFiles: isSet(object.hasFiles) ? globalThis.Boolean(object.hasFiles) : false,
268
+ studyCountPerPortal: globalThis.Array.isArray(object?.studyCountPerPortal)
269
+ ? object.studyCountPerPortal.map((e: any) => StudyCountPerPortal.fromJSON(e))
270
+ : [],
271
+ rankings: isObject(object.rankings)
272
+ ? Object.entries(object.rankings).reduce<{ [key: number]: Ranking }>((acc, [key, value]) => {
273
+ acc[globalThis.Number(key)] = Ranking.fromJSON(value);
274
+ return acc;
275
+ }, {})
276
+ : {},
277
+ services: isSet(object.services) ? globalThis.String(object.services) : undefined,
278
+ accreditation: isSet(object.accreditation) ? globalThis.String(object.accreditation) : undefined,
279
+ topOrganisation: isSet(object.topOrganisation) ? Organisation.fromJSON(object.topOrganisation) : undefined,
280
+ venues: globalThis.Array.isArray(object?.venues)
281
+ ? object.venues.map((e: any) => Venue.fromJSON(e))
282
+ : [],
283
+ linksHomepage: globalThis.Array.isArray(object?.linksHomepage)
284
+ ? object.linksHomepage.map((e: any) => SocialLink.fromJSON(e))
285
+ : [],
286
+ studentLife: isSet(object.studentLife) ? globalThis.String(object.studentLife) : undefined,
287
+ isOnlineOnly: isSet(object.isOnlineOnly) ? globalThis.Boolean(object.isOnlineOnly) : false,
288
+ research: isSet(object.research) ? globalThis.String(object.research) : "",
289
+ reviews: isSet(object.reviews) ? ReviewRating.fromJSON(object.reviews) : undefined,
290
+ mostFavorableRanking: isSet(object.mostFavorableRanking)
291
+ ? OrganisationRanking.fromJSON(object.mostFavorableRanking)
292
+ : undefined,
293
+ universityReviews: globalThis.Array.isArray(object?.universityReviews)
294
+ ? object.universityReviews.map((e: any) => Review.fromJSON(e))
295
+ : [],
296
+ isGSSAWinner: isSet(object.isGSSAWinner) ? globalThis.Boolean(object.isGSSAWinner) : false,
297
+ isPublicFunding: isSet(object.isPublicFunding) ? globalThis.Boolean(object.isPublicFunding) : false,
298
+ isNonProfitFunding: isSet(object.isNonProfitFunding) ? globalThis.Boolean(object.isNonProfitFunding) : false,
299
+ isForProfitFunding: isSet(object.isForProfitFunding) ? globalThis.Boolean(object.isForProfitFunding) : false,
300
+ mostPositiveUniversityReview: isSet(object.mostPositiveUniversityReview)
301
+ ? Review.fromJSON(object.mostPositiveUniversityReview)
302
+ : undefined,
303
+ country: isSet(object.country) ? Country.fromJSON(object.country) : undefined,
304
+ mostCriticalUniversityReview: isSet(object.mostCriticalUniversityReview)
305
+ ? Review.fromJSON(object.mostCriticalUniversityReview)
306
+ : undefined,
307
+ unibuddy: isSet(object.unibuddy) ? Unibuddy.fromJSON(object.unibuddy) : undefined,
308
+ canBeIndexed: isSet(object.canBeIndexed) ? globalThis.Boolean(object.canBeIndexed) : false,
309
+ isTopOrganisation: isSet(object.isTopOrganisation) ? globalThis.Boolean(object.isTopOrganisation) : false,
310
+ persistGlParamRefLink: isSet(object.persistGlParamRefLink)
311
+ ? globalThis.Boolean(object.persistGlParamRefLink)
312
+ : false,
313
+ canShowReferralRegistrationLock: isSet(object.canShowReferralRegistrationLock)
314
+ ? globalThis.Boolean(object.canShowReferralRegistrationLock)
315
+ : false,
316
+ virtualPath: isSet(object.virtualPath) ? globalThis.String(object.virtualPath) : "",
317
+ virtualName: isSet(object.virtualName) ? globalThis.String(object.virtualName) : "",
318
+ commercialEntity: isSet(object.commercialEntity) ? CommercialEntity.fromJSON(object.commercialEntity) : undefined,
319
+ canShowAon: isSet(object.canShowAon) ? globalThis.Boolean(object.canShowAon) : false,
320
+ reviewCount: isSet(object.reviewCount) ? globalThis.Number(object.reviewCount) : 0,
321
+ globalMetaRankingPosition: isSet(object.globalMetaRankingPosition)
322
+ ? globalThis.Number(object.globalMetaRankingPosition)
323
+ : undefined,
324
+ countryMetaRankingPosition: isSet(object.countryMetaRankingPosition)
325
+ ? globalThis.Number(object.countryMetaRankingPosition)
326
+ : undefined,
327
+ globalMetaRankingPositionPercentage: isSet(object.globalMetaRankingPositionPercentage)
328
+ ? globalThis.String(object.globalMetaRankingPositionPercentage)
329
+ : undefined,
330
+ countryMetaRankingPositionPercentage: isSet(object.countryMetaRankingPositionPercentage)
331
+ ? globalThis.String(object.countryMetaRankingPositionPercentage)
332
+ : undefined,
333
+ };
334
+ },
335
+
336
+ toJSON(message: Organisation): unknown {
337
+ const obj: any = {};
338
+ if (message.id !== 0) {
339
+ obj.id = Math.round(message.id);
340
+ }
341
+ if (message.topOrganisationId !== 0) {
342
+ obj.topOrganisationId = Math.round(message.topOrganisationId);
343
+ }
344
+ if (message.name !== undefined) {
345
+ obj.name = message.name;
346
+ }
347
+ if (message.amountOfProgrammes !== 0) {
348
+ obj.amountOfProgrammes = Math.round(message.amountOfProgrammes);
349
+ }
350
+ if (message.logo !== undefined) {
351
+ obj.logo = File.toJSON(message.logo);
352
+ }
353
+ if (message.hasLogo !== false) {
354
+ obj.hasLogo = message.hasLogo;
355
+ }
356
+ if (message.squareLogo !== undefined) {
357
+ obj.squareLogo = File.toJSON(message.squareLogo);
358
+ }
359
+ if (message.hasSquareLogo !== false) {
360
+ obj.hasSquareLogo = message.hasSquareLogo;
361
+ }
362
+ if (message.organisationLink !== undefined) {
363
+ obj.organisationLink = Link.toJSON(message.organisationLink);
364
+ }
365
+ if (message.summary !== undefined) {
366
+ obj.summary = message.summary;
367
+ }
368
+ if (message.isPublished !== false) {
369
+ obj.isPublished = message.isPublished;
370
+ }
371
+ if (message.longDescription !== undefined) {
372
+ obj.longDescription = message.longDescription;
373
+ }
374
+ if (message.shortDescription !== undefined) {
375
+ obj.shortDescription = message.shortDescription;
376
+ }
377
+ if (message.description !== undefined) {
378
+ obj.description = message.description;
379
+ }
380
+ if (message.trafficSourceForwardingMethod !== undefined) {
381
+ obj.trafficSourceForwardingMethod = message.trafficSourceForwardingMethod;
382
+ }
383
+ if (message.links?.length) {
384
+ obj.links = message.links.map((e) => SocialLink.toJSON(e));
385
+ }
386
+ if (message.promo !== undefined) {
387
+ obj.promo = message.promo;
388
+ }
389
+ if (message.canonical !== undefined) {
390
+ obj.canonical = message.canonical;
391
+ }
392
+ if (message.aboutHistory !== undefined) {
393
+ obj.aboutHistory = message.aboutHistory;
394
+ }
395
+ if (message.aboutEducation !== undefined) {
396
+ obj.aboutEducation = message.aboutEducation;
397
+ }
398
+ if (message.aboutResearch !== undefined) {
399
+ obj.aboutResearch = message.aboutResearch;
400
+ }
401
+ if (message.aboutCareer !== undefined) {
402
+ obj.aboutCareer = message.aboutCareer;
403
+ }
404
+ if (message.servicesHousing !== undefined) {
405
+ obj.servicesHousing = message.servicesHousing;
406
+ }
407
+ if (message.servicesStudent !== undefined) {
408
+ obj.servicesStudent = message.servicesStudent;
409
+ }
410
+ if (message.servicesICT !== undefined) {
411
+ obj.servicesICT = message.servicesICT;
412
+ }
413
+ if (message.servicesMedical !== undefined) {
414
+ obj.servicesMedical = message.servicesMedical;
415
+ }
416
+ if (message.studentLifeCampus !== undefined) {
417
+ obj.studentLifeCampus = message.studentLifeCampus;
418
+ }
419
+ if (message.cover !== undefined) {
420
+ obj.cover = File.toJSON(message.cover);
421
+ }
422
+ if (message.longitude !== undefined) {
423
+ obj.longitude = message.longitude;
424
+ }
425
+ if (message.latitude !== undefined) {
426
+ obj.latitude = message.latitude;
427
+ }
428
+ if (message.reasons?.length) {
429
+ obj.reasons = message.reasons;
430
+ }
431
+ if (message.city !== undefined) {
432
+ obj.city = City.toJSON(message.city);
433
+ }
434
+ if (message.mediaFiles?.length) {
435
+ obj.mediaFiles = message.mediaFiles.map((e) => File.toJSON(e));
436
+ }
437
+ if (message.students !== undefined) {
438
+ obj.students = Math.round(message.students);
439
+ }
440
+ if (message.studentsInternational !== undefined) {
441
+ obj.studentsInternational = Math.round(message.studentsInternational);
442
+ }
443
+ if (message.academicStaff !== undefined) {
444
+ obj.academicStaff = Math.round(message.academicStaff);
445
+ }
446
+ if (message.femaleStudents !== undefined) {
447
+ obj.femaleStudents = Math.round(message.femaleStudents);
448
+ }
449
+ if (message.fundingType !== undefined) {
450
+ obj.fundingType = message.fundingType;
451
+ }
452
+ if (message.servicesLibrary !== undefined) {
453
+ obj.servicesLibrary = message.servicesLibrary;
454
+ }
455
+ if (message.studentLifeSports !== undefined) {
456
+ obj.studentLifeSports = message.studentLifeSports;
457
+ }
458
+ if (message.studentLifeAssociations !== undefined) {
459
+ obj.studentLifeAssociations = message.studentLifeAssociations;
460
+ }
461
+ if (message.hasFiles !== false) {
462
+ obj.hasFiles = message.hasFiles;
463
+ }
464
+ if (message.studyCountPerPortal?.length) {
465
+ obj.studyCountPerPortal = message.studyCountPerPortal.map((e) => StudyCountPerPortal.toJSON(e));
466
+ }
467
+ if (message.rankings) {
468
+ const entries = Object.entries(message.rankings);
469
+ if (entries.length > 0) {
470
+ obj.rankings = {};
471
+ entries.forEach(([k, v]) => {
472
+ obj.rankings[k] = Ranking.toJSON(v);
473
+ });
474
+ }
475
+ }
476
+ if (message.services !== undefined) {
477
+ obj.services = message.services;
478
+ }
479
+ if (message.accreditation !== undefined) {
480
+ obj.accreditation = message.accreditation;
481
+ }
482
+ if (message.topOrganisation !== undefined) {
483
+ obj.topOrganisation = Organisation.toJSON(message.topOrganisation);
484
+ }
485
+ if (message.venues?.length) {
486
+ obj.venues = message.venues.map((e) => Venue.toJSON(e));
487
+ }
488
+ if (message.linksHomepage?.length) {
489
+ obj.linksHomepage = message.linksHomepage.map((e) => SocialLink.toJSON(e));
490
+ }
491
+ if (message.studentLife !== undefined) {
492
+ obj.studentLife = message.studentLife;
493
+ }
494
+ if (message.isOnlineOnly !== false) {
495
+ obj.isOnlineOnly = message.isOnlineOnly;
496
+ }
497
+ if (message.research !== "") {
498
+ obj.research = message.research;
499
+ }
500
+ if (message.reviews !== undefined) {
501
+ obj.reviews = ReviewRating.toJSON(message.reviews);
502
+ }
503
+ if (message.mostFavorableRanking !== undefined) {
504
+ obj.mostFavorableRanking = OrganisationRanking.toJSON(message.mostFavorableRanking);
505
+ }
506
+ if (message.universityReviews?.length) {
507
+ obj.universityReviews = message.universityReviews.map((e) => Review.toJSON(e));
508
+ }
509
+ if (message.isGSSAWinner !== false) {
510
+ obj.isGSSAWinner = message.isGSSAWinner;
511
+ }
512
+ if (message.isPublicFunding !== false) {
513
+ obj.isPublicFunding = message.isPublicFunding;
514
+ }
515
+ if (message.isNonProfitFunding !== false) {
516
+ obj.isNonProfitFunding = message.isNonProfitFunding;
517
+ }
518
+ if (message.isForProfitFunding !== false) {
519
+ obj.isForProfitFunding = message.isForProfitFunding;
520
+ }
521
+ if (message.mostPositiveUniversityReview !== undefined) {
522
+ obj.mostPositiveUniversityReview = Review.toJSON(message.mostPositiveUniversityReview);
523
+ }
524
+ if (message.country !== undefined) {
525
+ obj.country = Country.toJSON(message.country);
526
+ }
527
+ if (message.mostCriticalUniversityReview !== undefined) {
528
+ obj.mostCriticalUniversityReview = Review.toJSON(message.mostCriticalUniversityReview);
529
+ }
530
+ if (message.unibuddy !== undefined) {
531
+ obj.unibuddy = Unibuddy.toJSON(message.unibuddy);
532
+ }
533
+ if (message.canBeIndexed !== false) {
534
+ obj.canBeIndexed = message.canBeIndexed;
535
+ }
536
+ if (message.isTopOrganisation !== false) {
537
+ obj.isTopOrganisation = message.isTopOrganisation;
538
+ }
539
+ if (message.persistGlParamRefLink !== false) {
540
+ obj.persistGlParamRefLink = message.persistGlParamRefLink;
541
+ }
542
+ if (message.canShowReferralRegistrationLock !== false) {
543
+ obj.canShowReferralRegistrationLock = message.canShowReferralRegistrationLock;
544
+ }
545
+ if (message.virtualPath !== "") {
546
+ obj.virtualPath = message.virtualPath;
547
+ }
548
+ if (message.virtualName !== "") {
549
+ obj.virtualName = message.virtualName;
550
+ }
551
+ if (message.commercialEntity !== undefined) {
552
+ obj.commercialEntity = CommercialEntity.toJSON(message.commercialEntity);
553
+ }
554
+ if (message.canShowAon !== false) {
555
+ obj.canShowAon = message.canShowAon;
556
+ }
557
+ if (message.reviewCount !== 0) {
558
+ obj.reviewCount = Math.round(message.reviewCount);
559
+ }
560
+ if (message.globalMetaRankingPosition !== undefined) {
561
+ obj.globalMetaRankingPosition = Math.round(message.globalMetaRankingPosition);
562
+ }
563
+ if (message.countryMetaRankingPosition !== undefined) {
564
+ obj.countryMetaRankingPosition = Math.round(message.countryMetaRankingPosition);
565
+ }
566
+ if (message.globalMetaRankingPositionPercentage !== undefined) {
567
+ obj.globalMetaRankingPositionPercentage = message.globalMetaRankingPositionPercentage;
568
+ }
569
+ if (message.countryMetaRankingPositionPercentage !== undefined) {
570
+ obj.countryMetaRankingPositionPercentage = message.countryMetaRankingPositionPercentage;
571
+ }
572
+ return obj;
573
+ },
574
+ };
575
+
576
+ export const Organisation_RankingsEntry: MessageFns<Organisation_RankingsEntry> = {
577
+ fromJSON(object: any): Organisation_RankingsEntry {
578
+ return {
579
+ key: isSet(object.key) ? globalThis.Number(object.key) : 0,
580
+ value: isSet(object.value) ? Ranking.fromJSON(object.value) : undefined,
581
+ };
582
+ },
583
+
584
+ toJSON(message: Organisation_RankingsEntry): unknown {
585
+ const obj: any = {};
586
+ if (message.key !== 0) {
587
+ obj.key = Math.round(message.key);
588
+ }
589
+ if (message.value !== undefined) {
590
+ obj.value = Ranking.toJSON(message.value);
591
+ }
592
+ return obj;
593
+ },
594
+ };
595
+
596
+ export const StudyCountPerPortal: MessageFns<StudyCountPerPortal> = {
597
+ fromJSON(object: any): StudyCountPerPortal {
598
+ return {
599
+ portal: isSet(object.portal) ? globalThis.String(object.portal) : "",
600
+ studyCount: isSet(object.studyCount) ? globalThis.Number(object.studyCount) : 0,
601
+ };
602
+ },
603
+
604
+ toJSON(message: StudyCountPerPortal): unknown {
605
+ const obj: any = {};
606
+ if (message.portal !== "") {
607
+ obj.portal = message.portal;
608
+ }
609
+ if (message.studyCount !== 0) {
610
+ obj.studyCount = Math.round(message.studyCount);
611
+ }
612
+ return obj;
613
+ },
614
+ };
615
+
616
+ export const Venue: MessageFns<Venue> = {
617
+ fromJSON(object: any): Venue {
618
+ return {
619
+ id: isSet(object.id) ? globalThis.Number(object.id) : 0,
620
+ cities: globalThis.Array.isArray(object?.cities) ? object.cities.map((e: any) => City.fromJSON(e)) : [],
621
+ };
622
+ },
623
+
624
+ toJSON(message: Venue): unknown {
625
+ const obj: any = {};
626
+ if (message.id !== 0) {
627
+ obj.id = Math.round(message.id);
628
+ }
629
+ if (message.cities?.length) {
630
+ obj.cities = message.cities.map((e) => City.toJSON(e));
631
+ }
632
+ return obj;
633
+ },
634
+ };
635
+
636
+ export const City: MessageFns<City> = {
637
+ fromJSON(object: any): City {
638
+ return {
639
+ id: isSet(object.id) ? globalThis.Number(object.id) : 0,
640
+ name: isSet(object.name) ? globalThis.String(object.name) : undefined,
641
+ amountOfProgrammes: isSet(object.amountOfProgrammes) ? globalThis.Number(object.amountOfProgrammes) : 0,
642
+ cityLink: isSet(object.cityLink) ? Link.fromJSON(object.cityLink) : undefined,
643
+ organisations: globalThis.Array.isArray(object?.organisations)
644
+ ? object.organisations.map((e: any) => Organisation.fromJSON(e))
645
+ : [],
646
+ liveIn: isSet(object.liveIn) ? globalThis.String(object.liveIn) : undefined,
647
+ atmosphere: isSet(object.atmosphere) ? globalThis.String(object.atmosphere) : undefined,
648
+ climate: isSet(object.climate) ? globalThis.String(object.climate) : undefined,
649
+ accommodationCosts: isSet(object.accommodationCosts) ? globalThis.String(object.accommodationCosts) : undefined,
650
+ livingCostsDescription: isSet(object.livingCostsDescription)
651
+ ? globalThis.String(object.livingCostsDescription)
652
+ : undefined,
653
+ students: isSet(object.students) ? globalThis.Number(object.students) : undefined,
654
+ population: isSet(object.population) ? globalThis.Number(object.population) : undefined,
655
+ livingCostsMin: isSet(object.livingCostsMin) ? globalThis.Number(object.livingCostsMin) : undefined,
656
+ livingCostsMax: isSet(object.livingCostsMax) ? globalThis.Number(object.livingCostsMax) : undefined,
657
+ currency: isSet(object.currency) ? globalThis.String(object.currency) : undefined,
658
+ studyIn: isSet(object.studyIn) ? globalThis.String(object.studyIn) : undefined,
659
+ country: isSet(object.country) ? Country.fromJSON(object.country) : undefined,
660
+ opportunities: isSet(object.opportunities) ? globalThis.String(object.opportunities) : undefined,
661
+ longitude: isSet(object.longitude) ? globalThis.String(object.longitude) : undefined,
662
+ latitude: isSet(object.latitude) ? globalThis.String(object.latitude) : undefined,
663
+ organisationCount: isSet(object.organisationCount) ? globalThis.Number(object.organisationCount) : 0,
664
+ hasOrganisations: isSet(object.hasOrganisations) ? globalThis.Boolean(object.hasOrganisations) : false,
665
+ summary: isSet(object.summary) ? globalThis.String(object.summary) : undefined,
666
+ area: isSet(object.area) ? Area.fromJSON(object.area) : undefined,
667
+ hasCover: isSet(object.hasCover) ? globalThis.Boolean(object.hasCover) : false,
668
+ cover: isSet(object.cover) ? File.fromJSON(object.cover) : undefined,
669
+ canBeIndexed: isSet(object.canBeIndexed) ? globalThis.Boolean(object.canBeIndexed) : false,
670
+ };
671
+ },
672
+
673
+ toJSON(message: City): unknown {
674
+ const obj: any = {};
675
+ if (message.id !== 0) {
676
+ obj.id = Math.round(message.id);
677
+ }
678
+ if (message.name !== undefined) {
679
+ obj.name = message.name;
680
+ }
681
+ if (message.amountOfProgrammes !== 0) {
682
+ obj.amountOfProgrammes = Math.round(message.amountOfProgrammes);
683
+ }
684
+ if (message.cityLink !== undefined) {
685
+ obj.cityLink = Link.toJSON(message.cityLink);
686
+ }
687
+ if (message.organisations?.length) {
688
+ obj.organisations = message.organisations.map((e) => Organisation.toJSON(e));
689
+ }
690
+ if (message.liveIn !== undefined) {
691
+ obj.liveIn = message.liveIn;
692
+ }
693
+ if (message.atmosphere !== undefined) {
694
+ obj.atmosphere = message.atmosphere;
695
+ }
696
+ if (message.climate !== undefined) {
697
+ obj.climate = message.climate;
698
+ }
699
+ if (message.accommodationCosts !== undefined) {
700
+ obj.accommodationCosts = message.accommodationCosts;
701
+ }
702
+ if (message.livingCostsDescription !== undefined) {
703
+ obj.livingCostsDescription = message.livingCostsDescription;
704
+ }
705
+ if (message.students !== undefined) {
706
+ obj.students = Math.round(message.students);
707
+ }
708
+ if (message.population !== undefined) {
709
+ obj.population = Math.round(message.population);
710
+ }
711
+ if (message.livingCostsMin !== undefined) {
712
+ obj.livingCostsMin = Math.round(message.livingCostsMin);
713
+ }
714
+ if (message.livingCostsMax !== undefined) {
715
+ obj.livingCostsMax = Math.round(message.livingCostsMax);
716
+ }
717
+ if (message.currency !== undefined) {
718
+ obj.currency = message.currency;
719
+ }
720
+ if (message.studyIn !== undefined) {
721
+ obj.studyIn = message.studyIn;
722
+ }
723
+ if (message.country !== undefined) {
724
+ obj.country = Country.toJSON(message.country);
725
+ }
726
+ if (message.opportunities !== undefined) {
727
+ obj.opportunities = message.opportunities;
728
+ }
729
+ if (message.longitude !== undefined) {
730
+ obj.longitude = message.longitude;
731
+ }
732
+ if (message.latitude !== undefined) {
733
+ obj.latitude = message.latitude;
734
+ }
735
+ if (message.organisationCount !== 0) {
736
+ obj.organisationCount = Math.round(message.organisationCount);
737
+ }
738
+ if (message.hasOrganisations !== false) {
739
+ obj.hasOrganisations = message.hasOrganisations;
740
+ }
741
+ if (message.summary !== undefined) {
742
+ obj.summary = message.summary;
743
+ }
744
+ if (message.area !== undefined) {
745
+ obj.area = Area.toJSON(message.area);
746
+ }
747
+ if (message.hasCover !== false) {
748
+ obj.hasCover = message.hasCover;
749
+ }
750
+ if (message.cover !== undefined) {
751
+ obj.cover = File.toJSON(message.cover);
752
+ }
753
+ if (message.canBeIndexed !== false) {
754
+ obj.canBeIndexed = message.canBeIndexed;
755
+ }
756
+ return obj;
757
+ },
758
+ };
759
+
760
+ export const Country: MessageFns<Country> = {
761
+ fromJSON(object: any): Country {
762
+ return {
763
+ id: isSet(object.id) ? globalThis.Number(object.id) : 0,
764
+ name: isSet(object.name) ? globalThis.String(object.name) : "",
765
+ isPremium: isSet(object.isPremium) ? globalThis.Boolean(object.isPremium) : false,
766
+ homepageLink: isSet(object.homepageLink) ? globalThis.String(object.homepageLink) : "",
767
+ countryLink: isSet(object.countryLink) ? Link.fromJSON(object.countryLink) : undefined,
768
+ whyStudyHere: isSet(object.whyStudyHere) ? globalThis.String(object.whyStudyHere) : undefined,
769
+ practicalInfo: isSet(object.practicalInfo) ? globalThis.String(object.practicalInfo) : undefined,
770
+ mayShowGallery: isSet(object.mayShowGallery) ? globalThis.Boolean(object.mayShowGallery) : false,
771
+ photosAndVideos: globalThis.Array.isArray(object?.photosAndVideos)
772
+ ? object.photosAndVideos.map((e: any) => File.fromJSON(e))
773
+ : [],
774
+ researchCareer: isSet(object.researchCareer) ? globalThis.String(object.researchCareer) : undefined,
775
+ career: isSet(object.career) ? globalThis.String(object.career) : undefined,
776
+ studentLife: isSet(object.studentLife) ? globalThis.String(object.studentLife) : undefined,
777
+ regulations: isSet(object.regulations) ? globalThis.String(object.regulations) : undefined,
778
+ description: isSet(object.description) ? globalThis.String(object.description) : undefined,
779
+ longDescription: isSet(object.longDescription) ? globalThis.String(object.longDescription) : undefined,
780
+ whyStudyIn: isSet(object.whyStudyIn) ? globalThis.String(object.whyStudyIn) : undefined,
781
+ culture: isSet(object.culture) ? globalThis.String(object.culture) : undefined,
782
+ chooseUniversity: isSet(object.chooseUniversity) ? globalThis.String(object.chooseUniversity) : undefined,
783
+ tuitionFees: isSet(object.tuitionFees) ? globalThis.String(object.tuitionFees) : undefined,
784
+ studyForFree: isSet(object.studyForFree) ? globalThis.String(object.studyForFree) : undefined,
785
+ scholarships: isSet(object.scholarships) ? globalThis.String(object.scholarships) : undefined,
786
+ applyForUniversity: isSet(object.applyForUniversity) ? globalThis.String(object.applyForUniversity) : undefined,
787
+ languageRequirements: isSet(object.languageRequirements)
788
+ ? globalThis.String(object.languageRequirements)
789
+ : undefined,
790
+ studentHousing: isSet(object.studentHousing) ? globalThis.String(object.studentHousing) : undefined,
791
+ livingCost: isSet(object.livingCost) ? globalThis.String(object.livingCost) : undefined,
792
+ workAndStudy: isSet(object.workAndStudy) ? globalThis.String(object.workAndStudy) : undefined,
793
+ isSafe: isSet(object.isSafe) ? globalThis.String(object.isSafe) : undefined,
794
+ studentInsurance: isSet(object.studentInsurance) ? globalThis.String(object.studentInsurance) : undefined,
795
+ studentSupport: isSet(object.studentSupport) ? globalThis.String(object.studentSupport) : undefined,
796
+ studentOrganisations: isSet(object.studentOrganisations)
797
+ ? globalThis.String(object.studentOrganisations)
798
+ : undefined,
799
+ onBudget: isSet(object.onBudget) ? globalThis.String(object.onBudget) : undefined,
800
+ learningLanguage: isSet(object.learningLanguage) ? globalThis.String(object.learningLanguage) : undefined,
801
+ expatLiving: isSet(object.expatLiving) ? globalThis.String(object.expatLiving) : undefined,
802
+ immigrationRules: isSet(object.immigrationRules) ? globalThis.String(object.immigrationRules) : undefined,
803
+ jobOpportunities: isSet(object.jobOpportunities) ? globalThis.String(object.jobOpportunities) : undefined,
804
+ continueStudies: isSet(object.continueStudies) ? globalThis.String(object.continueStudies) : undefined,
805
+ faqs: isSet(object.faqs) ? globalThis.String(object.faqs) : undefined,
806
+ hasInstitutes: isSet(object.hasInstitutes) ? globalThis.Boolean(object.hasInstitutes) : false,
807
+ cities: globalThis.Array.isArray(object?.cities)
808
+ ? object.cities.map((e: any) => City.fromJSON(e))
809
+ : [],
810
+ numberOfStudents: isSet(object.numberOfStudents) ? globalThis.Number(object.numberOfStudents) : undefined,
811
+ studyIn: isSet(object.studyIn) ? globalThis.String(object.studyIn) : undefined,
812
+ research: isSet(object.research) ? globalThis.String(object.research) : undefined,
813
+ inhabitants: isSet(object.inhabitants) ? globalThis.Number(object.inhabitants) : undefined,
814
+ officialLanguages: globalThis.Array.isArray(object?.officialLanguages)
815
+ ? object.officialLanguages.map((e: any) => globalThis.String(e))
816
+ : [],
817
+ internationalStudents: isSet(object.internationalStudents)
818
+ ? globalThis.Number(object.internationalStudents)
819
+ : undefined,
820
+ academicStartDateTime: isSet(object.academicStartDateTime)
821
+ ? globalThis.Number(object.academicStartDateTime)
822
+ : undefined,
823
+ academicEndDateTime: isSet(object.academicEndDateTime)
824
+ ? globalThis.Number(object.academicEndDateTime)
825
+ : undefined,
826
+ disciplineCards: globalThis.Array.isArray(object?.disciplineCards)
827
+ ? object.disciplineCards.map((e: any) => Discipline.fromJSON(e))
828
+ : [],
829
+ rankedInstitutesCount: isSet(object.rankedInstitutesCount) ? globalThis.Number(object.rankedInstitutesCount) : 0,
830
+ isoCode: isSet(object.isoCode) ? globalThis.String(object.isoCode) : "",
831
+ programmeCount: isSet(object.programmeCount) ? globalThis.Number(object.programmeCount) : 0,
832
+ demonym: isSet(object.demonym) ? globalThis.String(object.demonym) : undefined,
833
+ canShowDemonym: isSet(object.canShowDemonym) ? globalThis.Boolean(object.canShowDemonym) : false,
834
+ hasDegrees: isSet(object.hasDegrees) ? globalThis.Boolean(object.hasDegrees) : false,
835
+ degrees: globalThis.Array.isArray(object?.degrees) ? object.degrees.map((e: any) => Degree.fromJSON(e)) : [],
836
+ allDegrees: globalThis.Array.isArray(object?.allDegrees)
837
+ ? object.allDegrees.map((e: any) => Degree.fromJSON(e))
838
+ : [],
839
+ isCountryUnitedStates: isSet(object.isCountryUnitedStates)
840
+ ? globalThis.Boolean(object.isCountryUnitedStates)
841
+ : false,
842
+ title: isSet(object.title) ? globalThis.String(object.title) : "",
843
+ image: isSet(object.image) ? File.fromJSON(object.image) : undefined,
844
+ virtualPath: isSet(object.virtualPath) ? globalThis.String(object.virtualPath) : "",
845
+ hasFiles: isSet(object.hasFiles) ? globalThis.Boolean(object.hasFiles) : false,
846
+ mayShowIELTS: isSet(object.mayShowIELTS) ? globalThis.Boolean(object.mayShowIELTS) : false,
847
+ summary: isSet(object.summary) ? globalThis.String(object.summary) : undefined,
848
+ canBeIndexed: isSet(object.canBeIndexed) ? globalThis.Boolean(object.canBeIndexed) : false,
849
+ areaPresent: isSet(object.areaPresent) ? globalThis.Boolean(object.areaPresent) : false,
850
+ };
851
+ },
852
+
853
+ toJSON(message: Country): unknown {
854
+ const obj: any = {};
855
+ if (message.id !== 0) {
856
+ obj.id = Math.round(message.id);
857
+ }
858
+ if (message.name !== "") {
859
+ obj.name = message.name;
860
+ }
861
+ if (message.isPremium !== false) {
862
+ obj.isPremium = message.isPremium;
863
+ }
864
+ if (message.homepageLink !== "") {
865
+ obj.homepageLink = message.homepageLink;
866
+ }
867
+ if (message.countryLink !== undefined) {
868
+ obj.countryLink = Link.toJSON(message.countryLink);
869
+ }
870
+ if (message.whyStudyHere !== undefined) {
871
+ obj.whyStudyHere = message.whyStudyHere;
872
+ }
873
+ if (message.practicalInfo !== undefined) {
874
+ obj.practicalInfo = message.practicalInfo;
875
+ }
876
+ if (message.mayShowGallery !== false) {
877
+ obj.mayShowGallery = message.mayShowGallery;
878
+ }
879
+ if (message.photosAndVideos?.length) {
880
+ obj.photosAndVideos = message.photosAndVideos.map((e) => File.toJSON(e));
881
+ }
882
+ if (message.researchCareer !== undefined) {
883
+ obj.researchCareer = message.researchCareer;
884
+ }
885
+ if (message.career !== undefined) {
886
+ obj.career = message.career;
887
+ }
888
+ if (message.studentLife !== undefined) {
889
+ obj.studentLife = message.studentLife;
890
+ }
891
+ if (message.regulations !== undefined) {
892
+ obj.regulations = message.regulations;
893
+ }
894
+ if (message.description !== undefined) {
895
+ obj.description = message.description;
896
+ }
897
+ if (message.longDescription !== undefined) {
898
+ obj.longDescription = message.longDescription;
899
+ }
900
+ if (message.whyStudyIn !== undefined) {
901
+ obj.whyStudyIn = message.whyStudyIn;
902
+ }
903
+ if (message.culture !== undefined) {
904
+ obj.culture = message.culture;
905
+ }
906
+ if (message.chooseUniversity !== undefined) {
907
+ obj.chooseUniversity = message.chooseUniversity;
908
+ }
909
+ if (message.tuitionFees !== undefined) {
910
+ obj.tuitionFees = message.tuitionFees;
911
+ }
912
+ if (message.studyForFree !== undefined) {
913
+ obj.studyForFree = message.studyForFree;
914
+ }
915
+ if (message.scholarships !== undefined) {
916
+ obj.scholarships = message.scholarships;
917
+ }
918
+ if (message.applyForUniversity !== undefined) {
919
+ obj.applyForUniversity = message.applyForUniversity;
920
+ }
921
+ if (message.languageRequirements !== undefined) {
922
+ obj.languageRequirements = message.languageRequirements;
923
+ }
924
+ if (message.studentHousing !== undefined) {
925
+ obj.studentHousing = message.studentHousing;
926
+ }
927
+ if (message.livingCost !== undefined) {
928
+ obj.livingCost = message.livingCost;
929
+ }
930
+ if (message.workAndStudy !== undefined) {
931
+ obj.workAndStudy = message.workAndStudy;
932
+ }
933
+ if (message.isSafe !== undefined) {
934
+ obj.isSafe = message.isSafe;
935
+ }
936
+ if (message.studentInsurance !== undefined) {
937
+ obj.studentInsurance = message.studentInsurance;
938
+ }
939
+ if (message.studentSupport !== undefined) {
940
+ obj.studentSupport = message.studentSupport;
941
+ }
942
+ if (message.studentOrganisations !== undefined) {
943
+ obj.studentOrganisations = message.studentOrganisations;
944
+ }
945
+ if (message.onBudget !== undefined) {
946
+ obj.onBudget = message.onBudget;
947
+ }
948
+ if (message.learningLanguage !== undefined) {
949
+ obj.learningLanguage = message.learningLanguage;
950
+ }
951
+ if (message.expatLiving !== undefined) {
952
+ obj.expatLiving = message.expatLiving;
953
+ }
954
+ if (message.immigrationRules !== undefined) {
955
+ obj.immigrationRules = message.immigrationRules;
956
+ }
957
+ if (message.jobOpportunities !== undefined) {
958
+ obj.jobOpportunities = message.jobOpportunities;
959
+ }
960
+ if (message.continueStudies !== undefined) {
961
+ obj.continueStudies = message.continueStudies;
962
+ }
963
+ if (message.faqs !== undefined) {
964
+ obj.faqs = message.faqs;
965
+ }
966
+ if (message.hasInstitutes !== false) {
967
+ obj.hasInstitutes = message.hasInstitutes;
968
+ }
969
+ if (message.cities?.length) {
970
+ obj.cities = message.cities.map((e) => City.toJSON(e));
971
+ }
972
+ if (message.numberOfStudents !== undefined) {
973
+ obj.numberOfStudents = Math.round(message.numberOfStudents);
974
+ }
975
+ if (message.studyIn !== undefined) {
976
+ obj.studyIn = message.studyIn;
977
+ }
978
+ if (message.research !== undefined) {
979
+ obj.research = message.research;
980
+ }
981
+ if (message.inhabitants !== undefined) {
982
+ obj.inhabitants = Math.round(message.inhabitants);
983
+ }
984
+ if (message.officialLanguages?.length) {
985
+ obj.officialLanguages = message.officialLanguages;
986
+ }
987
+ if (message.internationalStudents !== undefined) {
988
+ obj.internationalStudents = Math.round(message.internationalStudents);
989
+ }
990
+ if (message.academicStartDateTime !== undefined) {
991
+ obj.academicStartDateTime = Math.round(message.academicStartDateTime);
992
+ }
993
+ if (message.academicEndDateTime !== undefined) {
994
+ obj.academicEndDateTime = Math.round(message.academicEndDateTime);
995
+ }
996
+ if (message.disciplineCards?.length) {
997
+ obj.disciplineCards = message.disciplineCards.map((e) => Discipline.toJSON(e));
998
+ }
999
+ if (message.rankedInstitutesCount !== 0) {
1000
+ obj.rankedInstitutesCount = Math.round(message.rankedInstitutesCount);
1001
+ }
1002
+ if (message.isoCode !== "") {
1003
+ obj.isoCode = message.isoCode;
1004
+ }
1005
+ if (message.programmeCount !== 0) {
1006
+ obj.programmeCount = Math.round(message.programmeCount);
1007
+ }
1008
+ if (message.demonym !== undefined) {
1009
+ obj.demonym = message.demonym;
1010
+ }
1011
+ if (message.canShowDemonym !== false) {
1012
+ obj.canShowDemonym = message.canShowDemonym;
1013
+ }
1014
+ if (message.hasDegrees !== false) {
1015
+ obj.hasDegrees = message.hasDegrees;
1016
+ }
1017
+ if (message.degrees?.length) {
1018
+ obj.degrees = message.degrees.map((e) => Degree.toJSON(e));
1019
+ }
1020
+ if (message.allDegrees?.length) {
1021
+ obj.allDegrees = message.allDegrees.map((e) => Degree.toJSON(e));
1022
+ }
1023
+ if (message.isCountryUnitedStates !== false) {
1024
+ obj.isCountryUnitedStates = message.isCountryUnitedStates;
1025
+ }
1026
+ if (message.title !== "") {
1027
+ obj.title = message.title;
1028
+ }
1029
+ if (message.image !== undefined) {
1030
+ obj.image = File.toJSON(message.image);
1031
+ }
1032
+ if (message.virtualPath !== "") {
1033
+ obj.virtualPath = message.virtualPath;
1034
+ }
1035
+ if (message.hasFiles !== false) {
1036
+ obj.hasFiles = message.hasFiles;
1037
+ }
1038
+ if (message.mayShowIELTS !== false) {
1039
+ obj.mayShowIELTS = message.mayShowIELTS;
1040
+ }
1041
+ if (message.summary !== undefined) {
1042
+ obj.summary = message.summary;
1043
+ }
1044
+ if (message.canBeIndexed !== false) {
1045
+ obj.canBeIndexed = message.canBeIndexed;
1046
+ }
1047
+ if (message.areaPresent !== false) {
1048
+ obj.areaPresent = message.areaPresent;
1049
+ }
1050
+ return obj;
1051
+ },
1052
+ };
1053
+
1054
+ function isObject(value: any): boolean {
1055
+ return typeof value === "object" && value !== null;
1056
+ }
1057
+
1058
+ function isSet(value: any): boolean {
1059
+ return value !== null && value !== undefined;
1060
+ }
1061
+
1062
+ interface MessageFns<T> {
1063
+ fromJSON(object: any): T;
1064
+ toJSON(message: T): unknown;
1065
+ }