@studyportals/domain-client 3.30.0 → 3.32.0-organisations.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 +79 -77
- package/index.js +59 -57
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/src/domain-client.d.ts +14 -14
- package/src/domain-client.js +60 -60
- package/src/exceptions/bad-request-exception.d.ts +2 -2
- package/src/exceptions/bad-request-exception.js +6 -6
- package/src/exceptions/client-exception.d.ts +2 -2
- package/src/exceptions/client-exception.js +6 -6
- package/src/exceptions/internal-server-exception.d.ts +2 -2
- package/src/exceptions/internal-server-exception.js +6 -6
- package/src/exceptions/not-found-exception.d.ts +2 -2
- package/src/exceptions/not-found-exception.js +6 -6
- package/src/exceptions/property-not-available-exception.d.ts +2 -2
- package/src/exceptions/property-not-available-exception.js +6 -6
- package/src/factories/DateFactory.d.ts +5 -5
- package/src/factories/DateFactory.js +9 -9
- package/src/factories/InternalLinkFactory.d.ts +9 -9
- package/src/factories/InternalLinkFactory.js +19 -19
- package/src/i-api-response.d.ts +6 -6
- package/src/i-api-response.js +2 -2
- package/src/i-class-factory.d.ts +4 -4
- package/src/i-class-factory.js +2 -2
- package/src/i-model-description.d.ts +7 -7
- package/src/i-model-description.js +9 -9
- package/src/model-client.d.ts +16 -16
- package/src/model-client.js +45 -45
- package/src/model-factory.d.ts +11 -11
- package/src/model-factory.js +71 -71
- package/src/models/bestfit-programme/bestfit-programme-client.d.ts +7 -7
- package/src/models/bestfit-programme/bestfit-programme-client.js +16 -16
- package/src/models/bestfit-programme/i-best-fit-programme.d.ts +82 -82
- package/src/models/bestfit-programme/i-best-fit-programme.js +2 -2
- package/src/models/bestfit-programme/i-city.d.ts +14 -14
- package/src/models/bestfit-programme/i-city.js +2 -2
- package/src/models/bestfit-programme/i-living-cost.d.ts +20 -20
- package/src/models/bestfit-programme/i-living-cost.js +2 -2
- package/src/models/common/i-city.d.ts +14 -14
- package/src/models/common/i-city.js +2 -2
- package/src/models/common/i-country.d.ts +20 -20
- package/src/models/common/i-country.js +2 -2
- package/src/models/common/i-english-requirements.d.ts +44 -44
- package/src/models/common/i-english-requirements.js +2 -2
- package/src/models/common/i-g-p-a-requirement.d.ts +20 -20
- package/src/models/common/i-g-p-a-requirement.js +2 -2
- package/src/models/common/i-internal-link.d.ts +28 -28
- package/src/models/common/i-internal-link.js +2 -2
- package/src/models/common/i-logo.d.ts +14 -14
- package/src/models/common/i-logo.js +2 -2
- package/src/models/common/i-tuition-fee.d.ts +50 -50
- package/src/models/common/i-tuition-fee.js +2 -2
- package/src/models/compare-programme/compare-programme-client.d.ts +7 -7
- package/src/models/compare-programme/compare-programme-client.js +16 -16
- package/src/models/compare-programme/i-compare-programme.d.ts +108 -108
- package/src/models/compare-programme/i-compare-programme.js +2 -2
- package/src/models/dotdigital-organisation/dotdigital-organisation-client.d.ts +7 -7
- package/src/models/dotdigital-organisation/dotdigital-organisation-client.js +16 -16
- package/src/models/dotdigital-organisation/i-dot-digital-organisation.d.ts +35 -35
- package/src/models/dotdigital-organisation/i-dot-digital-organisation.js +2 -2
- package/src/models/dotdigital-organisation/i-review.d.ts +7 -7
- package/src/models/dotdigital-organisation/i-review.js +2 -2
- package/src/models/dotdigital-programme/dotdigital-programme-client.d.ts +7 -7
- package/src/models/dotdigital-programme/dotdigital-programme-client.js +16 -16
- package/src/models/dotdigital-programme/i-dot-digital-programme.d.ts +107 -107
- package/src/models/dotdigital-programme/i-dot-digital-programme.js +2 -2
- package/src/models/dotdigital-programme/i-internal-link.d.ts +28 -28
- package/src/models/dotdigital-programme/i-internal-link.js +2 -2
- package/src/models/organisation-card/i-organisation-card.d.ts +17 -17
- package/src/models/organisation-card/i-organisation-card.js +2 -2
- package/src/models/organisation-card/organisation-card-client.d.ts +7 -7
- package/src/models/organisation-card/organisation-card-client.js +16 -16
- package/src/models/organisation-for-search/i-organisation-for-search.d.ts +26 -26
- package/src/models/organisation-for-search/i-organisation-for-search.js +2 -2
- package/src/models/organisation-for-search/public-organisation-for-search-client.d.ts +7 -7
- package/src/models/organisation-for-search/public-organisation-for-search-client.js +16 -16
- package/src/models/organisation-search-document/i-organisation-search-document.d.ts +69 -0
- package/src/models/organisation-search-document/i-organisation-search-document.js +3 -0
- package/src/models/organisation-search-document/i-organisation-search-document.js.map +1 -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 +17 -0
- package/src/models/organisation-search-document/organisation-search-document-client.js.map +1 -0
- package/src/models/programme-card/i-click-tracking-data.d.ts +5 -5
- package/src/models/programme-card/i-click-tracking-data.js +2 -2
- package/src/models/programme-card/i-cover.d.ts +14 -14
- package/src/models/programme-card/i-cover.js +2 -2
- package/src/models/programme-card/i-deadline.d.ts +20 -20
- package/src/models/programme-card/i-deadline.js +2 -2
- package/src/models/programme-card/i-duration.d.ts +40 -40
- package/src/models/programme-card/i-duration.js +2 -2
- package/src/models/programme-card/i-internal-link.d.ts +28 -28
- package/src/models/programme-card/i-internal-link.js +2 -2
- package/src/models/programme-card/i-link.d.ts +22 -22
- package/src/models/programme-card/i-link.js +2 -2
- package/src/models/programme-card/i-location.d.ts +12 -12
- package/src/models/programme-card/i-location.js +2 -2
- package/src/models/programme-card/i-logo.d.ts +14 -14
- package/src/models/programme-card/i-logo.js +2 -2
- package/src/models/programme-card/i-optional-link.d.ts +23 -23
- package/src/models/programme-card/i-optional-link.js +2 -2
- package/src/models/programme-card/i-programme-card.d.ts +205 -205
- package/src/models/programme-card/i-programme-card.js +2 -2
- package/src/models/programme-card/i-start-date.d.ts +33 -33
- package/src/models/programme-card/i-start-date.js +2 -2
- package/src/models/programme-card/i-timing.d.ts +45 -45
- package/src/models/programme-card/i-timing.js +2 -2
- package/src/models/programme-card/i-tracked-link.d.ts +29 -29
- package/src/models/programme-card/i-tracked-link.js +2 -2
- package/src/models/programme-card/i-tracking.d.ts +46 -46
- package/src/models/programme-card/i-tracking.js +2 -2
- package/src/models/programme-card/i-tuition-fee.d.ts +50 -50
- package/src/models/programme-card/i-tuition-fee.js +2 -2
- package/src/models/programme-card/programme-card-client.d.ts +7 -7
- package/src/models/programme-card/programme-card-client.js +16 -16
- package/src/models/ranking-cards/i-ranking-card.d.ts +87 -87
- package/src/models/ranking-cards/i-ranking-card.js +2 -2
- package/src/models/ranking-cards/i-ranking-cards.d.ts +15 -15
- package/src/models/ranking-cards/i-ranking-cards.js +2 -2
- package/src/models/ranking-cards/i-ranking.d.ts +18 -18
- package/src/models/ranking-cards/i-ranking.js +2 -2
- package/src/models/ranking-cards/public-ranking-cards-client.d.ts +7 -7
- package/src/models/ranking-cards/public-ranking-cards-client.js +16 -16
- package/src/models/scholarship-card/i-scholarship-card.d.ts +15 -15
- package/src/models/scholarship-card/i-scholarship-card.js +2 -2
- package/src/models/scholarship-card/public-scholarship-card-client.d.ts +7 -7
- package/src/models/scholarship-card/public-scholarship-card-client.js +16 -16
- package/src/models/search-country-faq/i-search-country-faq.d.ts +18 -18
- package/src/models/search-country-faq/i-search-country-faq.js +2 -2
- package/src/models/search-country-faq/public-search-country-faq-client.d.ts +7 -7
- package/src/models/search-country-faq/public-search-country-faq-client.js +16 -16
- package/src/models/search-discipline/i-search-discipline.d.ts +26 -26
- package/src/models/search-discipline/i-search-discipline.js +2 -2
- package/src/models/search-discipline/public-search-discipline-client.d.ts +7 -7
- package/src/models/search-discipline/public-search-discipline-client.js +16 -16
- package/src/models/search-projection/i-geo-targeting-configuration.d.ts +38 -38
- package/src/models/search-projection/i-geo-targeting-configuration.js +2 -2
- package/src/models/search-projection/i-geo-targeting-values.d.ts +30 -30
- package/src/models/search-projection/i-geo-targeting-values.js +2 -2
- package/src/models/search-projection/i-organisation-values.d.ts +40 -40
- package/src/models/search-projection/i-organisation-values.js +2 -2
- package/src/models/search-projection/i-premium-values.d.ts +35 -35
- package/src/models/search-projection/i-premium-values.js +2 -2
- package/src/models/search-projection/i-search-projection.d.ts +180 -180
- package/src/models/search-projection/i-search-projection.js +2 -2
- package/src/models/search-projection/i-tuition-values.d.ts +50 -50
- package/src/models/search-projection/i-tuition-values.js +2 -2
- package/src/models/search-projection/search-projection-client.d.ts +7 -7
- package/src/models/search-projection/search-projection-client.js +16 -16
- package/src/models/sitemap-articles-info/i-sitemap-article-info.d.ts +14 -14
- package/src/models/sitemap-articles-info/i-sitemap-article-info.js +2 -2
- package/src/models/sitemap-articles-info/sitemap-articles-info-client.d.ts +7 -7
- package/src/models/sitemap-articles-info/sitemap-articles-info-client.js +16 -16
- package/src/models/sitemap-cities-info/i-sitemap-city-info.d.ts +14 -14
- package/src/models/sitemap-cities-info/i-sitemap-city-info.js +2 -2
- package/src/models/sitemap-cities-info/sitemap-cities-info-client.d.ts +7 -7
- package/src/models/sitemap-cities-info/sitemap-cities-info-client.js +16 -16
- package/src/models/sitemap-countries-info/i-sitemap-country-info.d.ts +14 -14
- package/src/models/sitemap-countries-info/i-sitemap-country-info.js +2 -2
- package/src/models/sitemap-countries-info/sitemap-countries-info-client.d.ts +7 -7
- package/src/models/sitemap-countries-info/sitemap-countries-info-client.js +16 -16
- package/src/models/sitemap-country-degree-info/i-degree-info.d.ts +14 -14
- package/src/models/sitemap-country-degree-info/i-degree-info.js +2 -2
- package/src/models/sitemap-country-degree-info/i-sitemap-country-degree-info.d.ts +11 -11
- package/src/models/sitemap-country-degree-info/i-sitemap-country-degree-info.js +2 -2
- package/src/models/sitemap-country-degree-info/sitemap-country-degree-info-client.d.ts +7 -7
- package/src/models/sitemap-country-degree-info/sitemap-country-degree-info-client.js +16 -16
- package/src/models/sitemap-disciplines-info/i-sitemap-discipline-info.d.ts +14 -14
- package/src/models/sitemap-disciplines-info/i-sitemap-discipline-info.js +2 -2
- package/src/models/sitemap-disciplines-info/sitemap-disciplines-info-client.d.ts +7 -7
- package/src/models/sitemap-disciplines-info/sitemap-disciplines-info-client.js +16 -16
- package/src/models/sitemap-organisations-info/i-sitemap-organisation-info.d.ts +26 -26
- package/src/models/sitemap-organisations-info/i-sitemap-organisation-info.js +2 -2
- package/src/models/sitemap-organisations-info/sitemap-organisations-info-client.d.ts +7 -7
- package/src/models/sitemap-organisations-info/sitemap-organisations-info-client.js +16 -16
- package/src/models/sitemap-programme-info/i-sitemap-programme-info.d.ts +26 -26
- package/src/models/sitemap-programme-info/i-sitemap-programme-info.js +2 -2
- package/src/models/sitemap-programme-info/sitemap-programme-info-client.d.ts +7 -7
- package/src/models/sitemap-programme-info/sitemap-programme-info-client.js +16 -16
- package/src/models/sitemap-rankings-info/i-sitemap-rankings-info.d.ts +14 -14
- package/src/models/sitemap-rankings-info/i-sitemap-rankings-info.js +2 -2
- package/src/models/sitemap-rankings-info/sitemap-rankings-info-client.d.ts +7 -7
- package/src/models/sitemap-rankings-info/sitemap-rankings-info-client.js +16 -16
- package/src/types/portal-map.d.ts +2 -2
- package/src/types/portal-map.js +2 -2
- package/src/types/portal-type.d.ts +7 -7
- package/src/types/portal-type.js +11 -11
- package/src/types.d.ts +4 -4
- package/src/types.js +2 -2
|
@@ -1,107 +1,107 @@
|
|
|
1
|
-
import { ICountry, IEnglishRequirements, IInternalLink, ILogo, ITiming, ITuitionFee } from "../../..";
|
|
2
|
-
export interface IDotDigitalProgramme {
|
|
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
|
-
}
|
|
1
|
+
import { ICountry, IEnglishRequirements, IInternalLink, ILogo, ITiming, ITuitionFee } from "../../..";
|
|
2
|
+
export interface IDotDigitalProgramme {
|
|
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
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=i-dot-digital-programme.js.map
|
|
@@ -1,28 +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
|
-
}
|
|
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,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=i-internal-link.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export interface IOrganisationCard {
|
|
2
|
-
getOrganisationCoverImageCdn(): string | null;
|
|
3
|
-
getOrganisationHasDeliveryMethodBlended(): boolean;
|
|
4
|
-
getOrganisationHasDeliveryMethodOnCampus(): boolean;
|
|
5
|
-
getOrganisationHasDeliveryMethodOnline(): boolean;
|
|
6
|
-
getOrganisationId(): number;
|
|
7
|
-
getOrganisationLocationCityName(): string | null;
|
|
8
|
-
getOrganisationLocationCityRelativeLinkOfDetailPage(): string | null;
|
|
9
|
-
getOrganisationLocationCountryIsoCode(): string | null;
|
|
10
|
-
getOrganisationLocationCountryRelativeLinkOfDetailPage(): string | null;
|
|
11
|
-
getOrganisationLogoSquareCdn(): string | null;
|
|
12
|
-
getOrganisationMayShowCoverImage(): boolean;
|
|
13
|
-
getOrganisationMayShowLogoSquare(): boolean;
|
|
14
|
-
getOrganisationName(): string;
|
|
15
|
-
getOrganisationRelativeLinkOfDetailPage(): string;
|
|
16
|
-
getOrganisationSummary(): string | null;
|
|
17
|
-
}
|
|
1
|
+
export interface IOrganisationCard {
|
|
2
|
+
getOrganisationCoverImageCdn(): string | null;
|
|
3
|
+
getOrganisationHasDeliveryMethodBlended(): boolean;
|
|
4
|
+
getOrganisationHasDeliveryMethodOnCampus(): boolean;
|
|
5
|
+
getOrganisationHasDeliveryMethodOnline(): boolean;
|
|
6
|
+
getOrganisationId(): number;
|
|
7
|
+
getOrganisationLocationCityName(): string | null;
|
|
8
|
+
getOrganisationLocationCityRelativeLinkOfDetailPage(): string | null;
|
|
9
|
+
getOrganisationLocationCountryIsoCode(): string | null;
|
|
10
|
+
getOrganisationLocationCountryRelativeLinkOfDetailPage(): string | null;
|
|
11
|
+
getOrganisationLogoSquareCdn(): string | null;
|
|
12
|
+
getOrganisationMayShowCoverImage(): boolean;
|
|
13
|
+
getOrganisationMayShowLogoSquare(): boolean;
|
|
14
|
+
getOrganisationName(): string;
|
|
15
|
+
getOrganisationRelativeLinkOfDetailPage(): string;
|
|
16
|
+
getOrganisationSummary(): string | null;
|
|
17
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=i-organisation-card.js.map
|
|
@@ -1,7 +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
|
-
}
|
|
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
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
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;
|
|
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;
|
|
17
17
|
//# sourceMappingURL=organisation-card-client.js.map
|
|
@@ -1,26 +1,26 @@
|
|
|
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 ID of the organisation.
|
|
10
|
-
*
|
|
11
|
-
* @return number
|
|
12
|
-
*/
|
|
13
|
-
getOrganisationId(): number;
|
|
14
|
-
/**
|
|
15
|
-
* Gets the name of the organisation.
|
|
16
|
-
*
|
|
17
|
-
* @return string
|
|
18
|
-
*/
|
|
19
|
-
getOrganisationName(): string;
|
|
20
|
-
/**
|
|
21
|
-
* Gets the virtual name of the organisation.
|
|
22
|
-
*
|
|
23
|
-
* @return string
|
|
24
|
-
*/
|
|
25
|
-
getOrganisationVirtualName(): string;
|
|
26
|
-
}
|
|
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 ID of the organisation.
|
|
10
|
+
*
|
|
11
|
+
* @return number
|
|
12
|
+
*/
|
|
13
|
+
getOrganisationId(): number;
|
|
14
|
+
/**
|
|
15
|
+
* Gets the name of the organisation.
|
|
16
|
+
*
|
|
17
|
+
* @return string
|
|
18
|
+
*/
|
|
19
|
+
getOrganisationName(): string;
|
|
20
|
+
/**
|
|
21
|
+
* Gets the virtual name of the organisation.
|
|
22
|
+
*
|
|
23
|
+
* @return string
|
|
24
|
+
*/
|
|
25
|
+
getOrganisationVirtualName(): string;
|
|
26
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=i-organisation-for-search.js.map
|
|
@@ -1,7 +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
|
-
}
|
|
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
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
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;
|
|
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;
|
|
17
17
|
//# sourceMappingURL=public-organisation-for-search-client.js.map
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
export interface IOrganisationSearchDocument {
|
|
2
|
+
/**
|
|
3
|
+
* Gets the ISO codes of all countries where the organisation has venues
|
|
4
|
+
*
|
|
5
|
+
* @return string[]
|
|
6
|
+
*/
|
|
7
|
+
getCountryIsoCodesOfVenues(): string[];
|
|
8
|
+
/**
|
|
9
|
+
* Gets the ID of the organisation.
|
|
10
|
+
*
|
|
11
|
+
* @return number
|
|
12
|
+
*/
|
|
13
|
+
getOrganisationId(): number;
|
|
14
|
+
/**
|
|
15
|
+
* Gets the premium type of the organisation
|
|
16
|
+
* @return string | null
|
|
17
|
+
*/
|
|
18
|
+
getPremiumType(): string | null;
|
|
19
|
+
/**
|
|
20
|
+
* Cheked whether the organisation has studies taught both online and on campus
|
|
21
|
+
*
|
|
22
|
+
* @return boolean
|
|
23
|
+
*/
|
|
24
|
+
hasDeliveryMethodBlended(): boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Cheked whether the organisation has studies taught on campus
|
|
27
|
+
*
|
|
28
|
+
* @return boolean
|
|
29
|
+
*/
|
|
30
|
+
hasDeliveryMethodOnCampus(): boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Cheked whether the organisation has studies taught online
|
|
33
|
+
*
|
|
34
|
+
* @return boolean
|
|
35
|
+
*/
|
|
36
|
+
hasDeliveryMethodOnline(): boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Gets the IDs of all areas where the organisation has venues
|
|
39
|
+
*
|
|
40
|
+
* @return number[]
|
|
41
|
+
*/
|
|
42
|
+
identifyAreasOfVenues(): number[];
|
|
43
|
+
/**
|
|
44
|
+
* Gets the disciplines of Bachelors programmes taught at the organisation
|
|
45
|
+
* @return number[]
|
|
46
|
+
*/
|
|
47
|
+
identifyDisciplinesForBachelors(): number[];
|
|
48
|
+
/**
|
|
49
|
+
* Gets the disciplines of Masters programmes taught at the organisation
|
|
50
|
+
* @return number[]
|
|
51
|
+
*/
|
|
52
|
+
identifyDisciplinesForMasters(): number[];
|
|
53
|
+
/**
|
|
54
|
+
* Gets the disciplines of PhD programmes taught at the organisation
|
|
55
|
+
* @return number[]
|
|
56
|
+
*/
|
|
57
|
+
identifyDisciplinesForPhd(): number[];
|
|
58
|
+
/**
|
|
59
|
+
* Gets the disciplines of short courses programmes taught at the organisation
|
|
60
|
+
* @return number[]
|
|
61
|
+
*/
|
|
62
|
+
identifyDisciplinesForShortCourses(): number[];
|
|
63
|
+
/**
|
|
64
|
+
* Indicates whether the organisation is published or not
|
|
65
|
+
*
|
|
66
|
+
* @return boolean
|
|
67
|
+
*/
|
|
68
|
+
isPublished(): boolean;
|
|
69
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-organisation-search-document.js","sourceRoot":"","sources":["../../../../src/models/organisation-search-document/i-organisation-search-document.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IOrganisationSearchDocument } from "../../..";
|
|
2
|
+
import { ModelClient } from "../../model-client";
|
|
3
|
+
export declare class OrganisationSearchDocumentClient extends ModelClient<IOrganisationSearchDocument> {
|
|
4
|
+
protected getModelName(): string;
|
|
5
|
+
protected getVersion(): string;
|
|
6
|
+
isPublic(): boolean;
|
|
7
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OrganisationSearchDocumentClient = void 0;
|
|
4
|
+
const model_client_1 = require("../../model-client");
|
|
5
|
+
class OrganisationSearchDocumentClient extends model_client_1.ModelClient {
|
|
6
|
+
getModelName() {
|
|
7
|
+
return 'organisation-search-document';
|
|
8
|
+
}
|
|
9
|
+
getVersion() {
|
|
10
|
+
return 'v1';
|
|
11
|
+
}
|
|
12
|
+
isPublic() {
|
|
13
|
+
return false;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.OrganisationSearchDocumentClient = OrganisationSearchDocumentClient;
|
|
17
|
+
//# sourceMappingURL=organisation-search-document-client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organisation-search-document-client.js","sourceRoot":"","sources":["../../../../src/models/organisation-search-document/organisation-search-document-client.ts"],"names":[],"mappings":";;;AACA,qDAAiD;AAEjD,MAAa,gCAAiC,SAAQ,0BAAwC;IACnF,YAAY;QACrB,OAAO,8BAA8B,CAAC;IACvC,CAAC;IAES,UAAU;QACnB,OAAO,IAAI,CAAC;IACb,CAAC;IAEM,QAAQ;QACd,OAAO,KAAK,CAAC;IACd,CAAC;CACD;AAZD,4EAYC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export interface IClickTrackingData {
|
|
2
|
-
getAction(): string;
|
|
3
|
-
getCategory(): string;
|
|
4
|
-
getLabel(): string;
|
|
5
|
-
}
|
|
1
|
+
export interface IClickTrackingData {
|
|
2
|
+
getAction(): string;
|
|
3
|
+
getCategory(): string;
|
|
4
|
+
getLabel(): string;
|
|
5
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=i-click-tracking-data.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export interface ICover {
|
|
2
|
-
/**
|
|
3
|
-
* Get the file ID of the cover (as known in the system)
|
|
4
|
-
*
|
|
5
|
-
* @return number
|
|
6
|
-
*/
|
|
7
|
-
getId(): number;
|
|
8
|
-
/**
|
|
9
|
-
* Get the source URL for the cover.
|
|
10
|
-
*
|
|
11
|
-
* @return string
|
|
12
|
-
*/
|
|
13
|
-
getSource(): string;
|
|
14
|
-
}
|
|
1
|
+
export interface ICover {
|
|
2
|
+
/**
|
|
3
|
+
* Get the file ID of the cover (as known in the system)
|
|
4
|
+
*
|
|
5
|
+
* @return number
|
|
6
|
+
*/
|
|
7
|
+
getId(): number;
|
|
8
|
+
/**
|
|
9
|
+
* Get the source URL for the cover.
|
|
10
|
+
*
|
|
11
|
+
* @return string
|
|
12
|
+
*/
|
|
13
|
+
getSource(): string;
|
|
14
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=i-cover.js.map
|