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