@studyportals/domain-client 7.0.1-beta.9 → 7.1.1-beta.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 +67 -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,45 @@
|
|
|
1
|
+
import { IDeadline, IStartDate } from "../../../index.js";
|
|
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
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ITracking } from "../../../index.js";
|
|
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
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { IClickTrackingData } from "../../../index.js";
|
|
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
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IProgrammeCard } from "../../../index.js";
|
|
2
|
+
import { ModelClient } from "../../model-client.js";
|
|
3
|
+
export declare class ProgrammeCardClient extends ModelClient<IProgrammeCard> {
|
|
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.ProgrammeCardClient = void 0;
|
|
4
|
+
const model_client_1 = require("../../model-client.js");
|
|
5
|
+
class ProgrammeCardClient extends model_client_1.ModelClient {
|
|
6
|
+
getModelName() {
|
|
7
|
+
return 'programme-card';
|
|
8
|
+
}
|
|
9
|
+
getVersion() {
|
|
10
|
+
return 'v1';
|
|
11
|
+
}
|
|
12
|
+
isPublic() {
|
|
13
|
+
return false;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.ProgrammeCardClient = ProgrammeCardClient;
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface IScholarshipCard {
|
|
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
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IScholarshipCard } from "../../../index.js";
|
|
2
|
+
import { ModelClient } from "../../model-client.js";
|
|
3
|
+
export declare class PublicScholarshipCardClient extends ModelClient<IScholarshipCard> {
|
|
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.PublicScholarshipCardClient = void 0;
|
|
4
|
+
const model_client_1 = require("../../model-client.js");
|
|
5
|
+
class PublicScholarshipCardClient extends model_client_1.ModelClient {
|
|
6
|
+
getModelName() {
|
|
7
|
+
return 'scholarship-card';
|
|
8
|
+
}
|
|
9
|
+
getVersion() {
|
|
10
|
+
return 'v1';
|
|
11
|
+
}
|
|
12
|
+
isPublic() {
|
|
13
|
+
return true;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.PublicScholarshipCardClient = PublicScholarshipCardClient;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IScholarshipCard } from "../../../index.js";
|
|
2
|
+
import { ModelClient } from "../../model-client.js";
|
|
3
|
+
export declare class ScholarshipCardV2Client extends ModelClient<IScholarshipCard> {
|
|
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.ScholarshipCardV2Client = void 0;
|
|
4
|
+
const model_client_1 = require("../../model-client.js");
|
|
5
|
+
class ScholarshipCardV2Client extends model_client_1.ModelClient {
|
|
6
|
+
getModelName() {
|
|
7
|
+
return 'scholarship-card-v2';
|
|
8
|
+
}
|
|
9
|
+
getVersion() {
|
|
10
|
+
return 'v1';
|
|
11
|
+
}
|
|
12
|
+
isPublic() {
|
|
13
|
+
return false;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.ScholarshipCardV2Client = ScholarshipCardV2Client;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export interface IScholarshipSearchDocument {
|
|
2
|
+
/**
|
|
3
|
+
* @return number[]
|
|
4
|
+
*/
|
|
5
|
+
getDegrees(): number[];
|
|
6
|
+
/**
|
|
7
|
+
* @return string[]
|
|
8
|
+
*/
|
|
9
|
+
getDestinationCountryIsoCodes(): string[];
|
|
10
|
+
/**
|
|
11
|
+
* @return number[]
|
|
12
|
+
*/
|
|
13
|
+
getDestinationRegionIds(): number[];
|
|
14
|
+
/**
|
|
15
|
+
* @return number[]
|
|
16
|
+
*/
|
|
17
|
+
getDisciplineIds(): number[];
|
|
18
|
+
/**
|
|
19
|
+
* @return number[]
|
|
20
|
+
*/
|
|
21
|
+
getFormats(): number[];
|
|
22
|
+
getId(): number;
|
|
23
|
+
/**
|
|
24
|
+
* @return string[]
|
|
25
|
+
*/
|
|
26
|
+
getOriginCountryIsoCodes(): string[];
|
|
27
|
+
getPresence(): number;
|
|
28
|
+
getTitle(): string;
|
|
29
|
+
/**
|
|
30
|
+
* @return number[]
|
|
31
|
+
*/
|
|
32
|
+
getTypes(): number[];
|
|
33
|
+
getUniversityProviderId(): number | null;
|
|
34
|
+
isEligibleForAllDestinationCountries(): boolean;
|
|
35
|
+
isEligibleForAllDestinationRegions(): boolean;
|
|
36
|
+
isEligibleForAllDisciplines(): boolean;
|
|
37
|
+
isEligibleForAllOriginCountries(): boolean;
|
|
38
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IScholarshipSearchDocument } from "../../../index.js";
|
|
2
|
+
import { ModelClient } from "../../model-client.js";
|
|
3
|
+
export declare class ScholarshipSearchDocumentClient extends ModelClient<IScholarshipSearchDocument> {
|
|
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.ScholarshipSearchDocumentClient = void 0;
|
|
4
|
+
const model_client_1 = require("../../model-client.js");
|
|
5
|
+
class ScholarshipSearchDocumentClient extends model_client_1.ModelClient {
|
|
6
|
+
getModelName() {
|
|
7
|
+
return 'scholarship-search-document';
|
|
8
|
+
}
|
|
9
|
+
getVersion() {
|
|
10
|
+
return 'v1';
|
|
11
|
+
}
|
|
12
|
+
isPublic() {
|
|
13
|
+
return false;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.ScholarshipSearchDocumentClient = ScholarshipSearchDocumentClient;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface ISearchDiscipline {
|
|
2
|
+
/**
|
|
3
|
+
* @return string | null
|
|
4
|
+
*/
|
|
5
|
+
getIcon(): string | null;
|
|
6
|
+
/**
|
|
7
|
+
* @return number
|
|
8
|
+
*/
|
|
9
|
+
getId(): number;
|
|
10
|
+
/**
|
|
11
|
+
* @return string
|
|
12
|
+
*/
|
|
13
|
+
getName(): string;
|
|
14
|
+
/**
|
|
15
|
+
* @return string | null
|
|
16
|
+
*/
|
|
17
|
+
getOldVirtualPath(): string | null;
|
|
18
|
+
/**
|
|
19
|
+
* @return number | null
|
|
20
|
+
*/
|
|
21
|
+
getParentId(): number | null;
|
|
22
|
+
/**
|
|
23
|
+
* @return string
|
|
24
|
+
*/
|
|
25
|
+
getVirtualPath(): string;
|
|
26
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ISearchDiscipline } from "../../../index.js";
|
|
2
|
+
import { ModelClient } from "../../model-client.js";
|
|
3
|
+
export declare class PublicSearchDisciplineClient extends ModelClient<ISearchDiscipline> {
|
|
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.PublicSearchDisciplineClient = void 0;
|
|
4
|
+
const model_client_1 = require("../../model-client.js");
|
|
5
|
+
class PublicSearchDisciplineClient extends model_client_1.ModelClient {
|
|
6
|
+
getModelName() {
|
|
7
|
+
return 'search-discipline';
|
|
8
|
+
}
|
|
9
|
+
getVersion() {
|
|
10
|
+
return 'v1';
|
|
11
|
+
}
|
|
12
|
+
isPublic() {
|
|
13
|
+
return true;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.PublicSearchDisciplineClient = PublicSearchDisciplineClient;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export interface IGeoTargetingConfiguration {
|
|
2
|
+
/**
|
|
3
|
+
* Bit set 1 of targeted country ID information.
|
|
4
|
+
*
|
|
5
|
+
* @return number
|
|
6
|
+
*/
|
|
7
|
+
getBit1(): number;
|
|
8
|
+
/**
|
|
9
|
+
* Bit set 2 of targeted country ID information.
|
|
10
|
+
*
|
|
11
|
+
* @return number
|
|
12
|
+
*/
|
|
13
|
+
getBit2(): number;
|
|
14
|
+
/**
|
|
15
|
+
* Bit set 3 of targeted country ID information.
|
|
16
|
+
*
|
|
17
|
+
* @return number
|
|
18
|
+
*/
|
|
19
|
+
getBit3(): number;
|
|
20
|
+
/**
|
|
21
|
+
* Bit set 4 of targeted country ID information.
|
|
22
|
+
*
|
|
23
|
+
* @return number
|
|
24
|
+
*/
|
|
25
|
+
getBit4(): number;
|
|
26
|
+
/**
|
|
27
|
+
* Bit set 5 of targeted country ID information.
|
|
28
|
+
*
|
|
29
|
+
* @return number
|
|
30
|
+
*/
|
|
31
|
+
getBit5(): number;
|
|
32
|
+
/**
|
|
33
|
+
* List of all configured country IDs.
|
|
34
|
+
*
|
|
35
|
+
* @return number[]
|
|
36
|
+
*/
|
|
37
|
+
getTargetedCountries(): number[];
|
|
38
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { IGeoTargetingConfiguration } from "../../../index.js";
|
|
2
|
+
export interface IGeoTargetingValues {
|
|
3
|
+
/**
|
|
4
|
+
* Geo-targeting configuration for "light premium" listing.
|
|
5
|
+
*
|
|
6
|
+
* @return IGeoTargetingConfiguration
|
|
7
|
+
*/
|
|
8
|
+
getLightPremium(): IGeoTargetingConfiguration;
|
|
9
|
+
canShowLightPremium(): boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Geo-targeting configuration for "premium" listing.
|
|
12
|
+
*
|
|
13
|
+
* @return IGeoTargetingConfiguration
|
|
14
|
+
*/
|
|
15
|
+
getPremium(): IGeoTargetingConfiguration;
|
|
16
|
+
canShowPremium(): boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Geo-targeting configuration for "super premium" listing.
|
|
19
|
+
*
|
|
20
|
+
* @return IGeoTargetingConfiguration
|
|
21
|
+
*/
|
|
22
|
+
getSuperPremium(): IGeoTargetingConfiguration;
|
|
23
|
+
canShowSuperPremium(): boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Programme has active geo-targeting settings.
|
|
26
|
+
*
|
|
27
|
+
* @return boolean
|
|
28
|
+
*/
|
|
29
|
+
isGeoTargeted(): boolean;
|
|
30
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
export interface IOrganisationValues {
|
|
2
|
+
/**
|
|
3
|
+
* Country ID of the top level organisation.
|
|
4
|
+
*
|
|
5
|
+
* @return number
|
|
6
|
+
*/
|
|
7
|
+
getCountryId(): number;
|
|
8
|
+
/**
|
|
9
|
+
* Country iso code of the top level organisation.
|
|
10
|
+
*
|
|
11
|
+
* @return string
|
|
12
|
+
*/
|
|
13
|
+
getCountryIsoCode(): string;
|
|
14
|
+
/**
|
|
15
|
+
* ID of the programme's main organisation.
|
|
16
|
+
*
|
|
17
|
+
* First premium organisation or top level organisation.
|
|
18
|
+
*
|
|
19
|
+
* @return number
|
|
20
|
+
*/
|
|
21
|
+
getId(): number;
|
|
22
|
+
/**
|
|
23
|
+
* Name of the programme's main organisation.
|
|
24
|
+
*
|
|
25
|
+
* First premium organisation or top level organisation.
|
|
26
|
+
*
|
|
27
|
+
* @return string
|
|
28
|
+
*/
|
|
29
|
+
getName(): string;
|
|
30
|
+
/**
|
|
31
|
+
* List of all organisation IDs attached to the programme (main + sub).
|
|
32
|
+
*
|
|
33
|
+
* @return number[]
|
|
34
|
+
*/
|
|
35
|
+
getOrganisations(): number[];
|
|
36
|
+
/**
|
|
37
|
+
* Region ID of the top level organisation.
|
|
38
|
+
*
|
|
39
|
+
* Currently only possible region ID is 38 (EEA region). All other regions
|
|
40
|
+
* are ignored for this field.
|
|
41
|
+
*
|
|
42
|
+
* @return number
|
|
43
|
+
*/
|
|
44
|
+
getRegionId(): number;
|
|
45
|
+
canShowRegionId(): boolean;
|
|
46
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export interface IPremiumValues {
|
|
2
|
+
/**
|
|
3
|
+
* Bottom of the premium probability range (between 0.0 asn 1.0).
|
|
4
|
+
*
|
|
5
|
+
* @return number
|
|
6
|
+
*/
|
|
7
|
+
getPremiumBottom(): number;
|
|
8
|
+
canShowPremiumBottom(): boolean;
|
|
9
|
+
/**
|
|
10
|
+
* CPM value attached to the premium listing.
|
|
11
|
+
*
|
|
12
|
+
* @return number
|
|
13
|
+
*/
|
|
14
|
+
getPremiumCpm(): number;
|
|
15
|
+
canShowPremiumCpm(): boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Top of the premium probability range (between 0.0 asn 1.0).
|
|
18
|
+
*
|
|
19
|
+
* @return number
|
|
20
|
+
*/
|
|
21
|
+
getPremiumTop(): number;
|
|
22
|
+
canShowPremiumTop(): boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Short hand premium type (sp, p, lp, slp, sslp, b).
|
|
25
|
+
*
|
|
26
|
+
* @return string
|
|
27
|
+
*/
|
|
28
|
+
getPremiumType(): string;
|
|
29
|
+
/**
|
|
30
|
+
* Premium weight value used in Cloudsearch commercial sorting.
|
|
31
|
+
*
|
|
32
|
+
* @return number
|
|
33
|
+
*/
|
|
34
|
+
getPremiumValue(): number;
|
|
35
|
+
}
|