@studyportals/domain-client 7.0.1-beta.4 → 7.0.1-beta.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (302) hide show
  1. package/package.json +4 -1
  2. package/index.d.ts +0 -91
  3. package/protobuf/Area.d.ts +0 -11
  4. package/protobuf/Area.js +0 -30
  5. package/protobuf/Article.d.ts +0 -60
  6. package/protobuf/Article.js +0 -226
  7. package/protobuf/Body.d.ts +0 -11
  8. package/protobuf/Body.js +0 -30
  9. package/protobuf/CampaignInformation.d.ts +0 -11
  10. package/protobuf/CampaignInformation.js +0 -30
  11. package/protobuf/ClickTracking.d.ts +0 -11
  12. package/protobuf/ClickTracking.js +0 -30
  13. package/protobuf/CommercialEntity.d.ts +0 -14
  14. package/protobuf/CommercialEntity.js +0 -48
  15. package/protobuf/Cover.d.ts +0 -10
  16. package/protobuf/Cover.js +0 -26
  17. package/protobuf/Deadline.d.ts +0 -11
  18. package/protobuf/Deadline.js +0 -30
  19. package/protobuf/Degree.d.ts +0 -16
  20. package/protobuf/Degree.js +0 -50
  21. package/protobuf/Description.d.ts +0 -16
  22. package/protobuf/Description.js +0 -45
  23. package/protobuf/Discipline.d.ts +0 -26
  24. package/protobuf/Discipline.js +0 -84
  25. package/protobuf/Duration.d.ts +0 -11
  26. package/protobuf/Duration.js +0 -30
  27. package/protobuf/EnglishRequirement.d.ts +0 -11
  28. package/protobuf/EnglishRequirement.js +0 -30
  29. package/protobuf/EssentialInformation.d.ts +0 -17
  30. package/protobuf/EssentialInformation.js +0 -54
  31. package/protobuf/File.d.ts +0 -22
  32. package/protobuf/File.js +0 -74
  33. package/protobuf/GPARequirement.d.ts +0 -11
  34. package/protobuf/GPARequirement.js +0 -30
  35. package/protobuf/InternalLink.d.ts +0 -12
  36. package/protobuf/InternalLink.js +0 -30
  37. package/protobuf/Link.d.ts +0 -11
  38. package/protobuf/Link.js +0 -30
  39. package/protobuf/LivingCost.d.ts +0 -11
  40. package/protobuf/LivingCost.js +0 -30
  41. package/protobuf/Location.d.ts +0 -18
  42. package/protobuf/Location.js +0 -56
  43. package/protobuf/Logo.d.ts +0 -10
  44. package/protobuf/Logo.js +0 -26
  45. package/protobuf/MiniProgrammeCard.d.ts +0 -18
  46. package/protobuf/MiniProgrammeCard.js +0 -50
  47. package/protobuf/OptionalLink.d.ts +0 -12
  48. package/protobuf/OptionalLink.js +0 -34
  49. package/protobuf/Organisation.d.ts +0 -211
  50. package/protobuf/Organisation.js +0 -853
  51. package/protobuf/OrganisationInformation.d.ts +0 -9
  52. package/protobuf/OrganisationInformation.js +0 -20
  53. package/protobuf/OrganisationRanking.d.ts +0 -15
  54. package/protobuf/OrganisationRanking.js +0 -41
  55. package/protobuf/Person.d.ts +0 -14
  56. package/protobuf/Person.js +0 -40
  57. package/protobuf/ProgrammeCard.d.ts +0 -60
  58. package/protobuf/ProgrammeCard.js +0 -197
  59. package/protobuf/ProgrammeGrid.d.ts +0 -14
  60. package/protobuf/ProgrammeGrid.js +0 -37
  61. package/protobuf/Ranking.d.ts +0 -22
  62. package/protobuf/Ranking.js +0 -76
  63. package/protobuf/RankingInstitute.d.ts +0 -15
  64. package/protobuf/RankingInstitute.js +0 -44
  65. package/protobuf/Review.d.ts +0 -17
  66. package/protobuf/Review.js +0 -52
  67. package/protobuf/ReviewRating.d.ts +0 -12
  68. package/protobuf/ReviewRating.js +0 -34
  69. package/protobuf/RichText.d.ts +0 -10
  70. package/protobuf/RichText.js +0 -28
  71. package/protobuf/SocialLink.d.ts +0 -21
  72. package/protobuf/SocialLink.js +0 -70
  73. package/protobuf/StartDate.d.ts +0 -13
  74. package/protobuf/StartDate.js +0 -38
  75. package/protobuf/Timing.d.ts +0 -17
  76. package/protobuf/Timing.js +0 -49
  77. package/protobuf/Topic.d.ts +0 -10
  78. package/protobuf/Topic.js +0 -26
  79. package/protobuf/TrackedLink.d.ts +0 -13
  80. package/protobuf/TrackedLink.js +0 -36
  81. package/protobuf/Tracking.d.ts +0 -18
  82. package/protobuf/Tracking.js +0 -58
  83. package/protobuf/TuitionFee.d.ts +0 -13
  84. package/protobuf/TuitionFee.js +0 -38
  85. package/protobuf/Unibuddy.d.ts +0 -10
  86. package/protobuf/Unibuddy.js +0 -26
  87. package/protobuf/index.d.ts +0 -45
  88. package/protobuf/index.js +0 -45
  89. package/src/clients/article-detail-page-client.d.ts +0 -8
  90. package/src/clients/article-detail-page-client.js +0 -16
  91. package/src/clients/index.d.ts +0 -7
  92. package/src/clients/index.js +0 -7
  93. package/src/clients/organisation-page-client.d.ts +0 -8
  94. package/src/clients/organisation-page-client.js +0 -16
  95. package/src/clients/protobuf-client.d.ts +0 -14
  96. package/src/clients/protobuf-client.js +0 -26
  97. package/src/clients/public-mini-programme-card-client.d.ts +0 -8
  98. package/src/clients/public-mini-programme-card-client.js +0 -16
  99. package/src/domain-client.d.ts +0 -14
  100. package/src/domain-client.js +0 -91
  101. package/src/exceptions/bad-request-exception.d.ts +0 -2
  102. package/src/exceptions/bad-request-exception.js +0 -2
  103. package/src/exceptions/client-exception.d.ts +0 -2
  104. package/src/exceptions/client-exception.js +0 -2
  105. package/src/exceptions/internal-server-exception.d.ts +0 -2
  106. package/src/exceptions/internal-server-exception.js +0 -2
  107. package/src/exceptions/not-found-exception.d.ts +0 -2
  108. package/src/exceptions/not-found-exception.js +0 -2
  109. package/src/exceptions/property-not-available-exception.d.ts +0 -2
  110. package/src/exceptions/property-not-available-exception.js +0 -2
  111. package/src/factories/DateFactory.d.ts +0 -5
  112. package/src/factories/DateFactory.js +0 -5
  113. package/src/factories/InternalLinkFactory.d.ts +0 -9
  114. package/src/factories/InternalLinkFactory.js +0 -22
  115. package/src/i-api-response.d.ts +0 -6
  116. package/src/i-api-response.js +0 -1
  117. package/src/i-class-factory.d.ts +0 -4
  118. package/src/i-class-factory.js +0 -1
  119. package/src/i-model-description.d.ts +0 -7
  120. package/src/i-model-description.js +0 -5
  121. package/src/model-client.d.ts +0 -16
  122. package/src/model-client.js +0 -43
  123. package/src/model-factory.d.ts +0 -11
  124. package/src/model-factory.js +0 -68
  125. package/src/models/bestfit-programme/bestfit-programme-client.d.ts +0 -7
  126. package/src/models/bestfit-programme/bestfit-programme-client.js +0 -12
  127. package/src/models/bestfit-programme/i-best-fit-programme.d.ts +0 -82
  128. package/src/models/bestfit-programme/i-best-fit-programme.js +0 -1
  129. package/src/models/bestfit-programme/i-city.d.ts +0 -14
  130. package/src/models/bestfit-programme/i-city.js +0 -1
  131. package/src/models/bestfit-programme/i-living-cost.d.ts +0 -20
  132. package/src/models/bestfit-programme/i-living-cost.js +0 -1
  133. package/src/models/city-search-document/city-search-document-client.d.ts +0 -7
  134. package/src/models/city-search-document/city-search-document-client.js +0 -12
  135. package/src/models/city-search-document/i-city-search-document.d.ts +0 -7
  136. package/src/models/city-search-document/i-city-search-document.js +0 -1
  137. package/src/models/common/i-city.d.ts +0 -14
  138. package/src/models/common/i-city.js +0 -1
  139. package/src/models/common/i-country.d.ts +0 -20
  140. package/src/models/common/i-country.js +0 -1
  141. package/src/models/common/i-english-requirements.d.ts +0 -51
  142. package/src/models/common/i-english-requirements.js +0 -1
  143. package/src/models/common/i-g-p-a-requirement.d.ts +0 -20
  144. package/src/models/common/i-g-p-a-requirement.js +0 -1
  145. package/src/models/common/i-internal-link.d.ts +0 -28
  146. package/src/models/common/i-internal-link.js +0 -1
  147. package/src/models/common/i-logo.d.ts +0 -14
  148. package/src/models/common/i-logo.js +0 -1
  149. package/src/models/common/i-review-rating.d.ts +0 -26
  150. package/src/models/common/i-review-rating.js +0 -1
  151. package/src/models/common/i-tuition-fee.d.ts +0 -50
  152. package/src/models/common/i-tuition-fee.js +0 -1
  153. package/src/models/copilot-country/copilot-country-client.d.ts +0 -7
  154. package/src/models/copilot-country/copilot-country-client.js +0 -12
  155. package/src/models/copilot-country/i-copilot-country.d.ts +0 -39
  156. package/src/models/copilot-country/i-copilot-country.js +0 -1
  157. package/src/models/copilot-country/i-copilot-ranking-card.d.ts +0 -38
  158. package/src/models/copilot-country/i-copilot-ranking-card.js +0 -1
  159. package/src/models/copilot-programme/copilot-programme-client.d.ts +0 -7
  160. package/src/models/copilot-programme/copilot-programme-client.js +0 -12
  161. package/src/models/copilot-programme/i-copilot-programme.d.ts +0 -125
  162. package/src/models/copilot-programme/i-copilot-programme.js +0 -1
  163. package/src/models/customerio-organisation/customerio-organisation-client.d.ts +0 -7
  164. package/src/models/customerio-organisation/customerio-organisation-client.js +0 -12
  165. package/src/models/customerio-organisation/i-customer-io-organisation.d.ts +0 -35
  166. package/src/models/customerio-organisation/i-customer-io-organisation.js +0 -1
  167. package/src/models/customerio-organisation/i-review.d.ts +0 -7
  168. package/src/models/customerio-organisation/i-review.js +0 -1
  169. package/src/models/customerio-programme/customerio-programme-client.d.ts +0 -7
  170. package/src/models/customerio-programme/customerio-programme-client.js +0 -12
  171. package/src/models/customerio-programme/i-customer-io-programme.d.ts +0 -107
  172. package/src/models/customerio-programme/i-customer-io-programme.js +0 -1
  173. package/src/models/customerio-programme/i-internal-link.d.ts +0 -28
  174. package/src/models/customerio-programme/i-internal-link.js +0 -1
  175. package/src/models/faq-static-content/i-faq-static-content.d.ts +0 -10
  176. package/src/models/faq-static-content/i-faq-static-content.js +0 -1
  177. package/src/models/faq-static-content/i-faq.d.ts +0 -4
  178. package/src/models/faq-static-content/i-faq.js +0 -1
  179. package/src/models/faq-static-content/i-static-content-url.d.ts +0 -4
  180. package/src/models/faq-static-content/i-static-content-url.js +0 -1
  181. package/src/models/faq-static-content/i-static-content.d.ts +0 -5
  182. package/src/models/faq-static-content/i-static-content.js +0 -1
  183. package/src/models/faq-static-content/public-faq-static-content-client.d.ts +0 -7
  184. package/src/models/faq-static-content/public-faq-static-content-client.js +0 -12
  185. package/src/models/organisation-card/i-organisation-card.d.ts +0 -39
  186. package/src/models/organisation-card/i-organisation-card.js +0 -1
  187. package/src/models/organisation-card/i-ranking-discipline.d.ts +0 -4
  188. package/src/models/organisation-card/i-ranking-discipline.js +0 -1
  189. package/src/models/organisation-card/organisation-card-client.d.ts +0 -7
  190. package/src/models/organisation-card/organisation-card-client.js +0 -12
  191. package/src/models/organisation-for-search/i-organisation-for-search.d.ts +0 -32
  192. package/src/models/organisation-for-search/i-organisation-for-search.js +0 -1
  193. package/src/models/organisation-for-search/public-organisation-for-search-client.d.ts +0 -7
  194. package/src/models/organisation-for-search/public-organisation-for-search-client.js +0 -12
  195. package/src/models/organisation-search-document/i-organisation-search-document.d.ts +0 -158
  196. package/src/models/organisation-search-document/i-organisation-search-document.js +0 -1
  197. package/src/models/organisation-search-document/organisation-search-document-client.d.ts +0 -7
  198. package/src/models/organisation-search-document/organisation-search-document-client.js +0 -12
  199. package/src/models/programme-card/i-click-tracking-data.d.ts +0 -5
  200. package/src/models/programme-card/i-click-tracking-data.js +0 -1
  201. package/src/models/programme-card/i-cover.d.ts +0 -14
  202. package/src/models/programme-card/i-cover.js +0 -1
  203. package/src/models/programme-card/i-deadline.d.ts +0 -20
  204. package/src/models/programme-card/i-deadline.js +0 -1
  205. package/src/models/programme-card/i-duration.d.ts +0 -40
  206. package/src/models/programme-card/i-duration.js +0 -1
  207. package/src/models/programme-card/i-internal-link.d.ts +0 -28
  208. package/src/models/programme-card/i-internal-link.js +0 -1
  209. package/src/models/programme-card/i-link.d.ts +0 -22
  210. package/src/models/programme-card/i-link.js +0 -1
  211. package/src/models/programme-card/i-location.d.ts +0 -12
  212. package/src/models/programme-card/i-location.js +0 -1
  213. package/src/models/programme-card/i-logo.d.ts +0 -14
  214. package/src/models/programme-card/i-logo.js +0 -1
  215. package/src/models/programme-card/i-optional-link.d.ts +0 -23
  216. package/src/models/programme-card/i-optional-link.js +0 -1
  217. package/src/models/programme-card/i-programme-card.d.ts +0 -212
  218. package/src/models/programme-card/i-programme-card.js +0 -1
  219. package/src/models/programme-card/i-start-date.d.ts +0 -33
  220. package/src/models/programme-card/i-start-date.js +0 -1
  221. package/src/models/programme-card/i-timing.d.ts +0 -45
  222. package/src/models/programme-card/i-timing.js +0 -1
  223. package/src/models/programme-card/i-tracked-link.d.ts +0 -29
  224. package/src/models/programme-card/i-tracked-link.js +0 -1
  225. package/src/models/programme-card/i-tracking.d.ts +0 -46
  226. package/src/models/programme-card/i-tracking.js +0 -1
  227. package/src/models/programme-card/i-tuition-fee.d.ts +0 -50
  228. package/src/models/programme-card/i-tuition-fee.js +0 -1
  229. package/src/models/programme-card/programme-card-client.d.ts +0 -7
  230. package/src/models/programme-card/programme-card-client.js +0 -12
  231. package/src/models/ranking-cards/i-ranking.d.ts +0 -18
  232. package/src/models/ranking-cards/i-ranking.js +0 -1
  233. package/src/models/scholarship-card/i-scholarship-card-v2.d.ts +0 -20
  234. package/src/models/scholarship-card/i-scholarship-card-v2.js +0 -1
  235. package/src/models/scholarship-card/i-scholarship-card.d.ts +0 -15
  236. package/src/models/scholarship-card/i-scholarship-card.js +0 -1
  237. package/src/models/scholarship-card/public-scholarship-card-client.d.ts +0 -7
  238. package/src/models/scholarship-card/public-scholarship-card-client.js +0 -12
  239. package/src/models/scholarship-card/scholarship-card-v2-client.d.ts +0 -7
  240. package/src/models/scholarship-card/scholarship-card-v2-client.js +0 -12
  241. package/src/models/scholarship-search-document/i-scholarship-search-document.d.ts +0 -38
  242. package/src/models/scholarship-search-document/i-scholarship-search-document.js +0 -1
  243. package/src/models/scholarship-search-document/scholarship-search-document-client.d.ts +0 -7
  244. package/src/models/scholarship-search-document/scholarship-search-document-client.js +0 -12
  245. package/src/models/search-discipline/i-search-discipline.d.ts +0 -26
  246. package/src/models/search-discipline/i-search-discipline.js +0 -1
  247. package/src/models/search-discipline/public-search-discipline-client.d.ts +0 -7
  248. package/src/models/search-discipline/public-search-discipline-client.js +0 -12
  249. package/src/models/search-projection/i-geo-targeting-configuration.d.ts +0 -38
  250. package/src/models/search-projection/i-geo-targeting-configuration.js +0 -1
  251. package/src/models/search-projection/i-geo-targeting-values.d.ts +0 -30
  252. package/src/models/search-projection/i-geo-targeting-values.js +0 -1
  253. package/src/models/search-projection/i-organisation-values.d.ts +0 -46
  254. package/src/models/search-projection/i-organisation-values.js +0 -1
  255. package/src/models/search-projection/i-premium-values.d.ts +0 -35
  256. package/src/models/search-projection/i-premium-values.js +0 -1
  257. package/src/models/search-projection/i-search-projection.d.ts +0 -186
  258. package/src/models/search-projection/i-search-projection.js +0 -1
  259. package/src/models/search-projection/i-tuition-values.d.ts +0 -50
  260. package/src/models/search-projection/i-tuition-values.js +0 -1
  261. package/src/models/search-projection/search-projection-client.d.ts +0 -7
  262. package/src/models/search-projection/search-projection-client.js +0 -12
  263. package/src/models/sitemap-articles-info/i-sitemap-article-info.d.ts +0 -26
  264. package/src/models/sitemap-articles-info/i-sitemap-article-info.js +0 -1
  265. package/src/models/sitemap-articles-info/sitemap-articles-info-client.d.ts +0 -7
  266. package/src/models/sitemap-articles-info/sitemap-articles-info-client.js +0 -12
  267. package/src/models/sitemap-cities-info/i-sitemap-city-info.d.ts +0 -14
  268. package/src/models/sitemap-cities-info/i-sitemap-city-info.js +0 -1
  269. package/src/models/sitemap-cities-info/sitemap-cities-info-client.d.ts +0 -7
  270. package/src/models/sitemap-cities-info/sitemap-cities-info-client.js +0 -12
  271. package/src/models/sitemap-countries-info/i-sitemap-country-info.d.ts +0 -14
  272. package/src/models/sitemap-countries-info/i-sitemap-country-info.js +0 -1
  273. package/src/models/sitemap-countries-info/sitemap-countries-info-client.d.ts +0 -7
  274. package/src/models/sitemap-countries-info/sitemap-countries-info-client.js +0 -12
  275. package/src/models/sitemap-country-degree-info/i-degree-info.d.ts +0 -14
  276. package/src/models/sitemap-country-degree-info/i-degree-info.js +0 -1
  277. package/src/models/sitemap-country-degree-info/i-sitemap-country-degree-info.d.ts +0 -11
  278. package/src/models/sitemap-country-degree-info/i-sitemap-country-degree-info.js +0 -1
  279. package/src/models/sitemap-country-degree-info/sitemap-country-degree-info-client.d.ts +0 -7
  280. package/src/models/sitemap-country-degree-info/sitemap-country-degree-info-client.js +0 -12
  281. package/src/models/sitemap-disciplines-info/i-sitemap-discipline-info.d.ts +0 -14
  282. package/src/models/sitemap-disciplines-info/i-sitemap-discipline-info.js +0 -1
  283. package/src/models/sitemap-disciplines-info/sitemap-disciplines-info-client.d.ts +0 -7
  284. package/src/models/sitemap-disciplines-info/sitemap-disciplines-info-client.js +0 -12
  285. package/src/models/sitemap-organisations-info/i-sitemap-organisation-info.d.ts +0 -26
  286. package/src/models/sitemap-organisations-info/i-sitemap-organisation-info.js +0 -1
  287. package/src/models/sitemap-organisations-info/sitemap-organisations-info-client.d.ts +0 -7
  288. package/src/models/sitemap-organisations-info/sitemap-organisations-info-client.js +0 -12
  289. package/src/models/sitemap-programme-info/i-sitemap-programme-info.d.ts +0 -26
  290. package/src/models/sitemap-programme-info/i-sitemap-programme-info.js +0 -1
  291. package/src/models/sitemap-programme-info/sitemap-programme-info-client.d.ts +0 -7
  292. package/src/models/sitemap-programme-info/sitemap-programme-info-client.js +0 -12
  293. package/src/models/sitemap-rankings-info/i-sitemap-rankings-info.d.ts +0 -14
  294. package/src/models/sitemap-rankings-info/i-sitemap-rankings-info.js +0 -1
  295. package/src/models/sitemap-rankings-info/sitemap-rankings-info-client.d.ts +0 -7
  296. package/src/models/sitemap-rankings-info/sitemap-rankings-info-client.js +0 -12
  297. package/src/types/portal-map.d.ts +0 -2
  298. package/src/types/portal-map.js +0 -1
  299. package/src/types/portal-type.d.ts +0 -7
  300. package/src/types/portal-type.js +0 -8
  301. package/src/types.d.ts +0 -4
  302. package/src/types.js +0 -1
@@ -1,9 +0,0 @@
1
- export interface OrganisationInformation {
2
- id: number;
3
- }
4
- export declare const OrganisationInformation: MessageFns<OrganisationInformation>;
5
- interface MessageFns<T> {
6
- fromJSON(object: any): T;
7
- toJSON(message: T): unknown;
8
- }
9
- export {};
@@ -1,20 +0,0 @@
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: OrganisationInformation.proto
6
- export const OrganisationInformation = {
7
- fromJSON(object) {
8
- return { id: isSet(object.id) ? globalThis.Number(object.id) : 0 };
9
- },
10
- toJSON(message) {
11
- const obj = {};
12
- if (message.id !== 0) {
13
- obj.id = Math.round(message.id);
14
- }
15
- return obj;
16
- },
17
- };
18
- function isSet(value) {
19
- return value !== null && value !== undefined;
20
- }
@@ -1,15 +0,0 @@
1
- import { Body } from "./Body";
2
- import { RankingInstitute } from "./RankingInstitute";
3
- export interface OrganisationRanking {
4
- id: number;
5
- name?: string | undefined;
6
- rank: number;
7
- rankingInstitute: RankingInstitute | undefined;
8
- rankingBody: Body | undefined;
9
- }
10
- export declare const OrganisationRanking: MessageFns<OrganisationRanking>;
11
- interface MessageFns<T> {
12
- fromJSON(object: any): T;
13
- toJSON(message: T): unknown;
14
- }
15
- export {};
@@ -1,41 +0,0 @@
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: OrganisationRanking.proto
6
- /* eslint-disable */
7
- import { Body } from "./Body";
8
- import { RankingInstitute } from "./RankingInstitute";
9
- export const OrganisationRanking = {
10
- fromJSON(object) {
11
- return {
12
- id: isSet(object.id) ? globalThis.Number(object.id) : 0,
13
- name: isSet(object.name) ? globalThis.String(object.name) : undefined,
14
- rank: isSet(object.rank) ? globalThis.Number(object.rank) : 0,
15
- rankingInstitute: isSet(object.rankingInstitute) ? RankingInstitute.fromJSON(object.rankingInstitute) : undefined,
16
- rankingBody: isSet(object.rankingBody) ? Body.fromJSON(object.rankingBody) : undefined,
17
- };
18
- },
19
- toJSON(message) {
20
- const obj = {};
21
- if (message.id !== 0) {
22
- obj.id = Math.round(message.id);
23
- }
24
- if (message.name !== undefined) {
25
- obj.name = message.name;
26
- }
27
- if (message.rank !== 0) {
28
- obj.rank = Math.round(message.rank);
29
- }
30
- if (message.rankingInstitute !== undefined) {
31
- obj.rankingInstitute = RankingInstitute.toJSON(message.rankingInstitute);
32
- }
33
- if (message.rankingBody !== undefined) {
34
- obj.rankingBody = Body.toJSON(message.rankingBody);
35
- }
36
- return obj;
37
- },
38
- };
39
- function isSet(value) {
40
- return value !== null && value !== undefined;
41
- }
@@ -1,14 +0,0 @@
1
- import { File } from "./File";
2
- export interface Person {
3
- name?: string | undefined;
4
- title?: string | undefined;
5
- summary?: string | undefined;
6
- logo: File | undefined;
7
- job?: string | undefined;
8
- }
9
- export declare const Person: MessageFns<Person>;
10
- interface MessageFns<T> {
11
- fromJSON(object: any): T;
12
- toJSON(message: T): unknown;
13
- }
14
- export {};
@@ -1,40 +0,0 @@
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: Person.proto
6
- /* eslint-disable */
7
- import { File } from "./File";
8
- export const Person = {
9
- fromJSON(object) {
10
- return {
11
- name: isSet(object.name) ? globalThis.String(object.name) : undefined,
12
- title: isSet(object.title) ? globalThis.String(object.title) : undefined,
13
- summary: isSet(object.summary) ? globalThis.String(object.summary) : undefined,
14
- logo: isSet(object.logo) ? File.fromJSON(object.logo) : undefined,
15
- job: isSet(object.job) ? globalThis.String(object.job) : undefined,
16
- };
17
- },
18
- toJSON(message) {
19
- const obj = {};
20
- if (message.name !== undefined) {
21
- obj.name = message.name;
22
- }
23
- if (message.title !== undefined) {
24
- obj.title = message.title;
25
- }
26
- if (message.summary !== undefined) {
27
- obj.summary = message.summary;
28
- }
29
- if (message.logo !== undefined) {
30
- obj.logo = File.toJSON(message.logo);
31
- }
32
- if (message.job !== undefined) {
33
- obj.job = message.job;
34
- }
35
- return obj;
36
- },
37
- };
38
- function isSet(value) {
39
- return value !== null && value !== undefined;
40
- }
@@ -1,60 +0,0 @@
1
- import { Cover } from "./Cover";
2
- import { Duration } from "./Duration";
3
- import { EnglishRequirement } from "./EnglishRequirement";
4
- import { GPARequirement } from "./GPARequirement";
5
- import { InternalLink } from "./InternalLink";
6
- import { Link } from "./Link";
7
- import { LivingCost } from "./LivingCost";
8
- import { Location } from "./Location";
9
- import { Logo } from "./Logo";
10
- import { Country } from "./Organisation";
11
- import { Timing } from "./Timing";
12
- import { TrackedLink } from "./TrackedLink";
13
- import { Tracking } from "./Tracking";
14
- import { TuitionFee } from "./TuitionFee";
15
- export interface ProgrammeCard {
16
- id: number;
17
- name: string;
18
- title: string;
19
- description: string;
20
- isPublic: boolean;
21
- isFullyOnline: boolean;
22
- isOnline: boolean;
23
- isOnCampus: boolean;
24
- isBlended: boolean;
25
- isFullTime: boolean;
26
- isPartTime: boolean;
27
- level: string;
28
- degree: string;
29
- programmeLink: InternalLink | undefined;
30
- summary: string;
31
- logo: Logo | undefined;
32
- cover: Cover | undefined;
33
- universityLink: Link | undefined;
34
- universityId: number;
35
- location: Location | undefined;
36
- locationText: string;
37
- tracking: Tracking | undefined;
38
- tuitionFees: TuitionFee[];
39
- duration: Duration | undefined;
40
- timings: Timing[];
41
- referralLink: TrackedLink | undefined;
42
- country: Country | undefined;
43
- topLevelOrganisation: string[];
44
- premiumType: string;
45
- disciplineIds: number[];
46
- englishRequirements: EnglishRequirement | undefined;
47
- workExperienceYears: number;
48
- gpa: GPARequirement | undefined;
49
- livingCost: LivingCost | undefined;
50
- ects: string;
51
- campaignType: number;
52
- lastUpdated: string;
53
- commercialRange: string[];
54
- }
55
- export declare const ProgrammeCard: MessageFns<ProgrammeCard>;
56
- interface MessageFns<T> {
57
- fromJSON(object: any): T;
58
- toJSON(message: T): unknown;
59
- }
60
- export {};
@@ -1,197 +0,0 @@
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: ProgrammeCard.proto
6
- /* eslint-disable */
7
- import { Cover } from "./Cover";
8
- import { Duration } from "./Duration";
9
- import { EnglishRequirement } from "./EnglishRequirement";
10
- import { GPARequirement } from "./GPARequirement";
11
- import { InternalLink } from "./InternalLink";
12
- import { Link } from "./Link";
13
- import { LivingCost } from "./LivingCost";
14
- import { Location } from "./Location";
15
- import { Logo } from "./Logo";
16
- import { Country } from "./Organisation";
17
- import { Timing } from "./Timing";
18
- import { TrackedLink } from "./TrackedLink";
19
- import { Tracking } from "./Tracking";
20
- import { TuitionFee } from "./TuitionFee";
21
- export const ProgrammeCard = {
22
- fromJSON(object) {
23
- return {
24
- id: isSet(object.id) ? globalThis.Number(object.id) : 0,
25
- name: isSet(object.name) ? globalThis.String(object.name) : "",
26
- title: isSet(object.title) ? globalThis.String(object.title) : "",
27
- description: isSet(object.description) ? globalThis.String(object.description) : "",
28
- isPublic: isSet(object.isPublic) ? globalThis.Boolean(object.isPublic) : false,
29
- isFullyOnline: isSet(object.isFullyOnline) ? globalThis.Boolean(object.isFullyOnline) : false,
30
- isOnline: isSet(object.isOnline) ? globalThis.Boolean(object.isOnline) : false,
31
- isOnCampus: isSet(object.isOnCampus) ? globalThis.Boolean(object.isOnCampus) : false,
32
- isBlended: isSet(object.isBlended) ? globalThis.Boolean(object.isBlended) : false,
33
- isFullTime: isSet(object.isFullTime) ? globalThis.Boolean(object.isFullTime) : false,
34
- isPartTime: isSet(object.isPartTime) ? globalThis.Boolean(object.isPartTime) : false,
35
- level: isSet(object.level) ? globalThis.String(object.level) : "",
36
- degree: isSet(object.degree) ? globalThis.String(object.degree) : "",
37
- programmeLink: isSet(object.programmeLink) ? InternalLink.fromJSON(object.programmeLink) : undefined,
38
- summary: isSet(object.summary) ? globalThis.String(object.summary) : "",
39
- logo: isSet(object.logo) ? Logo.fromJSON(object.logo) : undefined,
40
- cover: isSet(object.cover) ? Cover.fromJSON(object.cover) : undefined,
41
- universityLink: isSet(object.universityLink) ? Link.fromJSON(object.universityLink) : undefined,
42
- universityId: isSet(object.universityId) ? globalThis.Number(object.universityId) : 0,
43
- location: isSet(object.location) ? Location.fromJSON(object.location) : undefined,
44
- locationText: isSet(object.locationText) ? globalThis.String(object.locationText) : "",
45
- tracking: isSet(object.tracking) ? Tracking.fromJSON(object.tracking) : undefined,
46
- tuitionFees: globalThis.Array.isArray(object?.tuitionFees)
47
- ? object.tuitionFees.map((e) => TuitionFee.fromJSON(e))
48
- : [],
49
- duration: isSet(object.duration) ? Duration.fromJSON(object.duration) : undefined,
50
- timings: globalThis.Array.isArray(object?.timings)
51
- ? object.timings.map((e) => Timing.fromJSON(e))
52
- : [],
53
- referralLink: isSet(object.referralLink) ? TrackedLink.fromJSON(object.referralLink) : undefined,
54
- country: isSet(object.country) ? Country.fromJSON(object.country) : undefined,
55
- topLevelOrganisation: globalThis.Array.isArray(object?.topLevelOrganisation)
56
- ? object.topLevelOrganisation.map((e) => globalThis.String(e))
57
- : [],
58
- premiumType: isSet(object.premiumType) ? globalThis.String(object.premiumType) : "",
59
- disciplineIds: globalThis.Array.isArray(object?.disciplineIds)
60
- ? object.disciplineIds.map((e) => globalThis.Number(e))
61
- : [],
62
- englishRequirements: isSet(object.englishRequirements)
63
- ? EnglishRequirement.fromJSON(object.englishRequirements)
64
- : undefined,
65
- workExperienceYears: isSet(object.workExperienceYears) ? globalThis.Number(object.workExperienceYears) : 0,
66
- gpa: isSet(object.gpa) ? GPARequirement.fromJSON(object.gpa) : undefined,
67
- livingCost: isSet(object.livingCost) ? LivingCost.fromJSON(object.livingCost) : undefined,
68
- ects: isSet(object.ects) ? globalThis.String(object.ects) : "",
69
- campaignType: isSet(object.campaignType) ? globalThis.Number(object.campaignType) : 0,
70
- lastUpdated: isSet(object.lastUpdated) ? globalThis.String(object.lastUpdated) : "",
71
- commercialRange: globalThis.Array.isArray(object?.commercialRange)
72
- ? object.commercialRange.map((e) => globalThis.String(e))
73
- : [],
74
- };
75
- },
76
- toJSON(message) {
77
- const obj = {};
78
- if (message.id !== 0) {
79
- obj.id = Math.round(message.id);
80
- }
81
- if (message.name !== "") {
82
- obj.name = message.name;
83
- }
84
- if (message.title !== "") {
85
- obj.title = message.title;
86
- }
87
- if (message.description !== "") {
88
- obj.description = message.description;
89
- }
90
- if (message.isPublic !== false) {
91
- obj.isPublic = message.isPublic;
92
- }
93
- if (message.isFullyOnline !== false) {
94
- obj.isFullyOnline = message.isFullyOnline;
95
- }
96
- if (message.isOnline !== false) {
97
- obj.isOnline = message.isOnline;
98
- }
99
- if (message.isOnCampus !== false) {
100
- obj.isOnCampus = message.isOnCampus;
101
- }
102
- if (message.isBlended !== false) {
103
- obj.isBlended = message.isBlended;
104
- }
105
- if (message.isFullTime !== false) {
106
- obj.isFullTime = message.isFullTime;
107
- }
108
- if (message.isPartTime !== false) {
109
- obj.isPartTime = message.isPartTime;
110
- }
111
- if (message.level !== "") {
112
- obj.level = message.level;
113
- }
114
- if (message.degree !== "") {
115
- obj.degree = message.degree;
116
- }
117
- if (message.programmeLink !== undefined) {
118
- obj.programmeLink = InternalLink.toJSON(message.programmeLink);
119
- }
120
- if (message.summary !== "") {
121
- obj.summary = message.summary;
122
- }
123
- if (message.logo !== undefined) {
124
- obj.logo = Logo.toJSON(message.logo);
125
- }
126
- if (message.cover !== undefined) {
127
- obj.cover = Cover.toJSON(message.cover);
128
- }
129
- if (message.universityLink !== undefined) {
130
- obj.universityLink = Link.toJSON(message.universityLink);
131
- }
132
- if (message.universityId !== 0) {
133
- obj.universityId = Math.round(message.universityId);
134
- }
135
- if (message.location !== undefined) {
136
- obj.location = Location.toJSON(message.location);
137
- }
138
- if (message.locationText !== "") {
139
- obj.locationText = message.locationText;
140
- }
141
- if (message.tracking !== undefined) {
142
- obj.tracking = Tracking.toJSON(message.tracking);
143
- }
144
- if (message.tuitionFees?.length) {
145
- obj.tuitionFees = message.tuitionFees.map((e) => TuitionFee.toJSON(e));
146
- }
147
- if (message.duration !== undefined) {
148
- obj.duration = Duration.toJSON(message.duration);
149
- }
150
- if (message.timings?.length) {
151
- obj.timings = message.timings.map((e) => Timing.toJSON(e));
152
- }
153
- if (message.referralLink !== undefined) {
154
- obj.referralLink = TrackedLink.toJSON(message.referralLink);
155
- }
156
- if (message.country !== undefined) {
157
- obj.country = Country.toJSON(message.country);
158
- }
159
- if (message.topLevelOrganisation?.length) {
160
- obj.topLevelOrganisation = message.topLevelOrganisation;
161
- }
162
- if (message.premiumType !== "") {
163
- obj.premiumType = message.premiumType;
164
- }
165
- if (message.disciplineIds?.length) {
166
- obj.disciplineIds = message.disciplineIds.map((e) => Math.round(e));
167
- }
168
- if (message.englishRequirements !== undefined) {
169
- obj.englishRequirements = EnglishRequirement.toJSON(message.englishRequirements);
170
- }
171
- if (message.workExperienceYears !== 0) {
172
- obj.workExperienceYears = Math.round(message.workExperienceYears);
173
- }
174
- if (message.gpa !== undefined) {
175
- obj.gpa = GPARequirement.toJSON(message.gpa);
176
- }
177
- if (message.livingCost !== undefined) {
178
- obj.livingCost = LivingCost.toJSON(message.livingCost);
179
- }
180
- if (message.ects !== "") {
181
- obj.ects = message.ects;
182
- }
183
- if (message.campaignType !== 0) {
184
- obj.campaignType = Math.round(message.campaignType);
185
- }
186
- if (message.lastUpdated !== "") {
187
- obj.lastUpdated = message.lastUpdated;
188
- }
189
- if (message.commercialRange?.length) {
190
- obj.commercialRange = message.commercialRange;
191
- }
192
- return obj;
193
- },
194
- };
195
- function isSet(value) {
196
- return value !== null && value !== undefined;
197
- }
@@ -1,14 +0,0 @@
1
- import { Link } from "./Link";
2
- import { ProgrammeCard } from "./ProgrammeCard";
3
- export interface ProgrammeGrid {
4
- title: string;
5
- searchLink: Link | undefined;
6
- cards: ProgrammeCard[];
7
- sblpLink: Link | undefined;
8
- }
9
- export declare const ProgrammeGrid: MessageFns<ProgrammeGrid>;
10
- interface MessageFns<T> {
11
- fromJSON(object: any): T;
12
- toJSON(message: T): unknown;
13
- }
14
- export {};
@@ -1,37 +0,0 @@
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: ProgrammeGrid.proto
6
- /* eslint-disable */
7
- import { Link } from "./Link";
8
- import { ProgrammeCard } from "./ProgrammeCard";
9
- export const ProgrammeGrid = {
10
- fromJSON(object) {
11
- return {
12
- title: isSet(object.title) ? globalThis.String(object.title) : "",
13
- searchLink: isSet(object.searchLink) ? Link.fromJSON(object.searchLink) : undefined,
14
- cards: globalThis.Array.isArray(object?.cards) ? object.cards.map((e) => ProgrammeCard.fromJSON(e)) : [],
15
- sblpLink: isSet(object.sblpLink) ? Link.fromJSON(object.sblpLink) : undefined,
16
- };
17
- },
18
- toJSON(message) {
19
- const obj = {};
20
- if (message.title !== "") {
21
- obj.title = message.title;
22
- }
23
- if (message.searchLink !== undefined) {
24
- obj.searchLink = Link.toJSON(message.searchLink);
25
- }
26
- if (message.cards?.length) {
27
- obj.cards = message.cards.map((e) => ProgrammeCard.toJSON(e));
28
- }
29
- if (message.sblpLink !== undefined) {
30
- obj.sblpLink = Link.toJSON(message.sblpLink);
31
- }
32
- return obj;
33
- },
34
- };
35
- function isSet(value) {
36
- return value !== null && value !== undefined;
37
- }
@@ -1,22 +0,0 @@
1
- import { RankingInstitute } from "./RankingInstitute";
2
- export interface Ranking {
3
- id: number;
4
- name: string;
5
- acronym?: string | undefined;
6
- allRankingInstitutes: RankingInstitute[];
7
- mostRecentRankedYears: string[];
8
- rankingInstitute: RankingInstitute | undefined;
9
- rankingYear: string;
10
- year: number;
11
- rank: number;
12
- disciplineId?: number | undefined;
13
- rankDifference?: number | undefined;
14
- canBeIndexed: boolean;
15
- rankingId?: number | undefined;
16
- }
17
- export declare const Ranking: MessageFns<Ranking>;
18
- interface MessageFns<T> {
19
- fromJSON(object: any): T;
20
- toJSON(message: T): unknown;
21
- }
22
- export {};
@@ -1,76 +0,0 @@
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: Ranking.proto
6
- /* eslint-disable */
7
- import { RankingInstitute } from "./RankingInstitute";
8
- export const Ranking = {
9
- fromJSON(object) {
10
- return {
11
- id: isSet(object.id) ? globalThis.Number(object.id) : 0,
12
- name: isSet(object.name) ? globalThis.String(object.name) : "",
13
- acronym: isSet(object.acronym) ? globalThis.String(object.acronym) : undefined,
14
- allRankingInstitutes: globalThis.Array.isArray(object?.allRankingInstitutes)
15
- ? object.allRankingInstitutes.map((e) => RankingInstitute.fromJSON(e))
16
- : [],
17
- mostRecentRankedYears: globalThis.Array.isArray(object?.mostRecentRankedYears)
18
- ? object.mostRecentRankedYears.map((e) => globalThis.String(e))
19
- : [],
20
- rankingInstitute: isSet(object.rankingInstitute) ? RankingInstitute.fromJSON(object.rankingInstitute) : undefined,
21
- rankingYear: isSet(object.rankingYear) ? globalThis.String(object.rankingYear) : "",
22
- year: isSet(object.year) ? globalThis.Number(object.year) : 0,
23
- rank: isSet(object.rank) ? globalThis.Number(object.rank) : 0,
24
- disciplineId: isSet(object.disciplineId) ? globalThis.Number(object.disciplineId) : undefined,
25
- rankDifference: isSet(object.rankDifference) ? globalThis.Number(object.rankDifference) : undefined,
26
- canBeIndexed: isSet(object.canBeIndexed) ? globalThis.Boolean(object.canBeIndexed) : false,
27
- rankingId: isSet(object.rankingId) ? globalThis.Number(object.rankingId) : undefined,
28
- };
29
- },
30
- toJSON(message) {
31
- const obj = {};
32
- if (message.id !== 0) {
33
- obj.id = Math.round(message.id);
34
- }
35
- if (message.name !== "") {
36
- obj.name = message.name;
37
- }
38
- if (message.acronym !== undefined) {
39
- obj.acronym = message.acronym;
40
- }
41
- if (message.allRankingInstitutes?.length) {
42
- obj.allRankingInstitutes = message.allRankingInstitutes.map((e) => RankingInstitute.toJSON(e));
43
- }
44
- if (message.mostRecentRankedYears?.length) {
45
- obj.mostRecentRankedYears = message.mostRecentRankedYears;
46
- }
47
- if (message.rankingInstitute !== undefined) {
48
- obj.rankingInstitute = RankingInstitute.toJSON(message.rankingInstitute);
49
- }
50
- if (message.rankingYear !== "") {
51
- obj.rankingYear = message.rankingYear;
52
- }
53
- if (message.year !== 0) {
54
- obj.year = Math.round(message.year);
55
- }
56
- if (message.rank !== 0) {
57
- obj.rank = Math.round(message.rank);
58
- }
59
- if (message.disciplineId !== undefined) {
60
- obj.disciplineId = Math.round(message.disciplineId);
61
- }
62
- if (message.rankDifference !== undefined) {
63
- obj.rankDifference = Math.round(message.rankDifference);
64
- }
65
- if (message.canBeIndexed !== false) {
66
- obj.canBeIndexed = message.canBeIndexed;
67
- }
68
- if (message.rankingId !== undefined) {
69
- obj.rankingId = Math.round(message.rankingId);
70
- }
71
- return obj;
72
- },
73
- };
74
- function isSet(value) {
75
- return value !== null && value !== undefined;
76
- }
@@ -1,15 +0,0 @@
1
- import { Body } from "./Body";
2
- export interface RankingInstitute {
3
- id: number;
4
- name: string;
5
- description: string;
6
- linkHomePageUrl: string;
7
- acronym: string;
8
- body: Body | undefined;
9
- }
10
- export declare const RankingInstitute: MessageFns<RankingInstitute>;
11
- interface MessageFns<T> {
12
- fromJSON(object: any): T;
13
- toJSON(message: T): unknown;
14
- }
15
- export {};
@@ -1,44 +0,0 @@
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: RankingInstitute.proto
6
- /* eslint-disable */
7
- import { Body } from "./Body";
8
- export const RankingInstitute = {
9
- fromJSON(object) {
10
- return {
11
- id: isSet(object.id) ? globalThis.Number(object.id) : 0,
12
- name: isSet(object.name) ? globalThis.String(object.name) : "",
13
- description: isSet(object.description) ? globalThis.String(object.description) : "",
14
- linkHomePageUrl: isSet(object.linkHomePageUrl) ? globalThis.String(object.linkHomePageUrl) : "",
15
- acronym: isSet(object.acronym) ? globalThis.String(object.acronym) : "",
16
- body: isSet(object.body) ? Body.fromJSON(object.body) : undefined,
17
- };
18
- },
19
- toJSON(message) {
20
- const obj = {};
21
- if (message.id !== 0) {
22
- obj.id = Math.round(message.id);
23
- }
24
- if (message.name !== "") {
25
- obj.name = message.name;
26
- }
27
- if (message.description !== "") {
28
- obj.description = message.description;
29
- }
30
- if (message.linkHomePageUrl !== "") {
31
- obj.linkHomePageUrl = message.linkHomePageUrl;
32
- }
33
- if (message.acronym !== "") {
34
- obj.acronym = message.acronym;
35
- }
36
- if (message.body !== undefined) {
37
- obj.body = Body.toJSON(message.body);
38
- }
39
- return obj;
40
- },
41
- };
42
- function isSet(value) {
43
- return value !== null && value !== undefined;
44
- }
@@ -1,17 +0,0 @@
1
- import { Person } from "./Person";
2
- export interface Review {
3
- id: number;
4
- rating: number;
5
- review?: string | undefined;
6
- title?: string | undefined;
7
- hasTitle: boolean;
8
- author: Person | undefined;
9
- startDate: string;
10
- endDate: string;
11
- }
12
- export declare const Review: MessageFns<Review>;
13
- interface MessageFns<T> {
14
- fromJSON(object: any): T;
15
- toJSON(message: T): unknown;
16
- }
17
- export {};