@studyportals/domain-client 3.5.1-beta.0 → 3.5.2

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 CHANGED
@@ -28,6 +28,7 @@ import { ISearchProjection } from "./src/models/search-projection/i-search-proje
28
28
  import { SearchProjectionClient } from "./src/models/search-projection/search-projection-client";
29
29
  import { IEnglishRequirements } from "./src/models/common/i-english-requirements";
30
30
  import { ILivingCost } from "./src/models/bestfit-programme/i-living-cost";
31
+ import { ICity } from "./src/models/bestfit-programme/i-city";
31
32
  import { IGPARequirement } from "./src/models/bestfit-programme/i-g-p-a-requirement";
32
33
  import { IBestFitProgramme } from "./src/models/bestfit-programme/i-best-fit-programme";
33
34
  import { BestfitProgrammeClient } from "./src/models/bestfit-programme/bestfit-programme-client";
@@ -38,4 +39,4 @@ import { ISearchCountryFaq } from "./src/models/search-country-faq/i-search-coun
38
39
  import { PublicSearchCountryFaqClient } from "./src/models/search-country-faq/public-search-country-faq-client";
39
40
  import { PortalMap } from "./src/types/portal-map";
40
41
  import { PortalType } from "./src/types/portal-type";
41
- export { BadRequestException, ClientException, InternalServerException, NotFoundException, PropertyNotAvailableException, IInternalLink, ILogo, ICover, ICountry, ILink, IOptionalLink, ILocation, IClickTrackingData, ITracking, IDuration, IDeadline, IStartDate, ITiming, ITrackedLink, IProgrammeCard, ProgrammeCardClient, ITuitionValues, IPremiumValues, IOrganisationValues, IGeoTargetingConfiguration, IGeoTargetingValues, ISearchProjection, SearchProjectionClient, ILivingCost, IGPARequirement, IBestFitProgramme, BestfitProgrammeClient, ITuitionFee, IEnglishRequirements, IDotDigitalProgramme, DotdigitalProgrammeClient, ISearchCountryFaq, PublicSearchCountryFaqClient, PortalMap, PortalType };
42
+ export { BadRequestException, ClientException, InternalServerException, NotFoundException, PropertyNotAvailableException, IInternalLink, ILogo, ICover, ICountry, ILink, IOptionalLink, ILocation, IClickTrackingData, ITracking, IDuration, IDeadline, IStartDate, ITiming, ITrackedLink, IProgrammeCard, ProgrammeCardClient, ITuitionValues, IPremiumValues, IOrganisationValues, IGeoTargetingConfiguration, IGeoTargetingValues, ISearchProjection, SearchProjectionClient, ILivingCost, IGPARequirement, ICity, IBestFitProgramme, BestfitProgrammeClient, ITuitionFee, IEnglishRequirements, IDotDigitalProgramme, DotdigitalProgrammeClient, ISearchCountryFaq, PublicSearchCountryFaqClient, PortalMap, PortalType };
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAA,kFAA4E;AA0C3E,oGA1CQ,2CAAmB,OA0CR;AAzCpB,wEAAmE;AA0ClE,gGA1CQ,kCAAe,OA0CR;AAzChB,0FAAoF;AA0CnF,wGA1CQ,mDAAuB,OA0CR;AAzCxB,8EAAwE;AA0CvE,kGA1CQ,uCAAiB,OA0CR;AAzClB,wGAAiG;AA0ChG,8GA1CQ,gEAA6B,OA0CR;AA1B9B,6FAAwF;AA0CvF,oGA1CQ,2CAAmB,OA0CR;AAnCpB,sGAAiG;AA0ChG,uGA1CQ,iDAAsB,OA0CR;AArCvB,sGAAiG;AAyChG,uGAzCQ,iDAAsB,OAyCR;AAvCvB,+GAA0G;AA2CzG,0GA3CQ,uDAAyB,OA2CR;AAxC1B,uHAAgH;AA0C/G,6GA1CQ,+DAA4B,OA0CR;AAxC7B,yDAAoD;AA0CnD,2FA1CQ,wBAAU,OA0CR"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAA,kFAA4E;AA2C3E,oGA3CQ,2CAAmB,OA2CR;AA1CpB,wEAAmE;AA2ClE,gGA3CQ,kCAAe,OA2CR;AA1ChB,0FAAoF;AA2CnF,wGA3CQ,mDAAuB,OA2CR;AA1CxB,8EAAwE;AA2CvE,kGA3CQ,uCAAiB,OA2CR;AA1ClB,wGAAiG;AA2ChG,8GA3CQ,gEAA6B,OA2CR;AA3B9B,6FAAwF;AA2CvF,oGA3CQ,2CAAmB,OA2CR;AApCpB,sGAAiG;AA2ChG,uGA3CQ,iDAAsB,OA2CR;AArCvB,sGAAiG;AA0ChG,uGA1CQ,iDAAsB,OA0CR;AAxCvB,+GAA0G;AA4CzG,0GA5CQ,uDAAyB,OA4CR;AAzC1B,uHAAgH;AA2C/G,6GA3CQ,+DAA4B,OA2CR;AAzC7B,yDAAoD;AA2CnD,2FA3CQ,wBAAU,OA2CR"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@studyportals/domain-client",
3
- "version": "3.5.1-beta.0",
3
+ "version": "3.5.2",
4
4
  "description": "Responsible for fetching data from the Domain API",
5
5
  "main": "bin/index.js",
6
6
  "author": "StudyPortals B.V.",
@@ -1,4 +1,4 @@
1
- import { IEnglishRequirements, IGPARequirement, ILivingCost, ITuitionFee } from "../../..";
1
+ import { ICity, IEnglishRequirements, IGPARequirement, ILivingCost, ITuitionFee } from "../../..";
2
2
  export interface IBestFitProgramme {
3
3
  /**
4
4
  * Average university ranking across multiple ranking institutes.
@@ -7,6 +7,12 @@ export interface IBestFitProgramme {
7
7
  */
8
8
  getAverageRankingPosition(): number;
9
9
  canShowAverageRankingPosition(): boolean;
10
+ /**
11
+ * City which programme is given in
12
+ *
13
+ * @return ICity
14
+ */
15
+ getCity(): ICity;
10
16
  /**
11
17
  * Get country id the programme is teached in
12
18
  *
@@ -20,12 +26,6 @@ export interface IBestFitProgramme {
20
26
  */
21
27
  getDisciplineIds(): number[];
22
28
  canShowDisciplineIds(): boolean;
23
- /**
24
- * Education level
25
- *
26
- * @return string
27
- */
28
- getEducationalLevel(): string;
29
29
  /**
30
30
  * English level requirements.
31
31
  *
@@ -52,6 +52,13 @@ export interface IBestFitProgramme {
52
52
  */
53
53
  getLivingCost(): ILivingCost;
54
54
  canShowLivingCost(): boolean;
55
+ /**
56
+ * Minimum required education level
57
+ *
58
+ * @return string
59
+ */
60
+ getRequiredEducationalLevel(): string;
61
+ canShowRequiredEducationalLevel(): boolean;
55
62
  /**
56
63
  * The programmes tuition fees
57
64
  *
@@ -66,4 +73,10 @@ export interface IBestFitProgramme {
66
73
  */
67
74
  getWorkExperienceYears(): number;
68
75
  canShowWorkExperienceYears(): boolean;
76
+ /**
77
+ * Indicates whenever a programme is fully online or not
78
+ *
79
+ * @return boolean
80
+ */
81
+ isFullyOnline(): boolean;
69
82
  }
@@ -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":""}