@studyportals/domain-client 7.0.1-beta.4 → 7.0.1-beta.5
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/package.json +4 -1
- package/index.d.ts +0 -91
- package/protobuf/Area.d.ts +0 -11
- package/protobuf/Area.js +0 -30
- package/protobuf/Article.d.ts +0 -60
- package/protobuf/Article.js +0 -226
- package/protobuf/Body.d.ts +0 -11
- package/protobuf/Body.js +0 -30
- package/protobuf/CampaignInformation.d.ts +0 -11
- package/protobuf/CampaignInformation.js +0 -30
- package/protobuf/ClickTracking.d.ts +0 -11
- package/protobuf/ClickTracking.js +0 -30
- package/protobuf/CommercialEntity.d.ts +0 -14
- package/protobuf/CommercialEntity.js +0 -48
- package/protobuf/Cover.d.ts +0 -10
- package/protobuf/Cover.js +0 -26
- package/protobuf/Deadline.d.ts +0 -11
- package/protobuf/Deadline.js +0 -30
- package/protobuf/Degree.d.ts +0 -16
- package/protobuf/Degree.js +0 -50
- package/protobuf/Description.d.ts +0 -16
- package/protobuf/Description.js +0 -45
- package/protobuf/Discipline.d.ts +0 -26
- package/protobuf/Discipline.js +0 -84
- package/protobuf/Duration.d.ts +0 -11
- package/protobuf/Duration.js +0 -30
- package/protobuf/EnglishRequirement.d.ts +0 -11
- package/protobuf/EnglishRequirement.js +0 -30
- package/protobuf/EssentialInformation.d.ts +0 -17
- package/protobuf/EssentialInformation.js +0 -54
- package/protobuf/File.d.ts +0 -22
- package/protobuf/File.js +0 -74
- package/protobuf/GPARequirement.d.ts +0 -11
- package/protobuf/GPARequirement.js +0 -30
- package/protobuf/InternalLink.d.ts +0 -12
- package/protobuf/InternalLink.js +0 -30
- package/protobuf/Link.d.ts +0 -11
- package/protobuf/Link.js +0 -30
- package/protobuf/LivingCost.d.ts +0 -11
- package/protobuf/LivingCost.js +0 -30
- package/protobuf/Location.d.ts +0 -18
- package/protobuf/Location.js +0 -56
- package/protobuf/Logo.d.ts +0 -10
- package/protobuf/Logo.js +0 -26
- package/protobuf/MiniProgrammeCard.d.ts +0 -18
- package/protobuf/MiniProgrammeCard.js +0 -50
- package/protobuf/OptionalLink.d.ts +0 -12
- package/protobuf/OptionalLink.js +0 -34
- package/protobuf/Organisation.d.ts +0 -211
- package/protobuf/Organisation.js +0 -853
- package/protobuf/OrganisationInformation.d.ts +0 -9
- package/protobuf/OrganisationInformation.js +0 -20
- package/protobuf/OrganisationRanking.d.ts +0 -15
- package/protobuf/OrganisationRanking.js +0 -41
- package/protobuf/Person.d.ts +0 -14
- package/protobuf/Person.js +0 -40
- package/protobuf/ProgrammeCard.d.ts +0 -60
- package/protobuf/ProgrammeCard.js +0 -197
- package/protobuf/ProgrammeGrid.d.ts +0 -14
- package/protobuf/ProgrammeGrid.js +0 -37
- package/protobuf/Ranking.d.ts +0 -22
- package/protobuf/Ranking.js +0 -76
- package/protobuf/RankingInstitute.d.ts +0 -15
- package/protobuf/RankingInstitute.js +0 -44
- package/protobuf/Review.d.ts +0 -17
- package/protobuf/Review.js +0 -52
- package/protobuf/ReviewRating.d.ts +0 -12
- package/protobuf/ReviewRating.js +0 -34
- package/protobuf/RichText.d.ts +0 -10
- package/protobuf/RichText.js +0 -28
- package/protobuf/SocialLink.d.ts +0 -21
- package/protobuf/SocialLink.js +0 -70
- package/protobuf/StartDate.d.ts +0 -13
- package/protobuf/StartDate.js +0 -38
- package/protobuf/Timing.d.ts +0 -17
- package/protobuf/Timing.js +0 -49
- package/protobuf/Topic.d.ts +0 -10
- package/protobuf/Topic.js +0 -26
- package/protobuf/TrackedLink.d.ts +0 -13
- package/protobuf/TrackedLink.js +0 -36
- package/protobuf/Tracking.d.ts +0 -18
- package/protobuf/Tracking.js +0 -58
- package/protobuf/TuitionFee.d.ts +0 -13
- package/protobuf/TuitionFee.js +0 -38
- package/protobuf/Unibuddy.d.ts +0 -10
- package/protobuf/Unibuddy.js +0 -26
- package/protobuf/index.d.ts +0 -45
- package/protobuf/index.js +0 -45
- package/src/clients/article-detail-page-client.d.ts +0 -8
- package/src/clients/article-detail-page-client.js +0 -16
- package/src/clients/index.d.ts +0 -7
- package/src/clients/index.js +0 -7
- package/src/clients/organisation-page-client.d.ts +0 -8
- package/src/clients/organisation-page-client.js +0 -16
- package/src/clients/protobuf-client.d.ts +0 -14
- package/src/clients/protobuf-client.js +0 -26
- package/src/clients/public-mini-programme-card-client.d.ts +0 -8
- package/src/clients/public-mini-programme-card-client.js +0 -16
- package/src/domain-client.d.ts +0 -14
- package/src/domain-client.js +0 -91
- package/src/exceptions/bad-request-exception.d.ts +0 -2
- package/src/exceptions/bad-request-exception.js +0 -2
- package/src/exceptions/client-exception.d.ts +0 -2
- package/src/exceptions/client-exception.js +0 -2
- package/src/exceptions/internal-server-exception.d.ts +0 -2
- package/src/exceptions/internal-server-exception.js +0 -2
- package/src/exceptions/not-found-exception.d.ts +0 -2
- package/src/exceptions/not-found-exception.js +0 -2
- package/src/exceptions/property-not-available-exception.d.ts +0 -2
- package/src/exceptions/property-not-available-exception.js +0 -2
- package/src/factories/DateFactory.d.ts +0 -5
- package/src/factories/DateFactory.js +0 -5
- package/src/factories/InternalLinkFactory.d.ts +0 -9
- package/src/factories/InternalLinkFactory.js +0 -22
- package/src/i-api-response.d.ts +0 -6
- package/src/i-api-response.js +0 -1
- package/src/i-class-factory.d.ts +0 -4
- package/src/i-class-factory.js +0 -1
- package/src/i-model-description.d.ts +0 -7
- package/src/i-model-description.js +0 -5
- package/src/model-client.d.ts +0 -16
- package/src/model-client.js +0 -43
- package/src/model-factory.d.ts +0 -11
- package/src/model-factory.js +0 -68
- package/src/models/bestfit-programme/bestfit-programme-client.d.ts +0 -7
- package/src/models/bestfit-programme/bestfit-programme-client.js +0 -12
- package/src/models/bestfit-programme/i-best-fit-programme.d.ts +0 -82
- package/src/models/bestfit-programme/i-best-fit-programme.js +0 -1
- package/src/models/bestfit-programme/i-city.d.ts +0 -14
- package/src/models/bestfit-programme/i-city.js +0 -1
- package/src/models/bestfit-programme/i-living-cost.d.ts +0 -20
- package/src/models/bestfit-programme/i-living-cost.js +0 -1
- package/src/models/city-search-document/city-search-document-client.d.ts +0 -7
- package/src/models/city-search-document/city-search-document-client.js +0 -12
- package/src/models/city-search-document/i-city-search-document.d.ts +0 -7
- package/src/models/city-search-document/i-city-search-document.js +0 -1
- package/src/models/common/i-city.d.ts +0 -14
- package/src/models/common/i-city.js +0 -1
- package/src/models/common/i-country.d.ts +0 -20
- package/src/models/common/i-country.js +0 -1
- package/src/models/common/i-english-requirements.d.ts +0 -51
- package/src/models/common/i-english-requirements.js +0 -1
- package/src/models/common/i-g-p-a-requirement.d.ts +0 -20
- package/src/models/common/i-g-p-a-requirement.js +0 -1
- package/src/models/common/i-internal-link.d.ts +0 -28
- package/src/models/common/i-internal-link.js +0 -1
- package/src/models/common/i-logo.d.ts +0 -14
- package/src/models/common/i-logo.js +0 -1
- package/src/models/common/i-review-rating.d.ts +0 -26
- package/src/models/common/i-review-rating.js +0 -1
- package/src/models/common/i-tuition-fee.d.ts +0 -50
- package/src/models/common/i-tuition-fee.js +0 -1
- package/src/models/copilot-country/copilot-country-client.d.ts +0 -7
- package/src/models/copilot-country/copilot-country-client.js +0 -12
- package/src/models/copilot-country/i-copilot-country.d.ts +0 -39
- package/src/models/copilot-country/i-copilot-country.js +0 -1
- package/src/models/copilot-country/i-copilot-ranking-card.d.ts +0 -38
- package/src/models/copilot-country/i-copilot-ranking-card.js +0 -1
- package/src/models/copilot-programme/copilot-programme-client.d.ts +0 -7
- package/src/models/copilot-programme/copilot-programme-client.js +0 -12
- package/src/models/copilot-programme/i-copilot-programme.d.ts +0 -125
- package/src/models/copilot-programme/i-copilot-programme.js +0 -1
- package/src/models/customerio-organisation/customerio-organisation-client.d.ts +0 -7
- package/src/models/customerio-organisation/customerio-organisation-client.js +0 -12
- package/src/models/customerio-organisation/i-customer-io-organisation.d.ts +0 -35
- package/src/models/customerio-organisation/i-customer-io-organisation.js +0 -1
- package/src/models/customerio-organisation/i-review.d.ts +0 -7
- package/src/models/customerio-organisation/i-review.js +0 -1
- package/src/models/customerio-programme/customerio-programme-client.d.ts +0 -7
- package/src/models/customerio-programme/customerio-programme-client.js +0 -12
- package/src/models/customerio-programme/i-customer-io-programme.d.ts +0 -107
- package/src/models/customerio-programme/i-customer-io-programme.js +0 -1
- package/src/models/customerio-programme/i-internal-link.d.ts +0 -28
- package/src/models/customerio-programme/i-internal-link.js +0 -1
- package/src/models/faq-static-content/i-faq-static-content.d.ts +0 -10
- package/src/models/faq-static-content/i-faq-static-content.js +0 -1
- package/src/models/faq-static-content/i-faq.d.ts +0 -4
- package/src/models/faq-static-content/i-faq.js +0 -1
- package/src/models/faq-static-content/i-static-content-url.d.ts +0 -4
- package/src/models/faq-static-content/i-static-content-url.js +0 -1
- package/src/models/faq-static-content/i-static-content.d.ts +0 -5
- package/src/models/faq-static-content/i-static-content.js +0 -1
- package/src/models/faq-static-content/public-faq-static-content-client.d.ts +0 -7
- package/src/models/faq-static-content/public-faq-static-content-client.js +0 -12
- package/src/models/organisation-card/i-organisation-card.d.ts +0 -39
- package/src/models/organisation-card/i-organisation-card.js +0 -1
- package/src/models/organisation-card/i-ranking-discipline.d.ts +0 -4
- package/src/models/organisation-card/i-ranking-discipline.js +0 -1
- package/src/models/organisation-card/organisation-card-client.d.ts +0 -7
- package/src/models/organisation-card/organisation-card-client.js +0 -12
- package/src/models/organisation-for-search/i-organisation-for-search.d.ts +0 -32
- package/src/models/organisation-for-search/i-organisation-for-search.js +0 -1
- package/src/models/organisation-for-search/public-organisation-for-search-client.d.ts +0 -7
- package/src/models/organisation-for-search/public-organisation-for-search-client.js +0 -12
- package/src/models/organisation-search-document/i-organisation-search-document.d.ts +0 -158
- package/src/models/organisation-search-document/i-organisation-search-document.js +0 -1
- package/src/models/organisation-search-document/organisation-search-document-client.d.ts +0 -7
- package/src/models/organisation-search-document/organisation-search-document-client.js +0 -12
- package/src/models/programme-card/i-click-tracking-data.d.ts +0 -5
- package/src/models/programme-card/i-click-tracking-data.js +0 -1
- package/src/models/programme-card/i-cover.d.ts +0 -14
- package/src/models/programme-card/i-cover.js +0 -1
- package/src/models/programme-card/i-deadline.d.ts +0 -20
- package/src/models/programme-card/i-deadline.js +0 -1
- package/src/models/programme-card/i-duration.d.ts +0 -40
- package/src/models/programme-card/i-duration.js +0 -1
- package/src/models/programme-card/i-internal-link.d.ts +0 -28
- package/src/models/programme-card/i-internal-link.js +0 -1
- package/src/models/programme-card/i-link.d.ts +0 -22
- package/src/models/programme-card/i-link.js +0 -1
- package/src/models/programme-card/i-location.d.ts +0 -12
- package/src/models/programme-card/i-location.js +0 -1
- package/src/models/programme-card/i-logo.d.ts +0 -14
- package/src/models/programme-card/i-logo.js +0 -1
- package/src/models/programme-card/i-optional-link.d.ts +0 -23
- package/src/models/programme-card/i-optional-link.js +0 -1
- package/src/models/programme-card/i-programme-card.d.ts +0 -212
- package/src/models/programme-card/i-programme-card.js +0 -1
- package/src/models/programme-card/i-start-date.d.ts +0 -33
- package/src/models/programme-card/i-start-date.js +0 -1
- package/src/models/programme-card/i-timing.d.ts +0 -45
- package/src/models/programme-card/i-timing.js +0 -1
- package/src/models/programme-card/i-tracked-link.d.ts +0 -29
- package/src/models/programme-card/i-tracked-link.js +0 -1
- package/src/models/programme-card/i-tracking.d.ts +0 -46
- package/src/models/programme-card/i-tracking.js +0 -1
- package/src/models/programme-card/i-tuition-fee.d.ts +0 -50
- package/src/models/programme-card/i-tuition-fee.js +0 -1
- package/src/models/programme-card/programme-card-client.d.ts +0 -7
- package/src/models/programme-card/programme-card-client.js +0 -12
- package/src/models/ranking-cards/i-ranking.d.ts +0 -18
- package/src/models/ranking-cards/i-ranking.js +0 -1
- package/src/models/scholarship-card/i-scholarship-card-v2.d.ts +0 -20
- package/src/models/scholarship-card/i-scholarship-card-v2.js +0 -1
- package/src/models/scholarship-card/i-scholarship-card.d.ts +0 -15
- package/src/models/scholarship-card/i-scholarship-card.js +0 -1
- package/src/models/scholarship-card/public-scholarship-card-client.d.ts +0 -7
- package/src/models/scholarship-card/public-scholarship-card-client.js +0 -12
- package/src/models/scholarship-card/scholarship-card-v2-client.d.ts +0 -7
- package/src/models/scholarship-card/scholarship-card-v2-client.js +0 -12
- package/src/models/scholarship-search-document/i-scholarship-search-document.d.ts +0 -38
- package/src/models/scholarship-search-document/i-scholarship-search-document.js +0 -1
- package/src/models/scholarship-search-document/scholarship-search-document-client.d.ts +0 -7
- package/src/models/scholarship-search-document/scholarship-search-document-client.js +0 -12
- package/src/models/search-discipline/i-search-discipline.d.ts +0 -26
- package/src/models/search-discipline/i-search-discipline.js +0 -1
- package/src/models/search-discipline/public-search-discipline-client.d.ts +0 -7
- package/src/models/search-discipline/public-search-discipline-client.js +0 -12
- package/src/models/search-projection/i-geo-targeting-configuration.d.ts +0 -38
- package/src/models/search-projection/i-geo-targeting-configuration.js +0 -1
- package/src/models/search-projection/i-geo-targeting-values.d.ts +0 -30
- package/src/models/search-projection/i-geo-targeting-values.js +0 -1
- package/src/models/search-projection/i-organisation-values.d.ts +0 -46
- package/src/models/search-projection/i-organisation-values.js +0 -1
- package/src/models/search-projection/i-premium-values.d.ts +0 -35
- package/src/models/search-projection/i-premium-values.js +0 -1
- package/src/models/search-projection/i-search-projection.d.ts +0 -186
- package/src/models/search-projection/i-search-projection.js +0 -1
- package/src/models/search-projection/i-tuition-values.d.ts +0 -50
- package/src/models/search-projection/i-tuition-values.js +0 -1
- package/src/models/search-projection/search-projection-client.d.ts +0 -7
- package/src/models/search-projection/search-projection-client.js +0 -12
- package/src/models/sitemap-articles-info/i-sitemap-article-info.d.ts +0 -26
- package/src/models/sitemap-articles-info/i-sitemap-article-info.js +0 -1
- package/src/models/sitemap-articles-info/sitemap-articles-info-client.d.ts +0 -7
- package/src/models/sitemap-articles-info/sitemap-articles-info-client.js +0 -12
- package/src/models/sitemap-cities-info/i-sitemap-city-info.d.ts +0 -14
- package/src/models/sitemap-cities-info/i-sitemap-city-info.js +0 -1
- package/src/models/sitemap-cities-info/sitemap-cities-info-client.d.ts +0 -7
- package/src/models/sitemap-cities-info/sitemap-cities-info-client.js +0 -12
- package/src/models/sitemap-countries-info/i-sitemap-country-info.d.ts +0 -14
- package/src/models/sitemap-countries-info/i-sitemap-country-info.js +0 -1
- package/src/models/sitemap-countries-info/sitemap-countries-info-client.d.ts +0 -7
- package/src/models/sitemap-countries-info/sitemap-countries-info-client.js +0 -12
- package/src/models/sitemap-country-degree-info/i-degree-info.d.ts +0 -14
- package/src/models/sitemap-country-degree-info/i-degree-info.js +0 -1
- package/src/models/sitemap-country-degree-info/i-sitemap-country-degree-info.d.ts +0 -11
- package/src/models/sitemap-country-degree-info/i-sitemap-country-degree-info.js +0 -1
- package/src/models/sitemap-country-degree-info/sitemap-country-degree-info-client.d.ts +0 -7
- package/src/models/sitemap-country-degree-info/sitemap-country-degree-info-client.js +0 -12
- package/src/models/sitemap-disciplines-info/i-sitemap-discipline-info.d.ts +0 -14
- package/src/models/sitemap-disciplines-info/i-sitemap-discipline-info.js +0 -1
- package/src/models/sitemap-disciplines-info/sitemap-disciplines-info-client.d.ts +0 -7
- package/src/models/sitemap-disciplines-info/sitemap-disciplines-info-client.js +0 -12
- package/src/models/sitemap-organisations-info/i-sitemap-organisation-info.d.ts +0 -26
- package/src/models/sitemap-organisations-info/i-sitemap-organisation-info.js +0 -1
- package/src/models/sitemap-organisations-info/sitemap-organisations-info-client.d.ts +0 -7
- package/src/models/sitemap-organisations-info/sitemap-organisations-info-client.js +0 -12
- package/src/models/sitemap-programme-info/i-sitemap-programme-info.d.ts +0 -26
- package/src/models/sitemap-programme-info/i-sitemap-programme-info.js +0 -1
- package/src/models/sitemap-programme-info/sitemap-programme-info-client.d.ts +0 -7
- package/src/models/sitemap-programme-info/sitemap-programme-info-client.js +0 -12
- package/src/models/sitemap-rankings-info/i-sitemap-rankings-info.d.ts +0 -14
- package/src/models/sitemap-rankings-info/i-sitemap-rankings-info.js +0 -1
- package/src/models/sitemap-rankings-info/sitemap-rankings-info-client.d.ts +0 -7
- package/src/models/sitemap-rankings-info/sitemap-rankings-info-client.js +0 -12
- package/src/types/portal-map.d.ts +0 -2
- package/src/types/portal-map.js +0 -1
- package/src/types/portal-type.d.ts +0 -7
- package/src/types/portal-type.js +0 -8
- package/src/types.d.ts +0 -4
- package/src/types.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,40 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,28 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,22 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,212 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,33 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { IDeadline, IStartDate } from "../../..";
|
|
2
|
-
export interface ITiming {
|
|
3
|
-
/**
|
|
4
|
-
* Get the IDeadline applicable for this type and programme.
|
|
5
|
-
*
|
|
6
|
-
* Note: In case of extendable start dates, all information in the
|
|
7
|
-
* Deadline object has already been extended to the first available start
|
|
8
|
-
* date.
|
|
9
|
-
*
|
|
10
|
-
* @return IDeadline
|
|
11
|
-
* @throws PropertyNotAvailableException
|
|
12
|
-
*/
|
|
13
|
-
getDeadline(): IDeadline;
|
|
14
|
-
canShowDeadline(): boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Get the IStartDate applicable for this type and programme.
|
|
17
|
-
*
|
|
18
|
-
* Note: In case of extendable start dates, all information in the
|
|
19
|
-
* StartDate objects has already been extended to the first available start
|
|
20
|
-
* date.
|
|
21
|
-
*
|
|
22
|
-
* @return IStartDate
|
|
23
|
-
* @throws PropertyNotAvailableException
|
|
24
|
-
*/
|
|
25
|
-
getStartDate(): IStartDate;
|
|
26
|
-
canShowStartDate(): boolean;
|
|
27
|
-
/**
|
|
28
|
-
* Type of user the timing is applicable to (e.g. general, eea, national).
|
|
29
|
-
*
|
|
30
|
-
* @return string
|
|
31
|
-
*/
|
|
32
|
-
getType(): string;
|
|
33
|
-
/**
|
|
34
|
-
* True if the programme allows to apply at any time (rolling application).
|
|
35
|
-
*
|
|
36
|
-
* @return boolean
|
|
37
|
-
*/
|
|
38
|
-
isApplyingAnytime(): boolean;
|
|
39
|
-
/**
|
|
40
|
-
* True if the programme can start at any time (rolling admission).
|
|
41
|
-
*
|
|
42
|
-
* @return boolean
|
|
43
|
-
*/
|
|
44
|
-
isStartingAnytime(): boolean;
|
|
45
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ITracking } from "../../..";
|
|
2
|
-
export interface ITrackedLink {
|
|
3
|
-
/**
|
|
4
|
-
* Get an optional text describing the link (typically <a>-tags contents).
|
|
5
|
-
*
|
|
6
|
-
* @return string
|
|
7
|
-
* @throws PropertyNotAvailableException
|
|
8
|
-
*/
|
|
9
|
-
getDescription(): string;
|
|
10
|
-
canShowDescription(): boolean;
|
|
11
|
-
/**
|
|
12
|
-
* Get an object containing all information needed to properly track a link.
|
|
13
|
-
*
|
|
14
|
-
* @return ITracking
|
|
15
|
-
*/
|
|
16
|
-
getTracking(): ITracking;
|
|
17
|
-
/**
|
|
18
|
-
* Get the url to refer to.
|
|
19
|
-
*
|
|
20
|
-
* Note that the url provided is always a relative URL. A base URL is needed
|
|
21
|
-
* to make it a full valid path.
|
|
22
|
-
* The only exception is when an external link is provided (meaning, outside
|
|
23
|
-
* of StudyPortals-maintained domains). In this case a full url will be
|
|
24
|
-
* provided.
|
|
25
|
-
*
|
|
26
|
-
* @return string
|
|
27
|
-
*/
|
|
28
|
-
getUrl(): string;
|
|
29
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { IClickTrackingData } from "../../..";
|
|
2
|
-
export interface ITracking {
|
|
3
|
-
/**
|
|
4
|
-
* Get the value of the data-action attribute.
|
|
5
|
-
*
|
|
6
|
-
* @return string
|
|
7
|
-
*/
|
|
8
|
-
getAction(): string;
|
|
9
|
-
/**
|
|
10
|
-
* Get all the data that is need to make click tracking possible
|
|
11
|
-
*
|
|
12
|
-
* @return IClickTrackingData
|
|
13
|
-
*/
|
|
14
|
-
getClickTrackingData(): IClickTrackingData;
|
|
15
|
-
canShowClickTrackingData(): boolean;
|
|
16
|
-
/**
|
|
17
|
-
* Get the value of the data-description attribute.
|
|
18
|
-
*
|
|
19
|
-
* @return string
|
|
20
|
-
*/
|
|
21
|
-
getDescription(): string;
|
|
22
|
-
/**
|
|
23
|
-
* Get the extra information value.
|
|
24
|
-
*
|
|
25
|
-
* @return string
|
|
26
|
-
*/
|
|
27
|
-
getExtra(): string;
|
|
28
|
-
/**
|
|
29
|
-
* Get the value of the data-id attribute.
|
|
30
|
-
*
|
|
31
|
-
* @return number
|
|
32
|
-
*/
|
|
33
|
-
getId(): number;
|
|
34
|
-
/**
|
|
35
|
-
* Get the value of the data-label attribute.
|
|
36
|
-
*
|
|
37
|
-
* @return string
|
|
38
|
-
*/
|
|
39
|
-
getLabel(): string;
|
|
40
|
-
/**
|
|
41
|
-
* Get the value of the data-type attribute.
|
|
42
|
-
*
|
|
43
|
-
* @return string
|
|
44
|
-
*/
|
|
45
|
-
getType(): string;
|
|
46
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
export interface ITuitionFee {
|
|
2
|
-
/**
|
|
3
|
-
* Get the tuition amount per unit in the provided currency.
|
|
4
|
-
*
|
|
5
|
-
* Note: all transformable units will be converted to yearly amounts. This
|
|
6
|
-
* includes per semester and full programme tuition fees.
|
|
7
|
-
*
|
|
8
|
-
* @return number
|
|
9
|
-
*/
|
|
10
|
-
getAmount(): number;
|
|
11
|
-
/**
|
|
12
|
-
* Get the applicable currency.
|
|
13
|
-
*
|
|
14
|
-
* @return string
|
|
15
|
-
*/
|
|
16
|
-
getCurrency(): string;
|
|
17
|
-
/**
|
|
18
|
-
* Get the original tuition amount before any transformation step.
|
|
19
|
-
*
|
|
20
|
-
* @return number
|
|
21
|
-
*/
|
|
22
|
-
getOriginalAmount(): number;
|
|
23
|
-
/**
|
|
24
|
-
* Get the original tuition unit before any transformation step.
|
|
25
|
-
*
|
|
26
|
-
* @return string
|
|
27
|
-
*/
|
|
28
|
-
getOriginalUnit(): string;
|
|
29
|
-
/**
|
|
30
|
-
* Get targeted audience (national, international, eea, etc).
|
|
31
|
-
*
|
|
32
|
-
* @return string
|
|
33
|
-
*/
|
|
34
|
-
getTarget(): string;
|
|
35
|
-
/**
|
|
36
|
-
* Get the unit the tuition fee applies for.
|
|
37
|
-
*
|
|
38
|
-
* Note: all transformable units will be converted to 'year'. This means
|
|
39
|
-
* this value will be either 'year', 'module' or 'credit'.
|
|
40
|
-
*
|
|
41
|
-
* @return string
|
|
42
|
-
*/
|
|
43
|
-
getUnit(): string;
|
|
44
|
-
/**
|
|
45
|
-
* True if the study is free for this target audience.
|
|
46
|
-
*
|
|
47
|
-
* @return boolean
|
|
48
|
-
*/
|
|
49
|
-
isFree(): boolean;
|
|
50
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { IProgrammeCard } from "../../..";
|
|
2
|
-
import { ModelClient } from "../../model-client";
|
|
3
|
-
export declare class ProgrammeCardClient extends ModelClient<IProgrammeCard> {
|
|
4
|
-
protected getModelName(): string;
|
|
5
|
-
protected getVersion(): string;
|
|
6
|
-
isPublic(): boolean;
|
|
7
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export interface IRanking {
|
|
2
|
-
/**
|
|
3
|
-
* @return number
|
|
4
|
-
*/
|
|
5
|
-
getId(): number;
|
|
6
|
-
/**
|
|
7
|
-
* @return number | null
|
|
8
|
-
*/
|
|
9
|
-
getRankingId(): number | null;
|
|
10
|
-
/**
|
|
11
|
-
* @return number
|
|
12
|
-
*/
|
|
13
|
-
getPosition(): number;
|
|
14
|
-
/**
|
|
15
|
-
* @return string
|
|
16
|
-
*/
|
|
17
|
-
getRankingYear(): string;
|
|
18
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export interface IScholarshipCardV2 {
|
|
2
|
-
getDescriptionOfApplicationBasis(): string | null;
|
|
3
|
-
getDescriptionOfBenefits(): string | null;
|
|
4
|
-
getDescriptionOfDeadline(): string;
|
|
5
|
-
getDescriptionOfDestinationCountryRestrictions(): string;
|
|
6
|
-
getDescriptionOfProviderLocation(): string | null;
|
|
7
|
-
getIsNotSpecifiedDeadline(): boolean;
|
|
8
|
-
getProviderId(): string | null;
|
|
9
|
-
getProviderIsUniversity(): boolean;
|
|
10
|
-
getProviderLogoSquareCdn(): string | null;
|
|
11
|
-
getProviderName(): string;
|
|
12
|
-
getScholarshipId(): string;
|
|
13
|
-
getScholarshipTitle(): string;
|
|
14
|
-
getScholarshipVirtualName(): string;
|
|
15
|
-
getDisciplineIds(): number[] | null;
|
|
16
|
-
getOriginCountryIds(): string[] | null;
|
|
17
|
-
getGrantCurrencyIso(): string | null;
|
|
18
|
-
getGrantAmount(): number | null;
|
|
19
|
-
getGrantDescription(): string | null;
|
|
20
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|