@studyportals/domain-client 7.0.1-beta.9 → 7.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +90 -0
- package/index.js +81 -34
- package/package.json +66 -55
- package/protobuf/Area.d.ts +11 -0
- package/protobuf/Area.js +33 -0
- package/protobuf/Article.d.ts +60 -0
- package/protobuf/Article.js +229 -0
- package/protobuf/Body.d.ts +11 -0
- package/protobuf/Body.js +33 -0
- package/protobuf/CampaignInformation.d.ts +11 -0
- package/protobuf/CampaignInformation.js +33 -0
- package/protobuf/ClickTracking.d.ts +11 -0
- package/protobuf/ClickTracking.js +33 -0
- package/protobuf/CommercialEntity.d.ts +14 -0
- package/protobuf/CommercialEntity.js +51 -0
- package/protobuf/Cover.d.ts +10 -0
- package/protobuf/Cover.js +29 -0
- package/protobuf/Deadline.d.ts +11 -0
- package/protobuf/Deadline.js +33 -0
- package/protobuf/Degree.d.ts +16 -0
- package/protobuf/Degree.js +53 -0
- package/protobuf/Description.d.ts +16 -0
- package/protobuf/Description.js +48 -0
- package/protobuf/Discipline.d.ts +26 -0
- package/protobuf/Discipline.js +87 -0
- package/protobuf/Duration.d.ts +11 -0
- package/protobuf/Duration.js +33 -0
- package/protobuf/EnglishRequirement.d.ts +11 -0
- package/protobuf/EnglishRequirement.js +33 -0
- package/protobuf/EssentialInformation.d.ts +17 -0
- package/protobuf/EssentialInformation.js +57 -0
- package/protobuf/File.d.ts +22 -0
- package/protobuf/File.js +77 -0
- package/protobuf/GPARequirement.d.ts +11 -0
- package/protobuf/GPARequirement.js +33 -0
- package/protobuf/InternalLink.d.ts +12 -0
- package/protobuf/InternalLink.js +33 -0
- package/protobuf/Link.d.ts +11 -0
- package/protobuf/Link.js +33 -0
- package/protobuf/LivingCost.d.ts +11 -0
- package/protobuf/LivingCost.js +33 -0
- package/protobuf/Location.d.ts +18 -0
- package/protobuf/Location.js +59 -0
- package/protobuf/Logo.d.ts +10 -0
- package/protobuf/Logo.js +29 -0
- package/protobuf/MiniProgrammeCard.d.ts +18 -0
- package/protobuf/MiniProgrammeCard.js +53 -0
- package/protobuf/OptionalLink.d.ts +12 -0
- package/protobuf/OptionalLink.js +37 -0
- package/protobuf/Organisation.d.ts +211 -0
- package/protobuf/Organisation.js +856 -0
- package/protobuf/OrganisationInformation.d.ts +9 -0
- package/protobuf/OrganisationInformation.js +23 -0
- package/protobuf/OrganisationRanking.d.ts +15 -0
- package/protobuf/OrganisationRanking.js +44 -0
- package/protobuf/Person.d.ts +14 -0
- package/protobuf/Person.js +43 -0
- package/protobuf/ProgrammeCard.d.ts +60 -0
- package/protobuf/ProgrammeCard.js +200 -0
- package/protobuf/ProgrammeGrid.d.ts +14 -0
- package/protobuf/ProgrammeGrid.js +40 -0
- package/protobuf/Ranking.d.ts +22 -0
- package/protobuf/Ranking.js +79 -0
- package/protobuf/RankingInstitute.d.ts +15 -0
- package/protobuf/RankingInstitute.js +47 -0
- package/protobuf/Review.d.ts +17 -0
- package/protobuf/Review.js +55 -0
- package/protobuf/ReviewRating.d.ts +12 -0
- package/protobuf/ReviewRating.js +37 -0
- package/protobuf/RichText.d.ts +10 -0
- package/protobuf/RichText.js +31 -0
- package/protobuf/SocialLink.d.ts +21 -0
- package/protobuf/SocialLink.js +73 -0
- package/protobuf/StartDate.d.ts +13 -0
- package/protobuf/StartDate.js +41 -0
- package/protobuf/Timing.d.ts +17 -0
- package/protobuf/Timing.js +52 -0
- package/protobuf/Topic.d.ts +10 -0
- package/protobuf/Topic.js +29 -0
- package/protobuf/TrackedLink.d.ts +13 -0
- package/protobuf/TrackedLink.js +39 -0
- package/protobuf/Tracking.d.ts +18 -0
- package/protobuf/Tracking.js +61 -0
- package/protobuf/TuitionFee.d.ts +13 -0
- package/protobuf/TuitionFee.js +41 -0
- package/protobuf/Unibuddy.d.ts +10 -0
- package/protobuf/Unibuddy.js +29 -0
- package/protobuf/index.d.ts +45 -0
- package/protobuf/index.js +61 -0
- package/src/clients/article-detail-page-client.d.ts +8 -0
- package/src/clients/article-detail-page-client.js +20 -0
- package/src/clients/index.d.ts +7 -0
- package/src/clients/index.js +23 -0
- package/src/clients/organisation-page-client.d.ts +8 -0
- package/src/clients/organisation-page-client.js +20 -0
- package/src/clients/protobuf-client.d.ts +14 -0
- package/src/clients/protobuf-client.js +30 -0
- package/src/clients/public-mini-programme-card-client.d.ts +8 -0
- package/src/clients/public-mini-programme-card-client.js +20 -0
- package/src/domain-client.d.ts +14 -0
- package/src/domain-client.js +95 -0
- package/src/exceptions/bad-request-exception.d.ts +2 -0
- package/src/exceptions/bad-request-exception.js +6 -0
- package/src/exceptions/client-exception.d.ts +2 -0
- package/src/exceptions/client-exception.js +6 -0
- package/src/exceptions/internal-server-exception.d.ts +2 -0
- package/src/exceptions/internal-server-exception.js +6 -0
- package/src/exceptions/not-found-exception.d.ts +2 -0
- package/src/exceptions/not-found-exception.js +6 -0
- package/src/exceptions/property-not-available-exception.d.ts +2 -0
- package/src/exceptions/property-not-available-exception.js +6 -0
- package/src/factories/DateFactory.d.ts +5 -0
- package/src/factories/DateFactory.js +9 -0
- package/src/factories/InternalLinkFactory.d.ts +9 -0
- package/src/factories/InternalLinkFactory.js +26 -0
- package/src/i-api-response.d.ts +6 -0
- package/src/i-api-response.js +2 -0
- package/src/i-class-factory.d.ts +4 -0
- package/src/i-class-factory.js +2 -0
- package/src/i-model-description.d.ts +7 -0
- package/src/i-model-description.js +8 -0
- package/src/model-client.d.ts +16 -0
- package/src/model-client.js +47 -0
- package/src/model-factory.d.ts +11 -0
- package/src/model-factory.js +72 -0
- package/src/models/bestfit-programme/bestfit-programme-client.d.ts +7 -0
- package/src/models/bestfit-programme/bestfit-programme-client.js +16 -0
- package/src/models/bestfit-programme/i-best-fit-programme.d.ts +82 -0
- package/src/models/bestfit-programme/i-best-fit-programme.js +2 -0
- package/src/models/bestfit-programme/i-city.d.ts +14 -0
- package/src/models/bestfit-programme/i-city.js +2 -0
- package/src/models/bestfit-programme/i-living-cost.d.ts +20 -0
- package/src/models/bestfit-programme/i-living-cost.js +2 -0
- package/src/models/city-search-document/city-search-document-client.d.ts +7 -0
- package/src/models/city-search-document/city-search-document-client.js +16 -0
- package/src/models/city-search-document/i-city-search-document.d.ts +7 -0
- package/src/models/city-search-document/i-city-search-document.js +2 -0
- package/src/models/common/i-city.d.ts +14 -0
- package/src/models/common/i-city.js +2 -0
- package/src/models/common/i-country.d.ts +20 -0
- package/src/models/common/i-country.js +2 -0
- package/src/models/common/i-english-requirements.d.ts +51 -0
- package/src/models/common/i-english-requirements.js +2 -0
- package/src/models/common/i-g-p-a-requirement.d.ts +20 -0
- package/src/models/common/i-g-p-a-requirement.js +2 -0
- package/src/models/common/i-internal-link.d.ts +28 -0
- package/src/models/common/i-internal-link.js +2 -0
- package/src/models/common/i-logo.d.ts +14 -0
- package/src/models/common/i-logo.js +2 -0
- package/src/models/common/i-review-rating.d.ts +26 -0
- package/src/models/common/i-review-rating.js +2 -0
- package/src/models/common/i-tuition-fee.d.ts +50 -0
- package/src/models/common/i-tuition-fee.js +2 -0
- package/src/models/copilot-country/copilot-country-client.d.ts +7 -0
- package/src/models/copilot-country/copilot-country-client.js +16 -0
- package/src/models/copilot-country/i-copilot-country.d.ts +39 -0
- package/src/models/copilot-country/i-copilot-country.js +2 -0
- package/src/models/copilot-country/i-copilot-ranking-card.d.ts +38 -0
- package/src/models/copilot-country/i-copilot-ranking-card.js +2 -0
- package/src/models/copilot-programme/copilot-programme-client.d.ts +7 -0
- package/src/models/copilot-programme/copilot-programme-client.js +16 -0
- package/src/models/copilot-programme/i-copilot-programme.d.ts +125 -0
- package/src/models/copilot-programme/i-copilot-programme.js +2 -0
- package/src/models/customerio-organisation/customerio-organisation-client.d.ts +7 -0
- package/src/models/customerio-organisation/customerio-organisation-client.js +16 -0
- package/src/models/customerio-organisation/i-customer-io-organisation.d.ts +35 -0
- package/src/models/customerio-organisation/i-customer-io-organisation.js +2 -0
- package/src/models/customerio-organisation/i-review.d.ts +7 -0
- package/src/models/customerio-organisation/i-review.js +2 -0
- package/src/models/customerio-programme/customerio-programme-client.d.ts +7 -0
- package/src/models/customerio-programme/customerio-programme-client.js +16 -0
- package/src/models/customerio-programme/i-customer-io-programme.d.ts +107 -0
- package/src/models/customerio-programme/i-customer-io-programme.js +2 -0
- package/src/models/customerio-programme/i-internal-link.d.ts +28 -0
- package/src/models/customerio-programme/i-internal-link.js +2 -0
- package/src/models/faq-static-content/i-faq-static-content.d.ts +10 -0
- package/src/models/faq-static-content/i-faq-static-content.js +2 -0
- package/src/models/faq-static-content/i-faq.d.ts +4 -0
- package/src/models/faq-static-content/i-faq.js +2 -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 +2 -0
- package/src/models/faq-static-content/i-static-content.d.ts +5 -0
- package/src/models/faq-static-content/i-static-content.js +2 -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 +16 -0
- package/src/models/organisation-card/i-organisation-card.d.ts +39 -0
- package/src/models/organisation-card/i-organisation-card.js +2 -0
- package/src/models/organisation-card/i-ranking-discipline.d.ts +4 -0
- package/src/models/organisation-card/i-ranking-discipline.js +2 -0
- package/src/models/organisation-card/organisation-card-client.d.ts +7 -0
- package/src/models/organisation-card/organisation-card-client.js +16 -0
- package/src/models/organisation-for-search/i-organisation-for-search.d.ts +32 -0
- package/src/models/organisation-for-search/i-organisation-for-search.js +2 -0
- package/src/models/organisation-for-search/public-organisation-for-search-client.d.ts +7 -0
- package/src/models/organisation-for-search/public-organisation-for-search-client.js +16 -0
- package/src/models/organisation-search-document/i-organisation-search-document.d.ts +158 -0
- package/src/models/organisation-search-document/i-organisation-search-document.js +2 -0
- package/src/models/organisation-search-document/organisation-search-document-client.d.ts +7 -0
- package/src/models/organisation-search-document/organisation-search-document-client.js +16 -0
- package/src/models/programme-card/i-click-tracking-data.d.ts +5 -0
- package/src/models/programme-card/i-click-tracking-data.js +2 -0
- package/src/models/programme-card/i-cover.d.ts +14 -0
- package/src/models/programme-card/i-cover.js +2 -0
- package/src/models/programme-card/i-deadline.d.ts +20 -0
- package/src/models/programme-card/i-deadline.js +2 -0
- package/src/models/programme-card/i-duration.d.ts +40 -0
- package/src/models/programme-card/i-duration.js +2 -0
- package/src/models/programme-card/i-internal-link.d.ts +28 -0
- package/src/models/programme-card/i-internal-link.js +2 -0
- package/src/models/programme-card/i-link.d.ts +22 -0
- package/src/models/programme-card/i-link.js +2 -0
- package/src/models/programme-card/i-location.d.ts +12 -0
- package/src/models/programme-card/i-location.js +2 -0
- package/src/models/programme-card/i-logo.d.ts +14 -0
- package/src/models/programme-card/i-logo.js +2 -0
- package/src/models/programme-card/i-optional-link.d.ts +23 -0
- package/src/models/programme-card/i-optional-link.js +2 -0
- package/src/models/programme-card/i-programme-card.d.ts +212 -0
- package/src/models/programme-card/i-programme-card.js +2 -0
- package/src/models/programme-card/i-start-date.d.ts +33 -0
- package/src/models/programme-card/i-start-date.js +2 -0
- package/src/models/programme-card/i-timing.d.ts +45 -0
- package/src/models/programme-card/i-timing.js +2 -0
- package/src/models/programme-card/i-tracked-link.d.ts +29 -0
- package/src/models/programme-card/i-tracked-link.js +2 -0
- package/src/models/programme-card/i-tracking.d.ts +46 -0
- package/src/models/programme-card/i-tracking.js +2 -0
- package/src/models/programme-card/i-tuition-fee.d.ts +50 -0
- package/src/models/programme-card/i-tuition-fee.js +2 -0
- package/src/models/programme-card/programme-card-client.d.ts +7 -0
- package/src/models/programme-card/programme-card-client.js +16 -0
- package/src/models/ranking-cards/i-ranking.d.ts +18 -0
- package/src/models/ranking-cards/i-ranking.js +2 -0
- package/src/models/scholarship-card/i-scholarship-card-v2.d.ts +20 -0
- package/src/models/scholarship-card/i-scholarship-card-v2.js +2 -0
- package/src/models/scholarship-card/i-scholarship-card.d.ts +15 -0
- package/src/models/scholarship-card/i-scholarship-card.js +2 -0
- package/src/models/scholarship-card/public-scholarship-card-client.d.ts +7 -0
- package/src/models/scholarship-card/public-scholarship-card-client.js +16 -0
- package/src/models/scholarship-card/scholarship-card-v2-client.d.ts +7 -0
- package/src/models/scholarship-card/scholarship-card-v2-client.js +16 -0
- package/src/models/scholarship-search-document/i-scholarship-search-document.d.ts +38 -0
- package/src/models/scholarship-search-document/i-scholarship-search-document.js +2 -0
- package/src/models/scholarship-search-document/scholarship-search-document-client.d.ts +7 -0
- package/src/models/scholarship-search-document/scholarship-search-document-client.js +16 -0
- package/src/models/search-discipline/i-search-discipline.d.ts +26 -0
- package/src/models/search-discipline/i-search-discipline.js +2 -0
- package/src/models/search-discipline/public-search-discipline-client.d.ts +7 -0
- package/src/models/search-discipline/public-search-discipline-client.js +16 -0
- package/src/models/search-projection/i-geo-targeting-configuration.d.ts +38 -0
- package/src/models/search-projection/i-geo-targeting-configuration.js +2 -0
- package/src/models/search-projection/i-geo-targeting-values.d.ts +30 -0
- package/src/models/search-projection/i-geo-targeting-values.js +2 -0
- package/src/models/search-projection/i-organisation-values.d.ts +46 -0
- package/src/models/search-projection/i-organisation-values.js +2 -0
- package/src/models/search-projection/i-premium-values.d.ts +35 -0
- package/src/models/search-projection/i-premium-values.js +2 -0
- package/src/models/search-projection/i-search-projection.d.ts +186 -0
- package/src/models/search-projection/i-search-projection.js +2 -0
- package/src/models/search-projection/i-tuition-values.d.ts +50 -0
- package/src/models/search-projection/i-tuition-values.js +2 -0
- package/src/models/search-projection/search-projection-client.d.ts +7 -0
- package/src/models/search-projection/search-projection-client.js +16 -0
- package/src/models/sitemap-articles-info/i-sitemap-article-info.d.ts +26 -0
- package/src/models/sitemap-articles-info/i-sitemap-article-info.js +2 -0
- package/src/models/sitemap-articles-info/sitemap-articles-info-client.d.ts +7 -0
- package/src/models/sitemap-articles-info/sitemap-articles-info-client.js +16 -0
- package/src/models/sitemap-cities-info/i-sitemap-city-info.d.ts +14 -0
- package/src/models/sitemap-cities-info/i-sitemap-city-info.js +2 -0
- package/src/models/sitemap-cities-info/sitemap-cities-info-client.d.ts +7 -0
- package/src/models/sitemap-cities-info/sitemap-cities-info-client.js +16 -0
- package/src/models/sitemap-countries-info/i-sitemap-country-info.d.ts +14 -0
- package/src/models/sitemap-countries-info/i-sitemap-country-info.js +2 -0
- package/src/models/sitemap-countries-info/sitemap-countries-info-client.d.ts +7 -0
- package/src/models/sitemap-countries-info/sitemap-countries-info-client.js +16 -0
- package/src/models/sitemap-country-degree-info/i-degree-info.d.ts +14 -0
- package/src/models/sitemap-country-degree-info/i-degree-info.js +2 -0
- package/src/models/sitemap-country-degree-info/i-sitemap-country-degree-info.d.ts +11 -0
- package/src/models/sitemap-country-degree-info/i-sitemap-country-degree-info.js +2 -0
- package/src/models/sitemap-country-degree-info/sitemap-country-degree-info-client.d.ts +7 -0
- package/src/models/sitemap-country-degree-info/sitemap-country-degree-info-client.js +16 -0
- package/src/models/sitemap-disciplines-info/i-sitemap-discipline-info.d.ts +14 -0
- package/src/models/sitemap-disciplines-info/i-sitemap-discipline-info.js +2 -0
- package/src/models/sitemap-disciplines-info/sitemap-disciplines-info-client.d.ts +7 -0
- package/src/models/sitemap-disciplines-info/sitemap-disciplines-info-client.js +16 -0
- package/src/models/sitemap-organisations-info/i-sitemap-organisation-info.d.ts +26 -0
- package/src/models/sitemap-organisations-info/i-sitemap-organisation-info.js +2 -0
- package/src/models/sitemap-organisations-info/sitemap-organisations-info-client.d.ts +7 -0
- package/src/models/sitemap-organisations-info/sitemap-organisations-info-client.js +16 -0
- package/src/models/sitemap-programme-info/i-sitemap-programme-info.d.ts +26 -0
- package/src/models/sitemap-programme-info/i-sitemap-programme-info.js +2 -0
- package/src/models/sitemap-programme-info/sitemap-programme-info-client.d.ts +7 -0
- package/src/models/sitemap-programme-info/sitemap-programme-info-client.js +16 -0
- package/src/models/sitemap-rankings-info/i-sitemap-rankings-info.d.ts +14 -0
- package/src/models/sitemap-rankings-info/i-sitemap-rankings-info.js +2 -0
- package/src/models/sitemap-rankings-info/sitemap-rankings-info-client.d.ts +7 -0
- package/src/models/sitemap-rankings-info/sitemap-rankings-info-client.js +16 -0
- package/src/types/portal-map.d.ts +2 -0
- package/src/types/portal-map.js +2 -0
- package/src/types/portal-type.d.ts +7 -0
- package/src/types/portal-type.js +11 -0
- package/src/types.d.ts +4 -0
- package/src/types.js +2 -0
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
export interface IOrganisationSearchDocument {
|
|
2
|
+
/**
|
|
3
|
+
* Gets the ISO codes of all countries where the organisation has venues
|
|
4
|
+
*
|
|
5
|
+
* @return string[]
|
|
6
|
+
*/
|
|
7
|
+
getCountryIsoCodesOfVenues(): string[];
|
|
8
|
+
/**
|
|
9
|
+
* Gets the ISO code of the main location of the organisation
|
|
10
|
+
*
|
|
11
|
+
* @return string
|
|
12
|
+
*/
|
|
13
|
+
getCountryIsoCodeOfMainLocation(): string;
|
|
14
|
+
/**
|
|
15
|
+
* Returns the number of bachelors offered by the organisation
|
|
16
|
+
*
|
|
17
|
+
* @return number
|
|
18
|
+
*/
|
|
19
|
+
getNumberOfProgrammesForBachelors(): number;
|
|
20
|
+
/**
|
|
21
|
+
* Returns the number of distance learning courses offered by the organisation
|
|
22
|
+
*
|
|
23
|
+
* @return number
|
|
24
|
+
*/
|
|
25
|
+
getNumberOfProgrammesForDistanceLearning(): number;
|
|
26
|
+
/**
|
|
27
|
+
* Returns the number of masters offered by the organisation
|
|
28
|
+
*
|
|
29
|
+
* @return number
|
|
30
|
+
*/
|
|
31
|
+
getNumberOfProgrammesForMasters(): number;
|
|
32
|
+
/**
|
|
33
|
+
* Returns the number of phds offered by the organisation
|
|
34
|
+
*
|
|
35
|
+
* @return number
|
|
36
|
+
*/
|
|
37
|
+
getNumberOfProgrammesForPhd(): number;
|
|
38
|
+
/**
|
|
39
|
+
* Returns the number of short courses offered by the organisation
|
|
40
|
+
*
|
|
41
|
+
* @return number
|
|
42
|
+
*/
|
|
43
|
+
getNumberOfProgrammesForShortCourses(): number;
|
|
44
|
+
/**
|
|
45
|
+
* Gets the ID of the organisation.
|
|
46
|
+
*
|
|
47
|
+
* @return number
|
|
48
|
+
*/
|
|
49
|
+
getOrganisationId(): number;
|
|
50
|
+
/**
|
|
51
|
+
* Gets the premium type of the organisation
|
|
52
|
+
*
|
|
53
|
+
* @return string | null
|
|
54
|
+
*/
|
|
55
|
+
getPremiumType(): string | null;
|
|
56
|
+
/**
|
|
57
|
+
* Checks whether the organisation has studies taught both online and on campus
|
|
58
|
+
*
|
|
59
|
+
* @return boolean
|
|
60
|
+
*/
|
|
61
|
+
hasDeliveryMethodBlended(): boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Checks whether the organisation has studies taught on campus
|
|
64
|
+
*
|
|
65
|
+
* @return boolean
|
|
66
|
+
*/
|
|
67
|
+
hasDeliveryMethodOnCampus(): boolean;
|
|
68
|
+
/**
|
|
69
|
+
* Checks whether the organisation has studies taught online
|
|
70
|
+
*
|
|
71
|
+
* @return boolean
|
|
72
|
+
*/
|
|
73
|
+
hasDeliveryMethodOnline(): boolean;
|
|
74
|
+
/**
|
|
75
|
+
* Gets the IDs of all areas where the organisation has venues
|
|
76
|
+
*
|
|
77
|
+
* @return number[]
|
|
78
|
+
*/
|
|
79
|
+
identifyAreasOfVenues(): number[];
|
|
80
|
+
/**
|
|
81
|
+
* Gets the disciplines of Bachelors programmes taught at the organisation
|
|
82
|
+
*
|
|
83
|
+
* @return number[]
|
|
84
|
+
*/
|
|
85
|
+
identifyDisciplinesForBachelors(): number[];
|
|
86
|
+
/**
|
|
87
|
+
* Gets the disciplines of Masters programmes taught at the organisation
|
|
88
|
+
*
|
|
89
|
+
* @return number[]
|
|
90
|
+
*/
|
|
91
|
+
identifyDisciplinesForMasters(): number[];
|
|
92
|
+
/**
|
|
93
|
+
* Gets the disciplines of PhD programmes taught at the organisation
|
|
94
|
+
*
|
|
95
|
+
* @return number[]
|
|
96
|
+
*/
|
|
97
|
+
identifyDisciplinesForPhd(): number[];
|
|
98
|
+
/**
|
|
99
|
+
* Gets the disciplines of short courses programmes taught at the organisation
|
|
100
|
+
*
|
|
101
|
+
* @return number[]
|
|
102
|
+
*/
|
|
103
|
+
identifyDisciplinesForShortCourses(): number[];
|
|
104
|
+
/**
|
|
105
|
+
* Gets the IDs of all regions (continents) where the organisation has venues
|
|
106
|
+
*
|
|
107
|
+
* @return number[]
|
|
108
|
+
*/
|
|
109
|
+
identifyRegionsOfVenues(): number[];
|
|
110
|
+
/**
|
|
111
|
+
* Returns true when the organisation does not have a parent organisation
|
|
112
|
+
*
|
|
113
|
+
* @return boolean
|
|
114
|
+
*/
|
|
115
|
+
isMainOrganisation(): boolean;
|
|
116
|
+
/**
|
|
117
|
+
* Indicates whether the organisation is published or not
|
|
118
|
+
*
|
|
119
|
+
* @return boolean
|
|
120
|
+
*/
|
|
121
|
+
isPublished(): boolean;
|
|
122
|
+
/**
|
|
123
|
+
* Gets the city IDs for Masters programmes offered by the organisation
|
|
124
|
+
*
|
|
125
|
+
* @return array<number>
|
|
126
|
+
*/
|
|
127
|
+
getCityIdsForMasters(): number[];
|
|
128
|
+
/**
|
|
129
|
+
* Gets the city IDs for Bachelors programmes offered by the organisation
|
|
130
|
+
*
|
|
131
|
+
* @return array<number>
|
|
132
|
+
*/
|
|
133
|
+
getCityIdsForBachelors(): number[];
|
|
134
|
+
/**
|
|
135
|
+
* Gets the city IDs for PhD programmes offered by the organisation
|
|
136
|
+
*
|
|
137
|
+
* @return array<number>
|
|
138
|
+
*/
|
|
139
|
+
getCityIdsForPhd(): number[];
|
|
140
|
+
/**
|
|
141
|
+
* Gets the city IDs for Short Courses programmes offered by the organisation
|
|
142
|
+
*
|
|
143
|
+
* @return array<number>
|
|
144
|
+
*/
|
|
145
|
+
getCityIdsForShortCourses(): number[];
|
|
146
|
+
/**
|
|
147
|
+
* Gets the city IDs for Distance Learning programmes offered by the organisation
|
|
148
|
+
*
|
|
149
|
+
* @return array<number>
|
|
150
|
+
*/
|
|
151
|
+
getCityIdsForDistanceLearning(): number[];
|
|
152
|
+
/**
|
|
153
|
+
* Gets the virtual path for the organisation
|
|
154
|
+
*
|
|
155
|
+
* @return string
|
|
156
|
+
*/
|
|
157
|
+
getVirtualPath(): string;
|
|
158
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IOrganisationSearchDocument } from "../../..";
|
|
2
|
+
import { ModelClient } from "../../model-client";
|
|
3
|
+
export declare class OrganisationSearchDocumentClient extends ModelClient<IOrganisationSearchDocument> {
|
|
4
|
+
protected getModelName(): string;
|
|
5
|
+
protected getVersion(): string;
|
|
6
|
+
isPublic(): boolean;
|
|
7
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OrganisationSearchDocumentClient = void 0;
|
|
4
|
+
const model_client_1 = require("../../model-client");
|
|
5
|
+
class OrganisationSearchDocumentClient extends model_client_1.ModelClient {
|
|
6
|
+
getModelName() {
|
|
7
|
+
return 'organisation-search-document';
|
|
8
|
+
}
|
|
9
|
+
getVersion() {
|
|
10
|
+
return 'v1';
|
|
11
|
+
}
|
|
12
|
+
isPublic() {
|
|
13
|
+
return false;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.OrganisationSearchDocumentClient = OrganisationSearchDocumentClient;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface IDeadline {
|
|
2
|
+
/**
|
|
3
|
+
* Get the date this deadline expires on.
|
|
4
|
+
*
|
|
5
|
+
* @return Date
|
|
6
|
+
*/
|
|
7
|
+
getDate(): Date;
|
|
8
|
+
/**
|
|
9
|
+
* Get the deadline type (e.g. general, national, eea, etc).
|
|
10
|
+
*
|
|
11
|
+
* @return string
|
|
12
|
+
*/
|
|
13
|
+
getType(): string;
|
|
14
|
+
/**
|
|
15
|
+
* True if the deadline has passed (e.g. you can't apply anymore).
|
|
16
|
+
*
|
|
17
|
+
* @return boolean
|
|
18
|
+
*/
|
|
19
|
+
isPassed(): boolean;
|
|
20
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export interface IDuration {
|
|
2
|
+
/**
|
|
3
|
+
* Get the amount of periods the programme takes to complete.
|
|
4
|
+
*
|
|
5
|
+
* Note: Durations of more than 70 days (with period === 'days') are
|
|
6
|
+
* automatically calculated back to an amount of months.
|
|
7
|
+
*
|
|
8
|
+
* @return number
|
|
9
|
+
*/
|
|
10
|
+
getAmount(): number;
|
|
11
|
+
/**
|
|
12
|
+
* Get an optional textual description of the duration.
|
|
13
|
+
*
|
|
14
|
+
* @return string
|
|
15
|
+
* @throws PropertyNotAvailableException
|
|
16
|
+
*/
|
|
17
|
+
getDescription(): string;
|
|
18
|
+
canShowDescription(): boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Get the original duration amount before any calculations.
|
|
21
|
+
*
|
|
22
|
+
* @return number
|
|
23
|
+
*/
|
|
24
|
+
getOriginalDuration(): number;
|
|
25
|
+
/**
|
|
26
|
+
* Get the original duration period before any calculations.
|
|
27
|
+
*
|
|
28
|
+
* @return string
|
|
29
|
+
*/
|
|
30
|
+
getOriginalPeriod(): string;
|
|
31
|
+
/**
|
|
32
|
+
* Get the period this duration is provided in (days or months).
|
|
33
|
+
*
|
|
34
|
+
* Note: Durations of more than 70 days (with period === 'days') are
|
|
35
|
+
* automatically calculated back to an amount of months.
|
|
36
|
+
*
|
|
37
|
+
* @return string
|
|
38
|
+
*/
|
|
39
|
+
getPeriod(): string;
|
|
40
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export interface IInternalLink {
|
|
2
|
+
/**
|
|
3
|
+
* Get an optional text describing the link (typically <a>-tags contents).
|
|
4
|
+
*
|
|
5
|
+
* @return string
|
|
6
|
+
* @throws PropertyNotAvailableException
|
|
7
|
+
*/
|
|
8
|
+
getDescription(): string;
|
|
9
|
+
canShowDescription(): boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Returns on which portal a this link should link towards.
|
|
12
|
+
*
|
|
13
|
+
* @return string
|
|
14
|
+
*/
|
|
15
|
+
getPortalType(): string;
|
|
16
|
+
/**
|
|
17
|
+
* Get the url to refer to.
|
|
18
|
+
*
|
|
19
|
+
* Note that the url provided is always a relative URL. A base URL is needed
|
|
20
|
+
* to make it a full valid path.
|
|
21
|
+
* The only exception is when an external link is provided (meaning, outside
|
|
22
|
+
* of StudyPortals-maintained domains). In this case a full url will be
|
|
23
|
+
* provided.
|
|
24
|
+
*
|
|
25
|
+
* @return string
|
|
26
|
+
*/
|
|
27
|
+
getUrl(): string;
|
|
28
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface ILink {
|
|
2
|
+
/**
|
|
3
|
+
* Get an optional text describing the link (typically <a>-tags contents).
|
|
4
|
+
*
|
|
5
|
+
* @return string
|
|
6
|
+
* @throws PropertyNotAvailableException
|
|
7
|
+
*/
|
|
8
|
+
getDescription(): string;
|
|
9
|
+
canShowDescription(): boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Get the url to refer to.
|
|
12
|
+
*
|
|
13
|
+
* Note that the url provided is always a relative URL. A base URL is needed
|
|
14
|
+
* to make it a full valid path.
|
|
15
|
+
* The only exception is when an external link is provided (meaning, outside
|
|
16
|
+
* of StudyPortals-maintained domains). In this case a full url will be
|
|
17
|
+
* provided.
|
|
18
|
+
*
|
|
19
|
+
* @return string
|
|
20
|
+
*/
|
|
21
|
+
getUrl(): string;
|
|
22
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IOptionalLink } from "../../..";
|
|
2
|
+
export interface ILocation {
|
|
3
|
+
getArea(): IOptionalLink;
|
|
4
|
+
canShowArea(): boolean;
|
|
5
|
+
getAreaId(): number;
|
|
6
|
+
getCity(): IOptionalLink;
|
|
7
|
+
getCityId(): number;
|
|
8
|
+
getCountry(): IOptionalLink;
|
|
9
|
+
getCountryId(): number;
|
|
10
|
+
getCountryIso(): string;
|
|
11
|
+
hasAreaId(): boolean;
|
|
12
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface IOptionalLink {
|
|
2
|
+
/**
|
|
3
|
+
* Get an optional text describing the link (typically <a>-tags contents).
|
|
4
|
+
*
|
|
5
|
+
* @return string
|
|
6
|
+
* @throws PropertyNotAvailableException
|
|
7
|
+
*/
|
|
8
|
+
getDescription(): string;
|
|
9
|
+
canShowDescription(): boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Get the url to refer to.
|
|
12
|
+
*
|
|
13
|
+
* Note that the url provided is always a relative URL. A base URL is needed
|
|
14
|
+
* to make it a full valid path.
|
|
15
|
+
* The only exception is when an external link is provided (meaning, outside
|
|
16
|
+
* of StudyPortals-maintained domains). In this case a full url will be
|
|
17
|
+
* provided.
|
|
18
|
+
*
|
|
19
|
+
* @return string
|
|
20
|
+
*/
|
|
21
|
+
getUrl(): string;
|
|
22
|
+
canShowUrl(): boolean;
|
|
23
|
+
}
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
import { ICover, IDuration, IEnglishRequirements, IGPARequirement, IInternalLink, ILink, ILivingCost, ILocation, ILogo, ITiming, ITrackedLink, ITracking, ITuitionFee } from "../../..";
|
|
2
|
+
import { IReviewRating } from "../common/i-review-rating";
|
|
3
|
+
export interface IProgrammeCard {
|
|
4
|
+
/**
|
|
5
|
+
* ISO code of the country the programme is taught.
|
|
6
|
+
* Formatted in UPPERCASE
|
|
7
|
+
*
|
|
8
|
+
* @return string | null
|
|
9
|
+
*/
|
|
10
|
+
getCountryIsoCode(): string | null;
|
|
11
|
+
/**
|
|
12
|
+
* Get the Cover of the programme if available.
|
|
13
|
+
*
|
|
14
|
+
* @return ICover
|
|
15
|
+
*/
|
|
16
|
+
getCover(): ICover;
|
|
17
|
+
canShowCover(): boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Get the degree name of the programme.
|
|
20
|
+
*
|
|
21
|
+
* @return string
|
|
22
|
+
*/
|
|
23
|
+
getDegree(): string;
|
|
24
|
+
/**
|
|
25
|
+
* @return number[] | null
|
|
26
|
+
*/
|
|
27
|
+
getDisciplineIds(): number[] | null;
|
|
28
|
+
/**
|
|
29
|
+
* Get duration of the programme.
|
|
30
|
+
*
|
|
31
|
+
* @return IDuration
|
|
32
|
+
*/
|
|
33
|
+
getDuration(): IDuration;
|
|
34
|
+
canShowDuration(): boolean;
|
|
35
|
+
getEnglishRequirements(): IEnglishRequirements | null;
|
|
36
|
+
getGPA(): IGPARequirement | null;
|
|
37
|
+
/**
|
|
38
|
+
* Get the programme id.
|
|
39
|
+
*
|
|
40
|
+
* @return number
|
|
41
|
+
*/
|
|
42
|
+
getId(): number;
|
|
43
|
+
/**
|
|
44
|
+
* Get the programme level.
|
|
45
|
+
*
|
|
46
|
+
* @return string
|
|
47
|
+
*/
|
|
48
|
+
getLevel(): string;
|
|
49
|
+
getLivingCost(): ILivingCost | null;
|
|
50
|
+
/**
|
|
51
|
+
* Get the locaiton the programme is located in.
|
|
52
|
+
*
|
|
53
|
+
* Uses the country based on the programmes venues.
|
|
54
|
+
*
|
|
55
|
+
* @return ILocation
|
|
56
|
+
*/
|
|
57
|
+
getLocation(): ILocation;
|
|
58
|
+
canShowLocation(): boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Get the location text the programme is located in
|
|
61
|
+
*
|
|
62
|
+
* Uses the country based on the programmes venues and isFullyOnline state
|
|
63
|
+
*
|
|
64
|
+
* @return string | null
|
|
65
|
+
*/
|
|
66
|
+
getLocationText(): string | null;
|
|
67
|
+
/**
|
|
68
|
+
* Get the Logo of the programme if available.
|
|
69
|
+
*
|
|
70
|
+
* @return ILogo
|
|
71
|
+
*/
|
|
72
|
+
getLogo(): ILogo;
|
|
73
|
+
canShowLogo(): boolean;
|
|
74
|
+
/**
|
|
75
|
+
* Returns premium type
|
|
76
|
+
* Such as Super premium, premium, light, etc..
|
|
77
|
+
*
|
|
78
|
+
* @return string
|
|
79
|
+
*/
|
|
80
|
+
getPremiumType(): string;
|
|
81
|
+
/**
|
|
82
|
+
* Get a link to the programme page.
|
|
83
|
+
*
|
|
84
|
+
* The link contains the page path as url and the programme name as the
|
|
85
|
+
* link description.
|
|
86
|
+
*
|
|
87
|
+
* @return IInternalLink
|
|
88
|
+
*/
|
|
89
|
+
getProgrammeLink(): IInternalLink;
|
|
90
|
+
/**
|
|
91
|
+
* Get programme's referral link
|
|
92
|
+
*
|
|
93
|
+
* @return ITrackedLink
|
|
94
|
+
*/
|
|
95
|
+
getReferralLink(): ITrackedLink;
|
|
96
|
+
canShowReferralLink(): boolean;
|
|
97
|
+
/**
|
|
98
|
+
* Get the summary of the programme.
|
|
99
|
+
*
|
|
100
|
+
* @return string
|
|
101
|
+
*/
|
|
102
|
+
getSummary(): string;
|
|
103
|
+
/**
|
|
104
|
+
* Get all start dates
|
|
105
|
+
*
|
|
106
|
+
* @return ITiming[]
|
|
107
|
+
*/
|
|
108
|
+
getTimings(): ITiming[];
|
|
109
|
+
canShowTimings(): boolean;
|
|
110
|
+
/**
|
|
111
|
+
* Get the programme title.
|
|
112
|
+
*
|
|
113
|
+
* @return string
|
|
114
|
+
*/
|
|
115
|
+
getTitle(): string;
|
|
116
|
+
/**
|
|
117
|
+
* Get the tracking information needed to track the impression on the card.
|
|
118
|
+
*
|
|
119
|
+
* @return ITracking
|
|
120
|
+
*/
|
|
121
|
+
getTracking(): ITracking;
|
|
122
|
+
/**
|
|
123
|
+
* Get all tuition fees of the programme.
|
|
124
|
+
*
|
|
125
|
+
* @return ITuitionFee[]
|
|
126
|
+
*/
|
|
127
|
+
getTuitionFees(): ITuitionFee[];
|
|
128
|
+
canShowTuitionFees(): boolean;
|
|
129
|
+
/**
|
|
130
|
+
* Get the programme's university global position percentage in Meta Ranking
|
|
131
|
+
*
|
|
132
|
+
* @return string | null
|
|
133
|
+
*/
|
|
134
|
+
getUniversityGlobalPositionPercentage(): string | null;
|
|
135
|
+
/**
|
|
136
|
+
* Get the programme's university id
|
|
137
|
+
*
|
|
138
|
+
* @return number
|
|
139
|
+
*/
|
|
140
|
+
getUniversityId(): number;
|
|
141
|
+
/**
|
|
142
|
+
* Get a link to the programme's university page.
|
|
143
|
+
*
|
|
144
|
+
* The link contains the page path as url and the university name as the
|
|
145
|
+
* link description.
|
|
146
|
+
*
|
|
147
|
+
* @return ILink
|
|
148
|
+
*/
|
|
149
|
+
getUniversityLink(): ILink;
|
|
150
|
+
getWorkExperienceYears(): number | null;
|
|
151
|
+
getEcts(): number | null;
|
|
152
|
+
/**
|
|
153
|
+
* If a program is both on campus and online
|
|
154
|
+
*
|
|
155
|
+
* @return boolean
|
|
156
|
+
*/
|
|
157
|
+
isBlended(): boolean;
|
|
158
|
+
/**
|
|
159
|
+
* If a program is given in fulltime
|
|
160
|
+
*
|
|
161
|
+
* @return boolean
|
|
162
|
+
*/
|
|
163
|
+
isFullTime(): boolean;
|
|
164
|
+
/**
|
|
165
|
+
* If a program can only be taught online or not
|
|
166
|
+
*
|
|
167
|
+
* @return boolean
|
|
168
|
+
*/
|
|
169
|
+
isFullyOnline(): boolean;
|
|
170
|
+
/**
|
|
171
|
+
* If a program is taught on campus
|
|
172
|
+
*
|
|
173
|
+
* @return boolean
|
|
174
|
+
*/
|
|
175
|
+
isOnCampus(): boolean;
|
|
176
|
+
/**
|
|
177
|
+
* If a program can be taught online
|
|
178
|
+
*
|
|
179
|
+
* @return boolean
|
|
180
|
+
*/
|
|
181
|
+
isOnline(): boolean;
|
|
182
|
+
/**
|
|
183
|
+
* If a program is given in parttime
|
|
184
|
+
*
|
|
185
|
+
* @return boolean
|
|
186
|
+
*/
|
|
187
|
+
isPartTime(): boolean;
|
|
188
|
+
/**
|
|
189
|
+
* Public status of the programme.
|
|
190
|
+
*
|
|
191
|
+
* @return boolean
|
|
192
|
+
*/
|
|
193
|
+
isPublic(): boolean;
|
|
194
|
+
/**
|
|
195
|
+
* The last time the programme has been updated and verified
|
|
196
|
+
*
|
|
197
|
+
* @return Date
|
|
198
|
+
*/
|
|
199
|
+
getLastUpdated(): Date;
|
|
200
|
+
/**
|
|
201
|
+
* Get the programme's campaign type
|
|
202
|
+
*
|
|
203
|
+
* @return number
|
|
204
|
+
*/
|
|
205
|
+
getCampaignType(): number | null;
|
|
206
|
+
/**
|
|
207
|
+
* Get the review rating of the programme.
|
|
208
|
+
*
|
|
209
|
+
* @return IReviewRating | null
|
|
210
|
+
*/
|
|
211
|
+
getReviewRating(): IReviewRating | null;
|
|
212
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { IDeadline } from "../../..";
|
|
2
|
+
export interface IStartDate {
|
|
3
|
+
/**
|
|
4
|
+
* Get the date the programme starts on.
|
|
5
|
+
*
|
|
6
|
+
* @return Date
|
|
7
|
+
*/
|
|
8
|
+
getDate(): Date;
|
|
9
|
+
/**
|
|
10
|
+
* Get a list of deadlines that apply to this start date.
|
|
11
|
+
*
|
|
12
|
+
* Note: In case of extendable start dates, all information in the
|
|
13
|
+
* Deadline objects has already been extended to the first available start
|
|
14
|
+
* date.
|
|
15
|
+
*
|
|
16
|
+
* @return IDeadline[]
|
|
17
|
+
* @throws PropertyNotAvailableException
|
|
18
|
+
*/
|
|
19
|
+
getDeadlines(): IDeadline[];
|
|
20
|
+
canShowDeadlines(): boolean;
|
|
21
|
+
/**
|
|
22
|
+
* True if you can apply at any time for this programme (rolling admission)
|
|
23
|
+
*
|
|
24
|
+
* @return boolean
|
|
25
|
+
*/
|
|
26
|
+
isApplyingAnytime(): boolean;
|
|
27
|
+
/**
|
|
28
|
+
* True if the start date has passed (you can't start at this date anymore).
|
|
29
|
+
*
|
|
30
|
+
* @return boolean
|
|
31
|
+
*/
|
|
32
|
+
isPassed(): boolean;
|
|
33
|
+
}
|