@studyportals/domain-client 7.1.0 → 7.1.1-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (225) hide show
  1. package/index.d.ts +89 -89
  2. package/index.js +34 -81
  3. package/package.json +3 -2
  4. package/protobuf/Area.js +1 -4
  5. package/protobuf/Article.d.ts +5 -5
  6. package/protobuf/Article.js +30 -33
  7. package/protobuf/Body.js +1 -4
  8. package/protobuf/CampaignInformation.js +1 -4
  9. package/protobuf/ClickTracking.js +1 -4
  10. package/protobuf/CommercialEntity.js +1 -4
  11. package/protobuf/Cover.js +1 -4
  12. package/protobuf/Deadline.js +1 -4
  13. package/protobuf/Degree.js +1 -4
  14. package/protobuf/Description.d.ts +2 -2
  15. package/protobuf/Description.js +13 -16
  16. package/protobuf/Discipline.d.ts +3 -3
  17. package/protobuf/Discipline.js +10 -13
  18. package/protobuf/Duration.js +1 -4
  19. package/protobuf/EnglishRequirement.js +1 -4
  20. package/protobuf/EssentialInformation.js +1 -4
  21. package/protobuf/File.js +3 -6
  22. package/protobuf/GPARequirement.js +1 -4
  23. package/protobuf/InternalLink.js +3 -6
  24. package/protobuf/Link.js +1 -4
  25. package/protobuf/LivingCost.js +1 -4
  26. package/protobuf/Location.d.ts +1 -1
  27. package/protobuf/Location.js +8 -11
  28. package/protobuf/Logo.js +1 -4
  29. package/protobuf/MiniProgrammeCard.d.ts +3 -3
  30. package/protobuf/MiniProgrammeCard.js +10 -13
  31. package/protobuf/OptionalLink.js +1 -4
  32. package/protobuf/Organisation.d.ts +12 -12
  33. package/protobuf/Organisation.js +86 -89
  34. package/protobuf/OrganisationInformation.js +1 -4
  35. package/protobuf/OrganisationRanking.d.ts +2 -2
  36. package/protobuf/OrganisationRanking.js +7 -10
  37. package/protobuf/Person.d.ts +1 -1
  38. package/protobuf/Person.js +4 -7
  39. package/protobuf/ProgrammeCard.d.ts +14 -14
  40. package/protobuf/ProgrammeCard.js +43 -46
  41. package/protobuf/ProgrammeGrid.d.ts +2 -2
  42. package/protobuf/ProgrammeGrid.js +9 -12
  43. package/protobuf/Ranking.d.ts +1 -1
  44. package/protobuf/Ranking.js +6 -9
  45. package/protobuf/RankingInstitute.d.ts +1 -1
  46. package/protobuf/RankingInstitute.js +4 -7
  47. package/protobuf/Review.d.ts +1 -1
  48. package/protobuf/Review.js +4 -7
  49. package/protobuf/ReviewRating.js +1 -4
  50. package/protobuf/RichText.js +1 -4
  51. package/protobuf/SocialLink.js +1 -4
  52. package/protobuf/StartDate.d.ts +1 -1
  53. package/protobuf/StartDate.js +4 -7
  54. package/protobuf/Timing.d.ts +2 -2
  55. package/protobuf/Timing.js +7 -10
  56. package/protobuf/Topic.js +1 -4
  57. package/protobuf/TrackedLink.d.ts +1 -1
  58. package/protobuf/TrackedLink.js +4 -7
  59. package/protobuf/Tracking.d.ts +1 -1
  60. package/protobuf/Tracking.js +4 -7
  61. package/protobuf/TuitionFee.js +1 -4
  62. package/protobuf/Unibuddy.js +1 -4
  63. package/protobuf/index.d.ts +42 -42
  64. package/protobuf/index.js +42 -58
  65. package/src/clients/article-detail-page-client.d.ts +2 -2
  66. package/src/clients/article-detail-page-client.js +4 -8
  67. package/src/clients/index.d.ts +4 -4
  68. package/src/clients/index.js +4 -20
  69. package/src/clients/organisation-page-client.d.ts +2 -2
  70. package/src/clients/organisation-page-client.js +4 -8
  71. package/src/clients/protobuf-client.d.ts +2 -2
  72. package/src/clients/protobuf-client.js +3 -7
  73. package/src/clients/public-mini-programme-card-client.d.ts +2 -2
  74. package/src/clients/public-mini-programme-card-client.js +4 -8
  75. package/src/domain-client.js +9 -13
  76. package/src/exceptions/bad-request-exception.js +1 -5
  77. package/src/exceptions/client-exception.js +1 -5
  78. package/src/exceptions/internal-server-exception.js +1 -5
  79. package/src/exceptions/not-found-exception.js +1 -5
  80. package/src/exceptions/property-not-available-exception.js +1 -5
  81. package/src/factories/DateFactory.d.ts +2 -2
  82. package/src/factories/DateFactory.js +1 -5
  83. package/src/factories/InternalLinkFactory.d.ts +3 -3
  84. package/src/factories/InternalLinkFactory.js +1 -5
  85. package/src/i-api-response.d.ts +1 -1
  86. package/src/i-api-response.js +1 -2
  87. package/src/i-class-factory.d.ts +1 -1
  88. package/src/i-class-factory.js +1 -2
  89. package/src/i-model-description.d.ts +1 -1
  90. package/src/i-model-description.js +1 -4
  91. package/src/model-client.d.ts +2 -2
  92. package/src/model-client.js +8 -12
  93. package/src/model-factory.d.ts +2 -2
  94. package/src/model-factory.js +10 -14
  95. package/src/models/bestfit-programme/bestfit-programme-client.d.ts +2 -2
  96. package/src/models/bestfit-programme/bestfit-programme-client.js +2 -6
  97. package/src/models/bestfit-programme/i-best-fit-programme.d.ts +1 -1
  98. package/src/models/bestfit-programme/i-best-fit-programme.js +1 -2
  99. package/src/models/bestfit-programme/i-city.js +1 -2
  100. package/src/models/bestfit-programme/i-living-cost.js +1 -2
  101. package/src/models/city-search-document/city-search-document-client.d.ts +2 -2
  102. package/src/models/city-search-document/city-search-document-client.js +2 -6
  103. package/src/models/city-search-document/i-city-search-document.js +1 -2
  104. package/src/models/common/i-city.js +1 -2
  105. package/src/models/common/i-country.js +1 -2
  106. package/src/models/common/i-english-requirements.js +1 -2
  107. package/src/models/common/i-g-p-a-requirement.js +1 -2
  108. package/src/models/common/i-internal-link.js +1 -2
  109. package/src/models/common/i-logo.js +1 -2
  110. package/src/models/common/i-review-rating.js +1 -2
  111. package/src/models/common/i-tuition-fee.js +1 -2
  112. package/src/models/copilot-country/copilot-country-client.d.ts +2 -2
  113. package/src/models/copilot-country/copilot-country-client.js +2 -6
  114. package/src/models/copilot-country/i-copilot-country.d.ts +1 -1
  115. package/src/models/copilot-country/i-copilot-country.js +1 -2
  116. package/src/models/copilot-country/i-copilot-ranking-card.js +1 -2
  117. package/src/models/copilot-programme/copilot-programme-client.d.ts +2 -2
  118. package/src/models/copilot-programme/copilot-programme-client.js +2 -6
  119. package/src/models/copilot-programme/i-copilot-programme.d.ts +1 -1
  120. package/src/models/copilot-programme/i-copilot-programme.js +1 -2
  121. package/src/models/customerio-organisation/customerio-organisation-client.d.ts +2 -2
  122. package/src/models/customerio-organisation/customerio-organisation-client.js +2 -6
  123. package/src/models/customerio-organisation/i-customer-io-organisation.d.ts +1 -1
  124. package/src/models/customerio-organisation/i-customer-io-organisation.js +1 -2
  125. package/src/models/customerio-organisation/i-review.js +1 -2
  126. package/src/models/customerio-programme/customerio-programme-client.d.ts +2 -2
  127. package/src/models/customerio-programme/customerio-programme-client.js +2 -6
  128. package/src/models/customerio-programme/i-customer-io-programme.d.ts +1 -1
  129. package/src/models/customerio-programme/i-customer-io-programme.js +1 -2
  130. package/src/models/customerio-programme/i-internal-link.js +1 -2
  131. package/src/models/faq-static-content/i-faq-static-content.d.ts +2 -2
  132. package/src/models/faq-static-content/i-faq-static-content.js +1 -2
  133. package/src/models/faq-static-content/i-faq.js +1 -2
  134. package/src/models/faq-static-content/i-static-content-url.js +1 -2
  135. package/src/models/faq-static-content/i-static-content.d.ts +1 -1
  136. package/src/models/faq-static-content/i-static-content.js +1 -2
  137. package/src/models/faq-static-content/public-faq-static-content-client.d.ts +2 -2
  138. package/src/models/faq-static-content/public-faq-static-content-client.js +2 -6
  139. package/src/models/organisation-card/i-organisation-card.d.ts +2 -2
  140. package/src/models/organisation-card/i-organisation-card.js +1 -2
  141. package/src/models/organisation-card/i-ranking-discipline.js +1 -2
  142. package/src/models/organisation-card/organisation-card-client.d.ts +2 -2
  143. package/src/models/organisation-card/organisation-card-client.js +2 -6
  144. package/src/models/organisation-for-search/i-organisation-for-search.js +1 -2
  145. package/src/models/organisation-for-search/public-organisation-for-search-client.d.ts +2 -2
  146. package/src/models/organisation-for-search/public-organisation-for-search-client.js +2 -6
  147. package/src/models/organisation-search-document/i-organisation-search-document.js +1 -2
  148. package/src/models/organisation-search-document/organisation-search-document-client.d.ts +2 -2
  149. package/src/models/organisation-search-document/organisation-search-document-client.js +2 -6
  150. package/src/models/programme-card/i-click-tracking-data.js +1 -2
  151. package/src/models/programme-card/i-cover.js +1 -2
  152. package/src/models/programme-card/i-deadline.js +1 -2
  153. package/src/models/programme-card/i-duration.js +1 -2
  154. package/src/models/programme-card/i-internal-link.js +1 -2
  155. package/src/models/programme-card/i-link.js +1 -2
  156. package/src/models/programme-card/i-location.d.ts +1 -1
  157. package/src/models/programme-card/i-location.js +1 -2
  158. package/src/models/programme-card/i-logo.js +1 -2
  159. package/src/models/programme-card/i-optional-link.js +1 -2
  160. package/src/models/programme-card/i-programme-card.d.ts +2 -2
  161. package/src/models/programme-card/i-programme-card.js +1 -2
  162. package/src/models/programme-card/i-start-date.d.ts +1 -1
  163. package/src/models/programme-card/i-start-date.js +1 -2
  164. package/src/models/programme-card/i-timing.d.ts +1 -1
  165. package/src/models/programme-card/i-timing.js +1 -2
  166. package/src/models/programme-card/i-tracked-link.d.ts +1 -1
  167. package/src/models/programme-card/i-tracked-link.js +1 -2
  168. package/src/models/programme-card/i-tracking.d.ts +1 -1
  169. package/src/models/programme-card/i-tracking.js +1 -2
  170. package/src/models/programme-card/i-tuition-fee.js +1 -2
  171. package/src/models/programme-card/programme-card-client.d.ts +2 -2
  172. package/src/models/programme-card/programme-card-client.js +2 -6
  173. package/src/models/ranking-cards/i-ranking.js +1 -2
  174. package/src/models/scholarship-card/i-scholarship-card-v2.js +1 -2
  175. package/src/models/scholarship-card/i-scholarship-card.js +1 -2
  176. package/src/models/scholarship-card/public-scholarship-card-client.d.ts +2 -2
  177. package/src/models/scholarship-card/public-scholarship-card-client.js +2 -6
  178. package/src/models/scholarship-card/scholarship-card-v2-client.d.ts +2 -2
  179. package/src/models/scholarship-card/scholarship-card-v2-client.js +2 -6
  180. package/src/models/scholarship-search-document/i-scholarship-search-document.js +1 -2
  181. package/src/models/scholarship-search-document/scholarship-search-document-client.d.ts +2 -2
  182. package/src/models/scholarship-search-document/scholarship-search-document-client.js +2 -6
  183. package/src/models/search-discipline/i-search-discipline.js +1 -2
  184. package/src/models/search-discipline/public-search-discipline-client.d.ts +2 -2
  185. package/src/models/search-discipline/public-search-discipline-client.js +2 -6
  186. package/src/models/search-projection/i-geo-targeting-configuration.js +1 -2
  187. package/src/models/search-projection/i-geo-targeting-values.d.ts +1 -1
  188. package/src/models/search-projection/i-geo-targeting-values.js +1 -2
  189. package/src/models/search-projection/i-organisation-values.js +1 -2
  190. package/src/models/search-projection/i-premium-values.js +1 -2
  191. package/src/models/search-projection/i-search-projection.d.ts +1 -1
  192. package/src/models/search-projection/i-search-projection.js +1 -2
  193. package/src/models/search-projection/i-tuition-values.js +1 -2
  194. package/src/models/search-projection/search-projection-client.d.ts +2 -2
  195. package/src/models/search-projection/search-projection-client.js +2 -6
  196. package/src/models/sitemap-articles-info/i-sitemap-article-info.js +1 -2
  197. package/src/models/sitemap-articles-info/sitemap-articles-info-client.d.ts +2 -2
  198. package/src/models/sitemap-articles-info/sitemap-articles-info-client.js +2 -6
  199. package/src/models/sitemap-cities-info/i-sitemap-city-info.js +1 -2
  200. package/src/models/sitemap-cities-info/sitemap-cities-info-client.d.ts +2 -2
  201. package/src/models/sitemap-cities-info/sitemap-cities-info-client.js +2 -6
  202. package/src/models/sitemap-countries-info/i-sitemap-country-info.js +1 -2
  203. package/src/models/sitemap-countries-info/sitemap-countries-info-client.d.ts +2 -2
  204. package/src/models/sitemap-countries-info/sitemap-countries-info-client.js +2 -6
  205. package/src/models/sitemap-country-degree-info/i-degree-info.js +1 -2
  206. package/src/models/sitemap-country-degree-info/i-sitemap-country-degree-info.d.ts +1 -1
  207. package/src/models/sitemap-country-degree-info/i-sitemap-country-degree-info.js +1 -2
  208. package/src/models/sitemap-country-degree-info/sitemap-country-degree-info-client.d.ts +2 -2
  209. package/src/models/sitemap-country-degree-info/sitemap-country-degree-info-client.js +2 -6
  210. package/src/models/sitemap-disciplines-info/i-sitemap-discipline-info.js +1 -2
  211. package/src/models/sitemap-disciplines-info/sitemap-disciplines-info-client.d.ts +2 -2
  212. package/src/models/sitemap-disciplines-info/sitemap-disciplines-info-client.js +2 -6
  213. package/src/models/sitemap-organisations-info/i-sitemap-organisation-info.js +1 -2
  214. package/src/models/sitemap-organisations-info/sitemap-organisations-info-client.d.ts +2 -2
  215. package/src/models/sitemap-organisations-info/sitemap-organisations-info-client.js +2 -6
  216. package/src/models/sitemap-programme-info/i-sitemap-programme-info.js +1 -2
  217. package/src/models/sitemap-programme-info/sitemap-programme-info-client.d.ts +2 -2
  218. package/src/models/sitemap-programme-info/sitemap-programme-info-client.js +2 -6
  219. package/src/models/sitemap-rankings-info/i-sitemap-rankings-info.js +1 -2
  220. package/src/models/sitemap-rankings-info/sitemap-rankings-info-client.d.ts +2 -2
  221. package/src/models/sitemap-rankings-info/sitemap-rankings-info-client.js +2 -6
  222. package/src/types/portal-map.d.ts +1 -1
  223. package/src/types/portal-map.js +1 -2
  224. package/src/types/portal-type.js +2 -5
  225. package/src/types.js +1 -2
@@ -1,36 +1,33 @@
1
- "use strict";
2
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
2
  // versions:
4
3
  // protoc-gen-ts_proto v2.7.5
5
4
  // protoc v3.12.4
6
5
  // source: Organisation.proto
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.Country = exports.City = exports.Venue = exports.StudyCountPerPortal = exports.Organisation_RankingsEntry = exports.Organisation = void 0;
9
6
  /* eslint-disable */
10
- const Area_1 = require("./Area");
11
- const CommercialEntity_1 = require("./CommercialEntity");
12
- const Degree_1 = require("./Degree");
13
- const Discipline_1 = require("./Discipline");
14
- const File_1 = require("./File");
15
- const Link_1 = require("./Link");
16
- const OrganisationRanking_1 = require("./OrganisationRanking");
17
- const Ranking_1 = require("./Ranking");
18
- const Review_1 = require("./Review");
19
- const ReviewRating_1 = require("./ReviewRating");
20
- const SocialLink_1 = require("./SocialLink");
21
- const Unibuddy_1 = require("./Unibuddy");
22
- exports.Organisation = {
7
+ import { Area } from "./Area.js";
8
+ import { CommercialEntity } from "./CommercialEntity.js";
9
+ import { Degree } from "./Degree.js";
10
+ import { Discipline } from "./Discipline.js";
11
+ import { File } from "./File.js";
12
+ import { Link } from "./Link.js";
13
+ import { OrganisationRanking } from "./OrganisationRanking.js";
14
+ import { Ranking } from "./Ranking.js";
15
+ import { Review } from "./Review.js";
16
+ import { ReviewRating } from "./ReviewRating.js";
17
+ import { SocialLink } from "./SocialLink.js";
18
+ import { Unibuddy } from "./Unibuddy.js";
19
+ export const Organisation = {
23
20
  fromJSON(object) {
24
21
  return {
25
22
  id: isSet(object.id) ? globalThis.Number(object.id) : 0,
26
23
  topOrganisationId: isSet(object.topOrganisationId) ? globalThis.Number(object.topOrganisationId) : 0,
27
24
  name: isSet(object.name) ? globalThis.String(object.name) : undefined,
28
25
  amountOfProgrammes: isSet(object.amountOfProgrammes) ? globalThis.Number(object.amountOfProgrammes) : 0,
29
- logo: isSet(object.logo) ? File_1.File.fromJSON(object.logo) : undefined,
26
+ logo: isSet(object.logo) ? File.fromJSON(object.logo) : undefined,
30
27
  hasLogo: isSet(object.hasLogo) ? globalThis.Boolean(object.hasLogo) : false,
31
- squareLogo: isSet(object.squareLogo) ? File_1.File.fromJSON(object.squareLogo) : undefined,
28
+ squareLogo: isSet(object.squareLogo) ? File.fromJSON(object.squareLogo) : undefined,
32
29
  hasSquareLogo: isSet(object.hasSquareLogo) ? globalThis.Boolean(object.hasSquareLogo) : false,
33
- organisationLink: isSet(object.organisationLink) ? Link_1.Link.fromJSON(object.organisationLink) : undefined,
30
+ organisationLink: isSet(object.organisationLink) ? Link.fromJSON(object.organisationLink) : undefined,
34
31
  summary: isSet(object.summary) ? globalThis.String(object.summary) : undefined,
35
32
  isPublished: isSet(object.isPublished) ? globalThis.Boolean(object.isPublished) : false,
36
33
  longDescription: isSet(object.longDescription) ? globalThis.String(object.longDescription) : undefined,
@@ -40,7 +37,7 @@ exports.Organisation = {
40
37
  ? globalThis.String(object.trafficSourceForwardingMethod)
41
38
  : undefined,
42
39
  links: globalThis.Array.isArray(object?.links)
43
- ? object.links.map((e) => SocialLink_1.SocialLink.fromJSON(e))
40
+ ? object.links.map((e) => SocialLink.fromJSON(e))
44
41
  : [],
45
42
  promo: isSet(object.promo) ? globalThis.String(object.promo) : undefined,
46
43
  canonical: isSet(object.canonical) ? globalThis.String(object.canonical) : undefined,
@@ -53,13 +50,13 @@ exports.Organisation = {
53
50
  servicesICT: isSet(object.servicesICT) ? globalThis.String(object.servicesICT) : undefined,
54
51
  servicesMedical: isSet(object.servicesMedical) ? globalThis.String(object.servicesMedical) : undefined,
55
52
  studentLifeCampus: isSet(object.studentLifeCampus) ? globalThis.String(object.studentLifeCampus) : undefined,
56
- cover: isSet(object.cover) ? File_1.File.fromJSON(object.cover) : undefined,
53
+ cover: isSet(object.cover) ? File.fromJSON(object.cover) : undefined,
57
54
  longitude: isSet(object.longitude) ? globalThis.String(object.longitude) : undefined,
58
55
  latitude: isSet(object.latitude) ? globalThis.String(object.latitude) : undefined,
59
56
  reasons: globalThis.Array.isArray(object?.reasons) ? object.reasons.map((e) => globalThis.String(e)) : [],
60
- city: isSet(object.city) ? exports.City.fromJSON(object.city) : undefined,
57
+ city: isSet(object.city) ? City.fromJSON(object.city) : undefined,
61
58
  mediaFiles: globalThis.Array.isArray(object?.mediaFiles)
62
- ? object.mediaFiles.map((e) => File_1.File.fromJSON(e))
59
+ ? object.mediaFiles.map((e) => File.fromJSON(e))
63
60
  : [],
64
61
  students: isSet(object.students) ? globalThis.Number(object.students) : undefined,
65
62
  studentsInternational: isSet(object.studentsInternational)
@@ -75,45 +72,45 @@ exports.Organisation = {
75
72
  : undefined,
76
73
  hasFiles: isSet(object.hasFiles) ? globalThis.Boolean(object.hasFiles) : false,
77
74
  studyCountPerPortal: globalThis.Array.isArray(object?.studyCountPerPortal)
78
- ? object.studyCountPerPortal.map((e) => exports.StudyCountPerPortal.fromJSON(e))
75
+ ? object.studyCountPerPortal.map((e) => StudyCountPerPortal.fromJSON(e))
79
76
  : [],
80
77
  rankings: isObject(object.rankings)
81
78
  ? Object.entries(object.rankings).reduce((acc, [key, value]) => {
82
- acc[globalThis.Number(key)] = Ranking_1.Ranking.fromJSON(value);
79
+ acc[globalThis.Number(key)] = Ranking.fromJSON(value);
83
80
  return acc;
84
81
  }, {})
85
82
  : {},
86
83
  services: isSet(object.services) ? globalThis.String(object.services) : undefined,
87
84
  accreditation: isSet(object.accreditation) ? globalThis.String(object.accreditation) : undefined,
88
- topOrganisation: isSet(object.topOrganisation) ? exports.Organisation.fromJSON(object.topOrganisation) : undefined,
85
+ topOrganisation: isSet(object.topOrganisation) ? Organisation.fromJSON(object.topOrganisation) : undefined,
89
86
  venues: globalThis.Array.isArray(object?.venues)
90
- ? object.venues.map((e) => exports.Venue.fromJSON(e))
87
+ ? object.venues.map((e) => Venue.fromJSON(e))
91
88
  : [],
92
89
  linksHomepage: globalThis.Array.isArray(object?.linksHomepage)
93
- ? object.linksHomepage.map((e) => SocialLink_1.SocialLink.fromJSON(e))
90
+ ? object.linksHomepage.map((e) => SocialLink.fromJSON(e))
94
91
  : [],
95
92
  studentLife: isSet(object.studentLife) ? globalThis.String(object.studentLife) : undefined,
96
93
  isOnlineOnly: isSet(object.isOnlineOnly) ? globalThis.Boolean(object.isOnlineOnly) : false,
97
94
  research: isSet(object.research) ? globalThis.String(object.research) : "",
98
- reviews: isSet(object.reviews) ? ReviewRating_1.ReviewRating.fromJSON(object.reviews) : undefined,
95
+ reviews: isSet(object.reviews) ? ReviewRating.fromJSON(object.reviews) : undefined,
99
96
  mostFavorableRanking: isSet(object.mostFavorableRanking)
100
- ? OrganisationRanking_1.OrganisationRanking.fromJSON(object.mostFavorableRanking)
97
+ ? OrganisationRanking.fromJSON(object.mostFavorableRanking)
101
98
  : undefined,
102
99
  universityReviews: globalThis.Array.isArray(object?.universityReviews)
103
- ? object.universityReviews.map((e) => Review_1.Review.fromJSON(e))
100
+ ? object.universityReviews.map((e) => Review.fromJSON(e))
104
101
  : [],
105
102
  isGSSAWinner: isSet(object.isGSSAWinner) ? globalThis.Boolean(object.isGSSAWinner) : false,
106
103
  isPublicFunding: isSet(object.isPublicFunding) ? globalThis.Boolean(object.isPublicFunding) : false,
107
104
  isNonProfitFunding: isSet(object.isNonProfitFunding) ? globalThis.Boolean(object.isNonProfitFunding) : false,
108
105
  isForProfitFunding: isSet(object.isForProfitFunding) ? globalThis.Boolean(object.isForProfitFunding) : false,
109
106
  mostPositiveUniversityReview: isSet(object.mostPositiveUniversityReview)
110
- ? Review_1.Review.fromJSON(object.mostPositiveUniversityReview)
107
+ ? Review.fromJSON(object.mostPositiveUniversityReview)
111
108
  : undefined,
112
- country: isSet(object.country) ? exports.Country.fromJSON(object.country) : undefined,
109
+ country: isSet(object.country) ? Country.fromJSON(object.country) : undefined,
113
110
  mostCriticalUniversityReview: isSet(object.mostCriticalUniversityReview)
114
- ? Review_1.Review.fromJSON(object.mostCriticalUniversityReview)
111
+ ? Review.fromJSON(object.mostCriticalUniversityReview)
115
112
  : undefined,
116
- unibuddy: isSet(object.unibuddy) ? Unibuddy_1.Unibuddy.fromJSON(object.unibuddy) : undefined,
113
+ unibuddy: isSet(object.unibuddy) ? Unibuddy.fromJSON(object.unibuddy) : undefined,
117
114
  canBeIndexed: isSet(object.canBeIndexed) ? globalThis.Boolean(object.canBeIndexed) : false,
118
115
  isTopOrganisation: isSet(object.isTopOrganisation) ? globalThis.Boolean(object.isTopOrganisation) : false,
119
116
  persistGlParamRefLink: isSet(object.persistGlParamRefLink)
@@ -124,7 +121,7 @@ exports.Organisation = {
124
121
  : false,
125
122
  virtualPath: isSet(object.virtualPath) ? globalThis.String(object.virtualPath) : "",
126
123
  virtualName: isSet(object.virtualName) ? globalThis.String(object.virtualName) : "",
127
- commercialEntity: isSet(object.commercialEntity) ? CommercialEntity_1.CommercialEntity.fromJSON(object.commercialEntity) : undefined,
124
+ commercialEntity: isSet(object.commercialEntity) ? CommercialEntity.fromJSON(object.commercialEntity) : undefined,
128
125
  canShowAon: isSet(object.canShowAon) ? globalThis.Boolean(object.canShowAon) : false,
129
126
  reviewCount: isSet(object.reviewCount) ? globalThis.Number(object.reviewCount) : 0,
130
127
  globalMetaRankingPosition: isSet(object.globalMetaRankingPosition)
@@ -156,19 +153,19 @@ exports.Organisation = {
156
153
  obj.amountOfProgrammes = Math.round(message.amountOfProgrammes);
157
154
  }
158
155
  if (message.logo !== undefined) {
159
- obj.logo = File_1.File.toJSON(message.logo);
156
+ obj.logo = File.toJSON(message.logo);
160
157
  }
161
158
  if (message.hasLogo !== false) {
162
159
  obj.hasLogo = message.hasLogo;
163
160
  }
164
161
  if (message.squareLogo !== undefined) {
165
- obj.squareLogo = File_1.File.toJSON(message.squareLogo);
162
+ obj.squareLogo = File.toJSON(message.squareLogo);
166
163
  }
167
164
  if (message.hasSquareLogo !== false) {
168
165
  obj.hasSquareLogo = message.hasSquareLogo;
169
166
  }
170
167
  if (message.organisationLink !== undefined) {
171
- obj.organisationLink = Link_1.Link.toJSON(message.organisationLink);
168
+ obj.organisationLink = Link.toJSON(message.organisationLink);
172
169
  }
173
170
  if (message.summary !== undefined) {
174
171
  obj.summary = message.summary;
@@ -189,7 +186,7 @@ exports.Organisation = {
189
186
  obj.trafficSourceForwardingMethod = message.trafficSourceForwardingMethod;
190
187
  }
191
188
  if (message.links?.length) {
192
- obj.links = message.links.map((e) => SocialLink_1.SocialLink.toJSON(e));
189
+ obj.links = message.links.map((e) => SocialLink.toJSON(e));
193
190
  }
194
191
  if (message.promo !== undefined) {
195
192
  obj.promo = message.promo;
@@ -225,7 +222,7 @@ exports.Organisation = {
225
222
  obj.studentLifeCampus = message.studentLifeCampus;
226
223
  }
227
224
  if (message.cover !== undefined) {
228
- obj.cover = File_1.File.toJSON(message.cover);
225
+ obj.cover = File.toJSON(message.cover);
229
226
  }
230
227
  if (message.longitude !== undefined) {
231
228
  obj.longitude = message.longitude;
@@ -237,10 +234,10 @@ exports.Organisation = {
237
234
  obj.reasons = message.reasons;
238
235
  }
239
236
  if (message.city !== undefined) {
240
- obj.city = exports.City.toJSON(message.city);
237
+ obj.city = City.toJSON(message.city);
241
238
  }
242
239
  if (message.mediaFiles?.length) {
243
- obj.mediaFiles = message.mediaFiles.map((e) => File_1.File.toJSON(e));
240
+ obj.mediaFiles = message.mediaFiles.map((e) => File.toJSON(e));
244
241
  }
245
242
  if (message.students !== undefined) {
246
243
  obj.students = Math.round(message.students);
@@ -270,14 +267,14 @@ exports.Organisation = {
270
267
  obj.hasFiles = message.hasFiles;
271
268
  }
272
269
  if (message.studyCountPerPortal?.length) {
273
- obj.studyCountPerPortal = message.studyCountPerPortal.map((e) => exports.StudyCountPerPortal.toJSON(e));
270
+ obj.studyCountPerPortal = message.studyCountPerPortal.map((e) => StudyCountPerPortal.toJSON(e));
274
271
  }
275
272
  if (message.rankings) {
276
273
  const entries = Object.entries(message.rankings);
277
274
  if (entries.length > 0) {
278
275
  obj.rankings = {};
279
276
  entries.forEach(([k, v]) => {
280
- obj.rankings[k] = Ranking_1.Ranking.toJSON(v);
277
+ obj.rankings[k] = Ranking.toJSON(v);
281
278
  });
282
279
  }
283
280
  }
@@ -288,13 +285,13 @@ exports.Organisation = {
288
285
  obj.accreditation = message.accreditation;
289
286
  }
290
287
  if (message.topOrganisation !== undefined) {
291
- obj.topOrganisation = exports.Organisation.toJSON(message.topOrganisation);
288
+ obj.topOrganisation = Organisation.toJSON(message.topOrganisation);
292
289
  }
293
290
  if (message.venues?.length) {
294
- obj.venues = message.venues.map((e) => exports.Venue.toJSON(e));
291
+ obj.venues = message.venues.map((e) => Venue.toJSON(e));
295
292
  }
296
293
  if (message.linksHomepage?.length) {
297
- obj.linksHomepage = message.linksHomepage.map((e) => SocialLink_1.SocialLink.toJSON(e));
294
+ obj.linksHomepage = message.linksHomepage.map((e) => SocialLink.toJSON(e));
298
295
  }
299
296
  if (message.studentLife !== undefined) {
300
297
  obj.studentLife = message.studentLife;
@@ -306,13 +303,13 @@ exports.Organisation = {
306
303
  obj.research = message.research;
307
304
  }
308
305
  if (message.reviews !== undefined) {
309
- obj.reviews = ReviewRating_1.ReviewRating.toJSON(message.reviews);
306
+ obj.reviews = ReviewRating.toJSON(message.reviews);
310
307
  }
311
308
  if (message.mostFavorableRanking !== undefined) {
312
- obj.mostFavorableRanking = OrganisationRanking_1.OrganisationRanking.toJSON(message.mostFavorableRanking);
309
+ obj.mostFavorableRanking = OrganisationRanking.toJSON(message.mostFavorableRanking);
313
310
  }
314
311
  if (message.universityReviews?.length) {
315
- obj.universityReviews = message.universityReviews.map((e) => Review_1.Review.toJSON(e));
312
+ obj.universityReviews = message.universityReviews.map((e) => Review.toJSON(e));
316
313
  }
317
314
  if (message.isGSSAWinner !== false) {
318
315
  obj.isGSSAWinner = message.isGSSAWinner;
@@ -327,16 +324,16 @@ exports.Organisation = {
327
324
  obj.isForProfitFunding = message.isForProfitFunding;
328
325
  }
329
326
  if (message.mostPositiveUniversityReview !== undefined) {
330
- obj.mostPositiveUniversityReview = Review_1.Review.toJSON(message.mostPositiveUniversityReview);
327
+ obj.mostPositiveUniversityReview = Review.toJSON(message.mostPositiveUniversityReview);
331
328
  }
332
329
  if (message.country !== undefined) {
333
- obj.country = exports.Country.toJSON(message.country);
330
+ obj.country = Country.toJSON(message.country);
334
331
  }
335
332
  if (message.mostCriticalUniversityReview !== undefined) {
336
- obj.mostCriticalUniversityReview = Review_1.Review.toJSON(message.mostCriticalUniversityReview);
333
+ obj.mostCriticalUniversityReview = Review.toJSON(message.mostCriticalUniversityReview);
337
334
  }
338
335
  if (message.unibuddy !== undefined) {
339
- obj.unibuddy = Unibuddy_1.Unibuddy.toJSON(message.unibuddy);
336
+ obj.unibuddy = Unibuddy.toJSON(message.unibuddy);
340
337
  }
341
338
  if (message.canBeIndexed !== false) {
342
339
  obj.canBeIndexed = message.canBeIndexed;
@@ -357,7 +354,7 @@ exports.Organisation = {
357
354
  obj.virtualName = message.virtualName;
358
355
  }
359
356
  if (message.commercialEntity !== undefined) {
360
- obj.commercialEntity = CommercialEntity_1.CommercialEntity.toJSON(message.commercialEntity);
357
+ obj.commercialEntity = CommercialEntity.toJSON(message.commercialEntity);
361
358
  }
362
359
  if (message.canShowAon !== false) {
363
360
  obj.canShowAon = message.canShowAon;
@@ -380,11 +377,11 @@ exports.Organisation = {
380
377
  return obj;
381
378
  },
382
379
  };
383
- exports.Organisation_RankingsEntry = {
380
+ export const Organisation_RankingsEntry = {
384
381
  fromJSON(object) {
385
382
  return {
386
383
  key: isSet(object.key) ? globalThis.Number(object.key) : 0,
387
- value: isSet(object.value) ? Ranking_1.Ranking.fromJSON(object.value) : undefined,
384
+ value: isSet(object.value) ? Ranking.fromJSON(object.value) : undefined,
388
385
  };
389
386
  },
390
387
  toJSON(message) {
@@ -393,12 +390,12 @@ exports.Organisation_RankingsEntry = {
393
390
  obj.key = Math.round(message.key);
394
391
  }
395
392
  if (message.value !== undefined) {
396
- obj.value = Ranking_1.Ranking.toJSON(message.value);
393
+ obj.value = Ranking.toJSON(message.value);
397
394
  }
398
395
  return obj;
399
396
  },
400
397
  };
401
- exports.StudyCountPerPortal = {
398
+ export const StudyCountPerPortal = {
402
399
  fromJSON(object) {
403
400
  return {
404
401
  portal: isSet(object.portal) ? globalThis.String(object.portal) : "",
@@ -416,11 +413,11 @@ exports.StudyCountPerPortal = {
416
413
  return obj;
417
414
  },
418
415
  };
419
- exports.Venue = {
416
+ export const Venue = {
420
417
  fromJSON(object) {
421
418
  return {
422
419
  id: isSet(object.id) ? globalThis.Number(object.id) : 0,
423
- cities: globalThis.Array.isArray(object?.cities) ? object.cities.map((e) => exports.City.fromJSON(e)) : [],
420
+ cities: globalThis.Array.isArray(object?.cities) ? object.cities.map((e) => City.fromJSON(e)) : [],
424
421
  };
425
422
  },
426
423
  toJSON(message) {
@@ -429,20 +426,20 @@ exports.Venue = {
429
426
  obj.id = Math.round(message.id);
430
427
  }
431
428
  if (message.cities?.length) {
432
- obj.cities = message.cities.map((e) => exports.City.toJSON(e));
429
+ obj.cities = message.cities.map((e) => City.toJSON(e));
433
430
  }
434
431
  return obj;
435
432
  },
436
433
  };
437
- exports.City = {
434
+ export const City = {
438
435
  fromJSON(object) {
439
436
  return {
440
437
  id: isSet(object.id) ? globalThis.Number(object.id) : 0,
441
438
  name: isSet(object.name) ? globalThis.String(object.name) : undefined,
442
439
  amountOfProgrammes: isSet(object.amountOfProgrammes) ? globalThis.Number(object.amountOfProgrammes) : 0,
443
- cityLink: isSet(object.cityLink) ? Link_1.Link.fromJSON(object.cityLink) : undefined,
440
+ cityLink: isSet(object.cityLink) ? Link.fromJSON(object.cityLink) : undefined,
444
441
  organisations: globalThis.Array.isArray(object?.organisations)
445
- ? object.organisations.map((e) => exports.Organisation.fromJSON(e))
442
+ ? object.organisations.map((e) => Organisation.fromJSON(e))
446
443
  : [],
447
444
  liveIn: isSet(object.liveIn) ? globalThis.String(object.liveIn) : undefined,
448
445
  atmosphere: isSet(object.atmosphere) ? globalThis.String(object.atmosphere) : undefined,
@@ -457,16 +454,16 @@ exports.City = {
457
454
  livingCostsMax: isSet(object.livingCostsMax) ? globalThis.Number(object.livingCostsMax) : undefined,
458
455
  currency: isSet(object.currency) ? globalThis.String(object.currency) : undefined,
459
456
  studyIn: isSet(object.studyIn) ? globalThis.String(object.studyIn) : undefined,
460
- country: isSet(object.country) ? exports.Country.fromJSON(object.country) : undefined,
457
+ country: isSet(object.country) ? Country.fromJSON(object.country) : undefined,
461
458
  opportunities: isSet(object.opportunities) ? globalThis.String(object.opportunities) : undefined,
462
459
  longitude: isSet(object.longitude) ? globalThis.String(object.longitude) : undefined,
463
460
  latitude: isSet(object.latitude) ? globalThis.String(object.latitude) : undefined,
464
461
  organisationCount: isSet(object.organisationCount) ? globalThis.Number(object.organisationCount) : 0,
465
462
  hasOrganisations: isSet(object.hasOrganisations) ? globalThis.Boolean(object.hasOrganisations) : false,
466
463
  summary: isSet(object.summary) ? globalThis.String(object.summary) : undefined,
467
- area: isSet(object.area) ? Area_1.Area.fromJSON(object.area) : undefined,
464
+ area: isSet(object.area) ? Area.fromJSON(object.area) : undefined,
468
465
  hasCover: isSet(object.hasCover) ? globalThis.Boolean(object.hasCover) : false,
469
- cover: isSet(object.cover) ? File_1.File.fromJSON(object.cover) : undefined,
466
+ cover: isSet(object.cover) ? File.fromJSON(object.cover) : undefined,
470
467
  canBeIndexed: isSet(object.canBeIndexed) ? globalThis.Boolean(object.canBeIndexed) : false,
471
468
  };
472
469
  },
@@ -482,10 +479,10 @@ exports.City = {
482
479
  obj.amountOfProgrammes = Math.round(message.amountOfProgrammes);
483
480
  }
484
481
  if (message.cityLink !== undefined) {
485
- obj.cityLink = Link_1.Link.toJSON(message.cityLink);
482
+ obj.cityLink = Link.toJSON(message.cityLink);
486
483
  }
487
484
  if (message.organisations?.length) {
488
- obj.organisations = message.organisations.map((e) => exports.Organisation.toJSON(e));
485
+ obj.organisations = message.organisations.map((e) => Organisation.toJSON(e));
489
486
  }
490
487
  if (message.liveIn !== undefined) {
491
488
  obj.liveIn = message.liveIn;
@@ -521,7 +518,7 @@ exports.City = {
521
518
  obj.studyIn = message.studyIn;
522
519
  }
523
520
  if (message.country !== undefined) {
524
- obj.country = exports.Country.toJSON(message.country);
521
+ obj.country = Country.toJSON(message.country);
525
522
  }
526
523
  if (message.opportunities !== undefined) {
527
524
  obj.opportunities = message.opportunities;
@@ -542,13 +539,13 @@ exports.City = {
542
539
  obj.summary = message.summary;
543
540
  }
544
541
  if (message.area !== undefined) {
545
- obj.area = Area_1.Area.toJSON(message.area);
542
+ obj.area = Area.toJSON(message.area);
546
543
  }
547
544
  if (message.hasCover !== false) {
548
545
  obj.hasCover = message.hasCover;
549
546
  }
550
547
  if (message.cover !== undefined) {
551
- obj.cover = File_1.File.toJSON(message.cover);
548
+ obj.cover = File.toJSON(message.cover);
552
549
  }
553
550
  if (message.canBeIndexed !== false) {
554
551
  obj.canBeIndexed = message.canBeIndexed;
@@ -556,19 +553,19 @@ exports.City = {
556
553
  return obj;
557
554
  },
558
555
  };
559
- exports.Country = {
556
+ export const Country = {
560
557
  fromJSON(object) {
561
558
  return {
562
559
  id: isSet(object.id) ? globalThis.Number(object.id) : 0,
563
560
  name: isSet(object.name) ? globalThis.String(object.name) : "",
564
561
  isPremium: isSet(object.isPremium) ? globalThis.Boolean(object.isPremium) : false,
565
562
  homepageLink: isSet(object.homepageLink) ? globalThis.String(object.homepageLink) : "",
566
- countryLink: isSet(object.countryLink) ? Link_1.Link.fromJSON(object.countryLink) : undefined,
563
+ countryLink: isSet(object.countryLink) ? Link.fromJSON(object.countryLink) : undefined,
567
564
  whyStudyHere: isSet(object.whyStudyHere) ? globalThis.String(object.whyStudyHere) : undefined,
568
565
  practicalInfo: isSet(object.practicalInfo) ? globalThis.String(object.practicalInfo) : undefined,
569
566
  mayShowGallery: isSet(object.mayShowGallery) ? globalThis.Boolean(object.mayShowGallery) : false,
570
567
  photosAndVideos: globalThis.Array.isArray(object?.photosAndVideos)
571
- ? object.photosAndVideos.map((e) => File_1.File.fromJSON(e))
568
+ ? object.photosAndVideos.map((e) => File.fromJSON(e))
572
569
  : [],
573
570
  researchCareer: isSet(object.researchCareer) ? globalThis.String(object.researchCareer) : undefined,
574
571
  career: isSet(object.career) ? globalThis.String(object.career) : undefined,
@@ -604,7 +601,7 @@ exports.Country = {
604
601
  faqs: isSet(object.faqs) ? globalThis.String(object.faqs) : undefined,
605
602
  hasInstitutes: isSet(object.hasInstitutes) ? globalThis.Boolean(object.hasInstitutes) : false,
606
603
  cities: globalThis.Array.isArray(object?.cities)
607
- ? object.cities.map((e) => exports.City.fromJSON(e))
604
+ ? object.cities.map((e) => City.fromJSON(e))
608
605
  : [],
609
606
  numberOfStudents: isSet(object.numberOfStudents) ? globalThis.Number(object.numberOfStudents) : undefined,
610
607
  studyIn: isSet(object.studyIn) ? globalThis.String(object.studyIn) : undefined,
@@ -623,7 +620,7 @@ exports.Country = {
623
620
  ? globalThis.Number(object.academicEndDateTime)
624
621
  : undefined,
625
622
  disciplineCards: globalThis.Array.isArray(object?.disciplineCards)
626
- ? object.disciplineCards.map((e) => Discipline_1.Discipline.fromJSON(e))
623
+ ? object.disciplineCards.map((e) => Discipline.fromJSON(e))
627
624
  : [],
628
625
  rankedInstitutesCount: isSet(object.rankedInstitutesCount) ? globalThis.Number(object.rankedInstitutesCount) : 0,
629
626
  isoCode: isSet(object.isoCode) ? globalThis.String(object.isoCode) : "",
@@ -631,15 +628,15 @@ exports.Country = {
631
628
  demonym: isSet(object.demonym) ? globalThis.String(object.demonym) : undefined,
632
629
  canShowDemonym: isSet(object.canShowDemonym) ? globalThis.Boolean(object.canShowDemonym) : false,
633
630
  hasDegrees: isSet(object.hasDegrees) ? globalThis.Boolean(object.hasDegrees) : false,
634
- degrees: globalThis.Array.isArray(object?.degrees) ? object.degrees.map((e) => Degree_1.Degree.fromJSON(e)) : [],
631
+ degrees: globalThis.Array.isArray(object?.degrees) ? object.degrees.map((e) => Degree.fromJSON(e)) : [],
635
632
  allDegrees: globalThis.Array.isArray(object?.allDegrees)
636
- ? object.allDegrees.map((e) => Degree_1.Degree.fromJSON(e))
633
+ ? object.allDegrees.map((e) => Degree.fromJSON(e))
637
634
  : [],
638
635
  isCountryUnitedStates: isSet(object.isCountryUnitedStates)
639
636
  ? globalThis.Boolean(object.isCountryUnitedStates)
640
637
  : false,
641
638
  title: isSet(object.title) ? globalThis.String(object.title) : "",
642
- image: isSet(object.image) ? File_1.File.fromJSON(object.image) : undefined,
639
+ image: isSet(object.image) ? File.fromJSON(object.image) : undefined,
643
640
  virtualPath: isSet(object.virtualPath) ? globalThis.String(object.virtualPath) : "",
644
641
  hasFiles: isSet(object.hasFiles) ? globalThis.Boolean(object.hasFiles) : false,
645
642
  mayShowIELTS: isSet(object.mayShowIELTS) ? globalThis.Boolean(object.mayShowIELTS) : false,
@@ -663,7 +660,7 @@ exports.Country = {
663
660
  obj.homepageLink = message.homepageLink;
664
661
  }
665
662
  if (message.countryLink !== undefined) {
666
- obj.countryLink = Link_1.Link.toJSON(message.countryLink);
663
+ obj.countryLink = Link.toJSON(message.countryLink);
667
664
  }
668
665
  if (message.whyStudyHere !== undefined) {
669
666
  obj.whyStudyHere = message.whyStudyHere;
@@ -675,7 +672,7 @@ exports.Country = {
675
672
  obj.mayShowGallery = message.mayShowGallery;
676
673
  }
677
674
  if (message.photosAndVideos?.length) {
678
- obj.photosAndVideos = message.photosAndVideos.map((e) => File_1.File.toJSON(e));
675
+ obj.photosAndVideos = message.photosAndVideos.map((e) => File.toJSON(e));
679
676
  }
680
677
  if (message.researchCareer !== undefined) {
681
678
  obj.researchCareer = message.researchCareer;
@@ -765,7 +762,7 @@ exports.Country = {
765
762
  obj.hasInstitutes = message.hasInstitutes;
766
763
  }
767
764
  if (message.cities?.length) {
768
- obj.cities = message.cities.map((e) => exports.City.toJSON(e));
765
+ obj.cities = message.cities.map((e) => City.toJSON(e));
769
766
  }
770
767
  if (message.numberOfStudents !== undefined) {
771
768
  obj.numberOfStudents = Math.round(message.numberOfStudents);
@@ -792,7 +789,7 @@ exports.Country = {
792
789
  obj.academicEndDateTime = Math.round(message.academicEndDateTime);
793
790
  }
794
791
  if (message.disciplineCards?.length) {
795
- obj.disciplineCards = message.disciplineCards.map((e) => Discipline_1.Discipline.toJSON(e));
792
+ obj.disciplineCards = message.disciplineCards.map((e) => Discipline.toJSON(e));
796
793
  }
797
794
  if (message.rankedInstitutesCount !== 0) {
798
795
  obj.rankedInstitutesCount = Math.round(message.rankedInstitutesCount);
@@ -813,10 +810,10 @@ exports.Country = {
813
810
  obj.hasDegrees = message.hasDegrees;
814
811
  }
815
812
  if (message.degrees?.length) {
816
- obj.degrees = message.degrees.map((e) => Degree_1.Degree.toJSON(e));
813
+ obj.degrees = message.degrees.map((e) => Degree.toJSON(e));
817
814
  }
818
815
  if (message.allDegrees?.length) {
819
- obj.allDegrees = message.allDegrees.map((e) => Degree_1.Degree.toJSON(e));
816
+ obj.allDegrees = message.allDegrees.map((e) => Degree.toJSON(e));
820
817
  }
821
818
  if (message.isCountryUnitedStates !== false) {
822
819
  obj.isCountryUnitedStates = message.isCountryUnitedStates;
@@ -825,7 +822,7 @@ exports.Country = {
825
822
  obj.title = message.title;
826
823
  }
827
824
  if (message.image !== undefined) {
828
- obj.image = File_1.File.toJSON(message.image);
825
+ obj.image = File.toJSON(message.image);
829
826
  }
830
827
  if (message.virtualPath !== "") {
831
828
  obj.virtualPath = message.virtualPath;
@@ -1,12 +1,9 @@
1
- "use strict";
2
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
2
  // versions:
4
3
  // protoc-gen-ts_proto v2.7.5
5
4
  // protoc v3.12.4
6
5
  // source: OrganisationInformation.proto
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.OrganisationInformation = void 0;
9
- exports.OrganisationInformation = {
6
+ export const OrganisationInformation = {
10
7
  fromJSON(object) {
11
8
  return { id: isSet(object.id) ? globalThis.Number(object.id) : 0 };
12
9
  },
@@ -1,5 +1,5 @@
1
- import { Body } from "./Body";
2
- import { RankingInstitute } from "./RankingInstitute";
1
+ import { Body } from "./Body.js";
2
+ import { RankingInstitute } from "./RankingInstitute.js";
3
3
  export interface OrganisationRanking {
4
4
  id: number;
5
5
  name?: string | undefined;
@@ -1,22 +1,19 @@
1
- "use strict";
2
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
2
  // versions:
4
3
  // protoc-gen-ts_proto v2.7.5
5
4
  // protoc v3.12.4
6
5
  // source: OrganisationRanking.proto
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.OrganisationRanking = void 0;
9
6
  /* eslint-disable */
10
- const Body_1 = require("./Body");
11
- const RankingInstitute_1 = require("./RankingInstitute");
12
- exports.OrganisationRanking = {
7
+ import { Body } from "./Body.js";
8
+ import { RankingInstitute } from "./RankingInstitute.js";
9
+ export const OrganisationRanking = {
13
10
  fromJSON(object) {
14
11
  return {
15
12
  id: isSet(object.id) ? globalThis.Number(object.id) : 0,
16
13
  name: isSet(object.name) ? globalThis.String(object.name) : undefined,
17
14
  rank: isSet(object.rank) ? globalThis.Number(object.rank) : 0,
18
- rankingInstitute: isSet(object.rankingInstitute) ? RankingInstitute_1.RankingInstitute.fromJSON(object.rankingInstitute) : undefined,
19
- rankingBody: isSet(object.rankingBody) ? Body_1.Body.fromJSON(object.rankingBody) : undefined,
15
+ rankingInstitute: isSet(object.rankingInstitute) ? RankingInstitute.fromJSON(object.rankingInstitute) : undefined,
16
+ rankingBody: isSet(object.rankingBody) ? Body.fromJSON(object.rankingBody) : undefined,
20
17
  };
21
18
  },
22
19
  toJSON(message) {
@@ -31,10 +28,10 @@ exports.OrganisationRanking = {
31
28
  obj.rank = Math.round(message.rank);
32
29
  }
33
30
  if (message.rankingInstitute !== undefined) {
34
- obj.rankingInstitute = RankingInstitute_1.RankingInstitute.toJSON(message.rankingInstitute);
31
+ obj.rankingInstitute = RankingInstitute.toJSON(message.rankingInstitute);
35
32
  }
36
33
  if (message.rankingBody !== undefined) {
37
- obj.rankingBody = Body_1.Body.toJSON(message.rankingBody);
34
+ obj.rankingBody = Body.toJSON(message.rankingBody);
38
35
  }
39
36
  return obj;
40
37
  },
@@ -1,4 +1,4 @@
1
- import { File } from "./File";
1
+ import { File } from "./File.js";
2
2
  export interface Person {
3
3
  name?: string | undefined;
4
4
  title?: string | undefined;
@@ -1,20 +1,17 @@
1
- "use strict";
2
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
2
  // versions:
4
3
  // protoc-gen-ts_proto v2.7.5
5
4
  // protoc v3.12.4
6
5
  // source: Person.proto
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.Person = void 0;
9
6
  /* eslint-disable */
10
- const File_1 = require("./File");
11
- exports.Person = {
7
+ import { File } from "./File.js";
8
+ export const Person = {
12
9
  fromJSON(object) {
13
10
  return {
14
11
  name: isSet(object.name) ? globalThis.String(object.name) : undefined,
15
12
  title: isSet(object.title) ? globalThis.String(object.title) : undefined,
16
13
  summary: isSet(object.summary) ? globalThis.String(object.summary) : undefined,
17
- logo: isSet(object.logo) ? File_1.File.fromJSON(object.logo) : undefined,
14
+ logo: isSet(object.logo) ? File.fromJSON(object.logo) : undefined,
18
15
  job: isSet(object.job) ? globalThis.String(object.job) : undefined,
19
16
  };
20
17
  },
@@ -30,7 +27,7 @@ exports.Person = {
30
27
  obj.summary = message.summary;
31
28
  }
32
29
  if (message.logo !== undefined) {
33
- obj.logo = File_1.File.toJSON(message.logo);
30
+ obj.logo = File.toJSON(message.logo);
34
31
  }
35
32
  if (message.job !== undefined) {
36
33
  obj.job = message.job;