@studyportals/domain-client 7.0.1-beta.9 → 7.1.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 (303) hide show
  1. package/index.d.ts +90 -0
  2. package/index.js +81 -34
  3. package/package.json +66 -55
  4. package/protobuf/Area.d.ts +11 -0
  5. package/protobuf/Area.js +33 -0
  6. package/protobuf/Article.d.ts +60 -0
  7. package/protobuf/Article.js +229 -0
  8. package/protobuf/Body.d.ts +11 -0
  9. package/protobuf/Body.js +33 -0
  10. package/protobuf/CampaignInformation.d.ts +11 -0
  11. package/protobuf/CampaignInformation.js +33 -0
  12. package/protobuf/ClickTracking.d.ts +11 -0
  13. package/protobuf/ClickTracking.js +33 -0
  14. package/protobuf/CommercialEntity.d.ts +14 -0
  15. package/protobuf/CommercialEntity.js +51 -0
  16. package/protobuf/Cover.d.ts +10 -0
  17. package/protobuf/Cover.js +29 -0
  18. package/protobuf/Deadline.d.ts +11 -0
  19. package/protobuf/Deadline.js +33 -0
  20. package/protobuf/Degree.d.ts +16 -0
  21. package/protobuf/Degree.js +53 -0
  22. package/protobuf/Description.d.ts +16 -0
  23. package/protobuf/Description.js +48 -0
  24. package/protobuf/Discipline.d.ts +26 -0
  25. package/protobuf/Discipline.js +87 -0
  26. package/protobuf/Duration.d.ts +11 -0
  27. package/protobuf/Duration.js +33 -0
  28. package/protobuf/EnglishRequirement.d.ts +11 -0
  29. package/protobuf/EnglishRequirement.js +33 -0
  30. package/protobuf/EssentialInformation.d.ts +17 -0
  31. package/protobuf/EssentialInformation.js +57 -0
  32. package/protobuf/File.d.ts +22 -0
  33. package/protobuf/File.js +77 -0
  34. package/protobuf/GPARequirement.d.ts +11 -0
  35. package/protobuf/GPARequirement.js +33 -0
  36. package/protobuf/InternalLink.d.ts +12 -0
  37. package/protobuf/InternalLink.js +33 -0
  38. package/protobuf/Link.d.ts +11 -0
  39. package/protobuf/Link.js +33 -0
  40. package/protobuf/LivingCost.d.ts +11 -0
  41. package/protobuf/LivingCost.js +33 -0
  42. package/protobuf/Location.d.ts +18 -0
  43. package/protobuf/Location.js +59 -0
  44. package/protobuf/Logo.d.ts +10 -0
  45. package/protobuf/Logo.js +29 -0
  46. package/protobuf/MiniProgrammeCard.d.ts +18 -0
  47. package/protobuf/MiniProgrammeCard.js +53 -0
  48. package/protobuf/OptionalLink.d.ts +12 -0
  49. package/protobuf/OptionalLink.js +37 -0
  50. package/protobuf/Organisation.d.ts +211 -0
  51. package/protobuf/Organisation.js +856 -0
  52. package/protobuf/OrganisationInformation.d.ts +9 -0
  53. package/protobuf/OrganisationInformation.js +23 -0
  54. package/protobuf/OrganisationRanking.d.ts +15 -0
  55. package/protobuf/OrganisationRanking.js +44 -0
  56. package/protobuf/Person.d.ts +14 -0
  57. package/protobuf/Person.js +43 -0
  58. package/protobuf/ProgrammeCard.d.ts +60 -0
  59. package/protobuf/ProgrammeCard.js +200 -0
  60. package/protobuf/ProgrammeGrid.d.ts +14 -0
  61. package/protobuf/ProgrammeGrid.js +40 -0
  62. package/protobuf/Ranking.d.ts +22 -0
  63. package/protobuf/Ranking.js +79 -0
  64. package/protobuf/RankingInstitute.d.ts +15 -0
  65. package/protobuf/RankingInstitute.js +47 -0
  66. package/protobuf/Review.d.ts +17 -0
  67. package/protobuf/Review.js +55 -0
  68. package/protobuf/ReviewRating.d.ts +12 -0
  69. package/protobuf/ReviewRating.js +37 -0
  70. package/protobuf/RichText.d.ts +10 -0
  71. package/protobuf/RichText.js +31 -0
  72. package/protobuf/SocialLink.d.ts +21 -0
  73. package/protobuf/SocialLink.js +73 -0
  74. package/protobuf/StartDate.d.ts +13 -0
  75. package/protobuf/StartDate.js +41 -0
  76. package/protobuf/Timing.d.ts +17 -0
  77. package/protobuf/Timing.js +52 -0
  78. package/protobuf/Topic.d.ts +10 -0
  79. package/protobuf/Topic.js +29 -0
  80. package/protobuf/TrackedLink.d.ts +13 -0
  81. package/protobuf/TrackedLink.js +39 -0
  82. package/protobuf/Tracking.d.ts +18 -0
  83. package/protobuf/Tracking.js +61 -0
  84. package/protobuf/TuitionFee.d.ts +13 -0
  85. package/protobuf/TuitionFee.js +41 -0
  86. package/protobuf/Unibuddy.d.ts +10 -0
  87. package/protobuf/Unibuddy.js +29 -0
  88. package/protobuf/index.d.ts +45 -0
  89. package/protobuf/index.js +61 -0
  90. package/src/clients/article-detail-page-client.d.ts +8 -0
  91. package/src/clients/article-detail-page-client.js +20 -0
  92. package/src/clients/index.d.ts +7 -0
  93. package/src/clients/index.js +23 -0
  94. package/src/clients/organisation-page-client.d.ts +8 -0
  95. package/src/clients/organisation-page-client.js +20 -0
  96. package/src/clients/protobuf-client.d.ts +14 -0
  97. package/src/clients/protobuf-client.js +30 -0
  98. package/src/clients/public-mini-programme-card-client.d.ts +8 -0
  99. package/src/clients/public-mini-programme-card-client.js +20 -0
  100. package/src/domain-client.d.ts +14 -0
  101. package/src/domain-client.js +95 -0
  102. package/src/exceptions/bad-request-exception.d.ts +2 -0
  103. package/src/exceptions/bad-request-exception.js +6 -0
  104. package/src/exceptions/client-exception.d.ts +2 -0
  105. package/src/exceptions/client-exception.js +6 -0
  106. package/src/exceptions/internal-server-exception.d.ts +2 -0
  107. package/src/exceptions/internal-server-exception.js +6 -0
  108. package/src/exceptions/not-found-exception.d.ts +2 -0
  109. package/src/exceptions/not-found-exception.js +6 -0
  110. package/src/exceptions/property-not-available-exception.d.ts +2 -0
  111. package/src/exceptions/property-not-available-exception.js +6 -0
  112. package/src/factories/DateFactory.d.ts +5 -0
  113. package/src/factories/DateFactory.js +9 -0
  114. package/src/factories/InternalLinkFactory.d.ts +9 -0
  115. package/src/factories/InternalLinkFactory.js +26 -0
  116. package/src/i-api-response.d.ts +6 -0
  117. package/src/i-api-response.js +2 -0
  118. package/src/i-class-factory.d.ts +4 -0
  119. package/src/i-class-factory.js +2 -0
  120. package/src/i-model-description.d.ts +7 -0
  121. package/src/i-model-description.js +8 -0
  122. package/src/model-client.d.ts +16 -0
  123. package/src/model-client.js +47 -0
  124. package/src/model-factory.d.ts +11 -0
  125. package/src/model-factory.js +72 -0
  126. package/src/models/bestfit-programme/bestfit-programme-client.d.ts +7 -0
  127. package/src/models/bestfit-programme/bestfit-programme-client.js +16 -0
  128. package/src/models/bestfit-programme/i-best-fit-programme.d.ts +82 -0
  129. package/src/models/bestfit-programme/i-best-fit-programme.js +2 -0
  130. package/src/models/bestfit-programme/i-city.d.ts +14 -0
  131. package/src/models/bestfit-programme/i-city.js +2 -0
  132. package/src/models/bestfit-programme/i-living-cost.d.ts +20 -0
  133. package/src/models/bestfit-programme/i-living-cost.js +2 -0
  134. package/src/models/city-search-document/city-search-document-client.d.ts +7 -0
  135. package/src/models/city-search-document/city-search-document-client.js +16 -0
  136. package/src/models/city-search-document/i-city-search-document.d.ts +7 -0
  137. package/src/models/city-search-document/i-city-search-document.js +2 -0
  138. package/src/models/common/i-city.d.ts +14 -0
  139. package/src/models/common/i-city.js +2 -0
  140. package/src/models/common/i-country.d.ts +20 -0
  141. package/src/models/common/i-country.js +2 -0
  142. package/src/models/common/i-english-requirements.d.ts +51 -0
  143. package/src/models/common/i-english-requirements.js +2 -0
  144. package/src/models/common/i-g-p-a-requirement.d.ts +20 -0
  145. package/src/models/common/i-g-p-a-requirement.js +2 -0
  146. package/src/models/common/i-internal-link.d.ts +28 -0
  147. package/src/models/common/i-internal-link.js +2 -0
  148. package/src/models/common/i-logo.d.ts +14 -0
  149. package/src/models/common/i-logo.js +2 -0
  150. package/src/models/common/i-review-rating.d.ts +26 -0
  151. package/src/models/common/i-review-rating.js +2 -0
  152. package/src/models/common/i-tuition-fee.d.ts +50 -0
  153. package/src/models/common/i-tuition-fee.js +2 -0
  154. package/src/models/copilot-country/copilot-country-client.d.ts +7 -0
  155. package/src/models/copilot-country/copilot-country-client.js +16 -0
  156. package/src/models/copilot-country/i-copilot-country.d.ts +39 -0
  157. package/src/models/copilot-country/i-copilot-country.js +2 -0
  158. package/src/models/copilot-country/i-copilot-ranking-card.d.ts +38 -0
  159. package/src/models/copilot-country/i-copilot-ranking-card.js +2 -0
  160. package/src/models/copilot-programme/copilot-programme-client.d.ts +7 -0
  161. package/src/models/copilot-programme/copilot-programme-client.js +16 -0
  162. package/src/models/copilot-programme/i-copilot-programme.d.ts +125 -0
  163. package/src/models/copilot-programme/i-copilot-programme.js +2 -0
  164. package/src/models/customerio-organisation/customerio-organisation-client.d.ts +7 -0
  165. package/src/models/customerio-organisation/customerio-organisation-client.js +16 -0
  166. package/src/models/customerio-organisation/i-customer-io-organisation.d.ts +35 -0
  167. package/src/models/customerio-organisation/i-customer-io-organisation.js +2 -0
  168. package/src/models/customerio-organisation/i-review.d.ts +7 -0
  169. package/src/models/customerio-organisation/i-review.js +2 -0
  170. package/src/models/customerio-programme/customerio-programme-client.d.ts +7 -0
  171. package/src/models/customerio-programme/customerio-programme-client.js +16 -0
  172. package/src/models/customerio-programme/i-customer-io-programme.d.ts +107 -0
  173. package/src/models/customerio-programme/i-customer-io-programme.js +2 -0
  174. package/src/models/customerio-programme/i-internal-link.d.ts +28 -0
  175. package/src/models/customerio-programme/i-internal-link.js +2 -0
  176. package/src/models/faq-static-content/i-faq-static-content.d.ts +10 -0
  177. package/src/models/faq-static-content/i-faq-static-content.js +2 -0
  178. package/src/models/faq-static-content/i-faq.d.ts +4 -0
  179. package/src/models/faq-static-content/i-faq.js +2 -0
  180. package/src/models/faq-static-content/i-static-content-url.d.ts +4 -0
  181. package/src/models/faq-static-content/i-static-content-url.js +2 -0
  182. package/src/models/faq-static-content/i-static-content.d.ts +5 -0
  183. package/src/models/faq-static-content/i-static-content.js +2 -0
  184. package/src/models/faq-static-content/public-faq-static-content-client.d.ts +7 -0
  185. package/src/models/faq-static-content/public-faq-static-content-client.js +16 -0
  186. package/src/models/organisation-card/i-organisation-card.d.ts +39 -0
  187. package/src/models/organisation-card/i-organisation-card.js +2 -0
  188. package/src/models/organisation-card/i-ranking-discipline.d.ts +4 -0
  189. package/src/models/organisation-card/i-ranking-discipline.js +2 -0
  190. package/src/models/organisation-card/organisation-card-client.d.ts +7 -0
  191. package/src/models/organisation-card/organisation-card-client.js +16 -0
  192. package/src/models/organisation-for-search/i-organisation-for-search.d.ts +32 -0
  193. package/src/models/organisation-for-search/i-organisation-for-search.js +2 -0
  194. package/src/models/organisation-for-search/public-organisation-for-search-client.d.ts +7 -0
  195. package/src/models/organisation-for-search/public-organisation-for-search-client.js +16 -0
  196. package/src/models/organisation-search-document/i-organisation-search-document.d.ts +158 -0
  197. package/src/models/organisation-search-document/i-organisation-search-document.js +2 -0
  198. package/src/models/organisation-search-document/organisation-search-document-client.d.ts +7 -0
  199. package/src/models/organisation-search-document/organisation-search-document-client.js +16 -0
  200. package/src/models/programme-card/i-click-tracking-data.d.ts +5 -0
  201. package/src/models/programme-card/i-click-tracking-data.js +2 -0
  202. package/src/models/programme-card/i-cover.d.ts +14 -0
  203. package/src/models/programme-card/i-cover.js +2 -0
  204. package/src/models/programme-card/i-deadline.d.ts +20 -0
  205. package/src/models/programme-card/i-deadline.js +2 -0
  206. package/src/models/programme-card/i-duration.d.ts +40 -0
  207. package/src/models/programme-card/i-duration.js +2 -0
  208. package/src/models/programme-card/i-internal-link.d.ts +28 -0
  209. package/src/models/programme-card/i-internal-link.js +2 -0
  210. package/src/models/programme-card/i-link.d.ts +22 -0
  211. package/src/models/programme-card/i-link.js +2 -0
  212. package/src/models/programme-card/i-location.d.ts +12 -0
  213. package/src/models/programme-card/i-location.js +2 -0
  214. package/src/models/programme-card/i-logo.d.ts +14 -0
  215. package/src/models/programme-card/i-logo.js +2 -0
  216. package/src/models/programme-card/i-optional-link.d.ts +23 -0
  217. package/src/models/programme-card/i-optional-link.js +2 -0
  218. package/src/models/programme-card/i-programme-card.d.ts +212 -0
  219. package/src/models/programme-card/i-programme-card.js +2 -0
  220. package/src/models/programme-card/i-start-date.d.ts +33 -0
  221. package/src/models/programme-card/i-start-date.js +2 -0
  222. package/src/models/programme-card/i-timing.d.ts +45 -0
  223. package/src/models/programme-card/i-timing.js +2 -0
  224. package/src/models/programme-card/i-tracked-link.d.ts +29 -0
  225. package/src/models/programme-card/i-tracked-link.js +2 -0
  226. package/src/models/programme-card/i-tracking.d.ts +46 -0
  227. package/src/models/programme-card/i-tracking.js +2 -0
  228. package/src/models/programme-card/i-tuition-fee.d.ts +50 -0
  229. package/src/models/programme-card/i-tuition-fee.js +2 -0
  230. package/src/models/programme-card/programme-card-client.d.ts +7 -0
  231. package/src/models/programme-card/programme-card-client.js +16 -0
  232. package/src/models/ranking-cards/i-ranking.d.ts +18 -0
  233. package/src/models/ranking-cards/i-ranking.js +2 -0
  234. package/src/models/scholarship-card/i-scholarship-card-v2.d.ts +20 -0
  235. package/src/models/scholarship-card/i-scholarship-card-v2.js +2 -0
  236. package/src/models/scholarship-card/i-scholarship-card.d.ts +15 -0
  237. package/src/models/scholarship-card/i-scholarship-card.js +2 -0
  238. package/src/models/scholarship-card/public-scholarship-card-client.d.ts +7 -0
  239. package/src/models/scholarship-card/public-scholarship-card-client.js +16 -0
  240. package/src/models/scholarship-card/scholarship-card-v2-client.d.ts +7 -0
  241. package/src/models/scholarship-card/scholarship-card-v2-client.js +16 -0
  242. package/src/models/scholarship-search-document/i-scholarship-search-document.d.ts +38 -0
  243. package/src/models/scholarship-search-document/i-scholarship-search-document.js +2 -0
  244. package/src/models/scholarship-search-document/scholarship-search-document-client.d.ts +7 -0
  245. package/src/models/scholarship-search-document/scholarship-search-document-client.js +16 -0
  246. package/src/models/search-discipline/i-search-discipline.d.ts +26 -0
  247. package/src/models/search-discipline/i-search-discipline.js +2 -0
  248. package/src/models/search-discipline/public-search-discipline-client.d.ts +7 -0
  249. package/src/models/search-discipline/public-search-discipline-client.js +16 -0
  250. package/src/models/search-projection/i-geo-targeting-configuration.d.ts +38 -0
  251. package/src/models/search-projection/i-geo-targeting-configuration.js +2 -0
  252. package/src/models/search-projection/i-geo-targeting-values.d.ts +30 -0
  253. package/src/models/search-projection/i-geo-targeting-values.js +2 -0
  254. package/src/models/search-projection/i-organisation-values.d.ts +46 -0
  255. package/src/models/search-projection/i-organisation-values.js +2 -0
  256. package/src/models/search-projection/i-premium-values.d.ts +35 -0
  257. package/src/models/search-projection/i-premium-values.js +2 -0
  258. package/src/models/search-projection/i-search-projection.d.ts +186 -0
  259. package/src/models/search-projection/i-search-projection.js +2 -0
  260. package/src/models/search-projection/i-tuition-values.d.ts +50 -0
  261. package/src/models/search-projection/i-tuition-values.js +2 -0
  262. package/src/models/search-projection/search-projection-client.d.ts +7 -0
  263. package/src/models/search-projection/search-projection-client.js +16 -0
  264. package/src/models/sitemap-articles-info/i-sitemap-article-info.d.ts +26 -0
  265. package/src/models/sitemap-articles-info/i-sitemap-article-info.js +2 -0
  266. package/src/models/sitemap-articles-info/sitemap-articles-info-client.d.ts +7 -0
  267. package/src/models/sitemap-articles-info/sitemap-articles-info-client.js +16 -0
  268. package/src/models/sitemap-cities-info/i-sitemap-city-info.d.ts +14 -0
  269. package/src/models/sitemap-cities-info/i-sitemap-city-info.js +2 -0
  270. package/src/models/sitemap-cities-info/sitemap-cities-info-client.d.ts +7 -0
  271. package/src/models/sitemap-cities-info/sitemap-cities-info-client.js +16 -0
  272. package/src/models/sitemap-countries-info/i-sitemap-country-info.d.ts +14 -0
  273. package/src/models/sitemap-countries-info/i-sitemap-country-info.js +2 -0
  274. package/src/models/sitemap-countries-info/sitemap-countries-info-client.d.ts +7 -0
  275. package/src/models/sitemap-countries-info/sitemap-countries-info-client.js +16 -0
  276. package/src/models/sitemap-country-degree-info/i-degree-info.d.ts +14 -0
  277. package/src/models/sitemap-country-degree-info/i-degree-info.js +2 -0
  278. package/src/models/sitemap-country-degree-info/i-sitemap-country-degree-info.d.ts +11 -0
  279. package/src/models/sitemap-country-degree-info/i-sitemap-country-degree-info.js +2 -0
  280. package/src/models/sitemap-country-degree-info/sitemap-country-degree-info-client.d.ts +7 -0
  281. package/src/models/sitemap-country-degree-info/sitemap-country-degree-info-client.js +16 -0
  282. package/src/models/sitemap-disciplines-info/i-sitemap-discipline-info.d.ts +14 -0
  283. package/src/models/sitemap-disciplines-info/i-sitemap-discipline-info.js +2 -0
  284. package/src/models/sitemap-disciplines-info/sitemap-disciplines-info-client.d.ts +7 -0
  285. package/src/models/sitemap-disciplines-info/sitemap-disciplines-info-client.js +16 -0
  286. package/src/models/sitemap-organisations-info/i-sitemap-organisation-info.d.ts +26 -0
  287. package/src/models/sitemap-organisations-info/i-sitemap-organisation-info.js +2 -0
  288. package/src/models/sitemap-organisations-info/sitemap-organisations-info-client.d.ts +7 -0
  289. package/src/models/sitemap-organisations-info/sitemap-organisations-info-client.js +16 -0
  290. package/src/models/sitemap-programme-info/i-sitemap-programme-info.d.ts +26 -0
  291. package/src/models/sitemap-programme-info/i-sitemap-programme-info.js +2 -0
  292. package/src/models/sitemap-programme-info/sitemap-programme-info-client.d.ts +7 -0
  293. package/src/models/sitemap-programme-info/sitemap-programme-info-client.js +16 -0
  294. package/src/models/sitemap-rankings-info/i-sitemap-rankings-info.d.ts +14 -0
  295. package/src/models/sitemap-rankings-info/i-sitemap-rankings-info.js +2 -0
  296. package/src/models/sitemap-rankings-info/sitemap-rankings-info-client.d.ts +7 -0
  297. package/src/models/sitemap-rankings-info/sitemap-rankings-info-client.js +16 -0
  298. package/src/types/portal-map.d.ts +2 -0
  299. package/src/types/portal-map.js +2 -0
  300. package/src/types/portal-type.d.ts +7 -0
  301. package/src/types/portal-type.js +11 -0
  302. package/src/types.d.ts +4 -0
  303. package/src/types.js +2 -0
@@ -0,0 +1,229 @@
1
+ "use strict";
2
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
+ // versions:
4
+ // protoc-gen-ts_proto v2.7.5
5
+ // protoc v3.12.4
6
+ // source: Article.proto
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.TagsArray = exports.TagsStruct = exports.Article = void 0;
9
+ /* eslint-disable */
10
+ const Discipline_1 = require("./Discipline");
11
+ const File_1 = require("./File");
12
+ const Organisation_1 = require("./Organisation");
13
+ const Person_1 = require("./Person");
14
+ const Topic_1 = require("./Topic");
15
+ exports.Article = {
16
+ fromJSON(object) {
17
+ return {
18
+ id: isSet(object.id) ? globalThis.Number(object.id) : 0,
19
+ name: isSet(object.name) ? globalThis.String(object.name) : "",
20
+ title: isSet(object.title) ? globalThis.String(object.title) : "",
21
+ summary: isSet(object.summary) ? globalThis.String(object.summary) : "",
22
+ description: isSet(object.description) ? globalThis.String(object.description) : "",
23
+ promo: isSet(object.promo) ? globalThis.String(object.promo) : "",
24
+ canonicalUrl: isSet(object.canonicalUrl) ? globalThis.String(object.canonicalUrl) : "",
25
+ type: isSet(object.type) ? globalThis.String(object.type) : "",
26
+ topicId: isSet(object.topicId) ? globalThis.Number(object.topicId) : 0,
27
+ date: isSet(object.date) ? globalThis.String(object.date) : "",
28
+ creationDate: isSet(object.creationDate) ? globalThis.String(object.creationDate) : "",
29
+ modifiedDate: isSet(object.modifiedDate) ? globalThis.String(object.modifiedDate) : "",
30
+ publishedDate: isSet(object.publishedDate) ? globalThis.String(object.publishedDate) : "",
31
+ isHighlighted: isSet(object.isHighlighted) ? globalThis.Boolean(object.isHighlighted) : false,
32
+ hasSocialBookmarking: isSet(object.hasSocialBookmarking)
33
+ ? globalThis.Boolean(object.hasSocialBookmarking)
34
+ : false,
35
+ visibility: isSet(object.visibility) ? globalThis.String(object.visibility) : "",
36
+ mayShowGallery: isSet(object.mayShowGallery) ? globalThis.Boolean(object.mayShowGallery) : false,
37
+ urlName: isSet(object.urlName) ? globalThis.String(object.urlName) : "",
38
+ virtualPath: isSet(object.virtualPath) ? globalThis.String(object.virtualPath) : "",
39
+ tags: isSet(object.tags) ? exports.TagsArray.fromJSON(object.tags) : undefined,
40
+ relatedArticles: globalThis.Array.isArray(object?.relatedArticles)
41
+ ? object.relatedArticles.map((e) => exports.Article.fromJSON(e))
42
+ : [],
43
+ relatedCountries: globalThis.Array.isArray(object?.relatedCountries)
44
+ ? object.relatedCountries.map((e) => Organisation_1.Country.fromJSON(e))
45
+ : [],
46
+ relatedCities: globalThis.Array.isArray(object?.relatedCities)
47
+ ? object.relatedCities.map((e) => globalThis.Number(e))
48
+ : [],
49
+ relatedDisciplines: globalThis.Array.isArray(object?.relatedDisciplines)
50
+ ? object.relatedDisciplines.map((e) => Discipline_1.Discipline.fromJSON(e))
51
+ : [],
52
+ relatedReviewCategories: globalThis.Array.isArray(object?.relatedReviewCategories)
53
+ ? object.relatedReviewCategories.map((e) => globalThis.Number(e))
54
+ : [],
55
+ relatedStudies: globalThis.Array.isArray(object?.relatedStudies)
56
+ ? object.relatedStudies.map((e) => globalThis.Number(e))
57
+ : [],
58
+ relatedOrganisations: globalThis.Array.isArray(object?.relatedOrganisations)
59
+ ? object.relatedOrganisations.map((e) => globalThis.Number(e))
60
+ : [],
61
+ featuredArticles: globalThis.Array.isArray(object?.featuredArticles)
62
+ ? object.featuredArticles.map((e) => exports.Article.fromJSON(e))
63
+ : [],
64
+ recentArticles: globalThis.Array.isArray(object?.recentArticles)
65
+ ? object.recentArticles.map((e) => exports.Article.fromJSON(e))
66
+ : [],
67
+ archivedArticles: globalThis.Array.isArray(object?.archivedArticles)
68
+ ? object.archivedArticles.map((e) => exports.Article.fromJSON(e))
69
+ : [],
70
+ isPublic: isSet(object.isPublic) ? globalThis.Boolean(object.isPublic) : false,
71
+ author: isSet(object.author) ? Person_1.Person.fromJSON(object.author) : undefined,
72
+ isSponsored: isSet(object.isSponsored) ? globalThis.Boolean(object.isSponsored) : false,
73
+ topic: isSet(object.topic) ? Topic_1.Topic.fromJSON(object.topic) : undefined,
74
+ image: isSet(object.image) ? File_1.File.fromJSON(object.image) : undefined,
75
+ canBeIndexed: isSet(object.canBeIndexed) ? globalThis.Boolean(object.canBeIndexed) : false,
76
+ roundedAmountOfProgrammes: isSet(object.roundedAmountOfProgrammes)
77
+ ? globalThis.Number(object.roundedAmountOfProgrammes)
78
+ : 0,
79
+ };
80
+ },
81
+ toJSON(message) {
82
+ const obj = {};
83
+ if (message.id !== 0) {
84
+ obj.id = Math.round(message.id);
85
+ }
86
+ if (message.name !== "") {
87
+ obj.name = message.name;
88
+ }
89
+ if (message.title !== "") {
90
+ obj.title = message.title;
91
+ }
92
+ if (message.summary !== "") {
93
+ obj.summary = message.summary;
94
+ }
95
+ if (message.description !== "") {
96
+ obj.description = message.description;
97
+ }
98
+ if (message.promo !== "") {
99
+ obj.promo = message.promo;
100
+ }
101
+ if (message.canonicalUrl !== "") {
102
+ obj.canonicalUrl = message.canonicalUrl;
103
+ }
104
+ if (message.type !== "") {
105
+ obj.type = message.type;
106
+ }
107
+ if (message.topicId !== 0) {
108
+ obj.topicId = Math.round(message.topicId);
109
+ }
110
+ if (message.date !== "") {
111
+ obj.date = message.date;
112
+ }
113
+ if (message.creationDate !== "") {
114
+ obj.creationDate = message.creationDate;
115
+ }
116
+ if (message.modifiedDate !== "") {
117
+ obj.modifiedDate = message.modifiedDate;
118
+ }
119
+ if (message.publishedDate !== "") {
120
+ obj.publishedDate = message.publishedDate;
121
+ }
122
+ if (message.isHighlighted !== false) {
123
+ obj.isHighlighted = message.isHighlighted;
124
+ }
125
+ if (message.hasSocialBookmarking !== false) {
126
+ obj.hasSocialBookmarking = message.hasSocialBookmarking;
127
+ }
128
+ if (message.visibility !== "") {
129
+ obj.visibility = message.visibility;
130
+ }
131
+ if (message.mayShowGallery !== false) {
132
+ obj.mayShowGallery = message.mayShowGallery;
133
+ }
134
+ if (message.urlName !== "") {
135
+ obj.urlName = message.urlName;
136
+ }
137
+ if (message.virtualPath !== "") {
138
+ obj.virtualPath = message.virtualPath;
139
+ }
140
+ if (message.tags !== undefined) {
141
+ obj.tags = exports.TagsArray.toJSON(message.tags);
142
+ }
143
+ if (message.relatedArticles?.length) {
144
+ obj.relatedArticles = message.relatedArticles.map((e) => exports.Article.toJSON(e));
145
+ }
146
+ if (message.relatedCountries?.length) {
147
+ obj.relatedCountries = message.relatedCountries.map((e) => Organisation_1.Country.toJSON(e));
148
+ }
149
+ if (message.relatedCities?.length) {
150
+ obj.relatedCities = message.relatedCities.map((e) => Math.round(e));
151
+ }
152
+ if (message.relatedDisciplines?.length) {
153
+ obj.relatedDisciplines = message.relatedDisciplines.map((e) => Discipline_1.Discipline.toJSON(e));
154
+ }
155
+ if (message.relatedReviewCategories?.length) {
156
+ obj.relatedReviewCategories = message.relatedReviewCategories.map((e) => Math.round(e));
157
+ }
158
+ if (message.relatedStudies?.length) {
159
+ obj.relatedStudies = message.relatedStudies.map((e) => Math.round(e));
160
+ }
161
+ if (message.relatedOrganisations?.length) {
162
+ obj.relatedOrganisations = message.relatedOrganisations.map((e) => Math.round(e));
163
+ }
164
+ if (message.featuredArticles?.length) {
165
+ obj.featuredArticles = message.featuredArticles.map((e) => exports.Article.toJSON(e));
166
+ }
167
+ if (message.recentArticles?.length) {
168
+ obj.recentArticles = message.recentArticles.map((e) => exports.Article.toJSON(e));
169
+ }
170
+ if (message.archivedArticles?.length) {
171
+ obj.archivedArticles = message.archivedArticles.map((e) => exports.Article.toJSON(e));
172
+ }
173
+ if (message.isPublic !== false) {
174
+ obj.isPublic = message.isPublic;
175
+ }
176
+ if (message.author !== undefined) {
177
+ obj.author = Person_1.Person.toJSON(message.author);
178
+ }
179
+ if (message.isSponsored !== false) {
180
+ obj.isSponsored = message.isSponsored;
181
+ }
182
+ if (message.topic !== undefined) {
183
+ obj.topic = Topic_1.Topic.toJSON(message.topic);
184
+ }
185
+ if (message.image !== undefined) {
186
+ obj.image = File_1.File.toJSON(message.image);
187
+ }
188
+ if (message.canBeIndexed !== false) {
189
+ obj.canBeIndexed = message.canBeIndexed;
190
+ }
191
+ if (message.roundedAmountOfProgrammes !== 0) {
192
+ obj.roundedAmountOfProgrammes = Math.round(message.roundedAmountOfProgrammes);
193
+ }
194
+ return obj;
195
+ },
196
+ };
197
+ exports.TagsStruct = {
198
+ fromJSON(object) {
199
+ return {
200
+ id: isSet(object.id) ? globalThis.String(object.id) : "",
201
+ name: isSet(object.name) ? globalThis.String(object.name) : "",
202
+ };
203
+ },
204
+ toJSON(message) {
205
+ const obj = {};
206
+ if (message.id !== "") {
207
+ obj.id = message.id;
208
+ }
209
+ if (message.name !== "") {
210
+ obj.name = message.name;
211
+ }
212
+ return obj;
213
+ },
214
+ };
215
+ exports.TagsArray = {
216
+ fromJSON(object) {
217
+ return { tags: globalThis.Array.isArray(object?.tags) ? object.tags.map((e) => exports.TagsStruct.fromJSON(e)) : [] };
218
+ },
219
+ toJSON(message) {
220
+ const obj = {};
221
+ if (message.tags?.length) {
222
+ obj.tags = message.tags.map((e) => exports.TagsStruct.toJSON(e));
223
+ }
224
+ return obj;
225
+ },
226
+ };
227
+ function isSet(value) {
228
+ return value !== null && value !== undefined;
229
+ }
@@ -0,0 +1,11 @@
1
+ export interface Body {
2
+ id: number;
3
+ name: string;
4
+ acronym: string;
5
+ }
6
+ export declare const Body: MessageFns<Body>;
7
+ interface MessageFns<T> {
8
+ fromJSON(object: any): T;
9
+ toJSON(message: T): unknown;
10
+ }
11
+ export {};
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
+ // versions:
4
+ // protoc-gen-ts_proto v2.7.5
5
+ // protoc v3.12.4
6
+ // source: Body.proto
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.Body = void 0;
9
+ exports.Body = {
10
+ fromJSON(object) {
11
+ return {
12
+ id: isSet(object.id) ? globalThis.Number(object.id) : 0,
13
+ name: isSet(object.name) ? globalThis.String(object.name) : "",
14
+ acronym: isSet(object.acronym) ? globalThis.String(object.acronym) : "",
15
+ };
16
+ },
17
+ toJSON(message) {
18
+ const obj = {};
19
+ if (message.id !== 0) {
20
+ obj.id = Math.round(message.id);
21
+ }
22
+ if (message.name !== "") {
23
+ obj.name = message.name;
24
+ }
25
+ if (message.acronym !== "") {
26
+ obj.acronym = message.acronym;
27
+ }
28
+ return obj;
29
+ },
30
+ };
31
+ function isSet(value) {
32
+ return value !== null && value !== undefined;
33
+ }
@@ -0,0 +1,11 @@
1
+ export interface CampaignInformation {
2
+ type: number;
3
+ isCapped: boolean;
4
+ name: string;
5
+ }
6
+ export declare const CampaignInformation: MessageFns<CampaignInformation>;
7
+ interface MessageFns<T> {
8
+ fromJSON(object: any): T;
9
+ toJSON(message: T): unknown;
10
+ }
11
+ export {};
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
+ // versions:
4
+ // protoc-gen-ts_proto v2.7.5
5
+ // protoc v3.12.4
6
+ // source: CampaignInformation.proto
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.CampaignInformation = void 0;
9
+ exports.CampaignInformation = {
10
+ fromJSON(object) {
11
+ return {
12
+ type: isSet(object.type) ? globalThis.Number(object.type) : 0,
13
+ isCapped: isSet(object.isCapped) ? globalThis.Boolean(object.isCapped) : false,
14
+ name: isSet(object.name) ? globalThis.String(object.name) : "",
15
+ };
16
+ },
17
+ toJSON(message) {
18
+ const obj = {};
19
+ if (message.type !== 0) {
20
+ obj.type = Math.round(message.type);
21
+ }
22
+ if (message.isCapped !== false) {
23
+ obj.isCapped = message.isCapped;
24
+ }
25
+ if (message.name !== "") {
26
+ obj.name = message.name;
27
+ }
28
+ return obj;
29
+ },
30
+ };
31
+ function isSet(value) {
32
+ return value !== null && value !== undefined;
33
+ }
@@ -0,0 +1,11 @@
1
+ export interface ClickTracking {
2
+ category: string;
3
+ action: string;
4
+ label: string;
5
+ }
6
+ export declare const ClickTracking: MessageFns<ClickTracking>;
7
+ interface MessageFns<T> {
8
+ fromJSON(object: any): T;
9
+ toJSON(message: T): unknown;
10
+ }
11
+ export {};
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
+ // versions:
4
+ // protoc-gen-ts_proto v2.7.5
5
+ // protoc v3.12.4
6
+ // source: ClickTracking.proto
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.ClickTracking = void 0;
9
+ exports.ClickTracking = {
10
+ fromJSON(object) {
11
+ return {
12
+ category: isSet(object.category) ? globalThis.String(object.category) : "",
13
+ action: isSet(object.action) ? globalThis.String(object.action) : "",
14
+ label: isSet(object.label) ? globalThis.String(object.label) : "",
15
+ };
16
+ },
17
+ toJSON(message) {
18
+ const obj = {};
19
+ if (message.category !== "") {
20
+ obj.category = message.category;
21
+ }
22
+ if (message.action !== "") {
23
+ obj.action = message.action;
24
+ }
25
+ if (message.label !== "") {
26
+ obj.label = message.label;
27
+ }
28
+ return obj;
29
+ },
30
+ };
31
+ function isSet(value) {
32
+ return value !== null && value !== undefined;
33
+ }
@@ -0,0 +1,14 @@
1
+ export interface CommercialEntity {
2
+ premiums: string[];
3
+ cpm: number;
4
+ commercialRange: string[];
5
+ premiumsOutOfRange: string[];
6
+ premiumsOutOfDate: string[];
7
+ isOutOfDate: boolean;
8
+ }
9
+ export declare const CommercialEntity: MessageFns<CommercialEntity>;
10
+ interface MessageFns<T> {
11
+ fromJSON(object: any): T;
12
+ toJSON(message: T): unknown;
13
+ }
14
+ export {};
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
+ // versions:
4
+ // protoc-gen-ts_proto v2.7.5
5
+ // protoc v3.12.4
6
+ // source: CommercialEntity.proto
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.CommercialEntity = void 0;
9
+ exports.CommercialEntity = {
10
+ fromJSON(object) {
11
+ return {
12
+ premiums: globalThis.Array.isArray(object?.premiums) ? object.premiums.map((e) => globalThis.String(e)) : [],
13
+ cpm: isSet(object.cpm) ? globalThis.Number(object.cpm) : 0,
14
+ commercialRange: globalThis.Array.isArray(object?.commercialRange)
15
+ ? object.commercialRange.map((e) => globalThis.String(e))
16
+ : [],
17
+ premiumsOutOfRange: globalThis.Array.isArray(object?.premiumsOutOfRange)
18
+ ? object.premiumsOutOfRange.map((e) => globalThis.String(e))
19
+ : [],
20
+ premiumsOutOfDate: globalThis.Array.isArray(object?.premiumsOutOfDate)
21
+ ? object.premiumsOutOfDate.map((e) => globalThis.String(e))
22
+ : [],
23
+ isOutOfDate: isSet(object.isOutOfDate) ? globalThis.Boolean(object.isOutOfDate) : false,
24
+ };
25
+ },
26
+ toJSON(message) {
27
+ const obj = {};
28
+ if (message.premiums?.length) {
29
+ obj.premiums = message.premiums;
30
+ }
31
+ if (message.cpm !== 0) {
32
+ obj.cpm = Math.round(message.cpm);
33
+ }
34
+ if (message.commercialRange?.length) {
35
+ obj.commercialRange = message.commercialRange;
36
+ }
37
+ if (message.premiumsOutOfRange?.length) {
38
+ obj.premiumsOutOfRange = message.premiumsOutOfRange;
39
+ }
40
+ if (message.premiumsOutOfDate?.length) {
41
+ obj.premiumsOutOfDate = message.premiumsOutOfDate;
42
+ }
43
+ if (message.isOutOfDate !== false) {
44
+ obj.isOutOfDate = message.isOutOfDate;
45
+ }
46
+ return obj;
47
+ },
48
+ };
49
+ function isSet(value) {
50
+ return value !== null && value !== undefined;
51
+ }
@@ -0,0 +1,10 @@
1
+ export interface Cover {
2
+ id: number;
3
+ source: string;
4
+ }
5
+ export declare const Cover: MessageFns<Cover>;
6
+ interface MessageFns<T> {
7
+ fromJSON(object: any): T;
8
+ toJSON(message: T): unknown;
9
+ }
10
+ export {};
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
+ // versions:
4
+ // protoc-gen-ts_proto v2.7.5
5
+ // protoc v3.12.4
6
+ // source: Cover.proto
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.Cover = void 0;
9
+ exports.Cover = {
10
+ fromJSON(object) {
11
+ return {
12
+ id: isSet(object.id) ? globalThis.Number(object.id) : 0,
13
+ source: isSet(object.source) ? globalThis.String(object.source) : "",
14
+ };
15
+ },
16
+ toJSON(message) {
17
+ const obj = {};
18
+ if (message.id !== 0) {
19
+ obj.id = Math.round(message.id);
20
+ }
21
+ if (message.source !== "") {
22
+ obj.source = message.source;
23
+ }
24
+ return obj;
25
+ },
26
+ };
27
+ function isSet(value) {
28
+ return value !== null && value !== undefined;
29
+ }
@@ -0,0 +1,11 @@
1
+ export interface Deadline {
2
+ isPassed: boolean;
3
+ date: string;
4
+ type: string;
5
+ }
6
+ export declare const Deadline: MessageFns<Deadline>;
7
+ interface MessageFns<T> {
8
+ fromJSON(object: any): T;
9
+ toJSON(message: T): unknown;
10
+ }
11
+ export {};
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
+ // versions:
4
+ // protoc-gen-ts_proto v2.7.5
5
+ // protoc v3.12.4
6
+ // source: Deadline.proto
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.Deadline = void 0;
9
+ exports.Deadline = {
10
+ fromJSON(object) {
11
+ return {
12
+ isPassed: isSet(object.isPassed) ? globalThis.Boolean(object.isPassed) : false,
13
+ date: isSet(object.date) ? globalThis.String(object.date) : "",
14
+ type: isSet(object.type) ? globalThis.String(object.type) : "",
15
+ };
16
+ },
17
+ toJSON(message) {
18
+ const obj = {};
19
+ if (message.isPassed !== false) {
20
+ obj.isPassed = message.isPassed;
21
+ }
22
+ if (message.date !== "") {
23
+ obj.date = message.date;
24
+ }
25
+ if (message.type !== "") {
26
+ obj.type = message.type;
27
+ }
28
+ return obj;
29
+ },
30
+ };
31
+ function isSet(value) {
32
+ return value !== null && value !== undefined;
33
+ }
@@ -0,0 +1,16 @@
1
+ export interface Degree {
2
+ programmeCount?: number | undefined;
3
+ title?: string | undefined;
4
+ abbreviation?: string | undefined;
5
+ id?: number | undefined;
6
+ name?: string | undefined;
7
+ description?: string | undefined;
8
+ level?: string | undefined;
9
+ degree?: string | undefined;
10
+ }
11
+ export declare const Degree: MessageFns<Degree>;
12
+ interface MessageFns<T> {
13
+ fromJSON(object: any): T;
14
+ toJSON(message: T): unknown;
15
+ }
16
+ export {};
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
+ // versions:
4
+ // protoc-gen-ts_proto v2.7.5
5
+ // protoc v3.12.4
6
+ // source: Degree.proto
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.Degree = void 0;
9
+ exports.Degree = {
10
+ fromJSON(object) {
11
+ return {
12
+ programmeCount: isSet(object.programmeCount) ? globalThis.Number(object.programmeCount) : undefined,
13
+ title: isSet(object.title) ? globalThis.String(object.title) : undefined,
14
+ abbreviation: isSet(object.abbreviation) ? globalThis.String(object.abbreviation) : undefined,
15
+ id: isSet(object.id) ? globalThis.Number(object.id) : undefined,
16
+ name: isSet(object.name) ? globalThis.String(object.name) : undefined,
17
+ description: isSet(object.description) ? globalThis.String(object.description) : undefined,
18
+ level: isSet(object.level) ? globalThis.String(object.level) : undefined,
19
+ degree: isSet(object.degree) ? globalThis.String(object.degree) : undefined,
20
+ };
21
+ },
22
+ toJSON(message) {
23
+ const obj = {};
24
+ if (message.programmeCount !== undefined) {
25
+ obj.programmeCount = Math.round(message.programmeCount);
26
+ }
27
+ if (message.title !== undefined) {
28
+ obj.title = message.title;
29
+ }
30
+ if (message.abbreviation !== undefined) {
31
+ obj.abbreviation = message.abbreviation;
32
+ }
33
+ if (message.id !== undefined) {
34
+ obj.id = Math.round(message.id);
35
+ }
36
+ if (message.name !== undefined) {
37
+ obj.name = message.name;
38
+ }
39
+ if (message.description !== undefined) {
40
+ obj.description = message.description;
41
+ }
42
+ if (message.level !== undefined) {
43
+ obj.level = message.level;
44
+ }
45
+ if (message.degree !== undefined) {
46
+ obj.degree = message.degree;
47
+ }
48
+ return obj;
49
+ },
50
+ };
51
+ function isSet(value) {
52
+ return value !== null && value !== undefined;
53
+ }
@@ -0,0 +1,16 @@
1
+ import { Link } from "./Link";
2
+ import { RichText } from "./RichText";
3
+ export interface Description {
4
+ name: string;
5
+ description: RichText | undefined;
6
+ searchLink: Link | undefined;
7
+ pilsLink: Link | undefined;
8
+ sblpLink: Link | undefined;
9
+ onlineSBLPLink: Link | undefined;
10
+ }
11
+ export declare const Description: MessageFns<Description>;
12
+ interface MessageFns<T> {
13
+ fromJSON(object: any): T;
14
+ toJSON(message: T): unknown;
15
+ }
16
+ export {};
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
+ // versions:
4
+ // protoc-gen-ts_proto v2.7.5
5
+ // protoc v3.12.4
6
+ // source: Description.proto
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.Description = void 0;
9
+ /* eslint-disable */
10
+ const Link_1 = require("./Link");
11
+ const RichText_1 = require("./RichText");
12
+ exports.Description = {
13
+ fromJSON(object) {
14
+ return {
15
+ name: isSet(object.name) ? globalThis.String(object.name) : "",
16
+ description: isSet(object.description) ? RichText_1.RichText.fromJSON(object.description) : undefined,
17
+ searchLink: isSet(object.searchLink) ? Link_1.Link.fromJSON(object.searchLink) : undefined,
18
+ pilsLink: isSet(object.pilsLink) ? Link_1.Link.fromJSON(object.pilsLink) : undefined,
19
+ sblpLink: isSet(object.sblpLink) ? Link_1.Link.fromJSON(object.sblpLink) : undefined,
20
+ onlineSBLPLink: isSet(object.onlineSBLPLink) ? Link_1.Link.fromJSON(object.onlineSBLPLink) : undefined,
21
+ };
22
+ },
23
+ toJSON(message) {
24
+ const obj = {};
25
+ if (message.name !== "") {
26
+ obj.name = message.name;
27
+ }
28
+ if (message.description !== undefined) {
29
+ obj.description = RichText_1.RichText.toJSON(message.description);
30
+ }
31
+ if (message.searchLink !== undefined) {
32
+ obj.searchLink = Link_1.Link.toJSON(message.searchLink);
33
+ }
34
+ if (message.pilsLink !== undefined) {
35
+ obj.pilsLink = Link_1.Link.toJSON(message.pilsLink);
36
+ }
37
+ if (message.sblpLink !== undefined) {
38
+ obj.sblpLink = Link_1.Link.toJSON(message.sblpLink);
39
+ }
40
+ if (message.onlineSBLPLink !== undefined) {
41
+ obj.onlineSBLPLink = Link_1.Link.toJSON(message.onlineSBLPLink);
42
+ }
43
+ return obj;
44
+ },
45
+ };
46
+ function isSet(value) {
47
+ return value !== null && value !== undefined;
48
+ }