@studyportals/domain-client 7.0.1-beta.5 → 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,125 @@
|
|
|
1
|
+
import { IEnglishRequirements, IGPARequirement, IGeoTargetingValues, IInternalLink, ILink, ILivingCost, ITiming, ITuitionValues } from "../../..";
|
|
2
|
+
export interface ICopilotProgramme {
|
|
3
|
+
/**
|
|
4
|
+
* Get country the programme is taught in
|
|
5
|
+
*
|
|
6
|
+
* @return number[]
|
|
7
|
+
*/
|
|
8
|
+
getCountryIds(): number[];
|
|
9
|
+
/**
|
|
10
|
+
* Get country iso codes the programme is taught in
|
|
11
|
+
*
|
|
12
|
+
* @return string[]
|
|
13
|
+
*/
|
|
14
|
+
getCountryIsoCodes(): string[];
|
|
15
|
+
/**
|
|
16
|
+
* Get discipline ids attached to this programme
|
|
17
|
+
*
|
|
18
|
+
* @return number[]
|
|
19
|
+
*/
|
|
20
|
+
getDisciplineIds(): number[];
|
|
21
|
+
/**
|
|
22
|
+
* Education level
|
|
23
|
+
*
|
|
24
|
+
* @return string
|
|
25
|
+
*/
|
|
26
|
+
getEducationalLevel(): string;
|
|
27
|
+
/**
|
|
28
|
+
* English level requirements.
|
|
29
|
+
*
|
|
30
|
+
* @return IEnglishRequirements
|
|
31
|
+
*/
|
|
32
|
+
getEnglishRequirements(): IEnglishRequirements;
|
|
33
|
+
/**
|
|
34
|
+
* GPA Requirements
|
|
35
|
+
*
|
|
36
|
+
* @return IGPARequirement | null
|
|
37
|
+
*/
|
|
38
|
+
getGPA(): IGPARequirement | null;
|
|
39
|
+
getGeneralRequirements(): string | null;
|
|
40
|
+
/**
|
|
41
|
+
* Get geotargetting settings for the programme
|
|
42
|
+
*
|
|
43
|
+
* @return IGeoTargetingValues
|
|
44
|
+
*/
|
|
45
|
+
getGeoTargetingValues(): IGeoTargetingValues;
|
|
46
|
+
getGlobalUniversityRanking(): string | null;
|
|
47
|
+
/**
|
|
48
|
+
* Id of the programme.
|
|
49
|
+
*
|
|
50
|
+
* @return number
|
|
51
|
+
*/
|
|
52
|
+
getId(): number;
|
|
53
|
+
/**
|
|
54
|
+
* The programmes estimated living cost
|
|
55
|
+
*
|
|
56
|
+
* @return ILivingCost | null
|
|
57
|
+
*/
|
|
58
|
+
getLivingCost(): ILivingCost | null;
|
|
59
|
+
/**
|
|
60
|
+
* Get a link to the programme page.
|
|
61
|
+
*
|
|
62
|
+
* The link contains the page path as url and the programme name as the
|
|
63
|
+
* link description.
|
|
64
|
+
*
|
|
65
|
+
* @return IInternalLink
|
|
66
|
+
*/
|
|
67
|
+
getProgrammeLink(): IInternalLink;
|
|
68
|
+
/**
|
|
69
|
+
* Summary of the programme.
|
|
70
|
+
*
|
|
71
|
+
* @return string
|
|
72
|
+
*/
|
|
73
|
+
getSummary(): string;
|
|
74
|
+
/**
|
|
75
|
+
* Get all start dates
|
|
76
|
+
*
|
|
77
|
+
* @return ITiming[]
|
|
78
|
+
*/
|
|
79
|
+
getTimings(): ITiming[];
|
|
80
|
+
/**
|
|
81
|
+
* Title of the programme.
|
|
82
|
+
*
|
|
83
|
+
* @return string
|
|
84
|
+
*/
|
|
85
|
+
getTitle(): string;
|
|
86
|
+
/**
|
|
87
|
+
* The programmes tuition fees
|
|
88
|
+
*
|
|
89
|
+
* @return ITuitionValues | null
|
|
90
|
+
*/
|
|
91
|
+
getTuitionValues(): ITuitionValues | null;
|
|
92
|
+
/**
|
|
93
|
+
* University id
|
|
94
|
+
*
|
|
95
|
+
* @return number
|
|
96
|
+
*/
|
|
97
|
+
getUniversityId(): number;
|
|
98
|
+
/**
|
|
99
|
+
* Get a link to the programme's university page.
|
|
100
|
+
*
|
|
101
|
+
* The link contains the page path as url and the university name as the
|
|
102
|
+
* link description.
|
|
103
|
+
*
|
|
104
|
+
* @return ILink
|
|
105
|
+
*/
|
|
106
|
+
getUniversityLink(): ILink;
|
|
107
|
+
/**
|
|
108
|
+
* University title
|
|
109
|
+
*
|
|
110
|
+
* @return string
|
|
111
|
+
*/
|
|
112
|
+
getUniversityTitle(): string;
|
|
113
|
+
/**
|
|
114
|
+
* Work experience requirements in years
|
|
115
|
+
*
|
|
116
|
+
* @return number | null
|
|
117
|
+
*/
|
|
118
|
+
getWorkExperienceYears(): number | null;
|
|
119
|
+
/**
|
|
120
|
+
* Is programme public
|
|
121
|
+
*
|
|
122
|
+
* @return boolean
|
|
123
|
+
*/
|
|
124
|
+
isPublic(): boolean;
|
|
125
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ICustomerIOOrganisation } from "../../..";
|
|
2
|
+
import { ModelClient } from "../../model-client";
|
|
3
|
+
export declare class CustomerIOOrganisationClient extends ModelClient<ICustomerIOOrganisation> {
|
|
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.CustomerIOOrganisationClient = void 0;
|
|
4
|
+
const model_client_1 = require("../../model-client");
|
|
5
|
+
class CustomerIOOrganisationClient extends model_client_1.ModelClient {
|
|
6
|
+
getModelName() {
|
|
7
|
+
return 'customerio-organisation';
|
|
8
|
+
}
|
|
9
|
+
getVersion() {
|
|
10
|
+
return 'v1';
|
|
11
|
+
}
|
|
12
|
+
isPublic() {
|
|
13
|
+
return false;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.CustomerIOOrganisationClient = CustomerIOOrganisationClient;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ICity, ICountry, IReview } from "../../..";
|
|
2
|
+
export interface ICustomerIOOrganisation {
|
|
3
|
+
getAboutCareer(): string | null;
|
|
4
|
+
getAboutEducation(): string | null;
|
|
5
|
+
getAboutHistory(): string | null;
|
|
6
|
+
getAboutResearch(): string | null;
|
|
7
|
+
getAcademicStaff(): number | null;
|
|
8
|
+
getAmountOfProgrammes(): number;
|
|
9
|
+
getAverageStudentRating(): number | null;
|
|
10
|
+
getCity(): ICity;
|
|
11
|
+
getCountry(): ICountry;
|
|
12
|
+
getCoverUrl(): string | null;
|
|
13
|
+
getFemaleStudents(): number | null;
|
|
14
|
+
getId(): number;
|
|
15
|
+
getLogoUrl(): string | null;
|
|
16
|
+
getName(): string | null;
|
|
17
|
+
getOrganisationUrl(): string;
|
|
18
|
+
/**
|
|
19
|
+
* @return string[] | null
|
|
20
|
+
*/
|
|
21
|
+
getReasons(): string[] | null;
|
|
22
|
+
/**
|
|
23
|
+
* @return IReview[]
|
|
24
|
+
*/
|
|
25
|
+
getReviews(): IReview[];
|
|
26
|
+
getServicesHousing(): string | null;
|
|
27
|
+
getServicesICT(): string | null;
|
|
28
|
+
getServicesLibrary(): string | null;
|
|
29
|
+
getServicesMedical(): string | null;
|
|
30
|
+
getServicesStudent(): string | null;
|
|
31
|
+
getStudentLifeCampus(): string | null;
|
|
32
|
+
getStudentLifeSport(): string | null;
|
|
33
|
+
getStudents(): number | null;
|
|
34
|
+
getStudentsInternational(): number | null;
|
|
35
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ICustomerIOProgramme } from "../../..";
|
|
2
|
+
import { ModelClient } from "../../model-client";
|
|
3
|
+
export declare class CustomerIOProgrammeClient extends ModelClient<ICustomerIOProgramme> {
|
|
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.CustomerIOProgrammeClient = void 0;
|
|
4
|
+
const model_client_1 = require("../../model-client");
|
|
5
|
+
class CustomerIOProgrammeClient extends model_client_1.ModelClient {
|
|
6
|
+
getModelName() {
|
|
7
|
+
return 'customerio-programme';
|
|
8
|
+
}
|
|
9
|
+
getVersion() {
|
|
10
|
+
return 'v1';
|
|
11
|
+
}
|
|
12
|
+
isPublic() {
|
|
13
|
+
return false;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.CustomerIOProgrammeClient = CustomerIOProgrammeClient;
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { ICountry, IEnglishRequirements, IInternalLink, ILogo, ITiming, ITuitionFee } from "../../..";
|
|
2
|
+
export interface ICustomerIOProgramme {
|
|
3
|
+
/**
|
|
4
|
+
* Campaign type of the campaign the programme is attached to
|
|
5
|
+
*
|
|
6
|
+
* @return number
|
|
7
|
+
*/
|
|
8
|
+
getCampaignType(): number;
|
|
9
|
+
canShowCampaignType(): boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Get country the programme is teached in
|
|
12
|
+
*
|
|
13
|
+
* @return ICountry
|
|
14
|
+
*/
|
|
15
|
+
getCountry(): ICountry;
|
|
16
|
+
canShowCountry(): boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Get discipline ids attached to this programme
|
|
19
|
+
*
|
|
20
|
+
* @return number[]
|
|
21
|
+
*/
|
|
22
|
+
getDisciplineIds(): number[];
|
|
23
|
+
/**
|
|
24
|
+
* Education level
|
|
25
|
+
*
|
|
26
|
+
* @return string
|
|
27
|
+
*/
|
|
28
|
+
getEducationalLevel(): string;
|
|
29
|
+
/**
|
|
30
|
+
* English level requirements.
|
|
31
|
+
*
|
|
32
|
+
* @return IEnglishRequirements
|
|
33
|
+
*/
|
|
34
|
+
getEnglishRequirements(): IEnglishRequirements;
|
|
35
|
+
/**
|
|
36
|
+
* Id of the programme.
|
|
37
|
+
*
|
|
38
|
+
* @return number
|
|
39
|
+
*/
|
|
40
|
+
getId(): number;
|
|
41
|
+
/**
|
|
42
|
+
* The last time the programme has been updated and verified
|
|
43
|
+
*
|
|
44
|
+
* @return Date
|
|
45
|
+
*/
|
|
46
|
+
getLastUpdated(): Date;
|
|
47
|
+
/**
|
|
48
|
+
* University logo url
|
|
49
|
+
*
|
|
50
|
+
* @return ILogo
|
|
51
|
+
*/
|
|
52
|
+
getLogo(): ILogo;
|
|
53
|
+
canShowLogo(): boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Get a link to the programme page.
|
|
56
|
+
*
|
|
57
|
+
* The link contains the page path as url and the programme name as the
|
|
58
|
+
* link description.
|
|
59
|
+
*
|
|
60
|
+
* @return IInternalLink
|
|
61
|
+
*/
|
|
62
|
+
getProgrammeLink(): IInternalLink;
|
|
63
|
+
/**
|
|
64
|
+
* The universities review rating
|
|
65
|
+
*
|
|
66
|
+
* @return number
|
|
67
|
+
*/
|
|
68
|
+
getReviewRating(): number;
|
|
69
|
+
canShowReviewRating(): boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Get all start dates
|
|
72
|
+
*
|
|
73
|
+
* @return ITiming[]
|
|
74
|
+
*/
|
|
75
|
+
getTimings(): ITiming[];
|
|
76
|
+
/**
|
|
77
|
+
* Title of the programme.
|
|
78
|
+
*
|
|
79
|
+
* @return string
|
|
80
|
+
*/
|
|
81
|
+
getTitle(): string;
|
|
82
|
+
/**
|
|
83
|
+
* The programmes tuition fees
|
|
84
|
+
*
|
|
85
|
+
* @return ITuitionFee[]
|
|
86
|
+
*/
|
|
87
|
+
getTuitionFees(): ITuitionFee[];
|
|
88
|
+
canShowTuitionFees(): boolean;
|
|
89
|
+
/**
|
|
90
|
+
* University id
|
|
91
|
+
*
|
|
92
|
+
* @return number
|
|
93
|
+
*/
|
|
94
|
+
getUniversityId(): number;
|
|
95
|
+
/**
|
|
96
|
+
* University title
|
|
97
|
+
*
|
|
98
|
+
* @return string
|
|
99
|
+
*/
|
|
100
|
+
getUniversityTitle(): string;
|
|
101
|
+
/**
|
|
102
|
+
* Is programme public
|
|
103
|
+
*
|
|
104
|
+
* @return boolean
|
|
105
|
+
*/
|
|
106
|
+
isPublic(): boolean;
|
|
107
|
+
}
|
|
@@ -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,10 @@
|
|
|
1
|
+
import { IFaq } from "./i-faq";
|
|
2
|
+
import { IStaticContent } from "./i-static-content";
|
|
3
|
+
export interface IFaqStaticContent {
|
|
4
|
+
getFaqId(): number | null;
|
|
5
|
+
getStaticContentId(): number | null;
|
|
6
|
+
getRankingFaqs(): IFaq[] | null;
|
|
7
|
+
getSearchFaqs(): IFaq[] | null;
|
|
8
|
+
getRankingStaticContent(): IStaticContent[] | null;
|
|
9
|
+
getSearchStaticContent(): IStaticContent[] | null;
|
|
10
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ModelClient } from "../../model-client";
|
|
2
|
+
import { IFaqStaticContent } from "./i-faq-static-content";
|
|
3
|
+
export declare class PublicFaqStaticContentClient extends ModelClient<IFaqStaticContent> {
|
|
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.PublicFaqStaticContentClient = void 0;
|
|
4
|
+
const model_client_1 = require("../../model-client");
|
|
5
|
+
class PublicFaqStaticContentClient extends model_client_1.ModelClient {
|
|
6
|
+
getModelName() {
|
|
7
|
+
return 'faq-static-content';
|
|
8
|
+
}
|
|
9
|
+
getVersion() {
|
|
10
|
+
return 'v1';
|
|
11
|
+
}
|
|
12
|
+
isPublic() {
|
|
13
|
+
return true;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.PublicFaqStaticContentClient = PublicFaqStaticContentClient;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { IReviewRating } from "../common/i-review-rating";
|
|
2
|
+
import { IRankingDiscipline } from "./i-ranking-discipline";
|
|
3
|
+
export interface IOrganisationCard {
|
|
4
|
+
getNumberOfProgrammesForBachelors(): number;
|
|
5
|
+
getNumberOfProgrammesForDistanceLearning(): number;
|
|
6
|
+
getNumberOfProgrammesForMasters(): number;
|
|
7
|
+
getNumberOfProgrammesForPhd(): number;
|
|
8
|
+
getNumberOfProgrammesForShortCourses(): number;
|
|
9
|
+
getOrganisationGlobalMetaRankingPosition(): number | null;
|
|
10
|
+
getOrganisationMetaRankingPositionsByDiscipline(): IRankingDiscipline[] | null;
|
|
11
|
+
getOrganisationGlobalPositionPercentage(): string | null;
|
|
12
|
+
getOrganisationHasDeliveryMethodBlended(): boolean;
|
|
13
|
+
getOrganisationHasDeliveryMethodOnCampus(): boolean;
|
|
14
|
+
getOrganisationHasDeliveryMethodOnline(): boolean;
|
|
15
|
+
getOrganisationId(): number;
|
|
16
|
+
getOrganisationIsPremium(): boolean;
|
|
17
|
+
getOrganisationLocationCityName(): string | null;
|
|
18
|
+
getOrganisationLocationCityRelativeLinkOfDetailPage(): string | null;
|
|
19
|
+
getOrganisationLocationCountryIsoCode(): string | null;
|
|
20
|
+
getOrganisationLocationCountryName(): string | null;
|
|
21
|
+
getOrganisationLocationCountryRelativeLinkOfDetailPage(): string | null;
|
|
22
|
+
getOrganisationLocationAreaCode(): string | null;
|
|
23
|
+
getOrganisationLogoSquareCdn(): string | null;
|
|
24
|
+
getOrganisationMayShowCoverImage(): boolean;
|
|
25
|
+
getOrganisationMayShowLogoSquare(): boolean;
|
|
26
|
+
getOrganisationName(): string;
|
|
27
|
+
getOrganisationRelativeLinkOfDetailPage(): string;
|
|
28
|
+
getOrganisationSummary(): string | null;
|
|
29
|
+
getOrganisationVenuesCount(): number;
|
|
30
|
+
getScholarshipsCountForBachelors(): number;
|
|
31
|
+
getScholarshipsCountForMasters(): number;
|
|
32
|
+
getScholarshipsCountForPhd(): number;
|
|
33
|
+
isForProfitFunding(): boolean;
|
|
34
|
+
isNonProfitFunding(): boolean;
|
|
35
|
+
isPublicFunding(): boolean;
|
|
36
|
+
getCampaignType(): number;
|
|
37
|
+
getReviewRating(): IReviewRating | null;
|
|
38
|
+
getIsoCodesOfCountriesOfVenues(): string[] | null;
|
|
39
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IOrganisationCard } from "../../..";
|
|
2
|
+
import { ModelClient } from "../../model-client";
|
|
3
|
+
export declare class OrganisationCardClient extends ModelClient<IOrganisationCard> {
|
|
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.OrganisationCardClient = void 0;
|
|
4
|
+
const model_client_1 = require("../../model-client");
|
|
5
|
+
class OrganisationCardClient extends model_client_1.ModelClient {
|
|
6
|
+
getModelName() {
|
|
7
|
+
return 'organisation-card';
|
|
8
|
+
}
|
|
9
|
+
getVersion() {
|
|
10
|
+
return 'v1';
|
|
11
|
+
}
|
|
12
|
+
isPublic() {
|
|
13
|
+
return false;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.OrganisationCardClient = OrganisationCardClient;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export interface IOrganisationForSearch {
|
|
2
|
+
/**
|
|
3
|
+
* Gets the ISO codes of all countries where the organisation has venues.
|
|
4
|
+
*
|
|
5
|
+
* @return string[]
|
|
6
|
+
*/
|
|
7
|
+
getIsoCodesOfCountriesOfVenues(): string[];
|
|
8
|
+
/**
|
|
9
|
+
* Gets the ISO country code of the main location of the organisation
|
|
10
|
+
*
|
|
11
|
+
* @return string
|
|
12
|
+
*/
|
|
13
|
+
getMainLocationCountryIsoCode(): string;
|
|
14
|
+
/**
|
|
15
|
+
* Gets the ID of the organisation.
|
|
16
|
+
*
|
|
17
|
+
* @return number
|
|
18
|
+
*/
|
|
19
|
+
getOrganisationId(): number;
|
|
20
|
+
/**
|
|
21
|
+
* Gets the name of the organisation.
|
|
22
|
+
*
|
|
23
|
+
* @return string
|
|
24
|
+
*/
|
|
25
|
+
getOrganisationName(): string;
|
|
26
|
+
/**
|
|
27
|
+
* Gets the virtual name of the organisation.
|
|
28
|
+
*
|
|
29
|
+
* @return string
|
|
30
|
+
*/
|
|
31
|
+
getOrganisationVirtualName(): string;
|
|
32
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IOrganisationForSearch } from "../../..";
|
|
2
|
+
import { ModelClient } from "../../model-client";
|
|
3
|
+
export declare class PublicOrganisationForSearchClient extends ModelClient<IOrganisationForSearch> {
|
|
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.PublicOrganisationForSearchClient = void 0;
|
|
4
|
+
const model_client_1 = require("../../model-client");
|
|
5
|
+
class PublicOrganisationForSearchClient extends model_client_1.ModelClient {
|
|
6
|
+
getModelName() {
|
|
7
|
+
return 'organisation-for-search';
|
|
8
|
+
}
|
|
9
|
+
getVersion() {
|
|
10
|
+
return 'v1';
|
|
11
|
+
}
|
|
12
|
+
isPublic() {
|
|
13
|
+
return true;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.PublicOrganisationForSearchClient = PublicOrganisationForSearchClient;
|