@studyportals/domain-client 3.11.0 → 3.12.0-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.
Files changed (50) hide show
  1. package/index.d.ts +9 -10
  2. package/index.js +3 -5
  3. package/index.js.map +1 -1
  4. package/package.json +1 -1
  5. package/src/models/bestfit-programme/i-city.d.ts +14 -0
  6. package/src/models/bestfit-programme/i-city.js +3 -0
  7. package/src/models/bestfit-programme/i-city.js.map +1 -0
  8. package/src/models/bestfit-programme/i-english-requirements.d.ts +37 -0
  9. package/src/models/bestfit-programme/i-english-requirements.js +3 -0
  10. package/src/models/bestfit-programme/i-english-requirements.js.map +1 -0
  11. package/src/models/bestfit-programme/i-tuition-fee.d.ts +50 -0
  12. package/src/models/bestfit-programme/i-tuition-fee.js +3 -0
  13. package/src/models/bestfit-programme/i-tuition-fee.js.map +1 -0
  14. package/src/models/dotdigital-organisation/i-city.d.ts +14 -0
  15. package/src/models/dotdigital-organisation/i-city.js +3 -0
  16. package/src/models/dotdigital-organisation/i-city.js.map +1 -0
  17. package/src/models/dotdigital-organisation/i-country.d.ts +14 -0
  18. package/src/models/dotdigital-organisation/i-country.js +3 -0
  19. package/src/models/dotdigital-organisation/i-country.js.map +1 -0
  20. package/src/models/dotdigital-programme/i-country.d.ts +14 -0
  21. package/src/models/dotdigital-programme/i-country.js +3 -0
  22. package/src/models/dotdigital-programme/i-country.js.map +1 -0
  23. package/src/models/dotdigital-programme/i-english-requirements.d.ts +37 -0
  24. package/src/models/dotdigital-programme/i-english-requirements.js +3 -0
  25. package/src/models/dotdigital-programme/i-english-requirements.js.map +1 -0
  26. package/src/models/dotdigital-programme/i-internal-link.d.ts +28 -0
  27. package/src/models/dotdigital-programme/i-internal-link.js +3 -0
  28. package/src/models/dotdigital-programme/i-internal-link.js.map +1 -0
  29. package/src/models/dotdigital-programme/i-logo.d.ts +14 -0
  30. package/src/models/dotdigital-programme/i-logo.js +3 -0
  31. package/src/models/dotdigital-programme/i-logo.js.map +1 -0
  32. package/src/models/dotdigital-programme/i-tuition-fee.d.ts +50 -0
  33. package/src/models/dotdigital-programme/i-tuition-fee.js +3 -0
  34. package/src/models/dotdigital-programme/i-tuition-fee.js.map +1 -0
  35. package/src/models/programme-card/i-internal-link.d.ts +28 -0
  36. package/src/models/programme-card/i-internal-link.js +3 -0
  37. package/src/models/programme-card/i-internal-link.js.map +1 -0
  38. package/src/models/programme-card/i-location.d.ts +4 -0
  39. package/src/models/programme-card/i-logo.d.ts +14 -0
  40. package/src/models/programme-card/i-logo.js +3 -0
  41. package/src/models/programme-card/i-logo.js.map +1 -0
  42. package/src/models/programme-card/i-tuition-fee.d.ts +50 -0
  43. package/src/models/programme-card/i-tuition-fee.js +3 -0
  44. package/src/models/programme-card/i-tuition-fee.js.map +1 -0
  45. package/src/models/sitemap-programme-info/i-sitemap-programme-info.d.ts +10 -0
  46. package/src/models/sitemap-programme-info/i-sitemap-programme-info.js +3 -0
  47. package/src/models/sitemap-programme-info/i-sitemap-programme-info.js.map +1 -0
  48. package/src/models/sitemap-programme-info/sitemap-programme-info-client.d.ts +7 -0
  49. package/src/models/sitemap-programme-info/sitemap-programme-info-client.js +17 -0
  50. package/src/models/sitemap-programme-info/sitemap-programme-info-client.js.map +1 -0
package/index.d.ts CHANGED
@@ -3,15 +3,15 @@ import { ClientException } from "./src/exceptions/client-exception";
3
3
  import { InternalServerException } from "./src/exceptions/internal-server-exception";
4
4
  import { NotFoundException } from "./src/exceptions/not-found-exception";
5
5
  import { PropertyNotAvailableException } from "./src/exceptions/property-not-available-exception";
6
- import { IInternalLink } from "./src/models/common/i-internal-link";
7
- import { ILogo } from "./src/models/common/i-logo";
6
+ import { IInternalLink } from "./src/models/programme-card/i-internal-link";
7
+ import { ILogo } from "./src/models/programme-card/i-logo";
8
8
  import { ICover } from "./src/models/programme-card/i-cover";
9
9
  import { ILink } from "./src/models/programme-card/i-link";
10
10
  import { IOptionalLink } from "./src/models/programme-card/i-optional-link";
11
11
  import { ILocation } from "./src/models/programme-card/i-location";
12
12
  import { IClickTrackingData } from "./src/models/programme-card/i-click-tracking-data";
13
13
  import { ITracking } from "./src/models/programme-card/i-tracking";
14
- import { ITuitionFee } from "./src/models/common/i-tuition-fee";
14
+ import { ITuitionFee } from "./src/models/programme-card/i-tuition-fee";
15
15
  import { IDuration } from "./src/models/programme-card/i-duration";
16
16
  import { IDeadline } from "./src/models/programme-card/i-deadline";
17
17
  import { IStartDate } from "./src/models/programme-card/i-start-date";
@@ -26,15 +26,17 @@ import { IGeoTargetingConfiguration } from "./src/models/search-projection/i-geo
26
26
  import { IGeoTargetingValues } from "./src/models/search-projection/i-geo-targeting-values";
27
27
  import { ISearchProjection } from "./src/models/search-projection/i-search-projection";
28
28
  import { SearchProjectionClient } from "./src/models/search-projection/search-projection-client";
29
- import { IEnglishRequirements } from "./src/models/common/i-english-requirements";
30
- import { ICity } from "./src/models/common/i-city";
29
+ import { IEnglishRequirements } from "./src/models/bestfit-programme/i-english-requirements";
30
+ import { ICity } from "./src/models/bestfit-programme/i-city";
31
31
  import { ILivingCost } from "./src/models/bestfit-programme/i-living-cost";
32
32
  import { IGPARequirement } from "./src/models/bestfit-programme/i-g-p-a-requirement";
33
33
  import { IBestFitProgramme } from "./src/models/bestfit-programme/i-best-fit-programme";
34
34
  import { BestfitProgrammeClient } from "./src/models/bestfit-programme/bestfit-programme-client";
35
- import { ICountry } from "./src/models/common/i-country";
35
+ import { ICountry } from "./src/models/dotdigital-programme/i-country";
36
36
  import { IDotDigitalProgramme } from "./src/models/dotdigital-programme/i-dot-digital-programme";
37
37
  import { DotdigitalProgrammeClient } from "./src/models/dotdigital-programme/dotdigital-programme-client";
38
+ import { ISitemapProgrammeInfo } from "./src/models/sitemap-programme-info/i-sitemap-programme-info";
39
+ import { SitemapProgrammeInfoClient } from "./src/models/sitemap-programme-info/sitemap-programme-info-client";
38
40
  import { ISearchCountryFaq } from "./src/models/search-country-faq/i-search-country-faq";
39
41
  import { PublicSearchCountryFaqClient } from "./src/models/search-country-faq/public-search-country-faq-client";
40
42
  import { ISitemapCountryInfo } from "./src/models/sitemap-countries-info/i-sitemap-country-info";
@@ -54,7 +56,4 @@ import { ISitemapArticleInfo } from "./src/models/sitemap-articles-info/i-sitema
54
56
  import { SitemapArticlesInfoClient } from "./src/models/sitemap-articles-info/sitemap-articles-info-client";
55
57
  import { ISitemapCityInfo } from "./src/models/sitemap-cities-info/i-sitemap-city-info";
56
58
  import { SitemapCitiesInfoClient } from "./src/models/sitemap-cities-info/sitemap-cities-info-client";
57
- import { PortalType } from "./src/types/portal-type";
58
- import { PortalMap } from "./src/types/portal-map";
59
- import { ModelClient } from "./src/model-client";
60
- export { BadRequestException, ClientException, InternalServerException, NotFoundException, PropertyNotAvailableException, ICover, ILink, IOptionalLink, ILocation, IClickTrackingData, ITracking, IDuration, IDeadline, IStartDate, ITiming, ITrackedLink, IProgrammeCard, ProgrammeCardClient, ITuitionValues, IPremiumValues, IOrganisationValues, IGeoTargetingConfiguration, IGeoTargetingValues, ISearchProjection, SearchProjectionClient, ILivingCost, IGPARequirement, IBestFitProgramme, BestfitProgrammeClient, ILogo, ITuitionFee, IEnglishRequirements, IInternalLink, IDotDigitalProgramme, DotdigitalProgrammeClient, ISearchCountryFaq, PublicSearchCountryFaqClient, ISitemapCountryInfo, SitemapCountriesInfoClient, ISearchDiscipline, PublicSearchDisciplineClient, ISitemapDisciplineInfo, SitemapDisciplinesInfoClient, ICountry, ICity, IReview, IDotDigitalOrganisation, DotdigitalOrganisationClient, ISitemapOrganisationInfo, SitemapOrganisationsInfoClient, ISitemapRankingsInfo, SitemapRankingsInfoClient, ISitemapArticleInfo, SitemapArticlesInfoClient, ISitemapCityInfo, SitemapCitiesInfoClient, PortalType, PortalMap, ModelClient };
59
+ export { BadRequestException, ClientException, InternalServerException, NotFoundException, PropertyNotAvailableException, IInternalLink, ILogo, ICover, ILink, IOptionalLink, ILocation, IClickTrackingData, ITracking, ITuitionFee, IDuration, IDeadline, IStartDate, ITiming, ITrackedLink, IProgrammeCard, ProgrammeCardClient, ITuitionValues, IPremiumValues, IOrganisationValues, IGeoTargetingConfiguration, IGeoTargetingValues, ISearchProjection, SearchProjectionClient, IEnglishRequirements, ICity, ILivingCost, IGPARequirement, IBestFitProgramme, BestfitProgrammeClient, ICountry, IDotDigitalProgramme, DotdigitalProgrammeClient, ISitemapProgrammeInfo, SitemapProgrammeInfoClient, ISearchCountryFaq, PublicSearchCountryFaqClient, ISitemapCountryInfo, SitemapCountriesInfoClient, ISearchDiscipline, PublicSearchDisciplineClient, ISitemapDisciplineInfo, SitemapDisciplinesInfoClient, IReview, IDotDigitalOrganisation, DotdigitalOrganisationClient, ISitemapOrganisationInfo, SitemapOrganisationsInfoClient, ISitemapRankingsInfo, SitemapRankingsInfoClient, ISitemapArticleInfo, SitemapArticlesInfoClient, ISitemapCityInfo, SitemapCitiesInfoClient };
package/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ModelClient = exports.PortalType = exports.SitemapCitiesInfoClient = exports.SitemapArticlesInfoClient = exports.SitemapRankingsInfoClient = exports.SitemapOrganisationsInfoClient = exports.DotdigitalOrganisationClient = exports.SitemapDisciplinesInfoClient = exports.PublicSearchDisciplineClient = exports.SitemapCountriesInfoClient = exports.PublicSearchCountryFaqClient = exports.DotdigitalProgrammeClient = exports.BestfitProgrammeClient = exports.SearchProjectionClient = exports.ProgrammeCardClient = exports.PropertyNotAvailableException = exports.NotFoundException = exports.InternalServerException = exports.ClientException = exports.BadRequestException = void 0;
3
+ exports.SitemapCitiesInfoClient = exports.SitemapArticlesInfoClient = exports.SitemapRankingsInfoClient = exports.SitemapOrganisationsInfoClient = exports.DotdigitalOrganisationClient = exports.SitemapDisciplinesInfoClient = exports.PublicSearchDisciplineClient = exports.SitemapCountriesInfoClient = exports.PublicSearchCountryFaqClient = exports.SitemapProgrammeInfoClient = exports.DotdigitalProgrammeClient = exports.BestfitProgrammeClient = exports.SearchProjectionClient = exports.ProgrammeCardClient = exports.PropertyNotAvailableException = exports.NotFoundException = exports.InternalServerException = exports.ClientException = exports.BadRequestException = void 0;
4
4
  const bad_request_exception_1 = require("./src/exceptions/bad-request-exception");
5
5
  Object.defineProperty(exports, "BadRequestException", { enumerable: true, get: function () { return bad_request_exception_1.BadRequestException; } });
6
6
  const client_exception_1 = require("./src/exceptions/client-exception");
@@ -19,6 +19,8 @@ const bestfit_programme_client_1 = require("./src/models/bestfit-programme/bestf
19
19
  Object.defineProperty(exports, "BestfitProgrammeClient", { enumerable: true, get: function () { return bestfit_programme_client_1.BestfitProgrammeClient; } });
20
20
  const dotdigital_programme_client_1 = require("./src/models/dotdigital-programme/dotdigital-programme-client");
21
21
  Object.defineProperty(exports, "DotdigitalProgrammeClient", { enumerable: true, get: function () { return dotdigital_programme_client_1.DotdigitalProgrammeClient; } });
22
+ const sitemap_programme_info_client_1 = require("./src/models/sitemap-programme-info/sitemap-programme-info-client");
23
+ Object.defineProperty(exports, "SitemapProgrammeInfoClient", { enumerable: true, get: function () { return sitemap_programme_info_client_1.SitemapProgrammeInfoClient; } });
22
24
  const public_search_country_faq_client_1 = require("./src/models/search-country-faq/public-search-country-faq-client");
23
25
  Object.defineProperty(exports, "PublicSearchCountryFaqClient", { enumerable: true, get: function () { return public_search_country_faq_client_1.PublicSearchCountryFaqClient; } });
24
26
  const sitemap_countries_info_client_1 = require("./src/models/sitemap-countries-info/sitemap-countries-info-client");
@@ -37,8 +39,4 @@ const sitemap_articles_info_client_1 = require("./src/models/sitemap-articles-in
37
39
  Object.defineProperty(exports, "SitemapArticlesInfoClient", { enumerable: true, get: function () { return sitemap_articles_info_client_1.SitemapArticlesInfoClient; } });
38
40
  const sitemap_cities_info_client_1 = require("./src/models/sitemap-cities-info/sitemap-cities-info-client");
39
41
  Object.defineProperty(exports, "SitemapCitiesInfoClient", { enumerable: true, get: function () { return sitemap_cities_info_client_1.SitemapCitiesInfoClient; } });
40
- const portal_type_1 = require("./src/types/portal-type");
41
- Object.defineProperty(exports, "PortalType", { enumerable: true, get: function () { return portal_type_1.PortalType; } });
42
- const model_client_1 = require("./src/model-client");
43
- Object.defineProperty(exports, "ModelClient", { enumerable: true, get: function () { return model_client_1.ModelClient; } });
44
42
  //# sourceMappingURL=index.js.map
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAA,kFAA4E;AA6D3E,oGA7DQ,2CAAmB,OA6DR;AA5DpB,wEAAmE;AA6DlE,gGA7DQ,kCAAe,OA6DR;AA5DhB,0FAAoF;AA6DnF,wGA7DQ,mDAAuB,OA6DR;AA5DxB,8EAAwE;AA6DvE,kGA7DQ,uCAAiB,OA6DR;AA5DlB,wGAAiG;AA6DhG,8GA7DQ,gEAA6B,OA6DR;AA7C9B,6FAAwF;AA0DvF,oGA1DQ,2CAAmB,OA0DR;AAnDpB,sGAAiG;AA0DhG,uGA1DQ,iDAAsB,OA0DR;AApDvB,sGAAiG;AAwDhG,uGAxDQ,iDAAsB,OAwDR;AArDvB,+GAA0G;AA2DzG,0GA3DQ,uDAAyB,OA2DR;AAzD1B,uHAAgH;AA2D/G,6GA3DQ,+DAA4B,OA2DR;AAzD7B,qHAA+G;AA2D9G,2GA3DQ,0DAA0B,OA2DR;AAzD3B,oHAA8G;AA2D7G,6GA3DQ,8DAA4B,OA2DR;AAzD7B,2HAAqH;AA2DpH,6GA3DQ,8DAA4B,OA2DR;AAxD7B,wHAAmH;AA6DlH,6GA7DQ,6DAA4B,OA6DR;AA3D7B,iIAA2H;AA6D1H,+GA7DQ,kEAA8B,OA6DR;AA3D/B,kHAA4G;AA6D3G,0GA7DQ,wDAAyB,OA6DR;AA3D1B,kHAA4G;AA6D3G,0GA7DQ,wDAAyB,OA6DR;AA3D1B,4GAAsG;AA6DrG,wGA7DQ,oDAAuB,OA6DR;AA5DxB,yDAAqD;AA6DpD,2FA7DQ,wBAAU,OA6DR;AA3DX,qDAAiD;AA6DhD,4FA7DQ,0BAAW,OA6DR"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAA,kFAA4E;AA4D3E,oGA5DQ,2CAAmB,OA4DR;AA3DpB,wEAAmE;AA4DlE,gGA5DQ,kCAAe,OA4DR;AA3DhB,0FAAoF;AA4DnF,wGA5DQ,mDAAuB,OA4DR;AA3DxB,8EAAwE;AA4DvE,kGA5DQ,uCAAiB,OA4DR;AA3DlB,wGAAiG;AA4DhG,8GA5DQ,gEAA6B,OA4DR;AA5C9B,6FAAwF;AA4DvF,oGA5DQ,2CAAmB,OA4DR;AArDpB,sGAAiG;AA4DhG,uGA5DQ,iDAAsB,OA4DR;AAtDvB,sGAAiG;AA4DhG,uGA5DQ,iDAAsB,OA4DR;AAzDvB,+GAA0G;AA4DzG,0GA5DQ,uDAAyB,OA4DR;AA1D1B,qHAA+G;AA4D9G,2GA5DQ,0DAA0B,OA4DR;AA1D3B,uHAAgH;AA4D/G,6GA5DQ,+DAA4B,OA4DR;AA1D7B,qHAA+G;AA4D9G,2GA5DQ,0DAA0B,OA4DR;AA1D3B,oHAA8G;AA4D7G,6GA5DQ,8DAA4B,OA4DR;AA1D7B,2HAAqH;AA4DpH,6GA5DQ,8DAA4B,OA4DR;AAzD7B,wHAAmH;AA4DlH,6GA5DQ,6DAA4B,OA4DR;AA1D7B,iIAA2H;AA4D1H,+GA5DQ,kEAA8B,OA4DR;AA1D/B,kHAA4G;AA4D3G,0GA5DQ,wDAAyB,OA4DR;AA1D1B,kHAA4G;AA4D3G,0GA5DQ,wDAAyB,OA4DR;AA1D1B,4GAAsG;AA4DrG,wGA5DQ,oDAAuB,OA4DR"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@studyportals/domain-client",
3
- "version": "3.11.0",
3
+ "version": "3.12.0-0",
4
4
  "description": "Responsible for fetching data from the Domain API",
5
5
  "main": "bin/index.js",
6
6
  "author": "StudyPortals B.V.",
@@ -0,0 +1,14 @@
1
+ export interface ICity {
2
+ /**
3
+ * Get city id
4
+ *
5
+ * @return number
6
+ */
7
+ getId(): number;
8
+ /**
9
+ * Get city name
10
+ *
11
+ * @return string
12
+ */
13
+ getName(): string;
14
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=i-city.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-city.js","sourceRoot":"","sources":["../../../../src/models/bestfit-programme/i-city.ts"],"names":[],"mappings":""}
@@ -0,0 +1,37 @@
1
+ export interface IEnglishRequirements {
2
+ /**
3
+ * Required score for Duolingo
4
+ *
5
+ * @return number
6
+ */
7
+ getDuolingo(): number;
8
+ canShowDuolingo(): boolean;
9
+ /**
10
+ * Required score for IELTS tests
11
+ *
12
+ * @return number
13
+ */
14
+ getIELTS(): number;
15
+ canShowIELTS(): boolean;
16
+ /**
17
+ * Required score for PTE
18
+ *
19
+ * @return number
20
+ */
21
+ getPTE(): number;
22
+ canShowPTE(): boolean;
23
+ /**
24
+ * Required score for TOEFL internet
25
+ *
26
+ * @return number
27
+ */
28
+ getTOEFLInternet(): number;
29
+ canShowTOEFLInternet(): boolean;
30
+ /**
31
+ * Required score for TOEFL paper
32
+ *
33
+ * @return number
34
+ */
35
+ getTOEFLPaper(): number;
36
+ canShowTOEFLPaper(): boolean;
37
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=i-english-requirements.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-english-requirements.js","sourceRoot":"","sources":["../../../../src/models/bestfit-programme/i-english-requirements.ts"],"names":[],"mappings":""}
@@ -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,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=i-tuition-fee.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-tuition-fee.js","sourceRoot":"","sources":["../../../../src/models/bestfit-programme/i-tuition-fee.ts"],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ export interface ICity {
2
+ /**
3
+ * Get city id
4
+ *
5
+ * @return number
6
+ */
7
+ getId(): number;
8
+ /**
9
+ * Get city name
10
+ *
11
+ * @return string
12
+ */
13
+ getName(): string;
14
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=i-city.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-city.js","sourceRoot":"","sources":["../../../../src/models/dotdigital-organisation/i-city.ts"],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ export interface ICountry {
2
+ /**
3
+ * Get country id
4
+ *
5
+ * @return number
6
+ */
7
+ getId(): number;
8
+ /**
9
+ * Get country name
10
+ *
11
+ * @return string
12
+ */
13
+ getName(): string;
14
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=i-country.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-country.js","sourceRoot":"","sources":["../../../../src/models/dotdigital-organisation/i-country.ts"],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ export interface ICountry {
2
+ /**
3
+ * Get country id
4
+ *
5
+ * @return number
6
+ */
7
+ getId(): number;
8
+ /**
9
+ * Get country name
10
+ *
11
+ * @return string
12
+ */
13
+ getName(): string;
14
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=i-country.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-country.js","sourceRoot":"","sources":["../../../../src/models/dotdigital-programme/i-country.ts"],"names":[],"mappings":""}
@@ -0,0 +1,37 @@
1
+ export interface IEnglishRequirements {
2
+ /**
3
+ * Required score for Duolingo
4
+ *
5
+ * @return number
6
+ */
7
+ getDuolingo(): number;
8
+ canShowDuolingo(): boolean;
9
+ /**
10
+ * Required score for IELTS tests
11
+ *
12
+ * @return number
13
+ */
14
+ getIELTS(): number;
15
+ canShowIELTS(): boolean;
16
+ /**
17
+ * Required score for PTE
18
+ *
19
+ * @return number
20
+ */
21
+ getPTE(): number;
22
+ canShowPTE(): boolean;
23
+ /**
24
+ * Required score for TOEFL internet
25
+ *
26
+ * @return number
27
+ */
28
+ getTOEFLInternet(): number;
29
+ canShowTOEFLInternet(): boolean;
30
+ /**
31
+ * Required score for TOEFL paper
32
+ *
33
+ * @return number
34
+ */
35
+ getTOEFLPaper(): number;
36
+ canShowTOEFLPaper(): boolean;
37
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=i-english-requirements.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-english-requirements.js","sourceRoot":"","sources":["../../../../src/models/dotdigital-programme/i-english-requirements.ts"],"names":[],"mappings":""}
@@ -0,0 +1,28 @@
1
+ export interface IInternalLink {
2
+ /**
3
+ * Get an optional text describing the link (typically <a>-tags contents).
4
+ *
5
+ * @return string
6
+ * @throws PropertyNotAvailableException
7
+ */
8
+ getDescription(): string;
9
+ canShowDescription(): boolean;
10
+ /**
11
+ * Returns on which portal a this link should link towards.
12
+ *
13
+ * @return string
14
+ */
15
+ getPortalType(): string;
16
+ /**
17
+ * Get the url to refer to.
18
+ *
19
+ * Note that the url provided is always a relative URL. A base URL is needed
20
+ * to make it a full valid path.
21
+ * The only exception is when an external link is provided (meaning, outside
22
+ * of StudyPortals-maintained domains). In this case a full url will be
23
+ * provided.
24
+ *
25
+ * @return string
26
+ */
27
+ getUrl(): string;
28
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=i-internal-link.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-internal-link.js","sourceRoot":"","sources":["../../../../src/models/dotdigital-programme/i-internal-link.ts"],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ export interface ILogo {
2
+ /**
3
+ * Get the file ID of the logo.
4
+ *
5
+ * @return number
6
+ */
7
+ getId(): number;
8
+ /**
9
+ * Get the imgix URL of the logo.
10
+ *
11
+ * @return string
12
+ */
13
+ getSource(): string;
14
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=i-logo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-logo.js","sourceRoot":"","sources":["../../../../src/models/dotdigital-programme/i-logo.ts"],"names":[],"mappings":""}
@@ -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,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=i-tuition-fee.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-tuition-fee.js","sourceRoot":"","sources":["../../../../src/models/dotdigital-programme/i-tuition-fee.ts"],"names":[],"mappings":""}
@@ -0,0 +1,28 @@
1
+ export interface IInternalLink {
2
+ /**
3
+ * Get an optional text describing the link (typically <a>-tags contents).
4
+ *
5
+ * @return string
6
+ * @throws PropertyNotAvailableException
7
+ */
8
+ getDescription(): string;
9
+ canShowDescription(): boolean;
10
+ /**
11
+ * Returns on which portal a this link should link towards.
12
+ *
13
+ * @return string
14
+ */
15
+ getPortalType(): string;
16
+ /**
17
+ * Get the url to refer to.
18
+ *
19
+ * Note that the url provided is always a relative URL. A base URL is needed
20
+ * to make it a full valid path.
21
+ * The only exception is when an external link is provided (meaning, outside
22
+ * of StudyPortals-maintained domains). In this case a full url will be
23
+ * provided.
24
+ *
25
+ * @return string
26
+ */
27
+ getUrl(): string;
28
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=i-internal-link.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-internal-link.js","sourceRoot":"","sources":["../../../../src/models/programme-card/i-internal-link.ts"],"names":[],"mappings":""}
@@ -2,6 +2,10 @@ import { IOptionalLink } from "../../..";
2
2
  export interface ILocation {
3
3
  getArea(): IOptionalLink;
4
4
  canShowArea(): boolean;
5
+ getAreaId(): number;
5
6
  getCity(): IOptionalLink;
7
+ getCityId(): number;
6
8
  getCountry(): IOptionalLink;
9
+ getCountryId(): number;
10
+ hasAreaId(): boolean;
7
11
  }
@@ -0,0 +1,14 @@
1
+ export interface ILogo {
2
+ /**
3
+ * Get the file ID of the logo.
4
+ *
5
+ * @return number
6
+ */
7
+ getId(): number;
8
+ /**
9
+ * Get the imgix URL of the logo.
10
+ *
11
+ * @return string
12
+ */
13
+ getSource(): string;
14
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=i-logo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-logo.js","sourceRoot":"","sources":["../../../../src/models/programme-card/i-logo.ts"],"names":[],"mappings":""}
@@ -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,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=i-tuition-fee.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-tuition-fee.js","sourceRoot":"","sources":["../../../../src/models/programme-card/i-tuition-fee.ts"],"names":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ export interface ISitemapProgrammeInfo {
2
+ /**
3
+ * @return number
4
+ */
5
+ getId(): number;
6
+ /**
7
+ * @return string
8
+ */
9
+ getPath(): string;
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=i-sitemap-programme-info.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-sitemap-programme-info.js","sourceRoot":"","sources":["../../../../src/models/sitemap-programme-info/i-sitemap-programme-info.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import { ISitemapProgrammeInfo } from "../../..";
2
+ import { ModelClient } from "../../model-client";
3
+ export declare class SitemapProgrammeInfoClient extends ModelClient<ISitemapProgrammeInfo> {
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.SitemapProgrammeInfoClient = void 0;
4
+ const model_client_1 = require("../../model-client");
5
+ class SitemapProgrammeInfoClient extends model_client_1.ModelClient {
6
+ getModelName() {
7
+ return 'sitemap-programme-info';
8
+ }
9
+ getVersion() {
10
+ return 'v1';
11
+ }
12
+ isPublic() {
13
+ return false;
14
+ }
15
+ }
16
+ exports.SitemapProgrammeInfoClient = SitemapProgrammeInfoClient;
17
+ //# sourceMappingURL=sitemap-programme-info-client.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sitemap-programme-info-client.js","sourceRoot":"","sources":["../../../../src/models/sitemap-programme-info/sitemap-programme-info-client.ts"],"names":[],"mappings":";;;AACA,qDAAiD;AAEjD,MAAa,0BAA2B,SAAQ,0BAAkC;IACvE,YAAY;QACrB,OAAO,wBAAwB,CAAC;IACjC,CAAC;IAES,UAAU;QACnB,OAAO,IAAI,CAAC;IACb,CAAC;IAEM,QAAQ;QACd,OAAO,KAAK,CAAC;IACd,CAAC;CACD;AAZD,gEAYC"}